Intelligent laser power calibration method, system, storage medium and electronic equipment

By establishing a first calibration curve based on the initial measurement data and dividing the driving current interval using the gradient change value, a differentiated test density method is adopted to solve the problem of low efficiency of laser power calibration in the existing technology and achieve high-precision and efficient laser power calibration.

CN119340779BActive Publication Date: 2025-10-03武汉翊晟科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411448279.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-10-03
Estimated Expiration
2044-10-17

AI Technical Summary

Technical Problem

In the existing technology, it is difficult to improve efficiency while ensuring accuracy in power calibration methods of semiconductor lasers. Especially in laser therapy devices with high precision requirements, traditional methods require a large number of sampling points, resulting in a long calibration process and low efficiency.

Method used

By responding to the basic parameters and calibration accuracy requirements input by the user, the initial drive current value is determined, the first calibration curve is established, and the drive current interval is divided using the gradient change value. With differentiated test density, key areas are intelligently identified for high-precision measurement, reducing redundant measurements in stable characteristic areas.

Benefits of technology

Under the premise of ensuring the accuracy of laser power calibration, the calibration efficiency is significantly improved. It is particularly suitable for lasers with high power control accuracy and wide working range, such as medical laser therapy devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119340779B_ABST
    Figure CN119340779B_ABST
Patent Text Reader

Abstract

The present application provides an intelligent laser power calibration method, system, storage medium and electronic device, which relate to the field of laser power calibration technology. The technical solution provided by the present application establishes a first calibration curve based on the initial measurement data, and then uses the gradient change value to intelligently divide the drive current interval, and adopts differentiated test density for intervals with different characteristics. This adaptive test strategy ensures high-precision measurement in key areas, while reducing unnecessary sampling points in areas with stable characteristics. By intelligently dividing the drive current interval and adopting dynamic test density, compared with the laser power calibration method in related technologies, the technical solution provided by the present application can significantly improve the calibration efficiency while ensuring the accuracy of laser power calibration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of laser power calibration, and in particular to an intelligent laser power calibration method, system, storage medium and electronic device. Background Art

[0002] Semiconductor lasers, as core components of laser therapy devices, play a vital role in the medical field. The operating principle of these lasers is based on the band structure of semiconductor materials, with output optical power controlled by adjusting the drive current. In theory, there is a certain correspondence between output optical power and drive current. However, in actual operation, semiconductor lasers generate heat, and this thermal effect can cause changes in the laser's output characteristics. Therefore, to ensure the accuracy and reliability of laser therapy devices, laser power calibration is a necessary step.

[0003] The calibration methods in related technologies usually rely on determining a series of sampling points based on user needs or design specifications. At these preset sampling points, the system outputs the corresponding test current and measures the corresponding output power value. Subsequently, by curve fitting these test data, a corresponding relationship curve between power and current is obtained. The calibration accuracy of this method depends to a large extent on the density of the sampling points: the denser the sampling points, the more accurate the corresponding relationship curve obtained by fitting. However, in practical applications, especially for laser therapy devices that require extremely high power control accuracy, this method faces severe challenges. In order to achieve the required accuracy, a large number of sampling points are often required, which inevitably leads to a long power calibration process and low efficiency. Therefore, the calibration methods in related technologies are difficult to meet the requirements of both speed and accuracy at the same time. This is an urgent problem to be solved for the power calibration of laser therapy devices that pursue high efficiency and high precision. Summary of the Invention

[0004] The present application provides an intelligent laser power calibration method, system, storage medium and electronic device, which can improve the power calibration efficiency while meeting the laser power calibration accuracy.

[0005] In a first aspect, the present application provides an intelligent laser power calibration method, the method comprising:

[0006] In response to basic parameters of the laser to be tested and calibration accuracy requirements input by the user, determining initial driving current values ​​at equal intervals;

[0007] controlling the laser to be tested to emit laser light according to the initial driving current value, and obtaining an initial laser power value corresponding to the initial driving current value;

[0008] Fitting a first calibration curve between the initial laser power value and the initial driving current value, and calculating a gradient change value between adjacent initial driving current values;

[0009] Dividing a plurality of driving current intervals according to the gradient change value, and determining a target driving current value within the driving current interval according to a test density corresponding to the driving current interval;

[0010] Controlling the laser to be tested to emit laser light according to the target driving current value, and obtaining a target laser power value corresponding to the target driving current value;

[0011] A second calibration curve between the target laser power value and the target driving current value is fitted to generate a power calibration result of the laser to be tested.

[0012] By adopting the above technical solution, a first calibration curve is established based on the initial measurement data. The gradient change value is then used to intelligently divide the drive current intervals, and differentiated test densities are adopted for intervals with different characteristics. This adaptive test strategy ensures high-precision measurement in critical areas while reducing unnecessary sampling points in areas with stable characteristics. By intelligently dividing the drive current intervals and adopting dynamic test density, the technical solution provided by this application can significantly improve calibration efficiency while maintaining laser power calibration accuracy, compared with laser power calibration methods in related technologies.

[0013] Optionally, dividing the driving current intervals into a plurality of intervals according to the gradient change value, and determining the target driving current value within the driving current interval according to the test density corresponding to the driving current interval includes:

[0014] Determine the interval division level and the corresponding interval threshold according to the calibration accuracy requirement of the laser to be tested;

[0015] Comparing the gradient change value with the interval threshold corresponding to the interval division level to obtain a plurality of driving current intervals;

[0016] A target driving current value within the driving current interval is determined according to a test density corresponding to the driving current interval.

[0017] By adopting the above technical solution, the interval division level and corresponding interval threshold are determined according to the calibration accuracy requirements of the laser to be tested. This enables the calibration process to adaptively adjust the granularity of the interval division according to different accuracy requirements. Then, by comparing the gradient change value with the interval threshold, the system can intelligently identify the changing trend of the laser's power-current characteristics and divide the entire drive current range into multiple intervals with different characteristics. This gradient-based interval division method can accurately capture the key change points of laser performance and ensure more intensive measurements in areas where the power output characteristics change significantly. Finally, the corresponding test density is determined based on the characteristics of each drive current interval, and the target drive current value is determined accordingly. This differentiated testing strategy not only ensures measurement accuracy in key areas, but also avoids redundant measurements in areas with stable characteristics. In this way, the solution can significantly improve calibration efficiency while ensuring calibration accuracy. It is particularly suitable for lasers with high power control accuracy requirements and a wide operating range, such as medical laser therapy devices.

[0018] Optionally, when the interval division level is level two, the method includes:

[0019] Determining whether a gradient change value between adjacent initial driving current values ​​is greater than the interval threshold;

[0020] If the gradient change value between adjacent initial driving current values ​​is greater than the interval threshold, the current between adjacent initial driving current values ​​is determined as a first driving current interval, and the first driving current interval corresponds to a first test density;

[0021] If the gradient change value between adjacent initial driving current values ​​is less than or equal to the interval threshold, the current between adjacent initial driving current values ​​is determined as a second driving current interval, the second driving current interval corresponds to a second test density, and the first test density is greater than the second test density.

[0022] By employing the above-described technical solution, the system determines whether the gradient change between adjacent initial drive current values ​​is greater than an interval threshold, enabling it to quickly identify the changing trend of the laser's power-current characteristics. For intervals where the gradient change is greater than the interval threshold, it is designated as the first drive current interval and a higher first test density is employed. This ensures more intensive measurements in areas where the power output characteristic changes significantly. Conversely, for intervals where the gradient change is less than or equal to the interval threshold, it is designated as the second drive current interval and a lower second test density is employed. This avoids redundant measurements in areas where the characteristic is relatively stable. This differentiated test density allocation strategy effectively reduces the number of measurement points in non-critical areas while ensuring measurement accuracy in critical areas, significantly improving calibration efficiency while maintaining overall calibration accuracy. This approach is particularly effective for lasers with distinct segmented power-current characteristics, such as semiconductor lasers that may exhibit large gradient changes near the threshold current and in the saturation region. Furthermore, due to its simple two-level partitioning strategy, the method is easy to implement and adjust, demonstrating strong practicality and versatility.

[0023] Optionally, after comparing the gradient change value with the interval threshold corresponding to the interval division level to obtain a plurality of driving current intervals, the method further includes:

[0024] Determining whether a gradient change value between adjacent initial driving current values ​​is greater than a preset error threshold;

[0025] If the gradient change value between the adjacent initial driving current values ​​is greater than the preset error threshold, the test density corresponding to the driving current interval is increased according to the difference between the gradient change value and the preset error threshold.

[0026] By adopting this technical solution, when the gradient change value exceeds the preset error threshold, the system dynamically increases the test density in that drive current range based on the difference between the gradient change value and the preset error threshold. This mechanism accurately identifies areas of the laser's power-current characteristics where changes are particularly dramatic and specifically increases the sampling density in these areas. In this way, the system can perform more detailed measurements in critical areas while maintaining overall efficiency, thereby improving the overall accuracy of the calibration.

[0027] Optionally, after comparing the gradient change value with the interval threshold corresponding to the interval division level to obtain a plurality of driving current intervals, the method further includes:

[0028] If the gradient change values ​​of a plurality of adjacent driving current intervals are the same, the test density of the driving current intervals with the same gradient change value is reduced according to the number of the driving current intervals with the same gradient change value.

[0029] By adopting the above technical solution, the system will reduce the test density of these intervals accordingly based on the number of driving current intervals with the same gradient change value. This mechanism can effectively identify a large range of stable change trends in the laser power-current characteristics and reduce the number of sampling points in these areas in a targeted manner. In this way, the system can significantly improve the calibration efficiency while maintaining calibration accuracy. This adaptive test density adjustment strategy is particularly suitable for lasers with a long linear operating range, such as certain solid-state lasers or fiber lasers with stable working characteristics. This method not only avoids redundant measurements in the characteristic stable area, but also flexibly allocates test resources according to the actual characteristics, which not only reduces the overall test time but also ensures the measurement accuracy of key areas.

[0030] Optionally, the basic parameters of the laser to be tested include a maximum power value and a maximum driving current value, and controlling the laser to be tested to emit laser light according to the initial driving current value to obtain an initial laser power value corresponding to the initial driving current value includes:

[0031] Sending the initial driving current value to the laser to be tested, so that the laser to be tested emits laser light in an ascending order of the initial driving current values, wherein the initial driving current value is generated according to the maximum driving current value and the calibration accuracy requirement;

[0032] Acquire in real time an initial laser power value corresponding to the initial driving current value collected by a power meter;

[0033] When the initial laser power value reaches the maximum power value, the laser to be tested is controlled to stop emitting laser light.

[0034] By adopting this technical solution, the system acquires the initial laser power value collected by the power meter in real time during the test. This real-time monitoring mechanism can promptly capture changes in the laser's output characteristics, providing accurate initial data for subsequent fine-tuning calibration. Finally, when the initial laser power value reaches the preset maximum power value, the system immediately controls the laser under test to stop emitting laser light. This safety mechanism effectively prevents the laser from continuing to operate beyond the rated power range, improving the safety of the laser power calibration process.

[0035] Optionally, fitting a second calibration curve between the target laser power value and the target driving current value to generate a power calibration result of the laser to be tested includes:

[0036] Determining the current scale value of the laser to be tested according to the calibration accuracy requirement;

[0037] Reading a power calibration value corresponding to the current scale value in the second calibration curve, and recording the power calibration value and the current scale value in a power calibration table;

[0038] A power calibration result of the laser to be tested is generated according to the second calibration curve and the power calibration table.

[0039] By adopting the above technical solution, the power calibration results of the laser to be tested are generated by combining the second calibration curve and the power calibration table. This dual characterization method not only retains the continuity and integrity of the calibration curve, but also provides intuitive and easy-to-read discrete data points in a tabular form. This method not only improves the accuracy and reliability of the calibration results, but also enhances the practicality and adaptability of the calibration results because the second calibration curve is based on the optimized target drive current value and target laser power value. The power calibration table facilitates the quick search for the power output corresponding to a specific current value in actual applications, and the combination of the curve and the table makes the calibration results suitable for scenarios requiring continuous power adjustment as well as applications requiring discrete power points.

[0040] In a second aspect, the present application provides an intelligent laser power calibration system, the system comprising:

[0041] An initial current setting module is used to determine the initial driving current values ​​at equal intervals in response to the basic parameters of the laser to be tested and the calibration accuracy requirements input by the user;

[0042] A first driving module is used to control the laser to be tested to emit laser according to the initial driving current value, and obtain an initial laser power value corresponding to the initial driving current value;

[0043] a first processing module, configured to fit a first calibration curve between the initial laser power value and the initial driving current value, and calculate a gradient change value between adjacent initial driving current values;

[0044] a target current setting module, configured to divide the driving current into a plurality of intervals according to the gradient change value, and determine a target driving current value within the driving current interval according to a test density corresponding to the driving current interval;

[0045] A second driving module is used to control the laser to be tested to emit laser according to the target driving current value, and obtain a target laser power value corresponding to the target driving current value;

[0046] The second processing module is used to fit a second calibration curve between the target laser power value and the target driving current value to generate a power calibration result of the laser to be tested.

[0047] In a third aspect, the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing any one of the above methods.

[0048] In a fourth aspect, the present application provides an electronic device comprising a processor, a memory and a transceiver, wherein the memory is used to store instructions, the transceiver is used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device performs any one of the above methods.

[0049] In summary, the beneficial effects brought about by the technical solution of this application include:

[0050] By adopting the above technical solution, a first calibration curve is established based on the initial measurement data. The gradient change value is then used to intelligently divide the drive current intervals, and differentiated test densities are adopted for intervals with different characteristics. This adaptive test strategy ensures high-precision measurement in critical areas while reducing unnecessary sampling points in areas with stable characteristics. By intelligently dividing the drive current intervals and adopting dynamic test density, the technical solution provided by this application can significantly improve calibration efficiency while maintaining laser power calibration accuracy, compared with laser power calibration methods in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 This is a flow chart of an intelligent laser power calibration method provided in an embodiment of the present application;

[0052] Figure 2 This is a schematic diagram of a scenario of intelligent laser power calibration provided by an embodiment of the present application;

[0053] Figure 3 This is a schematic diagram of the main interface of an intelligent laser power calibration system provided in an embodiment of the present application;

[0054] Figure 4 This is a schematic structural diagram of an intelligent laser power calibration system provided in an embodiment of the present application;

[0055] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0056] Description of reference numerals: 500, electronic device; 501, processor; 502, communication bus; 503, user interface; 504, network interface; 505, memory. DETAILED DESCRIPTION

[0057] In order to enable people skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0058] In the description of the embodiments of this application, words such as "exemplary," "for example," or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary," "for example," or "for example" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary," "for example," or "for example" is intended to present the relevant concepts in a concrete manner.

[0059] In the description of the embodiments of the present application, the term "multiple" means two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0060] See Figure 1 The following is a flow chart illustrating an intelligent laser power calibration method provided in an embodiment of the present application. This method can be implemented using a computer program, a single-chip microcontroller, or a von Neumann-based intelligent laser power calibration system. The computer program can be integrated into an application or run as a standalone tool. The specific steps of the intelligent laser power calibration method are described in detail below.

[0061] S101: In response to basic parameters of the laser to be tested and calibration accuracy requirements input by a user, determining initial driving current values ​​at equal intervals.

[0062] Among them, basic parameters refer to the key parameters that describe the basic characteristics and operating range of the laser. In the embodiment of the present application, it can be understood as a set of values ​​used to determine the initial conditions and constraints for laser power calibration. Specifically, basic parameters include but are not limited to maximum power value, maximum drive current value, threshold current, operating temperature range, wavelength and beam quality factor. These parameters are used to determine the range and step size of the initial drive current value, set the upper limit of power measurement to ensure measurement safety, optimize the distribution of test points during the calibration process, provide necessary reference information for the calibration results, and ensure that the calibration process is carried out within the safe operating range of the laser.

[0063] The calibration accuracy requirement refers to the user's or system's requirements and expectations for the accuracy of the laser power calibration results. In the present application, this refers to the accuracy parameters used to guide and control the entire calibration process, which directly impact the number of measurement points, the measurement interval, and the reliability of the final calibration results. The calibration accuracy requirement is typically expressed as a percentage or absolute error value, reflecting the maximum allowable deviation between the actual measured value and the ideal value.

[0064] Among them, the initial drive current value refers to a series of current values ​​used to drive the laser to emit laser light for the first time during the laser power calibration process. In the embodiment of the present application, it can be understood as a set of drive current reference values ​​for obtaining initial laser power data points. These initial drive current values ​​are usually evenly spaced and range from the threshold current of the laser to the maximum drive current value. They are selected based on the basic parameters of the laser to be measured and the calibration accuracy requirements specified by the user, with the aim of quickly obtaining a set of representative power-current data points over the entire operating range.

[0065] During specific implementation, the system first receives basic parameters input by the user, including the maximum power value, maximum drive current value, threshold current, etc. of the laser, as well as the required calibration accuracy requirements. Based on these inputs, the system calculates the range and interval of the initial drive current value. Typically, the range of the initial drive current value starts from the threshold current and ends at the maximum drive current value. The selection of intervals needs to consider the balance between calibration accuracy requirements and efficiency. For example, for high-precision requirements, a smaller interval can be selected to obtain more initial data points; for lower-precision requirements, a larger interval can be selected to speed up calibration. Based on these factors, the system uses an interpolation algorithm to generate a series of equally spaced initial drive current values. The advantage of this method is that it can provide evenly distributed initial measurement points while ensuring coverage of the entire working range, laying the foundation for subsequent curve fitting and interval division.

[0066] S102: Control the laser to be tested to emit laser according to the initial driving current value, and obtain an initial laser power value corresponding to the initial driving current value.

[0067] Wherein, initial laser power value refers to the laser output power measured corresponding to the initial drive current value during the laser power calibration process. In the embodiment of the present application, it can be understood as a set of power data points for establishing an initial power-current relationship model. These initial laser power values ​​correspond to the initial drive current value one-to-one, and together constitute a preliminary description of the laser power characteristics. They reflect the output power response of the laser under different drive currents, covering the entire operating range from threshold current to maximum drive current. The acquisition of the initial laser power value is achieved by controlling the laser to be measured to emit a laser according to a preset initial drive current value sequence, and using a precision power meter to measure in real time.

[0068] In practice, the system first sends a predetermined sequence of initial drive current values ​​to the control unit of the laser under test. The laser then emits laser light in ascending order according to these current values. Simultaneously, the system uses a high-precision power meter optically coupled to the laser under test to collect the laser output power corresponding to each initial drive current value, i.e., the initial laser power value, in real time. During the acquisition process, the system continuously monitors the initial laser power value and immediately stops increasing the drive current if it detects that the power has reached the maximum power value of the laser to ensure measurement safety.

[0069] For details, please see Figure 2 , is a schematic diagram of a scenario of intelligent laser power calibration provided by an embodiment of the present application. In the figure, the computer is installed with intelligent laser power automatic calibration system software and is connected to the power meter via a USB data cable. At the same time, the computer is connected to the semiconductor laser therapy device (i.e., the laser to be tested) via an RS232 data cable. The laser of the semiconductor laser therapy device is output through optical fiber coupling, and the output laser is irradiated on the test probe of the power meter. Its working principle is that the computer sends the driving current to the laser therapy device through the software, and after the laser to be tested outputs the laser, the power value collected is sent to the computer through the power meter for subsequent power verification.

[0070] Based on the above embodiment, as an optional implementation manner, the basic parameters of the laser to be measured include a maximum power value and a maximum driving current value, and step S102 specifically further includes S201-S203.

[0071] S201: Sending an initial driving current value to the laser to be tested, so that the laser to be tested emits laser light in ascending order of the initial driving current values, wherein the initial driving current value is generated according to the maximum driving current value and calibration accuracy requirements.

