A laser processing path control method, device, processor and storage medium
Through the visual monitoring system and image processing technology, real-time identification and adjustment of the laser processing path, combined with automatic optical focusing, solves the problem of poor adaptability to shape changes of existing laser processing technology and improves the accuracy and flexibility of processing.
Patent Information
- Application Number
- CN202410753238.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-12
AI Technical Summary
Existing laser processing technology has poor adaptability to changes in the shape of the processed object during the processing process, resulting in relative position errors between the laser head and the processing surface, affecting processing accuracy and flexibility.
The visual monitoring system is used to obtain the image information of the processing object in real time, the laser processing contour line is identified through the image processing algorithm, a dynamic coordinate system is established, the calibration laser processing point is selected, the calibration line length and angle are calculated, the laser head moving speed is dynamically adjusted, and combined with Automatic optical focus technology adjusts optical path components in real time to maintain optimal focus.
It achieves accurate identification and dynamic tracking of irregular or changing shapes of processed objects, improves the flexibility and precision of processing, and ensures the consistency and efficiency of processing quality.
Smart Images

Figure CN118305479B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of laser processing technology, and in particular to a control method, device, processor and storage medium for a laser processing path. Background Art
[0002] As an important part of modern manufacturing, laser processing is widely used in metal cutting, welding, marking, and engraving of various materials. With the advancement of industrial technology, the requirements for the accuracy, speed, and flexibility of laser processing are increasing, which has promoted the continuous innovation and development of laser processing equipment and control technology. Especially in the fields of automobile manufacturing, precision engineering, and microelectronics manufacturing, the accuracy and efficiency of laser processing are crucial. These industries often need to process complex part shapes and have strict requirements on processing quality and production efficiency.
[0003] Laser processing control in the prior art mainly relies on preset programs and paths to guide the laser head to move along the processing contour line. These program control methods usually require the laser processing path to be designed in advance and the processing task to be performed according to the set path; however, these methods face some problems, such as poor adaptability to changes in the shape of the processing object. Once the processing object is displaced or deformed during the manufacturing process, it may cause errors in the relative position of the laser head and the processing surface, thereby affecting the accurate focusing of the laser focus and the processing accuracy. In addition, due to the lack of a real-time feedback mechanism, temporary fine-tuning of laser processing is more difficult, which limits the flexibility and efficiency of the processing process.
[0004] In view of this, it is necessary to improve the laser processing technology in the prior art to solve the technical problem of poor adaptability and adjustment ability of the laser head during the processing. Summary of the invention
[0005] The purpose of the present invention is to provide a control method, device, processor and storage medium for a laser processing path to solve the above technical problems.
[0006] To achieve this object, the present invention adopts the following technical solutions:
[0007] A method for controlling a laser processing path, comprising:
[0008] The image information of the processing object is obtained in real time through the visual monitoring system, the laser processing contour line of the processing object is identified by the image processing algorithm, and a dynamic coordinate system is established;
[0009] In a dynamic coordinate system, a starting laser processing point is selected, and a series of calibration laser processing points are identified, wherein each calibration laser processing point corresponds to a feature of the laser processing contour line;
[0010] Using image processing software in the visual monitoring system, calculating the calibration line length and calibration angle of each of the calibration laser processing points, and the laser processing path based on the laser processing contour line;
[0011] During the laser processing process, the movement speed of the laser head is dynamically adjusted according to the coordinates and calibration lines of each calibrated laser processing point on the laser processing path, and combined with the image information obtained in real time by the visual monitoring system, automatic optical focusing technology is used to dynamically adjust the settings of the optical path components to keep the laser focus at the best focus on the processing surface.
[0012] Optionally, the method of acquiring image information of the processing object in real time through a visual monitoring system, identifying the laser processing contour line of the processing object by using an image processing algorithm, and establishing a dynamic coordinate system specifically includes:
[0013] A visual monitoring system is arranged above the workbench, wherein the visual monitoring system comprises one or more machine vision cameras;
[0014] Acquire image information of the processing object on the workbench in real time through a visual monitoring system, and transmit the image information in real time to a computing system integrated with an image processing algorithm;
[0015] The computing system performs image preprocessing on the image information; wherein the preprocessing process includes image denoising, contrast adjustment and brightness correction;
[0016] Optionally, the computing system performs image preprocessing on the image information, and then further comprises:
[0017] Apply edge detection and feature extraction image processing algorithms to the preprocessed image information to identify the laser processing contour line of the processing object;
[0018] constructing an initial coordinate system in the computing system based on the identified laser processing contour line;
[0019] The viewing angle of the machine vision camera is aligned with the laser processing area by performing viewing angle correction on the machine vision camera, and the initial coordinate system is updated according to the parameters obtained by the viewing angle correction to form a dynamic coordinate system.
[0020] Optionally, in the dynamic coordinate system, a starting laser processing point is selected, and a series of calibration laser processing points are identified, wherein each calibration laser processing point corresponds to a feature of the laser processing contour line; specifically comprising:
[0021] In the dynamic coordinate system, a preset point on the processing contour line is selected as a starting laser processing point through an image processing algorithm;
[0022] By using a contour tracking algorithm, a series of calibration laser processing points are identified along the contour line direction from the starting laser processing point to define a processing path of the laser head; wherein the calibration laser processing points correspond to significant feature points on the laser processing contour line; the significant feature points include corner points, inflection points and variable area points;
[0023] The identified series of calibration laser processing points are repeatedly screened and synchronously set with the dynamic coordinate system to form a set of calibration point data structures.
[0024] Optionally, the image processing software in the visual monitoring system is used to calculate the calibration line length and calibration angle of each calibration laser processing point, and the laser processing path based on the laser processing contour line; specifically including:
[0025] The calibration point data structure is parsed by a computing system to calculate the multi-dimensional spatial coordinates of each calibration laser processing point; the multi-dimensional spatial coordinates include coordinate values of the X-axis, the Y-axis and the Z-axis;
[0026] The computing system calculates the length of the calibration line between each calibration laser processing point and the connected calibration laser processing point through the multi-dimensional spatial coordinates of each calibration laser processing point, so as to set the length parameters of each line segment in the laser processing path;
[0027] Combining the dynamic coordinate system and the spatial characteristics of the laser processing contour line, the computing system calculates the curve direction of each calibration line along the processing contour to determine the calibration angle between each group of connected calibration laser processing points;
[0028] Based on the calibration line length and calibration angle of the calibration laser processing point, a laser processing path diagram conforming to the laser processing contour line is generated using a laser control algorithm;
[0029] During the laser processing path diagram generation process, the computing system performs energy optimization and smoothing processing on the selected laser processing path to obtain the laser processing path.
[0030] Optionally, during the laser processing, the moving speed of the laser head is dynamically adjusted according to the coordinates of each calibrated laser processing point and the calibration line on the laser processing path; specifically including:
[0031] Based on the generated laser processing path, respectively calculating the optimal point-to-point moving speed of the laser head from a current position to a next position for each calibrated laser processing point of the laser processing path;
[0032] For the straight line segment and the curved line segment on the laser processing path, a first moving speed and a second moving speed are respectively adopted, wherein the first moving speed is greater than the second moving speed;
[0033] The optimal position moving speed, the first moving speed and the second moving speed are comprehensively summarized to form a speed control set suitable for the laser processing path;
[0034] Driving the laser head to run at the speed control set from the starting laser processing point, and during the laser processing, using a motion control algorithm to predict the next position of the laser head to form predicted trajectory information;
[0035] The predicted trajectory information is compared with the deviation value of the laser processing contour line, and the moving speed and moving trajectory of the laser head are dynamically adjusted.
[0036] Optionally, the automatic optical focusing technology is used in combination with the image information obtained in real time by the visual monitoring system to dynamically adjust the settings of the optical path components so that the laser focus is kept in optimal focus on the processing surface; specifically including:
[0037] Integrate the image information of the processing area collected in real time by the visual monitoring system, and perform quality assessment of the laser focus in the processing area through a machine vision algorithm;
[0038] According to the quality evaluation result, determine whether the focus position needs to be adjusted, if not, continue to execute the setting of the current optical path component; if not, perform dynamic adjustment of the setting of the optical path component;
[0039] During the movement of the laser head, the focus deviation is identified according to the quality assessment result, and the setting of the optical path component is dynamically adjusted to compensate for the focus deviation so that the laser beam is focused at a predetermined position in the processing area for optimal focus;
[0040] The optical path adjustment parameters are set to optimize the adjustment accuracy and response speed during the focusing process; the optical path adjustment parameters include the moving speed, moving range and response time of the optical components.
[0041] The present invention also provides a control device for a laser processing path, which is used to implement the control method for the laser processing path as described above, and the control device comprises:
[0042] A visual monitoring system, including one or more machine vision cameras, for acquiring image information of the processed object in real time;
[0043] An image processing unit, used to receive image information from the visual monitoring module for image preprocessing, and to identify the laser processing contour line of the processing object through a built-in image processing algorithm;
[0044] A coordinate generation module, used to establish an initial coordinate system according to the laser processing contour line, and update the initial coordinate system according to the parameters obtained by the viewing angle correction to form a dynamic coordinate system;
[0045] The laser calibration module is used to select a starting laser processing point in a dynamic coordinate system and identify a series of calibration laser processing points;
[0046] A path planning module, which calculates the calibration line length and calibration angle of each calibration laser processing point, and a laser processing path based on the laser processing contour line;
[0047] A path control unit, used in the laser processing process, to form a speed control set according to the coordinates and calibration lines of each of the calibrated laser processing points on the laser processing path;
[0048] A motion control unit, used for converting the speed control set formed by the path control unit into a specific motion control instruction;
[0049] The optical path adjustment unit is used to dynamically adjust the settings of the optical path components by combining the image information acquired in real time by the visual monitoring system and adopting automatic optical focusing technology.
[0050] The present invention also provides a processor, comprising a memory and at least one processor, wherein instructions are stored in the memory;
[0051] The processor calls the instructions in the memory so that the processor executes the control method of the laser processing path as described above.
[0052] The present invention also provides a storage medium, on which instructions are stored, and the instructions are used to implement the control method of the laser processing path as described above.
[0053] Compared with the prior art, the present invention has the following beneficial effects: during processing, the image of the processing object is captured in real time by the visual monitoring system, and the processing contour line is identified therefrom by the image processing algorithm, and a dynamic coordinate system is established with this information, in which the starting laser processing point is selected and a series of calibration laser processing points distributed along the contour line are determined; the image processing software continues to calculate the calibration line length and calibration angle of these points and generates an accurate laser processing path, and during the laser processing process, the control system dynamically adjusts the speed of the laser head movement according to the position and distance information of each point on the predetermined path; at the same time, combined with the real-time feedback provided by the visual monitoring system, the automatic optical focusing technology will be used to adjust the optical path components of the laser head in real time to ensure that the laser focus maintains the best focusing state on the processing surface; the method not only realizes the accurate identification and dynamic tracking of the processing contour line through the real-time visual monitoring system, but also provides continuous feedback information to guide the movement of the laser head and the correction of the focus, ensuring the consistency and accuracy of the processing quality; at the same time, the method of combining the dynamic adjustment of the laser head speed and the optical path components greatly enhances the system's adaptability to irregular or changing shape processing objects, adapts to changing production needs, and improves the flexibility of processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0055] The structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantive technical significance. Any structural modification, change in proportion or adjustment of size, without affecting the effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical contents disclosed by the present invention.
[0056] Figure 1 This is one of the flow charts of the control method of the laser processing path of the first embodiment;
[0057] Figure 2 The second flowchart of the method for controlling the laser processing path of the first embodiment;
[0058] Figure 3 This is the third flow chart of the method for controlling the laser processing path of the first embodiment. DETAILED DESCRIPTION
[0059] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below 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.
[0060] In the description of the present invention, it should be understood that the terms "upper", "lower", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. It should be noted that when a component is considered to be "connected" to another component, it may be directly connected to the other component or there may be a centrally arranged component at the same time.
[0061] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.
[0062] Embodiment 1:
[0063] Combination Figures 1 to 3 As shown, an embodiment of the present invention provides a method for controlling a laser processing path, comprising:
[0064] S1, obtain the image information of the processing object in real time through the visual monitoring system, use the image processing algorithm to identify the laser processing contour line of the processing object, and establish a dynamic coordinate system;
[0065] In this step, the visual monitoring system is used to capture the image information of the object to be processed in real time. Using image processing algorithms such as edge detection and morphological operations, the system can accurately identify the laser processing contour of the object to be processed. In this process, the outline of the object to be processed is extracted from the captured image and converted into a data format that can be recognized and processed by the computer. Based on this information, a dynamic coordinate system is further established to ensure that no matter how the object to be processed is positioned, the defined processing contour is correctly mapped to the actual spatial position. This step is the key basis for the subsequent precise control of the laser processing path.
[0066] S2, in the dynamic coordinate system, selecting a starting laser processing point and identifying a series of calibration laser processing points, wherein each calibration laser processing point corresponds to a feature of the laser processing contour line;
[0067] The key processing points are selected in the established dynamic coordinate system. Through the image processing software, the system can select the appropriate starting processing point on the processing contour line. This point is the position where the processing starts. At the same time, a series of calibration laser processing points along the contour line are also defined. These calibration points are selected based on the significant features of the contour line, such as corners, the highest point of the curve, etc., corresponding to the key entry points, corners or pause points in the actual processing process. This step ensures that the laser processing can be carried out along the optimal path, and at the same time provides the necessary spatial data reference for the next step of specific path planning.
[0068] S3, using the image processing software in the visual monitoring system, calculates the calibration line length and calibration angle of each calibration laser processing point, as well as the laser processing path based on the laser processing contour line;
[0069] The calibration points are quantitatively analyzed and the path is planned. In this step, the system calculates the calibration line length and the calibration angle between the adjacent calibration points for each selected calibration laser processing point based on the calculation results of the image processing software in the visual monitoring system; these data are the basis for determining the movement path and positioning of the laser head, and are used to generate path instructions that represent the laser processing contour line.
[0070] S4, during the laser processing, the moving speed of the laser head is dynamically adjusted according to the coordinates and calibration lines of each calibrated laser processing point on the laser processing path, and the automatic optical focusing technology is used to dynamically adjust the settings of the optical path components in combination with the image information obtained in real time by the visual monitoring system, so that the laser focus maintains the best focus on the processing surface.
[0071] During the laser processing, the control system continuously adjusts the moving speed of the laser head according to the coordinate information of each calibrated laser processing point on the path and the distance between them to ensure that the processing speed matches the specific processing requirements. At the same time, combined with the image information provided by the visual monitoring system in real time, the system dynamically adjusts the optical path components, such as the position of the reflector or lens, through automatic optical focusing technology to ensure that the laser focus always maintains the best focus on the processing surface. The intelligent feedback mechanism of this step can adapt to changes in material properties or environmental factors during the processing process to ensure the stability and accuracy of the processing process.
[0072] The working principle of the present invention is as follows: during processing, the image of the processing object is captured in real time through the visual monitoring system, and the processing contour line is identified therefrom through the image processing algorithm, and a dynamic coordinate system is established with this information. In the dynamic coordinate system, a starting laser processing point is selected and a series of calibration laser processing points distributed along the contour line are determined; the image processing software continues to calculate the calibration line length and calibration angle of these points and generates an accurate laser processing path. During the laser processing process, the control system dynamically adjusts the speed of the laser head movement according to the position and distance information of each point on the predetermined path; at the same time, combined with the real-time feedback provided by the visual monitoring system, the automatic optical focusing technology will be used to adjust the optical path components of the laser head in real time to ensure that the laser focus maintains the best focusing state on the processing surface; compared with the laser processing technology in the prior art, the present method not only realizes the accurate identification and dynamic tracking of the processing contour line through the real-time visual monitoring system, but also provides continuous feedback information to guide the movement of the laser head and the correction of the focus, ensuring the consistency and accuracy of the processing quality; at the same time, the method of combining the dynamic adjustment of the laser head speed and the optical path components greatly enhances the system's adaptability to irregular or changing shape processing objects, adapts to changing production needs, and improves the flexibility of processing.
[0073] In this embodiment, it is specifically explained that step S1 specifically includes:
[0074] S11, configuring a visual monitoring system above the workbench, wherein the visual monitoring system includes one or more machine vision cameras;
[0075] The visual monitoring system is installed above the workbench so that it can cover the entire processing area. The visual monitoring system includes one or more high-quality machine vision cameras with high resolution and high dynamic range. These cameras are strategically placed to capture images at different angles to ensure comprehensive visual coverage of the processing object and accurate image information acquisition.
[0076] S12, acquiring image information of the processing object on the workbench in real time through the visual monitoring system, and transmitting the image information in real time to a computing system integrated with an image processing algorithm;
[0077] It is composed of image information acquired in real time by the visual monitoring system. After the object to be processed is placed on the workbench and fixed in place, these cameras capture the image of the object and transmit the obtained image information in real time to the computing system equipped with image processing algorithms. This real-time transmission ensures that the data stream is sent to the processing unit after capture so as to timely analyze and respond to any changes in the processing.
[0078] S13, the computing system performs image preprocessing on the image information; wherein the preprocessing process includes image denoising, contrast adjustment and brightness correction;
[0079] The computing system will perform preliminary image preprocessing on the received image information. This preprocessing process aims to improve the quality of the image so that the image recognition and analysis in the subsequent steps are more accurate. Preprocessing usually includes multiple operations, such as image denoising, contrast adjustment and brightness correction. Denoising helps to remove random noise in the image capture process; contrast adjustment is used to enhance key features in the image; brightness correction ensures that the image brightness is just right and does not affect the subsequent edge detection results due to being too bright or too dark. Through these preprocessing steps, it is convenient to extract the laser processing contour lines in the subsequent images.
[0080] In this embodiment, it is further explained that the following steps are included after step S11:
[0081] S14, applying an edge detection and feature extraction image processing algorithm to the preprocessed image information to identify the laser processing contour line of the processing object; the laser processing contour line includes but is not limited to the edge and corner points of the contour.
[0082] Through edge detection algorithms (such as the Canny edge detector), the system can determine the edges of the processed objects in the image and convert these edges into mathematical contours; at the same time, using feature extraction technology, it can identify special geometric features on the contours, such as corners, concave points or mutation points.
[0083] S15, based on the identified laser processing contour line, construct an initial coordinate system in the computing system; the coordinate system can respond to changes in the position and posture of the processing object in real time, and has a one-to-one correspondence with the actual size of the processing object.
[0084] Based on the identified laser processing contour, an initial coordinate system is constructed in the computing system. This coordinate system is initially static and is established with reference to the current position and posture of the processing object, ensuring that all subsequent operations, such as the movement instructions and path planning of the laser head, are performed on the basis of this coordinate system.
[0085] S16, by performing perspective correction on the machine vision camera, the perspective of the machine vision camera is aligned with the laser processing area, and the initial coordinate system is updated according to the parameters obtained by the perspective correction to form a dynamic coordinate system.
[0086] The static initial coordinate system is transformed into a dynamic coordinate system that can dynamically adapt to the changes in the position of the object during the processing. By performing perspective correction on the machine vision camera installed on the workbench, the camera's field of view is ensured to be aligned with the actual laser processing area. After correction, the image offset caused by the movement of the object or the vibration of the equipment during the processing will be accurately calibrated. According to the new parameters obtained by the perspective correction, the initial coordinate system is updated to become a dynamic coordinate system that can reflect the real-time position of the object and provide continuous spatial positioning support for laser processing.
[0087] In this embodiment, it is specifically described that step S2 specifically includes:
[0088] S21, in the dynamic coordinate system, a preset point on the processing contour line is selected as the starting laser processing point through an image processing algorithm; the starting laser processing point must meet the starting conditions for processing and be easy for the laser head to locate and focus;
[0089] The starting laser processing point is selected in the dynamic coordinate system. At this stage, the image processing algorithm searches and selects an appropriate preset point on the previously identified laser processing contour line. This starting point is the initial position of the subsequent laser processing operation, and the contour line position that strikes a balance between processing efficiency and ease of operation is usually selected; the selection of the starting point also takes into account the processing characteristics of the material and the ease of positioning and focusing of the laser head to ensure the smooth progress of the processing process.
[0090] S22, using a contour tracking algorithm, a series of calibration laser processing points are identified along the contour line direction from the starting laser processing point to define a processing path of the laser head; wherein the calibration laser processing points correspond to significant feature points on the laser processing contour line; the significant feature points include corner points, inflection points and variable area points;
[0091] Through the contour tracking algorithm, starting from the determined starting laser processing point, a series of calibration laser processing points for guiding the movement of the laser head are determined along the laser processing contour line. These calibration points are selected according to the significant physical features on the contour line, such as corner points, inflection points, and variable area points. Each calibration point is a key position where the laser head speed or power may need to be changed during the laser processing process. By accurately identifying and locating these calibration points, a clear processing trajectory can be provided for the laser head, the processing process can be optimized, and the quality and efficiency of laser processing can be improved.
[0092] S23, repetitively screening the identified series of calibration laser processing points, and synchronously setting them with the dynamic coordinate system to form a set of calibration point data structures.
[0093] The selected calibration points are precisely positioned to ensure that the position accuracy and repeatability of each calibration point meet the laser processing quality requirements, and are synchronized with the actual processing object through a dynamic coordinate system to ensure that each feature point of the contour line is recorded only once, avoiding repeated operations during the processing process; based on the analysis results, a set of calibration point data structures are formed as the basis for subsequent path generation and adjustment of the laser processing head, thereby achieving precise laser processing position control during the processing process.
[0094] In this embodiment, it is specifically described that step S3 specifically includes:
[0095] S31, using a computing system to parse the calibration point data structure to calculate the multi-dimensional space coordinates of each calibration laser processing point; the multi-dimensional space coordinates include coordinate values of the X-axis, the Y-axis and the Z-axis;
[0096] In this step, the computing system performs high-precision three-dimensional positioning analysis on the position information of each calibration point to establish the accurate coordinates of each calibration point on the X-axis, Y-axis, and Z-axis in the processing plane, thereby constructing a complete spatial geometric representation.
[0097] S32, the computing system calculates the length of the calibration line between each calibration laser processing point and the connected calibration laser processing point through the multi-dimensional spatial coordinates of each calibration laser processing point, so as to set the length parameters of each line segment in the laser processing path; wherein, the connected calibration laser processing points refer to two adjacent and connected calibration laser processing points.
[0098] The computing system is further used to calculate the precise distance between each calibration point through multi-dimensional space coordinates, that is, the calibration line length. The calibration line length parameter is a crucial quantitative data for drawing the line segment part in the laser processing path diagram, which helps to set the specific processing route and the precise length of each line segment when the laser head moves on the surface of the processing object.
[0099] S33, combining the dynamic coordinate system and the spatial characteristics of the laser processing contour line, the computing system calculates the curve direction of each calibration line along the processing contour to determine the calibration angle between each group of connected calibration laser processing points;
[0100] The curve direction and orientation of the calibration line between every two adjacent calibration points are calculated through the dynamic coordinate system information and the geometric characteristics of the processing contour. The calibration angle information is necessary to ensure that the laser head can move correctly along the processing contour, especially at corners or parts with complex contour shapes. The accuracy of the angle parameters directly affects the quality and precision of the laser processing.
[0101] S34, comprehensively calibrating the calibration line length and calibration angle of the laser processing point, using a laser control algorithm, to generate a laser processing path diagram that conforms to the laser processing contour line;
[0102] The length and angle of the calibration line of each calibration point are combined, and a special laser control algorithm is used to generate a laser processing path diagram that meets the processing contour requirements. The laser processing path diagram must not only meet the design drawings and technical requirements, but also consider the material properties, laser head speed and laser focus in the actual laser processing process.
[0103] S35, during the process of generating the laser processing path diagram, the computing system performs energy optimization and smoothing processing on the selected laser processing path to obtain the laser processing path.
[0104] The computing system optimizes and smoothes the generated laser processing path diagram. In this link, the algorithm is used to smooth the transition points of the path endpoints, or to optimize the energy accumulation points that may be generated by laser processing to prevent excessive ablation or material damage during processing, improve processing quality, and ensure the smoothness and feasibility of the entire laser processing path.
[0105] In this embodiment, it is specifically described that step S4 specifically includes:
[0106] S41, based on the generated laser processing path, respectively calculating the optimal point moving speed of the laser head from the current position to the next position for each calibrated laser processing point of the laser processing path;
[0107] The generated laser processing path is analyzed to determine the optimal movement speed of the laser head at each calibration point during the laser processing process. The computing system calculates how fast the laser head should move from one calibration point to the next to ensure the continuity and accuracy of the processing while minimizing the processing time.
[0108] S42, for the straight segment and the curved segment on the laser processing path, the first moving speed and the second moving speed are respectively adopted, wherein the first moving speed is greater than the second moving speed; considering the limitation of the angular velocity of the laser head and the requirement of processing precision, a higher speed movement is implemented in the straight segment, and the speed is appropriately reduced in the curved segment to ensure the quality of the laser beam and the precision of processing.
[0109] Taking into account the different properties of straight segments and curved segments in the laser processing path, different moving speeds are set for them - that is, the first moving speed for straight segments is faster than the second moving speed. This is because the laser head can move more efficiently on straight segments, while the speed needs to be reduced on curved segments to ensure processing accuracy and cope with complex contour changes.
[0110] S43, comprehensively analyzing the optimal position moving speed, the first moving speed, and the second moving speed to form a speed control set suitable for the laser processing path;
[0111] The above different moving speeds are summarized to form a collection of speed control instructions suitable for the laser processing path, which contains detailed speed control parameters for each path section, including the optimal moving speed of each calibration point and the speed adjustment strategy at the corners.
[0112] S44, driving the laser head to run at a speed control set from the starting laser processing point, and during the laser processing process, using a motion control algorithm to predict the next position of the laser head to form predicted trajectory information;
[0113] By forming predicted trajectory information to respond in advance to upcoming path changes, such as corners or stopping points, the laser head can make smooth transitions without affecting processing quality due to sudden speed changes.
[0114] S45, comparing the predicted trajectory information with the deviation value of the laser processing contour line, and dynamically adjusting the moving speed and moving trajectory of the laser head.
[0115] The deviation between the predicted trajectory information and the actual laser processing contour line is monitored in real time, and the moving speed and trajectory of the laser head are dynamically adjusted according to the deviation value. This feedback adjustment process ensures that the laser head always closely follows the processing contour and corrects any possible path deviation in time, thereby optimizing the efficiency and accuracy of laser processing. It ensures that the laser head can accurately decelerate when approaching a corner or a calibration point, smoothly pass through the corner, and avoid excessive or insufficient ablation during laser processing.
[0116] In this embodiment, it is further explained that the following steps are included after step S45:
[0117] S46, integrating the image information of the processing area collected in real time by the visual monitoring system, and performing quality assessment of the laser focus in the processing area through a machine vision algorithm;
[0118] The real-time function of the visual monitoring system, which continuously collects image information of the processing area during the laser processing and sends it to the computing system; the machine vision algorithm within the computing system analyzes these images in real time, focusing on the quality assessment of the laser focus, which allows real-time monitoring of the laser processing quality to ensure that each laser processing meets the predetermined processing standards.
[0119] S47, judging whether the focus position needs to be adjusted according to the quality evaluation result, if not, continuing to execute the setting of the current optical path component; if not, executing dynamic adjustment of the setting of the optical path component;
[0120] Based on the quality assessment results, it is determined whether the laser focus position needs to be adjusted. If no adjustment is necessary, the system will continue to execute the current optical path component settings; if adjustment is necessary, the system will dynamically adjust the settings of the optical path components to achieve the best focus effect. This real-time feedback mechanism ensures that the laser head can always maintain the best performance under changing processing conditions.
[0121] S48, during the movement of the laser head, identifying the focus deviation according to the quality evaluation result, dynamically adjusting the setting of the optical path component to compensate for the focus deviation, so that the laser beam is focused at a predetermined position in the processing area for optimal focus;
[0122] During the movement of the laser head, the system will identify any focus deviations based on the real-time quality assessment results and dynamically adjust the settings of the optical path components, such as adjusting the position of the focusing lens, to compensate for these deviations. Through this dynamic adjustment, it can be ensured that the laser beam is always accurately focused at the predetermined position of the processing area to achieve the best processing effect.
[0123] S49, setting the optical path adjustment parameters to optimize the adjustment accuracy and response speed during the focusing process; the optical path adjustment parameters include the moving speed, moving range and response time of the optical components, so that the laser head can quickly adapt to the changes in the processing surface.
[0124] The specific parameters of optical path adjustment are set, including the moving speed, moving range and reaction time of the optical components. The accurate setting of these parameters is the key to achieve fast and precise focus adjustment, ensuring that the laser head can respond to the rapidly changing processing requirements in a timely manner and improve processing efficiency and quality.
[0125] Embodiment 2:
[0126] The present invention further provides a control device for a laser processing path, which is used to implement the control method for a laser processing path as in the first embodiment, and the control device comprises:
[0127] A visual monitoring system, including one or more machine vision cameras, for acquiring image information of the processed object in real time;
[0128] An image processing unit, used to receive image information from the visual monitoring module for image preprocessing, and to identify the laser processing contour line of the processing object through a built-in image processing algorithm;
[0129] A coordinate generation module is used to establish an initial coordinate system according to the laser processing contour line, and to update the initial coordinate system according to the parameters obtained by the view angle correction to form a dynamic coordinate system;
[0130] The laser calibration module is used to select a starting laser processing point in a dynamic coordinate system and identify a series of calibration laser processing points;
[0131] A path planning module calculates the calibration line length and calibration angle of each calibration laser processing point, as well as the laser processing path based on the laser processing contour line;
[0132] A path control unit is used in the laser processing process to form a speed control set according to the coordinates and calibration lines of each calibrated laser processing point on the laser processing path;
[0133] A motion control unit, used to convert the speed control set formed by the path control unit into a specific motion control instruction;
[0134] The optical path adjustment unit is used to dynamically adjust the settings of the optical path components by combining the image information obtained in real time by the visual monitoring system and adopting automatic optical focusing technology.
[0135] Embodiment three:
[0136] The present invention also provides a processor, comprising a memory and at least one processor, wherein instructions are stored in the memory;
[0137] The processor calls the instructions in the memory so that the processor executes the control method of the laser processing path as in the first embodiment.
[0138] Embodiment 4:
[0139] The present invention also provides a storage medium on which instructions are stored, and the instructions are used to implement the control method of the laser processing path as in the first embodiment.
[0140] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for controlling a laser processing path, characterized in that: include: The image information of the processing object is obtained in real time through the visual monitoring system, the laser processing contour line of the processing object is identified by the image processing algorithm, and a dynamic coordinate system is established; In a dynamic coordinate system, a starting laser processing point is selected, and a series of calibration laser processing points are identified, wherein each calibration laser processing point corresponds to a feature of the laser processing contour line; Using image processing software in the visual monitoring system, calculating the calibration line length and calibration angle of each of the calibration laser processing points, and the laser processing path based on the laser processing contour line; During the laser processing, the moving speed of the laser head is dynamically adjusted according to the coordinates and calibration lines of each calibrated laser processing point on the laser processing path, and the automatic optical focusing technology is used to dynamically adjust the settings of the optical path components in combination with the image information obtained in real time by the visual monitoring system, so that the laser focus is kept in the best focus on the processing surface; Wherein, during the laser processing, the moving speed of the laser head is dynamically adjusted according to the coordinates and calibration lines of each calibrated laser processing point on the laser processing path; specifically including: Based on the generated laser processing path, respectively calculating the optimal point-to-point moving speed of the laser head from a current position to a next position for each calibrated laser processing point of the laser processing path; For the straight line segment and the curved line segment on the laser processing path, a first moving speed and a second moving speed are respectively adopted, wherein the first moving speed is greater than the second moving speed; The optimal position moving speed, the first moving speed and the second moving speed are comprehensively summarized to form a speed control set suitable for the laser processing path; Driving the laser head to run at the speed control set from the starting laser processing point, and during the laser processing, using a motion control algorithm to predict the next position of the laser head to form predicted trajectory information; The predicted trajectory information is compared with the deviation value of the laser processing contour line, and the moving speed and moving trajectory of the laser head are dynamically adjusted.
2. The laser processing path control method according to claim 1, characterized in that: The method of acquiring image information of the processing object in real time through a visual monitoring system, identifying the laser processing contour line of the processing object by using an image processing algorithm, and establishing a dynamic coordinate system specifically includes: A visual monitoring system is arranged above the workbench, wherein the visual monitoring system comprises one or more machine vision cameras; Acquire image information of the processing object on the workbench in real time through a visual monitoring system, and transmit the image information in real time to a computing system integrated with an image processing algorithm; The computing system performs image preprocessing on the image information; wherein the preprocessing process includes image denoising, contrast adjustment and brightness correction.
3. The control method of the laser processing path according to claim 2, characterized in that: The computing system performs image preprocessing on the image information, and then further comprises: Apply edge detection and feature extraction image processing algorithms to the preprocessed image information to identify the laser processing contour line of the processing object; constructing an initial coordinate system in the computing system based on the identified laser processing contour line; The viewing angle of the machine vision camera is aligned with the laser processing area by performing viewing angle correction on the machine vision camera, and the initial coordinate system is updated according to the parameters obtained by the viewing angle correction to form a dynamic coordinate system.
4. The laser processing path control method according to claim 1, characterized in that: The method of selecting a starting laser processing point in the dynamic coordinate system and identifying a series of calibration laser processing points, wherein each calibration laser processing point corresponds to a feature of the laser processing contour line, specifically includes: In the dynamic coordinate system, a preset point on the processing contour line is selected as a starting laser processing point through an image processing algorithm; By using a contour tracking algorithm, a series of calibration laser processing points are identified along the contour line direction from the starting laser processing point to define a processing path of the laser head; wherein the calibration laser processing points correspond to significant feature points on the laser processing contour line; the significant feature points include corner points, inflection points and variable area points; The identified series of calibration laser processing points are repeatedly screened and synchronously set with the dynamic coordinate system to form a set of calibration point data structures.
5. The laser processing path control method according to claim 4, characterized in that: The image processing software in the visual monitoring system is used to calculate the calibration line length and calibration angle of each calibration laser processing point, and the laser processing path based on the laser processing contour line; specifically including: The calibration point data structure is parsed by a computing system to calculate the multi-dimensional spatial coordinates of each calibration laser processing point; the multi-dimensional spatial coordinates include coordinate values of the X-axis, the Y-axis and the Z-axis; The computing system calculates the length of the calibration line between each calibration laser processing point and the connected calibration laser processing point through the multi-dimensional spatial coordinates of each calibration laser processing point, so as to set the length parameters of each line segment in the laser processing path; Combining the dynamic coordinate system and the spatial characteristics of the laser processing contour line, the computing system calculates the curve direction of each calibration line along the processing contour to determine the calibration angle between each group of connected calibration laser processing points; Based on the calibration line length and calibration angle of the calibration laser processing point, a laser processing path diagram conforming to the laser processing contour line is generated using a laser control algorithm; During the laser processing path diagram generation process, the computing system performs energy optimization and smoothing processing on the selected laser processing path to obtain the laser processing path.
6. The laser processing path control method according to claim 1, characterized in that: The automatic optical focusing technology is used to dynamically adjust the settings of the optical path components in combination with the image information obtained in real time by the visual monitoring system, so that the laser focus is kept in the best focus on the processing surface; specifically including: Integrate the image information of the processing area collected in real time by the visual monitoring system, and perform quality assessment of the laser focus in the processing area through a machine vision algorithm; According to the quality evaluation result, determine whether the focus position needs to be adjusted, if not, continue to execute the setting of the current optical path component; if not, perform dynamic adjustment of the setting of the optical path component; During the movement of the laser head, the focus deviation is identified according to the quality assessment result, and the setting of the optical path component is dynamically adjusted to compensate for the focus deviation, so that the laser beam is focused at a predetermined position in the processing area for optimal focus; The optical path adjustment parameters are set to optimize the adjustment accuracy and response speed during the focusing process; the optical path adjustment parameters include the moving speed, moving range and response time of the optical components.
7. A control device for a laser processing path, characterized in that: Used to implement the control method of the laser processing path according to any one of claims 1 to 6, the control device comprises: A visual monitoring system, including one or more machine vision cameras, for acquiring image information of the processed object in real time; An image processing unit, used to receive image information from a visual monitoring system for image preprocessing, and to identify the laser processing contour of the processing object through a built-in image processing algorithm; A coordinate generation module, used to establish an initial coordinate system according to the laser processing contour line, and update the initial coordinate system according to the parameters obtained by the viewing angle correction to form a dynamic coordinate system; The laser calibration module is used to select a starting laser processing point in a dynamic coordinate system and identify a series of calibration laser processing points; A path planning module, which calculates the calibration line length and calibration angle of each calibration laser processing point, and a laser processing path based on the laser processing contour line; A path control unit, used in the laser processing process, to form a speed control set according to the coordinates and calibration lines of each of the calibrated laser processing points on the laser processing path; A motion control unit, used for converting the speed control set formed by the path control unit into a specific motion control instruction; The optical path adjustment unit is used to dynamically adjust the settings of the optical path components by combining the image information acquired in real time by the visual monitoring system and adopting automatic optical focusing technology.
8. A processor, characterized in that: The device comprises a memory and at least one processor, wherein instructions are stored in the memory; The processor calls the instructions in the memory so that the processor executes the method for controlling a laser processing path according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium stores instructions for implementing the control method of the laser processing path according to any one of claims 1 to 6.
