Laser Marking Bitmap Method, System, Electronic Device and Readable Storage Medium

By obtaining the pulse width corresponding to the target peak power and grayscale value in laser marking technology, generating optical pulse signals, and directly adjusting the pulse width to eliminate transition pulses, the problem that changes in laser output power affect image clarity is solved, and high-quality bitmap marking is achieved.

CN119115232BActive Publication Date: 2025-07-22SHENZHEN JPT OPTO ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411515067.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2025-07-22
Estimated Expiration
2044-10-28

AI Technical Summary

Technical Problem

In the existing laser marking technology, transition pulses caused by changes in the laser output power affect the sharpness of the bitmap image, making it difficult to achieve high-speed response of the laser output beam and different grayscale values.

Method used

By obtaining the pulse width corresponding to the preset target peak power and grayscale value, the corresponding optical pulse signal is generated, and the pulse width is directly adjusted without switching the peak power, ensuring that the optical pulse is consistent with the working time of the workpiece material and eliminating transition pulses.

Benefits of technology

It improves the clarity of the bitmap graphics, avoids the occurrence of color aberration, and ensures the stability and consistency of the laser marking process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119115232B_ABST
    Figure CN119115232B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, a system, an electronic device and a readable storage medium for laser marking bitmaps, relating to the field of laser marking. The method includes: obtaining a preset target peak power, a plurality of gray values in the to-be-engraved pattern, and the pulse width corresponding to each gray value; generating an optical pulse signal corresponding to each gray value according to the pulse width corresponding to each gray value and the preset target peak power; and performing marking on a target workpiece according to each target optical pulse signal. In this way, bitmap marking is performed by using the pulse width of the output optical pulse signal corresponding to different gray values in the to-be-engraved pattern, and the peak power output during the pulse width modulation process always remains relatively stable, avoiding the switching of the optical pulse peak power, thereby eliminating the transitional pulses generated during the peak power switching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of laser marking, and particularly to a method, a system, an electronic device and a readable storage medium for laser marking a bitmap. Background Art

[0002] With the continuous development of laser marking technology, in the field of laser marking, there is an increasing pursuit of high definition, no loss, no distortion and other clarity requirements for marking graphics. A bitmap is a pixel map composed of multiple pixel points, and each single pixel point contains a certain color grayscale. The key difficulty in laser marking a bitmap lies in how to achieve a high-speed response correspondence between a certain output beam characteristic of the laser and different grayscale values.

[0003] In the current prior art, the scheme of different output powers of the laser corresponding to different grayscale values is adopted. The change of the output power is likely to generate transition pulses, resulting in a decrease in the image clarity of the marked bitmap. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to overcome the deficiencies in the prior art, and provide a method, a system, an electronic device and a readable storage medium for laser marking a bitmap, which are used to ensure that when the laser marks pixel points on the target workpiece, the light pulses all have the same pulse peak power, thereby avoiding the switching of the light pulse peak power, but directly switching the pulse width, that is, the action time of the laser and the workpiece material, and further eliminating the transition pulses generated during the switching of the peak power, and improving the clarity of the bitmap graphics.

[0005] The present invention provides the following technical solutions:

[0006] In a first aspect, the present invention proposes a method for laser marking a bitmap, and the method includes:

[0007] Obtain a preset target peak power, multiple grayscale values in the to-be-marked graphic, and the pulse width corresponding to each grayscale value;

[0008] Generate target optical pulse signals corresponding to each grayscale value according to the pulse width corresponding to each grayscale value and the preset target peak power;

[0009] Mark the target workpiece according to each target optical pulse signal.

[0010] In an embodiment, in the step of obtaining a preset target peak power, multiple grayscale values in the to-be-marked graphic, and the pulse width corresponding to each grayscale value, it includes:

[0011] Obtain the material damage threshold parameter of the target workpiece;

[0012] Set the preset target peak power according to the material damage threshold parameter.

[0013] In one embodiment, in the steps of obtaining a preset target peak power, a plurality of gray values in the pattern to be marked, and the pulse width corresponding to each gray value, it includes:

