advanced
hardware
protection
faults

Protection Systems

Faults, warnings, temperature foldbacks, and protection mechanisms for ASI BAC motor controllers

Levy Fleets TeamJanuary 12, 202515 min read

Protection Systems

ASI BAC controllers include comprehensive protection systems to prevent damage to the controller, motor, battery, and vehicle.

Faults vs Warnings

TypeBehaviorSeverity
FaultsDisable motor operationCritical - requires resolution
WarningsReduce performance (foldback)Protective - auto-recovers

Fault Conditions

Faults are stored at Address 258 as a 16-bit register. Each bit represents a different fault condition.

Critical Faults

Flash CodeFaultDescription
1,1Slow over voltageFiltered battery voltage exceeded threshold for >1 second
1,2Phase overcurrentMotor phase current exceeding thresholds
1,5Controller overtempController temperature exceeded safe limits
1,6Hall sequence errorMotor Hall sensor sequence invalid
1,7Slow under voltageBattery voltage below minimum for >1 second
2,1Network timeoutNetwork communication timeout

How to Clear Faults

Most faults clear by:

  1. Rebooting the controller (power cycle)
  2. Reducing the triggering condition (temperature, voltage, current)

Flash Code Reading

The LED uses dual-digit flash patterns: first digit flashes, short pause, second digit flashes, long pause, then repeats. Example: "1,1" = one flash, pause, one flash, long pause.

Warning Conditions

Warnings are stored at Address 277 and indicate protective foldbacks activating:

Warning BitConditionAction
Bit 7Low battery voltageCurrent reduction active
Bit 8High battery voltageRegen reduction active
Motor tempMotor overheatingPerformance reduction
Battery SOCLow state of chargeCurrent reduction
I²T overloadThermal accumulationCurrent limiting

Controller Temperature Foldback

The controller has two integrated temperature sensors:

  • Powerboard sensor: Monitors MOSFETs
  • DSP sensor: Monitors digital signal processor

Temperature Thresholds

ParameterFunction
Controller Foldback Starting TemperaturePeak motor current reduction begins
Controller Foldback Ending TemperaturePeak motor current reduced to 0A

Fixed Parameters

Controller temperature thresholds are manufacturer-set and cannot be modified by users.

Behavior

As temperature rises:

  1. Current limit progressively reduces
  2. At ending temperature, motor output stops
  3. Cooling allows gradual recovery

Motor Temperature Foldback

Protects motors from thermal damage to internal electronics, mechanical components, and magnet demagnetization.

Configuration

ParameterFunction
Motor foldback starting temperatureCurrent reduction begins
Motor foldback end temperaturePeak current reduced to 0A

Temperature Sensor Setup

  1. Activate Features bit 5 (Motor temp sensor enable)
  2. Select the Motor temperature source
  3. Input voltage values at six temperature points:
    • 0°C, 25°C, 50°C, 75°C, 100°C, 125°C

Temperatures above 125°C and below 0°C use linear extrapolation.

Sensor Types

TypeBehavior
NTCResistance decreases as temperature rises
PTCResistance increases as temperature rises

Wiring Options

Connect thermistor to:

  • Throttle/Analog Input 1
  • Brake1/Analog Input 2
  • Brake2/Analog Input 3
  • ABMS/Analog Input 4

Firmware Note

Firmware 6.022 and earlier restricts NTC sensors to Brake2/Analog Input 3 only.

Motor I²T Foldback

Thermal accumulation monitoring protects against overheating even without a temperature sensor.

Heating Setup

The overload accumulator builds when motor current exceeds continuous rating:

Current LevelGainBehavior
Below continuous0No accumulation
Continuous to heating0-1Linear accumulation
Above heating1Full accumulation rate

Overload heating time: Duration to reach 100% accumulation at full gain.

Cooling Setup

The accumulator decreases when motor current drops below cooling threshold:

Current LevelGainBehavior
Below cooling1Full cooling rate
Cooling to continuous0-1Linear cooling
Above continuous0No cooling

Overload cooling time: Duration to reach 0% accumulation at full gain.

Reset Behavior

Restarting the controller resets the accumulator to 0%.

Foldback Implementation

ParameterFunction
Overload foldback startBegin reducing motor current
Overload foldback endEliminate all motor current

Current reduction interpolates linearly based on accumulator percentage.

Battery I²T Foldback

Similar to motor I²T but monitors battery current instead.

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

Uses the same heating/cooling time constants and accumulator thresholds as motor I²T.

Speed-Based Foldback

Adjusts motor torque based on vehicle speed to protect the motor and controller at high speeds.

Configuration Process

  1. Slope Calculation: System computes slopes between power map setpoints (addresses 157-164)
  2. Speed Mapping: Vehicle speed compared against speed limit setpoints (addresses 165-172)
  3. Foldback Application: Based on current speed range, applies calculated power reduction

Voltage Protection Details

Overvoltage Protection

AddressParameterBehavior
147Fast over voltageSingle spike above threshold → immediate trip
149Slow over voltageAveraged voltage above threshold for >1 second → trip

Fast OVP (Faults bit 12): Cannot be disabled, only adjusted up to controller input rating.

Slow OVP (Faults bit 0, Flash code 1,1): Bridge disables until voltage drops below threshold for >1 second.

Undervoltage Protection

AddressParameterBehavior
148Fast under voltageSingle dip below threshold → immediate trip
150Slow under voltageAveraged voltage below threshold for >1 second → trip

High Battery Voltage Foldback

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

Warning bit 8 activates when voltage exceeds starting threshold.

Low Battery Voltage Foldback

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

Warning bit 7 activates when voltage falls below starting threshold.

POST (Power-On Self-Test)

The POST performs diagnostic checks each time the motor is enabled.

Static Gating Test

Measures voltage across three motor phases before bridge activation:

Pass criteria: Three voltages must measure 50% (±25%) of battery voltage.

AddressParameter
285-287Phase A, B, C voltages
47Open circuit voltage test window
306-308Phase U, V, W POST readings

Dynamic Gating Test

If static test passes, PWMs individual FETs sequentially:

Pass criteria:

  • Low side: 15% (±10%) of battery voltage
  • High side: 85% (±10%) of battery voltage
AddressParameter
48High/Low-side turn on voltage test window
300-305High/low voltage POST measurements

Firmware Requirement

Open circuit voltage test window modification requires firmware 6.023+ with access level 1 unlocked.

Hall Stall Fault

Monitors motor operation for stall conditions.

Detection

When output exceeds 20% of rated motor current without corresponding position changes, the controller generates warning bit 2.

Configuration

Set Hall stall fault time to a non-zero millisecond value to activate monitoring.

Tuning Caution

Setting Hall stall fault time too low can cause false faults during throttle engagement. Tune carefully to prevent nuisance warnings.

Troubleshooting Approach

Most protection issues resolve through:

  1. Parameter verification - Check configuration values
  2. Hardware inspection - Wiring, connections, components
  3. Temperature management - Cooling, airflow, duty cycle
  4. Battery condition - Voltage, capacity, internal resistance

Required Tools

  • Safety equipment (glasses, ESD mat)
  • Current-limited power supply (48V max)
  • Digital multimeter
  • BACDoor software
  • USB isolator

Testing Checklist

  • Visual inspection for damage
  • Short check between terminals
  • Power-up with current limiting
  • Peripheral verification (voltage outputs)
  • CAN bus testing (if applicable)
  • POST static/dynamic testing

Next Steps