WO2011069386A1 - Optical network unit and method for detecting and controlling fault thereof - Google Patents

Optical network unit and method for detecting and controlling fault thereof Download PDF

Info

Publication number
WO2011069386A1
WO2011069386A1 PCT/CN2010/077420 CN2010077420W WO2011069386A1 WO 2011069386 A1 WO2011069386 A1 WO 2011069386A1 CN 2010077420 W CN2010077420 W CN 2010077420W WO 2011069386 A1 WO2011069386 A1 WO 2011069386A1
Authority
WO
WIPO (PCT)
Prior art keywords
optical
network unit
optical network
module
power
Prior art date
Application number
PCT/CN2010/077420
Other languages
French (fr)
Chinese (zh)
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 WO2011069386A1 publication Critical patent/WO2011069386A1/en

Links

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/0793Network aspects, e.g. central monitoring of transmission parameters
    • 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/0795Performance monitoring; Measurement of transmission parameters
    • H04B10/07955Monitoring or measuring power

Definitions

  • the present invention relates to a passive optical network, and more particularly to an optical network unit and a method for detecting and controlling the same. Background technique
  • PON Passive Optics Network
  • ADSL asymmetric digital subscriber line
  • PON refers to passive electronic equipment consisting of an optical line terminal (OLT, Optics Line Terminate) as a central office equipment, an optical network unit (ONU, Optic Network Unit) as an end device, and an optical distribution network (ODN, Optics Distribution Network). Equipment system. Passive is one of them.
  • the basic structure of the ONU is shown in Figure 1. It mainly includes the main central processing unit (CPU), optical module and transmission power module.
  • the main CPU is configured to control the optical module to send data in a specific time slot
  • the sending power module is configured to receive control of the main CPU and send power to the optical module.
  • the downlink central office equipment continuously broadcasts and transmits, and the ONU selectively receives; the uplink sub-slot burst sends, and each ONU transmits data only in the time slot allocated by the central office.
  • the central office equipment such as the case of long-lighting, which will inevitably affect the data transmission of other ONUs, affecting normal conditions.
  • the invention provides an optical network unit and a fault detection and control method thereof, which can improve the detection capability of the ONU, and prevent the faulty ONU from affecting other normal working ONUs.
  • the present invention provides a fault detection method for an optical network unit, including: when the optical module has a signal detection (SD, Signal Detection) signal output, the optical power of the optical module is read twice, twice.
  • SD Signal Detection
  • the optical power of the optical network is read, it is determined that the optical network unit is faulty; wherein, the time interval between the two reading operations is a set duration, and the first value range of the set duration is greater than the light.
  • the duration of one illuminating time slot of the network unit is less than the time interval during which the optical network unit illuminates normally twice.
  • the method further includes:
  • the illuminating control signal is a signal that the optical network unit controls the illuminating of the optical module.
  • the method further includes:
  • the optical network unit fails; if the lighting control signal is the same as the lighting indication signal, the failure detection is resumed.
  • the method further includes: determining that the sending power of the optical module is turned on before the outputting the optical power of the optical module is performed twice when the optical module has an SD signal output.
  • the method before the determining that the sending power of the optical module is turned on, the method further includes: determining whether the optical network unit starts the long light detecting function, and if the long light detecting function is activated, determining whether the sending power of the optical module is On; if long illuminating detection is not activated
  • the above method further includes:
  • the transmission power of the optical module is cut off.
  • the present invention provides an optical network unit, including a main CPU and an optical module, where the main CPU is configured to: when determining that the optical module has a signal detection SD signal output, read the optical module twice. Transmitting optical power, when the transmitted optical power can be read twice, determining that the optical network unit is faulty;
  • the time interval between the two read operations is a set duration, and the first value range of the set duration is greater than the duration of one of the optical network slots of the optical network unit and is smaller than the continuous duration of the optical network unit.
  • the time interval between two normal illuminations is a set duration, and the first value range of the set duration is greater than the duration of one of the optical network slots of the optical network unit and is smaller than the continuous duration of the optical network unit.
  • main CPU includes:
  • the transmitting optical power reading module is specifically configured to read the transmitting optical power of the optical module in two times when determining that the optical module has an SD signal output;
  • the fault determining module is specifically configured to determine that the optical network unit is faulty when the transmitted optical power can be read twice.
  • main CPU further includes:
  • a pulse width detecting module configured to detect a pulse width of the light emission control signal when only one transmission optical power is read once or no transmission optical power is read twice;
  • the fault determining module is further configured to: determine whether the pulse width is within a second value range, and determine that the optical network unit is faulty when the pulse width of the light emission control signal is not within the second value range,
  • the second value range is greater than 0 and less than the duration of one illuminating time slot of the optical network unit.
  • the fault determining module is further configured to: determine, when the pulse width of the lighting control signal is within the second value range, whether the lighting control signal is the same as the lighting indication signal sent by the optical module, and determine the location when the two are different The optical network unit has failed.
  • the main CPU includes:
  • the transmitting optical power reading module is specifically configured to read the transmitting optical power of the optical module twice when the optical module has an SD signal output;
  • the control module is configured to cut off the sending power of the optical module when the optical network unit fails.
  • main CPU further includes:
  • a pulse width detecting module configured to detect a pulse width of the illumination control signal when only one transmission optical power is read once or no transmission optical power is read twice;
  • the control module is further configured to: when the pulse width of the illumination control signal is not within the second value range, cutting off the transmission power of the optical module, where the second value range is greater than 0 and less than one illumination time slot of the optical network unit duration.
  • the control module is further configured to: when the pulse width of the illumination control signal is within the second value range, determine whether the illumination control signal is the same as the illumination indication signal sent by the optical module, and cut the optical module when the two are different. Send power.
  • the present invention provides a fault detection and control method for an ONU.
  • the duration of the main CPU in more than one illuminating time slot is less than the time during which the optical network unit normally emits light twice.
  • the optical module is determined to be abnormal, and then the optical network unit is determined to be faulty.
  • the main CPU can also determine whether the optical module is abnormal by detecting the pulse width of the illumination control signal, thereby determining the optical network unit. Whether the fault occurs, and the transmission power of the optical module is cut off when the optical network unit fails, so as not to affect other normal working ONUs;
  • the main CPU can also determine whether the optical network unit is faulty by determining whether the lighting control signal is the same as the lighting indication signal sent by the optical module, and further whether to cut off the transmission power of the optical module. It can be seen that the optical network unit can be improved by the method of the invention.
  • the obstacle detection capability enables effective control of the optical network unit at the same time, so as to prevent the faulty ONU from affecting other normally working ONUs.
  • Figure 1 is a schematic diagram of the basic structure of the ONU
  • FIG. 2 is a schematic flowchart of a method for controlling an ONU according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a time slot for normal ONU of an ONU
  • FIG. 4 is a schematic diagram of a pulse width detection principle of an illumination control signal
  • FIG. 5 is a schematic diagram showing the principle of detecting whether the illumination control signal and the illumination indication signal are the same;
  • FIG. 6 is a schematic diagram of a first optical network unit according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a second optical network unit according to an embodiment of the present invention. detailed description
  • the faulty ONU needs to be controlled so as not to affect other normal working ONUs.
  • FIG. 3 a schematic diagram of a time slot in which an optical network unit is normally illuminated, and a time period in which an optical network unit is normally illuminated when the optical network unit is normally illuminated is t1, and the optical network unit is illuminated during normal operation.
  • the time slot will illuminate, and the duration of the illuminating time slot will not be illuminated.
  • the central office will allocate the illuminating time slot again for the optical network unit, and the optical network unit starts to emit light again; that is, if When the optical network unit works normally, the optical network unit emits light in the (0, tl) time range, does not emit light in the (tl, 12) time range, continues to emit light in the (t2, 13) time range, and so on.
  • the interval time t is set by the interval setting, and when the optical module has the SD signal output, the optical power of the optical network unit is detected twice, and it can be determined whether the optical network unit is faulty, as shown in FIG. 3, the setting duration is set.
  • t must be greater than t1 and less than t2-tl, that is, set the duration
  • the duration of the range is greater than the duration of one illuminating time slot and is less than the time interval of the normal illuminating of the optical network unit twice, so that not only the optical power of the optical module can be read twice in one illuminating time slot, but also It is ensured that the transmitted optical power of the optical module is not read in two consecutive normal time slots.
  • the transmitted optical power of the optical module is read twice in the range of the set duration, the light is indicated.
  • the module is in a long-light state, that is, the optical network unit is faulty.
  • the transmission power of the optical module can be cut off to avoid affecting other optical network units that are working normally.
  • the embodiment of the present invention provides a method for controlling an ONU, where the main CPU of the optical network unit is in a time interval greater than one illuminating time slot and less than a time interval in which the optical network unit continuously emits light twice, if The optical power of the optical module can be read twice, and the abnormality of the optical module is determined, and the sending power of the optical module is cut off;
  • the main CPU can also determine whether the optical module is abnormal by detecting the pulse width of the illumination control signal, and when the optical module is abnormal. Cutting off the transmission power of the optical module; wherein, the illumination control signal is a signal that the optical network unit controls the illumination of the optical module, that is, a signal sent by the main CPU for controlling the illumination of the optical module;
  • the main CPU can also control whether to cut off the transmission power of the optical module by determining whether the illumination control signal is the same as the illumination indication signal sent by the optical module.
  • the illumination indication signal is a signal output by the optical module indicating that it is emitting light.
  • a method for controlling an ONU includes:
  • Step 201 The main CPU determines whether the ONU starts the long-light detection function. If it is started, it performs step 202, otherwise it continues to determine whether the long-light detection function is activated. If it is not activated, it is periodically determined whether the optical network unit starts the long illuminating detection function.
  • the specific fault detection period can be set according to the actual situation.
  • Step 202 The main CPU determines whether the sending power of the optical module is turned on. If yes, step 203 is performed. If not, step 201 is performed;
  • Step 203 The main CPU determines whether the optical module has an SD (Signal Detection) signal output. If there is an SD signal output, step 204 is performed. If no SD signal is output, the process returns directly to step 201;
  • SD Signal Detection
  • the optical module does not have an SD signal output, it indicates that the optical module is not inserted into the optical fiber or the optical fiber is damaged. At this time, the other ONUs are not affected, so there is no need for processing, and the process returns directly to step 201;
  • Step 204 The main CPU reads the transmit optical power of the optical module twice.
  • the time interval between the two read operations is the set duration. If the transmit optical power can be read twice, the optical module is long.
  • the first value range of the set duration is greater than the duration of one of the optical network units of the optical network unit, and is less than the time interval during which the optical network unit normally emits light twice.
  • Step 205 The main CPU detects a pulse width of the illumination control signal.
  • This step mainly acquires the pulse width of the illumination control signal through a multi-bit counter.
  • the multi-bit counter Clearing and starting counting, the multi-bit counter counting ends at the end of the pulse, and then the pulse width of the illumination control signal is obtained by multiplying the count value by the counting clock period;
  • Step 206 Determine whether the pulse width of the illumination control signal is within a second value range. If the pulse width is within the second value range, perform step 207, if the pulse width is not within the second value range. , step 208 is performed; Wherein, when the pulse width of the illumination control signal is not within the second value range, indicating that
  • the ONU is faulty. Therefore, you need to cut off the transmit power of the optical module.
  • the second value range is greater than 0 and less than the length of time that the central office device allocates to one of the optical network slots of the optical network unit. Therefore, when the pulse width of the illumination control signal is not within the second value range, that is, when the pulse width is greater than t1 or 0, this indicates that the control signal is not controlled by the central office device, and thus the ONU is faulty. ;
  • Step 207 The main CPU determines whether the illumination control signal is the same as the illumination indication signal sent by the optical module. If the two are the same, it indicates that the ONU is normal at this time, and returns to step 201 to restart the periodic fault detection; if the illumination indication signal is If the ONU is abnormal, that is, the ONU is faulty, go to step 208;
  • the embodiment may detect whether the illumination control signal and the illumination indication signal are the same through an AND gate circuit, that is, the main CPU sends out The illumination control signal and the illumination indication signal sent by the optical module are input to the same OR gate circuit. If the output is high level, the two are the same; if the low level is output, the two are different;
  • the reverse adjustment may be first performed to make the two are the same, and then whether the two are the same.
  • Step 208 The main CPU cuts off the transmission power of the optical module, and returns to step 201.
  • the embodiment of the present invention further provides a fault detection method for the optical network unit.
  • the step 208 is not necessary, and in step 204, step 206, and step 207, when the optical network unit is detected to be faulty, Can end directly, or return to step 201 to continue Periodic fault detection. In this way, the optical network unit can automatically detect the fault.
  • the optical network unit includes the main CPU and the optical module, and the main CPU is provided in the embodiment of the present invention.
  • the method is: when determining that the optical module has the signal detection SD signal output, reading the transmission optical power of the optical module twice, and when the transmission optical power can be read twice, determining that the optical network unit is faulty;
  • the time interval between the two read operations is a set duration, and the first value range of the set duration is greater than the duration of one of the optical network slots of the optical network unit and is smaller than the continuous duration of the optical network unit.
  • the time interval between two normal illuminations is a set duration, and the first value range of the set duration is greater than the duration of one of the optical network slots of the optical network unit and is smaller than the continuous duration of the optical network unit.
  • the main CPU includes: a transmit optical power reading module 61, configured to read the transmit optical power of the optical module twice in two steps when determining that the optical module has an SD signal output, wherein the read optical power is read twice. The time interval between them is the set time;
  • the fault determining module 62 is configured to determine that the optical network unit is faulty when the transmit optical power can be read twice, and the first value range of the set duration is greater than the duration of one illuminating time slot of the optical network unit. And less than the time interval in which the optical network unit continuously emits light twice.
  • the main CPU further includes:
  • the pulse width detecting module 63 is configured to detect a pulse width of the light emission control signal when only one transmission optical power is read or not, and the light emission control signal is controlled by the optical network unit. The signal that the light module emits light.
  • the fault determining module 62 is further configured to: determine whether the pulse width is within a second value range, and determine that the optical network unit is faulty when the pulse width of the light emission control signal is not within the second value range, and the second value
  • the range is greater than 0 and less than the length of one of the light-emitting time slots of the optical network unit.
  • the fault determining module 62 is further configured to: determine, when the pulse width of the light emission control signal is within the second value range, whether the light emitting control signal and the light emitting indication signal sent by the optical module are Similarly, when it is determined that the illumination control signal is different from the illumination indication signal sent by the optical module, it is determined that the optical network unit is faulty.
  • the embodiment of the present invention further provides an optical network unit that uses the foregoing control method.
  • the optical network unit includes: a main CPU and an optical module; and the main CPU is configured to: When the signal detection SD signal is output, the transmission optical power of the optical module is read twice, and when the transmission optical power can be read twice, it is determined that the optical network unit is faulty;
  • the time interval between the two read operations is a set duration, and the first value range of the set duration is greater than the duration of one of the optical network slots of the optical network unit and is smaller than the continuous duration of the optical network unit.
  • the time interval between two normal illuminations is a set duration, and the first value range of the set duration is greater than the duration of one of the optical network slots of the optical network unit and is smaller than the continuous duration of the optical network unit.
  • the main CPU includes:
  • the transmitting optical power reading module 71 is configured to read the transmitting optical power of the optical module twice when the optical module has the SD signal output, wherein the time interval between the two readings is a set duration;
  • the control module 72 is configured to: when determining that the optical network unit is faulty, cut off the sending power of the optical module, where the first value range of the set duration is greater than a duration of one illuminating time slot of the optical network unit and less than the light The time interval during which the network unit is normally illuminated twice.
  • the main CPU further includes:
  • the pulse width detecting module 73 is configured to detect a pulse width of the light emitting control signal when the optical power is read only once or not, or when the transmitting optical power is not read twice;
  • the control module 72 is further configured to cut off the transmission power of the optical module when the pulse width of the illumination control signal is not within the second value range, where the second value range is greater than 0 and less than the duration of one illumination slot of the optical network unit. .
  • the control module 72 is further configured to: determine, when the pulse width of the illumination control signal is within the second value range, whether the illumination control signal is the same as the illumination indication signal sent by the optical module, and At the same time, the transmission power of the optical module is cut off.

