Wiki source code of 3.4 Battery parameters

Version 4.5 by Admin on 2024/11/21 16:35

Show last authors
1 == 3.4.1 Cell defaults ==
2
3 To change the default cell settings, select the menu "Cells → Cell defaults":
4
5 [[Cell default section>>image:1732205873121-893.png||data-xwiki-image-style-alignment="center" height="313" width="416"]]
6
7 In this section:
8
9 * Capacity – nominal capacity of cells, Ah;
10 * Resistance – nominal (maximum) internal resistance of the cell, Ohm;
11 * Relax time (after charging) – a relaxation time after charging, second;
12 * Relax time (atfer discharging) – the relaxation time after discharging, second;
13 * Cycles – a number of charge-discharge cycles;
14 * Reset battery cycles – a command to reset charge-discharge cycles;
15 * Reset cell parameters (SOC, capacity, resistance) – a command to reset cells state of charge, capacity, and resistance.
16
17 The values “Capacity”, “Resistance”, “Cycles” are used to calculate the SOC of cells and battery.
18
19 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.
20
21 The “Reset cell parameters” command is used for starting-up and adjustment of battery.
22
23 == 3.4.2 SOC estimation ==
24
25 The BMS Main 2.x board calculates the state of charge of the battery (SOC) using two algorithms:
26
27 * by open circuit voltage;
28 * by current and voltage.
29
30 It is recommended to use the algorithm of calculation of SOC by voltage and current.
31
32 To change the parameters of the algorithm for calculating the battery SOC, select the menu "Cells → SOC estimation":
33
34 [[SOC estimation section>>image:1732206031847-819.png||data-xwiki-image-style-alignment="center" height="849" width="356"]]
35
36 In this section:
37
38 * Estimation algorithm – SOC calculation algorithm:
39 ** Voltage – by open circuit voltage;
40 ** Current and voltage (simplified);
41 ** Current and voltage (enhanced);
42 * Final SOC – a method of calculating the battery SOC:
43 ** Minimum cell SOC – the battery SOC is assumed to be equal to the minimum SOC of cells;
44 ** Average cell SOC – the battery SOC is assumed to be equal to the average SOC of cells;
45 * Scale the final SOC – flag to scale the battery SOC by the following values;
46 * Internal SOC corresponding to 0% – battery SOC that sets to be 0%;
47 * Internal SOC corresponding to 100% – battery SOC that sets to be 100%.
48 * Uocv = Uocv(SOC, t °C) – the dependence of the cell open circuit voltage Uocv on SOC and the cell temperature (selected for specific batteries, can be established experimentally – see section Determining the discharge characteristic);
49 * Linear zone – linear zone of dependence Uocv = Uocv(SOC, t °C):
50 ** Uocv ,,[point 1],, – starting point of the linear zone;
51 ** Uocv ,,[point 2],, – end point of the linear zone;
52 * Temperature correction – the dependence of battery capacity on temperature;
53 * Cycle correction – the dependence of battery capacity on the number of charge-discharge cycles.
54
55 The SOC calculation algorithm for voltage calculates SOC cells based on the tabular dependence Uocv = Uocv(SOC, t °C) .
56
57 The SOC calculation algorithm “Current and voltage (simplified)” works as follows:
58
59 * 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);
60 * in any other cases, the SOC value is proportional to the charge (coulomb) passed through the battery (current time integral).
61
62 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).
63
64 == 3.4.3 Cell resistance estimation ==
65
66 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
67
68 R = (U-Uocv) / Istable,
69
70 where U is the cell voltage measured in the charge or discharge state, V; Uocv is the cell voltage measured in the state of relaxation (before switching to the state of charge or discharge); Istable – stabilized current through the cell in the state of charge or discharge.
71
72 The second method is used for a stepwise change in the current through the cell, while the value of the cell resistance:
73
74 R = (U,,2,,-U,,1,,) / (I,,stable2,,-I,,stable1,,) provided that | I,,stable2,,-I,,stable1,, | > 0.2 × Q,,max,,
75
76 (Q,,max,, is the maximum cell capacity),
77
78 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.
79
80 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.
81
82 To change parameters of the algorithm for calculating the cell resistance, select the menu "Cells → Cell resistance estimation":
83
84 == SOC correction ==
85
86 The BMS Main 2.x board 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 Calculating the state of charge (SOC)).
87
88 To configure parameters for periodically correcting the battery state of charge, select the menu "Cells → SOC correction":
89
90 [[SOC correction settings>>image:1732206262509-786.png||data-xwiki-image-style-alignment="center" height="291" width="298"]]
91
92 In this section:
93
94 * Enable – a flag to enable SOC correction;
95 * 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 base on the tabular dependency Uocv = Uocv (SOC, t);
96 * 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 base on the tabular dependency Uocv = Uocv (SOC, t) and tunes it gradually during the “SOC change time”;
97 * SOC change time – a duration of the linear changing the battery SOC to the value calculated by the correction algorithm, minute.
98
99