Charging control circuit and electronic equipment
By introducing a discharge circuit and a control module into the charging control circuit, the problem of inaccurate open-circuit voltage caused by polarization reaction during battery charging is solved, thereby improving the accuracy and efficiency of battery capacity estimation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-05
- Publication Date
- 2026-04-07
AI Technical Summary
In existing technologies, battery polarization reactions during battery charging lead to inaccurate open-circuit voltage, affecting the accuracy of battery capacity estimation. Furthermore, depolarization is time-consuming and has poor control performance.
A charging control circuit is adopted, which includes a charging circuit and a discharging circuit. The battery discharge is controlled during the charging process through a control module and a switch, which reduces the depolarization time and improves accuracy.
It significantly shortens battery depolarization time, improves the accuracy and efficiency of battery capacity estimation, and reduces charging downtime.
Smart Images

Figure CN121813646A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of electronic technology, specifically relating to a charging control circuit and an electronic device. Background Technology
[0002] With the development of smartphones and other smart devices, as well as new energy vehicles and energy storage systems, accurate estimation of battery health has become a core technology for ensuring the safe operation of these devices. Battery health is primarily calculated using a battery capacity algorithm. Currently, most fuel gauges calculate battery capacity using a two-point method: either by dividing the charging capacity between the start and end points of charging by the charging percentage, or by dividing the discharging capacity between the start and end points of discharging by the discharging percentage.
[0003] During battery charging, a polarization reaction occurs, which can lead to inaccurate readings of the battery's open-circuit voltage. This, in turn, results in inaccurate estimates of the remaining battery capacity, ultimately reducing the accuracy of the calculated battery capacity. Therefore, it is necessary to stop charging the battery before reading its open-circuit voltage to allow for depolarization.
[0004] However, in related technologies, battery depolarization takes a long time and the control effect of battery depolarization is poor, resulting in low accuracy of the final calculated battery capacity. Summary of the Invention
[0005] The purpose of this application is to provide a charging control circuit and electronic device that can improve the efficiency and accuracy of battery depolarization, thereby improving the accuracy of subsequent battery capacity estimation.
[0006] In a first aspect, embodiments of this application provide a charging control circuit, including: a charging circuit connected to a battery for charging the battery; and a discharging circuit connected to the battery for discharging the battery. The discharging circuit includes a control module and a first switch. The input terminal of the control module is connected to the charging circuit, and the output terminal of the control module is connected to the control terminal of the first switch. A first terminal of the first switch is connected to the battery, and a second terminal of the first switch is connected to the battery. The first terminal of the first switch is grounded. The control module controls the on and off states of the charging circuit and the battery by acquiring the states of the first switch. When the first switch is in the on state, the battery discharges through the discharging circuit.
[0007] Secondly, embodiments of this application provide an electronic device, including: a charging control circuit as described in the first aspect.
[0008] The charging control circuit provided in this embodiment includes a battery, a charging circuit, and a discharging circuit. The discharging circuit further includes a control module and a first switch. The charging circuit and the discharging circuit are both connected to the battery. The input terminal of the control module is connected to the charging circuit, and the output terminal of the control module is connected to the control terminal of the first switch. The first terminal of the first switch is connected to the battery, and the second terminal of the first switch is also connected to the battery. The first terminal of the first switch is grounded. During charging, the charging circuit charges the battery, and the discharging circuit discharges the battery. The control module controls the on / off state of the first switch by acquiring the states of the charging circuit and the battery. When the first switch is on, the battery discharges through the discharging circuit. Alternatively, the charging control circuit can be further modified by adding a discharging circuit, which includes a control module and a first switch. During battery charging, the control module controls the on / off state of the first switch by acquiring the states of the charging circuit and the battery. When the first switch is on, the battery discharges through the discharging circuit. In this way, during the charging process, based on the state of the charging circuit and the battery, the discharge circuit controls the battery discharge, which greatly reduces the time spent on battery depolarization and enables accurate control of the battery depolarization effect, improving the efficiency and accuracy of battery depolarization and facilitating the improvement of the accuracy of subsequent battery capacity estimation. Attached Figure Description
[0009] Figure 1 One of the schematic diagrams of the charging control circuit provided in the embodiments of this application;
[0010] Figure 2 A second schematic diagram of the charging control circuit provided in an embodiment of this application;
[0011] Figure 3 A schematic diagram of the charging circuit provided in an embodiment of this application;
[0012] Figure 4 A structural block diagram of an electronic device provided in an embodiment of this application.
[0013] Figure label:
[0014] 100 Charging control circuit, 102 Charging circuit, 104 Discharging circuit, 106 Charging chip, 108 Fuel meter, 110 Processing chip, 112 Power management chip, 114 Inverting amplifier circuit, 116 Amplifier, 118 Control module, 120 Battery, Q1 First switch, Q2 Second switch, R1 First resistor, R2 Second resistor, R3 Detection resistor, 200 Electronic equipment, 300 Charging device. Detailed Implementation
[0015] The embodiments of this application will now be described in detail. Examples of these embodiments are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0016] The terms "first" and "second" in the specification and claims of this application may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0017] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "connected" and "linked" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0018] The following is combined Figures 1-4 The charging control circuit and electronic device according to embodiments of this application will be described in detail.
[0019] like Figure 1 and Figure 2 As shown in the figure, this application embodiment provides a charging control circuit 100. The charging control circuit 100 includes a battery 120, a charging circuit 102, and a discharging circuit 104. The discharging circuit 104 further includes a control module 118 and a first switch Q1.
[0020] The charging circuit 102 is connected to the battery 120.
[0021] Optionally, the charging circuit 102 can also be connected to an external charging device 300, such as a charger. When the charging circuit 102 is connected to the charging device 300, the charging circuit 102 is used to obtain electrical energy from the charging device 300 and charge the battery 120.
[0022] Optionally, the discharge circuit 104 is connected to the charging circuit 102 and the battery 120, respectively.
[0023] Specifically, the input terminal of the control module 118 is connected to the charging circuit 102, the output terminal of the control module 118 is connected to the control terminal of the first switch Q1, the first terminal of the first switch Q1 is connected to the battery 120, the second terminal of the first switch Q1 is connected to the battery 120, and the first terminal of the first switch Q1 is grounded.
[0024] Optionally, the control module 120 controls the first switch Q1 to be turned on and off by acquiring the status of the charging circuit 102 and the battery 120.
[0025] Specifically, when the first switch Q1 is turned on, that is, when the first switch Q1 is in the on state, the battery 120 discharges through the discharge circuit 104, and the battery 120 can be discharged through the first switch Q1.
[0026] Optionally, the charging circuit 102 is also used to stop charging the battery 120 when a stop charging condition is triggered.
[0027] The charging stop conditions include a first charging stop condition and a second charging stop condition.
[0028] The first charging stop condition is triggered in the initial stage of charging the battery 120. At this time, the charging current of the battery 120 is small, and the battery 120 can be quickly depolarized by a short discharge, which can reduce the charging stop time of the battery 120.
[0029] Optionally, the second charging stop condition is triggered in the later stage of charging of battery 120, such as when charging ends or charging is interrupted.
[0030] Specifically, the first condition for stopping charging is: the change in battery charge of battery 120 is greater than the second value, and the change in battery charge is less than the third value.
[0031] The second and third values are both smaller values, with the second value being smaller than the third value.
[0032] In practical applications, those skilled in the art can set the specific values of the second and third values according to the actual situation, and no specific restrictions are imposed here.
[0033] For example, after battery 120 starts charging, if the change in battery 120's charge level reaches 1%, 2%, or 3%, the first charging stop condition is triggered. At this time, the charging current of battery 120 is relatively small, and rapid depolarization of battery 120 can be achieved through a brief discharge, thereby reducing the charging stop time of battery 120.
[0034] Optionally, the second charging stop condition is: the remaining charge of battery 120 is greater than or equal to the charging cutoff charge, or the charging circuit 102 is disconnected from the charging device 300. That is, the second charging stop condition is triggered when battery 120 completes charging or interrupts charging, i.e., when battery 120 ends the current charging cycle.
[0035] Thus, by controlling the battery 120 to stop charging for depolarization in the initial and later stages of charging, the accuracy of battery capacity calculation can be improved while reducing the charging stop time of the battery 120, thereby improving the charging efficiency of the battery 120.
[0036] Optionally, the discharge circuit 104 is further configured to: after the charging circuit 102 stops charging the battery 120, adjust the input voltage of the control terminal of the first switch Q1 according to the charging and discharging current of the battery 120, thereby adjusting the on-resistance of the first switch Q1 to control the discharge current of the battery 120. This enables accurate control of the depolarization effect of the battery 120, improves the depolarization accuracy of the battery 120, and facilitates improving the trigger rate and calculation accuracy of subsequent battery capacity estimation algorithms.
[0037] Understandably, a polarization reaction occurs during battery charging, causing the electrode potentials to deviate from the equilibrium potential, resulting in a higher open-circuit voltage. When charging stops, the battery's open-circuit voltage does not immediately return to the normal equilibrium potential but decreases slowly. This leads to inaccurate readings of the battery's open-circuit voltage during charging. However, battery capacity calculation requires consulting a modeling table based on the battery's open-circuit voltage to obtain the remaining battery capacity, and then calculating the capacity based on that remaining capacity. To improve the accuracy of battery capacity calculation, charging should be stopped before reading the battery's open-circuit voltage to depolarize the battery, allowing the open-circuit voltage to return to the equilibrium potential.
[0038] In related technologies, due to the large current during battery charging, battery polarization is severe, requiring a considerable amount of time for depolarization to ensure the open-circuit voltage returns to the equilibrium potential. This depolarization process is time-consuming. For example, each charging cycle requires two charging stops, each lasting more than 15 minutes, resulting in a total charging / discharging time exceeding half an hour. Furthermore, the depolarization control in these technologies is poor. If the user uses the device containing the battery or disconnects the battery from the charging device (such as a charger) during depolarization, the battery capacity estimation algorithm may fail to calculate or be unable to trigger, reducing the success rate and accuracy of battery capacity calculations.
[0039] Therefore, the charging control circuit 100 provided in this application embodiment adds a discharge circuit 104, which includes a control module 118 and a first switch Q1. During the charging process of the battery 120, the charging of the battery 120 is stopped, and the discharge circuit 104 controls the discharge of the battery 120. This allows the open-circuit voltage of the battery 120 to quickly recover to the equilibrium potential, thereby greatly reducing the time required for depolarization of the battery 120. The charging stop time of the battery 120 is shortened from half an hour to one or two minutes, or even to less than one minute, significantly improving the depolarization efficiency of the battery 120. Furthermore, during the depolarization process of the battery 120, the control module 120 controls the conduction and disconnection of the first switch Q1 by acquiring the state of the charging circuit 102 and the battery 120, thereby controlling the discharge of the battery 120. This enables accurate control of the depolarization effect of the battery 120, improving the depolarization accuracy of the battery 120 and facilitating the improvement of the trigger rate and calculation accuracy of the subsequent battery capacity estimation algorithm.
[0040] In practical applications, the charging control circuit 100 described above can be used in devices that use batteries as a power source, such as mobile phones, smartwatches, tablets and laptops, as well as electric vehicles, electric motorcycles and electric bicycles, etc., without any specific limitations.
[0041] The charging control circuit 100 of this embodiment includes a battery 120, a charging circuit 102, and a discharging circuit 104. The discharging circuit 104 further includes a control module 118 and a first switch Q1. The charging circuit 102 is connected to the battery 120, and the discharging circuit 104 is also connected to the battery 120. The input terminal of the control module 118 is connected to the charging circuit 102, and the output terminal of the control module 118 is connected to the control terminal of the first switch Q1. The first terminal of the first switch Q1 is connected to the battery 120, and the second terminal of the first switch Q1 is also connected to the battery 120. The first terminal of the first switch Q1 is grounded. During charging, the charging circuit 102 charges the battery 120, and the discharging circuit 104 discharges the battery 120. The control module 120 controls the on / off state of the first switch Q1 by acquiring the states of the charging circuit 102 and the battery 120. When the first switch Q1 is in the on state, the battery 120 discharges through the discharging circuit 104. The aforementioned charging control circuit 100 is supplemented with a discharging circuit 104. The discharging circuit 104 includes a control module 118 and a first switch Q1. During the charging process of the battery 120, the control module 120 controls the on / off state of the first switch Q1 by acquiring the states of the charging circuit 102 and the battery 120. When the first switch Q1 is on, the battery 120 discharges through the discharging circuit 104. Thus, during the charging process, based on the states of the charging circuit 102 and the battery 120, the battery 120 discharges through the discharging circuit 104. This significantly reduces the time required for depolarization of the battery 120 while also enabling accurate control of the depolarization effect, improving the efficiency and accuracy of battery depolarization and facilitating more accurate subsequent battery capacity estimation.
[0042] According to some embodiments of this application, optionally, such as Figure 1 , Figure 2 and Figure 3 As shown, the charging circuit 102 includes a charging chip 106, a detection resistor R3, a fuel gauge 108, and a processing chip 110.
[0043] The current input terminal Vbus of the charging chip 106 is used to connect to the charging device 300, such as a charger, and the ground terminal GND of the charging chip 106 and the negative terminal of the battery 120 are both grounded.
[0044] Optionally, when the charging chip 106 is connected to the charging device 300, the charging chip 106 is used to obtain electrical energy from the charging device 300 and charge the battery 120. The charging chip 106 is also used to control the charging state of the battery 120, that is, to control whether the battery 120 is charged.
[0045] Optionally, the first end of the sensing resistor R3 is connected to the current output terminal Vout1 of the charging chip 106, the second end of the first switch Q1, and the control module 118, respectively, and the second end of the sensing resistor R3 is connected to the positive terminal of the battery 120.
[0046] Optionally, the fuel gauge 108 is connected to both ends of the sensing resistor R3, and the fuel gauge 108 is used to detect the charging and discharging voltage and charging and discharging current of the battery 120 through the sensing resistor R3.
[0047] Optionally, the processing chip 110 is connected to the fuel gauge 108, the charging chip 106, and the discharging circuit 104, respectively.
[0048] In practical applications, the aforementioned processing chip 110 can specifically be a SOC (System on a Chip).
[0049] According to the charging control circuit 100 of this application embodiment, the charging circuit 102 includes a charging chip 106, a detection resistor R3, a fuel gauge 108, and a processing chip 110. The charging chip 106 is connected to the charging device 300, and its ground terminal GND and the negative terminal of the battery 120 are both grounded. The first end of the detection resistor R3 is connected to the current output terminal Vout1 of the charging chip 106, the second end of the first switch Q1, and the control module 118, respectively, and the second end of the detection resistor R3 is connected to the positive terminal of the battery 120. The fuel gauge 108 is connected to both ends of the detection resistor R3 and is used to detect the charging and discharging voltage and current of the battery 120 through the detection resistor R3. The processing chip 110 is connected to the fuel gauge 108, the charging chip 106, and the discharging circuit 104. This achieves charging control and management of the battery 120, facilitating data support for the subsequent depolarization process of the battery 120.
[0050] According to some embodiments of this application, optionally, during the charging process of battery 120, at the start of charging, charging chip 106 is connected to charging device 300, and processing chip 110 controls charging chip 106 to turn on, so that charging chip 106 outputs charging current, thereby charging battery 120. At this time, first switch Q1 is turned off.
[0051] Based on this, during the charging process of battery 120, battery 120 will generate a polarization reaction. When the first charging stop condition is triggered, the processing chip 110 controls the charging chip 106 to turn off, so that the charging chip 106 stops charging battery 120. The processing chip 110 also controls the discharge circuit 104 to work, so as to control the first switch Q1 to turn on through the control module 118, so that battery 120 discharges through the first switch Q1, thereby depolarizing battery 120.
[0052] During the depolarization process of battery 120, processing chip 110 monitors the open-circuit voltage change rate of battery 120. If the open-circuit voltage change rate is less than a first value, it determines that battery 120 has completed depolarization. At this time, processing chip 110 controls control module 118 to stop working, thereby turning off the first switch Q1 and stopping battery 120 from discharging. Based on this, processing chip 110 reads the current first open-circuit circuit of battery 120 and looks up the corresponding modeling table based on the first open-circuit voltage to obtain the current first remaining charge of battery 120.
[0053] Specifically, the first value mentioned above can be 0.03mV / s. Those skilled in the art can set the specific value of the first value according to the actual situation, and no specific restrictions are imposed here.
[0054] After obtaining the first remaining charge of battery 120, processing chip 110 controls charging chip 106 to turn on, so that charging chip 106 continues to charge battery 120, and battery 120 will still produce polarization reaction.
[0055] Based on this, when the second charging stop condition is triggered, the processing chip 110 controls the charging chip 106 to turn off again, so that the charging chip 106 stops charging the battery 120 again. The processing chip 110 will also control the discharge circuit 104 to work again, so as to control the first switch Q1 to turn on through the control module 118, so that the battery 120 discharges again through the first switch Q1, thereby depolarizing the battery 120 again.
[0056] During the depolarization process of battery 120, processing chip 110 monitors the open-circuit voltage change rate of battery 120 again. If the open-circuit voltage change rate is less than the first value mentioned above, it determines that battery 120 has completed depolarization again. At this time, processing chip 110 controls control module 118 to stop working again, thereby turning off the first switch Q1 and stopping battery 120 from discharging again. Based on this, processing chip 110 reads the current second open-circuit voltage of battery 120 and looks up the corresponding modeling table based on the second open-circuit voltage to obtain the current second remaining capacity of battery 120.
[0057] Optionally, the processing chip 110 also reads the integral value of the current from when the fuel gauge 108 is triggered by the first charging stop condition to when the second charging stop condition is triggered. The integral value of the current is used to indicate the capacity change of the battery 120 from when the first charging stop condition is triggered to when the second charging stop condition is triggered. Based on this, the processing chip 110 then determines the battery capacity of the battery 120 according to the first remaining capacity, the second remaining capacity, and the integral value of the current, in order to assess the health of the battery 120.
[0058] In practical applications, the processing chip 110 can calculate the battery capacity of the battery 120 using the following formula:
[0059] Qmax=Qpass / △SOC=Qpass / (SOC2-SOC1);
[0060] Where Qmax represents the battery capacity, Qpass represents the current integral value mentioned above, that is, the capacity change value of battery 120 from the first charging stop condition being triggered to the second charging stop condition being triggered, ΔSOC represents the charge change value of battery 120 from the first charging stop condition being triggered to the second charging stop condition being triggered, SOC1 represents the first remaining charge, and SOC2 represents the second remaining charge.
[0061] According to the charging control circuit 100 of this application embodiment, the processing chip 110 is specifically configured to: control the charging chip 106 to stop charging the battery 120 and control the battery 120 to discharge through the first switch Q1 when the first stop charging condition is triggered; monitor the open-circuit voltage change rate of the battery 120, and control the battery 120 to stop discharging when the open-circuit voltage change rate is less than a first value, and determine the first remaining charge of the battery 120 based on the first open-circuit voltage of the battery 120; control the charging chip 106 to continue charging the battery 120; and control the charging chip 110 to stop discharging when the second stop charging condition is triggered. 06. Stop charging battery 120 and control battery 120 to discharge through the first switch Q1; monitor the open-circuit voltage change rate of battery 120 again, and if the open-circuit voltage change rate is less than a first value, control battery 120 to stop discharging, and determine the second remaining capacity of battery 120 based on the second open-circuit voltage of battery 120; read the current integral value in the fuel gauge 108, which indicates the capacity change value of battery 120 from the triggering of the first stop charging condition to the triggering of the second stop charging condition; determine the battery capacity of battery 120 based on the first remaining capacity, the second remaining capacity, and the current integral value. In this way, by controlling the charging and discharging of battery 120, and controlling battery 120 to depolarize in the initial and later stages of charging, the remaining capacity of battery 120 is determined and the battery capacity is calculated. This improves the accuracy of battery capacity calculation, reduces the charging and discharging time of battery 120, and improves the charging efficiency of battery 120.
[0062] According to some embodiments of this application, optionally, such as Figure 1 As shown, the control module 118 includes a power management chip 112.
[0063] The input terminal of the power management chip 112 is connected to both the charging circuit 102 and the second terminal of the first switch Q1. The enable terminal and the communication terminal of the power management chip 112 are both connected to the charging circuit 102. The output terminal of the power management chip 112 is connected to the control terminal of the first switch Q1.
[0064] Specifically, such as Figure 1 As shown, the input terminal Vin of the power management chip 112 is connected to the first terminal of the detection resistor R3 and the second terminal of the first switch Q1, respectively. The enable terminal EN and the communication terminal SDA of the power management chip 112 are both connected to the processing chip 110. The output terminal Vout2 of the power management chip 112 is connected to the control terminal of the first switch Q1.
[0065] According to the charging control circuit 100 of this application embodiment, the control module 118 includes a power management chip 112. The input terminal of the power management chip 112 is connected to both the charging circuit 102 and the second terminal of the first switch Q1. The enable terminal and communication terminal of the power management chip 112 are both connected to the charging circuit 102. The output terminal of the power management chip 112 is connected to the control terminal of the first switch Q1. Thus, based on the power management chip 112, the discharge control of the battery 120 is implemented at the software level.
[0066] Optionally, according to some embodiments of this application, the charging circuit 102 is further configured to: stop charging the battery 120 and enable the power management chip 112 when a first stop charging condition or a second stop charging condition is triggered.
[0067] The first condition for stopping charging is: the change in battery charge of battery 120 is greater than the second value, and the change in battery charge is less than the third value.
[0068] Optionally, the second charging stop condition is: the remaining charge of the battery 120 is greater than or equal to the charging cutoff charge, or the charging circuit 102 is disconnected from the charging device 300.
[0069] Optionally, the power management chip 112 is used to: adjust the output voltage according to the charging current before the battery 120 stops charging, so as to control the input voltage of the first switch Q1 and control the discharge current of the battery 120.
[0070] Specifically, when charging battery 120, processing chip 110 controls charging chip 106 to turn on, so that charging chip 106 outputs charging current to charge battery 120. At this time, first switch Q1 is turned off, and power management chip 112 is turned off. When the first charging stop condition or the second charging stop condition is triggered, processing chip 110 controls charging chip 106 to turn off, so that charging chip 106 stops charging battery 120, and sends an enable signal to enable power management chip 112 to turn on. Furthermore, processing chip 110 sends a voltage control signal to communication terminal SDA of power management chip 112 based on the charging current output by charging chip 106 before battery 120 stops charging, to control the output voltage of power management chip 112, thereby controlling the input voltage of control terminal of first switch Q1, to control the on-resistance of first switch Q1, and thus control the discharge current of battery 120.
[0071] According to the charging control circuit 100 of this application embodiment, the charging circuit 102 is further configured to: stop charging the battery 120 and enable the power management chip 112 when a first or second charging stop condition is triggered; the power management chip 112 is configured to: adjust the output voltage according to the charging current before the battery 120 stops charging, so as to control the input voltage of the first switch Q1 and control the discharge current of the battery 120; wherein, the first charging stop condition is: the change in battery capacity is greater than a second value and the change in battery capacity is less than a third value; the second charging stop condition is: the remaining capacity of the battery 120 is greater than or equal to the charging cutoff capacity, or the charging circuit 102 is disconnected from the charging device 300. In this way, by dynamically adjusting the discharge current of the battery 120 based on the charging current before the battery 120 stops charging, thereby adjusting the discharge time of the battery 120, the depolarization effect of the battery 120 can be accurately controlled, thereby improving the accuracy of the battery 120 in depolarization, so as to improve the accuracy of subsequent battery capacity estimation.
[0072] According to some embodiments of this application, optionally, the charging circuit 102 is also used to: monitor the discharge voltage of the battery 120; and dynamically adjust the output voltage of the power management chip 112 according to the discharge voltage.
[0073] Specifically, during the depolarization process of battery 120, processing chip 110 monitors the discharge voltage of battery 120 by monitoring the voltage across detection resistor R3, and dynamically adjusts the output voltage of power management chip 112 according to the discharge voltage of battery 120.
[0074] It is understandable that adjusting the output voltage of the power management chip 112, i.e. adjusting the discharge current of the battery 120, will cause a change in the voltage across the detection resistor R3, thus achieving closed-loop control of the output voltage of the power management chip 112, i.e., achieving closed-loop control of the discharge current of the battery 120.
[0075] The output voltage of the power management chip 112 is negatively correlated with the discharge voltage. That is, when the discharge voltage of the battery 120 increases, the output voltage of the power management chip 112 decreases. At this time, the on-resistance of the first switch Q1 increases, which reduces the discharge current of the battery 120, thereby reducing the voltage across the detection resistor R3, i.e., the discharge voltage of the battery 120.
[0076] When the discharge voltage of battery 120 decreases, the output voltage of power management chip 112 increases. At this time, the conduction impedance of the first switch Q1 decreases, which increases the discharge current of battery 120, thereby increasing the voltage across detection resistor R3, i.e., the discharge voltage of battery 120.
[0077] According to the charging control circuit 100 of this application embodiment, the charging circuit 102 is further configured to: monitor the discharge voltage of the battery 120; and dynamically adjust the output voltage of the power management chip 112 according to the discharge voltage; wherein the output voltage of the power management chip 112 is negatively correlated with the discharge voltage. This achieves closed-loop control of the discharge current of the battery 120, compensating for current fluctuations caused by battery usage, improving the stability of the discharge current, enhancing the accuracy of battery depolarization, and improving the trigger rate and calculation accuracy of subsequent battery capacity estimation algorithms.
[0078] According to some embodiments of this application, optionally, such as Figure 2 As shown, the control module 118 includes an inverting amplifier circuit 114 and a second switch Q2.
[0079] The inverting amplifier circuit 114 is connected to the second terminal of the first switch Q1, the battery 120, and the charging circuit 102.
[0080] Optionally, the first terminal of the second switch Q2 is connected to the output terminal of the inverting amplifier circuit 114, the second terminal of the second switch Q2 is connected to the control terminal of the first switch Q1, the control terminal of the second switch Q2 is connected to the charging circuit 102, and the control terminal of the second switch Q2 is specifically connected to the processing chip 110.
[0081] The second switch Q2 serves as a control switch between the inverting amplifier circuit 114 and the first switch Q1, and is used to control whether the output voltage of the inverting amplifier circuit 114 can be input to the first switch Q1.
[0082] Optionally, the inverting amplifier circuit 114 is used to determine the output voltage based on the discharge current of the battery 120, and can transmit the output voltage to the control terminal of the first switch Q1 through the second switch Q2.
[0083] According to the charging control circuit 100 of this application embodiment, the control module 118 includes an inverting amplifier circuit 114 and a second switch Q2. The inverting amplifier circuit 114 is connected to the second terminal of the first switch Q1, the battery 120, and the charging circuit 102. The first terminal of the second switch Q2 is connected to the output terminal of the inverting amplifier circuit 114, the second terminal of the second switch Q2 is connected to the control terminal of the first switch Q1, and the control terminal of the second switch Q2 is connected to the charging circuit 102. The inverting amplifier circuit 114 is used to determine the output voltage based on the discharge current of the battery 120. Thus, based on the inverting amplifier circuit 114 and the second switch Q2, the discharge control of the battery 120 is realized at the hardware level.
[0084] According to some embodiments of this application, optionally, the charging circuit 102 is further configured to: stop charging the battery 120 when a first stop charging condition or a second stop charging condition is triggered, and control the second switch Q2 to turn on so that the output voltage of the inverting amplifier circuit 114 is input to the control terminal of the first switch Q1 through the second switch Q2.
[0085] Specifically, when charging battery 120, processing chip 110 controls charging chip 106 to turn on, so that charging chip 106 outputs charging current to charge battery 120. At this time, both first switch Q1 and second switch Q2 are off. When the first or second charging stop condition is triggered, processing chip 110 controls charging chip 106 to turn off, so that charging chip 106 stops charging battery 120, and controls second switch Q2 to turn on, so that the output voltage of inverting amplifier circuit 114 is input to the control terminal of first switch Q1 through second switch Q2, thereby controlling first switch Q1 to turn on, so that battery 120 discharges through first switch Q1, and the on-resistance of first switch Q1 is realized based on the output voltage of inverting amplifier circuit 114, thereby realizing the control of the discharge current of battery 120. Among them, the output voltage of inverting amplifier circuit 114 is related to the discharge current of battery 120, which can realize closed-loop control of discharge current and improve the accuracy of depolarization of battery 120.
[0086] According to the charging control circuit 100 of this application embodiment, the charging circuit 102 is further configured to: stop charging the battery 120 when a first charging stop condition or a second charging stop condition is triggered, and control the second switch Q2 to turn on, so that the output voltage of the inverting amplifier circuit 114 is input to the control terminal of the first switch Q1 through the second switch Q2. In this way, closed-loop control of the discharge current of the battery 120 is achieved, which can accurately control the depolarization effect of the battery 120 and improve the accuracy of the battery 120 in performing depolarization.
[0087] According to some embodiments of this application, optionally, such as Figure 2 As shown, the inverting amplifier circuit 114 includes a first resistor R1, an amplifier 116, and a second resistor R2.
[0088] Specifically, the first end of the first resistor R1 is connected to the charging circuit 102, the first end of the first resistor R1 is connected to the second end of the detection resistor R3, and the second end of the first resistor R1 is connected to the inverting input terminal of the amplifier 116.
[0089] Optionally, the non-inverting input of amplifier 116 is connected to charging circuit 102, specifically the non-inverting input of amplifier 116 is connected to the first end of sensing resistor R3, and the output of amplifier 116 is connected to the first end of second switch Q2.
[0090] Optionally, the first end of the second resistor R2 is connected to the second end of the first resistor R1, and the second end of the second resistor R2 is connected to the output terminal of the amplifier 116.
[0091] According to the charging control circuit 100 of this application embodiment, the inverting amplifier circuit 114 includes a first resistor R1, an amplifier 116, and a second resistor R2. The first terminal of the first resistor R1 is connected to the charging circuit 102, the non-inverting input terminal of the amplifier 116 is connected to the charging circuit 102, the inverting input terminal of the amplifier 116 is connected to the second terminal of the first resistor R1, the output terminal of the amplifier 116 is connected to the first terminal of the second switch Q2, and the second resistor R2 is connected to both the second terminal of the first resistor R1 and the output terminal of the amplifier 116. Thus, the output voltage of the inverting amplifier circuit 114 is related to the discharge voltage of the battery 120, making the output voltage of the inverting amplifier circuit 114 related to the discharge current of the battery 120, facilitating closed-loop control of the discharge current of the battery 120.
[0092] According to some embodiments of this application, optionally, the output voltage of the inverting amplifier circuit 114 is determined by the positive terminal voltage of the battery 120, the discharge current flowing through the detection resistor R3, the first resistance value of the first resistor R1, the second resistance value of the second resistor R2, and the third resistance value of the detection resistor R3.
[0093] In practical applications, the output voltage of the inverting amplifier circuit 114 can be determined using the following formula:
[0094] V out =V bat -I×R sense -V bat ×R2 / R1=V bat ×(1-R2 / R1)-I×R sense ;
[0095] Among them, V out V represents the output voltage of the inverting amplifier circuit 114. bat R represents the positive terminal voltage of battery 120, I represents the discharge current flowing through the sensing resistor R3, R1 represents the first resistance value of the first resistor R1, R2 represents the second resistance value of the second resistor R2, and R... sense This indicates the third resistance value of the sensing resistor R3.
[0096] Among them, the output voltage of the inverting amplifier circuit 114 is negatively correlated with the discharge current.
[0097] That is, when the discharge current of battery 120 decreases, the output voltage of inverting amplifier circuit 114 increases. At this time, the input voltage of the control terminal of first switch Q1 increases, the conduction impedance of first switch Q1 decreases, and the discharge current of battery 120 increases.
[0098] When the discharge current of battery 120 increases, the output voltage of inverting amplifier circuit 114 decreases. At this time, the input voltage of the control terminal of first switch Q1 decreases, the conduction impedance of first switch Q1 increases, and the discharge current of battery 120 decreases.
[0099] According to the charging control circuit 100 of this application embodiment, the output voltage of the inverting amplifier circuit 114 is determined by the positive terminal voltage of the battery 120, the discharge current flowing through the detection resistor R3, the first resistance value of the first resistor R1, the second resistance value of the second resistor R2, and the third resistance value of the detection resistor R3; the output voltage of the inverting amplifier circuit 114 is negatively correlated with the discharge current. This achieves hardware closed-loop control of the discharge current of the battery 120. On the one hand, it can compensate for the current fluctuations in the discharge current of the battery 120 caused by battery usage, improving the stability of the discharge current, enhancing the accuracy of battery depolarization, and improving the trigger rate and calculation accuracy of the subsequent battery capacity estimation algorithm. On the other hand, it eliminates the need for software control using a PMIC (Power Management Integrated Circuit), saving hardware costs.
[0100] According to some embodiments of this application, optionally, such as Figure 4As shown in the figure, this application embodiment also provides an electronic device 200. The electronic device 200 includes the charging control circuit 100 in any of the above embodiments. The electronic device 200 provided in this application embodiment includes the charging control circuit 100 in any of the above embodiments and can achieve the same technical effect; therefore, to avoid repetition, it will not be described again here.
[0101] It should be noted that the electronic device 200 in the embodiments of this application includes mobile electronic devices and non-mobile electronic devices.
[0102] In practical applications, the electronic device 200 can be a terminal or other devices besides a terminal. For example, the electronic device 200 can be a mobile phone, tablet computer, laptop computer, handheld computer, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. The embodiments of this application do not specifically limit it.
[0103] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0104] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.
Claims
1. A charging control circuit, characterized in that, include: Battery; A charging circuit, connected to the battery, is used to charge the battery; A discharge circuit, connected to the battery, is used to discharge the battery. The discharge circuit includes a control module and a first switch. The input terminal of the control module is connected to the charging circuit, and the output terminal of the control module is connected to the control terminal of the first switch. The first terminal of the first switch is connected to the battery, and the second terminal of the first switch is connected to the battery. The first terminal of the first switch is grounded. The control module controls the opening and closing of the first switch by acquiring the status of the charging circuit and the battery. When the first switch is in the on state, the battery discharges through the discharge circuit.
2. The charging control circuit according to claim 1, characterized in that, The control module includes: The power management chip has its input terminal connected to both the charging circuit and the second terminal of the first switch, its enable terminal and communication terminal connected to the charging circuit, and its output terminal connected to the control terminal of the first switch.
3. The charging control circuit according to claim 2, characterized in that, The charging circuit is also used to: stop charging the battery and enable the power management chip when a first charging stop condition or a second charging stop condition is triggered. The power management chip is used to: adjust the output voltage according to the charging current of the battery before it stops charging, so as to control the input voltage of the first switch and control the discharge current of the battery; The first condition for stopping charging is: the change in the battery charge is greater than a second value, and the change in the charge is less than a third value. The second charging stop condition is: the remaining charge of the battery is greater than or equal to the charging cutoff charge, or the charging circuit is disconnected from the charging device.
4. The charging control circuit according to claim 2, characterized in that, The charging circuit is also used to: monitor the discharge voltage of the battery; dynamically adjust the output voltage of the power management chip according to the discharge voltage; wherein the output voltage of the power management chip is negatively correlated with the discharge voltage.
5. The charging control circuit according to claim 1, characterized in that, The control module includes: An inverting amplifier circuit is connected to the second terminal of the first switch, the battery, and the charging circuit, respectively. The inverting amplifier circuit is used to determine the output voltage based on the discharge current of the battery. The second switch has its first end connected to the output terminal of the inverting amplifier circuit, its second end connected to the control terminal of the first switch, and its control terminal connected to the charging circuit.
6. The charging control circuit according to claim 5, characterized in that, The charging circuit is also used for: When either the first or second charging stop condition is triggered, charging of the battery is stopped, and the second switch is turned on so that the output voltage of the inverting amplifier circuit is input to the control terminal of the first switch through the second switch.
7. The charging control circuit according to claim 5, characterized in that, The inverting amplifier circuit includes: A first resistor, the first end of which is connected to the charging circuit; An amplifier, wherein the non-inverting input terminal of the amplifier is connected to the charging circuit, the inverting input terminal of the amplifier is connected to the second terminal of the first resistor, and the output terminal of the amplifier is connected to the first terminal of the second switch; The second resistor is connected to the second terminal of the first resistor and the output terminal of the amplifier, respectively.
8. The charging control circuit according to any one of claims 1 to 7, characterized in that, The charging circuit includes: A charging chip is used to connect to a charging device, and the ground terminal of the charging chip and the negative terminal of the battery are both grounded. A detection resistor is provided, the first end of which is connected to the current output terminal of the charging chip, the second terminal of the first switch, and the control module, and the second end of which is connected to the positive terminal of the battery. A fuel gauge is connected to both ends of the detection resistor and is used to detect the charging and discharging voltage and charging and discharging current of the battery through the detection resistor. The processing chip is connected to the fuel meter, the charging chip, and the discharging circuit, respectively.
9. The charging control circuit according to claim 8, characterized in that, The processing chip is specifically used for: When the first charging stop condition is triggered, the charging chip is controlled to stop charging the battery, and the battery is controlled to discharge through the first switch; Monitor the rate of change of the open-circuit voltage of the battery, and when the rate of change of the open-circuit voltage is less than a first value, control the battery to stop discharging, and determine the first remaining charge of the battery based on the first open-circuit voltage of the battery; Control the charging chip to continue charging the battery; When the second charging stop condition is triggered, the charging chip is controlled to stop charging the battery, and the battery is controlled to discharge through the first switch; The open-circuit voltage change rate of the battery is monitored again, and if the open-circuit voltage change rate is less than the first value, the battery is controlled to stop discharging, and the second remaining capacity of the battery is determined based on the second open-circuit voltage of the battery. Read the integral value of the current in the fuel gauge, which is used to indicate the capacity change of the battery from when the first charging stop condition is triggered to when the second charging stop condition is triggered. The battery capacity is determined based on the first remaining charge, the second remaining charge, and the current integral value.
10. An electronic device, characterized in that, include: The charging control circuit as described in any one of claims 1 to 9.