cancel
Showing results for 
Search instead for 
Did you mean: 

Run BLDC motor using STEVAL-SPIN3204 in open loop mode

Sayali23
Associate II

HelloTeam ,

  we want to run BLDC motor using the STEVAL-SPIN3204 evalution board.In closed loop mode when we set speed 8000rpm it reach to 3000rpm and stop , after tunning KP and Ki in motor pilot the speed slightly increases.

Now we want to rotate motor in open loop at 30000rpm using hall sensor , for that in motor control work bench in drive setting we selecting open loop in debug setting section (snapshot shown below). 

 

Sayali23_0-1727235815847.png

 

after saving and generating project and generating code ,I am getting below error while building project in SMT IDE

 

Sayali23_1-1727235815890.png

 

 

 

can you please guide how to solve above error.

my requirement is to run motor in open loop upto 30krpm in both direction in sensored mode i.e using hall sensor

please also tell us how to change direction of motor.

 

Regards,

Sayali

 

 

 

3 REPLIES 3
Fabrice LOUBEYRE
ST Employee

Hi Sayali,

this Open-Loop + Hall sensored project is now supported.

For that purpose, i invite you to download the new version of the MCSDK 6.3.1.

https://community.st.com/t5/stm32-mcus-motor-control/mcsdk-6-3-1-is-out/td-p/723764

 

Best regards.

Fabrice

Hello Fabrice,

        Thanks for the suggestion, now I am not getting error while generating code.

but while running motor in profiler it does not reaches to its maximum speed .please guide us use how to rotate motor in open loop and how set parameters PWM buffer size,pwm duty cycle,open loop voltage factor.

we just want to rotate motor in open loop in both direction and also suggest how to change direction.

Sayali23_0-1727271448782.png

Regards,

Sayali

 

 

Sayali23
Associate II

Hello team ,

 Waiting for response.

 

Regards,

Sayali