Extinction ratio debugging method, device, equipment and medium based on multi-channel power meter

The multi-channel power meter calculates the incline efficiency and modulation current of the laser, and adjusts the Trim value of the register in dichotomy, solves the problem of low extinction efficiency than debugging in mass production of optical communication equipment, and achieves cost reduction and efficiency improvement.

CN120160795BActive Publication Date: 2025-08-19SICHUAN TIANYI COMHEART TELECOM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510324201.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-19
Publication Date
2025-08-19
Estimated Expiration
2045-03-19

AI Technical Summary

Technical Problem

In the prior art, the efficiency of debugging extinction ratio using optical oscilloscopes is low, resulting in high cost and low efficiency of mass production of optical communication equipment.

Method used

A multi-channel power meter is used to obtain the bias current and power values ​​of multiple channels, calculate the oblique efficiency and modulation current of the laser, and adjust the Trim value of the register by dichotomous method to achieve automatic debugging of the extinction ratio.

Benefits of technology

It reduces testing costs, simplifies operational processes, improves debugging efficiency, adapts to a variety of application scenarios, and ensures the comprehensiveness and accuracy of debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120160795B_ABST
    Figure CN120160795B_ABST
Patent Text Reader

Abstract

The present application provides an extinction ratio debugging method, apparatus, device and medium based on a multi-channel power meter, relating to the field of optical communication technology. The method includes: when the power of a target channel of the multi-channel power meter 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 based on the first target power, the second target power, the first bias current and the second bias current; obtaining a target modulation current based on the slope efficiency, the second target power and the target extinction ratio; setting a Trim value of a register in the target optical communication device by a dichotomy method, and obtaining a current modulation current based on a current ADC value of the register; if the current modulation current is within a preset range of the target modulation current, the debugging is terminated. This method can improve the extinction ratio debugging efficiency of multiple optical communication devices through a multi-channel power meter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical communication technology and provides an extinction ratio debugging method, device, equipment and medium based on a multi-channel power meter. Background Art

[0002] The extinction ratio (ER) is a crucial parameter in optical communication systems. It is the ratio of the optical power of a "1" (high level) signal to the optical power of a "0" (low level) signal in an optical signal, measured in decibels (dB). The ER plays a crucial role in multiple optical communication technologies, particularly in applications such as PONs, government and enterprise gateways, FTTRs, and converged gateways. Its performance directly impacts signal transmission quality and system performance.

[0003] During the mass production of optical communication equipment such as optical modules and optical modems, optical oscilloscopes are often used to debug the extinction ratio parameters of the transmitter. However, optical oscilloscopes are relatively expensive and single-channel devices. During testing, if multiple optical communication devices collect data concurrently, threads must queue, resulting in low extinction ratio debugging efficiency. Summary of the Invention

[0004] The present application provides an extinction ratio debugging method, apparatus, device and medium based on a multi-channel power meter, which are 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 an extinction ratio based on a multi-channel power meter is provided, which is applied to a debugging system, wherein the debugging system includes a multi-channel power meter and multiple optical communication devices, wherein the multi-channel power meter includes multiple channels, each channel being connected to an optical communication device; the method includes:

[0006] When the power of a target channel among the multiple channels reaches a first target power, obtaining a corresponding first bias current;

[0007] When the power of the target channel reaches a second target power, obtaining a corresponding second bias current;

[0008] Calculating 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;

[0009] Obtaining a target modulation current according to the slope efficiency, the second target power, and the target extinction ratio;

[0010] Setting a Trim value of a register in the target optical communication device by a binary method, continuously reading a current ADC value of the register, and obtaining a 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 is completed.

[0012] Optionally, after setting the Trim value of the register in the target optical communication device by a dichotomy 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, calculating the percentage difference between the current modulation current and the target modulation current;

[0014] Searching a pre-stored first relationship table to obtain a Trim value corresponding to the difference percentage;

[0015] The Trim value corresponding to the difference percentage is written into the register.

[0016] Optionally, the Trim value has a value range of [N, M], where N and M are both positive integers greater than or equal to 0; and setting the Trim value of the register in the target optical communication device by dichotomy, 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] Setting the Trim value of a 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;

[0018] 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;

[0019] 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.

[0020] Optionally, when the power of a target channel among the multiple channels reaches a first target power, obtaining a corresponding first bias current includes:

[0021] 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;