[0072] In practice, the system sequentially applies each initial drive current value to the laser under test through a sophisticated control circuit. For each drive current value, the system waits for the laser to reach thermal stability (typically taking several to tens of milliseconds) and then accurately measures and records the corresponding laser power output using a calibrated photodetector. This process continues until all initial drive current values ​​have been tested.

[0073] S202: Acquire in real time an initial laser power value corresponding to the initial driving current value collected by a power meter.

[0074] During implementation, as the system sends the initial drive current values ​​to the laser under test in ascending order, a precisely calibrated power meter is placed in the laser output optical path. This power meter is typically a high-precision photodetector that can accurately measure the output power of the laser. For each initial drive current value, the system waits for the laser to reach a stable state (usually taking several milliseconds to tens of milliseconds) and then immediately triggers the power meter to take a measurement. The data collected by the power meter is transmitted to the control system in real time via a high-speed data acquisition interface.

[0075] The control system pairs each initial drive current value with its corresponding initial laser power value. This process occurs in real time, meaning that each time a new drive current value is applied, the system immediately records the corresponding power output. This real-time performance is crucial for capturing instantaneous changes in laser performance, especially when laser characteristics can change rapidly over time.

[0076] S203: When the initial laser power value reaches the maximum power value, the laser to be tested is controlled to stop emitting laser light.

[0077] This embodiment incorporates a crucial safety and control mechanism: when the initial laser power reaches a preset maximum power value, the system automatically stops the laser under test from emitting laser light. Specifically, when the system detects that the initial laser power reaches or exceeds the set maximum power value, it immediately triggers a series of actions. First, the system immediately stops sending higher drive current values ​​to the laser under test. Simultaneously, it rapidly reduces the current drive current until the laser output is completely shut down. This process typically completes within milliseconds, ensuring that the laser does not continue operating at high power.

[0078] For detailed implementation process, please refer to Figure 3 , is a schematic diagram of the main interface of an intelligent laser power calibration system provided in an embodiment of the present application, Figure 3The indicators in the power meter and laser therapy device indicate their connection status and whether they are ready for operation. After entering the appropriate basic parameters and clicking the FIRE button, the laser therapy device will start emitting laser light. The power display window shows the laser power value read from the power meter, the current window displays the drive current of the laser under test, and the curve window displays the power-current calibration curve.

[0079] S103: Fitting a first calibration curve between initial laser power values ​​and initial driving current values, and calculating gradient change values ​​between adjacent initial driving current values.

[0080] The first calibration curve refers to a preliminary power-current relationship curve obtained by fitting the initial drive current value and the corresponding initial laser power value. In the embodiments of the present application, this can be understood as a preliminary mathematical description of the power output characteristics of the laser under test over the entire operating range. This curve is obtained by curve fitting the initial measurement data, typically using polynomial fitting or other suitable mathematical methods. The first calibration curve provides a general trend of how the laser output power changes with the drive current.

[0081] Among them, the gradient change value refers to the rate of change of the initial laser power value between adjacent initial drive current values. In the embodiment of the present application, it can be understood as a numerical indicator for quantitatively describing the local change characteristics of the laser power-current relationship. Specifically, the gradient change value reflects the rate of change of the laser output power as the drive current increases within a specific drive current interval. This value can be obtained by calculating the power difference between two adjacent initial drive current points and dividing it by the current difference. The gradient change value is used to identify key change points and different characteristic areas in the laser power-current characteristic curve. By analyzing the distribution and change trend of the gradient change value, the system can intelligently divide the drive current interval and determine the area where more intensive measurements are required, thereby optimizing the distribution of measurement points in the subsequent fine calibration process.

[0082] During specific implementation, the system first uses the obtained initial drive current value and the corresponding initial laser power value data pair to fit the first calibration curve using an appropriate mathematical method (such as polynomial fitting or piecewise linear fitting). This curve provides an overview of the power output characteristics of the laser within the entire operating range, which helps to identify possible abnormal data points and overall trends. Subsequently, the system calculates the gradient change value between adjacent initial drive current values. The specific calculation method is to calculate the ratio of the difference between their corresponding initial laser power values ​​and the difference in current values ​​for each pair of adjacent initial drive current values. This information is crucial for the subsequent drive current interval division and measurement density adjustment. For example, in areas with large gradient change values, more dense measurement points may be required to accurately describe the power change; while in areas with small and stable gradient change values, the measurement points can be appropriately reduced to improve efficiency. This data-driven analysis method enables the technical solution provided in this application to adaptively adopt corresponding adjustment and calibration strategies for different characteristic areas.

[0083] S104: Divide a plurality of driving current intervals according to the gradient change value, and determine a target driving current value within the driving current interval according to a test density corresponding to the driving current interval.

[0084] Among them, the driving current interval refers to a series of continuous current ranges divided according to the initial measurement data and the gradient change value analysis results. In the embodiment of the present application, it can be understood as a regional division for classifying and describing the power output characteristics of the laser in different driving current ranges. The division of the driving current interval is determined based on the distribution and change trend of the gradient change value, as well as the characteristics of the first calibration curve. The power-current relationship within each interval is relatively consistent, but there may be significant differences between different intervals. The system adopts different measurement strategies for intervals with different characteristics, such as increasing the measurement point density in intervals with drastic power changes, and appropriately reducing the measurement points in intervals with gentle changes.

[0085] Test density refers to the frequency or density of measurement points within a specific drive current range. In the present application, this term is used to quantitatively describe the distribution density of measurement points during fine calibration within each drive current range. Test density directly reflects the level of detail of power measurements within a given range and is typically expressed as the number of measurement points per unit current range.

[0086] Among them, the target drive current value refers to a series of specific drive current values ​​determined according to the test density and drive current interval division during the fine calibration process. In the embodiment of the present application, it can be understood as a drive current set point for guiding the laser to perform accurate power measurement during the fine calibration stage. These target drive current values ​​are intelligently generated based on the initial measurement results, gradient change value analysis and drive current interval division, and they are distributed in each interval according to the corresponding test density. The selection of the target drive current value is intended to optimize the allocation of measurement resources, ensuring that there are sufficiently dense measurement points in areas with obvious power change characteristics, while appropriately reducing the measurement points in areas with relatively stable characteristics.

[0087] Based on the above embodiment, as an optional implementation, with respect to the division of the driving current intervals and the determination of the target driving current value, step S104 further includes S301 - S303 .

[0088] S301: Determine interval division levels and corresponding interval thresholds according to calibration accuracy requirements of the laser to be tested.

[0089] The interval division level refers to the hierarchical standard for classifying and dividing the driving current interval according to the size of the gradient change value. In the embodiment of the present application, it can be understood as a grading standard for guiding the fineness of the driving current interval division. The interval division level is directly related to the calibration accuracy requirement and reflects the degree of fineness of the characterization of the laser power characteristics. Higher calibration accuracy requirements usually correspond to more interval division levels, while lower accuracy requirements may only require fewer levels. The interval division level usually includes multiple levels, for example, it can be divided into three levels: high, medium, and low, or more detailed multi-level divisions. These levels reflect the degree of change in the power output characteristics within each interval. For example, a high level may correspond to the interval with the most significant power change, such as near the turning point where the laser enters the linear working area from the threshold state; a medium level may correspond to an interval where the power change is relatively stable but still has certain fluctuations; and a low level may correspond to the interval where the power change is the most gentle. By introducing the interval division level, the system can adjust the calibration strategy more finely and flexibly.

[0090] Among them, the interval threshold refers to the critical gradient change value used to divide different drive current intervals. In the embodiment of the present application, it can be understood as a quantitative standard for determining the boundaries of the drive current interval. The interval threshold is a series of values ​​determined based on the distribution characteristics of the gradient change value and the interval division level. They serve as judgment criteria for dividing the entire drive current range into multiple intervals with different characteristics.

[0091] In specific implementation, first determine the interval division level according to the calibration accuracy requirements. For example, for a high-precision requirement of ±5%, four or more interval division levels may be set; while for a lower precision requirement of ±20%, only two levels of division may be needed. After determining the interval division level, the next step is to set the corresponding interval thresholds. These thresholds are determined based on the distribution of the gradient change values obtained from the preliminary measurement, and they are used as judgment criteria to divide the entire drive current range into multiple intervals with different characteristics.

[0092] The setting of the interval thresholds needs to consider the statistical distribution characteristics of the gradient change values. For example, for a four-level division, three threshold points may be set to divide the gradient change values into four levels: extremely high, high, medium, and low. The specific values of these thresholds can be determined by analyzing the distribution curve of the gradient change values and selecting appropriate percentile points. The higher threshold is used to identify the interval with the most剧烈 power change, while the lower threshold is used to distinguish the intervals with relatively gentle changes.

[0093] S302: Compare the gradient change value with the interval thresholds corresponding to the interval division level to obtain multiple drive current intervals.

[0094] In specific implementation, first use the gradient change value calculated in the previous step to compare with the determined interval thresholds. This comparison process is carried out point by point, that is, for the gradient change value of each drive current point, determine which interval threshold range it falls into. For example, assume there are three interval thresholds T1, T2, and T3 (T1 < T2 < T3), corresponding to four interval division levels. Then the comparison process may be as follows: If the gradient change value is less than T1, then this point belongs to the lowest-level interval; if the gradient change value is greater than or equal to T1 but less than T2, it belongs to the second-level interval; if it is greater than or equal to T2 but less than T3, it belongs to the third-level interval; if it is greater than or equal to T3, it belongs to the highest-level interval.

[0095] S303: Determine the target drive current value within the drive current interval according to the test density corresponding to the drive current interval.

[0096] In practice, each drive current interval must first be assigned a corresponding test density. The principle for assigning test density is: higher test density is used for intervals with dramatic power changes, while lower test density is used for intervals with relatively gradual changes. For example, for intervals with large gradient changes, a high density of one test point per 1 mA might be used; whereas for intervals with smaller gradient changes, a low density of 5 mA or greater might be used. After determining the test density for each interval, the next step is to determine the specific target drive current value within each interval. This process can be achieved by starting with the starting current value of each interval and gradually calculating and recording the target drive current value according to the specified test density interval until the ending current value of the interval is reached. For example, if a range is 100mA to 200mA and the test density is one test point per 2mA, the target drive current value sequence within that interval would be 100mA, 120mA, 140mA, ..., 180mA, and 200mA.

[0097] In the embodiments of the present application, in order to explain in detail the working principle of the technical solution provided by the present application, an embodiment in which the interval division level is two levels is specifically shown. It should be noted that this embodiment does not mean that there is only one implementation method. In practice, there may be multiple levels of interval division, which is not limited here. The specific steps include S401-S403.

[0098] S401: Determine whether the gradient change value between adjacent initial driving current values ​​is greater than an interval threshold.

[0099] In practice, the gradient change between adjacent initial drive current values ​​must first be calculated. For any two adjacent initial drive current points i and i+1, the gradient change can be calculated using the following formula: Gradient Change = (Power i+1 - Power i) / (Current i+1 - Current i) |. The power and current values ​​here are obtained from preliminary measurements. The calculated gradient change is then compared with a pre-set interval threshold.

[0100] The judgment process is performed pair by pair of adjacent points. If the gradient change between a pair of adjacent points is greater than the interval threshold, it indicates that there may be significant characteristic changes between the two points, and they need to be divided into different drive current intervals. Conversely, if the gradient change is less than or equal to the interval threshold, the power-current characteristics between the two points can be considered relatively stable and can be divided into the same drive current interval.

[0101] Based on the above embodiment, as an optional implementation, after step S401, it further includes determining whether the gradient change value between adjacent initial driving current values ​​is greater than a preset error threshold;

[0102] If the gradient change value between adjacent initial driving current values ​​is greater than the preset error threshold, the test density corresponding to the driving current interval is increased according to the difference between the gradient change value and the preset error threshold.

[0103] In this embodiment, an additional judgment and adjustment mechanism is introduced to perform more refined optimization based on the preset test density. First, the system presets corresponding test densities for the first drive current interval and the second drive current interval, namely the first test density and the second test density. However, in order to cope with special circumstances that may arise, the system will further determine whether the gradient change value between adjacent initial drive current values ​​is greater than the preset error threshold. The purpose of this step is to identify those intervals where the gradient change is particularly significant, even if they have been classified as the first drive current interval, they may require a higher sampling frequency than the preset first test density.

[0104] When the system detects a gradient change greater than a preset error threshold, it dynamically increases the test density within that specific interval based on the difference between the gradient change and the preset error threshold. This is because in these intervals with particularly large gradient changes, the laser's power output is extremely sensitive to variations in the drive current, potentially exhibiting more complex nonlinear characteristics or more abrupt change points than expected. To more accurately capture these changes, the sampling frequency needs to be increased based on the original preset test density.

[0105] In specific implementations, the system first applies a preset first or second test density, then calculates the gradient change between adjacent initial drive current values ​​and compares it to a preset error threshold. If the gradient change exceeds the preset error threshold, the system calculates the difference between the two and increases the test density based on this difference.

[0106] S402: If the gradient change value between adjacent initial driving current values ​​is greater than the interval threshold, the current between the adjacent initial driving current values ​​is determined as a first driving current interval, and the first driving current interval corresponds to a first test density.

[0107] Among them, the first drive current interval refers to the current range between adjacent initial drive current values, whose gradient change value is greater than the preset interval threshold. In the embodiment of the present application, it can be understood as being used to identify the area where the laser power output is more sensitive to the drive current change. This interval is characterized in that it is located between adjacent initial drive current values, and the gradient change value within this interval is greater than the preset interval threshold. The main purpose of the first drive current interval is to identify areas where the laser response characteristics vary greatly, and these areas require a higher test density.

[0108] The first test density refers to the density of the drive current sampling points used for laser power testing within the first drive current interval. In the embodiment of the present application, it can be understood that it is used to perform more precise and frequent power tests in an area where the laser power output is more sensitive to changes in the drive current. The first test density is usually higher than the test density of other intervals to capture subtle changes that may exist in the laser within this interval. This higher test density can provide more data points, which helps to more accurately describe the power-current characteristic curve of the laser within this interval.

[0109] In this embodiment, when the gradient change between adjacent initial drive current values ​​is greater than a preset interval threshold, the current range between these two adjacent initial drive current values ​​is determined as a first drive current interval, and a first test density is applied accordingly. This is because a gradient change greater than the interval threshold indicates that within this current range, the laser's power output is sensitive to changes in the drive current and may exhibit nonlinear or rapidly changing characteristics. To accurately capture these changes, more intensive testing is required within this interval. In specific implementation, the calculated gradient change is first compared with the preset interval threshold to determine which intervals between adjacent initial drive current values ​​meet the threshold-greater-than condition. These intervals that meet this condition are then marked as first drive current intervals. For ranges marked as first drive current intervals, the system applies a first test density, i.e., setting more drive current test points within this interval. For example, if the initial drive current value interval is 10 mA, the test interval within the first drive current interval may be reduced to 2 mA or less, depending on the required accuracy and the system's testing capabilities. This approach results in obtaining more test data points in areas where laser characteristics vary significantly, thereby more accurately describing the laser's power-current relationship within these critical intervals.

[0110] S403: If the gradient change value between adjacent initial driving current values ​​is less than or equal to the interval threshold, the current between adjacent initial driving current values ​​is determined as a second driving current interval, the second driving current interval corresponds to a second test density, and the first test density is greater than the second test density.

[0111] Among them, the second drive current interval refers to the current range between adjacent initial drive current values, whose gradient change value is less than or equal to the preset interval threshold. In the embodiment of the present application, it can be understood as being used to identify the area where the laser power output is relatively insensitive to the change in drive current or changes relatively slowly. These areas are generally characterized by a relatively linear or low rate of change in the power output of the laser with respect to the change in drive current. The second drive current interval is characterized in that its power-current characteristic is relatively stable and does not require high-frequency sampling like the first drive current interval.

[0112] Among them, the second test density refers to the density of the drive current sampling points used for laser power testing within the second drive current interval. In the embodiment of the present application, it can be understood that it is used to perform relatively loose and widely spaced power tests in an area where the laser power output is relatively insensitive to changes in the drive current or changes relatively slowly. The second test density is usually lower than the first test density and is suitable for intervals where the power-current characteristics are relatively stable. This lower test density can reduce the number of test points while ensuring sufficient accuracy, thereby improving calibration efficiency.

[0113] In this embodiment, when the gradient change value between adjacent initial drive current values ​​is less than or equal to a preset interval threshold, the current range between these two adjacent initial drive current values ​​is determined as a second drive current interval, and a second test density is used accordingly, where the first test density is greater than the second test density. The reason for this is that a gradient change value less than or equal to the interval threshold indicates that within this current range, the laser power output is relatively insensitive to changes in the drive current or changes more gently, possibly exhibiting a more linear or slowly varying characteristic. In this case, high-frequency sampling is not required as in the first drive current interval, and the test density can be appropriately reduced to improve efficiency. In specific implementation, the calculated gradient change value is first compared with the preset interval threshold to determine which intervals between adjacent initial drive current values ​​meet the condition of being less than or equal to the threshold. These intervals that meet the condition are then marked as second drive current intervals. For the range marked as the second drive current interval, the system will apply the second test density, that is, set relatively few drive current test points within this interval.

[0114] Based on the above embodiment, as an optional implementation, if the gradient change values ​​of multiple adjacent driving current intervals are the same, the test density of the driving current intervals with the same gradient change value is reduced according to the number of driving current intervals with the same gradient change value.

[0115] In this embodiment, a new optimization mechanism is introduced to deal with the situation where the gradient change values ​​of multiple adjacent drive current intervals are the same. The purpose of this mechanism is to further improve the calibration efficiency while ensuring the calibration accuracy. When the system detects that multiple adjacent drive current intervals have the same gradient change value, it will reduce their test density according to the number of these intervals. The reason for this is that continuous intervals with the same gradient change value usually indicate that the characteristics of the laser are consistent within this larger range, and may show a linear or stable change trend. In this case, using too high a test density may lead to the generation of redundant data without significantly improving the calibration accuracy.

[0116] During specific implementation, the system first identifies adjacent drive current intervals with the same gradient change value. Then, it counts the number of these intervals. Based on this number, the system will formulate a strategy to reduce the test density. For example, if three adjacent drive current intervals are found to have the same gradient change value, the system may reduce the test density of these three intervals to 2 / 3 or 1 / 2 of the original. The specific reduction ratio can be dynamically adjusted according to the size of the gradient change value and the number of identical intervals. For example, for the case where the gradient change value is small and the number of consecutive intervals is large, a larger reduction ratio can be used; for the case where the gradient change value is large but the number of consecutive intervals is small, a smaller reduction ratio can be used.

[0117] S105: Control the laser to be tested to emit laser light according to the target driving current value, and obtain a target laser power value corresponding to the target driving current value.

[0118] The target laser power value refers to the laser power value measured based on the target drive current value within the intelligently divided drive current interval. In the embodiments of the present application, this can be understood as a set of power data points used to generate a more accurate second calibration curve. These power values ​​are obtained by controlling the laser under test to emit laser light according to the target drive current value, corresponding to the target drive current value within each drive current interval after the intelligent division. Compared to the initial laser power value, the target laser power value is obtained after the initial measurement and interval division, and generally has a higher measurement density.

[0119] In this embodiment, the laser to be tested is controlled to emit laser light according to the target drive current value, and the target laser power value corresponding to the target drive current value is obtained, with the aim of obtaining a more accurate power-current correspondence. The execution of this step is based on the previously intelligently divided drive current interval and the determined target drive current value. During specific implementation, the target drive current values ​​are first sent to the control unit of the laser to be tested in ascending order. The laser to be tested then emits laser light according to each target drive current value received, and a high-precision power meter is used to collect and record the corresponding laser power output in real time. During this process, the system adopts different test densities according to the previously divided drive current intervals, performs more intensive sampling in intervals with larger gradient changes, and adopts relatively sparse sampling in intervals with smaller gradient changes, thereby ensuring the measurement accuracy of key areas and improving the overall calibration efficiency.

