CN204256725U - A kind of pick-up unit - Google Patents
- ️Wed Apr 08 2015
CN204256725U - A kind of pick-up unit - Google Patents
A kind of pick-up unit Download PDFInfo
-
Publication number
- CN204256725U CN204256725U CN201420579343.3U CN201420579343U CN204256725U CN 204256725 U CN204256725 U CN 204256725U CN 201420579343 U CN201420579343 U CN 201420579343U CN 204256725 U CN204256725 U CN 204256725U Authority
- CN
- China Prior art keywords
- pick
- voltage
- unit
- pins
- usb device Prior art date
- 2014-09-30 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.)
- Expired - Fee Related
Links
Landscapes
- Tests Of Electronic Circuits (AREA)
Abstract
The utility model discloses a kind of pick-up unit, for detecting the OTG function of the USB device including identified pins and power pins, it comprises control port and detection port, control port is coupled to identified pins, export drop-down current potential, with by drop-down for the voltage of identified pins, detection port is coupled to power pins, is detected the voltage of power pins after drop-down at the voltage of identified pins.By the way, the utility model can detect the OTG function of USB interface automatically, improves detection efficiency.
Description
Technical field
The utility model relates to electronic technology field, particularly relates to a kind of pick-up unit.
Background technology
Along with the development of electronic technology and the requirement of consumer to electronic product more and more higher, USB-OTG (USB-On-The-Go) becomes one of indispensable function of electronic product.USB-OTG technology is exactly when not having main equipment, realizes from the data transmission between equipment.Such as, the data such as the photo on mobile phone, file can be sent on the portable hard drive of USB interface by OTG, in addition as the external device such as keyboard or mouse, can be advantageously connected on mobile phone or panel computer by OTG function and carry out input operation, greatly facilitate each exchanges data between equipment and interactive operation.
OTG function in order to ensure electronic product is normal, and the electronic product with USB-OTG function usually needs to carry out OTG Function detection before dispatching from the factory, and whether can carry out data transmission as main equipment and other from equipment using detected electrons product.Whether tested electronic product is normally connected from equipment such as USB flash disk, mouse etc. with other by OTG connecting line by the detection method of prior art, then normal to confirm the OTG function of tested electronic product by manual operation.But, in aforesaid way, be not only the OTG function that tested electronic product is manually observed in dependence, also need to operate accordingly after artificial wiring, whether such as rolling mouse can normally use to observe mouse, and for example need data to be sent to USB flash disk and whether observed data transmission is normal from tested electronic product, to judge that whether OTG function is normal, cause detection efficiency greatly to reduce thus.
Utility model content
The technical matters that the utility model mainly solves is to provide a kind of pick-up unit, automatically can detect the OTG function of USB interface, improves detection efficiency.
For solving the problems of the technologies described above, the technical scheme that the utility model adopts is: provide a kind of pick-up unit, for detecting the OTG function of the USB device including identified pins and power pins, comprise: control port, be coupled to described identified pins, export drop-down current potential, by drop-down for the voltage of described identified pins; Detection port, is coupled to described power pins, at the voltage of described identified pins by after drop-down, detects the voltage of described power pins.
Wherein, more comprising: judgment means, when judging that the voltage detected by described detection port is in given area, judging that the OTG function of described USB device is normal.
Wherein, more comprise: USB line, be connected with a computing machine, from described downloaded data.
Wherein, testing result is transferred to described computing machine by described pick-up unit.
Wherein, described pick-up unit comprises pull down resistor, voltage collection circuit and first processor unit, one end of described pull down resistor is connected with described detection port, the other end of described pull down resistor is connected with the input end of described voltage collection circuit, the output terminal of described voltage collection circuit is connected with the input end of described first processor unit, and the output terminal of described first processor unit is connected with described control port.
Wherein, described voltage collection circuit comprises analog to digital converter, and the voltage transitions for described detection port being detected is digital signal.
Wherein, described pick-up unit comprises direct-current power supply converting circuit and the second processor unit, and described direct-current power supply converting circuit is coupled between described detection port and described second processor unit.
Wherein, described pick-up unit is a mancarried device, more comprises indicating member, is coupled to described judgment means, according to judged result, exports indicator signal.
Wherein, described indicator signal is voice signal or pilot lamp signal.
The beneficial effects of the utility model are: the situation being different from prior art, pick-up unit of the present utility model, for detecting the OTG function of the USB device including identified pins and power pins, it comprises control port and detection port, control port is coupled to identified pins, export drop-down current potential, with by drop-down for the voltage of identified pins, detection port is coupled to power pins, the voltage of power pins is detected after drop-down at the voltage of identified pins, thus by the pick-up unit of the application, only control port and detection port need be coupled with identified pins and voltage pin respectively, can judge that USB device is to OTG function according to the voltage of voltage pin by the voltage detecting power pins, and do not need manual operation peripheral hardware to confirm, greatly can improve detection efficiency.
Accompanying drawing explanation
Fig. 1 is the structural representation of the utility model pick-up unit one embodiment;
Fig. 2 is the structural representation of another embodiment of the utility model pick-up unit;
Fig. 3 is the structural representation of the another embodiment of the utility model pick-up unit;
Fig. 4 is the structural representation of the another embodiment of the utility model pick-up unit.
Embodiment
Below in conjunction with drawings and embodiments, the utility model is described in detail.
Namely USB device refers to the electronic product with USB interface, and USB interface has five pins usually, comprises two data pin D+/D-, power pins (VBUS), an identified pins (IDDIG) and a grounding pin.The OTG function of USB device can realize the data transmission when not having main frame between equipment and equipment, the USB device namely with OTG function can carry out data transmission as main equipment and other from equipment, also can carry out data transmission as from equipment and other main equipments, and OTG function of the present utility model mainly refers to that USB device carries out the function of data transmission as main equipment and other from equipment.USB transposition still from equipment, then depends on the identified pins of USB interface as main equipment.When identified pins ground connection (i.e. the low level) of USB interface, USB device is main equipment; When the identified pins of USB interface unsettled (i.e. high level), USB device is from equipment.
In addition, when USB device is main equipment, USB device outwards provides VBUS power supply by power pins.Therefore, whether the utility model, from OTG principle, exports VBUS voltage to judge that whether OTG function is normal by the USB interface detecting USB device.
Consult Fig. 1, the pick-up unit 1 of present embodiment, mainly for detection of the OTG function of USB device 2 including identified pins 21 and power pins 22.Identified pins 21 and power pins 22 are respectively identified pins and the power pins of USB interface.Pick-up unit 1 can be mancarried device, comprises control port 11 and detection port 12.Wherein, when detecting the OTG function of USB device 2, control port 11 is coupled to the identified pins 21 of USB device, to export drop-down current potential to identified pins 21, thus by drop-down for the voltage of identified pins 21; And detection port 12 is coupled to power pins 22, with the voltage at identified pins 21 by the drop-down voltage detecting power pins 22 later.
The pick-up unit 1 of present embodiment by by drop-down for the voltage of identified pins 21 be electronegative potential, main equipment is set to make USB device 2, namely the OTG function simulating USB device 2 can be started, now, if the OTG function of USB device 2 is normal, then the power pins 22 of USB device 2 can export the voltage of given area.Therefore, the utility model detects the output voltage of the power pins 22 of USB device 2 by detection port 12, can judge that whether the OTG function of USB device 2 is normal by the voltage detected by detection port 12.
By the pick-up unit 1 of present embodiment, when detecting USB device 2, only control port 11 need be connected to drag down identified pins 21 (in one embodiment with the identified pins 21 of USB device 2, control port 11 directly can be connected with ground voltage GND), and detection port 12 is connected with the power pins 22 of USB device 2 output voltage detecting power pins 22, the OTG function of USB device 2 can be judged thus according to detected voltage, and then realize the OTG Function detection of USB device 2.Present embodiment does not need, manually to judging that from operate whether OTG function is normal, greatly to improve the detection efficiency of product.In addition, with prior art by after artificial manual operation, and then observe tested USB device with transmitting from the data between equipment and whether normally judge OTG function whether compared with normal mode, present embodiment is from the principle of OTG function, the voltage that whether can export given area by detecting USB interface judges that whether its OTG function is normal, is conducive to the accuracy improving testing result.
Further, the pick-up unit 1 of present embodiment also comprises judgment means 13, and judgment means 13 is connected with detection port 12.Detection port 12 by after drop-down, namely detects the voltage that power pins 22 exports at the voltage of identified pins 21.Judgment means 13 is for judging voltage detected by detection port 12 whether within given area.When judgment means 13 judges that voltage detected by detection port 12 is in given area, namely judge that the OTG function of USB device 2 is normal.Identified pins 21 by drop-down time, USB device 2 is converted to main equipment, the voltage that its power pins 22 outwards exports is generally about 5V, the voltage of therefore set given area can be such as 4.75 ~ 5.25V, namely when judgment means 13 judges scope at 4.75 ~ 5.25V of voltage that detection port 12 detects, then judgment means 13 tentatively judges that the OTG function of USB device 2 is normal, and namely USB device is normal with the function of carrying out data transmission from equipment as main equipment.When judgment means 13 judges scope not at 4.75 ~ 5.25V of voltage that detection port 12 detects, then judge the OTG dysfunction of USB device 2.
In addition, for the ease of intuitively arriving testing result, pick-up unit 1 more comprises indicating member 14, is coupled to judgment means 13, in order to export a corresponding indicator signal according to the judged result of judgment means 13.Wherein, this indicator signal can be pilot lamp signal.For example, when judgment means 13 judges that the OTG function of USB device 2 is normal, namely, when judgment means 13 judges that voltage detected by detection port 12 is in given area, indicating member 14 exports green indicating lamp signal, in order to indicate the OTG function of USB device 2 normal; When judgment means 13 judges the OTG dysfunction of USB device 2, when namely judgment means 13 judges that voltage detected by detection port 12 is not in given area, indicating member 14 output red pilot lamp signal, to indicate the OTG dysfunction of USB device 2.Therefore, when detecting USB device 2, after by detection port 12 and control port 11 and the correct line of USB device 2, the luminous situation only need watching indicating member 14 can judge that whether OTG function is normal, and do not need manually to remove mobile USB device 2 or input some test datas to USB device 2, so greatly can improve detection efficiency, and testing result is very directly perceived.
Certainly, in other embodiments, can also be directly arrange a display module, in order to intuitively to show the voltage detected by detection port 12, by the voltage that display module shows, testing staff directly judges that whether OTG function is normal thus.
In another embodiment of the utility model pick-up unit, indicating member 14 can also be voice indicating member, for the judged result according to judgment means 13, output sound signal, such as when the OTG function of USB device 2 is judged as normal, the voice signal such as " normally ", " passing through ", " OK " can be exported, when the OTG function of USB device 2 is judged as abnormal, the voice signal such as " abnormal ", " makeing mistakes " can be exported.Certainly, indicating member 14 can also be display screen, for showing the judged result of judgment means 13.
In another embodiment of the utility model pick-up unit, judgment means 13 can be omitted, but only use a pilot lamp to realize the judgement of OTG function.Wherein, the operating voltage of this pilot lamp is the voltage of given area, and pilot lamp is connected with detection port 12, thus pilot lamp is connected with power pins 22.Therefore, when the output voltage of power pins 22 is given area, the voltage supply pilot lamp that it exports, pilot lamp work is luminous, when the voltage of power pins 22 is not at given area, its voltage exported does not reach the operating voltage of pilot lamp, and pilot lamp does not work.Judge that whether the OTG function of USB device 2 is normal by whether viewing pilot lamp is luminous thus, pilot lamp is luminous, and illustrate that OTG function is normal, pilot lamp is not luminous, and OTG dysfunction is described.
Consult Fig. 2, in another embodiment of pick-up unit of the present utility model, pick-up unit 1 also comprises pull down resistor 15, voltage collection circuit 16 and first processor unit 17.Wherein, one end of pull down resistor 15 connects detection port 12, thus be connected with power pins 22, the other end of pull down resistor 15 connects the input end of voltage collection circuit 16, the output terminal of voltage collection circuit 16 is connected with the input end of first processor unit 17, and the output terminal of first processor unit 17 is connected with control port 11.In testing process, first processor unit 17 to control port 11 output low level, thus passes through control port 11 by low level output to identified pins 21, and then is dragged down by the current potential of identified pins 21, thus improves detection efficiency further.Wherein, when identified pins 21 is dragged down, first processor unit 17 is also for receiving the voltage that power pins 22 exports, be specially, voltage collection circuit 16 comprises analog to digital converter, for being digital signal by the voltage transitions detected by detection port 12, and by obtained digital data transmission to first processor unit 17, digital signal stores by first processor unit 17.Whether now, judgment means 13 can be connected with first processor unit 17, for the voltage that reading processing unit 17 stores, and judges the voltage that reads whether within given area, normal to judge the OTG function of USB device 2.
In present embodiment, automatically can complete test process by first processor unit 17.Pick-up unit 1 is provided with power switch, and when power switch is opened, pick-up unit 1 is started working.Power switch one is opened, first processor unit 17 i.e. output low level is in control port 11, thus control port 11 is connected with identified pins 21, after detection port 12 is connected with power pins 22, control port 11 gets final product output low level to identified pins 21, with by drop-down for the voltage of identified pins 21, and at the voltage of identified pins 21 by after drop-down, namely detection port 12 detects the voltage of power pins 22, thus the voltage detected by detection port 12 can judge that whether the OTG function of USB device 2 is normal.
Consult Fig. 3, in the another embodiment of the utility model pick-up unit, can also by computing machine to first processor unit 17 input command to carry out the OTG functional test of USB device 2.Particularly, in the present embodiment, one end that pick-up unit 1 also comprises USB line 18, USB line 18 connects the first processing unit 17, and the other end is connected with computing machine, for from downloaded data or program.In the process of OTG function detecting USB device 2, tester by computing machine to first processor unit 17 input test order, after first processor unit 17 receives test command, output low level is in control port 11, to pass through control port 11 pairs of identified pins 21 input low levels, and then drag down the voltage of identified pins 21.The identified pins 21 of USB device 2 is dragged down, and now USB device 2 is main equipment, and its power pins 22 is output voltage outwards.Detection port 12 detects the voltage of power pins 22, thus the voltage detected by detection port 12 can judge that whether the OTG function of USB device 2 is normal.
Wherein, the judged result of judgment means 13 can also be uploaded in computing machine and carry out recording and/or showing by first processor unit 17.
Consult Fig. 4, in the another embodiment of the utility model pick-up unit, the element wherein except introducing before, also introduces direct-current power supply converting circuit 19, for changing voltage; Second processor circuit (sign), for the treatment of order; Indicating member 14, for exporting instruction result according to judged result.In a particular embodiment, judgment means 13, indicating member 14, pull down resistor 15, voltage collection circuit 16, direct-current power supply converting circuit 19 and first processor unit 17 and the second processor unit all can be integrated in same pick-up unit.Wherein, first processor unit 17 and the second processor unit can be integrated as a whole, are namely integrated into the processor unit 111 shown in Fig. 4.
When detecting USB device 2, computing machine 18 sends test command to processor unit 111, after processor unit 111 receives test command, to control port 11 output low level, to drag down the voltage of identified pins 21, now USB device 2 is main equipment, and the data pin D+ of USB device 2, D-and grounding pin GND and computing machine disconnect, and its power pins 22 is output voltage outwards.Detection port 12 detects the output voltage of power pins 22, and processor unit 111 receives the output voltage of power pins 22 and buffer memory by pull down resistor 15 and voltage collection circuit 16.The voltage of judgment means 13 reading processor unit 111 buffer memorys, and compare judgement with the voltage of given area.When judgment means 13 judges that voltage that power pins 22 exports is within given area, be then judged as that the OTG function of USB device 2 is normal, namely USB device 2 can normally as main equipment and carry out data transmission from equipment; When judgment means 13 judges that voltage that power pins 22 exports is not within given area, be then judged as the OTG dysfunction of USB device 2.Further, indicating member 14 is pilot lamp, pilot lamp signal is sent in order to the judgement structure according to judgment means 13, the i.e. then green light when being judged as that the OTG function of USB device 2 is normal, otherwise then glow, by the luminous situation of observing indicating member 14, tester can know that whether the OTG function of USB device 2 is normal thus.
By the pick-up unit of present embodiment, the OTG functional test to USB device 2 can be realized, also the test of the data-transformation facility to USB device can be realized, in actual testing process, only control port 11 and detection port 12 need be connected with corresponding pin and can realize testing, simple to operation, be conducive to improving Detection results, and testing result intuitively shows.
The foregoing is only embodiment of the present utility model; not thereby the scope of the claims of the present utility model is limited; every utilize the utility model instructions and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present utility model.
Claims (9)
1. a pick-up unit, for detecting the OTG function of the USB device including identified pins and power pins, is characterized in that, comprise:
Control port, is coupled to described identified pins, exports drop-down current potential, by drop-down for the voltage of described identified pins; And
Detection port, is coupled to described power pins, at the voltage of described identified pins by after drop-down, detects the voltage of described power pins.
2. pick-up unit according to claim 1, is characterized in that, more comprises:
Judgment means, when judging that the voltage detected by described detection port is in given area, judges that the OTG function of described USB device is normal.
3. pick-up unit according to claim 2, is characterized in that, more comprises:
USB line, is connected with a computing machine, from described downloaded data.
4. pick-up unit according to claim 3, is characterized in that, testing result is transferred to described computing machine by described pick-up unit.
5. pick-up unit according to claim 2, it is characterized in that, described pick-up unit comprises pull down resistor, voltage collection circuit and first processor unit, one end of described pull down resistor is connected with described detection port, the other end of described pull down resistor is connected with the input end of described voltage collection circuit, the output terminal of described voltage collection circuit is connected with the input end of described first processor unit, and the output terminal of described first processor unit is connected with described control port.
6. pick-up unit according to claim 4, is characterized in that, described voltage collection circuit comprises analog to digital converter, and the voltage transitions for described detection port being detected is digital signal.
7. pick-up unit according to claim 2, is characterized in that, described pick-up unit comprises direct-current power supply converting circuit and the second processor unit, and described direct-current power supply converting circuit is coupled between described detection port and described second processor unit.
8. pick-up unit according to claim 2, is characterized in that, described pick-up unit is mancarried device, more comprises indicating member, is coupled to described judgment means, according to judged result, exports indicator signal.
9. pick-up unit according to claim 8, is characterized in that, described indicator signal is voice signal or pilot lamp signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420579343.3U CN204256725U (en) | 2014-09-30 | 2014-09-30 | A kind of pick-up unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420579343.3U CN204256725U (en) | 2014-09-30 | 2014-09-30 | A kind of pick-up unit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN204256725U true CN204256725U (en) | 2015-04-08 |
Family
ID=52961011
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201420579343.3U Expired - Fee Related CN204256725U (en) | 2014-09-30 | 2014-09-30 | A kind of pick-up unit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN204256725U (en) |
Cited By (3)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105182154A (en) * | 2015-08-25 | 2015-12-23 | 广东欧珀移动通信有限公司 | Universal serial bus interface detection circuit and method |
CN109298266A (en) * | 2018-10-29 | 2019-02-01 | Oppo广东移动通信有限公司 | Test system, test method, test apparatus, and storage medium |
CN113820583A (en) * | 2020-06-19 | 2021-12-21 | 北京君正集成电路股份有限公司 | USB OTG test method |
-
2014
- 2014-09-30 CN CN201420579343.3U patent/CN204256725U/en not_active Expired - Fee Related
Cited By (6)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105182154A (en) * | 2015-08-25 | 2015-12-23 | 广东欧珀移动通信有限公司 | Universal serial bus interface detection circuit and method |
CN105182154B (en) * | 2015-08-25 | 2017-11-17 | 广东欧珀移动通信有限公司 | A kind of USB detection circuit and method |
CN109298266A (en) * | 2018-10-29 | 2019-02-01 | Oppo广东移动通信有限公司 | Test system, test method, test apparatus, and storage medium |
CN109298266B (en) * | 2018-10-29 | 2021-06-29 | Oppo广东移动通信有限公司 | Test system, test method, test device and storage medium |
CN113820583A (en) * | 2020-06-19 | 2021-12-21 | 北京君正集成电路股份有限公司 | USB OTG test method |
CN113820583B (en) * | 2020-06-19 | 2024-02-27 | 北京君正集成电路股份有限公司 | USB OTG test method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8335944B2 (en) | 2012-12-18 | Automatic testing apparatus |
CN103885868B (en) | 2015-08-26 | The test macro of simulation USB hot plug process and device |
CN201628763U (en) | 2010-11-10 | Power supply conversion efficiency test system |
CN103744769A (en) | 2014-04-23 | Rapid error positioning method of power supply of server based on complex programmable logic device (CPLD) |
CN204256725U (en) | 2015-04-08 | A kind of pick-up unit |
CN104836877B (en) | 2017-09-15 | A kind of method for debugging detection mobile phone |
CN205049678U (en) | 2016-02-24 | Short circuit testing arrangement is opened to camera module |
CN206863160U (en) | 2018-01-09 | A kind of multi-thread detector |
CN205540248U (en) | 2016-08-31 | Detection apparatus for vehicle control unit |
CN202815143U (en) | 2013-03-20 | Short/open-circuit testing circuit for flexible circuit board touch screen IC channel |
CN107422214B (en) | 2019-08-02 | A kind of testing device for touch screens |
CN104198871B (en) | 2017-02-15 | Electronic device tester and testing method thereof |
CN203773022U (en) | 2014-08-13 | Universal optical coupler chip testing apparatus |
CN206060730U (en) | 2017-03-29 | A kind of A/D change-over circuits with self-checking function |
CN207488442U (en) | 2018-06-12 | A kind of POS machine mainboard automatic test circuit |
CN206804823U (en) | 2017-12-26 | One kind is based on TCL scripts to multichannel FPGA test board host computers |
CN105548717A (en) | 2016-05-04 | Electrical parameter testing device based on virtual instrument technology |
CN205880090U (en) | 2017-01-11 | Alternating -current charging stake field inspection device |
CN103543972A (en) | 2014-01-29 | KVM switcher indicating device and KVM switching system |
CN103926846B (en) | 2016-06-22 | The system that aircraft ammunition simulation generates with fault |
CN202710695U (en) | 2013-01-30 | Cable detector |
CN203433507U (en) | 2014-02-12 | A fault detection device for a computer mainboard |
CN201945657U (en) | 2011-08-24 | Train cabling detection device |
CN202421398U (en) | 2012-09-05 | Cable tester based on FPGA (field programmable gate array)/ Nios II technology |
CN104678349A (en) | 2015-06-03 | Interface detection device for electric energy meter and system of interface detection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2015-04-08 | C14 | Grant of patent or utility model | |
2015-04-08 | GR01 | Patent grant | |
2020-09-18 | CF01 | Termination of patent right due to non-payment of annual fee | |
2020-09-18 | CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150408 Termination date: 20190930 |