TWI804211B - Signal extender and signal transmission method - Google Patents
Signal extender and signal transmission method Download PDFInfo
- 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
Links
- 239000004606 Fillers/Extenders Substances 0.000 title claims abstract description 46
- 230000008054 signal transmission Effects 0.000 title claims description 22
- 238000000034 method Methods 0.000 title claims description 18
- 238000010586 diagram Methods 0.000 description 14
- 230000005540 biological transmission Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 230000003647 oxidation Effects 0.000 description 1
- 238000007254 oxidation reaction Methods 0.000 description 1
- 229910052760 oxygen Inorganic materials 0.000 description 1
- 239000001301 oxygen Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/003—Details of a display terminal, the details relating to the control arrangement of the display terminal and to the interfaces thereto
- G09G5/006—Details of the interface to the display terminal
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Transmitters (AREA)
- Liquid Crystal Substances (AREA)
- Reduction Or Emphasis Of Bandwidth Of Signals (AREA)
- Amplifiers (AREA)
- Dc Digital Transmission (AREA)
Abstract
Description
本申請是關於一種訊號延伸器,尤其是有關於可在訊號延伸器中補正訊號位準的訊號傳遞方法。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
相對地,當第一裝置110中的第一傳送器114也是透過電晶體Q1來傳送資料給第二裝置120中的第二接收器122。詳細原理不再重複說明。In contrast, when the
換句話說,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
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
圖3是本申請實施例的訊號延伸器200的架構示意圖。訊號延伸器200中主要包含方向判斷單元210,通道切換器220和驅動單元230三個電路單元。FIG. 3 is a schematic structural diagram of a
第一端點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
驅動單元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
在一實施例中,當第二裝置120欲傳送資料給第一裝置110時,攜帶著資訊的第一電子訊號ES1是由第二裝置120將電壓的變化的方式傳送至驅動單元230。驅動單元230根據第二端點Pb上的電壓變化狀況,而獲取第一電子訊號ES1中所要傳遞的資訊。同時,驅動單元230可根據第一電子訊號ES1對應地產生攜帶相同資訊的第二電子訊號ES2,並傳送給第一裝置110。在本實施例中,由於第二電子訊號ES2的電流是獨立於第一電子訊號ES1的傳送路徑,因此訊號品質不受到線路內阻R
L的影響。
In one embodiment, when the
在切換訊號#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
方向判斷單元210的功能是判斷第一裝置和第二裝置之間的訊號傳送方向或電流方向,以決定要切換的通道。具體的實施方式可以延伸為幾種。舉例來說,方向判斷單元210可以是訊號延伸器200的微控制器(MCU),應用程式特定晶片(ASIC),或可程式化邏輯閘陣列(FPGA),具有簡單的控制、運算、判斷功能,可執行程式碼而實現特定功能。在這種架構設計下,方向判斷單元210可直接將第一端點Pa上的電壓或電流當成一種輸入訊號,經過內部預先設計的程式運算判斷後,而產生對應的切換訊號#S。訊號延伸器200中可實作一快閃記憶體(未圖示)以儲存韌或一控制程式,使方向判斷單元210據以執行。在另一種情況中,控制程式也可直接製成邏輯電路,整合在方向判斷單元210中。由於基於微處理器和程式來實現控制目的的技術已存在許多成熟的方案,本實施例不再詳細述。The function of the
另一方面,方向判斷單元210可以特定電路架構來實現。圖4是本申請實施例的方向判斷單元210的具體電路圖。方向判斷單元210連接於第一端點Pa與通道切換器220之間,可判斷第一端點Pa上的電流Ic的方向以生成切換訊號#S。所輸出的切換訊號#S,可用於使通道切換器220決定使用第一通道L1或第二通道L2來形成從第一接口P1延伸到第二接口P2的一條實體訊號傳遞通道。On the other hand, the
更具體地說,方向判斷單元210可包含一比較器212。比較器212具有兩個輸入端,各別連接於訊號傳遞通道上的不同位置, 例如第一接口P1和第一端點Pa之間,以偵測一電位差#V。進一步說明,在比較器所連接的訊號傳遞通道上的不同位置之間,可包含一線路電阻,使經過的電流產生電位差,例如可在第一接口P1和第一端點Pa之間配置一電阻R
P,當有任何電流通過時,就會產生電位差#V。而方向判斷單元210的比較器212可根據電位差#V而對應決定切換訊號#S。舉例來說,當電流Ic的方向是從第一裝置110流入第一端點Pa時,切換訊號#S使通道切換器220切換至第二通道L2。
More specifically, the
在本實施例中,比較器212可以是市售的放大器晶片,受到電壓源V
DD而驅動。比較器212的兩個輸入端分別搭配對應的電阻R1、R2、R3和R4以調節輸入電壓的位準。考慮到DDC通道需要的高速傳輸頻率,比較器212可以選擇與高速頻率匹配的規格。這些規格數值可視產品實際設計而適當調整,因此不在本申請的實施例中限定。
In this embodiment, the
在進一步的實施例中,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
在進一步的實施例中,方向判斷單元包含第一反相器和第二反相器。一第一反相器連接第一端點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
舉例來說,第一反相器可為一電晶體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
總結來說,圖4的方向判斷單元210的可能運作方式之一,即根據第一接口P1和第一端點Pa的電壓差,判斷電流方向而產生切換訊號#S,供通道切換器220進行後續步驟。To sum up, one of the possible operation modes of the
圖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
進一步來說,第一開關電路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
通道切換器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
在本實施例中,第一開關電路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
圖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
可以理解的是,驅動單元230從第二端點Pb所接收的第一電子訊號ES1,以及從第三端點Pc所輸出的第二電子訊號ES2,實作上是由連續的電壓或電流波形變化來表示所傳遞的資料。因此,訊號傳遞過程中的表現形式不限定是電壓或電流,也可以是電壓與電流的一系列變換組合。在本實施例中,第一電晶體232和第二電晶體234同樣可以是由市售的電晶體,例如MOSFET實現。考量到高速傳輸的需求,型號規格可以根據需求而改變,不在本申請的限定中。It can be understood that the first electronic signal ES1 received by the driving
圖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
相對地,若確定電流是由第一裝置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
圖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
本申請的實施例以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
需要說明的是,在本文中,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、物品或者裝置不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、物品或者裝置所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括該要素的過程、方法、物品或者裝置中還存在另外的相同要素。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:
此處所說明的圖式用來提供對本申請的進一步理解,構成本申請的一部分,本申請的示意性實施例及其說明用於解釋本申請,並不構成對本申請的不當限定。在圖式中: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
圖2是本申請實施例的訊號延伸器200串接第一裝置110和第二裝置120的架構圖。FIG. 2 is a structure diagram of a
圖3是本申請實施例的訊號延伸器200的架構示意圖。FIG. 3 is a schematic structural diagram of a
圖4是本申請實施例的方向判斷單元210的具體電路圖。FIG. 4 is a specific circuit diagram of the
圖5是本申請實施例的通道切換器220的具體電路圖。FIG. 5 is a specific circuit diagram of the
圖6是本申請實施例的驅動單元230的具體電路圖。FIG. 6 is a specific circuit diagram of the
圖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)
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)
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 extenders and boards |
-
2022
- 2022-02-25 TW TW111106994A patent/TWI804211B/en active
-
2023
- 2023-01-13 CN CN202310041977.7A patent/CN118444864A/en active Pending
Patent Citations (3)
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 extenders and boards |
Also Published As
Publication number | Publication date |
---|---|
CN118444864A (en) | 2024-08-06 |
TW202335447A (en) | 2023-09-01 |
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 | |
JP4960833B2 (en) | Interface circuit capable of switching between single-ended transmission and differential transmission | |
TWI393354B (en) | Multifunctional transmitter and data transmission method | |
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) | |
US8415986B2 (en) | Voltage-mode driver with pre-emphasis | |
JP2011048378A (en) | Flat panel display device | |
US7772912B2 (en) | Level shift circuit and method thereof | |
WO2018089150A2 (en) | Apparatus and method for transmitting data signal based on different supply voltages | |
TWI804211B (en) | Signal extender and signal transmission method | |
CN113541732B (en) | Hybrid transmitter | |
CN116132614A (en) | Signal switching system and method | |
CN103248352A (en) | Low-voltage differential signal driving circuit and electronic device compatible with wired transmission | |
US8508252B2 (en) | Variable resistor voltage driver with self-noise compensation circuit | |
TWI429197B (en) | Multi-mode output transmitter | |
CN102195665B (en) | Transceiver device and related transceiver system | |
CN104052457B (en) | differential signal transmitter circuit | |
WO2015170845A1 (en) | Low-voltage differential signalling transmitter | |
TWI860399B (en) | Power switching apparatus | |
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 | |
JPH11154834A (en) | Operational amplifier | |
CN107846564B (en) | Terminal circuit and output stage circuit |