CN113872303A - Charging control method and device, electronic equipment and storage medium - Google Patents

Charging control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113872303A
CN113872303A CN202111236069.0A CN202111236069A CN113872303A CN 113872303 A CN113872303 A CN 113872303A CN 202111236069 A CN202111236069 A CN 202111236069A CN 113872303 A CN113872303 A CN 113872303A
Authority
CN
China
Prior art keywords
charging
current
state
current threshold
terminal equipment
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.)
Pending
Application number
CN202111236069.0A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111236069.0A priority Critical patent/CN113872303A/en
Publication of CN113872303A publication Critical patent/CN113872303A/en
Pending legal-status Critical Current

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/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/443Methods for charging or discharging in response to temperature
    • 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
    • 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/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting 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/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/007Regulation of charging or discharging current or voltage
    • 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
    • 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
    • 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/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • H02J7/007192Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature
    • H02J7/007194Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature of the battery
    • 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)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The disclosure relates to a charging control method and a charging control device, and belongs to the technical field of charging. Wherein, the method comprises the following steps: when the terminal equipment is in a charging state, the current charging current of the terminal equipment is obtained, and if the charging current is smaller than a first current threshold value, the terminal equipment is controlled to be switched from the charging state to an uncharged state, wherein the first current threshold value is determined according to state information of a battery of the terminal equipment. Therefore, the high cut-off current required by high-power charging can be provided, the first current threshold value, namely the cut-off current, is dynamically adjusted according to the temperature difference of the batteries at different time points and the difference of state information of different battery suppliers and the like, and the charging is finished in time when the charging is finished, so that the charging control is flexibly realized, and the charging cut-off function is dynamically configured.

Description

Charging control method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of charging technologies, and in particular, to a charging control method and apparatus, an electronic device, and a storage medium.
Background
The charge is cut off, which is simply to say that the mobile phone starts to charge from a low electric quantity and stops charging when the mobile phone is fully charged, and the judgment mechanism is called the charge cut-off. The charging control based on the charging cut-off mechanism can avoid the overcharge of the battery, however, as the charging power required by the terminal device is larger and larger, the variety of the battery is more and more extensive, and how to configure the charging cut-off function becomes a problem to be solved urgently in the industry.
Disclosure of Invention
The present disclosure provides a charging control method, apparatus, terminal device, electronic device, and computer-readable storage medium, to at least solve the problem in the related art that it is difficult to dynamically configure a charging cutoff function, and it is not possible to flexibly implement charging control. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a charge control method including: when the terminal equipment is in a charging state, acquiring the current charging current of the terminal equipment; and if the charging current is smaller than a first current threshold value, controlling the terminal equipment to be switched from a charging state to a non-charging state, wherein the first current threshold value is determined according to the state information of the battery of the terminal equipment.
In one embodiment of the present disclosure, the method further comprises: determining a first current threshold value through a preset corresponding relation between state information and the first current threshold value based on the state information, wherein the state information at least comprises one of the following: the temperature of the battery and the battery vendor identification.
In an embodiment of the present disclosure, the controlling the terminal device to switch from the charging state to the non-charging state if the charging current is smaller than a first current threshold includes: and if the charging current is smaller than the first current threshold, controlling a power management integrated circuit chip of the terminal equipment to stop outputting the charging current so as to control the terminal equipment to be switched from a charging state to a non-charging state.
In an embodiment of the present disclosure, the controlling, if the charging current is smaller than the first current threshold, the power management integrated circuit chip of the terminal device to stop outputting the charging current includes: and if the charging current is smaller than the first current threshold and the cutoff zone bit of the electricity meter of the terminal equipment is obtained, controlling the power management integrated circuit chip to stop outputting the charging current.
In an embodiment of the present disclosure, the controlling the terminal device to switch from the charging state to the non-charging state if the charging current is smaller than a first current threshold includes: and if the charging current is smaller than the first current threshold value and the power management integrated circuit chip of the terminal equipment does not stop outputting the charging current, controlling the power management integrated circuit chip to disconnect a charging loop of the battery when the charging current is lower than a second current threshold value so as to control the terminal equipment to be switched from a charging state to an uncharged state.
In one embodiment of the present disclosure, the second current threshold is a maximum current threshold set by the power management integrated circuit chip.
In an embodiment of the present disclosure, before controlling the terminal device to switch from the charging state to the non-charging state if the charging current is smaller than the first current threshold, the method further includes: judging whether the terminal equipment is in a constant current charging mode or not according to the charging current; and if the terminal equipment is in a constant current charging mode, judging whether the charging current is smaller than the first current threshold value.
According to a second aspect of the embodiments of the present disclosure, there is provided a charge control device including: the terminal equipment comprises an acquisition module, a charging module and a charging module, wherein the acquisition module is configured to acquire the current charging current of the terminal equipment when the terminal equipment is in a charging state; the charging control module is configured to execute the step of controlling the terminal device to be switched from a charging state to a non-charging state if the charging current is smaller than a first current threshold value, wherein the first current threshold value is determined according to the state information of the terminal device battery.
In one embodiment of the present disclosure, the apparatus further comprises: a determining module configured to perform determining a first current threshold value through a correspondence between preset state information and the first current threshold value based on the state information, wherein the state information includes at least one of: the temperature of the battery and the battery vendor identification.
In one embodiment of the present disclosure, the charging control module is configured to perform: and if the charging current is smaller than the first current threshold, controlling a power management integrated circuit chip of the terminal equipment to stop outputting the charging current so as to control the terminal equipment to be switched from a charging state to a non-charging state.
In an embodiment of the present disclosure, the charging control module is further configured to perform: and if the charging current is smaller than the first current threshold and the cutoff zone bit of the electricity meter of the terminal equipment is obtained, controlling the power management integrated circuit chip to stop outputting the charging current.
In an embodiment of the present disclosure, the charging control module is further configured to perform: if the charging current is smaller than the first current threshold value and the power management integrated circuit chip of the terminal equipment does not stop outputting the charging current, the power management integrated circuit chip is controlled to disconnect the charging loop of the battery when the charging current is lower than the second current threshold value so as to control the terminal equipment to be switched from a charging state to an uncharged state.
In one embodiment of the present disclosure, the second current threshold is a maximum current threshold set by the power management integrated circuit chip.
In one embodiment of the present disclosure, the charging control module is further configured to perform: judging whether the terminal equipment is in a constant current charging mode or not according to the charging current; and if the terminal equipment is in a constant current charging mode, judging whether the charging current is smaller than the first current threshold value.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to execute the instructions to implement the charging control method according to the first aspect of the embodiment of the disclosure.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the charging control method according to the first aspect of the embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: the second current threshold value can be determined according to the acquired temperature of the battery and the characteristic parameters of the battery, and when the charging current of the battery is detected to be lower than the second current threshold value, the power management integrated circuit chip is controlled to stop outputting the charging current. Therefore, the second current threshold value can be dynamically adjusted according to the temperature of the battery and the characteristic parameters of the battery, so that the charging control is flexibly realized, and the charging cut-off function is dynamically configured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a flow chart illustrating a charge control method according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a method for periodically obtaining temperature in a charge control method according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating a charge control device according to an exemplary embodiment.
FIG. 4 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a charging control method according to an exemplary embodiment, and as shown in fig. 1, the charging control method according to the embodiment of the present disclosure may include the following steps.
S101, when the terminal equipment is in a charging state, the current charging current of the terminal equipment is obtained.
It should be noted that the execution subject of the charging control method according to the embodiment of the present disclosure is the charging control device according to the embodiment of the present disclosure, and the device may be disposed in an electronic device, such as a terminal device, to execute the charging control method according to the embodiment of the present disclosure.
The embodiment of the disclosure can be applied to a scene of high-power charging or charging batteries of multiple suppliers, so as to flexibly realize charging control, dynamically configure a charging cut-off function, avoid the risk of overcharging of the batteries, and avoid the safety problems of influencing the service life of the batteries and even leading to battery explosion and the like due to overcharging.
According to the embodiment of the disclosure, when the terminal device is in a charging state, the charging current of the terminal device is acquired, so that charging control is performed according to the charging current.
In some embodiments, when the terminal device is in a charging state, a charging current may be output through a Power Management Integrated Circuit (PMIC) chip to charge a battery of the terminal device.
In some embodiments, the charging current may be obtained by an electricity meter in the battery pack.
And S102, if the charging current is smaller than a first current threshold value, controlling the terminal equipment to be switched from a charging state to a non-charging state, wherein the first current threshold value is determined according to the state information of the battery of the terminal equipment.
The technical personnel in the field can understand that when the battery is charged, the constant current charging mode is firstly started, along with the continuous rise of the voltage, when the cut-off voltage of the battery is reached, the constant voltage charging mode needs to be switched to, at the moment, the current is continuously reduced until the charging is finished, and in order to avoid the overcharge of the battery, the current threshold value needs to be set as the cut-off current to stop the charging in time when the charging is finished.
In the embodiment of the disclosure, the acquired charging current is determined in the process of charging the battery, so that the terminal device is controlled to be switched from the charging state to the non-charging state when the charging current is smaller than the first current threshold.
The first current threshold is determined according to state information of the terminal device battery, where the state information may include, but is not limited to, a temperature of the battery, a vendor identifier of the battery, a charge cut-off voltage of the battery, a cell type, and the like, and the disclosure is not limited thereto. Each battery supplier has a corresponding supplier identifier, and the suppliers of the battery can be distinguished through the supplier identifiers.
It is easy to understand that in the process of charging the battery, the temperature of the battery, the supplier identification of the battery, the type of the battery core and other information can be used as important parameters for charging control, so that the charging control can be conveniently carried out in the normal working state of the battery, and the problem that the service life of the battery is influenced and even potential safety hazards are caused due to continuous charging of the battery when the temperature is too high is avoided.
In an embodiment, when the terminal device detects that a charger is inserted, the terminal device may obtain a supplier identifier of the battery by identifying the identifier of the battery, and may further send a request to a fuel gauge in the battery pack to obtain status information of the battery, such as the temperature of the battery, where in this embodiment, the status information may include, but is not limited to, at least one of: the temperature of the battery and the vendor identification of the battery.
In some embodiments, the first current threshold may be determined by a correspondence between preset state information and the first current threshold based on the state information.
For example, a first current threshold configuration table may be searched according to the temperature and the supplier identifier, and an appropriate first current threshold may be selected as the cutoff current of the charging, as shown in table 1, the first current threshold configuration table may include a correspondence relationship between the temperature-the supplier identifier-the first current threshold, and the first current threshold table may be obtained through history accumulation or data sharing and stored in a database in advance.
TABLE 1 first Current threshold configuration Table
Figure BDA0003317521380000051
For example, if the temperature of the battery is 20 degrees at the present moment and the battery supplier identifier is a, 850mA may be selected as the first current threshold.
According to the charging control method provided by the embodiment of the disclosure, when the terminal device is in a charging state, the current charging current of the terminal device is obtained, and if the charging current is smaller than a first current threshold value, the terminal device is controlled to be switched from the charging state to an uncharged state, wherein the first current threshold value is determined according to the state information of the battery of the terminal device. Therefore, the high cut-off current required by high-power charging can be provided, the first current threshold value, namely the cut-off current, is dynamically adjusted according to the temperature difference of the batteries at different time points, the difference of different battery suppliers and other state information, the charging is finished in time when the charging is finished, the charging control is flexibly realized, the charging cut-off function is dynamically configured, and the possible battery service life loss and the possible battery explosion risk caused by the overcharge phenomenon are effectively avoided.
In one embodiment, the first current threshold may be dynamically adjusted by periodically acquiring the temperature, that is: in the charging process, the temperature of the battery is cyclically obtained based on a preset time interval, and the first current threshold is dynamically adjusted according to the current temperature, as shown in fig. 2, the charging control method may include the following steps:
s201, acquiring the temperature of the battery.
S202, adjusting the first current threshold according to the temperature of the battery.
S203, judging whether the charging current of the battery is smaller than a first current threshold value.
If yes, go to step S204; if not, go to step S205;
and S204, controlling the power management integrated circuit chip to stop outputting the charging current.
And S205, judging whether a preset time interval is reached.
If yes, returning to the step S201; if not, the process returns to step S203.
It should be noted that, for implementation of the embodiments of the present disclosure, reference may be made to the explanation of the embodiments, and details are not described here.
Further, on the basis of any of the above embodiments, the step S102 of controlling the terminal device to switch from the charging state to the non-charging state if the charging current is smaller than the first current threshold may specifically include: if the charging current is smaller than the first current threshold, a Power Management Integrated Circuit (PMIC) chip of the control terminal device stops outputting the charging current, so that the control terminal device is switched from a charging state to a non-charging state.
As a possible implementation, a current threshold of the electricity meter may be set on the electricity meter of the terminal device before the charging current is acquired, when the electricity meter detects that the charging current is smaller than the current threshold of the electricity meter, the electricity meter updates the cut-off flag bit, so that the present disclosure obtains the cut-off flag bit of the electricity meter by reading when the charging current is smaller than the first current threshold, verifies whether the charging current is smaller than the current threshold of the electricity meter according to the cut-off flag bit, and controls the power management integrated circuit chip to stop outputting the charging current if it is determined that the charging current is smaller than the current threshold of the electricity meter through the cut-off flag bit.
In some embodiments, as shown in table 1, assuming that the temperature of the battery at a certain time is 30 degrees, the supplier is supplier a, 850mA may be selected as the first current threshold, and a maximum 1000mA of the first current thresholds of different suppliers and different temperatures is selected as the current threshold of the current meter, when the charging enters the constant voltage mode, the charging current is gradually decreased, and when the charging current is lower than the current threshold 1000mA of the current meter, the cut-off flag of the current meter is set to 1, and when the charging current continues to decrease to the first current threshold 850mA, the cut-off flag is obtained, and if the cut-off flag is set to 1, the power management integrated circuit chip is controlled to stop outputting the charging current.
Further, in addition to any of the above embodiments, the step S102 of controlling the terminal device to switch from the charging state to the non-charging state if the charging current is smaller than the first current threshold may further include: if the charging current is smaller than the first current threshold and the power management integrated circuit chip does not stop outputting the charging current, the power management integrated circuit chip of the control terminal device disconnects a charging loop of the battery when the charging current is lower than the second current threshold so as to control the terminal device to be switched from a charging state to an uncharged state.
Optionally, a second current threshold of the power management integrated circuit chip may be set before the charging current is obtained, so that when the charging current is smaller than the first current threshold but the power management integrated circuit chip fails to stop outputting the charging current, the power management integrated circuit chip is controlled to disconnect the charging loop of the battery when the charging current is lower than the second current threshold, thereby implementing hardware power-off through the second current threshold of the power management integrated circuit chip, and preventing overcharge of the battery.
In one embodiment, the second current threshold may be a maximum current threshold set by the power management integrated circuit chip.
Therefore, the embodiment of the disclosure realizes three aspects of charge cut-off by using the first current threshold in combination with the current threshold of the ammeter and the second current threshold of the power management integrated circuit chip, ensures that the cut-off current can be dynamically selected according to the state information of the terminal device battery, and simultaneously uses the ammeter and the power management integrated circuit chip as the guarantee of charge control, thereby enhancing the effect and reliability of charge control.
Further, on the basis of the above embodiment, before the step S102 of "if the charging current is smaller than the first current threshold, controlling the terminal device to switch from the charging state to the non-charging state" the embodiment of the present disclosure may further include a determination process of the charging current, and specifically, the method may include the following steps:
and a, judging whether the terminal equipment is in a constant current charging mode or not according to the charging current.
In some embodiments, whether the terminal device is in the constant current charging mode, that is, whether the charging current changes, is determined according to the acquired charging current.
And b, if the terminal equipment is in the constant current charging mode, judging whether the charging current is smaller than a first current threshold value.
In some embodiments, if the terminal device is in the constant current charging mode, it is determined whether the charging current is smaller than a preset current threshold, so that when the charging current is smaller than the preset current threshold, the terminal device is controlled to switch from the charging state to the non-charging state, and the battery is prevented from being overcharged. And if the terminal equipment is not in the constant current charging mode, continuously detecting the charging current of the terminal equipment, and judging whether the charging current of the terminal equipment is in the constant current charging mode.
As a possible embodiment, the charging current of the terminal device battery in the charging state may be cyclically detected and determined by setting a time interval, for example, the charging current may be determined in a constant current charging mode and a constant voltage charging mode.
Fig. 3 is a block diagram illustrating a charge control device according to an exemplary embodiment. As shown in fig. 3, the charge control device 400 according to the embodiment of the present disclosure includes: an acquisition module 401 and a charging control module 402.
The obtaining module 401 is configured to obtain a current charging current of the terminal device when the terminal device is in a charging state.
And a charging control module 402 configured to perform control of switching the terminal device from the charging state to the non-charging state if the charging current is less than a first current threshold, wherein the first current threshold is determined according to the state information of the terminal device battery.
In one embodiment of the present disclosure, the charge control device further includes: a determining module configured to perform determining the first current threshold value through a preset correspondence between the state information and the first current threshold value based on the state information, wherein the state information includes at least one of: the temperature of the battery and the battery vendor identification.
In one embodiment of the present disclosure, the charging control module 402 is configured to perform: and if the charging current is smaller than the first current threshold, controlling the power management integrated circuit chip of the terminal device to stop outputting the charging current so as to control the terminal device to be switched from the charging state to the non-charging state.
In an embodiment of the present disclosure, the charging control module 402 is further configured to perform: and if the charging current is smaller than the first current threshold and the cutoff zone bit of the electricity meter of the terminal equipment is obtained, controlling the power management integrated circuit chip to stop outputting the charging current.
In an embodiment of the present disclosure, the charging control module 402 is further configured to perform: and if the charging current is smaller than the first current threshold and the power management integrated circuit chip of the terminal equipment does not stop outputting the charging current, controlling the power management integrated circuit chip to disconnect the charging loop of the battery when the charging current is lower than the second current threshold so as to control the terminal equipment to be switched from the charging state to the non-charging state.
In one embodiment of the present disclosure, the second current threshold is a maximum current threshold set by the power management integrated circuit chip.
In one embodiment of the present disclosure, the charging control module 402 is further configured to perform: judging whether the terminal equipment is in a constant current charging mode or not according to the charging current; and if the terminal equipment is in the constant current charging mode, judging whether the charging current is smaller than a first current threshold value.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The charging control apparatus provided in the embodiment of the present disclosure obtains a current charging current of the terminal device when the terminal device is in a charging state, and controls the terminal device to switch from the charging state to an uncharged state if the charging current is smaller than a first current threshold, where the first current threshold is determined according to state information of a battery of the terminal device. Therefore, the high cut-off current required by high-power charging can be provided, the first current threshold value, namely the cut-off current, is dynamically adjusted according to the temperature difference of the batteries at different time points, the difference of different battery suppliers and other state information, the charging is finished in time when the charging is finished, the charging control is flexibly realized, the charging cut-off function is dynamically configured, and the possible battery service life loss and the possible battery explosion risk caused by the overcharge phenomenon are effectively avoided.
Fig. 4 is a block diagram illustrating an electronic device 500 in accordance with an example embodiment.
As shown in fig. 4, the electronic device 500 includes:
a memory 501 and a processor 502, a bus 503 connecting different components (including the memory 501 and the processor 502), wherein the memory 501 stores a computer program, and when the processor 502 executes the program, the charging control method according to the embodiment of the present disclosure is implemented.
Bus 503 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
The electronic device 500 typically includes a variety of electronic device readable media. Such media may be any available media that is accessible by electronic device 500 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 501 may also include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)504 and/or cache memory 505. The electronic device 500 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 506 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 503 by one or more data media interfaces. Memory 501 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
A program/utility 508 having a set (at least one) of program modules 507 may be stored, for example, in memory 501, such program modules 507 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 507 generally perform the functions and/or methods of the embodiments described in this disclosure.
The electronic device 500 may also communicate with one or more external devices 509 (e.g., keyboard, pointing device, display 510, etc.), with one or more devices that enable a user to interact with the electronic device 500, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 500 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 512. Also, the electronic device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 513. As shown in FIG. 4, the network adapter 513 communicates with the other modules of the electronic device 500 via the bus 503. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 502 executes various functional applications and data processing by executing programs stored in the memory 501.
It should be noted that, for the implementation process and the technical principle of the electronic device of the embodiment, reference is made to the foregoing explanation of the charging control method of the embodiment of the present disclosure, and details are not described herein again.
The electronic device provided by the embodiment of the present disclosure may execute the charging control method as described above, and when the terminal device is in the charging state, obtain the current charging current of the terminal device, and if the charging current is smaller than a first current threshold, control the terminal device to switch from the charging state to the non-charging state, where the first current threshold is determined according to the state information of the terminal device battery. Therefore, the high cut-off current required by high-power charging can be provided, the first current threshold value, namely the cut-off current, is dynamically adjusted according to the temperature difference of the batteries at different time points and the difference of state information of different battery suppliers and the like, and the charging is finished in time when the charging is finished, so that the charging control is flexibly realized, the charging cut-off function is dynamically configured, and the possible loss of the service life of the batteries and the explosion risk of the batteries caused by the overcharge phenomenon are effectively avoided.
In order to implement the above embodiments, the present disclosure also proposes a computer-readable storage medium.
Wherein the instructions in the computer readable storage medium, when executed by a processor of the electronic device, enable the electronic device to perform the charging control method as previously described. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A charge control method, comprising:
when the terminal equipment is in a charging state, acquiring the current charging current of the terminal equipment;
and if the charging current is smaller than a first current threshold value, controlling the terminal equipment to be switched from a charging state to a non-charging state, wherein the first current threshold value is determined according to the state information of the battery of the terminal equipment.
2. The charge control method according to claim 1, characterized by further comprising:
determining a first current threshold value through a preset corresponding relation between state information and the first current threshold value based on the state information, wherein the state information at least comprises one of the following: the temperature of the battery and the battery vendor identification.
3. The charge control method according to claim 1, wherein the controlling the terminal device to switch from the charged state to the uncharged state if the charging current is smaller than a first current threshold value comprises:
and if the charging current is smaller than the first current threshold, controlling a power management integrated circuit chip of the terminal equipment to stop outputting the charging current so as to control the terminal equipment to be switched from a charging state to a non-charging state.
4. The charging control method according to claim 3, wherein the controlling the power management integrated circuit chip of the terminal device to stop outputting the charging current if the charging current is smaller than the first current threshold comprises:
and if the charging current is smaller than the first current threshold and the cutoff zone bit of the electricity meter of the terminal equipment is obtained, controlling the power management integrated circuit chip to stop outputting the charging current.
5. The charge control method according to claim 1, wherein the controlling the terminal device to switch from the charged state to the uncharged state if the charging current is smaller than a first current threshold value comprises:
and if the charging current is smaller than the first current threshold value and the power management integrated circuit chip of the terminal equipment does not stop outputting the charging current, controlling the power management integrated circuit chip to disconnect a charging loop of the battery when the charging current is lower than a second current threshold value so as to control the terminal equipment to be switched from a charging state to an uncharged state.
6. The charge control method of claim 5, wherein the second current threshold is a maximum current threshold set by the power management integrated circuit chip.
7. The charge control method according to any one of claims 1 to 6, wherein before controlling the terminal device to switch from the charging state to the non-charging state if the charging current is smaller than a first current threshold, the method further comprises:
judging whether the terminal equipment is in a constant current charging mode or not according to the charging current;
and if the terminal equipment is in a constant current charging mode, judging whether the charging current is smaller than the first current threshold value.
8. A charge control device, characterized by comprising:
the terminal equipment comprises an acquisition module, a charging module and a charging module, wherein the acquisition module is configured to acquire the current charging current of the terminal equipment when the terminal equipment is in a charging state;
the charging control module is configured to execute the step of controlling the terminal device to be switched from a charging state to a non-charging state if the charging current is smaller than a first current threshold value, wherein the first current threshold value is determined according to the state information of the terminal device battery.
9. The charge control device according to claim 8, characterized by further comprising:
a determining module configured to perform determining a first current threshold value through a correspondence between preset state information and the first current threshold value based on the state information, wherein the state information includes at least one of: the temperature of the battery and the battery vendor identification.
10. The charging control device of claim 8, wherein the charging control module is configured to perform:
and if the charging current is smaller than the first current threshold, controlling a power management integrated circuit chip of the terminal equipment to stop outputting the charging current so as to control the terminal equipment to be switched from a charging state to a non-charging state.
11. The charging control device of claim 10, wherein the charging control module is further configured to perform:
and if the charging current is smaller than the first current threshold and the cutoff zone bit of the electricity meter of the terminal equipment is obtained, controlling the power management integrated circuit chip to stop outputting the charging current.
12. The charging control device of claim 8, wherein the charging control module is further configured to perform:
and if the charging current is smaller than the first current threshold value and the power management integrated circuit chip of the terminal equipment does not stop outputting the charging current, controlling the power management integrated circuit chip to disconnect a charging loop of the battery when the charging current is lower than a second current threshold value so as to control the terminal equipment to be switched from a charging state to an uncharged state.
13. An electronic device, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the instructions to implement the charging control method of any one of claims 1-7.
14. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the charging control method of any one of claims 1-7.
CN202111236069.0A 2021-10-22 2021-10-22 Charging control method and device, electronic equipment and storage medium Pending CN113872303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111236069.0A CN113872303A (en) 2021-10-22 2021-10-22 Charging control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111236069.0A CN113872303A (en) 2021-10-22 2021-10-22 Charging control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113872303A true CN113872303A (en) 2021-12-31

