Tesla Large Drive Unit Support Thread
- johu
- Site Admin
- Posts: 6639
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 346 times
- Been thanked: 1496 times
- Contact:
Re: Tesla Large Drive Unit Support Thread
Alright, while all connectors are here now I ran into other problems: The opamp for the Sigma/Delta demodulator is not populated and neither is the clock generator (my faults). Of course I discovered the latter after placing my order. Also my test adapter is not really working out and next week I'll be on holiday. So I'm afraid some more time will pass until the LDU board shows up on the shop, sorry about that.
Please do not keep sending me inquiries as that will not speed things up at all but rather generates additional interrupts that slow me down!
Please do not keep sending me inquiries as that will not speed things up at all but rather generates additional interrupts that slow me down!
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: Tesla Large Drive Unit Support Thread
Hi, I've been driving around for a while with no issues, but I want to improve the throttle response of the motor. There is currently a weird response where the motor will apply a reverse torque before giving torque in the correct direction. Under 10mph, its unnoticeable, but above 30 mph it becomes really annoying, and even more annoying the faster I go. It's almost like regenerative braking, but it draws a lot of current (like 100 amps), and only occurs in like 10% of the throttle response. Is there a parameter I need to change to fix this, or what should I do? I hope this isn't normal. Thanks for your guys help!
Re: Tesla Large Drive Unit Support Thread
Sounds like you’re on an old firmware version with the encoder count error. This would result in a spot of high speed regen in the pedal travel. What version are you on?Rx7FD wrote: ↑Fri Jul 10, 2020 12:35 am Hi, I've been driving around for a while with no issues, but I want to improve the throttle response of the motor. There is currently a weird response where the motor will apply a reverse torque before giving torque in the correct direction. Under 10mph, its unnoticeable, but above 30 mph it becomes really annoying, and even more annoying the faster I go. It's almost like regenerative braking, but it draws a lot of current (like 100 amps), and only occurs in like 10% of the throttle response. Is there a parameter I need to change to fix this, or what should I do? I hope this isn't normal. Thanks for your guys help!
Formerly 92 E30 BMW Cabrio with Tesla power
Re: Tesla Large Drive Unit Support Thread
It currently has 4.17.R. Is there a guide somewhere on how to update the firmware? I tried uploading version 4.85.R to the board (file name: stm32_sine.bin) using the web interface, but afterwards the parameters showed it was still at 4.17
Re: Tesla Large Drive Unit Support Thread
Just click select file and upload the desired .bin file. Make sure it’s the .bin and not .hex. Shouldn’t need anything beyond that.
Formerly 92 E30 BMW Cabrio with Tesla power
Re: Tesla Large Drive Unit Support Thread
I have 3 tesla batteries hooked up properly to the LDU. 58V is what I'm reading.
I set UDCMIN to 50
I set UDCSW to 50
Latest version of firmware
When I turn on 12v power, Negative and precharge contactors close. (If I do the same without the tesla batteries hooked up, precharge opens after 5 seconds as it should)
When I hit my start button....nothing.
I'm bench testing, have verified all of my wiring loom etc, that's all good.
There are no errors when I look at last error in the software.
Thoughts? Suggestions?
I set UDCMIN to 50
I set UDCSW to 50
Latest version of firmware
When I turn on 12v power, Negative and precharge contactors close. (If I do the same without the tesla batteries hooked up, precharge opens after 5 seconds as it should)
When I hit my start button....nothing.
I'm bench testing, have verified all of my wiring loom etc, that's all good.
There are no errors when I look at last error in the software.
Thoughts? Suggestions?
- Attachments
-
Huebner Inverter Management Console.PDF
- (353.12 KiB) Downloaded 401 times
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Large Drive Unit Support Thread
Assuming these modules are from a 80/90/100kWh Tesla battery then three in series should be ~75V at full charge (4.2V per cell) and ~60V discharged (3.3V per cell).
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
- johu
- Site Admin
- Posts: 6639
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 346 times
- Been thanked: 1496 times
- Contact:
Re: Tesla Large Drive Unit Support Thread
status=PotPressed -> not starting because potnom > 0Hank wrote: ↑Wed Aug 12, 2020 8:33 pm I have 3 tesla batteries hooked up properly to the LDU. 58V is what I'm reading.
I set UDCMIN to 50
I set UDCSW to 50
Latest version of firmware
When I turn on 12v power, Negative and precharge contactors close. (If I do the same without the tesla batteries hooked up, precharge opens after 5 seconds as it should)
When I hit my start button....nothing.
I'm bench testing, have verified all of my wiring loom etc, that's all good.
There are no errors when I look at last error in the software.
potnom > 0 because idlespeed is set to 275 rpm when brake pedal not pressed
So: either set idlemode=Off or press brake pedal/pull brake input high.
Also while skimming over the parameters I noticed encmode=Single. Please use Tesla parameters from wiki to avoid further problems.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Roadstercycle
- Posts: 118
- Joined: Mon Sep 23, 2019 10:28 pm
- Location: California
- Has thanked: 3 times
- Been thanked: 2 times
- Contact:
Re: Tesla Large Drive Unit Support Thread
Johu, I'm wondering what you meant by the single encmode=single. Is it suppose to be something else? I am running single encmode and so is Damien in the download parameters thread. Am I missing something?johu wrote: ↑Wed Aug 12, 2020 10:01 pmstatus=PotPressed -> not starting because potnom > 0Hank wrote: ↑Wed Aug 12, 2020 8:33 pm I have 3 tesla batteries hooked up properly to the LDU. 58V is what I'm reading.
I set UDCMIN to 50
I set UDCSW to 50
Latest version of firmware
When I turn on 12v power, Negative and precharge contactors close. (If I do the same without the tesla batteries hooked up, precharge opens after 5 seconds as it should)
When I hit my start button....nothing.
I'm bench testing, have verified all of my wiring loom etc, that's all good.
There are no errors when I look at last error in the software.
potnom > 0 because idlespeed is set to 275 rpm when brake pedal not pressed
So: either set idlemode=Off or press brake pedal/pull brake input high.
Also while skimming over the parameters I noticed encmode=Single. Please use Tesla parameters from wiki to avoid further problems.
- Jack Bauer
- Posts: 3642
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 284 times
- Contact:
Re: Tesla Large Drive Unit Support Thread
No one should be running single encoder mode in any tesla drive unit.
I'm going to need a hacksaw
Re: Tesla Large Drive Unit Support Thread
Everyone is or should be running quadrature/typeAB. The 1 in the parameter files is not for single encoder, it is for index 1 of the possible choices.Roadstercycle wrote: ↑Sun Sep 13, 2020 12:29 am
Johu, I'm wondering what you meant by the single encmode=single. Is it suppose to be something else? I am running single encmode and so is Damien in the download parameters thread. Am I missing something?
Formerly 92 E30 BMW Cabrio with Tesla power
- Roadstercycle
- Posts: 118
- Joined: Mon Sep 23, 2019 10:28 pm
- Location: California
- Has thanked: 3 times
- Been thanked: 2 times
- Contact:
Re: Tesla Large Drive Unit Support Thread
Thanks for clearing that up.jon volk wrote: ↑Sun Sep 13, 2020 12:47 pmEveryone is or should be running quadrature/typeAB. The 1 in the parameter files is not for single encoder, it is for index 1 of the possible choices.Roadstercycle wrote: ↑Sun Sep 13, 2020 12:29 am
Johu, I'm wondering what you meant by the single encmode=single. Is it suppose to be something else? I am running single encmode and so is Damien in the download parameters thread. Am I missing something?
Re: Tesla Large Drive Unit Support Thread
After updating from firmware 4.17 to 4.85, throttle pedal regen stopped working. I tried setting speedkp from 0 to 1 and updating to firmware 4.90, but regen still doesn't work. Here are my current parameters, I tried setting brkmax to +40%, but it only accepts negative values. Any ideas on what the issue is?
brknompedal -50%
regenramp 3%/10ms
brknom 30%
brkmax -40%
brkcruise -30%
brkrampstr 40 Hz
brknompedal -50%
regenramp 3%/10ms
brknom 30%
brkmax -40%
brkcruise -30%
brkrampstr 40 Hz
Re: Tesla Large Drive Unit Support Thread
Are you using pot2 for brake pedal regen by any chance?
Formerly 92 E30 BMW Cabrio with Tesla power
Re: Tesla Large Drive Unit Support Thread
I am not, but I'm thinking about adding the brake pressure sensor in the future. Also, my throttle pedal has 30% dead travel right now, with the correct pot settings.
Re: Tesla Large Drive Unit Support Thread
Post your parameter json so we can see if anything is amiss.
Formerly 92 E30 BMW Cabrio with Tesla power
Re: Tesla Large Drive Unit Support Thread
I am actually using the most recent parameter file you posted (thank you for sharing them!), but I did mess around with the regen settings, and changed potmin to fit my throttle pedal. Everything else is the same. Could it be firmware related? I lost pedal regen after updating (I tried my old parameter file to no avail).
- Attachments
-
- params (1).json
- (1.37 KiB) Downloaded 272 times
Re: Tesla Large Drive Unit Support Thread
Set pot2 min and max to 4095
Formerly 92 E30 BMW Cabrio with Tesla power
Re: Tesla Large Drive Unit Support Thread
I figured the issue out. Motor was not going into idlemode since I don't have my brake light switch hooked up. I changed the parameter idlemode to "always on" and speedkp to "1". Regen works normally now.
Re: Tesla Large Drive Unit Support Thread
Hello, First post!
Putting a LDU into a 1968 Land Rover Series 109
Trying to fire up my LDU for first time.
WiFi listed as “inverter7”
But
Passcode :inverter123
doesn’t work... has this been changed or am I just as dense as I think I am?
Erich
Putting a LDU into a 1968 Land Rover Series 109
Trying to fire up my LDU for first time.
WiFi listed as “inverter7”
But
Passcode :inverter123
doesn’t work... has this been changed or am I just as dense as I think I am?
Erich
- johu
- Site Admin
- Posts: 6639
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 346 times
- Been thanked: 1496 times
- Contact:
Re: Tesla Large Drive Unit Support Thread
Every kit comes with a paper info sheet that contains the password. I change it every now and then to decrease likelyhood of someone logging into your inverter at a stop light 

Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Roadstercycle
- Posts: 118
- Joined: Mon Sep 23, 2019 10:28 pm
- Location: California
- Has thanked: 3 times
- Been thanked: 2 times
- Contact:
Re: Tesla Large Drive Unit Support Thread
I am trying to find an answer as to what is the difference between running the encoder in A/B mode and running in single mode. The reason I ask is because somewhere along the line, I believe it was in the last motor software update (I'm not completely sure about that) my encoder got changed to single mode. So the other day Jon Volk noticed it and said I should be in A/B mode. Damien chimed in and said that nobody should be in single mode. What's really weird is that a lot of people even Damien has said that they are getting jerkiness when starting off slowly and can not seem to clean it up. My setup is smooth and clean starting, running and is a rocket ship until I switch to A/B mode. Then I get the slow speed jerkiness and it does not feel smooth. Switch back and it's fine. So what am I hurting or going to hurt if anything in single mode? I keep switching back to A/B and checking to see if I'm just imagining the jerkiness but I'm not, it does really make a difference. I don't suggest anyone doing this as I don't know the ramifications if any.
- muehlpower
- Posts: 681
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 14 times
- Been thanked: 134 times
Re: Tesla Large Drive Unit Support Thread
i have exactly this behavior with my motor, although it runs normally, at least on the workbench. In single mode, the RPM display is correct. If I swap A / B it just runs slowly and jerkily.fransoa wrote: ↑Thu Oct 03, 2019 6:10 pm Hi, I'm a new user. Tesla large drive unit with V3 board and software in version 4.57.R-sin. I encounter a surprising phenomenon: When I turn the motor manually the speed value varies surprisingly: By tracing the value on Plot it varies by steps of 41 (41 / 82 / 123 / 164 / ....) always with positive values whatever the direction of rotation . Tesla setting: encmode=AB ; respolepairs=1; numimp=36. The encoder seems to be working properly. If anyone has any explanation I'm very interested. Thanks.
my firmware is one year old, i will update it sometime.
Usually an A / B decoder has the advantage that the direction of rotation can be determined and a litle back and forth movement is not interpreted as a rotation!