A method, system, medium and device for constructing a tunable laser lookup table
By employing a cubic function model with dynamic path optimization and current combination scanning technology, the problems of redundant data and wavelength jumps in the lookup table of tunable lasers are solved, enabling efficient and accurate lookup table construction and automatic calibration, which is suitable for optical communication and spectral analysis.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI UNIV
- Filing Date
- 2026-03-04
- Publication Date
- 2026-06-09
AI Technical Summary
Existing technologies suffer from redundant data and frequent wavelength jumps when constructing lookup tables for tunable lasers, resulting in low efficiency and instability, and making it difficult to adapt to individual differences and aging issues in lasers.
A dynamic path optimization-based approach is adopted. By constructing a cubic function model, the current combination is dynamically adjusted, forward and reverse scanning is performed, a monostable wavelength region is generated, a search library is established and automatic calibration is performed, redundant data is reduced, and wavelength jumps are avoided.
It improves the efficiency and accuracy of lookup table construction, reduces the amount of scan data, avoids wavelength jumps, supports periodic calibration of laser aging deviations, and is suitable for high-precision applications such as optical communication and spectral analysis.
Smart Images

Figure CN122173684A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of tunable semiconductor laser technology, specifically to a method, system, medium, and device for constructing a tunable laser lookup table. Background Technology
[0002] Distributed Bragg reflector (DBR) lasers, as high-performance semiconductor lasers based on a distributed feedback mechanism, possess numerous core advantages: they achieve selective feedback and mode filtering of the optical field through a periodic grating structure, enabling stable output of single-mode laser light with excellent wavelength stability and coherence. They also boast a wide tuning range and high tuning precision, flexibly adapting to wavelength requirements in various scenarios such as optical communication, spectral analysis, and optical sensing. Furthermore, their compact structure and high integration allow for monolithic integration with optoelectronic components such as modulators and waveguides, effectively reducing system size and power consumption. Coupled with mature manufacturing processes, low threshold current, and high electro-optical conversion efficiency, they maintain stable output power and beam quality even under high temperatures or complex environments, exhibiting both long lifespan and high reliability, making them a core light source for high-precision applications.
[0003] The multi-channel current control principle of DBR (Distributed Bragg Reflector) lasers is based on the device's partitioned design: DBR lasers are typically divided into four independent functional regions: gain region, phase region, optical amplification region, and grating region (left and right gratings), corresponding to five independent control currents. The currents in the gain and optical amplification regions are used to adjust the injected carrier concentration, thereby controlling the laser output power. The current in the phase region adjusts the optical path difference by changing the refractive index of this region, achieving fine-tuning of the laser wavelength. The current in the grating region changes the grating refractive index through carrier dispersion, controlling the Bragg reflection wavelength to achieve coarse tuning and mode locking of the laser's dominant wavelength. When the five currents work together, high-precision, wide-range coordinated control of laser power and wavelength can be achieved while ensuring single-mode output, meeting the dynamic parameter requirements of complex application scenarios.
[0004] In the practical deployment of tunable lasers, the correspondence between wavelength and driving current needs to be precisely controlled by pre-constructing a lookup table. The construction of the lookup table typically involves three steps: first, locating eight tuning paths to obtain a rough 40nm tuning range; second, scanning the phase region current along the tuning paths to obtain fine wavelength values; and third, calibrating the obtained wavelength-current lookup table. However, due to the tolerances in laser manufacturing processes, the electro-optical response characteristics of each device differ individually, requiring separate calibration. This significantly limits the efficiency of large-scale application of this type of laser. Although various lookup table construction schemes have been proposed in existing technologies, two key problems generally exist: first, the calibration process generates a large amount of redundant data, leading to long lookup table construction times and increased storage costs; second, wavelength jumps are prone to occur during wavelength tuning, disrupting the continuity and stability of wavelength output and severely affecting the reliability of laser application systems.
[0005] Patent application CN120728357A discloses an automatic wavelength tuning method and system for tunable lasers based on particle swarm optimization. The method uses a particle swarm optimization algorithm to jointly optimize the three current paths of the laser, combining the center wavelength and side-mode suppression ratio (SMSR) fed back from the spectrometer in real time as fitness evaluation criteria, thus achieving adaptive control of wavelength error and spectral quality. However, this patent's purely algorithmic approach only records the final required wavelength-current values, lacking process data recording, which is detrimental to recalibration after wavelength drift caused by factors such as laser material aging. Furthermore, this method largely does not perform forward and reverse wavelength scanning, and cannot accurately determine wavelength jump points solely based on the side-mode suppression ratio (SMSR), thus failing to effectively avoid wavelength jump phenomena. In actual measurements, even at wavelength jump points, the SMSR can still exceed 30 dB, further rendering the SMSR-based discrimination method ineffective.
[0006] Patent application CN116526288A discloses an optimized method for quasi-continuous wavelength tuning of a tunable semiconductor laser. This patent presents an optimized wavelength testing framework that allows for rapid determination of the laser's conduit and centerline simply by scanning the current along the framework's grid lines. This significantly reduces useless data and shortens table creation time while ensuring accurate and stable wavelength data. However, this patent primarily focuses on reducing data redundancy in locating the tuning path and does not address the phase region current, making it difficult to avoid wavelength jumps and hindering subsequent calibration of the wavelength current lookup table.
[0007] Patent application CN119275711A discloses a mode-hopping-free wavelength tuning method, apparatus, and device for a tunable laser. The method involves searching for a target wavelength in the tuning curve of each phase region, stitching the curves based on the maximum and minimum values of the target wavelength, and then interpolating to obtain the target current tuning curve. This patent's selection of the target wavelength avoids most factors that cause wavelength hopping, ensuring that laser tuning does not produce mode hopping. However, this patent requires bidirectional scanning of the phase region current, which takes approximately twice as long as unidirectional scanning, easily generating a large amount of redundant data, resulting in low overall efficiency. Furthermore, regarding wavelength... When calibrating with a current lookup table, some wavelength or power jumps may still occur for unknown reasons. Usually, the current combination needs to be adjusted manually based on experience, which is cumbersome and inefficient. Summary of the Invention
[0008] The technical problem to be solved by this invention is to reduce redundant data while avoiding wavelength jump regions when loading current in the phase region, and to address the low efficiency of manually replacing current combinations when wavelength jumps occur.
[0009] To solve the above-mentioned technical problems, the present invention provides the following technical solution:
[0010] A method for constructing a lookup table for a tunable laser based on dynamic path optimization, comprising: Multiple tuning paths are preset, and a cubic function model is constructed to describe the mapping relationship between the currents of the left and right reflectors of the laser. Based on preset test points, wavelength and power tests are performed on the laser to obtain effective step midpoint data, which are then substituted into a cubic function model to solve for unknown coefficients and complete the model parameter calibration. The step size is dynamically adjusted according to the interval of the left reflector current, and the initial combination of the left and right reflector currents and the initial combination of the five current paths are generated using the calibrated cubic function model. The table creation path is dynamically adjusted based on the wavelength and power value corresponding to the initial five current combinations. Based on the dynamically adjusted table creation path, the phase region current is scanned in the forward direction to confirm the location of the abrupt change point, and then scanned in the reverse direction from the abrupt change point until the wavelength forward and reverse scans are consistent to obtain the monostable wavelength region. Based on the monostable wavelength region, the corresponding wavelength tuning rate is calculated, and the target wavelength corresponding current combination in the monostable wavelength region is generated. Summarize all current combinations and tuning rates corresponding to the target wavelengths, establish a search library, and retrieve current combinations to the target wavelengths from the search library according to the principle of prioritizing the smallest tuning rate, generating a preliminary wavelength current lookup table; First, the power of the preliminary wavelength current lookup table is calibrated, and then the wavelength is calibrated. During the calibration process, abnormal wavelength power values are replaced intermittently to generate the final lookup table.
[0011] In this embodiment, dynamically adjusting the table creation path includes: According to the preset scanning order, the initial five current combinations are tested in sequence to obtain the wavelength and power values corresponding to each current combination. Based on the obtained wavelength and power values, the system first compares whether the power is greater than the average power at the test point, and then compares whether the wavelength difference between adjacent current combinations is less than the preset wavelength threshold. The system then determines whether each current combination meets the requirements. If the current combination meets the requirements, proceed to the phase region current dynamic scanning step; If the current combination does not meet the requirements, a new current combination for the left and right reflectors is generated iteratively, which is then expanded into a new five-way current combination and tested until a current combination that meets the requirements is obtained.
[0012] In this embodiment, when the current combination does not meet the requirements, the method for iteratively generating a new current combination for the left and right reflectors is as follows: when the power difference does not meet the requirements, points are taken sequentially from near to far on the perpendicular line of the tangent of the current test point to generate a new current combination; when the wavelength difference does not meet the requirements, the increment of the left reflector current is adjusted and substituted into the cubic function model to solve and generate a new current combination.
[0013] In this embodiment, obtaining the monostable wavelength region includes: For each current combination that meets the requirements, the phase region currents are scanned in a forward direction from small to large with a preset step value to obtain the corresponding wavelength value. Based on the wavelength data obtained by forward scanning, data processing algorithms are used to quickly find the wavelength change points in the phase region; Starting from each transition point, the phase region current is scanned in reverse order from large to small with a preset step value. At each point scanned, the wavelength value corresponding to the current in the same phase region in the forward scan is compared with the wavelength difference in the forward scan until the scanning stops when the wavelength difference meets the requirements. After removing the phase region current portion with inconsistent wavelengths, the remaining region with consistent increments is the monostable wavelength region.
[0014] In this embodiment, based on the monostable wavelength region, the target wavelength corresponding current combination for the monostable wavelength region is generated after calculating the corresponding wavelength tuning rate, including: The wavelength tuning rate of the monostable wavelength region is calculated using the first and last wavelength values and the corresponding phase current in the monostable wavelength region. Based on a preset target wavelength current lookup table, the current combination corresponding to the target wavelength contained in the monostable wavelength region is calculated according to the wavelength tuning rate of each monostable wavelength region.
[0015] In this embodiment, generating a preliminary wavelength current lookup table includes: Based on the target wavelength corresponding to the current combination and tuning rate obtained for each monostable wavelength region, a retrieval library is established. The current combination data for each target wavelength in the retrieval library are sorted by tuning rate. Following the principle of prioritizing the selection of the lowest tuning rate, a preliminary wavelength current lookup table is generated by matching the corresponding current combination and tuning rate for each target wavelength from the search library.
[0016] In this embodiment, generating the final lookup table includes: The preliminary wavelength current lookup table is tested, and the test results are compared with the target results to obtain the power difference and wavelength difference. If the power difference or wavelength difference does not meet the preset requirements, the current combination and tuning rate corresponding to the target wavelength will be replaced from the search library in ascending order of tuning rate, and the corresponding difference will be cleared to zero. If both the power difference and the wavelength difference are less than the corresponding preset threshold, the power is first calibrated according to the preset power tuning rate, and then the wavelength is calibrated according to the wavelength tuning rate, and the corresponding power difference and wavelength difference are calculated. Repeat the above steps until the mean of the power difference and the mean of the wavelength difference both meet the requirements, thus completing the construction of the final wavelength current lookup table.
[0017] The present invention also provides a system for constructing a tunable laser lookup table using the above-described method based on dynamic path optimization, comprising: The preset model module is used to preset multiple tuning paths and construct a cubic function model to describe the mapping relationship between the currents of the left and right reflectors of the laser. The model solving module is used to perform wavelength and power tests on the laser based on preset test points, obtain effective step midpoint data, and substitute them into a cubic function model to solve for unknown coefficients and complete the model parameter calibration. The current combination generation module is used to dynamically adjust the step size according to the current interval of the left reflector, and generate the initial left and right reflector current combination and the initial five-way current combination using the calibrated cubic function model. The dynamic adjustment scanning path module is used to dynamically adjust the table creation path according to the wavelength and power value corresponding to the initial five-channel current combination. The phase current dynamic bidirectional scanning module is used to perform a forward scan of the phase region current according to the dynamically adjusted table building path, confirm the location of the abrupt change point, and scan backward from the abrupt change point until the forward and reverse scans of the wavelength are consistent, thereby obtaining the monostable wavelength region. The target corresponding current combination module is used to calculate the corresponding wavelength tuning rate based on the monostable wavelength region and then generate the target wavelength corresponding current combination for the monostable wavelength region. The preliminary wavelength current lookup table module is used to summarize all current combinations and tuning rates corresponding to the target wavelengths, establish a search library, and retrieve current combinations to the target wavelengths from the search library according to the principle of prioritizing the smallest tuning rate, thereby generating a preliminary wavelength current lookup table. The calibration module is used to first calibrate the power of the preliminary wavelength current lookup table, and then calibrate the wavelength. During the calibration process, abnormal wavelength power values are replaced intermittently to generate the final lookup table.
[0018] The present invention also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enable the processor to perform the above-described method for constructing a tunable laser lookup table.
[0019] The present invention also provides an electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted for the processor to load and execute the above-described method for constructing a tunable laser lookup table.
[0020] Compared with the prior art, the beneficial effects of the present invention are: This invention implements dynamic bidirectional scanning of the phase region current, achieving the goal of scanning only the points where the forward and reverse test wavelength results are inconsistent. Compared to forward and reverse loading of the phase region current, this reduces the amount of scanning data by at least 1 / 4, while avoiding most wavelength jump regions, thereby improving the efficiency, accuracy, and precision of the lookup table construction. Furthermore, by utilizing a wavelength retrieval library, the constructed lookup table achieves wavelength jump-free operation.
[0021] A search library for the monostable wavelength tuning region is established to ensure that each target wavelength has at least five sets of current data to choose from, sorted by tuning rate. When a current combination with large power deviation or wavelength deviation occurs during calibration, the current combination can be automatically replaced in sequence, thereby automating the calibration process. This avoids the inefficiency of relying on manual experience to replace current combinations when the phase region current is applied in both positive and negative directions or when the phase region current is scanned in one direction.
[0022] Dynamically adjusting test points along the tuning path based on test results facilitates the selection of a better combination of left and right reflector currents, which is unattainable by traditional traversal scanning and frame positioning methods. This invention requires only 119 test points to obtain the initial tuning path, further improving the efficiency of tuning path positioning compared to the 3147-point positioning tuning path of the rectangular frame method and the 1631-point positioning tuning path of the arc scanning strategy.
[0023] This invention first calibrates the power of the lookup table, and then calibrates the wavelength of the lookup table. This effectively avoids the cross-effect of wavelength power to a certain extent, and allows for periodic calibration, thereby avoiding wavelength power deviations caused by laser aging and other problems.
[0024] This invention significantly reduces the number of test points and the amount of scan data, avoids wavelength jumps, and achieves high efficiency, high accuracy and stability in lookup table construction. It also supports periodic calibration to compensate for laser aging deviations and is suitable for high-precision applications in various scenarios such as optical communication and spectral analysis. Attached Figure Description
[0025] Figure 1 This is a flowchart illustrating a method for constructing a lookup table for a tunable laser based on dynamic path optimization, according to an embodiment of the present invention.
[0026] Figure 2 This is a flowchart for solving the unknown coefficients of a cubic function model according to an embodiment of the present invention.
[0027] Figure 3 This is a test point diagram for solving the unknown coefficients of a cubic function model according to an embodiment of the present invention.
[0028] Figure 4 This is the tuning path curve according to an embodiment of the present invention.
[0029] Figure 5 This is a flowchart illustrating the dynamic adjustment of the tuning path according to an embodiment of the present invention.
[0030] Figure 6 This is a schematic diagram illustrating the regeneration of new left and right reflector current combinations according to an embodiment of the present invention.
[0031] Figure 7 This is a flowchart illustrating the generation of a preliminary wavelength current lookup table according to an embodiment of the present invention.
[0032] Figure 8 This is a schematic diagram of the tuning curve for dynamic scanning of the phase region current in an embodiment of the present invention.
[0033] Figure 9 This is a schematic diagram illustrating the calculation of the current corresponding to a target wavelength value in a certain monostable region, according to an embodiment of the present invention.
[0034] Figure 10This is a flowchart for wavelength current lookup table calibration according to an embodiment of the present invention. Detailed Implementation
[0035] To facilitate understanding of the technical solution of the present invention by those skilled in the art, the technical solution of the present invention will now be further described in conjunction with the accompanying drawings.
[0036] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0037] Example 1 Please see Figure 1 As shown, this invention provides a method for constructing a lookup table for a tunable laser based on dynamic path optimization, comprising: S10, with multiple preset tuning paths, constructs a cubic function model to describe the mapping relationship between the currents of the left and right reflectors of the laser.
[0038] In this embodiment, the present invention pre-defines eight tuning paths to construct a cubic function modulus, where the zeroth-order coefficients are unknown. Specifically, the cubic function model can be empirically represented as follows: ; ; ; ; ; ; ; ; In the formula, Represented as the first The positional relationship representation value of each tuning path Represented as the first The tuning current value of the tuning path. Represented as the first Position offset correction factor for each tuning path.
[0039] S20, based on preset test points, performs wavelength and power tests on the laser, obtains effective step midpoint data, and substitutes it into a cubic function model to solve for unknown coefficients, thus completing the model parameter calibration.
[0040] Please see Figure 2As shown, in this embodiment, based on preset test points, including the location of the preset test points, the test order of the test points, and the test speed, the currents of the left and right reflectors of the laser are tested according to the preset test points in a preset order to obtain the corresponding wavelengths and power values. Based on the test results, a machine learning algorithm is used to remove abnormal wavelength data, and after classifying the wavelength data, the midpoint data of the step is obtained, substituted into the unknown coefficients of the cubic function model, and the average power of the test points is recorded.
[0041] In this embodiment, the preset test points can fully cover the eight tuning paths, and for data of the same type, the parameters corresponding to the midpoint are extracted and substituted into the cubic function model to solve the unknowns.
[0042] In this embodiment, please refer to Figure 3 The diagram shows test points used to solve for the unknown coefficients of a cubic function model. Testing was only performed when the left reflector current was 30 mA or the right reflector current was 30 mA. The test points were evenly distributed, covering all eight tuning paths. This test area is located in the small wavelength region of the tuning paths and is used to determine the starting position of each path. A random forest algorithm was used to classify the test point data into nine categories: eight for tuning paths and one for outliers. Using this method, only 119 test points need to be scanned to obtain the initial tuning path, as shown below. Figure 4 As shown.
[0043] S30 dynamically adjusts the step size according to the interval of the left reflector current, and uses the calibrated cubic function model to generate the initial combination of the left and right reflector currents, as well as the initial combination of the five current paths.
[0044] In this embodiment, based on the preset left reflector current step value, according to the cubic function model of each path, the preset left reflector current termination value, and the starting value obtained from the preset test point, the corresponding left and right reflector current combinations are generated, the phase region, gain region, and optical amplification region currents are fixed, and the initial five-path current combinations are further generated.
[0045] In this embodiment, the starting position of the left reflector current is determined by the midpoint of the step, and the ending position is fixed; the right reflector current is generated according to the preset left reflector current interval step size and cubic function model, and the other three currents are fixed to generate the initial current combination.
[0046] In this embodiment, the obtained calibrated cubic function model is converted into a left and right reflector current combination, namely the grating region current combination, according to the preset step value of the left reflector current (0.05 mA step within 0-2.5 mA; 0.1 mA step within 2.5-14 mA; 0.3 mA step within 14-22 mA; 0.6 mA step within 22-30 mA). The phase region current is fixed at 0 mA, the gain region current is 98 mA, and the optical amplification region current is 50 mA, thus generating the initial five-way current combination.
[0047] S40 dynamically adjusts the table creation path based on the wavelength and power value corresponding to the initial five-channel current combination.
[0048] In this embodiment, dynamically adjusting the table creation path includes: S41, according to the preset scanning order, tests the initial five current combinations in sequence, and obtains the wavelength value and power value corresponding to each current combination.
[0049] S42, based on the acquired wavelength and power values, following the principle of first comparing whether the power is greater than the average power at the test point, and then comparing whether the wavelength difference between adjacent current combinations is less than the preset wavelength threshold, each current combination is sequentially judged to determine whether it meets the requirements. Here, the wavelength threshold is set to 50 pm.
[0050] S43, if the current combination meets the requirements, proceed to the phase region current dynamic scanning step.
[0051] S44. If the current combination does not meet the requirements, a new current combination for the left and right reflectors is generated iteratively, which is then expanded into a new five-way current combination and tested until a current combination that meets the requirements is obtained.
[0052] In this embodiment, according to Figure 5 The sequence shown sequentially scans the current combinations to obtain the corresponding wavelength power data. For each current combination scanned, the power and wavelength are compared; first, the measured power P is compared. i and the average power P at the test points, if P i If the difference is greater than P, then a new point is taken on the perpendicular line to the tangent at that point for testing; otherwise, the difference between adjacent measured wavelengths is compared and denoted as λ. i+1 λ represents the wavelength value at the current test point. i The wavelength value at the previous test point, if λ i+1 -λ i If the current is less than 50 pm, a phase region current test is performed; otherwise, the current of the current left reflector is adjusted. I left Increase the current by 0.01 mA, then substitute it into the corresponding cubic function model to resolve the combined current test of the left and right reflectors. i Indicates the firsti The index of each test point.
[0053] Please see Figure 6 As shown, when the current combination does not meet the requirements, the method for iteratively generating a new left and right reflector current combination is as follows: when the power difference does not meet the requirements, points are taken sequentially from near to far on the perpendicular line of the tangent of the current test point to generate a new left and right reflector current combination; when the wavelength difference does not meet the requirements, the current left reflector current... I left Increase the current by 0.01 mA, substitute it into the cubic function model, and solve to generate a new current combination.
[0054] When re-selecting points on the vertical line, the principle of starting from near and moving to far is followed. Starting from the tangent point, points are selected and tested sequentially on both sides until the requirements are met. The distance between the two points on the vertical line is 0.01 mA. Due to the tuning characteristics of the laser, the wavelengths corresponding to the currents of the left and right reflectors are basically the same within a certain region, which provides a basis for the tangent-vertical-line approach.
[0055] The dynamic positioning tuning path technology provided in this embodiment differs from the existing traversal scanning method and arc scanning frame. It can generate a tuning path using fewer test point data and can dynamically adjust the path according to the test results to obtain a better combination of left and right reflector currents.
[0056] S50 performs a forward scan of the phase region current based on the dynamically adjusted table creation path, confirms the location of the abrupt change point, and then performs a reverse scan from the abrupt change point until the forward and reverse scans of the wavelength are consistent, thereby obtaining the monostable wavelength region.
[0057] Please see Figure 7 As shown, in this embodiment, obtaining the monostable wavelength region includes: S51, for each current combination that meets the requirements, the phase region current is scanned in a forward direction according to the preset step value from small to large to obtain the corresponding wavelength value.
[0058] S52, based on the wavelength value data obtained from the forward scan, the wavelength abrupt change point in the phase region is quickly found using a data processing algorithm. This invention does not limit the specific data processing algorithm; in this embodiment, the subsequent difference algorithm is applied.
[0059] S53, starting from each transition point, the phase region current is scanned in reverse direction from large to small with a preset step value. At each scan point, the wavelength value corresponding to the current in the same phase region in the forward scan is compared, and the scanning stops when the wavelength difference meets the requirements.
[0060] S54, after removing the phase region current portion with inconsistent wavelengths, the remaining region with consistent increments is the monostable wavelength region.
[0061] Please see Figure 8 The diagram shows a schematic of the tuning curve for dynamic scanning of the phase region current. The phase region current is increased from 0 to 7.2 mA in increments of +0.2 mA to obtain the forward scanning tuning curve. Based on the laser's phase region tuning characteristics, there are always 2 to 3 transition points, and the region before each transition point is a transition region. Therefore, starting from the transition point, a reverse scan is performed in increments of -0.2 mA until the wavelength corresponding to the same phase region current is consistent, obtaining the monostable wavelength region. Each monostable wavelength region allows for fine tuning of approximately 0.15 nm. This method avoids selecting wavelength transition regions and minimizes the number of test points, thereby improving the efficiency of constructing the wavelength current lookup table.
[0062] S60, based on the monostable wavelength region, calculates the corresponding wavelength tuning rate and generates the target wavelength corresponding current combination for the monostable wavelength region.
[0063] In this embodiment, based on the monostable wavelength region, the target wavelength corresponding current combination for the monostable wavelength region is generated after calculating the corresponding wavelength tuning rate, including: S61, using the first wavelength value, the last wavelength value and the corresponding phase current of the monostable wavelength region, calculate the wavelength tuning rate of the monostable wavelength region; S62, based on the preset target wavelength current lookup table (preset wavelength start position, end position and step value), calculate the current combination corresponding to the target wavelength contained in the corresponding monostable wavelength region according to the wavelength tuning rate of each monostable wavelength region.
[0064] S70, summarize all current combinations and tuning rates corresponding to the target wavelengths, establish a search library, and retrieve current combinations to the target wavelengths from the search library according to the principle of prioritizing the smallest tuning rate, and generate a preliminary wavelength current lookup table.
[0065] In this embodiment, generating a preliminary wavelength current lookup table includes: S71. Based on the target wavelength corresponding to the current combination and tuning rate obtained for each monostable wavelength region, a retrieval library is established. The current combination data for each target wavelength in the retrieval library are sorted according to the tuning rate.
[0066] S72, following the principle of prioritizing the selection of the smallest tuning rate, matches the corresponding current combination and tuning rate for each target wavelength from the search library, generating a preliminary wavelength current lookup table.
[0067] In this embodiment, based on a preset target wavelength current lookup table, the current combination corresponding to the target wavelength in each region is calculated according to the wavelength tuning rate of each region; based on the data obtained from each monostable region, all data are classified and summarized according to the same wavelength, and the current combination and corresponding tuning rate are retrieved to the target wavelength according to the principle of prioritizing the selection of the smallest tuning rate, thus generating a preliminary wavelength current lookup table.
[0068] In this embodiment, when searching for a target wavelength, the target wavelength points contained in the monostable wavelength region are first calculated. Then, the current combinations and tuning rates corresponding to all target wavelength points are summarized to form a search library. For target wavelength points with multiple corresponding combinations, the smaller tuning rate is preferentially selected. Figure 9 For example, here is a schematic diagram of the target wavelength calculated for a certain monostable wavelength region, where the step of the target wavelength current lookup table is 10 pm.
[0069] S80: First, calibrate the power of the preliminary wavelength current lookup table, then calibrate the wavelength. During the calibration process, replace abnormal wavelength power values intermittently to generate the final lookup table.
[0070] In this embodiment, generating the final lookup table includes: S81, test the preliminary wavelength current lookup table, compare the test results with the target results to obtain the power difference and wavelength difference.
[0071] S82, if the power difference or wavelength difference does not meet the preset requirements, then replace the current combination and tuning rate corresponding to the target wavelength in the search library in ascending order of tuning rate, and clear the corresponding difference value to zero.
[0072] S83, if both the power difference and the wavelength difference are less than the corresponding preset threshold, the power is first calibrated according to the preset power tuning rate, and then the wavelength is calibrated according to the wavelength tuning rate, and the corresponding power difference and wavelength difference are calculated.
[0073] S84. Repeat the above steps (S81~S83) until the mean of the power difference and the mean of the wavelength difference both meet the requirements, and complete the construction of the final wavelength current lookup table.
[0074] Please see Figure 10 The diagram shows a flowchart for wavelength-current lookup table calibration. Power is calibrated first, followed by wavelength calibration. During each calibration, the difference between the measured power and the target power is calculated as P. D Then, the difference between the measured wavelength and the target wavelength is calculated as λ. D If test point P exists D >0.6dBm or λ DIf the current value is greater than 20pm, then according to the principle of prioritizing the selection of the lowest tuning rate, the current combination is searched in the search library and replaced, and P is reset. D and λ D The value is 0; power and wavelength are calibrated sequentially according to wavelength tuning rate and power tuning rate.
[0075] In this embodiment, based on experience in constructing wavelength-current lookup tables, it is inevitable that there will be power or wavelength anomalies in the initial lookup table. Traditional methods require manual searching for alternative current combinations, while this example adds a search library and uses algorithmic processing to greatly save manual costs. The phase region dynamic scanning technology provided in this embodiment is different from the existing technology of forward and reverse loading of phase region current, which can further reduce the amount of test data by at least 1 / 4 and speed up the construction efficiency of LUT (Look-Up Table). Unlike the existing technology of unidirectional scanning of phase region current, it can effectively avoid wavelength jumps.
[0076] Example 2 The present invention also provides a system for constructing a tunable laser lookup table using the above-described method based on dynamic path optimization, comprising: The preset model module is used to preset multiple tuning paths and construct a cubic function model to describe the mapping relationship between the currents of the left and right reflectors of the laser.
[0077] The model solving module is used to perform wavelength and power tests on the laser based on preset test points, obtain effective step midpoint data, and substitute them into a cubic function model to solve for unknown coefficients, thereby completing the model parameter calibration.
[0078] The current combination generation module is used to dynamically adjust the step size according to the current interval of the left reflector, and generate the initial left and right reflector current combinations and the initial five-channel current combinations using the calibrated cubic function model.
[0079] The dynamic adjustment scanning path module is used to dynamically adjust the table creation path based on the wavelength and power value corresponding to the initial five-channel current combination.
[0080] The phase current dynamic bidirectional scanning module is used to perform a forward scan of the phase region current according to the dynamically adjusted table building path, confirm the location of the abrupt change point, and then scan backward from the abrupt change point until the forward and reverse scans of the wavelength are consistent, thereby obtaining the monostable wavelength region.
[0081] The target corresponding current combination module is used to calculate the corresponding wavelength tuning rate based on the monostable wavelength region and then generate the target wavelength corresponding current combination for the monostable wavelength region.
[0082] The preliminary wavelength current lookup table module is used to summarize all current combinations and tuning rates corresponding to the target wavelength, establish a search library, and retrieve the current combination to the target wavelength from the search library according to the principle of prioritizing the smallest tuning rate, thus generating a preliminary wavelength current lookup table.
[0083] The calibration module is used to first calibrate the power of the preliminary wavelength current lookup table, and then calibrate the wavelength. During the calibration process, abnormal wavelength power values are replaced intermittently to generate the final lookup table.
[0084] Example 3 The present invention also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enable the processor to perform the above-described method for constructing a tunable laser lookup table.
[0085] Computer-readable storage media can be electronic media, magnetic media, optical media, electromagnetic media, infrared media, or semiconductor systems or propagation media. Computer-readable storage media can also include semiconductor or solid-state memory, magnetic tape, removable computer disks, random access memory (RAM), read-only memory (ROM), hard disks, and optical discs. Optical discs can include optical disc-read-only memory (CD-ROM), optical disc-read / write (CD-RW), and DVDs.
[0086] Example 4 The present invention also provides an electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted for the processor to load and execute the above-described method for constructing a tunable laser lookup table.
[0087] The processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0088] The memory may include random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device. The memory can also be internal memory of the random access memory (RAM) type. The processor and memory can be integrated into one or more independent circuits or hardware, such as application-specific integrated circuits (ASICs). It should be noted that when a computer program in the memory is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, electronic device, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention.
[0089] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered illustrative and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention, and no reference numerals in the claims should be construed as limiting the scope of the claims.
[0090] The above embodiments are merely examples of implementation methods of the invention. The scope of protection of the present invention is not limited to the above embodiments. For those skilled in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all fall within the scope of protection of the present invention.
Claims
1. A method for constructing a lookup table for a tunable laser based on dynamic path optimization, characterized in that, include: Multiple tuning paths are preset, and a cubic function model is constructed to describe the mapping relationship between the currents of the left and right reflectors of the laser. Based on preset test points, wavelength and power tests are performed on the laser to obtain effective step midpoint data, which are then substituted into a cubic function model to solve for unknown coefficients and complete the model parameter calibration. The step size is dynamically adjusted according to the interval of the left reflector current, and the initial combination of the left and right reflector currents and the initial combination of the five current paths are generated using the calibrated cubic function model. The table creation path is dynamically adjusted based on the wavelength and power value corresponding to the initial five current combinations. Based on the dynamically adjusted table creation path, the phase region current is scanned in the forward direction to confirm the location of the abrupt change point, and then scanned in the reverse direction from the abrupt change point until the wavelength forward and reverse scans are consistent to obtain the monostable wavelength region. Based on the monostable wavelength region, the corresponding wavelength tuning rate is calculated, and the target wavelength corresponding current combination in the monostable wavelength region is generated. Summarize all current combinations and tuning rates corresponding to the target wavelengths, establish a search library, and retrieve current combinations to the target wavelengths from the search library according to the principle of prioritizing the smallest tuning rate, generating a preliminary wavelength current lookup table; First, the power of the preliminary wavelength current lookup table is calibrated, and then the wavelength is calibrated. During the calibration process, abnormal wavelength power values are replaced intermittently to generate the final lookup table.
2. The method for constructing a lookup table for a tunable laser based on dynamic path optimization according to claim 1, characterized in that, Dynamically adjust the table creation path, including: According to the preset scanning order, the initial five current combinations are tested in sequence to obtain the wavelength and power values corresponding to each current combination. Based on the obtained wavelength and power values, the system first compares whether the power is greater than the average power at the test point, and then compares whether the wavelength difference between adjacent current combinations is less than the preset wavelength threshold. The system then determines whether each current combination meets the requirements. If the current combination meets the requirements, proceed to the phase region current dynamic scanning step; If the current combination does not meet the requirements, a new current combination for the left and right reflectors is generated iteratively, which is then expanded into a new five-way current combination and tested until a current combination that meets the requirements is obtained.
3. The method for constructing a lookup table for a tunable laser based on dynamic path optimization according to claim 2, characterized in that, When the current combination does not meet the requirements, the method for iteratively generating a new current combination for the left and right reflectors is as follows: when the power difference does not meet the requirements, points are taken sequentially from near to far on the perpendicular line of the tangent of the current test point to generate a new current combination; when the wavelength difference does not meet the requirements, the increment of the left reflector current is adjusted and substituted into the cubic function model to solve and generate a new current combination.
4. The method for constructing a lookup table for a tunable laser based on dynamic path optimization according to claim 1, characterized in that, Obtain the monostable wavelength region, including: For each current combination that meets the requirements, the phase region currents are scanned in a forward direction from small to large with a preset step value to obtain the corresponding wavelength value. Based on the wavelength data obtained by forward scanning, data processing algorithms are used to quickly find the wavelength change points in the phase region; Starting from each transition point, the phase region current is scanned in reverse order from large to small with a preset step value. At each point scanned, the wavelength value corresponding to the current in the same phase region in the forward scan is compared with the wavelength difference in the forward scan until the scanning stops when the wavelength difference meets the requirements. After removing the phase region current portion with inconsistent wavelengths, the remaining region with consistent increments is the monostable wavelength region.
5. The method for constructing a lookup table for a tunable laser based on dynamic path optimization according to claim 1, characterized in that, Based on the monostable wavelength region, the target wavelength corresponding current combination is generated after calculating the corresponding wavelength tuning rate, including: The wavelength tuning rate of the monostable wavelength region is calculated using the first and last wavelength values and the corresponding phase current in the monostable wavelength region. Based on a preset target wavelength current lookup table, the current combination corresponding to the target wavelength contained in the monostable wavelength region is calculated according to the wavelength tuning rate of each monostable wavelength region.
6. The method for constructing a lookup table for a tunable laser based on dynamic path optimization according to claim 1, characterized in that, Generate a preliminary wavelength current lookup table, including: Based on the target wavelength corresponding to the current combination and tuning rate obtained for each monostable wavelength region, a retrieval library is established. The current combination data for each target wavelength in the retrieval library are sorted by tuning rate. Following the principle of prioritizing the selection of the lowest tuning rate, a preliminary wavelength current lookup table is generated by matching the corresponding current combination and tuning rate for each target wavelength from the search library.
7. The method for constructing a lookup table for a tunable laser based on dynamic path optimization according to claim 1, characterized in that, Generate the final lookup table, including: The preliminary wavelength current lookup table is tested, and the test results are compared with the target results to obtain the power difference and wavelength difference. If the power difference or wavelength difference does not meet the preset requirements, the current combination and tuning rate corresponding to the target wavelength will be replaced from the search library in ascending order of tuning rate, and the corresponding difference will be cleared to zero. If both the power difference and the wavelength difference are less than the corresponding preset threshold, the power is first calibrated according to the preset power tuning rate, and then the wavelength is calibrated according to the wavelength tuning rate, and the corresponding power difference and wavelength difference are calculated. Repeat the above steps until the mean of the power difference and the mean of the wavelength difference both meet the requirements, thus completing the construction of the final wavelength current lookup table.
8. A system for constructing a tunable laser lookup table based on dynamic path optimization as described in any one of claims 1-7, characterized in that, include: The preset model module is used to preset multiple tuning paths and construct a cubic function model to describe the mapping relationship between the currents of the left and right reflectors of the laser. The model solving module is used to perform wavelength and power tests on the laser based on preset test points, obtain effective step midpoint data, and substitute them into a cubic function model to solve for unknown coefficients and complete the model parameter calibration. The current combination generation module is used to dynamically adjust the step size according to the current interval of the left reflector, and generate the initial left and right reflector current combination and the initial five-way current combination using the calibrated cubic function model. The dynamic adjustment scanning path module is used to dynamically adjust the table creation path according to the wavelength and power value corresponding to the initial five-channel current combination. The phase current dynamic bidirectional scanning module is used to perform a forward scan of the phase region current according to the dynamically adjusted table building path, confirm the location of the abrupt change point, and scan backward from the abrupt change point until the forward and reverse scans of the wavelength are consistent, thereby obtaining the monostable wavelength region. The target corresponding current combination module is used to calculate the corresponding wavelength tuning rate based on the monostable wavelength region and then generate the target wavelength corresponding current combination for the monostable wavelength region. The preliminary wavelength current lookup table module is used to summarize all current combinations and tuning rates corresponding to the target wavelengths, establish a search library, and retrieve current combinations to the target wavelengths from the search library according to the principle of prioritizing the smallest tuning rate, thereby generating a preliminary wavelength current lookup table. The calibration module is used to first calibrate the power of the preliminary wavelength current lookup table, and then calibrate the wavelength. During the calibration process, abnormal wavelength power values are replaced intermittently to generate the final lookup table.
9. A computer-readable storage medium, characterized in that, It stores executable instructions, which, when executed by a processor, enable the processor to perform the method for constructing a tunable laser lookup table as described in any one of claims 1-7.
10. An electronic device, characterized in that, include: A processor and a memory; wherein the memory stores a computer program adapted for the processor to load and execute the method for constructing a tunable laser lookup table according to any one of claims 1-7.