[go: up one dir, main page]

CN112910054B - Charging circuit, charging device, electronic apparatus, and charging control method - Google Patents

Charging circuit, charging device, electronic apparatus, and charging control method Download PDF

Info

Publication number
CN112910054B
CN112910054B CN202110289264.3A CN202110289264A CN112910054B CN 112910054 B CN112910054 B CN 112910054B CN 202110289264 A CN202110289264 A CN 202110289264A CN 112910054 B CN112910054 B CN 112910054B
Authority
CN
China
Prior art keywords
switching device
charging
current
battery
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110289264.3A
Other languages
Chinese (zh)
Other versions
CN112910054A (en
Inventor
谢健
祝文祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110289264.3A priority Critical patent/CN112910054B/en
Publication of CN112910054A publication Critical patent/CN112910054A/en
Application granted granted Critical
Publication of CN112910054B publication Critical patent/CN112910054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
    • H02J7/00716Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current in response to integrated charge or discharge current
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00304Overcurrent protection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The embodiment of the application provides a charging circuit, a charging device, electronic equipment and a charging control method, and belongs to the technical field of circuits. Wherein, the charging circuit includes: a tank circuit; the first switching device is connected between the energy storage circuit and the battery, and is used for controlling the energy storage circuit to charge the battery; and the overcurrent protection circuit is connected with the first switching device in parallel and is used for shunting the first switching device. Therefore, when the charging circuit charges the battery, the overcurrent protection circuit connected with the first switching device in parallel is used for shunting, so that the overcurrent capacity of the first switching device is increased, and the problem of insufficient overcurrent capacity of the charging device is solved.

Description

Charging circuit, charging device, electronic apparatus, and charging control method
Technical Field
The present application relates to the field of circuit technology, and in particular, to a charging circuit, a charging device, an electronic apparatus, and a charging control method.
Background
With the advent of 5G, sub6G and millimeter waves are added, the frequency of use of electronic equipment by users is continuously increased, the power consumption of the electronic equipment is increased, and the requirements of users on charging technology are increased increasingly due to the fact that the battery capacity is limited by space, but the risk of charging overcurrent is increased simultaneously when the charging current and the charging speed are continuously increased. Therefore, a new power supply form is needed to improve the endurance and the service life of the battery.
Disclosure of Invention
The embodiment of the application provides a charging circuit, a charging device, an electronic device and a readable storage medium, which can be used for charging a battery.
In a first aspect, an embodiment of the present application provides a charging circuit, including:
a tank circuit;
The first switching device is connected between the energy storage circuit and the battery, and is used for controlling the energy storage circuit to charge the battery;
And the overcurrent protection circuit is connected with the first switching device in parallel and is used for shunting the first switching device.
In a second aspect, an embodiment of the present application provides a charging device, including:
The charging circuit provided by the embodiment of the first aspect;
The processor is connected with the charging circuit and is used for acquiring a first current of the first switching device; configuring a cut-off current of the battery according to the first current; the first switching device is turned off in a case where a charging current of the battery in the constant voltage charging stage is less than or equal to an off current.
In a third aspect, an embodiment of the present application provides an electronic device, including:
The charging interface is used for being connected with an external charger;
A battery;
The charging device is connected between the charging interface and the battery and used for transmitting electric energy of an external charger to the battery.
In a fourth aspect, an embodiment of the present application provides a charging control method, which is applied to the charging device provided in the second aspect, where the charging control method includes:
acquiring a first current flowing through a first switching device;
in the case where the first current of the battery in the constant voltage charging stage is less than or equal to the off-current of the battery, the off-current is updated according to the first current, and the first switching device is turned off.
In an embodiment of the present application, a charging circuit includes: a tank circuit; the first switching device is connected between the energy storage circuit and the battery, and is used for controlling the energy storage circuit to charge the battery; and the overcurrent protection circuit is connected with the first switching device in parallel and is used for shunting the first switching device. Therefore, when the charging circuit charges the battery, the overcurrent protection circuit connected with the first switching device in parallel is used for shunting, so that the overcurrent capacity of the first switching device is increased, and the problem of insufficient overcurrent capacity of the charging device is solved.
Drawings
Fig. 1 shows a block diagram of a charging circuit according to an embodiment of the present application;
FIG. 2 illustrates one of the circuit diagrams of a charging circuit according to one embodiment of the application;
FIG. 3 shows a second circuit diagram of a charging circuit according to one embodiment of the application;
FIG. 4 illustrates a third flow chart of a charging circuit according to one embodiment of the application;
fig. 5 shows a block diagram of a charging device according to an embodiment of the present application;
Fig. 6 shows one of flowcharts of a charge control method according to an embodiment of the present application;
FIG. 7 illustrates a second flowchart of a charge control method according to one embodiment of the application;
Fig. 8 shows a block diagram of a hardware structure of an electronic device according to an embodiment of the application.
Reference numerals:
10 charging device, 100 charging circuit, 110 tank circuit, 112 energy storage device, 114 third switching device, 116 fourth switching device, 120 first switching device, 130 overcurrent protection circuit, 132 second switching device, 140 first sampling circuit, 142 first sampling resistor, 144 first detection component, 150 second sampling circuit, 152 second sampling resistor, 154 second detection component, 160 fifth switching device, 200 processor.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will be more clearly understood, a more particular description of the application will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, without conflict, the embodiments of the present application and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application, but the present application may be practiced in other ways than those described herein, and therefore the scope of the present application is not limited to the specific embodiments disclosed below.
The features of the application "first", "second" and the like in the description and in the claims may be used for the explicit or implicit inclusion of one or more such features. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art.
A charging circuit, a charging device, an electronic apparatus, and a charging control method according to some embodiments of the present application are described below with reference to fig. 1 to 8.
In one embodiment of the present application, as shown in fig. 1 to 4, a charging circuit 100 includes: a tank circuit 110, a first switching device 120, and an over-current protection circuit 130.
Specifically, the first switching device 120 is connected between the tank circuit 110 and the battery connection, and the first switching device 120 is used to control the tank circuit 110 to charge the battery. The overcurrent protection circuit 130 is connected in parallel with the first switching device 120, and the overcurrent protection circuit 130 is used for shunting the first switching device 120.
In this embodiment, the energy storage circuit 110 is charged by the power supply, and then the battery is charged by the energy storage circuit 110 and the first switching device 120, so that the voltage output by the power supply is converted into a charging voltage acceptable by the battery, and the battery is damaged due to the excessively high surface voltage. Meanwhile, during the battery charging process, the charging current to be outputted from the tank circuit 110 is split by the overcurrent protection circuit 130, thereby reducing the current flowing through the first switching device 120. And further, the overcurrent capacity of the first switching device 120 is increased while the battery is ensured to be charged through a larger charging current, so that the problem of insufficient overcurrent capacity of the charging device 10 is solved.
Specifically, as shown in fig. 2 to 4, the first switching device 120 includes at least one of a Metal Oxide Semiconductor Field Effect Transistor (MOSFET), an Insulated Gate Bipolar Transistor (IGBT), and a diode. The gate of the metal oxide semiconductor field effect transistor is connected to the instruction output end of the processor 200, a reverse freewheeling diode is connected between the source electrode and the drain electrode of the metal oxide semiconductor field effect transistor, the base electrode of the insulated gate bipolar transistor is connected to the instruction output end of the processor 200, and a reverse freewheeling diode is connected between the emitter electrode and the collector electrode of the insulated gate bipolar transistor.
Further, the system of the electronic device is connected between the tank circuit 110 and the first switching device 120, and the first switching device 120 is further used for changing the power supply mode of the electronic device. Specifically, when the user uses the electronic device, if the first switching device 120 is turned off, the energy storage circuit 110 can directly supply power to the electronic device; if the first switching device 120 is turned on, the electronic device may be powered by the battery, and at this time, the current output from the battery flows into the system terminal of the electronic device through the first switching device 120 and the overcurrent protection circuit 130. And through the shunting effect of overcurrent protection circuit 130, can also increase the overcurrent capacity when the battery of electronic equipment discharges, reduce the potential safety hazard that electronic equipment used to be, promote electronic equipment's security.
In one embodiment of the present application, as shown in fig. 1 and 2, the overcurrent protection circuit 130 includes: a second switching device 132. The second switching device 132 is connected in parallel with the first switching device 120.
In this embodiment, the second switching device 132 is connected in parallel with the first switching device 120, i.e., both ends of the second switching device 132 are connected to the tank circuit 110 and the battery, respectively. When the tank circuit 110 outputs a charging current to the battery, the charging current is split at a first common terminal of the first switching device 120 and the second switching device 132, and is merged at a second common terminal of the first switching device 120 and the second switching device 132, and flows into the battery to complete charging of the battery. In one aspect, the charging current is split by the second switching device 132 such that the current flowing through the first switching device 120 is less than the charging current required by the battery. And further, the overcurrent capacity of the first switching device 120 is increased while the battery is ensured to be charged through larger charging current, so that the requirements of users on quick-charging and battery endurance are met. On the other hand, whether the charging circuit 100 performs the overcurrent protection can be controlled at any time through the on/off of the second switching device 132, so that the structure of the overcurrent protection circuit 130 can be simplified, and the charging mode can be flexibly set according to different charging requirements, which is beneficial to improving the charging efficiency.
In one embodiment of the present application, as shown in FIG. 2, tank circuit 110 includes: an energy storage device 112, a third switching device 114, a fourth switching device 116.
Specifically, the energy storage device 112 is connected to the first switching device 120. The third switching device 114 is connected between the power source and the energy storage device 112, and the third switching device 114 is used for controlling the power source to charge the energy storage device 112. The fourth switching device 116 is connected between the third switching device 114 and the energy storage device 112, and the fourth switching device 116 is used for controlling the energy storage device 112 to discharge to the battery.
In this embodiment, the third switching device 114 has one end connected to a power source and the other end connected to the energy storage device 112. One end of the fourth switching device 116 is connected to the equipotential terminal, and the other end is connected to the energy storage device 112 and the third switching device 114. When the third switching device 114 is turned on and the fourth switching device 116 is turned off, the current outputted from the power supply is charged into the energy storage device 112 through the third switching device 114, and the energy storage device 112 stores the electric power. When the third switching device 114 is turned off and the fourth switching device 116 and the first switching device 120 are turned on, the energy storage device 112 discharges the stored electric energy to discharge the battery. Therefore, the processor 200 performs switching on and off on the third switching device 114 and the fourth switching device 116, charges and discharges the energy storage device 112, and realizes the charge and discharge function of the energy storage circuit 110, so that the energy storage circuit 110 is used for converting the voltage output by the power supply, and the safety and reliability of battery charging are ensured.
Specifically, the energy storage device 112 may be an energy storage inductor or an energy storage capacitor.
In one embodiment of the present application, as shown in fig. 1 and 2, the charging circuit 100 further includes: and a fifth switching device 160. The fifth switching device 160 is connected between the power source and the third switching device 114, and the fifth switching device 160 is used to control the discharge of the power source to the energy storage device 112.
In this embodiment, a fifth switching device 160 is connected in series between the power supply and the third switching device 114, and the power supply discharge is controlled by turning on or off the fifth switching device 160.
Further, in the case that the system side of the electronic device is connected between the tank circuit 110 and the first switching device 120, if the third switching device 114 and the fifth switching device are turned on, the voltage output by the power supply can be converted by the tank device 112 and directly output to the system side, so as to supply power to the electronic device.
For example, as shown in fig. 2, an inductance is used as the energy storage device 112, and a charging path of the Battery is shown by an arrow, i.e., a power output terminal (VBUS) →a fifth switching device 160→a fourth switching device 116→the first switching device 120 and the second switching device 132→the Battery (Battery). The discharging path of the Battery is Battery (Battery) →the first switching device 120 and the second switching device 132→the system side (SYS). By connecting the fifth switching device 160 in parallel at the first switching device 120 of the charging circuit 100, the overcurrent capability when the battery is charged and discharged is increased.
In one embodiment of the present application, as shown in fig. 1, 3 and 4, the charging circuit 100 further includes: a first sampling circuit 140. The first sampling circuit 140 is connected between the battery and the common terminal of the first switching device 120 and the over-current protection circuit 130, and the first sampling circuit 140 is used for detecting the charging current flowing into the battery.
In this embodiment, the charging current flowing into the battery is detected by connecting the first sampling circuit 140 in series between the common terminal of the first switching device 120 and the overcurrent protection circuit 130 and the battery.
Specifically, the first sampling circuit 140 includes a first sampling resistor 142 and a first detecting component 144 connected in parallel to the first sampling resistor 142, and the first detecting component 144 is used to collect the current flowing through the first sampling resistor 142, so as to accurately detect the charging current after the first switching device 120 and the overcurrent protection circuit 130 merge, so as to determine the progress of battery charging by using the charging current.
The first detecting component 144 may employ a component capable of converting a current signal into a current value, such as an electricity meter, an analog-to-digital converter (ADC), or the like.
In one embodiment of the present application, as shown in fig. 3 and 4, the charging circuit 100 further includes: and a second sampling circuit 150.
Specifically, the second sampling circuit 150 includes: a second sampling resistor 152 and a second detection component 154 connected in parallel with the second sampling resistor 152. The second detecting component 154 may employ a component capable of converting a current signal into a current value, such as an electricity meter, an analog-to-digital converter (ADC), or the like.
In some embodiments, the second sampling circuit 150 is connected as follows:
Mode one: as shown in fig. 3, the second sampling circuit 150 is connected between the common terminal of the first switching device 120 and the overcurrent protection circuit 130 and the first switching device 120, and the second sampling circuit 150 is used for collecting the first current flowing through the first switching device 120.
In this embodiment, due to the shunt effect of the overcurrent protection circuit 130, the first current flowing through the first switching device 120 is smaller than the charging current flowing into the battery, and if the charging current is only used to determine the charging progress of the battery, the situation of overcharging or underfilling of the battery is easily caused, which reduces the service life of the battery and even increases the safety risk in the charging process of the battery. For this, the second sampling circuit 150 is disposed in series between the common terminal of the first switching device 120 and the overcurrent protection circuit 130 (the second switching device 132) and the first switching device 120. The second sampling circuit 150 can collect the first current flowing through the first switching device 120 in real time, and the first current is utilized to further judge the progress of the charging process, so that the switching of each charging stage in the charging process is avoided to be more accurate, and the charging efficiency of the battery is improved.
Mode two: as shown in fig. 4, the second sampling circuit 150 is connected between the common terminal of the first switching device 120 and the over-current protection circuit 130, and the second sampling circuit 150 is used for sampling the second current flowing through the over-current protection circuit 130.
In this embodiment, the second sampling circuit 150 is connected in series between the common terminal of the first switching device 120 and the overcurrent protection circuit 130 (the second switching device 132). The second current flowing through the current protection circuit 130 (the second switching device 132) may be sampled in real time by the second sampling circuit 150. So as to calculate the first current flowing through the first switching device 120 using the charging current and the second current.
It can be appreciated that the resistance values of the first sampling resistor 142 and the second sampling resistor 152 may be reasonably set according to the sampling precision, for example, in order to consider the precision and the cost, the sampling resistor adopts a resistance value of 5mΩ, and in order to further improve the sampling precision, a sampling resistor with higher precision such as 3mΩ may also be adopted.
In one embodiment of the present application, as shown in fig. 5, the charging device 10 includes: the charging circuit 100 and the processor 200 provided in any of the embodiments described above. Therefore, the charging device 10 also includes all the advantages of the charging circuit 100 in any of the above embodiments, which will not be described herein.
Specifically, the processor 200 is connected to the charging circuit 100, and the processor 200 can control the on or off of the first switching device 120, the second switching device 132, the third switching device 114, the fourth switching device 116, and the fifth switching device 160 in the charging circuit 100 to implement charge and discharge of the battery. The processor 200 is further configured to obtain a first current flowing through the first switching device 120; in the case where the first current of the battery in the constant voltage charging stage is less than or equal to the off-current of the battery, the off-current is updated according to the first current, and the first switching device 120 is turned off.
In this embodiment, the first switching device 120 measurement sampling cannot obtain accurate current data due to the shunt effect of the overcurrent protection circuit 130 at the time of charging. In the charging process, the constant voltage stage (CV) is converted into the cut-off charging (TERMINAL CHARGE) by collecting the current value of the first switching device 120, so that the deviation risk exists in the switching from the constant voltage stage to the cut-off charging, and the situation of overcharging or underfilling of the battery is further caused, the service life and the endurance of the battery are reduced, and even the safety risk in the battery charging process is improved. For this reason, when the first current of the battery in the constant voltage charging stage is less than or equal to the off-current of the first switching device 120 during the battery charging set by the system, it is indicated that the charging is completed at this time, and the first switching device 120 is turned off to stop the current output. Meanwhile, the current value of the first current collected at this time is given to the current value set as the new off-state current through the corresponding communication protocol (I2C, for example), so that the problems of overcharging or underfilling of the battery caused by the offset of the resistance value of the first switching device 120 due to the aging of the first switching device 120 and the like are avoided, and the smooth switching of the charging device 10 from the constant voltage stage to the off-state charging is ensured.
Further, the processor 200 is further configured to obtain a second current flowing through the current protection circuit 130 and a charging current of the battery; and carrying out difference operation on the charging current and the second current to obtain a first current.
In this embodiment, the processor 200 can not only detect the first current flowing through the first switching device 120 in real time through the second sampling circuit 150 of the charging circuit 100, but also acquire the charging current of the battery and the second current flowing through the second switching device 132 through the first sampling circuit 140 and the second sampling circuit 150 of the charging circuit 100. And the first current of the first switching device 120 is calculated according to the following formula (1), so that the detection flexibility of the first current is improved, and the detection accuracy is improved.
I1=IBAT-I2; (1)
Wherein I 1 represents a first current, I BAT represents a charging current, and I 2 represents a second current.
It should be noted that the charging process is: trickle charge→constant current phase (CC) →constant voltage phase (CV) →off charge.
Stage 1: trickle charging; since the battery charge is low at the beginning of the charging, trickle charging is needed first, i.e. the battery with low residual charge is precharged with a small current to perform the restorative charging. For example, when the battery voltage is lower than 3V, the trickle charge is performed, and the trickle charge current is one tenth of the constant current charge current, that is, 0.1C, and when the constant current charge current is 1A, the trickle charge current is 100mA. Wherein C represents a control current for the nominal capacity of the battery.
Stage 2: constant current charging; when the battery voltage rises to be greater than or equal to a first threshold value of trickle charge, the charging current is increased to perform constant current charging. For example, the current of the constant current charge is set to between 0.2C and 1.0C. The battery voltage is gradually increased along with the constant current charging process.
Stage 3: constant voltage charging; so that the voltage between the two poles of the battery is maintained at a constant value. When the battery voltage rises to a second threshold value of the constant voltage charge, the constant current charge ends, and the constant voltage charge phase starts. The current is gradually reduced from the maximum value as the charging process continues according to the saturation degree of the battery cell.
Stage 4: stopping charging; when the current in the constant voltage phase decreases to the off-current, it is determined that the charging is terminated. The value range of the off-current can be 0.01-0.1 ℃. Of course, the duration of the constant voltage charging phase may also be used as a criterion for stopping the charging, for example, the charging process may be terminated after two hours of continuous charging.
In one embodiment of the application, an electronic device includes: the charging interface is used for being connected with an external charger; a battery; the charging device provided in the above embodiment is connected between the charging interface and the battery, and is used for transmitting the electric energy of the external charger to the battery. Therefore, the electronic device also includes all the beneficial effects of the charging device in the above embodiment, which is not described herein.
It is understood that the charging interface includes a standard microUSB pin interface, a TypeC interface, etc. A USB (Universal Serial Bus ) switch is arranged between the processor and the charging interface, and the USB switch can be understood as a d+/D channel switching integrated circuit, and the processor sends a control signal to the charging interface through the d+/D channel.
In one embodiment of the present application, fig. 6 shows one of flowcharts of a charge control method of an embodiment of the present application, including:
Step 602, obtaining a first current flowing through a first switching device;
in step 604, in the case where the first current of the battery in the constant voltage charging phase is less than or equal to the off-current of the battery, the off-current is updated according to the first current, and the first switching device is turned off.
In this embodiment, the first switching device measurement sampling does not obtain accurate current data due to the shunt effect of the over-current protection circuit during charging. In the charging process, the constant voltage stage-to-cut-off charging is carried out by collecting the current value of the first switching device, so that deviation risks exist in the switching from the constant voltage stage to the cut-off charging, the situation of overcharging or underfilling of the battery is further caused, the service life and the endurance of the battery are reduced, and even the safety risks in the charging process of the battery are improved. For this reason, when the first current of the battery in the constant voltage charging stage is less than or equal to the off current of the first switching device during the battery charging set by the system, it is indicated that the charging is completed at this time, and the first switching device is turned off to stop the current output. Meanwhile, the current value of the first current collected at the moment is given to the current value set to be a new cut-off current through a corresponding communication protocol (for example, I2C), so that the problems that the resistance value of the first switching device is offset due to the ageing and the like of the first switching device, and the battery is overcharged or underfilled is avoided, and smooth switching of the charging device from a constant voltage stage to cut-off charging is ensured.
In one embodiment of the present application, fig. 7 shows a second flowchart of a charging control method according to an embodiment of the present application, including:
step 702, obtaining a second current flowing through a current protection circuit and a charging current of a battery;
step 702, performing a difference operation on the charging current and the second current to obtain a first current.
In this embodiment, not only the first current flowing through the first switching device can be detected in real time, but also the first current of the first switching device can be calculated by using the shunt relationship through the charging current of the battery and the second current flowing through the second switching device, so that the detection flexibility of the first current is improved, and the detection accuracy is improved.
Specifically, the first current of the first switching device is calculated by the following formula (1):
I1=IBAT-I2; (1)
Wherein I 1 represents a first current, I BAT represents a charging current, and I 2 represents a second current.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device 800 implementing an embodiment of the present application. The electronic device 800 includes, but is not limited to: radio frequency unit 802, network module 804, audio output unit 806, input unit 808, sensor 810, display unit 812, user input unit 814, interface unit 816, memory 818, processor 820, and the like.
Those skilled in the art will appreciate that the electronic device 800 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 820 via a power management system so as to perform functions such as managing charge, discharge, and power consumption via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may have a different arrangement of components. In an embodiment of the present application, the electronic device includes, but is not limited to, a mobile terminal, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
Wherein the processor 820 is configured to obtain a first current flowing through the first switching device; in the case where the first current of the battery in the constant voltage charging stage is less than or equal to the off-current of the battery, the off-current is updated according to the first current, and the first switching device is turned off.
Further, processor 820 is also configured to obtain a second current flowing through the current protection circuit and a charging current of the battery; and carrying out difference operation on the charging current and the second current to obtain a first current.
It should be understood that, in the embodiment of the present application, the radio frequency unit 802 may be configured to receive and transmit information or signals during a call, and specifically, receive downlink data of a base station or send uplink data to the base station. The radio frequency unit 802 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The network module 804 provides wireless broadband internet access to the user, such as helping the user send and receive e-mail, browse web pages, and access streaming media, etc.
The audio output unit 806 may convert audio data received by the radio frequency unit 802 or the network module 804 or stored in the memory 818 into an audio signal and output as sound. Also, the audio output unit 806 may also provide audio output (e.g., call signal reception sound, message reception sound, etc.) related to a particular function performed by the electronic device 800. The audio output unit 806 includes a speaker, a buzzer, a receiver, and the like.
The input unit 808 is for receiving an audio or video signal. The input unit 808 may include a graphics processor (Graphics Processing Unit, GPU) 8082 and a microphone 8084, the graphics processor 8082 processing image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 812, or stored in the memory 818 (or other storage medium), or transmitted via the radio frequency unit 802 or the network module 804. The microphone 8084 may receive sound and may be capable of processing the sound into audio data, which may be converted into a format output that may be transmitted to a mobile communication base station via the radio frequency unit 802 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 810, such as a fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, motion sensor, and other sensors.
The display unit 812 is used to display information input by a user or information provided to the user. The display unit 812 may include a display panel 8122, and the display panel 8122 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
The user input unit 814 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 814 includes a touch panel 8142 and other input devices 8144. The touch panel 8142, also referred to as a touch screen, may collect touch operations on or near the user. The touch panel 8142 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends the touch point coordinates to the processor 820, and receives and executes commands sent from the processor 820. Other input devices 8144 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Further, the touch panel 8142 may be overlaid on the display panel 8122, and when the touch panel 8142 detects a touch operation thereon or thereabout, the touch operation is transferred to the processor 820 to determine a type of touch event, and then the processor 820 provides a corresponding visual output on the display panel 8122 according to the type of touch event. The touch panel 8142 and the display panel 8122 may be two independent components or may be integrated into one component.
The interface unit 816 is an interface to which an external device is connected to the electronic apparatus 800. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 816 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 800 or may be used to transmit data between the electronic apparatus 800 and an external device.
Memory 818 may be used to store application programs as well as various data. The memory 818 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, phonebooks, etc.) created according to the use of the mobile terminal, etc. In addition, memory 818 may include high-speed random access memory, and may include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
Processor 820 performs various functions of electronic device 800 and processes data by running or executing application programs and/or modules stored in memory 818 and invoking data stored in memory 818 to thereby monitor electronic device 800 as a whole. Processor 820 may include one or more processing units; processor 820 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles charging operations.
It should be noted that in the description of the present specification, descriptions of terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.
The above is only a preferred embodiment of the present application, and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (8)

