Page 1 of 1
Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Fri Jan 24, 2025 10:56 pm
by Jacobsmess
A quick one.
As of v2.20A zombieverter can reportedly take UDC from the gen2 leaf inverter. Is this still the case if it's been swapped to an OI board?
The OI board shows UDC correctly, but I assume I still need the Shunt to talk to zombie for precharge etc.
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sat Jan 25, 2025 12:30 am
by Bratitude
not exactly no.
when you use the stock leaf inverter with zombie, the leaf inverter oem board transmits the UDC value, and zombie now reads that for UDC.
but selecting the OI in the inverter menu in zombie negates anything todo with the leaf inverter. as it just sees the OI now. regardless if its in a tesla, leaf, MG, etc
now i dont think the OI board relays UDC data/ the zombie is set up to receive UDC data from OI. but i may be wrong.
in which case you will need a shunt still
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sat Jan 25, 2025 7:23 am
by Jacobsmess
Thanks, that's what I thought.
I do have a shunt but its not been playing nice, it's a terminated kind but measuring resistance on the canbus I have around 40ohms so I may need to open it up and remove the resistor. Also I think I've been power cycling both the zombie and shunt whilst trying to initialise but after some more reading it seems people have had more success only power cycling the zombie.
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sat Jan 25, 2025 10:27 am
by Jacobsmess
Right, I've got precharge sorted after managing to initialised the shunt and swapping to U1 on the shunt (It was originally on U3 which was likely the real issue).
Now I'm not getting zombie to switch the relay for the inverter on when going into run mode.
Are there any parameters, can mapping or other things that are required for the Inverter to switch on?
So far, I've mapped UDC, Speed, TMPHS and OpMode on the OI board as per the wiki. Not mapped anything else on the zombie, but presume the mapping isn't the issue.
The relay has 12V going to it and then grounds via the zombie LS input.
The zombie dash following precharge
The OI dash following precharge
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sat Jan 25, 2025 12:48 pm
by tom91
Posts a param dump if you want help.
For some reason (dont ask me why)
Code: Select all
if(selectedInverter != &openInv)DigIo::inv_out.Set();//inverter power on but not if we are in charge mode and not if OI
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sat Jan 25, 2025 5:09 pm
by Jacobsmess
tom91 wrote: ↑Sat Jan 25, 2025 12:48 pm
Posts a param dump if you want help.
Will do, I pulled the bench setup apart today for some measuring and mocking up but will get it back up soon.
However, after reading through the Tesla OI board & Zombie thread it did come up that the can backend bootloader might be part of he problem.
I've been advised the can bootloader is only if you want to flash over can so that's not it.
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sat Jan 25, 2025 6:53 pm
by Jacobsmess
heres some params from the other day. I've since initialised the shunt, and moved the can mapping ...
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sat Jan 25, 2025 7:27 pm
by Bratitude
is zombie reporting UDC values from the shunt?
what canbus do you have the shunt wired to?
if precharge is falling this is a shunt and HV issue
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sat Jan 25, 2025 8:35 pm
by Jacobsmess
Hi yes, sorry I've spread Qs about on different platforms.
I've go precharge working with shunt now.so zombie pre charges and goes into run mode but OI does not. Everything is on can1 atm (inverter, shunt and lilygo tcan). UDC is reported correctly also.
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sat Jan 25, 2025 8:36 pm
by Bratitude
okay great so that is solved. now how is the oi board wired to zombie?
how is the 12v enable pin from zombie set up?
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sat Jan 25, 2025 8:42 pm
by Jacobsmess
Only thing connecting zombie and OI board/inverter are the permanent 12V that is relay controlled by zombie and CAN H and L.
I was going off the Tesla to zombie and leaf to zombie diagrams on the zombie page less the 12V enable on pin 42.
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sun Jan 26, 2025 9:21 am
by Jacobsmess
So Params from today after putting the bench setup back together...
No can mapping on either board although I have tried sending Speed, TMPHS, UDC and OPMODE from the zombie and receiving on the OI board which does get the OIboard into run mode. however these are not saved to flash upom restarting the OIboard
I do have a brake check status on the OI board this remains regardless of Canmapping.
OI board is only provided with 12V, GND and CAN H and L. nothing else is connected.
both boards are running the latest official firmwares.
On occsaion I have had a CANCounter error, I'm not 100% on what leads to this but think it may be when can mapping is set only as set on the zombie to send, nothing set to receive on the OIboard.
Let me know if anything else is required to help with suggestions on trouble shooting and I can get data.
When unpowered, my canbus resistance between H and L is around 40ohms which I know is lower than recoemmended but I'm under the assumption this shouldnt be an issue on a bench with short runs etc.
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sun Jan 26, 2025 9:50 am
by Jacobsmess
ok some progress,
I found the brakecheck error was to do with cruisemode. Turning this off got me into WaitStart and I got a spinning motor, however I am now getting overcurrent errors quite easily with the motor stopping suddenly.
I've had a little play with params, (attached my latest ones)
but still getting this issue.
I'm also not entirely sure which takes precedence over the settings of overcurrent and throttleramp etc. between the OIBoard and Zombie, or is it a tuning between the two?
Finally, I was expecting MotorDir in Zombie to control the motor direction, however this does not appear to be the case. Is this possible via the interface?
Thanks for the help so far all.
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sun Jan 26, 2025 10:25 am
by tom91
Jacobsmess wrote: ↑Sun Jan 26, 2025 9:50 am
I was expecting MotorDir in Zombie to control the motor direction
No. Wait what param are you on about? dirmode?
Jacobsmess wrote: ↑Sun Jan 26, 2025 9:50 am
tuning between the two
Potnom gets sent to the OIBoard. So the voltage, current and temp limits effect it.
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sun Jan 26, 2025 11:03 am
by Jacobsmess
tom91 wrote: ↑Sun Jan 26, 2025 10:25 am
No. Wait what param are you on about? dirmode?
Sorry that should have been "reversemotor"
tom91 wrote: ↑Sun Jan 26, 2025 10:25 am
Potnom gets sent to the OIBoard. So the voltage, current and temp limits effect it.
Still not 100% on what you are saying here. Effects what? The OIboard? What about current limits and throttle ramps etc. Does one take precedence over the other?
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sun Jan 26, 2025 11:20 am
by tom91
Jacobsmess wrote: ↑Sun Jan 26, 2025 11:03 am
Sorry that should have been "reversemotor"
Okay so my 'No" still stands, please note on the wiki it does not mention it works with OI, it only works for Outlander rear.
Nvm, Zombie just feeds pot and pot2, so zombie applies no control.
https://openinverter.org/wiki/CAN_commu ... _CAN_-_new!
Seems weird to me. Will need to do a propper review of the Zombies role with an OI inverter setup, seems that the Zombie loses alot of its functionality and purpose currently.
Re: Zombieverter 2.20 and OI board in a leaf gen2 80kw inverter - UDC
Posted: Sun Jan 26, 2025 12:18 pm
by Jacobsmess
tom91 wrote: ↑Sun Jan 26, 2025 11:20 am
Seems weird to me. Will need to do a propper review of the Zombies role with an OI inverter setup, seems that the Zombie loses alot of its functionality and purpose currently.
Thanks, happy to help as best I can with this.