CN203870609U - Automatic USB communication and audio communication switching circuit - Google Patents
Automatic USB communication and audio communication switching circuit Download PDFInfo
- Publication number
- CN203870609U CN203870609U CN201420167368.2U CN201420167368U CN203870609U CN 203870609 U CN203870609 U CN 203870609U CN 201420167368 U CN201420167368 U CN 201420167368U CN 203870609 U CN203870609 U CN 203870609U
- Authority
- CN
- China
- Prior art keywords
- usb
- usb interface
- double
- communication
- over 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.)
- Expired - Lifetime
Links
- 238000004891 communication Methods 0.000 title claims abstract description 118
- 238000010586 diagram Methods 0.000 description 8
- 101000746134 Homo sapiens DNA endonuclease RBBP8 Proteins 0.000 description 5
- 101000969031 Homo sapiens Nuclear protein 1 Proteins 0.000 description 5
- 102100021133 Nuclear protein 1 Human genes 0.000 description 5
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000009432 framing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000000739 chaotic effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The utility model discloses an automatic USB communication and audio communication switching circuit. The automatic USB communication and audio communication switching circuit comprises a double-pole-double-throw switch, a voltage regulator and a USB interface. The power end of the USB interface is connected with the power input end of the voltage regulator, and the power end of the double-pole-double-throw switch is connected with the power output end of the voltage regulator. The data line end and an equipment recognition end of the USB interface are connected with the common end and the level input end of the double-pole-double-throw switch respectively. A resistor is connected between the power end and the level input end of the double-pole-double-throw switch. A normally-closed pin of the double-pole-double-throw switch is connected with an audio communication device, and a normally-open pin of the double-pole-double-throw switch is connected with a USB communication device. The automatic USB communication and audio communication switching circuit is adopted, the USB communication and the audio communication can be connected through the same USB interface, and the equipment size is reduced while the function is guaranteed.
Description
Technical field
The utility model relates to the multiplexing circuit design of USB interface, is specifically related to a kind of usb communication and voice communication automatic switch-over circuit.
Background technology
In order to realize the identity authentication function on mobile phone or panel computer or other same category of device (being referred to as below mobile phone), e-token need to be used audio frequency to communicate with mobile phone, the hardware interface that this just requires to increase voice communication on original e-token makes e-token possess USB interface and voice communication interface (being two interfaces e-token hereinafter referred to as this e-token) simultaneously.
The interface of existing pair of interface e-token generally adopts the public mouth of USB A type to add the mode that audio head or Micro USB socket add audio head, and this has caused e-token equipment volume to increase, and is inconvenient to carry, and affects user's experience.
Utility model content
For the defect existing in prior art, the purpose of this utility model is to provide a kind of usb communication and voice communication automatic switch-over circuit, realizes a USB interface support usb communication and voice communication simultaneously by this circuit.
For achieving the above object, the technical solution adopted in the utility model is as follows:
A kind of usb communication and voice communication automatic switch-over circuit, comprise double-point double-throw switch, voltage adjuster and USB interface I, the power end of USB interface I is connected with the power input of voltage adjuster, and the power end of double-point double-throw switch is connected with the power output end of voltage adjuster; The data line end of USB interface I is connected with level input end with the common port of double-point double-throw switch respectively with recognition of devices end; Between the power end of double-point double-throw switch and level input end, be connected a resistance, the normally closed pin of double-point double-throw switch is connected, often opens pin and is connected with usb communication device with VOCA voice communications assembly.
Further, a kind of usb communication as above and voice communication automatic switch-over circuit, also comprise the usb data line being connected with described USB interface I.
Further, a kind of usb communication as above and voice communication automatic switch-over circuit, also comprise a built-up circuit, and described built-up circuit comprises USB interface II and the audio head being connected with USB interface II; The power end of USB interface II connects a power supply, the recognition of devices end ground connection of USB interface II; USB interface II is connected with described USB interface I.
Further, a kind of usb communication as above and voice communication automatic switch-over circuit, described USB interface I comprises Micro USB interface and Mini USB interface.
Further, a kind of usb communication as above and voice communication automatic switch-over circuit, described USB interface II comprises Micro USB interface and Mini USB interface.
Further, a kind of usb communication as above and voice communication automatic switch-over circuit, described USB interface I is female mouthful of USB.
Further again, a kind of usb communication as above and voice communication automatic switch-over circuit, described USB interface II is public mouthful of USB.
Further, a kind of USB as above and voice communication automatic switch-over circuit, this automatic switch-over circuit is arranged in the electronic equipment with voice communication function and usb communication function, described VOCA voice communications assembly is the voice communication chip of described electronic equipment, the usb communication chip that described usb communication device is electronic equipment.
The beneficial effects of the utility model are: adopt the automatic switch-over circuit of utility model, can use same USB interface to be connected usb communication and voice communication, the equipment volume reducing in assurance function.
Accompanying drawing explanation
Fig. 1 is the structural framing figure of a kind of USB of the utility model and voice communication automatic switch-over circuit;
Fig. 2 is the circuit diagram of a kind of USB of the utility model and voice communication automatic switch-over circuit;
Fig. 3 is the circuit diagram of a kind of USB of the utility model and voice communication automatic switch-over circuit under usb communication pattern;
Fig. 4 is the circuit diagram of built-up circuit;
Fig. 5 is the circuit diagram of a kind of USB of the utility model and voice communication automatic switch-over circuit under voice communication pattern;
Fig. 6 is the circuit diagram of a kind of USB and voice communication automatic switch-over circuit in embodiment.
Embodiment
Below in conjunction with Figure of description and embodiment, the utility model is described in further detail.
Fig. 1 shows the structural framing figure of a kind of USB of the utility model and voice communication automatic switch-over circuit, the USB interface of the 5pin that in present embodiment, related USB interface is standard, comprise Micro USB interface and MiniUSB interface, 5 pins of the USB interface of standard (comprising female mouthful and male mouthful) as shown in fig. 1, 1 pin and 5 pin are respectively power pins and ground pin, 2 pin and 3 pin are that (2 is data line negative terminal to usb data pin, 3 is data line anode), 4 pin are ID pin (being called recognition of devices end in present embodiment), ID pin is main frame or slave for identification equipment.
USB interface is in circuitry time, and after interface data inserting line, if 4 pin are unsettled, equipment can be switched to the duty of slave; If after data inserting line, equipment Inspection is to 4 pin ground connection, and equipment can be switched under host mode, and powers to the equipment of outside access by 1 pin.For this class of e-token, set, owing to there not being the state of main frame, under slave mode, work all the time, therefore can by detecting the ID pin of USB interface, whether ground connection be switched usb communication or voice communication.The utility model, just based on this principle, is realized the switching of the communication mode of the electronic equipment with usb communication function and voice communication function by the switching controls of analog switch.
Fig. 2 shows the circuit diagram of a kind of USB of the utility model and voice communication automatic switch-over circuit, as can be seen from Figure, this main circuit will comprise U1 shown in double-point double-throw switch 10(figure), U2 shown in voltage adjuster 20(figure) and USB interface I30(figure shown in P1), wherein, the power end of USB interface I30 (pin 1) is connected with the power input of voltage adjuster 20, and the power end V+ of double-point double-throw switch 10 is connected with the power output end of voltage adjuster 20 (VOUT shown in figure); The data line end of USB interface 30 (pin 2 and 3) is connected with level input end (IN1 shown in figure and IN2) with the common port (COM1 shown in figure and COM2) of double-point double-throw switch 10 respectively with recognition of devices end (pin 4), as shown in Figure 2; Between the power end V+ of double-point double-throw switch 10 and level input end, be connected R1 shown in a resistance 40(figure), the normally closed pin of double-point double-throw switch 10 (NC1 shown in figure and NC2) is connected, often opens pin (NO1 shown in figure and NO2) and is connected with usb communication device with VOCA voice communications assembly.
Automatic switch-over circuit operated by rotary motion of the present utility model is in having the electronic equipment of voice communication function and usb communication function, as bidirectional electronic token, wherein, described VOCA voice communications assembly is the voice communication chip of described electronic equipment, the usb communication chip that described usb communication device is electronic equipment.It should be noted that, described voice communication chip and the concrete pattern of usb communication chip are unrestricted, and voice communication chip and usb communication chip can be realized by chip piece, also can be realized by two independent chips.
In one embodiment, automatic switch-over circuit of the present utility model also comprises a usb data line, and as shown in Figure 3, one end of described usb data line is connected with described USB interface I30, and the other end connects with other electronic equipment that needs to be connected, as computer.By described usb data line, realized usb communication.Concrete, when circuit inserts the usb data line of standard, the ID pin of USB interface 30 is unsettled, the IN1 of double-point double-throw switch and IN2 are moved to U1 supply voltage on R1, double-point double-throw switch is inner can be by the NO1 of U1 and COM1 conducting, NO2 and COM2 conducting, now two of usb communication device pins have been connected on the NO1 and NO2 of USB interface.Computer is inserted in usb data line other end, can carry out usb communication.
In another embodiment, automatic switch-over circuit of the present utility model also comprises a built-up circuit, and as shown in Figure 4, described built-up circuit comprises P2 shown in USB interface II50(figure) and the audio head 60 that is connected with USB interface II50; The power end of USB interface II50 and BT1 shown in a power supply 70(figure) be connected, the recognition of devices end ground connection of USB interface II50; USB interface II50 is connected with described USB interface I30, as shown in Figure 5, by this built-up circuit, has realized voice communication.Concrete, USB interface I30 is connected with the corresponding pin of USB interface II50.Power supply 70 is powered to automatic switch-over circuit by 1 pin of USB interface II50, the ID pin ground connection of USB interface I30, the IN1 of double-point double-throw switch and IN2 are low level, double-point double-throw switch is inner can be by the NC1 of U1 and COM1 conducting, NC2 and COM2 conducting, now two of VOCA voice communications assembly pins have been connected on the NC1 and NC2 of USB interface I.The audio head 60 of built-up circuit inserts mobile phone and can realize voice communication.
USB interface I30 described in present embodiment and USB interface II50 can be Micro USB interface, also can be Mini USB interface, but both must be the interfaces of the same type that can cooperatively interact, i.e. Micro USB interface or be all Mini USB interface both.In the present embodiment, USB interface I30 is female mouthful, and USB interface II50 is public mouthful.In present embodiment, by sign I and II, distinguish two interfaces, with when being connected, the corresponding connection of 5 pins of USB interface 30 and USB interface 50.
In addition, in present embodiment, model and the design parameter of related device (resistance R 1, power supply BT1 etc.) can adjust accordingly as required, and for example, for resistance 40, its size can be 10K, 4.7k or other size.
In order better to understand the utility model, below in conjunction with specific embodiment, the utility model is further detailed.
Embodiment
Automatic switch-over circuit in the present embodiment is arranged in the e-token of two interfaces, by use this automatic switch-over circuit in the e-token of two interfaces, USB interface in this automatic switch-over circuit is Micro USB interface, can use a Micro USB interface to be connected the usb communication function of token and voice communication function.
In the present embodiment, use SGM3005 analog switch as double-point double-throw switch U1, use XC6221 as voltage adjuster U2, the single-chip microcomputer U10 that the VOCA voice communications assembly of two interfaces e-token and usb communication device are HS08K_SSOP28 by model realizes, on same chip, realize usb communication and voice communication, 16 and 17 pins of single-chip microcomputer U10 (SCDIO in corresponding diagram 6 and STCLK pin) are respectively voice communication input end and audio output, data line negative terminal and anode when 25 and 26 pins (USBDM in corresponding diagram 6 and USBDP pin) are respectively usb communication.
When the normally closed pin of double-point double-throw switch U1 (NC1 and NC2) is connected, often opens pin (NO1 and NO2) and is connected with usb communication device with VOCA voice communications assembly, the NC1 pin of voice communication input termination U1, the NC2 pin of voice communication output termination U1, concrete, the NC1 pin of U1 is LM393 by the model of U11 in two voltage comparator U11(the present embodiment) 1OUT pin received on 16 pin of single-chip microcomputer U10, the NC2 pin of U1 has been received 17 pin of single-chip microcomputer U10 by capacitance resistance components such as R4, C10; Two pins of usb communication connect NO1 pin and the NO2 pin of U1, concrete, and NO1 pin is received 25 pins of single-chip microcomputer U10 by resistance R 17, and NO2 pin is received 26 pins of single-chip microcomputer U10 by resistance R 18.
When the Micro USB interface P1 of two interfaces e-token inserts the usb data line of standard, the ID pin of P1 is high level, U1 inside has been connected to NO1 pin on COM1 pin, and NO2 pin has been connected on COM2 pin, thereby carries out usb communication by 25 and 26 pins of single-chip microcomputer U10.When the Micro USB interface P1 of two interfaces e-token access built-up circuit, the ID pin of P1 is low level, U1 inside has been connected to NC1 pin on COM1 pin, and NC2 pin has been connected on COM2 pin, thereby carries out voice communication by 16 and 17 pins of single-chip microcomputer U10.
It should be noted that, in the present embodiment and Fig. 6, the connection of the pin of some components and parts or explanation do not provide completely, especially the connection of the most of pin of single-chip microcomputer U10 is all omitted, explanation and the symbol logo of the components and parts such as some resistance or electric capacity also omit, but the connected mode of clipped and identifier are all known to those skilled in the art.The model of each device of the present utility model also includes but not limited to the model exemplifying in the present embodiment.Equally, the design parameter for each device is also to adjust according to the needs of application.
In the present embodiment, for fear of chaotic in figure, in each figure, do not mark the pin number of other components and parts beyond USB interface.
Obviously, those skilled in the art can carry out various changes and modification and not depart from spirit and scope of the present utility model the utility model.Like this, if within of the present utility model these are revised and modification belongs to the scope of the utility model claim and equivalent technology thereof, the utility model is also intended to comprise these changes and modification interior.
Claims (8)
1. a usb communication and voice communication automatic switch-over circuit, it is characterized in that: comprise double-point double-throw switch (10), voltage adjuster (20) and USB interface I (30), the power end of USB interface I (30) is connected with the power input of voltage adjuster (20), and the power end of double-point double-throw switch (10) is connected with the power output end of voltage adjuster (20); The data line end of USB interface I (30) is connected with level input end with the common port of double-point double-throw switch (10) respectively with recognition of devices end; Between the power end of double-point double-throw switch (10) and level input end, be connected a resistance (40), the normally closed pin of double-point double-throw switch (10) is connected, often opens pin and is connected with usb communication device with VOCA voice communications assembly.
2. a kind of usb communication as claimed in claim 1 and voice communication automatic switch-over circuit, is characterized in that: also comprise the usb data line being connected with described USB interface I (30).
3. a kind of usb communication as claimed in claim 1 and voice communication automatic switch-over circuit, it is characterized in that: also comprise a built-up circuit, described built-up circuit comprises USB interface II (50) and the audio head (60) being connected with USB interface II (50); The power end of USB interface II (50) connects a power supply (70), the recognition of devices end ground connection of USB interface II (50); USB interface II (50) is connected with described USB interface I (30).
4. a kind of usb communication as described in one of claims 1 to 3 and voice communication automatic switch-over circuit, is characterized in that: described USB interface I (30) comprises Micro USB interface and Mini USB interface.
5. a kind of usb communication as claimed in claim 3 and voice communication automatic switch-over circuit, is characterized in that: described USB interface II (50) comprises Micro USB interface and Mini USB interface.
6. a kind of usb communication as claimed in claim 4 and voice communication automatic switch-over circuit, is characterized in that: described USB interface I (30) is female mouthful of USB.
7. a kind of usb communication as claimed in claim 5 and voice communication automatic switch-over circuit, is characterized in that: described USB interface II (50) is public mouthful of USB.
8. a kind of usb communication as claimed in claim 1 and voice communication automatic switch-over circuit, it is characterized in that: this automatic switch-over circuit is arranged in the electronic equipment with voice communication function and usb communication function, described VOCA voice communications assembly is the voice communication chip of described electronic equipment, the usb communication chip that described usb communication device is electronic equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420167368.2U CN203870609U (en) | 2014-04-08 | 2014-04-08 | Automatic USB communication and audio communication switching circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420167368.2U CN203870609U (en) | 2014-04-08 | 2014-04-08 | Automatic USB communication and audio communication switching circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203870609U true CN203870609U (en) | 2014-10-08 |
Family
ID=51651538
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201420167368.2U Expired - Lifetime CN203870609U (en) | 2014-04-08 | 2014-04-08 | Automatic USB communication and audio communication switching circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203870609U (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112202949A (en) * | 2020-09-27 | 2021-01-08 | 厦门亿联网络技术股份有限公司 | USB peripheral, telephone equipment and telephone system |
CN113113943A (en) * | 2020-01-13 | 2021-07-13 | 马克西姆综合产品公司 | System and method for dual port communication and power delivery |
CN116015258A (en) * | 2021-10-22 | 2023-04-25 | 荣耀终端有限公司 | Switching circuit and electronic device |
US12003346B2 (en) | 2020-01-13 | 2024-06-04 | Maxim Integrated Products, Inc. | System and method for dual-port communication and power delivery |
-
2014
- 2014-04-08 CN CN201420167368.2U patent/CN203870609U/en not_active Expired - Lifetime
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113113943A (en) * | 2020-01-13 | 2021-07-13 | 马克西姆综合产品公司 | System and method for dual port communication and power delivery |
CN113113943B (en) * | 2020-01-13 | 2024-05-28 | 马克西姆综合产品公司 | System and method for dual port communication and power delivery |
US12003346B2 (en) | 2020-01-13 | 2024-06-04 | Maxim Integrated Products, Inc. | System and method for dual-port communication and power delivery |
CN112202949A (en) * | 2020-09-27 | 2021-01-08 | 厦门亿联网络技术股份有限公司 | USB peripheral, telephone equipment and telephone system |
CN116015258A (en) * | 2021-10-22 | 2023-04-25 | 荣耀终端有限公司 | Switching circuit and electronic device |
CN116015258B (en) * | 2021-10-22 | 2024-03-15 | 荣耀终端有限公司 | Switching circuit and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6328795B2 (en) | Baseband PD communication via USB standard A connector | |
CN203870609U (en) | Automatic USB communication and audio communication switching circuit | |
CN104063348B (en) | Realize the device and method of compatible USB communications and voice communication | |
CN104081368A (en) | Mobile device automatic detection apparatus and method | |
WO2021135687A1 (en) | Electronic device and accessory having both quick charging function and audio transmission function | |
CN104620567A (en) | System and method for detecting the ground and microphone input contacts in an audio plug | |
CN103561369A (en) | Usb interface circuit and electronic equipment | |
CN103219988B (en) | Automatically method and the terminal of plug audio frequency apparatus are identified | |
EP2490368A1 (en) | Method and wireless access terminal for using wireless data card individually to access network | |
CN204577794U (en) | There is the expanding device of USB Type-C connector | |
CN102833649A (en) | Earphone interface circuit and mobile communication device | |
KR20230016675A (en) | Data cables and charging devices | |
CN105611460A (en) | Headset circuit and intelligent mobile terminal | |
CN206100092U (en) | Many interfaces cell -phone adapter | |
CN204030193U (en) | Connecting line with OTG function | |
CN107870655B (en) | Movably-mounted and conveniently-dismounted notebook computer | |
CN204360371U (en) | A kind of USBKey | |
CN204166903U (en) | Multifunctional storage device | |
US20140349718A1 (en) | Wireless signal controlling circuit | |
CN107492934B (en) | Electronic device with power supply circuit | |
CN108572936B (en) | USB interface control circuit | |
CN204795568U (en) | Cell -phone audio interface communication equipment with from adaption function | |
CN107707703A (en) | Mobile phone screen display module and mobile phone | |
CN204407655U (en) | Interface equipment and system | |
CN203951234U (en) | USB downlink port charger |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20141008 |
|
CX01 | Expiry of patent term |