1. A charging circuit, comprising:
a tank circuit;
The first switching device is connected between the energy storage circuit and the battery, and is used for controlling the energy storage circuit to charge the battery;
the overcurrent protection circuit is connected with the first switching device in parallel and is used for shunting the first switching device;
The first switching device is turned off, the energy storage circuit supplies power to the electronic equipment, the first switching device is turned on, and the battery supplies power to the electronic equipment;
The overcurrent protection circuit includes:
The second switching device is connected with the first switching device in parallel and is used for controlling whether the charging circuit performs overcurrent protection or not;
The charging circuit further includes:
And the first sampling circuit is connected between the common end of the first switching device and the overcurrent protection circuit and the battery, and is used for detecting the charging current flowing into the battery.
2. The charging circuit of claim 1, wherein the tank circuit comprises:
The energy storage device is connected with the first switching device;
The third switching device is connected between a power supply and the energy storage device and is used for controlling the power supply to charge the energy storage device;
and the fourth switching device is connected between the third switching device and the energy storage device, and is used for controlling the energy storage device to discharge to the battery.
3. The charging circuit of claim 2, further comprising:
And the fifth switching device is connected between the power supply and the third switching device and is used for controlling the power supply to discharge to the energy storage device.
4. A charging circuit according to any one of claims 1 to 3, further comprising:
A second sampling circuit;
the second sampling circuit is connected between the common end of the first switching device and the overcurrent protection circuit and the first switching device, and is used for collecting first current flowing through the first switching device; or (b)
The second sampling circuit is connected between the common end of the first switching device and the overcurrent protection circuit, and is used for collecting second current flowing through the overcurrent protection circuit.
5. A charging device, characterized by comprising:
the charging circuit according to any one of claims 1 to 4;
The processor is connected with the charging circuit and is used for acquiring a first current of the first switching device; configuring an off-current of the battery according to the first current; and turning off the first switching device when the charging current of the battery is less than or equal to the off current.
6. An electronic device, comprising:
The charging interface is used for being connected with an external charger;
A battery;
the charging device of claim 5, connected between the charging interface and the battery for transferring electrical energy from the external charger to the battery.
7. A charge control method applied to the charging device according to claim 5, the charge control method comprising:
Acquiring a first current flowing through the first switching device;
and when the first current of the battery in the constant voltage charging stage is smaller than or equal to the cut-off current of the battery, updating the cut-off current according to the first current, and turning off the first switching device.
8. The charge control method according to claim 7, wherein the obtaining the first current of the first switching device includes:
Acquiring a second current flowing through the overcurrent protection circuit and a charging current of the battery;
And carrying out difference operation on the charging current and the second current to obtain the first current.
CN202110289264.3A 2021-03-18 2021-03-18 Charging circuit, charging device, electronic apparatus, and charging control method Active CN112910054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110289264.3A CN112910054B (en) 2021-03-18 2021-03-18 Charging circuit, charging device, electronic apparatus, and charging control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110289264.3A CN112910054B (en) 2021-03-18 2021-03-18 Charging circuit, charging device, electronic apparatus, and charging control method

