2025-09-11 9:46 AM
Hi,
When the start command is issued on the STEVAL SPIN3202, while in FOC mode, the board immediately falls into overcurrent protection mode. The voltage on the current sense resistor is captured in the attached oscilloscope image. The board is configured as follows: Header JP8: Pin 2-3 closed, FOC mode. Header J11 closed, Header J12 open.
When overcurrent protection is turned off in the MotorControl Workbench, there is no PWM output.
The motor is driven in sensorless mode, 30V DC, 10A max. When start is pressed, a short audible "click" can be heard from the motor, until overcurrent protection kicks in.
I can provide more details when requested.
Thanks, MaPi
2025-09-12 2:39 AM
Hello @mapik007,
Did you review section 2.2.3 - overcurrent detection and current sensing measurement in the STEVAL-SPIN3202 evaluation board user manual?
2025-09-12 3:23 AM
Hi @GMA ,
I have reviewed the user manual you have provided. I did not set the OCP threshold manually, as it is managed by the MC Workbench app, which I have set as in the attached screenshot below. What is weird, is the fact that the user guide you provided mentions different amperage thresholds than the MC WB program at the same mV setting. The OCP trips on every setting possible in the MC Workbench app (10A, 25A, 50A). Furthermore, the lab PSU I am using will output a max of 10A @ 30V (which should definitely not trip the OCP when set at 50A).
Best regards
mapik007
2025-09-22 6:51 AM - edited 2025-09-22 8:06 AM
Hello,
You are correct about the user manual table (the question has been sent to the STEVAL-SPIN3202 team, and it has been confirmed that the Workbench values are the correct ones. Documentation will be updated accordingly, thank you for the report).
Use an oscilloscope to measure the OCCOMP input (JP8 2-3) and verify the achieved level.
You can also try to decrease the current target in the start-up profile on the Motor Pilot tool Rev-Up tab.
2025-09-23 2:46 PM
Hi @GMA ,
I have decreased the current in the startup profile way below the rated current of the motor (see the attached photo). I have measured the OCCOMP pin on header JP8, while the jumper is connected between pin 2-3 (FOC mode). The resulting capture shows the voltage on the pin when "START" is pressed in Motor Pilot. The symptoms are still the same - an audible "click" when the start button is pressed, following with overcurrent protection cutoff. Based on the pin measurements (900mV), I have also tried to decrease the input voltage (from 30V to 10V), which resulted in a longer "beep" when clicking start, before the OCP kicked in. The measurements can be seen in capture 2 and 3.
Current Profile Curve
OCCOMP @ 30Vin on START
OCCOMP @ cca 10Vin on START - whole sequence
OCCOMP @ cca 10Vin on START - detail of OCP trip
Best regards.
mapik007