Wiki source code of 3.3 Control

Version 10.5 by Admin on 2024/12/24 16:23

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="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
11 [[image:1735054851946-552.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="105" width="800"]]
12
13 In this section:
14
15 * Cell capacity – nominal capacity of cells, Ah;
16 * Cell resistance – nominal (maximum) internal resistance of the cells, Ohm;
17 * Relax time (after charging) – a relaxation time after charging, second;
18 * Relax time (atfer discharging) – a relaxation time after discharging, second;
19 * Reset parameters – a command to reset cells state of charge, capacity, and resistance;
20 * Method of calculating the battery voltage:
21 ** Summation of cell voltages – the overall voltage is calculated as on sum of all cells in the battery;
22 ** Using voltage before contactors – the overall voltage is estimated as voltage before contactors measured by BMS.
23
24 The values “Capacity”, “Resistance”, “Cycles” are used to calculate the SOC of cells and the battery.
25
26 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.
27
28 The “Reset parameters” will reset:
29
30 * 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);
31 * cell resistance to “Cell resistance” value;
32 * battery capacity to “Cell capacity” value.
33
34 The “Reset parameters” command is used for starting-up and adjustment of the battery.
35
36 === SOC estimation ===
37
38 The BMS Main 3 device calculates the state of charge of the battery (SOC) using two algorithms:
39
40 * by open circuit voltage;
41 * by voltage and current.
42
43 It is recommended to use the algorithm of calculation of SOC by voltage and current.
44
45 To change the estimation algorithm for calculating the battery SOC, select the "Control → SOC estimation → Algorithm" section:
46
47
48 [[image:1735056107942-306.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="141" width="800"]]
49
50 The following estimation algorithms supported:
51
52 * Voltage – by open circuit voltage;
53 * Current and voltage (simplified) – recommended for LFP cells;
54 * Current and voltage (enhanced) – recommended for NMC cells.
55
56 The **“Voltage”** SOC calculation algorithm calculates cells SOC based on the tabular dependence Uocv = Uocv(SOC, t °C).
57
58 The **“Current and voltage (simplified)”** SOC calculation algorithm works as follows:
59
60 * 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);
61 * in any other cases, the SOC value is proportional to the charge (coulomb) passed through the battery (current time integral).
62
63 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).
64
65 To change the algorithm for calculating the Final SOC, select the "Control → SOC estimation → Final SOC" section:
66
67 [[image:1733322611551-852.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="148" width="800"]]
68
69 The following calculation methods are supported (“Final SOC”):
70
71 * Minimal SOC – the battery SOC is assumed to be the minimum SOC among the cells;
72 * Average SOC – the battery SOC is taken equal to the arithmetic average of the cell SOC;
73 * Min-Max SOC – the battery SOC is calculated based on the minimum and maximum SOC of the cells. Final SOC will be a) 100% if any cell have 100% SOC, b) 0% if any cell have 0% SOC;
74 * 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;
75
76 Other parameters:
77
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.
87
88 === SOC correction ===
89
90 The BMS Main 3 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"]]).
91
92 To configure parameters for periodically correcting the battery state of charge, select the "Control → SOC correction" section:
93
94 [[image:1733322624656-766.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="121" width="800"]]
95
96 In this section:
97
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.
104
105 === Resistance estimation ===
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
109 {{formula fontSize="NORMAL" imageType="PNG"}}
110 R = \frac{U-U_{ocv}}{I_{stable}}
111 {{/formula}}
112
113 where U — the cell voltage measured in the charge or discharge state, V; U,,ocv,, — 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
117 {{formula}}
118 R = \frac{U_2-U_1}{I_{stable2}-I_{stable1}}
119 {{/formula}}
120
121 provided that
122
123 {{formula}}
124 |I_{stable2}-I_{stable1}| > 0.2 × Qmax
125 {{/formula}}
126
127 (Q,,max,, is the maximum cell capacity),
128
129 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.
130
131 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.
132
133 To change parameters of the algorithm for calculating the cell resistance, select the "Control → Resistance estimation" section:
134
135 [[image:1733322624659-473.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="108" width="800"]]
136
137 In this section:
138
139 * Current stabilization time, millisecond;
140 * 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;
141 * Maximum resistance factor – the coefficient of calculation of the maximum acceptable resistance of the cell;
142 * Minimum SOC – minimum cell SOC value for resistance calculation;
143 * Maximum SOC – maximum cell SOC value for resistance calculation.
144
145 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).
146
147 === Low SOC (signal) ===
148
149 To change the parameters of the generation a signal about low battery level, select the "Control → Low SOC (signal)" section:
150
151 [[image:1733322624660-513.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="116" width="800"]]
152
153 In this section:
154
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.
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
170 The "Low SOC signal" is indicative and can be output to a discrete output or a power switch.
171
172 === High charging current (signal) ===
173
174 To change the parameters of the generation high-current signal, select the "Control → High charging current (signal)" section:
175
176 [[image:1733322624661-915.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="107" width="800"]]
177
178 In this section:
179
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.
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
195 The "High charging current" signal is indicative and can be output to a discrete output or a power switch.
196
197 === Charge map ===
198
199 The BMS Main 3 device calculates the maximum allowable charge current values in respect to SOC, battery temperature, contactor temperature and cell voltage.
200
201 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.
202
203 To configure parameters for determining the charge current limit, select the "Control → Charge map" section:
204
205 [[image:1733322637793-171.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="177" width="800"]]
206
207 In this section:
208
209 * Enable – a flag to start calculation of the charge current limit;
210 * Maximum charge current – a maximum allowable value of the charge current (under normal conditions), A;
211 * Rate of change – a rate of change the current limit to a new value (0 is for immediate change), A/s;
212 * 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;
213 * Option 1: SOC x Temperature x Factor – the dependence of the correction factor on SOC and battery temperature;
214 * Option 2: Limit charge current by the contactor temperature – a flag to enable correction of maximum allowable charging current Kcc depending on contactor temperature;
215 * Option 2: Contactor temperature x Factor – the dependence of the correction factor on SOC and contactor temperature;
216 * 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;
217 * Option 3: Cell voltage x Factor – the dependence of the correction factor on maximum cell voltage;
218 * 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;
219 * Option 4: Cell temperature x Factor – the dependence of the correction factor on maximum cell temperature.
220
221 Value of the charge current limit at given SOC, temperature, contactors temperature, maximum cell voltage and maximum cell temperature is calculated as follows:
222
223 Charging current limit = Maximum charging current × Kcs × Kcc × Kcv × Kct
224
225 === Discharge map ===
226
227 The BMS Main 3 device calculates the maximum allowable discharge current values in respect to SOC, battery temperature, contactor temperature and cell voltage.
228
229 Calculated current values are sent to a charger or an intellectual load over the CAN bus.
230
231 To configure parameters for determining the discharge current limit, select the "Control → Discharge map" section:
232
233 [[image:1733322637795-310.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="178" width="800"]]
234
235 In this section:
236
237 * Enable – a flag to start calculation of the discharge current limit;
238 * Maximum discharge current – a maximum allowable value of the discharge current (under normal conditions), A;
239 * Rate of change – a rate of change the current limit to a new value (0 is for immediate change), A/s;
240 * 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;
241 * Option 1: SOC x Temperature x Factor – the dependence of the correction factor on SOC and battery temperature;
242 * Option 2: Limit discharge current by the contactor temperature – a flag to enable correction of maximum allowable discharging current Kdc depending on contactor temperature;
243 * Option 2: Contactor temperature x Factor – the dependence of the correction factor on SOC and contactor temperature;
244 * 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;
245 * Option 3: Cell voltage x Factor – the dependence of the correction factor on minimum cell voltage;
246 * 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;
247 * Option 4: Cell voltage x Factor – the dependence of the correction factor on minimum cell temperature.
248
249 Value of the discharge current limit at given SOC, temperature, contactors temperature, minimum cell voltage and maximum cell temperature is calculated as follows:
250
251 Discharging current limit = Maximum discharging current × Kds × Kdc × Kdv × Kdt
252
253 === Charge map (PEAK & CONTINUOUS) ===
254
255 The BMS Main 3 has an alternative algorithm for the maximum allowed charging current based on peak and continuous battery operating modes.
256
257 To configure parameters for determining the charge current limit, select the "Control → Charge map (PEAK & CONTINUOUS)" section:
258
259 [[image:1733322637796-187.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="145" width="800"]]
260
261 In this section:
262
263 * Enable – a flag to start calculation of the charge current limit;
264 * Maximum PEAK charge current – a maximum peak charge current (under normal conditions), A;
265 * Maximum CONTINUOUS charge current – a maximum continuous charge current (under normal conditions), A;
266 * PEAK: SOC x Temperature x Factor – the dependence of the correction factor for peak current K,,cp,, on SOC and battery temperature;
267 * CONTINUOUS: SOC x Temperature x Factor – the dependence of the correction factor for continuous current K,,cc,, on SOC and battery temperature;
268 * PEAK time – a time for peak current to be allowed, s;
269 * Sliding time – a time of linear change of the maximum charging current from peak to continuous and from continuous to peak value, ms;
270 * Waiting time – a time for peak current to be prohibited, s.
271
272 The maximum charging current value equals to the peak or continuous current according to the following diagram:
273
274 [[image:1733322717451-608.png||data-xwiki-image-style-alignment="center"]]
275
276 I,,peak,, = Maximum PEAK charge current × K,,cp,,
277
278 I,,continuous,, = Maximum CONTINUOUS charge current × K,,cc,,
279
280
281 === Discharge map (PEAK & CONTINUOUS) ===
282
283 The BMS Main 3 has an alternative algorithm for the maximum allowed discharging current based on peak and continuous battery operating modes.
284
285 To configure parameters for determining the discharge current limit, select the "Control → Discharge map (PEAK & CONTINUOUS)" section:
286
287 [[image:1733322735595-661.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="145" width="800"]]
288
289 In this section:
290
291 * Enable – a flag to start calculation of the discharge current limit;
292 * Maximum PEAK discharge current – a maximum peak discharge current (under normal conditions), A;
293 * Maximum CONTINUOUS discharge current – a maximum continuous discharge current (under normal conditions), A;
294 * PEAK: SOC x Temperature x Factor – the dependence of the correction factor for peak current K,,dp,, on SOC and battery temperature;
295 * CONTINUOUS: SOC x Temperature x Factor – the dependence of the correction factor for continuous current K,,dc,, on SOC and battery temperature;
296 * PEAK time – a time for peak current to be allowed, s;
297 * Sliding time – a time of linear change of the maximum charging current from peak to continuous and from continuous to peak value, ms;
298 * Waiting time – a time for peak current to be prohibited, s.
299
300 The maximum discharging current value equals to the peak or continuous current according to following diagram:
301
302 [[image:1733322753429-968.png||data-xwiki-image-style-alignment="center"]]
303
304 I,,peak,, = Maximum PEAK discharge current × K,,dp,,
305
306 I,,continuous,, = Maximum CONTINUOUS discharge current × K,,dc,,
307
308 === Charge ===
309
310 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.
311
312 The device supports three charge control algorithms:
313
314 * Always on – charging is always allowed;
315 * On charger connected – charging is allowed when there is a signal “Charger connected”;
316 * On charge request – charging is allowed when there is a signal “Charge request”.
317
318 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:
319
320 * Overvoltage;
321 * Overcurrent;
322 * High temperature (CH);
323 * Low temperature (CH);
324 * HYG offline (optional);
325 * Combilift offline (optional);
326 * Spirit offline (optional);
327 * Spirit charger error (optional);
328 * Short circuit (optional);
329 * High contactor temperature (optional);
330 * CH contactor cycles error;
331 * Precharge error (optional);
332 * Critical error
333
334 or one of the signals:
335
336 * Service reset
337 * Power down request
338 * Inhibit charging
339
340 both contactors are open (no current flows).
341
342 When the algorithm "**On charger connected**" is selected, the control is performed as follows:
343
344 * 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;
345 * If the signal “Charger connected” disappears, the allow charging contactor opens and after the delay time T,,off,, the charging contactor opens;
346 * 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);
347 * If errors in the list above occur the charging contactor and allow charging contactor open.
348
349 When the "**On charge request**" algorithm selected, the control is performed as follows:
350
351 * 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;
352 * If the signal “Charge request” disappears, the allow charging contactor opens and after the delay time T,,off,, the charging contactor opens;
353 * 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);
354 * If errors in the list above occur the charging contactor and allow charging contactor open.
355
356 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).
357
358 To change the parameters of the battery charge control algorithm, select the "Control → Charge" section:
359
360 [[image:1733322798914-813.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="327" width="800"]]
361
362 In this section:
363
364 * Enable – a flag to activate the charge control;
365 * Algorithm:
366 ** Always on – charging is always allowed;
367 ** On charger connected – charging is allowed when there is a signal “Charger connected”;
368 ** On charge request – charging is allowed when there is a signal “Charge request”;
369 * Current corresponding to charging – a current level to generate the "Charging current present" signal, A;
370 * Current corresponding to no charging – a current level to clear the "Charging current present" signal, A;
371 * Delay before starting charging – a time delay T,,on,, before closing the charging contactor and the allow charging contactor, millisecond;
372 * Delay before stopping charging – a time delay T,,off,, before opening the charging contactor, millisecond;
373 * Use custom delays before stopping charging (on errors) – a flag to enable manual settings of time delays T,,off,, for specific errors;
374 * Custom delay: <error> – specific error delay, millisecond;
375 * 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”;
376 * Control the precharging contactor – a flag that allows control of the precharging contactor;
377 * 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;
378 * 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;
379 * 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.
380
381 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.
382
383 === Discharge ===
384
385 The device controls the discharging contactor to connect battery to the load.
386
387 The device supports three algorithms to control battery discharging:
388
389 * Always on – load is always connected;
390 * On charger disconnected – load is connected when there is no signal “Charger connected”;
391 * On discharge request – load is connected when there is signal “Discharge request”.
392
393 When the algorithm "**Always on**" is selected, the discharging contactor is always closed. If at least one of the errors appears:
394
395 * Undervoltage;
396 * Overvoltage (optional);
397 * Overcurrent;
398 * High temperature (DCH);
399 * Low temperature (DCH) (optional);
400 * HYG offline (optional);
401 * Combilift offline (optional);
402 * Spirit offline (optional);
403 * Spirit charger error (optional);
404 * Short circuit (optional);
405 * High contactor temperature (optional);
406 * Unallowable charging;
407 * DCH contactor cycles error;
408 * Precharge error (optional);
409 * Critical error
410
411 or one of the signals:
412
413 * Service reset
414 * Power down request
415 * Inhibit discharging
416
417 the discharging contactor opens.
418
419 If the algorithm "**On charger disconnected**" is selected, the control is performed as follows:
420
421 * if there is no signal “Charger connected”, the charging contactor is open and there are no errors (see the list above), then through the delay time T,,on,, the discharging contactor closes;
422 * If the signal “Charger connected” appears or errors occur (see the list above), then after the delay time T,,off,, the discharging contactor opens.
423
424 When the "**On discharge request**" algorithm selected, the control is performed as follows:
425
426 * if there is signal “Discharge request”, the charging contactor is open and there are no errors (see the list above), then through the delay time T,,on,, the discharging contactor closes;
427 * If the signal “Discharge request” disappears or errors occur (see the list above), then after the delay time T,,off,, the discharging contactor opens.
428
429 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).
430
431 The device supports controlling the precharging contactor. The duration of switching on the precharging contactor before closing the discharging (load) contactor is adjusted.
432
433 To change the parameters of the battery discharge control algorithm, select the "Control → Discharge" section:
434
435 [[image:1733323750262-841.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="360" width="800"]]
436
437 In this section:
438
439 * Enable – a flag to activate the discharge control;
440 * Algorithm:
441 ** Always on – load is always connected;
442 ** On charger disconnected – load is connected when there is no signal “Charger connected”;
443 ** On discharge request – load is connected when there is signal “Discharge request”;
444 * Current corresponding to discharging – a current level to generate the "Discharging current present" signal, А;
445 * Current indicating no discharging – a current level to clear the "Discharging current present" signal, А;
446 * Delay before starting discharging – a time delay T,,on,, before closing the discharging contactor, millisecond;
447 * Delay before stopping discharging – a time delay T,,off,, before opening the discharging contactor, millisecond;
448 * Use custom delays before stopping discharging (on errors) – a flag to enable manual settings of time delays T,,off,, for specific errors;
449 * Custom delay: <error> – specific error delay, millisecond;
450 * 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”.
451 * Precharge time – a duration of closing the precharge contactor before closing the discharging contactor, millisecond;
452 * Check voltages before and after contactors to finish precharging – a flag to check the voltages before and after contactors to ensure that precharge process has finished and it is allowed to close the discharging contactor;
453 * Minimum voltage difference to finish precharging – minimal voltage difference before and after contactors at which precharge process is meant to be finished, V;
454 * 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;
455 * 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;
456
457 === Charge/Discharge ===
458
459 The BMS Main 3 device can control the charging/discharging contactor, which combines algorithms of charging and discharging contactor. It behaves as a charging contactor when “Charge request” or “Charger connected” is set, otherwise – as a discharging contactor.
460
461 The charging/discharging contactor control is configured in the “Control – Charge/Discharge” section:
462
463 [[image:1733322827919-875.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="85" width="800"]]
464
465 In this section:
466
467 * Enable – a flag to enable the charge/discharge controller.
468
469 === Discharge (AUX) ===
470
471 The BMS Main 3 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.
472
473 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.
474
475 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:
476
477 * the battery has low SOC;
478 * the battery voltage is out of range;
479 * the battery system errors are detected.
480
481 To change the parameters of the powering of external equipment, select the "Control → Discharge (AUX)" section:
482
483 [[image:1733322827920-878.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="130" width="800"]]
484
485 In this section:
486
487 * Enable – a flag to activate the auxiliary discharge control;
488 * Switch off the discharging (AUX) contactor if the SOC is too low;
489 * Minimum SOC – a minimum SOC value, when reached, the auxiliary (AUX) discharging contactor opens, %;
490 * Tolerant SOC – a permissive SOC value, upon reaching which the auxiliary (AUX) discharging contactor re-closes, %;
491 * Switch off the discharging (AUX) contactor if the battery voltage is out of the range;
492 * Minimum voltage – minimum battery voltage, V;
493 * Maximum voltage – maximum battery voltage, V;
494 * 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.
495
496 === Main contactor ===
497
498 The BMS Main 3 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.
499
500 The Main contactor algorithm supports the following modes:
501
502 * Always on;
503 * Automatic;
504 * On demand.
505
506 In “Always on” mode main contactor closes if all the following is true:
507
508 * Charging contactor is open;
509 * Discharging contactor is open;
510 * There are no errors from the list below:
511 ** Overcurrent;
512 ** Undervoltage;
513 ** Overvoltage;
514 ** High temperature (CH);
515 ** High temperature (DCH);
516 ** Unallowable charging;
517 ** Critical error.
518
519 In “Always on” mode main contactor opens if all the following is true:
520
521 * Charging contactor is open;
522 * Discharging contactor is open;
523 * There is an error from the list below:
524 ** Overcurrent;
525 ** Undervoltage;
526 ** Overvoltage;
527 ** High temperature (CH);
528 ** High temperature (DCH);
529 ** Unallowable charging;
530 ** Critical error.
531
532 In “Automatic” mode, the main contactor closes by internal charging and discharging algorithms at the same time with Precharging, Charging and Discharging contactors.
533
534 In “On demand” mode, the main contactor closes by external the “Close Main contactor” request.
535
536 To change the parameters of the main contactor, select the "Control → Main contactor" section:
537
538 [[image:1733322872744-536.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="105" width="800"]]
539
540 In this section:
541
542 * Enable – a flag to enable the main contactor control;
543 * Algorithm – main contactor control algorithm:
544 ** Always on – contactor is always closed;
545 ** Automatic – contactor closes by internal charge and discharge algorithms;
546 ** On demand – contactor is closed by an external request;
547 * Time to keep the contactor closed before closing the others – a time for other contactors to be open after the main contactor is closed;
548 * Delay before opening the contactor – a time which is used to detect conditions for opening the contactor, s;
549 * Keep the contactor open until the device is restarted – a flag for keeping the main contactor open until the system is reset.
550
551 === Cell balancing ===
552
553 Balancing makes the voltage of all cells equal to the minimum cell voltage.
554
555 The following balancing rules are supported:
556
557 * when the battery is charging (current I > 0) and time after until the battery is relaxed;
558 * when the battery is charging (current I > 0) or when the battery is in a state of relaxation;
559 * always (regardless of battery state).
560
561 A balancing resistor is connected to the cell if the following conditions are simultaneously met:
562
563 * the voltage on the cell is higher than the balancing start voltage;
564 * the difference between the voltage on the cell and the minimum voltage among the battery cells is greater than the balancing start threshold.
565
566 A balancing resistor is disconnected from the cell if any of the following conditions are met:
567
568 * the voltage on the cell is less than the balancing start voltage;
569 * the difference between the voltage on the cell and the minimum voltage among the battery cells is less than the balancing stop threshold.
570
571 If the “High logic temperature” occurs, then the balancing of the cells connected to the overheated BMS Logic device will not be performed.
572
573 The BMS Main 3 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.
574
575 To change the cell balancing parameters, select the "Control → Cell balancing" section:
576
577 [[image:1733322883460-118.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="114" width="800"]]
578
579 In this section:
580
581 * Enable – a flag to enable cell balancing;
582 * Balancing rule:
583 ** Balance on charge – balancing is performed while and after the charging (in the “Charge ON” and “Charge OFF” states);
584 ** Balance on charge or relaxed - balancing is performed while and after the charging and in the relaxed state (in “Charge ON”, “Charge OFF”, “Relaxed (after charging)” and “Relaxed (after discharging)” states);
585 ** Balance always – balancing is always performed regardless the battery state;
586
587 [[image:1733322883462-975.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="74" width="600"]]
588
589 * Minimum cell voltage to start balancing, V;
590 * Voltage deviation to start balancing;
591 * Voltage deviation to stop balancing;
592 * Command to discharge all cells – a flag to force the balancing of all cells.
593
594 === Series balancing ===
595
596 The BMS Main 3 device supports work with two independent (galvanically unrelated) cell series. To monitor the status of two series, two current sensors are used. A series of cells must be equivalent: they must have the same number of cells and the same capacity.
597
598 Since the series of cells can operate at different loads, they must be balanced. For this, the BMS Main 3 provides two signals to power switches: “Balancing series 1” and “Balancing series 2”, as well as a combined algorithm that considers both the voltage of each series and the charge that these series gave load. The “Balancing series 1” and “Balancing series 2” signals are used to connect high-power balancing resistors in parallel with cell series 1 and 2.
599
600 When charging the battery, balancing is performed based on the voltage of the series. A balancing resistor is connected to the cell series if:
601
602 * the series voltage is higher than the start balancing voltage;
603 * the difference between the voltage of a series of cells and the minimum voltage among the battery series is greater than the balancing threshold.
604
605 When the battery is discharging (work on load), balancing is turned on if one of the series gives the load a charge (Ah), which is more by the amount Qthr of the charge given off by another series.
606
607 To change the series balancing parameters, select the "Control → Series balancing" section:
608
609 [[image:1733322892811-410.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="126" width="800"]]
610
611 In this section:
612
613 * Enable – a flag to enable series balancing;
614 * Number of Logics in a series;
615 * Minimum series voltage to start balancing, V;
616 * Balancing threshold, V;
617 * Coulomb threshold – the difference of the charges Qthr, given by a series of cells, above which balancing to be started, Ah;
618 * Period – a period to reset of charge counters for each series (to avoid accumulation of error), second;
619 * Do not sum series voltages – a flag to disable the summing of series voltages.3
620
621 === Power down ===
622
623 The BMS Main 3 device can shut down itself if the battery voltage is low or the battery is idle for a long time.
624
625 Shutting down the battery system is performed according to the following conditions:
626
627 * the battery voltage is below the minimum level;
628 * the “Charger connected” signal is cleared for 60 seconds.
629
630 The BMS Main 3 device also shuts down the battery if it stays in the “Charging OFF”, “Discharging OFF”, “Relaxed (after charging)” or “Relaxed (after discharging)” for the configured time.
631
632 To change the parameters of the power down control, select the "Control → Power down" section:
633
634 [[image:1733322892813-562.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="103" width="800"]]
635
636 In this section:
637
638 * Minimum voltage to power down – a minimum voltage level of the battery below which the BMS commands to shut down the battery, V;
639 * Idle time to power down – a time of battery inactivity after which the battery is shut down, minute;
640 * 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.
641 * Power down if KEYRUN and CHARGE_ON are cleared – a flag to power down the device if KEYRUN and CHARGE_ON signals are cleared;
642 * Delay before setting the internal power down signal – a delay before turning off the device power when removing KEYRUN and CHARGE_ON or receiving the “Power down request” command, ms.
643
644 === Heater ===
645
646 To change the parameters of the heater control algorithm, select the "Control → Heater" section:
647
648 [[image:1733322901923-144.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="108" width="800"]]
649
650 In this section:
651
652 * Enable – a flag to enable the heater control;
653 * Minimum cell temperature, °C;
654 * Tolerant cell temperature, °C;
655 * Delay before starting the heater, millisecond;
656 * Delay before stopping the heater, millisecond;
657 * Switch off the heater on errors (Undervoltage, Overcurrent, High temperature, Short circuit or Critical error).
658
659 As a result of operating the heating algorithm, the “Heater” signal is generated.
660
661 Conditions for signal generation:
662
663 * 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.
664
665 Conditions for clearing the signal:
666
667 * 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.
668
669 If there is the "Heater" signal, the heater contactor closes and/or a signal is output to the corresponding digital output.
670
671 === Cooler ===
672
673 To change the parameters of the cooler control algorithm, select the "Control → Cooler" section:
674
675 [[image:1733322901924-962.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="107" width="800"]]
676
677 In this section:
678
679 * Enable – a flag to enable the cooler control;
680 * Maximum cell temperature, °C;
681 * Tolerant cell temperature, °C;
682 * Delay before starting the cooler, millisecond;
683 * Delay before stopping the cooler, millisecond;
684 * Switch off the cooler contactor on errors (Undervoltage, Overcurrent, Low temperature, Short circuit or Critical error).
685
686 As a result of operating the cooling algorithm, the "Cooler" signal is generated.
687
688 Conditions for signal generation:
689
690 * 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.
691
692 Conditions for clearing the signal:
693
694 * 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.
695
696 If there is the "Cooler" signal, the cooler contactor closes and/or a signal is output to the corresponding digital output.
697
698 === High voltage ===
699
700 The BMS Main 3 device has an ability to measure high voltages before and after contactors.
701
702 To change the parameters of high voltage fault, select the "Control → High voltage" section:
703
704 [[image:1733322914683-203.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="87" width="800"]]
705
706 In this section:
707
708 * Enable – a flag to enable High voltage control;
709 * Delay before clearing the High voltage fault, second;
710 * Lock the High voltage fault.
711
712 The BMS Main 3 implements a self-diagnostics of high-voltage measurement lines. If measurement line breaks or high-voltage polarity is wrong, “High voltage fault” is generated.
713
714 **If there is the “High voltage fault”, the “Critical error” is generated and all contactors open.**
715
716 === Cell analysis ===
717
718 The battery discharge characteristic – the dependence Uocv = Uocv(DOD) – is used to determine the tabular dependence Uocv = Uocv(SOC, t°C), which is necessary for calculating the battery charge level.
719
720 The BMS Main 3 device can automatically determine the battery discharge characteristic.
721
722 Before starting the process of determining the discharge characteristic, it is necessary to prepare a BMS:
723
724 1. Charge the battery.
725 1. Connect a resistive load to the discharging contactor, which will provide a discharge current of 0.5C (where C is the cell capacitance).
726
727 To configure parameters for determining the discharge characteristic of the battery, select the "Control → Cell analysis" section:
728
729 [[image:1733322914685-558.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="107" width="800"]]
730
731 In this section:
732
733 * Enable – a flag to enable cell analysis;
734 * Discharge step, Ah;
735 * Delta voltage – a maximum allowable voltage drop for the cell, V;
736 * Logic index, Cell index – a position of the analyzed cell;
737 * Analyse the most discharged cell – a flag to analyse of the least charged cell (in this case, the values “Logic index” and “Cell index” are ignored).
738
739 Discharge step should be set equal to
740
741 Discharge step= С/21,
742
743 where C is the cell capacity.
744
745 The discharge characteristic will be constructed for the given cell (its position is determined by the fields “Logic index” and “Cell index”).
746
747 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.
748
749 Algorithm steps:
750
751 1. DOD = 0.
752 1. Opening the discharging contactor.
753 1. Waiting for the relaxation of the battery.
754 1. Measuring Uocv = U.
755 1. Saving the point of the discharge characteristic (Q, U,,OCV,,).
756 1. Closing of the discharging contactor. DOD,,1,, = DOD + Discharge step, U,,1,, = U
757 1. If DOD = DOD,,1,, or U < (U,,1,, – Delta voltage), then go to step 2.
758 1. If the "Undervoltage" error is detected, then the end of the algorithm.
759
760 During the operation of the algorithm, a file with the name "CELLANALYSIS.TXT" in the CSV format will be created on the SD card.
761
762 File structure:
763
764 |**Time**|**DOD**|**Logic**|**Cell**|**OCV**|**Resistance**
765 |**10.11.2017 12:28:34**|0.0|1|1|4.180|0.080000
766 |**...**|...| |…|...|...
767
768 Parameter names:
769
770 * Time – date and time;
771 * DOD – depth of discharge, Ah;
772 * Logic - position of the Logic device to which the analyzed cell is connected;
773 * Cell – position of the analyzed cell for which OCV and Resistance values are provided;
774 * OCV – cell voltage Uocv, V;
775 * Resistance – cell resistance, Ohm.