CN108340077B - Laser marking method and system - Google Patents

Laser marking method and system Download PDF

Info

Publication number
CN108340077B
CN108340077B CN201810097321.6A CN201810097321A CN108340077B CN 108340077 B CN108340077 B CN 108340077B CN 201810097321 A CN201810097321 A CN 201810097321A CN 108340077 B CN108340077 B CN 108340077B
Authority
CN
China
Prior art keywords
marking
graph
area
marked
sub
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.)
Active
Application number
CN201810097321.6A
Other languages
Chinese (zh)
Other versions
CN108340077A (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 CN201810097321.6A priority Critical patent/CN108340077B/en
Publication of CN108340077A publication Critical patent/CN108340077A/en
Application granted granted Critical
Publication of CN108340077B publication Critical patent/CN108340077B/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/361Removing material for deburring or mechanical trimming
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Plasma & Fusion (AREA)
  • Mechanical Engineering (AREA)
  • Laser Beam Processing (AREA)

Abstract

The invention relates to a laser marking method, which applies a galvanometer scanning type laser marking device to carry out laser marking; the method comprises the following steps: establishing a first two-dimensional coordinate system on a plane where a pattern to be marked is located; decomposing a graph to be marked into a plurality of sub-graphs; dividing the region where the pattern to be marked is located according to the marking range of the galvanometer scanning type laser marking device to obtain a plurality of marking regions; judging whether a corresponding marking pattern exists in each marking area or not according to the position of each marking area and the position of each sub-pattern; wherein, the sub-graph or part of the sub-graph falling into the marking area is the marking graph; and when the marking pattern corresponds to the marking area, marking the marking area according to the marking pattern corresponding to the marking area. The invention also relates to a laser marking system. According to the laser marking method and system, the size of the graph to be marked is not limited, the marking difficulty is reduced, the marking speed is high, and the marking efficiency is high.

Description

Laser marking method and system
Technical Field
The invention relates to the technical field of laser processing, in particular to a laser marking method and a laser marking system.
Background
Since the galvanometer scanning laser marking system is restricted by the specification of the F-Theta field lens and the angle of the galvanometer, the effective marking size of the marking system is limited. When the actual graph size is larger than the effective marking size scanned by the galvanometer, the galvanometer scanning type laser marking system has high marking difficulty and low marking efficiency.
Disclosure of Invention
Therefore, it is necessary to provide a laser marking method and system for solving the problems of high marking difficulty and low marking efficiency of a galvanometer scanning laser marking system.
A laser marking method, use the scanning laser marking device of the galvanometer to carry on the laser marking; the method comprises the following steps:
establishing a first two-dimensional coordinate system on a plane where a pattern to be marked is located;
decomposing the graph to be marked into a plurality of sub-graphs;
dividing the region where the pattern to be marked is located according to the marking range of the galvanometer scanning type laser marking device to obtain a plurality of marking regions;
judging whether a corresponding marking graph exists in each marking area or not according to the position of each marking area and the position of each sub-graph; wherein, the sub-graph or part of the sub-graph falling into the marking area is the marking graph;
and when the marking pattern corresponds to the marking area, marking the marking area according to the marking pattern corresponding to the marking area.
In one embodiment, the boundary of the marking range of the galvanometer scanning laser marking device forms a rectangle; the pattern to be marked is preset in a rectangular area, and the area of the rectangular area is an integral multiple of the area of the marking range; the method comprises the following steps of dividing the region where the graph to be marked is located according to the marking range of the galvanometer scanning laser marking device to obtain a plurality of marking regions:
dividing the rectangular area into a plurality of marking areas according to the marking range; wherein the area of each marking region is equal to the area of the marking range.
In one embodiment, the subpatterns are straight line segments; the step of judging whether the marking area has the corresponding marking graph or not according to the position of each marking area and the position of each sub-graph comprises the following steps:
selecting a marking area to be marked currently as a current area;
judging whether the sub-graph to be marked exists or not;
when the sub-graph to be marked is to be marked, selecting the sub-graph to be marked as the graph to be processed;
comparing the coordinates of the end points of the graph to be processed with the boundary of the current area, and judging whether at least part of the graph to be processed falls into the current area;
when at least part of the graph to be processed falls into the current area, taking the graph falling into the current area as a marking graph;
marking the current area according to the marking graph corresponding to the current area.
In one embodiment, when the pattern to be marked at least partially falls into the current region, the step of regarding the pattern falling into the current region as the marked pattern includes:
judging whether part of the graph to be marked falls into the current area or all of the graph to be marked falls into the current area;
when the to-be-processed graphs all fall into the current area, determining the to-be-processed graphs as corresponding marking graphs in the current area; when the part of the graph to be processed falls into the current area, dividing the graph to be processed into a graph inside a boundary and a graph outside the boundary, and determining the graph inside the boundary as a corresponding marking graph in the current area.
In one embodiment, after the step of regarding the graph falling into the current area as the marked graph when the graph to be processed at least partially falls into the current area, the method further includes:
judging whether the graph to be processed is the last sub-graph to be marked or not;
when the graph to be processed is not the last sub-graph to be marked, selecting the next sub-graph to be marked as the graph to be processed; and marking the current region according to the marking graph corresponding to the current region when the graph to be processed is the last sub-graph.
In one embodiment, the step of comparing the coordinates of the end point of the to-be-marked graph with the boundary of the current region and determining whether the to-be-marked graph at least partially falls into the current region includes:
and when the to-be-marked graph does not fall into the current region, judging whether the to-be-processed graph is the last to-be-marked sub-graph.
In one embodiment, the marking of the current region according to the marking pattern corresponding to the current region includes:
judging whether the current area is the last marking area or not, and ending the process when the current area is the last marking area; and when the current area is not the last marking area, selecting the next marking area to be marked as the current area.
In one embodiment, the marking of the current region according to the marking pattern corresponding to the current region includes:
establishing a second two-dimensional coordinate system in the region where the marking range is located;
converting the coordinates of each point on the marking graph in the first two-dimensional coordinate system into coordinates in a second two-dimensional coordinate system; the coordinates of each point on the marking graph in the second two-dimensional coordinate system are marking coordinates;
and the galvanometer scanning laser marking device marks the current area by marking coordinates of each point on the marking graph.
A laser marking system applies a vibrating mirror scanning type laser marking device to carry out laser marking; the system comprises:
the marking device comprises a dividing module, a marking module and a marking module, wherein the dividing module is used for establishing a first two-dimensional coordinate system on a plane where a pattern to be marked is located, decomposing the pattern to be marked into a plurality of sub-patterns, and dividing an area where the pattern to be marked is located according to a marking range of the galvanometer scanning type laser marking device to obtain a plurality of marking areas;
the processing module is used for determining whether the marking area has a corresponding marking graph or not according to the position of each marking area and the position of each sub-graph; wherein, the sub-graph or part of the sub-graph falling into the marking area is the marking graph;
and the marking module is used for marking the marking region according to the marking graph corresponding to the marking region when the marking graph corresponds to the marking region.
In one embodiment, the laser marking system includes a memory and a processor; the memory has stored therein a computer program; the processor calls a computer program from the memory to perform the steps of the method of any of the above embodiments.
According to the laser marking method and the laser marking system, firstly, a marking graph is decomposed into a plurality of sub-graphs, and the area where the graph to be marked is located is divided according to the marking range of the galvanometer scanning type laser marking device to obtain a plurality of marking areas. Secondly, determining the corresponding marking patterns in the marking areas according to the positions of the marking areas and the positions of the sub-patterns. And then marking each marking area in sequence according to the marking graph corresponding to each marking area. Therefore, after the user starts the marking task, the system finishes the marking work of each marking area in sequence according to the marking graph corresponding to each marking area, and the marking task of the whole graph to be marked is realized. Therefore, the laser marking method and the laser marking system can automatically decompose and mark the to-be-marked graph with any size and any complexity, do not limit the size of the to-be-marked graph, reduce the marking difficulty, and have high marking speed and high marking efficiency.
Drawings
Fig. 1 is a schematic view of a laser marking method of a first embodiment;
FIG. 2 is a schematic view of a pattern to be marked according to an embodiment;
FIG. 3 is a schematic flow chart of a laser marking method of a second embodiment;
FIG. 4 is a schematic diagram illustrating a relationship between a to-be-processed graph and a current region according to this embodiment;
FIG. 5 is a schematic flow chart of a laser marking method of a third embodiment;
FIG. 6 is a schematic flow chart of a laser marking method of a fourth embodiment;
FIG. 7 is a schematic flow chart of a laser marking method according to a fifth embodiment
FIG. 8 is a schematic view of a current region;
FIG. 9 is a schematic view of a second two-dimensional coordinate system;
FIG. 10 is a schematic view of a laser marking system of an embodiment.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
A laser marking method applies a vibrating mirror scanning type laser marking device to carry out laser marking. The galvanometer scanning type laser marking device processes the pattern to be marked to the surface of the workpiece. In general, a galvanometer scanning laser marking device has a preset marking range, for example, a pattern formed by the boundary of the marking range is rectangular. Further, in this embodiment, the length of the rectangle is 20mm, and the width of the rectangle is 20mm, that is, the boundary of the marking range forms a square. That is, the marking operation of the galvanometer scanning laser marking device can be performed only within the range of the rectangle. In this embodiment, the laser marking method can be applied to a laser marking system (hereinafter referred to as a system), where the system firstly introduces a file of a pattern to be marked, and secondly sets laser marking parameters for each sub-pattern in the pattern to be marked according to process requirements. The pattern to be marked is a two-dimensional large-size pattern, namely the size of the pattern to be marked is larger than the marking range of the galvanometer scanning laser marking device. The method of marking such a pattern to be marked will be described in detail below.
Fig. 1 is a schematic view of a laser marking method of a first embodiment. FIG. 2 is a schematic diagram of a pattern to be marked according to an embodiment. The laser marking method comprises the following steps:
step S110, a first two-dimensional coordinate system is established on the plane where the graph to be marked is located.
Specifically, the first two-dimensional coordinate system is a rectangular coordinate system. The establishment of the first two-dimensional coordinate system is ready for the subsequent steps, so that the working efficiency is improved. In this embodiment, the plane on which the pattern to be marked is located and the processing on the workpiece are performedThe surfaces correspond. The processing area of the processing workpiece is a target area of the pattern to be marked. A first two-dimensional coordinate system (X O)1Y) is shown in FIG. 2 with origin O1
And S130, decomposing the graph to be marked into a plurality of sub-graphs.
Specifically, since the size of the pattern to be marked is larger than the marking range of the galvanometer-scanning laser marking device, the galvanometer-scanning laser marking device can only mark a part of the pattern to be marked at a time. When the system marks, the graph to be marked is automatically split into a plurality of sub-graphs, and the sub-graphs can be divided according to the components of the graph to be marked. For example, the sub-figures may be circles, rectangles, triangles, letters or line segments, etc. According to the first two-dimensional coordinate system, the position of each sub-graph in the first two-dimensional coordinate system can be determined. For example, if the coordinates of two end points of a line segment are known, then the position of the line segment is known. In this embodiment, the pattern to be marked is decomposed into a plurality of straight line segments. I.e. the subpattern is a straight line segment.
And S150, dividing the area where the to-be-marked graph is located according to the marking range of the galvanometer scanning type laser marking device to obtain a plurality of marking areas.
Specifically, the shape of the region where the pattern to be marked is located is the same as the target region. As shown in fig. 2, the area where the pattern to be marked is located is an area formed by all the dotted line grids. And dividing the area formed by the patterns to be marked into a plurality of marking areas according to the marking range. For example, the pattern to be marked is a pattern outlined by all solid lines as shown in FIG. 2. And dividing the area of the graph to be marked into a plurality of marking areas according to the marking range, wherein the marking areas are shown as dotted line grids in the graph. This allows marking to be performed in each of these marking areas. In the first two-dimensional coordinate system, the position of each marking area can be determined through the vertex coordinates of each marking area. It should be noted that, for any marking region, it corresponds to a corresponding sub-region in the target region, and the correspondence between the marking region and the corresponding sub-region in the target region is preset by the system. The correspondence may be a proportional relationship.
And S170, judging whether the corresponding marking patterns exist in each marking area or not according to the positions of the marking areas and the positions of the sub-patterns.
Specifically, the sub-pattern or part of the sub-pattern falling into the marking region is the marking pattern. For any marking area, whether the corresponding marking graph exists in the marking area can be judged according to the position of the marking area and the positions of all sub-graphs. One marking area may or may not correspond to a marking pattern. When the marking area has the corresponding marking pattern, the marking area should be marked. And when the marking area has no corresponding marking graph, the system does not mark the marking area. And comparing the position of each sub-graph to be marked with the position of the marked area to judge whether the marked graph exists in the marked area. For example, as described above, each sub-pattern to be marked is composed of straight line segments, and the straight line segments are composed of dots, and in the first two-dimensional coordinate system, the coordinates of the dots on the straight line segments are within a certain range. And comparing the coordinates of the points on the straight line segment to be marked with the boundary of the marking area, so as to judge whether the sub-graph to be marked falls into the marking area.
And S190, marking the marking area according to the marking graph corresponding to the marking area when the marking graph corresponds to the marking area.
Specifically, when the system determines that the marking area corresponds to the marking pattern, the marking area is marked according to the marking pattern corresponding to the marking area, and as described above, the marking area corresponds to a sub-area on the target area, so that marking the marking area is also the marking of the corresponding sub-area of the target area. Therefore, each marked area can be marked to complete the marking task of the whole to-be-marked graph.
According to the laser marking method, firstly, a marking graph is decomposed into a plurality of sub-graphs by the system, and the area where the marking graph is located is divided according to the marking range of the galvanometer scanning type laser marking device to obtain a plurality of marking areas. Secondly, the system judges whether the corresponding marking graph exists in each marking area according to the position of each marking area and the position of each sub-graph. And then, when the system corresponds to the marking graph in the marking area, marking the marking area according to the marking graph corresponding to the marking area. Therefore, after the system starts the marking task, the system completes the marking work of each marking area in sequence according to the marking graph corresponding to each marking area, and therefore the marking task of the whole graph to be marked is achieved. Therefore, the laser marking method and the laser marking system can automatically decompose and mark the to-be-marked graph with any size and any complexity, do not limit the size of the to-be-marked graph, reduce the marking difficulty, and have high marking speed and high marking efficiency.
It should be noted that, the sequence of step S130 and step S150 may not be sequential, as long as the sub-pattern and the marking region are divided before step S170.
Fig. 3 is a schematic flow chart of a laser marking method of the second embodiment. Fig. 4 is a schematic diagram illustrating a relationship between a to-be-processed graph and a current region 410 according to this embodiment.
In this embodiment, the pattern to be marked is preset in a rectangular area. The first two-dimensional coordinate system takes a vertex of the boundary of the rectangular area as an origin O1. The area of the rectangular area is integral multiple of the area of the marking range. As described above, the boundary of the marking range of the galvanometer scanning laser marking device is a square with a side a of 20 mm. With continued reference to the pattern to be marked shown in fig. 2, the length L of the boundary of the rectangular region may be 28 times the side length a of the marking range, and the width W may be 13 times the side length a of the marking range, that is, the pattern to be marked is located in the rectangular region with the length 560mm and the width 260 mm.
In this embodiment, the region where the pattern to be marked is located is divided according to the marking range of the galvanometer-scanning laser marking device to obtain a plurality of marking regions, that is, step S150 is: and dividing the rectangular area into a plurality of marking areas according to the marking range.
Specifically, the area of each marking region is equal to the area of the marking range. Therefore, the system can conveniently divide the rectangular area into N marking areas with the same area as the marking range, wherein N is a positive integer. That is, in the present embodiment, the rectangular region may be divided into 364 grids according to the area of the rectangular region and the area of the marking range, and the grids are shown by the dotted line grids shown in fig. 2. One grid is a marking area, namely, the galvanometer scanning type laser marking device can only mark one marking area at a time. The distributed processing method for the graph to be marked can enable the system to split the graph to be marked more conveniently, and improve the calculation speed.
In this embodiment, the step of determining whether there is a corresponding marking pattern in each marking region according to the position of each marking region and the position of each sub-pattern, that is, the step S170 includes:
in step S171, a marking region to be marked currently is selected as the current region 410.
Specifically, the current region 410 refers to a region currently being marked by the galvanometer-scanning laser marking device. The system may select a marked area as the current area 410. The system may sequentially select the marking areas. As mentioned above, the current region 410 should be the region shown by one grid in fig. 2. In the first two-dimensional rectangular coordinate system, the boundary of the current region 410 is a straight line, and the equation of the boundary of the current region 410 is known, so that the range of the current region 410 can be determined by four boundaries of the current region 410. Further, as shown in fig. 2, the origin of the first two-dimensional rectangular coordinate system is O1Then the boundary equation of the grid, i.e. the boundary equation of the current region 410, can be determined based on the location of the grid.
In this embodiment, the coordinates of the four vertices A, B, C, D of the mesh where the current area 410 is located are assumed to be (x)1,y1)、(x2,y1)、(x1,y2)、(x2,y2) And x is1、y1、x2、y2It is known that the coordinates of the points within the current region 410 are (x, y), then the equation for the current region 410 is:
Figure BDA0001565387740000081
in the above formula, the bottom boundary of the current region 410 is assigned to the lower region of the region, and the right boundary of the current region 410 is assigned to the right region of the region, so as to avoid repeated marking at the boundary of adjacent regions, thereby achieving a better marking effect.
It should be noted that the boundary equations of the current region 410 are relative, and the boundary equations may be different due to different coordinate origins.
And step S172, judging whether the sub-graph to be marked exists or not.
Specifically, the system determines whether there are any more sub-patterns to be marked (sub-patterns to be marked). If there are sub-patterns to be marked, the system continues to perform the marking task. If the sub-pattern to be marked does not exist, the system can finish the process, which indicates that the pattern to be marked is marked.
When the sub-pattern to be marked is to be marked, step S173 is performed to select the sub-pattern to be marked as the pattern to be processed.
Specifically, the system selects one sub-pattern from the sub-patterns to be marked as the pattern to be processed. The system will determine if the graphic to be processed is the corresponding marked graphic of the current region 410. Alternatively, the system obtains the marking pattern from the pattern to be processed.
Step S174, comparing the coordinates of the end point of the to-be-processed graph with the boundary of the current region 410, and determining whether the to-be-processed graph at least partially falls into the current region 410.
Specifically, as described above, the pattern to be processed is a straight line segment. In the first two-dimensional coordinate system, the coordinates of the two end points of the straight line segment are known. Therefore, the system can determine whether the graph to be processed at least partially falls into the current region 410 by comparing the coordinates of the two end points of the straight line segment with the boundary equation of the current region 410. That is, the system can determine whether the pending image at least partially falls within the current region 410 or whether the pending image does not fall within the current region 410 at all. The system may first compare the two end points of the straight line segment with the boundaries of the current region 410, and may calculate whether the straight line segment is outside the current region 410, inside the current region 410, or intersects the boundaries of the current region 410 (partially inside the current region 410). The position relation between the graph to be processed and the current area 410 is judged by comparing the end point of the straight line section with the boundary equation of the current area 410, so that at least part of the sub graph to be processed in the current area 410 and the sub graph to be processed not in the current area 410 can be rapidly calculated, the running speed of the system is improved, and the marking efficiency is improved.
For the sub-graph to be processed intersecting the boundary of the current region 410, the system calculates the intersection point of the equation of the sub-graph to be processed (straight line segment) and each boundary of the current region 410, so as to calculate the graph on the sub-graph to be processed, which is located in the current region 410.
As shown in FIG. 4, the pattern to be processed has straight line segments L1, L2, L3 and L4. Taking the straight line segment L4 as an example, it can be easily determined that two end points of the straight line segment L4 are outside the current region 410 by the boundary equation between the two end points of the straight line segment L4 and the current region 410. And then proceeds to solve for the intersection of straight line segment L4 with the boundary of current region 410.
The equation for the straight line segment L4 is easily derived from the two end points of the straight line segment L4, assuming the equation:
y=kx+b(2)
the intersection point of the straight line segment L4 and the boundary of the current region 410 can be obtained from the equations (1) and (2), and the straight line segment L4 intersects two boundaries of the region, that is, a part of the straight line segment L3578 falls within the current region 410. The coordinates of the two intersection points E, F obtained are assumed to be (x)1,ye),(xf,y1) Then straight line segment EF is the graph that falls within the current region 410. Similarly, it can be found that a straight line segment L2 intersects with a boundary of the region, and a part of the line segments GH of the straight line segment L2 falls into the current region 410. Straight line segment L1 is outside current region 410. Straight line segment L3 is within the area.
When the to-be-processed image at least partially falls into the current region 410, step S175 is executed to regard the image falling into the current region 410 as the marking image.
Specifically, when the to-be-processed graph at least partially falls into the current region 410, the system takes the graph falling into the current region 410 as the marking graph. For the pending image, if at least a portion of the pending image falls within the current region 410, the system determines whether the pending image partially falls within the current region 410 or completely falls within the current region 410. When the to-be-processed graph all falls into the current area 410, the to-be-processed graph is determined as the corresponding marking graph in the current area 410, such as the above-mentioned straight line segment L3.
When the part of the graph to be marked falls into the current area 410, the graph to be marked is divided into a graph inside the boundary and a graph outside the boundary, and the graph inside the boundary is determined as the corresponding marked graph in the current area 410. As mentioned above, still taking the straight line segment L4 as an example, the straight line segment EF is the graph falling in the current area 410, i.e., EF is the graph within the boundary, and the system sets EF as the marking graph of the current area 410. Similarly, the system sets the sum GH to the marking pattern of the current region 410.
Step S176, marking the current region 410 according to the marking pattern corresponding to the current region 410.
Specifically, as described above, the system will mark the current region 410 according to L3 and GH and EF.
Therefore, the system automatically processes each sub-graph, and the marking accuracy is high. In the marking process, the marked images cannot be incompletely matched with each other due to splitting, such as gaps, overlapping, deviation and the like, the working time is greatly shortened, and the working efficiency is improved.
Fig. 5 is a schematic flow chart of a laser marking method of a third embodiment. In this embodiment, when the to-be-processed pattern at least partially falls into the current region, the step of using the pattern falling into the current region as the marking pattern, that is, after step S175, further includes:
step S175A, determine whether the pattern to be processed is the last sub-pattern to be marked.
When the pattern to be processed is not the last sub-pattern to be marked, the next sub-pattern to be marked is selected as the pattern to be processed, i.e., step S173 is performed. When the graph to be processed is the last sub-graph, marking the current area according to the marking graph corresponding to the current area is performed, that is, step S176 is performed.
Specifically, the system works to the current area, and there may be a plurality of marking patterns in the current area or all of the remaining sub-patterns to be marked may not be marking patterns in the current area. Therefore, the sub-patterns to be marked are compared with the current region one by one until all the sub-patterns to be marked are compared, so that the marking pattern of the current region is obtained more completely, and the marking is accurate.
In an embodiment, the step of comparing the coordinates of the end point of the to-be-processed graph with the boundary of the current region and determining whether the to-be-processed graph at least partially falls into the current region, that is, the step S174 further includes:
when all the patterns to be marked do not fall into the current area, step S175A is executed to determine whether the pattern to be processed is the last sub-pattern to be marked.
Therefore, the sub-patterns to be marked can be compared with the current region one by one until all the sub-patterns to be marked are compared, so that the marking pattern of the current region can be obtained completely, and the marking is accurate.
Fig. 6 is a schematic flow chart of a laser marking method of the fourth embodiment. The step of marking the current region according to the marking pattern corresponding to the current region, namely after step S176, includes:
step S176A, it is determined whether the current region is the last marked region, and the process is ended when the current region is the last marked region. When the current region is not the last marking region, the next marking region to be marked is selected as the current region, i.e., step S171 is performed.
Specifically, the system processes and marks all the marking areas in sequence, so that all the marking areas are marked, and finally, the patterns to be marked are all marked on the workpiece.
Fig. 7 is a schematic flow chart of a laser marking method of a fifth embodiment. Fig. 8 is a schematic diagram of the current region 810. Fig. 9 is a schematic diagram of a second two-dimensional coordinate system. The step of marking the current region 810 according to the marking pattern corresponding to the current region 810, that is, step S176, includes:
step S176D, a second two-dimensional coordinate system is established in the region where the marking range is located.
Specifically, as described above, the marking range and each marking region of the galvanometer-scanning laser marking deviceThe domains are equal in area and shape. When the system works in the current area 810, the area where the marking range is located is the current area 810. That is, in this embodiment, a second two-dimensional coordinate system (XO) is established within the current area 8102Y), the second two-dimensional coordinate system is shown in fig. 8, and the second two-dimensional coordinate system is a rectangular coordinate system. The origin of the second two-dimensional coordinate system is O2And the origin is O2Is located at the center of the current region 810.
Step S176E, the coordinates of each point on the marked image in the first two-dimensional coordinate system are converted into coordinates in the second two-dimensional coordinate system.
Specifically, the coordinates of each point (i.e., the marking point) on the marking pattern in the second two-dimensional coordinate system are marking coordinates. Assuming that a marking point on the marking graph is I, the coordinate of the marking point in the first two-dimensional coordinate system is (x)3,y3)。x3,y3Is known, and the origin O in the second two-dimensional coordinate system2The coordinates in the first two-dimensional coordinate system are also known, from which the relation of each point in the first two-dimensional coordinate system and the second two-dimensional coordinate system can be derived. Suppose O2The coordinate in the first two-dimensional coordinate system is (x)0,y0),O2The coordinates in the second two-dimensional coordinate system are (0, 0). The marking point I is converted into a marking point I ' in a second two-dimensional coordinate system, and the coordinates of the marking point I ' are (x ', y '), so that the marking point I ' can be obtained
Figure BDA0001565387740000121
Namely the coordinate of the marking point I' is the marking coordinate of the galvanometer scanning laser marking device.
In step S176F, the galvanometer-scanned laser marking device marks the current area 810 with the marking coordinates of each point on the marking pattern.
Therefore, the galvanometer scanning laser marking device marks by the marking coordinates of the converted marking points, and the marking is accurate, namely the galvanometer scanning laser marking device marks only by the marking points in the marking range. And the storage required to operate in the marking range is smaller, so that the occupation of the system on computer resources, such as computer memory, video memory and the like, can be reduced, the working efficiency is improved, and the configuration requirement of the system on the computer is reduced. So that the system can run on a machine with lower configuration and still maintain normal working efficiency.
FIG. 10 is a schematic view of a laser marking system of an embodiment. A laser marking system applies a vibrating mirror scanning type laser marking device to carry out laser marking. The system comprises:
the marking device comprises a dividing module 110, a marking module and a marking module, wherein the dividing module 110 is used for establishing a first two-dimensional coordinate system on a plane where a pattern to be marked is located, decomposing the pattern to be marked into a plurality of sub-patterns, and dividing an area where the pattern to be marked is located according to a marking range of the galvanometer scanning type laser marking device to obtain a plurality of marking areas;
the processing module 130 is configured to determine whether each marking region has a corresponding marking pattern according to the position of each marking region and the position of each sub-pattern; wherein, the sub-graph or part of the sub-graph falling into the marking area is the marking graph;
and the marking module 150 is used for marking the marking region according to the marking pattern corresponding to the marking region when the marking pattern corresponds to the marking region.
According to the laser marking system, firstly, a marking graph is decomposed into a plurality of sub-graphs, and the area where the graph to be marked is located is divided according to the marking range of the galvanometer scanning type laser marking device to obtain a plurality of marking areas. Secondly, determining the corresponding marking patterns in the marking areas according to the positions of the marking areas and the positions of the sub-patterns. And then marking each marking area in sequence according to the marking graph corresponding to each marking area. Therefore, after the user starts the marking task, the system finishes the marking work of each marking area in sequence according to the marking graph corresponding to each marking area, and the marking task of the whole graph to be marked is realized. Therefore, the laser marking method and the laser marking system can automatically decompose and mark the to-be-marked graph with any size and any complexity, do not limit the size of the to-be-marked graph, reduce the marking difficulty, and have high marking speed and high marking efficiency.
In one embodiment, a laser marking system includes a memory and a processor; the memory has a computer program stored therein; the processor calls the computer program from the memory to perform the steps of the method of any of the above embodiments.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (8)

