You are here

Sensorless tuning tips on bicycle hub motor

3 posts / 0 new
Last post
kalvdans
Offline
Last seen: 3 years 6 months ago
Joined: 2017-11-20 18:34
Posts: 1
Sensorless tuning tips on bicycle hub motor

Hi all!

I have been running my electric bicycle (48V 1000W direct drive hub motor) with Vesc 4.12 in BLDC hall sensor mode flawlessly. Recently one hall sensor broke so I thought about using sensorless FOC mode. The automatic decection works and the motor spins great without load, but under load it starts to oscillate so that my wheel and the bike starts shaking.

Do you have any tips on what to adjust in the settings, or which graph to plot to give some clues?

The detected parameters (and max-min I've got during autodetection) are:

R: 154.50 mΩ (124 - 288)
L: 225.75 µH (189 - 439)
λ: 34.613 mWb (34 - 36)
T: 10000.0 µS
KP: 0.0226
KI: 15.45
Observer Gain (x1M): 0.83

I've tried moving the parameters up and down, and tried the four settings of Current Controller Decoupling and the two settings of Observer Type. I've turned off Openloop time to force me to do a rolling start (this works as it should).

frank
Offline
Last seen: 4 days 7 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

You can try HFI (High Frequency Injection) as sensor mode, but that might need tuning. The only other option is to fix the senors.

neo
Offline
Last seen: 1 year 6 months ago
Joined: 2021-06-12 00:00
Posts: 18

post your configuration file, someone may spot an error