Optical module

By using the MCU and register mechanism in the optical module, the LOS signal alarm threshold is adjusted in real time, which solves the problem that users cannot adjust the LOS signal alarm threshold, ensuring that the LOS signal alarm threshold is less than or equal to the received optical power alarm threshold, realizing the received optical power alarm with the received optical power alarm Synchronization of thresholds.

CN119070906APending Publication Date: 2024-12-03HISENSE BROADBAND MULTIMEDIA TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310646027.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-01
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing optical module does not define the LOS signal alarm threshold and can be configured registers. Users cannot adjust the LOS signal alarm threshold in real time, resulting in the received optical power alarm threshold that may be less than the LOS signal alarm threshold.

Method used

An optical module is designed, including an MCU and a register, and the first preset value or a write value is read as a LOS signal alarm threshold through the second indication value, and the write value in the fourth register is used as a received optical power alarm threshold. and the LOS signal alarm threshold, so that it is equal to the received optical power alarm threshold, ensuring that the LOS signal alarm threshold is less than or equal to the received optical power alarm threshold.

Benefits of technology

The user adjusts the LOS signal alarm threshold in real time so that it is less than or equal to the received optical power alarm threshold, avoiding the situation where the received optical power alarm threshold is less than the LOS signal alarm threshold.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070906A_ABST
    Figure CN119070906A_ABST
Patent Text Reader

Abstract

The invention provides an optical module. The optical module comprises a first register, a third register and a fourth register, the first register is used for storing a first preset value. The first preset value cannot be read and written by the user. The third register is used for storing the second indication value. The fourth register is to store a write value. And the MCU is used for selectively reading the first preset value or the write-in value as an LOS signal alarm threshold value according to the second indication value. And when the second indication value is the first numerical value, the MCU can read the write-in value as the LOS signal alarm threshold value. And when the second indication value is not the first value, the MCU can only read the first preset value as the LOS signal alarm threshold value. In the application, the write-in value is the LOS signal alarm threshold value, so that the LOS signal alarm threshold value is convenient to adjust in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical communication technology, and in particular to an optical module. Background Art

[0002] When there are many working scenarios for optical modules, customers may need to adjust the LOS signal alarm threshold in real time according to specific situations in different working scenarios. However, the existing communication protocol does not define a configurable register for the LOS signal alarm threshold, so users cannot adjust the LOS signal alarm threshold in real time. Summary of the invention

[0003] The present application provides an optical module, which facilitates users to adjust the LOS signal alarm threshold in real time.

[0004] An optical module, comprising:

[0005] A light source, used for emitting a local oscillator light beam;

[0006] A receiving optical fiber adapter, used for receiving optical signals outside the optical module;

[0007] The coherent optical component is connected to the light source and the receiving optical fiber adapter respectively, and is used to coherently demodulate the local oscillator light beam and the optical signal received by the receiving optical fiber adapter to obtain a current signal;

[0008] MCU, connected to coherent optical components, including:

[0009] A first register is used to store a first preset value; the first preset value is a first LOS signal alarm threshold, and the first preset value cannot be read or written by a user;

[0010] The third register is used to store a second indication value; the second indication value is used to indicate whether the optical module starts the configurable function of the alarm threshold of the received optical power;

[0011] The fourth register is used to store the written value;

[0012] The MCU is used for reading the written value as the LOS signal alarm threshold when the second indication value is the first value.

[0013] Beneficial effects: The present application provides an optical module, including a light source, a coherent optical component and an MCU. The light source and the MCU are connected to the coherent optical component respectively. The light source is used to emit a local oscillator light beam. The coherent optical component is used to coherently demodulate the local oscillator light beam and the received optical signal to obtain a current signal. The MCU includes a first register, a second register, a third register, a fourth register and a fifth register. The first register is used to store a first preset value. The first preset value is a first LOS signal alarm threshold, and the first preset value cannot be read or written by the user. The third register is used to store a second indication value. The second indication value is used to indicate whether the configurable function of the received optical power alarm threshold is enabled. When the second indication value is a first value, it indicates that the configurable function of the received optical power alarm threshold is enabled; when the second indication value is a second value, it indicates that the configurable function of the received optical power alarm threshold is not enabled. The fourth register is used to store a written value. When the second indication value is a first value, the configurable function of the received optical power alarm threshold can take effect, and the written value in the fourth register can take effect. That is, the MCU can use the written value as the received optical power alarm threshold for the received optical power alarm judgment. Since the first preset value as the LOS signal alarm threshold cannot be read and written by the user, the written value as the received optical power alarm threshold is equivalent to adjusting the received optical power alarm threshold, which may cause the received optical power alarm threshold to be less than the LOS signal alarm threshold. In order to avoid this problem, the written value stored in the fourth register is not only used as the second received optical power alarm threshold, but also as the second LOS signal alarm threshold. The written value is used as the received optical power alarm threshold and also as the LOS signal alarm threshold, so that the received optical power alarm threshold is equal to the LOS signal alarm threshold, avoiding the received optical power alarm threshold being less than the LOS signal alarm threshold. The MCU is used to select to read the first preset value or the written value as the LOS signal alarm threshold according to the second indication value. When the MCU reads that the second indication value is the first value, the written value can be read as the LOS signal alarm threshold. When the MCU reads that the second indication value is not the first value, the written value cannot be read as the LOS signal alarm threshold, and only the first preset value can be read as the LOS signal alarm threshold. In the present application, the written value is used as the LOS signal alarm threshold, which facilitates real-time adjustment of the LOS signal alarm threshold so that the LOS signal alarm threshold is less than or equal to the received optical power alarm threshold. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0015] Figure 1A partial architecture diagram of an optical communication system provided according to some embodiments;

[0016] Figure 2 A partial structural diagram of a host computer provided according to some embodiments;

[0017] Figure 3 A structural diagram of an optical module provided according to some embodiments;

[0018] Figure 4 is an exploded view of an optical module provided according to some embodiments;

[0019] Figure 5 An assembly diagram of a light emitting component, a light receiving component and a circuit board according to some embodiments;

[0020] Figure 6 A structural diagram of an MCU provided according to some embodiments;

[0021] Figure 7 A flowchart of a first method for reporting a LOS signal according to some embodiments;

[0022] Figure 8 A flowchart of a second method for reporting a LOS signal according to some embodiments;

[0023] Fig. 9 A flowchart of a method for reporting a received optical power alarm signal according to some embodiments;

[0024] Fig.10 The present invention is a flowchart of a third method for reporting a LOS signal according to some embodiments. DETAILED DESCRIPTION

[0025] Optical communication technology establishes information transmission between information processing devices. Optical communication technology loads information onto light and uses the propagation of light to achieve information transmission. Light loaded with information is data light. When data light propagates in information transmission equipment, it can reduce the loss of optical power and achieve high-speed, long-distance, and low-cost information transmission. Information that can be processed by information processing equipment exists in the form of electrical signals. Optical network terminals / gateways, routers, switches, mobile phones, computers, servers, tablets, and televisions are common information processing devices, and optical fibers and optical waveguides are common information transmission equipment.

[0026] The mutual conversion of data light and electrical signals between information processing equipment and information transmission equipment is realized through optical modules. For example, an optical fiber is connected to the data light input end and / or the data light output end of the optical module, and an optical network terminal is connected to the electrical signal input end and / or the electrical signal output end of the optical module; the first data light from the optical fiber is transmitted into the optical module, the optical module converts the first data light into a first electrical signal, and the optical module transmits the first electrical signal into the optical network terminal; the second electrical signal from the optical network terminal is transmitted into the optical module, the optical module converts the second electrical signal into a second data light, and the optical module transmits the second data light into the optical fiber. Since information processing devices can be connected to each other through an electrical signal network, at least one type of information processing device needs to be directly connected to the optical module, and it is not necessary for all types of information processing devices to be directly connected to the optical module. The information processing device directly connected to the optical module is called the host computer of the optical module.

[0027] Figure 1 FIG. 1 is a partial architecture diagram of an optical communication system provided according to some embodiments. Figure 1 As shown, the optical communication system is partially presented as a remote information processing device 1000 , a local information processing device 2000 , a host computer 100 , an optical module 200 , an optical fiber 101 and a network cable 103 .

[0028] One end of the optical fiber 101 extends toward the remote information processing device 1000, and the other end is connected to the optical interface of the optical module 200. The data light can be totally reflected in the optical fiber 101, and the propagation of the data light in the direction of total reflection can almost maintain the original optical power. The data light is totally reflected multiple times in the optical fiber 101, and the data light from the direction of the remote information processing device 1000 is transmitted into the optical module 200, or the light from the optical module 200 is propagated toward the remote information processing device 1000, so as to realize long-distance and low-power-loss information transmission.

[0029] The number of optical fibers 101 may be one or more (two or more); the optical fiber 101 and the optical module 200 may be connected in a pluggable movable manner or in a fixed manner.

[0030] The host computer 100 has an optical module interface 102, which is configured to access the optical module 200, so that the host computer 100 establishes a unidirectional / bidirectional electrical signal connection with the optical module 200; the host computer 100 is configured to provide data signals to the optical module 200, or receive data signals from the optical module 200, or monitor and control the working status of the optical module 200.

[0031] The host computer 100 has an external electrical interface, such as a Universal Serial Bus (USB) interface and a network cable interface 104, which can be connected to an electrical signal network. For example, the network cable interface 104 is configured to connect to the network cable 103, so that the host computer 100 and the network cable 103 establish a unidirectional / bidirectional electrical signal connection.

[0032] Optical Network Unit (ONU), Optical Line Terminal (OLT), Optical Network Equipment (ONT) and Data Center Server are common host computers.

[0033] One end of the network cable 103 is connected to the local information processing device 2000 , and the other end is connected to the host computer 100 . The network cable 103 establishes an electrical signal connection between the local information processing device 2000 and the host computer 100 .

[0034] For example, the third electrical signal emitted by the local information processing device 2000 is transmitted to the host computer 100 through the network cable 103. The host computer 100 generates a second electrical signal based on the third electrical signal. The second electrical signal from the host computer 100 is transmitted to the optical module 200. The optical module 200 converts the second electrical signal into a second data light. The optical module 200 transmits the second data light into the optical fiber 101. The second data light is transmitted to the remote information processing device 1000 in the optical fiber 101.

[0035] For example, the first data light from the direction of the remote information processing device 1000 propagates through the optical fiber 101, the first data light from the optical fiber 101 is transmitted into the optical module 200, the optical module 200 converts the first data light into a first electrical signal, the optical module 200 transmits the first electrical signal into the host computer 100, the host computer 100 generates a fourth electrical signal based on the first electrical signal, and the host computer 100 transmits the fourth electrical signal to the local information processing device 2000.

[0036] The optical module is a tool for realizing the mutual conversion between data light and electrical signals. During the above-mentioned conversion process between data light and electrical signals, the information does not change, but the encoding and decoding method of the information can change.

[0037] Figure 2 FIG. 1 is a partial structural diagram of a host computer according to some embodiments. In order to clearly show the connection relationship between the optical module 200 and the host computer 100, Figure 2 Only the structures related to the host computer 100 and the optical module 200 are shown. Figure 2As shown, the host computer 100 also includes a PCB circuit board 105 arranged in the shell, a cage 106 arranged on the surface of the PCB circuit board 105, a heat sink 107 arranged on the cage 106, and an electrical connector (not shown in the figure) arranged inside the cage 106. The heat sink 107 has a protruding structure that increases the heat dissipation area, and the fin-shaped structure is a common protruding structure.

