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
  • 157 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
  • 928 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
  • 5470 Views
  • 5 replies
  • 3 kudos

STM32G431 shunt + opamp + comparator network values

I have changed the G431-ESC-1 shunt resistor to 0.001ohm, and gain network resistor values as attached pics, for 100A phase current max with 1mOhm shunt resistor after the off-set circuit, the voltage is 0.19V to comparator's + input (non-inverting) ...

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
  • 4228 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
  • 1402 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
  • 1035 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
  • 5462 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
  • 11085 Views
  • 6 replies
  • 1 kudos