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
  • 280 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
  • 1613 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
  • 6055 Views
  • 5 replies
  • 3 kudos

Resolved! Control and synchronization of two BLDC motors

Good day!Please tell me where I could see the connection diagram for controlling two brushless motors using STSPIN32G4? I couldn't find any information on the site. I saw a video on youtube https://www.youtube.com/watch?v=E8NkogGR--s But i couldn't f...

Resolved! How can I optimize my position loop control?

I am using MCSDK 5.Y.4 and add position loop.My controller sends a position command every 4ms.err=target_pos - current_pos,then the err value (multiply by P) is the speed loop pid input.But I found that the speed is not smooth when the motor changes ...

微信截图_20230719162859.png
gtop.1 by Associate III
  • 920 Views
  • 1 replies
  • 0 kudos

Resolved! motor control (especially FOC)

Hi ,Is there any sample code for motor control (especially FOC) in Cube IDE, Cube MX, motor control workbench, ST website, etc.?I tried to search all the Cube IDE, ST website, etc., but I couldn't find it.Also, is there any additional software I need...

Nishino08 by Associate II
  • 1878 Views
  • 3 replies
  • 0 kudos

Resolved! Speed Feedback fault in Motor Control Workbench Monitor.

I have made a SM-PMSM project for a hub motor (10 pole pairs). I can compile the generated code in STM32CubeIDE (HAL) but when I run it I always get the fault "Speed feedback" in Motor Control Workbench Monitor.There is 20ms of activity, where there ...

0690X00000ArsRRQAZ.png
Gussius by Associate II
  • 8418 Views
  • 10 replies
  • 3 kudos

Resolved! STC_GetMecSpeedRefUnitDefault prototype does not match.

The definition of the function is __weak int16_t STC_GetMecSpeedRefUnitDefault(SpeednTorqCtrl_Handle_t *pHandle) in speed_torq_ctrl.c file.It is called in mc_tasks.c as belowSTC_GetMecSpeedRefUnitDefault(pSTC[M1]),0);it is called with additional 0 ar...

SRedd.5 by Senior III
  • 711 Views
  • 1 replies
  • 0 kudos

Resolved! sending signal (UART) while running MotorControl

Hi,I'm currently working on sending signals through FDCAN or UART of B-G431B-ESC1 while driving a motor.I have written a debug code which sends UART data when a button is pressed.However, the function is called once and never called again, nor the mo...

JKong3_0-1688626066429.png
JKong.3 by Associate III
  • 4098 Views
  • 17 replies
  • 2 kudos

Trouble with STEVAL-STSPIN3201

First, I am new to this board and to development using ST products.I have identified the STEVAL-STSPIN3201 as being the platform most suited to the project I am involved with and have attempted, unsuccessfully, to use ST Motor Control Workbench 6.1.1...

DHemb.1 by Associate II
  • 3190 Views
  • 9 replies
  • 0 kudos