Auteur Sujet: Building a fast and configurable off board charger for a Zero electric motorbike  (Lu 44848 fois)

Hors ligne Gérard Tayeb

  • Full Member
  • ***
  • Messages: 166
    • Voir le profil
    • http://tayeb.fr
I have explained elsewhere what I am expecting for my Zero Motorcycles FXS 2016
- fast charger (about 3.3kW)
- that I can use only when I need it, i.e. not fixed to the bike, but transportable in the top case or elsewhere
- that plugs easily to the input current source on one side, and to the bike on the other side
- not too heavy (5 kgs) nor bulky
- that I can use alone, or with the inboard charger of the bike
- that can be used on a domestic plug 220V/16A
- that can be used on a weak domestic plug 220V/10A for instance, or less (configurable "on the road")
- that can be used on Mennekes Type 2 plugs (charging stations)
- that can charge to full charge (100%) or less (80% for instance), and configurable "on the road"
- waterproof and insensitive to vibrations

After looking around for some time, it appears that nothing that matches these criteria seems to be available at the present time.
But it could be possible to build it from these two main components:

1) The TC Charger HK-J. It is the 3.3kW model 96V32A, with CAN-bus, cooled with a fan. I chose to buy it from Otten, where I got very kind advices and support, and where I could get it with all its wiring and connectors adapted to my wishes.

2) The ThunderStruck EVCC-Basic Controller.
At page 6 of their manual, you can see that it can store 4 user-configurable settings and can easily switch from one to another (it only needs a contactor with 4 positions, addressing 4 different resistances).
It could be used for instance to switch between 4 settings like these ones (or any other since you can define for each of them a lot of parameters):
     | Full power| Reduced power|
     Full final voltage 116.2V (SOC 100%)| setting 1| setting 2|
     Reduced final voltage 109V (SOC 80%)| setting 3| setting 4|



Hors ligne Gérard Tayeb

  • Full Member
  • ***
  • Messages: 166
    • Voir le profil
    • http://tayeb.fr
All the units (TC Charger, Elcon, Diginow) are based on the same unit, and generally have the same CAN addresses. The one I get from Otten should have a receiving CAN ID 0x1806E5F4, and transmitting one 0x18FF50E5. These are the addresses used in the EVCC Thunderstruck Controller, as said in the manual. Perfect!

I have ordered the EVCC-Basic Thunderstruck Controller. They asked me if I want them to program it before sending. I was initially thinking to program it myself, but since they proposed to do it, I asked them to program 4 different charging templates:
1) full power (should be 3.3kW and about 32A), max final voltage 116.2V
2) full power (should be 3.3kW and about 32A), max final voltage 109V
3) reduced power (20A), max final voltage 116.2V
4) reduced power (20A), max final voltage 109V
I will be able to change these programs later, but as it, I should receive everything almost "plug and play". I will just have to make the wiring according to the online manual, using a commutator and some resistors to select the 4 programs, and that's should be all!
« Modifié: 2018, juil., 13, 08:29:40 par Gérard Tayeb »

Hors ligne Gérard Tayeb

  • Full Member
  • ***
  • Messages: 166
    • Voir le profil
    • http://tayeb.fr
I have finally found a solution that matches all my wishes  :)
- fast charger (3.3kW when used at the maximum power)
- that I can use only when I need it, i.e. not fixed to the bike, but transportable in the top case or elsewhere
- that plugs easily to the input current source on one side, and to the bike on the other side
- not too heavy (5.44 kgs with connectors and a 1 meter long Anderson cable), nor bulky
- that I can use alone, or with the inboard charger of the bike
- that can be used on a domestic plug 220V/16A
- that can be used on a weak domestic plug 220V/10A for instance, or less (configurable "on the road")
- that can be used on Mennekes Type 2 plugs (charging stations)
- that can charge to full charge (100%) or less (80% for instance), and configurable "on the road"
- waterproof and insensitive to vibrations

After examining many solutions, I have decided to buy my charger from Otten (Germany), where I got very kind advices and support, and where I could get the charger with all its wiring and connectors adapted to my wishes.
Otten proposed me two solutions:
  • A 3.3 kW charger "ready for use". You plug it on 220V/16A domestic plug on one side, and on the Anderson (brown) connector on the other side. You can use it with the charger of your bike at the same time
  • The same charger, but controlled by CAN-bus
Both chargers are waterproof, shock-proof (in fact they are the same as Diginow, Elcon, TC Charger HK-J,...) and Otten sells both at the same price 699€, that is quite interesting  ;)
I decided to opt for the second option, since the CAN-operated charger can be controlled and programmed externally, which offers more possibilities.
Some people use Arduino's to control their chargers (you can for instance find information on Lennart's Github, but since I have not used Arduino's myself before, I chose another option.

I am controlling the CAN-bus charger using the ThunderStruck EVCC-Basic Controller. They provide a detailed PDF manual with many useful instructions about the way to wire it and to configure it. At page 6 of their manual, you can see that it can store 4 user-configurable settings and can easily switch from one to another (it only needs a contactor with 4 positions, addressing 4 different resistances). Thunderstruck support was very nice, and I was surprised to be asked, at the time I was buying it: "How would you like that we configure your controller?"  :). I asked for:
- mode 1: 116.2V and 32A (full charge, draws 16A on the 220V plug)
- mode 2: 116.2V and 20A (full charge, draws 10A on the 220V plug)
- mode 3: 109V and 32A (about 80% charge, draws 16A on the 220V plug)
- mode 4: 109V and 20A (about 80% charge, draws 10A on the 220V plug)
And it works as is. Perhaps I will make more fine settings later, but these 4 are already pretty nice.
Note that the controller needs a 12V feeding, that is supplied by the charger itself. The 4 wires between the charger and the controller are: Ground, +12V, CAN-L, CAN-H.

Here are some pictures. I still have to get a 4 positions commutator (instead of my ugly piece of plexiglass with 4 plugs), and a box to put everything inside.

Hors ligne Gérard Tayeb

  • Full Member
  • ***
  • Messages: 166
    • Voir le profil
    • http://tayeb.fr
Mise à jour: ajout d'une traduction en anglais. Update: the post has been tranlated in English.

Pour répondre à des questions qu'on vient de me poser, je joins le schéma de câblage de mon adaptateur de prise "Mennekes Type 2" vers 3 prises de 220V. Mise à jour: nouvelle version du fichier plus bas (message du 01/02/2022).
Le fichier contient 2 pages. La première était mon idée de départ (tout mettre sur une seule phase). Puis je me suis dit qu'il valait mieux profiter des 3 phases, ce qui correspond à la deuxième page. Il semble que quasiment toutes les stations qui utilisent les prises de Type 2 sont en triphasé, et de toutes manières "qui peut le plus peut le moins!".
Update: new version of the file, see below, message dated Feb. 01, 2022. Attached is the wiring diagram of my "Mennekes Type 2" plug adapter to three 220V sockets.  The file contains 2 pages. The first was my original idea (to put everything on one phase). Then I decided to take advantage of the 3 phases, which corresponds to the second page.

Certaines stations de charge peuvent bloquer la prise. Pour la libérer il faut ouvrir l'interrupteur entre CP et PE. Au départ j'ai utilisé un connecteur provisoire (qu'on voit sur les photos). Je viens d'acheter un interrupteur à clé que je vais installer à la place.
Dans tous les cas, il n'est pas recommandé de débrancher la prise de la station de charge pendant que la station débite du courant. Donc si la moto ou le chargeur n'ont pas déjà coupé la charge, il est recommandé de la couper en ouvrant cet interrupteur avant de débrancher la prise.
Some charging stations may block the socket. To release it, you need to open the switch between CP and PE. Initially I used a temporary connector (which can be seen on the photos). I then bought a keyswitch which I will install instead.
In any case, it is not recommended to disconnect the plug from the charging station while the station is delivering power. So if the motorcycle or charger has not already cut the load, it is recommended to cut it by opening this switch before unplugging the socket.


J'ai acheté le matériel ici / Here is where I bought the stuff :
https://fr.aliexpress.com/item/Duosida-Dostar-EV-PLUG-32A-IEC-62196-2-European-standard-Type-2-male-connector-for-electric/32812965439.html
https://fr.aliexpress.com/item/Key-Switch-ON-OFF-Lock-Switch-KS-01/32490689557.html

Autres infos / Information about the Type 2 socket :
https://en.wikipedia.org/wiki/Type_2_connector
Attention, si vous démontez la prise sans précaution, vous vous retrouvez avec 2 broches de longueurs différentes pour PP et CP. Pour la remonter, il faut savoir que la broche la plus longue est PP.
Be careful, if you remove the plug carelessly, you end up with 2 pins of different lengths for PP and CP. To reassemble it, you should know that the longest pin is PP.

http://evbitz.uk/EVBitz.uk/EPC_Wir_Diags_%26_Description.html
https://www.evchargeking.com/fr/t/charginginfo
http://electricmotorcycleforum.com/boards/index.php?topic=8248.0

Si vous ne voulez pas le fabriquer vous-même, vous pouvez acheter un câble de ce genre tout prêt:
If you don't want to make it yourself, you can buy a ready-made cable like this:
ici : https://eauto.si/metron-shop/product/adapter-type-2-3-x-schuko-16-a/
ou ici : http://evbitz.uk/EVBitz.uk/Welcome.html où il faut le demander spécialement car il n'est pas au catalogue, mais ils peuvent le faire pour 170£ port compris (avec des prises Schuko). You have to ask for it specially as it is not in the catalog, but they can do it for £ 170 including postage (with Schuko plugs).
« Modifié: 2022, févr., 01, 10:44:28 par Gérard Tayeb »

Hors ligne Gérard Tayeb

  • Full Member
  • ***
  • Messages: 166
    • Voir le profil
    • http://tayeb.fr
J'ajoute quelques précisions postées par ailleurs:

Vidéos montrant le connecteur Anderson, et qu'il n'est pas nécessaire de découper le cache en caoutchouc sur une FXS:
https://www.youtube.com/watch?v=5VZz5fbscx0
https://www.youtube.com/watch?v=S0f5c62LlI0

Une réponse sur les chargeurs dans cette discussion:
https://www.facebook.com/groups/zmcowners/permalink/1867283203340879/
« Modifié: 2022, janv., 23, 15:25:47 par Gérard Tayeb »

Hors ligne Gérard Tayeb

  • Full Member
  • ***
  • Messages: 166
    • Voir le profil
    • http://tayeb.fr
J'avais aussi lancé une discussion sur http://electricmotorcycleforum.com/boards/index.php?topic=8087 où on peut trouver quelques autres détails.

Hors ligne Gérard Tayeb

  • Full Member
  • ***
  • Messages: 166
    • Voir le profil
    • http://tayeb.fr
Quelques prix:

749€ pour un chargeur 3.3kW prêt à l'emploi (quelle que soit la version, avec ou sans CAN-Bus)

Pour le contrôleur ThunderStruck EVCC-Basic, j'ai payé 175$ + 32$ de frais de port + 49.50€ de taxes d'importation (douane).

A cela, il faut rajouter tout le petit matériel:
- fusible et porte fusible
- connecteurs
- commutateur et résistances
- gaine thermo-rétractable de divers diamètres
- fils électriques
- etc...
« Modifié: 2018, déc., 13, 11:21:22 par Gérard Tayeb »

Hors ligne Gérard Tayeb

  • Full Member
  • ***
  • Messages: 166
    • Voir le profil
    • http://tayeb.fr
A very nice CAN-bus controller made by Daniel Montero adapted from a code by Lennart Otten.
The charge parameters can be changed easily.
https://www.facebook.com/groups/zmcowners/permalink/2196640137071849/
https://www.youtube.com/watch?v=Yuex9X5kwY4
https://github.com/DanyEarth/TC-Charger-CAN-controller
« Modifié: 2019, sept., 19, 18:38:04 par Gérard Tayeb »

Hors ligne admin

  • Administrator
  • *****
  • Messages: 74
    • Voir le profil
Pour le transport du chargeur, finalement j'ai trouvé que le sac de réservoir était le plus pratique. J'utilise un sac XLMOTO 20+8 litres dont je tapisse copieusement le fond et les parois avec de la mousse polyéthylène (mousse utilisée pour les emballages).
Voir les deux dernières photos de cette série.
« Modifié: 2020, juin, 09, 01:33:28 par admin »

Hors ligne Gérard Tayeb

  • Full Member
  • ***
  • Messages: 166
    • Voir le profil
    • http://tayeb.fr
Utiliser un contrôleur Thunderstruck EVCC pour piloter 3 TC Chargers via CAN-bus:
https://www.facebook.com/groups/zmcowners/permalink/3549671441768705/

Hors ligne Gérard Tayeb

  • Full Member
  • ***
  • Messages: 166
    • Voir le profil
    • http://tayeb.fr
Quelques autres liens intéressants:

Elcon TC HK-H 1800W Charger (on Zero Motorcycles 2013+), avec des chargeurs DIY fabriqués avec des TC HK-J 3300 achetés chez evcomponents.com

Réalisation d'un chargeur rapide embarqué pour DSR,SR,DS,S à partir d'un chargeur de chez aliexpress
« Modifié: 2021, janv., 20, 21:29:45 par Gérard Tayeb »

Hors ligne Gérard Tayeb

  • Full Member
  • ***
  • Messages: 166
    • Voir le profil
    • http://tayeb.fr
Vidéo en espagnol de Daniel Montero, où il montre comment il utilise 3 chargeurs TC 3.3 kW, combinés avec son contrôleur basé sur Arduino
https://www.youtube.com/watch?v=TnVWUGMaurE

Hors ligne Gérard Tayeb

  • Full Member
  • ***
  • Messages: 166
    • Voir le profil
    • http://tayeb.fr
Mise à jour du schéma de câblage de mon adaptateur de prise "Mennekes Type 2" vers 3 prises de 220V.
Bien lire les deux commentaires insérés dans le PDF.

En résumé:
Normalement il y a un dialogue entre la borne de recharge, le câble qui donne l'intensité max qu'il supporte, et le véhicule.
La borne limite l'intensité à la plus petite des 3: Imax de la borne, Imax du câble, et intensité sollicitée par le véhicule, qui peut moduler l'intensité en cours de charge, et dire à la borne en fin de charge: "Charge terminée, tu peux libérer la prise".

L'Imax du câble est définie par la résistance entre PE et PP.

Dans le cas de la Zero et de mon chargeur, la fonction de pilotage du véhicule est remplacée par
  • Le BMS de la Zero qui va couper la charge en ouvrant le contacteur s'il constate un problème
  • Le chargeur dont on peut régler la courbe de charge (je pense qu'il est de lui-même préréglé en CC/CV, mais le contrôleur Thunderstruck permet d'affiner les paramètres de la courbe de charge)
  • Le dispositif inséré dans mon adaptateur entre PE (terre) et CP, qui remplace 2 des fonctions normalement fournies par le véhicule: dire à la borne "Tu peux envoyer le courant" et "Charge terminée, tu peux libérer la prise"

Mais cela reste manifestement trop sommaire: certaines bornes demandent un protocole d'échange plus sophistiqué, et refusent de délivrer les 3.3 kW que mon chargeur demande (impoliment). Par contre ces bornes acceptent de délivrer 2.2 kW par phase, et avec mon chargeur qui peut basculer sur une puissance de 2.2 kW, je peux donc charger sur ces bornes à 2900 W environ (avec le chargeur interne de la Zero sur une autre phase).
« Modifié: 2023, août, 24, 09:18:40 par Gérard Tayeb »

Hors ligne admin

  • Administrator
  • *****
  • Messages: 74
    • Voir le profil
La meilleure solution de recharge ne serait-elle pas ces alimentations réglables en tension et courant, de type 0-125V, 0-30A, puissance max 3kW? NOTA: en fait ces alimentations semblent presque toutes limitées à 2400W, ce qui limite le courant en dessous de 30A dès qu'on dépasse 80V.
Voir la vidéo de Stephane Mélançon: https://www.youtube.com/watch?v=bcGajlWyxnM
Pour 300€ environ, on obtient donc un chargeur réglable à la fois
- en tension, ce qui permet de limiter la fin de charge de type CC/CV à n'importe quel niveau désiré,
- en intensité, ce qui permet de limiter la puissance à n'importe quel niveau entre 0 et la puissance max, ce qui permet de ne pas surcharger des prises faibles, ou de charger plus lentement si on n'est pas pressé, ce qui est toujours préférable pour la batterie.

En lisant les indications de la page https://fr.aliexpress.com/item/1005001529494434.html il semble toutefois que ces alimentations à base de régulateur ZXD2400 ont quelques inconvénients:
- elles supporteraient mal d'être reliées à la batterie si elles n'ont pas été au préalable reliées au secteur et mises en tension elles-mêmes
- elles supporteraient mal les chocs et vibrations (et évidemment les projections d'eau contre lesquelles elles ne sont pas protégées)
« Modifié: 2023, avril, 26, 18:34:59 par Gérard Tayeb »

Hors ligne Gérard Tayeb

  • Full Member
  • ***
  • Messages: 166
    • Voir le profil
    • http://tayeb.fr
Je viens de faire un petit résumé de mon chargeur (pour vous éviter de tout lire si vous voulez juste survoler):
https://tayeb.fr/misc/moto/Zero_FXS/charger/final.charger.and.Type.2.adapter.htm