Ink-jet printing registration method, device, equipment and storage medium
By preprinting special color marks at the front edge of the inkjet printing medium, the offset value of the media in the vertical direction and the printing content is adjusted in real time, the problem of vertical positioning error in the prior art is solved, and high-precision inkjet printing effect is achieved without increasing system cost.
Patent Information
- Application Number
- CN202311327248.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-13
- Publication Date
- 2025-04-15
AI Technical Summary
There are errors in the position positioning of the existing inkjet printing technology in the vertical direction (X direction), which affects printing quality, and adding high-precision CCD cameras to solve this problem will increase system cost.
By preprinting special color marks on the front edge of the media, combining the length of the color marks in the vertical and media movement directions, the offset value of the media in the vertical direction is calculated, and the print content is adjusted in real time to improve positioning accuracy.
The positioning accuracy of inkjet printing in the vertical direction can be improved without the need for a high-precision CCD camera, reduce system costs, and improve printing results.
Smart Images

Figure CN119821005A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of safe startup, and in particular to an inkjet printing registration method, device, equipment and storage medium. Background Art
[0002] Inkjet printing is usually combined with traditional printing to form the final printed product. For example, inkjet printing is used to print variable data such as barcodes, while traditional printing technology is used to print fixed content, such as Figure 1 As shown in the figure, because each barcode is different, other contents on the page are usually pre-printed by traditional printing, and then the barcode is printed by inkjet printing. This requires that the position of the printed barcode be accurately positioned when using inkjet printing. Inaccurate positioning will affect the printing quality. At present, high-speed inkjet printing usually adopts the method of fixing the inkjet print head and moving the medium to complete the printing of the image. Therefore, during the printing process, it is necessary to accurately position the content to be printed by detecting the position of the medium and the distance the medium moves.
[0003] In the prior art, inkjet control systems usually use color mark sensors to detect the edge of the paper or pre-printed color mark marks to obtain the starting position of the medium, and use encoders to obtain the distance the medium has moved. By pre-calculating the position of the printed content in the layout to be printed, the position of the content to be printed in the direction of medium movement (Y direction) can be located. The position of the content to be printed in the direction perpendicular to the medium's movement (X direction) is usually considered to be fixed during the medium's movement and in each piece of medium, and can be determined by pre-setting, such as Figure 2 As shown, the position of the barcode relative to the color mark is determined during the design and typesetting. Therefore, when the medium moves, when the color mark passes through the color mark sensor, it will trigger the sensor signal. At this time, the control system begins to calculate the medium movement distance through the encoder signal. The control system can accurately locate the position of the content to be printed through the pre-calculated movement distance.
[0004] The drawback of this method is that the color mark sensor can only obtain the moment when the medium passes through the color mark sensor in the direction of medium movement (Y direction), thereby completing the positioning of the printed content in the direction of medium movement (Y direction), but cannot locate the position in the vertical direction of movement (X direction). The position is completely determined by the pre-calculated parameters, which requires that the position of each piece of medium in the vertical direction (X direction) must be consistent when passing through the nozzle. In the actual printing process, due to the reasons of the medium transmission platform, it is difficult to ensure that the position of each piece of medium is fixed when passing through the nozzle, and there is usually an error of millimeter level. Therefore, the existing technology usually has errors in the vertical direction (X direction), which affects the visual effect.
[0005] Of course, it is also possible to obtain the offset value of the medium in the vertical running direction by adding an additional high-precision CCD camera to identify the XY position of the color mark, but this often greatly increases the cost of the system. Summary of the invention
[0006] In order to solve the above problems, the present invention proposes an inkjet printing registration method, device, equipment and storage medium, which do not require a CCD camera and can calculate the relative offset in the vertical movement direction (X direction) of each medium when it passes through the nozzle. By adjusting the printing content in real time, the positioning accuracy of the content to be printed can be improved.
[0007] The technical solution of the present invention includes:
[0008] An inkjet printing registration method, the method comprising:
[0009] Based on the color mark pre-printed on the front edge of the medium, a first distance y of the medium in the medium moving direction is calculated; wherein the length of the color mark in the medium moving direction is different and increases or decreases monotonically with the vertical moving direction, and the vertical moving direction is a direction perpendicular to the medium moving direction;
[0010] Calculate the distance x corresponding to the first distance y in the vertical movement direction by combining the lengths of the color mark in the vertical movement direction and the medium movement direction;
[0011] According to the distance x, adjusting the image to be printed;
[0012] When the medium reaches a set distance L in the moving direction of the medium, image printing is performed based on the image to be printed.
[0013] Further, the calculating of the first distance y of the medium in the moving direction of the medium based on the color mark pre-printed on the front edge of the medium includes:
[0014] When the leading edge of the color mark passes the color mark sensor, the encoder starts counting;
[0015] When the color mark sensor detects the trailing edge of the color mark, the encoder count is stopped;
[0016] Based on the count difference of the encoder, the actual moving distance y′ of the medium in the moving direction of the medium is obtained;
[0017] Obtaining the length a of the color mark in the moving direction of the medium;
[0018] The first distance y=ay′ of the medium in the moving direction of the medium is calculated.
[0019] Furthermore, the shape of the color mark includes: a right triangle, and the leading edge of the color mark is a right angle side of the right triangle.
[0020] Further, the calculating of the distance x corresponding to the first distance y in the vertical movement direction by combining the lengths of the color mark in the vertical movement direction and the medium movement direction includes:
[0021] Obtaining the length a of the color mark in the moving direction of the medium and the length b in the perpendicular moving direction;
[0022] Calculate the distance corresponding to the first distance y in the vertical direction of movement
[0023] An inkjet printing registration device, comprising:
[0024] A first calculation module is used to calculate a first distance y of the medium in the moving direction of the medium based on a color mark preprinted on the front edge of the medium; wherein the length of the color mark in the moving direction of the medium is different and increases or decreases monotonically with the vertical moving direction, and the vertical moving direction is a direction perpendicular to the moving direction of the medium;
[0025] A second calculation module, for calculating a distance x corresponding to the first distance y in the vertical movement direction by combining the lengths of the color mark in the vertical movement direction and the medium movement direction;
[0026] An image adjustment module, used for adjusting the image to be printed according to the distance x;
[0027] The image printing module is used for printing an image based on an image to be printed when the medium reaches a set distance L in the moving direction of the medium.
[0028] A computer device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the inkjet printing registration method described in any one of the above items is implemented.
[0029] A computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the inkjet printing registration method described in any one of the above is implemented.
[0030] Compared with the prior art, the effect of the present invention is that by adopting the inkjet control method of the present invention, the offset value of the current medium in the X direction can be obtained when each medium is printed, thereby improving the accuracy of the entire inkjet overprinting. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1A schematic diagram of inkjet printing registration using common shape color mark is described.
[0032] Figure 2 A flow chart is described for inkjet printing registration using common shape color mark.
[0033] Figure 3 A color-coded shape diagram describing the present invention.
[0034] Figure 4 A flow chart of inkjet printing registration using the scheme of the present invention is described. DETAILED DESCRIPTION
[0035] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0036] Figure 1 The schematic diagram of the content of a complete printed page is described. The page contains two similar parts, each of which is a packaging box. Except for the different barcodes on the packaging boxes, the other contents are exactly the same. Under the existing technology, it is usually completed by double printing, that is, the unchanged part of the page content is printed by traditional printing, and the variable data such as the barcode is completed by digital printing technology such as inkjet. In the existing technology, in order to ensure the accuracy of the barcode position, a color mark is usually printed in advance, and the inkjet system will use the color mark to locate the barcode printing position.
[0037] Figure 2 The flow chart of inkjet printing registration using common shape color mark is described. The inkjet system usually uses the encoder pulse number to obtain the moving distance of the medium. Because the positions of the pre-printed color mark and the barcode to be printed are fixed, the inkjet system can calculate how many encoder pulses are required from the color mark to the beginning of the barcode. For example, when the medium moves 0.05mm, an encoder pulse will be generated. In this way, when the barcode printing position is 100mm away from the color mark, the system receives 2000 encoder pulses and it can be considered that the medium has moved to the printable position. Therefore, the color mark is detected in the inkjet system. When the color mark is detected, counting begins. When the encoder count reaches a preset number, it means that the medium has moved the expected distance and printing can be started until printing is completed.
[0038] Obviously, this method can obtain the accurate position of the barcode printing in the direction of the medium running, but it cannot obtain the barcode printing position perpendicular to the direction of the medium moving. In the prior art, it is usually necessary to improve the mechanical accuracy of the medium transport platform to ensure that the medium will not shift in the vertical direction, so there is no need to calculate the offset value of the medium in the vertical running direction.
[0039] However, the above methods require very high mechanical precision, or require a high-precision CCD camera, which often increases costs. In addition, due to paper deformation and other reasons, pre-printed media may also be different from each other. Therefore, the existing technology often cannot accurately obtain the printing position in the vertical running direction, thereby affecting the overprinting accuracy and the printing effect.
[0040] Figure 3 The color mark shape used in the present invention is described. The leading edge of the color mark is a horizontal line (the horizontal line contained in the dotted box), and the trailing edge increases or decreases regularly along the vertical direction of the medium. In this way, the inkjet system can calculate the distance of the medium's deviation along the vertical running direction based on the number of encoder pulses between the leading and trailing edges of the color mark. Assume Figure 3 The color mark shown is a right triangle with waist lengths a and b. According to the corresponding relationship between the encoder pulse number and the medium running distance, the number of pulses between the leading edge and the trailing edge detected when the color mark detection position is the leftmost of the color mark mark can be calculated. In this way, when the medium deviates in the vertical running direction, the number of encoder pulses between the leading edge and the trailing edge is detected, and the y value can be calculated. According to the values of a and b of the color mark triangle, the value of x can be calculated according to the value of y, that is, the deviation value of the medium in the vertical running direction, that is, x / y=b / a.
[0041] Figure 4 A flow chart of inkjet printing registration using the scheme of the present invention is described.
[0042] In the first step, a special color mark is printed on the front edge of the medium during pre-printing. The length of the color mark in the moving direction of the medium (Y direction) is different and increases or decreases monotonically with the X direction.
[0043] During the second printing step, when the leading edge of the color mark passes through the color mark sensor, the first distance y in the Y direction of the medium is calculated.
[0044] Specifically, when the leading edge of the color mark passes through the color mark sensor, the encoder starts counting; and when the color mark sensor detects the trailing edge of the color mark, the encoder stops counting, so that the encoder count difference can be obtained. Then, based on the count difference, the actual moving distance y' of the medium in the moving direction of the medium is calculated. Next, after obtaining the length a of the color mark in the moving direction of the medium, the first distance y=ay' of the medium in the moving direction of the medium is calculated.
[0045] In the third step, when the trailing edge of the color mark passes through the color mark sensor, the X-direction offset value of the current medium can be obtained based on the current Y-direction movement distance and the ratio of X to Y in the printed color mark.
[0046] Step 4: Adjust the print content according to the x value.
[0047] In the fifth step, when the medium reaches a set distance L in the moving direction of the medium, the content is printed.
[0048] The above embodiments are provided only for the purpose of describing the present invention, and are not intended to limit the scope of the present invention. The scope of the present invention is defined by the appended claims. Various equivalent substitutions and modifications made without departing from the spirit and principles of the present invention should all be included within the scope of the present invention.
Claims
1. An inkjet printing registration method, characterized in that: The method comprises: Based on the color mark pre-printed on the front edge of the medium, a first distance y of the medium in the medium moving direction is calculated; wherein the length of the color mark in the medium moving direction is different and increases or decreases monotonically with the vertical moving direction, and the vertical moving direction is a direction perpendicular to the medium moving direction; Calculate the distance x corresponding to the first distance y in the vertical movement direction by combining the lengths of the color mark in the vertical movement direction and the medium movement direction; According to the distance x, adjusting the image to be printed; When the medium reaches a set distance L in the moving direction of the medium, image printing is performed based on the image to be printed.
2. The method according to claim 1, characterized in that The step of calculating the first distance y of the medium in the moving direction of the medium based on the color mark pre-printed on the front edge of the medium comprises: When the leading edge of the color mark passes the color mark sensor, the encoder starts counting; When the color mark sensor detects the trailing edge of the color mark, the encoder count is stopped; Based on the encoder count difference, the actual moving distance y of the medium in the moving direction of the medium is obtained. ′ ; Obtaining the length a of the color mark in the moving direction of the medium; Calculate the first distance y=ay of the medium in the direction of medium movement ′ .
3. The method according to claim 2, characterized in that The shape of the color mark includes: a right triangle, and the leading edge of the color mark is a right angle side of the right triangle.
4. The method according to claim 3, characterized in that The calculating the distance x corresponding to the first distance y in the vertical movement direction by combining the lengths of the color mark in the vertical movement direction and the medium movement direction comprises: Obtaining a length a of the color mark in the moving direction of the medium and a length b in the perpendicular moving direction; Calculate the distance corresponding to the first distance y in the vertical direction of movement 5. An inkjet printing registration device, characterized in that: The device comprises: A first calculation module is used to calculate a first distance y of the medium in the moving direction of the medium based on a color mark preprinted on the front edge of the medium; wherein the length of the color mark in the moving direction of the medium is different and increases or decreases monotonically with the vertical moving direction, and the vertical moving direction is a direction perpendicular to the moving direction of the medium; A second calculation module, for calculating a distance x corresponding to the first distance y in the vertical movement direction by combining the lengths of the color mark in the vertical movement direction and the medium movement direction; An image adjustment module, used for adjusting the image to be printed according to the distance x; The image printing module is used for printing an image based on an image to be printed when the medium reaches a set distance L in the moving direction of the medium.
6. A computer device, characterized in that: The computer device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the inkjet printing registration method according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the inkjet printing registration method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Overprinting precision detecting system and overprinting precision detecting method
CN105291561A
Calibrating a media advance system of a page wide array printing device
CN108349273A
Printing device and color register correction method and system thereof
CN112248651A
Printer device alignment method and apparatus
US20020181986A1
Media allignment method and system
US20040061733A1