cancel
Showing results for 
Search instead for 
Did you mean: 

EVSPIN32F0602S1 Motor Driving with speed control

osmantasbasi
Associate II

Hello,

I have purchased EVSPIN32F0602S1 motor control board for controlling my motor. I have tried too many configurations to control the motor but I have failed. My motor specs are 325VDC, 8A BLDC motor. For the tests, I have applied 60VDC voltage to board. In open loop and speed sensing config is Observer+PLL, I have managed to turn the motor for a while, after that it returned me FOC Duration error. Then I selected speed sensing config as HAL Sensor, but no matter which configuration I tried, it didn't work. Here is the figures about my configuration.

osmantasbasi_0-1757485886552.png osmantasbasi_1-1757485910953.png

osmantasbasi_2-1757485935480.pngosmantasbasi_3-1757485950434.png

 

Please guide.

 

 

 

7 REPLIES 7
GMA
ST Employee

Hello @osmantasbasi,

Try reducing the PWM frequency.
For error description and management, refer to the documentation available through Workbench tool > About > Documentations > Documentation > User manual tab, (FOC) Firmware errors link.

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

Hi, @GMA 

I have reduced pwm frequency to 10KHz, but motor doesn't turn. I am using Motor Pilot app to control board, when I pressed the start button, there is a noise coming from motor, but it doesn't run.

Here is the run state of board.

osmantasbasi_1-1757510963170.png

 

 

Hello @osmantasbasi,

For the Hall sensor use case, did you use the Motor Profiler tool (documentation available in the User manual and Motor profiler application note) for the Hall sensor parameters computation?
Check the motor U, V, W phase connections, and verify the Hall sensor DC supply and H1/H2/H3 behavior.

 

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

Hi, @GMA 

I have tried driving motor with hall sensors, but it made noises and it returned speed feedback error or start-up failure. When I try the Motor Profiller tool, it returns me "Motor profiller not available for MCU". I am totally sure U, V, W wirings are correct. Is there any tutorial or example of using this board to drive BLDC motor with or within HAL Sensor?

Hello @osmantasbasi.,

On your previous attempt, the PWM frequency is still set to 20 kHz (visible on the Motor Pilot interface).

With Observer+PLL on the main sensor and the HALL sensor on the auxiliary, plot the STOPLL_EL_ANGLE and the HALL_EL_ANGLE using the Motor Pilot high-frequency plot. Both signals must be aligned.
Decrease the PWM frequency when the FOC duration is triggered.

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

Hi @GMA 

I have created new st workbench project to apply your suggestion. I have selected board as evspin32f0602s1 and my custom motor. After applying configurations, I have generated project with keil mdkarm5. On motor pilot application when I press the start button motor turn for a while and stops then makes increasing noises. Then getting speed feedback error.

osmantasbasi_0-1758176741581.pngosmantasbasi_1-1758176752559.png

osmantasbasi_2-1758176770523.pngosmantasbasi_3-1758176780229.pngosmantasbasi_4-1758176787185.pngosmantasbasi_5-1758176797018.pngosmantasbasi_6-1758176811075.pngosmantasbasi_7-1758176820682.pngosmantasbasi_8-1758176830054.pngosmantasbasi_9-1758176843187.pngosmantasbasi_10-1758176850938.pngosmantasbasi_11-1758176860906.pngosmantasbasi_12-1758176866648.pngosmantasbasi_13-1758176877642.pngosmantasbasi_14-1758176883951.png

Can you please help me? What steps should I follow?

 

Hello @osmantasbasi,

For Error description and management, refer to documentation available through "Workbench tool">About>Documentations>Documentation>"User manual" tab, "(FOC) Firmware errors" link.

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