Tesla Small Drive Unit Support Thread

Topics concerning the Tesla front and rear drive unit drop-in board
User avatar
tom91
Posts: 2393
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 207 times
Been thanked: 563 times

Re: Tesla Small Drive Unit Support Thread

Post by tom91 »

Kevin Sharpe wrote: Sun Sep 08, 2019 4:39 pm We've been ... in a project :D
Mind sharing the parameters you have been using?
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
Jack Bauer
Posts: 3661
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 10 times
Been thanked: 335 times
Contact:

Re: Tesla Small Drive Unit Support Thread

Post by Jack Bauer »

Same as in the parameter thread.
I'm going to need a hacksaw
User avatar
tom91
Posts: 2393
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 207 times
Been thanked: 563 times

Re: Tesla Small Drive Unit Support Thread

Post by tom91 »

No compensation for the voltage? Makes the drive unit quite laggy down low.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
iak78612
Posts: 7
Joined: Mon Sep 23, 2019 12:10 pm

Re: Tesla Small Drive Unit Support Thread

Post by iak78612 »

Just busted my current sensor :( and if you can't tell from my question then I'll say it explicitly. I'm a noob.

My replacement current sensors will be getting here in a couple of days. Do I just pull out the old sensors from the "goo" and drop the new ones in? or is there something more involved?

Thanks!
User avatar
Jack Bauer
Posts: 3661
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 10 times
Been thanked: 335 times
Contact:

Re: Tesla Small Drive Unit Support Thread

Post by Jack Bauer »

Yes they go back into the goo. Just be aware of the orientation mark on the device.
I'm going to need a hacksaw
User avatar
Lee Malo
Posts: 47
Joined: Thu Mar 21, 2019 6:09 pm
Location: Gloucester MA , USA
Been thanked: 2 times

Re: Tesla Small Drive Unit Support Thread

Post by Lee Malo »

when I replaced the sensor I took a few pics . This is how the 2 sensors are oriented in that camel snot . lol


Lee
Attachments
20190820_180806.jpg
20190820_180628.jpg
20190820_224447.jpg
Poor quality lingers long after the cheap price is forgotten.
iak78612
Posts: 7
Joined: Mon Sep 23, 2019 12:10 pm

Re: Tesla Small Drive Unit Support Thread

Post by iak78612 »

Lee Malo wrote: Wed Sep 25, 2019 5:01 pm when I replaced the sensor I took a few pics . This is how the 2 sensors are oriented in that camel snot . lol


Lee
Thanks!

Got em in. Should we refill the void in the "camel snot" left from pulling out the old sensors? The new sensors seem pretty secure as is.
User avatar
Jack Bauer
Posts: 3661
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 10 times
Been thanked: 335 times
Contact:

Re: Tesla Small Drive Unit Support Thread

Post by Jack Bauer »

Recommend everyone update to the latest software release here :
https://github.com/jsphuebner/stm32-sine/releases
For Tesla use : https://github.com/jsphuebner/stm32-sin ... 2_sine.bin

Also read and try to understand the parameters before powering up :
https://openinverter.org/docs/index.htm ... rs,24.html

A lot of the most common questions have already been answered in the support threads so try the search function first.
I'm going to need a hacksaw
User avatar
cloudy
Posts: 209
Joined: Wed Oct 02, 2019 12:15 am
Location: UK
Been thanked: 7 times

Re: Tesla Small Drive Unit Support Thread

Post by cloudy »

Hi all, I notice in V2/3/4 PCBs the following connections are warning as single pin, ie: pin 20 tacho-drive is not longer routed to anything - previously went to an ULN2003ADR

Single pin net ENC_Z_54 on IC1.P$54 at 525.04,466.23
Single pin net SPEED_OUT_25 on IC1.P$25 at 524.04,454.38
Single pin net TACHO_DRIVE on CONN2.20 at 542.92,567.05
Single pin net USER_PWM_62 on IC1.P$62 at 521.04,466.23

Are these functions deprecated and safely ignored?

Thanks all
User avatar
Jack Bauer
Posts: 3661
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 10 times
Been thanked: 335 times
Contact:

Re: Tesla Small Drive Unit Support Thread

Post by Jack Bauer »

Those functions are no longer required on Tesla boards and have been deleted.
I'm going to need a hacksaw
Sparky 61
Posts: 10
Joined: Tue Oct 15, 2019 3:28 am
Location: AUSTRALIA

Re: Tesla Small Drive Unit Support Thread

Post by Sparky 61 »

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
Sparky 61
Posts: 10
Joined: Tue Oct 15, 2019 3:28 am
Location: AUSTRALIA

Re: Tesla Small Drive Unit Support Thread

Post by Sparky 61 »

TSDU Brake Pedal Position Sensor, where can i source one of these.
User avatar
Jack Bauer
Posts: 3661
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 10 times
Been thanked: 335 times
Contact:

Re: Tesla Small Drive Unit Support Thread

Post by Jack Bauer »

Direction signals are 12v active high.
I'm going to need a hacksaw
Jack-Lee
Posts: 21
Joined: Mon Jun 24, 2019 8:32 pm
Location: Germany

Re: Tesla Small Drive Unit Support Thread

Post by Jack-Lee »

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 :P
User avatar
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 ??

Post by Lee Malo »

I did a idiot move ! , I played with some setting without saving before :cry: 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 .
Poor quality lingers long after the cheap price is forgotten.
User avatar
Jack Bauer
Posts: 3661
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 10 times
Been thanked: 335 times
Contact:

Re: Tesla Small Drive Unit Support Thread

Post by Jack Bauer »

I'm going to need a hacksaw
Jack-Lee
Posts: 21
Joined: Mon Jun 24, 2019 8:32 pm
Location: Germany

Re: Tesla Small Drive Unit Support Thread

Post by Jack-Lee »

Does anyone know what about the maximum supply voltage?
User avatar
Kevin Sharpe
Posts: 1339
Joined: Fri Dec 14, 2018 9:24 pm
Location: Ireland and US
Been thanked: 8 times

Re: Tesla Small Drive Unit Support Thread

Post by Kevin Sharpe »

Jack-Lee wrote: Wed Oct 30, 2019 12:14 pm Does anyone know what about the maximum supply voltage?
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.
Jack-Lee
Posts: 21
Joined: Mon Jun 24, 2019 8:32 pm
Location: Germany

Re: Tesla Small Drive Unit Support Thread

Post by Jack-Lee »

Ok, thanks. So it should be ok to usw 100 cells in a row instead of 96
User avatar
Kevin Sharpe
Posts: 1339
Joined: Fri Dec 14, 2018 9:24 pm
Location: Ireland and US
Been thanked: 8 times

Re: Tesla Small Drive Unit Support Thread

Post by Kevin Sharpe »

Jack-Lee wrote: Thu Oct 31, 2019 1:28 pm Ok, thanks. So it should be ok to usw 100 cells in a row instead of 96
You're going to find out ;) Anything outside of the Tesla default environment is an experiment. If you want to play safe copy what Tesla have done.
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.
User avatar
Jack Bauer
Posts: 3661
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 10 times
Been thanked: 335 times
Contact:

Re: Tesla Small Drive Unit Support Thread

Post by Jack Bauer »

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.
Attachments
2019-11-01 15.46.37.jpg
I'm going to need a hacksaw
JaniK
Posts: 395
Joined: Sun Aug 25, 2019 12:39 pm
Location: Finland
Has thanked: 58 times
Been thanked: 14 times

Re: Tesla Small Drive Unit Support Thread

Post by JaniK »

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.
User avatar
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 "

Post by Lee Malo »

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 :ugeek:



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.
arber333
Posts: 3563
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 134 times
Been thanked: 335 times
Contact:

Re: Tesla Small Drive Unit Support Thread

Post by arber333 »

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
User avatar
Jack Bauer
Posts: 3661
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 10 times
Been thanked: 335 times
Contact:

Re: Tesla Small Drive Unit Support Thread

Post by Jack Bauer »

Parameters here :
viewtopic.php?f=10&t=195
I'm going to need a hacksaw
Locked