TWI651615B - A usb type-c adapter and the channel control method for performing usb device detection - Google Patents

A usb type-c adapter and the channel control method for performing usb device detection Download PDF

Info

Publication number
TWI651615B
TWI651615B TW106135041A TW106135041A TWI651615B TW I651615 B TWI651615 B TW I651615B TW 106135041 A TW106135041 A TW 106135041A TW 106135041 A TW106135041 A TW 106135041A TW I651615 B TWI651615 B TW I651615B
Authority
TW
Taiwan
Prior art keywords
connector
signal
usb
data
adapter
Prior art date
Application number
TW106135041A
Other languages
Chinese (zh)
Other versions
TW201915726A (en
Inventor
陶成
尹超
韓旗
陳餘
Original Assignee
大陸商深圳朗田畝半導體科技有限公司
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
Priority claimed from CN201710860181.9A external-priority patent/CN107506322B/en
Priority claimed from CN201721220427.8U external-priority patent/CN207164746U/en
Application filed by 大陸商深圳朗田畝半導體科技有限公司 filed Critical 大陸商深圳朗田畝半導體科技有限公司
Application granted granted Critical
Publication of TWI651615B publication Critical patent/TWI651615B/en
Publication of TW201915726A publication Critical patent/TW201915726A/en

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

本發明實施例公開了一種實現USB設備檢測的USB Type-C轉接器,獲取第一連接器中的第一接地信號,根據該第一接地信號判斷USB3.X設備是否被掛載,第一接地信號作為獨立信號,也就是說該接地信號不與其他接地信號短接在一起,這樣,有USB3.X設備掛載時,該第一接地信號被置為地信號,而當沒有USB3.X設備掛載時,為非地信號,藉由該信號可以判斷第一連接器是否被掛載,進而,藉由該信號來確定是否重新分配資料通道,當第一連接器有USB3.X設備掛載時,藉由重新分配通道,使得USB3.X資料和視頻資料可以同時傳輸,而當第一連接器沒有USB3.X設備掛載時,恢復所有資料通道對視頻資料的傳輸,從而,滿足資料傳輸中功能多樣化和靈活性的需求。 The embodiment of the invention discloses a USB Type-C adapter for implementing USB device detection, acquiring a first ground signal in the first connector, and determining whether the USB 3.X device is mounted according to the first ground signal, first The ground signal is used as an independent signal, that is, the ground signal is not short-circuited with other ground signals, so that when a USB3.X device is mounted, the first ground signal is set to the ground signal, and when there is no USB3.X When the device is mounted, it is a non-ground signal. The signal can be used to determine whether the first connector is mounted. Further, the signal is used to determine whether to re-allocate the data channel. When the first connector has a USB 3.X device At the time of loading, the USB3.X data and video data can be simultaneously transmitted by redistributing the channel, and when the first connector is not mounted by the USB3.X device, the transmission of the video data by all the data channels is resumed, thereby satisfying the data. The need for versatility and flexibility in transmission.

Description

實現USB設備檢測的Type-C轉接器、通道控制方法 Type-C adapter and channel control method for implementing USB device detection

本發明涉及視頻資料傳輸領域,尤其涉及一種實現USB設備檢測的USB Type-C轉接器及其通道控制方法。 The present invention relates to the field of video data transmission, and in particular to a USB Type-C adapter for implementing USB device detection and a channel control method thereof.

USB Type-C介面具有更快傳送速率、更強電力傳輸能力以及支援雙面插接等特點,是目前電子設備介面的一個主流選擇,越來越多的電子設備上都配備了USB Type-C介面。 The USB Type-C interface features fast transfer rate, enhanced power transfer capability, and support for double-sided plug-in. It is currently a mainstream choice for electronic device interfaces. More and more electronic devices are equipped with USB Type-C. interface.

USB Type-C轉接器將USB Type-C的介面轉換為其他視訊訊號的介面,同時還具有USB介面,視訊訊號介面例如DP(Display Port)、VGA(Video Graphics Array)或HDMI(High Definition Multimedia Interface,高清晰度多媒體介面)介面等,這樣,可以將源設備上的多媒體資料藉由傳統的視訊訊號介面輸出到顯示裝置上,同時還可以用於資料的傳輸。 The USB Type-C adapter converts the USB Type-C interface to other video signal interfaces, and also has a USB interface. The video signal interface such as DP (Display Port), VGA (Video Graphics Array) or HDMI (High Definition Multimedia) Interface, high-definition multimedia interface), etc., so that the multimedia data on the source device can be output to the display device through the traditional video signal interface, and can also be used for data transmission.

USB Type-C有四對高速差分對資料通道,USB3.x資料以及視頻資料共用這些資料通道進行傳輸,目前,在USB Type-C轉接器應用中,資料通道的分配是在系統組態初始化時固定下來的,無法根據不同的應用情景來重新分配資料通道,例如資料通道的具體分配方式為:當傳輸視頻資料時,所有資料通道用於視頻的傳輸;當傳輸USB3.x資料時,所有資料通道用於USB3.x資料的傳輸,這無法滿足同時傳輸USB3.x資料和視頻資料的需求;而當資料通道的具體分配方式為:將其中一些資料通道用於USB3.x資料的傳輸,將另外一些資料通道用於視頻資料的傳輸,這樣,可以滿足同時傳輸USB3.x資料和視頻資料的需求,但在僅需傳輸視頻資料時,仍然還有部分的資料通道進行傳輸,部分通道的傳輸會降低視頻傳輸的解析度,影響 視頻品質。這樣,一旦確定了通道的應用方式,傳輸方式就被固定下來,無法根據轉接器的使用狀態來確定相應的傳輸方式,這種方式無法滿足使用者對轉接器的功能多樣化和靈活性的需求。 USB Type-C has four pairs of high-speed differential pair data channels. USB3.x data and video data share these data channels for transmission. Currently, in USB Type-C adapter applications, data channel allocation is initialized in the system configuration. When fixed, it is not possible to redistribute data channels according to different application scenarios. For example, the specific allocation of data channels is: when transmitting video data, all data channels are used for video transmission; when transferring USB3.x data, all The data channel is used for the transmission of USB3.x data, which cannot meet the requirement of simultaneously transmitting USB3.x data and video data; and when the data channel is specifically allocated, some of the data channels are used for the transmission of USB3.x data. Other data channels are used for the transmission of video data, so that the requirements for simultaneously transmitting USB3.x data and video data can be satisfied, but when only video data needs to be transmitted, there are still some data channels for transmission, and some channels are Transmission will reduce the resolution of video transmission, affecting 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 state of use of the adapter, which cannot satisfy the user's function diversification and flexibility of the adapter. Demand.

本發明提供了一種實現USB設備檢測的USB Type-C轉接器及其通道控制方法,滿足功能多樣化和靈活性的需求。 The invention provides a USB Type-C adapter for implementing USB device detection and a channel control method thereof, which meet the requirements of diversified functions and flexibility.

一種實現USB設備檢測的USB Type-C轉接器,所述轉接器的一端為USB Type-C埠,另一端為USB3.X的第一連接器和視頻資料的第二連接器,所述轉接器用於藉由USB Type-C埠的四對差分對資料通道向第一連接器傳輸USB3.X資料、以及向第二連接器傳輸視頻資料;還包括:第一連接器狀態確定模組,用於獲取第一連接器中的第一接地信號,並根據所述第一接地信號,確定並輸出第一連接器的狀態信號,所述狀態信號表示是否被USB3.X設備掛載,所述第一接地信號為第七針腳或殼體信號且為獨立信號;通道控制模組,用於當所述狀態信號表示為USB3.X設備掛載時,判斷所述四對差分對資料通道是否被佔用,若是,則重新分配資料通道,使得所述四對差分對資料通道中的一部分用於傳輸USB3.X資料、另一部分用於繼續傳輸視頻資料;以及,當所述狀態信號表示由USB3.X設備掛載轉變為非掛載時,重新分配資料通道,使得所述四對差分對資料通道都用於傳輸視頻資料。 A USB Type-C adapter for implementing USB device detection, the adapter having a USB Type-C port at one end and a first connector of USB 3.X and a second connector for video data at the other end, The adapter is configured to transmit USB 3.X data to the first connector and transmit video data to the second connector by using four pairs of differential pair data channels of the USB Type-C埠; and further comprising: a first connector state determining module And acquiring a first ground signal in the first connector, and determining, according to the first ground signal, a status signal of the first connector, where the status signal indicates whether the USB3.X device is mounted. The first ground signal is a seventh pin or a casing signal and is an independent signal; the channel control module is configured to determine whether the four pairs of differential pair data channels are when the status signal is indicated as a USB 3.X device mounting Occupied, if so, reallocating the data channel such that a portion of the four pairs of differential pair data channels are used to transmit USB 3.X data, another portion is used to continue to transmit video material; and, when the status signal is represented by USB3 .X device mount turn When the non-mount channel reallocation information, such that said four pairs of differential data channels for transmitting video data.

