Tesla Small Drive Unit Support Thread
Re: Tesla Small Drive Unit Support Thread
Can some please confirm the following, on the TSDU low voltage diagram;
Pin 5 shows forward direction in black is this a positive or negative supply
Pin 12 shows reverse direction in blue is the a positive or negative supply
because on the TSDU 12 volt connection diagram
Pin 5 shows forward direction in red as a positive 12v
pin 12 shows reverse direction in red as a positive 12v
Pin 5 shows forward direction in black is this a positive or negative supply
Pin 12 shows reverse direction in blue is the a positive or negative supply
because on the TSDU 12 volt connection diagram
Pin 5 shows forward direction in red as a positive 12v
pin 12 shows reverse direction in red as a positive 12v
Re: Tesla Small Drive Unit Support Thread
TSDU Brake Pedal Position Sensor, where can i source one of these.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Direction signals are 12v active high.
I'm going to need a hacksaw
Re: Tesla Small Drive Unit Support Thread
Hi,
a little question... How high i could go with the input DC Voltage? I use 60Ah 300Amax Cells, and i would get the most power out of it
a little question... How high i could go with the input DC Voltage? I use 60Ah 300Amax Cells, and i would get the most power out of it

- Lee Malo
- Posts: 47
- Joined: Thu Mar 21, 2019 6:09 pm
- Location: Gloucester MA , USA
- Been thanked: 2 times
Tesla Small Drive Unit reset ??
I did a idiot move ! , I played with some setting without saving before
What file do I load to reset the parameters ? I feel like an idiot asking this question and sorry to bother you with this NOOB question .
the board is a V4 with the latest software .

the board is a V4 with the latest software .
Poor quality lingers long after the cheap price is forgotten.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Small Drive Unit Support Thread
AFAIK no one has tested the limits of a small drive unit so I guess 400V is a safe assumption given they use 600V IGBT's in the LDU;
viewtopic.php?f=10&t=76&hilit=tesla+igbt#p515
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.
Re: Tesla Small Drive Unit Support Thread
Ok, thanks. So it should be ok to usw 100 cells in a row instead of 96
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Small Drive Unit Support Thread
You're going to find out

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.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Some good news on board supply. I have now acquired a much more reliable pcb manufacturer here in Ireland and boards will be in stock for immediate dispatch. No more silly delays and boards are being built on an automated smd line so quality is much improved.
I'm going to need a hacksaw
-
- Posts: 395
- Joined: Sun Aug 25, 2019 12:39 pm
- Location: Finland
- Has thanked: 55 times
- Been thanked: 14 times
Re: Tesla Small Drive Unit Support Thread
Looking good 

Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
- Lee Malo
- Posts: 47
- Joined: Thu Mar 21, 2019 6:09 pm
- Location: Gloucester MA , USA
- Been thanked: 2 times
what am I missing ? " Derate - Currentlimit "
I am going cross eyed with looking at this . I am doing something wrong and I have not found my mistake . Could someone point me in the correct direction
Name Value Unit Minimum Maximum Default
- Motor
boost
2200
dig 0 37813 1700
fweak
220
Hz 0 1000 90
fconst
800
Hz 0 1000 180
udcnom
0
V 0 1000 0
fslipmin
2
Hz 0 10 1
fslipmax
6
Hz 0 10 3
fslipconstmax
6
Hz 0 10 5
polepairs
2
1 16 2
respolepairs
1
1 16 1
encmode 0 5 0
fmin
1
Hz 0 400 1
fmax
600
Hz 21 1000 200
numimp
36
ppr 8 8192 60
dirchrpm
100
rpm 0 2000 100
dirmode 0 3 1
syncofs
0
dig 0 65535 0
snsm 12 14 12
- Inverter
pwmfrq 0 4 1
pwmpol 0 1 0
deadtime
63
dig 0 255 63
ocurlim
-1200
A -65536 65536 100
minpulse
1000
dig 0 4095 1000
il1gain
-1.5
dig/A -100 100 4.68
il2gain
-1.5
dig/A -100 100 4.68
udcgain
7.56
dig/V 0 4095 6.15
udcofs
0
dig 0 4095 0
udclim
450
V 0 1000 540
snshs 0 5 0
- Derating
bmslimhigh
90
% 0 100 50
bmslimlow
-100
% -100 0 -1
udcmin
315
V 0 1000 450
udcmax
341
V 0 1000 520
iacmax
1000
A 0 5000 5000
idcmax
500
A 0 5000 5000
idcmin
-500
A -5000 0 -5000
throtmax
100
% 0 100 100
ifltrise
10
dig 0 32 10
ifltfall
0
dig 0 32 3
- Charger
chargemode 0 4 0
chargecur
0
A 0 50 0
chargekp
80
dig 0 100 80
chargeflt
8
dig 0 10 8
chargemax
90
% 0 99 90
- Throttle
potmin
210
dig 0 4095 0
potmax
2630
dig 0 4095 4095
pot2min
22
dig 0 4095 4095
pot2max
36
dig 0 4095 4095
potmode 0 2 0
throtramp
10
%/10ms 0.09 100 100
throtramprpm
20000
rpm 0 20000 20000
ampmin
5
% 0 100 10
slipstart
40
% 10 100 50
- Regen
brknompedal
-40
% -100 0 -50
regenramp
1
%/10ms 0.09 100 100
brknom
30
% 0 100 30
brkmax
-30
% -100 0 -30
brkrampstr
50
Hz 0 400 10
brkout
-100
% -100 -1 -50
- Automation
idlespeed
-100
rpm -100 10000 -100
idlethrotlim
50
% 0 100 50
idlemode 0 2 0
speedkp
1
0 100 0.25
speedflt
5
0 16 5
cruisemode 0 1 0
- Contactor Control
udcsw
318.18
V 0 1000 330
udcswbuck
540
V 0 1000 540
tripmode 0 2 0
- Aux PWM
pwmfunc 0 3 0
pwmgain
0
-100000 100000 100
pwmofs
0
dig -65535 65535 0
- Communication
canspeed 0 3 0
canperiod 0 1 0
- Testing
fslipspnt
1.53
Hz -100 1000 0
ampnom
4.53
% 0 100 0
Spot Values
Show Gauges Show Data Logger
Name Value Unit Plot CAN Id Position Bits Gain Map to CAN
version 4.57.R-sine l r
TX RX
hwver Tesla l r
TX RX
opmode Run l r
TX RX
lasterr CURRENTLIMIT l r
TX RX
udc 1.56 V l r
TX RX
idc 0 A l r
TX RX
il1 0 A l r
TX RX
il2 0.65 A l r
TX RX
ilmax 1.84 A l r
TX RX
uac 0 V l r
TX RX
il1rms 1.03 A l r
TX RX
il2rms 2.15 A l r
TX RX
boostcalc 2200 dig l r
TX RX
fweakcalc 220 Hz l r
TX RX
fstat 1.53 Hz l r
TX RX
speed 0 rpm l r
TX RX
turns 0 l r
TX RX
amp 110 dig l r
TX RX
angle 0 ° l r
TX RX
pot 198 dig l r
TX RX
pot2 21 dig l r
TX RX
potnom 0 % l r
TX RX
dir Neutral l r
TX RX
tmphs 19.68 °C l r
TX RX
tmpm 44.68 °C l r
TX RX
uaux 16.43 V l r
TX RX
pwmio 59136 l r
TX RX
canio l r
TX RX
din_cruise Off l r
TX RX
din_start Off l r
TX RX
din_brake Off l r
TX RX
din_mprot Ok l r
TX RX
din_forward Off l r
TX RX
din_reverse Off l r
TX RX
din_emcystop Ok l r
TX RX
din_ocur Ok l r
TX RX
din_desat Ok l r
TX RX
din_bms Off l r
TX RX
cpuload 76.09 % l r
TX RX
Plot
Start Plot Stop Plot Pause Plot Limit data points to:
1000
Burst length:
10

