The ZombieVerter VCU Project
-
- Posts: 171
- Joined: Sat Aug 22, 2020 6:54 pm
- Location: Finland
- Has thanked: 13 times
- Been thanked: 18 times
Re: The ZombieVerter VCU Project
Is it so that one cannot have messages with the same id on both the powertrain- and vehicle CAN?
- johu
- Site Admin
- Posts: 6621
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 344 times
- Been thanked: 1486 times
- Contact:
Re: The ZombieVerter VCU Project
Good point. I guess this should be different callback functions. Since powertrain and vehicle CAN may be configured a common handler should be called with the interface number.
Code: Select all
void CommonHandler(int interface, int id, uint32_t data[2])
{
code...
}
void Can1Handler(int id, uint32_t data[2])
{
CommonHandler(0, id, data);
}
void Can2Handler(int id, uint32_t data[2])
{
CommonHandler(1, id, data);
}
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- EV_Builder
- Posts: 1205
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 18 times
- Been thanked: 37 times
- Contact:
Re: The ZombieVerter VCU Project
Good point. @Johu why does the callback Influence that? You would think it won't have a clue about ID's...
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
- johu
- Site Admin
- Posts: 6621
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 344 times
- Been thanked: 1486 times
- Contact:
Re: The ZombieVerter VCU Project
Because if there are mutual IDs you need to also distinguish which interface it is coming fromEV_Builder wrote: ↑Mon May 16, 2022 6:06 am Good point. @Johu why does the callback Influence that? You would think it won't have a clue about ID's...
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- EV_Builder
- Posts: 1205
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 18 times
- Been thanked: 37 times
- Contact:
Re: The ZombieVerter VCU Project
Uhhh yeah that solves an identity problem, but what I have/deal with is no reception of same IDs at all?
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: The ZombieVerter VCU Project
Following some collaboration with Johannes we now have a first official binary release for the vcu : https://github.com/damienmaguire/Stm32- ... ses/latest
Modules tested in this release :
Basic functionality e.g. contactor control, precharge ,throttle,brake etc
External charger control
CAN1,CAN2 and CAN3.
Native Chademo fast charging utilising CAN3
Timed AC charging
BMW E39 module
BMW E46 module
Nissan Leaf inverter module
OpenInverter module
ISA shunt module
NOT tested in this release:
GS450h module. Will be done in coming week or two once GS450h system arrives.
Prius module. As above.
PWM and DAC fuel gauge modules.
Other vehicle modules.
Modules tested in this release :
Basic functionality e.g. contactor control, precharge ,throttle,brake etc
External charger control
CAN1,CAN2 and CAN3.
Native Chademo fast charging utilising CAN3
Timed AC charging
BMW E39 module
BMW E46 module
Nissan Leaf inverter module
OpenInverter module
ISA shunt module
NOT tested in this release:
GS450h module. Will be done in coming week or two once GS450h system arrives.
Prius module. As above.
PWM and DAC fuel gauge modules.
Other vehicle modules.
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: The ZombieVerter VCU Project
Testing of the integrated Chademo dc fast charge continues with now 3 brands of station working perfectly.
I'm going to need a hacksaw
- steveknox
- Posts: 125
- Joined: Mon Mar 11, 2019 9:36 am
- Location: Bormley, UK
- Has thanked: 16 times
- Been thanked: 14 times
- Contact:
Re: The ZombieVerter VCU Project
That's amazing, great work.
Mazda RX-8
GS450h Running Gear
Outlander Charger
Renault Kangoo 36kwh pack
GS450h Running Gear
Outlander Charger
Renault Kangoo 36kwh pack
- johu
- Site Admin
- Posts: 6621
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 344 times
- Been thanked: 1486 times
- Contact:
Re: The ZombieVerter VCU Project
I have done what seems like an enormous commit to the firmware. The goal was to not change functionality at all
So I'd appreciate people going out and testing that I haven't broken anything.
So what have I done?

