Page 18 of 21

Re: Chademo Controller Development

Posted: Thu Sep 29, 2022 6:32 pm
by Isaac96
arber333 wrote: Thu Sep 29, 2022 2:31 pm Hm... no i tries that already and it just stoped charging. No tapering of current... this is why i wanted to setup tapering.

Do you think i should setup greater difference? As in 390V for charge and 394V for max?
That should work better. I believe the max is also so the EVSE knows how high the pack can go to ensure compatibility (2.0 supports 1000v ish).

Re: Chademo Controller Development

Posted: Tue Oct 04, 2022 7:54 pm
by arber333
Nope that doesnt work. Today a lot of evse on my way to Split just stopped charging when reached 390V battery voltage. I havent observed any throttling of the amps.
Perhaps we could add another voltage parameter to form a knee where CV would start? Since Umax is never reached Ut means evse stops, maybe Ucv would directly vary request until Imin? Isaac could you try to change the code since you know what you are doing?

Tnx

Re: Chademo Controller Development

Posted: Sat Oct 08, 2022 1:07 pm
by Bigpie
Currently awaiting recovery :( tried multiple chargers and now too empty to continue, getting recovery home instead of desired destination so I'm not stuck again :(

Charging starts then immediately stops with no apparent reason.

Re: Chademo Controller Development

Posted: Sat Oct 08, 2022 1:20 pm
by arber333
Bigpie wrote: Sat Oct 08, 2022 1:07 pm Current awaiting recovery :( tried multiple chargers and now too empty to continue, getting recovery home instead of desired destination so I'm not stuck again :(

Charging starts then immediately stops with no apparent reason.
Dang! I was good with Chademo stations all the way to Split.
The same happens to me at Delta chargers. I suspect bad CAN bus termination. I am thinking of taking VCU board 60R resistor out and extending chademo twisted pair. Then i qould fit one 60R resistor into the end connector. Maybe i could then more easily connect to this line for listening...
But this would mean i have to take apart everything... maybe now that i have to refit my battery i can also do this job.

Re: Chademo Controller Development

Posted: Sat Oct 08, 2022 1:24 pm
by Bigpie
I'm not sure what the problem could be, it was communicating properly from what I can tell with the log file, the current request ramps up then it just stops at 4 amps.

Re: Chademo Controller Development

Posted: Sat Oct 08, 2022 1:33 pm
by arber333
Bigpie wrote: Sat Oct 08, 2022 1:24 pm I'm not sure what the problem could be, it was communicating properly from what I can tell with the log file, the current request ramps up then it just stops at 4 amps.
Does it report error code in charger display?
What if your ISA reports positive current? It happened to me before. EVSE would start but then stopped as if ISA would report system is driving...
I have made some changes to my code and it works good at least on most chargers.
I added option to reverse voltage and current sensing.
I also inserted Nissan leaf instructions and IDs for V2X.
You could reflash your DUE board with my changed code

Re: Chademo Controller Development

Posted: Sat Oct 08, 2022 2:14 pm
by Dusty4
Man that sucks :| Is this problem on chargers you've used before? I've been meaning to post about this, I had modify your board so there is a voltage divider on in2. in1 and in2 are connected to contactors/ pins 2 and 10 directly. I then just had out2 on my bms cutout. I think the circontrol station near me must need to see a load on pins 2 and 10.

Re: Chademo Controller Development

Posted: Sat Oct 08, 2022 5:15 pm
by Bigpie
My in2 has an external pull up no voltage divider' it gets pulled to ground.

Didnt have can logging with me unfortunately.

Was the same BP units that I've used else where, same goes for the instavolts. Not used these specific ones.

Will go to my local BP tomorrow with can logging and get some messages.

The inputs and outs are working, the contactors closed, the current request starts ramping up, the supplied current starts to ramp then the charger errors out.

Re: Chademo Controller Development

Posted: Sun Oct 09, 2022 12:55 pm
by Bigpie
Still an issue today so grabbed a log

Looks like the voltage seen goes up to ~340v but doesn't drop back below 20v before staring the charge.
Screenshot 2022-10-09 at 1.53.51 pm.png
Screenshot_2022-10-09_at_9.16.58_pm.png

Re: Chademo Controller Development

Posted: Tue Oct 11, 2022 8:12 am
by Bigpie
Looks like I've blown an input pin, IN2 is being constantly pulled to ground, the contactors are closing too early. Need to redesign to add input protection I guess.

Re: Chademo Controller Development

Posted: Tue Oct 11, 2022 8:27 am
by arber333
Bigpie wrote: Tue Oct 11, 2022 8:12 am Looks like I've blown an input pin, IN2 is being constantly pulled to ground, the contactors are closing too early. Need to redesign to add input protection I guess.
How is that possible. Isnt it pulled low? A transient on the EVSE line?
Could be that a small 3V6 zener diode would save your problem. You connect upper side to your pin and the other to GND :).
I would have to think on that for my VCU too...

Re: Chademo Controller Development

Posted: Tue Oct 11, 2022 9:01 am
by Bigpie
Not entirely sure, transients or ESD? Zener going on and hoping :D Might have to carry around a gas soldering iron to quickly change to another pin :D

Re: Chademo Controller Development

Posted: Tue Oct 11, 2022 9:09 am
by arber333
Bigpie wrote: Tue Oct 11, 2022 9:01 am Not entirely sure, transients or ESD? Zener going on and hoping :D Might have to carry around a gas soldering iron to quickly change to another pin :D
Hm... In my new V6 version i have plenty of 10K pulled up inputs so i might just choose a new wire and reconnect :evil: :).
But that is how i was dealing with burned IGBTs in 2016! Each year a different set replaced until i used desat drivers which solved the issue for good.
Hope for the best aint a tactic! I strongly suggest you add a zener or TVS protection on each input so it cant be overloaded easily.

EDIT: look at me preaching while i dont actually have zeners mounted....any day now.

Re: Chademo Controller Development

Posted: Tue Oct 11, 2022 5:42 pm
by Bigpie
Ordered an updated pcb with zener diodes and some other fixes.
20221011_181501.jpg
All working again on a new pin :D. Only thought ive had is somehow the pin went to output?

Re: Chademo Controller Development

Posted: Wed Nov 09, 2022 9:12 pm
by PatrykS
arber333 wrote: Sat Oct 08, 2022 1:20 pmI am thinking of taking VCU board 60R resistor out and extending chademo twisted pair. Then i qould fit one 60R resistor into the end connector.
CAN should be terminated by one 120 ohm resistor on each end - not the 60 ohm. One is in the CHAdeMO station, the second should be on the CHAdeMO controller.

Re: Chademo Controller Development

Posted: Mon Dec 12, 2022 7:41 am
by Bratitude
im working on installing chademo in my brat. i have an stm32 board "isa fc vcu v2" from damien, seeing the issues people have had with them, and all the little developments, i started a wiki page after gathering all the info from this thread.

https://openinverter.org/wiki/Chademo

dump info into it if you can.
regardless of board/software

Re: Chademo Controller Development

Posted: Mon Dec 12, 2022 1:00 pm
by P.S.Mangelsdorf
I've rebuilt my HVJB and hopefully addressed the issues I had, but likely won't be able to test until sometime next spring when I've finished replacing axles in the car. I'll report back then on whether the changes worked, and what they were.

Re: Chademo Controller Development

Posted: Fri Jan 13, 2023 1:55 pm
by Bigpie
@arber333 did you ever get anywhere with the tapering?

Re: Chademo Controller Development

Posted: Fri Jan 13, 2023 2:28 pm
by arber333
Bigpie wrote: Fri Jan 13, 2023 1:55 pm @arber333 did you ever get anywhere with the tapering?
Nope, i tried from the code but it just ignores me.
I could try to set different amps... will try tomorrow.

Re: Chademo Controller Development

Posted: Thu Jan 26, 2023 9:15 am
by arber333
Yesterday i removed the box from under the car and set it up for testing from the trunk.

1. i removed ACDC converter and connected 12V directly from the car. There were issues on some EVSE when they declared isolation problem.

2. I tried to rewire my CAN bus lines. Strangely when i switched wires CAN L/H on some EVSE (Delta) i got "CAN no communication" error and on some (ABB) it charged correctly. Go figure...

Can anyone share their own details on how they formed CAN bus twisted pair from Chademo socket to Leaf(chademo) VCU? Do you have any data on how OEM twist their wires? I try to keep to some convention and i usualy twist my wires from left to right looking at a right hand perspective - thumb up.

Re: Chademo Controller Development

Posted: Fri Jan 27, 2023 8:32 pm
by Bratitude
re stm boards: im not getting any prams on the web interface.... supposed to use the generic open inverter interface correct?

Re: Chademo Controller Development

Posted: Fri Jan 27, 2023 8:50 pm
by Bigpie
Not used the STM32 board, but usual thing to try it hookup TTL to USB and look at the serial output instead of the esp8266. If it's just printing endless 2F2F2F... it's not running the firmware successfully

Re: Chademo Controller Development

Posted: Fri Jan 27, 2023 9:33 pm
by Bratitude
hmm just noticed the STM32 gets quite warm once the board is powerd on

Re: Chademo Controller Development

Posted: Thu Feb 23, 2023 7:48 pm
by JaniK
:D
Bratitude wrote: Fri Jan 27, 2023 8:32 pm re stm boards: im not getting any prams on the web interface.... supposed to use the generic open inverter interface correct?
I too have the ISA FC VCU V2 and just got some blinking leds, esp8266 wifi hotspot is working, but no params.

I used st-link to send this to the board.

https://github.com/damienmaguire/Chadem ... hademo.hex

On the esp8266 web page I found I have SWD error when I try to update firmware that way.

And after reading through this thread "again" I see I have some BSP75N that I need to change to the NCV8402 too huh..? Damn I just ordered stuff from mouser :| anyone got spare 3 in EU? ;)

Re: Chademo Controller Development

Posted: Thu Feb 23, 2023 7:55 pm
by Bratitude
JaniK wrote: Thu Feb 23, 2023 7:48 pm :D

I too have the ISA FC VCU V2 and just got some blinking leds, esp8266 wifi hotspot is working, but no params.

I used st-link to send this to the board.

https://github.com/damienmaguire/Chadem ... hademo.hex

On the esp8266 web page I found I have SWD error when I try to update firmware that way.

And after reading through this thread "again" I see I have some BSP75N that I need to change to the NCV8402 too huh..? Damn I just ordered stuff from mouser :| anyone got spare 3 in EU? ;)
where is it saying the swd error?

is your stm32 getting warm once the board is powered on?