cancel
Showing results for 
Search instead for 
Did you mean: 

How can change the RPM using motor control SDK API.

Tido1
Associate

Hi,

SETUP:

IPM30B-3sh + STM32F302R8 + 2.5KW BLDC Motor

I have been trying to run the motor sensorless + PLL, i have been able to run the motor with predefined ramp.

question:

Q1. How can control the speed of motor using the gui tool and knob in MC-Workbench?

Issue:

Stops after the 5th ramp in advanced settings in parameter with a startup failure.

same issue with basic settings.

tried:

calling the motor control function i (defined in mc_api.c and mc_config.c), "StartMotor" & "MC_ProgramSpeedRampMotor1" inside main loop.

i want it to the motor to run continuously after the initial ramp-up stage till i hit or call StopMotor().

thanks,

Any help is appreciated.

1 REPLY 1
Laurent Ca...
Lead II

Dear @Tido​ 

Welcome to the STM32 Community

Could you give more details to the STM32 Community about your setup -the material you use- including SW tools?

(HW and SW, CPU(s), tools and versions, board(s), motor(s) and so on)

And more especially did you use STM MC tools (such as MC_suite, MC-Motor Profile, MC-SDK, MC-workbench, and so on)?

Best regards

Laurent Ca...