可選地,所述第一連接器狀態確定模組包括:第一比較器,其一輸入端連接第一參考電壓,另一輸入端連接至第一接地信號、以及藉由第一上拉電阻連接至第一電源,所述第一電源的電壓大於所述第一參考電壓。 Optionally, the first connector state determining module includes: a first comparator having an input connected to the first reference voltage, the other input connected to the first ground signal, and the first pull-up resistor Connected to the first power source, the voltage of the first power source is greater than the first reference voltage.

可選地,所述轉接器還用於藉由USB Type-C埠的D+/D-資料通道向第一連接器傳輸USB2.0資料,所述第一接地信號為所述第一連接器中第七針腳的接地信號。 Optionally, the adapter is further configured to transmit USB2.0 data to the first connector by using a USB Type-C埠 D+/D-data channel, where the first ground signal is the first connector Ground signal of the seventh pin.

可選地,所述第一連接器狀態確定模組,還用於獲取第一連接器中的第二接地信號,所述第二接地信號為獨立信號且為所述第一連接器的殼體 信號;則,所述根據所述第一接地信號,確定並輸出第一連接器的狀態信號包括:根據所述第一接地信號和所述第二接地信號,確定並輸出第一連接器的狀態信號,所述狀態信號為是否被USB3.X設備掛載以及是否被USB2.0設備掛載。 Optionally, the first connector state determining module is further configured to acquire a second ground signal in the first connector, where the second ground signal is an independent signal and is a shell of the first connector And determining, according to the first ground signal, the status signal of the first connector, according to the first ground signal, determining, and outputting, according to the first ground signal and the second ground signal, a state of the first connector Signal, the status signal is whether it is mounted by the USB 3.X device and is mounted by the USB 2.0 device.

可選地,所述第一連接器狀態確定模組還包括:第二比較器,其一輸入端連接第二參考電壓,另一輸入端連接至第二接地信號、以及藉由第二上拉電阻連接至第二電源,所述第二電源的電壓大於所述第二參考電壓。 Optionally, the first connector state determining module further includes: a second comparator, wherein one input is connected to the second reference voltage, the other input is connected to the second ground signal, and the second pull-up is The resistor is coupled to the second power source, the voltage of the second power source being greater than the second reference voltage.

可選地,還包括:與所述USB Type-C埠連接的USB Type-C連接器。 Optionally, the method further includes: a USB Type-C connector connected to the USB Type-C port.

可選地,所述視頻資料包括DP、VGA或HDMI資料。 Optionally, the video material comprises DP, VGA or HDMI data.

一種USB Type-C轉接器的通道控制方法,所述轉接器的一端為USB Type-C埠,另一端為USB3.X的第一連接器和視頻資料的第二連接器,所述轉接器用於藉由USB Type-C埠的四對差分對資料通道向第一連接器傳輸USB3.X資料、以及向第二連接器傳輸視頻資料;所述轉接器還包括第一連接器狀態確定模組,用於獲取第一連接器中的第一接地信號,並根據所述第一接地信號,確定並輸出第一連接器的狀態信號,所述狀態信號表示是否被USB3.X設備掛載,所述第一接地信號為第七針腳或殼體信號且為獨立信號;所述通道控制方法包括:判斷所述狀態信號是否為USB3.X設備掛載;當所述狀態信號表示為USB3.X設備掛載時,判斷所述四對差分對資料通道是否被佔用;若是,則重新分配資料通道,使得所述四對差分對資料通道中的一部分用於傳輸USB3.X資料、另一部分用於繼續傳輸視頻資料;當所述狀態信號表示由USB3.X設備掛載轉變為非掛載時,重新分配資料通道,使得所述四對差分對資料通道都用於傳輸視頻資料。 A channel control method for a USB Type-C adapter, wherein one end of the adapter is a USB Type-C port, and the other end is a first connector of USB 3.X and a second connector of video data, the turn The connector is configured to transmit USB 3.X data to the first connector and transmit video data to the second connector by using four pairs of differential pair data channels of the USB Type-C埠; the adapter further includes a first connector state Determining a module, configured to acquire a first ground signal in the first connector, and determine and output a status signal of the first connector according to the first ground signal, where the status signal indicates whether the device is hung by the USB 3.X device The first ground signal is a seventh pin or a housing signal and is an independent signal; the channel control method includes: determining whether the status signal is a USB 3.X device mount; when the status signal is represented as a USB3 When the .X device is mounted, determining whether the four pairs of differential pair data channels are occupied; if yes, reallocating the data channels such that a portion of the four pairs of differential pair data channels are used to transmit USB 3.X data and another portion Used to continue to transfer video Material; when the mount state signal represented by the non-transition USB3.X apparatus when mounted, redistribution channel data, such that said four pairs of differential data channels for transmitting video data.

本發明實施例提供的實現USB設備檢測的USB Type-C轉接器及其通道控制方法,獲取第一連接器中的第一接地信號,根據該第一接地信號判斷USB3.X設備是否被掛載,第一接地信號作為獨立信號,也就是說該接地信號不與其他接地信號短接在一起,這樣,有USB3.X設備掛載時,該第一接 地信號被置為地信號,而當沒有USB3.X設備掛載時,為非地信號,藉由該信號可以判斷第一連接器是否被掛載,進而,藉由該信號來確定是否重新分配資料通道,當第一連接器有USB3.X設備掛載時,藉由重新分配通道,使得USB3.X資料和視頻資料可以同時傳輸,而當第一連接器沒有USB3.X設備掛載時,恢復所有資料通道對視頻資料的傳輸,從而,滿足資料傳輸中功能多樣化和靈活性的需求。 The USB Type-C adapter for implementing USB device detection and the channel control method thereof are provided by the embodiment of the present invention, and the first ground signal in the first connector is obtained, and whether the USB 3.X device is suspended according to the first ground signal is determined. The first ground signal is used as an independent signal, that is, the ground signal is not short-circuited with other ground signals, so that when a USB3.X device is mounted, the first connection The ground signal is set to the ground signal, and when no USB3.X device is mounted, it is a non-ground signal, by which the first connector can be judged whether it is mounted, and further, the signal is used to determine whether to redistribute The data channel, when the first connector has a USB3.X device mounted, by reassigning the channel, the USB3.X data and video data can be simultaneously transmitted, and when the first connector is not mounted by the USB3.X device, The transmission of video data by all data channels is resumed, thereby satisfying the requirements for functional diversification and flexibility in data transmission.

01‧‧‧轉接器 01‧‧‧Adapter

02‧‧‧USB Type-C連接器 02‧‧‧USB Type-C Connector

03‧‧‧USB Type-C的主機 03‧‧‧USB Type-C host

04‧‧‧USB設備 04‧‧‧USB device

05‧‧‧視頻顯示裝置 05‧‧‧Video display device

100‧‧‧控制單元 100‧‧‧Control unit

101‧‧‧通道控制模組 101‧‧‧Channel Control Module

200‧‧‧傳輸模組 200‧‧‧Transmission module

202‧‧‧USB3.X資料傳輸模組 202‧‧‧USB3.X data transmission module

300‧‧‧視頻資料的連接器(第二連接器) 300‧‧‧Connector for video material (second connector)

400‧‧‧USB3.X的連接器(第一連接器) 400‧‧‧USB3.X connector (first connector)

500‧‧‧第一連接器狀態確定模組 500‧‧‧First connector status determination module

為了更清楚地說明本申請實施例中的技術方案,下面將對實施例描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本申請的一些實施例,對於本領域具有通常知識者來講,在不付出創造性勞動性的前提下,還可以根據這些附圖獲得其他的附圖。 In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings may be obtained from these drawings without the inventive labor.

圖1為根據本發明實施例的USB Type-C轉接器的結構示意圖;圖2為USB3.X的連接器的針腳分佈及連接結構示意圖;圖3為根據本發明實施例的USB Type-C轉接器中第一連接器狀態確定模組的結構示意圖;圖4為根據本發明實施例的USB Type-C轉接器的通道控制方法的流程示意圖。 1 is a schematic structural diagram of a USB Type-C adapter according to an embodiment of the present invention; FIG. 2 is a schematic diagram of pin distribution and connection structure of a USB3.X connector; FIG. 3 is a USB Type-C according to an embodiment of the present invention. FIG. 4 is a schematic flowchart diagram of a channel control method of a USB Type-C adapter according to an embodiment of the present invention. FIG.

下面將結合本申請實施例中的附圖,對本申請實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本申請一部分實施例,而不是全部的實施例。基於本申請中的實施例,本領域具有通常知識者在沒有做出創造性勞動前提下所獲得的所有其他實施例,都屬於本申請保護的範圍。 The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without the creative work are all within the scope of the present application.

正如先前技術中的描述,目前,在USB Type-C轉接器應用中,資料通道的分配是在系統組態初始化時固定下來的,無法根據不同的應用情況來重新分配資料通道,為此,本發明提供了一種USB Type-C轉接器,以滿足資料傳輸中功能多樣化和靈活性的需求。 As described in the prior art, in the USB Type-C adapter application, the data channel allocation is fixed at the time of system configuration initialization, and the data channel cannot be re-allocated according to different application conditions. The present invention provides a USB Type-C adapter to meet the needs of functional diversification and flexibility in data transmission.

為了更好地理解本發明的技術方案,先對USB Type-C的各資料埠進行說明。USB Type-C的埠包括四對差分對資料通道、D+/D-、邊帶通道 SBU1/SBU2、配置通道CC以及VCONN等。其中,四對差分對資料通道分別為:TX1+/TX1-,TX2+/TX1-,RX1+/RX1-,RX2+/RX2-,為高速資料通道,預設情況下,支援USB3.X資料傳輸,是高速的資料埠,最高資料速率可達到10Gb/s,此外,還可以用來傳輸DP或HDMI視頻資料,其中,USB3.X資料包括USB3.0或USB3.1資料。D+/D-用來傳送USB2.0資料。邊帶通道SBU1/SBU2(SBU,Side Band Use)為輔助信號埠。CC(Configuration Channel)為配置通道,其與VCONN一同為Type-C的主機判斷USB Type-C轉接器的***方向及為轉接器提供電源,當判斷Type-C轉接器***後,將在VCONN上提供電壓,通常該電壓為5V,以為Type-C轉接器提供工作電壓。 In order to better understand the technical solution of the present invention, various data types of the USB Type-C will be described first. The USB Type-C includes four pairs of differential pair data channels, D+/D-, and sideband channels. SBU1/SBU2, configuration channel CC, and VCONN. Among them, the four pairs of differential pair data channels are: TX1+/TX1-, TX2+/TX1-, RX1+/RX1-, RX2+/RX2-, which are high-speed data channels. By default, USB3.X data transmission is supported, which is high speed. The data rate is up to 10Gb/s. In addition, it can also be used to transmit DP or HDMI video data. USB3.X data includes USB3.0 or USB3.1 data. D+/D- is used to transfer USB2.0 data. The sideband channel SBU1/SBU2 (SBU, Side Band Use) is the auxiliary signal 埠. The CC (Configuration Channel) is a configuration channel. The host of the Type-C together with the VCONN determines the insertion direction of the USB Type-C adapter and supplies power to the adapter. When it is judged that the Type-C adapter is inserted, The voltage is supplied across VCONN, which is typically 5V to provide the operating voltage for the Type-C adapter.

USB Type-C轉接器為USB Type-C埠與USB埠、視頻資料埠的轉接設備,參考圖1所示,轉接器01的一端為USB Type-C埠,USB Type-C埠連接到USB Type-C連接器02,轉接器01的另一端為USB3.X的連接器400和視頻資料的連接器300,為了便於描述,USB3.X的連接器400記做第一連接器,視頻資料的連接器300記做第二連接器。 The USB Type-C adapter is a USB Type-C port and USB port, video data port transfer device, as shown in Figure 1, one end of the adapter 01 is USB Type-C port, USB Type-C port connection 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 300. For convenience of description, the USB3.X connector 400 is referred to as a first connector. The connector 300 of the video material is recorded as a second connector.

通常地,該USB Type-C連接器02可以為公頭連接器,連接至USB Type-C的主機03,也就是來源資料設備,例如可以為個人電腦、筆記型電腦、平板電腦、伺服器、手機或其他設置有來源資料的設備等,第一連接器400和第二連接器300可以為母座連接器,第一連接器400用於與USB設備04連接,該USB設備04可以為USB存放裝置或具有USB介面的個人電腦、筆記型電腦、平板電腦或手機等其他電子設備,第二連接器300用於與視頻顯示裝置05連接,視頻顯示裝置05可以為顯示器設備或具有顯示器設備的個人電腦、電視、筆記型電腦、平板電腦或手機等其他電子設備。 Generally, the USB Type-C connector 02 can be a male connector connected to the USB Type-C host 03, that is, a source data device, such as a personal computer, a notebook computer, a tablet computer, a server, The first connector 400 and the second connector 300 may be a female connector, and the first connector 400 is used for connecting to the USB device 04, and the USB device 04 may be USB for storage. The device or other electronic device having a USB interface, such as a personal computer, a notebook computer, a tablet computer or a mobile phone, the second connector 300 is used for connection with the video display device 05, and the video display device 05 can be a display device or an individual having a display device. Other electronic devices such as computers, televisions, laptops, tablets or mobile phones.

在本發明中,該轉接器01用於藉由USB Type-C埠的四對差分對資料通道向第一連接器400傳輸USB3.X資料、以及向第二連接器300傳輸視頻資料,根據不同的設計,轉接器01可以由不同的單元組成,來實現USB3.X資料以及視頻資料的傳輸功能。在一些具體的實施例中,參考圖1所示,該轉接器01包括控制單元100和傳輸模組200,傳輸模組200包括USB3.X資料傳輸模組202以及視頻資料傳輸模組201,控制單元100連接USB Type-C埠的CC通道、VCONN和SBU1/SBU2通道,用於連接檢測、USB-PD通信控制、AUX通信控制、協議管理以及其他處理;USB3.X資料傳輸模組202一端與 USB Type-C埠的四對差分對資料通道連接,另一端與USB3.X的連接器400相連,用於USB3.X資料的傳輸,USB3.X資料傳輸模組202可以為無來源資料旁路開關,在控制單元100的控制下,可以僅連通部分的資料通道或全部的資料通道進行USB3.X資料的傳輸;視頻資料傳輸模組201一端與USB Type-C埠的四對差分對資料通道連接,另一端與視頻資料的第二連接器300相連,用於將輸入視訊訊號處理或轉換為輸出視訊訊號,輸出視訊訊號例如為DP、VGA或HDMI視頻資料信號等。在控制單元100的控制下,藉由USB3.X資料傳輸模組以及視頻資料傳輸模組實現USB3.X資料以及視頻資料的傳輸。控制單元100可以是獨立的晶片模組,也可以是與USB3.X資料傳輸模組202以及視頻資料傳輸模組201積體化在一起的晶片模組,本申請對其實現形式不做限定。 In the present invention, the adapter 01 is configured to transmit USB 3.X data to the first connector 400 and transmit video data to the second connector 300 by using four pairs of differential pair data channels of the USB Type-C埠, according to Different designs, the adapter 01 can be composed of different units to realize the transmission function of USB3.X data and video data. In some specific embodiments, as shown in FIG. 1 , the adapter 01 includes a control unit 100 and a transmission module 200. The transmission module 200 includes a USB 3.X data transmission module 202 and a video data transmission module 201. The control unit 100 is connected to the CC channel, VCONN and SBU1/SBU2 channels of the USB Type-C port for connection detection, USB-PD communication control, AUX communication control, protocol management and other processing; one end of the USB 3.X data transmission module 202 versus USB Type-C埠 four pairs of differential pair data channel connection, the other end is connected with USB3.X connector 400 for USB3.X data transmission, USB3.X data transmission module 202 can be bypassed for sourceless data The switch, under the control of the control unit 100, can only connect part of the data channel or all the data channels for USB3.X data transmission; the video data transmission module 201 and the USB Type-C埠 four pairs of differential pair data channels The other end is connected to the second connector 300 of the video material for processing or converting the input video signal into an output video signal, and the output video signal is, for example, a DP, VGA or HDMI video data signal. Under the control of the control unit 100, USB3.X data and video data transmission are realized by 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 USB 3.X data transmission module 202 and the video data transmission module 201. The implementation form of the present invention is not limited.

