advanced
hardware
braking
regenerative

Braking Systems

Configure regenerative braking, engine braking, and plug braking for ASI BAC motor controllers

Levy Fleets Team12 de enero de 202512 min read

Braking Systems

ASI BAC controllers support three braking modes that work together to provide smooth deceleration and energy recovery.

Overview

Braking ModeDescriptionEnergy Recovery
RegenerativeManual brake input converts kinetic energy to chargeYes
Engine BrakingOff-throttle deceleration with energy recoveryYes
Plug BrakingActive low-speed braking using battery powerNo (uses power)

Safety Warning

Regenerative and plug braking should not be used as the sole source of braking. They should only supplement a functioning mechanical braking system.

Regenerative Braking

Electric motors function as generators when driven externally. The controller converts kinetic energy into electrical energy to recharge batteries while reducing mechanical brake wear.

Wiring Setup

Regen brake sources connect to:

  • Brake1/Analog input 2
  • Brake2/Analog input 3

Signal types supported:

  • Digital: On/off switching
  • Analog: 0-5V proportional control

Configuration Steps

1

Set Battery Current Limit

Calculate as: Peak regen current ÷ (Rated motor power ÷ Rated system voltage)

Example: 45A regen on 2880W/48V system = 45A ÷ 60A = 75%

2

Enable Regen

Set Features bit 4 (Regen braking enable) to 1.

3

Select Source

Choose from: Brake2, Brake1, Network, Throttle, or ABMS as the regen brake source.

4

Enable Pullup

Enable the corresponding pullup resistor for your selected input.

5

Set Maximum Braking Torque

Start conservatively at 10% of rated motor current to prevent skidding.

6

Configure Voltage Thresholds

Set Analog brake off voltage and Analog brake full voltage to match your input device.

7

Adjust Deadband

Set Analog Brake Deadband Range appropriate to your application.

Typical Input Values

Input TypeOff VoltageFull Voltage
Digital4V1V
Analog0.9-1.2V3.9-4.2V

Key Parameters

ParameterFunctionRecommendation
Maximum braking torqueTotal available braking forceStart at 10%
Positive braking rampResponsiveness to input200ms minimum
Negative braking rampRelease speedApplication-dependent
Regen brake speedMinimum speed thresholdSet above low-speed cutoff

Brake Setpoint

  • Range: 0.0 (no braking) to 1.0 (maximum braking)
  • Regen current flows automatically based on setpoint

Low Speed Limitation

Regen braking becomes ineffective at low speeds due to insufficient back-EMF. Use plug braking to supplement.

Engine Braking

Engine braking (off-throttle regen) captures kinetic energy during deceleration when the throttle is released.

Configuration Steps

1

Enable the Feature

Activate Features bit 13 for engine braking.

2

Set Battery Current Limit

Configure Regeneration battery current limit as a percentage.

Formula: Peak regen current ÷ (Rated motor power ÷ Rated system voltage)

3

Set Maximum Braking Torque

Define Maximum braking torque as a percentage of rated motor current. Start at 10% to understand the effect.

4

Set Engine Braking Torque

Configure Engine braking torque as a percentage of maximum braking torque.

Interaction with Manual Regen

As of firmware 6.014, when both engine braking and analog regenerative braking are active simultaneously:

The controller gives priority to whichever source is commanding the higher braking torque.

Torque Ramp Configuration

ParameterFunctionRecommendation
Positive braking torque rampControls responsiveness200ms minimum to prevent wheel lockup
Negative braking torque rampDetermines release speedApplication-dependent

Plug Braking

Plug braking is a reverse current braking mechanism that supplements regenerative braking at low RPM where regen struggles due to insufficient back-EMF.

How It Works

The system draws battery power to inject opposing current, helping decelerate the motor to a stop.

Configuration

Feature bit: Features2 bit 3

StateBehavior
DisabledController won't draw battery power at low speeds; motor won't actively stop
EnabledController draws battery power at low speeds to actively decelerate

Regen Brake Speed Parameter

The Regen brake speed parameter establishes the minimum threshold:

  • Plug braking activates above this speed limit
  • Below this speed, plug braking is not effective

Cutout Brake

The cutout brake feature prevents motor engagement during local operation using a switch.

Wiring Options

Connect a single-throw switch to:

  • Cruise/Digital Input 1
  • PFS/Digital Input 2
  • Brake 1
  • Brake 2

Digital inputs are internally pulled up - wire switch between GND and the input. Analog brake inputs require an external pull-up resistor.

Setup

  1. Select the Cutoff brake sensor source at address 248
  2. Enable the brake
  3. Verify ebike flags bit 1 shows Cutout as active

ABS/Braking Traction Control

This feature enhances braking stability by dynamically modifying braking current in response to sudden deceleration.

How It Works

  1. Threshold Calculation:

    Threshold (s) = 100 / (Rated Motor RPM × Motor Pole Pairs)
    
  2. Brake Response Logic:

    • Transition time > threshold → Braking current drops to zero (releases brake)
    • Transition time ≤ threshold → Normal braking current applies
  3. Automatic Operation: Brake releases during sudden deceleration and reapplies when motor speeds up.

Enable

Activate Features 3 bit 13: Enabled ABS/Traction control

High Battery Voltage Foldback

When the battery approaches full charge, regen current must be reduced to prevent overvoltage.

AddressParameterFunction
194High battery foldback starting voltageRegen reduction begins
195High battery foldback end voltageMaximum regen reduction

Warning bit 8 activates when voltage exceeds the starting threshold.

Disable Option

Set thresholds out of range to disable high battery foldback.

Bidirectional Throttle

Available in firmware 6.025+, this feature allows one side of the throttle for forward driving and the other for braking or reverse.

Setup Steps

  1. Configure throttle sensor source
  2. Set Throttle full voltage for forward direction
  3. Set Throttle off voltage for reverse/brake direction
  4. Configure Throttle fault range for fault detection
  5. Set Throttle deadband threshold
  6. Configure midpoint (parameter 1987)
  7. Set neutral zone width (parameter 1988)
  8. Assign Reverse_Enable_Source and/or Regen brake source to '4'
  9. Enable Features4 bit 11

Configuration Summary

ParameterStarting ValueNotes
Regeneration battery current limit20-50%Higher for more regen
Maximum braking torque10%Increase gradually
Engine braking torque20-50%Of max braking torque
Positive braking ramp200msPrevents wheel lockup
Regen brake speed5 km/hMinimum effective speed

Interaction Priority

When multiple braking sources are active (firmware 6.014+):

  1. Compare commanded braking torque from each source
  2. Apply the highest commanded torque
  3. Respect battery current limits

Next Steps