Movatterモバイル変換


[0]ホーム

URL:


CN119055352A - A method and system for controlling output power of a carbon dioxide laser therapeutic device - Google Patents

A method and system for controlling output power of a carbon dioxide laser therapeutic device
Download PDF

Info

Publication number
CN119055352A
CN119055352ACN202411174032.3ACN202411174032ACN119055352ACN 119055352 ACN119055352 ACN 119055352ACN 202411174032 ACN202411174032 ACN 202411174032ACN 119055352 ACN119055352 ACN 119055352A
Authority
CN
China
Prior art keywords
laser
pulse
dimensional
temperature
analysis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202411174032.3A
Other languages
Chinese (zh)
Other versions
CN119055352B (en
Inventor
段洪云
贺青
刘佐军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Youlan Medical Technology Co ltd
Original Assignee
Shenzhen Youlan Medical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Youlan Medical Technology Co ltdfiledCriticalShenzhen Youlan Medical Technology Co ltd
Priority to CN202411174032.3ApriorityCriticalpatent/CN119055352B/en
Publication of CN119055352ApublicationCriticalpatent/CN119055352A/en
Application grantedgrantedCritical
Publication of CN119055352BpublicationCriticalpatent/CN119055352B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention relates to the technical field of power control, and discloses a method and a system for controlling output power of a carbon dioxide laser therapeutic instrument. The method comprises the steps of carrying out finite element modeling on a light path, a laser tube and a cooling system of a carbon dioxide laser therapeutic instrument to obtain a three-dimensional temperature field model, carrying out continuous wave mode analysis to obtain continuous wave power fluctuation influence data, carrying out pulse mode analysis to obtain pulse power fluctuation influence data, carrying out comprehensive processing and dual-mode feedforward control analysis to obtain feedforward control parameters, carrying out multi-local control calculation on real-time laser output data to obtain feedback control parameters, carrying out multi-layer neural network analysis and laser energy distribution on the feedforward control parameters and the feedback control parameters to obtain a multi-stage laser energy distribution scheme.

Description

Output power control method and system of carbon dioxide laser therapeutic instrument
Technical Field
The invention relates to the technical field of power control, in particular to an output power control method and system of a carbon dioxide laser therapeutic instrument.
Background
Carbon dioxide laser therapeutic equipment is used as an important medical device and is widely applied to a plurality of clinical fields such as dermatology, otorhinolaryngology and the like. However, with the continuous progress of medical technology and the increasing demands of patients on treatment precision, the conventional carbon dioxide laser therapeutic apparatus exposes some problems in terms of output power control. The laser can generate heat accumulation effect in the working process, so that fluctuation of output power occurs, and consistency and predictability of treatment effect are affected.
Secondly, the existing control method only considers a single working state in a continuous wave or pulse mode, and is difficult to adapt to complex and changeable clinical requirements. In addition, due to the nonlinear characteristics of the laser system and interference from environmental factors, conventional fixed parameter control strategies have difficulty achieving high-precision power adjustments, particularly in the case of long-term operation or frequent switching of the operating modes, with significant degradation in control performance.
Disclosure of Invention
The invention provides a method and a system for controlling the output power of a carbon dioxide laser therapeutic instrument, which are used for realizing accurate, stable and self-adaptive control of the output power of the carbon dioxide laser therapeutic instrument, thereby improving the safety of the carbon dioxide laser therapeutic instrument.
In a first aspect, the present invention provides a method for controlling output power of a carbon dioxide laser therapeutic apparatus, the method for controlling output power of a carbon dioxide laser therapeutic apparatus comprising:
Finite element modeling is carried out on a light path, a laser tube and a cooling system of the carbon dioxide laser therapeutic instrument, and a three-dimensional temperature field model is obtained;
carrying out continuous wave mode analysis on the three-dimensional temperature field model to obtain continuous wave power fluctuation influence data;
performing pulse mode analysis on the three-dimensional temperature field model to obtain pulse power fluctuation influence data;
Comprehensively processing the continuous wave power fluctuation influence data and the pulse power fluctuation influence data and carrying out dual-mode feedforward control analysis to obtain feedforward control parameters;
Performing multi-local control calculation on real-time laser output data of the carbon dioxide laser therapeutic instrument to obtain feedback control parameters;
And carrying out multi-layer neural network analysis and laser energy distribution on the feedforward control parameters and the feedback control parameters to obtain a multi-stage laser energy distribution scheme.
In a second aspect, the present invention provides an output power control system of a carbon dioxide laser therapeutic apparatus, the output power control system of the carbon dioxide laser therapeutic apparatus comprising:
The modeling module is used for carrying out finite element modeling on the light path, the laser tube and the cooling system of the carbon dioxide laser therapeutic instrument to obtain a three-dimensional temperature field model;
The first mode analysis module is used for carrying out continuous wave mode analysis on the three-dimensional temperature field model to obtain continuous wave power fluctuation influence data;
the second mode analysis module is used for carrying out pulse mode analysis on the three-dimensional temperature field model to obtain pulse power fluctuation influence data;
the feedforward control module is used for comprehensively processing the continuous wave power fluctuation influence data and the pulse power fluctuation influence data and carrying out dual-mode feedforward control analysis to obtain feedforward control parameters;
the calculation module is used for performing multi-local control calculation on the real-time laser output data of the carbon dioxide laser therapeutic instrument to obtain feedback control parameters;
And the distribution module is used for carrying out multi-layer neural network analysis and laser energy distribution on the feedforward control parameters and the feedback control parameters to obtain a multi-stage laser energy distribution scheme.
The invention provides output power control equipment of a carbon dioxide laser therapeutic instrument, which comprises a memory and at least one processor, wherein the memory stores instructions, and the at least one processor calls the instructions in the memory so that the output power control equipment of the carbon dioxide laser therapeutic instrument can execute the output power control method of the carbon dioxide laser therapeutic instrument.
A fourth aspect of the present invention provides a computer-readable storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the above-described output power control method of a carbon dioxide laser therapeutic apparatus.
According to the technical scheme provided by the invention, the optical path, the laser tube and the cooling system of the carbon dioxide laser therapeutic instrument are subjected to finite element modeling, so that a high-precision three-dimensional temperature field model is obtained, the continuous wave mode and the pulse mode are respectively subjected to deep analysis, power fluctuation influence data under different working states are obtained, and the double-mode feedforward control is realized by comprehensively processing the influence data of the continuous wave mode and the pulse mode, so that the problem of power stability during switching between different working modes is solved. The real-time laser output data is processed by utilizing the multi-local control calculation method, so that the feedback control parameters which are dynamically adjusted are obtained, and the resistance of the system to external interference is improved. The multi-layer neural network is adopted to analyze feedforward and feedback control parameters, so that intelligent distribution of laser energy is realized, and the energy utilization efficiency is optimized. By an online parameter adjustment mechanism, the self-adaptive optimization of control parameters is realized, and the adaptability of the system under different working conditions is enhanced. And the feedforward compensation and the nonlinear PID control are combined, so that the control accuracy and stability of the output power are obviously improved. And a safety evaluation mechanism is introduced in the energy distribution process, so that the safety and reliability of laser treatment are ensured. The control method has stronger flexibility through fuzzy rule mapping and multi-stage energy distribution.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained based on these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for controlling output power of a carbon dioxide laser therapeutic apparatus according to an embodiment of the present application;
fig. 2 is a schematic block diagram of an output power control system of a carbon dioxide laser therapeutic apparatus according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may also be split, combined, or partially combined, so that the order of actual execution may vary based on actual circumstances.
It is also to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for controlling output power of a carbon dioxide laser therapeutic apparatus according to an embodiment of the present application, and as shown in fig. 1, the method for controlling output power of a carbon dioxide laser therapeutic apparatus according to an embodiment of the present application includes steps S100 to S600.
Step S100, finite element modeling is carried out on a light path, a laser tube and a cooling system of the carbon dioxide laser therapeutic instrument, and a three-dimensional temperature field model is obtained;
It is to be understood that the execution body of the present invention may be an output power control system of a carbon dioxide laser therapeutic apparatus, and may also be a terminal or a server, which is not limited herein. The embodiment of the invention is described by taking a server as an execution main body as an example.
Specifically, the geometric structure of the carbon dioxide laser therapeutic apparatus is subjected to parameterization modeling to obtain a complete three-dimensional geometric model comprising a light path, a laser tube and a cooling system, and each physical component and the interrelation thereof in the laser are reflected. According to the three-dimensional geometric model, the space inside the laser is divided into a plurality of finite element grid cells, and a finite element grid consisting of the plurality of grid cells is formed. Each grid cell represents a small portion of the geometric model, and the physical behavior of the overall system is approximately modeled by analyzing the collection of grid cells. The thermophysical parameters of the material, including thermal conductivity, specific heat capacity and density, are assigned to each grid cell to form a matrix containing these parameters reflecting the thermal conductivity characteristics of the material under different conditions so that the model simulates the thermal conductivity behavior of the laser during operation. And according to the working parameters of the laser and the parameters of the cooling system, applying a heat flow boundary condition to the boundary of the finite element grid, and simulating the heat flow and heat dissipation process of the laser in operation to obtain a complete heat conduction model. A system of partial differential equations of temperature over time is established for each grid cell in the thermal conduction model, by which equations the temperature change law of each cell is described. And performing time discretization according to the partial differential equation set to obtain temperature distribution data corresponding to each time step. And calculating thermal stress and thermal deformation based on the temperature distribution data to obtain a stress-strain matrix of the structural change of the laser, and describing the deformation and internal stress distribution condition of the laser under the action of heat. And (3) performing thermal-optical coupling analysis on the stress-strain matrix, combining thermodynamic and optical effects, and analyzing how the temperature change influences the optical performance of the laser to generate a three-dimensional temperature field model.
Step S200, continuous wave mode analysis is carried out on the three-dimensional temperature field model, and continuous wave power fluctuation influence data are obtained;
Specifically, the three-dimensional temperature field model is initialized to obtain initial temperature distribution in a continuous wave mode, so that the temperature distribution condition of the laser in a stable working state is established. And carrying out heat source loading calculation on the initial temperature distribution based on the working parameters of the continuous wave laser so as to simulate the heat input of the laser in the working process, obtain steady-state temperature distribution and reflect the temperature distribution state of the laser in a continuous wave mode. And carrying out Fourier transform on the steady-state temperature distribution to obtain the frequency spectrum characteristic of the temperature field. Through spectrum analysis, the change characteristics of the temperature field under different frequencies are revealed, and then the temperature field is subjected to modal decomposition to obtain a target temperature mode. Extraction of the temperature modes helps to identify the most critical temperature distribution modes for laser performance, which directly affect the power output and beam quality of the laser. And performing sensitivity analysis on the target temperature mode to obtain a response function of temperature to power fluctuation, and describing how the power output of the laser is affected by temperature change. Based on the response function, power fluctuation with different amplitudes and frequencies is simulated, and dynamic temperature distribution is obtained. The dynamic temperature profile reflects the transient response characteristics of the temperature field in the event of power fluctuations. And mapping the dynamic temperature distribution and the optical parameters to obtain the optical characteristic changes including the temperature of the gain medium and the parameters of the resonant cavity. And performing optical field calculation on the output of the laser through optical characteristic change to obtain change data of output power, wavelength and beam quality, and reflecting the optical performance of the laser in different working states. And carrying out statistical analysis and spectrum analysis on the change data to obtain the amplitude spectrum and the phase spectrum of the power fluctuation. And evaluating the influence of the power fluctuation on the performance of the laser through the amplitude spectrum and the phase spectrum, thereby comprehensively evaluating the sensitivity and the stability of the power fluctuation and obtaining continuous wave power fluctuation influence data containing fluctuation sensitivity and stability thresholds.
Step S300, carrying out pulse mode analysis on the three-dimensional temperature field model to obtain pulse power fluctuation influence data;
Specifically, the three-dimensional temperature field model is subjected to time discretization processing to obtain a high-time-resolution temperature field model suitable for a pulse mode. The transient nature of pulsed lasers requires that the model be able to accurately capture temperature changes on an extremely short time scale. And loading a pulse heat source to the model according to the working parameters of the pulse laser, and simulating the temperature change condition in a single pulse period to obtain the transient temperature distribution of the single pulse period. And performing fast Fourier transform on the transient temperature distribution to acquire the time-frequency characteristic of the temperature field. The time-frequency characteristic analysis can reveal the change rule of the temperature in the time and frequency dimensions, and is helpful for understanding the thermodynamic behavior in the pulse mode. Based on the time-frequency characteristic, the principal component analysis is carried out on the temperature field, and a target temperature change mode under the pulse mode is extracted from the principal component analysis. The target temperature change pattern represents the most representative and influential trend in the temperature field under pulsed operating conditions. And performing thermal-optical coupling analysis on the target temperature change mode to obtain an influence function of the temperature on pulse energy, peak power and pulse width. And according to the influence function, simulating different pulse parameters to obtain the temperature accumulation effect in the pulse sequence. The temperature accumulation effect describes the effect of a gradual increase in temperature under successive pulses and the effect on subsequent pulses, which helps to understand the thermal interactions between the pulses. And performing nonlinear fitting on the temperature accumulation effect, generating a mathematical model of heat accumulation among pulses, describing the heat effect accumulation among the pulses, and further performing pulse train simulation on laser output to simulate pulse energy stability and pulse shape change data under different operating conditions. And performing wavelet transformation on the pulse energy stability and pulse shape change data to obtain multi-scale fluctuation characteristics. The wavelet transform enables capturing detailed features of the pulse fluctuations on different time scales, which helps to fully evaluate the impact of the pulse power fluctuations. And obtaining pulse power fluctuation influence data comprising a pulse stability index and a heat accumulation threshold value through comprehensive evaluation of the multi-scale fluctuation characteristics.
Step S400, comprehensively processing continuous wave power fluctuation influence data and pulse power fluctuation influence data and performing dual-mode feedforward control analysis to obtain feedforward control parameters;
Specifically, data fusion is carried out on continuous wave power fluctuation influence data and pulse power fluctuation influence data, so that a power fluctuation feature matrix is obtained, and the influence of continuous wave and pulse fluctuation on laser output is reflected. Based on the power fluctuation feature matrix, cluster analysis is carried out on the continuous wave mode and the pulse mode, and feature boundaries under the two modes are identified. The feature boundary reveals the difference and commonality of the two modes under different conditions, which is the key for realizing mode switching. Blurring is performed on the mode feature boundaries to identify transition zones between the continuous wave mode and the pulse mode. The transition interval represents the overlap region that may occur when the laser is switched from one mode to another under different operating conditions. In order to ensure that the laser stably transits between different modes, a dual-mode switching function is constructed according to a transition interval, a smooth transition strategy of mode switching is generated, abrupt power fluctuation of the laser during mode switching is avoided, and continuity and stability of output are ensured. And carrying out state space modeling on the smooth transition strategy to obtain a state equation of the dual-mode system, and describing the dynamic behavior of the laser in continuous wave and pulse modes. Based on the state equation, a linear quadratic regulator is designed to find the optimal control law. The optimal control law is the core for ensuring the best performance of the laser in different modes, and the control effect is maximized by balancing the stability and the response speed of the system. In order to enable the optimal control law to be applied to an actual digital control system, discretization processing is carried out on the optimal control law, and a differential equation suitable for digital control is obtained. A feedforward compensator is constructed based on the differential equation. The main function of the feedforward compensator is to pre-calculate and compensate for the effects due to temperature and power fluctuations, thereby ensuring the stability of the output. The calculation of the compensation amount is realized by a compensation amount calculation function, and the compensation amount is dynamically adjusted according to the real-time power fluctuation condition. The compensation amount calculation function is adaptively adjusted to cope with different working conditions and environmental changes. By means of the adaptive adjustment, an adaptive compensator is generated, which can automatically optimize the control parameters according to the actual situation. The gain matrix and the compensation coefficient are combined to generate feedforward control parameters including these optimization parameters. The feedforward control parameters are applied to a control system of the laser, so that the accurate control and stability of the laser output power are ensured under different operation modes, and a more efficient treatment effect and higher safety are realized.
Step S500, performing multi-local control calculation on real-time laser output data of the carbon dioxide laser therapeutic instrument to obtain feedback control parameters;
Specifically, real-time laser output data of the carbon dioxide laser therapeutic apparatus is subjected to sliding window segmentation processing, and continuous time series data are divided into a plurality of local time series, wherein each local time series represents the change condition of laser output in a specific time period. Performing fast fourier transform on the plurality of local time sequences to extract spectral features of each of the local and reveal frequency components of the laser output over different time periods. And carrying out adaptive filtering processing on each local time sequence based on the local frequency spectrum characteristics. The self-adaptive filtering can effectively remove noise, and clearer and more accurate local output data are obtained. And carrying out nonlinear system identification on the denoised local data, and establishing a dynamic model in each local time period. The local dynamic model reflects the response characteristics of the laser output over a particular period of time. And designing a plurality of local PID controllers according to the local dynamic model, wherein each controller corresponds to one local dynamic model. By designing these controllers, a set of local PID parameter sets is obtained. And (3) carrying out fuzzy rule mapping on the local PID parameter set to obtain a global PID parameter adjustment strategy, optimizing the control effect in a global scope, and ensuring the cooperation and consistency among different local controllers. And constructing a nonlinear PID control model according to the global PID parameter adjustment strategy. The model can comprehensively control the laser output in a global range, and ensures that the output power of the laser can be kept stable under different operating conditions. Stability analysis is performed on the nonlinear PID control model to verify its reliability in practical applications. And obtaining Lyapunov stability conditions through stability analysis. According to the Lyapunov stability condition, an online parameter adjustment mechanism is generated to adjust control parameters in real time in the laser operation process. And performing numerical discretization on the online parameter adjustment mechanism to obtain feedback control parameters comprising a gain matrix, integral time and differential time. These feedback control parameters are used in the control system of the laser to ensure accurate control of the laser output power, achieving high efficiency, safety and stability during treatment.
And S600, carrying out multi-layer neural network analysis and laser energy distribution on the feedforward control parameters and the feedback control parameters to obtain a multi-stage laser energy distribution scheme.
Specifically, the feedforward control parameter and the feedback control parameter are spliced to form a 30-dimensional input vector X containing a gain matrix, a compensation coefficient and PID parameters. The 30-dimensional input vector X is input to the first hidden layer of the neural network. In this hidden layer, computation is performed by matrix multiplication w1x+b1, where W1 is a weight matrix of 64X30 and b1 is a 64-dimensional bias vector. Through calculation, a 64-dimensional intermediate result is obtained, then the result is processed through a ReLU activation function, the ReLU function sets a negative value part to be zero, and a positive value part is reserved, so that the 64-dimensional first-layer characteristic representation H1 is obtained. The 64-dimensional feature representation H1 is input to a second hidden layer, where it is also calculated by matrix multiplication w2h1+b2, where W2 is a weight matrix of 128x64 and b2 is a 128-dimensional bias vector. And obtaining a 128-dimensional intermediate result through calculation, and then processing through a ReLU activation function to generate a 128-dimensional second-layer characteristic representation H2. The 128-dimensional second layer feature representation H2 is input to the third hidden layer and again calculated by matrix multiplication w3h2+b3, where W3 is a weight matrix of 256x128 and b3 is a 256-dimensional bias vector. And obtaining a 256-dimensional intermediate result through calculation, and processing through a ReLU activation function to generate a 256-dimensional third-layer characteristic representation H3. In order to prevent overfitting, dropout processing is carried out on the third-layer characteristic representation H3, 50% of elements are randomly set to be zero, 256-dimensional noise reduction characteristic representation H3' is obtained, complexity of a neural network is effectively reduced, and generalization capability of a model is enhanced. The 256-dimensional noise reduction feature representation H3 'is input to the output layer and calculated by matrix multiplication W4H3' +b4, where W4 is a weight matrix of 10x256 and b4 is a 10-dimensional bias vector. And obtaining an initial laser energy distribution result through calculation. A Softmax function is applied to the initial laser energy distribution results to generate a probability distribution of the multi-stage energy distribution. The Softmax function converts the result into a probability distribution representing the corresponding energy distribution ratio for each phase. And generating multiple groups of candidate energy distribution schemes by using an inverse transformation sampling method according to the generated multi-stage energy distribution probability distribution, wherein each group of schemes comprises specific energy values of corresponding stages. The candidate schemes are further analyzed, wherein the safety evaluation and the calculation of the energy utilization efficiency are carried out on each group of candidate schemes, so that the selected schemes are safe and reliable, and the energy utilization efficiency can be maximized. And the scheme with the highest energy utilization efficiency is selected as a final multi-stage laser energy distribution scheme, so that the optimal distribution of laser energy is realized, and the maximization and safety of the treatment effect are ensured.
In the embodiment of the invention, the optical path, the laser tube and the cooling system of the carbon dioxide laser therapeutic instrument are subjected to finite element modeling to obtain a high-precision three-dimensional temperature field model, the continuous wave mode and the pulse mode are respectively subjected to deep analysis to obtain power fluctuation influence data under different working states, and the influence data of the continuous wave mode and the pulse mode are comprehensively processed to realize dual-mode feedforward control and solve the problem of power stability during switching among different working modes. The real-time laser output data is processed by utilizing the multi-local control calculation method, so that the feedback control parameters which are dynamically adjusted are obtained, and the resistance of the system to external interference is improved. The multi-layer neural network is adopted to analyze feedforward and feedback control parameters, so that intelligent distribution of laser energy is realized, and the energy utilization efficiency is optimized. By an online parameter adjustment mechanism, the self-adaptive optimization of control parameters is realized, and the adaptability of the system under different working conditions is enhanced. And the feedforward compensation and the nonlinear PID control are combined, so that the control accuracy and stability of the output power are obviously improved. And a safety evaluation mechanism is introduced in the energy distribution process, so that the safety and reliability of laser treatment are ensured. The control method has stronger flexibility through fuzzy rule mapping and multi-stage energy distribution.
In a specific embodiment, the process of executing step S100 may specifically include the following steps:
carrying out parameterized modeling on the geometric structure of the carbon dioxide laser therapeutic instrument to obtain a three-dimensional geometric model comprising a light path, a laser tube and a cooling system;
according to the three-dimensional geometric model, carrying out grid division on the internal space of the laser to obtain a finite element grid consisting of a plurality of grid units;
Distributing material thermophysical parameters to each grid unit to obtain a parameter matrix containing heat conductivity, specific heat capacity and density, and applying heat flow boundary conditions to the boundary of the finite element grid according to the working parameters of the laser and the parameters of a cooling system to obtain a heat conduction model;
Establishing a partial differential equation set of temperature change along with time for each grid unit in the heat conduction model, and performing time discretization according to the partial differential equation set to obtain temperature distribution data of each time step;
And calculating thermal stress and thermal deformation according to the temperature distribution data to obtain a stress-strain matrix of the laser structure change, and performing thermal-optical coupling analysis on the stress-strain matrix to generate a three-dimensional temperature field model.
Specifically, the geometric structure of the carbon dioxide laser therapeutic instrument is parameterized and modeled. The geometrical modeling is performed on each key part of the laser, such as a light path, a laser tube, a cooling system and the like, by using a parameterized design tool. The parameterized modeling has the advantage that various parameters in the model can be flexibly adjusted and optimized, so that the design can adapt to different requirements and conditions. For example, the length, diameter, and size of the fluid channels in the cooling system of the laser tube can be flexibly adjusted by parametric modeling. And meshing the internal space of the laser. By dividing the entire geometric model into a plurality of small grid cells, local details in the model can be better captured. Typically, critical areas of the laser, such as the laser tube inner wall, mirror areas in the optical path, etc., are more finely meshed to ensure that thermal effects and stresses in these areas can be accurately modeled. For example, in the area of the inner wall of the laser tube, a smaller mesh size is selected to capture small variations in heat transfer. After the grid division is completed, the thermophysical parameters of the material are distributed to each grid cell. These parameters include thermal conductivity (k), specific heat capacity (c) and density (ρ), and these parameter matrices reflect the response behavior of the material under different thermal environments. Thermal conductivity is a parameter describing the ability of a material to conduct heat, specific heat capacity is the amount of heat required to raise a unit temperature per unit mass of a material, and density is the ratio of the mass to the volume of the material. For example, for laser tube materials, quartz glass is selected, which has the characteristics of high thermal conductivity and low specific heat capacity, which is beneficial for rapid heat dissipation. The material of the cooling system may be copper metal, which has a high thermal conductivity capable of efficiently conducting heat to the cooling fluid. The boundary of the finite element mesh is subjected to a thermal flow boundary condition according to the operating parameters of the laser and parameters of the cooling system. The heat flow boundary conditions determine how heat is transferred across the different boundaries during operation of the laser. For example, on the inner wall of the laser tube, the heat generated by the laser will be transferred to the surrounding environment by thermal conduction, so that appropriate heat flow boundary conditions need to be applied in this region. Assuming that the heat flux density of the inner wall of the laser tube is q '', the heat flux boundary conditions are defined as follows:
Wherein T is temperature, n is direction perpendicular to boundary,The heat flux density at the boundary is expressed, and the formula describes the heat conduction amount in the normal direction. After the application of the heat flow boundary conditions is completed, a heat conduction model is constructed. The thermal conduction model describes the heat transfer process for each region inside the laser. In this model, a system of partial differential equations with temperature over time is built up for each grid cell to describe the distribution of heat over the different time nodes. This system of equations generally takes the form of a heat transfer equation:
where ρ is the density of the material, c is the specific heat capacity, T is the temperature, T is the time, k is the thermal conductivity, and Q is the internal heat source term. The equation describes how heat is transferred over different time nodes,And denotes a heat conduction term, and Q denotes a heat source term introduced due to laser irradiation or the like. And performing time discretization on the partial differential equation set, dividing a continuous time axis into a plurality of discrete time steps, and solving temperature distribution data on each time step by a numerical method. For example, the time derivative is discretized using an implicit differencing method, resulting in temperature distribution data at each time step. Thermal stress and thermal deformation are calculated from the temperature distribution data. In thermodynamic analysis, temperature changes typically cause stress and deformation of a material, which can be described by a stress-strain relationship assuming that the material has an elastic modulus E and a coefficient of thermal expansion α, then the thermal stress can be expressed as:
σ=E·α·ΔT;
Where σ is the thermal stress and Δt is the temperature change. The equation describes the magnitude of stress due to temperature changes. And constructing a stress-strain matrix according to the thermal stress data, and further simulating the deformation condition of the laser structure under the action of heat. The thermal-optical coupling analysis is performed on the stress-strain matrix, and the thermodynamic analysis and the optical performance analysis are combined to study how the temperature change affects the optical performance of the laser, such as the beam quality, the output power and the like. By analysis, a complete three-dimensional temperature field model is generated, the temperature distribution of the laser under different working conditions is described, and the influence of thermal stress and thermal deformation on the optical performance of the laser is reflected.
In a specific embodiment, the process of executing step S200 may specifically include the following steps:
Initializing the three-dimensional temperature field model to obtain initial temperature distribution in a continuous wave mode, and carrying out heat source loading calculation on the initial temperature distribution according to the working parameters of the continuous wave laser to obtain steady-state temperature distribution;
Performing Fourier transform on the steady-state temperature distribution to obtain the frequency spectrum characteristic of the temperature field, and performing modal decomposition on the temperature field according to the frequency spectrum characteristic to obtain a target temperature mode;
Performing sensitivity analysis on a target temperature mode to obtain a response function of temperature to power fluctuation, and simulating power fluctuation of different amplitudes and frequencies according to the response function to obtain dynamic temperature distribution;
Performing optical parameter mapping on the dynamic temperature distribution to obtain optical characteristic changes including the temperature of a gain medium and the parameters of a resonant cavity, and performing optical field calculation on the output of the laser according to the optical characteristic changes to obtain change data of output power, wavelength and beam quality;
And carrying out statistical analysis and spectrum analysis on the change data to obtain an amplitude spectrum and a phase spectrum of the power fluctuation, and comprehensively evaluating the influence of the power fluctuation according to the amplitude spectrum and the phase spectrum to obtain continuous wave power fluctuation influence data containing fluctuation sensitivity and stability threshold values.
Specifically, the three-dimensional temperature field model is initialized. The key to initializing the settings is to determine the initial conditions, including the initial temperature of the individual components and the setting of the ambient temperature. During operation of a continuous wave laser, the laser tube and other associated components gradually warm up, and thus the initial temperature distribution tends to be non-uniform, and it may generally be assumed that the laser is at ambient temperature prior to start-up, i.e., the global initial temperature is ambient, such as 20 ℃. According to the initial temperature distribution, heat source loading calculation is carried out on the initial temperature distribution by combining specific working parameters of the continuous wave laser, such as laser power, working frequency and running time, so as to simulate the temperature change process of the laser under continuous working. The core of the heat source loading calculation is to model the heat source distribution of the laser and solve the steady-state temperature distribution through a heat conduction equation. The heat conduction equation may describe the diffusion process of heat in a material, the equation:
Where ρ is the density of the material, c is the specific heat capacity, T is the temperature, T is the time, k is the thermal conductivity, and Q is the heat source term. The left term of the equation describes the temperature change over time, the first term on the right represents the diffusion of heat in space by conduction, and the second term is the direct heating contribution of the heat source to the system. In a continuous wave laser, the heat source term Q is typically generated by laser absorption, the distribution of which can be specifically modeled according to the optical design of the laser. And obtaining steady-state temperature distribution of the laser after a certain time by solving a partial differential equation, and displaying the temperature distribution condition of each part of the laser in a continuous working state. Fourier transforming the steady-state temperature profile to extract the spectral characteristics of the temperature field. Fourier transforms can transform the temperature distribution from the time domain to the frequency domain, revealing the dominant frequency components of the temperature change. The spectral characteristics of the temperature field are critical to understanding the thermal response of the laser at different frequencies and can help identify which frequency components contribute most to the temperature variation. Based on the spectral characteristics of the temperature field, the temperature field is subjected to modal decomposition, and the main modes in the temperature field, namely the modes with the greatest influence on the system behavior, are extracted. These modes can be considered as fundamental vibration modes in the temperature field, each mode corresponding to a typical form of temperature distribution. By modal decomposition, the complex temperature field is reduced to several main modes, thereby making it easier to analyze and understand the thermal behavior of the system. And carrying out sensitivity analysis on the target temperature mode, and determining the response condition of the temperature mode to the power fluctuation of the laser. The sensitivity of temperature to power fluctuations is quantified by a response function. Assuming that the fluctuation of the laser power is denoted as P (T) and the change of the temperature is denoted as T (T), the response function R (T) can be expressed as:
Here, δt (T) represents the temperature change amount, and δp (T) represents the power fluctuation amount. By this function the extent of the influence of different power fluctuations on the temperature field is quantified. Based on the response function, power fluctuation with different amplitudes and frequencies is simulated, and dynamic temperature distribution is obtained. The dynamic temperature profile shows how the laser temperature varies with power fluctuations during actual operation. Optical parameter mapping is performed. Temperature variations can directly affect the optical properties of the laser, such as the refractive index of the gain medium, the resonator length, etc. By mapping the dynamic temperature profile onto the optical parameters, variations in optical characteristics, including gain medium temperature and resonator parameters, are obtained. These optical characteristic variations will directly affect the output performance of the laser, such as output power, wavelength, and beam quality. The output of the laser is subjected to light field calculation. The propagation behavior of the laser in the cavity is simulated by an optical equation, and the changes of the output power, wavelength and beam quality of the laser are predicted. These calculations will reflect how temperature variations affect the output performance of the laser, especially the effect of power fluctuations on beam quality and wavelength stability under different operating conditions. Statistical analysis and spectral analysis are performed on the variation data of output power, wavelength and beam quality. Statistical analysis can help identify the characteristics of fluctuations in the laser output, while spectral analysis can reveal the dominant frequency components of these fluctuations. By analysis, an amplitude spectrum and a phase spectrum of the power fluctuation are obtained, and the spectrums describe the amplitude and phase change conditions of the power fluctuation at different frequencies. And comprehensively evaluating the influence of the power fluctuation according to the amplitude spectrum and the phase spectrum to obtain continuous wave power fluctuation influence data containing fluctuation sensitivity and stability threshold values.
In a specific embodiment, the process of executing step S300 may specifically include the following steps:
Performing time discretization on the three-dimensional temperature field model to obtain a high-time-resolution temperature field model suitable for a pulse mode, and loading a pulse heat source on the high-time-resolution temperature field model according to working parameters of a pulse laser to obtain transient temperature distribution of a single pulse period;
Performing fast Fourier transform on the transient temperature distribution to obtain time-frequency characteristics of a temperature field, and performing principal component analysis on the temperature field according to the time-frequency characteristics to obtain a target temperature change mode in a pulse mode;
Performing thermal-optical coupling analysis on the target temperature change mode to obtain an influence function of temperature on pulse energy, peak power and pulse width, and simulating different pulse parameters according to the influence function to obtain a temperature accumulation effect of a pulse sequence;
Performing nonlinear fitting on the temperature accumulation effect to obtain a mathematical model of heat accumulation among pulses, and performing pulse train simulation on laser output according to the mathematical model to obtain pulse energy stability and pulse shape change data;
And carrying out wavelet transformation on the pulse energy stability and pulse shape change data to obtain a multi-scale fluctuation characteristic, and comprehensively evaluating the pulse power fluctuation influence according to the multi-scale fluctuation characteristic to obtain pulse power fluctuation influence data containing a pulse stability index and a heat accumulation threshold value.
In particular, in the pulse mode, the laser emits high energy laser pulses at extremely short time intervals, resulting in transient temperature changes in the laser tube and surrounding medium. Such transient temperature variations have a significant impact on the thermal management and stability of the laser. In order to capture these rapidly changing temperature characteristics, a time discretization process is performed on the three-dimensional temperature field model, enabling it to simulate the operation of a pulsed laser with sufficiently high time resolution. The core of the time discretization process is to divide the continuous time domain into a plurality of discrete time steps. At each time step, the change in the temperature field is solved. This process is typically implemented using explicit or implicit numerical methods. For pulsed lasers, explicit methods are generally better able to capture rapid temperature changes due to their transient nature. Assuming a time step of Δt, at each time step the evolution of the temperature field can be described by a thermal conduction equation:
Wherein Tn is the temperature distribution at time step n, Tn+1 is the temperature distribution at time step n+1, deltat is the time step, k is the thermal conductivity of the material, ρ is the density, c is the specific heat capacity, and Qn is the heat source term at time step n. By this formula, the temperature distribution is updated stepwise at each time step, resulting in a high time resolution temperature field model suitable for the pulse mode. And loading a pulse heat source to the high-time-resolution temperature field model according to the working parameters of the pulse laser, and simulating transient heat effect generated by each laser pulse in the material. Pulsed lasers typically release a large amount of energy in a very short time, resulting in a rapid rise in local temperature. The heat source term Qn may be defined in terms of specific parameters of the pulsed laser (e.g., pulse energy, pulse width, repetition rate, etc.). For example, a pulsed heat source term may be expressed as a heat source profile with a pulse function over time:
Q(t)=Q0·δ(t-t0);
Where Q0 is the pulse peak heat source intensity and delta (t-t0) is the time pulse function of the pulse at time t0. The transient temperature profile in each pulse period is obtained by this loading process. The transient temperature profile is subjected to a fast fourier transform to analyze the time-frequency characteristics of the temperature field. The fourier transform is able to transform the temperature distribution from the time domain to the frequency domain, revealing the main frequency components of the temperature variation. For example, the fourier transform may help identify which frequency components contribute most to temperature fluctuations, thereby guiding the design and optimization of the laser. And carrying out principal component analysis on the temperature field according to the time-frequency characteristic, and extracting a target temperature change mode under a pulse mode. Principal component analysis is a dimension reduction technique that extracts principal features by identifying the direction in the data where the variance is greatest. In the pulse mode, the target temperature variation pattern represents the temperature distribution pattern that has the greatest influence on the thermal behavior of the system. And (3) carrying out thermal-optical coupling analysis on the target temperature change mode, and researching how the temperature change influences the optical performance of the laser. The change in temperature affects the refractive index inside the laser, the excited state of the gain medium, the length of the resonant cavity, and the like, thereby changing the output characteristics of the laser. The influence function of the temperature on the pulse energy, peak power and pulse width is obtained through the thermo-optical coupling analysis. Assuming that the pulse peak power change due to temperature change Δt is Δp, the influence function can be expressed as:
ΔP=f(ΔT);
Where f (Δt) is a function of the influence of temperature variation on pulse power, describing how temperature fluctuations affect the output power of the laser. Based on the influence function, different pulse parameters are simulated, and the temperature accumulation effect of the pulse sequence is obtained. The temperature accumulation effect describes how the temperature in the material gradually increases under the influence of multiple laser pulses and has an effect on the thermal effects of subsequent pulses. The cumulative effect is particularly important in high repetition rate pulsed lasers, as the accumulation of temperature between pulses can lead to degradation or instability of the laser's performance. And performing nonlinear fitting on the temperature accumulation effect to obtain a mathematical model of heat accumulation between pulses. The mathematical model can be used to predict the magnitude and cumulative speed of the temperature rise of the laser under certain operating conditions. For example, assuming that the cumulative effect can be described by an exponential function, the model can be expressed as:
Tacc(t)=T0+A·(1-e-βt);
Where Tacc (T) is the cumulative temperature, T0 is the initial temperature, A is the temperature rise, and β is the cumulative rate constant. The model predicts the temperature trend of the laser under long-time operation, thereby guiding the design of the cooling and thermal management system. Based on a mathematical model of the cumulative effect, pulse train simulation is performed on the laser output to obtain data of pulse energy stability and pulse shape variation. The simulation data can reflect the output characteristic change of the laser under different pulse conditions, and is a key basis for optimizing the design and the operation conditions of the laser. The pulse energy stability and pulse shape change data are wavelet transformed. Wavelet transformation can capture varying characteristics of the signal at different time scales, helping to identify multi-scale fluctuation characteristics of the pulse power fluctuations. By analyzing these characteristics, the influence of pulse power fluctuation on the laser performance is evaluated, and pulse power fluctuation influence data containing a pulse stability index and a heat accumulation threshold value is obtained.
In a specific embodiment, the process of executing step S400 may specifically include the following steps:
carrying out data fusion on continuous wave power fluctuation influence data and pulse power fluctuation influence data to obtain a power fluctuation feature matrix, and carrying out cluster analysis on a continuous wave mode and a pulse mode according to the power fluctuation feature matrix to obtain a mode feature boundary;
Carrying out fuzzy processing on the mode characteristic boundary to obtain a transition section of a continuous wave mode and a pulse mode, and constructing a dual-mode switching function according to the transition section to obtain a smooth transition strategy of mode switching;
Modeling a state space of the smooth transition strategy to obtain a state equation of the dual-mode system, and designing a linear quadratic regulator according to the state equation to obtain an optimal control law;
discretizing the optimal control law to obtain a differential equation of digital control, and constructing a feedforward compensator according to the differential equation to obtain a compensation quantity calculation function of temperature and power;
and carrying out self-adaptive adjustment on the compensation quantity calculation function to obtain a compensator, and optimizing the control parameters according to the compensator to obtain feedforward control parameters comprising a gain matrix and compensation coefficients.
Specifically, data fusion is carried out on continuous wave power fluctuation influence data and pulse power fluctuation influence data, and a power fluctuation feature matrix is obtained. The continuous wave mode and the pulse mode show different fluctuation characteristics in a time domain and a frequency domain, and data of the two modes are subjected to standardized processing, so that differences of different characteristics in numerical magnitude are eliminated, and different characteristics can have the same weight during fusion. Assuming that the power fluctuation of the continuous wave mode is characterized by Xcw and the power fluctuation of the pulse mode is characterized by Xpulse, the data fusion can be expressed as a form of a feature matrix X:
X=[Xcw|Xpulse];
Where X is a matrix containing all the power fluctuation features, each column representing a different feature, and each row representing a different observation point. In this way, the characteristics of the continuous wave mode and the pulse mode are combined to form a complete power fluctuation characteristic matrix. And carrying out cluster analysis on the continuous wave mode and the pulse mode, and classifying the continuous wave mode and the pulse mode into two types according to data in a feature matrix, wherein one type represents the features of the continuous wave mode, and the other type represents the features of the pulse mode. Feature boundaries in each mode are identified by a clustering algorithm such as K-means, which describe the feature differences between the two modes. For example, in the K-means cluster, the number of cluster centers is set to 2, and the data is divided to obtain feature boundaries of two modes. And (3) carrying out fuzzy processing on the mode characteristic boundary, and solving the transition problem of mode conversion in actual operation. And blurring the characteristic boundary to generate a transition interval between the continuous wave mode and the pulse mode. The interval may be represented as a fuzzy set describing the situation where the laser may exhibit both modes of characteristics at the same time under different operating conditions. Based on the fuzzy transition interval, a dual-mode switching function is constructed, so that smooth transition of the laser can be realized when the laser is switched from one mode to another mode. Assuming that the switching function is σ (t), its form can be represented by the Sigmoid function:
Where α is a parameter for adjusting the transition smoothness, and t0 is the switching time. In this way, σ (t) exhibits smooth transition characteristics before and after mode switching, avoiding abrupt changes in the laser during mode switching. And carrying out state space modeling on a smooth transition strategy of mode switching, and describing dynamic behaviors of the laser in different modes. Assuming that the system state vector is x (t), the control input is u (t), and the state equation can be expressed as:
Wherein A is a system matrix and B is a control matrix. The state equation describes the dynamic evolution of the system in continuous wave mode and pulse mode. Based on the state equation, a Linear Quadratic Regulator (LQR) is designed to find the optimal control law of the system. The goal of LQR is to optimize system performance by minimizing a quadratic performance index. The performance index may be expressed as:
wherein Q is a state weighting matrix, and R is a control weighting matrix. By solving the optimization problem, an optimal control law u (t) = -Kx (t), where K is the feedback gain matrix, is obtained. In order to enable the application of the optimal control law in a digital control system, discretization processing is carried out on the optimal control law, and the control law of continuous time is converted into a control strategy which can be executed on discrete time steps. Converting the continuous-time state equation into a differential equation by a differential method:
x[k+1]=Adx[k]+Bdu[k];
wherein, Ad and Bd are discretized system matrices. Based on the differential equation, a feed forward compensator is constructed for calculating the temperature and power compensation amounts of the system at each time step. The compensation amount calculation function can be expressed as:
u[k]=u0[k]+Fe[k];
Wherein u0 k is feedforward control quantity, e k is error vector, and F is compensation matrix. And carrying out self-adaptive adjustment on the compensation quantity calculation function to generate a self-adaptive compensator, so that the compensator can dynamically adjust the compensation coefficient according to the actual running condition, and the robustness and the adaptability of the system are improved. For example, when the working environment of the system changes, the compensator can automatically adjust the gain matrix and the compensation coefficient, so that the system can still maintain a stable and efficient working state. And (3) obtaining feedforward control parameters comprising a gain matrix and compensation coefficients through adjustment and optimization of the compensator. These control parameters ensure optimal performance of the laser in various modes of operation, avoid negative effects of power fluctuations on the output, and ensure smooth operation of the system upon mode switching.
In a specific embodiment, the process of performing step S500 may specifically include the following steps:
carrying out sliding window segmentation on real-time laser output data of a carbon dioxide laser therapeutic instrument to obtain a plurality of local time sequences, and carrying out fast Fourier transform on the plurality of local time sequences to obtain local frequency spectrum characteristics;
According to the local spectrum characteristics, performing self-adaptive filtering on each local to obtain denoised local output data, and performing nonlinear system identification on the denoised local output data to obtain a local dynamic model;
According to the local dynamic model, designing a plurality of local PID controllers to obtain a local PID parameter set, and carrying out fuzzy rule mapping on the local PID parameter set to obtain a global PID parameter adjustment strategy;
According to a global PID parameter adjustment strategy, a nonlinear PID control model is constructed, and stability analysis is carried out on the nonlinear PID control model to obtain Lyapunov stability conditions;
And generating an online parameter adjustment mechanism according to the Lyapunov stability condition, and performing numerical discretization on the online parameter adjustment mechanism to obtain a feedback control parameter comprising a gain matrix, an integration time and a differentiation time.
In particular, the continuous laser output signal is divided into a plurality of local time series having a certain time length. The sliding window segmentation generates a plurality of local time sequences by setting a fixed length time window and sliding the window across the entire signal sequence, progressively intercepting a local segment of the signal. Assuming that the original laser output signal is x (t), the sliding window length is L, and the sliding step is Δ, then the i-th local time series can be expressed as:
xi(t)=x(t+iΔ),t∈[0,L];
In this way, a plurality of local time series are generated over the entire time series, which local time series may reflect characteristic variations of the laser output signal at different time periods. And performing fast Fourier transform on the local time sequence to extract local spectrum characteristics. The fast fourier transform can transform a time domain signal into a frequency domain signal, revealing the distribution of the signal over different frequency components. For each local time series, a fast fourier transform is applied to obtain a spectral representation thereof:
Wherein Xi (f) represents the spectrum of the i-th local time series, f is the frequency, and L is the length of the time series. A set of local spectral features is obtained by Fourier transforming each local time series, reflecting the frequency distribution of the laser output signal over different time periods. And according to the local frequency spectrum characteristics, carrying out self-adaptive filtering on each local time sequence, removing noise components in the signal, and simultaneously preserving useful frequency information. The filter coefficient of the adaptive filter can be dynamically adjusted according to the characteristics of the input signal so as to achieve the optimal denoising effect. Assuming that the input signal of the filter is Xi (f), the output of the filter is Yi (f), and the adaptive coefficient of the filter is αi (f), the filtered signal can be expressed as:
Yi(f)=αi(f)Xi(f);
Wherein, alphai (f) is adjusted according to the local characteristics of the signal, so as to ensure the optimization of the denoising effect. In this way, denoised local output data is obtained. And carrying out nonlinear system identification on the denoised local output data to construct a local dynamic model. By analyzing the input and output data, a mathematical model is built that describes the dynamic behavior of the system. Assuming the local output signal is yi (t) and the input signal is ui (t), the local dynamic model can be expressed as a nonlinear equation:
yi(t)=f(ui(t),yi(t-1),...,yi(t-n));
Where f is a nonlinear function and n is the memory length of the system. And identifying the local data in different time periods to obtain a plurality of local dynamic models, and reflecting the dynamic characteristics of the laser output in different time periods. Based on the local dynamic model, a plurality of local PID controllers are designed. The PID controller is the most commonly used feedback controller in industrial control, and is characterized in that the accurate control of the system is realized by adjusting three parameters of proportion (P), integral (I) and derivative (D). Assuming that the control output of the ith local dynamic model is ui (t), the control error is ei(t)=ri(t)-yi (t), where ri (t) is the reference signal, the output of the local PID controller can be expressed as:
Where Kp,i、Ki,i and Kd,i are proportional, integral and differential gains, respectively. By adjusting these gain parameters, the control effect is optimized. In order to realize unified control in the global scope, fuzzy rule mapping is carried out on the local PID parameter set. Fuzzy control is a control strategy based on fuzzy logic, and effective control is realized under the condition of larger uncertainty by defining fuzzy rules. The core of the fuzzy rule mapping is to convert the local PID parameters into a global PID parameter adjustment strategy through fuzzy logic. For example, the performance index of the local controller, such as steady state error and response time, is mapped into fuzzy variables, and then a global control strategy is obtained through fuzzy reasoning. And constructing a nonlinear PID control model according to the global PID parameter adjustment strategy, so that the control strategy can adapt to nonlinear behaviors of the system. Assuming that the nonlinear behavior of the system can be described by a state equation, the nonlinear PID control model can be expressed as:
Where x (t) is a system state vector and A and B are state-dependent nonlinear matrices. Stability of the nonlinear PID control model needs to be verified by Lyapunov stability conditions. The Lyapunov stability condition is an important tool for judging the stability of a nonlinear system. By constructing a Lyapunov function V (x), the system can be proven to be progressively stable if it can be proven to be positive in the global context of the system and its time derivative is semi-negative. Suppose the Lyapunov function is:
V(x)=xTpx;
Wherein, P is positive definite matrix, the stability condition is thatAfter the Lyapunov stability of the system is confirmed, an online parameter adjustment mechanism is generated. And adjusting parameters of the PID controller in real time according to actual running conditions so as to cope with the change of the dynamic characteristics and external interference of the system. In order to enable online adjustment to be realized in a digital control system, the online adjustment is subjected to numerical discretization processing to obtain feedback control parameters comprising a gain matrix, an integration time and a differentiation time.
In a specific embodiment, the process of executing step S600 may specifically include the following steps:
splicing the feedforward control parameters and the feedback control parameters to obtain a 30-dimensional input vector X containing a gain matrix, a compensation coefficient and PID parameters;
Inputting an input vector X into a first hidden layer, calculating by matrix multiplication W1X+b1, wherein W1 is a weight matrix of 64X30, b1 is a 64-dimensional offset vector, obtaining a 64-dimensional intermediate result, and then processing by a ReLU activation function max (0, X), obtaining a 64-dimensional first layer characteristic representation H1;
Inputting the first layer characteristic representation H1 into a second hidden layer, calculating by matrix multiplication W2H21+b2, wherein W2 is a weight matrix of 128x64, b2 is a 128-dimensional offset vector, obtaining a 128-dimensional intermediate result, and obtaining the 128-dimensional second layer characteristic representation H2 by ReLU activation function processing;
Inputting the second layer characteristic representation H2 into a third hidden layer, calculating by matrix multiplication W3H2+b3, wherein W3 is a weight matrix of 256x128, b3 is a 256-dimensional offset vector, obtaining a 256-dimensional intermediate result, and obtaining the 256-dimensional third layer characteristic representation H3 by ReLU activation function processing;
carrying out dropout processing on the third-layer characteristic representation H3, and randomly setting 50% of elements to 0 to obtain 256-dimensional noise reduction characteristic representation H3';
The noise reduction feature is expressed in an H3 'input and output layer, and is calculated through matrix multiplication W4H3' +b4, wherein W4 is a weight matrix of 10x256, and b4 is a 10-dimensional offset vector, so that an initial laser energy distribution result is obtained;
Applying a Softmax function to an initial laser energy distribution result to obtain multi-stage energy distribution probability distribution, and generating a plurality of groups of candidate energy distribution schemes by using an inverse transformation sampling method according to the multi-stage energy distribution probability distribution, wherein each group of schemes comprises energy values of corresponding stages;
and carrying out safety evaluation and energy utilization efficiency calculation on the multiple groups of candidate energy distribution schemes, and selecting the scheme with the highest energy utilization efficiency as a multi-stage laser energy distribution scheme.
Specifically, the feedforward control parameters typically include response time, target output, etc. of the system for predicting the behavior of the system, and the feedback control parameters include error information, actual output, and gain of the PID controller. These parameters need to be arranged in a certain order and converted into the same numerical range by a data preprocessing method, such as normalization or normalization. Assuming that the feedforward control parameter vector is f and the feedback control parameter vector is b, the 30-dimensional input vector X after splicing can be expressed as:
X=[f|b];
Wherein X includes information about all control parameters. The input vector X is input into a first hidden layer of the neural network. The first hidden layer obtains a 64-dimensional intermediate result through matrix multiplication and addition calculation. The input vector X is multiplied by the weight matrix W1 and added with the bias vector b1, and the calculation formula is:
Z1=W1X+b1;
Where W1 is a 64x30 weight matrix representing the connection strength between each input dimension and each hidden layer neuron, and b1 is a 64-dimensional bias vector providing translational adjustment for each neuron. The calculated Z1 is a 64-dimensional intermediate result, each element of which represents a weighted sum of the input vector and the corresponding weight. To introduce nonlinearity, a ReLU activation function is applied to Z1, and the ReLU is calculated as:
H1=ReLU(Z1)=max(0,Z1);
The ReLU function truncates all negative values to 0, leaving positive values unchanged, generating a 64-dimensional first-layer feature representation H1. Nonlinear processing can help the network learn more complex patterns and features. The first layer feature representation H1 is input into the second hidden layer and the calculation process is similar to the first layer. The 128-dimensional intermediate result is obtained through matrix multiplication and addition calculation:
Z2=W2H1+b2;
Where W2 is a 128x64 weight matrix and b2 is a 128-dimensional bias vector. Re-applying the ReLU activation function to Z2 results in a 128-dimensional second-layer feature representation H2. This process progressively extracts deep features in the input vector X, enabling the neural network to capture more complex patterns and relationships. The second layer feature representation H2 is input to the third hidden layer, and a 256-dimensional intermediate result Z3 is obtained through a similar calculation step:
Z3=W3H2+b3;
Where W3 is a weight matrix of 256x128 and b3 is a 256-dimensional bias vector. After applying the ReLU activation function to Z3, a 256-dimensional third tier feature representation H3 is generated. To prevent overfitting of the neural network, a dropout process is performed on the third layer feature representation H3. In the dropout process, 50% of the elements are randomly set to 0, which means that only half of the features will be activated in each training, thus reducing the excessive dependence of the model on the particular features. The noise reduction process helps to improve the generalization ability of the model, resulting in a 256-dimensional noise reduction feature representation H'3. The denoised characteristic representation H'3 is input into the output layer. The calculation of the output layer is similar to the previous layers, and the initial laser energy distribution result is obtained through matrix multiplication and addition:
Z4=W4H′3+b4;
wherein W4 is a weight matrix of 10x256, and b4 is a bias vector of 10 dimensions. At this time, Z4 represents initial values of 10 different energy allocation schemes. To convert the initial values into probability distributions, a Softmax function is next applied. The Softmax function can convert any real vector into a probability vector so that the sum of components is 1, and the specific calculation formula is:
Where Zi is the ith element in Z4, softmax (Zi) represents the probability of the ith energy allocation scheme. The Softmax function yields a probability distribution of the multi-stage energy distribution, which represents the probability of selection among the different energy distribution schemes. Based on the probability distribution, a plurality of sets of candidate energy allocation schemes are generated using an inverse transform sampling method. The inverse transform sampling method is an effective method for generating random samples from a given probability distribution, specifically, the method comprises the steps of generating a uniformly distributed random number, and then finding a corresponding distribution scheme according to a Cumulative Distribution Function (CDF). Each set of candidates contains energy values for the corresponding phase, representing the energy allocation that may be selected in actual operation. After multiple sets of candidate energy allocation schemes are generated, the schemes are subjected to security assessment and energy utilization efficiency calculation. Safety assessment ensures that each candidate does not produce unsafe laser outputs in clinical applications, while energy utilization efficiency calculations measure the efficiency of each regimen under given conditions. By comparing these schemes, the scheme with the highest energy utilization efficiency is selected as the final multi-stage laser energy distribution scheme.
Referring to fig. 2, fig. 2 is a schematic block diagram of an output power control system 200 of a carbon dioxide laser therapeutic apparatus according to an embodiment of the application, and as shown in fig. 2, the output power control system 200 of the carbon dioxide laser therapeutic apparatus includes:
The modeling module 210 is configured to perform finite element modeling on a light path, a laser tube and a cooling system of the carbon dioxide laser therapeutic apparatus to obtain a three-dimensional temperature field model;
the first mode analysis module 220 is configured to perform continuous wave mode analysis on the three-dimensional temperature field model to obtain continuous wave power fluctuation influence data;
The second mode analysis module 230 is configured to perform pulse mode analysis on the three-dimensional temperature field model to obtain pulse power fluctuation influence data;
The feedforward control module 240 is configured to perform comprehensive processing and dual-mode feedforward control analysis on the continuous wave power fluctuation influence data and the pulse power fluctuation influence data to obtain feedforward control parameters;
The calculation module 250 is used for performing multi-local control calculation on the real-time laser output data of the carbon dioxide laser therapeutic apparatus to obtain feedback control parameters;
The allocation module 260 is configured to perform multi-layer neural network analysis and laser energy allocation on the feedforward control parameter and the feedback control parameter to obtain a multi-stage laser energy allocation scheme.
Through the cooperative cooperation of the components, a high-precision three-dimensional temperature field model is obtained by carrying out finite element modeling on a light path, a laser tube and a cooling system of the carbon dioxide laser therapeutic instrument, continuous wave modes and pulse modes are respectively subjected to deep analysis, power fluctuation influence data under different working states are obtained, and the influence data of the continuous wave modes and the pulse modes are comprehensively processed, so that dual-mode feedforward control is realized, and the problem of power stability during switching among different working modes is solved. The real-time laser output data is processed by utilizing the multi-local control calculation method, so that the feedback control parameters which are dynamically adjusted are obtained, and the resistance of the system to external interference is improved. The multi-layer neural network is adopted to analyze feedforward and feedback control parameters, so that intelligent distribution of laser energy is realized, and the energy utilization efficiency is optimized. By an online parameter adjustment mechanism, the self-adaptive optimization of control parameters is realized, and the adaptability of the system under different working conditions is enhanced. And the feedforward compensation and the nonlinear PID control are combined, so that the control accuracy and stability of the output power are obviously improved. And a safety evaluation mechanism is introduced in the energy distribution process, so that the safety and reliability of laser treatment are ensured. The control method has stronger flexibility through fuzzy rule mapping and multi-stage energy distribution.
The application also provides an output power control device of the carbon dioxide laser therapeutic apparatus, which comprises a memory and a processor, wherein the memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, cause the processor to execute the steps of the output power control method of the carbon dioxide laser therapeutic apparatus in the above embodiments.
The present application also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, and may also be a volatile computer readable storage medium, where instructions are stored in the computer readable storage medium, when the instructions are executed on a computer, cause the computer to perform the steps of the output power control method of the carbon dioxide laser therapeutic apparatus.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, systems and units may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. The storage medium includes a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
While the application has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that the foregoing embodiments may be modified or equivalents may be substituted for some of the features thereof, and that the modifications or substitutions do not depart from the spirit and scope of the embodiments of the application.

Claims (8)

Translated fromChinese
1.一种二氧化碳激光治疗仪的输出功率控制方法,其特征在于,包括:1. A method for controlling the output power of a carbon dioxide laser therapeutic apparatus, comprising:对二氧化碳激光治疗仪的光路、激光管和冷却系统进行有限元建模,得到三维温度场模型;Finite element modeling was performed on the optical path, laser tube and cooling system of the carbon dioxide laser therapy device to obtain a three-dimensional temperature field model;对所述三维温度场模型进行连续波模式分析,得到连续波功率波动影响数据;Performing continuous wave mode analysis on the three-dimensional temperature field model to obtain continuous wave power fluctuation impact data;对所述三维温度场模型进行脉冲模式分析,得到脉冲功率波动影响数据;Performing pulse mode analysis on the three-dimensional temperature field model to obtain pulse power fluctuation impact data;对所述连续波功率波动影响数据和所述脉冲功率波动影响数据进行综合处理和双模式前馈控制分析,得到前馈控制参数;Comprehensively processing the continuous wave power fluctuation influence data and the pulse power fluctuation influence data and performing dual-mode feedforward control analysis to obtain feedforward control parameters;对所述二氧化碳激光治疗仪的实时激光输出数据进行多局部控制计算,得到反馈控制参数;Performing multi-local control calculations on the real-time laser output data of the carbon dioxide laser therapeutic apparatus to obtain feedback control parameters;对所述前馈控制参数和所述反馈控制参数进行多层神经网络分析和激光能量分配,得到多阶段激光能量分配方案。Multi-layer neural network analysis and laser energy distribution are performed on the feedforward control parameters and the feedback control parameters to obtain a multi-stage laser energy distribution scheme.2.根据权利要求1所述的二氧化碳激光治疗仪的输出功率控制方法,其特征在于,所述对二氧化碳激光治疗仪的光路、激光管和冷却系统进行有限元建模,得到三维温度场模型,包括:2. The output power control method of the carbon dioxide laser therapeutic apparatus according to claim 1, characterized in that the finite element modeling of the optical path, laser tube and cooling system of the carbon dioxide laser therapeutic apparatus is performed to obtain a three-dimensional temperature field model, including:对二氧化碳激光治疗仪的几何结构进行参数化建模,得到包含光路、激光管和冷却系统的三维几何模型;The geometric structure of the carbon dioxide laser therapy device was parametrically modeled to obtain a three-dimensional geometric model including the optical path, laser tube and cooling system;根据所述三维几何模型对激光器内部空间进行网格划分,得到由多个网格单元组成的有限元网格;Meshing the internal space of the laser according to the three-dimensional geometric model to obtain a finite element mesh composed of a plurality of mesh units;对每个网格单元分配材料热物性参数,得到包含热导率、比热容和密度的参数矩阵,并根据激光器工作参数和冷却系统参数,对有限元网格边界施加热流边界条件,得到热传导模型;Assign material thermophysical property parameters to each grid unit to obtain a parameter matrix including thermal conductivity, specific heat capacity and density. According to the laser operating parameters and cooling system parameters, apply heat flow boundary conditions to the finite element grid boundary to obtain a heat conduction model.对所述热传导模型中的每个网格单元建立温度随时间变化的偏微分方程组,并根据所述偏微分方程组进行时间离散化,得到每个时间步长的温度分布数据;Establishing a partial differential equation group of temperature variation with time for each grid unit in the heat conduction model, and performing time discretization according to the partial differential equation group to obtain temperature distribution data for each time step;根据所述温度分布数据计算热应力和热变形,得到激光器结构变化的应力-应变矩阵,并对所述应力-应变矩阵进行热-光耦合分析,生成三维温度场模型。Thermal stress and thermal deformation are calculated according to the temperature distribution data to obtain a stress-strain matrix of laser structure change, and a thermal-optical coupling analysis is performed on the stress-strain matrix to generate a three-dimensional temperature field model.3.根据权利要求1所述的二氧化碳激光治疗仪的输出功率控制方法,其特征在于,所述对所述三维温度场模型进行连续波模式分析,得到连续波功率波动影响数据,包括:3. The output power control method of the carbon dioxide laser therapeutic apparatus according to claim 1, characterized in that the continuous wave mode analysis of the three-dimensional temperature field model to obtain continuous wave power fluctuation influence data comprises:对所述三维温度场模型进行初始化设置,得到连续波模式下的初始温度分布,并根据连续波激光器的工作参数,对所述初始温度分布进行热源加载计算,得到稳态温度分布;Initializing the three-dimensional temperature field model to obtain an initial temperature distribution in a continuous wave mode, and performing a heat source loading calculation on the initial temperature distribution according to the working parameters of the continuous wave laser to obtain a steady-state temperature distribution;对所述稳态温度分布进行傅里叶变换,得到温度场的频谱特性,并根据所述频谱特性,对温度场进行模态分解,得到目标温度模态;Performing Fourier transformation on the steady-state temperature distribution to obtain the frequency spectrum characteristics of the temperature field, and performing modal decomposition on the temperature field according to the frequency spectrum characteristics to obtain the target temperature mode;对所述目标温度模态进行灵敏度分析,得到温度对功率波动的响应函数,并根据所述响应函数,对不同幅度和频率的功率波动进行模拟,得到动态温度分布;Performing sensitivity analysis on the target temperature mode to obtain a response function of temperature to power fluctuation, and simulating power fluctuations of different amplitudes and frequencies based on the response function to obtain a dynamic temperature distribution;对所述动态温度分布进行光学参数映射,得到包括增益介质温度和谐振腔参数在内的光学特性变化,并根据所述光学特性变化,对激光器输出进行光场计算,得到输出功率、波长和光束质量的变化数据;Performing optical parameter mapping on the dynamic temperature distribution to obtain optical property changes including gain medium temperature and resonant cavity parameters, and performing optical field calculation on the laser output according to the optical property changes to obtain output power, wavelength and beam quality change data;对所述变化数据进行统计分析和频谱分析,得到功率波动的幅度谱和相位谱,并根据所述幅度谱和相位谱,对功率波动影响进行综合评估,得到包含波动敏感度和稳定性阈值的连续波功率波动影响数据。Statistical analysis and spectrum analysis are performed on the change data to obtain the amplitude spectrum and phase spectrum of the power fluctuation, and based on the amplitude spectrum and phase spectrum, a comprehensive evaluation is performed on the power fluctuation impact to obtain continuous wave power fluctuation impact data including fluctuation sensitivity and stability threshold.4.根据权利要求1所述的二氧化碳激光治疗仪的输出功率控制方法,其特征在于,所述对所述三维温度场模型进行脉冲模式分析,得到脉冲功率波动影响数据,包括:4. The output power control method of the carbon dioxide laser therapeutic apparatus according to claim 1, characterized in that the pulse mode analysis of the three-dimensional temperature field model to obtain pulse power fluctuation influence data comprises:对所述三维温度场模型进行时间离散化处理,得到适用于脉冲模式的高时间分辨率温度场模型,并根据脉冲激光器的工作参数,对所述高时间分辨率温度场模型进行脉冲热源加载,得到单脉冲周期的瞬态温度分布;Performing time discretization processing on the three-dimensional temperature field model to obtain a high time resolution temperature field model suitable for the pulse mode, and performing pulse heat source loading on the high time resolution temperature field model according to the working parameters of the pulsed laser to obtain the transient temperature distribution of a single pulse period;对所述瞬态温度分布进行快速傅里叶变换,得到温度场的时频特性,并根据所述时频特性,对温度场进行主成分分析,得到脉冲模式下的目标温度变化模式;Performing a fast Fourier transform on the transient temperature distribution to obtain the time-frequency characteristics of the temperature field, and performing a principal component analysis on the temperature field based on the time-frequency characteristics to obtain a target temperature change pattern under a pulse mode;对所述目标温度变化模式进行热-光耦合分析,得到温度对脉冲能量、峰值功率和脉冲宽度的影响函数,并根据所述影响函数,对不同脉冲参数进行模拟,得到脉冲序列的温度累积效应;Performing a thermal-optical coupling analysis on the target temperature variation pattern to obtain an influence function of temperature on pulse energy, peak power and pulse width, and simulating different pulse parameters based on the influence function to obtain a temperature accumulation effect of a pulse sequence;对所述温度累积效应进行非线性拟合,得到脉冲间热累积的数学模型,并根据所述数学模型,对激光器输出进行脉冲串仿真,得到脉冲能量稳定性和脉冲形状变化数据;Performing nonlinear fitting on the temperature accumulation effect to obtain a mathematical model of inter-pulse heat accumulation, and performing pulse train simulation on the laser output based on the mathematical model to obtain pulse energy stability and pulse shape change data;对所述脉冲能量稳定性和脉冲形状变化数据进行小波变换,得到多尺度波动特征,并根据所述多尺度波动特征,对脉冲功率波动影响进行综合评估,得到包含脉冲稳定性指标和热累积阈值的脉冲功率波动影响数据。The pulse energy stability and pulse shape change data are subjected to wavelet transformation to obtain multi-scale fluctuation characteristics, and based on the multi-scale fluctuation characteristics, the pulse power fluctuation influence is comprehensively evaluated to obtain pulse power fluctuation influence data including pulse stability index and heat accumulation threshold.5.根据权利要求1所述的二氧化碳激光治疗仪的输出功率控制方法,其特征在于,所述对所述连续波功率波动影响数据和所述脉冲功率波动影响数据进行综合处理和双模式前馈控制分析,得到前馈控制参数,包括:5. The output power control method of the carbon dioxide laser therapeutic apparatus according to claim 1, characterized in that the continuous wave power fluctuation influence data and the pulse power fluctuation influence data are subjected to comprehensive processing and dual-mode feedforward control analysis to obtain feedforward control parameters, including:对所述连续波功率波动影响数据和所述脉冲功率波动影响数据进行数据融合,得到功率波动特征矩阵,并根据所述功率波动特征矩阵,对连续波模式和脉冲模式进行聚类分析,得到模式特征边界;Performing data fusion on the continuous wave power fluctuation influence data and the pulse power fluctuation influence data to obtain a power fluctuation feature matrix, and performing cluster analysis on the continuous wave mode and the pulse mode according to the power fluctuation feature matrix to obtain a mode feature boundary;对所述模式特征边界进行模糊处理,得到连续波模式和脉冲模式的过渡区间,并根据所述过渡区间,构建双模式切换函数,得到模式切换的平滑过渡策略;Performing fuzzy processing on the mode feature boundary to obtain a transition interval between a continuous wave mode and a pulse mode, and constructing a dual-mode switching function based on the transition interval to obtain a smooth transition strategy for mode switching;对所述平滑过渡策略进行状态空间建模,得到双模式系统的状态方程,并根据所述状态方程,设计线性二次型调节器,得到最优控制律;Performing state space modeling on the smooth transition strategy to obtain a state equation of the dual-mode system, and designing a linear quadratic regulator based on the state equation to obtain an optimal control law;对所述最优控制律进行离散化处理,得到数字控制的差分方程,并根据所述差分方程,构建前馈补偿器,得到温度和功率的补偿量计算函数;Discretizing the optimal control law to obtain a differential equation for digital control, and constructing a feedforward compensator based on the differential equation to obtain a temperature and power compensation calculation function;对所述补偿量计算函数进行自适应调节,得到补偿器,并根据所述补偿器,对控制参数进行优化,得到包含增益矩阵和补偿系数的前馈控制参数。The compensation amount calculation function is adaptively adjusted to obtain a compensator, and the control parameters are optimized according to the compensator to obtain feedforward control parameters including a gain matrix and a compensation coefficient.6.根据权利要求1所述的二氧化碳激光治疗仪的输出功率控制方法,其特征在于,所述对所述二氧化碳激光治疗仪的实时激光输出数据进行多局部控制计算,得到反馈控制参数,包括:6. The output power control method of the carbon dioxide laser therapeutic apparatus according to claim 1, characterized in that the multi-local control calculation is performed on the real-time laser output data of the carbon dioxide laser therapeutic apparatus to obtain feedback control parameters, including:对所述二氧化碳激光治疗仪的实时激光输出数据进行滑动窗口分段,得到多个局部时间序列,并对所述多个局部时间序列进行快速傅里叶变换,得到局部频谱特征;Segmenting the real-time laser output data of the carbon dioxide laser therapeutic apparatus using a sliding window to obtain a plurality of local time series, and performing fast Fourier transform on the plurality of local time series to obtain local spectrum features;根据所述局部频谱特征,对各个局部进行自适应滤波,得到去噪后的局部输出数据,并对所述去噪后的局部输出数据进行非线性系统辨识,得到局部动态模型;According to the local frequency spectrum characteristics, each local part is adaptively filtered to obtain denoised local output data, and nonlinear system identification is performed on the denoised local output data to obtain a local dynamic model;根据所述局部动态模型,设计多个局部PID控制器,得到局部PID参数集,并对所述局部PID参数集进行模糊规则映射,得到全局PID参数调节策略;According to the local dynamic model, multiple local PID controllers are designed to obtain a local PID parameter set, and fuzzy rule mapping is performed on the local PID parameter set to obtain a global PID parameter adjustment strategy;根据所述全局PID参数调节策略,构建非线性PID控制模型,并对所述非线性PID控制模型进行稳定性分析,得到Lyapunov稳定性条件;According to the global PID parameter adjustment strategy, a nonlinear PID control model is constructed, and stability analysis is performed on the nonlinear PID control model to obtain a Lyapunov stability condition;根据所述Lyapunov稳定性条件,生成在线参数调整机制,并对所述在线参数调整机制进行数值离散化,得到包含增益矩阵、积分时间和微分时间的反馈控制参数。According to the Lyapunov stability condition, an online parameter adjustment mechanism is generated, and the online parameter adjustment mechanism is numerically discretized to obtain feedback control parameters including a gain matrix, an integral time, and a differential time.7.根据权利要求1所述的二氧化碳激光治疗仪的输出功率控制方法,其特征在于,所述对所述前馈控制参数和所述反馈控制参数进行多层神经网络分析和激光能量分配,得到多阶段激光能量分配方案,包括:7. The output power control method of the carbon dioxide laser therapeutic apparatus according to claim 1, characterized in that the multi-layer neural network analysis and laser energy distribution are performed on the feedforward control parameter and the feedback control parameter to obtain a multi-stage laser energy distribution scheme, comprising:对所述前馈控制参数和所述反馈控制参数进行拼接,得到包含增益矩阵、补偿系数、PID参数的30维输入向量X;The feedforward control parameters and the feedback control parameters are concatenated to obtain a 30-dimensional input vector X including a gain matrix, a compensation coefficient, and a PID parameter;将所述输入向量X输入第一隐藏层,通过矩阵乘法W1X+b1计算,其中W1为64x30的权重矩阵,b1为64维偏置向量,得到64维的中间结果,再通过ReLU激活函数max(0,x)处理,得到64维的第一层特征表示H1;The input vector X is input into the first hidden layer, and is calculated by matrix multiplication W1X+b1, where W1 is a 64x30 weight matrix and b1 is a 64-dimensional bias vector, to obtain a 64-dimensional intermediate result, and then processed by the ReLU activation function max(0, x) to obtain a 64-dimensional first-layer feature representation H1;将所述第一层特征表示H1输入第二隐藏层,通过矩阵乘法W2H1+b2计算,其中W2为128x64的权重矩阵,b2为128维偏置向量,得到128维的中间结果,再通过ReLU激活函数处理,得到128维的第二层特征表示H2;The first layer feature representation H1 is input into the second hidden layer, and is calculated by matrix multiplication W2H1+b2, where W2 is a 128x64 weight matrix and b2 is a 128-dimensional bias vector, to obtain a 128-dimensional intermediate result, which is then processed by the ReLU activation function to obtain a 128-dimensional second layer feature representation H2;将所述第二层特征表示H2输入第三隐藏层,通过矩阵乘法W3H2+b3计算,其中W3为256x128的权重矩阵,b3为256维偏置向量,得到256维的中间结果,再通过ReLU激活函数处理,得到256维的第三层特征表示H3;The second layer feature representation H2 is input into the third hidden layer, and is calculated by matrix multiplication W3H2+b3, where W3 is a 256x128 weight matrix and b3 is a 256-dimensional bias vector, to obtain a 256-dimensional intermediate result, which is then processed by the ReLU activation function to obtain a 256-dimensional third layer feature representation H3;对所述第三层特征表示H3进行dropout处理,随机将50%的元素置为0,得到256维的降噪特征表示H3';Performing dropout processing on the third-layer feature representation H3, randomly setting 50% of the elements to 0, and obtaining a 256-dimensional denoised feature representation H3';将所述降噪特征表示H3'输入输出层,通过矩阵乘法W4H3'+b4计算,其中W4为10x256的权重矩阵,b4为10维偏置向量,得到初始激光能量分配结果;The noise reduction feature representation H3' is input into the output layer, and the initial laser energy distribution result is obtained by matrix multiplication W4H3'+b4, where W4 is a 10x256 weight matrix and b4 is a 10-dimensional bias vector;对所述初始激光能量分配结果应用Softmax函数,得到多阶段能量分配概率分布,并根据所述多阶段能量分配概率分布,使用逆变换采样法生成多组候选能量分配方案,每组方案包含对应阶段的能量值;Applying a Softmax function to the initial laser energy allocation result to obtain a multi-stage energy allocation probability distribution, and generating multiple groups of candidate energy allocation schemes using an inverse transform sampling method based on the multi-stage energy allocation probability distribution, each group of schemes including energy values of a corresponding stage;对所述多组候选能量分配方案进行安全性评估和能量利用效率计算,并选择能量利用效率最高的方案作为多阶段激光能量分配方案。The multiple groups of candidate energy allocation schemes are evaluated for safety and calculated for energy utilization efficiency, and the scheme with the highest energy utilization efficiency is selected as the multi-stage laser energy allocation scheme.8.一种二氧化碳激光治疗仪的输出功率控制系统,其特征在于,用于执行如权利要求1-7中任一项所述的二氧化碳激光治疗仪的输出功率控制方法,包括:8. An output power control system for a carbon dioxide laser therapeutic apparatus, characterized in that it is used to execute the output power control method for a carbon dioxide laser therapeutic apparatus as claimed in any one of claims 1 to 7, comprising:建模模块,用于对二氧化碳激光治疗仪的光路、激光管和冷却系统进行有限元建模,得到三维温度场模型;A modeling module is used to perform finite element modeling on the optical path, laser tube and cooling system of the carbon dioxide laser therapy device to obtain a three-dimensional temperature field model;第一模式分析模块,用于对所述三维温度场模型进行连续波模式分析,得到连续波功率波动影响数据;A first mode analysis module is used to perform continuous wave mode analysis on the three-dimensional temperature field model to obtain continuous wave power fluctuation impact data;第二模式分析模块,用于对所述三维温度场模型进行脉冲模式分析,得到脉冲功率波动影响数据;A second mode analysis module is used to perform pulse mode analysis on the three-dimensional temperature field model to obtain pulse power fluctuation impact data;前馈控制模块,用于对所述连续波功率波动影响数据和所述脉冲功率波动影响数据进行综合处理和双模式前馈控制分析,得到前馈控制参数;A feedforward control module, used for performing comprehensive processing and dual-mode feedforward control analysis on the continuous wave power fluctuation influence data and the pulse power fluctuation influence data to obtain feedforward control parameters;计算模块,用于对所述二氧化碳激光治疗仪的实时激光输出数据进行多局部控制计算,得到反馈控制参数;A calculation module, used for performing multi-local control calculation on the real-time laser output data of the carbon dioxide laser therapeutic apparatus to obtain feedback control parameters;分配模块,用于对所述前馈控制参数和所述反馈控制参数进行多层神经网络分析和激光能量分配,得到多阶段激光能量分配方案。The allocation module is used to perform multi-layer neural network analysis and laser energy allocation on the feedforward control parameters and the feedback control parameters to obtain a multi-stage laser energy allocation scheme.
CN202411174032.3A2024-08-262024-08-26 A method and system for controlling output power of a carbon dioxide laser therapeutic deviceActiveCN119055352B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202411174032.3ACN119055352B (en)2024-08-262024-08-26 A method and system for controlling output power of a carbon dioxide laser therapeutic device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202411174032.3ACN119055352B (en)2024-08-262024-08-26 A method and system for controlling output power of a carbon dioxide laser therapeutic device

Publications (2)

Publication NumberPublication Date
CN119055352Atrue CN119055352A (en)2024-12-03
CN119055352B CN119055352B (en)2025-04-15

Family

ID=93636848

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202411174032.3AActiveCN119055352B (en)2024-08-262024-08-26 A method and system for controlling output power of a carbon dioxide laser therapeutic device

Country Status (1)

CountryLink
CN (1)CN119055352B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN119481924A (en)*2025-01-092025-02-18深圳市新华鹏激光设备有限公司 High power fiber laser stable output control method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US4973848A (en)*1989-07-281990-11-27J. MccaughanLaser apparatus for concurrent analysis and treatment
CN110960317A (en)*2019-12-202020-04-07上海市激光技术研究所 Laser Therapy Devices for Laser Assisted Skin Healing
CN113032856A (en)*2021-01-052021-06-25深圳市智造激光技术研究院Simulation method of semiconductor laser and computer equipment
CN114861464A (en)*2022-06-012022-08-05苏州市美新迪斯医疗科技有限公司 A radiofrequency ablation system, method, device and medium
CN116036492A (en)*2023-03-292023-05-02北京新科以仁科技发展有限公司Laser power control method, device, equipment and storage medium
CN116889466A (en)*2023-07-272023-10-17杭州佳量医疗科技有限公司 Laser power adjustment method, device, electronic equipment and storage medium
CN117095806A (en)*2023-10-192023-11-21邦士医疗科技股份有限公司Quality management system of medical equipment in operating room
CN117355274A (en)*2021-05-212024-01-05波士顿科学医学有限公司System and method for calibrating laser pulses
CN117618105A (en)*2024-01-252024-03-01浙江巴泰医疗科技有限公司Power control system and control method of laser ablation probe
CN117770943A (en)*2023-12-122024-03-29东方长光健康科技(嘉兴)有限公司Novel CO 2 Laser therapeutic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US4973848A (en)*1989-07-281990-11-27J. MccaughanLaser apparatus for concurrent analysis and treatment
CN110960317A (en)*2019-12-202020-04-07上海市激光技术研究所 Laser Therapy Devices for Laser Assisted Skin Healing
CN113032856A (en)*2021-01-052021-06-25深圳市智造激光技术研究院Simulation method of semiconductor laser and computer equipment
CN117355274A (en)*2021-05-212024-01-05波士顿科学医学有限公司System and method for calibrating laser pulses
CN114861464A (en)*2022-06-012022-08-05苏州市美新迪斯医疗科技有限公司 A radiofrequency ablation system, method, device and medium
CN116036492A (en)*2023-03-292023-05-02北京新科以仁科技发展有限公司Laser power control method, device, equipment and storage medium
CN116889466A (en)*2023-07-272023-10-17杭州佳量医疗科技有限公司 Laser power adjustment method, device, electronic equipment and storage medium
CN117095806A (en)*2023-10-192023-11-21邦士医疗科技股份有限公司Quality management system of medical equipment in operating room
CN117770943A (en)*2023-12-122024-03-29东方长光健康科技(嘉兴)有限公司Novel CO 2 Laser therapeutic equipment
CN117618105A (en)*2024-01-252024-03-01浙江巴泰医疗科技有限公司Power control system and control method of laser ablation probe

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张绍敏: "二氧化碳激光治疗机的功率预置方法", 激光生物学报, vol. 23, no. 3, 14 August 2014 (2014-08-14), pages 275 - 278*

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN119481924A (en)*2025-01-092025-02-18深圳市新华鹏激光设备有限公司 High power fiber laser stable output control method and system
CN119481924B (en)*2025-01-092025-05-16深圳市新华鹏激光设备有限公司High-power fiber laser stable output control method and system

Also Published As

Publication numberPublication date
CN119055352B (en)2025-04-15

Similar Documents

PublicationPublication DateTitle
Tamaddon-Jahromi et al.Data-driven inverse modelling through neural network (deep learning) and computational heat transfer
Toscano et al.From pinns to pikans: Recent advances in physics-informed machine learning
Hosseini et al.Application of a physics-informed neural network to solve the steady-state Bratu equation arising from solid biofuel combustion theory
Hoffer et al.Theory-inspired machine learning—towards a synergy between knowledge and data
Hijazi et al.POD-Galerkin reduced order models and physics-informed neural networks for solving inverse problems for the Navier–Stokes equations
CN119055352B (en) A method and system for controlling output power of a carbon dioxide laser therapeutic device
CN119620805B (en)Intelligent water temperature control system and method based on machine learning
CN118246368B (en)Anion concentration control method, apparatus, device and storage medium
Sain et al.Modelling of a nonlinear fuzzy three-input PID controller and its simulation and experimental realization
Cheng et al.An adaptive extreme learning machine based on an active learning method for structural reliability analysis
Yanto et al.Implementation multiple linear regresion in neural network predict gold price
Adewoyin et al.Advances in AI-Based Optimization for Multiphysics Fluid Dynamics in Product Design Engineering
Yang et al.Thermal error modeling by integrating GWO and ANFIS algorithms for the gear hobbing machine
Tkachenko et al.Neuro-Fuzzy diagnostics systems based on SGTM neural-like structure and t-controller
Zhang et al.Physics-informed deep learning for structural vibration identification and its application on a benchmark structure
CN119720818A (en) Barrel ablation wear prediction method and device based on degradation path approximation
Li et al.Small samples noise prediction of train electric traction system fan based on a multiple regression-fuzzy neural network
Kayim et al.Time series forecasting with volatility activation function
Umeorah et al.Approximation of single‐barrier options partial differential equations using feed‐forward neural network
Cremades et al.Classically studied coherent structures only paint a partial picture of wall-bounded turbulence
Ma et al.Fast reconstruction of milling temperature field based on CNN-GRU machine learning models
Kiran et al.Explainable AI in thermal modelling enhancing precision in thermal gradient monitoring for additive manufacturing using LSTM networks
Liu et al.Pinf: Continuous normalizing flows for physics-constrained deep learning
Jithendra et al.Machine learning technique ANFIS-COA for enhancing micro-milling performance by investigating the surface roughness and material removal rate
Abdedou et al.Reduced-order modeling for stochastic large-scale and time-dependent flow problems using deep spatial and temporal convolutional autoencoders

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp