Automobile battery status detection method, system and computer readable storage medium thereof

By collecting the voltage and current signals of the battery, and using the least squares method and Kalman filtering algorithm to estimate SOC and SOH in real time, the problem that the existing technology cannot monitor SOC and SOH online is solved, real-time state detection and management of the battery is realized.

CN114895188BActive Publication Date: 2024-11-08SHENZHEN CHANGFENG TIMES TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210465953.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2024-11-08
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

The existing automotive battery status monitoring methods cannot obtain the two parameters SOC and SOH online, resulting in a reduction in estimation accuracy and affecting the working effect of the automotive energy management system.

Method used

By collecting the voltage and current signals of the battery, dynamically tracking the parameters of the Randles equivalent circuit model using the least squares method, estimating SOH and SOC in real time, combining the Kalman filtering algorithm to obtain the real-time open-circuit voltage, and then calculating SOC and SOH.

Benefits of technology

Real-time state detection of the battery is realized, data support for battery status judgment, maintenance, maintenance and replacement is provided, and the accuracy and efficiency of the energy management system are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114895188B_ABST
    Figure CN114895188B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system and computer-readable storage medium for detecting the state of an automobile battery. The method includes collecting, reporting and storing a voltage signal Uk and a current signal Ik of a battery at the kth moment; dynamically tracking the parameter changes of the Randles equivalent circuit model of the battery over time by using the least squares method, thereby estimating the parameters of the Randles equivalent circuit model in real time; calculating the SOH parameter of the battery by estimating the parameter Cb in real time, and obtaining the open circuit voltage estimation state equation at the kth moment according to the parameters of the Randles equivalent circuit model, and using Kalman filtering to estimate the real-time open circuit voltage Voc of the battery; substituting the SOH parameter and the real-time open circuit voltage Voc into the SOC-SOH-Voc relationship model for calculation and evaluation, and obtaining the SOC parameter of the battery. The present application realizes real-time state detection of the battery, and provides data support for further state judgment, repair, maintenance and replacement of the battery according to the two parameters of SOC and SOH.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of automobile battery monitoring, and in particular to an automobile battery status detection method, system and computer-readable storage medium thereof. Background Art

[0002] Batteries are an indispensable part of automobiles. Now, with the rapid development of the automobile industry, the importance of automobile batteries has received more and more attention. As the only device for the DC system to supply power to the outside, batteries provide working power for the car's starting, ignition, lighting, etc.

[0003] Automobile batteries are usually lead-acid batteries. SOC and SOH are important parameters that can reflect the status of automobile lead-acid batteries. SOC refers to the ratio between the current power of the battery and the rated capacity calibrated by the manufacturer under a given condition. It can be used to reflect the remaining available power of the battery during use. SOH refers to the ratio between the current maximum capacity of the battery and the rated capacity calibrated by the manufacturer. It can be used to reflect the health of the battery during use. By monitoring the SOC data of the battery, the battery can be prevented from overcharging and discharging, thereby achieving the purpose of reducing the battery life decay rate. In addition, the battery SOC is an important input parameter of the vehicle energy management system. The higher estimation accuracy can improve the energy utilization efficiency of the vehicle. By monitoring the SOH data, the current maximum capacity of the battery can be known, which can be used to prompt the time point for replacing the battery. The rate of change of SOH relative to time can also be used to warn whether the battery life is declining too fast.

[0004] SOC and SOH are important battery status parameters and also important input parameters of the vehicle energy management system. These two parameters are monitored and acquired by the intelligent battery chip (Intelligent Battery Sensor, IBS). By collecting data such as the battery's current, voltage, and temperature, the battery's SOC, SOH and other status parameters are estimated. Since the algorithm used to estimate SOC is relatively simple, the long-term use will lead to lower and lower accuracy of the estimated data due to the accumulation of errors, which will affect the working effect of the vehicle energy management system. On the other hand, almost no intelligent battery chips now have the function of estimating SOH. Summary of the invention

[0005] The main purpose of the present invention is to propose a vehicle battery status detection method, system and computer-readable storage medium thereof, aiming to solve the technical problem that the existing vehicle battery status monitoring method cannot obtain the two parameters SOC and SOH online.

[0006] In order to solve the above technical problems, the present invention provides a method for detecting the state of an automobile battery, the method comprising:

[0007] Collect, report and store the voltage signal Uk and current signal Ik of the battery at the kth moment;

