Melamine tableware offset calibration laser marker with adaptive compensation
By introducing the attitude detection module and control module into the laser marking instrument, real-time collection of attitude data and marking coordinate calculation of melamine tableware are realized, which solves the problem of the laser marking machine being unable to adaptively compensate and improves the accuracy of laser marking. and the stability of melamine tableware.
Patent Information
- Application Number
- CN202410774712.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-17
AI Technical Summary
Existing laser marking instruments cannot perform adaptive position compensation when laser marking products, resulting in mark deviation and affecting work quality.
A melamine tableware offset calibration laser marking instrument with adaptive compensation function is designed. The attitude detection module is used to collect the attitude data of melamine tableware in real time. Based on this, the marking coordinates of the laser marking mechanism are calculated and controlled by The module adjusts the position of the laser marking mechanism to ensure that the relative position between the laser marking mechanism and the melamine tableware is stable and improves the laser marking accuracy.
It greatly improves the accuracy of laser marking, ensures the position accuracy of the laser module's laser marking on melamine tableware, and achieves stable clamping of melamine tableware through hydraulic cylinders and electric actuators to prevent it from being transported and printed. move during the marking process.
Smart Images

Figure CN118357593B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of laser marking, and in particular to a melamine tableware offset calibration laser marking instrument with a self-adaptive compensation function. Background Art
[0002] Laser marking technology is one of the largest application areas of laser processing. Laser marking is a marking method that uses high-energy-density lasers to partially irradiate the workpiece, causing the surface material to vaporize or undergo a chemical reaction that changes color, thereby leaving a permanent mark. Laser marking can produce a variety of text, symbols, and patterns, etc.
[0003] Existing laser markers, such as a center locator fixture and a laser marker disclosed in a Chinese patent application with publication number CN109014597A, cannot perform adaptive position compensation when laser marking a product, resulting in deviations in the mark on the product, affecting the working quality of the laser marker. Summary of the invention
[0004] In order to overcome the above-mentioned technical problems, the purpose of the present invention is to provide a melamine tableware offset calibration laser marker with an adaptive compensation function, so as to solve the problem in the prior art that the laser marker cannot perform adaptive position compensation when laser marking the product, that is, the accuracy of the position between the laser marker and the product cannot be accurately controlled, resulting in deviations in the mark on the product.
[0005] The purpose of the present invention can be achieved through the following technical solutions:
[0006] Specifically, a melamine tableware offset calibration laser marker with an adaptive compensation function is provided, comprising a device base, one side of which is slidably connected to a moving plate, and a control PC is arranged on the top surface of the moving plate;
[0007] A laser marking mechanism, which is disposed on the top of the device base;
[0008] A transport mechanism, which is arranged on the top surface of the device base, and is used for transporting and clamping melamine tableware;
[0009] The laser marking mechanism is equipped with a control module and a posture detection module, the posture detection module collects the posture data of the melamine tableware in real time, and the control module calculates the marking coordinates of the laser marking mechanism based on the posture data;
[0010] The device base controls the position of the laser marking mechanism based on the marking coordinates.
[0011] As a further solution of the present invention: the base of the device includes a base body, a Z-axis column is fixedly connected to a corner of the top surface of the base body, a cutlery conveying track is fixedly connected to the top surface of the base body, and a marking platform is fixedly connected to the center position of the top surface of the cutlery conveying track.
[0012] As a further solution of the present invention: the laser marking mechanism includes a lifting slider, one side of the lifting slider is fixedly connected to an X-axis hydraulic cylinder, the output end of the X-axis hydraulic cylinder is connected to the Y-axis hydraulic cylinder through a hydraulic rod, the output end of the Y-axis hydraulic cylinder is connected to a laser module through a hydraulic rod, and the side of the laser module is fixedly connected to a measuring module.
[0013] As a further solution of the present invention: a threaded rod is installed inside the Z-axis column through a rotating shaft, a threaded groove matching the threaded rod is opened inside the lifting slider, a drive motor is installed inside the base body, and the output shaft of the drive motor is fixedly connected to the bottom end of the threaded rod through a coupling.
[0014] As a further solution of the present invention: the transport mechanism includes two groups of mechanism sliders, the sides of the two groups of mechanism sliders are fixedly connected with ball nuts, a connecting beam is fixedly connected between the two groups of mechanism sliders, and the bottom surface of the connecting beam is slidably connected with two groups of clamping mechanisms.
[0015] As a further solution of the present invention: the clamping mechanism includes two groups of moving columns, a clamping rod is fixedly connected between the two groups of moving columns, the top surface of the clamping rod is rotatably connected to two rotating rods, and an electric actuator is installed inside the connecting beam, which is used to drive the moving columns.
[0016] As a further solution of the present invention: the measuring module is a posture detection module, and the posture detection module is a visual sensor or a laser rangefinder.
[0017] As a further solution of the present invention: the posture detection module collects posture data of the melamine tableware through a visual sensor, the posture data is image data of the melamine tableware, and a machine learning model for identifying the size data of the melamine tableware is trained based on the image data using a convolutional neural network model;
[0018] The posture detection module calculates the marking coordinates of the laser marking mechanism based on the size data of the melamine tableware.
[0019] As a further solution of the present invention: the posture detection module collects posture data of the melamine tableware through a laser rangefinder, the posture data is the distance data of the melamine tableware, the distance data represents the distance length between the laser marking mechanism and the melamine tableware, and the marking coordinates of the laser marking mechanism are calculated based on the distance length.
[0020] As a further solution of the present invention: a driving mechanism is installed inside the clamping rod, one end of the driving mechanism is connected to a hydraulic cylinder, transmission gears are meshed on both sides of the driving mechanism, a driving gear is meshed on the side of the transmission gear away from the driving mechanism, and the top surface of the driving gear is fixedly connected to the rotating shaft of the rotating rod.
[0021] Beneficial effects of the present invention:
[0022] 1. In the present invention, the transport mechanism can transport the melamine tableware to the bottom of the laser marking mechanism, and then the control module collects the posture data of the melamine tableware in real time through the posture detection module, calculates the marking coordinates of the laser marking mechanism based on the posture data, and then controls the position of the laser marking mechanism based on the marking coordinates to ensure that the relative position between the laser marking mechanism and the melamine tableware is within a stable range, thereby greatly improving the accuracy of laser marking.
[0023] 2. In the present invention, when the distance length collected by the laser rangefinder is not within the range of the length threshold, it means that the spatial position between the melamine tableware and the laser module is offset. At this time, the position of the laser module is adjusted according to the size between the distance length and the length threshold, so that the laser module is directly above the laser marking point on the melamine tableware, thereby ensuring the accuracy of the laser marking position of the laser module on the melamine tableware.
[0024] 3. In the present invention, after the two moving columns clamp the melamine tableware, the hydraulic cylinder can be opened, and the output end of the hydraulic cylinder drives the driving piston, which will move in the moving track. When the air pressure in the moving track is large enough, the driving member will move synchronously, and a coaxial gear is installed on the top surface of the transmission gear, which meshes with the side of the driving member. In this way, the moving driving member will drive the transmission gear to rotate through the coaxial gear, and the rotating transmission gear will drive the driving gear to rotate. Since the top surface of the driving gear is fixedly connected to the rotating shaft of the rotating rod, the driving gear will drive the rotating rod to rotate, and the rotating rotating rod will be stuck on the side of the melamine tableware. The two moving columns can be used to achieve stable clamping of the melamine tableware, ensuring that the melamine tableware will not move during transportation and laser marking, thereby ensuring the stability of the melamine tableware. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The present invention will be further described below in conjunction with the accompanying drawings.
[0026] Figure 1 It is a schematic diagram of the structure of the present invention;
[0027] Figure 2 It is a structural schematic diagram of the base of the device in the present invention;
[0028] Figure 3 It is a structural schematic diagram of the laser marking mechanism in the present invention;
[0029] Figure 4 It is a structural schematic diagram of the transportation mechanism in the present invention;
[0030] Figure 5 It is a structural schematic diagram of the clamping mechanism in the present invention;
[0031] Figure 6 It is a front view of the driving mechanism of the present invention;
[0032] Figure 7 is a cross-sectional view of the driving mechanism of the present invention;
[0033] Figure 8 It is a schematic diagram of the offset of the laser module in the present invention.
[0034] 1. Device base; 11. Base body; 12. Z-axis column; 13. Control turntable; 14. Tableware conveying track; 15. Marking table; 2. Laser marking mechanism; 21. Lifting slider; 22. X-axis hydraulic cylinder; 23. Y-axis hydraulic cylinder; 24. Laser module; 25. Measuring module; 3. Transport mechanism; 31. Mechanism slider; 32. Ball nut; 33. Connecting beam; 34. Clamping mechanism; 341. Moving column; 342. Clamping rod; 343. Rotating rod; 344. Driving mechanism; 3441. Driving member; 3442. Piston chamber; 3443. Driving piston; 3444. Gas transmission channel; 3445. Gas transmission pipe; 3446. Moving track; 345. Hydraulic cylinder; 346. Transmission gear; 347. Driving gear; 348. Coaxial gear; 4. Moving plate; 5. Control PC. DETAILED DESCRIPTION
[0035] 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.
[0036] Example 1
[0037] like Figure 1 - Figure 7As shown, the present invention discloses a melamine tableware offset calibration laser marker with an adaptive compensation function, comprising a device base 1, one side of which is slidably connected to a moving plate 4. It should be noted that a moving groove matching the moving plate 4 is provided on the side of the device base 1 near the moving plate 4, and the moving plate 4 can slide freely in the moving groove. A control PC5 is provided on the top surface of the moving plate 4. The moving plate 4 is horizontally arranged to ensure that the control PC5 can be stably on the moving plate 4. A laser marking mechanism 2 is provided on the top of the device base 1, and a transport mechanism 3 is provided on the top surface of the device base 1. The transport mechanism 3 is used to transport and clamp the melamine tableware; a control module and a posture detection module are loaded on the laser marking mechanism 2, the posture detection module collects the posture data of the melamine tableware in real time, and the control module calculates the marking coordinates of the laser marking mechanism 2 based on the posture data; the device base 1 controls the position of the laser marking mechanism 2 based on the marking coordinates;
[0038] It should be noted that the transport mechanism 3 can transport the melamine tableware to the bottom of the laser marking mechanism 2, and then the control module collects the posture data of the melamine tableware in real time through the posture detection module, calculates the marking coordinates of the laser marking mechanism 2 based on the posture data, and then controls the position of the laser marking mechanism 2 based on the marking coordinates, ensuring that the relative position between the laser marking mechanism 2 and the melamine tableware is within a stable range, thereby greatly improving the accuracy of laser marking.
[0039] like Figure 2 As shown, the device base 1 includes a base body 11, a Z-axis column 12 is fixedly connected to a corner of the top surface of the base body 11, a tableware conveying track 14 is fixedly connected to the top surface of the base body 11, and a marking platform 15 is fixedly connected to the center position of the top surface of the tableware conveying track 14;
[0040] like Figure 2 and Figure 3 As shown, the laser marking mechanism 2 includes a lifting slider 21, one side of the lifting slider 21 is fixedly connected to an X-axis hydraulic cylinder 22, the output end of the X-axis hydraulic cylinder 22 is connected to a Y-axis hydraulic cylinder 23 through a hydraulic rod, the output end of the Y-axis hydraulic cylinder 23 is connected to a laser module 24 through a hydraulic rod, and the side of the laser module 24 is fixedly connected to a measuring module 25;
[0041] It should be noted that a ball nut is fixedly connected to the inside of the lifting slider 21, and the ball nut matches the lead screw. When the lead screw rotates, the rotating lead screw can cooperate with the ball nut so that the lifting slider 21 can slide freely in the vertical direction on the side of the Z-axis column 12. The model and specification of the laser module 24 are adaptively selected by technical personnel in this field according to the melamine tableware. When the X-axis hydraulic cylinder 22 is opened, the output end of the X-axis hydraulic cylinder 22 can drive the Y-axis hydraulic cylinder 23 through the hydraulic rod to adjust the position of the Y-axis hydraulic cylinder 23 in the X-axis direction. When the Y-axis hydraulic cylinder 23 is opened, the output end of the Y-axis hydraulic cylinder 23 can drive the laser module 24 through the hydraulic rod to adjust the position of the laser module 24 in the Y-axis direction. In conjunction with the X-axis hydraulic cylinder 22, the position of the laser module 24 on the X-axis and Y-axis can be adjusted.
[0042] A threaded rod is installed inside the Z-axis column 12 through a rotating shaft, a threaded groove matching the threaded rod is opened inside the lifting slider 21, and a control dial 13 is fixedly connected to the top of the threaded rod, and a technician can manually rotate the threaded rod through the control dial 13.
[0043] A driving motor is installed inside the base body 11, and the output shaft of the driving motor is fixedly connected to the bottom end of the threaded rod through a coupling;
[0044] It should be noted that when the drive motor is turned on, the output shaft of the drive motor can drive the threaded rod through the coupling, and the rotating threaded rod will cooperate with the lifting slider 21 to move the lifting slider 21 along the vertical direction of the Z-axis column 12, that is, the position of the lifting slider 21 in the Z-axis direction can be adjusted. In conjunction with the X-axis hydraulic cylinder 22 and the Y-axis hydraulic cylinder 23, the position of the laser module 24 on the X-axis, Y-axis and Z-axis can be adjusted to ensure that the position of the laser module 24 can be adjusted arbitrarily. In addition, it should be noted that the control module is used for marking. The center point of the top surface of the table 15 is the coordinate origin, and a three-dimensional coordinate system is established. The laser module 24 has a certain three-dimensional coordinate (x, y, z) in the three-dimensional coordinate system. Based on the melamine tableware, technical personnel in this field will pre-input the initial three-dimensional coordinates (x0, y0, z0) of the laser module 24 by controlling PC5. The three-dimensional coordinates (x0, y0, z0) are pre-set, (x0, y0) represents the position of the laser module 24 above the marking table 15, and z0 represents the height of the laser module 24 from the marking table 15.
[0045] The measuring module 25 is a posture detection module, and the posture detection module is a visual sensor.
[0046] The posture detection module collects the posture data of the melamine tableware through the visual sensor. The posture data is the image data of the melamine tableware. Based on the image data, a convolutional neural network model is used to train a machine learning model for identifying the size data of the melamine tableware.
[0047] The control module trains a machine learning model to identify the size data of melamine tableware in the following way:
[0048] First, collect a historical training data set, which includes N groups of training data, where N is a positive integer, and each group of training data includes feature data and label data;
[0049] The feature data includes image color and edge features;
[0050] The color of the picture represents the color of the melamine tableware photos collected by the visual sensor when collecting each set of training data;
[0051] The edge features represent the edge position points of the melamine tableware in the melamine tableware photos collected by the visual sensor when collecting each set of training data;
[0052] The label data represents the size data of the edge position points of the melamine tableware in the melamine tableware photos collected by the visual sensor when collecting each set of training data;
[0053] The feature data in each set of training data is used as the input of the machine learning model, and the size data predicted by the machine learning model for the feature data is used as the output. The size data in the label data corresponding to the feature data is used as the prediction target, and the training goal is to minimize the sum of all prediction errors. The calculation formula for the prediction error is ai=(bi-ci) 2 , where ai is the prediction error, bi is the predicted size data corresponding to the i-th group of feature data, and ci is the size data in the i-th group of label data. The machine learning model is trained until the sum of the prediction errors reaches convergence and the training is stopped. It should be noted that the convergence standard is set by those skilled in the art according to the specific model training;
[0054] It should also be emphasized that the size data represent the width values of the melamine tableware in the melamine tableware photos collected by the visual sensor;
[0055] In order to ensure the accuracy of laser marking of melamine tableware by the laser module 24, ai≤0.001 can be set, that is, when the sum of the prediction errors is less than or equal to 0.001, that is, when the error between the predicted width value of the melamine tableware in the melamine tableware photo and the width value of the melamine tableware in the actual melamine tableware photo is less than or equal to 0.001, it means that the machine learning model training is completed and can be applied to the melamine tableware offset calibration laser marker for adaptive compensation. The specific working process is as follows:
[0056] like Figure 8As shown in the figure, point m in the figure represents the position where the laser module 24 needs to perform laser marking, and point n represents the edge position point. When the length between the laser module 24 and point n is l1, the laser module 24 is just above point m, that is, the position of the laser module 24 is accurate. At this time, the size data of the edge position point of the melamine tableware in the photo of the melamine tableware collected by the vision sensor, that is, the width value of the melamine tableware in the photo of the melamine tableware is d1;
[0057] When the length between the laser module 24 and point n is l2, the laser module 24 is at the upper right of point m, that is, the position of the laser module 24 is offset. At this time, the size data of the edge position point of the melamine tableware in the photo of the melamine tableware collected by the vision sensor, that is, the width value of the melamine tableware in the photo of the melamine tableware is d2. Based on the imaging principle, since l2 > l1, so d2 < d1. At this time, the position of the laser module 24 can be adjusted to make the laser module 24 above point m to ensure the accuracy of the laser marking position;
[0058] When the length between the laser module 24 and point n is l3, the laser module 24 is at the upper left of point m, that is, the position of the laser module 24 is offset. At this time, the size data of the edge position point of the melamine tableware in the photo of the melamine tableware collected by the vision sensor, that is, the width value of the melamine tableware in the photo of the melamine tableware is d3. Based on the imaging principle, since l3 < l1, so d3 > d1. At this time, the position of the laser module 24 can be adjusted to make the laser module 24 above point m to ensure the accuracy of the laser marking position;
[0059] It should be noted that the adjustment amount of the position of the laser module 24 is related to the width value of the melamine tableware in the photo of the melamine tableware. The specific adjustment amount can be determined by those skilled in the art using the control PC5 to establish a regression model.
[0060] Embodiment 2
[0061] Different from Embodiment 1, the measurement module 25 is an attitude detection module, and the attitude detection module is a laser rangefinder. It should be noted that the specifications of the laser rangefinder are adaptively adjusted by those skilled in the art according to the specific use of the measurement module 25.
[0062] The attitude detection module collects the attitude data of the melamine tableware through the laser rangefinder. The attitude data is the distance data of the melamine tableware, and the distance data represents the distance length between the laser marking mechanism 2 and the melamine tableware. The marking coordinates of the laser marking mechanism 2 are calculated based on the distance length;
[0063] It should be noted that the distance length specifically refers to the length from the edge position point of the melamine tableware to the laser rangefinder. A technician in this field presets a length threshold, and the length threshold can be a range of values. When the distance length collected by the laser rangefinder is not within the range of the length threshold, it means that the spatial position between the melamine tableware and the laser module 24 is offset. At this time, the position of the laser module 24 is adjusted according to the size between the distance length and the length threshold, so that the laser module 24 is directly above the laser marking point on the melamine tableware, thereby ensuring the accuracy of the laser module 24's laser marking position on the melamine tableware.
[0064] Example 3
[0065] like Figure 2 and Figure 4 As shown, the transport mechanism 3 includes two groups of mechanism sliders 31, and the sides of the two groups of mechanism sliders 31 are fixedly connected with ball nuts 32, and a connecting beam 33 is fixedly connected between the two groups of mechanism sliders 31. The bottom surface of the connecting beam 33 is slidably connected with two groups of clamping mechanisms 34. It should be noted that a lead screw is installed on the side walls of the tableware conveying track 14 through bearings, and the lead screw and the ball nut 32 match each other. An electric motor is installed inside the base body 11, and the output shaft of the motor is meshed with the lead screw through a gear. In this way, after turning on the motor, the output shaft of the motor can drive the lead screw to rotate through the gear, and the rotating lead screw can also cooperate with the ball nut 32 to move the ball nut 32 along the axial direction of the lead screw. The moving ball nut 32 can drive the mechanism slider 31 to allow the mechanism slider 31 to move freely along the track direction in the tableware conveying track 14.
[0066] like Figure 4 and Figure 5 As shown, the clamping mechanism 34 includes two groups of moving columns 341, a clamping rod 342 is fixedly connected between the two groups of moving columns 341, and two rotating rods 343 are rotatably connected to the top surface of the clamping rod 342. An electric actuator is installed inside the connecting beam 33, and the electric actuator is used to drive the moving columns 341;
[0067] It should be noted that a slide groove matching the moving column 341 is provided at a position near the moving column 341 on the bottom surface of the connecting crossbeam 33, a lead screw is installed in the slide groove through a bearing, and a threaded groove matching the lead screw is provided at a position near the lead screw on the top of the moving column 341. A set of motors (not shown in the figure) can be installed on the top surface of the connecting crossbeam 33, and the output shaft of the motor is meshed with the side of the lead screw through a gear. When the motor is turned on, the output shaft of the motor can drive the lead screw to rotate through the gear, and the rotating lead screw will drive the moving column 341, so that the moving column 341 can slide freely in the slide groove along the groove wall direction;
[0068] It should also be noted that the inner side of the moving column 341 is set with an inclined surface. When the moving column 341 moves to the position of the melamine tableware, the two moving columns 341 will be on the side of the melamine tableware, and then the two moving columns 341 are controlled to move toward each other, so that the two moving columns 341 will clamp the melamine tableware, thereby realizing the transportation of the melamine tableware.
[0069] like Figure 6 and Figure 7 As shown, a driving mechanism 344 is installed inside the clamping rod 342, one end of the driving mechanism 344 is connected to a hydraulic cylinder 345, two sides of the driving mechanism 344 are meshed with transmission gears 346, and a side of the transmission gear 346 away from the driving mechanism 344 is meshed with a driving gear 347, and the top surface of the driving gear 347 is fixedly connected to the rotating shaft of the rotating rod 343;
[0070] It should be noted that the driving mechanism 344 includes a driving member 3441, a piston chamber 3442 is provided inside the driving member 3441, a driving piston 3443 is provided inside the piston chamber 3442, one end of the driving piston 3443 is connected to the output end of the hydraulic cylinder 345, an air delivery channel 3444 is provided inside the driving piston 3443, one end of the air delivery channel 3444 is communicated with the piston chamber 3442, the other end of the air delivery channel 3444 is connected to an air delivery pipe 3445, the end of the air delivery pipe 3445 away from the air delivery channel 3444 is connected to an air pump, and the air pump can fill air into the piston chamber 3442, and a movable track 3446 is provided on the outer side of the driving member 3441, and the driving member 3441 can slide freely along the track direction in the movable track 3446;
[0071] When the two moving columns 341 clamp the melamine tableware, the hydraulic cylinder 345 can be opened, and the output end of the hydraulic cylinder 345 will push the driving piston 3443, and the driving piston 3443 will move in the moving track 3446. When the air pressure in the moving track 3446 is large enough, the driving member 3441 will move synchronously, and a coaxial gear 348 is installed on the top surface of the transmission gear 346. The coaxial gear 348 is meshed with the side of the driving member 3441, so that the moving driving member 3441 will be moved by the coaxial gear. The wheel 348 drives the transmission gear 346 to rotate, and the rotating transmission gear 346 drives the driving gear 347 to rotate. Since the top surface of the driving gear 347 is fixedly connected to the rotating shaft of the rotating rod 343, the driving gear 347 drives the rotating rod 343 to rotate, and the rotating rotating rod 343 is stuck on the side of the melamine tableware. The two moving columns 341 can be used to stably clamp the melamine tableware, ensuring that the melamine tableware will not move during transportation and laser marking, thereby ensuring the stability of the melamine tableware.
[0072] In addition, the air provided in the piston cavity 3442 can play a buffering role to prevent the rotating rod 343 from exerting too much clamping force on the side of the melamine tableware, thereby causing the melamine tableware to slip or break.
[0073] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. Melamine tableware offset calibration laser marker with adaptive compensation function, characterized in that: include: A device base (1) has a movable plate (4) slidably connected to one side thereof, and a control PC (5) is disposed on the top surface of the movable plate (4); A laser marking mechanism (2) disposed on the top of the device base (1); A transport mechanism (3) disposed on the top surface of the device base (1), the transport mechanism (3) being used to transport and clamp melamine tableware; The laser marking mechanism (2) is equipped with a control module and a posture detection module, the posture detection module collects posture data of the melamine tableware in real time, and the control module calculates the marking coordinates of the laser marking mechanism (2) based on the posture data; The device base (1) controls the position of the laser marking mechanism (2) based on the marking coordinates; The device base (1) comprises a base body (11), a Z-axis column (12) is fixedly connected to a corner of the top surface of the base body (11), a tableware conveying track (14) is fixedly connected to the top surface of the base body (11), and a marking platform (15) is fixedly connected to the center of the top surface of the tableware conveying track (14); The laser marking mechanism (2) comprises a lifting slider (21), one side of the lifting slider (21) is fixedly connected to an X-axis hydraulic cylinder (22), the output end of the X-axis hydraulic cylinder (22) is connected to a Y-axis hydraulic cylinder (23) via a hydraulic rod, the output end of the Y-axis hydraulic cylinder (23) is connected to a laser module (24) via a hydraulic rod, and the side of the laser module (24) is fixedly connected to a measuring module (25); The measuring module (25) is a posture detection module, and the posture detection module is a visual sensor or a laser rangefinder; The posture detection module collects posture data of the melamine tableware through a visual sensor, the posture data is image data of the melamine tableware, and trains a machine learning model for identifying the size data of the melamine tableware using a convolutional neural network model based on the image data; The control module calculates the marking coordinates of the laser marking mechanism (2) based on the size data of the melamine tableware; The control module trains a machine learning model to identify the size data of melamine tableware in the following way: Collect a historical training data set, the historical training data set includes N groups of training data, N is a positive integer, and each group of training data includes feature data and label data; The feature data includes image color and edge features; The color of the picture represents the color of the melamine tableware photos collected by the visual sensor when collecting each set of training data; The edge features represent the edge position points of the melamine tableware in the melamine tableware photos collected by the visual sensor when collecting each set of training data; The label data represents the size data of the edge position points of the melamine tableware in the melamine tableware photos collected by the visual sensor when collecting each set of training data; The feature data in each set of training data is used as the input of the machine learning model, and the size data predicted by the machine learning model for the feature data is used as the output. The size data in the label data corresponding to the feature data is used as the prediction target, and the training goal is to minimize the sum of all prediction errors. The calculation formula for the prediction error is ai=(bi-ci) 2 , where ai is the prediction error, bi is the predicted size data corresponding to the i-th group of feature data, and ci is the size data in the i-th group of label data. The machine learning model is trained until the sum of the prediction errors converges and the training is stopped.
2. The melamine tableware offset calibration laser marker with adaptive compensation function according to claim 1, characterized in that: A threaded rod is installed inside the Z-axis column (12) via a rotating shaft, a threaded groove matching the threaded rod is provided inside the lifting slider (21), a driving motor is installed inside the base body (11), and an output shaft of the driving motor is fixedly connected to the bottom end of the threaded rod via a coupling.
3. The melamine tableware offset calibration laser marker with adaptive compensation function according to claim 2, characterized in that: The transport mechanism (3) comprises two groups of mechanism sliders (31), the sides of the two groups of mechanism sliders (31) are fixedly connected with ball nuts (32), a connecting crossbeam (33) is fixedly connected between the two groups of mechanism sliders (31), and the bottom surface of the connecting crossbeam (33) is slidably connected with two groups of clamping mechanisms (34).
4. The melamine tableware offset calibration laser marker with adaptive compensation function according to claim 3, characterized in that: The clamping mechanism (34) comprises two groups of movable columns (341), a clamping rod (342) being fixedly connected between the two groups of movable columns (341), two rotating rods (343) being rotatably connected to the top surface of the clamping rod (342), and an electric actuator being installed inside the connecting crossbeam (33), the electric actuator being used to drive the movable columns (341).
5. The melamine tableware offset calibration laser marker with adaptive compensation function according to claim 1, characterized in that: The posture detection module collects posture data of the melamine tableware through a laser rangefinder. The posture data is distance data of the melamine tableware. The distance data represents the distance length between the laser marking mechanism (2) and the melamine tableware. The marking coordinates of the laser marking mechanism (2) are calculated based on the distance length.
6. The melamine tableware offset calibration laser marker with adaptive compensation function according to claim 4, characterized in that: A driving mechanism (344) is installed inside the clamping rod (342), one end of the driving mechanism (344) is connected to a hydraulic cylinder (345), both sides of the driving mechanism (344) are meshed with transmission gears (346), a side of the transmission gear (346) away from the driving mechanism (344) is meshed with a driving gear (347), and the top surface of the driving gear (347) is fixedly connected to the rotating shaft of the rotating rod (343).
