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
  • 714 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
  • 5406 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
  • 6519 Views
  • 2 replies
  • 7 kudos

issue on ADC sampling point

in fuction:uint16_t R3_2_SetADCSampPointSectX( PWMC_Handle_t * pHdl ) /* sector number needed by GetPhaseCurrent, phase A and B are sampled which corresponds * to sector 4 */ pHandle->_Super.Sector = SECTOR_4;Phase A and B is corresponding t...

0693W00000GY7lVQAT.jpg
Lzhiy.1 by Associate II
  • 759 Views
  • 1 replies
  • 1 kudos

Resolved! (Environment: MCSDK 5.Y.2 + STM32CubeMX 6.3.0) NUCLEO-F446RE is not working compared to other NUCLEO boards while using the same power board & BLDC motor with the same configuration. What would be the possible cause for this problem?

(Environment)MCSDK 5.Y.2, MC Workbench 5.Y.2, CubeMX 6.3.0​, IAR EWARM 8.50(Test Result)NUCLEO-G431RB + X-NUCLEO-IHM16M1 + GBM2804H-100T(BLDC sensorless) => working wellNUCLEO-L476RG + the same board & motor & configuration => working wellNUCLEO-F446...

0693W00000GWjNhQAL.jpg 0693W00000GWjNmQAL.png
THA.1 by Associate II
  • 2284 Views
  • 9 replies
  • 0 kudos

Resolved! Help on regenerative Braking for electric vehicles.

I am really struggling hard to understand the regenerative braking for electric vehicles for 48V systems. My main doubt is if the motor back emf is less than battery voltage, how does it do generation. The motor is PMSM with sinusoidal back emf and i...

VD.3 by Associate II
  • 1422 Views
  • 2 replies
  • 0 kudos

How to tune Torque (current) Control?

Hello everyone!Well, the question is this: what is the procedure for tuning the Torque/Current Controller?About the Speed Controller, it is well known how to tune the gains of the PID. In addition to the ST documentation - AN5464 - it is possible to ...