You are here

5. Additional settings: Throttle curves, ERPM limits, safety features etc.

Submitted by frank on Tue, 2017-10-03 19:51

Configuration of your VESC® using the VESC®-Tool Software.


In this tutorial we will go through some tweaks, enhancing the safety and performance of your VESC® speed controller


Timeout brake in case of connection loss to remote

For an electric skateboard a strong Timeout Brake is not appropriate, since the rider would not be prepared to a sudden hard braking force. Only a very mild brake force can be handled by the unprepared rider and so should be the setting (e.g. 10A).

Vesc-Tool_Tweaks_Timeout Brake

 


PPM Ramping Time

This features allows to adjust the response time to your input signal. A fast response time (e.g. 0.10 seconds) will make the handling very direct.
A slower time (0.90 seconds) will make the handling smoother.

It might be a good option to have a smoother response time for acceleration and a more direct response time for the brake (if applied).

 

Vesc-Tool_Tweaks ramping time


Throttle Curves

Throttle curves will let you adjust the behavior of your motor in reference to the throttle input. This can be a very useful feature to adjust the throttle response to your individual needs. To get started we recommend to use the "Natural" function first. The curves can be found in App Settings >>input device of usage (shown PPM).

This example shows more aggressive behavior to the negative throttle command (brake) and a slightly softer startup on positive throttle commands.
The softer your startup, the more aggressive it will get on the last bit of the throttle input and vice versa. 

 

Vesc-Tool_Tweaks_throttle curves


Changing the motor spin direction in VESC-Tool.

If your motor spins up in the wrong direction, you can either switch over two of the three motor leads, or you can invert the motor direction in Vesc-Tool.

Vesc-Tool_Tweaks_direction


You want to set a limit of the motor RPM? This is how to do it. Simply apply a ERPM LIMIT.

RPM limits can be a very useful feature. Possible application: You may want your bike, board, boat, car, etc. to reach a certain top speed only. The VESC-Tool allows you to specify a ERPM-Limit. Many people don't know what the difference between ERPM and RPM is and why VESC-Tol doesn't simply use an RPM value. The relation between RPM and ERPM has something to do with the motor you use and the VESC controller doesn't know the exact construction of your motor. But you may know it or you can find out easily.

All you need to know to calculate the ERPM is the number of pole pairs your motor features.  Poles are e.g. the magnets of a BLDC-Outrunner/Inrunner motor. If your motor has 14 magnets installed, your motor has 7 pole pairs. In this case the RPM limit of your motor is simply the ERPM limit divided by 7.

Example: 7 Pole Pairs in motor, ERPM limit set to 70000  >>>  RPM = 70000 / 7 = 10000 RPM.

There are separate settings for forward and reverse motor operation. In some application you may want a speedy forward movement but a slow running motor in reverse operation.

Excusion: ERPM limits, motor KV, system voltage and hardware limits.

To reach the 10000 RPM at 44.4 V, our motor would need to have a minimum of 226KV.  (226 RPM/V x 44,4V = 10034 RPM).
In consequence the setting above would only make sense for motors with a higher KV than 226KV if you run them at 44.4V.
Depending on the Hardware you use, it may be limited to 60000 ERPM (e.g. HW rev. 4.xx) and you should pick a motor not reaching this limit.

Going beyond this limit may damage your Hardware! The VESC SIX design can reach up to 150000 ERPM.

If your motor would reach higher than 60K ERPM and you are using a HW 4.xx controller, you want to set the ERPM limit to 60000 to stay on the safe side and avoid hardware damages.

Vesc-Tool_ERPM Limit


Preventing overheating of your system (motor and ESC) that might result in failing brakes (Acceleration Temperature Decrease).

When your motors feature temperature sensors, your VESC motor controller will cut off the power once the motors reach a pre-defined critical temperature. Same happens when the motor controller will get to hot. This feature protects your system from over temperature damages. The downside is, that you can't use your motor as a generator (brake) once it, or the ESC, or both got to hot.

The Acceleration Temperature Decrease feature allows you to lower the critical temperature cutoff for acceleration by x % (15% default), while the brakes continue to work at the defined full value.

This results in a soft power cutoff when you motors, the ESC, or both reach e.g. 85% of the defined temperature cutoff value, leaving 15% safety temperature headroom for the brakes.

The higher the value, the more safety range you will gain for the brakes, but the less you can push the system to its  pre-defined temperature limits. If you set the value to high, you will experience power cutoffs during a regular system usage.

By changing the value you will be able to find a sweet balance between a useful max. system temperature and safety temperature headroom.

Acceleration Temperature Decrease


Max output power of your system in Watt.

If you want to limit the output power of your system, you can define a max. Wattage value that will not be surpassed.

This feature allows you to stay safe and adjust to a power level you can handle. It might also help you to stay within legal power parameters.

Max wattage

Comments

Info zu Projekt!

W.Buecker

Hi,

I am pretty new in VESC, hence please excuse me for "silly" questions.

Since I am using a quite powerful motor, I am trying to figure out, how to set-up the VESC to increase the ramp-up time with the aim to accelerate the motor more slowly and smoothly (without huge accelerations). I am using only VESC tool, no additional PPM.

 

Limiting the max. power as explained and proposed above does works "somehow", but is there a better way?

Many thanks for any hint in advance.

 

Cheers,

Peter

add much more time to rampup time.   IE 10S accelerate ramp up and 5s brake.  (or even more 30S accelerate).

 

Additionally you can edit the PPM throttle map.  I used 50% exponential on mine.  This makes mine start spinning fast but decreases the max erpm as it passes 50% signal and it takes longer to reach max erpm.  try different things ...

Hope it helps.

monter_man

Has their been any conclusions to the -11 detection fail? I have a Stormcore 60D and it does not want to go operate at all... 

Best Regards,

John Mason

Esk8Thrasher