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
  • 177 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
  • 5207 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
  • 6270 Views
  • 2 replies
  • 6 kudos

Resolved! Issues with code generation for motor control

I am using a B-G431B-ESC1 inverter board to run a 36v 10A hub motor. The board is based on the STM32G431CB microcontroller so I am using the STM motor control environment to generate code for this project. Their Motor Control Workbench has a motor pr...

Hardware Changes in B-G431B-ESC1 board

I need some advice on the hardware design of the B-G431B-ESC1, i have built custom board with different ratings but based on the schematic provided. My main worry and want to understand is there is some filtering section missing for example Anti alia...

SRedd.5 by Senior III
  • 580 Views
  • 0 replies
  • 0 kudos

STSPIN32G4 running very hot

I designed my own PCB largely based on the EVALSTSPIN32G4, mine being a four layer board with components on both sides for compactness.I generated code using MC Workbench 5.Y.4 with hall sensors. I implemented my own absolute encoder via SPI, and add...

0693W00000LxnLFQAZ.jpg
PCama.1 by Associate III
  • 2493 Views
  • 6 replies
  • 0 kudos

motor phase voltage feedback

 Hi guys, I'm working on an EV motor control project, the motor type is IPMSM, and on it’s Drive, I have found that it measures the motor voltage feedbacks (middle point of inverter legs) by Op-amps (inverting Configuration) -> MCU input.The inverter...

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
  • 797 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
  • 1646 Views
  • 3 replies
  • 0 kudos