WO2020061983A1 - Charge control method and electronic device - Google Patents

Charge control method and electronic device Download PDF

Info

Publication number
WO2020061983A1
WO2020061983A1 PCT/CN2018/108181 CN2018108181W WO2020061983A1 WO 2020061983 A1 WO2020061983 A1 WO 2020061983A1 CN 2018108181 W CN2018108181 W CN 2018108181W WO 2020061983 A1 WO2020061983 A1 WO 2020061983A1
Authority
WO
WIPO (PCT)
Prior art keywords
power adapter
output voltage
value
charging
rechargeable battery
Prior art date
Application number
PCT/CN2018/108181
Other languages
French (fr)
Chinese (zh)
Inventor
郭启明
Original Assignee
深圳市柔宇科技有限公司
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 深圳市柔宇科技有限公司 filed Critical 深圳市柔宇科技有限公司
Priority to CN201880086731.9A priority Critical patent/CN111869036A/en
Priority to PCT/CN2018/108181 priority patent/WO2020061983A1/en
Publication of WO2020061983A1 publication Critical patent/WO2020061983A1/en

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
    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers

Definitions

  • the present invention relates to the field of electronic technology, and in particular, to a charging control method and an electronic device.
  • the smart device communicates with the power adapter to regulate the output voltage of the power adapter.
  • the smart device monitors the charging voltage and charging current of the rechargeable battery to determine whether the input voltage and input current of the smart device meet the power requirements of the rechargeable battery. In order to meet the different needs for power of the rechargeable battery in different charging stages, the smart device continuously controls the power adapter to gradually increase or decrease a specific voltage value to adjust the output voltage of the power adapter.
  • the specific voltage value used to adjust the output voltage is usually large each time, so that the output voltage of the power adapter cannot be accurately fixed at the voltage point required by the rechargeable battery, but will surround the rechargeable battery.
  • the required voltage point is constantly changing. And such a jump will make the power adapter always unable to accurately work at the proper voltage point, which will cause efficiency loss.
  • the embodiment of the invention discloses a charging control method and an electronic device, which can reduce the power loss in the charging process and effectively improve the charging efficiency.
  • the first aspect of the embodiments of the present invention discloses a charging control method applied to an electronic device, the electronic device is connected to a power adapter through a charging cable, the electronic device includes a rechargeable battery, and the method includes:
  • controlling the power adapter to enter a dynamic voltage regulation mode wherein when the power adapter is in the dynamic voltage regulation In the mode, the rechargeable battery of the electronic device is in a constant voltage charging state.
  • an electronic device is disclosed.
  • the electronic device is connected to a power adapter through a charging cable.
  • the electronic device includes a processor and a rechargeable battery.
  • the processor is configured to:
  • controlling the power adapter to enter a dynamic voltage regulation mode wherein when the power adapter is in the dynamic voltage regulation In the mode, the rechargeable battery of the electronic device is in a constant voltage charging state.
  • a third aspect of the embodiments of the present invention discloses a computer-readable storage medium applied to an electronic device, the electronic device is connected to a power adapter through a charging cable, the electronic device includes a rechargeable battery, and the computer-readable storage medium Instructions are stored in the computer. When the instructions are run on the computer, the computer is caused to perform the following steps:
  • controlling the power adapter to enter a dynamic voltage regulation mode wherein when the power adapter is in the dynamic voltage regulation In the mode, the rechargeable battery of the electronic device is in a constant voltage charging state.
  • the power adapter After a physical connection is established between the electronic device and the power adapter, it is first determined whether the value of the charging current of the rechargeable battery is greater than the charging limit value of the first preset multiple. If not, the power adapter is controlled to enter a dynamic voltage regulation mode, wherein the rechargeable battery is in a constant current charging state in the output voltage lock mode, and the rechargeable battery is in a constant voltage charging state in the dynamic voltage regulating mode, thereby reducing power loss during charging , Effectively improve the charging efficiency.
  • FIG. 1 is a flowchart of a charging control method disclosed by a first embodiment of the present invention
  • FIG. 2 is a schematic diagram of a correspondence relationship between a voltage region and a charging current limit value disclosed in an embodiment of the present invention
  • FIG. 3 is a flowchart of a charging control method disclosed by a second embodiment of the present invention.
  • FIG. 4 is a flowchart of a charging control method disclosed by a third embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for determining the most advantageous efficiency according to an embodiment of the present invention
  • FIG. 6 is a flowchart of a method for verifying a voltage change according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of an electronic device disclosed by an embodiment of the present invention.
  • the charging control method provided by the embodiment of the present invention requires the electronic device and the power adapter to be completed together.
  • the electronic device includes a rechargeable battery and a power management chip.
  • the charge management chip is connected to the rechargeable battery and forms a charging path.
  • the electronic device and the power adapter are connected through a charging cable, and the electronic device establishes a physical connection and a communication connection with the power adapter through the charging cable.
  • the electronic device and the power adapter further include a storage unit for storing data.
  • the charging control method and the electronic device provided by the embodiments of the present invention can reduce the power loss in the charging process and effectively improve the charging efficiency, which are described in detail below respectively.
  • FIG. 1 is a flowchart of a charging control method according to a first embodiment of the present invention.
  • the charging control method described in this embodiment includes:
  • Step S101 After the electronic device establishes a physical connection with the power adapter, determine whether the charging current value of the rechargeable battery is greater than the charging current limit value of the first preset multiple; if yes, go to step S102; if not, go to step S103.
  • the electronic device and the power adapter establish a physical connection through a charging cable
  • the charging cable may be a Universal Serial Bus (USB) charging cable.
  • the electronic device can communicate with the power adapter through a charging cable.
  • an initial value (for example, 5V) of the output voltage of the power adapter is first set.
  • the initial value of the output voltage of the power adapter can be preset by the power adapter; it can also be set by the electronic device through a specific instruction.
  • the electronic device sets the initial value of the output voltage through a specific instruction. Specifically, the electronic device sends an initial voltage setting instruction to the power adapter.
  • the initial voltage setting instruction carries the initial value of the output voltage of the power adapter, and the power adapter receives the electronic device. After the initial voltage setting instruction is sent, the output voltage value of the power adapter is set to the initial output voltage value in response to the initial voltage setting instruction.
  • the electronic device sets a charging current limit, that is, sets a charging current limit value of the rechargeable battery.
  • the electronic device first obtains the current charging voltage value V BAT of the rechargeable battery through the charge management chip; then determines the charging voltage interval to which the current charging voltage value V BAT belongs, and determines the charging of the rechargeable battery according to the charging voltage interval.
  • the maximum value of the current, and the maximum value of the charging current is taken as the charging current limit value I CHRGLIM of the rechargeable battery.
  • FIG. 2 is a schematic diagram illustrating a correspondence relationship between a voltage region and a charging current limit value according to an embodiment of the present invention.
  • the charging current limiting value I CHRGLIM is the maximum charging current value supported by the rechargeable battery. It is related to the performance of the rechargeable battery and can be a value preset by the electronic device or the user; the charging voltage value V BAT belongs to the charging voltage The mapping relationship between the interval and the charging current limit value I CHRGLIM is preset and can be stored in a storage unit of the electronic device.
  • the electronic device obtains the current charging current value I CHRG of the rechargeable battery through the charge management chip, and determines whether the current charging current value I CHRG of the rechargeable battery is greater than the first preset value.
  • step S102 When the current charging current value of the rechargeable battery is greater than the charging current limit value of the rechargeable battery of the first preset multiple, step S102 is performed; when the current charging current value of the rechargeable battery is less than or equal to the charging limit of the rechargeable battery of the first preset multiple Flow value, step S103 is executed.
  • Step S102 The electronic device controls the power adapter to enter an output voltage lock mode.
  • the electronic device when the current charging current value of the rechargeable battery is greater than the charging current limit value I CHRGLIM of the first preset multiple, the electronic device sends a first mode adjustment instruction to the power adapter, and the power adapter receives the first mode adjustment instruction After that, set the charging mode of the power adapter to the output voltage lock mode.
  • the power adapter when the power adapter is in the output voltage lock mode, the rechargeable battery of the electronic device is in a constant current charging state, that is, the charging current value of the rechargeable battery remains substantially unchanged.
  • Step S103 The electronic device controls the power adapter to enter a dynamic voltage regulation mode.
  • the electronic device when the current charging current value of the rechargeable battery is less than or equal to the first current limit charge limit value I CHRGLIM , the electronic device sends a second mode adjustment instruction to the power adapter, and the power adapter receives the second mode After adjusting the command, set the charging mode of the power adapter to the dynamic voltage regulation mode.
  • the power adapter when the power adapter is in a dynamic voltage regulation mode, the rechargeable battery of the electronic device is in a constant voltage charging state, that is, the charging voltage value of the rechargeable battery remains substantially unchanged.
  • the charging process is divided into two charging modes: an output voltage lock mode and a dynamic voltage regulation mode.
  • an output voltage lock mode In the constant current area capable of maintaining high current charging, the power demand of the rechargeable battery is large, and the electronic device is sensitive to the charging efficiency, that is, the charging efficiency is an important demand factor when the electronic device is charged.
  • the charging mode of the power adapter is changed.
  • Set to output voltage lock mode that is, the output voltage V BUS of the power adapter is not allowed to jump frequently, and the output voltage V BUS is controlled to remain unchanged, so that the rechargeable battery is in a constant current charging state, which can keep the rechargeable battery stable and large.
  • the charging current reduces the charging time.
  • the charge management chip of the electronic device determines the power demand of the rechargeable battery in real time.
  • the electronic device controls the power adapter to adjust its output voltage value V BUS according to the determined power demand, that is, the output voltage of the power adapter is allowed.
  • the value V BUS changes frequently so that the rechargeable battery is in a constant voltage charging state, which can make the electronic device work at a lower energy consumption level and reduce power loss.
  • the charging current value of the rechargeable battery is greater than the first preset multiple of the charging current limit value, and if so, controlling the power adapter to enter the output voltage lock mode, If not, the power adapter is controlled to enter a dynamic voltage regulation mode, wherein the rechargeable battery is in a constant current charging state in the output voltage lock mode, and the rechargeable battery is in a constant voltage charging state in the dynamic voltage regulating mode, thereby reducing power loss during charging. , Effectively improve the charging efficiency.
  • FIG. 3 is a flowchart of a charging control method according to a second embodiment of the present invention.
  • the charging control method described in this embodiment includes:
  • Step S301 After the electronic device establishes a physical connection with the power adapter, set the initial value of the output voltage of the power adapter.
  • Step S302 The electronic device obtains a charging voltage value of the rechargeable battery, and sets a charging current limit value of the rechargeable battery according to the charging voltage value of the rechargeable battery.
  • Step S303 The electronic device determines whether the charging current value of the rechargeable battery is greater than a charging current limit value of a first preset multiple; if yes, step S304 is performed; if not, step S311 is performed.
  • Step S304 The electronic device controls the power adapter to enter an output voltage lock mode.
  • Step S305 The electronic device acquires the current charging current value of the rechargeable battery at a preset time interval.
  • the electronic device obtains the current charging current value I CHRG of the rechargeable battery once through a charge management chip at a preset time interval (for example, 10S).
  • Step S306 The electronic device determines whether the current value of the charging current of the rechargeable battery is greater than the charging current limit value of the first preset multiple; if yes, returns to step S305; if not, executes step S307.
  • the electronic device when the current value of the charging current of the obtained rechargeable battery is greater than the charging current limit value of the first preset multiple, for example, when I CHRG > 0.9 * I CHRGLIM , the electronic device returns to execute step S305.
  • the obtained current value of the charging current of the rechargeable battery is less than or equal to the charging current limit value of the first preset multiple, for example, when I CHRG ⁇ 0.9 * I CHRGLIM , the electronic device executes step S307.
  • Step S307 The electronic device determines whether the current output voltage value of the power adapter is greater than or equal to a preset output voltage threshold of the power adapter. If yes, go to step S311; if no, go to step S308.
  • the preset output voltage threshold of the power adapter can be the maximum output voltage value of the power adapter.
  • the maximum output voltage value of the power adapter is related to the performance of the power adapter and can be obtained from the hardware parameters of the power adapter.
  • the electronic device when it is determined that the current value of the charging current of the rechargeable battery is less than or equal to the first preset multiple of the charging current limit value, the electronic device sends an output voltage acquisition instruction to the power adapter, and the power adapter receives the output voltage acquisition instruction After that, the current output voltage value of the power adapter is sent to the electronic device.
  • the electronic device After receiving the current output voltage value of the power adapter, the electronic device determines whether the current output voltage value of the power adapter is greater than or equal to the output voltage threshold value preset by the power adapter; if the current output voltage value of the power adapter is less than the output voltage preset by the power adapter Step S308; if the current output voltage value of the power adapter is greater than or equal to the output voltage threshold preset by the power adapter, it means that the rechargeable battery is difficult to maintain a constant current charging state, and the electronic device locks the charging mode of the power adapter from the output voltage The mode is switched to the dynamic voltage regulation mode. As such, the electronic device executes step S311.
  • Step S308 The electronic device controls the power adapter to perform boost adjustment on the output voltage of the power adapter.
  • a boosting attempt is performed to maintain the original charging current, that is, to keep the rechargeable battery in a constant current charging state.
  • the electronic device sends a boosting instruction to the power adapter.
  • the boosting instruction carries an output voltage boosting value (for example, ⁇ V ).
  • the power adapter receives the boosting instruction, it increases the output voltage value V BUS of the power adapter by ⁇ V , That is, the output voltage value of the power adapter is adjusted to V BUS + ⁇ V.
  • the electronic device controls the power adapter to perform boost adjustment on the output voltage of the power adapter, it proceeds to step S309;
  • Step S309 The electronic device determines whether the output voltage value after the boost adjustment of the power adapter is greater than or equal to a preset output voltage threshold of the power adapter. If yes, go to step S310; if no, go to step S310.
  • Step S310 The electronic device obtains a charging current value of the rechargeable battery after the boost adjustment, and determines whether the charging current value of the rechargeable battery after the boost adjustment is greater than a charging current limit of the first preset multiple. Value; if yes, go back to step S305; if not, go to step S311.
  • the electronic device when the electronic device detects that the output voltage value of the power adapter after the boost adjustment is less than the output voltage threshold preset by the power adapter, and the charging current value of the rechargeable battery after the boost adjustment is still less than or equal to the first Setting a multiple of the charging current limit value indicates that it is difficult for the rechargeable battery to maintain a constant current charging state.
  • the electronic device switches the charging mode of the power adapter from the output voltage lock mode to the dynamic voltage regulation mode. Thus, the electronic device executes step S311.
  • the electronic device detects that the output voltage value after the boost adjustment of the power adapter is smaller than a preset output voltage threshold value of the power adapter, and the charging current value of the rechargeable battery after the boost adjustment is greater than the first current limit charging limit value, It indicates that the constant current charging state of the rechargeable battery is successfully maintained, and the electronic device returns to step S305.
  • the power adapter controls the power adapter to perform a boost adjustment on the output voltage of the power adapter
  • the electronic device detects that the output voltage value of the power adapter after the boost adjustment is less than a preset output voltage threshold of the power adapter, and The charge current value of the rechargeable battery after the boost adjustment is still less than or equal to the first preset multiple of the charging current limit value
  • the power adapter is controlled to perform a second boost adjustment on the output voltage of the power adapter, that is, the output voltage of the power adapter The value is adjusted to V BUS + 2 * ⁇ V.
  • steps S309 and S310 are performed.
  • the charging current value is still less than or equal to the charging current limit value of the first preset multiple after the second boosting adjustment, it indicates that the rechargeable battery will enter the constant voltage charging state from the constant current charging state.
  • Step S311 The electronic device controls the power adapter to enter a dynamic voltage regulation mode.
  • Step S312 The electronic device obtains a current output voltage value of the power adapter, compares the current output voltage value of the power adapter with a preset output voltage value of the power adapter, and determines the current Whether the difference between the output voltage value and the preset output voltage value is greater than the preset voltage difference; if yes, step S313 is performed; if not, step S314 is performed.
  • the electronic device after the charging mode of the power adapter is set to or switched to the dynamic voltage regulation mode, the electronic device sends an output voltage acquisition instruction to the power adapter, and after the power adapter receives the output voltage acquisition instruction, it changes the current The output voltage value is sent to the electronic device. After receiving the current output voltage value of the power adapter, the electronic device compares the current output voltage value of the power adapter with a preset output voltage value of the power adapter, where the preset output voltage value of the power adapter can be a set power source The initial output voltage of the adapter.
  • Step S313 The electronic device controls the power adapter to perform step-down adjustment on the output voltage of the power adapter.
  • the output voltage of the power adapter needs to be adjusted by step-down.
  • the power adapter receives a command buck regulator, the output voltage value V BUS power adapter Decrease ⁇ V1, that is, adjust the output voltage value of the power adapter to V BUS- ⁇ V1 to meet the power demand of the rechargeable battery and keep the rechargeable battery in a constant voltage charging state.
  • Step S314 The electronic device controls the power adapter to perform boost adjustment on the output voltage of the power adapter.
  • the output voltage of the power adapter needs to be adjusted by boosting.
  • the power adapter receives a command to adjust the pressurization, the output voltage value V BUS power adapter Increase ⁇ V2, that is, adjust the output voltage value of the power adapter to V BUS + ⁇ V2 to keep the rechargeable battery in a constant voltage charging state.
  • the value of ⁇ V1 and ⁇ V2 may be the same or different.
  • the electronic device after the electronic device performs one or more step-down adjustments on the output voltage of the power adapter, or after one or more step-up adjustments on the output voltage of the power adapter, that is, the electronic device After the device performs step S313 or step S314, the electronic device returns to step S302. Until the charging of the rechargeable battery is complete, the entire process ends.
  • the above method can be used to divide the charging cycle of the rechargeable battery into several stages. Each stage is set with different charging current limit I CHRGLIM . Different charging current limit I CHRGLIM will change the output voltage of the power adapter V BUS lock accordingly
  • the conditions that is, the conditions for setting the charging mode of the power adapter to the output voltage lock mode or the dynamic voltage regulation mode are changed accordingly.
  • the embodiments of the present invention can effectively reduce the power loss caused by the impedance of the charging cable, can limit the power and optimize the charging efficiency, and can also reduce the temperature rise of components during charging, thereby extending the service life of the electronic device and the power adapter.
  • the electronic device and the power adapter can also be connected for charging and communication by wireless connection; the output voltage value of the power adapter can also be replaced by the input voltage value of the electronic device.
  • the charging control method reference may be made to the above description, and details are not described herein again.
  • the charging current value of the rechargeable battery is greater than the first preset multiple of the charging current limit value, and if so, controlling the power adapter to enter the output voltage lock mode, If not, the power adapter is controlled to enter a dynamic voltage regulation mode, wherein the rechargeable battery is in a constant current charging state in the output voltage lock mode, and the rechargeable battery is in a constant voltage charging state in the dynamic voltage regulating mode, thereby reducing power loss during charging. , Effectively improve the charging efficiency.
  • the electronic device After the electronic device sets the charging mode of the power adapter to the output voltage lock mode, before the output voltage value V BUS of the power adapter is locked, the electronic device first determines the optimal operating point, that is, when the charging efficiency is the highest during the charging process. Corresponding target output voltage value.
  • the charging control method provided in another embodiment further includes the following steps after step S304 and before step 305:
  • Step S3041 the electronic device controls the power adapter to adjust the output voltage value of the power adapter so that the charging current value of the rechargeable battery is within the first preset multiple of the charging current limit value and the second preset multiple. Charging current limit value.
  • the second preset multiple is greater than the first preset multiple.
  • the second preset multiple may be, for example, 1.1
  • the first preset multiple may be, for example, 0.9.
  • the electronic device gradually increases the output voltage value of the power adapter by controlling the power adapter to gradually increase the charging current value of the rechargeable battery from the charging current limit value of the first preset multiple to the charging current limit value of the second preset multiple.
  • the charging current value of the rechargeable battery is gradually increased from 0.9 * I CHRGLIM to 1.1 * I CHRGLIM .
  • Step S3042 in the process of adjusting the output voltage value of the power adapter, the electronic device calculates conversion efficiency values corresponding to different charging current values of the rechargeable battery, and sets the power source corresponding to the maximum conversion efficiency value The output voltage value of the adapter is determined as the target output voltage value.
  • the electronic device calculates the conversion efficiency corresponding to all the charging current values during the adjustment process, and determines the charging current value and the output voltage value corresponding to the maximum conversion efficiency. It is the optimal operating point of efficiency, and the output voltage value of the power adapter corresponding to the maximum conversion efficiency is determined as the target output voltage value.
  • the conversion efficiency is equal to the power obtained by the rechargeable battery divided by the power output by the power adapter.
  • is the conversion efficiency value, which is a ratio
  • V BAT and I CHRG are the charging voltage value and charging current value of the rechargeable battery
  • V BUS and I IN are the output voltage value and Output current value. It should be noted that formula (1) can be optimized according to the impedance value of the charging cable.
  • FIG. 5 is a flowchart of a method for determining the most advantageous efficiency according to an embodiment of the present invention. As shown in FIG. 5, it is assumed that the first preset multiple is 0.9 and the second preset multiple is 1.1.
  • the charging current limit value of the rechargeable battery is I CHRGLIM
  • the output voltage value of the power adapter is V BUS .
  • the electronic device obtains the charging current value I CHRG0 of the rechargeable battery, and judges whether I CHRG0 is less than or equal to 1.1 * I CHRGLIM ; if not, the power adapter is controlled to reduce the output voltage V BUS of the power adapter by ⁇ V3, and obtain the step-down adjustment again
  • the charging current value of the subsequent rechargeable battery if it is, the output voltage value V ⁇ at the higher efficiency point is set to the output voltage value V BUS corresponding to the charging current value I CHRG0 .
  • the electronic device controls the power adapter to increase the output voltage value V BUS of the power adapter by ⁇ V4 to obtain the charging current value I CHRG1 of the rechargeable battery after the boost adjustment and determine whether I CHRG1 is less than or equal to 1.1 * I CHRGLIM ; if not, Then the output voltage value V ⁇ max at the highest efficiency point is set to V ⁇ , that is, V ⁇ max is set to the output voltage value corresponding to I CHRG0 , and this process is ended, where the output voltage value V ⁇ max at the highest efficiency point is The target output voltage value; if it is, it is determined whether the conversion efficiency corresponding to the charging current value I CHRG0 is higher than the conversion efficiency corresponding to the charging current value I CHRG1 .
  • the recording I CHRG0 corresponding to the output voltage value V BUS higher efficiency point output voltage V ⁇ , and performs the high efficiency of the output voltage value V ⁇ point setting step and the subsequent steps is the charging current value I CHRG0 corresponding to an output voltage value; when the charging current value I CHRG0 conversion efficiency corresponding to the relative value of the charging current corresponding to the converted I CHRG1 If the efficiency has increased, record the output voltage value V BUS corresponding to I CHRG1 as the output voltage value V ⁇ at the higher efficiency point, and execute setting the output voltage value V ⁇ at the higher efficiency point to the charging current value I CHRG1 .
  • Steps and subsequent steps for outputting voltage values are identically, the value of ⁇ ⁇ V4 V3 and may be the same or different; In the above process, the charging current should remain larger than the value of the charging of the battery is 0.9 * I CHRGLIM.
  • Step S3043 The electronic device controls the power adapter to adjust an output voltage value of the power adapter to the target output voltage value.
  • the electronic device after determining the target output voltage value, sends a voltage adjustment instruction to the power adapter, and the voltage adjustment instruction carries the target output voltage value; after the power adapter receives the voltage adjustment instruction, it sends the output voltage of the power adapter The value is adjusted to the target output voltage value.
  • the charging mode of the power adapter is the output voltage lock mode, the power adapter controls the output voltage value to stay at the target output voltage value or change within a small range, that is, to lock the output voltage value of the power adapter at the target output Voltage value.
  • the output voltage value of the power adapter is adjusted to the target output voltage value corresponding to the maximum conversion efficiency, which can maintain a large charging current.
  • the voltage point with the best conversion efficiency is selected to continuously charge the rechargeable battery in a certain interval. For a constant current charging stage with a high demand for charging power, maintaining a high charging efficiency can significantly reduce the component's heat generation. , And can increase the charging speed of the rechargeable battery and shorten the charging time.
  • the electronic device first performs a voltage change verification after the output voltage of the power adapter is increased or decreased.
  • FIG. 6 is a flowchart of a voltage change verification method according to an embodiment of the present invention. As shown in FIG.
  • the electronic device each time the output voltage of the power adapter is adjusted to increase or decrease ⁇
  • V5 for example, 0.2V
  • Within a preset voltage change interval for example, (0.1V, 0.3V)), that is, 0.1V ⁇ ⁇ V6 ⁇ 0.3V, it is deemed to meet the requirements, and the voltage change verification is passed. Perform the next steps and the next voltage change operation.
  • the electronic device determines that the electronic device or the power adapter has failed during the charging process and disconnects the charging To stop charging the rechargeable battery. Further, the electronic device outputs prompt information, which is used to prompt the user that a failure occurs during the charging process, so that the user can disconnect the power adapter from the electronic device, thereby avoiding damage to the power adapter or the electronic device.
  • a preset number of times for example, 5 times
  • the output voltage lock mode can avoid frequent jump of the output voltage of the power adapter during the entire charging cycle.
  • the output voltage lock mode mainly works in the constant current region with a large charging current, which can make the rechargeable battery maintain a relatively large and stable charging current.
  • the selection of the most efficient efficiency can not only extend the service life of the rechargeable battery, but also improve the charging efficiency of the rechargeable battery, thereby shortening the charging time.
  • the dynamic voltage regulation mode mainly works in the constant voltage region.
  • the power adapter In the dynamic voltage regulation mode, the power adapter The output voltage can be changed to meet the power requirements of the rechargeable battery, which can keep the rechargeable battery in the constant voltage charging stage, which can make the electronic device work at a lower energy consumption level, and reduce power loss.
  • the charging control method implemented by the present invention can improve the charging efficiency and effectively control the temperature rise of components, the electronic device can support a larger charging current, thereby further improving the charging speed.
  • the voltage change verification function provided by the embodiment of the present invention can make the electronic device automatically jump out of the abnormal working state, and can support user-defined operation after failure of the voltage change verification, thereby improving the safety and robustness during the charging process. Sex.
  • FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device described in the embodiment of the present invention is connected to a power adapter through a charging cable, and includes a processor 701, a rechargeable battery 702, and a charge management chip 703:
  • the processor 701 is configured to:
  • the power adapter When the charging current value of the rechargeable battery 702 is less than or equal to the charging current limiting value of the first preset multiple, the power adapter is controlled to enter a dynamic voltage regulation mode, wherein when the power adapter is in the dynamic voltage regulation In the voltage mode, the rechargeable battery 702 of the electronic device is in a constant voltage charging state.
  • the processor 701 controls the power adapter to enter the output voltage lock mode, the processor 701 is further configured to:
  • the power adapter is controlled to perform boost adjustment on the output voltage of the power adapter.
  • the processor 701 is further configured to:
  • the power adapter When the current output voltage value of the power adapter is greater than or equal to a preset output voltage threshold of the power adapter, the power adapter is switched from the output voltage lock mode to the dynamic voltage regulation mode.
  • the processor 701 before the processor 701 determines whether the charging current value of the rechargeable battery 702 is greater than a charging current limit value of a first preset multiple, the processor 701 is further configured to:
  • the processor 701 controls the power adapter to enter a dynamic voltage regulation mode, the processor 701 is further configured to:
  • the processor 701 controls the power adapter to enter the output voltage lock mode, the processor 701 is further configured to:
  • the processor 701, the rechargeable battery 702, and the charge management chip 703 described in the embodiment of the present invention may implement the implementation manner of the electronic device described in a charging control method provided by the embodiment of the present invention. More details.
  • the processor 701 first determines whether the charging current value of the rechargeable battery 702 is greater than the charging current limit value of the first preset multiple.
  • the power adapter is controlled to enter the output voltage lock mode. If not, the power adapter is controlled to enter the dynamic voltage regulation mode.
  • the rechargeable battery 702 is in a constant current charging state in the output voltage locking mode, and the rechargeable battery 702 is in a constant voltage in the dynamic voltage regulation mode. Charging status, which can reduce power loss during charging and effectively improve charging efficiency.
  • the present invention also provides a computer-readable storage medium.
  • the computer-readable storage medium stores instructions that, when run on a computer, cause the computer to execute the charging control method according to the foregoing method embodiment.
  • the invention also provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the charging control method described in the above method embodiment.
  • the present invention also provides a terminal, including a processor, an input device, an output device, a communication interface, and a memory, and the processor, the input device, the output device, the communication interface, and the memory are connected to each other, where
  • the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the charging control method according to the foregoing method embodiment.
  • the steps in the method of the embodiment of the present invention can be adjusted, combined, and deleted according to actual needs.
  • the components in the electronic device according to the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
  • the program may be stored in a computer-readable storage medium.
  • the storage medium may include: Flash disk, Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk or optical disk, etc.

Landscapes

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

Abstract

A charge control method and an electronic device, the method comprising: after establishing a physical connection with a power adapter, determining whether a charging current value of a charging battery (702) is greater than a first preset multiple of a charging current limiting value (S101); when the charging current value of the charging battery (702) is greater than the first preset multiple of the charging current limiting value, controlling the power adapter to enter an output voltage locking mode, wherein, when the power adapter is in the output voltage locking mode, the charging battery (702) of an electronic device is in a constant current charging state (S102); when the charging current value of the charging battery (702) is smaller than or equal to the first preset multiple of the charging current limiting value, controlling the power adapter to enter a dynamic voltage regulating mode, wherein, when the power adapter is in the dynamic voltage regulating mode, the charging battery (702) of the electronic device is in a constant voltage charging state (S103). By means of the embodiments, power loss during charging may be reduced and charging efficiency may be effectively improved.

Description

一种充电控制方法及电子装置Charging control method and electronic device 技术领域Technical field
本发明涉及电子技术领域,尤其涉及一种充电控制方法及电子装置。The present invention relates to the field of electronic technology, and in particular, to a charging control method and an electronic device.
背景技术Background technique
随着社会的发展,智能设备越来越受到消费者的青睐,为减少智能设备的充电时间,快充技术应运而生。现有快充方案是由智能设备与电源适配器进行通信来调节电源适配器的输出电压的。With the development of society, smart devices are more and more popular with consumers. In order to reduce the charging time of smart devices, fast charging technology came into being. In the existing fast charging scheme, the smart device communicates with the power adapter to regulate the output voltage of the power adapter.
智能设备通过监控充电电池的充电电压与充电电流,来判断智能设备的输入电压与输入电流是否满足充电电池的功率需求。为满足充电电池在不同充电阶段对功率的不同需求,智能设备会不断地控制电源适配器逐步增加或降低特定的电压值来调节电源适配器的输出电压。The smart device monitors the charging voltage and charging current of the rechargeable battery to determine whether the input voltage and input current of the smart device meet the power requirements of the rechargeable battery. In order to meet the different needs for power of the rechargeable battery in different charging stages, the smart device continuously controls the power adapter to gradually increase or decrease a specific voltage value to adjust the output voltage of the power adapter.
现有快充方案中每次用来调节输出电压的该特定的电压值通常较大,致使电源适配器的输出电压无法精确地固定在充电电池所需求的电压点上,而是会围绕充电电池所需求的电压点产生不断的跳变。而这样的跳变会使得电源适配器始终无法准确地工作在合适的电压点上,从而造成效率损失。In the current fast charging solution, the specific voltage value used to adjust the output voltage is usually large each time, so that the output voltage of the power adapter cannot be accurately fixed at the voltage point required by the rechargeable battery, but will surround the rechargeable battery. The required voltage point is constantly changing. And such a jump will make the power adapter always unable to accurately work at the proper voltage point, which will cause efficiency loss.
发明内容Summary of the Invention
本发明实施例公开了一种充电控制方法及电子装置,可以降低充电过程中的功率损耗,有效提高充电效率。The embodiment of the invention discloses a charging control method and an electronic device, which can reduce the power loss in the charging process and effectively improve the charging efficiency.
本发明实施例第一方面公开了一种充电控制方法,应用于电子装置,所述电子装置通过充电线缆与电源适配器相连,所述电子装置包括充电电池,所述方法包括:The first aspect of the embodiments of the present invention discloses a charging control method applied to an electronic device, the electronic device is connected to a power adapter through a charging cable, the electronic device includes a rechargeable battery, and the method includes:
在和所述电源适配器建立物理连接后,判断所述充电电池的充电电流值是否大于第一预设倍数的充电限流值;After establishing a physical connection with the power adapter, determining whether a charging current value of the rechargeable battery is greater than a charging current limit value of a first preset multiple;
当所述充电电池的充电电流值大于所述第一预设倍数的充电限流值时,控制所述电源适配器进入输出电压锁定模式,其中,当所述电源适配器处于所述输出电压锁定模式时,所述电子装置的充电电池处于恒流充电状态;And controlling the power adapter to enter an output voltage lock mode when a charging current value of the rechargeable battery is greater than a charging current limit value of the first preset multiple, wherein when the power adapter is in the output voltage lock mode The rechargeable battery of the electronic device is in a constant current charging state;
当所述充电电池的充电电流值小于或等于所述第一预设倍数的充电限流值时,控制所述电源适配器进入动态调压模式,其中,当所述电源适配器处于所述动态调压模式时,所述电子装置的充电电池处于恒压充电状态。When the charging current value of the rechargeable battery is less than or equal to the charging current limit value of the first preset multiple, controlling the power adapter to enter a dynamic voltage regulation mode, wherein when the power adapter is in the dynamic voltage regulation In the mode, the rechargeable battery of the electronic device is in a constant voltage charging state.
本发明实施例第二方面公开了一种电子装置,所述电子装置通过充电线缆与电源适配器相连,所述电子装置包括处理器及充电电池,所述处理器用于:According to a second aspect of the embodiments of the present invention, an electronic device is disclosed. The electronic device is connected to a power adapter through a charging cable. The electronic device includes a processor and a rechargeable battery. The processor is configured to:
在所述电子装置和所述电源适配器建立物理连接后,判断所述充电电池的充电电流值是否大于第一预设倍数的充电限流值;After the electronic device and the power adapter establish a physical connection, determine whether a charging current value of the rechargeable battery is greater than a charging current limit value of a first preset multiple;
当所述充电电池的充电电流值大于所述第一预设倍数的充电限流值时,控制所述电源适配器进入输出电压锁定模式,其中,当所述电源适配器处于所述输出电压锁定模式时,所述电子装置的充电电池处于恒流充电状态;And controlling the power adapter to enter an output voltage lock mode when a charging current value of the rechargeable battery is greater than a charging current limit value of the first preset multiple, wherein when the power adapter is in the output voltage lock mode The rechargeable battery of the electronic device is in a constant current charging state;
当所述充电电池的充电电流值小于或等于所述第一预设倍数的充电限流值时,控制所述电源适配器进入动态调压模式,其中,当所述电源适配器处于所述动态调压模式时,所述电子装置的充电电池处于恒压充电状态。When the charging current value of the rechargeable battery is less than or equal to the charging current limit value of the first preset multiple, controlling the power adapter to enter a dynamic voltage regulation mode, wherein when the power adapter is in the dynamic voltage regulation In the mode, the rechargeable battery of the electronic device is in a constant voltage charging state.
本发明实施例第三方面公开了一种计算机可读存储介质,应用于电子装置,所述电子装置通过充电线缆与电源适配器相连,所述电子装置包括充电电池,所述计算机可读存储介质中存储有指令,当所述指令在计算机上运行时,使计算机执行如下步骤:A third aspect of the embodiments of the present invention discloses a computer-readable storage medium applied to an electronic device, the electronic device is connected to a power adapter through a charging cable, the electronic device includes a rechargeable battery, and the computer-readable storage medium Instructions are stored in the computer. When the instructions are run on the computer, the computer is caused to perform the following steps:
在所述电子装置和所述电源适配器建立物理连接后,判断所述充电电池的充电电流值是否大于第一预设倍数的充电限流值;After the electronic device and the power adapter establish a physical connection, determine whether a charging current value of the rechargeable battery is greater than a charging current limit value of a first preset multiple;
当所述充电电池的充电电流值大于所述第一预设倍数的充电限流值时,控制所述电源适配器进入输出电压锁定模式,其中,当所述电源适配器处于所述输出电压锁定模式时,所述电子装置的充电电池处于恒流充电状态;And controlling the power adapter to enter an output voltage lock mode when a charging current value of the rechargeable battery is greater than a charging current limit value of the first preset multiple, wherein when the power adapter is in the output voltage lock mode The rechargeable battery of the electronic device is in a constant current charging state;
当所述充电电池的充电电流值小于或等于所述第一预设倍数的充电限流值时,控制所述电源适配器进入动态调压模式,其中,当所述电源适配器处于所述动态调压模式时,所述电子装置的充电电池处于恒压充电状态。When the charging current value of the rechargeable battery is less than or equal to the charging current limit value of the first preset multiple, controlling the power adapter to enter a dynamic voltage regulation mode, wherein when the power adapter is in the dynamic voltage regulation In the mode, the rechargeable battery of the electronic device is in a constant voltage charging state.
本发明实施例中,在电子装置和电源适配器建立物理连接后,首先判断充电电池的充电电流值是否大于第一预设倍数的充电限流值,若是,则控制电源适配器进入输出电压锁定模式,若否,则控制电源适配器进入动态调压模式,其中,输出电压锁定模式下充电电池处于恒流充电状态,动态调压模式下充电 电池处于恒压充电状态,从而可以降低充电过程中的功率损耗,有效提高充电效率。In the embodiment of the present invention, after a physical connection is established between the electronic device and the power adapter, it is first determined whether the value of the charging current of the rechargeable battery is greater than the charging limit value of the first preset multiple. If not, the power adapter is controlled to enter a dynamic voltage regulation mode, wherein the rechargeable battery is in a constant current charging state in the output voltage lock mode, and the rechargeable battery is in a constant voltage charging state in the dynamic voltage regulating mode, thereby reducing power loss during charging , Effectively improve the charging efficiency.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings according to these drawings without paying creative labor.
图1是本发明第一实施例公开的充电控制方法的流程图;1 is a flowchart of a charging control method disclosed by a first embodiment of the present invention;
图2是本发明实施例公开的一种电压区域与充电限流值之间的对应关系的示意图;2 is a schematic diagram of a correspondence relationship between a voltage region and a charging current limit value disclosed in an embodiment of the present invention;
图3是本发明第二实施例公开的充电控制方法的流程图;3 is a flowchart of a charging control method disclosed by a second embodiment of the present invention;
图4是本发明第三实施例公开的充电控制方法的流程图;4 is a flowchart of a charging control method disclosed by a third embodiment of the present invention;
图5是本发明一实施例公开的确定效率最优点的方法的流程图;FIG. 5 is a flowchart of a method for determining the most advantageous efficiency according to an embodiment of the present invention; FIG.
图6是本发明一实施例公开的一种电压变化校验方法的流程图;6 is a flowchart of a method for verifying a voltage change according to an embodiment of the present invention;
图7是本发明实施例公开的一种电子装置的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device disclosed by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
本发明实施例提供的充电控制方法需要电子装置与电源适配器共同配合完成,其中,电子装置包括充电电池和电源管理芯片,充电管理芯片与充电电池连接,且构成充电通路。电子装置和电源适配器通过充电线缆连接,电子装置通过充电线缆与电源适配器建立物理连接以及通信连接。在一实施方式中,电子装置和电源适配器还包括存储单元,用于存储数据。本发明实施例提供的充电控制方法及电子装置,可以降低充电过程中的功率损耗,有效提高充电效率,以下分别进行详细说明。The charging control method provided by the embodiment of the present invention requires the electronic device and the power adapter to be completed together. The electronic device includes a rechargeable battery and a power management chip. The charge management chip is connected to the rechargeable battery and forms a charging path. The electronic device and the power adapter are connected through a charging cable, and the electronic device establishes a physical connection and a communication connection with the power adapter through the charging cable. In one embodiment, the electronic device and the power adapter further include a storage unit for storing data. The charging control method and the electronic device provided by the embodiments of the present invention can reduce the power loss in the charging process and effectively improve the charging efficiency, which are described in detail below respectively.
请参阅图1,图1为本发明第一实施例提供的一种充电控制方法的流程图。本实施例中所描述的充电控制方法,包括:Please refer to FIG. 1, which is a flowchart of a charging control method according to a first embodiment of the present invention. The charging control method described in this embodiment includes:
步骤S101、电子装置在和电源适配器建立物理连接后,判断充电电池的充电电流值是否大于第一预设倍数的充电限流值;若是,则执行步骤S102;若否,则执行步骤S103。Step S101: After the electronic device establishes a physical connection with the power adapter, determine whether the charging current value of the rechargeable battery is greater than the charging current limit value of the first preset multiple; if yes, go to step S102; if not, go to step S103.
本发明实施例中,电子装置和电源适配器通过充电线缆建立物理连接,该充电线缆可以是通用串行总线(Universal Serial Bus,USB)充电线缆。电子装置可以通过充电线缆与电源适配器进行通信。在电子装置和电源适配器建立物理连接后,首先设定电源适配器的输出电压初始值(例如5V)。该电源适配器的输出电压初始值可以由电源适配器预先设置;也可以由电子装置通过特定的指令来设定。其中,电子装置通过特定的指令设定输出电压初始值具体为,电子装置向电源适配器发送初始电压设定指令,初始电压设定指令携带电源适配器的输出电压初始值,电源适配器在接收到电子装置发送的初始电压设定指令之后,响应初始电压设定指令将电源适配器的输出电压值设为该输出电压初始值。In the embodiment of the present invention, the electronic device and the power adapter establish a physical connection through a charging cable, and the charging cable may be a Universal Serial Bus (USB) charging cable. The electronic device can communicate with the power adapter through a charging cable. After a physical connection is established between the electronic device and the power adapter, an initial value (for example, 5V) of the output voltage of the power adapter is first set. The initial value of the output voltage of the power adapter can be preset by the power adapter; it can also be set by the electronic device through a specific instruction. The electronic device sets the initial value of the output voltage through a specific instruction. Specifically, the electronic device sends an initial voltage setting instruction to the power adapter. The initial voltage setting instruction carries the initial value of the output voltage of the power adapter, and the power adapter receives the electronic device. After the initial voltage setting instruction is sent, the output voltage value of the power adapter is set to the initial output voltage value in response to the initial voltage setting instruction.
进一步地,电子装置进行充电电流限流的设置,也即是设置充电电池的充电限流值。在一实施方式中,电子装置先通过充电管理芯片获取充电电池的当前充电电压值V BAT;然后判断该当前充电电压值V BAT所属的充电电压区间,根据所述充电电压区间确定充电电池的充电电流的最大值,并将该充电电流的最大值作为该充电电池的充电限流值I CHRGLIMFurther, the electronic device sets a charging current limit, that is, sets a charging current limit value of the rechargeable battery. In one embodiment, the electronic device first obtains the current charging voltage value V BAT of the rechargeable battery through the charge management chip; then determines the charging voltage interval to which the current charging voltage value V BAT belongs, and determines the charging of the rechargeable battery according to the charging voltage interval. The maximum value of the current, and the maximum value of the charging current is taken as the charging current limit value I CHRGLIM of the rechargeable battery.
请一并参见图2,所示为本发明一实施例提供的电压区域与充电限流值之间的对应关系的示意图。如图2所示,假设充电电压值V BAT所属的电压区间为(3.8V,4.2V],也即是3.8V<V BUS≤4.2V,则确定该充电电池的充电限流值I CHRGLIM=3.5A。 Please refer to FIG. 2 together, which is a schematic diagram illustrating a correspondence relationship between a voltage region and a charging current limit value according to an embodiment of the present invention. As shown in FIG. 2, assuming that the voltage interval to which the charging voltage value V BAT belongs is (3.8V, 4.2V), that is, 3.8V <V BUS ≦ 4.2V, then the charging current limiting value of the rechargeable battery I CHRGLIM = 3.5A.
需要说明的是,充电限流值I CHRGLIM是充电电池支持的最大的充电电流值,与充电电池的性能相关,可以是电子装置或者用户预先设定的值;充电电压值V BAT所属的充电电压区间与充电限流值I CHRGLIM的映射关系是预先设置的,可以存储在电子装置的存储单元中。 It should be noted that the charging current limiting value I CHRGLIM is the maximum charging current value supported by the rechargeable battery. It is related to the performance of the rechargeable battery and can be a value preset by the electronic device or the user; the charging voltage value V BAT belongs to the charging voltage The mapping relationship between the interval and the charging current limit value I CHRGLIM is preset and can be stored in a storage unit of the electronic device.
进一步地,在充电电池的充电限流值I CHRGLIM设置完成后,电子装置通过 充电管理芯片获取充电电池的当前充电电流值I CHRG,并判断充电电池的当前充电电流值I CHRG是否大于第一预设倍数的充电电池的充电限流值;例如,第一预设倍数可以是0.9,也即是判断I CHRG是否大于0.9*I CHRGLIM。当充电电池的当前充电电流值大于第一预设倍数的充电电池的充电限流值,则执行步骤S102;当充电电池的当前充电电流值小于或等于第一预设倍数的充电电池的充电限流值,则执行步骤S103。 Further, after the setting of the charging current limit value I CHRGLIM of the rechargeable battery is completed, the electronic device obtains the current charging current value I CHRG of the rechargeable battery through the charge management chip, and determines whether the current charging current value I CHRG of the rechargeable battery is greater than the first preset value. Set the charging current limit value of the rechargeable battery at a multiple; for example, the first preset multiple may be 0.9, that is, determine whether I CHRG is greater than 0.9 * I CHRGLIM . When the current charging current value of the rechargeable battery is greater than the charging current limit value of the rechargeable battery of the first preset multiple, step S102 is performed; when the current charging current value of the rechargeable battery is less than or equal to the charging limit of the rechargeable battery of the first preset multiple Flow value, step S103 is executed.
步骤S102、所述电子装置控制所述电源适配器进入输出电压锁定模式。Step S102: The electronic device controls the power adapter to enter an output voltage lock mode.
本发明实施例中,当充电电池的当前充电电流值大于第一预设倍数的充电限流值I CHRGLIM时,电子装置向电源适配器发送第一模式调整指令,电源适配器接收到第一模式调整指令之后,将电源适配器的充电模式设为输出电压锁定模式。其中,当电源适配器处于输出电压锁定模式时,电子装置的充电电池处于恒流充电状态,也即是充电电池的充电电流值基本保持不变。 In the embodiment of the present invention, when the current charging current value of the rechargeable battery is greater than the charging current limit value I CHRGLIM of the first preset multiple, the electronic device sends a first mode adjustment instruction to the power adapter, and the power adapter receives the first mode adjustment instruction After that, set the charging mode of the power adapter to the output voltage lock mode. Among them, when the power adapter is in the output voltage lock mode, the rechargeable battery of the electronic device is in a constant current charging state, that is, the charging current value of the rechargeable battery remains substantially unchanged.
步骤S103、所述电子装置控制所述电源适配器进入动态调压模式。Step S103: The electronic device controls the power adapter to enter a dynamic voltage regulation mode.
本发明实施例中,当充电电池的当前充电电流值小于或等于第一预设倍数的充电限流值I CHRGLIM时,电子装置向电源适配器发送第二模式调整指令,电源适配器接收到第二模式调整指令之后,将电源适配器的充电模式设为动态调压模式。其中,当电源适配器处于动态调压模式时,电子装置的充电电池处于恒压充电状态,也即是充电电池的充电电压值基本保持不变。 In the embodiment of the present invention, when the current charging current value of the rechargeable battery is less than or equal to the first current limit charge limit value I CHRGLIM , the electronic device sends a second mode adjustment instruction to the power adapter, and the power adapter receives the second mode After adjusting the command, set the charging mode of the power adapter to the dynamic voltage regulation mode. Wherein, when the power adapter is in a dynamic voltage regulation mode, the rechargeable battery of the electronic device is in a constant voltage charging state, that is, the charging voltage value of the rechargeable battery remains substantially unchanged.
本发明实施例中,将充电过程分为两种充电模式:输出电压锁定模式和动态调压模式。在能够维持大电流充电的恒流区内,充电电池的功率需求较大,电子装置对充电效率敏感,也即是充电效率是电子装置充电时的重要需求因素,此时将电源适配器的充电模式设为输出电压锁定模式,即不允许电源适配器的输出电压V BUS频繁跳变,控制该输出电压V BUS保持不变,以使充电电池处于恒流充电状态,可使充电电池保持较为稳定的大的充电电流,缩短充电时间。随着充电电池的充电过程逐渐进入恒压区,无法维持较大的充电电流,充电电池的功率需求逐步下降,电子装置对充电效率不再敏感,也即是充电效率不再是电子装置充电时的重要需求因素,此时则由电子装置的充电管理芯片实时判断充电电池的功率需求,电子装置根据所判断出的功率需求控制电源适配器调整其输出电压值V BUS,即允许电源适配器的输出电压值V BUS频繁跳变,以使充 电电池处于恒压充电状态,可以使得电子装置工作于较低的能耗水平下,降低功率损耗。 In the embodiment of the present invention, the charging process is divided into two charging modes: an output voltage lock mode and a dynamic voltage regulation mode. In the constant current area capable of maintaining high current charging, the power demand of the rechargeable battery is large, and the electronic device is sensitive to the charging efficiency, that is, the charging efficiency is an important demand factor when the electronic device is charged. At this time, the charging mode of the power adapter is changed. Set to output voltage lock mode, that is, the output voltage V BUS of the power adapter is not allowed to jump frequently, and the output voltage V BUS is controlled to remain unchanged, so that the rechargeable battery is in a constant current charging state, which can keep the rechargeable battery stable and large. The charging current reduces the charging time. As the charging process of the rechargeable battery gradually enters the constant voltage zone, a larger charging current cannot be maintained, the power demand of the rechargeable battery gradually decreases, and the electronic device is no longer sensitive to the charging efficiency, that is, the charging efficiency is no longer when the electronic device is charged. In this case, the charge management chip of the electronic device determines the power demand of the rechargeable battery in real time. The electronic device controls the power adapter to adjust its output voltage value V BUS according to the determined power demand, that is, the output voltage of the power adapter is allowed. The value V BUS changes frequently so that the rechargeable battery is in a constant voltage charging state, which can make the electronic device work at a lower energy consumption level and reduce power loss.
本发明实施例中,在电子装置和电源适配器建立物理连接后,首先判断充电电池的充电电流值是否大于第一预设倍数的充电限流值,若是,则控制电源适配器进入输出电压锁定模式,若否,则控制电源适配器进入动态调压模式,其中,输出电压锁定模式下充电电池处于恒流充电状态,动态调压模式下充电电池处于恒压充电状态,从而可以降低充电过程中的功率损耗,有效提高充电效率。In the embodiment of the present invention, after the physical connection between the electronic device and the power adapter is established, it is first determined whether the charging current value of the rechargeable battery is greater than the first preset multiple of the charging current limit value, and if so, controlling the power adapter to enter the output voltage lock mode, If not, the power adapter is controlled to enter a dynamic voltage regulation mode, wherein the rechargeable battery is in a constant current charging state in the output voltage lock mode, and the rechargeable battery is in a constant voltage charging state in the dynamic voltage regulating mode, thereby reducing power loss during charging. , Effectively improve the charging efficiency.
请参阅图3,图3为本发明第二实施例提供的一种充电控制方法的流程图。本实施例中所描述的充电控制方法,包括:Please refer to FIG. 3, which is a flowchart of a charging control method according to a second embodiment of the present invention. The charging control method described in this embodiment includes:
步骤S301、电子装置在和电源适配器建立物理连接后,设定所述电源适配器的输出电压初始值。Step S301: After the electronic device establishes a physical connection with the power adapter, set the initial value of the output voltage of the power adapter.
步骤S302、所述电子装置获取所述充电电池的充电电压值,并根据所述充电电池的充电电压值设置所述充电电池的充电限流值。Step S302: The electronic device obtains a charging voltage value of the rechargeable battery, and sets a charging current limit value of the rechargeable battery according to the charging voltage value of the rechargeable battery.
步骤S303、所述电子装置判断所述充电电池的充电电流值是否大于第一预设倍数的充电限流值;若是,则执行步骤S304;若否,则执行步骤S311。Step S303: The electronic device determines whether the charging current value of the rechargeable battery is greater than a charging current limit value of a first preset multiple; if yes, step S304 is performed; if not, step S311 is performed.
需要说明的是,步骤S301至步骤S303的实现方式可参考前文描述,在此不再赘述。It should be noted that, for implementation manners of steps S301 to S303, reference may be made to the foregoing description, and details are not described herein again.
步骤S304、所述电子装置控制所述电源适配器进入输出电压锁定模式。Step S304: The electronic device controls the power adapter to enter an output voltage lock mode.
步骤S305、所述电子装置每隔预设时间间隔获取一次所述充电电池当前的充电电流值。Step S305: The electronic device acquires the current charging current value of the rechargeable battery at a preset time interval.
本发明实施例中,电子装置每隔预设时间间隔(例如10S),通过充电管理芯片获取一次充电电池当前的充电电流值I CHRGIn the embodiment of the present invention, the electronic device obtains the current charging current value I CHRG of the rechargeable battery once through a charge management chip at a preset time interval (for example, 10S).
步骤S306、所述电子装置判断所述充电电池当前的充电电流值是否大于所述第一预设倍数的充电限流值;若是,则返回步骤S305;若否,则执行步骤S307。Step S306: The electronic device determines whether the current value of the charging current of the rechargeable battery is greater than the charging current limit value of the first preset multiple; if yes, returns to step S305; if not, executes step S307.
本发明实施例中,当获取到的充电电池当前的充电电流值大于第一预设倍数的充电限流值时,例如,I CHRG>0.9*I CHRGLIM时,电子装置则返回执行步骤S305。当获取到的充电电池当前的充电电流值小于或等于第一预设倍数的充电 限流值时,例如,I CHRG≤0.9*I CHRGLIM时,电子装置则执行步骤S307。 In the embodiment of the present invention, when the current value of the charging current of the obtained rechargeable battery is greater than the charging current limit value of the first preset multiple, for example, when I CHRG > 0.9 * I CHRGLIM , the electronic device returns to execute step S305. When the obtained current value of the charging current of the rechargeable battery is less than or equal to the charging current limit value of the first preset multiple, for example, when I CHRG 0.9 * I CHRGLIM , the electronic device executes step S307.
步骤S307、所述电子装置判断所述电源适配器当前的输出电压值是否大于或等于所述电源适配器预设的输出电压阈值。若是,则执行步骤S311;若否,则执行步骤S308。Step S307: The electronic device determines whether the current output voltage value of the power adapter is greater than or equal to a preset output voltage threshold of the power adapter. If yes, go to step S311; if no, go to step S308.
其中,电源适配器预设的输出电压阈值可以是电源适配器的最大输出电压值,电源适配器的最大输出电压值与电源适配器的性能相关,可以从电源适配器的硬件参数中获取得到。The preset output voltage threshold of the power adapter can be the maximum output voltage value of the power adapter. The maximum output voltage value of the power adapter is related to the performance of the power adapter and can be obtained from the hardware parameters of the power adapter.
本发明实施例中,当判断得到充电电池当前的充电电流值小于或等于第一预设倍数的充电限流值时,电子装置向电源适配器发送输出电压获取指令,电源适配器接收到输出电压获取指令之后,将电源适配器当前的输出电压值发送给电子装置。电子装置接收到电源适配器当前的输出电压值之后,判断电源适配器当前的输出电压值是否大于或等于电源适配器预设的输出电压阈值;若电源适配器当前的输出电压值小于电源适配器预设的输出电压阈值,则执行步骤S308;若电源适配器当前的输出电压值大于或等于电源适配器预设的输出电压阈值,则表明充电电池难以保持恒流充电状态,电子装置将电源适配器的充电模式从输出电压锁定模式切换为动态调压模式,如此,电子装置执行步骤S311。In the embodiment of the present invention, when it is determined that the current value of the charging current of the rechargeable battery is less than or equal to the first preset multiple of the charging current limit value, the electronic device sends an output voltage acquisition instruction to the power adapter, and the power adapter receives the output voltage acquisition instruction After that, the current output voltage value of the power adapter is sent to the electronic device. After receiving the current output voltage value of the power adapter, the electronic device determines whether the current output voltage value of the power adapter is greater than or equal to the output voltage threshold value preset by the power adapter; if the current output voltage value of the power adapter is less than the output voltage preset by the power adapter Step S308; if the current output voltage value of the power adapter is greater than or equal to the output voltage threshold preset by the power adapter, it means that the rechargeable battery is difficult to maintain a constant current charging state, and the electronic device locks the charging mode of the power adapter from the output voltage The mode is switched to the dynamic voltage regulation mode. As such, the electronic device executes step S311.
步骤S308、所述电子装置控制所述电源适配器对所述电源适配器的输出电压进行增压调整。Step S308: The electronic device controls the power adapter to perform boost adjustment on the output voltage of the power adapter.
本发明实施例中,若电源适配器当前的输出电压值小于电源适配器预设的输出电压阈值,则进行增压尝试以保持原有充电电流,即使得充电电池保持恒流充电状态。具体地,电子装置向电源适配器发送增压指令,该增压指令携带输出电压增压值(例如 V),电源适配器接收到增压指令之后,将电源适配器的输出电压值V BUS增加 V,即将电源适配器的输出电压值调整为V BUS+ V。电子装置控制电源适配器对电源适配器的输出电压进行增压调整后,进入步骤S309; In the embodiment of the present invention, if the current output voltage value of the power adapter is less than the output voltage threshold preset by the power adapter, a boosting attempt is performed to maintain the original charging current, that is, to keep the rechargeable battery in a constant current charging state. Specifically, the electronic device sends a boosting instruction to the power adapter. The boosting instruction carries an output voltage boosting value (for example, ΔV ). After the power adapter receives the boosting instruction, it increases the output voltage value V BUS of the power adapter by Δ V , That is, the output voltage value of the power adapter is adjusted to V BUS + V. After the electronic device controls the power adapter to perform boost adjustment on the output voltage of the power adapter, it proceeds to step S309;
步骤S309、所述电子装置判断所述电源适配器增压调整后的输出电压值是否大于或等于所述电源适配器预设的输出电压阈值。若是,则执行步骤S310;若否,则执行步骤S310。Step S309: The electronic device determines whether the output voltage value after the boost adjustment of the power adapter is greater than or equal to a preset output voltage threshold of the power adapter. If yes, go to step S310; if no, go to step S310.
步骤S310、所述电子装置获取增压调整后的所述充电电池的充电电流值, 并判断增压调整后的所述充电电池的充电电流值是否大于所述第一预设倍数的充电限流值;若是,则返回步骤S305;若否,则执行步骤S311。Step S310: The electronic device obtains a charging current value of the rechargeable battery after the boost adjustment, and determines whether the charging current value of the rechargeable battery after the boost adjustment is greater than a charging current limit of the first preset multiple. Value; if yes, go back to step S305; if not, go to step S311.
本发明实施例中,当电子装置检测到电源适配器增压调整后的输出电压值小于电源适配器预设的输出电压阈值,且增压调整后的充电电池的充电电流值仍旧小于或等于第一预设倍数的充电限流值,则表明充电电池难以保持恒流充电状态,电子装置将电源适配器的充电模式从输出电压锁定模式切换为动态调压模式,如此,电子装置执行步骤S311。当电子装置检测到电源适配器增压调整后的输出电压值小于电源适配器预设的输出电压阈值,且增压调整后的充电电池的充电电流值大于第一预设倍数的充电限流值,则表明充电电池恒流充电状态保持成功,电子装置则返回步骤S305。In the embodiment of the present invention, when the electronic device detects that the output voltage value of the power adapter after the boost adjustment is less than the output voltage threshold preset by the power adapter, and the charging current value of the rechargeable battery after the boost adjustment is still less than or equal to the first Setting a multiple of the charging current limit value indicates that it is difficult for the rechargeable battery to maintain a constant current charging state. The electronic device switches the charging mode of the power adapter from the output voltage lock mode to the dynamic voltage regulation mode. Thus, the electronic device executes step S311. When the electronic device detects that the output voltage value after the boost adjustment of the power adapter is smaller than a preset output voltage threshold value of the power adapter, and the charging current value of the rechargeable battery after the boost adjustment is greater than the first current limit charging limit value, It indicates that the constant current charging state of the rechargeable battery is successfully maintained, and the electronic device returns to step S305.
在一实施方式中,电子装置控制电源适配器对电源适配器的输出电压进行一次增压调整后,如果电子装置检测到电源适配器增压调整后的输出电压值小于电源适配器预设的输出电压阈值,且增压调整后的充电电池的充电电流值仍旧小于或等于第一预设倍数的充电限流值,则控制电源适配器对电源适配器的输出电压进行第二次增压调整,即将电源适配器的输出电压值调整为V BUS+2* V。电子装置对电源适配器的输出电压进行第二次增压调整后,执行步骤S309和步骤S310。当在进行第二次增压调整之后,充电电流值仍小于或等于第一预设倍数的充电限流值时,则表明充电电池将由恒流充电状态进入恒压充电状态。 In an embodiment, after the electronic device controls the power adapter to perform a boost adjustment on the output voltage of the power adapter, if the electronic device detects that the output voltage value of the power adapter after the boost adjustment is less than a preset output voltage threshold of the power adapter, and The charge current value of the rechargeable battery after the boost adjustment is still less than or equal to the first preset multiple of the charging current limit value, then the power adapter is controlled to perform a second boost adjustment on the output voltage of the power adapter, that is, the output voltage of the power adapter The value is adjusted to V BUS + 2 * V. After the electronic device performs the second boosting adjustment on the output voltage of the power adapter, steps S309 and S310 are performed. When the charging current value is still less than or equal to the charging current limit value of the first preset multiple after the second boosting adjustment, it indicates that the rechargeable battery will enter the constant voltage charging state from the constant current charging state.
步骤S311、所述电子装置控制所述电源适配器进入动态调压模式。Step S311: The electronic device controls the power adapter to enter a dynamic voltage regulation mode.
步骤S312、所述电子装置获取所述电源适配器当前的输出电压值,并将所述电源适配器当前的输出电压值与预设的所述电源适配器的输出电压值进行比较,并判断所述当前的输出电压值与所述预设的输出电压值之间的差值是否大于预设电压差值;若是,则执行步骤S313;若否,则执行步骤S314。Step S312: The electronic device obtains a current output voltage value of the power adapter, compares the current output voltage value of the power adapter with a preset output voltage value of the power adapter, and determines the current Whether the difference between the output voltage value and the preset output voltage value is greater than the preset voltage difference; if yes, step S313 is performed; if not, step S314 is performed.
本发明实施例中,在将电源适配器的充电模式设为或者切换为动态调压模式后,电子装置向电源适配器发送输出电压获取指令,电源适配器接收到输出电压获取指令之后,将电源适配器当前的输出电压值发送给电子装置。电子装置接收到电源适配器当前的输出电压值之后,将电源适配器当前的输出电压值与预设的电源适配器的输出电压值进行比较,其中,电源适配器预设的输出电 压值可以是设定的电源适配器的输出电压初始值。In the embodiment of the present invention, after the charging mode of the power adapter is set to or switched to the dynamic voltage regulation mode, the electronic device sends an output voltage acquisition instruction to the power adapter, and after the power adapter receives the output voltage acquisition instruction, it changes the current The output voltage value is sent to the electronic device. After receiving the current output voltage value of the power adapter, the electronic device compares the current output voltage value of the power adapter with a preset output voltage value of the power adapter, where the preset output voltage value of the power adapter can be a set power source The initial output voltage of the adapter.
步骤S313、所述电子装置控制所述电源适配器对所述电源适配器的输出电压进行降压调整。Step S313: The electronic device controls the power adapter to perform step-down adjustment on the output voltage of the power adapter.
本发明实施例中,当电源适配器预设的输出电压值与电源适配器当前的输出电压值之间的差值的绝对值大于预设电压差值(例如V TH),则说明负载太大,输入功率无法满足充电电池的需求,此时,需要对电源适配器的输出电压进行降压调整。具体地,电子装置向电源适配器发送降压调整指令,该降压调整指令携带输出电压降压值(例如 V1),电源适配器接收到降压调整指令之后,将电源适配器的输出电压值V BUS降低 V1,即将电源适配器的输出电压值调整为V BUS- V1,以满足充电电池的功率需求,并使得充电电池保持在恒压充电状态。 In the embodiment of the present invention, when the absolute value of the difference between the preset output voltage value of the power adapter and the current output voltage value of the power adapter is greater than the preset voltage difference (for example, V TH ), it means that the load is too large, and the input The power cannot meet the requirements of the rechargeable battery. At this time, the output voltage of the power adapter needs to be adjusted by step-down. Specifically, after the electronic device transmits the adjustment instruction to the step-down power adapter, carrying the buck output voltage of the buck adjustment command value (e.g., V1), the power adapter receives a command buck regulator, the output voltage value V BUS power adapter Decrease V1, that is, adjust the output voltage value of the power adapter to V BUS- V1 to meet the power demand of the rechargeable battery and keep the rechargeable battery in a constant voltage charging state.
步骤S314、所述电子装置控制所述电源适配器对所述电源适配器的输出电压进行增压调整。Step S314: The electronic device controls the power adapter to perform boost adjustment on the output voltage of the power adapter.
本发明实施例中,当电源适配器预设的输出电压值与电源适配器当前的输出电压值之间的差值的绝对值小于或等于预设电压差值V TH,则表明电源适配器当前的输出电压不足以支撑对充电电池充电的需求,故此,需对电源适配器的输出电压进行增压调整。具体地,电子装置向电源适配器发送增压调整指令,该增压调整指令携带输出电压增压值(例如 V2),电源适配器接收到增压调整指令之后,将电源适配器的输出电压值V BUS增加 V2,即将电源适配器的输出电压值调整为V BUS+ V2,以使得充电电池保持在恒压充电状态。需要说明的是, V1和 V2的值可以相同,也可以不同。 In the embodiment of the present invention, when the absolute value of the difference between the preset output voltage value of the power adapter and the current output voltage value of the power adapter is less than or equal to the preset voltage difference V TH , it indicates the current output voltage of the power adapter. It is not enough to support the demand for charging the rechargeable battery. Therefore, the output voltage of the power adapter needs to be adjusted by boosting. Specifically, after the electronic device transmits the adjustment instruction to boost the power adapter, carrying the boost output voltage boost adjustment command value (e.g., V2), the power adapter receives a command to adjust the pressurization, the output voltage value V BUS power adapter Increase V2, that is, adjust the output voltage value of the power adapter to V BUS + V2 to keep the rechargeable battery in a constant voltage charging state. Incidentally, the value of V1 and V2 may be the same or different.
在一实施方式中,电子装置在对电源适配器的输出电压进行一次或者多次降压调整之后,或者,在对电源适配器的输出电压进行一次或者多次增压调整之后,也即是说,电子装置执行完步骤S313或者执行完步骤S314之后,电子装置返回执行步骤S302。直至充电电池充电完成,整个流程结束。采用上述方式可以将充电电池的充电周期分为若干个阶段,每个阶段设置不同的充电电流限流I CHRGLIM,不同的充电电流限流I CHRGLIM会相应地改变电源适配器的输出电压V BUS的锁定条件,也即是说,相应地改变将电源适配器的充电模式设为输出电压锁定模式还是设为动态调压模式的条件。通过本发明实施例可以有效地降低 充电线缆阻抗造成的功率损耗,可以进行功率限制以及优化充电效率,还可以降低充电过程中元器件的温升,从而延长电子装置以及电源适配器的使用寿命。 In an embodiment, after the electronic device performs one or more step-down adjustments on the output voltage of the power adapter, or after one or more step-up adjustments on the output voltage of the power adapter, that is, the electronic device After the device performs step S313 or step S314, the electronic device returns to step S302. Until the charging of the rechargeable battery is complete, the entire process ends. The above method can be used to divide the charging cycle of the rechargeable battery into several stages. Each stage is set with different charging current limit I CHRGLIM . Different charging current limit I CHRGLIM will change the output voltage of the power adapter V BUS lock accordingly The conditions, that is, the conditions for setting the charging mode of the power adapter to the output voltage lock mode or the dynamic voltage regulation mode are changed accordingly. The embodiments of the present invention can effectively reduce the power loss caused by the impedance of the charging cable, can limit the power and optimize the charging efficiency, and can also reduce the temperature rise of components during charging, thereby extending the service life of the electronic device and the power adapter.
需要说明的是,电子装置与电源适配器之间也可以通过无线连接的方式进行充电连接和通信连接;上述电源适配器的输出电压值也可以替换为电子装置的输入电压值,在充电过程中的具体充电控制方法可参考上述描述,在此不再赘述。It should be noted that the electronic device and the power adapter can also be connected for charging and communication by wireless connection; the output voltage value of the power adapter can also be replaced by the input voltage value of the electronic device. For the charging control method, reference may be made to the above description, and details are not described herein again.
本发明实施例中,在电子装置和电源适配器建立物理连接后,首先判断充电电池的充电电流值是否大于第一预设倍数的充电限流值,若是,则控制电源适配器进入输出电压锁定模式,若否,则控制电源适配器进入动态调压模式,其中,输出电压锁定模式下充电电池处于恒流充电状态,动态调压模式下充电电池处于恒压充电状态,从而可以降低充电过程中的功率损耗,有效提高充电效率。In the embodiment of the present invention, after the physical connection between the electronic device and the power adapter is established, it is first determined whether the charging current value of the rechargeable battery is greater than the first preset multiple of the charging current limit value, and if so, controlling the power adapter to enter the output voltage lock mode, If not, the power adapter is controlled to enter a dynamic voltage regulation mode, wherein the rechargeable battery is in a constant current charging state in the output voltage lock mode, and the rechargeable battery is in a constant voltage charging state in the dynamic voltage regulating mode, thereby reducing power loss during charging. , Effectively improve the charging efficiency.
电子装置在将电源适配器的充电模式设为输出电压锁定模式之后,在锁定电源适配器的输出电压值V BUS之前,电子装置首先确定效率最优工作点,也即是确定充电过程中充电效率最高时对应的目标输出电压值。请参见图4,在另一实施方式所提供的充电控制方法较之图3所示的方法在步骤S304之后、步骤305之前还包括以下步骤: After the electronic device sets the charging mode of the power adapter to the output voltage lock mode, before the output voltage value V BUS of the power adapter is locked, the electronic device first determines the optimal operating point, that is, when the charging efficiency is the highest during the charging process. Corresponding target output voltage value. Referring to FIG. 4, compared to the method shown in FIG. 3, the charging control method provided in another embodiment further includes the following steps after step S304 and before step 305:
步骤S3041、电子装置控制所述电源适配器调整所述电源适配器的输出电压值,以使所述充电电池的充电电流值处于所述第一预设倍数的充电限流值和第二预设倍数的充电限流值之间。Step S3041, the electronic device controls the power adapter to adjust the output voltage value of the power adapter so that the charging current value of the rechargeable battery is within the first preset multiple of the charging current limit value and the second preset multiple. Charging current limit value.
本发明实施例中,第二预设倍数大于第一预设倍数,第二预设倍数例如可以是1.1,第一预设倍数例如可以是0.9。电子装置通过控制电源适配器逐步增加电源适配器的输出电压值,将充电电池的充电电流值从第一预设倍数的充电限流值逐步增加至第二预设倍数的充电限流值。例如将充电电池的充电电流值从0.9*I CHRGLIM逐步增加至1.1*I CHRGLIMIn the embodiment of the present invention, the second preset multiple is greater than the first preset multiple. The second preset multiple may be, for example, 1.1, and the first preset multiple may be, for example, 0.9. The electronic device gradually increases the output voltage value of the power adapter by controlling the power adapter to gradually increase the charging current value of the rechargeable battery from the charging current limit value of the first preset multiple to the charging current limit value of the second preset multiple. For example, the charging current value of the rechargeable battery is gradually increased from 0.9 * I CHRGLIM to 1.1 * I CHRGLIM .
步骤S3042、所述电子装置在调整所述电源适配器的输出电压值的过程中,计算所述充电电池的不同充电电流值所对应的转换效率值,并将转换效率值的 最大值所对应的电源适配器的输出电压值确定为目标输出电压值。Step S3042, in the process of adjusting the output voltage value of the power adapter, the electronic device calculates conversion efficiency values corresponding to different charging current values of the rechargeable battery, and sets the power source corresponding to the maximum conversion efficiency value The output voltage value of the adapter is determined as the target output voltage value.
本发明实施例中,电子装置在控制电源适配器调整输出电压值的过程中,计算调整过程中所有充电电流值所对应的转换效率,将转换效率最大值所对应的充电电流值和输出电压值确定为效率最优工作点,并将转换效率最大值所对应的电源适配器的输出电压值确定为目标输出电压值。其中,转换效率等于充电电池获取的功率除以电源适配器输出的功率,计算公式为:In the embodiment of the present invention, in the process of controlling the power adapter to adjust the output voltage value, the electronic device calculates the conversion efficiency corresponding to all the charging current values during the adjustment process, and determines the charging current value and the output voltage value corresponding to the maximum conversion efficiency. It is the optimal operating point of efficiency, and the output voltage value of the power adapter corresponding to the maximum conversion efficiency is determined as the target output voltage value. Among them, the conversion efficiency is equal to the power obtained by the rechargeable battery divided by the power output by the power adapter. The calculation formula is:
Figure PCTCN2018108181-appb-000001
Figure PCTCN2018108181-appb-000001
如公式(1)所示,η为转换效率值,为一个比值;V BAT和I CHRG分别为充电电池的充电电压值和充电电流值;V BUS和I IN分别为电源适配器的输出电压值和输出电流值。需要说明的是,公式(1)可以根据充电线缆的阻抗值进行优化。 As shown in formula (1), η is the conversion efficiency value, which is a ratio; V BAT and I CHRG are the charging voltage value and charging current value of the rechargeable battery; V BUS and I IN are the output voltage value and Output current value. It should be noted that formula (1) can be optimized according to the impedance value of the charging cable.
请一并参阅图5,图5为本发明实施例提供的一种确定效率最优点的方法的流程图,如图5所示,假设第一预设倍数为0.9,第二预设倍数为1.1,充电电池的充电限流值为I CHRGLIM,电源适配器的输出电压值为V BUS。首先,电子装置获取充电电池的充电电流值I CHRG0,判断I CHRG0是否小于等于1.1*I CHRGLIM;若否,则控制电源适配器将电源适配器的输出电压V BUS降低 V3,并再次获取降压调整后的充电电池的充电电流值;若是,则将效率较高点输出电压值V η设置为充电电流值I CHRG0所对应的输出电压值V BUS。然后,电子装置控制电源适配器将电源适配器的输出电压值V BUS增加 V4,获取增压调整后的充电电池的充电电流值I CHRG1,并判断I CHRG1是否小于等于1.1*I CHRGLIM;若否,则将效率最高点输出电压值V ηmax设置为V η,也即是将V ηmax设置为I CHRG0所对应的输出电压值,并结束此次流程,其中,效率最高点输出电压值V ηmax即为目标输出电压值;若是,则判断充电电流值I CHRG0所对应的转换效率相对充电电流值I CHRG1所对应的转换效率是否上升。若充电电流值I CHRG0所对应的转换效率相对充电电流值I CHRG1所对应的转换效率没有上升,则记录I CHRG0所对应的输出电压值V BUS为效率较高点输出电压值V η,并执行将效率较高点输出电压值V η设置为充电电流值I CHRG0所对应的输出电压值的步骤及后续步骤;若充电电流值I CHRG0所对应的 转换效率相对充电电流值I CHRG1所对应的转换效率有所上升,则记录I CHRG1所对应的输出电压值V BUS为效率较高点输出电压值V η,并执行将效率较高点输出电压值V η设置为充电电流值I CHRG1所对应的输出电压值的步骤及后续步骤。需要说明的是, V3和 V4的值可以相同,也可以不同;在上述过程中,应保持充电电池的充电电流值大于0.9*I CHRGLIMPlease refer to FIG. 5 together. FIG. 5 is a flowchart of a method for determining the most advantageous efficiency according to an embodiment of the present invention. As shown in FIG. 5, it is assumed that the first preset multiple is 0.9 and the second preset multiple is 1.1. The charging current limit value of the rechargeable battery is I CHRGLIM , and the output voltage value of the power adapter is V BUS . First, the electronic device obtains the charging current value I CHRG0 of the rechargeable battery, and judges whether I CHRG0 is less than or equal to 1.1 * I CHRGLIM ; if not, the power adapter is controlled to reduce the output voltage V BUS of the power adapter by Δ V3, and obtain the step-down adjustment again The charging current value of the subsequent rechargeable battery; if it is, the output voltage value V η at the higher efficiency point is set to the output voltage value V BUS corresponding to the charging current value I CHRG0 . Then, the electronic device controls the power adapter to increase the output voltage value V BUS of the power adapter by Δ V4 to obtain the charging current value I CHRG1 of the rechargeable battery after the boost adjustment and determine whether I CHRG1 is less than or equal to 1.1 * I CHRGLIM ; if not, Then the output voltage value V ηmax at the highest efficiency point is set to V η , that is, V ηmax is set to the output voltage value corresponding to I CHRG0 , and this process is ended, where the output voltage value V ηmax at the highest efficiency point is The target output voltage value; if it is, it is determined whether the conversion efficiency corresponding to the charging current value I CHRG0 is higher than the conversion efficiency corresponding to the charging current value I CHRG1 . If the charging current value I CHRG0 conversion efficiency corresponding to the relative value of the charging current I CHRG1 corresponding conversion efficiency is not increased, the recording I CHRG0 corresponding to the output voltage value V BUS higher efficiency point output voltage V η, and performs the high efficiency of the output voltage value V η point setting step and the subsequent steps is the charging current value I CHRG0 corresponding to an output voltage value; when the charging current value I CHRG0 conversion efficiency corresponding to the relative value of the charging current corresponding to the converted I CHRG1 If the efficiency has increased, record the output voltage value V BUS corresponding to I CHRG1 as the output voltage value V η at the higher efficiency point, and execute setting the output voltage value V η at the higher efficiency point to the charging current value I CHRG1 . Steps and subsequent steps for outputting voltage values. Incidentally, the value of V4 V3 and may be the same or different; In the above process, the charging current should remain larger than the value of the charging of the battery is 0.9 * I CHRGLIM.
步骤S3043、所述电子装置控制所述电源适配器将所述电源适配器的输出电压值调整为所述目标输出电压值。Step S3043: The electronic device controls the power adapter to adjust an output voltage value of the power adapter to the target output voltage value.
本发明实施例中,电子装置在确定出目标输出电压值之后,向电源适配器发送电压调整指令,电压调整指令携带该目标输出电压值;电源适配器接收到电压调整指令之后,将电源适配器的输出电压值调整为目标输出电压值。在电源适配器的充电模式为输出电压锁定模式时,电源适配器控制输出电压值保持为目标输出电压值或者在较小的范围内变化,也即是说,将电源适配器的输出电压值锁定在目标输出电压值。In the embodiment of the present invention, after determining the target output voltage value, the electronic device sends a voltage adjustment instruction to the power adapter, and the voltage adjustment instruction carries the target output voltage value; after the power adapter receives the voltage adjustment instruction, it sends the output voltage of the power adapter The value is adjusted to the target output voltage value. When the charging mode of the power adapter is the output voltage lock mode, the power adapter controls the output voltage value to stay at the target output voltage value or change within a small range, that is, to lock the output voltage value of the power adapter at the target output Voltage value.
本发明实施例中,在将电源适配器的充电模式设为输出电压锁定模式之后,将电源适配器的输出电压值调整为转换效率最大值所对应的目标输出电压值,可以在保持较大充电电流的前提下,在一定区间内选择转换效率最优的电压点对充电电池进行持续充电,对于充电功率需求较高的恒流充电阶段来说,保持较高的充电效率可以明显降低元器件的发热量,且可以提升充电电池的充电速度,缩短充电时间。In the embodiment of the present invention, after the charging mode of the power adapter is set to the output voltage lock mode, the output voltage value of the power adapter is adjusted to the target output voltage value corresponding to the maximum conversion efficiency, which can maintain a large charging current. Under the premise, the voltage point with the best conversion efficiency is selected to continuously charge the rechargeable battery in a certain interval. For a constant current charging stage with a high demand for charging power, maintaining a high charging efficiency can significantly reduce the component's heat generation. , And can increase the charging speed of the rechargeable battery and shorten the charging time.
在一实施方式中,电子装置在对电源适配器的输出电压进行增压或者降压调整之后,首先进行电压变化校验。具体地,请一并参见图6,图6为本发明实施例提供的一种电压变化校验方法的流程图,如图6所示:每一次对电源适配器的输出电压进行增加或者减少调整 V5(例如0.2V)之后,电子装置获取电源适配器当前的实际输出电压值V BUS1,并将V BUS1与输出电压调整之前获取到的电源适配器的实际输出电压值V BUS2进行比较;如果 V6=|V BUS1-V BUS2|在预设电压变化区间(例如(0.1V,0.3V))内,也即是0.1V< V6<0.3V,则视为符合要求,电压变化校验通过,可以进行后续的步骤以及下一次的电压变化操作。 In one embodiment, the electronic device first performs a voltage change verification after the output voltage of the power adapter is increased or decreased. Specifically, please refer to FIG. 6 together. FIG. 6 is a flowchart of a voltage change verification method according to an embodiment of the present invention. As shown in FIG. 6: each time the output voltage of the power adapter is adjusted to increase or decrease After V5 (for example, 0.2V), the electronic device obtains the current actual output voltage value V BUS1 of the power adapter and compares V BUS1 with the actual output voltage value V BUS2 of the power adapter obtained before the output voltage adjustment; if V6 = | V BUS1 -V BUS2 | Within a preset voltage change interval (for example, (0.1V, 0.3V)), that is, 0.1V < V6 <0.3V, it is deemed to meet the requirements, and the voltage change verification is passed. Perform the next steps and the next voltage change operation.
进一步地,如果 V6=|V BUS1-V BUS2|在预设电压变化区间(例如(0.1V, 0.3V))外,也即是 V6≥0.3V或者 V6≤0.1V,则电压变化校验未通过,校验失败,此时,需隔预设时间间隔后重新获取电源适配器当前的实际输出电压值来计算 V6的值,以进行再次校验,校验方式可参考上述描述,在此不再赘述。若电压变化校验失败连续超过预设次数(例如5次),则确定校验失败并结束校验流程;此时,电子装置确定电子装置或者电源适配器在充电过程中发生故障,并断开充电通路以对充电电池停止充电。进一步地,电子装置输出提示信息,该提示信息用于提示用户充电过程发生故障,以便于用户断开电源适配器与电子装置的连接,从而避免损坏电源适配器或者电子装置。 Further, if △ V6 = | V BUS1 -V BUS2 | voltage change in a predetermined interval (e.g. (0.1V, 0.3V)) outside, that is, △ V6≥0.3V or △ V6≤0.1V, the voltage variation If the verification fails, the verification fails. At this time, the current actual output voltage value of the power adapter needs to be obtained after a preset time interval to calculate the value of V6 for re-verification. For the verification method, refer to the above description. I will not repeat them here. If the voltage change verification fails for more than a preset number of times (for example, 5 times), it is determined that the verification fails and the verification process ends; at this time, the electronic device determines that the electronic device or the power adapter has failed during the charging process and disconnects the charging To stop charging the rechargeable battery. Further, the electronic device outputs prompt information, which is used to prompt the user that a failure occurs during the charging process, so that the user can disconnect the power adapter from the electronic device, thereby avoiding damage to the power adapter or the electronic device.
本发明实施例提供的充电控制方法,针对充电电池在不同充电阶段,对充电功率的需求不同的特点,设置了两种充电模式。输出电压锁定模式可以避免电源适配器的输出电压在整个充电周期内频繁跳变,输出电压锁定模式主要工作在充电电流较大的恒流区,可以使得充电电池保持较为稳定的大的充电电流。在输出电压锁定模式下,进行效率最优点的选择,不仅可以延长充电电池的使用寿命,还可以提升充电电池的充电效率,从而缩短充电时间。动态调压模式主要工作于恒压区,由于恒压区内充电电池的充电电流持续下降,电源适配器的输出电压的跳变对充电电流的影响已可忽略,在动态调压模式下,电源适配器的输出电压可以跳变,以满足充电电池的功率需求,可以使得充电电池保持在恒压充电阶段内,可以使得电子装置工作于较低的能耗水平下,降低功率损耗。According to the charging control method provided by the embodiment of the present invention, two charging modes are set according to the characteristics of different requirements of the charging power of the rechargeable battery in different charging stages. The output voltage lock mode can avoid frequent jump of the output voltage of the power adapter during the entire charging cycle. The output voltage lock mode mainly works in the constant current region with a large charging current, which can make the rechargeable battery maintain a relatively large and stable charging current. In the output voltage lock mode, the selection of the most efficient efficiency can not only extend the service life of the rechargeable battery, but also improve the charging efficiency of the rechargeable battery, thereby shortening the charging time. The dynamic voltage regulation mode mainly works in the constant voltage region. As the charging current of the rechargeable battery in the constant voltage region continues to drop, the impact of the output voltage jump of the power adapter on the charging current can be ignored. In the dynamic voltage regulation mode, the power adapter The output voltage can be changed to meet the power requirements of the rechargeable battery, which can keep the rechargeable battery in the constant voltage charging stage, which can make the electronic device work at a lower energy consumption level, and reduce power loss.
其中,由于本发明实施的充电控制方法可以提高充电效率,有效控制元器件的温升,所以电子装置可以支持更大的充电电流,从而可以进一步提升充电速度。另外,本发明实施例提供的电压变化校验功能,可使得电子装置自动跳出异常工作状态,并可支持用户自定义电压变化校验失败后的操作,从而提升了充电过程中的安全性与稳健性。Among them, since the charging control method implemented by the present invention can improve the charging efficiency and effectively control the temperature rise of components, the electronic device can support a larger charging current, thereby further improving the charging speed. In addition, the voltage change verification function provided by the embodiment of the present invention can make the electronic device automatically jump out of the abnormal working state, and can support user-defined operation after failure of the voltage change verification, thereby improving the safety and robustness during the charging process. Sex.
请参阅图7,图7为本发明实施例提供的一种电子装置的结构示意图。本发明实施例中所描述的电子装置通过充电线缆与电源适配器相连,包括处理器701、充电电池702和充电管理芯片703:Please refer to FIG. 7, which is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device described in the embodiment of the present invention is connected to a power adapter through a charging cable, and includes a processor 701, a rechargeable battery 702, and a charge management chip 703:
其中,所述处理器701用于:The processor 701 is configured to:
在所述电子装置和所述电源适配器建立物理连接后,判断所述充电电池702的充电电流值是否大于第一预设倍数的充电限流值;After the electronic device and the power adapter establish a physical connection, determine whether a charging current value of the rechargeable battery 702 is greater than a charging current limit value of a first preset multiple;
当所述充电电池702的充电电流值大于所述第一预设倍数的充电限流值时,控制所述电源适配器进入输出电压锁定模式,其中,当所述电源适配器处于所述输出电压锁定模式时,所述电子装置的充电电池702处于恒流充电状态;When the charging current value of the rechargeable battery 702 is greater than the charging current limit value of the first preset multiple, controlling the power adapter to enter an output voltage lock mode, wherein when the power adapter is in the output voltage lock mode When the rechargeable battery 702 of the electronic device is in a constant current charging state;
当所述充电电池702的充电电流值小于或等于所述第一预设倍数的充电限流值时,控制所述电源适配器进入动态调压模式,其中,当所述电源适配器处于所述动态调压模式时,所述电子装置的充电电池702处于恒压充电状态。When the charging current value of the rechargeable battery 702 is less than or equal to the charging current limiting value of the first preset multiple, the power adapter is controlled to enter a dynamic voltage regulation mode, wherein when the power adapter is in the dynamic voltage regulation In the voltage mode, the rechargeable battery 702 of the electronic device is in a constant voltage charging state.
在一实施方式中,所述处理器701控制所述电源适配器进入输出电压锁定模式之后,所述处理器701还用于:In an embodiment, after the processor 701 controls the power adapter to enter the output voltage lock mode, the processor 701 is further configured to:
每隔预设时间间隔获取一次所述充电电池702当前的充电电流值,并判断所述充电电池702当前的充电电流值是否大于所述第一预设倍数的充电限流值;Acquiring the current charging current value of the rechargeable battery 702 every predetermined time interval, and determining whether the current charging current value of the rechargeable battery 702 is greater than the charging current limit value of the first preset multiple;
当所述充电电池702当前的充电电流值小于或等于所述第一预设倍数的充电限流值时,获取所述电源适配器当前的输出电压值;When the current charging current value of the rechargeable battery 702 is less than or equal to the charging current limit value of the first preset multiple, obtaining the current output voltage value of the power adapter;
判断所述电源适配器当前的输出电压值是否大于或等于所述电源适配器预设的输出电压阈值;Determining whether the current output voltage value of the power adapter is greater than or equal to a preset output voltage threshold of the power adapter;
当所述电源适配器当前的输出电压值小于所述电源适配器预设的输出电压阈值时,控制所述电源适配器对所述电源适配器的输出电压进行增压调整。When the current output voltage value of the power adapter is less than a preset output voltage threshold of the power adapter, the power adapter is controlled to perform boost adjustment on the output voltage of the power adapter.
在一实施方式中,所述处理器701还用于:In an implementation manner, the processor 701 is further configured to:
当所述电源适配器当前的输出电压值大于或等于所述电源适配器预设的输出电压阈值时,将所述电源适配器从所述输出电压锁定模式切换为所述动态调压模式。When the current output voltage value of the power adapter is greater than or equal to a preset output voltage threshold of the power adapter, the power adapter is switched from the output voltage lock mode to the dynamic voltage regulation mode.
在一实施方式中,所述处理器701判断所述充电电池702的充电电流值是否大于第一预设倍数的充电限流值之前,所述处理器701还用于:In an embodiment, before the processor 701 determines whether the charging current value of the rechargeable battery 702 is greater than a charging current limit value of a first preset multiple, the processor 701 is further configured to:
获取所述充电电池702的充电电压值,并根据所述充电电池702的充电电压值设置所述充电电池702的充电限流值。Acquire a charging voltage value of the rechargeable battery 702, and set a charging current limit value of the rechargeable battery 702 according to the charging voltage value of the rechargeable battery 702.
在一实施方式中,所述处理器701控制所述电源适配器进入动态调压模式之后,所述处理器701还用于:In an embodiment, after the processor 701 controls the power adapter to enter a dynamic voltage regulation mode, the processor 701 is further configured to:
获取所述电源适配器当前的输出电压值,并将所述电源适配器当前的输出电压值与预设的所述电源适配器的输出电压值进行比较,并判断所述当前的输出电压值与所述预设的输出电压值之间的差值是否大于预设电压差值;Obtaining the current output voltage value of the power adapter, comparing the current output voltage value of the power adapter with a preset output voltage value of the power adapter, and determining that the current output voltage value is in Whether the difference between the set output voltage values is greater than a preset voltage difference;
当所述当前的输出电压值与所述预设的输出电压值之间的差值大于所述预设电压差值时,控制所述电源适配器对所述电源适配器的输出电压进行降压调整;或者When the difference between the current output voltage value and the preset output voltage value is greater than the preset voltage difference, controlling the power adapter to perform step-down adjustment on the output voltage of the power adapter; or
当所述当前的输出电压值与所述预设的输出电压值之间的差值小于或等于所述预设电压差值时,控制所述电源适配器对所述电源适配器的输出电压进行增压调整。When the difference between the current output voltage value and the preset output voltage value is less than or equal to the preset voltage difference value, controlling the power adapter to boost the output voltage of the power adapter Adjustment.
在一实施方式中,所述处理器701控制所述电源适配器进入输出电压锁定模式之后,所述处理器701还用于:In an embodiment, after the processor 701 controls the power adapter to enter the output voltage lock mode, the processor 701 is further configured to:
控制所述电源适配器调整所述电源适配器的输出电压值,以使所述充电电池702的充电电流值处于所述第一预设倍数的充电限流值和第二预设倍数的充电限流值之间,所述第二预设倍数大于所述第一预设倍数;Controlling the power adapter to adjust the output voltage value of the power adapter so that the charging current value of the rechargeable battery 702 is at the charging current limit value of the first preset multiple and the charging current limit value of the second preset multiple Between, the second preset multiple is greater than the first preset multiple;
在调整所述电源适配器的输出电压值的过程中,计算所述充电电池702的不同充电电流值所对应的转换效率值,并将转换效率值的最大值所对应的电源适配器的输出电压值确定为目标输出电压值;In the process of adjusting the output voltage value of the power adapter, calculate conversion efficiency values corresponding to different charging current values of the rechargeable battery 702, and determine the output voltage value of the power adapter corresponding to the maximum value of the conversion efficiency value. Is the target output voltage value;
控制所述电源适配器将所述电源适配器的输出电压值调整为所述目标输出电压值。Controlling the power adapter to adjust an output voltage value of the power adapter to the target output voltage value.
具体实现中,本发明实施例中所描述的处理器701、充电电池702和充电管理芯片703可执行本发明实施例提供的一种充电控制方法中所描述的电子装置的实现方式,在此不再赘述。In specific implementation, the processor 701, the rechargeable battery 702, and the charge management chip 703 described in the embodiment of the present invention may implement the implementation manner of the electronic device described in a charging control method provided by the embodiment of the present invention. More details.
本发明实施例中,本发明实施例中,在电子装置和电源适配器建立物理连接后,处理器701首先判断充电电池702的充电电流值是否大于第一预设倍数的充电限流值,若是,则控制电源适配器进入输出电压锁定模式,若否,则控制电源适配器进入动态调压模式,其中,输出电压锁定模式下充电电池702处于恒流充电状态,动态调压模式下充电电池702处于恒压充电状态,从而可以降低充电过程中的功率损耗,有效提高充电效率。In the embodiment of the present invention, after the physical connection is established between the electronic device and the power adapter in the embodiment of the present invention, the processor 701 first determines whether the charging current value of the rechargeable battery 702 is greater than the charging current limit value of the first preset multiple. The power adapter is controlled to enter the output voltage lock mode. If not, the power adapter is controlled to enter the dynamic voltage regulation mode. Among them, the rechargeable battery 702 is in a constant current charging state in the output voltage locking mode, and the rechargeable battery 702 is in a constant voltage in the dynamic voltage regulation mode. Charging status, which can reduce power loss during charging and effectively improve charging efficiency.
本发明还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述方法实施例所述的充电控制方法。The present invention also provides a computer-readable storage medium. The computer-readable storage medium stores instructions that, when run on a computer, cause the computer to execute the charging control method according to the foregoing method embodiment.
本发明还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述方法实施例所述的充电控制方法。The invention also provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the charging control method described in the above method embodiment.
本发明还提供一种终端,包括处理器、输入设备、输出设备、通信接口和存储器,所述处理器、所述输入设备、所述输出设备、所述通信接口和所述存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行上述方法实施例所述的充电控制方法。The present invention also provides a terminal, including a processor, an input device, an output device, a communication interface, and a memory, and the processor, the input device, the output device, the communication interface, and the memory are connected to each other, where The memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the charging control method according to the foregoing method embodiment.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all described as a series of action combinations. However, those skilled in the art should know that the present invention is not limited by the described action sequence. Because according to the present invention, some steps may be performed in another order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
本发明实施例方法中的步骤可根据实际需要进行顺序调整、合并和删减。本发明实施例电子装置中的元器件可根据实际需要进行合并、划分和删减。The steps in the method of the embodiment of the present invention can be adjusted, combined, and deleted according to actual needs. The components in the electronic device according to the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps in the various methods of the foregoing embodiments may be implemented by a program instructing related hardware. The program may be stored in a computer-readable storage medium. The storage medium may include: Flash disk, Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk or optical disk, etc.
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。What has been disclosed above is only a preferred embodiment of the present invention, and of course, the scope of rights of the present invention cannot be limited by this. Those of ordinary skill in the art can understand all or part of the process of implementing the above embodiments and follow the rights of the present invention. Equivalent changes required are still within the scope of the invention.

Claims (13)

  1. 一种充电控制方法,应用于电子装置,所述电子装置通过充电线缆与电源适配器相连,所述电子装置包括充电电池,其特征在于,所述方法包括:A charging control method is applied to an electronic device, the electronic device is connected to a power adapter through a charging cable, the electronic device includes a rechargeable battery, and the method includes:
    在和所述电源适配器建立物理连接后,判断所述充电电池的充电电流值是否大于第一预设倍数的充电限流值;After establishing a physical connection with the power adapter, determining whether a charging current value of the rechargeable battery is greater than a charging current limit value of a first preset multiple;
    当所述充电电池的充电电流值大于所述第一预设倍数的充电限流值时,控制所述电源适配器进入输出电压锁定模式,其中,当所述电源适配器处于所述输出电压锁定模式时,所述电子装置的充电电池处于恒流充电状态;And controlling the power adapter to enter an output voltage lock mode when a charging current value of the rechargeable battery is greater than a charging current limit value of the first preset multiple, wherein when the power adapter is in the output voltage lock mode The rechargeable battery of the electronic device is in a constant current charging state;
    当所述充电电池的充电电流值小于或等于所述第一预设倍数的充电限流值时,控制所述电源适配器进入动态调压模式,其中,当所述电源适配器处于所述动态调压模式时,所述电子装置的充电电池处于恒压充电状态。When the charging current value of the rechargeable battery is less than or equal to the charging current limit value of the first preset multiple, controlling the power adapter to enter a dynamic voltage regulation mode, wherein when the power adapter is in the dynamic voltage regulation In the mode, the rechargeable battery of the electronic device is in a constant voltage charging state.
  2. 根据权利要求1所述的方法,其特征在于,所述控制所述电源适配器进入输出电压锁定模式之后,所述方法还包括:The method according to claim 1, wherein after the controlling the power adapter to enter an output voltage lock mode, the method further comprises:
    每隔预设时间间隔获取一次所述充电电池当前的充电电流值,并判断所述充电电池当前的充电电流值是否大于所述第一预设倍数的充电限流值;Acquiring the current charging current value of the rechargeable battery at a preset time interval, and determining whether the current charging current value of the rechargeable battery is greater than the charging current limit value of the first preset multiple;
    当所述充电电池当前的充电电流值小于或等于所述第一预设倍数的充电限流值时,获取所述电源适配器当前的输出电压值;When the current value of the charging current of the rechargeable battery is less than or equal to the charging current limit value of the first preset multiple, obtaining the current output voltage value of the power adapter;
    判断所述电源适配器当前的输出电压值是否大于或等于所述电源适配器预设的输出电压阈值;Determining whether the current output voltage value of the power adapter is greater than or equal to a preset output voltage threshold of the power adapter;
    当所述电源适配器当前的输出电压值小于所述电源适配器预设的输出电压阈值时,控制所述电源适配器对所述电源适配器的输出电压进行增压调整。When the current output voltage value of the power adapter is less than a preset output voltage threshold of the power adapter, the power adapter is controlled to perform boost adjustment on the output voltage of the power adapter.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, further comprising:
    当所述电源适配器当前的输出电压值大于或等于所述电源适配器预设的输出电压阈值时,将所述电源适配器从所述输出电压锁定模式切换为所述动态调压模式。When the current output voltage value of the power adapter is greater than or equal to a preset output voltage threshold of the power adapter, the power adapter is switched from the output voltage lock mode to the dynamic voltage regulation mode.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述判断所述充电电池的充电电流值是否大于第一预设倍数的充电限流值之前,所述方法还包括:The method according to any one of claims 1 to 3, wherein before the determining whether a charging current value of the rechargeable battery is greater than a charging current limit value of a first preset multiple, the method further comprises:
    获取所述充电电池的充电电压值,并根据所述充电电池的充电电压值设置 所述充电电池的充电限流值。A charging voltage value of the rechargeable battery is obtained, and a charging current limit value of the rechargeable battery is set according to the charging voltage value of the rechargeable battery.
  5. 根据权利要求1所述的方法,其特征在于,所述控制所述电源适配器进入动态调压模式之后,所述方法还包括:The method according to claim 1, wherein after the controlling the power adapter to enter a dynamic voltage regulation mode, the method further comprises:
    获取所述电源适配器当前的输出电压值,并将所述电源适配器当前的输出电压值与预设的所述电源适配器的输出电压值进行比较,并判断所述当前的输出电压值与所述预设的输出电压值之间的差值是否大于预设电压差值;Obtaining the current output voltage value of the power adapter, comparing the current output voltage value of the power adapter with a preset output voltage value of the power adapter, and determining that the current output voltage value is in Whether the difference between the set output voltage values is greater than a preset voltage difference;
    当所述当前的输出电压值与所述预设的输出电压值之间的差值大于所述预设电压差值时,控制所述电源适配器对所述电源适配器的输出电压进行降压调整;或者When the difference between the current output voltage value and the preset output voltage value is greater than the preset voltage difference, controlling the power adapter to perform step-down adjustment on the output voltage of the power adapter; or
    当所述当前的输出电压值与所述预设的输出电压值之间的差值小于或等于所述预设电压差值时,控制所述电源适配器对所述电源适配器的输出电压进行增压调整。When the difference between the current output voltage value and the preset output voltage value is less than or equal to the preset voltage difference value, controlling the power adapter to boost the output voltage of the power adapter Adjustment.
  6. 根据权利要求1所述的方法,其特征在于,所述控制所述电源适配器进入输出电压锁定模式之后,所述方法还包括:The method according to claim 1, wherein after the controlling the power adapter to enter an output voltage lock mode, the method further comprises:
    控制所述电源适配器调整所述电源适配器的输出电压值,以使所述充电电池的充电电流值处于所述第一预设倍数的充电限流值和第二预设倍数的充电限流值之间,所述第二预设倍数大于所述第一预设倍数;Controlling the power adapter to adjust the output voltage value of the power adapter so that the charging current value of the rechargeable battery is between the charging current limit value of the first preset multiple and the charging current limit value of the second preset multiple; The second preset multiple is greater than the first preset multiple;
    在调整所述电源适配器的输出电压值的过程中,计算所述充电电池的不同充电电流值所对应的转换效率值,并将转换效率值的最大值所对应的电源适配器的输出电压值确定为目标输出电压值;In the process of adjusting the output voltage value of the power adapter, the conversion efficiency values corresponding to different charging current values of the rechargeable battery are calculated, and the output voltage value of the power adapter corresponding to the maximum value of the conversion efficiency value is determined as Target output voltage value;
    控制所述电源适配器将所述电源适配器的输出电压值调整为所述目标输出电压值。Controlling the power adapter to adjust an output voltage value of the power adapter to the target output voltage value.
  7. 一种电子装置,所述电子装置通过充电线缆与电源适配器相连,其特征在于,所述电子装置包括处理器及充电电池,所述处理器用于:An electronic device, which is connected to a power adapter through a charging cable, is characterized in that the electronic device includes a processor and a rechargeable battery, and the processor is used for:
    在所述电子装置和所述电源适配器建立物理连接后,判断所述充电电池的充电电流值是否大于第一预设倍数的充电限流值;After the electronic device and the power adapter establish a physical connection, determine whether a charging current value of the rechargeable battery is greater than a charging current limit value of a first preset multiple;
    当所述充电电池的充电电流值大于所述第一预设倍数的充电限流值时,控制所述电源适配器进入输出电压锁定模式,其中,当所述电源适配器处于所述输出电压锁定模式时,所述电子装置的充电电池处于恒流充电状态;And controlling the power adapter to enter an output voltage lock mode when a charging current value of the rechargeable battery is greater than a charging current limit value of the first preset multiple, wherein when the power adapter is in the output voltage lock mode The rechargeable battery of the electronic device is in a constant current charging state;
    当所述充电电池的充电电流值小于或等于所述第一预设倍数的充电限流值时,控制所述电源适配器进入动态调压模式,其中,当所述电源适配器处于所述动态调压模式时,所述电子装置的充电电池处于恒压充电状态。When the charging current value of the rechargeable battery is less than or equal to the charging current limit value of the first preset multiple, controlling the power adapter to enter a dynamic voltage regulation mode, wherein when the power adapter is in the dynamic voltage regulation In the mode, the rechargeable battery of the electronic device is in a constant voltage charging state.
  8. 根据权利要求7所述的电子装置,其特征在于,所述处理器控制所述电源适配器进入输出电压锁定模式之后,所述处理器还用于:The electronic device according to claim 7, wherein after the processor controls the power adapter to enter an output voltage lock mode, the processor is further configured to:
    每隔预设时间间隔获取一次所述充电电池当前的充电电流值,并判断所述充电电池当前的充电电流值是否大于所述第一预设倍数的充电限流值;Acquiring the current charging current value of the rechargeable battery at a preset time interval, and determining whether the current charging current value of the rechargeable battery is greater than the charging current limit value of the first preset multiple;
    当所述充电电池当前的充电电流值小于或等于所述第一预设倍数的充电限流值时,获取所述电源适配器当前的输出电压值;When the current value of the charging current of the rechargeable battery is less than or equal to the charging current limit value of the first preset multiple, obtaining the current output voltage value of the power adapter;
    判断所述电源适配器当前的输出电压值是否大于或等于所述电源适配器预设的输出电压阈值;Determining whether the current output voltage value of the power adapter is greater than or equal to a preset output voltage threshold of the power adapter;
    当所述电源适配器当前的输出电压值小于所述电源适配器预设的输出电压阈值时,控制所述电源适配器对所述电源适配器的输出电压进行增压调整。When the current output voltage value of the power adapter is less than a preset output voltage threshold of the power adapter, the power adapter is controlled to perform boost adjustment on the output voltage of the power adapter.
  9. 根据权利要求8所述的电子装置,其特征在于,所述处理器还用于:The electronic device according to claim 8, wherein the processor is further configured to:
    当所述电源适配器当前的输出电压值大于或等于所述电源适配器预设的输出电压阈值时,将所述电源适配器从所述输出电压锁定模式切换为所述动态调压模式。When the current output voltage value of the power adapter is greater than or equal to a preset output voltage threshold of the power adapter, the power adapter is switched from the output voltage lock mode to the dynamic voltage regulation mode.
  10. 根据权利要求7至9任一项所述的电子装置,其特征在于,所述处理器判断所述充电电池的充电电流值是否大于第一预设倍数的充电限流值之前,所述处理器还用于:The electronic device according to any one of claims 7 to 9, characterized in that, before the processor determines whether the charging current value of the rechargeable battery is greater than a charging current limit value of a first preset multiple, the processor Also used for:
    获取所述充电电池的充电电压值,并根据所述充电电池的充电电压值设置所述充电电池的充电限流值。Acquiring a charging voltage value of the rechargeable battery, and setting a charging current limit value of the rechargeable battery according to the charging voltage value of the rechargeable battery.
  11. 根据权利要求7所述的电子装置,其特征在于,所述处理器控制所述电源适配器进入动态调压模式之后,所述处理器还用于:The electronic device according to claim 7, wherein after the processor controls the power adapter to enter a dynamic voltage regulation mode, the processor is further configured to:
    获取所述电源适配器当前的输出电压值,并将所述电源适配器当前的输出电压值与预设的所述电源适配器的输出电压值进行比较,并判断所述当前的输出电压值与所述预设的输出电压值之间的差值是否大于预设电压差值;Obtaining the current output voltage value of the power adapter, comparing the current output voltage value of the power adapter with a preset output voltage value of the power adapter, and determining that the current output voltage value is in Whether the difference between the set output voltage values is greater than a preset voltage difference;
    当所述当前的输出电压值与所述预设的输出电压值之间的差值大于所述预设电压差值时,控制所述电源适配器对所述电源适配器的输出电压进行降压 调整;或者When the difference between the current output voltage value and the preset output voltage value is greater than the preset voltage difference, controlling the power adapter to perform step-down adjustment on the output voltage of the power adapter; or
    当所述当前的输出电压值与所述预设的输出电压值之间的差值小于或等于所述预设电压差值时,控制所述电源适配器对所述电源适配器的输出电压进行增压调整。When the difference between the current output voltage value and the preset output voltage value is less than or equal to the preset voltage difference value, controlling the power adapter to boost the output voltage of the power adapter Adjustment.
  12. 根据权利要求7所述的电子装置,其特征在于,所述处理器控制所述电源适配器进入输出电压锁定模式之后,所述处理器还用于:The electronic device according to claim 7, wherein after the processor controls the power adapter to enter an output voltage lock mode, the processor is further configured to:
    控制所述电源适配器调整所述电源适配器的输出电压值,以使所述充电电池的充电电流值处于所述第一预设倍数的充电限流值和第二预设倍数的充电限流值之间,所述第二预设倍数大于所述第一预设倍数;Controlling the power adapter to adjust the output voltage value of the power adapter so that the charging current value of the rechargeable battery is between the charging current limit value of the first preset multiple and the charging current limit value of the second preset multiple; The second preset multiple is greater than the first preset multiple;
    在调整所述电源适配器的输出电压值的过程中,计算所述充电电池的不同充电电流值所对应的转换效率值,并将转换效率值的最大值所对应的电源适配器的输出电压值确定为目标输出电压值;In the process of adjusting the output voltage value of the power adapter, the conversion efficiency values corresponding to different charging current values of the rechargeable battery are calculated, and the output voltage value of the power adapter corresponding to the maximum value of the conversion efficiency value is determined as Target output voltage value;
    控制所述电源适配器将所述电源适配器的输出电压值调整为所述目标输出电压值。Controlling the power adapter to adjust an output voltage value of the power adapter to the target output voltage value.
  13. 一种计算机可读存储介质,应用于电子装置,所述电子装置通过充电线缆与电源适配器相连,所述电子装置包括充电电池,其特征在于,所述计算机可读存储介质中存储有指令,当所述指令在计算机上运行时,使计算机执行如下步骤:A computer-readable storage medium is applied to an electronic device, the electronic device is connected to a power adapter through a charging cable, the electronic device includes a rechargeable battery, and the computer-readable storage medium stores instructions, When the instructions are run on a computer, the computer is caused to perform the following steps:
    在所述电子装置和所述电源适配器建立物理连接后,判断所述充电电池的充电电流值是否大于第一预设倍数的充电限流值;After the electronic device and the power adapter establish a physical connection, determine whether a charging current value of the rechargeable battery is greater than a charging current limit value of a first preset multiple;
    当所述充电电池的充电电流值大于所述第一预设倍数的充电限流值时,控制所述电源适配器进入输出电压锁定模式,其中,当所述电源适配器处于所述输出电压锁定模式时,所述电子装置的充电电池处于恒流充电状态;And controlling the power adapter to enter an output voltage lock mode when a charging current value of the rechargeable battery is greater than a charging current limit value of the first preset multiple, wherein when the power adapter is in the output voltage lock mode The rechargeable battery of the electronic device is in a constant current charging state;
    当所述充电电池的充电电流值小于或等于所述第一预设倍数的充电限流值时,控制所述电源适配器进入动态调压模式,其中,当所述电源适配器处于所述动态调压模式时,所述电子装置的充电电池处于恒压充电状态。When the charging current value of the rechargeable battery is less than or equal to the charging current limit value of the first preset multiple, controlling the power adapter to enter a dynamic voltage regulation mode, wherein when the power adapter is in the dynamic voltage regulation In the mode, the rechargeable battery of the electronic device is in a constant voltage charging state.
PCT/CN2018/108181 2018-09-28 2018-09-28 Charge control method and electronic device WO2020061983A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880086731.9A CN111869036A (en) 2018-09-28 2018-09-28 Charging control method and electronic device
PCT/CN2018/108181 WO2020061983A1 (en) 2018-09-28 2018-09-28 Charge control method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/108181 WO2020061983A1 (en) 2018-09-28 2018-09-28 Charge control method and electronic device

Publications (1)

Publication Number Publication Date
WO2020061983A1 true WO2020061983A1 (en) 2020-04-02

Family

ID=69950875

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/108181 WO2020061983A1 (en) 2018-09-28 2018-09-28 Charge control method and electronic device

Country Status (2)

Country Link
CN (1) CN111869036A (en)
WO (1) WO2020061983A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844144A (en) * 2022-03-31 2022-08-02 华为技术有限公司 Charging method, electronic device, computer-readable storage medium, and chip system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112947191B (en) * 2021-02-08 2024-07-23 联想(北京)有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN113507149B (en) * 2021-06-29 2023-04-28 珠海智融科技股份有限公司 Mixed mode charging circuit and charging method
CN113541276B (en) * 2021-09-15 2021-12-07 深圳市沃特沃德信息有限公司 Charging self-adjusting method and device and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040108837A1 (en) * 2002-12-09 2004-06-10 Intersil Americas Inc. Li-ion/li-polymer battery charger configured to be dc-powered from multiple types of wall adapters
CN102769156A (en) * 2012-07-17 2012-11-07 广东欧珀移动通信有限公司 Quick charging method
CN104300630A (en) * 2014-10-17 2015-01-21 广东欧珀移动通信有限公司 Charging control device and method
CN105656162A (en) * 2016-03-17 2016-06-08 深圳市乐得瑞科技有限公司 Rapid charging system and method based on USB PD protocol
CN106549458A (en) * 2016-12-29 2017-03-29 东莞新能德科技有限公司 Battery charger and charging method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3848239B2 (en) * 2002-11-08 2006-11-22 ローム株式会社 Battery charging method, battery charging circuit, and portable electronic device having battery
CN104092254B (en) * 2014-06-19 2016-06-29 深圳天珑无线科技有限公司 A kind of charging method and charging system
CN104167779B (en) * 2014-07-24 2017-01-18 深圳天珑无线科技有限公司 Charging method and charging apparatus
CN105140985B (en) * 2015-08-05 2017-08-25 青岛海信移动通信技术股份有限公司 Mobile terminal, can directly charge source adapter and charging method
CN105449757B (en) * 2015-12-02 2018-03-02 广东欧珀移动通信有限公司 Prevent the method and device that adapter or portable power source disconnect in charging process
CN106340925B (en) * 2016-09-29 2019-04-16 Oppo广东移动通信有限公司 A kind of charge control method, device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040108837A1 (en) * 2002-12-09 2004-06-10 Intersil Americas Inc. Li-ion/li-polymer battery charger configured to be dc-powered from multiple types of wall adapters
CN102769156A (en) * 2012-07-17 2012-11-07 广东欧珀移动通信有限公司 Quick charging method
CN104300630A (en) * 2014-10-17 2015-01-21 广东欧珀移动通信有限公司 Charging control device and method
CN105656162A (en) * 2016-03-17 2016-06-08 深圳市乐得瑞科技有限公司 Rapid charging system and method based on USB PD protocol
CN106549458A (en) * 2016-12-29 2017-03-29 东莞新能德科技有限公司 Battery charger and charging method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844144A (en) * 2022-03-31 2022-08-02 华为技术有限公司 Charging method, electronic device, computer-readable storage medium, and chip system

Also Published As

Publication number Publication date
CN111869036A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
WO2020061983A1 (en) Charge control method and electronic device
KR102110799B1 (en) Terminal and device
TWI657644B (en) Device to be charged and charging method
US10541541B2 (en) Equalization circuit, device to be charged and charging control method
CN110739752B (en) Charging circuit and method for automatically adjusting voltage input according to battery voltage
JP7301997B2 (en) IV curve scanning method for optimizers, photovoltaic systems and solar modules
KR20170133469A (en) Adapter and charge control method
CN114784923A (en) Device to be charged and charging method
WO2020124563A1 (en) Wireless charging method, device to be charged, wireless charging apparatus and storage medium
WO2020124549A1 (en) Wireless charging method, device to be charged, power supply device, and storage medium
WO2022001617A1 (en) Charging method, terminal and storage medium
WO2024012229A1 (en) Energy efficiency determination method and apparatus, and power supply system, electronic device and storage medium
KR20190141943A (en) Inverter Frequency Control Method for Extending Life of Low Temperature Battery in Energy Storage System
JP2017204971A (en) Power supply device and power supply method
CN111430824B (en) Charging method and device and electronic equipment
CN112216849B (en) DC/DC converter current control system and method for hydrogen fuel cell system
CN109494849B (en) Battery state regulating and controlling device and method
CN112952881A (en) Power system and control method
KR102702028B1 (en) System for charging electric vehicle using solar power based on direct current(dc) transmission and method for charging electric vehicle using the same
JP2016041002A (en) Charging/discharging control device and charging/discharging control method
CN107863808B (en) Charging control method and device for mobile terminal
JP2018125974A (en) Storage battery control device
CN117639165A (en) Charging method, device, apparatus, storage medium, and program product
CN117811068A (en) Control method and device of energy storage system, electronic equipment and storage medium
CN114678921A (en) Method, terminal and storage medium for fan control of charge-discharge module

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18935856

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18935856

Country of ref document: EP

Kind code of ref document: A1