Code spraying robot system and code spraying control method

Through visual inspection and robot control technology, combined with circular surface fitting and character angle offset algorithms, intelligent inkjet coding of steel coils of different specifications, sizes and positions is realized, which solves the blockage of traditional inkjet coding robot systems in high temperature environments. and failure issues, improving efficiency and adaptability.

CN118700722AActive Publication Date: 2024-09-27TAIYUAN UNIVERSITY OF SCIENCE AND TECHNOLOGY

Patent Information

Application Number
CN202410927167.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-09-27
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

The traditional dot matrix inkjet printing robot system is prone to clogging in high temperature environments, has a high failure rate, and cannot adapt to intelligent inkjet printing operations on steel coils of different specifications, sizes and locations.

Method used

A visual inspection device is used to obtain the image information of the end face of the steel coil, and the host computer is used to calculate the printing font specifications and coding trajectory coordinates. The robot controller is used to control the industrial robot and spraying device for intelligent printing, and the circular surface fitting algorithm and characters are used. Angular offset algorithm automatically adjusts character size and trajectory.

Benefits of technology

It realizes intelligent inkjet coding operations on steel coils of different specifications, sizes and positions, improves work efficiency, reduces production costs and worker labor intensity, and adapts to the intelligent needs of modern industrial production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118700722A
    Figure CN118700722A
Patent Text Reader

Abstract

The invention discloses a code spraying robot system and a code spraying control method. The code spraying robot system comprises an industrial robot, a robot controller, a visual detection device, a spraying device and an upper computer. Wherein the visual detection device is used for acquiring image information of the end face of a steel coil; the upper computer is used for obtaining a jet printing font specification and a code spraying track coordinate according to the image information of the end face of the steel coil; and the robot controller is used for calling corresponding characters in sequence according to the jet printing content, the jet printing font specification and the jet printing track coordinates to control the industrial robot and the spraying device to perform jet printing operation. By the adoption of the technical scheme, intelligent code spraying operation can be conducted on steel coils with different specifications, sizes and uncertain positions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent control, and in particular relates to a coding robot system and a coding control method. Background Art

[0002] Due to the special status of the steel industry in my country's manufacturing industry, the optimization and adjustment of industrial processes is a key factor in enabling steel companies to maintain their competitiveness. As one of the indispensable basic products in the steel industry, the model information of steel coils (such as coil ID, alloy number, coil weight, production date, etc.) is crucial for online inspection, quality tracking and permanent quality traceability of products. Therefore, it is necessary to print the relevant information of the coil on the surface of the coil for enterprise management. The traditional manual spraying method is difficult to guarantee accuracy and inefficient, and the spraying environment of most steel mills is to print the coils in a high temperature environment. Therefore, enterprises began to introduce machines to replace manual spraying. After several years of development, the robot automatic inkjet system has been realized and put into use, but it is mainly based on dot matrix spraying. The dot matrix inkjet robot solves the problem of low efficiency of spraying in high temperature environment and traditional spraying methods, but its spraying device is easy to clog, has a high failure rate and the size of the printed characters cannot be adjusted. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a coding robot system and a coding control method, which can perform intelligent coding operations on steel coils of different specifications, sizes and uncertain positions.

[0004] To achieve the above object, the present invention adopts the following technical solution:

[0005] A coding robot system, comprising: an industrial robot, a robot controller, a visual inspection device, a spraying device, and a host computer;

[0006] Among them, the visual inspection device is used to obtain the image information of the end face of the steel coil; the host computer is used to obtain the printing font specifications and the coding trajectory coordinates according to the image information of the end face of the steel coil; the robot controller is used to call the corresponding characters in sequence according to the printing content, printing font specifications and coding trajectory coordinates to control the industrial robot and the spraying device to perform the printing operation.

[0007] Preferably, the host computer converts the image of the steel coil end face into point cloud data, and uses a circular surface fitting algorithm to calculate the diameter of the steel coil end face and the position of the center point of the steel coil end face; the character size scaling parameters are calculated through the steel coil diameter to determine the specifications of the printing font; according to the position of the center point of the steel coil end face, the coordinates of the coding trajectory are obtained through a character angle offset algorithm.

[0008] Preferably, the host computer uses an adjustable character size algorithm to automatically enlarge or reduce the character size in proportion to the detected steel coil diameter in the linear coding mode and the arc coding mode around the center point of the steel coil end surface, and determines the printing font specifications.

[0009] Preferably, the host computer obtains the coordinates of the inkjet coding trajectory according to the center point position of the steel coil end surface through a character angle offset algorithm.

[0010] The present invention also provides a coding control method, comprising:

[0011] Step S1, obtaining image information of the end surface of the steel coil by a visual inspection device;

[0012] Step S2, obtaining the printing font specifications and the coding trajectory coordinates according to the image information of the end surface of the steel coil by the host computer;

[0013] Step S3, the robot controller sequentially calls the corresponding characters to control the industrial robot and the spraying device to perform the printing operation according to the printing content, printing font specifications and coding trajectory coordinates.

[0014] Preferably, in step S2, the host computer converts the image of the steel coil end face into point cloud data, and uses a circular surface fitting algorithm to calculate the diameter of the steel coil end face and the position of the center point of the steel coil end face; calculates the character size scaling parameter through the steel coil diameter to determine the specifications of the printing font; and obtains the inkjet coding trajectory coordinates based on the position of the center point of the steel coil end face through a character angle offset algorithm.

[0015] Preferably, in step S2, through the character size adjustable algorithm, in the linear coding mode and the arc coding mode around the center point of the end surface of the steel coil, the character size is automatically enlarged or reduced in proportion according to the detected steel coil diameter to determine the printing font specifications.

[0016] Preferably, in step S2, the inkjet coding trajectory coordinates are obtained according to the center point position of the steel coil end surface by using a character angle offset algorithm.

[0017] By combining visual technology with robot control technology and applying it to the end-face coding of steel coils, the robot has the ability to perceive the environment and can perform intelligent coding operations on steel coils of different specifications, sizes and uncertain positions. This improves work efficiency, meets the intelligent needs of modern industrial production, and also reduces the labor intensity of workers and the production costs of enterprises. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0019] Figure 1 This is a schematic diagram of the structure of the coding robot system according to an embodiment of the present invention;

[0020] Figure 2 This is a schematic diagram of the coding robot;

[0021] Figure 3 This is a schematic diagram of the end of the coding robot;

[0022] Figure 4 Schematic diagram of the spraying device.

[0023] Figure 5 This is the working flow chart of the coding robot system. DETAILED DESCRIPTION

[0024] 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.

[0025] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0026] Embodiment 1:

[0027] like Figure 1 , 2 As shown in Figures 3 and 4, an embodiment of the present invention provides a coding robot system for steel coil identification coding operations on a steel coil production line, and the coding robot system includes: an industrial robot 1, a robot controller 6, a visual inspection device 2, a spraying device, and a host computer 8. The industrial robot 1 is installed on the production line.

[0028] The visual inspection device 2 is a depth camera fixed at the end of the industrial robot 1. The visual inspection device 2 is used to obtain image information of the end face of the steel coil. The visual inspection device 2 obtains the conversion relationship between the camera coordinate system and the end coordinate system of the industrial robot 1 through camera calibration and the hand-eye calibration method of eye on hand, and obtains the relationship between the coordinate position of the steel coil and the coordinate position of the industrial robot. Further, through the hand-eye matrix, according to the coordinates of the target object observed by the camera in the camera coordinate system, the coordinates of the end face of the steel coil in the industrial robot coordinate system are calculated. Assume that the hand-eye matrix is ​​X, and the coordinates of the target object in the camera coordinate system are [X c ,Y c ,Z c ,1] T , the coordinates of the target object in the industrial robot coordinate system are [X b ,Y b ,Z b ,1] T , the calculation formula is:

[0029]

