Laser marking positioning and adjustment method, system and laser marking equipment
Through the laser marking positioning and commissioning method, the working point and material position of the laser marking equipment are adjusted in real time, combined with the material pattern information, to solve the problem of marking position deviation affected by the transmission equipment, and achieve the accuracy and accuracy of laser marking. consistency.
Patent Information
- Application Number
- CN202410629561.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-05-21
AI Technical Summary
In the existing laser marking technology, due to the influence of the transmission equipment, the marking position deviation of the materials during the transportation process is easy to occur, resulting in inconsistent marking positions of the same batch of materials, affecting the laser marking effect.
Using the laser marking positioning and commissioning method, by obtaining the original working point and working range, setting the fixed reference position and working trigger area, collecting material position information in real time, adjusting the initial working point, and performing laser marking based on the material pattern information. Ensure that the marking position of each material is consistent.
It realizes precise position laser marking of target materials, ensures the consistency of marking of the same batch of materials, and improves the laser marking effect.
Smart Images

Figure CN118371875B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of laser marking technology, and in particular to a laser marking positioning and adjustment method, system and laser marking equipment. Background Art
[0002] Laser marking is a process that uses laser technology to mark and scratch. Laser marking uses a high-energy laser beam generated by a laser to convert light energy into heat energy. When the laser beam is irradiated onto the surface of an object, the local material expands or vaporizes due to the heat, forming a mark. It irradiates the surface of the material with a high-energy laser beam to produce a permanent mark without contacting the surface of the object, and has the advantages of high precision, high speed and non-contact.
[0003] The working process of laser marking is generally as follows: the material is transported from the loading port to the laser marking position through the conveying equipment, and then the laser marking equipment laser marks the marking area of the material. However, since the material is transported to the marking position by conveying equipment such as conveyor belts or drive wheels, it is easy to be affected by the interaction between the conveying equipment itself and the material itself during the material transportation process, resulting in deviations in the marking position on the material, making the marking position of the materials in the same batch inconsistent, which can easily affect the laser marking effect. Summary of the invention
[0004] The purpose of the present invention is to solve the disadvantage in the prior art that the laser marking position is easily deviated due to the influence of transmission factors, and to propose a laser marking positioning and adjustment method, system and laser marking equipment.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] A first aspect of the present invention provides a laser marking positioning and debugging method, comprising:
[0007] Obtain the original working point and working range of laser marking, and determine the original path area of laser marking;
[0008] A fixed reference position is selected on the side of the laser marking path area away from the target material as the first reference position, and the distance information between the first reference position and the original working point of the laser marking is determined according to the original path area of the laser marking;
[0009] Obtain the marking pattern information of the target material, and set the working trigger area of the laser marking in combination with the original path area of the laser marking;
[0010] According to the working trigger area of laser marking, at least one viewing angle is selected, and the real-time position information of the target material is obtained by using the viewing angle, and the real-time position information of the target material is obtained by matching the viewing angle with the working trigger area of laser marking to obtain the working trigger information of laser marking;
[0011] According to the working trigger information of the laser marking and the first reference position, the original working point position of the laser marking is adjusted to obtain the initial working point position of the laser marking;
[0012] According to the initial working point of laser marking and combined with the marking pattern information of the target material, the target material is laser marked.
[0013] In some feasible technical solutions, the viewing direction of the viewing position is perpendicular to the conveying direction of the target material.
[0014] In some feasible technical solutions, the method for setting the working trigger area of laser marking includes:
[0015] According to the original working point position and working range of laser marking, point-to-point line construction and / or point-to-point surface construction are performed to determine the original path area of laser marking;
[0016] According to the marking pattern information of the target material, at least one second reference position is set in the original path area of the laser marking, and the distance information between the first reference position and the second reference position is obtained;
[0017] Obtain the model and specification of the target material, and set the trigger distance information of the target material between the first reference position and the second reference position according to the marking pattern information of the target material;
[0018] According to the trigger distance information of the target material, the working trigger area of the laser marking is determined.
[0019] In some feasible technical solutions, the method for setting the working trigger area of laser marking also includes:
[0020] Determine the pre-marking area information of the target material according to the model specification of the target material and the marking pattern information of the target material;
[0021] At least one trigger feature information is set according to the pre-marking area information of the target material and in combination with the working range of the laser marking;
[0022] According to the trigger characteristic information, at least one trigger return position and one marking execution position are set between the first reference position and the second reference position;
[0023] The trigger return position is close to the second reference position, and the marking execution position is located between the trigger return position and the first reference position.
[0024] In some feasible technical solutions, the method for obtaining the work trigger information of laser marking includes:
[0025] Acquire the conveying speed of the target material, and use the viewing angle to capture a first image of the target material in real time;
[0026] According to the original path area of the laser marking, the plane coordinates of the working trigger area of the laser marking are added to obtain the plane coordinate distribution map of the working trigger area of the laser marking;
[0027] According to the plane coordinate distribution diagram of the working trigger area of the laser marking, and in combination with the second reference position, obtaining the pre-marking area information of the target material passing through the second reference position in the first image of the target material;
[0028] According to the pre-marking area information of the target material passing through the second reference position in the first image of the target material, the trigger return position and / or the execution marking position in the laser marking work trigger area are matched to determine the laser marking work trigger information.
[0029] In some feasible technical solutions, the pre-marking area information of the target material includes:
[0030] One or more of the following: laser marking area, laser marking edge position, laser marking height.
[0031] In some feasible technical solutions, the method for obtaining the work trigger information of laser marking further includes:
[0032] According to the plane coordinate distribution diagram of the working trigger area of the laser marking, and in combination with the laser marking image information, the laser marking area of the target material passing through the second reference position in the first image of the target material is extracted in grid format to obtain the pre-marking area information of the target material in the first image;
[0033] and / or extracting the laser marking edge position coordinates of the target material passing through the second reference position in the first image of the target material according to the plane coordinate distribution diagram of the laser marking work triggering area, to obtain the laser marking edge position coordinate information of the target material in the first image;
[0034] and / or extracting the laser marking height coordinates of the target material passing through the second reference position in the first image of the target material according to the plane coordinate distribution diagram of the laser marking work triggering area, to obtain the laser marking height coordinate information of the target material in the first image;
[0035] The pre-marking area information of the target material in the first image, the laser marking edge position coordinate information of the target material in the first image, and the laser marking height coordinate information of the target material in the first image are matched with the trigger return position and / or the execution marking position to determine the working trigger information of the laser marking.
[0036] In some feasible technical solutions, the method for obtaining the pre-marking area information of the target material in the first image includes:
[0037] According to the plane coordinate distribution diagram of the working trigger area of the laser marking, the laser marking area of the target material passing through the second reference position in the first image of the target material is extracted in a triangular grid format, and then:
[0038] Assume that there are n triangular grids composed of any three points A (x1, y1), B (x2, y2), and C (x3, y3) in the laser marking area of the target material passing through the second reference position in the first image of the target material, then the laser marking area of the target material passing through the second reference position in the first image of the target material is:
[0039]
[0040] in, |AB| is the straight-line distance from point A to point B; |AC| is the straight-line distance from point A to point C; |BC| is the straight-line distance from point B to point C.
[0041] In a second aspect, the present invention provides a laser marking positioning and debugging system, which adopts a laser marking positioning and debugging method described in any one of the first aspects, and the debugging system further includes:
[0042] Laser marking equipment, the laser marking equipment is used to laser mark the target material;
[0043] The conveying mechanism is arranged between the target material loading port and the laser marking device, and is used to transport the target material to the marking area of the laser marking device.
[0044] The present invention provides a laser marking device in a third aspect, which adopts a laser marking positioning and adjustment method described in any one of the first aspects or a laser marking positioning and adjustment system described in the second aspect, characterized in that the marking device further includes:
[0045] A shaping mechanism, wherein the shaping mechanism is arranged on the transmission mechanism, and the shaping mechanism is in a shape where one end gradually converges toward the other end. One end of the shaping mechanism is located at the feeding port of the transmission mechanism, and the other end of the shaping mechanism is located in the marking area. The shaping mechanism is used to transport the target material to the marking area.
[0046] The beneficial effects of the present invention are:
[0047] The present invention determines whether to perform laser marking on the target material by presetting the laser marking work trigger area according to the working range of the laser marking equipment and collecting the position of the target material in the work trigger area in real time. That is, the target material can be laser marked at a precise position to achieve consistent marking of the target materials in the same batch. That is, it effectively solves the disadvantage of the prior art that the laser marking position is easily deviated due to the influence of transmission factors. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A schematic diagram of the overall method flow of a laser marking positioning and debugging method provided in an embodiment of the present invention;
[0049] Figure 2 A schematic diagram of a partial method flow of a laser marking positioning and debugging method provided in an embodiment of the present invention;
[0050] Figure 3 The figure is a schematic diagram of the movement of a target material in a laser marking positioning and debugging method provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0053] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0054] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the meaning of "and / or" appearing in the full text includes three parallel schemes. Taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0055] Reference Figures 1 to 3 In order to solve the disadvantage of the prior art that the laser marking position is easily deviated due to the influence of transmission factors, the present invention provides a laser marking positioning and adjustment method in this embodiment. The adjustment method presets the laser marking working trigger area according to the working range of the laser marking equipment, and collects the position of the target material in the working trigger area in real time to determine whether to perform laser marking on the target material. That is, the target material can be laser marked at a precise position to achieve consistent marking of the target materials in the same batch. That is, it effectively solves the disadvantage of the prior art that the laser marking position is easily deviated due to the influence of transmission factors.
[0056] Specifically, the debugging method includes:
[0057] Manual labor can be provided in advance to obtain the original working point of laser marking and the working range of laser marking, so as to determine the original path area of laser marking of the laser marking device according to the original working point of laser marking and the working range of the marking head on the laser marking device. In this embodiment, in order to facilitate the division and distinction of the marking position of the target material to be laser marked and the laser marking range of the laser marking device, a fixed reference position can be selected on the side of the laser marking path area away from the target material, that is, a fixed reference position is selected away from the target material feeding port as the first reference position, and then the distance information between the first reference position and the original working point of laser marking is determined according to the original path area of laser marking, so as to facilitate the subsequent adjustment of the overall laser marking range of the laser marking device and the original working point of laser marking with the first reference position as a reference, so as to ensure the consistency of the subsequent marking position of each target material.
[0058] When it is necessary to use a laser marking device to laser mark a target material, it is necessary to obtain the marking pattern information of the target material in advance, and then, in combination with the original path area of the laser marking, set the corresponding laser marking working trigger area within the working range of the laser marking device, that is, obtain the pattern to be laser marked on the target material to be laser marked in advance (such as image composition area, minimum and maximum distribution values, and two side edge limit distribution values), and also perform corresponding laser marking position matching in combination with the laser marking position on the target material, and then perform corresponding position matching in the original path area of the laser marking in the laser marking device according to the image composition area, minimum and maximum distribution values, and two side edge limit distribution values in the laser marking pattern information, so as to determine the trigger position of the target material when it enters the original path area of the laser marking in the laser marking device, that is, obtain the corresponding laser marking working trigger area of the target material within the working range of the laser marking device. Then, in order to grasp the real-time position of the target material in the original path area of the laser marking entering the laser marking device, at least one viewing angle for real-time acquisition of the position of the target material can be selected at or near the position of the laser marking device according to the working trigger area of the laser marking, and the real-time position information of the target material is obtained by using the viewing angle, and matched with the working trigger area of the laser marking to obtain the working trigger information of the laser marking. That is, the real-time position of the target material in the original path area of the laser marking entering the laser marking device is matched with the area where the laser marking device is triggered to start the laser marking work, so as to determine whether to trigger the laser marking device to perform laser marking on the target material. When the laser marking device meets the laser marking work, the original working point of the laser marking can be adjusted according to the laser marking work trigger information and the first reference position to obtain the initial working point of the laser marking; the original working point of the laser marking device can be adjusted with the first reference position according to the laser marking pattern information in the laser marking work trigger information, that is, the original working point of the laser marking device can be adjusted with the first reference position according to the laser marking path in the laser marking pattern information. Then, according to the initial working point of the laser marking and in combination with the marking pattern information of the target material, the target material is laser marked. In this embodiment, the adjustment method uses the working range and original working point of the laser marking device to limit the laser marking working range of the laser marking device, and selects a fixed reference position near the laser marking range to determine the fixed position of the laser marking device in the entire laser marking system (including: a conveying mechanism for conveying the target material to the laser marking position), and then uses this position and the first reference position to uniformly determine the laser marking position of the target material, ensuring that the laser marking position of each target material is consistent, thereby effectively improving the laser marking effect of the target material.In addition, in this embodiment, after the target material enters the area where the laser marking device is triggered to start the laser marking work, the target material can be selected to be suspended from moving according to the laser marking pattern information of the target material until the laser marking work is completed. It should be noted that in this embodiment, in order to facilitate the viewing angle to confirm the real-time position of the target material and the position of the area where the laser marking device is triggered to start the laser marking work, the viewing direction of the viewing angle is perpendicular to the conveying direction of the target material.
[0059] Reference Figure 3 In this embodiment, in order to facilitate understanding of how to set the area that triggers the laser marking device to start the laser marking work, the following description is given here. Specifically, the method for setting the laser marking work trigger area includes:
[0060] According to the original working point of the laser marking of the laser marking equipment and its working range of the laser marking, the line and / or the surface can be constructed by points, and the original path area of the laser marking can be finally determined. Then, according to the image composition area, the lowest and highest distribution values, and the two side limit distribution values contained in the laser-marked pattern in the marking pattern information of the target material, at least one second reference position is set in the original path area of the laser marking, and the distance information between the first reference position and the second reference position is obtained at the same time; that is, according to the characteristics of the laser-marked pattern such as the image composition area, the lowest and highest distribution values, and the two side limit distribution values, in the original path area of the laser marking in the laser marking equipment, the trigger point or trigger line position for initially determining whether the target material enters the original path area of the laser marking is selected. Then, the material model and specification of the target material are obtained, and the trigger distance information of the target material is set between the first reference position and the second reference position in combination with the marking pattern information of the target material, and the distance of the area that triggers the laser marking equipment to start the laser marking work is finally determined, and then the working trigger area of the laser marking is determined according to the trigger distance information of the target material.
[0061] Reference Figure 3In this embodiment, in order to ensure the efficiency of laser marking of the target material, the method for setting the working trigger area of laser marking also includes: the pre-marking area information of the target material can be finally determined according to the model specification of the target material and the marking pattern information of the target material, that is, according to the material model specification and marking pattern information of the target material, one or more combinations of the laser marking area, laser marking edge position, and laser marking height on the target material are pre-determined. Then, according to the pre-marking area information of the target material and the working range of the laser marking, at least one trigger feature information in the working interval of the target material entering the laser marking device is extracted and set. Then, according to the trigger feature information, at least one trigger return position (the laser marking device can reset the original working point of the laser marking according to the target material contacting this trigger return position) and one execution marking position (the laser marking device can determine whether to perform laser marking on the target material according to the target material contacting this execution marking position). In order to meet the above working requirements, the trigger return position is close to the second reference position, and the execution marking position is located between the trigger return position and the first reference position. Here, in order to more specifically understand how to use the trigger return position and / or the execution marking position to adjust the working procedure of the corresponding laser marking device, the following description is made. Specifically, the method for obtaining the working trigger information of the laser marking includes:
[0062] The conveying speed of the conveying mechanism for the target material can be obtained in advance, and then the first image of the target material can be collected in real time using the viewing position; in order to more intuitively observe that the target material enters the triggered laser marking equipment for laser marking, the plane coordinates of the laser marking work trigger area can be added according to the original path area of the laser marking to obtain the plane coordinate distribution map of the laser marking work trigger area (the coordinate information of the second reference position, the trigger return position, and the marking execution position must be determined at the same time here), and then the plane coordinate distribution map of the laser marking work trigger area is matched with the first image of the target material in combination with the second reference position to obtain the pre-marking area of the target material passing through the second reference position in the first image of the target material. Domain information (that is, the area position information of the target material entering the laser marking device can be determined based on the plane coordinate distribution diagram of the laser marking area, the laser marking edge position, and the laser marking height in the laser marking working trigger area); and then, based on the pre-marking area information of the target material passing through the second reference position in the first image of the target material, it is matched with the trigger return position and / or the execution marking position in the laser marking working trigger area, and then the laser marking working trigger information is determined respectively, that is, the laser marking device can reset the original working point of the laser marking according to the target material contacting this trigger return position and the laser marking device can determine whether to laser mark the target material according to the target material contacting this execution marking position. It should be noted that, in this embodiment, in order to facilitate the distinction between the first reference position, the second reference position, the trigger return position and the execution marking position as well as the original path area of the laser marking of the laser marking device, Figure 3 In the process, the surface and / or line are constructed by point positions, so the first reference position, the second reference position, the trigger return position and the marking execution position can be point position coordinates or line position coordinates. The original path area of the laser marking of the laser marking device is the working range surface of the laser marking composed of the original working points of the laser marking.
[0063] In actual operation, in order to meet the laser marking requirements of target materials of different shapes, the method for obtaining the work trigger information of laser marking may further include:
[0064] According to the plane coordinate distribution diagram of the working trigger area of the laser marking, and in combination with the laser marking image information, the laser marking area of the target material passing through the second reference position in the first image of the target material is grid-extracted to obtain the pre-marking area information of the target material in the first image; that is, the working trigger information of the corresponding laser marking device is set according to the area of the original path area of the laser marking of the target material entering the laser marking device, and the triggering work of different laser marking devices can also be formulated according to the target material passing through the second reference position and / or the trigger return position and / or the execution marking position. The method here can be used for target materials with regular marking positions (such as cylindrical target materials with the marking position in the center, square target materials, congruent triangle target materials, circular target materials, etc.).
[0065] And / or according to the plane coordinate distribution diagram of the working trigger area of the laser marking, the laser marking edge position coordinates of the target material passing through the second reference position in the first image of the target material are extracted to obtain the laser marking edge position coordinate information of the target material in the first image; that is, according to the edge position of the original path area of the laser marking where the outline of the pattern to be marked in the target material enters the laser marking device, the corresponding working trigger information of the laser marking device is set, and different triggering operations of the laser marking device can also be formulated according to the outline of the pattern to be marked in the target material passing through the second reference position and / or the trigger return position and / or the marking execution position. The method here can be used for target materials with irregular marking positions (such as: target materials with the marking position on the side).
[0066] And according to the plane coordinate distribution diagram of the working trigger area of the laser marking, the laser marking height coordinates of the target material passing through the second reference position in the first image of the target material can be extracted to obtain the laser marking height coordinate information of the target material in the first image; that is, according to the edge position of the original path area of the laser marking in the laser marking device where the highest value or the lowest value of the contour of the pattern to be marked in the target material enters, the corresponding working trigger information of the laser marking device is set, and different triggering operations of the laser marking devices can also be formulated according to the highest value or the lowest value of the contour of the pattern to be marked in the target material passing through the second reference position and / or the trigger return position and / or the execution marking position. The method here can be used for target materials with irregular patterns (that is, target materials with irregular marking image shapes, such as special line symbols, etc.).
[0067] Then, according to the laser marking pattern requirements of the target material, the pre-marking area information of the target material in the first image, the laser marking edge position coordinate information of the target material in the first image, and the laser marking height coordinate information of the target material in the first image are matched with the trigger return position and / or the execution marking position to determine different working trigger information of the laser marking equipment.
[0068] In this embodiment, in order to facilitate understanding of how to obtain the area information of the target material entering the laser marking device according to the plane coordinate distribution diagram of the working trigger area of the laser marking, the following description is given here. Specifically, the method for obtaining the pre-marking area information of the target material in the first image includes:
[0069] According to the plane coordinate distribution diagram of the working trigger area of the laser marking, the laser marking area of the target material passing through the second reference position in the first image of the target material is extracted in a triangular grid format, and then:
[0070] Assume that there are n triangular meshes composed of any three points A (x1, y1), B (x2, y2), and C (x3, y3) in the laser marking area of the target material passing through the second reference position in the first image of the target material, that is, the first image is evenly divided into triangular meshes according to the plane coordinate distribution diagram of the working trigger area of the laser marking to obtain n triangles with the same area. In order to facilitate the calculation of the laser marking area of the target material passing through the second reference position in the first image, the triangle composed of three points A, B, and C is used as an example. Then, the laser marking area of the target material passing through the second reference position in the first image of the target material is:
[0071]
[0072] in, |AB| is the straight-line distance from point A to point B; |AC| is the straight-line distance from point A to point C; |BC| is the straight-line distance from point B to point C; that is, in this embodiment, the coordinates of point A are (x1, y1), the coordinates of point B are (x2, y2), and the coordinates of point C are (x3, y3), then:
[0073]
[0074]
[0075]
[0076] Then, the laser marking area of the target material passing through the second reference position target material in the first image can be obtained, which can be used as a reference for triggering the subsequent laser marking instrument.
[0077] In this embodiment, in order to ensure that the laser marking device can perform over-limit marking, a displacement mechanism is also provided on the laser marking device, and the displacement mechanism is connected to the laser marking device, and the displacement mechanism is used to adjust the laser marking device horizontally and vertically to achieve adjustment of laser marking requirements for different target materials. In some embodiments, the displacement mechanism can be any one of hydraulic, pneumatic, and electric. Preferably, the displacement mechanism can be a hydraulic telescopic rod, a pneumatic telescopic rod, and an electric telescopic rod. That is, the moving range of the displacement mechanism can be matched with the working range of the laser marking device, and then the original path area of the laser marking can be determined according to the original working point of the laser marking and the working range of the laser marking, and combined with the working range of the displacement mechanism; then the real-time position of the target material in the original path area of the laser marking entering the laser marking device is matched with the area where the laser marking device is triggered to start the laser marking work, so as to determine whether to trigger the laser marking device to perform laser marking on the target material. When the laser marking device meets the laser marking work, the original working point of the laser marking can be adjusted according to the laser marking work trigger information and the first reference position to obtain the initial working point of the laser marking; the original working point of the laser marking device can be adjusted with the first reference position according to the laser marking pattern information in the laser marking work trigger information, that is, the original working point of the laser marking device can be adjusted with the first reference position according to the laser marking path in the laser marking pattern information. Then, according to the initial working point of the laser marking and in combination with the marking pattern information of the target material, the target material is laser marked. In this embodiment, the adjustment method uses the working range and original working point of the laser marking device to limit the laser marking working range of the laser marking device, and selects a fixed reference position near the laser marking range to determine the fixed position of the laser marking device in the entire laser marking system (including: a transmission mechanism for transmitting the target material to the laser marking position), and then uses this position and the first reference position to uniformly determine the laser marking position of the target material, ensuring that the laser marking position of each target material is consistent, effectively improving the laser marking effect of the target material. In addition, in this embodiment, after the target material enters the area that triggers the laser marking device to start the laser marking work, the target material can be selected to pause moving according to the laser marking pattern information of the target material until the laser marking work is completed.
[0078] In a second aspect, the present invention provides a laser marking positioning and adjustment system, which adopts a laser marking positioning and adjustment method described in any one of the first aspects, and the adjustment system further includes: a laser marking device, which is used to perform laser marking on a target material; a conveying mechanism, which is arranged between a target material loading port and the laser marking device, and is used to transport the target material to a marking area of the laser marking device. In this embodiment, in order to facilitate the division and distinction between the marking position of the target material to be laser marked and the laser marking interval of the laser marking device, a fixed reference position can be selected on the side of the laser marking path area away from the target material, that is, a fixed reference position is selected away from the target material loading port as the first reference position, and then the distance information between the first reference position and the original working point of the laser marking is determined according to the original path area of the laser marking, so that the overall laser marking range of the laser marking device and the original working point of the laser marking are adjusted with the first reference position as a reference object in the subsequent laser marking interval, so as to ensure that the subsequent marking position of each target material is consistent.
[0079] In a feasible embodiment, the adjustment system also includes: a displacement mechanism, the displacement mechanism is connected to the laser marking device, and the displacement mechanism is used to adjust the laser marking device horizontally and vertically to achieve adjustment of laser marking requirements for different target materials. In some embodiments, the displacement mechanism can be any one of hydraulic, pneumatic, and electric. Preferably, the displacement mechanism can be a hydraulic telescopic rod, a pneumatic telescopic rod, and an electric telescopic rod. That is, the moving range of the displacement mechanism can be matched with the working range of the laser marking device, and then the original path area of the laser marking can be determined according to the original working point of the laser marking and the working range of the laser marking, and combined with the working range of the displacement mechanism; then the real-time position of the target material in the original path area of the laser marking entering the laser marking device is matched with the area where it triggers the laser marking device to start the laser marking work, so as to determine whether to trigger the laser marking device to perform laser marking on the target material. When the laser marking device meets the laser marking work, the original working point of the laser marking can be adjusted according to the laser marking work trigger information and the first reference position to obtain the initial working point of the laser marking; the original working point of the laser marking device can be adjusted with the first reference position according to the laser marking pattern information in the laser marking work trigger information, that is, the original working point of the laser marking device can be adjusted with the first reference position according to the laser marking path in the laser marking pattern information. Then, according to the initial working point of the laser marking and in combination with the marking pattern information of the target material, the target material is laser marked. In this embodiment, the adjustment method uses the working range and original working point of the laser marking device to limit the laser marking working range of the laser marking device, and selects a fixed reference position near the laser marking range to determine the fixed position of the laser marking device in the entire laser marking system (including: a transmission mechanism for transmitting the target material to the laser marking position), and then uses this position and the first reference position to uniformly determine the laser marking position of the target material, ensuring that the laser marking position of each target material is consistent, effectively improving the laser marking effect of the target material. In addition, in this embodiment, after the target material enters the area that triggers the laser marking device to start the laser marking work, the target material can be selected to pause moving according to the laser marking pattern information of the target material until the laser marking work is completed.
[0080] In some embodiments, the debugging system can communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), internets (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
[0081] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0082] The present invention provides a laser marking device in the third aspect, which adopts a laser marking positioning and adjustment method described in any one of the first aspect or a laser marking positioning and adjustment system described in the second aspect, characterized in that the marking device further includes: a shaping mechanism, the shaping mechanism is arranged on the transmission mechanism, the space for carrying the target material on the shaping mechanism is gradually contracted from one end to the other end, one end of the shaping mechanism is located at the feeding port of the transmission mechanism, and the contracted part of the other end of the shaping mechanism is located in the marking area, and the shaping mechanism is used to transport the target material to the marking area. That is, the depth of laser marking of the target material does not need to be considered.
[0083] A fourth aspect of the present invention provides a computer-readable medium having a computer program stored thereon, wherein the program is implemented by a processor when being executed as described in any one of the first aspects of a packaging box finished product detection method based on image positioning. The computer-readable medium in this embodiment can be written in one or more programming languages or a combination thereof to write a computer program code for performing the operation of some embodiments of the present disclosure, and the above-mentioned programming language includes an object-oriented programming language-such as Java, Smalltalk, C++, and also includes a conventional procedural programming language-such as "C" language or similar programming language. The program code can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network-including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0084] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0085] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer readable medium, and the computer program includes a program code for executing the method shown in the flowchart.
[0086] The fifth aspect of the present invention provides an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon; when the one or more programs are executed by the one or more processors, the one or more processors implement a method for detecting finished products of packaging boxes based on image positioning as described in the first aspect. The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist separately, that is, it is not assembled into the electronic device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device can implement a method for detecting finished products of packaging boxes based on image positioning as described in the first aspect.
[0087] A sixth aspect of the present invention provides a computer program product, comprising a computer program, which, when executed by a processor, implements a method for detecting finished packaging boxes based on image positioning as described in the first aspect.
[0088] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.
Claims
1. A laser marking positioning and adjustment method, It is characterized in that include: Obtain the original working point and working range of laser marking, and determine the original path area of laser marking; A fixed reference position is selected on the side of the laser marking path area away from the target material as the first reference position, and the distance information between the first reference position and the original working point of the laser marking is determined according to the original path area of the laser marking; Obtain the marking pattern information of the target material, and set the working trigger area of the laser marking in combination with the original path area of the laser marking; According to the working trigger area of laser marking, at least one viewing angle is selected, and the real-time position information of the target material is obtained by using the viewing angle, and the real-time position information of the target material is obtained by matching the viewing angle with the working trigger area of laser marking to obtain the working trigger information of laser marking; According to the working trigger information of the laser marking and the first reference position, the original working point position of the laser marking is adjusted to obtain the initial working point position of the laser marking; According to the initial working point of laser marking and combined with the marking pattern information of the target material, the target material is laser marked; Wherein, the method for setting the working trigger area of laser marking includes: According to the original working point position and working range of laser marking, point-to-point line construction and / or point-to-point surface construction are performed to determine the original path area of laser marking; According to the marking pattern information of the target material, at least one second reference position is set in the original path area of the laser marking, and the distance information between the first reference position and the second reference position is obtained; Obtain the model and specification of the target material, and set the trigger distance information of the target material between the first reference position and the second reference position according to the marking pattern information of the target material; According to the trigger distance information of the target material, the working trigger area of the laser marking is determined.
2. A laser marking positioning and adjustment method according to claim 1, It is characterized in that The viewing direction of the viewing position is perpendicular to the conveying direction of the target material.
3. A laser marking positioning and adjustment method according to claim 2, It is characterized in that The method for setting the working trigger area of laser marking also includes: Determine the pre-marking area information of the target material according to the model specification of the target material and the marking pattern information of the target material; At least one trigger feature information is set according to the pre-marking area information of the target material and in combination with the working range of the laser marking; According to the trigger characteristic information, at least one trigger return position and one marking execution position are set between the first reference position and the second reference position; The trigger return position is close to the second reference position, and the marking execution position is located between the trigger return position and the first reference position.
4. A laser marking positioning and adjustment method according to claim 3, It is characterized in that The method for obtaining the work trigger information of laser marking comprises: Acquire the conveying speed of the target material, and use the viewing angle to capture a first image of the target material in real time; According to the original path area of the laser marking, the plane coordinates of the working trigger area of the laser marking are added to obtain the plane coordinate distribution map of the working trigger area of the laser marking; According to the plane coordinate distribution diagram of the working trigger area of the laser marking, and in combination with the second reference position, obtaining the pre-marking area information of the target material passing through the second reference position in the first image of the target material; According to the pre-marking area information of the target material passing through the second reference position in the first image of the target material, the trigger return position and / or the execution marking position in the laser marking work trigger area are matched to determine the laser marking work trigger information.
5. A laser marking positioning and adjustment method according to claim 4, It is characterized in that The pre-marking area information of the target material includes: One or more of the following: laser marking area, laser marking edge position, laser marking height.
6. A laser marking positioning and adjustment method according to claim 5, It is characterized in that The method for obtaining the work trigger information of laser marking also includes: According to the plane coordinate distribution diagram of the working trigger area of the laser marking, and in combination with the laser marking image information, the laser marking area of the target material passing through the second reference position in the first image of the target material is extracted in grid format to obtain the pre-marking area information of the target material in the first image; and / or extracting the laser marking edge position coordinates of the target material passing through the second reference position in the first image of the target material according to the plane coordinate distribution diagram of the laser marking work triggering area, to obtain the laser marking edge position coordinate information of the target material in the first image; and / or extracting the laser marking height coordinates of the target material passing through the second reference position in the first image of the target material according to the plane coordinate distribution diagram of the laser marking work triggering area, to obtain the laser marking height coordinate information of the target material in the first image; The pre-marking area information of the target material in the first image, the laser marking edge position coordinate information of the target material in the first image, and the laser marking height coordinate information of the target material in the first image are matched with the trigger return position and / or the execution marking position to determine the working trigger information of the laser marking.
7. A laser marking positioning and adjustment method according to claim 6, It is characterized in that The method for obtaining pre-marking area information of the target material in the first image includes: According to the plane coordinate distribution diagram of the working trigger area of the laser marking, the laser marking area of the target material passing through the second reference position in the first image of the target material is extracted in a triangular grid format, and then: Assume that there are n triangular grids composed of any three points A (x1, y1), B (x2, y2), and C (x3, y3) in the laser marking area of the target material passing through the second reference position in the first image of the target material, then the laser marking area of the target material passing through the second reference position in the first image of the target material is: S 激光打标面积 =nS ΔABC in, |AB| is the straight-line distance from point A to point B; |AC| is the straight-line distance from point A to point C; |BC| is the straight-line distance from point B to point C.
8. A laser marking positioning and testing system, It is characterized in that According to any one of claims 1 to 7, a laser marking positioning and debugging method is adopted, wherein the debugging system further comprises: Laser marking equipment, the laser marking equipment is used to laser mark the target material; The conveying mechanism is arranged between the target material loading port and the laser marking device, and is used to transport the target material to the marking area of the laser marking device.
9. A laser marking device, It is characterized in that A laser marking positioning and adjustment method according to any one of claims 1 to 7 or a laser marking positioning and adjustment system according to claim 8 is adopted, characterized in that the marking device further comprises: A shaping mechanism, wherein the shaping mechanism is arranged on the transmission mechanism, and the shaping mechanism is in a shape where one end gradually converges toward the other end. One end of the shaping mechanism is located at the feeding port of the transmission mechanism, and the other end of the shaping mechanism is located in the marking area. The shaping mechanism is used to transport the target material to the marking area.
