[go: up one dir, main page]

CN113634905A - Laser marking control method and device and computer storage medium - Google Patents

Laser marking control method and device and computer storage medium Download PDF

Info

Publication number
CN113634905A
CN113634905A CN202110816079.5A CN202110816079A CN113634905A CN 113634905 A CN113634905 A CN 113634905A CN 202110816079 A CN202110816079 A CN 202110816079A CN 113634905 A CN113634905 A CN 113634905A
Authority
CN
China
Prior art keywords
line segment
line
marked
laser marking
marking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110816079.5A
Other languages
Chinese (zh)
Other versions
CN113634905B (en
Inventor
杨勇
潘建北
周红林
周学慧
张凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tete Laser Technology Co Ltd
Original Assignee
Shenzhen Tete Laser Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tete Laser Technology Co Ltd filed Critical Shenzhen Tete Laser Technology Co Ltd
Priority to CN202110816079.5A priority Critical patent/CN113634905B/en
Publication of CN113634905A publication Critical patent/CN113634905A/en
Application granted granted Critical
Publication of CN113634905B publication Critical patent/CN113634905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K26/00Working by laser beam, e.g. welding, cutting or boring
    • B23K26/36Removing material
    • B23K26/362Laser etching
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K26/00Working by laser beam, e.g. welding, cutting or boring
    • B23K26/70Auxiliary operations or equipment
    • B23K26/702Auxiliary equipment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K2101/00Articles made by soldering, welding or cutting
    • B23K2101/007Marks, e.g. trade marks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Plasma & Fusion (AREA)
  • Mechanical Engineering (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Laser Beam Processing (AREA)

Abstract

The invention discloses a control method of laser marking, when obtaining a pattern to be marked, the pattern to be marked is segmented line by line to obtain a plurality of line segments; acquiring a first line segment and a second line segment in the same line in a plurality of line segments; determining a third line segment closest to the first line segment in a next line of the first line segment; and taking the third line segment as the next line segment to be marked of the first line segment, and marking according to the path where the third line segment is located after marking according to the path where the first line segment is located is finished. The invention also discloses a control device for laser marking and a computer storage medium. According to the laser marking method and device, the first line segment and the second line segment which are positioned on the same line in the pattern to be marked are determined, and after the first line segment is marked, the line segment on the next line is marked, so that the situation that after the first line segment is marked, the second line segment needs to be marked through the skip area between the first line segment and the second line segment is avoided, invalid marking paths are reduced, and the laser marking efficiency is improved.

Description

Laser marking control method and device and computer storage medium
Technical Field
The invention relates to the technical field of marking, in particular to a control method and device for laser marking and a computer storage medium.
Background
When the laser marking is carried out, marking is carried out line by line according to the pattern, but when a no-marking skip area exists in the pattern, the marking path can also pass through the no-marking skip area, and then a part of invalid marking paths are generated, so that the efficiency of the laser marking is low.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a control method and a control device for laser marking and a computer storage medium, aiming at reducing invalid marking paths and improving the efficiency of laser marking.
In order to achieve the above object, the present invention provides a control method for laser marking, which comprises the following steps:
when a pattern to be marked is obtained, the pattern to be marked is segmented line by line to obtain a plurality of line segments;
acquiring a first line segment and a second line segment in the same line in the plurality of lines of line segments;
determining a third line segment closest to the first line segment in a next line of the first line segment;
and taking the third line segment as the next line segment to be marked of the first line segment, wherein marking is carried out according to the path of the third line segment after marking according to the path of the first line segment is finished.
Optionally, after marking according to the path where the third line segment is located is completed, marking is performed according to the path where the second line segment is located.
Optionally, after the step of taking the third line segment as the line segment to be marked next to the first line segment, the method further includes:
detecting, in the plurality of line segments, whether there is a fourth line segment belonging to a next line of the third line segment;
and if so, taking the fourth line segment as the next line segment to be marked of the third line segment.
Optionally, after the step of detecting whether there is a fourth line segment belonging to a next line of the third line segment in the plurality of line segments, the control method for laser marking further includes:
and if the third line segment does not exist, taking the second line segment as the next line segment to be marked of the third line segment.
Optionally, if the third line segment does not exist, the step of using the second line segment as a next line segment to be marked of the third line segment includes:
if not, detecting whether a fifth line segment in the same row as the third line segment exists in the multi-line segment;
and if the third line segment does not exist, taking the second line segment as the next line segment to be marked of the third line segment.
Optionally, after the step of detecting whether a fifth line segment in the same row as the third line segment exists in the plurality of line segments, the control method for laser marking further includes;
and if so, taking a fifth line segment as the next line segment to be marked of the third line segment, and taking a second line segment as the next line segment to be marked of the fifth line segment.
Optionally, when the pattern to be marked is obtained, the step of segmenting the pattern to be marked line by line to obtain a plurality of line segments includes:
when the pattern to be marked is obtained, the number of edge points in the same line on the edge line of the pattern to be marked is obtained;
and when the number is larger than the preset number, judging that the pattern to be marked has a skip area, and segmenting the pattern to be marked line by line to obtain the multi-line segments.
Optionally, after the step of acquiring a first line segment and a second line segment in the same line in the plurality of line segments, the method for controlling laser marking further includes:
acquiring the shortest distance between the first line segment and the second line segment;
and when the shortest distance is greater than a distance threshold, executing the step of determining a third line segment which is closest to the first line segment in the next line of the first line segment.
In addition, in order to achieve the above object, the present invention provides a control device for laser marking, including: the control program of laser marking is stored on the memory and can run on the processor, and when being executed by the processor, the control program of laser marking realizes the steps of the control method of laser marking as any one of the above.
In order to achieve the above object, the present invention further provides a computer storage medium having a laser marking control program stored thereon, wherein the laser marking control program, when executed by a processor, implements the steps of the laser marking control method as described in any one of the above.
According to the control method and device for laser marking and the computer storage medium, when the pattern to be marked is obtained, the pattern to be marked is segmented line by line to obtain a plurality of line segments; acquiring a first line segment and a second line segment in the same line in the plurality of lines of line segments; determining a third line segment closest to the first line segment in a next line of the first line segment; and taking the third line segment as the next line segment to be marked of the first line segment, wherein marking is carried out according to the path of the third line segment after marking according to the path of the first line segment is finished. According to the laser marking method and device, the first line segment and the second line segment which are positioned on the same line in the pattern to be marked are determined, and after the first line segment is marked, the line segment on the next line is marked, so that the situation that after the first line segment is marked, the second line segment needs to be marked through the skip area between the first line segment and the second line segment is avoided, invalid marking paths are reduced, and the laser marking efficiency is improved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram illustrating one embodiment of a method for controlling laser marking according to the present invention;
FIG. 3 is a schematic flow chart of another embodiment of a method for controlling laser marking according to the present invention;
FIG. 4 is a schematic flow chart of a laser marking control method according to yet another embodiment of the present invention;
FIG. 5 is a schematic view of an exemplary shape of a pattern to be marked and a skip zone;
FIG. 6 is a schematic view of one example of a marking path of the present invention;
FIG. 7 is a schematic view of another exemplary shape of a pattern to be marked according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides a solution, by determining a first line segment and a second line segment which are positioned in the same line in a pattern to be marked, marking the line segment of the next line after the first line segment is marked, the marking of the second line segment through a skip area between the first line segment and the second line segment after the first line segment is marked is avoided, the invalid marking path is reduced, and the laser marking efficiency is improved.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention is a control device for laser marking.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, DSP, MCU, network interface 1004, user interface 1003, memory 1005, communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a Display screen (Display), an input unit such as keys, and the optional user interface 1003 may also comprise a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a laser marking control program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke a laser marking control program stored in the memory 1005 and perform the following operations:
when a pattern to be marked is obtained, the pattern to be marked is segmented line by line to obtain a plurality of line segments;
acquiring a first line segment and a second line segment in the same line in the plurality of lines of line segments;
determining a third line segment closest to the first line segment in a next line of the first line segment;
and taking the third line segment as the next line segment to be marked of the first line segment, wherein marking is carried out according to the path of the third line segment after marking according to the path of the first line segment is finished.
Further, the processor 1001 may call the laser marking control program stored in the memory 1005, and further perform the following operations:
and marking according to the path of the second line segment after marking according to the path of the third line segment is finished.
Further, the processor 1001 may call the laser marking control program stored in the memory 1005, and further perform the following operations:
detecting, in the plurality of line segments, whether there is a fourth line segment belonging to a next line of the third line segment;
and if so, taking the fourth line segment as the next line segment to be marked of the third line segment.
Further, the processor 1001 may call the laser marking control program stored in the memory 1005, and further perform the following operations:
and if the third line segment does not exist, taking the second line segment as the next line segment to be marked of the third line segment.
Further, the processor 1001 may call the laser marking control program stored in the memory 1005, and further perform the following operations:
if not, detecting whether a fifth line segment in the same row as the third line segment exists in the multi-line segment;
and if the third line segment does not exist, taking the second line segment as the next line segment to be marked of the third line segment.
Further, the processor 1001 may call the laser marking control program stored in the memory 1005, and further perform the following operations:
and if so, taking a fifth line segment as the next line segment to be marked of the third line segment, and taking a second line segment as the next line segment to be marked of the fifth line segment.
Further, the processor 1001 may call the laser marking control program stored in the memory 1005, and further perform the following operations:
when the pattern to be marked is obtained, the number of edge points in the same line on the edge line of the pattern to be marked is obtained;
and when the number is larger than the preset number, judging that the pattern to be marked has a skip area, and segmenting the pattern to be marked line by line to obtain the multi-line segments.
Further, the processor 1001 may call the laser marking control program stored in the memory 1005, and further perform the following operations:
acquiring the shortest distance between the first line segment and the second line segment;
and when the shortest distance is greater than a distance threshold, executing the step of determining a third line segment which is closest to the first line segment in the next line of the first line segment.
Referring to fig. 2, in one embodiment, a method of controlling laser marking includes the steps of:
step S10, when the pattern to be marked is obtained, the pattern to be marked is segmented line by line to obtain a plurality of line segments;
in this embodiment, when the control device for laser marking obtains the input of the operator or the specified pattern to be marked, the pattern to be marked is segmented line by line to obtain a plurality of line segments. It can be understood that, during laser marking, the lines formed on the marked object have a certain width, so that after marking is performed according to the positions of the lines, a pattern to be marked can be formed on the marked object, for example, as shown in fig. 5 and 6, the pattern to be marked in fig. 5 and 6 is a ring pattern, and the lines in the ring pattern are simplified lines for embodying the marking path.
Optionally, the control device for laser marking may be an upper computer, and the upper computer is used for controlling the laser marking device to perform laser marking.
Step S20, acquiring a first line segment and a second line segment in the same line from the plurality of line segments;
in this embodiment, after dividing the pattern to be marked into a plurality of line segments, planning the marking path according to the plurality of line segments, specifically, a first line segment and a second line segment in the same row may be obtained in the plurality of line segments, and it can be understood that if a skip area exists in the row, the line segment in the row may be divided into at least two line segments by the skip area, that is, the row at least includes the first line segment and the second line segment, and if the skip area does not exist in the row, only one line segment exists in the row, so that the first line segment and the second line segment in the same row are obtained, that is, the line segment in the row in which the skip area exists is obtained.
Optionally, after the first line segment and the second line segment in the same row are obtained, the shortest distance between the first line segment and the second line segment may also be obtained, and when the shortest distance is less than or equal to the distance threshold, it is considered that the invalid marking path caused by the skip area is shorter, so that the step S30 and the step S40 may not be executed, but the second line segment is directly used as the next line segment to be marked of the first line segment, so that after the marking of the first line segment is finished, the marking is directly performed according to the path where the second line segment is located through the skip area; when the shortest distance is greater than the distance threshold, it is considered that the invalid marked path caused by the skip area is longer, and thus steps S30 and S40 may be performed to reduce the invalid marked path. For example, as shown in fig. 7, the black area in fig. 7 is a marking pattern, and the left upper portion of the black area has a skip area, but the length of the skip area in the same row is short, resulting in a short invalid marking path, and the left upper portion and the right upper portion of the black area also have a skip area, but the length of the skip area in the same row is long, resulting in a long invalid marking path.
Step S30, determining a third line segment closest to the first line segment in a next line of the first line segment;
and step S40, taking the third line segment as the next line segment to be marked of the first line segment, wherein marking is carried out according to the path of the third line segment after marking according to the path of the first line segment is finished.
In this embodiment, when a path is planned according to a plurality of line segments, the plurality of line segments need to be sequenced, and since the conventional way is marking line by line, for example, as shown in fig. 5, after marking a first line segment on the left side of a dotted line, the marking is performed on a second line segment on the right side of the dotted line, the marking is performed on the second line segment on the same line after passing through a skip area (i.e., a dotted line part) between the first line segment and the second line segment on the same line, and thus an invalid marking path (i.e., a skip area) exists, whereas in this embodiment, as shown in fig. 6, after the first line segment and the second line segment (i.e., line segment B and line segment H, or line segment C and line segment G) on the same line are obtained, a third line segment (i.e., line segment D or line segment B) closest to the first line segment in the next line of the first line segment is obtained, and the third line segment is used as a next line segment to be marked next to the first line segment, rather than the second line segment to be marked next to be marked as the first line segment, therefore, the marking path is prevented from passing through a skip region, the invalid marking path is reduced, and the whole marking path is shorter.
Optionally, if there are at least two segments (e.g., the segment B and the segment H in fig. 6) in the row where the third segment is located, that is, the fifth segment and the third segment belong to the same row, at this time, the third segment may also be used as the first segment in the present embodiment, and the fifth segment is used as the second segment in the present embodiment, and the path is continuously planned according to the manners of step S30 and step S40.
Optionally, the second line segment may be used as a next line segment to be marked of the third line segment, so that the marking is immediately performed according to the path where the second line segment is located after the marking is completed according to the path where the third line segment is located, or the second line segment may be used as a line segment to be marked in any order after the third line segment, so that the marking is performed according to the path where the second line segment is located after the marking is completed according to the path where the third line segment is located.
Optionally, when determining a third line segment closest to the first line segment in a next line of the first line segment, if only one line segment exists in the next line of the first line segment, the line segment may be used as the third line segment, and if multiple line segments exist simultaneously in the next line of the first line segment, the third line segment closest to the first line segment may be determined according to a shortest distance between each point of the multiple line segments and a marking end point of the first line segment, wherein when marking is performed according to a path where the single line segment exists, marking is performed usually from left to right or from right to left, and therefore, the marking end point of the first line segment is usually a left end point or a right end point of the first line segment.
In the technical scheme disclosed in the embodiment, the first line segment and the second line segment which are positioned on the same line in the pattern to be marked are determined, and after the marking of the first line segment is completed, the line segment on the next line is marked first, so that the marking of the second line segment through a skip area between the first line segment and the second line segment after the marking of the first line segment is completed is avoided, the invalid marking path is reduced, and the laser marking efficiency is improved.
In another embodiment, as shown in fig. 3, on the basis of the embodiment shown in fig. 2, after step S40, the method further includes:
a step S50 of detecting whether or not there is a fourth line segment belonging to a next line of the third line segment among the plurality of line segments;
in this embodiment, when the third line segment is used as the next line segment to be marked of the first line segment, it needs to be detected whether to immediately return to the previous line to mark according to the path where the second line segment is located after marking according to the path where the third line segment is located.
And step S60, if yes, taking the fourth line segment as a next line segment to be marked of the third line segment.
In this embodiment, if a fourth line segment that needs to be marked exists in the next line of the third line segment, after marking according to the path where the third line segment is located, marking needs to be performed according to the path where the fourth line segment is located, and the fourth line segment is used as the next line segment to be marked of the third line segment. After marking according to the path where the fourth line segment is located, whether the previous line needs to be immediately returned to mark according to the path where the unmarked line segment in the previous line is located is detected.
Optionally, if a fourth line segment which needs to be marked does not exist in the next line of the third line segment, it is indicated that the third line segment is the line segment in the last line, so that the previous line segment can be returned to mark according to the path where the second line segment is located, and the second line segment is used as the next line segment to be marked of the third line segment.
Optionally, if a fourth line segment needing to be marked does not exist in a next line of the third line segment, whether a fifth line segment which is in the same line as the third line segment exists in the line segments of the plurality of lines can be detected, if the fifth line segment does not exist, it is indicated that no skip area exists in the line where the third line segment exists, therefore, the previous line segment can be returned to mark according to a path where the second line segment exists, and the second line segment is used as a next line segment to be marked of the third line segment. If the fifth line segment in the same row as the third line segment exists, it indicates that the row in which the third line segment is located does not have a skip area, the third line segment is the line segment in the last row, and a wireless path caused by the skip area between the third line segment and the fifth line segment cannot be avoided, so that the fifth line segment can be used as the next line segment to be marked of the third line segment.
Optionally, after the fifth line segment is used as the next to-be-marked line segment of the third line segment, the second line segment may also be used as the next to-be-marked line segment of the fifth line segment, marking is performed on the unmarked line segments in a row from the last line segment step by step, that is, the line segments after the skip area are ignored first, marking is performed on the line segments from top to bottom line by line, and after marking is performed on the line segments from top to bottom line by line, marking is performed on the line segments after the skip area ignored previously, from bottom to top line by line, for example, as shown in fig. 6, after marking is performed according to the line segment a, the line segment on the right side of the skip area is ignored first, marking is performed from top to bottom line by line, for example, marking is performed on the line segments below the line segment B and the line segment B (including the line segments C, D, E and F) line by line, and then marking is performed on the line segments on the right side of the skip area ignored previously (including the line segments G and H) from bottom to top by line.
In the technical scheme disclosed in this embodiment, whether a fourth line segment which belongs to the next line of the third line segment exists or not is detected in the multiple line segments, if so, the fourth line segment is used as the next line segment to be marked of the third line segment, and the line segments behind the skip area are ignored, so that the line marking is performed line by line from top to bottom, the invalid marking path brought by the skip area is reduced as much as possible, and the laser marking efficiency is improved.
In yet another embodiment, as shown in fig. 4, on the basis of the embodiment shown in any one of fig. 2 to 3, the step S10 includes:
step S11, when the pattern to be marked is obtained, obtaining the number of edge points in the same line on the edge line of the pattern to be marked;
in this embodiment, when the pattern to be marked is obtained, it may be further detected whether a skip region exists in the pattern to be marked, specifically, points (i.e., edge points) on edge lines of the pattern to be marked may be obtained to determine the number of edge points in each row, and whether a skip region exists in the pattern to be marked is determined according to the number of edge points in the same row.
Optionally, since the human eye can easily distinguish whether the pattern to be marked has the skip region, it may also be determined whether the pattern to be marked has the skip region according to the control instruction input by the user, for example, if the control instruction input by the user is the first instruction, it is determined that the pattern to be marked has the skip region, and if the control instruction input by the user is the second instruction, it is determined that the pattern to be marked does not have the skip region.
And step S12, when the number is larger than the preset number, judging that the pattern to be marked has a skip area, and dividing the pattern to be marked line by line to obtain the multiple lines of line segments.
In this embodiment, when the number of the edge points in the same row is greater than the preset number, it is determined that the skip area exists in the pattern to be marked, and if the number of the edge points in the same row in each row is less than or equal to the preset number, it is determined that the skip area does not exist in the pattern to be marked.
Optionally, the preset number generally takes a value of 2. Alternatively, the number of edge points in the same row is typically 2 or a multiple of 2.
Optionally, if it is determined that the pattern to be marked does not have a skip region, marking is performed according to the pattern to be marked in a conventional manner, that is, marking is performed line by line, and if it is determined that the pattern to be marked has a skip region, the marking path is planned in a manner according to any one of embodiments of fig. 2 to 3 and marking is performed according to the planned marking path.
Optionally, when a plurality of lines of line segments are segmented line by line, and a first line segment and a second line segment in the same line are obtained in the plurality of lines of line segments, a start position and an end position of the line segment in each line may be determined according to a plurality of edge points in each line from left to right or from right to left, for example, a first line segment is located between a first edge point to a second edge point from left to right or from right to left, and a second line segment is located between a third edge point to a fourth edge point from left to right or from right to left.
In the technical scheme disclosed in this embodiment, the existence of the skip area in the pattern to be marked is determined according to the number of edge points in the same row on the edge line of the pattern to be marked, so that the detection of the skip area is realized.
In addition, an embodiment of the present invention further provides a control device for laser marking, where the control device for laser marking includes: the control program of laser marking is stored on the memory and can run on the processor, and when being executed by the processor, the control program of laser marking realizes the steps of the control method of laser marking according to the above embodiments.
In addition, an embodiment of the present invention further provides a computer storage medium, where a laser marking control program is stored on the computer storage medium, and the laser marking control program, when executed by a processor, implements the steps of the laser marking control method according to the above embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A control method for laser marking is characterized by comprising the following steps:
when a pattern to be marked is obtained, the pattern to be marked is segmented line by line to obtain a plurality of line segments;
acquiring a first line segment and a second line segment in the same line in the plurality of lines of line segments;
determining a third line segment closest to the first line segment in a next line of the first line segment;
and taking the third line segment as the next line segment to be marked of the first line segment, wherein marking is carried out according to the path of the third line segment after marking according to the path of the first line segment is finished.
2. Control method for laser marking according to claim 1, characterized in that after said step of marking according to the path in which said third line is located, it further comprises:
and marking according to the path of the second line segment after marking according to the path of the third line segment is finished.
3. The laser marking control method as claimed in claim 1, wherein the step of taking the third line segment as a line segment to be marked next to the first line segment further comprises, after the step of taking the third line segment as a line segment to be marked next to the first line segment:
detecting, in the plurality of line segments, whether there is a fourth line segment belonging to a next line of the third line segment;
and if so, taking the fourth line segment as the next line segment to be marked of the third line segment.
4. The control method for laser marking according to claim 3, wherein after the step of detecting whether there is a fourth line segment belonging to a row next to the third line segment among the plurality of line segments, the control method for laser marking further comprises:
and if the third line segment does not exist, taking the second line segment as the next line segment to be marked of the third line segment.
5. The laser marking control method as claimed in claim 4, wherein the step of regarding the second line segment as a line segment to be marked next to the third line segment if the second line segment is not present comprises:
if not, detecting whether a fifth line segment in the same row as the third line segment exists in the multi-line segment;
and if the third line segment does not exist, taking the second line segment as the next line segment to be marked of the third line segment.
6. The control method for laser marking according to claim 5, wherein after the step of detecting whether or not there is a fifth line segment in the same row as the third line segment among the plurality of line segments, the control method for laser marking further comprises;
and if so, taking a fifth line segment as the next line segment to be marked of the third line segment, and taking a second line segment as the next line segment to be marked of the fifth line segment.
7. The laser marking control method as claimed in claim 1, wherein the step of dividing the pattern to be marked line by line to obtain a plurality of line segments when the pattern to be marked is obtained comprises:
when the pattern to be marked is obtained, the number of edge points in the same line on the edge line of the pattern to be marked is obtained;
and when the number is larger than the preset number, judging that the pattern to be marked has a skip area, and segmenting the pattern to be marked line by line to obtain the multi-line segments.
8. The control method for laser marking according to claim 1, wherein after the step of obtaining a first line segment and a second line segment in the same row among the plurality of line segments, the control method for laser marking further comprises:
acquiring the shortest distance between the first line segment and the second line segment;
and when the shortest distance is greater than a distance threshold, executing the step of determining a third line segment which is closest to the first line segment in the next line of the first line segment.
9. A control device for laser marking, the control device comprising: memory, a processor and a laser marking control program stored on the memory and executable on the processor, the laser marking control program when executed by the processor implementing the steps of the laser marking control method as claimed in any one of claims 1 to 8.
10. A computer storage medium, characterized in that the computer storage medium has stored thereon a control program for laser marking, which when executed by a processor implements the steps of the control method for laser marking as claimed in any one of claims 1 to 8.
CN202110816079.5A 2021-07-16 2021-07-16 Laser marking control method and device and computer storage medium Active CN113634905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110816079.5A CN113634905B (en) 2021-07-16 2021-07-16 Laser marking control method and device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110816079.5A CN113634905B (en) 2021-07-16 2021-07-16 Laser marking control method and device and computer storage medium

Publications (2)

Publication Number Publication Date
CN113634905A true CN113634905A (en) 2021-11-12
CN113634905B CN113634905B (en) 2023-09-29

Family

ID=78417731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110816079.5A Active CN113634905B (en) 2021-07-16 2021-07-16 Laser marking control method and device and computer storage medium

Country Status (1)

Country Link
CN (1) CN113634905B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0338611A (en) * 1989-07-05 1991-02-19 Think Lab Kk Method for correcting passage of gas laser beam
CN103111763A (en) * 2013-02-04 2013-05-22 福建省威诺数控有限公司 Planning method of motion path of wafer cutting machine tool
CN103212849A (en) * 2012-01-19 2013-07-24 昆山思拓机器有限公司 Method for cutting surface mounting technology (SMT) mesh plate by laser
CN103624402A (en) * 2013-11-14 2014-03-12 中国科学院上海光学精密机械研究所 Method for improving laser preprocessing efficiency of optical element small light spot scanning
CN108515262A (en) * 2018-05-03 2018-09-11 广东水利电力职业技术学院(广东省水利电力技工学校) A kind of new pattern laser engraving unit control system
CN110221604A (en) * 2019-05-16 2019-09-10 浙江工业大学 A kind of quick global paths planning method based on genetic algorithm
CN112589272A (en) * 2020-12-23 2021-04-02 湖北亿纬动力有限公司 Battery laser welding method and battery

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0338611A (en) * 1989-07-05 1991-02-19 Think Lab Kk Method for correcting passage of gas laser beam
CN103212849A (en) * 2012-01-19 2013-07-24 昆山思拓机器有限公司 Method for cutting surface mounting technology (SMT) mesh plate by laser
CN103111763A (en) * 2013-02-04 2013-05-22 福建省威诺数控有限公司 Planning method of motion path of wafer cutting machine tool
CN103624402A (en) * 2013-11-14 2014-03-12 中国科学院上海光学精密机械研究所 Method for improving laser preprocessing efficiency of optical element small light spot scanning
CN108515262A (en) * 2018-05-03 2018-09-11 广东水利电力职业技术学院(广东省水利电力技工学校) A kind of new pattern laser engraving unit control system
CN110221604A (en) * 2019-05-16 2019-09-10 浙江工业大学 A kind of quick global paths planning method based on genetic algorithm
CN112589272A (en) * 2020-12-23 2021-04-02 湖北亿纬动力有限公司 Battery laser welding method and battery

Also Published As

Publication number Publication date
CN113634905B (en) 2023-09-29

Similar Documents

Publication Publication Date Title
CN110675471B (en) Node connection line generation method, device, equipment and storage medium
CN111144081B (en) Form generation method and device, storage medium and electronic equipment
CN103530021B (en) The system of selection of entity and device in drawing
CN113671988B (en) Job path setting method, apparatus, system, and storage medium
CN113110462A (en) Obstacle information processing method and device and operating equipment
CN110955375B (en) Game-based target object operation processing method and device and touch terminal
JP3969775B2 (en) Handwritten information input device and handwritten information input method
KR100396357B1 (en) Method for automatically determining trackers along contour and storage medium storing program for implementing the same
CN113634905A (en) Laser marking control method and device and computer storage medium
CN113407869B (en) Beacon labeling method, device, computer equipment and storage medium
JP2020140659A (en) Information processing device, information processing method and program
CN113035157B (en) Graphical music editing method, system and storage medium
CN111030874B (en) Service arranging method, equipment, storage medium and device
JP2626512B2 (en) Information processing performance measurement method
CN109675316B (en) Game scene graph generation method and device
JP5049911B2 (en) Pattern creating apparatus and pattern creating method
JPH09223181A (en) Ruled line preparing device, matrix data recognizing device and character recognizing device provided with these devices
EP3312719B1 (en) Method and device for identifying java window control
KR102189878B1 (en) System and method based on lisp for editing map
US11788130B2 (en) Computing device, storage medium, and method for managing sequencing progress
CN109840148B (en) Multi-application smart card operating system and method for updating application priority thereof
CN115130213A (en) Method, device and electronic device for obtaining vehicle cross section
JP2971673B2 (en) Information processing apparatus and information processing method
JP2016018254A (en) Correction candidate determination device, correction candidate determination method, and program
CN114271853A (en) Ultrasonic equipment imaging mode parameter control method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 401m-2, bike technology building, No.9, scientific research road, Maling community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Taide Laser Technology Co.,Ltd.

Address before: 518000 401m-2, bike technology building, No.9, scientific research road, Maling community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN TETE LASER TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant