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
  • 155 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
  • 925 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
  • 5465 Views
  • 5 replies
  • 3 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
  • 716 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
  • 608 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
  • 639 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
  • 917 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
  • 1480 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
  • 1160 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
  • 801 Views
  • 2 replies
  • 0 kudos