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
  • 782 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
  • 6546 Views
  • 2 replies
  • 7 kudos

FOC Open loop

Posted on December 13, 2017 at 17:46I would like to set FOC lib in open loop mode. However, there is no information about how to use this mode.In 'Drive parameters.h', there is not only  OPEN_LOOP_FOC, but also other parameters. I have no idea how t...

ST FOC lib v4.3 asynchronous fault message?

Posted on April 09, 2018 at 13:26Does the ST MC FOC lib send an asynchronous message over UART in the event of a fault? Typically the scenario is that the MCU running the ST MC FOC lib v4.3 detects a fault condition such as over voltage, will it not...

freppa by Associate II
  • 429 Views
  • 1 replies
  • 0 kudos

Power Measurement classes

Posted on April 17, 2018 at 17:25What are the use of the Power Measurement classes in the ST MC FOC lib v4.3?From the confidential distribution the following classes are part of MC Library module:MotorPowerMeasurementClassPQD_MotorPowerMeasurementCl...

freppa by Associate II
  • 519 Views
  • 1 replies
  • 0 kudos

Problem with FOC Lib 4.0 examples

Posted on June 25, 2015 at 09:14I started to learn to use FOC Lib 4.0 to control a PMSM motor with encoder. I used MC workbench to configure the HW and generated code to SystemDriveParams, then I used the example project for STM32F30x_Workspace.uvmp...

song by Associate II
  • 642 Views
  • 2 replies
  • 0 kudos

Motor Control Workbench 4.1

Posted on August 17, 2015 at 15:00Hi, I’m using the state observer + PLL algorithm and observer + CORDIC and i try to figure out the GAIN1, GAIN2, scaling factors and PLL KP / KI how the coefficients are calculated by ST MC Workbench v4.1 thanks fo...

Workbench limitations

Posted on August 26, 2015 at 09:19Hi, i want to run motors with Rs < 0.01 Ohm and Ld<0.010 mH (low voltage high current), but the Motor Control Workbench is limited to this values. Can someone give me the formula to compute all the parameters from t...

ST MC workbench Current sense

Posted on September 24, 2015 at 19:54Hi,I am using ST MC Workbench to design a BLDC FOC motor driver, and am running into a problem.  I am using three shunt resistors to sense current (one per channel) and am trying to use ''embedded PGA'' as an amp...