CN206698205U - A kind of two-way USB control circuit - Google Patents

A kind of two-way USB control circuit Download PDF

Info

Publication number
CN206698205U
CN206698205U CN201720318452.3U CN201720318452U CN206698205U CN 206698205 U CN206698205 U CN 206698205U CN 201720318452 U CN201720318452 U CN 201720318452U CN 206698205 U CN206698205 U CN 206698205U
Authority
CN
China
Prior art keywords
pin
pole double
nlas52223
double throw
single pole
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
CN201720318452.3U
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.)
Kunming University of Science and Technology
Original Assignee
Kunming University of Science and Technology
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 Kunming University of Science and Technology filed Critical Kunming University of Science and Technology
Priority to CN201720318452.3U priority Critical patent/CN206698205U/en
Application granted granted Critical
Publication of CN206698205U publication Critical patent/CN206698205U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Direct Current Feeding And Distribution (AREA)

Abstract

A kind of two-way USB control circuit is the utility model is related to, belongs to electronic technology field.The utility model includes USB1, USB2, relay, single pole double throw analog switch I, single pole double throw analog switch II, logic control circuit, soft-touch control, JK flip-flop, 555 single-shot trigger circuits, Micro USB.When the utility model solves certain equipment and is connected by two equipment of USB data line and other, the problem of frequent plug USB port causes operating efficiency low to switch connecting object.

Description

A kind of two-way USB control circuit
Technical field
The utility model is new to provide a kind of two-way USB control circuit, belongs to electronic technology field.
Background technology
At present, people are very frequent by USB data line connection equipment, but often may require that an equipment is set at two Standby middle connection switches, therefore, it is desirable to switches connecting object by plug USB port, the interface of frequent plug USB device can make Its lost of life, and operating efficiency is low.
The content of the invention
The technical problems to be solved in the utility model is:The utility model provides a kind of two-way USB control circuit, by touching The connecting object of switch switching equipment is touched, to solve when two equipment of certain equipment utilization USB data line and other are connected, it is necessary to pull out The problem of slotting USB port causes operating efficiency low to switch connecting object.
The technical solution adopted in the utility model is:A kind of two-way USB control circuit, including USB1, USB2, relay 1, Single pole double throw analog switch I 2, single pole double throw analog switch II 3, logic control circuit 4, soft-touch control 5, JK flip-flop 6,555 Single-shot trigger circuit 7, Micro USB;
The single pole double throw analog switch I 2, single pole double throw analog switch II 3 use NLAS52223 single pole double throw analogs Switch, 1 pin and the NLAS52223 single pole double throw analogs of NLAS52223 single pole double throw analogs switch I 2 switch II 31 pin, 10 pin After connection, while be connected with the normally-closed contact J1 and normally opened contact J2 of relay 1 one end, the normally-closed contact J1 of relay 1 and The normally opened contact J2 other end respectively connected USB1 1 pin and USB2 1 pin;
One end of relay 1 and USB2 1 pin are connected, and its other end and USB2 4 pin are connected, and USB2 4 pin are connected to Diode D2 anode, diode D2 negative electrode and USB2 1 pin connect;USB1 2 pin, 3 pin respectively with NLAS52223 hilted broadswords Double-throw analog switch I 2 is connected with 2 pin of NLAS52223 single pole double throw analogs switch II 3, and NLAS52223 single pole double throw analogs are opened Close I 23 pin and 3 pin of NLAS52223 single pole double throw analogs switch II 3 be connected with Micro USB 2 pin and 3 pin respectively, 4 pin, 8 pin of NLAS52223 single pole double throw analogs switch I 2 connect with 4 pin of NLAS52223 single pole double throw analogs switch II 3 Afterwards, the output end with logic control circuit 4 is connected, and 5 pin and NLAS52223 of NLAS52223 single pole double throw analogs switch I 2 are mono- 5 pin of dpdt double-pole double-throw (DPDT) analog switch II 3 respectively connected USB2 2 pin and 3 pin, and NLAS52223 single pole double throw analogs switch the 6 of I 2 6 pin of pin and NLAS52223 single pole double throw analogs switch II 3,7 pin are grounded simultaneously, NLAS52223 single pole double throw analogs switch I 2 7 pin and USB2 1 pin connect, its 9 pin is connected with Micro USB 1 pin, and its 10 pin and USB1 1 pin connect;
The soft-touch control 5 is connected by resistance R1 with the CP ends of JK flip-flop 6, and the J ends and K ends of JK flip-flop 6 are simultaneously It is connected to 9 pin of NLAS52223 single pole double throw analogs switch II 3 and 4 pin of 555 single-shot trigger circuits, the Q ' of JK flip-flop 6 End is connected to 2 pin and 6 pin of 555 single-shot trigger circuits 7 by resistance R2 simultaneously, and the Q ends of JK flip-flop 6 are hanging, and 555 is single After 4 pin of stable trigger circuit 7 and the connection of 8 pin, it is connected by resistance R3 with its 7 pin, 5 pin of 555 single-shot trigger circuits 7 lead to Cross electric capacity C to be connected with Micro USB 4 pin, 3 pin of 555 single-shot trigger circuits 7 connect with the output end of logic control circuit 4 Connect.
Specifically, described logic control circuit 4 includes and door A1, A2, NOT gate N1, diode D1;With two of door A1 Input is connected with USB1 1 pin and USB2 1 pin respectively, and NLAS52223 single-pole double throw moulds are connected to door A1 output end Intend 8 pin of switch II 3,9 pin of NLAS52223 single pole double throw analogs switch II 3 are connected to one with door A2 by NOT gate N1 Input, USB1 1 pin is connected to door A2 another input, connected with door A2 output end and diode D1 anode Connect, the output end of diode D1 negative electrode as logic control circuit 4.
Operation principle of the present utility model is:When the Micro USB by two-way USB control circuit are to equipment charge or biography During transmission of data, and USB1 and USB2 do not connect computer and regular power supply adaptor, then the USB control switching circuits do not work, Certain equipment charge will not be both given, will not also give certain equipment transmission data;
When USB1 connection PC of the equipment by two-way USB control circuit, the normally-closed contact closure of relay is normally opened to touch Point disconnects, to NLAS52223 single pole double throw analogs switch I, NLAS52223 single pole double throw analogs switch II, logic control circuit Power supply, and logical AND gate A1 outputs are low level, i.e. 8 pin of NLAS52223 single pole double throw analogs switch II are low level, make it 9 pin are connected with 7 pin, are not powered to 555 timers, and then, logical AND gate A2 output is high level, i.e. NLAS52223 hilted broadswords 4 pin that 8 pin, 4 pin and the NLAS52223 single pole double throw analogs of double-throw analog switch I switch II are high level, and NLAS52223 is mono- 3 pin of dpdt double-pole double-throw (DPDT) analog switch I are connected with 2 pin, and 9 pin are connected with 10 pin, 3 pin of NLAS52223 single pole double throw analogs switch II It is connected with 2 pin, finally, two-way USB control circuit connects USB1 with Micro USB, realizes the connection of PC and equipment;
When USB2 connection power supply adaptor of the equipment by two-way USB control circuit, the normally-closed contact of relay disconnects, Normally opened contact closes, to NLAS52223 single pole double throw analogs switch I, NLAS52223 single pole double throw analogs switch II, logic control Circuit power supply processed, and logical AND gate A1 outputs are low level, i.e. 8 pin of NLAS52223 single pole double throw analogs switch II are low electricity It is flat, its 9 pin is connected with 7 pin, do not powered to 555 timers, and then, logical AND gate A2 output is low level, i.e., 4 pin that 8 pin, 4 pin and the NLAS52223 single pole double throw analogs of NLAS52223 single pole double throw analogs switch I switch II are low electricity Flat, 3 pin of NLAS52223 single pole double throw analogs switch I are connected with 5 pin, and 9 pin are connected with 7 pin, NLAS52223 single-pole double throw moulds 3 pin for intending switch II are connected with 5 pin, and finally, two-way USB control circuit connects USB2 with Micro USB, is also achieved that electricity The connection of source adapter and equipment;
When USB1 connection PC, USB2 connection power supply adaptor of the equipment by two-way USB control circuit, relay Normally-closed contact disconnects, normally opened contact closure, to NLAS52223 single pole double throw analogs switch I, NLAS52223 single pole double throw analogs Switch II, logic control circuit power supply, and logical AND gate A1 outputs are high level, i.e., NLAS52223 single pole double throw analogs switch II 8 pin are high level, its 9 pin is connected with 10 pin, are powered to 555 timers, when point touching does not switch, 555 monostables The output of triggers circuit is low level, and logical AND gate A2 output is low level, i.e. NLAS52223 single pole double throw analogs are opened 4 pin for closing I 8 pin, 4 pin and NLAS52223 single pole double throw analogs switch II are low level, NLAS52223 single pole double throw analogs 3 pin of switch I are connected with 5 pin, and 9 pin are connected with 7 pin, and 3 pin of NLAS52223 single pole double throw analogs switch II are connected with 5 pin, most Eventually, two-way USB control circuit connects USB2 with Micro USB, is also achieved that the connection of power supply adaptor and equipment;
When first time point touching switchs, the output of 555 single-shot trigger circuits is high level, and logical AND gate A2 Export as low level, i.e. 8 pin of NLAS52223 single pole double throw analogs switch I, 4 pin and NLAS52223 single pole double throw analogs switch II 4 pin are high level, and 3 pin of NLAS52223 single pole double throw analogs switch I are connected with 2 pin, and 9 pin are connected with 10 pin, 3 pin of NLAS52223 single pole double throw analogs switch II are connected with 2 pin, and finally, two-way USB control circuit is by USB1 and Micro USB is connected, and is also achieved that the connection of PC and equipment;
During second point touching switch, the output of 555 single-shot trigger circuits is low level, and logical AND gate A2 Export as low level, i.e. 8 pin of NLAS52223 single pole double throw analogs switch I, 4 pin and NLAS52223 single pole double throw analogs switch II 4 pin are low level, and 3 pin of NLAS52223 single pole double throw analogs switch I are connected with 5 pin, and 9 pin are connected with 7 pin, 3 pin of NLAS52223 single pole double throw analogs switch II are connected with 5 pin, and finally, two-way USB control circuit is by USB2 and Micro USB is connected, and is also achieved that the connection of power supply adaptor and equipment.
The beneficial effects of the utility model are:
The utility model provides a kind of two-way USB control circuit, switches the connecting object of equipment by soft-touch control, to solve , it is necessary to which plug USB port causes to switch connecting object when certainly two equipment of certain equipment utilization USB data line and other are connected The problem of operating efficiency is low.
Brief description of the drawings
Fig. 1 is circuit theory schematic diagram of the present utility model.
Each label in Fig. 1:1- relays, 2-NLAS52223 single pole double throw analogs open I, 3- NLAS52223 single-pole double throws Analog switch II, 4- logic control circuits, 5- soft-touch controls, 6-JK triggers, 7-555 single-shot trigger circuits.
Embodiment
Embodiment 1:As shown in figure 1, a kind of two-way USB control circuit, including USB1, USB2, relay 1, single-pole double throw Analog switch I 2, single pole double throw analog switch II 3, logic control circuit 4, soft-touch control 5, JK flip-flop 6,555 monostables are touched Power Generation Road 7, Micro USB;
The single pole double throw analog switch I 2, single pole double throw analog switch II 3 use NLAS52223 single pole double throw analogs Switch, 1 pin and the NLAS52223 single pole double throw analogs of NLAS52223 single pole double throw analogs switch I 2 switch II 31 pin, 10 pin After connection, while be connected with the normally-closed contact J1 and normally opened contact J2 of relay 1 one end, the normally-closed contact J1 of relay 1 and The normally opened contact J2 other end respectively connected USB1 1 pin and USB2 1 pin;
One end of relay 1 and USB2 1 pin are connected, and its other end and USB2 4 pin are connected, and USB2 4 pin are connected to Diode D2 anode, diode D2 negative electrode and USB2 1 pin connect;USB1 2 pin, 3 pin respectively with NLAS52223 hilted broadswords Double-throw analog switch I 2 is connected with 2 pin of NLAS52223 single pole double throw analogs switch II 3, and NLAS52223 single pole double throw analogs are opened Close I 23 pin and 3 pin of NLAS52223 single pole double throw analogs switch II 3 be connected with Micro USB 2 pin and 3 pin respectively, 4 pin, 8 pin of NLAS52223 single pole double throw analogs switch I 2 connect with 4 pin of NLAS52223 single pole double throw analogs switch II 3 Afterwards, the output end with logic control circuit 4 is connected, and 5 pin and NLAS52223 of NLAS52223 single pole double throw analogs switch I 2 are mono- 5 pin of dpdt double-pole double-throw (DPDT) analog switch II 3 respectively connected USB2 2 pin and 3 pin, and NLAS52223 single pole double throw analogs switch the 6 of I 2 6 pin of pin and NLAS52223 single pole double throw analogs switch II 3,7 pin are grounded simultaneously, NLAS52223 single pole double throw analogs switch I 2 7 pin and USB2 1 pin connect, its 9 pin is connected with Micro USB 1 pin, and its 10 pin and USB1 1 pin connect;
The soft-touch control 5 is connected by resistance R1 with the CP ends of JK flip-flop 6, and the J ends and K ends of JK flip-flop 6 are simultaneously It is connected to 9 pin of NLAS52223 single pole double throw analogs switch II 3 and 4 pin of 555 single-shot trigger circuits, the Q ' of JK flip-flop 6 End is connected to 2 pin and 6 pin of 555 single-shot trigger circuits 7 by resistance R2 simultaneously, and the Q ends of JK flip-flop 6 are hanging, and 555 is single After 4 pin of stable trigger circuit 7 and the connection of 8 pin, it is connected by resistance R3 with its 7 pin, 5 pin of 555 single-shot trigger circuits 7 lead to Cross electric capacity C to be connected with Micro USB 4 pin, 3 pin of 555 single-shot trigger circuits 7 connect with the output end of logic control circuit 4 Connect.
Further, described logic control circuit 4 includes and door A1, A2, NOT gate N1, diode D1;With the two of door A1 Individual input is connected with USB1 1 pin and USB2 1 pin respectively, and NLAS52223 single-pole double throws are connected to door A1 output end 8 pin of analog switch II 3,9 pin of NLAS52223 single pole double throw analogs switch II 3 are connected to one with door A2 by NOT gate N1 Individual input, USB1 1 pin is connected to door A2 another input, connected with door A2 output end and diode D1 anode Connect, the output end of diode D1 negative electrode as logic control circuit 4.
It is explained in detail above in association with the accompanying drawing embodiment new to the utility model, but the utility model It is new to be not limited to above-mentioned embodiment, in those of ordinary skill in the art's possessed knowledge, it can also not take off Made a variety of changes on the premise of from the new objective of the utility model.

