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
  • 211 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
  • 5248 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
  • 6305 Views
  • 2 replies
  • 6 kudos

About the algorithm selection of sensorless PMSM

Hi ST community,I tried to use STM32CubeMX for motor control of sensorless PMSM. I am confused about the Speed Sensing module. There are three modes of sensorless: Observer PLL, Observer Cordic, HFI+Observer, what is the trade-off between them? HFI+O...

Dldw.1 by Associate II
  • 1908 Views
  • 4 replies
  • 0 kudos

Resolved! At motor BRK interrupt handler, TSK_SafetyTask() should be called instead of MC_Scheduler() to immediately execute fault processing?

(Environment)MC_SDK 5.Y.3 + STM32CubeMX 6.3.0 with HAL + IAR EWARM 8.5(Hardware)custom board based on F446RE + custom power board + Low Voltage BLDC motor with Encoder(Control Mode)Speed Control(What I found)In "stm32f4xx_mc_it.c", there is TIMx_BRK_...

THA.1 by Associate II
  • 1386 Views
  • 5 replies
  • 0 kudos

STM power up with motor running

STM32F405MCSDK = V5.4.5f_pwm = 10kHzHigh frequency task = 10kHzMedium frequency task = 1kHzPosition and speed = Hall (main) & STO+PLL (auxiliary)Current sensing = 3 x 3mOhm shuntsIs it possible with the MCSDK to power up the processor with the motor ...

11235813 by Associate II
  • 543 Views
  • 1 replies
  • 0 kudos

PMSM hardware with MCSDK v6

Hi good day, i have a fanuc AC PMSM 140v, 6NM, 4.6A, 1kw, 2000ppri see the tool hardware and think what the follow kit is convenient:1.- Nucleo G431RB2.- X-nucleo IHM09M13.- STEVAL-IPM30Bbut i see MCSDK v6 no support this hardware, then I ask some ge...

RMasi.19 by Associate II
  • 543 Views
  • 1 replies
  • 0 kudos

How to tune FOC PI loops in motor control workbench

Hello Can you point me to some documentation regarding the tuning of the PI control loops in motor control workbench, I found this video https://www.youtube.com/watch?v=Tmq2PL8bf3g&list=WL&index=40, this outlines the procedure using the rev-up table ...

IAher.1 by Associate
  • 636 Views
  • 0 replies
  • 0 kudos

Resolved! Hello,im working in BLDC motor using stspin IC.for testing purpose im usinmg STEVAL SPIN32F0 Board,but in that motor is runing only with plug into software.without connecting the stworkbench motor is not running.how i will come from this ?

Also there is one pin that is connected to potentiometer.but there is no any options in st workbench to varry the speed using potentiometer. I look forward to hearing from you as soon as possible.thank you

Anjali by Associate
  • 579 Views
  • 1 replies
  • 0 kudos

I can't distinguish comp4 and comp 6 in interrupt

hello everyone,ı am trying BLDC motor driver with stm32f302R8 but ı having a problem with comp4 and comp6 interrupt. when ı input COMP4_6_IRQHandler, ı try to distinguish comp4 and comp6 interrupt. but both comp4 with comp6 be activating. ı can't fin...

0693W00000QM1slQAD.png 0693W00000QM1sqQAD.png 0693W00000QM1sgQAD.png

Resolved! ERROR: ASPEP PACKET ERROR Bad CRC Header

Hi, I am using board B-G431B-ESC1 and Motor Control 5.Y.3.When controlling the motor through the Motor Pilot and increasing the current, I get a recurring Bad CRC Header error.There is a neighboring forum thread where this is discussedhttps://communi...

0693W00000HobxNQAR.png
DTort.1 by Associate III
  • 1530 Views
  • 2 replies
  • 0 kudos