Rotating body surface printing method, device, equipment and storage medium
By determining the color shift of the nozzle nozzle according to the shape of the rotating body, efficient color image printing on the surface of the rotating body is achieved, and the problems of low printing efficiency and difficulty in color are solved in the prior art, ensuring high-quality color image printing.
Patent Information
- Application Number
- CN202211338143.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-28
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2042-10-28
AI Technical Summary
In the prior art, the printing efficiency of the rotary body surface printing is low, and the color fitting is difficult, making it difficult to print high-quality color images.
By determining the corresponding colour offset of each row of nozzles in the nozzle according to the shape of the rotating body, the nozzles of different colors in the nozzle are controlled to print ink to the surface of the rotating body according to the corresponding colour offset, thereby achieving efficient color image printing.
The efficiency of rotary body surface printing and the accuracy of color colour are improved, ensuring the quality of color images printed on the rotary body surface.
Smart Images

Figure CN115848043B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of inkjet printing, and in particular to a method, device, equipment and storage medium for printing on the surface of a rotating body. Background Art
[0002] Rotating surface printing refers to the process of inkjet printing on the surface or part of the surface of an object such as a cylinder, cone, truncated cone or sphere to form the desired pattern (including images and / or text). The printed object can be items such as paper cups, glasses, thermos cups, wine bottles, etc., or flexible materials (such as cloth, paper) that are curled into a cylindrical, cylindrical or spherical shape. Figure 1 The outer surface of the rotating body can also be printed as shown. Figure 2 The inner surface of the rotating body shown is printed.
[0003] If you want to print a color image on the surface of a rotating body, the print head generally includes multiple columns of nozzles with different color channels. For example, the print head includes four columns of CMYK nozzles, or a print head group is composed of four monochrome print heads. When printing, color registration is required so that the ink dots sprayed by nozzles of different colors fall on the same position to form a high-quality color image. Because printing on the surface of a rotating body is actually curved (arc) printing, the color registration method suitable for plane printing in the prior art is not suitable for rotating bodies. In a patent application with application number 202011363420.8 and publication date 2021.3.16, a method for improving the digital printing accuracy of cylindrical bodies is disclosed, such as Figure 3 As shown, this method performs printing by actively moving the nozzle. After printing, the printed material rotates again, and ink is sprayed only when each nozzle column moves to a position just above the center line of the printed material. Although this method can ensure that the ink of nozzles in different color channels (columns) is sprayed to the same position, thereby ensuring printing accuracy and printing quality, the printing efficiency is very low, and it is also impossible to improve the printing efficiency by increasing the printing height by splicing multiple nozzles. Therefore, how to improve printing efficiency and color registration accuracy is a technical problem that needs to be solved when printing on the surface of a rotating body. Summary of the invention
[0004] In view of this, the embodiments of the present invention provide a rotating body surface printing method, device, equipment and storage medium to solve the problems of low printing efficiency and color registration difficulty in rotating body surface printing in the prior art.
[0005] In a first aspect, an embodiment of the present invention provides a method for printing on a rotating body surface, the method comprising:
[0006] Determining the color shift corresponding to each row of nozzles in the nozzle according to the shape of the rotating body, wherein the nozzle includes at least two columns of nozzles for ejecting inks of different colors, and the color shift is the ink ejection delay of the nozzle relative to a preset reference nozzle;
[0007] Each row of nozzles of the nozzle head is controlled to spray ink onto the surface of the rotating body according to the corresponding color offset.
[0008] Preferably, when the rotating body is a non-cylindrical body, determining the color offset corresponding to each row of nozzles in the nozzle according to the shape of the rotating body comprises:
[0009] Acquire the maximum radius and the minimum radius of the rotating body according to the shape of the rotating body;
[0010] Select a radius between the maximum radius and the minimum radius of the rotating body and record it as a reference radius;
[0011] Acquire a reference cylinder according to the reference radius;
[0012] Controlling the nozzle to print and calibrate the reference cylinder to obtain a reference color offset;
[0013] The corresponding color offset of each row of nozzles in the nozzle head when printing on the surface of the rotating body is determined according to the reference color offset.
[0014] Preferably, the determining, according to the reference color offset, of the corresponding color offset of each row of nozzles in the nozzle when printing on the surface of the rotating body comprises:
[0015] Determine the color offset of the nozzle row printing the first circumferential surface of the rotating body according to the reference color offset, recorded as the reference color offset, wherein the first circumferential surface is the circumferential surface corresponding to the first row of nozzles in the nozzle head;
[0016] The color offset corresponding to each row of nozzles is obtained according to the reference color offset.
[0017] Preferably, the step of determining the color offset of the nozzle row printing the first circumferential surface of the rotating body according to the reference color offset, recorded as reference color offset, comprises:
[0018] Obtaining a radius value corresponding to the first circular surface, recorded as a first circular radius;
[0019] Acquire an offset ratio according to the first circumferential radius and the radius of the reference cylinder;
[0020] The reference color offset is obtained according to the offset ratio and the reference color offset.
[0021] Preferably, obtaining the corresponding color offset of each row of nozzles according to the reference color offset comprises:
[0022] The corresponding color offset for each row of nozzles is determined according to the following formula:
[0023]
[0024] Among them, X1 is the reference color offset, Xn is the color offset of the nth row of nozzles, Rn is the circumferential radius of the rotating body corresponding to the nth row of nozzles, R1 is the radius of the first circle in the rotating body, Rmax is the radius of the largest circle in the rotating body, Ln is the print image height corresponding to the nth row of nozzles, H is the side height between the first circle and the largest circle in the rotating body, n=1, 2, ..., K, K is the number of nozzles in each column.
[0025] Preferably, the rotating body is a conical rotating body or a truncated cone rotating body.
[0026] Preferably, when the rotating body is a sphere, obtaining the corresponding color offset of each row of nozzles according to the reference color offset comprises:
[0027] The corresponding color offset for each row of nozzles is determined according to the following formula:
[0028]
[0029] Among them, X1 is the reference color offset, Xn is the color offset of the nth row of nozzles, Rn is the circumferential radius of the rotating body corresponding to the nth row of nozzles, R1 is the radius of the first circle in the rotating body, Rmax is the radius of the largest circle in the rotating body, Ln is the print image height corresponding to the nth row of nozzles, H is the side height between the first circle and the largest circle in the rotating body, n=1, 2, ..., K, K is the number of nozzles in each column, a is the offset correction value, and a is a real number.
[0030] In a second aspect, an embodiment of the present invention provides a rotating body surface printing device, the device comprising:
[0031] A color shift determination module, used for determining the color shift corresponding to each row of nozzles in the nozzle according to the shape of the rotating body, wherein the nozzle includes at least two columns of nozzles for ejecting inks of different colors, and the color shift is the ink ejection delay of the nozzle relative to a preset reference nozzle;
[0032] The printing module is used to control each row of nozzles of the nozzle head to spray ink onto the surface of the rotating body according to the corresponding color offset.
[0033] In a third aspect, an embodiment of the present invention provides a rotating surface printing device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, and when the computer program instructions are executed by the processor, the method of the first aspect in the above embodiment is implemented.
[0034] In a fourth aspect, an embodiment of the present invention provides a storage medium having computer program instructions stored thereon, which implements the method of the first aspect in the above-mentioned embodiment when the computer program instructions are executed by a processor.
[0035] In summary, the beneficial effects of the present invention are as follows:
[0036] The rotating body surface printing method, device, equipment and storage medium provided by the embodiments of the present invention first determine the corresponding color offset of each row of nozzles in the nozzle according to the shape of the rotating body, and then control the nozzles of different colors in the nozzle to print ink to the rotating body surface in sequence according to the corresponding color offset when the rotating body rotates driven by the rotating mechanism during printing. There is no need to perform color printing by moving the nozzle. The entire printing process is simple and efficient, and the color registration is accurate, thereby ensuring the quality of the color image printed on the rotating body surface. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.
[0038] Figure 1 It is a schematic diagram of printing on the outer surface of a rotating body in the background technology.
[0039] Figure 2 It is a schematic diagram of the internal surface printing of a rotating body in the background technology.
[0040] Figure 3 It is a schematic diagram of a method for improving the digital printing accuracy of a cylinder in the background technology.
[0041] Figure 4 The figure is a schematic flow chart of a method for printing on a rotating body surface according to an embodiment of the present invention.
[0042] Figure 5 It is a schematic diagram of printing on the surface of a truncated cone according to an embodiment of the present invention.
[0043] Figure 6 This is a schematic diagram of printing on the surface of a sphere according to an embodiment of the present invention.
[0044] Figure 7 It is a schematic structural diagram of a rotating body surface printing device according to an embodiment of the present invention.
[0045] Figure 8 It is a schematic structural diagram of a rotating body surface printing device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0046] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.
[0047] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants 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, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0048] Embodiment 1
[0049] See also Figure 4 The embodiment of the present invention provides a method for printing the surface of a rotating body, which is suitable for color printing on the surface or part of the surface of a cylinder, a truncated cone, a cone or a sphere. The method comprises the following steps:
[0050] S1: determining the color offset corresponding to each row of nozzles in the nozzle according to the shape of the rotating body, wherein the nozzle includes at least two columns of nozzles ejecting inks of different colors, and the color offset is the ink ejection delay of the nozzle relative to a preset reference nozzle;
[0051] S2: Control each row of nozzles of the nozzle head to spray ink onto the surface of the rotating body according to the corresponding color offset.
[0052] Specifically, in order to make the ink dots ejected by nozzles of different colors fall on the same position on the surface of the rotating body during printing to form a high-quality color image, color printing needs to be performed. Figure 5As shown, a nozzle 1 using at least two columns of cyan (C) and magenta (M) nozzles is used to print on the surface of a rotating body. The nozzles in column C eject ink first, and the nozzles in column M should eject ink dots after a corresponding delay (when the position of the ink dots in column C rotates to below the nozzles in column M) so as to print on the same position. This delay is the color offset of the nozzles in column M. In actual printing, four columns of CMYK nozzles are generally used to print color images. If the nozzles in column C eject ink first, the nozzles in column C will be used as the reference nozzles, and the delays of the nozzles in column M, column Y and column K relative to the nozzles in column C need to be calculated respectively. In other words, the color offset of a nozzle is the ink ejection delay of the nozzle relative to the reference nozzle. The reference nozzle can be preset according to actual conditions. Although only two columns of nozzles of different colors are used as an example to illustrate how to print on the surface of a rotating body in this embodiment, the method of using any two, three or four columns of nozzles in CMYK to print on the surface of a rotating body is similar to the method described in this embodiment, so it will not be repeated, but it is within the scope of protection of the present invention.
[0053] When printing on a plane or when the rotating object to be printed is a cylinder, the color offset between each row of nozzles in each column of nozzles is consistent. However, when printing rotating objects such as cones, truncated cones or spheres, the corresponding color offsets are different because the circumference radii corresponding to each row of nozzles are different. Figure 5 The nozzle 1 shown includes two columns of nozzles of colors C and M. Assuming that each column of nozzles includes K nozzles, the nozzle 1 includes K rows of nozzles. When the nozzle 1 is used for round table printing, although the spacing between the nozzles in the first row, the second row, ..., the nth row, ..., and the Kth row is the same, the radii of the circles printed by the nozzles in the first row to the Kth row are R1, R2, ..., Rn, ..., Rk, respectively, and the circumferences of the circles are C1, C2, ..., Cn, ..., Ck, respectively ( Figure 6 The figure is only for illustration. In actual situations, the distance between two adjacent nozzles in the same column of the nozzle is very small, and the distance between each circle corresponding to each row of nozzles is also very small). When the total number of pixels printed on each circular surface is the same, due to different radii and circumferences, the printing accuracy of each circular surface is different. The number of pixels sprayed at the same distance must be different, so the delay of different rows of nozzles spraying ink dots to the corresponding circular surface is also different. Therefore, when printing non-cylindrical rotating bodies, different rows of nozzles need to determine different color offsets. When printing, different rows of nozzles spray ink to the rotating body surface in sequence according to their corresponding color offsets to ensure the accuracy of color printing.
[0054] Preferably, when the rotating body is a non-cylindrical rotating body, the color offset corresponding to each row of nozzles in the nozzle is determined by the following steps:
[0055] Acquire the maximum radius and the minimum radius of the rotating body according to the shape of the rotating body;
[0056] Select a radius between the maximum radius and the minimum radius of the rotating body and record it as a reference radius value;
[0057] Acquire a reference cylinder according to the reference radius;
[0058] Controlling the print head to print and perform color calibration on the reference cylinder to obtain a reference color offset;
[0059] The corresponding color offset of each row of nozzles in the nozzle head when printing on the surface of the rotating body is determined according to the reference color offset.
[0060] Since the radius of each circle in the cylinder is the same, the color calibration delay corresponding to each row of nozzles is the same. First, a cylinder for obtaining a color offset reference value can be obtained, and the printing color calibration can be performed on the surface of the cylinder. Preferably, the selected cylinder radius is between the minimum radius and the maximum radius of the rotating body. Printing and color calibration are performed on the cylinder. Exemplarily, a nozzle 1 including two columns of nozzles, C nozzle and M nozzle, is used for printing. The C column nozzle first sprays ink dots onto the surface of the cylinder. The C column nozzle is used as the reference nozzle, and the C column nozzle and the M column nozzle are printed and colored, and the color offset of the M column nozzle is obtained as Xs (if the M column nozzle first sprays ink dots onto the surface of the cylinder, the M column nozzle is used as the reference nozzle, and the C column nozzle and the M column nozzle are printed and colored, and the color offset of the C column nozzle is obtained as Xs). Here, the cylinder is recorded as the reference cylinder, and the color offset between the two columns of nozzles obtained by printing and coloring according to the reference cylinder is recorded as Xs.
[0061] After the reference color offset is obtained, the color offset of each row of nozzles of the print head 1 when printing on the surface of a non-cylindrical rotating body can be obtained according to the reference color offset.
[0062] by Figure 5 Take the frustum surface printing shown in the figure as an example. Figure 5 In the figure, the first printing position of the first row of nozzles in the nozzle head is the first circumferential surface C1, the corresponding printing position of the second row of nozzles is the second circumferential surface C2, ..., and the corresponding printing position of the nth row of nozzles is the nth circumferential surface Cn. Here, it is assumed that the nozzles in the C column of the first row of nozzles print ink first during printing, and the nozzles in the C column are the reference nozzles. There is no need to consider the color offset, and the color offset of the nozzles in the M column relative to the nozzles in the C column is X1 (if the nozzles in the M column print ink first during printing, then there is no color offset of the nozzles in the M column, and the color offset of the nozzles in the C column relative to the nozzles in the M column is X1). X1 is referred to as the color offset of the nozzles in the first row. Similarly, taking the example of the nozzles in the C column printing ink first, the color offset of the nozzles in the nth row referred to below refers to the color offset of the nozzles in the nth row of the nozzles in the M column relative to the nozzles in the nth row of the nozzles in the C column.
[0063] Preferably, the step of determining the color offset of the nozzle row printing the first circumferential surface of the rotating body according to the reference color offset, recorded as reference color offset, comprises:
[0064] Obtaining a radius value corresponding to the first circular surface, recorded as a first circular radius;
[0065] Acquire an offset ratio according to the first circumferential radius and the radius of the reference cylinder;
[0066] The reference color offset is obtained according to the offset ratio and the reference color offset.
[0067] Specifically, the color offset of the first row of nozzles (the corresponding printing position is the first circumferential surface C1) can be first obtained according to the reference color offset, recorded as the reference color offset, and then the color offset between any row of nozzles can be obtained according to the reference color offset. Preferably, the reference color offset is determined according to the following formula (1):
[0068]
[0069] Wherein, X1 is the reference color offset; Xs is the reference color offset; Rs is the radius of the reference cylinder; R1 is the radius of the first circle C1. R1 / Rs is the offset ratio. In other embodiments, in order to improve the accuracy of the reference color offset, and thus improve the accuracy of the color offset of each row of nozzles obtained according to the reference color offset, multiple reference cylinders with different radii may be selected for printing, multiple reference color offsets may be obtained, and the reference color offset may be obtained according to the multiple reference color offsets. For example, the average value may be taken or the distribution curve of multiple reference color offsets may be obtained, and the reference color offset may be obtained according to the average value or the distribution curve.
[0070] After obtaining the color offset of the first row of nozzles in nozzle 1, the color offset of the nth row of nozzles can be obtained according to the following formula (2):
[0071]
[0072] Because the print image height corresponding to the nth row of nozzles is known, denoted as Ln, and the side height between the maximum circumference Cmax and the first circumference C1 of the frustum is also known, denoted as H, then we can get:
[0073]
[0074] Among them, Xn is the color offset of the nth row of nozzles, Rn is the circumferential radius of the rotating body corresponding to the nth row of nozzles, R1 is the radius of the first circle in the rotating body, Rmax is the radius of the largest circle in the rotating body, Ln is the print image height corresponding to the nth row of nozzles, H is the side height between the first circle and the largest circle in the rotating body, n=1, 2, ..., K, K is the number of nozzles in each column.
[0075] Substituting Rn into formula (2), we get:
[0076]
[0077] In another embodiment, the color offset corresponding to each row of nozzles in the nozzle head 1 can also be directly determined according to the reference color offset, that is, the color offset of the nozzles in the nth row can be obtained according to the following formula (3):
[0078]
[0079] in,
[0080]
[0081] Substituting Rn into formula (3), we get
[0082]
[0083] Among them, Xn is the color offset of the nth row of nozzles, Rn is the circumferential radius of the rotating body corresponding to the nth row of nozzles, R1 is the radius of the first circle in the rotating body, Rmax is the radius of the largest circle in the rotating body, Rs is the reference circular body radius, Xs is the reference color offset, Ln is the print image height corresponding to the nth row of nozzles, H is the side height between the first circle and the largest circle in the rotating body, n=1, 2, ..., K, K is the number of nozzles in each column.
[0084] The above color offset acquisition method is also applicable to spherical printing. Figure 6 As shown, it is assumed that printing starts from the circumferential surface corresponding to the first row of nozzles of nozzle head 1, and the radius of the circumferential surface at the start printing position is known. The chromatic offset (reference chromatic offset) of the first row of nozzles is obtained according to the reference chromatic offset:
[0085]
[0086] The color offset of the second row of nozzles is:
[0087]
[0088] Since the distance between the first row of nozzles and the second row of nozzles is very small in actual printing, the distance between the circumferential surface corresponding to the second row of nozzles and the circumferential surface corresponding to the first row of nozzles can be approximately regarded as the line segment distance L2 between point A and point B. The maximum radius Rmax of the sphere is also known, so it can be obtained by
[0089]
[0090] Get the color offset corresponding to the second row of nozzles.
[0091] By analogy, the color offset Xn of any row of nozzles in printhead 1 can be obtained:
[0092]
[0093] Since the distance between the corresponding circumferential surfaces of the first row of nozzles and the nth row of nozzles is approximated as a straight line distance, the color offset can be corrected by adding an offset correction value. In one embodiment, the corrected color offset of the nth row is:
[0094]
[0095] Wherein, a is the offset correction value, and a is a real number. In this embodiment, the color offset correction values of nozzles in different rows are different. In other embodiments, the color offset correction values corresponding to nozzles in different rows can also be set to be the same. Of course, the color offset correction value can be set according to actual conditions, and is not limited here.
[0096] In some embodiments, the distance h between the current print row nozzle position and the circumferential surface corresponding to the first row nozzle is directly obtained, and the color offset corresponding to the current print row nozzle position is determined according to the distance h:
[0097]
[0098] The function formula f(h) obtains the color offset value based on the actual distance h, which is more accurate than the color offset value obtained based on the approximate straight-line distance. The color offset obtained based on the approximate straight-line distance is suitable for situations with higher precision (small distance between pixels), while this function formula is more suitable for general situations and can be applied regardless of the precision.
[0099] After determining the color offset of each row of nozzles in different color columns, when printing, the rotating body rotates driven by the rotating mechanism. The printer only needs to control the nozzles of different colors in the print head to print ink on the surface of the rotating body in sequence according to the corresponding color offset. There is no need to move the print head for color printing. The whole printing process is simple and efficient, and the color registration is accurate, which ensures the quality of the color image printed on the surface of the rotating body.
[0100] In summary, the rotating body surface printing method provided by the embodiment of the present invention first determines the corresponding color offset of each row of nozzles in the nozzle according to the shape of the rotating body, and then controls each row of nozzles in the nozzle to spray ink to the rotating body surface in sequence according to the corresponding color offset, thereby ensuring high printing efficiency and color accuracy when printing a color image on the rotating body surface. When the rotating body to be printed is a cylindrical rotating body, the color offsets in the same column of nozzles in the nozzle are the same, but when the rotating body to be printed is a non-cylindrical rotating body, different rows of nozzles in the same column of nozzles need to determine different color offsets, thereby ensuring the accuracy of printing color and the quality of the overall color image.
[0101] Embodiment 2
[0102] See also Figure 7 The embodiment of the present invention provides a rotating body surface printing device 200, the device 200 comprising:
[0103] A color shift determination module 201 is used to determine the color shift corresponding to each row of nozzles in the nozzle according to the shape of the rotating body, wherein the nozzle includes at least two columns of nozzles ejecting inks of different colors, and the color shift is the ink ejection delay of the nozzle relative to a preset reference nozzle;
[0104] The printing module 202 is used to control each row of nozzles of the nozzle head to spray ink onto the surface of the rotating body according to the corresponding color offset.
[0105] Furthermore, when the rotating body is a non-cylindrical body, the color shift determination module 201 includes:
[0106] A maximum and minimum radius acquisition unit, used to acquire the maximum radius and the minimum radius of the rotating body according to the shape of the rotating body;
[0107] A selection unit, used for selecting a radius between the maximum radius and the minimum radius of the rotating body, recorded as a reference radius;
[0108] A reference cylinder acquisition unit, used for acquiring a reference cylinder according to the reference radius;
[0109] A reference color offset acquisition unit, used for controlling the print head to print and perform color calibration on the reference cylinder, and acquiring a reference color offset;
[0110] The color offset acquisition unit is used to determine the corresponding color offset of each row of nozzles in the nozzle head when printing on the surface of the rotating body according to the reference color offset.
[0111] Furthermore, the color shift obtaining unit includes:
[0112] A reference color offset acquisition unit, used to determine the color offset of the nozzle row printing the first circumferential surface of the rotating body according to the reference color offset, recorded as the reference color offset, wherein the first circumferential surface is the circumferential surface corresponding to the first row of nozzles in the nozzle head;
[0113] The determination unit is used to obtain the corresponding color offset of each row of nozzles according to the reference color offset.
[0114] Furthermore, the reference color offset acquisition unit includes:
[0115] Obtaining a radius value corresponding to the first circular surface, recorded as a first circular radius;
[0116] Acquire an offset ratio according to the first circumferential radius and the radius of the reference cylinder;
[0117] The reference color offset is obtained according to the offset ratio and the reference color offset.
[0118] Further, the determining unit includes:
[0119] The second formula unit is used to determine the corresponding color offset of each row of nozzles according to the following formula:
[0120]
[0121] Among them, X1 is the reference color offset, Xn is the color offset of the nth row of nozzles, Rn is the circumferential radius of the rotating body corresponding to the nth row of nozzles, R1 is the radius of the first circle in the rotating body, Rmax is the radius of the largest circle in the rotating body, Ln is the print image height corresponding to the nth row of nozzles, H is the side height between the first circle and the largest circle in the rotating body, n=1, 2, ..., K, K is the number of nozzles in each column.
[0122] Further, when the rotating body is a sphere, the determining unit includes:
[0123] The third formula unit is used to determine the corresponding color offset of each row of nozzles according to the following formula:
[0124]
[0125] Among them, X1 is the reference color offset, Xn is the color offset of the nth row of nozzles, Rn is the circumferential radius of the rotating body corresponding to the nth row of nozzles, R1 is the radius of the first circle in the rotating body, Rmax is the radius of the largest circle in the rotating body, Ln is the print image height corresponding to the nth row of nozzles, H is the side height between the first circle and the largest circle in the rotating body, n=1, 2, ..., K, K is the number of nozzles in each column, a is the offset correction value, and a is a real number.
[0126] To summarize, the rotating body surface printing device provided in the embodiment of the present invention first determines the corresponding color offset of each row of nozzles in the nozzle according to the shape of the rotating body, and then controls the nozzles of different colors in the nozzle to print ink successively onto the rotating body surface according to the corresponding color offset when the rotating body rotates driven by the rotating mechanism during printing. There is no need to perform color printing by moving the nozzle, and the entire printing process is simple and efficient, and the color registration is accurate, thereby ensuring the quality of the color image printed on the rotating body surface.
[0127] Embodiment 3
[0128] In addition, the rotating body surface printing method according to the embodiment of the present invention can be implemented by a rotating body surface printing device. Figure 8 A schematic diagram of the hardware structure of a rotating body surface printing device provided by an embodiment of the present invention is shown.
[0129] The rotating body surface printing device may include a processor 301 and a memory 302 storing computer program instructions.
[0130] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.
[0131] The memory 302 may include a large capacity memory for data or instructions. For example, but not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 302 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 302 may be inside or outside the data processing device. In a specific embodiment, the memory 302 is a non-volatile solid-state memory. In a specific embodiment, the memory 302 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0132] The processor 301 reads and executes the computer program instructions stored in the memory 302 to implement any one of the rotating body surface printing methods in the above embodiments.
[0133] In one example, the rotating body surface printing device may further include a communication interface 303 and a bus 310. Figure 8 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.
[0134] The communication interface 303 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.
[0135] Bus 310 includes hardware, software or both, and the parts of the rotating body surface printing device are coupled to each other.For example, but not limitation, bus 310 may include accelerated graphics port (AGP) or other graphics buses, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransmission (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In suitable cases, bus 310 may include one or more buses. Although the embodiment of the present invention describes and shows specific bus, the present invention considers any suitable bus or interconnection.
[0136] Embodiment 4
[0137] In addition, in combination with the rotating body surface printing method in the above embodiment, the embodiment of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor 301, any one of the rotating body surface printing methods in the above embodiment is implemented.
[0138] To summarize, the rotating body surface printing method, device, equipment and storage medium provided by the embodiments of the present invention first determine the corresponding color offset of each row of nozzles in the nozzle according to the shape of the rotating body, and then during printing, when the rotating body rotates driven by the rotating mechanism, the nozzles of different colors in the nozzle are controlled to print ink to the rotating body surface in sequence according to the corresponding color offset. There is no need to perform color printing by moving the nozzle, and the entire printing process is simple and efficient, and the color registration is accurate, thereby ensuring the quality of the color image printed on the rotating body surface.
[0139] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0140] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0141] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
[0142] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. A method for printing on the surface of a rotating body, characterized in that: The method comprises: Determining the color shift corresponding to each row of nozzles in the nozzle according to the shape of the rotating body, wherein the nozzle includes at least two columns of nozzles for ejecting inks of different colors, and the color shift is the ink ejection delay of the nozzle relative to a preset reference nozzle; Control each row of nozzles of the nozzle head to spray ink onto the surface of the rotating body according to the corresponding color offset; Wherein, when the rotating body is a non-cylindrical body, determining the color offset corresponding to each row of nozzles in the nozzle according to the shape of the rotating body includes: Determine the color offset of the nozzle row printing the first circumferential surface of the rotating body according to the reference color offset, and record it as the reference color offset; The corresponding color offset of each row of nozzles is obtained according to the reference color offset, specifically: The corresponding color offset for each row of nozzles is determined according to the following formula: Among them, X1 is the reference color offset, Xn is the color offset of the nth row of nozzles, Rn is the circumferential radius of the rotating body corresponding to the nth row of nozzles, R1 is the radius of the first circle in the rotating body, Rmax is the radius of the largest circle in the rotating body, Ln is the print image height corresponding to the nth row of nozzles, H is the side height between the first circle and the largest circle in the rotating body, n = 1, 2, ..., K, K is the number of nozzles in each column.
2. The rotating body surface printing method according to claim 1, characterized in that: When the rotating body is a non-cylindrical body, determining the color offset corresponding to each row of nozzles in the nozzle according to the shape of the rotating body includes: Acquire the maximum radius and the minimum radius of the rotating body according to the shape of the rotating body; Select a radius between the maximum radius and the minimum radius of the rotating body and record it as a reference radius; Acquire a reference cylinder according to the reference radius; Controlling the print head to print and perform color calibration on the reference cylinder to obtain a reference color offset; The corresponding color offset of each row of nozzles in the nozzle head when printing on the surface of the rotating body is determined according to the reference color offset.
3. The rotating body surface printing method according to claim 2, characterized in that: Determining the color offset of the nozzle row printing the first circumferential surface of the rotating body according to the reference color offset, recorded as the reference color offset, comprises: Obtaining a radius value corresponding to the first circular surface, recorded as a first circular radius; Acquire an offset ratio according to the first circumferential radius and the radius of the reference cylinder; The reference color offset is obtained according to the offset ratio and the reference color offset.
4. The rotating body surface printing method according to any one of claims 1 to 3, characterized in that: The rotating body is a conical rotating body or a truncated cone rotating body.
5. The rotating body surface printing method according to claim 1, characterized in that: When the rotating body is a sphere, obtaining the corresponding color offset of each row of nozzles according to the reference color offset includes: The corresponding color offset for each row of nozzles is determined according to the following formula: Among them, X1 is the reference color offset, Xn is the color offset of the nth row of nozzles, Rn is the circumferential radius of the rotating body corresponding to the nth row of nozzles, R1 is the radius of the first circle in the rotating body, Rmax is the radius of the largest circle in the rotating body, Ln is the print image height corresponding to the nth row of nozzles, H is the side height between the first circle and the largest circle in the rotating body, n =1,2,...,K, K is the number of nozzles in each column, a is the offset correction value, and a is a real number.
6. A rotating body surface printing device, characterized in that: The device comprises: A color offset determination module is used to determine the color offset corresponding to each row of nozzles in the nozzle according to the shape of the rotating body, wherein the nozzle includes at least two columns of nozzles that spray inks of different colors, and the color offset is the ink jetting delay of the nozzle relative to a preset reference nozzle; wherein, when the rotating body is a non-cylindrical body, the color offset corresponding to each row of nozzles in the nozzle according to the shape of the rotating body includes: determining the color offset of the nozzle row printing the first circumferential surface of the rotating body according to the reference color offset, recorded as the reference color offset; obtaining the color offset corresponding to each row of nozzles according to the reference color offset, specifically: determining the color offset corresponding to each row of nozzles according to the following formula: Wherein, X1 is the reference color offset, Xn is the color offset of the nth row of nozzles, Rn is the circumferential radius of the rotating body corresponding to the nth row of nozzles, R1 is the radius of the first circumference of the rotating body, Rmax is the radius of the maximum circumference of the rotating body, Ln is the print image height corresponding to the nth row of nozzles, H is the side height between the first circumference and the maximum circumference of the rotating body, n = 1, 2, ..., K, K is the number of nozzles in each column; The printing module is used to control each row of nozzles of the nozzle head to spray ink onto the surface of the rotating body according to the corresponding color offset.
7. A rotating body surface printing device, characterized in that: include: At least one processor, at least one memory and computer program instructions stored in the memory, when the computer program instructions are executed by the processor, implement the method according to any one of claims 1 to 5.
8. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Method for improving digital printing precision of cylinder
CN112497932A
Image chromatography offset positioning printing method, device and equipment and storage medium
CN114454636A
Method and arrangement for printing a three-dimensional surface
US20150085006A1