STM32 MCUs Motor control

Discuss STM32 solutions for motor control, including PID tuning, sensorless operation, ADC noise, custom algorithms, and more.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

MCSDK 6.4.0 is out!

Dear MCSDK users, MCSDK version 6.4.0 is now available: Download It here. This version of the new Motor Control SDK 6 series (X-CUBE-MCDSK) provides mainly FOC and 6Step improvements, here are the main changes for this version: Motor Control Features...

GMA by ST Employee
  • 76 Views
  • 0 replies
  • 2 kudos

Board Manager documentation is out !

The documentation of the Board descriptions format is now available on Motor Control Boards Description Wiki page, this documentation is compatible with MCSDK versions from 6.1.2. Board Descriptions are used by the ST motor-control workbench to enabl...

Zied b. by ST Employee
  • 5172 Views
  • 5 replies
  • 3 kudos

MCSDK documentation and your feedback

Motor Control Wiki: STM32 Motor Control Knowledge Database - stm32mcuMC Frequently asked questions (FAQ):Frequently asked questions (FAQ) - stm32mcu   The documentation of the Board descriptions format is now available on the Motor Control Wiki:   Wi...

Zied b. by ST Employee
  • 6232 Views
  • 2 replies
  • 6 kudos

Errors compiling with STMCubeIDE likely because module libraries aren't included. How do you include missing libraries? Or could it be something else?

We generate the firmware code using the Motor Control Workbench that calls the STMCubeMX that then calls the STMCubeIDE. We were able to successfully compile the firmware this way using the IAR IDE, but we get many compiler errors with the STMCubeIDE...

DCyr by Associate III
  • 11893 Views
  • 52 replies
  • 5 kudos

I am using UM1594 user manual for 6 step sensorless bldc motor control. There is psuedo code. It's quite well but i can't understand some points.

What's the mean of this sentence?"Lookup TIM1_CCER value from table based on phase to commutate bridge" What should i do? in page 5.Or is there any other documents to understand this topic?Six-step sensorless BLDC motor drive example software for the...

Can MCSDK accuracy ±1RPM?

My BLDC have Quadrature encoder. When I use MCSDK , I got RPM only multiples of 6, so it let motor control Steady-state error so big. How can I do that MCSDK get value can  accuracy ±1RPM?My board :STM32F407.​

KChie.1 by Associate II
  • 480 Views
  • 1 replies
  • 0 kudos

motor control closed loop

hi I was using STM32CubeExpansion_SPN7_V1.1.0 with f401re and IHM071M1 the motor with the potentiometer runs well without problems, but what I wanted to do and control the motor direction of rotation, speed and finally stop motor, I wanted to do it v...

SDall by Associate II
  • 1242 Views
  • 5 replies
  • 0 kudos

Motor moves until a specific position and then stops

I have created a position control project using the followings. Nucleo-F302R8IHM07M1MotorControl Workbench 5.Y.1STM32CubeMX 6.1.0After creating a basic project I have set up a timer generating an interrupt every 1ms. In the interrupt handler I have p...

msingh by Senior
  • 666 Views
  • 2 replies
  • 0 kudos

MotorControl Workbench generate code error:Problem during Server Connexion:IO error Received fatal alert:internal_error

hello, I use MotorControl Workbench 5.4.3 generate code,but it keeps reporting errors,I try many times,I need help.the error message is as follows:Problem during Server Connexion:IO error Received fatal alert:internal_errorProblem during Server Conn...

0693W00000BcuiiQAB.png
lchen.32 by Associate
  • 477 Views
  • 1 replies
  • 0 kudos

STEVAL-SPIN3202: FOC Duration fault

Hi,I am trying to spin a BLDC with the STEVAL-SPIN3202.I get to the point where i can communicate with the board via the ST Motor Pilot and execute commands. However everytime click the Start Button i get the FOC duration fault. Sometimes the Motor s...

MM1 by Associate II
  • 1012 Views
  • 4 replies
  • 0 kudos