Free-form surface multi-objective optimization design method for laser shaping
The multi-objective particle swarm algorithm optimizes the polynomial mathematical model of free surfaces, which solves the problem of taking into account spot uniformity and surface quality, and achieves the improvement of laser shaping performance and surface quality.
Patent Information
- Application Number
- CN202411149546.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-08-21
AI Technical Summary
The existing free surface design method fails to take into account both spot uniformity and surface quality, affecting the performance of laser shaping.
Using the multi-objective particle swarm algorithm, the light mapping relationship between the light source surface, free surface and target surface is established through the light mapping method, discrete sampling points are calculated, and the free surface is fitted XY polynomially, and the objective function is constructed to optimize the spot uniformity and surface. Quality, output Pareto optimal solution set to obtain the optimized polynomial mathematical model.
It achieves efficient and concise optimization of free surfaces, balances spot uniformity and surface quality, avoids areas with excessive changes in Gaussian curvature, and improves the feasibility of laser shaping.
Smart Images

Figure CN118981108A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of free-form surface optical design, and in particular to a free-form surface multi-objective optimization design method for laser shaping. Background Art
[0002] In recent years, an important development direction in the field of optical design is the widespread application of freeform surfaces in laser beam shaping. Freeform surfaces refer to surfaces whose shapes are not restricted by specific mathematical equations and have complex and flexible surface shapes. This property enables freeform optical elements to achieve more precise and versatile beam control and adjustment. In practical applications, these freeform surfaces are widely used in laser shaping of various shapes and energy distributions, such as laser processing, medical device manufacturing, and lidar.
[0003] However, in practical applications, due to the complex surface features of free-form surfaces, various polynomials are needed to describe the designed free-form surfaces. These polynomials are usually obtained by fitting discrete point data. In addition, a single design of a free-form surface often cannot directly obtain a free-form surface structure with the best optical performance. Therefore, in order to effectively fit the free-form surface and improve its initial structure, some optimization methods need to be introduced to improve the shaping effect. At present, the optimization process of free-form surfaces used for laser shaping mainly focuses on optimizing optical indicators, while the quality evaluation of free-form surfaces has not received sufficient attention.
[0004] Therefore, how to balance the spot uniformity and surface quality in the free-form surface design optimization process and perform multi-objective optimization between optical indicators and processing difficulty is an urgent problem to be solved in this field. Summary of the invention
[0005] Therefore, the technical problem to be solved by the present invention is to overcome the problem that the existing free-form surface design method does not take into account both the uniformity of the light spot and the quality of the surface, thereby affecting the performance of the designed free-form surface.
[0006] In order to solve the above technical problems, the present invention provides a multi-objective optimization design method for free-form surfaces for laser shaping, comprising the following steps:
[0007] According to the light mapping method, a light mapping relationship among the light source surface, the free-form surface and the target surface is established, and discrete sampling points of the light source surface and the target surface are calculated; discrete sampling points of the free-form surface are calculated according to the discrete sampling points of the light source surface and the target surface;
[0008] Performing XY polynomial fitting on discrete sampling points of the free-form surface to obtain a polynomial mathematical model of the free-form surface as an initial structure of the free-form surface;
[0009] The objective function is constructed by taking the uniformity of the light spot and the surface quality as the optimization objectives of the free-form surface, each particle represents a coefficient combination of the polynomial mathematical model of the free-form surface, and the coefficients in the polynomial mathematical model of the free-form surface are optimized by using a multi-objective particle swarm algorithm to output a Pareto optimal solution set;
[0010] A solution that meets the preset conditions is selected from the Pareto optimal solution set, and the corresponding optimized polynomial mathematical model is obtained as the target free-form surface, and the target free-form surface is verified.
[0011] Preferably, constructing an objective function with spot uniformity and surface quality as optimization targets of the free-form surface includes:
[0012] Establishing a first objective function based on an average coordinate deviation of discrete sampling points of the target surface and an average normal vector deviation of discrete sampling points of the free-form surface to characterize the optical index of the free-form surface;
[0013] A second objective function is established based on the standard deviation of the rate of change of the Gaussian curvature of discrete sampling points of the free-form surface to characterize the surface quality of the free-form surface.
[0014] Preferably, establishing the first objective function based on the average coordinate deviation of discrete sampling points of the target surface and the average normal vector deviation of discrete sampling points of the free-form surface includes:
[0015] The average coordinate deviation of discrete sampling points on the target surface is calculated as follows:
[0016]
[0017] in, and They represent the actual coordinates of the discrete sampling point on the target surface in the i-th row and j-th column in the target surface grid in the x-axis and y-axis directions respectively; i,j With y i,j represents the ideal design coordinates of the discrete sampling points on the target surface; i and j represent the i-th row and j-th column in the corresponding M×N grids;
[0018] The average normal vector deviation of the discrete sampling points of the free-form surface is calculated as follows:
[0019]
[0020] in Respectively represent the actual normal vectors of the discrete sampling points on the free-form surface corresponding to the discrete sampling points on the target surface in the x-axis, y-axis, and z-axis directions; Nx i,j 、Ny i,j , Nz i,jRepresents the ideal design normal vector of the discrete sampling points of the free-form surface in the x-axis, y-axis, and z-axis directions;
[0021] In summary, the first objective function f1 is established, and the calculation formula is as follows:
[0022]
[0023] Among them, w1 and w2 represent the weights of the average coordinate deviation of the discrete sampling points of the target surface and the average normal vector deviation of the discrete sampling points of the free surface, respectively.
[0024] Preferably, establishing the second objective function based on the standard deviation of the rate of change of Gaussian curvature of discrete sampling points of the free-form surface includes:
[0025] The Gaussian curvature K of the discrete sampling points of the free surface is calculated as follows:
[0026]
[0027] The gradient of the discrete sampling points of the free surface along the x-axis and y-axis Represents the rate of change of the Gaussian curvature of the discrete sampling points of the free surface;
[0028] Establish the second objective function f2, the calculation formula is as follows:
[0029]
[0030] In the formula Indicates the Gaussian curvature gradient of the discrete sampling points of the free surface; Represents the average value of the Gaussian curvature gradient of the discrete sampling points of the free surface; and represents the Gaussian curvature gradient of the discrete sampling points of the free-form surface along the x-direction and the y-direction; N represents the number of discrete sampling points of the free-form surface.
[0031] Preferably, the method of using each particle to represent a coefficient combination of the polynomial mathematical model of the free-form surface, using a multi-objective particle swarm algorithm to optimize the coefficients in the polynomial mathematical model of the free-form surface, and outputting a Pareto optimal solution set includes:
[0032] Initialize the position and velocity of the particle swarm and calculate the objective function value of each particle;
[0033] According to the objective function value of each particle, iteratively update the position and velocity of each particle, and calculate the objective function value of each particle after the update, and iterate this step in a loop;
[0034] By updating the position and velocity of each particle within the number of iterations, the coefficients of the polynomial mathematical model of the free-form surface are gradually optimized;
[0035] When the maximum number of iterations is reached, the optimization process ends and the Pareto optimal solution set is output;
[0036] Among them, the update formulas for particle velocity and position are as follows:
[0037]
[0038] Among them, X kl and V kl They represent the position and velocity of the kth particle in the lth dimension respectively; T represents the maximum number of iterations; t represents the current number of iterations, ranging from [1, T]; w(t) represents the inertia coefficient in the current number of iterations; w max With w min are the maximum and minimum values of the inertia coefficient respectively; c1 and c2 represent the learning factors for adjusting the search step size; r1 and r2 represent two random values in the range of [0,1]; P kl represents the historical optimal position of the kth particle in the lth dimension; g l Represents the global optimal position of all particles in the lth dimension. Preferably, the light mapping relationship among the light source surface, the free-form surface and the target surface is established according to the light mapping method, and the discrete sampling points of the light source surface and the discrete sampling points of the target surface are calculated; the discrete sampling points of the free-form surface are calculated according to the discrete sampling points of the light source surface and the discrete sampling points of the target surface, including:
[0039] The light source surface and the target surface are divided into equal energy grids, and the light mapping relationship among the light source surface, the free-form surface and the target surface is established by the light mapping method. The discrete sampling points of the light source surface and the target surface are calculated according to the divided grids. Based on the discrete sampling points of the light source surface and the target surface, the vector form of Snell's refraction law is used to calculate the discrete sampling points of the free-form surface according to the preset grid direction.
[0040] Preferably, performing XY polynomial fitting on discrete sampling points of the free-form surface to obtain a polynomial mathematical model of the free-form surface as the initial structure of the free-form surface includes:
[0041] Determine the form and order of the polynomial according to the shape and complexity of the target light spot;
[0042] Based on the determined polynomial form and order, a preliminary fitting is performed in combination with the discrete sampling points of the free-form surface to obtain a polynomial mathematical model of the free-form surface, which is used as the initial structure of the free-form surface.
[0043] Preferably, a solution that meets preset conditions is selected from the Pareto optimal solution set, and a corresponding optimized polynomial mathematical model is obtained as a target free-form surface, and verification of the target free-form surface includes:
[0044] In the Pareto optimal solution set, a solution that meets the preset conditions is selected and the corresponding optimized polynomial mathematical model is obtained as the target free-form surface, wherein the preset conditions are to meet specific optical index requirements or processing index requirements, such as satisfying the uniformity of the light spot and the surface quality;
[0045] The surface quality of the target free-form surface is analyzed according to the Gaussian curvature of the discrete sampling points of the free-form surface; the light spot uniformity of the target free-form surface is verified by using the simulation results obtained by ray tracing the target free-form surface using optical software;
[0046] The spot uniformity is described as the ratio of the average irradiance value to the maximum irradiance value, U RSD It represents the relative standard deviation of the irradiance value of each pixel in the output image of the simulation result, and characterizes the uniformity of the spot area formed on the target surface. The calculation formula is as follows:
[0047]
[0048]
[0049] represents the average value of coherent irradiance, I max Represents the maximum value of coherent irradiance, I i represents the coherent irradiance value of each pixel in the spot, N represents the number of pixels in the simulated target plane, where the coherent irradiance value of each pixel in all the spots is I i All are normalized to the range [0,1].
[0050] Preferably, a multi-objective optimization design device for free-form surfaces for laser shaping comprises:
[0051] A mapping relationship module, wherein the mapping relationship module is used to establish a light mapping relationship among a light source surface, a free-form surface, and a target surface according to a light mapping method, and calculate discrete sampling points of the light source surface and discrete sampling points of the target surface; and calculate discrete sampling points of the free-form surface according to discrete sampling points of the light source surface and discrete sampling points of the target surface;
[0052] A polynomial construction module, wherein the polynomial construction module is used to perform XY polynomial fitting on discrete sampling points of the free-form surface to obtain a polynomial mathematical model of the free-form surface as an initial structure of the free-form surface;
[0053] An optimization coefficient module, wherein the optimization coefficient module is used to construct an objective function with optical indicators and surface quality as optimization targets of the free-form surface, and each particle represents a coefficient combination of a polynomial mathematical model of the free-form surface, and uses a multi-objective particle swarm algorithm to optimize the coefficients in the polynomial mathematical model of the free-form surface, and output a Pareto optimal solution set that satisfies the minimum value of the objective function;
[0054] The structure selection module is used to select a solution that meets preset conditions in the Pareto optimal solution set, obtain the corresponding optimized polynomial mathematical model as the target free-form surface, and verify the target free-form surface.
[0055] Preferably, a computer-readable storage medium for multi-objective optimization design of free-form surfaces for laser shaping is characterized by comprising:
[0056] The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the multi-objective optimization design method for free-form surfaces for laser shaping are implemented.
[0057] The above technical solution of the present invention has the following beneficial effects compared with the prior art:
[0058] The present invention discloses a multi-objective optimization design method for free-form surfaces for laser shaping. First, the free-form surfaces for laser shaping are mathematically described, two optimization objectives, spot uniformity and surface quality, are designed in combination with a multi-objective particle swarm algorithm optimization method, and an evaluation function is constructed to achieve a balance between spot uniformity and surface quality. A set of solutions with advantages and disadvantages are constructed by obtaining multiple groups of solutions in each iteration in the Pareto frontier. An optimized polynomial mathematical model that covers the entire Pareto frontier as much as possible is selected as the target free-form surface through multiple iterations. The method of the present invention can achieve efficient and concise optimization of the designed free-form surfaces, and simultaneously balance the spot uniformity and surface quality in the optimization of the free-form surfaces, avoiding areas with excessive Gaussian curvature changes in the free-form surfaces, thereby improving the feasibility of subsequent processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific embodiments of the present invention in conjunction with the accompanying drawings, wherein:
[0060] Figure 1 It is the overall flow chart of the method of the present invention;
[0061] Figure 2 It is a specific implementation method of the present invention Example 2 for free-form surface geometric design layout for laser shaping;
[0062] Figure 3 is a multi-objective particle swarm optimization flow chart in the method of the present invention;
[0063] Figure 4 is the Pareto frontier graph in the method of the present invention;
[0064] Figure 5It is a comparison diagram of shaping effects before and after optimization of a light source and solution concentration in the method of the present invention;
[0065] Figure 6 It is a comparison diagram of optical simulation and Gaussian curvature of different solutions in the Pareto front of the method of the present invention. DETAILED DESCRIPTION
[0066] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0067] Example 1
[0068] Reference Figure 1 The overall process of the multi-objective optimization design method for free-form surfaces for laser shaping of the present invention is shown in the figure, and the specific steps are as follows:
[0069] S1: According to the light mapping method, the light mapping relationship among the light source surface, the free-form surface and the target surface is established, and the discrete sampling points of the light source surface and the discrete sampling points of the target surface are calculated; the discrete sampling points of the free-form surface are calculated according to the discrete sampling points of the light source surface and the discrete sampling points of the target surface;
[0070] The light source surface and the target surface are divided into equal energy grids, and the light mapping relationship between the light source and the target surface is established by the light mapping method. The discrete sampling points of the light source surface and the target surface are calculated according to the divided grids; based on the discrete sampling points of the light source surface and the target surface, the vector form of Snell's refraction law is used to calculate the discrete sampling points P of the free-form surface according to the preset grid direction. i,j , i and j correspond to the i-th row and j-th column in the M×N grids divided.
[0071] S2: performing XY polynomial fitting on discrete sampling points of the free-form surface to obtain a polynomial mathematical model of the free-form surface as an initial structure of the free-form surface;
[0072] Determine the form and order of the polynomial according to the shape and complexity of the target light spot;
[0073] Based on the discrete sampling points of the free-form surface combined with the determined polynomial form and order, a preliminary fitting is performed to obtain the polynomial mathematical model z=f(x,y) of the free-form surface as the initial structure of the free-form surface, which is expressed as follows:
[0074] z=p 00 +p 20 x 2 +p 02 y 2 +p 40 x 4 +p 22x 2 y 2 +p 04 y 4 +p 60 x 6 +p 42 x 4 y 2 +p 24 x 2 y 4 +p 06 y 6
[0075] S3: constructing an objective function with spot uniformity and surface quality as optimization targets of the free-form surface, taking each particle as a coefficient combination of the polynomial mathematical model of the free-form surface, using a multi-objective particle swarm algorithm to optimize the coefficients in the polynomial mathematical model of the free-form surface, and outputting a Pareto optimal solution set;
[0076] ① Establishing a first objective function based on the average coordinate deviation of discrete sampling points on the target surface and the average normal vector deviation of discrete sampling points on the free-form surface to characterize the spot uniformity of the free-form surface;
[0077] The average coordinate deviation of discrete sampling points on the target surface is calculated as follows:
[0078]
[0079] in, and They represent the actual coordinates of the discrete sampling point on the target surface in the i-th row and j-th column in the target surface grid in the x-axis and y-axis directions respectively; i,j With y i,j represents the ideal design coordinates of the discrete sampling points on the target surface; i and j represent the i-th row and j-th column in the corresponding M×N grids;
[0080] The average normal vector deviation of the discrete sampling points of the free-form surface is calculated as follows:
[0081]
[0082] in Respectively represent the actual normal vectors of the discrete sampling points on the free-form surface corresponding to the discrete sampling points on the target surface in the x-axis, y-axis, and z-axis directions; Nx i,j 、Ny i,j , Nz i,j Represents the ideal design normal vector of the discrete sampling points of the free-form surface in the x-axis, y-axis, and z-axis directions;
[0083] In summary, the first objective function f1 is established, and the calculation formula is as follows:
[0084]
[0085] Among them, w1 and w2 represent the weights of the average coordinate deviation of the discrete sampling points of the target surface and the average normal vector deviation of the discrete sampling points of the free surface, respectively.
[0086] ② Establishing a second objective function based on the standard deviation of the rate of change of the Gaussian curvature of the discrete sampling points of the free-form surface to characterize the surface quality of the free-form surface;
[0087] The Gaussian curvature K of the discrete sampling points of the free surface is calculated as follows:
[0088]
[0089] The gradient of the discrete sampling points of the free surface along the x-axis and y-axis Represents the rate of change of the Gaussian curvature of the discrete sampling points of the free surface;
[0090] Establish the second objective function f2, the calculation formula is as follows:
[0091]
[0092]
[0093] In the formula Indicates the Gaussian curvature gradient of the discrete sampling points of the free surface; Represents the average value of the Gaussian curvature gradient of the discrete sampling points of the free surface; and represents the Gaussian curvature gradient of the discrete sampling points of the free-form surface along the x-direction and the y-direction; N represents the number of discrete sampling points of the free-form surface.
[0094] ③Reference Figure 3 The figure shows a multi-objective particle swarm optimization flow chart in the method of the present invention.
[0095] Initialize the position and velocity of the particle swarm and calculate the objective function value of each particle;
[0096] According to the objective function value of each particle, iteratively update the position and velocity of each particle, and calculate the objective function value of each particle after the update, and iterate this step in a loop;
[0097] By updating the position and velocity of each particle within the iteration number, the coefficient p of the polynomial mathematical model of the free surface is gradually optimized. mn, Where m and n are the orders of x and y corresponding to the coefficients in the polynomial mathematical model of the free surface;
[0098] When the maximum number of iterations is reached, the optimization process ends and the Pareto optimal solution set is output;
[0099] Among them, the update formulas for particle velocity and position are as follows:
[0100]
[0101] Among them, X kl and V kl They represent the position and velocity of the kth particle in the lth dimension respectively; T represents the maximum number of iterations; t represents the current number of iterations, ranging from [1, T]; w(t) represents the inertia coefficient in the current number of iterations; w max With w min are the maximum and minimum values of the inertia coefficient respectively; c1 and c2 represent the learning factors for adjusting the search step size; r1 and r2 represent two random values in the range of [0,1]; P kl represents the historical optimal position of the kth particle in the lth dimension; g l represents the global optimal position among all particles in the lth dimension.
[0102] S4: Select a solution that meets the preset conditions from the Pareto optimal solution set, obtain the corresponding optimized polynomial mathematical model as the target free surface, and verify the target free surface.
[0103] In the Pareto optimal solution set, the solution that meets the preset conditions is selected, and the corresponding optimized polynomial mathematical model is obtained as the target free surface, where the preset conditions are to meet specific optical index requirements or processing index requirements, such as satisfying the spot uniformity and surface quality.
[0104] The surface quality of the target free-form surface is analyzed according to the Gaussian curvature K of the discrete sampling points of the free-form surface to observe whether there is an area with a steep change in Gaussian curvature;
[0105] The light spot uniformity U of the target free-form surface is analyzed by ray tracing simulation results obtained by optical software to determine whether the optimization result meets the requirements; the light spot uniformity is described as the ratio of the average irradiance value to the maximum irradiance value, U RSD It represents the relative standard deviation of the irradiance value of each pixel in the output image of the simulation result, and characterizes the uniformity of the spot area formed on the target surface. The calculation formula is as follows:
[0106]
[0107] represents the average value of coherent irradiance, I max Represents the maximum value of coherent irradiance, I irepresents the coherent irradiance value of each pixel in the spot, N represents the number of pixels in the simulated target plane, where the coherent irradiance value of each pixel in all the spots is I i All are normalized to the range [0,1].
[0108] Example 2
[0109] Based on Example 1, the goal of this example is to shape the Gaussian irradiance with a circular boundary into a uniform irradiance distribution with a regular hexagonal boundary. This example is used for the free-form surface geometric design layout of laser shaping, referring to Figure 2 shown.
[0110] S1: establishing a light mapping relationship among a light source surface, a free-form surface, and a target surface according to a light mapping method, calculating discrete sampling points of the light source surface and discrete sampling points of the target surface, and calculating discrete sampling points of the free-form surface according to the discrete sampling points of the light source surface and the discrete sampling points of the target surface;
[0111] The light source surface and the target surface are divided into equal energy grids, and the light mapping relationship between the light source surface, the free-form surface and the target surface is established by the light mapping method. The discrete sampling points of the light source surface and the target surface are calculated according to the divided grids; based on the discrete sampling points of the light source surface and the target surface, the vector form of Snell's refraction law is used to calculate the discrete sampling points P of the free-form surface according to the preset grid direction. i,j , i and j correspond to the i-th row and j-th column in the grid divided.
[0112] Due to the rotational symmetry of the pattern, the area of 0-60° is taken as sampling, and the sampling number M=61 and N=501. The entire free-form surface can be obtained by rotation. The beam waist of the light source is 3mm. When the wavelength is 530nm, the refractive index of the lens is 1.495. The initial center thickness of the lens is 2mm, the distance from the lens to the target plane is 50mm, and the side length of the target regular hexagon is 6mm.
[0113] S2: performing XY polynomial fitting on the discrete sampling points of the free-form surface to obtain a polynomial mathematical model of the free-form surface as the initial structure of the free-form surface;
[0114] Determine the form and order of the polynomial according to the shape and complexity of the target light spot;
[0115] Based on the discrete sampling points of the free-form surface combined with the determined polynomial form and order, a preliminary fitting is performed. Due to the symmetry, the polynomial mathematical model z=f(x,y) of the free-form surface is calculated and used as the initial structure of the free-form surface, which is expressed as follows:
[0116] z=p 00 +p 20 x 2 +p02 y 2 +p 40 x 4 +p 22 x 2 y 2 +p 04 y 4 +p 60 x 6 +p 42 x 4 y 2 +p 24 x 2 y 4 +p 06 y 6
[0117] S3: constructing an objective function with spot uniformity and surface quality as the optimization targets of the free-form surface, taking each particle as a coefficient combination of the polynomial mathematical model of the free-form surface, using a multi-objective particle swarm algorithm to optimize the coefficients in the polynomial mathematical model of the free-form surface, and outputting a Pareto optimal solution set;
[0118] Establishing a first objective function based on an average coordinate deviation of discrete sampling points of the target surface and an average normal vector deviation of discrete sampling points of the free-form surface to characterize the optical index of the free-form surface;
[0119] Establishing a second objective function based on the standard deviation of the rate of change of Gaussian curvature of discrete sampling points of the free-form surface to characterize the surface quality of the free-form surface;
[0120] Initialize the position and velocity of the particle swarm and calculate the objective function value of each particle;
[0121] According to the objective function value of each particle, iteratively update the position and velocity of each particle, and calculate the objective function value of each particle after the update, and iterate this step in a loop;
[0122] By updating the position and velocity of each particle within the iteration number, the coefficient p of the polynomial mathematical model of the free surface is gradually optimized. mn, Where m and n are the orders of x and y corresponding to the coefficients in the polynomial mathematical model of the free surface;
[0123] When the maximum number of iterations is reached, the optimization process ends and the Pareto optimal solution set is output.
[0124] In this embodiment, the parameters of the decision space are shown in the following table:
[0125] parameter Numeric <![CDATA[c1]]> 2 <![CDATA[c2]]> 2 <![CDATA[w max ]]> 0.9 <![CDATA[w min ]]> 0.4 Particle number N 40 Maximum number of iterations T 200 Location Range [-0.05,0.05] Speed range [-0.01,0.01]
[0126] S4: Select a solution that meets the preset conditions from the Pareto optimal solution set, obtain the corresponding optimized polynomial mathematical model as the target free surface, and verify the target free surface.
[0127] In the Pareto optimal solution set, a solution that meets the preset conditions is selected, and the corresponding optimized polynomial mathematical model is obtained as the target free-form surface, where the preset conditions are to meet specific optical index requirements or processing index requirements, such as satisfying the uniformity of the light spot and the surface quality;
[0128] The surface quality of the target free-form surface is analyzed according to the Gaussian curvature K of the discrete sampling points of the free-form surface to observe whether there is an area with a steep change in Gaussian curvature;
[0129] The light spot uniformity U of the target free-form surface is analyzed by using the simulation results obtained by performing ray tracing on the target free-form surface using optical software to determine whether the optimization result meets the requirements;
[0130] The coefficients of the polynomial mathematical model corresponding to a solution (0.00387, 0.00176) in the Pareto optimal solution set and the coefficients of the polynomial mathematical model of the initial structure of the free surface are shown in the following table.
[0131] Serial number coefficient Initial Value Optimization value 1 <![CDATA[p 00 (thickness)]]> 2 2 2 <![CDATA[p 20 ]]> <![CDATA[3.7×10 -2 ]]> <![CDATA[3.7×10 -2 ]]> 3 <![CDATA[p 02 ]]> <![CDATA[3.7 × 10 -2 ]]> <![CDATA[3.7 × 10 -2 ]]> 4 <![CDATA[p 40 ]]> <![CDATA[-1.5 × 10 -3 ]]> <![CDATA[-1.5 × 10 -3 ]]> 5 <![CDATA[p 22 ]]> <![CDATA[-3.1 × 10 -3 ]]> <![CDATA[-3.0 × 10 -3 ]]> 6 <![CDATA[p 04 ]]> <![CDATA[-1.5×10 -3 ]]> <![CDATA[-1.7×10 -3 ]]> 7 <![CDATA[p 60 ]]> <![CDATA[8.9×10 -5 ]]> <![CDATA[4.3×10 -5 ]]> 8 <![CDATA[p 42 ]]> <![CDATA[-7.6×10 -4 ]]> <![CDATA[-7.9×10 -5 ]]> 9 <![CDATA[p 24 ]]> <![CDATA[9.5×10 -4 ]]> <![CDATA[2.9×10 -4 <!-- 9 -->]]> 10 <![CDATA[p 06 ]]> <![CDATA[-2.5×10 -5 ]]> <![CDATA[4.6×10 -5 ]]>
[0132] In order to compare the shaping performance more intuitively, the spot irradiance distribution before and after shaping is shown in Figure 5 After the initial structure of the free-form surface is reshaped, the normalized irradiance uniformity of the entire target surface is U = 79.43%, U RSD =82.20%. The irradiance uniformity along the x=0 and y=0 directions is U x =88.93% and U y =71.21%. For the optimized target free-form surface, the uniformity of the entire domain is U=92.03%, U RSD =87.85%. The irradiance uniformity along x=0 and y=0 is Ux=86.78% and U y =87.24%. This shows the advantages of the method of the present invention in improving the performance of the shaping system and provides good technical support for the system development and application.
[0133] In this example, since the optimization analysis is performed for multiple objectives, the final result is not unique, but a set of solutions. The final optimization results are non-dominated with each other, and the final solution can be selected from the Pareto optimal solution set according to the actual application needs. When the surface quality requirements are improved, the uniformity of the spot will deteriorate; when focusing on improving the uniformity and shape of the spot, the Gaussian curvature of the surface changes more, the surface quality deteriorates and the processing difficulty increases. Figure 6 As shown in the figure, the optical simulation of the two solutions (0.00387, 0.00158) and (0.00433, 0.00124) are compared. Both can achieve good shaping effects, but the former has higher shaping uniformity, while the latter has a smoother Gaussian curvature change.
[0134] Example 3
[0135] Based on Example 1, this example introduces a multi-objective optimization design device for a free-form surface for laser shaping, comprising:
[0136] A mapping relationship module, wherein the mapping relationship module is used to establish a light mapping relationship among a light source surface, a free-form surface, and a target surface according to a light mapping method, and calculate discrete sampling points of the light source surface and discrete sampling points of the target surface; and calculate discrete sampling points of the free-form surface according to discrete sampling points of the light source surface and discrete sampling points of the target surface;
[0137] A polynomial construction module, wherein the polynomial construction module is used to perform XY polynomial fitting on discrete sampling points of the free-form surface to obtain a polynomial mathematical model of the free-form surface as an initial structure of the free-form surface;
[0138] An optimization coefficient module, wherein the optimization coefficient module is used to construct an objective function with spot uniformity and surface quality as optimization targets of the free-form surface, and each particle represents a coefficient combination of a polynomial mathematical model of the free-form surface, and a multi-objective particle swarm algorithm is used to optimize the coefficients in the polynomial mathematical model of the free-form surface, and output a Pareto optimal solution set;
[0139] The structure selection module is used to select a solution that meets preset conditions in the Pareto optimal solution set, obtain the corresponding optimized polynomial mathematical model as the target free-form surface, and verify the target free-form surface.
[0140] Example 4
[0141] Based on Example 1, this example introduces a computer-readable storage medium for multi-objective optimization design of free-form surfaces for laser shaping, including:
[0142] The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the multi-objective optimization design method for free-form surfaces for laser shaping are implemented.
[0143] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0144] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0145] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0146] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0147] Obviously, the above embodiments are merely examples for the purpose of clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the present invention.
Claims
1. A multi-objective optimization design method for free-form surfaces for laser shaping, characterized in that: The following steps are involved: According to the light mapping method, a light mapping relationship among the light source surface, the free-form surface and the target surface is established, and discrete sampling points of the light source surface and the target surface are calculated; discrete sampling points of the free-form surface are calculated according to the discrete sampling points of the light source surface and the target surface; Performing XY polynomial fitting on discrete sampling points of the free-form surface to obtain a polynomial mathematical model of the free-form surface as an initial structure of the free-form surface; The objective function is constructed by taking the uniformity of the light spot and the surface quality as the optimization objectives of the free-form surface, each particle represents a coefficient combination of the polynomial mathematical model of the free-form surface, and the coefficients in the polynomial mathematical model of the free-form surface are optimized by using a multi-objective particle swarm algorithm to output a Pareto optimal solution set; A solution that meets the preset conditions is selected from the Pareto optimal solution set, and the corresponding optimized polynomial mathematical model is obtained as the target free-form surface, and the target free-form surface is verified.
2. The multi-objective optimization design method for free-form surfaces for laser shaping according to claim 1, characterized in that: The objective function constructed by taking the spot uniformity and the surface quality as the optimization target of the free-form surface includes: Establishing a first objective function based on an average coordinate deviation of discrete sampling points of the target surface and an average normal vector deviation of discrete sampling points of the free-form surface to characterize the optical index of the free-form surface; A second objective function is established based on the standard deviation of the rate of change of the Gaussian curvature of discrete sampling points of the free-form surface to characterize the surface quality of the free-form surface.
3. The multi-objective optimization design method for free-form surfaces for laser shaping according to claim 2, characterized in that: The establishing of the first objective function based on the average coordinate deviation of discrete sampling points of the target surface and the average normal vector deviation of discrete sampling points of the free-form surface comprises: The average coordinate deviation of discrete sampling points on the target surface is calculated as follows: in, and They represent the actual coordinates of the discrete sampling point on the target surface in the i-th row and j-th column in the target surface grid in the x-axis and y-axis directions respectively; i,j With y i,j represents the ideal design coordinates of the discrete sampling points on the target surface; i and j represent the i-th row and j-th column in the corresponding M×N grids; The average normal vector deviation of the discrete sampling points of the free-form surface is calculated as follows: in Respectively represent the actual normal vectors of the discrete sampling points on the free-form surface corresponding to the discrete sampling points on the target surface in the x-axis, y-axis, and z-axis directions; Nx i,j 、Ny i,j , Nz i,j Represents the ideal design normal vector of the discrete sampling points of the free-form surface in the x-axis, y-axis, and z-axis directions; In summary, the first objective function f1 is established, and the calculation formula is as follows: Among them, w1 and w2 represent the weights of the average coordinate deviation of the discrete sampling points of the target surface and the average normal vector deviation of the discrete sampling points of the free surface, respectively.
4. The multi-objective optimization design method for free-form surfaces for laser shaping according to claim 2, characterized in that: The second objective function is established based on the standard deviation of the rate of change of Gaussian curvature of discrete sampling points of the free-form surface, comprising: The Gaussian curvature K of the discrete sampling points of the free surface is calculated as follows: The gradient of the discrete sampling points of the free surface along the x-axis and y-axis Represents the rate of change of the Gaussian curvature of the discrete sampling points of the free surface; Establish the second objective function f2, the calculation formula is as follows: In the formula Indicates the Gaussian curvature gradient of the discrete sampling points of the free surface; Represents the average value of the Gaussian curvature gradient of the discrete sampling points of the free surface; and represents the Gaussian curvature gradient of the discrete sampling points of the free-form surface along the x-direction and the y-direction; N represents the number of discrete sampling points of the free-form surface.
5. The multi-objective optimization design method for free-form surfaces for laser shaping according to claim 1, characterized in that: The multi-objective particle swarm algorithm is used to optimize the coefficients in the polynomial mathematical model of the free-form surface by using each particle to represent a coefficient combination of the polynomial mathematical model of the free-form surface, and the output Pareto optimal solution set includes: Initialize the position and velocity of the particle swarm and calculate the objective function value of each particle; According to the objective function value of each particle, iteratively update the position and velocity of each particle, and calculate the objective function value of each particle after the update, and iterate this step in a loop; By updating the position and velocity of each particle within the number of iterations, the coefficients of the polynomial mathematical model of the free-form surface are gradually optimized; When the maximum number of iterations is reached, the optimization process ends and the Pareto optimal solution set is output; Among them, the update formulas for particle velocity and position are as follows: Among them, X kl and V kl They represent the position and velocity of the kth particle in the lth dimension respectively; T represents the maximum number of iterations; t represents the current number of iterations, ranging from [1, T]; w(t) represents the inertia coefficient in the current number of iterations; w max With w min are the maximum and minimum values of the inertia coefficient respectively; c1 and c2 represent the learning factors for adjusting the search step size; r1 and r2 represent two random values in the range of [0,1]; P kl represents the historical optimal position of the kth particle in the lth dimension; g l represents the global optimal position among all particles in the lth dimension.
6. The multi-objective optimization design method for free-form surfaces for laser shaping according to claim 1, characterized in that: The light mapping relationship among the light source surface, the free-form surface and the target surface is established according to the light mapping method, and discrete sampling points of the light source surface and discrete sampling points of the target surface are obtained by calculation; The discrete sampling points of the free surface calculated based on the discrete sampling points of the light source surface and the discrete sampling points of the target surface include: The light source surface and the target surface are divided into equal energy grids, and the light mapping relationship among the light source surface, the free-form surface and the target surface is established by the light mapping method. The discrete sampling points of the light source surface and the target surface are calculated according to the divided grids. Based on the discrete sampling points of the light source surface and the target surface, the vector form of Snell's refraction law is used to calculate the discrete sampling points of the free-form surface according to the preset grid direction.
7. The multi-objective optimization design method for free-form surfaces for laser shaping according to claim 1, characterized in that: The performing XY polynomial fitting on the discrete sampling points of the free-form surface to obtain a polynomial mathematical model of the free-form surface as the initial structure of the free-form surface includes: Determine the form and order of the polynomial according to the shape and complexity of the target light spot; Based on the determined polynomial form and order, a preliminary fitting is performed in combination with the discrete sampling points of the free-form surface to obtain a polynomial mathematical model of the free-form surface, which is used as the initial structure of the free-form surface.
8. The multi-objective optimization design method for free-form surfaces for laser shaping according to claim 1, characterized in that: The method of selecting a solution that meets preset conditions from the Pareto optimal solution set and obtaining a corresponding optimized polynomial mathematical model as a target free-form surface and verifying the target free-form surface includes: In the Pareto optimal solution set, the solution that meets the preset conditions is selected and the corresponding optimized polynomial mathematical model is obtained as the target free-form surface, where the preset conditions are to meet the spot uniformity and surface quality; The surface quality of the target free-form surface is analyzed according to the Gaussian curvature of the discrete sampling points of the free-form surface; the light spot uniformity of the target free-form surface is verified by using the simulation results obtained by ray tracing the target free-form surface using optical software; The spot uniformity is described as the ratio of the average irradiance value to the maximum irradiance value, U RSD It represents the relative standard deviation of the irradiance value of each pixel in the output image of the simulation result, and characterizes the uniformity of the spot area formed on the target surface. The calculation formula is as follows: represents the average value of coherent irradiance, I max Represents the maximum value of coherent irradiance, I i represents the coherent irradiance value of each pixel in the spot, N represents the number of pixels in the simulated target plane, where the coherent irradiance value of each pixel in all the spots is I i All are normalized to the range [0,1].
9. A multi-objective optimization design device for free-form surfaces for laser shaping, characterized in that: include: A mapping relationship module, wherein the mapping relationship module is used to establish a light mapping relationship among a light source surface, a free-form surface, and a target surface according to a light mapping method, and calculate discrete sampling points of the light source surface and discrete sampling points of the target surface; and calculate discrete sampling points of the free-form surface according to discrete sampling points of the light source surface and discrete sampling points of the target surface; A polynomial construction module, wherein the polynomial construction module is used to perform XY polynomial fitting on discrete sampling points of the free-form surface to obtain a polynomial mathematical model of the free-form surface as an initial structure of the free-form surface; An optimization coefficient module, wherein the optimization coefficient module is used to construct an objective function with optical indicators and surface quality as optimization targets of the free-form surface, and each particle represents a coefficient combination of a polynomial mathematical model of the free-form surface, and uses a multi-objective particle swarm algorithm to optimize the coefficients in the polynomial mathematical model of the free-form surface, and output a Pareto optimal solution set; The structure selection module is used to select a solution that meets preset conditions in the Pareto optimal solution set, obtain the corresponding optimized polynomial mathematical model as the target free-form surface, and verify the target free-form surface.
10. A computer-readable storage medium for multi-objective optimization design of free-form surfaces for laser shaping, characterized in that: include: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a multi-objective optimization design method for free-form surfaces for laser shaping are implemented as claimed in any one of claims 1 to 8.
Citation Information
Patent Citations
AGV system optimal configuration method based on response surface and genetic algorithm
CN112084708A
Modeling and optimization design method for free molded surface of tree-shaped cold plate channel
CN116384171A
Design method of compact dodging free-form surface lens
CN117130153A
Computer-implemented land planning system and method with automated parking area design tools
US20120330621A1
Cited By
Beam shaping method and system of laser
CN120255166A
