How to not kill a tesla drive unit
- muehlpower
- Posts: 680
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 14 times
- Been thanked: 134 times
Re: How to not kill a tesla drive unit
Does it make sense to connect a capacitor in parallel to each of the main contactor coils? With a resistor for charging and two diodes. According to my estimate, a 10000uF capacitor should keep the contactor closed for 1s after switching off.
- 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 max charging rate on Orion BMS set to 200A (I think default value) and tested strong regen. As regen amps exceeded max set to Orion, it lifted contactors.
To fix this issue I of course upped the max amps but also added a relay so that Orion can only control main contractors when car is not driving.
I changed inverter from another motor, but I couldn’t make it water tight. So we changed the other motor completely, which leaked from motor side and now on the inverter side too
Re: How to not kill a tesla drive unit
Your Orion BMS controls the contactors? I have Orion BMS but don't use that for contactors - I wasn't actually aware it couldmane2 wrote: ↑Thu Jul 11, 2024 2:52 pm I had max charging rate on Orion BMS set to 200A (I think default value) and tested strong regen. As regen amps exceeded max set to Orion, it lifted contactors.
To fix this issue I of course upped the max amps but also added a relay so that Orion can only control main contractors when car is not driving.
I changed inverter from another motor, but I couldn’t make it water tight. So we changed the other motor completely, which leaked from motor side and now on the inverter side tooSo I bought a third motor, from newer car and it has been working now almost a year. No leaks or problems.
- 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
My LDU controls contactors but Orion has priority over LDU to open them if something bad is about to happen. After modifications it can only open them in charging or idle mode.
Re: How to not kill a tesla drive unit
What Orion are you using? I'm interested in how you have configured it 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
You can use those customizable outputs that Orion has to control relays that control contactors. I have Orion BMS 2.
-
- Posts: 114
- Joined: Wed Jun 19, 2024 2:02 am
- Has thanked: 4 times
- Been thanked: 24 times
Re: How to not kill a tesla drive unit
Has anyone tried this? This seems like a good solution. I am wanting to add some type of inertia switch. I have watched the video but having the contactors stay shut would not protect the vehicle or responders from high voltage in case of accident.muehlpower wrote: ↑Thu Jul 11, 2024 1:39 pm Does it make sense to connect a capacitor in parallel to each of the main contactor coils? With a resistor for charging and two diodes. According to my estimate, a 10000uF capacitor should keep the contactor closed for 1s after switching off.
Kondensator.png
-
- 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 added a capacitor footprint to the gen3 leaf board kind of like this but in the mosfet gate drive circuit. I don't believe it has been tested.phillipschip wrote: ↑Mon Aug 26, 2024 4:55 am Has anyone tried this? This seems like a good solution. I am wanting to add some type of inertia switch. I have watched the video but having the contactors stay shut would not protect the vehicle or responders from high voltage in case of accident.
If you do decide to try this you will likely need a capacitor with a rated voltage 8? times higher than the coil voltage to handle the inductive spike at turn off.
Also, the capacitor has the potential to delay the turn on depending on available coil current / wiring. Just something to watch for.
-
- Posts: 114
- Joined: Wed Jun 19, 2024 2:02 am
- Has thanked: 4 times
- Been thanked: 24 times
Re: How to not kill a tesla drive unit
Ok great. Thanks for the advice! So something like a 100v 10000uF capacitor on each contactor could potentially fix this issue? No harm in having them in there even if not?jrbe wrote: ↑Mon Aug 26, 2024 11:15 am I added a capacitor footprint to the gen3 leaf board kind of like this but in the mosfet gate drive circuit. I don't believe it has been tested.
If you do decide to try this you will likely need a capacitor with a rated voltage 8? times higher than the coil voltage to handle the inductive spike at turn off.
Also, the capacitor has the potential to delay the turn on depending on available coil current / wiring. Just something to watch for.
-
- 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 added the capacitor footprint in the leaf board because some people were reporting their contactors chattering. It wouldn't fix the real issue but could mask the issue.
What are you trying to accomplish with the extended contactor on time? Is there something in the system that could be setup / adjusted so you don't have to make up for something?
You could add a contactor power loop that a responder can pull to shut down the battery.
Some inertia switches are junk, be careful with what you use.
What are you trying to accomplish with the extended contactor on time? Is there something in the system that could be setup / adjusted so you don't have to make up for something?
You could add a contactor power loop that a responder can pull to shut down the battery.
Some inertia switches are junk, be careful with what you use.
- muehlpower
- Posts: 680
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 14 times
- Been thanked: 134 times
Re: How to not kill a tesla drive unit
I'll do it like this, close to the Contactors. It maintains the high voltage for a second even when the ignition is switched off while driving. The capacitors of the power supply on the OI control board should be empty more quickly. The diodes and the resistor limit the inrush current and prevent the current from flowing back to terminal 15. Unlike digital or timer-based solutions, it switches off safely after one second.
-
- Posts: 114
- Joined: Wed Jun 19, 2024 2:02 am
- Has thanked: 4 times
- Been thanked: 24 times
Re: How to not kill a tesla drive unit
This seems like a great solution (I’m not an electrical engineermuehlpower wrote: ↑Mon Aug 26, 2024 6:57 pm I'll do it like this, close to the Contactors. It maintains the high voltage for a second even when the ignition is switched off while driving. The capacitors of the power supply on the OI control board should be empty more quickly. The diodes and the resistor limit the inrush current and prevent the current from flowing back to terminal 15. Unlike digital or timer-based solutions, it switches off safely after one second.
Contactor delay.png

What would the specs b for the diodes and resistor? Thanks!
-
- Posts: 114
- Joined: Wed Jun 19, 2024 2:02 am
- Has thanked: 4 times
- Been thanked: 24 times
Re: How to not kill a tesla drive unit
Would something like this do the trick? I have these parts already except the capacitor. I would think the trip mode option to close the pre charge would be a perfect protection if given the option to then open after 1 or 2 seconds.
I was thinking of using the Ford fuel pump cutoff switch pictured. I have seen it recommended in forums.
I was thinking of using the Ford fuel pump cutoff switch pictured. I have seen it recommended in forums.
- johu
- Site Admin
- Posts: 6623
- 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
Guys, what are your issues with just keeping the contactors closed? You can always open them by turning the ignition off if needed.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- uhi22
- Posts: 1085
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 188 times
- Been thanked: 606 times
Re: How to not kill a tesla drive unit
I understood the capacitor approach addresses the use case "ignition off while driving kills the inverter".
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
-
- Posts: 114
- Joined: Wed Jun 19, 2024 2:02 am
- Has thanked: 4 times
- Been thanked: 24 times
- muehlpower
- Posts: 680
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 14 times
- Been thanked: 134 times
Re: How to not kill a tesla drive unit
Exactly. In my imagination, first the direction signal goes to neutral (RND), then the capacitors of the power supply on the OI board are empty, and then the HV battery is disconnected. And everything is so safe that the TÜV accepts it as a real emergency stop, not just the signal for forward or reverse is switched off. Perhaps the TÜV or someone at the inspection for a racing event also wants a demonstration that the drive should survive.
How it is then switched off, ignition, emergency stop (also several) or crash sensor is then irrelevant.
Of course, this delay must then also be applied to the second contactor, which is not controlled by the drive unit.
-
- 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
That old style Ford inertia switch is one of the problematic ones I mentioned. It used to be funny to kick the front bumper of one of these cars and this switch would open. Car wouldn't start and the owner wouldn't know why. There might be a newer revision that's less sensitive though. I believe hitting a small to medium size animal would also open the switch possibly rendering your drive exploded. I believe these were added because of the lack of a fuel pump safety circuit in these models.
I'm not seeing what you guys are with this extra one second of contactor on time. If you're going highway speeds and the inverter is shut off, I only see this as giving you 1 second to turn the ignition back on before the contactors open / inverter fails.
It might buy you a little in the speed above which the inverter fails if contactors are opened - allowing generated regen power to flow into the battery. But this would likely go full regen during the inverter off, contactors still closed time, likely causing loss of control.
All of the emergency stop tests I've seen are stationary. But I think this should still be thought through.
OI has an e-stop loop in at least some inverters. Doesn't opening this set the inverter into like a neutral mode, a no regen / no acceleration mode to allow coasting safely to a stop?
It seems like what you guys are after is more of a vehicle computer that's watching for vehicle speed or crash info to cut the contactors when safe or in an emergency but I might be mistaken.
-
- Posts: 60
- Joined: Fri Jan 27, 2023 10:52 am
- Has thanked: 44 times
- Been thanked: 22 times
Re: How to not kill a tesla drive unit
Not sure I get the idea either. If you shut off the 12v supply to the inverter (i.e Oi board or Zombie) then the motor cannot keep running under power so surely it makes more sense for an E-stop to cut the 12v power to the board and keep the contactors on latched?
Or am I missing your point?
Or am I missing your point?
-
- Posts: 114
- Joined: Wed Jun 19, 2024 2:02 am
- Has thanked: 4 times
- Been thanked: 24 times
Re: How to not kill a tesla drive unit
Yes. However, that still leaves HV live throughout the vehicle. I am trying to imagine a situation where, in the event of a crash, HV is shut off protecting both me and first responders.barracuda816 wrote: ↑Wed Aug 28, 2024 12:56 pm Not sure I get the idea either. If you shut off the 12v supply to the inverter (i.e Oi board or Zombie) then the motor cannot keep running under power so surely it makes more sense for an E-stop to cut the 12v power to the board and keep the contactors on latched?
Or am I missing your point?
-
- Posts: 114
- Joined: Wed Jun 19, 2024 2:02 am
- Has thanked: 4 times
- Been thanked: 24 times
Re: How to not kill a tesla drive unit
Any suggestions for a good inertia switch? If a really good one was installed that would only trip for serious accidents then the inverter wouldn’t matter :0jrbe wrote: ↑Wed Aug 28, 2024 10:18 am That old style Ford inertia switch is one of the problematic ones I mentioned. It used to be funny to kick the front bumper of one of these cars and this switch would open. Car wouldn't start and the owner wouldn't know why. There might be a newer revision that's less sensitive though. I believe hitting a small to medium size animal would also open the switch possibly rendering your drive exploded. I believe these were added because of the lack of a fuel pump safety circuit in these models.
I'm not seeing what you guys are with this extra one second of contactor on time. If you're going highway speeds and the inverter is shut off, I only see this as giving you 1 second to turn the ignition back on before the contactors open / inverter fails.
It might buy you a little in the speed above which the inverter fails if contactors are opened - allowing generated regen power to flow into the battery. But this would likely go full regen during the inverter off, contactors still closed time, likely causing loss of control.
All of the emergency stop tests I've seen are stationary. But I think this should still be thought through.
OI has an e-stop loop in at least some inverters. Doesn't opening this set the inverter into like a neutral mode, a no regen / no acceleration mode to allow coasting safely to a stop?
It seems like what you guys are after is more of a vehicle computer that's watching for vehicle speed or crash info to cut the contactors when safe or in an emergency but I might be mistaken.
-
- 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 don't think you'll find published cut out decelerations for most inertia switches. I'd stay away from early ones from the 90's to the 00's.
This one does though,
https://www.pegasusautoracing.com/produ ... oh38GdCptu
Might be a mini Cooper one repurposed as a universal kit. Not too bad of a price with the connector and terminals with it. I haven't ever tested these.
This one does though,
https://www.pegasusautoracing.com/produ ... oh38GdCptu
Might be a mini Cooper one repurposed as a universal kit. Not too bad of a price with the connector and terminals with it. I haven't ever tested these.
-
- Posts: 114
- Joined: Wed Jun 19, 2024 2:02 am
- Has thanked: 4 times
- Been thanked: 24 times
Re: How to not kill a tesla drive unit
If regen was turned off(I wouldn't have a problem not using it), with the capacitor at the contactor+diode+resistor setup, wouldn't the motor just shut down safely in the event of an unexpected 12v power cut in any situation. If not, could you explain to me a little further? I am super new to all of this, haven't started wiring, and want to be as safe as possible with my build. Thanks!jrbe wrote: ↑Wed Aug 28, 2024 10:18 am
I'm not seeing what you guys are with this extra one second of contactor on time. If you're going highway speeds and the inverter is shut off, I only see this as giving you 1 second to turn the ignition back on before the contactors open / inverter fails.
It might buy you a little in the speed above which the inverter fails if contactors are opened - allowing generated regen power to flow into the battery. But this would likely go full regen during the inverter off, contactors still closed time, likely causing loss of control.
-
- 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
The inverter controls the regen level. Turn off the inverter and the motor / generator goes full regen. It doesn't matter if you have regen set to 0. No pwm from the inverter, no regen control.
If / when the regen voltage that has no where to go (open contactor) builds above the power stage's rated voltage it blows.
If the contactor is opened on light regen and low speed it can still blow the power stage from the field collapse energy / voltage from inverter pwm, voltage with no where to go.
If the contactor is closed power can feed back into the battery and keep voltage at a safe level but it will go full regen deceleration if the inverter is switched off.
One of the things I've mentioned previously as a possible solution is to turn on the vehicle's resistance heater if the contactors need to be opened for some safety reason. It potentially could help by consuming at least some of the power from regen that can't go into the battery. If it can keep the voltage low enough it could save the power stage.
But this is planning on saving something in an otherwise likely catastrophic event and the juice might not be worth the squeeze.
- muehlpower
- Posts: 680
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 14 times
- Been thanked: 134 times
Re: How to not kill a tesla drive unit
The headline reads “not kill a Tesla drive unit”. There have been cases here of destroyed LDUs and SDUs caused by a missing HV connection. In some cases it was a blown fuse, contactors opened by the BMS, or loose contacts on the circuit board or in the wiring harness. Often incorrect tripmode settings in conjunction with overcurrend. Setting 2 (precharge on) does not seem to be sufficient for deadsleads motor. Tripmode is the easiest to change, but does not help with the other causes. Since Tesla motors are three-phase asynchronous motors, a rolling vehicle should not be a problem after correct shutdown, as no current is produced. With leaf and Model3 it will be different.