201141092 六、發明說明: 【發明所屬之技術領域】 本發明有關於一種光收發模組及系統和光收發方法, 特別是關於一種可準確探測終端設備的光收發模組系統和 光收發方法。 【先前技術】 隨著光傳輸技術的發展,光纖傳輸在傳輸速率/傳輸距 離和抗干擾能力上的優勢’使光收發模組(〇ptical transceiver module)得到了越來越廣泛的應用。由於光傳 輸技術的優勢,目前越來越多的應用希望將光收發模組能 夠連接現有的電子收發器,使得具有傳統介面規格,如快 速外設元件互連標準(PCIE)介面規格或通用串列匯流排 版本3.0 (USB3.0)介面規格等,的電子收發器也可以通 過光收發模組與終端設備進行光纖通訊。但現有技術的光 收發模組直接連接現有的普通介面規格的電子收發器時, 會令電子收發器進入失效模式(disable mode),因此本發明 提出一種新的光收發模組與系統及光收發方法,以解決現 有技〗标存在的問題。 【發明内容】 有繁於此’本發明提供一種光收發模組,包括一接收 單元’其輸出一接收終端丟失信號;一發射驅動單元,其 包括一正接收信號端和一負接收信號端;以及一終端控制 單元’其耦接在正接收信號端與負接收信號端之間,根據 接收終端丟失信號控制正接收信號端與負接收信號端之間 是否耦接一差分終端阻抗。201141092 VI. Description of the Invention: [Technical Field] The present invention relates to an optical transceiver module and system and an optical transceiver method, and more particularly to an optical transceiver module system and an optical transceiver method capable of accurately detecting a terminal device. [Prior Art] With the development of optical transmission technology, the advantages of optical fiber transmission in transmission rate/transmission distance and anti-interference ability have made the optical transceiver module more and more widely used. Due to the advantages of optical transmission technology, more and more applications are now expected to connect optical transceiver modules to existing electronic transceivers, enabling traditional interface specifications such as the Fast Peripheral Component Interconnect Standard (PCIE) interface specification or universal string. The electronic transceiver of the serial port version 3.0 (USB3.0) interface specification can also perform optical fiber communication with the terminal device through the optical transceiver module. However, when the optical transceiver module of the prior art is directly connected to the existing electronic transceiver of the common interface specification, the electronic transceiver enters a disable mode. Therefore, the present invention provides a new optical transceiver module and system and optical transceiver. The method is to solve the problems existing in the prior art. SUMMARY OF THE INVENTION The present invention provides an optical transceiver module including a receiving unit that outputs a receiving terminal loss signal, and a transmitting driving unit that includes a positive receiving signal terminal and a negative receiving signal terminal; And a terminal control unit coupled between the positive receiving signal end and the negative receiving signal end, and controlling whether a differential terminal impedance is coupled between the positive receiving signal end and the negative receiving signal end according to the receiving terminal lost signal.
0608-A42407TWF 4 201141092 本發明更提供一種光收發系統,包括:一電子收發器, 其包括一正發送信號端和一負發送信號端;以及一光收發 模組’其可耦接於電子收發器,其包括一接收單元,其輸 出一接收終端丢失信號;一發射驅動單元,其包括一正接 收信號端和一負接收信號端,正接收信號端和負接收信號 端分別耦接至電子收發器的正發送信號端和負發送信號 端;以及一終端控制單元,其耦接在正接收信號端與負接 收信號端之間,根據接收終端丟失信號控制正接收信號端 • 與負接收信號端之間是否耦接一差分終端阻抗。 本發明還提供一種光收發方法,應用於一光收發系 統’光收發系統包括一電子收發器以及一光收發模組;電 子收發器經由光收發模組與一終端設備通訊,該方法包 括:根據終端設備的狀態輸出一接收終端丟失信號;以及 根據接收終端丟失信號控制光收發模組之一正接收信號端 與一負接收信號端之間是否耦接—差分終端阻抗。 本發明所述的光收發模組與系統及光收發方法,在光 • 收發模組内部實現藉由終端設備的連接狀況來控制光收發 模組之正負接收信號端之間動態地耦接差分終端阻抗,從 而使得主控端的電子收發器準確地得知光纜對面終端設備 的連接狀況。原本無法直接連接光收發模組的電子收發 器,藉由本發明的光收發模組與系統也可以與終端設備實 現光纖傳輸,且終端設備能夠實現熱插拔功能。本發明無 需更改主控端的電子收發器原來的介面設計。在本發明的 光收發模組中,由於該接收終端丟失信號為内部信號,因 此在設計光收發模組的介面時,可以不設計引腳引出接收 0608-A42407TWF 5 201141092 終端丟失信號,如此還可以減少光收發模組的引腳數量。 【實施方式】 為使本發明之上述目的、特徵和優點能更明顯易懂, 下文特舉一較佳實施例,並配合所附圖式,作詳細說明如 下。 第1圖是現有技術的電子收發系統100的方塊圖。其 中,電子收發器120可以是具有快速外設元件互連標準 (PCIE)介面規格或通用串列匯流排版本3.0 (USB3.0) 介面規格等,支援熱插拔功能的高速電子收發器。當該電 子收發器120作為傳輸系統的主控端(host)時,每隔一 定時間會輪詢(polling)是否有設備端(device)插入’當 探測到設備端150插入時,該電子收發器120會發起傳輸 一鏈結訓練序列(link training sequence )以建立與設備端 150的鏈結。當然,設備端150也會每隔一定時間輪詢主 控端是否存在,當探測到作為主控端的電子收發器120存 在時,也會發起傳輸一鏈結訓練序列以建立與電子收發器 120的鏈結。 電子收發器120與設備端150的連接方式如第1圖所 示,電子收發器120的正發送信號端TX+和負發送信號端 TX-耦接至設備端150的正接收信號端RX+和負接收信號 端RX-,實現由電子收發器120向設備端150發送資料’ 資料可以是以一差動信號對的形式發送;電子收發器120 的正接收信號端RX+和負接收信號端RX-耦接至設備端 150的正發送信號端TX+和負發送信號端TX- ’實現由設 備端150向電子收發器120發送資料,資料也可以是以一 0608-A42407TWF 6 201141092 差動信號對的形式發送。電子收發器120透過輪詢其正發 送信號端TX+和負發送信號端TX-之間是否耦接差分終端 阻抗(differential terminator impedance)來判斷是否有設備 端插入。當設備端150如第1圖所示連接至電子收發器12〇 並準備好時,設備端15 0的正接收彳§號端RX+和負接收信 號端RX-之間就會存在差分終端阻抗112,電子收發器12〇 探測到其正發送信號端TX+和負發送信號端TX-之間出現 了差分終端阻抗,也就是探測到了終端阻抗112的存在, • 則認為有設備端插入,該電子收發器120會發起鏈結訓練 序列(link training sequence),以建立與設備端15〇的鏈 結。當然’當設備端150也會輪詢探測到其正發送信號端 τχ+和負發送信號端τχ-之間是否存在差分終端阻抗ι13 以判斷是否連接到電子收發器120。 但現有技術中,某些類型的設備端150,例如是經由光 收發模組(optical transceiver module)連接的設備端15〇, 在連接至電子收發器120時會發生問題。由於光收發模組 • 内部固化有差分終端阻抗,一旦將光收發模組按照第!圖 中設備端150連接至電子收發器120的方式連接至電子收 發器120時,電子收發器120就會探測到其正發送信號端 TX+和負發送信號端TX-之間出現了差分終端阻抗,則立 即認為已經有設備端插入’因此會發起傳輸一鏈結訓練序 歹|J ( link training sequence )。但此時光收發模組所連接光親 的另一端很可能並沒有連接終端設備或者終端設備並沒有 準備好,因此該鏈結訓練序列就會建立失敗,主控端的電 子收發器120就會進入一失效模式(disable m〇de)。 0608-A42407TWF 7 201141092 因此現有技術中,普通介面規格的電子收發器無法直 接通過光收發模組接連至設備端,從而建立光纖通訊。 第2圖解本發明光收發模組的一種實施方式,光收發 模組210包括:接收單元2n,其輸出一接收終端丢失信 號(receiver lost signal) Rx_L0S ;發射驅動單元 212,其 包括一正接收信號端TD+和一負接收信號端TD_,以接收 主機端(host)發來的信號,信號可以是一差動信號對的 形式;終端控制單元213,其耦接在該正接收信號端TD+ 與負接收信號端TD-之間,根據該接收終端丟失信號 RX一L0S來控制該正接收信號端TD+與負接收信號端TD_ 之間是否耦接一差分終端阻抗,差分終端阻抗舉例而言是 正接收信號端TD+經由一終端阻抗耦接至一參考電位,負 接收信號端TD-也經由一終端阻抗耦接至該參考電位,該 參考電位舉例而言可以是接地’該終端阻抗可能包括電 容,電阻,電感等元件。該光收發模組210可經由光纟覽23〇 連接至終端設備240。 該光收發模組210更包括一光檢測單元216,其耦接至 該接收早元211。在本發明其他實施例中,該光檢測單元 216也可以是包括在該接收單元211中。該光檢測單元216 檢測該終端設備240發出的光信號並將其轉變為電信號, 輸出至該接收早元211。當終端設備240經由光繞230連 接至光收發模組210並準備好時,該光檢測單元216接收 到終端設備240發出的光接收信號時,將其轉變為電接收 信號傳送至該接收單元211,則接收單元211輸出的該接收 終端丟失信號置RX_L〇S為無效(de-asserted )。當終端設 0608-A42407TWF 8 201141092 備240並未轉接至該光收發模組21〇,或該終端設備24〇 未準備好時,s亥光檢測單元216無法正確接收到終端設備 240發出的光接收信號’此時接收單元211輸出的接收終 端丟失心號RX_LOS為有效(asserted )。然而目前電子收 發器’例如具有快速外設元件互連標準(pciE)介面規格 或通用串列匯流排版本3.〇 (USB3 〇)介面規格等的高速 電子收發器,並不具備接收該接收終端丟失信號RX_L〇s 的輸入端。因此光收發模組21〇無法告知其所耦接的電子 • 收發器是否有終端設備240連接到該光收發模組21〇並準 備好(例如終端设備240是否上電並準備好收發資料)。 本發明的光收發模組210中,終端控制單元213可接 收該接收終端丟失信號RX_L〇S,並根據該接收終端丟失 信號RXJLOS控制該正接收信號端TD+與負接收信號端 T D -之間是否耦接一差分終端阻抗,如此動態地控制使得光 收發模組210之正接收信號端TD+與負接收信號端TD-之 間的差分終端阻抗可以動態地耦接或斷開,其所耦接的電 鲁子收發态通過輪詢是否存在差分終端阻抗就可以準確地得 知終端設備240的連接情況,並不會在光收發模組尚未連 接終端設備240或接終端設備240尚未準備好的情形下, 發起傳輸鏈結訓練序列(link training sequence ),而導致電 子收發器進入失效模式(disable mode)。在本發明其他實 施例中,該接收終端丟失信號RX_LOS輸入終端控制單元 213之前另有一處理電路(未繪示)對該接收終端丟失信 號RX—LOS作前端處理,以產生一指示信號輸入終端控制 單元213以指示是否有終端設備240連接到該光收發模組 0608-A42407TWF 〇 201141092 210並準備好。 第3圖疋本發明一實施例中終端控制單元3i3的方塊 圖。其中該終端控制單元313包括—終端阻抗單 元 305、 第、,’ς端阻抗開關301以及一第二終端阻抗開關3〇2, =中終端阻抗單元3〇5包括第—終端阻抗則和—第二終 端阻抗304 ’第-終端阻抗3〇3和第二終端阻抗綱均輕 接至-參考電位以構成—個差分終端阻抗,該參考電位舉 例而5可以是接地;第一終端阻抗開關3〇1耦接至第一終 端阻抗3G3 ’當接收終端錢信號RX—L〇s為有效時,第 一終端阻抗開關301打開,正接收信號端TD+與該參考電 位之間不會祕第L且抗3G3 ;當接收終端丟失信號 RX一LOS為無效時,第一終端阻抗開關3〇1閉合’正接收 k號端TD+與該參考電位之間耦接第一終端阻抗3〇3 ;第 一終端阻抗開關302耦接至第二終端阻抗3〇4,當接收終 端丟失彳§號RX一LOS為有效時,第二終端阻抗開關3〇2打 開’負接收信號端TD-與該參考電位之間不會耦接第二終 端阻抗304 ;當接收終端丟失信號RX_L〇s為無效時,第 二終端阻抗開關302閉合,負接收信號端TD_與該參考電 位之間耦接第二終端阻抗304。在本發明一實施例中,該 第一和第一終端阻抗開關3〇 1和302可以由功率場效應電 晶體MOSFET來實現’可根據接收終端丟失信號RX_L〇s 有效電位的高低來選擇不同類型的功率場效應電晶體的 MOSFET和驅動方式。此為本領域技術人員所習知的技 術,在此不再贅述。 第4圖是本發明另一實施例中終端控制單元413的方0608-A42407TWF 4 201141092 The present invention further provides an optical transceiver system, including: an electronic transceiver including a positive transmitting signal terminal and a negative transmitting signal terminal; and an optical transceiver module coupled to the electronic transceiver The method includes a receiving unit that outputs a receiving terminal loss signal, and a transmitting driving unit that includes a positive receiving signal end and a negative receiving signal end, and the positive receiving signal end and the negative receiving signal end are respectively coupled to the electronic transceiver. a positive transmitting signal terminal and a negative transmitting signal terminal; and a terminal control unit coupled between the positive receiving signal terminal and the negative receiving signal terminal, and controlling the positive receiving signal terminal according to the receiving terminal lost signal and the negative receiving signal terminal Whether a differential termination impedance is coupled between them. The present invention also provides an optical transceiver system for use in an optical transceiver system. The optical transceiver system includes an electronic transceiver and an optical transceiver module. The electronic transceiver communicates with a terminal device via the optical transceiver module. The method includes: The status of the terminal device outputs a receiving terminal loss signal; and controls whether a signal between the receiving signal end and a negative receiving signal end of the optical transceiver module is coupled according to the receiving terminal loss signal - the differential terminal impedance. The optical transceiver module, the system and the optical transceiver method of the present invention enable the optical transceiver module to dynamically control the differential terminal between the positive and negative receiving signals of the optical transceiver module through the connection status of the terminal device. The impedance, so that the electronic transceiver of the master terminal accurately knows the connection status of the terminal device opposite to the cable. The electronic transceiver that can not directly connect to the optical transceiver module can realize optical fiber transmission with the terminal device by the optical transceiver module and system of the present invention, and the terminal device can implement the hot plug function. The invention does not need to change the original interface design of the electronic transceiver of the main control terminal. In the optical transceiver module of the present invention, since the receiving terminal loses the signal as an internal signal, when designing the interface of the optical transceiver module, the terminal may not be designed to receive 0608-A42407TWF 5 201141092 terminal lost signal, so that Reduce the number of pins of the optical transceiver module. The above described objects, features and advantages of the present invention will become more apparent from the following description. 1 is a block diagram of a prior art electronic transceiver system 100. The electronic transceiver 120 can be a high-speed electronic transceiver that supports hot-swap functions, such as a Fast Peripheral Component Interconnect Standard (PCIE) interface specification or a Universal Serial Bus Version 3.0 (USB3.0) interface specification. When the electronic transceiver 120 is used as the host of the transmission system, polling whether or not a device is inserted at regular intervals 'When the device end 150 is detected to be inserted, the electronic transceiver 120 will initiate a link training sequence to establish a link with device end 150. Certainly, the device end 150 also polls whether the main control terminal exists at a certain time. When detecting that the electronic transceiver 120 as the main control terminal exists, it also initiates transmission of a link training sequence to establish the electronic transceiver 120. link. The electronic transceiver 120 is connected to the device end 150. As shown in FIG. 1, the positive transmitting signal terminal TX+ and the negative transmitting signal terminal TX- of the electronic transceiver 120 are coupled to the positive receiving signal terminal RX+ of the device terminal 150 and the negative receiving terminal. The signal terminal RX- is configured to transmit data to the device terminal 150 by the electronic transceiver 120. The data may be sent in the form of a differential signal pair; the positive receiving signal terminal RX+ of the electronic transceiver 120 and the negative receiving signal terminal RX- are coupled. The positive transmit signal terminal TX+ and the negative transmit signal terminal TX-' to the device end 150 enable the device 150 to transmit data to the electronic transceiver 120, and the data may also be sent in the form of a 0608-A42407TWF 6 201141092 differential signal pair. The electronic transceiver 120 determines whether there is a device end insertion by polling whether a differential terminator impedance is coupled between the positive transmitting signal terminal TX+ and the negative transmitting signal terminal TX-. When the device end 150 is connected to the electronic transceiver 12 as shown in FIG. 1 and is ready, a differential termination impedance 112 exists between the positive receiving terminal RX+ and the negative receiving signal terminal RX- of the device terminal 150. The electronic transceiver 12 detects that a differential termination impedance occurs between the positive transmitting signal terminal TX+ and the negative transmitting signal terminal TX-, that is, the presence of the terminal impedance 112 is detected, and • the device end is inserted, and the electronic transceiver is configured to transmit and receive The device 120 initiates a link training sequence to establish a link to the device end 15〇. Of course, when the device end 150 also polls to detect whether there is a differential termination impedance ι13 between its positive signal terminal τ χ + and the negative transmission signal terminal τ χ - to determine whether it is connected to the electronic transceiver 120. However, in the prior art, some types of device terminals 150, such as device terminals 15 connected via optical transceiver modules, can cause problems when connected to the electronic transceiver 120. Because the optical transceiver module • Internal curing has differential termination impedance, once the optical transceiver module is in accordance with the first! When the device end 150 is connected to the electronic transceiver 120 in the manner of being connected to the electronic transceiver 120, the electronic transceiver 120 detects that a differential termination impedance occurs between the positive transmitting signal terminal TX+ and the negative transmitting signal terminal TX-. Then immediately think that there is already a device plugged in 'so it will initiate a link training sequence|J (link training sequence). However, at this time, the other end of the optical transceiver connected to the optical transceiver module is likely not connected to the terminal device or the terminal device is not ready, so the link training sequence will fail to be established, and the electronic transceiver 120 of the main control terminal will enter a Failure mode (disable m〇de). 0608-A42407TWF 7 201141092 Therefore, in the prior art, the electronic transceiver of the common interface specification cannot be directly connected to the device end through the optical transceiver module, thereby establishing optical fiber communication. In an embodiment of the optical transceiver module of the present invention, the optical transceiver module 210 includes: a receiving unit 2n that outputs a receiver lost signal Rx_L0S; and a transmitting driving unit 212 that includes a positive receiving signal. The terminal TD+ and the negative receiving signal terminal TD_ are configured to receive a signal sent by the host. The signal may be in the form of a differential signal pair. The terminal control unit 213 is coupled to the positive receiving signal terminal TD+ and the negative terminal. Between the receiving signal terminals TD-, according to the receiving terminal loss signal RX_L0S, whether a differential terminal impedance is coupled between the positive receiving signal terminal TD+ and the negative receiving signal terminal TD_, and the differential terminal impedance is, for example, a positive receiving signal. The terminal TD+ is coupled to a reference potential via a terminal impedance, and the negative receiving signal terminal TD- is also coupled to the reference potential via a terminal impedance. The reference potential may be, for example, a ground. The terminal impedance may include a capacitor, a resistor, Inductors and other components. The optical transceiver module 210 can be connected to the terminal device 240 via the optical port 23 。. The optical transceiver module 210 further includes a light detecting unit 216 coupled to the receiving early element 211. In other embodiments of the present invention, the light detecting unit 216 may also be included in the receiving unit 211. The light detecting unit 216 detects the optical signal emitted by the terminal device 240 and converts it into an electrical signal, and outputs it to the receiving early element 211. When the terminal device 240 is connected to the optical transceiver module 210 via the optical winding 230 and is ready, when the light detecting unit 216 receives the light receiving signal from the terminal device 240, it converts it into an electrical receiving signal and transmits it to the receiving unit 211. Then, the receiving terminal loss signal output by the receiving unit 211 sets RX_L〇S to be de-asserted. When the terminal is set to 0608-A42407TWF 8 201141092, the device 240 is not transferred to the optical transceiver module 21〇, or the terminal device 24 is not ready, the s-light detecting unit 216 cannot correctly receive the light emitted by the terminal device 240. Receiving the signal 'At this time, the receiving terminal outputted by the receiving unit 211 loses the heart number RX_LOS as asserted. However, current electronic transceivers, such as high-speed electronic transceivers having a fast peripheral component interconnect standard (pciE) interface specification or a universal serial bus version 3. USB (USB3 〇) interface specification, do not have the receiving terminal. The input of the missing signal RX_L〇s is lost. Therefore, the optical transceiver module 21 can not tell whether the coupled electronic transceiver has the terminal device 240 connected to the optical transceiver module 21 and is ready (for example, whether the terminal device 240 is powered on and ready to send and receive data) . In the optical transceiver module 210 of the present invention, the terminal control unit 213 can receive the receiving terminal lost signal RX_L〇S, and control whether the positive receiving signal terminal TD+ and the negative receiving signal terminal TD- are controlled according to the receiving terminal loss signal RXJLOS. The differential termination impedance is coupled to be dynamically controlled such that the differential termination impedance between the positive receiving signal terminal TD+ and the negative receiving signal terminal TD- of the optical transceiver module 210 can be dynamically coupled or disconnected, and coupled thereto. The electric slave transceiver can accurately know the connection condition of the terminal device 240 by polling whether there is a differential terminal impedance, and will not be in a situation where the optical transceiver module has not been connected to the terminal device 240 or the terminal device 240 is not ready yet. Initiating a link training sequence, causing the electronic transceiver to enter a disable mode. In other embodiments of the present invention, the receiving terminal loss signal RX_LOS is input to the terminal control unit 213 before another processing circuit (not shown) performs front-end processing on the receiving terminal lost signal RX_LOS to generate an indication signal input terminal control. The unit 213 is to indicate whether or not the terminal device 240 is connected to the optical transceiver module 0608-A42407TWF 〇 201141092 210 and is ready. Fig. 3 is a block diagram of a terminal control unit 3i3 in an embodiment of the present invention. The terminal control unit 313 includes a terminal impedance unit 305, a first, a 'end impedance switch 301, and a second terminal impedance switch 3〇2, where the terminal impedance unit 3〇5 includes a first terminal impedance and a The second terminal impedance 304' first-terminal impedance 3〇3 and the second terminal impedance are all lightly connected to the reference potential to form a differential termination impedance, the reference potential being exemplified by 5 and being grounded; the first terminal impedance switch 3〇 1 coupled to the first terminal impedance 3G3 'When the receiving terminal money signal RX_L〇s is active, the first terminal impedance switch 301 is opened, and the receiving signal terminal TD+ and the reference potential are not secretive and resistant 3G3; when the receiving terminal loss signal RX-LOS is invalid, the first terminal impedance switch 3〇1 is closed 'the receiving terminal k is connected with the reference potential and the first terminal impedance is 3〇3; the first terminal impedance The switch 302 is coupled to the second terminal impedance 3〇4. When the receiving terminal loses the 彳§ number RX_LOS, the second terminal impedance switch 3〇2 opens between the negative receiving signal terminal TD- and the reference potential. Will be coupled to the second terminal impedance 304; When the receiving terminal loss signal RX_L〇s is invalid, the second terminal impedance switch 302 is closed, and the second terminal impedance 304 is coupled between the negative receiving signal terminal TD_ and the reference potential. In an embodiment of the invention, the first and first terminal impedance switches 3〇1 and 302 can be implemented by a power field effect transistor MOSFET to select different types according to the effective potential of the receiving terminal lost signal RX_L〇s. Power field effect transistor MOSFET and drive mode. This is a technique known to those skilled in the art and will not be described herein. Figure 4 is a diagram of the terminal control unit 413 in another embodiment of the present invention.
0608-A42407TWF 10 201141092 塊圖:終端控制單元413耦接在該正接收信號端td+與負 接收L號端TD·之間’根據該接收終端丟失信號rx—l〇s 控制該正接收信號端TD+與負接收信號端td_之間是否耦 接一差分終端阻抗。本實施例中,差分終端阻抗4〇5固化 (fixed)在光收發模組内部,可以是由兩個終端阻抗· 和4〇4構成,終端阻抗4〇3和4〇4均輕接至一參考電位, 該㈣電位舉例而言可以是接地。終端控制單元413包括 第-信?開關401和第二信號開關4〇2,第一信號開關4〇1 和第二信號開關402可以作為獨立的電路器件,直接控制 正接收信號端TD+與負接收信號端TD_之間是否耦接差分 終端阻抗405 :當接收終端丟失信號RX_L〇s為有效時, 第一彳5號開關401打開,使得正接收信號端TD+不耦接至 差分終端阻抗405,第二信號開關4〇2也打開,使得負接 收4§號端TD-也不耦接至差分終端阻抗4〇5;當接收終端丟 失信號RX一LOS為無效時,第一信號開關4〇1閉合,使得 正接收彳a?虎知TD+輕接至差分終端阻抗405,第二信號開 關402也閉合,使得負接收信號端TD_也耦接至差分終端 阻抗405。當正接收信號端TD+與負接收信號端TD_之間 耦接差分終端阻抗405時,第2圖之光收發模組210就可 以被其所搞接的電子收發器探測到。在本實施例中,第一 k號開關401和第二信號開關402作為獨立的電路器件可 以用信號開關(signal switch )實現,例如以高速的主動開 關(active switch)或高速的被動開關(passive switch)實 現。 第5圖是本發明光收發系統的一種實施方式。光收發 O608-A42407TWF 11 201141092 系統500包括一電子收發器520,其包括一正發送信號端 TX+和一負發送信號端τχ_ ; 一光收發模組510,其耦接於 電子收發器520。該光收發模組510更包括一接收單元 511 ’其輸出一接收終端丟失信號RX_LOS ; —發射驅動單 元512 ’其包括一正接收信號端TD+和一負接收信號端 TD-,該正接收信號端TD+和該負接收信號端TD-分別耦接 至該電子收發器520的該正發送信號端TX+和該負發送信 號端TX-,實現由電子收發器52〇向光收發模組510發送 資料,資料可以是以一差動信號對的形式發送;一終端控 制單元513,其耦接在該正接收信號端TD+與負接收信號 端TD-之間,根據該接收終端丟失信號RX_L〇S控制該正 接收信號端TD+與該負接收信號端TD-之間是否耦接一差 分終端阻抗《為了完成與電子收發器520的雙邊通訊,光 收發模組510之接收單元511更包括一正發送信號端RD+ 和一負發送信號端RD-,其分別耦接至該電子收發器520 之一正接收信號端RX+和一負接收信號端RX-,實現由光 收發模組510向電子收發器520發送資料,資料也可以是 以一差動信號對的形式發送。該光收發模組510可經由光 纜530連接至終端設備540。其中該電子收發器520可以 是具有快速外設元件互連標準(PCIE)介面規格或通用串 列匯流排版本3.0 (USB3.0)介面規格等,支援熱插拔功 能的高速電子收發器。當然,本發明的電子收發器520可 以是具有能發送差動信號對的正負發送信號端TX+\TX-, 以及能接受差動信號對的正負接收信號端RX+\RX-的主機 端(host)設備,並不一定限於是具有快速外設元件互連 0608-A42407TWF 12 201141092 標準(PCIE)介面規格或通用串列匯流排版本3.〇(uSB3.0) 介面規格的高速電子收發器。 當該光收發模組510如第5圖所示的方式連接至該電 子收發器520,而光收發模組51〇尚未連接任何終端設備 540時’接收單元511輸出的接收終端丟失信號rx_l〇S 為有效’則終端控制單元513根據該有效的接收終端丟失 信號RX_LOS,控制該正接收信號端TD+與該負接收信號 端TD-之間不耦接差分終端阻抗。電子收發器52〇通過輪 • 詢其正發送信號端TX+與負發送信號端TX-之間是否存在 差分終端阻抗來判斷是否有終端設備540插入,此時電子 收發器520探測不到差分終端阻抗存在,則認為無終端設 備插入,則該電子收發器520並不會發起鏈結訓練序列。 當該光收發模組510連接至該電子收發器520且光收發模 組510也連接至終端設備540,但該終端設備540尚未準 備好時,接收終端丟失信號RX_LOS仍然有效,則光收發 模組510之正接收信號端TD+與負接收信號端TD-之間仍 # 然不耦接差分終端阻抗,因此該電子收發器520也不會發 起鏈結訓練序列。而當該光收發模組510連接至該電子收 發器520且光收發模組510也連接至終端設備540並準備 好時,接收終端丟失信號RXJLOS被置為無效,則光收發 模組510之正接收信號端TD+與負接收信號端TD-之間耦 接差分終端阻抗,該電子收發器520探測到其正發送信號 端TX+與負發送信號端TX-之間存在差分終端阻抗’則發 起鏈結訓練序列,以建立與該終端設備540的鏈結。 第6圖解本發明之光收發系統中電子收發器輪詢差分 0608-A42407TWF 13 201141092 終端阻抗的一實施例。如前所述,光收發模組之該正接收 信號端TD+和s玄負接收偽號端丁D-分別耦接至電子收發器 的該正發送彳§號知TX+和該負發送信號端τχ_,電子收發 器是通過輪詢其正發送信號端ΤΧ+與負發送作號端τχ_之 間是否輕接差分終端阻抗來探測是否有終端^備插入。電 子收發器每隔一疋時間進行一次輪詢以決定是否發起鏈結 訓練序列。如第5圖所示,在輪詢是否㈣差分終端阻抗 時,電子收發器將其正發送信號端τχ+與地之間的共模電 壓(common mode voltage)和負發送信號端τχ_與地之間 的共模電壓充電至一特定值而後玫電,透過放電後此共模 電壓下降至一閾值的放電時間來判斷是否耦接差分終端阻 抗。當電子收發器並未連接任何終端設備時,電子收發器 之正發送信號端τχ+與地之間原本存在充電電阻Rdl和寄 生電容Cpl ’因此放電路徑是經由Rdl和Cpl組成,負發 送仏號端TX-與地之間原本存在充電電阻Rd2和寄生電容 Cp2,因此放電路徑疋經由Rd2和Cp2組成,此時放電時 間為tl ·,當終端設備連接並準備好時,本發明光收發模組 一實施例之終端阻抗開關601和602閉合,則差分終端阻 抗單元605之差分終端阻抗搞接至正接收信號端TD+與負 接收彳5號^& TD-之間,例如包括第6圖所示終端電阻Ru 及交流電容cAC1轉接至光收發模組之正接收信號端tD+和 地之間’終電阻Rt2及父流電容CAC2輕接至該負接收信 號端TD-和地之間’此時的放電路徑是經由Rd 1和Cp 1、 以及與Cp 1並聯的CAC1和Rtl構成,另一條放電路徑是經 由Rd2和Cp2、以及與Cp2並聯的CAC2和Rt2構成,由於 0608-A42407TWF 14 201141092 此時電路的RC常數更改,放電時間會變為t2。電子收發 器根據放電時間的變化就可以得知其正發送信號端TX+與 負發送信號端TX-之間是否耦接差分終端阻抗,從而探測 是否有終端設備插入。 本發明更揭露一種光收發方法,應用如第5圖所示的 光收發系統500,該方法包括:根據該終端設備540的狀 態輸出一接收終端丟失信號RX_L〇S ’再根據該接收終端 丟失信號RX_LOS控制該光收發模組510之正接收信號端 • TD+與負接收信號端TD-之間是否耦接一差分終端阻抗。 當該終端設備540耦接至該光收發模組510並準備好時, 該接收終端丟失信號RX_LOS無效;當該終端設備540未 耦接至該光收發模組510,或該終端設備540未準備好時, 該接收終端丟失信號RX_LOS有效。當接收終端丟失信號 RXJLOS無效時,正接收信號端TD+和負接收信號端ΤΓ)-之間耦接該差分終端阻抗。 本發明所述的光收發模組與系統及光收發方法,在光 • 收發模組的内部實現藉由終端設備的連接狀況來控制光收 發模組之正負接收信號端之間動態地耦接差分終端阻抗, 從而使得主控端的電子收發器準確地得知光纜對面終端設 備的連接狀況。原本無法直接連接光收發模組的電子收發 器,藉由本發明的光收發模組與系統也可以與終端設備實 現光纖傳輸,且終端設備能夠實現熱插拔功能。本發明無 需更改主控端的電子收發器原來的介面設計。在本發明的 光收發模組中,由於該接收終端丟失信號為内部信號,因 此在設計光收發模組的介面時,可以不設計引腳(pin )弓丨 0608-A42407TWF 15 201141092 出接收終端丟失信號,如此還可以減少光收發模組的引腳 數量(pin count)。 本發明雖以較佳實施例揭露如上,然其並非用以限定 本發明的範圍,任何所屬技術領域中具有通常知識者,在 不脫離本發明之精神和範圍内,當可做些許的更動與潤 飾,因此本發明之保護範圍當視後附之申請專利範圍所界 定者為準。 【圖式簡單說明】 第1圖是現有技術的電子收發系統的方塊圖; 第2圖是本發明一實施例的光收發模组的方塊圖; 第3圖是本發明一實施例的終端控制單元的方塊圖; 第4圖是本發明另一實施例的終端控制單元的方塊圖; 第5圖是本發明一實施例的光收發系統的方塊圖; 第6圖是本發明之光收發系統中電子收發器輪詢差分 終端阻抗的一實施例。 【主要元件符號說明】 230、530〜光纜; 100〜電子收發系統; 112、113、405〜差分終端阻抗; 120、520〜電子收發器; 150〜設備端; 210、 510〜光收發模組; 211、 511〜接收單元; 212、 512〜發射驅動單元; 213、 313、413、513〜終端控制單元; 216〜光檢測單元; 0608-A42407TWF 16 201141092 240、540〜終端設備; 305、605〜終端阻抗單元; 301、302、4(Π、402、601、602〜終端阻抗開關; 303、304、403、404〜終端組抗; 500〜光收發系統; RX_LOS〜終端丟失信號; RD+〜光收發模組之正發送信號端; RD-〜光收發模組之負發送信號端; RX+〜正接收信號端; RX-〜負接收信號端; TD+〜光收發模組之正接收信號端; TD-〜光收發模組之負接收信號端; TX+〜正發送信號端; TX-〜負發送信號端。0608-A42407TWF 10 201141092 Block diagram: The terminal control unit 413 is coupled between the positive receiving signal terminal td+ and the negative receiving L terminal TD· to control the positive receiving signal terminal TD+ according to the receiving terminal lost signal rx−l〇s Whether a differential termination impedance is coupled to the negative receiving signal terminal td_. In this embodiment, the differential termination impedance 4〇5 is fixed in the optical transceiver module, and may be composed of two terminal impedances and 4〇4, and the terminal impedances 4〇3 and 4〇4 are all connected to one. The reference potential, the (four) potential can be grounded, for example. The terminal control unit 413 includes a first-letter? The switch 401 and the second signal switch 4〇2, the first signal switch 4〇1 and the second signal switch 402 can be used as independent circuit devices to directly control whether the positive receiving signal terminal TD+ and the negative receiving signal terminal TD_ are coupled. Differential termination impedance 405: When the receiving terminal loss signal RX_L〇s is active, the first 彳5 switch 401 is opened, so that the positive receiving signal terminal TD+ is not coupled to the differential terminal impedance 405, and the second signal switch 4〇2 is also turned on. Therefore, the negative receiving 4 § end TD- is not coupled to the differential terminal impedance 4 〇 5; when the receiving terminal lost signal RX LOS is invalid, the first signal switch 4 〇 1 is closed, so that the receiving 彳 a? It is known that TD+ is lightly connected to the differential termination impedance 405, and the second signal switch 402 is also closed, so that the negative reception signal terminal TD_ is also coupled to the differential termination impedance 405. When the differential termination impedance 405 is coupled between the positive receiving signal terminal TD+ and the negative receiving signal terminal TD_, the optical transceiver module 210 of FIG. 2 can be detected by the electronic transceiver that it is connected to. In this embodiment, the first k-th switch 401 and the second signal switch 402 can be implemented as separate circuit devices by using a signal switch, such as a high-speed active switch or a high-speed passive switch (passive). Switch) implementation. Fig. 5 is an embodiment of the optical transceiver system of the present invention. Optical transceiver O608-A42407TWF 11 201141092 System 500 includes an electronic transceiver 520 including a positive transmitting signal terminal TX+ and a negative transmitting signal terminal τχ_; an optical transceiver module 510 coupled to the electronic transceiver 520. The optical transceiver module 510 further includes a receiving unit 511 'outputting a receiving terminal lost signal RX_LOS; - the transmitting driving unit 512 ' includes a positive receiving signal terminal TD+ and a negative receiving signal terminal TD-, the positive receiving signal terminal The TD+ and the negative receiving signal terminal TD- are respectively coupled to the positive transmitting signal terminal TX+ and the negative transmitting signal terminal TX- of the electronic transceiver 520, so that the electronic transceiver 52 transmits data to the optical transceiver module 510. The data may be sent in the form of a differential signal pair; a terminal control unit 513 coupled between the positive receiving signal terminal TD+ and the negative receiving signal terminal TD-, and controlling the receiving signal according to the receiving terminal loss signal RX_L〇S Whether a differential termination impedance is coupled between the positive receiving signal terminal TD+ and the negative receiving signal terminal TD-. In order to complete the bilateral communication with the electronic transceiver 520, the receiving unit 511 of the optical transceiver module 510 further includes a positive transmitting signal terminal. RD+ and a negative transmitting signal terminal RD- are respectively coupled to one of the electronic transceiver 520, the receiving signal terminal RX+ and the negative receiving signal terminal RX-, and are implemented by the optical transceiver module 510 to the electronic transceiver 520. Item may be transmitted as a differential signal pair. The optical transceiver module 510 can be connected to the terminal device 540 via a cable 530. The electronic transceiver 520 can be a high-speed electronic transceiver that supports hot-swap functions, such as a Fast Peripheral Component Interconnect Standard (PCIE) interface specification or a Universal Serial Bus Version 3.0 (USB3.0) interface specification. Of course, the electronic transceiver 520 of the present invention may have a positive and negative transmitting signal terminal TX+\TX- capable of transmitting a differential signal pair, and a host terminal capable of accepting positive and negative receiving signal terminals RX+\RX- of the differential signal pair. The device is not limited to a high-speed electronic transceiver with a fast peripheral component interconnect 0608-A42407TWF 12 201141092 standard (PCIE) interface specification or a universal serial bus version 3. u (uSB3.0) interface specification. When the optical transceiver module 510 is connected to the electronic transceiver 520 in the manner shown in FIG. 5, and the optical transceiver module 51 is not connected to any terminal device 540, the receiving terminal output signal of the receiving unit 511 loses the signal rx_l〇S. In order to be effective, the terminal control unit 513 controls the differential termination impedance between the positive receiving signal terminal TD+ and the negative receiving signal terminal TD- according to the effective receiving terminal loss signal RX_LOS. The electronic transceiver 52 determines whether there is a terminal device 540 inserted by polling whether there is a differential termination impedance between the positive transmitting terminal TX+ and the negative transmitting terminal TX-, and the electronic transceiver 520 cannot detect the differential termination impedance. If there is no terminal device inserted, the electronic transceiver 520 does not initiate the link training sequence. When the optical transceiver module 510 is connected to the electronic transceiver 520 and the optical transceiver module 510 is also connected to the terminal device 540, but the terminal device 540 is not ready, the receiving terminal loss signal RX_LOS is still valid, then the optical transceiver module Between the positive receiving signal terminal TD+ and the negative receiving signal terminal TD- of 510, the differential terminal impedance is still not coupled, so the electronic transceiver 520 does not initiate the link training sequence. When the optical transceiver module 510 is connected to the electronic transceiver 520 and the optical transceiver module 510 is also connected to the terminal device 540 and is ready, the receiving terminal loss signal RXJLOS is set to be invalid, and the optical transceiver module 510 is positive. A differential termination impedance is coupled between the receiving signal terminal TD+ and the negative receiving signal terminal TD-, and the electronic transceiver 520 detects that there is a differential termination impedance between the positive transmitting signal terminal TX+ and the negative transmitting signal terminal TX-. The training sequence is used to establish a link with the terminal device 540. Figure 6 illustrates an electronic transceiver polling differential in an optical transceiver system of the present invention. 0608-A42407TWF 13 201141092 An embodiment of a termination impedance. As described above, the positive receiving signal terminal TD+ and the s-negative negative receiving terminal D-D of the optical transceiver module are respectively coupled to the positive transmitting signal TX TX TX+ of the electronic transceiver and the negative transmitting signal terminal τ χ _ The electronic transceiver detects whether there is a terminal device insertion by polling whether the differential terminal impedance is lightly connected between the positive transmission signal terminal ΤΧ+ and the negative transmission signal terminal τχ_. The electronic transceiver performs a poll every other time to decide whether to initiate a chain training sequence. As shown in Fig. 5, when polling whether (4) the differential termination impedance, the electronic transceiver transmits the common mode voltage and the negative transmission signal terminal τχ_ between the positive signal terminal τχ+ and the ground. The common mode voltage is charged to a specific value and then rose, and the discharge time of the common mode voltage drops to a threshold value after discharge is used to determine whether the differential termination impedance is coupled. When the electronic transceiver is not connected to any terminal device, there is originally a charging resistor Rd1 and a parasitic capacitor Cpl between the positive transmitting signal terminal τχ+ and the ground of the electronic transceiver. Therefore, the discharging path is composed of Rdl and Cpl, and the negative transmitting nickname There is originally a charging resistor Rd2 and a parasitic capacitor Cp2 between the terminal TX- and the ground, so the discharge path is composed of Rd2 and Cp2, and the discharge time is tl ·. When the terminal device is connected and ready, the optical transceiver module of the present invention In an embodiment, the terminal impedance switches 601 and 602 are closed, and the differential termination impedance of the differential termination impedance unit 605 is connected between the positive receiving signal terminal TD+ and the negative receiving terminal 号5 & TD-, for example, including FIG. The termination resistor Ru and the AC capacitor cAC1 are switched to the positive receiving signal terminal tD+ of the optical transceiver module and the ground between the final resistor Rt2 and the parent current capacitor CAC2 are connected to the negative receiving signal terminal TD- and ground. The discharge path is composed of Rd 1 and Cp 1 , and CAC1 and Rtl in parallel with Cp 1 , and the other discharge path is composed of Rd2 and Cp2, and CAC2 and Rt2 connected in parallel with Cp2, since 0608-A42407TWF 14 201141 092 At this time, the RC constant of the circuit is changed, and the discharge time becomes t2. The electronic transceiver can know whether the differential terminal impedance is coupled between the positive transmitting terminal TX+ and the negative transmitting terminal TX- according to the change of the discharging time, thereby detecting whether or not the terminal device is inserted. The present invention further discloses an optical transceiver method, which uses the optical transceiver system 500 as shown in FIG. 5, the method includes: outputting a receiving terminal loss signal RX_L〇S' according to the state of the terminal device 540, and then losing a signal according to the receiving terminal. The RX_LOS controls whether a differential termination impedance is coupled between the positive receiving signal terminal TD+ and the negative receiving signal terminal TD- of the optical transceiver module 510. When the terminal device 540 is coupled to the optical transceiver module 510 and is ready, the receiving terminal loss signal RX_LOS is invalid; when the terminal device 540 is not coupled to the optical transceiver module 510, or the terminal device 540 is not prepared When it is good, the receiving terminal lost signal RX_LOS is valid. When the receiving terminal loss signal RXJLOS is invalid, the differential terminal impedance is coupled between the receiving signal terminal TD+ and the negative receiving signal terminal ΤΓ)-. The optical transceiver module and system and the optical transceiver method of the present invention implement dynamic connection of differential signals between the positive and negative receiving signals of the optical transceiver module by the connection status of the terminal device in the optical transceiver module. The terminal impedance, so that the electronic transceiver of the master terminal accurately knows the connection status of the terminal device opposite to the cable. The electronic transceiver that can not directly connect to the optical transceiver module can realize optical fiber transmission with the terminal device by the optical transceiver module and system of the present invention, and the terminal device can implement the hot plug function. The invention does not need to change the original interface design of the electronic transceiver of the main control terminal. In the optical transceiver module of the present invention, since the receiving terminal loses the signal as an internal signal, when the interface of the optical transceiver module is designed, the pin (pin) 0608-A42407TWF 15 201141092 may be omitted. The signal can also reduce the pin count of the optical transceiver module. The present invention has been disclosed in the above preferred embodiments, and is not intended to limit the scope of the present invention. Any one of ordinary skill in the art can make a few changes without departing from the spirit and scope of the invention. The scope of protection of the present invention is therefore defined by the scope of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a prior art electronic transceiver system; FIG. 2 is a block diagram of an optical transceiver module according to an embodiment of the present invention; and FIG. 3 is a terminal control according to an embodiment of the present invention. Figure 4 is a block diagram of a terminal control unit according to another embodiment of the present invention; Figure 5 is a block diagram of an optical transceiver system according to an embodiment of the present invention; and Figure 6 is an optical transceiver system of the present invention; An embodiment in which the medium electronic transceiver polls the differential termination impedance. [Description of main components] 230, 530~ optical cable; 100~ electronic transceiver system; 112, 113, 405~ differential termination impedance; 120, 520~ electronic transceiver; 150~ device end; 210, 510~ optical transceiver module; 211, 511~ receiving unit; 212, 512~ transmitting driving unit; 213, 313, 413, 513~ terminal control unit; 216~ light detecting unit; 0608-A42407TWF 16 201141092 240, 540~ terminal device; 305, 605~ terminal Impedance unit; 301, 302, 4 (Π, 402, 601, 602~ terminal impedance switch; 303, 304, 403, 404~ terminal group resistance; 500~ optical transceiver system; RX_LOS~ terminal lost signal; RD+~ optical transceiver module The positive transmitting signal end of the group; the negative transmitting signal end of the RD-~ optical transceiver module; the RX+~ positive receiving signal end; the RX-~ negative receiving signal end; the positive receiving signal end of the TD+~ optical transceiver module; TD-~ The negative receiving signal end of the optical transceiver module; TX+~ positive transmitting signal end; TX-~ negative transmitting signal end.
0608-A42407TWF 170608-A42407TWF 17