CN106684986A - Charging equipment and fast-charging protocol analytic method and system thereof - Google Patents

Charging equipment and fast-charging protocol analytic method and system thereof Download PDF

Info

Publication number
CN106684986A
CN106684986A CN201611220314.8A CN201611220314A CN106684986A CN 106684986 A CN106684986 A CN 106684986A CN 201611220314 A CN201611220314 A CN 201611220314A CN 106684986 A CN106684986 A CN 106684986A
Authority
CN
China
Prior art keywords
usb
equipment
charging
pins
charging equipment
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
CN201611220314.8A
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.)
Jian Rong semiconductor (Shenzhen) Co., Ltd.
Original Assignee
ZHUHAI HUANGRONG INTEGRATED CIRCUIT TECHNOLOGY Co Ltd
Jian Rong Semiconductor (shenzhen) Co Ltd
Jianrong Integrated Circuit Technology Zhuhai 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 ZHUHAI HUANGRONG INTEGRATED CIRCUIT TECHNOLOGY Co Ltd, Jian Rong Semiconductor (shenzhen) Co Ltd, Jianrong Integrated Circuit Technology Zhuhai Co Ltd filed Critical ZHUHAI HUANGRONG INTEGRATED CIRCUIT TECHNOLOGY Co Ltd
Priority to CN201611220314.8A priority Critical patent/CN106684986A/en
Publication of CN106684986A publication Critical patent/CN106684986A/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
    • 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/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge

Landscapes

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

Abstract

The invention belongs to the field of fast-charging protocol recognition, and provides a set of charging equipment and a fast-charging protocol analytic method and system thereof. The charging equipment and the fast-charging protocol analytic method and system thereof can recognize whether the charging equipment support an MTK PE fast-charging protocol, and recognize whether the to-be-charged equipment supports a QC2.0 fast-charging protocol or a QC3.0 fast-charging protocol according to the voltage sequences of a USB_DM pin and a USB_DP pin, thereby recognizing three main fast-charging protocols on the present market: the MTK PE fast-charging protocol, the QC2.0 fast-charging protocol and the QC3.0 fast-charging protocol, and performing instruction analysis and response on the protocol according to a recognition result; and meanwhile, the recognition of the iphone equipment is supported, and the recognition of the Samsung equipment is further supported, thereby intelligently recognizing various mobile phone equipment and fast-charging protocols, and accurately improving the charging efficiency to a mobile phone.

Description

A kind of charger and its protocol analysis method, system are filled soon
Technical field
The invention belongs to fast charge protocol technology of identification field, more particularly to a kind of charger and its agreement solution is filled soon Analysis method, system.
Background technology
With the popularization of smart mobile phone, cell phone battery capacity more increases, and market is very strong to the demand of quick charge. But due to each big mobile phone brand, all each develop it is special fill agreement soon, single charger for mobile phone or portable power source, it is impossible to Compatible other fast charging mobile phones.So, user's mobile phone brand on hand is more, and charger for mobile phone, portable power source are more next accordingly It is more, use and be inconvenient.
At present, the agreement of filling soon of main flow mainly includes on market:High pass Quick Charge 2.0/3.0(I.e.:QC2.0/ 3.0)Agreement, and Lian Fa sections Pump Express are filled soon(MTK PE)Agreement is filled soon.And in prior art, charger(Such as Charger, portable power source etc.)Cannot simultaneously support that QC2.0/3.0 fills soon agreement and MTK PE fill soon the identification and parsing of agreement, And then cannot intelligence the various cell phone apparatus of identification and fill agreement soon, cause mobile phone charge efficiency low.
The content of the invention
The purpose of the embodiment of the present invention be a kind of charger is provided fill protocol analysis method soon, it is intended to solve existing The charger that technology is provided cannot simultaneously support that QC2.0/3.0 fills soon agreement and MTK PE fill soon the identification and parsing of agreement, And then cannot intelligence the various cell phone apparatus of identification and fill agreement soon, the problem for causing mobile phone charge efficiency low.
What the embodiment of the present invention was achieved in that a kind of charger fills soon protocol analysis method, and methods described includes Following steps:
After the USB charging inlets of charging equipment connection charger, obtained by the interface driving circuit of the charger The charging equipment is recognized described to be charged from the size of USB_VBus pin obtaining currents and the cycle of obtaining current Whether equipment supports that MTK PE fill soon agreement;
After the USB charging inlets of charging equipment connection charger, recognize whether the charging equipment is Fructus Mali pumilae equipment;
If recognizing, the charging equipment is not Fructus Mali pumilae equipment, during by the voltage for detecting USB_DM pins and USB_DP pins Sequence supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement recognizing the charging equipment;
According to recognition result, parsed and responded based on instruction of the agreement to the charging equipment is filled soon accordingly, completed Charging to the charging equipment.
The another object of the embodiment of the present invention be a kind of charger is provided fill protocol analysis method, methods described soon Comprise the following steps:
After the USB charging inlets of charging equipment connection charger, obtained by the interface driving circuit of the charger Charging equipment recognizes the charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current Whether support that MTK PE fill soon agreement;
After the USB charging inlets of charging equipment connection charger, recognize whether the charging equipment is Fructus Mali pumilae equipment;
If recognizing, the charging equipment is not Fructus Mali pumilae equipment, by the short circuit electricity for detecting USB_DM pins and USB_DP pins Press to recognize whether the charging equipment is Samsung equipment;
If charging equipment shown in identification is not Samsung equipment, during by the voltage for detecting USB_DM pins and USB_DP pins Sequence supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement recognizing the charging equipment;
According to recognition result, parsed and responded based on instruction of the agreement to the charging equipment is filled soon accordingly, completed Charging to the charging equipment.
The another object of the embodiment of the present invention be a kind of charger is provided fill protocol analysis system, the system soon Including:
First identification module, for after the USB charging inlets that charging equipment connects charger, by the charger Interface driving circuit obtain charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current, and then Recognize whether the charging equipment supports that MTK PE fill soon agreement;
Second identification module, for after the USB charging inlets that charging equipment connects charger, recognizing described to be charged set Whether standby be Fructus Mali pumilae equipment;
3rd identification module, for when it is not Fructus Mali pumilae equipment that second identification module recognizes the charging equipment, passing through The voltage sequential of detection USB_DM pins and USB_DP pins come recognize the charging equipment support QC2.0 fill soon agreement or QC3.0 fills soon agreement;
First protocol analysis and respond module, for being tied according to the identification of first identification module and the 3rd identification module Really, parsed and responded based on filling instruction of the agreement to the charging equipment soon accordingly, complete to be charged to be set to described Standby charging.
The another object of the embodiment of the present invention be a kind of charger is provided fill protocol analysis system, the system soon Including:
4th identification module, for after the USB charging inlets that charging equipment connects charger, by the charger Interface driving circuit obtain the charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current, And then recognize whether the charging equipment supports that MTK PE fill soon agreement;
5th identification module, for after the USB charging inlets that the charging equipment connects the charger, identification to be described Whether charging equipment is Fructus Mali pumilae equipment;
6th identification module, for when it is not Fructus Mali pumilae equipment that the 5th identification module recognizes the charging equipment, passing through Detect the short circuit voltage of the USB_DM pins and the USB_DP pins to recognize whether the charging equipment is that Samsung sets It is standby;
7th identification module, for when the 6th identification module identification charging equipment is not Samsung equipment, by detection The voltage sequential of the USB_DM pins and the USB_DP pins supports that QC2.0 fills soon association recognizing the charging equipment View or QC3.0 fill soon agreement;
Second protocol is parsed and respond module, for being tied according to the identification of the 4th identification module and the 7th identification module Really, parsed and responded based on filling instruction of the agreement to the charging equipment soon accordingly, complete to be charged to be set to described Standby charging.
The another object of the embodiment of the present invention is to provide a kind of charger, including USB charging inlets and connection institute The drive circuit of USB charging inlets is stated, the charger also fills soon protocol analysis system including one, described to fill protocol analysis soon System is that charger as above fills soon protocol analysis system.
Charger provided in an embodiment of the present invention and its fill soon protocol analysis method, system can according to charging equipment from The size of USB_VBus pin obtaining currents and the cycle of obtaining current recognize whether charging equipment supports that MTK PE fill soon association View, and according to the voltage sequential of USB_DM pins and USB_DP pins come recognize charging equipment support QC2.0 fill soon agreement or QC3.0 fills soon agreement, you can identify that main in the market three kind fill soon agreement:MTK PE fill soon agreement, QC2.0 and fill soon Agreement, QC3.0 fill soon agreement, and agreement can be carried out according to recognition result instructing parsing and response, meanwhile, also support that Fructus Mali pumilae sets Standby identification, and can further support the identification of Samsung equipment, various cell phone apparatus of identification so as to intelligence and fills soon agreement, Accurately improve the charge efficiency to mobile phone.
Description of the drawings
Fig. 1 is the flow chart for filling protocol analysis method soon of the charger that the embodiment of the present invention one is provided;
Fig. 2 is in the embodiment of the present invention one, the flow chart whether identification charging equipment is Fructus Mali pumilae equipment;
Fig. 3 is in the embodiment of the present invention one, recognizes that charging equipment supports that QC2.0 fills soon agreement or QC3.0 fills soon the stream of agreement Cheng Tu;
Fig. 4 is the flow chart for filling protocol analysis method soon of the charger that the embodiment of the present invention two is provided;
Fig. 5 is in the embodiment of the present invention two, the flow chart whether identification charging equipment is Samsung equipment;
Fig. 6 is in the embodiment of the present invention two, recognizes that charging equipment supports that QC2.0 fills soon agreement or QC3.0 fills soon the stream of agreement Cheng Tu;
Fig. 7 is the structure chart for filling protocol analysis system soon of the charger that the embodiment of the present invention three is provided;
Fig. 8 is in Fig. 7, the structure chart of the second identification module;
Fig. 9 is in Fig. 7, the structure chart of the 3rd identification module;
Figure 10 is the structure chart for filling protocol analysis system soon of the charger that the embodiment of the present invention four is provided;
Figure 11 is in Figure 10, the structure chart of the 6th identification module;
Figure 12 is in Figure 10, the structure chart of the 7th identification module.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, and It is not used in the restriction present invention.
For prior art propose problem, the present invention propose a kind of charger and its fill soon protocol analysis method, System.The method and system can be according to charging equipments from the size of USB_VBus pin obtaining currents and the cycle of obtaining current To recognize whether charging equipment supports that MTK PE fill soon agreement, and during according to the voltage of USB_DM pins and USB_DP pins Sequence supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement recognizing charging equipment.Come specifically below with reference to embodiment The implementation of the bright present invention:
Embodiment one
What the embodiment of the present invention one proposed a kind of charger fills soon protocol analysis method, as shown in figure 1, including following step Suddenly:
S00:After the USB charging inlets of charging equipment connection charger, obtained by the interface driving circuit of charger Whether charging equipment recognizes charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current Support that MTK PE fill soon agreement.
In embodiment one, charging equipment refers to that smart mobile phone, panel computer etc. need external power source to be charged just Take formula electronic equipment;Charger refers to and fill agreement soon according to certain, civil power is changed the electricity that backward charging equipment charges Sub- equipment, such as charger, portable power source.
In embodiment one, the pin of the USB charging inlets being related to is defined as:USB_VBus pins, i.e.,:VCC pin, be Plant-grid connection pin, charging equipment after being connected with charger, the USB_VBus pins of the USB charging inlets of charger Just start to provide+5V voltages to charging equipment, fill soon after agreement until detecting, switch other higher electricity such as+9V or+12V Pressure carries out quick charge;USB_DM pins, i.e.,:D- pins, are data minus pin;USB_DP pins, i.e.,:D+ pins, are data Positive pin.
For core processor is using the charging equipment of MTK processors, it supports that MTK PE fill soon agreement, treats when this kind of After charger is connected with charger, can be from the USB_VBus pin obtaining currents of the USB charging inlets of charger, in connection Early stage, according to MTK PE agreement is filled soon, and the size of obtaining current and the cycle of obtaining current should meet the regulation of agreement, therefore, in reality In applying example one, by detecting whether charging equipment accords with from the size of USB_VBus pin obtaining currents and the cycle of obtaining current Close the regulation that MTK PE fill soon agreement, you can identify whether charging equipment supports that MTK PE fill soon agreement:If meeting MTK PE fills soon the regulation of agreement, then identify that charging equipment supports that MTK PE fill soon agreement;If not meeting MTK PE fills soon agreement Regulation, then identify that charging equipment does not support that MTK PE fill soon agreement.
S01:After the USB charging inlets of charging equipment connection charger, whether identification charging equipment is that Fructus Mali pumilae sets It is standby.
Further, as shown in Fig. 2 step S01 may include following steps:
S011:After the USB charging inlets of charging equipment connection charger, the interface driving circuit for controlling charger drives USB_VBus pins export+5V charging voltages.
S012:Control interface drive circuit drives USB_DM pins and USB_DP pins to export 2.7V voltages respectively.
For Fructus Mali pumilae equipment, the USB_DM pins and USB_DP pins of its USB charging inlet are in high-impedance state, and other brands Charging equipment in USB charging inlets USB_DM pins and USB_DP pins there is voltage or have driving force, because This, it is recognizable to treat if charger can maintain not decline by the 2.7V voltages that USB_DM pins and USB_DP pins send Charger is Fructus Mali pumilae equipment, is otherwise the equipment of other brands.
Additionally, in embodiment one, the voltage of 2.7V can be recognized by equipment such as Fructus Mali pumilae 2.4A, 2A, 2.1A, i.e., existing all kinds of The identification of Fructus Mali pumilae portable electric appts is suitable for.
S013:Judge in the given time whether the voltage of USB_DM pins and USB_DP pins declines, and is then to perform step Rapid S014, otherwise execution step S015.
S014:Identification charging equipment is not Fructus Mali pumilae equipment.
S015:Identification charging equipment is Fructus Mali pumilae equipment.
In embodiment one, after identifying that charging equipment is Fructus Mali pumilae equipment, because Fructus Mali pumilae equipment is not supported to fill agreement soon, Therefore, interface driving circuit may proceed to drive USB_DM pins and USB_DP pins to export 2.7V voltages, Fructus Mali pumilae equipment meeting respectively Inside voluntarily configures, and+5V the charging voltages exported using the USB_VBus pins of charger complete follow-up charging process.
S02:If identification charging equipment is not Fructus Mali pumilae equipment, by the electricity for detecting USB_DM pins and USB_DP pins Press sequential to recognize that charging equipment supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement.
Further, as shown in figure 3, step S02 may include following steps:
S021:If identification charging equipment is not Fructus Mali pumilae equipment, control interface drive circuit stop driving USB_DM pins and USB_DP pin output voltages.
S022:The voltage sequential of USB_DM pins and USB_DP pins is obtained by the interface driving circuit of charger.
S023:If the voltage sequential for obtaining meets the regulation that QC2.0 fills soon agreement, identification charging equipment is supported QC2.0 fills soon agreement, if the voltage sequential for obtaining meets the regulation that QC3.0 fills soon agreement, identification charging equipment is supported QC3.0 fills soon agreement.
S03:According to recognition result, parsed and responded based on instruction of the agreement to charging equipment is filled soon accordingly, Complete the charging to charging equipment.
I other words, according to recognition result, if charging equipment supports that MTK PE fill soon agreement, association is filled soon based on MTK PE Discuss the instruction to charging equipment to be parsed and responded, complete the charging to charging equipment;If charging equipment is supported QC2.0 fills soon agreement, then fill instruction of the agreement to charging equipment soon based on QC2.0 and parsed and responded, and completes to treat and fills The charging of electric equipment;If charging equipment supports that QC3.0 fills soon agreement, agreement is filled soon to charging equipment based on QC3.0 Instruction is parsed and responded, and completes the charging to charging equipment.
The protocol analysis method that fills soon of the charger that the embodiment of the present invention one is provided can be according to charging equipment from USB_ The size of VBus pin obtaining currents and the cycle of obtaining current recognize whether charging equipment supports that MTK PE fill soon agreement, And according to the voltage sequential of USB_DM pins and USB_DP pins come recognize charging equipment support QC2.0 fill soon agreement or QC3.0 fills soon agreement, you can identify that main in the market three kind fill soon agreement:MTK PE fill soon agreement, QC2.0 and fill soon Agreement, QC3.0 fill soon agreement, and agreement can be carried out according to recognition result instructing parsing and response, meanwhile, also support that Fructus Mali pumilae sets Standby identification, various cell phone apparatus of identification so as to intelligence and fills soon agreement, accurately charge efficiency of the raising to mobile phone.
Embodiment two
What the embodiment of the present invention two proposed a kind of charger fills soon protocol analysis method.It is different from embodiment one, embodiment In two, after the step of performing identification Fructus Mali pumilae equipment, the step of identification QC2.0 fills soon agreement or QC3.0 fills agreement soon Before, the identification of Samsung equipment can also be carried out.Specifically as shown in figure 4, comprising the following steps:
S10:After the USB charging inlets of charging equipment connection charger, obtained by the interface driving circuit of charger Whether charging equipment recognizes charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current Support that MTK PE fill soon agreement.The step is identical with step S00 in embodiment one, does not repeat.
S11:After the USB charging inlets of charging equipment connection charger, whether identification charging equipment is that Fructus Mali pumilae sets It is standby.The step is identical with step S01 in embodiment one, does not repeat.
S12:If identification charging equipment is not Fructus Mali pumilae equipment, by detecting the short of USB_DM pins and USB_DP pins Connect voltage to recognize whether charging equipment is Samsung equipment.
Further, if step S11 is using the executive mode as described in step S011 to step S015, as shown in figure 5, Step S12 may include following steps:
S121:Control interface drive circuit stops driving USB_DM pins and USB_DP pin output voltages.
S122:Control interface drive circuit is by USB_DM pins and USB_DP pin short circuits.
S123:Judge the voltage of USB_DM pins or USB_DP pins whether more than 0.325V and the persistent period is more than 1.25 Second, it is then execution step S124, otherwise execution step S125.
S124:Identification charging equipment is supported to fill agreement soon.
S125:Identification charging equipment is Samsung equipment.
S126:After Samsung equipment is identified, control interface drive circuit drives USB_DM pins and USB_DP pins point Shu Chu not 1.2V voltages.
In embodiment two, after identifying that charging equipment is Samsung equipment, because Samsung equipment is not supported to fill agreement soon, Therefore, interface driving circuit may proceed to drive USB_DM pins and USB_DP pins to export 1.2V voltages, Samsung equipment meeting respectively Inside voluntarily configures, and+5V the charging voltages exported using the USB_VBus pins of charger complete follow-up charging process.
S13:If identification charging equipment is not Samsung equipment, by the electricity for detecting USB_DM pins and USB_DP pins Press sequential to recognize that charging equipment supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement.
Further, if step S12 is using the executive mode as described in step S121 to step S126, as shown in fig. 6, Step S13 may include following steps:
S131:If identification charging equipment is not Samsung equipment, control interface drive circuit discharges USB_DM pins and USB_ The short circuit state of DP pins.
S132:The voltage sequential of USB_DM pins and USB_DP pins is obtained by the interface driving circuit of charger.
S133:If the voltage sequential for obtaining meets the regulation that QC2.0 fills soon agreement, identification charging equipment is supported QC2.0 fills soon agreement, if the voltage sequential for obtaining meets the regulation that QC3.0 fills soon agreement, identification charging equipment is supported QC3.0 fills soon agreement.
S14:According to recognition result, parsed and responded based on instruction of the agreement to charging equipment is filled soon accordingly, Complete the charging to charging equipment.The step is identical with step S03 in embodiment one, does not repeat.
Relative to embodiment one, the protocol analysis method that fills soon of the charger that the embodiment of the present invention two is provided is being realized MTK PE fill soon agreement, QC2.0 and fill agreement, QC3.0 soon and fill soon on the basis of agreement, the identification of Fructus Mali pumilae equipment, it is furthermore achieved that The identification of Samsung equipment, so as to enriching discernible cell phone apparatus type.
Embodiment three
What the embodiment of the present invention three proposed a kind of charger fills soon protocol analysis system, as shown in fig. 7, comprises:First knows Other module 00, for after the USB charging inlets that charging equipment connects charger, by the interface driver electricity of charger Road obtains charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current, and then recognizes to be charged setting It is standby whether to support that MTK PE fill soon agreement;Second identification module 01, the USB for connecting charger in charging equipment charges After interface, whether identification charging equipment is Fructus Mali pumilae equipment;3rd identification module 02, for treating when the identification of the second identification module 01 It is to be charged to recognize by the voltage sequential for detecting USB_DM pins and USB_DP pins when charger is not Fructus Mali pumilae equipment Equipment supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement;First protocol analysis and respond module 03, for knowing according to first The recognition result of the identification module 02 of other module 00 and the 3rd, is solved based on instruction of the agreement to charging equipment is filled soon accordingly Analysis and response, complete the charging to charging equipment.
Further, as shown in figure 8, the second identification module 01 may include:First control submodule 011, for waiting to fill After the USB charging inlets of electric equipment connection charger, the interface driving circuit for controlling charger drives USB_VBus pins Output+5V charging voltages;Second control submodule 012, for control interface drive circuit USB_DM pins and USB_DP are driven Pin exports respectively 2.7V voltages;First judging submodule 013, for judging in the given time, USB_DM pins and USB_ Whether the voltage of DP pins declines;First identification submodule 014, for judging USB_DM pins when the first judging submodule 013 When declining with the voltage of USB_DP pins, identification charging equipment is not Fructus Mali pumilae equipment;Second identification submodule 015, for working as When first judging submodule 013 judges that the voltage of USB_DM pins and USB_DP pins does not decline, identification charging equipment is Fructus Mali pumilae equipment.
Further, as shown in figure 9, the 3rd identification module 02 may include:3rd control submodule 021, for when second The identification charging equipment of identification module 01 is not when being Fructus Mali pumilae equipment, control interface drive circuit stop driving USB_DM pins and USB_DP pin output voltages;First acquisition submodule 022, for obtaining USB_DM by the interface driving circuit of charger The voltage sequential of pin and USB_DP pins;3rd identification submodule 023, for the electricity obtained when the first acquisition submodule 022 When pressure sequential meets QC2.0 and fills the regulation of agreement soon, identification charging equipment supports that QC2.0 fills soon agreement, and obtains when first When the voltage sequential that submodule 022 is obtained meets QC3.0 and fills the regulation of agreement soon, identification charging equipment supports that QC3.0 fills soon Agreement.
The protocol analysis system of filling soon of the charger that the embodiment of the present invention three is provided can be according to charging equipment from USB_ The size of VBus pin obtaining currents and the cycle of obtaining current recognize whether charging equipment supports that MTK PE fill soon agreement, And according to the voltage sequential of USB_DM pins and USB_DP pins come recognize charging equipment support QC2.0 fill soon agreement or QC3.0 fills soon agreement, you can identify that main in the market three kind fill soon agreement:MTK PE fill soon agreement, QC2.0 and fill soon Agreement, QC3.0 fill soon agreement, and agreement can be carried out according to recognition result instructing parsing and response, meanwhile, also support that Fructus Mali pumilae sets Standby identification, various cell phone apparatus of identification so as to intelligence and fills soon agreement, accurately charge efficiency of the raising to mobile phone.
Example IV
What the embodiment of the present invention four proposed a kind of charger fills soon protocol analysis system, as shown in Figure 10, including:4th knows Other module 10, for after the USB charging inlets that charging equipment connects charger, by the interface driver electricity of charger Road obtains charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current, and then recognizes to be charged setting It is standby whether to support that MTK PE fill soon agreement;5th identification module 11, the USB for connecting charger in charging equipment charges After interface, whether identification charging equipment is Fructus Mali pumilae equipment;6th identification module 12, for treating when the identification of the 5th identification module 11 It is to be charged to recognize by the short circuit voltage for detecting USB_DM pins and USB_DP pins when charger is not Fructus Mali pumilae equipment Whether equipment is Samsung equipment;7th identification module 13, for recognizing that charging equipment is not Samsung when the 6th identification module 12 During equipment, recognize that charging equipment supports that QC2.0 fills soon by detecting the voltage sequential of USB_DM pins and USB_DP pins Agreement or QC3.0 fill soon agreement;Second protocol is parsed and respond module 14, for according to the 4th identification module 10 and the 7th identification The recognition result of module 13, is parsed and is responded based on instruction of the agreement to charging equipment is filled soon accordingly, completes to treat The charging of charger.
Further, as shown in figure 11, the 6th identification module 12 may include:4th control submodule 121, connects for control Mouth drive circuit stops driving USB_DM pins and USB_DP pin output voltages;5th control submodule 122, connects for control Mouthful drive circuit is by USB_DM pins and USB_DP pin short circuits;Second judging submodule 123, for judge USB_DM pins or Whether the voltage of USB_DP pins is more than 0.325V and the persistent period is more than 1.25 seconds;4th identification submodule 124, for when the Two judging submodules 123 judge the voltage of USB_DM pins or USB_DP pins more than 0.325V and the persistent period is more than 1.25 seconds When, identification charging equipment is supported to fill agreement soon;5th identification submodule 125, for judging when the second judging submodule 123 When the voltage of USB_DM pins or USB_DP pins is not more than 1.25 seconds more than 0.325V and persistent period, to be charged setting is recognized Standby is Samsung equipment;6th control submodule 126, for after the 5th identification submodule 125 identifies Samsung equipment, control to connect Mouth drive circuit drives USB_DM pins and USB_DP pins to export 1.2V voltages respectively.
Further, as shown in figure 12, the 7th identification module 13 may include:7th control submodule 131, for when the 6th When the identification charging equipment of identification module 12 is not Samsung equipment, control interface drive circuit discharges USB_DM pins and USB_DP The short circuit state of pin;Second acquisition submodule 132, for obtaining USB_DM pins by the interface driving circuit of charger With the voltage sequential of USB_DP pins;6th identification submodule 133, for when the voltage that the second acquisition submodule 132 is obtained Sequence meets QC2.0 when filling the regulation of agreement soon, and identification charging equipment supports that QC2.0 fills soon agreement, and obtains submodule when second When the voltage sequential that block 132 is obtained meets QC3.0 and fills the regulation of agreement soon, identification charging equipment supports that QC3.0 fills soon agreement.
Relative to embodiment three, the protocol analysis method that fills soon of the charger that the embodiment of the present invention four is provided is being realized MTK PE fill soon agreement, QC2.0 and fill agreement, QC3.0 soon and fill soon on the basis of agreement, the identification of Fructus Mali pumilae equipment, it is furthermore achieved that The identification of Samsung equipment, so as to enriching discernible cell phone apparatus type.
Embodiment five
The embodiment of the present invention five proposes a kind of charger, including the drive of USB charging inlets and connection USB charging inlets Galvanic electricity road, the charger also fills soon protocol analysis system including one, and it is such as embodiment three or real that this fills soon protocol analysis system That applies the charger described in example four fills soon protocol analysis system, does not repeat.
One of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method can be The hardware that correlation is controlled by program is completed, described program can in a computer read/write memory medium is stored in, Described storage medium, such as ROM/RAM, disk, CD.
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of charger fills soon protocol analysis method, it is characterised in that the method comprising the steps of:
After the USB charging inlets of charging equipment connection charger, obtained by the interface driving circuit of the charger The charging equipment is recognized described to be charged from the size of USB_VBus pin obtaining currents and the cycle of obtaining current Whether equipment supports that MTK PE fill soon agreement;
After the USB charging inlets of charging equipment connection charger, recognize whether the charging equipment is Fructus Mali pumilae equipment;
If recognizing, the charging equipment is not Fructus Mali pumilae equipment, during by the voltage for detecting USB_DM pins and USB_DP pins Sequence supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement recognizing the charging equipment;
According to recognition result, parsed and responded based on instruction of the agreement to the charging equipment is filled soon accordingly, completed Charging to the charging equipment.
2. charger as claimed in claim 1 fills soon protocol analysis method, it is characterised in that the charging equipment connects After connecing the USB charging inlets of charger, recognize that the charging equipment is comprised the following steps the step of whether being Fructus Mali pumilae equipment:
After the USB charging inlets of charging equipment connection charger, the interface driving circuit for controlling the charger drives USB_VBus pins export+5V charging voltages;
Controlling the interface driving circuit drives USB_DM pins and USB_DP pins to export 2.7V voltages respectively;
Judge in the given time whether the voltage of the USB_DM pins and the USB_DP pins declines, and is to recognize institute It is not Fructus Mali pumilae equipment to state charging equipment, otherwise recognizes that shown charging equipment is Fructus Mali pumilae equipment.
3. charger as claimed in claim 2 fills soon protocol analysis method, it is characterised in that if treating described in the identification Charger is not Fructus Mali pumilae equipment, then described treating is recognized by detecting the voltage sequential of USB_DM pins and USB_DP pins Charger supports that QC2.0 fills soon agreement or QC3.0 is comprised the following steps the step of filling agreement soon:
If recognizing, the charging equipment is not Fructus Mali pumilae equipment, controls the interface driving circuit and stops driving the USB_DM Pin and the USB_DP pin output voltages;
When the voltage of the USB_DM pins and the USB_DP pins is obtained by the interface driving circuit of the charger Sequence;
If the voltage sequential for obtaining meets the regulation that QC2.0 fills soon agreement, recognize that the charging equipment supports QC2.0 Agreement is filled soon, if the voltage sequential for obtaining meets the regulation that QC3.0 fills soon agreement, recognizes that the charging equipment is supported QC3.0 fills soon agreement.
4. a kind of charger fills soon protocol analysis method, it is characterised in that the method comprising the steps of:
After the USB charging inlets of charging equipment connection charger, obtained by the interface driving circuit of the charger Charging equipment recognizes the charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current Whether support that MTK PE fill soon agreement;
After the USB charging inlets of charging equipment connection charger, recognize whether the charging equipment is Fructus Mali pumilae equipment;
If recognizing, the charging equipment is not Fructus Mali pumilae equipment, by the short circuit electricity for detecting USB_DM pins and USB_DP pins Press to recognize whether the charging equipment is Samsung equipment;
If charging equipment shown in identification is not Samsung equipment, during by the voltage for detecting USB_DM pins and USB_DP pins Sequence supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement recognizing the charging equipment;
According to recognition result, parsed and responded based on instruction of the agreement to the charging equipment is filled soon accordingly, completed Charging to the charging equipment.
5. charger as claimed in claim 4 fills soon protocol analysis method, it is characterised in that the charging equipment connects After connecing the USB charging inlets of charger, recognize that the charging equipment is comprised the following steps the step of whether being Fructus Mali pumilae equipment:
After the USB charging inlets of charging equipment connection charger, the interface driving circuit for controlling the charger drives USB_VBus pins export+5V charging voltages;
Controlling the interface driving circuit drives USB_DM pins and USB_DP pins to export 2.7V voltages respectively;
Judge in the given time whether the voltage of the USB_DM pins and the USB_DP pins declines, and is to recognize institute It is not Fructus Mali pumilae equipment to state charging equipment, otherwise recognizes that shown charging equipment is Fructus Mali pumilae equipment.
6. charger as claimed in claim 5 fills soon protocol analysis method, it is characterised in that if treating described in the identification Charger is not Fructus Mali pumilae equipment, then described treating is recognized by detecting the short circuit voltage of USB_DM pins and USB_DP pins The step of whether charger is Samsung equipment comprises the following steps:
Control the interface driving circuit to stop driving the USB_DM pins and the USB_DP pin output voltages;
The interface driving circuit is controlled by the USB_DM pins and the USB_DP pins short circuit;
Judge the voltage of the USB_DM pins or the USB_DP pins whether more than 0.325V and the persistent period is more than 1.25 Second, it is to recognize that the charging equipment is supported to fill agreement soon, otherwise recognize that the charging equipment is Samsung equipment.
7. charger as claimed in claim 6 fills soon protocol analysis method, it is characterised in that if treating shown in the identification Charger is not Samsung equipment, then described treating is recognized by detecting the voltage sequential of USB_DM pins and USB_DP pins Charger supports that QC2.0 fills soon agreement or QC3.0 is comprised the following steps the step of filling agreement soon:
If recognizing, the charging equipment is not Samsung equipment, controls the interface driving circuit and discharges the USB_DM pins With the short circuit state of the USB_DP pins;
When the voltage of the USB_DM pins and the USB_DP pins is obtained by the interface driving circuit of the charger Sequence;
If the voltage sequential for obtaining meets the regulation that QC2.0 fills soon agreement, recognize that the charging equipment supports QC2.0 Agreement is filled soon, if the voltage sequential for obtaining meets the regulation that QC3.0 fills soon agreement, recognizes that the charging equipment is supported QC3.0 fills soon agreement.
8. a kind of charger fills soon protocol analysis system, it is characterised in that the system includes:
First identification module, for after the USB charging inlets that charging equipment connects charger, by the charger Interface driving circuit obtain charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current, and then Recognize whether the charging equipment supports that MTK PE fill soon agreement;
Second identification module, for after the USB charging inlets that charging equipment connects charger, recognizing described to be charged set Whether standby be Fructus Mali pumilae equipment;
3rd identification module, for when it is not Fructus Mali pumilae equipment that second identification module recognizes the charging equipment, passing through The voltage sequential of detection USB_DM pins and USB_DP pins come recognize the charging equipment support QC2.0 fill soon agreement or QC3.0 fills soon agreement;
First protocol analysis and respond module, for being tied according to the identification of first identification module and the 3rd identification module Really, parsed and responded based on filling instruction of the agreement to the charging equipment soon accordingly, complete to be charged to be set to described Standby charging.
9. a kind of charger fills soon protocol analysis system, it is characterised in that the system includes:
4th identification module, for after the USB charging inlets that charging equipment connects charger, by the charger Interface driving circuit obtain the charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current, And then recognize whether the charging equipment supports that MTK PE fill soon agreement;
5th identification module, for after the USB charging inlets that the charging equipment connects the charger, identification to be described Whether charging equipment is Fructus Mali pumilae equipment;
6th identification module, for when it is not Fructus Mali pumilae equipment that the 5th identification module recognizes the charging equipment, passing through Detect the short circuit voltage of the USB_DM pins and the USB_DP pins to recognize whether the charging equipment is that Samsung sets It is standby;
7th identification module, for when the 6th identification module identification charging equipment is not Samsung equipment, by detection The voltage sequential of the USB_DM pins and the USB_DP pins supports that QC2.0 fills soon association recognizing the charging equipment View or QC3.0 fill soon agreement;
Second protocol is parsed and respond module, for being tied according to the identification of the 4th identification module and the 7th identification module Really, parsed and responded based on filling instruction of the agreement to the charging equipment soon accordingly, complete to be charged to be set to described Standby charging.
10. the drive circuit of a kind of charger, including USB charging inlet and the connection USB charging inlets, its feature Be that the charger also fills soon protocol analysis system including one, it is described fill soon protocol analysis system be such as claim 8 or Charger described in 9 fills soon protocol analysis system.
CN201611220314.8A 2016-12-26 2016-12-26 Charging equipment and fast-charging protocol analytic method and system thereof Pending CN106684986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611220314.8A CN106684986A (en) 2016-12-26 2016-12-26 Charging equipment and fast-charging protocol analytic method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611220314.8A CN106684986A (en) 2016-12-26 2016-12-26 Charging equipment and fast-charging protocol analytic method and system thereof

Publications (1)

Publication Number Publication Date
CN106684986A true CN106684986A (en) 2017-05-17

Family

ID=58870503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611220314.8A Pending CN106684986A (en) 2016-12-26 2016-12-26 Charging equipment and fast-charging protocol analytic method and system thereof

Country Status (1)

Country Link
CN (1) CN106684986A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107508330A (en) * 2017-07-05 2017-12-22 深圳天珑无线科技有限公司 A kind of electronic installation and its charging method
CN107516919A (en) * 2017-08-25 2017-12-26 维沃移动通信有限公司 A kind of charging method and charger
CN107995166A (en) * 2017-11-02 2018-05-04 芯海科技(深圳)股份有限公司 A kind of multi-protocols fast charge adapter and adaptation method
WO2020103474A1 (en) * 2018-11-21 2020-05-28 深圳市道通智能航空技术有限公司 Charging circuit and charging system
CN111245073A (en) * 2020-03-31 2020-06-05 广州昂宝电子有限公司 USB charging circuit and method, chip and charger
CN111953049A (en) * 2020-08-15 2020-11-17 广东省博康电子有限公司 QC quick-charging test method
CN112448423A (en) * 2019-08-28 2021-03-05 北京小米移动软件有限公司 Charging method and device, electronic equipment and storage medium
CN112448450A (en) * 2020-11-16 2021-03-05 Oppo广东移动通信有限公司 Charging control method and device, electronic equipment and storage medium
CN112640246A (en) * 2018-12-28 2021-04-09 深圳市柔宇科技股份有限公司 Fast charging protocol conversion circuit, device and method
CN112803558A (en) * 2021-04-09 2021-05-14 深圳英集芯科技股份有限公司 Multi-quick-charging-protocol control circuit, control method, chip and electronic equipment
CN114301115A (en) * 2021-12-03 2022-04-08 重庆长安汽车股份有限公司 Quick charging method and system supporting multiple mobile phone brands and vehicle
CN117498508A (en) * 2023-12-29 2024-02-02 深圳市卓芯微科技有限公司 Quick charging method and device for mobile device, electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110314201A1 (en) * 2009-09-19 2011-12-22 Huizhou Tcl Mobile Communication Co., Ltd Method and device for identifying universal serial bus (usb) insertion or charger insertion of mobile terminal
CN105471047A (en) * 2016-01-08 2016-04-06 深圳市博巨兴实业发展有限公司 QC2.0 protocol circuit for mobile power supply discharge
CN105870988A (en) * 2015-12-31 2016-08-17 乐视移动智能信息技术(北京)有限公司 Charger
CN106058983A (en) * 2016-06-30 2016-10-26 维沃移动通信有限公司 Charging control circuit, electronic equipment and charging control method
CN106100023A (en) * 2016-06-21 2016-11-09 深圳天珑无线科技有限公司 Charger, charging identification circuit and method
CN106160057A (en) * 2015-04-24 2016-11-23 张卫 The wireless control system of battery charging and method
CN205725104U (en) * 2015-12-30 2016-11-23 北京新兆民科技有限公司 A kind of battery bridge joint charger

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110314201A1 (en) * 2009-09-19 2011-12-22 Huizhou Tcl Mobile Communication Co., Ltd Method and device for identifying universal serial bus (usb) insertion or charger insertion of mobile terminal
CN106160057A (en) * 2015-04-24 2016-11-23 张卫 The wireless control system of battery charging and method
CN205725104U (en) * 2015-12-30 2016-11-23 北京新兆民科技有限公司 A kind of battery bridge joint charger
CN105870988A (en) * 2015-12-31 2016-08-17 乐视移动智能信息技术(北京)有限公司 Charger
CN105471047A (en) * 2016-01-08 2016-04-06 深圳市博巨兴实业发展有限公司 QC2.0 protocol circuit for mobile power supply discharge
CN106100023A (en) * 2016-06-21 2016-11-09 深圳天珑无线科技有限公司 Charger, charging identification circuit and method
CN106058983A (en) * 2016-06-30 2016-10-26 维沃移动通信有限公司 Charging control circuit, electronic equipment and charging control method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107508330A (en) * 2017-07-05 2017-12-22 深圳天珑无线科技有限公司 A kind of electronic installation and its charging method
CN107516919A (en) * 2017-08-25 2017-12-26 维沃移动通信有限公司 A kind of charging method and charger
CN107995166A (en) * 2017-11-02 2018-05-04 芯海科技(深圳)股份有限公司 A kind of multi-protocols fast charge adapter and adaptation method
WO2020103474A1 (en) * 2018-11-21 2020-05-28 深圳市道通智能航空技术有限公司 Charging circuit and charging system
CN112640246A (en) * 2018-12-28 2021-04-09 深圳市柔宇科技股份有限公司 Fast charging protocol conversion circuit, device and method
CN112448423A (en) * 2019-08-28 2021-03-05 北京小米移动软件有限公司 Charging method and device, electronic equipment and storage medium
CN111245073A (en) * 2020-03-31 2020-06-05 广州昂宝电子有限公司 USB charging circuit and method, chip and charger
CN111245073B (en) * 2020-03-31 2022-04-22 广州昂宝电子有限公司 USB charging circuit and method, chip and charger
CN111953049A (en) * 2020-08-15 2020-11-17 广东省博康电子有限公司 QC quick-charging test method
CN112448450A (en) * 2020-11-16 2021-03-05 Oppo广东移动通信有限公司 Charging control method and device, electronic equipment and storage medium
CN112803558A (en) * 2021-04-09 2021-05-14 深圳英集芯科技股份有限公司 Multi-quick-charging-protocol control circuit, control method, chip and electronic equipment
CN114301115A (en) * 2021-12-03 2022-04-08 重庆长安汽车股份有限公司 Quick charging method and system supporting multiple mobile phone brands and vehicle
CN117498508A (en) * 2023-12-29 2024-02-02 深圳市卓芯微科技有限公司 Quick charging method and device for mobile device, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN106684986A (en) Charging equipment and fast-charging protocol analytic method and system thereof
CN106655387A (en) Charging equipment and rapid charge protocol identification chip
CN104300630B (en) Battery charge controller and method
EP3186714B1 (en) Usb type c to mhl m1 dead battery charging
CN102570546B (en) A kind of mobile terminal and charger, method
CN106532882A (en) Charging control method and device
CN108646105B (en) BMS alternating current charging process simulation test equipment
CN102393837B (en) USB charger recognition device and method
US20060284595A1 (en) Charging mode control circuit and method
EP2905859A1 (en) Charging and audio usage
CN104216840B (en) The method and device that a kind of USB sets and operated to external equipment
CN104636296B (en) Pass through the serial communication of Control on Communication pin
US20130080797A1 (en) Usb power supply method and device, and end device and system using the same
CN103944224A (en) Automatic identification terminal charging and self-adaptive terminal OTG system for portable power source
CN110492625B (en) Wireless charging foreign matter detection method and device, electronic equipment and storage medium
CN107404133A (en) Charging method, charger and terminal
CN109217419B (en) Quick charging system and method
CN105048555A (en) Method and system for identifying charging of universal serial bus (USB) charger
CN105811486A (en) Positioning method for electric automobile wireless charging device
CN103441550A (en) Mobile phone wireless charging device capable of displaying charging information real time
CN105826962A (en) Power control method and device in charging process
CN104600384A (en) Charging method, charging device and related device
CN106774769B (en) Terminal working mode switching method and device and handheld terminal
CN105824732A (en) USB detection method and detection system
CN206878506U (en) A kind of data wire and adapter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20191225

Address after: 518000 District 652, district a, huameiju business center, Xinhu Road, Haiyu community, Xin'an street, Bao'an District, Shenzhen City, Guangdong Province

Applicant after: Jian Rong semiconductor (Shenzhen) Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province science and Technology Park of Nanshan District high new technology building B505 Fu'an

Applicant before: Jian Rong semiconductor (Shenzhen) Co., Ltd.

Applicant before: Jianrong Integrated Circuit Technology (Zhuhai) Co., Ltd.

Applicant before: ZHUHAI HUANGRONG INTEGRATED CIRCUIT TECHNOLOGY CO., LTD.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170517

RJ01 Rejection of invention patent application after publication