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
  • 145 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
  • 916 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
  • 5459 Views
  • 5 replies
  • 3 kudos

Start-up failure every time

I am using the sensorless + PLL control scheme which requieres to pass a ramp a start-up. Allthough the motor runs smooth a start-up failure always occures at the final speed of the ramp. I tryed lowering the final speed to avoid this failure, but it...

MLang.7 by Associate III
  • 1088 Views
  • 2 replies
  • 0 kudos

Resolved! Re: How to generate profiler firmware for 6.2

Hi Zied,After waiting patiently for MCSDK 6.2.0, I was overjoyed when it was finally released.However, I could not get the motor profiler to communicate with my board. It seems to require a proper firmware to be downloaded before it can run. It does ...

Jedijump by Associate III
  • 12825 Views
  • 15 replies
  • 3 kudos

STM32 L476RG with IHM04A1

Hi, I have Nucleo L476RG with IHM04A1 shield. Also i have JK42HS34-0404 stepper motor. My question is how i can connect this and run? I read a lot of documentation, but i cant run it. Any help will be appreciated

Mexo by Associate
  • 624 Views
  • 0 replies
  • 0 kudos

TIMER Control

Hello   I am designing a controller that will drive a 3 phase BLDC 0.5kW motor. I choose STM32G474VET3 to generate the signaling with external gate driver and some beefy MOSFETs for that.   The MCU has advanced timer controller, and for my applicatio...

Mirza-AEC by Associate II
  • 4789 Views
  • 14 replies
  • 0 kudos

Resolved! STC_CalcTorqueReference function

In the __weak int16_t STC_CalcTorqueReference(SpeednTorqCtrl_Handle_t *pHandle) function The original ST code contains the below line code.hMeasuredSpeed = SPD_GetAvrgMecSpeedUnit(pHandle->SPD);hError = hTargetSpeed - hMeasuredSpeed;hTorqueReference ...

SRedd.5 by Senior III
  • 1982 Views
  • 5 replies
  • 2 kudos

how to calculte B-EMF constant from torch constant

Hi, I'm working with an Maxon 3-phase 1-pole BLDC motor, following is it's motor data table or attached file. the colum with red rectangle is the motor type we're now dealing with.I wondering how can we get the B-EMF constant in the MC workbench elec...

motor param 24V.png params.png
jflash by Associate II
  • 2460 Views
  • 4 replies
  • 0 kudos

BLDC motor driver

I would like to have precise, slow motion control of a BLDC motor from a hoverboard.  This 1 minute video shows it well:  https://www.youtube.com/watch?v=JMXz5tzpq7UWould a "STEVAL-SPIN3202" do this?Many thanksMarc

MarcF by Associate
  • 1278 Views
  • 2 replies
  • 0 kudos