A battery internal resistance detection circuit

By using a low-cost battery internal resistance detection circuit, capacitor C7 and operational amplifier U3 are used to filter out the DC component, and microcontroller U2 is used to collect the battery internal resistance. This solves the problems of complex circuits, high cost and large battery damage in the existing technology, and realizes low-damage and high-precision battery internal resistance detection.

CN225032185UActive Publication Date: 2026-11-27深圳市伟创业科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522435665.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-11-27
Estimated Expiration
2035-11-17

AI Technical Summary

Technical Problem

Existing battery internal resistance detection methods suffer from problems such as complex circuits, high costs, and significant battery damage, making it difficult to meet the application requirements of low-cost and portable devices.

Method used

A low-cost battery internal resistance detection circuit is adopted, including a discharge module, a microcontroller, a signal amplification module, and a DC blocking and AC passing module. The DC component is filtered out by capacitor C7, the signal is amplified by operational amplifier U3, and the microcontroller U2 collects the battery internal resistance through ADC. Combined with the current limiting voltage divider circuit and the low dropout linear regulator U1 for power supply, low-damage and high-precision detection is achieved.

Benefits of technology

It achieves low-cost, low-damage, and highly integrated battery internal resistance detection, suitable for portable devices, reducing circuit complexity and component count, and improving measurement accuracy and power efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN225032185U_ABST
    Figure CN225032185U_ABST
Patent Text Reader

Abstract

The utility model provides a kind of battery internal resistance detection circuit, including discharge module, single-chip microcontroller;The discharge module discharges under the control of single-chip microcontroller to be measured battery, and the internal resistance of the battery to be measured is calculated by the signal of the battery to be measured collected by the single-chip microcontroller;When the signal of the battery to be measured is collected by the single-chip microcontroller, it further includes signal amplification module to the signal to be collected is amplified, when the signal of the battery to be measured to be collected is input signal amplification module, it is also provided with direct through intermodulation module.The utility model discloses a kind of low-cost, low-damage, high-integration battery internal resistance detection circuit, solve the technical pain points of complex circuit, high cost, big battery damage in prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of battery performance testing technology, specifically to a low-cost, high-precision battery internal resistance testing circuit. Background Technology

[0002] Battery internal resistance is a key parameter for assessing battery state of health (SOH), and existing detection methods mainly include DC discharge and AC injection methods. Among them:

[0003] DC discharge method: The DC discharge method is a classic method to calculate the internal resistance of a battery by measuring the voltage change during a short discharge. The battery open-circuit voltage, load voltage and discharge current are measured separately. The internal resistance of the battery is obtained by dividing the voltage difference (open-circuit voltage - load voltage) by the discharge current.

[0004] AC injection method: A stable frequency and small amplitude AC current is injected into the two ends of the battery. The AC voltage and AC current of the injected signal, as well as the phase difference between them, are measured simultaneously by the instrument. According to Ohm's law for AC circuits, the equivalent impedance is obtained by dividing the measured voltage amplitude by the current amplitude. If more precise analysis is required, the phase difference can also be combined to distinguish the resistive component (ohmic internal resistance) and the reactive component (related to polarization internal resistance).

[0005] DC discharge methods measure voltage drop through instantaneous high-current discharge, but suffer from drawbacks such as inability to detect voltage drop online and high current damage to battery life. AC injection methods require dedicated AC constant current sources and lock-in amplifier chips, resulting in complex circuitry and high costs, making them unsuitable for low-cost applications. Existing improved solutions often rely on external filtering and amplification modules, which suffer from significant signal interference and low integration, failing to meet the application requirements of portable devices. Therefore, there is an urgent need for a low-cost, low-damage, and highly integrated battery internal resistance detection solution to address the technical pain points of existing technologies, such as complex circuitry, high cost, and significant battery damage. Utility Model Content

[0006] The purpose of this invention is to provide a low-cost, high-precision battery internal resistance detection circuit.

[0007] The technical solution adopted by this utility model to achieve its technical objective is as follows: a battery internal resistance detection circuit, including a discharge module and a microcontroller; the discharge module discharges the battery under test under the control of the microcontroller, and the microcontroller calculates the internal resistance of the battery under test by collecting the signal of the battery under test; when the microcontroller collects the signal of the battery under test, a signal amplification module is also included to amplify the signal to be collected; when the signal of the battery under test is input to the signal amplification module, a DC blocking and AC passing module is also provided.

[0008] Furthermore, in the aforementioned battery internal resistance detection circuit: the DC blocking and AC passing module includes a capacitor C7, which is disposed between the anode of the battery and the signal amplification module.

[0009] Furthermore, in the aforementioned battery internal resistance detection circuit, the capacitor C7 has a value of 4.7uF.

[0010] Furthermore, in the aforementioned battery internal resistance detection circuit: the signal amplification module uses operational amplifier U3 for amplification; when the signal from the battery to be acquired is applied to the non-inverting input of operational amplifier U3 after passing through the DC blocking and AC passing module, a working voltage VDD is also applied; when the inverting input of operational amplifier U3 is connected to the output of operational amplifier U3 via a series resistor R3, it is also grounded through a series resistor R2; the output of operational amplifier U3 forms the output of the signal amplification module, which is connected to the ADC acquisition module of the microcontroller.

[0011] Furthermore, in the aforementioned battery internal resistance detection circuit: when the operating voltage VDD is applied to the non-inverting input of the operational amplifier U3, a voltage divider circuit is also included. The voltage divider circuit includes resistors R5 and R10. The operating voltage VDD is grounded after being connected in series with resistors R5 and R10. The common terminal of resistors R5 and R6 is connected to the non-inverting input of the operational amplifier U3. The resistance value of resistor R10 is much smaller than that of resistor R5.

[0012] Furthermore, the battery internal resistance detection circuit described above also includes a capacitor C9, which is connected in parallel across the resistor R10.

[0013] Furthermore, in the aforementioned battery internal resistance detection circuit: the discharge module includes an N-channel MOSFET QA1 and a resistor R8. The drain of the N-channel MOSFET QA1 is connected to the load resistor R6 and then to the positive terminal of the battery, the source is grounded, and the gate receives the PWM signal from the microcontroller to achieve periodic switching discharge; the resistor R8 is connected between the gate and the source of the N-channel MOSFET QA1 to form a gate pull-down resistor.

[0014] Furthermore, in the aforementioned battery internal resistance detection circuit: the microcontroller used is a microcontroller U2 with an internal 12-bit ADC, operational amplifier, and multiple I / O pins, model number N32G031K8Q7;

[0015] The microcontroller U2 outputs a PWM signal through its I / O port PA8 to control the discharge module to discharge; PA6 and PA1 serve as the input terminals of the ADC acquisition module, connected to the signal amplification module and the anode of the battery under test.

[0016] Furthermore, in the aforementioned battery internal resistance detection circuit: when the anode of the battery under test is received at the IO port PA1 of the microcontroller U2, a current-limiting voltage divider circuit is also included; the current-limiting voltage divider circuit includes resistors R9, R4, R7, and capacitor C8; the anode of the battery under test is grounded after being connected to resistor R4 in series with resistor R9, and the common terminal of resistors R4 and R9 is connected to the IO port PA1 of the microcontroller U2 through resistor R7, and capacitor C8 is connected between the IO port PA1 of the microcontroller U2 and ground; the resistance values ​​of resistors R9 and R4 are the same, and are much larger than the resistance value of resistor R7.

[0017] Furthermore, the aforementioned battery internal resistance detection circuit also includes a power supply module that generates a working voltage VDD using the battery under test. The power supply module includes a low-dropout linear regulator U1, which is an MD7133H LDO. The anode of the battery under test is connected to the Vin pin of the LDO, and the Vout pin of the LDO forms the output working voltage VDD. The Vin and Vout pins of the LDO are grounded through a 1uF capacitor C1 and a 4.7uF capacitor C2, respectively.

[0018] This invention provides a low-cost, low-damage, and highly integrated battery internal resistance detection circuit, addressing the technical pain points of existing technologies such as complex circuits, high costs, and significant battery damage.

[0019] In addition, this invention uses a capacitor C7 instead of an expensive filter, which reduces the cost and allows the battery under test to be powered directly without the need for a separate power supply.

[0020] The present invention will be further described below with reference to the accompanying drawings and specific embodiments. Attached Figure Description

[0021] Appendix Figure 1 This is a block diagram of the battery internal resistance detection circuit in Embodiment 1 of this utility model;

[0022] Appendix Figure 2 This is a schematic diagram of the discharge circuit in Embodiment 1 of this utility model;

[0023] Appendix Figure 3 This is a schematic diagram of the signal amplification module circuit in Embodiment 1 of this utility model;

[0024] Appendix Figure 4 This is a schematic diagram of the microcontroller and peripheral circuit of Embodiment 1 of this utility model;

[0025] Appendix Figure 5 This is a schematic diagram of the power module circuit of Embodiment 1 of this utility model. Detailed Implementation

[0026] like Figure 1As shown: This embodiment is a battery internal resistance detection circuit, a low-cost, low-damage, and highly integrated battery internal resistance detection circuit that solves the technical pain points of complex circuits, high costs, and significant battery damage in existing technologies. It consists of a power supply module, a discharge control module, a DC blocking and AC passing module, a signal amplification module, and a microcontroller control and acquisition module. The power supply module, discharge module, and microcontroller are commonly used modules in existing technologies for measuring battery internal resistance. The discharge module discharges the battery under test under the control of the microcontroller, which calculates the internal resistance of the battery by acquiring its signal. In this embodiment, a signal amplification module is also included to amplify the acquired signal when the microcontroller acquires the signal from the battery under test. A DC blocking and AC passing module is also provided when the signal from the battery under test is input to the signal amplification module.

[0027] Separating and connecting modules, such as Figure 3 As shown, capacitor C7 is included. Capacitor C7 is positioned between the anode B+ of the battery and the signal amplification module, and its value is 4.7uF. In this embodiment, one end of capacitor C7 is connected to the positive terminal B+ of the battery, and the other end is connected to the non-inverting input terminal of the operational amplifier. The AC voltage signal generated by periodic discharge can pass through C7 to achieve DC blocking and AC passing, avoiding DC component interference with subsequent acquisition.

[0028] Signal amplification module such as Figure 3 As shown, operational amplifier U3 is used for amplification. When the signal from the battery under test is input to the non-inverting input of operational amplifier U3 after passing through a DC-blocking AC-passing module, a working voltage VDD is also applied. When the inverting input of operational amplifier U3 is connected to its output via a series resistor R3, it is also grounded through a series resistor R2. The output of operational amplifier U3 forms the output OUT of the signal amplification module, which is connected to the ADC acquisition module of the microcontroller. A voltage divider circuit is also included when the working voltage VDD is applied to the non-inverting input of operational amplifier U3. This voltage divider circuit includes resistors R5 and R10. The working voltage VDD is grounded after being connected in series through resistors R5 and R10. The common terminal of resistors R5 and R6 is connected to the non-inverting input of operational amplifier U3. The resistance of resistor R10 is much smaller than that of resistor R5. A capacitor C9 is also included, connected in parallel across resistor R10.

[0029] In this embodiment, operational amplifier U3 is used to amplify the signal. The non-inverting input is connected to the discharge signal acquisition point through capacitor C7, where capacitor C7 acts as DC blocking and AC passing. The inverting input is connected to GND through resistor R2 and to the output of the operational amplifier through resistor R3. The amplification circuit is formed by a feedback network consisting of resistors R2 and R3. The output of the operational amplifier, OUT, is connected to the microcontroller's ADC acquisition module. Resistors R5 and R10 provide a bias voltage to the non-inverting input through a resistor divider, avoiding the influence of the operational amplifier's offset voltage.

[0030] Discharge module such as Figure 2 As shown, the system includes an N-channel MOSFET QA1 and a resistor R8. The drain of the N-channel MOSFET QA1 is connected to the load resistor R6 and then to the positive terminal of the battery, while the source is grounded. The gate receives the PWM signal from the microcontroller to achieve periodic switching and discharging. The resistor R8 is connected between the gate and source of the N-channel MOSFET QA1 to form a gate pull-down resistor. In this embodiment, the N-channel MOSFET QA1, the gate pull-down resistor R8, the drain of the MOSFET connected to the load resistor and then to the positive terminal B+ of the battery, the source grounded to GND, and the gate receiving the PWM signal from the microcontroller enable periodic charging and discharging.

[0031] Microcontroller and peripheral circuits such as Figure 4 As shown, in this embodiment, the microcontroller used is a N32G031K8Q7 microcontroller U2, which has an internal 12-bit ADC, operational amplifier, and multiple I / O pins. The PA8 pin of the microcontroller U2 outputs a PWM signal to control the discharge module's discharge. PA6 and PA1 serve as the input terminals of the ADC acquisition module, connected to the signal amplification module and the anode B+ of the battery under test. When the anode B+ of the battery under test is received at the PA1 pin of the microcontroller U2, a current-limiting voltage divider circuit is also included. This circuit includes resistors R9, R4, R7, and capacitor C8. The anode B+ of the battery under test is grounded via resistor R9 in series with resistor R4. The common terminal connecting resistors R4 and R9 is connected to the PA1 pin of the microcontroller U2 via resistor R7. Capacitor C8 is connected between the PA1 pin of the microcontroller U2 and ground. Resistors R9 and R4 have the same resistance value, which is much larger than that of resistor R7.

[0032] In this embodiment, the microcontroller used is an N32G031K8Q7, which has an internal 12-bit ADC, multiple operational amplifiers, and multiple I / O interfaces. As the core of the circuit, I / O port PA8 outputs a high level to turn on the discharge module QA1, generating an AC discharge signal. To control the periodic discharge of the discharge circuit, PA8 outputs a PWM signal. After the DC component is filtered out by capacitor C7, it is amplified by the operational amplifier. The microcontroller controls the ADC to acquire the amplified signal, obtaining the digital value of the discharge state voltage, which is then converted into the actual voltage. When the microcontroller outputs a low level, the MOSFET QA1 in the discharge circuit is turned off, stopping the discharge. The circuit then contains only background noise, which is amplified by the DC-blocking capacitor C7 and the operational amplifier before being acquired by the ADC to obtain the numerical value of the non-discharge state voltage, which is then converted into the actual voltage. The voltage is divided by resistors R11 and R12, filtered by resistor R13 and capacitor C7, and then sent to the microcontroller's ADC for acquisition and calculation of the battery voltage and discharge current. Finally, a complete internal resistance detection is completed by calculating the difference / amplification factor / discharge current. The microcontroller repeats the above steps at a fixed cycle to achieve continuous monitoring of the battery's internal resistance.

[0033] In this embodiment, a power module that generates the operating voltage VDD using the battery under test is described; the power module is as follows: Figure 5 As shown, the system includes a low-dropout linear regulator (LDO) U1, which is a model MD7133H. The anode B+ of the battery under test is connected to the Vin pin of the LDO, and the Vout pin of the LDO forms the output operating voltage VDD. The Vin and Vout pins of the LDO are grounded through capacitors C1 (1uF) and C2 (4.7uF), respectively. In this embodiment, a 3.3V LDO is used to power the microcontroller. The LDO input is directly connected to the positive terminal of the battery, and the input and output are filtered by capacitors C1 and C2, respectively.

[0034] In this embodiment, the DC component of the battery is filtered out by blocking DC and passing AC through capacitor C7, and then amplified by an operational amplifier to improve the measurement accuracy. The periodic discharge mode significantly reduces power consumption compared to the existing continuous discharge mode, making it suitable for portable low-power scenarios. Compared to the AC injection method, it significantly reduces costs, requires fewer components, and occupies less PCB area.

[0035] In other embodiments: the switching transistor QA1 can be replaced with other types of MOSFETs, and the discharge resistor can be replaced with other resistor values ​​to measure batteries with different series numbers. Furthermore, the ratio of resistor R3 to resistor R2 can be modified to adapt to different ADC ranges (e.g., 1.8V, 5V). Only the op-amp parameters need to be reconfigured in software; no hardware modifications are required.

[0036] The microcontroller model can also be replaced with other microcontrollers with internal operational amplifiers or ADCs, such as STM32G031K8U6, GD32G031K8U6, etc. Only the pin mapping needs to be adjusted, such as changing QA1 control to other I / O ports, and using the internal operational amplifier to amplify the signal. The core functions are completely the same.

Claims

1. A battery internal resistance detection circuit, comprising a discharge module and a microcontroller; wherein the discharge module discharges the battery under test under the control of the microcontroller, and the microcontroller calculates the internal resistance of the battery under test by acquiring the signal from the battery under test; characterized in that: The microcontroller also includes a signal amplification module to amplify the signal when it acquires the signal of the battery under test. When the signal of the battery under test is input to the signal amplification module, a DC blocking and AC passing module is also provided.

2. The battery internal resistance detection circuit according to claim 1, characterized in that: The DC blocking and AC passing module includes a capacitor C7, which is disposed between the anode (B+) of the battery and the signal amplification module.

3. The battery internal resistance detection circuit according to claim 2, characterized in that: The capacitor C7 has a value of 4.7uF.

4. The battery internal resistance detection circuit according to claim 1, characterized in that: The signal amplification module uses operational amplifier U3 for amplification; when the signal from the battery under test is input to the non-inverting input of operational amplifier U3 after passing through the DC blocking and AC passing module, the operating voltage VDD is also applied; when the inverting input of operational amplifier U3 is connected to the output of operational amplifier U3 via series resistor R3, it is also grounded through series resistor R2; the output of operational amplifier U3 forms the output (OUT) of the signal amplification module, which is connected to the ADC acquisition module of the microcontroller.

5. The battery internal resistance detection circuit according to claim 4, characterized in that: When the operating voltage VDD is applied to the non-inverting input of the operational amplifier U3, a voltage divider circuit is also included. The voltage divider circuit includes resistors R5 and R10. The operating voltage VDD is grounded after being connected in series with resistors R5 and R10. The common terminal of resistors R5 and R6 is connected to the non-inverting input of the operational amplifier U3. The resistance value of resistor R10 is much smaller than that of resistor R5.

6. The battery internal resistance detection circuit according to claim 5, characterized in that: It also includes capacitor C9, which is connected in parallel across resistor R10.

7. The battery internal resistance detection circuit according to claim 1, characterized in that: The discharge module includes an N-channel MOSFET QA1 and a resistor R8. The drain of the N-channel MOSFET QA1 is connected to the load resistor R6 and then to the positive terminal of the battery, while the source is grounded. The gate receives the PWM signal from the microcontroller to achieve periodic charging and discharging. The resistor R8 is connected between the gate and the source of the N-channel MOSFET QA1 to form a gate pull-down resistor.

8. The battery internal resistance detection circuit according to claim 1, characterized in that: The microcontroller used is a microcontroller U2 with model number N32G031K8Q7, which has an internal 12-bit ADC, operational amplifier and multiple I / O; The microcontroller U2 outputs a PWM signal through its IO port PA8 to control the discharge module to discharge; PA6 and PA1 are connected to the signal amplification module and the anode (B+) of the battery under test as input terminals of the ADC acquisition module.

9. The battery internal resistance detection circuit according to claim 8, characterized in that: When the IO port PA1 of the microcontroller U2 receives the anode (B+) of the battery under test, a current-limiting voltage divider circuit is also included. The current-limiting voltage divider circuit includes resistors R9, R4, R7 and capacitor C8. The anode (B+) of the battery under test is grounded after being connected to resistor R4 in series with resistor R9. The common terminal of resistors R4 and R9 is connected to the IO port PA1 of the microcontroller U2 through resistor R7. Capacitor C8 is connected between the IO port PA1 of the microcontroller U2 and ground. The resistance values ​​of resistors R9 and R4 are the same and much larger than the resistance value of resistor R7.

10. The battery internal resistance detection circuit according to any one of claims 1 to 9, characterized in that: It also includes a power supply module that generates a working voltage VDD using the battery under test; the power supply module includes a low dropout linear regulator U1, which is an MD7133H LDO; the anode (B+) of the battery under test is connected to the Vin of the LDO, and the Vout of the LDO forms the output working voltage VDD. The Vin and Vout pins of the LDO are grounded through a 1uF capacitor C1 and a 4.7uF capacitor C2, respectively.