BMS Configuration Manual v2
BMS Configuration Manual v2
BMS Configuration Manual v2
x
From Documentation
Contents
1 Introduction to configuration
2 Configuration management
3 General configuration
4 Cells configuration
5 Battery Pack configuration
6 Charger configuration
7 SoC configuration
8 Pins Map configuration
9 CAN Devices configuration
10 Configuration by Tasks/Functions
10.1 Cell temperature calibration
10.2 Configuring the charger
Introduction to configuration
Once Emus BMS is installed, it must be configured to work properly. Configuration includes various types of
parameters from cells count, protection parameters to pins re-mapping.
All configuration parameters have a popup hint tool-tip text which appears when mouse is hovering above the
configuration parameter entry element.
Configuration parameters change can be done only in logged in state as described in configuration management
section below. When user is not logged in then all configuration parameters and buttons except Login.. are
disabled and grayed out and parameter entry is not possible.
When a parameter is changed its background turns yellow which means that parameter was edited but has not
been committed and saved to BMS yet. Committing the parameter is done when user deselects parameter entry
field. Once parameter is committed successfully the yellow background is removed. If for some reason the
parameter was not committed and it still shows yellow then select and deselect the entry field to try again.
NOTE!: When charger is connected and charging parameter configuration will be blocked, and yellow
background will not be removed.
Configuration management
Since version 1.6 configuration of BMS has new features were introduced enhancing usability and the security
of parameters.
The password can be set to protect the configuration of BMS from unauthorized change. By default on fresh
BMS Control Unit the password is not set and therefore no login is required. The user is always in logged in
state when password is not set. The user can set the password using Set Password... button and then BMS
Control Unit becomes password protected.
NOTE!: that password security has 10 minutes automatic logout period of the user if no configuration activities
were made. To enable configuration editing it you would need to log in again.
NOTE!: The login access is locked out after 3 sequential unsuccessful login attempts for 10 minutes. If 3
unsuccessful login attempts were made then user must wait 10 minutes before trying to login again.
The configuration of BMS can also be saved to file, loaded from file and reset to defaults. To perform these
operations the user must be logged in to BMS. The configuration management page and its buttons are described
below
Login... /
Logout
Login
or
logout
button.
When
user is
logged
out the
button
shows
Login...
pressing which shows password entry dialog. After entering correct password the button shows Logout
which indicates successful login. If the login failed the button stays Login.... To logout simply press this
button when it displays Logout
Set password
Sets the password of BMS Control Unit password. The user must be in logged in state to be able to set
new password. Password must be from 4 to 8 characters long. If empty password is left and confirmed
twice then this disables the password.
Save...
Opens save configuration to file dialog for entering file name to save to. After confirming the file name
two questions are asked if user wants to save password and initial SoC value into configuration file. If
they are selected then setting SoC and/or password commands are storred into configuration file.
CAUTION!: The password is stored in configuration file as plain text so use this option with care.
Load...
Opens load configuration file dialog for selecting file name to load. It automatically sets the configuration
parameters of BMS, sets SoC and/or password (if they were stored in the file) and resets the BMS to work
with newly loaded configuration.
Defaults...
If the user confirms to load default configuration then factory default settings are loaded to BMS and it is
reset.
NOTE!: The password is not cleared when loading default settings.
Reset BMS
Does what it says - resets BMS. This operation is sometimes needed when changing configuration
parameters requiring fresh BMS start to activate (for example enabling CAN interface).
General configuration
General parameters section allows to configure general parameters for BMS operation. One section describes the
timing parameters configuration, another is focused on setting operation of CAN bus, and the last one is for
distance parameter configuration. Parameters list are described below.
Enable CAN
If the application uses CAN interface then it must be enabled with this option.
NOTE!: A BMS reset is required for change to take effect.
Speed
Sets the bit rate from the selection of 50, 125, 250, 500, 800 and 1000 kbps
NOTE!: When using CAN charger please make sure that this speed matches to CAN charger's speed.
NOTE!: A BMS reset is required for change to take effect.
Periodic Data
Broadcast
Periodically broadcasts the special CAN messages of BMS operation parameters over CAN interface if
enabled. It uses the data transmission to display periods that are configured above.
Send to RS232/USB
Enables the transmission of received CAN messages to corresponding serial interface sentences "CN1..."
(see serial communication protocol description for exact format). This may be useful if a device connected
via serial interface would need to "see" and manage the CAN devices over serial interface.
CAUTION!: This function is not intended to be fully functional CAN/Serial converter because of BMS
CAN messages processing and serial interface speed limitations. It could be used when there are not many
messages on the CAN network.
CAN ID Base
CAN ID Base address which allows to set an arbitrary base address for periodic broadcast CAN messages
generated by BMS. This allows to use several BMSes on the same CAN bus or resolve the possible
addressing conflicts with other devices.
For extended 29 bit ID it represents upper 13 bits of ID. For example the default extended ID 6581 is
19B5h in hexadecimal and BMS broadcast the messages starting from 19B50000h and so on.
For basic 11 bit ID it this a base address number which must be added to the broadcasted messages IDs.
For example if this number is entered 800 then BMS will broadcast messages with standard 11 bit IDs
starting from 800.
Cells configuration
Emus BMS is designed to work with wide range of battery cells with operating voltages in between 2 and 5 V,
including LiPO, Li-Ion, LiFePO4 and others. Different cell types operate at different voltages and these
parameters must be set for proper operation of Emus BMS.
To configure cell type, connect the Emus BMS Control Unit to PC’s USB port, start the Emus BMS Control
Panel application and navigate to Configuration page, Cells tab. For visual reference of the cell parameters, most
of them are aligned to an image of a cell charging curve.
Allowed Disbalance
Sets allowed dis-balance voltage which defines what is the minimum difference between lowest and
highest cell voltages. When actual cells difference exceeds this setting cells are considered out of balance
and early balancing function is engaged during main charging stage. Early balancing function is engaged
when cells voltage exceeds Early Balancing Threshold parameter.
Early
Balancing
Threshold
Sets the
early
balancing threshold voltage above which the early balancing starts. It balances the cell charge differences
while exceeding the configured Allowed Dis-balance threshold. Early balancing is used during main
charging stage when charge current is kept constant.
Balancing Range
This is the voltage margin below Fully Charged Voltage parameter in which the balancing of the cells is
done when a non-CAN charger (charger not capable to adjust current according to BMS command) is
used in balancing stage. BMS periodically balances down the cells voltages and charges them again within
this range below Full Charged Voltage parameter until all cells are equally balanced. NOTE!: This
parameter does not correspond to any point on the cell charging curve.
Pre-Charge Threshold
Cell's voltage threshold for selecting pre-charge or normal charging mode. It is useful when a charger with
controllable current (like most chargers with CAN inteface) is used to charge deeply discharged cells.
When the minimum cell's voltage is below this threshold BMS uses small pre-charge current to charge the
pack. When minimum cell voltage exceeds this threshold BMS selects normal charging current depending
on Slow/Fast current setting of charger configuration parameters. Setting this parameter to very low value
(like 2.0V) disables the pre-charging feature.
Empty Voltage
The voltage which indicates that cell is fully discharged and has 0% SoC left. This setting should be
configured according to cell manufacturer's specification minimum voltage in normal usage conditions. It
should have some margin above critical minimum never-drop-below voltage stated by cells manufacturer.
BMS uses this value as a reference for calculations of 0% SoC.
Pre-charge Current
Allows to setup the pre-charge current for CAN chargers when cells that are deeply discharged below
Pre-charge Threshold voltage. This current is set as a percent of the nominal charging current, which can
be either Fast Charging Current or Slow Charging current, and is used during Pre-charging stage. When
the pre-charge voltage threshold is exceeded BMS goes to the next main charging stage.
parameter sets the number of parallel strings. It is used when calculating the charge voltage for a
controlled charger, and when displaying individual cell parameters.
Capacity
Defines the nominal capacity of the cell. This parameter is used in State of Charge (SoC) calculation to
determine the SoC level. If you are using sever parallel strings of cells, multiply the cell capacity by the
number of parallel strings for correct state of charge calculation.
Under-Voltage Cutoff
Engage the battery protection contactor in case of under-voltage by using output pin with function PF12
assigned when lowest cell voltage drops below Min Critical Voltage parameter value.
Minimum Allowed Voltage
The same parameter as in Cells configuration tab. For more detail, see Cells configuration above.
Fan On Temperature
Sets the temperature threshold above which BMS enables fan (or other battery pack cooling device)
output on pin with PF13 function assigned. Set this temperature to ensure the optimal cells operation
temperature range in hot climate conditions or intense battery use. NOTE!: Fan will be enabled when this
temperature is reached regardless of whether the battery climate control is enabled or not.
Over-Voltage Cutoff
Enables the battery cutoff contactor in case of over-voltage (when voltage exceeds Max Critical Voltage
parameter value) by using pin with function PF12 assigned.
Warning Temperature
Sets the temperature threshold above which BMS indicates warning and activates power reduction if High
Temp. Reduction function is enabled and pin with function PF16 is assigned.
During charging the balancing current of cell modules is gradually reduced when max cells temperature
starts exceeding this threshold because during charging the temperature increase usually caused by shunts
on cell modules when balancing.
BMS also records a high temperature warning event and updates corresponding statistic counter.
Over-Heat Cutoff
Cutoff the battery contactor in case of maximum cell temperature exceeding Max Critical Temp. value by
using activating the output pin with function PF12 assigned.
Current Warning
Sets the warning discharge current above which BMS enables buzzer warning (output pin function PF7)
and power reduction (output pin function PF16) if High Current Reduction function is enabled.
Additionally BMS records discharge high current warning event and updates the according statistic.
Charger configuration
Emus BMS supports operation using non-CAN and CAN chargers. Non-CAN charger is basically the charger
which has no digital data transfer capability over CAN line and can be controlled by only switching it on or off
via relay or contactor. CAN charger is the charger which can communicate and can be controlled via CAN
communication bus. There is no unified and widely accepted charger communication specification standard and
therefore the support of various manufacturers and models is being added to the supported chargers list
gradually.
At the current moment Emus BMS supports Elcon chargers that are produced by Hztiecheng.
However the number of supported chargers will soon grow to more models: Brusa NLG5, new Zivan line,
NetGain are coming soon.
Charger Type
Allows
you to
select
the
charger
type
that is
controlled by BMS. It may be non-CAN charger which is controlled via the relay using output pin with
function PF10 assigned. The sensing that charger is connected to some power supply is made via input pin
which has PF3 function assigned. Chargers of this type do not allow BMS to control the charging current
and therefore perform somewhat worse as exact optimal current mode cannot be selected as it depends on
only how the charger was setup.
When CAN type charge is selected then all communication is done via the CAN bus using special
messages compliant to specific charger type. For this type of chargers BMS selects optimal charging
current and target voltage for different stages of charging.
SoC configuration
Set State of
Charge...
Sets
initial
state of
charge
of the
pack.
When
pressed
it
prompts to enter the current estimated SoC % of the pack. This function is useful if the initial SoC value
needs to be set when installing fresh battery pack with BMS as by default BMS assumes 0% SoC as it has
not observed the pack's behaviour during charging and use yet.
It is also possible to save the initial SoC value in configuration file. Then it is set when configuration file
is loaded.
Use small values up to around 10. A default value 3 is good starting point. If sometimes the reading shows
tendency to show small current in either direction when actually no current is flowing then Reset Current to 0
should be used first and additionally this Deadzone could be increased.
Reverse Direction
Reverses the direction of current sensor. Use this setting to ensure positive current reading when charging
and negative current reading when discharging.
Reset Current to 0
Resets current sensor reading to zero to compensate for sensor's offset and surrounding static magnetic
influence.
Different pins have different hardware interfaces. HEATER, BAT. LOW, BUZZER, CHG. IND. and CHARGER
pins are open drain outputs that can drive the pin to the ground with maximum 0.5A current. These pins cannot
be assigned to input functions. FAST. CHG., AC SENSE, IGN. IN, SOC OUT, SPEED IN and INPUT 1-4 are
small power pins that can be assigned either to inputs or small power outputs of static signals. SOC OUT pin
also has the possibility to assign specific State of Charge PWM output function which generates signal for
displaying SoC to external display devices. SPEED IN has the capability to count the number and frequency of
external incoming speed sensor pulses. INPUT 1-4 may be used for current sensor measurements. Please note
that if any of INPUT 1 to 4 pin has the PF14 Current Sensor Input assigned then all other INPUT pins must be
assigned to this function as well because current sensor uses all 4 INPUT pins to dual range current sensing.
When this function is selected and committed the control unit automatically updates other INPUT pin functions.
When some INPUT function is changed to something else from PF14 then other INPUT pins have this function
removed as well.
In the Pins
Map
configuration
page each
remappable
pin is listed
with function
that is
assigned to it
and along
with BMS Control Panel pins re-map configuration page
inversion
flag. Each
function assignment drop down box has a list of choices of functions that are possible to assign to each pin. The
first choice on top of the list is always a default pin function and is assigned when factory defaults are loaded.
Other assignable functions choices depend on hardware capabilities of each pin. The last choice PF0 No
Function disables any function of the pin.
NOTE!: To ensure correct pins operation please make a BMS Reset after configuring pin functions.
PF0 No Function
Disables any function of the pin.
PF1 Speed Sensor Input
Sets the pin to receive speed sensor pulses to determine the speed and distance of the vehicle. This
function can only be assigned only to SPEED IN pin. (Please note that speed and distance function is not
enabled in BMS software yet)
PF2 Fast Charge Switch Input
Sets pin to act as an input for a charge rate switch. If the Invert flag is not set then 0V voltage of this pin
will be treated as slow charge setting while voltage more than 5V will be treated as Normal/Fast charge
choice. This pin can be connected to +12V signals directly.
PF3 Charger Mains AC Sense Input
Sets pin to act as a sense for non-CAN charger connection to AC mains or other source and as a command
to BMS to start and control the charging process. This input may be used with Charger Control Relay
supplied by JSC Elektromotus or input from other signal. With inversion flag off 0V - charger is not
connected to AC mains and >5V charger is connected to power source and charging should start.
PF4 Ignition Key Input
Input for ignition key of the vehicle which controls the power state of BMS if it is driven or in idle state.
0V - vehicle idle, >5V - vehicle is in active driving state. Cells poll and display communication rate are
depending on this sleep and active state. Active state is also considered when CAN or non-CAN charger is
connected to mains regardless of Ignition Key position. In addition this state information is used by
graphical interface device such as EVGUI for Windows Mobile or Android to switch the screen on or off
automatically when ignition key is switched on or off.
PF5 Heater Enable Output
This pin function is active when BMS enters pre-heat stage if the battery pack's temperature is below
minimum Heater On Temperature setting. If this function is assigned to open drain output then in active
state the pin is pulled low to the GROUND pin. On other types of pins the active state is +5V on the
output.
PF7 Sound Buzzer Output
Designed to sound a sound buzzer for driver in case of warning or error.
PF8 Battery Low Indication Output
An indicator lamp for driver informing that battery is getting low starting blinking and when battery is
very low it is always on.
PF9 Charging Indication Output
An indicator lamp for driver to show various stages of charging process. When it is off charger is not
connected. When it is displaying one to several pulses in around 2 seconds intervals it indicates that
charging is ongoing where number of pulses means the charging stage: 1 pulse - pre-heat, 2 - pre-charge, 3
- main charge, 4 - balancing. When charging is finished ok it displays this by constant indicator on with
short interrupts every few seconds. A charging error is indicated by rapid flashing.
PF10 Charger Enable Output
Output which controls the non-CAN charger during charging process. When charger is connected to AC
mains or other power source this must be inidicated to BMS by activating PF3 Charger Mains AC Sense
Input. Then BMS enables the charger activating this PF10 Charger Enable Output. During balancing
stage BMS may periodically enable and disable the charger until all cells in the pack are balanced. Once
charging is complete BMS disables the charger.
PF11 State of Charge Output
This is the Pulse Width Modulation output signal which has TTL levels of 0 and +5V switched at base
frequency of 7.8kHz. The width of the pulse is controlled from 0 to 100% duty by the value of State of
Charge. This signal may be converted to analog voltage by filtering it with externally attached > 1uF
capacitor between the pin and ground. This analog voltage may be measured voltage meter which is
graded to display fuel levels. Alternatively this pin ouptut may control a MOSFET gate to drive fuel
gauges which require higher current and work on principle of measuring a resistance to the ground which
is common in many cars fuel tank gauges. Due to the specific nature of this function it may only be
assigned to SOC OUT pin.
PF12 Battery Contactor Output
This is a battery protection contactor outptut which disables the battery in the event of protection error
configured on BMS. For information about protection functions configuration look at Cells configuration
section.
PF13 Battery Fan Output
This output is enabled once the maximum cell temperature of battery pack exceeds the Fan On
Temperature setting of Cells configuration. This function pin may drive a fan or other battery pack cooling
device.
PF14 Current Sensor Input
Current sensor input which uses all pins from INPUT 1 to INPUT 4 together to work with analog dual
range current sensor. If at least one INPUT X pin is changed to this function other INPUT pins are
changed to this function as well. As this is specific function it may only be assigned to INPUT X pins.
PF15 Leakage Sensor Input
This function is designated for detecting a battery pack leakage event using a leakage sensor. The leakage
sensor is external device that should generate a signal of at least +5V in the event of high voltage battery
pack circuit leakage to car's chassis or low voltage subsystem.
PF16 Power Reduction Output
This function is intended to signal a power reduction requirement to motor controller of the vehicle in the
event of low voltage, high discharge current and overheat.
Discover devices...
Discovers the CAN cell group modules that are connected to BMS CAN bus. The discovered devices
appear in the Unconfigured List, where the serial number and cell count of the CAN Cell Group Module is
displayed as show in the image below.
CAUTION!: discovering CAN devices puts BMS Control Unit into configuration mode until the
discovery is complete. While in this mode, normal operation of the Control Unit is stopped, therefore is
advised to configure CAN cell group modules before the actual use of of Emus BMS system.
Parallel strings
Number parallel cell strings in the configuration table. Increasing this number will create more columns in
the configuration table. Adjust this parameter according to the configuration of the battery pack.
Configuration table
Configuration table consists of columns that represent strings of cells connected in series, and of rows that
represent CAN Cell Group Modules in the cell string. For example, if the battery pack consists of two
strings connected in parallel, each one of them having 40 cells connected to two CAN cell group modules,
then configuration table will have two columns and two rows. After the device discovery, to assign a
particular CAN cell group module to a cell string, simply drag the
entry from the unconfigured list to the configured table, and drop on
the desired column. This entry will then appear in the configured table
with a yellow "question mark" icon. The column headers will be
updated, and will display the total cell count of the string, in
parentheses next to the string number. This total cell count
corresponds to the number of cells of in the string.
BMS Control Panel CAN devices
configuration page: Unconfigured NOTE!: For
List with some discovered CAN purpose of clarity,
Cell Group Modules it is advised to set
up the
configuration in
such way that serial numbers of the CAN cell group modules
would be sorted in a downwards ascending order in every
column, and also from column to column (see images on the
right). This way cells will displayed correctly in Status page, BMS Control Panel CAN devices configuration
Cells tab: cell of the most negative potential (the one page: Configuration table with four CAN cell group
connected to the minus terminal) in the string will be module entries, two in String 0, and two more in
displayed as the first cell on the left, and cell with of the String 1. The yellow "question mark" icon indicates
most positive potential (the one connected to the plus that this configuration has not been committed yet.
terminal) will be the first one on the right. For more detail on
how to connect CAN cell group modules, see Installation instructions.
Commit configuration...
After all entries from unconfigured list have been put in the configured table, make sure that every CAN
cell group module reports correct cell count. NOTE!:
If some CAN cell group modules report incorrect cell
count please check that the cell modules are installed
and connected correctly, and that the cell voltages are
high enough to power up the cell modules. If cell
count is reported correctly from all CAN cell group
module entries, press "Commit configuration" button.
Doing so will send the finished configuration to
Control Unit and if everything is ok, the yellow
question mark icons will turn to green "check" icons, BMS Control Panel CAN devices configuration
indicating that CAN cell group module configuration page: Configuration table with four CAN cell
was completed successfully. If some error occurred Group Module entries, after the configuration has
while committing the configuration, some of the been successfully committed and sent to BMS
yellow question mark icons will turn to red "x" icon Control Unit. The green "check" icons indicate no
indicating an error. In such case, check that CAN cell errors.
group modules are connected correctly to the CAN
bus.
NOTE!: When CAN group module configuration is
committed successfully, Number of Overall Cells, and
Number of Cells Strings parameters in Battery Pack
configuration tab will be updated automatically.
Configuration by Tasks/Functions
Cell temperature calibration BMS Control Panel CAN devices configuration
page: Configuration table with four CAN cell
EMUS BMS measures temperatures of each cell – each of Group Module entries, after committing
EMUS BMS Cell Modules have temperature probes. These configuration has failed, and one of the group
probes require initial calibration to work properly. When all modules is not responding. The red "x" icon
battery cells and EMUS BMS Cell Modules are installed, indicates a communication error. In such case,
user must initiate a temperature calibration command. To do check that the indicated CAN cell group module is
so, connect the EMUS BMS Control Unit to PC’s USB port, connected to the CAN bus correctly.
start the EMUS BMS Control Panel application and navigate
to Configuration page, Battery Pack tab. There you will find
a Calibrate Temperature button. After pressing the button, type in a current temperature of the battery pack in
the prompted window. Ordinary household thermometer is sufficient for getting this reference temperature. Use
this calibration only when all cells are at the same temperature. This will set the temperature of all cells to the
one specified. The result can be checked at Status page, Cells tab, Temperatures graph.
NOTE!: Cell temperature probe is situated on Cell Module itself and does not represent an accurate temperature
of the cell. Cell tabs do have a good inner thermal conductivity and, usually, Cell Module will report a bit lower
temperature, especially at high values. Also keep in mind that Cell Module heats up during balancing stage and
reported temperature will be higher than actual.
To configure charger used with the Emus BMS, connect the Emus BMS Control Unit to PC’s USB port, start the
EMUS BMS Control Panel application and navigate to Configuration page, Charger tab.
Charger Type dropbox selects a type of charger: with or without CAN interface. Please note that following
current settings are applicable for CAN charger only, and can be located in Configuration page, Cells tab.
Pre-charge Current field sets a current for pre-charge mode. This mode is active when voltage at any of the cells
is lower than the value specified in Pre-charge Threshold field. This field is applicable only for CAN charger.
NOTE!: this parameter is located in Configuration page, Cells tab.
Pre-charge Threshold field specifies lowest operating voltage of the cells. Typically this value is 3.0 V for
LiPO/Li-Ion cells and 2.5 V for LiFePO4. The exact value should be specified in cell manufacturer‘s datasheet.
This field is applicable only for CAN charger.
Slow Charging Current sets a charging rate for charging the vehicle prom lower power, often public outlets. If,
for example, the outlet is limited to 1 kW and your cell voltage is 100 V, then Slow Charge Current should be set
to 10 A (1 kW/ 100 V = 10 A). This field is applicable only for CAN charger.
Fast Charging Current value should be set according to combined ability of the cells, charger and power outlet,
whitch one is the lowest. If, for example, the charger can give a 50 A current, but battery cells are 100 Ah and
rated at only 0.3 C charge rate, this is a limiting factor and Normal Charge Current value should be set to 30 A
(100 Ah * 0.3 C = 30 A). This field is applicable only for CAN charger.
Early Balancing Threshold value sets a minimum cell voltage at which cell balancing starts. By lowering this
value faster balancing and overall charge time can be achieved, but this increases power losses, dissipated as
heat in Cell Modules. Usually threshold of 3.4 V is optimal for LiFePO4 cells and 3.7 V for LiPO/Li-Ion cells.
Allowed Dis-balance value sets the minimum difference between cell voltages at which it is considered that cells
are at balance and cell balancing is turned off.