A precise marking control method for laser marking machine

By installing a laser ranging probe on the laser marking machine, performing grid scanning and curvature calculation, converting equivalent coordinates and correlating the power output value, the problem of the laser marking machine being unable to adapt to irregular curved surface printing is solved and the marking efficiency is improved. Precision and visual impact.

CN114589412BActive Publication Date: 2024-08-23WUXI TOR LASER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210433202.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-24
Publication Date
2024-08-23
Estimated Expiration
2042-04-24

AI Technical Summary

Technical Problem

Existing laser marking machines cannot adapt to printing on irregular curved surfaces, resulting in significant deviations in the visual effects of icons and low marking accuracy.

Method used

Install a laser ranging probe on the laser marking machine, obtain height data through grid scanning, calculate the curvature and offset coordinates of the scanning points, convert them into equivalent coordinates, and associate the power output value according to the equivalent coordinates and height data to control the laser Marking machine for marking.

Benefits of technology

It improves the accuracy of marking, ensures that the visual effect of icons printed on curved surfaces is consistent with that of flat printing, and enhances the accuracy of marking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114589412B
    Figure CN114589412B
Patent Text Reader

Abstract

The present invention is applicable to the field of laser technology and provides a precise marking control method for a laser marking machine. The present invention sets a laser ranging probe to scan a marking area with a marking device, calculates the row curvature through distance detection, and then performs equivalent conversion on the coordinates of the scanning points to finally obtain equivalent coordinates. Marking is performed according to the equivalent coordinates, thereby improving the marking accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of laser technology, and in particular relates to a precise marking control method for a laser marking machine. Background Art

[0002] Laser marking machine uses laser beam to mark permanently on the surface of various materials. The effect of marking is to expose the deep material through the evaporation of the surface material, so as to carve out exquisite patterns, trademarks and texts. Laser marking machines are mainly divided into: CO2 laser marking machine, semiconductor laser marking machine, fiber laser marking machine and YAG laser marking machine. Laser marking machine is mainly used in some occasions that require more sophisticated and higher precision. It is used in electronic components, integrated circuits (IC), electrical appliances, mobile communications, hardware products, tool accessories, precision instruments, glasses and clocks, jewelry, auto parts, plastic buttons, building materials, PVC pipes.

[0003] The structure of the laser marking machine includes an XY-axis operating table, which controls the point coordinates of the laser head, and then the icon can be printed on the target device. Since the XY-axis operating table can only control the movement of the laser head on a plane, for some regular surface areas of target devices, the target device can be controlled to rotate to complete laser marking. However, for irregular surfaces with very special shapes, this method cannot be used to complete marking. The current method can only print on the curved surface according to the shape of the flat icon, which makes the visual effect of the icon have obvious deviations and the marking accuracy is not high. Summary of the invention

[0004] In view of the above problems, the object of the present invention is to provide a precise marking control method for a laser marking machine, aiming to solve the technical problem that the existing control method cannot adapt to curved surface printing.

[0005] The present invention adopts the following technical solution:

[0006] The laser marking machine precise marking control method comprises the following steps:

[0007] Step S1, installing a laser ranging probe on the laser marking machine, and when receiving the icon data to be marked, determining the marking range on the target device according to the icon data;

[0008] Step S2, controlling the laser ranging probe of the laser marking machine to grid scan the marking range area to obtain height data;

[0009] Step S3, determining the curvature of each scanning point according to the scanning points of the grid scanning in combination with the corresponding height data, and converting it into offset coordinates;

[0010] Step S4, obtaining the equivalent coordinates of the scanning point according to the point coordinates of the scanning point and the corresponding offset coordinates;

[0011] Step S5, associating each equivalent coordinate with a power output value, wherein the power output value is proportional to the height data corresponding to the scanning point;

[0012] Step S6: Control the laser marking machine to mark the target icon pattern within the marking range according to the equivalent coordinates and the corresponding power output value.

[0013] Furthermore, in step S2, the row interval of the grid scan is Δa, and the column interval is Δb. For the scan point A at the i-th row and j-th column ij =(x i ,y j ), the height data obtained by scanning is h ij In step S3, the scanning point curvature includes row curvature and column curvature, where the column curvature is The row curvature is Scan point A ij The offset coordinates are:

[0014]

[0015] Further, scan point A ij The equivalent coordinates of are:

[0016]

[0017] Furthermore, the equivalent coordinate A ij ”=(x i ”,y j ”), its associated power output value W ij =W0+k×(h ij -h0) 2 , h0 is the reference height, W0 is the reference power.

[0018] Furthermore, the specific process of step S6 is as follows:

[0019] Multiple horizontal latitudes are established according to each equivalent coordinate. The principle of establishment is to make the sum of the distance variances of the equivalent coordinates near the horizontal latitudes from the horizontal latitudes as small as possible;

[0020] Keep the X coordinate of the equivalent coordinate unchanged and slightly adjust the Y coordinate so that the equivalent coordinate falls on the corresponding nearby horizontal latitude line;

[0021] The target icon pattern will be marked line by line according to the fine-tuned equivalent coordinates and the corresponding power output values.

[0022] The beneficial effect of the present invention is that the present invention sets a laser ranging probe to scan the marking area with a marking device, calculates the row curvature through distance detection, and then performs equivalent conversion on the coordinates of the scanning points to finally obtain equivalent coordinates, and performs marking according to the equivalent coordinates, thereby improving the marking accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 This is the process of the precise marking control method of the laser marking machine provided by the embodiment of the present invention;

[0024] Figure 2 It is a schematic diagram of grid scanning;

[0025] Figure 3 It is a schematic diagram of equivalent coordinate fine-tuning. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0027] In order to illustrate the technical solution of the present invention, a specific embodiment is provided below for illustration.

[0028] Figure 1 The flow chart of the precise marking control method of the laser marking machine provided by the embodiment of the present invention is shown. For the convenience of explanation, only the part related to the embodiment of the present invention is shown.

[0029] like Figure 1 As shown, the laser marking machine precise marking control method comprises the following steps:

[0030] Step S1, determining the marking range step: installing a laser ranging probe on the laser marking machine, and when receiving the icon data to be marked, determining the marking range on the target device according to the icon data.

[0031] The laser distance measuring probe is located near the laser head of the laser marking machine. The laser marking machine has an XY axis scanning platform, which can control the laser head to scan in the XY direction of the horizontal plane.

[0032] The icon data to be marked in this embodiment can be text or pattern, no matter what form, the essence is the same. Under normal circumstances, according to the input icon data, it can be automatically converted into plane coordinate data, and the marking operation can be completed by controlling the probe to scan along the X direction and the Y direction.

[0033] However, for unconventional curved surfaces, the surface changes are unpredictable and irregular. If the marking is done directly on the plane, the final marked icon shape will have obvious errors and poor visual effects. Therefore, this embodiment installs a laser ranging probe to scan the surface changes in the marking range.

[0034] Step S2, grid scanning step: controlling the laser ranging probe of the laser marking machine to grid scan the marking range area to obtain height data.

[0035] When doing specific operations, such as Figure 2 As shown, the row spacing of the grid scan is Δa, the column spacing is Δb, and for the scan point A in the i-th row and j-th column ij =(x i ,y j ), the height data obtained by scanning is h ij The scanning grid is predetermined, and the grid row and column spacing is consistent with the row and column offset of the laser marking machine laser head. In a flat state, each scanning point is the marking point of the laser head, but the actual target device is a curved surface, so the position of the scanning point needs to be converted.

[0036] Step S3, offset coordinate calculation step: determine the curvature of each scanning point according to the scanning points of the grid scan in combination with the corresponding height data, and convert it into offset coordinates.

[0037] Range scanning can only scan the height change of the curved surface, and cannot accurately obtain the curvature of the scan point, including the direction of curvature change. In order to facilitate calculation, this embodiment divides the curvature calculation into row curvature and column curvature, that is, it can reflect the change of the scan point in the row direction and the change in the column direction.

[0038] In step S3, the scanning point curvature includes row curvature and column curvature, where the column curvature is The row curvature is Scan point A ij The offset coordinates are:

[0039]

[0040] This method defines the curvature of the current scanning point in the column direction as the change slope of the two adjacent columns of points on the left and right of the scanning point, and the curvature of the scanning point in the row direction as the change slope of the two adjacent rows of points above and below the scanning point. In this way, the row and column offset of the scanning point, that is, the offset coordinate, can be obtained.

[0041] Step S4, equivalent coordinate calculation step: obtain the equivalent coordinates of the scanning point according to the point coordinates of the scanning point and the corresponding offset coordinates.

[0042] There is scanning point A ij The coordinates of (x i ,y j), so the equivalent coordinates of the scanning point are:

[0043]

[0044] is the equivalent coordinate A ij ”=(x i ”,y j ”).

[0045] Step S5, power value association step: associate each equivalent coordinate with a power output value, and the power output value is proportional to the height data corresponding to the scanning point.

[0046] As the distance changes, if the power value of the laser head does not change, the marked icon will be different in depth or even impossible to mark, affecting the appearance. Therefore, this step also needs to associate a power output value W for the equivalent coordinates. ij =W0+k×(h ij -h0) 2 , h0 is the reference height, W0 is the reference power. Under the horizontal plane, the height of each scanning point is the same, so they all have the same power output value. When the height changes, the required power change is proportional to the change in height data. In actual operation, the change in power output value is proportional to the square of the distance difference. Therefore, by calibrating the k value, the power output value of each equivalent coordinate can be obtained.

[0047] Step S6, marking output step: controlling the laser marking machine to mark the target icon pattern within the marking range according to the equivalent coordinates and the corresponding power output value.

[0048] Under normal circumstances, on a curved surface, the scanning point is offset in the XY direction, so the equivalent coordinates after adjustment are messy. Of course, you can mark directly according to the equivalent coordinates, but in actual operation, since the laser head needs to change frequently in the XY direction according to the equivalent coordinates, it is not conducive to improving the marking efficiency and will also reduce the life of the equipment. Therefore, this step can adopt the following preferred method:

[0049] The specific process of step S6 is as follows:

[0050] Multiple horizontal latitudes are established according to each equivalent coordinate. The principle of establishment is to make the sum of the distance variances of the equivalent coordinates near the horizontal latitudes from the horizontal latitudes as small as possible;

[0051] Keep the X coordinate of the equivalent coordinate unchanged and slightly adjust the Y coordinate so that the equivalent coordinate falls on the corresponding nearby horizontal latitude line;

[0052] The target icon pattern will be marked line by line according to the fine-tuned equivalent coordinates and the corresponding power output values.

[0053] like Figure 3As shown, it is assumed that the equivalent coordinates are the black dots in the diagram, and the distribution is relatively scattered. This step constructs horizontal latitudes, and calculates the sum of squares of the distance differences between the nearby equivalent coordinates and the horizontal latitudes, that is, the distance variance. The smaller the distance variance, the better. In specific implementation, there is no need to consider the X coordinate value, only the Y coordinate value, and the Y coordinate value is grouped according to the size range. Each group of Y coordinate values ​​calculates a Y value with the smallest distance variance, and the Y value is the Y value of the horizontal latitude. Finally, the X value of the equivalent coordinates remains unchanged, and the Y value is directly changed to the Y value of the horizontal latitude of the group, so that the fine-tuned equivalent coordinates can be obtained, and finally, the power output value is used to mark line by line, so that when marking each line, there is no need to adjust the Y direction, only the X direction needs to be adjusted, and the visual effect of the final marked icon is not much different from that of directly marking according to the equivalent coordinates.

[0054] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for controlling precise marking of a laser marking machine. It is characterized in that The method comprises the following steps: Step S1, installing a laser ranging probe on the laser marking machine, and when receiving the icon data to be marked, determining the marking range on the target device according to the icon data; Step S2, controlling the laser ranging probe of the laser marking machine to grid scan the marking range area to obtain height data; Step S3, determining the curvature of each scanning point according to the scanning points of the grid scanning in combination with the corresponding height data, and converting it into offset coordinates; Step S4, obtaining the equivalent coordinates of the scanning point according to the point coordinates of the scanning point and the corresponding offset coordinates; Step S5, associating each equivalent coordinate with a power output value, wherein the power output value is proportional to the height data corresponding to the scanning point; Step S6, controlling the laser marking machine to mark the target icon pattern within the marking range according to the equivalent coordinates and the corresponding power output value; In step S2, the row interval of the grid scan is Δa, the column interval is Δb, and for the scan point A in the i-th row and j-th column ij =(x i ,y j ), the height data obtained by scanning is h ij In step S3, the scanning point curvature includes row curvature and column curvature, where the column curvature is The row curvature is Scan point A ij The offset coordinates are: Scan point A ij The equivalent coordinates of are:

2. The precise marking control method of the laser marking machine as claimed in claim 1, It is characterized in that Equivalent coordinate A ij ”=(x i ”,y j ”), its associated power output value W ij =W 0 +k×(h ij -h 0 ) 2 ,h 0 is the reference height, W 0 is the reference power, k is the calibration value, h ij Scan point A ij The height data obtained by scanning.

3. The precise marking control method of the laser marking machine as claimed in claim 2, It is characterized in that The specific process of step S6 is as follows: Multiple horizontal latitudes are established according to each equivalent coordinate. The principle of establishment is to make the sum of the distance variances of the equivalent coordinates near the horizontal latitudes from the horizontal latitudes as small as possible; Keep the X coordinate of the equivalent coordinate unchanged and slightly adjust the Y coordinate so that the equivalent coordinate falls on the corresponding nearby horizontal latitude line; The target icon pattern will be marked line by line according to the fine-tuned equivalent coordinates and the corresponding power output values.