Battery electric quantity measuring circuit and device and battery electric quantity measuring meter

By connecting the current detection circuit and the main control chip in series in the battery charge and discharge circuit and combining it with voltage detection, the problem of inaccurate battery power measurement is solved, and more accurate and reliable battery power calculation is achieved.

CN223389874UActive Publication Date: 2025-09-26SHENZHEN MEIGEL BIOMEDICAL GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422206928.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2025-09-26
Estimated Expiration
2034-09-09

AI Technical Summary

Technical Problem

Existing battery capacity measurement methods lack accuracy in complex usage environments, especially when voltage changes under different current loads cannot fully reflect the actual capacity status, resulting in inaccurate capacity estimation.

Method used

The current detection circuit is connected in series in the battery charging and discharging circuit, combined with the main control chip to monitor the current value in real time, and combined with the voltage detection circuit to perform comprehensive analysis and calculate the remaining battery power.

Benefits of technology

It improves the accuracy and reliability of power measurement, adapts to different current loads and battery aging factors, and meets the needs of high-precision power measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223389874U_ABST
    Figure CN223389874U_ABST
Patent Text Reader

Abstract

The utility model discloses a battery electric quantity measuring circuit, a battery electric quantity measuring device and a battery electric quantity measuring meter, and relates to the technical field of electronic measurement, the battery electric quantity measuring circuit comprises a current detection circuit and a main control chip, the current detection circuit is arranged in a battery charging and discharging loop in series and is connected with the main control chip; the current detection circuit is used for detecting a current value in a battery charging and discharging loop in a battery charging and discharging process and transmitting the current value to the main control chip; and the main control chip is used for calculating the residual electric quantity of the battery based on the current value. Current change is monitored in real time, and the remaining capacity of the battery is calculated according to a current value. By means of the current detection mode, the inaccuracy of estimating the electric quantity only depending on voltage changes is avoided, especially when the current fluctuation is large, the accuracy and reliability of electric quantity measurement are ensured, and the technical problem that the electric quantity measurement of the battery is not accurate is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic measurement technology, and in particular to a battery power measurement circuit, device, and battery power meter. Background Art

[0002] With the widespread use of electronic devices, batteries, as the core power supply component of portable devices, have a significant impact on the user experience and lifespan of these devices. Accurately measuring the remaining battery charge is crucial to ensure proper device operation. Accurate battery charge measurement not only helps users manage device usage time but also prevents damage to the battery caused by overcharging or over-discharging.

[0003] In this context, existing technologies often use voltage measurement to estimate the remaining battery charge. This method measures the battery's terminal voltage and, in combination with its discharge curve, estimates the current state of charge. This method is simple and easy to implement, and can, to a certain extent, meet the device's power monitoring needs.

[0004] However, existing voltage measurement methods can suffer from inaccurate performance in complex environments. When a battery operates under varying current loads, voltage changes don't fully reflect its true state of charge, leading to inaccurate battery charge estimates. Furthermore, factors such as battery aging can also affect voltage measurement accuracy, making it difficult to meet the increasingly demanding demands for battery charge measurement accuracy. Utility Model Content

[0005] The main purpose of this application is to provide a battery power measurement circuit, device and battery power meter, aiming to solve the technical problem of inaccurate battery power measurement.

[0006] To achieve the above-mentioned object, the present application proposes a battery power measurement circuit, which includes: a current detection circuit and a main control chip;

[0007] The current detection circuit is arranged in series in the battery charge and discharge circuit and is connected to the main control chip;

[0008] The current detection circuit is used to detect the current value in the battery charging and discharging circuit during the battery charging and discharging process, and transmit the current value to the main control chip;

[0009] The main control chip is used to calculate the remaining power of the battery based on the current value.

[0010] In one embodiment, the current detection circuit includes: a sampling circuit and an operational amplifier circuit;

[0011] The sampling circuit is arranged in the battery charging and discharging circuit, the input end of the operational amplifier circuit is connected to the sampling circuit, and the output end of the operational amplifier circuit is connected to the main control chip;

[0012] The sampling circuit is used to measure the current value in the battery charging and discharging circuit;

[0013] The operational amplifier circuit is used to amplify the current value and output the amplified current value to the main control chip;

[0014] The main control chip is further used to calculate the remaining power of the battery based on the amplified current value.

[0015] In one embodiment, the sampling circuit includes: a sampling resistor;

[0016] One end of the sampling resistor is connected to the main control chip, and the other end of the sampling resistor is connected to the battery.

[0017] In one embodiment, the battery power measurement circuit further includes: a voltage detection circuit;

[0018] The voltage detection circuit is connected in parallel to both ends of the battery and is connected to the main control chip;

[0019] The voltage detection circuit is used to detect the terminal voltage of the battery during the charging and discharging process of the battery;

[0020] The main control chip is further used to calculate the remaining power of the battery based on the terminal voltage and the current value.

[0021] In one embodiment, the battery power measurement circuit further includes: a prompt circuit;

[0022] The prompt circuit is connected to the main control chip;

[0023] The main control chip is further configured to output a prompt signal to the prompt circuit when the remaining power of the battery is lower than a warning power threshold;

[0024] The prompt circuit is used to issue an early warning prompt when receiving the prompt signal.

[0025] In one embodiment, the battery power measurement circuit further includes: a filtering circuit:

[0026] One end of the filter circuit is connected to the output end of the current detection circuit, and the other end of the filter circuit is connected to the current input end of the main control chip;

[0027] The filtering circuit is used to filter out noise from the current value and output the current value after noise filtering to the main control chip.

[0028] In one embodiment, the battery power measurement circuit further includes: a switch circuit;

[0029] The switch circuit is arranged in series in the battery charge and discharge circuit and is connected to the main control chip;

[0030] The main control chip is further configured to generate an overcurrent signal when the current value is greater than a preset current value, and transmit the overcurrent signal to the switch circuit;

[0031] The switch circuit is used to disconnect the battery charging and discharging circuit when receiving the overcurrent signal.

[0032] In one embodiment, the battery power measurement circuit further includes: a display circuit;

[0033] The display circuit is connected to the main control chip;

[0034] The main control chip is further used to send the remaining power to the display circuit;

[0035] The display circuit is used to display the remaining power when receiving the remaining power.

[0036] In addition, to achieve the above-mentioned purpose, the present invention also provides a battery power measurement device, which includes the above-mentioned battery power measurement circuit.

[0037] In addition, to achieve the above-mentioned purpose, the present invention also provides a battery fuel consumption meter, which includes the above-mentioned battery fuel consumption measurement circuit.

[0038] One or more technical solutions proposed in this application have at least the following technical effects:

[0039] The present application provides a battery charge measurement circuit, device, and battery charge meter. The battery charge measurement circuit includes: a current detection circuit and a main control chip; the current detection circuit is arranged in series within the battery charge and discharge circuit and connected to the main control chip; the current detection circuit is used to detect the current value within the battery charge and discharge circuit during the battery charge and discharge process and transmit the current value to the main control chip; the main control chip is used to calculate the remaining battery charge based on the current value. This solution connects the current detection circuit in series within the battery charge and discharge circuit to monitor current changes in real time and transmit the data to the main control chip. The main control chip calculates the remaining battery charge based on the current value. This method avoids the inaccuracy of estimating charge based solely on voltage changes, especially when current fluctuates significantly, ensuring the accuracy and reliability of charge measurement. This solution can effectively solve the charge monitoring errors caused by current changes in the existing technology and achieve more accurate battery charge measurement. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0042] Figure 1 This is a functional module diagram of the first embodiment of the battery power measurement circuit proposed in the embodiment of the present utility model;

[0043] Figure 2 This is a functional module diagram of a second embodiment of a battery power measurement circuit proposed in an embodiment of the present utility model;

[0044] Figure 3 This is a functional module diagram of a third embodiment of a battery power measurement circuit proposed in an embodiment of the present invention.

[0045] Description of Figure Numbers:

[0046] Label name Label name 10 Main control chip 60 filter circuit 20 Current detection circuit 70 Switching Circuit 30 Battery 80 Display circuit 40 Voltage detection circuit 201 Sampling circuit 50 Prompt circuit 202 Op amp circuit

[0047] The purpose, features and advantages of this application will be further explained with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0048] 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 embodiments described 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 making creative efforts shall fall within the scope of protection of the present invention.

[0049] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture. If the specific posture changes, the directional indications will also change accordingly.

[0050] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features limited to "first" and "second" may explicitly or implicitly include at least one of such features. In addition, if "and / or" or "and / or" appears in the full text, its meaning includes three parallel schemes. Taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme in which A and B are satisfied at the same time. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is mutually contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0051] shown Figure 1 This is a functional module diagram of the first embodiment of the battery power measurement circuit proposed in an embodiment of the present invention. The functional module diagram of the first embodiment of the chip protection circuit includes: a main control chip 10, a current detection circuit 20 and a battery 30;

[0052] The current detection circuit 20 is arranged in series in the battery charge and discharge circuit and is connected to the main control chip 10;

[0053] The current detection circuit 20 is used to detect the current value in the battery charging and discharging circuit during the battery charging and discharging process, and transmit the current value to the main control chip 10;

[0054] It should be noted that in actual applications, the current detection circuit 20 may be implemented in the following specific ways: a sampling resistor plus an operational amplifier, a Hall effect sensor, a fluxgate sensor, etc., which can realize the current measurement of the charging circuit.

[0055] The main control chip 10 is used to calculate the remaining power of the battery based on the current value.

[0056] It should be noted that, in this embodiment, the functions of the main control chip 10 include:

[0057] Data acquisition: Regularly read the output of the current detection circuit;

[0058] Data processing: perform necessary conversion and calculation on the read current value;

[0059] Battery capacity measurement and calculation: Calculate the used capacity and remaining capacity based on the change of current over time.

[0060] That is, any electronic device or circuit structure that can realize the above functions can be used as a specific implementation of the main control chip 10 in this embodiment, such as a general microcontroller, FPGA, and low-power MCU.

[0061] In this embodiment, a solution combining a current detection circuit and a main control chip is adopted, in which the current detection circuit is arranged in series in the battery charging and discharging circuit and connected to the main control chip. Therefore, the current value can be detected in real time during the battery charging and discharging process and transmitted to the main control chip for processing, which effectively solves the problem of insufficient accuracy that may occur in the traditional method of relying solely on voltage measurement when facing complex usage environments, thereby achieving more accurate and reliable battery power measurement.

[0062] Specifically, this solution avoids the errors associated with relying solely on voltage estimation by directly measuring current, making it particularly suitable for situations with large current fluctuations. Based on the real-time current data received, the main control chip calculates the battery charge using the formula: Q = I * t, where Q represents the charge in coulombs (C), I represents the current in amperes (A), and t represents the time in seconds (s).

[0063] Based on the above calculation formula, the actual usage and remaining power of the battery can be calculated more accurately, thereby improving the accuracy and reliability of power estimation. This innovative design not only overcomes the defect that the voltage change when the battery is working under different current loads cannot fully reflect the actual power state, but also can adapt to the influence of factors such as battery aging, meeting the growing demand for high-precision power measurement. In general, this application improves the adaptability and reliability of the system while ensuring measurement accuracy through an innovative method that combines current detection with intelligent calculation.

[0064] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be described in detail later. Figure 2This is a functional module diagram of a second embodiment of a battery power measurement circuit proposed in an embodiment of the present utility model. This embodiment proposes a more specific implementation of the current detection circuit 20. As shown in the figure, the current detection circuit 20 includes: an operational amplifier circuit 202 and a sampling circuit 201, wherein the sampling circuit 201 includes: a voltage R1.

[0065] The sampling circuit is arranged in the battery charging and discharging circuit, the input end of the operational amplifier circuit 202 is connected to the sampling circuit 201, and the output end of the operational amplifier circuit 202 is connected to the main control chip 10;

[0066] One end of the sampling resistor R1 is connected to the main control chip, and the other end of the sampling resistor is connected to the battery 30;

[0067] It should be noted that in this embodiment, the sampling circuit is mainly composed of a sampling resistor. This sampling resistor is a precision low-resistance resistor, usually in the milliohm level, such as 0.1Ω or 0.01Ω. It is inserted in series with the battery's charge and discharge circuit.

[0068] The op amp circuit is composed of an operational amplifier. Its input is connected to the two ends of a sampling resistor to detect the voltage difference across it. Its output is connected to the main control chip. Its primary function is to amplify the tiny voltage signal on the sampling resistor to a level more easily processed by the main control chip.

[0069] The sampling circuit R1 is used to measure the current value in the battery charging and discharging circuit;

[0070] The operational amplifier circuit 202 is used to amplify the current value and output the amplified current value to the main control chip 10;

[0071] It should be noted that the specific current value measurement steps are as follows:

[0072] First, when the battery is charging or discharging, current flows through the sampling resistor. All current flowing into or out of the battery passes through the sampling resistor. The selection of the sampling resistor requires a balance between measurement accuracy and power loss. Smaller resistance values ​​result in lower power loss, but also place higher demands on the subsequent amplification circuit.

[0073] Then, according to Ohm's law, current passing through the sampling resistor produces a voltage drop across it, which is proportional to the current. Ohm's law states: V = I * R, where V is the voltage drop, I is the current, and R is the resistance value. For example, if the sampling resistor is 0.1Ω, a current of 1A will produce a voltage drop of 0.1V. This voltage drop is usually very small, ranging from a few millivolts to several hundred millivolts, depending on the current and the value of the sampling resistor. The sign of the voltage drop indicates the direction of the current: a positive value indicates charging, and a negative value indicates discharging.

[0074] Finally, the op amp circuit detects this voltage drop and amplifies it. An operational amplifier (op amp) is typically configured in differential amplifier mode. The op amp's two inputs are connected to the two ends of a sampling resistor to detect the voltage difference. The amplification factor is set by the resistor network in the op amp circuit; for example, it might be set to 10x or 20x. If the sampling resistor is 0.1Ω, a current of 1A produces a voltage drop of 0.1V, which, after 10x amplification, results in a 1V output.

[0075] The main control chip 10 is further used to calculate the remaining power of the battery 30 based on the amplified current value;

[0076] It should be noted that the specific calculation steps are as follows:

[0077] First, set a fixed sampling interval, such as 10 milliseconds or 100 milliseconds. Choosing this interval requires a balance between computational accuracy and system resource consumption. A shorter interval can capture more subtle current changes, but it increases the computational burden.

[0078] In addition, the op amp circuit continuously samples the voltage drop according to the sampling time interval. The system continuously detects the value of the voltage drop through the op amp circuit at the set time interval. The main control chip then converts the analog voltage signal into a digital value through the analog-to-digital converter (ADC). The conversion process may take several microseconds to several milliseconds, depending on the performance and settings of the ADC. The resolution of the ADC is usually 10 bits, 12 bits or higher, which determines the accuracy of the digital value. For example, an input voltage of 2V may be converted into a digital value of (2 / 3.3)*4095≈2482.

[0079] Then, the main control chip converts the digital value back to the actual current value based on the known sampling resistance value and amplification factor.

[0080] The conversion formula is: current = (ADC value / ADC full scale) * (ADC reference voltage / amplification factor) / sampling resistor value.

[0081] For example, if the ADC reading is 2048 (the midpoint of a 12-bit ADC), the ADC reference voltage is 3.3V, the amplification factor is 10, and the sampling resistor is 0.1Ω, then: Current = (2048 / 4095)*(3.3V / 10) / 0.1Ω≈1.65A.

[0082] Then, the charge and discharge power contribution value within each sampling time interval is calculated, and the calculation formula is: power contribution value = accurate charge and discharge current value * sampling time interval.

