An electric quantity measurement method and device, electronic equipment and storage medium

By establishing initial and usage models of the battery and combining them with operational information to calculate the remaining power, the problem of low battery power detection accuracy was solved, and high-precision battery power measurement was achieved.

CN116381501BActive Publication Date: 2025-12-19SHENZHEN DEEJOY LIGHTING TECH LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310182414.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2025-12-19
Estimated Expiration
2043-03-01

AI Technical Summary

Technical Problem

Existing technologies have low accuracy in battery power detection, especially with large errors when the load changes, making it impossible to accurately measure the remaining battery power.

Method used

An initial model is established by acquiring the target battery's specifications. A usage model is generated by combining battery information under open circuit and load conditions. Finally, a standard model is determined, and the remaining power is calculated using the operating information, avoiding the need for additional sampling resistors.

Benefits of technology

It achieves high-precision measurement of remaining battery power under different load conditions, obtains a smooth power curve, and improves detection accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116381501B_ABST
    Figure CN116381501B_ABST
Patent Text Reader

Abstract

The application relates to the field of electric quantity monitoring, in particular to an electric quantity measurement method and device, electronic equipment and a storage medium, the method comprising the following steps: acquiring specification information of a target battery, establishing an initial model of the target battery based on the specification information; acquiring battery information of the target battery in an open circuit state, acquiring discharge information of the target battery when the target battery is connected to a load, generating a use model of the target battery based on the battery information and the discharge information, and determining a standard model based on the use model and the initial model; acquiring working information of a battery to be measured, wherein the working information comprises working voltage, working current and working temperature of the target battery when the target battery is connected to the load; and determining the residual electric quantity of the battery to be measured based on the working information and the standard model. The application has the effect that the electric quantity of the battery is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of power monitoring, and in particular to a power measurement method and device, electronic equipment and storage medium. BACKGROUND

[0002] In the related art, there are two commonly used methods for detecting battery power, namely, an ADC detection voltage method and a method of calculating battery capacity by detecting battery voltage and current.

[0003] Since the low battery voltage is generally 3.5V and the full battery voltage is 4.2V, the battery change range is very narrow; the ADC of the MCU is generally 12-bit resolution, and this type of ADC is generally used for key value detection. The battery voltage change range is 0.5V, and the effective key value detected by the ADC is only three grades. The power change is generally 1% per grade, and therefore the accuracy is low.

[0004] When detecting battery voltage and current to calculate battery capacity, an external resistance is required, and the accuracy of this resistance is 1%. In actual application scenarios, the resistance is greatly affected by the board, and the actual measurement accuracy is greatly affected by the load change.

[0005] Therefore, how to more accurately detect the power of the battery is a problem that needs to be solved. SUMMARY

[0006] In order to more accurately detect the power of the battery, the present application provides a power measurement method, device, electronic equipment and storage medium.

[0007] In a first aspect, the present application provides a power measurement method, which adopts the following technical solution:

[0008] A power measurement method comprises:

[0009] Obtaining specification information of a target battery, the specification information comprising internal resistance, rated capacity, working temperature range, full battery voltage and depleted battery voltage;

[0010] Establishing an initial model of the target battery based on the specification information;

[0011] Obtaining battery information of the target battery in an open circuit state, the battery information comprising open circuit voltage and open circuit internal resistance;

[0012] Obtaining discharge information of the target battery when connected to a load, the discharge information comprising discharge voltage, discharge current and working temperature curves corresponding to time respectively;

[0013] Generating a use model of the target battery based on the battery information and the discharge information;

[0014] determine a standard model based on the usage model and the initial model;

[0015] obtain working information of the target battery, the working information comprising working voltage, working current and working temperature of the target battery when the target battery is connected to a load;

[0016] determine the remaining capacity of the target battery based on the working information and the standard model.

