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
  • 611 Views
  • 0 replies
  • 3 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
  • 5396 Views
  • 5 replies
  • 3 kudos

MCSDK documentation and your feedback

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

Zied b. by ST Employee
  • 6508 Views
  • 2 replies
  • 7 kudos

Code deleted after re-generation

I generated with MC Workbench some code sa use to program an inverter. I want to plot with the monitor the value read from the potentiometer, i.e., the value stored in "rawValue"I had managed to graphically plot on the monitor "rawValue" variable use...

luke514_0-1729863051366.png
luke514 by Senior
  • 719 Views
  • 3 replies
  • 2 kudos

Resolved! How to set a glitch free 100% duty cycle PWM output

To control a DC motor driver I need to set one pin permanently high and the other is inverse PWM.If I want to reverse the motor direction I need to swap these settings.So I configured both pins as PWM output.But if I want to set one output pin high t...

WSpar.1 by Associate III
  • 2967 Views
  • 3 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
  • 5396 Views
  • 5 replies
  • 3 kudos

How to calculate the Ke?

I refer here:https://wiki.stmicroelectronics.cn/stm32mcu/wiki/STM32MotorControl:How_To_manually_configure_the_motor_parameters Below is the profiler's result. Ke=9.59 Vrms/kRPM.Below is my owm test.Vpp=13.6v,pole pairs=5,fbemf=83.33Hz. Ke=(13.6*5*100...

Setup_motor_parameters_manually-7.png 20231008160258.png TEK00107.PNG
gtop.1 by Associate III
  • 2930 Views
  • 9 replies
  • 2 kudos

Resolved! Read only from one channel of the ADC

I have two active ADCs with many channels reading, some in regular converison, some injected, etc.The code is autogenerated from MC Workbench, but I added a channel 11 for an external potentiometer.I don't really know in the autogenerated files where...

luke514_0-1729697663038.png luke514_0-1729698295963.png
luke514 by Senior
  • 895 Views
  • 4 replies
  • 0 kudos

Increasing Current for a BLDC Motor Under Load

Hello ST Community,I'm using an X-NUCLEO-IHM17M1 shield with a NUCLEO-F401RE board to control a 6V BLDC motor (motor specifications are attached below). Both the 6-step and FOC control algorithms are functioning as expected, and the motor operates co...

hashiR_0-1729920343811.png
hashiR by Associate III
  • 372 Views
  • 0 replies
  • 0 kudos