CN107506322B - Type-C adapter for realizing detection of USB equipment and channel control method - Google Patents

Type-C adapter for realizing detection of USB equipment and channel control method Download PDF

Info

Publication number
CN107506322B
CN107506322B CN201710860181.9A CN201710860181A CN107506322B CN 107506322 B CN107506322 B CN 107506322B CN 201710860181 A CN201710860181 A CN 201710860181A CN 107506322 B CN107506322 B CN 107506322B
Authority
CN
China
Prior art keywords
signal
connector
usb3
data
adapter
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
CN201710860181.9A
Other languages
Chinese (zh)
Other versions
CN107506322A (en
Inventor
陶成
尹超
韩旗
陈余
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lontium Semiconductor Technology Co ltd
Original Assignee
Shenzhen Lontium Semiconductor Technology 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 Lontium Semiconductor Technology Co ltd filed Critical Shenzhen Lontium Semiconductor Technology Co ltd
Priority to CN201710860181.9A priority Critical patent/CN107506322B/en
Priority to TW106135041A priority patent/TWI651615B/en
Publication of CN107506322A publication Critical patent/CN107506322A/en
Application granted granted Critical
Publication of CN107506322B publication Critical patent/CN107506322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Abstract

The embodiment of the application discloses an USB Type-C adapter for realizing detection of USB equipment, which is characterized in that a first grounding signal in a first connector is obtained, whether USB3.X equipment is mounted or not is judged according to the first grounding signal, the first grounding signal is used as an independent signal, namely, the grounding signal is not in short circuit with other grounding signals, so that when the USB3.X equipment is mounted, the first grounding signal is set as a grounding signal, when the USB3.X equipment is not mounted, the first grounding signal is a non-grounding signal, whether the first connector is mounted or not can be judged through the signal, further, whether a data channel is redistributed or not is determined through the signal, when the USB3.X equipment is mounted on the first connector, the USB3.X data and video data can be transmitted simultaneously through the redistributed channels, and when the USB3.X equipment is not mounted on the first connector, the transmission of all data channels to the video data is restored, and therefore, the requirements of functional diversity and flexibility in the data transmission are met.

Description

Type-C adapter for realizing detection of USB equipment and channel control method
Technical Field
The application relates to the field of video data transmission, in particular to a USB Type-C adapter for realizing detection of USB equipment and a channel control method thereof.
Background
The USB Type-C interface has the characteristics of higher transmission speed, stronger power transmission capability, support of double-sided plug-in connection and the like, is a main stream choice of the current electronic equipment interfaces, and more electronic equipment are provided with the USB Type-C interface.
The USB Type-C adapter converts the interface of USB Type-C into an interface of other video signals, and also has a USB interface, where the video signal interface is, for example, DP (Display Port), VGA (Video Graphics Array) or HDMI (High Definition Multimedia Interface, high-definition multimedia interface) interface, so that multimedia data on a source device can be output to a display device through a conventional video signal interface, and can be used for data transmission.
In the application of the USB Type-C adapter, the allocation of the data channels is fixed during the initialization of the system configuration, and the data channels cannot be reallocated according to different application scenarios, for example, the specific allocation manner of the data channels is as follows: when transmitting video data, all data channels are used for video transmission; when usb3.X data is transmitted, all data channels are used for transmission of usb3.X data, which cannot meet the requirement of simultaneously transmitting usb3.X data and video data; the specific allocation mode of the data channel is as follows: some of the data channels are used for transmitting the USB3.X data, and other data channels are used for transmitting the video data, so that the requirement of simultaneously transmitting the USB3.X data and the video data can be met, but when only the video data is required to be transmitted, part of the data channels still transmit, and the transmission of part of the data channels can reduce the resolution of video transmission and affect the video quality. In this way, once the application mode of the channel is determined, the transmission mode is fixed, and the corresponding transmission mode cannot be determined according to the use state of the adapter, and the mode cannot meet the requirements of users on functional diversity and flexibility of the adapter.
Disclosure of Invention
The application provides a USB Type-C adapter for realizing detection of USB equipment and a channel control method thereof, which meet the requirements of function diversification and flexibility.
The USB Type-C adapter is used for realizing detection of USB equipment, one end of the adapter is a USB Type-C port, the other end of the adapter is a first connector of USB3.X and a second connector of video data, and the adapter is used for transmitting USB3.X data to the first connector and transmitting video data to the second connector through four pairs of differential pair data channels of the USB Type-C port; further comprises:
the first connector state determining module is used for acquiring a first grounding signal in the first connector, determining and outputting a state signal of the first connector according to the first grounding signal, wherein the state signal represents whether the first connector is mounted by USB3.X equipment or not, and the first grounding signal is a seventh pin or shell signal and is an independent signal;
the channel control module is used for judging whether the four pairs of differential data channels are occupied or not when the state signal is represented as the mounting of the USB3.X equipment, and if so, reallocating the data channels so that one part of the four pairs of differential data channels is used for transmitting the USB3.X data and the other part is used for continuously transmitting the video data; and reallocating the data channels when the status signal indicates a transition from mounted to non-mounted by the usb3.X device, such that the four pairs of differential data channels are all used for transmitting video data.
Optionally, the first connector state determining module includes:
and one input end of the first comparator is connected with a first reference voltage, the other input end of the first comparator is connected with a first grounding signal and is connected with a first power supply through a first pull-up resistor, and the voltage of the first power supply is larger than the first reference voltage.
Optionally, the adapter is further configured to transmit USB2.0 data to a first connector through a d+/D-data channel of a USB Type-C port, and the first ground signal is a ground signal of a seventh pin in the first connector.
Optionally, the first connector state determining module is further configured to obtain a second ground signal in the first connector, where the second ground signal is an independent signal and is a shell signal of the first connector; then the first time period of the first time period,
the determining and outputting the status signal of the first connector according to the first grounding signal includes:
and determining and outputting a state signal of the first connector according to the first grounding signal and the second grounding signal, wherein the state signal is whether the first connector is mounted by the USB3.X equipment or not and whether the first connector is mounted by the USB2.0 equipment or not.
Optionally, the first connector state determining module further includes:
and one input end of the second comparator is connected with a second reference voltage, the other input end of the second comparator is connected with a second grounding signal and is connected with a second power supply through a second pull-up resistor, and the voltage of the second power supply is larger than the second reference voltage.
Optionally, the method further comprises: and the USB Type-C connector is connected with the USB Type-C port.
Optionally, the video data includes DP, VGA or HDMI data.
A channel control method of an USB Type-C adapter, wherein one end of the adapter is an USB Type-C port, the other end of the adapter is a first connector of USB3.X and a second connector of video data, and the adapter is used for transmitting USB3.X data to the first connector and transmitting video data to the second connector through four pairs of differential pair data channels of the USBTtype-C port; the adapter further comprises a first connector state determining module, a second connector state determining module and a third connector state determining module, wherein the first connector state determining module is used for acquiring a first grounding signal in a first connector, determining and outputting a state signal of the first connector according to the first grounding signal, the state signal represents whether the first connector is mounted by USB3.X equipment, and the first grounding signal is a seventh pin or shell signal and is an independent signal; the channel control method comprises the following steps:
judging whether the state signal is mounted on USB3.X equipment or not;
when the state signal is represented as the mounting of USB3.X equipment, judging whether the four pairs of differential data channels are occupied or not;
if yes, reallocating the data channels, so that one part of the four pairs of differential data channels is used for transmitting USB3.X data, and the other part is used for continuing to transmit video data;
when the status signal indicates that the usb3.X device is changed from mounted to non-mounted, the data channels are reassigned such that the four pairs of differential data channels are all used to transmit video data.
According to the USB Type-C adapter for realizing detection of the USB equipment and the channel control method thereof, the first grounding signal in the first connector is obtained, whether the USB3.X equipment is mounted or not is judged according to the first grounding signal, the first grounding signal is used as an independent signal, that is, the grounding signal is not in short circuit with other grounding signals, so that when the USB3.X equipment is mounted, the first grounding signal is set as a grounding signal, when the USB3.X equipment is not mounted, the first grounding signal is a non-grounding signal, whether the first connector is mounted or not can be judged through the signal, further, whether a data channel is redistributed or not is determined through the signal, when the USB3.X equipment is mounted on the first connector, the channel is redistributed, so that USB3.X data and video data can be transmitted simultaneously, and when the USB3.X equipment is not mounted on the first connector, transmission of all data channels to video data is restored, and therefore, the requirements of functional diversification and flexibility in data transmission are met.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic diagram of a USB Type-C adapter according to an embodiment of the present application;
fig. 2 is a schematic diagram of pin distribution and connection structure of the usb3.X connector;
FIG. 3 is a schematic diagram illustrating a configuration of a first connector status determination module in a USB Type-C adapter according to an embodiment of the present application;
fig. 4 is a flowchart of a channel control method of an USB Type-C adapter according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
As described in the background art, in the USB Type-C adapter application, the allocation of the data channels is fixed during the initialization of the system configuration, and the data channels cannot be reallocated according to different application scenarios, so the present application provides a USB Type-C adapter to meet the requirements of functional diversity and flexibility in data transmission.
In order to better understand the technical scheme of the application, each data port of the USB Type-C is described first. The ports of USB Type-C include four pairs of differential pair data channels, D+/D-, sideband channels SBU1/SBU2, configuration channels CC and V CONN Etc. The four pairs of differential pair data channels are respectively: TX1+/TX1-, TX2+/TX1-, RX1+/RX1-, RX2+/RX2-, are high-speed data channels, support USB3.X data transmission by default, are high-speed data ports, can reach 10Gb/s at the highest data rate, and can also be used for transmitting DP or HDMI video data, wherein the USB3.X data comprises USB3.0 or USB3.1 data. D+/D-is used to transfer USB2.0 data. The Side Band channels SBU1/SBU2 (SBU) are auxiliary signal ports. CC (Configuration Channel) is a configuration channel, which is connected with V CONN The host computer that together is Type-C judges USBType-C adapter insert direction and for the adapter provides power, after judging Type-C adapter inserts, will be at V CONN Typically 5V to provide an operating voltage for the Type-C adapter.
The USB Type-C adapter is a switching device of a USB Type-C port, a USB port and a video data port, referring to fig. 1, one end of the adapter 01 is a USB Type-C port, the USB Type-C port is connected to the USB Type-C connector 02, the other end of the adapter 01 is a USB3.X connector 400 and a video data connector 500, for convenience of description, the USB3.X connector 400 is denoted as a first connector, and the video data connector 500 is denoted as a second connector.
Generally, the USB Type-C connector 02 may be a male connector, and is connected to the host 03 of the USB Type-C, that is, the source data device, for example, may be a personal computer, a notebook computer, a tablet computer, a server, a mobile phone or other devices provided with active data, etc., the first connector 400 and the second connector 500 may be female connectors, the first connector 400 is used for connecting with a USB device, which may be a USB storage device or other electronic devices such as a personal computer, a notebook computer, a tablet computer or a mobile phone with a USB interface, and the second connector 500 is used for connecting with the video display device 05, and the video display device 05 may be a display device or other electronic devices such as a personal computer, a television, a notebook computer, a tablet computer or a mobile phone with a display device.
In the present application, the adapter 01 is used for transmitting USB3.X data to the first connector 400 and transmitting video data to the second connector 500 through four pairs of differential pair data channels of USB Type-C ports, and according to different designs, the adapter 01 may be composed of different units to realize the transmission function of the USB3.X data and the video data. In some specific embodiments, referring to fig. 1, the adapter 01 includes a control unit 100 and a transmission module 200, the transmission module 200 includes a USB3.X data transmission module 202 and a video data transmission module 201, and the control unit 100 is connected to a CC channel and a V of a USB Type-C port CONN And SBU1/SBU2 channels for connection detection, USB-PD communication control, AUX communication control, protocol management, and other processing; one end of the USB3.X data transmission module 202 is connected to four pairs of differential data channels of the USB Type-C port, and the other end is connected to the connector 400 of the USB3.X, for transmission of USB3.X data, the USB3.X data transmission module 202 may be a passive data bypass switch, and under the control of the control unit 100, only part of the data channels or all of the data channels may be connected to perform transmission of USB3.X data; the video data transmission module 201 has one end connected to the four pairs of differential data channels of the USB Type-C port, and the other end connected to the second connector 500 of the video data, for processing or converting the input video signal into an output video signal, for example, a DP, VGA or HDMI video data signal. Under the control of the control unit 100, the usb3.X data and the video data are transmitted through the usb3.X data transmission module and the video data transmission module. The control unit 100 may be a separate chip module, or may be a chip module integrated with the usb3.X data transmission module 202 and the video data transmission module 201, and the present application is not limited in its form.
In addition, in order to better be compatible with USB2.0 data, in the embodiment of the present application, the adapter 01 is further used for transmitting USB2.0 data, and USB2.0 data may be directly transmitted to the first connector 400 through the d+/D-data channel of the USB Type-C port.
In this embodiment of the present application, the adapter 01 further includes a first connector status determining module 500 and a channel control module 101, which may be disposed in the control unit 100, where the first connector status determining module 500 is configured to obtain a first ground signal in the first connector 400, and determine and output, according to the first ground signal, a status signal of the first connector 400, where the status signal indicates whether the first ground signal is mounted by the usb3.X device, and the first ground signal is a signal of a seventh pin or a signal of the housing is an independent signal. The channel control module is used for judging whether the four pairs of differential data channels are occupied or not when the state signal is represented as the mounting of the USB3.X equipment, and if so, reallocating the data channels so that one part of the four pairs of differential data channels is used for transmitting the USB3.X data and the other part is used for continuously transmitting the video data; and reallocating the data channels when the status signal indicates a transition from mounted to non-mounted by the usb3.X device, such that the four pairs of differential data channels are all used for transmitting video data.
Referring to fig. 2, fig. 2 (a) is a schematic diagram of pin distribution structure of a connector of USB3.X, where the connector of USB3.X is compatible with USB2.0 data connection, when the connector is used for USB2.0 data connection, only the first pin to the fourth pin are occupied, the fifth pin to the ninth pin are suspended, and when the connector is used for USB3.X data connection, all pins are occupied.
The usb3.X connector has three ground signals, namely a seventh pin gnd_draw, a fourth pin GND, and a SHELL of the connector. In some embodiments, when the connector of usb3.X of the adapter is only used for connection of usb3.X data, wherein the fourth pin GND is a ground terminal, the seventh pin gnd_draw of the three ground signals and the SHELL of the connector may be used to determine the first ground signal of the status signal of the first connector, that is, the first ground signal may be any one of the ground signals of the seventh pin gnd_draw and the SHELL of the connector. The first ground signal is an independent signal, i.e. the signal is not shorted to other ground signals, but is only an independent signal, so that the signal is set as a ground signal only when the device is mounted. Referring to fig. 2 (B), the connection state of the first connector when the usb3.X device is mounted is shown in fig. 2 (B), because the first ground signal is an independent signal, the first ground signal is set to a ground signal only when the usb3.X device is mounted, and the first ground signal is set to a non-ground signal when the usb3.X device is not mounted. Thus, a status signal of whether the first connector is mounted can be determined by the signal, and further, whether to reallocate the data channel is determined by the status signal.
In other embodiments, when the USB3.X connector 400 of the adapter is used for both USB3.X data connection and USB2.0 data connection, the device mounted on the first connector 400 may be a USB2.0 device or a USB3.X device, and the USB2.0 device transmits data through the d+/D-data channel, without sharing the data channel with video transmission, only when the USB3.X device is mounted, and therefore, when the first connector 400 is mounted, it needs to be determined whether the USB2.0 device or the USB3.X device is mounted. Referring to fig. 2 (B) and (C), the seventh pin gnd_draw is occupied only when the USB3.X device is mounted, and when the USB2.0 device is mounted, the first connector state determining module may determine two ground signals, the first ground signal is a ground signal of the seventh pin gnd_draw, the second ground signal is a ground signal of the first connector SHELL, and the two ground signals are independent signals, i.e. are not shorted with other normal ground signals, so that when the first ground signal and the second ground signal are both ground signals, the USB3.X device is mounted, and when the second ground signal is a ground signal and the first ground signal is a non-ground signal, the USB2.0 device is mounted, and when the first ground signal and the second ground signal are both non-ground signals, the USB2.0 device is not mounted. Thus, by identifying these two ground signals, a status signal of the first connector can be determined, which refers to whether it is mounted by the USB3.X device and whether it is mounted by the USB2.0 device.
In a preferred embodiment of the present application, the first connector state determining module is a circuit module including a comparator through which state information of the connector is acquired and output. Referring to fig. 3, the first connector state determining module includes a first comparator 501A for acquiring and outputting a first ground signal, and may further include a second comparator 501B for acquiring and outputting a second ground signal.
Specifically, as shown in fig. 3, one input end of the first comparator 501A is connected to the first reference voltage VREF1, the other input end is connected to the first ground signal, and is connected to the first power supply VCC1 through the first pull-up resistor Ru1, and the voltage of the first power supply VCC1 is greater than the first reference voltage VREF1. In this specific embodiment, the first reference voltage VREF1 is connected to the positive input terminal of the first comparator 501A, the first ground signal and the first pull-up resistor Ru1 are connected to the negative input terminal of the first comparator 501A, and when no usb3.X device is mounted, the negative input terminal is maintained at the voltage VCC1 of the first power supply by the pull-up resistor Ru1, and since the first power supply VCC1 is greater than the reference voltage VREF1, the first comparator VREF1 outputs U3 CON 0, when the usb3.X device is mounted, the first ground signal is grounded, the negative input terminal is pulled down to the ground voltage by the ground signal, the reference voltage is a non-ground voltage, and is greater than the ground voltage, and at this time, the first comparator outputs U3 CON 1. In this particular example, the first ground signal is the signal of the seventh pin gnd_drain.
One input end of the second comparator 501B is connected to the second reference voltage VREF2, the other input end is connected to the second ground signal, and is connected to the second power supply VCC2 through the second pull-up resistor Ru2, and the voltage of the second power supply VCC2 is greater than the second reference voltage VREF2. In this specific embodiment, the second reference voltage is connected to the positive input terminal of the second comparator 501B, the second ground signal and the second pull-up resistor Ru2 are connected to the negative input terminal of the second comparator 501B, and when no USB2.0 or USB3.x device is mounted, the negative input terminal is pulled up by the pull-up resistorRu2 maintains the voltage at the end at the voltage VCC2 of the second power supply, and since the second power supply VCC2 is larger than the second reference voltage VREF2, the second comparator outputs UX CON 0, and when USB2.0 equipment or USB3.X equipment is mounted, the second grounding signal is grounded, the negative input end is pulled down to grounding voltage by grounding signal, the reference voltage is ungrounded voltage and is greater than grounding voltage, at this time, the second comparator outputs UX CON 1. In this particular example, the second ground signal is a signal of the connector housing SHELL.
When the first connector is only used for connection of USB3.X data, the state information of whether the USB3.X device is mounted or not can be obtained and output through the first comparator, and in the specific example, the output U3 of the first comparator CON When 1, it indicates that the first connector is USB3.X device, U3 CON When the value is 0, mounting the USB3.X equipment; and when the first connector is used for connecting the USB3.X data and the USB2.0 data, the status signals of whether the USB3.X device is mounted and whether the USB2.0 device is mounted are obtained and output through the first comparator and the second comparator, in the specific example, when the output U3 of the first comparator is used for CON Is 1 and the output UX of the second comparator CON When 1, it indicates that the first connector 400 is mounted by the usb3.X device, and when the output U3 of the first comparator is CON Is 0 and the output UX of the second comparator CON When 1 is the first connector 400 is mounted by the USB2.0 device, when the output U3 of the first comparator is CON Is 0 and the output UX of the second comparator CON When 0, it indicates that the first connector 400 is not mounted.
Because the status signal of whether the first connector is mounted by the usb3.X device can be obtained, the control of the data transmission channel can be further controlled according to the status signal, so as to meet different needs, in specific channel control, the status signal can be obtained in real time, when the status signal indicates that the usb3.X device is mounted, whether four pairs of differential data channels are occupied or not is continuously judged, if yes, the transmission of video data is performed at the moment, and if the distribution of the data channels is performed again, so that one part of the four pairs of differential data channels is used for transmitting the usb3.X data, and the other part of the four pairs of differential data channels is used for continuously transmitting the video data. Specifically, the data source device may be informed to reduce the video resolution by means of USB-PD/AUX communication, two pairs of differential data channels are used to transmit video data, and the other two pairs of differential data channels are used to transmit USB3.X data, and then, the video data is transmitted in two data channels in a low resolution manner, and the other two data channels simultaneously transmit USB3.X data.
In the whole transmission, continuously acquiring a state signal, when the state signal is changed, and when the state signal indicates that the usb3.X device is changed from the mounted state to the non-mounted state, the usb3.X data transmission is finished, and then, the data channels are allocated again, so that the four pairs of differential data channels are all used for transmitting video data. Specifically, the data source device can be informed to perform video transmission again in a high-resolution mode through a USB-PD/AUX communication mode, and four pairs of differential data channels are reused for video data transmission.
In the above description of the embodiment of the adapter of the present application, in this solution, the first ground signal in the first connector is obtained, and it is determined according to the first ground signal whether the usb3.X device is mounted, where the first ground signal is used as an independent signal, that is, the ground signal is not shorted with other ground signals, so when the usb3.X device is mounted, the first ground signal is set as a ground signal, and when the usb3.X device is not mounted, the first connector is not mounted, it is determined by the signal whether the first connector is mounted, and further, whether to reallocate the data channels is determined by the signal, when the usb3.X device is mounted in the first connector, by reallocating the channels, the usb3.X data and the video data can be simultaneously transmitted, and when the usb3.X device is not mounted in the first connector, the video data transmission of all the data channels is restored, thereby meeting the requirements of functional diversity and flexibility in the data transmission.
In addition, the application also provides a channel control method of the USBType-C adapter, wherein one end of the USBType-C adapter is a USB Type-C port, the other end of the USB3.X first connector and a video data second connector, and the adapter is used for transmitting USB3.X data to the first connector and transmitting video data to the second connector through four pairs of differential pair data channels of the USBType-C port; the adapter is characterized by further comprising a first connector state determining module, wherein the first connector state determining module is used for acquiring a first grounding signal in a first connector, determining and outputting a state signal of the first connector according to the first grounding signal, the state signal indicates whether the first connector is mounted by USB3.X equipment, and the first grounding signal is a seventh pin or shell signal and is an independent signal.
The adaptor is the same as the adaptor in the above embodiments, and will not be described here again. Since the adapter is capable of determining a status signal of whether the first connector is mounted by the usb3.X device, according to the status signal, channel control may be further performed, and referring to fig. 4, the channel control method includes:
s401, judging whether the state signal is mounted on USB3.X equipment;
when the status signal indicates that the usb3.X device is mounted, S402, determining whether the four pairs of differential data channels are occupied;
if yes, S403, reassigning the data channels such that one part of the four pairs of differential data channels is used for transmitting usb3.X data, and another part is used for continuing transmitting video data;
s404, judging whether the state signal is changed from the USB3.X equipment mounting to non-mounting, if so, reallocating the data channels so that the four pairs of differential data channels are all used for transmitting video data, and if so, transmitting the video data.
The method for controlling the channel can be executed in a control unit of the adapter, the state signal is transmitted to the control unit, and the control unit monitors the state signal so as to control the channel, and the detailed description is the same as the description of the channel control.
Further, the first connector state determining module includes: and one input end of the first comparator is connected with a first reference voltage, the other input end of the first comparator is connected with a first grounding signal and is connected with a first power supply through a first pull-up resistor, the voltage of the first power supply is larger than the first reference voltage, and the state signal is an output signal of the first comparator.
Further, the adapter is further configured to transmit USB2.0 data to a first connector through a d+/D-data channel of a USB Type-C port, where the first ground signal is a ground signal of a seventh pin in the first connector.
Further, the first connector state determining module is further configured to obtain a second ground signal in the first connector, where the second ground signal is an independent signal and is a shell signal of the first connector; then the first time period of the first time period,
the determining and outputting the status signal of the first connector according to the first grounding signal includes:
and determining and outputting a state signal of the first connector according to the first grounding signal and the second grounding signal, wherein the state signal is whether the first connector is mounted by the USB3.X equipment or not and whether the first connector is mounted by the USB2.0 equipment or not.
Further, the first connector state determining module further includes:
and one input end of the second comparator is connected with a second reference voltage, the other input end of the second comparator is connected with a second grounding signal and is connected with a second power supply through a second pull-up resistor, the voltage of the second power supply is larger than the second reference voltage, and the state signal is an output signal of the first comparator and the second comparator.
The system embodiments described above are merely illustrative, in which the modules or units illustrated as separate components may or may not be physically separate, and components shown as modules or units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present application without undue burden.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. The USB Type-C adapter is used for realizing detection of USB equipment, one end of the adapter is a USB Type-C port, the other end of the adapter is a first connector of USB3.X and a second connector of video data, and the adapter is used for transmitting USB3.X data to the first connector and transmitting video data to the second connector through four pairs of differential pair data channels of the USB Type-C port; characterized by further comprising:
the first connector state determining module is used for acquiring a first grounding signal in the first connector, determining and outputting a state signal of the first connector according to the first grounding signal, wherein the state signal represents whether the first connector is mounted by USB3.X equipment or not, and the first grounding signal is a seventh pin or shell signal and is an independent signal;
the channel control module is used for judging whether the four pairs of differential data channels are occupied or not when the state signal is represented as the mounting of the USB3.X equipment, and if so, reallocating the data channels so that one part of the four pairs of differential data channels is used for transmitting the USB3.X data and the other part is used for continuously transmitting the video data; and reallocating the data channels when the status signal indicates a transition from mounted to non-mounted by the usb3.X device, such that the four pairs of differential data channels are all used for transmitting video data.
2. The adapter of claim 1 wherein the first connector state determination module comprises:
and one input end of the first comparator is connected with a first reference voltage, the other input end of the first comparator is connected with a first grounding signal and is connected with a first power supply through a first pull-up resistor, the voltage of the first power supply is larger than the first reference voltage, and the state signal is an output signal of the first comparator.
3. The adapter of claim 1 or 2, further configured to transmit USB2.0 data to a first connector via a d+/D-data path of a USB Type-C port, wherein the first ground signal is a ground signal of a seventh pin in the first connector.
4. The adapter of claim 3 wherein the first connector state determination module is further configured to obtain a second ground signal in a first connector, the second ground signal being an independent signal and being a housing signal of the first connector; then the first time period of the first time period,
the determining and outputting the status signal of the first connector according to the first grounding signal includes:
and determining and outputting a state signal of the first connector according to the first grounding signal and the second grounding signal, wherein the state signal is whether the first connector is mounted by the USB3.X equipment or not and whether the first connector is mounted by the USB2.0 equipment or not.
5. The adapter of claim 4 wherein the first connector state determination module further comprises:
and one input end of the second comparator is connected with a second reference voltage, the other input end of the second comparator is connected with a second grounding signal and is connected with a second power supply through a second pull-up resistor, the voltage of the second power supply is larger than the second reference voltage, and the state signals are output signals of the first comparator and the second comparator.
6. A channel control method of an USB Type-C adapter, wherein one end of the adapter is an USB Type-C port, the other end of the adapter is a first connector of USB3.X and a second connector of video data, and the adapter is used for transmitting USB3.X data to the first connector and transmitting video data to the second connector through four pairs of differential pair data channels of the USB Type-C port; the adapter is characterized by further comprising a first connector state determining module, wherein the first connector state determining module is used for acquiring a first grounding signal in a first connector, determining and outputting a state signal of the first connector according to the first grounding signal, the state signal indicates whether the first connector is mounted by USB3.X equipment, and the first grounding signal is a seventh pin or shell signal and is an independent signal; the channel control method comprises the following steps:
judging whether the state signal is mounted on USB3.X equipment or not;
when the state signal is represented as the mounting of USB3.X equipment, judging whether the four pairs of differential data channels are occupied or not;
if yes, reallocating the data channels, so that one part of the four pairs of differential data channels is used for transmitting USB3.X data, and the other part is used for continuing to transmit video data;
when the status signal indicates that the usb3.X device is changed from mounted to non-mounted, the data channels are reassigned such that the four pairs of differential data channels are all used to transmit video data.
7. The method of claim 6, wherein the first connector state determination module comprises:
and one input end of the first comparator is connected with a first reference voltage, the other input end of the first comparator is connected with a first grounding signal and is connected with a first power supply through a first pull-up resistor, the voltage of the first power supply is larger than the first reference voltage, and the state signal is an output signal of the first comparator.
8. The method of claim 6 or 7, wherein the adapter is further configured to transmit USB2.0 data to a first connector via a d+/D-data path of a USB Type-C port, the first ground signal being a ground signal of a seventh pin in the first connector.
9. The method of claim 8, wherein the first connector state determination module is further configured to obtain a second ground signal in a first connector, the second ground signal being an independent signal and being a housing signal of the first connector; then the first time period of the first time period,
the determining and outputting the status signal of the first connector according to the first grounding signal includes:
and determining and outputting a state signal of the first connector according to the first grounding signal and the second grounding signal, wherein the state signal is whether the first connector is mounted by the USB3.X equipment or not and whether the first connector is mounted by the USB2.0 equipment or not.
10. The method of claim 9, wherein the first connector state determination module further comprises:
and one input end of the second comparator is connected with a second reference voltage, the other input end of the second comparator is connected with a second grounding signal and is connected with a second power supply through a second pull-up resistor, the voltage of the second power supply is larger than the second reference voltage, and the state signals are output signals of the first comparator and the second comparator.
CN201710860181.9A 2017-09-21 2017-09-21 Type-C adapter for realizing detection of USB equipment and channel control method Active CN107506322B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710860181.9A CN107506322B (en) 2017-09-21 2017-09-21 Type-C adapter for realizing detection of USB equipment and channel control method
TW106135041A TWI651615B (en) 2017-09-21 2017-10-13 A usb type-c adapter and the channel control method for performing usb device detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710860181.9A CN107506322B (en) 2017-09-21 2017-09-21 Type-C adapter for realizing detection of USB equipment and channel control method

Publications (2)

Publication Number Publication Date
CN107506322A CN107506322A (en) 2017-12-22
CN107506322B true CN107506322B (en) 2023-09-29

Family

ID=60698115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710860181.9A Active CN107506322B (en) 2017-09-21 2017-09-21 Type-C adapter for realizing detection of USB equipment and channel control method

Country Status (1)

Country Link
CN (1) CN107506322B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552656B (en) * 2020-05-20 2022-11-15 深圳市广和通无线股份有限公司 Development board Type-C interface connection circuit
CN111651393A (en) * 2020-06-24 2020-09-11 广西世纪创新显示电子有限公司 TYPE-C interface circuit
CN112486864A (en) * 2020-11-20 2021-03-12 广州朗国电子科技有限公司 Automatic adjustment method for Type-C information source transmission picture, electronic equipment and storage medium
CN114185827B (en) * 2022-02-14 2023-03-14 长芯盛(武汉)科技有限公司 Active cable

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1157683A (en) * 1994-07-25 1997-08-20 西门子公司 Videophone communication connection and control process
CN1574744A (en) * 2003-05-01 2005-02-02 创世纪微芯片公司 Method of real time optimizing multimedia packet transmission rate
CN101047429A (en) * 2006-05-10 2007-10-03 华为技术有限公司 Method of resource distribution
CN101835163A (en) * 2010-02-10 2010-09-15 华为技术有限公司 Channel allocation method and device and base station control equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7088741B2 (en) * 2003-05-01 2006-08-08 Genesis Microchip Inc. Using an auxilary channel for video monitor training
WO2007125175A2 (en) * 2006-05-02 2007-11-08 Ant - Advanced Network Technologies Oy Method and system for wireless real-time transmission of multichannel audio or video data
WO2016061683A1 (en) * 2014-10-21 2016-04-28 Icron Technologies Corporation Devices and methods for providing reduced bandwidth displayport communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1157683A (en) * 1994-07-25 1997-08-20 西门子公司 Videophone communication connection and control process
CN1574744A (en) * 2003-05-01 2005-02-02 创世纪微芯片公司 Method of real time optimizing multimedia packet transmission rate
CN101047429A (en) * 2006-05-10 2007-10-03 华为技术有限公司 Method of resource distribution
CN101835163A (en) * 2010-02-10 2010-09-15 华为技术有限公司 Channel allocation method and device and base station control equipment

Also Published As

Publication number Publication date
CN107506322A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
CN108259803B (en) Electronic terminal device, television terminal, signal input circuit and method
CN107506322B (en) Type-C adapter for realizing detection of USB equipment and channel control method
US9886413B2 (en) Displayport over USB mechanical interface
US9934176B2 (en) Transceiver multiplexing over USB type-C interconnects
CN109155494B (en) Dual-purpose connector for separable portions of a computing device
US10339089B2 (en) Enhanced communications over a universal serial bus (USB) type-C cable
KR102136068B1 (en) Control method for usb interface and electronic device supporting the same
KR101682611B1 (en) Cable with circuitry for communicating performance information
US20080084834A1 (en) Multiplexed connection interface for multimedia serial data transmission
US9197340B2 (en) Connector and interface circuit for simultaneous content streaming and user data from handheld devices
US10162784B2 (en) Adapter for transmitting signals
US11101607B1 (en) Connector and method for charging control with the connector
WO2021093627A1 (en) Electronic device, and electronic device interface control method and system
CN109346883B (en) System for realizing positive and negative insertion of Type-C interface
US9584919B2 (en) Interface switching system and method for switching operation mode
US9465764B2 (en) Interface extension device compatible with USB 2.0 and USB 3.0 standards
TWI651615B (en) A usb type-c adapter and the channel control method for performing usb device detection
EP3637270A1 (en) External electrical connector and computer system
US8583849B2 (en) Signal switch connector set applied to motherboard of computer system
CN207164746U (en) A kind of USB Type C adapters for realizing USB device detection
KR20160050667A (en) Display system and converting apparatus
CN210111096U (en) Interface and electronic equipment
CN117492525B (en) USB expansion device, bandwidth management method, and readable storage medium
CN217134842U (en) Wire concentrator
CN216352296U (en) Interface circuit, data transmission line, intelligent glasses and control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant