CN106356936A - Electronic device and charging method thereof - Google Patents

Electronic device and charging method thereof Download PDF

Info

Publication number
CN106356936A
CN106356936A CN201610852517.2A CN201610852517A CN106356936A CN 106356936 A CN106356936 A CN 106356936A CN 201610852517 A CN201610852517 A CN 201610852517A CN 106356936 A CN106356936 A CN 106356936A
Authority
CN
China
Prior art keywords
charger
charging
electronic installation
agreement
port type
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.)
Pending
Application number
CN201610852517.2A
Other languages
Chinese (zh)
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610852517.2A priority Critical patent/CN106356936A/en
Publication of CN106356936A publication Critical patent/CN106356936A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage

Landscapes

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

Abstract

The invention discloses an electronic device, comprising a charging module for connecting a charger, a CPU (Central Processing Unit) connected with the charging module and used for controlling the charging module to detect the port type of the connected charger and acquiring the charging current corresponding to the port type from the charger according to the port type of the charger, and charging the electronic device, and an MCU (Micro Controller Unit) connected with the charging module, wherein the MCU and the charging module are also used for further detecting the dedicated charging protocol supported by the charger and selecting the corresponding dedicated charging protocol scheme to control the charger to charge the electronic device when the charging module detects that the charger is a dedicated charging port type charger. The invention also provides a charging method. The electronic device and the charging method provided by the invention are compatible with various fast charging protocols.

Description

Electronic installation and its charging method
Technical field
The present invention relates to rapid nitriding field is and in particular to a kind of electronic installation and its charging method.
Background technology
A kind of fast charge protocol generally only supported by the electronic installations such as existing mobile phone, for example, supports qc 2.0 agreement Mobile phone generally just do not 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, (abbreviation pe+ 2.0), can only arrange in pairs or groups supports the charger of qc 2.0 agreement to realize quick charge it is impossible to vooc agreement and pe+ are supported in collocation The charger of 2.0 agreements carries out quick charge.Support vooc protocol scheme mobile phone generally just do not support qc2.0 protocol scheme and Pe+2.0 protocol scheme, can only arrange in pairs or groups and support the charger of vooc agreement to realize quick charge it is impossible to qc2.0 association is supported in collocation The charger of view and pe+2.0 agreement carries out quick charge.The mobile phone supporting pe+2.0 protocol scheme does not generally just support qc2.0 Protocol scheme and vooc protocol scheme, can only arrange in pairs or groups and support the charger of pe+2.0 agreement to realize quick charge it is impossible to arrange in pairs or groups Support that qc2.0 agreement and the charger of vooc agreement carry out quick charge.Therefore, the compatibility to charger for the existing electronic installation Poor.
Content of the invention
In view of the foregoing it is necessary to provide one kind simultaneously compatible can support qc2.0 agreement, pe+2.0 agreement and vooc association The electronic installation of the charger of view.
In addition it is necessary to provide a kind of above-mentioned electronic installation corresponding charging method
A kind of electronic installation, described electronic installation includes:
Charging module, described charging module is used for connecting charger;
Central processing unit cpu, described cpu is connected with described charging module, for controlling described charging module detection to be connected The port type of the described charger connecing, and the port type according to described charger, obtain and described end from described charger The mouth corresponding charging current of type, to be charged to described electronic installation;
Described cpu is additionally operable to detect, when described charging module, the charger that described charger is special charging port type When, control the first kind that described charging module detects that described charger is supported to fill agreement soon further, and select corresponding the One class is filled protocol scheme soon and controls described charger that described electronic installation is charged;
Micro-control unit mcu, described mcu is connected with described charging module, and described mcu is used for when the detection of described charging module To described charger be special charging port type charger when, control described charging module to detect described charger further The Equations of The Second Kind supported fills agreement soon, and selects corresponding Equations of The Second Kind to fill the protocol scheme described charger of control soon to described electronics Device is charged, and the described first kind fills that agreement includes quick charge 2.0 agreement and pump express 2.0 assists soon View, 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 charging module detect described charger be standard down port type charger when, described cpu from Described charger obtains the first charging current and described electronic installation is charged;
When described charging module detects the charger that described charger is charging downlink port type, described cpu from Described charger obtains the second charging current and described electronic installation is charged.
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 to detect the port type of described charger.
According to the preferred embodiment of the present invention, described charging module detects 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, it is special charging port type when described charging module detects described charger Charger, and be not detected by the first kind that described charger supported and fill agreement soon and when Equations of The Second Kind fills agreement soon, according to 5v charger type is charged to described electronic installation.
A kind of charging method, for controlling charger that electronic installation is charged, methods described 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 charges;And
When the charger that described charger is special charging port type is detected, and described charger is detected and support the When one class fills agreement soon, select the corresponding first kind to fill protocol scheme soon and control described charger that described electronic installation is filled Electricity;
When the charger that described charger is special charging port type is detected, and described charger is detected and support the When two classes fill agreement soon, select corresponding Equations of The Second Kind to fill protocol scheme soon and control described charger that described electronic installation is filled Electricity, the described first kind is filled agreement soon and is included quick charge 2.0 agreement and pump express 2.0 agreement, and described second Class is filled agreement soon and is included 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, methods described also includes:
When the charger that described charger is standard down port type is detected, obtain first from described charger and fill Electric current is charged to described electronic installation;
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, detect the port type of described charger.
According to the preferred embodiment of the present invention, methods described also includes:
Detection usb battery charging specifications 1.2 agreement, was shaken hands with the first time completing electronic installation and charger.
According to the preferred embodiment of the present invention, methods described also includes:
When the charger that described charger is special charging port type is detected, and it is not detected by described charger institute The first kind supported fills agreement and when Equations of The Second Kind fills agreement soon soon, according to 5v charger type, described electronic installation is filled Electricity.
Compared to prior art, described electronic installation and its charging method can detect the charging association that described charger is supported View, and select corresponding charge protocol to be charged according to testing result so that electronic installation is compatible supports that the first kind is filled soon Agreement and Equations of The Second Kind fill the charger of agreement soon, are user-friendly to, and lift Consumer's Experience.
Brief description
It is the circuit diagram of the electronic installation of a preferred embodiment of the present invention shown in Fig. 1.
It is the flow chart of the method for the present invention first preferred embodiment shown in Fig. 2.
It is the flow chart of the method for the present invention second preferred embodiment shown in Fig. 3.
It is the flow chart of the method for the present invention the 3rd preferred embodiment shown in Fig. 4.
It is the flow chart of the method for the present invention the 4th preferred embodiment shown in Fig. 5.
It is the flow chart of the method for the present invention the 5th preferred embodiment shown in Fig. 6.
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 resistor r1
Second resistance r2
3rd resistor r3
4th resistance r4
Following specific embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Specific embodiment
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 Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.
Based on the embodiment in the present invention, those of ordinary skill in the art institute on the premise of not making creative work The every other embodiment obtaining, broadly falls into the scope of protection of the invention.
With reference to shown in Fig. 1, 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 adapter, 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 first resistor r1, and through second resistance r2 and data pin usb_d- It is connected.
Described cpu30 is connected with described charging module 10, for controlling described in the detection of described charging module 10 connected The port type of charger 200, and the port type according to described charger 200, control described charger 200 is to electronic installation 100 charging scheme.Specifically, cpu30 obtains 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, charging 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 is charged, if described fill It is cdp type that electric module 10 detects described charger 200, then obtain the second charging current to described from described charger 200 Electronic installation is charged.In this preferred embodiment, described first charging current is about the charging electricity of 500ma for maximum current Stream, described second charging current is about the charging current of 900ma for maximum current.
If described charging module 10 detects the charger that described charger 200 is dcp type, described cpu 30 controls 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 corresponding first kind to fill protocol scheme soon and described electronic installation 100 is charged.
Described mcu50 is connected with described charging module 10 with the 4th resistance r4 through 3rd resistor r3, 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, select corresponding Equations of The Second Kind to fill association soon View scheme is charged to described electronic installation 100.In other embodiments it is also possible to described charging is controlled 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 is filled agreement soon and is included quick charge 2.0 agreement and pump Express 2.0 fills agreement soon, (abbreviation pe+2.0), and described Equations of The Second Kind fills agreement soon and includes vooc (voltage open loop Multi-step constant-current charging, voltage open loop multistep constant-current charge) agreement.Described cpu 30 is concrete Detect that the first kind that described charger 200 is supported fills agreement soon and described mcu 50 specifically detects that described charger 200 is propped up The method that the Equations of The Second Kind held fills agreement soon specifically will describe in detail in the better embodiment of the present invention as shown in Fig. 2-Fig. 7.
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 It is connected with described charger 200, then described charging module 10 detects the port type of described charger 200, if described charging Module 10 is not connected with described charger 200, then 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 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 described electronic installation 100 is detected to be connected with charger 200, 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 detection usb battery charging specifications 1.2 agreement (abbreviation bc 1.2), shaken hands with the first time completing electronic installation 100 and charger 200..
Step 302, described cpu 30 controls whether the connected charger 200 of described charging module 10 detection is sdp class The charger 200 of type, if the charger that connected charger 200 is sdp type is detected, enters step 303, if The charger that connected charger 200 is not sdp type is detected, 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 by during low level it is determined that the equipment being connect is sdp type of charge device.
Step 303, described cpu 30 controls described charging module 10 to obtain the first charging current to described from charger 200 Electronic installation 100 is charged.In this preferred embodiment, described first charging current is about filling of 500ma for maximum current Electric current.
Step 304, described cpu 30 controls whether the connected charger 200 of described charging module 10 detection is cdp class The charger 200 of type, if the charger that connected charger 200 is cdp type is detected, enters step 305, if The charger that connected charger 200 is not cdp type is detected, then enter step 306.
In one embodiment of the invention, when electronic installation 100 is connected to a charger, then open electronics dress Put pull-up power supply vdm_src of 100 d- signal, that is, the d- signal of electronic installation 100 is high level, disconnects electronic installation 100 D+ signal pull-up power supply vdp_src, 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 as cdp type for the connected charger accordingly.
Step 305, described cpu 30 controls described charging module 10 to obtain the second charging current to described from charger 200 Electronic installation 100 is charged.In this preferred embodiment, described second charging current is about filling of 900ma for maximum current Electric current.
Step 306, described cpu 30 controls whether the connected charger 200 of described charging module 10 detection is dcp class The charger of type, if the charger 200 that connected charger 200 is dcp type is detected, enters step 307, if The charger that connected charger 200 is not dcp type is detected, then enter step 308.
In one embodiment of the invention, when electronic installation 100 is connected to a charger, then open electronics dress Put pull-up power supply vdm_src of 100 d- signal, that is, the d- signal of electronic installation 100 is high level, disconnects electronic installation 100 D+ signal pull-up power supply vdp_src, 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 as dcp type for the connected charger accordingly.
Step 307, described cpu 30 controls described charging module 10 to set from charger 200 acquisition the 3rd charging current pair Described electronic installation 100 is charged.In this preferred embodiment, described 3rd charging current is about 500ma for maximum current Charging current.
Step 308, described cpu 30 controls described charging module 10 to detect whether described charger 200 supports that qc2.0 assists View, if qc2.0 agreement supported by described charger 200, enters step 309, if qc2.0 do not supported by described charger 200 Agreement, then enter step 310.
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 pull-up power supply vdp_src in its d+.Charger 200 detects d+ On output voltage and guarantee that output voltage on d+ is higher than the first decision level vdat_ref in the duration of a second and is 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, electronic installation 100 Hold qc2.0 agreement.
Step 309, described cpu 30 controls described charging module 10 to adopt qc2.0 protocol scheme to described electronic installation 100 are charged.
Step 310, described cpu 30 controls described charging module 10 to detect whether described charger 200200 supports pe+ 2.0 agreements, if pe+2.0 agreement supported by described charger 200, enter step 311, if described charger 200 is not supported Pe+2.0 agreement, then enter step 312.
In one embodiment of the invention, when charging module 10 determines that the charger being connected with electronic installation 100 is cdp When type or dcp type, charging module 10 sends up voltage instruction current pattern and inserts it is therefore an objective to distinguish further Whether the device entering 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 via the insertion of usb adapter is the power supply adaptor meeting fc agreement.If vbus meets power supply adaptor output The specification of 7v is it is possible to determine that support pe+2.0 agreement for charger 200.
Step 311, described cpu 30 controls described charging module 10 to adopt pe+2.0 protocol scheme to described electronic installation 100 are charged.
Step 312, described mcu 50 detects whether described charger 200 supports vooc agreement, if described charger 200 Support vooc agreement, then enter step 313, if qc2.0 agreement do not supported by described charger 200, enter step 314.
In one embodiment of the invention, charging module 10 passes through to detect the d+ signal of adapter 201, and d- signal comes Judge the agreement of vooc, wherein d+ is used for transmitting the clk data of handshake, d- is used for transmitting the data data of handshake.
Step 313, described mcu 50 is charged to described electronic installation 100 using vooc protocol scheme.
Step 314, described cpu 30 controls described charging module 10 to carry out normal charge according to common 5v charger type.
It is understood that as shown in figure 3, in the present invention second better embodiment, being judged as YES in step 306 When, execution step 308.When step 308 is judged as YES, execution step 309;When step 308 is judged as NO, execution step 312.When step 312 is judged as YES, execution step 313;When step 312 is judged as NO, execution step 310.Step 310 is judged as When being, execution step 311;When step 310 is judged as NO, execution step 314.Other steps are identical with Fig. 2, do not repeating.
It is understood that as shown in figure 4, in the present invention the 3rd better embodiment, being judged as YES in step 306 When, execution step 310.When step 310 is judged as YES, execution step 311;When step 310 is judged as NO, execution step 308.Step Rapid 308 when being judged as YES, execution step 309;When step 308 is judged as NO, execution step 312.When step 312 is judged as NO, Execution step 314.When step 312 is judged as YES, execution step 313.Other steps are identical with Fig. 2, do not repeating.
It is understood that as shown in figure 5, in the present invention the 4th better embodiment, being judged as YES in step 306 When, execution step 310.When step 310 is judged as YES, execution step 311;When step 310 is judged as NO, execution step 312.Step Rapid 312 when being judged as YES, execution step 313;When step 312 is judged as NO, execution step 308.When step 308 is judged as NO, Execution step 314.When step 308 is judged as YES, execution step 309.Other steps are identical with Fig. 2, do not repeating.
It is understood that as shown in fig. 6, in the present invention the 5th better embodiment, being judged as YES in step 306 When, execution step 312.When step 312 is judged as YES, execution step 313;When step 312 is judged as NO, execution step 308.Step Rapid 308 when being judged as YES, execution step 309;When step 308 is judged as NO, execution step 310.When step 310 is judged as YES, Execution step 311;When step 310 is judged as NO, execution step 314.Other steps are identical with Fig. 2, do not repeating.
It is understood that as shown in fig. 7, in the present invention the 6th better embodiment, being judged as YES in step 306 When, execution step 312.When step 312 is judged as YES, execution step 313;When step 312 is judged as NO, execution step 310.Step Rapid 310 when being judged as YES, execution step 311;When step 310 is judged as NO, execution step 308.When step 308 is judged as YES, Execution step 309;When step 308 is judged as NO, execution step 314.Other steps are identical with Fig. 2, do not repeating.
What the electronic installation 100 of the present invention and its charging method can detect that described charger 200 is supported special fills soon Electric agreement, and select the corresponding special charge protocol that fills soon to be charged so that electronic installation 100 is compatible according to testing result Support that the first kind fills the charger 200 that agreement, Equations of The Second Kind fill agreement soon soon, be user-friendly to, lift 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, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded 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 in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as limiting involved claim.This Outward it is clear that " inclusion " one word is not excluded for other units or, odd number is not excluded for plural number.Multiple units of statement in system claims Or device can also be realized by software or hardware by a unit or device.The first, the second grade word is used for representing name Claim, and be not offered as any specific order.
Finally it should be noted that above example is only in order to illustrate technical scheme and unrestricted, although reference Preferred embodiment has been described in detail to the present invention, 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. a kind of electronic installation is it is characterised in that described electronic installation includes:
Charging module, described charging module is used for connecting charger;
Central processing unit cpu, described cpu is connected with described charging module, for controlling described charging module detection to be connected The port type of described charger, and the port type according to described charger, obtain and described port class from described charger The corresponding charging current of type, to be charged to described electronic installation;
Described cpu is additionally operable to when described charging module detects the charger that described charger is special charging port type, Control the first kind that described charging module detects that described charger is supported to fill agreement soon further, and select the corresponding first kind Filling protocol scheme soon controls described charger that described electronic installation is charged;
Micro-control unit mcu, described mcu is connected with described charging module, and described mcu is used for institute is detected when described charging module When stating the charger that charger is special charging port type, described charging module is controlled to detect that described charger is propped up further The Equations of The Second Kind held fills agreement soon, and selects corresponding Equations of The Second Kind to fill the protocol scheme described charger of control soon to described electronic installation It is charged, the described first kind is filled agreement soon and included quick charge 2.0 agreement and pump express 2.0 agreement, institute State Equations of The Second Kind and fill agreement soon and include voltage open loop multistep constant-current charge vooc agreement.
2. electronic installation as claimed in claim 1 is 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 described electronic installation is charged;
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 described electronic installation is charged.
3. electronic installation as claimed in claim 1 is it is characterised in that described electronic installation also includes power management module, institute State power management module to be used 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 to detect the port type of described charger.
4. electronic installation as claimed in claim 1 is it is characterised in that described charging module detects usb battery charging specifications 1.2 Agreement, was shaken hands with the first time completing electronic installation and charger.
5. electronic installation as claimed in claim 1 is it is characterised in that be special when described charging module detects described charger With the charger of charging port type, and it is not detected by that the first kind that described charger supported 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 kind of charging method, for controlling charger electronic installation to be charged it is characterised in that methods described 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;And
When the charger that described charger is special charging port type is detected, and detect that described charger is supported first When class fills agreement soon, select the corresponding first kind to fill protocol scheme soon and control described charger that described electronic installation is filled Electricity;
When the charger that described charger is special charging port type is detected, and described charger is detected and support Equations of The Second Kind When filling agreement soon, select corresponding Equations of The Second Kind to fill protocol scheme soon and control described charger that described electronic installation is charged, The described first kind is filled agreement soon and is included quick charge 2.0 agreement and pump express 2.0 agreement, and described Equations of The Second Kind is fast Fill agreement and include voltage open loop multistep constant-current charge vooc agreement.
7. charging method as claimed in claim 6 is it is characterised in that the port type of described charger also includes standard down Port, charging downlink port, methods described also includes:
When the charger that described charger is standard down port type is detected, obtain the first charging electricity from described charger Stream is charged to described electronic installation;
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 is it is characterised in that methods described also includes detecting filling of described electronic installation Whether electric 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 is it is characterised in that methods described also includes:
Detection usb battery charging specifications 1.2 agreement, was shaken hands with the first time completing electronic installation and charger.
10. charging method as claimed in claim 6 is it is characterised in that methods described also includes:
When the charger that described charger is special charging port type is detected, and it is not detected by described charger and is supported The first kind fill agreement soon and when Equations of The Second Kind fills agreement soon, according to 5v charger type, described electronic installation is charged.
CN201610852517.2A 2016-09-26 2016-09-26 Electronic device and charging method thereof Pending CN106356936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610852517.2A CN106356936A (en) 2016-09-26 2016-09-26 Electronic device and charging method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610852517.2A CN106356936A (en) 2016-09-26 2016-09-26 Electronic device and charging method thereof

Publications (1)

Publication Number Publication Date
CN106356936A true CN106356936A (en) 2017-01-25

Family

ID=57858602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610852517.2A Pending CN106356936A (en) 2016-09-26 2016-09-26 Electronic device and charging method thereof

Country Status (1)

Country Link
CN (1) CN106356936A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110043162A1 (en) * 2009-08-19 2011-02-24 Richtek Technology Corp. Charger and portable device having the same
CN102156524A (en) * 2011-02-11 2011-08-17 威盛电子股份有限公司 Adaptive universal serial bus charging method and system
CN102684270A (en) * 2012-05-31 2012-09-19 华为技术有限公司 Method for identifying type of universal serial bus (USB) chargers and USB device
EP2315335A3 (en) * 2009-10-22 2014-04-02 LG Electronics Inc. Mobile terminal and charge current setting method thereof
CN105553001A (en) * 2015-12-23 2016-05-04 深圳市万普拉斯科技有限公司 Charging method and intelligent terminal
CN105723297A (en) * 2013-11-18 2016-06-29 高通股份有限公司 Devices and methods for facilitating usb charger detection
CN205540709U (en) * 2016-01-27 2016-08-31 深圳市瑞之辰科技有限公司 Special quick charge port adaptation chip of USB

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110043162A1 (en) * 2009-08-19 2011-02-24 Richtek Technology Corp. Charger and portable device having the same
EP2315335A3 (en) * 2009-10-22 2014-04-02 LG Electronics Inc. Mobile terminal and charge current setting method thereof
CN102156524A (en) * 2011-02-11 2011-08-17 威盛电子股份有限公司 Adaptive universal serial bus charging method and system
CN102684270A (en) * 2012-05-31 2012-09-19 华为技术有限公司 Method for identifying type of universal serial bus (USB) chargers and USB device
CN105723297A (en) * 2013-11-18 2016-06-29 高通股份有限公司 Devices and methods for facilitating usb charger detection
CN105553001A (en) * 2015-12-23 2016-05-04 深圳市万普拉斯科技有限公司 Charging method and intelligent terminal
CN205540709U (en) * 2016-01-27 2016-08-31 深圳市瑞之辰科技有限公司 Special quick charge port adaptation chip of USB

Similar Documents

Publication Publication Date Title
CN106329654A (en) Electronic device and charging method thereof
CN102393837B (en) USB charger recognition device and method
CN101232196B (en) Control circuit of charging mode in USB charging stand and method thereof
JP5388484B2 (en) Apparatus and method for detecting power supply
US9153999B2 (en) Circuits and methods for automatic power source detection
JP5981043B2 (en) High voltage dedicated charging port
JP5917778B2 (en) High voltage dedicated charging port
CN104103868B (en) Charging method and system for charger of mobile terminal
CN107742912A (en) Charging method, fast fill device and computer-readable recording medium
US9018896B2 (en) Method and system for determining whether a portable device is charging
CN106537725A (en) Charging circuit, electronic device using same, and charger
CN103064489A (en) Method for selecting internal circuit according to conditions of universal serial bus (USB) interface and terminal
CN106374563A (en) Electronic apparatus and charging method therefor
CN106300549A (en) Electronic installation and charging method thereof
CN106786979A (en) The fast fill device and protocol identification and charging/discharging thereof of compatible various discharge and recharge agreements
JP2016531368A (en) Apparatus and method for changing current limit value
CN107783630A (en) Electronic installation and its control method and computer-readable recording medium
CN106410894A (en) Electronic device and charging method thereof
CN109254210A (en) Electronic device port type detection method, apparatus, detection circuit and electronic equipment
CN106329630A (en) Charging method and device
CN105429217B (en) A kind of method for identifying the system of charger and its identifying charger
CN106329652A (en) Electronic device and charging method thereof
CN106451617A (en) Electronic device and charging method thereof
CN106329655A (en) Electronic device and charging method thereof
CN106451615A (en) Electronic device and charging method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170125