Page 12 of 21

Re: Chademo Controller Development

Posted: Mon Jan 24, 2022 1:18 pm
by P.S.Mangelsdorf
Bratitude wrote: Sun Jan 23, 2022 10:40 pm
P.S.Mangelsdorf wrote: Sun Jan 23, 2022 9:49 pm How many amps can the board provide the contactors? I have a feeling mine are drawing too much.
contactors are switched via one of the relays on the board.
PCH-112L2MH,000
5amp 12v

Do the contactors have a econimmizer ?
I'm using the Chevy Volt contactors that are not economized, I tested them for a couple hours and the heat rise was not that significant. I've thought about using another relay to trigger them, and/or using a fuel injector driver as an economizer (yes I'm aware that economizers are not terribly difficult to build, but I'm trying to find solutions I can get in a week)

Re: Chademo Controller Development

Posted: Tue Jan 25, 2022 1:06 am
by P.S.Mangelsdorf
Ok I got some logs:

First, a log turning on the ISA shunt (disconnected from controller) and then re-doing the initialization.
log power up and reinitialize.csv
(14.64 KiB) Downloaded 106 times

Second, after the reinitialization, I power cycled and logged without the controller connected to the bus.
log of power up without controller.csv
(12.97 KiB) Downloaded 90 times

Third, I logged with the controller connected to the bus.
log of power up with controller.csv
(38.92 KiB) Downloaded 105 times

Also attached is a screenshot of the controller interface. The car was not plugged in (pins were jumped to turn on board). BMS (not connected to this bus) was reporting 15% SOC. As you can see, the controller was reporting 0%.
controller interface batt 15-per soc not plugged.PNG

Re: Chademo Controller Development

Posted: Tue Jan 25, 2022 11:35 pm
by Isaac96
In the powerup without controller:
Looks like voltage reading is close to zero (0F and then a very small negative, so in the millivolt range).
Ah reading is also zero.

So this seems to be the correct configuration.

Controller SOC wouldn't change unless you put power through the shunt, no?

Re: Chademo Controller Development

Posted: Wed Jan 26, 2022 12:45 am
by P.S.Mangelsdorf
Isaac96 wrote: Tue Jan 25, 2022 11:35 pm In the powerup without controller:
Looks like voltage reading is close to zero (0F and then a very small negative, so in the millivolt range).
Ah reading is also zero.

So this seems to be the correct configuration.

Controller SOC wouldn't change unless you put power through the shunt, no?
That seems to make sense to me. Would there be a way to test that there are correct readings without going to a charge station? It's 15 miles from my house to the nearest station.

Could I just power up the inverter?

Re: Chademo Controller Development

Posted: Wed Jan 26, 2022 1:01 am
by Isaac96
That should do the trick!

Do you have a picture of the shunt in its place?

Re: Chademo Controller Development

Posted: Wed Jan 26, 2022 12:55 pm
by P.S.Mangelsdorf
This was a quick test with the inverter on, while I was on my way out the door this morning. I'll do a longer test and log this evening.
20220126_120036000_iOS.png


The shunt ended up sticking out of the box after I flipped it around to the correct orientation. Safety/emergency contactor is above, cables out to the inverter and charge contactors are below. (note: when placed inline, the image is upside down, but if you click on it, it will flip right side up. no clue why)
20220126_120110212_iOS.jpg

Re: Chademo Controller Development

Posted: Thu Jan 27, 2022 12:42 am
by P.S.Mangelsdorf
Attached log is from the bus with shunt and CHAdeMO controller while I start the inverter and then spin the motor up twice. I couldn't also grab a screenshot from the web interface, too much going on.
spin up inverter.csv
(133.37 KiB) Downloaded 94 times

Re: Chademo Controller Development

Posted: Sat Jan 29, 2022 11:44 pm
by P.S.Mangelsdorf
Got some new captures, these from charging attempts.

These were logged on separate charging attempts on an EVGo station. In all cases, charging failed and the station reported that the car initiated a normal shut down.

