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
  • 560 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
  • 3281 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
  • 7581 Views
  • 5 replies
  • 3 kudos

Whitepaper - Improve Motor Drive Efficiency

Check our recent whitepaper on how to improve motor drive efficiency Register here and read through the latest techniques:Optimized AC inverter designsChoice of the inverter switching frequencyPWM modulation techniquesSoftware Control methods for ens...

0693W00000FBLrSQAX.png

Oscillation at higher load in Speed mode

Ian using a dyno to apply load and using B-G431B-ESC1 with a pmsm motorSPEED: KI= 950, KP= 13767, Torque KI= 1005 reduced from 3005 earlier torque kp=82 (tuned settings)I have attached a snapshot ,as gradually I increase load (oz-in) in steps1) at rp...

Ajosh.1 by Associate
  • 938 Views
  • 1 replies
  • 0 kudos

Why is ESC not starting the DC motor?

Hi, I am using the code below to spin my brushless DC motor. When I used another code where I have a potentiometer to vary the motor speed, the motor spins without problem so I don't think the DC motor and ESC are faulty. Is there something wrong wit...

M7890.1 by Associate III
  • 899 Views
  • 1 replies
  • 0 kudos

Resolved! How to measure the motor parameter?

 Is st mc sdk support measure the motor parameter only use the board, not use STMotorProfiler?It is useful to driver different motor when the foc board used as a general driver product.

llm by Associate III
  • 794 Views
  • 1 replies
  • 1 kudos

how and where to download the st foc example source code?

I mean the eval board foc source code., not the sdk. I searched on the st website, but find none.In the pc directory "STMotorProfiler\resources\assets\fws", I found the firmware, like as NUCLEO-F446RE#STEVAL-IPMNG3Q 3Sh#(5.4.0)#(3A1B794F).hex, but I...

llm by Associate III
  • 689 Views
  • 1 replies
  • 1 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
  • 747 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
  • 1017 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
  • 1584 Views
  • 2 replies
  • 0 kudos