[0030] Among them, R is a 3×3 rotation matrix; T is a 3×1 translation matrix.

[0031] As an implementation method of the present invention, the host computer 8 obtains the printing font specifications and the coding trajectory coordinates according to the image information of the steel coil end surface. The host computer 8 converts the steel coil end surface image into point cloud data, and uses the circular surface fitting algorithm to calculate the steel coil end surface diameter and the position of the steel coil end surface center point; calculates the character size scaling parameter through the steel coil diameter to determine the printing font specifications; and obtains the coding trajectory coordinates according to the position of the steel coil end surface center point through the character angle offset algorithm.

[0032] Furthermore, the scaling parameters of the printing fonts, multiplex and multipley, are determined according to the diameter of the steel coil. The calculation method is as follows:

[0033] Depend on

[0034] We can get:

[0035] Wherein, D is the preset reference diameter of the steel coil, corresponding to the reference size of the printed font; D1 detects the diameter of the steel coil; multiplex is the font scaling parameter in the x direction; multipley is the font scaling parameter in the y direction.

[0036] The character library is built on the basis of RAPID language. It contains 26 uppercase letters, 26 lowercase letters, 10 Arabic numerals from 0 to 9 and a "-" character, a total of 63 characters. The embodiment of the present invention adopts an adjustable character size algorithm to automatically enlarge or reduce the character size in proportion to the detected steel coil diameter. The adjustable character size algorithm is as follows:

[0037] Assume that the space occupied by each character track is a matrix, and the point on the character track corresponds to a coordinate on the matrix. After determining the base size of the character, multiply the base coordinate by a scaling parameter. According to the principle of similar triangles, the scaling parameter is adjusted to change the coordinate value of the character corner point to achieve the purpose of changing the character size. Set the base character width to d0, the base character height to h0, the actual printed character width d = d0 × multiplex, and the actual printed character height h = h0 × multipley.

[0038] In the linear inkjet printing mode, the character spraying starting point is offset in only one coordinate axis direction, that is, the character offset angle angle0 is set to 0. In this mode, the character offset formula is as follows:

[0039] drift=d0×multiplex+L

[0040] Among them, drift is the offset between characters; L is the font spacing.

[0041] In the arc-shaped inkjet mode around the center point of the steel coil end surface, the character spraying starting point is offset in both the x and y directions, that is, the character offset angle angle0 is not 0. In this mode, the character spraying starting point offset formula is as follows:

[0042] x-direction offset: driftx = (d + L) × cos[-(n-1) × angle0]

[0043] Drifty in y direction: drifty = (d + L) × sin [- (n-1) × angle0]

[0044] Among them, angle0 is the initial rotation offset angle of the character, n is the order of the characters in the string, driftx is the offset in the x direction, and drifty is the offset in the y direction.

[0045] Furthermore, according to the position of the center point of the end face of the steel coil, the coordinates of the inkjet track can be obtained through the character angle offset algorithm. The principle of the character angle offset algorithm is the rotation of the coordinates. Specifically: After the starting point p0 of the first character track is given, the reference point of the subsequent characters can be obtained through coordinate translation and rotation transformation based on the coordinates of p0. Similarly, because the other coordinates on each character are obtained based on the reference point offset of the character, the other coordinates can also be obtained through translation and rotation transformation. Among them, the p0 coordinate is given by the visual detection device. The formula is as follows:

[0046] Set p0(x0,y0,z)

[0047] p n (x n ,y n ,z)

[0048] in,

[0049] x n =[x0×multiplex×cos(angle)]-[y0×multipley×sin(angle)]

[0050] y n =[x0×multiplex×sin(angle)]+[y0×multipley×cos(angle)]

[0051] z is the distance between the end face of the steel coil and the coordinates of the industrial robot; angle is the character rotation angle; the initial value of the character rotation angle is set to angle0, and the nth character rotation angle angle(n) = -n×angle0.

[0052] Furthermore, the spraying device includes: an air compressor, a solenoid valve 3, an oil and gas cabinet 7 and a nozzle 4, wherein the nozzle 4 is installed at the end of the industrial robot 1, and the start and stop of the nozzle 4 is controlled by the solenoid valve 3, and the oil and gas cabinet 7 is used to provide a constant pressure air source and a constant pressure oil supply to the spraying device. The robot controller 6 is used to control the motion trajectory of the industrial robot and the start and stop of the spraying device; the robot controller 6 calls the corresponding characters in sequence according to the printing content, printing font specifications and coding trajectory coordinates to control the industrial robot and the spraying device to perform printing operations.

[0053] The spraying device prints the steel coil specifications on the end surface of the steel coil by spraying paint, and can print the steel coil parameters for the steel coil 5 with a temperature range of 500 degrees Celsius and below. The printed content includes: steel coil model, steel coil weight and production date.

[0054] like Figure 5 As shown, the workflow of the coding robot system of the embodiment of the present invention includes:

[0055] S1: Before starting the coding robot system, the visual inspection device must first be calibrated for camera and hand-eye calibration to obtain the conversion relationship between the camera coordinates and the industrial robot terminal coordinate system, that is, the conversion relationship between the hand-eye matrix and the steel coil position coordinates and the camera coordinate system, and the conversion relationship between the steel coil position coordinates and the robot coordinates;

[0056] S2: After the calibration work is completed, the steel coil 5 is transported to the working area of ​​the coding robot by the conveying device. When the steel coil is detected to be in place, the conveying device stops running;

[0057] S3: The coding robot system starts, the industrial robot moves to the image acquisition point, triggers the visual inspection device to collect signals, and the visual inspection device collects image information of the end surface of the steel coil and generates point cloud data;

[0058] S4: The host computer 8 processes the point cloud data, calculates the diameter of the steel coil and the coordinates of the center point of the steel coil end surface in the camera coordinate system, and then calculates the coordinates of the center point of the steel coil end surface in the robot coordinate system;

[0059] S5: The host computer 8 obtains the steel coil specification model, production date and steel coil quality information from the system database, and generates the corresponding printing content; calculates the character scaling parameter and the offset angle between characters according to the diameter of the steel coil, and determines the printing character size; calculates the coordinates of the printing starting point according to the coordinates of the center point of the steel coil end surface;

[0060] S6: The robot controller 6 calls the corresponding characters in sequence to start the printing operation according to the printing content, the printing character size and the starting point coordinates. After the printing is completed, the robot returns to the waiting point and waits for the next working signal.

[0061] The embodiment of the present invention integrates visual detection technology with robot control technology to form a robot inkjet system based on visual guidance, which solves the problem that the traditional inkjet robot has a single working scene and cannot adapt to changing working scenes. The embodiment of the present invention also constructs a character library with adjustable font size based on the RAPID language. The font size can be determined by modifying parameters according to the actual working conditions on site. Therefore, only the character library is needed to meet the requirements of all font size specifications, while reducing the capacity of the character library and expanding the font specifications. In summary, the embodiment of the present invention improves the intelligence level of the inkjet robot, while also improving the inkjet efficiency and reducing the production cost of the enterprise and the labor intensity of the workers.

[0062] Embodiment 2:

[0063] The embodiment of the present invention also provides a coding control method, including:

[0064] Step S1, obtaining image information of the end surface of the steel coil by a visual inspection device;

[0065] Step S2, obtaining the printing font specifications and the coding trajectory coordinates according to the image information of the end surface of the steel coil by the host computer 8;

[0066] Step S3, the robot controller 6 sequentially calls the corresponding characters to control the industrial robot and the spraying device to perform the printing operation according to the printing content, printing font specifications and coding trajectory coordinates.

[0067] As an implementation method of an embodiment of the present invention, in step S2, the upper computer 8 converts the steel coil end surface image into point cloud data, and uses a circular surface fitting algorithm to calculate the steel coil end surface diameter and the position of the steel coil end surface center point; calculates the character size scaling parameter through the steel coil diameter to determine the printing font specifications; and obtains the coding trajectory coordinates according to the position of the steel coil end surface center point through a character angle offset algorithm.

[0068] As an implementation method of an embodiment of the present invention, in step S2, through the character size adjustable algorithm, in the linear coding mode and the arc coding mode around the center point of the end surface of the steel coil, the character size is automatically enlarged or reduced in proportion according to the detected steel coil diameter to determine the printing font specifications.

[0069] As an implementation method of an embodiment of the present invention, in step S2, the coordinates of the coding trajectory are obtained through a character angle offset algorithm according to the position of the center point of the end surface of the steel coil.

[0070] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.

Claims

1. A coding robot system, characterized in that: include: Industrial robots, robot controllers, visual inspection devices, spraying devices, and host computers; among them, A visual inspection device for obtaining image information of the end surface of the steel coil; The host computer is used to obtain the printing font specifications and the coding trajectory coordinates according to the image information of the end surface of the steel coil; the robot controller is used to call the corresponding characters in sequence according to the printing content, printing font specifications and coding trajectory coordinates to control the industrial robot and the spraying device to perform the printing operation.

2. The coding robot system according to claim 1, characterized in that: The upper computer 8 converts the image of the end face of the steel coil into point cloud data, and uses the circular surface fitting algorithm to calculate the diameter of the end face of the steel coil and the position of the center point of the end face of the steel coil; the character size scaling parameter is calculated through the steel coil diameter to determine the specifications of the printing font; according to the position of the center point of the end face of the steel coil, the coordinates of the coding trajectory are obtained through the character angle offset algorithm.

3. The coding robot system according to claim 2, characterized in that: The upper computer uses an adjustable character size algorithm to automatically enlarge or reduce the character size in proportion to the detected steel coil diameter in the linear coding mode and the arc coding mode around the center point of the steel coil end surface, and determine the printing font specifications.

4. The coding robot system according to claim 3, characterized in that: The host computer obtains the coordinates of the coding trajectory based on the center point position of the steel coil end surface through the character angle offset algorithm.

5. A coding control method, characterized in that: include; Step S1, obtaining image information of the end surface of the steel coil by a visual inspection device; Step S2, obtaining the printing font specifications and the coding trajectory coordinates according to the image information of the end surface of the steel coil by the host computer; Step S3, the robot controller sequentially calls the corresponding characters to control the industrial robot and the spraying device to perform the printing operation according to the printing content, printing font specifications and coding trajectory coordinates.

6. The coding control method according to claim 5, characterized in that: In step S2, the host computer converts the image of the end face of the steel coil into point cloud data, and uses the circular surface fitting algorithm to calculate the diameter of the end face of the steel coil and the position of the center point of the end face of the steel coil; the character size scaling parameter is calculated by the steel coil diameter to determine the specifications of the printing font; according to the position of the center point of the end face of the steel coil, the coordinates of the coding trajectory are obtained through the character angle offset algorithm.

7. The coding control method according to claim 6, characterized in that: In step S2, through the character size adjustable algorithm, in the linear coding mode and the arc coding mode around the center point of the steel coil end surface, the character size is automatically enlarged or reduced in proportion according to the detected steel coil diameter to determine the printing font specifications.

8. The coding control method according to claim 7, characterized in that: In step S2, according to the center point position of the steel coil end surface, the coordinates of the inkjet coding trajectory are obtained through the character angle offset algorithm.

Citation Information

Patent Citations

  • Automatic control jet printing labeling system and operation process thereof

    CN110949818A

  • Printing device and control method of portable intelligent printing device

    CN112677659A

  • Robot system capable of positioning and identifying code spraying position of hot rolled steel coil

    CN116619418A

  • Robot steel coil code spraying system

    CN221113263U

  • Three-dimensional vision-based production method by automatically calculating robot glue coating trajectory

    WO2020133873A1

Cited By

  • Bending center robot operation execution method and device, terminal and medium

    CN119839876A