Lithium battery management system and method
By adopting the master-slave distributed redundant bus structure and three-stage balancing current control technology in the lithium battery management system, the problems of system communication failure, poor compatibility and battery over-discharge are solved, and efficient battery balancing and low power consumption are achieved. Suitable for various battery combinations.
Patent Information
- Application Number
- CN202111338926.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-12
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-11-12
Smart Images

Figure CN114172233B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of battery management systems, and in particular relates to a lithium battery management system and method. Background Art
[0002] Lithium batteries have the advantages of high energy density, long cycle life, high energy efficiency, low maintenance and fast charging speed. They have been widely promoted and applied in electric forklifts, engineering locomotives and other fields. In January 2021, China Forklift Network predicted that by 2028, 75% of the world's counterbalanced forklifts will be powered by lithium batteries. The battery management system is an indispensable part of the lithium battery system. It can accurately measure the use of the battery pack, protect the battery from overcharging and discharging, balance the power of each single cell in the battery pack, and analyze and calculate the power of the battery pack and convert it into mileage information that the driver can understand. It plays a vital role in ensuring the efficient, reliable and safe operation of the vehicle.
[0003] At present, the lithium battery management systems on the market mainly have the following problems:
[0004] (1) During the operation of the system, due to various reasons, it is easy to cause damage to the main chip components or communication failure between the host and the slave;
[0005] (2) The current all-in-one or master-slave topology of lithium battery management system hardware for forklifts and locomotives has poor compatibility with different combinations of battery systems in actual use;
[0006] (3) After the system is powered off, the high-voltage detection function of the lithium battery management system is always online, consuming battery power and causing over-discharge of the single cell, thereby damaging the overall performance of the battery system.
[0007] (4) There are two ways to balance the current lithium battery management system, one is active balancing and the other is passive balancing. The former has high balancing efficiency, but the technology is complex, the cost is high, the reliability is low, the cost performance is not high, and it is not practical; the latter has low balancing efficiency, but the control technology is simple, the cost is low, the reliability is high, and it is widely used in products. Summary of the invention
[0008] The technical problem to be solved by the present invention is to provide a lithium battery management system and method, which can solve the above problems.
[0009] In order to achieve the above purpose, the following technical solutions are provided:
[0010] A lithium battery management system, comprising a master control unit, a slave control unit, a current sensor, and a display terminal; the master control unit and the slave control unit are connected using a master-slave distributed redundant bus structure, and the master control unit is connected to the display terminal and the current sensor;
[0011] The master control unit is used to communicate with the slave control unit via CAN and display the data on the display terminal after data processing;
[0012] The slave control unit is based on a platform design and is responsible for voltage and temperature collection and internal and external communications;
[0013] The current sensor monitors the magnitude and direction of the operating current;
[0014] The display terminal is used to display current, voltage, temperature, fault information and to modify system parameters.
[0015] Preferably, the main control unit includes a main CPU and a sub-CPU which are hot standby for each other. The sub-CPU is responsible for taking over the work of the main CPU after being awakened when the main CPU fails or a problem occurs on the CAN bus, and exchanging information with each slave control unit through RS485 communication.
[0016] Preferably, the slave control unit includes a single-chip microcomputer, a balancing control circuit and an AD analog front-end chip, and the external communication of the single-chip microcomputer is set to two communication modes: CAN bus and RS485 bus; the slave control unit uses the AD analog front-end chip to collect single-cell voltage and temperature information; and reports the collected information to the master control unit via the CAN bus or the redundant standby RS485 bus.
[0017] Preferably, the high-voltage detection circuit is controlled so that when the system is powered off, the high-voltage detection loop is automatically disconnected to eliminate the power consumption caused by the high-voltage detection.
[0018] Preferably, for the situation where the passive balancing method of the lithium battery management system has poor balancing effect, the design adopts a three-stage balancing current control technology. According to the different degrees of battery consistency, the microcontroller controls the relevant batteries to discharge with different balancing currents through the core algorithm, so as to quickly achieve the purpose of balancing and improve the balancing effect.
[0019] A lithium battery management method is provided, comprising the following steps
[0020] (1) The test is successfully initialized. If unsuccessful, repeat the test. If successful, proceed to the next step.
[0021] (2) Check whether the main CPU of the main control unit and the master-slave CAN communication are normal. If at least one of them is abnormal, wake up the slave CPU and use RS485 communication exchange information to proceed to the next step; if normal, proceed directly to the next step;
[0022] (3) Check whether the insulation is normal. If it is normal, close the bus contactor and collect data; if it is abnormal, interrupt response is performed;
[0023] (4) Check whether the voltage is over or under. If not, proceed to the next step. If not, interrupt response is performed.
[0024] (5) Check whether the temperature is over-temperature. If not, proceed to the next step; if so, interrupt response is performed;
[0025] (6) Determine whether thermal management control is required; if not, proceed to the next step; if required, perform automatic temperature control and then proceed to the next step;
[0026] (7) Determine whether the battery needs to be balanced. If not, proceed to the next step. If necessary, perform automatic balancing and then proceed to the next step;
[0027] (8) Calculate SOC;
[0028] (9) Data display and alarm;
[0029] (10) Data storage;
[0030] (11) Return to step (2) and repeat the process.
[0031] Preferably: the interrupt response comprises the following steps:
[0032] (a) The bus contactor is disconnected;
[0033] (b) Alarm and display fault information;
[0034] (c) storing fault data;
[0035] (d) Alarm standby.
[0036] Compared with the prior art, the present invention has the following beneficial effects:
[0037] The present invention eliminates the potential safety hazard caused by communication failure; it has strong versatility and is applicable to all battery combinations; it is simple and convenient to operate and maintain, and a large group of technicians mastering this technology are required, making it easy to promote and apply; the lithium battery management system consumes no power after power is turned off, thus avoiding damage to the battery caused by over-discharge due to power consumption of the lithium battery management system during long-term storage; it adopts a three-stage current passive balancing control algorithm, has good balancing effect, and is highly reliable. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is the hardware topology design diagram of the lithium battery management system;
[0039] Figure 2 This is the automatic power-off schematic diagram;
[0040] Figure 3 It is the schematic diagram of three-stage current balancing control;
[0041] Figure 4 It is the main screen of the display;
[0042] Figure 5 It is the system electrical schematic diagram;
[0043] Figure 6 This is the schematic diagram of the main control unit circuit.
[0044] Figure 7 It is the layout diagram of the toplay components on the PCB board of the main control unit;
[0045] Figure 8 This is the AD simulation schematic diagram of the slave control unit;
[0046] Fig. 9 This is the circuit schematic diagram of the single-chip microcomputer of the slave control unit;
[0047] Fig.10 This is the PCB board diagram of the slave control unit;
[0048] Fig.11 It is a software flow chart;
[0049] Fig.12 It is the software code for the high voltage power on and off control part of the system;
[0050] Fig.13 It is part of the software code of the SOC estimation subroutine;
[0051] Fig.14 It is the current sensor connector terminal definition; DETAILED DESCRIPTION
[0052] Embodiment 1:
[0053] Referring to the accompanying drawings, a lithium battery management system includes a master control unit, a slave control unit, a current sensor, and a display terminal; the master control unit and the slave control unit are connected using a master-slave distributed redundant bus structure, and the master control unit is connected to the display terminal and the current sensor;
[0054] The master control unit is used to communicate with the slave control unit via CAN and display the data on the display terminal after data processing;
[0055] The slave control unit is based on a platform design and is responsible for voltage and temperature collection and internal and external communications;
[0056] The current sensor monitors the magnitude and direction of the operating current;
[0057] The display terminal is used to display current, voltage, temperature, fault information and to modify system parameters.
[0058] Preferably, the main control unit includes a main CPU and a sub-CPU which are hot standby for each other. The sub-CPU is responsible for taking over the work of the main CPU after being awakened when the main CPU fails or a problem occurs on the CAN bus, and exchanging information with each slave control unit through RS485 communication.
[0059] Preferably, the slave control unit includes a single-chip microcomputer, a balancing control circuit and an AD analog front-end chip, and the external communication of the single-chip microcomputer is set to two communication modes: CAN bus and RS485 bus; the slave control unit uses the AD analog front-end chip to collect single-cell voltage and temperature information; and reports the collected information to the master control unit via the CAN bus or the redundant standby RS485 bus.
[0060] Preferably, the high-voltage detection circuit is controlled, and when the system is powered off, the high-voltage detection circuit is automatically disconnected to eliminate the power consumption caused by high-voltage detection. High-voltage detection is an important function of the battery management system to detect the total voltage of the battery pack, determine the adhesion fault of the relay, calculate the insulation resistance, etc. At present, the battery management system products used in the market have high-voltage detection circuits that consume power online regardless of whether the battery system is powered on or off. See Figure 2 In the schematic diagram, J4-1 is connected to the total positive of the battery pack, and G2 is connected to the total negative of the battery pack. It can be seen that if the U28\U22\U23 high-voltage MOS switches are not added, J4-1\J4-2\J4-4 will continue to consume power through the branch series voltage divider resistors, which is a large waste during the entire life cycle of the battery. For this reason, this patent adds a related design circuit, and the single-chip microcomputer controls the on and off of each path as needed to save energy.
[0061] Preferably, for the situation where the passive balancing method of the lithium battery management system has poor balancing effect, the design adopts a three-stage balancing current control technology. According to the different degrees of battery consistency, the microcontroller controls the relevant batteries to discharge with different balancing currents through the core algorithm, so as to quickly achieve the purpose of balancing and improve the balancing effect.
[0062] A lithium battery management method is provided, comprising the following steps
[0063] (1) The test is successfully initialized. If unsuccessful, repeat the test. If successful, proceed to the next step.
[0064] (2) Check whether the main CPU of the main control unit and the master-slave CAN communication are normal. If at least one of them is abnormal, wake up the slave CPU and use RS485 communication exchange information to proceed to the next step; if normal, proceed directly to the next step;
[0065] (3) Check whether the insulation is normal. If it is normal, close the bus contactor and collect data; if it is abnormal, interrupt response is performed;
[0066] (4) Check whether the voltage is over or under. If not, proceed to the next step. If not, interrupt response is performed.
[0067] (5) Check whether the temperature is over-temperature. If not, proceed to the next step; if so, interrupt response is performed;
[0068] (6) Determine whether thermal management control is required; if not, proceed to the next step; if required, perform automatic temperature control and then proceed to the next step;
[0069] (7) Determine whether the battery needs to be balanced. If not, proceed to the next step. If necessary, perform automatic balancing and then proceed to the next step;
[0070] (8) Calculate SOC;
[0071] (9) Data display and alarm;
[0072] (10) Data storage;
[0073] (11) Return to step (2) and repeat the process.
[0074] Preferably: the interrupt response comprises the following steps:
[0075] (a) The bus contactor is disconnected;
[0076] (b) Alarm and display fault information;
[0077] (c) storing fault data;
[0078] (d) Alarm standby.
[0079] Embodiment 2:
[0080] This example is for a 76.8V / 240Ah forklift lithium battery:
[0081] The system mainly consists of 1 master control unit and 2 slave control units, high and low voltage wiring harnesses, current sensors, display screens, DCDC control power supplies, high voltage control components, switches, indicator lights, alarms and other components. Figure 5 System electrical schematics
[0082] The main control unit (BCU) is designed with two central processing units (CPUs), the main and the sub-CPUs are hot standby for each other. The main CPU is responsible for CAN communication information transmission, data processing, safety protection and other tasks with the slave control units. The sub-CPU is responsible for taking over the work of the main CPU after being awakened when the main CPU fails or there is a problem with the CAN bus, and communicating with each slave control unit through RS485 to ensure reliable operation of the lithium battery management system. Figure 6 Main control unit circuit schematic diagram;
[0083] Figure 7 Main control unit PCB board toplay component layout diagram.
[0084] The slave control unit (BMU) adopts a MC9S08DZ60F2MLFR microcontroller + 2 AD7280A analog front-end acquisition chips, which can collect up to 12 single-cell battery voltage signals and 6 temperature signals. The board is integrated with a balancing control circuit to realize the functions of data collection, communication, and balancing management. See the principle Figure 8 , Fig. 9 and PCB board Fig.10 .
[0085] The main control unit software is programmed in C language, and the software flow chart is as follows Fig.11 , the system high voltage power up and down control part software code see Fig.12 , the SOC estimation subroutine software code can be found in Fig.13 .
[0086] The specification model of the current sensor is JKC39I-500A. The power supply voltage of this current sensor is +5VDC, the rated output voltage is 2.5VDC±2.0V, the measurement range is ±500A, and the overall accuracy is ±1%. The connector model is AMP1565749-1, and the interface definition is shown in Fig.14 .
[0087] The display terminal specification model is TPC7062TX, input power +24VDC; ambient temperature 0~+45℃, the display screen has 4 input and output interfaces, 2 USB ports are used to connect to the host computer and USB disk respectively; another COM port is connected to the lithium battery management system using RS485 bus communication, and a power interface is the power supply interface of the display screen. The display configuration of this system is shown in Figure 4 .
[0088] To control the high voltage detection circuit, see Figure 2 When the system is powered off, the voltage at the MCU U1-31\U1-144 port is disconnected from the ground internally, and the high-voltage switch U28\U22\U23\U13 output automatically disconnects the high-voltage detection circuit. Although the battery voltage is still connected between the J4-1, J4-2, and J4-4 terminals and G2, the power consumption caused by the high-voltage detection circuit is eliminated.
[0089] Battery balancing control, after analyzing and processing the battery data through the single chip microcomputer, automatically balances the single cells that need to be balanced according to the program of the balancing algorithm, taking the corresponding balancing current to improve the balancing efficiency. See Principle Figure 3
[0090] The balancing control strategy of the lithium iron phosphate battery system is: in the charging stage, when the highest voltage single cell (such as B6 battery) reaches above 3.4V, and the voltage difference between it and the lowest voltage single cell (such as B1 battery) reaches 20mV, the MOS tube Q6 is controlled to be turned on, and the B6 battery that meets the balancing condition is discharged with a current of 50mA for a period of balancing control until the voltage difference is less than 18mV, and then the related MOS tube Q6 is controlled to be disconnected, and the single cell is balanced; if the maximum voltage difference reaches 35mV, the related MOS tube is controlled to be turned off. Q7 is turned on, and the B6 battery that meets the balancing conditions is discharged in two stages with a current of 100mA until the voltage difference is less than 18mV, and then the related MOS tube Q6 is disconnected, and the single battery is balanced; if the maximum voltage difference reaches 50mV, the two related MOS tubes Q6 and Q7 are turned on at the same time, and the B6 battery that meets the balancing conditions is discharged in three stages with a current of about 150mA until the voltage difference is less than 18mV, and then the two related MOS tubes Q6 and Q7 are disconnected at the same time, and the single battery is balanced.
[0091] Compared with the method of using a section of current balancing, this method can use a small current to prevent the battery consistency from deteriorating; it can use a large current to quickly balance a battery system with poor consistency, with better results and higher efficiency.
[0092] The parts not described in detail in the above scheme are all prior art, which is hereby explained.
[0093] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A lithium battery management method based on a lithium battery management system, Features: The lithium battery management system comprises a master control unit, a slave control unit, a current sensor, and a display terminal; the master control unit and the slave control unit are connected using a master-slave distributed redundant bus structure, and the master control unit is connected to the display terminal and the current sensor; The master control unit is used to communicate with the slave control unit via CAN, and display the data on the display terminal after data processing; the master control unit includes a main CPU and a sub-CPU which are hot standby for each other. The sub-CPU is responsible for taking over the work of the main CPU after being awakened when the main CPU fails or there is a problem with the CAN bus, and communicating with each slave control unit via RS485 to exchange information; The slave control unit is based on a platform design and is responsible for voltage and temperature collection and internal and external communications. The slave control unit includes a single-chip microcomputer, a balancing control circuit and an AD analog front-end chip. The single-chip external communication is set to two communication modes: CAN bus and RS485 bus. The slave control unit uses an AD analog front-end chip to collect single-cell voltage and temperature information; and reports the collected information to the master control unit via the CAN bus or the redundant standby RS485 bus. The current sensor monitors the magnitude and direction of the operating current; The display terminal is used to display current, voltage, temperature, fault information and to modify system parameters; Among them, the main control unit adopts a three-stage balancing current control method according to the different degrees of battery consistency difference, which is as follows: in the charging stage, when the highest voltage single battery reaches a set voltage value V1 or above, and the voltage difference between it and the lowest voltage single battery reaches V2, the MOS tube is controlled to be turned on, and the battery that meets the balancing condition is discharged in a balanced manner with a current of I1 until the voltage difference is less than V3, and then the relevant MOS tube is disconnected under control, and the single battery is balanced; if the maximum voltage difference reaches V4, the relevant MOS tube is controlled to be turned on, and the battery that meets the balancing condition is discharged in a two-stage balancing manner with a current of I2 until the voltage difference is less than V3, and then the relevant MOS tube is disconnected under control, and the single battery is balanced; if the maximum voltage difference reaches V5, the relevant two MOS tubes are controlled to be turned on at the same time, and the battery that meets the balancing condition is discharged in a three-stage balancing manner with a current of about I3 until the voltage difference is less than V3, and then the relevant two MOS tubes are disconnected under control at the same time, and the single battery is balanced; The lithium battery management method comprises the following steps: (1) The test is successfully initialized. If it fails, repeat the test. If it succeeds, proceed to the next step. (2) Check whether the main CPU of the main control unit and the master-slave CAN communication are normal. If at least one of them is abnormal, wake up the slave CPU and use RS485 communication interaction information to proceed to the next step; if normal, proceed directly to the next step; (3) Check whether the insulation is normal. If it is normal, close the bus contactor and collect data; if it is abnormal, interrupt response is performed; (4) Check whether the voltage is too low or too low. If not, proceed to the next step. If not, interrupt the response. (5) Check whether the temperature is over-temperature. If not, proceed to the next step; if so, interrupt response is performed; (6) Determine whether thermal management control is required; if not, proceed to the next step; if required, perform automatic temperature control and then proceed to the next step; (7) Determine whether the battery needs to be balanced. If not, proceed to the next step. If necessary, perform automatic balancing and then proceed to the next step. (8) Calculate SOC; (9) Data display and alarm; (10) Data storage; (11) Return to step (2) and repeat the operation; The interrupt response comprises the following steps: (a) The bus contactor is disconnected; (b) Alarm and display fault information; (c) storing fault data; (d) Alarm standby.
2. A lithium battery management method based on a lithium battery management system according to claim 1, Features: The high-voltage detection circuit is controlled. When the system is powered off, the high-voltage detection loop is automatically disconnected to eliminate the power consumption caused by high-voltage detection.
Citation Information
Patent Citations
Lithium battery pile dynamic monitoring and management system
CN104731044A
Electric automobile serial lithium battery management system and a management method thereof
CN104852435A
Active protection system of multiple lithium batteries
CN108347082A
Cited By
Motor home adaptive energy management system and method based on AI and multi-sensor fusion
CN121929084A