[0083] For example, if the current is 2A and the time interval is 0.1 seconds, the energy contribution is 0.2A / s (As).

[0084] This calculation method also distinguishes between charge (positive values) and discharge (negative values) contributions.

[0085] Then continue to accumulate the charge and discharge power contribution values ​​in each time interval. First, set a cumulative variable with an initial value of 0, and accumulate and add the charge and discharge power contribution values ​​of each time interval. This accumulation process will continue until the battery is fully or exhausted.

[0086] Then, calculate the total charge and discharge capacity. The total charge and discharge capacity is the absolute value of the accumulated capacity. If you need to distinguish between the charge and discharge capacity, you can accumulate the positive and negative values ​​respectively to get the charge and discharge capacity.

[0087] Finally, calculate the remaining available capacity of the battery: Assume that the total capacity of the battery is C (for example, 3000mAh).

[0088] If the current process is discharging: Remaining capacity = C - total discharged capacity;

[0089] If the current process is charging: Remaining capacity = capacity at last full charge + total charging capacity;

[0090] Furthermore, in order to more accurately measure the charge and discharge capacity of the battery, this embodiment also proposes a voltage detection circuit 40, as shown in the figure.

[0091] The voltage detection circuit 40 is connected in parallel to both ends of the battery 30 and is also connected to the main control chip 10;

[0092] It should be noted that the voltage detection circuit may be implemented in the following ways: a resistor voltage divider method, an operational amplifier buffer method, a digital voltmeter IC, and the like.

[0093] The voltage detection circuit 40 is used to detect the terminal voltage of the battery 30 during the battery charging and discharging process;

[0094] The main control chip 10 is further configured to calculate the remaining power of the battery based on the terminal voltage and the current value.

[0095] It should be noted that the main control chip 10 calculates the remaining battery power based on the terminal voltage and the current value in the following steps:

[0096] First, the terminal voltage and current values ​​are continuously monitored, i.e., battery voltage and current data are collected at predetermined intervals. The collected data is temporarily stored for subsequent processing.

[0097] Then, a dual evaluation is performed based on the terminal voltage and current values:

[0098] Voltage-based estimation: At each sampling time, the measured voltage is compared with a voltage-to-capacity comparison table. An estimated voltage-based capacity value is obtained through interpolation or table lookup.

[0099] Current integration method (see the aforementioned method for calculating the remaining charge of battery 30 based on the amplified current value): Calculate the time difference between two sampling times. Multiply this time difference by the average current to obtain the charge change during this period. Accumulate the charge changes and compare them to the total battery capacity to calculate the percentage change.

[0100] Afterwards, intelligent weight distribution is performed: the current size and change trend are analyzed.

[0101] In low current situations (such as standby mode), increase the weight of the voltage-based estimate.

[0102] In high current situations (such as rapid charge and discharge), increase the weight of the current integration method.

[0103] At the same time, a smoothing function (such as exponentially weighted moving average) is used to achieve a smooth transition between the two methods.

[0104] Finally, a comprehensive analysis is conducted:

[0105] The results of the voltage-based estimation and current integration methods are weighted averaged according to the determined weights. Necessary corrections are made, taking into account historical data trends, to output the final estimated remaining battery capacity.

[0106] In the embodiment of the present application, due to the use of a current detection circuit structure including a sampling circuit and an operational amplifier circuit, and a matching voltage detection circuit, it is possible to accurately measure the current and voltage during the battery charging and discharging process, effectively solving the problem of inaccurate power estimation in complex usage environments using the traditional single voltage measurement method, thereby achieving higher-precision and more reliable battery power measurement.

[0107] In general, in this embodiment, the sampling circuit (such as a sampling resistor) in the current detection circuit is arranged in series in the battery charge and discharge circuit, and can directly sense current changes, including charging current and discharging current. The operational amplifier circuit is connected to the sampling circuit, which can amplify the tiny current signal to a level that is easy to handle, thereby improving the sensitivity of current detection. This design significantly improves the accuracy of current measurement, especially in low current conditions, and can accurately capture current changes. By monitoring the current in real time, the main control chip can accurately calculate the charge and discharge amount of the battery, thereby more accurately estimating the remaining power. This method overcomes the limitations of traditional voltage measurement methods under different load conditions, especially in high current charging and discharging or pulse load conditions, and can still maintain a high degree of measurement accuracy.

[0108] In addition, this embodiment also introduces a voltage detection circuit, which is connected in parallel to both ends of the battery. This design enables the system to simultaneously obtain the terminal voltage information of the battery. The addition of the voltage detection circuit makes the power measurement no longer rely solely on current integration, but can be combined with the voltage curve characteristics for comprehensive analysis. This is of great significance for improving the accuracy of power estimation, especially when the battery is in an open circuit state or the current change is not obvious, the voltage information can provide an additional reference. Through dual monitoring of voltage and current, the system can better adapt to different usage scenarios and battery conditions, such as considering factors such as changes in battery internal resistance and temperature effects, thereby providing more accurate power estimation.

[0109] This integrated approach, combining current and voltage sensing, not only improves the accuracy of battery charge measurement but also enhances the system's adaptability to various usage scenarios. For example, when a battery is just starting to be used or nearing depletion, voltage changes are more pronounced, and voltage sensing can provide more valuable information. During normal battery usage, current integration can provide a more accurate estimate of charge changes. By combining the strengths of these two measurement methods through an intelligent algorithm, the system can select the optimal calculation model at different battery usage stages, maintaining a consistently high-precision charge estimate.

[0110] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those of the above-mentioned first and second embodiments can be referred to the above introduction and will not be described in detail later. Figure 3 This is a functional module diagram of a third embodiment of a battery power measurement circuit proposed in an embodiment of the present utility model. In order to remind the user to replenish power or adjust the power usage plan in time when the battery power is low, this embodiment proposes a prompt circuit 50;

[0111] The prompt circuit 50 is connected to the main control chip 10;

[0112] The main control chip 10 is further configured to output a prompt signal to the prompt circuit 50 when the remaining power of the battery is lower than the warning power threshold;

[0113] The prompt circuit 50 is used to issue an early warning prompt when receiving the prompt signal.

[0114] It should be noted that the specific implementation of the prompt circuit 50 can be: LED indicator light, buzzer prompt, vibration prompt, etc.

[0115] The early warning method can be as follows: real-time monitoring of the remaining battery power information is performed, and the prompt circuit is closely connected to the main control chip to receive the remaining battery power information in real time. Multiple early warning power thresholds are set in the main control chip, and corresponding prompts are triggered when the remaining power falls below these thresholds. Multiple early warning levels are also set, and the prompt intensity gradually increases as the power level further decreases.

[0116] Furthermore, in order to make the current value in the battery charge and discharge circuit more accurate and stable, thereby improving the accuracy of battery power measurement and calculation, this embodiment also proposes: a filter circuit 60;

[0117] One end of the filter circuit 60 is connected to the output end of the current detection circuit 20 , and the other end of the filter circuit is connected to the current input end of the main control chip 10 ;

[0118] The filter circuit 60 is used to filter out noise from the current value and output the current value after noise filtering to the main control chip 10 .

[0119] It should be noted that the specific implementation of the filter circuit 60 may be: RC low-pass filter, LC low-pass filter, active filter, etc.

[0120] According to different aspects, the filtering circuit 60 may have but is not limited to the following functions:

[0121] Noise identification and separation: The filter circuit analyzes the spectral characteristics of the current signal to identify the useful signal and noise components. Based on the frequency characteristics of the noise, the corresponding filter structure is designed to effectively separate the noise.

[0122] Signal Smoothing: For low-frequency noise or random fluctuations, the filter circuit smoothes the signal through averaging or integration operations. This helps reduce the impact of instantaneous fluctuations on current measurement and provides more stable readings.

[0123] Dynamic Range Optimization:

[0124] The filter circuit design takes into account the dynamic range of the battery current to ensure effective filtering under different operating conditions. Different filtering strategies are used for high and low current conditions to maintain measurement accuracy.

