TW202133575A - Optical network device with abnormal light emission detection - Google Patents

Optical network device with abnormal light emission detection Download PDF

Info

Publication number
TW202133575A
TW202133575A TW109108503A TW109108503A TW202133575A TW 202133575 A TW202133575 A TW 202133575A TW 109108503 A TW109108503 A TW 109108503A TW 109108503 A TW109108503 A TW 109108503A TW 202133575 A TW202133575 A TW 202133575A
Authority
TW
Taiwan
Prior art keywords
light
signal
emitting
optical
control circuit
Prior art date
Application number
TW109108503A
Other languages
Chinese (zh)
Other versions
TWI788639B (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 瑞昱半導體股份有限公司
Publication of TW202133575A publication Critical patent/TW202133575A/en
Application granted granted Critical
Publication of TWI788639B publication Critical patent/TWI788639B/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0799Monitoring line transmitter or line receiver equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/27Arrangements for networking
    • H04B10/272Star-type networks or tree-type networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/40Transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0083Testing; Monitoring

Abstract

An optical network device with abnormal light emission detection includes an opto-electrical transceiver circuit and a control circuit. The opto-electrical transceiver circuit receives a transmission signal. The control circuit enables the optical transceiver circuit according to the transmission signal, so that the opto-electrical transceiver circuit outputs an optical signal. The opto-electrical transceiver circuit outputs a status signal representing whether or not the opto-electrical transceiver circuit outputs an optical signal. The control circuit accumulates a lasting time of light-emission according to the status signal. When the lasting time is longer than a threshold, the control circuit stops the opto-electrical transceiver circuit from outputting the optical signal.

Description

具有異常發光檢測的光網路裝置Optical network device with abnormal luminescence detection

本案描述一種光網路裝置,尤其是一種具有異常發光檢測的光網路裝置。This case describes an optical network device, especially an optical network device with abnormal light emission detection.

無源光網路(PON,Passive Optics Network)是一種由光連結終端(OLT,Optics Line Terminal)、光纖網路單元(ONU,Optics Network Unit)、以及光分布網路(ODN,Optics Distribution Network)所組成的光纖通訊網路,無源光網路的特徵為單點對多點的通訊傳輸。一般通訊傳輸分為上行傳輸及下行傳輸,在無源光網路中,下行傳輸為由光連結終端連續發送資料至多個光纖網路單元,上行傳輸則為多個光纖網路單元發送資料至光連結終端,且每個光纖網路單元只能在光連結終端分配的時隙中發送資料,如此,多個光纖網路單元與一個光連結終端間可以正常地傳輸資料。Passive Optics Network (PON, Passive Optics Network) is a kind of optical connection terminal (OLT, Optics Line Terminal), optical fiber network unit (ONU, Optics Network Unit), and optical distribution network (ODN, Optics Distribution Network) The composed fiber optic communication network, passive optical network is characterized by single-point-to-multipoint communication transmission. Generally, communication transmission is divided into uplink transmission and downlink transmission. In passive optical networks, downlink transmission is the continuous transmission of data from optical connection terminals to multiple optical fiber network units, and the uplink transmission is the transmission of data to optical fiber network units from multiple optical fiber network units. Connect terminals, and each optical fiber network unit can only send data in the time slot allocated by the optical connection terminal. In this way, data can be normally transmitted between multiple optical fiber network units and one optical connection terminal.

依前述無源光網路之運作模式,當其中一個光纖網路單元發光的時間點異常地落在其他光纖網路單元被分配的時隙時,將影響整個無源光網路的通訊傳輸。According to the aforementioned operating mode of the passive optical network, when one of the optical fiber network units emits light abnormally in the time slot allocated by the other optical fiber network units, the communication transmission of the entire passive optical network will be affected.

鑒於上述,本案提供一種具有異常發光檢測的光網路裝置,適於對光纖網路單元做發光異常的檢測。In view of the above, this case provides an optical network device with abnormal light emission detection, which is suitable for detecting abnormal light emission of optical fiber network units.

依據一些實施例,具有異常發光檢測的光網路裝置包含一光收發電路以及一控制電路。光收發電路接收一發送訊號。控制電路依據發送訊號致能光收發電路,使光收發電路輸出一光訊號。光收發電路依據是否輸出光訊號而輸出一狀態訊號,控制電路依據狀態訊號累計一持續發光時間。當持續發光時間大於一預設值時,控制電路停止光收發電路輸出光訊號。According to some embodiments, the optical network device with abnormal light emission detection includes an optical transceiver circuit and a control circuit. The optical transceiver circuit receives a transmission signal. The control circuit activates the optical transceiver circuit according to the transmission signal, so that the optical transceiver circuit outputs an optical signal. The optical transceiver circuit outputs a status signal according to whether or not the optical signal is output, and the control circuit accumulates a continuous lighting time according to the status signal. When the continuous lighting time is greater than a preset value, the control circuit stops the optical transceiver circuit to output optical signals.

依據一些實施例,控制電路在狀態訊號從一不發光狀態轉為一發光狀態時,開始累計持續發光時間,控制電路在狀態訊號從發光狀態轉為不發光狀態時,停止累計持續發光時間。According to some embodiments, the control circuit starts to accumulate the continuous light-emitting time when the status signal changes from a non-lighting state to a light-emitting state, and the control circuit stops accumulating the continuous light-emitting time when the status signal changes from a light-emitting state to a non-lighting state.

依據一些實施例,控制電路包含一計數器。計數器在狀態訊號從不發光狀態轉為發光狀態時,開始計數持續發光時間,計數器在狀態訊號從發光狀態轉為不發光狀態時,停止計數持續發光時間。According to some embodiments, the control circuit includes a counter. The counter starts counting the continuous light-emitting time when the status signal changes from the non-lighting state to the light-emitting state, and the counter stops counting the continuous light-emitting time when the state signal changes from the light-emitting state to the non-lighting state.

依據一些實施例,控制電路包含一中斷電路以及一處理器。中斷電路接收狀態訊號,當狀態訊號從不發光狀態轉為發光狀態時,中斷電路產生一發光中斷訊號,當狀態訊號從發光狀態轉為不發光狀態時,中斷電路產生一不發光中斷訊號。處理器依據發光中斷訊號開始累計持續發光時間,並依據不發光中斷訊號停止累計持續發光時間。當持續發光時間大於預設值時,處理器停止光收發電路輸出光訊號。According to some embodiments, the control circuit includes an interrupt circuit and a processor. The interrupt circuit receives the status signal. When the status signal changes from the non-lighting state to the light-emitting state, the interrupt circuit generates a light-emitting interrupt signal. When the state signal changes from the light-emitting state to the non-light-emitting state, the interrupt circuit generates a non-light-emitting interrupt signal. The processor starts to accumulate the continuous light-emitting time according to the light-emitting interruption signal, and stops accumulating the continuous light-emitting time according to the non-light-emission interrupt signal. When the continuous light-emitting time is greater than the preset value, the processor stops the optical transceiver circuit to output optical signals.

依據一些實施例,控制電路在狀態訊號從不發光狀態轉為發光狀態時,開始累計持續發光時間,當持續發光時間大於預設值時,控制電路停止光收發電路輸出光訊號,並停止累計持續發光時間。According to some embodiments, the control circuit starts to accumulate the continuous light-emitting time when the status signal changes from the non-lighting state to the light-emitting state. When the continuous light-emitting time is greater than the preset value, the control circuit stops the optical transceiver circuit from outputting the optical signal and stops accumulating the continuous light. Glow time.

依據一些實施例,計數器依據控制電路之一時脈頻率來計數。According to some embodiments, the counter counts according to a clock frequency of the control circuit.

依據一些實施例,當持續輸出發光時間大於預設值時,控制電路輸出一終止訊號,光收發電路依據終止訊號停止輸出光訊號。According to some embodiments, when the continuous output light-emitting time is greater than the preset value, the control circuit outputs a termination signal, and the optical transceiver circuit stops outputting the optical signal according to the termination signal.

因此,依據一些實施例,當光收發電路依據是否輸出光訊號而輸出狀態訊號,控制電路依據狀態訊號累計持續發光時間,當持續發光時間大於一預設值時,代表光網路裝置在不應發光的時間裡發光,即光網路裝置處於異常發光狀態,控制電路停止光收發電路輸出光訊號,從而讓光網路裝置停止干擾其他光網路裝置,降低影響整個光網路傳輸的運作。Therefore, according to some embodiments, when the optical transceiver circuit outputs the status signal according to whether or not the optical signal is output, the control circuit accumulates the continuous light-emitting time according to the status signal. When the continuous light-emitting time is greater than a preset value, it means that the optical network device is not Lights during the light-emitting time, that is, the optical network device is in an abnormal light-emitting state, and the control circuit stops the optical transceiver circuit from outputting optical signals, so that the optical network device stops interfering with other optical network devices and reduces the influence on the operation of the entire optical network transmission.

參照圖1,圖1繪示,依據一些實施例,具有異常發光檢測的光網路裝置10A~10C之方塊示意圖。光連結終端40連接一主光纖50,多個光網路裝置10A~10C分別連接對應的子光纖51A~51C。在一些實例中,主光纖50與該些子光纖51A~51C為一對多的光耦合器(Optical Coupler)、或光分歧器(Optical Splitter)、或光合路器(Optical Combiner)。光連結終端40經由主光纖50連接至該些光網路裝置10A~10C,以達成單點(光連結終端40)對多點(光網路裝置10A~10C)的通訊傳輸。光連結終端40用以對多個光網路裝置10A~10C傳送發送訊號RX,以分配每個光網路裝置10A~10C可發光的時隙,該些光網路裝置10A~10C接收該發送訊號RX,以獲得可發光的時隙。在此,該發送訊號RX為該光連結終端40授權該些光網路裝置10A~10C於可發光的時隙發光的一授權訊號。Referring to FIG. 1, FIG. 1 shows a block diagram of an optical network device 10A-10C with abnormal light emission detection according to some embodiments. The optical connection terminal 40 is connected to a main optical fiber 50, and a plurality of optical network devices 10A to 10C are respectively connected to corresponding sub optical fibers 51A to 51C. In some examples, the main fiber 50 and the sub-fibers 51A to 51C are one-to-many optical couplers, or optical splitters, or optical combiners. The optical link terminal 40 is connected to the optical network devices 10A-10C via the main optical fiber 50 to achieve single-point (optical link terminal 40) to multi-point (optical network devices 10A-10C) communication transmission. The optical connection terminal 40 is used to transmit and transmit a signal RX to a plurality of optical network devices 10A~10C, so as to allocate a time slot that each optical network device 10A~10C can emit light, and the optical network devices 10A~10C receive the transmission Signal RX to obtain time slots that can emit light. Here, the transmission signal RX is an authorization signal for the optical link terminal 40 to authorize the optical network devices 10A-10C to emit light in the time slots that can emit light.

每個光網路裝置10A~10C包含一光收發電路20以及一控制電路30。光收發電路20接收一發送訊號RX。控制電路30依據發送訊號RX獲得可輸出光訊號TX的時隙,並在可輸出光訊號TX的時隙時,致能光收發電路20,使光收發電路20輸出一光訊號TX。光收發電路20依據自身是否正在輸出光訊號TX而輸出一狀態訊號SD,控制電路30依據狀態訊號SD累計一持續發光時間。當持續發光時間大於一預設值時,控制電路30停止光收發電路20輸出光訊號TX。在此,持續發光時間為光收發電路20持續輸出光訊號TX的時間。在一些實施例中,光收發電路20輸出光訊號TX至光連結終端40。Each optical network device 10A-10C includes an optical transceiver circuit 20 and a control circuit 30. The optical transceiver circuit 20 receives a transmission signal RX. The control circuit 30 obtains the time slot capable of outputting the optical signal TX according to the transmission signal RX, and when the time slot capable of outputting the optical signal TX, enables the optical transceiver circuit 20 so that the optical transceiver circuit 20 outputs an optical signal TX. The optical transceiver circuit 20 outputs a status signal SD according to whether it is outputting the optical signal TX, and the control circuit 30 accumulates a continuous lighting time according to the status signal SD. When the continuous lighting time is greater than a preset value, the control circuit 30 stops the optical transceiver circuit 20 to output the optical signal TX. Here, the continuous light emission time is the time during which the optical transceiver circuit 20 continues to output the optical signal TX. In some embodiments, the optical transceiver circuit 20 outputs an optical signal TX to the optical connection terminal 40.

由於通訊傳輸於上行傳輸時,光網路裝置10A~10C傳輸訊號至光連結終端40之通道只有一個,當該些光網路裝置10A~10C中的其中之一在光連結終端40未分配的時隙中發光時,會影響其他光網路裝置10A~10C裝置之通訊傳輸。因此,當光收發電路20持續輸出光訊號TX的時間大於預設值時,控制電路30停止光收發電路20輸出光訊號TX,如此,即可降低異常發光的光網路裝置10A~10C影響整個無源光網路的通訊傳輸。Since the communication transmission is in the upstream transmission, there is only one channel for the optical network devices 10A~10C to transmit signals to the optical link terminal 40. When one of the optical network devices 10A~10C is not allocated to the optical link terminal 40 When light is emitted in the time slot, it will affect the communication transmission of other optical network devices 10A~10C. Therefore, when the optical transceiver circuit 20 continues to output the optical signal TX for a time greater than the preset value, the control circuit 30 stops the optical transceiver circuit 20 from outputting the optical signal TX. In this way, the abnormally luminous optical network devices 10A~10C can be reduced to affect the entire Communication transmission of passive optical network.

在一些實施例中,光網路裝置10A~10C之控制電路30自對應的使用者終端設備60A~60C接收一資料訊號,控制電路30在可發光的時隙中將該資料訊號轉換為光訊號TX而輸出至該光連結終端40;反向地,光網路裝置10A~10C之光收發電路20接收來自光連結終端40的資料訊號並將該資料訊號轉為電的資料訊號,控制電路30解析該資料訊號,並判斷該資料訊號是否屬於己身的資料訊號,當該資料訊號屬於己身的資料訊號時,將該資料訊號傳送至己身對應的使用者終端設備60A~60D。在一些實施例中,該光連結終端40發出的該資料訊號包括前述發送訊號,因此,該控制電路30在解析該資料訊號時,能獲得己身能輸出光訊號TX的時隙。在一些實施例中,光網路裝置10A~10C經由纜線、絞線等等連接使用者終端設備60A~60C。In some embodiments, the control circuit 30 of the optical network device 10A~10C receives a data signal from the corresponding user terminal equipment 60A~60C, and the control circuit 30 converts the data signal into an optical signal in the light-emitting time slot TX is output to the optical link terminal 40; conversely, the optical transceiver circuit 20 of the optical network device 10A-10C receives the data signal from the optical link terminal 40 and converts the data signal into an electrical data signal, and the control circuit 30 Analyze the data signal and determine whether the data signal belongs to your own data signal. When the data signal belongs to your own data signal, send the data signal to your corresponding user terminal equipment 60A~60D. In some embodiments, the data signal sent by the optical link terminal 40 includes the aforementioned transmission signal. Therefore, when the control circuit 30 analyzes the data signal, it can obtain the time slot for which it can output the optical signal TX. In some embodiments, the optical network devices 10A-10C are connected to the user terminal equipment 60A-60C via cables, twisted wires, etc.

前述光連結終端40例如但不限於光纖的終端裝置、光端機等等。前述使用者終端設備60A~60C例如但不限於媒體轉換器(Media converter)、行動裝置、電腦、伺服器等等。The aforementioned optical connection terminal 40 is, for example, but not limited to, an optical fiber terminal device, an optical transceiver, and the like. The aforementioned user terminal devices 60A-60C are, for example, but not limited to, Media converters, mobile devices, computers, servers, and so on.

前述光收發電路20例如但不限於小封裝可插拔(SFP,Small form pluggable)光收發模組、百億位元小封裝可插拔(XFP,10 Gigabit Small form pluggable)光收發模組、十億位元介面轉換(Giga Bitrate Interface Converter)光收發模組(Giga Bitrate Interface Converter)等等。在一些實施例中,光收發電路20包含一光電二極體(Photo Diode)、一雷射裝置(Laser Device)、一承接該光電二極體電訊號的電路、以及一驅動或控制該雷射裝置之電路。在此,承接該光電二極體電訊號的電路及驅動或控制該雷射裝置之電路可為單一晶片或多個晶片。雷射裝置可為發光二極體、液體雷射器、固體雷射器、氣體雷射器等等。The foregoing optical transceiver circuit 20 is for example, but not limited to, a small form pluggable (SFP, Small form pluggable) optical transceiver module, a 10 Gigabit Small form pluggable (XFP, 10 Gigabit Small form pluggable) optical transceiver module, and Giga Bitrate Interface Converter, Giga Bitrate Interface Converter, etc. In some embodiments, the optical transceiver circuit 20 includes a photodiode, a laser device, a circuit for receiving electrical signals from the photodiode, and a circuit that drives or controls the laser The circuit of the device. Here, the circuit for receiving the electrical signal of the photodiode and the circuit for driving or controlling the laser device can be a single chip or multiple chips. The laser device can be a light emitting diode, a liquid laser, a solid laser, a gas laser, and so on.

前述控制電路30例如但不限於中央處理器(CPU, Central Processing Unit)、微處理器(Microprocessor)、特定應用積體電路(ASIC, Application-specific Integrated Circuit)、系統單晶片(SOC, System on a Chip)等。在一些實施例中,控制電路30可以經由匯流排電性連接光收發電路20。在一些實施例中,光收發電路20自光連結終端40接收發送訊號RX,並經由匯流排將發送訊號RX傳送至控制電路30。The aforementioned control circuit 30 is, for example, but not limited to, a central processing unit (CPU, Central Processing Unit), a microprocessor (Microprocessor), an application-specific integrated circuit (ASIC, Application-specific Integrated Circuit), and a system-on-a-chip (SOC, System on a chip). Chip) and so on. In some embodiments, the control circuit 30 may be electrically connected to the optical transceiver circuit 20 via a bus bar. In some embodiments, the optical transceiver circuit 20 receives the transmission signal RX from the optical connection terminal 40 and transmits the transmission signal RX to the control circuit 30 via the bus.

在一些實施例中,控制電路30依據發送訊號RX傳送一致能訊號至光收發電路20的致能端BEN,致能光收發電路20,光收發電路20在被致能時,輸出光訊號TX。例如致能端BEN接收到致能訊號後,觸發光收發電路20之突發模式以致能光收發電路20,並輸出光訊號TX。在一些實施例中,致能訊號為一位準訊號。例如,位準訊號為高位準時,表示致能(Enable);位準訊號為低位準時,表示不致能(亦可稱為禁能Disable)。但並不以此為限,例如位準訊號為低位準時,表示致能;位準訊號為高位準時,表示不致能。In some embodiments, the control circuit 30 transmits an enabling signal to the enable terminal BEN of the optical transceiver circuit 20 according to the transmission signal RX to enable the optical transceiver circuit 20. When the optical transceiver circuit 20 is enabled, it outputs an optical signal TX. For example, after the enable terminal BEN receives the enable signal, it triggers the burst mode of the optical transceiver circuit 20 to enable the optical transceiver circuit 20 and output the optical signal TX. In some embodiments, the enabling signal is a quasi signal. For example, when the level signal is high level, it means enable (Enable); when the level signal is low level, it means disable (also called disable). But it is not limited to this. For example, when the level signal is low level, it means enabling; when the level signal is high level, it means disabling.

在一些實施例中,光收發電路20依據是否輸出光訊號TX而輸出狀態訊號SD。舉例來說,當光收發電路20輸出光訊號TX時,該狀態訊號SD處於「發光狀態」,當光收發電路20未輸出光訊號TX時,該狀態訊號SD處於「不發光狀態」。在一些實施例中,狀態訊號SD為一位準訊號。例如,位準訊號為高位準時,表示發光狀態;位準訊號為低位準時,表示不發光狀態。但並不以此為限,例如位準訊號為低位準時,表示發光狀態;位準訊號為高位準時,表示不發光狀態。在一些實施例中,高位準代表二進位之1,低位準代表二進位之0。但並不以此為限,例如低位準代表二進位之0,高位準代表二進位之1。In some embodiments, the optical transceiver circuit 20 outputs the status signal SD according to whether to output the optical signal TX. For example, when the optical transceiver circuit 20 outputs the optical signal TX, the state signal SD is in the "light-emitting state", and when the optical transceiver circuit 20 does not output the optical signal TX, the state signal SD is in the "non-light-emitting state". In some embodiments, the status signal SD is a quasi signal. For example, when the level signal is at a high level, it indicates a light-emitting state; when the level signal is at a low level, it indicates a non-light-emitting state. But it is not limited to this. For example, when the level signal is low level, it indicates the light-emitting state; when the level signal is high level, it indicates the non-light-emitting state. In some embodiments, the high level represents the binary one, and the low level represents the binary zero. But it is not limited to this. For example, the low level represents the binary 0, and the high level represents the binary 1.

在一些實施例中,當持續發光時間大於預設值時,控制電路30停止光收發電路20輸出光訊號TX,意即控制電路30發送禁能訊號予光收發電路20(即控制電路30將連接光收發電路20的致能端BEN改為禁能),光收發電路20在無致能訊號(或收到禁能訊號)時,即停止發出光訊號TX。舉例來說,控制電路30包含一比較器及一儲存裝置,儲存裝置存有該預設值,控制電路30累計持續發光時間,並利用比較器比較持續發光時間與該預設值,若持續發光時間大於該預設值,則控制電路30停止光收發電路20輸出光訊號TX。In some embodiments, when the continuous lighting time is greater than the preset value, the control circuit 30 stops the optical transceiver circuit 20 from outputting the optical signal TX, which means that the control circuit 30 sends a disable signal to the optical transceiver circuit 20 (that is, the control circuit 30 will be connected The enable terminal BEN of the optical transceiver circuit 20 is changed to disable), and the optical transceiver circuit 20 stops emitting the optical signal TX when there is no enable signal (or the disable signal is received). For example, the control circuit 30 includes a comparator and a storage device. The storage device stores the preset value. The control circuit 30 accumulates the continuous light-emitting time and compares the continuous light-emitting time with the preset value by using the comparator. When the time is greater than the preset value, the control circuit 30 stops the optical transceiver circuit 20 to output the optical signal TX.

在一些實施例中,控制電路30在狀態訊號SD(如圖3所示)從不發光狀態轉為發光狀態時,開始累計持續發光時間,控制電路30在狀態訊號從發光狀態轉為不發光狀態時,停止累計持續發光時間。舉例來說,控制電路30在狀態訊號SD從低位準轉為高位準時,開始累計光收發電路20輸出光訊號TX的時間(持續發光時間),控制電路30在狀態訊號SD從高位準轉為低位準時,停止累計光收發電路20輸出光訊號TX的時間(持續發光時間)。因此,控制電路30即獲得前述持續發光時間。接著,控制電路30即將該持續發光時間與該預設值比較,並決定是否停止光收發電路20輸出該光訊號。In some embodiments, the control circuit 30 starts to accumulate the continuous light-emitting time when the state signal SD (as shown in FIG. 3) changes from the non-lighting state to the light-emitting state, and the control circuit 30 changes from the light-emitting state to the non-light-emitting state when the state signal SD , Stop accumulating continuous lighting time. For example, when the status signal SD changes from a low level to a high level, the control circuit 30 starts to accumulate the time (continuous light emission time) that the optical transceiver circuit 20 outputs the optical signal TX, and the control circuit 30 changes the status signal SD from a high level to a low level. On time, stop accumulating the time (continuous light-emitting time) during which the optical transceiver circuit 20 outputs the optical signal TX. Therefore, the control circuit 30 obtains the aforementioned continuous light emission time. Then, the control circuit 30 compares the continuous light-emitting time with the preset value, and determines whether to stop the optical transceiver circuit 20 from outputting the optical signal.

在一些實施例中,控制電路30在狀態訊號SD從高位準轉為低位準時,開始累計持續發光時間,控制電路30在狀態訊號SD從低位準轉為高位準時,停止累計持續發光時間。In some embodiments, the control circuit 30 starts to accumulate the continuous lighting time when the status signal SD changes from a high level to a low level, and the control circuit 30 stops accumulating the continuous lighting time when the status signal SD changes from a low level to a high level.

在一些實施例中,當狀態訊號SD從低位準轉為高位準時,控制電路30即會觸發一預設的上升緣動作,當狀態訊號SD從高位準轉為低位準時,控制電路30即會觸發一預設的下降緣動作。在此,上升緣動作為控制電路30開始累計光收發電路20輸出光訊號TX的時間(持續發光時間),下降緣動作為控制電路30停止累計光收發電路20輸出光訊號TX的時間(持續發光時間)。但並不以此為限,例如上升緣動作為控制電路30停止累計光收發電路20輸出光訊號TX的時間(持續發光時間),下降緣動作為控制電路30開始累計光收發電路20輸出光訊號TX的時間(持續發光時間)。In some embodiments, when the status signal SD changes from a low level to a high level, the control circuit 30 will trigger a predetermined rising edge action. When the status signal SD changes from a high level to a low level, the control circuit 30 will trigger A preset falling edge action. Here, the rising edge action means that the control circuit 30 starts to accumulate the time during which the optical transceiver circuit 20 outputs the optical signal TX (continuous light emission time), and the falling edge action means that the control circuit 30 stops accumulating the time during which the optical transceiver circuit 20 outputs the optical signal TX (continuous light emission). time). However, it is not limited to this. For example, the rising edge action is when the control circuit 30 stops accumulating the time (continuous light emission time) that the optical transceiver circuit 20 outputs the optical signal TX, and the falling edge action is the control circuit 30 starts accumulating the optical signal output from the optical transceiver circuit 20. TX time (continuous lighting time).

參照圖2及圖3之狀態訊號SD,圖2繪示,依據一些實施例,控制電路30的方塊示意圖。在一些實施例中,控制電路30包含一計數器31,其中計數器31在狀態訊號SD從不發光狀態轉為發光狀態時,開始計數持續發光時間,計數器31在狀態訊號SD從發光狀態轉為不發光狀態時,停止計數持續發光時間。舉例來說,計數器31在狀態訊號SD從低位準轉為高位準時,開始計數光收發電路20輸出光訊號TX的時間(持續發光時間),即每隔一段時間,計數器31會遞增一次計次,計數器31在狀態訊號SD從高位準轉為低位準時,停止計數光收發電路20輸出光訊號TX的時間(持續發光時間),即計數器31不再遞增計次。在一些實施例中,持續發光時間的單位可以是次數。在一些實施例中,計數器31是依據控制電路30的時脈頻率CLK進行計次,因此,持續發光時間的單位即為時脈次數。Referring to the status signal SD of FIGS. 2 and 3, FIG. 2 shows a block diagram of the control circuit 30 according to some embodiments. In some embodiments, the control circuit 30 includes a counter 31, where the counter 31 starts to count the continuous light-emitting time when the status signal SD changes from the non-lighting state to the light-emitting state, and the counter 31 switches from the light-emitting state to the non-lighting state when the state signal SD is In the state, stop counting the continuous light-emitting time. For example, when the status signal SD changes from a low level to a high level, the counter 31 starts to count the time (continuous lighting time) that the optical transceiver circuit 20 outputs the optical signal TX, that is, the counter 31 will increment once every time. When the status signal SD changes from a high level to a low level, the counter 31 stops counting the time (continuous light-emitting time) that the optical transceiver circuit 20 outputs the optical signal TX, that is, the counter 31 no longer counts up. In some embodiments, the unit of the continuous lighting time may be the number of times. In some embodiments, the counter 31 counts according to the clock frequency CLK of the control circuit 30. Therefore, the unit of the continuous light-emitting time is the number of clocks.

在一些實施例中,計數器31在狀態訊號SD從高位準轉為低位準時,開始計數持續發光時間,計數器31在狀態訊號SD從低位準轉為高位準時,停止計數持續發光時間。In some embodiments, the counter 31 starts counting the continuous light-emitting time when the status signal SD changes from a high level to a low level, and the counter 31 stops counting the continuous light-emitting time when the status signal SD changes from a low level to a high level.

在一些實施例中,當狀態訊號SD從低位準轉為高位準時,控制電路30即會觸發一預設的上升緣動作,當狀態訊號SD從高位準轉為低位準時,控制電路30即會觸發一預設的下降緣動作。在此,上升緣動作為計數器31開始計數光收發電路20輸出光訊號TX的時間(持續發光時間),下降緣動作為計數器31停止計數光收發電路20輸出光訊號TX的時間(持續發光時間)。但並不以此為限,例如上升緣動作為計數器31停止計數光收發電路20輸出光訊號TX的時間(持續發光時間),下降緣動作為計數器31開始計數光收發電路20輸出光訊號TX的時間(持續發光時間)。在一些實施例中,當狀態訊號SD從低位準轉為高位準時,計數器31即會觸發一預設的上升緣動作,當狀態訊號SD從高位準轉為低位準時,計數器31即會觸發一預設的下降緣動作。In some embodiments, when the status signal SD changes from a low level to a high level, the control circuit 30 will trigger a predetermined rising edge action. When the status signal SD changes from a high level to a low level, the control circuit 30 will trigger A preset falling edge action. Here, the rising edge action means that the counter 31 starts counting the time during which the optical transceiver circuit 20 outputs the optical signal TX (continuous light emission time), and the falling edge action means that the counter 31 stops counting the time during which the optical transceiver circuit 20 outputs the optical signal TX (continuous light emission time). . However, it is not limited to this. For example, the rising edge action means that the counter 31 stops counting the time (continuous light emission time) that the optical transceiver circuit 20 outputs the optical signal TX, and the falling edge action means that the counter 31 starts counting the optical signal TX output of the optical transceiver circuit 20. Time (continuous lighting time). In some embodiments, when the status signal SD changes from a low level to a high level, the counter 31 will trigger a preset rising edge action. When the status signal SD changes from a high level to a low level, the counter 31 will trigger a preset Set the falling edge action.

前述預設值的單位與持續發光時間的單位一致。在一些實施例中,持續發光時間的單位為微秒(時間單位),預設值之單位為微秒。在一些實施例中,持續發光時間的單位為時脈次數,預設值之單位為時脈次數。The unit of the aforementioned preset value is consistent with the unit of the continuous light-emitting time. In some embodiments, the unit of the continuous lighting time is microseconds (time unit), and the unit of the preset value is microseconds. In some embodiments, the unit of the continuous light-emitting time is the number of clocks, and the unit of the preset value is the number of clocks.

在前述預設值之決定,可依據無源光網路之上行傳輸的單位時隙長度來設定,以光網路裝置10A~10C之一發光傳輸準則(例如通訊協定G.984.3)為例,該準則規範單一光網路裝置上行傳輸時隙的時間長度,前述預設值即可設定為大於或等於該時隙的時間長度。若以時脈次數為預設值的單位,預設值可以是該時隙的時間長度除以該時脈頻率CLK的時間長度所得的時脈次數(可採無條件進位法)。在一些實施例中,預設值可依使用者來自定義。在一些實施例中,預設值可儲存於儲存裝置,其中,儲存裝置可設置於控制電路30、光網路裝置10A~10C、或是外部連接之裝置。The determination of the aforementioned default value can be set according to the length of the unit time slot of the upstream transmission of the passive optical network. Take a light-emitting transmission criterion (such as the communication protocol G.984.3) of the optical network devices 10A-10C as an example. This criterion regulates the time length of the uplink transmission time slot of a single optical network device, and the aforementioned preset value can be set to be greater than or equal to the time length of the time slot. If the number of clocks is the unit of the preset value, the preset value can be the number of clocks obtained by dividing the time length of the time slot by the time length of the clock frequency CLK (unconditional carry method can be adopted). In some embodiments, the default value can be customized by the user. In some embodiments, the default value may be stored in a storage device, where the storage device may be provided in the control circuit 30, the optical network devices 10A-10C, or an externally connected device.

參照圖3及圖4,圖3繪示,依據一些實施例,狀態訊號SD及中斷訊號的示意圖。圖4繪示,依據一些實施例,控制電路30之方塊示意圖。控制電路30包含一中斷電路33以及一處理器35。中斷電路33接收狀態訊號SD,當狀態訊號SD從不發光狀態轉為發光狀態時,中斷電路33產生一發光中斷訊號SH,當狀態訊號SD從發光狀態轉為不發光狀態時,中斷電路33產生一不發光中斷訊號SL。處理器35依據發光中斷訊號SH開始累計持續發光時間,並依據不發光中斷訊號SL停止累計持續發光時間。當持續發光時間大於預設值時,處理器35停止光收發電路20輸出光訊號TX。舉例來說,當狀態訊號SD從低位準轉為高位準時,中斷電路33啟動一上升緣觸發動作,並產生發光中斷訊號SH,當狀態訊號SD從高位準轉為低位準時,中斷電路33啟動一下降緣觸發動作,並產生不發光中斷訊號SL。處理器35依據發光中斷訊號SH啟動中斷服務程序,開始累計持續發光時間,並依據不發光中斷訊號SL啟動中斷服務程序,停止累計持續發光時間。在此,處理器35停止光收發電路20輸出光訊號TX意即處理器35發送禁能訊號予光收發電路20(即處理器35將連接光收發電路20的致能端BEN改為禁能),光收發電路20在無致能訊號(或收到禁能訊號)時,即停止發出光訊號TX。3 and 4, FIG. 3 shows a schematic diagram of the status signal SD and the interrupt signal according to some embodiments. FIG. 4 shows a block diagram of the control circuit 30 according to some embodiments. The control circuit 30 includes an interrupt circuit 33 and a processor 35. The interrupt circuit 33 receives the status signal SD. When the status signal SD changes from the non-lighting state to the light-emitting state, the interrupt circuit 33 generates a light-emitting interrupt signal SH. When the state signal SD changes from the light-emitting state to the non-light-emitting state, the interrupt circuit 33 generates A non-lighting interrupt signal SL. The processor 35 starts to accumulate the continuous light-emitting time according to the light-emitting interrupt signal SH, and stops accumulating the continuous light-emitting time according to the non-light-emitting interrupt signal SL. When the continuous lighting time is greater than the preset value, the processor 35 stops the optical transceiver circuit 20 to output the optical signal TX. For example, when the status signal SD changes from a low level to a high level, the interrupt circuit 33 initiates a rising edge trigger action and generates a light-emitting interrupt signal SH. When the status signal SD changes from a high level to a low level, the interrupt circuit 33 activates a The falling edge triggers the action and generates the non-lighting interrupt signal SL. The processor 35 starts the interrupt service program according to the light-emitting interrupt signal SH, and starts to accumulate the continuous light-emitting time, and starts the interrupt service program according to the non-light-emitting interrupt signal SL to stop the accumulated continuous light-emitting time. Here, the processor 35 stops the optical transceiver circuit 20 from outputting the optical signal TX, which means that the processor 35 sends a disable signal to the optical transceiver circuit 20 (that is, the processor 35 changes the enable terminal BEN connected to the optical transceiver circuit 20 to disable) , The optical transceiver circuit 20 stops emitting the optical signal TX when there is no enable signal (or a disable signal is received).

在一些實施例中,處理器35之中斷服務程序可判斷接收之中斷訊號為發光中斷訊號SH或是不發光中斷訊號SL以做對應的動作。在一些實施例中,由於發光狀態可為低位準,不發光狀態可為高位準,因此發光中斷訊號SH可為中斷電路33啟動下降緣觸發動作所產生,不發光中斷訊號SL可為中斷電路33啟動上升緣觸發動作所產生。In some embodiments, the interrupt service routine of the processor 35 can determine whether the received interrupt signal is the light-emitting interrupt signal SH or the non-light-emitting interrupt signal SL to perform corresponding actions. In some embodiments, since the light-emitting state can be a low level, and the non-light-emitting state can be a high level, the light-emitting interrupt signal SH can be generated by the interrupt circuit 33 starting the falling edge trigger action, and the non-light-emitting interrupt signal SL can be the interrupt circuit 33. It is generated by starting the rising edge trigger action.

在一些實施例中,中斷電路33例如但不限於輸出入接腳(GPIO,General purpose input output)中斷電路等等。在一些實施例中,中斷訊號之輸出接腳可為同一隻,例如輸出發光中斷訊號SH之接腳與輸出不發光中斷訊號SL之接腳為同一隻。In some embodiments, the interrupt circuit 33 is, for example, but not limited to, an GPIO (General purpose input output) interrupt circuit and so on. In some embodiments, the output pin of the interrupt signal may be the same, for example, the pin outputting the light-emitting interrupt signal SH and the pin outputting the non-light-emitting interrupt signal SL are the same.

在一些實施例中,控制電路30在狀態訊號SD從不發光狀態轉為發光狀態時,開始累計持續發光時間,當持續發光時間大於預設值時,控制電路30停止光收發電路20輸出光訊號TX,並停止累計持續發光時間。舉例來說,控制電路30包含一比較器以及一儲存裝置,儲存裝置存有該預設值,控制電路30累計持續發光時間,並利用比較器比較持續發光時間與該預設值,若持續發光時間大於該預設值,則控制電路30停止光收發電路20輸出光訊號TX,並停止累計持續發光時間。在此,由於開始累計持續發光時間之運作方式已於前述說明,在此不再重複贅述。In some embodiments, the control circuit 30 starts to accumulate the continuous lighting time when the status signal SD changes from the non-lighting state to the lighting state, and when the continuous lighting time is greater than the preset value, the control circuit 30 stops the optical transceiver circuit 20 from outputting the optical signal TX, and stop accumulating continuous lighting time. For example, the control circuit 30 includes a comparator and a storage device. The storage device stores the preset value. The control circuit 30 accumulates the continuous light-emitting time and compares the continuous light-emitting time with the preset value by using the comparator. When the time is greater than the preset value, the control circuit 30 stops the optical transceiver circuit 20 from outputting the optical signal TX, and stops accumulating the continuous lighting time. Here, since the operation method of starting to accumulate the continuous light-emitting time has been described above, it will not be repeated here.

在一些實施例中,控制電路30包含一計數器31。計數器31在狀態訊號SD從不發光狀態轉為發光狀態時,開始計數持續發光時間,當持續發光時間大於預設值時,控制電路30停止光收發電路20輸出光訊號TX,計數器31停止計數持續發光時間。舉例來說,控制電路30包含一比較器、計數器以及一儲存裝置,儲存裝置存有該預設值,計數器31計數持續發光時間,並利用比較器比較持續發光時間與該預設值,若持續發光時間大於該預設值,則控制電路30停止光收發電路20輸出光訊號TX,計數器31停止遞增計次。在此,由於開始計數持續發光時間之運作方式已於前述說明,在此不再重複贅述。In some embodiments, the control circuit 30 includes a counter 31. The counter 31 starts to count the continuous light-emitting time when the status signal SD changes from the non-lighting state to the light-emitting state. When the continuous light-emitting time is greater than the preset value, the control circuit 30 stops the optical transceiver circuit 20 from outputting the optical signal TX, and the counter 31 stops counting and continues. Glow time. For example, the control circuit 30 includes a comparator, a counter, and a storage device. The storage device stores the preset value. The counter 31 counts the continuous light-emitting time and compares the continuous light-emitting time with the preset value by using the comparator. When the light-emitting time is greater than the preset value, the control circuit 30 stops the optical transceiver circuit 20 from outputting the optical signal TX, and the counter 31 stops incrementing. Here, since the operation method of starting to count the continuous light-emitting time has been described above, it will not be repeated here.

參照圖3及圖5,圖5繪示,依據一些實施例,控制電路30之方塊示意圖。在一些實施例中,控制電路30包含一中斷電路33以及一處理器35。中斷電路33接收狀態訊號SD,當狀態訊號SD從不發光狀態轉為發光狀態時,中斷電路33產生發光中斷訊號SH。處理器35依據發光中斷訊號SH開始累計持續發光時間,當持續發光時間大於預設值時,處理器35停止光收發電路20輸出光訊號TX,並停止累計持續發光時間。舉例來說,當狀態訊號SD從低位準轉為高位準時,中斷電路33啟動上緣觸發動作,並產生發光中斷訊號SH。處理器35依據發光中斷訊號SH啟動中斷服務程序,並開始累計持續發光時間,當持續發光時間大於預設值時,處理器35停止光收發電路20輸出光訊號TX,並停止累計持續發光時間。3 and FIG. 5, FIG. 5 shows a block diagram of the control circuit 30 according to some embodiments. In some embodiments, the control circuit 30 includes an interrupt circuit 33 and a processor 35. The interrupt circuit 33 receives the status signal SD, and when the status signal SD changes from the non-light-emitting state to the light-emitting state, the interrupt circuit 33 generates a light-emitting interrupt signal SH. The processor 35 starts to accumulate the continuous light-emitting time according to the light-emitting interrupt signal SH. When the continuous light-emitting time is greater than the preset value, the processor 35 stops the optical transceiver circuit 20 to output the light signal TX, and stops accumulating the continuous light-emitting time. For example, when the status signal SD changes from a low level to a high level, the interrupt circuit 33 initiates an upper edge trigger action and generates a light-emitting interrupt signal SH. The processor 35 starts the interrupt service program according to the light-emitting interrupt signal SH and starts to accumulate the continuous light-emitting time. When the continuous light-emitting time is greater than the preset value, the processor 35 stops the optical transceiver circuit 20 to output the optical signal TX and stops the accumulated continuous light-emitting time.

參照圖6,圖6繪示,依據一些實施例,控制電路30之方塊示意圖。在一些實施例中,計數器31依據控制電路30之一時脈頻率來計數。舉例來說,控制電路30包含一石英震盪器37以及一計數器31,計數器31接收石英震盪器37的時脈頻率CLK,並依據時脈頻率CLK的週期來計數,例如每經過一週期時,計數器31即遞增一次計次。Referring to FIG. 6, FIG. 6 shows a block diagram of the control circuit 30 according to some embodiments. In some embodiments, the counter 31 counts according to a clock frequency of the control circuit 30. For example, the control circuit 30 includes a quartz oscillator 37 and a counter 31. The counter 31 receives the clock frequency CLK of the quartz oscillator 37 and counts according to the period of the clock frequency CLK. For example, the counter 31 31 is incremented once.

在一些實施例中,當持續輸出發光時間大於預設值時,控制電路30輸出一終止訊號,光收發電路20依據終止訊號停止輸出光訊號TX。舉例來說,控制電路30包含一比較器以及一儲存裝置,控制電路30經由匯流排電性連接光收發電路20,儲存裝置存有預設值,比較器接收持續發光時間,並比較持續發光時間是否大於預設值,若持續發光時間大於預設值,則控制電路30經由匯流排輸出終止訊號至光收發電路20,光收發電路20依據終止訊號停止輸出光訊號TX。在一些實施例中,光收發電路20可藉由依據終止訊號切斷供應其運作之電源來停止輸出光訊號TX。In some embodiments, when the continuous output light emission time is greater than the preset value, the control circuit 30 outputs a termination signal, and the optical transceiver circuit 20 stops outputting the optical signal TX according to the termination signal. For example, the control circuit 30 includes a comparator and a storage device. The control circuit 30 is electrically connected to the optical transceiver circuit 20 via a bus. The storage device stores a preset value. The comparator receives the continuous light-emitting time and compares the continuous light-emitting time. Whether it is greater than the preset value, if the continuous lighting time is greater than the preset value, the control circuit 30 outputs a termination signal to the optical transceiver circuit 20 via the bus, and the optical transceiver circuit 20 stops outputting the optical signal TX according to the termination signal. In some embodiments, the optical transceiver circuit 20 can stop outputting the optical signal TX by cutting off the power supply for its operation according to the termination signal.

參照圖7,圖7繪示,依據一些實施例,光網路裝置10A~10C偵測異常發光的流程圖。首先光收發電路20自光連結終端40接收發送訊號 RX(步驟S701),使光網路裝置10A~10C獲得可輸出光訊號TX的時隙。接著執行步驟S703。Referring to FIG. 7, FIG. 7 shows a flowchart of detecting abnormal light emission of the optical network devices 10A-10C according to some embodiments. First, the optical transceiver circuit 20 receives the transmission signal RX from the optical link terminal 40 (step S701), so that the optical network devices 10A-10C obtain time slots that can output the optical signal TX. Then, step S703 is executed.

在步驟S703中,控制電路30依據發送訊號RX致能光收發電路20,使光收發電路20輸出光訊號TX。舉例來說,控制電路30依據發送訊號RX獲得可輸出光訊號TX的時隙,並在為可輸出光訊號TX的時隙時致能光收發電路20,使光收發電路20輸出光訊號TX。接著執行步驟S705。In step S703, the control circuit 30 enables the optical transceiver circuit 20 according to the transmission signal RX, so that the optical transceiver circuit 20 outputs the optical signal TX. For example, the control circuit 30 obtains the time slot capable of outputting the optical signal TX according to the transmission signal RX, and when it is the time slot capable of outputting the optical signal TX, enables the optical transceiver circuit 20 so that the optical transceiver circuit 20 outputs the optical signal TX. Then, step S705 is executed.

在步驟S705中,光收發電路20依據是否輸出光訊號TX而輸出狀態訊號SD。在此,狀態訊號SD已於前述說明,在此不再重複贅述。接著執行步驟S707。In step S705, the optical transceiver circuit 20 outputs the status signal SD according to whether to output the optical signal TX. Here, the status signal SD has been described above, and will not be repeated here. Then, step S707 is executed.

在步驟S707中,控制電路30判斷狀態訊號SD為自不發光狀態轉為發光狀態或是自發光狀態轉為不發光狀態,若為自不發光狀態轉為發光狀態,執行步驟S710;若為自發光狀態轉為不發光狀態,則執行步驟S720。In step S707, the control circuit 30 determines that the state signal SD is from the non-light-emitting state to the light-emitting state or from the self-light-emitting state to the non-light-emitting state. When the light-emitting state is changed to the non-light-emitting state, step S720 is executed.

在步驟S710中,控制電路30開始累計持續發光時間。在此持續發光時間為光收發電路20持續輸出光訊號TX的時間。接著執行步驟S711。In step S710, the control circuit 30 starts to accumulate the continuous light-emitting time. Here, the continuous light-emitting time is the time during which the optical transceiver circuit 20 continues to output the optical signal TX. Then, step S711 is executed.

在步驟S711中,控制電路30判斷持續發光時間是否大於預設值,若持續發光時間大於預設值,執行步驟S713,控制電路30停止光收發電路20輸出光訊號TX;若持續發光時間不大於預設值(意及小於或等於預設值),則執行步驟S715,控制電路30繼續累計持續發光時間,並接著執行步驟S711及重複其後續步驟。In step S711, the control circuit 30 determines whether the continuous light-emitting time is greater than the preset value, and if the continuous light-emitting time is greater than the preset value, step S713 is executed, and the control circuit 30 stops the optical transceiver circuit 20 to output the optical signal TX; if the continuous light-emitting time is not greater than For the preset value (meaning and less than or equal to the preset value), step S715 is executed, and the control circuit 30 continues to accumulate the continuous lighting time, and then executes step S711 and repeats the subsequent steps.

在步驟S720中,控制電路30停止累計持續發光時間。In step S720, the control circuit 30 stops accumulating the continuous light emission time.

參照圖8,圖8繪示,依據一些實施例,光網路裝置10A~10C偵測異常發光的流程圖。當執行完步驟S705後執行步驟S730。在步驟S730中,控制電路30判斷狀態訊號SD是否為自不發光狀態轉為發光狀態,若狀態訊號SD為自不發光狀態轉為發光狀態,執行步驟S710。執行完步驟S710後,執行步驟S711。Referring to FIG. 8, FIG. 8 illustrates a flowchart of detecting abnormal light emission of the optical network devices 10A-10C according to some embodiments. Step S730 is executed after step S705 is executed. In step S730, the control circuit 30 determines whether the state signal SD is turned from the non-light-emitting state to the light-emitting state, and if the state signal SD is turned from the non-light-emitting state to the light-emitting state, step S710 is executed. After step S710 is executed, step S711 is executed.

在步驟S711中,控制電路30判斷持續發光時間是否大於預設值,若持續發光時間大於預設值,執行步驟S731,控制電路30停止光收發電路20輸出光訊號TX,並停止累計持續發光時間;若持續發光時間不大於預設值(意及小於或等於預設值),則執行步驟S715及重複其後續步驟。在此,由於步驟S701~S705、S710、S715已於前述說明,在此不再重複贅述。In step S711, the control circuit 30 determines whether the continuous light emission time is greater than the preset value. If the continuous light emission time is greater than the preset value, step S731 is executed. The control circuit 30 stops the optical transceiver circuit 20 from outputting the optical signal TX and stops accumulating the continuous light emission time. ; If the continuous lighting time is not greater than the preset value (meaning and less than or equal to the preset value), perform step S715 and repeat its subsequent steps. Here, since steps S701 to S705, S710, and S715 have been described above, they will not be repeated here.

因此,依據一些實施例,當光收發電路依據是否輸出光訊號而輸出狀態訊號,控制電路依據狀態訊號累計持續發光時間,當持續發光時間大於一預設值時,代表光網路裝置在不應發光的時間裡發光,即光網路裝置處於異常發光狀態,控制電路停止光收發電路輸出光訊號,從而讓光網路裝置停止干擾其他光網路裝置,降低影響整個光網路傳輸的運作。Therefore, according to some embodiments, when the optical transceiver circuit outputs the status signal according to whether or not the optical signal is output, the control circuit accumulates the continuous light-emitting time according to the status signal. When the continuous light-emitting time is greater than a preset value, it means that the optical network device is not Lights during the light-emitting time, that is, the optical network device is in an abnormal light-emitting state, and the control circuit stops the optical transceiver circuit from outputting optical signals, so that the optical network device stops interfering with other optical network devices and reduces the influence on the operation of the entire optical network transmission.

10A~10C:光網路裝置 20:光收發電路 30:控制電路 31:計數器 33:中斷電路 35:處理器 37:石英震盪器 40:光連結終端 50:主光纖 51A~51C:子光纖 60A~60C:使用者終端設備 RX:發送訊號 TX:光訊號 SD:狀態訊號 SH:發光中斷訊號 SL:不發光中斷訊號 BEN:致能端 CLK:時脈頻率 S701~S715,S720,S730~S731:步驟10A~10C: Optical network device 20: Optical transceiver circuit 30: Control circuit 31: counter 33: Interrupt circuit 35: processor 37: Quartz oscillator 40: Optical Link Terminal 50: main fiber 51A~51C: Sub fiber 60A~60C: User terminal equipment RX: Send signal TX: Optical signal SD: Status signal SH: Luminous interrupt signal SL: no light interruption signal BEN: enabling end CLK: clock frequency S701~S715, S720, S730~S731: steps

圖1繪示,依據一些實施例,具有異常發光檢測的光網路裝置之方塊示意圖; 圖2繪示,依據一些實施例,控制電路的方塊示意圖; 圖3繪示,依據一些實施例,狀態訊號及中斷訊號的示意圖; 圖4繪示,依據一些實施例,控制電路之方塊示意圖; 圖5繪示,依據一些實施例,控制電路之方塊示意圖; 圖6繪示,依據一些實施例,控制電路之方塊示意圖; 圖7繪示,依據一些實施例,光網路裝置偵測異常發光的流程圖;及 圖8繪示,依據一些實施例,光網路裝置偵測異常發光的流程圖。FIG. 1 shows a block diagram of an optical network device with abnormal light emission detection according to some embodiments; Figure 2 shows a block diagram of a control circuit according to some embodiments; FIG. 3 shows a schematic diagram of status signals and interrupt signals according to some embodiments; Figure 4 shows, according to some embodiments, a block diagram of the control circuit; Figure 5 shows, according to some embodiments, a block diagram of the control circuit; FIG. 6 shows, according to some embodiments, a block diagram of the control circuit; FIG. 7 shows a flowchart of detecting abnormal light emission by an optical network device according to some embodiments; and FIG. 8 shows a flowchart of detecting abnormal light emission by the optical network device according to some embodiments.

10A~10C:光網路裝置10A~10C: Optical network device

20:光收發電路20: Optical transceiver circuit

30:控制電路30: Control circuit

40:光連結終端40: Optical Link Terminal

50:主光纖50: main fiber

51A~51C:子光纖51A~51C: Sub fiber

60A~60C:使用者終端設備60A~60C: User terminal equipment

RX:發送訊號RX: Send signal

TX:光訊號TX: Optical signal

SD:狀態訊號SD: Status signal

BEN:致能端BEN: enabling end

Claims (10)

具有異常發光檢測的光網路裝置,包含: 一光收發電路,接收一發送訊號;以及 一控制電路,依據該發送訊號致能該光收發電路,使該光收發電路輸出一光訊號; 其中,該光收發電路依據是否輸出該光訊號而輸出一狀態訊號,該控制電路依據該狀態訊號累計一持續發光時間,當該持續發光時間大於一預設值時,該控制電路停止該光收發電路輸出該光訊號。Optical network device with abnormal luminescence detection, including: An optical transceiver circuit that receives and transmits signals; and A control circuit, enabling the optical transceiver circuit according to the transmission signal, so that the optical transceiver circuit outputs an optical signal; Wherein, the optical transceiver circuit outputs a status signal according to whether to output the optical signal, the control circuit accumulates a continuous lighting time according to the status signal, and when the continuous lighting time is greater than a preset value, the control circuit stops the optical transceiver The circuit outputs the optical signal. 如請求項1所述之具有異常發光檢測的光網路裝置,其中該控制電路在該狀態訊號從一不發光狀態轉為一發光狀態時,開始累計該持續發光時間,該控制電路在該狀態訊號從該發光狀態轉為該不發光狀態時,停止累計該持續發光時間。The optical network device with abnormal lighting detection according to claim 1, wherein the control circuit starts to accumulate the continuous lighting time when the status signal changes from a non-lighting state to a light-emitting state, and the control circuit is in the state When the signal changes from the light-emitting state to the non-light-emitting state, stop accumulating the continuous light-emitting time. 如請求項2所述之具有異常發光檢測的光網路裝置,該控制電路包含一計數器,其中該計數器在該狀態訊號從該不發光狀態轉為該發光狀態時,開始計數該持續發光時間,該計數器在該狀態訊號從該發光狀態轉為該不發光狀態時,停止計數該持續發光時間。According to the optical network device with abnormal light emission detection according to claim 2, the control circuit includes a counter, wherein the counter starts to count the continuous light-emitting time when the state signal changes from the non-light-emitting state to the light-emitting state, The counter stops counting the continuous light-emitting time when the state signal changes from the light-emitting state to the non-light-emitting state. 如請求項1所述之具有異常發光檢測的光網路裝置,該控制電路包含: 一中斷電路,接收該狀態訊號,當該狀態訊號從一不發光狀態轉為一發光狀態時,該中斷電路產生一發光中斷訊號,當該狀態訊號從該發光狀態轉為該不發光狀態時,該中斷電路產生一不發光中斷訊號;以及 一處理器,依據該發光中斷訊號開始累計該持續發光時間,並依據該不發光中斷訊號停止累計該持續發光時間,其中,當該持續發光時間大於該預設值時,該處理器停止該光收發電路輸出該光訊號。According to claim 1, the optical network device with abnormal light emission detection, the control circuit includes: An interrupt circuit receives the status signal. When the status signal changes from a non-lighting state to a light-emitting state, the interrupt circuit generates a light-emitting interrupt signal. When the state signal changes from the light-emitting state to the non-light-emitting state, The interrupt circuit generates a non-luminous interrupt signal; and A processor starts accumulating the continuous light-emitting time according to the light-emitting interruption signal, and stops accumulating the continuous light-emitting time according to the non-light-emitting interrupt signal, wherein, when the continuous light-emitting time is greater than the preset value, the processor stops the light The transceiver circuit outputs the optical signal. 如請求項1所述之具有異常發光檢測的光網路裝置,其中該控制電路在該狀態訊號從一不發光狀態轉為一發光狀態時,開始累計該持續發光時間,當該持續發光時間大於該預設值時,該控制電路停止該光收發電路輸出該光訊號,並停止累計該持續發光時間。The optical network device with abnormal light emission detection according to claim 1, wherein the control circuit starts to accumulate the continuous light-emitting time when the state signal changes from a non-light-emitting state to a light-emitting state, and when the continuous light-emitting time is greater than At the preset value, the control circuit stops the optical transceiver circuit from outputting the optical signal, and stops accumulating the continuous light-emitting time. 如請求項5所述之具有異常發光檢測的光網路裝置,該控制電路包含一計數器,其中該計數器在該狀態訊號從該不發光狀態轉為該發光狀態時,開始計數該持續發光時間,當該持續發光時間大於該預設值時,該控制電路停止該光收發電路輸出該光訊號,該計數器停止計數該持續發光時間。According to the optical network device with abnormal light emission detection according to claim 5, the control circuit includes a counter, wherein the counter starts to count the continuous light-emitting time when the state signal changes from the non-light-emitting state to the light-emitting state, When the continuous light-emitting time is greater than the preset value, the control circuit stops the optical transceiver circuit to output the optical signal, and the counter stops counting the continuous light-emitting time. 如請求項1所述之具有異常發光檢測的光網路裝置,該控制電路包含: 一中斷電路,接收該狀態訊號,當該狀態訊號從一不發光狀態轉為一發光狀態時,該中斷電路產生一發光中斷訊號;以及 一處理器,依據該發光中斷訊號開始累計該持續發光時間,當該持續發光時間大於該預設值時,該處理器停止該光收發電路輸出該光訊號,並停止累計該持續發光時間。According to claim 1, the optical network device with abnormal light emission detection, the control circuit includes: An interrupt circuit receives the status signal, and when the status signal changes from a non-light-emitting state to a light-emitting state, the interrupt circuit generates a light-emitting interrupt signal; and A processor starts accumulating the continuous light-emitting time according to the light-emitting interruption signal, and when the continuous light-emitting time is greater than the preset value, the processor stops the optical transceiver circuit to output the light signal, and stops accumulating the continuous light-emitting time. 如請求項3或6中任一項所述之具有異常發光檢測的光網路裝置,其中,該計數器依據該控制電路之一時脈頻率來計數。The optical network device with abnormal light emission detection according to any one of claim 3 or 6, wherein the counter counts according to a clock frequency of the control circuit. 如請求項1至7中任一項所述之具有異常發光檢測的光網路裝置,其中,當該持續輸出發光時間大於該預設值時,該控制電路不致能該光收發電路,使該光收發電路停止輸出該光訊號。The optical network device with abnormal luminescence detection according to any one of claims 1 to 7, wherein, when the continuous output luminescence time is greater than the preset value, the control circuit does not enable the optical transceiver circuit to cause the The optical transceiver circuit stops outputting the optical signal. 如請求項1至7中任一項所述之具有異常發光檢測的光網路裝置,其中,當該持續輸出發光時間大於該預設值時,該控制電路輸出一終止訊號,該光收發電路依據該終止訊號停止輸出該光訊號。The optical network device with abnormal light emission detection according to any one of claims 1 to 7, wherein, when the continuous output light emission time is greater than the preset value, the control circuit outputs a termination signal, and the optical transceiver circuit The output of the optical signal is stopped according to the termination signal.
TW109108503A 2020-02-24 2020-03-13 Optical network device with abnormal light emission detection TWI788639B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010111286.6A CN113301456B (en) 2020-02-24 2020-02-24 Optical network device with abnormal luminescence detection
CN202010111286.6 2020-02-24

Publications (2)

Publication Number Publication Date
TW202133575A true TW202133575A (en) 2021-09-01
TWI788639B TWI788639B (en) 2023-01-01

Family

ID=77317782

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109108503A TWI788639B (en) 2020-02-24 2020-03-13 Optical network device with abnormal light emission detection

Country Status (3)

Country Link
US (1) US11101886B1 (en)
CN (1) CN113301456B (en)
TW (1) TWI788639B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022082072A (en) * 2020-11-20 2022-06-01 三菱電機株式会社 Optical communication device

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2348121A1 (en) * 2000-05-30 2001-11-30 Nortel Networks Limited Optical switch with connection verification
US7818648B2 (en) * 2005-12-18 2010-10-19 Pmc-Sierra Israel Ltd. GPON rogue-ONU detection based on error counts
CN100536381C (en) * 2005-12-23 2009-09-02 华为技术有限公司 Passive light network maintenance method and light network unit and light circuit terminal
CN101127566A (en) * 2006-08-16 2008-02-20 华为技术有限公司 Uplink time slot confliction detection method and optical line terminal in passive optical network
KR100762605B1 (en) * 2006-08-17 2007-10-01 삼성전자주식회사 Method and optical network unit for ethernet passive optical network
US8442398B2 (en) * 2008-10-21 2013-05-14 Broadcom Corporation Performance monitoring in passive optical networks
US8249446B2 (en) * 2009-08-07 2012-08-21 Alcatel Lucent Method and apparatus for regulating rogue behavior in optical network transmission devices
CN101710847A (en) 2009-12-09 2010-05-19 中兴通讯股份有限公司 Failure detection and control method of optical network unit and optical network unit
EP2552057B1 (en) * 2010-03-24 2021-11-03 Mitsubishi Electric Corporation Communication method, optical communication system, optical line terminal, and optical network unit
CN102142897B (en) * 2011-03-29 2014-08-20 华为技术有限公司 Detection method and device of ONU (optical network unit) as well as passive optical network system
CN103312409B (en) * 2012-03-06 2016-08-03 中兴通讯股份有限公司 The method and device that a kind of optical module detecting optical node is abnormal luminous
CN104205739A (en) * 2012-03-22 2014-12-10 三菱电机株式会社 PON system, OLT, and ONU
CN102916742B (en) 2012-11-06 2015-05-13 烽火通信科技股份有限公司 Method and device for detecting and closing constant light-emitting optical network unit
CN104904140B (en) * 2013-12-25 2017-04-19 华为海洋网络有限公司 Optical branching unit for optical add drop multiplexing
CN104852764A (en) * 2015-06-02 2015-08-19 上海斐讯数据通信技术有限公司 System and method for detecting ONT abnormal luminescence with OLT in PON system
TWI600285B (en) * 2015-07-22 2017-09-21 鴻海精密工業股份有限公司 Optical network unit and method for detecting emitting light over-time thereof
CN105227234B (en) 2015-11-03 2018-04-20 云南电网有限责任公司电力科学研究院 A kind of detection method for growing luminous faulted ONU
CN109547100B (en) * 2018-12-05 2021-07-20 广州芯德通信科技股份有限公司 Optical power enhancing device and method for forcibly closing abnormal optical fiber terminal

Also Published As

Publication number Publication date
US11101886B1 (en) 2021-08-24
CN113301456A (en) 2021-08-24
CN113301456B (en) 2024-04-12
TWI788639B (en) 2023-01-01
US20210266064A1 (en) 2021-08-26

Similar Documents

Publication Publication Date Title
US8467684B2 (en) Apparatus of adjusting optical signal transmission timing
CN102209281B (en) 10G EPON OLT (Ethernet passive optical network optical line terminal) single-fiber three-dimensional optical module
WO2011069386A1 (en) Optical network unit and method for detecting and controlling fault thereof
US20130202300A1 (en) Optical line terminal (olt) optical module adapted to perform optical unit network (onu) functionality
US20140119396A1 (en) Efficient Power Control for an Automatic Laser Driver
EP3054610A1 (en) Optical signal processing method, optical module and optical line terminal
US20050191053A1 (en) Modular optical device with mixed signal interface
CN105301712A (en) BOSA device with power control function
TWI788639B (en) Optical network device with abnormal light emission detection
CN113545007A (en) Power saving mechanism for high speed passive optical networks
JP2007104571A (en) Optical line terminal and optical network unit in optical communication system
US20050025502A1 (en) Modular optical device that interfaces with an external controller
CN102843181A (en) Device and method for long light-emitting protection of passive optical network
JP7207013B2 (en) Optical transceiver control method and optical transceiver
US9065571B2 (en) Modular controller that interfaces with modular optical device
KR102354267B1 (en) Electronic device and method for tuning wavelength in optical network
TWI506970B (en) Optical network terminal network device and method for adjusting optical signal power
JP5455614B2 (en) Communication system, master station device and slave station device
US10951319B1 (en) Method of performing dynamic power optimization in fiber-optic communication system and related fiber-optic communication system
CN103326790A (en) Optical transmitter capable of automatically controlling power
CN102281101B (en) Method and device for timely monitoring and maintaining emission light power in burst mode
US8463139B2 (en) Transmitter disabling device
CN102324970A (en) Monitoring device and method for working state of ONU (Optical Network Unit) transmitting end
CN202906913U (en) Optical network unit optical module and its laser emission unit
JP5499937B2 (en) PON system, slave station side device, and data transmission method