此外,為了更好地相容USB2.0資料,在本發明實施例中,該轉接器01還用於USB2.0資料的傳輸,可以藉由USB Type-C埠的D+/D-資料通道直接向第一連接器400傳輸USB2.0資料。 In addition, in order to better compatible with the USB2.0 data, in the embodiment of the present invention, the adapter 01 is also used for the transmission of USB2.0 data, and the D+/D-data channel of the USB Type-C埠 can be used. The USB 2.0 data is transmitted directly to the first connector 400.

在本發明實施例中,轉接器01還包括第一連接器狀態確定模組500和通道控制模組101,可以一併設置於控制單元100中,其中,第一連接器狀態確定模組500用於獲取第一連接器400中的第一接地信號,並根據所述第一接地信號,確定並輸出第一連接器400的狀態信號,所述狀態信號表示是否被USB3.X設備掛載,所述第一接地信號為第七針腳或殼體的信號為獨立信號。通道控制模組,用於當所述狀態信號表示為USB3.X設備掛載時,判斷所述四對差分對資料通道是否被佔用,若是,則重新分配資料通道,使得所述四對差分對資料通道中的一部分用於傳輸USB3.X資料、另一部分用於繼續傳輸視頻資料;以及,當所述狀態信號表示由USB3.X設備掛載轉變為非掛載時,重新分配資料通道,使得所述四對差分對資料通道都用於傳輸視頻資料。 In the embodiment of the present invention, the adapter 01 further includes a first connector state determining module 500 and a channel control module 101, which can be collectively disposed in the control unit 100, wherein the first connector state determining module 500 For obtaining a first ground signal in the first connector 400, and determining and outputting a status signal of the first connector 400 according to the first ground signal, the status signal indicating whether it is mounted by a USB 3.X device, The signal that the first ground signal is the seventh pin or the housing is an independent signal. a channel control module, configured to determine whether the four pairs of differential pair data channels are occupied when the status signal is represented as a USB 3.X device mounting, and if yes, reallocating the data channels, so that the four pairs of differential pairs A portion of the data channel is used to transmit USB 3.X data, another portion is used to continue to transmit video data; and when the status signal indicates that the USB 3.X device is mounted to be unmounted, the data channel is reallocated, such that The four pairs of differential pair data channels are used to transmit video data.

參考圖2所示,其中圖(A)為USB3.X的連接器的針腳分佈結構示意圖,USB3.X的連接器同時還相容USB2.0資料的連接,當用於USB2.0資料的連接時,僅第一針腳至第四針腳被佔用,第五針腳至第九針腳為懸空,當用於USB3.X資料的連接時,所有的針腳被佔用。 Referring to Figure 2, Figure (A) is a schematic diagram of the pin distribution structure of the connector of USB3.X, and the connector of USB3.X is also compatible with the connection of USB2.0 data, when used for connection of USB2.0 data. Only the first to fourth pins are occupied, and the fifth to ninth pins are left floating. When used for connection of USB3.X data, all the pins are occupied.

USB3.X的連接器中有三個接地信號,分別為第七針腳GND_DRAIN、 第四針腳GND和連接器的殼體SHELL。在一些實施例中,在當轉接器的USB3.X的連接器僅用於USB3.X資料的連接時,其中第四針腳GND為常地端,這三個接地信號中的第七針腳GND_DRAIN和連接器的殼體SHELL可以用於確定第一連接器的狀態信號的第一接地信號,也就是說,第一接地信號可以為第七針腳GND_DRAIN和連接器的殼體SHELL的接地信號中的任意一個。第一接地信號為獨立信號,即該信號並不與其他的接地信號短接,僅為一個獨立的信號,這樣僅在有設備掛載時,才會被置為接地信號。參考圖2中(B)所示,圖(B)為有USB3.X設備掛載時的第一連接器的連接狀態示意圖,由於第一接地信號為獨立信號,只有在有USB3.X設備掛載時,第一接地信號才被置為地信號,而沒有USB3.X設備掛載時,第一接地信號則被置為非地信號。因此,藉由該信號可以判斷第一連接器是否被掛載的狀態信號,進而,藉由該狀態信號來確定是否重新分配資料通道。 There are three ground signals in the connector of USB3.X, which are the seventh pin GND_DRAIN, The fourth pin GND and the housing of the connector SHELL. In some embodiments, when the connector of the USB 3.X of the adapter is only used for the connection of the USB 3.X data, wherein the fourth pin GND is the normal ground, the seventh pin of the three ground signals GND_DRAIN And the housing SHELL of the connector can be used to determine the first ground signal of the state signal of the first connector, that is, the first ground signal can be in the ground signal of the seventh pin GND_DRAIN and the housing SHELL of the connector anyone. The first ground signal is an independent signal, that is, the signal is not short-circuited with other ground signals, and is only an independent signal, so that it is only grounded when the device is mounted. Referring to FIG. 2(B), FIG. (B) is a schematic diagram showing the connection state of the first connector when the USB3.X device is mounted. Since the first ground signal is an independent signal, only the USB3.X device is hung. At the time of loading, the first ground signal is set to the ground signal, and when no USB3.X device is mounted, the first ground signal is set to the non-ground signal. Therefore, the signal can be used to determine whether the first connector is mounted or not, and further, the status signal determines whether to re-allocate the data channel.

在另一些實施例中,轉接器的USB3.X的連接器400既用於USB3.X資料的連接又用於USB2.0資料的連接時,第一連接器400上掛載的設備可能是USB2.0設備或者USB3.X設備,而USB2.0設備藉由D+/D-資料通道傳輸資料,無需與視頻傳輸共用資料通道,僅當掛載為USB3.X設備時,需要與視頻傳輸共用資料通道,因此,當第一連接器400有被掛載時,需要判斷出是USB2.0設備還是USB3.X設備掛載。參考圖2中(B)、(C)所示,第七針腳GND_DRAIN僅在USB3.X設備掛載時被佔用,在當USB2.0設備掛載時為懸空,則,在第一連接器狀態確定模組中,可以確定兩個接地信號,第一接地信號為第七針腳GND_DRAIN的接地信號,第二接地信號為第一連接器殼體SHELL的接地信號,這兩個接地信號都為獨立信號,即不與其他常地信號短接,這樣,當第一接地信號和第二接地信號都為地信號時,則表示為USB3.X設備掛載,當第二接地信號為地信號而第一接地信號為非地信號時,則表示為USB2.0設備掛載,當第一接地信號和第二接地信號都為非地信號時,則表示無USB設備掛載。這樣,藉由識別這兩個接地信號,就可以確定出第一連接器的狀態信號,該狀態信號指是否被USB3.X設備掛載以及是否被USB2.0設備掛載。 In other embodiments, when the USB 3.X connector 400 of the adapter is used for both USB 3.X data connection and USB 2.0 data connection, the device mounted on the first connector 400 may be USB2.0 device or USB3.X device, while USB2.0 device transmits data through D+/D- data channel, no need to share data channel with video transmission, only need to share with video transmission when mounting as USB3.X device The data channel, therefore, when the first connector 400 is mounted, it is necessary to determine whether the USB 2.0 device or the USB 3.X device is mounted. Referring to (B) and (C) of FIG. 2, the seventh pin GND_DRAIN is occupied only when the USB 3.X device is mounted, and is suspended when the USB 2.0 device is mounted, then in the first connector state. In the determining module, two grounding signals can be determined, the first grounding signal is the grounding signal of the seventh pin GND_DRAIN, and the second grounding signal is the grounding signal of the first connector housing SHELL, and the two grounding signals are independent signals That is, it is not short-circuited with other permanent signals, so that when both the first ground signal and the second ground signal are ground signals, it is indicated that the USB3.X device is mounted, and when the second ground signal is a ground signal, the first When the ground signal is a non-ground signal, it indicates that the USB2.0 device is mounted. When both the first ground signal and the second ground signal are non-ground signals, it means that no USB device is mounted. Thus, by identifying the two ground signals, it is possible to determine the status signal of the first connector, whether the status signal is mounted by the USB 3.X device and whether it is mounted by the USB 2.0 device.

