[go: up one dir, main page]

0% found this document useful (0 votes)
416 views92 pages

IR14488 Software Manual BMS Master 4 45

This document provides information about the software for the BMS Master 4/4.5 battery management system. It describes the system states, measurement systems, error handling processes, algorithms for calculating state of charge and health, and how to set up a system with slave modules. The software uses a state diagram to manage different operating modes like drive, plug-in, charge, and discharge. It also covers processes for precharging, charging curve selection, current and voltage measurements, temperature monitoring, and cell balancing.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
416 views92 pages

IR14488 Software Manual BMS Master 4 45

This document provides information about the software for the BMS Master 4/4.5 battery management system. It describes the system states, measurement systems, error handling processes, algorithms for calculating state of charge and health, and how to set up a system with slave modules. The software uses a state diagram to manage different operating modes like drive, plug-in, charge, and discharge. It also covers processes for precharging, charging curve selection, current and voltage measurements, temperature monitoring, and cell balancing.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 92

Software Manual

BMS Master 4 / 4.5.5

ACTIA I+ME GmbH


Dresdenstrasse 17/18
D-38124 Braunschweig
Germany
Tel.: + 49 (0) 531 38701-0
Fax: + 49 (0) 531 38701-88
www.ime-actia.com

Software Manual
BMS Master 4 / 4.5

Ref.: IR14488E 27.10.2016 Page 1/92


Doc Template Erstellt von/am: R&D/19.01.2015 IR11262G
Software Manual
BMS Master 4 / 4.5.5

Document Reference

Classification Internal Mailing List External Mailing List


Name Department Name Department

Without
Confid. I+ME
Confid. Client

Status only for information Official Document


Release Date: 27.10.2016

Initials Ref. I+ME Index


2009221904
Author KA
IR14488 E
approved DKU
© ACTIA I+ME GmbH 2017

Document Histor y

Index Page Date Reason of Change Name


E 30.08.2016 Chap. Fail Signal, Calculation SoC, SOH, Slave KA
Modul Setup
27.10.2016 Chap. 2.4.2 Insulation monitor KA

Client Approval

Data and Name: ...............................................................................

Sign .........................................................................................

© 2017 ACTIA I+ME GmbH All Rights reserved.


Any reproduction or distribution of this document,
or parts of this document is prohibited without a
written authorization of ACTIA I+ME GmbH.

Ref.: IR14488E 27.10.2016 Page 2/92


Software Manual
BMS Master 4 / 4.5

Content
1. General ................................................................................................................ 5
1.1 Abbreviations ..................................................................................................... 5
1.2 Disconnecting the master from power supply ......................................................... 5
2. Software .............................................................................................................. 6
2.1 State Diagram.................................................................................................... 6
2.1.1. Description of the State Diagram ................................................................. 6
2.1.2. Flow diagram “Drive Mode” ......................................................................... 9
2.1.3. Flow diagram „Plug-In Mode“ ..................................................................... 10
2.1.4. Example with CAN Wake Up, WatchDog and Insulation Monitor ...................... 11
2.1.5. Standard Sequence: amongst BMS  Host.................................................. 12
2.1.6. Wake Up by RTC (Real Time Clock) ............................................................ 12
2.2 System: Start, Main-Task, Stop.......................................................................... 14
2.3 States: Charge, Discharge, NoCurrent ................................................................ 15
2.3.1. Contactors (KV) Switch on/Precharge ......................................................... 15
2.3.2. Simulate KV-Sense Lines........................................................................... 18
2.3.3. Charging ................................................................................................. 19
2.3.3.1 PlugIn mode ......................................................................................... 19
2.3.3.2 Charger Selection .................................................................................. 19
2.3.3.3 Charging Curve Selection ....................................................................... 20
2.3.3.4 Three-Level-Curve ................................................................................. 20
2.3.3.5 Seven-Point-Curve ................................................................................ 21
2.3.3.6 Maximum Charge Current ....................................................................... 23
2.3.3.6.1 Charge Prediction ............................................................................. 23
2.3.3.6.2 Maximum Current of the Charger ....................................................... 23
2.3.3.6.3 Advice ............................................................................................. 25
2.3.3.7 Charge Curve Examples ......................................................................... 26
2.4 Measurement-Systems ...................................................................................... 29
2.4.1. Current Measuring .................................................................................... 29
2.4.2. Insulation Monitor .................................................................................... 33
2.4.3. Measurement of Cell-Voltages.................................................................... 35
2.4.3.1 Undervoltage ........................................................................................ 36
2.4.3.2 Overvoltage .......................................................................................... 36
2.4.3.3 Extended Battery Access (EBA) ............................................................... 36
2.4.4. Measurement of Temperatures .................................................................. 39
2.4.5. Measurement of the Safety Resistors ......................................................... 41
2.4.6. Security Switch ........................................................................................ 41
2.5 Errors and Warnings ......................................................................................... 42
2.5.1. Error counting ......................................................................................... 43
2.5.2. Error mode .............................................................................................. 44
2.5.3. Delayed Shut-Down-Time ......................................................................... 45
2.5.4. Switch off (contactors switch off): .............................................................. 46
2.5.4.1 Switch off in Filter-Mode ......................................................................... 46
2.5.4.2 Switch off in Abort-Mode ........................................................................ 46
2.5.5. Sub-Mode „Switch-Off-Omitted“ ................................................................. 48
2.6 FAIL Signal ...................................................................................................... 49
2.7 Algorithms ....................................................................................................... 50
2.7.1. Calculation of the State of Charge (SoC) ..................................................... 50
2.7.2. Calculation of the State of Health (SOH) ..................................................... 54
2.7.3. Event – Memory ...................................................................................... 54
2.7.4. Calculation of The Prognosis ...................................................................... 56
2.7.5. Counters for Ah and kWh statistic .............................................................. 57
2.7.6. Balance System ....................................................................................... 58
2.7.7. Temperatur Control System ....................................................................... 60
3. Setup a Slave Module System ............................................................................... 62
3.1 Linear Model .................................................................................................... 64

Ref.: IR11262 G 19.01.2015 Fehler! Verweisquelle konnte nicht gefunden werden. Page 3/92
Software Manual
BMS Master 4 / 4.5.5

3.2 Segmented Battery Model.................................................................................. 64


3.2.1. Model – Definition ....................................................................................... 64
3.2.2. Example Segmented Model 1 string ............................................................... 64
3.2.3. Example Segmented Model (parallel + serial) ................................................. 66
3.3 Special Features ............................................................................................... 67
3.3.1. U-Batt .................................................................................................... 67
3.3.2. I-Batt at parallel Strings ........................................................................... 67
4. Can-Transfer ...................................................................................................... 69
4.1 Little Endian .................................................................................................... 69
4.2 Parameters ...................................................................................................... 69
4.3 CAN Baudrate .................................................................................................. 70
4.4 CAN Identifier .................................................................................................. 70
4.5 ADS Auto Diagnose Send .................................................................................. 71
4.6 CAN Frames ..................................................................................................... 73
4.6.1. Error/Warning .......................................................................................... 74
4.6.2. AutoDiagSend ADS and Runtime ADS(-RT): ................................................ 75
4.6.3. WakeUp Frame ........................................................................................ 76
4.6.4. Data Frame ............................................................................................. 77
4.6.5. Diagnostic Frame ..................................................................................... 77
4.6.6. DATA/DIAG SubFrame with adittional Static Information ............................... 81
4.6.7. PreCharge Frame ..................................................................................... 82
4.6.8. CAN ESS2 ............................................................................................. 82
4.7 CAN Watch Dog Mode: ...................................................................................... 83
5. Actual Parameter-List .......................................................................................... 84

Ref.: IR14488E 27.10.2016 Page 4/92


Software Manual
BMS Master 4 / 4.5

1. GENERAL

1.1 ABBREVIATIONS

SoC State of charge


SOH State of Health
DoD Depth of discharge

KL30 Continuous power supply


KL15(S) Ignition for “PlugIn“ or “Drive”-Mode, when connected to power supply

Min Minimum
Max Maximum
Avg Average
Warn Warning
Err Error
SD-Error Shut down Error, which leads to turning off the battery
Ucell Cell voltage

HW Hardware
SW Software

NTC kind of temperature sensor


RTC Real - Time - Clock
CAN Controller area network

PCM Parameter Change Mode


Webserver see IR12256 Hardware_Manual_BMS_Master_4

HV or KV contactor, relay, high voltage relay, KiloVac (high current vacuum


contact)

1.2 DISCONNECTING THE MASTER FROM POWER SUPPLY

Warning:
Before disconnecting the Master from power supply it is to be brought in “power
down” mode by disconnecting KL15 or transmitting a “ShutDown” CAN frame.
Otherwise the statistical date on the EEPROM may be inapplicable.

Ref.: IR11262 G 19.01.2015 Fehler! Verweisquelle konnte nicht gefunden werden. Page 5/92
Software Manual
BMS Master 4 / 4.5.5

2. SOFTWARE

2.1 STATE DIAGRAM

BMS off

Wake up

Checking
OK
Error

no Actual Error

Ready Error
Error
no SD-Error &
„PlugIn“ Error
Plug In
no „Drive“ &
no „PlugIn“
no „Drive“ or
no „PlugIn“
no „PlugIn“
no SD-Error
& „Drive“
„PlugIn“ End

Error

no „Drive“

2.1.1. DESCRIPTION OF THE STATE DIAGRAM


Drive

State „BMS-OFF“
HV contactors switched off
BMS sleeps
Wake up via “Drive” or “ PlugIn” changes the state to „Checking“.
(Wake up via CAN-WakeUp-Frame is similar to “Drive”)

State „Checking“

Ref.: IR14488E 27.10.2016 Page 6/92


Software Manual
BMS Master 4 / 4.5.5

General state-check
If no error results the state changes to „Ready“
else the state changes to „Error“.

State „Ready“
Contactors are switched off
There is no „Actual-Error“.
An existing SD-error may be cleared with the CAN-frame "Reset Error”.

 Active input “Drive” (KL15S) change to state „Drive“.

 Active input „PlugIn“ (KL15) change to state „Plug-In“.

 If an error occurs - change to state „Error“.


If “Drive” or „PlugIn“ are not active anymore - change to state „End“.

State „Drive“
Contactors HV+ und HV- are switched on.
If a Shutdown Error occurs - change to state „Error“. Contactors will open.
If „Drive“ (KL15S) not active anymore it will be changed to state „End“.
If „PlugIn“ (KL15) is switched on change to state „Plug-In“.

Two Sub-Modes are possible:


Sub-Mode „Charge“:
In this Sub-Mode the BMS communicates with the charger (NLG5) via CAN-Bus.
The charger is connected to the battery via contactors like the load.
If a SD-error occurs the state changes to „Error“ and the contactors will be
switched off.

Sub-Mode „Switch-Off-omitted“:
In this Sub-Mode there is no change to Error-Mode on detection of a shut-down-
error but the contactors will not switch off. The switch off is delayed as long as
as the CAN command „Switch-Off-omitted“ is sent periodically to the BMS. If an
SD-error has occured switch-off will be performed after leaving this Sub-Mode.

State „PlugIn“
Contactors are switched off. Different from the load the battery charger is connected via
its own contactor to the battery.

Ref.: IR14488E 27.10.2016 Page 7/92


Software Manual
BMS Master 4 / 4.5.5

If a SD-error occurs to state changes to „Error”.


If „PlugIn“ is not active any longer then the state changes to „End“.

One Sub-Mode is possible:

Sub-Mode „Charge“ (see above)


In this Sub-Mode the BMS communicates with the charger (NLG5) via CAN-Bus.
The charger is connected to the battery via contactors like the load.
If a SD-error occurs the state changes to „Error“ and the contactors will be
switched off.

Status „Error“
Contactors are switched off.
If “Drive” or „Plug-IN“ is not active anymore it will be changed to state „End“.
If no actual error is present it will be changed state to „Ready“.

Status „BMS-OFF“
Contactors are off, the BMS switches off.

Ref.: IR14488E 27.10.2016 Page 8/92


Software Manual
BMS Master 4 / 4.5.5

2.1.2. FLOW DIAGRAM “DRIVE MODE”

Drive Mode

Parameters:
dumm Check type charger type?

Brusa

Parameters:
no CCtrl ext.
CAN-Charger? = 1

yes

detection
no CAN frames
from Charger
yes

yes

Switch off: Switch on:


Sub-Mode: Charge Sub-Mode: Charge

Switch off: CAN:“Switch-Off-


Sub-Mode: “Switch-Off-omitted“ omitted“

Yes

Switch on:
Sub-Mode: “Switch-Off-omitted“

Drive Mode: Relays HV+ and HV- are switched on. Error no
Sub-Mode „Charge“: In this Sub-Mode a
communication with the charger is implemented. The
charger should be connected as a load: (relay contact
between battery and charger) „Drive“active?
yes
Sub-Mode „SwitchOff_omitted“: In this sub-Mode, the
relays will not be switched off by errors. Errors will be
ignored until this mode has been left. no

Error Mode End Mode

Ref.: IR14488E 27.10.2016 Page 9/92


Software Manual
BMS Master 4 / 4.5.5

2.1.3. FLOW DIAGRAM „PLUG-IN MODE“

Plug-In Mode

Check charger type? simple

brusa

no CAN frames from Charger

Yes

Sub-Mode: Sub-Mode:
Brusa Charger Simple Charger

Switch off: CAN:“Switch-Off- Plug_In Mode: Relays HV+ and HV- are
Sub-Mode: “Switch-Off-omitted“ omitted“ switched off.

The charger is connected directly to the


Yes battery. (no relay contact between battery
and charger)
Switch on:
Sub-Mode „Charge“: In this Sub-Mode a
Sub-Mode: “Switch-Off-omitted“
communication with the charger is
implemented.

Simple charger
no Error Plug_In Mode: Relays HV- and PlugIn+ are
switched on.
The communication is done via digital
yes
output.
yes PlugIn

no Sub-Mode „SwitchOff_omitted“: In this sub-


Mode, the relays will not be switched off by
errors. Errors will be ignored until this
End Mode Error Mode mode has been left.

Ref.: IR14488E 27.10.2016 Page 10/92


Software Manual
BMS Master 4 / 4.5.5

2.1.4. EXAMPLE WITH CAN WAKE UP, WATCHDOG AND INSULATION


MONITOR

If instead of “Drive” the CAN “WakeUp” -Frame is used for start up the system shows the
same behaviour. Furthermore in this example the CAN-WatchDog is parameterized
(0x013F) and the external insulation monitor reports an error for some seconds after
being switched on. The diagram shows the normal course of action without further errors.

BMS Off

Wake-up via CAN-Bus: „WakeUpFrame“ Len:1; Cmd:0x01

Mode: Checking

CAN-Watchdog
& Isowächter Error

Mode: Error

CAN Watchdog: „WakeUpFrame“ Len:1; Data: 0x04 (periodically > 1 Hz)


No actual Error present

Starting sequenz with Precharge voltage via CAN:


Mode: Ready
„CAN-PreChgVoltage“ Len=2 byte 0&1:Ubat 16bits unsigned.

Reset Error: Data CAN: 0x44C Len:3; Data: 0x06;0x55;0xAA

Mode: Drive CAN Watchdog: „WakeUpFrame“ Len:1; Data: 0x04 (periodically > 1 Hz)

CAN – „WakeUpFrame“ Len:1; Cmd: 0x02

Switch-OFF

Ref.: IR14488E 27.10.2016 Page 11/92


Software Manual
BMS Master 4 / 4.5.5

2.1.5. STANDARD SEQUENCE: AMONGST BMS  HOST

Description of a standard sequence switch-on/switch-off of the BMS as an example for the


“Drive”-mode with WatchDog enabled.

1. Status „BMS OFF“

a. Wake up with “Drive”

2. Go to state „CHECKING“.

a. Error from Watchdog (if parameterized) & Insulation monitor (systematic.).

3. Go to state „ERROR“.

a. Vehicle sends (periodically > 1 Hz) via CAN-Bus "Watchdog“

- CAN frame: „Wake-up-Frame“ length=1, 0x04

- if no further actual errors then

4. Go to state „READY“.

a. Host sends release-message: „Reset Error“

CAN: „DATA-Frame“ SubId=0x06 length=3, 0x06, 0x55, 0xAA

5. Go to state „DRIVE“.

6. Stay in state “DRIVE”.

a. without Sub-mode

- to persist in this state the Host sends periodically the WatchDog-Trigger


CAN: “Wake-up-frame” len=1, 0x04

2 Sub-modes are possible: „Charge” and „Switch-Off-omitted”

b. „Precharge“ (see description „Precharge“).

„Switch-Off-omitted”
The vehicle transmits periodically Watchdog & „Switch-Off-omitted“
CAN: „Wake-up-Frame“ length=1, 0x05

- switch off “Drive”, then

7. Go to state „End“

2.1.6. WAKE UP BY RTC (REAL TIME CLOCK)

Status RTC
Contactors are switched off.
The BMS does one cycle. This cycle is reduced, that is no current measuring, no contactor

Ref.: IR14488E 27.10.2016 Page 12/92


Software Manual
BMS Master 4 / 4.5.5

operation and no battery test.


Change to state “End” after measuring of cell voltages, calculating of stat of charge (SoC)
and depth of discharge (DoD), revision of cell balancing and – if necessary – adjusting the
slaves for balancing.
As long as the slaves are doing the balancing the Master will be called every 10 minutes
from state “BMS-off” into state “RTC”. If no further balancing is needed the RTC-Wake-up
call will be executed every 240 minutes only.

Ref.: IR14488E 27.10.2016 Page 13/92


Software Manual
BMS Master 4 / 4.5.5

2.2 SYSTEM: START, MAIN-TASK, STOP

The system is permanently connected to the power supply. For the master this is done by
KL30, for the slaves directly by the battery cells.

There are four possibilities to start and stop the system:

1.) Mode Ignition ”Drive“ (KL15S) : Start / continuously main-loop / Stop

The system is powered on or off by a voltage signal at ”Drive“. The voltage level must
be higher than: KL15 [V] >= ( „KL15_on_prz“ * „Min_KL30“) / 100.0 to start the
system and keep it running.

2.) Mode „Plug-In“ (KL15) : Start / continuously main-loop / Stop

The system is powered on by a rising edge voltage signal at „Plug-In“ and powered off if
the voltage has been switched off. The voltage level must be higher than: KL15 [V]
>= ( „KL15_on_prz“ * „Min_KL30“) / 100.0 to start the system and keep it running.

3.) Mode CAN: Start / continuously main-loop / Stop

The system starts on reception of a CAN frame of type ‘WAKEUP’ and stops with CAN
frame ‘SHUTDOWN’.
4.) Mode RTC: Start / one main-loop / Stop

This internal function is permanently active and is used to perform the balance system
every “RTC-Wakeup-Short“ or every “RTC-Wakeup-Long“ minutes. The longer time
value is used if there is no further need to balance the cell voltages.
After having carried out the reduced measurement cycle (only voltages, no current, no
battery check and no operation of contactors ...) the system does the SoC and DoD
calculations and enters automatically the power down mode.

The time interval for the measurement cycle is given by parameter „Cycle-Time-TU“.

Parameters:
0x0124 Cycle-Time_TU 1000 ms
0x0103 Min-Kl30 10000 mV
0x0104 KL15-on-prz 25 %
0x0101 RTC-Wakeup-Short 10 minutes
0x0102 RTC-Wakeup-Long 240 minutes

Ref.: IR14488E 27.10.2016 Page 14/92


Software Manual
BMS Master 4 / 4.5.5

2.3 STATES: CHARGE, DISCHARGE, NOCURRENT

A current value with positive sign is interpreted as charge-current, a current with negative sign
as discharge-current. If the current is within an interval of +/- parameter value “IBat-Ignore”,
the state is assumed to be ‘NoCurrent’. In this state, the Ah/kWh counters are not updated and
the battery-check-algorithm is simplified.

The state ‘NoCurrent’ is needed to inhibit spurious updates of statistic data’s caused by the
internal accuracy of the current measurement system.

- Discharge
NoCurrent Charge +
I Bat

Parameter:

0x0121 IBat_Ignore 90 mA [+/-]

2.3.1. CONTACTORS (KV) SWITCH ON/PRECHARGE

0x0321 CAN-PreChgVolt. 0x503 RX (0x000=disable)

0x0160 Prechg KV Sense Time 200 ms


