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
  • 621 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
  • 5398 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
  • 6514 Views
  • 2 replies
  • 7 kudos

Sample code for MCP

Hi,Is there a sample code to control the STM32 motor board with UART from a host PCI'm mostly looking for setting and getting the encoder angles and speed control with the UART 

Effect of Duration on Encoder Alignment

 Hello!We are currently using the STSPIN32G4 microcontroller for our project, which incorporates a quadrature encoder.In the start-up parameters, there are three key settings: Duration, Alignment Electrical Angle of Id, and Final Current Ramp value. ...

JAM_1999 by Associate
  • 1178 Views
  • 2 replies
  • 0 kudos

P-controlled steering PWM configurations

Hello,I am trying to implement a P-controller-algorithm for two levers, where one lever follows the other one. The problem I have is that when the duty cycle of the PWM-signal reaches zero the PWM stops working if I change the position of the lever a...

Lukas47 by Associate
  • 536 Views
  • 0 replies
  • 0 kudos

Industrial Servos on STM32

Hello! I am looking to run 4 industrial servo motors on any of the STM controllers (Any which can sustain such load, I am looking at STM32F7 series) in combination with TI DRV8323 BLDC motor driver. Now the issue here is these BLDC drivers require 6 ...

ZainSiddiqui_0-1719313578075.png

Resolved! What is REV_PARK_ANGLE_COMPENSATION_FACTOR?

There is no documentation provided for the REV_PARK_ANGLE_COMPENSATION_FACTOR variable in the code.hElAngle += SPD_GetInstElSpeedDpp(speedHandle)*REV_PARK_ANGLE_COMPENSATION_FACTOR;What is the purpose of this variable? i searched in the documentation...

SRedd.5 by Senior III
  • 1335 Views
  • 3 replies
  • 1 kudos

RPM measurement

Hi friends,I need to find the RPM of Ship engine using STM32F407VGT6 microcontroller. But I no idea(Methods) to find the RPM of the ship engine. I saw the browser it shows some methods one method is interesting but i did not that is suitable are not ...

Manual configuration of motor parameters.

Hello. Trying to profile one of my engines with the ST Motor Pilot Tool (profiler) V1.2.9. Without any success.I have seen this warning in the STM32 Motor Control FAQ section.The STM32 MC motor profiler has the following limitation: it cannot profile...

OttoBCN by Associate II
  • 803 Views
  • 0 replies
  • 0 kudos

Resolved! Where to set ADC_REFERENCE_VOLTAGE?

Our project uses an external ADC reference voltage of 3.03V.This value is properly set up inside the json I use to generate the inital project code ("amplifyingNetworkVm": 3.03, "polarizationOffset": 1.515).Now I found in the generated code that insi...

DMeie.2 by Senior II
  • 987 Views
  • 1 replies
  • 1 kudos

STSPIN32G4 with a brushless drone motor

Hello,For our application, we have developed a brushless motor driver 1.5KW based on the EVSPIN32G4 circuit board.We use a brushless drone motor with 14 pairs of poles (https://store.tmotor.com/goods-922-V605+KV210.html). I use MC workbench 6.2.1 for...

JLC by Associate II
  • 936 Views
  • 2 replies
  • 0 kudos