Wiki source code of 3.4 Protections

Version 12.1 by Admin on 2025/02/26 14:26

Show last authors
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="4" style="--numbered-headings-start: 3;font-size: 0px;color: rgba(0, 0, 0, 0.0);margin-bottom: 0px; margin-top: 0px;" %)
5 == Protections ==
6
7 The BMS Mini device continuously monitors the state of the cells, the external environment and, when detecting abnormalities, protects the battery and system components from damage.
8
9 (% class="box errormessage" %)
10 (((
11 **Attention!**
12 Behavior of contactors at different errors is configured in **corresponding contactor settings**!
13 )))
14
15 === Overcurrent ===
16
17 The BMS Mini device performs the overcurrent protection depending on current sensor values.
18
19 To change the overcurrent protection of the battery, select the "Protections → Overcurrent" section:
20
21 [[image:1733748033234-868.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="138" width="800"]]
22
23 In this section:
24
25 * Enable – a flag to enable the protection;
26 * Maximum charging current, А;
27 * Tolerant charging current, А;
28 * Maximum discharging current, А;
29 * Tolerant discharging current, А;
30 * Delay before setting the error, millisecond;
31 * Delay before clearing the error, second;
32 * Lock – a flag to block the error until the device is restarted.
33
34 As a result of operation of the overcurrent protection, the "Overcurrent" error is generated.
35
36 Error generation conditions:
37
38 * the current is positive (charging), and its modulo value is greater than the “Maximum charging current” value for the “Delay before setting the error” time;
39 * the current is negative (discharging), and its modulo value is greater than the “Maximum discharging current” value for the “Delay before setting the error” time.
40
41 Conditions for removing the error:
42
43 * the current is positive (charging) or zero, and its modulo value is less than the “Tolerant charging current” value for the “Delay before clearing the error” time;
44 * the current is negative (discharging), and its modulo value is less than the “Tolerant discharging current” value for the “Delay before clearing the error” time.
45
46 === Charge current limit ===
47
48 The BMS Mini device can check if the charging current exceeds the estimated limit based on the [[Charge map>>doc:Battery management systems.BMS Mini S.3\. Configuration.3\.3 Control.WebHome||anchor="HChargemap"]]. If current exceeds the calculated limit more than configured difference, "Current limit" error is generated.
49
50 Current difference is separated to two regions by the threshold value. Maximum current in Region 1 is calculated by the absolute difference, in Region 2 – by the relative difference.
51
52 To change the overcurrent protection of the battery, select the "Protections → Charge current limit" section:
53
54 [[image:1740571132019-848.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="143" width="800"]]
55
56 In this section:
57
58 * Enable – a flag to enable the protection;
59 * Threshold to switch from Region 1 to Region 2 – a current value at which current excess calculation will be switched from absolute to relative difference, A;
60 * Region 1: Current difference – a value of maximum absolute current difference, A;
61 * Region 2: Current difference – a value of maximum relative current excess, A;
62 * Delay before setting the error, millisecond;
63 * Delay before clearing the error, second;
64 * Lock – a flag to block the error until the device is restarted.
65
66 === Discharge current limit ===
67
68 The BMS Mini device can check if the discharging current exceeds the estimated limit based on the [[Discharge map>>doc:Battery management systems.BMS Mini S.3\. Configuration.3\.3 Control.WebHome||anchor="HDischargemap"]]. If current exceeds the calculated limit more than configured difference, "Current limit" error is generated.
69
70 Current difference is separated to two regions by the threshold value. Maximum current in Region 1 is calculated by the absolute difference, in Region 2 – by the relative difference.
71
72 To change the overcurrent protection of the battery, select the "Protections → Discharge current limit" section:
73
74 [[image:1740571296344-411.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="151" width="800"]]
75
76 In this section:
77
78 * Enable – a flag to enable the protection;
79 * Threshold to switch from Region 1 to Region 2 – a current value at which current excess calculation will be switched from absolute to relative difference, A;
80 * Region 1: Current difference – a value of maximum absolute current difference, A;
81 * Region 2: Current difference – a value of maximum relative current excess, A;
82 * Delay before setting the error, millisecond;
83 * Delay before clearing the error, second;
84 * Lock – a flag to block the error until the device is restarted.
85
86 === Undervoltage ===
87
88 The BMS Mini device implements battery protection from too low voltage on the cells.
89
90 To change the battery protection parameters from low voltage on the cells, select the "Protections → Undervoltage" section:
91
92 [[image:1740571345293-460.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="138" width="800"]]
93
94 In this section:
95
96 * Enable – a flag to enable the protection;
97 * Minimum cell voltage, V;
98 * Tolerant cell voltage, V;
99 * Check the open circuit voltage instead of the actual voltage – a flag to enable the check of voltage correction due to current and cell resistance;
100 * Delay before setting the error, millisecond;
101 * Delay before clearing the error, second;
102 * Lock – a flag to block the error until the device is restarted.
103
104 As a result of the operation of battery protection from low voltage, the "Undervoltage" error is generated.
105
106 Error generation conditions:
107
108 * the minimum voltage among all cells of the battery is less than the “Minimum cell voltage” value for the “Delay before setting the error” time.
109
110 Conditions for removing the error:
111
112 * the minimum voltage among all cells of the battery is greater than the “Tolerant cell voltage” value for the “Delay before clearing the error” time.
113
114 === Overvoltage ===
115
116 The BMS Mini device implements battery protection from too high voltage on the cells.
117
118 To change the battery protection parameters from high voltage on the cells, select the "Protections → Overvoltage" section:
119
120 [[image:1740571383842-536.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="147" width="800"]]
121
122 In this section:
123
124 * Enable – a flag to enable the protection;
125 * Maximum cell voltage, V;
126 * Tolerant cell voltage, V;
127 * Check the open circuit voltage instead of the actual voltage – a flag to enable the check of voltage correction due to current and cell resistance;
128 * Delay before setting the error, millisecond;
129 * Delay before clearing the error, second;
130 * Lock – a flag to block the error until the device is restarted.
131
132 As a result of the operation of the battery protection from high voltage, the "Overvoltage" error is generated.
133
134 Error generation conditions:
135
136 * the maximum voltage among all cells of the battery is greater than the “Maximum cell voltage” value for the “Delay before setting the error” time.
137
138 Conditions for removing the error:
139
140 * the maximum voltage among all cells of the battery is less than the “Tolerant cell voltage” value for the “Delay before clearing the error” time.
141
142 === Low temperature ===
143
144 The BMS Mini device implements battery protection from too low temperature.
145
146 To change the battery protection parameters from low temperature, select the "Protections → Low temperature" section:
147
148 [[image:1733748045675-570.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="137" width="800"]]
149
150 In this section:
151
152 * Enable – a flag to enable the protection;
153 * Minimum charge temperature, °C;
154 * Tolerant charge temperature, °C;
155 * Minimum discharge temperature, °C;
156 * Tolerant discharge temperature, °C;
157 * Delay before setting the error, millisecond;
158 * Delay before clearing the error, second;
159 * Lock – a flag to block the error until the device is restarted.
160
161 As a result of the operation of the battery protection from low temperature, the "Low temperature (CH)" and/or “Low temperature (DCH)” error are generated.
162
163 Error generation conditions:
164
165 * the minimum temperature among all cells of the battery is less than the “Minimum charging (discharging) temperature” value for the “Delay before setting the error” time.
166
167 Conditions for removing the error:
168
169 * the minimum temperature among all cells of the battery is greater than the “Tolerant charging (discharging) temperature” value for the “Delay before clearing the error” time.
170
171 === High temperature ===
172
173 The BMS Mini device implements battery protection from too high temperature.
174
175 To change the battery protection parameters from high temperature, select the "Protections → High temperature" section:
176
177 [[image:1733748045683-426.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="138" width="800"]]
178
179 In this section:
180
181 * Enable – a flag to enable the protection;
182 * Maximum charge temperature, °C;
183 * Tolerant charge temperature, °C;
184 * Maximum discharge temperature, °C;
185 * Tolerant discharge temperature, °C;
186 * Delay before setting the error, millisecond;
187 * Delay before clearing the error, second;
188 * Lock – a flag to block the error until the device is restarted.
189
190 As a result of the operation of the battery protection from high temperature, the "High temperature (CH)" or “High temperature (DCH)” error is generated.
191
192 Error generation conditions:
193
194 * the maximum temperature among all cells of the battery is greater than the “Maximum charging (discharging) temperature” value for the “Delay before setting the error” time.
195
196 Conditions for removing the error:
197
198 * the maximum temperature among all cells of the battery is less than the “Tolerant charging (discharging) temperature” value for the “Delay before clearing the error” time.
199
200 === Battery cover ===
201
202 To change the protection parameters from opening the battery cover, select the "Protections → Battery cover" section:
203
204 [[image:1733748045685-763.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="92" width="800"]]
205
206 In this section:
207
208 * Enable – a flag to enable the protection;
209 * Delay before setting the error, millisecond;
210 * Delay before clearing the error, second;
211 * Lock – a flag to block the error until the device is restarted.
212
213 As a result of the operation of the protection against opening the battery cover, the “Battery cover error” is generated.
214
215 Error generation conditions:
216
217 * there is a signal from the battery cover during the “Delay before setting the error” time.
218
219 Conditions for removing the error:
220
221 * no signal from the battery cover during the “Delay before clearing the error” time.
222
223 (% class="box warningmessage" %)
224 (((
225 If there is the "Battery cover error", the **“Critical error” **is generated.
226 )))
227
228 === Cell monitor offline ===
229
230 The BMS Mini device checks if there is connection with cell monitor and set an error if not.
231
232 To change the cell monitor offline protection parameters, select the "Protections → Cell monitor offline" section:
233
234 [[image:1733748045686-719.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="93" width="800"]]
235
236 In this section:
237
238 * Enable – a flag to enable the protection;
239 * Lock – a flag to block the error until the device is restarted.
240
241 As a result of the operation of the protection from the cell monitor offline, the "Cell monitor offline error" is generated.
242
243 Error generation conditions:
244
245 * there is not connection with the cell monitor.
246
247 Conditions for removing the error:
248
249 * connection with the cell monitor is established.
250
251 (% class="box warningmessage" %)
252 (((
253 If there is the " Cell monitor offline error", the **“Critical error” **is generated.
254 )))
255
256 === Cell count ===
257
258 To change the protection parameters from the mismatch of the number of cells to the set value, select the "Protections → Cell count" section:
259
260 [[image:1733748057078-555.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="103" width="800"]]
261
262 In this section:
263
264 * Enable – a flag to enable the protection;
265 * Number of cells – a number of cells connected to the BMS;
266 * Delay before setting the error, millisecond;
267 * Delay before clearing the error, second;
268 * Lock – a flag to block the error until the device is restarted.
269
270 As a result of the operation of the protection from the mismatch of the number of cells, the "Cell count error" is generated.
271
272 Error generation conditions:
273
274 * the number of cells connected to the BMS is **not equal** to the “Number of cells” value during the “Delay before setting the error” time.
275
276 Conditions for removing the error:
277
278 * the number of cells connected to the BMS is **equal** to the “Number of cells” value during the “Delay before clearing the error” time.
279
280 (% class="box warningmessage" %)
281 (((
282 If there is the "Cell count error", the **“Critical error” **is generated.
283 )))
284
285 === Short circuit ===
286
287 The BMS Mini device implements a protection of power circuits (contactors, power wires) against overheating caused by the flow of high current for a long time.
288
289 To change the protection parameters from short circuit, select the "Protections → Short circuit" section:
290
291 [[image:1733748057080-806.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="213" width="800"]]
292
293 In this section:
294
295 * Level 1, 2, 3 – three protection levels. The following parameters are configured at each level:
296 ** Enable – a flag to enable the protection;
297 ** Maximum current, A;
298 ** Delay before setting the error, second;
299 * Switch off the charging contactor on error – a flag to open the charging contactor when the "Short circuit" error occurs;
300 * Switch off the discharging contactor on error – a flag to open the discharging contactor when the "Short circuit" error occurs;
301 * Delay before clearing the error, second;
302 * Lock – a flag to block the error until the device is restarted.
303
304 If there is a short circuit, the "Short circuit" error is generated.
305
306 Error generation conditions:
307
308 * at any of the three protection levels, the current modulo is greater than the “Maximum current” value during the “Delay before setting the error” time.
309
310 Conditions for removing the error:
311
312 * the current modulo is lower than the “Maximum current” values for all three protection levels during the “Delay before setting the error” time.
313
314 === High contactor temperature ===
315
316 The BMS Mini device protects power contactors from overheating. To measure the temperature of the contactor, one of the thermistors connected to the X6 connector is used.
317
318 To change the overheating protection parameters of power contactors, select the "Protections → High contactor temperature" section:
319
320 [[image:1733748057082-234.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="183" width="800"]]
321
322 In this section:
323
324 * Enable – a flag to enable the protection;
325 * Thermistor – a selection of which cell thermistor will be used as contactor temperature sensor;
326 * Maximum contactor temperature, °C;
327 * Tolerant contactor temperature, °C;
328 * Delay before setting the error, second;
329 * Switch off the charging contactor on error – a flag to open the charging contactor when the "High contactor temperature" error occurs;
330 * Switch off the discharging contactor on error – a flag to open the discharging contactor when the "High contactor temperature" error occurs;
331 * Delay before clearing the error, second;
332 * Lock – a flag to block the error until the device is restarted.
333
334 If there is a contactor overheat, the "High contactor temperature" error is generated.
335
336 Error generation conditions:
337
338 * the contactor temperature is greater than the “Maximum temperature” value during the “Delay before setting the error” time.
339
340 Conditions for removing the error:
341
342 * the contactor temperature is lower than the “Tolerant temperature” value during the “Delay before clearing the error” time.
343
344 If there is the "High contactor temperature" error, the **charging **contactor opens (the “Switch off the charging contactor on error” flag is set) and the **discharging **contactor opens (the “Switch off the discharging contactor on error” flag is set).
345
346 === Current sensor ===
347
348 The BMS Mini device checks the current sensor connection circuits. The circuits are checked for breakage and short-circuit to the +5 V supply line.
349
350 To change the test parameters of the current sensor connection circuits, select the "Protections → Current sensor" section:
351
352 [[image:1733748057083-985.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="139" width="800"]]
353
354 In this section:
355
356 * Enable – a flag to enable the protection;
357 * Maximum voltage, V;
358 * Minimum voltage, V;
359 * Voltage hysteresis – a hysteresis value to clear the error, V;
360 * Delay before setting the error, second;
361 * Delay before clearing the error, second;
362 * Lock – a flag to block the error until the device is restarted.
363
364 If there is an open or short circuit connection of a current sensor, the "Current sensor error" is generated.
365
366 Error generation conditions:
367
368 * the voltage in the signal line or zero level line of the current sensor is greater than the “Maximum voltage” value during the “Delay before setting the error” time;
369 * the voltage in the signal line or zero level line of the current sensor is less than the “Minimum voltage” value during the “Delay before setting the error” time.
370
371 Conditions for removing the error:
372
373 * the voltage in the signal line or zero level line of the current sensor is in range from (Minimum voltage + Voltage hysteresis) to (Maximum voltage - Voltage hysteresis) during the “Delay before clearing the error” time.
374
375 (% class="box warningmessage" %)
376 (((
377 If there is the “Current sensor error”, the **“Critical error” **is generated.
378 )))
379
380 === Charge contactor cycles ===
381
382 The BMS Mini device protects the charging contactor against frequent switching.
383
384 To change the protection parameters against high frequency switching of the charging contactor, select the "Protections → Charge contactor cycles" section:
385
386 [[image:1733748068419-377.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="140" width="800"]]
387
388 In this section:
389
390 * Enable – a flag to enable the protection;
391 * Cycles threshold – a number of cycles in a given period, upon which the “CH contactor cycles error” is generated;
392 * Check time – a time in which the BMS counts switchings of the charging contactor, second;
393 * Delay before setting the error, millisecond;
394 * Delay before clearing the error, second;
395 * Lock – a flag to block the error until the device is restarted.
396
397 If there is the high switching frequency of the charging contactor, the “CH contactor cycles error” is generated.
398
399 Error generation conditions:
400
401 * the number of switchings of the charging contactor for the “Check time” time is greater than or equal to the “Cycles threshold” value. The error is generated with the “Delay before setting the error” delay.
402
403 Conditions for removing the error:
404
405 * the “Delay before clearing the error” time has passed since the error was generated.
406
407 === Discharge contactor cycles protection ===
408
409 The BMS Mini device protects the discharging contactor against frequent switching.
410
411 To change the protection parameters against high frequency switching of the discharging contactor, select the "Protections → Discharging contactor cycles" section:
412
413 [[image:1740571600741-802.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="128" width="800"]]
414
415 In this section:
416
417 * Enable – a flag to enable the protection;
418 * Cycles threshold – a number of cycles in a given period, upon which the “DCH contactor cycles error” is generated;
419 * Check time – a time in which the BMS counts switchings of the charging contactor, second;
420 * Delay before setting the error, millisecond;
421 * Delay before clearing the error, second;
422 * Lock – a flag to block the error until the device is restarted.
423
424 If there is the high switching frequency of the discharging contactor, the “DCH contactor cycles error” is generated.
425
426 Error generation conditions:
427
428 * the number of switchings of the discharging contactor for the “Check time” time is greater than or equal to the “Cycles threshold” value. The error is generated with the “Delay before setting the error” delay.
429
430 Conditions for removing the error:
431
432 * the “Delay before clearing the error” time has passed since the error was generated.
433
434 === Temperature sensors ===
435
436 The BMS Mini device checks the temperature sensors connection circuits. The circuits are checked for breakage and short-circuit.
437
438 To change the protection parameters of the temperature sensors circuits, select the "Protections → Temperature sensors" section:
439
440 [[image:1733748068421-819.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="115" width="800"]]
441
442 In this section:
443
444 * Enable – a flag to enable the protection;
445 * Delay before setting the error, millisecond;
446 * Delay before clearing the error, second;
447 * Lock – a flag to block the error until the device is restarted.
448
449 If there are no temperature sensors connected to the BMS Mini or any temperature sensor is shorted, the "No temp. sensors" error and "Temp. sensor is shorted" error are generated respectively. These errors generated and removed with the “Delay before setting the error” and “Delay before clearing the error” delays.
450
451 (% class="box warningmessage" %)
452 (((
453 If there is the “No temp. sensors” or “Temp. sensor is shorted” error, the **“Critical error” **is generated.
454 )))
455
456 === WDT reset ===
457
458 If the BMS firmware hangs, the watchdog timer resets the device. The BMS can detect that the device was reset and generates the “WDT reset” error.
459
460 To change the parameters of the watchdog protection, select the "Protections → WDT reset" section:
461
462 [[image:1733748068422-188.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="101" width="800"]]
463
464 In this section:
465
466 * Enable – a flag to enable the protection;
467 * Delay before clearing the error, second;
468 * Lock – a flag to block the error until the device is restarted.
469
470 Conditions for removing the error:
471
472 * the “Delay before clearing the error” time has passed from the device startup.
473
474 (% class="box warningmessage" %)
475 (((
476 If there is the "WDT reset" error, the **“Critical error” **is generated.
477 )))
478
479 === Unallowable charging ===
480
481 The BMS can detect that the battery is charging through the discharging circuit and protectively open the discharging contactor to prevent unallowable battery operation.
482
483 To change the parameters of the unallowable charging protection, select the "Protections → Unallowable charging" section:
484
485 [[image:1733748083466-209.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="102" width="800"]]
486
487 In this section:
488
489 * Enable – a flag to enable the protection;
490 * Delay before setting the error, second;
491 * Delay before clearing the error, second;
492 * Lock – a flag to block the error until the device is restarted.
493
494 If there is charging the battery through the discharging circuit detected, the "Unallowable charging" error is generated.
495
496 Error generation conditions:
497
498 * the charging contactor is open and the battery current is not zero during the “Delay before setting the error” time.
499
500 Conditions for removing the error:
501
502 * the battery current is zero during the “Delay before clearing the error” time.
503
504 === Stuck contactor ===
505
506 The BMS Mini device protects contactors against sticking.
507
508 To change the protection parameters against sticking, select the "Protections → Stuck contactor" section:
509
510 [[image:1733748083467-352.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="101" width="800"]]
511
512 In this section:
513
514 * Enable – a flag to enable the protection;
515 * Delay before setting the error, millisecond;
516 * Delay before clearing the error, second;
517 * Lock – a flag to block the error until the device is restarted.
518
519 If there is a stuck contactor, the “Stuck contactor” error is generated. Error generation conditions:
520
521 * charging and discharging contactors are open, but the “Charging current present” or “Discharging current present” signal is set.
522
523 (% class="box warningmessage" %)
524 (((
525 If there is the "Stuck contactor" error, the **“Critical error” **is generated.
526 )))
527
528 === Contactor feedback ===
529
530 The BMS Mini device can receive feedback signals from contactors and detect discrepancy between the control value and the feedback signal. To enable specific contactor protection, the feedback signal must be connected to corresponding contactor feedback pin on X1 header.
531
532 To change the contactor feedback check parameters, select the "Protections → Contactor feedback" section:
533
534 [[image:1733748083468-378.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="102" width="800"]]
535
536 In this section:
537
538 * Enable – a flag to enable the protection;
539 * Delay before setting the error, millisecond;
540 * Delay before clearing the error, second;
541 * Lock – a flag to block the error until the device is restarted.
542
543 If there is a discrepancy at any contactor, the corresponding contactor feedback error is generated. Error generation conditions:
544
545 * a command for charging, precharge, discharging, charging/discharging or main contactor not matches its feedback value.
546
547 (% class="box warningmessage" %)
548 (((
549 If there is the "Contactor feedback" error, the **“Critical error” **is generated.
550 )))
551
552 === Insulation ===
553
554 The BMS Mini device can detect a signal from an external insulation monitoring device (such as Bender IR155) to monitor the insulation quality.
555
556 To change the insulation monitoring parameters, select the "Protections → Insulation" section:
557
558 [[image:1740573733492-485.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="119" width="800"]]
559
560 In this section:
561
562 * Enable – a flag to enable the protection;
563 * Checking algorithm – isolation checking mode:
564 ** Always on – check is always performed;
565 ** On charging – check is performed only if “Charger connected” or “Charge request” is set;
566 ** Except charging - check is performed only if “Charger connected” and “Charge request” are cleared;
567 * Delay before setting the error, second;
568 * Delay before clearing the error, second;
569 * Lock – a flag to block the error until the device is restarted.
570
571 Error is set if corresponding discrete input is set up and it receives logical zero.
572
573 (% class="box warningmessage" %)
574 (((
575 If there is the "Insulation" error, the **“Critical error” **is generated.
576 )))
577
578 === Critical error ===
579
580 To change the critical error parameters, select the "Protections → Critical error" section:
581
582 [[image:1733748083469-183.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="101" width="800"]]
583
584 In this section:
585
586 * Enable – a flag to enable the protection;
587 * Delay before setting the error, millisecond;
588 * Delay before clearing the error, second;
589 * Lock – a flag to block the error until the device is restarted.
590
591 The "Critical error" signal is generated if at least one of the critical errors (see [[Errors>>doc:Battery management systems.Additional information.1\. Battery controllers\: signals and errors.WebHome||anchor="HErrors"]]) is generated during the “Delay before setting the error” time.
592
593 The “Critical error” is cleared if there are no errors from the list above during the “Delay before clearing the error” time.
594
595 === General error ===
596
597 To change the general error parameters, select the "Protections → Critical error" section:
598
599 [[image:1740573914327-561.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="129" width="800"]]
600
601 In this section:
602
603 * Enable – a flag to enable the protection;
604 * Delay before setting the error, millisecond;
605 * Delay before clearing the error, second;
606 * Lock – a flag to block the error until the device is restarted;
607 * Errors 1, 2 to set the "Critical error" – bitfields to enable check of corresponding errors.
608
609 The “General error” is generated if at least one of the enabled errors is generated during the “Delay before setting the error” time.
610
611 The “General error” is cleared if there are no errors from the enabled errors during the “Delay before clearing the error” time.
612
613 The state of the “General error” can be assigned to a discrete output or to a power switch.