EFeru / hoverboard-firmware-hack-FOC

With Field Oriented Control (FOC)
GNU General Public License v3.0
1.05k stars 876 forks source link

The reduction ratio motor does not rotate when starting #452

Open Blue186 opened 7 months ago

Blue186 commented 7 months ago

Variant

USART

Control type

FOC

Control mode

Speed

Description

Hello, I want to ask a question: I have a pair of reduction ratio hub motors. I use FOC control and speed control modes to control them. The strange thing is that when I drive them, from time to time the motors will not rotate when starting. , when the non-rotation time increases, the driver board will report an error and power outage, and external intervention is required to make it start normally.I changed n_polePairs to 10 and making sure this set can drive the BLDC motor properly.

Blue186 commented 7 months ago

To put it more carefully, 1. When the reduction ratio motor is rotating forward, everything is normal, but once it stops and starts to rotate reversely, it may not rotate. 2. I found that the buzzer sounded once (low pitch), so I modified r_errInpTgtThres and t_errQual in BLDC_controller_data.c file. But it seemed to have no effect. image

Blue186 commented 7 months ago

After reading the issues, I tried to set r_errInpTgtThres and t_errQual to double or quadruple the original value, and disable DIAG_ENA, but it still failed to rotate, the buzzer also reported an error, and then automatically shut down.

Blue186 commented 7 months ago

After further testing, I found that when I drive the reduction ratio motor to rotate forward, no matter how low the speed, it can start and rotate normally, but once it rotates in the reverse direction, there will be a problem that it cannot rotate. So how should I do?

Blue186 commented 6 months ago

hello, Is there any relevant setting for starting current or starting torque?

Candas1 commented 6 months ago

Hi, are you sure the phase/hall are correct.

Blue186 commented 6 months ago

Hi, are you sure the phase/hall are correct.

Thanks for answering my question, I have seen the Hall waveform and it is correct. When using a reduction ratio motor, it can rotate normally except when starting, just as I described above. Could it be caused by the inability to detect the Hall signal during startup? If yes, please tell me how to solve this problem, thank you very much.

Candas1 commented 6 months ago

I am talking about hall and phase combinations. Have you tried all combinations.

Blue186 commented 6 months ago

I am talking about hall and phase combinations. Have you tried all combinations.

While ensuring that the three-phase wiring of the motor remained unchanged, I tried Hall's six wiring combinations. Only this one was normal, and the others were either blocked or overshooted.Is there anything I can adjust?

Kambodia91 commented 3 weeks ago

hey, it's possible that your hub has a one-way clutch, could it affect the work?