advanced
hardware
battery
BMS

Battery Configuration

Configure battery limits, voltage protection, BMS integration, and power management for ASI BAC motor controllers

Levy Fleets Team12 de enero de 202510 min read

Battery Configuration

This guide covers battery limits, voltage protection, and BMS integration for ASI BAC motor controllers.

Rated Limits Configuration

The BAC Controller's battery configuration involves three main settings:

1. Rated System Voltage

Enter the battery's rated voltage rather than the measured voltage at full charge.

Battery TypeRated VoltageFull Charge Voltage
10S Li-ion36V42V
13S Li-ion48V54.6V
14S Li-ion51.8V58.8V
16S Li-ion59.2V67.2V

2. Maximum Battery Current Limit

Specified as a percentage of the motor's rated current capacity.

Example calculation:

  • Rated motor power: 2880W
  • Rated system voltage: 48V
  • Rated motor current: 2880W ÷ 48V = 60A
  • For 45A battery limit: 45A ÷ 60A = 75%

3. Regeneration Battery Current Limit

Also expressed as a percentage of rated motor current.

Critical Safety Note

If the Regeneration battery current limit 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. Set this parameter to at least 20% to prevent this behavior.

Voltage Protection Parameters

Overvoltage Protection

AddressParameterDescription
147Fast over voltage thresholdInstant trip on single spike (% of rated voltage)
149Slow over voltage thresholdTrip after >1 second averaged (% of rated voltage)

Example for 48V rated system:

  • Fast OVP at 120%: 48V × 1.20 = 57.6V trip threshold
  • Slow OVP at 110%: 48V × 1.10 = 52.8V trip threshold

Undervoltage Protection

AddressParameterDescription
148Fast under voltage thresholdInstant trip below threshold
150Slow under voltage thresholdTrip after >1 second below threshold

Example for 48V rated system:

  • Fast UVP at 50%: 48V × 0.50 = 24V trip threshold
  • Slow UVP at 75%: 48V × 0.75 = 36V trip threshold

High Battery Voltage Foldback

These parameters control regen current reduction as voltage approaches limits:

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

Battery Management System (BMS)

Purpose

BMS integration enables accurate state-of-charge (SOC) tracking, which is essential because SOC does not have a linear relationship with voltage.

Primary Applications

  • Reduce motor power when battery levels drop to extend range
  • Display remaining capacity to users
  • Override external BMS voltage protection behaviors

Configuration Options

Interface TypeDescription
NoneSOC reads 100% (configure voltage foldbacks separately)
Voltage ModelInternal software linearization
Analog 10VDirect analog signal input
RemoteNetwork-based communication

SOC Calculation Formula

The controller applies this formula:

SOC = ((battery voltage / Rated system voltage) × Voltage model SOC gain) + Voltage model SOC offset

Results are clamped to 0-100%.

Battery Resistance Compensation

The Battery Resistance parameter compensates for voltage drops during high current draw.

Calculation method:

  1. Measure no-load voltage
  2. Measure full-load voltage
  3. Calculate: (No-load V - Full-load V) ÷ Load current

Typical value: ~200 mΩ

Verification

Test using adjustable power supplies or live riding to confirm SOC tracking accuracy against actual battery depletion.

Battery Foldback Options

Option 1: Voltage Foldbacks

Monitors battery voltage to reduce peak motor current as voltage drops.

AddressParameterFunction
141Low battery foldback starting voltageCurrent reduction begins
142Low battery foldback end voltageMaximum current reduction

Warning bit 7 activates when voltage falls below starting threshold.

Disable Option

Set both thresholds to 0V to disable voltage-based foldback.

Option 2: SOC Foldbacks

Uses state-of-charge data from the BMS:

ParameterFunction
Battery SOC foldback starting capacityTriggers foldback initiation
Battery SOC foldback end capacityCuts current to zero

Option 3: Battery I²T Foldback

Enables thermal monitoring based on battery current rather than motor current.

Enable by: Setting Motor Features bit 3 to "Disable motor I²t enable battery I²t"

Overload Protection Thresholds

The system uses hysteresis between heating and cooling phases:

ParameterFunction
Continuous thresholdNormal operating limit
Heating currentPeak level before thermal accumulation begins
Cooling currentLevel at which thermal accumulation dissipates
Overload heating timeDuration to reach 100% accumulation
Overload cooling timeDuration to reach 0% accumulation

Battery current rating = Rated motor power ÷ Rated system voltage

Dual-Battery Configurations

For systems with OR-ed battery packs:

Requirements

  • Current must flow bidirectionally between controller and DC source
  • Simple series diodes block regenerative current and cause overvoltage faults
  • Use ideal diode bridges with N-Channel MOSFETs

Considerations

  1. Bus dynamics: Controller sees a stiff bus held by whichever pack has higher voltage
  2. Impedance limits: Verify maximum allowed impedance during regen
  3. BMS communication: Ensure charge-inhibit signals are properly routed

Regen Path

When using ideal diodes for reverse polarity protection, ensure the regen current path has sufficiently low impedance to prevent voltage spikes.

Configuration Checklist

1

Set Rated System Voltage

Enter your battery's nominal voltage (not full charge voltage).

2

Configure Current Limits

Set maximum battery current and regeneration limits as percentages.

3

Set Voltage Thresholds

Configure overvoltage and undervoltage protection thresholds.

4

Configure Foldbacks

Set up voltage or SOC-based foldbacks for battery protection.

5

Enter Battery Resistance

Measure and enter the battery's internal resistance for voltage compensation.

6

Select BMS Interface

Choose and configure your BMS communication method.

7

Save to Flash

Write all parameters to flash memory and power cycle.

Next Steps