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
  • 244 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
  • 5270 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
  • 6327 Views
  • 2 replies
  • 6 kudos

Hello, I have been using the evaluation board STEVAL SPIN3202 and a bldc motor. the board connects to the motor control workbench but as soon as i push the button "start motor" the board disconnects .

and I have an error " communication is closed, the board does not work correctly" . what should I do to solve this problem? I have checked the power supply and I tried to reflash the board but always the same problem. Thank you , Mohamed

MOUSM.1 by Associate
  • 570 Views
  • 1 replies
  • 0 kudos

Resolved! X-Cube-MCSDK version 5.Y Introduction

The new release 5.Y of the STM32 Motor Control Software Development Kit (X-CUBE-MCDSK) offers the new SW tool “STM32 MC Motor Pilot�? (real data log capabilities thru customizable interface), support AC Induction Motor and new 6-step control for BLDC...

0693W00000AQ4RSQA1.png

Inaccuracy of power measurement vs speed of the motor

We are using STM32F301 micro along with 5.4.4 motor control SDK. We found that at different speeds we get different power measurments for the same amount of power output of the motor. Is this due to the fact that PQD_CalcElMotorPower() does not use p...

0693W00000AO2vWQAT.png
SAkki.1 by Associate
  • 650 Views
  • 2 replies
  • 0 kudos

Controlling two servo motors with one STM32 MCU

For a new motion control application it would be beneficial to control two servo motors (in velocity control mode) with one STM32 MCU. It would require to generate two PWM signals based on Hall sensor feedback from two servos. The two motor velocitie...

Kmax18 by Senior II
  • 3153 Views
  • 2 replies
  • 0 kudos

Could someone help with MCP overrun errors ?

Hi, first the good news: I have motor control up and working. And communication with the workbench works fine. Having read up on the ST motor control protocol, and watching serial comms with the HHD software device monitor app, I can see that command...

DKing.1 by Associate II
  • 767 Views
  • 2 replies
  • 0 kudos

how to connect the interface timer to the PWM generating timer using DMA on a STM32G4 for BLDC motor coordination using three (U-V-W) Hall Sensors?

I want to use an STM32G4 to control a BLDC motor with three (U-V-W) Hall Sensors (through a TI DRV8323S three-phase integrated gate driver). To be concrete, I am planning on using TIM1 on the STM as the interfacing timer to detect state changes (on U...

TB by Associate III
  • 770 Views
  • 1 replies
  • 1 kudos

Six-step motor driving library for STSPIN32F0251

Hi All,Please has anyone worked the six step library STSPIN32F0251 for the EVSPIN32F0251S1 evaluation board ?if yes, please do you mind explaining this: When the quasi-synchronous rectification is selected under the 6step_conf.h file, the MC_Core_LL_...

0693W000008xaPWQAY.png

I am using STM32F405 for BLDC six step motor control for drone application with open source BLDC VESC code. In the PWM pulses for the low side IGBT’s, there is a weird pulse (which is unwanted) and causing problem especially during high duty cycle

The captured PWM signals with back-emf’s and currents are shown in the figure below (waveforms are recorded using Logic Analyzer). The pulse causing the problem is highlighted in yellow.I did many work-around to solve the problem but could not find a...

0693W000008xoeQQAQ.png
JJaco.3 by Associate
  • 660 Views
  • 1 replies
  • 0 kudos