0x0161 Prechg KV PrechargeTime 1000 ms
0x0165 Prechg PChg Cooling Time 0 s (disable)
0x0166 Prechg PChg Volt.-Thrsh. 90 %
0x0167 Prechg PChg EndCurr I <= 1000 mA

0x0156 Simulate KV-Sense Lines 0 no

The sequence of switching on as following example:

1.) Switch on fans (only if cabin temperature < Batt-temperature, s. therm. Management)
2.) Turn off all contactors for safety reasons (even though presumably dispensable) -> test sense
lines
3.) Close contact of HV- -- after 200ms test sense line -- if ok: -> go on
4.) Close contact HV-PRECharge -- after 200ms test sense line -- if ok: -> go on
5.) Wait another 1000ms
6.) If there is parameterized a CAN-ID "0x0321= CAN-PreChgVolt." (not equal 0x000):
6.1) if there is an actual CAN data for „PreChargeVoltage”:

Ref.: IR14488E 27.10.2016 Page 15/92


Software Manual
BMS Master 4 / 4.5.5

Abort if PrechargeVoltage < als 90 % of BMS-Ubatt !


6.2) PreCharge: At the end of switching-on the actual current will be evaluated. If it is
too high the switching-on will be aborted.
Parameter: "0x0167: Prechg PChg EndCurr I <=:"
7.) Close contact HV+ -- after 200ms test sense line -- if ok: -> go on
8.) Open contact PRECharge -- after 200ms test sense line -- if ok: -> go on
9.) Test all sense lines: HV- = on, PRECHARGE = off, HV+ = on
if ok -> switch on ended successfully.

Ref.: IR14488E 27.10.2016 Page 16/92


Software Manual
BMS Master 4 / 4.5.5

Switch-on
HV+ = High Voltage Relay +
HV- = High Voltage Relay -
HV+; HV-; HV Precharge open HV Precharge = High Voltage Relay precharge

Test HV = sense cable from the auxialary Relay


HV- Switch on The time and limits are adjustable

Wait 200ms

optional
Test Relais HV- no
Sense OK?

Precharge
(optional)

HV precharge Switch on HV+ Switch on

Wait 200ms Wait 200ms

optional optional
Test Relais HV precharge Test Relais HV+
Sense OK? Sense OK?

Nok
Wait 1000ms HV precharge Switch off

optional optional
CAN-Precharge voltage Test all Relays
>90% Vbat? Sense OK?

optional
If |current| < x Amp?
X = AddOn PChg
EndCurr
Switch Off all
Relays and set End Switch-on
Error-Flag

Ref.: IR14488E 27.10.2016 Page 17/92


Software Manual
BMS Master 4 / 4.5.5

In case of any fault all contactors will be opened and BIT 13 of the ERR - word will be set.
The Host, loader or the inverter of the load may send the CAN frame "CAN-PreChgVolt."
see below “CAN Frames”). It serves to avoid Switching-on if there is a fault during
Precharge.
Responsibility of “CAN Precharge Information” (if activated).
If for the parameter „0x0321= CAN-PreChgVolt“ a CAN-ID has been parameterised there
must be at the end of the precharge time a reception of such frame by the BMS with the
value of the voltage Ubatt measured by e.g. the host. If that will be not the case the
switching-on will be aborted.
Conclusion: If there is a parameter “0x0321” different from zero, there must be an
external device sending the actual voltage via the designated CAN-ID to make it possible
to switch-on.

2.3.2. SIMULATE KV-SENSE LINES

In applications with simple contactors without sense lines or in applications with


environments of high electromagnetic interference that may lead to misinterpretation and
by mistake to a battery switch off this parameter may be set to omit the computing of
contactor sense lines.

0x0156 Simulate KV-Sense Lines 1 yes


This parameter has to be used with demanded caution because all control functions of
contactor contacts regularly closing and opening will be overridden.

Ref.: IR14488E 27.10.2016 Page 18/92


Software Manual
BMS Master 4 / 4.5.5

2.3.3. CHARGING

2.3.3.1 PLUGIN MODE

Charging will be started with “PlugIn”. If at this time “Drive” has still been active by
accident the contactors will be opened and subsequently it will be changed to charge
mode. Charging has always priority over driving. With “PlugOut” charging ends/is aborted.
Even if „Drive“ is still on at this moment, the battery will not be started! In this case
„Drive“ has to be switched off first.

2.3.3.2 CHARGER SELECTION

With parameter „Typ-Charger“ the charger type and the communication with the charger
will be selected.

0x017E Typ-Charger 0, 1, 2 …

 0: An external CAN-controlled charger will be used. The BMS will send only in
plug-in-mode the necessary CAN-frame „CAN-Id Tx CHARGER CTL“. To switch
on the main contactors the CAN-frames „CAN-Id Rx CHARGER ST“, „CAN-Id Rx
CHARGER ACT_I“, „CAN-Id Rx CHARG. ACT_II“, „CAN-Id Rx CHARGER TEMP“
und „CAN-Id Rx CHARGER ERR“ are expected under certain conditions..
 1: A standard mains supply circuit without CAN will be used as a charger.
Therefore the BMS cannot control charging and no charging algorithm is used. It
will be difficult to charge the battery completely.
 2: No CAN-frame will be sent to the charger. Charger control will be managed
using PWM-output „PWM0“ with PWM-frequency of 2kHz. Ton/T = 10%
corresponds to 0A, Ton/T = 90% corresponds to maximum charge current.


 3: Every 100 ms the BMS sends CAN-Frame „CAN-Id Tx CHARGER CTL“,
independent from plug-in-mode or drive-mode befindet. The charge current
nominal value has a resolution of 0.1 A.
 4: Every 100 ms the BMS sends CAN-Frame „CAN-Id Tx CHARGER CTL“,
independent from plug-in-mode or drive-mode befindet. The charge current
nominal value has a resolution of 0.01 A.

Ref.: IR14488E 27.10.2016 Page 19/92


Software Manual
BMS Master 4 / 4.5.5

2.3.3.3 CHARGING CURVE SELECTION

With Parameter 0x01F0 two different charge modi may be selected.


0x01F0: Charge Mode: 1 - 3–level–curve
0x01F0: Charge Mode: 2 - 7–point–curve

2.3.3.4 THREE-LEVEL-CURVE

With following parameters voltage ranges are defined for the three-level-curve. Within
these ranges the defined nominal charge currents are emitted to the charger unit.

Example Unit
0x01F0 Charge Mode 1 3-level
0x0170 CCtrl IMainMaxCurrent 12000 mA
0x0174 CCtrl UChg low inhibit 1500 mV
0x0171 CCtrl IChg Umin < UMidB 3000 mA
0x0175 CCtrl UChg Mid_Begin 2200 mV
0x0172 CCtrl IChg Midrange 20000 mA
0x0176 CCtrl UChg Mid_End 4000 mV
0x0173 CCtrl IChg Umax > UMidE 2000 mA
0x0177 CCtrl UChg high suspend 4200 mV
0x0178 CCtrl UChg high resume 4100 mV
If the lowest cell voltage Umin is below „CCtrl UChg low inhibit“, then the nominal charge
current is definitely zero.
If Umin is in the range between „CCtrl UChg low inhibit“ and „CCtrl UChg Mid_Begin“ then
the nominal charge current „CCtrl IChg Umin < UMidB“ will be emitted.
If Umax is above „CCtrl UChg high resume“, then the nominal charge current is definitely
zero.
If Umax is in the range „CCtrl IChg Umax > UMidE“ and „CCtrl UChg high suspend“, then
the nominal charge current „CCtrl IChg Umax > UMidE“ will be emitted.
If one cell voltage is higher than „CCtrl UChg high suspend“, the nominal charge current
will be zero, until Umax is below „CCtrl UChg high resume“.
Hereafter charging will be resumed with „CCtrl IChg Umax > UMidE“ (Hysteresis).

Ref.: IR14488E 27.10.2016 Page 20/92


Software Manual
BMS Master 4 / 4.5.5

CCtrl IChg Midrange

CCtrl IChg Umax>UMidE

CCtrl IChg Umin<UMidB

CCtrl UChg high suspend


CCtrl U Chg high resume
CCtrl U Chg Mid_Begin
CCtrl U Chg low inhibit

CCtrl U Chg Mid_End

Picture 1: Three-Level-Charging Curve

2.3.3.5 SEVEN-POINT-CURVE

Parameters 0x01F1 to 0x1FE define the seven curve points. See picture next page.

Ref.: IR14488E 27.10.2016 Page 21/92


Software Manual
BMS Master 4 / 4.5.5

I
P3[U3, Imax] P4[U4, Imax]
Imax

prog_I

P2[U2, I2]
IV

P5[U5, I5]
CAN-Error-
RESET III
V

II
VI P6[U6, I6]
P7[U7,I7]
P1[U1, I1]
IX
VII

Umin < U1 (Umin ≥ U1) && ( Umin < U2)


III
I = Imax
V VI VII VIII U
I II IV U8
(Umin ≥ U2) && (Umin < U3) Umax > U7
Umin < UErr-U-Min-Cell
(Umax > U4) && (Umax < U5) (Umax > U6) && (Umax ≤ U7)
(Umax > U5) && (Umax ≤ U6)

Picture 2: Curve Ranges

Umin corresponds to the cell voltage with the lowest value. U max corresponds to the cell
voltage with the highest value.
Data flow and priorities are depicted in Picture 7: Calculation Logics for Charge Current.
First the lowest cell voltage Umin is evaluated. If Umin is below U3, the charge current will
be calculated depending on the voltage value in the regions II or III. When U min is lower
than U1, the emitted charge current will be zero. If U min is lower than “UErr-U-Min-Cel”l
(Parameter 0x0105) the Master must receive the CAN frame “Reset Error” 1; if not so the
emitted nominal charge current will be zero.
If all cell voltages are in the range between U3 and U4, the maximum charge current will
be emitted.
If Umin > U3 then Umax will be evaluated. When Umax > U4 the charge current will be
calculated depending on the voltage value in the regions V to VII. When U max > U7 then

1
„Reset Error“: DATA-Frame“ SubId=0x06 Länge =3, 0x06, 0x55, 0xAA)

Ref.: IR14488E 27.10.2016 Page 22/92


Software Manual
BMS Master 4 / 4.5.5

the emitted charge current will be zero and the charger will be shut down if possible.
If I7 is parametrized greater zero this state is kept until U max < U8 (Hysteresis).
The parameter value of U8 has to be unconditionally smaller than the U7 value.
With I7 = 0, the hysteresis is inactive, U8 will not be considered and the charger will not
be shut down.

2.3.3.6 MAXIMUM CHARGE CURRENT

2.3.3.6.1 CHARGE PREDICTION

Before the calculated nominal current will be emitted, it will be evaluated to be below the
calculated charge prediction.

2.3.3.6.2 MAXIMUM CURRENT OF THE CHARGER

The calculated charge current will be limited by the charger’s max current.
The emitted nominal charge current will be either the value of the charge prediction or the
the charger’s max current whatever is lower.

I
P3[U3, Imax] P4[U4, Imax]
Imax

P5[U5, I5]
I5

I2 P1[U1, I1] P2[U2, I2]


P6[P6U, P6I] P7[U7,I7]
I6
I1 U1
I7 U2 U3 U4 U5 U6 U7 U

Picture 3: 7-point charge curve

Ref.: IR14488E 27.10.2016 Page 23/92


Software Manual
BMS Master 4 / 4.5.5

prog_I

Pictzre 4: 7-point charge curve dynamically limited by prediction

PlugIn Imax

Picture 5: Current limited by charger’s max current

Ref.: IR14488E 27.10.2016 Page 24/92


Software Manual
BMS Master 4 / 4.5.5

I
P3[U3, Imax] P4[U4, Imax]
Imax

prog_I

PlugIn Imax

P5[U5, I5]
I5

P1[U1, I1]
I2 P2[U2, I2]
P6[P6U, P6I] P7[U7,I7]
I6
I1 U1
I7 U2 U3 U4 U5 U6 U7 U
Picture 6: Current limited 7-point curve

2.3.3.6.3 ADVICE

Please consider that the calculation of the nominal charge current will be done in
Milliamps, but the emitted value to the charger will be in 100 mA steps.
Example: 45 mA will be emitted as 0,0 A and 52 mA will be emitted as 0,1 A.

The ULimit value for the charger is calculated once at system start depending on
Cell Count * UcellMax / parall. String Count = ULimit
Example: 80 * 4,2 V / 1 = 336 Volt

Ref.: IR14488E 27.10.2016 Page 25/92


Software Manual
BMS Master 4 / 4.5.5

2.3.3.7 CHARGE CURVE EXAMPLES

START

j j
Umin < U1 Umax < U1

I1 = 0 I2 = 0
n n

j j
Umin < U2 Umax < U2

I1 = f(UB) I2 = f(UB)
n n

j j
Umin < U3 Umax < U3

I1 = f(UC) I2 = f(UC)
n n

j j
Umin < U4 Umax < U4

I1 = Imax I2 = Imax
n n

j j
Umin < U5 Umax < U5

I1 = f(UE) I2 = f(UE)
n n

j j
Umin < U6 Umax < U6
n n
I1 = f(UF) I2 = f(UF)
n n

j j
Umin < U7 Umax < U7

I1 = f(UG) I2 = f(UG)
n n

I1 = 0 I2 = 0

n
I1 < I2

I = I1 I = I2

j
I < Iprog

Icharge = Iprog Icharge = I

ENDE

Picture 7: Calculation Logics for Charge Current

Ref.: IR14488E 27.10.2016 Page 26/92


Software Manual
BMS Master 4 / 4.5.5

I
P3[U3, Imax] P4[U4, Imax]
30A Imax

prog_I

P5[U5, I5]
5A I5

P2[U2, I2]
2A I2
P1[U1, I1] P6[P6U, P6I] P7[U7,I7]
0,06A I6
0A
0A
I1
I7
U1
U2 U U3 U4 U5 U6 U7 U
3,40V

3,45V
1,0V

2,0V

2,2V

3,6V

3,7V
Picture 8: Charge Curve Example 1

0x01F0 Charge Mode 2 7-point


0x01F1 chg P1 [U1,I1] U1 1000 mV
0x01F9 chg P1 [U1,I1] I1 0 mA
0x01F2 chg P2 [U2,I1] U2 2000 mV
0x01FA chg P2 [U2,I2] I2 2000 mA
0x01F3 chg P3 [U3,Imax] U3 2200 mV
0x01F4 chg P4 [U4,Imax] U4 2400 mV
0x01FB chg P3/4[U3/4,Imax]Imax 30000 mA
0x01F5 chg P5 [U5,I5] U5 3450 mV
0x01FC chg P5 [U5,I5] I5 5000 mA
0x01F6 chg P6 [U6,I6] U6 3600 mV
0x01FD chg P6 [U6,I6] I6 60 mA
0x01F7 chg P7 [U7,I7] U7 3700 mV
0x01FE chg P7 [U7,I7] I7 0 mA
0x01F8 chg Hysteresis U8 3500 mV
0x01FF chg Plugin Imax 12000 mA
Parameter Example 1 (to Picture 8)

Ref.: IR14488E 27.10.2016 Page 27/92


Software Manual
BMS Master 4 / 4.5.5

I
P3[U3, Imax] P4[U4, Imax]
30A Imax

prog_I

P5[U5, I5]
5A I5

P1[U1, I1] P2[U2, I2]


2A I2
2A I1 P6[U6, I6] P7[U7,I7]
0,06A I6
0A I7 U1
U2 U U3 U4 U5 U6 U7 U
3,40V

3,45V
0,5V

2,0V

2,2V

3,6V

3,7V
Picture 9: Example 2 – Charge Curve Adaption

0x01F0 Charge Mode 2 7-point


0x01F1 chg P1 [U1,I1] U1 1000 mV
0x01F9 chg P1 [U1,I1] I1 2000 mA
0x01F2 chg P2 [U2,I1] U2 2000 mV
0x01FA chg P2 [U2,I2] I2 3000 mV
0x01F3 chg P3 [U3,Imax] U3 2200 mV
0x01F4 chg P4 [U4,Imax] U4 3400 mV
0x01FB chg P3/4[U3/4,Imax]Imax 30000 mA
0x01F5 chg P5 [U5,I5] U5 3450 mV
0x01FC chg P5 [U5,I5] I5 5000 mA
0x01F6 chg P6 [U6,I6] U6 3600 mV
0x01FD chg P6 [U6,I6] I6 60 mA
0x01F7 chg P7 [U7,I7] U7 3700 mV
0x01FE chg P7 [U7,I7] I7 0 mA
0x01F8 chg Hysterese U 3500 mV
0x01FF chg Plugin Imax 12000 mA

Parameter Example 2 (to Picture 9)

Ref.: IR14488E 27.10.2016 Page 28/92


Software Manual
BMS Master 4 / 4.5.5

2.4 MEASUREMENT-SYSTEMS

2.4.1. CURRENT MEASURING

The „Current Factor“ serves the calibrating of the current sensor.

Formula: IBatt_BMS = IBatt_Sensor * CurrentFactor / 1000


Range: 0 … 65535
Default: 1000 (Factor = 1000 , no scaling)

The scaling also affects the “I_PEAK / I_PEAK_IM”-switch-off-directly of the ADC –


Interrupt-service – routine.

Application:
A simple metering range expansion: the current is conducted only partly through the
sensor. The current factor makes sure that internal can be calculated with correct values.
This factor has to be established in a unique calibrating measurement.

CAN:

DATA Sub-Id=0x01 Actual current mA

Parameters:

0x0309 Current Factor 5000 [I-Sensor Anpassung]

0x0114 Err-I-Max-Charge 22000 mA


0x0115 Err-I-Max-Discharge 150000 mA
0x0116 Warn-I-Max-Charge 18000 mA
0x0117 Warn-I-Max-Discharge 120000 mA

0x0118 IPeak-Max-Charge_Im 0 mA [0: Fkt. ausgeschaltet]


0x0119 IPeak-Max-Discharge_Im 0 mA [0: Fkt. ausgeschaltet]

0x011A IPeak-Max-Charge 0 mA
0x011B IPeak-Max-Discharge 0 mA
0x011C IPeak-40ms_N 700 n [ = 28 sec ]

0x011D Warn KiloVAC OverCur-SD 50 n


0x011E Err KiloVAC OverCur-SD 0 n [0: Fkt. ausgeschaltet]
All three implemented over current switch-offs may be used simultaneously.
To set immediate-current-peak-switch-off out of function the parameters „ IPeak-Max-
Charge_Im” and/or „ IPeak-Max-Discharge_Im” have to be set to zero.
If „IPeak-40ms_N” is set to zero, the normal current-peak-switch-off is out of function.

Ref.: IR14488E 27.10.2016 Page 29/92


Software Manual
BMS Master 4 / 4.5.5

1.) Immediate-Current-Peak-Switch-Off:

If ICP -Switch-Off for Charge and/or Decharge is in function the periodically all 10 ms
sensed current is compared to the parameterised value and exceeding it will be
immediately switched off by opening the contactor contacts immediately and an error
frame will be sent out via CAN.
This is he fastest way to react in a event, e.g. on a short circuit.

2.) Current-Peak-Switch-Off:

This procedure can only be switched on or off for both, charging and discharging.
The contactor will be switched off if the limits of “IPeak-Max-Charge/Discharge“ will be
exceeded permanently for the time: parameter „IPeak-40ms_N“ multiplied with 40ms.

Exsample: IPeak-Max-Discharge = 10.000 und IPeak-40ms_N = 5:

If the BMS recognises a current impulse with a length of at least 200ms


permanently over 10A the contact will be opened immediately and an error
frame is transmittet via CAN bus.

3.) Over current detection:

This is default and cannot be switched off. The value of current during a cycle of
1000ms (which is the average of the last 100 current values: 1000ms/140ms) is
compared with the error and warning limits „Err-I-Max-Dis/Charge“ and „Warn-I-Max-
Dis/Charge“. Switch-off will be performed as described below.

Relais-Abschaltung durch: IPeak-Max-Charge IPeak-Max-Charge_Im Err-I-Max-Charge


360 ms überschritten 10 ms überschritten von Zyklus-Mittelwert
überschritten
I BAT

IPeak-Max-Charge_Im

I BAT CHARGE AVER

Err-I-Max-Charge

IPeak-Max-Charge

IPeak-40ms_N: 9
( = 360 ms)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 2 3 4
t
1 Zyklus = 100 * 10ms 1 Zyklus

Ref.: IR14488E 27.10.2016 Page 30/92


Software Manual
BMS Master 4 / 4.5.5

ATTENTION: a over current switch-off may damage the contactor as well as the
battery. The contacts only can perform a limited number of high current switch-offs
which will be added in the record “KiloVAC-Overcurrent-Shutdowns”. This will be
compared with the parameters „Err KiloVAC OverCur-SD“ and „Warn KiloVAC OverCur-SD“.
If the maximum number of switch-offs is reached the contact will never be switched on and
has to be replaced with e new one.
On the risk of the user the counter may be reset, e.g. if the contactor is beeing changed
ahead of time. (see: CAN DIAG FRAME Sub-Id: 0x17 )

Lifetime of a high voltage power contactor:

Tyco Electronics, Catalog EV200—R-TBD revised 8-07

This contactor protect system can be disabled by setting the parameters “Err/Warn-KiloVAC
Overcurrent Shutdowns” to zero. This may be useful in BMS systems with a switching
hardware different to this contactor.

Errors und Warnings:

- Discharge
NoCurrent Charge +
I Bat

0
Warn-I-Max-Discharge Warn-I-Max-Charge
Err-I-Max-Discharge Err-I-Max-Charge

Ref.: IR14488E 27.10.2016 Page 31/92


Software Manual
BMS Master 4 / 4.5.5

State Discharge -I > Err-I-Max-Discharge Error Overcurrent Discharge


= or =
-I > IPeak-Max-Discharge, für n*40 (if enabled)
[ms]
= or = (if enabled)
-I > IPeak-Max-Discharge_Im
-I > Warn I-Max-Discharge Warning Overcurrent Discharge

State Charge I > Warn I-Max-Charge Warning Overcurrent Charge

I > Err-I-Max-Charge Error Overcurrent Charge


= or =
I > IPeak-Max-Charge, für n*40 [ms] (if enabled)
= or =
I > IPeak-Max-Charge_Im (if enabled)

Contactors KiloVAC-Overcurrent-Shutdowns > warning


Warn-KiloVAC Overcurrent Shutdowns

KiloVAC-Overcurrent-Shutdowns > error


Err-KiloVAC Overcurrent Shutdowns

Ref.: IR14488E 27.10.2016 Page 32/92


Software Manual
BMS Master 4 / 4.5.5

2.4.2. INSULATION MONITOR

If the voltage of the BMS application exceeds the Safety Extra Low Voltage (SELV) of 60
VDC the usage of an insulation monitor is highly recommended, which measures the
insulation resistance from battery terminals to ground (GND).
Although the delay of the below-described insulation monitor is relatively high,
(sometimes more than 10 seconds) safety is clearly increased.
After power-on the insulation monitor it takes a certain time until the signals Iso-Alarm1
and Iso-Alarm2 are valid. The time delay differs with the type of insulation monitor and
some of them can be parameterized to keep the signal per default “on” or “off” while
starting. Other devices report an insulation fault in this phase.
The type mapping of the insulation monitor has been made in parameter 0x0346.

The following table describe the parameter of the insulation monitor.


Id Name Description
0x0346 Insulation Choose type:
Monitor Type 0 - No Monitor
1 - R155-3201
2 - IR155-3204, only in Drive Mode
3 - IR155-3204, only in Plugin Mode
4 - IR155-3204, Drive and Plugin Mode
5 - IR155-3204, activate with KL15S and AIN1 >10V
6 - IRDH275B
0x020F Insulation 0 - Input DIN3 and FIN1 used
Monitor 1 - Input DIN3 not used
Configuration 2 - Input FIN1 not used
3 - ON by start, then OFF
0x0181 Insulation 0 … 126 – time in seconds
Monitor, Startup 127 – endless
Ignore Cycles 255 – deactive
0x014D Insulation Warn Threshold, minimum Insulation resistor in kOhms
Monitor Warning
Min
0x014E Insulation Error Threshold, minimum Insulation resistor in kOhms
Monitor Error Min
0x020E Insulation Fehlerzähler von Fehler bis Abschaltfehler
Monitor Error
Counter

With insulation monitor PCB IR155-3200 ... 3204 by company Bender the measured
insulation resistance is transmitted as a pulse width modulated signal (PWM) to the BMS
Master. The first 2 seconds after power-on the insulation monitor IR155-3204 delivers
invalid values. From 2 to 7.5 seconds after power-on, it sends PWM coded whether there
is an insulation fault or not, but no correct values of the insulation resistance are

Ref.: IR14488E 27.10.2016 Page 33/92


Software Manual
BMS Master 4 / 4.5.5

available.
In parallel, this condition corresponds to the binary output channel "OK HS" of the
insulation monitor. At this time the insulation resistor value is invalid.
7.5 seconds after power-on it begins to send additionely to the binary signal line values of
the measured insulation resistance on the PWM output line to be evaluated by the BMS
Master.
At a measured insulation resistor value < (parameter 0x014D), the BMS Master sends an
ErrWrn CAN frame with the warning code 0x0800.
At a measured insulation resistor value < (parameter 0x014E), the BMS Master generates
an Insulation-Error and an ErrWrn CAN frame with the error code 0x0800.
If the isolation error longer than (parameter 0x020E) present, the BMS Master generates a
Shutdown Error. The HV contacts will be opened.
The parameter 0x020F define the signals to use in the BMS Master.
If the insulation monitor is powered via the ignition signal "Drive" or "PlugIn" which also
starts the BMS, the long start-up period prevents the starting of the BMS modes "Drive"
or "PlugIn". Once the insulation monitor has settled, it can be started with the CAN frame
"Reset Cmd Err". Alternatively, the insulation monitor may be supplied from another
source. The program can ignore a start-up insulation fault with parameter 0x0181.
The specification [0…126] seconds defines time whilst the reported insulation faults will be
ignored. The time starts either with system start (=ColdStart, symbol CS) or – when bit 8
is set in the parameter – with RESET (=FirstRun Symbol FS: ColdStart / CanResetErrCmd
/ Keyboard ‚R’ ) .

B7 B6 B5B4 B3 B2 B1 B0
X N = 0 … 126s time in seconds
X N = 0x7F =1111111binär = 12710 Signal always ignored
0 X X X X X X X Cold start
1 X X X X X X X FirstRun (CS, Reset CAN, R)

Special case: with 0x7F or 0xFF signals will always be ignored.


Furthermore the status and the actual insulation resistance may be accessed via CAN-bus
with DIAG-channel, SubID=0x44 :
Sub-ID Response on diagnosis data request Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7
0x44 Insulation resistance Z-Bits resistance [kΩ] 0x00 0x00 0x00 0x00

Status (Z-Bits) Bit 0 : IsoAlarm1 0=ok, 1=warning


Bit 1 : IsoAlarm2 0=ok, 1=error
Bit 7 : disabled 0=off, 1=signals will be ignored

Ref.: IR14488E 27.10.2016 Page 34/92


Software Manual
BMS Master 4 / 4.5.5

2.4.3. MEASUREMENT OF CELL-VOLTAGES

The cell voltages are requested and evaluated in the main-loop of the main-task. Slave
one is responsible for cell 1 to 12, slave two for cell 13 ... 24. Additional configurations like
variable number of cells per slave or overlapped cell connections is available on demand
(see Hardware Manual). Depending on the actual current flow, the compare algorithm
takes care about the voltage drop across the internal resistor Ri.

NoCurrent (I≈0): Ucell_Min/Max_compare = Ucell_ Min/Max_measure

Charging (I>0): Ucell_ Min/Max_compare = Ucell- Min/Max_measure - abs(I) * Ri Ibat-0

Ri Ibat-0 = Ri-0-Charge Fakt(soc,temp) + Ri-0-Charge offset


*
If Use Ri-0-dyn charge = 0, then Fact(soc,temp) = 1.

Discharging (I<0): Ucell_compare = Ucell-measure + abs(I) * Ri-0-Discharge

Ri Ibat-0 = Ri-0-Discharge Fakt(soc,temp) + Ri-0-Discharge offset


*
If Use Ri-0-dyn discharge = 0, then Fact(soc,temp) = 1.

Calculated values:

U-Total Battery voltage (sum of all Ucells) mV


Ucell-Avg Actual average cell voltage 0 .... 4500 mV
Ucell-Min Actual minimum cell voltage 0 .... 4500 mV
Ucell-Max Actual maximum cell voltage 0 .... 4500 mV
Number Ucell-Min Cell-number with minimum voltage 1 ... n
Number Ucell-Max Cell-number with maximum voltage 1 ... n

CAN:

DATA Sub-Id=0x02 Battery voltage (sum of all Ucells) mV

DIAG Sub-Id=0x01 Slave Data: Ucell 3, 2, 1 mV


DIAG Sub-Id=0x02 Slave Data: Ucell 6, 5, 4 mV
DIAG Sub-Id=0x03 Slave Data: Ucell 9, 8, 7 mV
DIAG Sub-Id=0x04 Slave Data: Ucell 11, 10 mV

DIAG Sub-Id=0x18 Get Ucell Info: Umin, Umax, Uavg mV


DIAG Sub-Id=0x1A Get Ucell from Cell number x mV
DIAG Sub-Id=0x1D Get Ucell Info: Umin, Umax, Uavg from mV
Slave number x

Ref.: IR14488E 27.10.2016 Page 35/92


Software Manual
BMS Master 4 / 4.5.5

Parameters:

0x0109 End-U-Min-Cell 2000 mV


0x0105 Err-U-Min-Cell 3000 mV
0x0107 Warn-U-Min-Cell 3200 mV
0x0108 Warn-U-Max-Cell 4000 mV
0x0106 Err-U-Max-Cell 4100 mV
0x010A End-U-Max-Cell 4500 mV

0x0184 Ri-0-Charge 200 0.01 mΩ


0x0185 Ri-0-Charge offset 0 0.01 mΩ
0x0186 Use Ri-0-dyn charge 0 no

0x0187 Ri-0-Discharge 200 0.01 mΩ


0x0188 Ri-0-Discharge offset 0 0.01 mΩ
0x0189 Use Ri-0-dyn discharge 0 no
0x012A UCErr exp.timer 10 s [0: Fkt.
ausgeschaltet]
0x012B UCErr-I-Charge-Overflow 100 mA
0x012C UCErr-I-Discharge-Underflow 2000 mA

2.4.3.1 UNDERVOLTAGE

If any cell voltage is lower than the value in parameter „End-U-Min-Cell“ or „Err-U-Min-
Cell“, ERROR „UCell Undervoltage“ will be generated.
The value of „End-U-Min-Cell“ has to be smaller than „Err-U-Min-Cell“.

2.4.3.2 OVERVOLTAGE

If any cell voltage is higher than the value in parameter „End-U-Max-Cell“ or „Err-U-Max-
Cell“, ERROR „UCell Overvoltage“ will be generated.
The value of „End-U-Max-Cell“has to be greater than „Err-U-Max-Cell“.

2.4.3.3 EXTENDED BATTERY ACCESS (EBA)

When the minimum cell volatage is lower than „Err-U-Min-Cell“ resp. the maximum cell
volatge is higher than „Err-U-Max-Cell“ the MASTER 04 generates an „UCell Undervoltage“
rsp. „UCell Overvoltage“ – Error.
The inner cell resistance is not considered, but only the measured cell voltage.
This should, under dependency on other parameters, lead to cut off of the main contactors
(SD-ERR).
To have the possibility, despite this state, to charge or discharge and thus to reactivate
the battery, with an Error Reset (via CAN ot by pressing ‘r’ on the RS232-terminal) the
EBA-mode may be activated.
In EBA-mode the main contactors will be switched on in spite of over- or undervoltage
condition. If no charge or discharge current will be detected within the time defined in
parameter „UCErr exp.timer“ (normally 10 sec.) a new „UCell Undervoltage–“ rsp. „UCell

Ref.: IR14488E 27.10.2016 Page 36/92


Software Manual
BMS Master 4 / 4.5.5

Overvoltage“– error will be generated.


When within this time the minimum/maximum cell voltage is 50 mV higher/lower than
„Err-U-Min-Cell“ or „Err-U-Max-Cell“, the battery state is no longer critical and EBA-mode
will be finished. EBA-mode will be extended when there is a charge or discharge current
detected after elapse of “Ucerr_expand_timer”.
EBA-mode cannot be activated when any cell voltage is lower rsp. higher than defined in
parameters „End-U-Min-Cell“ rsp. „End-U-Min-Cell“.

Charge state:
The system not longer compares the Ucell-Max value and allows for a maximum time of
10 seconds (“Ucerr_expand_timer”) a maximum charge current of 100 mA (“Ucerr-I-
Charge_overflow”). If this time-limit or this current-limit has been exceeded, the battery
contactor will be switched off again and an error condition is generated once more.

Discharge state:
The system not longer compares the Ucell-Min value and allows for a maximum time of 10
seconds (“Ucerr_expand_timer”) a maximum discharge current of 2000 mA (“Ucerr-I-
discharge_underflow”). If this time-limit or this current-limit has been exceeded, the
battery contactor will be switched off again and an error condition is generated once more.

1st Step: Normal mode

U Cell

Warn-U-Min-Cell Warn-U-Max-Cell
Err-U-Min-Cell Err-U-Max-Cell

UCell-Min < Err-U-Min-Cell Error Ucell Undervoltage


UCell-Min < Warn-U-Min-Cell Warning Ucell Undervoltage
UCell-Max > Warn-U-Max-Cell Warning Ucell Overvoltage
UCell-Max > Err-U-Max-Cell Error Ucell Overvoltage

2nd Step: after acknowledge:

- Discharge
NoCurrent Charge +
I Bat

UcErr-I-Discharge-Underflow (Maximal für die Zeit: UCErr exp.timer) UcErr-I-Charge-Overflow

Ref.: IR14488E 27.10.2016 Page 37/92


Software Manual
BMS Master 4 / 4.5.5

Status Discharge -I > Ucerr-I-Discharge-Underflow Error Ucell Undervoltage


Ucerr-I-Discharge-Underflow < -I < 0 Error Ucell Undervoltage
For more than “Ucerr-expand-timer”
seconds

Status Charge I > Ucerr-I-Charge-Overflow Error Ucell Overvoltage


Ucerr-I-Charge-Underflow > I > 0 Error Ucell Overvoltage
For more than “Ucerr-expand-timer”
seconds

Ref.: IR14488E 27.10.2016 Page 38/92


Software Manual
BMS Master 4 / 4.5.5

2.4.4. MEASUREMENT OF TEMPERATURES

There are two NTC’s per slave for the temperature measurement inside the battery-case.
The request for data and evaluation will be done in the main-loop of the main-task.
An additional temperature sensor is available on the masterboard, however, this
temperature is not used for the battery check algorithm and is for information only.

The BMS uses the Min, Max and Avg temperature - values in the safety and calculation
system. All temperature values with an invalid value (value out of range, sensor not
properly mounted or not present) are discarded in the Min, Max, Avg calculation so the
BMS can work anyway with at least one sensor.
This situation is marked in the Can error-/warning frame with the warn-bit “temperature
sensor fault” set.

Calculated values:

Temp-Avg average temperature -40.0 ... 159.9 0.1 ° Celsius


Temp-Min minimal temperature -40.0 ... 159.9 0.1 ° Celsius
Temp-Max maximal temperature -40.0 ... 159.9 0.1 ° Celsius
Number Temp-Min number of the NTC with 0: 1. NTC on Slave 1
minimal temperature 1: 2. NTC on Slave 1
2: 1. NTC on Slave 2
etc.
Number Temp-Max number of the NTC with 0: 1. NTC on Slave 1
maximal temperature 1: 2. NTC on Slave 1
2: 1. NTC on Slave 2
etc.
Temp Master Master Board temperature -40.0 ... 125.0 0.1 ° Celsius

CAN:

DATA Sub-Id=0x04 Temperature on slaves: Avg , Min , Max


DATA Sub-Id=0x05 Temperature on master ... 0.1 ° Celsius

DIAG Sub-Id=0x05 Slave1 Data: ... temperature 0.1 ° Celsius


DIAG Sub-Id=0x06 Slave2 Data: ... temperature 0.1 ° Celsius
DIAG Sub-Id=0x09 Master Data 2, ..., temperature 0.1 ° Celsius

DIAG Sub-Id=0x1B Get temperature from sensor number x 0.1 ° Celsius


DIAG Sub-Id=0x1E Get temperature info (min,max,avg) from slave 0.1 ° Celsius
number x

Parameters:

0x010C Err-Temp-Min-Charge 0 0.1 ° Celsius


0x010D Err-Temp-Max-Charge 400 0.1 ° Celsius

Ref.: IR14488E 27.10.2016 Page 39/92


Software Manual
BMS Master 4 / 4.5.5

0x010E Err-Temp-Min-Discharge 100 0.1 ° Celsius


0x010F Err-Temp-Max-Discharge 500 0.1 ° Celsius

0x0110 Warn-Temp-Min-Charge 5 0.1 ° Celsius


0x0111 Warn-Temp-Max-Charge 350 0.1 ° Celsius
0x0112 Warn-Temp-Min-Discharge 150 0.1 ° Celsius
0x0113 Warn-Temp-Max-Discharge 450 0.1 ° Celsius

0x0139 Simulate Slave Ntc 0 no

Errors und Warnings:

Status Temp-Min < Err-Temp-Min-Discharge Error UnderTemp


Discharge Temp-Min < Warn-Temp-Min-Discharge Warning UnderTemp
Temp-Max > Warn-Temp-Max-Discharge Warning OverTemp
Temp-Max > Err-Temp-Max-Discharge Error OverTemp

NoCurrent Temp-Min < min (Err-Temp-Min-D, Err-Temp-Min-C) Error UnderTemp


Temp-Min < min (Warn-Temp-Min-D, Warn-Temp-Min-C) Warning UnderTemp
Temp-Max > max (Warn-Temp-Max-D,Warn-Temp-Max- Warning OverTemp
C)
Temp-Max > max (Err-Temp-Max-D, Err-Temp-Max-C) Error OverTemp

Status Temp-Min < Err-Temp-Min-Charge Error UnderTemp


Charge Temp-Min < Warn-Temp-Min-Charge Warning UnderTemp
Temp-Max > Warn-Temp-Max-Charge Warning OverTemp
Temp-Max > Err-Temp-Max-Charge Error OverTemp

Ref.: IR14488E 27.10.2016 Page 40/92


Software Manual
BMS Master 4 / 4.5.5

2.4.5. MEASUREMENT OF THE SAFETY RESISTORS

A safety resistor has to be connected to each slave. Preferably this resistor consists of a
chain of PTC thermistors, one for each battery cell connected to the slave, a multifuse or
something similar. If the value of this resistor is not within the parameterised limits, this
will be interpreted as an error and the Fail-in input of the Master will be switched to GND.
( see also: IR12256 Hardware_Manual_BMS_Master_4 Chapter 3.2.4.8 to 3.2.4.10)

Calculated values:

RSafe-Avg average value of the safety resistors 0.0 ... 9999.9 Ω


RSafe-Min smallest value of safety resistors 0.0 ... 9999.9 Ω
RSafe-Max greatest value of safety resistors 0.0 ... 9999.9 Ω
Number RSafe-Min No of the slave with the smallest value 0: Rsafe of slave 1
of safety resistors 1: Rsafe of slave 2
Number Rsafe-Max No of the slave with the greatest value 2: Rsafe of slave 3
of safety resistors 3: Rsafe of slave 4

CAN:

DIAG Sub-Id=0x05 Slave1 Data: Rsafe Ω


DIAG Sub-Id=0x06 Slave2 Data: Rsafe Ω
DIAG Sub-Id=0x1C Get Rsafe resistor value from Rsafe number x Ω

Parameters:

0x011F Err-Rsafe-Slave-Min 20 Ω
0x0120 Err-Rsafe-Slave-Max 200 Ω

0x013A Simulate Slave RSafe 1 yes, 100Ω

Errors and Warnings:

Rsafe-Min < Err-Rsafe-Slave-Min Error Rsafe Underflow


Rsafe-Max > Err-Rsafe-Slave-Max Error Rsafe Overflow

2.4.6. SECURITY SWITCH


The Security Switch can connect to a BMS Master input (connector CN103 Pin 2). The software
can check the signal. If the security switch active the BMS Master generate a ERROR. The
polarity of the signal can be parameterised (parameter 0x013C).
Furthermore this error can be made a Shut-Down error by parameterising (parameter
0x013D).

In the table are the Security Switch Parameter described.


Id Name Description
0x013C Security Switch Polarity 0 – High active, 1 – Low active
0x013D Security Switch 0 – No, no shutdown in software
Shutdown Battery? 1 – Yes, battery is shutdown in software

Ref.: IR14488E 27.10.2016 Page 41/92


Software Manual
BMS Master 4 / 4.5.5

2.5 ERRORS AND WARNINGS

In each cycle of the main program the BMS computes a number of actual values to
evaluate the condition of the battery. If one or more error limits have been exceeded the
errors will be announced and the error processing starts to switch off the contactors.
If a warning limit but not an error limit has been passed it will be indicated that something
has to be done to prevent the system from running into an unsafe state.
The BMS does not switch on a contactor if there is an error condition in the battery test
during the first test cycle. If the system is already running and an error occurs that causes
a shutdown and switches off the contactors the system may be switched on again with the
CAN frame “ResetError” if the faults have been cleared.

If there are actual or shutdown-errors or actual warnings the Master transmits periodically
each cycle (“Cycle-Time-TU”= 1000ms) the “Error/Warn” CAN frame.

For the processing of

 cell over and under voltages,


 extreme voltage differences of cells,
 over and under temperatures,
 inaccurate slave communication
 exceeding Rsave
 over current
 Insulation faults
 CAN Watch-Dog faults

And without error counting


 Security Switch (Master)

(in the following named error) the BMS uses a multiple stage processing.
Warning
With its lower limits the purpose of the “warning” is just for information. The next step is
the
Error
which will generate depending on the parameters the
Shut-Down-Error (SD-error)
that will finally lead to the isolation of the battery from load or charger after a
parameterized delay.

Ref.: IR14488E 27.10.2016 Page 42/92


Software Manual
BMS Master 4 / 4.5.5

2.5.1. ERROR COUNTING


The parameterising of the multiple stages processing as an example of a cell voltage error:

Depending on the number of its appearances the error will be evaluated.


For this purpose the parameter „SD Errorcounter Limit U” is relevant. It’s the limit of an
up/down counter incremented on an occurrence of this error within a cycle and
decremented without. When reaching its limits the counter generates a Shut-Down-Error.
Examples:
 With „SD Errorcounter Limit U: 1”
The SD-error will be generated within a single 1000ms cycle by a voltage error.
 With „SD Errorcounter Limit U: 5”
When reaching the value „5”, the counter will generate a SD-error. Each cycle
without the error will decrement the counter.
Parameter:

0x012D SD Errorcounter Limit U 5

Errorcounter
SD-Error

SD Errorcounter Limit U := 5

Err-U-Max-Cell

1 2 3 4 5 6 7 8 9 10 11 12
t
1 Zyklus (1000ms)

Parameter:

0x012D SD Errorcounter Limit U 5 n, Zellspannungen


0x012E SD Errorcounter Limit I 1 n, Strom
0x0138 SD Errorcounter Limit S 1 n, Slave Communication
0x0137 SD Errorcounter Limit D 1 n, Zellspg.-Differenz
0x013E SD Errorcnt Limit CanWD 1 n, Ausfall WatchDog
0x012F SD Errorcounter Limit T 1 n, Temperatur
0x0130 SD Errorcounter Limit R 1 n, Slave Widerstand

Ref.: IR14488E 27.10.2016 Page 43/92


Software Manual
BMS Master 4 / 4.5.5

2.5.2. ERROR MODE

Two values are used for the parameter „Delayed Shutdown Mode”:

 Shutdown Error (Filter mode) whereat the SD-Error will be deleted if the fault
disappears within the „Delayed Shutdown Time“.

Parameter:

0x0150 Delayed Shutdown Mode 0x04 Shutdown Error

Filtermode
SD-Error

SD Errorcounter Limit U := 5

Err-U-Max-Cell

1 2 3 4 5 6 7 8 9 10 11 12
t
1 Zyklus (1000ms)

 Shutdown Error + Abort (Abort mode), whereat the SD-Error will persist
even if the reasonable fault disappears.


Parameter:

0x0150 Delayed Shutdown Mode 0x0C Shutdown Error &Abort

Abortmode
SD-Error

SD Errorcounter Limit U := 5

Err-U-Max-Cell

1 2 3 4 5 6 7 8 9 10 11 12
t
1 Zyklus (1000ms)

Ref.: IR14488E 27.10.2016 Page 44/92


Software Manual
BMS Master 4 / 4.5.5

2.5.3. DELAYED SHUT-DOWN-TIME

After occurrence of an SD-error that leads to the isolation of the battery – inevitably in
„abort mode“- , there has to be an opportunity to reduce the charging or discharging
current in a limited time. That is the purpose of the selected time defined in the parameter
„Delayed Shutdown Time”.

Parameters:

0x0151 Delayed Shutdown Time 3 s (≥1)


0x0152 Delayed Shdn Presetteime 3 s, always the same as 0x0151

Delayed Shut-Down

Abschaltung

SD-Error

1 2 3 4 5 6 7 8 9 10 11 12
t
Delayed Shutdown Time := 3 1 Zyklus (1000ms)

Ref.: IR14488E 27.10.2016 Page 45/92


Software Manual
BMS Master 4 / 4.5.5

2.5.4. SWITCH OFF (CONTACTORS SWITCH OFF):

2.5.4.1 SWITCH OFF IN FILTER-MODE

Switch off is performed with a delay, to give the opportunity to reduce the power of the
load or switch off the load before the BMS opens the contactors.
This is useful to avoid over-voltages.

Parameter:

0x0150 Delayed Shutdown Mode 0x04 Shutdown Error Filtermode


0x0151 Delayed Shutdown Time 3 sec.

Switch off in Filter Mode


Error Umax Cell

SD-Error

Delayed SD Time=3s

Relay

1 2 3 4 5 6 7 8 9 10 11 12
t
Delayed Shutdown Time := 3 1 Zyklus (1000ms)

2.5.4.2 SWITCH OFF IN ABORT-MODE

After the first occurrence of a Shutdown-Errors it will be switched off after expiring of the
ShutDown-Delay-Time even if the error may no longer exist ("AbortMode" in opposite to
"FilterMode").
To prohibit the switch off the BMS must receive within this delay time a CAN-DATA-frame:
"Abort of an active SD-Delay time".
The CAN-frame has to have the length 3 with the following bytes:
ID: DATA (RX, default 0x100)
Byte 0: 0x07 (Sub-ID)
Byte 1: 0x55
Byte 2: 0xAA reset SDERR

Parameter:

0x0150 Delayed Shutdown Mode 0x0C Shutdown Error Abortmode


0x0151 Delayed Shutdown Time 3 sec.

Switch off with temporal Error prevented via CAN

Ref.: IR14488E 27.10.2016 Page 46/92


Software Manual
BMS Master 4 / 4.5.5

Switch off in Abortmode Mode prevented via CAN


Error Umax Cell
CAN-DATA-Frame
0x07 0x55 0xAA

SD-Error

Relay

1 2 3 4 5 6 7 8 9 10 11 12
t
1 Zyklus (1000ms)

Switch off with temporal Error

Switch off in Abord Mode


Error Umax Cell
CAN-DATA-Frame
0x07 0x55 0xAA

SD-Error

Relay

1 2 3 4 5 6 7 8 9 10 11 12
t
Delayed Shutdown Time := 3 1 Zyklus (1000ms)

Ref.: IR14488E 27.10.2016 Page 47/92


Software Manual
BMS Master 4 / 4.5.5

2.5.5. SUB-MODE „SWITCH-OFF-OMITTED“

In this mode the contactors will not be switched off after the detection of an error. As long
as this sum-mode is active errors are ignored. To use this attribute the system has not
necessarily to be parameterised to „CAN WDog-Mode“.

CAN:

WakeUp Sub-Id=0x04 CAN WatchDog Reset


WakeUp Sub-Id=0x05 CAN WatchDog Reset with “Switch-off-omitted”

SwitchOff-omitted
Error Umax Cell

CAN-WakeUp-Frame 0x05

SD-Error

Relay
1 2 3 4 5 6 7 8 9 10 11 12
t
1 Zyklus (1000ms)

As long as “CAN WDOG RESET with Switch off omitted” is received once per cycle it is
guaranteed that the BMS will not switch off the contactors.
If a ShutDown error occurred within this blockade it will be caught up after leaving this
mode, e.g. when changing to CAN WakeUp 0x04. This is effective always for SD-Delay
mode “AbortMode” – in “FilterMode” the error has to be uninterruptedly recognised during
the whole parameterised delay time.
To end this mode it is just to quit the transmission of the CAN frame. The BMS will react
within 1000ms to 2000ms (1 to 2 cycles). If the host synchronises the RESET frames to
the BMS ADS frames a reaction time of smaller than 1000ms is possible.

When leaving this mode the switch-off-delay time will be taken into account:

- if the error exists longer than the delay time it will be switched off instantly.

- If the error occurred recently and the switch-off-delay time has not expired
the remaining delay will be taken into account.

Ref.: IR14488E 27.10.2016 Page 48/92


Software Manual
BMS Master 4 / 4.5.5

2.6 FAIL SIGNAL


The FAIL Signal is a hardware signal from the slave module to switch the internal FAIL
relay. The signal can also be used in software to generate an Error or Shutdown Error.

Hardware Input signals:


connector Name Description
Slave 6, Connection to FAIL A
CN106 Pin 1 BUS A
(only 1 Slave6 B module)
Slave 6, Connection to FAIL B
CN106 Pin 4 BUS B
(only 1 Slave6 B module)
SSUP
CN106 Pin 2 Connect via 5kOhm with CN106 Pin 5
+5V
Slave 5 open drain, Connection to FAIL_
(more than one Slave 5 module)
CN106 Pin 5 FAILN
Slave 6 open drain, Connection to FAIL_
(more than one Slave 6 module)

In the following table describe the parameters for FAIL mode.

Id Name Description
0x0141 Fail IN Mode Set Fail In Method: 0, 1, 2
0x0142 Fail IN delay Delay time between Error and Shutdown Error
time Unit: ms
Value: 0 - disable

The FAIL In Mode method can be set with the parameter 0x0141.
Method Name Description
0 Disable No function in software
Enable, Switch Error FAIL: Active
1
OFF immediately Shutdown Error FAIL: Active
Error FAIL: Active
Enable, Switch
2 Shutdown Error FAIL: after time delay (parameter
OFF after Timer
0x0142) Active, if Fail signal still yet present

Possible FAIL signal Activations on Slave:


- Cell voltage – under/overvoltage
- Cell temperature – under/over temperature
- wiring error

Ref.: IR14488E 27.10.2016 Page 49/92


Software Manual
BMS Master 4 / 4.5.5

2.7 ALGORITHMS

2.7.1. CALCULATION OF THE STATE OF CHARGE (SOC)


For calculation the of the State of charge (Soc) and the Deep of Discharge (DoD) are
different methods used. The method can be set with the parameter 0x0180.

Soc
Metho Name Description
d
Soc Ucell
0 Calculation Soc on base medium cell voltage
average
Calculation Soc on base interpolation of cell voltage min
1 Soc Interpolation
and cell voltage max
2 Soc Ucell Min Calculation Soc on base lowest cell voltage
Soc Ucell
3 As method 0
average
4 Soc Ucell Max Calculation Soc on base highest cell voltage
Step 1:
Calculation Soc on base lowest cell voltage if Ucell Min <
U_Soc(25%)

Step 2:
Soc Ucell
5 Calculation Soc on base medium cell voltage if
Min/Max 3 Steps
U_Soc(25%) < Ucell Avg < U_Soc(75%)

Step 3:
Calculation Soc on base highest cell voltage if Ucell Max >
U_Soc(75%)
As method 5
Calculation the soc based on Ucell Min if soc < 25% until
Soc Ucell
soc > 35%
6 Min/Max 3 Steps
Hysterese
Calculation the soc based on Ucell Min if soc > 75% until
soc > 65%
Table 1:

In the following table describe the parameter for the State of charge (Soc) and Deep of
Discharge (DoD).

Id Name Description
0x0180 Soc Method Selection Soc Method
0x0200 Cell Voltage for Soc 0% Cell voltage for Soc 0%
Unit: mV
0x0201 Cell Voltage for Soc 10% Cell voltage for Soc 10%
Unit: mV
0x0202 Cell Voltage for Soc 20% Cell voltage for Soc 20%
Unit: mV

Ref.: IR14488E 27.10.2016 Page 50/92


Software Manual
BMS Master 4 / 4.5.5

0x0203 Cell Voltage for Soc 30% Cell voltage for Soc 30%
Unit: mV
0x0204 Cell Voltage for Soc 40% Cell voltage for Soc 40%
Unit: mV
0x0205 Cell Voltage for Soc 50% Cell voltage for Soc 50%
Unit: mV
0x0206 Cell Voltage for Soc 60% Cell voltage for Soc 60%
Unit: mV
0x0207 Cell Voltage for Soc 70% Cell voltage for Soc 70%
Unit: mV
0x0208 Cell Voltage for Soc 80% Cell voltage for Soc 80%
Unit: mV
0x0209 Cell Voltage for Soc 90% Cell voltage for Soc 90%
Unit: mV
0x020A Cell Voltage for Soc 100% Cell voltage for Soc 100%
Unit: mV
0x0122 Warning Soc Underflow Soc < Warning Underflow, set Warning event
Unit: %, 0% - deactivate
0x0123 Warning Soc Overflow Soc > Warning Overflow, set Warning event
Unit: %, 100% - deactivate
0x020C Soc/Ucell Valid Min Value Valid above limit for Soc/Ucell max value
Unit: 0 – deactivate
value: 1 … 100, value is the Soc value in %
value > 1000, value is the cell voltage in mV
0x020D Soc/Ucell Valid Max Value Valid under limit for Soc/Ucell min value
value: 0 – deactivate
value: 1 … 100, value is the Soc value in %
value > 1000, value is the cell voltage in mV
0x020B Min Idle Current Idle Current, Minimal Current
Unit: mA
0x0125 Max Idle Current Idle Current, Maximal Current
Unit: mA
0x0126 Idle Time Current Ilde Time
Unit: s
0x0145 Factor Charge/Discharge Factor charge/discharge efficiency
efficiency Default: 1000, is equivalent factor 1
Example: 900 is equivalent 0,9 – 10% are lost
in charge mode
Table 2:

The values of the parameter 0x0200 … 0x020A in the SoC-table have to


be different and in ascending order.

Description of the Soc calculation


If the system is for the length of time „Idle Time Current (P0x0126)“ in NoCurrent-state
„Min Idle Current (P0x020B) < I Battery < Max Idle Current (P0x0125)“ the SoC will be

Ref.: IR14488E 27.10.2016 Page 51/92


Software Manual
BMS Master 4 / 4.5.5

calculated depending on cell voltages and SoC-table. Afterwards the absolute DoD will be
determined with the new SoC and the battery capacity.
This condition is called “calibrating”
Open
mode. In some cell types (e.g. Cell type Circuit
Voltage
LFP) is the middle interval nearly
horizontal and hardly sloping which make
not valid
an accurate calibration impossible.
Using the parameters “Soc/Ucell Valid
Min Value (P0x020C)” and “Soc/Ucell
SoC_OCV SoC_OCV
Valid Max Value (P0x020D)” the “non valid valid

valid” interval will be excluded. In this


15% 90% SoC
range and in the modes “Charging” and [%]

“Discharging” the DoD will be computed


by means of the actual current flow. In such case the SoC will be calculated on basis of
the new DoD.
The actual DoD is part of the statistical data and stored permanently in the EEPROM.

In the next Figure the Soc Algorithms is shown.

Ref.: IR14488E 27.10.2016 Page 52/92


Software Manual
BMS Master 4 / 4.5.5

Current > I Idle Max (P0x0125)


or No
Current < I Idle Min(P0x020B)

Start Current Idle Timer


(P0x0126)

Yes

Current Idle reached


No Timer = 0
(P0x0126)

Yes

Soc/Ucell valid Min Value


No
(P0x020C) = 0(disbale)

Yes Soc/Ucell <= Min Soc/


Ucell valid Value Yes
No
(P0x020C)

Soc/Ucell valid Max Value


No
(P0x020D) = 0(disbale)

Soc/Ucell >= Max Soc/


No Ucell valid Value
(P0x020D)
Yes

Yes
Yes

Use Soc Table, Soc = f(Ucell) Table


Soc calculation via Coloumb (P0x0200...P0x020A)
Counting
Method 0...6, Parameter P0x0180

Figure 1

Calculated values:

SoC-rel State of Charge 0 ... 1000 In 0.1 % steps


DoD Depth of Charge 0 ... Cap_Bat mAs

CAN:

DATA Sub-Id=0x01 U-total, SoC In 0.1 % steps


DATA Sub-Id=0x02 I, SoC In 0.1 % steps
DATA Sub-Id=0x03 SoC In 0.1 % steps

DIAG Sub-Id=0x12 DoD abs / SoS rel mAs / in 0.1%

Ref.: IR14488E 27.10.2016 Page 53/92


Software Manual
BMS Master 4 / 4.5.5

2.7.2. CALCULATION OF THE STATE OF HEALTH (SOH)

The calculation of the SOH is based on the counting of the charged Ampere Hours of the
cells and the parameter 0x0159 und 0x015A.

The descriptions of the parameter for State of Health (SOH) are shown in the next table.
Id Name Description
0x0159 Charged Ah per Charged Ampere Hours for the cells for a full cycle
Cycle Einheit: Ah
Value: 0 – disable
0x015A Cycles until SoH Number of Cycles of the cells until SOH 80%
80% Wert: 0 – disable

The SOH is calculated according to the equation:


SOH = 100% - ((100 – 80%) * Charge Ampere Hours / Charged Ah per Cycle / Cycles
until SoH 80%)

2.7.3. EVENT – MEMORY

A log of the last cycle is being stored in the EEPROM of the Master.
Every time the BMS has been switched off normally via „Start“, „PlugIn“ or CAN a new
record will be generated and stored in the first of three shift registers, after a shutdown
the record is stored in the first of another two shift registers.

Example of the five event registers:


---- Events -------------------------------------------------------------------------------
Typ Session-Start-Time Duration : UBatt SoC TAvg Udf M UBatt SoC TAvg Udf M SDERR WARN
3. RUN 18.04.2007 09:37:01 194 s : 213620 100 24 23 -> 213630 100 24 23 0000 0081
2. RUN 18.04.2007 09:40:29 6 s : 213630 100 24 23 -> 213620 100 24 23 0000 0081
1. RUN 18.04.2007 09:40:42 1801 s : 213620 100 24 24 -> 210990 93 24 12 0000 0080
E2. ERR 18.04.2007 10:10:51 26 s : 210990 93 24 12 -> 211000 93 24 11 00CC 0080
E1. ERR 18.04.2007 10:11:25 349 s : 211020 93 24 11 -> 0 93 -2 12 00C0 0088

Type: Session has ended normally (RUN) or with shutdown error (ERR)
Start-Time: date & time of BMS start
Duration (RUN): time in seconds from start to stop (e.g. “Start” ON – “Start” OFF)
Duration (ERR): time in seconds from start to error
UBatt,SoC,Tavg,Udf: total voltage, State-of-Charge, average temperature and
maximum cell voltage difference at the beginning of the cycle
UBatt,SoC,Tavg,Udf , SdErr, Warn: total voltage, State-of-Charge, average
temperature and maximum cell voltage difference as well as SD-error and warning status

Ref.: IR14488E 27.10.2016 Page 54/92


Software Manual
BMS Master 4 / 4.5.5

at the end of the cycle

Ref.: IR14488E 27.10.2016 Page 55/92


Software Manual
BMS Master 4 / 4.5.5

2.7.4. CALCULATION OF THE PROGNOSIS

In particular if the battery is used as traction battery in vehicles, it is desirable for the
vehicle computer to be able to call information about the available powers and currents at
any time. The available power is the most decisive parameter for the energy management
of a vehicle. Thus, the battery management system performs such power prognoses in
real time on the basis of the acquired status data. The Figure below shows a simplified
representation of the used algorithm.

Realtime Currentprognosis

Ri (Internal Resistance)
Uc max Uc min
SoH
Cell Dates:
Maximum cell Minimum cell
State of Health voltage voltage

SoC Actual Actual Cell Actual Cell


Conditions: State of Charge Current Voltage Temperature

Actual Ri

Calculations: Voltage Drop at Ri:


Udrop = |I*Ri|

U0d max = U0d min =


I>0: Ucmax-Udrop I>0: Ucmin-Udrop
I<0: Ucmax+Udrop I<0: Ucmin+Udrop

Charging (pos) Decharging (neg)


Prognosis Ichargemax = Iloadmax =
(Parameter_Umax – (Parameter_Umin –
U0d max) / Ri U0d min) / Ri

The parameterising of prognosis has to be done by or after consulting with I+ME


Actia.

Ref.: IR14488E 27.10.2016 Page 56/92


Software Manual
BMS Master 4 / 4.5.5

Parameters:

0x23A Prediction method ? 0 old system


0x23B Use SoC for Prediction? 0 Yes (1 – No)
0x240 Pred. U-Max cellvoltage 0 mV
0x241 Pred. I-Max charge 0 mA 0.0C
0x242 Pred. Ri charge 0 0,01mΩ
0x243 Pred. Ri charge offset 0 0,01mΩ
0x244 Pred. Ri charge Ibat-0 0 0,01mΩ
0x245 Pred. Ri chgOffs Ibat-0 0 0,01mΩ
0x246 Pred. use Ri-dyn chg ? 0 no
0x247 Pred. ETemp-Min charge 0 0,1 C°
0x248 Pred. WTemp_Min charge 0 0,1 C°
0x249 Pred. WTemp_Max charge 0 0,1 C°
0x24A Pred. ETemp-Max charge 0 0,1 C°
0x250 Pred. U-Min cellvoltage 0 mV
0x251 Pred. I-Max discharge 0 mA 0.0C
0x252 Pred. Ri discharge 0 0,01mΩ
0x253 Pred. Ri dchg offset 0 0,01mΩ
0x254 Pred. Ri dchg Ibat-0 0 0,01mΩ
0x255 Pred. Ri dchgOff Ibat-0 0 0,01mΩ
0x256 Pred. use Ri-dyn dchg ? 0 no
0x257 Pred. ETemp-Min dischg 0 0,1 C°
0x258 Pred. WTemp_Min dischg 0 0,1 C°
0x259 Pred. WTemp_Max dischg 0 0,1 C°
0x25A Pred. ETemp-Max dischg 0 0,1 C°

2.7.5. COUNTERS FOR AH AND KWH STATISTIC

For the complete lifetime period of the system the total sum of charged and discharged Ah
and kWh will be monitored with high resolution and stored in the statistical data area of
the EEPROM.
As an addition, this is also done for the total sum of time the system has been in the
different states (charge/discharge/No current). These counters may be reset by a special
CAN-Frame.

Calculated values:

Ah-Charge HI Total charged Ah 0 ... 4294967295 Ah


Ah-Charge LO Total charged Ah 0 ... 3599999999 mAms
Ah-Discharge HI Total discharged Ah 0 ... 4294967295 Ah
Ah-Dicharge LO Total discharged Ah 0 ... 3599999999 mAms

kWh-Charge HI Total charged kWh 0 ... 4294967295 kWh


kWh-Charge LO Total charged kWh 0 ... 3599999999 Wms
kWh-Discharge HI Total discharged kWh 0 ... 4294967295 kWh
kWh-Dicharge LO Total discharged kWh 0 ... 3599999999 Wms

Time-Charge HI Total Time in state Charge 0 ... 4294967295 seconds


Time-Charge LO Total Time in state Charge 0 ... 999 ms
Time-Discharge HI Total Time in state Discharge 0 ... 4294967295 seconds

Ref.: IR14488E 27.10.2016 Page 57/92


Software Manual
BMS Master 4 / 4.5.5

Time-Discharge LO Total Time in state Discharge 0 ... 999 ms


Time-NoCurr HI Total Time in state NoCurrent 0 ... 4294967295 seconds
Time-NoCurr LO Total Time in state NoCurrent 0 ... 999 ms

The total value in high resolution is:


for Ah/kWh: value = (double)(HI) + (double)(LO) / 3.6e9
for Timer: value = (double)(HI) + (double)(LO) / 1.0e3

CAN:

DIAG Sub-Id=0x0A Ah-HI charged Ah


Sub-Id=0x0B Ah-LO charged mAms
Sub-Id=0x0C Ah-HI discharge Ah
Sub-Id=0x0D Ah-LO discharge mAms
DIAG Sub-Id=0x0E kWh-HI charged kWh
Sub-Id=0x0F kWh -LO charged Wms
Sub-Id=0x10 kWh -HI discharge KWh
Sub-Id=0x11 kWh -LO discharge Wms
DIAG Sub-Id=0x13 Time in State Charge HI / LO Sec / ms
Sub-Id=0x14 Time in State Discharge HI / LO Sec / ms
Sub-Id=0x15 Time in State NoCurrent Sec / ms

DIAG Sub-Id=0x0A Write: set all ah/kWh counters to zero


DIAG Sub-Id=0x13 Write: set all timer counters to zero

2.7.6. BALANCE SYSTEM

The balance system has to bring the actual cell voltage difference to a value given by the
parameter „Cell Voltage Difference Max“ (parameter 0x0127). This is done during the
automatic cell balance mode.
Preconditions:
The balance system is only active if the current higher as „Min Current for Balance“
(Parameter 0x0133) and lower as „Max Current for Balance“ (Parameter 0x0143) and the
minimum time „Stable Window Min Time“ (Parameter 0x0144) is reached. Is the current
not in the limits the cell balance is stopped.
No cell voltage must not lower as “Min Cell Voltage, Stop Balance“ (Parameter 0x02D3).
The voltage of the balanced cell must higher than „Cell Voltage Min“ (Parameter: 0x0128).
Cells with a voltage lower than „Cell Voltage Min“ are not balanced, so the goal cannot be
reached under all circumstances. To balance the cells a minimum of cell voltage/cell
capacity is necessary.

The first action of the system after start-up (by CAN/RTC/”Start”/”PlugIn”) is to reset the
balance system adjustment. After having finished the evaluation of the first measurement
cycle, the balance system sets a new adjustment if needed and the current is higher than

Ref.: IR14488E 27.10.2016 Page 58/92


Software Manual
BMS Master 4 / 4.5.5

in parameter 0x0133 defined. This adjustment stays active for at least „DisLog_IdleCnt”
measurement cycles as long as the system does not change to the state ‘discharge’. After
this period a new adjustment is evaluated.In this mode the higher voltage cells will be
discharged until the goal is reached ( Ucell_min + DisLog_DeltaUc > all Ucells).

Discharge until here

UcellMin + DisLog_DeltaUc

DisLog_MinUc

UcellMin

The balance system is active even when the master is inactive, because the individual cell
discharges are served by the slaves. Every 10 minutes („RTC_Wakup_short“) the master
is awoken by the RTC to check if the actual balance system adjustment is still correct or
must be modified. If there is no further need to equalise cells, the next RTC wakeup will
be in 240 minutes („RTC-Wakeup_long“).

A special case is the CAN-Msg. ‘Shutdown with Balance System disable’. If the master is
set to power down mode with this command, it is guaranteed that for the next 10 minutes
all slaves do not have active discharge flags. Use this command if the master must be
switched off from slaves or power supply (KL30) for a longer time!

The discharge current used by the balance system is about 60 mA for each cell. If there is
no communication with the master any more the slaves themselves end the balancing
after about 40 minutes.

The table describes the cell balance parameter.


Id Name Description
0x0101 Wakeup Time Short Cyclic wakeup the BMS and check cell voltages to
calculate a new balance job
Unit: Minutes
0x0102 Wakeup Time Long Cyclic wakeup the BMS and check cell voltage to
decide to activate the balance system
Unit: Minutes
0x0127 Cell Voltage Maximal allowed cell voltage difference
Difference Max Unit: mV

Ref.: IR14488E 27.10.2016 Page 59/92


Software Manual
BMS Master 4 / 4.5.5

0x0128 Cell Voltage Min Minimal cell voltage to balance a cell. A cell with the
voltage lower this parameter is not balanced
Unit: mV
0x0129 Balance time Interval Time interval in cycles until a calculation for a new
balance job (BMS is active)
Unit: cycles (typ 1 second)
0x02D3 Min Cell Voltage, Is a cell voltage lower than this parameter, no
Stop Balance balance is active
Min. Current for Minimum current to balance the cells
0x0133
Balance Unit: mA
Max. Current for Maximum current to balance the cells
0x0143
Balance Unit: mA
Stable Window Min Minimum time for the current in the current window
0x0144
Time Unit: cycle (typ 1 second)
Warning Cell Voltage Warning theshold for the difference between
0x0135
Difference minimum and maximum cell voltage
Wert: 0 - deactive
Unit: mV
Error Cell Voltage Error theshold for the difference between minimum
0x0136
Difference and maximum cell voltage
value: 0 - deactive
Unit: mV
Cell Difference Number of cycles for the cell voltage error
0x0137
Shutdown Error difference to set an Shutdown error
Counter value: 0 - deactive

The parameter 0x0135 … 0x0137 can be used to define warnings, errors and shutdown errors.

CAN:

WAKUP Sub-Id=0x02 Shutdown BMS


WAKUP Sub-Id=0x03 Shutdown BMS with auto balance system disable (for 10 min.)

DIAG Sub-Id=0x01 Slave Data: Ucell 3, 2, 1 and auto balance bits mV


DIAG Sub-Id=0x02 Slave Data: Ucell 6, 5, 4 and auto balance bits mV
DIAG Sub-Id=0x03 Slave Data: Ucell 9, 8, 7 and auto balance bits mV
DIAG Sub-Id=0x04 Slave Data: Ucell 11, 10 and auto balance bits mV
DIAG Sub-Id=0x1A Get Ucell & discharge active info from cell number X mV

2.7.7. TEMPERATUR CONTROL SYSTEM

The Master 4 comes with four digital outputs with hysteresis (OUT1 … OUT4) for cooling or
heating to be connected to fans or Peltier elements.
Anyway, client specific purposes will take priority over the use for temperature control.
This will also include the parameters of precharge cooling (0x0162 … 0x0165).

Parameter:

0x0168 Fan1 C/H Start at Temp. 350 zC cooling

Ref.: IR14488E 27.10.2016 Page 60/92


Software Manual
BMS Master 4 / 4.5.5

0x0169 Fan1 C/H Stopp at Temp. 250 zC


0x016A Fan2 C/H Start at Temp. 350 zC cooling
0x016B Fan2 C/H Stopp at Temp. 250 zC
0x016C Fan3 C/H Start at Temp. 400 zC cooling
0x016D Fan3 C/H Stopp at Temp. 350 zC
0x016E Fan4 C/H Start at Temp. 400 zC cooling
0x016F Fan4 C/H Stopp at Temp. 350 zC

0x0162 Prechg Cooling Start at 0 zC


0x0163 Prechg Cooling Stop at. 0 zC
0x0164 Prechg Cooling Fan-Port. 0 n disable
0x0165 Prechg PChg Cooling Time 0 s

Function:
1.) If Start-Temp = Stop-Temp the cooling/heating function of the output is deactivated.
2.) If Start-Temp > Stop-Temp: Cooling starts when Tmax >= Start-Temp and stops
when Tmax <=Stopp-Temp.
3.) If Start-Temp < Stopp-Temp: Heating starts when Tmin <= Start-Temp and stops
when Tmin >= Stopp-Temp.

Ref.: IR14488E 27.10.2016 Page 61/92


Software Manual
BMS Master 4 / 4.5.5

3. SETUP A SLAVE MODULE SYSTEM

To setup the cell voltage/temperature Measurement module (Slave Module) a set of


parameters must be set to configure the system. The next figure shows step by step how
to set the parameters.

Slave Type P0x0345

parallel Strings P0x0341


String, Number of serial Moduls P0x0342

Segmented Model
YES (segmented Model)
P0x0340

Cells per Slave


Slave 1-8, P0x0343
NO Slave 9-16, P0x0344
(linear Model) Slave 17-24, P0x0347
Slave 25-32, P0x0348

Number of Slaves P0x0301


Number of Cells P0x0302
Cells per Slave P0x0303

Slave Type
Slave 6 NO

YES

Number of Slave A moduls per Slave B


Slave B1, P0x0360
Slave B2, P0x0361
...
Slave B16 P0x036F

Addressing of the
Init Slave B and Slave A Modul
Slaves

P0xXXXX – Id parameter 0xXXXX

Slave Type Slave 6:


If the Slave Type “Slave 6” used, the parameter P0x0360 … P0x036F Slave A moduls per
Slave B module are used. Unused parameters in this range are set to 0.

Address of the Slave 6 B Module


Are more Slave 6 B moduls used, every modul must have a unique modul address. The

Ref.: IR14488E 27.10.2016 Page 62/92


Software Manual
BMS Master 4 / 4.5.5

default address is 1. The addresses can be set on the website “Slave Configuration” with
button “Set Address Slave 6”. The Slave 6 A moduls are automatic addressed (depending
the position in the wiring).

Battery Type
The setting of the battery type is optional.

Slave 6 Initial Operation


The addresses for the Slave 6 B moduls must be set first.
After setting the parameter, The Initial Operation Mode for Slave 6 must be execute. The
mode can be execute with the webserver on website “Slave Configuration” with the Button
“Configuration Slave 6” or the serial RS232 interface (see also document:
“IR14131_Slave6_InitialOperation.pdf”).

All other Slaves Types:


All Slaves must have a unique address in ascending number.

In the following table describe the parameter for the Slave setup.
Id Name Description
0x0345 Slave Type Select Slave Type:
1 – Slave A
2 – Slave C
3 – Slave 5
4 – Slave 5 LTO
6 – Slave 6
0x0341 Number of Number of parallel Strings, 1 – only one string
parallel Strings Default: 1
0x0342 String , Number Number of serial Module in one string
of serial Moduls Default: 1
0x0340 Use segmented 0 – linear model is used, all slaves have the same
BattModel number of cells
Parameter: 0x0301, 0x0302, 0x0303 is used for setup
the slave modul system

1 – segmented model is used


Parameter: 0x0343, 0x0344, 0x0347, 0x0348 is used
for setup the slave modul system
0x0301 Number of Slave 6: Number of used Slave A moduls
Slaves All other: Number of used Slave
0x0302 Number of cells Number of used cells
0x0303 Cells per Slave Number of cells per slave
0x0343 Cells per Slave Number of Cells per Slave modul 1 … modul 8
1…8 Example:
Slave 1: 12 cells (12 is hexadezimal C)
Slave 2: 11 cells (11 is hexadezimal B)
Slave 3: 10 cells (10 is hexadezimal A)
Slave 4: 8 cells (8 is hexadezimal 8)
P0x0343: 0x000008ABC (from right to left)
0x0344 Cells per Slave Number of Cells per Slave modul 9 … modul 16
9 … 16

Ref.: IR14488E 27.10.2016 Page 63/92


Software Manual
BMS Master 4 / 4.5.5

0x0347 Cells per Slave Number of Cells per Slave modul 17 … modul 24
17 … 24
0x0348 Cells per Slave Number of Cells per Slave modul 25 … modul 32
25 … 32
0x0360 Slave A moduls Number of connected Slave A moduls to 1. Slave B
per 1. Slave B modul, only used for Slave 6 system
default: 0 – unused
0x0361 Slave A moduls Number of connected Slave A moduls to 2…15 Slave B
… per 2…15 Slave modul, only used for Slave 6 system
0x036E B default: 0 – unused
0x036F Slave A moduls Number of connected Slave A moduls to 16 Slave B
per 16. Slave B modul, only used for Slave 6 system
default: 0 – unused

3.1 LINEAR MODEL


In the linear model all Slaves have the same number of cells connected.
If parameter P0x0340 is set to „0“ the Flat Model is selected and the parameters are used:
- P0x0301, Number of Slaves
- P0x0302, Number of cells
- P0x0303, Cells per Slave

3.2 SEGMENTED BATTERY MODEL

3.2.1. MODEL – DEFINITION

This model is formed on the basis of the following premises:


- up to 12 cells (depending on Slave Type) can be connected to one slave
- a module consists of a series of one up to 16 slaves possibly with different numbers of
cells per slave.
- a string consists of a series of modules ( 1… )
- a battery consists of a multiple (parallel connection) of strings ( 1… )

For the determination of the structure the following software conditions have to be observed
(depending on Slave Type):
- number of cells per slave : 5 up to 12 cells
- number of slaves per module : 1 up to 16 slaves
- number of modules per string : at least 1
- number of strings per battery : at least 1
- total number of slaves : 1 to maximum 32
- total number of cells : 5 to maximum 384

With the proper choice of parameters the „Segmented Model“ may emulate nearly every “Flat
Model”. It is recommended to parameterise always the „Segmented Model“.

3.2.2. EXAMPLE SEGMENTED MODEL 1 STRING

Battery Structure: 1P[1M(10S107C: - 7 8 9 11 12 12 12 12 12 12 +)]: S=10 C=107


This battery consists of 1 parallel string and 1 serial Modul with different cells on Slaves.

Ref.: IR14488E 27.10.2016 Page 64/92


Software Manual
BMS Master 4 / 4.5.5

Totally 107 cells and 10 Slaves are used.

0x0340 Use segmented BattModel 1 enable


0x0341 Number of par. Strings 1 Default
0x0342 Number of ser. Moduls 1 Default
0x0343 Cells per Slave 1-8 0xCCCCB987
0x0344 Cells per Slave 9-16 0x00000000
0x0347 Cells per Slave 17-24 0x00000000
0x0348 Cells per Slave 25-32 0x00000000

Ref.: IR14488E 27.10.2016 Page 65/92


Software Manual
BMS Master 4 / 4.5.5

3.2.3. EXAMPLE SEGMENTED MODEL (PARALLEL + SERIAL)

Battery Structure: 2P[3M(3S23C: - 8 8 7 +)]: S=18 C=138


This battery consists on a parallel connection of two identical strings of cells. Each string
consists of three modules, each one containing 23 cells in order (8-8-7).
Totally 138 cells and 18 Slaves are arranged in six identical modules:

Slave 9 Slave 18
+

+
7 Cells Modul 3 7 Cells Modul 6
1 2 3 4 5 6 7 8 9 10 11 12

1 2 3 4 5 6 7 8 9 10 11 12
Slave 8 Slave 17
+

+
Zelle 69 Zelle 138
Cell connector

Cell connector
8 Cells 8 Cells
1 2 3 4 5 6 7 8 9 10 11 12

1 2 3 4 5 6 7 8 9 10 11 12
Zelle 68 Zelle 137
Zelle 67 Zelle 62 Slave 7 Zelle 136 Zelle 131 Slave 16
+

+
Zelle 66 Zelle 61 Zelle 135 Zelle 130
Cell connector

Cell connector
8 Cells 8 Cells
1 2 3 4 5 6 7 8 9 10 11 12

1 2 3 4 5 6 7 8 9 10 11 12
Zelle 65 Zelle 60 Zelle 134 Zelle 129
Zelle 64 Zelle 59 Zelle 54 Zelle 133 Zelle 128 Zelle 123
Zelle 63 Zelle 58 Zelle 53 Zelle 132 Zelle 127 Zelle 122
Cell connector

Cell connector
Zelle 57 Zelle 52 Zelle 126 Zelle 121
Zelle 56 Zelle 51 Zelle 125 Zelle 120
- Zelle 55 Zelle 50
Zelle 49
- Zelle 124 Zelle 119
Zelle 118
Zelle 48 Zelle 117
- Zelle 47 - Zelle 116

- -

Slave 15
+

Slave 6
7 Cells Modul 2 7 Cells Modul 5
1 2 3 4 5 6 7 8 9 10 11 12

1 2 3 4 5 6 7 8 9 10 11 12

Slave 14
+

Zelle 46
Slave 5 Zelle 115
+
Cell connector

Cell connector

8 Cells 8 Cells
1 2 3 4 5 6 7 8 9 10 11 12

1 2 3 4 5 6 7 8 9 10 11 12

Zelle 45 Zelle 114


Zelle 44 Zelle 39 Zelle 113 Zelle 108 Slave 13
+

+
Zelle 43 Zelle 38
Slave 4 Zelle 112 Zelle 107
Cell connector

Cell connector

8 Cells 8 Cells
1 2 3 4 5 6 7 8 9 10 11 12

1 2 3 4 5 6 7 8 9 10 11 12
Zelle 42 Zelle 37 Zelle 111 Zelle 106
Zelle 41 Zelle 36 Zelle 31 Zelle 110 Zelle 105 Zelle 100
Zelle 40 Zelle 35 Zelle 30 Zelle 109 Zelle 104 Zelle 99
Cell connector

Cell connector
Zelle 34 Zelle 29 Zelle 103 Zelle 98
Zelle 33 Zelle 28 Zelle 102 Zelle 97
- Zelle 32 Zelle 27
Zelle 26
- Zelle 101 Zelle 96
Zelle 95
Zelle 25 Zelle 94
- Zelle 24 - Zelle 93

- -

Slave 3 Slave 12
+

7 Cells Modul 1 7 Cells Modul 4


1 2 3 4 5 6 7 8 9 10 11 12

1 2 3 4 5 6 7 8 9 10 11 12

Slave 2 Slave 11
+

Zelle 23 Zelle 92
Cell connector

Cell connector

8 Cells 8 Cells
1 2 3 4 5 6 7 8 9 10 11 12

1 2 3 4 5 6 7 8 9 10 11 12

Zelle 22 Zelle 91
Zelle 21 Zelle 16 Zelle 90 Zelle 85 Slave 10
Slave 1
+

Zelle 20 Zelle 15 Zelle 89 Zelle 84


Cell connector

Cell connector

8 Cells 8 Cells
1 2 3 4 5 6 7 8 9 10 11 12

1 2 3 4 5 6 7 8 9 10 11 12

Zelle 19 Zelle 14 Zelle 88 Zelle 83


Zelle 18 Zelle 13 Zelle 8 Zelle 87 Zelle 82 Zelle 77
Zelle 17 Zelle 12 Zelle 7 Zelle 86 Zelle 81 Zelle 76
Cell connector

Cell connector

Zelle 11 Zelle 6 Zelle 80 Zelle 75


Zelle 10 Zelle 5 Zelle 79 Zelle 74
- Zelle 9 Zelle 4
Zelle 3
- Zelle 78 Zelle 73
Zelle 72
Zelle 2 Zelle 71
- Zelle 1 - Zelle 70

- -

Following parameters define the battery structure:

Ref.: IR14488E 27.10.2016 Page 66/92


Software Manual
BMS Master 4 / 4.5.5

0x0340 Use segmented BattModel 1 enable


0x0341 Number of par. Strings 2
0x0342 Number of ser. Moduls 3
0x0343 Cells per Slave 1-8 0x00000788
0x0344 Cells per Slave 9-16 0x00000000
0x0347 Cells per Slave 17-24 0x00000000
0x0348 Cells per Slave 25-32 0x00000000

If parameter 0x340 is set to „1“ the “Segmented Model” is activated.

- the parameters 0x301-0x303 are not used


- 0x341 defines the number of parallel strings
- 0x342 defines the number of modules per string
- 0x343 and 0x0344 define the structure of a module:
o the number of cells can be defined for up to 16 slaves
o the number of cells per slave has to be read from right (-) to left (+)
o for the 1st 8 slaves the number is defined in Slave 1-8, for the 2nd 8 in Slave 9-
16 ….
o range of values for number of slaves : 5…..C (hexadecimal)
o Example : “00000000” - "00000788“ = a module consists of three slaves:
 Slave-No 1 is connected to 8 cells,
 Slave-No 2 is connected to 8 cells,
 Slave-No 3 is connected to 7 cells.

The system password is required to change the new parameters.

3.3 SPECIAL FEATURES

3.3.1. U-BATT
The BMS doesn’t take measurement of the whole battery voltage but always the voltage of
each single cell. Hence the voltages of slaves, modules, strings and battery are always
calculated values. Constitutive for the allocation are:

1.) the definition of the structure


2.) the addressing of the slaves

A proper adjustment of the slaves’ addresses is basically for the correct mapping of the
structure. It is imperative:

- Within a string - over all modules - from minus to plus the addresses have to be in
ascending order.
- Each parallel connected string starts at the negative pole with the increment (+1) of the
highest address of the preceding string.

U Battery is calculated with the sum of all cells divided by the number of parallel strings.

3.3.2. I-BATT AT PARALLEL STRINGS


The battery sensor has to be placed in the mains of the battery (I Battery).
For easy reconfiguring a parallel connection still all current specifically parameters apply to a
single string. The system calculates the current per string with dividing I Battery by the

Ref.: IR14488E 27.10.2016 Page 67/92


Software Manual
BMS Master 4 / 4.5.5

number of all parallel strings. This value is used only internally.


The following parameters always only refer to the current of a single string:

example values
0x0100 Capacity 216000000 mAs 60.00 Ah
0x0114 Err-I-Max-Charge 101000 mA 1.68 C
0x0115 Err-I-Max-Discharge 151000 mA 2.52 C
0x0116 Warn-I-Max-Charge 81000 mA 1.35 C
0x0117 Warn-I-Max-Discharge 121000 mA 2.02 C
0x0118 IPeak-Max-Charge_Im 200000 mA 3.33 C
0x0119 IPeak-Max-Discharge_Im 200000 mA 3.33 C
0x011A IPeak-Max-Charge 41000 mA 0.68 C
0x011B IPeak-Max-Discharg 61000 mA 1.02 C
0x0121 IBat-Ignore 9 mA
0x0125 I-Bat0 100 mA
0x0133 Dislog Activ if IBat > 0 mA

All details of the power prognosis as well as statistics only refer to I Battery.

Ref.: IR14488E 27.10.2016 Page 68/92


Software Manual
BMS Master 4 / 4.5.5

4. CAN-TRANSFER

4.1 LITTLE ENDIAN

In all CAN-Frames the “Little Endian”-Format is used with the least significant byte (LSB)
placed in the lowest CAN-data-byte.

Example: CanFrameId: 0x101 Data bytes: 0:Sub-ID 1:0x44 2:0x33 3:0x22 4:0x11

BMS TX ID: 0x101; TxDATA


Number Name Length Data
Byte 0 Byte Byte Byte Byte Byte Byte Byte
Sub-Id 1 2 3 4 5 6 7

1 I-Bat 8 1 Current SOC


0x44 0x33 0x22 0x11

Current = 0x11223344

4.2 PARAMETERS
Parameters:

0x030A CAN Btr0 Btr1 0xC149 250 kbps


0x030B CAN IDs ErrWrn 0x000 (BMS response 0x001)
0x030C CAN IDs Wakeup 0x010 (BMS response 0x011)
0x030D CAN IDs Data 0x100 (BMS response 0x101)
0x030E CAN IDs Diag 0x102 (BMS response 0x103)
0x030F CAN IDs PCM 0x104 (BMS response 0x105)

The system password is required to change these parameters. The changes will take effect
after being written back to and restart of the Master. For this it may be necessary to
modify the remote CAN-station as well.

If CAN parameters a “ill-configurated” and no CAN communication is longer available the


Master has to be reset by flashing of an older program version by changing the data-
space-number (0x0300= Version DataSp.:).

Ref.: IR14488E 27.10.2016 Page 69/92


Software Manual
BMS Master 4 / 4.5.5

4.3 CAN BAUDRATE

The values in the bit timing registers BTR0 and BTR1 define both the CAN baud rate as
well as the sample point. Both 8-bit values are put together in the 16-bit word in the PCM
parameter 0x030A : ( BTR0 << 8 ) + (BTR1)

0xC149 -> BTR0 = 0xC1 BTR1 = 0x49

Examples of conventional baud rates:

100 kbps 0xC35C (word) BTR1=0x5C BTR0=C3


125 kbps 0xC349 (word) BTR1=0x49 BTR0=C3
250 kbps 0xC149 (word) BTR1=0x49 BTR0=C1
500 kbps 0xC049 (word) BTR1=0x49 BTR0=C0
1000 kbps 0x4014 (word) BTR1=0x14 BTR0=40

4.4 CAN IDENTIFIER

The location of the five communication channels of the BMS may be changed one by one
with the Webserver (system password necessary):

0x030B= CAN IDs ErrWrn : 0x000 (response at: 0x001)


0x030C= CAN IDs Wakeup : 0x010 (response at: 0x011)
0x030D= CAN IDs Data : 0x100 (response at: 0x101)
0x030E= CAN IDs Diag : 0x102 (response at: 0x103)
0x030F= CAN IDs PCM : 0x104 (response at: 0x105)

There is alone the ID of the receiving channel parameterised. The answer will always be
transmitted by the BMS on receiving channel ID + 1.

Different applications:

1.) Example: all BMS CAN IDs shall be continuous without gap from 0x100 :

0x030B= CAN IDs ErrWrn : 0x100 (Antwort auf: 0x101)


0x030C= CAN IDs Wakeup : 0x102 (Antwort auf: 0x103)
0x030D= CAN IDs Data : 0x104 (Antwort auf: 0x105)
0x030E= CAN IDs Diag : 0x106 (Antwort auf: 0x107)
0x030F= CAN IDs PCM : 0x108 (Antwort auf: 0x109)

2.) Example: two BMSs shall work together at a single CAN bus:

BMS 1:

0x030B= CAN IDs ErrWrn : 0x100 (Antwort auf: 0x101)


0x030C= CAN IDs Wakeup : 0x102 (Antwort auf: 0x103)
0x030D= CAN IDs Data : 0x104 (Antwort auf: 0x105)
0x030E= CAN IDs Diag : 0x106 (Antwort auf: 0x107)
0x030F= CAN IDs PCM : 0x108 (Antwort auf: 0x109)

Ref.: IR14488E 27.10.2016 Page 70/92


Software Manual
BMS Master 4 / 4.5.5

BMS 2:

0x030B= CAN IDs ErrWrn : 0x200 (Antwort auf: 0x201)


0x030C= CAN IDs Wakeup : 0x202 (Antwort auf: 0x203)
0x030D= CAN IDs Data : 0x204 (Antwort auf: 0x205)
0x030E= CAN IDs Diag : 0x206 (Antwort auf: 0x207)
0x030F= CAN IDs PCM : 0x208 (Antwort auf: 0x209)

3.) Example: four BMSs shall work together at a single CAN bus while keeping their CAN
priorities :

BMS1 BMS2 BMS3 BMS4


0x030B = CAN IDs ErrWrn 0x000 0x002 0x004 0x006
0x030C = CAN IDs Wakeup 0x010 0x012 0x014 0x016
0x030D = CAN IDs Data 0x100 0x102 0x104 0x106
0x030E = CAN IDs Diag 0x110 0x112 0x114 0x116
0x030F = CAN IDs PCM 0x120 0x122 0x124 0x126

Remark:
The transmitting channel „CAN ID ErrWrn + 1“ is used by BMS for automatically
transmitted diagnosis information (ADS-MODE), for this purpose the desired DIAG-Sub-
Ids 0x1E0 .. 0x1E7 have to be set in the table.

4.5 ADS AUTO DIAGNOSE SEND

All Diag frames that need parameters except the Sub-ID may be sent with ADS.
ADS transmits data during each cycle without needing a prior request.
sendet Daten je Zyklus, ohne dass vorher eine Anfrage erfolgen muss. There are two
activators fort both this services which may be used each alone or both together:

1. Parameterising the desired values in the ADS-Table (0x01E0 bis 0x01E7)


2. Transmission of the DIAG-FRAMES Sub-ID 0x40 „Setting of Runtime-ADS Table“

In the same order the responding DIAG frames will be transmitted in each cycle.
Excerpt of values to get via Sub-ID (see IR12329 BMS_CANMATRIX):
Sub-ID ADS requests and reports Sub-ID ADS requests and reports Sub-ID ADS Anfragen und Meldungen
0x04 UCells 10...12 0x12 DoD and SoC 0x34 Slave temperature, like DATA 0x04
0x05 Slave 1: Temp 0 and 1 and Rsafe 0x13 Total time in state charge 0x35 Master temperature, like DATA 0x05
0x06 Slave 2: Temp 0 and 1 and Rsafe 0x14 Total time in state discharge 0x36 Error/Warning, like DATA 0x06
0x08 Master Data set 1 0x15 Total time during nocurrent 0x37 Short Info 1, like DATA 0x07
0x09 Master Data set 2 0x16 System time dd:mm:jjjj hh.mm.ss 0x38 Power prognosis charge, like DATA 0x08
0x0A charge: counter high Ah 0x17 Total number of KiloVACOC-Shutdown Errors 0x39 Power prognosis discharge, like DATA 0x09
0x0B charge: counter low mAms 0x18 UCell avg/min/max of Battery 0x3A Short Info 2 , like DATA 0x0A
0x0C discharge: counter high Ah 0x19 Info about the Battery structure 0x3B request of miscellan. states, like DATA 0x3B
0x0D discharge: counter low mAms 0x20 Request for software version 0x40 request of current ADS-RT Table
0x0E charge: counter high kWh 0x21 Request for DataSpaceNo. and Gen-Appl.-ID 0x41 --- unused --
0x0F charge: counter low Wms 0x31 IBatt and SoC, like DATA 0x01 0x42 User-time in mode Charging
0x10 discharge: counter high kWh 0x32 UBatt and SoC, like DATA 0x02 0x43 User-time in mode Decharging
0x11 discharge: counter low Wms 0x33 Soc, like DATA 0x03 0x44 Insulation resistance

Ref.: IR14488E 27.10.2016 Page 71/92


Software Manual
BMS Master 4 / 4.5.5

There are three different modes to define the CAN-IDs used by the BMS to send the
information of AutoDiagSend (ADS, ADS-RT).

Parameters of the following examples:


0x030B CAN-BCSi ErrWrn 0x240 [->0x241]
0x01E0 AutoDiagSend ADS_tab[0] 0x36 SubIdx
0x01E1 AutoDiagSend ADS_tab[1] 0x37 SubIdx
0x01E2 AutoDiagSend ADS_tab[2] 0x38 SubIdx
0x01E3 AutoDiagSend ADS_tab[3] 0x39 SubIdx
0x01E4 AutoDiagSend ADS_tab[4] 0x00 -free-
0x01E5 AutoDiagSend ADS_tab[5] 0x00 -free-
0x01E6 AutoDiagSend ADS_tab[6] 0x00 -free-
0x01E7 AutoDiagSend ADS_tab[7] 0x33 SubIdx

0x0146 ADS / ADS-RT method ? 0 compatible


Mode 0 : CAN-ID Fix, compatible mode
All ADS Information will be sent to the same CAN-ID (ErrWrn+1). The receptor has to
accept the incoming frames immediately.

0x0146 ADS / ADS-RT method ? 1 Fix+Lfd.Nr


Mode 1 : CAN-Id: Fix+Lfd.Nr
Similar to mode 0, however, the number of the transmission order will be added to the
CAN-ID. As there are up to 8 ADS and 7 ADS-RT frames possible there is a range of
[0…14] for the transmission numbers.

0x0146 ADS / ADS-RT method ? 2 CAN-Id: Fix+SubId


Mode 2 : CAN-Id: Fix+SubId
Similar to mode 0, however, the Sub-ID itself will be added to the CAN-ID.

compatible Fix+Lfd.Nr Fix+SubId


0: CAN-ID 1: CAN-ID 2: CAN-ID DIAGNOSIS VALUES
0x241 0x241 0x277 SubID 0x36: Error/Warning
0x241 0x242 0x278 SubID 0x37: Short Info 1
0x241 0x243 0x279 SubID 0x38: power prognosis charge
0x241 0x244 0x27A SubID 0x39: power prognosis discharge
0x241 0x245 0x274 SubID 0x33: SoC

Ref.: IR14488E 27.10.2016 Page 72/92


Software Manual
BMS Master 4 / 4.5.5

4.6 CAN FRAMES

If the BMS gets a request before the former has been answered, the answer of the former
request will be omitted i.e. the BMS only answers the last request (Diagnosis-request &
Data-request)
Here it shows the advantage of the ADS procedure, with which all parameterized data will
be sent automatically and synchronously to the measurement cycle which is not
guaranteed for cyclical requests.
After computing a measurement cycle the following frames will be transmitted by the BMS
without request:
- CAN ERR/WRN Frame, if appropriate: (on errors or warnings)
- DIAG-TX of ADS Tabel entrys, if parameterized
- DIAG-TX of ADS-Runtime Tabel entrys when set during.

The CAN-Frames are described with different lengths (len = {1,2,3,8}) in this
document.
For all frames sent to the BMS it is alternatively possible to use the length
(len = 8) and fill all unused bytes at will.
With the only exception of WakeUp-Acknowlege-Frames (len = 1) the BMS generally sends
frames of length (len = 8).

See also: IR12329 BMS_CANMATRIX

Ref.: IR14488E 27.10.2016 Page 73/92


Software Manual
BMS Master 4 / 4.5.5

4.6.1. ERROR/WARNING

Errors and Warnings are shown as single bits in a 16 Bit-Word (Little Endian-Format).
It is possible that multiple bits are set.

For example is the meaning of this 16 bit warning 0x8005:


Ucell over voltage, 0x0001
over temperature and 0x0004
too high Ucell difference 0x8000

Warning/Error Frame 0x000 TX


Length Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7

1 Warning/Error Status 8 ShutDown Error Actual error Warning HV/FAN 00000000

Nr Bit ShutDown Error actual Error Warning Nr HV / FAN


0 0001 UCell Overvoltage UCell Overvoltage UCell Overvoltage 0 contactor HV-Plus actuated (sense line)
1 0002 UCell Undervoltage UCell Undervoltage UCell Undervoltage 1 contactor HV-Precharge actuated (sense line)
2 0004 overtemperature overtemperature overtemperature 2 contactor für HV-Minus actuated (sense line)
3 0008 undertemperature undertemperature undertemperature 3 Mainrelais actuated by Master (System OK)
4 0010 overcurrent discharge overcurrent discharge overcurrent discharge 4 output FAN Nr. 1 actuated by Master
5 0020 overcurrent charge overcurrent charge overcurrent charge 5 output FAN Nr. 2 actuated by Master
6 0040 RSafe underflow slaves RSafe underflow slaves SOC underflow 6 output FAN Nr. 3 actuated by Master
7 0080 RSafe overflow slaves RSafe overflow slaves SOC overflow 7 output FAN Nr. 4 actuated by Master
8 0100 security switch security switch Sensor Temp. Fault
9 0200 slave comm error slave comm error Charger problem
10 0400 KiloVAC OC-Shutdown KiloVAC OC-Shutdown KiloVAC OC-Shutdown
11 0800 isometer isometer isometer
12 1000 KiloVAC Sense Error KiloVAC Sense Error undef 12
13 2000 precharge Voltage Err precharge Voltage Err undef 13
14 4000 CAN-WatchDog error CAN-WatchDog error undef 14
15 8000 UCell difference UCell difference UCell difference

Ref.: IR14488E 27.10.2016 Page 74/92


Software Manual
BMS Master 4 / 4.5.5

4.6.2. AUTODIAGSEND ADS AND RUNTIME ADS(-RT):

ADS(-RT) Frame 0x001 TX


Length Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7

1 Actual valus of choice 8 Sub-ID value(1)….value(n) see DIAG TX

As a supplement to the parameter controlled ADS-Table (parameter 0x1E0 bis 0x1E7) there is
an additional ADS-RT table implemented with maximum of 7 items which is to be used
exclusively during runtime. After the start of the BMS the ADS-RT table is set to zero, i.e. this
function is deactivated. The user may start and modify this table at any time via CAN bus in
the running system with a DIAG frame (see below). The ADS frames will be transmitted each
cycle in the following order:
1. all items from the parameterised ADS
2. all items from ADS-RT

Byte 0 Response on requested Data Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7
Sub-ID
0x01 UCells 01...03 UCell 03 UCell 02 UCell 01
0x02 UCells 04...06 UCell 06 UCell 05 UCell 04
0x03 UCells 07...09 UCell 09 UCell 08 UCell 07
0x04 UCells 10...11 0x00 0x00 UCell 11 UCell 10
0x05 Slave 1: Temp 1 and 2 as well as Rsafe S1: Temp 1 S1: Temp 2 S1: Rsafe 0x00
0x06 Slave 2: Temp 1 and 2 as well as Rsafe S2: Temp 1 S2: Temp 2 S2: Rsafe 0x00
0x08 Master Data set 1 Vnet Vrtc Vref 0x00
0x09 Master Data set 2 VKL15 VKL30 Temp. MASTER 0x00
0x0A Charging: counter high Ah charge: counter high Ah 0x00 0x00 0x00
0x0B Charging: counter low mAms charge: counter low mAms 0x00 0x00 0x00
0x0C Decharging: counter high Ah discharge: counter high Ah 0x00 0x00 0x00
0x0D Decharging: counter low mAms discharge: counter low mAms 0x00 0x00 0x00
0x0E Charging: counter high kWh charge: counter high kWh 0x00 0x00 0x00
0x0F Charging: counter low Wms charge: counter low Wms 0x00 0x00 0x00
0x10 Decharging: counter high kWh discharge: counter high kWh 0x00 0x00 0x00
0x11 Decharging: counter low Wms discharge: counter low Wms 0x00 0x00 0x00
0x12 DoD and SoC DoD absolut SoC relativ 0x00
0x13 total time in state Charging charging time integer rest 0x00
0x14 total time in state Decharging discharging time integer rest 0x00
0x15 total time in state zero-current Nocurrent time rest 0x00
0x16 system time dd:mm:yyyy hh.mm.ss day month year hour minute second 0x00
0x17 total number of KiloVAC OC-Shutdown Errors Anz. OC SD-Error 0x00 0x00 0x00 0x00 0x00
0x18 UCell avg/min/max of Battery Uaverage Umin Umax 0x00
0x19 Infos of battery structure #Slaves cell/slave #cells #temp #Rsav 0x00 0x00
0x20 request software version Major Minor Sub-min day month year 0x00
0x21 request DataSpaceNō and Gen-Appl.-ID # DataSpace General Application ID 0x00
0x31 IBatt and SoC, like DATA 0x01 I-Batt relativer SoC 0x00
0x32 UBatt and SoC, like DATA 0x02 U-Batt relativer SoC 0x00
0x33 Soc, like DATA 0x03 relativer SoC 0x00 0x00 0x00 0x00 0x00
0x34 Slave temperatures, like DATA 0x04 avar temp in batt min temp in batt max temp in batt 0x00
0x35 Master temperature, like DATA 0x05 Temp MASTER 0x00 0x00 0x00 0x00 0x00
0x36 Error/Warning, like DATA 0x06 ShutDown flags error flags warning flags add info
0x37 Short Info 1, like DATA 0x07 UBATT [0,01V] IBATT [0,01A] Tavarage SoC UDIFF
0x38 power prognosis charging, like DATA 0x08 IPROG CHARGE Power Prog. Charging 0x00
0x39 power prognosis decharging, like DATA 0x09 IPROG DECHARGE Power Prog. Decharging 0x00
0x3A Short Info 2 , like DATA 0x0A UBATT [0,1V] IBATT [0,1A] Tavarage SoC UDIFF
0x3B request of miscellaneous states, like DATA 0x3B Stat.B.1 Stat.B.2 0x00 0x00 0x00 0x00 add info
0x40 request of current ADS-RT Table 0x40 TAB [0] TAB [1] TAB [2] TAB [3] TAB [4] TAB [5]
0x41 --- unused --
0x42 User-time in mode Charging charging time integer rest 0x00
0x43 User-time in mode Decharging discharging time integer rest 0x00
0x44 Insulation resistance Z-Bits resistance [kΩ] 0x00 0x00 0x00 0x00

Ref.: IR14488E 27.10.2016 Page 75/92


Software Manual
BMS Master 4 / 4.5.5

4.6.3. WAKEUP FRAME

WakeUp Frame 0x010 RX to be sent every 5ms until answer


Length Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7

1 Actual valus of choice 1 Cmd

The WakeUp frame activates or deactivates the Master.

Command Command
0x01 Wake Up BMS
0x02 Shut down the BMS (Sleep mode)
0x03 Shut down the BMS (Sleep mode on and balancing off)
Effective until next RTC-WakeUp in about 10 min)
0x04 CAN WatchDog Trigger
0x05 CAN WatchDog Trigger mit “switch-off-omitted” (suppression of relay switch off)

Acknowledge:

WakeUp Frame 0x011 TX affirmation of command


Length Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7

1 Actual valus of choice 1 Cmd

This frame shows all users the state of the BMS.

Command Acknowledge
0x01 BMS awoken (Wake Up BMS)
0x02 Sleep mode on (Shut down the BMS)
0x03 Sleep mode on and balancing off (hut down the BMS)

Ref.: IR14488E 27.10.2016 Page 76/92


Software Manual
BMS Master 4 / 4.5.5

4.6.4. DATA FRAME

This Data frame (RX) performs two tasks:

1. request of values e.g. IBATT or temperatures Length: ≥1 Byte

2. reset control and all SD-error flags, and enable current referenced extension of the
cell voltage range to allow extended battery access (EBA) Length: ≥3 Byte

Data Frame 0x100 RX request


Length Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7

1 Actual valus of choice 1, 3 or 8 Sub-ID 0x55 0xAA

Sub-ID request for: Byte 0 Byte 1 Byte 2 command


0x01 IBatt and SoC Sub-ID
0x02 UBatt and SoC 0x06 0x55 0xAA Reset SD-Error, Extended Battery Access
0x03 SoC 0x07 0x55 0xAA Abandonment of an active ShutDowns
0x04 temperaturen of Slave testpoints
0x05 Master temperature
0x06 Error/Warning
0x07 Short Info 1
0x08 power prognosis Charging
0x09 power prognosis Decharging
0x0A Short Info 2
0x0B request of miscellaneous states

The BMS answers hereon with the Data frame (TX).

Data Frame 0x101 TX response


Length Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7

1 Actual valus of choice 8 Sub-ID value(1)….value(n)

Dependent on the request there are different formats therefore its essential to make sure
by means of the Sub-ID in Byte 0 of kind, order and format of the received data.

Byte 0 Response on requested Data Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7
Sub-ID
0x01 IBatt and SoC IBATT relative SoC 0x00
0x02 UBatt and SoC UBATT relative SoC 0x00
0x03 SoC relative SoC 0x00 0x00 0x00 0x00 0x00
0x04 temperaturen of Slave testpoints avar temp in batt min temp in batt max temp in batt 0x00
0x05 Master temperature temp of Master 0x00 0x00 0x00 0x00 0x00
0x06 Error/Warning ShutDown flags error flags warning flags add info
0x07 Short Info 1 UBATT [0,01V] IBATT [0,01A] Tavarage SoC UDIFF
0x08 power prognosis Charging IPROG CHARGE Power Prog. Charging 0x00
0x09 power prognosis Decharging IPROG DECHARGE Power Prog. Decharging 0x00
0x0A Short Info 2 UBATT [0,1V] IBATT [0,1A] Tavarage SoC UDIFF
0x0B request of miscellaneous states Stat.B.1 Stat.B.2 0x00 0x00 0x00 0x00 add info

4.6.5. DIAGNOSTIC FRAME

Ref.: IR14488E 27.10.2016 Page 77/92


Software Manual
BMS Master 4 / 4.5.5

The Diagnostic frame (RX) requests for data of the Master, rests counters, sets data, time
and ADS (-RT) items.

Diagnosis Frame 0x102 RX request


Length Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7

1 Actual valus of choice 1, 2 oder 8 Sub-ID

one-byte requests:

Sub-ID request for: Sub-ID request for:


0x01 UCells 01...03 0x17: total number of KiloVAC OC-Shutdown Errors
0x02 UCells 04...06 0x18 UCell avg/min/max of Battery
0x03 UCells 07...09 0x19 Infos of battery structure
0x04 UCells 10...11 0x20 request software version
0x05 Slave 1: Temp 1 and 2 as well as Rsafe 0x21 request DataSpaceNō and Gen-Appl.-ID
0x06 Slave 2: Temp 1 and 2 as well as Rsafe 0x31 IBatt and SoC, like DATA 0x01
0x07 0x32 UBatt and SoC, like DATA 0x02
0x08 Master Data set 1 0x33 Soc, like DATA 0x03
0x09 Master Data set 2 0x34 Slave temperatures, like DATA 0x04
0x0A Charging: counter high Ah 0x35 Master temperature, like DATA 0x05
0x0B Charging: counter low mAms 0x36 Error/Warning, like DATA 0x06
0x0C Decharging: counter high Ah 0x37 Short Info 1, like DATA 0x07
0x0D Decharging: counter low mAms 0x38 power prognosis Charging, like DATA 0x08
0x0E Charging: counter high kWh 0x39 power prognosis decharging, like DATA 0x09
0x0F Charging: counter low Wms 0x3A Short Info 2 (ab 5.3.09), like DATA 0x0A
0x10 Decharging: counter high kWh 0x3B request of miscellaneous states, like DATA 0x0B
0x11 Decharging: counter low Wms 0x40 request of current ADS-RT Table
0x12 DoD and SoC 0x41 --- unused --
0x13 total time in state Charging 0x42 User-time in mode Charging
0x14 total time in state Decharging 0x43 User-time in mode Decharging
0x15 total time in state zero-current 0x44 Insulation resistance
0x16 system time dd:mm:yyyy hh.mm.ss

two-byte requests (object is to be specified in the second byte):

Byte 0 Byte1 request for:


Sub-ID
0x1A number of cell Voltage of cell x
0x1B number of temperature sensor Temperature of temperature sensor x
0x1C number of Rsafe Value of RSafe of R-Sensor x
0x1D number des Slave Cell voltage min/max/avg of slave x
0x1E number des Slave Temp. min/max/avg of slave x
0x22 number of class request of class value of histogram für U
0x23 number of class request of class value of histogram für I
0x24 number of class request of class value of histogram für T
0x25 number of class request of class value of histogram für UDiff

Ref.: IR14488E 27.10.2016 Page 78/92


Software Manual
BMS Master 4 / 4.5.5

Two-byte reset commands:

Byte 0 Byte1 command: reset


Sub-ID
0x0A 0x55 Reset of summation charge/discharge: Ah,Wh, SoC=50%
0x13 0x55 Reset of all time summation and histograms
0x17 0x55 Reset of over currend shutdown counter (KiloVAC OCSD)

8-byte set commands:

Byte 0 command: set Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7
Sub-ID
0x16 Setting of date and time day month year hour minute second 0x55
0x40 Setting of Runtime-ADS Table (0x01...0x44) TAB [0] TAB [1 TAB [2] TAB [3] TAB [4] TAB [5] TAB [6]

Example 1:

The BMS shall send automatically per cycle Diagnosis data of iBatt (0x31), UBatt (0x32) and
temperature (0x34):

Send ID DIAG-Frame to BMS : len=8, datas=0x40, 0x31, 0x32, 0x34, 0, 0, 0, 0


BMS answers on ID DIAG+1 : len=8, datas=0x40, 0x31, 0x32, 0x34, 0, 0, 0, 0

Example 2:

Request of the actual items of ADS-RT:

Send ID DIAG-Frame to BMS : len≥1, datas=0x40


BMS answers on ID DIAG+1 : len=8, datas=0x40, 0x31, 0x32, 0x34, 0, 0, 0, 0

Example 3:

Delete the table, no more automatically transmission desired:

Send ID DIAG-Frame to BMS : len=8, datas=0x40, 0, 0, 0, 0, 0, 0, 0


BMS answers on ID DIAG+1 : len=8, datas=0x40, 0, 0, 0, 0, 0, 0, 0

Ref.: IR14488E 27.10.2016 Page 79/92


Software Manual
BMS Master 4 / 4.5.5

The BMS answers one time to required DIAG data:

Diagnosis Frame 0x103 TX response


Length Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7

1 Actual valus of choice 8 Sub-ID value(1)….value(n)

Byte 0 Response on requested Data Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7
Sub-ID
0x01 UCells 01...03 UCell 03 UCell 02 UCell 01
0x02 UCells 04...06 UCell 06 UCell 05 UCell 04
0x03 UCells 07...09 UCell 09 UCell 08 UCell 07
0x04 UCells 10...11 0x00 0x00 UCell 11 UCell 10
0x05 Slave 1: Temp 1 and 2 as well as Rsafe S1: Temp 1 S1: Temp 2 S1: Rsafe 0x00
0x06 Slave 2: Temp 1 and 2 as well as Rsafe S2: Temp 1 S2: Temp 2 S2: Rsafe 0x00
0x08 Master Data set 1 Vnet Vrtc Vref 0x00
0x09 Master Data set 2 VKL15 VKL30 Temp. MASTER 0x00
0x0A Charging: counter high Ah charge: counter high Ah 0x00 0x00 0x00
0x0B Charging: counter low mAms charge: counter low mAms 0x00 0x00 0x00
0x0C Decharging: counter high Ah discharge: counter high Ah 0x00 0x00 0x00
0x0D Decharging: counter low mAms discharge: counter low mAms 0x00 0x00 0x00
0x0E Charging: counter high kWh charge: counter high kWh 0x00 0x00 0x00
0x0F Charging: counter low Wms charge: counter low Wms 0x00 0x00 0x00
0x10 Decharging: counter high kWh discharge: counter high kWh 0x00 0x00 0x00
0x11 Decharging: counter low Wms discharge: counter low Wms 0x00 0x00 0x00
0x12 DoD and SoC DoD absolut SoC relativ 0x00
0x13 total time in state Charging charging time integer rest 0x00
0x14 total time in state Decharging discharging time integer rest 0x00
0x15 total time in state zero-current Nocurrent time rest 0x00
0x16 system time dd:mm:yyyy hh.mm.ss day month year hour minute second 0x00
0x17 total number of KiloVAC OC-Shutdown Errors Anz. OC SD-Error 0x00 0x00 0x00 0x00 0x00
0x18 UCell avg/min/max of Battery Uaverage Umin Umax 0x00
0x19 Infos of battery structure #Slaves cell/slave #cells #temp #Rsav 0x00 0x00
0x20 request software version Major Minor Sub-min day month year 0x00
0x21 request DataSpaceNō and Gen-Appl.-ID # DataSpace General Application ID 0x00
0x22 Value of class Nō x of U-Histogram #Class total of time for hits in this class in sec margin of class
0x23 Value of class Nō x of I-Histogram #Class total of time for hits in this class in sec margin of class
0x24 Value of class Nō x of T-Histogram #Class total of time for hits in this class in sec margin of class
0x25 Value of class Nō x of Udiff-Histogram #Class total of time for hits in this class in sec margin of class
0x31 IBatt and SoC, like DATA 0x01 I-Batt relativer SoC 0x00
0x32 UBatt and SoC, like DATA 0x02 U-Batt relativer SoC 0x00
0x33 Soc, like DATA 0x03 relativer SoC 0x00 0x00 0x00 0x00 0x00
0x34 Slave temperatures, like DATA 0x04 avar temp in batt min temp in batt max temp in batt 0x00
0x35 Master temperature, like DATA 0x05 Temp MASTER 0x00 0x00 0x00 0x00 0x00
0x36 Error/Warning, like DATA 0x06 ShutDown flags error flags warning flags add info
0x37 Short Info 1, like DATA 0x07 UBATT [0,01V] IBATT [0,01A] Tavarage SoC UDIFF
0x38 power prognosis charging, like DATA 0x08 IPROG CHARGE Power Prog. Charging 0x00
0x39 power prognosis decharging, like DATA 0x09 IPROG DECHARGE Power Prog. Decharging 0x00
0x3A Short Info 2 , like DATA 0x0A UBATT [0,1V] IBATT [0,1A] Tavarage SoC UDIFF
0x3B request of miscellaneous states, like DATA 0x3B Stat.B.1 Stat.B.2 0x00 0x00 0x00 0x00 add info
0x3C Prognosis for power - Charging I progn. charging power prognosis charging 0x00
0x3D Prognosis for power - Decharging I progn. discharg. power prognosis discharging 0x00
0x40 request of current ADS-RT Table 0x40 TAB [0] TAB [1] TAB [2] TAB [3] TAB [4] TAB [5]
0x41 --- unused --
0x42 User-time in mode Charging charging time integer rest 0x00
0x43 User-time in mode Decharging discharging time integer rest 0x00
0x44 Insulation resistance Z-Bits resistance [kΩ] 0x00 0x00 0x00 0x00

Ref.: IR14488E 27.10.2016 Page 80/92


Software Manual
BMS Master 4 / 4.5.5

4.6.6. DATA/DIAG SUBFRAME WITH ADITTIONAL STATIC INFORMATION

An additional status information is available via the CAN-bus in the DATA and DIAG frame:

Data Frame 0x101 TX response


Length Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7

1 miscellaneous states 8 0x0B Stat 1 Stat 2 -- -- -- -- Stat-Aux

Diagnosis Frame 0x103 TX response


Length Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7

1 miscellaneous states 8 0x3B Stat 1 Stat 2 -- -- -- -- Stat-Aux

Stat1 – Status Information Nr. 1 , bitcoded:

Bit Explanation: Stat 1 – Status Information No 1, bitcoded


0 1 = „CAN WDOG RESET with SwitchOff omitted“ has been received
1 1 = internal test (SD-Delay active)
2 1 = battery has been switched on (KV+ and KV-)
3 1 = „CAN WDOG RESET“ has been received
4 -- unused --
5 1 = there is a warning message in the system
6 1 = there is an error message in the system
7 1 = there is a ShutDown-error message in the system

Stat2 – Status Information Nr. 2 , bitcoded:

Bit Explanation: Stat 2 – Status Information No 2, bitcoded


0 1 = error counter U active, count > 0, voltage error
1 1 = error counter I active, count > 0, current error
2 1 = error counter T active, count > 0, temperature error
3 1 = error counter R active, count > 0, Rsafe problem
4 1 = error counter UD active, count > 0, Ucell difference error
5 1 = error counter SC active, count > 0, Slave communication error
6 1 = error counter CW active, count > 0, CAN WDOG breakdown
7 1 = SD-delay-timer is active, count > 0, delay time is running

Stat-Aux – Status Information auxiliary, bitcoded: This byte is identical to the already
implemented additional byte in SubFrame DATA 0x06 / DIAg 0x36

Bit Explanation: Stat 2 – Status Information No 2, bitcoded


0 1 = KV + is switched on
1 1 = KV precharge is switched on
2 1 = KV - is switched on
3 1 = KV Main is switched on
4 1 = Fan 1 is switched on
5 1 = Fan 2 is switched on
6 1 = Fan 3 is switched on
7 1 = Fan 4 is switched on

Ref.: IR14488E 27.10.2016 Page 81/92


Software Manual
BMS Master 4 / 4.5.5

4.6.7. PRECHARGE FRAME

In the “PreCharge Phase” (see above) the battery is connected to load or charge over a
resistor to reduce the inrush current.
The precharge contactor makes this connection and when the voltage has risen to a
defined value the resistor will be bridged by contactor+ and the precharge contactor
opens. The value of the precharge voltage has to be transmitted by the host via CAN.

PreChargeV 0x106 RX Information for BMS: voltage of external dc – voltage - link


Length Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7

1 Precharge Voltage [10mV] ≥2 voltage [U16]

4.6.8. CAN ESS2

Communication channel ESS2 may be used to control all cell voltages. For this parameter
„CAN-ESS2“ must contain a valid (non-zero) CAN-Frame-ID.
The battery type has no meaning as the amount of frames corresponds with parameter
„Number of Cells“.

0x0317 CAN-ESS2 deactivated when 0x00


With „CAN-ESS2“ non-zero, the BMS sends the value of all cell voltages cyclically every
second with this CAN-ID. The first CAN-Frame contains SUB-ID 0x01 and the values of cell
1 to 3, the next CAN-Frame contains SUB-ID 0x02 and cell voltages 4 to 6 and so on.

ESS2 (0x0317: CAN-ESS 2) TX Battery Data: All Cell Voltage Values (3.5 each frame)
Length Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7
MSB

MSB

MSB

LSB

n Voltage of cell # 8 Frame n #=3•n -2 # = 3 • n –1 #=3•n Cell Balanced

The values are transmitted as Millivolts with 16 bit resolution in 2 bytes (LittleEndian).
Byte 7 shows the cell’s balance state.:
 Bit 0: Cell 3*n - 2 : HIGH = Balancing active
 Bit 1: Cell 3*n - 1 : HIGH = Balancing active
 Bit 2: Cell 3*n : HIGH = Balancing active

Ref.: IR14488E 27.10.2016 Page 82/92


Software Manual
BMS Master 4 / 4.5.5

4.7 CAN WATCH DOG MODE:

0x013F CAN WatchDog mode ? 1 yes, enabled

The system always starts with an error (Watchdog Error).


If the error is not longer active the still lasting shut-down error has to be reset with the
Reset-Error CAN-Frame to switch on again.
This starts the sequence of the contactors.
-1: At least once per BMS Cycle (1000ms) the host has to transmit special information to
the BMS via CAN-bus, otherwise the BMS switches off the contactors.
To show this condition Bit 14 in the frames SHUTDOWN-ERR / ACTUAL-ERR is used as a
signal by BMS.
-2: If the BMS gets started (same of with ”Start”, ”PlugIn” or CAN-WAKEUP) the
Watchdog-Bit (SHUTDOWN-ERR/ACTUAL-ERR) always is set. Therefore all functionality is
given but the contactors are not switched because of the simulated shut-down error.
-3: The host now should start the periodical transmission of the “CAN-WatchDog”-frame.
The periodical transmission may have started without problems before the switch on.
The error situation now is:
Err/Warn-frame: 0 X 4000 0000 0000 ...
! SD-Err: ERR : CAN-WatchDog-Error
! ActErr: ERR : non, cause of the periodical “CAN-WatchDog”-frame by host.

-4: As there is no "Actual Error", the contactors may be activated with the standard BMS
command: (Id=0xXXX [DATA-FRAME], SubId=0x06, length=3, 0x06, 0x55, 0xAA ).
-5: To switch off the contactors just stop the periodical “CAN-WatchDog”-frame by host.
As mentioned above the BMS will react within 1000ms...2000ms (1 to 2 cycles). If
otherwise the host synchronyses the messages with the BMS-ADS messages a reaction
earlier than 1000ms is possible.

Conclusion: The BMS switches on the contactors only when there is no actual error AND
the host transmits the error-reset information. The benefit of this procedure is that still
the BMS may be activated alternatively with ”Start”, ”PlugIn” or CAN-WakeUp.

Ref.: IR14488E 27.10.2016 Page 83/92


Software Manual
BMS Master 4 / 4.5.5

5. ACTUAL PARAMETER-LIST

All readings are examples and will vary in particular applications. The parameter are
arranged in four levels:

Level 1: parameter changing without danger: CAN_ID & Warning & Prognosis

Level 2: for clients of I+ME: safety relevant, only for informed specialists

Level 3: for informed professionals (do not modify without support of I+ME Actia)

Level 4: not released parameters (to be modified only by I+ME Actia)

Ref.: IR14488E 27.10.2016 Page 84/92


Software Manual
BMS Master 4 / 4.5.5

------- SYSTEM DATA AddOn Version -----------------


FlatModel: 24S (10C) Cells: 240
----------------------------------------------------
PCM-ID Software Version: 1.1.2

Seite lvl BMS - System Data Parameter


3 0x0300 Version DataSpace xxx
4 0x0305 Battery Type xxx
4 0x0306 User Type xxx
68 2 0x0100 Cell Capacity 108000000 mAs = 30 Ah
3 0x0307 Config-Bits 0x0001 Datastring on
3 0x0134 General Application-ID 0
3 0x0345 Slaves Type 3
Fehler! 2 0x0346 Iso-Monitor Type 1 0 – none
Textmarke 1 – standard
nicht 4 – Bender 3204
definiert.
60 2 0x0301 Number of Slaves 8
60 2 0x0302 Number of Cells 56

68 2 0x0340 Use segmented BattModel 1


68 2 0x0303 Cells per Slaves 7
68 2 0x0341 Num. par. Strings p. Ba 1
68 2 0x0342 Num. ser. Moduls p.Str. 4
68 2 0x0343 Cells-L per Slave 0x00000077
68 2 0x0344 Cells-H per Slave 0x00000000

Seite lvl BMS - Voltage Parameter


36 2 0x0109 End-U-Min-Cell 2000 mV
36 2 0x0105 Err-U-Min-Cell 2750 mV
36 2 0x0107 Warn-U-Min-Cell 2850 mV
36 2 0x0108 Warn-U-Max-Cell 4100 mV
36 2 0x0106 Err-U-Max-Cell 4200 mV
36 2 0x010A End-U-Max-Cell 4500 mV

36 3 0x012D SD Errorcounter Limit U 1 n


36 2 0x012A UCErr exp.timer 10 enable
36 2 0x012B UCErr I Charge-Ofl 500 mA
36 2 0x012C UCErr I Discharge-Ufl 3000 mA
36 3 0x0184 Ri-0 charge 0 x 0.01 mOhm
36 3 0x0185 Ri-0 charge offset 0 x 0.01 mOhm
36 4 0x0186 use Ri-0-dyn charge 0 no
36 3 0x0187 Ri-0 discharge 0 x 0.01 mOhm
36 3 0x0188 Ri-0 discharge offset 0 x 0.01 mOhm
36 4 0x0189 use Ri-0-dyn discharge 0 no

Ref.: IR14488E 27.10.2016 Page 85/92


Software Manual
BMS Master 4 / 4.5.5

29 lvl BMS - Current Parameter


29 2 0x0118 IPeak-Max-Charge_Im 100000 mA
29 2 0x011A IPeak-Max-Charge 40000 mA
29 2 0x0114 Err-I-Max-Charge 40000 mA
29 1 0x0116 Warn-I-Max-Charge 40000 mA
29 2 0x0119 IPeak-Max-Discharge_Im 200000 mA
29 2 0x011B IPeak-Max-Discharg 150000 mA
29 2 0x0115 Err-I-Max-Discharge 180000 mA
29 1 0x0117 Warn-I-Max-Discharge 150000 mA
29 2 0x011C IPeak-40ms_N 250 n
29 3 0x012E SD Errorcounter Limit I 1 n
29 3 0x0304 Sensor Type 1 small sensor
29 3 0x0132 Use only Hi-Curr-Meas. 1 yes
29 2 0x0309 Current Factor 3000

Seite lvl BMS - Charger Parameter


3-level charging
27 2 0x01F0: Charge Mode 1 1 – 3 lev
2 – 7 pt
20 2 0x0170 CCtrl IMainMaxCurrent 12000 mA
20 2 0x0174 CCtrl UChg low inhibit 1000 mV
20 2 0x0171 CCtrl IChg Umin < UMidB 1000 mA
20 2 0x0175 CCtrl UChg Mid_Begin 2800 mV
20 2 0x0172 CCtrl IChg Midrange 12500 mA
20 2 0x0176 CCtrl UChg Mid_End 4100 mV
20 2 0x0173 CCtrl IChg Umax > UMidE 1000 mA
20 2 0x0177 CCtrl UChg high suspend 4150 mV
20 2 0x0178 CCtrl UChg high resume 4110 mV
2 0x017D CCtrl ext. CAN-Charger? 1 yes
2 0x017E Typ-Charger 1 0 CAN NLG5,
1 generic
2 0x017F ChgSignal Pre/Post-Time 0x0000 disable

7-point-charging
27 2 0x01F0 Charge Mode 2 1 – 3 lev
2 – 7 pt
27 2 0x01F1 chg P1 [U1,I1] U1 1000 mV
27 2 0x01F9 chg P1 [U1,I1] I1 1500 mA
27 2 0x01F2 chg P2 [U2,I1] U2 2000 mV
27 2 0x01FA chg P2 [U2,I2] I2 2000 mA
27 2 0x01F3 chg P3 [U3,Imax] U3 2200 mV
27 2 0x01F4 chg P4 [U4,Imax] U4 3450 mV
27 2 0x01FB chg P3/4[U3/4,Imax]Imax 4000 mA
27 2 0x01F5 chg P5 [U5,I5] U5 350 mV
27 2 0x01FC chg P5 [U5,I5] I5 500 mA
27 2 0x01F6 chg P6 [U6,I6] U6 300 mV
27 2 0x01FD chg P6 [U6,I6] I6 60 mA
27 2 0x01F7 chg P7 [U7,I7] U7 300 mV
27 2 0x01FE chg P7 [U7,I7] I7 0 mA
27 2 0x01F8 chg Hysterese U8 350 mV
27 2 0x01FF chg Plugin Imax 10000 mA

Ref.: IR14488E 27.10.2016 Page 86/92


Software Manual
BMS Master 4 / 4.5.5

Seite lvl BMS - Miscellaneous Parameter


44 3 0x0150 Delayed Shutdown Mode 0x0C SD-Err abortmode
45 3 0x0151 Delayed Shutdown Time 3 s
45 3 0x0152 Delayed Shdn Presettime 3 s
1 0x0153 Usr-Tim-Chg Limit I > 0 mA
1 0x0154 Usr-Tim-Dchg Limit -I < 0 mA
14 4 0x0103 Min KL30 12000 mV
14 4 0x0104 KL15_on_prz 25 %
29 1 0x011D Warn KiloVAC OverCur-SD 5 n
29 3 0x011E Err KiloVAC OverCur-SD 0 n
15 2 0x0121 IBat-Ignore 200 mA
14 3 0x0124 Cycle-Time TU 1000 ms
43 3 0x0138 SD Errorcounter Limit S 1 n
18 3 0x0156 Simulate KV-Sense Lines 1 yes
34 3 0x0181 IMD Startup ignore time 0x7F endless

Seite lvl BMS – Precharge Parameter


15 3 0x0160 Prechg KV Sense Time 200 ms
15 3 0x0161 Prechg KV PrechargeTime 1000 ms
60 3 0x0162 Prechg Cooling Start at 0 ms
60 3 0x0163 Prechg Cooling Stop at 0 ms
60 3 0x0164 Prechg Cooling Fan-Port 0 n
15 3 0x0165 AddOn PChg Cooling Time 0 s
15 3 0x0166 AddOn PChg Volt.-Thrsh. 90 %
15 3 0x0167 AddOn PChg EndCurr I <= 500 mA

Seite lvl BMS - Cell Balancing Parameter


14,Fe 3 0x0101 Rtc-Wakeup Short 10 min
hler!
Textmar
ke nicht
definiert.
14,Fe 3 0x0102 Rtc-Wakeup Long 240 min
hler!
Textmar
ke nicht
definiert.
Fehler 2 0x0127 Dislog-DeltaUc 10 mV
!
Textmar
ke nicht
definiert.
Fehler 2 0x0128 Dislog-MinUc 3600 mV
!
Textmar
ke nicht
definiert.
Fehler 3 0x0129 Dislog-IdleCnt 10 n
!
Textmar
ke nicht

Ref.: IR14488E 27.10.2016 Page 87/92


Software Manual
BMS Master 4 / 4.5.5

definiert.
Fehler 2 0x0133 Dislog Activ if IBat >= -4000 mA
!
Textmar
ke nicht
definiert.
,68
2 0x0135 Max UCell-Diff Warning 100 mV
2 0x0136 Max UCell-Diff Error 200 mV
43 3 0x0137 SD Errorcounter Limit D 1 n

Ref.: IR14488E 27.10.2016 Page 88/92


Software Manual
BMS Master 4 / 4.5.5

Seite BMS - CAN Communication Parameter


69 1 0x030A CAN Baudrate Btr0-Btr1 0xC049 500 kbps
69 1 0x030B CAN-Id Tx BCSi ErrWrn 0x000 disable
69 1 0x030C CAN-Id Rx BCSi Wakeup 0x282
69 1 0x0324 CAN-Id Tx BCSi Wakeup 0x283
69 1 0x030D CAN-Id Rx BCSi Data 0x284
69 1 0x0325 CAN-Id Tx BCSi Data 0x285
69 1 0x030E CAN-Id Rx BCSi Diag 0x286
69 1 0x0326 CAN-Id Tx BCSi Diag 0x287
69 1 0x030F CAN-Id Rx BCSi PCM 0x288
69 1 0x0327 CAN-Id Tx BCSi PCM 0x289
1 0x0310 CAN-Id Rx NLG5 ST 0x500 0 = disable
1 0x0311 CAN-Id Rx NLG5 ACT_I 0x501 0 = disable
1 0x0312 CAN-Id Rx NLG5 ACT_II 0x502 0 = disable
1 0x0313 CAN-Id Rx NLG5 TEMP 0x503 0 = disable
1 0x0314 CAN-Id Rx NLG5 ERR 0x504 0 = disable
1 0x0315 CAN-Id Tx NLG5 CTL 0x508 0 = disable
1 0x0316 CAN-Id Tx ESS 1 0x200 0 = disable
1 0x0317 CAN-Id Tx ESS 2 0x210 0 = disable
1 0x0318 CAN-Id Tx ESS 3 0x220 0 = disable
1 0x0319 CAN-Id Tx ESS 4 0x230 0 = disable
2 0x0320 CAN-Id Rx Cabinetemp. 0 0 = disable
2 0x0321 CAN-Id Rx PreChg Drive 0 0 = disable
1 0x0322 CAN-Id Rx PreChg PlugIn 0 0 = disable
1 0x032A CAN-Id OPUSLP10 Display 0x640 0 = disable
3 0x013E SD Errorcnt Limit CanWD 1 n
1 0x01E0 AutoDiagSend ADS_tab[0] 0x00 -free-
1 0x01E1 AutoDiagSend ADS_tab[1] 0x00 -free-
1 0x01E2 AutoDiagSend ADS_tab[2] 0x00 -free-
1 0x01E3 AutoDiagSend ADS_tab[3] 0x00 -free-
1 0x01E4 AutoDiagSend ADS_tab[4] 0x00 -free-
1 0x01E5 AutoDiagSend ADS_tab[5] 0x00 -free-
1 0x01E6 AutoDiagSend ADS_tab[6] 0x00 -free-
1 0x01E7 AutoDiagSend ADS_tab[7] 0x00 -free-
1 0x0323 CAN-Id Tx BCSi ADS 0 0 = disable
1 0x0146 ADS / ADS-RT method ? 1 +TxNumber
3 0x013F CAN WatchDog Mode ? 0 0 = disable

Ref.: IR14488E 27.10.2016 Page 89/92


Software Manual
BMS Master 4 / 4.5.5

Seite BMS - Prediction Parameter


57 1 0x023A Prediction method? 1 yes - no
57 1 0x023B Use SoC for prediction? 0 Yes (1 – No)
57 1 0x0240 Pred. U-Max cellvoltage 4150 mV
57 1 0x0241 Pred. I-Max charge 90000 mA
57 1 0x0242 Pred. Ri charge 500 x 0.01 mOhm
57 1 0x0243 Pred. Ri charge offset 0 x 0.01 mOhm
57 1 0x0244 Pred. Ri charge Ibat-0 100 x 0.01 mOhm
57 1 0x0245 Pred. Ri chgOffs Ibat-0 0 x 0.01 mOhm
57 4 0x0246 Pred. use Ri-dyn chg? 0 no
57 1 0x0247 Pred. ETemp-Min charge 20 x 0.1 Cel
57 1 0x0248 Pred. WTemp_Min charge 100 x 0.1 Cel
57 1 0x0249 Pred. WTemp_Max charge 350 x 0.1 Cel
57 1 0x024A Pred. ETemp-Max charge 380
57 1 0x0250 Pred. U-Min cellvoltage 2900 mV
57 1 0x0251 Pred. I-Max discharge 180000 mA
57 1 0x0252 Pred. Ri discharge 500 x 0.01 mOhm
57 1 0x0253 Pred. Ri dchg offset 0 x 0.01 mOhm
57 1 0x0254 Pred. Ri dchg Ibat-0 100 x 0.01 mOhm
57 1 0x0255 Pred. Ri dchgOff Ibat-0 0 x 0.01 mOhm
57 4 0x0256 Pred. use Ri-dyn dchg ? 0 no
57 1 0x0257 Pred. ETemp-Min dischg -180 x 0.1 Cel
57 1 0x0258 Pred. WTemp_Min dischg -50 x 0.1 Cel
57 1 0x0259 Pred. WTemp_Max dischg 450 x 0.1 Cel
57 1 0x025A Pred. ETemp-Max dischg 530 x 0.1 Cel

Seite BMS - Temperature Parameter


39 3 0x0139 Simulate Slave Ntc 0 yes - no
41 3 0x013A Simulate Slave RSafe 1 yes, 100 Ohm
39 2 0x010C Err-Temp-Min-Charge 0 x 0,1 °C
39 1 0x0110 Warn-Temp_Min_Charge 50 x 0,1 °C
39 1 0x0111 Warn-Temp_Max_Charge 350 x 0,1 °C
39 2 0x010D Err-Temp-Max-Charge 400 x 0,1 °C
39 2 0x010E Err-Temp-Min-Discharge -200 x 0,1 °C
39 1 0x0112 Warn-Temp_Min_Discharge 0 x 0,1 °C
39 1 0x0113 Warn-Temp_Max_Discharge 450 x 0,1 °C
39 2 0x010F Err-Temp-Max-Discharge 550 x 0,1 °C
41 2 0x011F Err-RSafe-Slv-Min 20 Ohm
39 2 0x0120 Err-RSafe-Slv-Max 200 Ohm
43 3 0x012F SD Errorcounter Limit T 1 n
43 3 0x0130 SD Errorcounter Limit R 1 n
60 2 0x0168 Fan1 C/H Start at Temp. 400 x 0,1 °C
60 2 0x0169 Fan1 C/H Stopp at Temp. 350 x 0,1 °C
60 2 0x016A Fan2 C/H Start at Temp. 0 disable
60 2 0x016B Fan2 C/H Stopp at Temp. 0
60 2 0x016C Fan3 C/H Start at Temp. 0 disable
60 2 0x016D Fan3 C/H Stopp at Temp. 0
60 2 0x016E Fan4 C/H Start at Temp. 0 disable
60 2 0x016F Fan4 C/H Stopp at Temp. 0
60 2 0x025B Temp Sensor Typ 0 0: R25: 30 kOhm
1: R25: 10 kOhm

Ref.: IR14488E 27.10.2016 Page 90/92


Software Manual
BMS Master 4 / 4.5.5

Seite BMS - Input/Output Parameter


41 2 0x013C Inp. SecSwitchPolarity 1 invers
41 2 0x013D Inp. SecSwi.->ShDown KV 1 yes

Seite BMS - State of Charge Parameter


Fehler! 1 0x0180 SoC-OCV Method number 1 n
Textmarke nicht
definiert.,Fehler!
Textmarke nicht
definiert.
Fehler! 1 0x0200 soc_tab[ 0] 0% 3177 mV
Textmarke nicht
definiert.
Fehler! 1 0x0201 soc_tab[ 1] 10% 3420 mV
Textmarke nicht
definiert.
Fehler! 1 0x0202 soc_tab[ 2] 20% 3523 mV
Textmarke nicht
definiert.
Fehler! 1 0x0203 soc_tab[ 3] 30% 3596 mV
Textmarke nicht
definiert.
Fehler! 1 0x0204 soc_tab[ 4] 40% 3669 mV
Textmarke nicht
definiert.
Fehler! 1 0x0205 soc_tab[ 5] 50% 3742 mV
Textmarke nicht
definiert.
Fehler! 1 0x0206 soc_tab[ 6] 60% 3815 mV
Textmarke nicht
definiert.
Fehler! 1 0x0207 soc_tab[ 7] 70% 3888 mV
Textmarke nicht
definiert.
Fehler! 1 0x0208 soc_tab[ 8] 80% 3961 mV
Textmarke nicht
definiert.
Fehler! 1 0x0209 soc_tab[ 9] 90% 4034 mV
Textmarke nicht
definiert.
Fehler! 1 0x020A soc_tab[10]100% 4107 mV
Textmarke nicht
definiert.
Fehler! 1 0x020C SoC_OCV valid if SoC <= 0 disabled
Textmarke nicht
definiert.
Fehler! 1 0x020D SoC_OCV valid if SoC >= 0 disabled
Textmarke nicht
definiert.
Fehler! 2 0x0125 I-Bat0 4000 mA
Textmarke nicht
definiert.,Fehler!
Textmarke nicht
definiert.
Fehler! 2 0x0126 t-Bat0-min 600 sec
Textmarke nicht

Ref.: IR14488E 27.10.2016 Page 91/92


Software Manual
BMS Master 4 / 4.5.5

definiert.
Fehler! 1 0x0122 Warn-Soc-Ufl 200 x 0.1 %
Textmarke nicht
definiert.
Fehler! 1 0x0123 Warn-Soc-Ofl 800 x 0.1 %
Textmarke nicht
definiert.

Ref.: IR14488E 27.10.2016 Page 92/92

You might also like