So what have I done?
- I split the CAN hardware driver from the processing logic, i.e. the part that implements things like "can rx xxx yyy"
The point is to be able to implement the same drive interface for the MCP2515 without code duplication. Also since the VCU doesn't really use dynamic CAN mapping (yet) the pure hardware drivers are more lightweight - The CAN mapping itself has been restructured to be more dynamic. It now allows floats as gain factors and offsets between -128..127.
- It also does not tie a fixed number of items to a CAN message but rather there is a linked list of CAN map items that the messages reference to.
This would for example allow 64 items within one CAN message where before you were only allowed 8. It also doesn't waste memory for unused items - I have moved a lot of code that handles specific CAN messages or registers them with the CAN module into the module that actually uses them.
Goal is to make the stm32_vcu.cpp more agnostic of the actual device logic
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 210
- Joined: Fri Dec 06, 2019 8:59 pm
- Location: Dublin & Kilkenny Ireland
- Has thanked: 2 times
- Been thanked: 13 times
- Contact:
Re: The ZombieVerter VCU Project
Ill gladly give it a spin as soon as im near the car at the weekend.johu wrote: ↑Tue Jul 05, 2022 7:48 pm I have done what seems like an enormous commit to the firmware. The goal was to not change functionality at allSo I'd appreciate people going out and testing that I haven't broken anything.
So what have I done?
#3 has already been tested in the Tesla charger but all other code has never run on any hardware. So maybe someone with a ZombieVerter on their desk can play around with it.
- I split the CAN hardware driver from the processing logic, i.e. the part that implements things like "can rx xxx yyy"
The point is to be able to implement the same drive interface for the MCP2515 without code duplication. Also since the VCU doesn't really use dynamic CAN mapping (yet) the pure hardware drivers are more lightweight- The CAN mapping itself has been restructured to be more dynamic. It now allows floats as gain factors and offsets between -128..127.
- It also does not tie a fixed number of items to a CAN message but rather there is a linked list of CAN map items that the messages reference to.
This would for example allow 64 items within one CAN message where before you were only allowed 8. It also doesn't waste memory for unused items- I have moved a lot of code that handles specific CAN messages or registers them with the CAN module into the module that actually uses them.
Goal is to make the stm32_vcu.cpp more agnostic of the actual device logic
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: The ZombieVerter VCU Project
Its hiding in there:) 334 miles, 5 hours of blood sweat and some tears, 7 ccs fast charges and we have a GS450h system ready for bench testing....now if I just had a bench....
I'm going to need a hacksaw
- Bigpie
- Posts: 1757
- Joined: Wed Apr 10, 2019 8:11 pm
- Location: South Yorkshire, UK
- Has thanked: 80 times
- Been thanked: 410 times
Re: The ZombieVerter VCU Project
Are you sure there's not a bench in there too?
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS
-
- Posts: 210
- Joined: Fri Dec 06, 2019 8:59 pm
- Location: Dublin & Kilkenny Ireland
- Has thanked: 2 times
- Been thanked: 13 times
- Contact:
Re: The ZombieVerter VCU Project
Just an update , I tested new .bin above, good news is dashboard can is now working for e65 , and webpage is working better. Bad news is inverter doesn't go into inv mode on and doesn't start high pitched whine. Im investigating if its something to do with inverter relay ,but I was working with old code.Pot values checked and pot nom acting as normal with torque value changing. Will have more time a weekend but I suspect its something down to inverter relay pin out put or something similar.
-
- Posts: 559
- Joined: Mon Feb 24, 2020 8:59 pm
- Location: Ireland
- Has thanked: 377 times
- Been thanked: 80 times
Re: The ZombieVerter VCU Project
When you're testing, have a check if the inverter comes on in the webpage (relay comes on) at the 'ignition on' signal and just before the 'start' signal, then turns back off when start signal applied!paaa wrote: ↑Mon Jul 11, 2022 10:42 pm Just an update , I tested new .bin above, good news is dashboard can is now working for e65 , and webpage is working better. Bad news is inverter doesn't go into inv mode on and doesn't start high pitched whine. Im investigating if its something to do with inverter relay ,but I was working with old code.Pot values checked and pot nom acting as normal with torque value changing. Will have more time a weekend but I suspect its something down to inverter relay pin out put or something similar.
-
- Posts: 210
- Joined: Fri Dec 06, 2019 8:59 pm
- Location: Dublin & Kilkenny Ireland
- Has thanked: 2 times
- Been thanked: 13 times
- Contact:
Re: The ZombieVerter VCU Project
Will do I assume it's something like this as first time inverter hasn't made the whine noise yet.nkiernan wrote: ↑Tue Jul 12, 2022 7:19 amWhen you're testing, have a check if the inverter comes on in the webpage (relay comes on) at the 'ignition on' signal and just before the 'start' signal, then turns back off when start signal applied!paaa wrote: ↑Mon Jul 11, 2022 10:42 pm Just an update , I tested new .bin above, good news is dashboard can is now working for e65 , and webpage is working better. Bad news is inverter doesn't go into inv mode on and doesn't start high pitched whine. Im investigating if its something to do with inverter relay ,but I was working with old code.Pot values checked and pot nom acting as normal with torque value changing. Will have more time a weekend but I suspect its something down to inverter relay pin out put or something similar.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: The ZombieVerter VCU Project
I have a bench now. And a gs450h system. Also scored a gearbox and inverter from an is300h so these will be coming to a Zombie vcu near you shortly. Next on the agenda is building a dedicated hv junction box with contactors, rig up a dash display and switch panel so all sw and hw functions can be tested on the bench before release.
I'm going to need a hacksaw
-
- Posts: 966
- Joined: Sun Feb 23, 2020 9:24 am
- Location: Northern Ireland
- Has thanked: 363 times
- Been thanked: 218 times
- Contact:
Re: The ZombieVerter VCU Project
Coming together nicely.
You could build a land speed racer on that.
You could build a land speed racer on that.

- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: The ZombieVerter VCU Project
Picked up a GS450h inverter on yesterday's road trip for the sum of 200 euros. Now ready to start the bench setup. IS300h system due wednesday.
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: The ZombieVerter VCU Project
So found one nasty software bug that was stopping the gs450h module from sending a torque request and we have spin :
I'm going to clean this up over the next few days and test in the other cars then do a commit and release and a big long boring video showing how to wire up, test and run the gs450h system. Then is300h fun starts.
I'm going to clean this up over the next few days and test in the other cars then do a commit and release and a big long boring video showing how to wire up, test and run the gs450h system. Then is300h fun starts.
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: The ZombieVerter VCU Project
So the situation is the release code here : https://github.com/damienmaguire/Stm32- ... tag/1.00.A
works fine with the gs450h system. Compilation from the source has some major bugs so please use the release binary for now until I fix.
works fine with the gs450h system. Compilation from the source has some major bugs so please use the release binary for now until I fix.
I'm going to need a hacksaw
- TheSilverBuick
- Posts: 187
- Joined: Mon Jun 08, 2020 5:01 pm
- Location: Nevada, United States
- Has thanked: 3 times
- Been thanked: 2 times
Re: The ZombieVerter VCU Project
How's the supply chain hardware situation on ZombieVerters? I've been sitting on the fence ordering one for a couple month's knowing some critical components were(are?) back ordered and up to the purchaser to source and assemble. Based on my skill set, I'd prefer ordering one with as complete a board as possible.
(I was going to ask on the patreon video, but figured this may be a question other's have as well =) )
(I was going to ask on the patreon video, but figured this may be a question other's have as well =) )
Need to learn. Starting from the basics.
-
- Posts: 559
- Joined: Mon Feb 24, 2020 8:59 pm
- Location: Ireland
- Has thanked: 377 times
- Been thanked: 80 times
Re: The ZombieVerter VCU Project
Loaded up the binary from the link here and just did a quick test, and happy to report the inverter now whines away and gearbox attempts to rotate (PSU trips out on amps so different battery test tomorrow). I did have to bypass the inverter power relay and connect inverter power direct to 12V (and InvStat stayed off in the web interface) but I'll be checking some wiring tomorrow too. InvUDC etc all reporting ok which I hadn't beforeJack Bauer wrote: ↑Wed Aug 10, 2022 5:53 pm So the situation is the release code here : https://github.com/damienmaguire/Stm32- ... tag/1.00.A
works fine with the gs450h system. Compilation from the source has some major bugs so please use the release binary for now until I fix.