STM32 MCUs Motor control

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

MCSDK 6.3.2 is out !

Dear MCSDK users, MCSDK version 6.3.2 is now available: Download It here. This is a bug fix release and here are the main changes for this version: Motor Control Features: FOC Fixed CORDIC Modulus computation in case of negative alpha value Fixed iss...

GMA by ST Employee
  • 429 Views
  • 0 replies
  • 0 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
  • 3894 Views
  • 5 replies
  • 3 kudos

MCSDK documentation and your feedback

Motor Control Wiki: STM32 Motor Control Knowledge Database - stm32mcuMC Frequently asked questions (FAQ):Frequently asked questions (FAQ) - stm32mcu   The documentation of the Board descriptions format is now available on the Motor Control Wiki:   Wi...

Zied b. by ST Employee
  • 4997 Views
  • 1 replies
  • 1 kudos

Complementary output is active high when disabled

I want to control output of complementary PWM.I am doing it as follows:while (1) {  /* USER CODE END WHILE */  TIM1->CCR2 = 30000;  HAL_Delay(15000);  TIM1->CCER &= (uint16_t) ~TIM_CCER_CC2E;  HAL_Delay(15000);  TIM1->CCER|=TIM_CCER_CC2E;  /* USER...

0693W00000GZSEZQA5.png 0693W00000GZSEyQAP.png
Tejashree by Associate III
  • 566 Views
  • 1 replies
  • 0 kudos

STM32F0 speed PID tuning and low speed operation

We are working on parameter tuning for a BLDC motor on a custom board, by using demo board STEVAL-SPIN3201 and Motor Control Workbench (FOC mode). The motor is used to drive a peristaltic pump.The motor has been measured and measurements have been ve...

LF.1 by Associate
  • 935 Views
  • 3 replies
  • 1 kudos

FOC+Hall question

I use FOC+Hall sensor(STM32F030RE MCU, ihm08m1 power board, MC lib 5.3.2) and set default mode to torque mode(Iq = 15A, Id = 0). Motor nominal current is 15AWhen I try to go uphill by this Ebike, the motor can not go uphill sucessfully.How to improve...

cyt by Associate II
  • 651 Views
  • 3 replies
  • 0 kudos

Resolved! issue on ADC value left align

I've designed an FOC driver borad using STM32F302.The ADC that samples the resistor current is set left-align in the generated code by MotorControl Workbench 5.4.7.Does ADC have to be left-aligned?Due to this,the ADC value is always out of bound​​

Lzhiy.1 by Associate II
  • 888 Views
  • 3 replies
  • 0 kudos

Resolved! can FOC Frequency be very low?

I've designed an FOC board.First of all,I want to realize the SVPWM without using other transformation in order to make the motor rotate first.PWMC_SetPhaseVoltage(pwmcHandle, Valphabeta);so I generate an array about Valphabeta as the code below:#de...

Lzhiy.1 by Associate II
  • 743 Views
  • 2 replies
  • 0 kudos

issue on ADC sampling point

in fuction:uint16_t R3_2_SetADCSampPointSectX( PWMC_Handle_t * pHdl ) /* sector number needed by GetPhaseCurrent, phase A and B are sampled which corresponds * to sector 4 */ pHandle->_Super.Sector = SECTOR_4;Phase A and B is corresponding t...

0693W00000GY7lVQAT.jpg
Lzhiy.1 by Associate II
  • 535 Views
  • 1 replies
  • 1 kudos

Resolved! (Environment: MCSDK 5.Y.2 + STM32CubeMX 6.3.0) NUCLEO-F446RE is not working compared to other NUCLEO boards while using the same power board & BLDC motor with the same configuration. What would be the possible cause for this problem?

(Environment)MCSDK 5.Y.2, MC Workbench 5.Y.2, CubeMX 6.3.0​, IAR EWARM 8.50(Test Result)NUCLEO-G431RB + X-NUCLEO-IHM16M1 + GBM2804H-100T(BLDC sensorless) => working wellNUCLEO-L476RG + the same board & motor & configuration => working wellNUCLEO-F446...

0693W00000GWjNhQAL.jpg 0693W00000GWjNmQAL.png
THA.1 by Associate II
  • 1464 Views
  • 9 replies
  • 0 kudos