CN106067571A - Method and electronic equipment for battery charging - Google Patents

Method and electronic equipment for battery charging Download PDF

Info

Publication number
CN106067571A
CN106067571A CN201610587165.2A CN201610587165A CN106067571A CN 106067571 A CN106067571 A CN 106067571A CN 201610587165 A CN201610587165 A CN 201610587165A CN 106067571 A CN106067571 A CN 106067571A
Authority
CN
China
Prior art keywords
charge mode
charger
instruction
charge
charging
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
CN201610587165.2A
Other languages
Chinese (zh)
Other versions
CN106067571B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610587165.2A priority Critical patent/CN106067571B/en
Publication of CN106067571A publication Critical patent/CN106067571A/en
Application granted granted Critical
Publication of CN106067571B publication Critical patent/CN106067571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The disclosure is directed to a kind of method for battery charging and electronic equipment.The method is applied in electronic equipment, and this electronic equipment includes charging inlet and battery, and the method includes: in the case of detecting that charger is connected to described charging inlet, determine the charge mode that described charger is supported;Determine target charge mode, the charge efficiency of described target charge mode higher than described charger support charge mode in addition to described target charge mode the charge efficiency of remaining charge mode;Controlling described charger according to described target charge mode is the charging of described battery.Owing to target charge mode is the highest charge mode of charge efficiency in the charge mode supported of charger, so improve charge efficiency.

Description

Method and electronic equipment for battery charging
Technical field
It relates to electric energy management field, particularly relate to a kind of method for battery charging and electronic equipment.
Background technology
Along with the development of electronic technology, increasing electronic equipment occurs in work and the life of people, such as: intelligence Can mobile phone, panel computer, Intelligent bracelet etc..The work appearing as people of these electronic equipments and life bring facility, because of This, these electronic equipments are increasingly becoming in the work of people and life becomes indispensable instrument.
Electric energy is the necessary requirement that electronic equipment runs, and electronic equipment is usually provided with battery, for storing electrical energy, electricity In pond, the electric energy of savings can be consumed along with the operation of electronic equipment, and the dump energy of battery can be along with the use of electronic equipment The increase of duration and reduce.Electronic equipment is after use after a while, and the dump energy of battery is likely to reduced and is not enough to Ensure electronic equipment run duration reach it is intended that duration, even less than run with drive electronics, cause electronics Equipment automatic shutdown or cannot be started up, work and life for people are made troubles.
If able to charge in time for the less battery of dump energy, then above-mentioned situation can be avoided to occur.Therefore, how The problem needing to solve is become for quickly charging battery.
Summary of the invention
For overcoming problem present in correlation technique, the disclosure provides a kind of method for battery charging and electronic equipment, Improve charge efficiency.
First aspect according to disclosure embodiment, it is provided that a kind of method for battery charging, is applied in electronic equipment, Described electronic equipment includes charging inlet and described battery, and described method includes:
In the case of detecting that charger is connected to described charging inlet, determine the charging mould that described charger is supported Formula;
Determine target charge mode, the charging mould that the charge efficiency of described target charge mode is supported higher than described charger In formula in addition to described target charge mode the charge efficiency of remaining charge mode;
Controlling described charger according to described target charge mode is the charging of described battery.
Alternatively, the described charge mode determining that described charger is supported, including:
Preset charged instruction is sent to described charger;
In the case of preset charged instruction described in described charger executed being detected, determine that described preset charged instructs Corresponding preset charged pattern is the charge mode that described charger is supported.
Alternatively, the instruction of described preset charged includes that the first quick charge instruction, USB charging instruction and second are quickly filled One in electricity instruction;
The described charge mode determining that described charger is supported, including:
The first quick charge instruction is sent to described charger;
In the case of the first quick charge instruction described in described charger executed being detected, determine that described charger props up The charge mode held includes first fast charge mode corresponding with described first quick charge instruction;
In the case of detecting that described charger is not carried out described first quick charge instruction, send to described charger USB electric power transmission PD charging instruction;
In the case of USB PD charging instruction described in described charger executed being detected, determine described charger support Charge mode include the USB PD charge mode corresponding with described USB PD charging instruction;
In the case of detecting that described charger is not carried out described USB PD charging instruction, send the to described charger Two quick charge instructions;
In the case of the second quick charge instruction described in described charger executed being detected, determine that described charger props up The charge mode held includes second fast charge mode corresponding with described second quick charge instruction.
Alternatively, described from the charge mode that described charger is supported, determine target charge mode, including:
Determining the priority orders of described preset charged pattern, described first fast charge mode, described USB PD charge The priority of pattern and described second fast charge mode reduces successively;
The charge mode supported at described charger includes the first fast charge mode, the second fast charge mode and USB During at least two in PD charge mode, according to described priority orders, determine described target charge mode.
Alternatively, described from the charge mode that described charger is supported, determine target charge mode, including:
The charge mode supported at described charger do not include the first fast charge mode, the second fast charge mode and During any one in USB PD charge mode, determine that the acquiescence charge mode of described charger support is that described target is charged mould Formula.
Second aspect according to disclosure embodiment, it is provided that a kind of device for battery charging, described device is configured in In electronic equipment, described electronic equipment includes charging inlet and described battery, and described device includes:
First determines module, is configured to: in the case of detecting that charger is connected to described charging inlet, determine institute State the charge mode that charger is supported;
Second determines module, is configured to: determine that target charge mode, the charge efficiency of described target charge mode are higher than Described charger support charge mode in addition to described target charge mode the charge efficiency of remaining charge mode;
Control module, is configured to: controlling described charger is that described battery fills according to described target charge mode Electricity.
Alternatively, described first determines that module includes:
Send submodule, be configured to: send preset charged instruction to described charger;
First determines submodule, is configured to: the feelings of preset charged instruction described in described charger executed detected Under condition, determine the charge mode that preset charged pattern is the support of described charger that the instruction of described preset charged is corresponding.
Alternatively, the instruction of described preset charged includes that the first quick charge instruction, USB charging instruction and second are quickly filled One in electricity instruction;
Described first determines that module includes:
First sends submodule, is configured to: send the first quick charge instruction to described charger;
First charge mode determines submodule, is configured to: detecting described in described charger executed that first is quick In the case of charging instruction, determine that the charge mode of described charger support includes corresponding with described first quick charge instruction First fast charge mode;
Second sends submodule, is configured to: detecting that described charger is not carried out described first quick charge instruction In the case of, send USB electric power transmission PD charging instruction to described charger;
Second charge mode determines submodule, is configured to: detecting that USB PD described in described charger executed fills In the case of electricity instruction, determine that the charge mode of described charger support includes the USB corresponding with described USB PD charging instruction PD charge mode;
3rd sends submodule, is configured to: detecting that described charger is not carried out described USB PD charging instruction In the case of, send the second quick charge instruction to described charger;
3rd charge mode determines submodule, is configured to: detecting described in described charger executed that second is quick In the case of charging instruction, determine that the charge mode of described charger support includes corresponding with described second quick charge instruction Second fast charge mode.
Alternatively, described second determines that module includes:
Priority orders determines submodule, is configured to: determine the priority orders of described preset charged pattern, described The priority of one fast charge mode, described USB PD charge mode and described second fast charge mode reduces successively;
Second determines submodule, is configured to: the charge mode supported at described charger includes the first quick charge mould During at least two in formula, the second fast charge mode and USB PD charge mode, according to described priority orders, determine institute State target charge mode.
Alternatively, described second determines that module includes:
3rd determines submodule, is configured to: the charge mode supported at described charger does not includes the first quick charge During any one in pattern, the second fast charge mode and USB PD charge mode, determine that the acquiescence of described charger support is filled Power mode is described target charge mode.
The third aspect according to disclosure embodiment, it is provided that a kind of device for battery charging, described device is configured in In electronic equipment, described electronic equipment includes charging inlet and described battery, and described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
In the case of detecting that charger is connected to described charging inlet, determine the charging mould that described charger is supported Formula;
Determine target charge mode, the charging mould that the charge efficiency of described target charge mode is supported higher than described charger In formula in addition to described target charge mode the charge efficiency of remaining charge mode;
Controlling described charger according to described target charge mode is the charging of described battery.
Fourth aspect according to disclosure embodiment, it is provided that a kind of non-transitory computer-readable recording medium, when described In storage medium instruction by electronic equipment processor perform time so that electronic equipment be able to carry out a kind of for battery charging Method, described method includes:
In the case of detecting that charger is connected to described charging inlet, determine the charging mould that described charger is supported Formula;
Determine target charge mode, the charging mould that the charge efficiency of described target charge mode is supported higher than described charger In formula in addition to described target charge mode the charge efficiency of remaining charge mode;
Controlling described charger according to described target charge mode is the charging of described battery.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
Using the technical scheme for battery charging that the disclosure provides, electronic equipment controls charger and charges mould according to target Formula is battery charging, owing to target charge mode is the highest charge mode of charge efficiency in the charge mode supported of charger, So improve charge efficiency.
Further, the charge mode that different chargers is supported is different, and correspondingly, target charge mode is the most different, In the case of different chargers is connected to the charging inlet of electronic equipment, electronic equipment controls charger according to different targets Charge mode is battery charging.Therefore, a kind of charge mode the most solely supported by electronic equipment, but with charger not With, multiple charge mode can be supported, improve the suitability of electronic equipment, extending can be with the charging of electronic equipment adaptation The scope of device..
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The disclosure can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the disclosure Example, and for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart according to a kind of method for battery charging shown in an exemplary embodiment.
Fig. 2 is a kind of for the flow chart of step S11 in the method for battery charging according to shown in an exemplary embodiment.
Fig. 3 is a kind of for another flow process of step S11 in the method for battery charging according to shown in an exemplary embodiment Figure.
Fig. 4 is a kind of for the flow chart of step S12 in the method for battery charging according to shown in an exemplary embodiment.
Fig. 5 is according to a kind of device block diagram for battery charging shown in an exemplary embodiment.
Fig. 6 is the frame that first according to a kind of device for battery charging shown in an exemplary embodiment determines module Figure.
Fig. 7 is that first according to a kind of device for battery charging shown in an exemplary embodiment determines another of module Block diagram.
Fig. 8 is the frame that second according to a kind of device for battery charging shown in an exemplary embodiment determines module Figure.
Fig. 9 is that second according to a kind of device for battery charging shown in an exemplary embodiment determines another of module Block diagram.
Figure 10 is the block diagram according to a kind of device for battery charging shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the disclosure are consistent.
The method for battery charging that the disclosure provides is applied in electronic equipment, and this electronic equipment includes: charging inlet And battery, charging inlet is used for connecting charger.When charger is connected to charging inlet, start to charge for battery.
Refer to Fig. 1, Fig. 1 is the flow chart according to a kind of method for battery charging shown in an exemplary embodiment, As it is shown in figure 1, the method comprises the following steps.
In step s 11, in the case of detecting that charger is connected to described charging inlet, determine that described charger props up The charge mode held.
In step s 12, from the charge mode that described charger is supported, target charge mode is determined.
In step s 13, controlling described charger according to described target charge mode is the charging of described battery.
In the disclosure, the charge mode of charger support potentially includes: USB PD charge mode, fast charge mode, silent Recognize charge mode.Separately below USB PD charge mode, fast charge mode, acquiescence charge mode are illustrated.
Under USB PD charge mode, between charger and electronic equipment, use VBUS or CC pin (type C interface A pin) on signal shake hands, regulated output voltage and the output electric current of charger by different charging instruction. Output voltage is up to 20V, and output electric current is 5A to the maximum.
Fast charge mode includes the first fast charge mode and the second fast charge mode, and the first fast charge mode is adopted By Quick Charge 3.0 technology, the second fast charge mode uses Quick Charge 2.0 technology.
Under fast charge mode, the signal on USB D+/D-between charger and electronic equipment, is used to shake hands, logical Cross different charging instruction to regulate the output voltage of charger.Under fast charge mode, the output voltage of charger is as shown in table 1.
The output voltage of charger under table 1 fast charge mode
Under acquiescence charge mode, it is DCP (Chinese: special charging interface that electronic equipment is only able to detect charger;English Literary composition: Dedicated Charging Port), voltage of VBUS only has 5V, and charger is that electronic equipment is charged as DCP.
In the disclosure, whether electronic equipment detection charging inlet connects and has charger, connect on charging inlet detecting When being connected to charger, start to perform the method for battery charging that the disclosure provides.Detecting that charger is connected to charging In the case of Kou, it is first determined the charge mode that charger is supported.Then from the charge mode of charger support, mesh is determined Mark charge mode, finally controlling charger according to target charge mode is battery charging.
Using technique scheme, it is battery charging that electronic equipment controls charger according to target charge mode, due to mesh Mark charge mode is the charge mode that in the charge mode that charger is supported, charge efficiency is the highest, so improve charge efficiency.
Further, the charge mode that different chargers is supported is different, and correspondingly, target charge mode is the most different, In the case of different chargers is connected to the charging inlet of electronic equipment, electronic equipment controls charger according to different targets Charge mode is battery charging.Therefore, a kind of charge mode the most solely supported by electronic equipment, but with charger not With, multiple charge mode can be supported, improve the suitability of electronic equipment, extending can be with the charging of electronic equipment adaptation The scope of device.
Alternatively, as in figure 2 it is shown, Fig. 2 is according in a kind of method for battery charging shown in an exemplary embodiment The flow chart of step S11.As in figure 2 it is shown, step S11 comprises the following steps.
Step S111: send preset charged instruction to described charger.
Step S112: in the case of preset charged instruction described in described charger executed being detected, determine described pre- If the charge mode that preset charged pattern is the support of described charger that charging instruction is corresponding.
In the disclosure, whether perform, by detection charger, the preset charged instruction that electronic equipment sends, determine charger Whether support certain charge mode.Wherein, preset charged instruction is corresponding with preset charged pattern.Such as: sent by D+/D- 9V boost signal is corresponding with the second fast charge mode;Quick Charger 3.0 boost signal sent by D+/D-and One fast charge mode is corresponding;The PD charging instruction sent by CC pin is corresponding with USB PD charge mode.
Electronic equipment is after charger sends preset charged instruction, and whether detection charger performs preset charged instruction, as Fruit detects that described charger executed preset charged instructs, then show preset corresponding with preset charged instruction of charger support Charge mode;If being not detected by charger to perform preset charged instruction, then show charger not support with preset charged and instruct Corresponding preset charged pattern.
Alternatively, in the disclosure, preset charged instruction includes the first quick charge instruction, USB charging instruction and second One in quick charge instruction.As it is shown on figure 3, Fig. 3 be according to shown in an exemplary embodiment a kind of for battery charging The flow chart of step S11 in method.As it is shown on figure 3, step S11 comprises the following steps.
Step S111: send the first quick charge instruction to described charger.
Step S112: in the case of the first quick charge instruction described in described charger executed being detected, determine institute The charge mode stating charger support includes first fast charge mode corresponding with described first quick charge instruction.
Step S113: in the case of detecting that described charger is not carried out described first quick charge instruction, to described Charger sends USB electric power transmission PD charging instruction;
Step S114: in the case of USB PD charging instruction described in described charger executed being detected, determines described The charge mode of charger support includes the USB PD charge mode corresponding with described USB PD charging instruction;
Step S115: in the case of detecting that described charger is not carried out described USB PD charging instruction, fill to described Electrical equipment sends the second quick charge instruction;
Step S116: in the case of the second quick charge instruction described in described charger executed being detected, determine institute The charge mode stating charger support includes second fast charge mode corresponding with described second quick charge instruction.
In the disclosure, preset charged instruction potentially includes: the first quick charge instruction, the second quick charge instruction, USB PD charging instruction.Electronic equipment sends preset charged instruction and can send at random, it is also possible to send in a certain order, it may be assumed that First send the first quick charge instruction, then send USB PD charging instruction, finally send the second quick charge instruction.
In order to reduce the power consumption of electronic equipment, electronic equipment need not send preset charged and instruct the whole instructions included, can The implementation status of the charging instruction to have sent electronic equipment according to charger, the part sent in preset charged instruction refers to Order.Electronic equipment sends preset charged instruction can be carried out in accordance with the following methods:
First, electronic equipment can send the first quick charge instruction to charger, if be detected that charger performs the One quick charge instruction, it is determined that the charge mode of described charger support includes the first fast charge mode, if be detected that Charger is not carried out the first quick charge instruction, then sends USB PD charging instruction to charger, if be detected that charger is held Row USB PD charging instruction, it is determined that the charge mode of described charger support includes USB PD charge mode, if be detected that Charger is not carried out USB PD charging instruction, then sends the second quick charge instruction to charger, if be detected that charger is held Row the second quick charge instructs, it is determined that the charge mode of described charger support includes the second fast charge mode.
For example, in the case of electronic equipment detects the charging inlet that charger is connected to electronic equipment, electronics Equipment sends Quick Charger 3.0 boost signal by D+/D-to charger, and charger will receive this signal, if Charger can identify this signal, and the 200mv that every time boosts, and such as boosts to 6V, then show that Quick supported by this charger Charger 3.0 technology, namely charger supports the first charge mode;If charger does not boosts, then show that charger does not props up Hold the first charge mode.
In the case of Quick Charger 3.0 boost signal is not responded by charger, electronic equipment passes through CC Pin sends USB PD charging instruction to charger, if can carry out between charger and electronic equipment charging for USB PD The communication of instruction, then show that USB PD charge mode supported by this charger.
In the case of USB PD charge mode do not supported by charger, electronic equipment sends 9V by D+/D-to charger Boost signal, charger can receive this signal, if charger can identify this signal, and successfully boosts to 9V, then show charging The second charge mode supported by device;If charger does not boosts to 9V, then show that the second charge mode do not supported by charger.
Alternatively, as shown in Figure 4, Fig. 4 is according in a kind of method for battery charging shown in an exemplary embodiment The flow chart of step S12.As shown in Figure 4, step S12 comprises the following steps.
Step S121: determine the priority orders of described preset charged pattern, described first fast charge mode, described The priority of USB PD charge mode and described second fast charge mode reduces successively.
Step S122: the charge mode supported at described charger includes the first fast charge mode, the second quick charge During at least two in pattern and USB PD charge mode, according to described priority orders, determine described target charge mode.
Step S123: the charge mode supported at described charger does not includes the first fast charge mode, second quickly fills During any one in power mode and USB PD charge mode, determine that the acquiescence charge mode of described charger support is described target Charge mode.
In the disclosure, each charge mode distribution priority supported for charger, the charge mode that priority is high is preferential As target charge mode.A kind of possible priority orders is that the height according to charge efficiency determines: the first quick charge Pattern, USB PD charge mode, the second fast charge mode, the priority of acquiescence charge mode reduce successively.
Therefore, if the charge mode of charger support includes the first fast charge mode, then preferentially quickly fill first Power mode is as target charge mode;If the charge mode of charger support does not include the first fast charge mode but includes USB PD charge mode, then preferential using USB PD charge mode as target charge mode;If the charging mould that charger is supported Formula does not include USB PD charge mode and the first fast charge mode but includes the second fast charge mode, then the fastest by second Speed charge mode is as target charge mode;If charger does not support the first fast charge mode, the second fast charge mode With USB PD charge mode, then using the acquiescence charge mode of charger as target charge mode.
The implementation process for the method for battery charging provided the disclosure below illustrates.This implementation process includes:
1) detected whether that charger is connected to charging inlet;
2) in the case of having detected that charger is connected to charging inlet, first may determine that the acquiescence charging of charger Pattern;
3) then judge whether charger supports the first fast charge mode, if the first quick charge mould supported by charger Formula, then controlling charger according to the first fast charge mode is battery charging;If the first quick charge mould do not supported by charger Formula, then judge whether charger supports USB PD charge mode;
4) if USB PD charge mode supported by charger, then controlling charger is that battery fills according to USB PD charge mode Electricity;If USB PD charge mode do not supported by charger, then judge whether charger supports the second fast charge mode;
5) if the second fast charge mode supported by charger, then controlling charger according to the second fast charge mode is electricity Charge in pond;If the second fast charge mode do not supported by charger, then controlling charger according to acquiescence charge mode is that battery fills Electricity.
For example, mobile intelligent terminal detects support Quick Charge technology and the charging of USB PD charge mode Device is connected to charging inlet.Then judge whether charger supports Quick Charge 3.0 technology, if charger support Quick Charge 3.0 technology, then use Quick Charge 3.0 charge mode to fill the battery of mobile intelligent terminal Electricity.If Quick Charge 3.0 technology do not supported by charger, determine whether whether charger supports USB PD charging mould Formula, it is then determined that USB PD charge mode supported by charger, so finally using USB PD charge mode to mobile intelligent terminal Battery be charged.
Based on same inventive concept, the disclosure also provides for a kind of device for battery charging.Described device is configured in electricity In subset, described electronic equipment includes charging inlet and described battery.Refer to Fig. 5, Fig. 5 is according to an exemplary embodiment A kind of device block diagram for battery charging illustrated.With reference to Fig. 5, this device includes: first determines module 121, and second determines mould Block 122 and control module 123.
First determines that module 121 is configured to: in the case of detecting that charger is connected to described charging inlet, determine The charge mode that described charger is supported;
Second determines that module 122 is configured to: determine target charge mode, and the charge efficiency of described target charge mode is high In the charge mode that described charger is supported in addition to described target charge mode the charge efficiency of remaining charge mode;
Control module 123 is configured to: controlling described charger is described battery according to described target charge mode Charging.
Alternatively, refer to Fig. 6, Fig. 6 is according to a kind of device for battery charging shown in an exemplary embodiment First block diagram determining module.With reference to Fig. 6, this first determines that module 121 includes:
Send submodule 1211, be configured to: send preset charged instruction to described charger;
First determines submodule 1212, is configured to: preset charged instruction described in described charger executed detected In the case of, determine the charge mode that preset charged pattern is the support of described charger that the instruction of described preset charged is corresponding.
Alternatively, refer to Fig. 7, Fig. 7 is according to a kind of device for battery charging shown in an exemplary embodiment First another block diagram determining module.With reference to Fig. 7, first determines that module 121 includes:
First sends submodule 1211, is configured to: send the first quick charge instruction to described charger;
First charge mode determines submodule 1212, is configured to: detecting described in described charger executed first In the case of quick charge instruction, determine that the charge mode of described charger support includes right with described first quick charge instruction The first fast charge mode answered;
Second sends submodule 1213, is configured to: detecting that described charger is not carried out described first quick charge In the case of instruction, send USB electric power transmission PD charging instruction to described charger;
Second charge mode determines submodule 1214, is configured to: USB described in described charger executed detected In the case of PD charging instruction, determine that the charge mode of described charger support includes corresponding with described USB PD charging instruction USB PD charge mode;
3rd sends submodule 1215, is configured to: detecting that described charger is not carried out described USB PD charging and refers to In the case of order, send the second quick charge instruction to described charger;
3rd charge mode determines submodule 1216, is configured to: detecting described in described charger executed second In the case of quick charge instruction, determine that the charge mode of described charger support includes right with described second quick charge instruction The second fast charge mode answered.
Alternatively, refer to Fig. 8, Fig. 8 is according to a kind of device for battery charging shown in an exemplary embodiment Second block diagram determining module.With reference to Fig. 8, this second determines that module 122 includes:
Priority orders determines submodule 12211, is configured to: determine the priority orders of described preset charged pattern, The priority of described first fast charge mode, described USB PD charge mode and described second fast charge mode drops successively Low;
Second determines submodule 12212, is configured to: the charge mode supported at described charger includes that first quickly fills During at least two in power mode, the second fast charge mode and USB PD charge mode, according to described priority orders, determine Go out described target charge mode.
Alternatively, refer to Fig. 9, Fig. 9 is according to a kind of device for battery charging shown in an exemplary embodiment Second another block diagram determining module.With reference to Fig. 9, this second determines module 122 except including that priority orders determines submodule 12211 and second determine outside submodule 12212, also include:
3rd determines submodule 12221, is configured to: the charge mode supported at described charger does not includes that first is quick During any one in charge mode, the second fast charge mode and USB PD charge mode, determine that described charger is supported silent Recognizing charge mode is described target charge mode.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 10 is the block diagram according to a kind of device 1000 for battery charging shown in an exemplary embodiment.Such as, dress Putting 1000 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, doctor Treatment equipment, body-building equipment, personal digital assistant etc..
With reference to Figure 10, device 1000 can include following one or more assembly: processes assembly 1002, memorizer 1004, Electric power assembly 1006, multimedia groupware 1008, audio-frequency assembly 1010, the interface 1012 of input/output (I/O), sensor cluster 1014, and communications component 1016.
Process assembly 1002 and generally control the integrated operation of device 1000, such as with display, call, data communication, The operation that camera operation and record operation are associated.Process assembly 1002 and can include that one or more processor 1020 performs Instruction, with all or part of step completing the above-mentioned method for battery charging.Additionally, process assembly 1002 can include one Individual or multiple modules, it is simple to process between assembly 1002 and other assemblies is mutual.Such as, process assembly 1002 and can include many Media module, with facilitate multimedia groupware 1008 and process between assembly 1002 mutual.
Memorizer 1004 is configured to store various types of data to support the operation at device 1000.These data Example include on device 1000 operation any application program or the instruction of method, contact data, telephone book data, Message, picture, video etc..Memorizer 1004 can by any kind of volatibility or non-volatile memory device or they Combination realizes, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
The various assemblies that electric power assembly 1006 is device 1000 provide electric power.Electric power assembly 1006 can include power management System, one or more power supplys, and other generate, manage and distribute, with for device 1000, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 1008 is included between described device 1000 and user.? In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes that one or more touch passes Sensor is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sense touch or slide dynamic The border made, but also detect the persistent period relevant to described touch or slide and pressure.In certain embodiments, many Media component 1008 includes a front-facing camera and/or post-positioned pick-up head.When device 1000 is in operator scheme, such as shooting mould When formula or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each preposition shooting Head and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 1010 is configured to output and/or input audio signal.Such as, audio-frequency assembly 1010 includes a wheat Gram wind (MIC), when device 1000 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike quilt It is configured to receive external audio signal.The audio signal received can be further stored at memorizer 1004 or via communication Assembly 1016 sends.In certain embodiments, audio-frequency assembly 1010 also includes a speaker, is used for exporting audio signal.
I/O interface 1012 provides interface, above-mentioned peripheral interface module for processing between assembly 1002 and peripheral interface module Can be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and Locking press button.
Sensor cluster 1014 includes one or more sensor, for providing the state of various aspects to comment for device 1000 Estimate.Such as, what sensor cluster 1014 can detect device 1000 opens/closed mode, the relative localization of assembly, such as institute Stating display and keypad that assembly is device 1000, sensor cluster 1014 can also detect device 1000 or device 1,000 1 The position change of individual assembly, the presence or absence that user contacts with device 1000, device 1000 orientation or acceleration/deceleration and dress Put the variations in temperature of 1000.Sensor cluster 1014 can include proximity transducer, is configured to do not having any physics The existence of object near detection during contact.Sensor cluster 1014 can also include optical sensor, as CMOS or ccd image sense Device, for using in imaging applications.In certain embodiments, this sensor cluster 1014 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1016 is configured to facilitate the communication of wired or wireless mode between device 1000 and other equipment.Dress Put 1000 and can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Exemplary at one In embodiment, broadcast singal or broadcast that communications component 1016 receives from external broadcasting management system via broadcast channel are relevant Information.In one exemplary embodiment, described communications component 1016 also includes near-field communication (NFC) module, to promote short distance Communication.Such as, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1000 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, for performing the above-mentioned side for battery charging Method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 1004 of instruction, above-mentioned instruction can be performed above-mentioned to fill for battery completing by the processor 1020 of device 1000 The method of electricity.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD- ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice the disclosure, will readily occur to other embodiment party of the disclosure Case.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or adaptability Change is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure or usual skill Art means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by claim below Point out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. the method for battery charging, it is characterised in that being applied in electronic equipment, described electronic equipment includes charging Mouth and described battery, described method includes:
In the case of detecting that charger is connected to described charging inlet, determine the charge mode that described charger is supported;
Determine target charge mode, in the charge efficiency of the described target charge mode charge mode higher than the support of described charger The charge efficiency of remaining charge mode in addition to described target charge mode;
Controlling described charger according to described target charge mode is the charging of described battery.
Method the most according to claim 1, it is characterised in that the described charge mode determining that described charger is supported, bag Include:
Preset charged instruction is sent to described charger;
In the case of preset charged instruction described in described charger executed being detected, determine described preset charged instruction correspondence Preset charged pattern be described charger support charge mode.
3. method as claimed in claim 2, it is characterised in that the instruction of described preset charged include the first quick charge instruction, One in USB charging instruction and the second quick charge instruction;
The described charge mode determining that described charger is supported, including:
The first quick charge instruction is sent to described charger;
In the case of the first quick charge instruction described in described charger executed being detected, determine what described charger was supported Charge mode includes first fast charge mode corresponding with described first quick charge instruction;
In the case of detecting that described charger is not carried out described first quick charge instruction, send USB to described charger Electric power transmission PD charging instruction;
In the case of USB PD charging instruction described in described charger executed being detected, determine filling of described charger support Power mode includes the USB PD charge mode corresponding with described USB PD charging instruction;
In the case of detecting that described charger is not carried out described USB PD charging instruction, send second to described charger fast Speed charging instruction;
In the case of the second quick charge instruction described in described charger executed being detected, determine what described charger was supported Charge mode includes second fast charge mode corresponding with described second quick charge instruction.
Method the most according to claim 3, it is characterised in that described determine from the charge mode that described charger is supported Go out target charge mode, including:
Determine the priority orders of described preset charged pattern, described first fast charge mode, described USB PD charge mode And the priority of described second fast charge mode reduces successively;
The charge mode supported at described charger includes that the first fast charge mode, the second fast charge mode and USB PD fill During at least two in power mode, according to described priority orders, determine described target charge mode.
Method the most according to claim 3, it is characterised in that described determine from the charge mode that described charger is supported Go out target charge mode, including:
The charge mode supported at described charger does not includes the first fast charge mode, the second fast charge mode and USB PD During any one in charge mode, determine that the acquiescence charge mode of described charger support is described target charge mode.
6. the device for battery charging, it is characterised in that described device is configured in electronic equipment, described electronic equipment Including charging inlet and described battery, described device includes:
First determines module, is configured to: in the case of detecting that charger is connected to described charging inlet, determine described in fill The charge mode that electrical equipment is supported;
Second determines module, is configured to: determine target charge mode, and the charge efficiency of described target charge mode is higher than described Charger support charge mode in addition to described target charge mode the charge efficiency of remaining charge mode;
Control module, is configured to: controlling described charger according to described target charge mode is the charging of described battery.
Device the most according to claim 6, it is characterised in that described first determines that module includes:
Send submodule, be configured to: send preset charged instruction to described charger;
First determines submodule, is configured to: in the case of preset charged instruction described in described charger executed being detected, Determine the charge mode that preset charged pattern is the support of described charger that the instruction of described preset charged is corresponding.
8. device as claimed in claim 7, it is characterised in that the instruction of described preset charged include the first quick charge instruction, One in USB charging instruction and the second quick charge instruction;
Described first determines that module includes:
First sends submodule, is configured to: send the first quick charge instruction to described charger;
First charge mode determines submodule, is configured to: the first quick charge described in described charger executed detected In the case of instruction, determine that the charge mode of described charger support includes first corresponding with described first quick charge instruction Fast charge mode;
Second sends submodule, is configured to: detecting that described charger is not carried out the feelings of described first quick charge instruction Under condition, send USB electric power transmission PD charging instruction to described charger;
Second charge mode determines submodule, is configured to: detecting that described in described charger executed, USB PD charging refers to In the case of order, determine that the charge mode of described charger support includes that the USB PD corresponding with described USB PD charging instruction fills Power mode;
3rd sends submodule, is configured to: detecting that described charger is not carried out the situation of described USB PD charging instruction Under, send the second quick charge instruction to described charger;
3rd charge mode determines submodule, is configured to: the second quick charge described in described charger executed detected In the case of instruction, determine that the charge mode of described charger support includes second corresponding with described second quick charge instruction Fast charge mode.
Device the most according to claim 8, it is characterised in that described second determines that module includes:
Priority orders determines submodule, is configured to: determine the priority orders of described preset charged pattern, described first fast The priority of speed charge mode, described USB PD charge mode and described second fast charge mode reduces successively;
Second determines submodule, is configured to: the charge mode supported at described charger include the first fast charge mode, During at least two in two fast charge modes and USB PD charge mode, according to described priority orders, determine described mesh Mark charge mode.
Device the most according to claim 8, it is characterised in that described second determines that module includes:
3rd determines submodule, is configured to: the charge mode supported at described charger do not include the first fast charge mode, During any one in the second fast charge mode and USB PD charge mode, determine the acquiescence charge mode that described charger is supported For described target charge mode.
11. 1 kinds of devices for battery charging, it is characterised in that described device is configured in electronic equipment, and described electronics sets For including charging inlet and described battery, described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
In the case of detecting that charger is connected to described charging inlet, determine the charge mode that described charger is supported;
Determine target charge mode, in the charge efficiency of the described target charge mode charge mode higher than the support of described charger The charge efficiency of remaining charge mode in addition to described target charge mode;
Controlling described charger according to described target charge mode is the charging of described battery.
CN201610587165.2A 2016-07-22 2016-07-22 For the method and electronic equipment of battery charging Active CN106067571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610587165.2A CN106067571B (en) 2016-07-22 2016-07-22 For the method and electronic equipment of battery charging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610587165.2A CN106067571B (en) 2016-07-22 2016-07-22 For the method and electronic equipment of battery charging

Publications (2)

Publication Number Publication Date
CN106067571A true CN106067571A (en) 2016-11-02
CN106067571B CN106067571B (en) 2019-02-15

Family

ID=57207611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610587165.2A Active CN106067571B (en) 2016-07-22 2016-07-22 For the method and electronic equipment of battery charging

Country Status (1)

Country Link
CN (1) CN106067571B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291213A (en) * 2017-07-28 2017-10-24 广东欧珀移动通信有限公司 Mode selecting method, device, terminal and computer-readable recording medium
CN110457111A (en) * 2019-08-19 2019-11-15 深圳传音控股股份有限公司 A kind of icon display method, device and terminal
CN111316527A (en) * 2018-12-25 2020-06-19 华为技术有限公司 Optional terminal charging method, graphical user interface and electronic equipment
CN111342505A (en) * 2018-12-18 2020-06-26 北京小米移动软件有限公司 Charging method, device, system, electronic equipment and storage medium
CN111817381A (en) * 2020-07-14 2020-10-23 维沃移动通信有限公司 Charger, data line and charging equipment
CN111817380A (en) * 2020-07-14 2020-10-23 维沃移动通信有限公司 Charger, data line, charging equipment and electronic equipment
CN111817378A (en) * 2020-07-14 2020-10-23 维沃移动通信有限公司 Charger, data line and charging equipment
CN113131562A (en) * 2021-03-10 2021-07-16 青岛小鸟看看科技有限公司 Charging control method and device for electronic equipment and electronic equipment
CN113162161A (en) * 2021-04-07 2021-07-23 深圳维普创新科技有限公司 Charging and discharging circuit control method and circuit based on Type-c interface and controller
CN118473036A (en) * 2023-09-20 2024-08-09 荣耀终端有限公司 Control method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012153890A1 (en) * 2011-05-12 2012-11-15 Kim Young-Won High-speed charging circuit, usb cable device having the high-speed charging circuit, and electronic device having the high-speed charging circuit
CN104124483A (en) * 2014-05-23 2014-10-29 东莞市钜大电子有限公司 Rapid charging method and system for portable power source
CN104467130A (en) * 2014-11-10 2015-03-25 深圳市兴吉胜电子有限公司 Wireless charger
CN105656140A (en) * 2016-02-29 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Terminal charging control method and control device and terminal
CN105743151A (en) * 2014-09-16 2016-07-06 现代自动车株式会社 Charging Vehicle, Charging System And Driving Method Of Charging System

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012153890A1 (en) * 2011-05-12 2012-11-15 Kim Young-Won High-speed charging circuit, usb cable device having the high-speed charging circuit, and electronic device having the high-speed charging circuit
CN104124483A (en) * 2014-05-23 2014-10-29 东莞市钜大电子有限公司 Rapid charging method and system for portable power source
CN105743151A (en) * 2014-09-16 2016-07-06 现代自动车株式会社 Charging Vehicle, Charging System And Driving Method Of Charging System
CN104467130A (en) * 2014-11-10 2015-03-25 深圳市兴吉胜电子有限公司 Wireless charger
CN105656140A (en) * 2016-02-29 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Terminal charging control method and control device and terminal

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291213A (en) * 2017-07-28 2017-10-24 广东欧珀移动通信有限公司 Mode selecting method, device, terminal and computer-readable recording medium
CN111342505A (en) * 2018-12-18 2020-06-26 北京小米移动软件有限公司 Charging method, device, system, electronic equipment and storage medium
EP3840104A4 (en) * 2018-12-25 2021-09-22 Huawei Technologies Co., Ltd. Optional terminal charging method, graphical user interface and electronic device
CN111316527A (en) * 2018-12-25 2020-06-19 华为技术有限公司 Optional terminal charging method, graphical user interface and electronic equipment
CN110457111A (en) * 2019-08-19 2019-11-15 深圳传音控股股份有限公司 A kind of icon display method, device and terminal
CN111817381A (en) * 2020-07-14 2020-10-23 维沃移动通信有限公司 Charger, data line and charging equipment
CN111817380A (en) * 2020-07-14 2020-10-23 维沃移动通信有限公司 Charger, data line, charging equipment and electronic equipment
CN111817378A (en) * 2020-07-14 2020-10-23 维沃移动通信有限公司 Charger, data line and charging equipment
WO2022012527A1 (en) * 2020-07-14 2022-01-20 维沃移动通信有限公司 Charger, data cable, charging device, and electronic device
CN111817381B (en) * 2020-07-14 2022-02-01 维沃移动通信有限公司 Charger, data line and charging equipment
CN111817378B (en) * 2020-07-14 2022-04-01 维沃移动通信有限公司 Charger, data line and charging equipment
CN111817380B (en) * 2020-07-14 2023-02-21 维沃移动通信有限公司 Charger, data line, charging equipment and electronic equipment
CN113131562A (en) * 2021-03-10 2021-07-16 青岛小鸟看看科技有限公司 Charging control method and device for electronic equipment and electronic equipment
CN113162161A (en) * 2021-04-07 2021-07-23 深圳维普创新科技有限公司 Charging and discharging circuit control method and circuit based on Type-c interface and controller
CN118473036A (en) * 2023-09-20 2024-08-09 荣耀终端有限公司 Control method and related device

Also Published As

Publication number Publication date
CN106067571B (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN106067571A (en) Method and electronic equipment for battery charging
CN112928787B (en) Charging circuit, electronic device, charging control method and device
CN105071473B (en) USB charging methods and device
CN105373464A (en) Charging warning method and device of wearable equipment
CN104505879A (en) Charging method and device
CN104219383A (en) Terminal power information prompting method and device
CN104598093A (en) Method and device for prompting message during screen locking
CN104578372A (en) Method and device for controlling charging of terminal device
CN105356529A (en) Prompting method and apparatus for rapid charging state
CN105137831A (en) Power-saving mode starting method and device
CN105160320A (en) Fingerprint identification method and apparatus, and mobile terminal
CN105162193A (en) Charging method and charging apparatus for terminal, and terminal
CN104779420A (en) Battery charging method and device
CN106169798A (en) High-voltage charging system, high-voltage charging battery and terminal unit
CN104485713A (en) Charge control method and device
CN112448423A (en) Charging method and device, electronic equipment and storage medium
CN104600786B (en) Portable power source and power information display methods
CN104577235A (en) Method for charging portable device and charging control method, device and system
CN104035049A (en) Method, device and system for detecting battery power
CN106610476B (en) Test method, device and the terminal of charge and discharge process
CN104967174B (en) Charge control method and device
CN105867592A (en) Method and device for managing electric quantity consumption
CN106856339A (en) Charging method, device and electronic equipment
CN106026232A (en) Detecting method and apparatus for USB port type
CN104598028A (en) Image pickup device and image pickup method

Legal Events

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