Claims (2)

  1. A kind of 1. two-way USB control circuit, it is characterised in that:Including USB1, USB2, relay(1), single pole double throw analog switch Ⅰ(2), single pole double throw analog switch II(3), logic control circuit(4), soft-touch control(5), JK flip-flop(6), 555 monostables Triggers circuit(7)、Micro USB;
    The single pole double throw analog switch I(2), single pole double throw analog switch II(3)Use NLAS52223 single pole double throw analogs Switch, NLAS52223 single pole double throw analogs switch I(2)1 pin and NLAS52223 single pole double throw analogs switch II(3)1 pin, After the connection of 10 pin, while and relay(1)Normally-closed contact J1 connected with normally opened contact J2 one end, relay(1)It is normally closed Contact J1 and normally opened contact the J2 other end respectively connected USB1 1 pin and USB2 1 pin;
    Relay(1)One end and USB2 1 pin connect, its other end and USB2 4 pin connect, and USB2 4 pin are connected to two Pole pipe D2 anode, diode D2 negative electrode and USB2 1 pin connect;USB1 2 pin, 3 pin are double with NLAS52223 hilted broadswords respectively Throw analog switch I(2)With NLAS52223 single pole double throw analogs switch II(3)2 pin connection, NLAS52223 single pole double throw analogs Switch I(2)3 pin and NLAS52223 single pole double throw analogs switch II(3)3 pin connect respectively with Micro USB 2 pin and 3 pin Connect, NLAS52223 single pole double throw analogs switch I(2)4 pin, 8 pin and NLAS52223 single pole double throw analogs switch II(3)4 After pin connection, with logic control circuit(4)Output end connection, NLAS52223 single pole double throw analogs switch I(2)5 pin and NLAS52223 single pole double throw analogs switch II(3)5 pin respectively connected USB2 2 pin and 3 pin, NLAS52223 single-pole double throws Analog switch I(2)6 pin and NLAS52223 single pole double throw analogs switch II(3)6 pin, 7 pin be grounded simultaneously, NLAS52223 Single pole double throw analog switch I(2)7 pin and USB2 1 pin connect, its 9 pin is connected with Micro USB 1 pin, its 10 pin and USB1 1 pin connection;
    The soft-touch control(5)Pass through resistance R1 and JK flip-flop(6)CP ends connection, JK flip-flop(6)J ends and K ends it is same When be connected to NLAS52223 single pole double throw analogs switch II(3)9 pin and 555 single-shot trigger circuits 4 pin, JK flip-flop (6)Q ' end by resistance R2 simultaneously be connected to 555 single-shot trigger circuits(7)2 pin and 6 pin, JK flip-flop(6)Q ends Vacantly, 555 single-shot trigger circuit(7)4 pin and 8 pin connection after, be connected by resistance R3 with its 7 pin, 555 monostable triggers Circuit(7)5 pin be connected by electric capacity C with Micro USB 4 pin, 555 single-shot trigger circuits(7)3 pin and logic control Circuit(4)Output end connection.
  2. 2. two-way USB control circuit according to claim 1, it is characterised in that:Described logic control circuit(4)Including With door A1, A2, NOT gate N1, diode D1;It is connected respectively with USB1 1 pin and USB2 1 pin with door A1 two inputs, with Door A1 output end is connected to NLAS52223 single pole double throw analogs switch II(3)8 pin, NLAS52223 single pole double throw analogs open Close II(3)9 pin an input with door A2 is connected to by NOT gate N1, be connected to USB1 with door A2 another input 1 pin, be connected with door A2 output end with diode D1 anode, diode D1 negative electrode is as logic control circuit(4)'s Output end.
