TWI804211B - Signal extender and signal transmission method - Google Patents

Signal extender and signal transmission method Download PDF

Info

Publication number
TWI804211B
TWI804211B TW111106994A TW111106994A TWI804211B TW I804211 B TWI804211 B TW I804211B TW 111106994 A TW111106994 A TW 111106994A TW 111106994 A TW111106994 A TW 111106994A TW I804211 B TWI804211 B TW I804211B
Authority
TW
Taiwan
Prior art keywords
channel
signal
terminal
electronic signal
extender
Prior art date
Application number
TW111106994A
Other languages
Chinese (zh)
Other versions
TW202335447A (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
Application filed by 宏正自動科技股份有限公司 filed Critical 宏正自動科技股份有限公司
Priority to TW111106994A priority Critical patent/TWI804211B/en
Priority to CN202310041977.7A priority patent/CN118444864A/en
Application granted granted Critical
Publication of TWI804211B publication Critical patent/TWI804211B/en
Publication of TW202335447A publication Critical patent/TW202335447A/en

Links

Images

Landscapes

  • Transmitters (AREA)
  • Liquid Crystal Substances (AREA)
  • Reduction Or Emphasis Of Bandwidth Of Signals (AREA)
  • Dc Digital Transmission (AREA)
  • Amplifiers (AREA)

Abstract

A signal extender, which can solve the problem of traditional signal voltage offset. The signal extender can be used to connect a first device and a second device to transmit messages, including at least a first endpoint, a second endpoint, a channel switcher and a driving unit. The first endpoint can be connected to the first device, and the second endpoint can be connected to the second device. The channel switcher is connected with the first endpoint, and one of the first channel or the second channel can be selected to connect with the first endpoint and the second endpoint according to all switching signals. The driving unit is connected to the second channel, and can generate a second electronic signal transmitted on the second channel according to a first electronic signal provided by the second device when the second channel is selected to be connected with the first endpoint and the second endpoint. The second channel will transmit the second electronic signal to the first device, and the baseline voltage of the second electronic signal does not exceed a preset value.

Description

訊號延伸器和訊號傳遞方法Signal Extender and Signal Transmission Method

本申請是關於一種訊號延伸器,尤其是有關於可在訊號延伸器中補正訊號位準的訊號傳遞方法。This application relates to a signal extender, in particular to a signal transmission method capable of correcting the signal level in the signal extender.

在一般電腦控制中心中,螢幕與機房經常相隔兩地。螢幕與主機相連則需要透過延伸器(Extender)之類的訊號延長產品來加強訊號傳輸。其中的傳輸訊號中有一對顯示資料通道(Display Data Channel; DDC)訊號負責傳遞螢幕可使用的最佳解析度資訊(EDID)和影像的加密資訊(HDCP),來確保使用者獲得最佳的影像品質。In a general computer control center, the screen and the computer room are often separated by two places. When the screen is connected to the host computer, signal extension products such as extenders are required to strengthen signal transmission. Among the transmission signals, there is a pair of display data channel (Display Data Channel; DDC) signals that are responsible for transmitting the best resolution information (EDID) and image encryption information (HDCP) that can be used by the screen to ensure that users get the best images quality.

圖1是習知的第一裝置110和第二裝置120透過一顯示資料通道(Display Data Channel; DDC)連線的示意圖。第一裝置110具有一第一接口P1,而第二裝置120具有一第二接口P2。該第一接口P1和第二接口P2之間可由一資料線連結而建立一DDC通道。為了傳遞資料訊號,在第一裝置110和第二裝置120中對應包含一組收發器,即,第一接收器112,第一傳送器114,第二接收器122和第二傳送器124。一般來說,電子訊號是透過一種電流或電壓變化的方式傳遞。當第二裝置120中的第二傳送器124要傳送資料給第一裝置110時,第二傳送器124隨著資料中的1和0的邏輯值,將第二裝置120中的電晶體Q2打開或關閉,使得DDC連線上產生一個從第一接口P1流向第二接口P2的電流I L,最後被電晶體Q2下拉至地線。藉此,第一裝置110中的第一接收器112可讀取第一接口P1上的電壓位準,而判斷第二裝置120傳送的資料值為0或1。 FIG. 1 is a schematic diagram of a conventional connection between a first device 110 and a second device 120 via a Display Data Channel (DDC). The first device 110 has a first interface P1, and the second device 120 has a second interface P2. The first interface P1 and the second interface P2 can be connected by a data line to establish a DDC channel. In order to transmit data signals, a set of transceivers are included in the first device 110 and the second device 120 , namely, the first receiver 112 , the first transmitter 114 , the second receiver 122 and the second transmitter 124 . Generally speaking, electronic signals are transmitted by means of a current or voltage change. When the second transmitter 124 in the second device 120 is about to transmit data to the first device 110, the second transmitter 124 turns on the transistor Q2 in the second device 120 according to the logic values of 1 and 0 in the data. Or close, so that a current IL flowing from the first interface P1 to the second interface P2 is generated on the DDC connection, and finally pulled down to the ground by the transistor Q2. In this way, the first receiver 112 in the first device 110 can read the voltage level on the first interface P1, and judge that the data value transmitted by the second device 120 is 0 or 1.

相對地,當第一裝置110中的第一傳送器114也是透過電晶體Q1來傳送資料給第二裝置120中的第二接收器122。詳細原理不再重複說明。In contrast, when the first transmitter 114 in the first device 110 also transmits data to the second receiver 122 in the second device 120 through the transistor Q1 . The detailed principle will not be repeated.

換句話說,DDC 通道是藉由晶片級匯流排( I2C Bus) 的開漏電路(Open Drain)讓系統之間傳遞資料。但開漏電路有無法延長傳輸距離以及無法串級的問題,容易造成電路等效內阻過高導致I2C低準位的基準電壓過高,即,用於代表位元0的邏輯低電壓比判讀臨界值還高。結果將導致判讀失敗,使畫面無法顯示。In other words, the DDC channel is to transfer data between systems through the open drain circuit (Open Drain) of the chip-level bus (I2C Bus). However, the open-drain circuit has the problems of being unable to extend the transmission distance and cascading, which may easily cause the equivalent internal resistance of the circuit to be too high and cause the reference voltage of the I2C low level to be too high, that is, it is used to represent the logic low voltage ratio of bit 0. The critical value is still high. As a result, the interpretation will fail and the screen cannot be displayed.

舉例來說,在第一接口P1和第二接口P2之間的DDC通道上,存在一個線路內阻R L。線路內阻R L是一種等效電阻的概念,其中概括了DDC上發生的各種線損、類比切換電路內阻、印刷電路板氧化衰減,或積體電路內部負載阻抗、第二裝置內阻R B等。因此,當第二裝置120的第二傳送器124對DDC通道下拉電壓時,對第一接收器112而言,讀取到的第一接口P1上的電壓值概略換算為: For example, there is a line internal resistance RL on the DDC channel between the first interface P1 and the second interface P2. The line internal resistance RL is a concept of equivalent resistance, which summarizes various line losses occurring on the DDC, the internal resistance of the analog switching circuit, the oxidation attenuation of the printed circuit board, or the internal load impedance of the integrated circuit, and the internal resistance R of the second device. B etc. Therefore, when the second transmitter 124 of the second device 120 pulls down the voltage on the DDC channel, for the first receiver 112, the read voltage value on the first interface P1 is roughly converted into:

V=R L/(R L+R A) V=R L /(R L +R A )

其中R A是第一裝置內阻。當DDC通道長度很長,或是串接延伸器時,容易造成線路內阻R L數值增加。根據上述公式,當線路內阻R L比例過大時,用於代表位元0的邏輯低電壓會高於可判讀的臨界值,而影響DDC通道的連線功能。 where R A is the internal resistance of the first device. When the length of the DDC channel is very long, or when an extender is connected in series, it is easy to cause the value of the line internal resistance RL to increase. According to the above formula, when the ratio of the internal resistance RL of the line is too large, the logic low voltage used to represent the bit 0 will be higher than the interpretable critical value, which will affect the connection function of the DDC channel.

有鑑於此,一種改良式的訊號延伸器和訊號傳遞方法是有待開發的。In view of this, an improved signal extender and signal transmission method are to be developed.

本申請的實施例提出一種訊號延伸器,可解決傳統訊號電壓位準偏移的問題。該訊號延伸器可用於連接一第一裝置和一第二裝置以傳遞訊息,至少包含第一端點,第二端點,一通道切換器,以及一驅動單元。該第一端點可連接該第一裝置,該第二端點可連接該第二裝置。該通道切換器連接該第一端點,可根據一切換訊號,從一第一通道或一第二通道中選擇其中之一與該第一端點和該第二端點連接。該驅動單元連接於該第二通道上,可在該第二通道被選擇與該第一端點和該第二端點連接時,根據該第二裝置提供的一第一電子訊號產生在該第二通道上傳送的一第二電子訊號。該第二通道會將該第二電子訊號傳送給該第一裝置,而該第二電子訊號的基準電壓不超過一預設值。The embodiment of the present application provides a signal extender, which can solve the problem of the traditional signal voltage level shift. The signal extender can be used to connect a first device and a second device to transmit information, and at least includes a first terminal, a second terminal, a channel switcher, and a driving unit. The first terminal can be connected to the first device, and the second terminal can be connected to the second device. The channel switcher is connected to the first terminal, and can select one of a first channel or a second channel to connect with the first terminal and the second terminal according to a switching signal. The drive unit is connected to the second channel, and when the second channel is selected to be connected to the first terminal and the second terminal, a first electronic signal provided by the second device can be generated on the second channel. A second electronic signal sent on the second channel. The second channel transmits the second electronic signal to the first device, and the reference voltage of the second electronic signal does not exceed a preset value.

在進一步的實施例中,在該切換訊號使該通道切換器切換連接至該第二通道的情況下,該驅動單元將該電流往地線下拉,並使該第二電子訊號的基準電壓不高於該預設值。In a further embodiment, when the switching signal causes the channel switch to switch to the second channel, the driving unit pulls the current to the ground line, and makes the reference voltage of the second electronic signal not high at this default value.

在進一步的實施例中,該訊號延伸器進一步包含一方向判斷單元,連接於該第一端點與該通道切換器之間,用以判斷該第一端點上的一電流的方向以生成該切換訊號。當該電流的方向是從該第一裝置流入該第一端點時,該切換訊號使該通道切換器切換至該第二通道。In a further embodiment, the signal extender further includes a direction judging unit, connected between the first terminal and the channel switch, for judging the direction of a current on the first terminal to generate the Toggle signal. When the direction of the current is from the first device to the first terminal, the switch signal makes the channel switcher switch to the second channel.

在進一步的實施例中,該通道切換器連接該第一端點。該通道切換器是根據該切換訊號,將該第一端點與該第一通道或該第二通道連接而形成該第一裝置和該第二裝置的一訊號傳遞通道。具體地說,該方向判斷單元包含一比較器,連接於該訊號傳遞通道上的不同位置, 以偵測一電位差。該方向判斷單元可根據該電位差輸出該切換訊號,以使該通道切換器決定使用該第一通道或該第二通道。In a further embodiment, the channel switcher is connected to the first endpoint. The channel switcher connects the first terminal with the first channel or the second channel according to the switching signal to form a signal transmission channel between the first device and the second device. Specifically, the direction judging unit includes a comparator connected to different positions on the signal transmission channel to detect a potential difference. The direction judging unit can output the switching signal according to the potential difference, so that the channel switcher decides to use the first channel or the second channel.

在進一步的實施例中,該方向判斷單元進一步包含一邏輯閘,電性耦接於該比較器的輸出端和該第一端點,用以判斷該電流的方向,當該電流的方向是從該第一裝置流入該第一端點時,該方向判斷單元使該切換訊號為一高電位訊號,否則使該切換訊號為一低電位訊號。In a further embodiment, the direction judging unit further includes a logic gate, electrically coupled to the output terminal of the comparator and the first terminal, for judging the direction of the current, when the direction of the current is from When the first device flows into the first terminal, the direction judging unit makes the switching signal a high potential signal, otherwise makes the switching signal a low potential signal.

在進一步的實施例中,該驅動單元中可包含一第一電晶體和一第二電晶體。該第一電晶體包含一第一汲極連接該第二通道及一電壓源,一第一源極接地,及一第一閘極。該第二電晶體包含一第二汲極連接該第一閘極及該電壓源,一第二源極接地,及一第二閘極連接該第二端點。當通道切換器切換使用該第二通道時,該第二閘極接收該第二裝置的該第一電子訊號,使該第一電晶體對應地將從該第一裝置而來的該電流往該第一源極下拉接地,以及使該第一電晶體生成低準位較低的第二電子訊號給該第一裝置讀取。In a further embodiment, the driving unit may include a first transistor and a second transistor. The first transistor includes a first drain connected to the second channel and a voltage source, a first source grounded, and a first gate. The second transistor includes a second drain connected to the first gate and the voltage source, a second source connected to ground, and a second gate connected to the second terminal. When the channel switch switches to use the second channel, the second gate receives the first electronic signal from the second device, so that the first transistor correspondingly transfers the current from the first device to the The first source is pulled down to ground, and the first transistor generates a second electronic signal with a lower level for reading by the first device.

在進一步的實施例中,該訊號延伸器可以是一DDC通道延伸器,而該第一電子訊號和該第二電子訊號可以是序列資料連結訊號。該第一裝置是電腦主機,而該第二裝置是顯示器。In a further embodiment, the signal extender may be a DDC channel extender, and the first electronic signal and the second electronic signal may be serial data link signals. The first device is a computer host, and the second device is a monitor.

本申請的另一實施例是基於上述訊號延伸器所實現的一種訊號傳遞方法,可在一第一裝置和一第二裝置之間傳遞訊息。首先,根據一切換訊號,從一第一通道或一第二通道中選擇其中之一,將該第一裝置和該第二裝置串接在一起。當該第二通道被選擇與該訊號延伸器中的第一端點和第二端點連接時, 根據該第二裝置提供的一第一電子訊號產生一第二電子訊號,並使用該第二通道傳送該第二電子訊號給該第一裝置;其中該第二電子訊號的基準電壓不超過一預設值。Another embodiment of the present application is based on a signal transmission method realized by the above-mentioned signal extender, which can transmit information between a first device and a second device. Firstly, according to a switching signal, one of a first channel or a second channel is selected, and the first device and the second device are connected in series. When the second channel is selected to be connected to the first terminal and the second terminal in the signal extender, a second electronic signal is generated according to a first electronic signal provided by the second device, and the second The channel transmits the second electronic signal to the first device; wherein the reference voltage of the second electronic signal does not exceed a preset value.

在進一步的實施例中,該切換訊號是根據該第一端點上的一電流的方向而決定。當該電流的方向是從該第一裝置流入該第一端點時,該切換訊號使該通道切換器切換至該第二通道。In a further embodiment, the switching signal is determined according to the direction of a current on the first terminal. When the direction of the current is from the first device to the first terminal, the switch signal makes the channel switcher switch to the second channel.

在進一步的實施例中,在該切換訊號選擇使用該第二通道的情況下,採用一驅動單元將該電流往地線下拉,並使該第二電子訊號的基準電壓不高於該預設值。In a further embodiment, when the switching signal selects to use the second channel, a driving unit is used to pull the current to the ground line, and make the reference voltage of the second electronic signal not higher than the preset value .

綜上所述,本申請的實施例提出的訊號延伸器,可解決傳統訊號電壓位準偏移的問題。利用一方向判斷單元判斷電流方向,並利用驅動單元依據第一電子訊號產生具有正確基準電壓的一第二電子訊號,使第一裝置正確接收第二裝置要傳遞的訊息。To sum up, the signal extender provided by the embodiment of the present application can solve the problem of the traditional signal voltage level shift. A direction judging unit is used to judge the direction of the current, and a driving unit is used to generate a second electronic signal with a correct reference voltage according to the first electronic signal, so that the first device can correctly receive the message to be transmitted by the second device.

下面將結合本申請實施例中的圖式,對本申請實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例是本申請一部分實施例,而不是全部的實施例。基於本申請中的實施例,本領域普通技術人員在沒有作出創造性勞動前提下所獲得的所有其他實施例,都屬於本申請保護的範圍。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

圖2是本申請實施例的訊號延伸器200串接第一裝置110和第二裝置120的架構圖。本申請提出一種訊號延伸器200,串接於第一裝置110和第二裝置120之間,以便改良DDC通道的訊號品質,解決傳統技術所產生的問題。訊號延伸器200兩端各包含一第一端點Pa和一第二端點Pb。第一端點Pa可連接至第一裝置110的第一接口P1。而第二端點Pb可連接於第二裝置120的第二接口P2。一般而言,第一裝置110可以是,但不限定於是電腦主機,而第二裝置120可以是,但不限定於是顯示器。本申請實施例也可以適用於其他使用有線延伸器來傳送數位資料的場合。FIG. 2 is a structure diagram of a signal extender 200 connected in series with the first device 110 and the second device 120 according to the embodiment of the present application. This application proposes a signal extender 200, which is serially connected between the first device 110 and the second device 120, so as to improve the signal quality of the DDC channel and solve the problems caused by the traditional technology. Two ends of the signal extender 200 each include a first terminal Pa and a second terminal Pb. The first terminal Pa can be connected to the first interface P1 of the first device 110 . And the second terminal Pb can be connected to the second interface P2 of the second device 120 . Generally speaking, the first device 110 may be, but not limited to be a computer host, and the second device 120 may be, but not limited to be a monitor. The embodiments of the present application may also be applicable to other occasions where a cable extender is used to transmit digital data.

圖3是本申請實施例的訊號延伸器200的架構示意圖。訊號延伸器200中主要包含方向判斷單元210,通道切換器220和驅動單元230三個電路單元。FIG. 3 is a schematic structural diagram of a signal extender 200 according to an embodiment of the present application. The signal extender 200 mainly includes three circuit units: a direction determining unit 210 , a channel switcher 220 and a driving unit 230 .

第一端點Pa可連接第一裝置110,第二端點Pb可連接第二裝置120。通道切換器220連接第一端點Pa,可根據一切換訊號#S,從一第一通道L1或一第二通道L2中選擇其中之一與第二端點Pb連接。更確切的說,第一通道L1定義為從第一切換接點SW1延伸到第二端點Pb的這條線段,而第二通道L2定義為從第二切換接點SW2連到第三端點Pc,再透過驅動單元230延伸到第二端點Pb的這條線段。通道切換器220可以根據切換訊號#S,選擇將第一端點Pa連接至第一切換接點SW1或第二切換接點SW2,進而改變第一裝置110和第二裝置120之間的資料傳遞路徑。The first terminal Pa can be connected to the first device 110 , and the second terminal Pb can be connected to the second device 120 . The channel switcher 220 is connected to the first terminal Pa, and can select one of a first channel L1 or a second channel L2 to connect to the second terminal Pb according to a switching signal #S. More precisely, the first path L1 is defined as the line segment extending from the first switching point SW1 to the second terminal Pb, and the second path L2 is defined as connecting from the second switching point SW2 to the third terminal Pc, then passes through the driving unit 230 and extends to the line segment of the second end point Pb. The channel switcher 220 can select to connect the first terminal Pa to the first switching contact SW1 or the second switching contact SW2 according to the switching signal #S, thereby changing the data transmission between the first device 110 and the second device 120 path.

驅動單元230連接於第二通道L2上。當第二通道L2被選擇與第一端點Pa和第二端點Pb連接時,驅動單元230根據第二裝置120提供的一第一電子訊號ES1產生在第二通道L2上傳送的一第二電子訊號ES2。第二通道L2會將第二電子訊號ES2傳送給第一裝置110。在本實施例中,第二裝置120利用第一電子訊號ES1中所傳送的資訊,會被複製至第二電子訊號ES2中而正確地被傳遞至第一裝置110中。而第二電子訊號ES2的訊號品質是經過改良的,即,其中的基準電壓不會超過一預設值。舉例來說,數位資料中的位元值0和1,通常以電子訊號的邏輯高電位和邏輯低電位來表示。而邏輯高電位和邏輯低電位的判斷標準,依照不同應用,分別存在預設範圍。當電子訊號的電位低於一個代表邏輯低電位的預設值時,可被判斷為位元值0。電子訊號的基準電壓,代表的是在傳送過程中,所能表現出來的最低電壓。第二裝置120輸出的第一電子訊號ES1,常因線路內阻R L而產生基準電壓過高的問題,因此屬於品質較差的訊號。本實施例所設計的驅動單元230,具有較佳的靈敏度,可從訊號品質不良的第一電子訊號ES1中讀取正確資訊,並轉換為訊號品質較佳的第二電子訊號ES2後再傳給第一裝置110,藉此確保資料傳輸的正確性。 The driving unit 230 is connected to the second channel L2. When the second channel L2 is selected to be connected to the first terminal Pa and the second terminal Pb, the driving unit 230 generates a second electronic signal ES1 transmitted on the second channel L2 according to a first electronic signal ES1 provided by the second device 120. Electronic signal ES2. The second channel L2 transmits the second electronic signal ES2 to the first device 110 . In this embodiment, the information transmitted by the second device 120 using the first electronic signal ES1 will be copied into the second electronic signal ES2 and then correctly delivered to the first device 110 . The signal quality of the second electronic signal ES2 is improved, that is, the reference voltage therein will not exceed a preset value. For example, the bit values 0 and 1 in digital data are usually represented by logic high and logic low levels of electronic signals. The criteria for judging the logic high potential and the logic low potential respectively have preset ranges according to different applications. When the potential of the electronic signal is lower than a preset value representing a logic low level, it can be judged as a bit value of 0. The reference voltage of an electronic signal represents the lowest voltage that can be displayed during transmission. The first electronic signal ES1 output by the second device 120 often has a problem of too high reference voltage due to the internal resistance RL of the circuit, so it is a signal of poor quality. The drive unit 230 designed in this embodiment has better sensitivity, can read correct information from the first electronic signal ES1 with poor signal quality, and convert it into a second electronic signal ES2 with better signal quality and then transmit it to the second electronic signal ES2. The first device 110 ensures correctness of data transmission.

在一實施例中,當第二裝置120欲傳送資料給第一裝置110時,攜帶著資訊的第一電子訊號ES1是由第二裝置120將電壓的變化的方式傳送至驅動單元230。驅動單元230根據第二端點Pb上的電壓變化狀況,而獲取第一電子訊號ES1中所要傳遞的資訊。同時,驅動單元230可根據第一電子訊號ES1對應地產生攜帶相同資訊的第二電子訊號ES2,並傳送給第一裝置110。在本實施例中,由於第二電子訊號ES2的電流是獨立於第一電子訊號ES1的傳送路徑,因此訊號品質不受到線路內阻R L的影響。 In one embodiment, when the second device 120 intends to transmit data to the first device 110 , the first electronic signal ES1 carrying the information is transmitted to the driving unit 230 by the second device 120 in the form of a voltage change. The driving unit 230 obtains the information to be transmitted in the first electronic signal ES1 according to the voltage variation on the second terminal Pb. At the same time, the driving unit 230 can correspondingly generate a second electronic signal ES2 carrying the same information according to the first electronic signal ES1 and send it to the first device 110 . In this embodiment, since the current of the second electronic signal ES2 is independent from the transmission path of the first electronic signal ES1, the signal quality is not affected by the internal resistance RL of the circuit.

在切換訊號#S使通道切換器220切換連接至第二通道L2的情況下,驅動單元230可將第二電子訊號ES2傳送給第一裝置110。舉例來說,在傳送第二電子訊號ES2時,驅動單元230可將來自第一裝置110的電流Ic往地線下拉,並且使第二電子訊號ES2中代表位元0的基準電壓不高於預設值。第一裝置110可根據第一接口P1上的電壓情況來讀取第二電子訊號ES2中所要傳遞的資訊。雖然圖3的實施例中,驅動單元230是將電流Ic往地線下拉。但實現設計中,也可以是將電流下拉至其他電路中。When the switching signal #S causes the channel switcher 220 to switch and connect to the second channel L2 , the driving unit 230 can transmit the second electronic signal ES2 to the first device 110 . For example, when transmitting the second electronic signal ES2, the driving unit 230 can pull down the current Ic from the first device 110 to the ground line, and make the reference voltage representing bit 0 in the second electronic signal ES2 not higher than a predetermined value. set value. The first device 110 can read the information to be transmitted in the second electronic signal ES2 according to the voltage condition on the first interface P1. Although in the embodiment of FIG. 3 , the driving unit 230 pulls down the current Ic to the ground. However, in implementing the design, the current may also be pulled down to other circuits.

方向判斷單元210的功能是判斷第一裝置和第二裝置之間的訊號傳送方向或電流方向,以決定要切換的通道。具體的實施方式可以延伸為幾種。舉例來說,方向判斷單元210可以是訊號延伸器200的微控制器(MCU),應用程式特定晶片(ASIC),或可程式化邏輯閘陣列(FPGA),具有簡單的控制、運算、判斷功能,可執行程式碼而實現特定功能。在這種架構設計下,方向判斷單元210可直接將第一端點Pa上的電壓或電流當成一種輸入訊號,經過內部預先設計的程式運算判斷後,而產生對應的切換訊號#S。訊號延伸器200中可實作一快閃記憶體(未圖示)以儲存韌或一控制程式,使方向判斷單元210據以執行。在另一種情況中,控制程式也可直接製成邏輯電路,整合在方向判斷單元210中。由於基於微處理器和程式來實現控制目的的技術已存在許多成熟的方案,本實施例不再詳細述。The function of the direction judging unit 210 is to judge the signal transmission direction or the current direction between the first device and the second device, so as to determine the channel to be switched. The specific implementation manner can be extended to several kinds. For example, the direction judging unit 210 can be a microcontroller (MCU) of the signal extender 200, an application-specific chip (ASIC), or a programmable logic gate array (FPGA), which has simple control, calculation, and judgment functions. , which can execute code to achieve specific functions. Under this structure design, the direction judging unit 210 can directly take the voltage or current on the first terminal Pa as an input signal, and generate the corresponding switching signal #S after the internal pre-designed program operation and judgment. A flash memory (not shown) can be implemented in the signal extender 200 to store firmware or a control program, so that the direction determining unit 210 can execute accordingly. In another situation, the control program can also be directly made into a logic circuit and integrated into the direction judging unit 210 . Since there are many mature solutions for realizing the control purpose based on microprocessors and programs, this embodiment will not describe in detail.

另一方面,方向判斷單元210可以特定電路架構來實現。圖4是本申請實施例的方向判斷單元210的具體電路圖。方向判斷單元210連接於第一端點Pa與通道切換器220之間,可判斷第一端點Pa上的電流Ic的方向以生成切換訊號#S。所輸出的切換訊號#S,可用於使通道切換器220決定使用第一通道L1或第二通道L2來形成從第一接口P1延伸到第二接口P2的一條實體訊號傳遞通道。On the other hand, the direction determination unit 210 can be implemented with a specific circuit architecture. FIG. 4 is a specific circuit diagram of the direction judging unit 210 of the embodiment of the present application. The direction judging unit 210 is connected between the first terminal Pa and the channel switcher 220, and can judge the direction of the current Ic on the first terminal Pa to generate the switching signal #S. The output switching signal #S can be used to make the channel switcher 220 decide to use the first channel L1 or the second channel L2 to form a physical signal transmission channel extending from the first interface P1 to the second interface P2.

更具體地說,方向判斷單元210可包含一比較器212。比較器212具有兩個輸入端,各別連接於訊號傳遞通道上的不同位置, 例如第一接口P1和第一端點Pa之間,以偵測一電位差#V。進一步說明,在比較器所連接的訊號傳遞通道上的不同位置之間,可包含一線路電阻,使經過的電流產生電位差,例如可在第一接口P1和第一端點Pa之間配置一電阻R P,當有任何電流通過時,就會產生電位差#V。而方向判斷單元210的比較器212可根據電位差#V而對應決定切換訊號#S。舉例來說,當電流Ic的方向是從第一裝置110流入第一端點Pa時,切換訊號#S使通道切換器220切換至第二通道L2。 More specifically, the direction determining unit 210 may include a comparator 212 . The comparator 212 has two input terminals, respectively connected to different positions on the signal transmission channel, such as between the first interface P1 and the first terminal Pa, to detect a potential difference #V. To further illustrate, between different positions on the signal transmission channel connected to the comparator, a line resistance may be included to make the passing current generate a potential difference, for example, a resistance may be arranged between the first interface P1 and the first terminal Pa R P , when any current flows through it, a potential difference #V is created. The comparator 212 of the direction determination unit 210 can correspondingly determine the switching signal #S according to the potential difference #V. For example, when the direction of the current Ic is from the first device 110 to the first terminal Pa, the switching signal #S causes the channel switcher 220 to switch to the second channel L2.

在本實施例中,比較器212可以是市售的放大器晶片,受到電壓源V DD而驅動。比較器212的兩個輸入端分別搭配對應的電阻R1、R2、R3和R4以調節輸入電壓的位準。考慮到DDC通道需要的高速傳輸頻率,比較器212可以選擇與高速頻率匹配的規格。這些規格數值可視產品實際設計而適當調整,因此不在本申請的實施例中限定。 In this embodiment, the comparator 212 can be a commercially available amplifier chip driven by the voltage source V DD . The two input terminals of the comparator 212 are respectively matched with corresponding resistors R1 , R2 , R3 and R4 to adjust the level of the input voltage. Considering the high-speed transmission frequency required by the DDC channel, the comparator 212 can select a specification that matches the high-speed frequency. These specification values can be appropriately adjusted depending on the actual design of the product, and therefore are not limited in the embodiments of the present application.

在進一步的實施例中,DDC通道可能處於特定狀態,例如未傳遞訊號的狀態。本實施例將方向判斷單元210設計成可判斷DDC通道的狀態是否符合一特定條件,並在特定條件符合時,透過切換訊號#S使DDC通道切換至預設的狀態。舉例來說,方向判斷單元210進一步包含一邏輯閘214,電性耦接於比較器212的輸出端和第一端點Pa。邏輯閘214執行的是一個「且(AND)」邏輯運算,目的是用以判斷電流Ic的方向,即進一步限定在確認有實際訊號傳遞的狀況才以切換訊號#S選擇第二通道L2,否則使訊號延伸器200的預設狀態為使用第一通道L1。因此,在選擇第二通道L2時,電流Ic的方向是從第一裝置流入第一端點Pa,方向判斷單元210使切換訊號#S為一邏輯高電位訊號。在選擇第一通道L1時,切換訊號#S為一邏輯低電位訊號。In a further embodiment, the DDC channel may be in a specific state, such as a non-signaling state. In this embodiment, the direction judging unit 210 is designed to judge whether the state of the DDC channel meets a specific condition, and when the specific condition is met, the DDC channel is switched to a preset state through the switching signal #S. For example, the direction determining unit 210 further includes a logic gate 214 electrically coupled to the output terminal of the comparator 212 and the first terminal Pa. The logic gate 214 executes an "and (AND)" logic operation, the purpose of which is to judge the direction of the current Ic, that is, to further limit the switching signal #S to select the second channel L2 when the actual signal transmission is confirmed, otherwise The default state of the signal extender 200 is to use the first channel L1. Therefore, when the second channel L2 is selected, the direction of the current Ic flows from the first device to the first terminal Pa, and the direction determination unit 210 makes the switching signal #S a logic high potential signal. When the first channel L1 is selected, the switch signal #S is a logic low potential signal.

在進一步的實施例中,方向判斷單元包含第一反相器和第二反相器。一第一反相器連接第一端點Pa和邏輯閘214的輸入端,可將第一端點Pa的電壓的反相邏輯電位傳送給邏輯閘214。第二反相器連接邏輯閘214的輸出端,可接收切換訊號並生成一反相的切換訊號#S。In a further embodiment, the direction judging unit includes a first inverter and a second inverter. A first inverter is connected to the first terminal Pa and the input terminal of the logic gate 214 , and can transmit the inverse logic potential of the voltage of the first terminal Pa to the logic gate 214 . The second inverter is connected to the output terminal of the logic gate 214 and can receive the switching signal and generate an inverted switching signal #S.

舉例來說,第一反相器可為一電晶體Q3,第二反相器可為一電晶體Q4。一電晶體Q3連接第一端點Pa和邏輯閘214的輸入端,可將第一端點Pa的電壓的反相邏輯電位傳送給邏輯閘214。邏輯閘214的輸出端產生的訊號就是切換訊號#S,被連接至通道切換器220中的第二切換接點SW2。同時,電晶體Q4連接邏輯閘214的輸出端,將切換訊號#S反相之後,傳送至第一切換接點SW1。在本實施例中,可採用金屬氧半導體場效電晶體(MOSFET)來實現電晶體Q3和電晶體Q4的反相功能。每個反相器連接電壓源V DD,並分別搭配對應的電阻R5和R6以調節輸出訊號位準。這些電阻的數值可視產品規格而適當調配,因此不在本申請的實施例中限定。 For example, the first inverter can be a transistor Q3, and the second inverter can be a transistor Q4. A transistor Q3 is connected to the first terminal Pa and the input terminal of the logic gate 214 , and can transmit the inverse logic potential of the voltage of the first terminal Pa to the logic gate 214 . The signal generated by the output terminal of the logic gate 214 is the switching signal #S, which is connected to the second switching node SW2 in the channel switcher 220 . At the same time, the transistor Q4 is connected to the output terminal of the logic gate 214 to invert the switching signal #S and transmit it to the first switching contact SW1. In this embodiment, a Metal Oxygen Semiconductor Field Effect Transistor (MOSFET) can be used to realize the phase inversion function of the transistor Q3 and the transistor Q4. Each inverter is connected to the voltage source V DD , and is matched with corresponding resistors R5 and R6 to adjust the output signal level. The values of these resistors can be appropriately adjusted according to product specifications, and therefore are not limited in the embodiments of the present application.

總結來說,圖4的方向判斷單元210的可能運作方式之一,即根據第一接口P1和第一端點Pa的電壓差,判斷電流方向而產生切換訊號#S,供通道切換器220進行後續步驟。To sum up, one of the possible operation modes of the direction judging unit 210 in FIG. 4 is to judge the current direction according to the voltage difference between the first interface P1 and the first terminal Pa to generate a switching signal #S for the channel switcher 220 to perform. next steps.

圖5是本申請實施例的通道切換器220的具體電路圖。通道切換器220中,包含兩組開關電路,第一開關電路223和第二開關電路227,其中第一開關電路223設置於第一通道L1和第一端點Pa之間,第二開關電路227設置於第二通道L2和第一端點Pa之間。第一開關電路223接收反相的切換訊號#S,而第二開關電路227接收切換訊號#S。當切換訊號#S為一高電位訊號,第一開關電路223形成斷路,第二開關電路227形成通路,使第二通道L2與第一端點Pa連接。當切換訊號#S為一低電位訊號,第二開關電路227形成斷路,第一開關電路223形成通路,使第一通道L1與第一端點Pa連接。FIG. 5 is a specific circuit diagram of the channel switcher 220 according to the embodiment of the present application. In the channel switcher 220, there are two sets of switch circuits, the first switch circuit 223 and the second switch circuit 227, wherein the first switch circuit 223 is arranged between the first channel L1 and the first terminal Pa, and the second switch circuit 227 It is arranged between the second channel L2 and the first end point Pa. The first switch circuit 223 receives the inverted switching signal #S, and the second switch circuit 227 receives the switching signal #S. When the switching signal #S is a high potential signal, the first switch circuit 223 forms an open circuit, and the second switch circuit 227 forms a circuit, so that the second channel L2 is connected to the first terminal Pa. When the switching signal #S is a low potential signal, the second switch circuit 227 is turned off, and the first switch circuit 223 is turned on, so that the first channel L1 is connected to the first terminal Pa.

進一步來說,第一開關電路223是由電晶體222和電晶體224組成,用於根據第一切換接點SW1上的電壓值而決定第一端點Pa到第二端點Pb之導通狀態。第二開關電路227是由電晶體226和電晶體228組成,用於根據第二切換接點SW2上的電壓值決定第一端點Pa到第三端點Pc之導通狀態。第三端點Pc連接至圖3所示的驅動單元230。而根據圖4的方向判斷單元210的設計,第一切換接點SW1和第二切換接點SW2的電壓值是邏輯反相的。換句話說,第一開關電路223和第二開關電路227每次只有一組會開啟,而另一組會關閉。因此,通道切換器220實現了根據切換訊號#S而選擇第一通道L1或第二通道L2來傳導訊號的功能。Further, the first switch circuit 223 is composed of a transistor 222 and a transistor 224, and is used to determine the conduction state from the first terminal Pa to the second terminal Pb according to the voltage value on the first switching contact SW1. The second switch circuit 227 is composed of a transistor 226 and a transistor 228, and is used for determining the conduction state from the first terminal Pa to the third terminal Pc according to the voltage value on the second switching contact SW2. The third terminal Pc is connected to the driving unit 230 shown in FIG. 3 . However, according to the design of the direction judging unit 210 in FIG. 4 , the voltage values of the first switching point SW1 and the second switching point SW2 are logically inverted. In other words, only one set of the first switch circuit 223 and the second switch circuit 227 is turned on each time, while the other set is turned off. Therefore, the channel switcher 220 realizes the function of selecting the first channel L1 or the second channel L2 to conduct signals according to the switching signal #S.

通道切換器220的功能可總結為,根據切換訊號#S,將第一端點Pa與第一通道L1或第二通道L2連接而形成第一裝置110和第二裝置120的訊號傳遞通道。第一開關電路223連接於第一通道L1和第一端點Pa之間。第二開關電路227連接於第二通道L2和第一端點Pa之間。更具體地說,第一開關電路223從第一切換接點SW1上接收到切換訊號#S的反相,而第二開關電路227從第二切換接點SW2上接收切換訊號#S。當切換訊號#S為一高電位訊號,第一開關電路223形成斷路,第二開關電路227形成通路,使第二通道L2與第一端點Pa連接。相對地,當切換訊號#S為一低電位訊號,第二開關電路227形成斷路,第一開關電路223形成通路,使第一通道L1與第一端點Pa連接。The function of the channel switcher 220 can be summarized as, according to the switching signal #S, the first terminal Pa is connected to the first channel L1 or the second channel L2 to form a signal transmission channel between the first device 110 and the second device 120 . The first switch circuit 223 is connected between the first channel L1 and the first terminal Pa. The second switch circuit 227 is connected between the second channel L2 and the first terminal Pa. More specifically, the first switch circuit 223 receives the inversion of the switching signal #S from the first switching point SW1, and the second switching circuit 227 receives the switching signal #S from the second switching point SW2. When the switching signal #S is a high potential signal, the first switch circuit 223 forms an open circuit, and the second switch circuit 227 forms a circuit, so that the second channel L2 is connected to the first terminal Pa. In contrast, when the switching signal #S is a low potential signal, the second switch circuit 227 is turned off, and the first switch circuit 223 is turned on, so that the first channel L1 is connected to the first terminal Pa.

在本實施例中,第一開關電路223以電晶體222和電晶體224的源極S串接組成。同時,電晶體222的閘極G和電晶體224的閘極G共同連接第一切換接點SW1。同樣地,第二開關電路227由電晶體226和電晶體228以源極S串接組成。而電晶體226的閘極G和電晶體228的閘極G共同連接第二切換接點SW2。在圖5中,電晶體222的汲極D和電晶體226的汲極D共同連接第一端點Pa,而電晶體224的汲極D和電晶體228的汲極D分別連接至第二端點Pb和第三端點Pc。在實際設計中,第一開關電路223和第二開關電路227可不限定為圖5的雙電晶體串連方式,也可以是採用單個或多個電晶體來實現開關電路。另一方面,可以理解的是,雖然上述電晶體222、224、226和228中具體說明了源極和汲極的連接方式,但在許多型號的電晶體中,源極和汲極在功能上具有等同性質,亦即,源極和汲極的耦接方式可以對調。In this embodiment, the first switch circuit 223 is composed of a transistor 222 and a source S of the transistor 224 connected in series. Meanwhile, the gate G of the transistor 222 and the gate G of the transistor 224 are commonly connected to the first switching point SW1. Likewise, the second switch circuit 227 is composed of a transistor 226 and a transistor 228 connected in series with the source S. The gate G of the transistor 226 and the gate G of the transistor 228 are commonly connected to the second switching point SW2. In FIG. 5, the drain D of the transistor 222 and the drain D of the transistor 226 are connected to the first terminal Pa, and the drain D of the transistor 224 and the drain D of the transistor 228 are connected to the second terminal respectively. point Pb and the third terminal point Pc. In actual design, the first switch circuit 223 and the second switch circuit 227 are not limited to the double transistor series connection method shown in FIG. 5 , and a single or multiple transistors may be used to realize the switch circuit. On the other hand, it will be appreciated that although the source and drain connections are specified in transistors 222, 224, 226, and 228 above, in many types of transistors, the source and drain are functionally It has the same property, that is, the coupling mode of the source and the drain can be reversed.

圖6是本申請實施例的驅動單元230的具體電路圖。驅動單元230除了接地和電壓源V DD之外,也連接第三端點Pc和第二端點Pb。驅動單元230中可包含一第一電晶體232和一第二電晶體234。第一電晶體232包含一第一汲極D1,透過第三端點Pc耦接第二通道L2及一電壓源V DD,一第一源極S1接地,及一第一閘極G1。第一汲極D1和電壓源V DD之間可包含一電阻R7,用於調節電壓電流。第二電晶體234包含一第二汲極D2連接第一閘極G1。第二汲極D2還透過一電阻R8連接至電壓源V DD。第二源極S2接地,而第二閘極G2連接第二端點Pb。當通道切換器220切換使用第二通道L2時,第二閘極G2透過第二端點Pb接收第二裝置120的第一電子訊號ES1,使第一電晶體232對應地將從第一裝置110而來的電流Ic往第一源極S1下拉接地,驅動單元230生成第二電子訊號ES2給第一裝置110讀取。更確切地說,當第二裝置120透過訊號品質較差的第一電子訊號ES1傳遞資料時,而驅動單元230的第二電晶體234隨著第二端點Pb上的電壓變化而開啟或關閉,進而使第一電晶體的第一閘極G1受到第二電晶體234的第二汲極D2的電壓變化而開啟或關閉,再進而使第一電晶體232的第一汲極D1產生第二電子訊號ES2。驅動單元230的設計,使第一裝置110讀取第二電子訊號ES2時不受到線路內阻R L的影響。由於驅動單元230中的第一電晶體232和第二電晶體234必須負責從訊號品質較差的第一電子訊號ES1中正確獲取資料,因此第一電晶體232和第二電晶體234的配置參數可以特別優化以取得較佳的實施效果。 FIG. 6 is a specific circuit diagram of the driving unit 230 of the embodiment of the present application. In addition to the ground and the voltage source V DD , the driving unit 230 is also connected to the third terminal Pc and the second terminal Pb. The driving unit 230 may include a first transistor 232 and a second transistor 234 . The first transistor 232 includes a first drain D1 coupled to the second channel L2 and a voltage source V DD through the third terminal Pc, a first source S1 grounded, and a first gate G1 . A resistor R7 may be included between the first drain D1 and the voltage source V DD for adjusting the voltage and current. The second transistor 234 includes a second drain D2 connected to the first gate G1. The second drain D2 is also connected to the voltage source V DD through a resistor R8 . The second source S2 is grounded, and the second gate G2 is connected to the second terminal Pb. When the channel switcher 220 switches to use the second channel L2, the second gate G2 receives the first electronic signal ES1 of the second device 120 through the second terminal Pb, so that the first transistor 232 correspondingly transfers the signal from the first device 110 The incoming current Ic is pulled down to ground the first source S1 , and the driving unit 230 generates a second electronic signal ES2 for the first device 110 to read. More precisely, when the second device 120 transmits data through the first electronic signal ES1 with poor signal quality, the second transistor 234 of the driving unit 230 is turned on or off according to the voltage change on the second terminal Pb, Then the first gate G1 of the first transistor is turned on or off by the voltage change of the second drain D2 of the second transistor 234, and then the first drain D1 of the first transistor 232 generates second electrons Signal ES2. The driving unit 230 is designed so that the first device 110 will not be affected by the internal resistance RL of the circuit when reading the second electronic signal ES2. Since the first transistor 232 and the second transistor 234 in the driving unit 230 must be responsible for correctly obtaining data from the first electronic signal ES1 with poor signal quality, the configuration parameters of the first transistor 232 and the second transistor 234 can be Specially optimized to achieve better implementation results.

可以理解的是,驅動單元230從第二端點Pb所接收的第一電子訊號ES1,以及從第三端點Pc所輸出的第二電子訊號ES2,實作上是由連續的電壓或電流波形變化來表示所傳遞的資料。因此,訊號傳遞過程中的表現形式不限定是電壓或電流,也可以是電壓與電流的一系列變換組合。在本實施例中,第一電晶體232和第二電晶體234同樣可以是由市售的電晶體,例如MOSFET實現。考量到高速傳輸的需求,型號規格可以根據需求而改變,不在本申請的限定中。It can be understood that the first electronic signal ES1 received by the driving unit 230 from the second terminal Pb, and the second electronic signal ES2 output from the third terminal Pc are actually composed of continuous voltage or current waveforms changes to represent the data passed. Therefore, the form of expression in the process of signal transmission is not limited to voltage or current, but can also be a series of transformation combinations of voltage and current. In this embodiment, the first transistor 232 and the second transistor 234 can also be implemented by commercially available transistors, such as MOSFETs. Considering the demand for high-speed transmission, the model specification can be changed according to the demand, which is not limited in this application.

圖7是本申請實施例的訊號傳遞方法的流程圖。在本申請提出的訊號延伸器200中所運行的訊號傳遞方法,可以總結為以下步驟,在一第一裝置110和一第二裝置120之間傳遞訊息。首先,在步驟701中,啟動訊號延伸器200。在步驟703中,在沒有訊號或非傳遞狀態下,預設開啟第一通道L1來傳遞電子訊號。在本申請中,電子訊號可以是符合DDC規範的串列資料線訊號(SDA)。在步驟705中,由訊號延伸器200中的方向判斷單元210偵測傳輸線上的電流方向。在步驟707中,判斷電流是否由第一裝置110往第二裝置120流。如果不然,則繼續保持步驟703的狀態,使用第一通道L1將第一裝置110和第二裝置120串接在一起。FIG. 7 is a flowchart of a signal transmission method according to an embodiment of the present application. The signal transmission method run in the signal extender 200 proposed in this application can be summarized as the following steps, to transmit information between a first device 110 and a second device 120 . First, in step 701, the signal extender 200 is activated. In step 703, under no signal or non-transmitting state, the first channel L1 is turned on by default to transmit electronic signals. In this application, the electronic signal may be a serial data line signal (SDA) conforming to the DDC specification. In step 705 , the direction determination unit 210 in the signal extender 200 detects the direction of the current on the transmission line. In step 707 , it is determined whether the current flows from the first device 110 to the second device 120 . If not, continue to maintain the state of step 703, and use the first channel L1 to connect the first device 110 and the second device 120 together in series.

相對地,若確定電流是由第一裝置110往第二裝置120流,則進行步驟709,切換至第二通道L2,啟用驅動單元230來傳遞電子訊號給第一裝置110。更確切地說,當第二通道L2被選擇與訊號延伸器中的第一端點Pa和第二端點Pb連接時,根據第二裝置120提供的一第一電子訊號ES1產生一第二電子訊號ES2,並使用第二通道L2傳送第二電子訊號ES2給第一裝置110。在本實施例中,第二電子訊號ES2實質傳遞的資料內容與第一電子訊號ES1相同,但是由於電流路徑彼此隔絕,因此原通道中的線路內阻R L不會影響第一裝置110讀取第二電子訊號ES2。 In contrast, if it is determined that the current flows from the first device 110 to the second device 120 , then proceed to step 709 , switch to the second channel L2 , and enable the driving unit 230 to transmit electronic signals to the first device 110 . More precisely, when the second channel L2 is selected to be connected to the first terminal Pa and the second terminal Pb in the signal extender, a second electron is generated according to a first electronic signal ES1 provided by the second device 120 and send the second electronic signal ES2 to the first device 110 through the second channel L2. In this embodiment, the content of the data transmitted by the second electronic signal ES2 is substantially the same as that of the first electronic signal ES1, but since the current paths are isolated from each other, the internal resistance RL in the original channel will not affect the reading of the first device 110. The second electronic signal ES2.

圖8是本申請實施例的訊號位準示意圖。在傳統的訊號延伸器中,因為線路內阻R L的存在,所傳遞的第一電子訊號ES1的基準電壓,即用於代表位元值0的電壓SL1,常常高於邏輯低電位的預設判斷位準VL,使得接收端無法讀到0值。本申請提出的方式,可正確讀取第一電子訊號ES1,並據以生成邏輯電位正確的第二電子訊號ES2。邏輯電位正確,意即代表位元值1的電壓SH高於邏輯高電位的預設判斷位準VH,而代表位元值0的電壓SL2也不會超過邏輯低電位的預設判斷位準VL。本實施例的優點是,以改善品質的第二電子訊號ES2取代第一電子訊號ES1傳送給第一裝置110,使資料得以順利被第一裝置110傳輸及被解讀。上述之高電位判斷位準VH和低電位判斷位準VL是數位電路中常見的預設值,因此實際範圍不在本申請實施例的限定圍中。舉例來說,邏輯高電位的預設判斷位準VH可以是1.0V,而低電位的預設判斷位準VL可以是0.6V。 FIG. 8 is a schematic diagram of signal levels in an embodiment of the present application. In a traditional signal extender, due to the existence of the internal resistance RL of the circuit, the reference voltage of the transmitted first electronic signal ES1, that is, the voltage SL1 used to represent the bit value 0, is often higher than the preset logic low level The judgment level VL makes it impossible for the receiver to read a value of 0. The method proposed in this application can correctly read the first electronic signal ES1 and generate the second electronic signal ES2 with correct logic potential accordingly. The logic potential is correct, which means that the voltage SH representing the bit value 1 is higher than the preset judgment level VH of the logic high potential, and the voltage SL2 representing the bit value 0 will not exceed the preset judgment level VL of the logic low potential . The advantage of this embodiment is that the second electronic signal ES2 with improved quality is used to replace the first electronic signal ES1 and sent to the first device 110 , so that the data can be smoothly transmitted and interpreted by the first device 110 . The above-mentioned high-potential judgment level VH and low-potential judgment level VL are common preset values in digital circuits, so the actual range is not within the limits of the embodiments of the present application. For example, the default judgment level VH of logic high level may be 1.0V, and the default judgment level VL of logic low level may be 0.6V.

本申請的實施例以DDC通道延伸器為例,第一電子訊號ES1和第二電子訊號ES2可以是序列資料連結訊號SDA。然而同樣的設計也可應用在其他規格的訊號傳輸延伸器中,例如高清多媒體界面HDMI或顯示埠DP。The embodiment of the present application takes a DDC channel extender as an example, and the first electronic signal ES1 and the second electronic signal ES2 may be the sequence data link signal SDA. However, the same design can also be applied to signal transmission extenders of other specifications, such as high-definition multimedia interface HDMI or display port DP.

綜上所述,本申請的實施例提出的訊號延伸器,可解決傳統訊號電壓位準偏移的問題。利用一方向判斷單元210判斷電流方向,並利用驅動單元230依據第一電子訊號ES1產生具有正確基準電壓的一第二電子訊號ES2,使第一裝置110正確接收第二裝置120要傳遞的訊息。本申請的訊號延伸器,可用簡易的純硬體方式實現,無須韌體介入。在任何規格的DDC 通道中,均可適用,無相容性問題。To sum up, the signal extender provided by the embodiment of the present application can solve the problem of the traditional signal voltage level shift. A direction judging unit 210 is used to judge the direction of the current, and a driving unit 230 is used to generate a second electronic signal ES2 with a correct reference voltage according to the first electronic signal ES1, so that the first device 110 can correctly receive the message to be transmitted by the second device 120 . The signal extender of this application can be implemented in a simple and pure hardware manner without firmware intervention. It can be applied in any DDC channel with no compatibility problem.

需要說明的是,在本文中,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、物品或者裝置不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、物品或者裝置所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括該要素的過程、方法、物品或者裝置中還存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

上面結合圖式對本申請的實施例進行了描述,但是本申請並不局限於上述的具體實施方式,上述的具體實施方式僅僅是示意性的,而不是限制性的,本領域的普通技術人員在本申請的啓示下,在不脫離本申請宗旨和權利要求所保護的範圍情況下,還可做出很多形式,均屬本申請的保護之內。The embodiments of the present application have been described above in conjunction with the drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

110:第一裝置120:第二裝置 I L:電流R L:線路內阻 R A:第一裝置內阻R B:第二裝置內阻 R P:電阻R1~R8:電阻 V DD:電壓源112:第一接收器 114:第一傳送器122:第二接收器 124:第二傳送器P1:第一接口 P2:第二接口Pa:第一端點 Pb:第二端點Pc:第三端點 200:訊號延伸器210:方向判斷單元 212:比較器214:邏輯閘 220:通道切換器222, 224, 226, 228:電晶體 230:驅動單元Q1~Q4:電晶體 ES1:第一電子訊號ES2:第二電子訊號 223:第一開關電路227:第二開關電路 232:第一電晶體234:第二電晶體 L1:第一通道L2:第二通道 SW1:第一切換接點SW2:第二切換接點 S1:第一源極G1:第一閘極 D1:第一汲極S2:第二源極 G2:第二閘極D2:第二汲極 #V:電位差I C:電流 #S:切換訊號SH、SL1、SL2:電壓 VH、VL:預設判斷位準G:閘極 D:汲極S:源極 701-709:步驟 110: first device 120: second device I L : current R L : line internal resistance R A : first device internal resistance R B : second device internal resistance R P : resistors R1~R8: resistors V DD : voltage source 112: first receiver 114: first transmitter 122: second receiver 124: second transmitter P1: first interface P2: second interface Pa: first endpoint Pb: second endpoint Pc: third Terminal 200: Signal Extender 210: Direction Judgment Unit 212: Comparator 214: Logic Gate 220: Channel Switcher 222, 224, 226, 228: Transistor 230: Drive Unit Q1~Q4: Transistor ES1: First Electronics Signal ES2: second electronic signal 223: first switch circuit 227: second switch circuit 232: first transistor 234: second transistor L1: first channel L2: second channel SW1: first switching contact SW2: Second switching contact S1: first source G1: first gate D1: first drain S2: second source G2: second gate D2: second drain #V: potential difference IC : current # S: switching signal SH, SL1, SL2: voltage VH, VL: preset judgment level G: gate D: drain S: source 701-709: steps

此處所說明的圖式用來提供對本申請的進一步理解,構成本申請的一部分,本申請的示意性實施例及其說明用於解釋本申請,並不構成對本申請的不當限定。在圖式中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The schematic embodiments and descriptions of the application are used to explain the application and do not constitute an improper limitation to the application. In the schema:

圖1是習知的第一裝置110和第二裝置120透過一顯示資料通道DDC連線的示意圖。FIG. 1 is a schematic diagram of a conventional connection between a first device 110 and a second device 120 through a display data channel DDC.

圖2是本申請實施例的訊號延伸器200串接第一裝置110和第二裝置120的架構圖。FIG. 2 is a structure diagram of a signal extender 200 connected in series with the first device 110 and the second device 120 according to the embodiment of the present application.

圖3是本申請實施例的訊號延伸器200的架構示意圖。FIG. 3 is a schematic structural diagram of a signal extender 200 according to an embodiment of the present application.

圖4是本申請實施例的方向判斷單元210的具體電路圖。FIG. 4 is a specific circuit diagram of the direction judging unit 210 of the embodiment of the present application.

圖5是本申請實施例的通道切換器220的具體電路圖。FIG. 5 is a specific circuit diagram of the channel switcher 220 according to the embodiment of the present application.

圖6是本申請實施例的驅動單元230的具體電路圖。FIG. 6 is a specific circuit diagram of the driving unit 230 of the embodiment of the present application.

圖7是本申請實施例的訊號傳遞方法的流程圖。FIG. 7 is a flowchart of a signal transmission method according to an embodiment of the present application.

圖8是本申請實施例的訊號位準示意圖。FIG. 8 is a schematic diagram of signal levels in an embodiment of the present application.

110:第一裝置 110: First device

120:第二裝置 120: Second device

Ic:電流 Ic: current

RL:線路內阻 R L : Internal resistance of the line

P1:第一接口 P1: the first interface

P2:第二接口 P2: the second interface

Pa:第一端點 Pa: first endpoint

Pb:第二端點 Pb: second endpoint

Pc:第三端點 Pc: the third endpoint

200:訊號延伸器 200: signal extender

210:方向判斷單元 210: direction judgment unit

220:通道切換器 220: Channel switcher

230:驅動單元 230: drive unit

L1:第一通道 L1: first channel

L2:第二通道 L2: second channel

SW1:第一切換接點 SW1: The first switching contact

SW2:第二切換接點 SW2: Second switching contact

#V:電位差 #V: potential difference

#S:切換訊號 #S: switch signal

ES1:第一電子訊號 ES1: First Electronic Signal

ES2:第二電子訊號 ES2: Second Electronic Signal

Claims (8)

一種訊號延伸器,用於連接一第一裝置和一第二裝置以傳遞訊息,包含:一第一端點,用於連接該第一裝置;一第二端點,用於連接該第二裝置;一通道切換器,連接該第一端點,根據一切換訊號,從一第一通道或一第二通道中選擇其中之一與該第二端點連接;一方向判斷單元,連接於該第一端點與該通道切換器之間,用以判斷該第一端點上的一電流的方向以生成該切換訊號,其中當該電流的方向是從該第一裝置流入該第一端點時,該切換訊號使該通道切換器選擇連接至該第二通道;以及一驅動單元,連接於該第二通道上,用於在該第二通道被選擇與該第一端點和該第二端點連接時,根據該第二裝置提供的一第一電子訊號產生一第二電子訊號,其中該第二通道將該第二電子訊號傳送給該第一裝置,且該第二電子訊號的基準電壓不超過一預設值。 A signal extender, used to connect a first device and a second device to transmit information, comprising: a first terminal, used to connect the first device; a second terminal, used to connect the second device ; A channel switcher, connected to the first terminal, according to a switching signal, select one of a first channel or a second channel to connect to the second terminal; a direction judgment unit, connected to the second terminal Between a terminal and the channel switcher, it is used to determine the direction of a current on the first terminal to generate the switching signal, wherein when the direction of the current is flowing from the first device into the first terminal , the switching signal causes the channel switcher to select and connect to the second channel; and a drive unit, connected to the second channel, for being connected to the first terminal and the second terminal when the second channel is selected When the point is connected, a second electronic signal is generated according to a first electronic signal provided by the second device, wherein the second channel transmits the second electronic signal to the first device, and the reference voltage of the second electronic signal not exceed a preset value. 如請求項1所述之訊號延伸器,其中當該切換訊號使該通道切換器選擇連接至該第二通道,該驅動單元將來自該第一裝置的一電流往地線下拉,且該驅動單元使該第二電子訊號的基準電壓不超過該預設值。 The signal extender as described in claim 1, wherein when the switching signal causes the channel switcher to select and connect to the second channel, the driving unit pulls down a current from the first device to the ground line, and the driving unit Make the reference voltage of the second electronic signal not exceed the preset value. 如請求項1所述之訊號延伸器,其中該通道切換器根據該切換訊號將該第一端點與該第一通道或該第二通道連接而形成一訊號傳遞通道;該方向判斷單元包含一比較器,連接於該訊號傳遞通道上,以偵測一電位差;以及 該方向判斷單元根據該電位差輸出該切換訊號,以使該通道切換器連接該第一通道或該第二通道。 The signal extender as described in claim 1, wherein the channel switcher connects the first terminal to the first channel or the second channel according to the switching signal to form a signal transmission channel; the direction judgment unit includes a a comparator connected to the signal transmission channel to detect a potential difference; and The direction judging unit outputs the switching signal according to the potential difference, so that the channel switcher is connected to the first channel or the second channel. 如請求項3所述之訊號延伸器,其中:該方向判斷單元進一步包含一邏輯閘,電性耦接於該比較器的輸出端和該第一端點,用以判斷該電流的方向;以及當該電流的方向是從該第一裝置流入該第一端點時,該方向判斷單元使該切換訊號為一高電位訊號,否則使該切換訊號為一低電位訊號。 The signal extender as described in claim 3, wherein: the direction judging unit further includes a logic gate electrically coupled to the output terminal of the comparator and the first terminal for judging the direction of the current; and When the direction of the current is from the first device to the first terminal, the direction judging unit makes the switching signal a high potential signal, otherwise makes the switching signal a low potential signal. 如請求項1所述之訊號延伸器,其中該驅動單元包含:一第一電晶體,包含一第一汲極連接該第二通道及一電壓源,一第一源極接地,及一第一閘極;以及一第二電晶體,包含一第二汲極連接該第一閘極及該電壓源,一第二源極接地,及一第二閘極連接該第二端點;其中:當該通道切換器連接該第二通道時,該第二閘極接收該第二裝置的該第一電子訊號,使該第一電晶體對應地將從該第一裝置而來的一電流往該第一源極下拉接地,以及使該第一電晶體生成該第二電子訊號給該第一裝置讀取。 The signal extender as described in claim 1, wherein the drive unit includes: a first transistor, including a first drain connected to the second channel and a voltage source, a first source grounded, and a first a gate; and a second transistor, including a second drain connected to the first gate and the voltage source, a second source connected to ground, and a second gate connected to the second terminal; wherein: when When the channel switcher is connected to the second channel, the second gate receives the first electronic signal from the second device, so that the first transistor correspondingly sends a current from the first device to the second device. A source is pulled down to ground, and makes the first transistor generate the second electronic signal for the first device to read. 如請求項1所述之訊號延伸器,其中:該訊號延伸器是一DDC通道延伸器;該第一電子訊號和該第二電子訊號是序列資料連結訊號;該第一裝置是電腦主機;以及該第二裝置是顯示器。 The signal extender as described in Claim 1, wherein: the signal extender is a DDC channel extender; the first electronic signal and the second electronic signal are serial data link signals; the first device is a computer host; and The second device is a display. 一種訊號傳遞方法,用於在一第一裝置和一第二裝置之間傳遞訊息,包含: 根據一切換訊號,使一通道切換器從一第一通道或一第二通道中選擇其中之一,將該第一裝置和該第二裝置透過被選擇的該第一通道或該第二通道串接在一起;當該第二通道被選擇時,根據該第二裝置提供的一第一電子訊號產生一第二電子訊號;判斷該第一裝置和該第二裝置之間的一電流的方向以生成該切換訊號;其中當該電流的方向是從該第一裝置流出時,該切換訊號使該通道切換器選擇連接至該第二通道;以及藉由該第二通道傳送該第二電子訊號給該第一裝置,其中該第二電子訊號的基準電壓不超過一預設值。 A signal transmission method for transmitting information between a first device and a second device, comprising: According to a switching signal, make a channel switch select one of a first channel or a second channel, and pass the first device and the second device through the selected first channel or the second channel string connected together; when the second channel is selected, generate a second electronic signal according to a first electronic signal provided by the second device; judge the direction of a current between the first device and the second device to generating the switching signal; wherein when the direction of the current flow is from the first device, the switching signal causes the channel switcher to select and connect to the second channel; and transmit the second electronic signal to the In the first device, the reference voltage of the second electronic signal does not exceed a preset value. 如請求項7所述之訊號傳遞方法,其中當該切換訊號選擇該第二通道,藉由一驅動單元將該電流往地線下拉,並使該第二電子訊號的基準電壓不高於該預設值。 The signal transmission method as described in claim item 7, wherein when the switching signal selects the second channel, the current is pulled down to the ground line by a driving unit, and the reference voltage of the second electronic signal is not higher than the preset set value.
TW111106994A 2022-02-25 2022-02-25 Signal extender and signal transmission method TWI804211B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW111106994A TWI804211B (en) 2022-02-25 2022-02-25 Signal extender and signal transmission method
CN202310041977.7A CN118444864A (en) 2022-02-25 2023-01-13 Signal extender and signal transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111106994A TWI804211B (en) 2022-02-25 2022-02-25 Signal extender and signal transmission method

Publications (2)

Publication Number Publication Date
TWI804211B true TWI804211B (en) 2023-06-01
TW202335447A TW202335447A (en) 2023-09-01

Family

ID=87803321

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111106994A TWI804211B (en) 2022-02-25 2022-02-25 Signal extender and signal transmission method

Country Status (2)

Country Link
CN (1) CN118444864A (en)
TW (1) TWI804211B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200929919A (en) * 2007-12-21 2009-07-01 Aten Int Co Ltd Display signal extender and a method of transmitting display signal by using the same
TW201216714A (en) * 2010-10-05 2012-04-16 Aten Int Co Ltd Signal extender system and signal extender and transmitting module and receiving module thereof
TW201620341A (en) * 2014-11-27 2016-06-01 聯詠科技股份有限公司 Power and signal extender and related circuit board

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200929919A (en) * 2007-12-21 2009-07-01 Aten Int Co Ltd Display signal extender and a method of transmitting display signal by using the same
TW201216714A (en) * 2010-10-05 2012-04-16 Aten Int Co Ltd Signal extender system and signal extender and transmitting module and receiving module thereof
TW201620341A (en) * 2014-11-27 2016-06-01 聯詠科技股份有限公司 Power and signal extender and related circuit board

Also Published As

Publication number Publication date
TW202335447A (en) 2023-09-01
CN118444864A (en) 2024-08-06

Similar Documents

Publication Publication Date Title
US8416005B2 (en) Multifunctional output drivers and multifunctional transmitters using the same
TWI423118B (en) Computers, systems and methods for dual mode dp and hdmi transmission
US8026891B2 (en) Flat panel display including transceiver circuit for digital interface
US7538588B2 (en) Dual-function drivers
JP4267655B2 (en) Electronic circuit, differential transmitter configured as electronic circuit, and method of forming self-series terminated transmitter (segmentation and amplitude accuracy and high voltage protection for amplitude control, pre-emphasis control and slew rate control Self-series terminated serial link transmitter with voltage regulation for)
JP4960833B2 (en) Interface circuit capable of switching between single-ended transmission and differential transmission
TWI393354B (en) Multifunctional transmitter and data transmission method
US7256625B2 (en) Combined output driver
US8415986B2 (en) Voltage-mode driver with pre-emphasis
JP2011048378A (en) Flat panel display device
US20080116935A1 (en) Source-coupled differential low-swing driver circuits
US7772912B2 (en) Level shift circuit and method thereof
CN107870647A (en) Pre-driver circuit
EP3539216A2 (en) Apparatus and method for transmitting data signal based on different supply voltages
TWI804211B (en) Signal extender and signal transmission method
US8508252B2 (en) Variable resistor voltage driver with self-noise compensation circuit
KR101621844B1 (en) Low voltage differentail signal transmitter
TWI535209B (en) Differential signal transmitter circuits
US20240220435A1 (en) Power Consumption Control for Transmitters of Retimers in High Speed Data Communication
KR101622788B1 (en) High efficiency output driver for reducing power consumption and transmitter having the same
TW202112024A (en) Power switching apparatus
JPH11154834A (en) Operational amplifier
CN116132614A (en) Signal switching system and method
CN114564431A (en) Hybrid transmit side driver and method of using the same
CN117130960A (en) serial interface circuit