Skip to content

Hardware troubleshooting

This page gives procedures to examine a BAC6 controller that does not operate correctly. The procedures are general, not specific to an application. Record all the results. If you make a warranty claim, send the results to ASI with the claim.

Each section has tabs for the two controller ranges:

  • BAC355/555/855: low-power controllers with the 24-pin JST connector and the ASI evaluation harness.
  • BAC2000/4000/8000: high-power controllers with the Molex MX150 connectors and the ASI evaluation harness.

For the evaluation harness drawings, refer to Mechanical drawings.

Required tools

  • Safety glasses
  • Electrostatic discharge (ESD) mat
  • Power supply with a current limit, 48 V
  • Digital multimeter
  • ASI evaluation harness for your controller
  • PC with BACDoor®3. You can also use BACDoor®3 to examine Bluetooth.
  • USB isolator and an ASI TTL serial cable
  • Wire stripper and electrical tape
  • PEAK CAN adapter and the PCAN-View software, if your controller has CAN

CAUTION

When you strip a wire, put electrical tape on the exposed part. Keep it away from other stripped wires and connection points. Exposed wires can cause a short circuit.

WARNING

Do not supply power to the controller until this procedure tells you to. Do not connect a motor to the controller during these procedures. If you do, the test results can be incorrect. A controller with damage can become dangerous when you supply power to it.

Wiring reference

24-pin JST connector

24-pin JST signal connector

Pin Evaluation harness wire colour Function
1 Black Hall GND
2 White/black Hall 5 V
3 Green Hall A
4 Blue Hall C
5 Black Signal GND
6 Yellow Hall B
7 Purple/white ABMS
8 Orange/white Brake 2
9 Blue/black PFS
10 Orange Brake 1
11 Red/white 5 V output
12 Blue/white Cruise
13 Brown 12 V output
14 Purple Throttle
15 Purple/black HDQ
16 Black Signal GND
17 Grey/white TTL-RX
18 Yellow/white TTL-TX
19 Grey/black CAN-L, RS-485 or TTL2 (by variant)
20 Yellow/black CAN-H, RS-485 or TTL2 (by variant)
21 Red Key-out (battery positive output)
22 White Key-in
23 Green/white Light (6 V)
24 Black Light GND

BAC355/555/855 evaluation harness wiring

Power and phase wires

Battery and phase wires

16-pin Molex MX150 connector

16-pin Molex MX150 connector

Pin Evaluation harness wire colour Function
1 Pink HDQ
2 Blue/white Cruise
3 Yellow/white TTL-TX
4 White/green 5 V output
5 Blue/black PFS
6 Orange Brake 1
7 Purple Throttle
8 White/green 5 V output
9 Red/white Key-in
10 Grey/black CAN-L
11 Yellow/black CAN-H
12 Purple/white ABMS
13 Grey/white TTL-RX
14 Black Signal GND
15 Black Signal GND
16 White/black 12 V output

BAC2000/4000/8000 evaluation harness wiring, 16-pin connector

6-pin Molex MX150 connector

6-pin Molex MX150 connector

Pin Evaluation harness wire colour Function
1 White Hall 5 V
2 Black Hall GND
3 Green Hall A
4 Yellow Hall B
5 Blue Hall C
6 Orange/white Brake 2

BAC2000/4000/8000 evaluation harness wiring, 6-pin connector

The evaluation harness has a switch between the battery positive ring terminal (red) and Key-in.

Visual inspection

ASI label

ASI label

  1. Record these data from the ASI label:
    • Model number
    • Part number
    • Hardware number
    • Firmware number
    • Parameter file number
    • Revision
    • Serial number
    • Country of origin
  2. Record the problem. Give as much detail as possible.
  3. Examine the controller. Look for cracks, burns or damage on the housing, the connectors, the LED and the wires. Record all damage.

Short circuit check

Use the resistance function of the multimeter. Put the positive probe on the first terminal and the negative probe on the second terminal. With these probe positions, the internal diodes of the power bridge do not conduct.

Note

The multimeter charges the capacitors of the controller a little, so the value can change each time you measure. Thus, the correct results are minimum or maximum values.

Step Positive probe Negative probe Correct result
1 Battery positive Battery negative More than 500 kΩ
2 Battery positive Hall GND (pin 1) More than 500 kΩ
3 Battery positive Light GND (pin 24) More than 500 kΩ
4 Battery positive Signal GND (pin 5) More than 500 kΩ
5 Battery negative Signal GND (pin 5) Less than 1 Ω
6 Battery negative Hall GND (pin 1) Less than 10 Ω (Hall GND has a polyfuse)
7 Heat spreader Battery negative Open circuit
8 Phase U/A Battery negative More than 500 kΩ
9 Phase V/B Battery negative More than 500 kΩ
10 Phase W/C Battery negative More than 500 kΩ
11 Battery positive Phase U/A More than 500 kΩ
12 Battery positive Phase V/B More than 500 kΩ
13 Battery positive Phase W/C More than 500 kΩ

Short circuit check, BAC355/555/855

Step Positive probe Negative probe Correct result
1 Battery positive terminal Battery negative terminal More than 500 kΩ
2 Battery positive terminal Hall GND (6-pin, pin 2) More than 500 kΩ
3 Battery positive terminal Signal GND (16-pin, pin 14) More than 500 kΩ
4 Battery negative terminal Signal GND (16-pin, pin 14) Less than 1 Ω
5 Battery negative terminal Hall GND (6-pin, pin 2) Less than 10 Ω (Hall GND has a polyfuse)
6 Heat spreader Battery negative terminal Open circuit
7 Phase U terminal Battery negative terminal More than 500 kΩ
8 Phase V terminal Battery negative terminal More than 500 kΩ
9 Phase W terminal Battery negative terminal More than 500 kΩ
10 Battery positive terminal Phase U terminal More than 500 kΩ
11 Battery positive terminal Phase V terminal More than 500 kΩ
12 Battery positive terminal Phase W terminal More than 500 kΩ

Short circuit check, BAC2000/4000/8000

If the multimeter has a capacitance function, measure and record the capacitance between battery positive and battery negative.

WARNING

Do not supply power to the controller if one of these conditions occurs:

  • The resistance between battery positive and battery negative, or between battery positive and a GND pin, is much lower than the correct value (for example, less than 100 kΩ).
  • The heat spreader is not isolated from battery negative.

Record the result and contact ASI.

If only a phase check is incorrect, record the result and continue. The bridge self-test (POST) first does a static test: it measures the phase voltages before it enables the bridge. If a phase has a short circuit to battery positive or battery negative, the static test fails and the controller does not enable the bridge.

Power-up

  1. Set the power supply to 48 V and set the current limit to 250 mA. Turn off the power supply.
  2. Connect the power supply positive to the battery positive wire (red). Connect the power supply negative to the battery negative wire (black).
  3. Turn on the power supply.
    • The correct result is the power supply voltage.
    • If the result is 0 V, the controller has damage. To continue the test, connect Key-in (pin 22) to the power supply positive.

    Measure the voltage between Key-out (pin 21) and signal GND.

    Key-out voltage check

  4. Turn off the power supply.

  5. Connect Key-in (pin 22) to Key-out (pin 21). Keep them connected for all the tests.

    Key-in connected to Key-out

  6. Turn on the power supply and read the current.

  1. Set the power supply to 48 V and set the current limit to 250 mA. Turn off the power supply.
  2. Connect the power supply positive to the battery positive terminal. Connect the power supply negative to the battery negative terminal.
  3. Connect the red ring terminal of the evaluation harness to the battery positive terminal. Set the Key-in switch of the harness to OFF.
  4. Turn on the power supply.
  5. Set the Key-in switch of the harness to ON. Keep it ON for all the tests.
  6. Read the current.

WARNING

If the power supply goes to its current limit, turn off the power supply immediately. Do not continue. Record the result and contact ASI.

The correct current is less than 100 mA.

Status LED

  1. Look at the LED of the controller. Record if the LED is on or off.
  2. If the LED flashes, record the flash pattern. For example, 3 flashes, a short pause, 1 flash and a long pause is code 3,1. Refer to Faults and warnings.

Connect BACDoor®3

  1. Connect the controller to the PC through the USB isolator and the TTL serial cable. The TX of the controller connects to the RX of the PC, and the RX of the controller connects to the TX of the PC.
  2. In BACDoor®3, connect with the baud rate of your controller and address 1. The ASI default baud rate is 115200.
  3. If the connection does not start, try the baud rate 9600. Then try the other baud rates. Record the baud rate that operates, if one operates.
  4. If your controller uses CAN, connect at 250 kbps with node ID 42 (ASI default settings). If you changed these settings, use your settings.

If the controller does not connect and the LED does not come on, do the Firmware recovery procedure.

Record the controller data

  1. Record the firmware version, the build version, the variant and the bootloader version.
  2. Go to Controller Debug > OTP/CRCs/Versions/MFG. Record the OTP serial numbers (otp serial number0 and otp serial number1).
  3. Click Save to File. Save all the parameters to a file.
  4. If the status indicator is red, put the cursor on it to read the fault.
  5. Read faults, Faults2, warnings and Warnings2. Record all the bits that are 1. Refer to Faults and warnings.

Firmware recovery

Do this procedure only if the controller does not connect to BACDoor®3. BACDoor®3 catches the bootloader of the controller at power-up and loads the firmware.

Prerequisites

You must have the correct firmware file (.ehx) for your controller. If you do not have it, contact ASI.

  1. Turn off the power supply.
  2. In BACDoor®3, on the Connection view, select the product family and the COM port. Do not connect.
  3. Click Update Firmware. Select the firmware file.
  4. When BACDoor®3 tells you, turn on the power supply. In bootload mode, the LED of the controller flashes quickly and continuously, without long pauses.
  5. Wait until BACDoor®3 shows that the update is complete.
  6. Turn off the power supply, then turn it on again.
  7. If the controller still does not connect, stop the test. Record the result and contact ASI.

Refer to BACDoor®3 - Update Firmware.

Outputs

Use the multimeter. Measure each output with respect to signal GND.

Step Output Pin Correct result
1 12 V output 13 12 V to 13.5 V
2 5 V output 11 Approximately 5 V
3 Hall 5 V 2 Approximately 5 V
4 Light (6 V), off 23 0 V
5 Light (6 V), on: in Remote Digital Commands, set bit 1 HeadLight to 1 23 Approximately 6 V
6 Set bit 1 HeadLight to 0 23 0 V

Output checks, BAC355/555/855

Step Output Pin Correct result
1 12 V output 16-pin, 16 12 V to 13.5 V
2 5 V output 16-pin, 4 and 8 Approximately 5 V
3 Hall 5 V 6-pin, 1 Approximately 5 V

Output checks, BAC2000/4000/8000

Low-side switch (HDQ)

  1. In Remote Digital Commands, set bit 9 HDQ to 1.
  2. Measure the resistance between HDQ and signal GND. The correct result is a low resistance.
  3. Set bit 9 HDQ to 0.
  4. Measure the resistance again. The correct result is a high resistance (open circuit).

Inputs

Floating voltages

With the inputs not connected, measure the voltage of each input with respect to signal GND. Record the results: Hall A, Hall B, Hall C, PFS and Cruise.

Note

These inputs have a protection diode. Thus, the multimeter reading can be unreliable. Use the digital input check below to confirm that the inputs operate.

Digital inputs

  1. In BACDoor®3, monitor the digital inputs parameter.
  2. Connect each input to its GND, one at a time. Make sure that the applicable bit changes to 1. Then disconnect the input.
