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
  • 200 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
  • 5237 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
  • 6291 Views
  • 2 replies
  • 6 kudos

stm32f303

hi any one know about motor control work bench observer library how can used in my project for fined psm motor angle I have my software for ac motor now only add psm I like used observerneed know st lib input out can match with my software hope any o...

I want to get a sample programm of sensor-less vector control using 3-shunt resister or 1-shunt only , not to use BEMF.

HiI'm Shundai.I bought a B-G431b-ESC1 and connected BLDCmotor and DC12VUsing the board, I want to know how to drive a BLDCmotor by 3-shunt resister or 1-shunt ( nothing positioning sensor(HALL, ENCODER) and 3-Phase CT sensor ) .I will modify the cir...

smiya.1 by Associate
  • 643 Views
  • 2 replies
  • 0 kudos

ST Motor Control Workbench is not generating code

Hello.I am tring to generate my project on st motor control workbench. I clicked to generate button and I choose the version of my CubeMX and TrueStudio. But workbench stuck in generation phase. Here is the window that I've seen for 20 minutes. What ...

0693W000001pfHnQAI.jpg
İDuma.1 by Associate
  • 567 Views
  • 2 replies
  • 0 kudos

STM32 Hall Sensor Interface

I had a few questions that I was hoping someone could help clear up. I am trying to just use the interface timer for speed calculations. When I am reading the documentation it states 3 channels are tied together to cause a trigger, what if my encoder...

CFran.1 by Associate II
  • 659 Views
  • 2 replies
  • 0 kudos

STM32100B-eval or EVSPIN32F0601s1

Hello,May I know how open the board STM32100B-eval or EVSPIN32F0601s1? I mean the FOC on either of these two boards is established. And the current loop, velocity and position loop are all controlled by PID. I wonder, is it possible that I use the fi...

Shiba by Associate
  • 459 Views
  • 2 replies
  • 0 kudos

Resolved! PID tuning to achieve smoothness at very low speeds

Hi, I am using the NUCLEO-F303RE and NUCLEO-IHM08M1 to drive a maxon 48V DC motor with incremental encoder (1024 counts). I have used the motor profiler and motor control workbench, the PID values automatically generated were completely wrong and the...

0693W000001qcpeQAA.jpg
msingh by Senior
  • 2278 Views
  • 7 replies
  • 0 kudos

MC_GetAlignmentStatusMotor1() never end

HelloI am trying to implement Position control with the latest version 5.4.4 of motor library, but the alignment function never succeeds and this loop has run forever :  while(MC_GetAlignmentStatusMotor1()!=TC_ALIGNMENT_COMPLETED){}I am using quadrat...

JEsca.1 by Associate II
  • 564 Views
  • 2 replies
  • 0 kudos