Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide a method, an apparatus, and a system for time delay equalization.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a time delay equalization method, which comprises the following steps:
mixing the multi-path optical signals sent by the optical module with the first optical signals respectively to obtain mixed multi-path optical signals; the error rate of the mixed multipath optical signals meets a preset condition;
aiming at each optical signal in the mixed multi-path optical signals, adjusting the size of a first parameter of the corresponding optical signal for multiple times so as to adjust the corresponding optical signal for multiple times; acquiring the error rate corresponding to the corresponding path of optical signal after each adjustment; the time delay of the corresponding optical signal can be changed by adjusting the size of the first parameter; the size of the first parameter of the corresponding optical signal is referred to the time delay of the reference optical signal;
determining the time delay difference between the corresponding optical signal and the reference optical signal according to the corresponding relation between the magnitude of the first parameter adjusted for multiple times and the obtained error rate;
and performing time delay equalization on each optical signal based on the time delay difference between each optical signal and the reference optical signal.
In the foregoing solution, the determining a delay difference between the corresponding optical signal and the reference optical signal according to a correspondence between the magnitude of the first parameter adjusted multiple times and the obtained error rate includes:
taking the value of the corresponding first parameter when the error rate obtained by the corresponding optical signal is the lowest as the time delay difference between the corresponding optical signal and the reference optical signal;
the time delay equalization of each optical signal based on the time delay difference between each optical signal and the reference optical signal includes:
and setting the value of the first parameter in the configuration parameters corresponding to the corresponding optical signal path as the value of the first parameter corresponding to the lowest error rate so as to perform time delay equalization of the corresponding optical signal path.
In the above scheme, the first optical signal includes white light having a same wavelength band as that of the multiple optical signals emitted by the optical module.
In the above scheme, the method further comprises:
acquiring the error rate of the mixed multipath optical signals;
comparing the error rate of the mixed multipath optical signals with a preset range;
when the error rate of the mixed multi-channel optical signal is within the preset range, the error rate of the mixed multi-channel optical signal meets a preset condition;
and when the error rate of the mixed multi-channel optical signals exceeds the preset range, adjusting the proportion of the first optical signal in the multi-channel optical signals sent by the optical module when the multi-channel optical signals sent by the optical module are mixed with the first optical signal.
In the foregoing solution, when the adjusting is performed on the multiple paths of optical signals sent by the optical module and the first optical signal to be mixed, the ratio of the first optical signal in the multiple paths of optical signals sent by the optical module includes:
if the error rate of the mixed multi-channel optical signal is smaller than the preset range, increasing the proportion of the first optical signal in the multi-channel optical signal sent by the optical module when the multi-channel optical signal sent by the optical module is mixed with the first optical signal;
and if the error rate of the mixed multi-channel optical signals is larger than the preset range, reducing the proportion of the first optical signal in the multi-channel optical signals sent by the optical module when the multi-channel optical signals sent by the optical module are mixed with the first optical signal.
In the above scheme, the method further comprises:
selecting a first path of optical signal in the mixed multiple paths of optical signals as a reference optical signal;
when the magnitude of the first parameter of the corresponding optical signal is adjusted for multiple times for each optical signal in the mixed multiple optical signals, the method includes:
and adjusting the size of the first parameter of the corresponding optical signal for multiple times aiming at each optical signal in the mixed multiple optical signals except the first optical signal.
In the foregoing scheme, the selecting a first optical signal of the mixed multiple optical signals as a reference optical signal includes:
measuring the error rate of each optical signal in the mixed multi-path optical signals;
comparing the measured error rates of the optical signals of all paths;
and taking the path of optical signal with the lowest error rate as a reference optical signal.
In the foregoing solution, the adjusting the magnitude of the first parameter of the corresponding optical signal for multiple times includes:
obtaining an initial value;
on the basis of the initial value, increasing the size of the first parameter according to a preset step length until a first boundary value is reached;
and on the basis of the initial value, reducing the size of the first parameter according to a preset step length until a second boundary value is reached.
An embodiment of the present invention further provides a delay equalization apparatus, including:
the mixing unit is used for mixing the multi-path optical signals sent by the optical module with the first optical signals respectively to obtain mixed multi-path optical signals; the error rate of the mixed multipath optical signals meets a preset condition;
the adjusting unit is used for adjusting the size of the first parameter of the corresponding optical signal for multiple times aiming at each optical signal in the mixed multiple paths of optical signals so as to adjust the corresponding optical signal for multiple times; the time delay of the corresponding optical signal can be changed by adjusting the size of the first parameter; the size of the first parameter of the corresponding optical signal is referred to the time delay of the reference optical signal;
the obtaining unit is used for obtaining the error rate corresponding to the corresponding path of optical signal after each adjustment;
the determining unit is used for determining the time delay difference between the corresponding optical signal and the reference optical signal according to the corresponding relation between the magnitude of the first parameter adjusted for multiple times and the obtained error rate;
and the equalizing unit is used for performing time delay equalization on each optical signal based on the time delay difference between each optical signal and the reference optical signal.
An embodiment of the present invention further provides a delay equalization system, including:
a white light generating device for generating a first optical signal;
the wave combining device is used for mixing the multi-path optical signals emitted by the optical module with the first optical signals generated by the white light generating device respectively to obtain the mixed multi-path optical signals; the error rate of the mixed multipath optical signals meets a preset condition;
the error code identification device is used for measuring the error code rate of the optical signal;
the control device is used for adjusting the size of the first parameter of the corresponding optical signal for multiple times aiming at each optical signal in the mixed multiple paths of optical signals so as to adjust the corresponding optical signal for multiple times; acquiring the error rate corresponding to the corresponding path of optical signal after each adjustment; the time delay of the corresponding optical signal can be changed by adjusting the size of the first parameter; the size of the first parameter of the corresponding optical signal is referred to the time delay of the reference optical signal; determining the time delay difference between the corresponding optical signal and the reference optical signal according to the corresponding relation between the magnitude of the first parameter adjusted for multiple times and the obtained error rate; and performing time delay equalization on each optical signal based on the time delay difference between each optical signal and the reference optical signal.
According to the time delay equalization method, the time delay equalization device and the time delay equalization system, multiple paths of optical signals sent by an optical module are respectively mixed with a first optical signal, and the mixed multiple paths of optical signals are obtained; the error rate of the mixed multipath optical signals meets a preset condition; aiming at each optical signal in the mixed multi-path optical signals, adjusting the size of a first parameter of the corresponding optical signal for multiple times so as to adjust the corresponding optical signal for multiple times; acquiring the error rate corresponding to the corresponding path of optical signal after each adjustment; the time delay of the corresponding optical signal can be changed by adjusting the size of the first parameter; the size of the first parameter of the corresponding optical signal is referred to the time delay of the reference optical signal; determining the time delay difference between the corresponding optical signal and the reference optical signal according to the corresponding relation between the magnitude of the first parameter adjusted for multiple times and the obtained error rate; and performing time delay equalization on each optical signal based on the time delay difference between each optical signal and the reference optical signal. In the embodiment of the invention, when the multi-path optical signals sent by the optical module are subjected to time delay equalization, the multi-path optical signals are respectively mixed with the first optical signals, so that the error rate of the multi-path optical signals is in the optimal state of identification precision, then under the optimal state, the value of a parameter capable of adjusting time delay in the configuration parameters corresponding to each path of optical signals in the mixed multi-path optical signals is respectively adjusted for multiple times, meanwhile, the time delay difference between each path of optical signals and the reference optical signals is determined by utilizing the corresponding relation between different values of the parameter and the error rate of the corresponding optical signals after multiple times of adjustment, and finally, the time delay equalization is respectively carried out on each path of optical signals. That is to say, in the embodiment of the present invention, not only is an error that may be brought by an identification error of the bit error rate itself when the bit error rate is used for performing the delay equalization eliminated, but also a delay difference from the reference optical signal is respectively determined for each optical signal, and the method can be applied to different optical signals.
Detailed Description
In order to make the technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments.
In the circuit design of the optical module, there are many links that affect the time delay of the high-speed signal, such as chip type selection, printed circuit board design, high-frequency signal simulation, and the like, and in addition, the influence of the optical path, such as uncertainty of wire bonding (english can be expressed as bonding) inside the optical device, influence of temperature on the equivalent optical path of the optical chip, and the like, finally, the problem of time delay imbalance commonly existing among multiple paths of high-speed signals sent by the optical module is caused. However, when the delay imbalance reaches a certain degree, the performance of the optical module is affected, an additional requirement of the optical module on the optical signal-to-noise ratio is brought, and even the communication of the optical module is interrupted in a severe case.
In the related art, when performing delay equalization on multiple paths of high-speed signals sent by an optical module, a value of an equalization parameter is generally determined according to actual experience, and when the optical module is produced in batch, the value of the equalization parameter is solidified in the optical module. That is, the equalization adjustment is performed on the multiple paths of high-speed signals emitted by the optical module in the related art by using the same equalization parameter value. However, due to the slight differences in design, manufacture and use of the circuits and optical paths of the signals of the optical module, the optimal equalization parameter values of each path are different, so that the equalization parameter values determined for the optical modules in batches according to practical experience are difficult to adapt to different paths of signals, resulting in poor effect when the equalization parameter values in the related art are used for time delay equalization, and further reducing the performance of the optical module.
In addition, the inventor also finds that when the value of the delay equalization parameter is determined by using a bit error rate method (that is, when the time delay is measured by using the bit error rate), the bit error rate of the optical signal normally emitted by the optical module is low, and the low bit error rate has a very high requirement on the sensitivity of the error code identification device, and at this time, the value error of the delay equalization parameter is easily determined due to the identification error of the bit error rate.
Based on this, in each embodiment of the present invention, when performing delay equalization on multiple paths of optical signals sent by an optical module, first, the multiple paths of optical signals are respectively mixed with a first optical signal, so that the error rate of the multiple paths of optical signals is in an optimal state of identification accuracy, then, in the optimal state, values of parameters capable of adjusting delay in configuration parameters corresponding to each path of optical signals in the mixed multiple paths of optical signals are respectively adjusted multiple times, and meanwhile, a delay difference between each path of optical signal and a reference optical signal is determined by using a correspondence relationship between different values of the parameters and the error rates of the corresponding optical signals after multiple times of adjustment, and finally, delay equalization is performed on each path of optical signals. That is to say, in the embodiment of the present invention, not only are errors possibly caused by the error rate itself when the error rate is used for performing the delay equalization eliminated, but also the delay difference from the reference optical signal is respectively determined for each optical signal, so that the equalization effect is good when the determined delay difference is used for performing the delay equalization, and further, the performance of the optical module is improved.
An embodiment of the present invention provides a delay equalization method, and fig. 1 is a schematic flow chart illustrating an implementation of the delay equalization method according to the embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
step 101: mixing the multi-path optical signals sent by the optical module with the first optical signals respectively to obtain mixed multi-path optical signals; the error rate of the mixed multipath optical signals meets a preset condition;
step 102: aiming at each optical signal in the mixed multi-path optical signals, adjusting the size of a first parameter of the corresponding optical signal for multiple times so as to adjust the corresponding optical signal for multiple times; acquiring the error rate corresponding to the corresponding path of optical signal after each adjustment; the size of the first parameter of the corresponding optical signal is referred to the time delay of the reference optical signal;
step 103: determining the time delay difference between the corresponding optical signal and the reference optical signal according to the corresponding relation between the magnitude of the first parameter adjusted for multiple times and the obtained error rate;
step 104: and performing time delay equalization on each optical signal based on the time delay difference between each optical signal and the reference optical signal.
The time delay equalization method can be used for compensating the time delay imbalance of the multi-path high-speed optical path and the circuit in the optical module.
In step 101, the error rate of the optical signal transmitted by the optical module is mainly adjusted to make the error rate in an easily recognizable state, so as to eliminate the error caused by the error rate recognition itself when the error rate is used for time delay equalization.
In an example application, the optical module here may be an incoherent module that outputs a plurality of high-speed optical signals simultaneously on an optical port; or a coherent module which only outputs one path of high-speed optical signal on an optical port, but actually has multiple paths of high-speed optical signals in an internal physical structure or logic. It should be noted that, for a module that outputs only one optical signal at an optical interface, the delay equalization method according to the embodiment of the present invention may perform delay equalization on multiple optical signals inside the module.
Here, mixing the optical signal emitted by the optical module with the first optical signal may reduce the signal-to-noise ratio of the optical signal emitted by the optical module, thereby improving the error rate of the mixed optical signal. Based on this, the first optical signal may include an optical signal having the same wavelength band as the multiple optical signals sent by the optical module and carrying no information.
In practical applications, in an embodiment, the first optical signal includes white light having a wavelength band identical to a wavelength band of the multiple optical signals emitted by the optical module.
In practical application, each optical signal in the multiple optical signals sent by the optical module and the first optical signal can be mixed by the wave combining device, so as to obtain the mixed multiple optical signals. It should be noted that the first optical signals mixed with each of the multiple optical signals sent by the optical module need to be completely the same, so as to prevent the difference between the mixed optical signals caused by the difference between the first optical signals.
Here, the fact that the error rate of the mixed multipath optical signal satisfies the preset condition may be understood that the error rate of the mixed multipath optical signal is within a preset range. In practical applications, the preset range may be adjusted according to the actual situation of the error code recognition device. For example, the error rate of the optical signal directly emitted by a certain type of optical module is 10-7~10-8The predetermined range may be 10-3~10-5。
In practical application, when the multi-channel optical signal sent by the optical module is mixed with the first optical signal, the error rate of the mixed multi-channel optical signal can meet a preset range by adjusting the proportion of the first optical signal in the multi-channel optical signal sent by the optical module.
In practical applications, in an embodiment, the method further includes:
acquiring the error rate of the mixed multipath optical signals;
comparing the error rate of the mixed multipath optical signals with a preset range;
when the error rate of the mixed multi-channel optical signal is within the preset range, the error rate of the mixed multi-channel optical signal meets a preset condition;
and when the error rate of the mixed multi-channel optical signals exceeds the preset range, adjusting the proportion of the first optical signal in the multi-channel optical signals sent by the optical module when the multi-channel optical signals sent by the optical module are mixed with the first optical signal.
In an embodiment, when the adjusting the ratio of the first optical signal in the multiple optical signals sent by the optical module mixes the multiple optical signals sent by the optical module with the first optical signal, the adjusting includes:
if the error rate of the mixed multi-channel optical signal is smaller than the preset range, increasing the proportion of the first optical signal in the multi-channel optical signal sent by the optical module when the multi-channel optical signal sent by the optical module is mixed with the first optical signal;
and if the error rate of the mixed multi-channel optical signals is larger than the preset range, reducing the proportion of the first optical signal in the multi-channel optical signals sent by the optical module when the multi-channel optical signals sent by the optical module are mixed with the first optical signal.
Since the error rates of optical signals normally emitted by optical modules of different models are different, the ratio of the first optical signal is different when the first optical signal is mixed with the first optical signal.
In step 102, the time delay of the corresponding optical signal can be changed by adjusting the magnitude of the first parameter. In practical application, the first parameter may be a time when the optical module sends the corresponding optical signal, and when a value of the first parameter corresponding to the corresponding optical signal is adjusted, the time delay of the corresponding optical signal changes.
In practical applications, the adjusting the magnitude of the first parameter of the corresponding optical signal for multiple times includes:
obtaining an initial value;
on the basis of the initial value, increasing the size of the first parameter according to a preset step length until a first boundary value is reached;
and on the basis of the initial value, reducing the size of the first parameter according to a preset step length until a second boundary value is reached.
In practical applications, the specific way to obtain the initial value may be to receive the initial value manually input by the user or to obtain the initial value by automatically querying a related database stored in advance. Here, the correlation database may store the model number of the optical module and a corresponding initial value. Here, the initial value may be determined based on an empirical value, specifically, a related person measures a delay and an error rate of an optical signal transmitted by a plurality of optical modules of a certain type, analyzes a correspondence between the delay and the error rate, and determines the initial value by using a median method or the like.
In practical applications, the size of the first parameter of the corresponding optical signal is referred to the time delay of the reference optical signal. Here, the function of the reference optical signal is to set the current time delay of the reference optical signal to 0 regardless of the real time delay of the reference optical signal, and align each optical signal of the mixed multiple optical signals according to the reference optical signal, specifically: assuming that the time delay of the reference optical signal is 0UI, when adjusting each optical signal in the mixed multiple optical signals, each adjusted optical signal is later or earlier than the reference X UIs. Here, UI (Unit Interval may be expressed in english) is a Unit Interval, and UI refers to a time occupied by one bit of transmission information, that is, a time slot of one symbol is one Unit Interval.
Here, the preset step length is also in units of UI, and the setting of the preset step length needs to ensure that not only enough error rate data can be obtained, but also the number of times of measuring the error rate is not too large, such as 10UI, and in practical application, the preset step length can be adjusted according to actual situations.
In practical application, a certain path of optical signal sent by the current optical module may be selected as a reference signal, and a certain path of optical signal may also be designated as a reference optical signal.
Based on this, in an embodiment, the method further comprises:
selecting a first path of optical signal in the mixed multiple paths of optical signals as a reference optical signal;
when the magnitude of the first parameter of the corresponding optical signal is adjusted for multiple times for each optical signal in the mixed multiple optical signals, the method includes:
and adjusting the size of the first parameter of the corresponding optical signal for multiple times aiming at each optical signal in the mixed multiple optical signals except the first optical signal.
In practical application, in the process of selecting the reference optical signal, one path of the multiple paths of optical signals sent by the optical module can be randomly selected, and the selection can also be performed according to a preset rule. The preset rule may be to select one of the multiple paths of optical signals sent by the optical module with the lowest bit error rate. It can be understood that the embodiment of the present invention mainly implements time delay equalization of multiple signals of an optical module, randomly selecting one path as a reference can implement time delay equalization of each path, and certainly selecting the path with the lowest error rate can enable each path to reach an optimal state, thereby further improving the performance of the optical module.
Based on this, in an embodiment, the selecting a first optical signal of the mixed multiple optical signals as a reference optical signal includes:
measuring the error rate of each optical signal in the mixed multi-path optical signals;
comparing the measured error rates of the optical signals of all paths;
and taking the path of optical signal with the lowest error rate as a reference optical signal.
In practical application, the error code recognition device can be used for testing the error code rate of the optical signal. The specific way of obtaining the error rate corresponding to the corresponding path of optical signal after each adjustment may be to receive an error rate test result sent by an error code device.
In steps 103 and 104, a corresponding relationship between the error rate and the first parameter value after each adjustment of the corresponding optical signal is established according to the error rate test result, so that the time delay difference between the corresponding optical signal and the reference optical signal is determined by using the corresponding relationship. Similarly, the time delay difference between each optical signal and the reference optical signal can be obtained, and then the value of the first parameter capable of reflecting the time delay difference corresponding to each optical signal is solidified into the optical module.
In an embodiment, the determining, according to a correspondence between the magnitude of the first parameter adjusted multiple times and the obtained error rate, a delay difference between the corresponding optical signal and the reference optical signal includes:
taking the value of the corresponding first parameter when the error rate obtained by the corresponding optical signal is the lowest as the time delay difference between the corresponding optical signal and the reference optical signal;
the time delay equalization of each optical signal based on the time delay difference between each optical signal and the reference optical signal includes:
and setting the value of the first parameter in the configuration parameters corresponding to the corresponding optical signal path as the value of the first parameter corresponding to the lowest error rate so as to perform time delay equalization of the corresponding optical signal path.
In practical application, the absolute value of the time delay is difficult to obtain, and when the external environmental conditions of the multiple paths of optical signals sent by the optical module are consistent, the error rate directly reflects the time delay condition, so that when the value of the first parameter is adjusted on the basis of the reference optical signal for the corresponding path of optical signal, it can be considered that when the error rate is lowest, the time delay of the corresponding path of optical signal relative to the reference optical signal can be represented as the lowest value in the current condition.
In the time delay equalization method provided by the embodiment of the invention, a plurality of paths of optical signals sent by an optical module are respectively mixed with a first optical signal to obtain a plurality of paths of mixed optical signals; the error rate of the mixed multipath optical signals meets a preset condition; aiming at each optical signal in the mixed multi-path optical signals, adjusting the size of a first parameter of the corresponding optical signal for multiple times so as to adjust the corresponding optical signal for multiple times; acquiring the error rate corresponding to the corresponding path of optical signal after each adjustment; the time delay of the corresponding optical signal can be changed by adjusting the size of the first parameter; the size of the first parameter of the corresponding optical signal is referred to the time delay of the reference optical signal; determining the time delay difference between the corresponding optical signal and the reference optical signal according to the corresponding relation between the magnitude of the first parameter adjusted for multiple times and the obtained error rate; and performing time delay equalization on each optical signal based on the time delay difference between each optical signal and the reference optical signal. In the embodiment of the invention, when the multi-path optical signals sent by the optical module are subjected to time delay equalization, the multi-path optical signals are respectively mixed with the first optical signals, so that the error rate of the multi-path optical signals is in the optimal state of identification precision, then under the optimal state, the value of a parameter capable of adjusting time delay in the configuration parameters corresponding to each path of optical signals in the mixed multi-path optical signals is respectively adjusted for multiple times, meanwhile, the time delay difference between each path of optical signals and the reference optical signals is determined by utilizing the corresponding relation between different values of the parameter and the error rate of the corresponding optical signals after multiple times of adjustment, and finally, the time delay equalization is respectively carried out on each path of optical signals. That is to say, in the embodiment of the present invention, not only is an error that may be brought by an identification error of the bit error rate itself when the bit error rate is used for performing the delay equalization eliminated, but also a delay difference from the reference optical signal is respectively determined for each optical signal, and the method can be applied to different optical signals.
The present invention will be described in further detail with reference to the following application examples.
An application embodiment of the present invention provides a delay equalization method, and in this application embodiment, the equalization method according to the application embodiment of the present invention is specifically implemented based on the delay equalization system provided in fig. 2. As shown in fig. 2, the delay equalization system includes: the system comprises an optical module, a white light generating device, a wave combination device, an error code identification device and a control platform; the optical module is used for sending out a plurality of paths of optical signals; the white light generating device is used for generating white light with the same wave band as the light signal emitted by the optical module; the wave combining device is used for mixing each path of optical signal in the multiple paths of optical signals with the generated white light; the error code identification device is used for measuring the error code rate of an optical signal, and the control platform is used for controlling the optical module, the white light generation device, the wave combination device and the error code identification device, and specifically comprises the following steps: selecting a first path of optical signal in the mixed multiple paths of optical signals as a reference optical signal; for each optical signal in each optical signal except for the first optical signal in the mixed multiple optical signals, repeatedly adjusting the size of the configuration parameter of the corresponding optical signal based on the reference optical signal so as to repeatedly adjust the corresponding optical signal; acquiring the error rate corresponding to the corresponding path of optical signal after each adjustment; determining the time delay difference between the corresponding optical signal and the reference optical signal according to the corresponding relation between the size of the configuration parameter adjusted for multiple times and the obtained error rate; and performing time delay equalization on each optical signal based on the time delay difference between each optical signal and the reference optical signal.
Based on the time delay balancing system, the condition of time delay imbalance of a plurality of paths of high-speed optical paths and circuits in the optical module is compensated through the following steps, specifically:
step a: setting a specific bit error rate;
in the step a, the light multipath signals of the optical module and the white light are mixed, and the control platform adjusts the size of the white light to achieve a specific error rate.
Fig. 3 is a flow chart of controlling white light ratio to achieve a specific bit error rate. Because the time delay between each module is different, the error rate read by the error code recognition device is not necessarily suitable for the time delay compensation test. Therefore, the error rate read by the error code recognition device needs to be changed by setting different white light sizes so as to read the error rate to a specific error rate. Specifically, the method comprises the following steps:
step 300: starting;
in practical application, an instruction for starting setting a specific bit error rate is obtained. After step 300, go to step 301.
Step 301: initializing;
in practical applications, initialization of the white light generating device is performed. After step 301, go to step 302.
Step 302: judging whether the error rate meets the requirement;
if the read error rate meets the requirement, go to step 303; if the read bit error rate does not meet the requirements, go to step 304.
Step 303: entering the next step;
at this point, the process of adjusting the white light ends.
Step 304: judging whether the error rate is greater than the requirement;
if the read bit error rate is greater than the specified bit error rate requirement, go to step 305; if the read bit error rate is less than the specified bit error rate requirement, proceed to step 306.
Step 305: the proportion of white light is reduced;
in practical application, the white light proportion can be gradually reduced, and after the white light proportion is adjusted, the error rate is measured until the error rate meets the requirement.
Step 306: the white light proportion is increased;
in practical application, the white light proportion can be gradually increased, and after the white light proportion is adjusted, the error rate is measured until the error rate meets the requirement.
In practical application, the process is automatically completed by controlling the white light generating device through the control platform.
Step b: adjusting configuration parameters;
in the step b, under a specific bit error rate, taking a certain path of high-speed signal as a reference, the control platform changes configuration parameters of time delay on the optical paths and the circuits of other paths of high-speed signals of the optical module one by one. The method mainly comprises the following steps:
step (1): selecting a certain path of high-speed signal as a reference signal, and taking the path as a standard for the test;
step (2): selecting a certain path of high-speed signal to be tested, issuing an initial delay value, and reading and recording an error rate; then, according to a specific step length, gradually increasing the time delay configuration, reading and recording the error rate each time until reaching a maximum value boundary set by the time delay;
and (3): and issuing the initial value of the time delay again, and reading and recording the error rate. Then, according to a specific step length, reducing the time delay configuration step by step, reading and recording the error rate each time until reaching a minimum value boundary set by the time delay;
and (4): the initial value is issued again, and the initial test state is recovered;
and (5): and summarizing the error rate and the issued time delay recorded in the test, analyzing and processing, and testing the next path of high-speed signal until all the high-speed channels are tested.
As shown in fig. 4, a flowchart for specifically testing a time delay between a certain path of high-speed signal to be tested and a reference optical signal is specifically shown, where:
step 400: starting;
in practical application, an instruction for starting to adjust the configuration parameters is obtained. After step 400, go to step 401.
Step 401: initializing;
in actual application, the adjustment program is initialized. After step 401, step 402 is reached.
Step 402: acquiring a reference light signal;
in practical application, a certain path of optical signal is randomly selected as a reference optical signal. After step 402, the process proceeds to step 403.
Step 403: acquiring a certain path of signal to be detected, and setting an initial value;
in practical application, a certain path of optical signal except the reference optical signal is randomly selected as an optical signal to be detected, and an initial value of a configuration parameter is issued to the path of optical signal to be detected. After step 403, go to step 404.
Step 404: acquiring an error rate;
in practical application, the error code recognition device measures the error code rate of the optical signal to be measured which issues the initial value of the configuration parameter. And receiving a test result sent by the error code identification device. After step 404, go to step 405.
Step 405: increasing the time delay configuration according to the step length;
in practical application, the value of the configuration parameter is gradually adjusted according to the step length to increase the value of the time delay, after the value of the configuration parameter is adjusted each time, the value of the error rate is obtained again (i.e., the step 404 is repeatedly executed), and whether the value reaches the boundary range of the maximum value of the time delay configuration is judged (i.e., the step 406 is repeatedly executed).
Step 406: judging whether the boundary range of the maximum value of the time delay configuration is reached;
when the boundary range of the maximum value of the time delay configuration is not reached, continuing to execute the step 404; when the boundary range of the maximum value of the time delay configuration is reached, executing step 407;
step 407: issuing the initial value again;
in practical application, the initial value of the configuration parameter is issued, and step 407 is followed by step 408.
Step 408: acquiring an error rate;
in practical application, the error code recognition device measures the error code rate of the optical signal to be measured which issues the initial value of the configuration parameter. And receiving a test result sent by the error code identification device. After step 408, go to step 409.
Step 409: reducing the delay configuration by step size;
in practical application, the value of the configuration parameter is gradually adjusted according to the step length to reduce the value of the time delay, after the value of the configuration parameter is adjusted each time, the value of the error rate is obtained again (i.e. the repeated execution 408), and whether the value reaches the boundary range of the minimum value of the time delay configuration is judged (i.e. the repeated execution 410).
Step 410: judging whether the boundary range of the minimum value of the time delay configuration is reached;
when the minimum boundary range of the delay configuration is not reached, continuing to execute step 408; when the boundary range of the minimum value of the time delay configuration is reached, executing step 411;
step 411: issuing the initial value again;
in practical application, the initial value of the configuration parameter is issued, and step 412 is proceeded after step 411.
Step 412: summarizing and processing recorded data;
after step 412, go to step 413.
Step 413: and entering the next high-speed signal test until all the paths of signal tests are finished.
Step c: determining a delay difference;
and c, constructing a bathtub curve between the error rate of the corresponding path of optical signals and the configuration parameters through the change of the error rate result measured by the error code recognition device, and automatically recognizing the optimal configuration parameters by the control platform so as to find out the time delay difference between the corresponding path of high-speed signals and the reference optical signals.
It should be noted that, since the value of the adjustment configuration parameter substantially directly changes the value of the time delay, the bathtub curve between the error rate and the configuration parameter of the corresponding optical signal is substantially the bathtub curve between the error rate and the time delay of the corresponding optical signal.
As shown in fig. 5, which is a schematic view of a bathtub curve of the bit error rate and the time delay of a certain channel, the control platform determines that the lowest point of the bit error rate is the optimal point of the time delay after analyzing and identifying.
Step d: and curing the configuration parameters.
And repeating the operations, respectively finding out the optimal point of the time delay of each path, and writing the optimal points into the fixed information of the optical module. After the subsequent optical module works, the fixed information is read and issued, and the state of time delay imbalance of each path of high-speed signal can be compensated.
In the application embodiment of the invention, the multi-path high-speed signals and the white light sent by the optical module are mixed, so that the error rate of the mixed optical signals reaches a certain specific error rate, at the moment, the configuration parameters of time delay on the optical paths and the circuits of other paths of high-speed signals are changed one by taking a certain path of high-speed signals as a reference, the optimal configuration parameters are identified through the change of the error rate displayed on an error code identification device, so that the time delay difference among the high-speed signals of different paths is found out, and finally, the configuration is solidified in the optical module through a control device to be compensated, so that the time delay balance on the circuits and the optical paths of the multi-path high-speed signals is reached. The method for compensating the time delay imbalance of the multi-path high-speed optical path and the circuit in the optical module is completely realized by external control, and has no obvious requirements on the design, the type selection and the like of an internal circuit board and an optical device of the optical module. Based on the method, the purpose of compensating the time delay unbalance of the circuit and the optical path is achieved, and meanwhile the purposes of reducing the design difficulty and cost of the optical path and the circuit and improving the performance of the optical module are achieved.
In order to implement the method according to the embodiment of the present invention, an embodiment of the present invention further provides a delay equalization apparatus 600, fig. 6 is a structural diagram of the apparatus according to the embodiment of the present invention, and as shown in fig. 6, the apparatus 600 includes:
the mixing unit 601 is configured to mix the multiple paths of optical signals sent by the optical module with the first optical signal, respectively, to obtain mixed multiple paths of optical signals; the error rate of the mixed multipath optical signals meets a preset condition;
an adjusting unit 602, configured to adjust a size of a first parameter of a corresponding optical signal multiple times for each optical signal in the mixed multiple optical signals, so as to adjust the corresponding optical signal multiple times; the time delay of the corresponding optical signal can be changed by adjusting the size of the first parameter; the size of the first parameter of the corresponding optical signal is referred to the time delay of the reference optical signal;
an obtaining unit 603, configured to obtain an error rate corresponding to the corresponding optical signal after each adjustment;
a determining unit 604, configured to determine a delay difference between the corresponding optical signal and the reference optical signal according to a correspondence between the magnitude of the first parameter adjusted multiple times and the obtained error rate;
and the equalizing unit 605 is configured to perform delay equalization on each optical signal based on the delay difference between each optical signal and the reference optical signal.
In an embodiment, the determining unit 604 is specifically configured to use a value of a first parameter corresponding to a lowest error rate obtained by a corresponding optical signal as a delay difference between the corresponding optical signal and the reference optical signal;
the equalizing unit 605 is specifically configured to set a value of a first parameter in the configuration parameters corresponding to the corresponding optical signal to a value of the first parameter corresponding to the lowest obtained error rate, so as to perform delay equalization on the corresponding optical signal.
In one embodiment, the first optical signal includes white light having the same wavelength band as the plurality of optical signals emitted by the optical module.
In one embodiment, the apparatus 600 further comprises: the error rate adjusting unit is used for acquiring the error rate of the mixed multipath optical signals; comparing the error rate of the mixed multipath optical signals with a preset range; when the error rate of the mixed multi-channel optical signal is within the preset range, the error rate of the mixed multi-channel optical signal meets a preset condition; and when the error rate of the mixed multi-channel optical signals exceeds the preset range, adjusting the proportion of the first optical signal in the multi-channel optical signals sent by the optical module when the multi-channel optical signals sent by the optical module are mixed with the first optical signal.
In an embodiment, the error rate adjustment unit is specifically configured to increase a ratio of the first optical signal in the multi-channel optical signal sent by the optical module when the multi-channel optical signal sent by the optical module is mixed with the first optical signal if the error rate of the mixed multi-channel optical signal is smaller than the preset range;
and if the error rate of the mixed multi-channel optical signals is larger than the preset range, reducing the proportion of the first optical signal in the multi-channel optical signals sent by the optical module when the multi-channel optical signals sent by the optical module are mixed with the first optical signal.
In one embodiment, the apparatus 600 further comprises: the selection unit is used for selecting a first path of optical signal in the mixed multi-path optical signals as a reference optical signal;
the adjusting unit 602 is specifically configured to adjust the magnitude of the first parameter of the corresponding optical signal multiple times for each optical signal in the optical signals except the first optical signal in the mixed multiple optical signals.
In an embodiment, the selecting unit is specifically configured to measure an error rate of each optical signal in the mixed multiple optical signals; comparing the measured error rates of the optical signals of all paths; and taking the path of optical signal with the lowest error rate as a reference optical signal.
In an embodiment, the adjusting unit 602 is specifically configured to obtain an initial value; on the basis of the initial value, increasing the size of the first parameter according to a preset step length until a first boundary value is reached; and on the basis of the initial value, reducing the size of the first parameter according to a preset step length until a second boundary value is reached.
In practical application, the error rate adjusting unit, the selecting unit, the adjusting unit 602, the obtaining unit 603, the determining unit 604, and the equalizing unit 605 may be implemented by a processor in the delay equalizing apparatus 600.
It should be noted that: in the delay equalization apparatus provided in the foregoing embodiment, only the division of each program module is exemplified when performing delay equalization, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the apparatus is divided into different program modules to complete all or part of the processing described above. In addition, the embodiments of the delay equalization apparatus and the delay equalization method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in the embodiments of the methods, and are not described herein again.
In order to implement the method according to the embodiment of the present invention, an embodiment of the present invention further provides a delay equalization system, where the system includes:
a white light generating device for generating a first optical signal;
the wave combining device is used for mixing the multi-path optical signals emitted by the optical module with the first optical signals generated by the white light generating device respectively to obtain the mixed multi-path optical signals; the error rate of the mixed multipath optical signals meets a preset condition;
the error code identification device is used for measuring the error code rate of the optical signal;
the control device is used for adjusting the size of the first parameter of the corresponding optical signal for multiple times aiming at each optical signal in the mixed multiple paths of optical signals so as to adjust the corresponding optical signal for multiple times; acquiring the error rate corresponding to the corresponding path of optical signal after each adjustment; the time delay of the corresponding optical signal can be changed by adjusting the size of the first parameter; the size of the first parameter of the corresponding optical signal is referred to the time delay of the reference optical signal; determining the time delay difference between the corresponding optical signal and the reference optical signal according to the corresponding relation between the magnitude of the first parameter adjusted for multiple times and the obtained error rate; and performing time delay equalization on each optical signal based on the time delay difference between each optical signal and the reference optical signal.
In practical application, the delay equalization system may further include: optical module, storage device, communication interface and communication bus. Fig. 7 is a schematic structural diagram of an entity of a delay equalization system according to an embodiment of the present invention, and as shown in fig. 7, the delay equalization system includes: the device comprises a control device, an optical module, a white light generating device, an error code recognition device, a storage device, a communication interface and a communication bus, wherein the control device, the white light generating device and the error code recognition device complete mutual communication through the communication bus. The control device calls a computer program stored on the storage device to execute the device and the method for compensating the imbalance of the optical path delay and the circuit delay inside the optical module provided by the above embodiments.
It should be noted that: "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In addition, the technical solutions described in the embodiments of the present invention may be arbitrarily combined without conflict.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.