CN212463180U - Control circuit of USB equipment and USB OTG connector - Google Patents

Control circuit of USB equipment and USB OTG connector Download PDF

Info

Publication number
CN212463180U
CN212463180U CN202021041705.5U CN202021041705U CN212463180U CN 212463180 U CN212463180 U CN 212463180U CN 202021041705 U CN202021041705 U CN 202021041705U CN 212463180 U CN212463180 U CN 212463180U
Authority
CN
China
Prior art keywords
pin
usb otg
otg connector
usb
control circuit
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.)
Active
Application number
CN202021041705.5U
Other languages
Chinese (zh)
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.)
Shenzhen Longhorn Automotive Electronic Equipment Co Ltd
Original Assignee
Shenzhen Longhorn Automotive Electronic Equipment 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 Shenzhen Longhorn Automotive Electronic Equipment Co Ltd filed Critical Shenzhen Longhorn Automotive Electronic Equipment Co Ltd
Priority to CN202021041705.5U priority Critical patent/CN212463180U/en
Application granted granted Critical
Publication of CN212463180U publication Critical patent/CN212463180U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The embodiment of the utility model provides a control circuit of USB equipment and USB OTG connector, the circuit links to each other with USB OTG connector, including main control chip, first resistance R1, triode Q, diode D and the power VCC of the first predetermined voltage of output, main control chip includes power input pin and the control pin of output second predetermined voltage, wherein: the power input pin is respectively connected to a power connection pin of the USB OTG connector and a collector of the triode Q; the control pin is connected to the anode of the diode D; the power supply VCC is connected to an emitter of the triode Q and is respectively connected to a base of the triode Q, a cathode of the diode D and a level identification pin of the USB OTG connector through a first resistor R1; the first predetermined voltage is greater than the second predetermined voltage. The embodiment effectively realizes power supply and data transmission; the whole control circuit adopts few circuit elements and has a simple structure, and the production cost is effectively reduced.

Description

