CN214954958U - Electronic device sharing universal sequence bus signal - Google Patents

Electronic device sharing universal sequence bus signal Download PDF

Info

Publication number
CN214954958U
CN214954958U CN202121269010.7U CN202121269010U CN214954958U CN 214954958 U CN214954958 U CN 214954958U CN 202121269010 U CN202121269010 U CN 202121269010U CN 214954958 U CN214954958 U CN 214954958U
Authority
CN
China
Prior art keywords
input
signal
processing unit
output end
output
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
CN202121269010.7U
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.)
Huanxu Shenzhen Electronic Technology Innovation Co ltd
Original Assignee
Huanxu Shenzhen Electronic Technology Innovation 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 Huanxu Shenzhen Electronic Technology Innovation Co ltd filed Critical Huanxu Shenzhen Electronic Technology Innovation Co ltd
Priority to CN202121269010.7U priority Critical patent/CN214954958U/en
Application granted granted Critical
Publication of CN214954958U publication Critical patent/CN214954958U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model provides an electron device of sharing universal sequence bus signal. The first input/output end is connected with the processing unit and used for transmitting a first universal serial bus signal. The detection unit is connected between the processing unit and the second input/output end, and detects the voltage level of the second input/output end to generate a detection signal. The processing unit generates a general-purpose input/output signal according to the detection signal. The control unit is connected with the processing unit and transmits the configuration channel signal to the processing unit according to the general input and output signal. The switching unit is connected with the processing unit, the first input/output end and the second input/output end. The processing unit transmits a control signal to the switching unit according to the configuration channel signal. The switching unit transmits the second universal serial bus signal to the first input/output end or the second input/output end according to the control signal. Therefore, the universal serial bus signal of the processing unit can be transmitted by using two input and output ends.

Description

