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

User Manual MCSDK documentation

  Dear MCSDK users, The full MCSDK documentation is embedded in the Motor Control Workbench tool. Refer to Workbench tool > About > Documentations > Documentation.This document provides: Introduction: Includes startup guide links for MCSDK, HSO featu...

GMA by ST Employee
  • 562 Views
  • 0 replies
  • 0 kudos

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
  • 3287 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
  • 7587 Views
  • 5 replies
  • 3 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
  • 2527 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
  • 1768 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 ...

Using timer 3 to read hall sensors

I’m trying to use the timer3 ch1 ch2 ch3 of stm32g4 to read the hall sensors of motor but selecting this config under workbench 5.y. the motor doesn’t work. The default hall sensors timer is timer2. Any idea?

SLori.1 by Associate II
  • 4726 Views
  • 23 replies
  • 0 kudos

Resolved! See details

Hi,Some feedback for ST on the latest motor control MCSDK_v5.Y.3: Within files mcptl.h and aspep.c, bad practice to name an enumerated constant 'free', as of course conflicts with stdlib.h free function. We include stdlib.h for a few standard functio...

DKing.1 by Associate II
  • 1182 Views
  • 1 replies
  • 0 kudos