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
  • 900 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
  • 3849 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
  • 7956 Views
  • 5 replies
  • 3 kudos

Problem with correct value of placement electrical angle in MC and smooth movement in both directions (Torque mode + HALL sensors)

Hi,I have one TMOTOR RI-70 KV95 BLDC motor with HALL sensors and harmonic grive gear 1:120 and payload 10Nm controled by evalkit NUCLEOG431+X-NUCLEO-IHM08M1. I need to control it in torque mode.I generate application in MotorControl 5.4.6, FW 1.1. Wi...

ketchup by Associate III
  • 822 Views
  • 2 replies
  • 0 kudos

Resolved! FOC SVPWM code,why are hCntPhA/B/C the TIM_CCR value?

Take the 1st sector as an example,Tim1 is configured in center-aligned mode,in function PWMC_SetPhaseVoltage Ta,Tb,Tc is figured out,then TIM_CCR1~3 are set to Ta,Tb,Tc.But in my opinion,TIM_CCR1~3 should be set as below.What do I get wrong?

0693W00000FCnlyQAD.jpg
Lzhiy.1 by Associate II
  • 1125 Views
  • 2 replies
  • 0 kudos

Fastest 3P3Z (3 pole - 3 zero) controller on STM32F334

Hello! I'm trying to write the "fastest as possible" code for a 3P3Z (3 pole, 3 zero) controller, but even with SIMD32 instructions, the C code+compiler optimizations seems to win this battle.Here's the C code:static __INLINE int16_t q15_cntrl3z3p(q...

LS. B.1 by Associate II
  • 1657 Views
  • 2 replies
  • 0 kudos

How to select PWM frequency

Hardware: NUCLEO-F303RE + X-NUCLEO-IHM07M1Software: MCWB 5.Y.3 + STM32CubeIde 1.7.0Motor combination: 200142 + 166935 + 673026 (12V + 21:1 + 1024CPT) Project requirements: minimum speed: 0.4 RPM max speed: 3000 RPM (motor speeds NOT gearbox o...

msingh by Senior
  • 1399 Views
  • 4 replies
  • 0 kudos

Resolved! How to get 5V supply from STSPIN32G4

Going over the application notes, I see that VCC provides many option but with minimum of 8V (default). I need 5V to supply my encoder and the line driver.Should I just use a voltage divider to VCC and get my 5V out of it? Sorry if I am answering my ...

0693W00000FC9ZnQAL.png
PCama.1 by Associate III
  • 924 Views
  • 2 replies
  • 0 kudos

I tried with Motor Control(X NUCLEO IMH 07M1 & NUCLEO F302R8 with ST BLDC Kit DONGXING WEI A2304-1700 ) workbench with some default examples for FOC speed control but the result was not promising. No movement is happening to motor can u help me in same?

I am test the motor in motor profiler with Jumper settingsIn NUCLEO F302R8 Jumper JP5 is in E5V : External voltage is planned to supply using a 12 V adapter to X NUCLEO IMH 07M1 boardJ7 DAC/REF in X NUCLEO IMH 07M1 is kept open J7 DAC/REF in X NUCLEO...

GSrik.2 by Associate
  • 762 Views
  • 2 replies
  • 0 kudos