Free-form surface lens design method and system for laser welding
Through the free-form lens design method, the quasi-Newton method is used to optimize the beam distribution, which solves the problem of low beam shaping flexibility in traditional laser welding technology, achieves efficient spot control, and improves the welding speed and quality.
Patent Information
- Application Number
- CN202411157670.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-10-15
AI Technical Summary
The beam shaping method in traditional laser welding technology has low design flexibility, high cost, and low energy efficiency. It is difficult to achieve high-degree-of-freedom spot control, resulting in limited welding speed and quality.
Using the free-form lens design method, by constructing a free-form lens system and optimizing the beam distribution using the quasi-Newton method, the light spot control with a high degree of freedom is achieved, including light source domain division, flux distribution and optical path optimization, and a free-form surface suitable for laser welding is designed. lens.
It improves the beam shaping capability of laser welding, reduces system complexity and cost, enhances welding speed and quality, reduces spatter and pores, and improves energy utilization and design flexibility.
Smart Images

Figure CN118778250A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of optical lenses, and more particularly to a design method and system for a free-form surface lens for laser welding. Background Art
[0002] Laser welding is a technology widely used in industrial processes such as automobiles, shipbuilding, and battery packs. With the development of industry, the demand for faster welding speeds in industrial production is increasing. At present, power is actually no longer the main limiting factor for the speed of the laser welding process. Instead, at high welding speeds, other physical phenomena such as spatter, concave edges, humps, and weld porosity become the dominant limiting factors. These phenomena have been shown to be greatly reduced when a special illumination distribution is used, which consists of a central point surrounded by a ring with a certain ratio of power between the central point and the surrounding ring. Therefore, how to shape the laser into such a spot-ring spot with a specific power ratio has become a key need in the current laser welding field to improve welding speed and weld quality.
[0003] Most of the beam shaping methods used in the traditional laser welding industry include diffractive optical elements, specially arranged custom fiber bundles, shaped fiber cores, multiple laser combinations with each laser individually shaped, electro-vibration scanners, digital reflector devices, refractive micro-optical systems, and multiple traditional lens combination systems. These methods all have single or multiple disadvantages, such as: the size and shape of the design spot, inflexible power distribution, low design freedom, not a passive component (moving mechanical parts or electronic equipment is required), low laser damage threshold, high processing cost, complex optical system, low energy efficiency, etc.
[0004] Therefore, how to propose a free-form surface lens design method and system for laser welding to achieve high-degree-of-freedom and efficient spot control of the laser beam is an urgent problem that technical personnel in this field need to solve. Summary of the invention
[0005] In view of this, the present invention provides a free-form surface lens design method and system for laser welding, which can achieve high-degree-of-freedom and efficient spot control of the laser beam.
[0006] In order to achieve the above object, the present invention adopts the following technical solution:
[0007] On the one hand, the present invention provides a method for designing a free-form surface lens for laser welding, comprising the following steps:
[0008] Constructing a free-form surface lens system, the free-form surface lens system comprising a light source, a collimating lens group, and a free-form surface lens connected in sequence; the front surface of the free-form surface lens is a plane, and the rear surface of the free-form surface lens is a free-form surface;
[0009] The collimating lens group collimates the light beam emitted by the light source into a parallel light beam and then injects the parallel light beam into the front surface of the free-form surface lens;
[0010] A coordinate system is established with the incident center of the parallel light beam on the front surface of the free-form surface lens as the origin, the incident direction of the parallel light beam as the z-axis, and the front surface of the free-form surface lens as the xOy plane;
[0011] The light source domain is evenly divided into M*N grids to obtain (M+1)*(N+1) source grid points;
[0012] Obtain the flux value of each source grid point, and sum the flux values of each source grid point to obtain the total luminous flux value of the source surface;
[0013] Based on the spot distribution requirements, the total light flux of the source surface is allocated to discrete points in the target domain;
[0014] An optimization problem is constructed according to the allocation result, and the optimization problem is solved using a quasi-Newton method to obtain a discrete point cloud of a free-form surface;
[0015] The free-form surface discrete point cloud is used to complete the design of the free-form surface lens.
[0016] Preferably, obtaining the flux value of each source grid point includes:
[0017] Calculate the light intensity of each source grid point, and obtain the flux value of each source grid point according to the light intensity of each source grid point;
[0018] The flux value at each source grid point is proportional to the light intensity.
[0019] Preferably, the light spot distribution requirements include design requirements for different light spot types;
[0020] The light spot types include point ring light spots, single or multiple ring light spots, square light spots, Gaussian light spots and combinations of various light spots.
[0021] Preferably, when the spot distribution requirement is a point ring spot design requirement, the steps of allocating the total light flux of the source surface to the discrete points of the target domain based on the spot distribution requirement are as follows:
[0022] Predetermine the radius of the ring spot and the energy distribution ratio between the ring spot and the point spot;
[0023] The flux values of the ring light spot and the point light spot are obtained according to the total light flux value of the source surface and the distribution energy ratio;
[0024] The flux distribution of the target domain discrete points is performed based on the ring spot flux value and the point spot flux value, and the target domain discrete points include the ring spot discrete points and the point spot discrete points.
[0025] Preferably, the flux distribution of discrete points in the target domain is performed based on the ring spot flux value and the point spot flux value, including:
[0026] Uniformly select k discrete points of the ring light spot on the circle where the ring light spot radius is located, and evenly distribute the ring light spot flux values to the k discrete points of the ring light spot;
[0027] Take a spot discrete point at the spot and assign all the spot flux values to the spot discrete point.
[0028] Preferably, the optimization problem constructed is as follows:
[0029]
[0030] In the formula, φ c is the overall optical path distribution at the target domain, is the optical path at the jth point in the target domain, is the radiation flux value at the jth point in the target domain, r ij For point To point x i The distance represents the position coordinates of the i-th point on the exit surface of the free-form surface, x i represents the position coordinates of the i-th point on the exit surface of the free-form surface, σ i is the radiation flux value of the i-th point on the exit surface of the free-form surface.
[0031] Preferably, the optimization problem is solved using a quasi-Newton method to obtain a discrete point cloud of a free-form surface, including:
[0032] The quasi-Newton method is used to solve the optimization problem to obtain the optical path φ at the target domain. c ;
[0033] Get the optical path φ at the target area c Afterwards, according to Solve the optical path φ at the exit of the free-form surface;
[0034] The front surface of the free-form lens is taken as the zero plane of the optical path, and the discrete point cloud of the free-form surface is solved through the direction and position of the light emitted from the front surface of the free-form lens, as well as the lens refractive index and optical path difference.
[0035] Preferably, before using the quasi-Newton method to solve the optimization problem, the free-form surface needs to be initialized, that is, an initial free-form surface is constructed, and the initial free-form surface is a generalized Cartesian ellipse envelope surface.
[0036] On the other hand, the present invention further provides a free-form surface lens design system for laser welding, which is used to implement the free-form surface lens design method for laser welding, comprising:
[0037] A coordinate system building module, used to establish a coordinate system with the incident center of the parallel light beam at the front surface of the free-form surface lens as the origin, the incident direction of the parallel light beam as the z-axis, and the front surface of the free-form surface lens as the xOy plane;
[0038] The source point acquisition module is used to evenly divide the light source domain into M*N grids to obtain (M+1)*(N+1) source grid points;
[0039] A flux value calculation module is used to obtain the flux value of each source grid point, and sum the flux values of each source grid point to obtain the total luminous flux value of the source surface;
[0040] A target domain flux allocation module is used to allocate the total light flux of the source surface to discrete points in the target domain based on the light spot distribution requirements;
[0041] A solution module, used for constructing an optimization problem according to the allocation result, solving the optimization problem using a quasi-Newton method, and obtaining a discrete point cloud of a free-form surface;
[0042] The design module is used to complete the design of the free-form surface lens by using the free-form surface discrete point cloud.
[0043] It can be seen from the above technical solutions that the present invention discloses a free-form surface lens design method and system for laser welding, which has the following beneficial effects compared with the prior art:
[0044] 1. A free-form surface optical solution is adopted to shape and control the laser beam to form the type of spot required in laser welding. It is only necessary to set the corresponding target surface scatter points in the design optical path. The free-form surface of the present invention has a higher degree of design freedom and a more flexible spatial layout capability. The system formed is relatively simple, convenient for installation and beam alignment, and the cost of the free-form surface is low, and the processing difficulty is lower than that of the diffraction element. At the same time, the use of a transmissive free-form surface can achieve a simpler optical path structure and less coating damage than the reflective type. Applying it to the field of laser welding can shape and focus the laser into the spot shape and energy distribution required for welding, greatly improving the energy distribution adaptability of various types of welding, and it greatly improves the spatter and pores in the welding process, and is expected to further improve the speed and quality of laser welding.
[0045] 2. The many-to-one mapping of light in the light source domain to light in the target domain has better dimming effect, higher design freedom and higher energy utilization compared with the traditional one-to-one light mapping. It can also reduce the influence of light diffraction. Applying it to the design of free-form surface lenses for laser welding can meet the requirements of most types of laser welding spots and has high robustness. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A schematic structural diagram of a free-form surface lens system for laser welding provided by the present invention;
[0047] Figure 2 Schematic diagram of the structure of the free-form surface lens;
[0048] Figure 3 A schematic diagram of the light spot energy distribution on the target surface output by the free-form surface lens system provided in Example 1 of the present invention;
[0049] Figure 4 A schematic diagram of cross-sectional energy distribution of a target surface output by the free-form surface lens system provided in Example 1 of the present invention;
[0050] Figure 5 A schematic diagram of the light spot energy distribution on the target surface output by the free-form surface lens system provided in Example 2 of the present invention;
[0051] Figure 6 A schematic diagram of cross-sectional energy distribution of a target surface output by the free-form surface lens system provided in Example 2 of the present invention;
[0052] Figure 7 A schematic diagram of the light spot energy distribution on the target surface output by the free-form surface lens system provided in Example 3 of the present invention;
[0053] Figure 8 Schematic diagram of cross-sectional energy distribution of a target surface output by the free-form surface lens system provided in Example 3 of the present invention. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] On the one hand, an embodiment of the present invention discloses a method for designing a free-form surface lens for laser welding, comprising the following steps:
[0056] S0. Construct a free-form lens system, such as Figure 1 As shown, the free-form surface lens system includes a light source 1, a collimating lens group 2, and a free-form surface lens 3 which are connected in sequence.
[0057] Light source 1 generally uses a more common fiber laser, which has the characteristics of a point divergent light source. Collimating lens group 2 is set between free-form surface lens 3 and light source 1 and is located on the optical path. In this way, the divergent light source will become a parallel light beam after passing through collimating lens group 2, so as to facilitate the subsequent free-form surface regulation. Collimating lens group 2 is a single collimating lens or a combination of multiple collimating lenses. The front surface of free-form surface lens 3 is a plane, and the rear surface is a free-form surface. The side of the lens is frosted to reduce stray light. For specific lens shapes, please refer to Figure 2 The free-form surface shape generally needs to be calculated based on the given shaping spot characteristics, laser beam size, laser beam type and laser welding working distance.
[0058] Specifically, the Gaussian beam emitted by the fiber laser is incident on the collimating lens group 2, and after being collimated into a parallel Gaussian beam, it is incident on the free-form surface lens 3 along the optical path. The shape of the free-form surface lens 3 is calculated based on the given shaping spot characteristics, laser beam size, laser beam type and laser welding working distance. After shaping and focusing, the required spot is obtained on the target surface 4. At this time, the working plane of the optical system is at the target surface 4.
[0059] S1. Establish a coordinate system with the incident center of the parallel light beam on the front surface of the free-form surface lens as the origin, the incident direction of the parallel light beam as the z-axis, and the front surface of the free-form surface lens as the xOy plane.
[0060] Take this coordinate system as a benchmark, and the global coordinate values in subsequent steps will use this coordinate system as a reference.
[0061] S2. Evenly divide the light source domain into M*N grids to obtain (M+1)*(N+1) source grid points.
[0062] S3. Obtain the flux value of each source grid point, and sum the flux value of each source grid point to obtain the total luminous flux value of the source surface.
[0063] Each source grid point has a known flux value, which is transmitted by the light at that location, and its magnitude is recorded as σ mn , m=1,2,3,…,M+1; n=1,2,3,…,N+1.
[0064] This step calculates the light intensity of each source grid point, and obtains the flux value of each source grid point according to the light intensity of each source grid point; wherein the flux value of each source grid point is proportional to the light intensity.
[0065] Specifically, the lateral intensity distribution of the parallel Gaussian beam is as follows:
[0066]
[0067] In the formula, I0 is the light intensity at the optical axis, which is generally normalized to 1, r represents the distance between a point in the beam and the central axis, and ω represents the light intensity drop to 1 / e of the central light intensity. 2 The beam diameter at , assuming the maximum beam size is r max .
[0068] The flux value is proportional to the light intensity I(r mn ), and normalize it. At this time, the flux at the source grid point is obtained. For the convenience of subsequent calculations, the flux at the source grid point is re-recorded as σ i , i=1,2,3,…,(M+1)*(N+1), sum the flux at each point to get the total luminous flux value σ of the source surface sum .
[0069] S4. Allocate the total light flux of the source surface to discrete points in the target domain based on the light spot distribution requirements.
[0070] The light spot distribution requirements include the design requirements of different light spot types;
[0071] The light spot types include point ring light spot, single or multiple ring light spots, square light spot, Gaussian light spot and a combination of various light spots.
[0072] In this embodiment, a point ring light spot is taken as an example, and the total light flux of the source surface is distributed to discrete points in the target domain based on the point ring light spot distribution requirements, including the following steps:
[0073] S41. Predetermine the ring spot radius R and the ring spot distribution energy ratio (P1) and the point spot distribution energy ratio (1-P1);
[0074] S42. According to the total luminous flux value of the source surface σ sum And the distribution energy ratio is used to obtain the ring spot flux value and the point spot flux value;
[0075] Ring spot flux value = P1*σ sum ;
[0076] Point spot flux value = (1-P1)*σ sum ;
[0077] S43. Based on the ring spot flux value and the point spot flux value, the flux distribution of the target domain discrete points is performed. The target domain discrete points include the ring spot discrete points and the point spot discrete points. This step specifically includes:
[0078] S431. Uniformly select k discrete points of the ring spot on a circle with the ring spot radius R as the radius, and evenly distribute the ring spot flux values to the k discrete points of the ring spot. Then the flux value at each discrete point of the ring spot is P1*σ sum / k;
[0079] S432. Take a discrete point at the spot, and assign all the spot flux values to the discrete point. The spot is located at the center of the target surface.
[0080] The k+1 discrete points in the target domain are denoted as σ j , j=1,2,...,k+1.
[0081] S5. Construct an optimization problem based on the allocation results, use the quasi-Newton method to solve the optimization problem, and obtain a discrete point cloud of the free surface.
[0082] In order to achieve the flux distribution from the source domain to the target domain, it is necessary to solve the optical path φ at the exit of the free surface and the optical path φ at the target domain. c , in order to effectively control the propagation of light, the problem is described as a discrete form of the Monge-Kantorovich problem, in express and x i The problem can be transformed into an unconstrained optimization problem. The unconstrained optimization problem can be solved using the quasi-Newton method to obtain the optical path φ at the target domain. c , and then in turn through Calculate the optical path φ at the exit of the free-form surface. Generally, the front surface plane of the free-form surface lens is taken as the zero plane of the optical path. Therefore, the discrete point cloud of the free-form surface can be solved by the direction and position of the light emitted from the front surface, the lens refractive index and the optical path difference.
[0083] In this embodiment, the optical path difference is the difference between the optical path φ at the exit of the free-form surface and the optical path φ0 of the front surface of the free-form surface (the plane, where the incident light is collimated light, the optical path of the entire plane is 0). After obtaining the optical path difference, the distance traveled by the light from the front surface to the back surface is obtained according to ρ←(φ-φ0) / ni, thereby obtaining a discrete point cloud of the free-form surface.
[0084] Specifically, suppose that in the n+1th iteration, the free surface x obtained in the nth iteration is n as a reference plane and use the eikonal φ on this plane n As the input of the Eigenfunction calculation, the Eigenfunction φ of the n+1th iteration is calculated n+1 , the eikonal distribution uses the following formula to update the free surface x n+1 :
[0085] x n+1 =x 入射面 +ρ n+1 *I
[0086] where x 入射面 represents the intersection point of the light ray with the incident surface, ρn+1 =(φ n+1 -φ0) / ni,σ n+1 represents the distance of the line propagating from the incident surface to the free-form surface in the n+1th iteration, and ni represents the refractive index of the free-form surface lens. Until the difference between the actual flux of the target surface and the ideal value reaches a certain threshold, this embodiment adopts the optimized algorithm in the quasi-Newton method, and after solving the previous free-form surface, the actual flux distribution σ at the target surface can be calculated. e , and then with the ideal target surface flux distribution σ c Perform the difference, and minimizing this difference requires optimizing φ, so as to update the free surface again until the difference is very small and reaches the threshold, and the final free surface is obtained.
[0087] The initialization of the free-form surface before solving is crucial to the convergence of the iterative method. If the shape of the initial free-form surface is far from the final solution, it may affect the convergence of the algorithm. In this embodiment, the optical path φ of a target surface is first initialized. c , and then construct the initial free-form surface into a generalized Cartesian elliptical envelope surface. The construction method can be deduced from the principle of equal optical path. With the initial free-form surface x 0 , we can get the coordinate value x of the i-th discrete point on the free surface i The initial value is the initial coordinate (fx, fy, fz). The solution algorithm continuously iterates and updates the free-form surface until the difference between the actual flux of the target surface and the ideal value reaches a certain threshold, and a relatively ideal free-form surface point cloud is obtained.
[0088] S6. Use the free-form surface discrete point cloud to complete the design of the free-form surface lens.
[0089] The free-form surface point cloud obtained in S5 is imported into the 3D modeling software for fitting to obtain the actual free-form surface lens.
[0090] In practical applications, the spot type of the target surface is not limited to the point ring spot, and other types of complex spots can be realized, such as single or multiple ring spots, square spots, Gaussian spots, and combinations of various spots. It is only necessary to set the corresponding target surface scattered points in the design. The energy illumination ratio at each point of the target surface spot can also be adjusted arbitrarily according to needs; at the same time, the size of the free-form surface lens, the beam size, the beam type, etc. can be adjusted according to actual needs, which is explained according to the following embodiments:
[0091] Example 1
[0092] Reference Figure 1 The design example shown in the figure has the following design parameters: the distance from the free-form surface lens to the target surface is 100 mm, the laser beam is a Gaussian beam with a diameter of 5 mm, the annular spot radius is 0.3 mm, the diameter of the free-form surface lens is 10 mm, and the thickness is 2.32 mm. The energy distribution diagram of the target surface spot is shown in the figure below: Figure 3 As shown, the cross-sectional diagram is Figure 4 As shown, according to the calculation of the simulation software, at this time, the energy proportion of the point light spot is 49.7%, and the energy proportion of the ring light spot is 50.3%, which is consistent with the energy proportion of the point ring in the pre-designed light spot.
[0093] Example 2
[0094] The optical system structure used in Example 2 is the same as that in Example 1, and the spot ring light spot size achieved is the same as that in Example 1. The difference lies in the different shapes of the rear surfaces of the free-form surface lenses used and the different energy distributions between the output light spot ring and the points. The present invention can design a free-form surface capable of outputting light spots with different energy proportions by simply adjusting the flux value of the scattered points on the target surface in the design method. The energy distribution diagram of the light spot on the target surface is shown in FIG. Figure 5 As shown, the cross-sectional diagram is Figure 6 As shown, according to the calculation of the simulation software, at this time, the energy proportion of the point light spot is 79.5%, and the energy proportion of the ring light spot is 20.5%, which is consistent with the energy proportion of the point ring in the pre-designed light spot.
[0095] Example 3
[0096] Example 3 provides a free-form surface optical system that outputs a complex light spot composed of a central light spot, a square light spot, and a ring light spot, to demonstrate the high freedom of the free-form surface design method provided by the present invention and the arbitrariness of the light spot shape output. The structure of the optical system is the same as that in Example 1, except that the shape of the free-form surface lens used is different. The energy distribution diagram of the target surface light spot is shown in FIG. Figure 7 As shown, the cross-sectional diagram is Figure 8 As shown, according to the calculation of the simulation software, the energy of the ring spot accounts for 36.4%, the energy of the square spot accounts for 36.8%, and the energy of the point spot accounts for 26.8%, which is consistent with the energy proportion of the spot ring in the pre-designed spot. In laser welding, these complex spot parts will have practical value, and different types of focusing spots need to be selected in combination with specific processing technology. However, the free-form surface lens design method provided by the present invention can be generally applicable to the free-form surface solution of various types of spots.
[0097] On the other hand, the present invention further provides a free-form surface lens design system for laser welding, which is used to implement the free-form surface lens design method for laser welding, comprising:
[0098] A coordinate system building module, used to establish a coordinate system with the incident center of the parallel light beam at the front surface of the free-form surface lens as the origin, the incident direction of the parallel light beam as the z-axis, and the front surface of the free-form surface lens as the xOy plane;
[0099] The source point acquisition module is used to evenly divide the light source domain into M*N grids to obtain (M+1)*(N+1) source grid points;
[0100] A flux value calculation module is used to obtain the flux value of each source grid point, and sum the flux values of each source grid point to obtain the total luminous flux value of the source surface;
[0101] A target domain flux allocation module is used to allocate the total light flux of the source surface to discrete points in the target domain based on the light spot distribution requirements;
[0102] A solution module is used to construct an optimization problem according to the allocation results, solve the optimization problem using the quasi-Newton method, and obtain a discrete point cloud of the free-form surface;
[0103] The design module is used to complete the design of free-form surface lenses using the discrete point cloud of the free-form surface.
[0104] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0105] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for designing a free-form surface lens for laser welding, characterized in that: The following steps are involved: Constructing a free-form surface lens system, the free-form surface lens system comprising a light source, a collimating lens group, and a free-form surface lens connected in sequence; the front surface of the free-form surface lens is a plane, and the rear surface of the free-form surface lens is a free-form surface; The collimating lens group collimates the light beam emitted by the light source into a parallel light beam and then injects the parallel light beam into the front surface of the free-form surface lens; A coordinate system is established with the incident center of the parallel light beam on the front surface of the free-form surface lens as the origin, the incident direction of the parallel light beam as the z-axis, and the front surface of the free-form surface lens as the xOy plane; The light source domain is evenly divided into M*N grids to obtain (M+1)*(N+1) source grid points; Obtain the flux value of each source grid point, and sum the flux values of each source grid point to obtain the total luminous flux value of the source surface; Based on the spot distribution requirements, the total light flux of the source surface is allocated to discrete points in the target domain; An optimization problem is constructed according to the allocation result, and the optimization problem is solved using a quasi-Newton method to obtain a discrete point cloud of a free-form surface; The free-form surface discrete point cloud is used to complete the design of the free-form surface lens.
2. A method for designing a free-form surface lens for laser welding according to claim 1, characterized in that: Get the flux value for each source grid point, including: Calculate the light intensity of each source grid point, and obtain the flux value of each source grid point according to the light intensity of each source grid point; The flux value at each source grid point is proportional to the light intensity.
3. The method for designing a free-form surface lens for laser welding according to claim 1, characterized in that: The light spot distribution requirements include design requirements for different light spot types; The light spot types include point ring light spots, single or multiple ring light spots, square light spots, Gaussian light spots and combinations of various light spots.
4. The method for designing a free-form surface lens for laser welding according to claim 3, characterized in that: When the spot distribution requirement is a point ring spot design requirement, the steps of allocating the total light flux of the source surface to the discrete points of the target domain based on the spot distribution requirement are as follows: Predetermine the radius of the ring spot and the energy distribution ratio between the ring spot and the point spot; The flux values of the ring light spot and the point light spot are obtained according to the total light flux value of the source surface and the distribution energy ratio; The flux distribution of the target domain discrete points is performed based on the ring spot flux value and the point spot flux value, and the target domain discrete points include the ring spot discrete points and the point spot discrete points.
5. The method for designing a free-form surface lens for laser welding according to claim 4, characterized in that: The flux distribution of discrete points in the target domain is performed based on the ring spot flux value and the point spot flux value, including: Uniformly select k discrete points of the ring light spot on the circle where the ring light spot radius is located, and evenly distribute the ring light spot flux values to the k discrete points of the ring light spot; Take a spot discrete point at the spot and assign all the spot flux values to the spot discrete point.
6. The method for designing a free-form surface lens for laser welding according to claim 5, characterized in that: The optimization problem constructed is as follows: In the formula, φ c is the overall optical path distribution at the target domain, is the optical path at the jth point in the target domain, is the radiation flux value at the jth point in the target domain, r ij For point To point x i The distance represents the position coordinates of the i-th point on the exit surface of the free-form surface, x i represents the position coordinates of the i-th point on the exit surface of the free-form surface, σ i is the radiation flux value of the i-th point on the exit surface of the free-form surface.
7. The method for designing a free-form surface lens for laser welding according to claim 6, characterized in that: The optimization problem is solved using the quasi-Newton method to obtain a discrete point cloud of the free-form surface, including: The quasi-Newton method is used to solve the optimization problem to obtain the optical path φ at the target domain. c ; Get the optical path φ at the target area c Afterwards, according to Solve the optical path φ at the exit of the free-form surface; The front surface of the free-form lens is taken as the zero plane of the optical path, and the discrete point cloud of the free-form surface is solved through the direction and position of the light emitted from the front surface of the free-form lens, as well as the lens refractive index and optical path difference.
8. The method for designing a free-form surface lens for laser welding according to claim 7, characterized in that: Before using the quasi-Newton method to solve the optimization problem, the free-form surface must be initialized, that is, an initial free-form surface must be constructed. The initial free-form surface is a generalized Cartesian ellipse envelope surface.
9. A free-form surface lens design system for laser welding, used to implement a free-form surface lens design method for laser welding as claimed in any one of claims 1 to 8, characterized in that: include: A coordinate system building module is used to establish a coordinate system with the incident center of the parallel light beam at the front surface of the free-form surface lens as the origin, the incident direction of the parallel light beam as the z-axis, and the front surface of the free-form surface lens as the xOy plane; The source point acquisition module is used to evenly divide the light source domain into M*N grids to obtain (M+1)*(N+1) source grid points; A flux value calculation module is used to obtain the flux value of each source grid point, and sum the flux values of each source grid point to obtain the total luminous flux value of the source surface; A target domain flux allocation module is used to allocate the total light flux of the source surface to discrete points in the target domain based on the light spot distribution requirements; A solution module, used for constructing an optimization problem according to the allocation result, solving the optimization problem using a quasi-Newton method, and obtaining a discrete point cloud of a free-form surface; The design module is used to complete the design of the free-form surface lens by using the free-form surface discrete point cloud.
