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

User Manual MCSDK documentation

  Dear MCSDK users, The full MCSDK documentation is embedded in the Motor Control Workbench tool. Refer to Workbench tool > About > Documentations > Documentation.This document provides: Introduction: Includes startup guide links for MCSDK, HSO featu...

GMA by ST Employee
  • 157 Views
  • 0 replies
  • 0 kudos

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
  • 928 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
  • 5469 Views
  • 5 replies
  • 3 kudos

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
  • 1221 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
  • 546 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
  • 1387 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
  • 828 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
  • 1014 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
  • 965 Views
  • 2 replies
  • 0 kudos