Optical module self-check control method and system

By dynamically adjusting the current proportional gain and real-time calculation of the proportional terms of the PID algorithm, the problem of inaccurate self-test of optical modules caused by fixed proportional gain in the PID algorithm is solved, and the accurate adaptive control and abnormal detection of optical modules are realized, thereby improving communication Network stability and operational efficiency.

CN118784069BActive Publication Date: 2024-11-19KOCHUAN PHOTONICS TECHNOLOGY (SUZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411259422.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2024-11-19
Estimated Expiration
2044-09-10

AI Technical Summary

Technical Problem

The fixed proportional gain in the PID algorithm cannot provide the best control performance under different operating conditions, resulting in the inability to accurately obtain the optical power output value, and thus the accurate self-test of the optical module cannot be achieved.

Method used

By determining the current mutation factor and stability degree at each moment of the optical module, dynamically adjust the current proportional gain, and combining the integration and differential time of the PID algorithm, calculate the proportional terms in real time, and dynamically adjust the proportional terms of the PID algorithm to realize the adaptive control of the optical module .

Benefits of technology

It improves control flexibility and response speed, can promptly identify and warn of abnormal operating status of optical modules, reduce system downtime, ensure the stability and reliability of the communication network, reduce maintenance costs, and improve operational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784069B_ABST
    Figure CN118784069B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and in particular to a self-check control method and system for an optical module. The method comprises: obtaining the optical power data standard, current value and voltage value of the optical module at each moment; determining the current mutation factor of the optical module at each moment; determining the current stability of the optical module at each moment; determining the current proportional gain of the optical module at each moment; determining the proportional term of the PID algorithm at each moment; obtaining the difference coefficient of the optical module at each moment; and identifying the optical module abnormality according to the difference coefficient at each moment. The present invention significantly enhances the monitoring and abnormality detection capabilities of the working state of the optical module by dynamically adjusting the current proportional gain and accurately and in real time calculating the proportional term of the PID algorithm, thereby improving the adaptability and efficiency of the PID algorithm, ensuring the accuracy of the optical power output value, and improving the accuracy of the optical module self-check.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a self-check control method and system based on an optical module. Background Art

[0002] With the advancement and popularization of communication technology, optical communication, as a high-speed, large-capacity, and low-energy communication method, has received more and more attention and application. As an important component of the optical communication system, the stability and reliability of the optical module are crucial to the performance and operation of the entire system. In the optical module circuit, abnormal optical power data may cause the optical module to fail to provide the required optical signal intensity as expected, which will affect the normal operation of the optical fiber communication system. At the same time, the driving current data of the light source will affect the optical power data. This is because there is an active area inside the laser, and photons will be excited when the current passes through this area. Increasing the driving current will increase the injection of electrons and holes, so that the electron-hole recombination occurring inside the active area will also increase. Part of the energy released by these recombination events is converted into the energy of photons, that is, optical power. An existing method for intelligently controlling and outputting the standard value of optical power data is a PID control algorithm, which has the advantages of simple structure, wide application range, good dynamic performance, sensitive response, and strong error correction capability.

[0003] The patent application document with the publication number CN116155374A discloses a method for monitoring the input and output optical power of an optical module SOA based on a PID algorithm, which includes the following steps: S1: setting the target value of RSSI; S2: monitoring the output optical power value; S3: PID adjusting the gain and maintaining the stability of the optical power of the second optical signal; S4: determining the input optical power value; S5: calibration. The method combines the peripheral hardware circuit with the software control algorithm. On the one hand, the voltage of the SOA module is changed by the PID algorithm to automatically adjust the gain of the SOA module. If the feedback voltage is high, the gain is reduced, and if the feedback voltage is low, the gain is increased. The high-speed cycle of sampling and PID calculation is used to achieve the effect of stabilizing the optical power of the output optical signal; on the other hand, the optical power of the input optical signal in a wide range is fitted by a second-order linear fitting combined with a fitting formula to obtain a fitting curve, thereby realizing the function of quick monitoring of the input optical power.

[0004] However, in the PID algorithm, the proportional gain is usually a fixed parameter, which cannot provide the best control performance under different working conditions or system states. For example, in some cases, the system may require a higher response speed, while in other cases, it requires higher stability. As a result, the output value of the optical power data cannot be accurately obtained, and the accurate self-test of the optical module cannot be achieved. Summary of the invention

[0005] In order to solve the problem that the optical power output value cannot be accurately obtained and thus the accurate self-check of the optical module cannot be achieved due to the proportional gain being a fixed parameter in the PID algorithm, the present invention provides an optical module self-check control method and system.

[0006] In a first aspect, the present invention provides an optical module self-check control method, which adopts the following technical solution:

[0007] A self-check control method for an optical module, comprising: determining a current mutation factor of the optical module at each moment, the current mutation factor being positively correlated with the sum of the absolute values ​​of the difference between the current value at the moment and a number of previous moments, and the absolute value of the difference between the current mean value and the current median value at a number of moments before the moment; determining the current stability of the optical module at each moment, the current stability being negatively correlated with the current mutation factor at the moment, the absolute value of the difference between the percentiles of the current value and the voltage value at the moment in the respective corresponding data segments at the moment, and the absolute value of the difference between the total number of positive value changes at the latter moment compared to the previous moment in the current data segments and the voltage data segments at the moment and a number of previous moments. ; Determine the current proportional gain of the optical module at each moment, the current proportional gain is positively correlated with the current stability at that moment and the preset initial proportional gain; determine the proportional term of the PID algorithm at each moment, the proportional term is positively correlated with the current proportional gain at that moment, and the difference between the normalized result of the current value at that moment and the standard value of the target optical power in the standard values ​​of all output optical powers; obtain the output value of the optical power of the optical module at each moment through the proportional term and the preset integral time and differential time of the PID algorithm, and take the absolute value of the difference between the output value of the optical power at each moment and the standard value of the optical power at that moment as the difference coefficient at that moment; identify the abnormality of the optical module according to the size of the difference coefficient at each moment.

[0008] The beneficial effects are: by determining the current mutation factor and the current stability, the current proportional gain is dynamically adjusted, so that the PID control algorithm can perform precise adaptive control according to the real-time state of the optical module, effectively improving the control flexibility and response speed; by using the difference coefficient as a quantitative indicator of the deviation between the optical power output value and the standard value, it can timely identify and warn of abnormal operating conditions of the optical module, such as performance degradation or early signs of failure, so as to take measures in advance, reduce system downtime, and ensure the stability and reliability of the communication network; through continuous monitoring and intelligent control, unnecessary waste of resources, such as excessive power output or frequent maintenance interventions, is reduced, and at the same time, potential maintenance costs are reduced through early abnormality detection, thereby improving overall operational efficiency and economic benefits.

[0009] Furthermore, the current mutation factor of the optical module at each moment satisfies the following relationship: ; In the formula, Indicates The current mutation factor at a moment, Indicates The total number of moments before the moment, Indicates The current value at a moment, Indicates The current value at the mth moment before the moment, Indicates A moment ago The average current at each moment, Indicates A moment ago The median current value at a moment, Indicates absolute value.

[0010] The beneficial effect is that by calculating the current mutation factor, the deviation of the current fluctuation degree of the optical module at each moment from the statistical distribution can be finely evaluated, which effectively enhances the adaptability and fault prediction ability of the PID control algorithm and ensures the stable operation of the optical communication system.

[0011] Furthermore, the current stability of the optical module at each moment satisfies the following relationship: ; In the formula, Indicates The current stability at each moment, Indicates The current mutation factor at a moment, Indicates The current value at a moment is the percentile of the data segment corresponding to that moment. Indicates The voltage value at a moment is the percentile of the data segment corresponding to that moment. Indicates The total number of positive changes in the current data segments at a moment and several moments before that at the next moment compared with the previous moment, Indicates The total number of positive changes in the voltage data segments at the moment and several moments before that, represents the natural exponential function, Indicates absolute value.

[0012] The beneficial effect is that by comprehensively analyzing the current mutation factor, percentile changes in current and voltage values, and numerical change trends, the natural exponential function is used to quantify the current stability of the optical module at each moment, thereby significantly improving the accuracy of PID control and the system's sensitivity to abnormal conditions, ensuring the efficiency and stability of the optical communication link.

[0013] Furthermore, the current proportional gain of the optical module at each moment satisfies the following relationship: ; In the formula, Indicates The current proportional gain at that moment is, Indicates The current stability at each moment, Indicates the preset initial proportional gain.

[0014] The beneficial effect is that by multiplying the current stability by the preset initial proportional gain, the adaptive adjustment of the current proportional gain is achieved, which effectively improves the response speed and stability of the PID control algorithm when facing different working conditions, ensuring the optimization of the optical module performance and the continuous and reliable operation of the system.

[0015] Furthermore, the proportional term of the PID algorithm at each moment satisfies the following relationship: ; In the formula, Indicates The proportional term of the moment, Indicates The current proportional gain at that moment is, Indicates The normalized result of the current value at each moment is: Indicates the normalization result of the standard value of the target optical power among the standard values ​​of all output optical powers.

[0016] The beneficial effect is that by combining the adaptive current proportional gain with the normalized difference between the current value at the current moment and the target optical power, dynamic adjustment of the proportional term of the PID algorithm is achieved, which significantly improves the accuracy and response speed of the optical module control, ensures that the output optical power stably and efficiently tracks the set target, thereby optimizing the performance and reliability of the communication system.

[0017] Furthermore, the method for acquiring the current value and the voltage value is: digitally converting the current data and the voltage data at each moment to acquire the current value and the voltage value of the optical module at that moment.

[0018] Furthermore, identifying the optical module abnormality according to the difference coefficient size at each moment includes: in response to the normalized result of the difference coefficient at each moment being greater than a preset difference threshold, determining that the optical power data at that moment is abnormal, and completing the optical module self-check.

[0019] In a second aspect, the present invention provides an optical module self-checking control system, which adopts the following technical solution:

[0020] An optical module self-check control system includes: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the above optical module self-check control method is implemented.

[0021] By adopting the above technical solution, the above optical module self-test control method is generated into a computer program and stored in a memory so as to be loaded and executed by a processor, thereby manufacturing a terminal device based on the memory and the processor for easy use.

[0022] The present invention has the following technical effects:

[0023] The present invention dynamically adjusts the current proportional gain and accurately and in real time calculates the proportional term of the PID algorithm, thereby significantly enhancing the monitoring and abnormality detection capabilities of the optical module working status, thereby improving the adaptability and efficiency of the PID algorithm, ensuring the accuracy of the optical power output value, and improving the accuracy of the optical module self-test; it also effectively identifies the potential faults of the optical module by quantifying the difference coefficient, greatly improving the reliability and maintenance efficiency of the communication network. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-restrictive manner, and the same or corresponding reference numerals represent the same or corresponding parts.

[0025] Figure 1 The present invention is a flowchart of an optical module self-check control method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 those skilled in the art without creative work are within the scope of protection of the present invention.

[0027] It should be understood that when the terms "first", "second", etc. are used in the claims, descriptions, and drawings of the present invention, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the description and claims of the present invention indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their collections.

[0028] The embodiment of the present invention discloses a self-check control method for an optical module, referring to Figure 1 , comprising steps S1 to S7:

[0029] It should be noted that the core of the present invention is to intelligently control and output the actual optical power data through a PID control algorithm. During the output process, the current proportional gain at each moment will be adapted as the proportional term of the PID control algorithm. The current proportional gain is based on the results of the numerical change characteristic analysis of the current data and voltage data at each moment.

[0030] S1: Obtain the optical power data standard value, current value and voltage value of the optical module at each moment.

[0031] The method for obtaining the current value and the voltage value is:

[0032] The current value and voltage value of the optical module at each moment are obtained by digitally converting the current data and voltage data at each moment.

[0033] The light source driving current data and voltage data of the optical module are collected respectively through the current sensor and the voltage sensor.

[0034] S2: Determine the current mutation factor of the optical module at each moment.

[0035] It should be noted that the current mutation factor at each moment is obtained by analyzing the current value performance at each moment and the changing characteristics of the current data at several moments before it. When analyzing this indicator, the more prominent the current value at each moment is compared with the current data at several moments before it and the more discrete the current data at several moments before it, the greater the current mutation factor at that moment will be.

[0036] The current mutation factor of the optical module at each moment satisfies the following relationship:

[0037] ;

[0038] In the formula, Indicates The current mutation factor at a moment, Indicates The total number of moments before the moment, Indicates The current value at a moment, Indicates The current value at the mth moment before the moment, Indicates A moment ago The average current at each moment, Indicates A moment ago The median current value at a moment, Indicates absolute value.

[0039] in, Indicates The sum of the absolute values ​​of the differences between the current value at a certain moment and the current values ​​at several previous moments. The larger the value, the greater the The current value at the moment is more prominent than the current values ​​at the previous moments. The current mutation factor at each moment will be greater; Indicates The absolute value of the difference between the current mean and the current median at several moments before the moment. The larger the value, the greater the absolute value. The greater the discreteness of the current data at several moments before the first moment, the greater the The greater the credibility of the mutation at a moment, the greater the possibility that there is noise data at that point. The current mutation factor at each moment will be greater.

[0040] The implementer can set the number of moments before each moment according to the actual implementation situation, for example, 50.

[0041] S3: Determine the current stability of the optical module at each moment.

[0042] It should be noted that the current mutation factor at each moment is obtained by analyzing the numerical change characteristics of the current data itself. As a single indicator, the current mutation factor has limitations in distinguishing noise from real anomalies, and more indicators need to be combined to obtain the current stability. There is a certain positive correlation between current and voltage, which can be described by Ohm's law. Therefore, based on the analysis of the consistency of changes between voltage data and current data, combined with the current mutation factor at each moment, the current stability at each moment can be obtained. Specifically, the stronger the consistency of changes between voltage data and current data, the less likely the current data is a noise data point, and the greater the current stability.

[0043] The current stability of the optical module at each moment satisfies the following relationship:

[0044] ;

[0045] In the formula, Indicates The current stability at each moment, Indicates The current mutation factor at a moment, Indicates The current value at a moment is the percentile of the data segment corresponding to that moment. Indicates The voltage value at a moment is the percentile of the data segment corresponding to that moment. Indicates The total number of positive changes in the current data segments at a moment and several moments before that at the next moment compared with the previous moment, Indicates The total number of positive changes in the voltage data segments at the moment and several moments before that, represents the natural exponential function, Indicates absolute value.

[0046] in, The bigger, The smaller; It means that The absolute value of the difference between the percentiles of the current value and the voltage value at a moment in their respective data segments at that moment. This value reflects the difference in the relative size of the two data in their respective data segments at a moment. The smaller the value, the stronger the consistency of the change between the voltage data and the current data, which means that the possibility that the current data belongs to a noise data point is smaller. The greater the current stability at each moment; It means the The absolute value of the difference between the total number of positive changes in the value of the next moment compared with the previous moment in all adjacent sampling moments in the current data segment and the voltage data segment in the time period corresponding to the data segment composed of the first moment and the previous moments. The smaller the value, the more consistent the change law of the voltage data and the current data in this time period. The stronger the consistency between the voltage data and the current data at each moment, the greater the credibility. It can be concluded that the possibility that the current data belongs to a noise data point is smaller. The greater the current stability at each moment.

[0047] S4: Determine the current proportional gain of the optical module at each moment.

[0048] It should be noted that the current proportional gain at each moment is adaptively adjusted by combining the current stability at each moment with the preset initial proportional gain. When the stability of the current data is high, a larger current proportional gain can be used, which makes the PID controller more sensitive to the current data and adjusts the output optical power data more quickly, thereby quickly responding to changes and needs of the system; on the contrary, if the stability of the current data is low, a smaller current proportional gain needs to be used, which can avoid excessive amplification of noise or fluctuations in the current data, thereby maintaining the stability and anti-interference ability of the system.

[0049] The current proportional gain of the optical module at each moment satisfies the following relationship:

[0050] ;

[0051] In the formula, Indicates The current proportional gain at that moment is, Indicates The current stability at each moment, Indicates the preset initial proportional gain.

[0052] The current value proportional gain at each moment is adaptively adjusted by the current stability at each moment and the preset initial proportional gain; when the current data is highly stable, a larger proportional gain can be used, which makes the PID controller more sensitive to the current data and adjusts the output optical power data more quickly, thereby quickly responding to changes and demands of the system; on the contrary, if the current data is less stable, a smaller proportional gain needs to be used; this can avoid excessive amplification of noise or fluctuations in the current data, thereby maintaining the stability and anti-interference ability of the system.

[0053] Implementers can set the initial proportional gain according to actual implementation conditions, for example, 8.

[0054] S5: Determine the proportional term of the PID algorithm at each moment.

[0055] The proportional term of the PID algorithm at each moment satisfies the following relationship:

[0056] ;

[0057] In the formula, Indicates The proportional term of the moment, Indicates The current proportional gain at that moment is, Indicates The normalized result of the current value at each moment is: Indicates the normalization result of the standard value of the target optical power among the standard values ​​of all output optical powers.

[0058] S6: Obtain the difference coefficient of the optical module at each moment.

[0059] The output value of the optical power of the optical module at each moment is obtained through the proportional term and the integral time and differential time of the preset PID algorithm, and the absolute value of the difference between the output value of the optical power at each moment and the standard value of the optical power at that moment is taken as the difference coefficient at that moment.

[0060] The implementer can set the integral time and differential time according to the actual implementation situation. For example, the integral time and differential time are both 10s.

[0061] S7: Identify optical module abnormality according to the difference coefficient at each moment.

[0062] The method of identifying the optical module abnormality according to the difference coefficient at each moment includes: in response to the normalization result of the difference coefficient at each moment being greater than a preset difference threshold, determining that the optical power data at that moment is abnormal, and completing the optical module self-check.

[0063] Implementers can set the difference threshold according to actual implementation, for example, 0.9.

[0064] An embodiment of the present invention further discloses an optical module self-check control system, including a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, an optical module self-check control method of the present invention is implemented.

[0065] The above system also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, and their configuration and functions are known in the art, so they will not be described in detail here.

[0066] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, a computer-readable storage medium may be any suitable magnetic storage medium or magneto-optical storage medium, or any other medium that can be used to store the required information and can be accessed by an application, module, or both. Any such computer storage medium may be part of the device or accessible or connectable to the device.

[0067] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

[0068] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A self-check control method for an optical module, characterized in that: include: Determine the current mutation factor of the optical module at each moment, the current mutation factor is positively correlated with the sum of the absolute values ​​of the difference between the current value at the moment and the previous moments, and the absolute value of the difference between the current mean and the current median at the previous moments; determine the current stability of the optical module at each moment, the current stability is negatively correlated with the current mutation factor at the moment, the absolute value of the difference between the percentiles of the current value and the voltage value at the moment in the corresponding data segments at the moment, and the absolute value of the difference between the total number of positive value changes in the current data segments and voltage data segments at the moment and the previous moments; determine the current proportional gain of the optical module at each moment, the current proportional gain is positively correlated with the current stability at the moment and the preset initial proportional gain; Determine the proportional term of the PID algorithm at each moment, the proportional term is positively correlated with the current proportional gain at that moment, and the difference between the current value at that moment and the standard value of the target optical power in the normalized result of all the standard values ​​of the output optical power; obtain the output value of the optical power of the optical module at each moment through the proportional term and the preset integral time and differential time of the PID algorithm, and take the absolute value of the difference between the output value of the optical power at each moment and the standard value of the optical power at that moment as the difference coefficient at that moment; Identify optical module abnormalities based on the difference coefficients at each moment.

2. The optical module self-check control method according to claim 1, characterized in that: The current mutation factor of the optical module at each moment satisfies the following relationship: ; In the formula, Indicates The current mutation factor at a moment, Indicates The total number of moments before the moment, Indicates The current value at a moment, Indicates The moment before m The current value at a moment, Indicates A moment ago The average current at each moment, Indicates A moment ago The median current value at a moment, Indicates absolute value.

3. The optical module self-check control method according to claim 1, characterized in that: The current stability of the optical module at each moment satisfies the following relationship: ; In the formula, Indicates The current stability at each moment, Indicates The current mutation factor at a moment, Indicates The current value at a moment is the percentile of the data segment corresponding to that moment. Indicates The voltage value at a moment is the percentile of the data segment corresponding to that moment. Indicates The total number of positive changes in the current data segments at a moment and several moments before that at the next moment compared to the previous moment, Indicates The total number of positive changes in the voltage data segments at the moment and several moments before that, represents the natural exponential function, Indicates absolute value.

4. The optical module self-check control method according to claim 1, characterized in that: The current proportional gain of the optical module at each moment satisfies the following relationship: ; In the formula, Indicates The current proportional gain at that moment is Indicates The current stability at each moment, Indicates the preset initial proportional gain.

5. The optical module self-check control method according to claim 1, characterized in that: The proportional term of the PID algorithm at each moment satisfies the following relationship: ; In the formula, Indicates The proportional term of the moment, Indicates The current proportional gain at that moment is Indicates The normalized result of the current value at each moment is: Indicates the normalization result of the standard value of the target optical power among the standard values ​​of all output optical powers.

6. The optical module self-check control method according to claim 1, characterized in that: The method for obtaining the current value and the voltage value is: The current value and voltage value of the optical module at each moment are obtained by digitally converting the current data and voltage data at each moment.

7. The optical module self-check control method according to claim 1, characterized in that: The identifying the optical module abnormality according to the difference coefficient at each moment includes: In response to the normalized result of the difference coefficient at each moment being greater than a preset difference threshold, it is determined that the optical power data at that moment is abnormal, and the self-check of the optical module is completed.

8. An optical module self-check control system, characterized in that: include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, an optical module self-check control method according to any one of claims 1 to 7 is implemented.