[0008] By using the least square method to dynamically track the change of the parameters of the Randles equivalent circuit model of the battery over time, the parameters of the Randles equivalent circuit model are estimated in real time; the parameters of the Randles equivalent circuit model include Cb, which is a capacitor characterizing the energy storage of the battery, Rd, which is a resistor characterizing the self-discharge characteristics of the battery, Ri, which is the ohmic internal resistance of the battery, Rt, which is the polarization resistance of the battery, and Cs, which is the polarization capacitance of the battery;

[0009] The SOH parameter of the battery is calculated by real-time estimation parameter Cb, and the open circuit voltage estimation state equation at time k is obtained according to the parameters of the Randles equivalent circuit model, and the real-time open circuit voltage Voc of the battery is estimated by using Kalman filtering;

[0010] The SOH parameter and the real-time open circuit voltage Voc are substituted into the SOC-SOH-Voc relationship model for calculation and evaluation to obtain the SOC parameter of the battery.

[0011] Furthermore, after collecting, reporting and storing the voltage signal Uk and the current signal Ik of the battery at the kth moment, the method further includes:

[0012] The Randles equivalent circuit model is selected as the equivalent model of the battery. The relationship between the input and output data sampled at different times in the time domain is expressed by the following formula:

[0013] U k =dU k-1 +eU k-2 +aI k +bI k-1 +cI k-2

[0014] The parameters a, b, c, d and e are as follows:

[0015]

[0016] Specifically, the step of dynamically tracking the time-varying state of the parameters of the Randles equivalent circuit model of the battery by using the least squares method, thereby estimating the parameters of the Randles equivalent circuit model in real time includes:

[0017] S201, obtaining the battery voltage estimation error:

[0018]

[0019] S202, updated least squares algorithm gain:

[0020]

[0021] S203, estimated coefficient vector:

[0022] θ k =θ k-1 +L ls,k E k S204, obtain the covariance matrix of the estimated coefficient vector:

[0023]

[0024] S205, update the sampling time, and re-iterate the calculation from step S201 to S203 to obtain a new coefficient vector and covariance matrix; in each iterative calculation process, the newly input θk data and the previous θk-1 and Pk-1 are used to output θk and Pk.

[0025] in:

[0026] φ k =[U k-1 , U k-2 , I k , I k-1 , I k-2 ] T

[0027] θ k =[d k , e k , a k , b k , c k ] T

[0028] φk is the input matrix, and the data comes from the voltage and current of the battery at different sampling times: Ik is the current at time k, Ik-1 and Uk-1 are the current and voltage of the battery at time k-1, Ik-2 and Uk-2 are the current and voltage of the battery at time k-2, θk is the coefficient vector, and λk is the forgetting factor, which can give greater weight to the new input data than the old data.

[0029] The following formula can be obtained from the relationship between a, b, c, d, e and the parameters of the Randles equivalent circuit model:

[0030]

[0031] Where: α1 = R t C s , α2=R d C b;

[0032] S206. Solve the above formula again to obtain the parameters Rt, Cs, Rd, Cb and Ri of the Randles equivalent circuit model.

[0033] Further, the calculating of the SOH parameter of the battery by real-time estimation of the parameter Cb includes:

[0034] Substituting the real-time estimated parameter Cb into the following formula to calculate the SOH parameter of the battery, the formula is as follows:

[0035]

[0036] Among them, Qo is the rated capacity of the battery, and parameters p and q are constants.

[0037] Further, the method of obtaining the open circuit voltage estimation state equation at time k according to the parameters of the Randles equivalent circuit model, and using Kalman filtering to estimate the real-time open circuit voltage Voc of the battery includes:

[0038] S301, with current I as input and battery voltage U as output, x = [Voc U s ] T is the state vector, and the state space equation is as follows:

[0039]

[0040] in, C=[1 1],D=R i , Wk and Vk are noises;

[0041] S302, the state quantity and covariance are initialized as follows:

[0042]

[0043] S303, obtain the predicted state quantity and predict the voltage of the battery through the following formula:

[0044]

[0045] S304, obtain the prediction covariance through the following formula:

[0046]

[0047] S305, calculate the Kalman gain by the following formula:

[0048]

[0049] S306, update the state quantity measurement through the following formula:

[0050]

[0051] S307, covariance update by the following formula:

[0052]

[0053] S308, updating the sampling time, re-iteratively calculating from step S302 to S307 to obtain a new state vector and covariance; wherein the state vector X is the real-time open circuit voltage Voc.

[0054] Furthermore, the SOH parameter and the real-time open circuit voltage Voc are substituted into the SOC-SOH-Voc relationship model for calculation and evaluation, and the SOC parameter of the battery is obtained, including:

[0055] The SOH parameter and the real-time open circuit voltage Voc are used to calculate the current SOC parameter of the battery according to the following formula;

[0056]

[0057] in, is the average value of the open circuit voltage corresponding to 0% SOC under n different SOH parameters. It is the average value of all straight line slopes and their corresponding SOH ratios in the corrected SOC-SOH-Voc relationship diagram.

[0058] Furthermore, substituting the SOH parameter and the real-time open circuit voltage Voc into the SOC-SOH-Voc relationship model for calculation and evaluation to obtain the SOC parameter of the battery also includes:

[0059] Calculated by the following formula Two parameters:

[0060]

[0061] Based on the same inventive concept, another aspect of the present invention provides a vehicle battery status detection system, the system at least comprising a mobile terminal and a battery detection device; the battery detection device is connected to the battery, and the mobile terminal establishes data interaction with the battery detection device;

[0062] The battery detection device is used to collect, report and store the voltage signal Uk and current signal Ik of the battery at the kth moment;

[0063] The mobile terminal is used to receive the voltage signal Uk and the current signal Ik of the battery at the kth moment, and dynamically track the change of the parameters of the Randles equivalent circuit model of the battery over time by using the least squares method, so as to estimate the parameters of the Randles equivalent circuit model in real time; calculate the SOH parameter of the battery by the real-time estimated parameter Cb, and obtain the open circuit voltage estimation state equation at the kth moment according to the parameters of the Randles equivalent circuit model, and use Kalman filtering to estimate the real-time open circuit voltage Voc of the battery; substitute the SOH parameter and the real-time open circuit voltage Voc into the SOC-SOH-Voc relationship model for calculation and evaluation to obtain the SOC parameter of the battery.

[0064] Based on the same inventive concept, another aspect of the present invention provides a computer-readable storage medium, on which a vehicle battery status detection program is stored. When the vehicle battery status detection program is executed by a processor, the steps of the above-mentioned vehicle battery status detection method are implemented.

[0065] Beneficial effects of the technical solution of the present invention:

[0066] The automobile battery status detection method, system and computer-readable storage medium of the present application, through battery detection equipment and mobile terminal, detect the voltage signal Uk and current signal Ik of the battery at the kth moment in real time, and obtain the real-time SOC and SOH parameters through the Randles equivalent circuit model of the battery and the SOC-SOH-Voc relationship model, thereby realizing real-time battery status detection and providing data support for further status judgment, repair, maintenance and replacement of the battery based on the SOC and SOH parameters. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present invention;

[0068] Figure 2 is a communication network system architecture diagram provided by an embodiment of the present invention;

[0069] Figure 3 This is a flow chart of a method for detecting the state of an automobile battery provided by an embodiment of the present invention;

[0070] Figure 4 This is a hardware structure diagram of a vehicle battery status detection system provided by an embodiment of the present invention;

[0071] Figure 5 is a structural diagram of a Randles equivalent circuit model provided by an embodiment of the present invention;

[0072] Figure 6 is a SOC-SOH-Voc relationship curve diagram provided by an embodiment of the present invention;

[0073] Figure 7 is a modified SOC-SOH-Voc relationship curve diagram provided by an embodiment of the present invention;

[0074] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0075] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0076] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0077] The terminal may be implemented in various forms. For example, the terminal described in the present invention may include mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.

[0078] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will appreciate that, in addition to components specifically used for mobile purposes, the configuration according to the embodiments of the present invention can also be applied to fixed-type terminals.

[0079] See also Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0080] Combine the following Figure 1The following is a detailed introduction to the various components of the mobile terminal:

[0081] The RF unit 101 can be used to receive and send signals during the process of sending and receiving information or making calls. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the RF unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the RF unit 101 can also communicate with the network and other devices through the quick payment of public transportation fees. The above-mentioned quick payment of public transportation fees can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.

[0082] WiFi is a short-range wireless transmission technology. The mobile terminal can help users send and receive emails, browse web pages and access streaming media through the WiFi module 102, which provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as needed without changing the essence of the invention.

[0083] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0084] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.

[0085] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can also be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0086] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0087] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.

[0088] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of the touch event. Then, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.

[0089] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.

[0090] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0091] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes the quick payment of public transportation fees. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.

[0092] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0093] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.

[0094] To facilitate understanding of the embodiments of the present invention, the communication network system on which the mobile terminal of the present invention is based is described below.

[0095] See also Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present invention. The communication network system is an LTE system of universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence for communication.

[0096] Specifically, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.

[0097] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Among them, eNodeB 2021 can be connected to other eNodeBs 2022 through a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 can provide UE 201 with access to EPC 203 .

[0098] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gateway) 2034, PGW (PDN Gateway) 2035, and PCRF (Policy and Charging Rules Function) 2036, etc. Among them, MME 2031 is a control node that processes signaling between UE 201 and EPC 203, and provides bearer and connection management. HSS 2032 is used to provide some registers to manage functions such as a home location register (not shown in the figure), and saves some user-specific information such as service features and data rates. All user data can be sent through SGW2034. PGW2035 can provide IP address allocation and other functions for UE201. PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources. It selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).

[0099] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.

[0100] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present invention is not only applicable to the LTE system, but also to other public transportation fare quick payment systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new network systems, etc., which are not limited here.

[0101] Various embodiments of the method of the present invention are proposed based on the above-mentioned hardware structure of the mobile terminal 100 and the communication network system.

[0102] Example 1

[0103] like Figure 3 As shown, an embodiment of the present invention provides a method for detecting the state of a vehicle battery, the method comprising:

[0104] S101, collecting, reporting and storing the voltage signal Uk and current signal Ik of the battery at the kth moment;

[0105] S102, dynamically tracking the change of parameters of the Randles equivalent circuit model of the battery over time by using the least squares method, thereby estimating the parameters of the Randles equivalent circuit model in real time;

[0106] S103, calculating the SOH parameter of the battery by real-time estimation parameter Cb, obtaining the open circuit voltage estimation state equation at time k according to the parameters of the Randles equivalent circuit model, and using Kalman filtering to estimate the real-time open circuit voltage Voc of the battery;

[0107] S104, substituting the SOH parameter and the real-time open circuit voltage Voc into a SOC-SOH-Voc relationship model for calculation and evaluation to obtain the SOC parameter of the battery.

[0108] After collecting, reporting and storing the voltage signal Uk and the current signal Ik of the battery at the kth moment, the method further includes:

[0109] The Randles equivalent circuit model is often used to study the relevant characteristics of batteries, such as Figure 5 As shown, the equivalent circuit model includes an internal resistance and two RC parallel circuits, wherein Cb is a capacitor representing the energy storage of the battery, Rd is a resistor representing the self-discharge characteristics of the battery, Ri is the ohmic internal resistance of the battery, Rt is the polarization resistance of the battery, and Cs is the polarization capacitance of the battery;

[0110] U=U b +IR+U p

[0111]

[0112] By performing Laplace transform on the relationship between the parameters of the selected Randles battery equivalent circuit model, the relationship between the parameters in the frequency domain can be obtained, as shown in formula (1):

[0113]

[0114] In formula (1), U(s) is the terminal voltage of the battery, I(s) is the current, a positive current indicates that the battery is in a charging state, and a negative current indicates that the battery is in a discharging state. The corresponding transfer function G(s) of formula (1) can be expressed as shown in formula (2):

[0115]

[0116] By transforming formula (1) using the bilinear transformation method shown in formula (2), the discrete transfer function of the battery system can be obtained as shown in formula (3). The sampling time of the discrete transfer function is T, and the parameter z is used to discretize the transfer function.

[0117]

[0118] From formula (3), we can get the relationship between the input and output data sampled at different times in the time domain, which is expressed by the following formula (4):

[0119] U k =dU k-1 +eU k-2 +aI k +bI k-1 +cI k-2

[0120] The parameters a, b, c, d and e are shown in the following formula (5):

[0121]

[0122] The Randles model can be estimated online, and these parameters can be dynamically updated through each iterative calculation. First, the transfer function is converted into the corresponding differential equation, and then the corresponding state space equation is established. These parameters can be estimated online in real time using the least squares method.

[0123] Specifically, the step of dynamically tracking the time-varying state of the parameters of the Randles equivalent circuit model of the battery by using the least squares method, thereby estimating the parameters of the Randles equivalent circuit model in real time includes:

[0124] S201, obtaining the battery voltage estimation error:

[0125]

[0126] S202, updated least squares algorithm gain:

[0127]

[0128] S203, estimated coefficient vector:

[0129] θ k =θ k-1 +L ls,k E k

[0130] S204, obtain the covariance matrix of the estimated coefficient vector:

[0131]

[0132] S205, update the sampling time, and re-iterate the calculation from step S201 to S203 to obtain a new coefficient vector and covariance matrix; in each iterative calculation process, the newly input θk data and the previous θk-1 and Pk-1 are used to output θk and Pk.

[0133] in:

[0134] φ k =[U k-1 , U k-2 , I k , I k-1 , I k-2 ] T

[0135] θ k =[d k , e k , a k , b k , c k ] T

[0136] φk is the input matrix, and the data comes from the voltage and current of the battery at different sampling times: Ik is the current at time k, Ik-1 and Uk-1 are the current and voltage of the battery at time k-1, Ik-2 and Uk-2 are the current and voltage of the battery at time k-2, θk is the coefficient vector, and each estimation of the coefficient vector requires the coefficient vector estimation result of the previous estimation process, and each coefficient vector estimation result will be used to calculate the battery model parameters. λk is a forgetting factor, which can give greater weight to the new input data than the old data.

[0137] The following formula can be obtained from the relationship between a, b, c, d, e and the parameters of the Randles equivalent circuit model:

[0138]

[0139] Where: α1 = R t C s , α2=R d C b ;

[0140] S206. Solve the above formula again to obtain the parameters Rt, Cs, Rd, Cb and Ri of the Randles equivalent circuit model.

[0141] Specifically, the calculation of the SOH parameter of the battery by real-time estimation of the parameter Cb includes:

[0142] Substituting the real-time estimated parameter Cb into the following formula to calculate the SOH parameter of the battery, the formula is as follows:

[0143]

[0144] Among them, Qo is the rated capacity of the battery, and parameters p and q are constants.

[0145] The RC parallel circuit composed of polarization resistance Rt and polarization capacitance Cs in the Randles equivalent circuit model can well reflect the polarization effect of the battery during operation. Rd in the other RC parallel circuit is used to characterize the self-discharge characteristics of the battery. Cb is related to the energy storage capacity of the battery and has a linear relationship with the battery SOH to be estimated.

[0146] Through experimental analysis, it is found that there is a linear relationship between the battery SOH and the Cb capacitance value in the battery model. Based on this linear relationship, when the size of the model parameter Cb is obtained through online estimation, the battery SOH can be estimated.

[0147] Through a large number of charge and discharge tests, and after analyzing and processing the test data, it is found that there is a linear relationship between the current actual maximum capacity Q′0 of the battery and the equivalent circuit model parameter Cb, as shown in the following formula:

[0148] Q′0=pC b +q

[0149] Among them, p and q are both constants, and the numerical values ​​of these two constants can be obtained by analyzing the experimental data.

[0150] SOH is an important parameter to characterize the health status of the battery. It is generally defined as the ratio of the current maximum capacity of the battery to the nominal capacity, as shown in the following formula:

[0151]

[0152] Qo is the rated capacity of the battery. Generally, this value has been set by the battery manufacturer through the process according to the specific situation. The value of each battery model is a fixed value. Combining the above two formulas, we can get:

[0153]

[0154] Since parameters p and q are constants, it is easy to know that there is also a linear relationship between the battery SOH and the equivalent circuit model parameter Cb. When the parameter estimation process obtains the value of parameter Cb, the current SOH of the battery can be estimated. Since the equivalent circuit model parameters Cb and others are estimated online using the least squares algorithm to obtain specific values, the value of the battery SOH can also be estimated online.

[0155] Specifically, the open circuit voltage estimation state equation at time k is obtained according to the parameters of the Randles equivalent circuit model, the voltage Ub across the model parameter Cb is the open circuit voltage of the battery, and the real-time open circuit voltage Voc of the battery is estimated by using Kalman filtering after the parameters Rt, Cs, Rd, Cb and Ri are obtained, including:

[0156] Kalman Filtering (KF) is an algorithm that uses the linear system state equation to estimate the optimal state of the system while continuously observing the input and output data. Because the observed numbers generally contain Gaussian white noise, the optimal estimate used in this process is to remove interference or act as a filter. The Kalman filter algorithm is generally used in linear systems. When the input and output of the system are clear, the transfer function can be converted to obtain the corresponding state equation, and the corresponding state quantity can be obtained by continuously iterating and solving the state equation.

[0157] The voltage across the parameter Cb in the Randles battery model is the open circuit voltage of the battery, so the model can realize online estimation of the open circuit voltage. Based on the model parameter estimation results, the Kalman filter algorithm can be used to obtain the corresponding open circuit voltage of the battery during the charging and discharging process.

[0158] S301, with current I as input and battery voltage U as output, x = [Voc U s ] T is the state vector, and the state space equation is as follows:

[0159]

[0160] in, C=[1 1],D=R i , Wk and Vk are noises;

[0161] S302, the state quantity and covariance are initialized as follows:

[0162]

[0163] S303, obtain the predicted state quantity and predict the voltage of the battery through the following formula:

[0164]

[0165] S304, obtain the prediction covariance through the following formula:

[0166]

[0167] S305, calculate the Kalman gain by the following formula:

[0168]

[0169] S306, update the state quantity measurement through the following formula:

[0170]

[0171] S307, covariance update by the following formula:

[0172]

[0173] S308, updating the sampling time, re-iteratively calculating from step S302 to S307 to obtain a new state vector and covariance; wherein the state vector X is the real-time open circuit voltage Voc.

[0174] The process of solving the battery open circuit voltage is shown in steps S301 to S308, where step S301 is only used for initialization at the beginning, "-" indicates a predicted estimate, and "+" indicates a measured value or an optimal estimate. Each calculation process requires new input voltage and current data, as well as the measured state quantity and covariance calculated last time, and then outputs the state quantity and updated covariance, and obtains the value of the state vector x, which is also the value of the open circuit voltage.

[0175] Specifically, the SOH parameter and the real-time open circuit voltage Voc are substituted into the SOC-SOH-Voc relationship model for calculation and evaluation, and the SOC parameter of the battery is obtained, including:

[0176] The SOH parameter and the real-time open circuit voltage Voc are used to calculate the current SOC parameter of the battery according to the following formula;

[0177]

[0178] in, is the average value of the open circuit voltage corresponding to 0% SOC under n different SOH parameters. It is the average value of all straight line slopes and their corresponding SOH ratios in the corrected SOC-SOH-Voc relationship diagram.

[0179] Through charge and discharge tests, the corresponding relationship between the SOC and open circuit voltage of a battery under the current SOH condition can be obtained. If charge and discharge tests are performed on several other groups of batteries of the same model with different SOH conditions, the relationship between SOC and open circuit voltage under these SOH conditions can be obtained. By processing these data relationships, the relationship between SOC-SOH-Voc of a group of batteries can be obtained. Figure 6 A set of curves showing the relationship between SOC and open circuit voltage Voc for a battery of a certain model under five different SOH conditions are given in FIG. Figure 6 It can be seen that for different SOH conditions, the corresponding relationship between battery SOC and Voc is not unique; for the same open circuit voltage Voc, the SOC corresponding to different SOH is also different. Moreover, the larger the SOH value, the larger the SOC maximum value of the corresponding curve. Moreover, when Voc changes by the same value, if the SOH value of the curve is higher, the corresponding SOC change is also greater.

[0180] In practical engineering applications, the proposed relationship model between SOC, SOH and open circuit voltage Voc should be satisfied for all batteries of the same model, after considering the differences between individual batteries. Figure 6 After the SOC-SOH-Voc curve in is corrected, multiple SOC-Voc straight lines with slopes of icK can be obtained, such as Figure 7 As shown in the figure, it can be seen that the greater the SOH, the greater the slope of the SOC-Voc curve. Figure 7 By fitting the SOC-Voc straight line under different SOH, the relationship between the three variables SOC, SOH and Voc can be obtained as shown in the following formula.

[0181]

[0182] in, is the average value of the open circuit voltage corresponding to 0% SOC under n different SOH parameters. It is the average value of all straight line slopes and their corresponding SOH ratios in the corrected SOC-SOH-Voc relationship diagram.

[0183] Specifically, substituting the SOH parameter and the real-time open circuit voltage Voc into the SOC-SOH-Voc relationship model for calculation and evaluation to obtain the SOC parameter of the battery further includes:

[0184] Calculated by the following formula Two parameters:

[0185]

[0186] Through the above formula, we can easily find that at a certain moment, if the SOH and Voc of the battery have been estimated, the SOC value of the battery at this moment can be obtained through the formula.

[0187] Example 2

[0188] like Figure 4 As shown, an embodiment of the present invention further provides a vehicle battery status detection system, the system at least comprising a mobile terminal 100 and a battery detection device 200; the battery detection device 200 is connected to a vehicle battery 300, and the mobile terminal 100 establishes data interaction with the battery detection device 200;

[0189] The battery detection device 200 is used to collect, report and store the voltage signal Uk and current signal Ik of the battery at the kth moment;

[0190] The mobile terminal 100 is used to receive the voltage signal Uk and the current signal Ik of the battery at the kth moment, and dynamically track the change of the parameters of the Randles equivalent circuit model of the battery over time by using the least squares method, so as to estimate the parameters of the Randles equivalent circuit model in real time; calculate the SOH parameter of the battery by the real-time estimated parameter Cb, and obtain the open circuit voltage estimation state equation at the kth moment according to the parameters of the Randles equivalent circuit model, and use Kalman filtering to estimate the real-time open circuit voltage Voc of the battery; substitute the SOH parameter and the real-time open circuit voltage Voc into the SOC-SOH-Voc relationship model for calculation and evaluation to obtain the SOC parameter of the battery.

[0191] Example 3

[0192] An embodiment of the present invention further provides a computer-readable storage medium, on which a vehicle battery status detection program is stored. When the vehicle battery status detection program is executed by a processor, the steps of the above-mentioned vehicle battery status detection method are implemented.

[0193] The automotive battery status detection method, system and computer-readable storage medium of the embodiments of the present invention detect the voltage signal Uk and current signal Ik of the battery at the kth moment in real time through the battery detection device and the mobile terminal, and obtain the real-time SOC and SOH parameters through the Randles equivalent circuit model of the battery and the SOC-SOH-Voc relationship model, thereby realizing real-time battery status detection and providing data support for further status judgment, repair, maintenance and replacement of the battery based on the SOC and SOH parameters.

[0194] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0195] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0196] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0197] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for detecting the state of an automobile battery, characterized in that: The method comprises: Collect, report and store the voltage signal Uk and current signal Ik of the battery at the kth moment; By using the least square method to dynamically track the change of the parameters of the Randles equivalent circuit model of the battery over time, the parameters of the Randles equivalent circuit model are estimated in real time; the parameters of the Randles equivalent circuit model include Cb, which is a capacitor characterizing the energy storage of the battery, Rd, which is a resistor characterizing the self-discharge characteristics of the battery, Ri, which is the ohmic internal resistance of the battery, Rt, which is the polarization resistance of the battery, and Cs, which is the polarization capacitance of the battery; The SOH parameter of the battery is calculated by real-time estimation parameter Cb, and the open circuit voltage estimation state equation at time k is obtained according to the parameters of the Randles equivalent circuit model, and the real-time open circuit voltage Voc of the battery is estimated by using Kalman filtering; Substituting the SOH parameter and the real-time open circuit voltage Voc into a SOC-SOH-Voc relationship model for calculation and evaluation to obtain the SOC parameter of the battery; After collecting, reporting and storing the voltage signal Uk and the current signal Ik of the battery at the kth moment, the method further includes: The Randles equivalent circuit model is selected as the equivalent model of the battery. The relationship between the input and output data sampled at different times in the time domain is expressed by the following formula: U k =dU k-1 +eU k-2 +aI k +bI k-1 +cI k-2 The parameters a, b, c, d and e are as follows: The step of dynamically tracking the time-varying state of the parameters of the Randles equivalent circuit model of the battery by using the least squares method, thereby estimating the parameters of the Randles equivalent circuit model in real time comprises: S201, obtaining the battery voltage estimation error: S202, updated least squares algorithm gain: S203, estimated coefficient vector: i k =θ k-1 +L ls,k E k ; S204, obtain the covariance matrix of the estimated coefficient vector: S205, update the sampling time, re-iterate the calculation from step S201 to S203 to obtain a new coefficient vector and covariance matrix; each iterative calculation process uses the newly input θk data and the previous θ k -1 and Pk-1, output θk and Pk; in: φ k =[U k-1 ,IN k-2 ,AND k ,AND k-1 ,AND k-2 ] T i k =[d k ,e k ,a k ,b k ,c k ] T φk is the input matrix, the data comes from the voltage and current of the battery at different sampling times: Ik is the current at time k, Ik-1 and Uk-1 are the current and voltage of the battery at time k-1, Ik-2 and Uk-2 are the current and voltage of the battery at time k-2, θk is the coefficient vector, and λk is the forgetting factor; The following formula can be obtained from the relationship between a, b, c, d, e and the parameters of the Randles equivalent circuit model: Where: α1 = R t C s , α2=R d C b ; S206, solving the above formula again to obtain the parameters Rt, Cs, Rd, Cb and Ri of the Randles equivalent circuit model; Calculating the SOH parameter of the battery by estimating the parameter Cb in real time includes: Substituting the real-time estimated parameter Cb into the following formula to calculate the SOH parameter of the battery, the formula is as follows: Among them, Qo is the rated capacity of the battery, and parameters p and q are constants.

2. The method for detecting the state of a vehicle battery according to claim 1, characterized in that: The method of obtaining the open circuit voltage estimation state equation at time k according to the parameters of the Randles equivalent circuit model, and obtaining the real-time open circuit voltage Voc of the battery by using Kalman filtering estimation includes: S301, with current I as input and battery voltage U as output, x = [v oc U s ] T is the state vector, and the state space equation is as follows: in, C=[1 1],D=R i ,Wk and Vk are noises; S302, the state quantity and covariance are initialized as follows: S303, obtain the predicted state quantity and predict the voltage of the battery through the following formula: S304, obtain the prediction covariance through the following formula: S305, calculate the Kalman gain by the following formula: S306, update the state quantity measurement through the following formula: S307, covariance update by the following formula: S308, updating the sampling time, re-iteratively calculating from step S302 to S307 to obtain a new state vector and covariance; wherein the state vector X is the real-time open circuit voltage Voc.

3. The method for detecting the state of a vehicle battery according to claim 1, characterized in that: Substituting the SOH parameter and the real-time open circuit voltage Voc into the SOC-SOH-Voc relationship model for calculation and evaluation, the SOC parameter of the battery is obtained, including: The SOH parameter and the real-time open circuit voltage Voc are used to calculate the current SOC parameter of the battery according to the following formula; in, is the average value of the open circuit voltage corresponding to 0% SOC under n different SOH parameters. It is the average value of all straight line slopes and their corresponding SOH ratios in the corrected SOC-SOH-Voc relationship diagram.

4. The method for detecting the state of a vehicle battery according to claim 3, characterized in that: Substituting the SOH parameter and the real-time open circuit voltage Voc into the SOC-SOH-Voc relationship model for calculation and evaluation, and obtaining the SOC parameter of the battery further includes: Calculated by the following formula Two parameters:

5. A vehicle battery status detection system, characterized in that: The system at least includes a mobile terminal and a battery detection device; the battery detection device is connected to a storage battery, and the mobile terminal establishes data interaction with the battery detection device; The battery detection device is used to collect, report and store the voltage signal Uk and current signal Ik of the battery at the kth moment; after collecting, reporting and storing the voltage signal Uk and current signal Ik of the battery at the kth moment, the Randles equivalent circuit model is selected as the equivalent model of the battery, and the relationship between the input and output data sampled at different times in the time domain is expressed by the following formula: U k =dU k-1 +eU k-2 +aI k +bI k-1 +cI k-2 The parameters a, b, c, d and e are as follows: The mobile terminal is used to receive the voltage signal Uk and the current signal Ik of the battery at the kth moment, and dynamically track the parameter changes of the Randles equivalent circuit model of the battery over time by using the least square method, so as to estimate the parameters of the Randles equivalent circuit model in real time; calculate the SOH parameter of the battery by the real-time estimated parameter Cb, and obtain the open circuit voltage estimation state equation at the kth moment according to the parameters of the Randles equivalent circuit model, and use Kalman filtering to estimate the real-time open circuit voltage Voc of the battery; substitute the SOH parameter and the real-time open circuit voltage Voc into the SOC-SOH-Voc relationship model for calculation and evaluation, and obtain the SOC parameter of the battery; The step of dynamically tracking the time-varying state of the parameters of the Randles equivalent circuit model of the battery by using the least squares method, thereby estimating the parameters of the Randles equivalent circuit model in real time comprises: S201, obtaining the battery voltage estimation error: S202, updated least squares algorithm gain: S203, estimated coefficient vector: i k =θ k-1 +L ls,k E k ; S204, obtain the covariance matrix of the estimated coefficient vector: S205, update the sampling time, re-iterate the calculation from step S201 to S203 to obtain a new coefficient vector and covariance matrix; in each iterative calculation process, the newly input θk data and the previous θk-1 and Pk-1 are used to output θk and Pk; in: φ k =[U k-1 ,IN k-2 ,AND k ,AND k-I ,AND k-2 ] T i k =[d k ,e k ,a k ,b k ,c k ] T φk is the input matrix, the data comes from the voltage and current of the battery at different sampling times: Ik is the current at time k, Ik-1 and Uk-1 are the current and voltage of the battery at time k-1, Ik-2 and Uk-2 are the current and voltage of the battery at time k-2, θk is the coefficient vector, and λk is the forgetting factor; The following formula can be obtained from the relationship between a, b, c, d, e and the parameters of the Randles equivalent circuit model: Where: α1 = R t C s , α2=R d C b ; S206, solving the above formula again to obtain the parameters Rt, Cs, Rd, Cb and Ri of the Randles equivalent circuit model; Calculating the SOH parameter of the battery by estimating the parameter Cb in real time includes: Substituting the real-time estimated parameter Cb into the following formula to calculate the SOH parameter of the battery, the formula is as follows: Among them, Qo is the rated capacity of the battery, and parameters p and q are constants.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a vehicle battery status detection program, and when the vehicle battery status detection program is executed by the processor, the steps of the vehicle battery status detection method according to any one of claims 1 to 4 are implemented.