Wiki source code of 3.5 Battery control

Version 11.4 by Admin on 2025/01/11 19:02

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 = Configuration =
3
4 (% data-numbered-headings-start="5" style="--numbered-headings-start: 4;font-size: 0px;color: rgba(0, 0, 0, 0.0);margin-bottom: 0px; margin-top: 0px;" %)
5 == Battery control ==
6
7 === Charge control ===
8
9 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.
10
11 The board supports two charge control algorithms:
12
13 * charging is always allowed;
14 * charging is allowed when there is a signal “Charger connected”.
15
16 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:
17
18 * Overvoltage;
19 * Overcurrent;
20 * High temperature;
21 * Low temperature;
22 * HYG offline (optional);
23 * Combilift offline (optional);
24 * Spirit offline (optional);
25 * Spirit charger error (optional);
26 * Short circuit (optional);
27 * Contactor high temperature (optional);
28 * CH contactor cycles error;
29 * Critical error,
30
31 both relays are open (no current flows).
32
33 When the algorithm "charging is allowed when there is a signal “Charger connected”" is selected, the relay control is performed as follows:
34
35 * 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;
36 * If the signal “Charger connected” disappears, the allow charging relay opens and after the delay time T,,off,, the charging relay opens;
37 * 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);
38 * If errors in the list above occur the charging relay and allow charging relay open.
39
40 (% class="box infomessage" %)
41 (((
42 **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).
43 )))
44
45 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.
46
47 To change the parameters of the battery charge control algorithm, select the menu "Cells → Charging control":
48
49 [[image:1732208589628-419.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="725" width="471"]]
50
51 In this section:
52
53 * Enable – a flag to activate the charge control;
54 * Charging algorithm:
55 ** Always on – charging is always allowed;
56 ** On charger connected – charging is allowed when there is a signal “Charger connected”;
57 ** On charge request – charging is allowed when there is a signal “Charge request”;
58 * Current indicating charging – a current level to generate the "Charging current present" signal, A;
59 * Current indicating no charging – a current level to clear the "Charging current present" signal, A;
60 * Delay before starting charging – a time delay T,,on,, before closing the charging relay and the allow charging relay, second;
61 * Delay before stopping charging – a time delay T,,off,, before opening the charging relay, second;
62 * Use specific delays before stopping charging (on errors) – a flag to enable manual settings of time delays T,,off,, for specific errors;
63 * 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”;
64 * Control the precharging relay – a flag that allows control of the precharging relay;
65 * 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;
66 * 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;
67 * 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.
68
69 (% class="box infomessage" %)
70 (((
71 **Note:** The "Allow charging" signal appears under two independent conditions:
72 1) the voltage on the cells reaches the Voltage to reset the “Ready to charge" level and
73 2) the "Delay before recharging" time has passed since the opening of the allow charging relay.
74 )))
75
76 === Discharge control ===
77
78 The board has a discharging relay to connect battery to the load.
79
80 The board supports two algorithms to control battery discharging:
81
82 * load is always connected;
83 * load is connected when there is no signal “Charger connected”.
84
85 When the algorithm "load is always connected" is selected, the discharging relay is always closed. If at least one of the errors appears:
86
87 * Undervoltage;
88 * Overvoltage (optional);
89 * Overcurrent;
90 * High temperature;
91 * Low temperature (optional);
92 * HYG offline (optional);
93 * Combilift offline (optional);
94 * Spirit offline (optional);
95 * Spirit charger error (optional);
96 * Short circuit (optional);
97 * Contactor high temperature (optional);
98 * DCH contactor cycles error;
99 * Critical error
100
101 the discharging relay opens.
102
103 If you select the algorithm "load is connected when there is no signal “Charger connected”" control relay is as follows:
104
105 * 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;
106 * If the signal “Charger connected” appears or errors occur (see the list above), then after the delay time T,,off,, the discharging relay opens.
107
108 (% class="box infomessage" %)
109 (((
110 **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).
111 )))
112
113 The board supports controlling the precharging relay. The duration of switching on the precharging relay before closing the discharging (load) relay is adjusted.
114
115 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.
116
117 To change the parameters of the battery discharge control algorithm, select the menu "Cells → Discharging control":
118
119 [[image:1732208781932-849.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="644" width="415"]]
120
121 In this section:
122
123 * Enable – a flag to activate the discharge control;
124 * Discharging algorithm:
125 ** Always on – load is always connected;
126 ** On charger disconnected – load is connected when there is no signal “Charger connected”;
127 ** On discharge request – load is connected when there is a signal “Discharge request”;
128 * Current indicating discharging – a current level to generate the "Discharging current present" signal, А;
129 * Current indicating no discharging – a current level to clear the "Discharging current present" signal, А;
130 * Delay before starting discharging – a time delay T,,on,, before closing the discharging relay, second;
131 * Delay before stopping discharging – a time delay T,,off,, before opening the discharging relay, second;
132 * Use specific delays before stopping discharging (on errors) – a flag to enable manual settings of time delays T,,off,, for specific errors;
133 * 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”.
134 * Precharge time – a duration of closing the precharge relay before closing the discharging relay, millisecond;
135 * Precharge current threshold to start discharging – a minimum current value to finish precharging and start discharge, A;
136 * 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;
137 * 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.
138
139 === Discharging (AUX) control ===
140
141 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.
142
143 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.
144
145 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:
146
147 * the battery has low SOC;
148 * the battery voltage is out of range;
149 * the battery system errors are detected.
150
151 To change the parameters of the powering of external equipment, select the menu "Cells → Discharging (AUX) control":
152
153 [[image:1732208939544-710.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="397" width="445"]]
154
155 In this section:
156
157 * Enable – a flag to activate the auxiliary discharge control;
158 * Switch off the discharging (AUX) relay at when the battery SOC is low:
159 ** Minimum SOC – a minimum SOC value, when reached, the auxiliary (AUX) discharging relay opens, %;
160 ** Tolerant SOC – a permissive SOC value, upon reaching which the auxiliary (AUX) discharging relay re-closes, %;
161 * Switch off the discharging (AUX) relay when the cell voltage is low:
162 ** Minimum cell voltage – a minimum SOC value, when reached, the auxiliary (AUX) discharging relay opens, %;
163 ** Tolerant SOC – a permissive SOC value, upon reaching which the auxiliary (AUX) discharging relay re-closes, %;
164 * Switch off the discharging (AUX) relay if the battery voltage is out of the range:
165 ** Minimum voltage – minimum battery voltage, V;
166 ** Maximum voltage – maximum battery voltage, V;
167 * 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.
168
169 === Charging/Discharging control ===
170
171 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.
172
173 To change the parameters of the charging/discharging algorithm, select the menu "Cells → Charging/Discharging control":
174
175 [[image:1732209044117-558.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="102" width="259"]]
176
177 In this section:
178
179 * Enable – a flag to enable Charging/Discharging contactor controller.
180
181 === Main contactor ===
182
183 The BMS Main 2.x has a relay to control the main contactor. The main contactor is usually placed in the common (minus) battery line for opening the charge and discharge circuits in a case of sealing of the charging or discharging contactor.
184
185 The main contactor closes if there are no errors from the list below:
186
187 * Overcurrent;
188 * Undervoltage;
189 * Overvoltage;
190 * High temperature (charging);
191 * High temperature (discharging);
192 * Unallowable charging;
193 * Critical error.
194
195 The main contactor opens if the charging and discharging relays are opened and any of the following conditions is met:
196
197 * charging or discharging current is detected during a set time;
198 * voltage of any cell is lower than the minimum cell voltage configured in the section "Protections → Undervoltage protection" during a set time;
199 * voltage of any cell is greater than the maximum cell voltage configured in the section "Protections → Overvoltage protection" during a set time;
200 * temperature of any cell is greater than the maximum cell temperature configured in the section "Protections → High temperature protection" during a set time;
201 * Critical error stays on during a set time.
202
203 To change the parameters of the main contactor, select the menu "Cells → Main contactor":
204
205 [[image:1732209137414-912.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="132" width="352"]]
206
207 In this section:
208
209 * Enable – a flag to enable the main contactor control;
210 * Delay before opening the contactor – a time which is used to detect conditions for opening the contactor, second;
211 * Keep the contactor open until the device is reset – a flag for keeping the main contactor opened until the system be reset.
212
213 === Power down control ===
214
215 The BMS Main 2.x can command the BMS Power Control board to shut down the battery system if the battery voltage is low or the battery is idle for a long time. The BMS Main 2.x interacts with the BMS Power Control using the “Power down request” and the “Acknowledgement of power down” discrete signals.
216
217 Shutting down the battery system is performed according to the following conditions:
218
219 * the battery voltage is below the minimum level;
220 * the “Charger connected” signal is cleared for 60 seconds.
221
222 The BMS Main 2.x also shuts down the battery if it stays in the “Charging OFF”, “Discharging OFF”, “Relaxed (after charging)” or “Relaxed (after discharging)” for the set time.
223
224 To change the parameters of the power down control, select the menu "Cells → Power down control":
225
226 [[image:1732211675123-235.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="198" width="402"]]
227
228 In this section:
229
230 * Enable – a flag to enable the power down control;
231 * Minimum voltage – a minimum voltage level of the battery below which the BMS commands to shut down the battery, V;
232 * Idle time – a time of battery inactivity after which the battery is shut down, second;
233 * Wait the "Power up/down request" signal is cleared (on startup) – a flag to enable delay for clearing the “Power up/down request” signal while starting the BMS.