You are here

Loud Bang at Sensor-less Switchover with hub motor

3 posts / 0 new
Last post
hackeybabel
Offline
Last seen: 2 weeks 1 day ago
VESC Free
Joined: 2018-12-06 07:30
Posts: 2
Loud Bang at Sensor-less Switchover with hub motor

Hey All , 

I recently bought a cheap Chinese Vespa looking Scooter with hub motor. i removed the stock controller and  swapped it with Besc-g2 and after tuning for foc i ran into an issue where the motor gives sudden jerk and loud band noise with loss of power at sensor-less switchover RPM .I am using current control. I tried many different things like changing Dead time Compensation, Sensor-less rpm , observer gain, ramping time, tried detection with high current for both motor and hall sensor, foc coupling type , high current sampling , and basically every settings i can but results are not that good. Motor works perfectly Fine with stock controller. I also tried to do the HALL_ANALYZE 30 command in terminal and it showed the error of only 2 degree and i was able to run many in-runners with 30-50degree errors perfectly fine with the same besc. if i try to start the scooter smoothly with low current(low throttle input) the jerk is small and after sensor-less switchover motor runs very smoothly. 

Any help will be greatly appreciated. I am attaching some pictures that might help.

2021-08-21 (1).png2021-08-21.png

TechAUmNu
Offline
Last seen: 2 weeks 5 days ago
VESC Free
Joined: 2017-09-22 01:27
Posts: 575

Try reducing the motor resistance by 25% from the value it detects then click "Calc Apply Old" at the bottom right of the page to update the KP and KI values. 

hackeybabel
Offline
Last seen: 2 weeks 1 day ago
VESC Free
Joined: 2018-12-06 07:30
Posts: 2

hey Techaumnu , i tried that and it made things worse what happens after reducing the R is when switchover happens motor squeak and then sudden power loss and after switchover lots of vibrations.

hackey