MCU (Microprogrammed Control Unit) integrated structure, charging and discharging equipment management system and method
By integrating data acquisition, storage, computing and control modules in the MCU, the problems of difficult parameter customization, large size, high cost and high complexity caused by module independence in the charging and discharging equipment management system are solved, and a more efficient battery is achieved Status monitoring and protection.
Patent Information
- Application Number
- CN202411050338.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-12-06
AI Technical Summary
In the existing charging and discharging equipment management system, balance, protection and storage modules exist independently, resulting in the inability to customize module parameters, large PCB size, high cost and high system complexity, affecting the safety of battery use.
Design an MCU integrated structure, including data acquisition module, storage module, computing module and control module, obtain electrical parameters through external sensors, store preset thresholds, calculate and control function switches, realize functional protection and balanced adjustment, and integrate into a single MCU middle.
It reduces PCB size and cost, improves system stability and battery status monitoring efficiency, and reduces system complexity and interaction difficulty.
Smart Images

Figure CN119093522A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of charging and discharging equipment, and in particular relates to an MCU integrated structure, a battery charging and discharging equipment management system and a method. Background Art
[0002] In the field of charging and discharging equipment management technology, balancing, protection and storage modules are three important modules. The balancing module is mainly responsible for the voltage or power balancing of the charging and discharging equipment to ensure the service life and performance of the charging and discharging equipment. The protection module is responsible for monitoring and protecting the charging and discharging process of the charging and discharging equipment according to the preset protection parameters to prevent the charging and discharging equipment from overcharging, over-discharging, over-current and over-temperature. The storage module is used to store the working status, manufacturing information and important data of the charging and discharging equipment.
[0003] In the existing technology, the above three modules are usually independent and each is responsible for its own function. For example, the balancing module is an independent module, which balances the voltage or power of the battery pack in the charging and discharging equipment through its own switch and the module of balancing energy storage or energy consumption devices. The protection module is also an independent module, which monitors and protects the charging and discharging process of the battery through its own switch (such as fuse, MOS) and sensor (such as round-trip sampling resistor, NTC).
[0004] However, there are some problems with the existing independent module solutions. First, since the module parameters are fixed in the module, they cannot be customized according to actual needs, which increases the difficulty of solution selection. Secondly, since each module is independent, a larger PCB size is required, which not only increases the cost but also increases the size of the device. In addition, since these modules are independent, when the host monitors the battery status in real time, it is necessary to interact with multiple modules, which increases the complexity of the system and may also affect the safety of battery use.
[0005] Based on this, it is urgent to improve the existing MCU structure to solve the defects of the aforementioned technology. Summary of the invention
[0006] One of the purposes of the present invention is to solve the defect that the module parameters in the existing charging and discharging equipment management device are all solidified in the corresponding modules and the parameters cannot be customized according to actual needs by designing an MCU integrated structure whose parameters can be set by the user.
[0007] In order to achieve the above object, the present invention implements the following technical solutions:
[0008] An MCU integrated structure, comprising a data acquisition module, a storage module, a calculation module and a control module integrated in the MCU;
[0009] A data acquisition module is used to obtain working information of electrical parameters during the operation of the charging and discharging equipment through external sensors;
[0010] A storage module, used for storing preset protection thresholds and equalization thresholds of electrical parameters;
[0011] The operation module is used to compare the acquired working information with the protection threshold or balance threshold of the corresponding electrical parameters, and the MCU makes corresponding instructions according to different comparison results;
[0012] The control module is used to turn on or off the corresponding functional switch according to the instruction to realize the functional protection of the charging and discharging equipment.
[0013] The above technical solution has the following technical effects:
[0014] This technical solution integrates the originally independent balancing, protection and storage modules into the MCU, which can not only effectively reduce the PCB size and production costs, but also significantly reduce the size of the device. At the same time, since all modules are integrated into the same MCU, it is more convenient for the host to monitor the status of the charging and discharging equipment in real time, which improves the stability of the system.
[0015] As a further improvement to the MCU integrated structure of the present invention, the control module includes: a balancing submodule, which is used to turn on the balancing switch after receiving an instruction to turn on the balancing adjustment, and dynamically adjust the voltage or power of the battery cell group until the balancing condition is met, and then turn off the balancing switch; a protection submodule, which is used to disconnect the driving circuit switch after receiving an instruction to turn on the charge and discharge protection.
[0016] The second object of the present invention is:
[0017] By designing a charging and discharging management system for charging and discharging equipment, the design defect that the PCB size is too large and the cost is increased due to the independent setting of the balancing, protection and storage modules in the existing charging and discharging equipment management process is solved.
[0018] In order to achieve the above object, the present invention adopts the following technical solutions:
[0019] A charging and discharging equipment management system comprises any one of the above-mentioned MCU integrated structures, charging and discharging equipment, sensors, switch groups and a host; wherein the charging and discharging equipment, sensors, switch groups and the host are all connected to the MCU integrated structure, and the sensors and switch groups are all connected to the charging and discharging equipment; the MCU integrated structure obtains the working information of the charging and discharging equipment through the sensor and determines whether to turn on or off the switch group, the MCU integrated structure realizes functional protection of the charging and discharging equipment through the switch group, the MCU integrated structure obtains real-time information of the charging and discharging equipment, and the MCU integrated structure interacts with the host information to realize real-time monitoring of the charging and discharging equipment.
[0020] The above technical solution has the following technical effects:
[0021] Through the charging and discharging equipment management system of the technical solution, the present invention realizes comprehensive management and protection of charging and discharging equipment. Due to the adoption of MCU integrated structure, not only the hardware layout of the equipment is optimized, the PCB size is reduced, and the production cost is reduced, but also the system makes the real-time monitoring of the battery status more efficient and accurate.
[0022] As a further improvement to the management system of the charging and discharging equipment of the present invention, the switch group includes a balancing switch for adjusting the parameters of the charging and discharging equipment and a loop switch for managing the system loop.
[0023] As a further improvement to the management system of the charging and discharging equipment of the present invention, the balancing switch is a MOS tube, and the boost chopper is controlled by the MOS tube to achieve balancing of the charging and discharging equipment; the loop switch is a fuse or a MOS loop switch.
[0024] The third purpose of this application is to:
[0025] The present application aims to design a charging and discharging equipment management method to solve the defects of high system complexity and difficulty in interacting with the host due to the separation of balancing, protection and storage modules in the existing charging and discharging equipment management process.
[0026] To achieve the above object, the present invention adopts the following technical solutions:
[0027] A method for managing a charging and discharging device comprises the following steps:
[0028] S1, the MCU integrated structure determines to open or disconnect the switch group according to the information obtained from the charging and discharging device, and the switch group includes a balancing switch and a loop switch;
[0029] S2, functional protection of charging and discharging equipment through switch group;
[0030] S3. The MCU integrated structure obtains the real-time information of the charging and discharging equipment, and the MCU integrated structure exchanges information with the host.
[0031] The above technical solution has the following technical effects:
[0032] Through the charging and discharging equipment management method proposed in this technical solution, this application reduces the complexity of the system and significantly improves the interaction efficiency with the host. At the same time, this technical solution integrates the originally dispersed balancing, protection and storage functions into the MCU integrated structure, so that all operations related to battery management can be performed on a unified platform.
[0033] As a further improvement to the management method of the charging and discharging equipment of the present invention, step S1 specifically includes:
[0034] S11, the MCU integrated structure obtains the working information, protection threshold and balance threshold of the electrical parameters of the charging and discharging equipment;
[0035] S12, comparing the acquired working information with the protection threshold or the balance threshold of the corresponding electrical parameter, and issuing corresponding instructions according to different comparison results;
[0036] S13, when receiving an instruction to start the balancing adjustment, turning on the balancing switch; when receiving an instruction to start the charge and discharge protection, turning off the loop switch.
[0037] As a further improvement to the management method of the charging and discharging equipment of the present invention, the protection threshold includes an overvoltage protection value, an undervoltage protection value, an overcurrent protection value, and an overtemperature protection value. Step S12 specifically includes:
[0038] S121, obtaining the working voltage value, working current value and working temperature of the charging and discharging equipment,
[0039] S122, comparing the working voltage value with the overvoltage protection value or the undervoltage protection value, when the working voltage value is greater than the overvoltage protection value, or when the working voltage value is less than the undervoltage protection value, an instruction to start the charge and discharge protection;
[0040] Or compare the working current value with the overcurrent protection value. When the working current value is greater than the overcurrent protection value, start the charge and discharge protection instruction;
[0041] Or compare the operating temperature with the over-temperature protection value. When the operating temperature is greater than the over-temperature protection value, start the charge and discharge protection instruction.
[0042] As a further improvement to the management method of the charging and discharging equipment of the present invention, the equalization threshold includes the equalization start voltage value and the voltage difference threshold between the cells, and step S12 further specifically includes:
[0043] S121, obtaining the operating voltage values of all cells in the charging and discharging device, and the operating voltage difference between the lowest voltage cell and other cells;
[0044] S122, compare the working voltage value of the battery cell with the equalization start-up voltage value, and compare the working voltage difference between the lowest voltage battery cell and other battery cells with the voltage difference threshold between battery cells; when the working voltage value of any battery cell is greater than the equalization start-up voltage threshold, and when the working voltage difference of any battery cell is greater than the voltage difference threshold between battery cells, turn on the equalization switch.
[0045] As a further improvement to the management method of the charging and discharging equipment of the present invention, step S2 specifically includes:
[0046] When the balancing switch is turned on, the voltage or power of the charging and discharging equipment is dynamically adjusted until the balancing condition is met, and then the balancing switch is turned off; or when the loop switch is disconnected, the charging and discharging equipment loop is disconnected. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The drawings described herein are used to provide further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0048] In the attached picture:
[0049] Figure 1 A schematic diagram of the MCU integrated structure of Example 1 of the present invention
[0050] Figure 2 A circuit topology diagram of a charging and discharging equipment management system according to Embodiment 2 of the present invention;
[0051] Figure 3 A circuit diagram for measuring the temperature of a charging and discharging device according to Embodiment 2 of the present invention;
[0052] Figure 4 This is a flow chart of balanced protection in Example 3 of the present invention;
[0053] Figure 5 This is one of the flow charts of overvoltage and undervoltage protection of Example 3 of the present invention;
[0054] Figure 6 This is the second flow chart of the overvoltage and undervoltage protection of Example 3 of the present invention;
[0055] Figure 7 This is a flow chart of high temperature protection of Example 3 of the present invention;
[0056] in:
[0057] 100-MCU integrated structure; 1-MCU; 11-data acquisition module; 12-storage module; 13-calculation module; 14-control module;
[0058] 141 - balancing submodule; 142 - protection submodule;
[0059] 2-Charging and discharging equipment;
[0060] 3- Sensor;
[0061] 4- switch group;
[0062] 41 - Balance switch; 42 - Loop switch.
[0063] 5-Host; DETAILED DESCRIPTION
[0064] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0065] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0066] In order to make the purpose, technical solution and advantages of the embodiment of the present application clearer, the embodiment of the present application will be further described in detail with reference to the accompanying drawings. Below, some terms in the embodiment of the present application are explained to facilitate understanding by those skilled in the art.
[0067] The battery management system (BMS) is used to protect the safe use of the battery pack (that is, the charging and discharging equipment in this embodiment refers specifically to the battery pack, and the following embodiments are all introduced with the battery pack in mind). During the charging and discharging process of the battery pack, it ensures safety while extending the service life of the battery pack. The battery management system provides battery management functions, which include but are not limited to monitoring the battery status (for example, the battery voltage, current, temperature and deformation), calculating the battery charge level and capacity, and controlling the battery charging, discharging and communication functions.
[0068] IIC (Inter-Integrated Circuit) protocol is a synchronous serial communication interface, which adopts half-duplex working mode, that is, only one-way data transmission can be performed at the same time. The bus consists of two signal lines: one is the data line SDA (Serial Data Line), which is used to transmit data; the other is the clock line SCL (Serial Clock Line), which is provided by the master device to ensure that all devices connected to the bus exchange data synchronously.
[0069] SPI is a high-speed, full-duplex, synchronous serial communication bus. Full-duplex means that when the master and slave devices communicate, the sending and receiving data are separate data lines, and data can be received and sent at the same time. Synchronous means that there is a clock line between the master and slave devices, and the master device provides the clock signal.
[0070] A boost chopper circuit usually refers to a type of DC-DC converter that converts a lower voltage DC into a higher voltage DC. This circuit is mainly composed of switching elements (such as MOSFET or BJT), inductors, capacitors and control logic. Its working principle includes the input of power supply voltage to the circuit, the conduction of the switching element to make the current pass through the inductor, and then when the switch is closed, the energy stored in the inductor is discharged to the output through the diode to form a pulsed voltage output. The whole process is switched periodically through the control of the controller to achieve energy accumulation and release.
[0071] EEPROM (Electrically Erasable Programmable Read-Only Memory) refers to electrically erasable programmable read-only memory. It is a memory chip that does not lose data after power failure. EEPROM can erase existing information and reprogram it on a computer or dedicated device. It is generally used in plug-and-play applications.
[0072] MOS tube, the full name of Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET), is a commonly used electronic component. It is mainly composed of three electrodes: gate (G), source (S) and drain (D). The working principle of MOS tube is to control the current flow between the source and drain through the gate voltage. This control method belongs to voltage-controlled devices. According to the type of conductive channel, MOS tubes can be divided into two types: N-channel and P-channel, which are further subdivided into enhancement type and depletion type.
[0073] A microcontroller unit (MCU), also known as a single-chip microcomputer or a single-chip microcomputer, reduces the frequency and specifications of a central processing unit (CPU) appropriately, and integrates peripheral interfaces such as memory, counter, USB, A / D conversion, UART, PLC, DMA, and even LCD driver circuits on a single chip to form a chip-level computer, which can provide different combination controls for different applications.
[0074] NTC, negative temperature coefficient thermistor, also known as NTC thermistor, is a type of sensor resistor whose resistance decreases as the temperature increases. It is widely used in various electronic components, such as temperature sensors, resettable fuses and automatically adjustable heaters.
[0075] A battery is a power source composed of at least one battery cell or battery module. A battery cell is the smallest unit of a battery and also an energy storage unit. When multiple batteries are packaged together in the same outer shell frame and connected to the outside through a unified boundary, a battery module is formed.
[0076] The present invention is further described in detail below in conjunction with specific embodiments, but the embodiments of the present invention are not limited thereto.
[0077] Example 1
[0078] like Figure 1 As shown, in order to solve the defect that the module parameters in the existing battery management device of charging and discharging equipment are all solidified in the corresponding modules and cannot be customized according to actual needs, the present invention designs an MCU integrated structure 100, including a data acquisition module 11, a storage module 12, a calculation module 13 and a control module 14 integrated in the MCU1;
[0079] The data acquisition module 11 is used to acquire the working information of the electrical parameters of the charging and discharging device 2 during operation through the external sensor 3;
[0080] The storage module 12 is used to store the protection threshold and the equalization threshold of the preset electrical parameters;
[0081] The operation module 13 is used to compare the acquired working information with the protection threshold or the balance threshold of the corresponding electrical parameter, and the MCU1 makes corresponding instructions according to different comparison results;
[0082] The control module 14 is used to turn on or off the corresponding functional switch according to the instruction to achieve functional protection for the charging and discharging device 2.
[0083] Furthermore, the storage module 12 integrated in the above-mentioned MCU integrated structure 100 is in a form that can be directly called by MC U1 and the storage module 12 can be called through the internal bus, while the operation module 13 and the control are preset in the MCU integrated structure 100. In contrast, the prior art often separates the above-mentioned contents and cannot form an overall calling mode. For example, the utility model patent entitled a slave-controlled battery management system with the authorization publication number CN218929253U, in which the slave-controlled MCU1 is the actual control unit, but it also needs to be connected to the data acquisition chip through the Max communication module, and then connected to the sensor 3 through the acquisition chip or directly connected to the battery pack to realize the balanced data acquisition module and the temperature acquisition module. And it is precisely because of the existence of these technical solutions that this embodiment will think of selecting an MCU integrated structure 100 that integrates an operation module 13, a control module 14 and a data acquisition module 11.
[0084] Furthermore, the storage module 12 is an EEPROM built into the MCU1, and the MCU1 can directly call the read and write operations of the EEPROM. This design makes the parameter configuration of the battery management system more flexible, and the parameters can be customized according to different application scenarios without replacing the entire hardware module. At the same time, the electrically erasable and writable characteristics of the EEPROM ensure that the data will not be lost after power failure, ensuring the continuous and stable operation of the battery management system. Therefore, this embodiment completes the parameter modification by burning the parameters determined by the user into the EEPROM, which can not only meet the user's demand for battery management system parameter customization, but also ensure the stability and reliability of the system.
[0085] Furthermore, the storage module 12 can also be AT24C02, which establishes communication with the MCU1 through I2C or SPI. The use of AT24C02 as a storage module not only inherits the electrically erasable and writable characteristics of EEPROM, but also connects to MCU1 through I2C or SPI communication protocols, further improving the efficiency and stability of data transmission. In practical applications, AT24C02 can store a large number of electrical parameter protection thresholds and equalization thresholds, which can be flexibly set according to different battery types and charging and discharging requirements. For example, during the charging and discharging process of lithium-ion batteries, the protection thresholds for overcharging, over-discharging, overcurrent, and abnormal temperature can be accurately set through AT24C02, thereby ensuring the safety and service life of the battery.
[0086] Preferably, the control module 14 includes a balancing submodule 141 and a protection submodule 142. The balancing submodule 141 is used to turn on the balancing switch 41 after receiving an instruction to turn on the balancing adjustment, and dynamically adjust the voltage or power of the battery cell group until the balancing condition is met, and then turn off the balancing switch 41; the protection submodule 142 is used to turn off the drive circuit switch after receiving an instruction to turn on the charge and discharge protection.
[0087] In a specific implementation, the working principle of the balancing submodule 141 in the MCU integrated structure 100 is based on the fact that in a battery pack, due to manufacturing differences, usage environment differences or different aging degrees between cells, the voltage or power between cells may be unbalanced. This imbalance not only affects the overall performance of the battery pack, but may also cause overcharging or over-discharging of the cells, thereby damaging the cells.
[0088] In this embodiment, the balancing submodule 141 monitors the voltage or power of each battery cell in the battery pack in real time through the data acquisition module 11. Once an imbalance is found, the protection threshold and the balancing threshold of the electrical parameters preset by the storage module 12 will be called to the operation module 13. The operation module 13 compares the acquired working information with the protection threshold or the balancing threshold of the corresponding electrical parameter and sends a corresponding instruction to the control module 14. Finally, after receiving the instruction from the balancing submodule 141, the control module 14 will turn on the balancing switch 41 and charge or discharge the battery cells through the external circuit to achieve voltage or power balance between the battery cells. When the voltage or power between the battery cells reaches the preset stop balancing condition, the balancing submodule 141 will issue an instruction to close the balancing switch 41, and the control module 14 will disconnect the balancing switch 41 and stop the balancing adjustment.
[0089] In addition to the balancing submodule 141, the protection submodule 142 in the MCU integrated structure 100 is also an important component. The protection submodule 142 is mainly responsible for disconnecting the loop switch when the battery pack has abnormal conditions, such as overcharge, over discharge, over current, over temperature, etc., and when passing through the control module 14 to protect the battery cells from damage. The protection submodule 142 calls for real-time monitoring of the working status of the battery pack. Once an abnormality is found, it will call the protection threshold and balancing threshold for storing preset electrical parameters, and send corresponding instructions to the control module 14 through the operation module 13. After receiving the instruction from the protection submodule 142, the control module 14 will immediately disconnect the loop switch and cut off the connection between the battery pack and the external circuit, thereby protecting the battery cells.
[0090] In summary, the MCU integrated structure 100 designed in the present invention realizes the functions of real-time monitoring, parameter customization and protection of the battery management system by integrating core components such as the data acquisition module 11, the storage module 12, the operation module 13 and the control module 14.
[0091] Preferably, in a specific implementation, the storage module 12 can establish communication with the MCU1 through IIC, SPI or other interfaces to realize data exchange and transmission of control instructions. The above communication method is characterized by high speed, stability and reliability, and can meet the requirements of the battery management system for real-time performance and reliability. In a specific embodiment, the communication protocol is IIC, and the address and working mode of the EEP ROM need to be set (such as write protection, read or write), so as to use IIC to send commands (such as write address and data); for the SPI protocol, it is necessary to determine the master-slave mode, set the preset baud rate and clock polarity / phase, and finally select the EEPROM as the slave device. The above EEPROM can also realize the selection and call of the balancing submodule 141 and the protection submodule 142, and cooperate with the driver or preset parameters to realize the modification of the EEPROM parameters.
[0092] Example 2
[0093] like Figure 2 The circuit topology diagram shown in -3 reveals a management system for charging and discharging equipment, which includes any of the above-mentioned MCU integrated structures 100, charging and discharging equipment 2, sensors 3, switch groups 4 and host 5; wherein, the charging and discharging equipment 2, sensors 3, switch groups 4 and host 5 are all connected to the MCU integrated structure 100, and the sensor 3 and switch group 4 are all connected to the charging and discharging equipment 2; the MCU integrated structure 100 obtains the working information of the charging and discharging equipment 2 through the sensor 3 and determines whether to turn on or off the switch group 4, the MCU integrated structure 100 realizes functional protection of the charging and discharging equipment 2 through the switch group 4, the MCU integrated structure 100 obtains real-time information of the charging and discharging equipment 2, and the MCU integrated structure 100 interacts with the host 5 to realize real-time monitoring of the charging and discharging equipment 2.
[0094] Specifically, in this embodiment, the host 5 adopts a BMS system. As a control unit of the battery charge and discharge management system, it establishes a communication link with the MCU integrated structure 100 by means of an output module. The host 5 can send control instructions to the MCU integrated structure 100 based on the actual needs of the user and the current operating status of the system. Upon receiving the instructions, the MCU integrated structure 100 will immediately start the built-in balancing submodule 141 and protection submodule 142 to ensure the management of the battery pack.
[0095] Furthermore, in the battery charge and discharge management system, the sensor 3 is used to monitor the key parameters of the battery pack such as voltage, current, temperature, etc. in real time. These parameter information is transmitted to the MCU integrated structure 100 through the data acquisition module 11, providing a data source for the balancing submodule 141 and the protection submodule 142. After the balancing submodule 141 receives the data acquired by the sensor 3 through the data acquisition module 11, or drives the calculation module 13. Determine which single cells have too high or too low voltage, and output corresponding control instructions to the control module 14, and control the switch group 4 to charge and discharge the corresponding single cells to achieve voltage balance.
[0096] At the same time, when the MCU1 detects that any parameter exceeds the preset safety range, such as excessive voltage, excessive current or excessive temperature, the protection submodule 142 immediately cuts off the battery charging and discharging circuit to prevent the battery pack from being in danger. In addition, the protection submodule 142 will also record the fault information and send the fault information to the host 5 or external equipment through the communication interface for troubleshooting and maintenance.
[0097] Further, according to Figure 3As shown in the circuit diagram, the sensor 34 in this embodiment measures the battery pack temperature in the form of an NTC resistor. In the NTC resistor, according to Ohm's law: U = I × R, the NTC resistance can be obtained, and the corresponding battery pack temperature can be obtained. For example: the NTC resistance at 25°C is 10KΩ. When the NTC_ADC voltage detects a voltage of 0.661V, the voltage of R1 is calculated: 3.3V-0.661V=2.639V, and the NTC resistance at this temperature is 0.661V÷0.2639mA=2.505KΩ, and the temperature of the detection point at this time is 66°C.
[0098] In order to further protect the safety of the energized core group in this embodiment and extend its life, the MCU integrated structure 100 of this embodiment also integrates a voltage maximum value module, through which the calling of this module can realize recording the number of times the "voltage maximum value" is exceeded during the life cycle, recording the highest or lowest voltage during the life cycle, recording the duration of each "voltage maximum value" exceeded during the life cycle and the cumulative time of all "voltage maximum values" exceeded (exceeding LV and HV separately), and providing early warning and alarm functions for the voltage maximum value. The voltage threshold module can monitor the voltage of each single cell in the battery pack in real time. When the voltage reaches or exceeds the preset highest or lowest threshold, the module will immediately trigger the corresponding processing mechanism.
[0099] The voltage maximum value module records the number of times each single cell voltage exceeds the maximum value (highest voltage HV or lowest voltage LV). This information is essential for analyzing the health status of the battery pack and predicting the battery life. At the same time, the module also records the highest or lowest voltage value of the battery pack during its life cycle, as well as the duration of each "voltage maximum value" and the cumulative time of all "voltage maximum values" exceeded. These detailed data help users or maintenance personnel understand the working status of the battery pack, identify potential problems in a timely manner and deal with them.
[0100] Furthermore, the switch group 4 includes a balancing switch 41 for adjusting battery parameters and a loop switch for managing the system loop, wherein the balancing switch 41 is designed to accurately control the charge and discharge balance between each single cell to ensure the voltage balance between each single cell in the battery pack. This design can prevent the battery pack performance degradation and shortened life due to excessive differences in single cell voltages. At the same time, the balancing switch 41 can also achieve rapid response and timely adjust the abnormal conditions of the single cell, further improving the safety and stability of the battery pack.
[0101] Furthermore, the balancing switch 41 is a MOS tube, and the MOS tube controls the boost chopper to achieve balancing of the charging and discharging device 2; the loop switch is a fuse or a MOS loop switch 42. It should be noted that in battery balancing applications, MOS tubes are widely used due to their significant characteristics of high switching speed, low conduction loss and linear control, and the main purpose of battery balancing in this embodiment is to ensure that the capacity of each single cell in the battery pack remains consistent, thereby avoiding overcharging or over-discharging. In this embodiment, this embodiment uses a boost chopper to achieve battery balancing, in which the MOS tube is a switching element.
[0102] The specific working process is as follows: First, the battery voltage is sampled. The MCU integrated structure 100 is used to drive the sensor 3 to measure the voltage of each battery. Subsequently, voltage comparison and action decision are performed, that is, the balancing submodule 141 in the present application is selected to compare the voltage of each battery with the preset threshold. If it is found that the battery voltage is too high, it means that the excess energy needs to be transferred to other batteries with lower voltages. Then, the boost process is entered. When the decision requires energy transfer, the MOS tube is precisely controlled to enter the on state, thereby guiding the current from the battery with higher voltage to the battery with lower voltage. The MOS tube acts as a switch here, and with its ability to open and close quickly, it effectively realizes the flow and distribution of energy. Then, feedback control is implemented. By monitoring the changes in the battery voltage in real time, this embodiment adjusts the switching frequency or duty cycle of the MOS tube to maintain the stability and consistency of the battery pack voltage.
[0103] The other details that are the same as those in Example 1 are not described in detail in this example.
[0104] Example 3
[0105] like Figure 4 As shown in FIG. 7 , this embodiment intends to solve the defects of the existing battery management process, that is, the high complexity of the system and the difficulty in interacting with the host 5 due to the separation of the balancing, protection, and storage modules 12, in a management method of the charging and discharging device 2. The management method of the charging and discharging device 2 includes the following steps:
[0106] S1, the MCU integrated structure 100 determines to turn on or off the switch group 4 according to the information obtained from the charging and discharging device 2, and the switch group 4 includes a balancing switch 41 and a loop switch;
[0107] S2, performing functional protection on the charging and discharging device 2 through the switch group 4;
[0108] S3. The MCU integrated structure 100 obtains real-time information of the charging and discharging device 2, and the MCU integrated structure 100 exchanges information with the host 5.
[0109] The working principle of the management method of the charging and discharging device 2 is to achieve comprehensive management and control of the charging and discharging device 2 through the MCU integrated structure 100. In step S1, the MCU integrated structure 100 first determines whether to turn on or off the switch group 4 based on the information of the charging and discharging device 2, such as the battery pack status, power, temperature, etc.
[0110] The switch group 4 includes a balancing switch 41 and a loop switch, which are used to implement battery balancing and loop management functions respectively. For example, during battery charging, the MCU integrated structure 100 may need to determine whether to turn on the balancing switch 41 according to the battery power and charging status to ensure the charging balance of each single cell in the battery pack; during battery discharging, the MCU integrated structure 100 may need to determine whether to turn off the loop switch according to the battery power and discharging status to protect the battery pack from over-discharge damage.
[0111] In step S2, the switch group 4 is used to protect the charging and discharging device 2. This includes achieving battery balancing through the balancing switch 41 to prevent overcharging or over-discharging of single cells; controlling the on and off of the battery circuit through the circuit switch to ensure that the battery pack can be disconnected in time under abnormal conditions to prevent safety accidents. In addition, the MCU integrated structure 100 may also monitor the temperature, voltage and other parameters of the battery pack in real time through other sensors 3 and circuit modules, and take corresponding protective measures immediately once an abnormal condition is detected.
[0112] In step S3, the MCU integrated structure 100 obtains the real-time information of the charging and discharging device 2 and exchanges information with the host 5. This includes sending the real-time status, power, temperature and other information of the battery pack to the host 5 so that the host 5 can perform remote monitoring and management; at the same time, the MCU integrated structure 100 can also receive instructions from the host 5 and perform corresponding operations on the charging and discharging device 2 according to the instructions. The implementation of this information interaction may include serial communication, CAN bus communication, wireless communication and other methods, depending on the actual application scenario and requirements.
[0113] Furthermore, step S1 specifically includes:
[0114] S11, the MCU integrated structure 100 obtains the working information, protection threshold and balance threshold of the electrical parameters of the charging and discharging device 2;
[0115] S12, comparing the acquired working information with the protection threshold or the balance threshold of the corresponding electrical parameter, and issuing corresponding instructions according to different comparison results;
[0116] S13, when receiving an instruction to start the balancing adjustment, the balancing switch 41 is turned on; when receiving an instruction to start the charge and discharge protection, the loop switch 42 is turned off.
[0117] Specifically, the flow chart of balanced protection is as follows: Figure 4 As shown, the working principle of the balanced protection is further described, and its content will not be repeated in this embodiment.
[0118] Furthermore, the protection threshold includes an overvoltage protection value, an undervoltage protection value, an overcurrent protection value, and an overtemperature protection value. Step S12 specifically includes:
[0119] S121, obtaining the operating voltage value, operating current value and operating temperature of the charging and discharging device 2,
[0120] S122, compare the working voltage value with the overvoltage protection value or the undervoltage protection value, when the working voltage value is greater than the overvoltage protection value, or when the working voltage value is less than the undervoltage protection value, start the charge and discharge protection instruction; (wherein, the specific working principle of the overvoltage protection and the undervoltage protection is as follows Figure 5-6 As shown, the content of which will not be repeated in this embodiment.)
[0121] Or compare the working current value with the overcurrent protection value. When the working current value is greater than the overcurrent protection value, start the charge and discharge protection instruction;
[0122] Or compare the operating temperature with the over-temperature protection value. When the operating temperature is greater than the over-temperature protection value, the charge and discharge protection instruction is turned on. (The specific working principle of high temperature protection is as follows Figure 7 The content of which will not be repeated in this application.)
[0123] Specifically, in step S11, the MCU integrated structure 100 first obtains the electrical parameter working information and protection threshold of the charging and discharging device 2. These working information include the real-time voltage, current, temperature, etc. of the device, and the protection threshold is a safety threshold set according to the characteristics and usage requirements of the device, such as overvoltage protection value, undervoltage protection value, overcurrent protection value, and overtemperature protection value. The setting of these thresholds is intended to ensure that the device operates within the normal working range and prevent device damage or safety accidents caused by exceeding the safety range.
[0124] In step S12, the MCU integrated structure 100 compares the acquired working information with the corresponding electrical parameter protection threshold. If the working voltage value exceeds the overvoltage protection value or is lower than the undervoltage protection value, MCU1 will issue an instruction to turn on the charge and discharge protection; if the working current value exceeds the overcurrent protection value, MCU1 will also issue the same instruction; if the working temperature exceeds the temperature protection value, MCU1 will also respond. The issuance of these instructions is intended to achieve the protection function of the charging and discharging device 2 by controlling the action of the switch group 4.
[0125] Furthermore, the equalization threshold includes an equalization start voltage value and a voltage difference threshold between cells. Step S12 further specifically includes:
[0126] S121, obtaining the operating voltage values of all cells in the charging and discharging device 2, and the operating voltage difference between the cell with the lowest voltage and other cells;
[0127] S122, compare the working voltage value of the battery cell with the equalization start-up voltage value, and compare the working voltage difference between the lowest voltage battery cell and other battery cells with the voltage difference threshold between battery cells; when the working voltage value of any battery cell is greater than the equalization start-up voltage threshold, and when the working voltage difference of any battery cell is greater than the voltage difference threshold between battery cells, turn on the equalization switch 41.
[0128] Specifically, this embodiment will further explain the working principle of the balanced protection in conjunction with the accompanying drawings. In the initialization stage, the system reads the "balanced start voltage" and "voltage difference between cells" parameters preset in the storage module 12 during production (i.e., sets the initial value), and then updates the two corresponding variables of "balanced start voltage" BSV and "voltage difference between cells" DO V in the MCU integrated structure 100.
[0129] After entering the working state, the voltage data will be updated every second or at a set unit time interval. If the voltage of any cell is detected to exceed the preset balanced start voltage BSV, and the difference between the cell voltage and the lowest voltage in the system exceeds the set DOV threshold, MCU1 will immediately issue a command to perform voltage balancing on the target cell until the difference between the voltage of the balanced cell and the lowest voltage is stabilized within the range allowed by DOV.
[0130] Taking two cells as an example, the conditions for balanced opening are as follows:
[0131] A. The cell voltage must be greater than the set turn-on voltage (3900mV).
[0132] B. The voltage difference between cell 1 and cell 2 must be greater than or equal to 40mV.
[0133] When the above-mentioned balancing start condition is met, that is, during the implementation process, the cell voltage exceeds 3900mV, and the voltage difference between the cells is greater than or equal to 40mV, MCU1 will start the balancing protection algorithm. It should be noted that the above content is only a preferred embodiment of this embodiment, and in practice, the value of the variable can be flexibly limited according to user needs.
[0134] Furthermore, step S2 specifically includes:
[0135] When the balancing switch 41 is turned on, the voltage or power of the battery cell group is dynamically adjusted until the balancing condition is met, and then the balancing switch 41 is turned off;
[0136] Or when the circuit switch is disconnected, the circuit of the charging and discharging device 2 is disconnected.
[0137] The other details that are the same as those in Example 1 are not described in detail in this example.
[0138] However, those skilled in the art may make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. An MCU integrated structure, characterized in that: It comprises a data acquisition module (11), a storage module (12), a calculation module (13) and a control module (14) integrated in an MCU (1); the data acquisition module (11) is used to acquire working information of electrical parameters during the operation of the charging and discharging equipment through an external sensor; A storage module (12), used for storing a preset protection threshold and a balance threshold of an electrical parameter; A calculation module (13) is used to compare the acquired working information with the protection threshold or the balance threshold of the corresponding electrical parameter, and the MCU (1) issues corresponding instructions according to different comparison results; The control module (14) is used to turn on or off the corresponding functional switch according to the instruction, so as to realize functional protection of the charging and discharging equipment.
2. The MCU integrated structure according to claim 1, characterized in that: The control module (14) comprises: A balancing submodule (141) is used to, upon receiving an instruction to start balancing adjustment, turn on a balancing switch, dynamically adjust the voltage or quantity of the charging and discharging device, and turn off the balancing switch after a balancing condition is met; The protection submodule (142) is used to drive the circuit switch to disconnect when receiving an instruction to start the charge and discharge protection.
3. A management system for charging and discharging equipment, characterized in that: It comprises an MCU integrated structure (100) as claimed in any one of claims 1 to 2, a charging and discharging device (2), a sensor (3), a switch group (4) and a host (5); The charging and discharging device (2), the sensor (3), the switch group (4) and the host (5) are all connected to the MCU integrated structure (100), and the sensor (3) and the switch group (4) are all connected to the charging and discharging device (2); The MCU integrated structure (100) obtains the working information of the charging and discharging device (2) through the sensor (3) and determines whether to turn on or off the switch group (4); the MCU integrated structure (100) implements functional protection of the charging and discharging device (2) through the switch group (4); the MCU integrated structure (100) obtains real-time information of the charging and discharging device; the MCU integrated structure (100) interacts with the host (5) to implement real-time monitoring of the charging and discharging device (2).
4. The management system for charging and discharging equipment according to claim 3, characterized in that: The switch group (4) comprises a balancing switch (41) for adjusting the parameters of the charging and discharging device (2) and a loop switch (42) for managing a system loop.
5. The management system for charging and discharging equipment according to claim 4, characterized in that: The balancing switch (41) is a MOS tube, and the boost chopper is controlled by the MOS tube to achieve balancing of the charging and discharging device (2); the loop switch (42) is a fuse or a MOS loop switch.
6. A method for managing charging and discharging equipment, characterized in that: The steps include: S1, the MCU integrated structure (100) determines whether to turn on or off a switch group (4) according to the acquired information of the charging and discharging device (2), wherein the switch group (4) comprises a balancing switch (41) and a loop switch (42); S2, performing functional protection on the charging and discharging device (2) through the switch group (4); S3. The MCU integrated structure (100) obtains real-time information of the charging and discharging device (2), and the MCU integrated structure (100) exchanges information with the host (5).
7. The method for managing charging and discharging equipment according to claim 6, characterized in that: The step S1 specifically includes: S11, the MCU integrated structure (100) obtains the working information, protection threshold and balance threshold of the electrical parameters of the charging and discharging device (2); S12, comparing the acquired working information with the protection threshold or the balance threshold of the corresponding electrical parameter, and issuing corresponding instructions according to different comparison results; S13, when receiving an instruction to start the balancing adjustment, turning on the balancing switch (41); when receiving an instruction to start the charge and discharge protection, turning off the loop switch (42).
8. The method for managing charging and discharging equipment according to claim 7, characterized in that: The protection thresholds include an overvoltage protection value, an undervoltage protection value, an overcurrent protection value, and an overtemperature protection value. The step S12 specifically includes: S121, obtaining the operating voltage value, the operating current value and the operating temperature of the charging and discharging device (2), S122, comparing the working voltage value with the overvoltage protection value or the undervoltage protection value, when the working voltage value is greater than the overvoltage protection value, or when the working voltage value is less than the undervoltage protection value, starting the charge and discharge protection instruction; or comparing the working current value with the overcurrent protection value, and when the working current value is greater than the overcurrent protection value, starting the charge and discharge protection instruction; Or the operating temperature is compared with the over-temperature protection value, and when the operating temperature is greater than the over-temperature protection value, the charge and discharge protection instruction is turned on.
9. The method for managing charging and discharging equipment according to claim 7, characterized in that: The equalization threshold includes an equalization start voltage value and a voltage difference threshold between cells. The step S12 further specifically includes: S121, obtaining the operating voltage values of all battery cells in the charging and discharging device (2) and the operating voltage difference between the lowest voltage battery cell and other battery cells; S122, comparing the working voltage value of the battery cell with the equalization start-up voltage value, and comparing the working voltage difference between the lowest voltage battery cell and other battery cells with the voltage difference threshold between battery cells; when any of the working voltage values of the battery cells is greater than the equalization start-up voltage threshold, and any of the working voltage difference of the battery cells is greater than the voltage difference threshold between battery cells, turning on the equalization switch (41).
10. The method for managing charging and discharging equipment according to claim 7, characterized in that: The step S2 specifically includes: When the balancing switch (41) is turned on, the voltage or quantity of the battery cell group is dynamically adjusted until the balancing condition is met, and then the balancing switch (41) is turned off; or when the circuit switch (42) is turned off, the circuit of the charging and discharging device (2) is disconnected.
