Extinction ratio debugging method and device based on multi-channel power meter, equipment and medium
By using a multi-channel power meter and dichotomous method to adjust the Trim value of the register in the optical communication device, the problem of low extinction ratio efficiency of optical oscilloscope debugging in the prior art is solved, and efficient and accurate extinction ratio debugging is achieved, which is suitable for a variety of optical communication devices.
Patent Information
- Application Number
- CN202510324201.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-19
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2045-03-19
AI Technical Summary
In the prior art, the efficiency of debugging extinction ratio using optical oscilloscopes is low, especially when multiple optical communication devices collect data concurrently, resulting in low debugging efficiency.
The extinction ratio debugging method based on a multi-channel power meter is adopted, and the extinction ratio debugging method is connected to the optical communication device through multiple channels. The power of multiple devices is collected simultaneously using a multi-threaded method to calculate the oblique efficiency and modulation current of the laser, and the Trim value of the register is adjusted through a dichotomous method, and the modulation current is automatically adjusted to achieve the target extinction ratio.
It improves the efficiency and accuracy of extinction ratio debugging, reduces test costs and production costs, simplifies the debugging process, and is suitable for a variety of optical communication equipment and application scenarios.
Smart Images

Figure CN120160795A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical communication technologies, and provides a method, device, equipment and medium for debugging the extinction ratio based on a multi-channel power meter. Background Art
[0002] The extinction ratio (ER) is an important parameter in an optical communication system. It refers to the ratio of the optical power of the "1" code (high level) to the optical power of the "0" code (low level) in an optical signal, and the unit is decibel (dB). The extinction ratio plays a crucial role in multiple optical communication technologies. Especially in applications such as PON, government and enterprise gateways, FTTR, and integrated gateways, the performance of the extinction ratio directly affects the signal transmission quality and the system performance.
[0003] During the mass production process of optical communication devices such as optical modules and optical network terminals, an optical oscilloscope is usually used to debug the extinction ratio parameter of the transmitting end. However, the cost of the optical oscilloscope is relatively high, and the optical oscilloscope is a single-channel device. During the test process, if multiple optical communication devices collect data concurrently, thread queuing is required, resulting in a low debugging efficiency of the extinction ratio. Summary of the Invention
[0004] The present application provides a method, device, equipment and medium for debugging the extinction ratio based on a multi-channel power meter, which is used to solve the problem of low efficiency in debugging the extinction ratio using an optical oscilloscope in the prior art.
[0005] In a first aspect, a method for debugging the extinction ratio based on a multi-channel power meter is provided, which is applied to a debugging system. The debugging system includes a multi-channel power meter and multiple optical communication devices. The multi-channel power meter includes multiple channels, and each channel is connected to an optical communication device. The method includes:
[0006] When the power of the target channel among the multiple channels reaches a first target power, obtain the corresponding first bias current;
[0007] When the power of the target channel reaches a second target power, obtain the corresponding second bias current;
[0008] According to the first target power, the second target power, the first bias current, and the second bias current, calculate the slope efficiency of the laser in the target optical communication device; the target optical communication device is the optical communication device connected to the target channel;
[0009] According to the slope efficiency, the second target power, and the target extinction ratio, obtain the target modulation current;
[0010] Set the Trim value of the register in the target optical communication device by the bisection method, continuously read the current ADC value of the register, and obtain the current modulation current according to the current ADC value of the register.
[0011] If the current modulation current is within the preset range of the target modulation current, the debugging ends.
[0012] Optionally, after setting the Trim value of the register in the target optical communication device by the bisection method, continuously reading the current ADC value of the register, and obtaining the current modulation current according to the current ADC value of the register, the method further includes:
[0013] If the current modulation current is not within the preset range of the target modulation current and the Trim value of the register has reached the limit, calculate the percentage difference between the current modulation current and the target modulation current.
[0014] Search the pre-stored first relationship table to obtain the Trim value corresponding to the percentage difference.
[0015] Write the Trim value corresponding to the percentage difference into the register.
[0016] Optionally, the value range of the Trim value is [N, M], where both N and M are positive integers greater than or equal to 0; setting the Trim value of the register in the target optical communication device by the bisection method, continuously reading the current ADC value of the register, and obtaining the current modulation current according to the current ADC value of the register includes:
[0017] Set the Trim value of the register in the target optical communication device to (N + M) / 2, read the current ADC value of the register, and obtain the current modulation current according to the current ADC value of the register.
[0018] If the current modulation current is greater than the maximum value of the preset range, set the Trim value of the register to [(N + M) / 2 + N] / 2.
[0019] If the current modulation current is less than the minimum value of the preset range, set the Trim value of the register to [(N + M) / 2 + M] / 2.
[0020] Optionally, when the power of the target channel in the multiple channels reaches the first target power, obtaining the corresponding first bias current includes:
[0021] Under the initial test conditions, obtain the initial state power of the target channel and the current DAC value of the register in the target optical communication device.
[0022] Search for the pre-stored second relationship table to obtain the current intensity modulation value corresponding to the current DAC value;
[0023] Obtain the target intensity modulation value corresponding to the first target power according to the current intensity modulation value, the initial state power, and the first target power;
[0024] Search the second relationship table to obtain the target DAC value corresponding to the target intensity modulation value;
[0025] Write the target DAC value into the register until the power of the target channel reaches the first target power, and obtain the corresponding first bias current.
[0026] Optionally, the obtaining the target intensity modulation value corresponding to the first target power according to the current intensity modulation value, the initial state power, and the first target power includes:
[0027] Calculate the product of the current intensity modulation value and the first target power to obtain a product value;
[0028] Determine the ratio between the product value and the initial state power as the target intensity modulation value corresponding to the first target power.
[0029] Optionally, the calculating the slope efficiency of the laser in the target optical communication device according to the first target power, the second target power, the first bias current, and the second bias current includes:
[0030] Calculate a first difference between the second target power and the first target power;
[0031] Calculate a second difference between the second bias current and the first bias current;
[0032] Determine the ratio between the first difference and the second difference as the slope efficiency of the laser in the target optical communication device.
[0033] Optionally, the calculation formula of the target modulation current is as follows:
[0034] Imod_target = 2 × Pwr2 / SE × (ER_target - 1) / (ER_target + 1)
[0035] Where, Imod_target is the target modulation current, ER_target is the target extinction ratio, Pwr2 is the second target power, and SE is the slope efficiency.
[0036] In a second aspect, a extinction ratio debugging device based on a multi-channel power meter is provided, which is arranged in a debugging system. The debugging system includes a multi-channel power meter and multiple optical communication devices. The multi-channel power meter includes multiple channels, and each channel is connected to an optical communication device. The device includes:
[0037] An acquisition module, configured to acquire a corresponding first bias current when the power of a target channel among the multiple channels reaches a first target power; and acquire a corresponding second bias current when the power of the target channel reaches a second target power;
[0038] A calculation module, configured to calculate the slope efficiency of a laser in a target optical communication device according to the first target power, the second target power, the first bias current, and the second bias current. The target optical communication device is the optical communication device connected to the target channel;
[0039] An obtaining module, configured to obtain a target modulation current according to the slope efficiency, the second target power, and a target extinction ratio;
[0040] A loop module, configured to set a Trim value of a register in the target optical communication device by means of the bisection method, continuously read a current ADC value of the register, and obtain a current modulation current according to the current ADC value of the register. If the current modulation current is within a preset range of the target modulation current, the debugging ends.
[0041] In a third aspect, the present application provides a computer device, which includes a memory and a processor. A computer program is stored in the memory, and the processor executes the computer program to implement the extinction ratio debugging method based on a multi-channel power meter described in the first aspect.
[0042] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and a processor executes the computer program to implement the extinction ratio debugging method based on a multi-channel power meter described in the first aspect.
[0043] Compared with the prior art, the beneficial effects of the present application are as follows:
[0044] 1. Cost reduction: There is no need to purchase expensive oscilloscope equipment, reducing the test cost and production cost.
[0045] 2. Simple operation: The registers inside the optical communication device can be adjusted through software algorithms, simplifying the debugging process. There is no need for complex instrument operations, and ordinary technicians can quickly get started.
[0046] 3. High efficiency: For products with stable mass production, through a multi-channel power meter, the power of multiple optical communication devices can be collected simultaneously in a multi-threaded manner, and the extinction ratio debugging of multiple optical communication devices can be achieved simultaneously, thus improving the debugging efficiency. Moreover, through software to implement an automated debugging and calibration process, the need for manual intervention is reduced, which can further improve the debugging efficiency.
[0047] 4. Strong flexibility: The extinction ratio can be debugged at different data rates and wavelengths, adapting to a variety of application scenarios, supporting multiple data modes, and ensuring the comprehensiveness and accuracy of debugging. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments or related technologies. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on the provided drawings.
[0049] Figure 1 It is a schematic diagram of the application scenario provided by the embodiment of the present application;
[0050] Figure 2 It is a schematic diagram of the power-current characteristic curve of the laser provided by the embodiment of the present application;
[0051] Figure 3 It is a schematic diagram of the flow of the extinction ratio debugging method based on a multi-channel power meter provided by the embodiment of the present application;
[0052] Figure 4 It is a partial schematic diagram of the second relational table provided by the embodiment of the present application;
[0053] Figure 5 It is a schematic diagram of the structure of the extinction ratio debugging device based on a multi-channel power meter provided by the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0054] To make the objectives, technical solutions, and advantages of the present application clearer and more understandable, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all of them. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application. Without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other arbitrarily. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0055] First, the significance of debugging the extinction ratio is introduced in detail.
[0056] I. Improving signal quality: A higher extinction ratio means a larger difference in optical power between "1" and "0" codes. At the receiving end, this allows for a clearer distinction between "1" and "0" codes, thereby reducing the bit error rate (BER) and improving signal quality.
[0057] II. Increasing transmission distance: When optical signals are transmitted in optical fibers, they are affected by attenuation. An appropriate extinction ratio enables the signal to still be correctly received after attenuation. Therefore, for long - distance optical fiber communication, debugging the extinction ratio is particularly important.
[0058] III. Compatibility and interoperability: Optical modules produced by different manufacturers or different optical communication devices need to be compatible and interoperable with each other. By debugging the extinction ratio to meet industry standards or the standards agreed upon between devices, it can be ensured that the optical module can work properly in different systems.
[0059] IV. Reducing power consumption and the impact of noise: When the extinction ratio is debugged reasonably, the optical power output can be reduced when sending "0" codes, thereby reducing unnecessary energy consumption. Since the optical power of "0" codes is low, relatively speaking, the impact of external optical noise on signal decision - making will be reduced. Therefore, a high extinction ratio can also reduce interference from background optical noise and other factors to the signal.
[0060] In the prior art, using an optical oscilloscope leads to low efficiency in debugging the extinction ratio. In view of this, the embodiments of the present application provide a method for debugging the extinction ratio based on a multi - channel power meter, which is applied to a debugging system. Please refer to Figure 1 , which is a schematic diagram of an application scenario provided by the embodiments of the present application, or can be understood as a schematic diagram of the structure of the debugging system.
[0061] This application scenario includes a multi - channel power meter and multiple optical communication devices. The multi - channel power meter includes multiple channels, and each channel is connected to an optical communication device. The multi - channel power meter can simultaneously monitor the power of optical communication devices in multiple channels. Each optical communication device can be an optical module, an optical modem, etc.
[0062] It should be noted that Figure 1 taking an 8 - channel power meter connected to 8 optical communication devices as an example, in fact, the multi - channel power meter can also be a 2 - channel power meter, a 4 - channel power meter, a 6 - channel power meter, etc.
[0063] Each optical communication device usually uses a semiconductor laser as a light source, and there is a certain relationship between the output optical power of the semiconductor laser and the injection current. Please refer to Figure 2 , which is a schematic diagram of the power - current characteristic curve of the laser provided by the embodiments of the present application.
[0064] Among them, the vertical coordinate represents the output of the optical power, the horizontal coordinate represents the current input optical signal, and the bias current refers to the DC current injected into the laser when there is no modulation signal input. The function of the bias current is to set the operating point of the laser at a suitable position above the threshold current. P1 represents the optical power of the high level 1, P0 represents the optical power of the low level 0, and P AVG represents the average optical power.
[0065] From Figure 2 it can be seen that below the threshold current of the P-I curve, the output optical power of the laser is very small. When the injected bias current reaches the threshold current, the optical power increases approximately linearly with the current. Therefore, the power of the optical communication device is positively correlated with the bias current.
[0066] From Figure 2 it can also be seen that when the modulation current is zero, the laser outputs the optical power determined by the bias current, which is equivalent to the optical power corresponding to the "0" code. When there is a modulation current, the optical power will change based on the optical power generated by the bias current, generating the optical power corresponding to the "1" code. The magnitude of the modulation current determines the difference between the optical powers of the "1" code and the "0" code. Therefore, the extinction ratio is positively correlated with the modulation current.
[0067] Based on the above conclusions (i.e., the power of the optical communication device is positively correlated with the bias current, and the extinction ratio is positively correlated with the modulation current), this application provides a method for debugging the extinction ratio based on a multi-channel power meter, as Figure 3 shown. The following will introduce in detail Figure 3 a method for debugging the extinction ratio based on a multi-channel power meter as shown.
[0068] S301. When the power of the target channel among multiple channels reaches the first target power, obtain the corresponding first bias current.
[0069] In the specific implementation process, the debugger can first configure the initialization information, which includes the target debugging optical power and its accuracy range, the target extinction ratio and its accuracy range. The target debugging optical power includes the first target power and the second target power. By adjusting the register of the optical drive chip of the target optical communication device, the power of the target optical communication device can be adjusted. The target optical communication device refers to the optical communication device connected to the target channel among multiple optical communication devices. Therefore, the target channel of the multi-channel power meter can monitor different power values of the target optical communication device.
[0070] When the power of the target channel reaches the first target power, obtain the corresponding first bias current. Considering the error, when the power of the target channel reaches within the accuracy range of the first target power, the corresponding first bias current can also be obtained.
[0071] For example, the first target power is 10 mW, and the accuracy range is ±0.5 mW. As long as the power of the target channel is between [9.5 mW, 10.5 mW], the corresponding first bias current can be obtained.
[0072] S302. When the power of the target channel reaches the second target power, obtain the corresponding second bias current.
[0073] In the specific implementation process, when the power of the target channel reaches the second target power, obtain the corresponding second bias current. Considering the error, when the power of the target channel is within the accuracy range of the second target power, the corresponding second bias current can also be obtained.
[0074] For example, the second target power is 15 mW, and the accuracy range is ±0.5 mW. As long as the power of the target channel is between [14.5 mW, 15.5 mW], the corresponding second bias current can be obtained.
[0075] S303. Calculate the slope efficiency of the laser in the target optical communication device according to the first target power, the second target power, the first bias current, and the second bias current.
[0076] In the specific implementation process, first calculate the first difference between the second target power and the first target power; calculate the second difference between the second bias current and the first bias current; determine the ratio between the first difference and the second difference as the slope efficiency of the laser in the target optical communication device.
[0077] In an optical communication device, the laser is the core component that generates the light source. The specific calculation formula for the slope efficiency (SE) of the laser is as follows:
[0078] SE = (Pw r2 -Pwr1) / (I2 - I1)
[0079] Where SE is the slope efficiency, Pwr2 is the second target power, Pwr1 is the first target power, I1 is the first bias current, and I2 is the second bias current.
[0080] S304. Obtain the target modulation current according to the slope efficiency, the second target power, and the target extinction ratio.
[0081] Specifically, the calculation formula for the target modulation current is as follows:
[0082] Imod_target = 2 × Pwr2 / SE × (ER_target - 1) / (ER_target + 1)
[0083] Where, Imod_target is the target modulation current, ER_target is the target extinction ratio, Pwr2 is the second target power, and SE is the slope efficiency.
[0084] S305. Set the Trim value of the register in the target optical communication device by the bisection method, continuously read the current ADC value of the register, and obtain the current modulation current according to the current ADC value of the register.
[0085] Specifically, the bisection method is an algorithm for finding a specific target value by repeatedly halving within an ordered interval. In an optical communication device, the Trim value can be quickly adjusted by the bisection method to make the current modulation current reach the target modulation current. In an optical communication device, the Trim value is usually used to adjust parameters such as the output power, current, and gain of the device to ensure that the optical signal output by the device is stable and meets the requirements.
[0086] After each adjustment of the Trim value, read the current ADC value of the register. The current ADC value refers to the current output state of the target optical communication device and is a value obtained through analog-to-digital conversion (ADC). And calculate the current modulation current according to the current ADC value. The specific formula is as follows:
[0087] Imod_current = ADC_TX_MOD × (1.6 / 512)
[0088] Where, Imod_current is the current modulation current, and ADC_TX_MOD is the current ADC value.
[0089] S306. If the current modulation current is within the preset range of the target modulation current, the debugging ends.
[0090] For example, it is calculated in S304 that Imod_target = 20 mA, and the preset range of the target modulation current is [18.5 mA, 21.5 mA]. If the current modulation current Imod_current is within this preset range, it means that the extinction ratio has reached the target extinction ratio, and the debugging ends.
[0091] In a possible embodiment, the specific steps of S301 include:
[0092] Under the initial test conditions, obtain the initial state power of the target channel and the current DAC value of the register in the target optical communication device; search for the pre-stored second relationship table to obtain the current intensity modulation value corresponding to the current DAC value; according to the current intensity modulation value, the initial state power, and the first target power, obtain the target intensity modulation value; search for the second relationship table to obtain the target DAC value corresponding to the target intensity modulation value; write the target DAC value into the register until the power of the target channel reaches the first target power, and obtain the corresponding first bias current.
[0093] In the specific implementation process, first, set the initial test conditions. For example, the supply voltage is 3.3V; the average power is -5dBm; the target extinction ratio is 10dB and 13dB; the data rate is 155Mbps or 1.25Gbps; the wavelength is 1310nm; the waveform is a continuous waveform; the data mode is PRBS2^23 - 1. Secondly, set the DAC value of the MOD current to 0, that is, set the initial value of the MOD current to 0.
[0094] Next, under the initial test conditions, the initial state power P of the target channel without being affected by the MOD current can be obtained, as well as the current DAC value of the register in the target optical communication device. The current DAC value refers to the DAC value of the debugging power of the target optical communication device, that is, the APCSET_DAC value obtained by performing digital-to-analog conversion (Digital-to-Analog Converter, DAC) on the debugging power. In the pre-stored second relationship table, find the current intensity modulation (Intensity Modulation, IM) value corresponding to the current DAC value. Among them, the second relationship table is used for the correspondence between the power DAC and the IM. The second relationship table is the IM value actually tested by setting the DAC value once during the design stage for an optical communication device according to the driving scheme (such as an optical modem product). The range of the DAC value that can be set is 32 - 255. Please refer to Figure 4 , which is a partial schematic diagram of the second relationship table provided by the embodiment of the present application.
[0095] Then, the product value can be obtained by calculating the product of the current intensity modulation value and the first target power; the ratio between the product value and the initial state power is determined as the target intensity modulation value corresponding to the first target power. The specific formula is as follows:
[0096] IM_target = Pwr1 × IM_current / P
[0097] Among them, IM_target is the target intensity modulation value, Pwr1 is the first target power, IM_current is the current intensity modulation value, and P is the initial state power.
[0098] Furthermore, the second relation table can be continuously searched to find the target DAC value corresponding to the target IM value, and the target DAC value is set to the register again.
[0099] Finally, the power of the target channel is read by a multi-channel power meter to determine whether it reaches within the accuracy range of the first target power. If it reaches, the corresponding first bias current is obtained. If it does not reach, the debugging continues in this way in a loop. If the number of debugging times exceeds 5 times and the power of the target channel still does not reach within the accuracy range of the first target power, an error is reported.
[0100] In the embodiment of the present application, through the pre-stored relation table, according to the relationship between the current DAC value and the target power, the required DAC value can be calculated, and then the output power of the optical communication device can be accurately adjusted by controlling the DAC value of the register, ensuring that the output optical power reaches the predetermined target power.
[0101] In a possible embodiment, the specific steps of S302 include:
[0102] Obtain the target intensity modulation value corresponding to the second target power according to the current intensity modulation value, the initial state power, and the second target power;
[0103] Search the second relation table to obtain the target DAC value corresponding to the target intensity modulation value;
[0104] Write the target DAC value into the register until the power of the target channel reaches the second target power, and obtain the corresponding second bias current.
[0105] In the specific implementation process, similar to the steps of S301, continuous debugging is also performed by looking up the table to determine whether the power of the target channel reaches within the accuracy range of the second target power. If it reaches, the corresponding second bias current is obtained. If it does not reach, the debugging continues in this way in a loop. If the number of debugging times exceeds 5 times and the power of the target channel still does not reach within the accuracy range of the second target power, an error is reported.
[0106] In a possible embodiment, the value range of the Trim value is [N, M], and both N and N are positive integers greater than or equal to 0. The steps of S305 include:
[0107] Set the Trim value of the register in the target optical communication device to (N + M) / 2, read the current ADC value of the register, and obtain the current modulation current according to the current ADC value of the register;
[0108] If the current modulation current is greater than the maximum value of the preset range, set the Trim value of the register to [(N + M) / 2 + N] / 2;
[0109] If the current modulation current is less than the minimum value of the preset range, the Trim value of the register is set to [(N+M) / 2+M] / 2.
[0110] In the specific implementation process, for example, the Trim value range is [0,255], the Trim value of the register is set to set1 = (0 + 255) / 2 for the first time, and the current modulation current is obtained according to the current ADC value of the register. It is further determined whether the current modulation current is within the preset range of the target modulation current. If the current modulation current is not within the preset range and is too large, the Trim value of the register is reset to [set1 + 0] / 2. If the current modulation current is not within the preset range and is too small, the Trim value of the register is reset to [set1 + 255] / 2. This loop is used for debugging, and the Trim value of the register is continuously reset until the current modulation current is within the preset range of the target modulation current or the Trim value of the register has reached a limit, such as close to 0 or 255.
[0111] In the embodiment of the present application, when adjusting the Trim value of the register of the optical communication device, by reading the current ADC value of the register and calculating the current modulation current, the actual situation of the modulation current can be fed back in real time, ensuring that the modulation current of the optical communication device is always maintained within a predetermined reasonable range. And according to the feedback of the current modulation current, the Trim value is automatically adjusted to keep it in the best working state at all times. This automatic adjustment process does not require manual intervention, reduces human errors, and can adapt to equipment changes and environmental conditions in real time.
[0112] In a possible embodiment, after S305, the method further includes:
[0113] If the current modulation current is not within the preset range of the target modulation current and the Trim value of the register has reached the limit, calculate the difference percentage between the current modulation current and the target modulation current; search the pre-stored first relationship table to obtain the Trim value corresponding to the difference percentage; write the Trim value corresponding to the difference percentage into the register.
[0114] In a specific implementation process, first, the third difference between the current modulation current and the target modulation current can be calculated, and then the ratio between the third difference and the current modulation current can be calculated to obtain the difference percentage. The specific formula is as follows:
[0115] Trim%=(Imod_target-Imod_current) / Imod_current
[0116] Wherein, Trim% represents the difference percentage, Imod_target is the target modulation current, and Imod_current is the current modulation current.
[0117] Then, search the pre-stored first relationship table to find the Trim value corresponding to the percentage difference. The first relationship table is provided in the datasheet of the optical drive chip and is used to indicate the correspondence between the IM value of the register and the modulation current. Finally, through the programming control interface, use an appropriate command to write the Trim value corresponding to the percentage difference into the register.
[0118] In the embodiment of the present application, when the Trim value of the register has reached the limit and cannot be further divided, search the preset table through the percentage difference, and fine-tune the Trim value of the register according to the corresponding Trim value in the table, so as to accurately adjust the modulation current, ensure that the current modulation current is close to the target modulation current, and further ensure that the extinction ratio reaches the predetermined target value.
[0119] In summary, the present application provides a method for debugging the extinction ratio based on a multi-channel power meter, and this method has the following technical effects:
[0120] 1. High precision: Through accurate mathematical models and algorithms, the required modulation current and bias current can be accurately calculated. After actual testing, the deviation between the actual extinction ratio and the target extinction ratio is very small, usually between 0.1 dB and 0.5 dB.
[0121] 2. Strong stability: In the closed-loop control mode, the system can automatically adjust to maintain a stable extinction ratio and average power. Even in the case of environmental changes (such as temperature fluctuations), it can still maintain good performance.
[0122] 3. Fast test speed: The automated test process greatly shortens the debugging time, improves the production efficiency of optical communication devices (such as optical modules or optical modems), and through software control, different test conditions can be quickly switched, accelerating the product launch speed.
[0123] 4. High reliability: Reduces the influence of human factors, improves the reliability and consistency of test results. Through multiple test verifications, this method performs excellently at different data rates and wavelengths.
[0124] 5. Wide application range: Applicable to a variety of optical communication devices, including data transmission rates of 155 Mbps and 1.25 Gbps, supporting a wavelength of 1310 nm, and meeting common fiber optic communication requirements.
[0125] Based on the same inventive concept, the present application also provides a device for debugging the extinction ratio based on a multi-channel power meter. This device is set in a debugging system. The debugging system includes a multi-channel power meter and multiple optical communication devices. The multi-channel power meter includes multiple channels, and each channel is connected to an optical communication device; as Figure 5 shown, this device includes:
[0126] An acquisition module, configured to acquire a corresponding first bias current when the power of a target channel among multiple channels reaches a first target power; and acquire a corresponding second bias current when the power of the target channel reaches a second target power;
[0127] A calculation module, configured to calculate the slope efficiency of a laser in a target optical communication device according to the first target power, the second target power, the first bias current, and the second bias current; the target optical communication device is an optical communication device connected to the target channel;
[0128] An obtaining module, configured to obtain a target modulation current according to the slope efficiency, the second target power, and the target extinction ratio;
[0129] A loop module, configured to set the Trim value of a register in the target optical communication device by the bisection method, continuously read the current ADC value of the register, and obtain a current modulation current according to the current ADC value of the register; if the current modulation current is within a preset range of the target modulation current, the debugging ends.
[0130] It should be noted that in this embodiment, each module in the extinction ratio debugging device based on a multi-channel power meter corresponds to each step in the extinction ratio debugging method based on a multi-channel power meter in the foregoing embodiment. Therefore, the specific implementation manner of this embodiment may refer to the implementation manner of the foregoing extinction ratio debugging method based on a multi-channel power meter, which will not be elaborated here.
[0131] In addition, in one embodiment, the present application further provides a computer device, which includes a processor, a memory, and a computer program stored in the memory. When the computer program is run by the processor, it implements the foregoing extinction ratio debugging method based on a multi-channel power meter.
[0132] In addition, in one embodiment, the present application further provides a computer storage medium, on which a computer program is stored. When the computer program is run by the processor, it implements the foregoing extinction ratio debugging method based on a multi-channel power meter.
[0133] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disc, or CD-ROM; or it may be various devices including one or any combination of the foregoing memories. The computer may be various computing devices including intelligent terminals and servers.
[0134] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0135] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0136] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0137] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including 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 system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0138] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not indicate the advantages or disadvantages of the embodiments.
[0139] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software optical communication device, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for a multimedia terminal device to execute the methods described in each embodiment of the present application.
[0140] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be similarly included in the patent protection scope of the present application.
Claims
1. A method for debugging extinction ratio based on a multi-channel power meter, characterized in that: Applied in a debugging system, the debugging system includes a multi-channel power meter and multiple optical communication devices, the multi-channel power meter includes multiple channels, each channel is connected to an optical communication device; the method includes: When the power of a target channel among the multiple channels reaches a first target power, obtaining a corresponding first bias current; When the power of the target channel reaches a second target power, obtaining a corresponding second bias current; Calculating the slope efficiency of a laser in a target optical communication device according to the first target power, the second target power, the first bias current, and the second bias current; the target optical communication device is an optical communication device connected to the target channel; Obtaining a target modulation current according to the slope efficiency, the second target power and the target extinction ratio; Setting the Trim value of the register in the target optical communication device by binary division, continuously reading the current ADC value of the register, and obtaining the current modulation current according to the current ADC value of the register; If the current modulation current is within the preset range of the target modulation current, the debugging ends.
2. The extinction ratio debugging method based on a multi-channel power meter according to claim 1, characterized in that: After setting the Trim value of the register in the target optical communication device by binary division, continuously reading the current ADC value of the register, and obtaining the current modulation current according to the current ADC value of the register, the method further includes: If the current modulation current is not within the preset range of the target modulation current and the Trim value of the register has reached the limit, then calculating the difference percentage between the current modulation current and the target modulation current; Searching the pre-stored first relationship table to obtain the Trim value corresponding to the difference percentage; The Trim value corresponding to the difference percentage is written into the register.
3. The extinction ratio debugging method based on a multi-channel power meter according to claim 1, characterized in that: The Trim value has a value range of [N, M], where N and N are both positive integers greater than or equal to 0; the Trim value of the register in the target optical communication device is set by binary division, the current ADC value of the register is continuously read, and the current modulation current is obtained according to the current ADC value of the register, including: Setting the Trim value of the register in the target optical communication device to (N+M) / 2, reading the current ADC value of the register, and obtaining the current modulation current according to the current ADC value of the register; If the current modulation current is greater than the maximum value of the preset range, the Trim value of the register is set to [(N+M) / 2+N] / 2; If the current modulation current is less than the minimum value of the preset range, the Trim value of the register is set to [(N+M) / 2+M] / 2.
4. The extinction ratio debugging method based on a multi-channel power meter according to claim 1, characterized in that: When the power of a target channel among the multiple channels reaches a first target power, obtaining a corresponding first bias current includes: Under initial test conditions, obtaining the initial state power of the target channel and the current DAC value of the register in the target optical communication device; Searching a pre-stored second relationship table to obtain a current intensity modulation value corresponding to the current DAC value; Obtaining a target intensity modulation value corresponding to the first target power according to the current intensity modulation value, the initial state power and the first target power; Searching the second relationship table to obtain a target DAC value corresponding to the target intensity modulation value; The target DAC value is written into the register until the power of the target channel reaches the first target power, and a corresponding first bias current is obtained.
5. The extinction ratio debugging method based on a multi-channel power meter according to claim 4, characterized in that: The obtaining, according to the current intensity modulation value, the initial state power and the first target power, a target intensity modulation value corresponding to the first target power includes: Calculating the product of the current intensity modulation value and the first target power to obtain a product value; The ratio between the product value and the initial state power is determined as the target intensity modulation value corresponding to the first target power.
6. The extinction ratio debugging method based on a multi-channel power meter according to claim 1, characterized in that: Calculating the slope efficiency of the laser in the target optical communication device according to the first target power, the second target power, the first bias current, and the second bias current includes: calculating a first difference between the second target power and the first target power; calculating a second difference between the second bias current and the first bias current; The ratio between the first difference and the second difference is determined as the slope efficiency of the laser in the target optical communication device.
7. The extinction ratio debugging method based on a multi-channel power meter according to claim 1, characterized in that: The target modulation current is calculated as follows: Imod_target=2×Pwr2 / SE×(ER_target-1) / (ER_target+1) Among them, Imod_target is the target modulation current, ER_target is the target extinction ratio, Pwr2 is the second target power, and SE is the slope efficiency.
8. An extinction ratio debugging device based on a multi-channel power meter, characterized in that: The device is arranged in a debugging system, wherein the debugging system includes a multi-channel power meter and a plurality of optical communication devices, wherein the multi-channel power meter includes a plurality of channels, and each channel is connected to an optical communication device; the device includes: An acquisition module, configured to acquire a corresponding first bias current when the power of a target channel among the multiple channels reaches a first target power; and acquire a corresponding second bias current when the power of the target channel reaches a second target power; a calculation module, configured to calculate a slope efficiency of a laser in a target optical communication device according to the first target power, the second target power, the first bias current, and the second bias current; the target optical communication device is an optical communication device connected to the target channel; An obtaining module, configured to obtain a target modulation current according to the slope efficiency, the second target power and the target extinction ratio; A loop module is used to set the Trim value of the register in the target optical communication device by binary division, continuously read the current ADC value of the register, and obtain the current modulation current according to the current ADC value of the register; if the current modulation current is within the preset range of the target modulation current, the debugging is completed.
9. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the extinction ratio debugging method based on a multi-channel power meter as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement the extinction ratio debugging method based on a multi-channel power meter according to any one of claims 1 to 7.
Citation Information
Patent Citations
Optical module debugging method and device, electronic equipment and storage medium
CN111600193A
Automatic debugging method and device for optical module
CN112564787A
Self-calibration single-ramp analog-to-digital converter
CN114337663A
Single-chip microcomputer output function trimming method
CN115268328A
IT7868993A0