Wiki source code of 3.3 Input and output signals

Version 31.1 by Admin on 2026/06/29 16:23

Hide last authors
Admin 20.1 1 (% data-numbered-headings-start="3" style="--numbered-headings-start: 2;font-size: 0px;color: rgba(0, 0, 0, 0.0);margin-bottom: 0px; margin-top: 0px;" %)
2 = Configuration =
Admin 1.1 3
Admin 20.1 4 (% data-numbered-headings-start="3" style="--numbered-headings-start: 2;font-size: 0px;color: rgba(0, 0, 0, 0.0);margin-bottom: 0px; margin-top: 0px;" %)
5 == Input and output signals ==
6
7 === Input signals ===
8
Admin 14.1 9 The BMS Main 2.x board has **4 discrete inputs** of the "dry contact" type. For each discrete input, its purpose and the inversion requirement are specified.
Admin 2.2 10
Admin 14.1 11 BMS Main 2.x board has **4 analog inputs** for connecting current, temperature and humidity sensors.
Admin 2.2 12
Admin 16.1 13 The order of the numbering of the discrete and analog inputs corresponds to the order of the numbering on the board.
14
Admin 14.1 15 (% id="cke_bm_2415S" style="display:none" %) (%%)To configure the input discrete and analog signals, select the menu "Signals → Input signals":
16
Admin 17.1 17 [[image:1732201986070-992.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="290" width="272"]]
Admin 14.1 18
Admin 29.1 19 (% class="box infomessage" %)
20 (((
Admin 26.2 21 A list of available **discrete input assignments **is available in [[Input signals>>doc:Battery management systems.Additional information.1\. Battery controllers\: signals and errors.WebHome||anchor="HInputsignals"]].
Admin 29.1 22 )))
Admin 14.1 23
Admin 30.17 24 If the "Signal from the battery cover" assignment is selected, the discrete input is used to monitor the state of the battery cover (see [[Battery cover protection>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.6 Battery protection.WebHome||anchor="HBatterycoverprotection"]]).
Admin 2.2 25
Admin 30.16 26 if the "Charger connected" assignment is selected, the discrete input is involved in the algorithms of charge and discharge control (see [[Charging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HChargingcontrol"]] and [[Discharging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HDischargingcontrol"]]).
Admin 2.2 27
Admin 30.16 28 If the "Power up/down request" assignment is selected, the discrete input is involved in the algorithms of opening the charging and discharging relays and sending acknowledgment of power down to the external equipment (see [[Charging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HChargingcontrol"]] and [[Discharging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HDischargingcontrol"]]).
Admin 3.3 29
Admin 3.4 30 If the “Inhibit charging” assignment is selected, the discrete input is used to open the charging relay.
Admin 3.3 31
Admin 3.4 32 If the “Inhibit discharging” assignment is selected, the discrete input is used to open the discharging relay.
Admin 3.3 33
Admin 30.17 34 If the “CH contactor feedback”, “DCH contactor feedback”, “PCH contactor feedback”, “CH/DCH contactor feedback” or “Main contactor feedback” assignment is selected, the discrete input is involved in monitoring the corresponding contactor’s feedback signal (see [[Contactor feedback check>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.6 Battery protection.WebHome||anchor="HContactorfeedbackcheck"]]).
Admin 3.3 35
Admin 30.16 36 If the “Charge request”, “Precharge request” or “Discharge request” assignment is selected, the discrete input is used to control opening the corresponding contactor (see [[Charging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HChargingcontrol"]] and [[Discharging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HDischargingcontrol"]]).
Admin 3.3 37
Admin 30.17 38 If the “Insulation status” assignment is selected, the discrete input is used to monitor a signal from an external insulation monitoring device (see [[Insulation monitoring>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.6 Battery protection.WebHome||anchor="HInsulationmonitoring"]]).
Admin 3.3 39
Admin 11.2 40
Admin 18.1 41 **Analog inputs** in this section:
Admin 3.3 42
Admin 14.1 43 * No input;
Admin 30.19 44 * Current sensor signal – main current sensor output;
45 * Current sensor reference line – main current sensor zero level;
Admin 14.1 46 * Temperature sensor;
47 * Humidity sensor;
Admin 30.19 48 * Current sensor signal (AUX) – additional (AUX) current sensor output;
Admin 30.20 49 * Current sensor reference line (AUX) – additional (AUX) current sensor zero level;
Admin 30.21 50 * Current sensor signal (2nd range) – second range output of main dual range sensor (used in "Dual range sensor" and "Separate dual range sensors" modes);
Admin 30.22 51 * Current sensor signal (2nd range, AUX) – second range of additional (AUX) dual range sensor (used in "Separate dual range sensors" mode);
Admin 14.1 52
Admin 3.3 53 (% class="box warningmessage" %)
54 (((
Admin 30.18 55 **Important**: the using of analog input #4 is possible hardware modification of the BMS Main 2.x board.
Admin 3.3 56 )))
57
Admin 20.1 58 === Current sensor ===
Admin 4.2 59
60 After selecting the assignment of the analog inputs, you need to configure the parameters of the sensors connected to the board.
Admin 4.3 61
62 To configure the current sensor parameters, select the menu "Signals → Current sensor":
Admin 6.2 63
Admin 17.1 64 [[image:1732202357233-620.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="453" width="284"]]
Admin 6.2 65
66 In the «Primary sensor» и «Auxiliary sensor» sections:
67
Admin 29.2 68 * Sensor type – drop-down menu with presets for most popular sensor types;
Admin 30.22 69 * Mode – main and additional (AUX) sensors mode:
70 ** Disabled – additional (AUX)sensor is not used:
Admin 30.23 71 ** Parallel sensors – additional (AUX) sensor is located in parallel circuit. Final current is estimated as sum of both sensors values;
72 ** Serial sensors – additional (AUX) sensor is located on the same circuit. Final current is estimated as average of both sensors values;
73 ** Separated sensors – additional (AUX) sensor is used to measure the current in second series of cells (см. [[Series balancing>>url:https://docs.movicomelectric.com/bin/view/Battery%20management%20systems/BMS%20Main%202.1/3.%20Configuration/3.4%20Battery%20parameters/?HSeriesbalancing#HSeriesbalancing]]);
Admin 30.24 74 ** Dual range sensor – main sensor is a dual range sensor. Transition to a second range measurements is done by a "Current threshold" parameter;
Admin 30.25 75 ** Separate dual range sensors – main and additional sensors are dual range sensors, located on the same line. Since this mode requires all analog inputs, the modification of BMS Main board is required;
Admin 6.2 76 * Nominal current – rated current of the sensor according to the datasheet, А;
77 * Sensitivity – sensitivity of the current sensor according to the datasheet, V / I,,nominal.,,;
Admin 31.1 78 * Current threshold – a value below which current is measured by low-current range of dual range sensor, A;
Admin 30.26 79 * Voltage, corresponding 0A – calibrated zero level of the current sensor, V;
Admin 6.2 80 * Multiply the charging current (experimental) – experimental flag for scaling the charging current by given multiplier;
81 * Multiplier – charging current multiplier;
82
83 In the «Options» section:
84
85 * Calibrate sensor on startup – calibration flag (zero level setting) of the current sensor when the board is started;
86 * Calibration time – calibration time of the current sensor, second;
87 * System consumption (current offset) – consumption of the BMS system from the battery, A; This setting is used to adjust the current sensor;
88 * Set sensor zero level – command set the zero level of the current sensor (used for service purposes).
89
Admin 7.2 90 (% class="box infomessage" %)
91 (((
Admin 7.4 92 If the "Sensor type" is selected, the “Nominal current” and “Sensitivity” fields are automatically filled.
93 If the "Sensor type" has no necessary preset, the “Nominal current” and “Sensitivity” parameters must be **manually **entered.
Admin 7.2 94 )))
Admin 6.2 95
Admin 8.2 96 Calibration of the current sensor (“Calibrate sensor on startup” flag) is necessary if the sensor does not have a reference line (zero level signal).
97
Admin 20.1 98 === Current shunt sensor ===
Admin 8.2 99
100 To configure the shunt current sensor parameters, select the menu "Signals → Current shunt sensor":
101
Admin 17.1 102 [[image:1732202640889-562.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="342" width="265"]]
Admin 8.3 103
104 In this section:
105
106 * Settings:
Admin 16.1 107 ** Enable – a flag to start interaction with BMS Current Sensor (if interaction is enabled then BMS doesn’t use Hall-Effect current sensor which settings are described in the menu "Signals → Current sensor");
108 ** Node ID – an address of BMS Current Sensor in CANopen network;
109 ** Dispatch timeout – timeout of dispatching packages from BMS Current Sensor (if no data is being received from current sensor during this time, the “Shunt offline” flag is set), millisecond;
110 ** Zero level threshold – T,,0,, level, A (if module of instantaneous current (I,,I,,) which is received from shunt sensor is lower than T,,0,,, BMS will assume that current flowing through the battery is zero);
111 ** Mean level threshold – TM level, A (if module of instantaneous current (I,,I,,) which is received from shunt sensor is between T,,M,, and T,,0,,, BMS will use mean value of current I,,M,,; if I,,I,, is greater than T,,M,,, BMS will use instantaneous value of current I,,I,,);
112 ** Invert – a flag to invert current values;
Admin 8.3 113 * Sensor state:
114 ** Online – a flag showing that the communication with the BMS Current Sensor is established;
115 ** Errors – a list of internal errors of the shunt sensor;
116 ** Current – an instantaneous value of current measured by the BMS Current Sensor, A (measuring frequency is 50 Hz);
117 ** Current (mean) – a mean value of current measured by the BMS Current Sensor, A (the value is calculated as an average of 100 consistent measurements);
118 ** Temperature – a temperature of the shunt sensor, °C.
119
Admin 20.1 120 === Temperature sensor ===
Admin 8.5 121
122 To configure the temperature sensor parameters, select the menu "Signals → Temperature sensor":
Admin 9.2 123
Admin 17.1 124 [[image:1732204766138-628.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="112" width="256"]]
Admin 9.2 125
126 In this section:
127
Admin 23.7 128 * Type – type of temperature sensors;
Admin 26.1 129 * Mask – mask to ignore the temperature from the corresponding temperature sensors; bit //i// corresponds to temperature input //#(i+1)// of each BMS Logic device; mask 0x5 means that the BMS marks all temperature sensors connected to inputs #1 and #3 of each BMS Logic device as missing and doesn't use them in calculations.
Admin 9.2 130
131 (% class="box infomessage" %)
132 (((
133 **Note:** Temperature sensors connected to the BMS Main 2.x and BMS Logic boards must be the same type.
134 )))
Admin 10.2 135
Admin 20.1 136 === Humidity sensor ===
Admin 10.2 137
138 To set the humidity sensor parameters, select the menu "Signals → Humidity sensor":
139
Admin 17.1 140 [[image:1732204899160-307.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="120" width="195"]]
Admin 10.3 141
142 In this section:
143
144 * Type – type of the humidity sensor.
145
Admin 20.1 146 === Output signals ===
Admin 11.2 147
Admin 16.1 148 The BMS Main 2.x board has **4 discrete outputs**. For each discrete output, its purpose and inversion requirement are specified.
Admin 11.2 149
Admin 16.1 150 The BMS Main 2.x board has **4 solid-state relays** (#1 and #2 of them are bipolar, and the #3 and #4 are unipolar). For each relay, its purpose and inversion requirement are specified.
Admin 14.1 151
Admin 16.1 152 The order of the numbering of the discrete outputs and the relay corresponds to the order of the numbering on the board.
153
Admin 14.1 154 To configure output discrete signals and relays, select the menu "Signals → Output signals":
155
Admin 17.1 156 [[image:1732205046156-597.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="346" width="295"]]
Admin 14.1 157
Admin 29.1 158 (% class="box infomessage" %)
159 (((
Admin 27.1 160 A list of available **discrete output assignments **is available in [[Internal signals>>doc:Battery management systems.Additional information.1\. Battery controllers\: signals and errors.WebHome||anchor="HInternalsignals"]].
Admin 29.1 161 )))
Admin 14.1 162
Admin 30.17 163 If the "Low SOC" assignment is selected, the output indicates the low battery charge level (see [[Low SOC signal>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.6 Battery protection.WebHome||anchor="HLowSOCsignal"]]).
Admin 11.2 164
Admin 30.17 165 If the "High battery charge current" assignment is selected, the output indicates that the charging current exceeds the predefined value (see [[High charging current signal>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.6 Battery protection.WebHome||anchor="HHighchargingcurrentsignal"]]).
Admin 11.2 166
Admin 30.17 167 If the "Cooler" assignment is selected, the output indicates the overheating of the battery (see [[High temperature protection>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.6 Battery protection.WebHome||anchor="HHightemperatureprotection"]]).
Admin 11.2 168
Admin 30.17 169 If the "Heater" assignment is selected, the output indicates the low battery temperature signal (see [[Low temperature protection>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.6 Battery protection.WebHome||anchor="HLowtemperatureprotection"]]).
Admin 11.2 170
Admin 30.16 171 If the "Allow charging" assignment is selected, the output is used to give the charger the allowance to charge the battery (see [[Charging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HChargingcontrol"]]).
Admin 11.2 172
Admin 30.16 173 If the "Precharging" assignment is selected, the output is used to charge the capacitive load (see [[Discharging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HDischargingcontrol"]]).
Admin 11.2 174
Admin 30.16 175 If the "Acknowledgement of power down" assignment is selected, the output is used to acknowledge power down of the BMS. Acknowledgement is outputted when the charge and discharge relays have been opened on power down request (see [[Charging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HChargingcontrol"]] and [[Discharging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HDischargingcontrol"]]).
Admin 11.2 176
Admin 30.17 177 If the "Power up" assignment is selected, the output is used to indicate the power status of BMS (see [[Power down control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.6 Battery protection.WebHome||anchor="HPowerdowncontrol"]]).
Admin 11.2 178
179
Admin 29.1 180 (% class="box infomessage" %)
181 (((
Admin 27.1 182 A list of available **relay assignments **is available in [[Internal signals>>doc:Battery management systems.Additional information.1\. Battery controllers\: signals and errors.WebHome||anchor="HInternalsignals"]].
Admin 29.1 183 )))
Admin 11.2 184
Admin 30.16 185 If the "Charging" assignment is selected, the relay is used to charge the battery (see [[Charging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HChargingcontrol"]]).
Admin 11.2 186
Admin 30.16 187 If the "Discharging" assignment is selected, the relay is used to connect battery to the load (see [[Discharging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HDischargingcontrol"]]).
Admin 11.2 188
Admin 30.16 189 If the "Allow charging" assignment is selected, the relay is used to give the charger an allowance to charge the battery (see [[Charging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HChargingcontrol"]]).
Admin 11.2 190
Admin 30.17 191 If the "Cooler" assignment is selected, the relay receives a signal indicating overheating of the battery (see [[High temperature protection>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.6 Battery protection.WebHome||anchor="HHightemperatureprotection"]]) or the signal "Cooler" (see [[Cooler control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.6 Battery protection.WebHome||anchor="HCoolercontrol"]]).
Admin 11.2 192
Admin 30.17 193 If the "Heater" assignment is selected, a low battery temperature signal is outputted to the relay (see [[Low temperature protection>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.6 Battery protection.WebHome||anchor="HLowtemperatureprotection"]]) or a signal "Heater" (see [[Heater control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.6 Battery protection.WebHome||anchor="HHeatercontrol"]]).
Admin 11.2 194
Admin 30.16 195 If the "Precharging" assignment is selected, the relay is used to charge the capacitive load (see [[Discharging control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HDischargingcontrol"]]).
Admin 11.2 196
Admin 30.15 197 If the "Balancing series 1" assignment is selected, the relay is used to connect a balancing resistor to the cell series 1 (see [[Series balancing>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.4 Battery parameters.WebHome||anchor="HSeriesbalancing"]]).
Admin 11.2 198
Admin 30.15 199 If the "Balancing series 2" assignment is selected, the relay is used to connect a balancing resistor to the cell series 2 (see [[Series balancing>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.4 Battery parameters.WebHome||anchor="HSeriesbalancing"]]).
Admin 11.2 200
Admin 30.16 201 If the "Discharging (AUX)" assignment is selected, the relay is used to power external equipment (see [[Discharging (AUX) control>>doc:Battery management systems.BMS Main 2\.1.3\. Configuration.3\.5 Battery control.WebHome||anchor="HDischarging(AUX)control"]]).
Admin 11.2 202
203 If the "Main contactor" assignment is selected, the relay is used to close the main contactor in the common (minus) power bus.
204
205 If the "Power up" assignment is selected, the relay is used to close the contactor in the BMS Main power bus.