Control circuit of USB equipment and USB OTG connector
Technical Field
The embodiment of the utility model provides a relate to electric connector technical field, especially relate to a control circuit of USB equipment and USB OTG connector.
Background
The USB OTG (USB On-The-Go) connector is mainly applied to connection among various different devices or mobile devices to realize data exchange. The USB OTG connector is usually installed on a device and then judges the type of an external plug-in device plugged with the USB OTG connector through the high and low levels of a level identification pin (USB _ ID) of the USB OTG connector, when the external plug-in device is a main device such as a computer, the USB _ ID is suspended to be the high level, and the USB OTG connector is used as a slave device and is used for supplying power to the device by the external plug-in device and initializing the device; when the external plug-in device is a slave device such as a USB disk, the USB _ ID pin is at a low level, and the USB OTG connector is used as a master device to supply power from the host device to the external plug-in device and to initialize the external plug-in device.
The control circuit of the existing USB OTG connector generally comprises a main control chip and a current-limiting protection chip which are connected with the USB OTG connector, the main control chip identifies the level of USB _ ID of the USB OTG connector through a first control pin of the main control chip, and then adjusts the level of a second control pin of the main control chip through internal software, thereby controlling the working state of the current-limiting protection chip connected with the second control pin, when the current-limiting protection chip is started, the USB OTG connector supplies power to an external plug-in device, and when the current-limiting protection chip is closed, the external plug-in device supplies power to an internal device of the main control chip. However, the circuit structure needs to adopt two control pins of the current-limiting protection chip and the main control chip, thus occupying the pin resources of the chip, having higher cost, needing the internal software regulation of the main control chip, having lower efficiency and more complex circuit structure.
SUMMERY OF THE UTILITY MODEL
The embodiment of the utility model provides a technical problem that will solve lies in, provides a control circuit of USB OTG connector, simple structure, and the cost is lower.
The embodiment of the utility model provides a further technical problem that will solve lies in, provides a USB equipment, simple structure, and the cost is lower.
In order to solve the technical problem, an embodiment of the utility model provides a following technical scheme: a control circuit of a USB OTG connector connected to the USB OTG connector, the circuit comprising: the main control chip, first resistance R1, triode Q, diode D and the power VCC of the first predetermined voltage of output, the main control chip includes power input pin and the control pin of the second predetermined voltage of output, wherein:
the power input pin is respectively connected to a power connection pin of the USB OTG connector and a collector of the triode Q; the control pin is connected to the anode of the diode D;
the power supply VCC is connected to an emitter of the triode Q and is respectively connected to a base of the triode Q, a cathode of the diode D and a level identification pin of the USB OTG connector through a first resistor R1;
the first predetermined voltage is greater than the second predetermined voltage.
Further, the circuit further comprises a fuse F connected between the power supply VCC and the emitter of the transistor Q.
Further, the fuse F is a self-recovery fuse.
Further, the circuit further comprises a second resistor R2 connected between the base of the transistor Q and the cathode of the diode D.
Furthermore, the circuit also comprises an electromagnetic interference prevention element connected between the collector of the triode Q and the power supply connecting pin.
Furthermore, the electromagnetic interference prevention element is a magnetic bead FB.
Furthermore, the power supply connection pin is further connected to a ground terminal through a first anti-static diode ESD1 and a capacitor C, respectively, and the level identification pin is further connected to the ground terminal through a second anti-static diode ESD 2.
On the other hand, in order to solve the above-mentioned further technical problem, the embodiment of the utility model provides a following technical scheme: a USB device comprises a USB OTG connector and a control circuit connected with the USB OTG connector, wherein the control circuit is the control circuit described in any one of the above items.
Further, the USB OTG connector further includes a first data transmission pin, the main control chip further includes a second data transmission pin, and the first data transmission pin is connected to the second data transmission pin.
Furthermore, the line between the first data transmission pin and the second data transmission pin is also connected to the ground terminal through a third electrostatic prevention diode ESD 3.
After the technical scheme is adopted, the embodiment of the utility model provides an at least, following beneficial effect has: the embodiment of the utility model provides a cooperate through the power VCC that adopts the main control chip, first resistance R1, triode Q, diode D and output first predetermined voltage, when the outside insertion equipment of USB OTG connector is main equipment and slave unit respectively, triode Q corresponds to close and opens, correspond respectively and supply power by outside insertion equipment and self equipment, and simultaneously, diode D corresponds to close and opens, the control pin of main control chip corresponds low level and high level, the main control chip corresponds self initialization and initializes outside insertion equipment, carry out the data interaction, power supply and data transmission have effectively been realized; the whole control circuit adopts few circuit elements and has a simple structure, and the production cost is effectively reduced.
Drawings
Fig. 1 is a schematic circuit diagram of an alternative embodiment of the USB device of the present invention.
Detailed Description
The present application will now be described in further detail with reference to the accompanying drawings and specific examples. It is to be understood that the following illustrative embodiments and description are only intended to illustrate the present invention, and are not intended to limit the present invention, and features in the embodiments and examples may be combined with each other in the present application without conflict.
As shown in fig. 1, an optional embodiment of the present invention provides a control circuit 1 of a USB OTG connector, connected to a USB OTG connector 3, where the circuit 1 includes: the main control chip 10, first resistance R1, triode Q, diode D and the power VCC who outputs first predetermined voltage, the main control chip 10 includes power input pin 101 and the control pin 103 of output second predetermined voltage, wherein:
the power input pin 101 is respectively connected to the power connection pin 30 of the USB OTG connector 3 and the collector of the triode Q;
the control pin 103 is connected to the anode of the diode D;
the power supply VCC is connected to an emitter of the triode Q, and is respectively connected to a base of the triode Q, a cathode of the diode D and the level identification pin 32 of the USB OTG connector 3 through a first resistor R1;
the first predetermined voltage is greater than the second predetermined voltage.
The embodiment of the utility model provides a cooperate through the power VCC that adopts main control chip 10, first resistance R1, triode Q, diode D and output first predetermined voltage, when USB OTG connector 3's outside plug-in devices is main equipment and slave unit respectively, triode Q corresponds to close and opens, correspond respectively and supply power by outside plug-in devices and self equipment, and simultaneously, diode D corresponds to close and opens, control pin 103 of main control chip 10 corresponds to low level and high level, main control chip 10 corresponds self initialization and initialization outside plug-in devices, carry out data interaction, power supply and data transmission have effectively been realized; the whole control circuit 1 has few circuit elements and simple structure, and effectively reduces the production cost.
The embodiment of the utility model provides a concrete theory of operation as follows: when the external plug-in device is a host device such as a computer, according to the USB wiring principle, the external wiring harness is not connected to the level identification pin 32 of the USB OTG connector 3, the level identification pin 32 is suspended, the power connection pin 30 of the USB OTG connector 3 is connected to the power supply of the external plug-in device, so that the level identification pin 32 is at a high level and the voltage value is a first predetermined voltage, meanwhile, since the voltage value of the control pin 103 is a second predetermined voltage, the first predetermined voltage (e.g., 5V) is greater than the second predetermined voltage (e.g., 3.3V), the diode D is turned off, the control pin 103 is at a high level, the control chip 10 performs data interaction with the external plug-in device as the slave device itself initiates, meanwhile, the emitter and the base of the triode Q are both high level, the triode Q is closed and cannot supply power to external plug-in equipment through a power supply VCC, and the external plug-in device is used as power supply for the power input pin 101 of the control chip 10; when the external plug-in device is a slave device such as a U disk, according to the USB wiring principle, the grounding end of an external wire harness is connected with the level identification pin 32 of the USB OTG connector 3, the power supply connection pin 30 of the USB OTG connector 3 is suspended, so that the level identification pin 32 is at a low level, the level of the cathode of the diode D and the level of the base of the triode Q are pulled down, the diode D is turned on, the level of the control pin 103 is pulled down to be at a low level, the control chip 10 serves as a main device to initialize the external plug-in device and interact with the external plug-in device, meanwhile, the emitter and the base of the triode Q are at a high level and a low level respectively, the triode Q is turned on, and the power. In specific implementation, the model of the control chip 10 may be MCIMX6D6AVT10 AD; the USB OTG connector 3 is MNB-0005S-RP; the model of the triode Q is BCW 68; the diode D is a low forward voltage difference diode and is in a model of LRB 521S.
In another optional embodiment of the present invention, the circuit further comprises a fuse F connected between the power source VCC and the emitter of the transistor Q. In this embodiment, the fuse F is further arranged, so that the fuse can be automatically blown out to protect the circuit when the input voltage or current of the power VCC reaches a predetermined threshold.
In an alternative embodiment of the present invention, the fuse F is a self-restoring fuse. The fuse F of the embodiment adopts a self-recovery fuse, and when the input voltage or current of the power supply VCC is reduced to a preset threshold value, the fuse F recovers by itself and is repeatedly used for many times, so that replacement is avoided. In one embodiment, the fuse F may be 1206L035/16 YR.
In yet another alternative embodiment of the present invention, the circuit further includes a second resistor R2 connected between the base of the transistor Q and the cathode of the diode D. The second resistor R2 is further arranged, so that current can be effectively limited for the circuit, and the triode Q can be protected.
In an optional embodiment of the present invention, the circuit further comprises an electromagnetic interference preventing element connected between the collector of the transistor Q and the power connection pin 30. The embodiment also reduces the interference between the power supply VCC and the power supply of the external plug-in equipment and protects the circuit by arranging the electromagnetic interference preventing element.
In another optional embodiment of the present invention, the electromagnetic interference preventing element is a magnetic bead FB. The electromagnetic interference preventing element of the embodiment adopts the magnetic bead FB, so that electromagnetic interference can be effectively prevented. In addition, it can be understood that the electromagnetic interference preventing element can also be an electromagnetic interference preventing photoelectric switch.
In yet another optional embodiment of the present invention, the power connection pin 30 is further connected to the ground terminal through a first anti-static diode ESD1 and a capacitor C, respectively, and the level recognition pin 32 is further connected to the ground terminal through a second anti-static diode ESD 2. In the embodiment, the power connection pin 30 is connected to the ground terminal through the first anti-static diode ESD1 and the capacitor C, and the second anti-static diode ESD2 is connected to the ground terminal, so that the influence on the control pin 103 and the power input pin 101 of the control chip 10 is reduced, the interference of static electricity and the power of an external plug-in device can be effectively filtered, and the circuit stability is improved.
On the other hand, the embodiment of the utility model provides a following technical scheme: a USB device, comprising a USB OTG connector 3 and a control circuit 1 connected to the USB OTG connector 3, wherein the control circuit 1 is the control circuit according to any one of the above embodiments. The embodiment of the utility model provides a USB equipment adopts above-mentioned USB OTG connector 3's control circuit, simple structure, and the cost is lower.
In another optional embodiment of the present invention, the USB OTG connector 3 further includes a first data transmission pin 34, the main control chip 10 further includes a second data transmission pin 105, and the first data transmission pin 34 is connected to the second data transmission pin 105. The embodiment also realizes data interaction between the USB device and the external plug-in device by connecting the first data transmission pin 34 and the second data transmission pin 105. In particular implementation, it is understood that the first data transmission pin 34 may be a D + and a D-pin of the USB OTG connector 3; the second data transmission pins 105 may be DN and DP pins of the main control chip 10.
In another optional embodiment of the present invention, the line between the first data transmission pin 34 and the second data transmission pin 105 is further connected to the ground terminal through a third protection electrostatic diode ESD 3. The third prevention electrostatic diode ESD3 is further arranged in the circuit, so that the influence of static electricity on data interaction is reduced, and the circuit stability is improved.
The embodiments of the present invention have been described with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned embodiments, which are only illustrative and not restrictive, and those skilled in the art can make many forms without departing from the spirit and scope of the present invention, and these forms are within the scope of the present invention.

Claims (10)

1. A control circuit of a USB OTG connector, connected to the USB OTG connector, the circuit comprising: the main control chip, first resistance R1, triode Q, diode D and the power VCC of the first predetermined voltage of output, the main control chip includes power input pin and the control pin of the second predetermined voltage of output, wherein:
the power input pin is respectively connected to a power connection pin of the USB OTG connector and a collector of the triode Q;
the control pin is connected to the anode of the diode D;
the power supply VCC is connected to an emitter of the triode Q and is respectively connected to a base of the triode Q, a cathode of the diode D and a level identification pin of the USB OTG connector through a first resistor R1;
the first predetermined voltage is greater than the second predetermined voltage.
2. The control circuit of a USB OTG connector according to claim 1, wherein the circuit further comprises a fuse F connected between the power supply VCC and the emitter of the transistor Q.
3. The control circuit of a USB OTG connector according to claim 2, wherein the fuse F is a self-restoring fuse.
4. The control circuit of a USB OTG connector according to claim 1, wherein the circuit further comprises a second resistor R2 connected between the base of the transistor Q and the cathode of the diode D.
5. The control circuit of a USB OTG connector as claimed in claim 1, wherein the circuit further comprises an electromagnetic interference preventing element connected between the collector of the transistor Q and the power connection pin.
6. The control circuit of the USB OTG connector of claim 5, wherein the EMI preventing component is a magnetic bead FB.
7. The control circuit of the USB OTG connector of claim 1, wherein the power connection pin is further connected to a ground terminal through a first anti-static diode ESD1 and a capacitor C, respectively, and the level identification pin is further connected to the ground terminal through a second anti-static diode ESD 2.
8. A USB device comprising a USB OTG connector and a control circuit connected to the USB OTG connector, wherein the control circuit is a control circuit according to any one of claims 1 to 7.
9. The USB device of claim 8, wherein the USB OTG connector further comprises a first data transfer pin, the master chip further comprising a second data transfer pin, the first data transfer pin being connected to the second data transfer pin.
10. The USB device according to claim 9, wherein the line between the first data transmission pin and the second data transmission pin is further connected to ground through a third ESD protection diode, ESD 3.
CN202021041705.5U 2020-06-09 2020-06-09 Control circuit of USB equipment and USB OTG connector Active CN212463180U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202021041705.5U CN212463180U (en) 2020-06-09 2020-06-09 Control circuit of USB equipment and USB OTG connector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202021041705.5U CN212463180U (en) 2020-06-09 2020-06-09 Control circuit of USB equipment and USB OTG connector