CN201720318452.3U 2017-03-29 2017-03-29 A kind of two-way USB control circuit Expired - Fee Related CN206698205U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720318452.3U CN206698205U (en) 2017-03-29 2017-03-29 A kind of two-way USB control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720318452.3U CN206698205U (en) 2017-03-29 2017-03-29 A kind of two-way USB control circuit

Publications (1)

Publication Number Publication Date
CN206698205U true CN206698205U (en) 2017-12-01

Family

ID=60441015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720318452.3U Expired - Fee Related CN206698205U (en) 2017-03-29 2017-03-29 A kind of two-way USB control circuit

Country Status (1)

Country Link
CN (1) CN206698205U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124175A (en) * 2017-03-29 2017-09-01 昆明理工大学 A kind of two-way USB control circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124175A (en) * 2017-03-29 2017-09-01 昆明理工大学 A kind of two-way USB control circuit
CN107124175B (en) * 2017-03-29 2023-06-13 昆明理工大学 Two-way USB control circuit

Similar Documents

Publication Publication Date Title
CN207473599U (en) A kind of I2C bus control interfaces circuit
CN107124175A (en) A kind of two-way USB control circuit
CN104092451B (en) Power consumption switching control circuit
CN108649625A (en) A kind of crusing robot power-supply management system
CN206698205U (en) A kind of two-way USB control circuit
CN108879672A (en) A kind of micro-capacitance sensor three-phase thyristor high-speed switch and control method
CN104917982B (en) A kind of stand-by circuit and the television set with the circuit
CN207265705U (en) A kind of electronic device with power supply circuit
CN204795336U (en) Stand -by circuit and have TV set of this circuit
CN101763965A (en) Arc sampling arc-distinguishing control device
CN202838176U (en) Computer power supply zero-power-consumption standby circuit
CN207651425U (en) A kind of relay drive circuit with delay function
CN206759111U (en) A kind of double nip portable power source
CN104410398A (en) Touch type water economizer based on power amplifying circuit
CN207070036U (en) A kind of button multiplexing power switch circuit
CN205232187U (en) Be applied to touching device of beauty salon ware
CN101719609B (en) Intelligent power supply socket device and control method thereof
CN204302733U (en) A kind of ON-OFF control circuit based on touch controlled key
CN208143556U (en) Mechanical double control switch realizes more control bus intelligent wireless relay module
CN203350340U (en) Full-range low power consumption DC voltage detecting circuit
CN106059553A (en) Implementation device of Ra resistor in USB Type-CEMCA cable
CN207926264U (en) A kind of industry portable equipment Double-battery powered control circuit
CN202602566U (en) Power extension device of educational robot
CN206610993U (en) A kind of USB circuit and its hub with controlling switch
CN206256809U (en) A kind of door and window magnetic control control equipment

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171201

Termination date: 20190329