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
  • 776 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
  • 5423 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
  • 6544 Views
  • 2 replies
  • 7 kudos

Resolved! issue on ADC value left align

I've designed an FOC driver borad using STM32F302.The ADC that samples the resistor current is set left-align in the generated code by MotorControl Workbench 5.4.7.Does ADC have to be left-aligned?Due to this,the ADC value is always out of bound​​

Lzhiy.1 by Associate II
  • 1341 Views
  • 3 replies
  • 0 kudos

Resolved! can FOC Frequency be very low?

I've designed an FOC board.First of all,I want to realize the SVPWM without using other transformation in order to make the motor rotate first.PWMC_SetPhaseVoltage(pwmcHandle, Valphabeta);so I generate an array about Valphabeta as the code below:#de...

Lzhiy.1 by Associate II
  • 1006 Views
  • 2 replies
  • 0 kudos

issue on ADC sampling point

in fuction:uint16_t R3_2_SetADCSampPointSectX( PWMC_Handle_t * pHdl ) /* sector number needed by GetPhaseCurrent, phase A and B are sampled which corresponds * to sector 4 */ pHandle->_Super.Sector = SECTOR_4;Phase A and B is corresponding t...

0693W00000GY7lVQAT.jpg
Lzhiy.1 by Associate II
  • 766 Views
  • 1 replies
  • 1 kudos

Resolved! (Environment: MCSDK 5.Y.2 + STM32CubeMX 6.3.0) NUCLEO-F446RE is not working compared to other NUCLEO boards while using the same power board & BLDC motor with the same configuration. What would be the possible cause for this problem?

(Environment)MCSDK 5.Y.2, MC Workbench 5.Y.2, CubeMX 6.3.0​, IAR EWARM 8.50(Test Result)NUCLEO-G431RB + X-NUCLEO-IHM16M1 + GBM2804H-100T(BLDC sensorless) => working wellNUCLEO-L476RG + the same board & motor & configuration => working wellNUCLEO-F446...

0693W00000GWjNhQAL.jpg 0693W00000GWjNmQAL.png
THA.1 by Associate II
  • 2320 Views
  • 9 replies
  • 0 kudos

Resolved! Help on regenerative Braking for electric vehicles.

I am really struggling hard to understand the regenerative braking for electric vehicles for 48V systems. My main doubt is if the motor back emf is less than battery voltage, how does it do generation. The motor is PMSM with sinusoidal back emf and i...

VD.3 by Associate II
  • 1449 Views
  • 2 replies
  • 0 kudos