VW Golf GTE Contactor Box

Forum on Volkswagen related hardware, so VW, Audi, Seat, Skoda etc.
User avatar
Bigpie
Posts: 1845
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 89 times
Been thanked: 481 times

VW Golf GTE Contactor Box

Post by Bigpie »

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.

https://github.com/jamiejones85/VW-GTE-ContactorBox
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
User avatar
johu
Site Admin
Posts: 6969
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 455 times
Been thanked: 1771 times
Contact:

Re: VW Golf GTE Contactor Box

Post by johu »

Very neat, these will further reduce wiring
Some say BMWs variant is being hacked as well :)
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
Bigpie
Posts: 1845
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 89 times
Been thanked: 481 times

Re: VW Golf GTE Contactor Box

Post by Bigpie »

Yes, the Irishman is further ahead than me with his BMW box
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
User avatar
snelly
Posts: 74
Joined: Sun Dec 26, 2021 11:54 am
Has thanked: 3 times
Been thanked: 12 times

Re: VW Golf GTE Contactor Box

Post by snelly »

Hi will this mean it might be possible to run the standard GTE pack without removing its controller ?
viewtopic.php?p=55404&hilit=jeep#p55404
User avatar
Bigpie
Posts: 1845
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 89 times
Been thanked: 481 times

Re: VW Golf GTE Contactor Box

Post by Bigpie »

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.
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
Pete9008
Posts: 1801
Joined: Sun Apr 03, 2022 1:57 pm
Has thanked: 102 times
Been thanked: 350 times

Re: VW Golf GTE Contactor Box

Post by Pete9008 »

Nice!

How did you go about figuring out the CAN bus commands?
User avatar
Bigpie
Posts: 1845
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 89 times
Been thanked: 481 times

Re: VW Golf GTE Contactor Box

Post 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.

BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
Mhs
Posts: 63
Joined: Fri Jul 26, 2019 8:06 pm
Location: Bahrain
Has thanked: 262 times
Been thanked: 12 times

Re: VW Golf GTE Contactor Box

Post by Mhs »

Thanks, that's a great step into the right direction!
Can I ask what's the vw part number?
Zombieverter
Outlander rear motor & Inverter
User avatar
snelly
Posts: 74
Joined: Sun Dec 26, 2021 11:54 am
Has thanked: 3 times
Been thanked: 12 times

Re: VW Golf GTE Contactor Box

Post 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.
User avatar
Bigpie
Posts: 1845
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 89 times
Been thanked: 481 times

Re: VW Golf GTE Contactor Box

Post 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?
IMG_20230420_182625647_HDR.jpg
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
User avatar
snelly
Posts: 74
Joined: Sun Dec 26, 2021 11:54 am
Has thanked: 3 times
Been thanked: 12 times

Re: VW Golf GTE Contactor Box

Post by snelly »

IMG_20230331_093859.jpg
User avatar
Bigpie
Posts: 1845
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 89 times
Been thanked: 481 times

Re: VW Golf GTE Contactor Box

Post by Bigpie »

Now able to instruct it to perform an isolation test :D. That was my end goal for this little exercise.
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
Pete9008
Posts: 1801
Joined: Sun Apr 03, 2022 1:57 pm
Has thanked: 102 times
Been thanked: 350 times

Re: VW Golf GTE Contactor Box

Post by Pete9008 »

Bigpie wrote: Sun Apr 30, 2023 2:22 pm Now able to instruct it to perform an isolation test :D. That was my end goal for this little exercise.
Brilliant! Have you figured out how to read the test results too?
User avatar
Bigpie
Posts: 1845
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 89 times
Been thanked: 481 times

Re: VW Golf GTE Contactor Box

Post 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.
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
User avatar
Bigpie
Posts: 1845
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 89 times
Been thanked: 481 times

Re: VW Golf GTE Contactor Box

Post 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.
2Tests.csv
(1.29 MiB) Downloaded 728 times
3IsoTestsNoLossPositiveLossNegativeLoss.csv
(4.77 MiB) Downloaded 720 times
so 0xBA is the main controlling ID. I thought that 0xBB 3rd byte first 4 bits was the feedback, but that's not looking correct from 2Tests.csv

The DBC is a WIP and so shouldn't be taken as gospel at the moment.
VW-ContactorBox.dbc
(1.54 KiB) Downloaded 787 times
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
User avatar
Bigpie
Posts: 1845
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 89 times
Been thanked: 481 times

Re: VW Golf GTE Contactor Box

Post by Bigpie »

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.
Screenshot_2023-05-03_at_2.05.53_pm.png
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?
Attachments
VW-ContactorBox.dbc
(1.77 KiB) Downloaded 715 times
MasterIsolatedNotIsolated.csv
(2.29 MiB) Downloaded 865 times
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
User avatar
Bigpie
Posts: 1845
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 89 times
Been thanked: 481 times

Re: VW Golf GTE Contactor Box

Post by Bigpie »

Screenshot 2023-05-07 at 10.08.33 am.png
Finally got it. After an Iso test a single 0x16A9540C message is sent with the result :D 4th byte along seems to show resistance :D Not sure if the 5th will be HV positive resistance to ground, will need to test further.
Screenshot 2023-05-07 at 10.10.35 am.png
I did 6 tests, 3 first without fault and 3 with a direct short to ground from the HV negative.
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
m.art.y
Posts: 673
Joined: Sat Jun 06, 2020 6:54 pm
Location: UK/EU
Has thanked: 37 times
Been thanked: 36 times

Re: VW Golf GTE Contactor Box

Post 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?
User avatar
Bigpie
Posts: 1845
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 89 times
Been thanked: 481 times

Re: VW Golf GTE Contactor Box

Post 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.

https://docs.rs-online.com/6251/0900766b80e1fbed.pdf
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
Ruudi S
Posts: 101
Joined: Sun Apr 12, 2020 2:02 pm
Location: EU Estonia
Has thanked: 55 times
Been thanked: 32 times
Contact:

Re: VW Golf GTE Contactor Box

Post by Ruudi S »

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.
User avatar
Bigpie
Posts: 1845
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 89 times
Been thanked: 481 times

Re: VW Golf GTE Contactor Box

Post by Bigpie »

No, this is from the internal battery can, it'll not work on the external can.
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
Ruudi S
Posts: 101
Joined: Sun Apr 12, 2020 2:02 pm
Location: EU Estonia
Has thanked: 55 times
Been thanked: 32 times
Contact:

Re: VW Golf GTE Contactor Box

Post 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.
User avatar
Bigpie
Posts: 1845
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 89 times
Been thanked: 481 times

Re: VW Golf GTE Contactor Box

Post 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.
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: VW Golf GTE Contactor Box

Post 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.
Stop asking the same question in multiple topics.

viewtopic.php?p=85103#p85103
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Ruudi S
Posts: 101
Joined: Sun Apr 12, 2020 2:02 pm
Location: EU Estonia
Has thanked: 55 times
Been thanked: 32 times
Contact:

Re: VW Golf GTE Contactor Box

Post by Ruudi S »

snelly wrote: Sun Apr 23, 2023 12:20 pm
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.


Passat GTE battery construction mark.jpg
picture from VAG SSP 550 – The Passat GTE


pinouts that are on the wiki https://openinverter.org/wiki/VW_Hybrid ... s#Golf_GTE don't match with this version.
I wonder where to get that kind of info?
Post Reply