The LandYacht BMW E39 Saloon
- tom91
- Posts: 2295
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 199 times
- Been thanked: 524 times
Re: The LandYacht BMW E39 Saloon
If you just get a micro to send the modules the messages 0x80, 0x81, 0x82, 0x83, 0x84, 0x85
The way as they are in the attached document. Find it weird the PHEV has different canbus message structure then an I3 or I8.
The way as they are in the attached document. Find it weird the PHEV has different canbus message structure then an I3 or I8.
- Attachments
-
Command Messages.xlsx
- (8.86 KiB) Downloaded 361 times
-
- Posts: 55
- Joined: Tue Jan 21, 2020 7:58 pm
- Location: Cumbria, UK
- Has thanked: 1 time
- Been thanked: 2 times
Re: The LandYacht BMW E39 Saloon
Hi,
If you connect to the main connector on the battery pack you should be able to comunicate by can to the HV realys and the BMS system. ( if you can work out what can messages to use)?
The 740e may be differant but on the 330e they are:-
Connector A332*1B
1 Supply terminal 30 red
2 High voltage interlock loop signal Green
3 Terminal 30C signal red
4 not used
5 not used
6 wake up signal terminal 15 yellow
7 not used
8 not used
9 not used
10 Supply refrigerant shut off valve Blue/ purple
11 activation refrigerant shut off valve Blue/ black
12 ground black
13 PT CAN2 bus Brown
14 PT CAN2 bus Yellow
15 PT CAN2 bus Brown
16 PT CAN2 bus Yellow
17 not used
18 not used
19 not used
20 not used
21 not used
22 not used
23 High voltage inter lock loop Green/red
Regards
Andrew
If you connect to the main connector on the battery pack you should be able to comunicate by can to the HV realys and the BMS system. ( if you can work out what can messages to use)?
The 740e may be differant but on the 330e they are:-
Connector A332*1B
1 Supply terminal 30 red
2 High voltage interlock loop signal Green
3 Terminal 30C signal red
4 not used
5 not used
6 wake up signal terminal 15 yellow
7 not used
8 not used
9 not used
10 Supply refrigerant shut off valve Blue/ purple
11 activation refrigerant shut off valve Blue/ black
12 ground black
13 PT CAN2 bus Brown
14 PT CAN2 bus Yellow
15 PT CAN2 bus Brown
16 PT CAN2 bus Yellow
17 not used
18 not used
19 not used
20 not used
21 not used
22 not used
23 High voltage inter lock loop Green/red
Regards
Andrew
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 276 times
- Contact:
Re: The LandYacht BMW E39 Saloon
This will have to be a photo update. Too tired to type
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: 276 times
- Contact:
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 276 times
- Contact:
Re: The LandYacht BMW E39 Saloon
Siemens motor now spinning in the E39 using the Prius Gen 3 MG2 power stage.
So of course I selected 5th gear, pulled on the brakes and wound on the power. MG2 shuts down at 500amps peak. That's around 350amps rms. Even in 5th with a 530d drivetrain, brakes on and the wheels chocked she was creeping forward.
So of course I selected 5th gear, pulled on the brakes and wound on the power. MG2 shuts down at 500amps peak. That's around 350amps rms. Even in 5th with a 530d drivetrain, brakes on and the wheels chocked she was creeping forward.
I'm going to need a hacksaw
- mdrobnak
- Posts: 692
- Joined: Thu Mar 05, 2020 5:08 pm
- Location: Colorado, United States
- Has thanked: 1 time
- Been thanked: 5 times
Re: The LandYacht BMW E39 Saloon
Nice!
How do you end up figuring out the max safe Amps to set for the long term? Watching temperatures? 500 Amps is fun, but only if you can do it more than once.
-Matt
How do you end up figuring out the max safe Amps to set for the long term? Watching temperatures? 500 Amps is fun, but only if you can do it more than once.

-Matt
-
- Posts: 656
- Joined: Sat Oct 05, 2019 6:50 pm
- Location: Northern California, USA
- Been thanked: 2 times
- Contact:
Re: The LandYacht BMW E39 Saloon
140kw of pure torque... Nice!
I'm almost ready to run my Siemens motor, could you share your parameters when it's convenient for you? I have no experience with tuning induction motors and I'd like to have a baseline
Thanks!
-Isaac
I'm almost ready to run my Siemens motor, could you share your parameters when it's convenient for you? I have no experience with tuning induction motors and I'd like to have a baseline

Thanks!
-Isaac
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 276 times
- Contact:
Re: The LandYacht BMW E39 Saloon
Params attached. Very early stage of tuning.
In other news got the Tesla charger and V5 logic board running today. Seems to be a few bugs in the code still but with an actual charger running in a car will make it easier to hunt down.
In other news got the Tesla charger and V5 logic board running today. Seems to be a few bugs in the code still but with an actual charger running in a car will make it easier to hunt down.
- Attachments
-
- params_run_1june.json
- (1.4 KiB) Downloaded 376 times
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: 276 times
- Contact:
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 276 times
- Contact:
Re: The LandYacht BMW E39 Saloon
Drove 18 miles today mostly around town but some 60mph sections. Absolutely no problems and inverter stone cold after the drive. I have the temp gauge driven by the mg2 temp sensor over can with around 50c as the top of the "red" zone. It gets up there when using very low throttle say pullling out of a junction but as soon as you give it some pedal the temp drops right back. It also drops back very fast on release of throttle. When cruising at 60mph and using around 10kw it stays in the blue. Next up will be a motorway drive.
I'm going to need a hacksaw
- SciroccoEV
- Posts: 370
- Joined: Thu Oct 10, 2019 1:50 pm
- Location: Luton UK
- Been thanked: 15 times
Re: The LandYacht BMW E39 Saloon
How is the single string of modules holding up under load and what sort of range are you estimating from the 9Kwh pack?
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 276 times
- Contact:
Re: The LandYacht BMW E39 Saloon
Battery is having no problems so far. 11mv max difference in the cell voltages after the drive. No idea on range as yet but I've just done a day of errands including hauling 2 huge wheels from the deranged rover to get tyres so I really don't care 

I'm going to need a hacksaw
- mdrobnak
- Posts: 692
- Joined: Thu Mar 05, 2020 5:08 pm
- Location: Colorado, United States
- Has thanked: 1 time
- Been thanked: 5 times
Re: The LandYacht BMW E39 Saloon
Hah, definitely understand not caring after a day of errands.Jack Bauer wrote: ↑Tue Jun 30, 2020 7:08 pm Battery is having no problems so far. 11mv max difference in the cell voltages after the drive. No idea on range as yet but I've just done a day of errands including hauling 2 huge wheels from the deranged rover to get tyres so I really don't care![]()

I also am interested in what kind of current and range you are getting out of those batteries. May be cheaper for my hybrid project.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 276 times
- Contact:
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 276 times
- Contact:
Re: The LandYacht BMW E39 Saloon
Bit more driving around this morning in the E39. Did a few acceleratoins with measured 70kw on the battery side. No problems. Got one desat event when I tried to be a hero and pull away in 4th. Restarted and drove away in 3rd. Looking very promising so far.
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 LandYacht BMW E39 Saloon
Dumb guy question, what is a desat event? Does the shut down fully protect the hardware?
Sounds like over current and circuit breaker tripping from the high gear load but I really don't know
Sounds like over current and circuit breaker tripping from the high gear load but I really don't know
Need to learn. Starting from the basics.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 276 times
- Contact:
Re: The LandYacht BMW E39 Saloon
desat is short for desaturation detection. Basically the inverter detects the onset of an overcurrent event and shuts down before any damage can result. Here is a more thougough explanation :
https://www.analog.com/en/technical-art ... rives.html
https://www.analog.com/en/technical-art ... rives.html
I'm going to need a hacksaw
Re: The LandYacht BMW E39 Saloon
Thanks for that, it was fascinating reading!Jack Bauer wrote: ↑Thu Jul 02, 2020 2:46 pm desat is short for desaturation detection. Basically the inverter detects the onset of an overcurrent event and shuts down before any damage can result. Here is a more thougough explanation :
https://www.analog.com/en/technical-art ... rives.html
Gary
- 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 LandYacht BMW E39 Saloon
x2, thank you for the link! Gives me a better understanding of what the input parameters are impacting.
Need to learn. Starting from the basics.
Re: The LandYacht BMW E39 Saloon
Looking good!
Any feeling on how the modules are doing temperature wise without the refrigerant?

- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 276 times
- Contact:
Re: The LandYacht BMW E39 Saloon
22c on the modules after the long spin. Ambient about 18c.
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: 276 times
- Contact:
Re: The LandYacht BMW E39 Saloon
Took the E39 out on the motorway today for a little over 10 miles. Cruised at 70-75mph , 4th gear, 4500rpm. 12kw for level road raising to 33kw for a steep hill for little under a minute. while holding speed on the hill the mg2 die temp raised to 45c. Level cruise 30c approx. Peaked at 76kw accelerating out on the slip road. No desat events. I'll shoot some video when I get a chance.
So, its looking increasing like the Gen 3 Prius MG2 power stage is indeed capable of propelling a road vehicle. Once I get the firmware for the V5 tesla charger board working properly I'll pull the tesla charger and set up mg1 and some contactors for battery charging.
So, its looking increasing like the Gen 3 Prius MG2 power stage is indeed capable of propelling a road vehicle. Once I get the firmware for the V5 tesla charger board working properly I'll pull the tesla charger and set up mg1 and some contactors for battery charging.
I'm going to need a hacksaw