[0038] The optical module 200 is inserted into the cage 106 of the host computer 100, and the cage 106 fixes the optical module 200. The heat generated by the optical module 200 is transferred to the cage 106 and then diffused through the heat sink 107. After the optical module 200 is inserted into the cage 106, the electrical interface of the optical module 200 is connected to the electrical connector inside the cage 106.

[0039] Figure 3 is a structural diagram of an optical module provided according to some embodiments, Figure 4 FIG. 1 is an exploded view of an optical module provided according to some embodiments. Figure 3 and Figure 4 As shown, the optical module 200 includes a shell, a circuit board 300 disposed in the shell, a light source 400 and a coherent optical component 500. The shell includes an upper shell 201 and a lower shell 202, and the upper shell 201 covers the lower shell 202 to form the above shell with two openings 204 and 205; the outer contour of the shell generally presents a square body.

[0040] In some embodiments, the lower shell 202 includes a bottom plate 2021 and two lower side plates 2022 located on both sides of the bottom plate 2021 and arranged perpendicular to the bottom plate 2021; the upper shell 201 includes a cover plate 2011, and the cover plate 2011 covers the two lower side plates 2022 of the lower shell 202 to form the above-mentioned shell.

[0041] In some embodiments, the lower shell 202 includes a bottom plate 2021 and two lower side plates 2022 located on both sides of the bottom plate 2021 and vertically arranged with the bottom plate 2021; the upper shell 201 includes a cover plate 2011 and two upper side plates located on both sides of the cover plate 2011 and vertically arranged with the cover plate 2011, and the two upper side plates are combined with the two lower side plates 2022 to realize that the upper shell 201 covers the lower shell 202.

