A battery power detection method

By using the test chip in lithium battery power detection to establish the correspondence between the power and the detection voltage and applying it to the application chip, the problem of complex and poor accuracy of power detection in the prior art is solved, and simplified, accurate and low-cost power detection is achieved.

CN119758131APending Publication Date: 2025-04-04SHENZHEN KANDAO TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411990028.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

In the prior art, the power detection of lithium batteries is calculated under the condition of loading of the battery, and the open circuit voltage is reversed, resulting in complex calculation methods and poor accuracy.

Method used

By forming a first detection circuit, the voltage of the battery to be detected is detected using a test chip, and the corresponding relationship between the power quantity and the detection voltage change area is established. Then, the test chip is replaced with an application chip, and the power quantity is determined using the second detection voltage and the corresponding relationship.

Benefits of technology

The battery capacity detection process of lithium batteries is simplified, the cost is reduced, and the accuracy and simplicity of detection is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119758131A_ABST
    Figure CN119758131A_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a battery power detection method, which is applied to the field of battery technology. First, the actual application environment of the battery to be detected is simulated by a test chip, and the first corresponding relationship between the power of the battery to be detected and the detection voltage change area is obtained by the test chip in the first detection circuit. When the test chip is replaced with the application chip used in the actual application, the second detection voltage of the battery to be detected in the application environment (i.e., in the second detection circuit) can be detected, and then the power of the battery to be detected can be obtained by combining the first corresponding relationship. This process only involves the corresponding calculation between the detection voltage and the power of the battery to be detected, and the process is relatively simple and the cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of batteries, and in particular to a battery power detection method. Background Art

[0002] The power meter is used to measure the battery power, such as the percentage of the remaining battery power to the total power. For lithium battery power detection, the open circuit voltage detection method is usually used, that is, the voltage across the battery when no current flows in the circuit is detected. The method of measuring the open circuit voltage is relatively simple. However, in actual applications, the battery is usually not in an open circuit state, so the power detection is calculated when the battery is loaded, and the open circuit voltage of the battery is reversed to calculate the power. Therefore, the calculation method is relatively complicated and the accuracy of the calculated power is poor. Summary of the invention

[0003] The embodiments of the present invention provide a battery power detection method, device and storage medium, which simplify the power detection of a lithium battery.

[0004] An embodiment of the present invention provides a battery power detection method, including:

[0005] Forming a first detection circuit for a battery to be detected, wherein the first detection circuit includes a test chip and the battery to be detected;

[0006] Detecting a first detection voltage of the battery to be detected in the first detection circuit, and obtaining a first corresponding relationship between the power level of the battery to be detected and a detection voltage variation region of the battery to be detected according to the first detection voltage;

[0007] Replacing the test chip in the first detection circuit with an application chip to form a second detection circuit, and detecting a second detection voltage of the battery to be detected in the second detection circuit;

[0008] The power level of the battery to be detected under the application chip is determined according to the second detection voltage and the first corresponding relationship.

[0009] Another aspect of the present invention provides a battery power detection method, including:

[0010] Detecting a second detection voltage of a battery to be detected in a second detection circuit where the application chip is located; wherein the second detection circuit includes the application chip and the battery to be detected;

[0011] Acquire a preset first corresponding relationship between the power level of the battery to be detected and the detection voltage change region of the battery to be detected;

[0012] The power level of the battery to be detected under the application chip is determined according to the second detection voltage and the first corresponding relationship.

[0013] It can be seen that in the method of this embodiment, the actual application environment of the battery to be tested is first simulated by the test chip, and the first corresponding relationship between the power of the battery to be tested and the detection voltage change area is obtained by the test chip in the first detection circuit, so that when the test chip is replaced with the application chip used in the actual application, the power of the battery to be tested can be obtained by detecting the second detection voltage of the battery to be tested in the application environment (i.e., in the second detection circuit) and then combining the first corresponding relationship. This process only involves the corresponding calculation between the detection voltage and the power of the battery to be tested, and the process is relatively simple and the cost is low. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0015] Figure 1 is a schematic diagram of a first detection circuit in an embodiment of the present invention;

[0016] Figure 2 is a flow chart of a battery power detection method provided by an embodiment of the present invention;

[0017] Figure 3a is a circuit diagram of a first detection circuit in an embodiment of the present invention;

[0018] Figure 3b is a circuit diagram of a second detection circuit in an embodiment of the present invention;

[0019] Figure 4 is a flow chart of a battery power detection method in a specific application embodiment of the present invention;

[0020] Figure 5 is a flow chart of a battery power detection method provided by another embodiment of the present invention;

[0021] Figure 6 It is a logical structure diagram of a battery power detection device provided by an embodiment of the present invention;

[0022] Figure 7 It is a schematic diagram of the logical structure of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION

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

[0024] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a nominal order or precedence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] The embodiment of the present invention provides a battery power detection method, which can mainly detect the power of any battery (especially lithium battery), thereby simplifying the battery power detection process, mainly based on the following Figure 1 The first detection circuit shown in the figure is used for detection, and the first detection circuit includes a test chip 10 and a battery to be detected 11. Specifically, when implementing, the battery to be detected 11 can be connected to a connector 12, and then the connector 12 is connected to the terminal of the test chip 10 through a battery line, so that the test chip 10 and the battery to be detected 11 can form a discharge circuit, that is, the first detection circuit, and the test chip 10 serves as a load in the first detection circuit. Wherein:

[0026] The processor in the test chip 10 can detect the voltage of the battery 11 to be tested, and can obtain the power of the battery 11 to be tested through the voltage of the battery 11 to be tested. The power here refers to the percentage of the remaining power of the battery 11 to be tested to the total power. Specifically, it can be achieved through the following steps:

[0027] A first detection circuit for a battery 11 to be detected is formed, wherein the first detection circuit includes a test chip 10 and a battery to be detected, and the battery 11 to be detected is discharged at a first rated power; a first detection voltage of the battery 11 to be detected in the first detection circuit is detected, and a first corresponding relationship between the power level of the battery 11 to be detected and a detection voltage variation region of the battery to be detected is obtained according to the first detection voltage; the test chip 10 in the first detection circuit is replaced with an application chip to form a second detection circuit, and a second detection voltage of the battery 11 to be detected in the second detection circuit is detected; and the power level of the battery 11 to be detected under the application chip is determined according to the second detection voltage and the first corresponding relationship.

[0028] The test chip 10 is a chip used in a test environment, and a first rated power of the test chip 10 can be set; and the application chip is a chip actually used in an application environment.

[0029] Thus, in this embodiment, the actual application environment of the battery to be tested is first simulated by the test chip 10, and the first corresponding relationship between the power of the battery to be tested 11 and the detection voltage change area is obtained by the test chip 10 in the first detection circuit, so that when the test chip 10 is replaced with the application chip used in the actual application, the power of the battery to be tested 11 can be obtained by detecting the second detection voltage of the battery to be tested 11 in the application environment (i.e., in the second detection circuit) and then combining the first corresponding relationship. This process only involves the corresponding calculation between the detection voltage and the power of the battery to be tested, and the process is relatively simple and the cost is low.

[0030] An embodiment of the present invention provides a battery power detection method, which is mainly a method performed by a battery power detection device. Figure 1 The first detection circuit shown in the figure performs power detection. The flowchart of the battery power detection method of this embodiment is as follows Figure 2 As shown, including:

[0031] Step 101, forming a first detection circuit of a battery to be detected, wherein the first detection circuit includes a test chip and a battery to be detected, and the battery to be detected is discharged at a first rated power.

[0032] Specifically, the battery to be tested can be connected to the test chip to form a discharge loop, which is the first detection circuit. Figure 1 The first detection circuit shown, wherein the test chip serves as a load in the circuit to simulate the load of the battery to be tested in an actual application environment. Specifically, the test chip may include a processor for detecting the voltage in the first detection circuit, and the rated power of the test chip is the first rated power.

[0033] Step 102, detecting a first detection voltage of the battery to be detected in the first detection circuit, and obtaining a first corresponding relationship between the power level of the battery to be detected and a detection voltage variation region of the battery to be detected according to the first detection voltage.

[0034] It can be understood that in order to form the first detection circuit, the battery to be detected and the test chip need to be connected through battery lines, connectors, etc., so that there will be a certain voltage difference Vd between the ground level of the test chip and the negative electrode of the battery to be detected, so that the first detection voltage of the battery to be detected obtained by the processor of the test chip will be different from the actual voltage of the battery to be detected, and this difference is proportional to the discharge current of the battery to be detected. The main reason for the voltage difference Vd is: due to the ground resistance of the test chip, the contact resistance of the terminal, the resistance of the battery line and the contact resistance of the connector, a certain voltage division is caused. Specifically:

[0035] The circuit diagram of the first detection circuit formed above can be as follows Figure 3a As shown, it includes a battery to be tested, a resistor R1, a resistor R2, a resistor R3 and a test chip connected in series, wherein in the first detection circuit, in addition to the battery to be tested and the test chip, other device resistors used to connect the circuit, such as resistors R1, R2 and R3, are connected between the system ground of the test chip and the negative electrode of the battery to be tested. Specifically, resistor R1 is the resistance generated by the power supply wiring of the test chip, resistor R2 is the contact resistance of the connector, and resistor R3 is the resistance of the battery line. R1+R2+R3 is usually a constant. For example, in one case, after physical measurement, R1+R2+R3 can be 191 milliohms. Resistor Rb is the internal resistance of the battery to be tested, and the first detection voltage V of the battery to be tested measured by the processor in the test chip is adc It can be expressed by the following formula 1, and the actual voltage V of the battery to be tested bat There is a certain voltage difference between:

[0036] V adc =V bat +(R1+R2+R3)*I bat

[0037] =V bat +(R1+R2+R3)*(P m1 / V adc ) (1)

[0038] Among them, P m1 The first rated power of the battery to be tested, such as 2740mw, is also the rated power of the test chip. bat is the discharge current of the battery to be tested.

[0039] Since the battery to be tested is discharged at the first rated power, the power consumption of the battery to be tested is also uniform. When the battery to be tested completes the release of all the power, its first detection voltage changes from V1 to V2. The detection voltage change area corresponding to each part of the power can be evenly set based on the discharge time. For example, if 100% of the power is released during 100 minutes of discharge, 1% of the power is released every minute. The first detection voltage corresponding to each minute before and after is the detection battery voltage change area corresponding to the 1% power. Therefore, the corresponding relationship between the power of the battery to be tested and the detection voltage change area of ​​the battery to be tested can be obtained.

[0040] For example:……

[0041] {4043,4053,92}, / *92%* /

[0042] {4053,4063,93}, / *93%* /

[0043] {4063,4073,94}, / *94%* /

[0044] …

[0045] Step 103: Replace the detection chip in the first detection circuit with an application chip to form a second detection circuit, and detect a second detection voltage of the battery to be detected in the second detection circuit.

[0046] Specifically, according to the connection mode of the detection chip in the first detection circuit, the detection chip is replaced with the application chip, so that the second detection circuit is formed. The application chip can be a chip of any application, such as photography, video, etc. In this way, the connection mode of the second detection circuit where the application chip is located is as follows: Figure 3b As shown above Figure 3a The connection of the test chip shown in the first detection circuit is similar, except that a different chip is used as the discharge load.

[0047] Step 104: determining the power level of the battery to be detected under the application chip according to the second detection voltage and the first corresponding relationship.

[0048] Specifically, based on the difference between the second rated power of the application chip and the first rated power of the test chip, when determining the power of the battery to be tested under the application chip, the following situations may be included:

[0049] (1) The second rated power of the application chip is the same as the first rated power.

[0050] The electric quantity corresponding to the detection voltage variation region where the second detection voltage is located can be directly determined according to the first corresponding relationship, which is the electric quantity of the battery to be detected under the application chip.

[0051] (2) The second rated power of the application chip is different from the first rated power.

[0052] The second detection voltage can be compensated according to the second corresponding relationship to obtain a compensated voltage; then, according to the first corresponding relationship, the power corresponding to the detection voltage change region where the compensated voltage is located is determined as the power of the battery to be detected under the application chip. The second corresponding relationship is the corresponding relationship between the first detection voltage and the first rated power of the battery to be detected.

[0053] Specifically, when compensating the second detection voltage:

[0054] If the second rated power is greater than the first rated power, the difference between the second rated power and the first rated power is calculated, based on the compensation voltage caused by the resistance of other devices used to connect the circuit in the second detection circuit except the application chip and the battery to be detected; the sum of the second detection voltage and the compensation voltage is used as the compensated voltage.

[0055] If the second rated power is less than the first rated power, the difference between the first rated power and the second rated power is calculated, based on the compensation voltage caused by the resistance of other devices used to connect the circuit in the second detection circuit except the application chip and the battery to be detected; the difference between the second detection voltage and the compensation voltage is used as the compensated voltage.

[0056] It should be noted that when the application chip is not operating at the first rated power, the resistors used to connect the circuit in the second detection circuit other than the application chip and the battery to be detected, such as resistors R1-R3, will have different power losses, and thus the remaining power of the battery to be detected and the detected second detection voltage do not conform to the above-mentioned first correspondence relationship, and it is necessary to first perform voltage compensation on the detected second detection voltage.

[0057] For example, as shown in FIG3 , when the second rated power of the application chip is the same as the first rated power, the second detection voltage detected can be expressed by the above formula 1. Then, when the second rated power P m2 Greater than the first rated power P m1 When the second detection voltage V adc After compensation, the voltage V adc ', the compensated voltage can be expressed by the following formula 2:

[0058] V adc '=V adc +(R1+R2+R3)*[(P m2 -P m1 ) / V adc ] (2)

[0059] Among them, the second rated power Pm2 Greater than the first rated power P m1 When the resistors R1 to R3 increase the voltage division of the detected second detection voltage, the voltage division of the battery to be detected decreases, and the power of the battery to be detected is relatively small. In this case, the second detection voltage needs to be increased for compensation.

[0060] When the second rated power P m2 Less than the first rated power P m1 When the second detection voltage V adc After compensation, the voltage V adc ', the compensated voltage can be expressed by the following formula 3:

[0061] V adc '=V adc -(R1+R2+R3)*[(P m1 -P m2 ) / V adc ] (3)

[0062] Among them, the second rated power P m2 Less than the first rated power P m1 When the resistors R1 to R3 decrease the voltage division of the detected second detection voltage, the voltage division of the battery to be detected increases, and then the power of the battery to be detected will be too large. In this case, the second detection voltage needs to be reduced to compensate.

[0063] It should also be noted that the above steps 101 to 104 are to simulate the actual application scenario through a detection chip with a rated power of the first rated power, so as to determine the power of the battery to be detected in the actual application scenario. In other specific embodiments, the value of the first rated power can be adjusted to obtain the adjusted first rated power, and the detection chip with the adjusted first rated power can be used to simulate the actual application scenario to determine the power of the battery to be detected in the actual application scenario. Specifically, it is necessary to return to execute the above steps 102 to 104 based on the adjusted first rated power, that is, to execute the steps of detecting the first detection voltage of the battery to be detected in the above-mentioned first detection circuit, obtaining the first corresponding relationship, detecting the second detection voltage of the battery to be detected in the second detection circuit, and determining the power of the battery to be detected under the application chip.

[0064] It can be seen that in the method of this embodiment, the actual application environment of the battery to be tested is first simulated by the test chip, and the first corresponding relationship between the power of the battery to be tested and the detection voltage change area is obtained by the test chip in the first detection circuit, so that when the test chip is replaced with the application chip used in the actual application, the second detection voltage of the battery to be tested in the application environment (i.e., in the second detection circuit) can be detected, and then combined with the first corresponding relationship to obtain the power of the battery to be tested. This process only involves the corresponding calculation between the detection voltage and the power of the battery to be tested, and the process is relatively simple and the cost is low.

[0065] The following is a specific application example to illustrate the battery power detection method of the present invention. Figure 4 As shown, the method of this embodiment includes:

[0066] Step 201, forming a first detection circuit of a battery to be detected, wherein the first detection circuit includes a test chip and a battery to be detected, and the battery to be detected is discharged at a first rated power. In this embodiment, the first rated power is specifically 2740mw.

[0067] Step 202, detecting a first detection voltage of the battery to be detected in the first detection circuit, and obtaining a first corresponding relationship between the power level of the battery to be detected and a detection voltage variation region of the battery to be detected according to the first detection voltage.

[0068] Step 203, replace the detection chip in the first detection circuit with an application chip to form a second detection circuit, and detect the second detection voltage of the battery to be detected, wherein the application chip includes multiple application modes, and the second rated power in each application mode is different, such as standby, video recording, photo taking and playback application modes.

[0069] The second detection voltage detected here is a second detection voltage obtained in an application mode (ie, in the second detection circuit).

[0070] Step 204, determine the relationship between the second rated power of the application chip and the first rated power of the above-mentioned test chip. When the first rated power is the same as the second rated power, execute step 205; when the second rated power is greater than the first rated power, execute step 206; when the second rated power is less than the first rated power, execute step 207.

[0071] Step 205 , according to the first corresponding relationship, determining the electric quantity corresponding to the detection voltage variation region where the second detection voltage is located, which is the electric quantity of the battery to be detected under the application chip.

[0072] Step 206, calculate the difference between the second rated power and the first rated power, based on the compensation voltage caused by the resistor used to connect the circuit in the second detection circuit except the application chip and the battery to be detected, take the sum of the second detection voltage and the compensation voltage as the compensated voltage, and according to the above-mentioned first corresponding relationship, determine the power corresponding to the detection voltage change area where the compensated voltage is located, which is the power of the battery to be detected under the application chip.

[0073] Step 207, calculate the difference between the first rated power and the second rated power, based on the compensation voltage caused by the resistor used to connect the circuit other than the application chip and the battery to be detected in the second detection circuit, take the difference between the second detection voltage and the compensation voltage as the compensated voltage, and according to the above-mentioned first corresponding relationship, determine the power corresponding to the detection voltage change area where the compensated voltage is located, which is the power of the battery to be detected under the application chip.

[0074] Another embodiment of the present invention provides a battery power detection method, which is mainly a method performed by a battery power detection device. The flowchart of the battery power detection method of this embodiment is as follows: Figure 5 As shown, including:

[0075] Step 301, detecting a second detection voltage of a battery to be detected in a second detection circuit where the application chip is located; wherein the second detection circuit includes the application chip and the battery to be detected, and the battery to be detected is discharged at a second rated power.

[0076] The second rated power here can be the rated power of the application chip. Generally, the application chip can operate in multiple modes under specific application environments. The second rated power of each mode can be different. The second detection voltage detected in this step is the second rated power in any operating mode.

[0077] Step 302: Acquire a first corresponding relationship between a preset power level of the battery to be detected and a detection voltage variation region of the battery to be detected.

[0078] In this embodiment, the first corresponding relationship is preset in the battery power detection device. Specifically, when the first corresponding relationship is preset, the application chip in the second detection circuit is replaced with the test chip to form a first detection circuit, and the first detection voltage of the battery to be detected in the first detection circuit is detected, and the first corresponding relationship between the power of the battery to be detected and the detection voltage change area of ​​the battery to be detected is obtained according to the first detection voltage; finally, the first corresponding relationship is preset in the battery power detection device.

[0079] It should be noted that the first detection circuit can be as follows Figure 1As shown, in addition to the difference between the test chip and the application chip, the other devices used to connect the circuits in the first detection circuit and the second detection circuit, including connectors, battery lines, etc., are kept as the same as possible, so that the first corresponding relationship obtained by the first detection circuit can be used to subsequently determine the power level under the application chip and provide accurate guidance, thereby making the determined power level more accurate.

[0080] It should also be noted that the above-mentioned process of obtaining the first corresponding relationship is obtained by simulating the actual application scenario by using a detection chip with a rated power of the first rated power. In other specific embodiments, the value of the first rated power can be adjusted to obtain the adjusted first rated power, and the detection chip with the adjusted first rated power can be used to simulate the actual application scenario to obtain the first corresponding relationship.

[0081] Step 303: Determine the power level of the battery to be detected under the application chip according to the second detection voltage and the first corresponding relationship.