[0017] By using the above technical solution, the initial model is established based on the specification information, and the usage model of the target battery in the usage state is generated based on the measured battery information and the discharge information, and then the standard model comprehensively describing the state and performance of the target battery is determined based on the usage model and the initial model. After obtaining the working information of the target battery, the remaining capacity can be determined based on the standard model and the working information. The remaining capacity can be determined based on the standard model and any working information, that is, a relatively smooth curve of the remaining capacity of the battery can be obtained, and no additional sampling resistor is needed, so that the accuracy of the obtained remaining capacity is high.

[0018] In a possible implementation manner, the obtaining of the battery information of the target battery in the open circuit state comprises:

[0019] obtaining test battery information respectively corresponding to the target battery in a plurality of remaining capacities and in the open circuit state;

[0020] determining the battery information based on all the test battery information.

[0021] In a possible implementation manner, the obtaining of the discharge information of the target battery when the target battery is connected to a load comprises:

[0022] obtaining discharge information of the target battery when the target battery is connected to at least one load;

[0023] obtaining discharge information of a reference battery when the reference battery is connected to at least one load, the specification information of the reference battery being the same as the specification information of the target battery;

[0024] obtaining the discharge information of the target battery when the target battery is connected to a load based on the discharge information of the reference battery when the reference battery is connected to at least one load and the discharge information of the target battery when the target battery is connected to at least one load.

[0025] In a possible implementation manner, the obtaining of the discharge information of any battery when the battery is connected to at least one load comprises:

[0026] determining at least N test temperatures based on the working temperature interval, N being greater than or equal to 1;

[0027] obtaining discharge information respectively corresponding to any battery when the battery is connected to at least one load at each test temperature.

[0028] In a possible implementation, the determining the standard model based on the usage model and the initial model comprises:

[0029] determining difference information based on the usage model and the initial model;

[0030] determining the standard model based on the difference information and the initial model.

[0031] In a possible implementation, the determining the standard model based on the difference information and the initial model comprises:

[0032] determining a confidence degree of the difference information, the confidence degree of the difference information being determined based on a quantity of discharge information of a reference battery and the quantity of the reference batteries;

[0033] if the confidence degree is greater than a preset threshold, determining the standard model based on the difference information and the initial model.

[0034] In a possible implementation, the obtaining the specification information of the target battery comprises at least one of the following:

[0035] obtaining specification information stored in a power management chip of the target battery;

[0036] obtaining specification information input by a user;

[0037] obtaining local specification information.

[0038] In a second aspect, the present application provides an electric quantity measuring device, which adopts the following technical scheme:

[0039] An electric quantity measuring device comprises:

[0040] a specification information obtaining module, configured to obtain specification information of a target battery, the specification information comprising internal resistance, rated capacity, working temperature range, full-charge voltage and low-charge voltage;

[0041] an initial model establishing module, configured to establish an initial model of the target battery based on the specification information;

[0042] a battery information obtaining module, configured to obtain battery information of the target battery in an open-circuit state, the battery information comprising open-circuit voltage and open-circuit internal resistance;

[0043] a discharge information obtaining module, configured to obtain discharge information of the target battery when the target battery is connected to a load, the discharge information comprising a curve relationship between discharge voltage, discharge current and working temperature and time respectively;

[0044] a use model generation module configured to generate a use model of the target battery based on the battery information and the discharge information;

[0045] a standard model determination module configured to determine a standard model based on the use model and the initial model;

[0046] a working information acquisition module configured to acquire working information of the target battery, the working information comprising working voltage, working current and working temperature of the target battery when the target battery is connected to a load;

[0047] a residual capacity determination module configured to determine residual capacity of the target battery based on the working information and the standard model.

[0048] By using the above technical solution, the device can establish an initial model based on specification information, generate a use model of the target battery in a use state based on measured battery information and discharge information, and determine a standard model that comprehensively describes the state and performance of the target battery based on the use model and the initial model. After acquiring working information of the target battery, the residual capacity can be determined based on the standard model and the working information. The residual capacity can be determined based on the standard model and any working information, that is, a relatively smooth curve of the residual capacity of the battery can be obtained, and no additional sampling resistor is needed, which makes the accuracy of the obtained residual capacity higher.

[0049] In a possible implementation, when the battery information acquisition module acquires battery information of the target battery in an open circuit state, the battery information acquisition module is specifically configured to:

[0050] acquire test battery information corresponding to the target battery in a plurality of residual capacities and in the open circuit state respectively;

[0051] determine the battery information based on all the test battery information.

[0052] In a possible implementation, when the discharge information acquisition module acquires discharge information of the target battery when the target battery is connected to a load, the discharge information acquisition module is specifically configured to:

[0053] acquire discharge information of the target battery when the target battery is connected to at least one load;

[0054] acquire discharge information of a reference battery when the reference battery is connected to at least one load, the specification information of the reference battery being the same as the specification information of the target battery;

[0055] acquire the discharge information of the target battery when the target battery is connected to the load based on the discharge information of the reference battery when the reference battery is connected to at least one load and the discharge information of the target battery when the target battery is connected to at least one load.

[0056] In a possible implementation, when the discharge information acquisition module acquires the discharge information of any battery when the battery is connected to at least one load, the method specifically includes the following steps.

[0057] determining at least N test temperatures based on the working temperature interval, where N is greater than or equal to 1;

[0058] acquiring corresponding discharge information of any battery when the battery is connected to at least one load at each test temperature, respectively.

[0059] In a possible implementation, when the standard model determination module determines the standard model based on the use model and the initial model, the method specifically includes the following steps.

[0060] determining difference information based on the use model and the initial model;

[0061] determining the standard model based on the difference information and the initial model.

[0062] In a possible implementation, when the initial model determination module determines the standard model based on the difference information and the initial model, the method specifically includes the following steps.

[0063] determining a confidence degree of the difference information, where the confidence degree of the difference information is determined based on the number of discharge information of the reference battery and the number of reference batteries;

[0064] if the confidence degree is greater than a preset threshold, determining the standard model based on the difference information and the initial model.

[0065] In a possible implementation, when the specification information acquisition module acquires the specification information of the target battery, at least one of the following methods is used.

[0066] acquiring specification information stored in a power management chip of the target battery;

[0067] acquiring specification information input by a user;

[0068] acquiring local specification information.

[0069] In a third aspect, the present application provides an electronic device, which adopts the following technical solution.

[0070] An electronic device includes:

[0071] at least one processor;

[0072] a memory;

[0073] At least one application program, wherein the at least one application program is stored in the memory and is configured to be executed by the at least one processor, the at least one application program is configured to: execute the above-mentioned power measurement method.

[0074] In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical solution:

[0075] A computer readable storage medium, comprising: a computer program stored therein and capable of being loaded and executed by a processor to execute the above-mentioned power measurement method.

[0076] In summary, the present application includes at least one of the following beneficial technical effects:

[0077] 1. An initial model is established based on specification information, and a use model of a target battery in a use state is generated through measured battery information and discharge information, and a standard model comprehensively describing the state and performance of the target battery is determined based on the use model and the initial model, and after obtaining working information of the target battery, the remaining power can be determined through the standard model and the working information. The remaining power can be determined through the standard model and any working information, that is, a relatively smooth curve of the remaining power of the battery can be obtained, and no additional sampling resistor is needed, which makes the accuracy of the obtained remaining power higher. BRIEF DESCRIPTION OF DRAWINGS

[0078] Figure 1 is a flowchart of the power measurement method in the embodiments of the present application;

[0079] Figure 2 is a structural schematic diagram of the power measurement device in the embodiments of the present application;

[0080] Figure 3 is a structural schematic diagram of the electronic device in the embodiments of the present application. DETAILED DESCRIPTION

[0081] The following will be described in detail in combination with the accompanying drawings. - the accompanying drawings Figure 1 - the accompanying drawings Figure 3 The present application will be further described in detail.

