cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL SPIN 3202 overcurrent protection trips on start with FOC

mapik007
Associate II

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

current.png

 

4 REPLIES 4
GMA
ST Employee

Hello @mapik007,

Did you review section 2.2.3 - overcurrent detection and current sensing measurement in the STEVAL-SPIN3202 evaluation board user manual?

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA

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).

mapik007_0-1757671963678.png

Best regards

mapik007

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.

 

GMA_1-1758548423081.png

You can also try to decrease the current target in the start-up profile on the Motor Pilot tool Rev-Up tab.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA

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 CurveCurrent Profile Curve

OCCOMP @ 30Vin on STARTOCCOMP @ 30Vin on START
OCCOMP @ cca 10Vin on START - whole sequenceOCCOMP @ cca 10Vin on START - whole sequence

OCCOMP @ cca 10Vin on START - detail of OCP tripOCCOMP @ cca 10Vin on START - detail of OCP trip

Best regards.

mapik007