Laser marking method, device, apparatus and storage medium

By transforming the trajectory function of the laser marking pattern to generate an intermediate function, and using the inverse function to adjust the coordinates of the marking points, the problem of multi-axis laser systems failing to mark points in the central area at high speeds was solved, thus achieving efficient and continuous marking.

CN116262303BActive Publication Date: 2025-11-21SHENZHEN HANS SCANNER S&T CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111520990.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-13
Publication Date
2025-11-21
Estimated Expiration
2041-12-13

AI Technical Summary

Technical Problem

When multi-axis laser systems are used for high-speed marking, the central area with a radius smaller than a certain range is prone to not being marked, resulting in discontinuous marking and low speed.

Method used

By obtaining the trajectory function of the laser marking pattern, an intermediate function is generated using a transformation function, and the coordinates of the target marking point are generated through an inverse function transformation. The distribution of the marking points is then adjusted to meet the requirements of high-speed continuous marking.

Benefits of technology

While maintaining a high marking speed, it ensures that the central area with a radius less than a certain range is effectively filled, thereby improving the overall marking speed and reducing the jump amplitude of the galvanometer motor, thus improving the marking effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116262303B_ABST
    Figure CN116262303B_ABST
Patent Text Reader

Abstract

The application relates to the field of industrial control and discloses a laser marking method, device, equipment and storage medium, the method comprises the following steps: acquiring a track function of a laser marking pattern; using a transformation function to transform the track function to generate an intermediate function; acquiring initial marking parameters, calculating intermediate marking point coordinates according to the intermediate function and the initial marking parameters; acquiring an inverse function of the transformation function, converting the intermediate marking point coordinates according to the inverse function to generate target marking point coordinates. The application changes the marking point coordinate parameters by using the intermediate function, so that the central area with a radius smaller than a certain range can also be filled under the continuous marking requirement of meeting a higher marking speed, and the overall marking speed is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of industrial control, and in particular to a laser marking method, device, equipment and storage medium. BACKGROUND

[0002] As one of laser processing technologies, laser marking is a method of using a high-energy density laser focusing beam to irradiate a workpiece, so that the surface layer material is evaporated or undergoes photo-induced physical and chemical changes, leaving a permanent mark on the surface of the workpiece. The laser marking machine forms the required graphic mark by controlling the laser spot to move on the workpiece surface according to the trajectory.

[0003] The multi-axis laser system controls the galvanometer to swing by the motor angle jump to realize the laser spot moving according to the trajectory. Generally, when the trajectory planning is under a large main light ray angle (such as θ = 8°) and a high marking speed (such as a speed of 600 mm / s), the marking graphics with a radius less than a certain range will not be marked due to the speed of the galvanometer motor jump not following the instruction.

[0004] The method of marking by layers can improve this situation by marking at different speeds in different radius areas, but the overall marking speed of marking by layers is low, and the marking is discontinuous, and the effect is poor. SUMMARY

[0005] The present application provides a laser marking method, device, equipment and storage medium, which can solve the problem of not marking the center area with a radius less than a certain range under the requirements of continuous marking at a high marking speed.

[0006] A laser marking method, comprising:

[0007] obtaining a trajectory function of a laser marking graphic;

[0008] transforming the trajectory function using a transformation function to generate an intermediate function;

[0009] obtaining initial marking parameters, and calculating intermediate marking point coordinates according to the intermediate function and the initial marking parameters;

[0010] obtaining an inverse function of the transformation function, and converting the intermediate marking point coordinates according to the inverse function to generate target marking point coordinates.

[0011] A laser marking device, comprising:

[0012] a receiving module configured to obtain a trajectory function of a laser marking graphic;

[0013] a function transformation module configured to transform the trajectory function using a transformation function to generate an intermediate function;

[0014] An intermediate punctuation marking module is configured to obtain initial marking parameters, and calculate intermediate punctuation marking coordinates according to the intermediate function and the initial marking parameters;

