Page 16 of 21
Re: Chademo Controller Development
Posted: Tue Jul 05, 2022 4:38 am
by Dusty4
P.S.Mangelsdorf wrote: ↑Sat Feb 12, 2022 2:24 pm
Ok so I tested several configurations and can't seem to find the issue, though I did have some interesting settings issues.
First, in all cases the error message from the Electrify America charger was 23_00H_0 This occurred after the station appeared to begin delivering power. Watching on the web interface, it appears the station does all of its checks (station side voltage rises, drops to zero, the rises back to the car's voltage), and I hear the contactors close in the car and the station, but then it throws the "Malfunction|Stop" error message in the web interface and the station says charging failed.
I've just set up the stm32 chademo controller in my car over the weekend, I tried to charge on a tritium Veefil charger and got through to the same point as you. The charger says status code 13, which appears to be the vehicle not requesting a charge current.
I've not had time to look too closely but I'll try get a CAN log in the next day or two
Re: Chademo Controller Development
Posted: Tue Jul 05, 2022 12:01 pm
by P.S.Mangelsdorf
I ended up rebuilding my entire HV junction box to put the shunt in the correct orientation to rule out that as an issue. Unfortunately, I broke an axle in the car back in February/March and am just now getting to the point I can afford to repair that and get back to fixing Chademo, so I don't have any more info yet,
Re: Chademo Controller Development
Posted: Tue Jul 05, 2022 12:33 pm
by Dusty4
It will be good to see it moving again! I was hoping to take my car to try a different station and get a can log but it was out of order. When I got back I powered up the chademo controller and hooked up my wall charger just to confirm correct idc reading. That all looked pretty good to me.. One thing that caught my eye was the charcurlim value was at 0A I have the charge limit set at 30A for now, but I'm not sure if that value is for vehicle side or the chargers current limit.
Re: Chademo Controller Development
Posted: Thu Jul 07, 2022 12:51 pm
by Dusty4
I took a quick CAN log today, unfortunately the software i'm using won't convert to an easily readable file. Here is a screenshot from after the isolation test and the contactors were closed. I need to read up on chademo protocol, but it seems like the controller isn't sending any current request.
Re: Chademo Controller Development
Posted: Thu Jul 07, 2022 1:22 pm
by Bigpie
Can your software load DBC files? Might be easier to debug with the frames interpreted
https://github.com/dalathegreat/leaf_ca ... AN_ALL.dbc
Re: Chademo Controller Development
Posted: Thu Jul 07, 2022 1:36 pm
by Dusty4
Nope. I'm using Cangaroo, with a canable dongle.. I'll look into something a bit better.
Re: Chademo Controller Development
Posted: Fri Jul 08, 2022 10:13 am
by Dusty4
I have found a hardware fault, fitted to the board is a bsp75n low side driver and on the schematic is a ncv8402. The difference is the bsp75n has the source on the tab and the ncv8402 has the drain on the tab. I wondered why the the HV enable pin was earthed the all the time

.
Re: Chademo Controller Development
Posted: Fri Jul 08, 2022 10:39 am
by mario
Dusty4 wrote: ↑Thu Jul 07, 2022 1:36 pm
Nope. I'm using Cangaroo, with a canable dongle.. I'll look into something a bit better.
For can sniffing try
https://www.savvycan.com/
Re: Chademo Controller Development
Posted: Fri Jul 08, 2022 2:41 pm
by asavage
Dusty4 wrote: ↑Fri Jul 08, 2022 10:13 am
I have found a hardware fault, fitted to the board is a bsp75n low side driver and on the schematic is a ncv8402. The difference is the bsp75n has the source on the tab and the ncv8402 has the drain on the tab. I wondered why the the HV enable pin was earthed the all the time

.
Yeah, this has happened before:
https://openinverter.org/forum/viewtopi ... 749#p28749
Re: Chademo Controller Development
Posted: Sat Jul 09, 2022 3:15 am
by Dusty4
Ah I see.. At least it's an easy fix.
Re: Chademo Controller Development
Posted: Sat Jul 16, 2022 9:11 am
by Bigpie
Still having Chademo issues, I've managed a couple of sessions, but more often than not I get failures.
I hear the lock in the connector click, then my chademo contactors click closed, then they open again after 5 seconds or so.
Any pointers?
EVSE:fault code 27 Abort, then EVSE:fault code 26 Abort. then EVSE:fault code 22 Abort.
Re: Chademo Controller Development
Posted: Sat Jul 16, 2022 9:15 am
by arber333
Bigpie wrote: ↑Sat Jul 16, 2022 9:11 am
Still having Chademo issues, I've managed a couple of sessions, but more often than not I get failures.
I hear the lock in the connector click, then my chademo contactors click closed, then they open again after 5 seconds or so.
Any pointers?
EVSE:fault code 27 Abort, then
EVSE:fault code 26 Abort. then
EVSE:fault code 22 Abort.
The same happened to me couple of posts back. I solved that by first changing ISA direction (simply turned it over) and later i reprogrammed it via CAN to show negative current when charging. It seems it works on all but one ultra fast EVSE.
Re: Chademo Controller Development
Posted: Sat Jul 16, 2022 10:46 am
by Bigpie
The EVSE never reports any current flow, Im not sure that's the issue, but can give it a go. I'm wondering if I've got a dodgy pin in the inlet.
*EDIT* My shunt already reports positive for discharging and negative for charging.
to
I assume?
Code: Select all
09:15:12.303 -> JLD505: 357.567v -0.39A 29.1Ah -0.1kW 9.8kWh OUT1:1 OUT2:1 OUT3:1 IN1:1 IN2:0 CHG T: 53
09:15:12.303 -> Chademo Mode: 6
09:15:12.341 -> EVSE: MaxVoltage: 500 Max Current:116 Threshold Voltage:400 Time:0:0:53.520
09:15:12.341 -> EVSE: Measured Voltage: 378 Current: 0 Time remaining: 5340 Status: 101 Time:0:0:53.521
09:15:12.341 -> CAR: Absolute MAX Voltage:400 Pack size: 18.00 Time:0:0:53.532
09:15:12.416 -> CAR: Charging Time Time:0:0:53.607
09:15:12.454 -> EVSE: MaxVoltage: 500 Max Current:114 Threshold Voltage:400 Time:0:0:53.620
09:15:12.454 -> EVSE: Measured Voltage: 385 Current: 0 Time remaining: 5340 Status: 101 Time:0:0:53.621
09:15:12.492 -> CAR: Protocol:2 Target Voltage: 393 Current Command: 7 Target Amps: 50 Faults: 0 Status: 1 kWh: 9.82 Time:0:0:53.683
09:15:12.530 -> EVSE: MaxVoltage: 500 Max Current:112 Threshold Voltage:400 Time:0:0:53.721
09:15:12.530 -> EVSE: Measured Voltage: 394 Current: 1 Time remaining: 5340 Status: 101 Time:0:0:53.721
09:15:12.565 -> CAR: Absolute MAX Voltage:400 Pack size: 18.00 Time:0:0:53.757
09:15:12.638 -> EVSE: MaxVoltage: 500 Max Current:110 Threshold Voltage:400 Time:0:0:53.821
09:15:12.638 -> EVSE: Measured Voltage: 398 Current: 1 Time remaining: 5340 Status: 101 Time:0:0:53.821
09:15:12.638 -> CAR: Charging Time Time:0:0:53.832
09:15:12.714 -> CAR: Protocol:2 Target Voltage: 393 Current Command: 8 Target Amps: 50 Faults: 0 Status: 1 kWh: 9.82 Time:0:0:53.907
09:15:12.751 -> EVSE: MaxVoltage: 500 Max Current:109 Threshold Voltage:400 Time:0:0:53.921
09:15:12.751 -> EVSE: Measured Voltage: 393 Current: 0 Time remaining: 5340 Status: 100111 Time:0:0:53.921
09:15:12.751 -> EVSE:stop charging.
09:15:12.751 -> CAR:Current req to 0
09:15:12.813 -> CAR: Absolute MAX Voltage:400 Pack size: 18.00 Time:0:0:53.982
09:15:12.813 -> SimpBMS: Soc 36SimpBMS: Soc CAR: VCU Wake Up Time:0:0:53.991
09:15:12.813 -> JLD505: 380.665v -0.67A 29.1Ah -0.4kW 9.8kWh OUT1:1 OUT2:1 OUT3:1 IN1:1 IN2:0 CHG T: 53
09:15:12.813 -> Chademo Mode: 12
09:15:12.844 -> EVSE: MaxVoltage: 500 Max Current:109 Threshold Voltage:400 Time:0:0:54.21
09:15:12.844 -> EVSE: Measured Voltage: 357 Current: 0 Time remaining: 5340 Status: 100111 Time:0:0:54.21
09:15:12.881 -> CAR: Charging Time Time:0:0:54.57
09:15:12.881 -> CAR:OPEN Contacor
Re: Chademo Controller Development
Posted: Sat Jul 16, 2022 12:47 pm
by arber333
Bigpie wrote: ↑Sat Jul 16, 2022 10:46 am
The EVSE never reports any current flow, Im not sure that's the issue, but can give it a go. I'm wondering if I've got a dodgy pin in the inlet.
*EDIT* My shunt already reports positive for discharging and negative for charging.
to
I assume?
Code: Select all
09:15:12.303 -> JLD505: 357.567v -0.39A 29.1Ah -0.1kW 9.8kWh OUT1:1 OUT2:1 OUT3:1 IN1:1 IN2:0 CHG T: 53
09:15:12.303 -> Chademo Mode: 6
09:15:12.341 -> EVSE: MaxVoltage: 500 Max Current:116 Threshold Voltage:400 Time:0:0:53.520
09:15:12.341 -> EVSE: Measured Voltage: 378 Current: 0 Time remaining: 5340 Status: 101 Time:0:0:53.521
09:15:12.341 -> CAR: Absolute MAX Voltage:400 Pack size: 18.00 Time:0:0:53.532
09:15:12.416 -> CAR: Charging Time Time:0:0:53.607
09:15:12.454 -> EVSE: MaxVoltage: 500 Max Current:114 Threshold Voltage:400 Time:0:0:53.620
09:15:12.454 -> EVSE: Measured Voltage: 385 Current: 0 Time remaining: 5340 Status: 101 Time:0:0:53.621
09:15:12.492 -> CAR: Protocol:2 Target Voltage: 393 Current Command: 7 Target Amps: 50 Faults: 0 Status: 1 kWh: 9.82 Time:0:0:53.683
09:15:12.530 -> EVSE: MaxVoltage: 500 Max Current:112 Threshold Voltage:400 Time:0:0:53.721
09:15:12.530 -> EVSE: Measured Voltage: 394 Current: 1 Time remaining: 5340 Status: 101 Time:0:0:53.721
09:15:12.565 -> CAR: Absolute MAX Voltage:400 Pack size: 18.00 Time:0:0:53.757
09:15:12.638 -> EVSE: MaxVoltage: 500 Max Current:110 Threshold Voltage:400 Time:0:0:53.821
09:15:12.638 -> EVSE: Measured Voltage: 398 Current: 1 Time remaining: 5340 Status: 101 Time:0:0:53.821
09:15:12.638 -> CAR: Charging Time Time:0:0:53.832
09:15:12.714 -> CAR: Protocol:2 Target Voltage: 393 Current Command: 8 Target Amps: 50 Faults: 0 Status: 1 kWh: 9.82 Time:0:0:53.907
09:15:12.751 -> EVSE: MaxVoltage: 500 Max Current:109 Threshold Voltage:400 Time:0:0:53.921
09:15:12.751 -> EVSE: Measured Voltage: 393 Current: 0 Time remaining: 5340 Status: 100111 Time:0:0:53.921
09:15:12.751 -> EVSE:stop charging.
09:15:12.751 -> CAR:Current req to 0
09:15:12.813 -> CAR: Absolute MAX Voltage:400 Pack size: 18.00 Time:0:0:53.982
09:15:12.813 -> SimpBMS: Soc 36SimpBMS: Soc CAR: VCU Wake Up Time:0:0:53.991
09:15:12.813 -> JLD505: 380.665v -0.67A 29.1Ah -0.4kW 9.8kWh OUT1:1 OUT2:1 OUT3:1 IN1:1 IN2:0 CHG T: 53
09:15:12.813 -> Chademo Mode: 12
09:15:12.844 -> EVSE: MaxVoltage: 500 Max Current:109 Threshold Voltage:400 Time:0:0:54.21
09:15:12.844 -> EVSE: Measured Voltage: 357 Current: 0 Time remaining: 5340 Status: 100111 Time:0:0:54.21
09:15:12.881 -> CAR: Charging Time Time:0:0:54.57
09:15:12.881 -> CAR:OPEN Contacor
Not so easy... i tried the same and failed. Out of desparation i reversed the shunt physicaly. It worked! Then i went to reprogram ISA shunt so i could have good mounting for the shunt. Correct orientation is what solved it for me.
Yes, there was still the case of explicetly declaring CAN msg as not extended! That did also help.
Re: Chademo Controller Development
Posted: Sat Jul 16, 2022 3:15 pm
by Bigpie
It's strange, the station matches my voltage then just goes right up after requesting a small amount of current. Sort of like the conactors have opened.

09:15:11.824 -> JLD505: 347.265v 0.04A 29.1Ah 0.0kW 9.8kWh OUT1:1 OUT2:1 OUT3:1 IN1:1 IN2:0 CHG T: 52
09:15:11.824 -> CAR: Protocol:2 Target Voltage: 393 Current Command: 4 Target Amps: 50 Faults: 0 Status: 1 kWh: 9.82 Time:0:0:53.8
09:15:11.824 -> EVSE: Measured Voltage: 347 Current: 0 Time remaining: 5400 Status: 101 Time:0:0:53.21
09:15:11.936 -> EVSE: Measured Voltage: 352 Current: 0 Time remaining: 5340 Status: 101 Time:0:0:53.121
09:15:12.048 -> EVSE: Measured Voltage: 359 Current: 0 Time remaining: 5340 Status: 101 Time:0:0:53.221
09:15:12.122 -> EVSE: Measured Voltage: 361 Current: 0 Time remaining: 5340 Status: 101 Time:0:0:53.321
09:15:12.229 -> EVSE: Measured Voltage: 371 Current: 0 Time remaining: 5340 Status: 101 Time:0:0:53.421
09:15:12.303 -> JLD505: 357.567v -0.39A 29.1Ah -0.1kW 9.8kWh OUT1:1 OUT2:1 OUT3:1 IN1:1 IN2:0 CHG T: 53
09:15:12.341 -> EVSE: Measured Voltage: 378 Current: 0 Time remaining: 5340 Status: 101 Time:0:0:53.521
09:15:12.454 -> EVSE: Measured Voltage: 385 Current: 0 Time remaining: 5340 Status: 101 Time:0:0:53.621
09:15:12.530 -> EVSE: Measured Voltage: 394 Current: 1 Time remaining: 5340 Status: 101 Time:0:0:53.721
09:15:12.638 -> EVSE: Measured Voltage: 398 Current: 1 Time remaining: 5340 Status: 101 Time:0:0:53.821
09:15:12.751 -> EVSE: Measured Voltage: 393 Current: 0 Time remaining: 5340 Status: 100111 Time:0:0:53.921
09:15:12.751 -> EVSE:stop charging.
Pain to debug, as it seems to work find at home, with 12v in pin 2 and gnd on pins 10 and 1.
Re: Chademo Controller Development
Posted: Sun Jul 24, 2022 3:35 pm
by Bigpie
Rolled back to a known working version and I've managed to charge at the BP unit again.
I've come across an InstaVolt that seems to do things in an odd way, it grounds pin 10 first and then gives 12v to pin 2 and the code seems to start ramping current requests too early. Charge fails. Extract of log below and full log attached. I'll see if I can modify the code to work, after a few more successes on the BP to prove it wasn't a fluke.
(IN2 is active low)
Code: Select all
14:31:06.830 -> JLD505: 348.095v 0.02A 29.0Ah 0.0kW 9.2kWh OUT1:0 OUT2:0 OUT3:1 IN1:0 IN2:0 POS:Op NEG:Op CHG T: 1
14:31:07.345 -> CAR: VCU Wake Up Time:0:1:34.991
14:31:07.345 -> JLD505: 348.100v 0.03A 29.0Ah 0.0kW 9.2kWh OUT1:0 OUT2:0 OUT3:1 IN1:0 IN2:0 POS:Op NEG:Op CHG T: 0
14:31:07.843 -> CAR: VCU Wake Up Time:0:1:35.491
14:31:07.843 -> JLD505: 348.097v 0.05A 29.0Ah 0.0kW 9.2kWh OUT1:0 OUT2:0 OUT3:1 IN1:0 IN2:0 POS:Op NEG:Op CHG T: 1
4:31:09.335 -> CAR: VCU Wake Up Time:0:1:36.991
14:31:09.335 -> JLD505: 348.092v 0.03A 29.0Ah 0.0kW 9.2kWh OUT1:0 OUT2:0 OUT3:1 IN1:0 IN2:0 POS:Op NEG:Op CHG T: 0
14:31:09.853 -> CAR: VCU Wake Up Time:0:1:37.491
14:31:09.853 -> JLD505: 348.098v 0.03A 29.0Ah 0.0kW 9.2kWh OUT1:0 OUT2:0 OUT3:1 IN1:1 IN2:0 POS:Op NEG:Op CHG T: 1
14:31:10.296 -> Starting Chademo process.
14:31:10.329 -> CAR: VCU Wake Up Time:0:1:37.991
14:31:10.329 -> JLD505: 348.100v 0.03A 29.0Ah 0.0kW 9.2kWh OUT1:0 OUT2:0 OUT3:1 IN1:1 IN2:0 POS:Op NEG:Op CHG T: 0
14:31:10.329 -> Chademo Mode: 12
14:31:10.329 -> Sent params to EVSE. Waiting.
14:31:10.364 -> CAR: Absolute MAX Voltage:400 Pack size: 18.00 Time:0:1:38.8
14:31:10.440 -> CAR: Charging Time Time:0:1:38.82
14:31:10.515 -> CAR: Protocol:1 Target Voltage: 393 Current Command: 16 Target Amps: 50 Faults: 0 Status: 0 kWh: 9.20 Time:0:1:38.158
14:31:10.587 -> CAR: Absolute MAX Voltage:400 Pack size: 18.00 Time:0:1:38.233
14:31:10.658 -> CAR: Charging Time Time:0:1:38.308
14:31:10.696 -> EVSE: MaxVoltage: 950 Max Current:125 Threshold Voltage:475 Time:0:1:38.336
14:31:10.696 -> EVSE: Measured Voltage: 0 Current: 0 Time remaining: 0 Status: 100000 Time:0:1:38.336
14:31:10.734 -> CAR: Protocol:2 Target Voltage: 393 Current Command: 15 Target Amps: 50 Faults: 0 Status: 1000 kWh: 9.20 Time:0:1:38.383
14:31:10.770 -> CAR:Charge enable ON
14:31:10.770 -> EVSE: MaxVoltage: 950 Max Current:125 Threshold Voltage:475 Time:0:1:38.436
14:31:10.770 -> EVSE: Measured Voltage: 0 Current: 0 Time remaining: 0 Status: 100000 Time:0:1:38.436
Re: Chademo Controller Development
Posted: Sun Jul 24, 2022 3:55 pm
by larsrengersen
What does Protocol 1 and 2 mean?
If that is CHAdeMO 0.9 vs 1.0 you might want to stick to 0.9 (and do not change along the session).
Re: Chademo Controller Development
Posted: Sun Jul 24, 2022 4:18 pm
by Bigpie
I've no idea why it did that.
If I'm not mistaken it's your code I'm running, but slightly modified to send out a can message to my car to close main contactors, but not sure what that's about.
I'll grab another log incase of funkyness.
Re: Chademo Controller Development
Posted: Sun Jul 24, 2022 5:46 pm
by Ev8
Is anyone still producing a CHAdeMO controller board? I can’t find anything on Damien’s webshop.
Re: Chademo Controller Development
Posted: Sun Jul 24, 2022 5:50 pm
by arber333
Ev8 wrote: ↑Sun Jul 24, 2022 5:46 pm
Is anyone still producing a CHAdeMO controller board? I can’t find anything on Damien’s webshop.
I am working on ESP32 board which could be compatible with Leaf VCU code.
Re: Chademo Controller Development
Posted: Sun Jul 24, 2022 6:11 pm
by larsrengersen
Ev8 wrote: ↑Sun Jul 24, 2022 5:46 pm
Is anyone still producing a CHAdeMO controller board? I can’t find anything on Damien’s webshop.
Yes, I do. Been in presale for a while now so you need a code for checkout.
https://www.evcreate.nl/shop/charging/c ... ontroller/
Send me an email if you are interested and I’ll share one.
It’s installed in quite some cars now so I’ll remove the code restriction soon.
Re: Chademo Controller Development
Posted: Sun Jul 24, 2022 6:27 pm
by Bigpie
Do you have these Chargepoint units in NL?
Re: Chademo Controller Development
Posted: Sun Jul 24, 2022 6:45 pm
by larsrengersen
No, have never seen those, also not during trips in Germany, Sweden and Norway.
One thing you might need to double check is if the code logic matches the hardware in terms of IN1 and IN2. Depending on weather optocouplers are used or not the signal might be inverted. Can’t remember the exact details and probably is not the root cause since then probably it would not have worked at all but still worth checking.
Re: Chademo Controller Development
Posted: Sun Jul 24, 2022 7:15 pm
by Bigpie
Yea, checked and double checked these, Start 1 is connected to IN1 active high, and Start 2 is connected to IN2 active low. Will get more logs and try investigate what's going on.
Re: Chademo Controller Development
Posted: Thu Jul 28, 2022 11:51 am
by Bigpie
Charging worked again on other units, but the Instavolts still refusing to go, same deal, they switch IN2 first, that doesn't prevent it carrying on to closing the contactors but current doesn't seem to flow despite requesting so.
Forgot my can logger again, doh.
Code: Select all
12:10:16.010 -> CAR: Protocol:2 Target Voltage: 393 Current Command: 14 Target Amps: 50 Faults: 0 Status: 1 kWh: 6.61 Time:0:0:49.708
12:10:16.082 -> CAR: Absolute MAX Voltage:400 Pack size: 18.00 Time:0:0:49.783
12:10:16.117 -> EVSE: MaxVoltage: 950 Max Current:78 Threshold Voltage:475 Time:0:0:49.791
12:10:16.117 -> EVSE: Measured Voltage: 352 Current: 0 Time remaining: 0 Status: 100100 Time:0:0:49.791
12:10:16.154 -> CAR: Charging Time Time:0:0:49.857
12:10:16.192 -> EVSE: MaxVoltage: 950 Max Current:78 Threshold Voltage:475 Time:0:0:49.891
12:10:16.192 -> EVSE: Measured Voltage: 352 Current: 0 Time remaining: 0 Status: 100100 Time:0:0:49.892
12:10:16.230 -> CAR: Protocol:2 Target Voltage: 393 Current Command: 15 Target Amps: 50 Faults: 0 Status: 1 kWh: 6.61 Time:0:0:49.933
12:10:16.301 -> CAR: VCU Wake Up Time:0:0:49.991
12:10:16.301 -> JLD505: 351.301v -0.54A 24.7Ah -0.2kW 6.6kWh OUT1:1 OUT2:1 OUT3:1 IN1:1 IN2:0 POS:Cl NEG:Cl CHG T: 4
12:10:16.301 -> Chademo Mode: 6
12:10:16.301 -> EVSE: MaxVoltage: 950 Max Current:78 Threshold Voltage:475 Time:0:0:49.992
12:10:16.301 -> EVSE: Measured Voltage: 352 Current: 0 Time remaining: 0 Status: 100100 Time:0:0:49.992
12:10:16.336 -> CAR: Absolute MAX Voltage:400 Pack size: 18.00 Time:0:0:50.7
12:10:16.336 -> Stopping chademo process.