Wiki source code of 3.3 Control

Version 2.4 by Admin on 2024/12/11 13:11

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 2.1 11 [[image:1733746733473-873.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="124" width="800"]]
Admin 1.1 12
13 In this section:
14
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 (atfer discharging) – the relaxation time after discharging, second;
19 * Number of cycles – a number of charge-discharge cycles;
20 * Reset parameters– a command to reset cells state of charge, capacity, and resistance.
21
22 The values “Capacity”, “Resistance”, “Cycles” are used to calculate the SOC of cells and the battery.
23
24 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.
25
26 The “Reset parameters” command is used for starting-up and adjustment of the battery.
27
28 === SOC estimation ===
29
30 The BMS Mini device calculates the state of charge of the battery (SOC) using two algorithms:
31
32 * by open circuit voltage;
33 * by voltage and current.
34
35 It is recommended to use the algorithm of calculation of SOC by voltage and current.
36
37 To change the estimation algorithm for calculating the battery SOC, select the "Control → SOC estimation → Algorithm" section:
38
Admin 2.1 39 [[image:1733746733477-590.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="166" width="800"]]
Admin 1.1 40
41 The following estimation algorithms supported:
42
43 * Voltage – by open circuit voltage;
44 * Current and voltage (simplified);
45 * Current and voltage (enhanced);
46
47 The SOC calculation algorithm for voltage calculates cells SOC based on the tabular dependence Uocv = Uocv(SOC, t °C).
48
49 The SOC calculation algorithm “Current and voltage (simplified)” works as follows:
50
51 * 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);
52 * in any other cases, the SOC value is proportional to the charge (coulomb) passed through the battery (current time integral).
53
54 The SOC calculation algorithm “Current and voltage (enhanced)” 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).
55
56 To change the algorithm for calculating the Final SOC, select the "Control → SOC estimation → Final SOC" section:
57
Admin 2.1 58 [[image:1733746733478-414.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="167" width="800"]]
Admin 1.1 59
60 The following battery Final SOC calculation methods are supported:
61
Admin 2.1 62 * Minimal SOC – SOC of the modular battery is assumed to be the minimum SOC among the battery modules;
63 * Average SOC – SOC of the modular battery is taken equal to the arithmetic average of the SOC of the battery modules.
Admin 1.1 64
65 To change other settings of SOC estimation, select the "Control → SOC estimation” section:
66
Admin 2.1 67 [[image:1733746733479-261.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="165" width="800"]]
Admin 1.1 68
69 In this section:
70
71 * Scale the final SOC – a flag to scale the battery SOC by the following values;
72 * SOC corresponding to 0% – battery SOC that sets to be 0%;
73 * SOC corresponding to 100% – battery SOC that sets to be 100%.
74 * Uocv (open-circuit voltage) table – the dependence of the cell open circuit voltage Uocv on SOC and the cell temperature (selected for specific batteries);
75
Admin 2.1 76 [[image:1733746733480-919.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="484" width="800"]]
Admin 1.1 77
78 * Linear zone: point 1 – starting point of the linear zone of Uocv dependence;
79 * Linear zone: point 2 – ending point of the linear zone of Uocv dependence;
80 * Coulomb counting correction (temperature) – the dependence of battery capacity on temperature;
81
Admin 2.1 82 [[image:1733746733481-286.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="160" width="800"]]
Admin 1.1 83
84 * Coulomb counting correction (cycles) – the dependence of battery capacity on the number of charge-discharge cycles.
85
Admin 2.1 86 [[image:1733746733482-538.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="161" width="800"]]
Admin 1.1 87
88
89 === SOC correction ===
90
91 The 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 section **SOC estimation**).
92
93 To configure parameters for periodically correcting the battery state of charge, select the "Control → SOC correction" section:
94
Admin 2.1 95 [[image:1733746733483-444.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="160" width="800"]]
Admin 1.1 96
97 In this section:
98
99 * Enable – a flag to enable SOC correction;
100 * 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);
101 * 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”.
102 * SOC change time – a duration of the linear changing the battery SOC to the value calculated by the correction algorithm, minute;
103 * Ignore the linear zone – a flag to ignore linear SOC zone while correction;
104 * Last correction timestamp – time when last correction was made.
105
Admin 2.1 106 === Resistance estimation ===
Admin 1.1 107
108 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
109
110 R = (U-U,,ocv,,) / I,,stable,,,
111
112 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.
113
114 The second method is used for a stepwise change in the current through the cell, while the value of the cell resistance:
115
116 R = (U,,2,,-U,,1,,) / (I,,stable2,,-I,,stable1,,) provided that | I,,stable2,,-I,,stable1,, | > 0.2 × Q,,max,,
117
118 (Q,,max,, is the maximum cell capacity),
119
120 where U,,2,, is the 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.
121
122 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.
123
124 To change parameters of the algorithm for calculating the cell resistance, select the "Control → Resistance estimation" section:
125
Admin 2.1 126 [[image:1733746733484-681.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="104" width="800"]]
Admin 1.1 127
128 In this section:
129
130 * Current stabilization time, millisecond;
131 * 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;
132 * Maximum resistance factor – the coefficient of calculation of the maximum acceptable resistance of the cell;
133 * Minimum SOC – minimum cell SOC value for resistance calculation;
134 * Maximum SOC – maximum cell SOC value for resistance calculation.
135
136 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). 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).
137
138 === Charge map ===
139
140 The BMS Mini device calculates maximum allowable charge current values in respect to SOC, battery temperature, contactor temperature and cell voltage.
141
142 Calculated current values are sending to a charger or an intellectual load over the CAN bus.
143
144 To configure parameters for determining the charge current limit, select the "Control → Charge map" section:
145
Admin 2.1 146 [[image:1733746766504-864.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="138" width="800"]]
Admin 1.1 147
148 In this section:
149
150 * Enable – a flag to start calculation of the charge current limit;
151 * Maximum charge current – a maximum allowable value of the charge current (under normal conditions):
152 * Option 1: Limit charge current by the battery SOC and temperature – a flag to enable correction of maximum allowable charging current Kcs depending on SOC and battery temperature;
153 * Option 1: SOC x Temperature x Factor – the dependence of the correction factor on SOC and battery temperature;
154
Admin 2.1 155 [[image:1733746766506-660.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="196" width="800"]]
Admin 1.1 156
157 * Option 2: Limit charge current by the contactor temperature – a flag to enable correction of maximum allowable charging current Kcc depending on contactor temperature;
158 * Option 2: Contactor temperature x Factor – the dependence of the correction factor on SOC and contactor temperature;
159
Admin 2.1 160 [[image:1733746766508-178.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="184" width="800"]]
Admin 1.1 161
162 * Option 3: Limit charge current by the maximum cell voltage - a flag to enable correction of maximum allowable charging current Kcv depending on maximum cell voltage;
163 * Option 3: Cell voltage x Factor – the dependence of the correction factor on maximum cell voltage.
164
Admin 2.1 165 [[image:1733746766509-971.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="217" width="800"]]
Admin 1.1 166
167 Value of the charge current limit at given SOC, temperature, contactors temperature and maximum cell voltage is calculated as follows:
168
169 Charging current limit = Maximum charging current × Kcs × Kcc × Kcv
170
171 === Discharge map ===
172
173 The BMS Mini device calculates maximum allowable discharge current values in respect to SOC, battery temperature, contactor temperature and cell voltage.
174
175 Calculated current values are sending to a charger or an intellectual load over the CAN bus.
176
177 To configure parameters for determining the discharge current limit, select the "Control → Discharge map" section:
178
Admin 2.1 179 [[image:1733746766511-477.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="149" width="800"]]
Admin 1.1 180
181 In this section:
182
183 * Enable – a flag to start calculation of the discharge current limit;
184 * Maximum discharge current – a maximum allowable value of the discharge current (under normal conditions):
185 * Option 1: Limit discharging current by the battery SOC and temperature – a flag to enable correction of maximum allowable discharging current Kds depending on SOC and temperature;
186 * Option 1: SOC x Temperature x Factor – the dependence of the correction factor on SOC and battery temperature;
187
Admin 2.1 188 [[image:1733746766512-300.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="195" width="800"]]
Admin 1.1 189
190 * Option 2: Limit discharge current by the contactor temperature – a flag to enable correction of maximum allowable discharging current Kdc depending on contactor temperature;
191 * Option 2: Contactor temperature x Factor – the dependence of the correction factor on SOC and contactor temperature;
192
Admin 2.1 193 [[image:1733746766513-161.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="183" width="800"]]
Admin 1.1 194
195 * Option 3: Limit discharge current by the cell voltage - a flag to enable correction of maximum allowable discharging current Kdv depending on minimum cell voltage;
196 * Option 3: Cell voltage x Factor – the dependence of the correction factor on minimum cell voltage.
197
Admin 2.1 198 [[image:1733746766514-686.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="215" width="800"]]
Admin 1.1 199
200 Value of the discharge current limit at given SOC, temperature, contactors temperature and minimum cell voltage is calculated as follows:
201
202 Discharging current limit = Maximum discharging current × Kds × Kdc × Kdv
203
204
205 === Charge ===
206
207 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.
208
209 The device supports three charge control algorithms:
210
211 * charging is always allowed;
212 * charging is allowed when there is a signal “Charger connected”;
213 * charging is allowed when there is a signal “Charge request”.
214
215 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 appears:
216
217 * Overvoltage;
218 * Overcurrent;
219 * High temperature (CH);
220 * Low temperature (CH);
221 * HYG offline (optional);
222 * Combilift offline (optional);
223 * Spirit offline (optional);
224 * Spirit charger error (optional);
225 * Short circuit (optional);
226 * High contactor temperature (optional);
227 * CH contactor cycles error;
228 * Critical error
229
230 both contactors are open (no current flows).
231
232 When the algorithm "**On Charger connected**" is selected, the control is performed as follows:
233
234 * If there is a signal “Charger connected” and there are no errors (see the list above), then through the delay time T,,on,, the charging contactor and the allow charging contactor close;
235 * If the signal “Charger connected” disappears, the allow charging contactor opens and after the delay time T,,off,, the charging contactor opens;
236 * 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);
237 * If errors in the list above occur the charging contactor and allow charging contactor open.
238
239 When the "**On Charge request**" algorithm selected, the control is performed as follows:
240
241 * If there is a signal “Charge request” and there are no errors (see the list above), then through the delay time T,,on,, the charging contactor and the allow charging contactor close;
242 * If the signal “Charge request” disappears, the allow charging contactor opens and after the delay time T,,off,, the charging contactor opens;
243 * 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);
244 * If errors in the list above occur the charging contactor and allow charging contactor open.
245
Admin 2.1 246 (% class="box infomessage" %)
247 (((
248 Note: when errors occur in the system, the **charging **contactor opens either immediately or with the delay T,,off,, (depends on the settings described below).
249 )))
Admin 1.1 250
251 When the power down request occurs, the allow charging contactor opens immediately and the charging contactor opens after the delay T,,off,,. Reclosing the charging contactor and allow charging contactor is performed if the power down request is removed.
252
253 To change the parameters of the battery charge control algorithm, select the "Control → Charge" section:
254
Admin 2.1 255 [[image:1733746766516-845.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="319" width="800"]]
Admin 1.1 256
257 In this section:
258
259 * Enable – a flag to activate the charge control;
260 * Algorithm:
261 ** Always on – charging is always allowed;
262 ** On charger connected – charging is allowed when there is a signal “Charger connected”;
263 ** On charge request – charging is allowed when there is a signal “Charge request”;
264 * Current corresponding to charging – a current level to generate the "Charging current present" signal, A;
265 * Current corresponding to no charging – a current level to clear the "Charging current present" signal, A;
266 * Delay before starting charging – a time delay T,,on,, before closing the charging contactor and the allow charging contactor, millisecond;
267 * Delay before stopping charging – a time delay T,,off,, before opening the charging contactor, millisecond;
268 * Use custom delays before stopping charging (on errors) – a flag to enable manual settings of time delays T,,off,, for specific errors;
269 * Custom delay: <error> – specific error delay, millisecond;
270 * 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”;
271 * Control the precharging contactor – a flag that allows control of the precharging contactor;
272 * Voltage to clear the “Ready to charge” – a threshold 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;
273 * Voltage to reset the “Ready to charge” – a tolerant 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;
274 * 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.
275
276 Note – The allow charging contactor closes under two independent conditions: 1) the voltage on the cells reaches the “Voltage to reset the “Ready to charge"” level and 2) the "Delay before recharging" time has passed since the opening of the allow charging contactor.
277
278 === Discharge ===
279
280 The device controls the discharging contactor to connect battery to the load.
281
282 The device supports three algorithms to control battery discharging:
283
284 * load is always connected;
285 * load is connected when there is no signal “Charger connected”;
286 * load is connected when there is signal “Discharge request”.
287
288 When the algorithm "**Always on**" is selected, the discharging contactor is always closed. If at least one of the errors appears:
289
290 * Undervoltage;
291 * Overvoltage (optional);
292 * Overcurrent;
293 * High temperature (DCH);
294 * Low temperature (DCH) (optional);
295 * HYG offline (optional);
296 * Combilift offline (optional);
297 * Spirit offline (optional);
298 * Spirit charger error (optional);
299 * Short circuit (optional);
300 * High contactor temperature (optional);
301 * DCH contactor cycles error;
302 * Critical error
303
304 the discharging contactor opens.
305
306 If the algorithm "**On Charger disconnected**" is selected, the control is performed as follows:
307
308 * if there is no signal “Charger connected”, the charging contactor is opened and there are no errors (see the list above), then through the delay time T,,on,, the discharging contactor closes;
309 * If the signal “Charger connected” appears or errors occur (see the list above), then after the delay time T,,off,, the discharging contactor opens.
310
311 When the "**On Discharge request**" algorithm selected, the control is performed as follows:
312
313 * if there is signal “Discharge request”, the charging contactor is opened and there are no errors (see the list above), then through the delay time T,,on,, the discharging contactor closes;
314 * If the signal “Discharge request” disappears or errors occur (see the list above), then after the delay time T,,off,, the discharging contactor opens.
315
Admin 2.1 316 (% class="box infomessage" %)
317 (((
318 Note: in case of errors in the system operation, the opening of the **discharging **contactor is performed either immediately or with a delay T,,off,, (depends on the settings described below).
319 )))
Admin 1.1 320
321 The device supports controlling the precharging contactor. The duration of switching on the precharging contactor before closing the discharging (load) contactor is adjusted.
322
323 When the power down request occurs, the discharging contactor opens after delay T,,off,,. Reclosing the discharging contactor is performed if the power down request is removed.
324
325 To change the parameters of the battery discharge control algorithm, select the "Control → Discharge" section:
326
Admin 2.1 327 [[image:1733746885414-479.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="319" width="800"]]
Admin 1.1 328
329 In this section:
330
331 * Enable – a flag to activate the discharge control;
332 * Algorithm:
333 ** Always on – load is always connected;
334 ** On charger disconnected – load is connected when there is no signal “Charger connected”;
335 ** On discharge request – load is connected when there is signal “Discharge request”;
336 * Current corresponding to discharging – a current level to generate the "Discharging current present" signal, А;
337 * Current indicating no discharging – a current level to clear the "Discharging current present" signal, А;
338 * Delay before starting discharging – a time delay T,,on,, before closing the discharging contactor, millisecond;
339 * Delay before stopping discharging – a time delay T,,off,, before opening the discharging contactor, millisecond;
340 * Use custom delays before stopping discharging (on errors) – a flag to enable manual settings of time delays T,,off,, for specific errors;
341 * Custom delay: <error> – specific error delay, millisecond;
342 * 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”.
343 * Precharge time – a duration of closing the precharge contactor before closing the discharging contactor, millisecond;
344 * Voltage to clear the “Ready to discharge” – a threshold voltage level on the cell, V; if the voltage of any cell is below this level, the “Ready to discharge” signal is cleared;
345 * Voltage to reset the “Ready to discharge” – a tolerant voltage level on the cell, V; if all cells voltages are above the tolerant level, the “Ready to discharge” signal is set;
346
347 === Charge/Discharge ===
348
349 The BMS Mini device can control the charging/discharging contactor that is used to both charge and discharge the battery.
350
351 The charging/discharging contactor combines algorithms of charging and discharging contactor. It behaves as a charging contactor when «Charge request» or «Charger connected» are set, otherwise – as a discharging contactor.
352
353 The charging/discharging contactor control is configured in the “Control – Charge/Discharge” section:
354
Admin 2.1 355 [[image:1733746901779-991.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="95" width="800"]]In this section:
Admin 1.1 356
357
358 * Enable – a flag to enable the charge/discharge controller.
359
360 === Discharge (AUX) ===
361
362 The 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.
363
364 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.
365
366 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:
367
368 * the battery has low SOC;
369 * the battery voltage is out of range;
370 * the battery system errors are detected.
371
372 To change the parameters of the powering of external equipment, select the "Control → Discharge (AUX)" section:
373
Admin 2.1 374 [[image:1733746932199-845.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="137" width="800"]]
Admin 1.1 375
376 In this section:
377
378 * Enable – a flag to activate the auxiliary discharge control;
379 * Switch off the discharging (AUX) contactor if the SOC is too low;
380 * Minimum SOC – a minimum SOC value, when reached, the auxiliary (AUX) discharging contactor opens, %;
381 * Tolerant SOC – a permissive SOC value, upon reaching which the auxiliary (AUX) discharging contactor re-closes, %;
382 * Switch off the discharging (AUX) contactor if the battery voltage is out of the range;
383 * Minimum voltage – minimum battery voltage, V;
384 * Maximum voltage – maximum battery voltage, V;
Admin 2.1 385 * Switch off the discharging (AUX) contactor on errors – the auxiliary (AUX) discharging contactor opens if the following errors occur: Undervoltage, Overcurrent, High temperature (DCH), Short circuit, Critical error.
Admin 1.1 386
387 === Main contactor ===
388
389 The 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 a case of sealing of the charging or discharging contactors.
390
391 The main contactor closes if there are no errors from the list below:
392
393 * Overcurrent;
394 * Undervoltage;
395 * Overvoltage;
396 * High temperature (CH);
397 * High temperature (DCH);
398 * Unallowable charging;
399 * Critical error.
400
401 The main contactor opens if the charging and discharging contactors are opened and any of the following conditions is met:
402
403 * charging or discharging current is detected during a set time;
404 * voltage of any cell is lower than the minimum cell voltage configured in the section "Protections → Undervoltage" during a set time;
405 * voltage of any cell is greater than the maximum cell voltage configured in the section "Protections → Overvoltage" during a set time;
406 * temperature of any cell is greater than the maximum cell temperature configured in the section "Protections → High temperature" during a set time;
407 * Critical error stays on during a set time.
408
409 To change the parameters of the main contactor, select the "Control → Main contactor" section:
410
Admin 2.1 411 [[image:1733746797002-498.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="93" width="800"]]
Admin 1.1 412
413 In this section:
414
415 * Enable – a flag to enable the main contactor control;
416 * Delay before opening the contactor – a time which is used to detect conditions for opening the contactor, second;
417 * Keep the contactor open until the device is restarted – a flag for keeping the main contactor opened until the system be reset.
418
419 === Cell balancing ===
420
421 Balancing makes the voltage of all cells be equal to the minimum cell voltage.
422
423 The following balancing rules are supported:
424
425 * only when the battery is charging (current I > 0) and some time until the battery is relaxed;
426 * when the battery is charging (current I > 0) or when the battery is in a state of relaxation;
427 * always (regardless of battery state).
428
429 A balancing resistor is connected to the cell if:
430
431 * the voltage on the cell is higher than the starting voltage of the balancing;
432 * the difference between the cell voltage and the minimum voltage among the cells of the battery is greater than the balancing deviation.
433
Admin 2.1 434 (% class="box infomessage" %)
435 (((
Admin 1.1 436 If the BMS Mini overheats, then the balancing of the cells connected to this device will not be performed.
Admin 2.1 437 )))
Admin 1.1 438
439 To change the cell balancing parameters, select the "Control → Cell balancing" section:
440
Admin 2.1 441 [[image:1733746797003-364.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="104" width="800"]]
Admin 1.1 442
443 In this section:
444
445 * Enable – a flag to enable cell balancing;
446 * Balancing rule:
447 ** Balance on charge;
448 ** Balance on charge or relaxed;
449 ** Balance always;
450
Admin 2.1 451 [[image:1733746797004-660.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="104" width="800"]]
Admin 1.1 452
453 * Minimum cell voltage to start balancing, V;
454 * Balancing deviation, V.
455
456 === Power down ===
457
458 The BMS Mini device can shut down itself if the battery voltage is low or the battery is idle for a long time.
459
460 Shutting down the battery system is performed according to the following conditions:
461
462 * the battery voltage is below the minimum level;
463 * the “Charger connected” signal is cleared for 60 seconds.
464
465 The 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.
466
467 To change the parameters of the power down control, select the "Control → Power down" section:
468
Admin 2.1 469 [[image:1733746797005-459.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="115" width="800"]]
Admin 1.1 470
471 In this section:
472
473 * Minimum voltage to power down – a minimum voltage level of the battery below which the BMS commands to shut down the battery, V;
474 * Idle time to power down – a time of battery inactivity after which the battery is shut down, minute;
Admin 2.1 475 * 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.
Admin 1.1 476
477 === Heater ===
478
479 To change the parameters of the heater control algorithm, select the "Control → Heater" section:
480
Admin 2.1 481 [[image:1733746808496-606.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="116" width="800"]]
Admin 1.1 482
483 In this section:
484
485 * Enable – a flag to enable heater control;
486 * Minimum cell temperature, °C;
487 * Tolerant cell temperature, °C;
488 * Delay before starting the heater, millisecond;
489 * Delay before stopping the heater, millisecond;
490 * Switch off the heater on errors (Undervoltage, Overcurrent, High temperature, Short circuit or Critical error).
491
492 As a result of operating the heating algorithm, the “Heater” signal is generated.
493
494 Conditions for signal generation:
495
496 * 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.
497
498 Conditions for clearing the signal:
499
500 * 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.
501
Admin 2.1 502 (% class="box infomessage" %)
503 (((
Admin 1.1 504 If there is the "Heater" signal, the heater contactor closes and/or a signal is output to the corresponded digital output.
Admin 2.1 505 )))
Admin 1.1 506
507 === Cooler ===
508
509 To change the parameters of the cooler control algorithm, select the "Control → Cooler" section:
510
Admin 2.1 511 [[image:1733746808497-424.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="113" width="800"]]
Admin 1.1 512
513 In this section:
514
515 * Enable – a flag to enable cooler control;
516 * Maximum cell temperature, °C;
517 * Tolerant cell temperature, °C;
518 * Delay before starting the cooler, millisecond;
519 * Delay before stopping the cooler, millisecond;
520 * Switch off the cooler contactor on errors (Undervoltage, Overcurrent, Low temperature, Short circuit or Critical error).
521
522 As a result of operating the cooling algorithm, the "Cooler" signal is generated.
523
524 Conditions for signal generation:
525
526 * 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.
527
528 Conditions for clearing the signal:
529
530 * 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.
531
Admin 2.1 532 (% class="box infomessage" %)
533 (((
Admin 1.1 534 If there is the "Cooler" signal, the cooler contactor closes and/or a signal is output to the corresponded digital output.
Admin 2.1 535 )))
Admin 1.1 536
537 === Cell analysis ===
538
539 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.
540
541 The BMS Mini device can automatically determine the battery discharge characteristic.
542
543 Before starting the process of determining the discharge characteristic, it is necessary to prepare a BMS:
544
545 1. Charge the battery.
546 1. Connect a resistive load to the discharging contactor, which will provide a discharge current of 0.5C (where C is the cell capacitance).
547
548 To configure parameters for determining the discharge characteristic of the battery, select the "Control → Cell analysis" section:
549
Admin 2.1 550 [[image:1733746808498-116.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="103" width="800"]]
Admin 1.1 551
552 In this section:
553
554 * Enable – a flag to enable cell analysis;
555 * Discharge step, Ah;
556 * Delta voltage – a maximum allowable voltage drop for the cell, V;
557 * Cell index – a position of the analyzed cell;
558 * Analyse the most discharged cell – a flag to analyse of the least charged cell (in this case, the value “Cell index” is ignored).
559
560 Discharge step should be set equal to
561
562 Discharge step= С/21,
563
564 where C is the cell capacity.
565
566 The discharge characteristic will be constructed for the given cell (its position is determined by the field “Cell index”).
567
568 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.
569
570 Algorithm steps:
571
572 1. DOD = 0.
573 1. Opening the discharging contactor.
574 1. Waiting for the relaxation of the battery.
575 1. Measuring Uocv = U.
576 1. Saving the point of the discharge characteristic (Q, U,,OCV,,).
577 1. Closing of the discharging contactor. DOD,,1,, = DOD + Discharge step, U,,1,, = U
578 1. If DOD = DOD,,1,, or U < (U,,1,, – Delta voltage), then go to step 2.
579 1. If the "Undervoltage" error is detected, then the end of the algorithm.
580
581 During the operation of the algorithm, a file with the name "CELLANALYSIS.TXT" in the CSV format will be created on the SD card.
582
583 File structure:
584
585 |**Time**|**DOD**|**Cell**|**OCV**|**Resistance**
586 |**10.11.2017 12:28:34**|0.0|1|4.180|0.080000
587 |**...**|...|…|...|...
588
589 Parameter names:
590
591 * Time – date and time;
592 * DOD – depth of discharge, Ah;
593 * Cell – position of the analyzed cell for which OCV and Resistance values are provided;
594 * OCV – cell voltage Uocv, V;
Admin 2.1 595 * Resistance – cell resistance, Ohm.