How to not kill a tesla drive unit
- Bigpie
- Posts: 1757
- Joined: Wed Apr 10, 2019 8:11 pm
- Location: South Yorkshire, UK
- Has thanked: 80 times
- Been thanked: 410 times
How to not kill a tesla drive unit
There's been a few dead drive units lately so Damien has made a video, watch it before trying out your drive unit to avoid an expensive error.
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
- 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: How to not kill a tesla drive unit
Just added Damiens video to the Electronics Basics wiki page and also described how to check a power stage. If anyone asks, just link here: https://openinverter.org/wiki/Electronics_Basics
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 1052
- Joined: Tue Sep 17, 2019 8:33 pm
- Location: Raleigh, NC, USA
- Has thanked: 223 times
- Been thanked: 257 times
Re: How to not kill a tesla drive unit
The video was exceptionally helpful in that regard.johu wrote: ↑Wed Jul 26, 2023 8:52 am Just added Damiens video to the Electronics Basics wiki page and also described how to check a power stage. If anyone asks, just link here: https://openinverter.org/wiki/Electronics_Basics
If at first you don't succeed, buy a bigger hammer.
1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed Hot Rod Drag Week 2023 and 2024
https://www.youtube.com/@MangelsdorfSpeed
1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed Hot Rod Drag Week 2023 and 2024
https://www.youtube.com/@MangelsdorfSpeed
-
- Posts: 54
- Joined: Thu May 25, 2023 8:33 pm
- Location: Santa Cruz, CA
- Has thanked: 3 times
- Been thanked: 21 times
Re: How to not kill a tesla drive unit
I took some comprehensive notes on this video because I want to make sure the information is as accessible as possible as I believe it is critically important to understand every part of this when using an LDU for a conversion.
https://docs.google.com/document/d/1jCw ... sp=sharing
I also typed out some chapters for the YouTube video. This will help a long but informative video be much easier to navigate if someone can get these to Damien so he can put them in the description. All he has to do is copy and paste this into the description of the video and the chapters will show up when scrubbing through.
00:00:00 Intro
00:08:22 Test main busbars (H.V. in) on DU with multimeter
00:10:10 Flip multimeter polarity and test busbars again
00:11:07 What do we NOT want to see?
00:11:48 More multimeter tests
00:14:21 Explanation of tests
00:15:25 12v test logic board
00:16:00 12v power in
00:16:51 Application of 12v power
00:17:43 Soldering the board connectors
00:19:73 Flux application
00:21:50 Soldering starts
00:28:37 Checking solder
00:30:29 Second 12v test to ensure proper function
00:33:22 Installation of logic board in drive unit
00:35:46 Encoder test intro
00:36:39 Parameters check
00:39:03 Getting into RunMode
00:40:23 Plotting speed values
00:42:55 Spot value check
00:44:52 Spin test setup
00:48:24 Power supply startup
00:50:33 Spinning the drive unit/mistake
00:52:08 What’s inside a drive unit/how does it work?
00:59:12 How an OVERCURRENT error happens
01:11:46 How to prevent OVERCURRENT during testing
01:16:23 How to prevent OVERCURRENT during driving
01:22:45 Outro
https://docs.google.com/document/d/1jCw ... sp=sharing
I also typed out some chapters for the YouTube video. This will help a long but informative video be much easier to navigate if someone can get these to Damien so he can put them in the description. All he has to do is copy and paste this into the description of the video and the chapters will show up when scrubbing through.
00:00:00 Intro
00:08:22 Test main busbars (H.V. in) on DU with multimeter
00:10:10 Flip multimeter polarity and test busbars again
00:11:07 What do we NOT want to see?
00:11:48 More multimeter tests
00:14:21 Explanation of tests
00:15:25 12v test logic board
00:16:00 12v power in
00:16:51 Application of 12v power
00:17:43 Soldering the board connectors
00:19:73 Flux application
00:21:50 Soldering starts
00:28:37 Checking solder
00:30:29 Second 12v test to ensure proper function
00:33:22 Installation of logic board in drive unit
00:35:46 Encoder test intro
00:36:39 Parameters check
00:39:03 Getting into RunMode
00:40:23 Plotting speed values
00:42:55 Spot value check
00:44:52 Spin test setup
00:48:24 Power supply startup
00:50:33 Spinning the drive unit/mistake
00:52:08 What’s inside a drive unit/how does it work?
00:59:12 How an OVERCURRENT error happens
01:11:46 How to prevent OVERCURRENT during testing
01:16:23 How to prevent OVERCURRENT during driving
01:22:45 Outro
- Bigpie
- Posts: 1757
- Joined: Wed Apr 10, 2019 8:11 pm
- Location: South Yorkshire, UK
- Has thanked: 80 times
- Been thanked: 410 times
Re: How to not kill a tesla drive unit
I've given him the heads up about the timestamps
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: 45
- Joined: Mon Sep 20, 2021 8:09 pm
- Has thanked: 4 times
- Been thanked: 5 times
Re: How to not kill a tesla drive unit
guys,
A newbie here, In a few days I'll soldering my SDU board and start testing as described by Damien in the video and summarized by @ekohn04 (kudos to him as well)
So while I'm doing the testing is clear to me how to protect the transistors....sorry about my ignorance in this one... but how this gets protected when everything is fine and dandy...for example when turning off the car using the "ignition switch"
A newbie here, In a few days I'll soldering my SDU board and start testing as described by Damien in the video and summarized by @ekohn04 (kudos to him as well)
So while I'm doing the testing is clear to me how to protect the transistors....sorry about my ignorance in this one... but how this gets protected when everything is fine and dandy...for example when turning off the car using the "ignition switch"
- 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: How to not kill a tesla drive unit
I want to ask at this spot, how many people have killed their drive unit after it had been working fine for a while? Most of all mid-drive would be interesting.
One German customer has lost drive after it worked fine for 40.000 km and apparently he's not the only one.
One German customer has lost drive after it worked fine for 40.000 km and apparently he's not the only one.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- catphish
- Posts: 959
- Joined: Fri Oct 08, 2021 11:02 pm
- Location: Dorset, UK
- Has thanked: 96 times
- Been thanked: 188 times
Re: How to not kill a tesla drive unit
That's a shame. Do you know the the nature of these failures, just randomly fried IGBTs?
-
- Posts: 1052
- Joined: Tue Sep 17, 2019 8:33 pm
- Location: Raleigh, NC, USA
- Has thanked: 223 times
- Been thanked: 257 times
Re: How to not kill a tesla drive unit
I've beaten the shit out of mine and not broken the inverter yet. I've broken axles, motor mounts, mounting tabs, etc, but it seems the inverter is robust, even though it has the (much discussed) weird WOT OC error issue.johu wrote: ↑Sat Nov 25, 2023 9:32 am I want to ask at this spot, how many people have killed their drive unit after it had been working fine for a while? Most of all mid-drive would be interesting.
One German customer has lost drive after it worked fine for 40.000 km and apparently he's not the only one.
I do know of at least two LDUs with blown gearsets. Jon Volk broke his, and I bought a sport LDU with a bad gear set that was broken in a stock P85. I have heard rumblings that this is more common than is often discussed.
I would hazard a guess that failures mid-drive are gears, tune, or lost 12V. I did experience a loss of 12V shutting the car off (DC-DC had failed to turn on) and even then, the car stopped safely and restarted once the 12V battery was back up. Essentially as the 12V voltage dropped, it managed to safely shut itself down. I could see how a sudden loss of 12V could drop contactors and cause a failure though.
I also had a weird gremlin that took forever to figure out where my hazard lights / 4 way flashers were triggering the brake light input, causing very concerning behavior.
If at first you don't succeed, buy a bigger hammer.
1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed Hot Rod Drag Week 2023 and 2024
https://www.youtube.com/@MangelsdorfSpeed
1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed Hot Rod Drag Week 2023 and 2024
https://www.youtube.com/@MangelsdorfSpeed
- 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: How to not kill a tesla drive unit
He was driving 100 kph on cruise control and then lost drive.
Afterwards the bad old "turn on - see OVERCURRENT message". He did measure the IGBTs and apart from not showing any bubbles or magic debris they also measure ok. So the gate driver board gone faulty?
Right, I reckon that rules out my first suspect: the deadtime. It sits at its default of 63 or ~1us for the LDU which could indicate it was never tuned to fit. But I guess that would have shown earlier, or would it?P.S.Mangelsdorf wrote: ↑Sat Nov 25, 2023 3:19 pm I've beaten the shit out of mine and not broken the inverter yet. I've broken axles, motor mounts, mounting tabs, etc, but it seems the inverter is robust, even though it has the (much discussed) weird WOT OC error issue.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- mane2
- Posts: 239
- Joined: Fri Jan 13, 2023 6:32 am
- Location: Finland
- Has thanked: 39 times
- Been thanked: 35 times
Re: How to not kill a tesla drive unit
I broke my first one, but it was my mistake due opening contactor while regen. Second inverter is still on shelf as it got wet and LDU leaked from both ends. Third motor is in, but throwing now constant OC while phases measure ok. Changing the OI board to V6 this week, an'd well see if the OC error continues. Might be old OI board gone bad with first failure and current spike, so these do not really match the mid-drive error.
-
- Posts: 1052
- Joined: Tue Sep 17, 2019 8:33 pm
- Location: Raleigh, NC, USA
- Has thanked: 223 times
- Been thanked: 257 times
Re: How to not kill a tesla drive unit
I'd defer to your expertise on whether that would matter, but I don't believe anyone has tried tuning that parameter. All of the example sets I have saved show it at 63. What would be the benefit/danger to changing that?
If at first you don't succeed, buy a bigger hammer.
1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed Hot Rod Drag Week 2023 and 2024
https://www.youtube.com/@MangelsdorfSpeed
1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed Hot Rod Drag Week 2023 and 2024
https://www.youtube.com/@MangelsdorfSpeed
- 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: How to not kill a tesla drive unit
Setting it too low means high current flows across the phase legs and potentially destroys it. So I certainly wouldn't advise a lower value. Setting it higher means you loose some output voltage and with it some performance.P.S.Mangelsdorf wrote: ↑Mon Nov 27, 2023 1:40 pm I'd defer to your expertise on whether that would matter, but I don't believe anyone has tried tuning that parameter. All of the example sets I have saved show it at 63. What would be the benefit/danger to changing that?
I always tuned it by diminishing returns with a current limited power supply. Start at a low value (say 30) and observe the input current with no motor connected and the inverter idling in manual mode or something (it just needs to run the PWM). You should then observe that the input current becomes smaller as you increase deadtime. There will always be some residual current (say, 50 mA) that you can't get rid off even with the highest deadtime setting. So you're tuning for the point where only that is left.
Thing to note: deadtime is only changed on starting the inverter. So when tuning
1. Change value
2. Start
3. Test
4. Stop
5. back to 1
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 569
- Joined: Mon Jul 03, 2023 3:17 pm
- Location: CT, central shoreline, USA
- Has thanked: 201 times
- Been thanked: 165 times
Re: How to not kill a tesla drive unit
Temperature & current (voltage & rpm too?) will all change the dead time.
https://www.infineon.com/dgdl/Infineon- ... aefc41005b
Would it make sense to use a very sensitive current sensor to tune these and modifiers?
https://www.infineon.com/dgdl/Infineon- ... aefc41005b
Would it make sense to use a very sensitive current sensor to tune these and modifiers?
- 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: How to not kill a tesla drive unit
Thanks for posting, was new to me.
Fortunately and surprisingly more current means quicker turn-off or less dead time requirement. So what is being tuned at no-load is already worst case. Only temperature is indeed not taken into account, so a safety margin should be added (in their example 20% for 125°C vs. 25°C)
Fortunately and surprisingly more current means quicker turn-off or less dead time requirement. So what is being tuned at no-load is already worst case. Only temperature is indeed not taken into account, so a safety margin should be added (in their example 20% for 125°C vs. 25°C)
The display of even a cheap lab supply is the right order of magnitude
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 569
- Joined: Mon Jul 03, 2023 3:17 pm
- Location: CT, central shoreline, USA
- Has thanked: 201 times
- Been thanked: 165 times
Re: How to not kill a tesla drive unit
I wasn't very clear, meant an in the vehicle sensor to monitor 0 accel to low motor current to watch current at pack voltage. I didn't mean extreme resolution, just a decent resolution in the low amperage window to watch this (not just say a 1000A shunt giving vague low current info.)
I suppose the big shunt could then be used to tune dead time at different currents in the useful measurable range under some to full load.
Temperature could be fine tuned as well by purposely heating components up / keeping the coolant fan off below the target temp.
Re: How to not kill a tesla drive unit
Hi Everyone, I have spent extensive time developing 3 phase inverters.johu wrote: ↑Mon Nov 27, 2023 2:06 pm Setting it too low means high current flows across the phase legs and potentially destroys it. So I certainly wouldn't advise a lower value. Setting it higher means you loose some output voltage and with it some performance.
I always tuned it by diminishing returns with a current limited power supply. Start at a low value (say 30) and observe the input current with no motor connected and the inverter idling in manual mode or something (it just needs to run the PWM). You should then observe that the input current becomes smaller as you increase deadtime. There will always be some residual current (say, 50 mA) that you can't get rid off even with the highest deadtime setting. So you're tuning for the point where only that is left.
Thing to note: deadtime is only changed on starting the inverter. So when tuning
1. Change value
2. Start
3. Test
4. Stop
5. back to 1
I feel its needed to comment on the dead time settings.
Dead time is not to be adjusted after setting it the 1 time.
And Dead time is to be set to worst case for all components involved.
So dead time is set as you add up all the longest off times of all components and compare that to all the fastest on times of all components.
So when you have the IGBTs (or what ever power switches used) in the Hi and Low side of 1 phase you are looking to prevent having both of them be in the on state at the same time.
What you start with is the main IC that sends the PWM Look at the fastest on time subtracted from the slowest off time
Next you add all items in the series from the Main IC to the IGBT it self. So it might look as follows
Note: these are all made up example numbers just to show how you do it.
IC slowest off (20ns) - fastest on (10 ns) = 10ns
Optic isolators (if used) Slowest off (30 ns) - fastest on (10ns) = 20ns
IGBT drivers Slowest off (150ns) - Fastest on (50ns) = 100ns
IGBT (or what ever powerswitch used) Slowest off (1200 ns) - fastest on (300ns) = 900 ns
So that would look like 10ns + 20ns + 100ns + 900ns = 1030ns or 1.03uS
There might be more components in the series. So you need to add worst case of any other components as well
When we talk worst case you need to look at the data sheet and see for all temperature and currents what is the worst case for both the fastest and slowest at all temperatures and all currents.
If we know all the component part numbers I would be happy to do this based on the data sheets.
I will also comment IGBTs are usually quite slow. 1uS dead time is likely too short or just on the edge of what is ok.
My first inverter using Fuji IGBT moduals and good gate drivers needed 2uS dead time for instance.
-Arlin
-
- Posts: 3557
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 133 times
- Been thanked: 331 times
- Contact:
Re: How to not kill a tesla drive unit
Nice to see you here Arlin.Arlin wrote: ↑Sat Mar 23, 2024 7:21 pm Hi Everyone, I have spent extensive time developing 3 phase inverters.
.....
I will also comment IGBTs are usually quite slow. 1uS dead time is likely too short or just on the edge of what is ok.
My first inverter using Fuji IGBT moduals and good gate drivers needed 2uS dead time for instance.
-Arlin
I must chime in to agree with your experience. I would even go further than 2us dead time.
I use Volt inverter with MBB600 IGBT modules viewtopic.php?p=9791#p9791
While i could set deadtime for 2.6us according to this calculus here: https://www.infineon.com/dgdl/Infineon- ... aefc41005b
In the beginning i erroneously used 1.8us which resulted in very sharp torque delivery, but it also resulted in two dead IGBTs despite desat sensing. Allways happened with the car driveoff. Probably because of high amps demand...
Then i read the article from Infineon and it seemed calculus should be 2.2us in best case but like Arlin said i couldnt exactly determine driver delay.
I decided to stretch this a bit to 3us on a safe side and it worked great so far.
Re: How to not kill a tesla drive unit
Yeah 2uS ended up being the calculation for my first High Power inverter.arber333 wrote: ↑Sat Mar 23, 2024 8:07 pm Nice to see you here Arlin.
I must chime in to agree with your experience. I would even go further than 2us dead time.
I use Volt inverter with MBB600 IGBT modules viewtopic.php?p=9791#p9791
While i could set deadtime for 2.6us according to this calculus here: https://www.infineon.com/dgdl/Infineon- ... aefc41005b
In the beginning i erroneously used 1.8us which resulted in very sharp torque delivery, but it also resulted in two dead IGBTs despite desat sensing. Allways happened with the car driveoff. Probably because of high amps demand...
Then i read the article from Infineon and it seemed calculus should be 2.2us in best case but like Arlin said i couldnt exactly determine driver delay.
I decided to stretch this a bit to 3us on a safe side and it worked great so far.
- 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: How to not kill a tesla drive unit
Arlin is here!
Found in the teardown thread, IGBT is AUPS4067D1-B . t_off (@4R7) 230us, t_on 60us.
Driver 1ED020I12
Not sure what is important here. Propagation delay is about 190ns . Rise and fall time is gate capacity dependent. Not sure if "input capacitance" is the gate capacity? If so it would be 7.7nF. Since it is 16 gates 123 nF. The data sheet only has rise and fall times for 34 nF, so we're into the unknown. At 34 nF t_rise(min) is 200 ns and t_fall(max) 600 ns.
Found in the teardown thread, IGBT is AUPS4067D1-B . t_off (@4R7) 230us, t_on 60us.
Driver 1ED020I12
Not sure what is important here. Propagation delay is about 190ns . Rise and fall time is gate capacity dependent. Not sure if "input capacitance" is the gate capacity? If so it would be 7.7nF. Since it is 16 gates 123 nF. The data sheet only has rise and fall times for 34 nF, so we're into the unknown. At 34 nF t_rise(min) is 200 ns and t_fall(max) 600 ns.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: How to not kill a tesla drive unit
I previously suffered an LDU failure in low voltage bench testing which I assume is due to the exact reason that Damien explains in the video.
Damien explains at the end of this video how to avoid the same overcurrent failure during driving, i.e by setting trip mode so that the contactors stay closed allowing current flow back to batteries. This obviously only works if the contactors are being controlled by the LDU...
In my case I have contactors controlled by zero ev ccs contactor controller which is switched on and off with the ignition key. If I am interpreting Damien's video correctly if for some reason the ignition was switched off while the vehicle was driving (the ignition key is relatively close to drivers knee), the contactors would open and likely inverter failure would occur.
Am I interpreting this correctly? I have the car finally finished and working well and I'd hate to think that a trivial 12v failure would destroy the inverter
Thanks
Damien explains at the end of this video how to avoid the same overcurrent failure during driving, i.e by setting trip mode so that the contactors stay closed allowing current flow back to batteries. This obviously only works if the contactors are being controlled by the LDU...
In my case I have contactors controlled by zero ev ccs contactor controller which is switched on and off with the ignition key. If I am interpreting Damien's video correctly if for some reason the ignition was switched off while the vehicle was driving (the ignition key is relatively close to drivers knee), the contactors would open and likely inverter failure would occur.
Am I interpreting this correctly? I have the car finally finished and working well and I'd hate to think that a trivial 12v failure would destroy the inverter
Thanks
- 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: How to not kill a tesla drive unit
I have never tested what drops out first, gate drive/logic power or the contactors.
Contactors usually stick down to 2V while the gate drivers would cut out much sooner, maybe 9 V. Without them working the drive unit is basically in neutral and wouldn't be damaged. Theoretically.
Practically I have killed ignition to an over-revving Leaf drive stack and it survived. But their protection seems superior to Teslas, so not sure what actually saved the day
Contactors usually stick down to 2V while the gate drivers would cut out much sooner, maybe 9 V. Without them working the drive unit is basically in neutral and wouldn't be damaged. Theoretically.
Practically I have killed ignition to an over-revving Leaf drive stack and it survived. But their protection seems superior to Teslas, so not sure what actually saved the day
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: How to not kill a tesla drive unit
If I understand correctly, the Tripmode function can be used to keep either the precharge or positive contactor closed in the event of failure. Presumably then this does nothing if the logic board is not being used to control the contactors?
- mane2
- Posts: 239
- Joined: Fri Jan 13, 2023 6:32 am
- Location: Finland
- Has thanked: 39 times
- Been thanked: 35 times
Re: How to not kill a tesla drive unit
I had an issue where contactor did open once on regen and once when cruising. When contactor did open during about 35kW regen, one of inverter power phases burnt. When contactor opened during cruising (about 80km/h), nothing broke. Still using that same motor.
Re: How to not kill a tesla drive unit
What caused the contractors to open? Did you replace the entire inverter or just the burnt phase? I still have the old mirror with one shorted phase in the shed, might get around to fixing it one day