Laser output power adjustment method, apparatus and system, computer device, and medium

By performing Kalman filtering and first-order inertial filtering on the actual output power data of the laser, combining the temperature data to judge the laser temperature range, determine the target output power and adjust it, the problem of unstable power and insufficient anti-interference ability of traditional laser equipment is solved, and the laser output power is accurate, controllable and stable.

WO2025103469A1PCT designated stage expired Publication Date: 2025-05-22SHANGHAI RAYKEEN LASER TECH CO LTD

Patent Information

Application Number
PCT/CN2024/132333
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-17
Filing Date
2024-11-15
Publication Date
2025-05-22

AI Technical Summary

Technical Problem

The power parameters of traditional laser equipment are fixed and cannot adapt to different working environments. The long-term emission leads to power instability and lacks anti-interference ability.

Benefits of technology

It realizes the accuracy, controllability and stability of the laser output power, reduces power fluctuations, and improves the anti-interference ability and response rate of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024132333_22052025_PF_FP_ABST
    Figure CN2024132333_22052025_PF_FP_ABST
Patent Text Reader

Abstract

A laser output power adjustment method, apparatus and system, a computer device, and a storage medium. The laser output power adjustment method comprises: acquiring actual output power data of a laser (S302); performing Kalman filtering processing on the actual output power data to obtain estimated power data (S304); acquiring temperature data of the laser, and on the basis of the temperature data, determining whether the current temperature of the laser is within a preset temperature range (S306); in response to the current temperature being within the preset temperature range, performing first-order inertial filtering processing on the basis of the estimated power data to obtain power filtering data, and on the basis of the power filtering data, determining target output power data (S308); and on the basis of the target output power data, adjusting the actual output power of the laser (S310).
Need to check novelty before this filing date? Find Prior Art

Description

Laser output power adjustment method, device, system, computer equipment and medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on November 17, 2023, with application number 2023115373418, and application name "Laser output power adjustment method, device, system, computer equipment and medium", all of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to a laser output power method, apparatus, system, computer equipment and storage medium. Background Art

[0004] With the development of laser technology, laser technology has been applied to the medical field, and laser equipment used in medical scenarios has emerged, such as holmium lasers.

[0005] However, traditional laser equipment has fixed power parameters, which are susceptible to variations in operating environments and lack anti-interference capabilities. Furthermore, as laser emission time increases and power levels rise, the heat generated by the laser increases, leading to higher temperatures and unstable output power. Summary of the Invention

[0006] According to an embodiment of the present application, in a first aspect, a method for adjusting laser output power is provided, the method comprising:

[0007] Collect the actual output power data of the laser;

[0008] Perform Kalman filtering on the actual output power data to obtain power estimation data;

[0009] Obtaining temperature data of the laser, and determining whether the current temperature of the laser is within a preset temperature range based on the temperature data;

[0010] In response to the current temperature being within a preset temperature range, performing first-order inertial filtering processing on the power estimation data to obtain power filtering data, and determining target output power data based on the power filtering data; and

[0011] The actual output power of the laser is adjusted according to the target output power data.

[0012] In some embodiments, the method further includes:

[0013] In response to the current temperature being outside the preset temperature range, obtaining initial output power data of the laser at the current gear; and

[0014] The initial output power data is used as the target output power data.

[0015] In some embodiments, before determining whether the current temperature of the laser is within a preset temperature range based on the temperature data, the method further includes:

[0016] Determine whether the laser has a determined target output power at the current gear; and

[0017] In response to the laser not having a determined target output power at the current gear, the process proceeds to a step of determining whether the current temperature of the laser is within a preset temperature range based on the temperature data.

[0018] In some embodiments, performing Kalman filtering on the actual output power data to obtain power estimation data includes:

[0019] Collecting multiple actual output power values ​​of the laser within a preset time period as a set of actual output power data;

[0020] The multiple actual output power values ​​are processed by Kalman filtering to obtain multiple power estimation values ​​corresponding to the actual output power values. The Kalman filtering formula is: X(k) = A*X(k-1) + B*U(k) + W(k)

[0021] Wherein, X(k) represents the power estimation data obtained after the k-th Kalman filter processing, A represents the state transfer moment, X(k-1) represents the power estimation data obtained after the k-1-th Kalman filter processing, B represents the control matrix, U(k) represents the error data, W(k) represents the process noise data generated during the processing, X(0) is the actual output power value of the initial input, and k represents the number of Kalman filter processing; and

[0022] After removing the critical value from the multiple power estimation values, an average operation is performed to obtain an average estimated power value as power estimation data.

[0023] In some embodiments, the formula for performing first-order inertial filtering on the power estimation data includes: Y(n)=α*X(n)+(1-α)*Y(n-1)

[0024] Wherein, Y(n) is the power filter data obtained after the nth first-order inertial filtering process, X(n) represents the power estimation data input before the nth first-order inertial filtering process, Y(n-1) represents the power filter data obtained after the n-1th first-order inertial filtering process, α represents the preset weight constant, the value range of α is (0, 1), and n is a positive integer.

[0025] In some embodiments, adjusting the actual output power of the laser according to the target output power includes:

[0026] The membership degree is calculated based on the target output power data and the preset fuzzy control rules;

[0027] Calculating corresponding voltage control data according to the preset fuzzy control rules and membership; and

[0028] The laser power supply of the laser is controlled according to the voltage control data to provide the laser with a voltage corresponding to the voltage control data so as to adjust the output power of the laser to match the voltage.

[0029] According to an embodiment of the present application, in a second aspect, a laser output power adjustment device is provided, the device comprising:

[0030] Main control module, power feedback module and temperature detection module, the main control module includes optical power control unit and optical power output unit; wherein,

[0031] One end of the power feedback module is connected to the optical power control unit via a bus, and the other end of the power feedback module is used to connect to the laser. The optical power output unit is used to establish communication with the laser. One end of the temperature detection module is connected to the optical power control unit, and the other end of the temperature detection module is used to connect to the laser.

[0032] The power feedback module is used to collect the actual output power data of the laser and transmit the actual output power data to the optical power control unit;

[0033] The temperature detection module is used to obtain the temperature data of the laser and transmit the temperature data to the optical power control unit;

[0034] an optical power control unit, configured to perform Kalman filtering on actual output power data to obtain power estimation data; determine, based on the temperature data, whether the current temperature of the laser is within a preset temperature range; and, in response to the current temperature being within the preset temperature range, perform first-order inertial filtering on the power estimation data to obtain power filtering data, and determine target output power data based on the power filtering data; and

[0035] The optical power output unit is used to adjust the actual output power of the laser according to the target output power data.

[0036] According to an embodiment of the present application, in a third aspect, a laser output power adjustment system is provided, the system comprising: a laser, a laser power supply, a cooling device, and the laser output power adjustment device provided in the second aspect above; wherein,

[0037] One end of the cooling device is connected to the laser, and the other end of the cooling device is connected to the temperature detection module; the optical power output unit establishes communication with the laser power supply, and the laser power supply is electrically connected to the laser;

[0038] The return water outlet of the cooling device is equipped with a temperature sensor for temperature monitoring;

[0039] A temperature detection module is used to collect the voltage signal at both ends of the temperature sensor, amplify the voltage signal through an operational amplifier, and then transmit it to the single-chip microcomputer for temperature calculation, and transmit the calculated temperature data to the optical power control unit; and

[0040] The power feedback module is used to collect the real-time current data of the laser diode in the laser. After performing individual calculations on each optical pulse signal within a preset unit time based on the real-time current data, the average power data within the preset unit time is obtained as the actual output power data of the laser, and the actual output power data is transmitted to the optical power control unit.

[0041] According to an embodiment of the present application, in a fourth aspect, a computer device is provided, comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein when the processor executes the computer-readable instructions, the steps of the method of the embodiment provided in the first aspect are implemented.

[0042] According to an embodiment of the present application, in a fifth aspect, a non-volatile computer-readable storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, the steps of the method of the embodiment provided in the first aspect are implemented.

[0043] The details of one or more embodiments of the present application are set forth in the accompanying drawings and the description below. Other features and advantages of the present application will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0045] FIG1 is a schematic structural diagram of a laser output power adjustment device in some embodiments;

[0046] FIG2 is a schematic structural diagram of a laser output power adjustment system in some embodiments;

[0047] FIG3 is a schematic flow chart of a method for adjusting laser output power in some embodiments;

[0048] FIG4 is a schematic flow chart of a method for adjusting laser output power in other embodiments;

[0049] FIG5 is a diagram illustrating the internal structure of a computer device in some embodiments. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0051] In some embodiments, referring to Figures 1 and 2, Figure 1 shows a schematic diagram of the structure of a laser output power adjustment device in some embodiments. Figure 2 shows a schematic diagram of the structure of a laser output power adjustment system in some embodiments.

[0052] 1 , the laser output power adjustment device 100 includes a main control module 110 , a power feedback module 120 , and a temperature detection module 130 . The main control module 110 includes an optical power control unit 1101 and an optical power output unit 1102 .

[0053] Specifically, one end of the power feedback module 120 is connected to the optical power control unit 1101 via a bus, and the other end of the power feedback module 120 is used to connect to the laser 200 (see Figure 2), the optical power output unit 1102 is used to establish communication with the laser power supply, and one end of the temperature detection module 130 is connected to the optical power control unit 1101, and the other end of the temperature detection module 130 is used to connect to the laser 200.

[0054] The power feedback module 120 is used to collect actual output power data of the laser 200 and transmit the actual output power data to the optical power control unit 1101;

[0055] The temperature detection module 130 is used to obtain the temperature data of the laser 200 and transmit the temperature data to the optical power control unit;

[0056] The optical power control unit 1101 is configured to perform Kalman filtering on the actual output power data to obtain power estimation data; determine whether the current temperature of the laser is within a preset temperature range based on the temperature data; and in response to the current temperature being within the preset temperature range, perform first-order inertial filtering on the power estimation data to obtain power filtering data, and determine target output power data based on the power filtering data.

[0057] The optical power output unit 1102 is used to adjust the actual output power of the laser 140 according to the target output power data.

[0058] Each module in the aforementioned laser output power adjustment device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0059] In some embodiments, as shown in FIG2 , the present application further provides a laser output power adjustment system 10 , which includes the above-mentioned laser output power adjustment device 100 , a laser 200 , a laser power supply 300 , and a cooling device 400 ; wherein,

[0060] One end of the cooling device 400 is connected to the laser 200, and the other end of the cooling device is connected to the temperature detection module 130; the optical power output unit 1102 is connected to the optical power control unit 1101 and establishes communication with the laser power supply 300, and the laser power supply 300 is electrically connected to the laser 200.

[0061] In some embodiments, the return port of the cooling device 400 can be equipped with a temperature sensor for temperature monitoring. The cooling device 400 can be a device for cooling the laser, such as a water chiller, and the temperature sensor can be an NTC (Negative Temperature Coefficient) thermistor.

[0062] For example, the return water inlet of the cooling device can be configured to include an externally accessible temperature detection port, into which an NTC thermistor of matching size can be installed. When the water temperature in the cooling device changes, the resistance of the NTC thermistor will change accordingly. Therefore, data can be collected by collecting the resistance of the variable NTC thermistor and the resistance of another fixed resistor to obtain the divided voltage signal applied to the NTC thermistor. Then, further, the collected voltage signal can be amplified by an operational amplifier and then transmitted to the microcontroller for temperature calculation to obtain the current corresponding water temperature, thereby estimating the current temperature data of the laser.

[0063] For example, the power feedback module can collect real-time current data from the laser diode within the laser for calculation. When the laser diode is illuminated by light of a corresponding wavelength, its internal current changes linearly based on the linear optical output power, thus serving as a calculation medium. Based on the real-time current data, the power feedback module can independently calculate each optical pulse signal within a preset unit time, obtaining the average power data within the preset unit time as the actual output power data of the laser, and transmit the actual output power data to the optical power control unit.

[0064] More specifically, the power feedback module 120 can transmit the calculated actual output power data of the laser to the main control module 110 through CAN communication; the temperature detection module 130 can transmit the calculated temperature data of the laser to the main control module 110 through CAN communication; after calculating the target power data, the main control module 110 can use SPI (Serial Peripheral interface) to write the target power data into the digital-to-analog conversion chip, and output the corresponding voltage value through the optical power output unit 1102 to stimulate the laser power supply 300, thereby realizing the control and adjustment of the output power of the laser 200.

[0065] The above-mentioned laser output power adjustment device and laser output power adjustment system can be applied to situations where the actual use scenario has a significant impact on the output optical power of the laser (for example, situations where the operating temperature changes rapidly). A dynamic closed-loop system is used instead of a static open-loop system to adjust the output voltage signal in real time and efficiently, effectively reducing the fluctuation of the output power and making the output power accurately controllable and stable.

[0066] The laser output power adjustment method provided in this application is described in detail below.

[0067] The laser output power adjustment method provided in this application can be applied to the laser output power adjustment device shown in Figure 1 or the laser output power adjustment system shown in Figure 2. It is worth noting that the device shown in Figure 1 and the system shown in Figure 2 are only used to illustrate the application scenarios of some embodiments of the method provided in this application, and are not intended to limit the method provided in this application. The method provided in this application can also be applied in other adaptation scenarios.

[0068] In one embodiment, as shown in FIG3 , a method for adjusting laser output power is provided. The method is described by taking the main control module in FIG1 as an example, and includes the following steps:

[0069] Step S302: Collect actual output power data of the laser.

[0070] Specifically, the main control module may collect the current actual output power data of the laser periodically or in real time, and may obtain the actual output power data by communicating with a software or hardware unit responsible for collecting and calculating the actual output power of the laser.

[0071] In some embodiments, the actual output power data can be collected by the method proposed in the embodiments of the present application, that is, the actual output power data can be obtained through the power feedback unit involved in the present application. In other embodiments, the actual output power data can also be collected through other devices for power detection.

[0072] In some embodiments, real-time current data of the laser diode in the laser can be collected through a power feedback module. After performing individual calculations on each optical pulse signal within a preset unit time based on the real-time current data, average power data within the preset unit time is obtained as the actual output power data of the laser, and the actual output power data is transmitted to the optical power control unit.

[0073] Step S304: performing Kalman filtering on the actual output power data to obtain power estimation data.

[0074] Specifically, after receiving the actual output power data of the laser, the main control module may perform Kalman filtering on the actual output power data, and obtain power estimation data after noise information interference and the like are filtered out through the Kalman filtering.

[0075] Step S306: Acquire temperature data of the laser, and determine whether the current temperature of the laser is within a preset temperature range based on the temperature data.

[0076] Specifically, the main control module can periodically or in real time collect the current temperature of the laser, and can obtain temperature data by communicating with the software or hardware unit responsible for collecting and calculating the temperature of the laser. After obtaining the temperature data of the laser, the main control module can determine whether the current operating temperature (current temperature) of the laser is within a preset temperature range based on the obtained temperature data, wherein the preset temperature range is a preset optimal temperature range suitable for normal operation of the laser, and can be customized according to different types of lasers.

[0077] Exemplarily, it can be set according to the optimal operating temperature of the laser, for example, the preset temperature range can be 18°C ​​± 0.5°C.

[0078] In some embodiments, temperature data can be collected using the method proposed in the embodiments of the present application, that is, temperature data can be obtained using the temperature detection unit involved in the present application. In other embodiments, temperature data can also be collected using other software or hardware devices for temperature detection. For example, the current temperature data of the laser can be indirectly calculated by collecting temperature data from a cooling device connected to the laser, or the temperature data of the laser can be directly collected.

[0079] In some embodiments, a temperature detection module can be used to collect voltage signals from both ends of a temperature sensor located at the return water outlet of a cooling device. The voltage signal is amplified by an operational amplifier and then transmitted to a single-chip microcomputer for temperature calculation. By calculating the water temperature of the cooling device, the temperature data of the laser is obtained and the calculated temperature data is transmitted to a main control module.

[0080] Step S308: In response to the current temperature being within the preset temperature range, performing first-order inertial filtering processing according to the power estimation data to obtain power filtering data, and determining target output power data according to the power filtering data.

[0081] Specifically, if the current temperature of the laser is within a preset temperature range, the actual output power data after Kalman filtering, that is, the power estimation data, can be further processed using a first-order inertial filtering algorithm. The target output power is calculated by filtering to obtain the output power that the laser should have at the current temperature. The first-order inertial filtering process can also be called a first-order low-pass filter (LPF).

[0082] Step S310: adjusting the actual output power of the laser according to the target output power data.

[0083] Specifically, after calculating the appropriate target output power data, the main control module can convert the calculated target output power data into corresponding voltage control data, thereby adjusting the actual output power of the laser by changing or adjusting the voltage supplied to the laser.

[0084] The above-mentioned laser output power adjustment method collects the actual output power data and temperature data of the laser, and through Kalman filtering and first-order inertial filtering, it can calculate the target output power data adapted to temperature changes. It can adjust the actual output power of the laser in real time and efficiently, effectively reduce the fluctuation of the output power, and make the output power accurately controllable and stable.

[0085] In some embodiments, the method further includes: in response to the current temperature being outside the preset temperature range, acquiring initial output power data of the laser at the current gear; and using the initial output power data as target output power data.

[0086] In this embodiment, if it is detected that the current temperature of the laser is not within the preset temperature range, it means that the current operating temperature of the laser may be abnormal, and its output power has been greatly affected by the temperature. At this time, the actual output power can be adjusted directly according to the pre-configured initial output power data of the current gear as the target output power data, that is, the output power of the laser is initialized to achieve the maximum power correction in an abnormal temperature working environment.

[0087] In some embodiments, before determining whether the current temperature of the laser is within a preset temperature range based on the temperature data, the above method further includes: determining whether the laser has a determined target output power at the current gear; in response to the laser not having a determined target output power at the current gear, entering the step of determining whether the current temperature of the laser is within the preset temperature range based on the temperature data.

[0088] In this embodiment, the determined target output power can be the target output power data that has been calculated for each gear in the previous cycle calculation. It also supports manually configuring the corresponding target output power for each gear in advance as the determined target output power. Therefore, before entering the closed-loop regulation calculation, it is possible to first check whether the current gear of the laser has a determined target output power. If so, the actual output power of the laser can be adjusted according to the determined target output power; if not, the subsequent step of calculating the target output power data can be entered. Through this embodiment, for each working gear of the laser, if there is a determined target output power, there is no need to repeatedly calculate, thereby improving the efficiency of power regulation.

[0089] In some embodiments, performing Kalman filtering on the actual output power data to obtain power estimation data includes:

[0090] Collecting multiple actual output power values ​​of the laser within a preset time period as a set of actual output power data;

[0091] The multiple actual output power values ​​are processed by Kalman filtering to obtain multiple power estimation values ​​corresponding to the actual output power values. The Kalman filtering formula is: X(k) = A*X(k-1) + B*U(k) + W(k)

[0092] Wherein, X(k) represents the power estimation data obtained after the k-th Kalman filter processing, A represents the state transfer moment, X(k-1) represents the power estimation data obtained after the k-1-th Kalman filter processing, B represents the control matrix, U(k) represents the error data, W(k) represents the process noise data generated during the processing, X(0) is the actual output power value of the initial input, and k represents the number of Kalman filter processing;

[0093] After removing the critical value from the multiple power estimation values, an average operation is performed to obtain an average estimated power value as power estimation data.

[0094] In the above embodiment, an array can be established to store the received and collected actual output power values ​​of the laser into the array. After the array is filled, it is used as a set of actual output power data for filtering calculation, thereby improving the accuracy of the calculation.

[0095] In some embodiments, the formula for performing first-order inertial filtering on the power estimation data includes: Y(n)=α*X(n)+(1-α)*Y(n-1)

[0096] Wherein, Y(n) is the power filter data obtained after the nth first-order inertial filtering process, X(n) represents the power estimation data input before the nth first-order inertial filtering process, Y(n-1) represents the power filter data obtained after the n-1th first-order inertial filtering process, α represents the preset weight constant, the value range of α is (0, 1), and n is a positive integer.

[0097] The larger the α, the more trust is placed in the collected data, and the smaller the α, the more trust is placed in the calculated data. The size of α can be determined based on the actual debugging effect.

[0098] In some embodiments, the actual output power of the laser is adjusted according to the target output power, including: calculating the membership based on the target output power data and preset fuzzy control rules; calculating the corresponding voltage control data based on the preset fuzzy control rules and the membership; and controlling the laser power supply of the laser according to the voltage control data to provide the laser with a voltage corresponding to the voltage control data to adjust the output power of the laser to match the voltage.

[0099] In this embodiment, the calculated or determined target output power is used as an input value, fuzzy control processing is performed and the membership degree is calculated. According to the preset fuzzy control rules, for example, fuzzy control rules such as the Mamdani method or the Zadeh method can be used to derive the fuzzy control conclusion, and the maximum value method is used to perform defuzzification control to obtain voltage control data, and the output power is adjusted by controlling the voltage of the laser power supply given to the laser.

[0100] The following is a more detailed description of the laser output power adjustment method involved in this application, with reference to FIG4 , which shows a flow chart of the laser output power adjustment method in some application examples. Specifically, the following steps may be included:

[0101] Step S41: Data initialization; initializing various parameters of the laser output power adjustment system, setting the factory output power, voltage parameters, temperature data, etc.;

[0102] Step S42: collecting the actual output power of the laser;

[0103] Step S43: performing Kalman filtering processing;

[0104] Step S44: collecting the current temperature data of the laser;

[0105] Step S45: Determine whether the target output power has been determined for the current gear. If so, proceed to step S49; if not, proceed to step S46;

[0106] Step S46: Determine whether it is within the optimal operating temperature range. If so, proceed to step S47; if not, proceed to step S48;

[0107] Step S47: Obtain a set of output power values ​​after Kalman filtering, perform first-order inertial filtering, and use the power filtering values ​​as the target output power for the current gear;

[0108] Step S48: taking the factory-set initial output power as the target output power for the current gear;

[0109] Step S49: performing fuzzy control according to the target output power;

[0110] Step S410: adjusting the output power of the laser.

[0111] According to the various embodiments described above, the methods, devices, and systems involved in this application can be applied to situations where actual usage scenarios have a significant impact on the output optical power of the laser (for example, situations where the operating temperature changes rapidly). By using a dynamic closed-loop system instead of a static open-loop system, the output voltage signal can be adjusted in real time and efficiently, effectively reducing fluctuations in the output power and making the output power precisely controllable and stable. This has at least the following advantages:

[0112] 1) Improve stability, avoid the problem of unadjustable errors in open-loop systems, and reduce fluctuations in laser output power caused by changes in the external environment;

[0113] 2) Improve response rate by closed-loop regulation to improve response speed and avoid the tediousness and inefficiency of manual adjustment;

[0114] 3) Improve accuracy, make laser output power more precisely controllable, and reduce the error with target output power.

[0115] It should be understood that although the various steps in the flow charts of Figures 3 to 4 are shown in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in Figures 3 to 4 may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0116] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in Figure 5. The computer device includes a processor, a memory, and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer-readable instructions, and a database. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer-readable instructions are executed by the processor, a method for adjusting laser output power is implemented.

[0117] Those skilled in the art will understand that the structure shown in FIG5 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0118] In one embodiment, a computer device is provided, comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the following steps are implemented: collecting actual output power data of a laser; performing Kalman filtering on the actual output power data to obtain power estimation data; obtaining temperature data of the laser, and determining whether the current temperature of the laser is within a preset temperature range based on the temperature data; in response to the current temperature being within the preset temperature range, performing first-order inertial filtering on the power estimation data to obtain power filtering data, and determining target output power data based on the power filtering data; and adjusting the actual output power of the laser based on the target output power data.

[0119] In one embodiment, when the processor executes the computer-readable instructions, it further implements the following steps: in response to the current temperature being outside the preset temperature range, obtaining initial output power data of the laser at the current gear; and using the initial output power data as target output power data.

[0120] In one embodiment, when the processor executes the computer-readable instructions, it further implements the following steps: determining whether the laser has a determined target output power at the current gear position; in response to the laser not having a determined target output power at the current gear position, entering the step of determining whether the current temperature of the laser is within a preset temperature range based on the temperature data.

[0121] In one embodiment, when the processor executes the computer-readable instructions, it further implements the following steps: collecting multiple actual output power values ​​of the laser within a preset time period as a set of actual output power data; performing Kalman filtering on the multiple actual output power values ​​to obtain multiple power estimation values ​​corresponding to the actual output power values; wherein the formula for the Kalman filtering is: X(k) = A*X(k-1) + B*U(k) + W(k)

[0122] Among them, X(k) represents the power estimation data obtained after the k-th Kalman filter processing, A represents the state transfer moment, X(k-1) represents the power estimation data obtained after the k-1-th Kalman filter processing, B represents the control matrix, U(k) represents the error data, W(k) represents the process noise data generated during the processing, X(0) is the actual output power value of the initial input, and k represents the number of Kalman filter processing; after removing the critical value from multiple power estimation values, the average value is calculated to obtain the average estimated power value as the power estimation data.

[0123] In one embodiment, when the processor executes the computer-readable instructions, it further implements the following steps: calling a first-order inertial filtering processing formula to perform first-order inertial filtering processing on the power estimation data, the first-order inertial filtering processing formula including: Y(n)=α*X(n)+(1-α)*Y(n-1)

[0124] Wherein, Y(n) is the power filter data obtained after the nth first-order inertial filtering process, X(n) represents the power estimation data input before the nth first-order inertial filtering process, Y(n-1) represents the power filter data obtained after the n-1th first-order inertial filtering process, α represents the preset weight constant, the value range of α is (0, 1), and n is a positive integer.

[0125] In one embodiment, when the processor executes the computer-readable instructions, it further implements the following steps: calculating the membership degree based on the target output power data and the preset fuzzy control rules; calculating the corresponding voltage control data based on the preset fuzzy control rules and the membership degree; and controlling the laser power supply of the laser based on the voltage control data to provide the laser with a voltage corresponding to the voltage control data to adjust the output power of the laser to match the voltage.

[0126] In one embodiment, a non-volatile computer-readable storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, the following steps are implemented: collecting actual output power data of the laser; performing Kalman filtering on the actual output power data to obtain power estimation data; obtaining temperature data of the laser, and determining whether the current temperature of the laser is within a preset temperature range based on the temperature data; in response to the current temperature being within the preset temperature range, performing first-order inertial filtering based on the power estimation data to obtain power filtering data, and determining target output power data based on the power filtering data; and adjusting the actual output power of the laser based on the target output power data.

[0127] In one embodiment, when the computer-readable instructions are executed by the processor, the following steps are further implemented: in response to the current temperature being outside the preset temperature range, obtaining initial output power data of the current gear of the laser; and using the initial output power data as target output power data.

[0128] In one embodiment, when the computer-readable instructions are executed by the processor, the following steps are further implemented: determining whether the laser has a determined target output power at the current gear position; in response to the laser not having a determined target output power at the current gear position, entering the step of determining whether the current temperature of the laser is within a preset temperature range based on the temperature data.

[0129] In one embodiment, when the computer-readable instructions are executed by the processor, the following steps are further implemented: collecting multiple actual output power values ​​of the laser within a preset time period as a set of actual output power data; performing Kalman filtering on each of the multiple actual output power values ​​to obtain multiple power estimation values ​​corresponding to the actual output power values; wherein the Kalman filtering formula is: X(k) = A*X(k-1) + B*U(k) + W(k)

[0130] Among them, X(k) represents the power estimation data obtained after the k-th Kalman filter processing, A represents the state transfer moment, X(k-1) represents the power estimation data obtained after the k-1-th Kalman filter processing, B represents the control matrix, U(k) represents the error data, W(k) represents the process noise data generated during the processing, X(0) is the actual output power value of the initial input, and k represents the number of Kalman filter processing; after removing the critical value from multiple power estimation values, the average value is calculated to obtain the average estimated power value as the power estimation data.

[0131] In one embodiment, when the computer-readable instructions are executed by the processor, the following steps are further implemented: calling a first-order inertial filtering formula to perform first-order inertial filtering on the power estimation data, the first-order inertial filtering formula including: Y(n)=α*X(n)+(1-α)*Y(n-1)

[0132] Wherein, Y(n) is the power filter data obtained after the nth first-order inertial filtering process, X(n) represents the power estimation data input before the nth first-order inertial filtering process, Y(n-1) represents the power filter data obtained after the n-1th first-order inertial filtering process, α represents the preset weight constant, the value range of α is (0, 1), and n is a positive integer.

[0133] In one embodiment, when the computer-readable instructions are executed by the processor, the following steps are further implemented: calculating the membership based on the target output power data and the preset fuzzy control rules; calculating the corresponding voltage control data based on the preset fuzzy control rules and the membership; and controlling the laser power supply of the laser based on the voltage control data to provide the laser with a voltage corresponding to the voltage control data to adjust the output power of the laser to match the voltage.

[0134] Those skilled in the art will understand that all or part of the processes in the methods for implementing the above embodiments can be completed by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile computer-readable storage medium. When the computer-readable instructions are executed, they may include processes such as the embodiments of the above methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0135] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0136] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.

Claims

1. A method for adjusting laser output power, the method comprising: Collect the actual output power data of the laser; Performing Kalman filtering on the actual output power data to obtain power estimation data; Acquiring temperature data of the laser, and determining whether the current temperature of the laser is within a preset temperature range according to the temperature data; In response to the current temperature being within the preset temperature range, performing first-order inertial filtering processing according to the power estimation data to obtain power filtering data, and determining target output power data according to the power filtering data; as well as The actual output power of the laser is adjusted according to the target output power data.

2. The method according to claim 1, characterized in that The method further comprises: In response to the current temperature being not within the preset temperature range, acquiring initial output power data of the current gear of the laser; and The initial output power data is used as the target output power data.

3. The method according to claim 1, characterized in that Before determining whether the current temperature of the laser is within a preset temperature range according to the temperature data, the method further includes: Determining whether the laser has a determined target output power at the current gear position; and In response to the laser not having the determined target output power at the current gear, the step of determining whether the current temperature of the laser is within a preset temperature range according to the temperature data is entered.

4. The method according to claim 1, characterized in that: The performing Kalman filtering on the actual output power data to obtain power estimation data includes: Collecting a plurality of actual output power values ​​of the laser within a preset time period as a set of actual output power data; The multiple actual output power values ​​are respectively subjected to Kalman filtering to obtain multiple power estimation values ​​corresponding to the actual output power values; wherein the formula for the Kalman filtering is: X(k)=A*X(k-1)+B*U(k)+W(k) Wherein, X(k) represents the power estimation data obtained after the k-th Kalman filter processing, A represents the state transfer moment, X(k-1) represents the power estimation data obtained after the k-1-th Kalman filter processing, B represents the control matrix, U(k) represents the error data, W(k) represents the process noise data generated during the processing, X(0) is the actual output power value of the initial input, and k represents the number of Kalman filter processing; and After removing the critical value from the plurality of power estimation values, an average value is calculated to obtain an average estimated power value as the power estimation data.

5. The method according to claim 4, characterized in that The formula for performing first-order inertial filtering on the power estimation data includes: Y(n)=α*X(n)+(1-α)*Y(n-1) Among them, Y(n) is the power filter data obtained after the nth first-order inertial filtering processing, X(n) represents the power estimation data input before the nth first-order inertial filtering, Y(n-1) represents the power filter data obtained after the n-1th first-order inertial filtering processing, α represents the preset weight constant, the value range of α is (0, 1), and n is a positive integer.

6. The method according to claim 1, characterized in that The step of adjusting the actual output power of the laser according to the target output power comprises: The degree of membership is calculated according to the target output power data and the preset fuzzy control rules; Calculating corresponding voltage control data according to the preset fuzzy control rule and the membership degree; and The laser power supply of the laser is controlled according to the voltage control data to provide the laser with a voltage corresponding to the voltage control data so as to adjust the output power of the laser to match the voltage.

7. A laser output power adjustment device, characterized in that: The device comprises a main control module, a power feedback module and a temperature detection module, wherein the main control module comprises an optical power control unit and an optical power output unit; wherein, One end of the power feedback module is connected to the optical power control unit via a bus, the other end of the power feedback module is used to connect to the laser, the optical power output unit is used to establish communication with the laser, one end of the temperature detection module is connected to the optical power control unit, and the other end of the temperature detection module is used to connect to the laser; The power feedback module is used to collect actual output power data of the laser and transmit the actual output power data to the optical power control unit; The temperature detection module is used to obtain temperature data of the laser and transmit the temperature data to the optical power control unit; The optical power control unit is used to perform Kalman filtering on the actual output power data to obtain power estimation data; determine whether the current temperature of the laser is within a preset temperature range according to the temperature data; in response to the current temperature being within the preset temperature range, perform first-order inertial filtering on the power estimation data to obtain power filtering data, and determine target output power data according to the power filtering data; and The optical power output unit is used to adjust the actual output power of the laser according to the target output power data.

8. A laser output power adjustment system, characterized in that: The system comprises: a laser, a laser power supply, a cooling device and a laser output power regulating device according to claim 7; Among them, one end of the cooling device is connected to the laser, and the other end of the cooling device is connected to the temperature detection module; the optical power output unit establishes communication with the laser power supply, and the laser power supply is electrically connected to the laser; A temperature sensor for temperature monitoring is arranged at the water return port of the cooling device; The temperature detection module is used to collect voltage signals at both ends of the temperature sensor, amplify the voltage signal through an operational amplifier and then transmit it to the single-chip microcomputer for temperature calculation, and transmit the calculated temperature data to the optical power control unit; and The power feedback module is used to collect real-time current data of the laser diode in the laser, and after individually calculating each optical pulse signal within a preset unit time according to the real-time current data, obtain average power data within the preset unit time as actual output power data of the laser, and transmit the actual output power data to the optical power control unit.

9. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, characterized in that: When the processor executes the computer-readable instructions, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A non-volatile computer-readable storage medium having computer-readable instructions stored thereon, characterized in that: When the computer readable instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • High-accuracy laser remote-sensing numerically-controlled power supply system and control method

    CN107863687A

  • Gain spectrum regulation and control method and device for optical fiber Raman amplifier

    CN113708207A

  • Semiconductor laser power control method, device and system and readable storage medium

    CN113889843A

  • Laser output power adjusting method, device and system, computer equipment and medium

    CN117913639A

  • Universal controller for optical amplifier

    CN1426616A

Cited By

  • Area array laser control method, computer equipment, storage medium and program product

    CN120276342A

  • Laser optical power control method and device, MCU, optical module and storage medium

    CN121356697A