CN108763030A - A kind of detection circuit and detection method of Type-C interfaces - Google Patents
A kind of detection circuit and detection method of Type-C interfaces Download PDFInfo
- Publication number
- CN108763030A CN108763030A CN201810831493.1A CN201810831493A CN108763030A CN 108763030 A CN108763030 A CN 108763030A CN 201810831493 A CN201810831493 A CN 201810831493A CN 108763030 A CN108763030 A CN 108763030A
- Authority
- CN
- China
- Prior art keywords
- type
- signal
- voltage
- detection units
- input terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 135
- 238000006243 chemical reaction Methods 0.000 claims description 15
- 238000000034 method Methods 0.000 claims description 6
- 235000013399 edible fruits Nutrition 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 5
- 230000005611 electricity Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007958 sleep Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 108700025151 PD protocol Proteins 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000000875 corresponding effect Effects 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The present invention relates to a kind of detection circuits and detection method of Type-C interfaces, by the way that a Type-C connecting detection unit is arranged, in stand-by mode(Type-C interfaces are connectionless)It only needs to open Type-C connecting detection units, after Type-C connecting detection units recognize equipment connection, wake-up signal just is sent out to ADC voltage detection units, then ADC voltage detection units just start to detect the voltage at the ends CC, it does not need ADC voltage detection units and voltage detecting constantly is carried out to the ends CC, to effectively reduce the stand-by power consumption of Type-C products.In addition, the Type-C connecting detections unit only needs to use data selector, comparator and some logic gates, so that it may which, to realize the function of being inserted into detection and wake up, circuit structure is simple, and hardware cost is relatively low, and detection mode is simple, and detection efficiency is higher.
Description
Technical field
The present invention relates to USB technical fields, and in particular to a kind of detection circuit and detection method of Type-C interfaces.
Background technology
USB Type-C Power Delivery agreements (hereinafter referred to as PD agreements) are a kind of based on Type-C interfaces
Power transmission protocol.USB-PD maximums can support 100W(20V/5A)Power transmission, while support power supply role transforming, can expire
Sufficient Most electronic equipment power demands.Since USB-IF releases Type-C interfaces, the flagship type base of major cell phone manufacturer
This all uses Type-C interfaces.In the Type-C communications of PD agreements, the first step is to identify the connection of Type-C equipment first.
According to PD protocol specifications, the device type of Type-C can be divided into UFP, DFP or DRP, and it is several that power is divided into 0.5A, 1.5A, 3A etc.
Rank.It needs to identify the type and power of access device according to the voltage on CC lines after the connection of Type-C equipment.This is just needed
A kind of method of simple and effective identification Type-C equipment connection.The utility model that one patent publication No. is CN204833262U is special
Profit discloses a kind of identification circuit of USB Type-C interfaces, although the circuit can realize the identification of Type-C, circuit
It is to be made up of field-effect tube and electronic switch, component is more during circuit is constituted, and circuit structure is complicated, identifies and judge flow
Cumbersome, reaction is slowly.China Patent Publication No. is the application for a patent for invention of CN106445868A, discloses a kind of ADC types Type-C
Automatic identification circuit, the circuit are provided with ADC, and the ADC is connected to CC mouthfuls at least one set of, passes through ADC and tests two CC mouthfuls
Voltage, two CC mouthfuls of voltage range is judged, to obtain the connection of Type-C interfaces.Although the circuit can be realized
The identification of Type-C, but in the case where Type-C interfaces are connectionless, it is still necessary to ADC does not stop to detect to CC mouthfuls, so as to cause
The stand-by power consumption of product is very big, is not well positioned to meet application demand.
Invention content
The present invention provides a kind of detection circuits and detection method of Type-C interfaces, can reduce waiting for for Type-C products
Machine power consumption, meanwhile, circuit structure and detection mode are simple, and detection efficiency is high, and hardware cost is relatively low.Specific technical solution is as follows:
A kind of detection circuit of Type-C interfaces, including:Type-C connecting detection units, for according to received Working mould
The voltage that the ends CC input is compared by formula signal with reference voltage, and exports wake-up signal to ADC voltages according to comparison result
Detection unit;The ADC voltage detection units connect with the Type-C connecting detections unit for receiving the Type-C
After connecing the wake-up signal that detection unit is sent out, the voltage at the ends CC is AD converted, then the result of AD conversion voltage is defeated
Go out to Type-C connection recognition units;The Type-C connections recognition unit, connect with the ADC voltage detection units, is used for
The equipment for identifying access Type-C interfaces according to the result of the AD conversion voltage of ADC voltage detection units output.
Further, the ends CC include:First ends CC, for inputting the first CC voltages;2nd ends CC, for inputting the
Two CC voltages.
Further, the Type-C connecting detections unit includes:Data selector is used for from its mode signal input terminal
Receive operating mode signal, and the first reference electricity that signal inputs its first reference voltage input terminal according to the operation mode
Pressure and the second reference voltage of its second reference voltage input terminal input carry out selection output;First comparator, negative input end
It is connect with the output end of the data selector, positive input terminal is then connected to the first ends CC, for selecting the data
The reference voltage for selecting device output is compared with the first CC voltages that the first ends CC input, and exports comparison result;Second
Comparator, negative input end are connect with the output end of the data selector, and positive input terminal is then connected to the 2nd ends CC,
Reference voltage for exporting the data selector is compared with the 2nd CC voltages that the 2nd ends CC input, and defeated
Go out comparison result;First XOR gate, first input end are connect with the output end of the first comparator, and the second input terminal is then
It is connected to the mode signal input terminal, the signal for exporting the first comparator is carried out with the operating mode signal
It is exported after XOR operation;Second XOR gate, first input end are connect with the output end of second comparator, the second input
End is then connected to the mode signal input terminal, the signal for exporting second comparator and the operating mode signal
It is exported after carrying out XOR operation;Or door, first input end are connected to the output end of first XOR gate, the second input terminal
It is then connected to the output end of second XOR gate, the signal for exporting first XOR gate and second XOR gate
After the signal progress or operation of output, passes through its output end and export wake-up signal to the ADC voltage detection units.
A kind of detection method of Type-C interfaces, includes the following steps:Type-C connecting detection units receive operating mode
The voltage that the ends CC input is compared by signal according to received operating mode signal with reference voltage, and according to comparing
As a result wake-up signal is exported to ADC voltage detection units;The ADC voltage detection units receive the Type-C connecting detections
After the wake-up signal that unit is sent out, the voltage at the ends CC is AD converted, then the result of AD conversion voltage export to
Type-C connection recognition units;The AD conversion that the Type-C connection recognition units are exported according to the ADC voltage detection units
The result of voltage come identify access Type-C interfaces equipment.
Further, the Type-C connecting detections unit receives operating mode signal, according to received Working mould
The voltage that the ends CC input is compared by formula signal with reference voltage, and exports wake-up signal to ADC voltages according to comparison result
The step of detection unit, specifically comprises the following steps:Data selector in the Type-C connecting detections unit is from its pattern
Signal input part receives operating mode signal, and signal inputs its first reference voltage input terminal according to the operation mode
First reference voltage and the second reference voltage of its second reference voltage input terminal input carry out selection output;The Type-C connects
Connect the of reference voltage that the first comparator in detection unit exports the data selector and the first ends CC input
One CC voltages are compared, and export comparison result;The second comparator in the Type-C connecting detections unit is by the number
The reference voltage exported according to selector is compared with the 2nd CC voltages that the 2nd ends CC input, and exports comparison result;
The signal that the first XOR gate in the Type-C connecting detections unit exports the first comparator and the operating mode
Signal exports after carrying out XOR operation;The second XOR gate in the Type-C connecting detections unit is defeated by second comparator
The signal gone out exports after carrying out XOR operation with the operating mode signal;In the Type-C connecting detections unit or goalkeeper
It is defeated by its output end after signal progress or operation that the signal of the first XOR gate output is exported with second XOR gate
Go out wake-up signal to the ADC voltage detection units.
The detection circuit and detection method of Type-C interfaces of the present invention, by the way that a Type-C connecting detection is arranged
Unit, in stand-by mode(Type-C interfaces are connectionless), it is only necessary to Type-C connecting detection units are opened, when Type-C connections
After detection unit recognizes equipment connection, wake-up signal just is sent out to ADC voltage detection units, then ADC voltage detection units
The voltage for just starting the ends detection CC does not need ADC voltage detection units and constantly carries out voltage detecting to the ends CC, to effectively drop
The low stand-by power consumption of Type-C products.In addition, the Type-C connecting detections unit only needs using data selector, compares
Device and some logic gates, so that it may to realize the function of being inserted into detection and wake up, circuit structure is simple, and hardware cost is relatively low,
And detection mode is simple, detection efficiency is higher.
Description of the drawings
Fig. 1 is the circuit structure block diagram of the detection circuit of Type-C interfaces of the present invention.
Fig. 2 is the circuit diagram of Type-C connecting detections unit of the present invention.
Fig. 3 is the flow diagram of the detection method of Type-C interfaces of the present invention.
Fig. 4 is the flow diagram of the detection method of Type-C interfaces of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is retouched in detail
It states.It should be appreciated that specific embodiment disclosed below is only used for explaining the present invention, it is not intended to limit the present invention.Below
Description in, provide detail to provide a thorough understanding of embodiments.However, those skilled in the art will manage
Solution, may be practiced without these specific details embodiment.For example, circuit can be shown in block diagrams, so as not to
Make embodiment fuzzy in unnecessary details.In other cases, it in order not to obscure embodiment, can not display the details of known
Circuit, structure and technology.
As shown in Figure 1, the detection circuit of the Type-C interfaces include sequentially connected Type-C connecting detections unit,
ADC voltage detection units connect recognition unit with Type-C.The Type-C connecting detections unit is used for according to received
Operating mode signal mode_sel, by the ends CC(CC1,CC2)The voltage of input is compared with reference voltage, and is tied according to comparing
Fruit exports wake-up signal to ADC voltage detection units.The input terminal of the ADC voltage detection units connect inspection with the Type-C
The output end connection for surveying unit, after receiving the wake-up signal that the Type-C connecting detections unit is sent out, to CC
End(CC1,CC2)Voltage be AD converted, then the result of AD conversion voltage is exported to Type-C connection recognition units.It is described
The input terminal of Type-C connection recognition units is connect with the output end of the ADC voltage detection units, for according to ADC electricity
The result of the AD conversion voltage of pressure detection unit output determines the type of access device come the equipment for identifying access Type-C interfaces
And power.Wherein, the operating mode signal mode_sel can be provided by external Digital Logical Circuits or MCU.The electricity
Road is by being arranged a Type-C connecting detection unit, in stand-by mode(Type-C interfaces are connectionless), it is only necessary to it opens
Type-C connecting detection units just send out ADC voltage detection units after Type-C connecting detection units recognize equipment connection
Go out wake-up signal, then ADC voltage detection units just start to detect the voltage at the ends CC, do not need ADC voltage detection units constantly
Ground carries out voltage detecting to the ends CC, to effectively reduce the stand-by power consumption of Type-C products.
Specifically, the ends CC include the first ends CC CC1 and the 2nd ends CC CC2.First ends the CC CC1 is for inputting the
One CC voltages.2nd ends CC CC2 is for inputting the 2nd CC voltages.The first CC voltages and the 2nd CC voltages are all transmitted to
Type-C connecting detections unit and ADC voltage detection units.
As one of which embodiment, the Type-C connecting detections unit includes data selector mux_sel, first
Comparator comp1, the second comparator comp2, the first XOR gate xor1, the second XOR gate xor2 and one or or.The number
It is used to receive operating mode signal mode_sel from its mode signal input terminal according to selector mux_sel, and according to the work
The first reference voltage that mode signal mode_sel inputs its first reference voltage input terminal(0.2V)With its second reference electricity
Press the second reference voltage of input terminal input(2.6V)Carry out selection output.The negative input end of the first comparator comp1 with
The output end of the data selector mux_sel connects, and positive input terminal is then connected to the first ends the CC CC1, is used for institute
State the reference voltage of data selector mux_sel outputs(0.2V or 0.6V)With the first CC electricity of the first ends CC CC1 inputs
Pressure is compared, and exports comparison result.The negative input end of the second comparator comp2 and the data selector mux_
The output end of sel connects, and positive input terminal is then connected to the 2nd ends the CC CC2, is used for the data selector mux_sel
The reference voltage of output(0.2V or 0.6V)It is compared with the 2nd CC voltages of the 2nd ends CC CC2 inputs, and exports ratio
Relatively result.The first input end of the first XOR gate xor1 is connect with the output end of the first comparator comp1, and second
Input terminal is then connected to the mode signal input terminal, the signal comp_cc1 for exporting the first comparator with it is described
Operating mode signal mode_sel is exported after carrying out XOR operation.The first input end of the second XOR gate xor2 and described the
The output end of two comparator comp2 connects, and the second input terminal is then connected to the mode signal input terminal, for by described the
The signal comp_cc2 and operating mode signal mode_sel of two comparators output is exported after carrying out XOR operation.It is described or
The first input end of door is connected to the output end of the first XOR gate xor1, and it is different that the second input terminal is then connected to described second
Or the output end of door xor2, the signal wake_up_cc1 and second XOR gate for exporting first XOR gate are defeated
After the signal wake_up_cc2 progress or operation that go out, passes through its output end and export wake-up signal wake_up to the ADC voltages
Detection unit.The Type-C connecting detections unit only needs to use data selector, comparator and some logic gates, just
The function of being inserted into detection and wake up may be implemented, circuit structure is simple, and hardware cost is relatively low, and detection mode is simple, detection effect
Rate is higher.
As shown in figure 3, a kind of detection method of Type-C interfaces, includes the following steps:Type-C connecting detection units connect
The voltage that the ends CC input is compared by operation mode signal of knocking off according to received operating mode signal with reference voltage,
And wake-up signal is exported to ADC voltage detection units according to comparison result;The ADC voltage detection units receive described
After the wake-up signal that Type-C connecting detection units are sent out, the voltage at the ends CC is AD converted, then AD conversion voltage
Result export to Type-C connection recognition units;The Type-C connection recognition units are according to the ADC voltage detection units
The result of the AD conversion voltage of output come identify access Type-C interfaces equipment.The method is by first opening Type-C connections
Detection unit just sends out wake-up letter after Type-C connecting detection units recognize equipment connection to ADC voltage detection units
Number, then ADC voltage detection units just start to detect the voltage at the ends CC, do not need ADC voltage detection units constantly to the ends CC
Voltage detecting is carried out, to effectively reduce the stand-by power consumption of Type-C products.
Preferably, the Type-C connecting detections unit receives operating mode signal, according to received operating mode
The voltage that the ends CC input is compared by signal with reference voltage, and is exported wake-up signal to ADC voltages according to comparison result and examined
The step of surveying unit, specifically comprises the following steps:Data selector in the Type-C connecting detections unit is believed from its pattern
Number input terminal receives operating mode signal, and according to the operation mode signal its first reference voltage input terminal is inputted the
One reference voltage and the second reference voltage of its second reference voltage input terminal input carry out selection output;The Type-C connections
The reference voltage that first comparator in detection unit exports the data selector and the first of the first ends CC input
CC voltages are compared, and export comparison result;The second comparator in the Type-C connecting detections unit is by the data
The reference voltage of selector output is compared with the 2nd CC voltages that the 2nd ends CC input, and exports comparison result;Institute
The signal that the first XOR gate in Type-C connecting detection units exports the first comparator is stated with the operating mode to believe
Number carry out XOR operation after export;The second XOR gate in the Type-C connecting detections unit exports second comparator
Signal and the operating mode signal carry out XOR operation after export;In the Type-C connecting detections unit or goalkeeper institute
After stating the signal of the first XOR gate output and the signal progress or operation of second XOR gate output, exported by its output end
Wake-up signal is to the ADC voltage detection units.
Specifically, can be different function pattern by TYPE_C device configurations according to PD agreements:UFP, DFP or DRP.Its
In, UFP is charge mode, needs to provide RD in the channels CC(Pull down resistor);DFP is discharge mode, needs to provide in the channels CC
RP(Pull-up resistor);DRP is double Role Models, can both be UFP, can also be DFP, need dynamically to cut between UFP and DFP
It changes.As shown in figure 4, being currently DRP patterns.When Type-C interfaces are connectionless, circuit enters standby detecting state.Waiting for machine examination
Under survey state, Type-C connection identification circuits, it is only necessary to open preposition Type-C connecting detection units, other circuits, which are in, sleeps
It sleeps, to ensure lower stand-by power consumption.Wherein, operating mode signal mode_sel can be that Digital Logical Circuits or MCU are provided,
As operating mode signal mode_sel=0, indicate in UFP patterns;When mode_sel=1, indicate in DFP patterns.
In conjunction with Fig. 2 and Fig. 4 it is found that under UFP patterns, operating mode signal mode_sel=0, data selector
0.2V voltages as the reference voltage and are sent to first comparator comp1 and the second comparator comp2 by mux_sel selections.When
One CC voltages are more than 0.2V, and first comparator comp1 outputs result comp_cc1 sets 1.At this point, signal mode_sel=0,
Comp_cc1=1, the output signal wake_up_cc1 after XOR gate set 1.Similarly, when the 2nd CC voltages be more than 0.2V,
Second comparator comp2 outputs result comp_cc2 sets 1.At this point, signal mode_sel=0, comp_cc2=1, process are different
Or output signal wake_up_cc2 behind the door sets 1.
Likewise, under DFP patterns, operating mode signal mode_sel=1, data selector mux_sel selects handle
2.6V voltages as the reference voltage and are sent to first comparator comp1 and the second comparator comp2.When the first CC voltages are less than
2.6V, first comparator comp1 outputs result comp_cc1 are set to 0.At this point, signal mode_sel=1, comp_cc1=0, warp
The output signal wake_up_cc1 crossed after XOR gate sets 1.Similarly, when the 2nd CC voltages are less than 2.6V, the second comparator comp2
Output result comp_cc2 is set to 0.At this point, signal mode_sel=1, comp_cc2=0, the output signal after XOR gate
Wake_up_cc2 sets 1.
Since wake-up signal wake_up is signal wake_up_cc1 and signal wake_up_cc2, by or behind the door defeated
Go out signal, if signal wake_up_cc1 or wake_up_cc2 one of them set 1, wake-up signal wake_up sets 1, triggers institute
State the start-up operation of ADC voltage detection units.
When machine testing, according to different operating modes, judge whether Type-C interfaces connect miscellaneous equipment.Offer is provided
When RD, it is operated in UFP patterns.Under UFP patterns, when Type-C interfaces are connectionless, voltage is 0 on CC1 and CC2.It is assisted according to PD
View judges that Type-C interfaces have connection when Type-C connecting detection units detect that voltage is more than 0.2V on CC1 or CC2.
When providing RP, it is operated in DFP patterns.Under DFP patterns, when Type-C interfaces are connectionless, voltage is 5V on CC1 and CC2.Root
According to PD agreements, when Type-C connecting detection units, when detecting that voltage is less than 2.6V on CC1 or CC2, Type-C interfaces are judged
There is connection.When Type-C interfaces have connection, ADC voltage detection units are waken up.ADC timesharing carries out AD to the voltage of CC1 and CC2
Conversion.Finally, Type-C connection recognition units identify that access Type-C interfaces are set according to PD agreements with AD conversion voltage results
Standby type and power.
Obviously, the above embodiments are only a part of the embodiment of the present invention, instead of all the embodiments, each implementation
Technical solution between example can be combined with each other.If occurring " first ", " second ", the terms such as " third " in embodiment, be for
It is convenient for the differentiation of correlated characteristic, should not be understood as indicating or imply its relative importance, the priority of order or technical characteristic
Quantity.One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.These programs can be stored in computer read/write memory medium(Such as ROM,
The various media that can store program code such as RAM, magnetic disc or CD)In.When being executed, execution includes above-mentioned each to the program
The step of embodiment of the method.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to
It so can be with technical scheme described in the above embodiments is modified, either to which part or all technical features
Carry out equivalent replacement;And these modifications or replacements, various embodiments of the present invention skill that it does not separate the essence of the corresponding technical solution
The range of art scheme.
Claims (5)
1. a kind of detection circuit of Type-C interfaces, which is characterized in that including:
Type-C connecting detection units are used for according to received operating mode signal, the voltage that the ends CC are inputted and reference
Voltage is compared, and exports wake-up signal to ADC voltage detection units according to comparison result;
The ADC voltage detection units, and the Type-C connecting detections unit, for receiving the Type-C connecting detections
After the wake-up signal that unit is sent out, the voltage at the ends CC is AD converted, then the result of AD conversion voltage export to
Type-C connection recognition units;
The Type-C connections recognition unit, connect with the ADC voltage detection units, for according to the ADC voltage detectings
Unit output AD conversion voltage result come identify access Type-C interfaces equipment.
2. circuit according to claim 1, which is characterized in that the ends CC include:
First ends CC, for inputting the first CC voltages;
2nd ends CC, for inputting the 2nd CC voltages.
3. circuit according to claim 2, which is characterized in that the Type-C connecting detections unit includes:
Data selector, for receiving operating mode signal, and signal according to the operation mode from its mode signal input terminal
Second reference of the first reference voltage and the input of its second reference voltage input terminal to the input of its first reference voltage input terminal
Voltage carries out selection output;
First comparator, negative input end are connect with the output end of the data selector, and positive input terminal is then connected to described
First ends CC, reference voltage and the first CC voltages of the first ends CC input for exporting the data selector carry out
Compare, and exports comparison result;
Second comparator, negative input end are connect with the output end of the data selector, and positive input terminal is then connected to described
2nd ends CC, reference voltage and the 2nd CC voltages of the 2nd ends CC input for exporting the data selector carry out
Compare, and exports comparison result;
First XOR gate, first input end are connect with the output end of the first comparator, and the second input terminal is then connected to
The mode signal input terminal, the signal for exporting the first comparator carry out exclusive or fortune with the operating mode signal
It is exported after calculation;
Second XOR gate, first input end are connect with the output end of second comparator, and the second input terminal is then connected to
The mode signal input terminal, the signal for exporting second comparator carry out exclusive or fortune with the operating mode signal
It is exported after calculation;
Or door, first input end are connected to the output end of first XOR gate, the second input terminal is then connected to described
The output end of two XOR gates, signal and the signal of second XOR gate output for exporting first XOR gate carry out
Or after operation, wake-up signal is exported to the ADC voltage detection units by its output end.
4. a kind of detection method of Type-C interfaces, which is characterized in that include the following steps:
Type-C connecting detection units receive operating mode signal and are inputted the ends CC according to received operating mode signal
Voltage be compared with reference voltage, and wake-up signal is exported to ADC voltage detection units according to comparison result;
After the ADC voltage detection units receive the wake-up signal that the Type-C connecting detections unit is sent out, to CC
The voltage at end is AD converted, then the result of AD conversion voltage is exported to Type-C connection recognition units;
The result of the AD conversion voltage that the Type-C connection recognition units are exported according to the ADC voltage detection units identifies
The equipment for accessing Type-C interfaces.
5. according to the method described in claim 4, it is characterized in that, the Type-C connecting detections unit receives operating mode letter
Number, according to received operating mode signal, the voltage that the ends CC input is compared with reference voltage, and is tied according to comparing
Fruit exports the step of wake-up signal to ADC voltage detection units, specifically comprises the following steps:
Data selector in the Type-C connecting detections unit receives operating mode signal from its mode signal input terminal, and
The first reference voltage and its second reference voltage that signal inputs its first reference voltage input terminal according to the operation mode
Second reference voltage of input terminal input carries out selection output;
The reference voltage that first comparator in the Type-C connecting detections unit exports the data selector with it is described
First CC voltages of the first ends CC input are compared, and export comparison result;
The reference voltage that the second comparator in the Type-C connecting detections unit exports the data selector with it is described
2nd CC voltages of the 2nd ends CC input are compared, and export comparison result;
The signal that the first XOR gate in the Type-C connecting detections unit exports the first comparator and the work
Mode signal exports after carrying out XOR operation;
The signal that the second XOR gate in the Type-C connecting detections unit exports second comparator and the work
Mode signal exports after carrying out XOR operation;
The signal that first XOR gate described in the Type-C connecting detections unit or goalkeeper exports and second XOR gate
After the signal progress or operation of output, passes through its output end and export wake-up signal to the ADC voltage detection units.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810831493.1A CN108763030A (en) | 2018-07-26 | 2018-07-26 | A kind of detection circuit and detection method of Type-C interfaces |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810831493.1A CN108763030A (en) | 2018-07-26 | 2018-07-26 | A kind of detection circuit and detection method of Type-C interfaces |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108763030A true CN108763030A (en) | 2018-11-06 |
Family
ID=63971738
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810831493.1A Pending CN108763030A (en) | 2018-07-26 | 2018-07-26 | A kind of detection circuit and detection method of Type-C interfaces |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108763030A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109975649A (en) * | 2019-03-29 | 2019-07-05 | 上海剑桥科技股份有限公司 | The detection circuit and power supply adaptor of USB Type-C device type |
CN114924639A (en) * | 2022-05-12 | 2022-08-19 | 芯海科技(深圳)股份有限公司 | Electronic device and method for waking up micro control unit |
CN117250566A (en) * | 2023-09-18 | 2023-12-19 | 珠海智融科技股份有限公司 | Type-C connection detection circuit and electronic equipment |
CN117498105A (en) * | 2023-12-13 | 2024-02-02 | 荣耀终端有限公司 | Electronic equipment and connecting component |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9400546B1 (en) * | 2015-06-19 | 2016-07-26 | Cypress Semiconductor Corporation | Low-power implementation of Type-C connector subsystem |
CN105867593A (en) * | 2016-05-17 | 2016-08-17 | 深圳慧能泰半导体科技有限公司 | USB Type-C interface circuit and control device thereof |
CN105955912A (en) * | 2016-05-16 | 2016-09-21 | 芯海科技(深圳)股份有限公司 | Device detection method for USB Type-C interface |
CN106020176A (en) * | 2016-07-29 | 2016-10-12 | 珠海智融科技有限公司 | CC logic control chip low power consumption connection detection method and structure |
CN106445868A (en) * | 2016-09-06 | 2017-02-22 | 芯海科技(深圳)股份有限公司 | ADC type Type-C automatic identification circuit |
CN207281214U (en) * | 2017-05-25 | 2018-04-27 | 深圳市乐得瑞科技有限公司 | A kind of Type-C interfaces and its connection detection circuit |
-
2018
- 2018-07-26 CN CN201810831493.1A patent/CN108763030A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9400546B1 (en) * | 2015-06-19 | 2016-07-26 | Cypress Semiconductor Corporation | Low-power implementation of Type-C connector subsystem |
CN105955912A (en) * | 2016-05-16 | 2016-09-21 | 芯海科技(深圳)股份有限公司 | Device detection method for USB Type-C interface |
CN105867593A (en) * | 2016-05-17 | 2016-08-17 | 深圳慧能泰半导体科技有限公司 | USB Type-C interface circuit and control device thereof |
CN106020176A (en) * | 2016-07-29 | 2016-10-12 | 珠海智融科技有限公司 | CC logic control chip low power consumption connection detection method and structure |
CN106445868A (en) * | 2016-09-06 | 2017-02-22 | 芯海科技(深圳)股份有限公司 | ADC type Type-C automatic identification circuit |
CN207281214U (en) * | 2017-05-25 | 2018-04-27 | 深圳市乐得瑞科技有限公司 | A kind of Type-C interfaces and its connection detection circuit |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109975649A (en) * | 2019-03-29 | 2019-07-05 | 上海剑桥科技股份有限公司 | The detection circuit and power supply adaptor of USB Type-C device type |
CN109975649B (en) * | 2019-03-29 | 2021-06-18 | 上海剑桥科技股份有限公司 | Detection circuitry and power adapter of USBType-C equipment Type |
CN114924639A (en) * | 2022-05-12 | 2022-08-19 | 芯海科技(深圳)股份有限公司 | Electronic device and method for waking up micro control unit |
CN114924639B (en) * | 2022-05-12 | 2024-05-28 | 芯海科技(深圳)股份有限公司 | Electronic device and method for waking up micro control unit |
CN117250566A (en) * | 2023-09-18 | 2023-12-19 | 珠海智融科技股份有限公司 | Type-C connection detection circuit and electronic equipment |
CN117250566B (en) * | 2023-09-18 | 2024-05-03 | 珠海智融科技股份有限公司 | Type-C connection detection circuit and electronic equipment |
CN117498105A (en) * | 2023-12-13 | 2024-02-02 | 荣耀终端有限公司 | Electronic equipment and connecting component |
CN117498105B (en) * | 2023-12-13 | 2024-05-28 | 荣耀终端有限公司 | Electronic equipment and connecting component |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108763030A (en) | A kind of detection circuit and detection method of Type-C interfaces | |
CN208421807U (en) | A kind of detection circuit of Type-C interface | |
TWI466411B (en) | Charging apparatus and method thereof | |
CN106787055B (en) | A kind of charging circuit, system, method and terminal | |
TW201324177A (en) | Apparatus for coupling USB device to USB host and method thereof | |
CN101304568B (en) | Apparatus and method for charging mobile terminal | |
CN106571657A (en) | Terminal, converter and connection conversion system and method | |
CN106095492B (en) | The method for closing and device of a kind of application program | |
CN112014788B (en) | Load identification module detection method based on wave recording file playback | |
CN103186483A (en) | Terminal, and OTG (On-The-Go) function-charging function paralleled execution method used for same | |
CN104602154A (en) | Full impedance headset output method, device and terminal | |
CN111338867A (en) | Type-C interface testing system, method, device and medium | |
CN105891736A (en) | QC2.0 fast charge detection circuit and detection method | |
CN107508354A (en) | A kind of charging method and mobile terminal | |
CN201032694Y (en) | Dual-power supply switch circuitry | |
CN106844270B (en) | A kind of circuit and method of automatic identification and configuration I2C interface circuit logic level | |
CN106199098A (en) | Under ammeter power-down state, low-power consumption during electrical network full decompression exception detects control method | |
CN107104478A (en) | A kind of information processing method and electronic equipment | |
CN110414839A (en) | Load recognition methods and system based on quantum genetic algorithm and SVM model | |
CN106356853A (en) | Domestic energy source router and operation method thereof | |
CN112615724B (en) | POE load priority power supply management system | |
CN104424142B (en) | The method and apparatus of shared resource is accessed in a kind of multi-core processor system | |
CN203069733U (en) | A vibration-detection-based partial discharging point positioning device used for GIS tests | |
CN203433062U (en) | A USB interface automatic testing apparatus | |
CN214669306U (en) | Non-invasive load identification module detection 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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 519000 2706, No. 3000, Huandao East Road, Hengqin new area, Zhuhai, Guangdong Applicant after: Zhuhai Yiwei Semiconductor Co.,Ltd. Address before: Room 105-514, No.6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province Applicant before: AMICRO SEMICONDUCTOR Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181106 |