[0022] Searching a pre-stored second relationship table to obtain a current intensity modulation value corresponding to the current DAC value;

[0023] 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;

[0024] Searching the second relationship table to obtain a target DAC value corresponding to the target intensity modulation value;

[0025] 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.

[0026] Optionally, 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 includes:

[0027] Calculating the product of the current intensity modulation value and the first target power to obtain a product value;

[0028] 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.

[0029] Optionally, 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] calculating a first difference between the second target power and the first target power;

[0031] calculating a second difference between the second bias current and the first bias current;

[0032] 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.

[0033] Optionally, the target modulation current is calculated as follows:

[0034] Imod_target=2×Pwr2 / SE×(ER_target-1) / (ER_target+1)

[0035] Wherein, 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, an extinction ratio debugging device based on a multi-channel power meter is provided, which is arranged in a debugging system, wherein the debugging system includes a multi-channel power meter and multiple optical communication devices, wherein the multi-channel power meter includes multiple channels, each channel being 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 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;

[0039] an obtaining module, configured to obtain a target modulation current according to the slope efficiency, the second target power, and the target extinction ratio;

[0040] A loop module is used to set the Trim value of the register in the target optical communication device through dichotomy, 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.

[0041] In a third aspect, the present application provides a computer device comprising 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 described in the first aspect.

[0042] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, 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 present invention has the following advantages:

[0044] 1. Cost reduction: No need to purchase expensive oscilloscope equipment, reducing testing costs and production costs.

[0045] 2. Easy operation: The registers inside the optical communication equipment can be adjusted through software algorithms, which simplifies the debugging process. It does not require complex instrument operation and ordinary technicians can quickly get started.

[0046] 3. High efficiency: For products in stable mass production, a multi-channel power meter can simultaneously collect the power of multiple optical communication devices in a multi-threaded manner, enabling simultaneous extinction ratio debugging of multiple optical communication devices, thereby improving debugging efficiency. Furthermore, automated debugging and calibration processes implemented through software reduce the need for manual intervention, further improving debugging efficiency.

[0047] 4. Strong flexibility: The extinction ratio can be debugged at different data rates and wavelengths, adapting to various application scenarios and supporting multiple data modes to ensure 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 briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0049] Figure 1 Schematic diagram of application scenarios provided by embodiments of the present application;

[0050] Figure 2 A schematic diagram of the power-current characteristic curve of the laser provided in an embodiment of the present application;

[0051] Figure 3 A flow chart of a method for debugging an extinction ratio based on a multi-channel power meter provided in an embodiment of the present application;

[0052] Figure 4 A partial schematic diagram of a second relationship table provided in an embodiment of the present application;

[0053] Figure 5 A schematic diagram of the structure of an extinction ratio debugging device based on a multi-channel power meter provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other in any way. In addition, although a logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.

[0055] First, the significance of debugging the extinction ratio is introduced in detail.

[0056] 1. Improved signal quality: A higher extinction ratio means a greater difference in optical power between "1" and "0" codes. At the receiving end, this allows for clearer discrimination between "1" and "0" codes, thereby reducing the bit error rate (BER) and improving signal quality.

[0057] 2. Increase transmission distance: When transmitting optical signals in optical fibers, they are affected by attenuation. A suitable extinction ratio can ensure that the signal can still be correctly received after attenuation. Therefore, for long-distance optical fiber communication, the adjustment of the extinction ratio is particularly important.

[0058] 3. Compatibility and interoperability: Optical modules produced by different manufacturers or different optical communication equipment need to be compatible and interoperable with each other. By debugging the extinction ratio to make it conform to industry standards or the standards agreed upon between devices, it can be ensured that the optical module can work properly in different systems.

[0059] 4. Reduce power consumption and noise impact: When the extinction ratio is properly tuned, the optical power output can be reduced when sending the "0" code, thereby reducing unnecessary energy consumption. Because the optical power of the "0" code is low, the impact of external optical noise on signal judgment is relatively small. Therefore, a high extinction ratio can also reduce interference from background optical noise and other factors on the signal.

[0060] The use of optical oscilloscopes in the prior art results in low extinction ratio debugging efficiency. In view of this, the present invention provides an extinction ratio debugging method based on a multi-channel power meter, which is applied to the debugging system. Figure 1 , is a schematic diagram of an application scenario provided in an embodiment of the present application, or can be understood as a structural diagram of a debugging system.

[0061] This application scenario involves a multi-channel power meter and multiple optical communication devices. The multi-channel power meter consists of multiple channels, each of which is connected to an optical communication device. The multi-channel power meter can simultaneously monitor the power of optical communication devices on multiple channels. Each optical communication device can be an optical module, optical modem, etc.

[0062] It should be noted that Figure 1 The example above takes an 8-channel power meter connected to 8 optical communication devices. 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. There is a certain relationship between the output optical power of the semiconductor laser and the injection current. Figure 2 , which is a schematic diagram of the power-current characteristic curve of the laser provided in an embodiment of the present application.

[0064] Among them, the vertical axis represents the output of optical power, the horizontal axis represents the current input light, and the bias current refers to the DC current injected into the laser when there is no modulation signal input. The role of the bias current is to set the laser operating point to a suitable position above the threshold current. P1 represents the optical power of high level 1, P0 represents the optical power of low level 0, and P AVG Indicates the average optical power.

[0065] from Figure 2 It can be seen that below the threshold current of the PI 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 optical communication equipment 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 an optical power determined by the bias current, equivalent to the optical power corresponding to a "0" code. When the modulation current is applied, the optical power changes based on the optical power generated by the bias current, producing the optical power corresponding to a "1" code. The magnitude of the modulation current determines the difference in optical power between the "1" and "0" codes, and therefore, the extinction ratio is positively correlated with the modulation current.

[0067] Based on the above conclusions (i.e., the power of optical communication equipment is positively correlated with the bias current, and the extinction ratio is positively correlated with the modulation current), this application provides an extinction ratio debugging method based on a multi-channel power meter, such as Figure 3 As shown below. Figure 3 The extinction ratio debugging method based on a multi-channel power meter is introduced in detail.

[0068] S301 : When the power of a target channel among multiple channels reaches a first target power, obtain a corresponding first bias current.

[0069] During implementation, the debugger can first configure initialization information, which includes the target debug optical power and its accuracy range, and the target extinction ratio and its accuracy range. The target debug optical power includes a first target power and a second target power. By adjusting the registers of the optical driver 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, the corresponding first bias current is obtained. Taking into account the error, when the power of the target channel reaches the accuracy range of the first target power, the corresponding first bias current can also be obtained.

[0071] For example, if the first target power is 10 mW and the accuracy range is ±0.5 mW, the corresponding first bias current can be obtained as long as the power of the target channel is between [9.5 mW, 10.5 mW].

[0072] S302: When the power of the target channel reaches a second target power, obtain a corresponding second bias current.

[0073] In a specific implementation, when the power of the target channel reaches the second target power, the corresponding second bias current is obtained. Taking into account the error, when the power of the target channel reaches within the accuracy range of the second target power, the corresponding second bias current can also be obtained.

[0074] For example, if the second target power is 15mW and the accuracy range is ±0.5mW, the corresponding second bias current can be obtained as long as the power of the target channel is between [14.5mW, 15.5mW].