Publications (2)

Publication Number Publication Date
CN112910054A CN112910054A (en) 2021-06-04
CN112910054B true CN112910054B (en) 2024-06-04

Family

ID=76105334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110289264.3A Active CN112910054B (en) 2021-03-18 2021-03-18 Charging circuit, charging device, electronic apparatus, and charging control method

Country Status (1)

Country Link
CN (1) CN112910054B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114336895B (en) * 2022-02-15 2024-09-17 北京小米移动软件有限公司 Charging method, charging device, terminal equipment and storage medium
CN114865754B (en) * 2022-07-06 2022-11-25 荣耀终端有限公司 Charging circuit, charging chip and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201075839Y (en) * 2007-09-14 2008-06-18 上海翔惠电子科技有限公司 Switch power supply for storing electricity
CN101399491A (en) * 2007-11-06 2009-04-01 中国科学院电工研究所 Overcurrent protection circuit for photovoltaic DC-to-AC converter
CN102148410A (en) * 2010-02-09 2011-08-10 新普科技股份有限公司 Battery charging method
WO2016101509A1 (en) * 2014-12-26 2016-06-30 中兴通讯股份有限公司 Charging control method and device
CN105990879A (en) * 2016-07-06 2016-10-05 歌尔股份有限公司 Device for battery charging and electronic device
CN206575333U (en) * 2017-03-17 2017-10-20 上海中兴派能能源科技股份有限公司 A kind of full-bridge type bi-directional power circuit based on lithium battery group energy storage
CN110739740A (en) * 2019-10-28 2020-01-31 河北电立方新能源科技有限公司 Anti-short circuit protection circuit
CN110797601A (en) * 2019-11-26 2020-02-14 Oppo广东移动通信有限公司 Charging control method, charging control device, terminal device and storage medium
CN111293378A (en) * 2020-05-09 2020-06-16 北京小米移动软件有限公司 Charging method for prolonging cycle life of lithium ion battery
CN111404254A (en) * 2020-03-30 2020-07-10 北京小米移动软件有限公司 Power supply control circuit and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI489730B (en) * 2010-01-08 2015-06-21 Simplo Technology Co Ltd Method for charging a battery
DE102015226250B4 (en) * 2015-12-21 2018-07-12 Dialog Semiconductor B.V. Power saving device
CN107769351B (en) * 2016-08-17 2020-05-22 比亚迪股份有限公司 Power supply circuit of electronic equipment and electronic equipment
CN109245189A (en) * 2017-07-10 2019-01-18 中兴通讯股份有限公司 A kind of battery management system and a kind of circuit for battery set charge/discharge

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201075839Y (en) * 2007-09-14 2008-06-18 上海翔惠电子科技有限公司 Switch power supply for storing electricity
CN101399491A (en) * 2007-11-06 2009-04-01 中国科学院电工研究所 Overcurrent protection circuit for photovoltaic DC-to-AC converter
CN102148410A (en) * 2010-02-09 2011-08-10 新普科技股份有限公司 Battery charging method
WO2016101509A1 (en) * 2014-12-26 2016-06-30 中兴通讯股份有限公司 Charging control method and device
CN105990879A (en) * 2016-07-06 2016-10-05 歌尔股份有限公司 Device for battery charging and electronic device
CN206575333U (en) * 2017-03-17 2017-10-20 上海中兴派能能源科技股份有限公司 A kind of full-bridge type bi-directional power circuit based on lithium battery group energy storage
CN110739740A (en) * 2019-10-28 2020-01-31 河北电立方新能源科技有限公司 Anti-short circuit protection circuit
CN110797601A (en) * 2019-11-26 2020-02-14 Oppo广东移动通信有限公司 Charging control method, charging control device, terminal device and storage medium
CN111404254A (en) * 2020-03-30 2020-07-10 北京小米移动软件有限公司 Power supply control circuit and electronic equipment
CN111293378A (en) * 2020-05-09 2020-06-16 北京小米移动软件有限公司 Charging method for prolonging cycle life of lithium ion battery

Also Published As

Publication number Publication date
CN112910054A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN108899952B (en) A multi-battery charging and discharging device and mobile terminal
US11929635B2 (en) Charging method and charging device
KR102614481B1 (en) Charging control circuit, terminal device and control method
CN114174844B (en) Charging control method and device, charging test method and system and electronic equipment
CN108461834B (en) Battery pack structure, mobile terminal and charge-discharge control method
CN113949167B (en) Charging device and electronic equipment
CN112910054B (en) Charging circuit, charging device, electronic apparatus, and charging control method
WO2017161587A1 (en) Power supply circuit for load, and terminal
CN114859258B (en) Electricity meter and electronic equipment applied to multiple batteries
CN114865755B (en) Multi-battery power supply, charging and discharging method and electronic equipment
CN106786961A (en) Charging process method, device and terminal
US20220278535A1 (en) Charging/discharging protection circuit, terminal device, and battery discharging control method
CN110957785B (en) Battery assembly, charging control method and system
CN109861335A (en) Charging system, electronic device and charging control method
CN114844182B (en) Charging circuit, charging method and electronic device
CN112769201A (en) Charging method, charging device, electronic device, and readable storage medium
CN117148248A (en) BMS sampling current calibration method, device and system
CN215911921U (en) Electric quantity detection system and electronic equipment
CN110649673B (en) Mobile terminal
CN221428176U (en) Docking station
CN110912227A (en) Charging and discharging structure and charging method
CN212646801U (en) Voltage detection circuit and electronic device
CN110739742A (en) Charging protection method, charging protection circuit, charging system and terminal
CN211655786U (en) Electronic equipment and portable power source
CN116231800A (en) Charging control module, method, intelligent terminal and charging system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant