Battery power detection method, device, electronic equipment and storage medium

By constructing the relationship function of battery voltage and capacity and voltage deviation parameters, the accurate detection of the battery capacity of nickel-hydrogen batteries is achieved, and the problems of low voltage detection accuracy and high cost are solved, which is suitable for large-scale battery capacity detection.

CN118244134BActive Publication Date: 2024-11-22CHINT LOW VOLTAGE ELECTRICAL TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410224595.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-28
Publication Date
2024-11-22
Estimated Expiration
2044-02-28

AI Technical Summary

Technical Problem

The prior art has low accuracy when detecting the power of nickel-hydrogen batteries, and the Coulomb counting detection cost is high, making it not suitable for large-scale applications.

Method used

By obtaining the charging and discharging data of the battery at multiple preset temperatures, a function of the relationship between voltage and capacity is constructed, the voltage deviation parameters are determined, the voltage is corrected, and the power is accurately detected based on the correction voltage and temperature, avoiding the use of a Coulomb meter.

Benefits of technology

It improves the accuracy of battery power detection, reduces detection costs, and is suitable for large-scale battery power detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118244134B_ABST
    Figure CN118244134B_ABST
Patent Text Reader

Abstract

The present application provides a battery power detection method, device, electronic device and storage medium, which relates to the field of battery detection. The present application first obtains the charge and discharge data of the battery at multiple preset temperatures, and constructs a first relationship function between the voltage and capacity of the battery at each preset temperature based on the charge and discharge data. Secondly, based on the charge and discharge data, the voltage deviation parameter of the battery is determined. Then, the previous power of the battery in the previous detection and the current charge and discharge state are obtained, and the current voltage deviation parameter is determined based on the current charge and discharge state and the previous power. Next, the voltage deviation value of the battery relative to the current detection voltage is determined based on the current voltage deviation parameter, and the current corrected voltage of the battery is determined based on the voltage deviation value; finally, the current power of the battery is determined based on the current corrected voltage value, the current temperature of the battery and the first relationship function. The present application can improve the accuracy of power detection and reduce the cost of power detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of battery detection, and in particular to a battery power detection method, device, electronic device and storage medium. Background Art

[0002] Nickel-metal hydride battery is a commonly used rechargeable battery. In order to detect the power of the nickel-metal hydride battery, the power is usually tested based on the battery voltage.

[0003] However, due to the large changes in voltage under different temperature and load conditions, the accuracy of power detection based only on voltage is low. As an alternative, a coulomb meter can be used to perform a more accurate power detection on nickel-metal hydride batteries, but the coulomb meter requires complex equipment and precise technical support, and the measurement cost is high, which is not suitable for large-scale battery power detection scenarios. Summary of the invention

[0004] The present application provides a battery power detection method, device, electronic device and storage medium, which can improve the accuracy of battery power detection and reduce the cost of battery power detection.

[0005] In a first aspect, the present application provides a battery power detection method, the method comprising:

[0006] Acquire charge and discharge data of a battery at a plurality of preset temperatures, and construct a first relationship function between the voltage and capacity of the battery at each preset temperature based on the charge and discharge data;

[0007] Based on the charge and discharge data, determining a current voltage deviation parameter of the battery; the current voltage deviation parameter is a parameter of the influence of different load currents on voltage changes;

[0008] Acquire the last power of the battery detected last time and the current charge and discharge state, and determine the current voltage deviation parameter based on the current charge and discharge state and the last power;

[0009] Determining a voltage deviation value of the battery relative to a current detection voltage based on the current voltage deviation parameter, and determining a current correction voltage of the battery based on the voltage deviation value;

[0010] The current charge level of the battery is determined based on the current corrected voltage, the current temperature of the battery and the first relationship function.

[0011] Optionally, the charge and discharge data includes the rated current, rated voltage and preset power of the battery, and the current charge and discharge current and current charge and discharge voltage at the preset power;

[0012] The determining, based on the charge and discharge data, a current voltage deviation parameter of the battery includes:

[0013] Obtaining a current difference between the rated current and the current charge and discharge current, and a voltage difference between the rated voltage and the current charge and discharge voltage;

[0014] Constructing a second relationship function between the current difference and the voltage difference;

[0015] Based on the second relationship function, a charging voltage deviation parameter and a discharging voltage deviation parameter corresponding to each of the preset electrical quantities are determined.

[0016] Optionally, obtaining the last power of the battery detected last time and the current charge and discharge state, and determining the current voltage deviation parameter based on the current charge and discharge state and the last power includes:

[0017] Determine, from the plurality of preset power levels, a target preset power level that has the smallest difference from the previous power level;

[0018] Based on the current charge and discharge state, a charging voltage deviation parameter or a discharging voltage deviation parameter of the target preset power is determined.

[0019] Optionally, determining a voltage deviation value of the battery relative to a current detection voltage based on the current voltage deviation parameter, and determining a current corrected voltage of the battery based on the voltage deviation value includes:

[0020] Obtaining a detection current and a detection voltage of the battery currently being detected;

[0021] Based on the detection current and the current voltage deviation parameter, the voltage change value is determined by a second relationship function corresponding to the target preset power;

[0022] A sum of the detection voltage and the voltage change value is obtained as the current correction voltage.

[0023] Optionally, determining the current power of the battery based on the current corrected voltage, the current temperature of the battery and the first relationship function includes:

[0024] Determining two target preset temperatures closest to the current temperature from the plurality of preset temperatures;

[0025] Determine a first power level and a second power level of the battery based on a first relationship function of the target preset temperature and the current corrected voltage;

[0026] The current power of the battery is determined based on the first power, the second power, the two target preset temperatures and the current temperature.

[0027] Optionally, determining the current power of the battery based on the first power, the second power, the two target preset temperatures and the current temperature includes:

[0028] Obtaining a power difference between the first power and the second power;

[0029] Obtaining a temperature difference between the two target preset temperatures;

[0030] The quotient of the power difference and the temperature difference is obtained, and the product of the current temperature and the quotient is used as the current power.

[0031] Optionally, the charge and discharge data include the rated current, rated voltage, standard rated capacity and maximum rated capacity of the battery;

[0032] The constructing a first relationship function between the voltage and capacity of the battery at each preset temperature based on the charge and discharge data includes:

[0033] Under the rated current and the preset temperature, obtaining first capacities of the battery corresponding to different voltage values ​​during a discharge process in which the capacity of the battery changes from the standard rated capacity to zero, and obtaining first data pairs of a plurality of voltages and a plurality of the first capacities;

[0034] acquiring second capacities of the battery corresponding to different voltage values ​​during a charging state in which the capacity of the battery changes from zero to the maximum rated capacity, and obtaining second data pairs of a plurality of voltages and a plurality of the second capacities;

[0035] Fitting the first data pair and the second data pair to obtain a first function of the battery voltage and the first capacity, and a second function of the battery voltage and the second capacity;

[0036] The first relationship function is obtained according to the first function and the second function.

[0037] In a second aspect, the present application further provides a battery power detection device, the device comprising:

[0038] A function construction module, used to obtain charge and discharge data of a battery at a plurality of preset temperatures, and to construct a first relationship function between the voltage and capacity of the battery at each of the preset temperatures based on the charge and discharge data;

[0039] A parameter determination module, used to determine a current voltage deviation parameter of the battery based on the charge and discharge data; the current voltage deviation parameter is a parameter of the influence of different load currents on voltage changes;

[0040] A parameter updating module, used for obtaining the last power of the battery detected last time and the current charge and discharge state, and determining the current voltage deviation parameter based on the current charge and discharge state and the last power;

[0041] a voltage determination module, configured to determine a voltage deviation value of the battery relative to a current detection voltage based on the current voltage deviation parameter, and determine a current correction voltage of the battery based on the voltage deviation value;

[0042] The power detection module is used to determine the current power of the battery based on the current corrected voltage, the current temperature of the battery and the first relationship function.

[0043] In a third aspect, the present application further provides an electronic device, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0044] The memory is used to store computer programs;

[0045] The processor is used to execute the program stored in the memory to implement the battery power detection method described in the first aspect.

[0046] In a fourth aspect, the present application further provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the battery power detection method described in the first aspect.

[0047] The battery power detection method provided by the present application can first determine the first relationship function of the influence of temperature on voltage change and the current voltage deviation parameter of the influence of current on voltage change through the charge and discharge data of the battery before detecting the power of the battery. During the power detection process, the current voltage deviation parameter of the battery can be determined first, and then the current corrected voltage can be obtained based on the current voltage deviation parameter, and then the current power of the battery can be accurately detected based on the current temperature of the battery, the current corrected voltage and the first relationship function, and then the influence of temperature and load current on the battery voltage change can be fully considered. In addition, there is no need to use complex equipment such as coulomb meters in the power detection process, and a more accurate current corrected voltage and current power can be determined in a low-cost detection manner. Therefore, the present application can improve the accuracy of battery power detection and reduce detection costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0049] Figure 1 Schematic diagram of a battery power detection method provided in an embodiment of the present application;

[0050] Figure 2 This is a flowchart of an embodiment of a battery power detection method provided in an embodiment of the present application;

[0051] Figure 3 is a curve diagram of a first relationship function provided in an embodiment of the present application;

[0052] Figure 4 It is a functional module diagram of a battery power detection device provided in an embodiment of the present application;

[0053] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0055] In the description of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the feature. In the description of the present application, "plurality" means two or more, unless otherwise clearly and specifically defined.

[0056] In this application, the word "exemplary" is used to mean "used as an example, illustration or description". Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. At the same time, it is to be understood that in the specific implementation of this application, when user information, user data and other related data are involved, when the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data shall comply with relevant laws, regulations and standards of relevant countries and regions.

[0057] In order to enable any person skilled in the art to implement and use the present application, the following description is provided. In the following description, details are listed for the purpose of explanation. It should be understood that those of ordinary skill in the art will recognize that the present application can be implemented without using these specific details. In other examples, known structures and processes will not be elaborated in detail to avoid unnecessary details that make the description of the present application obscure. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in the present application.

[0058] The present application provides a battery power detection method, device, electronic device and storage medium, which are described in detail below.

[0059] See also Figure 1 , Figure 1 This is a schematic diagram of a scenario of a battery power detection method provided in an embodiment of the present application. Figure 1 As shown, the scenario may include a terminal 100 and a detection device 200. In order to perform a power detection on the detection device 200 through the battery power detection method of the present application, more specifically, the power detection is performed on the battery 500 installed in the detection device 200. Figure 1 As shown, the control terminal 100 can send a power detection instruction to the detection device 200, and the power detection instruction is used to request to obtain the power data of the detection device 200. Then, the detection device 200 can analyze and process the received power detection instruction, and return the battery power of the detection device 200 to the control terminal 100 to complete the power detection of the detection device 200.

[0060] In an embodiment of the present application, the detection device 200 may include an MCU (Microcontroller Unit) 300, which can control and execute various tasks of the detection device 200 by executing a predefined instruction set. The MCU 300 may be integrated with a battery power detection device 400 for executing the above-mentioned battery power detection method.

[0061] In the embodiment of the present application, the battery power detection device 400 is used to analyze and process the power detection instruction to determine the current battery power of the detection device 200. In this process, the battery power detection device 400 can also perform synchronous analysis in combination with the current temperature, current, related functions and influencing parameters of the battery 500 to accurately calculate the battery power of the detection device 200.

[0062] In the embodiment of the present application, the control terminal 100 may be a terminal used by a user to send instructions, including but not limited to a desktop computer, a laptop computer, a smart phone, a tablet computer, etc. In the embodiment of the present application, the detection device 200 may be a device powered by a nickel-hydrogen battery, including but not limited to an electric measuring instrument, a camera, a microphone, an electric drill, an electric car, etc.

[0063] It should be noted that the battery power detection device 400 can also be integrated in the control terminal 100, for example, it can be used as a functional module or application in the control terminal 100 to execute the battery power detection method of the present application, and this is not limited in the scenario of the embodiments of the present application.

[0064] It should be noted that Figure 1 The scenario diagram of the battery power detection method shown is only an example. The battery power detection device and scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided by the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of the battery power detection device and the emergence of new business scenarios, the technical solution provided by the embodiment of the present application is also applicable to similar technical problems.

[0065] like Figure 2 As shown, Figure 2 A schematic diagram of a battery power detection method in an embodiment of the present application, wherein the battery power detection method is applied to Figure 1 The battery power detection device in the battery power detection device is used to perform the battery power detection method to improve the accuracy and efficiency of battery power detection and reduce the battery power detection cost. The battery power detection method may include the following steps 201 to 205.

[0066] Step 201: Acquire charge and discharge data of a battery at a plurality of preset temperatures, and construct a first relationship function between the voltage and capacity of the battery at each preset temperature based on the charge and discharge data.

[0067] The battery in the present application may be, but is not limited to, a nickel-hydrogen battery. When a coulomb meter is not used, the charge of a nickel-hydrogen battery is usually detected by measuring the voltage of the battery, and the temperature of the battery has a significant effect on the voltage change. Therefore, in order to ensure the accuracy of battery charge detection, the effect of the battery temperature on the voltage cannot be ignored.

[0068] In some embodiments, the charge and discharge data may include the rated current, rated voltage, standard rated capacity and maximum rated capacity of the battery, wherein the preset temperature is a preset battery temperature, and the maximum rated capacity refers to the upper limit value that the battery capacity can actually reach under the influence of temperature factors.

[0069] It can be understood that in order to accurately construct the changing relationship between voltage and capacity at different preset temperatures shown in the first relationship function, it is necessary to take the maximum rated capacity of the battery into account in the charging condition of the battery. For example, the standard rated capacity of battery A is 2000mAh. Battery A can be float charged to 2200mAh at a temperature of 20°C, and the float charge capacity is 200mA. When the capacity of battery A is in the range of 2000-2200mAh, it can be determined to be at 100% power. Therefore, there is no need to reflect the changing relationship between the capacity and voltage in the range of 2000-2200mAh in the first relationship function. Only the changing relationship between the capacity and voltage in the range of 0-2000mAh needs to be reflected in the first relationship function to obtain the complete relationship between voltage and capacity at the preset temperature.

[0070] In some embodiments, the graph of the first relationship function may be as follows: Figure 3 As shown, the curve of the first relationship function may include two curves of the voltage and capacity changes of a battery at a preset temperature, one curve corresponding to the charging condition of the battery, and the other curve corresponding to the discharging condition of the battery. Among them, the horizontal axis is the capacity of the battery, the unit is mAh, and the vertical axis is the voltage of the battery, the unit is mV. It can be seen that the first relationship function shows that the voltage is proportional to the capacity of the battery under the charging and discharging conditions. More importantly, the first relationship function can map a specific voltage value to a specific capacity value at different preset temperatures, thereby achieving low-cost and high-accuracy battery power detection.

[0071] In order to better implement the embodiments of the present application, in a possible example, the first relationship function can be determined by the following steps:

[0072] First, at a rated current and a preset temperature, the first capacities of the battery corresponding to different voltage values ​​are obtained during a discharge process in which the capacity of the battery changes from a standard rated capacity to zero, to obtain first data pairs of a plurality of voltages and a plurality of first capacities;

[0073] Then, the second capacities of the battery corresponding to different voltage values ​​are obtained during the charging process in which the capacity of the battery changes from zero to the maximum rated capacity, so as to obtain second data pairs of multiple voltages and multiple second capacities;

[0074] Next, fitting is performed according to the first data pair and the second data pair to obtain a first function of the battery voltage and the first capacity, and a second function of the battery voltage and the second capacity;

[0075] Finally, a first relationship function is obtained according to the first function and the second function.

[0076] The rated current includes a rated charging current and a rated discharging current. In some embodiments, in order to obtain an accurate first relationship function, it can be assumed that the battery is charged and discharged at the rated current at each preset temperature, and a voltage and a corresponding capacity are collected as a set of data pairs. For example, under the discharge condition, the first voltage and the first capacitance of the battery can be collected as the first data pair, and under the charging condition, the second voltage and the second capacitance of the battery can be collected as the second data pair.

[0077] In some embodiments, in the discharge condition and the charging condition of each preset temperature, 11 groups of first data pairs and 11 groups of second data pairs can be collected at intervals of 10% from 0% to 100% of the battery power, and the 11 groups of first data pairs and the 11 groups of second data pairs can be fitted to obtain a first function and a second function, respectively, and then the curves of the first function and the second function are merged into the coordinate system of the first relationship function to obtain the first relationship function, and finally the curve of the first relationship function can be converted into an array for storage, for example, "multiple arrays corresponding to the first relationship function of constant current charging of a 0°C battery from empty power to no voltage increase" can be stored in a flash unit.

[0078] In some embodiments, the preset temperature range may generally be -20 to 70°C, and data may be collected at intervals of 20°C within this range. It should be noted that when setting the collection intervals of data pairs and preset temperatures, the smaller the collection interval and the more data pairs, the higher the accuracy of the first relationship function obtained by fitting, and the more preset temperatures, the more the effect of subtle temperature changes on battery voltage changes can be reflected. Therefore, this application does not limit the collection intervals for data pairs and preset temperature settings.

[0079] Step 202: Determine the current voltage deviation parameter of the battery based on the charge and discharge data.

[0080] Among them, the current voltage deviation parameter is a parameter of the influence of different load currents on voltage changes. It can be understood that in addition to the battery temperature, the voltage change of the battery will also be affected by the load current. In some embodiments, in order to ensure the accuracy of battery power detection, the current voltage deviation parameter that reflects the influence of different currents on voltage changes can be determined first.

[0081] In some embodiments, the charge and discharge data may include the rated current, rated voltage and preset power of the battery, as well as the current charge and discharge current and current charge and discharge voltage at the preset power. It is understood that in order to accurately determine the impact of current on voltage change, the battery power and temperature can be used as a constant value to reflect the change between current and voltage at different preset power levels, for example, the battery power can have different current voltage deviation parameters when it is 10% and 20%.

[0082] In order to better implement the embodiments of the present application, in a possible example, the current voltage deviation parameter can be determined by the following steps:

[0083] First, obtain the current difference between the rated current and the current charge and discharge current, and the voltage difference between the rated voltage and the current charge and discharge voltage;

[0084] Then, a second relationship function between the current difference and the voltage difference is constructed;

[0085] Finally, based on the second relationship function, a charging voltage deviation parameter and a discharging voltage deviation parameter corresponding to each preset power quantity are determined.

[0086] For the convenience of description, the rated current under the charging condition can be set to If, the rated voltage to Uf, the current current to Iff, and the current corrected voltage to Uff. In some embodiments, the second relationship function can be expressed as:

[0087] △U1=Uff1-Uf1=kf1*(Iff-If)+bf1;

[0088] Among them, △U is the voltage difference, △U1 represents the first collected voltage difference, k and b are the current voltage deviation parameters, kf and bf are the current voltage deviation parameters corresponding to the preset power Qf, and the corresponding kf1 and bf1 are the current voltage deviation parameters of the first voltage difference △U1 corresponding to the first preset power Qf1.

[0089] It can be seen that the first relationship function is a linear function related to the voltage difference and the current difference expressed as y=kx+b. In some embodiments, under a preset power level, the voltage difference and the current difference can be calculated based on the current charge and discharge current and the current charge and discharge voltage, respectively, and then the voltage difference and the current difference are mapped to the x-axis and y-axis of the coordinate system of the second relationship function, and the line connecting the two is used as the curve of the second relationship function, and then the two current voltage deviation parameters kf and bf under the preset power level are obtained based on the obtained curve.

[0090] Accordingly, the rated current under the discharge condition may be set to Ic, the rated voltage to Uc, the current current to Icc, and the current corrected voltage to Ucc. In some embodiments, the second relationship function may be expressed as:

[0091] △U1=Ucc1-Uc1=kc1*(Icc-Ic)+bc1;

[0092] Among them, △U is the voltage difference, △U1 represents the first collected voltage difference, k and b are the current voltage deviation parameters, kc and bc are the current voltage deviation parameters corresponding to the preset power Qc, and the corresponding kc1 and bc1 are the current voltage deviation parameters of the first voltage difference △U1 corresponding to the first preset power Qc1. Accordingly, the current voltage deviation parameters kc and bc under the battery discharge condition can be determined by referring to the specific process of determining kf and bf.

[0093] In some embodiments, the current voltage deviation parameters corresponding to different preset power levels can be converted into multiple arrays for storage. For example, the preset temperature is 20° C., and a battery B with a rated Ic=150mA and Icc=300mA is selected. The current voltage deviation parameters k and b of battery B at 0%-100% capacity (collection interval is 10%), and the corresponding arrays of kc and bc corresponding to the power percentage Qc of battery B in the charging state are as follows:

[0094] {0%, kc0, bc0;

[0095] 10%, kc1, bc1;

[0096] 20%, kc2, bc2;

[0097] 30%, kc3, bc3;

[0098] 40%, kc4, bc4;

[0099] 50%, kc5, bc5;

[0100] 60%, kc6, bc6;

[0101] 70%, kc7, bc7;

[0102] 80%, kc8, bc8;

[0103] 90%, kc9, bc9;

[0104] 100%, kc10, bc10}

[0105] Similarly, when battery B is in the discharge state, the corresponding arrays of kf and bf corresponding to different power percentages Qf are as follows:

[0106] {0%, kf0, bf0;

[0107] 10%, kf1, bf1;

[0108] 20%, kf2, bf2;

[0109] 30%, kf3, bf3;

[0110] 40%, kf4, bf4;

[0111] 50%, kf5, bf5;

[0112] 60%, kf6, bf6;

[0113] 70%, kf7, bf7;

[0114] 80%, kf8, bf8;

[0115] 90%, kf9, bf9;

[0116] 100%, kf10, bf10}

[0117] Step 203: Obtain the last power of the battery detected last time and the current charge and discharge state, and determine the current voltage deviation parameter based on the current charge and discharge state and the last power.

[0118] It can be understood that since the preset power amount is set according to demand or experimental data, in the actual power detection scenario, the current temperature of the battery may be different from the preset temperature, and the current power of the battery may also be different from the preset power. Therefore, in order to accurately detect the current power of the battery, it is necessary to first accurately determine the current voltage deviation parameters corresponding to the battery at the current moment.

[0119] In some embodiments, the charge and discharge status of the battery and the previous power level of the battery in the previous detection can be obtained first, and the current voltage deviation parameters of the battery can be determined based on the above two data. For example, the battery is in a charging state, and the previous power level of the battery in the previous detection is 51%. Then, the closest preset power level is found in combination with the previous power level, and an array of the current voltage deviation parameters of the battery currently charged at the preset temperature and preset power level is found in the storage location of the current voltage deviation parameters.

[0120] In order to better implement the embodiments of the present application, in a possible example, the current voltage deviation parameter can be determined by the following steps:

[0121] First, from a plurality of preset power levels, determine a target preset power level that has the smallest difference from a previous power level;

[0122] Secondly, based on the current charge and discharge state, a charging voltage deviation parameter or a discharging voltage deviation parameter of a target preset power is determined.

[0123] As an example only, assuming that the last power level of the battery detected was 51% and the preset power collection interval is 10%, the target preset power level with the smallest difference from the last power level is 50%. Assuming that the battery is in a discharging state, the array of the current voltage deviation parameters of the battery currently charged at the preset temperature and the preset power level of 50% can be found in the storage location of the current voltage deviation parameters, for example, the final determined current voltage deviation parameters are kc5 and bc5.

[0124] Step 204: Determine a voltage deviation value of the battery relative to the current detection voltage based on the current voltage deviation parameter, and determine a current correction voltage of the battery based on the voltage deviation value.

[0125] It can be understood that after determining the current voltage deviation parameter, the voltage change value, that is, the voltage difference △U, can be determined based on the current voltage deviation value combined with the second relationship function. In this way, the influence of the current current of the battery on the voltage change can be determined, and the voltage difference △U can be added to the detected value of the battery voltage to accurately calculate the current corrected voltage of the battery, that is, the actual voltage value. It should be noted that when this power detection is the first detection, there is no previous detection and previous power, then the voltage change value can be defaulted to 0, and will be updated in a subsequent cyclic calculation method.

[0126] In order to better implement the embodiments of the present application, in a possible example, the voltage change value and the current corrected voltage may be determined by the following steps:

[0127] Get the detection current and detection voltage of the battery;

[0128] Based on the detected current and the current voltage deviation parameter, the voltage change value is determined by a second relationship function corresponding to the target preset power;

[0129] The sum of the detection voltage and the voltage change value is obtained as the current correction voltage.

[0130] Wherein, the detection current and the detection voltage are the current detection values ​​of the current and voltage, respectively. As an example only, assume that the battery is in a charging state, the detection current of the battery is Icx, the detection voltage is Ucx, the current voltage deviation parameters are kcx and bcx, and the voltage change value is △Ux. In some embodiments, the second relationship function corresponding to the battery can be expressed as:

[0131] △Ux=kcx*(Icx-Ic)+bcx;

[0132] It can be understood that since the rated current Ic, the detection current Icx, and the current voltage deviation parameters kcx and bcx are all known, the above known values ​​can be substituted into the second relationship function to obtain the voltage change value △Ux, and then the sum of the detection voltage Ucx and the voltage change value △Ux Ucx+△Ux is determined as the current corrected voltage.

[0133] It should be noted that in the actual battery power detection scenario, since the current may change to a certain extent, the average value of the current over a period of time can also be used as the detection current, or the average value of the current can be used as the detection current in the subsequent cycle calculation process to verify the accuracy of historical detection. This application does not impose any restrictions on this.

[0134] Step 205: Determine the current power level of the battery based on the current corrected voltage, the current temperature of the battery and the first relationship function.

[0135] It can be understood that since the current corrected voltage is accurately calculated after considering the effect of current on voltage change, the subsequent battery power detection based on the current corrected voltage only needs to consider the effect of battery temperature on voltage. In some embodiments, the current temperature of the battery can be detected, and the current power of the battery can be accurately determined through a first relationship function based on the current corrected voltage and the current temperature of the battery.

[0136] In order to better implement the embodiments of the present application, in a possible example, the current power level of the battery can be determined by the following steps:

[0137] First, from a plurality of preset temperatures, two target preset temperatures closest to the current temperature are determined;

[0138] Then, based on the first relationship function of the target preset temperature and the current corrected voltage, a first power level and a second power level of the battery are determined;

[0139] Finally, the current power of the battery is determined based on the first power, the second power, two target preset temperatures and the current temperature.

[0140] It is understood that since the current temperature of the battery may be different from the preset temperature, in order to determine the first relationship function corresponding to the current temperature, in some embodiments, two target preset temperatures closest to the current temperature may be determined from multiple preset temperatures. For example, the current temperature is 25°C, and multiple preset temperatures are obtained by dividing the range from -20°C to 70°C at intervals of 20°C, so the two target preset temperatures closest to the current temperature are 20°C and 40°C, respectively.

[0141] In some embodiments, after determining that the two target preset temperatures are 20°C and 40°C, two first relationship functions corresponding to the above two target preset temperatures can be obtained, and combined with the charge and discharge status of the battery, the current corrected voltage of the battery is substituted into the above two first relationship functions respectively to obtain the first power and the second power, and then based on the first power, the second power, the two target preset temperatures and the current temperature, the current power of the battery is determined.

[0142] It should be noted that if the current temperature is the same as a preset temperature, the current temperature can be directly used as the target preset temperature, or the target preset temperature can still be determined using the method of the above embodiment. The two methods ultimately calculate the current battery power to be consistent, so this application does not limit the subsequent processing method for the above situation.

[0143] In order to better implement the embodiments of the present application, in a possible example, the current power level of the battery can be determined by the following steps:

[0144] First, obtaining a power difference between a first power and a second power;

[0145] Then, the temperature difference between the two target preset temperatures is obtained;

[0146] Finally, the quotient of the power difference and the temperature difference is obtained, and the product of the current temperature and the quotient is used as the current power.

[0147] In some embodiments, the current battery charge can be calculated using the following formula:

[0148] Qx = Tx * (Q2 - Q1) / (T2 - T1);

[0149] Among them, Qx is the current power of the battery, Tx is the current temperature of the battery, Q1 and Q2 are the first power and the second power respectively, T1 and T2 are two target preset temperatures respectively, Q2-Q1 is the power difference, and T2-T1 is the temperature difference.

[0150] It can be understood that the above formula is used to calculate the current power of the battery. After determining the current temperature of the battery, two target preset temperatures adjacent to the current temperature are first found, and then the first relationship function corresponding to the above two target preset temperatures is used to calculate the accurate current power. Thus, on the basis of fully considering the influence of current on battery voltage change, the influence of similar preset temperatures on battery voltage change is further considered to improve the accuracy of detecting battery power as much as possible. In addition, the entire battery power detection process does not require the use of high-cost, cumbersome and compact detection instruments such as coulomb meters, so that the method of the present application can improve the accuracy of battery power detection and reduce the cost of battery power detection.

[0151] In a possible example, in order to better implement the battery power detection method in the embodiment of the present application, in addition to the battery power detection method, a battery power detection device is also provided in the embodiment of the present application, such as Figure 4 As shown, the battery power detection device includes:

[0152] A function construction module 301 is used to obtain charge and discharge data of a battery at multiple preset temperatures, and to construct a first relationship function between the voltage and capacity of the battery at each preset temperature based on the charge and discharge data;

[0153] The parameter determination module 302 is used to determine the current voltage deviation parameter of the battery based on the charge and discharge data; the current voltage deviation parameter is a parameter of the influence of different load currents on voltage changes;

[0154] The parameter updating module 303 is used to obtain the last power of the battery in the last detection and the current charge and discharge state, and determine the current voltage deviation parameter based on the current charge and discharge state and the last power;

[0155] A voltage determination module 304, configured to determine a voltage deviation value of a battery relative to a current detection voltage based on a current voltage deviation parameter, and determine a current corrected voltage of the battery based on the voltage deviation value;

[0156] The power detection module 305 is used to determine the current power of the battery based on the current corrected voltage, the current temperature of the battery and the first relationship function.

[0157] In an embodiment of the present application, the function construction module 301, the parameter determination module 302, the parameter update module 303, the voltage determination module 304 and the power detection module 305 can be used to execute steps 201-205 of the aforementioned method embodiment respectively. For more detailed contents or specific implementation methods of each functional module, please refer to the description of the corresponding method steps, which will not be repeated here.

[0158] The battery power detection device provided in the present application first obtains the charge and discharge data of the battery at multiple preset temperatures through the function construction module 301, and constructs the first relationship function between the voltage and capacity of the battery at each preset temperature based on the charge and discharge data. Then, the parameter determination module 302 determines the current voltage deviation parameter of the battery based on the charge and discharge data; the current voltage deviation parameter is a parameter that affects the voltage change due to different load currents. Then, the parameter update module 303 obtains the previous power of the battery in the previous detection, as well as the current charge and discharge state, and determines the current voltage deviation parameter based on the current charge and discharge state and the previous power. Then, the voltage determination module 304 determines the voltage deviation value of the battery relative to the current detection voltage based on the current voltage deviation parameter, and determines the current corrected voltage of the battery based on the voltage deviation value. Then, the power detection module 305 determines the current power of the battery based on the current corrected voltage, the current temperature of the battery and the first relationship function.

[0159] Based on the same concept, an electronic device is also provided in the embodiment of the present application, such as Figure 5 As shown, the electronic device mainly includes: a processor 401, a memory 402 and a communication bus 403, wherein the processor 401 and the memory 402 communicate with each other through the communication bus 403. The memory 402 stores a program that can be executed by the processor 401, and the processor 401 executes the program stored in the memory 402 to implement the following steps:

[0160] Acquire charge and discharge data of the battery at multiple preset temperatures, and construct a first relationship function between the voltage and capacity of the battery at each preset temperature based on the charge and discharge data;

[0161] Based on the charge and discharge data, determine the current voltage deviation parameter of the battery; the current voltage deviation parameter is the parameter of the influence of different load currents on voltage changes;

[0162] Obtain the last power of the battery in the last detection and the current charge and discharge state, and determine the current voltage deviation parameter based on the current charge and discharge state and the last power;

[0163] Determining a voltage deviation value of a battery relative to a current detection voltage based on a current voltage deviation parameter, and determining a current correction voltage of the battery based on the voltage deviation value;

[0164] The current charge level of the battery is determined based on the current corrected voltage, the current temperature of the battery and the first relationship function.

[0165] In this embodiment, the electronic device may be a device integrated with the battery power detection device (eg Figure 1 Detection equipment 200), MCU (such as Figure 1MCU300 in) or battery (such as Figure 1 The battery 500 in the figure may also be another device having data processing and computing capabilities independent of the above device, MCU or battery, for example, a computer device connected to the above device, MCU or battery.

[0166] The communication bus 403 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 403 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0167] The memory 402 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Alternatively, the memory may also be at least one storage device located away from the processor 401.

[0168] The above-mentioned processor 401 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (CPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0169] In another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed on a computer, the computer executes the battery power detection method described in the above embodiment.

[0170] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction is transmitted from a website site, a computer, a server or a data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integration. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape, etc.), an optical medium (such as a DVD) or a semiconductor medium (such as a solid-state hard disk), etc.

[0171] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants 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, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0172] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be 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 the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A battery power detection method, characterized in that: The method comprises: Acquire charge and discharge data of a battery at a plurality of preset temperatures, and construct a first relationship function between the voltage and capacity of the battery at each preset temperature based on the charge and discharge data; Based on the charge and discharge data, determining the current voltage deviation parameter of the battery includes: obtaining the current difference between the rated current and the current charge and discharge current, and the voltage difference between the rated voltage and the current charge and discharge voltage; constructing a second relationship function between the current difference and the voltage difference; based on the second relationship function, determining the charging voltage deviation parameter and the discharging voltage deviation parameter corresponding to each preset power; the current voltage deviation parameter is the slope and intercept of a linear function of the influence of different load currents on voltage changes; Acquire the last power of the battery detected last time, and the current charging or discharging state of the battery, and determine the current voltage deviation parameter based on the current charging and discharging state and the last power; Determining a voltage deviation value of the battery relative to a current detection voltage based on the current voltage deviation parameter, and determining a current correction voltage of the battery based on the voltage deviation value; The current charge level of the battery is determined based on the current corrected voltage, the current temperature of the battery and the first relationship function.

2. The method according to claim 1, characterized in that The charge and discharge data include the rated current, rated voltage and preset power of the battery, and the current charge and discharge current and current charge and discharge voltage at the preset power.

3. The method according to claim 2, characterized in that The obtaining of the last power of the battery detected last time and the current charging or discharging state of the battery, and determining the current voltage deviation parameter based on the current charging or discharging state and the last power, includes: Determine, from the plurality of preset power levels, a target preset power level that has the smallest difference from the previous power level; Based on the current charging and discharging state, a charging voltage deviation parameter or a discharging voltage deviation parameter of the target preset power is determined.

4. The method according to claim 3, characterized in that The step of determining a voltage deviation value of the battery relative to a current detection voltage based on the current voltage deviation parameter, and determining a current correction voltage of the battery based on the voltage deviation value, comprises: Obtaining a detection current and a detection voltage of the battery currently being detected; Based on the detection current and the current voltage deviation parameter, a voltage change value is determined by a second relationship function corresponding to the target preset power; A sum of the detection voltage and the voltage change value is obtained as the current correction voltage.

5. The method according to any one of claims 1 to 4, characterized in that The determining the current power level of the battery based on the current corrected voltage, the current temperature of the battery and the first relationship function includes: Determining two target preset temperatures closest to the current temperature from the plurality of preset temperatures; Determine a first power level and a second power level of the battery based on a first relationship function of the target preset temperature and the current corrected voltage; The current power of the battery is determined based on the first power, the second power, the two target preset temperatures and the current temperature.

6. The method according to claim 5, characterized in that The determining the current power of the battery based on the first power, the second power, the two target preset temperatures and the current temperature includes: Obtaining a power difference between the first power and the second power; Obtaining a temperature difference between the two target preset temperatures; The quotient of the power difference and the temperature difference is obtained, and the product of the current temperature and the quotient is used as the current power.

7. The method according to claim 1, characterized in that The charge and discharge data include the rated current, rated voltage, standard rated capacity and maximum rated capacity of the battery; The constructing a first relationship function between the voltage and capacity of the battery at each preset temperature based on the charge and discharge data includes: Under the rated current and the preset temperature, obtaining first capacities of the battery corresponding to different voltage values ​​during a discharge process in which the capacity of the battery changes from the standard rated capacity to zero, and obtaining first data pairs of a plurality of voltages and a plurality of the first capacities; acquiring second capacities of the battery corresponding to different voltage values ​​during a charging state in which the capacity of the battery changes from zero to the maximum rated capacity, and obtaining second data pairs of a plurality of voltages and a plurality of the second capacities; Fitting the first data pair and the second data pair to obtain a first function of the battery voltage and the first capacity, and a second function of the battery voltage and the second capacity; The first relationship function is obtained according to the first function and the second function.

8. A battery power detection device, characterized in that: The device comprises: A function construction module, used to obtain charge and discharge data of a battery at a plurality of preset temperatures, and to construct a first relationship function between the voltage and capacity of the battery at each of the preset temperatures based on the charge and discharge data; A parameter determination module, used to determine the current voltage deviation parameter of the battery based on the charge and discharge data, and also used to obtain the current difference between the rated current and the current charge and discharge current, and the voltage difference between the rated voltage and the current charge and discharge voltage; construct a second relationship function between the current difference and the voltage difference; based on the second relationship function, determine the charging voltage deviation parameter and the discharging voltage deviation parameter corresponding to each preset power; the current voltage deviation parameter is the slope and intercept of a linear function of the influence of different load currents on voltage changes; A parameter updating module, used for obtaining the last power of the battery in the last detection, and the current charging or discharging state of the battery, and determining the current voltage deviation parameter based on the current charging and discharging state and the last power; a voltage determination module, configured to determine a voltage deviation value of the battery relative to a current detection voltage based on the current voltage deviation parameter, and determine a current correction voltage of the battery based on the voltage deviation value; The power detection module is used to determine the current power of the battery based on the current corrected voltage, the current temperature of the battery and the first relationship function.

9. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is used to execute the program stored in the memory to implement the battery power detection method according to any one of claims 1 to 7.

10. A computer-readable storage medium, a processor, a communication interface, a memory and a communication bus, wherein: The processor, the communication interface and the memory communicate with each other via a communication bus; the memory is used to store computer programs; the processor is used to execute the programs stored in the memory to implement the battery power detection method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Battery SOC correction method and device, computer equipment and storage medium

    CN113917348A

  • Gauging method for battery discharge-capacity corresponding to temperature and electronic device using the same

    EP3279678A1

  • Residual capacity meter for battery

    JP1994150981A

  • Secondary battery state detection device and secondary battery state detection method

    JP2015215272A