Control method and device of laser cutting equipment, terminal equipment and computer medium
By automatically determining the cutting point and path in the laser cutting equipment, the problems of time-consuming manual adjustments and reduced accuracy in existing technologies are solved, achieving efficient and accurate cutting and improved quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-09
- Publication Date
- 2026-04-07
AI Technical Summary
Existing laser cutting equipment requires manual adjustment when cutting various products, which is time-consuming and reduces accuracy, resulting in long production times and poor product quality.
By acquiring the initial design image, determining the actual cutting points and paths, automatically adjusting the initial design image to generate the target design image, and cutting according to the target design image.
It improves the precision of laser cutting equipment, enabling precise cutting of target products, thereby improving product quality and reducing production costs.
Smart Images

Figure CN116984753B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of laser cutting technology, and in particular to a control method, apparatus, terminal equipment, and computer-readable storage medium for laser cutting equipment. Background Technology
[0002] With the continuous development of laser cutting technology, laser cutting equipment plays an increasingly important role in industrial production. Currently, laser cutting equipment often focuses on cutting a single product. Therefore, if multiple products need to be cut using laser cutting equipment, technicians need to manually adjust the laser cutting equipment according to the product design drawings to modify the positioning and change the cutting path.
[0003] However, manually adjusting laser cutting equipment often requires a lot of time and effort. Furthermore, after technicians manually adjust the laser cutting equipment, the accuracy of the laser cutting equipment will decrease. As a result, the production time for leveling is longer and the quality of the cut products is poor. Summary of the Invention
[0004] The main objective of this application is to provide a control method, apparatus, terminal equipment, and computer-readable storage medium for laser cutting equipment, aiming to improve the accuracy of laser cutting equipment, thereby enabling the laser cutting equipment to accurately cut target products, improve product quality, and reduce production costs.
[0005] To achieve the above objectives, this application provides a control method for a laser cutting device, the control method comprising the following steps:
[0006] Obtain an initial design image, and determine the actual cutting points within the product to be cut based on the initial design image;
[0007] The actual cutting path is determined based on the actual cutting points, and the initial design image is adjusted according to the actual cutting path to obtain the target design image.
[0008] The product to be cut is cut according to the target cutting path contained in the target design image to obtain the target product.
[0009] Furthermore, the step of determining the actual cutting points within the product to be cut based on the initial design image includes:
[0010] Obtain the target image containing the product to be cut;
[0011] Extract the image features of the target image, and determine the actual cutting points within the product to be cut based on the image features.
[0012] Furthermore, the step of determining the actual cutting path based on the actual cutting point includes:
[0013] Determine the reference cutting point corresponding to the actual cutting point within the initial design image;
[0014] Determine the reference cutting path corresponding to the reference cutting point, and determine the actual cutting path within the product to be cut based on the reference cutting path.
[0015] Further, the step of adjusting the initial design image according to the actual cutting path to obtain the target design image includes:
[0016] The path length ratio is determined by comparing the reference cutting path with the actual cutting path.
[0017] The size of the initial design image is adjusted based on the path length ratio to obtain the target design image.
[0018] Furthermore, prior to the step of determining the actual cutting path based on the actual cutting point, the method further includes:
[0019] A first cutting point is determined within the initial design image, and a second cutting point corresponding to the first cutting point is determined within the product to be cut;
[0020] The cutting point calibration operation is completed based on the first cutting point and the second cutting point.
[0021] Further, the step of completing the cutting point calibration operation based on the first cutting point and the second cutting point includes:
[0022] The initial design image is compared with the product to be cut to determine whether the first cutting point and the second cutting point coincide.
[0023] If it is determined that the first cutting point and the second cutting point do not coincide, the position of the initial design image is adjusted so that the first cutting point and the second cutting point coincide.
[0024] Furthermore, after the step of adjusting the initial design image according to the actual cutting path to obtain the target design image, the method further includes:
[0025] Determine whether the actual cutting path intersects with the edge of the product to be cut;
[0026] If it is determined that the actual cutting path does not intersect with the edge of the product to be cut, then the reverse extension line corresponding to the actual cutting path is determined;
[0027] A target cutting path is generated based on the reverse extension line and the actual cutting path, and the product to be cut is cut according to the target cutting path to obtain the target product.
[0028] Furthermore, to achieve the above objectives, this application also provides a control device for a laser cutting equipment, the device comprising:
[0029] The cutting point determination module is used to acquire an initial design image and determine the actual cutting point within the product to be cut based on the initial design image.
[0030] The image adjustment module is used to determine the actual cutting path based on the actual cutting point, and adjust the initial design image according to the actual cutting path to obtain the target design image;
[0031] The cutting execution module is used to cut the product to be cut according to the target cutting path contained in the target design image to obtain the target product.
[0032] In addition, to achieve the above objectives, this application also provides a terminal device, which includes: a memory, a processor, and a control program for a laser cutting device stored in the memory and executable on the processor. When the control program for the laser cutting device is executed by the processor, it implements the steps of the control method for the laser cutting device as described above.
[0033] In addition, to achieve the above objectives, this application also provides a computer-readable storage medium storing a control program for a laser cutting device, wherein the control program for the laser cutting device, when executed by a processor, implements the steps of the control method for the laser cutting device as described above.
[0034] The control method, apparatus, terminal equipment, and computer medium for laser cutting equipment provided in this application embodiment acquire an initial design image, determine actual cutting points within the product to be cut based on the initial design image, determine an actual cutting path based on the actual cutting points, and adjust the initial design image according to the actual cutting path to obtain a target design image; and cut the product to be cut according to the target cutting path contained in the target design image to obtain the target product.
[0035] In this embodiment, when the laser cutting equipment needs to cut a target product, it first acquires an initial design image corresponding to the target product and inputs the initial design image into the image processing module configured in the laser cutting equipment. The image processing module determines each actual cutting point on the product to be cut based on the initial design image. Then, the laser cutting equipment determines the actual cutting path based on each actual cutting point and the initial design image, and adjusts the size of the initial design image according to the actual cutting path to obtain a target design image that is the same size as the target product. Finally, the laser cutting equipment emits a laser to the product to be cut according to the target design image to cut the product and obtain the target product.
[0036] Thus, this application inputs an initial design image into a laser cutting device, which then identifies the initial design image to determine multiple actual cutting points on the product to be cut. Based on the actual cutting paths between these multiple actual cutting points, the size of the initial design image is adjusted to obtain a target design image that matches the size of the target product. The product to be cut is then cut according to the target design image to obtain the target product. This allows the laser cutting device to automatically determine the actual cutting points and actual cutting paths on the product to be cut and modify the initial design image. As a result, technicians do not need to manually determine the cutting path during the production process, thereby improving the accuracy of the laser cutting device, enabling it to accurately cut the target product, improving product quality, and reducing production costs. Attached Figure Description
[0037] Figure 1 This is a schematic diagram of the structure of the terminal device in the hardware operating environment involved in the embodiments of this application;
[0038] Figure 2 This is a flowchart illustrating the first embodiment of the control method for the laser cutting equipment of this application;
[0039] Figure 3 This is a flowchart illustrating the second embodiment of the control method for the laser cutting equipment of this application;
[0040] Figure 4 This is a flowchart illustrating the third embodiment of the control method for the laser cutting equipment of this application;
[0041] Figure 5 This is a schematic diagram of the functional modules of the control device for the laser cutting equipment of this application.
[0042] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0043] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0044] Reference Figure 1 , Figure 1 This is a schematic diagram of the terminal device structure of the hardware operating environment involved in the embodiments of this application.
[0045] It should be noted that the terminal device in this application embodiment can be a device that executes the control method of the laser cutting equipment of this application. Specifically, the terminal device can be a terminal device connected to the laser cutting equipment, or it can be a mobile terminal, data storage control terminal, PC or other terminal connected to the aforementioned terminal device.
[0046] like Figure 1 As shown, the terminal device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0047] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the terminal device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0048] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a control program for the laser cutting equipment.
[0049] exist Figure 1In the terminal device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and memory 1005 in the terminal device of this application can be set in the terminal device, and the terminal device calls the control program of the laser cutting equipment stored in the memory 1005 through the processor 1001 and performs the following operations:
[0050] Obtain an initial design image, and determine the actual cutting points within the product to be cut based on the initial design image;
[0051] The actual cutting path is determined based on the actual cutting points, and the initial design image is adjusted according to the actual cutting path to obtain the target design image.
[0052] The product to be cut is cut according to the target cutting path contained in the target design image to obtain the target product.
[0053] Furthermore, the processor 1001 calls the control program of the laser cutting equipment stored in the memory 1005 and performs the following operations:
[0054] Obtain the target image containing the product to be cut;
[0055] Extract the image features of the target image, and determine the actual cutting points within the product to be cut based on the image features.
[0056] Furthermore, the processor 1001 calls the control program of the laser cutting equipment stored in the memory 1005 and performs the following operations:
[0057] Determine the reference cutting point corresponding to the actual cutting point within the initial design image;
[0058] Determine the reference cutting path corresponding to the reference cutting point, and determine the actual cutting path within the product to be cut based on the reference cutting path.
[0059] Furthermore, the processor 1001 calls the control program of the laser cutting equipment stored in the memory 1005 and performs the following operations:
[0060] The path length ratio is determined by comparing the reference cutting path with the actual cutting path.
[0061] The size of the initial design image is adjusted based on the path length ratio to obtain the target design image.
[0062] Furthermore, the processor 1001 calls the control program of the laser cutting equipment stored in the memory 1005 and performs the following operations:
[0063] A first cutting point is determined within the initial design image, and a second cutting point corresponding to the first cutting point is determined within the product to be cut;
[0064] The cutting point calibration operation is completed based on the first cutting point and the second cutting point.
[0065] Furthermore, the processor 1001 calls the control program of the laser cutting equipment stored in the memory 1005 and performs the following operations:
[0066] The initial design image is compared with the product to be cut to determine whether the first cutting point and the second cutting point coincide.
[0067] If it is determined that the first cutting point and the second cutting point do not coincide, the position of the initial design image is adjusted so that the first cutting point and the second cutting point coincide.
[0068] Furthermore, the processor 1001 calls the control program of the laser cutting equipment stored in the memory 1005 and performs the following operations:
[0069] Determine whether the actual cutting path intersects with the edge of the product to be cut;
[0070] If it is determined that the actual cutting path does not intersect with the edge of the product to be cut, then the reverse extension line corresponding to the actual cutting path is determined;
[0071] A target cutting path is generated based on the reverse extension line and the actual cutting path, and the product to be cut is cut according to the target cutting path to obtain the target product.
[0072] Based on the aforementioned terminal equipment, the overall concept of the control method for the laser cutting equipment of this application is provided.
[0073] Because current laser cutting equipment often focuses on cutting only a single product, if multiple products need to be cut using this equipment, technicians must manually adjust the machine according to the product design drawings to modify the positioning and cutting path. However, manual adjustments to the laser cutting equipment are often time-consuming and labor-intensive, and the accuracy of the laser cutting equipment decreases after manual adjustments. This results in longer production times for leveling and poorer product quality.
[0074] To address the aforementioned issues, this application proposes a control method for a laser cutting device. The control method includes the following steps: acquiring an initial design image; determining actual cutting points within the product to be cut based on the initial design image; determining an actual cutting path based on the actual cutting points; adjusting the initial design image according to the actual cutting path to obtain a target design image; and cutting the product to be cut according to the target cutting path contained within the target design image to obtain the target product.
[0075] Thus, this application inputs an initial design image into a laser cutting device, which then identifies the initial design image to determine multiple actual cutting points on the product to be cut. Based on the actual cutting paths between these multiple actual cutting points, the size of the initial design image is adjusted to obtain a target design image that matches the size of the target product. The product to be cut is then cut according to the target design image to obtain the target product. This allows the laser cutting device to automatically determine the actual cutting points and actual cutting paths on the product to be cut and modify the initial design image. As a result, technicians do not need to manually determine the cutting path during the production process, thereby improving the accuracy of the laser cutting device, enabling it to accurately cut the target product, improving product quality, and reducing production costs.
[0076] Based on the overall concept of the terminal device and the control method of the laser cutting equipment of this application, and the terminal device, various embodiments of the control method of the laser cutting equipment of this application are further proposed.
[0077] Please refer to Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the control method for the laser cutting equipment of this application.
[0078] It should be understood that although the logical order is shown in the flowchart, in some cases, the control method of the laser cutting equipment of this application may of course perform the steps shown or described in a different order than that shown here.
[0079] like Figure 2 As shown, in this embodiment, the control method of the laser cutting equipment of this application may include the following steps:
[0080] Step S10: Obtain the initial design image, and determine the actual cutting point within the product to be cut based on the initial design image;
[0081] In this embodiment, when the laser cutting equipment needs to cut the target product, the laser cutting equipment first acquires the initial design image corresponding to the target product input by the technician, and inputs the initial design image into the image processing module configured in the laser cutting equipment. The image processing module determines any one or more actual cutting points in the product to be cut based on the initial design image.
[0082] For example, when a laser cutting device needs to cut a target PCB (Printed Circuit Board), the laser cutting device first acquires an initial design image corresponding to the target PCB and inputs the initial design image into the image processing module configured inside the laser cutting device. The image processing module then determines multiple actual cutting points within the PCB to be cut based on the initial design image.
[0083] Furthermore, in a feasible embodiment, the step of "determining each cutting point within the product to be cut based on the initial design image" in step S10 above may specifically include:
[0084] Step S101: Obtain a target image containing the product to be cut;
[0085] In this real-time example, the image processing module first calls the image acquisition device configured on the laser cutting equipment to take a picture of the product to be cut, thereby obtaining a target image containing the product to be cut.
[0086] Step S102: Extract the image features of the target image, and determine the actual cutting points within the product to be cut based on the image features;
[0087] In this embodiment, the image processing module inputs the target image to the internally configured feature extraction unit, which processes the target image based on a preset visual processing algorithm to extract the image features contained in the target image. At the same time, the image extraction module reads the initial design image and determines the reference cutting point contained in the initial design image. The image extraction module then determines the actual cutting point in the product to be cut based on the reference cutting point and the extracted image features.
[0088] For example, the image processing module first calls the camera configured on the laser cutting equipment to take a picture of the PCB board to be cut, thereby obtaining a target image containing the PCB board to be cut, and inputs the target image into the preset feature extraction unit in the image processing module. The feature extraction unit extracts the image features contained in the target image based on the preset visual processing algorithm. At the same time, the image processing module reads the initial design image and determines each reference cutting point marked in the initial design image. Then, the image processing module determines each target cutting point in the target image based on the reference cutting points and the extracted image features, and then determines the cutting point corresponding to each target cutting point in the PCB board to be cut as the actual cutting point.
[0089] Step S20: Determine the actual cutting path based on the actual cutting points, and adjust the initial design image according to the actual cutting path to obtain the target design image;
[0090] In this embodiment, the laser cutting equipment compares the initial design image with the product to be cut to obtain a comparison result, and determines the actual cutting path based on the comparison result and the actual cutting points contained in the product to be cut. The laser cutting equipment then adjusts the size of the initial design image based on the actual cutting path to obtain a target design image that is consistent with the size of the target product.
[0091] For example, the laser cutting equipment compares the initial design image with the PCB board to be cut to obtain a comparison result. Based on the comparison result and each actual cutting point, the laser cutting equipment determines the actual cutting path within the PCB board to be cut. Then, the laser cutting equipment adjusts the size of the initial design image based on the actual cutting path to obtain a target design image with a 1:1 ratio to the target PCB board.
[0092] Furthermore, in a feasible embodiment, the step of "determining the actual cutting path based on the actual cutting point" in step S20 above may specifically include:
[0093] Step S201: Determine the reference cutting point corresponding to the actual cutting point within the initial design image;
[0094] In this embodiment, the laser cutting device reads the initial design image and obtains each reference cutting point contained in the initial design image. The laser cutting device then compares the initial design image with the product to be cut to determine the reference cutting point corresponding to each actual cutting point in the initial design image.
[0095] Step S202: Determine the reference cutting path corresponding to the reference cutting point, and determine the actual cutting path within the product to be cut based on the reference cutting path;
[0096] In this embodiment, the laser cutting equipment reads the initial design image to obtain the reference cutting path formed between each reference cutting point in the initial design image. The laser cutting equipment then determines the actual cutting path in the product to be cut based on the correspondence between each reference cutting point and each actual cutting point and the obtained reference cutting path.
[0097] For example, the laser cutting equipment first reads the initial design image and obtains each reference cutting point contained in the initial design image. At the same time, the laser cutting equipment compares the initial design image with the PCB board to be cut, thereby determining the reference cutting point corresponding to each actual cutting point in the PCB board in the initial design image. Then, the laser cutting equipment reads the initial design image to obtain the reference cutting path formed between each reference cutting point in the initial design image. The laser cutting equipment then converts the reference cutting path based on the correspondence between each reference cutting point and each actual cutting point, thereby determining the actual cutting path contained in the PCB board to be cut.
[0098] Furthermore, in a feasible embodiment, the step S20 above, "adjusting the initial design image according to the actual cutting path to obtain the target design image," may specifically include:
[0099] Step S203: Compare the reference cutting path with the actual cutting path to determine the path length ratio;
[0100] In this embodiment, the laser cutting device first compares the reference cutting path with the corresponding target cutting path to obtain the path length ratio.
[0101] Step S204: Adjust the size of the initial design image based on the path length ratio to obtain the target design image;
[0102] In this embodiment, the laser cutting equipment acquires a preset image ratio value, and adjusts the initial design image based on the path length ratio obtained by comparison and the image ratio value, thereby adjusting the size of the initial design image to be consistent with the size of the target product.
[0103] For example, the laser cutting equipment first determines the target cutting path corresponding to the reference cutting path, and compares the reference cutting path with the target cutting path to determine the path length ratio between the two. Then, the laser cutting equipment performs corresponding enlargement or reduction operations on the size of the initial design image based on the path length ratio, thereby adjusting the size of the initial design image to be the same as the size of the target PCB board to obtain the corresponding target design image.
[0104] Step S30: Cut the product to be cut according to the target cutting path contained in the target design image to obtain the target product;
[0105] For example, after acquiring a target design image, the laser cutting equipment performs laser cutting on the product to be cut according to the target cutting paths contained in the target design image to obtain the target product.
[0106] In this embodiment, when the laser cutting equipment needs to cut the target product, the laser cutting equipment first acquires the initial design image corresponding to the target product input by the technician, and inputs the initial design image into the image processing module configured in the laser cutting equipment. The image processing module determines any one or more actual cutting points in the product to be cut based on the initial design image. Then, the laser cutting equipment compares the initial design image with the product to be cut to obtain a comparison result, and determines the actual cutting path based on the comparison result and the actual cutting points contained in the product to be cut. The laser cutting equipment then adjusts the size of the initial design image based on the actual cutting path to obtain a target design image with the same size as the target product. Finally, after acquiring the target design image, the laser cutting equipment performs laser cutting on the product to be cut according to the target cutting paths contained in the target design image to obtain the target product.
[0107] Thus, this application inputs an initial design image into a laser cutting device, which then identifies the initial design image to determine multiple actual cutting points on the product to be cut. Based on the actual cutting paths between these multiple actual cutting points, the size of the initial design image is adjusted to obtain a target design image that matches the size of the target product. The product to be cut is then cut according to the target design image to obtain the target product. This allows the laser cutting device to automatically determine the actual cutting points and actual cutting paths on the product to be cut and modify the initial design image. As a result, technicians do not need to manually determine the cutting path during the production process, thereby improving the accuracy of the laser cutting device, enabling it to accurately cut the target product, improving product quality, and reducing production costs.
[0108] Furthermore, based on the first embodiment of the control method for the laser cutting equipment of this application described above, a second embodiment of the control method for the laser cutting equipment of this application is proposed herein.
[0109] Please refer to Figure 3 , Figure 3 This is a flowchart illustrating the second embodiment of the control method for the laser cutting equipment of this application, as shown below. Figure 3 As shown, prior to step S20 above, the control method for the laser cutting equipment of this application may further include the following steps:
[0110] Step A10: Determine a first cutting point within the initial design image, and determine a second cutting point corresponding to the first cutting point within the product to be cut;
[0111] In this embodiment, the laser cutting device first reads the initial design image and determines multiple reference cutting points contained in the initial design image. It then selects one of the multiple reference cutting points as the first cutting point. Based on the acquired target image, the laser cutting device determines the second cutting point corresponding to the first cutting point in the product to be cut.
[0112] Step A20: Complete the cutting point calibration operation based on the first cutting point and the second cutting point;
[0113] In this embodiment, the laser cutting equipment adjusts the initial design image based on the positional relationship between the first cutting point and the second cutting point to complete the cutting point calibration operation.
[0114] For example, the laser cutting equipment first reads the initial design image to determine multiple reference cutting points contained in the initial design image. The laser cutting equipment then selects the reference cutting point located in the upper left corner of the initial design image as the first cutting point. At the same time, based on the acquired target image containing the PCB board to be cut, the laser cutting equipment determines the actual cutting point, which is also located in the upper left corner of the PCB board to be cut, as the second cutting point corresponding to the first cutting point. After that, the laser cutting equipment adjusts the position of the initial design image based on the positional relationship between the first cutting point and the second cutting point to complete the cutting point calibration operation.
[0115] Furthermore, in a feasible embodiment, step A20 above may specifically include:
[0116] Step A201: Compare the initial design image with the product to be cut to determine whether the first cutting point and the second cutting point coincide;
[0117] Step A202: If it is determined that the first cutting point and the second cutting point do not coincide, the position of the initial design image is adjusted so that the first cutting point and the second cutting point coincide.
[0118] For example, the laser cutting equipment compares the acquired initial design image with the target image containing the PCB board to be cut to obtain a comparison result. The laser cutting equipment then determines whether the first cutting point and the second cutting point coincide based on the comparison result. If the laser cutting equipment determines that the first cutting point and the second cutting point do not coincide, it adjusts the initial design image to a position where the first cutting point and the second cutting point coincide, thereby completing the cutting point calibration operation.
[0119] In this embodiment, the laser cutting device first reads the initial design image and determines multiple reference cutting points contained in the initial design image. One of the multiple reference cutting points is selected as the first cutting point. Based on the acquired target image, the laser cutting device determines the second cutting point corresponding to the first cutting point in the product to be cut. Then, the laser cutting device adjusts the initial design image based on the positional relationship between the first cutting point and the second cutting point to complete the cutting point calibration operation.
[0120] Thus, before performing the cutting operation, this application determines a first cutting point within the initial design image and a corresponding second cutting point within the product to be cut. Then, based on the first and second cutting points, the position of the initial design image is adjusted to complete the cutting point calibration operation, ensuring that the initial design image and the product to be cut are in a state of overlap, thereby ensuring that the laser cutting equipment can accurately cut the product to be cut.
[0121] Furthermore, based on the first and / or second embodiments of the control method for the laser cutting equipment described above, a third embodiment of the control method for the laser cutting equipment of this application is proposed herein.
[0122] Please refer to Figure 4 , Figure 4 This is a flowchart illustrating the second embodiment of the control method for the laser cutting equipment of this application, as shown below. Figure 4 As shown, after step S20 above, the control method of the laser cutting equipment of this application may further include the following steps:
[0123] Step B10: Determine whether the actual cutting path intersects with the edge of the product to be cut;
[0124] In this embodiment, after obtaining the target design image, the laser cutting equipment reads the target image containing the product to be cut to determine whether the actual cutting path intersects with the edge of the product to be cut.
[0125] Step B20: If it is determined that the actual cutting path does not intersect with the edge of the product to be cut, then determine the reverse extension line corresponding to the actual cutting path;
[0126] In this embodiment, if the laser cutting equipment determines that the actual cutting path does not intersect with the edge of the product to be cut, it determines the reverse extension line corresponding to the actual cutting path.
[0127] Step B30: Generate a target cutting path based on the reverse extension line and the actual cutting path, and cut the product to be cut according to the target cutting path to obtain the target product;
[0128] In this embodiment, the laser cutting equipment integrates the reverse extension line with the actual cutting path to obtain the target cutting path, and then cuts the product to be cut according to the target cutting path to obtain the target product.
[0129] For example, the laser cutting equipment identifies the acquired target image containing the PCB board to be cut and determines whether the actual cutting path on the PCB board intersects with the edge of the PCB board. If the laser cutting equipment determines that the actual cutting path does not intersect with the edge of the PCB board, it determines a reverse extension line corresponding to the actual cutting point as the starting point. Finally, the laser cutting equipment integrates the reverse extension line with the actual cutting path to obtain the target cutting path, and then cuts the PCB board according to the target cutting path to obtain the target PCB board. In this way, the laser cutting equipment can avoid the technical problem that the laser cannot cut when the actual cutting point is in the middle of the PCB board, thereby further improving the cutting efficiency of the laser cutting equipment.
[0130] In addition, to achieve the above objectives, this application also provides a control device for a laser cutting equipment, please refer to... Figure 5 , Figure 5 This is a schematic diagram of the functional modules involved in an embodiment of the control device for the laser cutting equipment of this application, as shown below. Figure 5 As shown, the device includes:
[0131] The cutting point determination module 10 is used to acquire an initial design image and determine the actual cutting point within the product to be cut based on the initial design image.
[0132] The image adjustment module 20 is used to determine the actual cutting path based on the actual cutting point, and adjust the initial design image according to the actual cutting path to obtain the target design image;
[0133] The cutting execution module 30 is used to cut the product to be cut according to the target cutting path contained in the target design image to obtain the target product.
[0134] Furthermore, the cutting point determination module 10 includes:
[0135] An image acquisition unit is used to acquire a target image containing the product to be cut.
[0136] The first cutting point determination unit is used to extract image features of the target image and determine the actual cutting points within the product to be cut based on the image features.
[0137] Furthermore, the image adjustment module 20 includes:
[0138] An image comparison unit is used to determine the reference cutting point corresponding to the actual cutting point in the initial design image;
[0139] The path planning unit is used to determine the reference cutting path corresponding to the reference cutting point, and to determine the actual cutting path within the product to be cut based on the reference cutting path.
[0140] Furthermore, the image adjustment module 20 also includes:
[0141] The length comparison unit is used to compare the reference cutting path with the actual cutting path to determine the path length ratio.
[0142] An image adjustment unit is used to adjust the size of the initial design image based on the path length ratio to obtain the target design image.
[0143] Furthermore, the cutting point determination module 10 also includes:
[0144] The second cutting point determination unit is used to determine a first cutting point within the initial design image and to determine a second cutting point corresponding to the first cutting point within the product to be cut.
[0145] The cutting point comparison unit is used to complete the cutting point calibration operation based on the first cutting point and the second cutting point.
[0146] Furthermore, the cut point comparison unit includes:
[0147] The overlap determination subunit is used to compare the initial design image with the product to be cut to determine whether the first cutting point and the second cutting point overlap.
[0148] The calibration execution subunit is used to adjust the position of the initial design image so that the first cutting point and the second cutting point coincide if it is determined that the first cutting point and the second cutting point do not coincide.
[0149] Furthermore, the image adjustment module 20 also includes:
[0150] The path determination unit is used to determine whether the actual cutting path intersects with the edge of the product to be cut;
[0151] The reverse planning unit is used to determine the reverse extension line corresponding to the actual cutting path if it is determined that the actual cutting path does not intersect with the edge of the product to be cut.
[0152] The path generation unit is used to generate a target cutting path based on the reverse extension line and the actual cutting path, and to cut the product to be cut according to the target cutting path to obtain the target product.
[0153] In addition, this application also provides a terminal device having a control program for a laser cutting device that can run on a processor. When the terminal device executes the control program for the laser cutting device, it implements the steps of the control method for the laser cutting device as described in any of the above embodiments.
[0154] The specific embodiments of the terminal equipment in this application are basically the same as the embodiments of the control method of the laser cutting equipment described above, and will not be repeated here.
[0155] In addition, this application also provides a computer-readable storage medium storing a control program for a laser cutting device, which, when executed by a processor, implements the steps of the control method for the laser cutting device as described in any of the above embodiments.
[0156] The specific embodiments of the computer-readable storage medium in this application are basically the same as the embodiments of the control method of the laser cutting equipment described above, and will not be repeated here.
[0157] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0158] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0159] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which can be a terminal device connected to a laser cutting device, or it can also be a mobile terminal, data storage control terminal, PC, or other terminal connected to the above terminal device) to execute the methods described in the various embodiments of this application.
[0160] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A control method for a laser cutting device, characterized in that, The control method for the laser cutting equipment includes the following steps: Obtain an initial design image, and determine the actual cutting points within the product to be cut based on the initial design image; The actual cutting path is determined based on the actual cutting points, wherein, before determining the actual cutting path based on the actual cutting points, the cutting points in the initial design image and the cutting points in the product to be cut are calibrated, and the initial design image is adjusted according to the actual cutting path to obtain the target design image, wherein, after the step of adjusting the initial design image according to the actual cutting path to obtain the target design image, the method further includes: Determine whether the actual cutting path intersects with the edge of the product to be cut; if it is determined that the actual cutting path does not intersect with the edge of the product to be cut, then determine the reverse extension line corresponding to the actual cutting path; generate a target cutting path based on the reverse extension line and the actual cutting path, and cut the product to be cut according to the target cutting path to obtain the target product; The product to be cut is cut according to the target cutting path contained in the target design image to obtain the target product.
2. The control method for the laser cutting equipment as described in claim 1, characterized in that, The step of determining the actual cutting points within the product to be cut based on the initial design image includes: Obtain the target image containing the product to be cut; Extract the image features of the target image, and determine the actual cutting points within the product to be cut based on the image features.
3. The control method for the laser cutting equipment as described in claim 1, characterized in that, The step of determining the actual cutting path based on the actual cutting point includes: Determine the reference cutting point corresponding to the actual cutting point within the initial design image; Determine the reference cutting path corresponding to the reference cutting point, and determine the actual cutting path within the product to be cut based on the reference cutting path.
4. The control method for the laser cutting equipment as described in claim 3, characterized in that, The step of adjusting the initial design image according to the actual cutting path to obtain the target design image includes: The path length ratio is determined by comparing the reference cutting path with the actual cutting path. The size of the initial design image is adjusted based on the path length ratio to obtain the target design image.
5. The control method for the laser cutting equipment as described in claim 1, characterized in that, Before the step of determining the actual cutting path based on the actual cutting point, the method further includes: A first cutting point is determined within the initial design image, and a second cutting point corresponding to the first cutting point is determined within the product to be cut; Complete the cutting point calibration operation based on the first cutting point and the second cutting point.
6. The control method for the laser cutting equipment as described in claim 5, characterized in that, The step of performing the cutting point calibration operation based on the first cutting point and the second cutting point includes: The initial design image is compared with the product to be cut to determine whether the first cutting point and the second cutting point coincide. If it is determined that the first cutting point and the second cutting point do not coincide, the position of the initial design image is adjusted so that the first cutting point and the second cutting point coincide.
7. A control device for a laser cutting equipment, characterized in that, The device includes: The cutting point determination module is used to acquire an initial design image and determine the actual cutting point within the product to be cut based on the initial design image. An image adjustment module is used to determine an actual cutting path based on the actual cutting points. Before determining the actual cutting path based on the actual cutting points, the initial design image is checked against the cutting points in the initial design image and the cutting points within the product to be cut. The initial design image is then adjusted according to the actual cutting path to obtain a target design image. After adjusting the initial design image according to the actual cutting path to obtain the target design image, it is determined whether the actual cutting path intersects with the edge of the product to be cut. If it is determined that the actual cutting path does not intersect with the edge of the product to be cut, a reverse extension line corresponding to the actual cutting path is determined. A target cutting path is generated based on the reverse extension line and the actual cutting path, and the product to be cut is cut according to the target cutting path to obtain the target product. The cutting execution module is used to cut the product to be cut according to the target cutting path contained in the target design image to obtain the target product.
8. A terminal device, characterized in that, The terminal device includes: a memory, a processor, and a control program for the laser cutting device stored in the memory and executable on the processor. When the control program for the laser cutting device is executed by the processor, it implements the steps of the control method for the laser cutting device as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a control program for a laser cutting device, which, when executed by a processor, implements the steps of the control method for a laser cutting device as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Method and system for automatically aligning and cutting PCB (Printed Circuit Board) under assistance of computer
CN114727502A
Plane laser cutting control method and system based on trajectory compensation
CN115685876A