You are here

(solved) Configuration smooth motordirection change

10 posts / 0 new
Last post
horak2084
Offline
Last seen: 2 years 11 months ago
Joined: 2018-09-25 20:21
Posts: 5
(solved) Configuration smooth motordirection change

Dear Guys,

we build a self balancing Scooter with 2 brushless motor and control them with 2 VESC.
We control the VESC with an Arduino Mega over PPM signal. but now we facing some problems. 

In all control modes we tested we have the problem with changing the Directory smooth.
When we want to change the directory of the motor, first the brake until the speed is nearly zero and then the vesc want to accelerate backward.
Our problem is that the delay while the motor in breaks is to long and the self balancing scooter is out of control.
It feels like the motor stops for aprox. 1 second and after this the motor begin to turn in the other direction.
For the self balancing project is this second a big problem. 

Now i want to ask if someone have a hint which parameter of the VESC could be the problem and how we solve it?
 

Best regards 

Manuel

 

horak2084
Offline
Last seen: 2 years 11 months ago
Joined: 2018-09-25 20:21
Posts: 5

2019-02-25 20_06_08-VESC Tool.png

TechAUmNu
Offline
Last seen: 1 month 3 weeks ago
Joined: 2017-09-22 01:27
Posts: 575

Have you tried adjusting the ramping time?

horak2084
Offline
Last seen: 2 years 11 months ago
Joined: 2018-09-25 20:21
Posts: 5

Hello thank you for your fast answer.

Yes we tried it but it makes no different. 
I think its not a problem of the Ramping Time, because from higher speed to nearly zero is fine. But from nearly stop to reverse it takes aprox. 1-2 seconds and in this time the motor don't move.

 

 

Here is a Link to our Motor and Appsettings, if anybody can use it to help us ;)

https://www.dropbox.com/sh/otybr4scc1iabg8/AABiiAzi4tSJKqKPtcFhl6cDa?dl=0

 

 

 

 

horak2084
Offline
Last seen: 2 years 11 months ago
Joined: 2018-09-25 20:21
Posts: 5

So today we did some other test and now we can confirm that, the VESC waits to change the direction until the breaking current is nearly zero.

Does anyone know how we can change this?

2019-02-26 18_58_39-VESC Tool.png

benjamin
Offline
Last seen: 5 days 22 min ago
VESC FreeVESC OriginalVESC Platinum
Joined: 2016-12-26 15:20
Posts: 490

Have you tried using FOC? Also, are you using any sensors? For self balancing applications it is very important to use sensors, as tracking near zero speed does not work well, and the sensor implementation for BLDC is a bit broken.

horak2084
Offline
Last seen: 2 years 11 months ago
Joined: 2018-09-25 20:21
Posts: 5

Thank you for the useful hint!

In the FOC mod the VESC works like we expect it to do. 

marto
Offline
Last seen: 5 years 8 months ago
Joined: 2018-02-28 12:52
Posts: 3

This could be related to the erpm at full brake setting which is not visible in the configuration utility. I had to set this 1500 in the xml as if you didn't and you were on a hill or something slightly above 300erpm then it would keep rolling. FOC has this as default to 1500rpm which is more likely why this fix has worked.

benjamin
Offline
Last seen: 5 days 22 min ago
VESC FreeVESC OriginalVESC Platinum
Joined: 2016-12-26 15:20
Posts: 490

You are right, I forgot to add that parameter to the setting pages. It will be fixed in version 1.07.

fpagac
Offline
Last seen: 4 years 6 months ago
Joined: 2020-04-25 16:47
Posts: 1

maybe adjusting the ramping time works for me, my problem has been solved in the fastest way

hill climb racing