You are here

VESC 6 With AS5047 encoder

3 posts / 0 new
Last post
Geir Henriksen
Offline
Last seen: 1 year 8 months ago
VESC FreeVESC Original
Joined: 2018-02-09 15:27
Posts: 5
VESC 6 With AS5047 encoder

I use this engine from Scorpion; https://www.scorpionsystem.com/catalog/aeroplane/motors_1/sii-55/S-5535-160KV/  and VESC 6 with AS5047 Encoder on a GoPed scooter. 

I have a challenge that I hope someone can help me with. When the wheel get loss of traction during acceleration on loose ground / dirt road, the engine cuts. Assuming that the motor is disabled due to a fault code. When I release the gas handle for about half a second, I can drive again. But as soon as I get loss on the wheel it stops again. I guess I need to make changes to the configuration of the motor controller. I hope that someone with 5047 encoder experience can give me some ideas about how the problem can be solved.

Best regards

Geir

Geir Henriksen
Offline
Last seen: 1 year 8 months ago
VESC FreeVESC Original
Joined: 2018-02-09 15:27
Posts: 5

I've found the solution to the problem! Does putting Absolute Maximum Current to the highest possible value (160 A).

:)

 

Geir

frank
Offline
Last seen: 5 days 9 hours ago
VESC BronzeVESC GoldVESC OriginalVESC Silver
Joined: 2016-12-27 20:19
Posts: 407

Your VESC is generating a fault code (over current) and in consequence it shuts down for 3 seconds. Motor General >> Advanced >> Fault Stop Time. If a fault occurs you need to feel that, so it makes sense to have a 3 Second cutoff. Otherwise you could fry your device.

Sure, you can put up the absolute max current... You should first try to decrease the "Time constant for calculating KP and KI" during the FOC motor setup. Try to use T: 500.0 µS instead of the 1000.0µS