[0120] S106: Fitting a second calibration curve between the target laser power value and the target driving current value to generate a power calibration result of the laser to be tested.

[0121] In specific implementation, an appropriate curve-fitting algorithm, such as polynomial fitting or piecewise linear fitting, is first used to fit the target laser power and target drive current values ​​to generate a second calibration curve. This curve is more accurate than the first calibration curve because it is based on data obtained through intelligent interval partitioning and optimized sampling. In this way, the second calibration curve more accurately reflects the power-current characteristics of the laser under test across its entire operating range. Once the fitting is complete, the system outputs this second calibration curve as the final power calibration result for the laser under test.

[0122] Based on the above embodiment, as an optional implementation, step S106 specifically further includes steps S501-S503.

[0123] S501: Determine the current scale value of the laser to be measured according to the calibration accuracy requirement.

[0124] The current scale value refers to a series of discrete current values ​​selected at preset intervals within the operating current range of the laser to be tested. In the present embodiment, this can be understood as the reference current points used to generate the power calibration table. These current points, together with the corresponding power values ​​on the second calibration curve, constitute a detailed power-current comparison table.

[0125] During implementation, the current scale interval is first determined based on user-entered or preset calibration accuracy requirements. This interval directly impacts the accuracy and practicality of the final calibration result. For applications requiring high-precision control, a smaller interval, such as 0.1mA or less, can be selected; for general applications, a larger interval, such as 1mA or greater, can be selected. The system then generates a series of evenly spaced current scale values ​​at the specified intervals across the entire operating current range of the laser under test, from minimum to maximum operating current. These current scale values ​​cover the entire operating range of the laser, ensuring the integrity of the calibration results.

[0126] S502: Read the power calibration value corresponding to the current scale value in the second calibration curve, and record the power calibration value and the current scale value in a power calibration table.

[0127] In practice, the previously determined current scale values ​​are first used to search for the corresponding power values ​​on the second calibration curve. This process can be performed using an interpolation algorithm or directly calculated from a fitting equation, ensuring that the obtained power calibration values ​​closely match the second calibration curve. Each pair of current scale values ​​and corresponding power calibration values ​​is then recorded sequentially in a power calibration table. This table typically contains two columns: one for the current scale value and the other for the corresponding power calibration value.

[0128] S503: Generate a power calibration result of the laser to be tested according to the second calibration curve and the power calibration table.

[0129] In specific implementation, the mathematical expression of the second calibration curve (such as polynomial coefficients or piecewise function parameters) and the power verification table are first integrated into a unified data structure. This data structure may be a comprehensive file or database record containing curve parameters, table data and other necessary information (such as laser model, calibration date, etc.). During the integration process, the system will perform a consistency check to ensure that there is no significant deviation between the curve and table data. If a deviation is found, it may be necessary to re-evaluate the calibration process or fine-tune the data. The system will then generate a calibration report that includes a graphical representation of the second calibration curve, the complete content of the power verification table, the mathematical expression of the calibration curve, and key parameters and statistical information of the calibration process.

[0130] The following are system embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the system embodiments of the present application, please refer to the method embodiments of the present application.

[0131] See Figure 4 , which shows a schematic diagram of the structure of an intelligent laser power calibration system provided by an exemplary embodiment of the present application. The system can be implemented as all or part of the system through software, hardware, or a combination of both. The intelligent laser power calibration system includes:

[0132] An initial current setting module is used to determine the initial driving current values ​​at equal intervals in response to the basic parameters of the laser to be tested and the calibration accuracy requirements input by the user;

[0133] The first driving module is used to control the laser to be tested to emit laser according to the initial driving current value, and obtain an initial laser power value corresponding to the initial driving current value;

[0134] A first processing module is used to fit a first calibration curve between initial laser power values ​​and initial driving current values, and calculate a gradient change value between adjacent initial driving current values;

[0135] A target current setting module is used to divide a plurality of driving current intervals according to the gradient change value, and determine a target driving current value within the driving current interval according to the test density corresponding to the driving current interval;

[0136] The second driving module is used to control the laser to be tested to emit laser according to the target driving current value, and obtain the target laser power value corresponding to the target driving current value;

[0137] The second processing module is used to fit a second calibration curve between the target laser power value and the target driving current value to generate a power calibration result of the laser to be tested.

[0138] Based on the above embodiment, as an optional embodiment, the first driving module is further used to send the initial driving current value to the laser to be tested, so that the laser to be tested emits laser in the order of the initial driving current value from small to large, and the initial driving current value is generated according to the maximum driving current value and the calibration accuracy requirement; the initial laser power value corresponding to the initial driving current value collected by the power meter is obtained in real time; when the initial laser power value reaches the maximum power value, the laser to be tested is controlled to stop emitting laser.

[0139] Based on the above embodiment, as an optional embodiment, the target current setting module is also used to determine the interval division level and the corresponding interval threshold according to the calibration accuracy requirements of the laser to be tested; compare the gradient change value with the interval threshold corresponding to the interval division level to obtain multiple driving current intervals; determine the target driving current value within the driving current interval according to the test density corresponding to the driving current interval.

[0140] On the basis of the above embodiment, as an optional embodiment, the target current setting module is also used to determine whether the gradient change value between adjacent initial drive current values ​​is greater than the interval threshold; if the gradient change value between adjacent initial drive current values ​​is greater than the interval threshold, the current between the adjacent initial drive current values ​​is determined as the first drive current interval, and the first drive current interval corresponds to the first test density; if the gradient change value between adjacent initial drive current values ​​is less than or equal to the interval threshold, the current between the adjacent initial drive current values ​​is determined as the second drive current interval, the second drive current interval corresponds to the second test density, and the first test density is greater than the second test density.

[0141] Based on the above embodiment, as an optional embodiment, the target current setting module is also used to determine whether the gradient change value between adjacent initial driving current values ​​is greater than a preset error threshold; if the gradient change value between adjacent initial driving current values ​​is greater than the preset error threshold, then according to the difference between the gradient change value and the preset error threshold, the test density corresponding to the driving current interval is increased.

[0142] Based on the above embodiment, as an optional embodiment, the target current setting module is also used to reduce the test density of the driving current intervals with the same gradient change value according to the number of driving current intervals with the same gradient change value if the gradient change values ​​of multiple adjacent driving current intervals are the same.

[0143] Based on the above embodiment, as an optional embodiment, the second processing module is further used to determine the current scale value of the laser to be tested according to the calibration accuracy requirements; read the power verification value corresponding to the current scale value in the second calibration curve, and record the power verification value and the current scale value in a power verification table; generate a power calibration result of the laser to be tested according to the second calibration curve and the power verification table.

[0144] The embodiment of the present application also provides a computer storage medium, which can store multiple instructions. The instructions are suitable for being loaded by a processor and executed by the intelligent laser power calibration method of the above embodiment. The specific execution process can be found in the specific description of the embodiment and will not be repeated here.

[0145] See Figure 5 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown, the electronic device 500 may include: at least one processor 501 , at least one network interface 504 , a user interface 503 , a memory 505 , and at least one communication bus 502 .

[0146] The communication bus 502 is used to implement the connection and communication between these components.

[0147] The user interface 503 may include a standard wired interface or a wireless interface.

[0148] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0149] The processor 501 may include one or more processing cores. The processor 501 utilizes various interfaces and lines to connect various parts of the entire server, and executes various server functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 505, as well as calling data stored in the memory 505. Optionally, the processor 501 may be implemented in the form of at least one hardware component selected from digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 501 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 501 and may be implemented separately on a single chip.

[0150] Among them, the memory 505 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 505 includes a non-transitory computer-readable storage medium. The memory 505 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 505 may also be optionally at least one storage device located away from the aforementioned processor 501. As Figure 5 As shown, the memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program of an intelligent laser power calibration method.

[0151] exist Figure 5In the electronic device 500 shown, the user interface 503 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 501 can be used to call an application program for an intelligent laser power calibration method stored in the memory 505. When executed by one or more processors, the electronic device executes one or more methods in the above-mentioned embodiments.

[0152] An electronic device readable storage medium stores instructions, which, when executed by one or more processors, enable the electronic device to execute one or more methods in the above embodiments.

[0153] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for this application.

[0154] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0155] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely schematic, such as the division of units, which is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interface, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0156] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0157] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0158] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.

[0159] The above are merely exemplary embodiments of the present disclosure and are not intended to limit the scope of the present disclosure. That is, any equivalent changes and modifications made in accordance with the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and practice, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any variations, uses, or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not recorded in the present disclosure.

Claims

1. An intelligent laser power calibration method, characterized in that: The method comprises: In response to basic parameters of the laser to be tested and calibration accuracy requirements input by the user, determining initial driving current values ​​at equal intervals; controlling the laser to be tested to emit laser light according to the initial driving current value, and obtaining an initial laser power value corresponding to the initial driving current value; Fitting a first calibration curve between the initial laser power value and the initial driving current value, and calculating a gradient change value between adjacent initial driving current values; Dividing a plurality of driving current intervals according to the gradient change value, and determining a target driving current value within the driving current interval according to a test density corresponding to the driving current interval; Controlling the laser to be tested to emit laser light according to the target driving current value, and obtaining a target laser power value corresponding to the target driving current value; A second calibration curve between the target laser power value and the target driving current value is fitted to generate a power calibration result of the laser to be tested.

2. The method according to claim 1, characterized in that The step of dividing a plurality of driving current intervals according to the gradient change value and determining a target driving current value within the driving current interval according to a test density corresponding to the driving current interval includes: Determine the interval division level and the corresponding interval threshold according to the calibration accuracy requirement of the laser to be tested; Comparing the gradient change value with the interval threshold corresponding to the interval division level to obtain a plurality of driving current intervals; A target driving current value within the driving current interval is determined according to a test density corresponding to the driving current interval.

3. The method according to claim 2, characterized in that When the interval division level is level 2, the method includes: Determining whether a gradient change value between adjacent initial driving current values ​​is greater than the interval threshold; If the gradient change value between adjacent initial driving current values ​​is greater than the interval threshold, the current between adjacent initial driving current values ​​is determined as a first driving current interval, and the first driving current interval corresponds to a first test density; If the gradient change value between adjacent initial driving current values ​​is less than or equal to the interval threshold, the current between adjacent initial driving current values ​​is determined as a second driving current interval, the second driving current interval corresponds to a second test density, and the first test density is greater than the second test density.

4. The method according to claim 2, characterized in that After comparing the gradient change value with the interval threshold corresponding to the interval division level to obtain a plurality of driving current intervals, the method includes: Determining whether a gradient change value between adjacent initial driving current values ​​is greater than a preset error threshold; If the gradient change value between the adjacent initial driving current values ​​is greater than the preset error threshold, the test density corresponding to the driving current interval is increased according to the difference between the gradient change value and the preset error threshold.

5. The method according to claim 2, characterized in that After comparing the gradient change value with the interval threshold corresponding to the interval division level to obtain a plurality of driving current intervals, the method further includes: If the gradient change values ​​of a plurality of adjacent driving current intervals are the same, the test density of the driving current intervals with the same gradient change value is reduced according to the number of the driving current intervals with the same gradient change value.

6. The method according to claim 1, characterized in that The basic parameters of the laser to be tested include a maximum power value and a maximum driving current value. The controlling the laser to be tested to emit laser light according to the initial driving current value to obtain an initial laser power value corresponding to the initial driving current value includes: Sending the initial driving current value to the laser to be tested, so that the laser to be tested emits laser light in an ascending order of the initial driving current values, wherein the initial driving current value is generated according to the maximum driving current value and the calibration accuracy requirement; Acquire in real time an initial laser power value corresponding to the initial driving current value collected by a power meter; When the initial laser power value reaches the maximum power value, the laser to be tested is controlled to stop emitting laser light.

7. The method according to claim 1, characterized in that The step of fitting a second calibration curve between the target laser power value and the target driving current value to generate a power calibration result of the laser to be tested includes: Determining the current scale value of the laser to be tested according to the calibration accuracy requirement; Reading a power calibration value corresponding to the current scale value in the second calibration curve, and recording the power calibration value and the current scale value in a power calibration table; A power calibration result of the laser to be tested is generated according to the second calibration curve and the power calibration table.

8. An intelligent laser power calibration system, characterized in that: The system comprises: An initial current setting module is used to determine the initial driving current values ​​at equal intervals in response to the basic parameters of the laser to be tested and the calibration accuracy requirements input by the user; A first driving module is used to control the laser to be tested to emit laser according to the initial driving current value, and obtain an initial laser power value corresponding to the initial driving current value; a first processing module, configured to fit a first calibration curve between the initial laser power value and the initial driving current value, and calculate a gradient change value between adjacent initial driving current values; a target current setting module, configured to divide the driving current into a plurality of intervals according to the gradient change value, and determine a target driving current value within the driving current interval according to a test density corresponding to the driving current interval; A second driving module is used to control the laser to be tested to emit laser according to the target driving current value, and obtain a target laser power value corresponding to the target driving current value; The second processing module is used to fit a second calibration curve between the target laser power value and the target driving current value to generate a power calibration result of the laser to be tested.

9. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: The electronic device comprises a processor, a memory and a transceiver, wherein the memory is used to store instructions, the transceiver is used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Spectrum analyzer error correction method and system

    CN112985604A

  • IV curve sampling point intelligent density regulation and control method and related equipment

    CN118041232A