Summary of the invention
The fast charge protocol identification chip for being designed to provide a kind of charging equipment of the embodiment of the present invention, it is intended to solve existing
Charging equipment can not support the identification and parsing of various different fast charge agreements simultaneously, lead to user's inconvenient problem with use.
The embodiments of the present invention are implemented as follows, a kind of fast charge protocol identification chip of charging equipment, the fast charge agreement
Identification chip includes:
The USB charging interface for connecting charging equipment, after the USB charging interface receives connection trigger signal, to institute
State the protocol recognition circuit that the signal intensity of each pin in USB charging interface is sampled;
The protocol recognition circuit is connected, according to the sampled result of the protocol recognition circuit, identifies corresponding fast charge
Agreement, with the recognition processor to be charged according to corresponding fast charge agreement.
The another object of the embodiment of the present invention is to provide a kind of charging equipment, including USB charging interface, and the charging is set
Standby further includes the fast charge protocol identification chip of charging equipment as described above.
The another object of the embodiment of the present invention is to provide a kind of fast charge protocol identification core of charging equipment as described above
The recognition methods of piece, the described method comprises the following steps:
After the USB charging interface of charging equipment receives connection trigger signal, recognition processor control protocol identification electricity
The electric current that road exports USB_VBus pin samples;
The size for the electric current that recognition processor is sampled according to protocol recognition circuit and the period of electric current, if the electric current of sampling
Size and period of electric current meet the regulation of MTK PE fast charge agreement, then identify it is MTK PE fast charge agreement, if not being inconsistent
The regulation for closing MTK PE fast charge agreement, then identify not it is MTK PE fast charge agreement;
After the USB charging interface of charging equipment receives connection trigger signal, recognition processor control protocol identification electricity
Road drives USB_VBus pin output+5V charging voltage, and USB_DM pin and USB_DP pin is driven to export 2.7V voltage respectively,
And the voltage of USB_DM pin and USB_DP pin is sampled;
Recognition processor judges in the given time, the USB_DM pin and USB_DP pin of protocol recognition circuit sampling
Whether voltage declines, and is, identifies that connect with USB charging interface is not apple equipment, is otherwise identified and USB charging
Mouth connection is apple equipment;
When recognition processor identify connect with USB charging interface be not apple equipment when, control protocol identification circuit
USB_DM pin and USB_DP pin is driven to stop output 2.7V voltage, later to the voltage of USB_DM pin and USB_DP pin
It is sampled;
The timing of the voltage of the USB_DM pin and USB_DP pin of protocol recognition circuit sampling meets QC2.0 fast charge agreement
Regulation when, it is QC2.0 fast charge agreement that recognition processor, which identifies, and when protocol recognition circuit sampling USB_DM pin and
When the timing of the voltage of USB_DP pin meets the regulation of QC3.0 fast charge agreement, it is QC3.0 fast charge association that recognition processor, which identifies,
View.
The another object of the embodiment of the present invention is to provide a kind of fast charge protocol identification core of charging equipment as described above
The recognition methods of piece, the described method comprises the following steps:
After the USB charging interface of charging equipment receives connection trigger signal, recognition processor control protocol identification electricity
The electric current that road exports USB_VBus pin samples;
The size for the electric current that recognition processor is sampled according to protocol recognition circuit and the period of electric current, if the electric current of sampling
Size and period of electric current meet the regulation of MTK PE fast charge agreement, then identify it is MTK PE fast charge agreement, if not being inconsistent
The regulation for closing MTK PE fast charge agreement, then identify not it is MTK PE fast charge agreement;
After the USB charging interface of charging equipment receives connection trigger signal, recognition processor control protocol identification electricity
Road drives USB_VBus pin output+5V charging voltage, and USB_DM pin and USB_DP pin is driven to export 2.7V voltage respectively,
And the voltage of USB_DM pin and USB_DP pin is sampled;
Recognition processor judges in the given time, the USB_DM pin and USB_DP pin of protocol recognition circuit sampling
Whether voltage declines, and is, identifies that connect with USB charging interface is not apple equipment, is otherwise identified and USB charging
Mouth connection is apple equipment;
When recognition processor identify connect with USB charging interface be not apple equipment when, control protocol identification circuit
USB_DM pin and USB_DP pin are shorted, the voltage of USB_DM pin and USB_DP pin is sampled later;
Recognition processor judges whether the USB_DM pin of protocol recognition circuit sampling or the voltage of USB_DP pin are greater than
0.325V and duration are greater than 1.25 seconds, are to identify fast charge agreement, otherwise identify connect with USB charging interface be
Samsung equipment;
When recognition processor identifies fast charge agreement, control protocol identification circuit release USB_DM pin and USB_DP draw
The short circuit state of foot, and the voltage of USB_DM pin and USB_DP pin is sampled;
When the timing of the USB_DM pin of sampling and the voltage of USB_DP pin meets the regulation of QC2.0 fast charge agreement,
It is QC2.0 fast charge agreement that recognition processor, which identifies, and when the USB_DM pin and USB_DP pin of protocol recognition circuit sampling
The timing of voltage when meeting the regulation of QC3.0 fast charge agreement, it is QC3.0 fast charge agreement that recognition processor, which identifies,.
In charging equipment provided in an embodiment of the present invention and its fast charge protocol identification chip, protocol recognition circuit fills USB
The signal intensity of each pin is sampled in electrical interface, and recognition processor identifies corresponding fast charge agreement according to sampled result.It is logical
The content of fast charge agreement in configuration recognition processor is crossed, it can be achieved that identification to existing various different fast charge agreements, and having can
Scalability passes through the fast charge protocol contents in modification recognition processor, the new standard occurred after compatible day, to reduce use
The number for the charging equipment that family needs, environmental protection are convenient.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Existing charging equipment there are aiming at the problem that, the fast charge protocol identification core of charging equipment provided in an embodiment of the present invention
In piece, protocol recognition circuit samples the signal intensity of pin each in charging interface, and recognition processor is according to sampled result
Corresponding fast charge agreement is identified, to charge according to corresponding fast charge agreement.
Fig. 1 shows the circuit module of the fast charge protocol identification chip of charging equipment provided in an embodiment of the present invention.
The fast charge protocol identification chip of charging equipment provided in an embodiment of the present invention includes: that the USB of connection charging equipment fills
Electrical interface carries out the signal intensity of pin each in USB charging interface after USB charging interface receives connection trigger signal
The protocol recognition circuit 2 of sampling;Connection protocol identification circuit 2 identifies corresponding according to the sampled result of protocol recognition circuit 2
Fast charge agreement, with the recognition processor 1 to be charged according to corresponding fast charge agreement.
In the embodiment of the present invention, USB charging interface refers to the USB charging interface for meeting usb protocol, the USB charging interface
Either traditional USB Type-A interface, USB Type-B interface, are also possible to USB Type-C interface etc..
In the embodiment of the present invention, after the charging interface connection of charging equipment and charging equipment, issues and connect to charging interface
Contact is signaled.Wherein, it is portable to refer to that smart phone, tablet computer etc. need external power supply to charge for charging equipment
Electronic equipment;Charging equipment is set after referring to according to certain fast charge agreement, converting alternating current to the electronics that charging equipment charges
It is standby, such as charger, mobile power source.
In the embodiment of the present invention, the pin for the USB charging interface being related to is defined as: USB_VBus pin, it may be assumed that VCC draws
Foot is plant-grid connection pin, and charging equipment with charging equipment after connecting, the USB_ of the USB charging interface of charging equipment
VBus pin just starts to charging equipment offer+5V voltage, until after detecting fast charge agreement, switching+9V or+12V etc. its
Its high voltage carries out quick charge;USB_DM pin, it may be assumed that D- pin is data minus pin;USB_DP pin, it may be assumed that D+ draws
Foot is the positive pin of data.For USB Type-C interface, the pin for the USB charging interface being related to may further comprise: CC1
Signal pins and CC2 signal pins.
As a preferred embodiment of the present invention, the fast charge agreement that recognition processor 1 may recognize that includes MTK PE fast charge association
View, QC2.0 fast charge agreement and QC3.0 fast charge agreement, and may recognize that apple equipment.
At this point, protocol recognition circuit 2 is particularly used for after USB charging interface receives connection trigger signal, to USB_
The electric current of VBus pin output is sampled, and recognition processor 1 is particularly used for the electric current sampled according to protocol recognition circuit 2
The period of size and electric current identifies whether to be MTK PE fast charge agreement.If the size of the electric current of sampling and the period of electric current
The regulation for meeting MTK PE fast charge agreement then identifies it is MTK PE fast charge agreement;If not meeting the rule of MTK PE fast charge agreement
It is fixed, then identify not it is MTK PE fast charge agreement.
At this point, protocol recognition circuit 2 is also used to after USB charging interface receives connection trigger signal, USB_ is driven
VBus pin output+5V charging voltage drives USB_DM pin and USB_DP pin to export 2.7V voltage respectively.And to USB_DM
The voltage of pin and USB_DP pin is sampled;Recognition processor 1 is also used to judgement in the given time, protocol recognition circuit
Whether the USB_DM pins and the voltage of USB_DP pin of 2 samplings decline, be identify connect with USB charging interface be not
Otherwise apple equipment identifies that connect with USB charging interface is apple equipment.
Further, protocol recognition circuit 2 is also used to connect not when recognition processor 1 is identified with USB charging interface
When being apple equipment, USB_DM pin and USB_DP pin is driven to stop output 2.7V voltage, later to USB_DM pin and
The voltage of USB_DP pin is sampled;Recognition processor 1 be also used to when protocol recognition circuit 2 sample USB_DM pin and
When the timing of the voltage of USB_DP pin meets the regulation of QC2.0 fast charge agreement, identify it is QC2.0 fast charge agreement, and when association
When the timing of the voltage of USB_DM pin and USB_DP pin that view identification circuit 2 samples meets the regulation of QC3.0 fast charge agreement,
Identify it is QC3.0 fast charge agreement.
As another preferred embodiment of the present invention, the fast charge agreement that recognition processor 1 may recognize that includes MTK PE fast charge
Agreement, QC2.0 fast charge agreement and QC3.0 fast charge agreement.And it may recognize that apple equipment and Samsung equipment.
At this point, protocol recognition circuit 2 is particularly used for after USB charging interface receives connection trigger signal, to USB_
The electric current of VBus pin output is sampled, and recognition processor 1 is particularly used for the electric current sampled according to protocol recognition circuit 2
In the period of size and electric current, whether identification charging equipment is MTK PE fast charge agreement.If sampling electric current size and
The period of electric current meets the regulation of MTK PE fast charge agreement, then identifies it is MTK PE fast charge agreement;If it is fast not meet MTK PE
The regulation of agreement is filled, then identifies it is not MTK PE fast charge agreement.
At this point, protocol recognition circuit 2 is also used to after USB charging interface receives connection trigger signal, USB_ is driven
VBus pin output+5V charging voltage drives USB_DM pin and USB_DP pin to export 2.7V voltage respectively.And to USB_DM
The voltage of pin and USB_DP pin is sampled;Recognition processor 1 is also used to judgement in the given time, protocol recognition circuit
Whether the USB_DM pins and the voltage of USB_DP pin of 2 samplings decline, be identify connect with USB charging interface be not
Otherwise apple equipment identifies that connect with USB charging interface is apple equipment.
Further, protocol recognition circuit 2 is also used to connect not when recognition processor 1 is identified with USB charging interface
When being apple equipment, USB_DM pin and USB_DP pin are shorted, later to the voltage of USB_DM pin or USB_DP pin
It is sampled;Recognition processor 1 is also used to judge the voltage of the USB_DM pin that protocol recognition circuit 2 samples or USB_DP pin
Whether being greater than 0.325V and duration is greater than 1.25 seconds, is to identify fast charge agreement, otherwise identifies and USB charging interface
Connection is Samsung equipment.Protocol recognition circuit 2 is also used to after recognition processor 1 identifies Samsung equipment, drives USB_DM
Pin and USB_DP pin export 1.2V voltage respectively.
Further, protocol recognition circuit 2 be also used to when recognition processor 1 identify connect with charging interface be not
When Samsung equipment, the short circuit state of USB_DM pin and USB_DP pin is discharged, later to USB_DM pin and USB_DP pin
Voltage sampled;Recognition processor 1 is also used to USB_DM pin and USB_DP pin when protocol recognition circuit 2 samples
When the timing of voltage meets the regulation of QC2.0 fast charge agreement, QC2.0 fast charge agreement is identified, and when protocol recognition circuit 2 samples
USB_DM pin and the timing of voltage of USB_DP pin when meeting the regulation of QC3.0 fast charge agreement, identify QC3.0 fast charge
Agreement.
Fig. 2 shows the circuits of the fast charge protocol identification chip of charging equipment provided in an embodiment of the present invention.
In the embodiment of the present invention, protocol recognition circuit 2 can include: circuit for generating temperature compensated driving voltage 21, driving voltage generate electricity
The input terminal on road 21 connects recognition processor 1, and the first output end of circuit for generating temperature compensated driving voltage 21 is as fast charge protocol identification core
The USB_VBus pin of first output pin OUT1 connection USB charging interface J1 of piece, the second of circuit for generating temperature compensated driving voltage 21
USB_DM pin of the output end as the second output pin OUT2 connection USB charging interface of fast charge protocol identification chip, driving
Third output pin OUT3 connection USB charging of the third output end of voltage generation circuit 21 as fast charge protocol identification chip
The USB_DP pin of mouth, circuit for generating temperature compensated driving voltage 21 accordingly generate in USB charging interface according to the instruction of recognition processor 1
The voltage of each pin;Reference voltage generating circuit 22, the input terminal of reference voltage generating circuit 22 connect recognition processor 1, ginseng
Voltage generation circuit 22 is examined according to the instruction of recognition processor 1, reference voltage needed for generating protocol detection;Sampling switching switch
Array 23, first input pin of the first data input pin of sampling switching switch arrays 23 as fast charge protocol identification chip
Second data input pin of the USB_VBus pin of IN1 connection USB charging interface, sampling switching switch arrays 23 is assisted as fast charge
The USB_DP pin of the second input pin IN2 connection USB charging interface of identification chip is discussed, sampling switches the of switch arrays 23
USB_DM pin of three data input pins as the third input pin IN3 connection USB charging interface of fast charge protocol identification chip,
The command input of sampling switching switch arrays 23 connects recognition processor 1, and sampling switching switch arrays 23 are according to identifying processing
The instruction of device 1, the signal of switching acquisition USB_VBus pin, USB_DP pin or USB_DM pin;Comparator array 24, compares
24 first input end of device array connects the output end of reference voltage generating circuit 22, and the connection of 24 second input terminal of comparator array is adopted
Sample switches the output end of switch arrays 23, the signal and reference voltage that comparator array 24 acquires sampling switching switch arrays 23
The reference voltage that generative circuit 22 generates is compared, and comparison result is exported to recognition processor 1.
For different charge protocols, the reference voltage of required comparison is different, therefore, utilizes reference voltage generating circuit 22
It covers different comparison voltage demands, generates the multiple reference voltages for being used for protocol detection, in the detection moment of different agreement,
Generate corresponding reference voltage.Meanwhile the control sampling switching switch arrays 23 of recognition processor 1 act, it will be in charging interface
The signal acquisition of respective pins is come in.Later, comparator array 24 by acquire come in signal with generate it is corresponding refer into
Row is compared, and comparison result is exported to recognition processor 1.Later, recognition processor 1 is identified according to comparison result
Corresponding charge protocol.
As a preferred embodiment of the present invention, the fast charge agreement that recognition processor 1 may recognize that includes MTK PE fast charge association
View, QC2.0 fast charge agreement and QC3.0 fast charge agreement, and may recognize that apple equipment.
At this point, recognition processor 1 is particularly used for after charging interface receives connection trigger signal, opened to sampling switching
It closes the sending instruction of array 23 to sample with the electric current for exporting USB_VBus pin, while being sent out to reference voltage generating circuit 22
Reference voltage needed for detecting MTK PE fast charge agreement with generation is instructed out.Later, comparator array 24 switchs sampling switching
The signal that array 23 acquires is compared with the reference voltage that reference voltage generating circuit 22 generates, and comparison result is returned to
Recognition processor 1.Recognition processor 1 according to comparison result, if the size for the electric current that sampling switching switch arrays 23 acquire and
The period of electric current meets the regulation of MTK PE fast charge agreement, then identifies it is MTK PE fast charge agreement, if it is fast not meet MTK PE
The regulation of agreement is filled, then identifies it is not MTK PE fast charge agreement.
At this point, recognition processor 1 is also used to after charging interface receives connection trigger signal, control driving voltage is generated
21 generation+5V charging voltage of circuit simultaneously drives USB_VBus pin output+5V charging voltage, and controls circuit for generating temperature compensated driving voltage
21 generation 2.7V voltages simultaneously drive USB_DM pin and USB_DP pin to export 2.7V voltage respectively.Later, recognition processor 1 to
Sampling switching switch arrays 23 are issued instruction and are sampled with the voltage to USB_DM pin and USB_DP pin, meanwhile, identification
Processor 1 also to reference voltage generating circuit 22 issue instruction with generate detection apple equipment needed for reference voltage.Later, than
The reference voltage sampling signal that acquires of switching switch arrays 23 and reference voltage generating circuit 22 generated compared with device array 24 into
Row compares, and comparison result is returned to recognition processor 1.Recognition processor 1 according to comparison result, if in the given time,
The voltage decline of USB_DM pin and USB_DP pin that sampling switching switch arrays 23 sample, then identify and connect with charging interface
What is connect is not apple equipment, otherwise identifies that connect with charging interface is apple equipment.
Further, recognition processor 1 identify connect with charging interface be not apple equipment when, control driving electricity
Generative circuit 21 is pressed to stop driving USB_DM pin and USB_DP pin output 2.7V voltage.Recognition processor 1 is to sampling later
Switching switch arrays 23 are issued instruction and are sampled with the voltage to USB_DM pin and USB_DP pin, meanwhile, identifying processing
Device 1 also issues instruction to reference voltage generating circuit 22 to generate needed for detection QC2.0 fast charge agreement and QC3.0 fast charge agreement
Reference voltage.Later, signal and reference voltage generating circuit 22 that comparator array 24 acquires sampling switching switch arrays 23
The reference voltage of generation is compared, and comparison result is returned to recognition processor 1.Recognition processor 1 according to comparison result,
If the timing of the voltage of USB_DM pin and USB_DP pin that sampling switching switch arrays 23 sample meets QC2.0 fast charge agreement
Regulation when, identify it is QC2.0 fast charge agreement, if sampling switching switch arrays 23 sample USB_DM pin and USB_DP draw
When the timing of the voltage of foot meets the regulation of QC3.0 fast charge agreement, identify it is QC3.0 fast charge agreement.
As another preferred embodiment of the present invention, the fast charge agreement that recognition processor 1 may recognize that includes MTK PE fast charge
Agreement, QC2.0 fast charge agreement and QC3.0 fast charge agreement.And it may recognize that apple equipment and Samsung equipment.
At this point, recognition processor 1 is particularly used for after charging interface receives connection trigger signal, opened to sampling switching
It closes the sending instruction of array 23 to sample with the electric current for exporting USB_VBus pin, while being sent out to reference voltage generating circuit 22
Reference voltage needed for detecting MTK PE fast charge agreement with generation is instructed out.Later, comparator array 24 switchs sampling switching
The signal that array 23 acquires is compared with the reference voltage that reference voltage generating circuit 22 generates, and comparison result is returned to
Recognition processor 1.Recognition processor 1 according to comparison result, if the size for the electric current that sampling switching switch arrays 23 acquire and
The period of electric current meets the regulation of MTK PE fast charge agreement, then identifies it is MTK PE fast charge agreement, if it is fast not meet MTK PE
The regulation of agreement is filled, then identifies it is not MTK PE fast charge agreement.
At this point, recognition processor 1 is also used to after charging interface receives connection trigger signal, control driving voltage is generated
21 generation+5V charging voltage of circuit simultaneously drives USB_VBus pin output+5V charging voltage, and controls circuit for generating temperature compensated driving voltage
21 generation 2.7V voltages simultaneously drive USB_DM pin and USB_DP pin to export 2.7V voltage respectively.Later, recognition processor 1 to
Sampling switching switch arrays 23 are issued instruction and are sampled with the voltage to USB_DM pin and USB_DP pin, meanwhile, identification
Processor 1 also to reference voltage generating circuit 22 issue instruction with generate detection apple equipment needed for reference voltage.Later, than
The reference voltage sampling signal that acquires of switching switch arrays 23 and reference voltage generating circuit 22 generated compared with device array 24 into
Row compares, and comparison result is returned to recognition processor 1.Recognition processor 1 according to comparison result, if in the given time,
The voltage decline of USB_DM pin and USB_DP pin that sampling switching switch arrays 23 sample, then identify and connect with charging interface
What is connect is not apple equipment, otherwise identifies that connect with charging interface is apple equipment.
Further, recognition processor 1 be also used to when identify connect with charging interface be not apple equipment when, control
USB_DM pin and USB_DP pin are shorted by circuit for generating temperature compensated driving voltage 21.Later, recognition processor 1 is switched to sampling switching
Array 23 is issued instruction and is sampled with the voltage to USB_DM pin and USB_DP pin, meanwhile, recognition processor 1 is also to ginseng
Examine voltage generation circuit 22 issue instruction with generate detection Samsung equipment needed for reference voltage.Later, comparator array 24 will
The signal that sampling switching switch arrays 23 acquire is compared with the reference voltage that reference voltage generating circuit 22 generates, and will be compared
Relatively result returns to recognition processor 1.Recognition processor 1 is according to comparison result, if sampling switches what switch arrays 23 sampled
The voltage of USB_DM pin or USB_DP pin is greater than 0.325V and the duration is greater than 1.25 seconds, then identifies it is fast charge association
Otherwise view identifies that connect with charging interface is Samsung equipment.Recognition processor 1 after identifying Samsung equipment, drive by control
Dynamic voltage generation circuit 21 generates 1.2V voltage and USB_DM pin and USB_DP pin is driven to export 1.2V voltage respectively.
Further, when recognition processor 1 identify connect with charging interface be not Samsung equipment when, control driving
The short circuit state of voltage generation circuit 21 release USB_DM pin and USB_DP pin.Recognition processor 1 switches to sampling later
Switch arrays 23 are issued instruction and are sampled with the voltage to USB_DM pin and USB_DP pin, meanwhile, recognition processor 1 is also
To reference voltage generating circuit 22 issue instruction with generate detection QC2.0 fast charge agreement and QC3.0 fast charge agreement needed for reference
Voltage.Later, comparator array 24 generates the signal that sampling switching switch arrays 23 acquire with reference voltage generating circuit 22
Reference voltage be compared, and comparison result is returned into recognition processor 1.Recognition processor 1 is according to comparison result, if adopting
The timing of the voltage of USB_DM pin and USB_DP pin that sample switching switch arrays 23 sample meets the rule of QC2.0 fast charge agreement
Periodically, identify it is QC2.0 fast charge agreement, if sampling the USB_DM pin and USB_DP pin for switching the sampling of switch arrays 23
When the timing of voltage meets the regulation of QC3.0 fast charge agreement, identify it is QC3.0 fast charge agreement.
In addition, above-mentioned based on reference voltage generating circuit 22, sampling switching switch arrays 23, comparator array 24 and identification
The combination of processor 1 can be arranged by program, flexibly change the factors such as timing, the reference voltage of protocol identification, to cope with not
Same new agreement.The identification method of agreement is not limited to above-mentioned situation, using the resource in fast charge protocol identification chip, uses
Family can customize identification method, reach maximum fast charge handset compatibility characteristic.
It further include one filling as described above the embodiment of the invention also provides a kind of charging equipment, including USB charging interface
The fast charge protocol identification chip of electric equipment, does not repeat.The charging equipment is preferably charger or mobile power source.
The embodiment of the invention also provides a kind of identification sides of the fast charge protocol identification chip of charging equipment as described above
Method, comprising the following steps:
S11: after the USB charging interface of charging equipment receives connection trigger signal, 1 control protocol of recognition processor is known
The electric current that other circuit 2 exports USB_VBus pin samples;
S12: the size for the electric current that recognition processor 1 is sampled according to protocol recognition circuit 2 and the period of electric current, if sampling
The size of electric current and the period of electric current meet the regulation of MTK PE fast charge agreement, then identify it is MTK PE fast charge agreement,
If not meeting the regulation of MTK PE fast charge agreement, identify it is not MTK PE fast charge agreement.
S13: after the USB charging interface of charging equipment receives connection trigger signal, 1 control protocol of recognition processor is known
Other circuit 2 drives USB_VBus pin output+5V charging voltage, and USB_DM pin and USB_DP pin is driven to export 2.7V respectively
Voltage, and the voltage of USB_DM pin and USB_DP pin is sampled.
S14: recognition processor 1 judge in the given time, protocol recognition circuit 2 sample USB_DM pin and USB_DP
Whether the voltage of pin declines, and is, identifies that connect with USB charging interface is not apple equipment, otherwise identifies and USB
Charging interface connection is apple equipment.
S15: when recognition processor 1 identify connect with USB charging interface be not apple equipment when, control protocol identification
Circuit 2 drives USB_DM pin and USB_DP pin to stop output 2.7V voltage, later to USB_DM pin and USB_DP pin
Voltage sampled.
S16: it is fast that the timing of the voltage of USB_DM pin and USB_DP pin that protocol recognition circuit 2 samples meets QC2.0
When filling the regulation of agreement, it is QC2.0 fast charge agreement that recognition processor 1, which identifies, and as the USB_DM of the sampling of protocol recognition circuit 2
When the timing of the voltage of pin and USB_DP pin meets the regulation of QC3.0 fast charge agreement, recognition processor 1, which identifies, is
QC3.0 fast charge agreement.
The embodiment of the invention also provides a kind of identification sides of the fast charge protocol identification chip of charging equipment as described above
Method, comprising the following steps:
S21: after the USB charging interface of charging equipment receives connection trigger signal, 1 control protocol of recognition processor is known
The electric current that other circuit 2 exports USB_VBus pin samples;
S22: the size for the electric current that recognition processor 1 is sampled according to protocol recognition circuit 2 and the period of electric current, if sampling
The size of electric current and the period of electric current meet the regulation of MTK PE fast charge agreement, then identify it is MTK PE fast charge agreement,
If not meeting the regulation of MTK PE fast charge agreement, identify it is not MTK PE fast charge agreement.
S23: after the USB charging interface of charging equipment receives connection trigger signal, 1 control protocol of recognition processor is known
Other circuit 2 drives USB_VBus pin output+5V charging voltage, and USB_DM pin and USB_DP pin is driven to export 2.7V respectively
Voltage, and the voltage of USB_DM pin and USB_DP pin is sampled.
S24: recognition processor 1 judge in the given time, protocol recognition circuit 2 sample USB_DM pin and USB_DP
Whether the voltage of pin declines, and is, identifies that connect with USB charging interface is not apple equipment, otherwise identifies and USB
Charging interface connection is apple equipment.
S25: when recognition processor 1 identify connect with USB charging interface be not apple equipment when, control protocol identification
USB_DM pin and USB_DP pin are shorted by circuit 2, are sampled later to the voltage of USB_DM pin and USB_DP pin.
S26: recognition processor 1 judges that the voltage of the USB_DM pin that protocol recognition circuit 2 samples or USB_DP pin is
It is no to be greater than 0.325V and duration and be greater than 1.25 seconds, it is to identify fast charge agreement, otherwise identifies and USB charging interface connects
What is connect is Samsung equipment.
S27: when recognition processor 1 identifies fast charge agreement, control protocol identification circuit 2 discharge USB_DM pin and
The short circuit state of USB_DP pin, and the voltage of USB_DM pin and USB_DP pin is sampled.
S28: when the timing of the voltage of the USB_DM pin and USB_DP pin of sampling meets the regulation of QC2.0 fast charge agreement
When, it is QC2.0 fast charge agreement that recognition processor 1, which identifies, and when the USB_DM pin and USB_DP of the sampling of protocol recognition circuit 2
When the timing of the voltage of pin meets the regulation of QC3.0 fast charge agreement, it is QC3.0 fast charge agreement that recognition processor 1, which identifies,.
In charging equipment provided in an embodiment of the present invention and its fast charge protocol identification chip, protocol recognition circuit fills USB
The signal intensity of each pin is sampled in electrical interface, and recognition processor identifies corresponding fast charge agreement according to sampled result.It is logical
The content of fast charge agreement in configuration recognition processor is crossed, it can be achieved that identification to existing various different fast charge agreements, and having can
Scalability passes through the fast charge protocol contents in modification recognition processor, the new standard occurred after compatible day, to reduce use
The number for the charging equipment that family needs, environmental protection are convenient.In addition, above-mentioned based on reference voltage generating circuit 22, sampling switching switch
The combination of array 23, comparator array 24 and recognition processor 1 can be arranged by program, flexibly change protocol identification when
The factors such as sequence, reference voltage, to cope with different new agreements.The identification method of agreement is not limited to above-mentioned situation, using fast
The resource in protocol identification chip is filled, user can customize identification method, reach maximum fast charge handset compatibility characteristic.
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with
Relevant hardware is controlled by program to complete, the program can be stored in a computer readable storage medium,
The storage medium, such as ROM/RAM, disk, CD.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.