Electronic device sharing universal sequence bus signal
Technical Field
The present invention relates to an electronic device, and more particularly to an electronic device sharing a common usb signal.
Background
The Type C Universal Serial Bus (USB Type-C) connector not only provides faster power charging capability and data transmission speed, but also provides smaller volume compared to the conventional Universal Serial Bus (USB) connector. Since the front and back sides of the USB Type-C connector are completely consistent, the front and back sides of the connector do not need to be confirmed when an external device is connected, and convenience is improved. However, at present, the processing units in the electronic devices are gradually supporting only one USB Type-C standard. If two input/output terminals are required and have respective USB functions, the conventional electronic device cannot meet the above requirements. Finally, the use of the electronic device is limited because the number of input and output terminals is insufficient.
Accordingly, it is an objective and direction of the present invention to satisfy the requirement that an electronic device can transmit USB signals with different functions through two input/output ports under the condition that a processing unit supports only one USB Type-C standard.
SUMMERY OF THE UTILITY MODEL
Therefore, an object of the present invention is to provide an electronic device sharing USB signals, wherein the processing unit only uses the same set of USB signals under the condition of using USB Type-C standard, and can satisfy two input/output ends for transmitting different USB signals respectively.
According to an embodiment of the present invention, an electronic device sharing usb signals is provided. The electronic device sharing the USB signal comprises a processing unit, a first input/output end, a detection unit, a second input/output end, a control unit and a switching unit. The first input/output end is connected with the processing unit and is used for transmitting a first universal serial bus signal. The detection unit is connected with the processing unit. The second input/output end is connected with the detection unit. The detection unit detects the second input/output end to generate a detection signal, and transmits the detection signal to the processing unit. The processing unit generates a general input/output signal according to the detection signal. The control unit is connected with the processing unit and receives the general input and output signals. The control unit generates a configuration channel signal according to the general input/output signal and transmits the configuration channel signal to the processing unit. The switching unit is connected with the second input and output end. The switching unit is connected between the processing unit and the first input/output end and is used for transmitting a second universal serial bus signal to the first input/output end. The processing unit controls the switching unit according to the configuration channel signal and transmits a control signal to the switching unit. The switching unit transmits a second universal serial bus signal to one of the first input/output end and the second input/output end according to the control signal, wherein the second universal serial bus signal is different from the first universal serial bus signal.
Therefore, the first USB signal is transmitted through the first input/output end, and the processing unit controls the switching unit according to the configuration channel signal, so that the second USB signal can be transmitted through the first input/output end or the second input/output end.
Other examples of the foregoing embodiments are as follows: the detection unit judges whether the second input/output end is a host connection end or a client connection end according to a voltage level of the second input/output end. When the voltage level is a first voltage, the second input/output end is the host connection end. When the voltage level is a second voltage, the second input/output end is a client end connection end.
Other examples of the foregoing embodiments are as follows: the first voltage is 0.5 volts and the second voltage is 3.3 volts.
Other examples of the foregoing embodiments are as follows: the first input/output terminal is a type C USB connector or a spring connector.
Other examples of the foregoing embodiments are as follows: the second input/output end is a spring connector.
Other examples of the foregoing embodiments are as follows: the first USB signal corresponds to a USB3.1 standard specification, and the second USB signal corresponds to a USB2.0 standard specification.
Drawings
In order to make the above and other objects, features, advantages and embodiments of the present invention more comprehensible, the following description of the drawings is provided:
fig. 1 is a schematic block circuit diagram showing an electronic device sharing a universal serial bus signal according to a first embodiment of the present invention;
FIG. 2 is a schematic perspective view of an electronic device showing the common Universal Serial bus signals of FIG. 1;
fig. 3 is a schematic perspective view showing an electronic device sharing a usb signal according to a second embodiment of the present invention; and
fig. 4 is a flow chart illustrating a method of operating an electronic device sharing a usb signal according to the present invention.
Description of reference numerals:
10,20: 140 sharing universal sequence bus signals: second input/output terminal
The electronic device 150: control unit
100,200: housing 151: configuring channel signals
110: the processing unit 160: switching unit
111: first universal serial bus signal 30: sharing power of USB signal
112: method of operating a second universal serial bus signal sub-device
113: general input/output signal S1: first signal transmission step
114: control signal S2: step of voltage detection
120: first input/output terminal S3: generating configuration channel signal
130: detection unit S4: second signal transmission step
131: detection signal S41: control sub-step
S42: sub-step of transmission
Detailed Description
Referring to fig. 1, a block diagram of an electronic device 10 sharing usb signals according to a first embodiment of the present invention is shown. As shown in fig. 1, the electronic device 10 sharing usb signals is used to connect to an external device (not shown) and transmit a first usb signal 111 or a second usb signal 112 to the external device. The electronic device 10 sharing usb signals includes a processing unit 110, a first input/output end 120, a detecting unit 130, a second input/output end 140, a control unit 150, and a switching unit 160.
The first input/output terminal 120 is connected to the processing unit 110 and is used for transmitting the first usb signal 111. The detecting unit 130 is connected to the processing unit 110, and the second input/output end 140 is connected to the detecting unit 130. The detecting unit 130 detects the second input/output end 140 to generate a detecting signal 131, and transmits the detecting signal 131 to the processing unit 110. The processing unit 110 generates a general purpose input/output signal 113 according to the detection signal 131. The control unit 150 is connected to the processing unit 110 via signals and receives the general input/output signal 113. The control unit 150 generates a configuration channel signal 151 according to the general purpose input/output signal 113, and transmits the configuration channel signal 151 to the processing unit 110. The switching unit 160 is connected to the second input/output terminal 140, and is connected between the processing unit 110 and the first input/output terminal 120 for transmitting a second universal serial bus signal 112 to the first input/output terminal 120. The processing unit 110 controls the switching unit 160 according to the configuration channel signal 151 and transmits a control signal 114 to the switching unit 160. The switching unit 160 transmits the second universal serial bus signal 112 to one of the first input/output end 120 and the second input/output end 140 according to the control signal 114, and the second universal serial bus signal 112 is different from the first universal serial bus signal 111.
Therefore, the first USB signal 111 is transmitted through the first input/output terminal 120, and the processing unit 110 controls the switching unit 160 according to the configuration channel signal 151, so that the second USB signal 112 can be transmitted through the first input/output terminal 120 or the second input/output terminal 140.
Referring to fig. 1 and fig. 2 together, fig. 2 is a schematic perspective view illustrating the electronic device 10 sharing usb signals of fig. 1. As shown in fig. 2, the electronic device 10 sharing usb signals may be an intelligent device, an electronic scanner or an electronic device with data access function, and includes a housing 100. The casing 100 may be square and house the processing unit 110, the first input/output end 120, the detecting unit 130, the second input/output end 140, the control unit 150 and the switching unit 160, wherein the first input/output end 120 is disposed on the surface of the front side of the casing 100, and the second input/output end 140 is disposed on the end surface of the bottom of the casing 100.
Referring to fig. 1 and fig. 3 together, fig. 3 is a schematic perspective view illustrating an electronic device 20 sharing usb signals according to a second embodiment of the present invention. The processing unit 110, the first input/output end 120, the detecting unit 130, the second input/output end 140, the control unit 150 and the switching unit 160 contained in the electronic device 20 sharing the usb signal are the same as those in the first embodiment, and are not described herein again. As shown in fig. 3, the electronic device 20 sharing usb signals includes a housing 200, and the housing 200 may be square. The first input/output terminal 120 is disposed on the outer peripheral side of the housing 200, and the second input/output terminal 140 is disposed on the end surface of the bottom of the housing 200. Specifically, the first input/output end 120 of the first embodiment may be a spring connector (POGO PIN), the first input/output end 120 of the second embodiment may be a USB Type-C connector, and the second input/output end 140 of the first and second embodiments may be POGO PIN, but the invention is not limited thereto.
When the external device supports a universal serial bus 3.1(USB3.1) and is plugged into the first input/output 120, the first input/output 120 transmits a first universal serial bus signal 111 between the external device and the processing unit 110, and the first universal serial bus signal 111 corresponds to the standard specification of the USB 3.1; when the external device supports USB2.0 and is plugged into the first i/o 120, the second USB signal 112 is transmitted to the external device via the switch unit 160 and the first i/o 120 and corresponds to the standard USB2.0 standard.
It is noted that if an external device is plugged into the second input/output end 140, the voltage level of the second input/output end 140 will change, so the processing unit 110 determines that the second input/output end 140 is a host connection end or a client connection end according to the detection signal 131. When the voltage level is a first voltage, the processing unit 110 determines that the second input/output end 140 is the host connection end; when the voltage level is a second voltage, the processing unit 110 determines that the second input/output end 140 is the client end connection end. In detail, the detecting unit 130 may be an Analog-to-Digital Converter (ADC) circuit or an IC circuit applied to detect voltage, which detects a voltage level and transmits a detection signal 131 to the processing unit 110, so that the processing unit 110 knows the port setting of the second input/output end 140 (i.e. the setting is the host connection end or the client connection end). In more detail, the predetermined voltage value of the detecting unit 130 for the voltage level is 0 volt. When the voltage level detected by the detecting unit 130 is the first voltage, the detecting unit 130 determines that the second input/output end 140 is the host connection end; when the voltage level detected by the detecting unit 130 is the second voltage, the detecting unit 130 determines that the second input/output end 140 is the client end connection end, wherein the first voltage may be 0.5 volt, and the second voltage is 3.3 volt, but the present invention is not limited thereto.
Since the processing unit 110 knows that an external device is connected to the second input/output terminal 140, it generates the general purpose input/output signal 113 according to the port setting, and then transmits the general purpose input/output signal 113 to the control unit 150 through the general purpose input/output pin (GPIO pin). The control unit 150 may be an electronic component assembly circuit or an IC Type circuit, which stores a USB Type-C standard specification and generates the configuration channel signal 151 according to the USB Type I/O signal 113 and the USB Type-C standard specification; in other words, the control unit 150 transmits the configuration channel signal 151 conforming to the USB Type-C standard specification to the configuration channel pin (CC pin) of the processing unit 110.
The processing unit 110 transmits the control signal 114 to the switching unit 160 through the GPIO pin to perform switching control of the signal to the switching unit 160. The switch unit 160 may be a signal path switching IC circuit, which sets the first input/output terminal 120 as a default input/output terminal and is controlled by the control signal 114 to change the second USB signal 112 to be transmitted to the first input/output terminal 120. It should be noted that, as described above, when the external device supporting USB2.0 is connected to the first input/output end 120 and the first input/output end 120 is not connected to any other device, the processing unit 110 can still generate another control signal 114 through the data transmission between the detecting unit 130 and the control unit 150, and transmit the other control signal to the switching unit 160 through the GPIO pin. In detail, the preset i/o is the first i/o 120, and the other control signal 114 indicates that GPIO is "0", so the switching unit 160 continues to transmit the second usb signal 112 to the first i/o 120. On the other hand, the control signal 114 generated by the external device connected to the second input/output terminal 140 indicates that GPIO is "1", and the switching unit 160 switches and transmits the second universal serial bus signal 112 to the second input/output terminal 140. Therefore, the processing unit 110 can still transmit data through the first input/output port 120 or the second input/output port 140 when only supporting the USB Type-C standard (i.e., the processing unit 110 only stores the driver of the USB Type-C).
Referring to fig. 1 and 4 together, fig. 4 is a flow chart illustrating an operation method 30 of an electronic device sharing usb signals according to the present invention. As shown in fig. 4, the method 30 for operating an electronic device sharing usb signals includes a first signal transmission step S1, a voltage detection step S2, a configuration channel signal generation step S3, and a second signal transmission step S4.
The first signal transmission step S1 is to drive the processing unit 110 to transmit the first usb signal 111 via the first input/output end 120. The voltage detecting step S2 is to drive the detecting unit 130 to detect the voltage level of the second input/output end 140 to generate the detecting signal 131, and transmit the detecting signal 131 to the processing unit 110. The processing unit 110 generates a general-purpose input/output signal 113 according to the detection signal 131. The configuration channel signal generating step S3 is that the driving control unit 150 receives the general-purpose input/output signal 113 from the processing unit 110 and generates the configuration channel signal 151 according to the general-purpose input/output signal 113. The control unit 150 transmits a configuration channel signal 151 to the processing unit 110. The second signal transmission step S4 includes a control sub-step S41 and a transmission sub-step S42. The control sub-step S41 is for the driving processing unit 110 to control the switching unit 160 according to the configuration channel signal 151 and transmit the control signal 114 to the switching unit 160. The transmission sub-step S42 is to transmit the second universal serial bus signal 112 to one of the first input/output terminal 120 and the second input/output terminal 140 according to the control signal 114 by the driving switch unit 160. Therefore, the first USB signal 111 can be transmitted through the first input/output end 120, and the second USB signal 112 can be transmitted through the first input/output end 120 or the second input/output end 140.
Although the present invention has been described with reference to the above embodiments, it should be understood that various changes and modifications can be made therein by those skilled in the art without departing from the spirit and scope of the invention.

Claims (6)

1. An electronic device sharing usb signals, comprising:
a processing unit;
a first input/output end connected to the processing unit and used for transmitting a first universal serial bus signal;
the detection unit is connected with the processing unit;
the second input/output end is connected with the detection unit, the detection unit detects the second input/output end to generate a detection signal and transmits the detection signal to the processing unit, and the processing unit generates a general input/output signal according to the detection signal;
the control unit is connected with the processing unit and receives the universal input and output signal, generates a configuration channel signal according to the universal input and output signal and transmits the configuration channel signal to the processing unit; and
the switching unit is connected between the processing unit and the first input/output end and is used for transmitting a second universal serial bus signal to the first input/output end;
the processing unit controls the switching unit according to the configuration channel signal and transmits a control signal to the switching unit, the switching unit transmits the second universal serial bus signal to one of the first input/output end and the second input/output end according to the control signal, and the second universal serial bus signal is different from the first universal serial bus signal.
2. The electronic device according to claim 1, wherein the detecting unit determines whether the second input/output terminal is a host connection terminal or a client connection terminal according to a voltage level of the second input/output terminal;
when the voltage level is a first voltage, the second input/output end is the host connection end;
when the voltage level is a second voltage, the second input/output end is the client end connection end.
3. The electronic device of claim 2, wherein the first voltage is 0.5 volts and the second voltage is 3.3 volts.
4. The electronic device of claim 1, wherein the first input/output terminal is a type C USB connector or a spring connector.
5. The electronic device of claim 1, wherein the second input/output terminal is a spring connector.
6. The electronic device of claim 1, wherein the first USB signal corresponds to a USB3.1 standard specification and the second USB signal corresponds to a USB2.0 standard specification.
CN202121269010.7U 2021-06-07 2021-06-07 Electronic device sharing universal sequence bus signal Active CN214954958U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202121269010.7U CN214954958U (en) 2021-06-07 2021-06-07 Electronic device sharing universal sequence bus signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202121269010.7U CN214954958U (en) 2021-06-07 2021-06-07 Electronic device sharing universal sequence bus signal

Publications (1)

Publication Number Publication Date
CN214954958U true CN214954958U (en) 2021-11-30

Family

ID=79052119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202121269010.7U Active CN214954958U (en) 2021-06-07 2021-06-07 Electronic device sharing universal sequence bus signal

Country Status (1)

Country Link
CN (1) CN214954958U (en)

Similar Documents

Publication Publication Date Title
RU2682911C2 (en) Reversible connector for accessory devices
US10042801B2 (en) System for detecting universal serial bus (USB) device and method thereof
US11611221B2 (en) Electronic device and accessory with quick charging and audio transmission functions
US20070075680A1 (en) Charging mode control circuit
KR20160100973A (en) Method and apparatus for charging electronic device with usb connection
CN112671084A (en) USB device and operation method thereof
US20120096286A1 (en) Charging management method, charging control circuit and the host apparatus having the same
US10614020B2 (en) Switch for reversible interface
CN214954958U (en) Electronic device sharing universal sequence bus signal
CN211403421U (en) USB and UART signal path conversion system and electronic equipment
JP2002116853A (en) Usb mounted electronic equipment and use cable to be used therefor
CN108845558B (en) Detection control device
CN113220623A (en) Electronic device sharing universal sequence bus signal and operation method thereof
CN215420573U (en) Multifunctional video signal expansion interface and display terminal
US6246600B1 (en) Multi-use battery
CN114661646A (en) Serial port switching control circuit
CN103853572A (en) Starting-up method and electronic equipment
CN114116570A (en) Electronic device control system and electronic device control method
CN216118769U (en) Type-C interface circuit and intelligent terminal equipment with same
CN220307228U (en) Gateway (GW)
CN113438546B (en) Multifunctional video signal expansion interface
CN218630761U (en) Double-blind insertion handwriting device
CN116126765B (en) Signal transmission circuit and method
CN215495009U (en) Hand-held industrial electronic device
CN109344016B (en) USB device capable of switching between host and device modes and switching method

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant