Regen Braking
Introduction
Electric motors, when used in reverse, function as generators. ASI controllers can convert the vehicle's kinetic energy into electrical energy to recharge the batteries and reduce wear on mechanical components (brake pads) while slowing the vehicle down.
Remote control (network) of regen braking is not covered in this section. Please contact ASI support for information if required.
Wiring
Regen brake sources can either be a digital signal (on/off) or an analog signal (0-5V) that can be connected to Brake1/Analog input 2 or Brake2/Analog input 3.
The following example shows an analog signal connected to the Brake1/Analog input 2 pin.
Configuration
-
Set
Regeneration battery current limit
percentage of your battery's peak charging/regen current relative to yourRated motor power
divided byRated system voltage
.Example
Your
Rated motor power
is 2880W, regen is 45A peak and your nominal battery voltage (Rated system voltage
) is 48V. Yourregeneration battery current limit
is = 45A/ (2880W/48V) = 0.75 or 75%. -
Set
Features bit 4
Regen braking enable to 1. -
Set
Regen brake source
to 1 for Brake2, 1 for Brake1 or 2 for Network.- If not already, set
Features2 bit 6
Brake 1 Pullup enable orFeatures bit 7
Brake 2 Pullup enable to 1, to pull up your chosenRegen brake source
respectively.
- If not already, set
-
Set the
Maximum braking torque
to the desired percent ofRated motor current
. Start out conservatively, ex. 10%, to understand the braking effect and not risk having too much braking torque and skidding, causing a possible crash. See Regen brake tuning below -
Set
Analog brake off voltage
andAnalog brake full voltage
to the voltages outputted by the brake input at rest and full range respectively -
Set the
Analog Brake Deadband Range
.Note
Firmware 6.020 and below use and apply the
Throttle deadband threshold
for the brake1 and brake2 inputs. -
Verify that the
Brake setpoint
follows the brake input: e.g. OFF brakes = 0 atAnalog brake off voltage
-analog brake deadband range
and ON brakes = 1.0 atAnalog brake full voltage
+Analog brake deadband range
, if using the voltages at #5 above. Alternatively, observedigital inputs bit 5
to see if brake1 input turns on, anddigital inputs bit 6
for brake2 input at the voltages set.
Regen Braking Implementation
In ASI controllers, battery regenerative current (motor current-driven back into the battery) is always present even if regen braking options are not enabled.
Regen current is always monitored. For instance, a direct drive motor moving backwards while enabled, even slightly, will cause regen currents. To protect the battery from being overcharged the controller can limit this current by setting the Regeneration battery current limit
parameter.
Note
If a controller's Regeneration battery current limit
parameter is set to 0%. Even a slight rollback of a direct drive vehicle will not allow forward motion until the vehicle comes to a complete stop. To avoid this type of behaviour set this parameter to at least 20%.
Regen brake setpoint
is determined by the Analog brake off voltage
and Analog brake full voltage
as shown in the figure below. When the brake setpoint
is 0.0, there is no regen braking and when it is 1.0 there is 100% of available regen braking. Note that for digital inputs, the input source is often pulled up and the off voltage is 4V (brake setpoint
= 0.0) and 1V (brake setpoint
= 1.0) for full brakes since the circuit generally pulls to ground. For analog regen (ex: using a throttle), generally, the source is not pulled up and like a throttle, the off signal voltage is around 0.9V to 1.2V (brake setpoint
= 0.0) and full braking signal voltage is around 3.9V to 4.2V (brake setpoint
= 1.0**).
The brake setpoint
then maps to the Maximum braking torque
output as shown in the figure below.
Example
For a brushless DC motor, torque is approximately proportional to the motor phase current. This is why we set Maximum braking torque as a function of the Rated motor current
. As an example, if Rated motor current
= 50 Amps and Maximum braking torque
= 30%. Then when the braking setpoint
is equal to 1.0 (per Unit), the braking “torque” will be equal to 15 Amps.
Warning
Regen braking becomes ineffective at low speeds and should not be used as the sole source of braking. It should only be used in addition to a functioning mechanical braking setup.
Brake Input Tuning
Dialling in the regen braking feel is an iterative process. As such, parameter and mechanical adjustments may need to be repeated several times before vehicle behaviour under braking performs to your satisfaction.
Maximum braking torque
can be adjusted to change the total torque available for braking as a percentage of rated motor current
.
Positive braking torque ramp
can be adjusted to change how reactive the braking is to changes at the input. Increasing this will increase the time taken to go from brake setpoint
0 p.u to brake setpoint
1 p.u.
Negative braking torque ramp
can be adjusted to change how fast the commanded braking torque goes brake setpont
1 p.u to brake setpoint
0 p.u.
Regen brake speed
can be used to set the lower regen braking speed limit.
Warning
As regen braking becomes ineffective at low speeds and can cause the braking feel to be inconsistent.