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
  • 308 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
  • 5312 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
  • 6362 Views
  • 2 replies
  • 6 kudos

STM32 AC Servo Motor with Encoder and Break

Hi,I have EVSPIN32F0601S3 Development Board and NUCLEO-F302R8 Board:and have to interface below AC Servo Motor for Speed, Torque and position control application.Part Number: MHMD082G1Vhttps://www3.panasonic.biz/ac/ae/search_num/index.jsp?c=detail&p...

Motor fluctuates at +80rpm and -80rpm

Hi,I used Nucleo-F446RE and X-Nucleo-IHM08M1 for FOC control of PMSM motor.Motor Profiler to determine parameters.Then WB, CubeMX and CubeIDE able to generate code. Start Motor using Monitor screen, the motor fluctuates at +80rpm and -80rpm.Need help...

VGani.1 by Associate III
  • 576 Views
  • 3 replies
  • 0 kudos

B-G431B-ESC1 overcurrent fault

After profiling my motor with motor profiler, I start a new project with workbench and generate code for Cube IDE. compile it and flash it with STlink utility at adress 0x08000000.then back to workbench and try to start motor but I have an immediate ...

Onorm.1 by Associate II
  • 1973 Views
  • 7 replies
  • 0 kudos

I have connected with wires my L298 H-bridge to my STM32F401 . By default once plugin to the computer the motor starts rotating(only connected on motor) . On my connector D5 which is PWM makes it rotate if i plug the wire to another PWM it does not .

All my inputs are assigned to the PWM , but by default only on rotates and if i switch one ore do another PWM it doesn't work . Don't understand why's that.Looked at both schematic and ii don't know why that's happening.

Motor occasionally spins much faster than commanded

Unfortunately, I do not have much info as to what causes this. I am using the FOC library with a 3-phase BLDC and encoder as speed feedback. Sometimes when I send a ramp command, the motor flies to ~5000 RPM regardless of the target speed I set. It i...

nmamore by Associate II
  • 495 Views
  • 1 replies
  • 0 kudos

ACIM GUI NOT GENERATE CODE??

Hi,I'm using ACIM GUI. I want to generate code for ACIM motor but I'm taking this fault : The file C:/Program Files (x86)/STMicroelectronics/MC_SDK_5.Y.2/Utilities/PC_Software/..stmcx does not exist.Can you help me this problem?Have a good day.

0693W00000D1yfSQAR.jpg 0693W00000D1yfNQAR.jpg
Eakso.2 by Associate II
  • 618 Views
  • 1 replies
  • 0 kudos

RPM Limit on Sense Resistor Change

I have a 2 pole pair BLDC 24V 2A motor capable of 49kRPM. I used the 5.Y.2 Profiler to create a motor profile and the 5.Y.1 to import the motor profile into a SPIN32G4EVAL project. Using the default 5mohm sense resistors, I am able to spin the motor ...

WSega.1 by Associate II
  • 1320 Views
  • 3 replies
  • 0 kudos

Resolved! FOC with STSPIN32F0B: Phase Signal

Hello ST Community,in my application I use an STSPIN32F0B in FOC.The design is similar to the STEVAL-SPIN3202 demo board. I used the STSPIN32F0A in Motor Control Workbench to generate the code (STSPIN32F0B is not in the Motor Control Workbench). I us...

FStad.1 by Associate
  • 1646 Views
  • 4 replies
  • 0 kudos