CN102544919B - Cable - Google Patents

Cable Download PDF

Info

Publication number
CN102544919B
CN102544919B CN201010599214.7A CN201010599214A CN102544919B CN 102544919 B CN102544919 B CN 102544919B CN 201010599214 A CN201010599214 A CN 201010599214A CN 102544919 B CN102544919 B CN 102544919B
Authority
CN
China
Prior art keywords
pin
plug
vbus
trigger
cable
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.)
Expired - Fee Related
Application number
CN201010599214.7A
Other languages
Chinese (zh)
Other versions
CN102544919A (en
Inventor
许世法
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunda Computer Technology Kunshan Co Ltd
Original Assignee
Kunda Computer Technology Kunshan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kunda Computer Technology Kunshan Co Ltd filed Critical Kunda Computer Technology Kunshan Co Ltd
Priority to CN201010599214.7A priority Critical patent/CN102544919B/en
Publication of CN102544919A publication Critical patent/CN102544919A/en
Application granted granted Critical
Publication of CN102544919B publication Critical patent/CN102544919B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

The invention provides a cable, which comprises a first plug, a second plug and an automatic switch module, wherein the first plug comprises a first voltage bus (VBUS) pin, a first D+ pin, a first D- pin, a first ground (GND) pin and a first ID pin; the second plug comprises a second VBUS pin, a second D+ pin, a second D- pin, a second GND pin and a second ID pin; the second VBUS pin, the second D+ pin, the second D- pin and the second GND pin are connected with the first VBUS pin, the first D+ pin, the first D- pin and the first GND pin respectively; and the automatic switch module is connected with the first ID pin and the second ID pin and automatically controls the first ID pin or the second ID pin to be grounded. Due to the automatic switch module arranged between the first plug and the second plug, the first ID pin or the second ID pin is automatically controlled to be grounded, and is prevented from being repeatedly inserted/extracted by a user during connection.

Description

Cable with a protective layer
[ technical field ] A method for producing a semiconductor device
The invention relates to a cable, in particular to a cable which can prevent a user from repeatedly plugging and unplugging during connection.
[ background of the invention ]
USB OTG is an abbreviation of USB On-The-Go, a technology developed in recent years, published by USB Implementers Forum at 12/18/2001, and mainly applied to connection between various devices or mobile devices for data exchange. In particular PDAs, mobile phones, consumer devices. The inconvenience of data exchange between 7-system memory cards, such as connectors of different systems between devices such as digital cameras, video cameras and printers, is changed. The development of USB technology has enabled PCs and peripheral devices to connect various devices together in a simple manner and at moderate manufacturing cost, and all of the applications mentioned above can be data exchanged via a USB bus as a peripheral of the PC under the control of the PC. However, this convenient switching method cannot operate between devices using USB ports once leaving the PC, because none of the devices can act as P C-like Host. On-The-Go, i.e. OTG technology, realizes data transfer between devices without Host. For example, a digital camera is directly connected to a printer, and is connected with USB ports of two devices through an OTG technology to immediately print out shot photos; the data in the digital camera can also be sent to a mobile hard disk of a USB interface through OTG, and the field operation does not need to carry an expensive memory card or carry a portable computer.
The USB OTG standard adds a power management (power consumption saving) function on the basis of being completely compatible with the USB2.0 standard, and allows the device to operate as a host or a peripheral (dual-purpose OTG). The OTG dual-purpose equipment completely conforms to the USB2.0 standard, can provide certain host detection capability and supports a host signaling protocol (HNP) and a Session Request Protocol (SRP). In OTG, the initial host device is called an a device and the peripheral device is called a B device. The initial role can be determined by the connection mode of the cable, and the novel mini-AB socket is used by the dual-purpose equipment, so that a fifth pin (ID) is added to the mini-A plug, the mini-B plug and the mini-AB socket for identifying different cable endpoints. The ID pin in the mini-A plug is grounded, and the ID pin in the mini-B plug is floating. When the OTG device detects the grounded ID pin, it indicates that the default is the a device (host), and the device that detects the floating ID pin is considered as the B device (peripheral). The role of the OTG can also be changed once the system is connected. The host and the peripheral adopt a new HNP, the A device serves as a default host and provides a VBUS power supply in a half mode, and the bus is reset, enumerated and configured with the B device when the connection of the B device is detected. The second new protocol that the OTG standard adds to USB is called Session Request Protocol (SRP). SRP allows a B device to request that a device turn VBUS power on and initiate a session. An OTG session may be determined by the time that the a device supplies VBUS power (note: the a device always supplies VBUS even as a peripheral). A flash session can also be ended by the a device turning off the VBUS power to save power consumption, which is very important in battery powered products. For example, when two cellular phones exchange information with each other through a connection, one connection is at the mini-a side of the electricity charge, is an a device, and defaults to a host. The other is a B device and is a peripheral by default. When USB communication is not required, the a device may turn off the VBUS line, and the B device detects this state and enters a low power consumption mode.
However, if the A device can only act as a host and the B device can only act as a peripheral, the mini-A plug is connected to the A device and the mini-B plug is connected to the B device. If the ID pin in the mini-A plug is grounded, the ID pin in the mini-B plug is floated, and the equipment A and the equipment B can normally work. And if the ID pin in the mini-A plug is floating, the ID pin in the mini-B plug is grounded, the equipment A and the equipment B cannot work normally, and the mini-A plug is connected with the equipment B, and the mini-B plug is connected with the equipment A to enable the equipment A and the equipment B to work normally only if a user needs to repeatedly insert and pull the equipment A.
[ summary of the invention ]
The invention mainly aims to provide a cable which prevents a user from repeatedly plugging and unplugging during connection.
The invention provides a cable, which comprises a first plug, a second plug and an automatic switch module, wherein the first plug comprises a first VBUS pin, a first D + pin, a first D-pin, a first GND pin and a first ID pin; the second plug comprises a second VBUS pin, a second D + pin, a second D-pin, a second GND pin and a second ID pin, wherein the second VBUS pin, the second D + pin, the second D-pin and the second GND pin are respectively connected with the first VBUS pin, the first D + pin, the first D-pin and the first GND pin; the automatic switch module is connected with the first ID pin and the second ID pin and automatically controls the first ID pin or the second ID pin to be grounded.
In particular, the first plug is a mini-A plug.
In particular, the second plug is a mini-A plug.
In particular, the first plug is a mini-B plug.
In particular, the second plug is a mini-B plug.
In particular, the automatic switching module comprises:
the first switch branch comprises a first input control end, a first output end and a first grounding end, wherein the first grounding end is grounded, and the first output end is electrically connected with the first ID pin;
the second switch branch comprises a second input control end, a second output end and a second grounding end, wherein the second grounding end is grounded, and the second output end is electrically connected with the second ID pin;
the trigger module comprises a trigger input end and a trigger output end, the trigger input end is electrically connected with the first VBUS pin, and when the trigger input end has no signal, the trigger output end outputs a high-low alternative signal until the first plug and the second plug are in normal communication; after normal communication, the first VBUS pin generates a signal and maintains the trigger output terminal in a state of conduction instant.
In particular, the trigger module comprises an LM555 chip.
Compared with the prior art, the automatic switch module is additionally arranged between the first plug and the second plug, and the first ID pin or the second ID pin is automatically controlled to be grounded through the automatic switch module, so that a user is prevented from repeatedly plugging and unplugging during connection.
[ description of the drawings ]
Fig. 1 is a schematic structural view of the cable of the present invention.
Fig. 2 is a circuit diagram of a trigger module in the cable of the present invention.
[ detailed description ] embodiments
Referring to fig. 1 and 2, the present invention provides a cable, in particular a USB OTG cable, including a first plug 10, a second plug 20 and an automatic switch module 30, in this embodiment, the first plug 10 and the second plug 20 may be a mini-a plug or a mini-B plug. The first plug 10 comprises a first VBUS pin 11, a first D + pin 12, a first D-pin 13, a first GND pin 14 and a first ID pin 15; the second plug 20 comprises a second VBUS pin 21, a second D + pin 22, a second D-pin 23, a second GND pin 24 and a second ID pin 25, wherein the second VBUS pin 21, the second D + pin 22, the second D-pin 23 and the second GND pin 24 are respectively connected with the first VBUS pin 11, the first D + pin 12, the first D-pin 13 and the first GND pin 14; the automatic switch module 30 is connected to the first ID pin 15 and the second ID pin 25, and automatically controls the first ID pin 15 or the second ID pin 25 to be grounded.
The automatic switch module 30 includes a first switch branch 31, a second switch branch 32 and a trigger module 33, and in this embodiment, the trigger module 33 includes an LM555 chip. The first switch branch 31 has a first input control terminal 311, a first output terminal 312 and a first ground terminal 313, wherein the first ground terminal 313 is grounded, the first output terminal 312 is electrically connected to the first ID pin 15, and the second switch branch 32 has a second input control terminal 321, a second output terminal 322 and a second ground terminal 323, wherein the second ground terminal 323 is grounded, and the second output terminal 322 is electrically connected to the second ID pin 25; the trigger module 33 includes a trigger input 331, a trigger output 332, a switch 333, and a control switch 334, wherein the trigger input 331 is electrically connected to the first VBUS pin 11, when the trigger input 331 has no signal, the switch 333 is located at a first position B0, and at this time, the control switch 334 is turned on, so that the trigger output 332 outputs a high-low alternating signal until the first plug 10 and the second plug 20 normally communicate; for example, when the trigger output terminal 332 outputs a high level signal, Q3 is turned on, Q1 is turned on, and Q2 is turned off, the first output terminal 312 is in a floating state, and the second output terminal 322 is electrically connected to the second ID pin 25 and connects the second ID pin 25 to ground. When the trigger output terminal 332 outputs a low level signal, Q3 is turned off, Q1 is turned off, and Q2 is turned on, the first output terminal 312 is electrically connected to the first ID pin 15, the first ID pin 15 is grounded, and the second ID pin 25 is in a floating state. Assuming that the device connected to the first plug 10 can only serve as a host and the device connected to the second plug 20 can only serve as a peripheral, the first plug 10 and the second plug 20 communicate normally when the trigger output terminal 332 outputs a low-level signal; when the trigger output terminal 332 outputs a high level signal, the first plug 10 and the second plug 20 cannot normally communicate. After normal communication, the first VBUS pin 11 generates a signal, and when the trigger input terminal 331 has a signal, the switch 333 is located at the second position B1, and at this time, the control switch 334 is turned off, and the trigger output terminal 332 is maintained at the on-transient state.
According to the invention, the automatic switch module 30 is additionally arranged between the first plug 10 and the second plug 20, and the first ID pin 15 or the second ID pin 25 is automatically controlled to be grounded through the automatic switch module 30, so that repeated plugging and unplugging of a user during connection are avoided.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A cable, comprising:
the first plug comprises a first VBUS pin, a first D + pin, a first D-pin, a first GND pin and a first ID pin;
the second plug comprises a second VBUS pin, a second D + pin, a second D-pin, a second GND pin and a second ID pin, wherein the second VBUS pin, the second D + pin, the second D-pin and the second GND pin are respectively connected with the first VBUS pin, the first D + pin, the first D-pin and the first GND pin;
the automatic switch module is connected with the first ID pin and the second ID pin and automatically controls the first ID pin or the second ID pin to be grounded; and the automatic switch module includes: the circuit comprises a first switch branch, a second switch branch and a trigger module; wherein,
the first switch branch comprises a first input control end, a first output end and a first grounding end, wherein the first grounding end is grounded, and the first output end is electrically connected with the first ID pin;
the second switch branch comprises a second input control end, a second output end and a second grounding end, wherein the second grounding end is grounded, and the second output end is electrically connected with the second ID pin;
the trigger module comprises a trigger input end and a trigger output end, the trigger input end is electrically connected with the first VBUS pin, and when the trigger input end has no signal, the trigger output end outputs a high-low alternative signal until the first plug and the second plug are in normal communication; after normal communication, the first VBUS pin generates a signal and maintains the trigger output terminal in a state of conduction instant.
2. The cable of claim 1, wherein: the first plug is a mini-A plug.
3. The cable of claim 1, wherein: the second plug is a mini-A plug.
4. The cable of claim 1, wherein: the first plug is a mini-B plug.
5. The cable of claim 1, wherein: the second plug is a mini-B plug.
6. The cable of claim 5, wherein: the trigger module comprises an LM555 chip.
CN201010599214.7A 2010-12-22 2010-12-22 Cable Expired - Fee Related CN102544919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010599214.7A CN102544919B (en) 2010-12-22 2010-12-22 Cable

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010599214.7A CN102544919B (en) 2010-12-22 2010-12-22 Cable

Publications (2)

Publication Number Publication Date
CN102544919A CN102544919A (en) 2012-07-04
CN102544919B true CN102544919B (en) 2015-01-07

Family

ID=46351183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010599214.7A Expired - Fee Related CN102544919B (en) 2010-12-22 2010-12-22 Cable

Country Status (1)

Country Link
CN (1) CN102544919B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981916B (en) * 2012-11-08 2016-03-09 小米科技有限责任公司 A kind of mobile terminal and control method thereof and device
CN104009354B (en) * 2013-02-25 2016-08-17 华为终端有限公司 Usb connector
CN108155531B (en) * 2016-12-05 2020-04-24 南宁富桂精密工业有限公司 Connecting device and data transmission system using same
CN109921481A (en) * 2019-03-04 2019-06-21 中国电子科技集团公司第二十八研究所 To the OTG equipment and method of supplying power to of communication object power supply when USB is communicated

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1892521A (en) * 2005-07-05 2007-01-10 宏达国际电子股份有限公司 Connection seat of portable electronic device
CN101281421A (en) * 2007-12-29 2008-10-08 青岛海信电器股份有限公司 USB interface switching device
CN101308482A (en) * 2008-07-15 2008-11-19 华硕电脑股份有限公司 Electronic device as switch of host and element
CN101752760A (en) * 2008-12-11 2010-06-23 富士康(昆山)电脑接插件有限公司 Multiplex USB cable connector

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100643750B1 (en) * 2004-07-28 2006-11-10 주식회사 레인콤 Apparatus and method for charging battery using USB

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1892521A (en) * 2005-07-05 2007-01-10 宏达国际电子股份有限公司 Connection seat of portable electronic device
CN101281421A (en) * 2007-12-29 2008-10-08 青岛海信电器股份有限公司 USB interface switching device
CN101308482A (en) * 2008-07-15 2008-11-19 华硕电脑股份有限公司 Electronic device as switch of host and element
CN101752760A (en) * 2008-12-11 2010-06-23 富士康(昆山)电脑接插件有限公司 Multiplex USB cable connector

Also Published As

Publication number Publication date
CN102544919A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN101901201B (en) Method and device for realizing USB OTG function on electronic equipment
US20160004287A1 (en) Portable electronic device and power management method thereof
US10614017B1 (en) USB extension device with dual power supply, and dual power supply method
US20130335010A1 (en) Connector and control chip
US20070239924A1 (en) Electronic device transmitting audio-and-video signals with USB connector
US20070075680A1 (en) Charging mode control circuit
CN202134745U (en) Multifunctional USB OTG data line
KR20130122266A (en) System and apparatus and method for performing charging in host mode
US9614381B2 (en) System for performing recharging and data communication
CN105162213A (en) USB controller, and device
CN110247264B (en) Connector and method for controlling charging by using connector
CN102544919B (en) Cable
US20150169491A1 (en) Electronic device using usb socket to load firmware and firmware loading method thereof
TWI554889B (en) Electric system
TW202024938A (en) Usb adapting circuit
CN104953631A (en) Current control method and terminal device
CN105281060A (en) Multifunctional accessory
CN109346883A (en) A kind of system for realizing the positive anti-plug of Type-C interface
CN102394098A (en) USB (Universal Serial Bus) flash disc with function of OTG (On-The-Go) reading
KR20160081676A (en) Travel adapter
KR20150072248A (en) USB OTG memory device
CN214314637U (en) One-to-two quick-charging data line adopting TYPE-C interface input
CN101094464A (en) Device and method for handset to manage files in U disk
CN102544920A (en) Cable
CN111400225B (en) USB switching circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150107

Termination date: 20151222

EXPY Termination of patent right or utility model