Manual BMS 16S
Manual BMS 16S
Manual BMS 16S
Features:
1
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
Battery management system (BMS) is a device that monitors and controls each cell in the battery pack by measuring
its parameters. The capacity of the battery pack differs from one cell to another and this increases with number of
charging/discharging cycles. The Li-poly batteries are fully charged at typical cell voltage 4.10 - 4.20 V or 3.5 – 3.6 V
for LiFePO4. Due to the different capacity this voltage is not reached at the same time for all cells in the pack. The
lower the cell’s capacity the sooner this voltage is reached. When charging series connected cells with a single
charger, voltage on some cells might be higher than maximum allowed voltage. Overcharging the cell additionally
lowers its capacity and number of charging cycles. The BMS equalizes cells’ voltage by diverting some of the
charging current from higher voltage cells – passive balancing. The device temperature is measured to protect the
circuit from over-heating due to the passive balancing. Battery pack temperature is monitored by Dallas DS18B20
digital temperature sensor/s. Maximum 8 temperature sensors per Slave unit may be used. Current is measured by
low-side shunt resistor. Battery pack current, temperature and cell’s voltage determine state of charge (SOC). State
of health (SOH) is determined by comparing cell’s current parameters with the parameters of the new battery pack.
The BMS default parameters are listed in Table 1.
Default Parameters:
2 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
System Overview:
3 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
connection description
Temperature DALLAS 18B20
GND + shield
connector temp. sensor pins (pin 2)
Temperature DALLAS 18B20
1-wire digital signal
connector temp. sensor pins (pin 3)
Temperature DALLAS 18B20
+5V
connector temp. sensor pins (pin 1)
Current
+ Shunt (pin 3) Analog signal
connector
Current
- Shunt (pin 1 ) Analog signal
connector
Current
Shield (pin 2) Analog signal
connector
4 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
Number of cells connected to the BMS unit is selected via CELL DIP Switch pins at the back of the unit. Binary
addressing is used to enable setting up to 16 cells with 4 DIP Switches.
BMS unit address is selected via Address DIP Switch pins (BMS) at the back of the unit. Binary addressing is used to
enable setting up to 15 addresses with 4 DIP Switches. ! If multiple BMS units are used distinguished addresses
should be set to avoid data collision on the RS-485 communication bus!
Connect each cell to the BMS unit cell connector plug. Use silicon wires with cross section of 0.5 – 1mm2 ! Before
inserting the cell connector check voltages and polarities with voltmeter of each connection!
! If working on cells connections –BMS's cells connector should be unplagued otherwise the BMS is damaged !
5 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
BMS unit is always supplied from the 16-th cell connection. ! When less than 16 cells are used in the battery pack,
an additional wire with Pack + voltage should be connected to the cell 16 connector !
6 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
Pin Designator
1 -
2 GND
3 B + TERMINATION 470 OHM
4 A + TERMINATION
5 -
6 GND BMS
7 -
8 -
9 -
BMS unit is programmed as a Slave unit and responds only when asked. Galvanically isolated RS-485 (EN 61558-1,
EN 61558-2) serves for logging and changing BMS parameters. Dedicated PC BMS Control Software or another RS-
485 device may be used for the communication.
Dataflow:
Bit rate: 56k
Data bits: 8
Stop bits: 1
Parity: None
Mode: Asynchronous
7 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
8 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
'C','R','E','F','?' Reference calibration – read only Returns float voltage [V](4.996 typ.)
'O','D','D','C','?'/
Odd cells calibration coefficient Returns float value (0.0003 typ.)
'O','D','D','C',' ','xxx'
'E','A','V','C','?'/
Even cells calibration coefficient Returns float value (0.0003 typ.)
'E','A','V','C',' ','xxx'
'S','O','C','H','?'/
Charger SOC hysteresis Returns float value 0 - 0.99
'S','O','C','H',' ','xxx'
Parameter accepted and changed value is responded with 'SET' answer.
Example: proper byte message for 'LCD1?' instruction for BMS address 1 is:
<0x55><0x01><0x00><0x05><0x4C><0x43><0x44><0x31><0x3F><0x01><0xD9><0xAA>
RS-485 message are executed when the microprocessor is not in interrupt routine so a timeout of 350 ms should
be set for the answer to arrive. If the timeout occurs the message should be sent again.
9 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
Pin Designator
1 TERMINATION
2 CANL +TERMINATION
3 GND
4
5 -
6 GND
7 CANH
8 -
9
Bitrate: 250 kbs
11-bit identifier: 0x031
Default settings TX only
8 byte message structure:
10 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
When the Slave unit is turned ON it commences the test procedure. BMS checks if the user tries to uplod a new
firmware by turning on the Power LED. After the timeout Red error LED turns on to signal the system’s test
procedure. The procedure starts by testing balancing switches, BMS address and cells number, temperature
sensor/s detection, self calibration, EEPROM memory parameters, buzzer and internal relay. The test completes in
10 seconds. In case of no Errors red LED turns off and the BMS unit starts working in normal mode.
In case of Address=0 or cell number <4, error 6 informs the user to properly set the DIP switches. BMS has to be
turned off before the pins are changed.
In case if the BMS does not detect any temperature sensors on the bus, error 8 appears.
Error 10 indicates that the self calibration rutine detected error while calibrating due to reference failure.
Error 15 indicates balancing transistor/s failure.
Power LED (green) is turned on in 2 s intervals, if the BMS is powered. Error LED (red) is turned on in case of system
error. Number of Error LED blinks/sound alarm indicates Error number.
If the lowest cell’s voltage drops under MIN Vcell ('C','M','I','N') set value (2.9 V per cell default), the BMS signals
Error 2. If the lowest cell’s voltage drops further under the relay under-voltage threshold ('R','E','L',’V') for more
than set Timer for min cell ('R','E','L',’T') internal relay turns off. This feature prevents switching off the system at
higher load spikes. When the lowest cell’s voltage drops further under the relay under-voltage threshold
('R','E','L',’V') x 0.98 for more than 30 s, BMS goes to sleep.
Cell voltages are measured every second. The cell measurement algorithm performs several measurements to
digitally filter the influence of 50, 60, 100 and 120 Hz sinus signal. Each cell voltage is measured after the balancing
fuse, in case the fuse blows BMS signals error 10 to notify the user.
Cells are balanced passively by a 4.7 Ω power resistor. Since the balancing resistors dissipate a lot of heat, there
must be an additional temperature measurement inside the enclosure of the BMS unit to prevent overheating the
integrated circuits. If the BMS temperature rises above the set threshold, charging and balancing is stopped. BMS
error 5 is indicated until the temperature drops under the set hysteresis.
If errors 2, 4, 5, 8, 10, 12 are not present, highest cell voltage rises above Balancing START voltage and current is >
0.2 A (charging stage) the BMS initiates balancing algorithm. A weighted cell voltage average is determined
including cells’ DC internal resistance. Balancing algorithm calculates the voltage above which the cells are
balanced. The lowest cell voltage is taken into account determining balancing voltage.
If errors 2, 4, 5, 8, 10, 12 are not present, the cells above balancing END voltage are balanced regardless the battery
pack current. A special charging-balancing algorithm is programmed. If the highest cell’s voltage rises above the
11 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
middle value between end of charge voltage and maximum cell’s voltage the charger is turned off. BMS measures
the weighted average value of the battery pack and sets this value as balancing voltage END. BMS balances all the
cells that are above this value. When the highest cell is balanced down below this value, the charger is enabled
again. Process is repeated until all the cells are @ end of charge voltage.
Cell internal DC resistance is measured as a ratio of a voltage change and current change in two sequential
measurement cycles. If the absolute current change is above 15 A, cells internal resistance is calculated. Moving
average is used to filter out voltage spikes errors. A time interval current-drop is introduced in the battery pack
charging current to perform the cell internal DC resistance measurement.
Battery pack temperatures are measured by Dallas DS18B20 digital temperature sensors. Up to eight sensors can
be used in parallel. BMS should be turned off before adding additional sensors. If the temperature sensors wiring
is placed near the power lines a shielded cables should be used.
A low-side shunt resistor current measurement is used. A 4-wire Kelvin connection is used to measure the voltage
drop. As short as possible shielded cable should be used to connect the power shunt and BMS. The battery pack
current is measured every second. A high precision ADC is used to filter out the current spikes. The first current
measurement is timed at the beginning of the cell measurement procedure for a proper internal DC resistance
calculation. Shunt connection is shown in Fig. 11.
Pin Signal
1 - Shunt
2 Shield
3 + Shunt
12 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
Voltage-to-current Coefficient:
Different size and resistance shunts can be used, since the voltage-to-current coefficient can be changed in the BMS
Control software as 'I','O','J','A',' ','xxxxx'
Current is calculated by the voltage drop at the shunt resistor. 1 LSB of the 18 bit ADC represents different current
values according to the shunt resistance. The LSB coefficient can be calculated as:
0.05 V V dropx
k LSB 0.01171875 ,
300 A I currentx
where the Vdropx represents the voltage drop on different shunt resistor at current Icurrentx.
ADC has a pre-set gain of 8. With a maximum input voltage difference of 0.256 V.
SOC is determined by integrating the charge in-to or out of the battery pack. Different Li-ion chemistries may be
selected:
Number Type
1 Li-Po High power
2 Li-Po High capacity
3 Winston/Thunder-Sky/GWL
4 A123
5 Li-NMC
Temperature and power correction coefficient are taken into consideration at the SOC calculation. Li-Po chemistry
algorithms have an additional voltage to SOC regulation loop inside the algorithm. Actual cell capacity is
recalculated by the number of the charging cycles as pointed out in the manufacturer’s datasheet.
When BMS is reconnected to the battery pack, SOC is set to 50 %. SOC is reset to 100 % at the end of charging. It
can be set to desired value by RS-485 communication protocol by 'S','O','C','S',' ','x.xx' instruction (0.0-1.0).
13 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
Charger is controlled by internal Darlington optocoupler. When the charger should be enabled the
optocoupler output transistor is closed. Due to the Darlington output and additional reverse protection
diode there is 0.9 V voltage drop between the transistor’s collector and emitter. Optocoupler can drive a
small external transistor (coil up to 15 mA, 68 V). Connection schematic is shown in Fig. 12.
Pre-charge Circuit:
Pre-charge circuit is used to fill the input capacitors of the System. When the BMS turns the internal relay, battery
voltage starts to charge the capacitors via 33 Ohm power resistors inside the pre-charge circuit. After 4 s, the
contactor is turned ON. Fig. 13 below shows how to connect the pre-charge circuit in the system.
14 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
System errors are indicated with red error LED by the number of ON blinks, followed by a longer OFF state.
Table 10: BMS error states.
Number of
ERROR BMS OWNER
ON blinks
BMS will try to balance down the
problematic cell/cells to safe voltage
Single or multiple cell level (10 s error hysteresis + single Wait until the BMS does its
1 voltage is too high (cell over cell voltage hysteresis is applied). job.
voltage switch-off).
Internal relay is opened, charger is
disabled.
BMS will try to charge the battery
(10 s error hysteresis +single cell
Single or multiple cell voltage hysteresis is applied).
voltage is too low (cell
2 Plug in the charger.
under voltage protection Internal relay is opened to disable
switch-off). discharging (if cell’s voltage is below
CLOW for more than TREL), charger is
enabled.
BMS will try to balance the cells
Wait until the BMS does its
(10 s error hysteresis + 20 mV voltage
job. If the BMS is not able to
Cell voltages differs difference hysteresis).
3 balance the difference in a few
more than set.
hours, contact the service.
Internal relay is closed, charger is
enabled.
Cells temperature or cell inter-
connecting cable temperature in the
Cell temperature is battery pack is/are too high. (20 s Wait until the pack cools
4 too high (over temperature error hysteresis 2°C hysteresis). down.
switch-off).
Internal relay is opened, charger is
disabled.
Due to extensive cell balancing the
BMS temperature rose over upper
BMS temperature is too limit (10 s error hysteresis + 5 °C Wait until the BMS cools
5 high (BMS over temperature hysteresis). down.
temperature switch-off).
Internal relay is closed, charger is
disabled.
Number of cells at the back of the
BMS unit was changed from the
Number of cells, address is default manufacturer settings. Set the proper number of
6
not set properly. cells, address.
Internal relay is opened, charger is
disabled.
If cells are charged at temperatures
lower than operating temperature
The temperature is too low range, cells are aging much faster Wait until the battery’s
for charging (under than they normally would, so temperature rises to usable
7
temperature charging charging is disabled (2 °C temperature range.
disable). hysteresis).
Internal relay is opened, charger is
disabled.
15 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
Single or multiple cell voltage is close Turn-off the BMS and check
to zero or out of range, indicating a the cells connection to the
Cell in short circuit or blown fuse, short circuit or measuring BMS and fuses. Restart the
BMS failure (10 s error hysteresis + 10 mV BMS.
10
measurement/calibration voltage difference hysteresis).
error. If the same error starts to
Internal relay is opened, charger is signal again contact the
disabled. service.
Wrong cell chemistry In some application the chemistry Use PC Control Software to set
13
selected. pre-set is compulsory. proper cell chemistry.
16 www.rec-bms.com
BATTERY MANAGEMENT SYSTEM 4-16S - preliminary
BMS unit can be supplied without the enclosure, if an application is weight or space limited. The dimensions of the
BMS without the enclosure are 160 mm x 100 mm x 27 mm. Sufficient contact surface for cooling the balancing
resistors should be provided (aluminum recommended).
17 www.rec-bms.com