A battery management circuit and battery management method, and an electronic device.
By introducing a circuit structure with variable resistors and filter capacitors into the battery management system, real-time monitoring of battery temperature and pressure is achieved, solving the problem of insufficient early detection of battery thermal runaway and improving the comprehensiveness and stability of battery management.
Patent Information
- Application Number
- CN202611619646.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-20
- Publication Date
- 2026-11-17
AI Technical Summary
Existing battery management systems cannot effectively detect local anomalies in the early stages of battery thermal runaway, resulting in insufficient intervention windows. Furthermore, the alarm thresholds for temperature and voltage signals are difficult to adapt to battery aging and complex operating conditions, making them prone to false alarms or missed alarms.
A circuit consisting of variable resistance elements such as thin-film pressure sensors or negative temperature coefficient thermistors, combined with filter capacitors and pull-up resistors, is used to achieve real-time monitoring of battery temperature and pressure. The processor generates battery expansion force or temperature data for step-by-step protection status determination and processing.
This improves the comprehensiveness and stability of the battery management system's state awareness, reduces hardware costs and circuit complexity, and ensures the reliability and accuracy of battery management.
Smart Images

Figure CN123104464A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery technology, and more specifically, to a battery management circuit and battery management method, and electronic equipment. Background Technology
[0002] With the rapid development of electric vehicles and energy storage systems, the performance and reliability of Battery Management Systems (BMS), as components that ensure the safe operation and extend the lifespan of batteries, have attracted much attention from users. Currently, BMS generally adopts a two-level architecture of slave control and master control. The slave control circuit collects the temperature signals of battery cells through temperature sensors and the voltage signals of battery cells through voltage sampling circuits. The collected data is then transmitted to the master control unit via daisy-chain communication or Controller Area Network (CAN) communication. The master control unit uses this data to perform state of charge (SOC) estimation, state of health (SOH) assessment, and thermal runaway protection.
[0003] However, in the above scheme, the temperature and voltage signals change only slightly in the early stages of battery thermal runaway, and alarms are usually triggered only when the battery shows signs of smoke or significant voltage drop in the middle and late stages, resulting in a severely insufficient intervention window. Furthermore, the number of temperature sensors is limited and their positions are fixed, making it impossible to effectively detect changes in mechanical state caused by local abnormalities in the battery cell, and many early signs of thermal runaway are overlooked. The fixed voltage and temperature alarm thresholds are difficult to adapt to battery aging and complex operating conditions, and are prone to false alarms in non-emergency situations or missed alarms in truly dangerous situations.
[0004] In summary, improving the comprehensiveness and stability of the state perception of battery management systems is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0005] The purpose of this application is to provide a battery management circuit that can, to some extent, solve the technical problem of how to improve the comprehensiveness and stability of the state perception of a battery management system. This application also provides a battery management method and an electronic device.
[0006] To achieve the above objectives, this application provides the following technical solution: A battery management circuit includes a slave control circuit, the slave control circuit including a reference voltage input terminal, a pull-up resistor, a variable resistor element, a first series resistor, a first filter capacitor, a second filter capacitor, a second series resistor, a third filter capacitor, and a signal output port; The reference voltage input terminal is used to receive a reference voltage; the first end of the pull-up resistor is connected to the reference voltage input terminal, and the second end of the pull-up resistor is connected to an intermediate node; the first end of the variable resistor element is connected to the intermediate node through the first series resistor, and the second end of the variable resistor element is grounded; the impedance of the variable resistor element changes with the temperature or pressure of the target battery; the first end of the first filter capacitor is connected at the node between the first end of the variable resistor element and the first end of the first series resistor, and the second end of the first filter capacitor is grounded; the first end of the second filter capacitor is connected to the intermediate node, and the second end of the second filter capacitor is grounded; the first end of the second series resistor is connected to the intermediate node, and the second end of the second series resistor is connected to the signal output port; the first end of the third filter capacitor is connected to the signal output port, and the second end of the third filter capacitor is grounded; the signal output port is used to output a target voltage value to process the target battery based on the target voltage value.
[0007] In an exemplary embodiment, the variable resistance element is a thin-film pressure sensor or a negative temperature coefficient thermistor; When the variable resistance element is the thin-film pressure sensor, the impedance of the variable resistance element decreases as the pressure on the target battery increases; when the variable resistance element is the negative temperature coefficient thermistor, the impedance of the variable resistance element decreases as the temperature of the target battery increases.
[0008] In an exemplary embodiment, the resistance value of the pull-up resistor is determined based on a first impedance range and a second impedance range; Wherein, the first impedance range is the impedance range when the variable resistor element is configured as a pressure sensor; the second impedance range is the impedance range when the variable resistor element is configured as a temperature sensor.
[0009] In an exemplary embodiment, a processor is also included; The processor is communicatively connected to the slave control circuit and is used to generate battery expansion force data based on the target voltage value when the variable resistance element is configured as a pressure sensor, and to generate temperature data based on the target voltage value when the variable resistance element is configured as a temperature sensor; and to process the target battery based on the battery expansion force data or the temperature data.
[0010] In an exemplary embodiment, the slave control circuit further includes an analog front-end chip, and the signal output port is connected to the general-purpose input / output port of the analog front-end chip; the analog front-end chip acquires the target voltage value through the general-purpose input / output port and transmits the acquired target voltage value to the processor.
[0011] In an exemplary embodiment, there are multiple slave control circuits, and the processor processes the target battery based on the battery expansion force data, including: Based on the battery expansion force data, characteristic parameters of the target battery corresponding to each pressure sensor are generated. The characteristic parameters are matched step by step with the parameter thresholds of the corresponding protection levels, and the number of pressure sensors whose characteristic parameters exceed the parameter thresholds are matched step by step with the number thresholds of the corresponding protection levels. In response to the feature parameter matching the parameter threshold corresponding to the level 3 protection state, and the number of pressure sensors whose feature parameter exceeds the parameter threshold matching the number threshold corresponding to the level 3 protection state, the safety status level of the target battery is determined to be level 3 protection state, and the target battery is given an alarm or its power is reduced. In response to the feature parameter matching the parameter threshold corresponding to the secondary protection state, and the number of pressure sensors whose feature parameter exceeds the parameter threshold matching the number threshold corresponding to the secondary protection state, the safety state level is determined to be the secondary protection state, an alarm is issued to the target battery and charging and discharging are prohibited. In response to the feature parameter matching the parameter threshold corresponding to the first-level protection state, and the number of pressure sensors whose feature parameter exceeds the parameter threshold matching the number threshold corresponding to the first-level protection state, the safety state level is determined to be the first-level protection state, and the target battery is given a protection shutdown prompt and immediately shut down in an emergency. Among them, the parameter thresholds and quantity thresholds corresponding to each level of protection status increase progressively according to the protection level.
[0012] In an exemplary embodiment, the processor generates characteristic parameters of the target battery corresponding to each pressure sensor based on the battery expansion force data, including: For each slave control circuit, based on the battery expansion force data corresponding to the slave control circuit, the real-time change rate of the expansion force of the target battery corresponding to the pressure sensor is generated according to the difference between the battery expansion force value at the current moment and the battery expansion force value at the previous moment, and is used as a feature parameter. The ratio of the target battery's expansion force to its historical peak value is generated based on the ratio of the current battery expansion force value to the maximum value of the battery expansion force in the previous charge-discharge cycle, and used as a feature parameter. Based on the difference between the peak value of battery expansion force in the current charge-discharge cycle and the peak value of battery expansion force in the previous charge-discharge cycle, the peak value change rate of the target battery in adjacent charge-discharge cycles is generated and used as the characteristic parameter. Based on the difference between the first expansion force difference and the second expansion force difference, the peak difference change rate of the target battery is generated and used as the characteristic parameter; The first expansion force difference includes the expansion force difference between different battery expansion force peak points in the current charge-discharge cycle, and the second expansion force difference includes the expansion force difference between corresponding battery expansion force peak points in the previous charge-discharge cycle.
[0013] In an exemplary embodiment, the processor is further configured to: The current correction factor is determined based on the difference between the average charge / discharge current ratio of the target battery in this cycle and the average charge / discharge current ratio of the previous cycle. The temperature correction factor is determined based on the difference between the average cell temperature of the target battery in this cycle and the average cell temperature in the previous cycle. Based on the current correction coefficient and the temperature correction coefficient, the parameter threshold corresponding to the peak difference change rate in each level of protection state is corrected.
[0014] In an exemplary embodiment, the processor processes the target battery based on the battery expansion force data, including: During each charge-discharge cycle of the target battery, the peak point of the battery expansion force is detected in real time. When the peak point of the battery expansion force is detected, record the current state of charge, charge / discharge rate, and average battery temperature. Based on the charge / discharge rate and the average battery temperature, a pre-generated state of charge calibration table is consulted to obtain the reference state of charge value corresponding to the peak point of the battery expansion force. Generate the deviation between the current state of charge value and the reference state of charge value; The estimated current state of charge of the target battery is smoothly corrected based on the deviation value.
[0015] In an exemplary embodiment, the processor performs a smooth correction on the estimated current state of charge of the target battery based on the deviation value, including: In response to the absolute value of the deviation being less than a first deviation threshold, the correction value is determined to be zero; In response to the absolute value of the deviation value being greater than or equal to the first deviation threshold and less than the second deviation threshold, a correction value is determined to be one-half of the deviation value; In response to the absolute value of the deviation value being greater than or equal to the second deviation threshold, a correction value is determined to be half of the deviation value and not exceeding the maximum correction limit value; The current state of charge estimate of the target battery is corrected by applying a correction value.
[0016] A battery management method, applied to a processor in a battery management circuit, includes: Obtain the target voltage value output by the slave control circuit in the battery management circuit; When the variable resistor element of the slave control circuit is configured as a pressure sensor, battery expansion force data is generated based on the target voltage value; When the variable resistor element is configured as a temperature sensor, temperature data is generated based on the target voltage value; The target battery is processed based on the battery expansion force data or the temperature data; The slave control circuit includes a reference voltage input terminal, a pull-up resistor, a variable resistor element, a first series resistor, a first filter capacitor, a second filter capacitor, a second series resistor, a third filter capacitor, and a signal output port. The reference voltage input terminal receives a reference voltage. The first end of the pull-up resistor is connected to the reference voltage input terminal, and the second end of the pull-up resistor is connected to an intermediate node. The first end of the variable resistor element is connected to the intermediate node through the first series resistor, and the second end of the variable resistor element is grounded. The impedance of the variable resistor element changes with the temperature or pressure of the target battery. The first end of the first filter capacitor is connected at the node between the first end of the variable resistor element and the first end of the first series resistor, and the second end of the first filter capacitor is grounded. The first end of the second filter capacitor is connected to the intermediate node, and the second end of the second filter capacitor is grounded. The first end of the second series resistor is connected to the intermediate node, and the second end of the second series resistor is connected to the signal output port. The first end of the third filter capacitor is connected to the signal output port, and the second end of the third filter capacitor is grounded. The signal output port outputs the target voltage value.
[0017] An electronic device, comprising: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the battery management method as described above.
[0018] This application provides a battery management circuit, including a slave control circuit. The slave control circuit includes a reference voltage input terminal, a pull-up resistor, a variable resistor element, a first series resistor, a first filter capacitor, a second filter capacitor, a second series resistor, a third filter capacitor, and a signal output port. The reference voltage input terminal is used to receive a reference voltage. The first end of the pull-up resistor is connected to the reference voltage input terminal, and the second end of the pull-up resistor is connected to an intermediate node. The first end of the variable resistor element is connected to the intermediate node through the first series resistor, and the second end of the variable resistor element is grounded. The impedance of the variable resistor element changes with the temperature or pressure of the target battery. The first end of the first filter capacitor is connected at the node between the first end of the variable resistor element and the first end of the first series resistor, and the second end of the first filter capacitor is grounded. The first end of the second filter capacitor is connected to the intermediate node, and the second end of the second filter capacitor is grounded. The first end of the second series resistor is connected to the intermediate node, and the second end of the second series resistor is connected to the signal output port. The first end of the third filter capacitor is connected to the signal output port, and the second end of the third filter capacitor is grounded. The signal output port is used to output a target voltage value for processing the target battery based on the target voltage value. In this application, by connecting a variable resistor element to a slave control circuit and using a pull-up resistor to convert the impedance change of the variable resistor element into a voltage change, and outputting the target voltage value through the same signal output port, the slave control circuit can be compatible with both pressure and temperature acquisition modes. This eliminates the need for a dedicated acquisition unit or additional acquisition circuit for the pressure sensor, reducing hardware costs and circuit complexity, and improving the comprehensiveness of the battery management system's state awareness. Furthermore, through the cooperation of the first series resistor, the second series resistor, and the first, second, and third filter capacitors, impedance matching and noise suppression of the sensor signal are achieved, ensuring the accuracy and stability of the target voltage value acquisition and providing a reliable data foundation for subsequent battery processing. The battery management method and electronic device provided in this application also solve the corresponding technical problems. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0020] Figure 1 This is a schematic diagram of a battery management circuit provided in an embodiment of this application; Figure 2 This is a flowchart illustrating how a processor processes a target battery based on battery expansion force data. Figure 3A flowchart for generating feature parameters for the processor based on battery expansion force data; Figure 4 A flowchart illustrating a battery management method provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application; Figure 6 This is another structural schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0021] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0022] Please see Figure 1 , Figure 1 This is a schematic diagram of a battery management circuit provided in an embodiment of this application.
[0023] This application provides a battery management circuit, including a slave control circuit 10 and a processor 20. The slave control circuit 10 includes a reference voltage input terminal VREF, a pull-up resistor R94, a variable resistor element R99, a first series resistor R97, a first filter capacitor C67, a second filter capacitor C73, a second series resistor R100, a third filter capacitor C74, and a signal output port GPIO2.
[0024] The connection relationships of each component are as follows: The reference voltage input terminal is used to receive the reference voltage, which can be provided by the power management module of the battery management system. Its voltage value can be 3.3V or 5.0V, depending on the voltage reference design of the analog front-end chip; the first end of the pull-up resistor is connected to the reference voltage input terminal, and the second end of the pull-up resistor is connected to the intermediate node TP101; the first end of the variable resistor element is connected to the intermediate node through the first series resistor, and the second end of the variable resistor element is grounded. The impedance of the variable resistor element changes with the temperature or pressure of the target battery. The voltage at the intermediate node is the voltage obtained by dividing the reference voltage by the pull-up resistor and the variable resistor element according to the resistance ratio.
[0025] The first terminal of the first filter capacitor is connected at the node between the first terminal of the variable resistor and the first terminal of the first series resistor, and the second terminal of the first filter capacitor is grounded. The first filter capacitor and the first series resistor form a first-stage RC low-pass filter, used to bypass high-frequency interference signals and transient high-voltage spikes at the output of the variable resistor. Since the first filter capacitor is directly connected near the output of the variable resistor, it may withstand high transient voltages. Therefore, the withstand voltage of the first filter capacitor must be greater than or equal to a preset withstand voltage threshold to prevent breakdown under high-voltage conditions.
[0026] The first terminal of the second filter capacitor is connected to the intermediate node, and the second terminal of the second filter capacitor is grounded. The second filter capacitor, together with the equivalent impedance of the pull-up resistor and the first series resistor, forms a second-stage RC low-pass filter, which is used to perform secondary filtering on the voltage signal at the intermediate node, filtering out intermediate frequency noise and power supply ripple.
[0027] The first end of the second series resistor is connected to the intermediate node, and the second end is connected to the signal output port. The second series resistor is used to isolate the intermediate node from the signal output port, suppress signal reflection, and limit current when an abnormality occurs at the signal output port.
[0028] The first terminal of the third filter capacitor is connected to the signal output port, and the second terminal of the third filter capacitor is grounded. The third filter capacitor and the second series resistor form a third-stage RC low-pass filter, which is used to provide instantaneous charge to stabilize the sampling voltage when the signal at the signal output port is sampled.
[0029] The signal output port is used to output the target voltage value so that the target battery can be processed based on the target voltage value. Specifically, the signal output port is used to output the target voltage value to the processor so that the processor can process the target battery based on the target voltage value.
[0030] It should be noted that the values of each component can be flexibly set as needed. For example, the pull-up resistor can be 33KΩ, using a 0402 package; the variable resistor can be 100KΩ / 4200Ω, etc.; the first series resistor can be 1KΩ, using a 0402 package; the first filter capacitor can be 1nF / 250V, using a 0805 package; the second filter capacitor can be 0.1uF / 50V, using a 0402 package; the second series resistor can be 1KΩ, using a 0402 package; the third filter capacitor can be 470nF / 50V, using a 0402 package, etc.
[0031] In practical applications, variable resistors can be configured as different types of sensors. When configured as a thin-film pressure sensor, the impedance of the variable resistor decreases as the pressure on the target battery increases. The thin-film pressure sensor can be placed close to the battery surface or on the inner wall of the battery holder, directly sensing the expansion force generated by the volume change of the electrode material during battery charging and discharging. When the battery expansion force increases, the thin-film pressure sensor deforms under pressure, its impedance decreases, and the voltage drop at the intermediate node changes accordingly. The target voltage value output by the signal output port reflects the change in battery expansion force. When configured as a negative temperature coefficient thermistor, the impedance of the variable resistor decreases as the temperature of the target battery increases. When the battery temperature rises, the number of charge carriers inside the thermistor increases, the impedance decreases, and the voltage drop at the intermediate node changes accordingly. The target voltage value output by the signal output port reflects the change in battery temperature.
[0032] In practical applications, the pull-up resistor value is determined based on a first impedance range and a second impedance range. The first impedance range is the impedance range when the variable resistor element is configured as a pressure sensor, and the second impedance range is the impedance range when the variable resistor element is configured as a temperature sensor. When selecting the pull-up resistor value, the target voltage value output from the signal output port must have the required linearity and resolution across the entire impedance range of the variable resistor element. For example, when the variable resistor element is configured as a thermistor, its impedance varies from several thousand ohms to tens of thousands of ohms within the target battery operating temperature range. The pull-up resistor value is selected to be a nominal resistance value close to the impedance value of the thermistor at the midpoint of the target temperature range, ensuring a symmetrical distribution of the voltage divider across the temperature range. When the variable resistor element is configured as a thin-film pressure sensor, its impedance varies from several hundred ohms to tens of thousands of ohms within the target battery expansion force range. The pull-up resistor value is selected to be a nominal resistance value close to the impedance value of the thin-film pressure sensor at the midpoint of the target expansion force range.
[0033] In practical applications, the processor in the battery management circuit communicates with the slave control circuit via daisy-chain communication or controller area network communication to exchange data with the analog front-end chip. This is used to generate battery expansion force data based on the target voltage value when the variable resistor element is configured as a pressure sensor, and to generate temperature data based on the target voltage value when the variable resistor element is configured as a temperature sensor. The target battery is then processed based on the battery expansion force data or temperature data. The processing methods include safety status diagnosis, state of charge calibration, charge and discharge power regulation, and thermal management control.
[0034] In an exemplary embodiment, the processor can determine the data type of the target voltage value based on the configuration type identifier of the variable resistor element corresponding to each slave control circuit. The configuration type identifier can be pre-stored in the processor, indicating whether each general-purpose input / output pin corresponds to a pressure sensor or a temperature sensor.
[0035] When the variable resistor element is configured as a pressure sensor, the processor calculates the current impedance value of the pressure sensor based on the target voltage value, and then determines the battery expansion force according to the pressure-impedance calibration relationship of the pressure sensor. Specifically, the processor calculates the current impedance value of the variable resistor element according to the following formula: R sen =(V ADC ×(R1+R2)-V ref ×R1) / (V ref -V ADC ), where R1 is the resistance of the pull-up resistor, R2 is the resistance of the first series resistor, V ref V is the reference voltage value. ADC The target voltage value read by the processor; the current impedance value R of the variable resistor element is obtained. sen Then, the processor determines the expansion force value P of the target battery based on the pressure-impedance calibration relationship of the variable resistor element, for example, by referring to the corresponding curve of pressure and impedance or by looking up a table.
[0036] In an exemplary embodiment, when the variable resistive element is configured as a temperature sensor, the processor calculates the current impedance value of the negative temperature coefficient thermistor based on the target voltage value, and then determines the temperature value of the target battery according to the NTC's temperature-impedance calibration relationship. The NTC's temperature-impedance calibration relationship can be implemented using the Steinhart-Hart equation or a lookup table method.
[0037] In an exemplary embodiment, the slave control circuit further includes an analog front-end chip, which may be a dedicated battery monitoring chip. The signal output port of the analog front-end chip is connected to the general-purpose input / output (GPIO) port of the analog front-end chip. The analog front-end chip acquires the target voltage value through the GPIO port and transmits the acquired target voltage value to the processor. An analog-to-digital converter (ADC) may be integrated within the analog front-end chip to perform analog-to-digital conversion on the analog voltage signal received from the GPIO port, obtaining the digital target voltage value. Furthermore, the analog front-end chip may also include a multiplexer and a register. The input terminals of the multiplexer are connected to the GPIO port and the temperature sensor port, respectively, and the output terminal of the multiplexer is connected to the input terminal of the ADC. The register stores channel selection configuration bits to control the multiplexer to switch between the GPIO port and the temperature sensor port in a time-division multiplexing manner, enabling the ADC to alternately sample the signals from the GPIO port and the temperature sensor port in a time-division multiplexing manner.
[0038] In an exemplary embodiment, there can be multiple slave control circuits, deployed at different locations within the target battery pack. Each slave control circuit is connected to a variable resistance element, such as a thin-film pressure sensor, and the multiple slave control circuits are respectively connected to a processor. Correspondingly, during the processor's processing of the target battery based on battery expansion force data, such as... Figure 2 As shown, based on battery expansion force data, characteristic parameters corresponding to each pressure sensor for the target battery can be generated. These characteristic parameters are then matched step-by-step with the parameter thresholds for the corresponding protection levels. The number of pressure sensors whose characteristic parameters exceed the parameter thresholds is also matched step-by-step with the number thresholds for the corresponding protection levels. In response to the matching of characteristic parameters with the parameter thresholds corresponding to the third-level protection state, and the matching of the number of pressure sensors whose characteristic parameters exceed the parameter thresholds with the number thresholds corresponding to the third-level protection state, the safety status level of the target battery is determined to be the third-level protection state, and an alarm is issued or power reduction is implemented for the target battery. In response to the matching of characteristic parameters with the parameter thresholds corresponding to the second-level protection state, and... If the number of pressure sensors whose characteristic parameters exceed the parameter threshold matches the quantity threshold corresponding to the secondary protection state, the safety state level is determined to be the secondary protection state. An alarm is issued to the target battery, charging and discharging are prohibited, and manual intervention for inspection can be requested. In response to the matching of the characteristic parameters with the parameter threshold corresponding to the primary protection state, and the matching of the number of pressure sensors whose characteristic parameters exceed the parameter threshold with the quantity threshold corresponding to the primary protection state, the safety state level is determined to be the primary protection state. A protection shutdown prompt is issued to the target battery, and an immediate emergency shutdown is initiated. Manual inspection can also be requested immediately, and fire protection is activated. The parameter thresholds and quantity thresholds corresponding to each level of protection state increase progressively with the protection level.
[0039] In specific application scenarios, such as Figure 3 As shown, in the process of generating characteristic parameters of the target battery corresponding to each pressure sensor based on battery expansion force data, for each slave control circuit, based on the battery expansion force data corresponding to the slave control circuit, the real-time rate of change of expansion force of the target battery corresponding to the pressure sensor is generated according to the difference between the battery expansion force value at the current moment and the battery expansion force value at the previous moment. And used as feature parameters, 'n' represents the sensor number, and 'cyc' represents the total number of battery cycles. The battery expansion force value collected in this study. The battery expansion force value was collected last time; based on the current battery expansion force value and the peak value of battery expansion force in the last charge-discharge cycle. The ratio of the expansion force of the generated target battery to the historical peak value. And used as feature parameters, , This represents the maximum value of the battery swelling force during the previous cycle; based on the peak value of the battery swelling force in the current charge / discharge cycle... Peak battery swelling force compared to the previous charge-discharge cycle The difference is used to generate the peak rate of change of the target battery in adjacent charge-discharge cycles. And used as feature parameters, Based on the first expansion force difference Difference with the second expansion force The difference between them, generating the peak difference rate of change of the target battery. And used as feature parameters, The first expansion force difference includes the expansion force difference between different battery expansion force peak points in the current charge-discharge cycle, and the second expansion force difference includes the expansion force difference between corresponding battery expansion force peak points in the previous charge-discharge cycle.
[0040] It should be noted that the real-time data of battery expansion force during the system's charging and discharging process is expressed as follows: Where n represents the sensor number, with a unified cluster number, supporting a maximum of 1024; cyc represents the battery's total lifespan cycle count. The peak value of the battery expansion force during system charging and discharging is expressed as... Where k represents the peak point of the expansion force, which can be flexibly determined as needed; taking k=6 as an example, 1 represents the first peak point of battery expansion force during charging, which can be around SOC=0%; 2 represents the second peak point of battery expansion force during charging, which can be around SOC=30%; 3 represents the third peak point of battery expansion force during charging, which can be around SOC=100%; 4 represents the fourth peak point of battery expansion force during discharging, which can be around SOC=100%; 5 represents the fifth peak point of battery expansion force during discharging, which can be around SOC=30%; and 6 represents the sixth peak point of battery expansion force during discharging, which can be around SOC=0%. The peak difference of battery expansion force during the charging and discharging process can be expressed as: , The peak difference representing the expansion force, This represents the difference in battery expansion force between the first and second peak points during each charging process. This represents the difference in battery expansion force between the second and third peak points during each charging process. This represents the difference in battery expansion force between the third peak point and the first peak point during each charging process. This represents the difference in battery expansion force between the fourth and fifth peak points during each discharge process. This represents the difference in battery expansion force between the fourth and sixth peak points during each discharge process. This represents the difference in battery expansion force between the fifth and sixth peak points during each discharge process.
[0041] In specific application scenarios, the threshold percentages and quantity thresholds corresponding to each level of protection status can be adjusted according to the actual application scenario. For example, in the case of 200 pressure sensors, the judgment condition for the third-level protection status includes at least one of the following: three consecutive samplings, and the real-time change rate of expansion force. ≥5% of the pressure sensors have more than 3; or the ratio of expansion force to historical peak value is obtained from 3 consecutive samplings. The number of pressure sensors with a tolerance of ≤-5% exceeds 3; or during a single charge-discharge cycle... ≥5% of the pressure sensors have more than 3; or during a single charge-discharge cycle If the number of pressure sensors with a ≥5% risk exceeds three, the safety status is determined to be Level 3 protection. The processor will control the battery management system to display an alarm or perform power reduction. The criteria for Level 2 protection include at least one of the following: three consecutive samples. ≥10% of the pressure sensors have more than 5 components; or three consecutive samples are taken. The number of pressure sensors with a tolerance of ≤-10% exceeds 5; or during a single charge-discharge cycle... ≥10% of the pressure sensors have more than 5 units; or during a single charge-discharge cycle If the number of pressure sensors with a ≥10% load exceeds five, the safety status is determined to be Level 2 protection. The processor controls the battery management system to display an alarm, prohibits charging and discharging, and prompts for manual intervention. The criteria for determining Level 1 protection include at least one of the following: three consecutive samplings. ≥20% of the pressure sensors have more than 10 units; or three consecutive samples are taken. The number of pressure sensors with a sensitivity of ≤-20% exceeds 10; or during a single charge-discharge cycle... ≥20% of the pressure sensors have more than 10 units; or during a single charge-discharge cycle ≥20% of the pressure sensors have more than 10 units; if any of the above conditions are met, the safety status level is determined to be Level 1 protection status, the processor controls the battery management system to display a protection shutdown prompt, immediately shut down the system, require immediate manual inspection, and activate the fire protection system.
[0042] In specific application scenarios, if the charge / discharge current and battery temperature differ significantly between the current cycle and the previous cycle, the aforementioned alarm threshold needs to be dynamically adjusted. Based on this, the processor is also used to: determine the current correction coefficient based on the difference between the average charge / discharge current ratio of the target battery in the current cycle and the average charge / discharge current ratio of the previous cycle. ,For example , This represents the average charge / discharge current ratio for this cycle. For example, 0.1C represents the discharge current over 10 hours, and 1C represents the discharge current over 1 hour. This represents the average charge / discharge current ratio of the previous cycle; for example, 0.1C represents the discharge current over 10 hours, and 1C represents the discharge current over 1 hour. A temperature correction factor is determined based on the difference between the average cell temperature of the target battery in this cycle and the average cell temperature in the previous cycle. ,For example , This represents the average temperature of the battery cells during this cycle. The average cell temperature from the previous cycle is used as the reference. Based on the current correction factor and the temperature correction factor, the parameter thresholds corresponding to the rate of change of peak value difference in each protection state are corrected to obtain the corrected parameter thresholds. ,For example , Used to define the peak difference in battery expansion force. This represents the parameter threshold before correction.
[0043] In an exemplary embodiment, during the processor's processing of the target battery based on battery swelling force data, the state of charge (SOC) of the target battery can be calibrated. Specifically, during each charge-discharge cycle of the target battery, the peak point of the battery swelling force is detected in real time. For example, the changing trend of the battery swelling force data can be monitored in real time. When the swelling force data changes from an upward trend to a downward trend, the turning point is identified as the peak point. Alternatively, a sliding window comparison method can be used to compare the current swelling force value with the swelling force values of several sampling points before and after it. If the current value is greater than all the previous and previous values, it is determined to be a peak point. When a peak point of battery swelling force is detected, the current state of charge (SOC) value is recorded. cur Charge / discharge rate I cur and battery average temperature T cur Based on the charge / discharge rate and average battery temperature, a pre-generated state of charge (SOC) calibration table is consulted to obtain the reference SOC value corresponding to the peak point of battery expansion force. ref Generate the deviation Δ between the current state of charge (SOC) value and the reference SOC value. SOC Δ SOC =SOC cur -SOC ref The estimated current state of charge of the target battery is smoothly corrected based on the deviation value.
[0044] In specific application scenarios, during the process of the processor smoothing and correcting the estimated current state of charge of the target battery based on the deviation value, the correction value is determined to be zero if the absolute value of the deviation value is less than a first deviation threshold. The first deviation threshold can be determined as needed, for example, 2%. If the absolute value of the deviation value is greater than or equal to the first deviation threshold and less than a second deviation threshold, the correction value is determined to be half of the deviation value. The second deviation threshold can be flexibly determined as needed, for example, 10%. If the absolute value of the deviation value is greater than or equal to the second deviation threshold, the correction value is determined to be half of the deviation value and not exceeding the maximum correction limit. Taking positive correction as an example, the correction value = min(Δ SOC / 2, 10%); the corrected value is used to correct the estimated current state of charge (SOC) of the target battery. new =SOC cur - Correction values: To ensure the smoothness of SOC correction and avoid erroneous corrections, each correction value can be executed according to the above rules to ensure that SOC does not fluctuate drastically due to a single abnormal data.
[0045] In specific application scenarios, the generation process of the state of charge (SOC) calibration table can be as follows: The battery system is fully charged and discharged. Existing end-of-cycle calibration methods of the battery management system, such as voltage end-of-cycle calibration, are used to determine the true SOC value of each battery cell, and the corresponding charge / discharge rate and average battery temperature are recorded. During subsequent charge / discharge cycles, the SOC value of each battery cell when the expansion force reaches each peak point, along with the corresponding charge / discharge rate and average battery temperature, are recorded. Specifically, the SOC value corresponding to the peak point of cell expansion force during discharge (SOCm-P-dsg) and the SOC value corresponding to the peak point of cell expansion force during charging (SOCm-P-chg) are recorded, where m represents the cell number. Each time the battery management system triggers end-of-cycle calibration, the above values are recorded. Using the charge / discharge rate and average battery temperature as indexes and the SOC value as the calibration quantifier, a state of charge calibration table is generated using a bilinear interpolation method.
[0046] This application provides a battery management circuit, including a slave control circuit. The slave control circuit includes a reference voltage input terminal, a pull-up resistor, a variable resistor element, a first series resistor, a first filter capacitor, a second filter capacitor, a second series resistor, a third filter capacitor, and a signal output port. The reference voltage input terminal is used to receive a reference voltage. The first end of the pull-up resistor is connected to the reference voltage input terminal, and the second end of the pull-up resistor is connected to an intermediate node. The first end of the variable resistor element is connected to the intermediate node through the first series resistor, and the second end of the variable resistor element is grounded. The impedance of the variable resistor element changes with the temperature or pressure of the target battery. The first end of the first filter capacitor is connected at the node between the first end of the variable resistor element and the first end of the first series resistor, and the second end of the first filter capacitor is grounded. The first end of the second filter capacitor is connected to the intermediate node, and the second end of the second filter capacitor is grounded. The first end of the second series resistor is connected to the intermediate node, and the second end of the second series resistor is connected to the signal output port. The first end of the third filter capacitor is connected to the signal output port, and the second end of the third filter capacitor is grounded. The signal output port is used to output a target voltage value for processing the target battery based on the target voltage value. In this application, by connecting a variable resistor element to a slave control circuit and using a pull-up resistor to convert the impedance change of the variable resistor element into a voltage change, and outputting the target voltage value through the same signal output port, the slave control circuit can be compatible with both pressure and temperature acquisition modes. This eliminates the need for a dedicated acquisition unit or additional acquisition circuit for the pressure sensor, reducing hardware costs and circuit complexity, and improving the comprehensiveness of the battery management system's state perception. Furthermore, through the cooperation of the first series resistor, the second series resistor, and the first, second, and third filter capacitors, impedance matching and noise suppression of the sensor signal are achieved, ensuring the accuracy and stability of the target voltage value acquisition and providing a reliable data foundation for subsequent battery processing.
[0047] Please see Figure 4 , Figure 4 This is a flowchart of a battery management method provided in an embodiment of this application.
[0048] This application provides a battery management method applied to a processor in a battery management circuit, which may include the following steps: Step S101: Obtain the target voltage value output by the slave control circuit in the battery management circuit.
[0049] Step S102: When the variable resistor element of the slave control circuit is configured as a pressure sensor, battery expansion force data is generated based on the target voltage value.
[0050] Step S103: When the variable resistor element is configured as a temperature sensor, temperature data is generated based on the target voltage value.
[0051] Step S104: Process the target battery based on battery expansion force data or temperature data.
[0052] The description of the corresponding steps in this embodiment can be found in the above embodiments, and will not be repeated here.
[0053] This application also provides an electronic device and a computer-readable storage medium, both of which have the corresponding effects of the battery management method provided in the embodiments of this application. Please refer to... Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0054] An electronic device provided in this application includes a memory 201 and a processor 202. The memory 201 stores a computer program, and the processor 202 executes the computer program to implement the steps of the battery management method described in any of the above embodiments.
[0055] Please see Figure 6 Another electronic device provided in this application embodiment may further include: an input port 203 connected to the processor 202 for transmitting commands input from the outside to the processor 202; a display unit 204 connected to the processor 202 for displaying the processing results of the processor 202 to the outside; and a communication module 205 connected to the processor 202 for enabling communication between the electronic device and the outside. The display unit 204 may be a display panel, a laser scanning display, etc.; the communication method adopted by the communication module 205 includes, but is not limited to, Mobile High-Definition Link (MHL), Universal Serial Bus (USB), High-Definition Multimedia Interface (HDMI), wireless connection: Wireless Fidelity (WiFi), Bluetooth communication technology, Bluetooth Low Energy communication technology, and communication technology based on IEEE 802.11s.
[0056] This application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the steps of the battery management method described in any of the above embodiments.
[0057] The computer-readable storage media involved in this application include random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs (compact disc read-only memory), or any other form of storage media known in the art.
[0058] This application provides a computer program product, including a computer program / instructions, which, when executed by a processor, implement the steps of the battery management method described in any of the above embodiments.
[0059] For descriptions of relevant parts in the battery management method, electronic device, and computer-readable storage medium provided in the embodiments of this application, please refer to the detailed description of the corresponding parts in the battery management circuit provided in the embodiments of this application, which will not be repeated here. Furthermore, parts of the technical solutions provided in the embodiments of this application that are consistent with the implementation principles of corresponding technical solutions in the prior art have not been described in detail to avoid excessive elaboration.
[0060] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0061] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A battery management circuit, characterized in that, It includes a slave control circuit, which includes a reference voltage input terminal, a pull-up resistor, a variable resistor element, a first series resistor, a first filter capacitor, a second filter capacitor, a second series resistor, a third filter capacitor, and a signal output port; The reference voltage input terminal is used to receive a reference voltage; the first end of the pull-up resistor is connected to the reference voltage input terminal, and the second end of the pull-up resistor is connected to the intermediate node; the first end of the variable resistor element is connected to the intermediate node through the first series resistor, the second end of the variable resistor element is grounded, and the impedance of the variable resistor element changes with the temperature or pressure of the target battery. The first terminal of the first filter capacitor is connected to the node between the first terminal of the variable resistor element and the first terminal of the first series resistor, and the second terminal of the first filter capacitor is grounded; the first terminal of the second filter capacitor is connected to the intermediate node, and the second terminal of the second filter capacitor is grounded; the first terminal of the second series resistor is connected to the intermediate node, and the second terminal of the second series resistor is connected to the signal output port. The first end of the third filter capacitor is connected to the signal output port, and the second end of the third filter capacitor is grounded; the signal output port is used to output a target voltage value so as to process the target battery based on the target voltage value.
2. The battery management circuit according to claim 1, characterized in that, The variable resistance element is a thin-film pressure sensor or a negative temperature coefficient thermistor. When the variable resistance element is the thin-film pressure sensor, the impedance of the variable resistance element decreases as the pressure on the target battery increases; when the variable resistance element is the negative temperature coefficient thermistor, the impedance of the variable resistance element decreases as the temperature of the target battery increases.
3. The battery management circuit according to claim 1, characterized in that, The value of the pull-up resistor is determined according to the first impedance range and the second impedance range; Wherein, the first impedance range is the impedance range when the variable resistor element is configured as a pressure sensor; the second impedance range is the impedance range when the variable resistor element is configured as a temperature sensor.
4. The battery management circuit according to claim 1, characterized in that, It also includes the processor; The processor is communicatively connected to the slave control circuit and is used to generate battery expansion force data based on the target voltage value when the variable resistance element is configured as a pressure sensor, and to generate temperature data based on the target voltage value when the variable resistance element is configured as a temperature sensor. The target battery is processed based on the battery expansion force data or the temperature data.
5. The battery management circuit according to claim 4, characterized in that, The slave control circuit also includes an analog front-end chip, and the signal output port is connected to the general-purpose input / output port of the analog front-end chip; the analog front-end chip acquires the target voltage value through the general-purpose input / output port and transmits the acquired target voltage value to the processor.
6. The battery management circuit according to claim 4, characterized in that, The slave control circuits are multiple, and the processor processes the target battery based on the battery expansion force data, including: Based on the battery expansion force data, characteristic parameters of the target battery corresponding to each pressure sensor are generated. The characteristic parameters are matched step by step with the parameter thresholds of the corresponding protection levels, and the number of pressure sensors whose characteristic parameters exceed the parameter thresholds are matched step by step with the number thresholds of the corresponding protection levels. In response to the feature parameter matching the parameter threshold corresponding to the level 3 protection state, and the number of pressure sensors whose feature parameter exceeds the parameter threshold matching the number threshold corresponding to the level 3 protection state, the safety status level of the target battery is determined to be level 3 protection state, and the target battery is given an alarm or its power is reduced. In response to the feature parameter matching the parameter threshold corresponding to the secondary protection state, and the number of pressure sensors whose feature parameter exceeds the parameter threshold matching the number threshold corresponding to the secondary protection state, the safety state level is determined to be the secondary protection state, an alarm is issued to the target battery and charging and discharging are prohibited. In response to the feature parameter matching the parameter threshold corresponding to the first-level protection state, and the number of pressure sensors whose feature parameter exceeds the parameter threshold matching the number threshold corresponding to the first-level protection state, the safety state level is determined to be the first-level protection state, and the target battery is given a protection shutdown prompt and immediately shut down in an emergency. Among them, the parameter thresholds and quantity thresholds corresponding to each level of protection status increase progressively according to the protection level.
7. The battery management circuit according to claim 6, characterized in that, Based on the battery expansion force data, the processor generates characteristic parameters of the target battery corresponding to each pressure sensor, including: For each slave control circuit, based on the battery expansion force data corresponding to the slave control circuit, the real-time change rate of the expansion force of the target battery corresponding to the pressure sensor is generated according to the difference between the battery expansion force value at the current moment and the battery expansion force value at the previous moment, and is used as a feature parameter. The ratio of the target battery's expansion force to its historical peak value is generated based on the ratio of the current battery expansion force value to the maximum value of the battery expansion force in the previous charge-discharge cycle, and used as a feature parameter. Based on the difference between the peak value of battery expansion force in the current charge-discharge cycle and the peak value of battery expansion force in the previous charge-discharge cycle, the peak value change rate of the target battery in adjacent charge-discharge cycles is generated and used as the characteristic parameter. Based on the difference between the first expansion force difference and the second expansion force difference, the peak difference change rate of the target battery is generated and used as the characteristic parameter; The first expansion force difference includes the expansion force difference between different battery expansion force peak points in the current charge-discharge cycle, and the second expansion force difference includes the expansion force difference between corresponding battery expansion force peak points in the previous charge-discharge cycle.
8. The battery management circuit according to claim 7, characterized in that, The processor is also used for: The current correction factor is determined based on the difference between the average charge / discharge current ratio of the target battery in this cycle and the average charge / discharge current ratio of the previous cycle. The temperature correction factor is determined based on the difference between the average cell temperature of the target battery in this cycle and the average cell temperature in the previous cycle. Based on the current correction coefficient and the temperature correction coefficient, the parameter threshold corresponding to the peak difference change rate in each level of protection state is corrected.
9. The battery management circuit according to claim 4, characterized in that, The processor processes the target battery based on the battery expansion force data, including: During each charge-discharge cycle of the target battery, the peak point of the battery expansion force is detected in real time. When the peak point of the battery expansion force is detected, record the current state of charge, charge / discharge rate, and average battery temperature. Based on the charge / discharge rate and the average battery temperature, a pre-generated state of charge calibration table is consulted to obtain the reference state of charge value corresponding to the peak point of the battery expansion force. Generate the deviation between the current state of charge value and the reference state of charge value; The estimated current state of charge of the target battery is smoothly corrected based on the deviation value.
10. The battery management circuit according to claim 9, characterized in that, The processor performs a smooth correction on the estimated current state of charge of the target battery based on the deviation value, including: In response to the absolute value of the deviation being less than a first deviation threshold, the correction value is determined to be zero; In response to the absolute value of the deviation value being greater than or equal to the first deviation threshold and less than the second deviation threshold, a correction value is determined to be one-half of the deviation value; In response to the absolute value of the deviation value being greater than or equal to the second deviation threshold, a correction value is determined to be half of the deviation value and not exceeding the maximum correction limit value; The current state of charge estimate of the target battery is corrected by applying a correction value.
11. A battery management method, characterized in that, The processor used in the battery management circuit includes: Obtain the target voltage value output by the slave control circuit in the battery management circuit; When the variable resistor element of the slave control circuit is configured as a pressure sensor, battery expansion force data is generated based on the target voltage value; When the variable resistor element is configured as a temperature sensor, temperature data is generated based on the target voltage value; The target battery is processed based on the battery expansion force data or the temperature data; The slave control circuit includes a reference voltage input terminal, a pull-up resistor, a variable resistor element, a first series resistor, a first filter capacitor, a second filter capacitor, a second series resistor, a third filter capacitor, and a signal output port. The reference voltage input terminal receives a reference voltage. The first end of the pull-up resistor is connected to the reference voltage input terminal, and the second end of the pull-up resistor is connected to an intermediate node. The first end of the variable resistor element is connected to the intermediate node through the first series resistor, and the second end of the variable resistor element is grounded. The impedance of the variable resistor element changes with the temperature or pressure of the target battery. The first end of the first filter capacitor is connected at the node between the first end of the variable resistor element and the first end of the first series resistor, and the second end of the first filter capacitor is grounded. The first end of the second filter capacitor is connected to the intermediate node, and the second end of the second filter capacitor is grounded. The first end of the second series resistor is connected to the intermediate node, and the second end of the second series resistor is connected to the signal output port. The first end of the third filter capacitor is connected to the signal output port, and the second end of the third filter capacitor is grounded. The signal output port outputs the target voltage value.
12. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the battery management method as described in claim 11.