[0082] Since the battery to be detected is discharged at the first rated power in the first detection circuit, there is a second corresponding relationship between the first detection voltage of the battery to be detected and the first rated power, specifically as shown in the above formula 1, when determining the power of the battery to be detected under the application chip:

[0083] If the second rated power of the application chip is the same as the first rated power, the power corresponding to the detection voltage variation region where the second detection voltage is located is directly determined according to the first corresponding relationship as the power of the battery to be detected under the application chip.

[0084] If the second rated power of the application chip is different from the first rated power, it is necessary to first compensate the second detection voltage according to the second corresponding relationship to obtain the compensated voltage, and then determine the power corresponding to the detection voltage change area where the compensated voltage is located according to the first corresponding relationship, which is the power of the battery to be detected under the application chip;

[0085] Among them, if the second rated power is greater than the first rated power, the compensated voltage is: the difference between the second rated power and the first rated power, the compensation voltage caused by the resistance of other devices used to connect the circuit (including connecting wires, connectors, etc.) in the second detection circuit except the application chip and the battery to be detected; and the sum of the second detection voltage, as shown in the above formula 2.

[0086] If the second rated power is less than the first rated power, the compensated voltage is: the difference between the first rated power and the second rated power, the compensation voltage caused by the resistance of other devices used to connect the circuit in the second detection circuit except the application chip and the battery to be detected; and the difference obtained by subtracting the compensation voltage from the second detection voltage, as shown in the above formula 3.

[0087] It can be seen that in the battery power detection method of this embodiment, it is only necessary to preset the first correspondence between the power of the battery to be detected and the detection voltage change area in the battery power detection device in advance, so that in the second detection circuit including the application chip and the battery to be detected in actual application, the power of the battery to be detected can be obtained by detecting the second detection voltage of the battery to be detected in the application environment and combining it with the first correspondence. This process only involves the corresponding calculation between the detection voltage and the power of the battery to be detected, and the process is relatively simple and the cost is low.

[0088] The present invention also provides a battery power detection device, the structure diagram of which is shown in FIG. Figure 6 As shown, it may specifically include:

[0089] The detection unit 20 is used to detect a second detection voltage of a battery to be detected in a second detection circuit where the application chip is located; wherein the second detection circuit includes the application chip and the battery to be detected.

[0090] The corresponding relationship unit 21 is used to obtain a preset first corresponding relationship between the power level of the battery to be detected and the detection voltage change area of ​​the battery to be detected.

[0091] The power determination unit 22 is used to determine the power of the battery to be detected under the application chip according to the second detection voltage detected by the detection unit 20 and the first corresponding relationship obtained by the corresponding relationship unit 21.

[0092] Furthermore, the battery power detection device of this embodiment may also include:

[0093] The preset unit 23 is used to replace the application chip in the second detection circuit with the test chip to form the first detection circuit; detect the first detection voltage of the battery to be detected in the first detection circuit, and obtain the first corresponding relationship between the power of the battery to be detected and the detection voltage change area of ​​the battery to be detected according to the first detection voltage; preset the first corresponding relationship. Then the above-mentioned corresponding relationship unit 21 mainly obtains the first corresponding relationship preset by the preset unit 23.

[0094] Furthermore, in the process of presetting the first corresponding relationship by the above-mentioned presetting unit 23, the battery to be detected in the first detection circuit is discharged at the first rated power, and there is a second corresponding relationship between the first detection voltage of the battery to be detected and the first rated power; then the power determination unit 22, when determining the power of the battery to be detected under the application chip, is specifically used to:

[0095] If the second rated power of the application chip is the same as the first rated power, then according to the first corresponding relationship, the power corresponding to the detection voltage change region where the second detection voltage is located is determined as the power of the battery to be detected under the application chip; if the second rated power of the application chip is different from the first rated power, then according to the second corresponding relationship, the second detection voltage is compensated to obtain a compensated voltage; according to the first corresponding relationship, the power corresponding to the detection voltage change region where the compensated voltage is located is determined as the power of the battery to be detected under the application chip;

