CN104181409A - Interface detection apparatus of universal serial bus - Google Patents

Interface detection apparatus of universal serial bus Download PDF

Info

Publication number
CN104181409A
CN104181409A CN201310201476.7A CN201310201476A CN104181409A CN 104181409 A CN104181409 A CN 104181409A CN 201310201476 A CN201310201476 A CN 201310201476A CN 104181409 A CN104181409 A CN 104181409A
Authority
CN
China
Prior art keywords
interface
stitch
type
source
micro
Prior art date
Application number
CN201310201476.7A
Other languages
Chinese (zh)
Inventor
冯仓勇
Original Assignee
致伸科技股份有限公司
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 致伸科技股份有限公司 filed Critical 致伸科技股份有限公司
Priority to CN201310201476.7A priority Critical patent/CN104181409A/en
Publication of CN104181409A publication Critical patent/CN104181409A/en

Links

Abstract

Disclosed in the invention is an interface detection apparatus of a universal serial bus. The interface detection apparatus comprises a universal serial bus cable and a detection unit; A first electric plug and a second electric plug of the universal serial bus cable are respectively plugged to a first electric slot of a first device and a second electric slot of a second device; a USB3.0 ground source pin of the first electric plug is connected to an identifying pin of the second electric plug; and a first power supply pin of the first electric plug is connected to a second power supply pin of the second electric plug. And the detection unit arranged at the second detection device is used for detecting a voltage difference between the second power supply pin and the identifying pin to determine an interface specification of the first electric slot.

Description

USB interface pick-up unit

Technical field

The present invention relates to USB (universal serial bus) field, especially about a kind of detection method of USB interface and the pick-up unit with universal serial bus cable line.

Background technology

Development along with information, portable electron device is more and more universal, and because computer system has huge multimedia processing capacity, therefore many portable electron devices can directly be connected with computer system, to carry out the action of every data transmission, wherein, one of the connecting interface the most often using between USB (universal serial bus) (USB) portable electron device and computer system, reason is, USB interface has the multiple advantages such as plug and play, hot plug (hot plug), data rate be fast.

What specify is, USB (universal serial bus) (USB) also has the function of transmission current, therefore computer system can provide electric energy to give portable electron device, make portable electron device can obtain the upper required electric energy of running, or the action that the lithium battery in portable electron device is charged.In general, when USB interface is USB2.0 interface, computer system can provide the electric current of portable electron device approximately 500 milliamperes (mA), and when USB interface is USB3.0 interface, computer system can provide the electric current of portable electron device approximately 900 milliamperes (mA).Therefore when computer system has the interface specification of USB3.0, the lithium battery in portable electron device just has preferably charging rate.

Moreover, when portable electron device is connected with computer system by universal serial bus cable line, can first judge the interface specification of computer system, with so that request computer system corresponding electric current is provided.In traditional practice, portable electron device must first transfer to computer system by USB (universal serial bus) by an interrogating signal, computer system is again because exporting a feedback signal to portable electron device by interrogating signal, then, portable electron device judges the interface specification of computer system according to this feedback signal, if during the interface that the interface specification of judgement computer system is USB3.0, can ask computer system that the electric current of 900 milliamperes (mA) is provided, if and during the interface that the interface specification of computer system is USB2.0, only can ask computer system that the electric current of 500 milliamperes (mA) is provided.

Explanation based on above is known, portable electron device must be first to computer system output interrogating signal, just and then can after the feedback signal that obtains computer system, judge the interface specification of computer system, therefore the judgement time of traditional judgment mode is longer, and carried out in order to make traditional judgment mode, the integrated circuit that the setting of portable electron device domestic demand is more complicated and wiring, also increased manufacturing cost.

Summary of the invention

Fundamental purpose of the present invention is providing a kind of USB interface pick-up unit with universal serial bus cable line, to judge fast the interface specification of a device of being pegged graft by universal serial bus cable line.

In a preferred embodiment, the invention provides a kind of USB (universal serial bus) (USB) interface pick-up unit, comprising:

One USB (universal serial bus) (USB) cable, comprising:

One first electrical plug, in order to be plugged in one first electrical slot of a first device, and has one first power supply stitch (VBUS pin) and USB3.0 ground source stitch (GND_DRAIN pin); And

One second electrical plug, in order to be plugged in one second electrical slot of one second device, and there is a second source stitch (VBUS pin) and an identification stitch (ID pin), and this second source stitch and this identification stitch source stitch that is connected to this first power supply stitch and this USB3.0; And

One detecting unit, be arranged at this second device, when being used to this first electrical plug and this second electrical plug and being plugged in respectively this first electrical slot and this second electrical slot, detect a magnitude of voltage of this second source stitch and a magnitude of voltage of this identification stitch and judge the interface specification of this first electrical slot, or detect this second source stitch and this identification stitch between a voltage difference and judge the interface specification of this first electrical slot.

In a preferred embodiment, the present invention also provides a kind of USB (universal serial bus) (USB) interface detection method, is used to a first device and is connected in for one second when device, detects the interface specification of one first electrical slot of this first device, comprising:

(a) provide a USB (universal serial bus) (USB) cable, this universal serial bus cable line comprises one first electrical plug and one second electrical plug, and this first electrical plug has one first power supply stitch (VBUS pin) and USB3.0 ground source stitch (GND_DRAIN pin), and this second electrical plug has a second source stitch (VBUS pin) and an identification stitch (ID pin), wherein, this the first power supply stitch is connected in this second source stitch, and this source, USB3.0 ground stitch is connected in this identification stitch; And

(b) in this first electrical plug, peg graft this first electrical slot of this first device and this second electrical plug while being plugged in one second electrical slot of this second electrical plug, detect a magnitude of voltage of this second source stitch and a magnitude of voltage of this identification stitch and judge the interface specification of this first electrical slot, or detect this second source stitch and this identification stitch between a voltage difference and judge the interface specification of this first electrical slot.

In a preferred embodiment, the present invention also provides a kind of USB (universal serial bus) (USB) cable, comprising:

One first electrical plug, in order to be plugged in one first electrical slot of a first device, and has one first power supply stitch (VBUS pin) and USB3.0 ground source stitch (GND_DRAIN pin); And

One second electrical plug, in order to be plugged in one second electrical slot of one second device, and has a second source stitch (VBUS pin) and an identification stitch (ID pin);

Wherein, this first power supply stitch is connected in this second source stitch, and this source, USB3.0 ground stitch is connected in this identification stitch.

Accompanying drawing explanation

Fig. 1 is that USB (universal serial bus) of the present invention (USB) cable is in the structural representation of a preferred embodiment.

Fig. 2 is the structural representation of the first electrical plug of universal serial bus cable line shown in Fig. 1.

Fig. 3 is the structural representation of the second electrical plug of universal serial bus cable line shown in Fig. 1.

Fig. 4 is the first embodiment schematic diagram of USB interface of the present invention (USB) pick-up unit.

Fig. 5 is the second embodiment schematic diagram of USB interface pick-up unit of the present invention.

Fig. 6 is the 3rd embodiment schematic diagram of USB interface pick-up unit of the present invention.

Fig. 7 is the schematic flow sheet of USB (universal serial bus) of the present invention (USB) interface detection method.

Wherein, description of reference numerals is as follows:

1 universal serial bus cable line 2 USB interface pick-up units

3 detecting unit 4 first devices

5 second device 6 first devices

The electrical plug of 7 first device 11 first

The electrical slot of 12 second electrical plug 41 first

The electrical slot of 51 second electrical slot 61 first

71 first electrical slot 111 first power supply stitch

Source, 112USB3.0 ground stitch 121 second source stitch

122 identification stitch 411 first power supply pins

511 second source pin positions, pin position, source, 412USB3.0 ground

512 identification pin position 611 first power supply pins

711 first pin position, source, power supply pin 712USB3.0 ground

713 resistance

Embodiment

Refer to Fig. 1~Fig. 3, Fig. 1 is that USB (universal serial bus) of the present invention (USB) cable is in the structural representation of a preferred embodiment, Fig. 2 is the structural representation of the first electrical plug of universal serial bus cable line shown in Fig. 1, and Fig. 3 is the structural representation of the second electrical plug of universal serial bus cable line shown in Fig. 1.

Universal serial bus cable line 1 comprises the first electrical plug 11 and the second electrical plug 12, and the first electrical plug 11 has one first power supply stitch (VBUS pin), 111 and one USB 3.0 source, ground stitch (GND_DRAIN pin) 112, and the second electrical plug 12 has a second source stitch (VBUS pin) 121 and one identification stitch (ID pin) 122; Wherein, the first power supply stitch 111 is connected in second source stitch 121, and source, USB3.0 ground stitch 112 is connected in identification stitch 122.

In this preferred embodiment, the first electrical plug 11 for the interface specification of USB (universal serial bus) be the electrical plug of A type USB3.0 interface, and the second electrical plug 12 for the interface specification of USB (universal serial bus) be the electrical plug of Type B Micro USB2.0 interface, but not as limit.In addition, generally speaking, source, USB3.0 ground stitch 112 is positioned at the 7th stitch or the 8th stitch of the first electrical plug, and identification stitch 122 is positioned at the 4th stitch of the second electrical plug 12, but not as limit.

The first electrical plug 11 also can be other electrical plugs with the first power supply stitch 111 and source, USB3.0 ground stitch 112, if the interface specification of USB (universal serial bus) is that the electrical plug of Type B USB3.0 interface, the interface specification of USB (universal serial bus) are that the electrical plug of A type Micro USB3.0 interface, the interface specification of USB (universal serial bus) are that the electrical plug of AB type Micro USB3.0 interface or the interface specification of USB (universal serial bus) are the electrical plug of Type B Micro USB3.0 interface; In general, source, USB3.0 ground stitch 112 is positioned at the 7th stitch or the 8th stitch of electrical plug.

And the second electrical plug 12 also can be the electrical plug that other have second source stitch 121 and identification stitch 122, if the interface specification of USB (universal serial bus) is the electrical plug of A type Micro USB2.0 interface, the interface specification of USB (universal serial bus) is the electrical plug of AB type Micro USB2.0 interface, the interface specification of USB (universal serial bus) is the electrical plug of A type Mini USB2.0 interface, the interface specification of USB (universal serial bus) is the electrical plug of Type B Mini USB2.0 interface, the interface specification of USB (universal serial bus) is the electrical plug of AB type Mini USB2.0 interface, the interface specification of USB (universal serial bus) is the electrical plug of A type Micro USB3.0 interface, the interface specification of USB (universal serial bus) is the electrical plug of AB type Micro USB3.0 interface, or the interface specification of USB (universal serial bus) is the electrical plug of Type B Micro USB3.0 interface.

Next this case USB interface (USB) pick-up unit is described, the interface specification of the device that it can be pegged graft by universal serial bus cable line in order to quick judgement, by take interface specification that Fig. 4~Fig. 6 describes respectively this device of being pegged graft when universal serial bus cable line in detail, be three kinds of embodiments of USB3.0 interface, USB2.0 interface and USB power supply supply patchplug interface below, the judgement principle of this case USB interface pick-up unit is described by this.

Refer to Fig. 4, it is for the first embodiment schematic diagram of USB interface of the present invention (USB) pick-up unit.USB interface pick-up unit 2 comprises the universal serial bus cable line 1 shown in detecting unit 3 and Fig. 1, and the first electrical plug 11 of universal serial bus cable line 1 is in order to be plugged in the first electrical slot 41 of first device 4, and the second electrical plug 12 of universal serial bus cable line 1 is in order to be plugged in the second electrical slot 51 of the second device 5; In the present embodiment, first device 4 is for supplying to give the device of electric current, as there is the computer system of USB3.0 device port, and the device of the second device 5 for being powered, as storage device (side hard disk), image processor (scanner, camera) or apparatus for storing electrical energy etc.

Moreover, the first electrical slot 41 has the first power supply pin 411 and the pin position, source 412, USB3.0 ground in order to be connected with source, USB3.0 ground stitch 112 in order to be connected with the first power supply stitch 111, and the personage who knows this skill is all known, the interface specification with the electrical slot 41 of the first power supply pin 411 and pin position, source 412, USB3.0 ground can be A type USB3.0 interface, Type B USB3.0 interface, A type Micro USB3.0 interface, Type B Micro USB3.0 interface or AB type Micro USB3.0 interface, but not as limit.In addition, generally speaking, pin position, source 412, USB3.0 ground is positioned at the 7th pin position or the 8th pin position of the first electrical plug, but not as limit.

Secondly, the second electrical slot 51 has second source pin position 511 and the identification pin position 512 in order to be connected with identification stitch 122 in order to be connected with second source stitch 121, and those skilled in the art are all known, the interface specification with the electrical slot 51 of second source pin position 511 and identification pin position 512 can be A type Micro USB2.0 interface, Type B Micro USB2.0 interface, AB type Micro USB2.0 interface, A type Mini USB2.0 interface, Type B Mini USB2.0 interface, AB type Mini USB2.0 interface, A type Micro USB3.0 interface, Type B Micro USB3.0 interface, or AB type Micro USB3.0 interface, but not as limit.In addition, generally speaking, identification pin position 512 is positioned at the 4th pin position of the first electrical plug, but not as limit.

Again, detecting unit 3 is arranged in the second device 5, and when the first electrical plug 11 is plugged in the first electrical slot 41 and the second electrical plug 12 and is plugged in the second electrical slot 51, detecting unit 3 can be by detecting

The magnitude of voltage of second source stitch 121 judges the interface specification of the first electrical slot 41 with the magnitude of voltage of identification stitch 122, or by the voltage difference between detection second source stitch 121 and identification stitch 122, judges the interface specification of the first electrical slot 41; Wherein, detecting unit 3 can be and is electrically connected at second source pin position 511 and micro-control unit (MCU) or the circuit combination of identifying pin position 512, but not as limit.

In detail, when the first electrical plug 11 of universal serial bus cable line 1 and the second electrical plug 12 are plugged in respectively the first electrical slot 41 and the second electrical slot 51, the first power supply pin 411, the first power supply stitch 111, second source stitch 121 and second source pin position 511 have identical voltage level, and pin position, source 412, USB3.0 ground, source, USB3.0 ground stitch 112, identification stitch 122 and identification pin position 512 have identical voltage level; And because the magnitude of voltage of the magnitude of voltage of the first power supply pin 411 and pin position, source 412, USB3.0 ground is respectively 5V and 0V, therefore second source stitch 121 is also respectively 5V and 0V with the magnitude of voltage of identification stitch 122, and the voltage difference between second source pin position 511 and identification pin position 512 is 5V (that is the second source stitch 121 of the second electrical plug 12 is 5V with the voltage difference of identification stitch 122).

Be with, if detecting unit 3 detects the second source stitch 121 of the second electrical plug 12 and the voltage difference of identification stitch 122 while being 5V, or the magnitude of voltage that power supply stitch 121 detected is the magnitude of voltage of 5V and identification stitch 122 while being 0V, the interface specification that judges the first electrical slot 41 is USB3.0 interface.

Refer to Fig. 5, it is for the second embodiment schematic diagram of USB interface pick-up unit of the present invention.USB interface pick-up unit 2 comprises the universal serial bus cable line 1 shown in detecting unit 3 and Fig. 1, and the first electrical plug 11 of universal serial bus cable line 1 is in order to be plugged in the first electrical slot 61 of first device 6, and the second electrical plug 12 of universal serial bus cable line 1 is in order to be plugged in the second electrical slot 51 of the second device 5; Wherein, the USB interface pick-up unit 2 in this enforcement schematic diagram, second device the 5 and second electrical slot 51 are same as person described in the first embodiment, therefore do not repeated at this.

In the present embodiment, first device 6 is also for supplying to give the device of electric current, as there is the computer system of USB2.0 device port, and the first electrical slot 61 only has the first power supply pin 611 in order to be connected with the first power supply stitch 111, and do not there is the pin position, source, USB3.0 ground in order to be connected with source, USB3.0 ground stitch 112; Wherein, those skilled in the art all known, the interface specification that only has the first power supply pin 611 and do not have an electrical slot 61 of pin position, source, USB3.0 ground can be A type USB2.0 interface, Type B USB2.0 interface, A type Micro USB2.0 interface, Type B Micro USB2.0 interface, AB type Micro USB2.0 interface, A type Mini USB2.0 interface, Type B Mini USB2.0 interface or AB type Mini USB2.0 interface, but not as limit.

Again, when the first electrical plug 11 of universal serial bus cable line 1 and the second electrical plug 12 are plugged in respectively the first electrical slot 61 and the second electrical slot 51, the first power supply pin 611, the first power supply stitch 111, second source stitch 121 and second source pin position 511 have identical voltage level, and source, USB3.0 ground stitch 112, identification stitch 122 and identification pin position 512 have identical voltage level; Wherein, source, USB3.0 ground stitch 112 is to be sky to connect state, but it is because being electrically connected to the detecting unit 3 of the second device 5 by universal serial bus cable line 1, therefore the magnitude of voltage of source, USB3.0 ground stitch 112, identification stitch 122 and identification pin position 512 is all 5V, magnitude of voltage due to the first power supply pin 611 is 5V again, therefore the voltage difference between second source pin position 511 and identification pin position 512 is 0V (that is the second source stitch 121 of the second electrical plug 12 is 0V with the voltage difference of identification stitch 122).

Be with, if detecting unit 3 detects the second source stitch 121 of the second electrical plug 12 and the voltage difference of identification stitch 122 while being 0V, or the magnitude of voltage of power supply stitch 121 and the magnitude of voltage of identification stitch 122 being detected while being all 5V, the interface specification that judges the first electrical slot 61 is USB2.0 interface.

Refer to Fig. 6, it is for the 3rd embodiment schematic diagram of USB interface pick-up unit of the present invention.USB interface pick-up unit 2 comprises the universal serial bus cable line 1 shown in detecting unit 3 and Fig. 1, and the first electrical plug 11 of universal serial bus cable line 1 is in order to be plugged in the first electrical slot 71 of first device 7, and the second electrical plug 12 of universal serial bus cable line 1 is in order to be plugged in the second electrical slot 51 of the second device 5; Wherein, the USB interface pick-up unit 2 in this enforcement schematic diagram, second device the 5 and second electrical slot 51 are same as person described in the first embodiment, therefore do not repeated at this.

In the present embodiment, first device 7 is a USB special charging port (DCP, Dedicated Charging Port), if the first device 7 of can pegging graft is in the USB of commercial power socket power supply supply patchplug (USB special charger), and the interface specification that is arranged at the electrical slot 71 of first on first device 7 is USB power supply supply patchplug interface, and there is the first power supply pin 711 and the pin position, source 712, USB3.0 ground in order to be connected with source, USB3.0 ground stitch 112 in order to be connected with the first power supply stitch 111; Wherein, in first device 7, be provided with the circuit combination that is connected with pin position, source 712, USB3.0 ground and includes resistance 713, and detecting unit 3 is for including the circuit combination of resistance 31, the magnitude of voltage that makes pin position, source 712, USB3.0 ground is determined according to the resistance value of resistance 713 and the resistance value of resistance 31.

Again, when the first electrical plug 11 of universal serial bus cable line 1 and the second electrical plug 12 are plugged in respectively the first electrical slot 71 and the second electrical slot 51, the first power supply pin 711, the first power supply stitch 111, second source stitch 121 and second source pin position 511 have identical voltage level, and pin position, source 712, USB3.0 ground, source, USB3.0 ground stitch 112, identification stitch 122 and identification pin position 512 have identical voltage level;

And because the magnitude of voltage of the first power supply pin 711 is 5V, and the magnitude of voltage of pin position, source 712, USB3.0 ground determine according to the resistance value of resistance 713 and the resistance value of resistance 31, therefore the voltage difference between second source pin position 511 and identification pin position 512 is for corresponding to a predeterminated voltage value (that is the second source stitch 121 of the second electrical plug 12 and the voltage difference of identifying stitch 122 be this predeterminated voltage value) of the resistance value of resistance 713 and the resistance value of resistance 31; In this preferred embodiment, the resistance value of the resistance value of resistance 713 and resistance 31 is all 10K, therefore predeterminated voltage value (partial pressure value) is 2.5V, but not as limit, those skilled in the art can carry out according to practical application request the change design of any equalization, as the resistance value of resistance 31 keeps fixing, and only change the resistance value of resistance 713 and adjust predeterminated voltage value.

Be with, if detecting unit 3 detects the second source stitch 121 of the second electrical plug 12 and the voltage difference of identification stitch 122 while being predeterminated voltage value, the interface specification that judges the first electrical slot 71 is USB power supply supply patchplug interface, that is judgement the first electrical slot 71 is the electrical slots that are arranged on USB power supply supply patchplug.

Comprehensive above explanation, refers to Fig. 7, and it is the schematic flow sheet of USB (universal serial bus) of the present invention (USB) interface detection method.First perform step S1, the first electrical plug 11 of universal serial bus cable line 1 is plugged in to the first electrical slot of first device, and the second electrical plug 12 of universal serial bus cable line 1 is plugged in to the second electrical slot 51 of the second device 5.

Perform step again S2, confirm whether first device is connected in the second device 5 really; Embodiment is that the magnitude of voltage that detects the second source pin position 511 of the second electrical slot 51 with detecting unit 3 confirms whether first device is connected really with the second device 5.

In detail, if detecting unit 3 detects the magnitude of voltage of the second source pin position 511 of the second electrical slot 51 while being 5V (that is the magnitude of voltage that the second source stitch 121 of the second electrical plug 12 detected is 5V), confirm that first device has been connected in the second device 5, contrary, if detecting unit 3 detects the magnitude of voltage of the second source pin position 511 of the second electrical slot 51 while being 0V (that is the magnitude of voltage that the second source stitch 121 of the second electrical plug 12 detected is 0V), first device is not connected with the second device 5, now re-executes step S1.

Then perform step S3, with detecting unit 3, detect the magnitude of voltage of second source stitch 121 of the second electrical plugs 12 and the magnitude of voltage of identification stitch 122 and judge the interface specification of the first electrical slot, or the second source stitch 121 of detection the second electrical plug 12 and identify the voltage difference between stitch 122 and judge the interface specification of the first electrical slot.

Say in detail, when if the second source stitch of the second electrical plug 12 121 is 5V with the voltage difference of identifying stitch 122, or the magnitude of voltage of power supply stitch 121 is that magnitude of voltage that 5V identifies stitch 122 is while being 0V, the interface specification that judges the first electrical slot is USB3.0 interface, and it is as shown in step S3-1; When if the second source stitch of the second electrical plug 12 121 is 0V with the voltage difference of identifying stitch 122, or the magnitude of voltage of the magnitude of voltage of power supply stitch 121 and identification stitch 122 is while being all 5V, the interface specification that judges the first electrical slot is USB2.0 interface, and it is as shown in step S3-2; And if the voltage difference of the second source stitch 121 of the second electrical plug 12 and identification stitch 122 is while being predeterminated voltage value, or the voltage difference of the second source stitch 121 of the second electrical plug 12 and identification stitch 122 is non-while being 5V and 0V, the interface specification of judgement the first electrical slot is USB power supply supply patchplug interface, and it is as shown in step S3-3.

What specify is, when detecting unit 3 judges that the interface specification of the first electrical slot of first devices is USB3.0 interface, while being A type USB3.0 interface, Type B USB3.0 interface, A type Micro USB3.0 interface, Type B Micro USB3.0 interface or AB type Micro USB3.0 interface as the interface specification of first of first device the electrical slot, predeterminable first device provides the electric current of 900 milliamperes (mA); And when detecting unit 3 judges that the interface specification of the first electrical slot of first devices is USB2.0 interface, while being A type USB2.0 interface, Type B USB2.0 interface, A type Micro USB2.0 interface, Type B Micro USB2.0 interface, AB type Micro USB2.0 interface, A type Mini USB2.0 interface, Type B Mini USB2.0 interface or AB type Mini USB2.0 interface as the interface specification of first of first device the electrical slot, predeterminable first device provides the electric current of 500 milliamperes (mA); And when detecting unit 3 judges that the interface specification of the first electrical slot of first devices is USB power supply supply patchplug interface, predeterminable first device provides corresponding predetermined current, that is to say, the size of electric current is determined according to the resistance value of resistance 713.

