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
  • 393 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
  • 5348 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
  • 6427 Views
  • 2 replies
  • 6 kudos

Resolved! speed measurement resolution

Hello.I am currently conducting FOC (Field-Oriented Control) tests using the Motor Control Workbench with the Nucleo-G431RB board and the IHM08M1 power stage.My target speeds are 300 rpm and 150 rpm.However, when using Hall sensors with motors that h...

sjson by Associate
  • 222 Views
  • 2 replies
  • 0 kudos

Resolved! HSO ADC config

Hi :[VERSION]: MCSDK 6.3.1I have some questions regarding the HSO ADC sampling configuration. I am currently using a custom PCB to validate the HSO algorithm with the STM32G431 chip. ADC1 and ADC2 are used to sample voltage and current separately. Th...

propu by Associate II
  • 821 Views
  • 4 replies
  • 0 kudos

EVSPIN32G4 & Portescap 16ECP52 profiling fails

Dear all,[PN]: EVSPIN32G4 & Portescap 16ECP52 Ultra EC Slotless Brushless DC Motor (Datasheet as pdf attached)[VERSION]:MC Workbench : 6.3.2WB_to_Mx : 6.2.3.template-24-04-17STM32CubeMX : 6.14.1MC Firmware Library: 6.3.2-FullTarget Toolchain : ST STM...

Hartwig by Associate
  • 161 Views
  • 3 replies
  • 0 kudos

Resolved! B-G431-esc1 inserting fault

Hi all,I need to insert fault on upper key of the driver. In order to achive this Im changing dedicated  TIM1 output to Input to output low. After inserting fault motor stops. Is it possible to achive this? Could someone explain what Im doing wrong. ...

rev-up : on the fly star up

Hello Everybody,MCSDK:6.3.0CubeMX: 6.1.1Workbench : 6.3.0CubeIDE : 1.15.0 I’m currently working on a sensorless FOC setup using SMO + PLL for rotor angle estimation.During the rev-up phase, I'm trying to implement on-the-fly startup, where the motor ...

Vincent7 by Associate III
  • 194 Views
  • 1 replies
  • 0 kudos

Resolved! Electrical angle interpolation option in MC WB

Hello,I am trying to enable electrical angle interpolation option in MC WB for the hall sensor, however, I am not seeing any changes in the generated code. I think this option is related to the REV_PARK_ANGLE_COMPENSATION_FACTOR since it is used to c...

AnthonyK by Associate III
  • 162 Views
  • 1 replies
  • 0 kudos