Bitmap laser marking method and system, electronic equipment and readable storage medium
By presetting the mapping relationship between the target peak power and pulse width, the target optical pulse signal is generated and the pulse width is switched, which solves the problem of deterioration of clarity caused by transition pulses in laser marking technology, and achieves more stable optical pulse effect and high-definition Bitmap marking.
Patent Information
- Application Number
- CN202411515067.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2044-10-28
AI Technical Summary
In the existing laser marking technology, transition pulses are easily generated when the laser output power corresponds to different grayscale values, resulting in a decrease in the image clarity of the marking bitmap.
By obtaining the pulse width corresponding to the preset target peak power and each gray value, a target optical pulse signal is generated, and the target workpiece is marked according to these signals, and the pulse width is directly switched instead of the peak power to avoid switching of peak power.
The transition pulses during peak power switching are eliminated, the clarity of the bitmap pattern is improved, and the optical pulse signal is consistent with the action process of the workpiece pixel points is avoided, thereby avoiding the occurrence of chromatic aberration.
Smart Images

Figure CN119115232A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of laser marking, and in particular to a laser marking bitmap method, system, electronic equipment and readable storage medium. Background Art
[0002] With the continuous development of laser marking technology, the field of laser marking has also begun to pursue the requirements of high-definition, lossless, and distortion-free clarity of marking graphics. A bitmap is a pixel map composed of multiple pixels, and a single pixel contains a certain color grayscale. The key difficulty of laser marking bitmaps lies in how to achieve a high-speed response correspondence between a certain output beam characteristic of the laser and different grayscale values.
[0003] However, in the current prior art, different output powers of the laser correspond to different grayscale values. The change of output power is likely to generate transition pulses, thereby causing the image clarity of the marking bitmap to decrease. Summary of the invention
[0004] In view of this, the purpose of the present invention is to overcome the shortcomings of the prior art and to provide a laser marking bitmap method, system, electronic device and readable storage medium to ensure that the light pulses have the same pulse peak power when the laser marks pixels on the target workpiece, thereby avoiding the switching of the peak power of the light pulse and directly switching the pulse width, that is, the action time of the laser and the workpiece material, thereby eliminating the transition pulses generated when the peak power is switched, 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 provides a method for laser marking a bitmap, the method comprising:
[0007] Obtaining a preset target peak power, multiple grayscale values in the pattern to be marked, and the pulse width corresponding to each grayscale value;
[0008] Generate 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;
[0009] The target workpiece is marked according to each target optical pulse signal.
[0010] In one embodiment, the step of obtaining a preset target peak power, a plurality of grayscale values in a pattern to be marked, and a pulse width corresponding to each grayscale value includes:
[0011] Obtaining material damage threshold parameters of the target workpiece;
[0012] According to the material damage threshold parameters, a preset target peak power is set.
[0013] In one embodiment, the step of obtaining a preset target peak power, a plurality of grayscale values in a pattern to be marked, and a pulse width corresponding to each grayscale value includes:
[0014] Establishing a grayscale pulse width mapping set, the grayscale pulse width mapping set including a mapping relationship between a preset grayscale value and a preset pulse width;
[0015] Extract the grayscale values corresponding to different colors in the graphics to be marked;
[0016] According to the grayscale pulse width mapping set, the pulse width corresponding to each grayscale value is determined.
[0017] In one embodiment, the step of establishing a grayscale pulse width mapping set includes:
[0018] The pulse width range is set according to the material damage threshold parameter of the target workpiece;
[0019] A mapping relationship between a preset gray value and a preset pulse width is set according to a preset gray value range and a pulse width range.
[0020] In one embodiment, 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 includes:
[0021] Based on the pulse width corresponding to each gray value, an electrical pulse signal corresponding to each gray value is generated;
[0022] Based on each electrical pulse signal, the seed source laser is controlled 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 a preset control range of the preset target peak power, the initial optical pulse signal is determined as the target optical pulse signal.
[0024] In one embodiment, 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 further includes:
[0025] If the peak power of the initial optical pulse signal is less than the lowest value within the preset control range of the preset target peak power, then obtaining a 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, the initial optical pulse signal is amplified to obtain the target optical pulse signal.
[0028] In one embodiment, 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 includes:
[0029] The pump input energy is calculated 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 provides a laser marking bitmap system, the system comprising:
[0031] The control end is used to obtain the preset target peak power, multiple grayscale values in the pattern to be marked, and the pulse width corresponding to each grayscale value;
[0032] A pulse processor, used to generate an optical pulse signal corresponding to each gray value according to the pulse width corresponding to each gray value and a preset target peak power;
[0033] The laser scanner is used to mark the target workpiece according to each target optical pulse signal.
[0034] In a third aspect, the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the laser marking bitmap method of the first aspect is implemented.
[0035] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, which implements the laser marking bitmap method of the first aspect when the computer program is executed by a processor.
[0036] The laser marking bitmap method, system, laser and computer-readable storage medium disclosed in the present invention obtain preset target peak power, multiple grayscale values in the graphics to be marked, and the pulse width corresponding to each grayscale value; generate light pulse signals corresponding to each grayscale value according to the pulse width corresponding to each grayscale value and the preset target peak power; mark the target workpiece according to each target light pulse signal. In this way, the pulse width of the output light pulse signal is used to correspond to the different grayscale values in the graphics to be marked to perform bitmap marking, and the peak power output during the pulse width modulation process always remains relatively stable, avoiding the switching of the peak power of the light pulse, but directly switching the light pulse width, that is, the action time of the light pulse and the workpiece material, thereby eliminating the transition pulse generated when the peak power is switched, and at the same time ensuring that the light pulse signal and each workpiece pixel have the same action process, thereby ensuring the relative stability of the laser marking bitmap process and avoiding the generation of color difference. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solution of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope of protection of the present invention. In each of the drawings, similar components are numbered similarly.
[0038] Figure 1 A schematic diagram of a process of the laser marking bitmap method proposed in this embodiment is shown;
[0039] Figure 2 Another schematic diagram of the process of the laser marking bitmap method proposed in this embodiment is shown;
[0040] Figure 3 A schematic structural diagram of the laser marking bitmap system proposed in this embodiment is shown.
[0041] Description of the accompanying drawings:
[0042] 300 - laser marking bitmap system; 301 - control terminal; 302 - pulse processor; 303 - laser scanner. DETAILED DESCRIPTION
[0043] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0044] The components of the embodiments of the present invention generally described and shown in the drawings herein may be arranged and designed in a variety of 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 merely 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 work are within the scope of protection of the present invention.
[0045] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present invention, are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.
[0046] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.
[0047] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present invention belong. Terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present invention.
[0048] Example 1
[0049] The disclosed embodiment provides a laser marking bitmap method for ensuring that the light pulses have the same pulse peak power when the laser marks pixel points on the target workpiece, thereby avoiding the switching of the peak power of the light pulses and directly switching the pulse width, that is, the action time of the laser with the workpiece material, thereby eliminating the transition pulses generated when the peak power is switched, and improving the clarity of the bitmap graphics.
[0050] See also Figure 1 The laser marking bitmap method includes steps S101 to S104, and each step is described in detail below.
[0051] Step S101, obtaining a preset target peak power, a plurality of gray values in a pattern to be marked, and a pulse width corresponding to each gray value.
[0052] In this embodiment, the grayscale values of different colors in the pattern to be marked are calculated and encoded, and the pulse width Δt corresponding to each grayscale value is obtained. The pattern to be marked is a bitmap pattern of the target workpiece after marking; the time scale of the pulse width Δt is nanoseconds or less, and the value of the pulse width Δt can be used to control and generate pulse signals for subsequent steps.
[0053] In addition, a target peak power needs to be obtained, which is a preset value. The preset target peak power can be used to control the optical pulse signal power during laser marking, so that the laser peak power always remains relatively stable during the laser marking process, avoiding the color scale error caused by switching the laser peak power.
[0054] It should be noted that, since grayscale values and pulse widths are not directly related in the conventional sense, obtaining the pulse width corresponding to each grayscale value requires assuming a specific application scenario or application relationship. For example, a specific application scenario may be to generate a pulse of fixed width when the grayscale value exceeds a certain threshold; the higher the grayscale value, the longer the pulse width may be.
[0055] In a specific embodiment, step S101 includes: obtaining a material damage threshold parameter of a target workpiece; and setting a 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 process. In order to achieve this goal, it is first necessary to understand the material damage threshold parameters of the target workpiece and set an appropriate preset target peak power 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 the specific processing requirements and process conditions, as well as the sensitivity of the workpiece material to damage. Generally speaking, in order to ensure the processing quality and workpiece integrity, an approximate range of peak power and an approximate range of pulse width time are usually set, and then a more reasonable peak power is selected from the approximate range of peak power as the target peak power. More specifically, in the target peak power setting for the target workpiece, a variety of laser parameter combinations will be set for the target workpiece, and then the appropriate parameter combination, parameter range and other data will be selected according to the marking process effect.
[0058] In a specific embodiment, step S101 includes: establishing a grayscale pulse width mapping set, the grayscale pulse width mapping set including a mapping relationship between a preset grayscale value and a preset pulse width; extracting grayscale values corresponding to different colors in the figure to be marked; and determining the pulse width 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 1ns-255ns to correspond to 255-1 grayscale values.
[0060] Furthermore, if the graphics to be marked are in color, the colored graphics to be marked must first be converted into a grayscale image; then the grayscale values of different colors must be extracted from the grayscale image. In a grayscale image, each pixel has a grayscale value, which represents its brightness. Since the graphics to be marked may contain areas of different colors, although the colors are no longer distinguished in the converted grayscale image, their brightness may be different, so 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, the pulse width corresponding to each gray value is searched from the preset mapping set for subsequent generation of pulse signals.
[0062] In a specific embodiment, the step of establishing a grayscale pulse width mapping set includes: setting a pulse width range according to a material damage threshold parameter of a target workpiece; and setting a mapping relationship between a preset grayscale value and a preset pulse width according to a preset grayscale value range and a pulse width range.
[0063] In this embodiment, in the laser processing industrial application, setting a suitable pulse width is crucial to controlling the processing quality, reducing material damage and improving processing efficiency. This process usually involves finely adjusting the pulse width according to the material properties of the target workpiece, especially its damage threshold parameter; similarly, when finely adjusting the pulse width, a suitable pulse width time is selected according to the previously set approximate pulse width time range. Further, the 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 nonlinear, depending on the application requirements. For example, a lower grayscale value may correspond to a longer pulse width, while a higher grayscale value corresponds to a shorter pulse width. In other methods, multiple grayscale value ranges can also be set to correspond to step-type pulse widths.
[0065] Step S102 , generating a target optical pulse signal corresponding to each grayscale value according to the pulse width corresponding to each grayscale value and a preset target peak power.
[0066] In this embodiment, the pulse processor can 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, so that the pulse width of each optical pulse signal corresponds to the grayscale value, and the response to different grayscale values in the pattern to be marked can be achieved by changing the optical pulse width. Among them, the pulse width determines the length of time the laser acts 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 when the laser interacts with the material, each pixel has the same action process, avoiding non-linear color distribution due to different action processes, resulting in color difference in the final pattern.
[0067] In a specific embodiment, step S102 includes: generating an electrical pulse signal corresponding to each grayscale value based on the pulse width corresponding to each grayscale value; based on each electrical pulse signal, controlling the seed source laser to output an initial light pulse signal corresponding to each grayscale value; if the peak power of the initial light pulse signal is within a preset control range of a preset target peak power, the initial light pulse signal is determined as the target light pulse signal.
[0068] In this embodiment, in order to more accurately control the pulse width, an electrical pulse signal corresponding to each gray value can be generated according to the pulse width corresponding to each gray value; since the electrical pulse signal cannot directly act on the target workpiece, the electrical pulse signal corresponding to each gray value is converted into an optical pulse signal corresponding to each gray value through a seed source laser. If the peak power of the initial optical pulse signal is within the preset control 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 so that its peak power reaches the preset control range of the preset target peak power.
[0069] Exemplarily, an electric pulse signal related to each grayscale value is generated by an electric pulse generating circuit, wherein the electric pulse generating circuit may be a pulse signal generator based on a Field Programmable Gate Array (FPGA).
[0070] Furthermore, the electrical pulse signal can be converted into an optical pulse signal by a semiconductor seed source laser. The optical pulse signal can be obtained by amplitude modulating the electrical pulse signal as the modulation signal of the semiconductor seed source laser. The optical pulse signal obtained 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] See also Figure 2 In a specific embodiment, step S102 also includes steps S201 to S203, and each step is described in detail below.
[0072] Step S201: if the peak power of the initial optical pulse signal is less than the lowest value within a preset control range of the preset target peak power, a target pulse energy value of the target optical pulse signal is obtained according to the preset target peak power.
[0073] In this embodiment, if the peak power of the initial light pulse signal is less than the lowest value within the preset control range of the preset target peak power, it can be known that the workpiece action process of the initial light pulse signal is different from the workpiece action process of other target light pulse signals, which will cause different color level distributions to be nonlinear. Therefore, it is necessary to obtain the target pulse energy value of the pulse width corresponding to the initial light pulse signal according to the preset target peak power to amplify the subsequent pulse signal.
[0074] Step S202, 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.
[0075] In this embodiment, the master oscillator power amplifier (MOPA) structure is a technology for improving the laser pulse energy and average output power. It achieves high-power amplification of the seed light source by coupling the seed signal light and the pump light with high beam quality into the double-clad optical fiber for amplification. The pump source conversion efficiency refers to the ratio of the pump light energy converted into laser energy. For the initial optical pulse signal corresponding to each different pulse width, 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, the initial optical pulse signal is amplitude-amplified 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 a target optical pulse signal corresponding to the initial optical pulse signal.
[0078] In a specific embodiment, 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 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 a pulse width, and η is the pump source conversion efficiency.
[0079] In this embodiment, the instantaneous power of the target optical pulse signal within the pulse width is integrated by ∫PdΔt to obtain the target pulse energy value corresponding to the pulse width, 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 the pulse width. The pump input energy is used to amplify the initial optical pulse signal corresponding to the pulse width into the target optical pulse signal.
[0080] Exemplarily, for each initial optical pulse signal, a first functional relationship between the initial instantaneous power and the pulse width corresponding to the initial optical pulse signal is obtained; the amplification factor is determined according to the initial peak power and the preset target peak power; a second functional relationship is obtained according to the first functional relationship and the amplification factor, wherein the second functional relationship is a functional relationship between the target instantaneous power and the pulse width corresponding to the target optical pulse signal; based on ∫PdΔt, the integral of the target instantaneous power with respect to the pulse width is calculated according to the second functional relationship to obtain the target pulse energy value.
[0081] Step S103, marking 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 final output laser beam contains the bitmap color scale information, thereby realizing the marking of the bitmap. In addition, the target peak power of each optical pulse signal always remains relatively stable, avoiding the switching of the laser peak power, but directly switching the laser pulse width, that is, the action time of the optical pulse and the workpiece material, eliminating the transition pulse generated when the peak power is switched, and improving the clarity of the bitmap graphics; at the same time, it ensures that the optical pulse signal and each workpiece pixel have the same action process, thereby ensuring the relative stability of the laser marking bitmap process and avoiding the generation of color difference.
[0083] Exemplarily, the amplified light pulse signals with different pulse widths Δt can be deflected to the corresponding positions of the target workpiece by the laser scanning element, so as to achieve the correspondence between the amplified light pulse signals with different pulse widths Δt and the different grayscale values in the pattern to be marked. At the same time, it is also necessary to cooperate with the focusing element to reduce the size of the pixel points in the pattern to be marked, improve the resolution, and 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 mirror.
[0084] The laser marking bitmap method proposed in this embodiment obtains a preset target peak power, multiple grayscale values in the figure to be marked, and the pulse width corresponding to each grayscale value; generates a light pulse signal corresponding to each grayscale value according to the pulse width corresponding to each grayscale value and the preset target peak power; and marks the target workpiece according to each target light pulse signal. In this way, the bitmap is marked by using the pulse width of the output light pulse signal to correspond to the different grayscale values in the figure to be marked, and the peak power output during the pulse width modulation process always remains relatively stable, avoiding the switching of the peak power of the light pulse, but directly switching the light pulse width, that is, the action time of the light pulse and the workpiece material, thereby eliminating the transition pulse generated when the peak power is switched, and at the same time ensuring that the light pulse signal and each workpiece pixel have the same action process, thereby ensuring the relative stability of the laser marking bitmap process and avoiding the generation of color difference.
[0085] Example 2
[0086] In addition, the present disclosure provides a laser marking bitmap system 300, see Figure 3 , the system comprises:
[0087] The control terminal 301 is used to obtain a preset target peak power, a plurality of gray values in the pattern to be marked, and a pulse width corresponding to each gray value;
[0088] A pulse processor 302, used to generate an optical pulse signal corresponding to each gray value according to the pulse width corresponding to each gray value and a preset target peak power;
[0089] The laser scanner 303 is used to mark the target workpiece according to each target optical pulse signal.
[0090] Optionally, the control end 301 is further used to obtain a material damage threshold parameter of the target workpiece; and set a preset target peak power according to the material damage threshold parameter.
[0091] Optionally, the control terminal 301 is also used to establish a grayscale pulse width mapping set, which includes a mapping relationship between preset grayscale values and preset pulse widths; extract grayscale values corresponding to different colors in the figure to be marked; and determine the pulse width corresponding to each grayscale value based on the grayscale pulse width mapping set.
[0092] Optionally, the control end 301 is further used to set the pulse width range according to the material damage threshold parameter of the target workpiece; and to 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 generating circuit and a semiconductor seed source laser.
[0094] An electric pulse generating circuit, for generating an electric pulse signal corresponding to each gray value based on a pulse width corresponding to each gray value;
[0095] A semiconductor seed source laser, used for outputting an initial optical pulse signal corresponding to each gray value based on each electrical pulse signal;
[0096] The control end 301 is further configured to determine the initial optical pulse signal as a target optical pulse signal if the peak power of the initial optical pulse signal is within a preset control range of a preset target peak power.
[0097] Optionally, the control end 301 is further used to obtain a target pulse energy value corresponding to the initial optical pulse signal according to the preset target peak power if the peak power of the initial optical pulse signal is less than the lowest value within the preset control range of 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 used to amplify the amplitude of the initial optical pulse signal based on the pump input energy to obtain a target optical pulse signal.
[0099] Optionally, the control end 301 is also used 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 in the embodiment of the present disclosure can execute the steps of the laser marking bitmap method provided in Example 1, which will not be described again to avoid repetition.
[0101] The laser marking bitmap system proposed in this embodiment obtains a preset target peak power, multiple grayscale values in the figure to be marked, and the pulse width corresponding to each grayscale value; generates a light pulse signal corresponding to each grayscale value according to the pulse width corresponding to each grayscale value and the preset target peak power; and marks the target workpiece according to each target light pulse signal. In this way, the pulse width of the output light pulse signal is used to correspond to the different grayscale values in the figure to be marked for bitmap marking, and the peak power output during the pulse width modulation process always remains relatively stable, avoiding the switching of the peak power of the light pulse, but directly switching the light pulse width, that is, the action time of the light pulse and the workpiece material, thereby eliminating the transition pulse generated when the peak power is switched, and at the same time ensuring that the light pulse signal and each workpiece pixel have the same action process, thereby ensuring the relative stability of the laser marking bitmap process and avoiding the generation of color difference.
[0102] Example 3
[0103] In addition, an embodiment of the present disclosure provides an electronic device, including a memory and a processor, wherein 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 in the embodiment of the present disclosure can execute the steps of the laser marking bitmap method provided in Example 1, which will not be described again to avoid repetition.
[0105] Example 4
[0106] The embodiment of the present disclosure provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the laser marking bitmap method of the embodiment 1 is implemented.
[0107] In this embodiment, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0108] The computer-readable storage medium provided in this embodiment can implement the laser marking bitmap method provided in Embodiment 1, and will not be described again here to avoid repetition.
[0109] In all examples shown and described herein, any specific values should be interpreted as merely exemplary and not as limiting, and thus other examples of the exemplary embodiments may have different values.
[0110] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0111] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present invention. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention.
Claims
1. A laser marking bitmap method, characterized in that: The method comprises: Obtaining a preset target peak power, a plurality of grayscale values in the pattern to be marked, and a pulse width corresponding to each of the grayscale values; Generate a target optical pulse signal corresponding to each grayscale value according to the pulse width corresponding to each grayscale value and the preset target peak power; The target workpiece is marked according to each of the target optical pulse signals.
2. The laser marking bitmap method according to claim 1, characterized in that: The step of obtaining a preset target peak power, a plurality of grayscale values in the pattern to be marked, and a pulse width corresponding to each of the grayscale values includes: Obtaining material damage threshold parameters of the target workpiece; The preset target peak power is set according to the material damage threshold parameter.
3. The laser marking bitmap method according to claim 1, characterized in that: The step of obtaining a preset target peak power, a plurality of grayscale values in the pattern to be marked, and a pulse width corresponding to each of the grayscale values includes: Establishing a grayscale pulse width mapping set, wherein the grayscale pulse width mapping set includes a mapping relationship between a preset grayscale value and a preset pulse width; Extracting grayscale values corresponding to different colors in the graphic to be marked; According to the grayscale pulse width mapping set, the pulse width corresponding to each grayscale value is determined.
4. The laser marking method according to claim 3, characterized in that: The step of establishing a grayscale pulse width mapping set includes: The pulse width range is set according to the material damage threshold parameter of the target workpiece; A mapping relationship between the preset gray value and the preset pulse width is set according to a preset gray value range and the pulse width range.
5. The laser marking bitmap method according to claim 1, characterized in that: The step of generating an optical pulse signal corresponding to each grayscale value according to the pulse width corresponding to each grayscale value and the preset target peak power includes: Based on the pulse width corresponding to each of the grayscale values, generating an electrical pulse signal corresponding to each of the grayscale values; Based on each of the electrical pulse signals, controlling the seed source laser to output an initial optical pulse signal corresponding to each of the grayscale values; If the peak power of the initial optical pulse signal is within the preset control range of the preset target peak power, the initial optical pulse signal is determined as the target optical pulse signal.
6. The laser marking method according to claim 5, characterized in that: The step of generating a target optical pulse signal corresponding to each grayscale value according to the pulse width corresponding to each grayscale value and the preset target peak power also includes: If the peak power of the initial optical pulse signal is less than the lowest value within the preset control range of the preset target peak power, then 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; Based on the pump input energy, the initial optical pulse signal is amplitude-amplified to obtain the target optical pulse signal.
7. The laser marking method according to claim 6, characterized in that: 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 includes: The pump input energy is calculated 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.
8. A laser marking bitmap system, characterized in that: The system comprises: A control terminal, used to obtain a preset target peak power, a plurality of grayscale values in the pattern to be marked, and a pulse width corresponding to each of the grayscale values; A pulse processor, used for 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; The laser scanner is used to mark the target workpiece according to each of the target optical pulse signals.
9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein 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.
10. A computer-readable storage medium, characterized in that: It stores a computer program, which, when executed by a processor, implements the laser marking bitmap method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Laser marking method, laser marking machine and laser marking system
CN104827781A
Pulse laser three-dimensional engraving method
CN105057892A
Laser surface machining method and system
CN111702326A
Three-dimensional laser bitmap marking method and device, and computer readable storage medium
CN112108774A
Laser marking method and device and storage medium
CN118720433A
