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
  • 393 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
  • 5348 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
  • 6427 Views
  • 2 replies
  • 6 kudos

Resolved! EVSPIN32F02Q1S1 Current Sensing

Hello,I'm planning to design a motor driver using the STSPIN32 IC on the evaluation board EVSPIN32F02Q1S1 and was going through the schematic when I noticed this current sensing circuit:I understand that R34, 36, and 111 are used as single shunt sens...

kenni_0-1697707261599.png
kenni by Associate II
  • 1148 Views
  • 3 replies
  • 0 kudos

Resolved! ADC injected group conversion

In the R3_2_GetPhaseCurrents(), the following line reads the ADC data register.hReg1 = *pHandle->pParams_str->ADCDataReg1[bSector] * 2;The value of the hReg1 will be used to compute the phase current later. Why is the value of the ADC data register m...

david11 by Associate
  • 1429 Views
  • 3 replies
  • 1 kudos

ST Motor Workbench - Placement electrical angle

Posted on March 05, 2016 at 22:10Could you describe how to set ''Placement electrical angle''. The default value in ST Motor Workbench is 300 degrees.I have an 8-pole motor with 120 degree spaced hall sensors. I have this set to 60 degrees based off...

sagpatel by Associate II
  • 3776 Views
  • 7 replies
  • 0 kudos

MC SDK start motor stucked

I'm using a STM32F4 and MC SDK 5.4.8 to control a BLDC motor from MAXON, when start the motor without load, the motor can be started everytime, but sometimes it will stucked with a load, the motor control status is still RUN, but the motor will not r...

Guopeng by Associate II
  • 804 Views
  • 1 replies
  • 0 kudos

Why my motor jump one degree in MCSDK

Hardware : STM32G431RB + X-NUCLEO-IHM07MICurrent feedback : 3 shunt​SDK : MCSDK version 5.4.6Control mode : Position control High frequence : 25KHZMediumn frequence : 1KHZIn below image green circle can see that my motor start to move always jump one...

0693W00000LxwiXQAR.png
KLu.2 by Associate
  • 654 Views
  • 1 replies
  • 0 kudos

Second NTC_Handle_t type sensor

uC = STSPIN32G4second sensor = PA4 (ADC2_IN17)I have tried add second NTC sensor and using MC functions.A have added:sConfig.Channel = ADC_CHANNEL_17; // BEARING_TEMPERATURE sConfig.Rank = ADC_REGULAR_RANK_1; sConfig.SamplingTime = ADC_SAMPLETIME_4...

ketchup by Associate III
  • 774 Views
  • 1 replies
  • 0 kudos

How to run a pmsm using C-functions of mc_api.c?

I tried to run my motor (PMSM) bit it doesn't run. I used like reference the document:https://www.st.com/content/ccc/resource/technical/document/user_manual/group1/48/e6/91/f4/66/ea/48/a1/DM00490980/files/DM00490980.pdf/jcr:content/translations/en.DM...

0693W00000KZfSaQAL.png 0693W00000KZfSkQAL.png
fpaga.1 by Associate II
  • 672 Views
  • 1 replies
  • 0 kudos