[0125] Furthermore, in order to prevent the situation where the charge and discharge current is too large and thus damages the circuits, this embodiment also proposes a switch circuit 70;

[0126] The switch circuit 70 is arranged in series in the battery charge and discharge circuit and is connected to the main control chip 10;

[0127] The main control chip 10 is further configured to generate an overcurrent signal when the current value is greater than a preset current value, and transmit the overcurrent signal to the switch circuit 70;

[0128] The switch circuit 70 is configured to disconnect the battery charge and discharge circuit upon receiving the overcurrent signal.

[0129] It should be noted that the specific implementation of the switch circuit 70 may be: a circuit structure including a MOSFET switch, a circuit structure including a relay switch, a multi-stage switch structure, etc.

[0130] Specifically, the switch circuit of this embodiment primarily implements overcurrent protection. This means the switch circuit monitors the charge and discharge current in real time through current detection. When the current exceeds a preset threshold, the switch is quickly disconnected, severing the current path. Multiple protection thresholds can also be configured to implement different levels of protection strategies.

[0131] Furthermore, in order to facilitate the user to understand the battery power status in real time, this example proposes: a display circuit 80;

[0132] The display circuit 80 is connected to the main control chip 10;

[0133] The main control chip 10 is further used to send the remaining power to the display circuit 80;

[0134] The display circuit 80 is configured to display the remaining power upon receiving the remaining power.

[0135] It should be noted that the specific implementation of the switch circuit 70 may be: a circuit structure including an LED digital tube, a circuit structure including an LCD character display module, a circuit structure including a TFT color liquid crystal display, etc.

[0136] Specifically, the display circuit 80 primarily collects and processes data from current detection, voltage detection, and other circuits through the main control chip. It updates key information such as the remaining battery charge and health status. Based on different usage scenarios, it selects the most relevant and important information for display. It also dynamically adjusts the displayed content and update frequency based on battery status and user operations. During normal use, the update frequency can be reduced to save energy, while in special conditions (such as low battery), the update frequency and display visibility can be increased.

[0137] In general, in this embodiment, multifunctional modules such as a prompt circuit, a filter circuit, a switch circuit, and a display circuit are integrated to form a comprehensive battery power monitoring and management system, effectively solving the shortcomings of traditional battery power measurement methods in terms of real-time performance, accuracy, safety, and user-friendliness, thereby achieving a more intelligent, reliable, and convenient battery usage experience. Specifically, the prompt circuit is connected to the main control chip. When the remaining battery power falls below a preset threshold, it can promptly issue an early warning signal, avoiding the risk of the device suddenly stopping due to power exhaustion and providing the user with sufficient reaction time. The introduction of the filter circuit effectively reduces noise interference during the current detection process, improves the measurement accuracy of the current value, and thus enhances the data reliability of the entire system. This is particularly important for devices used in complex electromagnetic environments, ensuring the accuracy of battery power measurement calculations. The design of the switch circuit greatly improves the safety performance of the system. By monitoring the charge and discharge current in real time, when it detects that the current exceeds the preset threshold, it can quickly disconnect the charge and discharge circuit, effectively preventing the occurrence of dangerous situations such as battery overcharging, over-discharging, or short circuiting, extending the battery life and improving the safety of use. The integration of the display circuit greatly enhances the user experience. By intuitively displaying the remaining battery power, users can understand the device's power status at any time and plan their usage time appropriately. The collaborative work of this multifunctional module not only improves the accuracy and reliability of battery management, but also enhances the intelligence level of the entire system. It provides users with comprehensive battery status monitoring and protection, can maintain stable performance in various complex usage environments, and meets the growing requirements of modern electronic devices for battery management systems.

[0138] An embodiment of the present application further provides a battery power measurement device, wherein the battery power measurement device is provided with the above-mentioned battery power measurement circuit.

[0139] An embodiment of the present application further provides a battery fuel consumption meter, in which the battery fuel consumption meter is provided with the above-mentioned battery fuel consumption measurement circuit.

[0140] The battery charge measurement device and battery charge meter provided in the embodiments of the present application are equipped with the above-mentioned battery charge measurement circuit, which can solve the technical problem of inaccurate battery charge measurement. Compared with the prior art, the beneficial effects of the battery charge measurement device and battery charge meter provided in the embodiments of the present application are the same as the beneficial effects of the battery charge measurement circuit provided in the above-mentioned embodiments, and are not further described here.

[0141] The above description is merely an exemplary embodiment of the present invention and does not limit the patent scope of the present invention. All equivalent structural transformations made using the contents of the present invention specification and drawings under the technical concept of the present invention, or direct / indirect application in other related technical fields are included in the patent protection scope of the present invention.

Claims

1. A battery power measurement circuit, characterized in that: The battery power measurement circuit includes: a current detection circuit and a main control chip; The current detection circuit is arranged in series in the battery charge and discharge circuit and is connected to the main control chip; The current detection circuit is used to detect the current value in the battery charging and discharging circuit during the battery charging and discharging process, and transmit the current value to the main control chip; The main control chip is used to calculate the remaining power of the battery based on the current value.

2. The battery capacity measurement circuit according to claim 1, wherein: The current detection circuit includes: a sampling circuit and an operational amplifier circuit; The sampling circuit is arranged in the battery charging and discharging circuit, the input end of the operational amplifier circuit is connected to the sampling circuit, and the output end of the operational amplifier circuit is connected to the main control chip; The sampling circuit is used to measure the current value in the battery charging and discharging circuit; The operational amplifier circuit is used to amplify the current value and output the amplified current value to the main control chip; The main control chip is further used to calculate the remaining power of the battery based on the amplified current value.

3. The battery power measurement circuit according to claim 2, wherein: The sampling circuit includes: a sampling resistor; One end of the sampling resistor is connected to the main control chip, and the other end of the sampling resistor is connected to the battery.

4. The battery capacity measurement circuit according to claim 2, wherein: The battery power measurement circuit further includes: a voltage detection circuit; The voltage detection circuit is connected in parallel to both ends of the battery and is connected to the main control chip; The voltage detection circuit is used to detect the terminal voltage of the battery during the charging and discharging process of the battery; The main control chip is further used to calculate the remaining power of the battery based on the terminal voltage and the current value.

5. The battery capacity measurement circuit according to claim 3, wherein: The battery power measurement circuit further includes: a prompt circuit; The prompt circuit is connected to the main control chip; The main control chip is further configured to output a prompt signal to the prompt circuit when the remaining power of the battery is lower than a warning power threshold; The prompt circuit is used to issue an early warning prompt when receiving the prompt signal.

6. The battery capacity measurement circuit according to claim 1, wherein: The battery power measurement circuit further includes: a filter circuit: One end of the filter circuit is connected to the output end of the current detection circuit, and the other end of the filter circuit is connected to the current input end of the main control chip; The filtering circuit is used to filter out noise from the current value and output the current value after noise filtering to the main control chip.

7. The battery capacity measurement circuit according to claim 1, wherein: The battery power measurement circuit further includes: a switching circuit; The switch circuit is arranged in series in the battery charge and discharge circuit and is connected to the main control chip; The main control chip is further configured to generate an overcurrent signal when the current value is greater than a preset current value, and transmit the overcurrent signal to the switch circuit; The switch circuit is used to disconnect the battery charging and discharging circuit when receiving the overcurrent signal.

8. The battery power measurement circuit according to claim 1, characterized in that: The battery power measurement circuit further includes: a display circuit; The display circuit is connected to the main control chip; The main control chip is further used to send the remaining power to the display circuit; The display circuit is used to display the remaining power when receiving the remaining power.

9. A battery capacity measuring device, characterized in that: The battery power measurement device comprises the battery power measurement circuit according to any one of claims 1 to 8.

10. A battery fuel gauge, characterized in that: The battery fuel gauge comprises the battery fuel measurement circuit according to any one of claims 1 to 8.