STM32 MCUs Motor control

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Can DC motor work more smoothly by timer dithering?

Hi guys,I am reading the timer dithering mode in the stm32 manual however I can't understand it very well.From my manual, the timer dither is for increasing the PWM resolution.According to my understanding, I can give the following example:Example: A...

Junde by Senior
  • 321 Views
  • 1 replies
  • 0 kudos

Resolved! Step motor control and max tork

Hello. I am doing stepper motor step control. I am using the "HAL_TIM_PWM_PulseFinishedCallback" function for this operation. Is there a more functional usage method than this? I can't get the max torque of the motor. Can you help me? Motor Driver "T...

AI_I by Associate II
  • 1425 Views
  • 7 replies
  • 1 kudos

I use a STM32F103 chip and I try to synchronize two DC motors using inputcapture, I read the time difference between the rising edge of each sensor hall of effect,how can I update the pwm of the two motors. please check with me the pg

void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim){ if(htim->Instance==TIM1){ if (htim->Channel == HAL_TIM_ACTIVE_CHANNEL_1) { if (Is_First_Captured==0) // if the first rising edge is not captured { IC1_Val1 =TIM1->CNT; // read the first va...

kkhli.1 by Associate III
  • 376 Views
  • 4 replies
  • 0 kudos

AC current measurement for bldc motor in STM32

I need to know about the AC current measurement for the BLDC motor. I tried to measure phase current for only one phase for two commutation states. I use the STM32F103C8 controller for controlling the BLDC motor. I need some clarification on measurin...

0693W00000aH5YVQA0.png 0693W00000aH5YaQAK.png
Ss.111 by Associate
  • 644 Views
  • 1 replies
  • 1 kudos

Motor not spinning

Hey guys, I'm trying to drive a 3kw brushless motor using HALL sensors with a single shunt custom board, based on the stm32f103rb(LQFP64) with the following configuration:MCSDK_v5.4.7-FULLMCU: STM32F101RB, 72MHz, Ext ClockMotor parameters:24 pole pai...

0693W00000Y8FvTQAV.png 0693W00000Y8IUVQA3.png
MOhir.1 by Associate
  • 333 Views
  • 1 replies
  • 0 kudos