[0042] The direction of the line connecting the two openings 204 and 205 may be consistent with the length direction of the optical module 200, or may be inconsistent with the length direction of the optical module 200. For example, the opening 204 is located at the end of the optical module 200 ( Figure 3 The opening 205 is also located at the end of the optical module 200 ( Figure 3Alternatively, the opening 204 is located at the end of the optical module 200, and the opening 205 is located at the side of the optical module 200. The opening 204 is an electrical interface, and the gold finger of the circuit board 300 extends from the electrical interface and is inserted into the electrical connector of the host computer; the opening 205 is an optical port, which is configured to access the optical fiber 101 so that the optical fiber 101 is connected to the optical emitting component 400 and / or the optical receiving component 500 in the optical module 200.

[0043] The assembly method of combining the upper housing 201 and the lower housing 202 facilitates the installation of components such as the circuit board 300, the light source 400 and the coherent optical component 500 into the above housing, and the upper housing 201 and the lower housing 202 can encapsulate and protect the shapes of these components. In addition, when assembling components such as the circuit board 300, the light source 400 and the coherent optical component 500, it is convenient to deploy the positioning components, heat dissipation components and electromagnetic shielding components of these devices, which is conducive to automated production.

[0044] In some embodiments, the upper shell 201 and the lower shell 202 are made of metal materials to facilitate electromagnetic shielding and heat dissipation.

[0045] In some embodiments, the optical module 200 further includes an unlocking component 203 located outside its housing. The unlocking component 203 is configured to achieve a fixed connection between the optical module 200 and the host computer, or to release the fixed connection between the optical module 200 and the host computer.

[0046] For example, the unlocking component 203 is located on the outside of the two lower side plates 2022 of the lower housing 202, and includes a snap-fit ​​component that matches the cage 106 of the host computer. When the optical module 200 is inserted into the cage 106, the snap-fit ​​component of the unlocking component 203 fixes the optical module 200 in the cage 106; when the unlocking component 203 is pulled, the snap-fit ​​component of the unlocking component 203 moves accordingly, thereby changing the connection relationship between the snap-fit ​​component and the host computer, so as to release the snap-fit ​​fixed connection between the optical module 200 and the host computer, so that the optical module 200 can be pulled out of the cage 106.

[0047] The circuit board 300 includes circuit traces, electronic components and chips, etc. The electronic components and chips are connected together according to the circuit design through the circuit traces to realize the functions of power supply, electrical signal transmission and grounding. The electronic components may include capacitors, resistors, triodes, metal-oxide-semiconductor field-effect transistors (MOSFET), etc. The chips may include microcontroller units (MCU), laser driver chips, transimpedance amplifiers (TIA), limiting amplifiers, clock and data recovery chips (CDR), power management chips, and digital signal processing (DSP) chips.

[0048] The circuit board 300 is generally a rigid circuit board. Due to its relatively hard material, the rigid circuit board can also realize the load-bearing function. For example, the rigid circuit board can stably carry the above-mentioned electronic components and chips; the rigid circuit board is also easy to insert into the electrical connector in the upper computer cage.

[0049] The circuit board 300 also includes a gold finger formed on the end surface thereof, and the gold finger is composed of a plurality of independent pins. The circuit board 300 is inserted into the cage 106, and the gold finger is connected to the electrical connector in the cage 106. The gold finger can be provided on the surface of only one side of the circuit board 300 (for example, Figure 4 The gold finger is configured to establish an electrical connection with the host computer to achieve power supply, grounding, I2C signal transmission, data signal transmission, etc.

[0050] Of course, flexible circuit boards are also used in some optical modules. Flexible circuit boards are generally used in conjunction with rigid circuit boards to supplement rigid circuit boards.

[0051] The light source 400 is connected to the circuit board 300 and is used to emit a preset specific wavelength light beam and a local oscillator light beam. In some embodiments, the light source 400 includes a semiconductor gain chip and a silicon photonic chip. The semiconductor gain chip emits a light beam in a wavelength range. The silicon photonic chip selects a specific wavelength light beam from the light beam in a wavelength range. The specific wavelength light beam is reflected back and forth between the silicon photonic chip and the semiconductor gain chip, so that the silicon photonic chip and the semiconductor gain chip form a resonant cavity to achieve stable output of the specific wavelength light beam.

[0052] The optical module further includes a transmitting optical fiber adapter 600 and a receiving optical fiber adapter 601. The transmitting optical fiber adapter 600 is used to transmit high-speed optical signals, and the receiving optical fiber adapter 601 is used to receive high-speed optical signals.

[0053] The coherent optical component 500 is placed on the circuit board and is used to realize the conversion of high-speed optical and electrical signals. Specifically, the coherent optical component 500 includes an optical transmission interface, an optical receiving interface and a local oscillator optical interface. The optical transmission interface extends a first optical fiber, the optical receiving interface extends a second optical fiber, the local oscillator optical interface extends a third optical fiber, the optical transmission interface is connected to the transmission optical fiber adapter 600, the optical receiving interface is connected to the receiving optical fiber adapter 601, and the local oscillator optical interface is connected to the light source 400. The coherent optical component is connected to the transmission optical fiber adapter, the receiving optical fiber adapter and the light source 400 respectively through the optical transmission interface, the optical receiving interface and the local oscillator optical interface, and the coherent optical component 500 is also connected to the DSP chip.

[0054] The narrow line width and high power laser emitted by the light source 400 is input into the coherent optical component 500 through the local oscillator optical interface, and the laser is split inside the coherent optical component 500, one of which is used as the emission beam and enters the coherent modulator inside the coherent optical component, and realizes the electro-optical signal conversion under the drive of the high-speed electrical signal of the DSP chip, and the converted high-speed optical signal is output from the optical transmission interface of the module; the other beam is used as the local oscillator beam, and is coherently demodulated with the high-speed optical signal input into the coherent optical component 500 from the optical receiving interface of the module, and the demodulated electrical signal enters the DSP chip for signal processing, thereby completing the photoelectric signal conversion. Among them, the narrow line width and high power laser is a specific wavelength beam, and the demodulated electrical signal is a current signal.

[0055] The light source 400 further includes an internal optical fiber adapter, a first optical fiber is extended from the internal optical fiber adapter, a local oscillator optical interface extends a local oscillator optical fiber, the first optical fiber is fused and connected with the local oscillator optical fiber, so that the internal optical fiber adapter is connected with the local oscillator optical interface. A second optical fiber is extended from the transmitting optical fiber adapter 600, the optical transmitting interface extends the transmitting optical fiber, the second optical fiber is fused and connected with the transmitting optical fiber, so that the transmitting optical fiber adapter 600 is connected with the optical transmitting interface. A third optical fiber is extended from the receiving optical fiber adapter 601, the optical receiving interface extends the receiving optical fiber, the third optical fiber is fused and connected with the receiving optical fiber, so that the receiving optical fiber adapter 601 is connected with the optical receiving interface.

[0056] In some embodiments, the circuit board 300 is further provided with an MCU 301 and a sampling circuit, the MCU is connected to the coherent optical component 500 and the sampling circuit respectively, and the coherent optical component 500 is also connected to the sampling circuit. The sampling circuit is used to convert the current signal of the coherent optical component 500 into a voltage signal. The MCU 301 collects the voltage signal.

[0057] Figure 5The figure is an assembly diagram of a light emitting component, a light receiving component and a circuit board according to some embodiments. Figure 6 FIG. 1 is a structural diagram of an MCU provided according to some embodiments. Figure 5 and Figure 6 As shown, in some embodiments, MCU 301 includes a first register 3011 , a second register 3012 , a third register 3013 , a fourth register 3014 , a fifth register 3015 , a sixth register and a seventh register.

[0058] In some embodiments, the first register 3011 is used to store a first preset value. The first preset value is a first LOS signal alarm threshold, and the first LOS signal alarm threshold is a LOS signal default alarm threshold. Since the first register 3011 is not open to the user, that is, the user cannot read and write the data in the first register 3011, the first preset value stored in the first register 3011 cannot be read and written by the user.

[0059] In some embodiments, the second register 3012 is used to store a first indication value. The first indication value is used to indicate whether the configurable function of the received optical power alarm threshold is implemented, that is, whether the optical module has the configurable function of the received optical power alarm threshold. When the first indication value is a first value, it indicates that the configurable function of the received optical power alarm threshold is implemented, that is, the optical module has the configurable function of the received optical power alarm threshold; when the first indication value is a second value, it indicates that the configurable function of the received optical power alarm threshold is not implemented, that is, the optical module does not have the configurable function of the received optical power alarm threshold.

[0060] Since the second register 3012 is only partially open to the user, that is, the user can read the data in the second register 3012 but cannot write it, the first indication value stored in the second register 3012 can be read by the user but cannot be written by the user.

[0061] In some embodiments, the third register 3013 is used to store a second indication value. The second indication value is used to indicate whether the configurable function of the received optical power alarm threshold is enabled, that is, whether the optical module starts the configurable function of the received optical power alarm threshold. When the second indication value is a first value, it indicates that the configurable function of the received optical power alarm threshold is enabled, that is, the optical module starts the configurable function of the received optical power alarm threshold; when the second indication value is a second value, it indicates that the configurable function of the received optical power alarm threshold is not enabled, that is, the optical module does not start the configurable function of the received optical power alarm threshold.

[0062] When the first indication value and the second indication value are both the first value, it indicates that the optical module not only has the configurable function of the received optical power alarm threshold, but also has the configurable function of the received optical power alarm threshold turned on. When the first indication value is the first value and the second indication value is the second value, it indicates that the optical module has the configurable function of the received optical power alarm threshold, but has not turned on the configurable function of the received optical power alarm threshold. When the first indication value is the second value and the second indication value is the first value, it indicates that the optical module does not have the configurable function of the received optical power alarm threshold, and has turned on the configurable function of the received optical power alarm threshold. When the first indication value is the second value and the second indication value is the second value, it indicates that the optical module does not have the configurable function of the received optical power alarm threshold, and has not turned on the configurable function of the received optical power alarm threshold.

[0063] Since the third register 3013 is fully open to the user, that is, the user can read and write the data in the third register 3013, the second indication value stored in the third register 3013 can be read and written by the user.

[0064] In some embodiments, the fourth register 3014 is used to store a written value. The written value is a second received optical power alarm threshold and a second LOS signal alarm threshold. The second received optical power alarm threshold is a configurable received optical power alarm threshold, and the second LOS signal alarm threshold is a configurable LOS signal alarm threshold.

[0065] Since the fourth register 3014 is fully open to the user, that is, the user can read and write the data in the fourth register 3014, the write value stored in the fourth register 3014 can be read and written by the user.

[0066] The fourth register 3014 is a configurable register for the received optical power alarm threshold, that is, the user can adjust the received optical power alarm threshold in real time. When the received optical power alarm threshold needs to be adjusted in real time, the user only needs to adjust the written value in the fourth register 3014 through the host computer.

[0067] In the actual working scenario of the optical module, it may be necessary not only to adjust the received optical power alarm threshold in real time, but also to adjust the LOS signal alarm threshold in real time. The LOS signal alarm threshold configurable register is not defined in the communication protocol, and the user cannot adjust the LOS signal alarm threshold in real time. However, the fourth register 3014 is a received optical power alarm threshold configurable register, and the optical module requires that the LOS signal alarm threshold is less than or equal to the received optical power alarm threshold, so the fourth register 3014 can be directly used as a LOS signal alarm threshold configurable register, that is, the write value in the fourth register 3014 is not only the second received optical power alarm threshold, but also the second LOS signal alarm threshold.

[0068] In some embodiments, MCU301 is used to determine the first preset value or the written value as the LOS signal alarm threshold according to the second indication value. When the second indication value is the first value, the configurable function of the received optical power alarm threshold can take effect, and the written value in the fourth register can take effect. That is, the MCU can use the written value as the LOS signal alarm threshold for LOS signal alarm judgment.

[0069] In some embodiments, MCU301 is used to determine a first preset value or a written value as a LOS signal alarm threshold according to a first indication value and a second indication value. When the first indication value and the second indication value are both first values, the configurable function of the received optical power alarm threshold can take effect, and the written value in the fourth register can take effect. That is, the MCU can use the written value as the LOS signal alarm threshold for LOS signal alarm judgment. When the first indication value and the second indication value are not both the first values, the configurable function of the received optical power alarm threshold cannot take effect, and the written value in the fourth register cannot take effect. That is, the MCU cannot use the written value as the LOS signal alarm threshold, and can only use the first preset value as the LOS signal alarm threshold.

[0070] In some embodiments, the sixth register is used to store a third indication value, and the third indication value is used to indicate whether a LOS signal alarm occurs in the optical module. When the third indication value is a first value, it indicates that a LOS signal alarm occurs in the optical module; when the third indication value is a second value, it indicates that no LOS signal alarm occurs in the optical module, that is, the LOS signal alarm occurs in the optical module and is cancelled. The upper computer reads the third indication value to know whether a LOS signal alarm occurs in the optical module.

[0071] MCU301 is also used for: when the first indication value and the second indication value are not both the first value, reading the first preset value as the LOS signal alarm threshold; when the received optical power is less than the first preset value, configuring the third indication value as the first value; when the received optical power is greater than the first preset value and the received optical power is greater than the second preset value, configuring the third indication value as the second value; when the first indication value and the second indication value are both the first value, reading the written value as the LOS signal alarm threshold; when the received optical power is less than the written value, configuring the third indication value as the first value; when the received optical power is greater than the written value and the received optical power is greater than the calculated value, configuring the third indication value as the second value. Wherein, the second preset value is calculated by the MCU according to the first preset value, the calculated value is calculated by the MCU according to the written value, the second preset value is the first LOS signal alarm cancellation threshold, the difference between the second preset value and the first preset value is within the preset range, the calculated value is the second LOS signal alarm cancellation threshold, the difference between the calculated value and the written value is within the preset range, and the preset range is 0.5dBm-2dBm. By way of example, the difference between the calculated value and the written value is 1.5 dBm.

[0072] In some embodiments, the fifth register 3015 is used to store a third preset value. The third preset value is a first received optical power alarm threshold.

[0073] Since the fifth register 3015 is not open to the user, that is, the user cannot read and write the data in the fifth register 3015, the third preset value stored in the fifth register 3015 cannot be read and written by the user.

[0074] In some embodiments, MCU301 is used to determine the written value or the third preset value as the received optical power alarm threshold according to the second indication value. When the second indication value is the first value, the received optical power alarm threshold configurable function can take effect, and the written value in the fourth register can take effect. That is, the MCU can use the written value as the received optical power alarm threshold for the received optical power alarm judgment.

[0075] In some embodiments, MCU301 is used to determine the first preset value or the written value as the received optical power alarm threshold according to the second indication value. When the second indication value is the first value, the received optical power alarm threshold configurable function can take effect, and the written value in the fourth register can take effect. That is, the MCU can use the written value as the received optical power alarm threshold for the received optical power alarm judgment.

[0076] In some embodiments, the seventh register is used to store a fourth indication value. The fourth indication value is used to indicate whether the received optical power alarm occurs. When the fourth indication value is a first value, it indicates that the optical module has a received optical power alarm; when the fourth indication value is a second value, it indicates that the optical module has no received optical power alarm. The upper computer reads the fourth indication value to know whether the optical module has a received optical power alarm.

[0077] MCU301 is also used for: when the first indication value and the second indication value are not both the first numerical value, reading the third preset value as the received optical power alarm threshold; when the received optical power is less than the third preset value, configuring the fourth indication value as the first numerical value; when the first indication value and the second indication value are both the first numerical value, reading the written value as the received optical power alarm threshold; when the received optical power is less than the third preset value, configuring the fourth indication value as the first numerical value.

[0078] When the first indication value and the second indication value are both the first value, the configurable function of the received optical power alarm threshold can take effect, and the written value in the fourth register can take effect, that is, the MCU can use the written value as the received optical power alarm threshold for the received optical power alarm judgment.

[0079] In some embodiments, the MCU includes a first register, a second register, a third register, a fourth register, and a fifth register. The first register is used to store a first preset value. The first preset value is a first LOS signal alarm threshold, and the first preset value cannot be read or written by the user. The third register is used to store a second indication value. The second indication value is used to indicate whether the configurable function of the received optical power alarm threshold is enabled. When the second indication value is a first value, it indicates that the configurable function of the received optical power alarm threshold is enabled; when the second indication value is a second value, it indicates that the configurable function of the received optical power alarm threshold is not enabled. The fourth register is used to store a written value. When the second indication value is a first value, the configurable function of the received optical power alarm threshold can take effect, and the written value in the fourth register can take effect. That is, the MCU can use the written value as the received optical power alarm threshold for the received optical power alarm judgment. Since the first preset value cannot be read or written by the user as the LOS signal alarm threshold, the written value as the received optical power alarm threshold is equivalent to adjusting the received optical power alarm threshold, which may cause the received optical power alarm threshold to be less than the LOS signal alarm threshold. In order to avoid this problem, the write value stored in the fourth register serves not only as the second received optical power alarm threshold, but also as the second LOS signal alarm threshold. The write value serves as the received optical power alarm threshold and also as the LOS signal alarm threshold, so that the received optical power alarm threshold is equal to the LOS signal alarm threshold, avoiding the received optical power alarm threshold being less than the LOS signal alarm threshold. The MCU is used to select to read the first preset value or the write value as the LOS signal alarm threshold according to the second indication value. When the MCU reads that the second indication value is the first numerical value, the write value can be read as the LOS signal alarm threshold. When the MCU reads that the second indication value is not the first numerical value, the write value cannot be read as the LOS signal alarm threshold, and only the first preset value can be read as the LOS signal alarm threshold. In the present application, the write value is used as the LOS signal alarm threshold, which is convenient for real-time adjustment of the LOS signal alarm threshold so that the LOS signal alarm threshold is less than or equal to the received optical power alarm threshold.

[0080] In addition to providing an optical module, the present application also provides a method for reporting a LOS signal. Figure 7 FIG. 1 is a flow chart of a first method for reporting a LOS signal according to some embodiments. Figure 7 As shown, in some embodiments, the determination method includes:

[0081] S100: Determine whether the received optical power is less than a first preset value.

[0082] The first preset value is a first LOS signal alarm threshold, which is a default alarm threshold of the LOS signal and cannot be read or written by a user.

[0083] The MCU first obtains the voltage signal of the light detector and converts the voltage signal into the received optical power. The MCU determines whether the received optical power is less than a first preset value.

[0084] S200: If the received optical power is less than the first preset value, configure the third indication value to be the first value.

[0085] The first LOS signal is used to indicate a received optical signal loss alarm. The second LOS signal is used to indicate a received optical signal loss alarm cancellation.

[0086] S300: If the received optical power is greater than the first preset value, determine whether the received optical power is greater than a second preset value.

[0087] The second preset value is the first LOS signal alarm cancellation threshold, and the first LOS signal alarm cancellation threshold is the LOS signal default alarm cancellation threshold. The second preset value does not exist in the first register, and the second preset value is calculated by the MCU according to the first preset value. The second preset value = the first preset value + the preset range, where the preset range is 0.5dBm-2dBm.

[0088] S400: If the received optical power is greater than the second preset value, configure the third indication value to be the second value.

[0089] In this method for reporting a LOS signal, a first preset value for representing a LOS signal alarm threshold is stored in a first register, and the first register cannot be read or written by a user, that is, the LOS signal alarm threshold cannot be adjusted in real time.

[0090] In the actual working scenario of the optical module, it may be necessary not only to adjust the received optical power alarm threshold in real time, but also to adjust the LOS signal alarm threshold in real time. However, the LOS signal alarm threshold configurable register is not defined in the communication protocol, and the user cannot adjust the LOS signal alarm threshold in real time. However, the fourth register 3014 is a received optical power alarm threshold configurable register, and the optical module requires that the LOS signal alarm threshold is less than or equal to the received optical power alarm threshold, so the fourth register 3014 can be directly used as a LOS signal alarm threshold configurable register, that is, the write value in the fourth register 3014 is not only the second received optical power alarm threshold, but also the second LOS signal alarm threshold.

[0091] When the fourth register 3016 is used as a configurable register for the LOS signal alarm threshold, that is, the LOS signal alarm threshold can be adjusted in real time, the method for reporting the LOS signal includes: the MCU determines a first preset value or a written value as the LOS signal alarm threshold according to the second indication value, and when the second indication value is the first value, reads the written value as the LOS signal alarm threshold, and finally configures the third indication value to the first value when the received optical power is less than the written value.

[0092] Figure 8 FIG. 1 is a flow chart of a second method for reporting a LOS signal according to some embodiments. Figure 8 As shown, in some embodiments, the method includes:

[0093] S101: Determine whether the first indication value and the second indication value are both first values.

[0094] The first indication value can be read by the user but cannot be written by the user.

[0095] The first indication value is used to indicate whether the configurable function of the received optical power alarm threshold is implemented, that is, whether the optical module has the configurable function of the received optical power alarm threshold. When the first indication value is a first value, it indicates that the configurable function of the received optical power alarm threshold is implemented, that is, the optical module has the configurable function of the received optical power alarm threshold; when the first indication value is a second value, it indicates that the configurable function of the received optical power alarm threshold is not implemented, that is, the optical module does not have the configurable function of the received optical power alarm threshold.

[0096] The second indication value can be read and written by the user.

[0097] The second indicator value is used to indicate whether the configurable function of the received optical power alarm threshold is enabled, that is, whether the optical module starts the configurable function of the received optical power alarm threshold. When the second indicator value is the first value, it indicates that the configurable function of the received optical power alarm threshold is enabled, that is, the optical module starts the configurable function of the received optical power alarm threshold; when the second indicator value is the second value, it indicates that the configurable function of the received optical power alarm threshold is not enabled, that is, the optical module does not start the configurable function of the received optical power alarm threshold.

[0098] When the first indication value and the second indication value are both the first value, it indicates that the optical module not only has the configurable function of the received optical power alarm threshold, but also turns on the configurable function of the received optical power alarm threshold, that is, the configurable function of the received optical power alarm threshold can take effect. The configurable function of the received optical power alarm threshold can take effect, the written value in the fourth register can take effect, and the MCU can use the written value as the LOS signal alarm threshold for LOS signal alarm judgment.

[0099] When the first indication value and the second indication value are not both the first value, the configurable function of the received optical power alarm threshold cannot take effect, and the written value in the fourth register cannot take effect. That is, the MCU cannot use the written value as the LOS signal alarm threshold, and can only use the first preset value as the LOS signal alarm threshold.

[0100] S201: If the first indication value and the second indication value are not both the first value, determine whether the received optical power is less than a first preset value.

[0101] If the first indication value is a first value and the second indication value is a second value, or the first indication value is a second value and the second indication value is a first value, or the first indication value is a second value and the second indication value is a second value, then read the first preset value and determine whether the received optical power is less than the first preset value.

[0102] If the first indication value and the second indication value are not both the first numerical value, the MCU reads the first preset value as the LOS signal alarm threshold, and determines whether the received optical power is less than the first preset value.

[0103] S301: If the received optical power is less than a first preset value, configure the third indication value to be the first value.

[0104] S401: If the received optical power is greater than the first preset value, determine whether the received optical power is greater than the second preset value.

[0105] S501: If the received optical power is greater than the second preset value, the third indication value is configured as the second value. If the received optical power is less than the second preset value, the process ends.

[0106] S301 - S401 - S501 are the same as S300 - S400 - S500 in the above embodiment, and all of them use the default alarm threshold of the LOS signal as the alarm threshold of the LOS signal.

[0107] S601: If the first indication value and the second indication value are both first values, determine whether the received optical power is less than the written value.

[0108] The written value can be read and written by the user, and the written value is the second LOS signal alarm threshold, and the second LOS signal alarm threshold is a configurable alarm threshold of the LOS signal.

[0109] If the first indication value and the second indication value are both the first numerical value, the MCU reads the written value as the LOS signal alarm threshold, and determines whether the received optical power is less than the written value.

[0110] S701: If the received optical power is less than the written value, configure the third indication value to be the first value.

[0111] S801: If the received optical power is greater than the written value, determine whether the received optical power is greater than the calculated value.

[0112] The calculated value is the second LOS signal alarm cancellation threshold, and the second LOS signal alarm cancellation threshold is the LOS signal configurable alarm cancellation threshold. The calculated value is not stored in the fourth register, and the calculated value is calculated by the MCU according to the written value. Calculated value = written value + preset range, where the preset range is 0.5dBm-2dBm.

[0113] S901: If the received optical power is greater than the calculated value, configure the third indication value to be the second value. If the received optical power is less than the calculated value, end.

[0114] A method for reporting a received optical power alarm signal, comprising: an MCU determines a third preset value or a written value as a received optical power alarm threshold according to a second indication value, and when the second indication value is a first value, reads the written value as the received optical power alarm threshold, and finally when the received optical power is less than the written value, configures a fourth indication value as the first value.

[0115] Fig. 9 Flow chart of a method for reporting a received optical power alarm signal according to some embodiments. Fig. 9 As shown, in some embodiments, the method includes:

[0116] T100: Determine whether the first indication value and the second indication value are both first values.

[0117] When the first indication value and the second indication value are both the first value, it indicates that the optical module not only has the configurable function of the received optical power alarm threshold, but also turns on the configurable function of the received optical power alarm threshold, that is, the configurable function of the received optical power alarm threshold can take effect. The configurable function of the received optical power alarm threshold can take effect, the written value in the register can take effect, and the MCU can use the written value as the received optical power alarm threshold for the received optical power alarm judgment.

[0118] When the first indication value and the second indication value are not both the first value, the configurable function of the received optical power alarm threshold cannot take effect, and the written value in the fourth register cannot take effect. That is, the MCU cannot use the written value as the received optical power alarm threshold, and can only use the third preset value as the received optical power alarm threshold.

[0119] T200: If the first indication value and the second indication value are not both the first value, determine whether the received optical power is less than a third preset value.

[0120] The third preset value cannot be read or written by the user. The third preset value is the first received optical power alarm threshold. The first received optical power alarm threshold is the received optical power default alarm threshold.

[0121] The received optical power is less than the third preset value, indicating that the received optical power is less than the received optical power default alarm threshold. The received optical power is greater than the third preset value, indicating that the received optical power is greater than the received optical power default alarm threshold.

[0122] If the first indication value and the second indication value are not both the first value, the MCU reads the third preset value as the received optical power alarm threshold, and determines whether the received optical power is less than the third preset value.

[0123] T300: If the received optical power is less than the third preset value, configure the fourth indication value to the first value. If the received optical power is greater than the third preset value, end.

[0124] T400: If the first indication value and the second indication value are both first values, determine whether the received optical power is less than the written value.

[0125] The written value can be read and written by the user, and the written value is the second received optical power alarm threshold, and the second received optical power alarm threshold is a configurable received optical power alarm threshold.

[0126] If the first indication value and the second indication value are not both the first value, the MCU reads the written value as the received optical power alarm threshold, and determines whether the received optical power is less than the written value.

[0127] If the received optical power is less than the written value, it indicates that the received optical power is less than the configurable alarm threshold for received optical power. If the received optical power is greater than the written value, it indicates that the received optical power is greater than the configurable alarm threshold for received optical power.

[0128] T500: If the received optical power is less than the written value, the fourth indication value is configured as the first value. If the received optical power is greater than the written value, the process ends.

[0129] Fig.10 FIG. 4 is a flowchart of a third method for reporting a LOS signal according to some embodiments. Fig.10 As shown, in some embodiments, the determination method includes:

[0130] t100: Determine whether the first indication value and the second indication value are both the first value.

[0131] t200: If the first indication value and the second indication value are not both the first value, determine whether the received optical power is less than a third preset value.

[0132] t300: If the received optical power is less than the third preset value, the fourth indication value is configured as the first value. If the received optical power is greater than the third preset value, the process ends.

[0133] t400: If the first indication value and the second indication value are both first values, determine whether the received optical power is less than the written value.

[0134] t500: If the received optical power is less than the written value, the fourth indication value is configured as the first value. If the received optical power is greater than the written value, the process ends.

[0135] t600: Determine whether the first indication value and the second indication value are both the first value.

[0136] t700: If the first indication value and the second indication value are not both the first value, determine whether the received optical power is less than a first preset value.

[0137] t800: If the received optical power is less than the first preset value, configure the third indication value to be the first value.

[0138] t900: If the received optical power is greater than the first preset value, determine whether the received optical power is greater than the second preset value.

[0139] t1000: If the received optical power is greater than the second preset value, the third indication value is configured as the second value. If the received optical power is less than the second preset value, the process ends.

[0140] t1100: If the first indication value and the second indication value are both first values, determine whether the received optical power is less than the written value.

[0141] t1200: If the received optical power is less than the written value, the third indication value is configured as the first value.

[0142] t1300: If the received optical power is greater than the written value, determine whether the received optical power is greater than the calculated value.

[0143] t1400: If the received optical power is greater than the calculated value, the third indication value is configured as the second value. If the received optical power is less than the calculated value, the process ends.

[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. An optical module, characterized in that: include: A light source, used for emitting a local oscillator light beam; A receiving optical fiber adapter, used for receiving optical signals outside the optical module; A coherent optical component, connected to the light source and the receiving optical fiber adapter, respectively, for coherently demodulating the local oscillator light beam and the optical signal received by the receiving optical fiber adapter to obtain a current signal; The MCU is connected to the coherent optical component and includes: A first register, used to store a first preset value; the first preset value is a first LOS signal alarm threshold, and the first preset value cannot be read or written by a user; A third register is used to store a second indication value; the second indication value is used to indicate whether the configurable function of the received optical power alarm threshold is enabled; The fourth register is used to store the written value; The MCU is used for reading the written value as the LOS signal alarm threshold when the second indication value is a first value.

2. The optical module according to claim 1, characterized in that: The MCU further comprises: The second register is used to store a first indication value; the first indication value is used to indicate whether the configurable function of the received optical power alarm threshold is implemented; The MCU is used for reading the written value as a LOS signal alarm threshold when the first indication value and the second indication value are both first numerical values.

3. The optical module according to claim 2, characterized in that: The MCU also includes a fifth register; The fifth register is used to store a third preset value, where the third preset value is a first received optical power alarm threshold, and the third preset value cannot be read or written by a user; The MCU is further configured to read the written value as a received optical power alarm threshold when the first indication value and the second indication value are both first numerical values.

4. The optical module according to claim 1, characterized in that: The MCU also includes a sixth register; The sixth register is used to store a third indication value; the third indication value is used to indicate whether a LOS signal alarm occurs in the optical module; The MCU is also used for: When the first indication value and the second indication value are not both first values, reading the first preset value as the LOS signal alarm threshold; When the received optical power is less than the first preset value, configuring the third indication value to be a first value; When the first indication value and the second indication value are both first values, reading the written value as a LOS signal alarm threshold; When the received optical power is less than the written value, the third indication value is configured as the first value.

5. The optical module according to claim 4, characterized in that: The MCU also includes a seventh register; The seventh register is used to store a fourth indication value; the fourth indication value is used to indicate whether a receiving optical power alarm occurs in the optical module; The MCU is also used for: When the first indication value and the second indication value are not both the first numerical value, reading the third preset value as the received optical power alarm threshold; When the received optical power is less than the third preset value, configuring the fourth indication value to be the first value; When the first indication value and the second indication value are both first numerical values, reading the written value as a received optical power alarm threshold; When the received optical power is less than the written value, the fourth indication value is configured as the first value.

6. The optical module according to claim 1, characterized in that: The first indication value can be read by a user but cannot be written by a user.

7. The optical module according to claim 1, characterized in that: The second indication value can be read and written by a user.

8. The optical module according to claim 1, characterized in that: Also includes a sampling circuit; The sampling circuit is connected to the coherent optical component and the MCU respectively, and is used to convert the current signal into a voltage signal; the MCU is also used to convert the read voltage signal into received optical power.

9. A method for reporting a LOS signal, characterized in that: The method comprises: Determine whether the first indication value and the second indication value are both the first value; If the first indication value and the second indication value are not both the first numerical value, determining whether the received optical power is less than a first preset value; If the received optical power is less than the first preset value, configuring the third indication value to be the first value; If the first indication value and the second indication value are both first values, determining whether the received optical power is less than the written value; If the received optical power is less than the written value, the third indication value is configured as the first value.

10. The method according to claim 9, characterized in that The method further comprises: Determine whether the first indication value and the second indication value are both the first value; If the first indication value and the second indication value are not both the first value, determining whether the received optical power is less than a third preset value; If the received optical power is less than the third preset value, configuring the fourth indication value to be the first value; If the first indication value and the second indication value are both first values, determining whether the received optical power is less than the written value; If the received optical power is less than the written value, the fourth indication value is configured as the first value.