1. A laser marking method is characterized in that a galvanometer scanning type laser marking device is used for laser marking; the method comprises the following steps:
establishing a first two-dimensional coordinate system on a plane where a pattern to be marked is located;
decomposing the graph to be marked into a plurality of sub-graphs; the sub-graphs are divided according to the components of the graph to be marked;
dividing the region where the pattern to be marked is located according to the marking range of the galvanometer scanning type laser marking device to obtain a plurality of marking regions;
judging whether a corresponding marking graph exists in each marking area according to the position of each marking area and the position of each sub graph in a first two-dimensional coordinate system; wherein, the sub-graph or part of the sub-graph falling into the marking area is the marking graph;
marking the marking region according to the marking pattern corresponding to the marking region when the marking pattern corresponds to the marking region;
the step of judging whether the corresponding marking graph exists in each marking area or not according to the position of each marking area and the position of each sub graph in the first two-dimensional coordinate system comprises the following steps of:
selecting a marking area to be marked currently as a current area;
judging whether the sub-graph to be marked exists or not;
when the sub-graph to be marked is to be marked, selecting the sub-graph to be marked as the graph to be processed;
comparing the coordinates of the end points of the graph to be processed with the boundary of the current area, and judging whether at least part of the graph to be processed falls into the current area;
when at least part of the graph to be processed falls into the current area, taking the graph falling into the current area as a marking graph;
marking the current area according to the marking graph corresponding to the current area;
the step of marking the current region according to the marking graph corresponding to the current region comprises the following steps:
establishing a second two-dimensional coordinate system in the region where the marking range is located;
converting the coordinates of each point on the marking graph in the first two-dimensional coordinate system into coordinates in a second two-dimensional coordinate system; the coordinates of each point on the marking graph in the second two-dimensional coordinate system are marking coordinates;
and the galvanometer scanning laser marking device marks the current area by marking coordinates of each point on the marking graph.
2. The method according to claim 1, wherein the boundaries of the marking range of the galvanometer-scanning laser marking device form a rectangle; the pattern to be marked is preset in a rectangular area, and the area of the rectangular area is an integral multiple of the area of the marking range;
dividing the region where the pattern to be marked is located according to the marking range of the galvanometer scanning laser marking device to obtain a plurality of marking regions, wherein the marking regions comprise:
dividing the rectangular area into a plurality of marking areas according to the marking range; wherein the area of each marking region is equal to the area of the marking range.
3. A method according to claim 1 or 2, wherein said sub-pattern is a straight line segment.
4. The method according to claim 3, wherein the step of regarding the pattern falling in the current area as the marked pattern when the pattern to be processed at least partially falls in the current area comprises:
judging whether the graph to be processed partially falls into the current area or completely falls into the current area;
when the to-be-processed graphs all fall into the current area, determining the to-be-processed graphs as corresponding marking graphs in the current area; when the part of the graph to be processed falls into the current area, dividing the graph to be processed into a graph inside a boundary and a graph outside the boundary, and determining the graph inside the boundary as a corresponding marking graph in the current area.
5. The method according to claim 3, wherein the step of regarding the pattern falling in the current area as the marked pattern when the pattern to be processed at least partially falls in the current area further comprises:
judging whether the graph to be processed is the last sub-graph to be marked or not;
when the graph to be processed is not the last sub-graph to be marked, selecting the next sub-graph to be marked as the graph to be processed; and marking the current region according to the marking graph corresponding to the current region when the graph to be processed is the last sub-graph.
6. The method of claim 3, wherein marking the current region according to the marking pattern corresponding to the current region is followed by:
judging whether the current area is the last marking area or not, and ending the process when the current area is the last marking area; and when the current area is not the last marking area, selecting the next marking area to be marked as the current area.
7. A laser marking system is characterized in that a galvanometer scanning type laser marking device is used for laser marking; the system comprises:
the marking device comprises a dividing module, a marking module and a marking module, wherein the dividing module is used for establishing a first two-dimensional coordinate system on a plane where a pattern to be marked is located, decomposing the pattern to be marked into a plurality of sub-patterns, and dividing an area where the pattern to be marked is located according to a marking range of the galvanometer scanning type laser marking device to obtain a plurality of marking areas; the sub-graphs are divided according to the components of the graph to be marked;
the processing module is used for determining whether the marking area has a corresponding marking graph or not according to the position of each marking area and the position of each sub graph in a first two-dimensional coordinate system; wherein, the sub-graph or part of the sub-graph falling into the marking area is the marking graph;
the marking module is used for marking the marking area according to the marking graph corresponding to the marking area when the marking graph corresponds to the marking area;
the step of judging whether the corresponding marking graph exists in each marking area according to the position of each marking area and the position of each sub graph in the first two-dimensional coordinate system comprises the following steps:
selecting a marking area to be marked currently as a current area;
judging whether the sub-graph to be marked exists or not;
when the sub-graph to be marked is to be marked, selecting the sub-graph to be marked as the graph to be processed;
comparing the coordinates of the end points of the graph to be processed with the boundary of the current area, and judging whether at least part of the graph to be processed falls into the current area;
when at least part of the graph to be processed falls into the current area, taking the graph falling into the current area as a marking graph;
marking the current area according to the marking graph corresponding to the current area;
marking the current region according to the marking graph corresponding to the current region comprises:
establishing a second two-dimensional coordinate system in the region where the marking range is located;
converting the coordinates of each point on the marking graph in the first two-dimensional coordinate system into coordinates in a second two-dimensional coordinate system; the coordinates of each point on the marking graph in the second two-dimensional coordinate system are marking coordinates;
and the galvanometer scanning laser marking device marks the current area by marking coordinates of each point on the marking graph.
8. A laser marking system comprising a memory and a processor; the memory has stored therein a computer program; the processor calls a computer program from the memory to perform the steps of the method of any of claims 1 to 6.
CN201810097321.6A 2018-01-31 2018-01-31 Laser marking method and system Active CN108340077B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810097321.6A CN108340077B (en) 2018-01-31 2018-01-31 Laser marking method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810097321.6A CN108340077B (en) 2018-01-31 2018-01-31 Laser marking method and system