在本發明優選實施例中,第一連接器狀態確定模組為包括比較器的電路模組,藉由比較器來獲取並輸出連接器的狀態資訊。參考圖3所示,第一 連接器狀態確定模組包括第一比較器501A,用於獲取和輸出第一接地信號,還可以進一步包括第二比較器501B,用於獲取和輸出第二接地信號。 In a preferred embodiment of the present invention, the first connector state determining module is a circuit module including a comparator, and the comparator obtains and outputs state information of the connector. Referring to Figure 3, the first The connector state determination module includes a first comparator 501A for acquiring and outputting the first ground signal, and a second comparator 501B for acquiring and outputting the second ground signal.

具體地,如圖3所示,第一比較器501A的一輸入端連接第一參考電壓VREF1,另一輸入端連接至第一接地信號、以及藉由第一上拉電阻Ru1連接至第一電源VCC1,所述第一電源VCC1的電壓大於所述第一參考電壓VREF1。在該具體的實施例中,第一參考電壓VREF1連接第一比較器501A的正輸入端,第一接地信號及第一上拉電阻Ru1連接第一比較器501A的負輸入端,在沒有USB3.X設備掛載時,負輸入端被上拉電阻Ru1將該端的電壓保持在第一電源的電壓VCC1,由於第一電源VCC1大於參考電壓VREF1,此時,第一比較器VREF1輸出U3CON為0,而當有USB3.X設備掛載時,第一接地信號被接地,負輸入端被接地信號下拉至接地電壓,參考電壓為非接地電壓,大於接地電壓,此時,第一比較器輸出U3CON為1。在該具體的示例中,第一接地信號為第七針腳GND_DRAIN的信號。 Specifically, as shown in FIG. 3, one input terminal of the first comparator 501A is connected to the first reference voltage VREF1, the other input terminal is connected to the first ground signal, and is connected to the first power source by the first pull-up resistor Ru1. VCC1, the voltage of the first power source VCC1 is greater than the first reference voltage VREF1. In the specific embodiment, the first reference voltage VREF1 is connected to the positive input terminal of the first comparator 501A, and the first ground signal and the first pull-up resistor Ru1 are connected to the negative input terminal of the first comparator 501A, without USB3. When the X device is mounted, the negative input terminal is held by the pull-up resistor Ru1 to maintain the voltage of the terminal at the voltage VCC1 of the first power supply. Since the first power supply VCC1 is greater than the reference voltage VREF1, the first comparator VREF1 outputs U3CON to 0. When a 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, and the reference voltage is a non-ground voltage, which is greater than the ground voltage. At this time, the first comparator output U3CON is 1. In this particular example, the first ground signal is the signal of the seventh pin GND_DRAIN.

第二比較器501B的一輸入端連接第二參考電壓VREF2,另一輸入端連接至第二接地信號、以及藉由第二上拉電阻Ru2連接至第二電源VCC2,所述第二電源VCC2的電壓大於所述第二參考電壓VREF2。同第一比較器,在該具體的實施例中,第二參考電壓連接第二比較器501B的正輸入端,第二接地信號及第二上拉電阻Ru2連接第二比較器501B的負輸入端,在沒有USB2.0或USB3.X設備掛載時,負輸入端被上拉電阻Ru2將該端的電壓保持在第二電源的電壓VCC2,由於第二電源VCC2大於第二參考電壓VREF2,此時,第二比較器輸出UXCON為0,而當有USB2.0設備或USB3.X設備掛載時,第二接地信號被接地,負輸入端被接地信號下拉至接地電壓,參考電壓為非接地電壓,大於接地電壓,此時,第二比較器輸出UXCON為1。在該具體的示例中,第二接地信號為連接器殼體SHELL的信號。 An input terminal of the second comparator 501B is connected to the second reference voltage VREF2, the other input terminal is connected to the second ground signal, and is connected to the second power source VCC2 by the second pull-up resistor Ru2, the second power source VCC2 The voltage is greater than the second reference voltage VREF2. With the first comparator, in the specific embodiment, the second reference voltage is connected to the positive input terminal of the second comparator 501B, and the second ground signal and the second pull-up resistor Ru2 are connected to the negative input terminal of the second comparator 501B. When no USB2.0 or USB3.X device is mounted, the negative input terminal is held by the pull-up resistor Ru2 to maintain the voltage of the terminal at the voltage VCC2 of the second power supply. Since the second power supply VCC2 is greater than the second reference voltage VREF2, The second comparator output UXCON is 0. When a USB 2.0 device or a USB 3.X device is mounted, the second ground signal is grounded, the negative input terminal is pulled down to the ground voltage by the ground signal, and the reference voltage is a non-ground voltage. , greater than the ground voltage, at this time, the second comparator output UXCON is 1. In this particular example, the second ground signal is a signal to the connector housing SHELL.

在當第一連接器僅用於USB3.X資料的連接時,藉由第一比較器就可以獲取並輸出USB3.X設備掛載是否掛載的狀態資訊,在上述具體的示例中,第一比較器的輸出U3CON為1時,表示第一連接器被USB3.X設備,U3CON為0時,為沒有USB3.X設備掛載;而當第一連接器用於USB3.X資料和USB2.0資料的連接時,藉由第一比較器和第二比較器獲取並輸出是否被USB3.X設備掛載以及是否被USB2.0設備掛載的狀態信號,在上述具體的示 例中,當第一比較器的輸出U3CON為1且第二比較器的輸出UXCON為1時,表示第一連接器400被USB3.X設備掛載,當第一比較器的輸出U3CON為0且第二比較器的輸出UXCON為1時,表示第一連接器400被USB2.0設備掛載,當第一比較器的輸出U3CON為0且第二比較器的輸出UXCON為0時,表示第一連接器400沒有被掛載。 When the first connector is only used for the connection of the USB 3.X data, the first comparator can acquire and output the status information of whether the USB 3.X device is mounted or not. In the above specific example, the first When the output of the comparator U3CON is 1, it means that the first connector is USB3.X device, U3CON is 0, no USB3.X device is mounted; and when the first connector is used for USB3.X data and USB2.0 data When the connection is made, the first comparator and the second comparator acquire and output a status signal whether it is mounted by the USB 3.X device and is mounted by the USB 2.0 device, in the above specific In the example, when the output U3CON of the first comparator is 1 and the output UXCON of the second comparator is 1, it indicates that the first connector 400 is mounted by the USB 3.X device, and when the output of the first comparator U3CON is 0 and When the output UXCON of the second comparator is 1, it indicates that the first connector 400 is mounted by the USB 2.0 device. When the output of the first comparator U3CON is 0 and the output UXCON of the second comparator is 0, it indicates the first The connector 400 is not mounted.

由於可以獲得第一連接器是否被USB3.X設備掛載的狀態信號,那麼,可以根據該狀態信號,來進一步控制資料傳輸通道的控制,以滿足不同的需要,在具體的通道控制中,可以藉由即時獲取上述的狀態信號,當狀態信號表示為USB3.X設備掛載時,繼續判斷四對差分對資料通道是否被佔用,若是,則表示此時正在進行視頻資料的傳輸,則,重新進行資料通道的分配,使得所述四對差分對資料通道中的一部分用於傳輸USB3.X資料、另一部分用於繼續傳輸視頻資料。具體的,可以藉由USB-PD/AUX通信的方式告知資料來源設備降低視頻解析度,使用其中的兩對差分數據通道進行視頻資料的傳輸,而將另外兩對差分數據通道用於USB3.X資料的傳輸,而後,以低解析度的方式以兩條資料通道傳輸視頻資料,另兩條資料通道同時傳輸USB3.X數據。 Since the status signal of whether the first connector is mounted by the USB 3.X device can be obtained, the control of the data transmission channel can be further controlled according to the status signal to meet different needs, and in specific channel control, By acquiring the above status signal in real time, when the status signal is indicated as being mounted by the USB 3.X device, it is determined whether the four pairs of differential pair data channels are occupied, and if so, it indicates that the video data transmission is being performed at this time, then, The data channel is allocated such that a portion of the four pairs of differential pair data channels are used to transmit USB 3.X data and another portion is used to continue to transmit video material. Specifically, the data source device can be notified by the USB-PD/AUX communication method to reduce the video resolution, and the two pairs of differential data channels are used for video data transmission, and the other two pairs of differential data channels are used for USB 3.X. The data is transmitted, and then the video data is transmitted in two data channels in a low resolution manner, and the other two data channels simultaneously transmit USB 3.X data.

在整個傳輸中,持續獲取狀態信號,當狀態信號改變時,當所述狀態信號表示由USB3.X設備掛載轉變為非掛載時,則表示此時USB3.X資料傳輸已結束,則,重新進行資料通道的分配,使得所述四對差分對資料通道都用於傳輸視頻資料。具體地,可以藉由USB-PD/AUX通信的方式告知資料來源設備重新以高解析度的方式進行視頻傳輸,重新使用四對差分對資料通道用於視頻資料傳輸。 During the entire transmission, the status signal is continuously acquired. When the status signal changes, when the status signal indicates that the USB3.X device is mounted to be unmounted, it indicates that the USB3.X data transmission has ended. The data channel is re-allocated such that the four pairs of differential pair data channels are used to transmit video data. Specifically, the data source device can be notified by the USB-PD/AUX communication to perform video transmission in a high-resolution manner, and the four pairs of differential pair data channels are reused for video data transmission.

以上對本發明轉接器的實施例進行詳細的描述,在該方案中,獲取第一連接器中的第一接地信號,根據該第一接地信號判斷USB3.X設備是否被掛載,第一接地信號作為獨立信號,也就是說該接地信號不與其他接地信號短接在一起,這樣,有USB3.X設備掛載時,該第一接地信號被置為地信號,而當沒有USB3.X設備掛載時,為非地信號,藉由該信號可以判斷第一連接器是否被掛載,進而,藉由該信號來確定是否重新分配資料通道,當第一連接器有USB3.X設備掛載時,藉由重新分配通道,使得USB3.X資料和視頻資料可以同時傳輸,而當第一連接器沒有USB3.X設備掛載時,恢復所 有資料通道對視頻資料的傳輸,從而,滿足資料傳輸中功能多樣化和靈活性的需求。 The embodiment of the adapter of the present invention is described in detail above. In this solution, the first ground signal in the first connector is obtained, and according to the first ground signal, whether the USB 3.X device is mounted, the first ground is determined. The signal acts as an independent signal, that is, the ground signal is not shorted with other ground signals, so that when a USB3.X device is mounted, the first ground signal is set to the ground signal, and when there is no USB3.X device When mounted, it is a non-ground signal, and the signal can be used to determine whether the first connector is mounted. Further, the signal is used to determine whether to re-allocate the data channel. When the first connector has a USB3.X device mounted When the channel is re-allocated, USB3.X data and video data can be transmitted simultaneously, and when the first connector is not mounted by the USB3.X device, the recovery device is restored. There is a data channel to transmit video data, thus meeting the needs of functional diversification and flexibility in data transmission.

此外,本發明還提供了一種USB Type-C轉接器的通道控制方法,其中,USB Type-C轉接器的一端為USB Type-C埠,另一端為USB3.X的第一連接器和視頻資料的第二連接器,所述轉接器用於藉由USB Type-C埠的四對差分對資料通道向第一連接器傳輸USB3.X資料、以及向第二連接器傳輸視頻資料;其特徵在於,所述轉接器還包括第一連接器狀態確定模組,用於獲取第一連接器中的第一接地信號,並根據所述第一接地信號,確定並輸出第一連接器的狀態信號,所述狀態信號表示是否被USB3.X設備掛載,所述第一接地信號為第七針腳或殼體信號且為獨立信號。 In addition, the present invention also provides a channel control method for a USB Type-C adapter, wherein one end of the USB Type-C adapter is a USB Type-C port, and the other end is a first connector of the USB 3.X and a second connector of the video material, the adapter is configured to transmit USB 3.X data to the first connector and transmit video data to the second connector by using four pairs of differential pair data channels of the USB Type-C埠; The adapter further includes a first connector state determining module, configured to acquire a first ground signal in the first connector, and determine and output the first connector according to the first ground signal A status signal indicating whether it is mounted by a USB 3.X device, the first ground signal being a seventh pin or housing signal and being an independent signal.

其中,轉接器同上述實施例中轉接器的描述,此處不再贅述。由於轉接器能夠確定第一連接器是否被USB3.X設備掛載的狀態信號,根據該狀態信號,可以進一步進行通道控制,參考圖4,通道控制的方法包括:S401,判斷所述狀態信號是否為USB3.X設備掛載;當所述狀態信號表示為USB3.X設備掛載時,S402,判斷所述四對差分對資料通道是否被佔用;若是,S403,則重新分配資料通道,使得所述四對差分對資料通道中的一部分用於傳輸USB3.X資料、另一部分用於繼續傳輸視頻資料;S404,判斷所述狀態信號是否由USB3.X設備掛載轉變為非掛載,若是,S405,重新分配資料通道,使得所述四對差分對資料通道都用於傳輸視頻資料。 The adapter is the same as that of the adapter in the foregoing embodiment, and details are not described herein again. Since the adapter can determine whether the first connector is mounted by the USB 3.X device, the channel control can be further performed according to the status signal. Referring to FIG. 4, the channel control method includes: S401, determining the status signal. Whether the USB3.X device is mounted; when the status signal indicates that the USB 3.X device is mounted, S402, determining whether the four pairs of differential pair data channels are occupied; if yes, re-assigning the data channel, so that One part of the four pairs of differential pair data channels is used for transmitting USB 3.X data, and another part is used for continuing to transmit video data; S404, determining whether the status signal is converted to unmounted by the USB 3.X device, if S405, reallocating the data channel, so that the four pairs of differential pair data channels are used to transmit video data.

該通道控制的方法可以在轉接器的控制單元中執行,該狀態信號傳輸至控制單元,控制單元監控該狀態信號,進而進行通道的控制,具體描述同通道控制的描述。 The method of channel control can be performed in the control unit of the adapter, and the status signal is transmitted to the control unit, and the control unit monitors the status signal, thereby performing channel control, and specifically describes the description of the same channel control.

進一步地,所述第一連接器狀態確定模組包括:第一比較器,其一輸入端連接第一參考電壓,另一輸入端連接至第一接地信號、以及藉由第一上拉電阻連接至第一電源,所述第一電源的電壓大於所述第一參考電壓,所述狀態信號為所述第一比較器的輸出信號。 Further, the first connector state determining module includes: a first comparator having an input connected to the first reference voltage, the other input connected to the first ground signal, and connected by the first pull-up resistor To the first power source, the voltage of the first power source is greater than the first reference voltage, and the state signal is an output signal of the first comparator.

進一步地,所述轉接器還用於藉由USB Type-C埠的D+/D-資料通道向第一連接器傳輸USB2.0資料,所述第一接地信號為所述第一連接器中第七針 腳的接地信號。 Further, the adapter is further configured to transmit USB2.0 data to the first connector by using a USB Type-C埠 D+/D-data channel, where the first ground signal is in the first connector Seventh needle Ground signal for the foot.

進一步地,所述第一連接器狀態確定模組,還用於獲取第一連接器中的第二接地信號,所述第二接地信號為獨立信號且為所述第一連接器的殼體信號;則,所述根據所述第一接地信號,確定並輸出第一連接器的狀態信號包括:根據所述第一接地信號和所述第二接地信號,確定並輸出第一連接器的狀態信號,所述狀態信號為是否被USB3.X設備掛載以及是否被USB2.0設備掛載。 Further, the first connector state determining module is further configured to acquire a second ground signal in the first connector, where the second ground signal is an independent signal and is a casing signal of the first connector And determining, according to the first ground signal, the status signal of the first connector, according to the first ground signal and the second ground signal, determining and outputting a status signal of the first connector The status signal is whether it is mounted by the USB 3.X device and is mounted by the USB 2.0 device.

進一步地,所述第一連接器狀態確定模組還包括:第二比較器,其一輸入端連接第二參考電壓,另一輸入端連接至第二接地信號、以及藉由第二上拉電阻連接至第二電源,所述第二電源的電壓大於所述第二參考電壓,所述狀態信號為所述第一比較器和所述第二比較器的輸出信號。 Further, the first connector state determining module further includes: a second comparator having an input connected to the second reference voltage, the other input connected to the second ground signal, and the second pull-up resistor Connected to a second power source, the voltage of the second power source is greater 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, wherein the modules or units described as separate components may or may not be physically separate, and the components displayed as modules or units may or may not be Physical units can be located in one place or distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those skilled in the art can understand and implement without any creative work.

需要說明的是,在本文中,諸如第一和第二等之類的關係術語僅僅用來將一個實體或者操作與另一個實體或操作區分開來,而不一定要求或者暗示這些實體或操作之間存在任何這種實際的關係或者順序。而且,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、物品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、物品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、物品或者設備中還存在另外的相同要素。 It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.

Claims (10)

一種實現USB設備檢測的USB Type-C轉接器,所述轉接器的一端為USB Type-C埠,另一端為USB3.X的第一連接器和視頻資料的第二連接器,所述轉接器用於藉由USB Type-C埠的四對差分對資料通道向第一連接器傳輸USB3.X資料、以及向第二連接器傳輸視頻資料;其還包括:第一連接器狀態確定模組,用於獲取第一連接器中的第一接地信號,並根據所述第一接地信號,確定並輸出第一連接器的狀態信號,以判斷是否被USB3.X設備掛載,所述第一接地信號為第七針腳或殼體信號且為獨立信號;通道控制模組,用於當所述狀態信號表示為USB3.X設備掛載時,判斷所述四對差分對資料通道是否被佔用,若是,則重新分配資料通道,使得所述四對差分對資料通道中的一部分用於傳輸USB3.X資料、另一部分用於繼續傳輸視頻資料;以及,當所述狀態信號表示由USB3.X設備掛載轉變為非掛載時,重新分配資料通道,使得所述四對差分對資料通道都用於傳輸視頻資料。 A USB Type-C adapter for implementing USB device detection, the adapter having a USB Type-C port at one end and a first connector of USB 3.X and a second connector for video data at the other end, The adapter is configured to transmit USB 3.X data to the first connector and transmit video data to the second connector by using four pairs of differential pair data channels of the USB Type-C埠; and further comprising: a first connector state determining mode a group, configured to acquire a first ground signal in the first connector, and determine and output a status signal of the first connector according to the first ground signal to determine whether to be mounted by the USB 3.X device, A ground signal is a seventh pin or a casing signal and is an independent signal; and a channel control module is configured to determine whether the four pairs of differential pair data channels are occupied when the status signal is represented as a USB 3.X device mounting And if so, reallocating the data channel such that a portion of the four pairs of differential pair data channels are used to transmit USB 3.X data, another portion is used to continue to transmit video material; and, when the status signal is represented by USB 3.X Device mount changes to non-hanging , The data channel reallocation, such that the four pairs of differential data channels for transmitting video data. 如請求項1所述的轉接器,其中所述第一連接器狀態確定模組包括:第一比較器,其一輸入端連接第一參考電壓,另一輸入端連接至第一接地信號、以及藉由第一上拉電阻連接至第一電源,所述第一電源的電壓大於所述第一參考電壓,所述狀態信號包含所述第一比較器的輸出信號。 The adapter of claim 1, wherein the first connector state determining module comprises: a first comparator having an input connected to the first reference voltage and the other input connected to the first ground signal, And connecting to the first power source by a first pull-up resistor, the voltage of the first power source is greater than the first reference voltage, and the state signal includes an output signal of the first comparator. 如請求項1或2所述的轉接器,其中所述轉接器還用於藉由USB Type-C埠的D+/D-資料通道向第一連接器傳輸USB2.0資料,所述第一接地信號為所述第一連接器中第七針腳的接地信號。 The adapter of claim 1 or 2, wherein the adapter is further configured to transmit USB 2.0 data to the first connector by using a USB Type-C埠 D+/D-data channel, the A ground signal is a ground signal of the seventh pin of the first connector. 如請求項3所述的轉接器,其中所述第一連接器狀態確定模組,還用於獲取第一連接器中的第二接地信號,所述第二接地信號為獨立信號且為所述第一連接器的殼體信號;所述第一連接器狀態確定模組更包括根據所述第一接地信號和所述第二接地信號,確定並輸出所述狀態信號,以判斷是否被USB3.X設備掛載以及是否被USB2.0設備掛載。 The adapter of claim 3, wherein the first connector state determining module is further configured to acquire a second ground signal in the first connector, where the second ground signal is an independent signal and is Determining a housing signal of the first connector; the first connector state determining module further includes determining and outputting the status signal according to the first ground signal and the second ground signal to determine whether it is USB3 The .X device is mounted and mounted by a USB 2.0 device. 如請求項4所述的轉接器,其中所述第一連接器狀態確定模組還包括: 第二比較器,其一輸入端連接第二參考電壓,另一輸入端連接至所述第二接地信號、以及藉由第二上拉電阻連接至第二電源,所述第二電源的電壓大於所述第二參考電壓,所述狀態信號包含所述第一比較器和所述第二比較器的輸出信號。 The adapter of claim 4, wherein the first connector state determining module further comprises: a second comparator having an input connected to the second reference voltage, the other input connected to the second ground signal, and being connected to the second power supply by a second pull-up resistor, the voltage of the second power source being greater than The second reference voltage, the status signal comprising an output signal of the first comparator and the second comparator. 一種USB Type-C轉接器的通道控制方法,所述轉接器的一端為USB Type-C埠,另一端為USB3.X的第一連接器和視頻資料的第二連接器,所述轉接器用於藉由USB Type-C埠的四對差分對資料通道向第一連接器傳輸USB3.X資料、以及向第二連接器傳輸視頻資料;其中所述轉接器還包括第一連接器狀態確定模組,用於獲取第一連接器中的第一接地信號,並根據所述第一接地信號,確定並輸出第一連接器的狀態信號,以判斷是否被USB3.X設備掛載,所述第一接地信號為第七針腳或殼體信號且為獨立信號;所述通道控制方法包括:判斷所述狀態信號是否為USB3.X設備掛載;當所述狀態信號表示為USB3.X設備掛載時,判斷所述四對差分對資料通道是否被佔用;若是,則重新分配資料通道,使得所述四對差分對資料通道中的一部分用於傳輸USB3.X資料、另一部分用於繼續傳輸視頻資料;當所述狀態信號表示由USB3.X設備掛載轉變為非掛載時,重新分配資料通道,使得所述四對差分對資料通道都用於傳輸視頻資料。 A channel control method for a USB Type-C adapter, wherein one end of the adapter is a USB Type-C port, and the other end is a first connector of USB 3.X and a second connector of video data, the turn The connector is configured to transmit USB 3.X data to the first connector and transmit the video material to the second connector by using four pairs of differential pair data channels of the USB Type-C埠; wherein the adapter further includes the first connector a state determining module, configured to acquire a first ground signal in the first connector, and determine and output a status signal of the first connector according to the first ground signal to determine whether the device is mounted by the USB 3.X device. The first ground signal is a seventh pin or a housing signal and is an independent signal; the channel control method includes: determining whether the status signal is a USB 3.X device mount; when the status signal is represented as USB 3.X When the device is mounted, determining whether the four pairs of differential pair data channels are occupied; if yes, reallocating the data channels, so that part of the four pairs of differential pair data channels are used for transmitting USB 3.X data, and another portion is used for Continue to transfer video material; Said status signal indicates the USB3.X apparatus mounted into a non-mount channel reallocation information, such that said four pairs of differential data channels for transmitting video data. 如請求項6所述的方法,其中所述第一連接器狀態確定模組包括:第一比較器,其一輸入端連接第一參考電壓,另一輸入端連接至第一接地信號、以及藉由第一上拉電阻連接至第一電源,所述第一電源的電壓大於所述第一參考電壓,所述狀態信號包含所述第一比較器的輸出信號。 The method of claim 6, wherein the first connector state determining module comprises: a first comparator having an input connected to the first reference voltage, the other input connected to the first ground signal, and borrowing Connected to the first power source by a first pull-up resistor, the voltage of the first power source is greater than the first reference voltage, and the state signal includes an output signal of the first comparator. 如請求項6或7所述的方法,其中所述轉接器還用於藉由USB Type-C埠的D+/D-資料通道向第一連接器傳輸USB2.0資料,所述第一接地信號為所述第一連接器中第七針腳的接地信號。 The method of claim 6 or 7, wherein the adapter is further configured to transmit USB 2.0 data to the first connector by using a USB Type-C埠 D+/D-data channel, the first ground The signal is a ground signal of the seventh pin in the first connector. 如請求項8所述的方法,其中所述第一連接器狀態確定模組還用於獲取第一連接器中的第二接地信號,所述第二接地信號為獨立信號且為所述第一連接器的殼體信號;所述第一連接器狀態確定模組更包括根據所述第一接地信號和所述第 二接地信號,確定並輸出所述狀態信號,以判斷是否被USB3.X設備掛載以及是否被USB2.0設備掛載。 The method of claim 8, wherein the first connector state determining module is further configured to acquire a second ground signal in the first connector, the second ground signal is an independent signal and is the first a housing signal of the connector; the first connector state determining module further comprising: according to the first ground signal and the The two ground signals determine and output the status signal to determine whether it is mounted by the USB 3.X device and is mounted by the USB 2.0 device. 如請求項9所述的方法,其中所述第一連接器狀態確定模組還包括:第二比較器,其一輸入端連接第二參考電壓,另一輸入端連接至所述第二接地信號、以及藉由第二上拉電阻連接至第二電源,所述第二電源的電壓大於所述第二參考電壓,所述狀態信號包含所述第一比較器和所述第二比較器的輸出信號。 The method of claim 9, wherein the first connector state determining module further comprises: a second comparator having an input connected to the second reference voltage and the other input connected to the second ground signal And connecting to the second power source by a second pull-up resistor, the voltage of the second power source being greater than the second reference voltage, the state signal comprising an output of the first comparator and the second comparator signal.
TW106135041A 2017-09-21 2017-10-13 A usb type-c adapter and the channel control method for performing usb device detection TWI651615B (en)

Applications Claiming Priority (4)

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
CN201721220427.8U CN207164746U (en) 2017-09-21 2017-09-21 A kind of USB Type C adapters for realizing USB device detection
??201721220427.8 2017-09-21
??201710860181.9 2017-09-21

Publications (2)

Publication Number Publication Date
TWI651615B true TWI651615B (en) 2019-02-21
TW201915726A TW201915726A (en) 2019-04-16

Family

ID=66214058

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106135041A TWI651615B (en) 2017-09-21 2017-10-13 A usb type-c adapter and the channel control method for performing usb device detection

Country Status (1)

Country Link
TW (1) TWI651615B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651393A (en) * 2020-06-24 2020-09-11 广西世纪创新显示电子有限公司 TYPE-C interface circuit
CN111651393B (en) * 2020-06-24 2024-05-31 广西世纪创新显示电子有限公司 TYPE-C interface circuit

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2559255A1 (en) * 2010-05-27 2013-02-20 Sony Corporation An image compression method with random access capability
US20150269102A1 (en) * 2014-03-24 2015-09-24 Nokia Corporation Connecting usb type-c devices
US20150331826A1 (en) * 2014-05-19 2015-11-19 Microchip Technology Incorporated Switchless usb c-connector hub
US20160112711A1 (en) * 2014-10-21 2016-04-21 Icron Technologies Corporation Devices and methods for providing reduced bandwidth displayport communication
US20160191313A1 (en) * 2014-12-24 2016-06-30 Intel Corporation Type-c retimer state machine and a protocol for inband control and configuration
US20170017595A1 (en) * 2015-05-11 2017-01-19 Dell Products L. P. Increasing data throughput of a universal serial bus (usb) type-c port
TW201706862A (en) * 2015-04-30 2017-02-16 基薩系統公司 Adapter devices for enhancing the functionality of other devices
TW201722007A (en) * 2015-12-14 2017-06-16 創見資訊股份有限公司 Adaptor and storage device using the same

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2559255A1 (en) * 2010-05-27 2013-02-20 Sony Corporation An image compression method with random access capability
US20150269102A1 (en) * 2014-03-24 2015-09-24 Nokia Corporation Connecting usb type-c devices
US20150331826A1 (en) * 2014-05-19 2015-11-19 Microchip Technology Incorporated Switchless usb c-connector hub
US20160112711A1 (en) * 2014-10-21 2016-04-21 Icron Technologies Corporation Devices and methods for providing reduced bandwidth displayport communication
US20160191313A1 (en) * 2014-12-24 2016-06-30 Intel Corporation Type-c retimer state machine and a protocol for inband control and configuration
TW201706862A (en) * 2015-04-30 2017-02-16 基薩系統公司 Adapter devices for enhancing the functionality of other devices
US20170017595A1 (en) * 2015-05-11 2017-01-19 Dell Products L. P. Increasing data throughput of a universal serial bus (usb) type-c port
TW201722007A (en) * 2015-12-14 2017-06-16 創見資訊股份有限公司 Adaptor and storage device using the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651393A (en) * 2020-06-24 2020-09-11 广西世纪创新显示电子有限公司 TYPE-C interface circuit
CN111651393B (en) * 2020-06-24 2024-05-31 广西世纪创新显示电子有限公司 TYPE-C interface circuit

Also Published As

Publication number Publication date
TW201915726A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN108259803B (en) Electronic terminal device, television terminal, signal input circuit and method
CN107111588B (en) Data transfer using PCIe protocol via USB port
TWI684869B (en) Hub
US8195852B2 (en) Configurable connector for system-level communication
US9886413B2 (en) Displayport over USB mechanical interface
US10162784B2 (en) Adapter for transmitting signals
US20230376441A1 (en) Detection of displayport alternate mode communication and connector plug orientation without use of a power distribution controller
CN107506322B (en) Type-C adapter for realizing detection of USB equipment and channel control method
JP2011166720A (en) Motherboard compatible with multiple versions of usb, and related method
US20080256283A1 (en) Multimedia expansion module and computer device using the same
US9990328B2 (en) Increased data flow in universal serial bus (USB) cables
US9197340B2 (en) Connector and interface circuit for simultaneous content streaming and user data from handheld devices
CN107111564B (en) Adapter for connecting connectors in series
US20160357699A1 (en) Signal conditioner for high-speed data communications
WO2017166787A1 (en) Usb type-c interface system of smart mobile terminal
TW201337576A (en) Interchangeable power and signal contacts for IO connectors
WO2018045870A1 (en) Usb type-c connector with a secondary port
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
TWI704734B (en) External electrical connector and computer system
US8851764B2 (en) Electronic device with optical universal serial bus connector
CN209086914U (en) The industrial control mainboard of multi-USB interface and more PCI-E expansion interfaces
CN207164746U (en) A kind of USB Type C adapters for realizing USB device detection
CN117498105B (en) Electronic equipment and connecting component
US20070294460A1 (en) Computer systems and multi-later usb i/o systems thereof