[0082] Those skilled in the art can make modifications to the embodiments of the present application without creative contribution after reading the present specification, but as long as the modifications are within the scope of the claims of the present application, they are protected by the patent law.

[0083] In order to make the purposes, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0084] In addition, the term "and / or" in the present application is only used to describe the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. In addition, the character " / " in the present application generally represents an "or" relationship between the associated objects unless otherwise specified.

[0085] The embodiments of the present application provide a power measurement method for measuring the power of a single battery, which is executed by an electronic device, and refers to Figure 1 , the method comprises steps S11-S18, wherein:

[0086] Step S11, obtaining the specification information of the target battery, the specification information comprising internal resistance, rated capacity, working temperature range, full voltage and discharge voltage.

[0087] In the embodiments of the present application, the specification information of the target battery is determined based on the manufacturing specification and physical performance of the target battery. For the target battery with a power management chip, the specification information can be stored in the power management chip, and the electronic device can obtain the specification information in the power management chip. Of course, the user can input the specification information, or input the specification model of the target battery, and the electronic device downloads the specification information based on the specification model of the target battery on the Internet. The specific way of obtaining the specification information is not limited in the embodiments of the present application.

[0088] Step S12, establishing an initial model of the target battery based on the specification information.

[0089] In the embodiments of the present application, the initial model is established based on the specification information.

[0090] Step S13, obtaining the battery information of the target battery in an open circuit state, the battery information comprising open circuit voltage and open circuit internal resistance.

[0091] In the embodiment of the present application, the voltage between the positive and negative electrodes of the target battery is measured multiple times in an open circuit state, i.e., without connecting a load, and the battery is not working, and at the same time, the internal resistance of the target battery is obtained based on the fixed resistance of the test equipment. Each battery information includes an open circuit voltage and a corresponding battery internal resistance. The internal resistance of the target battery may be different at different remaining capacities, and therefore, multiple information is obtained, i.e., multiple remaining capacities are determined, and the battery information corresponding to each remaining capacity of the target battery is obtained.

[0092] In step S14, discharge information of the target battery when connected to a load is obtained, and the discharge information includes a curve relationship between the discharge voltage, the discharge current, and the working temperature and time.

[0093] In the embodiment of the present application, when the load is connected, the battery is in a working state, and at this time, the discharge voltage and the discharge current of the target battery change with the decrease of the remaining capacity of the target battery. The discharge information includes a curve corresponding to the discharge voltage and time, a curve corresponding to the discharge current and time, and a curve corresponding to the working temperature and time. During the continuous discharge of any target battery, the working temperature should be kept fixed to reduce the influence of variables.

[0094] In step S15, a use model of the target battery is generated based on the battery information and the discharge information.

[0095] In the embodiment of the present application, the specification information represents the processing and manufacturing performance of the battery, which is an inherent parameter. However, the actual use environment of the battery may cause its performance to be different from the representation of the specification information. The battery information represents the state of the target battery when not working. Specifically, the battery information may be different from the specification information, and the difference mainly lies in the internal resistance value. The discharge information represents the state of the target battery during continuous discharge. Therefore, the discharge information of the same battery may be different from the battery information and the specification information, and the difference mainly lies in the internal resistance and the voltage between the positive and negative electrodes of the battery, i.e., the difference between the discharge voltage and the open circuit voltage.

[0096] The battery has two states in the actual use environment, i.e., discharging and not discharging. The use model of the target battery is generated based on the discharge information and the battery information, and is used as a model for describing the target battery in the actual use scenario.

[0097] In step S16, a standard model is determined based on the use model and the initial model.

[0098] Specifically, the standard model is determined based on the use model of the target battery in the actual use scenario and the initial model of the target battery, i.e., the inherent performance state of the target battery is combined with the state during actual use to obtain a standard model that comprehensively describes the state of the target battery. Therefore, the charging and discharging process of the battery can be better mapped in the standard model.

[0099] Step S17, obtaining working information of the battery to be measured, the working information including working voltage, working current and working temperature of the target battery when the target battery accesses the load;

[0100] Step S18, determining the remaining power of the battery to be measured based on the working information and the standard model.

[0101] In the embodiments of the present application, the working information of the target battery can be input by a user or measured by a preset detection instrument or sensor. The working information is input into the standard model, and the corresponding remaining power of the target battery under the current working voltage, working current and working temperature can be obtained.

[0102] The scheme of the present application needs to establish an initial model based on specification information, generate a use model of the target battery in a use state through measured battery information and discharge information, and determine a standard model comprehensively describing the state and performance of the target battery based on the use model and the initial model. After obtaining the working information of the target battery, the remaining power can be determined through the standard model and the working information. Compared with the two methods of detecting the remaining power of the battery in the related art, the scheme of the present application can obtain a relatively smooth curve of the remaining power of the battery, and does not need an additional sampling resistor, so that the accuracy of the obtained remaining power is higher.

[0103] Further, obtaining the discharge information of the target battery when the target battery accesses the load includes steps S141 (not shown in the figure)-S143 (not shown in the figure), wherein:

[0104] Step S141, obtaining the discharge information of the target battery when the target battery accesses at least one load;

[0105] Step S142, obtaining the discharge information of a reference battery when the reference battery accesses at least one load, the specification information of the reference battery being the same as the specification information of the target battery.

[0106] Specifically, each load is a same unit load. The specification information of the reference battery is the same as the specification information of the target battery, that is, the reference battery is a battery of the same model as the target battery. The discharge information of any battery when the battery accesses at least one load is obtained, at least N test temperatures are determined based on the working temperature interval, N is greater than or equal to 1, and then the discharge information corresponding to each test temperature when any battery accesses at least one load is obtained.

[0107] Step S143, obtaining the discharge information of the target battery when the target battery accesses the load based on the discharge information of the reference battery when the reference battery accesses at least one load and the discharge information of the target battery when the target battery accesses at least one load.

[0108] Specifically, after obtaining the plurality of discharge information of the target battery and the plurality of discharge information of the at least one reference battery, the curve relationship between the discharge voltage and the discharge current and the working temperature of any target battery when accessing a unit load is determined based on all the obtained discharge information. Furthermore, the curve relationship between the internal resistance of the target battery and the working temperature when the target battery is discharging is also determined, i.e., the discharge information is obtained.

[0109] Further, the standard model is determined based on the usage model and the initial model, and step S162 includes step S161 (not shown in the figure) - step S162 (not shown in the figure), wherein:

[0110] Step S161, the difference information is determined based on the usage model and the initial model.

[0111] Specifically, the usage model is obtained based on the discharge information and the battery information, the discharge information includes the curve relationship between the discharge voltage, the discharge current and the working temperature corresponding to the time, and the curve relationship between the internal resistance of the target battery and the working temperature, and the curve relationship between the remaining capacity and the internal resistance of the target battery. The initial model is determined based on the specification information of the internal resistance, the rated capacity, the working temperature range, the full charge voltage and the low charge voltage, so the difference information mainly includes: the curve relationship between the full charge voltage and the low charge voltage and the discharge voltage and the working temperature, the fixed internal resistance, and the curve relationship between the internal resistance and the remaining capacity, the fixed internal resistance and the curve relationship between the internal resistance and the working temperature.

[0112] Step S162, the standard model is determined based on the difference information and the initial model.

[0113] Specifically, the confidence of the difference information is determined, and the confidence is determined based on the number of discharge information of the reference battery and the number of reference batteries; if the confidence is greater than a preset threshold, the standard model is determined based on the difference information and the initial model. Wherein, the number of reference batteries and the corresponding relationship between the number of discharge information obtained based on each reference battery and the confidence can be preset, and the confidence is determined based on the corresponding relationship. For example, when the number of reference batteries is less than or equal to 10, the confidence is 50%; when the number of reference batteries is greater than 10 and less than or equal to 50, the confidence is 70%; when the number of reference batteries is greater than 50 and less than or equal to 100, the confidence is 80%.

[0114] And when the number of discharge information obtained based on each reference battery is greater than 20, the confidence is additionally increased by 5%. When the number of reference batteries is 30, and the number of discharge information corresponding to each reference battery is 30, the corresponding confidence should be 70% + 5% = 75%.

[0115] Further, the confidence degree represents the credibility of the difference information, and the specific value of the preset threshold is not specifically determined in the embodiments of the present application, as long as it is convenient to determine a more accurate standard model.

[0116] When the confidence degree is less than or equal to the preset threshold, it indicates that the credibility of the difference information is low and cannot be used. Only when the confidence degree is greater than the preset threshold, the initial model is modified based on the difference information, and the related information in the initial model is replaced, for example, the fixed full voltage and the loss point voltage are replaced by the curve relationship between the discharge voltage and the working temperature; the fixed internal resistance value is replaced by the curve relationship between the internal resistance value and the working temperature and the curve relationship between the internal resistance value and the remaining power; and then the standard model is obtained.

[0117] The above embodiment introduces an electric quantity measurement method from the perspective of method flow, and the following embodiment introduces an electric quantity measurement device from the perspective of virtual module or virtual unit. For details, see the following embodiment.

[0118] The embodiments of the present application provide an electric quantity measurement device, as shown in the figure, which specifically can include a specification information acquisition module 21, an initial model establishment module 22, a battery information acquisition module 23, a discharge information acquisition module 24, a use model generation module 25, a standard model determination module 26, a working information acquisition module 27, and a remaining power determination module 28. Figure 2

[0119] The specification information acquisition module 21 is configured to acquire the specification information of the target battery, and the specification information includes the internal resistance, the rated capacity, the working temperature range, the full voltage, and the loss voltage.

[0120] The initial model establishment module 22 is configured to establish the initial model of the target battery based on the specification information.

[0121] The battery information acquisition module 23 is configured to acquire the battery information of the target battery in the open circuit state, and the battery information includes the open circuit voltage and the open circuit internal resistance.

[0122] The discharge information acquisition module 24 is configured to acquire the discharge information of the target battery when connected to the load, and the discharge information includes the discharge voltage, the discharge current, and the curve relationship between the working temperature and the time.

[0123] The use model generation module 25 is configured to generate the use model of the target battery based on the battery information and the discharge information.

[0124] The standard model determination module 26 is configured to determine the standard model based on the use model and the initial model.

[0125] ​The working information acquisition module 27 is configured to acquire working information of the battery to be tested, and the working information comprises working voltage, working current and working temperature of the target battery when the target battery is connected to a load.

[0126] The residual capacity determination module 28 is configured to determine the residual capacity of the battery to be tested based on the working information and the standard model.

[0127] In a possible implementation, when the battery information acquisition module 23 acquires the battery information of the target battery in the open-circuit state, the battery information acquisition module 23 is specifically configured to:

[0128] acquire test battery information respectively corresponding to the target battery in a plurality of residual capacities and in the open-circuit state;

[0129] determine the battery information based on all the test battery information.

[0130] In a possible implementation, when the discharge information acquisition module 24 acquires the discharge information of the target battery when the target battery is connected to a load, the discharge information acquisition module 24 is specifically configured to:

[0131] acquire the discharge information of the target battery when the target battery is connected to at least one load;

[0132] acquire the discharge information of a reference battery when the reference battery is connected to the at least one load, and the specification information of the reference battery is the same as the specification information of the target battery;

[0133] acquire the discharge information of the target battery when the target battery is connected to a load based on the discharge information of the reference battery when the reference battery is connected to the at least one load and the discharge information of the target battery when the target battery is connected to the at least one load.

[0134] In a possible implementation, when the discharge information acquisition module 24 acquires the discharge information of any battery when the battery is connected to at least one load, the discharge information acquisition module 24 is specifically configured to:

[0135] determine at least N test temperatures based on the working temperature interval, where N is greater than or equal to 1;

[0136] acquire discharge information respectively corresponding to any battery when the battery is connected to the at least one load at each test temperature.

[0137] In a possible implementation, when the standard model determination module 26 determines the standard model based on the usage model and the initial model, the standard model determination module 26 is specifically configured to:

[0138] determine difference information based on the usage model and the initial model;

[0139] determine the standard model based on the difference information and the initial model.

[0140] In a possible implementation, when the initial model determining module 22 determines the standard model based on the difference information and the initial model, the following is specifically used:

[0141] determining a confidence level of the difference information, the confidence level being determined based on a number of discharge information of the reference batteries and a number of the reference batteries;

[0142] if the confidence level is greater than a preset threshold, determining the standard model based on the difference information and the initial model.

[0143] In a possible implementation, when the specification information obtaining module 21 obtains the specification information of the target battery, at least one of the following is used:

[0144] obtaining the specification information stored in a power management chip of the target battery;

[0145] obtaining the specification information input by a user;

[0146] obtaining the specification information locally.

[0147] An electronic device is provided in the embodiments of the present application, as shown in Figure 3 The electronic device 300 shown in Figure 3 The electronic device 300 shown in the embodiments of the present application includes a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, for example, through a bus 302. Optionally, the electronic device 300 can further include a transceiver 304. It should be noted that the transceiver 304 is not limited to one in actual application, and the structure of the electronic device 300 does not constitute a limitation on the embodiments of the present application.

[0148] The processor 301 can be a CPU (Central Processing Unit, central processor), a general-purpose processor, a DSP (Digital Signal Processor, data signal processor), an ASIC (Application Specific Integrated Circuit, application specific integrated circuit), an FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logical blocks, modules and circuits described in combination with the disclosure of the present application. The processor 301 can also be a combination of computing functions, such as one or more microprocessor combinations, combinations of DSP and microprocessor, etc.

[0149] The bus 302 can include a path that transmits information between the above-described components. The bus 302 can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus 302 can be divided into an address bus, a data bus, a control bus, etc. For convenience of representation, Figure 3 Only one thick line is used in the middle, but it does not mean that there is only one bus or one type of bus.

[0150] The memory 303 can be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.

[0151] The memory 303 is used to store application program codes for implementing the scheme of the present application, and is controlled to execute by the processor 301. The processor 301 is used to execute the application program codes stored in the memory 303 to realize the content shown in the foregoing method embodiments.

[0152] The electronic device includes, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet Personal Computer), a PMP (Portable Multimedia Player), a car terminal (for example, a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. It can also be a server, etc. Figure 3 The electronic device shown is only an example, and should not bring any limitation to the function and use range of the embodiments of the present disclosure.

[0153] The embodiments of the present application provide a computer readable storage medium, which stores computer programs, and when the computer programs run on a computer, the computer can execute the corresponding content in the foregoing method embodiments.

[0154] It should be understood that although the steps in the flowcharts of the accompanying drawings are shown in a sequential order following the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated otherwise herein, the execution of the steps is not strictly limited to the order indicated by the arrows, and can be executed in other orders. Moreover, at least some of the steps in the flowcharts of the accompanying drawings can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order is not necessarily sequential, but can be round-robin or alternating with at least some of the other steps or sub-steps or stages of other steps.

[0155] The above is only some embodiments of the present application, and it should be pointed out that for those skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, which should also be considered as the protection scope of the present application.

Claims

1. A method of measuring electric quantity, characterized by, The method comprises the following steps: obtaining specification information of the target battery, the specification information comprising internal resistance, rated capacity, working temperature range, full charge voltage and low charge voltage; establishing an initial model of the target battery based on the specification information; obtaining battery information of the target battery in an open circuit state, the battery information comprising open circuit voltage and open circuit internal resistance; obtaining discharge information of the target battery when connected to a load, the discharge information comprising discharge voltage, discharge current and working temperature curves corresponding to time respectively; generating a use model of the target battery based on the battery information and the discharge information; determining a standard model based on the use model and the initial model; obtaining working information of the target battery, the working information comprising working voltage, working current and working temperature of the target battery when connected to a load; determining the remaining capacity of the target battery based on the working information and the standard model.

2. The method of claim 1, wherein, The step of obtaining battery information of the target battery in an open circuit state comprises the following steps: obtaining test battery information of the target battery corresponding to a plurality of remaining capacities respectively when in an open circuit state; determining the battery information based on all the test battery information.

3. The method of claim 1, wherein, The step of obtaining discharge information of the target battery when connected to a load comprises the following steps: obtaining discharge information of the target battery when connected to at least one load; obtaining discharge information of a reference battery when connected to at least one load, the specification information of the reference battery being the same as that of the target battery; obtaining discharge information of the target battery when connected to a load based on the discharge information of the reference battery when connected to at least one load and the discharge information of the target battery when connected to at least one load.

4. The method of claim 3, wherein, The steps of obtaining discharge information of the target battery when connected to at least one load and obtaining discharge information of the reference battery when connected to at least one load both comprise the following steps: determining at least N test temperatures based on the working temperature range, N being greater than or equal to 1; obtaining discharge information of any battery when connected to at least one load at each test temperature respectively.

5. The method of claim 3, wherein, The step of determining a standard model based on the use model and the initial model comprises the following steps: determining difference information based on the use model and the initial model; determining a standard model based on the difference information and the initial model.

6. The method of claim 5, wherein, The step of determining a standard model based on the difference information and the initial model comprises the following steps: determining a confidence level of the difference information, the confidence level of the difference information being determined based on the number of discharge information of the reference battery and the number of the reference battery; if the confidence level is greater than a preset threshold, determining a standard model based on the difference information and the initial model.

7. The method of claim 1, wherein, The step of obtaining specification information of the target battery comprises at least one of the following: obtaining specification information stored in a power management chip of the target battery; obtaining user input specification information; obtaining local specification information.

8. An electrical quantity measuring device, characterized by The method comprises the following steps: a specification information obtaining module is configured to obtain specification information of a target battery, the specification information comprising internal resistance, rated capacity, working temperature range, full charge voltage and low charge voltage; an initial model establishing module is configured to establish an initial model of the target battery based on the specification information; The battery information acquisition module is configured to acquire battery information of the target battery in an open circuit state, the battery information comprising an open circuit voltage and an open circuit internal resistance; The discharge information acquisition module is configured to acquire discharge information of the target battery when connected to a load, the discharge information comprising a discharge voltage, a discharge current, and a working temperature corresponding to a curve relationship with respect to time; The use model generation module is configured to generate a use model of the target battery based on the battery information and the discharge information; The standard model determination module is configured to determine a standard model based on the use model and the initial model; The working information acquisition module is configured to acquire working information of the target battery, the working information comprising a working voltage, a working current, and a working temperature of the target battery when connected to a load; The residual capacity determination module is configured to determine a residual capacity of the target battery based on the working information and the standard model.

9. An electronic device, comprising: The electronic device comprises: at least one processor; a memory; at least one application, wherein the at least one application is stored in the memory and configured to be executed by the at least one processor, and the at least one application is configured to execute the method for measuring the capacity according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, comprising: a computer program stored in the memory and capable of being loaded and executed by the processor to execute the method for measuring the capacity according to any one of claims 1-7.

Citation Information

Patent Citations

  • Online estimation method for power of vehicle-mounted lead-acid storage battery based on CHVT model

    CN107861073A

  • Battery cell model generation method, battery cell voltage acquisition method, corresponding devices and battery management system

    CN109143092A