Multi-direction and multi-size marking device
By designing multi-directional and multi-size marking devices, using the coordinated work of the X-axis, Y-axis moving mechanism and rotating mechanism, the problem that the prior art cannot meet the marking needs of different sizes and sides is solved, and a wider scope of application and higher efficiency are achieved.
Patent Information
- Application Number
- CN202421825753.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2034-07-30
AI Technical Summary
The existing laser marking technology can only mark a fixed side of a target object of fixed size, and cannot meet the marking needs of target objects of different sizes or different sides of target objects, resulting in a narrow scope of application of marking mechanisms.
A multi-directional and multi-size marking device is designed, including an X-axis moving mechanism, a Y-axis moving mechanism, a rotating mechanism, a marking mechanism and a code reader. Through the coordinated work of these mechanisms, the movement and 360° rotation of the marking mechanism in the X-axis and Y-axis directions can be realized, so that the product information of the target object can be automatically identified and targeted marking can be carried out.
The ability to mark different sizes of target objects and different sides of target objects is achieved, the scope of application of marking is expanded, and the marking efficiency is improved through automatic identification and control.
Smart Images

Figure CN222902910U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mechanical technology, and in particular to a multi-directional and multi-size marking device. Background Art
[0002] Laser marking technology has made great progress in the past few decades. With the continuous innovation and upgrading of laser devices, laser marking technology has been widely used in electronics, automobile manufacturing, medical equipment and other industries.
[0003] The current laser marking technology is usually implemented by installing a marking mechanism on a fixed mechanism and performing laser marking on the target object.
[0004] However, the inventors found that this method can only mark a fixed side (for example, the top side) of a target object of a fixed size, and cannot meet the marking requirements of target objects of different sizes or different sides of the target object, resulting in a very narrow scope of application of the marking mechanism. Utility Model Content
[0005] The present application provides a multi-directional and multi-size marking device to solve the problem that the current marking mechanism can only mark a fixed side of a target object of a fixed size, but cannot meet the marking requirements of target objects of different sizes or different sides of the target object, resulting in a very narrow application scope of the marking mechanism.
[0006] In a first aspect, the present application provides a multi-directional and multi-size marking device, comprising: an X-axis moving mechanism, a Y-axis moving mechanism, a rotating mechanism, a marking mechanism, and a code reader;
[0007] The Y-axis moving mechanism is movably connected to the X-axis moving mechanism;
[0008] The rotating mechanism is fixed on the Y-axis moving mechanism;
[0009] The rotating mechanism is connected to the marking mechanism, and the marking mechanism has a marking head, and the marking head is used to mark the target object;
[0010] The code reader is fixed on the marking mechanism, and the code reader is used to obtain product information of the target object.
[0011] In the above scheme, the X-axis moving mechanism includes: an X-axis servo motor, an X-axis fixed bracket, an X-axis lead screw module and an X-coupling;
[0012] The X-axis servo motor is fixed on the outside of the X-axis fixed bracket;
[0013] The X-axis lead screw module is fixed inside the X-axis fixed bracket;
[0014] The motor shaft of the X-axis servo motor is connected to the X-axis lead screw module through the X-coupling;
[0015] The Y-axis moving mechanism is connected to the X-axis lead screw module.
[0016] In the above scheme, the Y-axis moving mechanism includes: a Y-axis servo motor, a Y-axis fixed bracket, a Y-axis lead screw module and a Y coupling;
[0017] The Y-axis servo motor is fixed on the outside of the Y-axis fixed bracket;
[0018] The Y-axis lead screw module is fixed inside the Y-axis fixed bracket;
[0019] The motor shaft of the Y-axis servo motor is connected to the Y-axis lead screw module through the Y coupling;
[0020] The rotating mechanism is connected to the Y-axis lead screw module.
[0021] In the above scheme, the rotating mechanism includes: a rotating fixed plate, a rotating cylinder and a rotating connecting shaft;
[0022] The rotating fixed plate is connected to the Y-axis moving mechanism;
[0023] The rotary cylinder is fixed on the rotary fixed plate;
[0024] The rotary cylinder is connected to one end of the rotary connecting shaft;
[0025] The other end of the rotary connecting shaft is connected to the marking mechanism.
[0026] In the above scheme, the marking mechanism includes: a connecting block, a marking head and a controller;
[0027] The connecting block is connected to the rotating mechanism;
[0028] The marking head is connected to the connection block, the controller is connected to the connection block, and a control cable of the controller passes through the connection block and is connected to the marking head.
[0029] In a second aspect, the present application provides a multi-directional and multi-size marking method, using the multi-directional and multi-size marking device described above, comprising:
[0030] When it is detected that the target object moves to the marking station, the barcode scanner is called to scan the identification code of the target object to obtain the product information of the target object;
[0031] Determine the shape information and marking surface information of the target object according to the product information; wherein the shape information includes at least one coordinate point, and the coordinate point is the spatial coordinate of a point on the outer contour of the target object; the spatial coordinate includes an X-axis coordinate for representing the position in the X-axis direction, a Y-axis coordinate for representing the position in the Y-axis direction, and a Z-axis coordinate for representing the position in the Z-axis direction; the marking surface information is used to represent the side surface on which the marking is performed on the target object, and the side surface is the marking surface of the target object;
[0032] Generate position information according to the shape information and the marking surface information; wherein the position information includes a marking position and a marking angle, the marking position is the center point of the area on the marking surface for marking; the marking angle is the angle between the marking surface and the horizontal plane;
[0033] According to the position information, the X-axis moving mechanism and the Y-axis moving mechanism are controlled to operate so that the reference point of the marking mechanism moves to a specified position; wherein a line between the specified position and the marking position is perpendicular to the marking surface; and the reference point is a center point of a plane on the marking head of the marking mechanism for marking the target object;
[0034] Driving the rotating mechanism according to the marking angle so that the plane on the marking head used for marking the target object is parallel to the marking surface;
[0035] The marking mechanism is controlled to mark the target object.
[0036] In the above solution, determining the shape information and marking surface of the target object according to the product information includes:
[0037] Acquire shape information corresponding to the product information from a preset first database;
[0038] A marking surface corresponding to the product information is obtained from a preset second database.
[0039] In the above solution, generating the position information according to the shape information and the marking surface information includes:
[0040] Acquire a marking coordinate set of the marking surface from the shape information; wherein the marking coordinate set records all coordinate points located on the marking surface;
[0041] Determine the marking center coordinates according to the marking coordinate set; wherein the marking center coordinates are used to represent the center point of the marking surface;
[0042] Entering the marking center coordinates into the marking function in the marking surface information to obtain the marking position;
[0043] Two coordinate points with consistent Z-axis coordinates in the marking coordinate set are extracted, and the angle between the marking surface and the horizontal plane is calculated based on the two extracted coordinate points to obtain the marking angle.
[0044] In the above scheme, the X-axis moving mechanism and the Y-axis moving mechanism are controlled to operate according to the position information so that the reference point of the marking mechanism moves to the specified position, including:
[0045] Taking the marking position as a starting point, moving a preset marking distance in a direction perpendicular to the marking surface to obtain an execution coordinate; wherein the execution coordinate is used to represent the designated position;
[0046] The X-axis moving mechanism and the Y-axis moving mechanism are controlled to operate according to the execution coordinates, so that the reference point of the marking mechanism moves to a specified position.
[0047] In the above scheme, the rotating mechanism is driven according to the marking angle so that the plane on the marking head used for marking the target object is parallel to the marking surface, including:
[0048] Generate a driving time based on the marking angle according to a preset time-angle mapping table; wherein the time-angle mapping table records at least one rotation angle and a rotation time corresponding to each rotation angle; the driving time is the rotation time of the rotation angle corresponding to the marking angle;
[0049] According to the driving time, the rotary cylinder in the rotary mechanism is driven to drive the marking mechanism to rotate, so that the plane where the reference point of the marking head is located is parallel to the marking surface.
[0050] The present application provides a multi-directional and multi-size marking device, which enables the marking mechanism to move in the X-axis direction and the Y-axis direction by setting an X-axis moving mechanism and a Y-axis moving mechanism, and then adjusts the spatial position of the marking mechanism in the X-axis direction and the Y-axis direction to adjust the distance between the marking mechanism and target objects of different sizes, thereby achieving the technical effect that the marking mechanism can mark target objects of different sizes; by setting a rotating mechanism, the marking mechanism can rotate 360°, so that the marking mechanism can mark any side of the target object; therefore, the present application achieves the technical effect of marking target objects of different sizes and different sides of the target object, and expands the scope of application of target object marking.
[0051] By setting a code reader to identify the product information of the target object, and controlling the X-axis moving mechanism, Y-axis moving mechanism and rotating mechanism according to the product information, the marking position of the target object is marked, thereby achieving the technical effect of automatically identifying different target objects and automatically performing targeted marking operations on different target objects, greatly improving the marking efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0053] Figure 1 A schematic diagram of the structure of a multi-directional and multi-size marking device provided in this application;
[0054] Figure 2 A flowchart of a multi-directional and multi-size marking method provided for this application.
[0055] Reference numerals:
[0056] 1: X-axis moving mechanism;
[0057] 2: Y-axis moving mechanism;
[0058] 3: Rotating mechanism;
[0059] 4: Marking mechanism;
[0060] 5: Code reader;
[0061] 6: Tank chain;
[0062] 11: X-axis servo motor;
[0063] 12: X-axis fixing bracket;
[0064] 13: X-axis screw module;
[0065] 14: X coupling;
[0066] 21: Y-axis servo motor;
[0067] 22: Y-axis fixing bracket;
[0068] 23: Y-axis screw module;
[0069] 24: Y coupling;
[0070] 31: Rotating fixed plate;
[0071] 32: Rotating cylinder;
[0072] 33: Rotating connecting shaft;
[0073] 41: connection block;
[0074] 42: marking head;
[0075] 43: Controller.
[0076] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0077] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the appended claims.
[0078] The following specific embodiments are used to describe in detail the technical solutions of the embodiments of the present application and how the technical solutions of the embodiments of the present application solve the current problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0079] Embodiment 1:
[0080] See also Figure 1 , the present application provides a multi-directional and multi-size marking device, comprising: an X-axis moving mechanism 1, a Y-axis moving mechanism 2, a rotating mechanism 3, a marking mechanism 4 and a code reader 5;
[0081] The Y-axis moving mechanism 2 is movably connected to the X-axis moving mechanism 1;
[0082] The rotating mechanism 3 is fixed on the Y-axis moving mechanism 2;
[0083] The rotating mechanism 3 is connected to the marking mechanism 4, and the marking mechanism 4 has a marking head 42, and the marking head 42 is used to mark the target object;
[0084] The code reader 5 is fixed on the marking mechanism 4 , and the code reader 5 is used to obtain product information of the target object.
[0085] In this example, by setting the X-axis moving mechanism 1 and the Y-axis moving mechanism 2, the marking mechanism 4 can move in the X-axis direction and the Y-axis direction, and then adjust the spatial position of the marking mechanism in the X-axis direction and the Y-axis direction to adjust the distance between the marking mechanism and the target objects of different sizes, thereby achieving the technical effect that the marking mechanism 4 can mark the target objects of different sizes;
[0086] By setting the rotating mechanism 3 so that the marking mechanism 4 can rotate 360°, the marking mechanism 4 can mark any side of the target object; therefore, the present application achieves the technical effect of marking target objects of different sizes and different sides of the target object, thereby expanding the scope of application of target object marking.
[0087] By setting a code reader 5 to identify the product information of the target object, and controlling the X-axis moving mechanism 1, the Y-axis moving mechanism 2 and the rotating mechanism 3 according to the product information, the marking position of the target object is marked, thereby achieving the technical effect of automatically identifying different target objects and automatically performing targeted marking operations on different target objects, thereby greatly improving the marking efficiency.
[0088] The barcode reader 5 is a device that can read the information contained in a barcode (including one-dimensional and two-dimensional codes). By reading the barcode, the barcode reader 5 can convert the information in the barcode into a digital signal and transmit it to a computer or other device via a data cable or wirelessly to achieve product tracking, production control, automatic identification and other functions.
[0089] Optionally, it also includes at least one tank chain 6, which is respectively connected to the X-axis moving mechanism 1 and the Y-axis moving mechanism 2, and is respectively used to accommodate the cables of the X-axis moving mechanism 1 and the Y-axis moving mechanism 2 to protect the cables from damage.
[0090] In a preferred embodiment, the X-axis moving mechanism 1 comprises: an X-axis servo motor 11, an X-axis fixed bracket 12, an X-axis lead screw module 13 and an X coupling 14;
[0091] The X-axis servo motor 11 is fixed on the outside of the X-axis fixed bracket 12;
[0092] The X-axis lead screw module 13 is fixed inside the X-axis fixed bracket 12;
[0093] The motor shaft of the X-axis servo motor 11 is connected to the X-axis lead screw module 13 via an X-coupling 14;
[0094] The Y-axis moving mechanism 2 is connected to the X-axis lead screw module 13 .
[0095] In this example, an X-axis servo motor 11 is provided to provide power for the movement of the Y-axis moving mechanism 2 in the X-axis direction; an X-axis fixed bracket 12 is provided to fix the X-axis servo motor 11 and the X-axis screw module 13; the X-axis screw module 13 is provided to convert the torque output by the X-axis servo motor 11 into power for driving the Y-axis moving mechanism 2 to move in the X-axis direction; an X-coupling 14 is provided to introduce additional flexibility in transmitting torque and reduce the impact load transmitted from one axis to another.
[0096] The X-axis servo motor 11 is a motor used to control the operation of mechanical components in a servo system. The servo motor can convert voltage signals into torque and speed to drive the control object and achieve high-precision speed and position control.
[0097] The X-axis bracket includes an X-axis base plate, an X-axis side plate and an X-axis end plate; two X-axis side plates are fixed on both sides of the X-axis base plate, and two X-axis end plates are fixed on both ends of the X-axis base plate, so that the two X-axis side plates and the two X-axis end plates are surrounded on the X-axis base plate to form an X-axis space; the X-axis servo motor 11 is fixed on the X-axis end plate, the X-axis screw module 13 is fixed in the X-axis space, and the X-axis coupling is located inside the X-axis space.
[0098] The X-axis screw module 13 is a mechanical motion control system composed of components such as a spiral screw and a guide rod. It realizes precise control of mechanical motion by converting rotary motion into linear motion, or converting linear motion into rotary motion. The working principle of the screw module is based on the transmission principle of the ball screw. The ball screw consists of a screw, a nut and a ball. When the motor drives the screw to rotate, the ball rolls between the screw and the nut, converting the rotary motion into linear motion. Since the rolling friction resistance of the ball is small, the ball screw has high transmission efficiency and precision. Among them, the X-axis coupling is connected to one end of the screw of the X-axis screw module 13.
[0099] In a preferred embodiment, the Y-axis moving mechanism 2 includes: a Y-axis servo motor 21, a Y-axis fixed bracket 22, a Y-axis lead screw module 23 and a Y coupling 24;
[0100] The Y-axis servo motor 21 is fixed on the outside of the Y-axis fixed bracket 22;
[0101] The Y-axis lead screw module 23 is fixed inside the Y-axis fixed bracket 22;
[0102] The motor shaft of the Y-axis servo motor 21 is connected to the Y-axis lead screw module 23 via a Y-coupling 24;
[0103] The rotating mechanism 3 is connected to the Y-axis screw module 23 .
[0104] In this example, a Y-axis servo motor 21 is provided to provide power for the movement of the rotating mechanism 3 in the Y-axis direction; a Y-axis fixed bracket 22 is provided to fix the Y-axis servo motor 21 and the Y-axis screw module 23; the Y-axis screw module 23 is provided to convert the torque output by the Y-axis servo motor 21 into power for driving the rotating mechanism 3 to move in the Y-axis direction; a Y coupling 24 is provided to introduce additional flexibility when transmitting torque and reduce the impact load transmitted from one axis to another.
[0105] The Y-axis servo motor 21 is a motor used to control the operation of mechanical components in a servo system. The servo motor can convert voltage signals into torque and speed to drive the control object and achieve high-precision speed and position control.
[0106] The Y-axis bracket includes a Y-axis base plate, a Y-axis side plate and a Y-axis end plate; the two Y-axis side plates are fixed on both sides of the Y-axis base plate, and the two Y-axis end plates are fixed on both ends of the Y-axis base plate, so that the two Y-axis side plates and the two Y-axis end plates are surrounded by the Y-axis base plate to form a Y-axis space; the Y-axis servo motor 21 is fixed on the Y-axis end plate, the Y-axis screw module 23 is fixed in the Y-axis space, and the Y-axis coupling is located inside the Y-axis space.
[0107] The Y-axis screw module 23 is a mechanical motion control system composed of components such as a spiral screw and a guide rod. It realizes precise control of mechanical motion by converting rotary motion into linear motion, or converting linear motion into rotary motion. The working principle of the screw module is based on the transmission principle of a ball screw. The ball screw consists of a screw, a nut and a ball. When the motor drives the screw to rotate, the ball rolls between the screw and the nut, converting rotary motion into linear motion. Since the rolling friction resistance of the ball is small, the ball screw has high transmission efficiency and precision. Among them, the Y-axis coupling is connected to one end of the screw of the Y-axis screw module 23.
[0108] In a preferred embodiment, the rotating mechanism 3 includes: a rotating fixed plate 31, a rotating cylinder 32 and a rotating connecting shaft 33;
[0109] The rotating fixed plate 31 is connected to the Y-axis moving mechanism 2;
[0110] The rotary cylinder 32 is fixed on the rotary fixed plate 31;
[0111] The rotary cylinder 32 is connected to one end of the rotary connecting shaft 33;
[0112] The other end of the rotary connecting shaft 33 is connected to the marking mechanism 4 .
[0113] In this example, a rotating fixing plate 31 is provided to fix the rotating structure on the nut of the Y-axis screw module 23 of the Y-axis moving mechanism 2, and a rotating cylinder 32 and a rotating connecting shaft 33 are provided to drive the marking mechanism 4 to rotate.
[0114] The rotary connecting shaft 33 is provided to connect the marking mechanism 4 , which not only transmits torque but also reduces the load of assembly adjustment and protects the rotary cylinder 32 .
[0115] Optionally, the rotating mechanism 3 further includes: a pilot throttle valve and a gas cut-off protection joint;
[0116] The pilot throttle valve is connected to the rotary cylinder 32;
[0117] The gas cut-off protection joint is connected to the pilot throttle valve;
[0118] The gas cut-off protection joint is also connected to the gas source.
[0119] In this example, the pilot throttle valve is a common control valve that can control the flow and pressure of the fluid by changing the opening of the throttle element. The pilot throttle valve is often used in hydraulic systems to stabilize and regulate the system pressure. Its main working principle is to form a pressure difference on the throttle element through the fluid, so that the pressure of the front and rear cavities is different, thereby achieving the purpose of controlling the flow and pressure.
[0120] The gas cut-off protection joint is an important safety component to protect the safety of users and production equipment. It is usually used to prevent explosions or safety accidents caused by abnormal conditions such as pipeline rupture and sparks. The working principle of the gas cut-off protection joint is usually based on a certain trigger mechanism, such as pressure change, temperature change or mechanical failure. When these trigger conditions are met, the gas cut-off protection joint will automatically start, close the valve or cut off the gas line to prevent the gas from continuing to flow. For example, in a compressed air system, when the hose ruptures or breaks and the air flow exceeds the preset value, the gas cut-off protection joint will automatically cut off the gas source.
[0121] In a preferred embodiment, the marking mechanism 4 includes: a connecting block 41, a marking head 42 and a controller 43;
[0122] The connecting block 41 is connected to the rotating mechanism 3;
[0123] The marking head 42 is connected to the connection block 41 , the controller 43 is connected to the connection block 41 , and a control cable of the controller 43 passes through the connection block 41 and is connected to the marking head 42 .
[0124] In this example, a connection block 41 is provided to support the marking head 42 and the controller 43 , and the connection block 41 is connected to the rotating shaft of the rotating mechanism 3 , so that the marking mechanism 4 is rotatably connected to the rotating mechanism 3 .
[0125] The marking head 42 is used to guide and focus the laser beam onto the target object, thereby completing the engraving of graphics or marking of text. The marking head 42 is an important component of the laser marking machine. The marking head 42 includes a laser scanning galvanometer, optical elements and a motor drive system.
[0126] The laser scanning galvanometer is used to scan the laser beam in the X and Y axis directions by controlling the angle of the optical element, thereby achieving deflection and focusing of the laser beam.
[0127] Optical elements include one or more of lenses, reflectors, and beam expanders. Optical elements are used to adjust the direction of the laser beam, the size and position of the focal point, and ensure that the laser beam can accurately irradiate the marking material.
[0128] The motor drive system is used to drive the laser scanning galvanometer for scanning motion. Through the computer-controlled motor drive system, the scanning speed and scanning trajectory of the galvanometer can be accurately controlled to achieve high-precision marking.
[0129] The controller 43 is used to encode the input graphics or text as digital signals under the management and control of the computer, and perform digital-to-analog and analog-to-digital conversion. Subsequently, the signal is amplified by the isolation power amplifier, and the motor drive system is controlled to drive the laser scanning galvanometer to perform scanning motion to continuously adjust the angle of the optical element, thereby leaving a very fine track on the marking material, completing the marking of the graphics or text received by the controller 43 on the target object.
[0130] Embodiment 2:
[0131] See also Figure 1 and Figure 2 The present application provides a multi-directional and multi-size marking method, using the multi-directional and multi-size marking device in the first embodiment, including:
[0132] S201: When it is monitored that the target object moves to the marking station, a barcode scanner is called to scan the identification code of the target object to obtain product information of the target object.
[0133] In this example, the station sensor is installed on the marking station to detect whether the target object is accurately placed at the loading position on the marking station; when the station sensor detects that the target object is accurately placed at the loading position, the station sensor will send a station signal indicating that the target object has moved to the marking station, and call the scanner to scan the identification code (such as a QR code, barcode, etc.) of the target object according to the station signal to read the product information of the target object. In this embodiment, based on optical recognition technology, a camera is used to capture images, and the shape and position of the code are identified through an image processing algorithm, and finally decoded to obtain information.
[0134] In this embodiment, the multi-directional and multi-size marking method runs in the microprocessor of the multi-directional and multi-size marking device. The microprocessor is a central processing unit composed of one or a few large-scale integrated circuits. These circuits perform the functions of the control unit and the arithmetic logic unit. The microprocessor can complete operations such as fetching instructions, executing instructions, and exchanging information with external memory and logic components. It is the operation control part of the microcomputer. It can form a microcomputer with memory and peripheral circuit chips. The microprocessor is a processor used to control the X-axis moving mechanism 1, the Y-axis moving mechanism 2, the rotating mechanism 3, the marking mechanism 4 and the code reader 5 in the multi-directional and multi-size marking device.
[0135] In an optional embodiment, when it is detected that the target object moves to the marking station, a barcode scanner is called to scan the identification code of the target object to obtain product information of the target object, including:
[0136] When a station signal is received from a station sensor, it is determined that the target object has been placed on the marking station;
[0137] Control the barcode scanner to scan the identification code on the target object to obtain the product identification;
[0138] The product information corresponding to the product identifier is obtained from a preset identifier mapping table.
[0139] In this example, the barcode scanner is controlled to scan the identification code on the target object to obtain the product identification, including:
[0140] Call the barcode scanner to use the camera to capture the identification code image.
[0141] The scanning program of the barcode scanner is called to convert the image into a digital signal.
[0142] The image processing algorithm in the barcode scanner is called to recognize the shape and position of the identification code, and decode to obtain the information in the identification code to obtain the target object and product identification.
[0143] Any one of a photoelectric sensor, a proximity switch, a magnetic sensor, a piezoelectric sensor, an ultrasonic sensor, an inductive proximity sensor, and a capacitive proximity sensor is used as the work position sensor.
[0144] Among them, photoelectric sensors use the method of emitting and receiving light to determine whether an object is in place. When the light is blocked or reflected by an object, the sensor will receive a signal and trigger the corresponding action.
[0145] The proximity switch is used to utilize the sensitive characteristics of the displacement sensor to approaching objects to achieve the purpose of controlling the switch on or off.
[0146] Magnetic sensors are used to utilize the magnetism of an object and detect magnetic field signals to determine whether the object is in place.
[0147] Piezoelectric sensors are used to utilize the piezoelectric effect to generate electric charge when an object is subjected to external force, thereby determining whether the object is in place.
[0148] Ultrasonic sensors are used to detect the presence and location of objects by transmitting short pulses of ultrasonic waves toward the target and reflecting the ultrasonic waves back to the sensor.
[0149] Inductive proximity sensors are used to detect metal objects that disrupt the electromagnetic field emitted within the sensor body. The reliable detection distance depends on the type of metal and the amount of metal within the sensor range.
[0150] Capacitive proximity sensors are used to utilize electrostatic fields. These proximity switches can detect non-metallic objects that have a dielectric constant difference with air.
[0151] S202: Determine shape information and marking surface information of the target object according to the product information; wherein the shape information includes at least one coordinate point, which is the spatial coordinate of a point on the outer contour of the target object; the spatial coordinates include an X-axis coordinate for representing the position in the X-axis direction, a Y-axis coordinate for representing the position in the Y-axis direction, and a Z-axis coordinate for representing the position in the Z-axis direction; the marking surface information is used to represent the side surface on the target object to be marked, which side surface is the marking surface of the target object.
[0152] In this example, by determining the shape information and marking surface information of the target object based on the product information, the shape of each target object and the information for marking the side of the target object are determined, providing accurate information support for target objects of different sizes and marking on different sides of the target object.
[0153] In a preferred embodiment, determining the shape information and marking surface of the target object according to the product information includes:
[0154] Acquire shape information corresponding to the product information from a preset first database;
[0155] A marking surface corresponding to the product information is obtained from a preset second database.
[0156] In this example, a relational database is used as the first database and the second database. A relational database (RDBMS) is a database based on a relational model, which uses mathematical concepts and methods such as set algebra to process data in the database. The relational model consists of three parts: data structure (data table), data operation (SQL query language), and integrity constraints (such as primary key constraints, foreign key constraints, etc.). Therefore, by using a relational database as the first database and the second database, it is convenient to quickly obtain shape information and marking surface through product information.
[0157] Specifically, before acquiring shape information corresponding to the product information from a preset first database, the method includes:
[0158] Calling an industrial camera to capture the outer contour of the test object located at the marking station;
[0159] Screening the contour points of the outer contour to obtain at least one key point; wherein the key point is an inflection point or a turning point on the outer contour;
[0160] Entering at least one key point into a preset spatial coordinate system to obtain at least one coordinate point; wherein the coordinate point is the spatial coordinate of the key point in the spatial coordinate system;
[0161] Summarize at least one coordinate point to obtain shape information;
[0162] The product information and shape information of the test object are associated, and the associated product information and shape information are saved in the first database.
[0163] In this example, the industrial camera is a high-resolution color digital camera designed specifically for industrial production and manufacturing. It has high image stability, high transmission capacity and high anti-interference ability, and can collect, transmit, process and analyze high-quality image and video data at high speed, thereby realizing automatic recognition, detection, measurement and control.
[0164] Inflection point, also known as inflection point, refers to the point where the curve changes its upward or downward direction in mathematics. Intuitively speaking, the inflection point is the point where the tangent line crosses the curve, that is, the concave and convex dividing point of the curve. If the function of the curve graph has a second-order derivative at the inflection point, the second-order derivative has a different sign (from positive to negative or from negative to positive) or does not exist at the inflection point.
[0165] Inflection points refer to the places where lines turn at certain positions. The appearance of inflection points means that there is a change in direction on the line, and it may also represent specific information or special meanings in the figure. On the contour line, inflection points can be understood as points where the direction of the contour line changes sharply. These points often correspond to structural features such as edges, corners, and turns of objects.
[0166] Specifically, obtaining a marking surface corresponding to the product information from a preset second database includes:
[0167] Receive the marking surface identifier and marking function sent by the control end; wherein the marking surface identifier reflects the position of the marking surface on the test object; and the marking function defines the position of marking on the marking surface;
[0168] Summarize the marking surface identifier and marking function to obtain the marking surface;
[0169] In this example, the marking surface mark is used to indicate the orientation of the marking surface, such as: front side, rear side, top surface, bottom surface, etc.
[0170] The marking function is used to define the position of marking on the marking surface, for example: M(x1,y1,z1)=N(x+a,y+b,z+c).
[0171] Where x is the coordinate of the center point of the marking surface in the x-axis direction, y is the coordinate of the center point of the marking surface in the y-axis direction, and z is the coordinate of the center point of the marking surface in the z-axis direction; a, b, and c are any rational numbers respectively;
[0172] x1 is the coordinate of the marking position in the x-axis direction, y1 is the coordinate of the marking position in the y-axis direction, and z1 is the coordinate of the marking position in the z-axis direction.
[0173] In this embodiment, the values of a, b, c, and the formula relationship between M(x1, y1, z1) and N(x, y, z) can be set as needed.
[0174] S203: Generate position information according to the shape information and the marking surface information; wherein the position information includes a marking position and a marking angle, the marking position is the center point of the area on the marking surface for marking; the marking angle is the angle between the marking surface and the horizontal plane.
[0175] In this example, by generating position information based on shape information and marking surface information, the marking position and marking angle of the marking head 42 when marking the target object are defined, providing an instruction basis for the subsequent operation of the X-axis moving mechanism 1, the Y-axis moving mechanism 2 and the rotating mechanism 3.
[0176] In a preferred embodiment, generating position information according to shape information and marking surface information includes:
[0177] Acquire a marking coordinate set of the marking surface from the shape information; wherein the marking coordinate set records all coordinate points located on the marking surface;
[0178] Determine the marking center coordinates according to the marking coordinate set; wherein the marking center coordinates are used to represent the center point of the marking surface;
[0179] Enter the marking center coordinates into the marking function in the marking surface information to obtain the marking position;
[0180] Extract two coordinate points with consistent Z-axis coordinates in the marking coordinate set, and calculate the angle between the marking surface and the horizontal plane based on the two extracted coordinate points to obtain the marking angle.
[0181] In this example, the average value x2 of each coordinate point in the marking coordinate set in the x-axis direction, the average value y2 of each coordinate point in the y-axis direction, and the average value z3 of each coordinate point in the z-axis direction are calculated to obtain the marking center coordinates (x2, y2, z2).
[0182] The marking center coordinates are input into the marking function to obtain the marking position, thereby achieving the technical effect of marking a specific position on the marking surface.
[0183] S204: Control the X-axis moving mechanism 1 and the Y-axis moving mechanism 2 to operate according to the position information, so that the reference point of the marking mechanism 4 moves to the specified position; wherein the line between the specified position and the marking position is perpendicular to the marking surface; the reference point is the center point of the plane on the marking head 42 of the marking mechanism 4 for marking the target object.
[0184] In this example, the X-axis moving mechanism 1 and the Y-axis moving mechanism 2 are controlled to operate according to the position information so that the reference point of the marking mechanism 4 is moved to the specified position, thereby achieving the technical effect of controlling the automatic movement of the marking mechanism 4.
[0185] In a preferred embodiment, the X-axis moving mechanism 1 and the Y-axis moving mechanism 2 are controlled to operate according to the position information so that the reference point of the marking mechanism 4 moves to the specified position, including:
[0186] Taking the marking position as the starting point, move the preset marking distance in a direction perpendicular to the marking surface to obtain the execution coordinates; wherein the execution coordinates are used to represent the specified position;
[0187] The X-axis moving mechanism 1 and the Y-axis moving mechanism 2 are controlled to operate according to the execution coordinates, so that the reference point of the marking mechanism 4 moves to the specified position.
[0188] In this example, the marking distance is the space left for the marking head 42 to mark the target object, so that the marking head 42 can mark the target object accurately and smoothly.
[0189] Optionally, controlling the X-axis moving mechanism 1 and the Y-axis moving mechanism 2 to operate according to the execution coordinates so that the reference point of the marking mechanism 4 moves to a specified position includes:
[0190] The number of X-axis rotations is determined according to the distance between the starting coordinate and the execution coordinate in the X-axis direction; wherein the starting coordinate is the coordinate of the marking head 42 of the marking mechanism 4 at the starting position;
[0191] According to the number of rotations of the X-axis, the X-axis moving mechanism 1 is controlled to move, so that the marking mechanism 4 moves in the X-axis direction;
[0192] Read the actual number of X-axis revolutions of the X-axis servo motor 11 recorded in the encoder of the X-axis moving mechanism 1, and if it is determined that the actual number of X-axis revolutions is consistent with the number of X-axis revolutions, instruct the X-axis moving mechanism 1 to stop running, so that the marking head 42 moves from the starting position to the preparation position;
[0193] According to the distance between the starting coordinate and the execution coordinate in the Y-axis direction, determine the number of Y-axis rotations;
[0194] According to the number of rotations of the Y-axis, the Y-axis moving mechanism 2 is controlled to operate, so that the marking mechanism 4 moves in the Y-axis direction;
[0195] Read the actual number of Y-axis revolutions of the Y-axis servo motor 21 recorded in the encoder of the Y-axis moving mechanism 2; if it is determined that the actual number of Y-axis revolutions is consistent with the number of Y-axis rotations, instruct the Y-axis moving mechanism 2 to stop running, so that the marking machine moves from the preparation position to the specified position.
[0196] S205: driving the rotating mechanism 3 according to the marking angle so that the plane on the marking head 42 used for marking the target object is parallel to the marking surface.
[0197] In this example, the rotating mechanism 3 is driven according to the marking angle so that the plane on the marking head 42 used for marking the target object is parallel to the marking surface, and the marking head 42 is aligned with the marking surface of the target object to ensure that the marking surface can be accurately marked later.
[0198] In a preferred embodiment, the rotating mechanism 3 is driven according to the marking angle so that the plane on the marking head 42 for marking the target object is parallel to the marking surface, including:
[0199] Generate a driving time based on the marking angle according to a preset time-angle mapping table; wherein the time-angle mapping table records at least one rotation angle and a rotation time corresponding to each rotation angle; the driving time is the rotation time of the rotation angle corresponding to the marking angle;
[0200] The rotary cylinder 32 in the rotary mechanism 3 is driven according to the driving time to drive the marking mechanism 4 to rotate, so that the plane where the reference point of the marking head 42 is located is parallel to the marking surface.
[0201] In this example, by using the driving time as a technical means to control the rotation angle of the rotating cylinder 32, the present application only needs to control the ventilation time of the rotating cylinder 32 to determine the rotation angle, which greatly improves the controllability and operability of the rotating cylinder 32, has a simple structure and a low failure rate.
[0202] S206: Control the marking mechanism 4 to mark the target object.
[0203] In this example, by controlling the marking mechanism 4 to mark the target object, the technical effect of automatic marking is achieved, which avoids the situation of manually marking the target object and improves the marking efficiency.
[0204] Specifically, the controller 43 of the marking mechanism 4 encodes the input graphics or text as digital signals under the management and control of the computer, and performs digital-to-analog and analog-to-digital conversion. Subsequently, the signal is amplified by the isolation power amplifier, and the motor drive system is controlled to drive the laser scanning galvanometer to perform scanning motion to continuously adjust the angle of the optical element, thereby leaving a very fine track on the marking material, and completing the marking of the graphics or text received by the controller 43 on the target object.
[0205] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0206] Those skilled in the art will readily come to other embodiments of the present application after considering the specification and practicing the utility model disclosed herein. The present application embodiment is intended to cover any variation, use or adaptation of the present application embodiment, which follows the general principles of the present application embodiment and includes common knowledge or customary technical means in the art that are not disclosed in the present application embodiment. The specification and embodiments are to be regarded as exemplary only, and the true scope and spirit of the present application embodiment are indicated by the following claims.
[0207] It should be understood that the embodiments of the present application are not limited to the precise structures described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the embodiments of the present application is limited only by the appended claims.
Claims
1. A multi-directional and multi-size marking device, characterized in that: include: X-axis moving mechanism, Y-axis moving mechanism, rotating mechanism, marking mechanism and code reader; The Y-axis moving mechanism is movably connected to the X-axis moving mechanism; The rotating mechanism is fixed on the Y-axis moving mechanism; The rotating mechanism is connected to the marking mechanism, and the marking mechanism has a marking head, and the marking head is used to mark the target object; The code reader is fixed on the marking mechanism, and the code reader is used to obtain product information of the target object.
2. The multi-directional and multi-size marking device according to claim 1, characterized in that: The X-axis moving mechanism includes: an X-axis servo motor, an X-axis fixed bracket, an X-axis lead screw module and an X-coupling; The X-axis servo motor is fixed on the outside of the X-axis fixed bracket; The X-axis lead screw module is fixed inside the X-axis fixed bracket; The motor shaft of the X-axis servo motor is connected to the X-axis lead screw module through the X-coupling; The Y-axis moving mechanism is connected to the X-axis lead screw module.
3. The multi-directional and multi-size marking device according to claim 1, characterized in that: The Y-axis moving mechanism includes: a Y-axis servo motor, a Y-axis fixed bracket, a Y-axis lead screw module and a Y coupling; The Y-axis servo motor is fixed on the outside of the Y-axis fixed bracket; The Y-axis lead screw module is fixed inside the Y-axis fixed bracket; The motor shaft of the Y-axis servo motor is connected to the Y-axis lead screw module through the Y coupling; The rotating mechanism is connected to the Y-axis lead screw module.
4. The multi-directional and multi-size marking device according to claim 1, characterized in that: The rotating mechanism comprises: a rotating fixed plate, a rotating cylinder and a rotating connecting shaft; The rotating fixed plate is connected to the Y-axis moving mechanism; The rotary cylinder is fixed on the rotary fixed plate; The rotary cylinder is connected to one end of the rotary connecting shaft; The other end of the rotary connecting shaft is connected to the marking mechanism.
5. The multi-directional and multi-size marking device according to claim 1, characterized in that: The marking mechanism includes: a connecting block, a marking head and a controller; The connecting block is connected to the rotating mechanism; The marking head is connected to the connection block, the controller is connected to the connection block, and a control cable of the controller passes through the connection block and is connected to the marking head.