CN102044800A - Method and device for detecting access of USB equipment and USB socket thereof - Google Patents
Method and device for detecting access of USB equipment and USB socket thereof Download PDFInfo
- Publication number
- CN102044800A CN102044800A CN 200910110315 CN200910110315A CN102044800A CN 102044800 A CN102044800 A CN 102044800A CN 200910110315 CN200910110315 CN 200910110315 CN 200910110315 A CN200910110315 A CN 200910110315A CN 102044800 A CN102044800 A CN 102044800A
- Authority
- CN
- China
- Prior art keywords
- usb
- detection terminal
- insulating end
- usb socket
- external conductive
- 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
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000001514 detection method Methods 0.000 claims abstract description 75
- 238000005452 bending Methods 0.000 claims description 9
- 238000009413 insulation Methods 0.000 abstract 3
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 210000005069 ears Anatomy 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Images
Landscapes
- Details Of Connecting Devices For Male And Female Coupling (AREA)
Abstract
The invention relates to a method and device for accessing USB equipment and a USB socket thereof. The device comprises a main control unit, a voltage source and the USB socket, wherein the USB socket comprises an insulation terminal base, a connection terminal, a detection terminal and a conductive shell; the connection terminal and the detection terminal are respectively arranged at two sides of the insulation terminal base; the conductive shell is covered outside the insulation terminal base; the detection terminal and the conductive shell separate from each other in a gap with predetermined thickness; and the detection terminal is electrically connected with the main control unit and the voltage source. When the USB equipment is accessed, the conductive shell of the USB plug switches on the detection terminal of the USB socket and the conductive shell of the USB socket to cause the detection terminal to become low level so as to determine that the USB equipment is accessed. In the invention, the USB socket can be used for conveniently detecting whether to access the USB equipment, the device for detecting whether to access the USB equipment has the advantages of simple structure, few used electric element devices and lower cost. In addition, the method for detecting whether the USB equipment accesses or not is in the absence of critical state so that the determination result is correct.
Description
[technical field]
The present invention relates to USB (USB), relate in particular to and detect method, device and the USB socket thereof whether USB device inserts.The present invention can be used for fields such as home entertainment product, vehicle entertainment system.
[background technology]
USB device has been widely applied to fields such as computer, home entertainment product, vehicle entertainment system.Fig. 7 is the schematic diagram of existing a kind of USB plug and USB socket.With reference to figure 7, USB socket 3 ' is connected with host computer system, and USB socket 3 ' comprises insulating end stroma 5, is installed to four splicing ears 4 of insulating end stroma and the external conductive casing 6 that covers on insulating end stroma 5 outsides.USB plug 1 is connected with USB device, and USB plug 1 also has splicing ear, insulating end stroma and external conductive casing 2.When USB plug 1 inserts USB socket 3 ', the external conductive casing 2 of USB plug 1 is inserted in the external conductive casing 6 of USB socket 3 ', and the insulated terminal of USB socket 3 ' extend in the external conductive casing of USB plug 1, and, the splicing ear of USB plug 1 is connected with the splicing ear conduction of USB socket 3 ' with the splicing ear of the insulating end stroma clamping USB socket 3 ' of USB plug 1 and the splicing ear of USB plug 1.
Can be hot-swappable because USB device is, the equipment of plug and play, therefore, whether host computer system must detect USB device in time and insert.At present, to detect a kind of method whether USB device insert be the communication protocol detection method to host computer system.The principle of this method is that host computer system regularly sends communication request to USB socket, and further passes through communication to determine USB device connecting system when receiving the communication response.A shortcoming of this method is, the communication request of this regular transmission can be disturbed other equipment in some application scenarios, and for example, this communication request can be disturbed its radio system in the vehicle entertainment system
The method whether another kind of detection USB device inserts is to judge the DP+ terminal of USB socket and the change in voltage of DP-terminal, its principle is, when USB device inserts, the DP+ terminal of USB socket and DP-terminal will communicate and have certain magnitude of voltage, this magnitude of voltage meeting conducting rectifying tube also provides bias voltage, thereby can detect the variation of voltage.The shortcoming of this method is, this method can only be applicable to USB 1.1 substandard USB device, is not suitable for the USB device of USB 2.0 standards, because the voltage magnitude of the USB device communication data of USB 2.0 is less, this magnitude of voltage can't the conducting rectifying tube.Secondly, because all there is the state of critical conduction in components and parts such as the used rectifying tube of corresponding testing circuit, diode, triode, during this state, can cause host computer system can't judge whether accurately that USB device inserts.
Therefore, need the method whether a kind of simple, safe detection USB device inserts badly.
[summary of the invention]
An object of the present invention is to provide a kind of device whether USB device inserts that detects, described device comprises main control unit, voltage source and USB socket; Described USB socket comprises splicing ear, insulating end stroma, covers on external conductive casing and at least one detection terminal of described insulating end stroma outside, described splicing ear is installed to described insulating end stroma, and described detection terminal is installed to described insulating end stroma and separates the air gap of predetermined thickness with described external conductive casing; Described detection terminal is electrically connected with described main control unit, and described voltage source is electrically connected with described detection terminal.
The present invention also provides a kind of USB socket, the external conductive casing that this USB socket comprises at least one detection terminal, splicing ear, insulating end stroma and covers on described insulating end stroma outside, described splicing ear is installed to described insulating end stroma, and described detection terminal is installed to described insulating end stroma and separates the air gap of predetermined thickness with described external conductive casing.
As a kind of preferred version, described insulating end stroma comprises four side surfaces, and described splicing ear is installed in a side surface of described insulating end stroma, and described detection terminal is installed to adjacent side surface.
As a kind of preferred version, described detection terminal rubber-like bending part, described bending part is protruding in described external conductive casing.
The present invention also provides a kind of method whether USB device inserts that detects.This detection method may further comprise the steps: at least one detection terminal is installed on the insulating end stroma of USB socket, have air gap between the external conductive casing of described detection terminal and described USB socket, the minimum thickness of described air gap is less than the thickness of the external conductive casing of the USB plug of USB device; Described detection terminal is connected to main control unit and voltage source, with the external conductive casing ground connection of described USB socket; Described main control unit detects the voltage of described detection terminal, judges whether to have inserted USB device according to the change in voltage of described detection terminal.
Further improvement of the present invention is: if described detection terminal is a high level, just judges and do not insert USB device; If described detection terminal is a low level, just judges and inserted USB device.
Further improvement of the present invention is: described voltage source is 5 ± 0.5 volts.
The apparatus structure whether detection USB device of the present invention inserts is simple, the electrical component of use seldom, cost is lower.In addition, there is not critical condition in the method whether this detection USB device of the present invention inserts, and result of determination is accurate.Have, because this detection method of the present invention does not need to send communication request, communicate etc. with USB device to USB device, therefore, even the USB support module of host computer system is not worked, whether host computer system also can identify USB device and insert again.This also means, for portable product, can close the USB support module at ordinary times, to save electric energy, the cruising time of improving battery.
[description of drawings]
Fig. 1 shows front end (interface end) part according to a kind of USB socket of the present invention;
Fig. 2 shows the rear end part of USB socket shown in Figure 1;
Fig. 3 and Fig. 4 are the schematic diagrames after USB socket shown in Figure 1 removes shell;
Fig. 5 is the framework schematic diagram that detects the device of USB device access according to the present invention;
Fig. 6 is the electrical schematic diagram of the device of detection USB device access shown in Figure 5;
Fig. 7 is the schematic diagram of prior USB plug, USB socket.
[embodiment]
Below in conjunction with accompanying drawing the present invention is set forth.Fig. 1 is the schematic diagram of the front end (interface end) according to a kind of USB socket of the present invention, and Fig. 2 is the schematic diagram of the rear end of USB socket, and Fig. 3 and Fig. 4 are the schematic diagrames after USB socket removes shell.Referring to figs. 1 to Fig. 4, this USB socket comprises insulating end stroma 5, detection terminal 7, four splicing ears 4 and the external conductive casing 6 that covers on insulating end stroma outside.The front end of insulating end stroma 5 has four side surfaces, and splicing ear 4 is installed to a side surface of insulating end stroma, and detection terminal 7 is installed to an adjacent side surface, and in the present embodiment, these two side surfaces are orthogonal.Splicing ear 4 comprises front end 4a and rear end 4b, and front end 4a and rear end 4b form and be the L shape, and front end 4a is used for being connected with splicing ear in the USB plug, and rear end 4b is used for being connected with host computer system.Detection terminal 7 separates an air gap with external conductive casing 6, and the minimum thickness of this air gap should be less than the thickness of the external conductive casing of USB plug.More specifically, detection terminal 7 comprises front end 7a and rear end 7b, and the air gap thickness between front end 7a and the external conductive casing 6 is less than the thickness of the external conductive casing of USB plug.
As a kind of preferred scheme, as shown in Figure 4, the front end 7a rubber-like bending part 8 of detection terminal 7, bending part 8 is protruding in external conductive casing, therefore, among the front end 7a and the air gap between the external conductive casing 6 of detection terminal, the air gap thickness corresponding with bending part 8 will be minimum.
Fig. 5 is the framework schematic diagram that detects the device whether USB device insert according to the present invention.With reference to figure 5, the device that this detection USB device inserts comprises that main control unit 9, voltage source 10 promptly detect voltage source) and Fig. 1 to USB socket shown in Figure 4.External conductive casing 6 ground connection of USB socket, the rear end 7b of detection terminal is electrically connected with main control unit 9, voltage source 10.When USB device did not insert, detection terminal 7 was high level, and main control unit 9 judges that in view of the above USB device does not insert as yet.
When the USB plug of USB device is linked into USB socket, the external conductive casing 2 of USB plug will be inserted between the external conductive casing 6 and insulating end stroma 5 of USB socket, because the minimum thickness of the air gap between the external conductive casing 6 of detection terminal of USB socket 7 and USB socket is less than the thickness of the external conductive casing 2 of USB plug, therefore, the external conductive casing 2 of USB plug is with the detection terminal 7 and the external conductive casing 6 of conducting USB socket.In this time, therefore detection terminal 7 ground connection become low level.Main control unit 9 judges that in view of the above USB device inserts.
Follow, the user pulls out after the USB device again, and the detection terminal 7 of USB socket will revert to high level.Main control unit 9 judges that in view of the above USB device does not insert.
Fig. 6 is the electrical schematic diagram of the device of detection USB device access shown in Figure 5.With reference to figure 6, when USB device inserts, be equivalent to the switch S closure, at this time detection terminal 7 becomes low level.When USB device does not insert, be equivalent to switch S and open, at this time detection terminal 7 becomes high level.
The apparatus structure whether this detection USB device inserts is simple, the electrical component of use seldom, cost is lower.Because the level of detection terminal 7 has only high level and low level, there is not critical condition, therefore, there is not critical condition in the method whether this detection USB device of the present invention inserts, and result of determination is accurate.In addition, because this detection method of the present invention does not need to send communication request, communicate etc. with USB device to USB device, therefore, even the USB support module of host computer system is not worked, whether host computer system also can identify USB device and insert.This also means, for portable product, can close the USB support module at ordinary times, to save electric energy, the cruising time of improving battery.
In the above-described embodiment, the splicing ear 4 of USB socket and detection terminal 7 are respectively installed to two adjacent side of insulating end stroma 5, but the invention is not restricted to this situation.For example, detection terminal 7 can be installed to and splicing ear 4 opposite side surfaces.In other words, if insulating end stroma 5 comprises four side surfaces, splicing ear 4 is installed in one of them side surface, and so, detection terminal 7 can be installed to three other side surfaces.In addition, the quantity of detection terminal 7 also is not limited to 1.
In addition, preferably, the voltage of voltage source 10 is 5 ± 0.5 volts, and voltage source 10 is electrically connected with detection terminal 7 by serial connection one resistance R.In another embodiment, the voltage of voltage source 10 is 3 ± 0.3 volts.
In sum, above preferred embodiment is used for just that present invention is described, it can not be interpreted as the restriction to claim of the present invention.For the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.
Claims (10)
1. USB socket, the external conductive casing (6) that comprises splicing ear (4), insulating end stroma (5) and cover on described insulating end stroma outside, described splicing ear (4) is installed to described insulating end stroma (5), it is characterized in that, also comprise at least one detection terminal (7), described detection terminal (7) is installed to described insulating end stroma and separates the air gap of predetermined thickness with described external conductive casing.
2. USB socket as claimed in claim 1 is characterized in that, described insulating end stroma comprises four side surfaces, and described splicing ear (4) is installed in a side surface of described insulating end stroma, and described detection terminal (7) is installed to other side surface.
3. USB socket as claimed in claim 2 is characterized in that, the side surface that described detection terminal (7) is installed is basically perpendicular to the side surface that splicing ear (4) are installed.
4. as any described USB socket in the claim 1 to 3, it is characterized in that, described detection terminal (7) rubber-like bending part (8), described bending part is protruding in described external conductive casing.
5. one kind is detected the device that USB device inserts, and it is characterized in that:
Described device comprises main control unit, voltage source and USB socket;
Described USB socket comprises splicing ear, insulating end stroma, covers on external conductive casing and at least one detection terminal of described insulating end stroma outside, described splicing ear and described detection terminal are installed to described insulating end stroma, and described detection terminal and described external conductive casing separate the air gap of predetermined thickness;
Described detection terminal is electrically connected with described main control unit, is electrically connected with described voltage source.
6. the device that detection USB device as claimed in claim 5 inserts is characterized in that described insulating end stroma comprises four side surfaces, and described splicing ear is installed in a side surface of described insulating end stroma, and described detection terminal is installed to adjacent side surface.
7. as the device of claim 5 or 6 described detection USB device accesses, it is characterized in that, described detection terminal rubber-like bending part, described bending part is protruding in described external conductive casing.
8. one kind is detected the method that USB device inserts, and it is characterized in that, may further comprise the steps:
At least one detection terminal is installed on the insulating end stroma of USB socket, had air gap between the external conductive casing of described detection terminal and described USB socket, the minimum thickness of described air gap is less than the thickness of the external conductive casing of the USB plug of USB device;
Described detection terminal is connected to main control unit and voltage source, with the external conductive casing ground connection of described USB socket;
Described main control unit detects the voltage of described detection terminal, judges whether to have inserted USB device according to the change in voltage of described detection terminal.
9. the method that detection USB device as claimed in claim 8 inserts is characterized in that, if described detection terminal is a low level, just judges and has inserted USB device; If described detection terminal is a high level, just judges and do not insert USB device.
10. detect the method that USB device inserts as claimed in claim 8 or 9, it is characterized in that described voltage source is 5 ± 0.5 volts.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910110315 CN102044800A (en) | 2009-10-22 | 2009-10-22 | Method and device for detecting access of USB equipment and USB socket thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910110315 CN102044800A (en) | 2009-10-22 | 2009-10-22 | Method and device for detecting access of USB equipment and USB socket thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102044800A true CN102044800A (en) | 2011-05-04 |
Family
ID=43910707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910110315 Pending CN102044800A (en) | 2009-10-22 | 2009-10-22 | Method and device for detecting access of USB equipment and USB socket thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102044800A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104426003A (en) * | 2013-08-27 | 2015-03-18 | 日本航空电子工业株式会社 | Usb receptacle |
CN108270114A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | A kind of interface protector and mobile terminal |
CN109326929A (en) * | 2018-11-06 | 2019-02-12 | 深圳传音通讯有限公司 | The method and human-computer interaction device of usb connecting port component and its detection |
CN109602337A (en) * | 2017-10-11 | 2019-04-12 | 江苏东成机电工具有限公司 | A kind of sweeping robot |
-
2009
- 2009-10-22 CN CN 200910110315 patent/CN102044800A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104426003A (en) * | 2013-08-27 | 2015-03-18 | 日本航空电子工业株式会社 | Usb receptacle |
CN104426003B (en) * | 2013-08-27 | 2017-04-12 | 日本航空电子工业株式会社 | Usb receptacle |
CN108270114A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | A kind of interface protector and mobile terminal |
CN109602337A (en) * | 2017-10-11 | 2019-04-12 | 江苏东成机电工具有限公司 | A kind of sweeping robot |
CN109602337B (en) * | 2017-10-11 | 2024-04-02 | 江苏东成机电工具有限公司 | Sweeping robot |
CN109326929A (en) * | 2018-11-06 | 2019-02-12 | 深圳传音通讯有限公司 | The method and human-computer interaction device of usb connecting port component and its detection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW594544B (en) | Interface device for automatically determining peripherals and electronic device having such a function | |
US9859742B2 (en) | Charging system | |
EP3142220B1 (en) | Power adapter and terminal | |
EP2863652B1 (en) | Audio interface self-adaptation device | |
US20150171647A1 (en) | Method and apparatus for high current charging of smart terminals | |
CN106654655B (en) | Socket and plug | |
CN104918154B (en) | The method whether earphone socket and test earphone are inserted in place | |
CN201303424Y (en) | Mobile terminal with protector | |
CN102044800A (en) | Method and device for detecting access of USB equipment and USB socket thereof | |
CN101841754A (en) | Terminal and voice-input device selection method | |
CN108054541A (en) | Switching device, more device detection systems and its detection method | |
CN109478174B (en) | Switch for reversible interface | |
CN105245671A (en) | Mobile terminal, detecting device and method for plugging and unplugging of SD (Secure Digital) card thereof | |
CN204856476U (en) | Interface arrangement and connecting device | |
CN107706977B (en) | Method for detecting charging current and charging device | |
CN100397725C (en) | Connecting device capable of detecting plug insertion or plug removal from jack | |
CN207124472U (en) | A kind of charging port detecting system | |
US9647355B1 (en) | Automobile start supply voltage detection alligator clip with pull-off function | |
CN204558739U (en) | A kind of safety socket | |
CN209357955U (en) | Hot plug connector and electronic equipment | |
CN207995131U (en) | A computer network security controller | |
CN203983644U (en) | A kind of network interface transducer that embeds functional module | |
CN114916161A (en) | Electronic device and control method | |
CN206313169U (en) | Socket and plug | |
CN103700444B (en) | A kind of MHL cable, MHL cable hot plug detection system and detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110504 |