[0014] Establish a gray-pulse width mapping set, where the gray-pulse width mapping set includes the mapping relationship between preset gray values and preset pulse widths;

[0015] Extract the gray values corresponding to different colors in the pattern to be marked;

[0016] According to the gray-pulse width mapping set, determine the pulse width corresponding to each gray value.

[0017] In one embodiment, in the step of establishing a gray-pulse width mapping set, it includes:

[0018] Set the pulse width range according to the material damage threshold parameter of the target workpiece;

[0019] Set the mapping relationship between the preset gray value and the preset pulse width according to the preset gray value range and the pulse width range.

[0020] In one embodiment, in the step of generating an optical pulse signal corresponding to each gray value according to the pulse width corresponding to each gray value and the preset target peak power, it includes:

[0021] Generate an electrical pulse signal corresponding to each gray value based on the pulse width corresponding to each gray value;

[0022] Based on each electrical pulse signal, control the seed source laser to output an initial optical pulse signal corresponding to each gray value;

[0023] If the peak power of the initial optical pulse signal is within the preset regulation range of the preset target peak power, then determine the initial optical pulse signal as the target optical pulse signal.

[0024] In one embodiment, in the step of generating a target optical pulse signal corresponding to each gray value according to the pulse width corresponding to each gray value and the preset target peak power, it further includes:

[0025] If the peak power of the initial optical pulse signal is less than the lowest value within the preset regulation range of the preset target peak power, then obtain the target pulse energy value corresponding to the initial optical pulse signal according to the preset target peak power;

[0026] Determine the pump input energy of the MOPA amplification structure according to the target pulse energy value and the pump source conversion efficiency of the MOPA amplification structure;

[0027] Based on the pump input energy, perform amplitude amplification on the initial optical pulse signal to obtain the target optical pulse signal.

[0028] In one embodiment, in the step of determining the pump input energy of the MOPA amplification structure according to the target pulse energy value and the pump source conversion efficiency of the MOPA amplification structure, it includes:

[0029] Calculate the pump input energy according to the following formula: E = ∫PdΔt / η, where E is the pump input energy, ∫PdΔt is the target pulse energy value, Δt is the pulse width, P is the instantaneous power of the target optical pulse signal within one pulse width, and η is the pump source conversion efficiency.

[0030] In a second aspect, the present invention proposes a laser marking bitmap system, which includes:

[0031] A control terminal for obtaining a preset target peak power, multiple gray values in the to-be-engraved pattern, and the pulse width corresponding to each gray value;

[0032] A pulse processor for generating optical pulse signals corresponding to each gray value according to the pulse width corresponding to each gray value and the preset target peak power;

[0033] A laser scanner for marking a target workpiece according to each target optical pulse signal.

[0034] In a third aspect, the present invention proposes an electronic device, including a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, it implements the laser marking bitmap method as in the first aspect.

[0035] In a fourth aspect, the present invention proposes a computer-readable storage medium, which stores a computer program, and when the computer program is executed by the processor, it implements the laser marking bitmap method as in the first aspect.

[0036] The laser marking bitmap method, system, laser, and computer-readable storage medium disclosed by the present invention obtain a preset target peak power, multiple gray values in the to-be-engraved pattern, and the pulse width corresponding to each gray value; generate optical pulse signals corresponding to each gray value according to the pulse width corresponding to each gray value and the preset target peak power; and mark a target workpiece according to each target optical pulse signal. In this way, bitmap marking is performed by using the pulse width of the output optical pulse signal corresponding to different gray values in the to-be-engraved pattern, and the peak power output during the pulse width modulation process always remains relatively stable, avoiding the switching of the optical pulse peak power, but directly switching the optical pulse width, that is, the action time of the optical pulse on the workpiece material, thereby eliminating the transition pulse generated during the peak power switching, and at the same time ensuring that the optical pulse signal has the same action process with each workpiece pixel point, so as to ensure the relative stability of the laser marking bitmap process and avoid the generation of color difference. Description of the Drawings

[0037] To more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as limiting the protection scope of the present invention. In each drawing, similar components are numbered similarly.

[0038] Figure 1 Fig. 4 shows a schematic flowchart of the laser marking bitmap method proposed in this embodiment;

[0039] Figure 2 Fig. 8 shows another schematic flowchart of the laser marking bitmap method proposed in this embodiment;

[0040] Figure 3 Fig. 12 shows a schematic structural diagram of the laser marking bitmap system proposed in this embodiment.

[0041] Explanation of the attached drawing reference numerals:

[0042] 300 - Laser marking bitmap system; 301 - Control terminal; 302 - Pulse processor; 303 - Laser scanner. Detailed implementation manners

[0043] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments.

[0044] Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but only represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present invention.

[0045] In the following text, the terms "including", "having" and their cognates that can be used in various embodiments of the present invention are only intended to represent specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be construed as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or increasing the possibility of one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.

[0046] In addition, the terms "first", "second", "third", etc. are only used for differential description and cannot be understood as indicating or implying relative importance.

[0047] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention pertain. Terms (such as those defined in a commonly used dictionary) will be interpreted as having the same meaning as their contextual meaning in the relevant technical field and will not be interpreted as having an idealized or overly formal meaning unless clearly defined in various embodiments of the present invention.

[0048] Embodiment 1

[0049] An embodiment of the present disclosure provides a laser marking bitmap method, which is used to ensure that each light pulse has the same pulse peak power when the laser marks pixel points on a target workpiece, thereby avoiding the switching of the light pulse peak power and directly switching the pulse width, that is, the action time of the laser and the workpiece material, and further eliminating the transition pulse generated during the peak power switching, and improving the clarity of the bitmap pattern.

[0050] Please refer to Figure 1 , the laser marking bitmap method includes steps S101 to S104, and the following will explain each step in detail.

[0051] Step S101, obtain a preset target peak power, multiple gray values in the to-be-marked pattern, and the pulse width corresponding to each gray value.

[0052] In this embodiment, by performing calculation encoding on the to-be-marked pattern, the gray values of different colors in the to-be-marked pattern are obtained, and the pulse width Δt corresponding to each gray value is obtained. Wherein, the to-be-marked pattern is the bitmap pattern of the target workpiece after expected marking; the time scale of the pulse width Δt is nanosecond or below, and the value of the pulse width Δt can be used to control and generate the pulse signal in the subsequent steps.

[0053] In addition, a target peak power also needs to be obtained, and the target peak power is a preset value. The power of the light pulse signal during laser marking can be controlled by the preset target peak power, so that the laser peak power remains relatively stable during the laser marking process, avoiding the color level error caused by the switching of the laser peak power.

[0054] It should be noted that since the gray value and the pulse width are not directly related in the conventional sense, to obtain the pulse width corresponding to each gray value, a specific application scenario or application relationship needs to be assumed. For example, a specific application scenario can be that when the gray value exceeds a certain threshold, a pulse with a fixed width is generated; the higher the gray value, the longer the pulse width may be.

[0055] In a specific embodiment, step S101 includes: obtaining the material damage threshold parameter of the target workpiece; setting the preset target peak power according to the material damage threshold parameter.

[0056] In this embodiment, in the material processing technology in the form of laser processing, it is crucial to ensure that the target workpiece is not excessively damaged during the processing. To achieve this goal, it is first necessary to understand the material damage threshold parameters of the target workpiece and set appropriate preset target peak powers accordingly.

[0057] During laser processing, the laser energy acting on the target workpiece should be set within a certain safety margin below the material damage threshold. The size of this margin depends on specific processing requirements and process conditions, as well as the sensitivity of the workpiece material to damage. Generally speaking, in order to ensure processing quality and workpiece integrity, a general range of peak powers and a general range of pulse width ranges are usually set, and then a relatively reasonable peak power is selected from the general range of peak powers as the target peak power. More specifically, in setting the target peak power for the target workpiece, multiple laser parameter combinations are set for the target workpiece, and then appropriate parameter combinations, parameter ranges, and other data are selected according to the marking process effect.

[0058] In a specific embodiment, step S101 includes: establishing a grayscale pulse width mapping set, where the grayscale pulse width mapping set includes the mapping relationship between preset grayscale values and preset pulse widths; extracting the grayscale values corresponding to different colors in the to-be-marked pattern; and determining the pulse widths corresponding to each grayscale value according to the grayscale pulse width mapping set.

[0059] In this embodiment, first, a grayscale pulse width mapping set is established. The correspondence between the preset pulse width and the preset grayscale value is usually set according to the characteristics of the material. A commonly used setting scheme is that 1 ns to 255 ns corresponds to 255 to 1 grayscale values.

[0060] Furthermore, if the to-be-marked pattern is in color, it is necessary to first convert the color to-be-marked pattern into a grayscale image; then extract the grayscale values of different colors from the grayscale image. In the grayscale image, each pixel point has a grayscale value representing its brightness. Since the to-be-marked pattern may contain areas of different colors, although the colors are no longer distinguished in the converted grayscale image, their brightness may be different. Therefore, multiple grayscale values of different brightness levels can be extracted by analyzing the grayscale image. This can be achieved by setting different thresholds or using image segmentation techniques.

[0061] Furthermore, search for the pulse widths corresponding to each grayscale value from the preset mapping set for the generation of subsequent pulse signals.

[0062] In a specific embodiment, in the step of establishing the grayscale pulse width mapping set, it includes: setting a pulse width range according to the material damage threshold parameters of the target workpiece; and setting the mapping relationship between the preset grayscale value and the preset pulse width according to the preset grayscale value range and the pulse width range.

[0063] In this embodiment, in the industrial application of laser processing, setting an appropriate pulse width is crucial for controlling the processing quality, reducing material damage, and improving processing efficiency. This process typically involves finely adjusting the pulse width according to the material properties of the target workpiece, especially its damage threshold parameters; similarly, when finely adjusting the pulse width, an appropriate pulse width time is selected within the previously set approximate pulse width time range. Further, a mapping relationship between the preset gray value and the preset pulse width is set according to the preset gray value range and the pulse width range.

[0064] It should be noted that the mapping relationship can be linear or non-linear, depending on the application requirements. For example, a lower gray value may correspond to a longer pulse width, while a higher gray value corresponds to a shorter pulse width. In other ways, multiple gray value ranges can also be set, corresponding to stepped pulse widths.

[0065] Step S102, generate target optical pulse signals corresponding to each gray value according to the pulse width corresponding to each gray value and the preset target peak power.

[0066] In this embodiment, a pulse processor can be used to generate target optical pulse signals corresponding to each gray value according to the pulse width corresponding to each gray value and the preset target peak power, so that the pulse width of each optical pulse signal corresponds to the gray value. By changing the optical pulse width, the response to different gray values in the to-be-engraved pattern can be achieved. Among them, the pulse width determines the time length of the laser acting on the target workpiece, thereby affecting the depth or brightness of the marking effect, and the peak power of the target optical pulse signal is within a certain range based on the preset target peak power, so as to ensure that each pixel point has the same interaction process when the laser interacts with the material, and avoid color difference in the final pattern caused by non-linear color scale distribution due to different interaction processes.

[0067] In a specific embodiment, step S102 includes: generating electrical pulse signals corresponding to each gray value based on the pulse width corresponding to each gray value; controlling the seed source laser to output initial optical pulse signals corresponding to each gray value based on each electrical pulse signal; if the peak power of the initial optical pulse signal is within the preset regulation range of the preset target peak power, then determine the initial optical pulse signal as the target optical pulse signal.

[0068] In this embodiment, in order to more precisely control the pulse width, electrical pulse signals corresponding to each gray value may be generated first according to the pulse width corresponding to each gray value; since the electrical pulse signals cannot directly act on the target workpiece, then each electrical pulse signal corresponding to each gray value is converted into an optical pulse signal corresponding to each gray value by a seed source laser. If the peak power of the initial optical pulse signal is within the preset regulation range of the preset target peak power, the initial optical pulse signal is determined as the target optical pulse signal, and there is no need to adjust the initial optical pulse signal any further to make its peak power reach within the preset regulation range of the preset target peak power.

[0069] Exemplarily, an electrical pulse generation circuit generates electrical pulse signals related to each gray value, wherein the electrical pulse generation circuit may be a pulse signal generator based on a Field Programmable Gate Array (FPGA).

[0070] Further, the electrical pulse signal can be converted into an optical pulse signal by a semiconductor sub-source laser. Among them, by using the electrical pulse signal as the modulation signal of the semiconductor seed source laser for amplitude modulation, an optical pulse signal can be obtained. The obtained optical pulse signal after modulation contains the pulse width information corresponding to the electrical pulse signal, that is, the gray value data in the pattern to be marked.

[0071] Please refer to Figure 2 , in a specific embodiment, step S102 further includes steps S201 to S203, and the following is a detailed description of each step.

[0072] Step S201, if the peak power of the initial optical pulse signal is less than the lowest value within the preset regulation range of the preset target peak power, obtain the target pulse energy value of the target optical pulse signal according to the preset target peak power.

[0073] In this embodiment, if the peak power of the initial optical pulse signal is less than the lowest value within the preset regulation range of the preset target peak power, it can be known that the workpiece action process of the initial optical pulse signal is different from that of other target optical pulse signals, which will lead to non-linear color scale distribution. Therefore, it is necessary to obtain the target pulse energy value corresponding to the pulse width of the initial optical pulse signal according to the preset target peak power for subsequent amplification of the pulse signal.

[0074] Step S202, determine the pump input energy of the MOPA amplification structure according to the target pulse energy value and the pump source conversion efficiency of the MOPA amplification structure.

[0075] In this embodiment, the Master Oscillator Power-Amplifier (MOPA) structure is a technology used to increase the laser pulse energy and average output power. It couples a seed signal light with high beam quality and pump light into a double-clad fiber for amplification, thereby achieving high-power amplification of the seed light source. The pump source conversion efficiency refers to the ratio of the pump light energy converted into laser energy. For each initial optical pulse signal corresponding to different pulse widths, the quotient of the target pulse energy value corresponding to the initial optical pulse signal and the pump source conversion efficiency is used as the pump input energy corresponding to the initial optical pulse signal in the MOPA amplification structure, the pump input energy.

[0076] Step S203: Based on the pump input energy, amplify the amplitude of the initial optical pulse signal to obtain a target optical pulse signal.

[0077] In this embodiment, the pump input energy provides an energy source in the MOPA amplification structure, so that the initial optical pulse signal can be amplified in amplitude by absorbing the corresponding pump input energy to obtain the target optical pulse signal corresponding to the initial optical pulse signal.

[0078] In a specific embodiment, in the step of determining the pump input energy of the MOPA amplification structure according to the target pulse energy value and the pump source conversion efficiency of the MOPA amplification structure, it includes: calculating the pump input energy according to the following formula: E = ∫PdΔt / η, where E is the pump input energy, ∫PdΔt is the target pulse energy value, Δt is the pulse width, P is the instantaneous power of the target optical pulse signal within one pulse width, and η is the pump source conversion efficiency.

[0079] In this embodiment, by integrating the instantaneous power of the target optical pulse signal within the pulse width through ∫PdΔt, the target pulse energy value corresponding to this pulse width is obtained, and then the quotient of the target pulse energy value and the pump source conversion efficiency is calculated to obtain the pump input energy corresponding to this pulse width. This pump input energy is used to amplify the initial optical pulse signal corresponding to this pulse width into a target optical pulse signal.

[0080] Exemplarily, for each initial optical pulse signal, obtain the first function relationship between the initial instantaneous power and the pulse width corresponding to the initial optical pulse signal; determine the amplification factor according to the initial peak power and the preset target peak power; obtain the second function relationship according to the first function relationship and the amplification factor, where the second function relationship is the function relationship between the target instantaneous power and the pulse width corresponding to the target optical pulse signal; based on ∫PdΔt, calculate the integral of the target instantaneous power with respect to the pulse width according to the second function relationship to obtain the target pulse energy value.

[0081] Step S103: Mark the target workpiece according to each target optical pulse signal.

[0082] In this embodiment, the target optical pulse signal at this time maintains the pulse width of the electrical pulse signal. That is, the finally output laser beam contains bitmap gray level information, thereby realizing the marking of the bitmap. And the target peak power of each optical pulse signal always remains relatively stable, avoiding the switching of the laser peak power. Instead, the pulse width of the laser is directly switched, that is, the action time of the optical pulse on the workpiece material, eliminating the transient pulse generated during the switching of the peak power, and improving the clarity of the bitmap pattern. At the same time, ensure that the optical pulse signal has the same action process with each workpiece pixel point, thereby ensuring the relative stability of the laser marking bitmap process and avoiding the generation of color differences.

[0083] Exemplarily, the amplified optical pulse signals with different pulse width Δt information can be deflected to the corresponding positions of the target workpiece through the laser scanning element, so as to realize the correspondence between the amplified optical pulse signals with different pulse width Δt and different gray values in the pattern to be marked. At the same time, a focusing element is also required to reduce the size of the pixel points in the pattern to be marked, improve the resolution, and at the same time increase the energy density of the light spot acting on the surface of the workpiece material. Among them, the laser scanning element can usually be realized by a galvanometer, and the focusing element can be a focusing lens.

[0084] The laser marking bitmap method proposed in this embodiment obtains the preset target peak power, multiple gray values in the pattern to be marked, and the pulse width corresponding to each gray value; generates the optical pulse signal corresponding to each gray value according to the pulse width corresponding to each gray value and the preset target peak power; marks the target workpiece according to each target optical pulse signal. In this way, the bitmap marking is carried out by using the pulse width of the output optical pulse signal corresponding to different gray values in the pattern to be marked, and the peak power output during the pulse width modulation process always remains relatively stable, avoiding the switching of the optical pulse peak power. Instead, the optical pulse width is directly switched, that is, the action time of the optical pulse on the workpiece material, thereby eliminating the transient pulse generated during the switching of the peak power, and at the same time ensuring that the optical pulse signal has the same action process with each workpiece pixel point, thereby ensuring the relative stability of the laser marking bitmap process and avoiding the generation of color differences.

[0085] Embodiment 2

[0086] In addition, an embodiment of the present disclosure provides a laser marking bitmap system 300. Please refer to Figure 3 , the system includes:

[0087] A control terminal 301, configured to obtain a preset target peak power, multiple gray values in the pattern to be marked, and the pulse width corresponding to each gray value;

[0088] A pulse processor 302, configured to generate optical pulse signals corresponding to respective gray values according to the pulse widths corresponding to the respective gray values and a preset target peak power;

[0089] A laser scanner 303, configured to mark a target workpiece according to the respective target optical pulse signals.

[0090] Optionally, a control terminal 301 is further configured to obtain a material damage threshold parameter of the target workpiece; and set the preset target peak power according to the material damage threshold parameter.

[0091] Optionally, the control terminal 301 is further configured to establish a gray-scale pulse-width mapping set, where the gray-scale pulse-width mapping set includes the mapping relationship between a preset gray value and a preset pulse width; extract the gray values corresponding to different colors in the to-be-marked pattern; and determine the pulse widths corresponding to the respective gray values according to the gray-scale pulse-width mapping set.

[0092] Optionally, the control terminal 301 is further configured to set a pulse width range according to the material damage threshold parameter of the target workpiece; and set the mapping relationship between the preset gray value and the preset pulse width according to the preset gray value range and the pulse width range.

[0093] Optionally, the pulse processor 302 includes an electrical pulse generation circuit and a semiconductor seed source laser.

[0094] The electrical pulse generation circuit is configured to generate electrical pulse signals corresponding to the respective gray values based on the pulse widths corresponding to the respective gray values;

[0095] The semiconductor seed source laser is configured to output initial optical pulse signals corresponding to the respective gray values based on the respective electrical pulse signals;

[0096] The control terminal 301 is further configured to, if the peak power of the initial optical pulse signal is within a preset regulation range of the preset target peak power, determine the initial optical pulse signal as the target optical pulse signal.

[0097] Optionally, the control terminal 301 is further configured to, if the peak power of the initial optical pulse signal is less than the lowest value within the preset regulation range of the preset target peak power, obtain a target pulse energy value corresponding to the initial optical pulse signal according to the preset target peak power; and determine the pump input energy of the MOPA amplification structure according to the target pulse energy value and the pump source conversion efficiency of the MOPA amplification structure.

[0098] The pulse processor 302 further includes a MOPA amplification structure, and the MOPA amplification structure is configured to perform amplitude amplification on the initial optical pulse signal based on the pump input energy to obtain the target optical pulse signal.

[0099] Optionally, the control terminal 301 is further configured to calculate the pump input energy according to the following formula: E = ∫PdΔt / η, where E is the pump input energy, ∫PdΔt is the target pulse energy value, Δt is the pulse width, P is the instantaneous power of the target optical pulse signal within a pulse width, and η is the pump source conversion efficiency.

[0100] The system provided by the embodiments of the present disclosure can execute the steps of the laser marking bitmap method provided in Embodiment 1. To avoid repetition, it will not be elaborated here.

[0101] The laser marking bitmap system proposed in this embodiment obtains a preset target peak power, multiple gray values in the to-be-marked pattern, and the pulse width corresponding to each gray value; generates optical pulse signals corresponding to each gray value according to the pulse width corresponding to each gray value and the preset target peak power; and marks the target workpiece according to each target optical pulse signal. In this way, bitmap marking is performed by using the pulse width of the output optical pulse signal corresponding to different gray values in the to-be-marked pattern, and the peak power output during the pulse width modulation process always remains relatively stable, avoiding the switching of the optical pulse peak power, but directly switching the optical pulse width, that is, the action time of the optical pulse and the workpiece material, thereby eliminating the transition pulse generated during the peak power switching, and at the same time ensuring that the optical pulse signal has the same action process for each workpiece pixel point, thus ensuring the relative stability of the laser marking bitmap process and avoiding the generation of color difference.

[0102] Embodiment 3

[0103] In addition, the embodiments of the present disclosure provide an electronic device, including a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the laser marking bitmap method of Embodiment 1 is implemented.

[0104] The device provided by the embodiments of the present disclosure can execute the steps of the laser marking bitmap method provided in Embodiment 1. To avoid repetition, it will not be elaborated here.

[0105] Embodiment 4

[0106] The embodiments of the present disclosure propose a computer-readable storage medium, which stores a computer program, and when the computer program is executed by the processor, the laser marking bitmap method of Embodiment 1 of this embodiment is implemented.

[0107] In this embodiment, the computer-readable storage medium can be a read-only memory (ROM for short), a random access memory (RAM for short), a magnetic disk, or an optical disc, etc.

[0108] The computer-readable storage medium provided in this embodiment can implement the laser marking bitmap method provided in Embodiment 1. To avoid repetition, it will not be elaborated here.

[0109] In all the examples shown and described here, any specific value should be construed as merely exemplary, not as a limitation. Therefore, other examples of the exemplary embodiments may have different values.

[0110] It should be noted that like reference numerals and letters denote like items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0111] The above embodiments merely represent several implementation manners of the present invention. The description thereof is relatively specific and detailed, but it should not be construed as a limitation to the scope of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can be made, and these all belong to the protection scope of the present invention.

Claims

