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
  • 360 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
  • 5344 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
  • 6389 Views
  • 2 replies
  • 6 kudos

Resolved! Motor control workbench 6.1.1 custom board creation

Dear All,I would like to update old projects from workbench 5.Y.2 to workbench 6.1.1. I am using custom board. With 5.Y.2 I can configure the custom board, but with 6.1.1 I'm not able to configure my board. How can I solve the problem?

prigh.1 by Associate II
  • 3950 Views
  • 13 replies
  • 1 kudos

BLDC motor driver

Hello. I would like to design a bldc motor controller using stm32G4 series. I recently ordered stm32g431rbt6 because of the on chip opamps and dacs. Also in the datasheet it states that there are timers for advanced motor control. I am seeking assist...

Karis by Associate
  • 1343 Views
  • 1 replies
  • 0 kudos

In the MC workbench, I get compilation error when enabling open loop mode in FOC for a PMSM with encoder. the OpenLoop_handle OpenLoop_ParamsM1 constants are not defined

TOpenLoop_Handle_t OpenLoop_ParamsM1 ={ .hDefaultVoltage = OPEN_LOOP_VOLTAGE_d, .VFMode      = OPEN_LOOP_VF, .hVFOffset    = OPEN_LOOP_OFF, .hVFSlope     = OPEN_LOOP_K};Constant are undeclared. Any ideas what should be those value? I also don't under...

Resolved! Motor profiler restrictions

I'm using motor profiler for the motor control. I have the following hardware components:STM32 Nucleo-F4446REX-NUCLEO-IHM16M1Mitoot motorIn the motor profiler, it mentions that IHM16M1 can only work sith STM32 Nucleo-G4 and that F4 and IHM16 combined...

GJamo.1 by Associate II
  • 991 Views
  • 2 replies
  • 0 kudos

Resolved! MC Workbench GENERATION reports errors for a project that was generating fine a few months (mcucrossselector.codex.cro.st.com and Found unsupported composite condition)

When I try to generate code for a project that was generating properly in Feb 2023, I now get the following errors:ERROR [LineInfo_to_exitCode.log_LineInfo] The ST intranet updater server is unknown: mcucrossselector.codex.cro.st.comERROR [LineInfo_t...

DOuel.1 by Associate II
  • 5214 Views
  • 13 replies
  • 0 kudos

Resolved! Derivation of the Clarke Park transformations and SVM in the STSpin library

Hello,Looking over the STSpin implementation of the Clarke Park transforms and SVM has raised some questions about the derivation of the transform. Typically the the Clarke Transform takes the form of:퐼훼=퐼푎퐼훽=1√3(퐼푎+2퐼푏STSpin's implementation effecti...

TypeKazt by Associate III
  • 10787 Views
  • 6 replies
  • 1 kudos

Blocking BLDC motor at zero speed.

I am using board B-G431B-ESC1 and Motor Control 5.Y.3. How to implement BLDC blocking at zero speed. I have Hall sensors in the motors, but there is no encoder so I cannot control the position. I do not need position control, I just need a lock, and ...

DTort.1 by Associate III
  • 3779 Views
  • 12 replies
  • 0 kudos