Name Value Unit Minimum Maximum Default
- Motor
boost
2200
dig 0 37813 1700
fweak
220
Hz 0 1000 90
fconst
800
Hz 0 1000 180
udcnom
0
V 0 1000 0
fslipmin
2
Hz 0 10 1
fslipmax
6
Hz 0 10 3
fslipconstmax
6
Hz 0 10 5
polepairs
2
1 16 2
respolepairs
1
1 16 1
encmode 0 5 0
fmin
1
Hz 0 400 1
fmax
600
Hz 21 1000 200
numimp
36
ppr 8 8192 60
dirchrpm
100
rpm 0 2000 100
dirmode 0 3 1
syncofs
0
dig 0 65535 0
snsm 12 14 12
- Inverter
pwmfrq 0 4 1
pwmpol 0 1 0
deadtime
63
dig 0 255 63
ocurlim
-1200
A -65536 65536 100
minpulse
1000
dig 0 4095 1000
il1gain
-1.5
dig/A -100 100 4.68
il2gain
-1.5
dig/A -100 100 4.68
udcgain
7.56
dig/V 0 4095 6.15
udcofs
0
dig 0 4095 0
udclim
450
V 0 1000 540
snshs 0 5 0
- Derating
bmslimhigh
90
% 0 100 50
bmslimlow
-100
% -100 0 -1
udcmin
315
V 0 1000 450
udcmax
341
V 0 1000 520
iacmax
1000
A 0 5000 5000
idcmax
500
A 0 5000 5000
idcmin
-500
A -5000 0 -5000
throtmax
100
% 0 100 100
ifltrise
10
dig 0 32 10
ifltfall
0
dig 0 32 3
- Charger
chargemode 0 4 0
chargecur
0
A 0 50 0
chargekp
80
dig 0 100 80
chargeflt
8
dig 0 10 8
chargemax
90
% 0 99 90
- Throttle
potmin
210
dig 0 4095 0
potmax
2630
dig 0 4095 4095
pot2min
22
dig 0 4095 4095
pot2max
36
dig 0 4095 4095
potmode 0 2 0
throtramp
10
%/10ms 0.09 100 100
throtramprpm
20000
rpm 0 20000 20000
ampmin
5
% 0 100 10
slipstart
40
% 10 100 50
- Regen
brknompedal
-40
% -100 0 -50
regenramp
1
%/10ms 0.09 100 100
brknom
30
% 0 100 30
brkmax
-30
% -100 0 -30
brkrampstr
50
Hz 0 400 10
brkout
-100
% -100 -1 -50
- Automation
idlespeed
-100
rpm -100 10000 -100
idlethrotlim
50
% 0 100 50
idlemode 0 2 0
speedkp
1
0 100 0.25
speedflt
5
0 16 5
cruisemode 0 1 0
- Contactor Control
udcsw
318.18
V 0 1000 330
udcswbuck
540
V 0 1000 540
tripmode 0 2 0
- Aux PWM
pwmfunc 0 3 0
pwmgain
0
-100000 100000 100
pwmofs
0
dig -65535 65535 0
- Communication
canspeed 0 3 0
canperiod 0 1 0
- Testing
fslipspnt
1.53
Hz -100 1000 0
ampnom
4.53
% 0 100 0
Spot Values
Show Gauges Show Data Logger
Name Value Unit Plot CAN Id Position Bits Gain Map to CAN
version 4.57.R-sine l r
TX RX
hwver Tesla l r
TX RX
opmode Run l r
TX RX
lasterr CURRENTLIMIT l r
TX RX
udc 1.56 V l r
TX RX
idc 0 A l r
TX RX
il1 0 A l r
TX RX
il2 0.65 A l r
TX RX
ilmax 1.84 A l r
TX RX
uac 0 V l r
TX RX
il1rms 1.03 A l r
TX RX
il2rms 2.15 A l r
TX RX
boostcalc 2200 dig l r
TX RX
fweakcalc 220 Hz l r
TX RX
fstat 1.53 Hz l r
TX RX
speed 0 rpm l r
TX RX
turns 0 l r
TX RX
amp 110 dig l r
TX RX
angle 0 ° l r
TX RX
pot 198 dig l r
TX RX
pot2 21 dig l r
TX RX
potnom 0 % l r
TX RX
dir Neutral l r
TX RX
tmphs 19.68 °C l r
TX RX
tmpm 44.68 °C l r
TX RX
uaux 16.43 V l r
TX RX
pwmio 59136 l r
TX RX
canio l r
TX RX
din_cruise Off l r
TX RX
din_start Off l r
TX RX
din_brake Off l r
TX RX
din_mprot Ok l r
TX RX
din_forward Off l r
TX RX
din_reverse Off l r
TX RX
din_emcystop Ok l r
TX RX
din_ocur Ok l r
TX RX
din_desat Ok l r
TX RX
din_bms Off l r
TX RX
cpuload 76.09 % l r
TX RX
Plot
Start Plot Stop Plot Pause Plot Limit data points to:
1000
Burst length:
10
Poor quality lingers long after the cheap price is forgotten.
-
- Posts: 3557
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 133 times
- Been thanked: 331 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
After you find out what were the best settings you can post that here for future reference?
https://openinverter.org/wiki/Configuration_Files
I think Damien has that on github?
https://github.com/damienmaguire/Tesla-Front-Drive-Unit
https://openinverter.org/wiki/Configuration_Files
I think Damien has that on github?
https://github.com/damienmaguire/Tesla-Front-Drive-Unit
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Parameters here :
viewtopic.php?f=10&t=195
viewtopic.php?f=10&t=195
I'm going to need a hacksaw
Re: Tesla Small Drive Unit Support Thread
Hey! I bought small drive unit but the 20pin molex connectors plastic frame that locks plug to the board was broken. Anyone knows where I could find new one? Blue frame inside was ok but the brown that comes out from the motor is broken.
Are all sdu high voltage cables same kind of? No matter model year or is it from front or rear drive unit? Mine is 2017 rear motor.
Are all sdu high voltage cables same kind of? No matter model year or is it from front or rear drive unit? Mine is 2017 rear motor.
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Small Drive Unit Support Thread
Only the HV cable lengths and far end termination varies between models and age.
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.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Just an fyi for everyone once the current stock of Tesla boards is exhausted that will be the end of complete boards being available from the evbmw.com webshop for the forseable future. The logistical overheads are just too great and I need the bandwidth to focus on new projects. Bare pcbs will continue to be available and as always designs both present and future will remain open and free.
I'm going to need a hacksaw
- tmotion
- Posts: 55
- Joined: Fri Sep 27, 2019 7:16 pm
- Location: Rijswijk, The Netherlands
- Has thanked: 3 times
- Been thanked: 5 times
Re: Tesla Small Drive Unit Support Thread
Thats a bummer..... I’ll somewhere next year if it will be sdu or something else (model3 du?).
Re: Tesla Small Drive Unit Support Thread
No more Boards for the Tesla S Units? Ok, thats hard. Luckely i had ordered it soon enough.
@all: Anyone realize an ESP with the Tesla Units (lower the Output Power when ESP gets active)? My Smart Roadster has an ESP Module with "Trust+" that could communicate with CAN.
And how i could realize a Slip Control? Over 200kW in the Back of a 750kg Car is a good Neckbraker
@all: Anyone realize an ESP with the Tesla Units (lower the Output Power when ESP gets active)? My Smart Roadster has an ESP Module with "Trust+" that could communicate with CAN.
And how i could realize a Slip Control? Over 200kW in the Back of a 750kg Car is a good Neckbraker

- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Small Drive Unit Support Thread
No reason you guys can't organise a group buy all the info is on Damien's github

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.
Re: Tesla Small Drive Unit Support Thread
Hi everyone!
Due to I am new to the opencontroller project I want to ask you some general questions. My plans are to use a tesla SDU with 4..6 tesla battery modules.
1) On using the replacement EVBMW logic board - does the SDU runs with DC nominal voltage 96V, 120 or 144V ?
2) On using the bare board (due to the full board is out of stock) - is there a component list available ?
thanks a lot!
kind regards
Due to I am new to the opencontroller project I want to ask you some general questions. My plans are to use a tesla SDU with 4..6 tesla battery modules.
1) On using the replacement EVBMW logic board - does the SDU runs with DC nominal voltage 96V, 120 or 144V ?
2) On using the bare board (due to the full board is out of stock) - is there a component list available ?
thanks a lot!
kind regards
Re: Tesla Small Drive Unit Support Thread
Just joined the forum and I've decided to help out the environment somewhat by taking the crazy step of fabricating an EV using a SDU from a model S but after purchasing the unit I am now searching for plugs and such which weren't included in the sale specifically the HV drive unit connectors (like these: https://products.rosenberger.com/high-v ... -jack?c=62) but it seem most places only sell wholesale.
I also looked up pair on ebay which were about $600.00 only to find out later after reverse searching the car's vin that the cables were from a flooded salvage. I'd like to purchase these plugs and cables new to be on the safe side, any suggestions? Forgive me if this question has been asked already.
Also I've read here that Damien's boards aren't available anymore is this true?? Part of the reason I decided to take on this project was due to his boards after watch a ton of his videos
Thanks in advanced
I also looked up pair on ebay which were about $600.00 only to find out later after reverse searching the car's vin that the cables were from a flooded salvage. I'd like to purchase these plugs and cables new to be on the safe side, any suggestions? Forgive me if this question has been asked already.
Also I've read here that Damien's boards aren't available anymore is this true?? Part of the reason I decided to take on this project was due to his boards after watch a ton of his videos

Thanks in advanced
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Since announcing that I was stopping supply of built boards for Tesla I have had a storm of emails and contacts from people begging me to reconsider. Now, the problem of small volume board building is not something that many people encounter. I won't go into the painful details but trust me it's not easy. I spent a ton of time and legwork trying to make it work and just couldn't. Over the Christmas period I was looking again at ways to get boards built particularly for my Toyota projects. I think I hit on a super way to do this and good news is it will work for Tesla boards also.The video here gives a full explanation and I expect to be using JLCPCB for all my builds if things go to plan. So, more boards, faster and cheaper:)
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: 280 times
- Contact: