Method, apparatus, equipment and storage medium for color printing of irregularly shaped rotating bodies

By constructing the characteristic curve of the irregular rotating body and adjusting the color offset with the reference radius, the problem of inaccurate color printing of irregular rotating bodies was solved, and high-quality color printing effect was achieved, which is suitable for the surface of irregular rotating bodies.

CN123061035APending Publication Date: 2026-11-10SHENZHEN HOSONSOFT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510579213.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-07
Publication Date
2026-11-10

AI Technical Summary

Technical Problem

In existing technologies, inaccurate color registration during color printing on the surface of irregularly shaped rotating bodies leads to poor image printing results, especially since the different radii of the various circles on the irregularly shaped rotating body result in uneven ink droplet density and inconsistent color registration.

Method used

By acquiring multiple sampling distances between the printhead and the surface of the irregular rotating body, an irregular feature curve is constructed, the reference radius and channel reference color offset are determined, the channel color offset adjustment value of each row of data is calculated, and the printhead is controlled to perform color printing.

Benefits of technology

It improves the accuracy and adaptability of color printing for irregularly shaped rotating bodies, simplifies system control, reduces dependence on hardware modification, and is particularly suitable for irregularly shaped workpieces with complex surfaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123061035A_ABST
    Figure CN123061035A_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, device, and storage medium for color printing of irregularly shaped rotating bodies, relating to the field of inkjet printing technology. The method constructs an irregular shape feature curve by acquiring multiple sampling distances between the printhead and the surface of the irregularly shaped rotating body to be printed. Based on this feature curve, a reference radius, and a channel reference color offset, it obtains channel color offset adjustment values ​​for each row of data in the print data. The method then controls the corresponding channels in the printhead to perform color printing of each row of data on the surface of the irregularly shaped rotating body according to the channel color offset adjustment values. By automatically adjusting the channel color offset of the corresponding data rows according to different circumferential radii of the irregularly shaped rotating body, the method achieves adaptive color printing, thereby effectively improving the accuracy of color printing and enhancing the image printing quality of the irregularly shaped rotating body surface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of inkjet printing technology, and in particular to a method, apparatus, equipment, and storage medium for color printing of irregularly shaped rotating bodies. Background Technology

[0002] Inkjet printing technology refers to the process of spraying ink from a printhead onto the surface of a substrate to create text and images. Traditional printing is done on flat surfaces, but with changing needs, inkjet printing technology has emerged to print images onto the surfaces of rotating bodies such as cylinders. Figure 1 As shown, when printing regular rotating bodies such as cylinders, the cylinder is controlled to rotate at a constant speed along its axis while the printing carriage with the printhead moves at a constant speed along the axial direction (Y direction). The printhead ejects ink droplets onto the surface of the cylinder based on the rasterized printing data, or PRN data, to form an image. When printing color images, CMYK four-color channel printing is required. For example... Figure 2 As shown, a typical printhead has four CMYK color channels, with a fixed physical distance between them. When printing multiple colors on a cylinder, if the ink droplets from the K channel are first printed onto the cylinder surface, after a time delay, when the K channel ink droplets rotate to the position projected below the C channel, then the C channel is controlled to print. This ensures that the ink droplets from the K and C channels are ejected to the same position. This time delay is called color offset. Printing multiple colors using the M and Y channels is similar to printing with the C channel. Figure 3 The printed data shown often consists of multiple rows and columns, with each channel corresponding to its own printed data. If the cylinder is evenly divided into multiple circumferences, each circumference corresponds to one row of printed data, during color printing, because the circumferences of all circumferences on the cylinder surface are the same, and the ink dot spacing is the same, the color offset corresponding to each row of data is consistent when printing color over the K and C channels. However, when it is necessary to adjust the color offset of each row of data, such as... Figure 4 When printing an image of an irregularly shaped rotating object, due to its irregular shape, the circumference of the circles corresponding to each row of data on the rotating object varies, resulting in different ink droplet densities. Smaller radii have more ink droplets per unit distance on the circumferential surface, while larger radii have fewer ink droplets per unit distance. If printing is performed using the same color offset for each row of data as when printing a cylinder, it will lead to inaccurate color registration, severely affecting the image printing quality. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide a method, apparatus, device and storage medium for color printing of irregularly shaped rotating bodies, in order to solve the problem of color printing of irregularly shaped rotating bodies in the prior art.

[0004] In a first aspect, embodiments of the present invention provide a method for color printing of irregularly shaped rotating bodies, the method comprising:

[0005] Obtain multiple sampling distances between the printhead and the surface of the irregular rotating body to be printed;

[0006] The irregular feature curve is obtained based on multiple sampling distances;

[0007] Determine the reference radius of the irregular rotating body and its corresponding channel reference color offset;

[0008] The channel color offset adjustment value corresponding to each row of data in the printed data of the irregular rotating body is determined based on the reference radius, the channel reference color offset, and the irregular shape feature curve;

[0009] The corresponding channel in the printhead is controlled to perform color printing of each row of data according to the channel color offset adjustment value.

[0010] Preferably, the multiple sampling distances between the printhead and the surface of the irregular rotating body to be printed include:

[0011] A distance measuring device is installed in the printing carriage, and the printing carriage is also equipped with the nozzle. The side of the distance measuring device facing the irregular rotating body and the side of the nozzle in the printing carriage facing the irregular rotating body are at the same horizontal level.

[0012] While controlling the printing carriage to move at a constant speed along the axis of the irregular rotating body, the distance measuring device is controlled to sample the distance between itself and the surface of the irregular rotating body at preset sampling times, thereby obtaining multiple sampling distances.

[0013] Preferably, obtaining the irregular feature curve based on the plurality of sampling distances includes:

[0014] The irregular feature curve is obtained by curve fitting of multiple sampling distances.

[0015] Preferably, determining the reference radius of the irregular rotating body and its corresponding channel reference color offset includes:

[0016] The maximum radius of the irregular rotating body is determined based on the irregular characteristic curve.

[0017] The maximum radius is determined as the reference radius;

[0018] The color offset of each channel corresponding to the row data with the maximum radius is determined as the channel reference color offset.

[0019] Preferably, determining the channel color offset adjustment value corresponding to each row of data in the printed data of the irregular rotating body based on the reference radius, the channel reference color offset, and the irregular shape feature curve includes:

[0020] The number of print data rows is determined based on the axial printing accuracy and print width of the irregular rotating body.

[0021] The target radius corresponding to each row of data in the printed data of the irregular rotating body is obtained based on the irregular feature curve and the number of rows of printed data.

[0022] The channel color offset adjustment value is obtained based on the reference radius, the channel reference color offset, and the target radius corresponding to each row of data.

[0023] Preferably, obtaining the target radius corresponding to each row of data in the printed data of the irregular rotating body based on the irregular feature curve includes:

[0024] The distance between the nozzle and the circumferential surface where each row of data is located is obtained according to the irregular feature curve, and is recorded as the first distance value;

[0025] The distance between the axis of the irregular rotating body and the nozzle of the spray head is obtained and recorded as the second distance value;

[0026] The target radius is obtained by subtracting the first distance value from the second distance value.

[0027] Preferably, obtaining the channel color offset adjustment value based on the reference radius, the channel reference color offset, and the target radius corresponding to each row of data includes:

[0028] The channel color offset adjustment value is obtained according to the following formula:

[0029] X = X0 × (R0 - R) X ) / R0;

[0030] Where X is the channel color offset adjustment value, X0 is the reference radius, R0 is the channel reference color offset, and R X Let be the target radius.

[0031] Secondly, embodiments of the present invention provide a color printing apparatus for irregularly shaped rotating bodies, the apparatus comprising:

[0032] The sampling module is used to obtain multiple sampling distances between the printhead and the surface of the irregular rotating body to be printed;

[0033] The curve acquisition module is used to acquire the irregular feature curve based on multiple sampling distances;

[0034] A reference determination module is used to determine the reference radius of the irregular rotating body and its corresponding channel reference color offset;

[0035] The adjustment value acquisition module is used to determine the channel color offset adjustment value corresponding to each row of data in the printing data of the irregular rotating body based on the reference radius, the channel reference color offset and the irregular feature curve;

[0036] The color printing module is used to control the corresponding channel in the printhead to perform color printing of each row of data according to the channel color offset adjustment value.

[0037] Thirdly, embodiments of the present invention provide a multi-color printing device for irregularly shaped rotating bodies, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, wherein when the computer program instructions are executed by the processor, the method of the first aspect described above is implemented.

[0038] Fourthly, embodiments of the present invention provide a storage medium storing computer program instructions, which, when executed by a processor, implement the method of the first aspect described above.

[0039] In summary, the beneficial effects of the present invention are as follows:

[0040] The present invention provides a method, apparatus, device, and storage medium for color printing of irregularly shaped rotating bodies. This method constructs an irregular shape feature curve by acquiring multiple sampling distances between the printhead and the surface of the irregularly shaped rotating body to be printed. Based on this feature curve, a reference radius, and a channel reference color offset, it obtains channel color offset adjustment values ​​for each row of data in the printed data. The printhead is then controlled to perform color printing of each row of data on the surface of the irregularly shaped rotating body according to these channel color offset adjustment values. Distance sampling via a distance measuring device accurately captures the geometric changes on the surface of the irregularly shaped rotating body. The curve fitting technique generates the irregular shape feature curve, which more accurately describes the shape of the irregularly shaped rotating body, providing an accurate basis for subsequent adjustment of the color offset of each row of data. Furthermore, by setting the reference radius and channel reference color offset, and automatically adjusting the channel color offset of the corresponding data rows according to different circumferential radii of the irregularly shaped rotating body, color printing becomes adaptive, effectively improving color printing accuracy. Simultaneously, this solution eliminates the need for additional nozzle arrangement adjustments; color printing accuracy is optimized solely through color offset adjustments, thereby simplifying system control and improving production efficiency. In summary, this method not only improves the quality and adaptability of color printing for irregularly shaped rotating bodies and reduces the problem of inaccurate color registration caused by surface irregularities, but also reduces the dependence on hardware modification. It is particularly suitable for irregularly shaped workpieces with complex surfaces, such as arc-shaped or free-form rotating bodies. Attached Figure Description

[0041] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments of the present invention will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, and these are all within the protection scope of the present invention.

[0042] Figure 1 This is a schematic diagram of cylinder printing in the background technology.

[0043] Figure 2 This is a schematic diagram of the CMYK channel of the nozzle in the background technology.

[0044] Figure 3 This is a schematic diagram of the cylindrical multi-color printing technique used in the background.

[0045] Figure 4 This is a schematic diagram of the background technology of printing irregular rotating bodies.

[0046] Figure 5 This is a flowchart illustrating the color printing method for irregularly shaped rotating bodies according to an embodiment of the present invention.

[0047] Figure 6 This is a schematic diagram of setting up a distance testing device to perform distance sampling according to an embodiment of the present invention.

[0048] Figure 7 This is a schematic diagram of the structure of the irregular rotating body color printing device according to an embodiment of the present invention.

[0049] Figure 8 This is a schematic diagram of the structure of the irregular rotating body color printing device according to an embodiment of the present invention. Detailed Implementation

[0050] The features and exemplary embodiments of various aspects of the present invention will now be described in detail. To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. 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 practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the invention.

[0051] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0052] Example 1

[0053] This invention provides a method for color printing of irregularly shaped rotating bodies. This method is applicable to applications of printing images on the surfaces of irregularly shaped rotating bodies, i.e., rotating bodies with different circumferential radii, and to inkjet printing equipment. The inkjet printing equipment includes a clamping device for holding the irregularly shaped rotating body, a rotating device for controlling the rotation of the irregularly shaped rotating body along the axis or in the circumferential direction (X direction), and a printing carriage for mounting printheads. The printing carriage is positioned above the irregularly shaped rotating body and can move along the axial direction (Y direction) of the irregularly shaped rotating body while ejecting ink droplets onto the surface of the irregularly shaped rotating body to form an image.

[0054] Please see Figure 5 The method for color printing of irregularly shaped rotating bodies provided in this embodiment of the invention specifically includes the following steps:

[0055] S1: Obtain multiple sampling distances between the printhead and the surface of the irregular rotating body to be printed;

[0056] S2: Obtain the irregular feature curve based on multiple sampling distances;

[0057] S3: Determine the reference radius of the irregular rotating body and its corresponding channel reference color offset;

[0058] S4: Determine the channel color offset adjustment value corresponding to each row of data in the printed data of the irregular rotating body based on the reference radius, the channel reference color offset and the irregular feature curve;

[0059] S5: Control the corresponding channel in the printhead to perform color printing of each row of data according to the channel color offset adjustment value.

[0060] Specifically, firstly, multiple sampling distances between the printhead and the surface of the irregularly shaped rotating body to be printed are obtained. That is, the distance from the printhead to different positions on the rotating body surface is measured before inkjet printing to obtain the morphological information of the rotating body surface. Then, an irregular shape feature curve is established based on these sampling distances. This curve reflects the characteristics of the rotating body surface shape and serves as the basis for subsequent color offset adjustments. Based on this, the reference radius of the irregularly shaped rotating body and the corresponding channel reference color offset are further determined. The reference radius can be set as the radius of a certain reference circumferential position on the rotating body surface, while the channel reference color offset corresponds to the color offset at that reference circumferential position. Next, based on the reference radius, channel reference color offset, and irregular shape feature curve, the channel reference color offset adjustment value at the corresponding circumference of each row of data in the rotating body printing data is calculated. This ensures that the color printing of each channel can dynamically adapt to the surface shape of the rotating body when printing each row of data. Before printing, the original color offset of each row of data, i.e., the reference color offset, is adjusted according to the obtained color offset adjustment value to avoid the problem of inaccurate color printing caused by the inconsistent circumference of each circle in the irregular rotating body. This ensures accurate color printing of the image on the surface of the irregular rotating body and improves the printing quality.

[0061] In one embodiment, the acquisition of multiple sampling distances between the printhead and the surface of the irregular rotating body to be printed includes:

[0062] A distance measuring device is installed in the printing carriage, and the printing carriage is also equipped with the nozzle. The side of the distance measuring device facing the irregular rotating body and the side of the nozzle in the printing carriage facing the irregular rotating body are at the same horizontal level.

[0063] While controlling the printing carriage to move at a constant speed along the axis of the irregular rotating body, the distance measuring device is controlled to sample the distance between itself and the surface of the irregular rotating body at preset sampling times, thereby obtaining multiple sampling distances.

[0064] Specifically, such as Figure 6As shown, a distance measuring device is installed in the printing carriage. The side of the distance measuring device facing the irregular rotating body is at the same horizontal height as the side of the nozzle facing the irregular rotating body in the printing carriage. In other embodiments, the distance measuring device can also be independently mounted on a crossbeam and driven by a drive device to move at a constant speed along the axial direction of the irregular rotating body to perform distance sampling. When the printing carriage moves along the axial direction of the rotating body, the distance measuring device can measure the distance change between the nozzle and the surface of the rotating body in real time. To ensure the continuity and accuracy of the measurement, the printing carriage is controlled to drive the distance measuring device to move at a constant speed along the axial direction of the irregular rotating body, and the distance measuring device is triggered to perform distance sampling at a preset sampling time interval. Each time a sample is taken, the measuring device records the distance value from the nozzle to the surface of the rotating body and stores it to form a series of sampling data points. Since the surface of the rotating body may have complex morphological changes, such as convexity, depression, or gradient curved surface, these sampling data can comprehensively reflect the actual morphological characteristics of the rotating body surface and provide a basis for subsequent color offset adjustment, so that the color offset can be adjusted according to the actual shape of the rotating body during subsequent printing, ensuring accurate color registration of the final printed image.

[0065] In one embodiment, obtaining the irregular feature curve based on a plurality of the sampling distances includes:

[0066] The irregular feature curve is obtained by curve fitting of multiple sampling distances.

[0067] Specifically, after acquiring multiple sampling distances between the printhead nozzle and the rotating body surface, these data points are treated as discrete samples and processed using curve fitting algorithms, such as polynomial fitting, spline interpolation, or least squares method, to generate a continuous characteristic curve. This irregular characteristic curve accurately reflects the morphological changes of the rotating body surface, providing a basis for subsequent calculation of color offset adjustment values. Compared to directly using discrete measurement points, curve fitting reduces measurement errors, improves data smoothness, and allows the printing equipment to adjust printing data based on a more accurate model, thereby improving the consistency and accuracy of printing results.

[0068] Determining the reference radius of the irregular rotating body and its corresponding channel reference color offset includes:

[0069] The maximum radius of the irregular rotating body is determined based on the irregular characteristic curve.

[0070] The maximum radius is determined as the reference radius;

[0071] The color offset of each channel corresponding to the row data with the maximum radius is determined as the channel reference color offset.

[0072] Specifically, the obtained irregular feature curve reflects the contour shape of the rotating body's surface. Since the shape of an irregular rotating body is usually irregular, the radii of its various circumferences may differ. In this embodiment, the maximum radius of the irregular rotating body is selected as the reference radius. For example, the minimum distance between the surface of the irregular rotating body and the nozzle can be obtained from the irregular feature curve. The distance between the axis of the irregular rotating body and the nozzle can also be obtained by measurement. Subtracting the two yields the maximum radius of the irregular rotating body, which is set as the reference radius. In other embodiments, the minimum radius or the average of all radii can also be used as the reference radius, depending on the actual application, and is not limited here. The color offset of each channel in the row data corresponding to the reference radius is used as the channel reference color offset. For example, if the reference radius is the maximum radius in the irregular rotating body, the circumference of the circle corresponding to the maximum radius and the rotation speed of the irregular rotating body are obtained, and the color offset between channel K and channel C is calculated, denoted as the C channel reference color offset. Similarly, the color offset between channel K and channels M and Y are calculated, denoted as the K channel reference color offset and the Y channel reference color offset, respectively. The reference radius and its channel reference color offset are used to subsequently calculate the channel color offset adjustment value for the corresponding row data at other radius positions, so as to perform accurate channel color printing at different radii.

[0073] In one embodiment, determining the channel color offset adjustment value corresponding to each row of data in the printed data of the irregular rotating body based on the reference radius, the channel reference color offset, and the irregular shape feature curve includes:

[0074] The number of print data rows is determined based on the axial printing accuracy and print width of the irregular rotating body.

[0075] The target radius corresponding to each row of data in the printed data of the irregular rotating body is obtained based on the irregular feature curve and the number of rows of printed data.

[0076] The channel color offset adjustment value is obtained based on the reference radius, the channel reference color offset, and the target radius corresponding to each row of data.

[0077] Specifically, the first step is to determine the number of print data rows arranged axially along the irregular rotating body. This number depends on the axial printing precision of the irregular rotating body. Based on the axial printing width and precision of the irregular rotating body, the total number of print rows is calculated. For example, if the axial printing precision is 200 DPI (dots per inch), and the axial printing width is 5 inches, then the number of print data rows is 1000. During printing, these 1000 rows of data are evenly distributed on the printing area of ​​the irregular rotating body surface to ensure that the image can completely cover the entire printing area. Based on the irregular shape's characteristic curve, the distance between each circumferential surface in the printing area and the printhead can be determined. Thus, the distance between the circumferential position surface of each data row and the printhead (i.e., the first distance) can be determined. Subtracting this from the distance between the axis of the irregular rotating body and the printhead (i.e., the second distance) yields the target radius corresponding to each row of data.

[0078] After obtaining the target radius corresponding to each row of data, the channel color offset adjustment value is calculated based on the baseline radius and the channel baseline color offset. Preferably, it is calculated according to the following formula:

[0079] X = X0 × (R0 - R) X ) / R0;

[0080] Where X is the channel color offset adjustment value, X0 is the channel reference color offset, R0 is the reference radius, and R X The target radius is defined by this formula, which reflects the relationship between the channel color offset adjustment value and the radius of the rotating body. This ensures that the color offset of each channel can be adjusted accordingly when the radius changes, thus ensuring color accuracy. In other embodiments, the channel color offset adjustment value can also be obtained by adjusting the color effect based on the channel color offset adjustment value using an offset correction coefficient. For example, X = α × X0 × (R0 - R X ) / R0; where α is the offset correction coefficient, and α is a real number, thereby further improving the accuracy of color matching.

[0081] The channel color offset adjustment value corresponding to each row of data is obtained. During color printing, the channel color offset of each row of data is adjusted accordingly. For example, if the reference radius is the maximum radius of the irregular rotating body, the reference color offset between its K and C channels is 1 second. If the target radius corresponding to the target row of data is half of the maximum radius, the corresponding C channel color offset adjustment value is calculated to be 0.5 seconds according to the above formula. During color printing of this row of data, the C channel is controlled to trigger the inkjet timing adjustment based on this color offset adjustment value, ensuring accurate color registration between the K and C channels at the circumference of the row of data, thereby ensuring the image printing effect. Color printing between the K channel and the M and Y channels is similar to that of the C channel and will not be elaborated here.

[0082] In summary, the color printing method for irregularly shaped rotating bodies provided by this invention constructs an irregularly shaped feature curve by acquiring multiple sampling distances between the printhead and the surface of the irregularly shaped rotating body to be printed. Based on this feature curve, a reference radius, and a channel reference color offset, it obtains channel color offset adjustment values ​​for each row of data in the printing data. The method then controls the corresponding channels in the printhead to perform color printing on each row of data on the surface of the irregularly shaped rotating body according to these channel color offset adjustment values. Distance sampling via a distance measuring device accurately captures the geometric changes on the surface of the irregularly shaped rotating body. The curve fitting technique generates the irregularly shaped feature curve, which more accurately describes the shape of the irregularly shaped rotating body, providing an accurate basis for subsequent adjustment of the color offset of each row of data. Furthermore, by setting the reference radius and channel reference color offset, and automatically adjusting the channel color offset of the corresponding data rows according to different circumferential radii of the irregularly shaped rotating body, color printing becomes adaptive, effectively improving color printing accuracy. Simultaneously, this solution eliminates the need for additional nozzle arrangement adjustments; color printing accuracy can be optimized solely through color offset adjustments, thereby simplifying system control and improving production efficiency. In summary, this method not only improves the quality and adaptability of color printing for irregularly shaped rotating bodies and reduces the problem of inaccurate color registration caused by surface irregularities, but also reduces the dependence on hardware modification. It is particularly suitable for irregularly shaped workpieces with complex surfaces, such as arc-shaped or free-form rotating bodies.

[0083] Example 2

[0084] Please see Figure 7 This invention provides a color printing device 200 for irregularly shaped rotating bodies, the device 200 comprising:

[0085] The sampling module 201 is used to obtain multiple sampling distances between the printhead and the surface of the irregular rotating body to be printed;

[0086] Curve acquisition module 202 is used to acquire irregular feature curves based on multiple sampling distances;

[0087] The reference determination module 203 is used to determine the reference radius of the irregular rotating body and its corresponding channel reference color offset;

[0088] The adjustment value acquisition module 204 is used to determine the channel color offset adjustment value corresponding to each row of data in the printing data of the irregular rotating body based on the reference radius, the channel reference color offset and the irregular feature curve;

[0089] The color printing module 205 is used to control the corresponding channel in the printhead to perform color printing of each row of data according to the channel color offset adjustment value.

[0090] In summary, the irregular rotating body color printing device provided in this embodiment of the invention constructs an irregular feature curve by acquiring multiple sampling distances between the printhead and the surface of the irregular rotating body to be printed. Based on this irregular feature curve, as well as the reference radius and channel reference color offset, it obtains the channel color offset adjustment value for each row of data in the printing data. According to the channel color offset adjustment value, it controls the corresponding channel in the printhead to perform color printing of each row of data on the surface of the irregular rotating body. Distance sampling via a distance measuring device accurately captures the geometric changes of the irregular rotating body surface. The irregular feature curve generated using curve fitting technology can more accurately describe the shape of the irregular rotating body, providing an accurate basis for subsequent adjustment of the color offset of each row of data. Furthermore, by setting the reference radius and channel reference color offset, and automatically adjusting the channel color offset of the corresponding data row according to different circumferential radii of the irregular rotating body, color printing becomes adaptive, effectively improving color printing accuracy. Simultaneously, this solution does not require additional adjustment of the nozzle arrangement; color printing accuracy can be optimized solely through adjustment of the color offset, thereby simplifying system control and improving production efficiency. In summary, this method not only improves the quality and adaptability of color printing for irregularly shaped rotating bodies and reduces the problem of inaccurate color registration caused by surface irregularities, but also reduces the dependence on hardware modification. It is particularly suitable for irregularly shaped workpieces with complex surfaces, such as arc-shaped or free-form rotating bodies.

[0091] Example 3

[0092] In addition, the method for color printing of irregular rotating bodies according to the present invention can be implemented by an irregular rotating body color printing device. Figure 8 A schematic diagram of the hardware structure of the irregular rotating body color printing device provided in an embodiment of the present invention is shown.

[0093] The irregular rotating body color printing device may include a processor 301 and a memory 302 storing computer program instructions.

[0094] Specifically, the processor 301 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of the present invention.

[0095] Memory 302 may include mass storage for data or instructions. For example, and not limitingly, memory 302 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 302 may include removable or non-removable (or fixed) media. Where appropriate, memory 302 may be internal or external to a data processing device. In a particular embodiment, memory 302 is a non-volatile solid-state memory. In a particular embodiment, memory 302 includes read-only memory (ROM). Where appropriate, 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 flash memory, or a combination of two or more of these.

[0096] The processor 301 reads and executes computer program instructions stored in the memory 302 to implement any of the color printing methods for irregular rotating bodies in the above embodiments.

[0097] In one example, the irregularly shaped rotating body color printing device may also include a communication interface 303 and a bus 310. For example, Figure 8 As shown, the processor 301, memory 302, and communication interface 303 are connected through bus 310 and complete communication with each other.

[0098] The communication interface 303 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of the present invention.

[0099] Bus 310 includes hardware, software, or both, that couples components of a non-circular rotating body color printing device together. For example, and not limitingly, bus 310 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 310 may include one or more buses. While specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.

[0100] Example 4

[0101] Furthermore, in conjunction with the irregular rotating body color printing method in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by the processor 301, they implement any of the irregular rotating body color printing methods in the above embodiments.

[0102] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are 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. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.

[0103] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals 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, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0104] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0105] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.

Claims

1. A method for color printing of irregularly shaped rotating bodies, characterized in that, The method includes: Obtain multiple sampling distances between the printhead and the surface of the irregular rotating body to be printed; The irregular feature curve is obtained based on multiple sampling distances; Determine the reference radius of the irregular rotating body and its corresponding channel reference color offset; The channel color offset adjustment value corresponding to each row of data in the printed data of the irregular rotating body is determined based on the reference radius, the channel reference color offset, and the irregular shape feature curve; The corresponding channel in the printhead is controlled to perform color printing of each row of data according to the channel color offset adjustment value.

2. The method for color printing of irregularly shaped rotating bodies according to claim 1, characterized in that, The multiple sampling distances between the printhead and the surface of the irregular rotating body to be printed include: A distance measuring device is installed in the printing carriage, and the printing carriage is also equipped with the nozzle. The side of the distance measuring device facing the irregular rotating body and the side of the nozzle in the printing carriage facing the irregular rotating body are at the same horizontal level. While controlling the printing carriage to move at a constant speed along the axis of the irregular rotating body, the distance measuring device is controlled to sample the distance between itself and the surface of the irregular rotating body at preset sampling times, thereby obtaining multiple sampling distances.

3. The method for color printing of irregularly shaped rotating bodies according to claim 1, characterized in that, The step of obtaining the irregular feature curve based on multiple sampling distances includes: The irregular feature curve is obtained by curve fitting of multiple sampling distances.

4. The method for color printing of irregularly shaped rotating bodies according to claim 1, characterized in that, Determining the reference radius of the irregular rotating body and its corresponding channel reference color offset includes: The maximum radius of the irregular rotating body is determined based on the irregular characteristic curve. The maximum radius is determined as the reference radius; The color offset of each channel corresponding to the row data with the maximum radius is determined as the channel reference color offset.

5. The method for color printing of irregularly shaped rotating bodies according to any one of claims 1-4, characterized in that, The step of determining the channel color offset adjustment value corresponding to each row of data in the printed data of the irregular rotating body based on the reference radius, the channel reference color offset, and the irregular shape feature curve includes: The number of print data rows is determined based on the axial printing accuracy and print width of the irregular rotating body. The target radius corresponding to each row of data in the printed data of the irregular rotating body is obtained based on the irregular feature curve and the number of rows of printed data. The channel color offset adjustment value is obtained based on the reference radius, the channel reference color offset, and the target radius corresponding to each row of data.

6. The method for color printing of irregularly shaped rotating bodies according to claim 5, characterized in that, The step of obtaining the target radius corresponding to each row of data in the printed data of the irregular rotating body based on the irregular feature curve includes: The distance between the nozzle and the circumferential surface where each row of data is located is obtained according to the irregular feature curve, and is recorded as the first distance value; The distance between the axis of the irregular rotating body and the nozzle of the nozzle is obtained and recorded as the second distance value; The target radius is obtained by subtracting the first distance value from the second distance value.

7. The method for color printing of irregularly shaped rotating bodies according to claim 5, characterized in that, The step of obtaining the channel color offset adjustment value based on the reference radius, the channel reference color offset, and the target radius corresponding to each row of data includes: The channel color offset adjustment value is obtained according to the following formula: X=X0×(R0-R X ) / R0; Where X is the channel color offset adjustment value, X0 is the reference radius, R0 is the channel reference color offset, and R X Let be the target radius.

8. A color printing device for irregularly shaped rotating bodies, characterized in that, The device includes: The sampling module is used to obtain multiple sampling distances between the printhead and the surface of the irregular rotating body to be printed; The curve acquisition module is used to acquire the irregular feature curve based on multiple sampling distances; A reference determination module is used to determine the reference radius of the irregular rotating body and its corresponding channel reference color offset; The adjustment value acquisition module is used to determine the channel color offset adjustment value corresponding to each row of data in the printing data of the irregular rotating body based on the reference radius, the channel reference color offset and the irregular feature curve; The color printing module is used to control the corresponding channel in the printhead to perform color printing of each row of data according to the channel color offset adjustment value.

9. A color printing device for irregularly shaped rotating bodies, characterized in that, include: At least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method as described in any one of claims 1-7.

10. A storage medium storing computer program instructions thereon, characterized in that, The method as described in any one of claims 1-7 is implemented when the computer program instructions are executed by the processor.