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

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

Info

Publication number
CN113675915A
CN113675915A CN202110908017.7A CN202110908017A CN113675915A CN 113675915 A CN113675915 A CN 113675915A CN 202110908017 A CN202110908017 A CN 202110908017A CN 113675915 A CN113675915 A CN 113675915A
Authority
CN
China
Prior art keywords
energy storage
storage unit
charging
battery
charging mode
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
CN202110908017.7A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110908017.7A priority Critical patent/CN113675915A/en
Publication of CN113675915A publication Critical patent/CN113675915A/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/007Regulation of charging or discharging current or voltage
    • 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/446Initial charging measures
    • 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
    • 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
    • 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/00045Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
    • 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/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • 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)
  • Secondary Cells (AREA)

Abstract

The invention relates to a charging control method, a control device, an electronic device and a storage medium, wherein the charging control method comprises the following steps: acquiring state information of the charging equipment; acquiring a voltage value of the battery, and comparing the voltage value with a preset voltage threshold value; determining a charging control instruction for the battery according to a comparison result of the voltage value and a preset voltage threshold value based on the state information of the charging equipment; executing a corresponding charging mode according to the charging control instruction; the charging mode includes a first charging mode in which an output voltage of the charging device is less than an input voltage of the battery, a second charging mode in which the output voltage of the charging device is equal to the input voltage of the battery, and a third charging mode in which the output voltage of the charging device is N times the input voltage of the battery, and N is a positive integer greater than 1. The method and the device can improve the compatibility of the electronic equipment to the adapter.

Description

Charging control method, control device, electronic device, and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a charging control method, a charging control apparatus, an electronic device, and a storage medium.
Background
Along with the development of the functions of electronic equipment, the power consumption of the electronic equipment is also larger and larger, the battery capacity is also increased continuously in order to ensure the endurance time of the electronic equipment, and the requirement on the charging efficiency is higher and higher, so that a quick charging technology is provided, and a multi-cell series battery is provided in order to further improve the charging efficiency, so that the total voltage of the battery is improved. However, when such electronic devices are charged, the electronic devices can be charged quickly only by using a special quick-charging adapter, and the electronic devices cannot be compatible with adapters of different technical principles.
Disclosure of Invention
The application provides a charging control method, a control device, an electronic device and a storage medium, which can improve the compatibility of the electronic device with an adapter.
A charging control method is applied to a power management module of electronic equipment, a battery of the electronic equipment is charged through charging equipment, the battery is in a series connection double-cell structure, and the method comprises the following steps:
acquiring state information of the charging equipment;
acquiring a voltage value of the battery, and comparing the voltage value with a preset voltage threshold value;
determining a charging control instruction for the battery according to a comparison result of the voltage value and a preset voltage threshold value based on the state information of the charging equipment;
executing a corresponding charging mode according to the charging control instruction; the charging mode includes a first charging mode in which an output voltage of the charging device is smaller than an input voltage of the battery, a second charging mode in which the output voltage of the charging device is equal to the input voltage of the battery, and a third charging mode in which the output voltage of the charging device is N times the input voltage of the battery, and N is a positive integer greater than 1.
A charging control device is applied to a power management module of an electronic device, and comprises:
the state information acquisition module is used for acquiring the state information of the charging equipment;
the voltage comparison module is used for acquiring a voltage value of the battery and comparing the voltage value with a preset voltage threshold value;
the instruction determining module is used for determining a charging control instruction for the battery according to a comparison result of the voltage value and a preset voltage threshold value based on the state information of the charging equipment;
the instruction execution module is used for executing a corresponding charging mode according to the charging control instruction; the charging mode includes a first charging mode in which an output voltage of the charging device is smaller than an input voltage of the battery, a second charging mode in which the output voltage of the charging device is equal to the input voltage of the battery, and a third charging mode in which the output voltage of the charging device is N times the input voltage of the battery, and N is a positive integer greater than 1.
An electronic device, comprising:
the battery is of a series double-cell structure;
the power supply management module is used for charging the battery when the charging equipment is connected;
a controller comprising a memory and a processor, the memory having stored therein a computer program, the computer program, when executed by the processor, causing the processor to perform the steps of the above method.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above-mentioned method.
According to the charging control method, the control device, the electronic equipment and the storage medium, the state information of the charging equipment and the voltage value of the battery are acquired, the voltage value is compared with the preset voltage threshold, the charging control instruction for the battery is determined according to the state information of the charging equipment and the comparison result of the voltage value and the preset voltage threshold, the corresponding charging mode is executed, the first charging mode, the second charging mode and the third charging mode are switched, the charging stage can be changed, the charging mode is adjusted according to the voltage value of the battery, and the compatibility of the electronic equipment to the adapter is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional technologies of the present application, the drawings used in the descriptions of the embodiments or the conventional technologies will be briefly introduced below, it is obvious that the drawings in the following descriptions are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating an exemplary charging circuit;
FIG. 2 is a flowchart illustrating a charging control method according to an embodiment;
fig. 3 is a second flowchart of a charging control method according to an embodiment;
fig. 4 is a third flowchart illustrating a charging control method according to an embodiment;
FIG. 5 is a fourth flowchart illustrating a charging control method according to an embodiment;
FIG. 6 is a block diagram of a power management module according to an embodiment;
FIG. 7 is a schematic circuit diagram of a power management module according to an embodiment;
FIG. 8 is a flowchart illustrating a power management module executing a first charging mode according to an embodiment;
FIG. 9a is a schematic diagram of an equivalent circuit of the power management module in the first stage when the power management module executes the first charging mode according to an embodiment;
FIG. 9b is a schematic diagram of an equivalent circuit at the second stage when the power management module executes the first charging mode according to an embodiment;
FIG. 10 is a schematic diagram of an equivalent circuit of the power management module according to an embodiment when executing the second charging mode;
FIG. 11 is a flowchart illustrating a power management module executing a third charging mode according to an embodiment;
FIG. 12a is a schematic diagram of an equivalent circuit at the first stage when the power management module executes the third charging mode according to an embodiment;
FIG. 12b is a schematic diagram of an equivalent circuit at the second stage when the power management module executes the third charging mode according to an embodiment;
FIG. 13 is a flowchart illustrating a power management module executing a third charging mode according to another embodiment;
FIG. 14a is a schematic diagram of an equivalent circuit at the first stage when the power management module of another embodiment executes the third charging mode;
FIG. 14b is a schematic diagram of an equivalent circuit at the second stage when the power management module of another embodiment executes the third charging mode;
FIG. 15 is a block diagram of a power management module according to another embodiment;
FIG. 16 is a schematic circuit diagram of a power management module according to another embodiment;
FIG. 17 is a flowchart illustrating a power management module executing a first charging mode according to another embodiment;
FIG. 18a is a schematic diagram of an equivalent circuit at a first stage when a power management module of another embodiment executes a first charging mode;
FIG. 18b is a schematic diagram of an equivalent circuit at the second stage when the power management module of another embodiment executes the first charging mode;
FIG. 19 is a schematic diagram of an equivalent circuit of the power management module in the second charging mode according to another embodiment;
FIG. 20 is a flowchart illustrating a power management module executing a third charging mode according to yet another embodiment;
FIG. 21a is a schematic diagram of an equivalent circuit at the first stage when the power management module of yet another embodiment executes the third charging mode;
FIG. 21b is a schematic diagram of an equivalent circuit at the second stage when the power management module executes the third charging mode according to yet another embodiment;
fig. 22 is a block diagram of a charging control apparatus according to an embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Embodiments of the present application are set forth in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that the terms "first," "second," and the like as used herein may be used herein to describe various features, but these elements are not limited by these terms. These terms are only used to distinguish one feature from another. For example, a first switch unit may be referred to as a second switch unit, and similarly, a second switch unit may be referred to as a first switch unit, without departing from the scope of the present application. Both the first switching unit and the second switching unit are switching units, which are different switching units.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise. In the description of the present application, the meaning of "above" includes the present number, e.g., two or more includes two, unless specifically limited otherwise.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or be connected to the other element through intervening elements. Further, "connection" in the following embodiments is understood to mean "electrical connection", "communication connection", or the like, if there is a transfer of electrical signals or data between the connected objects.
The embodiment of the present application provides a charging control method, which is applied to a power management module of an electronic Device 10 shown in fig. 1, where the electronic Device charges a battery of the electronic Device through a charging Device, and in an embodiment, the electronic Device 10 may be a Mobile Device including a Mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Mobile Internet Device (MID), a wearable Device (e.g., a smart watch, a smart bracelet, a pedometer, etc.), or other electronic devices including the power management module.
As shown in fig. 2, an embodiment of the present application provides a charging control method, including steps 202 to 208:
step 202, acquiring state information of the charging equipment;
step 204, acquiring a voltage value of the battery, and comparing the voltage value with a preset voltage threshold value;
step 206, determining a charging control instruction for the battery according to a comparison result of the voltage value and a preset voltage threshold value based on the state information of the charging equipment;
step 208, executing a corresponding charging mode according to the charging control instruction; the charging mode includes a first charging mode in which an output voltage of the charging device is less than an input voltage of the battery, a second charging mode in which the output voltage of the charging device is equal to the input voltage of the battery, and a third charging mode in which the output voltage of the charging device is N times the input voltage of the battery, and N is a positive integer greater than 1.
The charging equipment comprises a power adapter, the power adapter commonly used at present comprises a common charging source adapter and a quick charging source adapter, the quick charging source adapter can be compatible with a common charging mode and a quick charging mode, for the quick charging mode, based on different quick charging technologies, the quick charging and the high-voltage quick charging can be divided into a direct charging mode, in the three modes, the voltage of a power supply signal output by the power adapter is different, the power management module can judge the state information of the charging equipment according to the output voltage of the charging equipment in the application, the state information can comprise the type of the power adapter and the charging state currently executed by the power adapter, and the switching of the charging mode of the power management module is controlled by combining the voltage value of a battery. In one embodiment, the charging device may transmit the charging protocol to the power management module or a processor of the electronic device through the power supply signal, so that the power management module can obtain the state information of the charging device, and then the charging mode is switched.
In the embodiment of the present application, the first charging mode is used to match the pre-charging stage and the trickle-charging stage of the normal charging source adapter and the fast charging source adapter, when the power management module executes the first charging mode, the output voltage of the charging device (i.e. the voltage of the power supply signal) is smaller than the input voltage of the battery, and the power supply signal is boosted by the power management module and then outputs the charging signal to charge the battery 20. The second charging mode is used for matching the fast charging power adapter of the direct charging mode, and when the power management module executes the second charging mode, the output voltage of the charging device is equal to the input voltage of the battery (under the condition that the line loss is considered, the sum of the input voltage of the battery and the line loss is equal to the output voltage of the charging device). And the third charging mode is used for matching with a fast charging power adapter of the high-voltage fast charging mode, and when the power management module executes the third charging mode, the output voltage of the charging equipment is N times of the input voltage of the battery, and N is a positive integer greater than 1 (under the condition of considering line loss, the output voltage of the charging equipment is equal to the sum of the N times of the input voltage of the battery and the line loss).
According to the charging control method, the state information of the charging equipment and the voltage value of the battery are acquired, the voltage value is compared with the preset voltage threshold, the charging control instruction of the battery is determined based on the state information of the charging equipment and the comparison result of the voltage value and the preset voltage threshold, the corresponding charging mode is executed, the first charging mode, the second charging mode and the third charging mode are switched, the charging stage can be changed, the charging mode is adjusted according to the voltage value of the battery, and the compatibility of the electronic equipment to the adapter is improved.
As shown in fig. 3, in one embodiment, the determining a charging control command for the battery according to the comparison result between the voltage value and the preset voltage threshold based on the state information of the charging device having the first charging state, the second charging state and the third charging state corresponding to the first charging mode, the second charging mode and the third charging mode one-to-one respectively includes steps 302-306:
step 302, in response to the voltage value being less than a first voltage threshold, determining to charge the battery in a first charging mode;
step 304, in response to the voltage value being greater than the first voltage threshold and less than the second voltage threshold, determining to charge the battery in a third charging mode;
in response to the voltage value being greater than the second voltage threshold, it is determined to charge the battery in the first charging mode, step 304.
In this embodiment, the charging device is adaptable to three charging modes, and has a first charging state, a second charging state, and a third charging state corresponding to the first charging mode, the second charging mode, and the third charging mode one to one, respectively, that is, the charging device is in the first charging state when the power management module executes the first charging mode; when the power supply management module executes the second charging mode, the charging equipment is correspondingly in a second charging state; and when the power supply management module executes the third charging mode, the charging equipment is correspondingly in a third charging state. And determining to execute the first charging mode or the third charging mode in response to the comparison result of the voltage value and the preset first voltage threshold and the second voltage threshold.
When the voltage value of the battery is lower than the first voltage threshold, the battery needs to be pre-charged in a first charging mode to activate active substances of the battery, so that the damage to the battery caused by overlarge current when the charging is started is avoided; when the voltage value of the battery is higher than the second voltage threshold value, the battery is close to full charge, certain capacity loss is caused by self discharge of the battery, and the first charging mode can be switched to compensate the self discharge so as to keep the battery in continuous small-current charging of an approximately full charging state.
In one embodiment, a voltage interval formed by the first voltage threshold and the second voltage threshold is a fast charging interval, and when the voltage value of the battery is outside the interval, the power management module charges the battery in a first charging mode; and when the voltage value of the battery is in the quick charging interval, the power supply management module charges the battery in a third charging mode.
As shown in fig. 4, in one embodiment, the determining a charging control command for the battery according to the comparison result between the voltage value and the preset voltage threshold based on the state information of the charging device having the first charging state and the second charging state corresponding to the first charging mode and the second charging mode, respectively, includes steps 402-406:
step 402, in response to the voltage value being less than a first voltage threshold, determining to charge the battery in a first charging mode;
step 404, in response to the voltage value being greater than the first voltage threshold and less than the second voltage threshold, determining to charge the battery in the second charging mode;
in response to the voltage value being greater than the second voltage threshold, it is determined to charge the battery in the first charging mode, step 406.
In this embodiment, the charging device is adaptable to two charging modes, and has a first charging state and a second charging state corresponding to the first charging mode and the second charging mode one to one, that is, the charging device is correspondingly in the first charging state when the power management module executes the first charging mode; and the charging equipment is correspondingly in a second charging state when the power management module executes the second charging mode. The power management module determines to execute the first charging mode or the second charging mode in response to a comparison result of the voltage value and a preset first voltage threshold and a second voltage threshold.
When the voltage value of the battery is lower than the first voltage threshold, the battery needs to be pre-charged in a first charging mode to activate active substances of the battery, so that the damage to the battery caused by overlarge current when the charging is started is avoided; when the voltage value of the battery is higher than the second voltage threshold value, the battery is close to full charge, certain capacity loss is caused by self discharge of the battery, and the first charging mode can be switched to compensate the self discharge so as to keep the battery in continuous small-current charging of an approximately full charging state.
When the voltage value of the battery is outside the quick charging interval, the power supply management module charges the battery in a first charging mode; and when the voltage value of the battery is in the quick charging interval, the power supply management module charges the battery in a second charging mode.
As shown in fig. 5, in one embodiment, the determining a charging control command for the battery according to the comparison result between the voltage value and the preset voltage threshold based on the state information of the charging device having the first charging state corresponding to the first charging mode includes:
step 502, determining to charge the battery in the first charging mode based on the charging device having a first charging state corresponding to the first charging mode.
In this embodiment, the charging device can only adapt to the first charging mode, and has a first charging state corresponding to the first charging mode, that is, when the electronic device is connected to the charging device to charge the battery, the power management module charges the battery in the first charging mode.
In an embodiment of the present invention, as shown in fig. 6, the power management module 100 is configured with a power INPUT terminal INPUT and a power OUTPUT terminal OUTPUT, and the power management module 100 includes a first energy storage unit 110, a second energy storage unit 120, a third energy storage unit 150, a first switch unit 130, and a second switch unit 140. The power INPUT end INPUT is used for being connected with the charging equipment and receiving a power supply signal provided by the charging equipment when being connected with the charging equipment; the power OUTPUT terminal OUTPUT is used to connect with the battery 20 to provide a charging signal to the battery 20. The third energy storage unit 150 is connected to the power OUTPUT terminal OUTPUT. The first switch unit 130 and the second switch unit 140 change the conduction states among the power INPUT terminal INPUT, the first energy storage unit 110, the second energy storage unit 120, and the power OUTPUT terminal OUTPUT according to the indication of the charging control instruction, and further change the device units connected to the charging path in the power management module 100 and the connection relationship among the device units, so as to realize the switching of the power management module 100 among the first charging mode, the second charging mode, and the third charging mode.
In one embodiment, the circuit structure of the power management module may be as shown in fig. 7, where the first energy storage unit 110 includes a first capacitor C1; the second energy storage unit 120 includes an inductance L1; the third energy storage unit 150 comprises a second capacitor C2; the first switching unit 130 includes a first switch Q1, a second switch Q2, a third switch Q3, and a fourth switch Q4; the second switching unit 140 includes a fifth switch Q5 and a sixth switch Q6; a first terminal of the first switch Q1 is connected to the power INPUT terminal INPUT, and a second terminal of the first switch Q1 is connected to a first terminal of the first capacitor C1; a first end of a second switch Q2 is connected with a second end of the first capacitor C1, and a second end of the second switch Q2 is grounded; a first end of a third switch Q3 is connected with a first end of a first capacitor C1, and a second end of the third switch Q3 is connected with a first end of an inductor L1; a first end of a fourth switch Q4 is connected with a second end of the first capacitor C1, and a second end of the fourth switch Q4 is connected with a first end of an inductor L1; a first end of the fifth switch Q5 is connected to the second end of the inductor L1, and a second end of the fifth switch Q5 is connected to the power OUTPUT terminal OUTPUT; a first end of the sixth switch Q6 is connected with the second end of the inductor L1, and a second end of the sixth switch Q6 is grounded; the first terminal of the second capacitor C2 is connected to the power OUTPUT terminal OUTPUT, and the second terminal is grounded.
Referring to fig. 7, in one embodiment, the power management module 100 further includes a fourth capacitor C4, a first terminal of the fourth capacitor C4 is connected to the power INPUT terminal INPUT, a second terminal of the fourth capacitor C4 is connected to ground, and the fourth capacitor C4 is used for performing voltage stabilization filtering processing on the power supply signal.
As shown in fig. 8, in one embodiment, the power management module 100 charges the battery in the first charging mode, and includes repeatedly performing the following steps:
in step 802, in the first stage, the first switching unit 130 is controlled to connect the power INPUT terminal INPUT to the first terminal of the second energy storage unit 120, and the second switching unit 140 is controlled to connect the second terminal of the second energy storage unit 120 to ground.
Referring to the first phase equivalent circuit shown in fig. 9a, in this phase, the power supply signal output by the charging device charges the second energy storage unit 120. Specifically, the first switch Q1, the third switch Q3, and the sixth switch Q6 are controlled to be turned on, the second switch Q2, the fourth switch Q4, and the fifth switch Q5 are controlled to be turned off, so that the first end of the inductor L1 is turned on with the power INPUT end INPUT, the second end of the inductor L1 is grounded, and the power supply signal charges the inductor L1.
In step 804, in the second stage, the first switching unit 130 is controlled to connect the power INPUT terminal INPUT to the first terminal of the second energy storage unit 120, and the second switching unit 140 is controlled to connect the second terminal of the second energy storage unit 120 to the first terminal of the third energy storage unit 150.
Referring to the second stage equivalent circuit shown in fig. 9b, in this stage, the second energy storage unit 120 discharges and adds the power supply signal to boost the voltage, and outputs the charging signal. Specifically, the first switch Q1, the third switch Q3 and the fifth switch Q5 are controlled to be turned on, the second switch Q2, the fourth switch Q4 and the sixth switch Q6 are controlled to be turned off, so that the first end of the inductor L1 is turned on with the power INPUT end INPUT, the second end of the inductor L1 is turned on with the power OUTPUT end OUTPUT, and at the moment, the inductor L1 discharges and is overlapped with a power supply signal to realize boosting.
In a first charging mode, the power supply signal is boosted and then a charging signal meeting the charging requirement of the battery is output by alternately executing the two stages.
In one embodiment, when the power management module 100 charges the battery in the second charging mode, the first switching unit 130 is controlled to connect the power INPUT terminal INPUT to the first terminal of the second energy storage unit 120, and the second switching unit 140 is controlled to connect the second terminal of the second energy storage unit 120 to the first terminal of the third energy storage unit 150.
And in the second charging mode, the output voltage of the charging equipment is equal to the input voltage of the battery, so that direct charging and quick charging are realized. Referring to the equivalent circuit of fig. 10, after the charging device is connected, the second energy storage unit 120 starts to charge, and after the charging device is stabilized, the power supply signal provided by the charging device is fully used for supplying power to the battery. Specifically, when the power management module 100 needs to work in the second charging mode, the first switch Q1, the third switch Q3, and the fifth switch Q5 are controlled to be turned on, the second switch Q2, the fourth switch Q4, and the sixth switch Q6 are controlled to be turned off, the power INPUT terminal INPUT and the first terminal of the inductor L1 are directly turned on, and the inductor L1 works in a direct-current state, so that the INPUT voltage and the output voltage of the charging circuit 100 are consistent, and direct-charging and quick-charging are realized.
As shown in fig. 11, in one embodiment, when the power management module 100 charges the battery in the third charging mode, the method includes steps 1102-1104 that are repeatedly performed:
step 1102, in the first stage, the first switching unit 130 is controlled to connect the power INPUT terminal INPUT to the first terminal of the first energy storage unit 110, the second terminal of the first energy storage unit 110 to the first terminal of the second energy storage unit 120, and the second switching unit 140 is controlled to connect the second terminal of the second energy storage unit 120 to the first terminal of the third energy storage unit 150.
Referring to the first stage equivalent circuit shown in fig. 12a, the first energy storage unit 110 and the second energy storage unit 120 are connected in series and connected between the power INPUT terminal INPUT and the power OUTPUT terminal OUTPUT, and the third energy storage unit 150 is connected in parallel with the first energy storage unit 110; at this time, the power supply signal is used to provide electric energy for the first energy storage unit 110, the second energy storage unit 120, the third energy storage unit 150 and the battery 20 to charge, and the power supply signal is output to the battery 20 after being stepped down. Specifically, the first switch Q1, the fourth switch Q4, and the fifth switch Q5 are controlled to be turned on, and the second switch Q2, the third switch Q3, and the sixth switch Q6 are controlled to be turned off, so as to turn on the first end of the first capacitor C1 and the power INPUT terminal INPUT, and turn on the second end of the first capacitor C1 and the first end of the inductor L1.
In the second stage, the first switch unit 130 is controlled to connect the first end of the first energy storage unit 110 to the first end of the second energy storage unit 120, the second end of the first energy storage unit 110 is grounded, and the second switch unit 140 is controlled to connect the second end of the second energy storage unit 120 to the first end of the third energy storage unit 150, in step 1104.
Referring to the second stage equivalent circuit shown in fig. 12b, the first energy storage unit 110 is connected in series with the second energy storage unit 120, and is connected in parallel with the third energy storage unit 150; at this time, the first energy storage unit 110, the second energy storage unit 120 and the third energy storage unit 150 discharge together to provide electric energy for charging the battery 20. Specifically, the second switch Q2, the third switch Q3, and the fifth switch Q5 are controlled to be turned on, the first switch Q1, the fourth switch Q4, and the sixth switch Q6 are controlled to be turned off, so as to turn on the first end of the first capacitor C1 and the first end of the inductor L1, ground the second end of the first capacitor C1, and enable the first capacitor C1 and the inductor L1 to be connected in series between the power INPUT terminal INPUT and the power OUTPUT terminal OUTPUT and to be connected in parallel with the second capacitor C2.
In the first stage of the third charging mode, the second energy storage unit 120, the first energy storage unit 110, the third energy storage unit 150 and the battery 20 divide the voltage, that is, the voltage of the charging signal is reduced to 1/N of the power supply signal, the terminal voltages of the first energy storage unit 110 and the third energy storage unit 150 are equal to the voltage of the charging signal, and then the second stage is entered, the first energy storage unit 110, the second energy storage unit 120 and the third energy storage unit 150 discharge together to provide electric energy for charging the battery 20, and at this time, the voltage of the charging signal is still 1/N of the power supply signal.
As shown in fig. 13, in one embodiment, when the power management module 100 charges the battery in the third charging mode, the method includes steps 1302-1304 that are repeatedly executed:
in step 1302, in the first stage, the first switch unit 130 is controlled to connect the power INPUT terminal INPUT to the first terminal of the first energy storage unit 110, connect the second terminal of the first energy storage unit 110 to ground, connect the first terminal of the first energy storage unit 110 to the first terminal of the second energy storage unit 120, and control the second switch unit 140 to connect the second terminal of the second energy storage unit 120 to the first terminal of the third energy storage unit 150.
Referring to the first stage equivalent circuit shown in fig. 14a, the first energy storage unit 110 is connected in parallel with the second energy storage unit 120; at this time, the power supply signal is used to provide electric energy for the first energy storage unit 110, the second energy storage unit 120, the third energy storage unit 150 and the battery 20 to charge, and the power supply signal is output to the battery 20 after being stepped down. Specifically, the first switch Q1, the second switch Q2, the third switch Q3 and the fifth switch Q5 are controlled to be turned on, the fourth switch Q4 and the sixth switch Q6 are controlled to be turned off, so that the first end of the first capacitor C1 is respectively turned on with the power INPUT end INPUT and the first end of the inductor L1, the second end of the first capacitor C1 is grounded, the first capacitor C1 is connected in parallel with the second capacitor C2, the inductor L1 is disposed between the first end of the first capacitor C1 and the first end of the second capacitor C2, and the power supply signal is subjected to voltage reduction processing.
In step 1304, in the second stage, the first switching unit 130 is controlled to connect the power INPUT terminal INPUT to the first terminal of the first energy storage unit 110, to ground the second terminal of the first energy storage unit 110, to ground the first terminal of the second energy storage unit 120, and to control the second switching unit 140 to connect the second terminal of the second energy storage unit 120 to the first terminal of the third energy storage unit 150.
Referring to the second stage equivalent circuit shown in fig. 14a, the second energy storage unit 120 and the third energy storage unit 150 are discharged together to supply power to the battery 20. Specifically, the first switch Q1, the second switch Q2, the fourth switch Q4 and the fifth switch Q5 are controlled to be turned on, the third switch Q3 and the sixth switch Q6 are controlled to be turned off, the first end of the first capacitor C1 is connected to the power INPUT terminal INPUT, the second end of the first capacitor C1 is grounded, the first end of the inductor L1 is grounded, and the second end of the inductor L1 is connected to the power OUTPUT terminal OUTPUT, so that the inductor L1 and the second capacitor C2 form a discharge loop connected in parallel with the battery 20.
In the first stage of this embodiment, the first energy storage unit 110 is connected in parallel with the second energy storage unit 120, and the second energy storage unit 120 is connected in parallel with the third energy storage unit 150, at this time, a part of electric energy of the power supply signal is used for charging the first energy storage unit 110, the second energy storage unit 120, and the third energy storage unit 150, that is, the power supply signal is subjected to voltage reduction processing, and since the third energy storage unit 150 is connected in parallel with the battery 20, the terminal voltage of the third energy storage unit 150 is charged to be equal to the voltage of the charging signal, and then the second stage is entered, the battery 20 is charged by discharging only through the second energy storage unit 120 and the third energy storage unit 150, at this time, the third energy storage unit 150 is connected in parallel with the battery unit 20, and the voltage of the charging signal is still 1/N of the power supply signal.
As shown in fig. 15, in one embodiment, the power management module 100 is configured with a power INPUT terminal INPUT for connecting to a charging device and a power OUTPUT terminal OUTPUT; the power management module 100 includes a first energy storage unit 110, a second energy storage unit 120, a third energy storage unit 150, a fourth energy storage unit 160, a first switch unit 130, a second switch unit 140, and a third switch unit 170, wherein a first end of the third energy storage unit 150 is connected to the power output terminal INPUT, and a second end of the third energy storage unit 150 is grounded. The first switch unit 130, the second switch unit 140, and the third switch unit 170 change the conduction states among the power INPUT terminal INPUT, the first energy storage unit 110, the second energy storage unit 120, the third energy storage unit 150, and the fourth energy storage unit 160, so as to realize the switching of the power management module 100 among the first charging mode, the second charging mode, and the third charging mode. In this embodiment, the fourth energy storage unit 160 and the third switching unit 170 are additionally provided, so that the multiple relationship between the voltage of the power supply signal and the voltage of the charging signal in the third charging mode can be changed, and the compatibility of the electronic device 10 with the power adapter is improved.
In one embodiment, the circuit structure of the power management module 100 may be as shown in fig. 16, where the first energy storage unit 110 includes a first capacitor C1; the second energy storage unit 120 includes an inductance L1; the third energy storage unit 150 comprises a second capacitor C2; the fourth energy storage unit 160 comprises a third capacitor C3; the first switching unit 130 includes a first switch Q1, a second switch Q2, a third switch Q3, and a fourth switch Q4; the second switching unit 140 includes a fifth switch Q5 and a sixth switch Q6; the third switching unit 170 includes a seventh switch Q7, an eighth switch Q8, and a ninth switch Q9; a first terminal of the first switch Q1 is connected to the power INPUT terminal INPUT, and a second terminal of the first switch Q1 is connected to a first terminal of the first capacitor C1; a first end of a second switch Q2 is connected with a second end of the first capacitor C1, and a second end of the second switch Q2 is grounded; a first end of a third switch Q3 is connected with a first end of the first capacitor C1, and a second end of the third switch Q3 is connected with a first end of the third capacitor C3; a first terminal of the fourth switch Q4 is connected to the second terminal of the first capacitor C1, and a second terminal of the fourth switch Q4 is connected to the first terminal of the third capacitor C3; a first end of the fifth switch Q5 is connected to the second end of the inductor L1, and a second end of the fifth switch Q5 is connected to the power OUTPUT terminal OUTPUT; a first end of the sixth switch Q6 is connected with the second end of the inductor L1, and a second end of the sixth switch Q6 is grounded; a first end of a seventh switch Q7 is connected with a second end of the third capacitor C3, and a second end of the seventh switch Q7 is grounded; a first end of an eighth switch Q8 is connected with a first end of a third capacitor C3, and a second end of an eighth switch Q8 is connected with a first end of an inductor L1; a first end of a ninth switch Q9 is connected with the second end of the third capacitor C3, and a second end of the ninth switch Q9 is connected with the first end of the inductor L1; the first terminal of the second capacitor C2 is connected to the power OUTPUT terminal OUTPUT, and the second terminal is grounded.
As shown in fig. 17, in one embodiment, the power management module 100 charges the battery in the first charging mode, and includes repeatedly performing the following steps:
in step 1702, in the first stage, the first switching unit 130 and the third switching unit 170 are controlled to connect the power INPUT terminal INPUT to the first terminal of the second energy storage unit 120, and the second switching unit 140 is controlled to connect the second terminal of the second energy storage unit 120 to ground.
Referring to the first stage equivalent circuit shown in fig. 18a, the second energy storage unit 120 is charged by the power supply signal during this stage. Specifically, the first switch Q1, the third switch Q3, the sixth switch Q6 and the eighth switch Q8 are controlled to be turned on, the second switch Q2, the fourth switch Q4, the fifth switch Q5, the seventh switch Q7 and the ninth switch Q9 are controlled to be turned off, the first end of the inductor L1 is connected to the power INPUT end INPUT, and the second end of the inductor L1 is grounded.
In step 1704, the first switching unit 130 and the third switching unit 170 are controlled to connect the power INPUT terminal INPUT to the first terminal of the second energy storage unit 120, and the second switching unit 140 is controlled to connect the first terminal of the second energy storage unit 120 to the first terminal of the third energy storage unit 150.
Referring to the second stage equivalent circuit shown in fig. 18b, in this stage, the second energy storage unit 120 is discharged and boosted by superimposing the power supply signal, and a charging signal is output. Specifically, the first switch Q1, the third switch Q3, the fifth switch Q5 and the eighth switch Q8 are controlled to be turned on, the second switch Q2, the fourth switch Q4, the sixth switch Q6, the seventh switch Q7 and the ninth switch Q9 are controlled to be turned off, the first end of the inductor L1 is connected to the power INPUT end INPUT, and the second end of the inductor L1 is connected to the power OUTPUT end OUTPUT and the second capacitor C2.
In a first charging mode, the power supply signal is boosted and then a charging signal meeting the charging requirement of the battery is output by alternately executing the two stages.
In one embodiment, when the power management module 100 charges the battery in the second charging mode, the first switching unit and the third switching unit are controlled to conduct the power input terminal and the first end of the second energy storage unit, and the second switching unit is controlled to conduct the first end of the second energy storage unit and the first end of the third energy storage unit.
And in the second charging mode, the output voltage of the charging equipment is equal to the input voltage of the battery, so that direct charging and quick charging are realized. Referring to the equivalent circuit of fig. 19, after the charging device is connected, the second energy storage unit 120 starts to charge, and after the charging device is stabilized, the power supply signal provided by the charging device is fully used for supplying power to the battery. Specifically, the first switch Q1, the third switch Q3, the fifth switch Q5 and the eighth switch Q8 are controlled to be turned on, the second switch Q2, the fourth switch Q4, the sixth switch Q6, the seventh switch Q7 and the ninth switch Q9 are controlled to be turned off, and the first end of the inductor L1 is directly connected with the power INPUT end INPUT.
As shown in fig. 20, in one embodiment, when the power management module 100 charges the battery in the third charging mode, the method includes repeatedly performing steps 2002-2004:
step 2002, in the first stage, the first switching unit 130 is controlled to connect the power INPUT terminal INPUT to the first terminal of the first energy storage unit 110, the second terminal of the first energy storage unit 110 to the first terminal of the fourth energy storage unit 160, the third switching unit 170 is controlled to connect the second terminal of the fourth energy storage unit 160 to the first terminal of the second energy storage unit 120, and the second switching unit 140 is controlled to connect the second terminal of the second energy storage unit 120 to the first terminal of the third energy storage unit 150.
Referring to the equivalent circuit shown in fig. 21a, the first energy storage unit 110, the fourth energy storage unit 160 and the second energy storage unit 120 are connected in series in sequence and connected between the power INPUT terminal INPUT and the power OUTPUT terminal OUTPUT; at this time, the power supply signal is used to provide electric energy for the first energy storage unit 110, the second energy storage unit 120, the third energy storage unit 150, the fourth energy storage unit 160, and the battery 20 to charge. Specifically, the first switch Q1, the fourth switch Q4, the fifth switch Q5 and the ninth switch Q9 are controlled to be turned on, the second switch Q2, the third switch Q3, the sixth switch Q6, the seventh switch Q7 and the eighth switch Q8 are controlled to be turned off, the first end of the first capacitor C1 is turned on with the power INPUT terminal INPUT, the second end of the first capacitor C1 is turned on with the first end of the third capacitor C3, the second end of the third capacitor C3 is turned on with the first end of the inductor L1, and the second end of the inductor L1 is turned on with the power OUTPUT terminal OUTPUT.
In step 2004, in the second stage, the first switch unit 130 is controlled to connect the first end of the first energy storage unit 110 to the first end of the fourth energy storage unit 160, the second end of the second energy storage unit 120 is grounded, the third switch unit 170 is controlled to connect the first end of the fourth energy storage unit 160 to the first end of the second energy storage unit 120, the second end of the fourth energy storage unit 160 is grounded, and the second switch unit 140 is controlled to connect the second end of the second energy storage unit 120 to the first end of the third energy storage unit 150.
Referring to the equivalent circuit shown in fig. 21b, the first energy storage unit 110 and the fourth energy storage unit 160 are connected in parallel and connected between the second energy storage unit 120 and the power INPUT end INPUT; at this time, the power INPUT terminal INPUT is turned off, and the first energy storage unit 110, the second energy storage unit 120, the third energy storage unit 150 and the fourth energy storage unit 160 discharge together to charge the battery 200. Specifically, the second switch Q2, the third switch Q3, the fifth switch Q5 and the seventh switch Q7 are controlled to be turned on, the first switch Q1, the fourth switch Q4, the sixth switch Q6, the eighth switch Q8 and the ninth switch Q9 are controlled to be turned off, the first end of the first capacitor C1 is connected with the first end of the inductor L1, the second end of the first capacitor C1 is grounded, the first end of the third capacitor C3 is connected with the first end of the inductor L1, the second end of the third capacitor C3 is grounded, and the second end of the inductor L1 is connected with the power OUTPUT terminal OUTPUT.
In the first stage of the third charging mode, the first energy storage unit 110, the third energy storage unit 150, the fourth energy storage unit 160 and the battery 20 divide the voltage, that is, the voltage of the charging signal is reduced to 1/N of the power supply signal, the terminal voltages of the first energy storage unit 110, the third energy storage unit 150, and the fourth energy storage unit 160 are all equal to the voltage of the charging signal, and then the second stage is entered, the first energy storage unit 110, the second energy storage unit 120, the third energy storage unit 150, and the fourth energy storage unit 160 discharge together to provide the electric energy for charging the battery 20, and at this time, the voltage of the charging signal is still 1/N of the power supply signal.
It should be understood that although the various steps in the flowcharts of fig. 2-5, 8, 11, 13, 17, 20 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5, 8, 11, 13, 17, 20 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternatively with other steps or at least some of the other steps.
As shown in fig. 22, an embodiment of the present application further provides a charging control apparatus 300 applied to a power management module of an electronic device, where the apparatus includes:
a status information obtaining module 310, configured to obtain status information of the charging device;
the voltage comparison module 320 is configured to obtain a voltage value of the battery, and compare the voltage value with a preset voltage threshold;
the instruction determining module 330 is configured to determine a charging control instruction for the battery according to a comparison result between the voltage value and a preset voltage threshold based on the state information of the charging device;
the instruction execution module 340 is configured to execute a corresponding charging mode according to the charging control instruction; the charging mode includes a first charging mode in which an output voltage of the charging device is less than an input voltage of the battery, a second charging mode in which the output voltage of the charging device is equal to the input voltage of the battery, and a third charging mode in which the output voltage of the charging device is N times the input voltage of the battery, and N is a positive integer greater than 1.
For specific limitations of the charging control device, reference may be made to the above limitations of the charging control method, which are not described herein again. The respective modules in the charge control device described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring state information of the charging equipment;
acquiring a voltage value of the battery, and comparing the voltage value with a preset voltage threshold value;
determining a charging control instruction for the battery according to a comparison result of the voltage value and a preset voltage threshold value based on the state information of the charging equipment;
executing a corresponding charging mode according to the charging control instruction; the charging mode includes a first charging mode in which an output voltage of the charging device is smaller than an input voltage of the battery, a second charging mode in which the output voltage of the charging device is equal to the input voltage of the battery, and a third charging mode in which the output voltage of the charging device is N times the input voltage of the battery, and N is a positive integer greater than 1.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
based on the charging device having a first state of charge, a second state of charge, and a third state of charge that correspond one-to-one to the first charging mode, the second charging mode, and the third charging mode, respectively:
determining to charge the battery in the first charging mode in response to the voltage value being less than a first voltage threshold;
determining to charge the battery in the third charging mode in response to the voltage value being greater than the first voltage threshold and less than a second voltage threshold;
determining to charge the battery in the first charging mode in response to the voltage value being greater than the second voltage threshold.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
based on the charging device having a first charging state and a second charging state that correspond one-to-one to the first charging mode and the second charging mode, respectively:
determining to charge the battery in the first charging mode in response to the voltage value being less than a first voltage threshold;
determining to charge the battery in the second charging mode in response to the voltage value being greater than the first voltage threshold and less than a second voltage threshold;
determining to charge the battery in the first charging mode in response to the voltage value being greater than the second voltage threshold.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining to charge the battery in the first charging mode based on the charging device having a first state of charge corresponding to the first charging mode.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
in a first stage, the first switching unit is controlled to conduct the power supply input end and the first end of the second energy storage unit, and the second switching unit is controlled to ground the second end of the second energy storage unit;
and in the second stage, the first switch unit is controlled to conduct the power supply input end and the first end of the second energy storage unit, and the second switch unit is controlled to conduct the second end of the second energy storage unit and the first end of the third energy storage unit.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and controlling the first switch unit to conduct the power supply input end and the first end of the second energy storage unit, and controlling the second switch unit to conduct the second end of the second energy storage unit and the first end of the third energy storage unit.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
in a first stage, controlling the first switch unit to conduct the power input end and the first end of the first energy storage unit, conducting the second end of the first energy storage unit and the first end of the second energy storage unit, and controlling the second switch unit to conduct the second end of the second energy storage unit and the first end of the third energy storage unit;
and in the second stage, the first switch unit is controlled to conduct the first end of the first energy storage unit with the first end of the second energy storage unit, the second end of the first energy storage unit is grounded, and the second switch unit is controlled to conduct the second end of the second energy storage unit with the first end of the third energy storage unit.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
in a first stage, controlling the first switch unit to conduct the power input end and the first end of the first energy storage unit, grounding the second end of the first energy storage unit, conducting the first end of the first energy storage unit and the first end of the second energy storage unit, and controlling the second switch unit to conduct the second end of the second energy storage unit and the first end of the third energy storage unit;
and in the second stage, the first switch unit is controlled to conduct the power supply input end and the first end of the first energy storage unit, the second end of the first energy storage unit is grounded, the first end of the second energy storage unit is grounded, and the second switch unit is controlled to conduct the second end of the second energy storage unit and the first end of the third energy storage unit.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
in a first stage, the first switching unit and the third switching unit are controlled to conduct the power input end and the first end of the second energy storage unit, and the second switching unit is controlled to ground the second end of the second energy storage unit;
and in the second stage, the first switching unit and the third switching unit are controlled to conduct the power input end and the first end of the second energy storage unit, and the second switching unit is controlled to conduct the first end of the second energy storage unit and the first end of the third energy storage unit.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and controlling the first switching unit and the third switching unit to conduct the power input end and the first end of the second energy storage unit, and controlling the second switching unit to conduct the first end of the second energy storage unit and the first end of the third energy storage unit.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
in a first stage, controlling the first switch unit to conduct the power input end with the first end of the first energy storage unit, conducting the second end of the first energy storage unit with the first end of the fourth energy storage unit, controlling the third switch unit to conduct the second end of the fourth energy storage unit with the first end of the second energy storage unit, and controlling the second switch unit to conduct the second end of the second energy storage unit with the first end of the third energy storage unit;
and in the second stage, the first switch unit is controlled to conduct the first end of the first energy storage unit with the first end of the fourth energy storage unit, the second end of the second energy storage unit is grounded, the third switch unit is controlled to conduct the first end of the fourth energy storage unit with the first end of the second energy storage unit, the second end of the fourth energy storage unit is grounded, and the second switch unit is controlled to conduct the second end of the second energy storage unit with the first end of the third energy storage unit.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor performs the steps of:
acquiring state information of the charging equipment;
acquiring a voltage value of the battery, and comparing the voltage value with a preset voltage threshold value;
determining a charging control instruction for the battery according to a comparison result of the voltage value and a preset voltage threshold value based on the state information of the charging equipment;
executing a corresponding charging mode according to the charging control instruction; the charging mode includes a first charging mode in which an output voltage of the charging device is smaller than an input voltage of the battery, a second charging mode in which the output voltage of the charging device is equal to the input voltage of the battery, and a third charging mode in which the output voltage of the charging device is N times the input voltage of the battery, and N is a positive integer greater than 1.
In one embodiment, the computer program when executed by the processor further performs the steps of:
based on the charging device having a first state of charge, a second state of charge, and a third state of charge that correspond one-to-one to the first charging mode, the second charging mode, and the third charging mode, respectively:
determining to charge the battery in the first charging mode in response to the voltage value being less than a first voltage threshold;
determining to charge the battery in the third charging mode in response to the voltage value being greater than the first voltage threshold and less than a second voltage threshold;
determining to charge the battery in the first charging mode in response to the voltage value being greater than the second voltage threshold.
In one embodiment, the computer program when executed by the processor further performs the steps of:
based on the charging device having a first charging state and a second charging state that correspond one-to-one to the first charging mode and the second charging mode, respectively:
determining to charge the battery in the first charging mode in response to the voltage value being less than a first voltage threshold;
determining to charge the battery in the second charging mode in response to the voltage value being greater than the first voltage threshold and less than a second voltage threshold;
determining to charge the battery in the first charging mode in response to the voltage value being greater than the second voltage threshold.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining to charge the battery in the first charging mode based on the charging device having a first state of charge corresponding to the first charging mode.
In one embodiment, the computer program when executed by the processor further performs the steps of:
in a first stage, the first switching unit is controlled to conduct the power supply input end and the first end of the second energy storage unit, and the second switching unit is controlled to ground the second end of the second energy storage unit;
and in the second stage, the first switch unit is controlled to conduct the power supply input end and the first end of the second energy storage unit, and the second switch unit is controlled to conduct the second end of the second energy storage unit and the first end of the third energy storage unit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and controlling the first switch unit to conduct the power supply input end and the first end of the second energy storage unit, and controlling the second switch unit to conduct the second end of the second energy storage unit and the first end of the third energy storage unit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
in a first stage, controlling the first switch unit to conduct the power input end and the first end of the first energy storage unit, conducting the second end of the first energy storage unit and the first end of the second energy storage unit, and controlling the second switch unit to conduct the second end of the second energy storage unit and the first end of the third energy storage unit;
and in the second stage, the first switch unit is controlled to conduct the first end of the first energy storage unit with the first end of the second energy storage unit, the second end of the first energy storage unit is grounded, and the second switch unit is controlled to conduct the second end of the second energy storage unit with the first end of the third energy storage unit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
in a first stage, controlling the first switch unit to conduct the power input end and the first end of the first energy storage unit, grounding the second end of the first energy storage unit, conducting the first end of the first energy storage unit and the first end of the second energy storage unit, and controlling the second switch unit to conduct the second end of the second energy storage unit and the first end of the third energy storage unit;
and in the second stage, the first switch unit is controlled to conduct the power supply input end and the first end of the first energy storage unit, the second end of the first energy storage unit is grounded, the first end of the second energy storage unit is grounded, and the second switch unit is controlled to conduct the second end of the second energy storage unit and the first end of the third energy storage unit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
in a first stage, the first switching unit and the third switching unit are controlled to conduct the power input end and the first end of the second energy storage unit, and the second switching unit is controlled to ground the second end of the second energy storage unit;
and in the second stage, the first switching unit and the third switching unit are controlled to conduct the power input end and the first end of the second energy storage unit, and the second switching unit is controlled to conduct the first end of the second energy storage unit and the first end of the third energy storage unit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and controlling the first switching unit and the third switching unit to conduct the power input end and the first end of the second energy storage unit, and controlling the second switching unit to conduct the first end of the second energy storage unit and the first end of the third energy storage unit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
in a first stage, controlling the first switch unit to conduct the power input end with the first end of the first energy storage unit, conducting the second end of the first energy storage unit with the first end of the fourth energy storage unit, controlling the third switch unit to conduct the second end of the fourth energy storage unit with the first end of the second energy storage unit, and controlling the second switch unit to conduct the second end of the second energy storage unit with the first end of the third energy storage unit;
and in the second stage, the first switch unit is controlled to conduct the first end of the first energy storage unit with the first end of the fourth energy storage unit, the second end of the second energy storage unit is grounded, the third switch unit is controlled to conduct the first end of the fourth energy storage unit with the first end of the second energy storage unit, the second end of the fourth energy storage unit is grounded, and the second switch unit is controlled to conduct the second end of the second energy storage unit with the first end of the third energy storage unit.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
In the description herein, reference to the description of "one of the embodiments," "exemplary," "specific," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, a schematic description of the above terminology may not necessarily refer to the same embodiment or example.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (14)

1. A charging control method is applied to a power management module of an electronic device, a battery of the electronic device is charged through a charging device, the battery is in a series connection double-cell structure, and the method comprises the following steps:
acquiring state information of the charging equipment;
acquiring a voltage value of the battery, and comparing the voltage value with a preset voltage threshold value;
determining a charging control instruction for the battery according to a comparison result of the voltage value and a preset voltage threshold value based on the state information of the charging equipment;
executing a corresponding charging mode according to the charging control instruction; the charging mode includes a first charging mode in which an output voltage of the charging device is smaller than an input voltage of the battery, a second charging mode in which the output voltage of the charging device is equal to the input voltage of the battery, and a third charging mode in which the output voltage of the charging device is N times the input voltage of the battery, and N is a positive integer greater than 1.
2. The charge control method according to claim 1, wherein the determining a charge control command for the battery according to a comparison result of the voltage value with a preset voltage threshold value based on the state information of the charging device includes:
based on the charging device having a first state of charge, a second state of charge, and a third state of charge that correspond one-to-one to the first charging mode, the second charging mode, and the third charging mode, respectively:
determining to charge the battery in the first charging mode in response to the voltage value being less than a first voltage threshold;
determining to charge the battery in the third charging mode in response to the voltage value being greater than the first voltage threshold and less than a second voltage threshold;
determining to charge the battery in the first charging mode in response to the voltage value being greater than the second voltage threshold.
3. The charge control method according to claim 1, wherein the determining a charge control command for the battery according to a comparison result of the voltage value with a preset voltage threshold value based on the state information of the charging device includes:
based on the charging device having a first charging state and a second charging state that correspond one-to-one to the first charging mode and the second charging mode, respectively:
determining to charge the battery in the first charging mode in response to the voltage value being less than a first voltage threshold;
determining to charge the battery in the second charging mode in response to the voltage value being greater than the first voltage threshold and less than a second voltage threshold;
determining to charge the battery in the first charging mode in response to the voltage value being greater than the second voltage threshold.
4. The charge control method according to claim 1, wherein the determining a charge control command for the battery according to a comparison result of the voltage value with a preset voltage threshold value based on the state information of the charging device includes:
determining to charge the battery in the first charging mode based on the charging device having a first state of charge corresponding to the first charging mode.
5. The charge control method according to any one of claims 2 to 4, wherein the power management module is configured with a power input terminal and a power output terminal, the power input terminal is used for connecting the charging device; the power supply management module comprises a first energy storage unit, a second energy storage unit, a third energy storage unit, a first switch unit and a second switch unit, wherein the first end of the third energy storage unit is connected with the power supply output end, and the second end of the third energy storage unit is grounded;
the step of charging the battery in the first charging mode comprises the following steps performed alternately:
in a first stage, the first switching unit is controlled to conduct the power supply input end and the first end of the second energy storage unit, and the second switching unit is controlled to ground the second end of the second energy storage unit;
and in the second stage, the first switch unit is controlled to conduct the power supply input end and the first end of the second energy storage unit, and the second switch unit is controlled to conduct the second end of the second energy storage unit and the first end of the third energy storage unit.
6. The charge control method according to claim 5, wherein the step of charging the battery in the second charging mode includes:
and controlling the first switch unit to conduct the power supply input end and the first end of the second energy storage unit, and controlling the second switch unit to conduct the second end of the second energy storage unit and the first end of the third energy storage unit.
7. The charge control method according to claim 5, wherein the step of charging the battery in the third charging mode includes the steps of, alternately:
in a first stage, controlling the first switch unit to conduct the power input end and the first end of the first energy storage unit, conducting the second end of the first energy storage unit and the first end of the second energy storage unit, and controlling the second switch unit to conduct the second end of the second energy storage unit and the first end of the third energy storage unit;
and in the second stage, the first switch unit is controlled to conduct the first end of the first energy storage unit with the first end of the second energy storage unit, the second end of the first energy storage unit is grounded, and the second switch unit is controlled to conduct the second end of the second energy storage unit with the first end of the third energy storage unit.
8. The charge control method according to claim 5, wherein the step of charging the battery in the third charging mode includes the steps of, alternately:
in a first stage, controlling the first switch unit to conduct the power input end and the first end of the first energy storage unit, grounding the second end of the first energy storage unit, conducting the first end of the first energy storage unit and the first end of the second energy storage unit, and controlling the second switch unit to conduct the second end of the second energy storage unit and the first end of the third energy storage unit;
and in the second stage, the first switch unit is controlled to conduct the power supply input end and the first end of the first energy storage unit, the second end of the first energy storage unit is grounded, the first end of the second energy storage unit is grounded, and the second switch unit is controlled to conduct the second end of the second energy storage unit and the first end of the third energy storage unit.
9. The charge control method according to any one of claims 2 to 4, wherein the power management module is configured with a power input terminal and a power output terminal, the power input terminal is used for connecting the charging device; the power supply management module comprises a first energy storage unit, a second energy storage unit, a third energy storage unit, a fourth energy storage unit, a first switch unit, a second switch unit and a third switch unit, wherein the first end of the third energy storage unit is connected with the power supply output end, and the second end of the third energy storage unit is grounded;
the step of charging the battery in the first charging mode comprises the following steps performed alternately:
in a first stage, the first switching unit and the third switching unit are controlled to conduct the power input end and the first end of the second energy storage unit, and the second switching unit is controlled to ground the second end of the second energy storage unit;
and in the second stage, the first switching unit and the third switching unit are controlled to conduct the power input end and the first end of the second energy storage unit, and the second switching unit is controlled to conduct the first end of the second energy storage unit and the first end of the third energy storage unit.
10. The charge control method according to claim 9, wherein the step of charging the battery in the second charging mode includes:
and controlling the first switching unit and the third switching unit to conduct the power input end and the first end of the second energy storage unit, and controlling the second switching unit to conduct the first end of the second energy storage unit and the first end of the third energy storage unit.
11. The charge control method according to claim 9, wherein the step of charging the battery in the third charging mode includes the steps of, alternately:
in a first stage, controlling the first switch unit to conduct the power input end with the first end of the first energy storage unit, conducting the second end of the first energy storage unit with the first end of the fourth energy storage unit, controlling the third switch unit to conduct the second end of the fourth energy storage unit with the first end of the second energy storage unit, and controlling the second switch unit to conduct the second end of the second energy storage unit with the first end of the third energy storage unit;
and in the second stage, the first switch unit is controlled to conduct the first end of the first energy storage unit with the first end of the fourth energy storage unit, the second end of the second energy storage unit is grounded, the third switch unit is controlled to conduct the first end of the fourth energy storage unit with the first end of the second energy storage unit, the second end of the fourth energy storage unit is grounded, and the second switch unit is controlled to conduct the second end of the second energy storage unit with the first end of the third energy storage unit.
12. A charging control device is applied to a power management module of an electronic device, and the device comprises:
the state information acquisition module is used for acquiring the state information of the charging equipment;
the voltage comparison module is used for acquiring a voltage value of the battery and comparing the voltage value with a preset voltage threshold value;
the instruction determining module is used for determining a charging control instruction for the battery according to a comparison result of the voltage value and a preset voltage threshold value based on the state information of the charging equipment;
the instruction execution module is used for executing a corresponding charging mode according to the charging control instruction; the charging mode includes a first charging mode in which an output voltage of the charging device is smaller than an input voltage of the battery, a second charging mode in which the output voltage of the charging device is equal to the input voltage of the battery, and a third charging mode in which the output voltage of the charging device is N times the input voltage of the battery, and N is a positive integer greater than 1.
13. An electronic device, comprising:
the battery is of a series double-cell structure;
the power supply management module is used for charging the battery when the charging equipment is connected;
a controller comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 11.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 11.
CN202110908017.7A 2021-08-09 2021-08-09 Charging control method, control device, electronic device, and storage medium Pending CN113675915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110908017.7A CN113675915A (en) 2021-08-09 2021-08-09 Charging control method, control device, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110908017.7A CN113675915A (en) 2021-08-09 2021-08-09 Charging control method, control device, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN113675915A true CN113675915A (en) 2021-11-19

Family

ID=78541974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110908017.7A Pending CN113675915A (en) 2021-08-09 2021-08-09 Charging control method, control device, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN113675915A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116191827A (en) * 2023-02-24 2023-05-30 深圳市振欢电子有限公司 Multifunctional power adapter based on Internet of things

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116191827A (en) * 2023-02-24 2023-05-30 深圳市振欢电子有限公司 Multifunctional power adapter based on Internet of things
CN116191827B (en) * 2023-02-24 2023-11-24 深圳市振欢电子有限公司 Multifunctional power adapter based on Internet of things

Similar Documents

Publication Publication Date Title
CN106787055B (en) A kind of charging circuit, system, method and terminal
KR100297608B1 (en) Charging control device, charging-and-discharging device and electronic equipment including the same
CN114498803B (en) Charging and discharging circuit and electronic equipment
CN101043146B (en) Apparatus and method for managing power of battery packs in a portable device
CN109358548A (en) A kind of charging method of automotive diagnostic system, vehicle diagnosis and automotive diagnostic unit
CN105576753A (en) Information processing method and electronic equipment
CN113675915A (en) Charging control method, control device, electronic device, and storage medium
CN110970956A (en) Charging method, electronic device, charging device and charging system
CN106786959B (en) Charge control method, device and terminal
CN113013956A (en) Charging and discharging circuit and electronic equipment
CN116707051B (en) Dual-battery charge-discharge circuit, dual-battery charge-discharge method, electronic device and medium
WO2022262415A1 (en) Charging circuit, charging method, electronic device, and storage medium
CN113675914A (en) Charging control method, control device, electronic device, and storage medium
US10903676B2 (en) Semiconductor device
US20200169094A1 (en) Charging device and operating method thereof
CN115001062B (en) Charging management circuit and electronic device
CN110932348A (en) Electronic device charging system and charging method
CN116667506B (en) Discharge circuit, discharge method thereof and electronic equipment
US20230275452A1 (en) Power system, charging method, and discharging method
CN113859552B (en) Battery management system
CN217469494U (en) Charging and power supply circuit and electronic equipment
CN112332473B (en) Charging and discharging circuit for storage BBU and server
CN113725952B (en) Discharging method, mobile power supply and computer storage medium
KR102395442B1 (en) Power supply apparatus having hierarchical structure
CN114421572A (en) Charging circuit, method and system

Legal Events

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