Wiki source code of 3.6 Battery protection
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | The BMS Main 2.x board continuously monitors the state of the cells, BMS Logic boards, the external environment and, when detecting abnormalities, protects the battery and system components from damage. | ||
| 2 | |||
| 3 | == 3.6.1 Overcurrent protection == | ||
| 4 | |||
| 5 | To change the current protection of the battery, select the menu "Protections → Overcurrent protection": | ||
| 6 | |||
| 7 | [[Overcurrent protection settings>>image:1732211959984-118.png||data-xwiki-image-style-alignment="center" height="266" width="386"]] | ||
| 8 | |||
| 9 | In this section: | ||
| 10 | |||
| 11 | * Enable – a flag to enable the protection; | ||
| 12 | * Maximum charging current, А; | ||
| 13 | * Tolerant charging current, А; | ||
| 14 | * Maximum discharging current, А; | ||
| 15 | * Tolerant discharging current, А; | ||
| 16 | * Delay before setting the error, second; | ||
| 17 | * Delay before clearing the error, second; | ||
| 18 | * Lock the error until the device is reset – a flag to block the error until the board is restarted. | ||
| 19 | |||
| 20 | As a result of operation of the current protection, the "Overcurrent" error is generated. | ||
| 21 | |||
| 22 | Error generation conditions: | ||
| 23 | |||
| 24 | * 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; | ||
| 25 | * 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. | ||
| 26 | |||
| 27 | Conditions for removing the error: | ||
| 28 | |||
| 29 | * 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; | ||
| 30 | * 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. | ||
| 31 | |||
| 32 | (% class="box infomessage" %) | ||
| 33 | ((( | ||
| 34 | If there is the "Overcurrent" error, the charging and discharging relay open. | ||
| 35 | ))) | ||
| 36 | |||
| 37 | == 3.6.2 Undervoltage protection == | ||
| 38 | |||
| 39 | The board implements battery protection from too low or too high voltage on the cells. | ||
| 40 | |||
| 41 | To change the battery protection parameters from low voltage on the cells, select the menu "Protections → Undervoltage protection": | ||
| 42 | |||
| 43 | [[Undervoltage protection settings>>image:1732212212350-294.png||data-xwiki-image-style-alignment="center" height="207" width="359"]] | ||
| 44 | |||
| 45 | In this section: | ||
| 46 | |||
| 47 | * Enable – a flag to enable the protection; | ||
| 48 | * Minimum cell voltage, V; | ||
| 49 | * Tolerant cell voltage, V; | ||
| 50 | * Delay before setting the error, second; | ||
| 51 | * Delay before clearing the error, second; | ||
| 52 | * Lock the error until the device is reset. | ||
| 53 | |||
| 54 | As a result of the operation of battery protection from low voltage, the "Undervoltage" error is generated. | ||
| 55 | |||
| 56 | Error generation conditions: | ||
| 57 | |||
| 58 | * 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. | ||
| 59 | |||
| 60 | Conditions for removing the error: | ||
| 61 | |||
| 62 | * 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. | ||
| 63 | |||
| 64 | (% class="box infomessage" %) | ||
| 65 | ((( | ||
| 66 | If there is the "Undervoltage" error, the discharging relay opens. | ||
| 67 | ))) | ||
| 68 | |||
| 69 | 3.6.3 Overvoltage protection | ||
| 70 | |||
| 71 | To change the battery protection parameters from high voltage on the cells, select the menu "Protections → Overvoltage protection": | ||
| 72 | |||
| 73 | [[image:1732212357972-295.png]] | ||
| 74 | |||
| 75 | In this section: | ||
| 76 | |||
| 77 | * Enable – a flag to enable the protection; | ||
| 78 | * Maximum cell voltage, V; | ||
| 79 | * Tolerant cell voltage, V; | ||
| 80 | * Delay before setting the error, second; | ||
| 81 | * Delay before clearing the error, second; | ||
| 82 | * Switch off the discharging relay on error – a flag to open the discharging relay when the "Overvoltage" error is generated; | ||
| 83 | * Lock the error until the device is reset. | ||
| 84 | |||
| 85 | As a result of the operation of the battery protection from high voltage, the "Overvoltage" error is generated. | ||
| 86 | |||
| 87 | Error generation conditions: | ||
| 88 | |||
| 89 | * 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. | ||
| 90 | |||
| 91 | Conditions for removing the error: | ||
| 92 | |||
| 93 | * 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. | ||
| 94 | |||
| 95 | (% class="box infomessage" %) | ||
| 96 | ((( | ||
| 97 | If there is the "Overvoltage" error, the charging relay and discharging relay opens (if the “Switch off the discharging relay on error” flag is set). | ||
| 98 | ))) | ||
| 99 | |||
| 100 | == 3.6.4 Low temperature protection == | ||
| 101 | |||
| 102 | The board implements battery protection from too low temperature. | ||
| 103 | |||
| 104 | To change the battery protection parameters from low temperature, select the menu "Protections → Low temperature protection": | ||
| 105 | |||
| 106 | |||
| 107 | In this section: | ||
| 108 | |||
| 109 | * Enable – a flag to enable the protection; | ||
| 110 | * Minimum charging temperature, °C; | ||
| 111 | * Tolerant charging temperature, °C; | ||
| 112 | * Minimum discharging temperature, °C; | ||
| 113 | * Tolerant discharging temperature, °C; | ||
| 114 | * Delay before setting the error, second; | ||
| 115 | * Delay before clearing the error, second; | ||
| 116 | * Lock the error until the device is reset. | ||
| 117 | |||
| 118 | As a result of the operation of the battery protection from low temperature, the "Low CH temperature" or “Low DCH temperature” error is generated. | ||
| 119 | |||
| 120 | Error generation conditions: | ||
| 121 | |||
| 122 | * 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. | ||
| 123 | |||
| 124 | Conditions for removing the error: | ||
| 125 | |||
| 126 | * 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. | ||
| 127 | |||
| 128 | (% class="box infomessage" %) | ||
| 129 | ((( | ||
| 130 | If there is the "Low CH temperature" error, the charging relay opens. | ||
| 131 | If there is the "Low DCH temperature" error, the discharging relay opens. | ||
| 132 | ))) | ||
| 133 | |||
| 134 | == 3.6.5 High temperature protection == | ||
| 135 | |||
| 136 | The board implements battery protection from too high temperature. | ||
| 137 | |||
| 138 | To change the battery protection parameters from high temperature, select the menu "Protections → High temperature protection": | ||
| 139 | |||
| 140 | |||
| 141 | In this section: | ||
| 142 | |||
| 143 | * Enable – a flag to enable the protection; | ||
| 144 | * Maximum charging temperature, °C; | ||
| 145 | * Tolerant charging temperature, °C; | ||
| 146 | * Maximum discharging temperature, °C; | ||
| 147 | * Tolerant discharging temperature, °C; | ||
| 148 | * Delay before setting the error, second; | ||
| 149 | * Delay before clearing the error, second; | ||
| 150 | * Lock the error until the device is reset. | ||
| 151 | |||
| 152 | As a result of the operation of the battery protection from high temperature, the "High CH temperature" or “High DCH temperature” error is generated. | ||
| 153 | |||
| 154 | Error generation conditions: | ||
| 155 | |||
| 156 | * 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. | ||
| 157 | |||
| 158 | Conditions for removing the error: | ||
| 159 | |||
| 160 | * 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. | ||
| 161 | |||
| 162 | (% class="box infomessage" %) | ||
| 163 | ((( | ||
| 164 | If there is the "High CH temperature" error, the charging relay opens. | ||
| 165 | If there is the "High DCH temperature" error, the discharging relay opens. | ||
| 166 | ))) | ||
| 167 | |||
| 168 | == 3.6.6 Battery cover protection == | ||
| 169 | |||
| 170 | To change the protection parameters from opening the battery cover, select the menu "Protections → Battery cover protection": | ||
| 171 | |||
| 172 | In this section: | ||
| 173 | |||
| 174 | * Enable – a flag to enable the protection; | ||
| 175 | * Delay before setting the error, second; | ||
| 176 | * Delay before clearing the error, second; | ||
| 177 | * Lock the error until the device is reset. | ||
| 178 | |||
| 179 | As a result of the operation of the protection against opening the battery cover, the “Battery cover error” is generated. | ||
| 180 | |||
| 181 | Error generation conditions: | ||
| 182 | |||
| 183 | * there is a signal from the battery cover during the “Delay before setting the error” time. | ||
| 184 | |||
| 185 | Conditions for removing the error: | ||
| 186 | |||
| 187 | * no signal from the battery cover during the “Delay before clearing the error” time. | ||
| 188 | |||
| 189 | (% class="box warningmessage" %) | ||
| 190 | ((( | ||
| 191 | **If there is the "Battery cover error", the “Critical error” is generated and all relays open.** | ||
| 192 | ))) | ||
| 193 | |||
| 194 | == 3.6.7 High humidity protection == | ||
| 195 | |||
| 196 | The board can protect the battery from high humidity and water. | ||
| 197 | |||
| 198 | To change the protection parameters of the battery from high humidity, select the menu "Protections → High humidity protection": | ||
| 199 | |||
| 200 | |||
| 201 | In this section: | ||
| 202 | |||
| 203 | * Enable – a flag to enable the protection; | ||
| 204 | * Maximum humidty, RH%; | ||
| 205 | * Tolerant humidty, RH%; | ||
| 206 | * Delay before setting the error, second; | ||
| 207 | * Delay before clearing the error, second; | ||
| 208 | * Lock the error until the device is reset. | ||
| 209 | |||
| 210 | As a result of the operation of the battery protection from high humidity, the "High humidity" error is generated. | ||
| 211 | |||
| 212 | Error generation conditions: | ||
| 213 | |||
| 214 | * the measured humidity is greater than “Maximum humidity” during the “Delay before setting the error” time. | ||
| 215 | |||
| 216 | Conditions for removing the error: | ||
| 217 | |||
| 218 | * the measured humidity is less than the “Tolerant humidity” during the “Delay before clearing the error” time. | ||
| 219 | |||
| 220 | (% class="box infomessage" %) | ||
| 221 | ((( | ||
| 222 | If there is the "High humidity" error, no action is taken. The error is indicative. | ||
| 223 | ))) | ||
| 224 | |||
| 225 | == 3.6.8 Water protection == | ||
| 226 | |||
| 227 | To change the protection parameters of the battery from water, select the menu "Protections → Water protection": | ||
| 228 | |||
| 229 | |||
| 230 | In this section: | ||
| 231 | |||
| 232 | * Enable – a flag to enable the protection; | ||
| 233 | * Maximum (water) humidty, RH%; | ||
| 234 | * Tolerant humidity, RH%; | ||
| 235 | * Delay before setting the error, second; | ||
| 236 | * Delay before clearing the error, second; | ||
| 237 | * Lock the error until the device is reset. | ||
| 238 | |||
| 239 | As a result of the operation of the battery protection from water, the "Water" error is generated. | ||
| 240 | |||
| 241 | Error generation conditions: | ||
| 242 | |||
| 243 | * the measured humidity is greater than the “Maximum (water) humidity” value during the “Delay before setting the error” time. | ||
| 244 | |||
| 245 | Conditions for removing the error: | ||
| 246 | |||
| 247 | * the measured humidity is less than the “Tolerant humidity” value during the “Delay before clearing the error” time. | ||
| 248 | |||
| 249 | (% class="box warningmessage" %) | ||
| 250 | ((( | ||
| 251 | **If there is the “Water” error, the “Critical error” is generated and all relays open.** | ||
| 252 | ))) | ||
| 253 | |||
| 254 | == 3.6.9 Current sensor error == | ||
| 255 | |||
| 256 | The board is implemented to check the current sensor connection circuits. The circuits are checked for breakage and short-circuit to the +5 V supply line. | ||
| 257 | |||
| 258 | To change the test parameters of the current sensor connection circuits, select the menu "Protections → Current sensor error": | ||
| 259 | |||
| 260 | |||
| 261 | In this section: | ||
| 262 | |||
| 263 | * Enable – a flag to enable the protection; | ||
| 264 | * Maximum voltage, V; | ||
| 265 | * Minimum voltage, V; | ||
| 266 | * Hysteresis voltage – a hysteresis value to clear the error, V; | ||
| 267 | * Delay before setting the error, second; | ||
| 268 | * Delay before clearing the error, second; | ||
| 269 | * Lock the error until the device is reset. | ||
| 270 | |||
| 271 | If there is an open or short circuit connection of a current sensor, the "Current sensor error" is generated. | ||
| 272 | |||
| 273 | Error generation conditions: | ||
| 274 | |||
| 275 | * 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; | ||
| 276 | * 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. | ||
| 277 | |||
| 278 | Conditions for removing the error: | ||
| 279 | |||
| 280 | * the voltage in the signal line or zero level line of the current sensor is in range from (Minimum voltage + Hysteresis voltage) to (Maximum voltage - Hysteresis voltage) during the “Delay before clearing the error” time. | ||
| 281 | |||
| 282 | **If there is the “Current sensor error”, the “Critical error” is generated and all relays open.** | ||
| 283 | |||
| 284 | == 3.6.10 Short circuit protection == | ||
| 285 | |||
| 286 | == 3.6.11 Contactor high temperature protection == | ||
| 287 | |||
| 288 | == 3.6.12 Unallowable charging protection == | ||
| 289 | |||
| 290 | == 3.6.13 Stuck contactor protection == | ||
| 291 | |||
| 292 | == 3.6.14 Contactor feedback check == | ||
| 293 | |||
| 294 | == 3.6.15 Charging contactor cycles protection == | ||
| 295 | |||
| 296 | == 3.6.16 Discharging contactor cycles protection == | ||
| 297 | |||
| 298 | == 3.6.17 Temperature sensor error == | ||
| 299 | |||
| 300 | == 3.6.18 Logic high temperature protection == | ||
| 301 | |||
| 302 | == 3.6.19 Logic offline protection == | ||
| 303 | |||
| 304 | == 3.6.20 Cell count protection == | ||
| 305 | |||
| 306 | == 3.6.21 Logic count protection == | ||
| 307 | |||
| 308 | == 3.6.22 WDT protection == | ||
| 309 | |||
| 310 | == 3.6.23 Insulation monitoring == | ||
| 311 | |||
| 312 | == 3.6.24 Critical error parameters == | ||
| 313 | |||
| 314 | == 3.6.25 General error parameters == | ||
| 315 | |||
| 316 | == 3.6.26 Low SOC signal == | ||
| 317 | |||
| 318 | == 3.6.27 High charging current signal == | ||
| 319 | |||
| 320 | == 3.6.28 Heater control == | ||
| 321 | |||
| 322 | == 3.6.29 Heater (AUX) control == | ||
| 323 | |||
| 324 | == 3.6.30 Cooler control == | ||
| 325 | |||
| 326 | == 3.6.31 Fault simulation == |