CN110943501A - Charging method, charging control device and electronic equipment - Google Patents

Charging method, charging control device and electronic equipment Download PDF

Info

Publication number
CN110943501A
CN110943501A CN201811116082.0A CN201811116082A CN110943501A CN 110943501 A CN110943501 A CN 110943501A CN 201811116082 A CN201811116082 A CN 201811116082A CN 110943501 A CN110943501 A CN 110943501A
Authority
CN
China
Prior art keywords
interface
charging
processor
input power
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811116082.0A
Other languages
Chinese (zh)
Other versions
CN110943501B (en
Inventor
谢洪
王志峰
陈光辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Nvt Technology Co Ltd
Original Assignee
Dongguan Nvt Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan Nvt Technology Co Ltd filed Critical Dongguan Nvt Technology Co Ltd
Priority to CN201811116082.0A priority Critical patent/CN110943501B/en
Publication of CN110943501A publication Critical patent/CN110943501A/en
Application granted granted Critical
Publication of CN110943501B publication Critical patent/CN110943501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

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

Abstract

The charging control device comprises a first interface, a second interface, a battery and a processor; wherein the processor may determine a first input power of the first interface, determine a second input power of the second interface; and if the first input power is determined to be greater than the second input power, selecting to charge the battery through the first interface. That is, when multiple power sources are connected to the electronic device through the multiple charging interfaces, the power source with the highest charging efficiency can be always controlled to charge the battery of the electronic device, and therefore, the charging efficiency of the electronic device can be improved.

Description

Charging method, charging control device and electronic equipment
Technical Field
The present invention relates to the field of charging technologies, and in particular, to a charging method, a charging control apparatus, and an electronic device.
Background
With the rapid development of interface technology and charging technology, the electronic device in the prior art has been developed from single-path charging based on micro USB charging interface to charging based on micro USB, type-C, wireless charging interface and other interfaces.
For multiple power supplies connected to the electronic device through multiple charging interfaces, a common processing mode in the prior art is to detect that a certain power supply is firstly connected to a certain charging interface of the electronic device, and then the power supply preferentially charges a battery of the electronic device. The power supply which is firstly accessed to the electronic equipment is preferentially selected to charge the battery, and the power supply which is firstly accessed to the electronic equipment probably does not support a quick charging mode, so the charging efficiency of the charging method is low, and the flexibility is poor.
Disclosure of Invention
The embodiment of the invention provides a charging method, a charging control device and electronic equipment, which are used for solving the problem that the charging efficiency of the existing charging method is lower when multiple power supplies are connected into the electronic equipment through multiple charging interfaces.
In a first aspect, an embodiment of the present invention provides a charging method, which is applied to an electronic device, where the electronic device includes a first interface, a second interface, a battery, and a processor, and the charging method includes:
the processor determining a first input power of the first interface;
the processor determining a second input power of the second interface; and
the processor determines that the first input power is greater than the second input power and selects to charge the battery through the first interface.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the determining the first input power includes:
the processor determining a voltage value of the battery;
the processor determining a current value of the first interface; and
the processor determines the first input power according to a voltage value and a current value of the battery.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the determining the first input power includes:
the processor communicates with the power supply connected with the first interface to acquire power information.
With reference to the first aspect, in a third possible implementation manner of the first aspect, the method further includes:
the processor determining that the first input power is equal to the second input power;
the processor determining a first current value for the first interface;
the processor determining a second current value for the second interface;
the processor determining that the first current value is greater than the second current value; and
the processor selects to charge the battery through the first interface.
With reference to the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes:
the processor determines that the first interface is connected or coupled with a first power source through a communication cable;
the processor determines that the second interface is connected or coupled to a second power source via a communication cable.
In a second aspect, an embodiment of the present invention provides a charging control apparatus, which is applied to an electronic device, where the electronic device includes a first interface, a second interface, and a battery, and the charging control apparatus includes:
a detection unit for determining a first input power of the first interface; and determining a second input power of the second interface;
and the processing unit is used for determining that the first input power is greater than the second input power and selecting to charge the battery through the first interface.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the detection unit is configured to determine a voltage value of the battery; determining a current value of the first interface; and determining the first input power according to the voltage value and the current value of the battery.
With reference to the second aspect, in a second possible implementation manner of the second aspect, the detection unit is configured to communicate with a power supply connected to the first interface, and obtain power information to determine the first input power.
With reference to the second aspect, in a third possible implementation manner of the second aspect, the processing unit is configured to determine that the first input power is equal to the second input power; determining a first current value for the first interface; determining a second current value for the second interface; determining that the first current value is greater than the second current value; and selecting to charge the battery through the first interface.
With reference to the second aspect, in a fourth possible implementation manner of the second aspect, the detection unit is configured to determine that the first interface is connected or coupled to the first power source through a communication cable; determining that the second interface is connected or coupled with a second power source through a communication cable.
In a third aspect, an embodiment of the present invention provides an electronic device, including a first interface, a second interface, a battery, and a processor, where:
the processor is configured to determine a first input power of the first interface; determining a second input power of the second interface; and determining that the first input power is greater than the second input power, selecting to charge the battery through the first interface.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the processor is configured to determine a voltage value of the battery; determining a current value of the first interface; and determining the first input power according to the voltage value and the current value of the battery.
With reference to the third aspect, in a second possible implementation manner of the third aspect, the processor is configured to communicate with a power supply connected to the first interface, and obtain power information to determine the first input power.
With reference to the third aspect, in a third possible implementation manner of the third aspect, the processor is configured to determine that the first input power is equal to the second input power; determining a first current value for the first interface; determining a second current value for the second interface; determining that the first current value is greater than the second current value; and selecting to charge the battery through the first interface.
With reference to the third aspect, in a fourth possible implementation manner of the third aspect, the processor is configured to determine that the first interface is connected or coupled to the first power source through a communication cable; determining that the second interface is connected or coupled with a second power source through a communication cable.
With reference to the third aspect, in a fifth possible implementation manner of the third aspect, the electronic device includes a mobile terminal or a mobile power supply.
The invention has the following beneficial effects:
the embodiment of the invention provides a charging method, a charging control device and electronic equipment, wherein the electronic equipment comprises a first interface, a second interface, a battery and a processor; wherein the processor may determine a first input power of the first interface, determine a second input power of the second interface; and if the first input power is determined to be greater than the second input power, selecting to charge the battery through the first interface. That is, when multiple power sources are connected to the electronic device through the multiple charging interfaces, the power source with the highest charging efficiency can be always controlled to charge the battery of the electronic device, and therefore, the charging efficiency of the electronic device can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without inventive efforts.
Fig. 1(a) is a schematic structural diagram of an electronic device in an embodiment of the invention;
fig. 1(b) is a schematic structural diagram of an electronic device in an embodiment of the invention;
FIG. 2 is a flowchart illustrating steps of a charging method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating an exemplary charging method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a charging control device according to an embodiment of the present invention;
fig. 5(a) is a schematic structural diagram of another electronic device in the embodiment of the present invention;
fig. 5(b) is a schematic structural diagram of an electronic device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example (b):
an embodiment of the present invention provides a charging method, which can be applied to an electronic device, and specifically, as shown in fig. 1(a) and fig. 1(b), it is a schematic structural diagram of the electronic device, the electronic device may include two or more charging interfaces and a processor 101, and fig. 1(a) and fig. 1(b) take two charging interfaces, that is, a first interface 102 and a second interface 103, as an example, any charging interface is connected to a battery 107 through a corresponding charging loop for receiving electric energy output by a power supply.
In fig. 1(a), the charging interfaces correspond to the charging loops one by one, the first interface 102 is connected to the first charging loop 104, the second interface 103 is connected to the second charging loop 105, any charging interface and the charging loop connected thereto form a complete charging sub-circuit, and the processor 101 can switch the charging sub-circuit currently used for charging by controlling switches in the charging sub-circuits.
In fig. 1(b), a plurality of charging interfaces correspond to one charging loop, the first interface 102 and the second interface 103 are both connected to the charging loop 106, and the processor 101 can control any charging interface and the charging loop to form a complete charging sub-circuit by controlling the switch of each charging interface, so as to charge the battery 107.
It should be noted that the electronic device may include the circuit structure shown in fig. 1(a), or include the circuit structure shown in fig. 1(b), or include both the circuit structure shown in fig. 1(a) and the circuit structure shown in fig. 1(b), and this embodiment is not limited in any way.
In addition, it should be noted that the electronic device may be connected to a power supply through a charging interface, and the power supply may include a power adapter or a portable power source, so that the power adapter or the portable power source is a device that charges a battery disposed in the device, and the electronic device may specifically be a mobile terminal or a portable power source, and the embodiment is not limited in any way herein.
As shown in fig. 2, which is a flowchart illustrating steps of the charging method according to an embodiment of the present invention, the method may include the following steps:
step 201: the processor determines a first input power of the first interface and a second input power of the second interface.
In an implementation manner of this embodiment, the determining, by the processor, the input power of any charging interface may specifically include:
the processor detects the voltage value and the charging current value of the battery of the electronic equipment, and determines the input power of any charging interface according to the voltage value and the charging current value of the battery. For example, the step of determining the first input power may specifically comprise:
the processor determining a voltage value of the battery;
the processor determines a current value corresponding to the first interface (a current value flowing through the battery through the first interface); and
the processor determines the first input power according to a voltage value and a current value of the battery.
Further, before the processor detects a voltage value and a charging current value of a battery of the electronic device, the method may further include: the processor determines that the power supply connected with any charging interface is charging the electronic equipment currently.
That is, for a power supply that is charging a battery of an electronic device, if a loss in a charging loop is ignored, the input power of a charging interface to which the power supply is connected, that is, the output power of the power supply, can be approximately determined by detecting a voltage value and a charging current value of the battery of the electronic device. In addition, it should be noted that the input power of any charging interface may also be determined by detecting the input voltage value and the input current value received at any charging interface.
It should be noted that the voltage value and the current value may be detected by a specially provided sampling circuit, or may be detected by an electricity meter provided in a battery module of the electronic device, and the embodiment is not limited in any way herein.
In another implementation manner of this embodiment, the determining, by the processor, the input power of any charging interface may further include:
and the processor is communicated with the power supply connected with any charging interface to acquire power information of the power supply.
For example, the step of determining the first input power may specifically comprise:
the processor communicates with a power supply connected to the first interface to obtain power information to determine the first input power.
It should be noted that the power information of the power supply includes, but is not limited to, an output voltage value range, an output current value range, model identification information of the power supply, and/or supportable charging mode information. That is, for a power supply that charges a battery of an electronic device or a power supply that is connected to the electronic device only and does not charge the battery, the power supply may communicate with the power supply based on a set communication protocol to obtain information that can be used to represent a rated power value of the power supply, such as an output voltage range, an output current range, model information of the power supply, and/or supportable charging mode information of the power supply.
In addition, optionally, the processor may further control a set identification chip to communicate with the power supply, and the set identification chip determines the input power of any one of the charging interfaces according to the acquired power information of the power supply.
In an implementation manner of this embodiment, before the processor determines the first input power of the first interface and the second input power of the second interface in step 201, the method may further include:
the processor determines that the first interface is connected to a first power source and the second interface is connected to a second power source.
That is, when multiple power sources are connected to the electronic device through multiple charging interfaces, the charging method provided by the embodiment may be triggered.
Optionally, for any charging interface, the any charging interface may specifically be a wired charging interface or a wireless charging interface, and specifically, the any charging interface may include, but is not limited to, a USB 2.0 interface, a type-C interface, or a receiving coil. The present embodiment is not limited thereto.
Further optionally, the determining, by the processor, that any charging interface is connected to the power supply may specifically include:
the processor determines that any charging interface is connected with the power supply through a communication cable; or the like, or, alternatively,
the processor determines that any charging interface is connected with the power supply coupling.
For example, the processor determines that the first interface is connected or coupled to a first power source via a communication cable; and determining that the second interface is connected or coupled with a second power source through a communication cable.
That is, since the USB 2.0 interface or the type-C interface and other wired charging interfaces are electrically connected to the power supply through the charging cable; the wireless charging interfaces such as the receiving coil and the like are coupled with the power supply based on the principles such as electromagnetic induction, magnetic resonance, electric field coupling or radio wave transmission, so that for any charging interface, if the charging interface is determined to be electrically connected or coupled with the power supply, the charging interface can be determined to be connected with the power supply.
In addition, it should be noted that the specific method for determining whether any charging interface is electrically connected to the power supply and determining whether any charging interface is coupled to the power supply is similar to the prior art, and this embodiment is not described herein again.
Step 202: the processor determines that the first input power is greater than the second input power and selects to charge the battery through the first interface.
That is, the processor may determine the output power of each power source connected to the electronic device, respectively, from which the power source having the larger output power is determined to charge the electronic device. After determining that the electronic device is charged through the first interface, the processor may first control the switch corresponding to the first interface to be turned on, and the switches corresponding to the other charging interfaces are all turned off; then, the first interface is communicated with a power supply connected with the first interface, the power supply is controlled to output proper voltage and current to charge a battery of the electronic device, the charging process of the battery is similar to that of the prior art, and details are not repeated here in this embodiment.
In an implementation manner of this embodiment, the method may further include:
step 202': if the processor determines that the first input power is equal to the second input power; the processor determines a first current value of the first interface and determines a second current value of the second interface; the processor determines that the first current value is greater than the second current value and selects to charge the battery through the first interface. The first charging current value is the amplitude of current flowing through a battery of the electronic equipment when the electronic equipment is charged through the first interface; the second charging current value is an amplitude of a current flowing through a battery of the electronic device when the electronic device is charged through the second interface.
That is, when the output powers of the power supplies connected to the electronic device are the same, the processor selects a power supply having a large charging current to charge the electronic device.
In an implementation manner of this embodiment, the method may further include:
step 202 ": if the processor determines that the first input power is equal to the second input power and the first charging current value is equal to the second charging current value, the processor selects a charging interface which is connected with the power supply firstly to charge the electronic equipment; the first charging current value is the amplitude of current flowing through a battery of the electronic equipment when the electronic equipment is charged through the first interface; the second charging current value is an amplitude of a current flowing through a battery of the electronic device when the electronic device is charged through the second interface.
That is, when the output power and the charging current of each power supply connected to the electronic device are the same, the processor selects the power supply that is first connected to the electronic device to charge the electronic device.
Alternatively, the processor may be a set controller; for example, if the electronic device is a mobile terminal, the processor may specifically be an application processor in the mobile terminal, or may be an MCU (micro controller Unit, single-chip microcomputer) specially used for charge control and arranged in the mobile terminal; for another example, if the electronic device is a mobile power supply, the processor may be an MCU in the mobile power supply, and this embodiment is not described herein again.
The charging method provided by the present embodiment will be described in detail below by taking a specific example as an example.
Example one:
assuming that the mobile power supply is provided with an interface 1 and an interface 2, as shown in fig. 3, the charging control process is as follows:
step 301: starting;
step 302: detecting the insertion of the adapter;
step 303: judging whether the interface 1 is connected with an adapter, if so, jumping to step 304; if not, jumping to step 309;
step 304: judging whether the interface 1 is charging, if so, jumping to step 306; if not, jumping to step 305;
step 305: judging whether the interface 2 is charging, if not, skipping to the step 302; if yes, go to step 314;
step 306: judging whether the interface 2 is connected with an adapter, if so, jumping to step 307; if not, jumping to step 308;
step 307: judging whether the interface 2 is charging, if not, skipping to the step 308; if yes, go to step 312;
step 308: keeping the interface 1 for charging until the charging is finished, and jumping to step 315, or detecting that an adapter is inserted again;
step 309: judging whether the interface 2 is connected with an adapter, if so, jumping to a step 310; if not, jumping to step 302;
step 310: judging whether the interface 2 is charging, if not, skipping to the step 302; if yes, go to step 311;
step 311: judging whether the interface 1 is charging, if so, jumping to step 312; if not, jumping to step 314;
step 312: performing quick charge identification, determining first input power of the interface 1 and second input power of the interface 2, and determining the magnitude relation between the first input power and the second input power;
step 313: selecting an interface with larger input power for charging, and skipping to step 315 until the charging is finished, or detecting that an adapter is inserted again;
step 314: keeping the interface 2 to charge until the charging is finished, and jumping to step 315, or detecting that an adapter is inserted again;
step 315: and (6) ending.
Example two:
suppose that the mobile power supply is provided with a micro USB interface and a type-C interface, and the power adapter A charges the mobile power supply through the micro USB interface. At a certain moment, the user accesses the power adapter B to the type-C interface of the mobile power supply, and then the charging control process is as follows:
step A: the MCU of the mobile power supply determines that a type-C interface is connected with the power adapter B, and a micro USB interface is connected with the power adapter A;
and B: the MCU acquires a charging voltage value and a charging current value of the battery based on the set sampling circuit, and estimates the output power of the power adapter A to be P1 according to the acquired charging voltage value and charging current value;
and C: the MCU is communicated with the power adapter B based on a set communication protocol, and the rated power of the power adapter B is determined to be P2;
step D: if the MCU determines that the P1 is greater than or equal to P2, executing a step E; if it is determined that P1 is less than P2, perform step F;
step E: the MCU controls a switch K1 corresponding to the micro USB interface to be closed and a switch K2 corresponding to the type-C interface to be switched off, and the power adapter A is continuously controlled to charge the battery;
step F: the MCU controls the switch K1 corresponding to the micro USB interface to be switched off, and the switch K2 corresponding to the type-C interface to be switched on, so that the power adapter B is controlled to charge the battery.
In summary, the charging method provided in this embodiment can be applied to an electronic device, where the electronic device includes a first interface, a second interface, a battery, and a processor; wherein the processor may determine a first input power of the first interface, determine a second input power of the second interface; and if the first input power is determined to be greater than the second input power, selecting to charge the battery through the first interface. That is, when multiple power sources are connected to the electronic device through the multiple charging interfaces, the power source with the highest charging efficiency can be always controlled to charge the battery of the electronic device, and therefore, the charging efficiency of the electronic device can be improved.
Based on the same inventive concept, an embodiment of the present invention further provides a charging control apparatus, which can be applied to an electronic device, and specifically, as shown in fig. 1(a) and fig. 1(b), it is a schematic structural diagram of the electronic device, the electronic device can include two or more charging interfaces and a battery, and fig. 1(a) and fig. 1(b) take two charging interfaces as an example, and any charging interface is connected to the battery through a charging loop for receiving electric energy output by a power supply.
In fig. 1(a), the charging interfaces correspond to the charging loops one by one, and any charging interface and the charging loop connected thereto form a complete charging sub-circuit, and the charging sub-circuit currently used for charging can be switched by controlling the switches in each charging sub-circuit. In fig. 1(b), a plurality of charging interfaces correspond to one charging loop, and any charging interface and the charging loop can be controlled to form a complete charging sub-circuit by controlling the switch of each charging interface, so as to charge the battery. It should be noted that the electronic device may include the circuit structure shown in fig. 1(a), or include the circuit structure shown in fig. 1(b), or include both the circuit structure shown in fig. 1(a) and the circuit structure shown in fig. 1(b), and this embodiment is not limited in any way.
In addition, it should be noted that the electronic device may be connected to a power supply through a charging interface, where the power supply includes a power adapter or a portable power source, so that the power adapter or the portable power source is a device that charges a battery disposed in the device, and the electronic device may specifically be a mobile terminal or a portable power source, and the embodiment is not limited in any way herein.
Specifically, as shown in fig. 4, which is a schematic structural diagram of the charging control device according to the second embodiment of the present invention, the device may include:
a detecting unit 401, configured to determine a first input power of the first interface; and determining a second input power of the second interface;
a processing unit 402, configured to determine that the first input power is greater than the second input power, and select to charge the battery through the first interface.
In an implementation manner of this embodiment, the detecting unit 401 may be configured to determine a voltage value of the battery; determining a current value of the first interface; and determining the first input power according to the voltage value and the current value of the battery.
In another implementation manner of this embodiment, the detecting unit 401 may be further specifically configured to communicate with a power supply connected to the first interface, and acquire power information to determine the first input power.
In an implementation manner of this embodiment, the processing unit 402 is further configured to determine that the first input power is equal to the second input power; determining a first current value for the first interface; determining a second current value for the second interface; determining that the first current value is greater than the second current value; and selecting to charge the battery through the first interface; the first charging current value is the amplitude of current flowing through a battery of the electronic equipment when the electronic equipment is charged through the first interface; the second charging current value is an amplitude of a current flowing through a battery of the electronic device when the electronic device is charged through the second interface.
In an implementation manner of this embodiment, before determining the first input power of the first interface and the second input power of the second interface, the detecting unit 401 may further be configured to determine that the first interface is connected or coupled to the first power source through a communication cable; determining that the second interface is connected or coupled with a second power source through a communication cable.
It should be noted that, for a specific manner of implementing the charging method by the charging control apparatus provided in this embodiment, reference may be made to the related description of the charging method, and details of this embodiment are not repeated herein.
In summary, the charging control apparatus provided in this embodiment can be applied to an electronic device, the electronic device includes a first interface, a second interface and a battery, and the charging control apparatus can include: a detection unit for determining a first input power of the first interface; and determining a second input power of the second interface; and the processing unit is used for determining that the first input power is larger than the second input power and selecting to charge the battery through the first interface. That is, when multiple power sources are connected to the electronic device through the multiple charging interfaces, the power source with the highest charging efficiency can be always controlled to charge the battery of the electronic device, and therefore, the charging efficiency of the electronic device can be improved.
Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, specifically, as shown in fig. 5(a) and fig. 5(b), the electronic device includes two or more charging interfaces (fig. 5(a) and fig. 5(b) take the example of including a first interface 501 and a second interface 502), a processor 503, and a battery 504, where:
the processor 503 is configured to determine a first input power of the first interface 501; determining a second input power of the second interface 502; and determining that the first input power is greater than the second input power, selecting to charge the battery 504 through the first interface 501.
In fig. 5(a), the charging interfaces correspond to the charging loops one by one, and any charging interface and the charging loop connected thereto form a complete charging sub-circuit, and the processor 503 may switch the charging sub-circuit currently used for charging by controlling switches in the charging sub-circuits.
In fig. 5(b), a plurality of charging interfaces correspond to one charging loop, and the processor 503 can control any charging interface and the charging loop to form a complete charging sub-circuit by controlling the switches of the charging interfaces, so as to charge the battery 504.
It should be noted that the electronic device may include the circuit structure shown in fig. 5(a), or include the circuit structure shown in fig. 5(b), or include both the circuit structure shown in fig. 5(a) and the circuit structure shown in fig. 5(b), and this embodiment is not limited in any way.
In an implementation manner of this embodiment, the processor 503 may be configured to determine a voltage value of the battery 504; determining a current value of the first interface 501; and determining the first input power according to the voltage value and the current value of the battery 504.
In another implementation manner of this embodiment, the processor 503 may be further configured to communicate with a power supply connected to the first interface 501, and obtain power information to determine the first input power.
In an implementation manner of this embodiment, the processor 503 is further configured to determine whether the first input power is equal to the second input power; determining a first current value of the first interface 501; determining a second current value for the second interface 502; determining that the first current value is greater than the second current value; and selects to charge the battery 504 through the first interface 501. The first charging current value is a magnitude of a current flowing through a battery 504 of the electronic device when the electronic device is charged through the first interface 501; the second charging current value is a magnitude of a current flowing through a battery 504 of the electronic device when the electronic device is charged through the second interface 502.
In an implementation manner of this embodiment, before determining the first input power of the first interface 501 and the second input power of the second interface 502, the processor 503 may be further configured to determine that the first interface 501 is connected or coupled to a first power source through a communication cable; the second interface 502 is determined to be connected or coupled to a second power source via a communication cable.
Optionally, the electronic device may comprise a mobile terminal or a mobile power supply.
In summary, the electronic device provided in this embodiment includes a first interface, a second interface, a battery, and a processor, wherein: the processor is configured to determine a first input power of the first interface; determining a second input power of the second interface; and determining that the first input power is greater than the second input power, selecting to charge the battery through the first interface. That is, when multiple power sources are connected to the electronic device through the multiple charging interfaces, the power source with the highest charging efficiency can be always controlled to charge the battery of the electronic device, and therefore, the charging efficiency of the electronic device can be improved.
It should be noted that, the specific manner for implementing the charging control by the processor 503 can be referred to the related description of the charging method, and the description of the embodiment is omitted here.
Furthermore, it is to be understood that any number of elements in the figures and descriptions are to be regarded as illustrative rather than restrictive, and that any nomenclature is used for distinction and not intended to be limiting.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (11)

1. A charging method is applied to an electronic device, the electronic device comprises a first interface, a second interface, a battery and a processor, and the charging method comprises the following steps:
the processor determining a first input power of the first interface;
the processor determining a second input power of the second interface; and
the processor determines that the first input power is greater than the second input power and selects to charge the battery through the first interface.
2. The charging method of claim 1, wherein determining the first input power comprises:
the processor determining a voltage value of the battery;
the processor determining a current value of the first interface; and
the processor determines the first input power according to a voltage value and a current value of the battery.
3. The charging method of claim 1, wherein determining the first input power comprises:
the processor communicates with the power supply connected with the first interface to acquire power information.
4. The charging method of claim 1, further comprising:
the processor determining that the first input power is equal to the second input power;
the processor determining a first current value for the first interface;
the processor determining a second current value for the second interface;
the processor determining that the first current value is greater than the second current value; and
the processor selects to charge the battery through the first interface.
5. The charging method of claim 1, further comprising:
the processor determines that the first interface is connected or coupled with a first power source through a communication cable;
the processor determines that the second interface is connected or coupled to a second power source via a communication cable.
6. An electronic device comprising a first interface, a second interface, a battery, and a processor, wherein:
the processor is configured to determine a first input power of the first interface; determining a second input power of the second interface; and determining that the first input power is greater than the second input power, selecting to charge the battery through the first interface.
7. The electronic device of claim 6, wherein the processor is to determine a voltage value of the battery; determining a current value of the first interface; and determining the first input power according to the voltage value and the current value of the battery.
8. The electronic device of claim 6, wherein the processor is configured to communicate with a power source coupled to the first interface to obtain power information to determine the first input power.
9. The electronic device of claim 6, wherein the processor is to determine that the first input power is equal to the second input power; determining a first current value for the first interface; determining a second current value for the second interface; determining that the first current value is greater than the second current value; and selecting to charge the battery through the first interface.
10. The electronic device of claim 6, wherein the processor is to determine that the first interface is connected or coupled to a first power source via a communication cable; determining that the second interface is connected or coupled with a second power source through a communication cable.
11. The electronic device of claim 6, comprising a mobile terminal or a mobile power supply.
CN201811116082.0A 2018-09-25 2018-09-25 Charging method, charging control device and electronic equipment Active CN110943501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811116082.0A CN110943501B (en) 2018-09-25 2018-09-25 Charging method, charging control device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811116082.0A CN110943501B (en) 2018-09-25 2018-09-25 Charging method, charging control device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110943501A true CN110943501A (en) 2020-03-31
CN110943501B CN110943501B (en) 2024-03-15

Family

ID=69905031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811116082.0A Active CN110943501B (en) 2018-09-25 2018-09-25 Charging method, charging control device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110943501B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111446756A (en) * 2020-04-07 2020-07-24 四川航天系统工程研究所 Double-loop lithium battery charging system
CN113852165A (en) * 2021-09-27 2021-12-28 Oppo广东移动通信有限公司 Electronic equipment, charging connecting wire and wireless charging equipment assembly
CN114079320A (en) * 2021-09-28 2022-02-22 宁波萨瑞通讯有限公司 Method for high-current multi-path switching circuit
WO2023185143A1 (en) * 2022-04-01 2023-10-05 荣耀终端有限公司 Terminal device and charging method

Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050253560A1 (en) * 2004-05-14 2005-11-17 Vlad Mihail Popescu-Stanesti Power management system
US20080315826A1 (en) * 2007-06-20 2008-12-25 Motorola, Inc. Devices, systems, and methods for group charging of electronic devices
CN101902065A (en) * 2010-07-15 2010-12-01 上海海洋大学 Compound power supply multi-level voltage output device and multi-power supply selection control method
US20110039606A1 (en) * 2009-08-12 2011-02-17 Lg Electronics Inc. Mobile terminal and power source controlling method thereof
US20120091972A1 (en) * 2011-10-21 2012-04-19 Radoslaw Narel System, charging device, and method of charging a power storage device
JP2012253879A (en) * 2011-06-01 2012-12-20 Toyota Industries Corp Charger and charging method
CN103092309A (en) * 2011-11-04 2013-05-08 宏碁股份有限公司 Electronic system and power management method
US20130162220A1 (en) * 2011-12-27 2013-06-27 Sanyo Electric Co., Ltd. Non-contact charging method
CN103384067A (en) * 2009-02-17 2013-11-06 通用电气公司 Dc plant controller and method for selecting among multiple power sources and dc plant employing the same
CN103715723A (en) * 2012-09-28 2014-04-09 联想(北京)有限公司 Charging method, charging circuit and electronic device
DE102014110890A1 (en) * 2013-08-02 2015-02-05 Samsung Electronics Co., Ltd. Memory with dual supply
CN104823349A (en) * 2012-11-30 2015-08-05 摩托罗拉解决方案公司 Method and apparatus for charging battery using multiple charging sources
US20160072317A1 (en) * 2014-09-08 2016-03-10 Avogy, Inc. Method and system for power provisioning
CN105990886A (en) * 2014-11-03 2016-10-05 三星电机株式会社 Non-contact type power transmitting apparatus, non-contact type power receiving apparatus, and non-contact type power transceiving system
US20160380455A1 (en) * 2015-06-24 2016-12-29 Apple Inc. Systems and methods for bidirectional two-port battery charging with boost functionality
CN205882808U (en) * 2016-07-01 2017-01-11 Tcl通力电子(惠州)有限公司 Multiport power supply output circuit and battery charging outfit
CN107128187A (en) * 2017-04-12 2017-09-05 宁德时代新能源科技股份有限公司 Power supply system, electric drive device, pure electric vehicle and working method thereof
US20170255242A1 (en) * 2014-11-20 2017-09-07 Gridless Power Corporation System and method for supplying power to an electronic device
US20170264122A1 (en) * 2016-03-08 2017-09-14 Apple Inc. Systems and Methods for Simultaneously Charging a Battery with Multiple Power Sources
CN107624210A (en) * 2015-05-14 2018-01-23 苹果公司 Dynamic power between multiple physical ports is shared
CN107706972A (en) * 2017-09-30 2018-02-16 湖南海翼电子商务股份有限公司 Power output control method, circuit and charging device for charging device
US20180123360A1 (en) * 2016-10-31 2018-05-03 VoltServer, Inc. Digital Power Multiport Battery Charging System
CN109120029A (en) * 2018-08-14 2019-01-01 Oppo广东移动通信有限公司 charging circuit, electronic equipment, charging management method and storage medium

Patent Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050253560A1 (en) * 2004-05-14 2005-11-17 Vlad Mihail Popescu-Stanesti Power management system
US20080315826A1 (en) * 2007-06-20 2008-12-25 Motorola, Inc. Devices, systems, and methods for group charging of electronic devices
CN103384067A (en) * 2009-02-17 2013-11-06 通用电气公司 Dc plant controller and method for selecting among multiple power sources and dc plant employing the same
US20110039606A1 (en) * 2009-08-12 2011-02-17 Lg Electronics Inc. Mobile terminal and power source controlling method thereof
CN101902065A (en) * 2010-07-15 2010-12-01 上海海洋大学 Compound power supply multi-level voltage output device and multi-power supply selection control method
JP2012253879A (en) * 2011-06-01 2012-12-20 Toyota Industries Corp Charger and charging method
US20120091972A1 (en) * 2011-10-21 2012-04-19 Radoslaw Narel System, charging device, and method of charging a power storage device
CN103092309A (en) * 2011-11-04 2013-05-08 宏碁股份有限公司 Electronic system and power management method
US20130162220A1 (en) * 2011-12-27 2013-06-27 Sanyo Electric Co., Ltd. Non-contact charging method
CN103715723A (en) * 2012-09-28 2014-04-09 联想(北京)有限公司 Charging method, charging circuit and electronic device
CN104823349A (en) * 2012-11-30 2015-08-05 摩托罗拉解决方案公司 Method and apparatus for charging battery using multiple charging sources
DE102014110890A1 (en) * 2013-08-02 2015-02-05 Samsung Electronics Co., Ltd. Memory with dual supply
US20160072317A1 (en) * 2014-09-08 2016-03-10 Avogy, Inc. Method and system for power provisioning
CN105990886A (en) * 2014-11-03 2016-10-05 三星电机株式会社 Non-contact type power transmitting apparatus, non-contact type power receiving apparatus, and non-contact type power transceiving system
US20170255242A1 (en) * 2014-11-20 2017-09-07 Gridless Power Corporation System and method for supplying power to an electronic device
CN107624210A (en) * 2015-05-14 2018-01-23 苹果公司 Dynamic power between multiple physical ports is shared
US20160380455A1 (en) * 2015-06-24 2016-12-29 Apple Inc. Systems and methods for bidirectional two-port battery charging with boost functionality
US20170264122A1 (en) * 2016-03-08 2017-09-14 Apple Inc. Systems and Methods for Simultaneously Charging a Battery with Multiple Power Sources
CN205882808U (en) * 2016-07-01 2017-01-11 Tcl通力电子(惠州)有限公司 Multiport power supply output circuit and battery charging outfit
US20180123360A1 (en) * 2016-10-31 2018-05-03 VoltServer, Inc. Digital Power Multiport Battery Charging System
CN107128187A (en) * 2017-04-12 2017-09-05 宁德时代新能源科技股份有限公司 Power supply system, electric drive device, pure electric vehicle and working method thereof
CN107706972A (en) * 2017-09-30 2018-02-16 湖南海翼电子商务股份有限公司 Power output control method, circuit and charging device for charging device
CN109120029A (en) * 2018-08-14 2019-01-01 Oppo广东移动通信有限公司 charging circuit, electronic equipment, charging management method and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
段敏 等: "电动汽车技术", 北京理工大学出版社, pages: 88 - 89 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111446756A (en) * 2020-04-07 2020-07-24 四川航天系统工程研究所 Double-loop lithium battery charging system
CN113852165A (en) * 2021-09-27 2021-12-28 Oppo广东移动通信有限公司 Electronic equipment, charging connecting wire and wireless charging equipment assembly
CN113852165B (en) * 2021-09-27 2024-05-03 Oppo广东移动通信有限公司 Electronic equipment, charging connecting wire and wireless charging equipment assembly
CN114079320A (en) * 2021-09-28 2022-02-22 宁波萨瑞通讯有限公司 Method for high-current multi-path switching circuit
WO2023185143A1 (en) * 2022-04-01 2023-10-05 荣耀终端有限公司 Terminal device and charging method

Also Published As

Publication number Publication date
CN110943501B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
CN110943501B (en) Charging method, charging control device and electronic equipment
US11368039B2 (en) Battery charging method and electronic device
CN106532882B (en) A kind of charge control method and device
KR102158288B1 (en) Method for charging battery and an electronic device thereof
JP6607669B2 (en) Wireless charging apparatus and charging method thereof
CN108132401A (en) Charge abnormal detection method, device, storage medium and mobile terminal
CN101950999A (en) Wireless charging method, wireless charging receiving device and mobile terminal
CN108233460B (en) Charging method, charging device and terminal equipment
CN106684986A (en) Charging equipment and fast-charging protocol analytic method and system thereof
CN108808765A (en) A kind of charge prompting method and apparatus
CN104716750A (en) Low-energy-consumption wireless power supply method and relevant device and system
US11296531B2 (en) Charging apparatus, charging system and charging control method
CN105762863A (en) Charge method and charge apparatus
CN106385077B (en) Charge control method and device
CN105826962B (en) Poewr control method and device in a kind of charging process
CN103441580A (en) Charging equipment, electronic device and wireless charging system
EP3890150A1 (en) Charging device, device to be charged, charging method, and computer storage medium
CN107046304B (en) Wireless charging method, related device and system
WO2011118673A1 (en) Non-contact power transmission device
CN110518668A (en) For the quick charging system and method for handheld device, handheld device
CN103036276B (en) Charger, terminal, controller, system and charger recognition method
CN105188156A (en) Control method and electronic equipment
CN116022006A (en) BMS system control method and device, electronic equipment and storage medium
CN101677187B (en) Cell system, control method thereof and charger for cell system
TWI449292B (en) High Power Induction Power Supply and Its Biphase Decoding Method

Legal Events

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