I've been taking a look at the contactor box inside the GTE battery some more and now have control over the main contactors and precharge over can bus. I've not yet worked out the feedback from it fully, but will update as i learn more.
That's a Passat GTE pack, but this is just controlling the contactor box from the internal can bus network. It doesn't at the moment work with Passat Contactor Boxes.
By Controller you mean the BMS master?
I know some of the messages the battery packs send to the external can buses but haven't tried to control them from the outside, I no longer have easy access to a pack wired with all the modules, BMS master and contactor box to play with. I may revisit in the future but at the moment I'm concentrating on the internal can bus and this EBOX as VW seem to call it.
Re: VW Golf GTE Contactor Box
Posted: Sat Apr 22, 2023 6:14 pm
by Pete9008
Nice!
How did you go about figuring out the CAN bus commands?
Re: VW Golf GTE Contactor Box
Posted: Sat Apr 22, 2023 8:01 pm
by Bigpie
Bit long winded, but Dom logged his car on charge, I played this log to a battery pack and recorded the inner can bus.
Then with this inner can bus log, I played it back at the contactor box, and it clicked the precharge and a contactor then it opened the again immediately but that was enough to know somewhere in there was the command to close at least one of them. So then selectively replayed ID's until I'd got it down to what was required. The chopped the log further to get a smaller list of messages.
Then I used the tool by Crasbe to get the VW magic byte and wrote an Arduino sketch that would put the counter in and calculate the correct CRC value. Using the logs I'd narrowed down the bits required for one contactor and then the precharge relay then just started flipping bits until the other contactor closed too.
The feedback messages are another task in taking an action and looking for patterns and changes.
Re: VW Golf GTE Contactor Box
Posted: Sun Apr 23, 2023 11:17 am
by Mhs
Thanks, that's a great step into the right direction!
Can I ask what's the vw part number?
Re: VW Golf GTE Contactor Box
Posted: Sun Apr 23, 2023 11:21 am
by snelly
Great work, yes my pack has a lot more ic's on which would be BMS and Contactor Control, can see lot more work reverse engineering it.
My background is in electronics' is not in programming micros so will use a PLC to control contactors and Simbms cell balancing.
doing all the hardware and wire first.
Re: VW Golf GTE Contactor Box
Posted: Sun Apr 23, 2023 11:29 am
by Bigpie
Mhs wrote: ↑Sun Apr 23, 2023 11:17 am
Thanks, that's a great step into the right direction!
Can I ask what's the vw part number?
Re: VW Golf GTE Contactor Box
Posted: Sun Apr 23, 2023 12:20 pm
by snelly
Re: VW Golf GTE Contactor Box
Posted: Sun Apr 30, 2023 2:22 pm
by Bigpie
Now able to instruct it to perform an isolation test . That was my end goal for this little exercise.
Re: VW Golf GTE Contactor Box
Posted: Mon May 01, 2023 7:33 pm
by Pete9008
Bigpie wrote: ↑Sun Apr 30, 2023 2:22 pm
Now able to instruct it to perform an isolation test . That was my end goal for this little exercise.
Brilliant! Have you figured out how to read the test results too?
Re: VW Golf GTE Contactor Box
Posted: Tue May 02, 2023 5:44 am
by Bigpie
I thought I did, but not 100% now. Need to look again.
With my code, when I request a test with an ammeter between HV and the ring terminal I get a small current for a few seconds so pretty confident it's doing a test.
Re: VW Golf GTE Contactor Box
Posted: Tue May 02, 2023 8:22 am
by Bigpie
Heres a couple of can logs if anyone whats a poke around. One log has 2 tests taking place, first one without loss of isolation and second with. The other has 3 tests, no loss, loss from positive HV and loss from negative HV.
Right, here's another test, if 0x97 is coming from the BMS master, you can see from this plot, it does 2 tests, and after the second test the isolation error flag is set.
What I'm looking for is how the BMS master knows to set this flag from the messages coming from the Contactor Box, IDs: 0xBB, 0x15b, 0x16a95419, 0x18fed002, 0x18fed003, 0x18fed004, 0x18fed005, 0x18fed006, 0x18fed007, 0x18fed008, 0x18fed009, 0x18fed00A and 0x1a55545f
Nothing is jumping out to inform the master that there's an isolation issue. Any one fancy taking a look?
Re: VW Golf GTE Contactor Box
Posted: Sun May 07, 2023 9:11 am
by Bigpie
Finally got it. After an Iso test a single 0x16A9540C message is sent with the result 4th byte along seems to show resistance Not sure if the 5th will be HV positive resistance to ground, will need to test further.
I did 6 tests, 3 first without fault and 3 with a direct short to ground from the HV negative.
Re: VW Golf GTE Contactor Box
Posted: Thu Jan 11, 2024 9:44 am
by m.art.y
Hi, thanks for integrating this into the Zombie. The shunt also works? Wonder what kind of amperage the shunt and the contactors would handle?
Re: VW Golf GTE Contactor Box
Posted: Thu Jan 11, 2024 10:23 am
by Bigpie
The isolation monitoring isn't in Zombie, just FYI. I'm not sure what what they can handle, I only found the commands to close the contactors and do the isolation test, Damien did the other bits, so I'm not sure about the shunt. I think the contactors are rated 120A continuous/ 225A for 3 min / 400a for 30 seconds.
I tried the code for controlling the contactors from CAN lines outside the pack, but nothing happened. Does it even work like that? Do I have to get inside of the pack on internal CAN to make it work?
I think there might be that Škoda Octavia IV has other CAN commands.
Re: VW Golf GTE Contactor Box
Posted: Sat Aug 16, 2025 6:45 am
by Bigpie
No, this is from the internal battery can, it'll not work on the external can.
Re: VW Golf GTE Contactor Box
Posted: Sat Aug 16, 2025 7:45 am
by Ruudi S
Bigpie wrote: ↑Sat Aug 16, 2025 6:45 am
No, this is from the internal battery can, it'll not work on the external can.
Thank you for clarifying that! Why doesn't it work on external CAN? What to do, to get it working?
Why doesn't the Zombieverter control thru external CAN communications?
Right now I am thinking of opening the pack and adding Nissan Leaf contactor box to control the precharge and switching.
Re: VW Golf GTE Contactor Box
Posted: Sat Aug 16, 2025 8:01 am
by Bigpie
They are controlled by the BMS master inside the pack, that can bus isn't exposed externally. You'd either need to find the messages required to get the BMS to close the contactors on the external can or open it up and get on the internal can.
I do not have a GTE pack anymore so this isn't something I can help with, but there's logs on github from a Golf GTE should you wish to investigate. As mentioned above, replaying the log did get the BMS to close the contactors.
Re: VW Golf GTE Contactor Box
Posted: Sat Aug 16, 2025 11:21 am
by tom91
Ruudi S wrote: ↑Sat Aug 16, 2025 7:45 am
Thank you for clarifying that! Why doesn't it work on external CAN? What to do, to get it working?
Why doesn't the Zombieverter control thru external CAN communications?
Right now I am thinking of opening the pack and adding Nissan Leaf contactor box to control the precharge and switching.
I have the same control unit with code 5WA915183B from Škoda Octavia IV PHEV (battery manufactured 2020)
Seems like control units J840 Battery Regulation Control Unit and J497 Module Monitor Control Unit
are integrated into one control unit under the contactor box so called ebox
my battery doesn't have this separate control unit marked with red circle. I think that all of them are integrated into one unit now.