Edit to add: the web interface cmdstatus showed as SystemMalfunction|Stop once the charge failed.

First is a log on the ISA Shunt bus.
shunt bus attempt failed.csv
(87.73 KiB) Downloaded 93 times

Second is a log on the command/station communication bus.
chademo bus attempt failed.csv
(55.67 KiB) Downloaded 93 times

I also attempted to screen record the web interface but it didn't work correctly.

I'm going to dig into these tonight, but I'd really appreciate anyone that could take a look and let me know what you see.

Re: Chademo Controller Development

Posted: Sun Jan 30, 2022 8:24 pm
by P.S.Mangelsdorf
I found part of my problem, but still no sucess charging.

I realized that the shunt and station communications are the same bus, so I had an extra termination resistor. I pulled that out, but still had issues.

I also double checked the soldering on the relays, and made sure they were connected.

This attempt was at an Electrify America station. I got all the way through the process right up to delivering power, and then it failed.

I got a CAN log and a screen capture, but for some reason its not letting me add the screen capture.

The web interface is still showing 0% SOC, which I think is the error. I did have the shunt installed backwards for a while. Could I have damaged the shunt, where it is still communicating but not measuring properly?

Re: Chademo Controller Development

Posted: Sun Jan 30, 2022 10:14 pm
by Isaac96
Backwards installation shouldn't cause damage.

Looking at your picture: I don't see a voltage sensing connection?
One of the 2-pin connectors needs to be connected to the opposite side of the HV bus (if shunt is on negative then connect 2-pin to positive).


Here's how I had mine hooked up (this is in a RAV4 EV). Pack wiring is on the left, chademo power comes in on the right (orange wires).
IMG_3233 (1).jpg
EDIT Note that there are three voltage sense connectors; sensor 1 is used for power measurements and has highest priority, not sure which one is read by the Chademo VCU (since all can be accessed via CAN).

Re: Chademo Controller Development

Posted: Sun Jan 30, 2022 10:21 pm
by Bigpie
I'm just getting the harware mounted up at the moment, so not fully up on the specifics.
Has anyone created a mock chademo charger for tesing purposes?

Re: Chademo Controller Development

Posted: Mon Jan 31, 2022 1:34 pm
by P.S.Mangelsdorf
Isaac96 wrote: Sun Jan 30, 2022 10:14 pm Looking at your picture: I don't see a voltage sensing connection?
One of the 2-pin connectors needs to be connected to the opposite side of the HV bus (if shunt is on negative then connect 2-pin to positive).
Well I'm an idiot. I misread the data sheet and assumed they were only needed to measure sub pack voltages. I'll get them wired up next weekend and see if that solves it.

Re: Chademo Controller Development

Posted: Fri Feb 04, 2022 8:06 am
by alexbeatle
Is the CHAdeMO controller hardware coming to the shop soon?

Re: Chademo Controller Development

Posted: Sat Feb 05, 2022 2:38 am
by Bratitude
alexbeatle wrote: Fri Feb 04, 2022 8:06 am Is the CHAdeMO controller hardware coming to the shop soon?
its discontinued. zombiverter takes over now.
i think lars sells boards still

Re: Chademo Controller Development

Posted: Sat Feb 05, 2022 2:56 am
by alexbeatle
Bratitude wrote: Sat Feb 05, 2022 2:38 am
alexbeatle wrote: Fri Feb 04, 2022 8:06 am Is the CHAdeMO controller hardware coming to the shop soon?
its discontinued. zombiverter takes over now.
i think lars sells boards still
I'm using Tesla SDU with Damuen's V6 drop-in board. I think the zombieverter is an overkill for me... :twisted:

Re: Chademo Controller Development

Posted: Sat Feb 05, 2022 7:19 pm
by P.S.Mangelsdorf
P.S.Mangelsdorf wrote: Mon Jan 31, 2022 1:34 pm
Isaac96 wrote: Sun Jan 30, 2022 10:14 pm Looking at your picture: I don't see a voltage sensing connection?
One of the 2-pin connectors needs to be connected to the opposite side of the HV bus (if shunt is on negative then connect 2-pin to positive).
Well I'm an idiot. I misread the data sheet and assumed they were only needed to measure sub pack voltages. I'll get them wired up next weekend and see if that solves it.
Ok, now that I have that fixed, time for my next dumb mistake:

When I built the HV junction box, I put the shunt on the positive side of the battery, so now the shunt reports a negative voltage. Is it possible to tell the shunt to report an inverted voltage, and if so what CAN message would I need to send?

Additionally, as a clarification question: should the shunt report positive amperage when power is leaving the battery or when it is entering?

Re: Chademo Controller Development

Posted: Sat Feb 05, 2022 9:09 pm
by Isaac96
Not sure which way the amperage should be; in my implementations I just checked what it read and adjusted the code as needed.

There is a sign change bit for measurements - can be used for amperage and voltage if necessary.

In the settings command, date byte 1 (second byte) is usually 0x42. Change to 0xC2 to reverse sign for that measurement.

Re: Chademo Controller Development

Posted: Sat Feb 05, 2022 9:45 pm
by P.S.Mangelsdorf
Isaac96 wrote: Sat Feb 05, 2022 9:09 pm
There is a sign change bit for measurements - can be used for amperage and voltage if necessary.

In the settings command, date byte 1 (second byte) is usually 0x42. Change to 0xC2 to reverse sign for that measurement.
Is that for all 9 settings or just one of them?

Re: Chademo Controller Development

Posted: Sat Feb 05, 2022 9:49 pm
by Bigpie
20220205_153141.jpg
Getting my chademo contactors wired up. Anyone know how the PP should be used?

Re: Chademo Controller Development

Posted: Sat Feb 05, 2022 10:35 pm
by Isaac96
P.S.Mangelsdorf wrote: Sat Feb 05, 2022 9:45 pm Is that for all 9 settings or just one of them?
I believe that bit can be set for any of the sensor channels individually. (voltage, current, etc).
Not sure which channels you'd want to reverse. Voltage for sure, current possibly, amp-hour counting might be needed too? (though switching current might reverse amp-hour reading).
Bigpie wrote: Sat Feb 05, 2022 9:49 pm Getting my chademo contactors wired up. Anyone know how the PP should be used?
PP meaning proximity pilot? Pin 7 can be used to wake up the QC controller, it's a pretty low current signal so you'll want either a small relay or a mosfet.

Re: Chademo Controller Development

Posted: Sun Feb 06, 2022 9:05 am
by Bigpie
Isaac96 wrote: Sat Feb 05, 2022 10:35 pm PP meaning proximity pilot? Pin 7 can be used to wake up the QC controller, it's a pretty low current signal so you'll want either a small relay or a mosfet.
Yea, proximity pilot, is it 12v?

Re: Chademo Controller Development

Posted: Sun Feb 06, 2022 6:54 pm
by Isaac96
Bigpie wrote: Sun Feb 06, 2022 9:05 am Yea, proximity pilot, is it 12v?
Pulls to ground.
chademo-sequence-circuit.png

Re: Chademo Controller Development

Posted: Sun Feb 06, 2022 7:21 pm
by Bigpie
:D figured it out, thanks though. Works in bench testing, as far as i can test. Need to get it in the car now.

Re: Chademo Controller Development

Posted: Fri Feb 11, 2022 7:09 pm
by P.S.Mangelsdorf
I'm headed out to do some more testing but have a question: Now that I have voltage reporting correctly, the web interface is still showing 0% SOC. Is the controller supposed to be figuring out SOC or is that communicated back from the charging station based on maximum voltage?

Re: Chademo Controller Development

Posted: Fri Feb 11, 2022 7:18 pm
by Isaac96
Charging station does not calculate SOC; I believe the station can display an SOC only if the car tells it what SOC it's at.
I would assume the controller does the job of keeping track of it using the shunt (basically counting power in vs power out, then comparing to pack capacity).