[0015] A target punctuation marking module is configured to obtain an inverse function of the transformation function, and convert the intermediate punctuation marking coordinates according to the inverse function to generate target punctuation marking coordinates.

[0016] A computer device includes a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, and the processor implements the above laser marking method when executing the computer readable instructions.

[0017] One or more readable storage media storing computer readable instructions, the computer readable instructions being executed by one or more processors to cause the one or more processors to execute the above laser marking method.

[0018] Compared with the prior art, the above laser marking method, device, computer device and storage medium, by transforming the laser marking pattern into an intermediate function, not only improves the situation that the multi-axis laser system cannot mark points in the central area with a radius less than a certain range when marking at a high speed under the usual trajectory planning, but also because the trajectory marking points of the pattern after the additional function transformation are relatively more, the amplitude of the galvanometer motor jump is smaller, so that the ratio r / θ p of the marking radius r and the corresponding motor swing angle amplitude θ p is less than a preset threshold when r is in the range of 0 to 0.5 mm. The present application changes the marking point coordinate parameters by using the intermediate function, so that the central area with a radius less than a certain range can also be filled under the requirement of continuous marking at a high marking speed, and the overall marking speed is improved. BRIEF DESCRIPTION OF DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0020] Figure 1 is a flowchart of the laser marking method of the present application;

[0021] Figure 2 is a laser marking pattern trajectory of an embodiment of the present application;

[0022] Figure 3 is an intermediate function pattern trajectory of an embodiment of the present application;

[0023] Figure 4 is a structural diagram of a laser marking device in an embodiment of the present application;

[0024] Figure 5 is a schematic diagram of a computer device in an embodiment of the present application. DETAILED DESCRIPTION

[0025] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0026] The present application discloses a laser marking method, as shown in the figure, comprising the following steps: Figure 1

[0027] S10, obtaining a trajectory function of a laser marking pattern.

[0028] Understandably, the laser marking pattern is issued by a marking program. The laser marking pattern can be set according to actual needs, such as a circle, a spiral line, etc. The trajectory function refers to the functional representation form of the laser marking pattern. For example, if the laser marking pattern is a circle, its corresponding trajectory function can be represented by the equation function of the circle. During laser marking, the trajectory coordinate points of the laser spot on the working surface need to satisfy the trajectory function, so as to form the corresponding laser marking pattern.

[0029] S20, using a transformation function to transform the trajectory function to generate an intermediate function.

[0030] Understandably, the intermediate function can be represented as the product of the trajectory function and the transformation function. After function transformation, the pattern composed of the trajectory coordinate points of the intermediate function is different from the laser marking pattern, such as an ellipse, an enlarged circle, etc. Compared with the laser marking pattern before function transformation, the pattern composed of the trajectory coordinate points of the intermediate function often has a wider marking area and corresponds to more marking points.

[0031] S30, obtaining initial marking parameters, and calculating intermediate marking point coordinates according to the intermediate function and the initial marking parameters.

[0032] ​Understandably, the initial marking parameters include initial origin coordinates, marking speed and system instruction period. The initial origin coordinates refer to the range of motion of the laser beam when marking corresponding to the trajectory function of the intermediate function, which is used to adjust the position and focal length of the laser beam. The marking speed is a manually input parameter, which can be adjusted according to the needs of the marking work. The marking program will call the system instruction period according to the input marking speed, and the instruction period refers to the interval time between two instructions.

[0033] S40, obtain the inverse function of the transformation function, convert the intermediate marking point coordinates according to the inverse function, and generate target marking point coordinates.

[0034] Understandably, the inverse function of the transformation function represents the corresponding relationship between the trajectory function and the intermediate function, which can make the intermediate marking point coordinates satisfy the trajectory function of the laser marking pattern after conversion, and obtain the target marking point coordinates. The role of the intermediate function is to change the coordinate parameters of the laser marking point, so that the distribution of the laser marking point in the central region is more reasonable, and then the redistributed intermediate marking point coordinates are correspondingly generated to obtain the target marking point, so as to complete the trajectory planning of the laser marking pattern.

[0035] In step S20, optionally, the deviation of the ratio of the marking radius of the intermediate function to the swing amplitude of the motor angle in the specified marking radius range is less than a preset threshold value;

[0036] The specified marking radius range includes 0 to 0.5mm;

[0037] The preset threshold value includes 5% to 20%.

[0038] It is understandable that the transformation function selected in the function transformation process needs to satisfy that the deviation of the ratio of the marking radius of the intermediate function to the swing amplitude of the motor angle in the specified marking radius range is less than the preset threshold. The specified marking radius range refers to the central region with smaller radius, including 0 to 0.5 mm, and the preset threshold is to control the deviation in a smaller range, including 5% to 20%. The marking radius includes the distance from the coordinate origin to each marking point, and the coordinate origin corresponds to the laser beam perpendicular to the plane of the workpiece. In the entire marking process, as the marking radius between the marking starting point and the marking ending point changes continuously, the motor angle of the galvanometer also swings to a certain amplitude to realize the movement of the laser spot. From the marking point with the smallest radius to the marking point with the largest radius, the greater the difference between the marking radii, the greater the deviation of the ratio of the marking radius to the swing amplitude of the motor angle. In the central region with smaller radius, the marking radius is small, but the difference between the marking radii can reach several times, while the swing range of the motor angle is limited, resulting in a large deviation of the ratio of the marking radius to the swing amplitude of the motor angle, and the motor may not be able to catch up with the speed to mark the point. By using function transformation, the parameters of the marking points can be changed, so that the ratio between the marking radii of the intermediate function is similar, and the deviation of the ratio of the marking radius to the swing amplitude of the motor angle is reduced.

[0039] Optionally, step S30, i.e. obtaining the initial marking parameters, calculating the intermediate marking point coordinates according to the intermediate function and the initial marking parameters, comprises:

[0040] calculating the intermediate starting point coordinates according to the intermediate function and the initial origin coordinates;

[0041] determining the step length according to the marking speed and the system instruction period;

[0042] calculating the intermediate marking point coordinates according to the intermediate starting point coordinates, the intermediate function and the step length.

[0043] It is understandable that the intermediate starting point coordinates refer to the starting point coordinates of the intermediate function trajectory. For different marking pattern trajectories, the starting point coordinates and the origin coordinates do not necessarily coincide. The initial origin coordinates and the intermediate function determined according to the program can be used to calculate the intermediate starting point coordinates. The step length refers to the unit distance between two adjacent marking points, which is determined by the input marking speed and the system instruction period. Given the intermediate starting point coordinates and the step length, the coordinates of the next marking point can be determined according to the intermediate function, and the coordinates of all intermediate marking points can be obtained in the same way. The trajectory composed of these intermediate marking points corresponds to the intermediate function pattern.

[0044] Optionally, after step S30, i.e. obtaining the inverse function of the transformation function, converting the intermediate marking point coordinates according to the inverse function to generate target marking point coordinates, further comprises:

[0045] The target marking point coordinates are converted into amplitude data of the galvanometer through an amplitude coordinate conversion relationship.

[0046] It can be understood that the laser spot moves on the workpiece surface according to a track to form a target laser marking pattern, the movement of the laser spot is controlled by two groups of galvanometers, each group of galvanometers includes two motors representing x direction and y direction, the motor angle corresponds to the amplitude data of the galvanometer, and the motor angle is represented by (AX1, AY1, AX2, AY2). The amplitude coordinate conversion relationship refers to the corresponding relationship between the marking point coordinates and the swing amplitude of the galvanometer, and the swing amplitude of the galvanometer is determined by the motor angle. In some examples, the amplitude coordinate conversion relationship can be a conversion formula or a correction table between the marking point coordinates and the motor angle. According to the amplitude coordinate conversion relationship, the target marking point coordinates are converted into the motor angle, and the motor angle is realized through the swing of the galvanometer to move the laser spot according to the track of the target marking point coordinates.

[0047] The track line of the laser marking pattern of an embodiment of the present application is shown in Figure 2 The function equation of the laser marking pattern in the embodiment is The track line is a spiral line. According to the laser marking method of the conventional track planning, the intermediate function is not generated through function transformation, when the actual marking speed is less than or equal to 150 mm / s, the central region can be successfully filled, and no point cannot be marked. When the actual marking speed is greater than 150 mm / s, the central region with a smaller radius will appear a residual condition due to the point cannot be marked. When the marking speed is 150 mm / s, the step length under unit time is 0.00001*150=0.0015 mm.

[0048] The track line of the intermediate function pattern of an embodiment of the present application is shown in Figure 3 The function equation of the laser marking pattern in the embodiment is The track line is an enlarged spiral line in the central region. Compared with the step length under unit time when the marking speed is 150 mm / s before function transformation, the step length of the track of the intermediate function pattern after function transformation is 0.0015 / 0.08*1.148=0.0215 mm, and the marking speed of the intermediate function is 0.0215 / 0.00001=2150 mm / s. In actual test, after function transformation, the central residual condition appears when the marking speed is greater than 11000 mm / s, and compared with the condition without function transformation, the overall marking speed is increased by 5 times.

[0049] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, the execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0050] The application provides a laser marking device corresponding to the laser marking method. Figure 4 As shown in the figure, the laser marking device comprises a received pattern module 10, a function transformation module 20, an intermediate marking point module 30 and a target marking point module 40. Each function module is described in detail as follows:

[0051] The received pattern module 10 is used to obtain the trajectory function of the laser marking pattern;

[0052] The function transformation module 20 is used to transform the trajectory function by using a transformation function to generate an intermediate function;

[0053] The intermediate marking point module 30 is used to obtain initial marking parameters, calculate intermediate marking point coordinates according to the intermediate function and the initial marking parameters;

[0054] The target marking point module 40 is used to obtain the inverse function of the transformation function, convert the intermediate marking point coordinates according to the inverse function to generate target marking point coordinates.

[0055] Optionally, the deviation of the ratio of the marking radius of the intermediate function to the swing amplitude value of the motor angle in the specified marking radius range is less than a preset threshold value.

[0056] Optionally, the specified marking radius range comprises 0 to 0.5 mm.

[0057] Optionally, the preset threshold value comprises 5% to 20%.

[0058] Optionally, the initial marking parameters comprise initial origin coordinates, marking speed and system instruction period; and the intermediate marking point module 30 comprises:

[0059] A starting point unit is used to calculate intermediate starting point coordinates according to the intermediate function and the initial origin coordinates;

[0060] A step length unit is used to determine a step length according to the marking speed and the system instruction period;

[0061] A marking point unit is used to calculate the intermediate marking point coordinates according to the intermediate starting point coordinates, the intermediate function and the step length.

[0062] Optionally, the laser marking device further comprises:

[0063] A conversion module is used to convert the target marking point coordinates into amplitude data of a galvanometer through an amplitude coordinate conversion relationship.

[0064] The specific limitations of the laser marking device can refer to the limitations of the laser marking method described above, which will not be repeated here. Each module in the above laser marking device can be implemented by software, hardware and their combination. The above modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of the above modules.

[0065] In one embodiment, a computer device is provided, which can be a terminal, and its internal structure diagram can be as shown in Figure 5 The computer device includes a processor, a memory, a network interface, a display screen and an input device connected by a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer readable instructions. The internal memory provides an environment for the operation of the operating system and computer readable instructions in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external server through a network connection. The computer readable instructions are executed by the processor to implement a laser marking method. The readable storage medium provided in the embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.

[0066] In one embodiment, a computer device is provided, which includes a memory, a processor and computer readable instructions stored in the memory and executable on the processor, and the processor executes the computer readable instructions to implement the following steps:

[0067] Obtain a trajectory function of a laser marking pattern;

[0068] Transform the trajectory function using a transformation function to generate an intermediate function;

