Wiki source code of 3.5 Battery control

Version 5.1 by Admin on 2024/11/21 17:10

Hide last authors
Admin 1.1 1 == 3.5.1 Charge control ==
2
3 There are two relays that serve charging the battery: a charging relay and an allow charging relay. With the help of the allow charging relay, the BMS commands the charger to start or stop charging.
4
5 The board supports two charge control algorithms:
6
7 * charging is always allowed;
8 * charging is allowed when there is a signal “Charger connected”.
9
10 If you select the "charging is always allowed" algorithm, the charging relay and the allow charging relay are always closed. If at least one of the errors appears:
11
12 * Overvoltage;
13 * Overcurrent;
14 * High temperature;
15 * Low temperature;
16 * HYG offline (optional);
17 * Combilift offline (optional);
18 * Spirit offline (optional);
19 * Spirit charger error (optional);
20 * Short circuit (optional);
21 * Contactor high temperature (optional);
22 * CH contactor cycles error;
23 * Critical error,
24
25 both relays are open (no current flows).
26
27 When the algorithm "charging is allowed when there is a signal “Charger connected”" is selected, the relay control is performed as follows:
28
29 * 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 relay and the allow charging relay close;
30 * If the signal “Charger connected” disappears, the allow charging relay opens and after the delay time T,,off,, the charging relay opens;
31 * If in the process of charging the voltage on the cell exceeds the EV level, the allow charging relay opens (while the charging relay remains closed);
32 * If errors in the list above occur the charging relay and allow charging relay open.
33
34 (% class="box infomessage" %)
35 (((
36 **Note:** When errors occur in the system, the charging relay opens either immediately or with the delay T,,off,, (depends on the settings described below).
37 )))
38
39 When the power down request occurs, the allow charging relay opens immediately and the charging relay opens after the delay T,,off,,. Reclosing the charging relay and allow charging relay is performed if the power down request is removed.
40
41 To change the parameters of the battery charge control algorithm, select the menu "Cells → Charging control":
Admin 2.2 42
43 [[Charge control settings>>image:1732208589628-419.png||data-xwiki-image-style-alignment="center" height="725" width="471"]]
44
45 In this section:
46
47 * Enable – a flag to activate the charge control;
48 * Charging algorithm:
49 ** Always on – charging is always allowed;
50 ** On charger connected – charging is allowed when there is a signal “Charger connected”;
51 ** On charge request – charging is allowed when there is a signal “Charge request”;
52 * Current indicating charging – a current level to generate the "Charging current present" signal, A;
53 * Current indicating no charging – a current level to clear the "Charging current present" signal, A;
54 * Delay before starting charging – a time delay T,,on,, before closing the charging relay and the allow charging relay, second;
55 * Delay before stopping charging – a time delay T,,off,, before opening the charging relay, second;
56 * Use specific delays before stopping charging (on errors) – a flag to enable manual settings of time delays T,,off,, for specific errors;
57 * Switch off the charging relay on errors without delay – a flag to protectively open the charging relay without delay. In the opposite case, when an error is detected, the charging relay opens always with the delay “Delay before stopping charging”;
58 * Control the precharging relay – a flag that allows control of the precharging relay;
59 * Voltage to clear the “Ready to charge” (hence, the “Allow charging”) signal – a threshold voltage level on the cell, V; if the voltage of any cell is above this level, the “Ready to charge” signal is cleared;
60 * Voltage to reset the “Ready to charge” (hence, the “Allow charging”) signal – a tolerant voltage level on the cell, V; if all cell voltages are below the tolerant level, the “Ready to charge” signal is set;
61 * Delay before recharging – a time after which the previously opened the allow charging relay closes again, minute; to disable the operation by timeout set "Delay before recharging" to 0.
62
63 (% class="box infomessage" %)
64 (((
Admin 3.3 65 **Note:** The "Allow charging" signal appears under two independent conditions:
Admin 2.3 66 1) the voltage on the cells reaches the Voltage to reset the “Ready to charge" level and
67 2) the "Delay before recharging" time has passed since the opening of the allow charging relay.
Admin 2.2 68 )))
Admin 2.3 69
70 == 3.5.2 Discharge control ==
71
72 The board has a discharging relay to connect battery to the load.
73
74 The board supports two algorithms to control battery discharging:
75
76 * load is always connected;
77 * load is connected when there is no signal “Charger connected”.
78
79 When the algorithm "load is always connected" is selected, the discharging relay is always closed. If at least one of the errors appears:
80
81 * Undervoltage;
82 * Overvoltage (optional);
83 * Overcurrent;
84 * High temperature;
85 * Low temperature (optional);
86 * HYG offline (optional);
87 * Combilift offline (optional);
88 * Spirit offline (optional);
89 * Spirit charger error (optional);
90 * Short circuit (optional);
91 * Contactor high temperature (optional);
92 * DCH contactor cycles error;
93 * Critical error
94
95 the discharging relay opens.
96
97 If you select the algorithm "load is connected when there is no signal “Charger connected”" control relay is as follows:
98
99 * if there is no signal “Charger connected”, the charging relay is opened and there are no errors (see the list above), then through the delay time T,,on,, the discharging relay closes;
100 * If the signal “Charger connected” appears or errors occur (see the list above), then after the delay time T,,off,, the discharging relay opens.
101
Admin 3.2 102 (% class="box infomessage" %)
103 (((
104 **Note:** In case of errors in the system operation, the opening of the discharging relay is performed either immediately or with a delay T,,off,, (depends on the settings described below).
105 )))
Admin 2.3 106
107 The board supports controlling the precharging relay. The duration of switching on the precharging relay before closing the discharging (load) relay is adjusted.
108
109 When the power down request occurs, the discharging relay opens after delay T,,off,,. Reclosing the discharging relay is performed if the power down request is removed.
110
111 To change the parameters of the battery discharge control algorithm, select the menu "Cells → Discharging control":
Admin 3.2 112
113 [[Discharge control settings>>image:1732208781932-849.png||data-xwiki-image-style-alignment="center" height="644" width="415"]]
114
115
116 In this section:
117
118 * Enable – a flag to activate the discharge control;
119 * Discharging algorithm:
120 ** Always on – load is always connected;
121 ** On charger disconnected – load is connected when there is no signal “Charger connected”;
122 ** On discharge request – load is connected when there is a signal “Discharge request”;
123 * Current indicating discharging – a current level to generate the "Discharging current present" signal, А;
124 * Current indicating no discharging – a current level to clear the "Discharging current present" signal, А;
125 * Delay before starting discharging – a time delay T,,on,, before closing the discharging relay, second;
126 * Delay before stopping discharging – a time delay T,,off,, before opening the discharging relay, second;
127 * Use specific delays before stopping discharging (on errors) – a flag to enable manual settings of time delays T,,off,, for specific errors;
128 * Switch off the discharging relay on errors without delay – a flag to protectively open the discharging relay without delay. In the opposite case, when an error is detected, the discharging relay opens always with the delay “Delay before stopping discharging”.
129 * Precharge time – a duration of closing the precharge relay before closing the discharging relay, millisecond;
130 * Voltage to clear the “Ready to discharge” signal – 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;
Admin 3.3 131 * Voltage to reset the “Ready to discharge” signal – a tolerant voltage level on the cell, V; if all cells voltages are above the tolerant level, the “Ready to discharge” signal is set.
Admin 3.2 132
Admin 4.2 133 == 3.5.3 Discharging (AUX) control ==
134
135 The BMS Main 2.x board can control the power supply of external equipment using the auxiliary (AUX) discharging relay. An example of external equipment can be an inverter that converts DC to AC to power a service laptop and other devices.
136
137 The power supply circuit of the external equipment using the auxiliary (AUX) discharging relay is independent of the battery load circuit. The closing and opening of the auxiliary (AUX) discharging relay is performed according to its program.
138
139 If the power supply function of the external equipment is enabled, the auxiliary (AUX) discharging relay closes. The opening of this relay occurs on three independent conditions:
140
141 * the battery has low SOC;
142 * the battery voltage is out of range;
143 * the battery system errors are detected.
144
145 To change the parameters of the powering of external equipment, select the menu "Cells → Discharging (AUX) control":
146
Admin 4.3 147 [[Discharging (AUX) control settings>>image:1732208939544-710.png||data-xwiki-image-style-alignment="center" height="397" width="445"]]
148
149 In this section:
150
151 * Enable – a flag to activate the auxiliary discharge control;
152 * Switch off the discharging (AUX) relay at low SOC:
153 ** Minimum SOC – a minimum SOC value, when reached, the auxiliary (AUX) discharging relay opens, %;
154 ** Tolerant SOC – a permissive SOC value, upon reaching which the auxiliary (AUX) discharging relay re-closes, %;
155 * Switch off the discharging (AUX) relay if the battery voltage is out of the range:
156 ** Minimum voltage – minimum battery voltage, V;
157 ** Maximum voltage – maximum battery voltage, V;
158 * Switch off the discharging (AUX) relay on errors – the auxiliary (AUX) discharging relay opens if the following errors occur: Undervoltage, Overcurrent, High temperature (discharging), Short circuit, Critical error.
159
160 == 3.5.4 Charging/Discharging control ==
161
162
163 BMS Main 2.x allows to control charging/discharging contactor that combines algorithms of charging and discharging contactor. It behaves as charging contactor when «Charge request» or «Charger connected» are set, otherwise – as discharging contactor.
164
165 To change the parameters of the charging/discharging algorithm, select the menu "Cells → Charging/Discharging control":