Publications (1)

Publication Number Publication Date
CN212463180U true CN212463180U (en) 2021-02-02

Family

ID=74492626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202021041705.5U Active CN212463180U (en) 2020-06-09 2020-06-09 Control circuit of USB equipment and USB OTG connector

Country Status (1)

Country Link
CN (1) CN212463180U (en)

Similar Documents

Publication Publication Date Title
CN112154400B (en) USB-C power architecture supporting active cable and DFP/UFP/DRP applications
CN102064582B (en) Terminal capable of supplying power for outside
CN110231861B (en) Method and apparatus for providing power to an electronic device
US10317969B1 (en) Dynamic VCONN swapping in dual-powered type-C cable applications
CN105453372A (en) Method and apparatus for fast battery charging with universal high power input source
CN104617461A (en) Compatible data interface
CN111162597B (en) Power-down protection circuit and robot control system
CN212463180U (en) Control circuit of USB equipment and USB OTG connector
US20160087384A1 (en) USB and Micro USB T-Tip Connectors
CN105429241A (en) Charging circuit and charging device
CN204885732U (en) Take USB of external equipment protection circuit
CN201075214Y (en) USB general-purpose data line
WO2023134129A1 (en) Method and circuit for protecting pcie card power supply, device, and medium
CN116775527A (en) USB-C controller, operation method thereof and charger system
CN212541260U (en) Reset circuit of electronic equipment and electronic equipment
CN109960677B (en) Extension circuit for USB interface
CN104657318A (en) Method and device for communicating with host computer terminal and mobile terminal
CN110875614A (en) Protection method of charging interface and charging device
CN216561767U (en) USB OTG power supply switching system
CN217562996U (en) Charging cable and charging device
CN216565446U (en) Circuit of switch
CN104852412B (en) A kind of charging current control method and electronic equipment
US11877244B2 (en) Communication device and system with ground potential difference compensation
CN214380067U (en) Circuit capable of protecting USB power interface of host
CN214674403U (en) Charging and discharging circuit and electronic equipment

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant