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
  • 722 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
  • 5407 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
  • 6526 Views
  • 2 replies
  • 7 kudos

Resolved! B-G431B-ESC1 MotorControl "wrong" current measurement (how to obtain the average current through the windings)

Hi ST CommunityI am using a default MotorControl setup with the B-G431B-ESC1 board and a BLDC motor with hall sensors. The project is generated using MC Workbench with default values. I am having a hard time to decipher the value provided by the func...

JA.1 by Associate III
  • 2475 Views
  • 8 replies
  • 0 kudos

Resolved! STSW-SPIN3204 firmware questions

Hello Friends and ST engineer.I am controlling BLDC motor using STSW-SPIN3204 firmware with Hall Sensor. But some functions I do not understand, please explain more detail for me.HAL_TIM_OC_DelayElapsedCallback: what is this function for? why we use ...

Vnguy.1 by Associate II
  • 1796 Views
  • 9 replies
  • 0 kudos

Brake the motor in FOC?

Is there anyone here could show me how to find the break function or instruct me how to apply break the motor please? I'm using G431B ESC1. As from the Release Notes for X-Cube-MCSDK, there are couple of ways to use break in FOC: Dissipative DC link ...

PPhan.1 by Associate II
  • 1177 Views
  • 1 replies
  • 0 kudos

MCU facing some problem,

Dear STM team, Here we have using STM32f405RG MCU, for the e-bike motor controller applications. The programmer is STLink v3. Now we face some stuck in the stage, what happens in the IDE, once am using debug mode it's going to hold in stack point pla...

0693W000006FOK4QAO.jpg

Preferred motor control method

Hi everyone,I have a hobbyist drone motor with the following phase voltage plot. Can anyone recommend the preferred method of controlling this motor? Is (sensored) trapezoidal or sinusoidal control sufficient? Or do we have to use FOC control?Thank y...

KZhan.6 by Associate
  • 818 Views
  • 2 replies
  • 0 kudos

Resolved! CubeMx "can't add: motorcontrol files not found" problem

Hi everybody.When i open "SDK5x - STEVAL-SPIN3201 - BullRunning.ioc" file (that is pre-compiled example FOC motor control firmware provided by ST), "can't add: motorcontrol files not found" fault message appears on my screen. I already copied Motor C...

Ebuko.1 by Associate
  • 2896 Views
  • 4 replies
  • 0 kudos

Dual drive with FOC with STM32G431

Hi,for a project I would like to design a dual BLDC drive based on STM32G4 microcontrollers with FOC algorithm for both BLDC motors.In a first view STM32G431 with 64 pins and two STSPIN830 and 3 shunt current measurement seem to fulfill the project r...

JKoch.1 by Associate
  • 886 Views
  • 1 replies
  • 2 kudos