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
  • 302 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
  • 5305 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
  • 6358 Views
  • 2 replies
  • 6 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
  • 603 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
  • 819 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
  • 1391 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
  • 1006 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
  • 759 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
  • 580 Views
  • 2 replies
  • 0 kudos