[0096] Among them, if the second rated power is greater than the first rated power, the compensated voltage is: the difference between the second rated power and the first rated power, the compensation voltage caused by the resistance of other devices used to connect the circuit in the second detection circuit except the application chip and the battery to be detected; and the sum of the second detection voltage; if the second rated power is less than the first rated power, the compensated voltage is: the difference between the first rated power and the second rated power, the compensation voltage caused by the resistance of other devices used to connect the circuit in the second detection circuit except the application chip and the battery to be detected; and the difference obtained by subtracting the compensation voltage from the second detection voltage.

[0097] In this embodiment, it is only necessary to preset the first correspondence between the power of the battery to be detected and the detection voltage variation region in the battery power detection device in advance, so that in the second detection circuit including the application chip and the battery to be detected in actual application, the second detection voltage of the battery to be detected under the application environment can be detected by the detection unit 20, and then the power determination unit 22 can obtain the power of the battery to be detected by combining the second detection voltage with the first correspondence. This process only involves the corresponding calculation between the detection voltage and the power of the battery to be detected, and the process is relatively simple and the cost is low.

[0098] The embodiment of the present invention further provides a terminal device, the structural diagram of which is shown in FIG. Figure 7As shown, the terminal device may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 30 (for example, one or more processors) and memory 31, and one or more storage media 32 (for example, one or more mass storage devices) storing application programs 321 or data 322. Among them, the memory 31 and the storage medium 32 can be short-term storage or permanent storage. The program stored in the storage medium 32 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the terminal device. Furthermore, the central processing unit 30 can be configured to communicate with the storage medium 32 to execute a series of instruction operations in the storage medium 32 on the terminal device.

[0099] Specifically, the application 321 stored in the storage medium 32 includes an application for battery power detection, and the program may include the detection unit 20, the corresponding relationship unit 21, the power determination unit 22 and the preset unit 23 in the above-mentioned battery power device, which will not be described in detail here. Furthermore, the central processor 30 can be configured to communicate with the storage medium 32 and execute a series of operations corresponding to the application for battery power detection stored in the storage medium 32 on the terminal device.

[0100] The terminal device may also include one or more power supplies 33, one or more wired or wireless network interfaces 34, one or more input and output interfaces 35, and / or one or more operating systems 323, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, FreeBSD TM, etc.

[0101] The steps performed by the battery power detection device in the above method embodiment can be based on the Figure 7 The structure of the terminal device shown.

[0102] Another aspect of the present invention is to provide a computer-readable storage medium storing a plurality of computer programs, wherein the computer programs are suitable for being loaded and executed by a processor as described above. Figure 6 The battery power detection method performed by the battery power detection device shown.

[0103] A person skilled in the art may understand that all or part of the steps in the various methods of the above-mentioned embodiments may be completed by instructing the relevant hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0104] The above is a detailed introduction to a battery power detection method provided by an embodiment of the present invention. Specific examples are used in this article to illustrate the principle and implementation method of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A battery power detection method, characterized in that: include: Forming a first detection circuit for a battery to be detected, wherein the first detection circuit includes a test chip and the battery to be detected; Detecting a first detection voltage of the battery to be detected in the first detection circuit, and obtaining a first corresponding relationship between the power level of the battery to be detected and a detection voltage variation region of the battery to be detected according to the first detection voltage; Replacing the test chip in the first detection circuit with an application chip to form a second detection circuit, and detecting a second detection voltage of the battery to be detected in the second detection circuit; The power level of the battery to be detected under the application chip is determined according to the second detection voltage and the first corresponding relationship.

2. The method according to claim 1, characterized in that The battery to be detected is discharged at a first rated power in the first detection circuit, and the determining, according to the second detection voltage and the first corresponding relationship, the power of the battery to be detected under the application chip specifically includes: If the second rated power of the application chip is the same as the first rated power, the power corresponding to the detection voltage variation region where the second detection voltage is located is determined according to the first corresponding relationship as the power of the battery to be detected under the application chip.