Input Connect to Bit of digital inputs
Hall C Hall GND 0
Hall B Hall GND 1
Hall A Hall GND 2
PFS Signal GND 3
Cruise Signal GND 4

Digital input checks

Analog inputs

  1. In BACDoor®3, monitor throttle voltage, brake 1 voltage, brake 2 voltage and abms voltage.
  2. Do the steps in the table. Disconnect each input after its step.
Step Input Action Correct result
1 Throttle Not connected Approximately 0 V
2 Throttle Connect to the 5 V output Approximately 5 V
3 ABMS Not connected Approximately 0 V
4 ABMS Connect to the 5 V output Approximately 5 V
5 Brake 1 Connect to signal GND Approximately 0 V
6 Brake 2 Connect to signal GND Approximately 0 V

Analog input checks

Brake input pull-ups

On some variants, you can enable or disable the 5 V pull-ups of Brake 1 and Brake 2. They are Features2 bit 6 Brake 1 Pullup enable and bit 7 Brake 2 Pullup enable.

  1. With the inputs not connected, measure the voltage of Brake 1 and Brake 2 with respect to signal GND. Record the results.
  2. Set Features2 bit 6 and bit 7 to 0.
  3. Measure the voltage of Brake 1 and Brake 2 again. Record the results.
  4. Set Features2 bit 6 and bit 7 to their initial values.

With the pull-up enabled, the correct result is approximately 4.5 V to 5 V. With the pull-up disabled, the correct result is approximately 0 V. On the variants with a fixed pull-up, the voltage does not change.

CAN

Do this procedure only if your controller has CAN.

  1. Make sure that the two ends of the CAN bus have a 120 Ω termination resistor.
    • The controller has an internal termination resistor. Communications Configuration Vector bit 12 Disable CAN termination resistor controls it. Set bit 12 to 0 to connect the internal resistor. Set bit 12 to 1 to disconnect it.
  2. Disconnect all the active devices from the bus. Measure the resistance between CAN-H and CAN-L. The correct result is approximately 60 Ω.
  3. Record the CAN settings of the controller: CAN baud rate and the CAN node ID.
  4. Make sure that the controller sends periodic messages (TPDOs). Refer to CANopen.
  5. Connect the PEAK CAN adapter to the PC through the USB isolator. Start PCAN-View with the CAN baud rate of the controller.
  6. Record the node ID that sends data, and record the data.
  7. If you do not see data:
    • Make sure that the termination agrees with your hardware.
    • Make sure that the TPDOs are set to send data.

Bridge self-test (POST)

This procedure makes the controller do the power-on self-test (POST) of the power bridge. The POST has two tests. The static test measures the phase voltages with the bridge disabled. If the static test passes, the dynamic test enables the bridge and measures the phase voltages again. No motor is connected, so the bridge only does the self-test. Then motor discovery stops, and no current flows. For the POST limits, refer to POST thresholds.

  1. Record phase A current sensor offset and phase C current sensor offset. The correct result is approximately 0.5.

    Phase A and C current sensor offsets

  2. Record the phase U/A, V/B and W/C voltages and currents in BACDoor®3. With no motor, the correct currents are approximately 0 A.

    Phase currents

  3. Start to poll these parameters:

    • motor phase U low voltage POST, motor phase V low voltage POST, motor phase W low voltage POST
    • motor phase U open circuit voltage POST, motor phase V open circuit voltage POST, motor phase W open circuit voltage POST
    • motor phase U high voltage POST, motor phase V high voltage POST, motor phase W high voltage POST
  4. Set Motor discover mode to 1.
  5. Record the values of the parameters. If a fault occurs, record the fault and the POST value.

    POST values

Parameter Correct result (normalized to the battery voltage)
Open circuit voltage POST (U, V, W) 0.5 ± 0.25
Low voltage POST (U, V, W) 0.15 ± 0.10
High voltage POST (U, V, W) 0.85 ± 0.10

Correct POST results