[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 a specific implementation process, a first difference between the second target power and the first target power is first calculated; a second difference between the second bias current and the first bias current is calculated; and a ratio between the first difference and the second difference is determined as the slope efficiency of the laser in the target optical communication device.

[0077] In optical communication equipment, the laser is the core component that generates the light source. The specific calculation formula of the laser's slope efficiency (SE) is as follows:

[0078] SE=(Pw r2 -Pwr1) / (I2-I1)

[0079] Wherein, SE is the slope efficiency, Pwr2 is the second target power, Pwr1 is the first target power, I1 is the second bias current, and I2 is the second bias current.

[0080] S304 : Obtain a target modulation current according to the slope efficiency, the second target power, and the target extinction ratio.

[0081] Specifically, the target modulation current is calculated as follows:

[0082] Imod_target=2×Pwr2 / SE×(ER_target-1) / (ER_target+1)

[0083] Wherein, 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 , setting the Trim value of the register in the target optical communication device by a binary 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.

[0085] Specifically, the bisection method is an algorithm that repeatedly halves an ordered interval to find a specific target value. In optical communication equipment, this method can be used to quickly adjust the Trim value of a register so that the current modulation current reaches the target modulation current. In optical communication equipment, the Trim value is typically used to adjust parameters such as the device's output power, current, and gain, ensuring that the device's output optical signal is stable and meets 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 obtained through analog-to-digital converter (DAC). The current modulation current is calculated based on the current ADC value. The specific formula is as follows:

[0087] Imod_current=ADC_TX_MOD×(1.6 / 512)

[0088] Among them, 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, S304 calculates Imod_target=20mA, and the preset range of the target modulation current is [18.5mA, 21.5mA]. If the current modulation current Imod_current is within the 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 initial test conditions, the initial state power of the target channel and the current DAC value of the register in the target optical communication device are obtained; a pre-stored second relationship table is searched to obtain a current intensity modulation value corresponding to the current DAC value; a target intensity modulation value is obtained based on the current intensity modulation value, the initial state power and the first target power; the second relationship table is searched 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 the corresponding first bias current is obtained.

[0093] During implementation, the initial test conditions are first set, for example, supply voltage: 3.3V; average power: -5dBm; target extinction ratios: 10dB and 13dB; data rate: 155Mbps or 1.25Gbps; wavelength: 1310nm; waveform: continuous waveform; data pattern: PRBS2^23-1. Next, the DAC value of the MOD current is set to 0, which means the initial value of the MOD current is set to 0.

[0094] Then, under the initial test conditions, the initial state power P of the target channel without being affected by the MOD current, and the current DAC value of the register in the target optical communication device can be obtained. 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 (DAC) on the debugging power. In the pre-stored second relationship table, find the current intensity modulation (IM) value corresponding to the current DAC value. Among them, the second relationship table is used for the correspondence between power DAC and IM. The second relationship table is the IM value actually tested by setting the DAC value each time during the design phase of the optical communication equipment (such as optical modem products) according to the driving scheme. The DAC value can be set in the range of 32~255. Please refer to Figure 4 , which is a partial schematic diagram of the second relationship table provided in an embodiment of the present application.

[0095] Then, the product of the current intensity modulation value and the first target power can be calculated to obtain the 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. 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 relationship table may be searched continuously to find the target DAC value corresponding to the target IM value, and the target DAC value may be set to the register again.

[0099] Finally, the power of the target channel is read using a multi-channel power meter to determine whether it is within the accuracy range of the first target power. If so, the corresponding first bias current is obtained. If not, the debugging cycle continues in this manner. If the power of the target channel still does not reach the accuracy range of the first target power after more than five debugging attempts, an error is reported.

[0100] In an embodiment of the present application, through a pre-stored relationship table, the required DAC value can be calculated based on the relationship between the current DAC value and the target power, and then the output power of the optical communication equipment can be accurately adjusted by controlling the DAC value of the register to ensure that the output optical power reaches the predetermined target power.

[0101] In a possible embodiment, the specific steps of S302 include:

[0102] Obtaining a 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] Searching the second relationship table to obtain a target DAC value corresponding to the target intensity modulation value;

[0104] The target DAC value is written into the register until the power of the target channel reaches the second target power, and the corresponding second bias current is obtained.

[0105] In the specific implementation process, similar to step S301, debugging is also carried out continuously through a lookup table to determine whether the power of the target channel has reached the accuracy range of the second target power. If it has, the corresponding second bias current is obtained. If it has not, the debugging cycle continues in this manner. If the power of the target channel still does not reach the accuracy range of the second target power after debugging for more than 5 times, an error is reported.

[0106] In a possible embodiment, the Trim value range is [N, M], where N and M are both positive integers greater than or equal to 0. Step S305 includes:

[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 based on the current ADC value of the register;

[0108] 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;

[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 a specific implementation, for example, if the Trim value range is [0, 255], the register's Trim value is first set to set1 = (0 + 255) / 2, and the current modulation current is obtained based on the register's current ADC value. A further determination is made as to 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 register's Trim value is reset to [set1 + 0] / 2. If the current modulation current is not within the preset range and is too small, the register's Trim value is reset to [set1 + 255] / 2. This loop is used for debugging, continuously resetting the register's Trim value until the current modulation current is within the preset range of the target modulation current or the register's Trim value reaches a limit, such as close to 0 or 255.

[0111] In the embodiments of the present application, when adjusting the Trim value of a register in an optical communication device, by reading the current ADC value in the register and calculating the current modulation current, real-time feedback on the actual modulation current is provided, ensuring that the modulation current of the optical communication device always remains within a predetermined reasonable range. Furthermore, based on the feedback of the current modulation current, the Trim value is automatically adjusted to maintain optimal operating conditions. This automatic adjustment process requires no human intervention, reduces human error, and can adapt to changes in the device 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 percentage difference 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; and 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] Where Trim% represents the difference percentage, Imod_target is the target modulation current, and Imod_current is the current modulation current.

[0117] Next, the system searches a pre-stored first relationship table to find the Trim value corresponding to the difference percentage. This first relationship table, provided in the optical driver chip datasheet, indicates the correspondence between the register's IM value and the modulation current. Finally, the system writes the Trim value corresponding to the difference percentage into the register using the appropriate command via the programming control interface.

[0118] In an embodiment of the present application, when the Trim value of the register has reached its limit and cannot be divided into two further, the preset table is searched by the difference percentage, and the Trim value of the register is fine-tuned 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, which has the following technical effects:

[0120] 1. High precision: Through precise 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.1dB and 0.5dB.

[0121] 2. Strong stability: In closed-loop control mode, the system can automatically adjust to maintain a stable extinction ratio and average power, and maintain good performance even in the case of environmental changes (such as temperature fluctuations).

[0122] 3. Fast test speed: The automated test process greatly shortens the debugging time and improves the production efficiency of optical communication equipment (such as optical modules or optical modems). Through software control, different test conditions can be quickly switched to speed up product launch.

[0123] 4. High reliability: It reduces the influence of human factors and improves the reliability and consistency of test results. Through multiple tests, it has been verified that this method performs well at different data rates and wavelengths.

[0124] 5. Wide range of applications: Suitable for a variety of optical communication equipment, including data transmission rates of 155Mbps and 1.25Gbps, supports 1310nm wavelength, and meets common optical fiber communication needs.

[0125] Based on the same inventive concept, the present application also provides an extinction ratio debugging device based on a multi-channel power meter, 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, each channel is connected to an optical communication device; Figure 5 As shown, the device includes:

[0126] 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;

[0127] 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;

[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] The loop module is used to set the Trim value of the register in the target optical communication device through a binary 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; if the current modulation current is within a preset range of the target modulation current, the debugging is completed.

[0130] It should be noted that each module in the extinction ratio debugging device based on a multi-channel power meter in this embodiment corresponds one-to-one to each step in the extinction ratio debugging method based on a multi-channel power meter in the aforementioned embodiment. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned extinction ratio debugging method based on a multi-channel power meter, and will not be repeated here.

[0131] In addition, in one embodiment, the present application also provides a computer device, which includes a processor, a memory, and a computer program stored in the memory. When the computer program is executed by the processor, the aforementioned extinction ratio debugging method based on a multi-channel power meter is implemented.

[0132] In addition, in one embodiment, the present application further provides a computer storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the aforementioned extinction ratio debugging method based on a multi-channel power meter is implemented.

[0133] In some embodiments, the computer-readable storage medium may be a memory device such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface mount memory, optical disk, or CD-ROM; or various devices including any one or any combination of the above memories. The computer may be various computing devices including smart 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 coordinating 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 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 document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.

[0138] The serial numbers of the above 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 embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a more preferred embodiment. Based on this understanding, the technical solution of this application, or the part that contributes to the existing technology, can be embodied in the form of a software optical communication device. This computer software optical communication device is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk), and includes a number of instructions for enabling a multimedia terminal device to execute the methods described in each embodiment of this application.

[0140] The above are only 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 using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also 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 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, 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 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; Obtaining a target modulation current according to the slope efficiency, the second target power, and the target extinction ratio; Setting a Trim value of a register in the target optical communication device by a binary method, continuously reading a current ADC value of the register, and obtaining a 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.

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 a dichotomy 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: 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, calculating the percentage difference between the current modulation current and the target modulation current; Searching a pre-stored first relationship table to obtain a 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 M are both positive integers greater than or equal to 0; setting the Trim value of the register in the target optical communication device by dichotomy, continuously reading the current ADC value of the register, and obtaining the current modulation current according to the current ADC value of the register, including: Setting the Trim value of a 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) Wherein, 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 provided in a debugging system, wherein the debugging system includes a multi-channel power meter and multiple optical communication devices, wherein the multi-channel power meter includes multiple channels, each channel being connected to an optical communication device; and 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 through dichotomy, 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 includes 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 according to any one of claims 1 to 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