Marking control method, device and computer readable storage medium

By automatically generating and applying marking control information, the instability and inefficiency problems caused by the dependence of manual experience by existing marking methods is solved, and a more efficient and reliable marking process is achieved.

CN113313135BActive Publication Date: 2025-05-13FU TAI HUA IND SHENZHEN
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010120769.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-26
Publication Date
2025-05-13
Estimated Expiration
2040-02-26

AI Technical Summary

Technical Problem

The existing marking methods rely on the experience of operators, resulting in unstable marking yield, cumbersome debugging process and low efficiency.

Method used

By obtaining the marking information, marking control information is generated, including the XY axis feed information and marking parameter information of the marking machine, and the marking machine is automatically marked based on the product position information to reduce manual machine adjustment.

Benefits of technology

It improves the efficiency and yield of marking, reduces labor costs, saves debugging time, realizes automatic detection of marking effects and adjusts marking control information in a timely manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113313135B_ABST
    Figure CN113313135B_ABST
Patent Text Reader

Abstract

A marking control method includes: obtaining marking information, the marking information at least including a target image to be marked, characteristic information of a product to be marked, and a marking method; generating marking control information based on the marking information, the marking control information including XY axis feed information and marking parameter information of a marking machine; obtaining position information of a product to be marked; and controlling a marking machine to mark the product based on the position information of the product and the marking control information. The marking control method can automatically generate marking control information without manual machine adjustment, thereby improving marking efficiency and yield, reducing labor costs, and saving debugging time. The present invention also proposes a marking control device and a computer-readable storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of marking, and in particular to a marking control method, device and computer-readable storage medium. Background Art

[0002] In the assembly process of electronic devices and other products, it is often necessary to mark the products. Usually, before marking, it is necessary to make a marking film based on the image of the product, and then divide the marking area according to the image on the marking machine, set the marking program, and use the film to debug the marking parameters before batch marking can be carried out. However, the above marking method needs to rely on the operator's experience to adjust the machine, the marking yield is unstable, and the debugging process is cumbersome and the marking efficiency is low. Summary of the invention

[0003] In view of the above, it is necessary to propose a marking control method, device and computer-readable storage medium to improve marking efficiency and yield.

[0004] A first aspect of the present invention provides a marking control method, the marking control method comprising:

[0005] Acquire marking information, wherein the marking information at least includes a target image of the product to be marked, characteristic information of the product to be marked, and a marking method;

[0006] Generate marking control information according to the marking information, wherein the marking control information includes XY axis feed information and marking parameter information of the marking machine;

[0007] Get the location information of the product to be marked;

[0008] The marking machine is controlled to mark the product according to the position information of the product and the marking control information.

[0009] Furthermore, the step of “generating marking control information according to the marking information” specifically includes:

[0010] According to the target image and the marking range of the marking machine, at least one marking area is divided on the target image, and XY axis feed information of the marking machine is automatically generated according to the marking area; and

[0011] According to the characteristic information and marking method of the product, marking parameter information is generated through a preset marking parameter model, and the marking parameter information includes at least one of filling density, marking power, marking speed, Q type, marking angle and marking times.

[0012] Furthermore, the characteristic information of the product to be marked includes at least the material, material thickness and surface treatment method of the product.

[0013] Furthermore, after marking the product, the method further comprises the steps of:

[0014] Acquire the first actual image of the product marking surface;

[0015] Comparing the first actual image with the target image to determine whether the first actual image is abnormal;

[0016] If yes, first abnormal information is generated, and the XY axis feed information is adjusted according to the first abnormal information.

[0017] Furthermore, the step of “adjusting the XY axis feed information according to the first abnormal information” is specifically as follows:

[0018] Calculating first deviation data of a marking position in the first actual image;

[0019] Calculating parameters of XY axis feed information to be compensated according to the first deviation data;

[0020] The XY axis feed information is adjusted according to the parameters of the XY axis feed information to be compensated.

[0021] Furthermore, after generating the first abnormal information, the method further comprises the steps of:

[0022] Determine whether the first abnormal information appears consecutively for a preset number of times;

[0023] If not, then record the first abnormal information;

[0024] If yes, the XY axis feed information is adjusted according to the first abnormal information.

[0025] Further, when it is determined that the first actual image has no abnormality, the method further includes:

[0026] Acquire a second actual image of the product away from the marking surface;

[0027] Comparing the second actual image with a preset standard image to determine whether the second actual image is abnormal;

[0028] If yes, second abnormal information is generated, and the marking parameter information is adjusted according to the second abnormal information.

[0029] Furthermore, the step of “adjusting the marking parameter information according to the second abnormal information” is specifically as follows:

[0030] Calculating second deviation data of the convex hull in the second actual image;

[0031] Calculating the marking parameters to be compensated according to the second deviation data;

[0032] The marking parameter information is adjusted according to the marking parameter to be compensated.

[0033] A second aspect of the present invention provides a marking control device, including a processor and a memory, wherein the memory stores a plurality of computer programs, and the processor is used to implement the steps of the above-mentioned marking control method when executing the computer programs stored in the memory.

[0034] A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a plurality of instructions, and the plurality of instructions can be executed by one or more processors to implement the steps of the above-mentioned marking control method.

[0035] The above-mentioned marking control method, device and computer-readable storage medium can obtain marking information, automatically generate marking control information based on the marking information, and control the marking machine to automatically mark based on the product location information and marking control information. There is no need for manual machine adjustment, which improves the marking efficiency and yield, reduces labor costs, and saves debugging time. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a schematic diagram of the application environment of the marking control device of one embodiment of the present invention.

[0037] Figure 2 It is a schematic diagram of the architecture of a marking control device according to an embodiment of the present invention.

[0038] Figure 3 It is a functional module diagram of a marking control program according to an embodiment of the present invention.

[0039] Figure 4 It is a flow chart of a marking control method according to an embodiment of the present invention.

[0040] Figure 5 It is a flow chart of a marking control method according to another embodiment of the present invention.

[0041] Main component symbols

[0042] Marking system 1

[0043] Marking control device 10

[0044] Marking machine 20

[0045] The first image taking device 30

[0046] The second image taking device 40

[0047] Material transfer device 50

[0048] Processor 11

[0049] Memory 12

[0050] Marking control program 13

[0051] Communication unit 14

[0052] Input and output unit 15

[0053] Get Module 101

[0054] Marking module 102

[0055] Control module 103

[0056] Determination module 104

[0057] Compensation adjustment module 105

[0058] Analysis module 106

[0059] Model Building Module 107 DETAILED DESCRIPTION

[0060] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings.

[0061] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0062] It should be further noted that, in this article, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0063] See also Figure 1 , which is a schematic diagram of a preferred embodiment of the operating environment of the marking control device of the present invention. In one embodiment, the marking control device 10 is applied to a marking system 1, and the marking system 1 also includes at least one marking machine 20, a first phase-taking device 30, a second phase-taking device 40 and a material transfer device 50. The marking control device 10 is respectively connected to the marking machine 20, the first phase-taking device 30, the second phase-taking device 40 and the material transfer device 50 for communication.

[0064] The marking machine 20 may be a laser marking machine, but is not limited thereto.

[0065] The first photographing device 30 can be built into the marking machine 20 to take a picture of the positioned product and obtain the product's location information; the first photographing device 30 is also used to take a picture of the marked product and obtain a first actual image of the product's marked surface.

[0066] The second photographing device 40 may be located outside the marking machine 20 and is used to take a photograph of the back side of the marked surface of the marked product and obtain a second actual image.

[0067] The first photographing device 30 and the second photographing device 40 may be CCD cameras, but are not limited thereto and may also be other industrial cameras.

[0068] The material moving device 50 is used to move and convey products. The material moving device 50 may include a robot, but is not limited thereto. The material moving device 50 may also include a conveying mechanism, etc.

[0069] It can be understood that in other embodiments, the second phase-taking device 40 and the material moving device 50 can be omitted.

[0070] See also Figure 2 , which is a schematic diagram of a preferred embodiment of the marking control device 10 of the present invention.

[0071] In one embodiment, the marking control device 10 includes a processor 11, a memory 12, and a marking control program 13 stored in the memory 12 and executable on the processor 11. When the processor 11 executes the marking control program 13, the steps in the marking control method embodiment are implemented, such as Figure 4 Steps S401 to S404 and Figure 5 Alternatively, when the processor 11 executes the marking control program 13, the functions of each module in the marking control program embodiment are realized, for example Figure 3 Modules 101 to 107 in.

[0072] The marking control program 13 may be divided into one or more modules, which are stored in the memory 12 and executed by the processor 11 to implement the present invention. The one or more modules may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the marking control program 13 in the marking control device 10. For example, the marking control program 13 may be divided into Figure 3The acquisition module 101, the marking module 102, the control module 103, the judgment module 104, the compensation adjustment module 105, the analysis module 106 and the model building module 107 in the embodiment of the present invention are shown in the following table. Figure 3 The functions of each module in.

[0073] The processor 11 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor 11 may be any conventional processor, etc. The processor 11 may connect various parts of the marking control device 10 using various interfaces and buses.

[0074] The memory 12 can be used to store the marking control program 13 and / or module, and the processor 11 implements various functions of the marking control device 10 by running or executing the computer program and / or module stored in the memory 12, and calling the data stored in the memory 12. The memory 12 may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.

[0075] In one embodiment, the marking control device 10 further includes a communication unit 14, which is used to establish a communication connection with the marking machine 20, the first photographing device 30, the second photographing device 40, the material transfer device 50 or other computer devices in a wired or wireless manner. The communication unit 14 can be a wired communication unit or a wireless communication unit.

[0076] The marking control device 10 may further include an input-output unit 15 , and the input-output unit 15 may include a keyboard, a mouse, a display screen, and the like.

[0077] The marking control device 10 may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. Those skilled in the art may understand that the schematic diagram is only an example of the marking control device 10 and does not constitute a limitation on the marking control device 10. The marking control device 10 may include more or fewer components than shown in the figure, or may combine certain components, or different components. For example, the marking control device 10 may also include a network access device, a bus, etc.

[0078] Figure 3 It is a functional module diagram of a preferred embodiment of the marking control program of the present invention.

[0079] See also Figure 3 As shown, the marking control program 13 may include an acquisition module 101, a marking module 102, a control module 103, a judgment module 104, a compensation adjustment module 105, an analysis module 106, and a model building module 107. In one embodiment, the above modules may be programmable software instructions stored in the memory 12 and can be called and executed by the processor 11. It is understood that in other embodiments, the above modules may also be program instructions or firmware solidified in the processor 11.

[0080] The acquisition module 101 is used to acquire various information, such as marking information, which at least includes a target image of the product to be marked, characteristic information of the product to be marked, and a marking method.

[0081] In one embodiment, the characteristic information of the product to be marked includes at least the material, material thickness and surface treatment of the product. The material is, for example, aluminum, stainless steel or plastic; the surface treatment is, for example, anodizing, blackening, baking varnish, polishing, plating, etc.

[0082] The marking method includes one or more of removing the surface anode layer, marking characters, marking graphics, marking black, etc.

[0083] The acquisition module 101 is further used to acquire the image of the product taken by the first photographing device 30 and the position information of the product, and the image of the product taken by the second photographing device 40 .

[0084] The marking module 102 is used to generate marking control information according to the marking information.

[0085] In one embodiment, the marking module 102 is used to divide at least one marking area on the target image according to the target image and the marking range of the marking machine, and automatically generate XY axis feeding information according to the marking area.

[0086] The marking module 102 is further configured to generate marking parameter information through a preset marking parameter model according to the characteristic information and marking method of the product.

[0087] The control module 103 is used to control the marking machine 20 to mark the product according to the marking control information. The control module 103 can send the marking control information and the start instruction to the corresponding marking machine 20 to control the marking machine 20 to mark.

[0088] The determination module 104 is used to compare the first actual image with the target image to determine whether the first actual image is abnormal.

[0089] The determination module 104 is further configured to compare the second actual image with a preset standard image to determine whether the second actual image is abnormal.

[0090] The compensation adjustment module 105 is used to generate first abnormal information when the first actual image is abnormal, and adjust the XY axis feed information according to the first abnormal information; and to generate second abnormal information when the second actual image is abnormal, and adjust the marking parameter information according to the second abnormal information.

[0091] The analysis module 106 is used to analyze the parameters of the XY axis feed information that need to be compensated, and to analyze the marking parameters that need to be compensated.

[0092] The model building module 107 is used to collect historical marking information and corresponding marking parameters, and to build and update a marking parameter model.

[0093] In one embodiment, the marking parameter model includes a correlation analysis between marking parameters and marking information, and an optimization algorithm for calculating the best marking parameters and marking parameters to be compensated. The marking parameter model can be a machine learning model and a deep learning model.

[0094] In another embodiment, the marking parameter model may also include a correspondence table between various marking information and optimal marking parameters.

[0095] Figure 4 The flowchart of the marking control method in one embodiment of the present invention is shown in FIG. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0096] Step S401, obtaining marking information.

[0097] The marking information at least includes a target image of the product to be marked, characteristic information of the product to be marked, and a marking method.

[0098] The characteristic information of the product to be marked includes at least the material, material thickness and surface treatment of the product. The material is, for example, aluminum, stainless steel or plastic; the surface treatment is, for example, anodizing, blackening, baking varnish, polishing, plating, etc. It is understood that the characteristic information may also include the model and size of the product.

[0099] The marking method includes one or more of removing the surface anode layer, marking characters, marking graphics, marking black, etc.

[0100] When acquiring the marking information, the image of the product may be converted into a DXF file and then uploaded to the memory 12. The characteristic information of the product to be marked and the marking method may be input or selected via the input / output unit 15.

[0101] Step S402: Generate marking control information according to the marking information.

[0102] The marking control information includes XY axis feed information and marking parameter information of the marking machine.

[0103] In one embodiment, a preset marking parameter model is stored in the memory 12, and the marking parameter model is a model obtained by analyzing a large amount of historical marking data. In one embodiment, the marking parameter model includes a correlation analysis between marking parameters and marking information, and an optimization algorithm for calculating the best marking parameters and marking parameters to be compensated. The marking parameter model can be a machine learning model and a deep learning model.

[0104] In another embodiment, the marking parameter model may also be a correspondence table between a variety of marking information and optimal marking parameters.

[0105] In one implementation, step S402 specifically includes:

[0106] According to the target image and the marking range of the marking machine, at least one marking area is divided on the target image, and XY axis feed information of the marking machine is automatically generated according to the marking area; and

[0107] According to the characteristic information and marking method of the product, marking parameter information of the product to be marked is generated through a marking parameter model, and the marking parameter information includes at least one of filling density, marking power, marking speed, Q type, marking angle and marking times.

[0108] It can be understood that when there are multiple marking machines, it is also necessary to select the marking machine number when obtaining the marking information.

[0109] For example, the product to be marked is an electronic device housing, and the positions to be marked are the four corners of the product. According to the marking range of the marking machine, four marking areas are divided on the target image, and the XY axis drive information of the marking machine is automatically generated based on the four marking areas.

[0110] The product is made of aluminum with a thickness of 0.4mm. The surface treatment is anodizing. The marking method is to remove the surface oxide layer. Select marking machine No. 1 and input the above marking information into the marking model. The obtained marking parameters include: filling density of 0.04mm, marking power of 60kHz, marking speed of 5000mm / s, and Q class of 80.

[0111] Step S403, obtaining the location information of the product to be marked.

[0112] Specifically, after generating the marking control information, the material transfer device 50 positions the product in the positioning fixture of the marking machine 20. The product does not need to be precisely positioned in the XY direction, and can be positioned in the Z direction, for example, by being sucked in the Z direction. The first photographing device 30 takes a photo of the positioned product to obtain the product's position information and determine the position of the product's marking origin. Then, the first photographing device sends the product's position information to the marking control device 10.

[0113] Step S404, controlling the marking machine 20 to mark the product.

[0114] After positioning the product, the marking control device 10 controls the marking machine 20 to mark the product according to the marking control information and the position information of the product.

[0115] The above-mentioned marking control method can obtain marking information and automatically generate marking control information, as well as obtain the location information of the product, thereby controlling the marking machine 20 to mark the product according to the marking control information and the location information of the product. The marking control method does not need to rely on manual experience to adjust the machine, does not need to manually partition the target image, and does not need to use film to debug the marking parameters, which simplifies the machine adjustment procedure and improves the marking efficiency and yield. The above-mentioned marking control method realizes remote machine program setting and marking parameter setting, and realizes intelligent manufacturing of the marking process.

[0116] Please refer to Figure 5 In another embodiment, after step S404, the marking control method further includes the following steps.

[0117] Step S501, obtaining a first actual image of the marking surface of the product.

[0118] Specifically, the marking control device 10 obtains a first actual image of the marking surface of the product through the first image capturing device 30 .

[0119] Step S502: compare the first actual image with the target image to determine whether the first actual image is abnormal.

[0120] The marking control device 10 compares the first actual image with the target image to determine whether the first actual image is abnormal, including missing marking and marking deviation.

[0121] If the first actual image has an abnormality, the process proceeds to step S503. If the first actual image has no abnormality, the process proceeds to step S504.

[0122] Step S503, generating first abnormal information, and adjusting XY axis feed information according to the first abnormal information.

[0123] Specifically, the step of “adjusting the XY axis feed information according to the first abnormal information” is as follows:

[0124] Calculating first deviation data of a marking position in the first actual image;

[0125] Calculating parameters of XY axis feed information to be compensated according to the first deviation data;

[0126] The XY axis feed information is adjusted according to the parameters of the XY axis feed information to be compensated.

[0127] Step S504, obtaining a second actual image of the product away from the marking surface.

[0128] After the material moving device 50 moves the marked product out of the marking machine 20 , the marking control device 10 obtains a second actual image of the product away from the marking surface through the second image capturing device 40 .

[0129] Step S505: compare the second actual image with a preset standard image to determine whether the second actual image is abnormal.

[0130] The bulge of the standard image at the marking position has a height of a preset threshold. If the bulge of the marking position on the second actual image exceeds the height on the standard image, it is determined that the second actual image has a convex hull at the marking position, that is, the second actual image is abnormal.

[0131] When it is determined that the second actual image is abnormal, the process proceeds to step S506; if there is no abnormality, the process returns to step S501 to test the next marked product.

[0132] Step S506, generating second abnormal information, and adjusting the marking parameter information according to the second abnormal information.

[0133] Specifically, the step of “adjusting the marking parameter information according to the second abnormal information” is as follows:

[0134] Calculating second deviation data of the convex hull of the marking position in the second actual image;

[0135] Calculating the marking parameters to be compensated according to the second deviation data;

[0136] The marking parameter information is adjusted according to the marking parameter to be compensated.

[0137] After step S503 and step S506, the XY axis feed information or marking parameter information after processing adjustment is sent to the marking machine 20, so that the marking machine 20 performs marking according to the adjusted marking control information.

[0138] The above-mentioned marking control method can automatically detect the marking effect, monitor the marked products, and automatically adjust the marking control information when there is a marking abnormality, thus saving the time of adjusting the machine.

[0139] In another embodiment, in step S503, after generating the first abnormal information, the method further includes the following steps:

[0140] Determine whether the first abnormal information appears consecutively for a preset number of times;

[0141] If not, then record the first abnormal information;

[0142] If yes, the XY axis feed information is adjusted according to the first abnormal information.

[0143] In step S506, after the second abnormal information is generated, the following steps are further included:

[0144] Determine whether the second abnormal information appears continuously for a preset number of times;

[0145] If not, record the second abnormal information;

[0146] If yes, the marking parameter information is adjusted according to the second abnormal information.

[0147] It can be understood that the preset number of times can be set according to needs, such as three times, five times, etc.

[0148] It can be understood that before step S401, the method may further include the step of analyzing historical marking information and corresponding marking parameters to establish a marking parameter model.

[0149] It can be understood that in other embodiments, after step S506, the steps of analyzing the parameters of the XY axis feed information to be compensated and the marking parameters to be compensated, and updating the marking parameter model are further included.

[0150] It can be understood that in other embodiments, after the first abnormal information or the second abnormal information is generated, an abnormal warning prompt may also be issued to facilitate manual understanding of the marking situation in a timely manner.

[0151] The above-mentioned marking control device 10, method and computer-readable storage medium can automatically generate marking control information without manual machine adjustment, thereby improving the efficiency and yield of marking, reducing labor costs and saving debugging time.

[0152] In addition, the above-mentioned marking control device 10, method and computer-readable storage medium can also automatically detect whether there are any abnormalities in the marking effect, and adjust the marking control information in a timely manner, thereby realizing remote monitoring and automatic parameter compensation of the marking machine 20.

[0153] If the module / unit integrated in the marking control device 10 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media does not include electrical carrier signals and telecommunication signals.

[0154] In the several embodiments provided by the present invention, it should be understood that the disclosed computer device and method can be implemented in other ways. For example, the computer device embodiment described above is only illustrative, for example, the division of the unit is only a logical function division, and there may be other division methods in actual implementation.

[0155] In addition, each functional unit in each embodiment of the present invention may be integrated into the same processing unit, each unit may exist physically separately, or two or more units may be integrated into the same unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0156] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or computer devices stated in the computer device claim can also be implemented by the same unit or computer device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0157] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A marking control method, characterized in that: The marking control method comprises: Acquire marking information, wherein the marking information at least includes a target image of the product to be marked, characteristic information of the product to be marked, and a marking method; Generate marking control information according to the marking information, the marking control information includes XY axis feed information and marking parameter information of the marking machine, and the generating of marking control information according to the marking information includes: dividing at least one marking area on the target image according to the target image and the marking range of the marking machine, and automatically generating XY axis feed information of the marking machine according to the marking area; and generating marking parameter information through a preset marking parameter model according to the characteristic information and marking method of the product, the marking parameter information includes at least one of filling density, marking power, marking speed, Q type, marking angle and marking times; After marking the product, the method further comprises the steps of: obtaining a first actual image of the marking surface of the product; comparing the first actual image with the target image to determine whether the first actual image is abnormal; if so, generating first abnormal information, and adjusting the XY axis feed information according to the first abnormal information; Get the location information of the product to be marked; The marking machine is controlled to mark the product according to the position information of the product and the marking control information.

2. The marking control method according to claim 1, characterized in that: The characteristic information of the product to be marked includes at least the material, material thickness and surface treatment method of the product.

3. The marking control method according to claim 1, characterized in that: The steps of "adjusting the XY axis feed information according to the first abnormal information" are specifically: Calculating first deviation data of a marking position in the first actual image; Calculating parameters of XY axis feed information to be compensated according to the first deviation data; The XY axis feed information is adjusted according to the parameters of the XY axis feed information to be compensated.

4. The marking control method according to claim 1, characterized in that: After generating the first abnormal information, the method further includes the following steps: Determine whether the first abnormal information appears consecutively for a preset number of times; If not, then record the first abnormal information; If yes, the XY axis feed information is adjusted according to the first abnormal information.

5. The marking control method according to claim 1, characterized in that: When it is determined that the first actual image has no abnormality, the method further includes: Acquire a second actual image of the product away from the marking surface; Comparing the second actual image with a preset standard image to determine whether the second actual image is abnormal; If yes, second abnormal information is generated, and the marking parameter information is adjusted according to the second abnormal information.

6. The marking control method according to claim 5, characterized in that: The specific step of "adjusting the marking parameter information according to the second abnormal information" is: Calculating second deviation data of the convex hull in the second actual image; Calculating the marking parameters to be compensated according to the second deviation data; The marking parameter information is adjusted according to the marking parameter to be compensated.

7. A marking control device, comprising a processor and a memory, wherein the memory stores a plurality of computer programs, characterized in that: The processor is used to implement the steps of the marking control method according to any one of claims 1 to 6 when executing the computer program stored in the memory.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the plurality of instructions can be executed by one or more processors to implement the steps of the marking control method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Laser online marking method and device used for packaging material with film coated on surface

    CN107138859A

  • Marking method and device and laser marking machine

    CN110421974A