A visual positioning method for printing press

By obtaining the affine transformation matrix between the product alignment camera and the meshboard positioning camera in the printing press, the coordinates and deviation values ​​of the meshboard positioning camera are calculated, and the movement amount of the U/V/W platform is quickly solved. The problem of insufficient printing efficiency in the prior art has improved the working efficiency of the printing press.

CN115723455BActive Publication Date: 2024-11-12TACHIKAWA (WUXI) SEMICON EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211654445.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-22
Publication Date
2024-11-12
Estimated Expiration
2042-12-22

AI Technical Summary

Technical Problem

The existing visual positioning methods of printing presses have shortcomings in meeting the needs of efficient printing and need further improvements to improve printing efficiency.

Method used

By obtaining the affine transformation matrix between the product alignment camera and the meshboard positioning camera in the printing press, the coordinates and deviation values ​​under the coordinate system of the meshboard positioning camera are calculated using the product coordinate information, and then the U/V is quickly solved /W platform movement amount, adjust the position of the screen board to complete the printing work.

Benefits of technology

This reduces the computing volume, improves printing efficiency, and achieves fast and accurate screen position adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0004011951490000021
    Figure BDA0004011951490000021
  • Figure BDA0004011951490000024
    Figure BDA0004011951490000024
  • Figure BDA0004011951490000041
    Figure BDA0004011951490000041
Patent Text Reader

Abstract

The present invention provides a visual positioning method for a printing machine. During printing, the method only needs a product alignment camera to obtain the coordinate information of a product, and then the movement amount of a U / V / W platform can be quickly calculated, and then the screen position can be adjusted to complete the printing work, thereby reducing the amount of calculation of the method and improving the printing efficiency. The method is characterized in that the method comprises the following steps: before printing starts, an affine transformation matrix between a coordinate system corresponding to a product alignment camera and a coordinate system corresponding to a screen positioning camera is obtained by calibration; when printing starts, the U / V / W platform returns to a zero position; the coordinate information of the product is obtained by the product alignment camera; the coordinates of the coordinate system corresponding to the screen positioning camera are calculated using the coordinate information of the product and the affine transformation matrix, and a deviation value is calculated; the movement amount of the U / V / W platform is calculated according to the deviation value; the U / V / W platform adjusts the screen position according to the movement amount to complete a printing work.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field related to printing presses, and in particular to a visual positioning method for a printing press. Background Art

[0002] Prior art CN217803829U discloses a highly efficient, fully automatic visual positioning printing press. This press utilizes two stencil positioning cameras to obtain stencil position information, and four alignment cameras to obtain product position information. A controller then controls the alignment mechanism to adjust the stencil position based on the deviation between these two positions, achieving high-precision alignment between the stencil and the product, ultimately completing the printing process. As production lines increasingly demand higher printing efficiency, there is an urgent need to further improve visual positioning methods based on this foundation to meet these demands. Summary of the Invention

[0003] In order to solve the problems mentioned above, the present invention provides a visual positioning method for a printing machine. During printing, the method only needs to use a product alignment camera to obtain the coordinate information of the product, and then it can quickly calculate the movement amount of the U / V / W platform, and then adjust the screen position to complete the printing work, thereby reducing the amount of calculation of the method and improving the printing efficiency.

[0004] The technical solution is as follows:

[0005] A visual positioning method for a printing press, characterized in that it comprises the following steps:

[0006] Step 1: Before printing begins, obtain the affine transformation matrix between the coordinate system corresponding to the product alignment camera and the coordinate system corresponding to the screen positioning camera through calibration;

[0007] Step 2: When printing starts, the U / V / W platform returns to the zero position;

[0008] Step 3: Obtain the coordinate information of the product through the product alignment camera;

[0009] Step 4: Use the product's coordinate information and the affine transformation matrix to calculate the coordinates of the stencil positioning camera in the coordinate system, and calculate the deviation value;

[0010] Step 5: Calculate the movement of the U / V / W platform based on the deviation value;

[0011] Step 6: The U / V / W platform adjusts the screen position according to the movement amount to complete a printing job;

[0012] Step 7. Return to step 2 and repeat the above steps.

[0013] Furthermore, the step 1 specifically includes:

[0014] Step 1-1: After the stencil is installed and fixed, the U / V / W platform returns to the zero position. The stencil positioning camera collects an image of each stencil marker point and uses the template matching function to obtain the position of the marker point image. At this time, the stencil position is set as the reference position.

[0015] Step 1-2: Obtain the affine transformation matrix HomMat2D between the coordinate system corresponding to the product alignment camera and the coordinate system corresponding to the stencil positioning camera through rotation calibration and nine-point calibration.

[0016] Furthermore, step 3 specifically includes: first, the product alignment camera takes a picture of the product, then separates the product from the picture background through threshold segmentation, and then obtains the coordinate information P1 (a1, b1), P2 (a2, b2), P3 (a3, b3), P4 (a4, b4) of the corner points or corner mark points through template matching.

[0017] Furthermore, in step 4, the coordinate information of the product and the affine transformation matrix are used to calculate the coordinates of the coordinate system corresponding to the stencil positioning camera. The formula is as follows:

[0018]

[0019] in, is the coordinate information of the product, The coordinates of the coordinate system corresponding to the stencil positioning camera;

[0020] Using the above formula, we get the coordinates Q1(x1,y1), Q2(x2,y2), Q3(x3,y3), and Q4(x4,y4).

[0021] Furthermore, the deviation value is calculated in step 4, and the formula is as follows:

[0022]

[0023] Furthermore, in step 5, the movement amount of the U / V / W platform is calculated based on the deviation value, and the formula is as follows:

[0024] U=-(L+X)tanθ+Y

[0025] V=(LX)tanθ+Y

[0026] W=-(L+Y)tanθ-X

[0027] Where L is the vertical distance from the center of the U / V / W platform to its moving axis.

[0028] The beneficial effects of the present invention are:

[0029] The present invention obtains the affine transformation matrix between the coordinate system corresponding to the product alignment camera and the coordinate system corresponding to the screen positioning camera through calibration, and restores the U / V / W platform to the zero position before each printing. At this time, it is only necessary to detect the coordinate information of the product through the product alignment camera, and the coordinates in the coordinate system corresponding to the screen positioning camera can be calculated using the affine transformation matrix, and then the offset is calculated using the coordinates, and then the offset is used to solve the movement of the U / V / W platform, and then the screen position is adjusted to complete the printing work; in this process, the screen positioning camera is only used for initial calibration. During printing, it is only necessary to obtain the coordinate information of the product through the product alignment camera to quickly solve the movement of the U / V / W platform, which reduces the amount of calculation of the method and improves the efficiency of printing. DETAILED DESCRIPTION

[0030] The present invention will be further described below with reference to the embodiments.

[0031] The following examples are intended to illustrate the present invention but are not intended to limit the scope of protection of the present invention. The conditions in the examples may be further adjusted according to specific conditions. Simple improvements to the method of the present invention within the scope of the present invention are also within the scope of protection claimed in the present invention.

[0032] First, the visual positioning method of the present invention is based on a highly efficient fully automatic visual positioning printing press disclosed in CN217803829U, wherein the alignment mechanism is the U / V / W platform of the present invention. Other components of the printing press are not described here.

[0033] Based on the above printing press, the method provided by the present invention is as follows:

[0034] A visual positioning method for a printing press, characterized in that it comprises the following steps:

[0035] Step 1: Before printing begins, obtain the affine transformation matrix between the coordinate system corresponding to the product alignment camera and the coordinate system corresponding to the screen positioning camera through calibration; specifically including:

[0036] Step 1-1: After the stencil is installed and fixed, the U / V / W platforms return to their zero position. The stencil positioning cameras collect an image of each stencil marker point. The template matching function is used to obtain the image position of the marker point. At this time, the stencil position is set as the reference position. Image template matching is a conventional method in this field and will not be described in detail here.

[0037] Step 1-2: Obtain the affine transformation matrix HomMat2D between the coordinate system corresponding to the product alignment camera and the coordinate system corresponding to the screen positioning camera through rotation calibration and nine-point calibration. The rotation calibration and nine-point calibration are conventional calibration methods in this field and will not be described here.

[0038] Step 2: When printing starts, the U / V / W platform returns to the zero position.

[0039] Step 3: Obtain the coordinate information of the product through the product alignment camera; specifically, the product alignment camera first takes a picture of the product, then separates the product from the picture background through threshold segmentation, and then obtains the coordinate information of the corner points or corner markers P1 (a1, b1), P2 (a2, b2), P3 (a3, b3), and P4 (a4, b4) through template matching.

[0040] Step 4. Use the product coordinate information and affine transformation matrix to calculate the coordinates of the stencil positioning camera in the coordinate system. The calculation formula is as follows:

[0041]

[0042] in, is the coordinate information of the product, The coordinates of the coordinate system corresponding to the stencil positioning camera;

[0043] Using the above formula, we get the coordinates Q1(x1,y1), Q2(x2,y2), Q3(x3,y3), and Q4(x4,y4).

[0044] Since the U / V / W platform returns to the zero position when printing starts, the calculation formula for the deviation between the product and the stencil at this time is as follows:

[0045]

[0046] Step 5. Calculate the movement of the U / V / W platform based on the deviation value; the calculation formula is as follows:

[0047] U=-(L+X)tanθ+Y

[0048] V=(LX)tanθ+Y

[0049] W=-(L+Y)tanθ-X

[0050] Where L is the vertical distance from the center of the U / V / W platform to its moving axis.

[0051] Step 6: The U / V / W platform adjusts the screen position according to the movement amount to complete a printing job.

[0052] Step 7. Return to step 2 and repeat the above steps.

[0053] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.

Claims

1. A visual positioning method for a printing press, characterized in that: The following steps are involved: Step 1: Before printing begins, obtain the affine transformation matrix between the coordinate system corresponding to the product alignment camera and the coordinate system corresponding to the screen positioning camera through calibration; Step 2: When printing starts, the U / V / W platform returns to the zero position; Step 3: Obtain the coordinate information of the product through the product alignment camera; Step 4: Calculate the coordinates of the coordinate system corresponding to the stencil positioning camera using the product coordinate information and the affine transformation matrix, and calculate the deviation value; Step 5: Calculate the movement amount of the U / V / W platform according to the deviation value; Step 6: The U / V / W platform adjusts the screen position according to the movement amount to complete a printing job; Step 7: Return to step 2 and repeat the above steps; The step 1 specifically includes: Step 1-1, after the stencil is installed and fixed, the U / V / W platform returns to the zero position, and the stencil positioning camera collects a stencil mark point image respectively, and uses the template matching function to obtain the mark point image position. At this time, the stencil position is set as the reference position; Step 1-2, obtain the affine transformation matrix HomMat2D between the coordinate system corresponding to the product alignment camera and the coordinate system corresponding to the screen positioning camera through rotation calibration and nine-point calibration; The step 3 specifically includes: firstly, the product alignment camera takes a picture of the product, then separates the product from the picture background by threshold segmentation, and then obtains the coordinate information of the corner points or corner mark points P1 (a1, b1), P2 (a2, b2), P3 (a3, b3), P4 (a4, b4) by template matching; in the step 4, the coordinate information of the product and the affine transformation matrix are used to calculate the coordinates in the coordinate system corresponding to the screen positioning camera, and the formula is as follows: in, is the coordinate information of the product, The coordinates of the coordinate system corresponding to the stencil positioning camera; Using the above formula, we get the coordinates Q1(x1,y1), Q2(x2,y2), Q3(x3,y3), Q4(x4,y4); The deviation value is calculated in step 4, and the formula is as follows: In step 5, the movement amount of the U / V / W platform is calculated according to the deviation value, and the formula is as follows: U=-(L+X)tanθ+Y V=(LX)tanθ+Y W=-(L+Y)tanθ-X Where L is the vertical distance from the center of the U / V / W platform to its moving axis.