In addition, universal serial bus cable line 1 of the present invention also can provide extra tandem signal transfer function, as any one in sound source signal, tandem digital signal, pulse width modulation (PWM) signal all can be transmitted between first device and the second device via pin position, source, USB3.0 ground, source, USB3.0 ground stitch, identification stitch and identification pin position, certainly, in this simultaneously, universal serial bus cable line 1 still can be possessed the transfer function of USB2.0.

Explanation based on above is known, because this case universal serial bus cable line 1 is connected in source, the USB3.0 ground stitch 112 of the first electrical plug 11 the identification stitch 122 of the second electrical plug 12, and corresponding detecting unit 3 is set in the second device 5, therefore in the second device 5, can directly judge the interface specification of first device 4, compared to existing judgment mode, this case judgement time is comparatively quick, and in enforcement, need in the second device 5, complicated integrated circuit and wiring be set, therefore this case manufacturing cost is also cheaper.

The foregoing is only preferred embodiment of the present invention, not in order to limit the claim scope of applying for a patent of the present invention, therefore all other do not depart from the equivalence completing under disclosed spirit and changes or modify, and all should be contained in the applying for a patent within the scope of claim of this case.

Claims (20)

1. a USB interface pick-up unit, comprising:
One universal serial bus cable line, comprising:
One first electrical plug, in order to be plugged in one first electrical slot of a first device, and has one first power supply stitch and source, USB3.0 ground stitch; And
One second electrical plug, in order to be plugged in one second electrical slot of one second device, and has a second source stitch and an identification stitch, and this second source stitch and this identification stitch
Be connected to this first power supply stitch and source, this USB3.0 ground stitch; And
One detecting unit, be arranged at this second device, when being used to this first electrical plug and this second electrical plug and being plugged in respectively this first electrical slot and this second electrical slot, detect a magnitude of voltage of this second source stitch and a magnitude of voltage of this identification stitch and judge the interface specification of this first electrical slot, or detect the voltage difference between this second source stitch and this identification stitch and judge the interface specification of this first electrical slot.
2. USB interface pick-up unit as claimed in claim 1, wherein the USB interface of this first electrical plug is A type USB3.0 interface, Type B USB3.0 interface, A type Micro USB3.0 interface, Type B Micro USB3.0 interface or AB type Micro USB3.0 interface.
3. USB interface pick-up unit as claimed in claim 1, wherein the USB interface of this second electrical plug is Type B Micro USB2.0 interface, A type Micro USB2.0 interface, AB type Micro USB2.0 interface, A type Mini USB2.0 interface, Type B Mini USB2.0 interface, AB type Mini USB2.0 interface, A type Micro USB3.0 interface, Type B Micro USB3.0 interface or AB type Micro USB3.0 interface.
4. USB interface pick-up unit as claimed in claim 1, wherein between this first device and this second device, at least one in a sound source signal, a string column of figure signal and a pulse width modulation signal of transmission identified stitch transmission via this USB3.0 ground source stitch with this.
5. USB interface pick-up unit as claimed in claim 1, wherein this first device provides electric current to give this second device.
6. USB interface pick-up unit as claimed in claim 1, wherein this first device is a USB power supply supply patchplug, and comprise a resistance, wherein this first device provides an electric current to give this second device, and the size of this electric current is to determine according to the resistance value of this resistance.
7. USB interface pick-up unit as claimed in claim 1, wherein work as this first electrical plug and this second electrical plug and be plugged in respectively this first electrical slot and this second electrical slot, and when this detecting unit detects this voltage difference between this second source stitch and this identification stitch and is 5V, or this detecting unit this magnitude of voltage of detecting this second source stitch is this magnitude of voltage of 5V and this identification stitch while being 0V, the interface specification of this first electrical slot is a USB3.0 interface.
8. USB interface pick-up unit as claimed in claim 7, wherein this USB3.0 interface is A type USB3.0 interface, Type B USB3.0 interface, A type Micro USB3.0 interface, Type B Micro USB3.0 interface or AB type Micro USB3.0 interface.
9. USB interface pick-up unit as claimed in claim 1, wherein work as this first electrical plug and this second electrical plug and be plugged in respectively this first electrical slot and this second electrical slot, and this detecting unit detect this second source stitch and this identification stitch between this voltage difference while being 0V, or this detecting unit this magnitude of voltage of detecting this second source stitch is this magnitude of voltage of 5V and this identification stitch while being 5V, the interface specification of this first electrical slot is a USB2.0 interface.
10. USB interface pick-up unit as claimed in claim 9, wherein this USB2.0 interface is A type USB2.0 interface, Type B USB2.0 interface, A type Micro USB2.0 interface, Type B Micro USB2.0 interface, AB type Micro USB2.0 interface, A type Mini USB2.0 interface, Type B Mini USB2.0 interface or AB type Mini USB2.0 interface.
11. USB interface pick-up units as claimed in claim 1, wherein work as this first electrical plug and this second electrical plug and be plugged in respectively this first electrical slot and this second electrical slot, and this detecting unit detect this second source stitch and this identification stitch between this voltage difference while being a predeterminated voltage value, the interface specification of this first electrical slot is a USB power supply supply patchplug interface.
12. 1 kinds of USB interface detection methods, are used to a first device and were connected in for one second when device, detect the interface specification of one first electrical slot of this first device, comprising:
(a) provide a universal serial bus cable line, this universal serial bus cable line comprises one first electrical plug and one second electrical plug, and this first electrical plug has one first power supply stitch and source, USB3.0 ground stitch, and this second electrical plug has a second source stitch and an identification stitch, wherein, this the first power supply stitch is connected in this second source stitch, and this source, USB3.0 ground stitch is connected in this identification stitch; And
(b) in this first electrical plug, peg graft this first electrical slot of this first device and this second electrical plug while being plugged in one second electrical slot of this second electrical plug, detect a magnitude of voltage of this second source stitch and a magnitude of voltage of this identification stitch and judge the interface specification of this first electrical slot, or detect this second source stitch and this identification stitch between a voltage difference and judge the interface specification of this first electrical slot.
13. USB interface detection methods as claimed in claim 12, wherein in step (b), when this voltage difference of detection is 5V, or this magnitude of voltage that detects this second source stitch is this magnitude of voltage of 5V and this identification stitch while being 0V, the interface specification of this first electrical slot is a USB3.0 interface; And when detecting this voltage difference and be 0V, or detecting unit this magnitude of voltage of detecting this second source stitch is this magnitude of voltage of 5V and this identification stitch while being 5V, the interface specification that judges this first electrical slot is a USB2.0 interface; And when this voltage difference of detection is a predeterminated voltage value, the interface specification of this first electrical slot is a USB power supply supply patchplug interface.
14. USB interface detection methods as claimed in claim 13, wherein this USB3.0 interface is A type USB3.0 interface, Type B USB3.0 interface, A type Micro USB3.0 interface, Type B Micro USB3.0 interface or AB type Micro USB3.0 interface, and this USB2.0 interface is A type USB2.0 interface, Type B USB2.0 interface, A type Micro USB2.0 interface, Type B Micro USB2.0 interface, AB type Micro USB2.0 interface, A type Mini USB2.0 interface, Type B Mini USB2.0 interface or AB type Mini USB2.0 interface.
15. USB interface detection methods as claimed in claim 13, wherein also comprise in this step (b) is front:
Detect this first device and whether be connected in this second device, wherein, when a magnitude of voltage of this second source stitch is 5V, this first electrical plug and this second electrical plug are plugged in respectively this first electrical slot and this second electrical slot.
16. USB interface detection methods as claimed in claim 12, wherein the USB interface of this first electrical plug is A type USB3.0 interface, Type B USB3.0 interface, A type Micro USB3.0 interface, Type B Micro USB3.0 interface or AB type Micro USB3.0 interface.
17. USB interface detection methods as claimed in claim 12, wherein the USB interface of this second electrical plug is an A type Micro USB2.0 interface, Type B Micro USB2.0 interface, AB type Micro USB2.0 interface, A type Mini USB2.0 interface, Type B Mini USB2.0 interface, AB type Mini USB2.0 interface, A type Micro USB3.0 interface, Type B Micro USB3.0 interface or AB type Micro USB3.0 interface.
18. 1 kinds of universal serial bus cable lines, comprising:
One first electrical plug, in order to be plugged in one first electrical slot of a first device, and has one first power supply stitch and source, USB3.0 ground stitch; And
One second electrical plug, in order to be plugged in one second electrical slot of one second device, and has a second source stitch and an identification stitch;
Wherein, this first power supply stitch is connected in this second source stitch, and this source, USB3.0 ground stitch is connected in this identification stitch.
19. universal serial bus cable lines as claimed in claim 18, wherein the USB interface of this first electrical plug is A type USB3.0 interface, Type B USB3.0 interface, A type Micro USB3.0 interface Type B Micro USB3.0 interface or AB type Micro USB3.0 interface.
20. universal serial bus cable lines as claimed in claim 18, wherein the USB interface of this second electrical plug is an A type Micro USB2.0 interface, Type B Micro USB2.0 interface, AB type Micro USB2.0 interface, A type Mini USB2.0 interface, Type B Mini USB2.0 interface, AB type Mini USB2.0 interface, A type Micro USB3.0 interface, Type B Micro USB3.0 interface or AB type Micro USB3.0 interface.
CN201310201476.7A 2013-05-27 2013-05-27 Interface detection apparatus of universal serial bus CN104181409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310201476.7A CN104181409A (en) 2013-05-27 2013-05-27 Interface detection apparatus of universal serial bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310201476.7A CN104181409A (en) 2013-05-27 2013-05-27 Interface detection apparatus of universal serial bus

Publications (1)

Publication Number Publication Date
CN104181409A true CN104181409A (en) 2014-12-03

Family

ID=51962623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310201476.7A CN104181409A (en) 2013-05-27 2013-05-27 Interface detection apparatus of universal serial bus

Country Status (1)

Country Link
CN (1) CN104181409A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030074176A1 (en) * 1998-07-08 2003-04-17 Hanson Mark T. Method and apparatus for detecting the type of interface to which a peripheral device is connected
CN2816925Y (en) * 2005-03-22 2006-09-13 赖嘉德实业有限公司 General bus detecting module
CN1952668A (en) * 2005-10-20 2007-04-25 鸿富锦精密工业(深圳)有限公司 Voltage detector of universal serial bus interface
US20100070659A1 (en) * 2008-09-17 2010-03-18 Kenneth Ma Method and system for operating and/or charging a battery powered usb device based on a usb port type
TW201120648A (en) * 2009-12-07 2011-06-16 Matsushita Electric Tw Co Ltd edicated USB cable.
CN102207899A (en) * 2010-03-31 2011-10-05 英业达股份有限公司 Device for testing universal serial bus port
US20120271979A1 (en) * 2011-04-21 2012-10-25 Texas Instruments Incorporated Systems and methods for enabling communication between an accessory charger adapter (aca) and an aca-agnostic universal serial bus controller

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030074176A1 (en) * 1998-07-08 2003-04-17 Hanson Mark T. Method and apparatus for detecting the type of interface to which a peripheral device is connected
CN2816925Y (en) * 2005-03-22 2006-09-13 赖嘉德实业有限公司 General bus detecting module
CN1952668A (en) * 2005-10-20 2007-04-25 鸿富锦精密工业(深圳)有限公司 Voltage detector of universal serial bus interface
US20100070659A1 (en) * 2008-09-17 2010-03-18 Kenneth Ma Method and system for operating and/or charging a battery powered usb device based on a usb port type
TW201120648A (en) * 2009-12-07 2011-06-16 Matsushita Electric Tw Co Ltd edicated USB cable.
CN102207899A (en) * 2010-03-31 2011-10-05 英业达股份有限公司 Device for testing universal serial bus port
US20120271979A1 (en) * 2011-04-21 2012-10-25 Texas Instruments Incorporated Systems and methods for enabling communication between an accessory charger adapter (aca) and an aca-agnostic universal serial bus controller