[0069] Obtain initial marking parameters, and calculate intermediate marking point coordinates according to the intermediate function and the initial marking parameters;

[0070] Obtain an inverse function of the transformation function, and convert the intermediate marking point coordinates according to the inverse function to generate target marking point coordinates.

[0071] In one embodiment, one or more computer readable storage media having computer readable instructions stored thereon are provided. The readable storage medium provided in the embodiment includes a non-volatile readable storage medium and a volatile readable storage medium. The computer readable instructions stored on the readable storage medium are executed by one or more processors to implement the following steps:

[0072] Obtain a trajectory function of a laser marking pattern;

[0073] transforming the trajectory function using a transform function to generate an intermediate function;

[0074] obtaining initial marking parameters, and calculating intermediate marking point coordinates according to the intermediate function and the initial marking parameters;

[0075] obtaining an inverse function of the transform function, and converting the intermediate marking point coordinates according to the inverse function to generate target marking point coordinates.

[0076] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by computer readable instructions instructing related hardware, and the computer readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer readable instructions are executed, the processes of the above-mentioned embodiments can be included. Any reference to memory, storage, database or other medium used in each embodiment provided by the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0077] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the above-mentioned functions.

[0078] The above-described embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit the present application; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A laser marking method, characterized by, The method comprises: obtaining a trajectory function of a laser marking pattern; transforming the trajectory function using a transformation function to generate an intermediate function, wherein a deviation of a ratio of a marking radius of the intermediate function to a swing amplitude of a motor angle within a specified marking radius range is less than a preset threshold value; obtaining initial marking parameters, and calculating intermediate marking point coordinates according to the intermediate function and the initial marking parameters; obtaining an inverse function of the transformation function, and converting the intermediate marking point coordinates according to the inverse function to generate target marking point coordinates.

2. The laser marking method according to claim 1, characterized in that, The specified marking radius range comprises 0 to 0.5 mm.

3. The laser marking method of claim 1, wherein, The preset threshold value comprises 5% to 20%.

4. The laser marking method of claim 1, wherein, The initial marking parameters comprise initial origin coordinates, a marking speed, and a system instruction period. The method further comprises: calculating intermediate start point coordinates according to the intermediate function and the initial origin coordinates; determining a step length according to the marking speed and the system instruction period; calculating the intermediate marking point coordinates according to the intermediate start point coordinates, the intermediate function, and the step length.

5. The laser marking method of claim 1, wherein, The method further comprises: converting the target marking point coordinates into amplitude data of a galvanometer through an amplitude coordinate conversion relationship.

6. A laser marking device, characterized by The method comprises: receiving a pattern module configured to obtain a trajectory function of a laser marking pattern; a function transformation module configured to transform the trajectory function using a transformation function to generate an intermediate function, wherein a deviation of a ratio of a marking radius of the intermediate function to a swing amplitude of a motor angle within a specified marking radius range is less than a preset threshold value; an intermediate marking point module configured to obtain initial marking parameters, and calculate intermediate marking point coordinates according to the intermediate function and the initial marking parameters; a target marking point module configured to obtain an inverse function of the transformation function, and convert the intermediate marking point coordinates according to the inverse function to generate target marking point coordinates.

7. The laser marking device of claim 6, wherein, The initial marking parameters comprise initial origin coordinates, a marking speed, and a system instruction period. The intermediate marking point module comprises: a start point unit configured to calculate intermediate start point coordinates according to the intermediate function and the initial origin coordinates; a step length unit configured to determine a step length according to the marking speed and the system instruction period; a marking point unit configured to calculate the intermediate marking point coordinates according to the intermediate start point coordinates, the intermediate function, and the step length. The processor implements the laser marking method according to any one of claims 1 to 5 when executing the computer-readable instructions.

8. A computer device comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, wherein, 9. One or more readable storage media storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the laser marking method according to any one of claims 1 to 5. ​

Citation Information

Patent Citations

  • Welding method and device between plates and computer storage medium

    CN113560730A

  • Systems and methods for voxel warping

    US20020075283A1