Family

ID=78997335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111236069.0A Pending CN113872303A (en) 2021-10-22 2021-10-22 Charging control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113872303A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114834319A (en) * 2022-03-04 2022-08-02 华为电动技术有限公司 Power battery heating method and device, chip system and electric automobile

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6043627A (en) * 1997-04-04 2000-03-28 Sony Corporation Battery charger with redundant protection circuits
US6653820B1 (en) * 2002-01-30 2003-11-25 National Semiconductor Corporation Apparatus and method for protecting a battery cell from overcharging
CN205070405U (en) * 2015-09-25 2016-03-02 新源国宏科技(北京)有限公司 Simulate non - balanced BMS protection shield with secondary protect function
CN105790345A (en) * 2014-12-26 2016-07-20 中兴通讯股份有限公司 Charging control method and device
CN106655396A (en) * 2017-01-13 2017-05-10 广东欧珀移动通信有限公司 Charging control method and device and terminal
CN107612076A (en) * 2017-09-27 2018-01-19 宁德时代新能源科技股份有限公司 Battery charging method, device, equipment and storage medium
CN111063955A (en) * 2019-12-27 2020-04-24 Oppo广东移动通信有限公司 Charging method and device, equipment and storage medium
CN111183561A (en) * 2018-09-12 2020-05-19 Oppo广东移动通信有限公司 Charging control method and device, electronic equipment and computer readable storage medium
CN111884294A (en) * 2020-08-03 2020-11-03 浙江天泰机械有限公司 Battery charging method, device and system and electronic equipment
CN113273050A (en) * 2019-03-25 2021-08-17 Oppo广东移动通信有限公司 Battery charging method, device, equipment and readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6043627A (en) * 1997-04-04 2000-03-28 Sony Corporation Battery charger with redundant protection circuits
US6653820B1 (en) * 2002-01-30 2003-11-25 National Semiconductor Corporation Apparatus and method for protecting a battery cell from overcharging
CN105790345A (en) * 2014-12-26 2016-07-20 中兴通讯股份有限公司 Charging control method and device
CN205070405U (en) * 2015-09-25 2016-03-02 新源国宏科技(北京)有限公司 Simulate non - balanced BMS protection shield with secondary protect function
CN106655396A (en) * 2017-01-13 2017-05-10 广东欧珀移动通信有限公司 Charging control method and device and terminal
CN107612076A (en) * 2017-09-27 2018-01-19 宁德时代新能源科技股份有限公司 Battery charging method, device, equipment and storage medium
CN111183561A (en) * 2018-09-12 2020-05-19 Oppo广东移动通信有限公司 Charging control method and device, electronic equipment and computer readable storage medium
CN113273050A (en) * 2019-03-25 2021-08-17 Oppo广东移动通信有限公司 Battery charging method, device, equipment and readable storage medium
CN111063955A (en) * 2019-12-27 2020-04-24 Oppo广东移动通信有限公司 Charging method and device, equipment and storage medium
CN111884294A (en) * 2020-08-03 2020-11-03 浙江天泰机械有限公司 Battery charging method, device and system and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114834319A (en) * 2022-03-04 2022-08-02 华为电动技术有限公司 Power battery heating method and device, chip system and electric automobile
CN114834319B (en) * 2022-03-04 2023-06-06 华为电动技术有限公司 Power battery heating method and device, chip system and electric automobile

Similar Documents

Publication Publication Date Title
CN107925259B (en) System and method for battery charging
KR20180103575A (en) Electronic device and method for controlling based on leakage state of battery in electronic device
JP7101484B2 (en) Controlling the power supply to the battery
EP3518380B1 (en) Electronic device including battery and method of controlling charging thereof
US20200338989A1 (en) Battery control method, battery control system, unmanned aerial vehicle, and battery
CN105720645A (en) Charging method, charging device and charger
EP3672016B1 (en) Charging management circuit, terminal and charging method
EP3185348B1 (en) A battery information detection and control method, smart battery,terminal and computer storage medium
CN104054232A (en) Electricity storage system, method for controlling secondary battery pack, and secondary battery pack
CN103700900B (en) Control method, device, system and the mobile terminal of mobile terminal charging
KR20200101173A (en) Method to control multiple batteries and electronic device applying the method
CN113872303A (en) Charging control method and device, electronic equipment and storage medium
CN113612295B (en) Emergency energy storage battery electric energy management method, device and medium
CN103246336A (en) Electronic apparatus and driving control method thereof
CN106972558B (en) Charging control method and electronic equipment
CN108181978B (en) Power control method and device for electronic equipment
CN109148986B (en) Charging method and device
WO2024041445A1 (en) Battery power limit protection method and system, and storage medium
CN114714950A (en) Control method and system for electric vehicle charging preheating
CN112234683A (en) Charging control method of electronic equipment and electronic equipment
JP4178141B2 (en) Charging apparatus and charging method
CN113507154B (en) Charging method and device, charger and electronic equipment
US20220404423A1 (en) Intelligent battery power discharge management
CN115276181A (en) Parallel operation control method, device and equipment of battery pack and storage medium
CN112119566A (en) Power supply method, device, system and storage medium

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