Tesla Small Drive Unit Support Thread
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Please see the previous posts on how to tell if the wrong resistor has been fitted.
I'm going to need a hacksaw
- nesto1972
- Posts: 48
- Joined: Sat Jan 11, 2020 7:14 pm
- Location: Austria
- Been thanked: 2 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Bad news from my side!
I changed resistor to 3k17 but dinocur still on error!
anyone with better results?
I changed resistor to 3k17 but dinocur still on error!
anyone with better results?
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 4 times
Re: Tesla Small Drive Unit Support Thread
Can you repeat all the previous measurements and post the results with the changed resistor?
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: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
You would need to reload the parameters having changed the resistor.
I'm going to need a hacksaw
- nesto1972
- Posts: 48
- Joined: Sat Jan 11, 2020 7:14 pm
- Location: Austria
- Been thanked: 2 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Ok here my measures of today!
before resistor change:
C11 =3.31V to 3.31V
C14 =1.85V 1.19V
C5= 3.8V 2.65V
C8=3.8V 2.65V
R7=4.6V 2.58V
now will try to reload parameters:)
before resistor change:
C11 =3.31V to 3.31V
C14 =1.85V 1.19V
C5= 3.8V 2.65V
C8=3.8V 2.65V
R7=4.6V 2.58V
now will try to reload parameters:)
- nesto1972
- Posts: 48
- Joined: Sat Jan 11, 2020 7:14 pm
- Location: Austria
- Been thanked: 2 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Update:
Parameters reloaded.
Error alive.
Messages: Clear
[1]: WARN - PWMSTUCK
[10]: WARN - HICUROFS1
[10]: WARN - HICUROFS2
Toggle Category Visibility
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
330
V 0 1000 450
udcmax
460
V 0 1000 520
iacmax
800
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
460
dig 0 4095 0
potmax
2370
dig 0 4095 4095
pot2min
4095
dig 0 4095 4095
pot2max
4095
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
100
%/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
320
V 0 1000 330
udcswbuck
540
V 0 1000 540
tripmode 0 2 0
- Aux PWM
pwmfunc 0 3 0
pwmgain
100
-100000 100000 100
pwmofs
0
dig -65535 65535 0
- Communication
canspeed 0 3 0
canperiod 0 1 0
- Testing
fslipspnt
0
Hz -100 1000 0
ampnom
0
% 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 Off l r
TX RX
lasterr HICUROFS2 l r
TX RX
udc 169.78 V l r
TX RX
idc 0 A l r
TX RX
il1 0 A l r
TX RX
il2 0 A l r
TX RX
ilmax 0 A l r
TX RX
uac 0 V l r
TX RX
il1rms 0 A l r
TX RX
il2rms 0 A l r
TX RX
boostcalc 2200 dig l r
TX RX
fweakcalc 220 Hz l r
TX RX
fstat 0 Hz l r
TX RX
speed 0 rpm l r
TX RX
turns 0 l r
TX RX
amp 0 dig l r
TX RX
angle 0 ° l r
TX RX
pot 42 dig l r
TX RX
pot2 20 dig l r
TX RX
potnom 0 % l r
TX RX
dir Neutral l r
TX RX
tmphs 0 °C l r
TX RX
tmpm 0 °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 Error l r
TX RX
din_desat Ok l r
TX RX
din_bms On l r
TX RX
cpuload 0.87 % l r
Parameters reloaded.
Error alive.
Messages: Clear
[1]: WARN - PWMSTUCK
[10]: WARN - HICUROFS1
[10]: WARN - HICUROFS2
Toggle Category Visibility
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
330
V 0 1000 450
udcmax
460
V 0 1000 520
iacmax
800
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
460
dig 0 4095 0
potmax
2370
dig 0 4095 4095
pot2min
4095
dig 0 4095 4095
pot2max
4095
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
100
%/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
320
V 0 1000 330
udcswbuck
540
V 0 1000 540
tripmode 0 2 0
- Aux PWM
pwmfunc 0 3 0
pwmgain
100
-100000 100000 100
pwmofs
0
dig -65535 65535 0
- Communication
canspeed 0 3 0
canperiod 0 1 0
- Testing
fslipspnt
0
Hz -100 1000 0
ampnom
0
% 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 Off l r
TX RX
lasterr HICUROFS2 l r
TX RX
udc 169.78 V l r
TX RX
idc 0 A l r
TX RX
il1 0 A l r
TX RX
il2 0 A l r
TX RX
ilmax 0 A l r
TX RX
uac 0 V l r
TX RX
il1rms 0 A l r
TX RX
il2rms 0 A l r
TX RX
boostcalc 2200 dig l r
TX RX
fweakcalc 220 Hz l r
TX RX
fstat 0 Hz l r
TX RX
speed 0 rpm l r
TX RX
turns 0 l r
TX RX
amp 0 dig l r
TX RX
angle 0 ° l r
TX RX
pot 42 dig l r
TX RX
pot2 20 dig l r
TX RX
potnom 0 % l r
TX RX
dir Neutral l r
TX RX
tmphs 0 °C l r
TX RX
tmpm 0 °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 Error l r
TX RX
din_desat Ok l r
TX RX
din_bms On l r
TX RX
cpuload 0.87 % l r
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Can we measure the voltages as before please?
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Right, let's examine what these voltages mean.
C11 = 3.31V - upper current limit setting. IF the voltage from either current sensor exceeds this we trigger an ocurlim and shutdown.
C14 = 1.19V - lower current limit setting. IF the voltage from either current sensor drops below this we trigger an ocurlim and shutdown.
C5= 2.65V - output from current sensor 1
C8= 2.65V - output from current sensor 2
R7= 2.58V - midpont reference voltage for the current sensor amplifier. This decides the center point for zero amps.
Now in the above case I still suspect R7. If we pop 4k7 3k16 into a calculator such as here :
https://www.electronics2000.co.uk/calc/ ... ulator.php
We should see around 2v , not 2.58v.
C11 = 3.31V - upper current limit setting. IF the voltage from either current sensor exceeds this we trigger an ocurlim and shutdown.
C14 = 1.19V - lower current limit setting. IF the voltage from either current sensor drops below this we trigger an ocurlim and shutdown.
C5= 2.65V - output from current sensor 1
C8= 2.65V - output from current sensor 2
R7= 2.58V - midpont reference voltage for the current sensor amplifier. This decides the center point for zero amps.
Now in the above case I still suspect R7. If we pop 4k7 3k16 into a calculator such as here :
https://www.electronics2000.co.uk/calc/ ... ulator.php
We should see around 2v , not 2.58v.
I'm going to need a hacksaw
- nesto1972
- Posts: 48
- Joined: Sat Jan 11, 2020 7:14 pm
- Location: Austria
- Been thanked: 2 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Thank you for this lesson i understand!
I checked again R7 and resistance is seems ok( 3k1)
Next R8 checked. printing says 4701 then measured only 2k91!!!!
I checked again R7 and resistance is seems ok( 3k1)
Next R8 checked. printing says 4701 then measured only 2k91!!!!
- nesto1972
- Posts: 48
- Joined: Sat Jan 11, 2020 7:14 pm
- Location: Austria
- Been thanked: 2 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Upps.never measure resistor in a circuit!
Now i have 2.0 Volt on R7!
Error message is gone,only have PWM stuck!
but down on Spot Gauge dinocur still say error?!
Now i have 2.0 Volt on R7!
Error message is gone,only have PWM stuck!
but down on Spot Gauge dinocur still say error?!
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
So what is the voltage across R15? R15 is the pullup resistor for the dual window comparator. Should be approx 5v under no fault and around 0v during fault conditions.
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
So we still have a problem.
Can you confirm these values please.
C11 = 3.31V
C14 = 1.19V
C5= 2.65V
C8= 2.65V
R7= 2.58V
Can you confirm these values please.
C11 = 3.31V
C14 = 1.19V
C5= 2.65V
C8= 2.65V
R7= 2.58V
I'm going to need a hacksaw
- nesto1972
- Posts: 48
- Joined: Sat Jan 11, 2020 7:14 pm
- Location: Austria
- Been thanked: 2 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Ok here they are.
C11=3.18V
C14=0.28V
C5= 1.73V
C8= 1.73V
R7=2.01V
C11=3.18V
C14=0.28V
C5= 1.73V
C8= 1.73V
R7=2.01V
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Ok that makes a lot more sense. Think I see our issue. The comparator is tripped because the outputs from the sensors C5 and C8 (1.73v) are ABOVE the positive limit on C14 (0.28v). Is your ocurlim setting a positive or negative number? Try changing its sign:)
I'm going to need a hacksaw
- nesto1972
- Posts: 48
- Joined: Sat Jan 11, 2020 7:14 pm
- Location: Austria
- Been thanked: 2 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Yes that worked!ocurlim set negative like you shipped out!
Thanks,looking forward to the next stage:)
Thanks,looking forward to the next stage:)
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
-
- Posts: 8
- Joined: Fri Jan 17, 2020 8:35 pm
- Location: San Diego
- Contact:
Re: Tesla Small Drive Unit Support Thread
Can anyone with the V6 board confirm if C5 is meant to be blank?
I just did a quick look over with a magnifying glass last night and noticed C5 was empty.
Thanks
Martin
I just did a quick look over with a magnifying glass last night and noticed C5 was empty.
Thanks
Martin
Building the CyberSeven: Lotus inspired, Tesla powered roadster
-
- Posts: 8
- Joined: Fri Jan 17, 2020 8:35 pm
- Location: San Diego
- Contact:
Re: Tesla Small Drive Unit Support Thread
Looking at the schematic a 1nF is required on C5. Anyone else have parts missing? Did you take care of them yourself?
Thanks
Martin
Thanks
Martin
Building the CyberSeven: Lotus inspired, Tesla powered roadster
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 4 times
Re: Tesla Small Drive Unit Support Thread
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.
- nesto1972
- Posts: 48
- Joined: Sat Jan 11, 2020 7:14 pm
- Location: Austria
- Been thanked: 2 times
- Contact:
Re: Tesla Small Drive Unit Support Thread
Yeah,my SDU got first LV testing and is alive......many thanks to all who try helping!!
At the moment i have no shaft stumps for higher rpm or can i run it without??
At the moment i have no shaft stumps for higher rpm or can i run it without??
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 4 times
Re: Tesla Small Drive Unit Support Thread
You'll have no oil and I wouldn't recommend it. Also remember that you need cooling if running for anything other than a few seconds... the inverter has little thermal mass and no protection on the power stage
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.
-
- Posts: 8
- Joined: Fri Jan 17, 2020 8:35 pm
- Location: San Diego
- Contact:
Re: Tesla Small Drive Unit Support Thread
Thank you Kevin. The pads look like the capacitor has been on there but maybe got knocked off in transi. Oh well, good opportunity to learn how to install one!Kevin Sharpe wrote: ↑Thu Feb 20, 2020 7:08 pmLooking at the JLC BOM on Damien's GitHub (here) C5 is required.
Screenshot 2020-02-20 at 19.05.29.png
Martin
Building the CyberSeven: Lotus inspired, Tesla powered roadster
-
- Posts: 8
- Joined: Fri Jan 17, 2020 8:35 pm
- Location: San Diego
- Contact:
Re: Tesla Small Drive Unit Support Thread
Nice work Nesto! What are you building? Do you have a build blog?
It must have been so tempting to give it throttle!
Martin
Building the CyberSeven: Lotus inspired, Tesla powered roadster