1. A laser marking bitmap method, characterized in that, The method includes: Obtaining a preset target peak power, a plurality of gray values in the to-be-engraved pattern, and pulse widths corresponding to each of the gray values; Generating target optical pulse signals corresponding to each of the gray values according to the pulse widths corresponding to each of the gray values and the preset target peak power; Marking a target workpiece according to each of the target optical pulse signals; In the step of generating optical pulse signals corresponding to each of the gray values according to the pulse widths corresponding to each of the gray values and the preset target peak power, it includes: Generating electrical pulse signals corresponding to each of the gray values based on the pulse widths corresponding to each of the gray values; Based on each of the electrical pulse signals, controlling a seed source laser to output initial optical pulse signals corresponding to each of the gray values; If the peak power of the initial optical pulse signal is less than the lowest value within the preset regulation range of the preset target peak power, obtaining a target pulse energy value corresponding to the initial optical pulse signal according to the preset target peak power; Determining the pump input energy of the MOPA amplification structure according to the target pulse energy value and the pump source conversion efficiency of the MOPA amplification structure; Amplifying the amplitude of the initial optical pulse signal based on the pump input energy to obtain the target optical pulse signal.

2. The laser marking bitmap method according to claim 1, wherein In the step of obtaining a preset target peak power, a plurality of gray values in the to-be-engraved pattern, and pulse widths corresponding to each of the gray values, it includes: Obtaining a material damage threshold parameter of the target workpiece; Setting the preset target peak power according to the material damage threshold parameter.

3. The laser marking bitmap method according to claim 1, characterized in that, In the step of obtaining a preset target peak power, a plurality of gray values in the to-be-engraved pattern, and pulse widths corresponding to each of the gray values, it includes: Establishing a gray value - pulse width mapping set, where the gray value - pulse width mapping set includes the mapping relationship between preset gray values and preset pulse widths; Extracting gray values corresponding to different colors in the to-be-engraved pattern; Determining the pulse widths corresponding to each of the gray values according to the gray value - pulse width mapping set.

4. The laser marking bitmap method according to claim 3, wherein In the step of establishing the gray value - pulse width mapping set, it includes: Setting a pulse width range according to the material damage threshold parameter of the target workpiece; Setting the mapping relationship between the preset gray value and the preset pulse width according to the preset gray value range and the pulse width range.

5. The laser marking bitmap method according to claim 1, characterized in that, In the step of generating optical pulse signals corresponding to each of the gray values according to the pulse widths corresponding to each of the gray values and the preset target peak power, it includes: If the peak power of the initial optical pulse signal is within the preset regulation range of the preset target peak power, determining the initial optical pulse signal as the target optical pulse signal.

6. The laser marking bitmap method according to claim 1, characterized in that, In the step of determining the pump input energy of the MOPA amplification structure according to the target pulse energy value and the pump source conversion efficiency of the MOPA amplification structure, it includes: Calculating the pump input energy according to the following formula: E = ∫PdΔt / η, where E is the pump input energy, ∫PdΔt is the target pulse energy value, Δt is the pulse width, P is the instantaneous power of the target optical pulse signal within one pulse width, and η is the pump source conversion efficiency.

7. A laser marking bitmap system, characterized in that, The system includes: A control terminal, configured to obtain a preset target peak power, a plurality of gray values in a to-be-marked pattern, and pulse widths corresponding to the gray values; A pulse processor, configured to generate target optical pulse signals corresponding to the gray values according to the pulse widths corresponding to the gray values and the preset target peak power; A laser scanner, configured to mark a target workpiece according to the target optical pulse signals; The pulse processor is further configured to generate electrical pulse signals corresponding to the gray values based on the pulse widths corresponding to the gray values; control a seed source laser to output initial optical pulse signals corresponding to the gray values based on the electrical pulse signals; if a peak power of the initial optical pulse signal is less than a lowest value within a preset regulation range of the preset target peak power, obtain a target pulse energy value corresponding to the initial optical pulse signal according to the preset target peak power; determine a pump input energy of a MOPA amplification structure according to the target pulse energy value and a pump source conversion efficiency of the MOPA amplification structure; and amplify an amplitude of the initial optical pulse signal based on the pump input energy to obtain the target optical pulse signal.

8. An electronic device, characterized in that, It includes a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the laser marking bitmap method according to any one of claims 1 to 7 is implemented.

9. A computer-readable storage medium, characterized in that, It stores a computer program, and when the computer program is executed by a processor, the laser marking bitmap method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Pulse laser three-dimensional engraving method

    CN105057892A

  • Three-dimensional laser bitmap marking method and device, and computer readable storage medium

    CN112108774A