Wiki source code of BMS Main 3X

Last modified by Admin on 2026/11/24 06:01

Show last authors
1 (% class="box infomessage" %)
2 (((
3 BMS Main 3X firmware update procedure is described [[here>>doc:Battery management systems.BMS Main 3.6\. Firmware update.WebHome]].
4 )))
5
6 = v3.12.2 =
7
8 [[BMS_Main_3X_v3.12.2.bin>>FileManager.BMS_Main_3X_v3\.12\.2\.bin]]
9
10 == Fixes ==
11
12 * Unibat: resolving the issue where the interlock (HVIL) error was raised without the configured confirmation delay because the interlock state was taken directly from a battery module that was still reported as not initialized
13
14 = v3.12.1 =
15
16 [[BMS_Main_3X_v3.12.1.bin>>FileManager.BMS_Main_3X_v3\.12\.1\.bin]]
17
18 == Fixes ==
19
20 * skipping the reading of non-existent parameters during data exchange with BMS Mini and BMS Main 2.1
21 * corrections to battery module error names
22
23 = v3.12.0 =
24
25 [[BMS_Main_3X_v3.12.0.bin>>FileManager.BMS_Main_3X_v3\.12\.0\.bin]]
26
27 == Features ==
28
29 * new flag that allows a battery module containing no cells to be considered as being in the offline state (see the "Control - Modules" section)
30 * Unibat: interaction with TMS (see the new "External equipment - Unibat vehicle - TMS controller" section)
31
32 == Improvements ==
33
34 * Unibat: additional delay before disconnecting the battery during discharge in the event that communication with the vehicle is lost (see the "External equipment - Unibat vehicle - General parameters" section)
35 * Unibat: ability to send the continuous discharge current limit (see the "External equipment - Unibat vehicle - General parameters" section)
36
37 = v3.11.2 =
38
39 [[BMS_Main_3X_v3.11.2.bin>>FileManager.BMS_Main_3X_v3\.11\.2\.bin]]
40
41 == Improvements ==
42
43 * Unibat: processing of the HVIL signal even if the Main X or battery modules are not initialized
44
45 == Fixes ==
46
47 * resolving the issue where the device may hang when encountering communication issues while sending a compressed answer via the CLI
48
49 = v3.11.1 =
50
51 [[BMS_Main_3X_v3.11.1.bin>>FileManager.BMS_Main_3X_v3\.11\.1\.bin]]
52
53 == Fixes ==
54
55 * Unibat: resolving the issue with sending DTC SPN 5921 FMI 17 in the DM1 message
56
57 = v3.11.0 =
58
59 [[BMS_Main_3X_v3.11.0.bin>>FileManager.BMS_Main_3X_v3\.11\.0\.bin]]
60
61 == Features ==
62
63 * compatibility with the BMS Main 2RX device; from this release onwards, the BMS Main 2RX firmware version will be the same as the BMS Main 3X firmware version
64 * support for the ESS Modbus controller (see the "External equipment - ESS Modbus controller" section)
65 * ability to manually clear/reset device errors via CANopen, Modbus, CLI (see the "State - Error reset" section)
66 * new input signals "Status 1", "Status 2", "Status 3", "Status 4"
67
68 == Fixes ==
69
70 * resolving the problem of device stability when reading/writing large amounts of data using the Modbus protocol
71 * resolving a problem in the cellular communications subsystem
72
73 = v3.10.1 =
74
75 [[BMS_Main_3X_v3.10.1.bin>>FileManager.BMS_Main_3X_v3\.10\.1\.bin]]
76
77 == Improvements ==
78
79 * support for multiple clients expecting compressed CLI responses
80 * deleting old log files when the SD card is full (see the corresponding flag in the "Service - SD card" section)
81
82 = v3.10.0 =
83
84 [[BMS_Main_3X_v3.10.0.bin>>FileManager.BMS_Main_3X_v3\.10\.0\.bin]]
85
86 == Features ==
87
88 * compressing CLI responses for some commands to speed up data exchange over slow interfaces
89 * ability to reset a device password using a signed token
90
91 == Improvements ==
92
93 * maintaining continuous current limits below peak current limits
94 * ability to clear the "Precharge error" based on the clock (calendar) time (see the "Control - Precharge" section)
95 * Unibat: new parameter that determines the duration of the reduction in current limits after the insulation fault is detected
96
97 == Fixes ==
98
99 * resolving the issue of incorrect SD card handling when the filesystem is corrupted
100
101 = v3.9.1 =
102
103 [[BMS_Main_3X_v3.9.1.bin>>FileManager.BMS_Main_3X_v3\.9\.1\.bin]]
104
105 == Fixes ==
106
107 * resolving the problem of device rebooting when sending data via FTP and MQTT protocols using the BMS GSM v2 cellular module
108
109 = v3.9.0 =
110
111 == Improvements ==
112
113 * support for the second bootloader v3
114 * ability to complete device initialization without waiting for voltage stabilization on the power switches (see the "Control - Initialization" section)
115 * MQTT optimization
116 * optimization of BMS WiFi v2, BMS GSM v1, and BMS GSM v2 drivers
117 * new assignment "Close External 1" and "Close External 1" for the discrete inputs (see the "Signals - Input discrete signals - Assignments" section)
118 * new assignment "External 1" and "External 2" for the discrete outputs and power switches (see the "Signals - Output discrete signals - Assignments" and "Signals - Power switches - Assignments" sections). The "External 1" and "External 2" output is directly controlled by the "Close External 1" and "Close External 2" command.
119 * ability to configure the generation of "External 1" and "External 2" signals based on other internal signals as an alternative to the "Close External 1" and "Close External 2" commands (see the "Signals - External 1-2 signals" section)
120 * Unibat: ability to halve current limits when the insulation warning is detected (see the "External equipment - Unibat vehicle - General parameters" section)
121 * Unibat: ability to emergency disconnect the battery when the isolation alarm is detected in any operating mode (charge and discharge) (see the "External equipment - Unibat vehicle - General parameters" section)
122 * Unibat: ability to delay emergency battery disconnection when the isolation alarm is detected (see the "External equipment - Unibat vehicle - General parameters" section)
123 * Unibat: ability to linearly reduce current limits to zero when the isolation alarm is detected (see the "External equipment - Unibat vehicle - General parameters" section)
124 * Unibat: use of Ohm/Volt units to define insulation warning and alarm thresholds (see the "External equipment - Unibat vehicle - Diagnostic parameters" section)
125
126 == Fixes ==
127
128 * corrected values ​​of the "Internal signals that cause events to be sent" parameter in the "Service - MQTT" section
129
130 = v3.8.2 =
131
132 [[BMS_Main_3X_v3.8.2.bin>>FileManager.BMS_Main_3X_v3\.8\.2\.bin]]
133
134 == Improvements ==
135
136 * Unibat: preventing the reset of the HVBPITS and HVBPITR signals if the device shutdown was caused by the insulation fault
137
138 == Fixes ==
139
140 * Unibat: charge current limit protection is disabled in charge mode only when the "Use continuous charge current limit" flag is set
141 * Unibat: discharge current limit protection is enabled regardless of whether the battery is in discharge or charge mode
142
143 = v3.8.1 =
144
145 [[BMS_Main_3X_v3.8.1.bin>>FileManager.BMS_Main_3X_v3\.8\.1\.bin]]
146
147 == Improvements ==
148
149 * setting and clearing the "Voltage unbalance" errors without delays
150 * new CAN bus speed is not applied until the device is rebooted
151 * logging the following new parameters: "UnibatState", "UnibatOperationalModeState", "Keyrun", "ChargeOn"
152 * Unibat: ability to shutdown the battery if its SOC is too low (see the "External equipment - Unibat vehicle - Diagnostic parameters" section)
153 * Unibat: change the resolution of parameters CC and DC from 0.01 to 0.1 Ah/bit
154 * Unibat: do not turn on the amber lamp if the actual battery SOC is equal to the configured maximum operational SOC
155
156 == Fixes ==
157
158 * resolving the problem of completing the initialization process before the power switch voltage stabilizes
159
160 = v3.8.0 =
161
162 [[BMS_Main_3X_v3.8.0.bin>>FileManager.BMS_Main_3X_v3\.8\.0\.bin]]
163
164 == Features ==
165
166 * support for the Trolleybat vehicle (see the "External equipment - Trolleybat vehicle" section)
167
168 == Improvements ==
169
170 * checking the continuous charge current limit only if the "Use continuous charge current limit" flag is set in the "External equipment - Unibat vehicle - General parameters" section
171 * Unibat: transition to charging mode according to the condition EESCD=7
172
173 == Fixes ==
174
175 * resolving the problem of completing the initialization process before the power switch voltage stabilizes
176 * Unibat: prevent the "Charge request" and "Discharge request" signals from being reset if the Unibat vehicle goes offline (the signals are controlled in the Unibat state machine)
177
178 = v3.7.1 =
179
180 [[BMS_Main_3X_v3.7.1.bin>>FileManager.BMS_Main_3X_v3\.7\.1\.bin]]
181
182 == Fixes ==
183
184 * Unibat: do not send the insulation error DTC if the IMD goes offline when the battery system is in the shutdown mode
185
186 = v3.7.0 =
187
188 [[BMS_Main_3X_v3.7.0.bin>>FileManager.BMS_Main_3X_v3\.7\.0\.bin]]
189
190 == Features ==
191
192 * new profile section with global battery status, which includes total charge and energy counters, total operating time, contactor opening count, etc. (see the "Profile" tab in the Unified monitor)
193 * new total charge counters (plus and minus)
194
195 == Improvements ==
196
197 * Unibat: new flag to set the custom value (=3) for the EESCD signal (see the "External equipment - Unibat vehicle - General parameters" section)
198 * Unibat: new bit field to ignore internal errors that cause battery shutdown (see the "External equipment - Unibat vehicle - General parameters" section)
199 * Unibat: sending a new packet containing the continuous charge current limit
200
201 == Fixes ==
202
203 * optimization of the logging process, minimizing the time to open the next log file if the current one is full
204 * resolving the stability problem when the SD card is full
205 * Unibat: prevent sending module online statuses if the power down condition is met
206 * Unibat: small fixes
207
208 = v3.6.2 =
209
210 [[BMS_Main_3X_v3.6.2.bin>>FileManager.BMS_Main_3X_v3\.6\.2\.bin]]
211
212 == Improvements ==
213
214 * turning on power switches with a delay of 1 second after reaching the supply voltage of 9V
215 * Unibat: new flag that allows to hide the insulation testing status when repeating measurements (see the "External equipment - Unibat vehicle" section)
216 * expansion of the list of parameters that are reset to default values when the device is powered on while holding the button on the board. The following parameters are affected: all CAN1 (ext) settings; all CAN2 (int) settings; all CAN3 (BMS) settings; all RS-485-1 (Modbus) settings; LAN settings: IP mode, IP address, Netmask, Gateway address
217
218 == Fixes ==
219
220 * resolving the issue of false warnings indicating that the battery current exceeds the current limits (affects Unibat vehicle)
221 * Unibat: changes that make it so that the output period is responsible for only 4 messages, not for all messages (see the "External equipment - Unibat vehicle" section)
222 * Unibat: resolving the issue of TP messages not being sent if the transport is already transmitting something at the time of the request
223 * corrections of typos in parameter descriptions
224
225 = v3.6.1 =
226
227 [[BMS_Main_3X_v3.6.1.bin>>FileManager.BMS_Main_3X_v3\.6\.1\.bin]]
228
229 == Improvements ==
230
231 * new parameters for switching to the sum of battery modules' currents if the current sensor error is detected or the sensor is saturated (see the "Inputs - Current sensor" section)
232 * new flag allowing to swap CAN2 (int) and CAN3 (BMS) interfaces (see the "Connectivity" section under the service account)
233
234 = v3.6.0 =
235
236 [[BMS_Main_3X_v3.6.0.bin>>FileManager.BMS_Main_3X_v3\.6\.0\.bin]]
237
238 == Features ==
239
240 * Unibat: refined algorithms and new parameters to meet requirements of version 8.5 of the logic (protocol v6.1)
241
242 == Improvements ==
243
244 * new flag enabling fast current measurements (see the "Signals - Current sensor" section)
245 * new parameters to ignore the specified errors when setting the critical error (see the "Protections - Critical error" section)
246 * displaying HV calibration values for the service account (see the "Service - Calibration" section)
247 * Unibat: structuring parameters into subgroups: "General parameters", "Battery parameters", "Diagnostic parameters", "Power limiting parameters", "Battery version" (see the "External equipment - Unibat vehicle" section)
248
249 = v3.5.0 =
250
251 [[BMS_Main_3X_v3.5.0.bin>>FileManager.BMS_Main_3X_v3\.5\.0\.bin]]
252
253 == Features ==
254
255 * support for sending battery state and events via MQTT protocol via Wi-Fi or cellular network (see the "Service - MQTT" section)
256
257 == Improvements ==
258
259 * support for secure (TLS) connections in BMS GSM v1 and v2 drivers
260
261 == Fixes ==
262
263 * synchronization of the precharge procedure with the charge/discharge algorithms, so that precharge is stopped if charging and discharging are prohibited
264
265 = v3.4.0 =
266
267 [[BMS_Main_3X_v3.4.0.bin>>FileManager.BMS_Main_3X_v3\.4\.0\.bin]]
268
269 == Features ==
270
271 * new protection checking that the voltage of joined battery modules is equal to the voltage before contactors (the "High voltage 1" value). If this is not the case, the error "Battery voltage mismatch" is generated (see the "Protections - Battery voltage" section)
272
273 == Improvements ==
274
275 * new CLI command "find-log" which finds a log file containing a specified timestamp
276 * ability to acknowledge battery module errors via CLI (see the "Service - Errors journal" section) and Modbus protocol
277
278 == Fixes ==
279
280 * resolving the issue of rebooting the device if formatting the SD card is activated
281
282 = v3.3.0 =
283
284 [[BMS_Main_3X_v3.3.0.bin>>FileManager.BMS_Main_3X_v3\.3\.0\.bin]]
285
286 == Features ==
287
288 * ability to calibrate high voltage measuring means, available starting with the service account (see the "Service - Calibration" section)
289
290 == Improvements ==
291
292 * new type of temperature sensors: NTC 10k B25/50=3380K (see the "Signals - Temperature sensors" section)
293
294
295 = v3.2.5 =
296
297 [[BMS_Main_3X_v3.2.5.bin>>FileManager.BMS_Main_3X_v3\.2\.5\.bin]]
298
299 == Improvements ==
300
301 * dynamic calculation of data transfer schedule for optimal communication with a large number of battery modules
302 * ability to complete device initialization after the set timeout has expired and the minimum number of modules has been detected (see the "Control - Initialization" section)
303 * 30 second delay when remounting SD card after detecting mount error
304 * saving the number of joined modules in log files
305 * Unibat: new flag disabling insulation measurement
306 * Unibat: calculation of the battery current depending on the connection variant of current sensors
307 * Unibat: preventing HVILS changes if the battery is in power-down state
308
309 == Fixes ==
310
311 * resolving the problem of ignoring the parameter that selects the connection variant of current sensors
312 * Unibat: corrections in message identifiers HVESSS1, HVESSD2, HVESSD3, HVESSD8, storing battery module data
313 * Unibat: corrections in HVESSCFG message priority
314
315 = v3.2.4 =
316
317 [[BMS_Main_3X_v3.2.4.bin>>FileManager.BMS_Main_3X_v3\.2\.4\.bin]]
318
319 == Improvements ==
320
321 * new flags that allow to interrupt (shorten) the module balancing stage if all battery modules are already joined (see the "Control - Charge", "Control - Discharge", "Control - Charge/Discharge" sections)
322 * forwarding CLI and bootloader CAN messages from CAN1 interface to CAN2 interface and back, that allows the user to configure and update the firmware of internal devices such as BMS IMD or BMS Display
323 * new parameter for setting the type of network to which the BMS GSM communication module connects (see the "Connectivity - Cellular" section)
324
325 == Fixes ==
326
327 * Unibat: resolving the problem of calculating the CRC of the HVESSS1 message
328 * Unibat: resolving the problem of sending a message about battery disconnection even it is already disconnected
329
330 = v3.2.3 =
331
332 [[BMS_Main_3X_v3.2.3.bin>>FileManager.BMS_Main_3X_v3\.2\.3\.bin]]
333
334 == Improvements ==
335
336 * forwarding CLI and bootloader CAN messages from CAN1 and CAN2 interfaces to CAN3 interface and back, that allows the user to configure and update the firmware of battery modules without direct connection to the modules
337 * ability to acknowledge errors in the error journal via the Modbus protocol (holding registers 0x4100-0x4101)
338 * ability to update the device serial number from the service account if the number is reset to the default value for some reason (see the "Service" section)
339 * new flag that controls whether to use open circuit voltage or actual voltage when determining the voltage unbalance error (see the "Protections - Voltage unbalance (in any state)" section)
340 * new regulator that maintains battery current limiting to ensure that actual module currents do not exceed their current limits (see the "Control - Charge", "Control - Discharge", "Control - Charge/Discharge" sections)
341 * ability to select the battery module errors that cause the battery critical error (see the "Protections - Critical error" section)
342 * Unibat: refined algorithms and new parameters to meet requirements of version 7 of the logic
343
344 == Fixes ==
345
346 * resolving the problem of saving discrete input signals of battery modules in log files
347
348 = v3.2.1 =
349
350 [[BMS_Main_3X_v3.2.1.bin>>FileManager.BMS_Main_3X_v3\.2\.1\.bin]]
351
352 == Improvements ==
353
354 * new parameter that sets the delay before measuring the current to determine that precharge is finished (see the "Control - Precharge" section)
355 * ability to exclude errors from being saved in the error journal (see the "Service - Errors journal" section)
356 * new flags indicating the readiness of battery modules to join for charging and discharging (see the "Modules" section)
357 * new flag to set the "Voltage unbalance" errors for battery modules that are not ready to charge or discharge (see the "Protections - Voltage unbalance (in any state)" section)
358 * Unibat: new parameters setting the BMS and VCU addresses (see the "External equipment - Unibat vehicle" section)
359 * Unibat: new flag to invert the discharge current limit sent to the vehicle (see the "External equipment - Unibat vehicle" section)
360 * Unibat: using the difference between the maximum and minimum temperatures among all cells as an input for the coolant pump controller
361 * Unibat: automatically switch from discharging to charging mode if the CHARGE_ON signal or the charging station command is set (without rejoining the battery)
362 * extension of the CANopen dictionary to provide additional information for the BMS Display (device serial number, battery serial number, battery address, Wi-Fi and LAN addresses, SOH, capacity, etc.)
363
364 == Fixes ==
365
366 * resolving the issue of ignoring the minimum number of battery modules allowed to join located in the "Control - Discharge" section
367 * resolving the issue of joining battery modules the number of which must be greater than or equal to the minimum value specified in the settings
368 * making the service reset function work properly
369 * small internal fixes
370
371 = v3.2.0 =
372
373 (% class="wikigeneratedid" %)
374 [[BMS_Main_3X_v3.2.0.bin>>FileManager.BMS_Main_3X_v3\.2\.0\.bin]]
375
376 == Features ==
377
378 * new algorithm in the Charging/Discharging controller that allow to control the Charging/Discharging contactor independently from the Charging and Discharging signals (see the "Control - Charge/Discharge" section). The new "Independent" algorithm is preferred in the battery systems with one contactor
379 * new "Need acknowledge" warning signal that is set when a new record is created in the errors journal. The signal can be cleared in the "Service - Errors journal" section
380 * new Max-Min algorithm for calculating the final battery SOC in the "Control - Calculation" section
381 * improved control of the precharging contactor, which can precharge capacitive load using multiple attempts and detect high power dissipated in the precharge resistor (see the "Control - Precharge" section)
382 * ability to select errors that the device saves in the errors journal (see the "Service - Errors journal" section)
383
384 == Improvements ==
385
386 * ability to finish device initialization even if the number of battery modules found is less than the number of modules enabled
387 * ability to configure and monitor the device via the CAN1 (ext) bus
388 * placing the device input signals to the "Battery" section and adding raw discrete inputs to the "Signals" section
389 * Unibat: support for functional description v3.5 (protocol v1.5)
390
391 = v3.1.1 =
392
393 [[BMS_Main_3X_v3.1.1.bin>>FileManager.BMS_Main_3X_v3\.1\.1\.bin]]
394
395 == Fixes ==
396
397 * resolving the problem of incorrect range of temperature parameter values (in the "Control - Coolant pump" section)
398 * resolving the possible problem of saving device parameters
399 * resolving the problem of writing the device's working time to a non-volatile memory very often
400 * resolving the issue of preparing battery module states written to Modbus registers
401
402 = v3.1.0 =
403
404 [[BMS_Main_3X_v3.1.0.bin>>FileManager.BMS_Main_3X_v3\.1\.0\.bin]]
405
406 == Features ==
407
408 * new parameter to set the minimum number of battery modules allowed to join (see the "Control - Charge" and "Control - Discharge" sections)
409 * ability to rejoin battery modules if their voltage is close to the battery voltage (see the "Control - Charge" and "Control - Discharge" sections)
410 * selection of errors that cause reset of contactor control signals (see the "Control - Main contactor", "Control - Charge", "Control - Discharge", "Control - Heater", "Control - Cooler", "Control - Coolant pump" sections)
411 * new internal signal "General error (modules)" which is the logical sum of the "General error" signals from the battery modules
412 * new assignments "Critical error" and "General error (modules)" for the discrete outputs and power switches (see the "Signals - Output discrete signals - Assignments" and "Signals - Power switches - Assignments" sections)
413
414 == Improvements ==
415
416 * use the measured voltage before contactors as the battery voltage if the "Control - High voltage" function is enabled
417 * Unibat: new flag to enable sending a control message to start/stop ventilation fans installed in the battery modules (see the "External equipment - Unibat vehicle" section)
418 * rearrangements in the settings sections, which are made to simplify the setup process
419
420 == Fixes ==
421
422 * Unibat: minor changes in the communication protocol