Laser processing method and apparatus, electronic device, and storage medium

By aligning and calibrating elements to be processed and objects to be processed during laser processing, and using projected images and calibration features to detect and adjust positions, the problems of low processing accuracy and low efficiency in the existing technology are solved and higher accuracy is achieved. and efficiency.

WO2024217472A1PCT designated stage expired Publication Date: 2024-10-24MAKEBLOCK CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/088413
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-17
Filing Date
2024-04-17
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

In the laser processing process, due to the lack of target position calibration of the elements to be processed and the objects to be processed, the processing accuracy is low, and the existing equipment can only process one processed part, resulting in low efficiency.

Method used

Before processing, based on the relationship between the position of the projected image in the processing area and the target processing position of the object to be processed, it is judged whether the element to be processed and the object to be processed are aligned, and their positions are adjusted to achieve alignment calibration and improve processing accuracy. The method includes using lasers, equipment terminals, control boards, galvanometers, amplification accessories and cameras to perform alignment detection and calibration through projected images and calibration features.

Benefits of technology

The accuracy and efficiency of laser processing are improved, multiple processing parts can be processed without stopping work, and the reliability and efficiency of processing are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024088413_24102024_PF_FP_ABST
    Figure CN2024088413_24102024_PF_FP_ABST
Patent Text Reader

Abstract

A laser processing method and apparatus, an electronic device, and a storage medium. The method comprises: before an element to be processed is processed into an object to be processed, according to a relation between a position of a projection image in a processing area and a target processing position of said object, determining whether said element is aligned with said object, the projection image comprising a projection image corresponding to at least part of said element or a projection image corresponding to a calibration feature of said element; and, when it is detected that said element and said object are not aligned, aligning and calibrating said element and said object by means of adjusting the positions of said element and / or said object. Alignment and calibration before processing improve the processing precision.
Need to check novelty before this filing date? Find Prior Art

Description

Laser processing method, device, electronic device and storage medium

[0001] This application claims priority to Chinese patent application No. 2023104538830, filed on April 17, 2023, entitled “Processing Control Method and Laser Processing Device,” which is hereby incorporated by reference in its entirety. Technical Field

[0002] The present application relates to the field of laser processing technology, and in particular to a laser processing method, device, electronic device and storage medium. Background Art

[0003] Currently, when lasers are performing processes such as laser engraving or cutting, due to the lack of calibration and adjustment of the text or pattern to be processed and the target position on the object to be processed before processing, the processed text or pattern on the workpiece after processing may deviate from the expected target processing position, resulting in problems such as low processing accuracy.

[0004] Public content

[0005] The main purpose of the embodiments of the present application is to provide a laser processing method, device, electronic device, and storage medium, which are intended to align the elements to be processed and the objects to be processed before processing, thereby improving processing accuracy.

[0006] According to a first aspect of an embodiment of the present application, a laser processing method is provided, comprising:

[0007] Before machining the element to be machined onto the object to be machined, determining whether the element to be machined is aligned with the object to be machined based on a relationship between a position of a projection image in a machining area and a target machining position of the object to be machined, the projection image including a projection image corresponding to at least a portion of the element to be machined or a projection image corresponding to a calibration feature of the element to be machined;

[0008] If the element to be processed is not aligned with the object to be processed, the position of the object to be processed and / or the element to be processed is adjusted so that the position of the projection image in the processing area corresponds to the target processing position of the object to be processed.

[0009] According to a second aspect of an embodiment of the present application, a laser processing device is provided, comprising a laser, wherein the laser is used to execute the method described in the first aspect of the embodiment of the present application.

[0010] In one embodiment of the present application, the laser processing apparatus further includes a device terminal, which is connected to the laser and interacts with the laser to execute the method as described in the first aspect of the embodiment of the present application.

[0011] In one embodiment of the present application, the laser includes a control board, a laser generator, and an expansion accessory movable along a first direction; the control board, the laser generator, and the expansion accessory are all connected to the device terminal;

[0012] The control board is connected to the laser generator and the expansion accessory respectively; a processing area is formed below the laser generator, and the light beam emitted by the laser generator is focused on the processing area. The expansion accessory is located below the laser generator and is used to carry the object to be processed and drive the object to be processed to move. The expansion accessory passes through the processing area during the movement.

[0013] In one embodiment of the present application, the laser further includes a galvanometer, which is connected to the device terminal and the control board. The galvanometer is used to reflect the laser emitted by the laser generator to change the emission angle of the laser.

[0014] In one embodiment of the present application, the laser processing equipment further includes a camera for capturing images of the processing area.

[0015] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the method described in the first aspect of the embodiment of the present application when executing the computer program.

[0016] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect of the embodiment of the present application is performed.

[0017] In the technical solution provided in the embodiments of the present application, before processing the element to be processed onto the object to be processed, the alignment of the element to be processed and the object to be processed is determined based on the relationship between the position of the projected image in the processing area and the target processing position of the object to be processed, wherein the projected image includes a projection image corresponding to at least a portion of the element to be processed or a projection image corresponding to a calibration feature of the element to be processed. Thus, when it is detected that the element to be processed and the object to be processed are not aligned, the position of the element to be processed and / or the object to be processed can be adjusted to align the element to be processed and the object to be processed. By performing alignment calibration before processing, processing accuracy can be improved.

[0018] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by practice of the present application.

[0019] It should be understood that the foregoing general description and the following detailed description are merely illustrative and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and other objects, features and advantages of the present application will become more apparent by describing in detail example embodiments thereof with reference to the attached drawings.

[0021] FIG1 is a schematic block diagram of a laser processing implementation environment provided in an embodiment of the present application.

[0022] FIG2 is a flow chart of the laser processing method provided in an embodiment of the present application.

[0023] 3 is a flowchart of the steps for determining whether the element to be processed and the object to be processed are aligned based on the relationship between the position of the projection image in the processing area and the target processing position of the object to be processed, provided by an embodiment of the present application.

[0024] FIG4 is a flowchart of the steps for determining whether the element to be processed and the object to be processed are aligned based on the relationship between the position of the projection image in the processing area and the target processing position of the object to be processed, provided by an embodiment of the present application.

[0025] FIG5 is an example diagram of alignment detection provided in an embodiment of the present application.

[0026] FIG6 is another example diagram of alignment detection provided by an embodiment of the present application.

[0027] FIG7 is a flow chart of the steps for controlling the synchronous movement of the projection image and the object to be processed provided by an embodiment of the present application.

[0028] FIG8 is a schematic diagram showing the correspondence between the expansion area and the processing area provided in an embodiment of the present application.

