Laser processing control optimization method and beam combination device based on data analysis
Through the laser processing control optimization method based on data analysis, reasonable positioning points are selected and weights are constructed, which solves the accuracy problem caused by unreasonable selection of positioning points in traditional laser cutting path planning, and achieves more efficient laser cutting path optimization.
Patent Information
- Application Number
- CN202410931494.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-12
AI Technical Summary
In the traditional laser cutting path planning method, unreasonable selection of positioning points leads to deviation and repetition of the laser cutting path, resulting in poor cutting control accuracy.
Using a laser processing control optimization method based on data analysis, by obtaining the laser cutting pattern, the pixels on the edge line of the primitive are selected as positioning points, and the associated points and primitive spans are constructed based on the distance and distribution relationship between the pixels and the primitives. Weight and primitive spacing distance weight to optimize the laser cutting path.
It effectively reduces the empty stroke of the laser cutting path and the number of repeated passes through the cut area, improves the accuracy of laser cutting control, and obtains a better cutting path solution.
Smart Images

Figure CN118455778B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of laser beam processing technology, and in particular to a laser processing control optimization method and a beam combination device based on data analysis. Background Art
[0002] Laser cutting is a laser beam processing method that uses laser to heat the surface of the material to vaporize and melt the material, and uses jets to blow away excess material to complete the cutting. During the laser cutting process, the laser head is controlled to cut according to the design pattern. The traditional laser cutting path planning method pre-sets positioning points on the design pattern, converts the laser cutting process into a typical GTPS generalized business travel path problem model, and then uses intelligent optimization algorithms such as ant colony algorithms for path planning to obtain the shortest cutting path solution and complete the path control optimization during the laser processing process.
[0003] In the traditional laser cutting path planning method, the quality of the positioning point setting affects the quality of the final cutting path plan. Unreasonable positioning point selection will increase the risk of the algorithm falling into the local optimal solution, resulting in deviation and repetition of the cutting path. Therefore, in the optimization and control of the laser cutting path, there is a problem of poor accuracy of laser cutting control caused by unreasonable positioning point selection. Summary of the invention
[0004] In order to solve the above technical problems, the purpose of this application is to provide a laser processing control optimization method and a beam combination device based on data analysis. The technical solutions adopted are as follows:
[0005] In a first aspect, an embodiment of the present application provides a laser processing control optimization method based on data analysis, the method comprising the following steps:
[0006] S1, a laser processing pattern acquisition step, obtaining a laser cutting pattern for laser cutting, and dividing the laser cutting pattern into various graphic elements according to the pattern texture;
[0007] S2, laser positioning point selection step, selects the positioning point of each primitive according to the spatial distribution relationship between the pixel points on the edge lines of different primitives, specifically including:
[0008] S21, for pixel points located on the edge line of each primitive, obtaining the associated points between each pixel point and the edges of the other primitives according to the distances between each pixel point and the edges of the other primitives;
[0009] S22, obtaining a primitive span weight according to a primitive distribution between each pixel point and associated points of other primitives;
[0010] S23, combining the distance between each pixel point and the associated points of all other primitives and the primitive span weight to obtain the primitive interval distance weight;
[0011] S24, selecting all the positioning points of each primitive according to the distance between all the pixel points on the edge line of each primitive and the numerical distribution of the primitive interval distance weight;
[0012] S3, the laser processing path optimization step, determines the laser cutting path plan according to the spatial position distribution of all positioning points of all graphic elements.
[0013] Furthermore, the method for obtaining the associated points between each pixel and other primitives includes:
[0014] Obtain a circular area with each pixel point as the center and a preset value as the radius; continuously expand the radius until the edge of the circular area intersects with the edge of each other primitive to obtain an intersection point; record the intersection point as the association point between each pixel point and each other primitive.
[0015] Furthermore, the primitive span weight is obtained according to the primitive distribution between each pixel point and the associated points of other primitives, including:
[0016] Any pixel point on the edge line of the primitive is recorded as the target point. For each associated point of the target point, the target point and the associated point are connected to obtain a connecting line. The length of the connecting line contained in the primitive where the target point is located is obtained and recorded as the primitive span. The ratio of the primitive span to the length of the connecting line is used as the primitive span weight of each associated point of the target point.
[0017] Furthermore, the method for obtaining the primitive interval distance weight includes:
[0018] Arrange the Euclidean distances between each pixel and the associated points of all other primitives from small to large to obtain the primitive spacing sequence of each pixel; obtain the primitive range weight according to the sequence number of the corresponding element of the associated point of each pixel in the primitive spacing sequence and the primitive span weight;
[0019] Taking the primitive range weight of the associated point corresponding to each element in the primitive spacing sequence of the target point as the weight, the weighted average value of all element values in the primitive spacing sequence of the target point is calculated and recorded as the primitive spacing distance weight of the target point.
[0020] Furthermore, the method for obtaining the primitive range weight includes: recording the primitive range weight of the associated point corresponding to the sth element in the primitive spacing sequence of the target point as ,in, is a linear normalization function; s is the number of the sth element in the primitive spacing sequence of the target point, It is the primitive span weight of the associated point corresponding to the sth element in the primitive spacing sequence of the target point.
[0021] Furthermore, selecting all the positioning points of each primitive according to the distance between all the pixel points on the edge line of each primitive and the numerical distribution of the primitive interval distance weight includes:
[0022] Obtain the upper limit of the number of positioning points according to the number of pixels on the edge line of each primitive;
[0023] Among all the pixel points on the edge line of each primitive, the pixel point with the largest primitive distance weight is used as the first positioning point of each primitive;
[0024] Arrange all pixel points on the edge line of each primitive from large to small according to the primitive interval distance weight to obtain the positioning point selection sequence of each primitive;
[0025] For the edge line of each primitive, calculate the slope of each pixel on the edge line, take the pixel with the largest slope as the starting point, and number all the pixels in the clockwise direction to obtain the position sequence number of each pixel on the edge line;
[0026] Select the positioning point according to the position sequence difference between each pixel point and the positioning point in the positioning point selection sequence of each primitive;
[0027] Repeat the positioning point selection process until the number of positioning points is equal to the upper limit of the number of positioning points, and obtain all the positioning points of each primitive.
[0028] Further, obtaining the upper limit of the number of positioning points based on the number of pixel points on the edge line of each primitive includes: obtaining the number of pixel points on the edge line of each primitive, recording it as the total number of edge points of each primitive, and taking the ratio of the total number of edge points to a preset number as the upper limit of the number of positioning points of each primitive.
[0029] Furthermore, the method for selecting a positioning point includes:
[0030] Each pixel point starting from the second pixel point in the positioning point selection sequence of each primitive is recorded as a pending point in turn, and the minimum value of the difference in position sequence number between the pending point and all the positioning points of each primitive is obtained; if the minimum value is greater than a first preset value, the pixel point is used as the positioning point.
[0031] Further, the path scheme for laser cutting is determined according to the spatial position distribution of all positioning points of all graphic elements, specifically including:
[0032] The number of graphics elements in the laser cutting pattern is used as the number of rows of individuals in the genetic algorithm, and all the positioning points of all graphics elements are input into the genetic algorithm to obtain the optimal laser cutting path solution.
[0033] In the second aspect, an embodiment of the present application also provides a beam combining device, including: a laser light source, wherein a polarization beam splitter, a beam combiner and a focusing module are arranged on the light output path of the laser light source, the polarization beam splitter splits the light beam emitted by the laser light source into a first light beam and a second light beam with different polarization directions; a shaping module is arranged on the light path of the first light beam, the shaping module shapes the first light beam into a strip light beam for output; a multi-focus module is arranged on the light path of the second light beam, the multi-focus module splits the second light beam to form a plurality of point light beams that are output parallel to the strip light beam; the beam combiner combines the strip light beam and the plurality of point light beams to form a combined light beam, and the focusing module focuses the combined light beam to form a preset combined light spot on a receiving surface; and also includes a controller and a computer program in the controller and runnable on the controller, characterized in that when the controller executes the computer program, the steps of the laser processing control optimization method based on data analysis as described in any one of the laser processing control optimization methods based on data analysis are implemented.
[0034] This application has at least the following beneficial effects:
[0035] In the optimization and control of the laser cutting path, the present application has the problem that the laser cutting scheme fails to reach the optimal solution due to unreasonable selection of positioning points. Firstly, the influence of primitive distribution on the selection of positioning points in the laser cutting path planning process is analyzed, and the associated points are divided according to the distance between the edge pixels of the primitives. The primitive span weight is constructed according to the coincidence of the connection line of the associated points and the position of the primitives. The primitive span weight can characterize the probability that two pixel points between the primitives are regarded as two sequentially adjacent positioning points when they are used as positioning points; further, the distance between the associated points and the primitive span weight are analyzed in the process of selecting the next positioning point of the current positioning point to construct the primitive interval distance weight, which characterizes the ability of a pixel point in a primitive to reduce empty travel in different path optimization schemes when it is used as a positioning point, and selects the positioning points that save more travel and are more in line with the cutting pattern; finally, the positioning points are selected for the laser cutting pattern according to the primitive interval distance weight, and the optimal laser cutting path is obtained by adopting the intelligent optimization algorithm, so as to solve the problem of poor accuracy of laser cutting control caused by unreasonable selection of positioning points. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0037] Figure 1A flowchart of the steps of a laser processing control optimization method based on data analysis provided in one embodiment of the present application;
[0038] Figure 2 A schematic diagram of a laser cutting pattern provided for one embodiment of the present application;
[0039] Figure 3 A flowchart of a positioning point selection process provided for an embodiment of the present application;
[0040] Figure 4 A flow chart of laser cutting path optimization provided by one embodiment of the present application;
[0041] Figure 5 A schematic diagram of a light beam combining device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. In the absence of conflict, the embodiments of the present application and the technical features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0043] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0044] The specific scheme of the laser processing control optimization method based on data analysis and the beam combination device provided in this application is described in detail below with reference to the accompanying drawings.
[0045] See also Figure 1 , which shows a flowchart of a laser processing control optimization method based on data analysis provided by an embodiment of the present application, the method comprising the following steps:
[0046] S1, obtaining a laser cutting pattern for laser cutting, and dividing the laser cutting pattern into various graphic elements according to the pattern texture.
[0047] A specific implementation scenario of the embodiment of the present application is a path planning scenario for laser cutting. The process of cutting path planning requires setting positioning points according to the cutting pattern of laser cutting. The setting of positioning points needs to comprehensively consider the computational complexity and the accuracy of cutting control. Usually, the cutting pattern of laser cutting is divided into multiple primitives. The circle around each primitive is the path of laser cutting. When the laser cutting of the primitive is completed, the material inside the primitive will fall off the cut plate.
[0048] Therefore, this embodiment first obtains the laser cutting pattern of laser cutting, such as Figure 2 As shown, the laser cutting pattern is a black and white binary image with a white background and black laser cutting pattern lines. Connected domain analysis is performed on the laser cutting pattern to obtain each connected domain, and each connected domain is recorded as each primitive; this application analyzes the path optimization process of laser cutting. The main purpose of path optimization is to reduce the empty stroke of laser cutting and reduce the number of times the laser head repeatedly passes through the cut area. Therefore, this embodiment considers two aspects and selects appropriate positioning points.
[0049] S2, laser positioning point selection step, selects the positioning point of each primitive according to the spatial distribution relationship between the pixel points on the edge lines of different primitives.
[0050] The empty stroke of the laser cutting path mainly exists in the process of the laser head moving from one element to another. Therefore, when selecting the positioning point, you should try to select the pixel point with the shortest distance between the elements and the smallest number of elements as the positioning point based on the spatial position relationship between the elements. This can effectively reduce the empty stroke.
[0051] S21, for pixel points located on the edge line of each primitive, obtaining the associated points between each pixel point and the edges of other primitives according to the distances between each pixel point and the edges of other primitives.
[0052] Therefore, this embodiment divides the associated points of each pixel point on the edge line of the primitive and other primitives according to the distance between the pixel points on the edge line of the primitive; the closer the distance between the pixel point on a primitive and other primitives, the smaller the distance between the pixel point and the associated points of other primitives as a whole, which indicates that the closer the distance between the pixel point and other primitives, the more likely the pixel point is to be preferentially selected as a positioning point on the primitive.
[0053] Specifically, for the pixel points located on the edge line of each primitive, a circular area with each pixel point as the center and a preset value r=1 as the radius is obtained; the radius is continuously expanded until the edge of the circular area intersects with the edge of each other primitive, and the intersection point is obtained; the intersection point is recorded as the association point between each pixel point and each other primitive; the Euclidean distances between the association points of each pixel point and all other primitives are arranged from small to large to obtain the primitive spacing sequence of each pixel point;
[0054] The shorter the Euclidean distance between each pixel and its associated point, the closer the pixel is to other primitives, that is, the smaller the overall value of the primitive spacing sequence, the more likely the pixel should be selected as the positioning point of the primitive to which it belongs.
[0055] S22, obtaining a primitive span weight according to a primitive distribution between each pixel point and associated points of other primitives;
[0056] In order to reduce the number of times the laser head repeatedly passes through the cut area, it is necessary to observe whether the pixel points cross the inside of the primitive. If the line between two pixel points passes through the inside of the primitive, then when these two pixel points are used as connected positioning points, it is possible that the laser head repeatedly passes through the cut area, and then these two pixel points should not be selected as positioning points. For example, when selecting a pixel point as a positioning point, the optimization algorithm tends to select the closest associated point as the next positioning point. Therefore, when selecting a positioning point, it is necessary to consider the primitive area spanned by the pixel point and its associated point.
[0057] Specifically, any pixel point on the edge line of the primitive is recorded as the target point. For each associated point of the target point, the target point and the associated point are connected to obtain a connecting line. The length of the connecting line contained in the primitive where the target point is located is obtained and recorded as the primitive span. The ratio of the primitive span to the length of the connecting line is used as the primitive span weight of each associated point of the target point.
[0058] The primitive span indicates the length of the line passing through the primitive. The larger the value, the more likely it is that the laser head will repeatedly pass through the cut area when the target point is selected as the positioning point, and the target point is less suitable as a positioning point.
[0059] S23, obtaining a primitive interval distance weight according to the distance between each pixel point and the associated points of all other primitives and the primitive span weight.
[0060] Since the path planning tends to select the closer positioning point as the next positioning point, the associated point corresponding to the element with the front arrangement position in the primitive spacing sequence has a higher reference value for whether the pixel point is selected as the positioning point; therefore, it is necessary to assign different degrees of primitive span weights to the associated points with different distances in the primitive spacing sequence to determine whether the pixel point is selected as the positioning point.
[0061] Specifically, the primitive range weight of the associated point corresponding to each element in the primitive spacing sequence of the target point is constructed, and the primitive range weight of the associated point corresponding to the sth element in the primitive spacing sequence of the target point is recorded as ,in, is a linear normalization function; s is the number of the sth element in the primitive spacing sequence of the target point, It is the primitive span weight of the associated point corresponding to the sth element in the primitive spacing sequence of the target point.
[0062] Finally, the weighted average of all element values in the primitive spacing sequence of the target point is calculated using the primitive range weight of the associated point corresponding to each element in the primitive spacing sequence of the target point as the weight, which is recorded as the primitive spacing distance weight of the target point.
[0063] Each element in the primitive spacing sequence corresponds to an associated point and a primitive span weight; the smaller the primitive span weight, the more likely the corresponding associated point should be used as the next positioning point. Therefore, the sth element in the primitive spacing sequence has a higher primitive range weight when judging whether a pixel point is selected as a positioning point; similarly, the smaller the associated point spacing represented by the element with the highest ranking in the sth element, the more the algorithm tends to select the associated point corresponding to the element as the next node of the pixel point, and the primitive range weight corresponding to the sth element should be higher; the larger the primitive range weight, the more important the corresponding element is in judging whether a pixel point is used as a positioning point; the larger the weight value of the primitive interval distance weight finally obtained, the more likely the target point should be used as the positioning point of the primitive where the target point is located.
[0064] S24, selecting all the positioning points of each primitive according to the distance between all the pixel points on the edge line of each primitive and the numerical distribution of the primitive interval distance weight.
[0065] The primitive distance weight indicates the importance of determining whether a pixel point should be used as a positioning point. It is mainly based on the consideration of reducing the empty stroke of the laser cutting path. The pixel point with a larger primitive distance weight should be used as the positioning point of the primitive where the pixel point is located. In the selection of positioning points for the same primitive, the uniform distribution of the positioning points and the number of positioning points need to be considered at the same time. The number of positioning points should not be too large, which will increase the path calculation time; nor should it be too small, which will reduce the cutting accuracy. Based on the above analysis, this embodiment determines the positioning point in combination with the distance between all pixel points on the edge line of each primitive and the primitive distance weight.
[0066] Specifically, the number of pixel points on the edge line of each primitive is obtained, recorded as the total number of edge points of each primitive, and the ratio of the total number of edge points to the preset number N=50 is used as the upper limit of the number of positioning points of each primitive;
[0067] Among all the pixel points on the edge line of each primitive, the pixel point with the largest primitive distance weight is used as the first positioning point of each primitive;
[0068] Arrange all pixel points on the edge line of each primitive from large to small according to the primitive interval distance weight to obtain the positioning point selection sequence of each primitive;
[0069] For the edge line of each primitive, calculate the slope of each pixel on the edge line, take the pixel with the largest slope as the starting point, and number all the pixels in the clockwise direction to obtain the position sequence number of each pixel on the edge line;
[0070] Select the positioning point according to the position sequence difference between each pixel point and the positioning point in the positioning point selection sequence of each primitive;
[0071] Sequentially record each pixel starting from the second pixel in the positioning point selection sequence of each primitive as a pending point, and obtain the minimum value of the difference in position sequence number between the pending point and all the positioning points of each primitive; if the minimum value is greater than the first preset value B=10, the pixel point is used as the positioning point;
[0072] Repeat the positioning point selection process until the number of positioning points is equal to the upper limit of the number of positioning points, and obtain all the positioning points of each primitive.
[0073] For example, if the number of edge line pixels of the kth primitive NUM=480, the upper limit of the number of positioning points is 10. Perform a positioning point selection operation and select 10 positioning points.
[0074] The flowchart of the positioning point selection process is as follows: Figure 3 shown.
[0075] S3, determining the path plan for laser cutting according to the spatial position distribution of all positioning points of all graphic elements.
[0076] According to all the positioning points of all the primitives obtained, an optimization scheduling algorithm is usually used to arrange all the positioning points in order according to the spatial distribution of all the positioning points to obtain a path plan for laser cutting to ensure the accuracy of laser cutting control. This embodiment uses a genetic algorithm as an intelligent optimization algorithm for path optimization, and the implementer may use an ant colony algorithm or a particle swarm algorithm as an alternative.
[0077] Specifically, the number of primitives in the laser cutting pattern is used as the number of rows of individuals in the genetic algorithm, and all the positioning points of all primitives are input into the genetic algorithm to obtain the optimal laser cutting path plan. The specific implementation steps of the genetic algorithm are as follows:
[0078] First, the individuals in the genetic algorithm are defined, and the individual is a matrix with C rows and 2 columns, where C is equal to the number of primitives in the laser cutting pattern;
[0079] The elements in the first column of the matrix are integers from 1 to C. The element value represents the cth element in the laser cutting pattern. For example, if the elements in the first column are 1, 6, 8, 4, 3, 5, 2, 9, 7, it means that the elements are cut in the order of 1, 6, 8, 4, 3, 5, 2, 9, 7.
[0080] The elements in the second column of the matrix are decimals between 0 and 1. The element value represents which positioning point is selected as the target point for moving the laser head when laser cutting a primitive.
[0081] For example, if the 1st row and 1st column of the matrix is 3, and the 2nd row and 2nd column is 0.25, it means that the 3rd primitive is cut first; each pixel point on the edge line of the 3rd primitive is numbered, and assuming there are R numbers in total, the number of the positioning point on the eth primitive is divided by R to get the normalized number, and the positioning point with the normalized number closest to 0.25 is selected as the target positioning point; when moving the laser head to cut the 3rd primitive, move the laser head to the target positioning point, and cut the 3rd primitive clockwise from the target positioning point to complete the cutting.
[0082] Step PP1 generates the initial population:
[0083] Randomly generate X matrices with C rows and 2 columns. The first column of the matrix is a randomly arranged integer from 1 to C, and all elements in the second column of the matrix are random decimals from 0 to 1; the number of experience value elite populations X = 10;
[0084] Step PP2 Crossover and mutation:
[0085] Perform crossover and mutation on the initial population or elite population, set the crossover rate to 0.2, the mutation rate to 0.05, and generate Y=40 new individuals in each round of crossover and mutation, and X=10 initial population or elite population to form the process population;
[0086] Step PP3: Screening the elite population:
[0087] Each individual in the process population represents a laser cutting scheme, and each row corresponds to a node. These nodes are connected in the order described in the scheme. The total length of the connection is the empty stroke length of the laser cutting scheme represented by the individual. The empty stroke length of the individual is calculated for all individuals in the process population, and X individuals with the smallest empty stroke length are selected and retained to form the elite population.
[0088] Step PP4 sets the stop condition:
[0089] Repeat steps PP2 and PP3, set the number of repetitions Z = 100 times based on experience, obtain X individuals after the repetitions, calculate the empty stroke lengths of the X individuals, and select the individual with the smallest empty stroke length as the winning individual.
[0090] Finally, a winning individual is obtained, which represents the optimal path plan for laser cutting. According to the path plan, the laser head is controlled to cut the plate, completing the regulation and optimization of laser processing.
[0091] Laser cutting path optimization flow chart, such as Figure 4 shown.
[0092] Based on the same inventive concept as the above method, the embodiment of the present application also provides a light beam combining device, such as Figure 5 As shown, it includes: a laser light source 100, a polarization beam splitter 101, a beam combiner 103 and a focusing module 107 are arranged on the light output path of the laser light source 100, the polarization beam splitter 101 splits the light beam emitted by the laser light source 100 into a first light beam and a second light beam with different polarization directions; a shaping module 102 is arranged on the light path of the first light beam, the shaping module 102 shapes the first light beam into a strip light beam for output; a multi-focus module 106 is arranged on the light path of the second light beam, the multi-focus module 106 splits the second light beam to form a plurality of point light beams that are output in parallel with the strip light beam; the beam combiner 103 combines the strip light beam and the plurality of point light beams to form a combined light beam, and the focusing module 107 focuses the combined light beam to form a preset combined light spot on the receiving surface. Among them, the direction of the light path can also be changed by a reflector 104 to change the volume of the beam combining device to adapt to different scene requirements. It also includes a controller 105 and a computer program in and executable on the controller, wherein when the controller executes the computer program, the steps of the laser processing control optimization method based on data analysis as described in any one of the laser processing control optimization methods based on data analysis are implemented.
[0093] Through the above description of the implementation method in combination with the accompanying drawings, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0094] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A laser processing control optimization method based on data analysis, characterized in that: The method comprises the following steps: S1, a laser processing pattern acquisition step, obtaining a laser cutting pattern for laser cutting, and dividing the laser cutting pattern into various graphic elements according to the pattern texture; S2, laser positioning point selection step, selects the positioning point of each primitive according to the spatial distribution relationship between the pixel points on the edge lines of different primitives, specifically including: S21, for pixel points located on the edge line of each primitive, obtaining the associated points between each pixel point and the edges of the other primitives according to the distances between each pixel point and the edges of the other primitives; S22, obtaining a primitive span weight according to a primitive distribution between each pixel point and associated points of other primitives; S23, combining the distance between each pixel point and the associated points of all other primitives and the primitive span weight to obtain the primitive interval distance weight; S24, selecting all the positioning points of each primitive according to the distance between all the pixel points on the edge line of each primitive and the numerical distribution of the primitive interval distance weight; S3, laser processing path optimization step, determining the laser cutting path plan according to the spatial position distribution of all positioning points of all graphic elements; The method for obtaining the associated points between each pixel point and other graphic elements includes: Obtain a circular area with each pixel point as the center and a preset value as the radius; continuously expand the radius until the edge of the circular area intersects with the edge of each other primitive to obtain an intersection point; record the intersection point as the association point between each pixel point and each other primitive; The step of obtaining the primitive span weight according to the primitive distribution between each pixel point and the associated points of other primitives includes: Any pixel point on the edge line of the primitive is recorded as the target point. For each associated point of the target point, the target point and the associated point are connected to obtain a connecting line. The length of the connecting line contained in the primitive where the target point is located is obtained and recorded as the primitive span. The ratio of the primitive span to the length of the connecting line is used as the primitive span weight of each associated point of the target point. The method for obtaining the weight of the distance between primitives comprises: Arrange the Euclidean distances between each pixel and the associated points of all other primitives from small to large to obtain the primitive spacing sequence of each pixel; obtain the primitive range weight according to the sequence number of the corresponding element of the associated point of each pixel in the primitive spacing sequence and the primitive span weight; Taking the weight of the primitive range of the associated point corresponding to each element in the primitive spacing sequence of the target point as the weight, calculate the weighted average of all element values in the primitive spacing sequence of the target point, and record it as the primitive spacing distance weight of the target point; The method of selecting all the positioning points of each primitive according to the distance between all the pixel points on the edge line of each primitive and the numerical distribution of the primitive interval distance weight includes: Obtain the upper limit of the number of positioning points according to the number of pixels on the edge line of each primitive; Among all the pixel points on the edge line of each primitive, the pixel point with the largest primitive distance weight is used as the first positioning point of each primitive; Arrange all pixel points on the edge line of each primitive from large to small according to the primitive interval distance weight to obtain the positioning point selection sequence of each primitive; For the edge line of each primitive, calculate the slope of each pixel on the edge line, take the pixel with the largest slope as the starting point, and number all the pixels in the clockwise direction to obtain the position sequence number of each pixel on the edge line; Select the positioning point according to the position sequence difference between each pixel point and the positioning point in the positioning point selection sequence of each primitive; Repeat the positioning point selection process until the number of positioning points is equal to the upper limit of the number of positioning points, and obtain all the positioning points of each primitive.
2. The laser processing control optimization method based on data analysis according to claim 1, characterized in that: The method for obtaining the primitive range weight includes: recording the primitive range weight of the associated point corresponding to the sth element in the primitive spacing sequence of the target point as β s , β s =norm[(s×α s ) -1 ], where norm[] is a linear normalization function; s is the number of the sth element in the primitive spacing sequence of the target point, α s It is the primitive span weight of the associated point corresponding to the sth element in the primitive spacing sequence of the target point.
3. The laser processing control and optimization method based on data analysis according to claim 1, characterized in that: The method of obtaining the upper limit of the number of positioning points based on the number of pixel points on the edge line of each primitive includes: obtaining the number of pixel points on the edge line of each primitive, recording it as the total number of edge points of each primitive, and taking the ratio of the total number of edge points to a preset number as the upper limit of the number of positioning points of each primitive.
4. The laser processing control optimization method based on data analysis according to claim 1, characterized in that: The method for selecting a positioning point includes: Each pixel point starting from the second pixel point in the positioning point selection sequence of each primitive is recorded as a pending point in turn, and the minimum value of the difference in position sequence number between the pending point and all the positioning points of each primitive is obtained; if the minimum value is greater than a first preset value, the pixel point is used as the positioning point.
5. The laser processing control optimization method based on data analysis according to claim 1, characterized in that: Determining the path plan for laser cutting according to the spatial position distribution of all positioning points of all graphic elements specifically includes: The number of graphics elements in the laser cutting pattern is used as the number of rows of individuals in the genetic algorithm, and all the positioning points of all graphics elements are input into the genetic algorithm to obtain the optimal laser cutting path solution.
6. A beam combining device, comprising: A laser light source, wherein a polarization beam splitter, a beam combiner and a focusing module are arranged on the light output path of the laser light source, the polarization beam splitter splits the light beam emitted by the laser light source into a first light beam and a second light beam with different polarization directions; a shaping module is arranged on the light path of the first light beam, the shaping module shapes the first light beam into a strip light beam for output; a multi-focus module is arranged on the light path of the second light beam, the multi-focus module splits the second light beam to form a plurality of point light beams that are output parallel to the strip light beam; the beam combiner combines the strip light beam and the plurality of point light beams to form a combined light beam, and the focusing module focuses the combined light beam to form a preset combined light spot on a receiving surface; further comprising a controller and a computer program in the controller and executable on the controller, wherein the controller implements the steps of the method as claimed in any one of claims 1 to 5 when executing the computer program.