Abstract

The present invention relates to passive optics network (PON), specifically discloses an optical network unit and method for detecting and controlling fault thereof, and improves the fault detection ability of the optical network unit. The method for detecting fault in the optical network unit includes: reading the transmission optical power of an optical module for two times when a signal detection (SD) signal is outputted from the optical module, wherein the interval between the two reading operations is a set time length; judging that a fault occurs in the optical network unit when a transmission optical power value is read at both times, wherein, the value range of the set time length is greater than the time length of a lighting time slot of the optical network unit and less than the interval between two continuous natural lightings of the optical network unit. Furthermore, the present invention can also control the optical network unit by cutting off the transmission power of the optical module. Therefore, the present invention can improve the fault detecting ability of the optical network unit, and avoid impact to other normal optical network units (ONUs) from the faulty ONU by cutting off the transmission power of the optical module.

Description

一种光网络单元及其故障检测和控制方法 技术领域  Optical network unit and fault detection and control method thereof
本发明涉及无源光网络, 特别是涉及一种光网络单元及其故障检测和 控制方法。 背景技术  The present invention relates to a passive optical network, and more particularly to an optical network unit and a method for detecting and controlling the same. Background technique
随着多媒体业务的不断丰富, 对接入网带宽的需求越来越大, 正是在 这种情况下, 无源光网络 ( PON, Passive Optics Network )的应用越来越广, 它可以提供长距离、大带宽的接入,这是传统的非对称数字用户线(ADSL ) 做不到的。  With the continuous enrichment of multimedia services, the demand for access network bandwidth is increasing. It is in this case that passive optical networks (PON, Passive Optics Network) are widely used, which can provide long Distance, large bandwidth access, which is not possible with traditional asymmetric digital subscriber line (ADSL).
PON是指由作为局端设备的光线路终端( OLT , Optics Line Terminate ) 和作为终端设备的光网络单元(ONU, Optics Network Unit )以及光分配网 络( ODN , Optics Distribution Network )组成的无源电子设备系统。 无源是 其中, ONU的基本结构如图 1所示, 主要包括主中央处理器(CPU, Central Processing Unit ), 光模块以及发送电源模块。 其中, 主 CPU用于控 制光模块在特定的时隙发送数据, 发送电源模块用于接受主 CPU的控制, 向光模块发送电源。  PON refers to passive electronic equipment consisting of an optical line terminal (OLT, Optics Line Terminate) as a central office equipment, an optical network unit (ONU, Optic Network Unit) as an end device, and an optical distribution network (ODN, Optics Distribution Network). Equipment system. Passive is one of them. The basic structure of the ONU is shown in Figure 1. It mainly includes the main central processing unit (CPU), optical module and transmission power module. The main CPU is configured to control the optical module to send data in a specific time slot, and the sending power module is configured to receive control of the main CPU and send power to the optical module.
PON网络中, 下行局端设备连续广播发送, ONU选择性接收; 上行分 时隙突发发送, 各个 ONU只在局端分配的时隙发送数据。 但是, 在实际应 用中, 有可能会出现某个或某几个 ONU本身出现故障, 并不受局端设备的 控制, 比如出现长发光的情况, 这样势必会影响其他 ONU的数据传输, 影 响正常的业务。 发明内容 In the PON network, the downlink central office equipment continuously broadcasts and transmits, and the ONU selectively receives; the uplink sub-slot burst sends, and each ONU transmits data only in the time slot allocated by the central office. However, in practical applications, it may happen that one or several ONUs are faulty and are not controlled by the central office equipment, such as the case of long-lighting, which will inevitably affect the data transmission of other ONUs, affecting normal conditions. Business. Summary of the invention
本发明提供一种光网络单元及其故障检测和控制方法,能提高 ONU的 检测能力, 避免出现故障的 ONU影响其他正常工作的 ONU。  The invention provides an optical network unit and a fault detection and control method thereof, which can improve the detection capability of the ONU, and prevent the faulty ONU from affecting other normal working ONUs.
有鉴于此, 本发明提供一种光网络单元的故障检测方法, 包括: 在光模块有信号检测 (SD, Signal Detection )信号输出时, 分两次读 取光模块的发送光功率, 当两次均能读取到发送光功率时, 判定所述光网 络单元出现故障; 其中, 两次读取操作之间的时间间隔为设定时长, 所述 设定时长的第一取值范围是大于光网络单元的一个发光时隙的时长并小于 所述光网络单元连续两次正常发光的时间间隔。  In view of the above, the present invention provides a fault detection method for an optical network unit, including: when the optical module has a signal detection (SD, Signal Detection) signal output, the optical power of the optical module is read twice, twice. When the optical power of the optical network is read, it is determined that the optical network unit is faulty; wherein, the time interval between the two reading operations is a set duration, and the first value range of the set duration is greater than the light. The duration of one illuminating time slot of the network unit is less than the time interval during which the optical network unit illuminates normally twice.
进一步地, 所述方法还包括:  Further, the method further includes:
当只读取到一次发送光功率或者两次均没有读取到发送光功率时, 检 测发光控制信号的脉冲宽度; 当发光控制信号的脉冲宽度不在第二取值范 围内时, 判定所述光网络单元出现故障, 所述第二取值范围是大于 0并小 于光网络单元的一个发光时隙的时长; 其中, 所述发光控制信号为光网络 单元控制光模块发光的信号。  Detecting the pulse width of the illumination control signal when only the transmission optical power is read once or the transmission optical power is not read twice; when the pulse width of the illumination control signal is not within the second value range, determining the light The network unit is faulty, and the second value range is greater than 0 and less than the duration of one illuminating time slot of the optical network unit. The illuminating control signal is a signal that the optical network unit controls the illuminating of the optical module.
上述方法中, 所述方法还包括:  In the above method, the method further includes:
当发光控制信号的脉冲宽度在所述第二取值范围内时, 确定发光控制 信号与光模块发出的发光指示信号是否相同, 如果所述发光控制信号与发 光指示信号不相同, 则判定所述光网络单元出现故障; 如果所述发光控制 信号与发光指示信号相同, 则重新开始进行故障检测。  Determining whether the illumination control signal is the same as the illumination indication signal sent by the optical module when the pulse width of the illumination control signal is within the second value range, and determining if the illumination control signal and the illumination indication signal are not the same The optical network unit fails; if the lighting control signal is the same as the lighting indication signal, the failure detection is resumed.
其中, 所述在光模块有 SD信号输出时, 分两次读取光模块的发送光功 率之前, 还包括: 确定所述光模块的发送电源是开启的。  The method further includes: determining that the sending power of the optical module is turned on before the outputting the optical power of the optical module is performed twice when the optical module has an SD signal output.
上述方法中, 在所述确定光模块的发送电源开启之前, 还包括: 确定所述光网络单元是否启动长发光检测功能, 如果已启动长发光检 测功能, 则判断所述光模块的发送电源是否开启; 如果未启动长发光检测 其中, 上述方法还包括: In the above method, before the determining that the sending power of the optical module is turned on, the method further includes: determining whether the optical network unit starts the long light detecting function, and if the long light detecting function is activated, determining whether the sending power of the optical module is On; if long illuminating detection is not activated The above method further includes:
确定所述光网络单元出现故障时, 切断所述光模块的发送电源。  When it is determined that the optical network unit is faulty, the transmission power of the optical module is cut off.
为实现上述方法, 本发明提供一种光网络单元, 包括主 CPU、 光模块, 其中, 所述主 CPU用于: 在确定光模块有信号检测 SD信号输出时, 分两 次读取光模块的发送光功率, 当两次均能读取到发送光功率时, 判定所述 光网络单元出现故障;  In order to achieve the above method, the present invention provides an optical network unit, including a main CPU and an optical module, where the main CPU is configured to: when determining that the optical module has a signal detection SD signal output, read the optical module twice. Transmitting optical power, when the transmitted optical power can be read twice, determining that the optical network unit is faulty;
其中, 两次读取操作之间的时间间隔为设定时长, 所述设定时长的第 一取值范围是大于所述光网络单元的一个发光时隙的时长并小于所述光网 络单元连续两次正常发光的时间间隔。  The time interval between the two read operations is a set duration, and the first value range of the set duration is greater than the duration of one of the optical network slots of the optical network unit and is smaller than the continuous duration of the optical network unit. The time interval between two normal illuminations.
进一步地, 所述主 CPU包括:  Further, the main CPU includes:
发送光功率读取模块, 具体用于在确定光模块有 SD信号输出时, 分两 次读取光模块的发送光功率;  The transmitting optical power reading module is specifically configured to read the transmitting optical power of the optical module in two times when determining that the optical module has an SD signal output;
故障确定模块, 具体用于当两次均能读取到发送光功率时, 判定所述 光网络单元出现故障。  The fault determining module is specifically configured to determine that the optical network unit is faulty when the transmitted optical power can be read twice.
进一步, 所述主 CPU还包括:  Further, the main CPU further includes:
脉冲宽度检测模块, 用于当只读取到一次发送光功率或者两次均没有 读取到发送光功率时, 检测发光控制信号的脉冲宽度; 以及  a pulse width detecting module, configured to detect a pulse width of the light emission control signal when only one transmission optical power is read once or no transmission optical power is read twice;
故障确定模块, 还用于: 判断所述脉冲宽度是否在第二取值范围内, 当发光控制信号的脉冲宽度不在第二取值范围内时, 判定所述光网络单元 出现故障, 所述第二取值范围是大于 0并小于光网络单元的一个发光时隙 的时长。  The fault determining module is further configured to: determine whether the pulse width is within a second value range, and determine that the optical network unit is faulty when the pulse width of the light emission control signal is not within the second value range, The second value range is greater than 0 and less than the duration of one illuminating time slot of the optical network unit.
进一步地, 故障确定模块还用于: 当发光控制信号的脉冲宽度在第二 取值范围内时, 判断发光控制信号与光模块发出的发光指示信号是否相同, 并在二者不相同时判定所述光网络单元出现故障。 上述光网络单元中, 所述主 CPU包括: Further, the fault determining module is further configured to: determine, when the pulse width of the lighting control signal is within the second value range, whether the lighting control signal is the same as the lighting indication signal sent by the optical module, and determine the location when the two are different The optical network unit has failed. In the above optical network unit, the main CPU includes:
发送光功率读取模块, 具体用于在光模块有 SD信号输出时, 分两次读 取光模块的发送光功率;  The transmitting optical power reading module is specifically configured to read the transmitting optical power of the optical module twice when the optical module has an SD signal output;
控制模块, 用于判定所述光网络单元出现故障时, 切断光模块的发送 电源。  The control module is configured to cut off the sending power of the optical module when the optical network unit fails.
进一步地, 所述主 CPU还包括:  Further, the main CPU further includes:
脉冲宽度检测模块, 用于当只读取到一次发送光功率或者两次均没有 读取到发送光功率时, 检测发光控制信号的脉冲宽度;  a pulse width detecting module, configured to detect a pulse width of the illumination control signal when only one transmission optical power is read once or no transmission optical power is read twice;
控制模块, 还用于当发光控制信号的脉冲宽度不在第二取值范围内时, 切断光模块的发送电源, 所述第二取值范围是大于 0并小于光网络单元的 一个发光时隙的时长。  The control module is further configured to: when the pulse width of the illumination control signal is not within the second value range, cutting off the transmission power of the optical module, where the second value range is greater than 0 and less than one illumination time slot of the optical network unit duration.
其中, 所述控制模块还用于当发光控制信号的脉冲宽度在第二取值范 围内时, 判断发光控制信号与光模块发出的发光指示信号是否相同, 并在 二者不相同时切断光模块的发送电源。  The control module is further configured to: when the pulse width of the illumination control signal is within the second value range, determine whether the illumination control signal is the same as the illumination indication signal sent by the optical module, and cut the optical module when the two are different. Send power.
本发明提供一种 ONU的故障检测和控制方法, 在釆用本发明所述方法 的光网络单元中, 主 CPU在大于一个发光时隙的时长并小于该光网络单元 连续两次正常发光的时间间隔内, 能两次读取到光模块的发送光功率时, 则确定该光模块异常, 进而确定该光网络单元出现故障;  The present invention provides a fault detection and control method for an ONU. In an optical network unit using the method of the present invention, the duration of the main CPU in more than one illuminating time slot is less than the time during which the optical network unit normally emits light twice. During the interval, when the optical power of the optical module can be read twice, the optical module is determined to be abnormal, and then the optical network unit is determined to be faulty.
进一步地, 当只读取到一次发送光功率或者两次均没有读取到发送光 功率时, 主 CPU还能通过检测发光控制信号的脉冲宽度, 判断光模块是否 异常, 进而确定该光网络单元是否出现故障, 并在该光网络单元出现故障 时切断光模块的发送电源, 以免影响其他正常工作的 ONU;  Further, when only the transmission optical power is read once or the transmission optical power is not read twice, the main CPU can also determine whether the optical module is abnormal by detecting the pulse width of the illumination control signal, thereby determining the optical network unit. Whether the fault occurs, and the transmission power of the optical module is cut off when the optical network unit fails, so as not to affect other normal working ONUs;
更进一步地, 主 CPU还能通过判断发光控制信号与光模块发出的发光 指示信号是否相同, 来确定该光网络单元是否出现故障, 进而来控制是否 切断光模块的发送电源。 可见, 利用本发明方法能够提高光网络单元的故 障检测能力, 同时实现对该光网络单元的有效控制, 避免出现故障的 ONU 影响其他正常工作的 ONU。 附图说明 Further, the main CPU can also determine whether the optical network unit is faulty by determining whether the lighting control signal is the same as the lighting indication signal sent by the optical module, and further whether to cut off the transmission power of the optical module. It can be seen that the optical network unit can be improved by the method of the invention. The obstacle detection capability enables effective control of the optical network unit at the same time, so as to prevent the faulty ONU from affecting other normally working ONUs. DRAWINGS
图 1为 ONU基本结构示意图;  Figure 1 is a schematic diagram of the basic structure of the ONU;
图 2为本发明实施例提供的 ONU的控制方法的流程示意图; 图 3为 ONU正常发光的时隙示意图;  2 is a schematic flowchart of a method for controlling an ONU according to an embodiment of the present invention; FIG. 3 is a schematic diagram of a time slot for normal ONU of an ONU;
图 4为发光控制信号脉冲宽度检测原理示意图;  4 is a schematic diagram of a pulse width detection principle of an illumination control signal;
图 5为检测发光控制信号及发光指示信号是否相同的原理示意图; 图 6为本发明实施例提供的第一种光网络单元示意图;  5 is a schematic diagram showing the principle of detecting whether the illumination control signal and the illumination indication signal are the same; FIG. 6 is a schematic diagram of a first optical network unit according to an embodiment of the present invention;
图 7为本发明实施例提供的第二种光网络单元示意图。 具体实施方式  FIG. 7 is a schematic diagram of a second optical network unit according to an embodiment of the present invention. detailed description
为保证网络的正常运行, 当某个或某些 ONU因突发功能失效而处于长 发光状态时, 需要对出现故障的 ONU进行控制, 使其不影响到其他正常工 作的 ONU。  In order to ensure the normal operation of the network, when one or some ONUs are in a long-light state due to the failure of the burst function, the faulty ONU needs to be controlled so as not to affect other normal working ONUs.
如图 3 所示, 为光网络单元正常发光的时隙示意图, 4叚设某个光网络 单元正常发光时的发光时隙的时长为 tl , 则在正常工作时, 该光网络单元 在该发光时隙内会发光, 超过该发光时隙的时长则不发光, 直到经过时长 12后局端会为该光网络单元再次分配发光时隙, 该光网络单元再次开始发 光; 也就是说, 如果该光网络单元正常工作, 则该光网络单元在(0, tl ) 时间范围内发光, (tl , 12 ) 时间范围内不发光, (t2, 13 ) 时间范围内继续 发光, 以此类推。  As shown in FIG. 3, a schematic diagram of a time slot in which an optical network unit is normally illuminated, and a time period in which an optical network unit is normally illuminated when the optical network unit is normally illuminated is t1, and the optical network unit is illuminated during normal operation. The time slot will illuminate, and the duration of the illuminating time slot will not be illuminated. After the elapse of time 12, the central office will allocate the illuminating time slot again for the optical network unit, and the optical network unit starts to emit light again; that is, if When the optical network unit works normally, the optical network unit emits light in the (0, tl) time range, does not emit light in the (tl, 12) time range, continues to emit light in the (t2, 13) time range, and so on.
所以通过间隔设置设定时长 t, 并在光模块有 SD信号输出时, 分两次 检测光网络单元的发送光功率, 则可以判断光网络单元是否出现故障, 如 图 3所示, 设定时长 t必须大于 tl并且小于 t2-tl , 也就是说, 设定时长的 范围大于一个发光时隙的时长并小于该光网络单元连续两次正常发光的时 间间隔, 这样, 不仅可以保证在一个发光时隙内不会两次读取到光模块的 发送光功率, 还可以保证不会在连续两次正常的发光时隙内读取到光模块 的发送光功率, 因此在设定时长的范围内, 如果连续两次读取到光模块的 发送光功率, 则表明该光模块处于长发光状态, 也就是该光网络单元出现 故障, 对于出现故障的光网络单元, 可以切断光模块的发送电源以避免影 响其他正常工作的光网络单元。 Therefore, the interval time t is set by the interval setting, and when the optical module has the SD signal output, the optical power of the optical network unit is detected twice, and it can be determined whether the optical network unit is faulty, as shown in FIG. 3, the setting duration is set. t must be greater than t1 and less than t2-tl, that is, set the duration The duration of the range is greater than the duration of one illuminating time slot and is less than the time interval of the normal illuminating of the optical network unit twice, so that not only the optical power of the optical module can be read twice in one illuminating time slot, but also It is ensured that the transmitted optical power of the optical module is not read in two consecutive normal time slots. Therefore, if the transmitted optical power of the optical module is read twice in the range of the set duration, the light is indicated. The module is in a long-light state, that is, the optical network unit is faulty. For the faulty optical network unit, the transmission power of the optical module can be cut off to avoid affecting other optical network units that are working normally.
基于上述原理, 本发明实施例提供一种 ONU的控制方法, 当该光网络 单元的主 CPU在大于一个发光时隙的时长并小于该光网络单元连续两次正 常发光的时间间隔范围内, 若能两次能读取到光模块的发送光功率, 则确 定光模块出现异常, 并切断该光模块的发送电源;  Based on the above principles, the embodiment of the present invention provides a method for controlling an ONU, where the main CPU of the optical network unit is in a time interval greater than one illuminating time slot and less than a time interval in which the optical network unit continuously emits light twice, if The optical power of the optical module can be read twice, and the abnormality of the optical module is determined, and the sending power of the optical module is cut off;
进一步地, 当只读取到一次发送光功率或者两次均没有读取到发送光 功率时, 主 CPU还能通过检测发光控制信号的脉冲宽度, 确定光模块是否 异常, 并在光模块异常时切断光模块的发送电源; 其中, 所述发光控制信 号为光网络单元控制光模块发光的信号, 也就是主 CPU发出的用于控制光 模块发光的信号;  Further, when only the transmission optical power is read once or the transmission optical power is not read twice, the main CPU can also determine whether the optical module is abnormal by detecting the pulse width of the illumination control signal, and when the optical module is abnormal. Cutting off the transmission power of the optical module; wherein, the illumination control signal is a signal that the optical network unit controls the illumination of the optical module, that is, a signal sent by the main CPU for controlling the illumination of the optical module;
更进一步地, 主 CPU还能通过判断发光控制信号与光模块发出的发光 指示信号是否相同, 来控制是否切断光模块的发送电源。 釆用上述切断电 源的方法, 均能避免出现故障的 ONU影响其他正常工作的 ONU, 保证正 常的业务进行。 其中, 所述发光指示信号为光模块输出的指示其正在发光 的信号。  Further, the main CPU can also control whether to cut off the transmission power of the optical module by determining whether the illumination control signal is the same as the illumination indication signal sent by the optical module. By using the above method of cutting off the power, the ONU that is faulty can be prevented from affecting other ONUs that are working normally, and the normal service is guaranteed. The illumination indication signal is a signal output by the optical module indicating that it is emitting light.
如图 2所示, 为本发明实施例提供的一种 ONU的控制方法, 该控制方 法包括:  As shown in FIG. 2, a method for controlling an ONU according to an embodiment of the present invention includes:
步骤 201 : 主 CPU判断 ONU是否启动长发光检测功能, 如果启动, 则 执行步骤 202, 否则继续判断该长发光检测功能是否启动; 其中, 如果未启动, 则周期性判断所述光网络单元是否启动长发光检 测功能。 具体的故障检测周期可根据实际情况进行设置。 Step 201: The main CPU determines whether the ONU starts the long-light detection function. If it is started, it performs step 202, otherwise it continues to determine whether the long-light detection function is activated. If it is not activated, it is periodically determined whether the optical network unit starts the long illuminating detection function. The specific fault detection period can be set according to the actual situation.
步骤 202: 主 CPU确定光模块的发送电源是否开启, 若开启, 则执行 步骤 203 , 若未开启, 则执行步骤 201 ;  Step 202: The main CPU determines whether the sending power of the optical module is turned on. If yes, step 203 is performed. If not, step 201 is performed;
步骤 203: 主 CPU判断光模块是否有 SD ( Signal Detection,信号检测) 信号输出, 若有 SD信号输出, 则执行步骤 204, 若没有 SD信号输出, 则 直接返回步骤 201 ;  Step 203: The main CPU determines whether the optical module has an SD (Signal Detection) signal output. If there is an SD signal output, step 204 is performed. If no SD signal is output, the process returns directly to step 201;
其中, 若光模块没有 SD信号输出, 则表明该光模块未插光纤或光纤损 坏, 此时不会对其他 ONU造成影响, 因此无需处理, 可以直接返回步骤 201 ;  If the optical module does not have an SD signal output, it indicates that the optical module is not inserted into the optical fiber or the optical fiber is damaged. At this time, the other ONUs are not affected, so there is no need for processing, and the process returns directly to step 201;
步骤 204: 主 CPU分两次读取光模块的发送光功率, 其中两次读取操 作之间的时间间隔为设定时长, 如果连续两次能读取到发送光功率, 说明 光模块处于长发光状态, 即该 ONU出现故障, 执行步骤 208; 如果只读到 一次发送光功率或者两次均没有读取到发送光功率, 则执行步骤 205;  Step 204: The main CPU reads the transmit optical power of the optical module twice. The time interval between the two read operations is the set duration. If the transmit optical power can be read twice, the optical module is long. The illuminating state, that is, the ONU is faulty, step 208 is performed; if the transmitting optical power is read only once, or the transmitting optical power is not read twice, step 205 is performed;
其中, 设定时长的第一取值范围是大于该光网络单元的一个发光时隙 的时长, 并且小于该光网络单元连续两次正常发光的时间间隔。  The first value range of the set duration is greater than the duration of one of the optical network units of the optical network unit, and is less than the time interval during which the optical network unit normally emits light twice.
步骤 205: 主 CPU检测发光控制信号的脉冲宽度;  Step 205: The main CPU detects a pulse width of the illumination control signal.
其中, 所述发光控制信号的脉冲宽度检测原理可参照图 4, 本步骤主要 是通过一个多位计数器来获取发光控制信号的脉冲宽度, 当发光控制信号 的发光控制脉冲信号开始时, 多位计数器清零并开始计数, 脉冲结束时多 位计数器计数结束, 于是, 通过计数值乘以计数时钟周期即可得到发光控 制信号的脉冲宽度;  The principle of the pulse width detection of the illumination control signal can be referred to FIG. 4. This step mainly acquires the pulse width of the illumination control signal through a multi-bit counter. When the illumination control pulse signal of the illumination control signal starts, the multi-bit counter Clearing and starting counting, the multi-bit counter counting ends at the end of the pulse, and then the pulse width of the illumination control signal is obtained by multiplying the count value by the counting clock period;
步骤 206: 判断该发光控制信号的脉冲宽度是否在第二取值范围内, 如 果所述脉冲宽度在第二取值范围内, 则执行步骤 207, 如果所述脉冲宽度不 在第二取值范围内, 则执行步骤 208; 其中, 当该发光控制信号的脉冲宽度不在第二取值范围内时, 表明该Step 206: Determine whether the pulse width of the illumination control signal is within a second value range. If the pulse width is within the second value range, perform step 207, if the pulse width is not within the second value range. , step 208 is performed; Wherein, when the pulse width of the illumination control signal is not within the second value range, indicating that
ONU出现故障, 因此需要切断光模块的发送电源; The ONU is faulty. Therefore, you need to cut off the transmit power of the optical module.
一般地, 第二取值范围为大于 0并小于局端设备分配给该光网络单元 的一个发光时隙的时长。 因此, 当该发光控制信号的脉冲宽度不在第二取 值范围内时, 也就是, 当脉冲宽度大于 tl或者为 0时, 这说明该控制信号 不受局端设备的控制, 因此该 ONU出现故障;  Generally, the second value range is greater than 0 and less than the length of time that the central office device allocates to one of the optical network slots of the optical network unit. Therefore, when the pulse width of the illumination control signal is not within the second value range, that is, when the pulse width is greater than t1 or 0, this indicates that the control signal is not controlled by the central office device, and thus the ONU is faulty. ;
步骤 207: 主 CPU判断发光控制信号是否与光模块发出的发光指示信 号相同; 如果二者相同, 表明此时 ONU正常, 返回步骤 201 , 重新开始进 行周期性故障检测;如果与所述发光指示信号不相同,表明此时 ONU异常, 即该 ONU出现故障, 执行步骤 208;  Step 207: The main CPU determines whether the illumination control signal is the same as the illumination indication signal sent by the optical module. If the two are the same, it indicates that the ONU is normal at this time, and returns to step 201 to restart the periodic fault detection; if the illumination indication signal is If the ONU is abnormal, that is, the ONU is faulty, go to step 208;
例如: 参照图 5, 为检测发光控制信号及发光指示信号是否相同的原理 示意图, 本实施例可通过一个同或门电路来检测发光控制信号及发光指示 信号是否相同, 即: 将主 CPU发出的发光控制信号以及光模块发出的发光 指示信号输入同或门电路, 若输出高电平, 则表示二者相同; 若输出低电 平, 则表示二者不同;  For example, referring to FIG. 5, in order to detect whether the illumination control signal and the illumination indication signal are the same, the embodiment may detect whether the illumination control signal and the illumination indication signal are the same through an AND gate circuit, that is, the main CPU sends out The illumination control signal and the illumination indication signal sent by the optical module are input to the same OR gate circuit. If the output is high level, the two are the same; if the low level is output, the two are different;
需要说明的是, 如果发光控制信号与光模块发出的发光指示信号反向, 则可先通过反向器调整使二者同向后, 再判断二者是否相同。  It should be noted that if the illumination control signal is opposite to the illumination indication signal sent by the optical module, the reverse adjustment may be first performed to make the two are the same, and then whether the two are the same.
步骤 208: 主 CPU切断光模块的发送电源, 返回步骤 201。  Step 208: The main CPU cuts off the transmission power of the optical module, and returns to step 201.
釆用本发明的这几种方法, 均能直接检测到光模块是否出现异常, 并 在出现异常时, 通过主 CPU的控制来切断光模块的发送电源, 避免出现故 障的 ONU光网络单元对其他正常 ONU光网络单元的影响, 保证了正常业 务的运行。  By using the methods of the present invention, it is possible to directly detect whether an abnormality occurs in the optical module, and when an abnormality occurs, the transmission power of the optical module is cut off by the control of the main CPU, thereby avoiding the failure of the ONU optical network unit to other The impact of the normal ONU optical network unit ensures the normal operation of the service.
本发明实施例还提供一种光网络单元的故障检测方法, 在上述步骤中, 步骤 208是可以不必执行的, 同时在步骤 204、 步骤 206、 步骤 207中, 当 检测出该光网络单元出现故障时, 可直接结束, 或者返回步骤 201 继续进 行周期性的故障检测。 釆用这种方法, 光网络单元可自动检测出故障。 下面结合图 6,来说明一下本发明实施例所提供的一种釆用上述故障检测方 法的光网络单元, 如图 6所示, 该光网络单元包括: 主 CPU、 光模块; 所 述主 CPU用于: 在确定光模块有信号检测 SD信号输出时, 分两次读取光 模块的发送光功率, 当两次均能读取到发送光功率时, 判定所述光网络单 元出现故障; The embodiment of the present invention further provides a fault detection method for the optical network unit. In the foregoing steps, the step 208 is not necessary, and in step 204, step 206, and step 207, when the optical network unit is detected to be faulty, Can end directly, or return to step 201 to continue Periodic fault detection. In this way, the optical network unit can automatically detect the fault. As shown in FIG. 6, the optical network unit includes the main CPU and the optical module, and the main CPU is provided in the embodiment of the present invention. The method is: when determining that the optical module has the signal detection SD signal output, reading the transmission optical power of the optical module twice, and when the transmission optical power can be read twice, determining that the optical network unit is faulty;
其中, 两次读取操作之间的时间间隔为设定时长, 所述设定时长的第 一取值范围是大于所述光网络单元的一个发光时隙的时长并小于所述光网 络单元连续两次正常发光的时间间隔。  The time interval between the two read operations is a set duration, and the first value range of the set duration is greater than the duration of one of the optical network slots of the optical network unit and is smaller than the continuous duration of the optical network unit. The time interval between two normal illuminations.
上述光网络单元中, 所述主 CPU包括: 发送光功率读取模块 61 , 用于 在确定光模块有 SD信号输出时, 分两次读取光模块的发送光功率, 其中两 次读取之间的时间间隔为设定时长;  In the above optical network unit, the main CPU includes: a transmit optical power reading module 61, configured to read the transmit optical power of the optical module twice in two steps when determining that the optical module has an SD signal output, wherein the read optical power is read twice. The time interval between them is the set time;
故障确定模块 62 , 用于当两次均能读取到发送光功率时, 判定该光网 络单元出现故障, 该设定时长的第一取值范围是大于光网络单元的一个发 光时隙的时长并小于该光网络单元连续两次正常发光的时间间隔。  The fault determining module 62 is configured to determine that the optical network unit is faulty when the transmit optical power can be read twice, and the first value range of the set duration is greater than the duration of one illuminating time slot of the optical network unit. And less than the time interval in which the optical network unit continuously emits light twice.
上述光网络单元中, 所述主 CPU还包括:  In the above optical network unit, the main CPU further includes:
脉冲宽度检测模块 63 , 用于当只读取到一次发送光功率或者两次均没 有读取到发送光功率时, 检测发光控制信号的脉冲宽度; 其中, 所述发光 控制信号为光网络单元控制光模块发光的信号。  The pulse width detecting module 63 is configured to detect a pulse width of the light emission control signal when only one transmission optical power is read or not, and the light emission control signal is controlled by the optical network unit. The signal that the light module emits light.
故障确定模块 62还用于: 判断所述脉冲宽度是否在第二取值范围内, 当发光控制信号的脉冲宽度不在第二取值范围内时, 判定该光网络单元出 现故障, 第二取值范围是大于 0并小于光网络单元的一个发光时隙的时长。  The fault determining module 62 is further configured to: determine whether the pulse width is within a second value range, and determine that the optical network unit is faulty when the pulse width of the light emission control signal is not within the second value range, and the second value The range is greater than 0 and less than the length of one of the light-emitting time slots of the optical network unit.
其中, 故障确定模块 62还用于: 当发光控制信号的脉冲宽度在第二取 值范围内时, 判断所述发光控制信号与光模块发出的发光指示信号是否相 同, 并在确定发光控制信号与光模块发出的发光指示信号不相同时, 判定 该光网络单元出现故障。 The fault determining module 62 is further configured to: determine, when the pulse width of the light emission control signal is within the second value range, whether the light emitting control signal and the light emitting indication signal sent by the optical module are Similarly, when it is determined that the illumination control signal is different from the illumination indication signal sent by the optical module, it is determined that the optical network unit is faulty.
此外, 本发明实施例还提供一种釆用上述控制方法的光网络单元, 如 图 7所示, 该光网络单元包括: 主 CPU、 光模块; 所述主 CPU用于: 在确 定光模块有信号检测 SD信号输出时, 分两次读取光模块的发送光功率, 当 两次均能读取到发送光功率时, 判定所述光网络单元出现故障;  In addition, the embodiment of the present invention further provides an optical network unit that uses the foregoing control method. As shown in FIG. 7, the optical network unit includes: a main CPU and an optical module; and the main CPU is configured to: When the signal detection SD signal is output, the transmission optical power of the optical module is read twice, and when the transmission optical power can be read twice, it is determined that the optical network unit is faulty;
其中, 两次读取操作之间的时间间隔为设定时长, 所述设定时长的第 一取值范围是大于所述光网络单元的一个发光时隙的时长并小于所述光网 络单元连续两次正常发光的时间间隔。  The time interval between the two read operations is a set duration, and the first value range of the set duration is greater than the duration of one of the optical network slots of the optical network unit and is smaller than the continuous duration of the optical network unit. The time interval between two normal illuminations.
上述光网络单元中, 所述主 CPU包括:  In the above optical network unit, the main CPU includes:
发送光功率读取模块 71 , 用于在光模块有 SD信号输出时, 分两次读 取光模块的发送光功率, 其中两次读取之间的时间间隔为设定时长;  The transmitting optical power reading module 71 is configured to read the transmitting optical power of the optical module twice when the optical module has the SD signal output, wherein the time interval between the two readings is a set duration;
控制模块 72, 用于当判定所述光网络单元出现故障时, 切断光模块的 发送电源, 该设定时长的第一取值范围是大于光网络单元的一个发光时隙 的时长并小于该光网络单元连续两次正常发光的时间间隔。  The control module 72 is configured to: when determining that the optical network unit is faulty, cut off the sending power of the optical module, where the first value range of the set duration is greater than a duration of one illuminating time slot of the optical network unit and less than the light The time interval during which the network unit is normally illuminated twice.
上述光网络单元中, 所述主 CPU还包括:  In the above optical network unit, the main CPU further includes:
脉冲宽度检测模块 73 , 用于当只读到一次发送光功率或者两次均没有 读取到发送光功率时, 检测发光控制信号的脉冲宽度;  The pulse width detecting module 73 is configured to detect a pulse width of the light emitting control signal when the optical power is read only once or not, or when the transmitting optical power is not read twice;
控制模块 72, 还用于当发光控制信号的脉冲宽度不在第二取值范围内 时, 切断光模块的发送电源, 第二取值范围是大于 0并小于光网络单元的 一个发光时隙的时长。  The control module 72 is further configured to cut off the transmission power of the optical module when the pulse width of the illumination control signal is not within the second value range, where the second value range is greater than 0 and less than the duration of one illumination slot of the optical network unit. .
其中, 所述控制模块 72还用于: 当发光控制信号的脉冲宽度在第二取 值范围内时, 判断所述发光控制信号与光模块发出的发光指示信号是否相 同, 并在二者不相同时切断光模块的发送电源。  The control module 72 is further configured to: determine, when the pulse width of the illumination control signal is within the second value range, whether the illumination control signal is the same as the illumination indication signal sent by the optical module, and At the same time, the transmission power of the optical module is cut off.
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没 有详述的部分, 可以参见其他实施例的相关描述即可。 以上所述, 仅为本 发明的较佳实施例而已, 只是用来说明和解释本发明, 并非用于限定本发 明的保护范围。 In the above embodiments, the descriptions of the various embodiments have different emphasis, and in some embodiments, For a detailed description, refer to the related description of other embodiments. The above is only the preferred embodiment of the present invention, and is only intended to illustrate and explain the present invention, and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种光网络单元的故障检测方法, 其特征在于, 该方法包括: 在光网络单元的光模块有信号检测 SD信号输出时,分两次读取光模块 的发送光功率, 当两次均能读取到发送光功率时, 判定所述光网络单元出 现故障;  A method for detecting a fault of an optical network unit, the method comprising: when the optical module of the optical network unit has a signal detection SD signal output, reading the optical power of the optical module twice, when twice When the transmitted optical power can be read, it is determined that the optical network unit is faulty;
其中, 两次读取操作之间的时间间隔为设定时长; 所述设定时长的第 一取值范围大于所述光网络单元的一个发光时隙的时长、 且小于所述光网 络单元连续两次正常发光的时间间隔。  The time interval between the two read operations is a set duration; the first value range of the set duration is greater than the duration of one of the optical network slots of the optical network unit, and is smaller than the continuous duration of the optical network unit. The time interval between two normal illuminations.
2、 如权利要求 1所述的方法, 其特征在于, 该方法还包括: 当只读取到一次发送光功率或者两次均没有读取到发送光功率时, 检 测发光控制信号的脉冲宽度;  2. The method according to claim 1, wherein the method further comprises: detecting a pulse width of the illumination control signal when only one transmission optical power is read once or no transmission optical power is read twice;
当发光控制信号的脉冲宽度不在第二取值范围内时, 判定所述光网络 单元出现故障, 所述第二取值范围大于 0且小于光网络单元的一个发光时 隙的时长。  When the pulse width of the illumination control signal is not within the second value range, it is determined that the optical network unit is faulty, and the second value range is greater than 0 and less than the duration of one illumination time slot of the optical network unit.
3、 如权利要求 2所述的方法, 其特征在于, 该方法还包括: 当发光控制信号的脉冲宽度在所述第二取值范围内时, 确定发光控制 信号与光模块发出的发光指示信号是否相同, 如果所述发光控制信号与发 光指示信号不相同, 则判定所述光网络单元出现故障; 如果所述发光控制 信号与发光指示信号相同, 则重新开始进行周期性故障检测。  The method according to claim 2, further comprising: determining a lighting control signal and a lighting indication signal emitted by the optical module when a pulse width of the lighting control signal is within the second value range Whether the same is true, if the lighting control signal is different from the lighting indication signal, it is determined that the optical network unit is faulty; if the lighting control signal is the same as the lighting indication signal, periodic fault detection is restarted.
4、 如权利要求 1、 2或 3所述的方法, 其特征在于, 所述在光模块有 SD信号输出时, 分两次读取光模块的发送光功率之前, 该方法还包括: 确定所述光模块的发送电源开启。  The method according to claim 1, 2 or 3, wherein before the optical module has an SD signal output, the optical power of the optical module is read twice, and the method further comprises: determining The transmit power of the optical module is turned on.
5、 如权利要求 4所述的方法, 其特征在于, 所述确定光模块的发送电 源开启之前, 该方法还包括:  The method of claim 4, wherein before the determining that the transmission power of the optical module is turned on, the method further includes:
确定所述光网络单元是否启动长发光检测功能, 如果已启动长发光检 测功能, 则判断所述光模块的发送电源是否开启; 如果未启动长发光检测 Determining whether the optical network unit initiates a long illumination detection function, if a long illumination detection has been initiated The measurement function determines whether the transmission power of the optical module is turned on; if the long illumination detection is not activated
6、 如权利要求 5所述的方法, 其特征在于, 该方法还包括: 6. The method of claim 5, further comprising:
确定所述光网络单元出现故障时, 切断所述光模块的发送电源。  When it is determined that the optical network unit is faulty, the transmission power of the optical module is cut off.
7、 一种光网络单元, 包括主 CPU、 光模块, 其特征在于, 所述主 CPU 用于: 在确定光模块有信号检测 SD信号输出时, 分两次读取光模块的发送 光功率, 当两次均能读取到发送光功率时, 判定所述光网络单元出现故障; 其中, 两次读取操作之间的时间间隔为设定时长, 所述设定时长的第 一取值范围大于所述光网络单元的一个发光时隙的时长、 且小于所述光网 络单元连续两次正常发光的时间间隔。  An optical network unit, comprising a main CPU and an optical module, wherein the main CPU is configured to: when determining that the optical module has a signal detection SD signal output, read the optical power of the optical module twice; When the optical power of the optical network can be read twice, it is determined that the optical network unit is faulty; wherein, the time interval between the two reading operations is a set duration, and the first value range of the set duration The duration of one illuminating time slot of the optical network unit is greater than the time interval of the optical network unit for two consecutive normal illuminations.
8、 如权利要求 7所述的光网络单元, 其特征在于, 所述主 CPU包括: 发送光功率读取模块, 具体用于在确定光模块有 SD信号输出时, 分两 次读取光模块的发送光功率;  The optical network unit according to claim 7, wherein the main CPU comprises: a transmitting optical power reading module, specifically configured to read the optical module twice when determining that the optical module has an SD signal output. Transmit optical power;
故障确定模块, 具体用于当两次均能读取到发送光功率时, 判定所述 光网络单元出现故障。  The fault determining module is specifically configured to determine that the optical network unit is faulty when the transmitted optical power can be read twice.
9、 如权利要求 8所述的光网络单元, 其特征在于, 所述主 CPU还包 括:  The optical network unit according to claim 8, wherein the main CPU further comprises:
脉冲宽度检测模块, 用于当只读取到一次发送光功率或者两次均没有 读取到发送光功率时, 检测发光控制信号的脉冲宽度;  a pulse width detecting module, configured to detect a pulse width of the illumination control signal when only one transmission optical power is read once or no transmission optical power is read twice;
故障确定模块还用于: 判断所述脉冲宽度是否在第二取值范围内, 当 所述脉冲宽度不在第二取值范围内时, 判定所述光网络单元出现故障, 所 述第二取值范围大于 0且小于光网络单元的一个发光时隙的时长。  The fault determining module is further configured to: determine whether the pulse width is within a second value range, and when the pulse width is not within the second value range, determine that the optical network unit is faulty, and the second value The range is greater than 0 and less than the length of one of the light-emitting time slots of the optical network unit.
10、 如权利要求 9所述的光网络单元, 其特征在于, 所述故障确定模 块还用于: 当发光控制信号的脉冲宽度在所述第二取值范围内时, 判断所 述发光控制信号与光模块发出的发光指示信号是否相同, 并在二者不相同 时判定所述光网络单元出现故障。 The optical network unit according to claim 9, wherein the fault determining module is further configured to: when the pulse width of the light emission control signal is within the second value range, determine the light emission control signal Whether it is the same as the illuminating indication signal emitted by the optical module, and is different in the two It is determined that the optical network unit is faulty.
11、如权利要求 7所述的光网络单元, 其特征在于, 所述主 CPU包括: 发送光功率读取模块, 具体用于在光模块有 SD信号输出时, 分两次读 取光模块的发送光功率;  The optical network unit according to claim 7, wherein the main CPU comprises: a transmitting optical power reading module, specifically configured to read the optical module twice when the optical module has an SD signal output Transmit optical power;
控制模块, 用于判定所述光网络单元出现故障时, 切断光模块的发送 电源。  The control module is configured to cut off the sending power of the optical module when the optical network unit fails.
12、 如权利要求 11所述的光网络单元, 其特征在于, 所述主 CPU还 包括:  The optical network unit according to claim 11, wherein the main CPU further comprises:
脉冲宽度检测单元, 用于当只读取到一次发送光功率或者两次均没有 读取到发送光功率时, 检测发光控制信号的脉冲宽度;  a pulse width detecting unit, configured to detect a pulse width of the light emission control signal when only one transmission optical power is read once or no transmission optical power is read;
控制单元, 还用于当发光控制信号的脉冲宽度不在第二取值范围内时, 切断光模块的发送电源, 所述第二取值范围是大于 0并小于光网络单元的 一个发光时隙的时长。  The control unit is further configured to: when the pulse width of the illumination control signal is not within the second value range, cutting off the transmission power of the optical module, where the second value range is greater than 0 and less than one illumination time slot of the optical network unit duration.
13、 如权利要求 12所述的光网络单元, 其特征在于, 所述控制模块还 用于: 当发光控制信号的脉冲宽度在所述第二取值范围内时, 判断所述发 光控制信号与光模块发出的发光指示信号是否相同, 并在二者不相同时切 断光模块的发送电源。  The optical network unit according to claim 12, wherein the control module is further configured to: when the pulse width of the illumination control signal is within the second value range, determine the illumination control signal and Whether the illumination indication signals sent by the optical module are the same, and the transmission power of the optical module is cut off when the two are different.
PCT/CN2010/077420 2009-12-09 2010-09-28 Optical network unit and method for detecting and controlling fault thereof WO2011069386A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200910252446 CN101710847A (en) 2009-12-09 2009-12-09 Failure detection and control method of optical network unit and optical network unit
CN200910252446.2 2009-12-09

Publications (1)

Publication Number Publication Date
WO2011069386A1 true WO2011069386A1 (en) 2011-06-16

Family

ID=42403609

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/077420 WO2011069386A1 (en) 2009-12-09 2010-09-28 Optical network unit and method for detecting and controlling fault thereof

Country Status (2)

Country Link
CN (1) CN101710847A (en)
WO (1) WO2011069386A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230163873A1 (en) * 2021-11-25 2023-05-25 Mitsubishi Electric Corporation Station-side device, optical communication system, and search method

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710847A (en) * 2009-12-09 2010-05-19 中兴通讯股份有限公司 Failure detection and control method of optical network unit and optical network unit
CN102291270B (en) * 2010-06-21 2015-09-16 中兴通讯股份有限公司 A kind of management method of optical network unit in passive optical network and system
CN102095997B (en) * 2010-12-10 2013-04-03 成都优博创技术有限公司 Automatic detecting device and method for short-circuit exception of interior circuit and shell of optical module
CN102135583B (en) * 2010-12-10 2012-12-19 成都优博创技术有限公司 Automatic detecting device for detecting short circuit unusualness of internal circuit and shell of optical module
CN102075244B (en) * 2010-12-30 2014-05-07 北京格林伟迪科技有限公司 Method for diagnosing constant optical network units in Ethernet passive optical network
CN102075246B (en) * 2011-01-19 2015-05-13 中兴通讯股份有限公司 Method, system and optical line terminal for obtaining malfunction information of optical network unit
CN103597759B (en) * 2011-04-13 2017-09-29 中兴通讯股份有限公司 Mitigate in EPON(PON)In rogue's optical network unit(ONU)Behavior
CN103312409B (en) * 2012-03-06 2016-08-03 中兴通讯股份有限公司 The method and device that a kind of optical module detecting optical node is abnormal luminous
CN102904633B (en) * 2012-09-17 2016-04-20 杭州华三通信技术有限公司 Method and the device of optical module long hair light is detected in a kind of EPON
CN102938671B (en) * 2012-09-26 2015-08-12 青岛海信宽带多媒体技术有限公司 Terminal equipment and long luminescence detection circuit thereof
CN102916742B (en) * 2012-11-06 2015-05-13 烽火通信科技股份有限公司 Method and device for detecting and closing constant light-emitting optical network unit
CN104065495A (en) * 2013-03-18 2014-09-24 中兴通讯股份有限公司 Long light emitting ONU judging method and device and passive optical network system
CN104811243B (en) * 2014-01-26 2018-05-04 中兴通讯股份有限公司 Long luminous detection method and device
JP6436025B2 (en) * 2015-09-14 2018-12-12 株式会社オートネットワーク技術研究所 Power supply control device, communication system, and power supply control method
CN106921431B (en) * 2017-03-21 2019-03-08 烽火通信科技股份有限公司 ONU light leakage detecting device and detection method, light leakage protective device and method
CN110361718B (en) * 2019-08-16 2023-02-28 哈工大机器人(合肥)国际创新研究院 Method and device for detecting abnormal light emission of light source
TWI788639B (en) 2020-02-24 2023-01-01 瑞昱半導體股份有限公司 Optical network device with abnormal light emission detection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047442A (en) * 2006-04-02 2007-10-03 华为技术有限公司 Maintenance method of passive optical network and its system
CN101127567A (en) * 2007-09-20 2008-02-20 中兴通讯股份有限公司 A method and device for optical line terminal to detect the optical power of optical network unit
CN101127566A (en) * 2006-08-16 2008-02-20 华为技术有限公司 Uplink time slot confliction detection method and optical line terminal in passive optical network
US20080056731A1 (en) * 2006-09-05 2008-03-06 Broadlight Ltd. Circuit for detecting optical failures in a passive optical network
CN101710847A (en) * 2009-12-09 2010-05-19 中兴通讯股份有限公司 Failure detection and control method of optical network unit and optical network unit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047442A (en) * 2006-04-02 2007-10-03 华为技术有限公司 Maintenance method of passive optical network and its system
CN101127566A (en) * 2006-08-16 2008-02-20 华为技术有限公司 Uplink time slot confliction detection method and optical line terminal in passive optical network
US20080056731A1 (en) * 2006-09-05 2008-03-06 Broadlight Ltd. Circuit for detecting optical failures in a passive optical network
CN101127567A (en) * 2007-09-20 2008-02-20 中兴通讯股份有限公司 A method and device for optical line terminal to detect the optical power of optical network unit
CN101710847A (en) * 2009-12-09 2010-05-19 中兴通讯股份有限公司 Failure detection and control method of optical network unit and optical network unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230163873A1 (en) * 2021-11-25 2023-05-25 Mitsubishi Electric Corporation Station-side device, optical communication system, and search method
US11916659B2 (en) * 2021-11-25 2024-02-27 Mitsubishi Electric Corporation Station-side device, optical communication system, and search method

Also Published As

Publication number Publication date
CN101710847A (en) 2010-05-19

Similar Documents

Publication Publication Date Title
WO2011069386A1 (en) Optical network unit and method for detecting and controlling fault thereof
CN101820558B (en) Method for detecting long luminance ONU in passive optical network
US8095002B2 (en) Method and apparatus for diagnosing problems on a time division multiple network access (TDMA) optical distribution network (ODN)
US20110116803A1 (en) Terminal apparatus, data transmission system and data transmission method
US20110170871A1 (en) Apparatus of adjusting optical signal transmission timing
KR100762605B1 (en) Method and optical network unit for ethernet passive optical network
TWI507669B (en) Passive optical fiber plant analysis
US8249446B2 (en) Method and apparatus for regulating rogue behavior in optical network transmission devices
US10110301B2 (en) Method, apparatus, and system for detecting rogue optical network unit
JP5066968B2 (en) Station-side terminator, subscriber-side terminator, communication system, control method for these devices, and program
US20070237189A1 (en) Method and apparatus for ONT ranging with improved noise immunity
AU2008229908B2 (en) Signal monitoring device, communication system, signal monitoring method, and recording medium for recording program of signal monitoring device
WO2015109793A1 (en) Long luminance detection method and device
KR20140062665A (en) Optical line terminal and optical network unit for supporting sleep mode thereof
JP2006197447A (en) Constant light emission prevention circuit in optical transmitter
US20210266064A1 (en) Optical network device with abnormal light emission detection
JP5084629B2 (en) Subscriber termination device and power supply control method
TWI404352B (en) Optical transmitter to prevent the light to prevent the circuit
WO2016192285A1 (en) System and method for detecting abnormal light emission of ont by olt in pon system
WO2015100520A1 (en) Uplink optical signal power detecting method, device, optical line terminal and optical network system
KR100914635B1 (en) Optical line termination
JP5100724B2 (en) Communication device, optical communication system, abnormal light emission stopping method, and abnormal light emission detection method
TWI611666B (en) Device and method capable of detecting and removing long-lighting phenomenon of rogue ONU
JP2014154992A (en) Optical communication system, optical communication device, monitoring device, and fault detection method
JP5012129B2 (en) Burst optical receiver, optical communication system, burst optical reception control method, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10835421

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10835421

Country of ref document: EP

Kind code of ref document: A1