CN106655387B - A kind of charging equipment and its fast charge protocol identification chip - Google Patents

A kind of charging equipment and its fast charge protocol identification chip Download PDF

Info

Publication number
CN106655387B
CN106655387B CN201611256599.0A CN201611256599A CN106655387B CN 106655387 B CN106655387 B CN 106655387B CN 201611256599 A CN201611256599 A CN 201611256599A CN 106655387 B CN106655387 B CN 106655387B
Authority
CN
China
Prior art keywords
usb
pin
fast charge
voltage
circuit
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.)
Active
Application number
CN201611256599.0A
Other languages
Chinese (zh)
Other versions
CN106655387A (en
Inventor
高铭坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201611256599.0A priority Critical patent/CN106655387B/en
Publication of CN106655387A publication Critical patent/CN106655387A/en
Application granted granted Critical
Publication of CN106655387B publication Critical patent/CN106655387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Abstract

The invention belongs to rapid nitriding field, a kind of charging equipment and its fast charge protocol identification chip are provided.In fast charge protocol identification chip, protocol recognition circuit samples the signal intensity of pin each in USB charging interface, and recognition processor identifies corresponding fast charge agreement according to sampled result.By the content for configuring fast charge agreement in recognition processor, the identification to existing various different fast charge agreements can be achieved, and there is scalability, pass through the fast charge protocol contents in modification recognition processor, the new standard occurred after compatible day, to reduce the number for the charging equipment that user needs, environmental protection is convenient.

Description

A kind of charging equipment and its fast charge protocol identification chip
Technical field
The invention belongs to rapid nitriding field more particularly to a kind of charging equipment and its fast charge protocol identification chips.
Background technique
With popularizing for smart phone, cell phone battery capacity more increases, and demand of the market to quick charge is very strong. But due to major mobile phone brand, dedicated fast charge agreement is all respectively developed, single phone charger or mobile power source cannot Compatible other fast charging mobile phones.In this way, the mobile phone brand in user hand is more, phone charger, mobile power source are more next accordingly It is more, it uses and is inconvenient.
Currently, the fast charge agreement of mainstream specifically includes that high pass Quick Charge 2.0/3.0(i.e. in the market: QC2.0/ 3.0) fast charge agreement and Lian Fa section Pump Express(MTK PE) fast charge agreement etc..And in the prior art, charging equipment (such as charger, mobile power source) can not support the identification and parsing of various different fast charge agreements simultaneously, cause user using not It is convenient.
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.
Detailed description of the invention
Fig. 1 is the circuit module figure of the fast charge protocol identification chip of charging equipment provided in an embodiment of the present invention;
Fig. 2 is the circuit diagram of the fast charge protocol identification chip of charging equipment provided in an embodiment of the present invention.
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.

Claims (5)

1. a kind of fast charge protocol identification chip of charging equipment, which is characterized in that the fast charge protocol identification chip includes:
The USB charging interface for connecting charging equipment, after the USB charging interface receives connection trigger signal, to the USB The protocol recognition circuit that the signal intensity of each pin is sampled in charging interface;
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 protocol recognition circuit includes:
The input terminal of circuit for generating temperature compensated driving voltage, the circuit for generating temperature compensated driving voltage connects the recognition processor, the driving First output end of voltage generation circuit connects the USB charging as the first output pin of the fast charge protocol identification chip The USB_VBus pin of interface, the second output terminal of the circuit for generating temperature compensated driving voltage is as the fast charge protocol identification chip Second output pin connects the USB_DM pin of the USB charging interface, the third output end of the circuit for generating temperature compensated driving voltage Third output pin as the fast charge protocol identification chip connects the USB_DP pin of the USB charging interface, the drive Voltage generation circuit is moved according to the instruction of the recognition processor, accordingly generates the voltage of each pin in the USB charging interface;
The input terminal of reference voltage generating circuit, the reference voltage generating circuit connects the recognition processor, the reference Instruction of the voltage generation circuit according to the recognition processor, reference voltage needed for generating protocol detection;
Sampling switching switch arrays, the first data input pin of the sampling switching switch arrays is as the fast charge protocol identification First input pin of chip connects the USB_VBus pin of the USB charging interface, and the of the sampling switching switch arrays Two data input pins connect the USB_DP of the USB charging interface as the second input pin of the fast charge protocol identification chip The third data input pin of pin, the sampling switching switch arrays draws as the third input of the fast charge protocol identification chip Foot connects the USB_DM pin of the USB charging interface, and the command input of the sampling switching switch arrays connects the knowledge Other processor, the sampling switching switch arrays according to the instruction of the recognition processor, switching acquisition USB_VBus pin, The signal of USB_DP pin or USB_DM pin;
Comparator array, the comparator array first input end connects the output end of the reference voltage generating circuit, described The second input terminal of comparator array connects the output end of the sampling switching switch arrays, and the comparator array is by the sampling The signal of switching switch arrays acquisition is compared with the reference voltage that the reference voltage generating circuit generates, and will compare knot Fruit exports to the recognition processor.
2. the fast charge protocol identification chip of charging equipment as described in claim 1, which is characterized in that the USB charging interface It is USB Type-A interface, USB Type-B interface or USB Type-C interface.
3. a kind of charging equipment, including USB charging interface, which is characterized in that the charging equipment further include such as claim 1 or The fast charge protocol identification chip of charging equipment described in 2.
4. a kind of recognition methods of the fast charge protocol identification chip of charging equipment as claimed in claim 1 or 2, feature exist In the described method comprises the following steps:
After the USB charging interface of charging equipment receives connection trigger signal, recognition processor control protocol identification circuit pair The electric current of USB_VBus pin output is sampled;
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 is big Small and electric current period meets the regulation of MTK PE fast charge agreement, then identifies it is MTK PE fast charge agreement, if not meeting MTK The regulation of PE fast charge agreement then identifies 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 circuit is driven Dynamic USB_VBus pin output+5V charging voltage, drives USB_DM pin and USB_DP pin to export 2.7V voltage respectively, and right The voltage of USB_DM pin and USB_DP pin is sampled;
Recognition processor judge in the given time, protocol recognition circuit sampling USB_DM pin and USB_DP pin voltage Whether decline, be, identify that connect with USB charging interface is not apple equipment, otherwise identifies and USB charging interface connects What is connect is apple equipment;
When recognition processor identify connect with USB charging interface be not apple equipment when, control protocol identification circuit driving USB_DM pin and USB_DP pin stop output 2.7V voltage, carry out later to the voltage of USB_DM pin and USB_DP pin Sampling;
The timing of the voltage of the USB_DM pin and USB_DP pin of protocol recognition circuit sampling meets the rule of QC2.0 fast charge agreement Periodically, it is QC2.0 fast charge agreement that recognition processor, which identifies, and when the USB_DM pin and USB_DP of protocol recognition circuit sampling 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, which identifies,.
5. a kind of recognition methods of the fast charge protocol identification chip of charging equipment as claimed in claim 1 or 2, feature exist In the described method comprises the following steps:
After the USB charging interface of charging equipment receives connection trigger signal, recognition processor control protocol identification circuit pair The electric current of USB_VBus pin output is sampled;
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 is big Small and electric current period meets the regulation of MTK PE fast charge agreement, then identifies it is MTK PE fast charge agreement, if not meeting MTK The regulation of PE fast charge agreement then identifies 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 circuit is driven Dynamic USB_VBus pin output+5V charging voltage, drives USB_DM pin and USB_DP pin to export 2.7V voltage respectively, and right The voltage of USB_DM pin and USB_DP pin is sampled;
Recognition processor judge in the given time, protocol recognition circuit sampling USB_DM pin and USB_DP pin voltage Whether decline, be, identify that connect with USB charging interface is not apple equipment, otherwise identifies and USB charging interface connects What is connect is apple equipment;
When recognition processor identify connect with USB charging interface be not apple equipment when, control protocol identification circuit will USB_DM pin and USB_DP pin are shorted, and are sampled later to the voltage of USB_DM pin and USB_DP pin;
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 discharges USB_DM pin and USB_DP pin Short circuit state, 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, identification It is QC2.0 fast charge agreement that processor, which identifies, and when the electricity of the USB_DM pin of protocol recognition circuit sampling and USB_DP pin When the timing of pressure meets the regulation of QC3.0 fast charge agreement, it is QC3.0 fast charge agreement that recognition processor, which identifies,.
CN201611256599.0A 2016-12-30 2016-12-30 A kind of charging equipment and its fast charge protocol identification chip Active CN106655387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611256599.0A CN106655387B (en) 2016-12-30 2016-12-30 A kind of charging equipment and its fast charge protocol identification chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611256599.0A CN106655387B (en) 2016-12-30 2016-12-30 A kind of charging equipment and its fast charge protocol identification chip

Publications (2)

Publication Number Publication Date
CN106655387A CN106655387A (en) 2017-05-10
CN106655387B true CN106655387B (en) 2019-08-02

Family

ID=58838705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611256599.0A Active CN106655387B (en) 2016-12-30 2016-12-30 A kind of charging equipment and its fast charge protocol identification chip

Country Status (1)

Country Link
CN (1) CN106655387B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995166B (en) * 2017-11-02 2021-03-23 芯海科技(深圳)股份有限公司 Multi-protocol quick charging adapter and adaptation method
CN107733033B (en) * 2017-11-02 2023-10-27 芯海科技(深圳)股份有限公司 PD protocol-based PPS mobile power supply system and control method
CN107733038B (en) * 2017-11-10 2020-10-09 河北海捷现代教学设备有限公司 Centralized charging synchronizer for teaching
CN108988431B (en) * 2018-08-07 2021-09-17 安克创新科技股份有限公司 Multi-protocol charging device and multi-protocol charging method
CN112448432A (en) * 2019-09-03 2021-03-05 东莞新能德科技有限公司 Battery device and charging system using same
CN111007307B (en) * 2019-12-19 2020-12-08 珠海智融科技有限公司 USB charging equipment access detection system and method
CN111245073B (en) * 2020-03-31 2022-04-22 广州昂宝电子有限公司 USB charging circuit and method, chip and charger
CN113572210A (en) * 2020-04-29 2021-10-29 北京小米移动软件有限公司 Charging method, device, equipment and storage medium
CN111897757B (en) * 2020-09-07 2022-04-29 丁云俊 TYPEC interface power supply expansion circuit
CN112199313A (en) * 2020-10-13 2021-01-08 重庆品胜科技有限公司 USB fast charging switching device and method
CN112838635A (en) * 2021-01-06 2021-05-25 闻泰通讯股份有限公司 Interface circuit and intelligent device
CN114814396A (en) * 2021-01-29 2022-07-29 深圳市乔威电源有限公司 Automatic interface tester
CN116418093B (en) * 2023-06-07 2023-10-24 厦门英麦科芯集成科技有限公司 Charger and bidirectional communication method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070110967A (en) * 2006-05-16 2007-11-21 주식회사 필컴 A mobile phone battery charger having voip function
CN105098900A (en) * 2015-08-05 2015-11-25 青岛海信移动通信技术股份有限公司 Mobile terminal, direct charging power adapter and charging method
CN105429245A (en) * 2015-12-28 2016-03-23 魅族科技(中国)有限公司 Charging control method and charging control device
CN205725104U (en) * 2015-12-30 2016-11-23 北京新兆民科技有限公司 A kind of battery bridge joint charger

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070110967A (en) * 2006-05-16 2007-11-21 주식회사 필컴 A mobile phone battery charger having voip function
CN105098900A (en) * 2015-08-05 2015-11-25 青岛海信移动通信技术股份有限公司 Mobile terminal, direct charging power adapter and charging method
CN105429245A (en) * 2015-12-28 2016-03-23 魅族科技(中国)有限公司 Charging control method and charging control device
CN205725104U (en) * 2015-12-30 2016-11-23 北京新兆民科技有限公司 A kind of battery bridge joint charger

Also Published As

Publication number Publication date
CN106655387A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN106655387B (en) A kind of charging equipment and its fast charge protocol identification chip
US10671135B2 (en) Intelligent mobile power supply and method for USB data communication therewith
JP6359459B2 (en) Mobile terminal and charging device and method thereof
CN108718020B (en) Concentrator
CN103457348B (en) Semiconductor integrated circuit and operating method thereof
CN105429245B (en) A kind of charge control method and battery charge controller
CN205489659U (en) Portable power source with TYPE -C interface
CN104272216A (en) Electronic device and control method therefor
US8949631B2 (en) USB power supply method and device, and end device and system using the same
EP2905859A1 (en) Charging and audio usage
CN108988431B (en) Multi-protocol charging device and multi-protocol charging method
CN107196357A (en) A kind of charging equipment, terminal device and charging method, charging monitoring method
CN106575879A (en) Fast battery charging through digital feedback
KR20090011171A (en) Mobile phone and method for charging through discernment charging cable
CN104701937B (en) charging method, terminal device and adapter
CN104283284A (en) Multifunctional data portable power source and charging method
CN110221163A (en) A kind of the connecting detection method and detection circuit of USB Type-C interface
CN102882246B (en) Use the system and method that master device is charged by detachable apparatus
CN105808488A (en) Electronic device and power supply control method
CN107332313B (en) Electronic device and charging method thereof
CN110417085A (en) A kind of system and method whether being inserted into for detecting apple equipment
CN104065120A (en) APP management method of portable power source and luggage with portable power source
CN105006961A (en) Power on sequence control circuit on multi-channel power supply and method
CN113009995A (en) Power supply device and power supply method
CN202978308U (en) Movable power supply device

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191227

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

Patentee 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

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

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

Co-patentee before: ZHUHAI HUANGRONG INTEGRATED CIRCUIT TECHNOLOGY CO., LTD.

TR01 Transfer of patent right