Page 1 of 1
Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Wed Sep 13, 2023 8:33 pm
by eGrandpa
My conversion is up and running. I'm using the equivalent of a Tesla Model S Sport motor with a 96s72p LI 400v battery (essentially the same as a Tesla S 85). I have tuned the throttle and reg. They seem fine and were close already. However, I can get the main HV contactor to turn off with an very aggressive throttle tip-in from launch up to really any speed. I have to stop and turn off / on the system to start again. Regular driving is fine even with some aggressive throttle input. The actual current draw doesn't seem to be the problem. I don't get any error messages. It's not the BMS as the issue is tripping the main contactor, not the BMS controlled relays. Any thoughts on why?
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Wed Sep 13, 2023 9:01 pm
by P.S.Mangelsdorf
Two thoughts:
1) Make sure that you have tripmode set correctly, it shouldn't be opening the contactors, it should just be putting the inverter to STOP. This will still require a power cycle to restart.
2) This is a known issue that we're working on a solution to. I believe I have sorted out the issue, but will be testing further this weekend. See:
viewtopic.php?t=3774
Can you share your parameter file?
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Thu Sep 14, 2023 12:31 am
by eGrandpa
That's exactly what mine is doing as well. Sorry I didn't see your post. I'm only into the test mode for a few days. Other than this issue, the controller seems to work fine. I converted a 2008 Corvette so there's considerable expectations / pressure to achieve an appropriate acceleration rate

. I will attempt to share my parameter file if I can figure out how to do it. I will be following your progress with great expectations!!
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Thu Sep 14, 2023 12:50 am
by eGrandpa
Here is my parameter file --
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Thu Sep 14, 2023 11:42 am
by P.S.Mangelsdorf
eGrandpa wrote: ↑Thu Sep 14, 2023 12:31 am
That's exactly what mine is doing as well. Sorry I didn't see your post. I'm only into the test mode for a few days. Other than this issue, the controller seems to work fine. I converted a 2008 Corvette so there's considerable expectations / pressure to achieve an appropriate acceleration rate

. I will attempt to share my parameter file if I can figure out how to do it. I will be following your progress with great expectations!!
It's good to know that others are having the issue. I believe you're the 3rd confirmed car where its showing up. It's interesting that you have a sport unit, that answers one of my questions about whether its truly a hardware limit.
Looking at your parameters, you have ocurlim fairly low. Try raising that above 2000 (mines at 3500), and see if it persists. To the best of my knowledge the sport LDU is known to safely pull 1200+ amps. I think in your case, you might just be hitting ocurlim. If you are still hitting the shutdown with ocurlim at 2000+, then we know its some other part of the firmware or parameters.
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Thu Sep 14, 2023 6:23 pm
by eGrandpa
Put ocurlim to 2000. That seems to have been the issue. Works great. I will test some more. Thanks for the help!!
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Thu Sep 14, 2023 7:50 pm
by catphish
You have got tripmode set to 0 (AllOff)
Set this to 1 (Keep DC switch closed) immediately or you WILL destroy your inverter.
Next, the fact that this is happening means you are likely exceeding your current limit. You need to actually consider what current you are comfortable with, and either increase the limit, or tune the system not to exceed it.
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Fri Sep 15, 2023 12:24 am
by P.S.Mangelsdorf
eGrandpa wrote: ↑Thu Sep 14, 2023 6:23 pm
Put ocurlim to 2000. That seems to have been the issue. Works great. I will test some more. Thanks for the help!!
Great!
It's good to know that those settings seem to work on the sport LDU; it gives credence to the idea that we're just pushing the base units a little to hard. (and makes me optimistic about the sport unit sitting in my garage waiting for testing)
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Fri Sep 15, 2023 3:45 pm
by eGrandpa
Is there a correlation between ocurlim and actual current amount? Also, what do I have to do to detune. Looking for of course a good balance. I did change the trip setting to 1 after you mentioned it. thx
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Fri Sep 15, 2023 5:15 pm
by catphish
eGrandpa wrote: ↑Fri Sep 15, 2023 3:45 pm
Is there a correlation between ocurlim and actual current amount? Also, what do I have to do to detune. Looking for of course a good balance. I did change the trip setting to 1 after you mentioned it. thx
ocurlim is the peak current that is allowed to flow through the inverter and motor. If this is exceeded even for a fraction of a second the inverter will shut down. It is a safety feature like a fuse (but much faster than a fuse). I don't know what a good limit is for the LDU as I don't have one, hopefully somebody else can answer this. Once the limit is set, if you are hitting it and the inverter is stopping this is harmless (with tripmode=1) but it means you need to reduce the tune a bit.
As a simple rule, if you hit the limit when going full throttle at 0mph then you should reduce the value of "boost". Boost is how much current it pushes though the motor at full throttle from a standing start. If it's too high, you'll be pushing too much current at very low speeds.
If you hit the limit going full throttle at higher speeds then the solution is to
increase the value of fweak. Fweak is the speed (in Hz) at which full battery voltage is applied to the motor. If this is too low, you will be pushing too much current at medium speeds.
It is almost impossible to push too much current at higher speeds (>60mph).
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Fri Sep 15, 2023 5:48 pm
by muehlpower
catphish wrote: ↑Fri Sep 15, 2023 5:15 pm
ocurlim is the peak current that is allowed to flow through the inverter and motor. If this is exceeded even for a fraction of a second the inverter will shut down. It is a safety feature like a fuse (but much faster than a fuse). I don't know what a good limit is for the LDU as I don't have one, hopefully somebody else can answer this. Once the limit is set, if you are hitting it and the inverter is stopping this is harmless (with tripmode=1) but it means you need to reduce the tune a bit.
As a simple rule, if you hit the limit when going full throttle at 0mph then you should reduce the value of "boost". Boost is how much current it pushes though the motor at full throttle from a standing start. If it's too high, you'll be pushing too much current at very low speeds.
If you hit the limit going full throttle at higher speeds then the solution is to
increase the value of fweak. Fweak is the speed (in Hz) at which full battery voltage is applied to the motor. If this is too low, you will be pushing too much current at medium speeds.
It is almost impossible to push too much current at higher speeds (>60mph).
"Fweak" also concerns me. Shouldn't it be lower with an empty battery than with a full one? So be dependent on the current battery voltage?
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Fri Sep 15, 2023 6:03 pm
by catphish
muehlpower wrote: ↑Fri Sep 15, 2023 5:48 pm
"Fweak" also concerns me. Shouldn't it be lower with an empty battery than with a full one? So be dependent on the current battery voltage?
It's not terribly important, but if you want that, openinverter will do it automatically, just set udcnom to your nominal battery voltage before you start tuning.
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Sat Sep 16, 2023 5:47 pm
by eGrandpa
If someone knows the recommended ocurlim for the Tesla Sport LDU that would be great. My worst fear is setting it too high and causing the inverter to sink too much current before ocurlim trips.
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Mon Sep 18, 2023 11:34 am
by Boxster EV
I’ve always left the value of my Base unit at -2500.
However, when bench testing I used a value of -300 and gradually increased it until I was comfortable that there were no underlying issues.
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Tue Sep 19, 2023 6:32 pm
by mane2
I seem to have it -2500 too with my Sport unit. Have got overcurrent error few times, but only once when accelerating. And that time, the rear suspension started to bounce (wrong damper settings) so I think it caused a current spike and tripped overcurrent.
3-4 times I have had weird shutdowns (probably overcurrent too) when reversing off my yard, and switching direction .. I haven't figured out what causes that yet. As it's 1-way road and been busy getting the car to start again, not blocking the road.
btw, would be nice to have bit more permanent error memory. I think current one gets erased on when motor loses 12v power.
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Wed Sep 20, 2023 2:12 am
by eGrandpa
It seems that ocurlim value is the same as the current in amps. So, 1000 ocurlim = max 1,000 amps. I set my ocurlim to 1500. I made my own battery using Tesla 18650 cells in a 96s72p configuration made with double Battery Hookup fusible links at the cathode. Given that, I didn't want to exceed the fusible link capabilities. I lowered boost to detune from 2500 to 1700. These two changes seem to make a big difference. I haven't exceeded my current limitations with some still pretty aggressive accelerations. Nice balance. I haven't yet tested full throttle at 0 mph, but I never drive that way anyway. Lowering boost also seems to have increased my range as well. I may tweak in the future, but I sense that I'm close now. Thanks again for everyones input.
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Fri Sep 29, 2023 1:29 am
by Troubled81
I have a P90+ and it dynos 515hp to the wheels. I have logs of it pulling close to 1300amps and 300volt (it has one of the new 350v 90kWh batteries aka 7/8th a p100d pack). I am pretty sure that it will tolerate 1400+ amps but need to get around the rate of change limit the stock tesla board is locking me down with.
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Tue Nov 12, 2024 12:03 am
by jason_arnold
eGrandpa wrote: ↑Wed Sep 20, 2023 2:12 am
It seems that ocurlim value is the same as the current in amps. So, 1000 ocurlim = max 1,000 amps. I set my ocurlim to 1500. I made my own battery using Tesla 18650 cells in a 96s72p configuration made with double Battery Hookup fusible links at the cathode. Given that, I didn't want to exceed the fusible link capabilities. I lowered boost to detune from 2500 to 1700. These two changes seem to make a big difference. I haven't exceeded my current limitations with some still pretty aggressive accelerations. Nice balance. I haven't yet tested full throttle at 0 mph, but I never drive that way anyway. Lowering boost also seems to have increased my range as well. I may tweak in the future, but I sense that I'm close now. Thanks again for everyones input.
Would you mind re-uploading your parameters to the database? There is only one other set up there and, even though it's the default set from johu, it's ancient, so having yours updated would be welcome.
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Tue Nov 12, 2024 1:04 am
by P.S.Mangelsdorf
jason_arnold wrote: ↑Tue Nov 12, 2024 12:03 am
Would you mind re-uploading your parameters to the database? There is only one other set up there and, even though it's the default set from johu, it's ancient, so having yours updated would be welcome.
Check out this thread too, many more sets ended up here than the data base
viewtopic.php?t=195
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Tue Nov 12, 2024 9:38 pm
by jason_arnold
Oh wow. Great resource, but a shame they never made the jump to the database - would really be great to see some more validated setups on there for completeness.
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Wed Nov 13, 2024 12:55 pm
by P.S.Mangelsdorf
It would. Question for those that know - is it possible to upload to the parameter database from files on my laptop, versus needing to do so from the inverter's web interface? I've never been able to successfully get my laptop and car connected to my home wifi at the same time.
Re: Tesla LDU Controller Stops Working with Aggressive Throttle
Posted: Thu Nov 14, 2024 9:03 am
by johu
Unfortunately the database has been painfully neglected. Still looking for someone to take care of it. Should open a task for it