Skip to main content
Associate II
August 4, 2025
Question

EVSPIN32G4-DUAL board takes very large current

  • August 4, 2025
  • 2 replies
  • 460 views

[PN]: EVSPIN32G4-DUAL, STSPIN32G4, STDRIVE101
[VERSION]: 6.4.0
[TOOL]: Motor Control Workbench
[DETAILS]:When I start the motor from motor pilot, even though I have set low peak currents (0.2A) in the project, on startup more than 1.8A is taken from the power supply for approx 0.5s. Afterwards the current stays at 1.3A

[EXPECTED BEHAVIOR]:I would expect the current to be limited to the values specified in the design file.
[HOW TO REPRODUCE]:just start motor from motor pilot

2 replies

GMA
Technical Moderator
August 5, 2025

Hello @GSB,

What is the maximum current value when plotting IA and IB current signals using MC Pilot?

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA
GSBAuthor
Associate II
August 6, 2025

GSB_0-1754465843911.png

+/- 2.5A spikes. I am using a Faulhaber motor with absolute encoder Biss-C feedback. Eventually I worked out how to start the current and rotor alignment correctly with each other and can reduce the startup and running current to very low values < 20mA for motor. I removed the alignment phase from the motor startup state machine between boot cap charge and run. When the motor turns in positive direction it is stable. When the motor is rotating negatively the current and rototation seems to be unstable after a few seconds and I get the spikes again and the motor just vibrates. Once it gets into the unstable state. I cannot restart the motor from motor pilot without it oscillating, unless I power cycle the board. Where is the parameter set of the unstable motor stored such that the current continues to oscillate unless I power cycle?

GMA
Technical Moderator
August 6, 2025

Hello @GSB,

Checking your STWB6 project, the Rshunt value has been modified from 0.01 Ω (default value) to 0.1 Ω. Has the hardware modification been implemented accordingly (which could explain the x10 current factor)?
If you consider making hardware changes to the current sensing path, ensure that the ADC input dynamic range is correct.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA
GSBAuthor
Associate II
August 6, 2025
Yes the current sense is correct.