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
  • 155 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
  • 924 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
  • 5464 Views
  • 5 replies
  • 3 kudos

What to change in FOC code for lower inertia?

I have a BLDC motor running reliably with FOC code on a STM32G431 MCU. For unrelated mechanical reasons we need to drop our inertia by about 4x from where it is running today. For the speed loop I fully understand lowering inertia raises the loop ga...

BTrem.1 by Senior II
  • 711 Views
  • 2 replies
  • 0 kudos

STEVAL-ESC001V1 communication protocol

Dear All,Does anybody have any documentation about this motor controller's communication protocol?I would like to use this controller - as it is, connecting a STM32 via UART (not PPM, since I'd like to get the measured data back), but I could not fin...

MNaft.1 by Associate
  • 545 Views
  • 2 replies
  • 1 kudos

Resolved! Nucleo power supply when plugged on X-NUCLEO-IHM08M1

Hello,I am using an X-NUCLEO-IHM08M1 board plugged on a G431 Nucleo board and I have a question regarding the Nucleo power supply.In the IHM08 Quick Start Guide it is noted that the JP5 PWR jumper must be set to E5V (powered from morpho connector), h...

0693W00000FBHsRQAX.png 0693W00000FBHtPQAX.png
Grann by Associate II
  • 1435 Views
  • 6 replies
  • 0 kudos

Resolved! ADC not working with NUCLEO-G431RB.

NUCLEO-G431RB + X-NUCLEO-IHM07M1MCWB 5.Y.3 + STM32CubeIDE 1.7.0Maxon motor combination: 200142 + 166935 + 673026I have created a project to drive a BLDC motor with the above mentioned equipment, I was able to create a basic project to drive the ...

msingh by Senior
  • 1488 Views
  • 3 replies
  • 0 kudos

Whitepaper - Improve Motor Drive Efficiency

Check our recent whitepaper on how to improve motor drive efficiency Register here and read through the latest techniques:Optimized AC inverter designsChoice of the inverter switching frequencyPWM modulation techniquesSoftware Control methods for ens...

0693W00000FBLrSQAX.png

Oscillation at higher load in Speed mode

Ian using a dyno to apply load and using B-G431B-ESC1 with a pmsm motorSPEED: KI= 950, KP= 13767, Torque KI= 1005 reduced from 3005 earlier torque kp=82 (tuned settings)I have attached a snapshot ,as gradually I increase load (oz-in) in steps1) at rp...

Ajosh.1 by Associate
  • 839 Views
  • 1 replies
  • 0 kudos

Why is ESC not starting the DC motor?

Hi, I am using the code below to spin my brushless DC motor. When I used another code where I have a potentiometer to vary the motor speed, the motor spins without problem so I don't think the DC motor and ESC are faulty. Is there something wrong wit...

M7890.1 by Associate III
  • 805 Views
  • 1 replies
  • 0 kudos