Battery Managment System
Battery Managment System
Version: 21/06/2012
Page 1 of 22
Contents
Document History ................................................................................................................................... 4
Abbreviations .......................................................................................................................................... 4
Battery Management System Overview ................................................................................................. 5
Battery Management Module (BMM) ................................................................................................ 5
CAN bus Current Sensor (CCS) ............................................................................................................ 5
Battery Health Module (BHM) ............................................................................................................ 6
System Interface Module (SIM) .......................................................................................................... 6
BMS CAN bus Specification ................................................................................................................. 6
BMS CAN bus Communication ............................................................................................................ 6
Battery Management Module ................................................................................................................ 7
BMM Functional Specification ............................................................................................................ 7
BMM CAN Message Dictionary ........................................................................................................... 7
BMM Connector Locations and Pin outs .......................................................................................... 10
BMM Dimensions .............................................................................................................................. 12
CAN bus Current Sensor........................................................................................................................ 13
CCS Specification ............................................................................................................................... 13
CCS CAN Message Dictionary ............................................................................................................ 13
CCS Connector Pin outs..................................................................................................................... 16
CCS Dimensions................................................................................................................................. 17
CCS Interface Mode Overview .......................................................................................................... 17
Interface CAN Message Dictionary ................................................................................................... 17
BMM Manager Application ................................................................................................................... 20
BMM ID Allocation Process ............................................................................................................... 20
Ashwoods Energy Automotive BMS Control Message ......................................................................... 21
Data payload of control ECU message. ............................................................................................. 21
BMS Mode Request: ..................................................................................................................... 21
BMS Discharge Current Limit: ....................................................................................................... 21
BMS Regen Current Limit: ............................................................................................................. 21
ECU Alive Counter: ........................................................................................................................ 21
Data Payload of Charger Acknowledge Message. ............................................................................ 21
Charger Status Flags: ..................................................................................................................... 21
Charger Output Current: ............................................................................................................... 21
Charger Output Voltage: ............................................................................................................... 21
Charger Available Output Current: ............................................................................................... 22
Charger Counter:........................................................................................................................... 22
Page 2 of 22
Page 3 of 22
Document History
Date Notes
03/01/12 First Draft Release
19/01/12 BMM CAN Messages completed, Added Abbreviations.
13/02/12 CCS CAN Messages, Added to product specification’s.
22/02/12 Refinement to BMM Cell Sense wiring guide.
26/04/12 Added BMS control Signal guidance.
01/05/12 Added detail to CCS Pin out.
23/05/12 Added BMM manager section
21/06/12 Corrected BMM OVP/LVP fault bit order.
Abbreviations
Hex – Hexadecimal numeral which is base 16 i.e. 0x0 = 0 and 0xF = 16.
DLC – CANbus message Data Length Code, number of Bytes contained in the message.
DCDC – An electronic circuit that converts DC voltage from one level to another.
Page 4 of 22
Battery Management System Overview
The Ashwoods Energy Battery Management system (BMS) is a distributed modular digital BMS which
utilises a CAN bus backbone for communication between modules. The CAN bus backbone provides
a robust and reliable communication system with significant data bandwidth that allows the BMS to
easily interact with other CAN bus components within the energy system. The CAN bus backbone is
complimented by a hardware fault line that runs through all modules within the system and also
provides a continuity check to ensure all harnesses are correctly connected. The BMS core functions
include the ability to measure and report the voltage of every cell within the battery pack, to balance
the whole battery pack without the need for a master controller, to calculate key battery
performance metrics including the battery state of charge (SOC) and to cut off the battery current to
protect the cells.
The BMS is composed of up to 4 different modules each performing unique functions within the
system. The modular nature of the system allows it to be configured and scaled to fit the specific
requirements of an application. The modules within the system are introduced below.
Page 5 of 22
Battery Health Module (BHM)
The BHM monitors key parameters relating to the health and usability of the battery pack including
chassis isolation, overall pack temperature and total pack voltage. The BHM controls battery heating
and cooling if available to ensure optimum operating conditions for the battery pack. The BHM
provides a secondary pack level thermal protection level to complement the BMM cell level thermal
protection. The BHM logs pack specific health data including isolation faults and extreme
temperature events.
An example is a 102V battery pack made from 32 LifePO4 Cells connected in series. This battery pack
requires 4 BMM’s and is also fitted with a CCS and a BHM, the total number of modules within the
BMS is 6 which means that 14 CAN message IDs are required i.e. 0x100 to 0x10E where 0x100 and
0x101 are used as the global command and control message IDs.
Depending on the BMS integration within the application up to 12 further CAN message IDs may be
required for diagnostic broadcast and communication with battery charger, vehicle ECU, DCDC
converter and/or traction inverter.
Page 6 of 22
Battery Management Module
CAN Message ID: Even (SID0 = 0), e.g. 0x102 in the battery pack example
Message Data:
Page 7 of 22
B Message Content: Fault Events and Status Flags
CAN Message ID: Odd (SID0 = 1), e.g. 0x103 in the battery pack example
Message Data:
Page 8 of 22
Min. Value Max. Value
Description Scaling/Offset
(hex) (dec) (hex) (dec)
1⁰C per bit with 0x0D -27⁰C 0x8C 100⁰C
B2, B3 Temp X – X
40⁰C Offset Data Range Examples
0x0D -27⁰C
0x28 0⁰C
One temperature sensor per 4 Cells 0x3F 23⁰C
0x8C 100⁰C
Page 9 of 22
BMM Connector Locations and Pin outs
Connectors Locations
J6
J1
J5
J9
J7 J2
Connector Housing part number: JST XHP-5. Contact part number: JST SXH-001T-P0.6.
J7 (6 Way JST PH 2mm) Cells 1-4 Sense leads (AE Supplied lead has black heat shrink)
J2 (6 Way JST PH 2mm) Cells 5-8 Sense leads (AE Supplied lead has Red heat shrink)
Connector Housing part number: JST PHR-6. Contact part number: JST SPH-002T-P05S.
It is recommended that the Cell Voltage and Temperature sense leads are kept shorter than
300mm to minimise electrical noise coupling into the signals.
In (J6) Out(J1)
Pin 5 = Chassis GND (Black Wire) Pin 5 = Chassis GND (Black Wire)
Pin 4 = +12V Supply (Red Wire) Pin 4 = +12V Supply (Red Wire)
Pin 3 = Fault Line In (White Wire) Pin 3 = Fault Line In (White Wire)
Pin 2 = CAN Low (Yellow or Black Wire) Pin 2 = CAN Low (Yellow or Black Wire)
Pin 1 = CAN High (Pink or Red Wire) Pin 1 = CAN High (Pink or Red Wire)
Page 10 of 22
Pin 6 to BAT 8+
BAT 8
BAT 3
Pin 1 to BAT 1-
Cells 1-4 (J7) (Black Heat Shrink) Cells 5-8 (J2) (Red Heat Shrink)
Pin 5 = Cell 4-/3+ (Black Wire) Pin 5 = Cell 8-/7+ (Black Wire)
Pin 3 = Cell 3-/2+ (White Wire) Pin 3 = Cell 7-/6+ (White Wire)
Pin 2 = Cell 2-/1+ (Orange Wire) Pin 2 = Cell 6-/5+ (Orange Wire)
Where Cell 1 is the most negative cell in the series string and Cell 8 is the most positive.
For a final sanity check Bat 4+/5- (Red wire) from the J7 Black Heat Shrink harness is common to Bat
4+/5- (Green Wire) from the J2, Red Heat shrink harness.
Page 11 of 22
BMM Dimensions
Page 12 of 22
CAN bus Current Sensor
CCS Specification
• The CAN bus Current Sensor is available in 3 measuring ranges.
• +/- 300Amp with 200mA Resolution.
• +/- 600 Amp with 400mA Resolution.
• +/- 1200Amp with 800mA Resolution.
• Measured Signal Bandwidth: 1.5kHz
• Operating Temperature Range: -40⁰C to +85⁰C
• Standby power consumption at 12V:40mA
• Operating power consumption at 12V: 80mA
• 12V 4A Suppressed Contactor Driver.
• 12V 4A Supply for BMM’s.
• 24V Tolerant Ignition Signal input.
CAN Message ID: Even (SID0 = 0), e.g. 0x10D in the battery pack example
Message Data:
Page 13 of 22
Min. Value Max. Value
Description Scaling/Offset
(hex) (dec) (hex) (dec)
100mA per bit 0xFF38 -20.0A 0x +20.0A
B3, B2 Offset
Signed Int16 Data Range Examples
0xFF38 -20.0Amps
The Offset is fixed at device power on and 0x0000 0.0Amps
is provided for diagnostic use only 0x00C8 +20.0Amps
The CCS has multiple “B” messages that can be requested for diagnostic purposes by the PC
application, the standard broadcast message is detailed below.
CAN Message ID: Odd (SID0 = 1), e.g. 0x10E in the battery pack example
Message Data:
Page 14 of 22
Min. Value Max. Value
Description Scaling/Offset
(hex) (dec) (hex) (dec)
Enumerated BMS 0x00 0 0xFF 255
B1 System State
State Flags Data Range Examples
0x00 System Ready
0x01 System Run
Normally only Initialise, Run and Error
0x02 System Plugin Charge
apply. Other states are for interface.
0x03 System Error
0x04 System Initialise
Page 15 of 22
CCS Connector Pin outs
Pin 1 is top left corner in this view and can be identified by the moulded rib.
Connector Housing part number: Molex 39-01-2160. Contact part number: Molex 39-00-0078.
Page 16 of 22
CCS Dimensions
State Of Charge Message Content: State of Charge, Battery Current, State of Health
Message Data:
Page 17 of 22
Charger Control Message Content: Requested Voltage, Current, Pack Voltage and Charge State.
Message Data:
Message Data:
Message Data:
Journey Statistics Message Content: Peak Temperature and Current Values during journey.
Page 18 of 22
Message Data:
Page 19 of 22
BMM Manager Application
4
3
ID Allocation Procedure
1. Press “unallocated”
2. Set the virtual pack balancing range to the number of BMM modules on the bus, starting
from 1. i.e. 32S 2P system would have 8 BMM modules so range is 1 to 8.
3. Set the ID allocate from board number to the starting range of the pack i.e. if the 32S 2P
system was split into two 32S 1P packs they could be allocated individually as pack 1 (ID’s 1
to 4) and pack 2 (ID’s 5 to 8). So pack 1 would start from ID 1 and pack 2 would start from ID
5.
4. Press “ID allocate” you will now see the ID’s that are being allocated appear in the cell
column of the table.
5. Once all of the ID’s have been allocated cycle the 12V power supply to the pack.
6. The Cell data and statics should now appear in the table, the row will be proportional to the
ID of the BMM so for high ID numbers you may need to scroll down to find them in the
table.
Page 20 of 22
Ashwoods Energy Automotive BMS Control Message
The section following details the best practise control messages to be used during automotive BMS
integration. It is also recommended that the BMS to Charger control message has a checksum if the
charger voltage is >255V to minimise the risk of data interpretation error. The recommended
checksum is created in the final byte of the message from an Exclusive OR operation performed on
all of the previous bytes in the message.
Page 21 of 22
Charger Available Output Current:
Charger available output current typically signed integer 16 format with 100mA per bit scaling to
allow the BMS to fully utilise the available output from the charger to minimise the charging time.
This is especially useful for chargers that offer a constant power output.
Charger Counter:
This is typical an incrementing single byte counter that increases with each message send and rolls
over from 255 to 0. This is required to provide a safety confirmation that the Charger is functioning
as expected and that the measured current and voltage data is valid.
Page 22 of 22