[0029] FIG9 is a schematic diagram of a display interface of a laser processing control application provided in an embodiment of the present application.

[0030] FIG10 is a schematic block diagram of the structure of the laser processing device provided in an embodiment of the present application.

[0031] FIG11 is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of the present application.

[0032] Reference numerals: laser 100 ; device terminal 200 ; element to be processed 10 ; object to be processed 20 ; control board 110 ; galvanometer 120 ; laser generator 130 ; camera 140 ; ​​expansion accessory 150 ; expansion area 151 ; processing area 131 ; expanded image area 132 . DETAILED DESCRIPTION

[0033] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of this application will be more comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The accompanying drawings are merely schematic illustrations of the present application and are not necessarily drawn to scale. Identical reference numerals in the figures indicate identical or similar parts, and thus repeated descriptions thereof will be omitted.

[0034] In addition, the described features, structures or characteristics may be combined in one or more example embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the example embodiments of the present application. However, those skilled in the art will appreciate that the technical solutions of the present application may be practiced while omitting one or more of the specific details, or other methods, components, steps, etc. may be adopted. In other cases, known structures, methods, implementations or operations are not shown or described in detail to avoid obscuring the main content and making various aspects of the present application vague.

[0035] Some of the blocks shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0036] Laser processing involves placing the workpiece under a high-energy-density focused beam, utilizing the photothermal effect of light to vaporize or oxidize the surface of the workpiece, thereby changing its color and shape. Existing laser marking and cutting equipment typically consists of a laser head, a galvanometer cavity, and a marking platform. Laser processing technology is becoming increasingly important in modern production due to its advantages, including high processing speed, minimal surface deformation, and applicability to a wide variety of materials. With the advancement of laser processing and marking technology, higher demands are being placed on the efficiency, practicality, and reliability of laser marking in actual production processes.

[0037] When the laser processes the workpiece, the workpiece is fixed horizontally on the carrier, and the laser is located directly above the workpiece. It can emit laser light with the laser light path extending in the vertical direction to the surface to be processed of the workpiece, and then process the workpiece to obtain the desired processing element.

[0038] Currently, during laser processing, if the element to be processed exceeds the display range of the processing area, that is, if the element to be processed cannot be fully displayed in the processing area, the position of the element projected on the object to be processed cannot be observed, and thus the position of the element projected on the object to be processed cannot be calibrated and adjusted. This will result in the finished workpiece only having partial text or patterns, resulting in low processing accuracy. In addition, the existing laser stage can usually only process one workpiece. After processing is completed, the laser needs to be stopped. After the workpiece is loaded, unloaded, and replaced, the next workpiece can be processed, resulting in low processing efficiency.

[0039] Based on this, the present application proposes a laser processing method, device, electronic device and storage medium, which are intended to align the elements to be processed and the objects to be processed before processing, thereby improving the processing accuracy.

[0040] Referring to Figure 1, Figure 1 is a schematic block diagram of the laser processing implementation environment provided by an embodiment of the present application. As shown in Figure 1, the laser 100 is connected to the device terminal 200. Among them, the device terminal 200 can be run by the client, and can be a display device (such as a display screen), a desktop computer, a laptop computer, a tablet computer, a smart phone, an intelligent voice interaction device, a smart home appliance, a vehicle-mounted terminal and other electronic devices, which are not limited here. Among them, the client can be in the form of an application or software, or in the form of a web page. Correspondingly, the user interface of the client can be in the form of a program window or in the form of a web page, which is also not limited here. For example, an application or software for laser processing control can be run on the device terminal 200.

[0041] The laser 100 is located above the workpiece and can emit a laser with a laser light path extending in a vertical direction toward the surface to be processed of the workpiece, thereby processing the workpiece to obtain a desired processed element.

[0042] The laser 100 can also display a projection image corresponding to at least a portion of the element to be processed or a projection image corresponding to a calibration feature of the element to be processed in the processing area. Therefore, before processing, the laser 100 can determine whether the element to be processed and the object to be processed are aligned based on the relationship between the position of the projection image in the processing area and the target processing position of the object to be processed. If misalignment is detected, the position of the object to be processed and / or the element to be processed is adjusted to align the object to be processed and the element to be processed. Performing alignment detection and alignment before processing can improve processing accuracy.

[0043] It should be noted that, in the embodiment of the present application, the laser 100 and the device terminal 200 may be independent devices, or the laser 100 and the device terminal 200 may be devices connected into one.

[0044] Continuing with reference to Figure 1, the laser 100 includes a control board 110, a galvanometer 120, a laser generator 130, and an expansion accessory 150 that can move along a first direction. The control board 110, the galvanometer 120, the laser generator 130, and the expansion accessory 150 that can move along the first direction are all connected to the device terminal 200. The first direction can be the X-axis direction. The control board 110 is connected to the galvanometer 120, the laser generator 130, and the expansion accessory 150, respectively, to send control instructions to the galvanometer 120, the laser generator 130, and the expansion accessory 150 to complete the alignment and processing control of the object 20 to be processed and the element 10 to be processed before processing. The galvanometer 120 is used to reflect the laser emitted by the laser generator 130 and change the laser's emission angle by vibration, thereby achieving processing such as engraving / cutting of the element 10 to be processed.

[0045] The processing area is formed below the laser generator 130, for example, the processing area can be formed vertically below the laser generator 130. The light beam emitted by the laser generator 130 is focused on the processing area. The expansion accessory 150 is located below the laser generator 130, for example, the expansion accessory 150 is located vertically below the laser generator 130. The expansion accessory 150 is used to support the object 20 to be processed and move the object 20 to be processed. The expansion accessory 150 passes through the processing area during movement.

[0046] Continuing with FIG1 , the laser processing equipment further includes a camera 140 connected to the equipment terminal 200. The camera 140 is positioned above the processing area and can capture images of the processing area. The camera 140 can upload the captured images to the equipment terminal 200, which then processes the images captured by the camera 140 to determine, based on the image processing results, whether the object 20 to be processed and the element 10 to be processed are aligned before processing. This allows for further alignment calibration if the object 20 to be processed and the element 10 to be processed are determined to be misaligned.

[0047] In an embodiment of the present application, as shown in FIG1 , the laser 100 is connected to the device terminal 200 , so that the laser 100 can interact with the device terminal 200 to achieve alignment calibration before processing and to process the element to be processed 10 to the target processing position of the object to be processed 20 after alignment.

[0048] 2 is a flow chart of a laser processing method according to an embodiment of the present application. The laser processing method can be applied in the implementation environment shown in FIG1 , including but not limited to steps S210 to S220 .

[0049] In step S210 , before processing the element to be processed onto the object to be processed, determining whether the element to be processed is aligned with the object to be processed based on the relationship between the position of the projected image in the processing area and the target processing position of the object to be processed.

[0050] In the embodiments of the present application, it is considered that during laser processing using laser processing equipment, only a portion of the element 10 to be processed is processed onto the object 20 to be processed, or the position of the element 10 to be processed onto the object 20 to be processed deviates from the target processing position on the object 20 to be processed. To avoid this situation, alignment can be performed before the element 10 to be processed is processed onto the object 20 to ensure processing accuracy. Specifically, alignment between the element 10 to be processed and the object 20 to be processed can be determined based on the relationship between the position of the projected image in the processing area and the target processing position of the object 20 to be processed. If the position of the projected image in the processing area corresponds to the target processing position of the object 20 to be processed, it can be determined that the element 10 to be processed and the object 20 to be processed are aligned. If the position of the projected image in the processing area does not correspond to the target processing position of the object 20 to be processed, it can be determined that the element 10 to be processed and the object 20 to be processed are not aligned. The projected image includes a projection image corresponding to at least a portion of the element 10 to be processed or a projection image corresponding to a calibration feature of the element 10 to be processed. That is, the projection image may be a projection image corresponding to the entire element 10 to be processed, a projection image corresponding to a portion of the element 10 to be processed, or a projection image corresponding to a calibration feature of the element 10 to be processed.

[0051] In the embodiment of the present application, if the position of the projected image in the processing area falls within the region of the target processing position of the object 20 to be processed, the position of the projected image in the processing area is considered to correspond to the target processing position of the object 20 to be processed. It should be noted that if the position of the projected image in the processing area deviates from the target processing position of the object 20 to be processed, but the deviation is within a predetermined error, the position of the projected image in the processing area is considered to fall within the region of the target processing position of the object 20 to be processed, that is, the position of the projected image in the processing area is considered to correspond to the target processing position of the object 20 to be processed.

[0052] In one embodiment of the present application, if the position of the projected image in the processing area overlaps with the target processing position of the object 20 to be processed, the position of the projected image in the processing area is considered to correspond to the target processing position of the object 20 to be processed, and the alignment of the object 20 to be processed and the element 10 to be processed can be determined. If the position of the projected image in the processing area completely matches the target processing position of the object 20 to be processed, the element 10 to be processed can be accurately processed to the target processing position of the object 20 to be processed, thereby ensuring processing accuracy.

[0053] In one embodiment of the present application, before processing the element 10 to be processed into the object 20 to be processed, it is necessary to first obtain the element 10 to be processed, wherein the element 10 to be processed includes text, symbols, lines, graphics, or any combination of two or more.

[0054] In one embodiment of the present application, the element to be processed 10 can be obtained by drawing the element to be processed 10 on the device terminal 200, or by identifying a file storing the element to be processed 10. For example, the file storing the element to be processed 10 can be imported into the device terminal 200, and then the device terminal 200 identifies the file to be processed 10 to obtain the element to be processed 10. The element to be processed 10 can also be obtained by extracting features from an image of the element to be processed 10. For example, an image of the element to be processed 10 can be uploaded to the device terminal 200, and then the device terminal 200 extracts features from the image to obtain the element to be processed 10.

[0055] In one embodiment of the present application, after the device terminal 200 obtains the element to be processed 10, the device terminal 200 also needs to convert the element to be processed 10 into a laser processing device, that is, a machine code that can be recognized and executed by the laser 100 shown in Figure 1, so that the laser 100 can perform pre-processing alignment operations and post-alignment processing operations. For example, the laser 100 can project at least a portion of the element to be processed 10 or the calibration feature of the element to be processed 10 to the processing area according to the recognizable machine code, and the laser 100 can also process the element to be processed 10 to the target processing position of the object to be processed 20 according to the recognizable machine code.

[0056] In one embodiment of the present application, after acquiring the element to be processed 10, the device terminal 200 further processes the element to be processed 10 to obtain calibration features. The calibration features include overall features of the element to be processed, features representing the region where the overall features of the element to be processed are located, partial features of the element to be processed, or features representing the region where the partial features of the element to be processed are located.

[0057] In one embodiment of the present application, the calibration feature includes an outer contour of an element or a border of an area where the element is located. The element to be processed is processed to obtain the calibration feature, including:

[0058] The element to be processed is subjected to an element contour extraction process or an element region frame extraction process to obtain the element outer contour or the element region frame. The element region frame may be a rectangular frame, a square frame, etc. The element 10 to be processed is processed to obtain the element outer contour or the element region frame. Thus, during the alignment process before processing, the relationship between the position of the projection image of the element outer contour or the element region frame in the processing area and the target processing position of the object to be processed 20 can be detected to determine whether the element to be processed 10 and the object to be processed 20 are aligned. That is, during the alignment process, only the element outer contour or the element region frame needs to be calibrated to fall into the target processing position of the object to be processed, which can improve the calibration efficiency and thus improve the processing efficiency.

[0059] In one embodiment of the present application, the calibration feature includes a key feature of the element to be processed or a diagonal position feature of the element to be processed, and the calibration feature is obtained by processing the element to be processed, including:

[0060] The element to be processed is subjected to key feature extraction processing or diagonal line extraction processing to obtain the key features of the element to be processed or the diagonal position features of the element to be processed. Among them, the key features are features that characterize the characteristics of the element to be processed. The diagonal position features are features used to characterize the diagonal position of the element to be processed, such as the position of the diagonal line. By processing the element to be processed 10 to obtain the key features of the element to be processed 10 or the diagonal position features of the element to be processed 10, during the alignment process before processing, it is possible to determine whether the element to be processed 10 and the object to be processed 20 are aligned by detecting the relationship between the position of the projection image of the key features or diagonal position features in the processing area and the target processing position of the object to be processed 20. That is, during the alignment process, only the key features or diagonal position features need to be calibrated to fall into the target processing position of the object to be processed 20, which can improve the efficiency of the alignment and further improve the processing efficiency.

[0061] In step S220 , if the element to be processed is not aligned with the object to be processed, the position of the object to be processed and / or the element to be processed is adjusted so that the position of the projection image of the element to be processed in the processing area corresponds to the target processing position of the object to be processed.

[0062] In this embodiment of the present application, the device terminal 200, running a laser processing control application or software, can draw or capture an element 10 to be processed, and then send the element 10 to the control board 110 of the laser 100. The laser generator 130 of the laser 100 continuously emits light within the processing area, allowing the control board 110 to project at least a portion of the element 10 to be processed, or a calibration feature of the element 10 to be processed, into the processing area. The object 20 to be processed is placed on an expander accessory 150 that can move in a first direction and moves with the expander accessory 150. Therefore, controlling the movement of the expander accessory 150 controls the movement of the object 20 to be processed. The control board 110 of the laser 100 can calculate the operation of the expander accessory 150 and the projected image, achieving synchronized movement of the projected image and the object 20 to be processed, that is, allowing the projected image to move along with the expander accessory 150. During this movement, the object 20 to be processed passes through the processing area, allowing the specific location of the projected image on the object 20 to be displayed within the processing area. Thus, the relationship between the position of the projection image on the object to be processed 20 and the target processing position of the object to be processed 20 can be observed in the processing area, and whether the element to be processed 10 and the object to be processed 20 are aligned can be determined based on the observation result.

[0063] For example, the projection image of the processing area projected onto the object to be processed 20 can be captured by the camera 140 and then uploaded to the device terminal 200. The device terminal 200 processes the projection image and determines whether the location of the projection image corresponds to the target processing position of the object to be processed 20.

[0064] In the embodiment of the present application, after calibration and alignment are performed to align the position of the projected image in the processing area with the target processing position of the object 20 to be processed, the control board 110 receives the processing signal sent by the device terminal 200. The control board 110 then issues a processing control instruction to the galvanometer 120 and the laser generator 130 to control the galvanometer 120 and the laser generator 130 to process the element 10 to be processed at the target processing position of the object 20 to be processed.

[0065] It is understandable that the embodiment of the present application does not limit the adjustment method of the object to be processed 20, and it can be adjusted in any direction, as long as the position of the projected image in the processing area can be adjusted to correspond to the target processing position of the object to be processed 20.

[0066] In the embodiment of the present application, when it is detected that the element to be processed 10 and the object to be processed 20 are misaligned, in addition to performing alignment by adjusting the position of the object to be processed 20, an adjustment signal may be sent to the device terminal 200, so that the device terminal 200 adjusts the position of the element to be processed 10 according to the adjustment signal. The device terminal 200 may then send the adjusted element to be processed 10 to the control board 110, so that the control board 110 may perform projection calibration based on the received adjusted element to be processed 10.

[0067] For example, when the element to be processed 10 is a small element with discontinuous distribution, when it is observed through the processing area that the target sub-element is not projected on the target processing sub-position of the object to be processed 20, moving the object to be processed 20 as a whole may cause other target processing sub-positions to be unable to be aligned. At this time, the position of the target sub-element can be adjusted by sending an adjustment signal to the device terminal 200 to achieve calibration and alignment of each element to be processed 10 and the object to be processed 20.

[0068] 3 , FIG3 is a flowchart of the steps provided by an embodiment of the present application for determining whether the element to be processed and the object to be processed are aligned based on the relationship between the position of the projected image in the processing area and the target processing position of the object to be processed, which is applied to the implementation environment shown in FIG1 , including but not limited to steps S310 to S330.

[0069] Step S310 : When the element to be processed is a continuous closed element, the projection image and the object to be processed are controlled to move synchronously until at least a portion of the projection image is observed in the processing area.

[0070] Step S320 , detecting whether the position of at least one portion of the projected image in the processing area corresponds to the target processing position on the object to be processed.

[0071] In step S330 , if it is detected that the position of at least one portion of the projected image in the processing area corresponds to the target processing position on the object to be processed, the alignment of the element to be processed and the object to be processed is determined.

[0072] In an embodiment of the present application, when the element 10 to be processed cannot be fully displayed in the processing area, further consideration is given to whether the element 10 to be processed is a continuous, closed element, such as a bitmap. If the element 10 to be processed is a continuous, closed element, the projected image and the object 20 to be processed are controlled to move synchronously until at least a portion of the projected image is observed in the processing area. At this point, it is only necessary to observe in the processing area whether at least a portion of the projected image corresponds to the target processing position of the object 20 to be processed. If so, it indicates that the element 10 to be processed and the object 20 to be processed are properly aligned. If not, it indicates that the element 10 to be processed and the object 20 to be processed are not aligned. If the element to be processed is a continuous, closed element, alignment between the element 10 to be processed and the object 20 to be processed can be determined by determining whether the position of at least a portion of the projected image in the processing area corresponds to the target processing position of the object 20 to be processed. This eliminates the need to determine whether the entire position of the projected image in the processing area corresponds to the target processing position of the object 20 to be processed, thereby improving calibration and alignment efficiency, and thus improving processing efficiency.

[0073] In one embodiment of the present application, when the element to be processed is a continuous and closed element, if it is detected that the position of at least one portion of the projected image in the processing area does not correspond to the corresponding target processing position on the object to be processed 20, it is determined that the element to be processed 10 is not aligned with the object to be processed 20. In this case, by adjusting the position of the object to be processed 20 and / or the element to be processed 10, the position of at least one portion of the projected image in the processing area corresponds to the corresponding target processing position on the object to be processed 20, thereby achieving alignment between the element to be processed 10 and the object to be processed 20.

[0074] For example, the object 20 to be processed is a rectangular flat plate with an area larger than the processing area. It is placed horizontally on the expansion accessory 150 and aligned with its left edge. The element 10 to be processed is the outline of a cat head image. At this point, the projected image and the expansion accessory 150 are simultaneously moved leftward so that the left quarter of the rectangular plate is within the processing area. Then, a portion of the projected image is observed within the processing area. For example, the projected image corresponding to the outline of the cat's two ears is observed within the processing area to see if it is in the middle of the left quarter of the rectangular plate. If so, the element 10 to be processed is properly aligned with the object 20 to be processed, and laser processing can proceed directly. If not, alignment can be performed by adjusting the position of the object to be processed (i.e., the rectangular plate), the element to be processed, or both. Laser processing can proceed even after alignment is complete. Further alignment calibration is not required during the movement process.

[0075] It's understandable that since the element 10 to be processed is a continuous, closed element, as long as the front portion of the element 10 is aligned with the target front position of the object 20 to be processed, the subsequent portions will also be aligned. Therefore, alignment judgment and calibration can be performed simply by moving the object 20 to be processed and a portion of the projected image to the processing area. This eliminates the need to move the entire object 20 to be processed and the projected image through the processing area for alignment. This improves alignment efficiency.

[0076] 4 , FIG4 is a flowchart of the steps provided by an embodiment of the present application for determining whether the element to be processed and the object to be processed are aligned based on the relationship between the position of the projected image in the processing area and the target processing position of the object to be processed, which is applied to the implementation environment shown in FIG1 , including but not limited to steps S410 to S430.

[0077] Step S410 : When the element to be processed is a discontinuously distributed element, the projection image is segmented to obtain a plurality of sub-projection images.

[0078] Step S420 , controlling the projection image and the object to be processed to move synchronously, and detecting during the movement whether the positions of the sub-projection images in the processing area correspond to the corresponding target processing sub-positions on the object to be processed.

[0079] In step S430 , if it is detected during the movement that the positions of the sub-projection images in the processing area correspond to the target processing sub-positions on the object to be processed, the alignment of the element to be processed and the object to be processed is determined.

[0080] In an embodiment of the present application, when the projection image cannot be fully displayed in the processing area, it is further considered whether the element to be processed 10 is a discontinuously distributed element, and these discontinuously distributed elements need to be processed to different positions of the object to be processed 20. If the element to be processed 10 is a discontinuously distributed element, and needs to be processed to different positions of the object to be processed 20. At this time, the projection image is segmented to obtain multiple sub-projection images, the projection image and the object to be processed 20 are controlled to move synchronously, and during the movement, it is observed in the processing area whether each sub-projection image is projected on the target processing sub-position corresponding to the object to be processed 20. If each sub-projection image is projected on the target processing sub-position corresponding to the object to be processed 20, it means that the element to be processed 10 and the object to be processed 20 are aligned. If the position of some sub-projection images does not correspond to the target processing sub-position corresponding to the object to be processed 20, it means that some sub-projection images in each sub-projection image are not aligned with the target processing sub-position corresponding to the object to be processed 20, and need to be adjusted. At this time, since the object to be processed 20 is a whole, the device terminal 200 can be used to adjust the position of the element to be processed for calibration. That is, alignment detection needs to be performed during the process of synchronously moving the projection image and the object to be processed 20.

[0081] In an embodiment of the present application, when the element to be processed 10 is a discontinuously distributed element, it is necessary to detect in the processing area whether the position of each sub-projection image corresponds to the target processing sub-positions corresponding to the object to be processed 20. If the position of each sub-projection image corresponds to the target processing sub-positions corresponding to the object to be processed 20, it can be determined that the element to be processed 10 and the object to be processed 20 are aligned.

[0082] In one embodiment of the present application, when the element to be processed is a discontinuously distributed element, if it is detected during movement that the positions of the various sub-projection images in the processing area do not correspond to the corresponding target processing sub-positions on the object to be processed, then it is determined that the element to be processed and the object to be processed are not aligned. If it is detected during movement that the positions of some sub-projection images in the processing area do not correspond to the corresponding target processing sub-positions on the object to be processed, then it can be determined that the element to be processed and the object to be processed are not aligned. In this case, the position of the element to be processed is adjusted so that the positions of the various sub-projection images in the processing area correspond to the corresponding target processing sub-positions on the object to be processed. This allows the element to be processed 10 to be aligned with the object to be processed 20.

[0083] For example, refer to Figure 5, which is an example diagram of alignment detection provided by an embodiment of the present application. The object to be processed 20 is a rectangular flat plate with an area larger than the area of ​​the processing area. It is placed horizontally on the expansion accessory 150 and aligned with the left edge of the expansion accessory 150. The rectangular flat plate includes four non-connected areas from left to right, namely Area 1, Area 2, Area 3 and Area 4, and the elements to be processed are four different letters distributed discontinuously, namely A, B, C, and D. A needs to be processed to Area 1, B to Area 2, C to Area 3, and D to Area 4. At this time, the element to be processed 10 and the expansion accessory 150 are moved to the left synchronously, and the middle position of Area 1 in the processing area is observed to see if there is a projected letter A. If so, continue to move to the left. If not, pause the movement, and adjust the position of the letter A through the device terminal 200 so that the letter A is projected to the middle position of Area 1. Then, the machine continues to move to the left and observes the center of Area 2 in the processing area to see if the letter B is projected. If so, continue to move to the left. If not, pause and adjust the position of letter B via the device terminal 200 so that letter B is projected to the center of Area 2. Then, the machine continues to move to the left and observes the center of Area 3 in the processing area to see if the letter C is projected. If so, continue to move to the left. If not, pause and adjust the position of letter C via the device terminal 200 so that letter C is projected to the center of Area 3. Then, the machine continues to move to the left and observes the center of Area 4 in the processing area to see if the letter D is projected. If so, continue to move to the left. If not, pause and adjust the position of letter D via the device terminal 200 so that letter D is projected to the center of Area 4. In this way, movement can only stop after all the sub-target positions of the object to be processed have been calibrated and aligned in the processing area.

[0084] In one embodiment of the present application, multiple objects 20 to be processed can be placed on the expansion accessory 150, and the corresponding elements 10 to be processed for each object 20 can be mapped or acquired via the device terminal 200. The expansion accessory 150 and the projection images corresponding to the corresponding elements 10 to be processed are then synchronously moved so that each object 20 to be processed on the expansion accessory 150 passes through the processing area. This allows the user to observe in the processing area whether the projection images corresponding to the corresponding elements 10 to be processed are projected onto the target processing sub-positions of the objects 20 to be processed. The objects 20 to be processed and the corresponding elements 10 to be processed can be continuously aligned, allowing each object 20 to be processed to be processed continuously after alignment.

[0085] For example, refer to Figure 6, which is another example diagram of alignment detection provided by an embodiment of the present application. 10 small squares to be processed are placed on the expansion accessory 150. A letter M needs to be processed on the upper surface of each small square. At this time, the laser processing control application or software can be run through the device terminal 200, and 10 letters M can be drawn on the corresponding display interface, and these 10 letters do not overlap and are distributed at a certain interval. Start to move the expansion accessory 150 and the projection images corresponding to the 10 letters M synchronously. The projection images of the first group of 4 letters M can be observed in the processing area first. A small square is placed at the position where each projection image of the letter M appears, and the letter M is projected exactly on the upper surface of the small square. Then, the projection images of the second group of 4 letters M can be observed in the processing area. A small square is placed at the position where each projection image of the letter M appears, and the letter M is projected exactly on the upper surface of the small square. Then, a small square is placed at the position where each projection image of the letter M appears, and the letter M is projected exactly on the upper surface of the small square. Then, the projection images of the third group of two letters M can be observed in the processing area. A small square is placed at the corresponding position of each letter M's projection image, so that the letter M is projected on the upper surface of the small square. In this way, the 10 small squares to be processed are continuously aligned with the projection images of the corresponding letters M to be processed, and the 10 small squares can be laser processed continuously. Compared with the current method of processing an object in the processing area after completing one object and then switching to the next object for processing, this patent application can calibrate and process simultaneously, which can ensure processing accuracy while also allowing continuous processing and improving processing efficiency.

