2026-05-25 11:35 PM
Hello:
Currently, I am using the EVPSIN32G4_DUAL board, generating the code with MotorControl Workbench, and monitoring the system via Motor Pilot.
I am encountering an issue where an overcurrent fault is triggered immediately upon startup when using a closed-loop + Encoder configuration.
I can confirm that the motor hardware is fine, because it runs perfectly when driven using the PLL configuration. However, if I disable the overcurrent protection (OCP), the system just triggers other errors, such as driver protection or a startup failure.
Here are the troubleshooting steps I have already tried without success:
Reduced the Max. application Current from 13.6A to 5A.
Adjusted the Start-up parameters (duration: 500 ms / Alignment electrical angle of Id: 0 deg / Final current ramp value: 0.3A). Note: The motor still exhibits holding torque (shaft locks properly) during the open-loop test.
Decreased the Speed loop PI gains (both P and I) by a factor of 10.
Adjusted the Current Sensing parameters (T_rise from 300 ns to 600 ns / T_noise from 500 ns to 800 ns).
My troubleshooting approach so far has been focused on reducing the startup current and lowering the current sensing sensitivity. Could you please point me in the right direction or suggest what might be causing this issue? Any insights would be greatly appreciated.
Thank you!
2026-05-26 12:31 AM
Hello @hayden1013,
Verify that the U, V, and W motor phases are correctly associated with the U, V, and W pins on the CON3 and CON4 connectors. Verify that the EncA and EncB signals are correctly associated with the H1 and H2 inputs on the J5 and J6 connectors.
Use the main speed sensor as the STO-PLL and the auxiliary speed sensor as the quadrature encoder. Display the STOPLL_EL_ANGLE and ENCODER_EL_ANGLE signals, and verify that both signals are aligned.