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

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

Info

Publication number
CN111884303B
CN111884303B CN202010835396.7A CN202010835396A CN111884303B CN 111884303 B CN111884303 B CN 111884303B CN 202010835396 A CN202010835396 A CN 202010835396A CN 111884303 B CN111884303 B CN 111884303B
Authority
CN
China
Prior art keywords
charging
battery
module
power supply
switch module
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
CN202010835396.7A
Other languages
Chinese (zh)
Other versions
CN111884303A (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.)
DO Technology Co ltd
Original Assignee
DO Technology 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 DO Technology Co ltd filed Critical DO Technology Co ltd
Priority to CN202010835396.7A priority Critical patent/CN111884303B/en
Publication of CN111884303A publication Critical patent/CN111884303A/en
Application granted granted Critical
Publication of CN111884303B publication Critical patent/CN111884303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00302Overcharge 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits
    • 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

Abstract

The invention provides a charging control circuit, a charging control method and electronic equipment, and relates to the field of charging. The circuit comprises a microprocessor, a voltage detection circuit, a battery, an adapter interface, a charging management chip and a power supply circuit, wherein the charging management chip comprises a charging module and a switch module, the microprocessor is electrically connected with the voltage detection circuit, the switch module and the power supply circuit, the input end of the charging module is electrically connected with the adapter interface, the output end of the charging module is electrically connected with a load and the power supply circuit, and the switch module is electrically connected with the output end of the charging module and the battery. The charging module outputs power supply voltage according to an input power supply provided by the adapter interface so as to supply power to the load and the microprocessor and charge the battery, the voltage detection module detects the voltage value of the battery in real time, and the microprocessor controls the switch module to be switched off when the voltage value reaches a preset charging completion threshold value. When the user forgets to pull out the adapter for a long time, the battery is not frequently charged and discharged, thereby prolonging the service life of the battery.

Description

Charging control circuit, charging control method and electronic device
Technical Field
The invention relates to the field of charging, in particular to a charging control circuit, a charging control method and electronic equipment.
Background
At present, charging schemes for electronic products are generally divided into two types, i.e., path management support and path management non-support.
For a charging scheme which does not support path management, a system power supply terminal VSYS and a battery terminal are the same node, a charging IC (integrated circuit) supplies power to a load while charging a battery, after the battery is fully charged, a charging link is cut off inside the charging IC, the load cannot continuously obtain current from an input end of an adapter, the load supplies power to the battery, the power consumption of the battery is accelerated, and when the voltage of the battery is reduced to a threshold Vrecharge set inside the charging IC, the charging link is opened again to continuously charge the battery. For the charging scheme supporting path management, although the system power supply end VSYS and the battery terminal are independently distributed, after the battery is fully charged, the charging IC stops charging the battery, at the moment, the load is cooperatively provided with power supply support by the system power supply end VSYS and the battery, when the load current is large and exceeds the maximum capacity provided by the adapter, the battery reversely provides power for the load, the consumption of the battery power is accelerated, meanwhile, part of circuits inside the charging IC consume the battery power, and when the battery voltage is reduced to a threshold vrechargeset inside the charging IC, the charging link is opened again to continue charging the battery.
In the two charging schemes, when the user forgets to pull out the adapter for a long time, the battery is frequently charged and discharged, so that the service life of the battery is irreversibly influenced.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a charging control circuit, a charging control method and an electronic device, so as to solve the problem in the prior art that when a user forgets to pull out an adapter for a long time, a battery will be frequently charged and discharged, thereby shortening the service life of the battery.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a charging control circuit, including a microprocessor, a voltage detection circuit, a battery, an adapter interface, a charging management chip, and a power supply circuit, where the charging management chip includes a charging module and a switch module, the microprocessor is electrically connected to the voltage detection circuit, the switch module, and the power supply circuit, an input end of the charging module is electrically connected to the adapter interface, an output end of the charging module is electrically connected to a load and the power supply circuit, and the switch module is further electrically connected to an output end of the charging module and the battery;
the adapter interface is used for providing an input power supply for the charging module when an adapter is inserted;
the charging module is used for outputting power supply voltage according to the input power supply; the power supply voltage is used for supplying power to the load, charging the battery through the output of the switch module and supplying power to the microprocessor through the output of the power supply circuit;
the voltage detection circuit is used for detecting the voltage value of the battery in real time and outputting the voltage value of the battery to the microprocessor;
and the microprocessor is used for controlling the switch module to be switched off when the voltage value of the battery reaches a preset charging completion threshold value, so that the charging management chip is in a power-saving mode.
In an optional embodiment, the microprocessor is further configured to control the switch module to close when the voltage value of the battery is reduced to an overdischarge voltage of the battery when the charge management chip is in the power saving mode, so that the power supply voltage continues to be output to the battery through the switch module for charging the battery.
In an optional implementation manner, the charging control circuit further includes a key module, the charging management chip further includes a key detection module, the key module is electrically connected to the key detection module, and the key detection module is electrically connected to the switch module;
the key module is used for outputting a key signal to the key detection module according to the pressing operation of a user;
the key detection module is used for controlling the switch module to be closed according to the key signal so as to enable the charging management chip to exit the power saving mode.
In an optional implementation manner, the key detection module is configured to distinguish a menu operation of a user and exit from the power saving mode of the charging management chip according to a duration of the key signal, and control the switch module to be closed when the duration of the key signal reaches a set duration, so that the charging management chip exits from the power saving mode.
In an alternative embodiment, the switching module comprises a bidirectional controlled MOS transistor.
In a second aspect, an embodiment of the present invention provides a charging control method, which is applied to a charging control circuit, where the charging control circuit includes a microprocessor, a voltage detection circuit, a battery, an adapter interface, a charging management chip, and a power supply circuit, where the charging management chip includes a charging module and a switch module, the microprocessor is electrically connected to the voltage detection circuit, the switch module, and the power supply circuit, an input end of the charging module is electrically connected to the adapter interface, an output end of the charging module is electrically connected to a load and the power supply circuit, and the switch module is also electrically connected to an output end of the charging module and the battery; the method comprises the following steps:
when the adapter is inserted into the adapter interface, the adapter interface provides an input power supply for the charging module;
the charging module outputs a power supply voltage according to the input power supply; the power supply voltage is used for supplying power to the load, is output to the battery through the switch module and is output to the microprocessor through the power supply circuit to supply power;
the voltage detection circuit detects the voltage value of the battery in real time and outputs the voltage value of the battery to the microprocessor;
and when the voltage value of the battery reaches a preset charging completion threshold value, the microprocessor controls the switch module to be switched off so as to enable the charging management chip to be in a power-saving mode.
In an alternative embodiment, the method further comprises:
when the charging management chip is in a power-saving mode, if the voltage value of the battery is reduced to the over-discharge voltage of the battery, the microprocessor controls the switch module to be closed so that the power supply voltage is continuously output to the battery through the switch module to charge the battery.
In an optional implementation manner, the charging control circuit further includes a key module, the charging management chip further includes a key detection module, the key module is electrically connected to the key detection module, and the key detection module is electrically connected to the switch module; the method further comprises the following steps:
the key module outputs a key signal to the key detection module according to the pressing operation of the user;
and the key detection module controls the switch module to be closed according to the key signal so as to enable the charging management chip to exit the power saving mode.
In an optional implementation manner, the key detection module controls the switch module to be closed according to the key signal, so that the charging management chip exits the power saving mode, including:
the key detection module distinguishes menu operation of a user and exit of the charging management chip from the power saving mode according to the duration of the key signal, and controls the switch module to be closed when the duration of the key signal reaches a set duration, so that the charging management chip exits from the power saving mode.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a load and the charging control circuit described in any one of the foregoing embodiments.
The charging control circuit comprises a microprocessor, a voltage detection circuit, a battery, an adapter interface, a charging management chip and a power supply circuit, wherein the charging management chip comprises a charging module and a switch module, the microprocessor is electrically connected with the voltage detection circuit, the switch module and the power supply circuit, the input end of the charging module is electrically connected with the adapter interface, the output end of the charging module is electrically connected with a load and the power supply circuit, and the switch module is also electrically connected with the output end of the charging module and the battery. When the adapter is inserted into the adapter interface, the adapter interface provides an input power supply for the charging module, the charging module outputs power supply voltage according to the input power supply, the power supply voltage is used for supplying power to a load, the power supply voltage is output to the battery through the switch module to charge the battery and is output to the microprocessor through the power supply circuit to supply power, the voltage detection module detects the voltage value of the battery in real time and outputs the voltage value of the battery to the microprocessor, and the microprocessor controls the switch module to be disconnected when the voltage value of the battery reaches a preset charging completion threshold value, so that the charging management chip is in a power saving mode. So, realized detecting battery charging and accomplishing the back, through the disconnection of control switch module for the route between the output of battery and the module that charges is cut off, and the supply voltage of the module output that charges like this can not charge the battery, and the battery also can't carry out reverse power supply to the load through switch module, has effectively reduced the electric quantity consumption speed of battery, and when the user forgets for a long time to extract the adapter, the battery electric quantity is effectively preserved, and the battery can not frequently carry out charge-discharge, thereby extension battery life.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 shows a block diagram of an electronic device according to an embodiment of the present invention;
fig. 2 shows another block diagram of an electronic device provided in an embodiment of the present invention;
fig. 3 is a schematic diagram showing a circuit structure of the charging chip;
FIG. 4 is a schematic diagram of a BATFET MOS transistor parameter table;
fig. 5 is a schematic flow chart of a charging control method according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of a charging control method according to an embodiment of the present invention;
fig. 7 is a schematic flowchart illustrating a charging control method according to an embodiment of the present invention.
Icon: 10-an electronic device; 100-a charge control circuit; 200-load; 110-a microprocessor; 120-a voltage detection circuit; 130-a battery; 140-an adapter interface; 150-a charge management chip; 160-supply circuit; 170-key module; 151-charging module; 152-a switch module; 153-key press detection module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
Referring to fig. 1, a block diagram of an electronic device 10 according to an embodiment of the invention is shown. The electronic Device 10 may be a wearable Device such as a bracelet and a watch, and may also be an electronic product such as a smart phone, a tablet Computer, a Personal Computer (PC), a Mobile Internet Device (MID), a Personal Digital Assistant (PDA), and the like.
As shown in fig. 1, the electronic device 10 includes a charge control circuit 100 and a load 200, and the charge control circuit 100 can supply power to the load 200. The charging control circuit 100 includes a microprocessor 110, a voltage detection circuit 120, a battery 130, an adapter interface 140, a charging management chip 150 and a power supply circuit 160, the charging management chip 150 includes a charging module 151 and a switch module 152, the microprocessor 110 is electrically connected to the voltage detection circuit 120, the switch module 152 and the power supply circuit 160, an input terminal of the charging module 151 is electrically connected to the adapter interface 140, an output terminal of the charging module 151 is electrically connected to a load 200 and the power supply circuit 160, and the switch module 152 is also electrically connected to an output terminal of the charging module 151 and the battery 130.
The adapter interface 140 is used to provide input power to the charging module 151 when an adapter is inserted.
In this embodiment, when the electronic device 10 needs to be charged, the adapter interface 140 may be connected to the adapter, and the adapter may be plugged into the adapter interface 140 to provide the input power for the charging module 151.
The charging module 151 is configured to output a power supply voltage according to an input power; the supply voltage is used to power the load 200, charge the battery 130 via the output of the switching module 152, and power the microprocessor 110 via the output of the power supply circuit 160.
In this embodiment, the charging module 151 is configured to rectify an input power to obtain a predetermined power supply voltage and current. Since the input end of the charging module 151 is electrically connected to the adapter interface 140, and the output end of the charging module 151 is electrically connected to the load 200, the switch module 152, and the power supply circuit 160 of the electronic device 10, the input power provided by the adapter interface 140 is rectified by the charging module 151 into a power supply voltage, which is provided to the load 200 to enable the load 200 to normally operate, and the power supply voltage is provided to the battery 130 through the switch module 152, so that the battery 130 is charged to a full power state, and the power supply voltage can be output to the microprocessor 110 through the power supply circuit 160 to ensure the normal operation of the microprocessor 110.
It should be noted that the load 200 of the electronic device 10 includes, but is not limited to, an external memory, a power module, a sensor, an audio device, a radio frequency module, and the like.
The voltage detection circuit 120 is used for detecting the voltage value of the battery 130 in real time and outputting the voltage value of the battery 130 to the microprocessor 110.
In this embodiment, the voltage value of the battery 130 can be collected by the voltage detection circuit 120 in real time during the whole process of inserting the adapter into the adapter interface 140, and output to the microprocessor 110.
The microprocessor 110 is configured to control the switch module 152 to be turned off when the voltage value of the battery 130 reaches a preset charging completion threshold value, so that the charging management chip 150 is in the power saving mode.
In this embodiment, the charge completion threshold indicates that the battery 130 is in a full state and the charge is complete. After receiving the voltage value of the battery 130 fed back by the voltage detection circuit 120, the microprocessor 110 determines whether the battery 130 is fully charged according to the voltage value of the battery 130, and controls the switch module 152 to be turned off when the battery 130 is fully charged, and at this time, the charge management chip 150 is in a power saving (ship mode) mode. In the power saving mode, the power supply voltage output by the charging module 151 can be supplied to the microprocessor 110 through the power supply circuit 160 while supplying power to the load 200, so as to ensure the normal operation of the microprocessor 110, while the path between the battery 130 and the output terminal of the charging module 151 is cut off, the power supply voltage output by the charging module 151 cannot charge the battery 130, the battery 130 cannot reversely supply power to the load 200 through the switch module 152, the power consumption rate of the battery 130 is greatly reduced, when the user forgets to pull out the adapter for a long time, the power of the battery 130 is effectively stored, the battery 130 cannot be frequently charged and discharged, and thus the service life of the battery 130 is prolonged.
It can be understood that when the electronic device 10 is in the charging state (i.e. the battery 130 is not charged completely), the switch module 152 is in the closed state, and the supply voltage rectified and outputted by the charging module 151 is provided to the battery 130 through the switch module 152 while supplying power to the load 200, so that the battery 130 is charged to the full-charge state, and is provided to the microprocessor 110 through the power supply circuit 160, so as to ensure the normal operation of the microprocessor 110; when the electronic device 10 is in a non-charging state (no adapter is plugged into the adapter interface 140), or when the current required by the load 200 is greater than the maximum capability that the adapter can provide in the charging state, the switch module 152 is in a closed state, so that the battery 130 can provide power to the load 200 of the electronic device 10 through the switch module 152; when the electronic device 10 changes from the charging state to the charging completion state (i.e. the voltage value of the battery 130 reaches the preset charging completion threshold), the switch module 152 connecting the battery 130 and the load 200 is controlled to be turned off, so that the battery 130 is neither in the charging state nor in the discharging state, the power consumption speed of the battery 130 is significantly reduced, and the battery 130 is effectively prevented from entering the charging and discharging cycle frequently.
In practical applications, by cutting off the path between the battery 130 and the output terminal of the charging module 151, the power supply voltage output by the charging module 151 cannot charge the battery 130, and the battery 130 cannot supply power to the load 200 reversely through the switch module 152, although the power consumption rate of the battery 130 can be effectively reduced, the switch module 152 connected to the battery 130 still inevitably consumes a small amount of power, so that the voltage value of the battery 130 is also reduced over time. Based on this, the microprocessor 110 can also be used to control the switch module 152 to close if the voltage value of the battery 130 is reduced to the over-discharge voltage of the battery 130 when the charging management chip 150 is in the power saving mode, so that the power supply voltage continues to be output to the battery 130 through the switch module 152 for charging.
That is, when the charging management chip 150 is in a low power consumption state (i.e., a power saving mode), the voltage detection circuit 120 detects the voltage value at two ends of the battery 130 in real time and feeds the voltage value back to the microprocessor 110, and when the voltage value of the battery 130 is reduced to an overdischarge voltage (e.g., 3.0V) of the battery 130, the microprocessor 110 sends a control signal to control the switch module 152 inside the charging management chip 150 to close, so that the input power provided by the adapter interface 140 is rectified and output by the charging module 151, and then the input power is provided to the load 200, and simultaneously, the input power can be provided to the battery 130 through the switch module 152 inside the charging management chip 150 for charging, thereby preventing the overdischarge of the battery 130 from affecting the service life of the battery 130. In the conventional charging scheme, since the output terminals of the battery 130 and the charging module 151 are in a connected state, consumption of electric quantity of the battery 130 is accelerated, and the charging management chip 150 directly detects the voltage value of the battery 130, for a 4.35V high-voltage lithium ion battery, generally, when the voltage value of the battery 130 is reduced to 4.23V or 4.14V (i.e., Vrecharge set inside the charging management chip 150), the charging management chip 150 automatically starts charging. Since the over-discharge voltage of the battery 130 is lower than the Vrecharge threshold set in the charge management chip 150, in the embodiment of the present invention, the microprocessor 110 controls the switch module 152 to be closed when determining that the voltage value of the battery 130 is reduced to the over-discharge voltage of the battery 130, so that the battery 130 is in the charging state, which can effectively prevent the battery 130 from being frequently turned on in the charging and discharging states, thereby further prolonging the service life of the battery 130.
Optionally, referring to fig. 2, in order to facilitate the user to control the charging management chip 150 to exit the power saving mode, the charging control circuit 100 may further include a key module 170, the charging management chip 150 may further include a key detection module 153, the key module 170 is electrically connected to the key detection module 153, and the key detection module 153 is electrically connected to the switch module 152.
The key module 170 is configured to output a key signal to the key detection module 153 according to a pressing operation of a user.
For example, the electronic device 10 is provided with an operation key, and when the operation key is not pressed, the pin of the key module 170 connected to the key detection module 153 in the charging management chip 150 is pulled up to a high level; when the operation key is pressed, the pin of the key module 170 connected to the key detection module 153 in the charge management chip 150 is pulled to a low level (i.e., a key signal), and the key detection module 153 may recognize the key signal.
The key detection module 153 is configured to control the switch module 152 to be turned on according to the key signal, so that the charging management chip 150 exits the power saving mode.
For example, after recognizing the key signal, the key detection module 153 performs a specific control operation on the switch module 152, so that the switch module 152 is closed, the battery 130 is in a connected state with the output terminal of the charging module 151, and the charging management chip 150 exits the power saving mode. At this time, if the user pulls out the adapter, the system power supply of the electronic device 10 remains normal, and the electronic device is not powered off and is not restarted, so that the continuity of use is ensured.
Optionally, in order to avoid adding additional cost of a BOM of Material (Bill of Material) device, a layout area of a Printed Circuit Board (PCB) is effectively saved, and an existing physical operation key on the electronic device 10 may be utilized to distinguish a menu operation of a user and exit the power saving mode according to a pressing duration of the physical operation key by the user, that is, to distinguish a scene definition of the operation key under different pressing durations through differentiation, so as to exit the power saving mode. Specifically, the key detection module 153 is configured to distinguish a menu operation of the user and the charge management chip 150 exiting the power saving mode according to a duration of the key signal (i.e., a pressing duration of the operation key by the user), and when the duration of the key signal reaches a set duration, the switch module 152 is controlled to be closed, so that the charge management chip 150 exits the power saving mode.
That is, the key detection module 153 may determine whether to control the switch module 152 to be turned on according to the duration of the operation key pressed by the user, so as to control the charging management chip 150 to exit the power saving mode; and if the duration of the pressing operation key of the user does not reach the set duration, judging that the pressing operation of the user is a menu operation. The value of the set duration can be set according to actual requirements; for example, the set time period may be 5 seconds.
In one possible embodiment, the switch module 152 may include a bidirectional controlled MOS transistor. In this case, the microprocessor 110 and the key detection module 153 may be connected to the gate of a bidirectional controlled MOS transistor, and the other two pins (i.e., the source and the drain) of the bidirectional controlled MOS transistor are connected to the output terminals of the battery 130 and the charging module 151, respectively.
In one possible embodiment, the charging management chip 150 may be a charging chip. FIG. 3 is a schematic diagram of a circuit structure of a charging chip
Figure BDA0002639499430000131
The pins are used for connecting the key module 170; the SYS pin is an output terminal of the charging module 151, and is used for connecting the load 200, the power supply circuit 160 and the switching module 152; the BAT pin is used to connect the switch module 152 and the battery 130; the VBUS pin is an input terminal of the charging module 151, and is used for connecting the adapter interface 140.
After the battery 130 is charged, the BATFET mos transistor (i.e., the switch module 152) is turned off by controlling the register bit BATFET _ DIS in the charging chip to be 1, and at this time, the battery 130 is neither in a charging state nor in a discharging state, so that the endurance of the battery 130 is improved. In addition, when the adapter is inserted into the adapter interface 140, before the control register bit BATFET _ DIS is 1, the control register bit BATFET _ RST _ VBUS may be first set to 1, and then the BATFET MOS transistor is still in the off state regardless of whether the adapter is in the inserted state or the pulled-out state, and is not affected; that is, after the user unplugs the adapter, the charging chip is still in the power saving mode, which can reduce the power consumption speed of the battery 130, and if the user needs the system of the electronic device 10 to supply power normally, the user can exit the power saving mode by pressing the physical operation key, and the system works normally.
Therefore, in the charging control circuit 100 according to the embodiment of the present invention, in the charging process of the electronic device 10, especially when the user forgets to pull out the adaptor for a long time, the register bit battlefield _ DIS is controlled to be 1 to turn off the battlefield MOS transistor, so that the charging chip enters the power saving mode, the battery 130 can be prevented from repeatedly entering the charging and discharging cycle, and the damage to the battery 130 is reduced. When the voltage level of battery 130 drops to a certain level (e.g., 3.0V), charging can be turned on again by controlling register bit BATFET _ DIS to 0.
According to the parameter table of the BATFET MOS transistor shown in FIG. 4, the BATFET MOS transistor is in an enable state and a disable state, and the static current has a certain difference; wherein the static current range corresponding to the enable state is 9.5-15 muA, and the static current range corresponding to the disable state is 7-9.5 muA. After the battery 130 is normally charged, the current flowing to the battery 130 through the BATFET MOS tube is 0, but since the BATFET MOS tube is in an enable state, the leakage current per se is large, and the voltage value of the battery 130 is reduced at a relatively fast rate, so that the battery 130 is easily repeatedly charged and discharged; in the embodiment, the BATFET MOS transistor is disconnected by controlling the BATFET MOS transistor to be in a disable state, so that the leakage of the BATFET MOS transistor can be reduced, the endurance of the battery 130 is improved, and the frequency of repeated charging and discharging is reduced.
Fig. 5 is a schematic flow chart of a charging control method according to an embodiment of the present invention. It should be noted that the charging control method in the embodiment of the present application is not limited by fig. 5 and the following specific sequence, and it should be understood that, in other embodiments, the sequence of some steps in the charging control method in the embodiment of the present invention may be interchanged according to actual needs, or some steps in the charging control method may be omitted or deleted. It should be noted that, the charging control method provided by the embodiment of the present invention has the same basic principle and technical effects as those of the above-mentioned embodiment, and for brief description, reference may be made to corresponding contents in the above-mentioned embodiment for parts that are not mentioned in this embodiment. The charging control method can be applied to the charging control circuit 100, and the specific flow shown in fig. 5 will be described in detail below.
Step S501, when the adapter is inserted into the adapter interface, the adapter interface provides an input power supply for the charging module.
Step S502, the charging module outputs power supply voltage according to the input power supply; the power supply voltage is used for supplying power to the load, is output to the battery through the switch module to charge and is output to the microprocessor through the power supply circuit to supply power.
In step S503, the voltage detection circuit detects the voltage value of the battery in real time and outputs the voltage value of the battery to the microprocessor.
In step S504, when the voltage value of the battery reaches the preset charging completion threshold, the microprocessor controls the switch module to be turned off, so that the charging management chip is in the power saving mode.
According to the charging control method provided by the embodiment of the invention, after the charging of the battery 130 is detected to be completed, the switch module 152 is controlled to be disconnected, so that the path between the battery 130 and the output end of the charging module 151 is cut off, the power supply voltage output by the charging module 151 cannot charge the battery 130, the battery 130 cannot reversely supply power to the load 200 through the switch module 152, the power consumption speed of the battery 130 is effectively reduced, when a user forgets to pull out the adapter for a long time, the power of the battery 130 is effectively stored, the battery 130 cannot be frequently charged and discharged, and the service life of the battery 130 is prolonged.
Optionally, referring to fig. 6, the charging control method may further include the following steps:
in step S601, when the charging management chip is in the power saving mode, if the voltage value of the battery is reduced to the overdischarge voltage of the battery, the microprocessor controls the switch module to be closed, so that the power supply voltage continues to be output to the battery through the switch module for charging.
That is, when the charging management chip 150 is in the power saving mode, the voltage detection circuit 120 detects the voltage value at the two ends of the battery 130 in real time and feeds the voltage value back to the microprocessor 110, and when the voltage value of the battery 130 is reduced to the over-discharge voltage of the battery 130, the microprocessor 110 sends a control signal to control the switch module 152 inside the charging management chip 150 to be closed, so that the input power provided by the adapter interface 140 is rectified and output by the charging module 151, and then the input power can be provided for the load 200 and the battery 130 can be charged by the switch module 152 inside the charging management chip 150, thereby avoiding the over-discharge of the battery 130 and affecting the service life of the battery 130.
Optionally, referring to fig. 7, the charging control method may further include the following steps:
in step S701, the key module outputs a key signal to the key detection module according to a pressing operation of a user.
In step S702, the key detection module controls the switch module to be turned on according to the key signal, so that the charging management chip exits the power saving mode.
Wherein, the step S702 specifically includes: the key detection module distinguishes menu operation of a user and the charge management chip from exiting the power saving mode according to the duration of the key signal, and controls the switch module to be closed when the duration of the key signal reaches a set duration, so that the charge management chip exits the power saving mode. Thus, the existing entity operation keys on the electronic device 10 can be utilized to distinguish the scene definitions of the operation keys under different pressing time lengths through differentiation, so that the exit of the power saving mode is realized, and the hardware cost and the PCB layout area are saved.
To sum up, the charging control circuit, the charging control method and the electronic device provided in the embodiments of the present invention include a microprocessor, a voltage detection circuit, a battery, an adapter interface, a charging management chip and a power supply circuit, where the charging management chip includes a charging module and a switch module, the microprocessor is electrically connected to the voltage detection circuit, the switch module and the power supply circuit, an input end of the charging module is electrically connected to the adapter interface, an output end of the charging module is electrically connected to both the load and the power supply circuit, and the switch module is also electrically connected to both the output end of the charging module and the battery. When the adapter is inserted into the adapter interface, the adapter interface provides an input power supply for the charging module, the charging module outputs power supply voltage according to the input power supply, the power supply voltage is used for supplying power to a load, the power supply voltage is output to a battery through the switch module to be charged and is output to the microprocessor through the power supply circuit to be supplied, the voltage value of the battery is detected by the voltage detection module in real time, the voltage value of the battery is output to the microprocessor, and when the voltage value of the battery reaches a preset charging completion threshold value, the microprocessor controls the switch module to be disconnected so that the charging management chip is in a power saving mode. So, realized detecting battery charging and accomplishing the back, through the disconnection of control switch module for the route between the output of battery and the module that charges is cut off, and the supply voltage of the module output that charges like this can not charge the battery, and the battery also can't carry out reverse power supply to the load through switch module, has effectively reduced the electric quantity consumption speed of battery, and when the user forgets for a long time to extract the adapter, the battery electric quantity is effectively preserved, and the battery can not frequently carry out charge-discharge, thereby extension battery life. In addition, when the charging management chip is in a power-saving mode, the voltage values at two ends of the battery are detected in real time through the voltage detection circuit and fed back to the microprocessor, when the voltage value of the battery is reduced to the overdischarge voltage of the battery, the microprocessor sends a control signal to control the switch module in the charging management chip to be closed, so that an input power supply provided by the adapter interface is rectified and output through the charging module, and the input power supply can supply power to a load and can also be provided for charging the battery through the switch module in the charging management chip, and the service life of the battery is prevented from being influenced by overdischarge of the battery. When the charging management chip is in the power-saving mode, a user can control the charging management chip to exit the power-saving mode by pressing the entity operation key, so that a switch path connected between the battery and the output end of the charging module is opened, and when the user pulls out the adapter, the system power supply of the electronic equipment can be maintained normal, the power failure and the restarting are avoided, and the use continuity is ensured.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A charging control circuit is characterized by comprising a microprocessor, a voltage detection circuit, a battery, an adapter interface, a charging management chip and a power supply circuit, wherein the charging management chip comprises a charging module and a switch module;
the adapter interface is used for providing an input power supply for the charging module when the adapter is inserted;
the charging module is used for outputting power supply voltage according to the input power supply; the power supply voltage is used for supplying power to the load, is output to the battery through the switch module and is output to the microprocessor through the power supply circuit to supply power;
the voltage detection circuit is used for detecting the voltage value of the battery in real time and outputting the voltage value of the battery to the microprocessor;
the microprocessor is used for controlling the switch module to be switched off when the voltage value of the battery reaches a preset charging completion threshold value, so that the charging management chip is in a power-saving mode; the charging completion threshold represents that the battery is in a full-charge state and charging is completed; in the power saving mode, the power supply voltage output by the charging module cannot charge the battery, and the battery cannot reversely supply power to the load through the switch module;
the charging control circuit further comprises a key module, the charging management chip further comprises a key detection module, the key module is electrically connected with the key detection module, and the key detection module is electrically connected with the switch module;
the key module is used for outputting a key signal to the key detection module according to the pressing operation of a user;
the key detection module is used for controlling the switch module to be closed according to the key signal so as to enable the charging management chip to exit the power saving mode.
2. The charging control circuit of claim 1, wherein the microprocessor is further configured to control the switch module to close if the voltage value of the battery decreases to an overdischarge voltage of the battery when the charging management chip is in the power saving mode, so that the power supply voltage continues to be output to the battery through the switch module for charging the battery.
3. The charging control circuit of claim 1, wherein the key detection module is configured to distinguish a menu operation of a user and the exit of the charging management chip from the power saving mode according to a duration of the key signal, and control the switch module to be closed when the duration of the key signal reaches a preset duration, so as to enable the charging management chip to exit the power saving mode.
4. The charge control circuit according to any of claims 1-3, wherein the switching module comprises a bidirectional controlled MOS transistor.
5. A charging control method is characterized by being applied to a charging control circuit, wherein the charging control circuit comprises a microprocessor, a voltage detection circuit, a battery, an adapter interface, a charging management chip and a power supply circuit, the charging management chip comprises a charging module and a switch module, the microprocessor is electrically connected with the voltage detection circuit, the switch module and the power supply circuit, the input end of the charging module is electrically connected with the adapter interface, the output end of the charging module is electrically connected with a load and the power supply circuit, and the switch module is also electrically connected with the output end of the charging module and the battery; the method comprises the following steps:
when the adapter is inserted into the adapter interface, the adapter interface provides an input power supply for the charging module;
the charging module outputs a power supply voltage according to the input power supply; the power supply voltage is used for supplying power to the load, is output to the battery through the switch module and is output to the microprocessor through the power supply circuit to supply power;
the voltage detection circuit detects the voltage value of the battery in real time and outputs the voltage value of the battery to the microprocessor;
when the voltage value of the battery reaches a preset charging completion threshold value, the microprocessor controls the switch module to be switched off so as to enable the charging management chip to be in a power saving mode; the charging completion threshold represents that the battery is in a full-charge state and charging is completed; in the power saving mode, the power supply voltage output by the charging module cannot charge the battery, and the battery cannot reversely supply power to the load through the switch module;
the charging control circuit further comprises a key module, the charging management chip further comprises a key detection module, the key module is electrically connected with the key detection module, and the key detection module is electrically connected with the switch module; the method further comprises the following steps:
the key module outputs a key signal to the key detection module according to the pressing operation of the user;
and the key detection module controls the switch module to be closed according to the key signal so as to enable the charging management chip to exit the power saving mode.
6. The method of claim 5, further comprising:
when the charging management chip is in a power-saving mode, if the voltage value of the battery is reduced to the overdischarge voltage of the battery, the microprocessor controls the switch module to be closed, so that the power supply voltage is continuously output to the battery through the switch module to charge the battery.
7. The method of claim 5, wherein the key detection module controls the switch module to close according to the key signal, so that the charging management chip exits the power saving mode, and the method comprises:
the key detection module distinguishes menu operation of a user and exit of the charging management chip from the power saving mode according to the duration of the key signal, and controls the switch module to be closed when the duration of the key signal reaches a set duration, so that the charging management chip exits from the power saving mode.
8. An electronic device comprising a load and the charge control circuit of any one of claims 1-4.
CN202010835396.7A 2020-08-19 2020-08-19 Charging control circuit, charging control method and electronic device Active CN111884303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010835396.7A CN111884303B (en) 2020-08-19 2020-08-19 Charging control circuit, charging control method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010835396.7A CN111884303B (en) 2020-08-19 2020-08-19 Charging control circuit, charging control method and electronic device

Publications (2)

Publication Number Publication Date
CN111884303A CN111884303A (en) 2020-11-03
CN111884303B true CN111884303B (en) 2022-09-30

Family

ID=73202970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010835396.7A Active CN111884303B (en) 2020-08-19 2020-08-19 Charging control circuit, charging control method and electronic device

Country Status (1)

Country Link
CN (1) CN111884303B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113036861A (en) * 2021-03-16 2021-06-25 上海商米科技集团股份有限公司 Intelligent charging and discharging system and method for lead-acid battery
CN116760396B (en) * 2023-07-28 2024-01-26 武汉景捷半导体有限公司 Control circuit, method and system of bat and readable storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5544923B2 (en) * 2010-02-24 2014-07-09 セイコーエプソン株式会社 Protection circuit and electronic equipment
CN101924384B (en) * 2010-08-17 2013-07-03 惠州Tcl移动通信有限公司 Mobile terminal and charging protection method and device thereof
CN103944230B (en) * 2014-04-25 2016-06-29 可牛网络技术(北京)有限公司 The charging system of mobile terminal, method and charger
CN206742879U (en) * 2017-01-23 2017-12-12 深圳市格瑞普电子科技有限公司 Cell apparatus for intelligent electric equipment
CN206547012U (en) * 2017-02-13 2017-10-10 重庆零度智控智能科技有限公司 Charging circuit and electronic equipment
CN108054792B (en) * 2017-12-04 2022-03-22 广东美的制冷设备有限公司 Power tube power supply circuit and power tube testing device
CN109802457A (en) * 2019-01-18 2019-05-24 青岛海信移动通信技术股份有限公司 A kind of electronic equipment and its charging method
CN210111651U (en) * 2019-07-29 2020-02-21 惠州市威德盛科技有限公司 Battery self-discharge prevention circuit and charger

Also Published As

Publication number Publication date
CN111884303A (en) 2020-11-03

Similar Documents

Publication Publication Date Title
US9035618B2 (en) Battery pack and method of controlling the same
US20110304299A1 (en) System of charging battery pack and method thereof
US6144186A (en) Low power enable circuit
CN110098652B (en) Mobile phone, mobile phone main body device and mobile phone endurance device
CN101340105B (en) Apparatus and method of recharging a battery using a usb device in a portable device
US20110279078A1 (en) Charging circuit and method, electronic device, and power supply unit
EP3820014A1 (en) Multi-battery charging and discharging apparatus and mobile terminal
KR20120101699A (en) Power converter with reduced power consumption when toggling between sleep and normal modes during device charging
US8239696B2 (en) Power supply circuit of portable computer
CN111884303B (en) Charging control circuit, charging control method and electronic device
SE515882C2 (en) Electrical power management system and radio communication device comprising such a system
KR100584324B1 (en) Apparatus for controlling power in complex mobile terminal
CN112886664A (en) Electronic device
CN111987773A (en) On-chip system, battery pack and electronic device
CN113036880A (en) Charging device, electronic device and charging method
CN115237235A (en) USB equipment shift-out identification circuit and method and power supply system
US6931554B2 (en) Add-on card for wireless communication with power-managing circuit
CN107872087B (en) Charging circuit and charging method
CN109256825B (en) Charging method and electronic device
JP4221665B2 (en) Mobile terminal device
CN107579566A (en) Battery charger and charging method
CN115425716A (en) Electronic device
US7135838B2 (en) Power-on device and method for controllably powering a circuit system with an adaptor or with a battery
CN114285128A (en) Outdoor equipment power supply control circuit, outdoor equipment power supply system and outdoor equipment
US6472849B1 (en) Reverse blocking function integrated into charging circuit

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