CN106329656A - Electronic device and charging method thereof - Google Patents
- ️Wed Jan 11 2017
CN106329656A - Electronic device and charging method thereof - Google Patents
Electronic device and charging method thereof Download PDFInfo
-
Publication number
- CN106329656A CN106329656A CN201610852233.3A CN201610852233A CN106329656A CN 106329656 A CN106329656 A CN 106329656A CN 201610852233 A CN201610852233 A CN 201610852233A CN 106329656 A CN106329656 A CN 106329656A Authority
- CN
- China Prior art keywords
- charger
- charging
- electronic installation
- agreement
- charging module Prior art date
- 2016-09-26 Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007600 charging Methods 0.000 title claims abstract description 148
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000009434 installation Methods 0.000 claims description 93
- 230000005611 electricity Effects 0.000 claims description 14
- 238000001514 detection method Methods 0.000 claims description 13
- 238000010277 constant-current charging Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000005121 nitriding Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/00032—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
- H02J7/00045—Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The present invention discloses an electronic device. The electronic device comprises a charging module, a CPU (Central Processing Unit) and an MCU (Micro Control Unit); the charging module is connected with a charger; the CPU is connected with the charging module and is used for controlling the charging module to detect the port type of the charger connected with the charging module and obtaining charging current corresponding to the port type from the charger according to the port type of the charger so as to charge the electronic device; the MCU is connected with the charging module; and the MCU is used for detecting a special charging protocol supported by the charger when the charging module detects that the charger is a charger with a special charging port, and selecting a corresponding special charging protocol scheme to control the charger to charge the electronic device. The present invention also provides a charging method. With the charging method adopted, the electronic device of the present invention is compatible with various fast charging protocols.
Description
Technical field
The present invention relates to rapid nitriding field, be specifically related to a kind of electronic installation and charging method thereof.
Background technology
A kind of fast charge protocol the most only supported by the electronic installations such as existing mobile phone, such as, supports QC2.0/QC3.0 The mobile phone of agreement does not generally the most support VOOC (Voltage Open Loop Multi-step Constant-Current Charging, voltage open loop multistep constant-current charge) protocol scheme and Pump Express 2.0 fill agreement soon, (is called for short PE+ 2.0), i.e. can only arrange in pairs or groups support QC2.0/QC3.0 agreement charger realize quick charge, it is impossible to collocation support VOOC agreement and The charger of PE+2.0 agreement carries out quick charge.The mobile phone supporting VOOC protocol scheme does not generally the most support QC2.0 agreement side Case and PE+2.0 protocol scheme, i.e. can only arrange in pairs or groups and support that the charger of VOOC agreement realizes quick charge, it is impossible to collocation is supported The charger of QC2.0/QC3.0 agreement and PE+2.0 agreement carries out quick charge.Support that the mobile phone of PE+2.0 protocol scheme is usual The most do not support QC2.0/QC3.0 protocol scheme and VOOC protocol scheme, i.e. can only arrange in pairs or groups and support that the charger of PE+2.0 agreement is real Existing quick charge, it is impossible to collocation supports that the charger of QC2.0/QC3.0 agreement and VOOC agreement carries out quick charge.Therefore, existing There is electronic installation poor to the compatibility of charger.
Summary of the invention
In view of the foregoing, it is necessary to provide one can simultaneously compatible support QC2.0/QC3.0 agreement, PE+2.0 agreement and The electronic installation of the charger of VOOC agreement.
It addition, be necessary the charging method providing a kind of above-mentioned electronic installation corresponding
A kind of electronic installation, described electronic installation includes:
Charging module, described charging module is used for connecting charger;
Central processor CPU, described CPU is connected with described charging module, is used for controlling the detection of described charging module and is connected The port type of the described charger connect, and according to the port type of described charger, obtain and described end from described charger The charging current that mouth type is corresponding, to be charged described electronic installation;
Described CPU is additionally operable to when described charging module detects the charger that described charger is special charging port type Time, control further described charging module and detect the first kind that described charger supported and fill agreement soon, and select the of correspondence One class is filled the protocol scheme described charger of control soon and is charged described electronic installation;
Micro-control unit MCU, described MCU are connected with described charging module, and described MCU is for detecting when described charging module During to the charger that described charger is special charging port type, control described charging module further and detect described charger The Equations of The Second Kind supported fills agreement soon, and selects the Equations of The Second Kind of correspondence to fill the protocol scheme described charger of control soon to described electronics Device is charged, and the described first kind is filled agreement soon and included Quick Charge 2.0 agreement, Quick Charge 3.0 agreement And Pump Express 2.0 agreement, described Equations of The Second Kind fills agreement soon and includes voltage open loop multistep constant-current charge VOOC agreement.
According to the preferred embodiment of the present invention, the port type of described charger also include standard down port, charge descending Port:
When described charging module detects the charger that described charger is standard down port type, described CPU from Described charger obtains the first charging current and is charged described electronic installation;
Described charging module detect described charger be charging downlink port type charger time, described CPU from Described charger obtains the second charging current and is charged described electronic installation.
According to the preferred embodiment of the present invention, described electronic installation also includes power management module, described power management module For detecting whether described charging module is connected with charger, and when described electronic installation is connected with described charger, described CPU controls described charging module and detects the port type of described charger.
According to the preferred embodiment of the present invention, described charging module detection USB battery charging specifications 1.2 agreement, to complete electricity The first time of sub-device and charger shakes hands.
According to the preferred embodiment of the present invention, when described charging module detects that described charger is special charging port type Charger, and be not detected by the first kind that described charger supported and fill agreement soon and time Equations of The Second Kind fills agreement soon, according to Described electronic installation is charged by 5V charger type.
A kind of charging method, is used for controlling charger and is charged electronic installation, and described method includes:
Detect the port type of described charger;
According to the port type of described charger, obtain corresponding charging current from described charger and described electronic installation is entered Row charging;
When the charger detecting that described charger is special charging port type, and detect that described charger supports the When one class fills agreement soon, select the corresponding first kind to fill the protocol scheme described charger of control soon and described electronic installation is filled Electricity;
When the charger detecting that described charger is special charging port type, and detect that described charger supports the When two classes fill agreement soon, select corresponding Equations of The Second Kind to fill the protocol scheme described charger of control soon and described electronic installation is filled Electricity, the described first kind is filled agreement soon and is included Quick Charge 2.0 agreement, Quick Charge 3.0 agreement and Pump Express 2.0 agreement, described Equations of The Second Kind fills agreement soon and includes voltage open loop multistep constant-current charge VOOC agreement.
According to the preferred embodiment of the present invention, the port type of described charger also include standard down port, charge descending Port, described method also includes:
When the charger that described charger is standard down port type being detected, obtain first from described charger and fill Described electronic installation is charged by electricity electric current;
When the charger that described charger is charging downlink port type, obtain the second charging current from described charger Described electronic installation is charged.
According to the preferred embodiment of the present invention, whether described charging method also includes detecting the charging module of described electronic installation It is connected with described charger, and when described electronic installation is connected with described charger, detects the port type of described charger.
According to the preferred embodiment of the present invention, described method also includes:
Detection USB battery charging specifications 1.2 agreement, shakes hands completing the first time of electronic installation and charger.
According to the preferred embodiment of the present invention, described method also includes:
When the charger detecting that described charger is special charging port type, and it is not detected by described charger institute The first kind supported fills agreement and time Equations of The Second Kind fills agreement soon soon, fills described electronic installation according to 5V charger type Electricity.
The charging association that described charger is supported can be detected compared to prior art, described electronic installation and charging method thereof View, and select corresponding charge protocol to be charged according to testing result so that the electronic installation compatible support first kind is filled soon Agreement and Equations of The Second Kind fill the charger of agreement soon, are user-friendly to, and promote Consumer's Experience.
Accompanying drawing explanation
It it is the circuit diagram of the electronic installation of a preferred embodiment of the present invention shown in Fig. 1.
It it is the flow chart of the method for the present invention the first preferred embodiment shown in Fig. 2.
It it is the flow chart of the method for the present invention the second preferred embodiment shown in Fig. 3.
It it is the flow chart of the method for the present invention the 3rd preferred embodiment shown in Fig. 4.
It it is the flow chart of the method for the present invention the 4th preferred embodiment shown in Fig. 5.
It it is the flow chart of the method for the present invention the 5th preferred embodiment shown in Fig. 6.
It it is the flow chart of the method for the present invention the 6th preferred embodiment shown in Fig. 7.
Main element symbol description
Electronic installation 100
Charging module 10
CPU 30
MCU 50
Power management module 70
Charger 200
Adapter 201
Power pins VBUS
Grounding pin GND
Data pin USB_D+, USB_D-
First resistance R1
Second resistance R2
3rd resistance R3
4th resistance R4
Following detailed description of the invention will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is purged, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.
Based on the embodiment in the present invention, those of ordinary skill in the art are institute on the premise of not making creative work The every other embodiment obtained, broadly falls into the scope of protection of the invention.
With reference to shown in Fig. 1, it it is the circuit diagram of the electronic installation 100 of present pre-ferred embodiments.Described electronic installation 100 wraps Include charging module 10, CPU (Central Processing Unit, central processing unit) 30 and MCU (Micro Controller Unit, micro-control unit) 50.Described electronic installation 100 can be connected with charger 200, to be charged.Described charger 200 Including adapter 201.Described adapter 201 can be USB connector, and described adapter 201 includes voltage pin VBUS, ground connection Pin GND, data pin USB_D+ (D+) and USB_D-(D-).
Described charging module 10 is used for being connected with charger 200, described charging module 10 and VBUS pin, grounding pin GND is joined directly together, and is connected with data pin USB_D+ through the first resistance R1, and through the second resistance R2 and data pin USB_D- It is connected.
Described CPU30 is connected with described charging module 10, for control described charging module 10 detection connected described The port type of charger 200, and according to the port type of described charger 200, controls described charger 200 to electronic installation The charging scheme of 100.Concrete, CPU30 obtains the charging current corresponding with described port type from described charger 200, with Described electronic installation 100 is charged.
In this preferred embodiment, the port type of described charger 200 includes SDP (Standard Downstream Port, standard down port), CDP (Charging Downstream Port, charge downlink port) and DCP (Dedicated Charging Port, special charging port).If described charging module 10 detects described charger 200 For SDP type, then obtain the first charging current from described charger 200 and described electronic installation be charged, if described in fill Electricity module 10 detects that described charger 200 for CDP type, then obtains the second charging current to described from described charger 200 Electronic installation is charged.In this preferred embodiment, described first charging current is the charged electrical that maximum current is about 500mA Stream, described second charging current is the charging current that maximum current is about 900mA.
If described charging module 10 detects that the charger that described charger 200 is DCP type, described CPU 30 control Described charging module 10 detects whether described charger 200 supports that the first kind fills agreement soon further, if described charger 200 Support that the first kind fills agreement soon, then select the first kind of correspondence to fill protocol scheme soon and described electronic installation 100 is charged.
Described MCU50 is connected with described charging module 10 through the 3rd resistance R3 and the 4th resistance R4, and described MCU50 is used for When described charging module 10 detects the charger that described charger 200 is DCP type, detect whether described charger 200 props up Hold Equations of The Second Kind and fill agreement soon, if described charger 200 supports that Equations of The Second Kind fills agreement soon, then select the Equations of The Second Kind of correspondence to fill association soon Described electronic installation 100 is charged by view scheme.In other embodiments, it is also possible to controlled described charging by described CPU30 Module 10 detects whether described charger 200 supports that Equations of The Second Kind fills agreement soon further.
In this preferred embodiment, the described first kind fill soon agreement include Quick Charge 2.0 agreement (QC2.0), Quick Charge 3.0 agreement (QC3.0) and Pump Express 2.0 fills agreement soon, (being called for short PE+2.0), described Equations of The Second Kind Fill agreement soon and include VOOC (Voltage Open Loop Multi-step Constant-Current Charging, voltage Open loop multistep constant-current charge) agreement.Described CPU 30 specifically detect the first kind that described charger 200 supported fill soon agreement and Described MCU 50 specifically detect the Equations of The Second Kind that described charger 200 supported fill soon agreement method will in such as Fig. 2-Fig. 7 institute The better embodiment of the present invention shown specifically describes in detail.
In another preferred embodiment of the present invention, described electronic installation 100 also includes power management module 70, described electricity Source control module 70 is used for detecting whether described electronic installation 100 is connected with described charger 200, if described charging module 10 Being connected with described charger 200, the most described charging module 10 detects the port type of described charger 200, if described charging Module 10 is not connected with described charger 200, and the most described power management module 70 is then with predeterminated frequency duplicate detection, until detection It is connected to described charger 200 with described electronic installation 100.
With reference to shown in Fig. 2, the flow chart of charging method the first better embodiment of the present invention.Described charging method include with Lower step.Described better embodiment is also presently preferred embodiments of the present invention.According to different demands, in flow chart shown in this figure Execution sequence can change, some can omit.
Step 300, described power management module 70 detects whether described charging module 10 is connected with described charger 200, If be detected that described electronic installation 100 is connected with charger 200, then enter step 301, if being not detected by described electronics dress Put 100 to be connected with charger 200, then repeating said steps.
Step 301, described CPU 30 controls described charging module 10 and detects USB battery charging specifications 1.2 agreement (abbreviation BC 1.2), shake hands completing the first time of electronic installation 100 and charger 200..
Step 302, described CPU 30 controls described charging module 10 and detects whether the charger 200 connected is SDP class The charger 200 of type, if be detected that the charger 200 connected is the charger of SDP type, then enters step 303, if Detect that connected charger 200 is not the charger of SDP type, then enter step 304.
In one embodiment of the invention, after electronic installation 100 is connected to charger 200, if charging module 10 is examined Measure D+, D-signal of electronic installation when being low level, it is determined that the equipment connect is SDP type charger.
Step 303, described CPU 30 controls described charging module 10 and obtains the first charging current to described from charger 200 Electronic installation 100 is charged.In this preferred embodiment, described first charging current is filling of maximum current about 500mA Electricity electric current.
Step 304, described CPU 30 controls described charging module 10 and detects whether the charger 200 connected is CDP class The charger 200 of type, if be detected that the charger 200 connected is the charger of CDP type, then enters step 305, if Detect that connected charger 200 is not the charger of CDP type, then enter step 306.
In one embodiment of the invention, when electronic installation 100 is connected to a charger, then open electronics dress Putting the pull-up power vd M_SRC of the D-signal of 100, i.e. the D-signal of electronic installation 100 is high level, disconnects electronic installation 100 The pull-up power vd P_SRC of D+ signal, open the pull-down current source IDP_SINK of the D+ signal of electronic installation 100, now electricity The D+ signal of sub-device 100 will become low level, then can judge the charger that connected charger is CDP type accordingly.
Step 305, described CPU 30 controls described charging module 10 and obtains the second charging current to described from charger 200 Electronic installation 100 is charged.In this preferred embodiment, described second charging current is filling of maximum current about 900mA Electricity electric current.
Step 306, described CPU 30 controls described charging module 10 and detects whether the charger 200 connected is DCP class The charger of type, if be detected that the charger 200 connected is the charger 200 of DCP type, then enters step 307, if Detect that connected charger 200 is not the charger of DCP type, then enter step 308.
In one embodiment of the invention, when electronic installation 100 is connected to a charger, then open electronics dress Putting the pull-up power vd M_SRC of the D-signal of 100, i.e. the D-signal of electronic installation 100 is high level, disconnects electronic installation 100 The pull-up power vd P_SRC of D+ signal, open the pull-down current source IDP_SINK of the D+ signal of electronic installation 100, now electricity The D+ signal of sub-device 100 will become high level, now, judge the charger that charger is DCP type connected accordingly.
Step 307, described CPU 30 controls described charging module 10 and sets and obtain the 3rd charging current pair from charger 200 Described electronic installation 100 is charged.In this preferred embodiment, described 3rd charging current is that maximum current is about 500mA Charging current.
Step 308, described CPU 30 controls described charging module 10 and detects whether described charger 200 supports that QC3.0 assists View, if QC3.0 agreement supported by described charger 200, then enters step 309, if QC3.0 do not supported by described charger 200 Agreement, then enter step 310.
In one embodiment of the invention, being similar to the detection of QC2.0 agreement, electronic installation 100 is first according to USB BC1.2 regulation enforcement detects, and detects whether described charger 200 supports QC3.0 agreement further according to the output voltage on D+.Specifically The method of detection is referred to the content of QC3.0 agreement.
Step 309, described CPU 30 controls described charging module 10 and uses QC3.0 protocol scheme to described electronic installation 100 are charged.
Step 310, described CPU 30 controls described charging module 10 and detects whether described charger 200 supports that QC2.0 assists View, if QC2.0 agreement supported by described charger 200, then enters step 311, if QC2.0 do not supported by described charger 200 Agreement, then enter step 312.
In one embodiment of the invention, electronic installation 100 detects according to USB BC1.2 regulation enforcement, when detecting During the charger 200 of DCP type, electronic installation 100 opens a pull-up power vd P_SRC at its D+.Charger 200 detects D+ On output voltage and guarantee the output voltage on D+ in the duration of a second higher than the first decision level VDAT_REF being less than Second decision level VSEL_REF.After one second, D+ with D-is opened a way and connects pull down resistor Rdm_dwn by charger 200.If D-remains low, then QC2.0 protocol specification do not supported by electronic installation 100.If D-remains height, then electronic installation 100 Hold QC2.0 agreement.
Step 311, described CPU 30 controls described charging module 10 and uses QC2.0 protocol scheme to described electronic installation 100 are charged.
Step 312, described CPU 30 controls described charging module 10 and detects whether described charger 200200 supports PE+ 2.0 agreements, if PE+2.0 agreement supported by described charger 200, then enter step 313, if described charger 200 is not supported PE+2.0 agreement, then enter step 314.
In one embodiment of the invention, determine that the charger being connected with electronic installation 100 is CDP when charging module 10 When type or DCP type, charging module 10 sends up voltage instruction Current Pattern, it is therefore an objective to difference is inserted further Whether the device entered is the power supply adaptor meeting PE+2.0 agreement.
The output voltage of charger 200 adjusts to 7V and maintains.Therefore, charging module 10 can be determined that through measuring VBUS Whether the device inserted via USB connector is the power supply adaptor meeting FC agreement.If VBUS meets power supply adaptor output The specification of 7V, it is possible to determine that support PE+2.0 agreement for charger 200.
Step 313, described CPU 30 controls described charging module 10 and uses PE+2.0 protocol scheme to described electronic installation 100 are charged.
Step 314, described MCU 50 detects whether described charger 200 supports VOOC agreement, if described charger 200 Support VOOC agreement, then enter step 315, if QC2.0 agreement do not supported by described charger 200, then enter step 316.
In one embodiment of the invention, charging module 10 is by detecting the D+ signal of adapter 201, and D-signal comes Judging the agreement of VOOC, wherein D+ is for transmitting the CLK data of handshake, and D-is for transmitting the DATA data of handshake.
Step 315, described MCU 50 uses VOOC protocol scheme to be charged described electronic installation 100.
Step 316, described CPU 30 controls described charging module 10 and carries out normal charge according to common 5V charger type.
It is understood that as it is shown on figure 3, in the present invention the second better embodiment, be judged as YES in step 306 Time, perform step 308.When step 308 is judged as YES, perform step 309;When step 308 is judged as NO, perform step 310.When step 310 is judged as YES, perform step 311;When step 310 is judged as NO, perform step 314.Step 314 is judged as When being, perform step 315;When step 314 is judged as NO, perform step 312.When step 312 is judged as YES, perform step 313; When step 312 is judged as NO, perform step 316.Other steps are identical with Fig. 2, repeat no more.
It is understood that as shown in Figure 4, in the present invention the 3rd better embodiment, it is judged as YES in step 306 Time, perform step 312.When step 312 is judged as YES, perform step 313;When step 312 is judged as NO, perform step 308.Step Rapid 308 when being judged as YES, and performs step 309;When step 308 is judged as NO, perform step 310.When step 310 is judged as NO, Perform step 314.When step 310 is judged as YES, perform step 311.When step 314 is judged as YES, perform step 315;Step 314 when being judged as NO, and performs step 316.Other steps are identical with Fig. 2, repeat no more.
It is understood that as it is shown in figure 5, in the present invention the 4th better embodiment, be judged as YES in step 306 Time, perform step 312.When step 312 is judged as YES, perform step 313;When step 312 is judged as NO, perform step 314.Step Rapid 314 when being judged as YES, and performs step 315;When step 314 is judged as NO, perform step 308.When step 308 is judged as NO, Perform step 310.When step 308 is judged as YES, perform step 309.When step 310 is judged as YES, perform step 311;Step 310 when being judged as NO, and performs step 316.Other steps are identical with Fig. 2, repeat no more.
It is understood that as shown in Figure 6, in the present invention the 5th better embodiment, it is judged as YES in step 306 Time, perform step 314.When step 314 is judged as YES, perform step 315;When step 314 is judged as NO, perform step 308.Step Rapid 308 when being judged as YES, and performs step 309;When step 308 is judged as NO, perform step 310.When step 310 is judged as YES, Perform step 311;When step 310 is judged as NO, perform step 312.When step 312 is judged as YES, perform step 313;Step 312 when being judged as NO, and performs step 316.Other steps are identical with Fig. 2, repeat no more.
It is understood that as it is shown in fig. 7, in the present invention the 6th better embodiment, be judged as YES in step 306 Time, perform step 314.When step 314 is judged as YES, perform step 315;When step 314 is judged as NO, perform step 312.Step Rapid 312 when being judged as YES, and performs step 313;When step 312 is judged as NO, perform step 308.When step 308 is judged as YES, Perform step 309;When step 308 is judged as NO, perform step 310.When step 310 is judged as YES, perform step 311;Step 310 when being judged as NO, and performs step 316.Other steps are identical with Fig. 2, repeat no more.
What the electronic installation 100 of the present invention and charging method thereof can detect that described charger 200 supported special fills soon Electricity agreement, and select the corresponding special charge protocol that fills soon to be charged according to testing result so that electronic installation 100 is compatible Support that the first kind is filled agreement, Equations of The Second Kind soon and filled the charger 200 of agreement soon, be user-friendly to, promote Consumer's Experience.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of the spirit or essential attributes of the present invention, it is possible to realize the present invention in other specific forms.Therefore, no matter From the point of view of which point, all should regard embodiment as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit requires rather than described above limits, it is intended that all by fall in the implication of equivalency and scope of claim Change is included in the present invention.Should not be considered as limiting involved claim by any reference in claim.This Outward, it is clear that " including " word be not excluded for other unit or, odd number is not excluded for plural number.Multiple unit of statement in system claims Or device can also be realized by software or hardware by a unit or device.The first, the second word such as grade is used for representing name Claim, and be not offered as any specific order.
Finally it should be noted that above example only in order to technical scheme to be described and unrestricted, although reference The present invention has been described in detail by preferred embodiment, it will be understood by those within the art that, can be to the present invention's Technical scheme is modified or equivalent, without deviating from the spirit and scope of technical solution of the present invention.
Claims (10)
1. an electronic installation, it is characterised in that described electronic installation includes:
Charging module, described charging module is used for connecting charger;
Central processor CPU, described CPU is connected with described charging module, for controlling what the detection of described charging module was connected The port type of described charger, and according to the port type of described charger, obtain and described port class from described charger The charging current that type is corresponding, to be charged described electronic installation;
Described CPU is additionally operable to when described charging module detects the charger that described charger is special charging port type, The first kind that the described charger of control described charging module detection is supported further fills agreement soon, and selects the first kind of correspondence Fill the protocol scheme described charger of control soon described electronic installation is charged;
Micro-control unit MCU, described MCU are connected with described charging module, and described MCU is for institute being detected when described charging module When stating the charger that charger is special charging port type, control the described charging module described charger of detection further and propped up The Equations of The Second Kind held fills agreement soon, and selects the Equations of The Second Kind of correspondence to fill the protocol scheme described charger of control soon to described electronic installation Be charged, the described first kind fill soon agreement include Quick Charge 2.0 agreement, Quick Charge 3.0 agreement and Pump Express 2.0 agreement, described Equations of The Second Kind fills agreement soon and includes voltage open loop multistep constant-current charge VOOC agreement.
2. electronic installation as claimed in claim 1, it is characterised in that the port type of described charger also includes standard down Port, charging downlink port:
When described charging module detects the charger that described charger is standard down port type, described CPU is from described Charger obtains the first charging current and is charged described electronic installation;
When described charging module detects the charger that described charger is charging downlink port type, described CPU is from described Charger obtains the second charging current and is charged described electronic installation.
3. electronic installation as claimed in claim 1, it is characterised in that described electronic installation also includes power management module, institute State power management module for detecting whether described charging module is connected with charger, and in described electronic installation and described charging When device is connected, described CPU controls described charging module and detects the port type of described charger.
4. electronic installation as claimed in claim 1, it is characterised in that described charging module detection USB battery charging specifications 1.2 Agreement, shakes hands completing the first time of electronic installation and charger.
5. electronic installation as claimed in claim 1, it is characterised in that when described charging module detects that described charger is special With the charger of charging port type, and it is not detected by the first kind that described charger supported and fills agreement soon and Equations of The Second Kind is fast When filling agreement, according to 5V charger type, described electronic installation is charged.
6. a charging method, is used for controlling charger and is charged electronic installation, it is characterised in that described method includes:
Detect the port type of described charger;
According to the port type of described charger, obtain corresponding charging current from described charger and described electronic installation is filled Electricity;
When the charger detecting that described charger is special charging port type, and detect that the first kind supported by described charger When filling agreement soon, select the corresponding first kind to fill the protocol scheme described charger of control soon and described electronic installation is charged;
When the charger detecting that described charger is special charging port type, and detect that Equations of The Second Kind supported by described charger When filling agreement soon, select corresponding Equations of The Second Kind to fill the protocol scheme described charger of control soon and described electronic installation be charged, The described first kind is filled agreement soon and is included Quick Charge 2.0 agreement, Quick Charge 3.0 agreement and Pump Express 2.0 agreements, described Equations of The Second Kind fills agreement soon and includes voltage open loop multistep constant-current charge VOOC agreement.
7. charging method as claimed in claim 6, it is characterised in that the port type of described charger also includes standard down Port, charging downlink port, described method also includes:
When the charger that described charger is standard down port type being detected, obtain the first charged electrical from described charger Described electronic installation is charged by stream;
When the charger that described charger is charging downlink port type, obtain the second charging current to institute from described charger State electronic installation to be charged.
8. charging method as claimed in claim 6, it is characterised in that described method also includes detecting filling of described electronic installation Whether electricity module is connected with described charger, and when described electronic installation is connected with described charger, detects described charger Port type.
9. charging method as claimed in claim 6, it is characterised in that described method also includes:
Detection USB battery charging specifications 1.2 agreement, shakes hands completing the first time of electronic installation and charger.
10. charging method as claimed in claim 6, it is characterised in that described method also includes:
When the charger detecting that described charger is special charging port type, and it is not detected by described charger and is supported The first kind fill agreement soon and time Equations of The Second Kind fills agreement soon, according to 5V charger type, described electronic installation is charged.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610852233.3A CN106329656A (en) | 2016-09-26 | 2016-09-26 | Electronic device and charging method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610852233.3A CN106329656A (en) | 2016-09-26 | 2016-09-26 | Electronic device and charging method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106329656A true CN106329656A (en) | 2017-01-11 |
Family
ID=57820076
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610852233.3A Pending CN106329656A (en) | 2016-09-26 | 2016-09-26 | Electronic device and charging method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106329656A (en) |
Citations (6)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2315335A2 (en) * | 2009-10-22 | 2011-04-27 | LG Electronics | Mobile terminal and charge current setting method thereof |
CN102684270A (en) * | 2012-05-31 | 2012-09-19 | 华为技术有限公司 | Method for identifying type of universal serial bus (USB) chargers and USB device |
CN105140583A (en) * | 2015-09-17 | 2015-12-09 | 珠海市一微半导体有限公司 | USB port based quick charge method |
CN105703417A (en) * | 2014-10-13 | 2016-06-22 | 力智电子股份有限公司 | Adapter, portable electronic device and charging control method thereof |
CN205385321U (en) * | 2016-02-22 | 2016-07-13 | 德业科技股份有限公司 | A structure that automatically selects between normal charging and quick charging of rechargeable batteries in mobile devices |
CN205429771U (en) * | 2015-10-29 | 2016-08-03 | 深圳市宏拓通达电子科技有限公司 | Intelligent adaptive fills portable power source soon |
-
2016
- 2016-09-26 CN CN201610852233.3A patent/CN106329656A/en active Pending
Patent Citations (6)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2315335A2 (en) * | 2009-10-22 | 2011-04-27 | LG Electronics | Mobile terminal and charge current setting method thereof |
CN102684270A (en) * | 2012-05-31 | 2012-09-19 | 华为技术有限公司 | Method for identifying type of universal serial bus (USB) chargers and USB device |
CN105703417A (en) * | 2014-10-13 | 2016-06-22 | 力智电子股份有限公司 | Adapter, portable electronic device and charging control method thereof |
CN105140583A (en) * | 2015-09-17 | 2015-12-09 | 珠海市一微半导体有限公司 | USB port based quick charge method |
CN205429771U (en) * | 2015-10-29 | 2016-08-03 | 深圳市宏拓通达电子科技有限公司 | Intelligent adaptive fills portable power source soon |
CN205385321U (en) * | 2016-02-22 | 2016-07-13 | 德业科技股份有限公司 | A structure that automatically selects between normal charging and quick charging of rechargeable batteries in mobile devices |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106329654A (en) | 2017-01-11 | Electronic device and charging method thereof |
CN102393837B (en) | 2014-07-30 | USB charger recognition device and method |
JP5388484B2 (en) | 2014-01-15 | Apparatus and method for detecting power supply |
CN104756350B (en) | 2018-03-02 | High voltage special charging port |
US9153999B2 (en) | 2015-10-06 | Circuits and methods for automatic power source detection |
JP5917778B2 (en) | 2016-05-18 | High voltage dedicated charging port |
CN101232196B (en) | 2011-04-06 | Control circuit of charging mode in USB charging stand and method thereof |
US6798173B2 (en) | 2004-09-28 | Automatic charging device via a universal serial bus and method of operating the same |
CN103106167B (en) | 2015-12-02 | A kind of USB device and control method thereof |
CN107742912A (en) | 2018-02-27 | Charging method, fast fill device and computer-readable recording medium |
CN106537725A (en) | 2017-03-22 | Charging circuit, electronic device using same, and charger |
CN104253458A (en) | 2014-12-31 | USB (universal serial bus) charging cable performance testing system and method and electronic device |
CN107783630A (en) | 2018-03-09 | Electronic installation and its control method and computer-readable recording medium |
KR20160030261A (en) | 2016-03-16 | Apparatus and method to change current limit |
CN104617615B (en) | 2017-03-22 | Charging method and electronic equipment |
CN106300549A (en) | 2017-01-04 | Electronic installation and charging method thereof |
CN109254210B (en) | 2022-03-29 | Electronic equipment port type detection method and device, detection circuit and electronic equipment |
CN106374563A (en) | 2017-02-01 | Electronic apparatus and charging method therefor |
CN106410894A (en) | 2017-02-15 | Electronic device and charging method thereof |
CN106300552A (en) | 2017-01-04 | Electronic installation and charging method thereof |
CN106329652A (en) | 2017-01-11 | Electronic device and charging method thereof |
CN106451617A (en) | 2017-02-22 | Electronic device and charging method thereof |
CN106329655A (en) | 2017-01-11 | Electronic device and charging method thereof |
CN106300551A (en) | 2017-01-04 | Electronic installation and charging method thereof |
CN106356935A (en) | 2017-01-25 | Electronic device and charging method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2017-01-11 | PB01 | Publication | |
2017-01-11 | PB01 | Publication | |
2017-02-08 | C10 | Entry into substantive examination | |
2017-02-08 | SE01 | Entry into force of request for substantive examination | |
2020-07-31 | RJ01 | Rejection of invention patent application after publication | |
2020-07-31 | RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170111 |