Chademo Controller Development
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Chademo Controller Development
Decided to make a subforum for all fast charge related development and here to kick things off is a design in progress for a Chademo controller :
https://github.com/damienmaguire/Chadem ... Controller
Based on the JLD505 design by EVTV , further developed by New Electric and now passed on to me.
I have removed a lot of the (imho unnecessary) isolation stages and features to give a basic and simple box to control fast charge.
Uses the Modice MX150 32 enclosure. The 10 way plug goes to the chademo port and the 20 way to the vehicle.
I've used versions of this in both the E39 Landyacht back about 5 years ago and currently in the E31 Panzer.
More details to follow.
UPDATE : 15/09/20
Following failure of the two previous version based on having HV sensing onthe board the decision was made to use an external sensor and transmit the data via can. The device chosen is the ISA IVT shunt that I now use in all my vehicles for battery monitoring : https://www.isabellenhuette.de/en/preci ... vt-series/
Isaac96 did the big task of porting the old firmware from the Atmega328 to the much more capable SAM3X8E and removing a lot of legacy rubbish : viewtopic.php?f=17&t=524
New Software : https://github.com/Isaac96/CHAdeMOSoftware
New Hardware : https://github.com/damienmaguire/Chadem ... AN_Version
The result is now a working system to implement Chademo on EV conversion without the need to sense HV on the actual board. Software is fully opensource. Hardware schematics and gerbers released. Full sources in the near future.
ISA Shunts now available :
viewtopic.php?f=17&t=524&start=150#p18047
Kits available on the EVBMW Webshop:
https://www.evbmw.com/index.php/evbmw-w ... hademo-kit
https://github.com/damienmaguire/Chadem ... Controller
Based on the JLD505 design by EVTV , further developed by New Electric and now passed on to me.
I have removed a lot of the (imho unnecessary) isolation stages and features to give a basic and simple box to control fast charge.
Uses the Modice MX150 32 enclosure. The 10 way plug goes to the chademo port and the 20 way to the vehicle.
I've used versions of this in both the E39 Landyacht back about 5 years ago and currently in the E31 Panzer.
More details to follow.
UPDATE : 15/09/20
Following failure of the two previous version based on having HV sensing onthe board the decision was made to use an external sensor and transmit the data via can. The device chosen is the ISA IVT shunt that I now use in all my vehicles for battery monitoring : https://www.isabellenhuette.de/en/preci ... vt-series/
Isaac96 did the big task of porting the old firmware from the Atmega328 to the much more capable SAM3X8E and removing a lot of legacy rubbish : viewtopic.php?f=17&t=524
New Software : https://github.com/Isaac96/CHAdeMOSoftware
New Hardware : https://github.com/damienmaguire/Chadem ... AN_Version
The result is now a working system to implement Chademo on EV conversion without the need to sense HV on the actual board. Software is fully opensource. Hardware schematics and gerbers released. Full sources in the near future.
ISA Shunts now available :
viewtopic.php?f=17&t=524&start=150#p18047
Kits available on the EVBMW Webshop:
https://www.evbmw.com/index.php/evbmw-w ... hademo-kit
I'm going to need a hacksaw
- johu
- Site Admin
- Posts: 5831
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 162 times
- Been thanked: 1045 times
- Contact:
Re: Chademo Controller Development
Very nice.
How about having another CAN bus interface to talk to the vehicle?
For example I have a BMS already doing current and voltage sensing so rather than adding additional hardware I'd rather hook it up to CAN. What do you think?
How about having another CAN bus interface to talk to the vehicle?
For example I have a BMS already doing current and voltage sensing so rather than adding additional hardware I'd rather hook it up to CAN. What do you think?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Chademo Controller Development
Yeah I'd be happy to use something like the STM32F107 with dual can but I'm limited in software development. The Atmega328 version has the code written and proven so I figured I'd go with that to get something off the ground.
I'm going to need a hacksaw
-
- Posts: 260
- Joined: Sat Jan 12, 2019 12:39 am
- Location: UK
Re: Chademo Controller Development
How about using the SAM3X8E (due)?
The 328p code (assuming it's arduino) should be pretty easy to port to that, and Colin Kidder (who I note is listed as an author on your github readme) has an excellent CAN library which can use both CAN interfaces on the SAM3X8E.
The 328p code (assuming it's arduino) should be pretty easy to port to that, and Colin Kidder (who I note is listed as an author on your github readme) has an excellent CAN library which can use both CAN interfaces on the SAM3X8E.
-
- Posts: 1326
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 106 times
- Been thanked: 226 times
Re: Chademo Controller Development
If you mind sharing the software I can have a look at how it would be to port to an Arduino Due/ SAM3X8e.
Or has nothing changed from Collins JLD505 software?
Should be pretty quick really, can be designed as a board that plugs into a Arduino Due to keep it really simple.
Or has nothing changed from Collins JLD505 software?
Should be pretty quick really, can be designed as a board that plugs into a Arduino Due to keep it really simple.
- celeron55
- Posts: 776
- Joined: Thu Jul 04, 2019 3:04 pm
- Location: Finland
- Has thanked: 29 times
- Been thanked: 110 times
- Contact:
Re: Chademo Controller Development
I've made my own CHAdeMO control software and hardware, but I'm having some compatibility issues with some chargers.
Once there's a testable version of this board I'll start testing different combinations of code and hardware to see what's up. Hopefully I have time.
Once there's a testable version of this board I'll start testing different combinations of code and hardware to see what's up. Hopefully I have time.
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 4 times
Re: Chademo Controller Development
That would be useful data. Can I suggest you start your own thread with details about your hardware/software?
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Chademo Controller Development
I've uploaded the code I'm using in the Panzer to the repo. It's 95% original I would say. Few tweaks to remove things like the temp sensors from what I can see.
I'm going to need a hacksaw
-
- Posts: 260
- Joined: Sat Jan 12, 2019 12:39 am
- Location: UK
Re: Chademo Controller Development
Just thought I'd mention that I'm creating an Arduino Due shield for this with an additional CAN transceiver.
Does anyone interested in working on this have any preference for how things connect to it? If no-one does then I'll use a double row of 0.1" headers.
Keeping to the "what's available from LCSC" theme I've picked the GTL-POWER B0505S-1W as the isolated dc/dc converter. Thoughts on that choice welcome too as I've never used one before...
Does anyone interested in working on this have any preference for how things connect to it? If no-one does then I'll use a double row of 0.1" headers.
Keeping to the "what's available from LCSC" theme I've picked the GTL-POWER B0505S-1W as the isolated dc/dc converter. Thoughts on that choice welcome too as I've never used one before...
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Chademo Controller Development
Great to have this much extra development taking place. Just do note that not all LCSC parts are available for placement by JLC. Now, I will be working away with my own design as A)I need something that works asap and B) need the least development effort and risks. Once the due / other versions are proven then we can reassess. Would be a good plan to start another thread for the due / shield versions to keep things easy to see for new arrivals.
I'm going to need a hacksaw
-
- Posts: 260
- Joined: Sat Jan 12, 2019 12:39 am
- Location: UK
Re: Chademo Controller Development
I appreciate that your priorities differ.
Unless I'm missing something JLC don't offer an isolated DC/DC converter in their parts list. Although if if voltage and current are coming from the BMS over CAN then that part should be redundant anyway.
I'll start another thread when I'm ready with the shield design rather than posting in here.
Unless I'm missing something JLC don't offer an isolated DC/DC converter in their parts list. Although if if voltage and current are coming from the BMS over CAN then that part should be redundant anyway.
I'll start another thread when I'm ready with the shield design rather than posting in here.
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Chademo Controller Development
Yeah if you are getting the info from can then no need for any isolation at all. JLC won't do stuff like that. Would need to be hand fitted. Not a big deal as its just a little 4 pin through hole dcdc. Not putting you down I appreciate the support just trying to keep things in order:)
I'm going to need a hacksaw
-
- Posts: 436
- Joined: Sat Jul 27, 2019 10:53 am
- Location: UK
- Has thanked: 1 time
- Been thanked: 13 times
Re: Chademo Controller Development
Bit late to the party, but you can add as many CAN interfaces to the Atmel 328p as you have available CS pins.
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Chademo Controller Development
Now that JLCPCB are back to normal I've ordered some chademo controllers. Design files and those all important JLC bom and cpl uploaded for those adventurous souls among you.
https://github.com/damienmaguire/Chadem ... r/Hardware
https://github.com/damienmaguire/Chadem ... r/Hardware
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Chademo Controller Development
Chademo controller boards in production.
I'm going to need a hacksaw
-
- Posts: 391
- Joined: Sun Aug 25, 2019 12:39 pm
- Location: Finland
- Has thanked: 49 times
- Been thanked: 10 times
Re: Chademo Controller Development
Good stuff. We live in exciting times when about monthly there is some new PCBs appearing and new solutions for repurposing something surfacing.. thumbs up!
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
Re: Chademo Controller Development
Did that too - one CAN talked to CHAdeMO, the other to the BMSes / current sensor from Outlander. On first version I did it with one CAN - CHAdeMO stations didn't mind additional traffic JD505 had few bugs - found when testing with different CHAdeMO stations.
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 4 times
Re: Chademo Controller Development
Can we have some details please?
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Chademo Controller Development
Much more fun to find out the hard way.
I'm going to need a hacksaw
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 4 times
Re: Chademo Controller Development
Yeah, why would anyone want to share their test results and help the open source developers?
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
Re: Chademo Controller Development
I can imagine a fewKevin Sharpe wrote: ↑Sun Mar 08, 2020 9:28 pmYeah, why would anyone want to share their test results and help the open source developers?
1. https://github.com/damienmaguire/Chadem ... o.cpp::177 - should be uncommented.
2. https://github.com/damienmaguire/Chadem ... p::307-311 - these lines should be executed only when received availVoltage, availCurrent and thresholdVoltage are different than 0, it's not a JLD505 bug, but at least Delta stations are sending zeros initially.
3. https://github.com/damienmaguire/Chadem ... o.cpp::281 - looks like solved, there was assignment of 0 to settings.minChargeAmperage instead of comparison, good practice is to put constant on the left to avoid such mistakes (0 == settings.minChargeAmperage).
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Chademo Controller Development
Chademo controller boards have arrived from JLCPCB:)
I'm going to need a hacksaw
- larsrengersen
- Posts: 103
- Joined: Tue May 28, 2019 9:42 am
- Has thanked: 9 times
- Been thanked: 22 times
Re: Chademo Controller Development
Very nice!
Is there a changelog compared to your starting point?
What improvements / changes have you implemented?
I am currently using the board from New Electric but migrating to yours might be a good idea (in the future).
Therefore I'd like to be able to assess whether it is a drop in replacement.
Then I might even consider wiring yours in in the first place to we can test from the same version.
Is there a changelog compared to your starting point?
What improvements / changes have you implemented?
I am currently using the board from New Electric but migrating to yours might be a good idea (in the future).
Therefore I'd like to be able to assess whether it is a drop in replacement.
Then I might even consider wiring yours in in the first place to we can test from the same version.
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Chademo Controller Development
Design files on github : https://github.com/damienmaguire/Chadem ... Controller
I'm going to need a hacksaw