A method, device and optical module for automatically configuring RSSI interface
By solidifying the RSSI interface timing parameters inside the optical module and automatically configuring the trigger signal delay and width of the MAC chip, the problem of inconsistent RSSI interface timing in the PON system is solved, and precise control of the optical module and accuracy of optical power testing are achieved.
Patent Information
- Application Number
- CN202310239852.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2043-03-13
AI Technical Summary
In the PON system, in the prior art, when the RSSI interface timing parameters are inconsistent and the optical module is replaced or the cost is reduced, the software needs to be manually adjusted, resulting in large errors in PON line diagnosis and inability to accurately read the optical power.
By solidifying the RSSI interface timing parameters inside the optical module, the trigger signal delay and width of the MAC chip are automatically configured to meet the requirements of the optical module and achieve accurate RSSI sampling.
It can be applied to different PON systems without identifying the optical module model and software upgrade, accurately testing the ONU received optical power, and avoiding large-scale weak light alarms and optical power reading errors.
Smart Images

Figure CN116366148B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of passive optical networks, and in particular to a method, a device and an optical module for automatically configuring an RSSI interface. Background Art
[0002] Currently, PON (Passive Optical Network) uplinks operate in burst mode. Due to differences in light intensity, distance, and line loss, the optical power reaching the optical line terminal (OLT) varies from one ONU (Optical Network Unit) to another. The OLT needs to measure the received optical power of each ONU. Optical power measurement is a crucial step in PON engineering applications and forms the basis for PON line diagnostics and low-light detection. Received optical power measurement is achieved using the Received Signal Strength Indicator (RSSI) function.
[0003] Research has found that RSSI interface timing parameters are closely related to the circuit design of OLT optical modules. Different manufacturers have different sample-and-hold circuit implementations, resulting in different RSSI interface timing parameter requirements for optical modules. Even different OLT optical modules from the same manufacturer, or different chip solutions for the same optical module, may have different value ranges. Because related technologies fix parameters in a single-disk software disk—that is, the timing of the trigger signal emitted by the MAC chip is pre-set in the software based on the RSSI interface timing parameters in the manual for a specific optical module—when adding new optical modules or replacing existing optical modules to reduce costs, the software needs to set different values based on the specific optical module's needs, which can be easily overlooked. Excessive PON line diagnostic errors have been repeatedly observed in engineering applications, leading to widespread low-light alarms or the inability to read optical power. Summary of the Invention
[0004] The embodiment of the present invention provides a method, device and optical module for automatically configuring an RSSI interface, which automatically configures the RSSI timing between a MAC and an optical module at an OLT end, thereby correctly reading the received optical power of an ONU at the OLT end.
[0005] In a first aspect, a method for automatically configuring an RSSI interface is provided, wherein the method comprises the steps of:
[0006] The RSSI interface timing parameters are read from the corresponding area of the optical module, where the RSSI interface timing parameters are solidified in the corresponding area.
[0007] Determining whether the trigger signal sent by the MAC chip meets the requirements of the optical module based on the RSSI interface timing parameters, and delaying and / or stretching the trigger signal to meet the requirements of the optical module if the requirements are not met;
[0008] RSSI sampling is started based on the Trigger signal when the requirement of the optical module is met.
[0009] In some embodiments, the optical module RSSI interface timing parameters include two parameters of the optical module: TRI_DELAY and TRI_WIDTH.
[0010] In some embodiments, determining whether the trigger signal sent by the MAC chip meets the requirements of the optical module based on the RSSI interface timing parameter includes the steps of:
[0011] If the delay of the Trigger signal is greater than the TRI_DELAY parameter of the optical module and the width of the Trigger signal is greater than the TRI_WIDTH parameter of the optical module, it is determined that the requirements of the optical module are met; otherwise, it is determined that the requirements of the optical module are not met.
[0012] In some embodiments, the delaying and / or stretching the trigger signal to meet the requirements of the optical module includes the following steps:
[0013] If the delay of the trigger signal is less than the TRI_DELAY parameter of the optical module, the delay of the trigger signal is extended so that the delay of the trigger signal is greater than the TRI_DELAY parameter of the optical module;
[0014] If the width of the trigger signal is smaller than the TRI_WIDTH parameter of the optical module, the width of the trigger signal is widened so that the width of the trigger signal is larger than the TRI_WIDTH parameter of the optical module.
[0015] In some embodiments, before starting RSSI sampling, the following steps are further included:
[0016] The RSSI window length corresponding to the optical module is calculated based on the RSSI interface timing parameters.
[0017] In some embodiments, the calculating the RSSI window length corresponding to the optical module based on the RSSI interface timing parameters includes the steps of:
[0018] If the RSSI interface timing parameters include the TRI_DELAY and TRI_WIDTH parameters of the optical module, the RSSI window length is made greater than the sum of the TRI_DELAY and TRI_WIDTH parameter values.
[0019] In some embodiments, the calculating the RSSI window length corresponding to the optical module based on the RSSI interface timing parameters includes the steps of:
[0020] The RSSI window length is made to exceed the sum of the two parameter values of TRI_DELAY and TRI_WIDTH while maintaining a preset margin.
[0021] In some embodiments, the initiating RSSI sampling based on the Trigger signal comprises the steps of:
[0022] RSSI sampling is started based on the Trigger signal in a windowing interval corresponding to the RSSI windowing length.
[0023] In a second aspect, an optical module suitable for automatically configuring an RSSI interface of an OLT is provided, wherein the RSSI interface timing parameters TRI_DELAY and TRI_WIDTH corresponding to the optical module are solidified in an internal storage area of the optical module.
[0024] In a third aspect, a device for automatically configuring an RSSI interface is provided, characterized in that it includes:
[0025] An optical module requirement matching module, configured to determine whether a trigger signal sent by a MAC chip meets the requirements of the optical module based on the RSSI interface timing parameters solidified in the corresponding area of the optical module, and to delay and / or stretch the trigger signal to meet the requirements of the optical module if the requirements are not met;
[0026] A sampling start module is used to start RSSI sampling based on the Trigger signal when the requirements of the optical module are met.
[0027] Embodiments of the present invention provide a method, device, and optical module for automatically configuring the RSSI interface. By solidifying the RSSI interface timing parameters corresponding to the optical module into a storage area within the optical module, and determining whether the trigger signal meets the timing requirements of the optical module by obtaining the RSSI interface timing parameters solidified in the corresponding area of the optical module, the software can automatically implement precise control of the timing for each optical module, accurately setting the RSSI interface timing of the optical module according to the requirements of different optical modules. Since there is no need to identify the model or type of the optical module, nor is there any need to identify different solutions for the same optical module, and no software upgrade is required when adding new optical modules or replacing existing optical modules to reduce costs, the system is applicable to any PON system, such as GPON, 10G GPON (including XG-PON and XGS-PON), EPON, 10G EPON, and 50G PON systems. The system can accurately test the received optical power of each ONU at the OLT end and provide an accurate basis for low-light detection. It also effectively avoids excessive errors in PON line diagnosis, which can lead to large-scale low-light alarms or the inability to read optical power. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0029] Figure 1 A flow chart of a method for automatically configuring an RSSI interface provided by an embodiment of the present invention;
[0030] Figure 2 This is a diagram showing the common RSSI timing requirements for OLT optical modules.
[0031] Figure 3 A flow chart of a method for automatically configuring an RSSI interface provided by an embodiment of the present invention;
[0032] Figure 4 A schematic diagram illustrating a specific implementation of the method for automatically configuring the RSSI interface provided by an embodiment of the present invention;
[0033] Figure 5 A schematic diagram of widening the PON_RSSI_TRI signal of the RSSI interface provided by an embodiment of the present invention;
[0034] Figure 6 A schematic diagram of the structure of a device for automatically configuring an RSSI interface provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0035] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0036] like Figure 1 As shown, an embodiment of the present invention provides a method for automatically configuring an RSSI interface, comprising the steps of:
[0037] S100: Reading RSSI interface timing parameters from a corresponding area of the optical module, where the RSSI interface timing parameters are solidified in the corresponding area;
[0038] S200: Determine whether the trigger signal sent by the MAC chip meets the requirements of the optical module based on the RSSI interface timing parameters solidified in the corresponding area of the optical module, and if it does not meet the requirements, delay and / or stretch the trigger signal to meet the requirements of the optical module;
[0039] S300: Start RSSI sampling based on the Trigger signal when the requirements of the optical module are met.
[0040] It should be noted that the MAC in the MAC chip is the abbreviation of Media Access Control. Figure 2 As shown in the figure, the RSSI interface timing parameters generally include the following main parameters: the duration of the RSSI window TCONT (hereinafter referred to as the RSSI window length), the delay TRI_DELAY (in nanoseconds) from the start of the RSSI window to the RSSI_TRI pulse signal (Trigger signal) of the OLT MAC, the width TRI_WIDTH of the RSSI_TRI signal, and the time requirement Tp for the OLT to read the optical power test result held in the register through the I2C interface (which is used by the MCU inside the optical module to calibrate the raw data after sampling).
[0041] The embodiment of the present invention solidifies the RSSI interface timing parameters corresponding to the optical module into a storage area within the optical module, and determines whether the trigger signal meets the timing requirements of the optical module by obtaining the RSSI interface timing parameters solidified in the corresponding area of the optical module. This allows the software to automatically implement precise control of the timing of each optical module and accurately set the RSSI interface timing of the optical module according to the requirements of different optical modules. Since there is no need to identify the model or type of the optical module, there is no need to identify different solutions for the same optical module. When adding new optical modules or replacing existing optical modules to reduce costs, there is no need to upgrade the software. It is applicable to any PON system, such as GPON, 10G GPON (including XG-PON and XGS-PON), EPON, 10G EPON, and 50G PON systems. It can accurately test the received optical power of each ONU at the OLT end and provide an accurate basis for low-light detection. At the same time, it effectively avoids excessive errors in PON line diagnosis, which may cause large-scale low-light alarms or the inability to read optical power.
[0042] In some embodiments, the optical module RSSI interface timing parameters in S100 to S200 are the two parameters TRI_DELAY and TRI_WIDTH of the optical module.
[0043] In the embodiment of the present invention, it is considered that among the main parameters of the RSSI interface timing, TRI_DELAY and TRI_WIDTH have a great impact on the optical power measurement results or accuracy. In particular, TRI_WIDTH is closely related to the sampling circuit of the OLT optical module. If it is too short, the sampling result will be inaccurate, and the error between the RSSI test result and the actual received optical power will be large. If it is too long (such as extending beyond the duration of TCONT), it will also cause the sampling result to be wrong, affecting the accuracy of the upstream optical power test. Therefore, when solidifying the RSSI interface timing parameters into the optical module, the two parameters TRI_DELAY and TRI_WIDTH are performed.
[0044] In some embodiments, when determining in S200 whether the Trigger signal emitted by the MAC chip meets the requirements of the optical module based on the RSSI interface timing parameters solidified in the corresponding area of the optical module, if the delay of the Trigger signal is greater than the TRI_DELAY parameter of the optical module and the width of the Trigger signal is greater than the TRI_WIDTH parameter of the optical module, it is determined that the requirements of the optical module are met; otherwise, it is determined that the requirements of the optical module are not met.
[0045] It is understood that if the MAC chip supports a wide range of configurable Trigger signal delay and width, and both meet the optical module's TRI_DELAY and TRI_WIDTH parameter requirements, the Trigger signal sent by the MAC chip can be directly connected to the optical module for subsequent steps. If the MAC chip supports a narrow range of configurable Trigger signal delay and width, and either TRI_DELAY or TRI_WIDTH parameter does not meet the optical module's requirements, the Trigger signal sent by the MAC needs to be delayed and / or stretched to meet the requirements of the corresponding optical module.
[0046] In some embodiments, when the Trigger signal is delayed and / or widened in S200 to meet the requirements of the optical module, if the delay of the Trigger signal is less than the TRI_DELAY parameter of the optical module, the delay of the Trigger signal is extended so that the delay of the Trigger signal is greater than the TRI_DELAY parameter of the optical module; if the width of the Trigger signal is less than the TRI_WIDTH parameter of the optical module, the width of the Trigger signal is widened so that the width of the Trigger signal is greater than the TRI_WIDTH parameter of the optical module.
[0047] It is understandable that an external logic unit can be used to delay or widen the Trigger signal sent by the MAC. The single-disk CPU is connected to the logic unit via a control bus to control the delay and pulse width of the Trigger signal sent by the MAC.
[0048] In some embodiments, before RSSI sampling is started, the RSSI window length corresponding to the optical module is calculated based on the RSSI interface timing parameters fixed in the area corresponding to the optical module.
[0049] In this embodiment of the present invention, the ONU's light output and duration are controlled by the MAC chip's dynamic bandwidth allocation module (e.g., DBA). During RSSI testing, the RSSI window length (TCONT) is used to configure the duration of each ONU's optical pulse on the OLT. It is understood that the OLT's minimum optical pulse duration must ensure sufficient sampling time for the optical module's sample-and-hold circuit. However, excessive durations can affect the transmission efficiency of upstream payloads.
[0050] In some embodiments, when calculating the RSSI window length, if the RSSI interface timing parameters include the TRI_DELAY and TRI_WIDTH parameters of the optical module, the RSSI window length is made greater than the sum of the TRI_DELAY and TRI_WIDTH parameter values.
[0051] Preferably, the portion of the RSSI window length that exceeds the sum of the two parameter values of TRI_DELAY and TRI_WIDTH is greater than a certain margin, such as 100 nanoseconds. 100 nanoseconds is an ideal empirical value, and can also be 105ns or 200ns. The longer the window time, the greater the overhead.
[0052] In some embodiments, S300 starts RSSI sampling based on the Trigger signal in a windowing interval corresponding to the RSSI windowing length.
[0053] In this embodiment, the line card PON_MAC driver software calls the RSSI API. The OLT opens a window for the ONU, and the MAC sends a trigger signal (PON_RSSI_TRI). After the optical module detects the RSSI_TRI pulse, it internally starts RSSI sampling and stores the result in an internal register of the optical module (for example, a register for storing optical power values defined in the SFF-8472 standard). Before the next API call to test the optical power of the next ONU, the service line card CPU reads the test result of the relevant register of the optical module via I2C.
[0054] It can be understood that when RSSI tests the uplink burst ONU optical power, MAC gives the PON_RSSI_TRI signal (Trigger signal sent by MAC) within the ONU uplink data window (i.e., the window interval corresponding to the RSSI window length), and the logic unit (for example, it can be implemented by a programmable logic device) performs corresponding delay and widening processing on the PON_RSSI_TRI signal according to the requirements of different optical modules for the main parameters of the RSSI interface timing, and outputs the processed RSSI_TRI signal (the output signal of PON_RSSI_TRI after delay and widening by the logic unit) to the optical module. After receiving the signal, the optical module samples the uplink optical power and saves the sampled results in the register inside the optical module. The line card CPU reads the results through the I2C interface.
[0055] It is understood that when RSSI tests the uplink burst ONU optical power, after the OLT optical module's optical receiving module ROSA (APD or PIN) receives the burst uplink optical signal, the ROSA converts the optical signal into a current signal proportional to the power of the burst uplink optical signal. The current sampling circuit acquires this current signal and sends it to the voltage sampling circuit. The voltage sampling circuit converts the current signal into a voltage signal and holds it as the RSSI signal. When the optical module detects the rising edge of the RSSI_TRI signal (the trigger signal sent by the OLT MAC chip), the sample-and-hold circuit enters sampling mode. The analog-to-digital converter (ADC) in the optical module's MCU samples the voltage of the RSSI signal and converts the analog voltage of the RSSI signal into a digital signal, which is called a sampled value. After the falling edge of the trigger, the microprocessor is triggered to sample the output voltage of the sample-and-hold chip. The optical power represented by a sampled value is determined (calibrated) within the MCU by setting a received optical power value that corresponds to the sampled value. Finally, the MCU stores the calibrated optical power value in the optical module's relevant registers (for example, for SFP+ optical modules, the received optical power is generally stored in registers 104-105 of the A2 address table). Finally, the CPU of the OLT service card reads the values of these registers through the I2C interface and reports them to the EMS through the network management channel, completing the ONU optical power detection.
[0056] like Figure 3 、 Figure 4 As shown, in a specific embodiment, the specific implementation of the method for automatically configuring the RSSI interface includes S01 to S07, wherein,
[0057] S01: Write the TRI_DELAY and TRI_WIDTH parameters of the optical module into the specific register areas REG1 and REG2 of the optical module; specifically, the OLT optical module manufacturer can write the optimal values of the TRI_DELAY and TRI_WIDTH parameters of the optical module into the optical module registers REG1 and REG2 respectively according to the specific design scheme or test adjustment situation (unlike the aforementioned optical power value storage optical module related registers, REG1 and REG2 can use the reserved or custom register areas specified in the standard SFF-8472). Preferably, TRI_DELAY and TRI_WIDTH can each occupy 1 byte, and each bit represents n nanoseconds. For example, if n = 10 nanoseconds, the value ranges of TRI_DELAY and TRI_WIDTH are 0-2550ns, which can basically meet all PON application requirements.
[0058] Among them, OLT service cards can use two types of package types, SFP+ or XFP. Both package types define standard memory space areas. For SFP+ optical modules, according to the SFF-8472 specification, the two parameters can be stored in the manufacturer-defined area of addresses 96-127 of the I2C bus address block A0H, or in other user-reserved areas. For XFP optical modules, according to the INF-8077 specification, the two parameters can be stored in the manufacturer-defined area of addresses 224-225 of the first page of the I2C bus address block A0H, or in other user-reserved areas. It should be noted that after the TRI_DELAY and TRI_WIDTH parameters are fixed in the optical module, they are read-only and cannot be modified when the optical module is used on the OLT equipment.
[0059] Combo optical modules have two sets of RSSI sampling circuits within the module. For ease of use, they can use the same TRI_DELAY and TRI_WIDTH parameters. Alternatively, different TRI_DELAY and TRI_WIDTH parameters can be stored separately. For example, for SFP+ combo optical modules, the other set of parameters can be stored in the B0H address area, following a similar implementation principle.
[0060] S02: After the OLT service disk software detects the presence of the optical module, it reads the values of specific register areas REG1 and REG2. Specifically, when the optical module is used on the OLT disk, the OLT service disk software polls the optical module's presence information. After detecting the presence of the optical module, the disk CPU reads the values of memory REG1 and REG2 via the I2C interface and converts them into time units (nanoseconds, ns), obtaining the optical module's TRI_DELAY and TRI_WIDTH information. T1 can be used to represent the time unit converted after reading the REG1 value, i.e., T1 = REG1*n (ns). T2 can be used to represent the time unit converted after reading the REG2 value, i.e., T2 = REG2*n (ns).
[0061] S03: Calculate the RSSI window length, TCONT. Specifically, after obtaining the optical module's TRI_DELAY and TRI_WIDTH parameters, the CPU calculates the RSSI window length, TCONT. This window length must be at least greater than TRI_DELAY + TRI_WIDTH and have an appropriate margin, i.e., TCONT = T1 + T2 + N, where N is the margin. N is preferably greater than 100 nanoseconds. The length of TCONT ensures sufficient RSSI sampling time within the optical module. If TCONT is too short, optical power acquisition will fail or errors may be excessive.
[0062] S04: Check whether the capabilities of the MAC chip meet the TRI_DELAY and TRI_WIDTH parameter requirements of the optical module. If the delay or width of the Trigger signal configurable by the MAC chip meets the TRI_DELAY and TRI_WIDTH parameter requirements of the optical module, jump to S06, otherwise enter SO5; it can be understood that if the delay or width range of the Trigger signal configurable by the MAC is relatively wide, it can meet the TRI_DELAY and TRI_WIDTH parameter requirements of the optical module. The Trigger signal (PON_RSSI_TRI signal) sent by the MAC can be directly connected to the optical module (physical direct connection or the external logic module does not process the direct connection internally) and then proceed to subsequent steps.
[0063] S05: Delay and / or stretch the Trigger signal sent by PON MAC; specifically, Figure 4 As shown in the figure, the logic unit's main function is to delay or stretch the trigger signal (PON_RSSI_TRI) sent by the MAC. This can be implemented using a CPLD or FPGA. Specifically, the PON disk CPU and the logic unit are connected via a control bus (which can be an SPI bus or a LOCA bus). The PON_RSSI_TRI signal sent by the MAC is connected to the logic unit as an input signal. After delay or stretching, it is then connected to the RSSI_TRI signal of the optical module. The logic unit has internal control registers. The CPU writes delay and width information to these registers via the control bus to control the signal's delay and stretch.
[0064] Specifically, if Figure 5 As shown, assuming the TRI_DELAY parameter (the delay of PON_RSSI_TRI relative to the optical signal) of the PON_RSSI_TRI signal sent by the MAC chip is T0, since T0 is less than T1, it does not meet the optical module sampling timing requirements. Therefore, the logic unit needs to apply an additional delay of T = T1 - T0 (ns) to the PON_RSSI_TRI signal. Similarly, assuming the TRI_WIDTH parameter of the PON_RSSI_TRI signal sent by the MAC chip is T3, since T3 is less than T2, it does not meet the optical module sampling timing requirements. Therefore, the logic unit needs to stretch the PON_RSSI_TRI signal. In both cases, the CPU needs to write T and T2 to the logic unit control register via the control bus. The logic unit then delays and stretches the PON_RSSI_TRI signal based on these values. If the TRI_DELAY (the delay of PON_RSSI_TRI relative to the optical signal) and TRI_WIDTH parameter sent by the MAC chip meet the optical module delay and width requirements, respectively, that is, T0 is greater than T1 and the pulse width T3 is greater than T2, writing 0 to the control registers is sufficient.
[0065] S06: Convert the TCONT time duration into DBA windowing units, and then initiate RSSI measurement. Specifically, for ITU-T GPON standards, the time duration (in nanoseconds) is converted to bytes, and for IEEE EPON standards, ns is converted to TQ units (one TQ unit equals 16ns). When RSSI measurement is initiated, the OLT MAC opens a window on the ONU and controls the ONU's light transmission. The optical pulse duration is TCONT (ns). During the windowing period, the MAC issues a PON_RSSI_TRI pulse signal. After processing by the logic unit, the pulse signal's delay and width fully meet the requirements of the specific optical module. While RSSI_TRI is high, the optical module's sample-and-hold circuit completes sampling and stores the calibrated sampled value in the module's relevant register (this register can be a specific register area defined in the SFF-8472 standard for internal or external calibration, in the 96-105 area of the A2h or B2h address block).
[0066] S07: Before the next RSSI API call and obtaining the optical power of the next ONU, the service line card CPU reads the test results of the optical module related registers through I2C. This ensures that the optical module read timing Tp meets the requirements.
[0067] In another aspect, the present invention further provides an optical module suitable for automatically configuring the RSSI interface of an OLT. The optical module's internal storage area contains RSSI interface timing parameters corresponding to the optical module. These RSSI interface timing parameters include the optical module's TRI_DELAY and TRI_WIDTH parameters. It is understood that this optical module can be applied to other embodiments of the present invention to enable automatic RSSI interface timing configuration by the OLT, enabling precise timing control of the RSSI of various optical modules by the MAC chip, improving the accuracy of OLT-side diagnosis of ONU received optical power, and reducing false positives in low-light detection in actual projects.
[0068] like Figure 6 As shown, the present invention also provides a device for automatically configuring an RSSI interface, which includes:
[0069] An optical module requirement matching module, configured to determine whether a trigger signal sent by a MAC chip meets the requirements of the optical module based on the RSSI interface timing parameters solidified in the corresponding area of the optical module, and to delay and / or stretch the trigger signal to meet the requirements of the optical module if the requirements are not met;
[0070] A sampling start module is used to start RSSI sampling based on the Trigger signal when the requirements of the optical module are met.
[0071] In some embodiments, the RSSI interface timing parameters solidified in the corresponding area of the optical module are the TRI_DELAY and TRI_WIDTH parameters of the optical module.
[0072] In some embodiments, the optical module requirement matching module further determines whether the Trigger signal emitted by the MAC chip meets the requirements of the optical module. If the delay of the Trigger signal is greater than the TRI_DELAY parameter of the optical module and the width of the Trigger signal is greater than the TRI_WIDTH parameter of the optical module, it is determined that the requirements of the optical module are met; otherwise, it is determined that the requirements of the optical module are not met.
[0073] In some embodiments, when the optical module requirement matching module delays and / or widens the Trigger signal to meet the requirements of the optical module, if the delay of the Trigger signal is less than the TRI_DELAY parameter of the optical module, the delay of the Trigger signal is extended so that the delay of the Trigger signal is greater than the TRI_DELAY parameter of the optical module; if the width of the Trigger signal is less than the TRI_WIDTH parameter of the optical module, the width of the Trigger signal is widened so that the width of the Trigger signal is greater than the TRI_WIDTH parameter of the optical module.
[0074] In some embodiments, the optical module requirement matching module is further configured to calculate the RSSI window length corresponding to the optical module based on the RSSI interface timing parameters solidified in the corresponding area of the optical module before starting RSSI sampling.
[0075] In some embodiments, when the optical module demand matching module calculates the RSSI window length, if the RSSI interface timing parameters include the TRI_DELAY and TRI_WIDTH parameters of the optical module, the RSSI window length is made greater than the sum of the TRI_DELAY and TRI_WIDTH parameter values.
[0076] Preferably, the portion of the RSSI window length exceeding the sum of the two parameter values of TRI_DELAY and TRI_WIDTH is greater than 100 nanoseconds.
[0077] In some embodiments, the sampling initiation module initiates RSSI sampling based on a Trigger signal in a windowing interval corresponding to the RSSI windowing length.
[0078] It will be understood by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable storage medium, which may include a computer-readable storage medium (or a non-transitory medium) and a communication medium (or a temporary medium).
[0079] It should be noted that, in the present invention, relational terms such as "first" and "second" are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0080] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for automatically configuring an RSSI interface, characterized in that: The method comprises the steps of: Read the RSSI interface timing parameters from the corresponding area of the optical module, where the RSSI interface timing parameters are solidified in the corresponding area; Determining whether the trigger signal sent by the MAC chip meets the requirements of the optical module based on the RSSI interface timing parameters, and delaying and / or stretching the trigger signal to meet the requirements of the optical module if the requirements are not met; RSSI sampling is started based on the Trigger signal when the requirement of the optical module is met.
2. The method for automatically configuring the RSSI interface according to claim 1, wherein: The optical module RSSI interface timing parameters include the TRI_DELAY and TRI_WIDTH parameters of the optical module; The TRI_DELAY is the delay from the start of RSSI windowing by the OLT MAC to the RSSI_TRI pulse signal; The TRI_WIDTH is the width of the RSSI_TRI signal.
3. The method for automatically configuring the RSSI interface according to claim 2, wherein: The method of determining whether the trigger signal sent by the MAC chip meets the requirements of the optical module based on the RSSI interface timing parameters includes the following steps: If the delay of the Trigger signal is greater than the TRI_DELAY parameter of the optical module and the width of the Trigger signal is greater than the TRI_WIDTH parameter of the optical module, it is determined that the requirements of the optical module are met; otherwise, it is determined that the requirements of the optical module are not met.
4. The method for automatically configuring the RSSI interface according to claim 3, wherein: The delaying and / or stretching processing of the trigger signal to meet the requirements of the optical module comprises the steps of: If the delay of the trigger signal is less than the TRI_DELAY parameter of the optical module, the delay of the trigger signal is extended so that the delay of the trigger signal is greater than the TRI_DELAY parameter of the optical module; If the width of the trigger signal is smaller than the TRI_WIDTH parameter of the optical module, the width of the trigger signal is widened so that the width of the trigger signal is larger than the TRI_WIDTH parameter of the optical module.
5. The method for automatically configuring the RSSI interface according to claim 1, wherein: Before starting RSSI sampling, the following steps are also included: The RSSI window length corresponding to the optical module is calculated based on the RSSI interface timing parameters.
6. The method for automatically configuring the RSSI interface according to claim 5, wherein: The RSSI window length corresponding to the optical module is calculated based on the RSSI interface timing parameter, comprising the steps of: If the RSSI interface timing parameters include the TRI_DELAY and TRI_WIDTH parameters of the optical module, the RSSI window length is made greater than the sum of the TRI_DELAY and TRI_WIDTH parameter values; The TRI_DELAY is the delay from the start of RSSI windowing by the OLT MAC to the RSSI_TRI pulse signal; The TRI_WIDTH is the width of the RSSI_TRI signal.
7. The method for automatically configuring the RSSI interface according to claim 6, wherein: The RSSI window length corresponding to the optical module is calculated based on the RSSI interface timing parameter, comprising the steps of: The RSSI window length is made to exceed the sum of the two parameter values of TRI_DELAY and TRI_WIDTH while maintaining a preset margin.
8. The method for automatically configuring the RSSI interface according to any one of claims 5 to 7, characterized in that: The RSSI sampling is started based on the Trigger signal, comprising the steps of: RSSI sampling is started based on the Trigger signal in a windowing interval corresponding to the RSSI windowing length.
9. An optical module suitable for automatically configuring the RSSI interface of an OLT, which is used to implement the method for automatically configuring the RSSI interface as claimed in claim 1, characterized in that: The internal storage area of the optical module contains the RSSI interface timing parameters TRI_DELAY and TRI_WIDTH corresponding to the optical module; The TRI_DELAY is the delay from the start of RSSI windowing by the OLT MAC to the RSSI_TRI pulse signal; The TRI_WIDTH is the width of the RSSI_TRI signal.
10. A device for automatically configuring an RSSI interface, characterized in that: It includes: An optical module requirement matching module, configured to determine whether a trigger signal sent by a MAC chip meets the requirements of the optical module based on the RSSI interface timing parameters solidified in the corresponding area of the optical module, and to delay and / or stretch the trigger signal to meet the requirements of the optical module if the requirements are not met; A sampling start module is used to start RSSI sampling based on the Trigger signal when the requirements of the optical module are met.
Citation Information
Patent Citations
Time sequence information configuration method and related device
CN114554321A