3. The method according to claim 2, characterized in that There is a second corresponding relationship between the first detection voltage of the battery to be detected and the first rated power; The determining, according to the second detection voltage and the first corresponding relationship, the power of the battery to be detected under the application chip further includes: If the second rated power of the application chip is different from the first rated power, compensating the second detection voltage according to the second corresponding relationship to obtain a compensated voltage; According to the first corresponding relationship, the electric quantity corresponding to the detection voltage variation region where the compensated voltage is located is determined as the electric quantity of the battery to be detected under the application chip.

4. The method according to claim 3, characterized in that The compensating the second detection voltage according to the second corresponding relationship to obtain a compensated voltage specifically includes: If the second rated power is greater than the first rated power, calculating the difference between the second rated power and the first rated power, based on a compensation voltage caused by resistances of other devices used to connect the circuit in the second detection circuit except the application chip and the battery to be detected; The sum of the second detection voltage and the compensation voltage is used as the compensated voltage.

5. The method according to claim 3, characterized in that The compensating the second detection voltage according to the second corresponding relationship to obtain a compensated voltage specifically includes: If the second rated power is less than the first rated power, calculating the difference between the first rated power and the second rated power, based on a compensation voltage caused by resistances of other devices used to connect the circuit in the second detection circuit except the application chip and the battery to be detected; The difference between the second detection voltage and the compensation voltage is used as the compensated voltage.

6. The method according to any one of claims 1 to 5, characterized in that: The battery to be detected in the first detection circuit is discharged at a first rated power, and the method further includes: adjusting the value of the first rated power to obtain an adjusted first rated power; Based on the adjusted first rated power, the steps of detecting the first detection voltage of the battery to be detected in the first detection circuit, obtaining the first corresponding relationship, detecting the second detection voltage of the battery to be detected, and determining the power of the battery to be detected under the application chip are performed.

7. A battery power detection method, characterized in that: include: Detecting a second detection voltage of a battery to be detected in a second detection circuit where the application chip is located; wherein the second detection circuit includes the application chip and the battery to be detected; Acquire a preset first corresponding relationship between the power level of the battery to be detected and the detection voltage change region of the battery to be detected; The power level of the battery to be detected under the application chip is determined according to the second detection voltage and the first corresponding relationship.

8. The method according to claim 7, characterized in that Before obtaining a preset first corresponding relationship between the power level of the battery to be detected and the detection voltage change region of the battery to be detected, the method further includes: Replacing the application chip in the second detection circuit with a test chip to form a first detection circuit; Detecting a first detection voltage of the battery to be detected in the first detection circuit, and obtaining a first corresponding relationship between the power level of the battery to be detected and a detection voltage variation region of the battery to be detected according to the first detection voltage; The first corresponding relationship is preset.

9. The method according to claim 8, characterized in that In the first detection circuit, the battery to be detected is discharged at a first rated power, and there is a second corresponding relationship between a first detection voltage of the battery to be detected and the first rated power; Then, determining the power of the battery to be detected under the application chip according to the second detection voltage and the first corresponding relationship specifically includes: If the second rated power of the application chip is the same as the first rated power, determining, according to the first corresponding relationship, the power corresponding to the detection voltage change region where the second detection voltage is located, as the power of the battery to be detected under the application chip; If the second rated power of the application chip is different from the first rated power, the second detection voltage is compensated according to the second corresponding relationship to obtain a compensated voltage; according to the first corresponding relationship, the power corresponding to the detection voltage change area where the compensated voltage is located is determined, which is the power of the battery to be detected under the application chip.

10. The method according to claim 9, characterized in that If the second rated power is greater than the first rated power, the compensated voltage is: the difference between the second rated power and the first rated power, the compensation voltage caused by the resistance of other devices used to connect the circuit in the second detection circuit except the application chip and the battery to be detected, and the sum of the second detection voltage; If the second rated power is less than the first rated power, the compensated voltage is: the difference between the first rated power and the second rated power, the compensation voltage caused by the resistance of other devices used to connect the circuit in the second detection circuit except the application chip and the battery to be detected; and the difference obtained by subtracting the compensation voltage from the second detection voltage.

Citation Information

Cited By

  • Health assessment method and system for retired battery

    CN120254648A

  • Body fat scale and low power consumption detection method and device thereof, and program product

    CN121432236A