Page 1 of 1
Jerky car at pull up
Posted: Wed Mar 12, 2025 11:25 am
by hanstoorman
(5.35.R on inverter, v2.2 of web interface)
I have some trouble with my SDU rotordir.
The SDU works fine, only sometimes when I start the drive unit the spotvalues 'seldir' and 'rotordir' are opposite. In this case the car is not driving at all, when I press the trottle the car is very jerky. This doesn't stop when I restart the drive unit.
It can only be fixed by waiting 5 minutes and restart again, when I'm lucky the problem is gone...
Does anyone have this problem as wel?
Re: SDU rotordir problems
Posted: Wed Mar 12, 2025 11:27 am
by johu
Can you attach your parameters please
Re: SDU rotordir problems
Posted: Wed Mar 12, 2025 12:08 pm
by hanstoorman
Here are the params
Re: SDU rotordir problems
Posted: Wed Mar 12, 2025 1:42 pm
by johu
Ok, some comments.
- These parameters aren't from v5.35 because then potmax would be limited to 3500. Read here:
viewtopic.php?t=5075
- What is your full battery voltage? You have set udcmax=350V so it will start derating at about 340V
At standstill it is likely that rotordir is opposed to seldir because the direction can only be determined once the rotor is spinning. So I think your problem is not related to that
Re: SDU rotordir problems
Posted: Wed Mar 12, 2025 1:56 pm
by hanstoorman
I have attached the 2 screenshots of the spot values, one is from a godd working SDU and one from a jerky SDU.
When the SDU starts jerking the rotordir and seldir have opposite value, this behaviour is very constant.
Re: SDU rotordir problems
Posted: Wed Mar 12, 2025 2:08 pm
by hanstoorman
Sorry Johannes, you are right about the version, it is v5.34.R-sine
My maximum voltage is 84cells x 4,2V = 353V
Re: SDU rotordir problems
Posted: Thu Mar 13, 2025 6:39 am
by johu
Are we talking about 2 drive units or one?
Re: SDU rotordir problems
Posted: Thu Mar 13, 2025 6:51 am
by hanstoorman
One drive unit
Re: SDU rotordir problems
Posted: Thu Mar 13, 2025 6:57 am
by johu
Ok. When it is jerky can you make a plot of potnom please
Re: SDU rotordir problems
Posted: Thu Mar 13, 2025 7:26 pm
by hanstoorman
Here are two plots with potnom, pot and idc.
Re: SDU rotordir problems
Posted: Thu Mar 13, 2025 8:49 pm
by johu
Ok, so it's not derating.
Can you plot fstat when jerky?
Re: SDU rotordir problems
Posted: Fri Mar 14, 2025 6:53 am
by hanstoorman
Here is a plot of fstat, idc and potnom
Re: SDU rotordir problems
Posted: Fri Mar 14, 2025 7:08 am
by johu
Ok, so it's only at slow speed then?
Re: SDU rotordir problems
Posted: Fri Mar 14, 2025 7:15 am
by hanstoorman
It is not possible to drive, the car only bouncing. When you press the throttle the bouncung gets louder.
When you push the car a bit forward and it starts rolling it is possible to drive bud it drives jerky.
Re: SDU rotordir problems
Posted: Fri Mar 14, 2025 7:17 am
by hanstoorman
This problem only happens once in the 5 times at starting up the car. The other 4 times there is no problem at all and the car drives smoothly
Re: SDU rotordir problems
Posted: Sat Mar 15, 2025 1:40 pm
by hanstoorman
Is it possible with my hardware to downgrade to 5.13.R-sine? I have more experience with this firmware version.
Re: SDU rotordir problems
Posted: Sat Mar 15, 2025 2:44 pm
by johu
Yes
Would be interesting to see if that fixes it and in which version it reappears
Re: SDU rotordir problems
Posted: Sat Mar 15, 2025 4:39 pm
by hanstoorman
I tried 3 different firmware versions: v5.35_r_sine, v5.32_r_sine and v5.27_r_sine, same problem.
During the last firmware update by accident the 12V to the SDU was disconnected, now I can't connect to the board again.....
Is there a way to connect to the board again with CAN and upload a new firmware version?
Re: SDU rotordir problems
Posted: Sat Mar 15, 2025 5:24 pm
by johu
hanstoorman wrote: ↑Sat Mar 15, 2025 4:39 pm
now I can't connect to the board again
the wifi it not there or you just don't see parameters? If the latter just re-run the update
Otherwise get can-updater.py here
https://github.com/jsphuebner/stm32-CANBootloader
Of course that needs some CAN adapter to be set up
Re: SDU rotordir problems
Posted: Sun Mar 16, 2025 11:35 am
by hanstoorman
Thanks, I re-run the updater and it works again
I also found the jerking problem!!!
The handbrake of one wheel got stuck. After fixing the brake it all works
Thanks Johannes for your responses and help.
Re: SDU rotordir problems
Posted: Sun Mar 16, 2025 12:28 pm
by johu
ABC always blame car

Re: SDU rotordir problems
Posted: Sun Mar 16, 2025 12:50 pm
by hanstoorman
Hahaha, you are right
Is it possible to change the topic name to jerky car problems, it makes more sense then rotordir problem
Re: SDU rotordir problems
Posted: Sun Mar 16, 2025 10:03 pm
by johu
Just edit your entry post, there you can change the title
Re: Jerky car at pull up
Posted: Wed Mar 19, 2025 7:40 am
by hanstoorman
the handbrake was unfortunately not the problem, the inverter was defective. probably got too hot and therefore 1 or 2 phases failed. With a new inverter it drives smoothly again