Similar Documents

Publication Publication Date Title
US9129065B2 (en) USB device and control method thereof
US9128691B2 (en) Method and terminal for selecting internal circuit according to USB interface status
CN203387203U (en) Charging switching system possessing USB on-the-go (OTG) function
CN103208850B (en) The USB charging system of charge-variable voltage, charger and intelligent terminal
JP5981043B2 (en) High voltage dedicated charging port
US8653789B2 (en) Method and apparatus for recharging batteries in a more efficient manner
KR101699839B1 (en) Detection of cable connections for electronic devices
US8694809B2 (en) Dedicated power supply apparatus, terminal, power supply system, and power supply method
CN105182154B (en) A kind of USB detection circuit and method
RU2587159C2 (en) Mobile terminal and interface connection method therefor
CN102880238B (en) Interface expanding method and device for tablet personal computer
TWI541659B (en) Method and system for determining an arbitrary charging protocol in usb charging ports
CN102684270B (en) Method for identifying type of universal serial bus (USB) chargers and USB device
US8756358B2 (en) Method and device for identifying universal serial bus (USB) insertion or charger insertion of mobile terminal
CN106291210B (en) USB interface detector, USB interface detection method, USB connector and electronic equipment
US8225114B2 (en) Power supply device, portable electronic apparatus and related method for determining types of a power supply device
CN101894085B (en) Information processing apparatus
CN101232196B (en) Control circuit of charging mode in USB charging stand and method thereof
CN101320080B (en) Apparatuses and methods for detecting power source
KR101504104B1 (en) System and method for providing power through a reverse local data transfer connection
CN102439816B (en) Hand held device, usb charger, and method for hand held device to identify usb charger
US20160336779A1 (en) Charging Method, Alternating Current Adaptor, Charging Management Device and Terminal
CN104103868B (en) Charging method and system for charger of mobile terminal
CN102957193B (en) A kind of charging management method, device and system
KR101978192B1 (en) Charger detection with proprietary charger support

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141203