Wiki source code of 3.3 Control

Version 57.1 by Admin on 2026/04/30 15:47

Hide last authors
Admin 1.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 = Settings =
3
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 == Control ==
6
7 === Common settings ===
8
9 To change the common BMS settings, select the "Control → Common settings" section:
10
Admin 6.2 11 [[image:1740394523706-519.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="127" width="800"]]
Admin 1.1 12
13 In this section:
14
Admin 54.2 15 * **Cell capacity** – nominal capacity of cells, Ah;
16 * **Cell resistance** – nominal (maximum) internal resistance of the cell, Ohm;
17 * **Relax time (after charging)** – a relaxation time after charging, second;
18 * **Relax time (after discharging)** – the relaxation time after discharging, second;
19 * **Reset parameters **– a command to reset cells state of charge, capacity, and resistance.
Admin 1.1 20
Admin 55.1 21 The values “**Capacity**” and “**Resistance**” are used to calculate the SOC of cells and the battery.
Admin 1.1 22
Admin 55.2 23 The values of “**Relax time**” are used to determine the state of the battery. If the battery is in a state of relaxation, the system recalculates the voltage on the cells to the state of charge of the battery.
Admin 1.1 24
Admin 55.2 25 The “**Reset parameters**”  is used for starting-up and adjustment of the battery and will reset:
Admin 6.2 26
27 * state of charge (new cell SOC values will be calculated based on cell voltage and “Uocv (open-circuit voltage) table”: in the “Control → SOC estimation” section);
28 * cell resistance to “Cell resistance” value;
29 * battery capacity to “Cell capacity” value.
30
Admin 1.1 31 === SOC estimation ===
32
Admin 55.3 33 The BMS Mini S / BMS Mini device calculates the state of charge (SOC) of each cell by using following algorithms:
Admin 1.1 34
Admin 55.2 35 The **“Voltage”** SOC calculation algorithm calculates cells SOC based on the tabular dependence Uocv = Uocv(SOC, t °C).
Admin 1.1 36
Admin 55.2 37 The **“Current and voltage (simplified)”** SOC calculation algorithm works as follows:
Admin 1.1 38
Admin 55.2 39 * if I = 0, the battery is in the state of relaxation and the cell voltage Uocv is outside the [U,,ocv[point 1],,; U,,ocv[point 2],,], the SOC calculation is based on the tabular dependency Uocv = Uocv(SOC, t °C);
40 * in any other cases, the SOC value is proportional to the charge (coulomb) passed through the battery (current time integral).
Admin 1.1 41
Admin 55.2 42 The **“Current and voltage (enhanced)” **SOC calculation algorithm differs from the simplified algorithm by online correction of the effective capacity. When using this algorithm, it is necessary to fine tune the tabular dependence Uocv = Uocv (SOC, t °C).
43
44 To change the algorithm for calculating the SOC, select the "Control → SOC estimation" section:
45
Admin 2.1 46 [[image:1733746733477-590.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="166" width="800"]]
Admin 1.1 47
48 The following estimation algorithms supported:
49
50 * Voltage – by open circuit voltage;
51 * Current and voltage (simplified);
52 * Current and voltage (enhanced);
53
Admin 6.3 54 The **“Voltage”** SOC calculation algorithm calculates cells SOC based on the tabular dependence Uocv = Uocv(SOC, t °C).
Admin 1.1 55
Admin 6.3 56 The **“Current and voltage (simplified)”** SOC calculation algorithm works as follows:
Admin 1.1 57
58 * if I = 0, the battery is in a state of relaxation and the cell voltage Uocv is outside the [U,,ocv[point 1],,; U,,ocv[point 2],,], the SOC calculation based on the tabular dependence Uocv = Uocv(SOC, t °C);
59 * in any other cases, the SOC value is proportional to the charge (coulomb) passed through the battery (current time integral).
60
Admin 6.3 61 The **“Current and voltage (enhanced)” **SOC calculation algorithm differs from the simplified algorithm by online correction of effective capacitance. When using this algorithm, it is necessary to fine tune the tabular dependence Uocv = Uocv (SOC, t °C).
Admin 1.1 62
63 To change the algorithm for calculating the Final SOC, select the "Control → SOC estimation → Final SOC" section:
64
Admin 2.1 65 [[image:1733746733478-414.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="167" width="800"]]
Admin 1.1 66
Admin 55.2 67 In this section:
Admin 1.1 68
Admin 55.2 69 * **Algorithm:**
70 ** **Voltage **– by open circuit voltage;
71 ** **Current and voltage (simplified)** – recommended for LFP cells;
72 ** **Current and voltage (enhanced)** – recommended for NMC cells:
73 * **Final SOC** – method of calculating overall SOC of battery:
74 ** **Minimal SOC** – the battery SOC is assumed to be the minimum SOC among the cells;
75 ** **Average SOC** – the battery SOC is taken equal to the arithmetic average of the cell SOC;
76 ** **Min-Max SOC** – the battery SOC is calculated based on the minimum and maximum SOC of the cells (recommended). Final SOC will be a) 100% if __any cell__ has 100% SOC, b) 0% if __any cell__ has 0% SOC;
77 ** **Max-Min SOC** – the battery SOC is calculated based on the minimum and maximum SOC of the cells. Final SOC will be a) 100% if __all cells__ have 100% SOC, b) 0% if __all// //cells__ have 0% SOC.
78 * **Scale the final SOC** – a flag to scale the battery SOC by the following values;
79 * **SOC corresponding to 0%** – the battery SOC that sets to be 0%;
80 * **SOC corresponding to 100%** – the battery SOC that sets to be 100%.
81 * **Uocv (open-circuit voltage) table** – the dependence of the cell open circuit voltage Uocv on SOC and the cell temperature (selected for specific batteries);
82 * **Linear zone** - linear zone of the Uocv = Uocv(SOC, t°C) dependency, inside which the cell voltage changes insignificantly:
83 ** **Linear zone: point 1** – starting point of the Uocv linear zone;
84 ** **Linear zone: point 2** – ending point of the Uocv linear zone;
85 * **Coulomb counting correction (temperature)** – the dependence of battery capacity on temperature;
86 * **Coulomb counting correction (cycles)** – the dependence of battery capacity on the number of charge-discharge cycles.
Admin 1.1 87
88 === SOC correction ===
89
Admin 55.3 90 The BMS Mini S / BMS Mini device can recalculate the battery SOC after long-term storage or after long-term working in the case when the battery was not charged fully or discharged totally. Recalculation is done based on the tabular dependency Uocv = Uocv (SOC, t) (see [[SOC estimation>>doc:||anchor="HSOCestimation"]]).
Admin 1.1 91
92 To configure parameters for periodically correcting the battery state of charge, select the "Control → SOC correction" section:
93
Admin 2.1 94 [[image:1733746733483-444.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="160" width="800"]]
Admin 1.1 95
96 In this section:
97
Admin 55.3 98 * **Enable **– a flag to enable the SOC correction;
99 * **Shutdown period** – a time the battery is off, day. If the BMS detects on its startup that it was off during the “Shutdown period” time, the BMS recalculates the battery state of charge based on the tabular dependency Uocv = Uocv (SOC, t);
100 * **Correction period** – a period of correcting the battery SOC, day. If the BMS detects that the last correction was more than the “Correction period” ago, the BMS recalculates the battery state of charge based on the tabular dependency Uocv = Uocv (SOC, t) and tunes it gradually during the “SOC change time”.
101 * **SOC change time** – a duration of the linear changing the battery SOC to the value calculated by the correction algorithm, minute;
102 * **Ignore the linear zone** – a flag to ignore linear SOC zone while correction (recommended to be unset);
103 * **Last correction timestamp** – time when last correction was made.
Admin 1.1 104
Admin 2.1 105 === Resistance estimation ===
Admin 1.1 106
107 Calculation of the resistance of cells is carried out in two ways. The first method is used when the battery passes from a relaxation state to a charge or discharge state, wherein the cell resistance value
108
Admin 10.2 109 {{formula fontSize="SMALL" imageType="PNG"}}
110 R = \frac{U-U_{ocv}}{I_{stable}}
111 {{/formula}}
Admin 1.1 112
113 where U is the cell voltage measured in the charge or discharge state, V; U,,ocv,, is the cell voltage measured in the state of relaxation (before switching to the state of charge or discharge); I,,stable,, – stabilized current through the cell in the state of charge or discharge.
114
115 The second method is used for a stepwise change in the current through the cell, while the value of the cell resistance:
116
Admin 10.2 117 {{formula fontSize="SMALL"}}
118 R = \frac{U_2-U_1}{I_{stable2}-I_{stable1}}
119 {{/formula}}
Admin 1.1 120
Admin 10.2 121 provided that
Admin 1.1 122
Admin 10.2 123 {{formula fontSize="SMALL"}}
124 | I_{stable2}-I_{stable1} | > 0.2 × Qmax
125 {{/formula}}
Admin 1.1 126
Admin 10.2 127 where Q,,max,, — the maximum cell capacity,U,,2,, — voltage on the cell at the moment when the stabilized current I,,stable2,, is flowing through it; U,,1,, — the voltage on the cell at the moment when the stabilized current I,,stable1,, flowing through it.
128
Admin 1.1 129 The stabilized current I,,stable,, = I, if during the stabilization time the instantaneous current I is in the range from 0.95 × I to 1.05 × I.
130
131 To change parameters of the algorithm for calculating the cell resistance, select the "Control → Resistance estimation" section:
132
Admin 2.1 133 [[image:1733746733484-681.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="104" width="800"]]
Admin 1.1 134
135 In this section:
136
Admin 55.3 137 * **Current stabilization time**, millisecond;
138 * **Maximum calculation period** – maximum time between resistance measurements. If more time has elapsed since the last determination of the stabilized current I,,stable,, than is determined in this field, the resistance calculation is not performed, second;
139 * **Maximum resistance factor** – the coefficient of calculation of the maximum acceptable resistance of the cell;
140 * **Minimum SOC** – minimum cell SOC value for resistance calculation;
141 * **Maximum SOC** – maximum cell SOC value for resistance calculation.
Admin 1.1 142
Admin 3.1 143 The calculated resistance is accepted by the system as valid (and therefore updated) if its value is in the range from Resistance/2 to “Maximum resistance factor” × Resistance, where "Resistance" is the nominal resistance of the cell (see [[Common settings>>doc:||anchor="HCommonsettings"]]). If the calculated resistance value is greater than the value (Maximum resistance factor × Resistance), the updated resistance value will be equal to the value (Maximum resistance factor × Resistance).
Admin 1.1 144
Admin 10.2 145 === Low SOC (signal) ===
146
Admin 55.4 147 The "Low SOC" is indicative signal that can be assigned to a discrete output or a power switch.
148
Admin 10.2 149 To change the parameters of the generation a signal about low battery level, select the "Control → Low SOC (signal)" section:
150
151 [[image:1740396460923-423.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="141" width="800"]]
152
153 In this section:
154
Admin 55.3 155 * **Enable **– a flag to enable signal generation;
156 * **Minimum SOC**, %;
157 * **Tolerant SOC**, %;
158 * **Delay before setting the signal**, second;
159 * **Delay before clearing the signal**, second;
160 * **Lock** – lock the signal until the device is reset.
Admin 10.2 161
162 Signal generation conditions:
163
164 * the battery SOC is less than the “Minimum SOC” value during the “Delay before setting the signal” time.
165
166 Conditions for clearing the signal:
167
168 * the battery SOC is greater than the “Tolerant SOC” during the “Delay before clearing the signal” time.
169
Admin 12.2 170 === High charging current (signal) ===
171
Admin 55.4 172 The "High charging current" is indicative signal that can be output to a discrete output or a power switch.
173
Admin 12.2 174 To change the parameters of the generation high-current signal, select the "Control → High charging current (signal)" section:
175
176 [[image:1740396996935-403.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="144" width="800"]]
177
178 In this section:
179
Admin 55.4 180 * **Enable **– a flag to enable signal generation;
181 * **Maximum charging current**, А;
182 * **Tolerant charging current**, А;
183 * **Delay before setting the signal**, second;
184 * **Delay before clearing the signal**, second;
185 * **Lock **– lock the signal until the device is reset.
Admin 12.2 186
187 Signal generation conditions:
188
189 * the measured current is greater than the “Maximum charging current” value during the “Delay before setting the signal” time.
190
191 Conditions for clearing the signal:
192
193 * the measured current is less than the “Tolerant charging current” value during the “Delay before clearing the signal” time.
194
Admin 1.1 195 === Charge map ===
196
Admin 55.3 197 The BMS Mini S / BMS Mini device calculates maximum allowable charge current values in respect to SOC, battery temperature, contactor temperature and cell voltage.
Admin 1.1 198
Admin 55.4 199 Calculated current values are sent to a charger or an intellectual load over the CAN bus. External devices based on received data provide correct battery operation.
Admin 1.1 200
201 To configure parameters for determining the charge current limit, select the "Control → Charge map" section:
202
Admin 15.2 203 [[image:1740397188247-315.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="179" width="800"]]
Admin 1.1 204 In this section:
205
Admin 55.4 206 * **Enable **– a flag to start calculation of the charge current limit;
207 * **Maximum charge current** – a maximum allowable value of the charge current (under normal conditions), A;
208 * **Rate of change** – a rate of change the current limit to a new value (0 is for immediate change), A/s;
209 * **Option 1: Limit charge current by the battery SOC and temperature** – a flag to enable correction of maximum allowable charging current** Kcs** depending on __maximum cell SOC__ and battery temperature;
210 * **Option 1: SOC x Temperature x Factor** – the dependence of the correction factor on SOC and battery temperature;
211 * **Option 2: Limit charge current by the contactor temperature** – a flag to enable correction of maximum allowable charging current **Kcc** depending on contactor temperature;
212 * **Option 2: Contactor temperature x Factor** – the dependence of the correction factor on SOC and contactor temperature;
213 * **Option 3: Limit charge current by the maximum cell voltage** – a flag to enable correction of maximum allowable charging current **Kcv** depending on __the maximum cell U,,ocv,, voltage__ (corrected due to current and cell resistance)
214 * **Option 3: Cell voltage x Factor** – the dependence of the correction factor on maximum cell voltage;
215 * **Option 4: Limit charge current by the cell temperature** – a flag to enable correction of maximum allowable charging current **Kct** depending on maximum cell temperature;
216 * **Option 4: Cell temperature x Factor** – the dependence of the correction factor on maximum cell temperature.
Admin 1.1 217
Admin 15.2 218 Value of the charge current limit at given SOC, temperature, contactors temperature, maximum cell voltage and maximum cell temperature is calculated as follows:
Admin 1.1 219
Admin 15.2 220 **Charge current limit = Maximum charge current × Kcs × Kcc × Kcv × Kct**
Admin 1.1 221
222 === Discharge map ===
223
Admin 55.3 224 The BMS Mini S / BMS Mini device calculates maximum allowable discharge current values in respect to SOC, battery temperature, contactor temperature and cell voltage.
Admin 1.1 225
226 Calculated current values are sending to a charger or an intellectual load over the CAN bus.
227
228 To configure parameters for determining the discharge current limit, select the "Control → Discharge map" section:
229
Admin 19.2 230 [[image:1740397304972-174.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="182" width="800"]]
Admin 1.1 231
232 In this section:
233
Admin 56.2 234 * **Enable **– a flag to start calculation of the discharge current limit;
235 * **Maximum discharge current** – a maximum allowable value of the discharge current (under normal conditions), A;
236 * **Rate of change** – a rate of change the current limit to a new value (0 is for immediate change), A/s;
237 * **Option 1: Limit discharging current by the battery SOC and temperature** – a flag to enable correction of maximum allowable discharging current **Kds **depending on __minimum cell SOC__ and temperature;
238 * **Option 1: SOC x Temperature x Factor** – the dependence of the correction factor on SOC and battery temperature;
239 * **Option 2: Limit discharge current by the contactor temperature** – a flag to enable correction of maximum allowable discharging current **Kdc** depending on contactor temperature;
240 * **Option 2: Contactor temperature x Factor** – the dependence of the correction factor on SOC and contactor temperature;
241 * **Option 3: Limit discharge current by the cell voltage** – a flag to enable correction of maximum allowable discharging current **Kdv** depending on __the minimum cell U,,ocv,, voltage__ (corrected due to current and cell resistance)
242 * **Option 3: Cell voltage x Factor** – the dependence of the correction factor on minimum cell voltage;
243 * **Option 4: Limit discharge current by the cell temperature** – a flag to enable correction of maximum allowable discharging current **Kdt** depending on maximum cell temperature;
244 * **Option 4: Cell voltage x Factor** – the dependence of the correction factor on minimum cell temperature.
Admin 1.1 245
Admin 19.2 246 Value of the discharge current limit at given SOC, temperature, contactors temperature, minimum cell voltage and maximum cell temperature is calculated as follows:
Admin 1.1 247
Admin 19.2 248 **Discharge current limit = Maximum discharge current × Kds × Kdc × Kdv × Kdt**
Admin 1.1 249
Admin 19.2 250 === Main contactor ===
Admin 1.1 251
Admin 56.2 252 The BMS Mini S / BMS Mini device controls the main contactor. The main contactor is usually placed in the common (minus) battery line for opening the charge and discharge circuits in case of sealing of the charging or discharging contactors.
Admin 1.1 253
Admin 19.2 254 The Main contactor algorithm supports the following modes:
Admin 1.1 255
Admin 56.2 256 In **“Always on”** mode main contactor closes if all the following is true:
Admin 1.1 257
Admin 19.2 258 * Other contactors are open;
Admin 56.2 259 * There are __no errors__ from the "Errors 1, 2 ..." bitfileds.
Admin 19.2 260
Admin 56.2 261 and opens if all the following is true:
Admin 19.2 262
263 * Other contactors are open;
Admin 56.2 264 * There is __an error__ from the the "Errors 1, 2 ..." bitfileds.
Admin 19.2 265
Admin 56.2 266 In **“Automatic”** mode, the main contactor closes by internal algorithms at the same time with other contactors.
Admin 19.2 267
Admin 56.2 268 In **“On demand”** mode, the main contactor closes by external the “Close Main contactor” request.
Admin 19.2 269
270 (% class="box infomessage" %)
271 (((
272 **Note: **when errors occur in the system, the **Main **contactor opens either immediately or with the delay T,,off,, (depends on the settings described below).
273 )))
274
275 To change the parameters of the main contactor, select the "Control → Main contactor" section:
276
Admin 56.3 277 [[image:1777563933065-421.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="137" width="800"]]
Admin 19.2 278
279 In this section:
280
Admin 56.3 281 * **Enable **– a flag to enable the main contactor control;
282 * **Algorithm** – main contactor control algorithm:
283 ** **Always on** – contactor is always closed;
284 ** **Automatic** – contactor closes by internal charge and discharge algorithms;
285 ** **On demand** – contactor is closed by an external request;
286 * **Time to keep the contactor closed before closing the others** – a time for other contactors to be open after the main contactor is closed;
287 * **Delay before opening the contactor** – a time which is used to detect conditions for opening the contactor, s;
288 * **Keep the contactor open until the device is restarted** – a flag for keeping the main contactor open until the system is reset;
289 * **Errors 1, 2 to open the main contactor** – bitfields to choose the errors which will open the main contactor.
Admin 19.2 290
Admin 23.2 291 === Charging status ===
292
293 To change the parameters of charging process status, select the "Control → Charging status" section:
294
Admin 56.3 295
Admin 23.2 296 In this section:
297
Admin 56.3 298 * **Current to set the "Charging current present"** – a current level to generate the "Charging current present" signal, A;
299 * **Current to clear the "Charging current present"** – a current level to clear the "Charging current present" signal, A;
300 * **Voltage to clear the “Ready to charge”** – a threshold U,,ocv,, (corrected due to current and cell resistance) voltage level on the cell, V; if the voltage of any cell is above this level, the “Ready to charge” (hence, the “Allow charging”) signal is cleared;
301 * **Voltage to reset the “Ready to charge”** – a tolerant U,,ocv,, (corrected due to current and cell resistance) voltage level on the cell, V; if all cell voltages are below the tolerant level, the “Ready to charge” (hence, the “Allow charging”) signal is set;
302 * **Use actual voltage to generate the "Ready to charge" signal** – a flag to disable voltage correction for "Ready to charge" signal;
303 * **Treat negative currents as zero currents for generating the "Ready to charge" signal** – a flag to disable voltage correction for "Ready to charge" signal at discharging current;
304 * **Delay before recharging** – a time after which the previously opened the allow charging contactor closes again, minute; to disable the operation by timeout set "Delay before recharging" to 0;
305 * **Check the 'Charge current limit' value to generate the 'Ready to charge'** – a flag to enable check of "Charging current limit" to generate the "Ready to charge" signal;
306 * **Charge current limit to clear the 'Ready to charge'** – a threshold charging current limit value, A; if the limit is //above //this level, the “Ready to charge” signal is cleared;
307 * **Charge current limit to set the 'Ready to charge'** – a tolerant charging current limit value, A; if the limit is //below //this level, the “Ready to charge” signal is set;
308 * **Errors 1, 2 to clear the "Ready to charge"** – bitfields to choose the errors which will clear the "Ready to charge" signal.
Admin 23.2 309
310 (% class="box infomessage" %)
311 (((
312 **Note:** The "Allow charging" signal activates under two independent conditions:
313 1) the voltage on the cells reaches the “Voltage to reset the “Ready to charge"” level and
314 2) the "Delay before recharging" time has passed since the opening of the allow charging contactor.
315 )))
316
317 === Discharging status ===
318
319 To change the parameters of discharging process status, select the "Control → Discharging status" section:
320
Admin 49.1 321 [[image:1762774840204-111.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="146" width="800"]]In this section:
Admin 23.2 322
323 * Current to set the "Discharging current present" – a current level to generate the "Discharging current present" signal, А;
324 * Current to clear the "Discharging current present" – a current level to clear the "Discharging current present" signal, А;
Admin 38.2 325 * Use actual voltage to generate the "Ready to discharge" signal – a flag to disable voltage correction for "Ready to discharge" signal;
326 * Use actual voltage to generate the "Ready to discharge" signal if the current is positive – a flag to disable voltage correction for "Ready to discharge" signal only at charging current;
Admin 34.1 327 * Voltage to clear the “Ready to discharge” – a threshold U,,ocv,, (corrected due to current and cell resistance) voltage level on the cell, V; if the voltage of any cell is below this level, the “Ready to discharge” signal is cleared;
328 * Voltage to reset the “Ready to discharge” – a tolerant U,,ocv,, (corrected due to current and cell resistance) voltage level on the cell, V; if all cells voltages are above the tolerant level, the “Ready to discharge” signal is set;
Admin 48.1 329 * Check the 'Discharge current limit' value to generate the 'Ready to discharge' – a flag to enable check of "Discharging current limit" to generate the "Ready to discharge" signal;
330 * Discharge current limit to clear the 'Ready to discharge' – a threshold discharging current limit value, A; if the limit is //above //this level, the “Ready to discharge” signal is cleared;
331 * Discharge current limit to set the 'Ready to discharge' – a tolerant discharging current limit value, A; if the limit is //below //this level, the “Ready to discharge” signal is set;
Admin 51.1 332 * Clear the 'Ready to discharge' signal if the 'Low SOC' signal is set;
Admin 23.2 333 * Errors 1, 2 to clear the "Ready to discharge" – bitfields to choose the errors which will clear the "Ready to discharge" signal.
334
335 === Precharge ===
336
337 The BMS Main 3 device can control the precharge contactor. The precharge contactor is used to charge the intermediate capacity with low current and usually placed with the limiting resistor in parallel to charging or discharging contactor.
338
339 BMS Main 3 device detects errors while pre-charging the load capacity by monitoring the current and voltage difference before and after contactors. Also BMS can measure the power dissipated on precharge resistor and generate an error if it greater than configured limit.
340
Admin 49.1 341 To change the parameters of precharge contactor, select the "Control → Precharge" section:
342
Admin 38.3 343 [[image:1754931813173-804.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="172" width="800"]]
Admin 23.2 344
Admin 49.1 345 In this section:
Admin 23.2 346
Admin 39.1 347 * Precharge current threshold to finish precharging – a minimum current value at which precharging process assumed to be finished, A;
Admin 38.3 348 * Keep the precharging relay closed until precharge is finished – a flag to ignore the Precharge time and wait precharging to finish before open precharge relay;
Admin 23.2 349 * Number of precharging attempts – maximum number of precharging attempts before setting the "Precharge error";
Admin 39.1 350 * Delay before current measurement – a delay before first current measurement after closing precharge, millisecond;
Admin 23.2 351 * Precharge time – a duration of closing the precharge contactor before closing the discharging contactor, millisecond;
352 * Relaxation between attempts – a duration between precharge attempts, millisecond;
353 * Check the power dissipated in the preacharge resistor - a flag to enable the calculation of power dissipated in precharge resistor;
354 * Precharge resistor resistance, Ohm;
355 * Maximum allowable power dissipated in the resistor, W;
356 * Delay before setting the "Precharge error" when checking power, millisecond;
357 * Delay before clearing the "Precharge error", second;
358 * Lock the "Precharge error" – a flag to block the error until the device is restarted.
359
360 “Precharge error” generation conditions if any of the following is true:
361
362 * the precharge current does not decrease during the "Precharge time" after "Number of precharging attempts";
363 * power dissipated on the precharge resistor is above the maximum value during the “Delay before setting the 'Precharge error' when checking power” time.
364
365 (% class="box warningmessage" %)
366 (((
367 Behavior of contactors at “Precharge error” is configured in corresponding contactor settings!
368 )))
369
Admin 1.1 370 === Charge ===
371
372 There are two contactors that serve charging the battery: a charging contactor and an allow charging contactor. With the help of the allow charging contactor, the BMS commands the charger to start or stop charging.
373
374 The device supports three charge control algorithms:
375
Admin 24.2 376 * Always on – charging is always allowed;
377 * On charger connected – charging is allowed when there is a signal “Charger connected”;
378 * On charge request – charging is allowed when there is a signal “Charge request”.
Admin 1.1 379
Admin 24.2 380 If the "**Always on**" algorithm is selected, the charging contactor and the allow charging contactor are always closed. If at least one of the errors from the "Errors 1, 2 ..." bitfields appears or one of the signals:
Admin 1.1 381
Admin 24.2 382 * Service reset;
383 * Power down request;
384 * Inhibit charging,
Admin 1.1 385
386 both contactors are open (no current flows).
387
Admin 24.2 388 When the algorithm "**On charger connected**" is selected, the control is performed as follows:
Admin 1.1 389
Admin 24.2 390 * If there is a signal “Charger connected” and there are no errors (see the "Errors 1, 2 ..." bitfields), then through the delay time T,,on,, the charging contactor and the allow charging contactor close;
Admin 1.1 391 * If the signal “Charger connected” disappears, the allow charging contactor opens and after the delay time T,,off,, the charging contactor opens;
392 * If in the process of charging the voltage on the cell exceeds the “Ready to charge” level, the allow charging contactor opens (while the charging contactor remains closed);
Admin 24.2 393 * If errors from the "Errors 1, 2 ..." bitfields occur the charging contactor and allow charging contactor open.
Admin 1.1 394
Admin 24.2 395 When the "**On charge request**" algorithm selected, the control is performed as follows:
Admin 1.1 396
Admin 24.2 397 * If there is a signal “Charge request” and there are no errors (see the "Errors 1, 2 ..." bitfields), then through the delay time T,,on,, the charging contactor and the allow charging contactor close;
Admin 1.1 398 * If the signal “Charge request” disappears, the allow charging contactor opens and after the delay time T,,off,, the charging contactor opens;
399 * If in the process of charging the voltage on the cell exceeds the “Ready to charge” level, the allow charging contactor opens (while the charging contactor remains closed);
Admin 24.2 400 * If errors from the "Errors 1, 2 ..." bitfields occur the charging contactor and allow charging contactor open.
Admin 1.1 401
Admin 2.1 402 (% class="box infomessage" %)
403 (((
Admin 24.2 404 **Note: **when errors occur in the system, the **Charge **contactor opens either immediately or with the delay T,,off,, (depends on the settings described below).
Admin 2.1 405 )))
Admin 1.1 406
407 To change the parameters of the battery charge control algorithm, select the "Control → Charge" section:
408
Admin 24.2 409 [[image:1740399363134-722.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="306" width="800"]]
Admin 1.1 410
411 In this section:
412
413 * Enable – a flag to activate the charge control;
414 * Algorithm:
415 ** Always on – charging is always allowed;
416 ** On charger connected – charging is allowed when there is a signal “Charger connected”;
417 ** On charge request – charging is allowed when there is a signal “Charge request”;
Admin 24.3 418 * Allow charging only when the "Ready to charge" signal is set – charging contactor will open if "Ready to charge" signal is cleared;
Admin 1.1 419 * Delay before starting charging – a time delay T,,on,, before closing the charging contactor and the allow charging contactor, millisecond;
420 * Delay before stopping charging – a time delay T,,off,, before opening the charging contactor, millisecond;
Admin 24.5 421 * Control the precharging contactor – a flag that allows control of the precharging contactor (see [[Precharge>>url:http://#HPrecharge]]);
Admin 1.1 422 * Use custom delays before stopping charging (on errors) – a flag to enable manual settings of time delays T,,off,, for specific errors;
Admin 24.3 423 * Errors 1, 2 to open the charging contactor – bitfields to choose the errors which will open the charging contactor;
Admin 1.1 424 * Custom delay: <error> – specific error delay, millisecond;
425 * Switch off the charging contactor on errors without delay – a flag to protectively open the charging contactor without a delay. In the opposite case, when an error is detected, the charging contactor opens always with the delay “Delay before stopping charging”;
426
427 === Discharge ===
428
429 The device controls the discharging contactor to connect battery to the load.
430
431 The device supports three algorithms to control battery discharging:
432
Admin 25.2 433 * Always on – load is always connected;
434 * On charger disconnected – load is connected when there is no signal “Charger connected”;
435 * On discharge request – load is connected when there is signal “Discharge request”.
Admin 1.1 436
Admin 25.2 437 When the algorithm "**Always on**" is selected, the discharging contactor is always closed. If at least one of the errors from the "Errors 1, 2 ..." bitfields appears or one of the signals:
Admin 1.1 438
Admin 25.2 439 * Service reset
440 * Power down request
441 * Inhibit discharging
Admin 1.1 442
443 the discharging contactor opens.
444
Admin 25.2 445 If the algorithm "**On charger disconnected**" is selected, the control is performed as follows:
Admin 1.1 446
Admin 25.2 447 * if there is no signal “Charger connected”, the charging contactor is open and there are no errors (see the "Errors 1, 2 ..." bitfields), then through the delay time T,,on,, the discharging contactor closes;
448 * If the signal “Charger connected” appears or errors occur (see the "Errors 1, 2 ..." bitfields), then after the delay time T,,off,, the discharging contactor opens.
Admin 1.1 449
Admin 25.2 450 When the "**On discharge request**" algorithm selected, the control is performed as follows:
Admin 1.1 451
Admin 25.2 452 * if there is signal “Discharge request”, the charging contactor is open and there are no errors (see the "Errors 1, 2 ..." bitfields), then through the delay time T,,on,, the discharging contactor closes;
453 * If the signal “Discharge request” disappears or errors occur (see the "Errors 1, 2 ..." bitfields), then after the delay time T,,off,, the discharging contactor opens.
Admin 1.1 454
Admin 2.1 455 (% class="box infomessage" %)
456 (((
Admin 25.2 457 **Note: **when errors occur in the system, the **Discharge **contactor opens either immediately or with the delay T,,off,, (depends on the settings described below).
Admin 2.1 458 )))
Admin 1.1 459
460 To change the parameters of the battery discharge control algorithm, select the "Control → Discharge" section:
461
Admin 25.2 462 [[image:1740399783613-216.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="311" width="800"]]
Admin 1.1 463
464 In this section:
465
466 * Enable – a flag to activate the discharge control;
467 * Algorithm:
468 ** Always on – load is always connected;
469 ** On charger disconnected – load is connected when there is no signal “Charger connected”;
470 ** On discharge request – load is connected when there is signal “Discharge request”;
Admin 25.2 471 * Allow charging only when the "Ready to discharge" signal is set – discharging contactor will open if "Ready to discharge" signal is cleared;
Admin 1.1 472 * Delay before starting discharging – a time delay T,,on,, before closing the discharging contactor, millisecond;
473 * Delay before stopping discharging – a time delay T,,off,, before opening the discharging contactor, millisecond;
Admin 25.2 474 * Control the precharging contactor – a flag that allows control of the precharging contactor while closing the discharge contactor (see [[Precharge>>path:#HPrecharge]]);
475 * Errors 1, 2 to open the discharging contactor – bitfields to choose the errors which will open the discharging contactor;
Admin 1.1 476 * Use custom delays before stopping discharging (on errors) – a flag to enable manual settings of time delays T,,off,, for specific errors;
477 * Custom delay: <error> – specific error delay, millisecond;
478 * Switch off the discharging contactor on errors without delay – a flag to protectively open the discharging contactor without a delay. In the opposite case, when an error is detected, the discharging contactor opens always with the delay “Delay before stopping discharging”.
479
480 === Charge/Discharge ===
481
Admin 55.3 482 The BMS Mini S / BMS Mini device can control the charging/discharging contactor that is used to both charge and discharge the battery.
Admin 1.1 483
Admin 27.2 484 Charge/Discharge contactor has three algorithms of operation:
Admin 1.1 485
Admin 27.2 486 * Dependent (on Charging and Discharging signals) - Charge/Discharge contactor depends on Charge and Discharge algorithms and their signals and behaves as Charging contactor if Charging signal is set, otherwise – as Discharging contactor;
487 * Independent (Always) - Charge/Discharge contactor is always closed if there is no errors;
488 * Independent (on Charge request or Discharge request) - Charge/Discharge contactor is based on its own controller that listen to Charge and Discharge requests and closes if one of these signals occurs.
489
490 TBA
491
492 (% class="box infomessage" %)
493 (((
494 **Note: **when errors occur in the system, the **Charge/Discharge **contactor opens either immediately or with the delay T,,off,, (depends on the settings described below).
495 )))
496
Admin 1.1 497 The charging/discharging contactor control is configured in the “Control – Charge/Discharge” section:
498
Admin 27.2 499 [[image:1740400166950-906.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="211" width="800"]]
Admin 1.1 500
Admin 27.2 501 In this section:
502
Admin 1.1 503 * Enable – a flag to enable the charge/discharge controller.
Admin 27.2 504 * Algorithm:
505 ** Dependent (on Charging and Discharging signals) - Charge/Discharge contactor depends on Charge and Discharge algorithms and their signals and behaves as Charging contactor if Charging signal is set, otherwise – as Discharging contactor;
506 ** Independent (Always) - Charge/Discharge contactor is always closed if there is no errors;
507 ** Independent (on Charge request or Discharge request);
508 * Delay before starting charging or discharging, millisecond;
509 * Delay before stopping charging or discharging, millisecond;
510 * Control the precharging contactor – a flag that enables control of precharging contactor while closing the charge/discharge contactor;
511 * Emulate the "Charging" and "Discharging" signals – a flag to enable generation of "Charging" and "Discharging" signals when closing charge/discharge contactor;
512 * Errors 1, 2 to prevent CHARGING through charging/discharging contactor, Errors 1, 2 to prevent DISCHARGING through charging/discharging contactor – bitfields to choose the errors which will open the charging/discharging contactor. This bitfields are combined by bitwise OR and intended to separate settings for charging and discharging processes;
513 * Errors 1, 2 which affect the contactor only if battery CHARGING is detected – a bitfield to choose the errors which will trigger only if charging current is present. This bitfield is combined with "Errors 1, 2 to prevent CHARGING through charging/discharging contactor" by bitwise AND;
514 * Errors 1, 2 which affect the contactor only if battery DISCHARGING is detected – a bitfield to choose the errors which will trigger only if discharging current is present. This bitfield is combined with "Errors 1, 2 to prevent DISCHARGING through charging/discharging contactor" by bitwise AND;
515 * Switch off the charging/discharging contactor on errors without delay – a flag to protectively open the charging/discharging contactor without a delay. In the opposite case, when an error is detected, the charging/discharging contactor opens always with the delay “Delay before stopping discharging”.
Admin 1.1 516
517 === Discharge (AUX) ===
518
Admin 55.3 519 The BMS Mini S / BMS Mini device can control the power supply of external equipment using the auxiliary (AUX) discharging contactor. An example of external equipment can be an inverter that converts DC to AC to power a service laptop and other devices.
Admin 1.1 520
521 The power supply circuit of the external equipment using the auxiliary (AUX) discharging contactor is independent of the battery load circuit. The closing and opening of the auxiliary (AUX) discharging contactor is performed according to its program.
522
523 If the power supply function of the external equipment is enabled, the auxiliary (AUX) discharging contactor closes. The opening of this contactor occurs on three independent conditions:
524
525 * the battery has low SOC;
526 * the battery voltage is out of range;
527 * the battery system errors are detected.
528
529 To change the parameters of the powering of external equipment, select the "Control → Discharge (AUX)" section:
530
531
Admin 27.3 532 [[image:1740400254884-851.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="179" width="800"]]
Admin 1.1 533 In this section:
534
535 * Enable – a flag to activate the auxiliary discharge control;
536 * Switch off the discharging (AUX) contactor if the SOC is too low;
537 * Minimum SOC – a minimum SOC value, when reached, the auxiliary (AUX) discharging contactor opens, %;
538 * Tolerant SOC – a permissive SOC value, upon reaching which the auxiliary (AUX) discharging contactor re-closes, %;
Admin 27.4 539 * Switch off the discharging (AUX) contactor if the cell voltage is out of the range;
540 * Minimum cell voltage, V;
541 * Maximum cell voltage, V;
Admin 1.1 542 * Switch off the discharging (AUX) contactor if the battery voltage is out of the range;
Admin 27.4 543 * Minimum battery voltage, V;
544 * Maximum battery voltage, V;
545 * Errors 1, 2 to open the auxiliary discharging contactor – bitfields to choose the errors which will open the auxiliary discharging contactor.
Admin 1.1 546
547 === Cell balancing ===
548
Admin 30.2 549 Balancing makes the voltage of all cells equal to the minimum cell voltage.
Admin 1.1 550
551 The following balancing rules are supported:
552
Admin 30.2 553 * when the battery is charging (current I > 0) and time after until the battery is relaxed;
Admin 1.1 554 * when the battery is charging (current I > 0) or when the battery is in a state of relaxation;
555 * always (regardless of battery state).
556
Admin 30.2 557 A balancing resistor is connected to the cell if the following conditions are simultaneously met:
Admin 1.1 558
Admin 30.2 559 * the voltage on the cell is higher than the balancing start voltage;
560 * the difference between the voltage on the cell and the minimum voltage among the battery cells is greater than the balancing start threshold;
Admin 1.1 561
Admin 30.2 562 A balancing resistor is disconnected from the cell if any of the following conditions are met:
563
564 * the voltage on the cell is less than the balancing stop voltage;
565 * the difference between the voltage on the cell and the minimum voltage among the battery cells is less than the balancing stop threshold.
566
Admin 2.1 567 (% class="box infomessage" %)
568 (((
Admin 30.2 569 If the “High logic temperature” occurs, then the balancing of the cells connected to the overheated BMS Logic device will not be performed.
Admin 2.1 570 )))
Admin 1.1 571
Admin 55.3 572 The BMS Mini S / BMS Mini device can enable the cell balancing by the external “Balancing request” signal. Balancing process will be started to cells which the voltage is higher than the balancing start voltage and the difference between the cell voltage and the minimum voltage among all the cells is greater than the balancing stop threshold.
Admin 30.2 573
Admin 55.3 574 BMS Mini S / BMS Mini device can force a cell balancing, if its voltage is higher than estimated value.
Admin 30.2 575
Admin 1.1 576 To change the cell balancing parameters, select the "Control → Cell balancing" section:
577
Admin 28.2 578 [[image:1740404562825-676.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="168" width="800"]]
Admin 1.1 579 In this section:
580
581 * Enable – a flag to enable cell balancing;
582 * Balancing rule:
583 ** Balance on charge;
584 ** Balance on charge or relaxed;
585 ** Balance always;
Admin 30.2 586 * Balancing condition:
587 ** Automatic – balancing will be performed automatically if needed conditions are met;
588 ** On balancing request – balancing will start only if a remote request is received. In this case cells will start to balance regardless the "Voltage deviation to start balancing" value;
Admin 1.1 589 * Minimum cell voltage to start balancing, V;
Admin 30.2 590 * Voltage deviation to start balancing;
591 * Voltage deviation to stop balancing;
592 * Voltage for forced balancing – if cell voltage is above this value, it will start discharging through balancing resistor;
593 * Maximum allowable temperature of the board, ºC;
594 * Command to discharge all cells – a flag to force the balancing of all cells.
Admin 1.1 595
596 === Power down ===
597
Admin 55.3 598 The BMS Mini S / BMS Mini device can shut down itself if the battery voltage is low or the battery is idle for a long time.
Admin 1.1 599
600 Shutting down the battery system is performed according to the following conditions:
601
602 * the battery voltage is below the minimum level;
603 * the “Charger connected” signal is cleared for 60 seconds.
604
Admin 55.3 605 The BMS Mini S / BMS Mini device also shuts down the battery if it stays in the “Charging OFF”, “Discharging OFF”, “Relaxed (after charging)” or “Relaxed (after discharging)” for the set time.
Admin 1.1 606
607 To change the parameters of the power down control, select the "Control → Power down" section:
608
Admin 30.2 609 [[image:1740404859367-943.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="130" width="800"]]
Admin 1.1 610 In this section:
611
612 * Minimum voltage to power down – a minimum voltage level of the battery below which the BMS commands to shut down the battery, V;
613 * Idle time to power down – a time of battery inactivity after which the battery is shut down, minute;
Admin 30.2 614 * Wait the "Power up/down request" is cleared (on startup) – a flag to enable delay for clearing the “Power up/down request” signal while starting the BMS;
615 * Delay before setting the internal power down signal – a delay before turning off the device power when receiving the “Power down request” command, ms.
Admin 1.1 616
617 === Heater ===
618
619 To change the parameters of the heater control algorithm, select the "Control → Heater" section:
620
Admin 52.2 621 [[image:1777293968000-235.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="141" width="800"]]
Admin 1.1 622 In this section:
623
624 * Enable – a flag to enable heater control;
625 * Minimum cell temperature, °C;
626 * Tolerant cell temperature, °C;
Admin 52.2 627 * Start the heater only if "Charger connected" signal is set;
Admin 1.1 628 * Delay before starting the heater, millisecond;
629 * Delay before stopping the heater, millisecond;
Admin 31.2 630 * Errors 1, 2 to turn off the heater – bitfields to choose the errors which will turn off the heater.
Admin 1.1 631
632 As a result of operating the heating algorithm, the “Heater” signal is generated.
633
634 Conditions for signal generation:
635
636 * The minimum temperature among all cells of the battery is less than the “Minimum cell temperature” value during the “Delay before starting the heater” time.
637
638 Conditions for clearing the signal:
639
640 * the minimum temperature among all cells of the battery is greater than the “Tolerant cell temperature” value during the “Delay before stopping the heater” time.
641
Admin 2.1 642 (% class="box infomessage" %)
643 (((
Admin 1.1 644 If there is the "Heater" signal, the heater contactor closes and/or a signal is output to the corresponded digital output.
Admin 2.1 645 )))
Admin 1.1 646
647 === Cooler ===
648
649 To change the parameters of the cooler control algorithm, select the "Control → Cooler" section:
650
651
Admin 31.2 652 [[image:1740405145695-704.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="149" width="800"]]
Admin 1.1 653 In this section:
654
655 * Enable – a flag to enable cooler control;
656 * Maximum cell temperature, °C;
657 * Tolerant cell temperature, °C;
658 * Delay before starting the cooler, millisecond;
659 * Delay before stopping the cooler, millisecond;
Admin 31.2 660 * Errors 1, 2 to turn off the heater – bitfields to choose the errors which will turn off the cooler.
Admin 1.1 661
662 As a result of operating the cooling algorithm, the "Cooler" signal is generated.
663
664 Conditions for signal generation:
665
666 * the maximum temperature among all cells of the battery is greater than the “Maximum cell temperature” value during the “Delay before starting the cooler” time.
667
668 Conditions for clearing the signal:
669
670 * the maximum temperature among all cells of the battery is less than the “Tolerant cell temperature” value during the “Delay before stopping the cooler” time.
671
Admin 2.1 672 (% class="box infomessage" %)
673 (((
Admin 1.1 674 If there is the "Cooler" signal, the cooler contactor closes and/or a signal is output to the corresponded digital output.
Admin 2.1 675 )))
Admin 1.1 676
677 === Cell analysis ===
678
679 Discharge characteristics of the battery – the dependence Uocv = Uocv (DOD) – is used to determine the tabular dependence Uocv = Uocv (SOC, t °C), which is necessary for calculating the state of charge of the battery.
680
Admin 55.3 681 The BMS Mini S / BMS Mini device can automatically determine the battery discharge characteristic.
Admin 1.1 682
683 Before starting the process of determining the discharge characteristic, it is necessary to prepare a BMS:
684
685 1. Charge the battery.
686 1. Connect a resistive load to the discharging contactor, which will provide a discharge current of 0.5C (where C is the cell capacitance).
687
688 To configure parameters for determining the discharge characteristic of the battery, select the "Control → Cell analysis" section:
689
Admin 2.1 690 [[image:1733746808498-116.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="103" width="800"]]
Admin 1.1 691
692 In this section:
693
694 * Enable – a flag to enable cell analysis;
695 * Discharge step, Ah;
696 * Delta voltage – a maximum allowable voltage drop for the cell, V;
697 * Cell index – a position of the analyzed cell;
698 * Analyse the most discharged cell – a flag to analyse of the least charged cell (in this case, the value “Cell index” is ignored).
699
700 Discharge step should be set equal to
701
702 Discharge step= С/21,
703
704 where C is the cell capacity.
705
706 The discharge characteristic will be constructed for the given cell (its position is determined by the field “Cell index”).
707
708 The algorithm for determining the discharge characteristic of the battery will be started if the “Enable” flag is set. From this moment, the control of the discharge contactor is performed by this algorithm.
709
710 Algorithm steps:
711
712 1. DOD = 0.
713 1. Opening the discharging contactor.
714 1. Waiting for the relaxation of the battery.
715 1. Measuring Uocv = U.
716 1. Saving the point of the discharge characteristic (Q, U,,OCV,,).
717 1. Closing of the discharging contactor. DOD,,1,, = DOD + Discharge step, U,,1,, = U
718 1. If DOD = DOD,,1,, or U < (U,,1,, – Delta voltage), then go to step 2.
719 1. If the "Undervoltage" error is detected, then the end of the algorithm.
720
721 During the operation of the algorithm, a file with the name "CELLANALYSIS.TXT" in the CSV format will be created on the SD card.
722
723 File structure:
724
725 |**Time**|**DOD**|**Cell**|**OCV**|**Resistance**
726 |**10.11.2017 12:28:34**|0.0|1|4.180|0.080000
727 |**...**|...|…|...|...
728
729 Parameter names:
730
731 * Time – date and time;
732 * DOD – depth of discharge, Ah;
733 * Cell – position of the analyzed cell for which OCV and Resistance values are provided;
734 * OCV – cell voltage Uocv, V;
Admin 2.1 735 * Resistance – cell resistance, Ohm.