[0086] It should be noted that when the synchronous movement speed of the expanding accessory 150 and the projected image is relatively fast, if it is observed that the object to be processed 20 and the projected image are not aligned, the expanding accessory 150 and the projected image can be controlled to pause and, after alignment, to control the synchronous movement of the expanding accessory 150 and the projected image again. When the synchronous movement speed of the expanding accessory 150 and the projected image is relatively slow, if it is observed that the object to be processed 20 and the projected image are not aligned, it is not necessary to control the synchronous movement of the expanding accessory 150 and the projected image, and alignment can be directly performed.

[0087] 7 , which is a flowchart of steps for controlling the synchronous movement of a projection image and an object to be processed provided by an embodiment of the present application, and is applied to the implementation environment shown in FIG. 1 , including but not limited to steps S710 to S730 .

[0088] Step S710, obtaining the moving speed of the object to be processed;

[0089] Step S720, calculating the moving distance of the object to be processed at each moment according to the moving speed;

[0090] Step S730 : controlling the output of the projection image corresponding to each moment according to the movement distance corresponding to each moment, so that the projection image and the object to be processed move synchronously.

[0091] In the embodiment of the present application, the object 20 to be processed is placed on the widening accessory 150 and moves with the widening accessory 150. The control board 110 can obtain the moving speed of the widening accessory 150. Then, the moving distance of the object 20 to be processed at each moment is calculated based on the moving speed. Therefore, the projection image corresponding to the element to be processed 10 or the calibration feature of the element to be processed 10 at each moment can be controlled and output according to the moving distance corresponding to each moment, so that the projection image and the object to be processed 20 move synchronously. That is to say, after pre-calculation, the control board 110 can control the widening accessory 150 to move along the X-axis at a certain speed while controlling the number of frames of the corresponding length of the projection of the element to be processed 10 or the calibration feature of the element to be processed 10, so that it can be observed on the processing area that the projection image of the element to be processed 10 or the calibration feature of the element to be processed 10 also moves with the widening accessory 150.

[0092] For example, if the expansion accessory 150 is controlled to move 10 cm at a certain speed from its starting point, the projection image of the processing area needs to be synchronized with the data of frames 0-10. The correspondence between the data of frames 0-10 and 10 cm is determined in advance through experiments and calculations. In other words, the correspondence between the projection image and the object 20 to be processed is obtained in advance, so that the projection image and the object 20 to be processed can be controlled to move synchronously.

[0093] In the embodiment of the present application, when the projection image corresponding to the element to be processed 10 or the projection image of the calibration feature of the element to be processed 10 can be fully projected and displayed in the processing area, there is no need to control the synchronous movement of the element to be processed 10 and the object to be processed 20. It is possible to directly detect whether the element to be processed 10 is projected at the target processing position of the object to be processed 20 and perform calibration and alignment. When the projection image corresponding to the element to be processed 10 or the projection image of the calibration feature of the element to be processed 10 cannot be fully projected and displayed in the processing area, it is necessary to control the synchronous movement of the projection image and the object to be processed 20 to achieve calibration and alignment between the projection image and the object to be processed 20. In other words, the embodiment of the present application controls the synchronous movement of the projection image and the object to be processed 20, so that even when the element to be processed 10 cannot be fully projected and displayed in the processing area, the element to be processed 10 and the object to be processed 20 can be calibrated and aligned, thereby improving processing accuracy.

[0094] It is understandable that, in order to reduce ineffective movement, the object 20 to be processed may be placed on the expanding accessory 150 and aligned with the edge of the expanding accessory 150 in the moving direction.

[0095] In this embodiment of the present application, the device terminal 200 can first acquire the element 10 to be processed. The element 10 is then converted into a machine code that can be recognized and executed by the laser 100 and then sent to the laser 100. After receiving the machine code, the laser 100 can project the element 10 to be processed or its calibration feature into the processing area via the laser generator 130, thereby displaying a projected image within the processing area. Specifically, the laser 100 can control the synchronous movement of the projected image and the object 20 to be processed, that is, the projected image can be controlled to move along with the object 20 to be processed. Therefore, if the element 10 to be processed or the calibration feature cannot be fully projected and displayed within the processing area, the element 10 to be processed and the object 20 to be processed can be aligned during movement to improve processing accuracy. Furthermore, during this alignment process, the alignment of the element 10 to be processed and the object 20 to be processed can be determined by determining whether the position of the projected image of the calibration feature in the processing area corresponds to the target processing position of the object 20 to be processed. This can improve alignment efficiency, and thus processing efficiency.

[0096] Exemplarily, a laser processing control application or software can be run on the device terminal 200. After connecting the expansion accessory 150 to the control board 110 and the device terminal 200, place the object 20 to be processed on the expansion accessory 150. Adjust the height of the laser head of the laser generator 130 for focusing, and let the laser generator 130 start emitting light to the processing area. Among them, the correspondence between the expansion area 151 and the processing area 131 corresponding to the expansion accessory 150 is shown in Figure 8. As shown in Figure 8, the expansion area 151 includes the processing area 131 and the expanded frame area 132, and the processing area 131 overlaps the left area of ​​the expansion area 151. Exemplarily, the processing area 131 can be a square area of ​​100×100, and the expansion area 151 can be a rectangular area of ​​100×400 including the processing area 131. Open the laser processing control application or software on the device terminal 200, and refer to Figure 9, which is a schematic diagram of the laser processing control application display interface provided in an embodiment of the present application. Click the "Laser Expansion Accessory" icon on the display interface, and the expansion area 151 will be displayed accordingly on the front-end interface. At this time, the file or data of the element to be processed can be imported into the expansion area 151, or the data of the element to be processed can be directly drawn and designed in the expansion area 151. At this time, the element to be processed 10 will be displayed on the expansion area 151. Then select the light output speed, light output power, slide movement speed and alignment mode of the laser 100, where the slide is used to carry the expansion accessory 150 and drive the expansion accessory 150 to move in the X-axis direction. The alignment mode includes an outer contour mode and a rectangular frame mode. The outer contour mode is to control the display of the outer contour of the element to be processed 10 in the processing area, and the rectangular frame mode is to control the display of the rectangular frame where the element to be processed 10 is located in the processing area. After selection, click the "walk frame" icon to enter the walk frame alignment state. At this point, the user can control the control knob on the laser 100 to synchronize the movement of the element 10 to the left with the expansion accessory 150. Within the processing area, the projected element outline or the rectangular frame surrounding the element can be observed to ensure it is aligned with the target position of the object 20 being processed. The projected element outline or the rectangular frame surrounding the element can also be observed to move with the object. If the projected element outline or the rectangular frame surrounding the element is not aligned with the target position of the object being processed, a prompt will pop up on the front interface of the device terminal 200, prompting the user to manually rotate the control knob to move the slide left or right for accurate alignment. If the placement of the object 20 is off, release the knob to stop and fine-tune the position of the object 20 or adjust the position of the element 10 in the expansion area 151 so that the projected element outline or the rectangular frame surrounding the element is aligned with the target position of the object being processed. Once alignment is complete, click the "Stop Frame Tracking" icon on the front interface to exit the frame tracking mode, and the expansion accessory 150 will automatically return to its origin.

[0097] It should be noted that the speed of the guide rail is based on the speed value synchronized with the device terminal 200. By default, a maximum speed limit is synchronized. If the user modifies the speed value, the device terminal 200 synchronizes the modified speed value to the laser 100 to control the uniform movement of the guide rail. When alignment is completed (including completion midway), the device terminal 200 exits the frame-moving state and synchronizes this state to the laser 100, and the expansion accessory 150 automatically returns to its origin.

[0098] It should be noted that when the element to be processed 10 exceeds the expanded area 151, a pop-up window will be displayed to prompt that the element to be processed 10 exceeds the expanded area 151. At this time, the placement of the element to be processed 10 needs to be adjusted before the frame alignment and processing can be performed.

[0099] For example, when the laser 100 is performing frame alignment and processing, the expansion accessory 150 is driven by a motor to move the object 20 to the left. If the outer contour mode is selected for frame alignment, the expansion accessory 150 begins to move to the left, and the laser head of the laser generator 130 projects the outer contour of the element on the processing area. At this time, observe whether the outer contour of the element is at the target position of the object 20 to be processed, and observe whether the outer contour of the element moves to the left along with the object 20 to be processed. If the projected outer contour of the element is not at the target position of the object 20 to be processed, it means that the alignment is inaccurate. The placement of the object 20 to be processed can be adjusted manually, or the position of the element 10 to be processed can be adjusted in the expansion area 151 until the projected outer contour of the element is at the target position of the object 20 to be processed. When the frame alignment is completed, the limit switch will be triggered, and the expansion accessory 150 will automatically return to the origin. If the frame alignment is stopped midway, the expansion accessory 150 will also automatically return to the origin.

[0100] It should be noted that the embodiment of the present application does not specifically limit the driving method of the expansion accessory 150. The expansion accessory 150 is provided with a transmission component, so that the movement of the expansion accessory 150 can be controlled by controlling the movement of the transmission component, thereby driving the movement of the object 20 to be processed.

[0101] It will be appreciated that in the embodiments of the present application, the expansion accessory 150 and the projected image are synchronously moved and aligned before processing. Alternatively, the expansion accessory 150 and the projected image can be synchronously moved for simultaneous alignment and processing. Alternatively, the expansion accessory 150 and the projected image can be synchronously moved for segmented alignment and subsequent processing, i.e., segmented alignment and processing. The specific alignment and processing methods can be determined based on actual circumstances, for example, based on the number, shape, size, and dimensions of the objects 20 to be processed and the form of the elements 10 to be processed.

[0102] For example, a laser processing control application or software can be run on the device terminal 200, which is connected to the laser 100. The device terminal 200 can convert the acquired element 10 to be processed into a machine code (in data form) recognizable by the laser 100, and then send it to the control board 110 of the laser 100. The control board 110 of the laser 100 can read the machine code to align and process the object 20 to be processed.

[0103] It should be noted that when aligning the element to be processed 10 and the object to be processed 20 by adjusting the position of the element to be processed on the device terminal 200 or by adjusting the position of the object to be processed, a corresponding preview interface can be displayed on the display interface corresponding to the laser processing control application or software running on the device terminal 200, and whether the alignment is successful can be displayed through the preview interface.

[0104] 10 , an embodiment of the present application further provides a laser processing apparatus 1200, comprising a laser 100, a device terminal 200, and a storage device 300. The storage device 300 is used to store one or more programs. When the one or more programs are executed by the laser 100, the laser processing apparatus 1200 implements the laser processing method proposed in the present application.

[0105] The laser processing apparatus 1200 of the present embodiment includes a laser 100, a device terminal 200, and a storage device 300. Through interaction between the laser 100 and the device terminal 200, and by synchronously moving the projected image and the object to be processed, the element to be processed and the object to be processed can be aligned before processing, thereby improving processing accuracy.

[0106] The present application also provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned laser processing method when executing the computer program. The electronic device can be any smart terminal including a tablet computer, an in-vehicle computer, or the like.

[0107] Please refer to FIG11 , which is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. The electronic device includes:

[0108] The processor 1101 can be implemented as a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0109] The memory 1102 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1102 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program codes are stored in the memory 1102 and are called by the processor 1101 to execute the laser processing method of the embodiments of this application.

[0110] Input / output interface 1103, used to implement information input and output;

[0111] Communication interface 1104, used to implement communication interaction between this device and other devices, which can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WiFi, Bluetooth, etc.);

[0112] Bus 1105 , which transmits information between various components of the device (e.g., processor 1101 , memory 1102 , input / output interface 1103 , and communication interface 1104 );

[0113] The processor 1101 , the memory 1102 , the input / output interface 1103 and the communication interface 1104 are connected to each other in communication within the device via a bus 1105 .

[0114] An embodiment of the present application further provides a storage medium, which is a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned laser processing method is implemented.

[0115] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0116] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present application.

[0117] In an exemplary embodiment of the present application, a computer-readable storage medium is further provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the method described in the above method embodiment.

[0118] According to one embodiment of the present application, a program product for implementing the method in the above method embodiment is also provided. The program product may be a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present application is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0119] The program product may be implemented in any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0120] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0121] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0122] The program code for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as JAVA, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0123] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiment of the application, the features and functions of two or more modules or units described above can be concretized in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0124] Furthermore, although the steps of the method of the present application are described in a particular order in the accompanying drawings, this does not require or imply that the steps must be performed in this particular order, or that all steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0125] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.

[0126] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered merely as exemplary, and the true scope and spirit of the present application are indicated by the appended claims.

Claims

1. A laser processing method, characterized in that: include: Before processing the element to be processed onto the object to be processed, determining whether the element to be processed is aligned with the object to be processed according to the relationship between the position of the projection image in the processing area and the target processing position of the object to be processed, wherein the projection image includes a projection image corresponding to at least a part of the element to be processed or a projection image corresponding to a calibration feature of the element to be processed; If the element to be processed is not aligned with the object to be processed, the position of the object to be processed and / or the element to be processed is adjusted so that the position of the projection image in the processing area corresponds to the target processing position of the object to be processed.

2. The laser processing method according to claim 1, characterized in that: Adjusting the position of the object to be processed and / or the element to be processed so that the position of the projection image in the processing area corresponds to the target processing position of the object to be processed, comprising: The position of the object to be processed and / or the element to be processed is adjusted so that the position of the projection image in the processing area overlaps with the target processing position of the object to be processed.

3. The laser processing method according to claim 1, characterized in that: Before processing the element to be processed into the object to be processed, the method further includes: The element to be processed is obtained, where the element to be processed includes text, symbols, lines, graphics, or any combination of two or more.

4. The laser processing method according to claim 1 or 3, characterized in that: The element to be processed is obtained by at least one of the following methods: Drawing the element to be processed; Identifying a file storing the element to be processed to obtain the element to be processed; Feature extraction is performed on the image of the element to be processed to obtain the element to be processed.

5. The laser processing method according to claim 3, characterized in that: After obtaining the element to be processed, the method further includes: The elements to be processed are converted into machine codes that can be recognized and executed by laser processing equipment.

6. The laser processing method according to claim 3, characterized in that: After obtaining the element to be processed, the method further includes: The element to be processed is processed to obtain the calibration feature.

7. The laser processing method according to claim 6, characterized in that: The calibration feature includes an outer contour of an element or a border of an area where the element is located, and the processing of the element to be processed to obtain the calibration feature includes: The element to be processed is subjected to element contour extraction processing or element region frame extraction processing to obtain the element outer contour or the element region frame.

8. The laser processing method according to claim 6, characterized in that: The calibration feature includes a key feature of the element to be processed or a diagonal position feature of the element to be processed, and the processing of the element to be processed to obtain the calibration feature includes: A key feature extraction process or a diagonal line extraction process is performed on the element to be processed to obtain the key feature of the element to be processed or the diagonal position feature of the element to be processed.

9. The laser processing method according to claim 1, characterized in that: The determining whether the element to be processed and the object to be processed are aligned according to the relationship between the position of the projection image in the processing area and the target processing position of the object to be processed comprises: When the element to be processed is a continuous closed element, controlling the projection image and the object to be processed to move synchronously until at least one part of the projection image is observed in the processing area; Detecting whether a position of at least one portion of the projection image in the processing area corresponds to a corresponding target processing position on the object to be processed; If it is detected that the position of at least one part of the projection image in the processing area corresponds to the corresponding target processing position on the object to be processed, it is determined that the element to be processed is aligned with the object to be processed.

10. The laser processing method according to claim 9, characterized in that: When the element to be processed is a continuous closed element, the method further includes: If it is detected that the position of at least one part of the projection image in the processing area does not correspond to the corresponding target processing position on the object to be processed, it is determined that the element to be processed is not aligned with the object to be processed; The position of the object to be processed and / or the element to be processed is adjusted so that the position of at least one part of the projection image in the processing area corresponds to the corresponding target processing position on the object to be processed.

11. The laser processing method according to claim 1, characterized in that: The determining whether the element to be processed and the object to be processed are aligned according to the relationship between the position of the projection image in the processing area and the target processing position of the object to be processed comprises: When the element to be processed is a discontinuously distributed element, the projection image is segmented to obtain a plurality of sub-projection images; Controlling the projection image and the object to be processed to move synchronously, and detecting during the movement whether the position of each sub-projection image in the processing area corresponds to each target processing sub-position on the object to be processed; If it is detected during the movement that the positions of the sub-projection images in the processing area correspond to the corresponding target processing sub-positions on the object to be processed, it is determined that the element to be processed is aligned with the object to be processed.

12. The laser processing method according to claim 11, characterized in that: When the element to be processed is a discontinuously distributed element, the method further includes: If it is detected during the movement that the positions of the sub-projection images in the processing area do not correspond to the target processing sub-positions corresponding to the object to be processed, it is determined that the element to be processed is not aligned with the object to be processed; The position of the element to be processed is adjusted so that the position of each sub-projection image in the processing area corresponds to each corresponding target processing sub-position on the object to be processed.

13. The laser processing method according to claim 9 or 11, characterized in that: Controlling the projection image and the object to be processed to move synchronously, comprising: Acquiring the moving speed of the object to be processed; Calculating the moving distance of the object to be processed at each moment according to the moving speed; According to the moving distance corresponding to each moment, the projection image corresponding to the corresponding moment is controlled to be output, so that The projection image and the object to be processed move synchronously.

14. A laser processing device, characterized in that: The method comprises a laser for performing the method according to any one of claims 1 to 13.

15. The device according to claim 14, characterized in that The laser processing apparatus further comprises a device terminal, which is connected to the laser and interacts with the laser to execute the method according to any one of claims 1-13.

16. The device according to claim 15, characterized in that The laser comprises a control panel, a laser generator and an expansion accessory movable along a first direction; the control panel, the laser generator and the expansion accessory are all connected to the device terminal; The control board is connected to the laser generator and the expansion accessory respectively; a processing area is formed below the laser generator, and the light beam emitted by the laser generator is focused on the processing area. The expansion accessory is located below the laser generator and is used to carry the object to be processed and drive the object to be processed to move. The expansion accessory passes through the processing area during the movement.

17. The device according to claim 16, characterized in that The laser also includes a galvanometer, which is connected to the device terminal and the control board. The galvanometer is used to reflect the laser emitted by the laser generator to change the emission angle of the laser.

18. The device according to claim 16 or 17, characterized in that The laser processing device also includes a camera for capturing an image of the processing area.

19. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 13 when executing the computer program.

20. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 13 is implemented.

Citation Information

Patent Citations

  • Method and system for marking rodlike or platelike object

    CN104812172A

  • Laser marking system

    CN111318815A

  • Optical processing method and apparatus for carrying out the same

    CN1119975A

  • Auxiliary positioning method based on projector

    CN113660473A

  • Laser processing method and device, electronic equipment and storage medium

    CN118123270A