Publications (2)

Publication Number Publication Date
CN108340077A CN108340077A (en) 2018-07-31
CN108340077B true CN108340077B (en) 2020-09-25

Family

ID=62961511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810097321.6A Active CN108340077B (en) 2018-01-31 2018-01-31 Laser marking method and system

Country Status (1)

Country Link
CN (1) CN108340077B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109291657B (en) * 2018-09-11 2020-10-30 东华大学 Convolutional neural network-based aerospace structure industrial Internet of things identification laser coding system
CN109158772B (en) * 2018-09-30 2019-11-08 广州新可激光设备有限公司 A kind of high-rate laser diced system and its cutting method based on multidimensional distribution control
CN110076458B (en) * 2019-05-09 2020-06-19 西安交通大学 A large-format laser processing method
CN110421974B (en) * 2019-08-20 2021-03-12 珠海格力智能装备有限公司 Marking method and device and laser marking machine
CN110977154A (en) * 2019-12-05 2020-04-10 苏州领鹿智能科技有限公司 Positioning marking method suitable for large breadth
CN112427801B (en) * 2020-11-25 2022-08-30 西安中科微精光子科技股份有限公司 Laser processing method and device based on intersection point search and computer storage medium
CN114633027B (en) * 2020-12-15 2024-07-05 大族激光科技产业集团股份有限公司 Laser marking method
CN112692440B (en) * 2020-12-21 2023-02-28 长沙八思量信息技术有限公司 Laser marking method, system, device and storage medium
CN112809191A (en) * 2021-01-25 2021-05-18 铭镭激光智能装备(河源)有限公司 Laser marking method and device and computer readable storage medium
CN114273785B (en) * 2021-12-14 2025-02-18 莆田市鑫镭腾科技有限公司 A fiber laser assembly line two-dimensional code marking method and system
CN114309926B (en) * 2022-03-15 2022-08-09 北京金橙子科技股份有限公司 Three-dimensional complex surface-oriented laser marking method and system
CN115365681B (en) * 2022-08-23 2025-08-12 大族激光科技产业集团股份有限公司 Laser processing method, device, storage medium and computer equipment
CN115582633B (en) * 2022-10-28 2025-09-19 深圳泰德激光技术股份有限公司 Method and device for cutting homoplanar graph by laser, terminal equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100590894C (en) * 2006-12-31 2010-02-17 李毅 Method and device for large-format laser marking solar cells
CN101349908B (en) * 2008-08-29 2011-07-20 江门市科杰机械自动化有限公司 Data partition method of numerical control machine tool
CN102880113B (en) * 2012-10-26 2015-07-15 上海柏楚电子科技有限公司 Laser cutting path optimizing method
CN103639593A (en) * 2013-12-12 2014-03-19 苏州德龙激光股份有限公司 Large-breadth seamless splicing method and system for laser processing
TWM534051U (en) * 2016-06-07 2016-12-21 Eastern Logic Inc Laser marking pattern segmentation composer
CN107253399B (en) * 2017-06-12 2018-10-16 深圳市创鑫激光股份有限公司 A kind of laser marking method and laser marking machine

Also Published As

Publication number Publication date
CN108340077A (en) 2018-07-31

Similar Documents

Publication Publication Date Title
CN108340077B (en) Laser marking method and system
CN109226759B (en) Scanning path setting method and device for powder-spreading type laser 3D printing and control equipment
JP5367197B1 (en) Interference check device and numerical control device
US9589333B2 (en) Image correction apparatus for correcting distortion of an image
JP7622596B2 (en) IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND IMAGE PROCESSING PROGRAM
JP6818471B2 (en) Image processing equipment, image processing methods, and programs
CN108790180B (en) Multi-galvanometer scanning control method and device, computer equipment and storage medium
KR102065197B1 (en) Electron beam drawing device, electron beam drawing method, and recrding media
JP7613071B2 (en) Image inspection device and image inspection program
CN112991456A (en) Shooting positioning method and device, computer equipment and storage medium
EP4350280A1 (en) Three-dimensional measurement device
CN115115606A (en) Image coordinate matching method, terminal, and computer-readable storage medium
CN110825028B (en) Three-dimensional model generation device
JP2006252400A (en) Image processor and method of generating registration data in image processing
US12450879B2 (en) Data creation system, learning system, estimation system, processing device, evaluation system, data creation method, and program
US10935375B2 (en) Portable 3D document scanning device and method
JP4932202B2 (en) Part program generating apparatus for image measuring apparatus, part program generating method for image measuring apparatus, and part program generating program for image measuring apparatus
CN117710703A (en) Image processing method, device, computer equipment and readable storage medium
JP6512852B2 (en) Information processing apparatus, information processing method
JP2004030453A (en) Stereo matching method, stereo matching program, and computer readable recording medium with stereo matching program recorded thereon
US10600244B2 (en) Vertex optimization method using depth image in workspace modeling and system therefor
JP2005181092A (en) Method and apparatus for measuring height of protrusion
JP4747293B2 (en) Image processing apparatus, image processing method, and program used therefor
US20140336977A1 (en) Moving body placement determining method, measuring apparatus, machining apparatus, and storage medium
JP2008204307A (en) Image-collating device

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

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

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

Address before: 518051 floor 1 and 2, building B, Changyuan new material port, Nanshan District, Shenzhen City, Guangdong Province

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

CP03 Change of name, title or address