CN106972558A - A kind of charge control method and electronic equipment - Google Patents

A kind of charge control method and electronic equipment Download PDF

Info

Publication number
CN106972558A
CN106972558A CN201710188165.XA CN201710188165A CN106972558A CN 106972558 A CN106972558 A CN 106972558A CN 201710188165 A CN201710188165 A CN 201710188165A CN 106972558 A CN106972558 A CN 106972558A
Authority
CN
China
Prior art keywords
power supply
output
supply unit
parameter
interface
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
CN201710188165.XA
Other languages
Chinese (zh)
Other versions
CN106972558B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710188165.XA priority Critical patent/CN106972558B/en
Publication of CN106972558A publication Critical patent/CN106972558A/en
Application granted granted Critical
Publication of CN106972558B publication Critical patent/CN106972558B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/40Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries adapted for charging from various sources, e.g. AC, DC or multivoltage

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention discloses a kind of charge control method and electronic equipment.The electronic equipment has energy storage unit;Methods described includes:Electronic equipment detects first interface and accesses the first power supply unit, and detects second interface the second power supply unit of access;The first output parameter of first power supply unit is obtained by the first interface, and passes through the second output parameter of second interface acquisition second power supply unit;Obtain the input parameter of the energy storage unit;When first output parameter and second output parameter meet preparatory condition, the relatively input parameter and first output parameter, and the relatively input parameter and second output parameter;First power supply unit or second power supply unit are selected based on comparative result, the electric energy transmission link with first power supply unit or second power supply unit is set up.

Description

A kind of charge control method and electronic equipment
Technical field
The present invention relates to charging technique, and in particular to a kind of charge control method and electronic equipment.
Background technology
At present, increasing electronic equipment (such as notebook computer) supports at least two power supply adaptors, i.e. electronics Equipment has at least two power adaptor interfaces, such as direct current (DC) interface and USB c-type (USB Type- C) interface.When at least two power supply adaptors access electronic equipment, it is generally the case that electronic equipment can select power output most Big power supply adaptor is charged.If power output is identical, electronic equipment can select the power supply adaptor accessed at first to enter Row charging.And the power supply adaptor accessed is compared with the power supply adaptor not accessed, in fact it could happen that the problem of charge efficiency is low.
The content of the invention
To solve existing technical problem, set the embodiments of the invention provide a kind of charge control method and electronics It is standby.
To reach above-mentioned purpose, what the technical scheme of the embodiment of the present invention was realized in:
The embodiments of the invention provide a kind of charge control method, applied in electronic equipment, the electronic equipment has Energy storage unit;Methods described includes:
Electronic equipment detects first interface and accesses the first power supply unit, and detects the power supply of second interface access second Equipment;
The first output parameter of first power supply unit is obtained by the first interface, and is connect by described second Mouth obtains the second output parameter of second power supply unit;
Obtain the input parameter of the energy storage unit;
When first output parameter and second output parameter meet preparatory condition, relatively the input parameter and First output parameter, and the relatively input parameter and second output parameter;
First power supply unit or second power supply unit are selected based on comparative result, set up and the described first power supply The electric energy transmission link of equipment or second power supply unit.
In such scheme, first output parameter that first power supply unit is obtained by the first interface, bag Include:The first output voltage and the first output current of first power supply unit are obtained by the first interface;
Accordingly, second output parameter that second power supply unit is obtained by the second interface, including:It is logical Cross the second output voltage and the second output current that the second interface obtains second power supply unit.
In such scheme, first output parameter and second output parameter meet preparatory condition, including:
The first output of first power supply unit is determined based on first output voltage and first output current Power;
The second output of second power supply unit is determined based on second output voltage and second output current Power;
When first power output is consistent with second power output, first output parameter is determined and described Second output parameter meets preparatory condition.
In such scheme, the input parameter for obtaining the energy storage unit, including:Obtain the power storage list The input voltage of member;
It is described to be respectively compared the input parameter and first output parameter, and compare the input parameter and described Second output parameter, including:
Compare the input voltage and first output voltage, obtain the first comparative result;And relatively more described input Voltage and second output voltage, obtain the second comparative result.
It is described that first power supply unit or second power supply unit, bag are selected based on comparative result in such scheme Include:When first comparative result and second comparative result show the input voltage be less than first output voltage, The input voltage is less than second output voltage and the first difference of the input voltage and first output voltage is small When the second difference of the input voltage and second output voltage, first power supply unit is selected;
When first comparative result shows that the input voltage compares knot less than first output voltage, described second When fruit shows that the input voltage is more than second output voltage, first power supply unit is selected.
The embodiment of the present invention additionally provides a kind of electronic equipment, and the electronic equipment at least there is first interface and second to connect Mouthful;The electronic equipment includes:Rechargeable battery and controller;Wherein,
The controller, accesses the first power supply unit, and detect second interface access for detecting first interface Second power supply unit;The first output parameter of first power supply unit is obtained by the first interface, and by described Second interface obtains the second output parameter of second power supply unit;It is additionally operable to obtain the input ginseng of the rechargeable battery Number;When first output parameter and second output parameter meet preparatory condition, compare the input parameter and described First output parameter, and the relatively input parameter and second output parameter;Based on comparative result selection described first Power supply unit or second power supply unit, the electric energy chain with first power supply unit is set up by the first interface Road, or the electric energy transmission link with second power supply unit is set up by the second interface.
In such scheme, the controller, for obtaining the first of first power supply unit by the first interface Output voltage and the first output current;It is additionally operable to obtain the second output electricity of second power supply unit by the second interface Pressure and the second output current.
In such scheme, the controller, for based on first output voltage and first output current determination First power output of first power supply unit;Determined based on second output voltage and second output current described Second power output of the second power supply unit;When first power output is consistent with second power output, institute is determined State the first output parameter and second output parameter meets preparatory condition.
In such scheme, the controller, the input voltage for obtaining the rechargeable battery;
The controller, for comparing the input voltage and first output voltage, obtains the first comparative result;With And compare the input voltage and second output voltage, obtain the second comparative result.
In such scheme, the controller, for showing institute when first comparative result and second comparative result State input voltage and be less than second output voltage and the input electricity less than first output voltage, the input voltage When pressure and the first difference of first output voltage are less than the second difference of the input voltage and second output voltage, Select first power supply unit;When first comparative result show the input voltage be less than first output voltage, When second comparative result shows that the input voltage is more than second output voltage, first power supply unit is selected.
Charge control method and electronic equipment provided in an embodiment of the present invention, the electronic equipment have power storage list Member;Methods described includes:Electronic equipment detects first interface and accesses the first power supply unit, and detects second interface access Second power supply unit;The first output parameter of first power supply unit is obtained by the first interface, and by described Second interface obtains the second output parameter of second power supply unit;Obtain the input parameter of the energy storage unit;When When first output parameter and second output parameter meet preparatory condition, the relatively input parameter and described first defeated Go out parameter, and the relatively input parameter and second output parameter;Set based on comparative result selection first power supply Standby or described second power supply unit, sets up the electric energy transmission link with first power supply unit or second power supply unit. Using the technical scheme of the embodiment of the present invention, corresponding charging adapter is respectively connected to by least two interfaces in electronic equipment In the case of (such as power supply unit) and the power identical of at least two charging adapters, pass through the output to charging adapter The input parameter of the energy storage unit of parameter and electronic equipment is compared, to select suitable adapter to power storage list Member is powered, and greatly improves charge efficiency, reduces the charging interval.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the charge control method of the embodiment of the present invention one;
Fig. 2 is the schematic flow sheet of the charge control method of the embodiment of the present invention two;
Fig. 3 is the schematic flow sheet of the charge control method of the embodiment of the present invention three;
Fig. 4 a and Fig. 4 b are respectively the application schematic diagram of the charge control method of the embodiment of the present invention;
Fig. 5 is the composition structural representation of the electronic equipment of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further detailed explanation.
The embodiments of the invention provide a kind of charge control method.Fig. 1 is the charge control method of the embodiment of the present invention one Schematic flow sheet;As shown in figure 1, methods described includes:
Step 101:Electronic equipment detects first interface and accesses the first power supply unit, and detects second interface access Second power supply unit.
Step 102:The first output parameter of first power supply unit is obtained by the first interface, and passes through institute State the second output parameter that second interface obtains second power supply unit.
Step 103:Obtain the input parameter of energy storage unit.
Step 104:It is relatively described more defeated when first output parameter and second output parameter meet preparatory condition Enter parameter and first output parameter, and the relatively input parameter and second output parameter.
Step 105:First power supply unit or second power supply unit are selected based on comparative result, set up with it is described The electric energy transmission link of first power supply unit or second power supply unit.
The charge control method of the embodiment of the present invention is applied in electronic equipment, and the electronic equipment has power storage list Member, the energy storage unit is specifically as follows rechargeable battery;The electronic equipment also have at least two interfaces, it is described extremely Few two interfaces can be respectively connected to power supply unit, and as a kind of embodiment, at least two interface belongs to different types of Interface, such as a type of interface is DC interfaces, and another type of interface is USB Type-C type interfaces, certainly the present invention The type of interface is not limited to above-mentioned two kinds enumerated in embodiment, and other kinds of charging inlet type is also in the embodiment of the present invention Protection domain within.It is to be understood that electronic equipment can access different types of power supply unit by different types of interface (power supply unit is specifically as follows power supply adaptor), namely electronic equipment support at least two power supply units to power.In reality In the application of border, the electronic equipment can be specifically the mobile device such as notebook computer, mobile phone, tablet personal computer.
In the present embodiment, the first power supply unit is accessed with the first interface of electronic equipment and second interface access second is supplied Illustrated exemplified by electric equipment;Wherein, the first interface and the second interface can have for the electronic equipment to Any two interface in few two interfaces.Then the electronic equipment detects first interface and accesses the first power supply unit and institute State second interface to access after the second power supply unit, the first output for obtaining first power supply unit by the first interface is joined Number, the second output parameter of second power supply unit is obtained by the second interface;Wherein, the first output parameter table Levy the first power supply unit power supply capacity;Accordingly, second output parameter characterizes the power supply of second power supply unit Ability.
In the present embodiment, the electronic equipment also obtains the input parameter of energy storage unit, and the input parameter includes At least one of following parameter:Input voltage, input current, rated power, memory capacity etc..Wherein, when the electric energy is deposited Storage unit is connected by multiple subelements when being formed, after the input parameter of the energy storage unit is the series connection of the multiple subelement Total input parameter, namely total input voltage, total input current, total memory capacity etc. after the series connection of the multiple subelement.
In the present embodiment, judge whether first output parameter and second output parameter meet preparatory condition, have Body includes:Based on first output parameter and second output parameter judge first power supply unit power supply capacity and Whether the power supply capacity of second power supply unit is consistent;When the power supply capacity for judging first power supply unit and described second When the power supply capacity of power supply unit is consistent, show that first output parameter and second output parameter meet preparatory condition.
In the present embodiment, power supply capacity of the electronic equipment in first power supply unit and second power supply unit On the premise of, the relatively input parameter and first output parameter, and relatively more described input parameter and described second defeated Go out parameter;The first parameter for characterizing difference degree between the input parameter and first output parameter is obtained, and is obtained Characterize the second parameter of difference degree between the input parameter and second output parameter;When first parameter is less than institute When stating the second parameter, show the input parameter of the first output parameter of first power supply unit and the energy storage unit most It is close, then first power supply unit is selected, the electric energy transmission link with first power supply unit is set up, so that described first Power supply unit is powered for the energy storage unit of the electronic equipment;When first parameter is more than second parameter, table The input parameter of the second output parameter and the energy storage unit of bright second power supply unit is closest, then selects described Second power supply unit, sets up the electric energy transmission link with second power supply unit, so that second power supply unit is described The energy storage unit of electronic equipment is powered.When first parameter is equal to second parameter, show first power supply The output parameter of equipment and second power supply unit quite, can select first power supply unit and described according to preset rules Any power supply unit in second power supply unit is powered for the energy storage unit of the electronic equipment;Wherein, the default rule It can be then the power supply unit first accessed according to time order and function sequential selection.It should be noted that selected first power supply is set The power supply capacity of standby or the second power supply unit need to meet the input parameter of the energy storage unit, described the first of such as selection The output parameter of power supply unit or the second power supply unit need to be more than or equal to the input parameter of the energy storage unit, to meet State the charge requirement of energy storage unit.
Using the technical scheme of the embodiment of the present invention, corresponding fill is respectively connected to by least two interfaces in electronic equipment In the case of Electric adapter (such as power supply unit) and the power identical of at least two charging adapters, by adaptive charging The input parameter of the output parameter of device and the energy storage unit of electronic equipment is compared, to select suitable adapter to electricity Energy memory cell is powered, and is greatly improved charge efficiency, is reduced the charging interval.
Embodiment two
The embodiment of the present invention additionally provides a kind of charge control method.Fig. 2 is the charge control side of the embodiment of the present invention one The schematic flow sheet of method;As shown in Fig. 2 methods described includes:
Step 201:Electronic equipment detects first interface and accesses the first power supply unit, and detects second interface access Second power supply unit.
Step 202:The first output voltage and the first output of first power supply unit are obtained by the first interface Electric current, and, the second output voltage and the second output current of second power supply unit are obtained by the second interface.
Step 203:Obtain the input voltage of energy storage unit.
Step 204:First power supply unit is determined based on first output voltage and first output current First power output, and, second power supply unit is determined based on second output voltage and second output current The second power output.
Step 205:When first power output is consistent with second power output, relatively the input voltage and First output voltage, obtains the first comparative result;And compare the input voltage and second output voltage, obtain Second comparative result.
Step 206:When first comparative result and second comparative result show the input voltage less than described First output voltage, the input voltage are less than second output voltage and the input voltage and the first output electricity When first difference of pressure is less than the second difference of the input voltage and second output voltage, first power supply is selected to set It is standby, set up the electric energy transmission link with first power supply unit.
The charge control method of the embodiment of the present invention is applied in electronic equipment, and the electronic equipment has power storage list Member, the energy storage unit is specifically as follows rechargeable battery;The electronic equipment also have at least two interfaces, it is described extremely Few two interfaces can be respectively connected to power supply unit, and as a kind of embodiment, at least two interface belongs to different types of Interface, such as a type of interface is DC interfaces, and another type of interface is USB Type-C type interfaces, certainly the present invention The type of interface is not limited to above-mentioned two kinds enumerated in embodiment, and other kinds of charging inlet type is also in the embodiment of the present invention Protection domain within.It is to be understood that electronic equipment can access different types of power supply unit by different types of interface (power supply unit is specifically as follows power supply adaptor), namely electronic equipment support at least two power supply units to power.In reality In the application of border, the electronic equipment can be specifically the mobile device such as notebook computer, mobile phone, tablet personal computer.
In the present embodiment, the first power supply unit is accessed with the first interface of electronic equipment and second interface access second is supplied Illustrated exemplified by electric equipment;Wherein, the first interface and the second interface can have for the electronic equipment to Any two interface in few two interfaces.Then the electronic equipment detects first interface and accesses the first power supply unit and institute State second interface to access after the second power supply unit, the first output for obtaining first power supply unit by the first interface is joined Number, first output parameter includes the first output voltage and the first output current;Described the is obtained by the second interface Second output parameter of two power supply units, second output parameter includes the second output voltage and the second output current.
In the present embodiment, the electronic equipment also obtains the input voltage of energy storage unit.When the power storage list Member is connected by multiple subelements when being formed, the input voltage of the energy storage unit connected for the multiple subelement after it is total Input voltage.
In the present embodiment, first output voltage and first output current of the electronic equipment based on acquisition determine institute The first power output of the first power supply unit is stated, second output voltage and second output current based on acquisition are determined Second power output of second power supply unit, and it is consistent with second power output in first power output When, namely held in the case where the power supply capacity of first power supply unit is consistent with the power supply capacity of second power supply unit Row following technical scheme of the embodiment of the present invention.
In the present embodiment, the electronic equipment is respectively by the input parameter of the energy storage unit and the described first power supply First output parameter of equipment and the second output parameter of the second power supply unit are compared, including:Compare the input voltage With first output voltage, the first comparative result is obtained;And compare the input voltage and second output voltage, obtain Obtain the second comparative result.Selection can either meet the electric energy and deposit in first comparative result and second comparative result The input voltage of storage unit and the power supply unit minimum with the input voltage difference of the energy storage unit.In this embodiment party In formula, when first input voltage and second input voltage are all higher than the input voltage, namely first power supply When equipment and second power supply unit disclosure satisfy that the charge requirement of the energy storage unit, if first power supply is set First difference of the first standby output voltage and the input voltage of the energy storage unit is less than the input voltage and described During the second difference of the second output voltage, show the voltage differences of first power supply unit and the energy storage unit most It is small, then first power supply unit is selected as the power supply unit of the energy storage unit, is set up and is set with the described first power supply Standby electric energy transmission link, so that first power supply unit is powered for the energy storage unit of the electronic equipment.
Using the technical scheme of the embodiment of the present invention, corresponding fill is respectively connected to by least two interfaces in electronic equipment In the case of Electric adapter (such as power supply unit) and the power identical of at least two charging adapters, by adaptive charging The input parameter of the output parameter of device and the energy storage unit of electronic equipment is compared, to select suitable adapter to electricity Energy memory cell is powered, and is greatly improved charge efficiency, is reduced the charging interval.
Embodiment three
The embodiment of the present invention additionally provides a kind of charge control method.Fig. 3 is the charge control side of the embodiment of the present invention three The schematic flow sheet of method;As shown in figure 3, methods described includes:
Step 301:Electronic equipment detects first interface and accesses the first power supply unit, and detects second interface access Second power supply unit.
Step 302:The first output voltage and the first output of first power supply unit are obtained by the first interface Electric current, and, the second output voltage and the second output current of second power supply unit are obtained by the second interface.
Step 303:Obtain the input voltage of energy storage unit.
Step 304:First power supply unit is determined based on first output voltage and first output current First power output, and, second power supply unit is determined based on second output voltage and second output current The second power output.
Step 305:When first power output is consistent with second power output, relatively the input voltage and First output voltage, obtains the first comparative result;And compare the input voltage and second output voltage, obtain Second comparative result.
Step 306:When first comparative result shows that the input voltage is less than first output voltage, described the When two comparative results show that the input voltage is more than second output voltage, select first power supply unit, set up with The electric energy transmission link of first power supply unit.
The charge control method of the embodiment of the present invention is applied in electronic equipment, and the electronic equipment has power storage list Member, the energy storage unit is specifically as follows rechargeable battery;The electronic equipment also have at least two interfaces, it is described extremely Few two interfaces can be respectively connected to power supply unit, and as a kind of embodiment, at least two interface belongs to different types of Interface, such as a type of interface is DC interfaces, and another type of interface is USB Type-C type interfaces, certainly the present invention The type of interface is not limited to above-mentioned two kinds enumerated in embodiment, and other kinds of charging inlet type is also in the embodiment of the present invention Protection domain within.It is to be understood that electronic equipment can access different types of power supply unit by different types of interface (power supply unit is specifically as follows power supply adaptor), namely electronic equipment support at least two power supply units to power.In reality In the application of border, the electronic equipment can be specifically the mobile device such as notebook computer, mobile phone, tablet personal computer.
In the present embodiment, the first power supply unit is accessed with the first interface of electronic equipment and second interface access second is supplied Illustrated exemplified by electric equipment;Wherein, the first interface and the second interface can have for the electronic equipment to Any two interface in few two interfaces.Then the electronic equipment detects first interface and accesses the first power supply unit and institute State second interface to access after the second power supply unit, the first output for obtaining first power supply unit by the first interface is joined Number, first output parameter includes the first output voltage and the first output current;Described the is obtained by the second interface Second output parameter of two power supply units, second output parameter includes the second output voltage and the second output current.
In the present embodiment, the electronic equipment also obtains the input voltage of energy storage unit.When the power storage list Member is connected by multiple subelements when being formed, the input voltage of the energy storage unit connected for the multiple subelement after it is total Input voltage.
In the present embodiment, first output voltage and first output current of the electronic equipment based on acquisition determine institute The first power output of the first power supply unit is stated, second output voltage and second output current based on acquisition are determined Second power output of second power supply unit, and it is consistent with second power output in first power output When, namely held in the case where the power supply capacity of first power supply unit is consistent with the power supply capacity of second power supply unit Row following technical scheme of the embodiment of the present invention.
In the present embodiment, the electronic equipment is respectively by the input parameter of the energy storage unit and the described first power supply First output parameter of equipment and the second output parameter of the second power supply unit are compared, including:Compare the input voltage With first output voltage, the first comparative result is obtained;And compare the input voltage and second output voltage, obtain Obtain the second comparative result.Selection can either meet the electric energy and deposit in first comparative result and second comparative result The input voltage of storage unit and the power supply unit minimum with the input voltage difference of the energy storage unit.In this embodiment party In formula, when first input voltage, more than the input voltage, second input voltage is less than the input voltage, table Bright first power supply unit disclosure satisfy that the charge requirement of the energy storage unit, and second power supply unit can not The power demands of the energy storage unit are met, then select first power supply unit as the confession of the energy storage unit Electric equipment, sets up the electric energy transmission link with first power supply unit, is set so that first power supply unit is the electronics Standby energy storage unit is powered.
Using the technical scheme of the embodiment of the present invention, corresponding fill is respectively connected to by least two interfaces in electronic equipment In the case of Electric adapter (such as power supply unit) and the power identical of at least two charging adapters, by adaptive charging The input parameter of the output parameter of device and the energy storage unit of electronic equipment is compared, to select suitable adapter to electricity Energy memory cell is powered, and is greatly improved charge efficiency, is reduced the charging interval.
The charge control method of the embodiment of the present invention is illustrated with reference to specific application scenarios.With electronic equipment Exemplified by being specially power supply adaptor for notebook computer, power supply unit, the power supply adaptor is for example including the first power adaptation Battery in device (output parameter is 20V*2.25A) and second source adapter (output parameter is 15V*3A), notebook computer Concatenate to be formed specifically by least one sub- battery modules, wherein, the voltage of every sub- battery modules is about 4.35V, works as pen Remember that the battery in this computer is concatenated by two sub- battery modules when being formed, then the voltage of battery is about 8.7V;Accordingly, notes are worked as Battery in this computer is concatenated by three sub- battery modules when being formed, then the voltage of battery is about 13.05V;Work as notebook computer In battery concatenated by four sub- battery modules when being formed, then the voltage of battery is about 17.4V.
Fig. 4 a and Fig. 4 b are respectively the application schematic diagram of the charge control method of the embodiment of the present invention;As shown in fig. 4 a, exist In this application scene, when battery is concatenated when being formed by two sub- battery modules or three sub- battery modules, then second source is selected Adapter (output parameter is 15V*3A) charges as the power supply unit of notebook computer for battery.As shown in Figure 4 b, battery is worked as Concatenated by four sub- battery modules when being formed, because the voltage of battery is about 17.4V, the output voltage of second source adapter is small In the voltage of the battery, the charge requirement of battery is unsatisfactory for, then selecting the first power supply adaptor, (output parameter is 20V* 2.25A) charged as the power supply unit of notebook computer for battery.
Example IV
The embodiment of the present invention additionally provides a kind of electronic equipment.Fig. 5 is the composition knot of the electronic equipment of the embodiment of the present invention Structure schematic diagram, as shown in figure 5, the electronic equipment at least has first interface 41 and second interface 42;The electronic equipment bag Include:Rechargeable battery 44 and controller 43;Wherein,
The controller 43, accesses the first power supply unit, and detect second interface for detecting first interface 41 42 the second power supply units of access;The first output parameter of first power supply unit is obtained by the first interface 41, and The second output parameter of second power supply unit is obtained by the second interface 42;It is additionally operable to obtain the rechargeable battery 44 input parameter;When first output parameter and second output parameter meet preparatory condition, relatively more described input Parameter and first output parameter, and the relatively input parameter and second output parameter;Based on comparative result choosing First power supply unit or second power supply unit are selected, is set up and first power supply unit by the first interface 41 Electric energy transmission link, or pass through the second interface 42 and set up and the electric energy transmission link of second power supply unit.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join Understand, each processing unit in the electronic equipment of the embodiment of the present invention according to the associated description of foregoing charge control method, can pass through Realize the analog circuit of the function described in the embodiment of the present invention and realize, can also be by performing the work(described in the embodiment of the present invention Can operation of the software on intelligent terminal and realize.
Embodiment five
The embodiment of the present invention additionally provides a kind of electronic equipment.As shown in figure 5, the electronic equipment at least has first to connect Mouth 41 and second interface 42;The electronic equipment includes:Rechargeable battery 44 and controller 43;Wherein,
The controller 43, accesses the first power supply unit, and detect second interface for detecting first interface 41 42 the second power supply units of access;The first output voltage and first of first power supply unit is obtained by the first interface 41 Output current;The second output voltage and the second output current of second power supply unit are obtained by the second interface 42; It is additionally operable to obtain the input voltage of the rechargeable battery 44;It is additionally operable to based on first output voltage and first output Electric current determines the first power output of first power supply unit;Based on second output voltage and second output current Determine the second power output of second power supply unit;When first power output is consistent with second power output When, compare the input voltage and first output voltage, obtain the first comparative result;And relatively the input voltage and Second output voltage, obtains the second comparative result;When first comparative result and second comparative result show institute State input voltage and be less than second output voltage and the input electricity less than first output voltage, the input voltage When pressure and the first difference of first output voltage are less than the second difference of the input voltage and second output voltage, First power supply unit is selected, the electric energy transmission link with first power supply unit is set up by the first interface 41.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join Understand, each processing unit in the electronic equipment of the embodiment of the present invention according to the associated description of foregoing charge control method, can pass through Realize the analog circuit of the function described in the embodiment of the present invention and realize, can also be by performing the work(described in the embodiment of the present invention Can operation of the software on intelligent terminal and realize.
Embodiment six
The embodiment of the present invention additionally provides a kind of electronic equipment.As shown in figure 5, the electronic equipment at least has first to connect Mouth 41 and second interface 42;The electronic equipment includes:Rechargeable battery 44 and controller 43;Wherein,
The controller 43, accesses the first power supply unit, and detect second interface for detecting first interface 41 42 the second power supply units of access;The first output voltage and first of first power supply unit is obtained by the first interface 41 Output current;The second output voltage and the second output current of second power supply unit are obtained by the second interface 42; It is additionally operable to obtain the input voltage of the rechargeable battery 44;It is additionally operable to based on first output voltage and first output Electric current determines the first power output of first power supply unit;Based on second output voltage and second output current Determine the second power output of second power supply unit;When first power output is consistent with second power output When, compare the input voltage and first output voltage, obtain the first comparative result;And relatively the input voltage and Second output voltage, obtains the second comparative result;When first comparative result shows the input voltage less than described When first output voltage, second comparative result show that the input voltage is more than second output voltage, selection is described First power supply unit, the electric energy transmission link with first power supply unit is set up by the first interface 41.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join Understand, each processing unit in the electronic equipment of the embodiment of the present invention according to the associated description of foregoing charge control method, can pass through Realize the analog circuit of the function described in the embodiment of the present invention and realize, can also be by performing the work(described in the embodiment of the present invention Can operation of the software on intelligent terminal and realize.
The embodiment of the present invention four is into embodiment six, the controller 43 in the electronic equipment, in actual applications By the central processing unit (CPU, Central Processing Unit) in the electronic equipment, digital signal processor (DSP, Digital Signal Processor), micro-control unit (MCU, MicrocontrollerUnit) or programmable gate array (FPGA, Field-Programmable Gate Array) is realized;First interface 41 and second in the electronic equipment connect Mouthfuls 42, in actual applications can communications module (including Base communication external member, operating system, the communication in the electronic equipment Module, standard interface and agreement etc.) realize;Rechargeable battery 44 in the electronic equipment can be by the electronic equipment Energy-storage battery realize.
, can be by it in several embodiments provided herein, it should be understood that disclosed apparatus and method Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, is only A kind of division of logic function, can have other dividing mode, such as when actually realizing:Multiple units or component can be combined, or Another system is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed each composition portion Coupling point each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs of equipment or unit by some interfaces Or communication connection, can be electrical, machinery or other forms.
The above-mentioned unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can positioned at a place, can also be distributed to multiple network lists In member;Part or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used Be each unit individually as a unit, can also two or more units it is integrated in a unit;It is above-mentioned Integrated unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:It is movable storage device, read-only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Or, if the above-mentioned integrated unit of the present invention is realized using in the form of software function module and is used as independent product Sale in use, can also be stored in a computer read/write memory medium.Understood based on such, the present invention is implemented The part that the technical scheme of example substantially contributes to prior art in other words can be embodied in the form of software product, The computer software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be with It is personal computer, server or network equipment etc.) perform all or part of each of the invention embodiment methods described. And foregoing storage medium includes:Movable storage device, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of charge control method, applied in electronic equipment, the electronic equipment has energy storage unit;Its feature exists In methods described includes:
Electronic equipment detect first interface access the first power supply unit, and detect second interface access second power supply set It is standby;
The first output parameter of first power supply unit is obtained by the first interface, and is obtained by the second interface Obtain the second output parameter of second power supply unit;
Obtain the input parameter of the energy storage unit;
When first output parameter and second output parameter meet preparatory condition, compare the input parameter and described First output parameter, and the relatively input parameter and second output parameter;
First power supply unit or second power supply unit are selected based on comparative result, set up and first power supply unit Or the electric energy transmission link of second power supply unit.
2. according to the method described in claim 1, it is characterised in that described that first power supply is obtained by the first interface First output parameter of equipment, including:
The first output voltage and the first output current of first power supply unit are obtained by the first interface;
Accordingly, second output parameter that second power supply unit is obtained by the second interface, including:
The second output voltage and the second output current of second power supply unit are obtained by the second interface.
3. method according to claim 2, it is characterised in that first output parameter and second output parameter are full Sufficient preparatory condition, including:
The first power output of first power supply unit is determined based on first output voltage and first output current;
The second power output of second power supply unit is determined based on second output voltage and second output current;
When first power output is consistent with second power output, first output parameter and described second are determined Output parameter meets preparatory condition.
4. method according to claim 2, it is characterised in that the input parameter of the acquisition energy storage unit, Including:
Obtain the input voltage of the energy storage unit;
It is described to be respectively compared the input parameter and first output parameter, and relatively more described input parameter and described second Output parameter, including:
Compare the input voltage and first output voltage, obtain the first comparative result;And relatively more described input voltage With second output voltage, the second comparative result is obtained.
5. method according to claim 4, it is characterised in that described that first power supply unit is selected based on comparative result Or second power supply unit, including:
When first comparative result and second comparative result show the input voltage be less than first output voltage, The input voltage is less than second output voltage and the first difference of the input voltage and first output voltage is small When the second difference of the input voltage and second output voltage, first power supply unit is selected;
When first comparative result shows that the input voltage is less than first output voltage, the second comparative result table When the bright input voltage is more than second output voltage, first power supply unit is selected.
6. a kind of electronic equipment, it is characterised in that the electronic equipment at least has first interface and second interface;The electronics Equipment includes:Rechargeable battery and controller;Wherein,
The controller, accesses the first power supply unit, and detect second interface access second for detecting first interface Power supply unit;The first output parameter of first power supply unit is obtained by the first interface, and passes through described second Interface obtains the second output parameter of second power supply unit;It is additionally operable to obtain the input parameter of the rechargeable battery;When When first output parameter and second output parameter meet preparatory condition, the relatively input parameter and described first defeated Go out parameter, and the relatively input parameter and second output parameter;Set based on comparative result selection first power supply Standby or described second power supply unit, the electric energy transmission link with first power supply unit is set up by the first interface, or Electric energy transmission link with second power supply unit is set up by the second interface.
7. electronic equipment according to claim 6, it is characterised in that the controller, for passing through the first interface Obtain the first output voltage and the first output current of first power supply unit;It is additionally operable to obtain institute by the second interface State the second output voltage and the second output current of the second power supply unit.
8. electronic equipment according to claim 7, it is characterised in that the controller, for based on the described first output Voltage and first output current determine the first power output of first power supply unit;Based on second output voltage The second power output of second power supply unit is determined with second output current;When first power output and described When second power output is consistent, determine that first output parameter and second output parameter meet preparatory condition.
9. electronic equipment according to claim 7, it is characterised in that the controller, for obtaining the chargeable electricity The input voltage in pond;
The controller, for comparing the input voltage and first output voltage, obtains the first comparative result;And ratio The input voltage and second output voltage, obtain the second comparative result.
10. electronic equipment according to claim 9, it is characterised in that the controller, for comparing knot when described first Fruit and second comparative result show that the input voltage is less than first output voltage, the input voltage less than described First difference of the second output voltage and the input voltage and first output voltage is less than the input voltage and described During the second difference of the second output voltage, first power supply unit is selected;When first comparative result shows the input Voltage is less than first output voltage, second comparative result and shows that the input voltage is more than second output voltage When, select first power supply unit.
CN201710188165.XA 2017-03-27 2017-03-27 Charging control method and electronic equipment Active CN106972558B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710188165.XA CN106972558B (en) 2017-03-27 2017-03-27 Charging control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710188165.XA CN106972558B (en) 2017-03-27 2017-03-27 Charging control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106972558A true CN106972558A (en) 2017-07-21
CN106972558B CN106972558B (en) 2019-12-31

Family

ID=59335464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710188165.XA Active CN106972558B (en) 2017-03-27 2017-03-27 Charging control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106972558B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110380469A (en) * 2019-06-28 2019-10-25 联想(北京)有限公司 Electronic equipment and method of supplying power to
CN110380475A (en) * 2019-07-16 2019-10-25 合肥联宝信息技术有限公司 The method of supplying power to and power supply unit of a kind of electronic equipment
CN116780723A (en) * 2023-08-18 2023-09-19 合肥联宝信息技术有限公司 Power supply control method and system and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997323A (en) * 2009-08-05 2011-03-30 通用汽车环球科技运作公司 Charging system with galvanic isolation and multiple operating modes
WO2012167677A1 (en) * 2011-06-09 2012-12-13 中兴通讯股份有限公司 Device and method for communication and charging for external device via usb interface
CN203623840U (en) * 2013-12-02 2014-06-04 陕西理工学院 Multifunctional vehicle power supply for outdoor sports bicycle
CN103904712A (en) * 2012-12-27 2014-07-02 联想(北京)有限公司 Electronic device and power supply method thereof
CN104167793A (en) * 2014-08-19 2014-11-26 上海天奕达电子科技有限公司 Charging system and method of handheld terminal
CN204030645U (en) * 2014-06-12 2014-12-17 惠州市德赛工业发展有限公司 The charging circuit of portable power source
CN204243832U (en) * 2014-12-05 2015-04-01 重庆蓝岸通讯技术有限公司 A kind of charging and output compatible multiplex roles charging circuit
CN105591430A (en) * 2015-12-31 2016-05-18 深圳市华思旭科技有限公司 Intelligent wire-connection control device
CN205544368U (en) * 2016-01-21 2016-08-31 易事特集团股份有限公司 Take two -way current detection circuit's uninterrupted power source
WO2016210157A1 (en) * 2015-06-24 2016-12-29 Apple Inc. Systems and methods for bidirectional two-port battery charging with boost functionality

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997323A (en) * 2009-08-05 2011-03-30 通用汽车环球科技运作公司 Charging system with galvanic isolation and multiple operating modes
WO2012167677A1 (en) * 2011-06-09 2012-12-13 中兴通讯股份有限公司 Device and method for communication and charging for external device via usb interface
CN103904712A (en) * 2012-12-27 2014-07-02 联想(北京)有限公司 Electronic device and power supply method thereof
CN203623840U (en) * 2013-12-02 2014-06-04 陕西理工学院 Multifunctional vehicle power supply for outdoor sports bicycle
CN204030645U (en) * 2014-06-12 2014-12-17 惠州市德赛工业发展有限公司 The charging circuit of portable power source
CN104167793A (en) * 2014-08-19 2014-11-26 上海天奕达电子科技有限公司 Charging system and method of handheld terminal
CN204243832U (en) * 2014-12-05 2015-04-01 重庆蓝岸通讯技术有限公司 A kind of charging and output compatible multiplex roles charging circuit
WO2016210157A1 (en) * 2015-06-24 2016-12-29 Apple Inc. Systems and methods for bidirectional two-port battery charging with boost functionality
CN105591430A (en) * 2015-12-31 2016-05-18 深圳市华思旭科技有限公司 Intelligent wire-connection control device
CN205544368U (en) * 2016-01-21 2016-08-31 易事特集团股份有限公司 Take two -way current detection circuit's uninterrupted power source

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110380469A (en) * 2019-06-28 2019-10-25 联想(北京)有限公司 Electronic equipment and method of supplying power to
CN110380475A (en) * 2019-07-16 2019-10-25 合肥联宝信息技术有限公司 The method of supplying power to and power supply unit of a kind of electronic equipment
CN116780723A (en) * 2023-08-18 2023-09-19 合肥联宝信息技术有限公司 Power supply control method and system and electronic equipment
CN116780723B (en) * 2023-08-18 2023-11-28 合肥联宝信息技术有限公司 Power supply control method and system and electronic equipment

Also Published As

Publication number Publication date
CN106972558B (en) 2019-12-31

Similar Documents

Publication Publication Date Title
CN100403620C (en) A method and device for using photovoltaic battery self-adapted serial and parallel charging
CN101282045A (en) Battery charging apparatus as well as control method thereof
US20120104994A1 (en) Sink current adaptation based on power supply detection
CN106972558A (en) A kind of charge control method and electronic equipment
CN106330467A (en) Ethernet power supply method, power supply device and power supply equipment
CN106329630B (en) A kind of charging method and device
TW201128903A (en) Lithium battery module
CN105048018B (en) The charging method and device of a kind of terminal with data exchanging function
CN104485712B (en) Charging method and electronic equipment
CN107134819A (en) The charging/discharging thereof of portable power source, charge-discharge system and charge-discharge system
CN201717658U (en) Power supply circuit of mobile phone
CN109148986A (en) A kind of charging method and device
CN204376473U (en) Portable power source
CN104124718B (en) Electric supply installation and method of supplying power to
CN113612294B (en) Charging control method and system for battery cabinet with solar energy-saving system
CN105932730B (en) Cell phone charging circuit, mobile phone, mobile phone charging method
EP3258567B1 (en) Self-loop detection method and apparatus for charging device
CN107221989A (en) A kind of method for suppressing temperature rise, computer-readable recording medium, communication equipment
CN101527003A (en) Data card and method for supplying power by data card
CN210327059U (en) Multifunctional charging and discharging device
CN101202352B (en) Backup battery
CN102097846B (en) Nickel-metal hydride battery pack charging device
CN206922442U (en) Portable power source and charge-discharge system
CN106329628A (en) Charging method and device
CN205595864U (en) Cell -phone charging circuit , cell -phone

Legal Events

Date Code Title Description
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