Method, apparatus, equipment and storage medium for controlling the printing of cylindrical objects

By calculating the number of ink dots and the ink jet interval scale for cylindrical objects, and controlling the ink output speed of the printhead to match the rotation speed, the problems of image overlap and blank spaces in the printing of cylindrical objects are solved, thus improving printing quality and efficiency.

CN118752906BActive Publication Date: 2025-10-28SHENZHEN HOSONSOFT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310347416.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2025-10-28
Estimated Expiration
2043-03-27

AI Technical Summary

Technical Problem

In existing technologies, when printing cylindrical objects, the mismatch between the ink output speed and the rotation speed of the printhead leads to problems such as image overlap or blank areas. Furthermore, the verification methods are complex, time-consuming, and wasteful of printing media.

Method used

By obtaining the circumference of the cylindrical object and the circumferential printing accuracy of the image to be printed, the number of ink dots and the inkjet interval scale are calculated, and the nozzle ignition and ink discharge are controlled to ensure that the nozzle ink discharge speed matches the object rotation speed.

Benefits of technology

It achieves uniform image distribution when printing cylindrical objects, avoids image overlap or blank areas, improves printing quality and production efficiency, and reduces waste of printing media and time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118752906B_ABST
    Figure CN118752906B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, device, and storage medium for controlling the printing of cylindrical objects, relating to the field of inkjet printing technology. The method obtains the number of first ink dots to be printed on the cylindrical object during one rotation by using the circumference and circumferential printing accuracy of the cylindrical object; it obtains the inkjet interval scale for printing two adjacent ink dots on the cylindrical object based on the encoder accuracy and the number of first ink dots; and it controls the printhead ignition and ink output according to the inkjet interval scale. The method adjusts the printhead ignition or ink output speed accordingly based on the number of first ink dots and the encoder accuracy, thus adjusting the spacing between the ink dots printed on the circumference of the cylindrical object. This ensures that the ink dots of the first ink dot count are evenly printed on the cylindrical object during one rotation, guaranteeing that the printhead ink output speed matches the rotation speed of the cylindrical object. This avoids image overlap or gaps between images during printing, ensuring image printing quality.
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, device, and storage medium for controlling the printing of cylindrical objects. Background Technology

[0002] Cylindrical object printing refers to using a printer to print patterns on the surface or a portion of a cylindrical object (including the outer and inner surfaces). Products printed include, but are not limited to: wine bottles, thermos cups, metal tubes, glass cups, paper cups, flexible materials, etc. Figure 1a The image shows a schematic diagram of inkjet printing on the outer surface of a cylindrical object. Figure 1b The diagram shows an inkjet print of the inner surface of a cylindrical object. The printing method for the cylindrical object is as follows: Figure 2 As shown, the cylindrical object printing equipment includes a crossbeam, a printhead, and a clamping device. The printhead is mounted on the crossbeam, and the cylindrical object is fixed at its axis by the clamping device. During printing, the printhead moves along the crossbeam in the X direction at a certain speed, while the cylindrical object rotates continuously around its central axis in the Y direction at a certain speed until the entire cylindrical object is printed. The rotational speed of the cylindrical object is calculated based on its circumference and the image printing accuracy. Since the circumference measurement of the cylindrical object is relatively rough and contains errors, and the equipment also has machine errors and signal errors, it is necessary to verify the match between the rotational speed of the cylindrical object and the ink output speed of the printhead before printing. This avoids problems such as image stretching or compression on the surface of the cylindrical object due to a mismatch between the ink output speed and the rotational speed, leading to image overlap or blank areas at the beginning and end of the image. Existing calibration methods involve printing a test pattern before printing, then scanning the test pattern and adjusting the rotation speed of the cylindrical object based on the test results to meet the ink output speed of the printhead. Existing calibration methods are complex, time-consuming, and wasteful of printing media. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide a method, apparatus, device and storage medium for controlling the printing of cylindrical objects, in order to solve the problem of image overlap or blankness caused by the mismatch between ink output speed and rotation speed during the printing of cylindrical objects in the prior art.

[0004] In a first aspect, embodiments of the present invention provide a method for controlling the printing of cylindrical objects, the method comprising:

[0005] Obtain the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the accuracy of the encoder disk;

[0006] The number of ink dots to be printed on the cylindrical object when it rotates once is obtained based on the circumference of the cylindrical object and the circumferential printing accuracy, and is recorded as the first ink dot number; wherein, when the cylindrical object rotates once, the encoder disk rotates once synchronously.

[0007] The scale of the code disk rotation when printing two adjacent ink dots on the cylindrical object is obtained based on the code disk accuracy and the first ink dot count, and is recorded as the inkjet interval scale.

[0008] The cylindrical object is printed by controlling the printhead to ignite and emit ink according to the inkjet interval scale.

[0009] Preferably, the step of obtaining the number of ink dots to be printed on the cylindrical object when the cylindrical object rotates once, based on the circumference of the cylindrical object and the circumferential printing accuracy, and denoted as the first ink dot number, includes:

[0010] The number of ink dots per centimeter is obtained based on the circumferential printing accuracy.

[0011] The first number of ink dots is obtained based on the number of ink dots per centimeter and the circumference of the cylindrical object.

[0012] Preferably, the step of obtaining the scale of the code disk rotation when printing two adjacent ink dots on the cylindrical object based on the code disk accuracy and the first ink dot count, denoted as the inkjet interval scale, includes:

[0013] The pulse interval between two adjacent ink dots is obtained based on the encoder accuracy and the first ink dot count.

[0014] The inkjet interval scale is obtained based on the pulse interval.

[0015] Preferably, the step of controlling the printhead ignition and ink output according to the inkjet interval scale to print the cylindrical object includes:

[0016] The pulse waveform output by the code disk each time the inkjet interval scale is rotated is obtained and recorded as the drive pulse;

[0017] The printhead is ignited once by the driving pulse and ink droplets are ejected onto the cylindrical object.

[0018] Preferably, the method further includes:

[0019] The firing frequency of the printhead is obtained according to the inkjet interval scale;

[0020] The linear velocity of the cylindrical object is obtained based on the nozzle ignition frequency and the circumferential printing accuracy.

[0021] The cylindrical object is controlled to rotate circumferentially based on the linear velocity.

[0022] Preferably, the method further includes:

[0023] Obtain the maximum ignition frequency of the nozzle;

[0024] The minimum value of the inkjet interval scale is obtained based on the maximum firing frequency;

[0025] The maximum number of printed dots per revolution of the cylindrical object is obtained based on the minimum value of the inkjet interval scale, and is recorded as the second ink dot count.

[0026] The maximum circumferential printing accuracy is obtained based on the second ink dot count and the circumference of the cylindrical object.

[0027] Preferably, the method further includes:

[0028] Before printing the image to be printed, the maximum circumferential printing accuracy is compared with the circumferential printing accuracy of the image to be printed;

[0029] When the maximum circumferential printing accuracy is less than the circumferential printing accuracy, the number of interpolation points is obtained based on the maximum circumferential printing accuracy and the circumferential printing accuracy of the image to be printed;

[0030] The cylindrical object is printed with interpolation points along its circumference according to the number of interpolation points.

[0031] Secondly, embodiments of the present invention provide a cylindrical object printing control device, the device comprising:

[0032] The parameter acquisition module is used to obtain the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the accuracy of the encoder.

[0033] The first ink dot counting module is used to obtain the number of ink dots to be printed on the cylindrical object when the cylindrical object rotates once, based on the circumference of the cylindrical object and the circumferential printing accuracy, and is denoted as the first ink dot count; wherein, when the cylindrical object rotates once, the encoder disk rotates once synchronously.

[0034] The inkjet interval scale acquisition module is used to acquire the scale of the code disk rotation when printing two adjacent ink dots on the cylindrical object according to the code disk accuracy and the first ink dot number, and is recorded as the inkjet interval scale.

[0035] The control module is used to control the printhead to ignite and dispense ink according to the inkjet interval scale to print the cylindrical object.

[0036] Thirdly, embodiments of the present invention provide a cylindrical object printing control device, 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.

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

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

[0039] The cylindrical object printing control method, apparatus, device, and storage medium provided in this invention obtain the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the encoder accuracy; based on the circumference of the cylindrical object and the circumferential printing accuracy, obtain the number of ink dots to be printed on the cylindrical object when it rotates once, denoted as the first ink dot count; based on the encoder accuracy and the first ink dot count, obtain the scale of encoder rotation when printing two adjacent ink dots on the cylindrical object, denoted as the inkjet interval scale; and control the printhead to ignite and dispense ink to print the cylindrical object according to the inkjet interval scale. The cylindrical object printing control method adjusts the printhead ignition or ink output speed according to the first ink dot count and the encoder precision, thereby adjusting the spacing between ink dots printed on the circumference of the cylindrical object. This ensures that when the cylindrical object rotates one revolution, the ink dots of the first ink dot count can be printed evenly on the cylindrical object, guaranteeing that the printhead ink output speed and the cylindrical object rotation speed are matched. This avoids problems such as image overlap or blank spaces between images during cylindrical object printing, thus ensuring image printing quality. Attached Figure Description

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

[0041] Figure 1a This is a schematic diagram of printing on the outer surface of a cylindrical object in the background technology.

[0042] Figure 1b This is a schematic diagram of printing on the inner surface of a cylindrical object in the background technology.

[0043] Figure 2 This is a schematic diagram of a cylindrical object printing device from the background technology.

[0044] Figure 3This is a schematic diagram of a cylindrical object printing device according to an embodiment of the present invention.

[0045] Figure 4 This is a flowchart illustrating the cylindrical object printing control method according to an embodiment of the present invention.

[0046] Figure 5 This is a schematic diagram of the cylindrical object printing control device according to an embodiment of the present invention.

[0047] Figure 6 This is a schematic diagram of the structure of a cylindrical object printing control device according to an embodiment of the present invention. Detailed Implementation

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

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

[0050] Example 1

[0051] This invention provides a method for controlling the printing of cylindrical objects, applicable to applications where images are printed on the surface of cylindrical objects using a cylindrical object printing device. For example... Figure 3The cylindrical object printing device includes at least a crossbeam 1, a printhead 2, a clamping device 3, and an encoder 5. The printhead includes at least one row of printheads. The device also includes a rotating mechanism and a stepping mechanism (not shown). The rotating mechanism drives the cylindrical object to rotate along its central axis, and the stepping mechanism drives the printhead to step along the X-direction (axial direction). Each rotation of the cylindrical object 4 by the rotating mechanism also drives the encoder 5 to rotate once. During rotation, the encoder 5 generates a pulse signal, which can be used to control the ignition speed or frequency of the printhead. Each ignition of the printhead drives the printhead to eject ink droplets once.

[0052] See Figure 4 The method for controlling the printing of cylindrical objects specifically includes the following steps:

[0053] S1: Obtain the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the accuracy of the encoder disk;

[0054] S2: Based on the circumference of the cylindrical object and the circumferential printing accuracy, obtain the number of ink dots that need to be printed on the cylindrical object when it rotates once, and record it as the first ink dot number; wherein, when the cylindrical object rotates once, the encoder disk rotates once synchronously.

[0055] S3: Based on the encoder accuracy and the first ink dot count, obtain the encoder rotation scale when printing two adjacent ink dots on the cylindrical object, and record it as the inkjet interval scale.

[0056] S4: Control the printhead to ignite and emit ink according to the inkjet interval scale to print the cylindrical object.

[0057] Specifically, when printing on a cylindrical object, it is necessary to know the image accuracy of the image to be printed onto the surface of the cylindrical object in both the circumferential and axial directions (hereinafter referred to as circumferential printing accuracy and axial printing accuracy). Circumferential printing accuracy is the number of ink dots printed per inch along the circumference of the cylindrical object, and axial printing accuracy is the number of ink dots printed per inch along the axis of the cylindrical object. Based on the circumferential printing accuracy and the circumference of the cylindrical object, the number of ink dots that need to be printed on the surface of the cylindrical object when it rotates once can be obtained, denoted as the first ink dot count D. The optimal image printing effect is achieved when the cylindrical object rotates once, with the printhead dispensing ink to evenly distribute D ink dots across its surface. If the printhead's ink dispensing speed is too slow, the D ink dots may not be fully printed after one rotation, resulting in unprinted dots being printed in the next rotation. However, the printhead then starts dispensing dots for the next rotation, causing image stretching and overlap. Conversely, if the printhead's ink dispensing speed is too fast, the D ink dots may be dispensed before the cylindrical object completes one rotation, and the printhead will only begin dispensing dots for the next rotation, leading to image compression or gaps between images, severely impacting print quality. In this embodiment, after obtaining the first ink dot count, the printhead rotation scale (denoted as the inkjet interval scale) is obtained using the first ink dot count and the code disk accuracy. Then, the printhead ignition is controlled based on this inkjet interval scale to control the printhead's ink dispensing speed.

[0058] Preferably, the step of obtaining the number of ink dots to be printed on the cylindrical object when the cylindrical object rotates once, based on the circumference of the cylindrical object and the circumferential printing accuracy, and denoted as the first ink dot number, includes:

[0059] The number of ink dots per centimeter is obtained based on the circumferential printing accuracy.

[0060] The first number of ink dots is obtained based on the number of ink dots per centimeter and the circumference of the cylindrical object.

[0061] Specifically, circumferential printing precision is characterized by the number of ink dots printed per inch. The circumference of a cylindrical object is often represented by the international unit centimeter or millimeter. Therefore, we first obtain the number of ink dots per unit length based on the circumferential printing precision, and denot it as the number of ink dots per unit length. Let the circumferential printing precision be A, then the number of ink dots per unit length is: M = A / 2.54.

[0062] Let L be the circumference of the cylindrical object, in centimeters. Then the number of the first ink dots is D:

[0063] D = M × A

[0064] After obtaining the first ink dot count, it is necessary to adjust the ink release timing or ink release interval of each ink dot so that the first ink dot count can be evenly distributed around the surface of the cylindrical object.

[0065] Preferably, the step of obtaining the scale of the code disk rotation when printing two adjacent ink dots on the cylindrical object based on the code disk accuracy and the first ink dot count, denoted as the inkjet interval scale, includes:

[0066] The pulse interval between two adjacent ink dots is obtained based on the encoder accuracy and the first ink dot count.

[0067] The inkjet interval scale is obtained based on the pulse interval.

[0068] In this embodiment of the invention, the code disk is used to output pulse signals, which can be used to drive the printhead ignition. The printing system controls the printhead to ignite once every predetermined number of pulse signals received. Each ignition of the printhead results in one ink ejection. Therefore, the ink ejection speed of the printhead is related to the pulse signals output by the code disk. Code disk accuracy refers to the number of pulses generated per revolution of the code disk (grating disk). The unit of code disk accuracy is P / R. For example, if the code disk generates 2500 pulses per revolution, then the code disk accuracy is 2500 P / R.

[0069] In a cylindrical object printing device, the rotating mechanism drives the cylindrical object to rotate once, which in turn drives the code disk to rotate once. Assuming the code disk's precision is B, one rotation generates B pulses. To ensure the printhead ejects exactly D ink droplets per rotation, the printhead should be driven to eject ink once every B / D pulses. Assuming each pulse output requires rotating one code disk scale (1 code disk scale = 360° / B), then outputting B / D pulses requires rotating the code disk scale by one scale. Let C be the inkjet interval scale.

[0070] Preferably, the step of controlling the printhead ignition and ink output according to the inkjet interval scale to print the cylindrical object includes:

[0071] The pulse waveform output by the code disk each time the inkjet interval scale is rotated is obtained and recorded as the drive pulse;

[0072] The printhead is ignited once by the driving pulse and ink droplets are ejected onto the cylindrical object.

[0073] In other words, whenever the encoder rotates to scale C, its pulse signal is read, driving the printhead to ignite once. Each time the printhead ignites, a corresponding ink dot is ejected. When the cylindrical object rotates once, it drives the encoder to rotate once. The pulse signal output by the encoder drives the printhead to ignite D times evenly, thus printing the first D ink dots evenly on the surface of the cylindrical object.

[0074] Furthermore, to ensure the matching of the rotational speed of the cylindrical object with the ink output speed of the printhead, the method further includes:

[0075] The firing frequency of the printhead is obtained according to the inkjet interval scale;

[0076] The linear velocity of the cylindrical object is obtained based on the nozzle ignition frequency and the circumferential printing accuracy.

[0077] The cylindrical object is controlled to rotate circumferentially based on the linear velocity.

[0078] Specifically, since the printhead ignites once every time the code disk rotates the inkjet time scale, the printhead ignition frequency can be obtained by acquiring the time taken for the code disk to rotate the inkjet time scale. The printhead ignition frequency refers to the number of ink droplets that each nozzle in the printhead can eject per second, and the unit is Hz.

[0079] In printing cylindrical objects, the calculation relationships between circumferential printing accuracy A, linear velocity v, and ignition frequency F are as follows:

[0080] A = F / v;

[0081] We know that the linear velocity v = F / A. Furthermore, the linear velocity v = ω × R; R = L / 2π, where ω is the angular velocity, R is the radius, and L is the circumference of the cylindrical object.

[0082] We can obtain: ω=(F×L) / (A×2π);

[0083] The cylindrical object is controlled to rotate circumferentially based on the linear velocity v or angular velocity ω, ensuring that the rotational speed of the cylindrical object matches the ink output speed of the printhead.

[0084] For printing cylindrical objects, a higher printhead firing frequency results in more ink dots printed per inch in the circumferential direction, leading to higher image precision in the circumferential direction. However, the printhead firing frequency cannot be increased indefinitely; each printhead has a specified maximum firing frequency at the factory. If the frequency driving the printhead firing exceeds this maximum, it often damages the printhead. To improve printing precision for cylindrical objects while protecting the printhead, and considering the matching of the cylindrical object's rotation speed with the printhead's ink output speed, and using the maximum circumferential printing precision obtained from the printhead's maximum firing frequency as a reference, the circumferential precision of the image to be printed is selected. Specific steps include:

[0085] Obtain the maximum ignition frequency of the nozzle;

[0086] The minimum value of the inkjet interval scale is obtained based on the maximum firing frequency;

[0087] The maximum circumferential printing accuracy is obtained based on the minimum value of the inkjet interval scale.

[0088] Specifically, the maximum ignition frequency of the printhead can be determined from the parameters specified by the printhead manufacturer. From this maximum ignition frequency, the minimum value of the inkjet interval scale at which the encoder rotates can be deduced. Based on the relationship between the inkjet interval scale and the encoder precision, the maximum number of printed dots per revolution of the cylindrical object is calculated and denoted as the second ink dot count. The maximum circumferential printing precision can then be obtained from the second ink dot count and the circumference of the cylindrical object. Using this maximum circumferential printing precision as a reference, images with a circumferential printing precision less than or equal to this maximum circumferential printing precision are selected for printing, thereby improving printing precision while maintaining printing efficiency.

[0089] Furthermore, before printing the image to be printed, the maximum circumferential printing accuracy is compared with the circumferential printing accuracy of the image to be printed;

[0090] When the maximum circumferential printing accuracy is less than the circumferential printing accuracy, the number of interpolation points is obtained based on the maximum circumferential printing accuracy and the circumferential printing accuracy of the image to be printed;

[0091] The image to be printed is printed by interpolating points on the surface of the cylindrical object according to the number of interpolation points.

[0092] If the circumferential printing accuracy of the image to be printed is greater than the maximum circumferential printing accuracy, in order to ensure that the image printed on the surface of the cylindrical object meets the accuracy requirements, it is necessary to perform interpolation printing on the cylindrical object. For example, when the maximum circumferential printing accuracy is 900 dpi, and the user requires a circumferential printing accuracy of 1800 dpi, interpolation printing can be performed to improve the circumferential printing accuracy of the cylindrical object. For example, suppose the maximum circumferential and axial printing accuracy of a cylindrical object is 900dpi × 600dpi, and the circumferential and axial printing accuracy of the image to be printed is 1800dpi × 600dpi. The number of circumferential interpolation printing times is 1800dpi / 900dpi = 2. Accordingly, the printing data corresponding to the image to be printed is split into two sub-printing data with an accuracy of 900dpi × 600dpi, which are denoted as the first sub-printing data and the second sub-printing data, respectively. The cylindrical object is controlled to rotate continuously and ink is ejected to print the first sub-printing data. Then, the cylindrical object is controlled to rotate again and ink is ejected to print the second sub-printing data. The ink dots corresponding to the second sub-printing data are inserted into the ink dots corresponding to the first sub-printing data, thereby improving the image printing accuracy of the cylindrical object.

[0093] In summary, the cylindrical object printing control method provided by this invention obtains the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the encoder accuracy; obtains the number of ink dots to be printed on the cylindrical object when it rotates once, based on the circumference of the cylindrical object and the circumferential printing accuracy, and records it as the first ink dot number; obtains the encoder rotation scale when printing two adjacent ink dots on the cylindrical object, based on the encoder accuracy and the first ink dot number, and records it as the inkjet interval scale; and controls the printhead to ignite and emit ink to print the cylindrical object according to the inkjet interval scale. The described cylindrical object printing control method adjusts the printhead ignition or ink output speed according to the first ink dot count and the encoder precision. This adjusts the spacing between ink dots printed on the circumference of the cylindrical object, ensuring that the first number of ink dots are evenly printed on the cylindrical object as it rotates one revolution. This guarantees a match between the printhead ink output speed and the cylindrical object's rotation speed, avoiding image overlap or gaps during printing and ensuring image printing quality. Since it eliminates the need for printing test images for inspection as in existing technologies, it also avoids wasting printing media and printing time, thus improving production efficiency.

[0094] Example 2

[0095] Please see Figure 5 This invention provides a cylindrical object printing control device 200, the device 200 comprising:

[0096] The parameter acquisition module 201 is used to acquire the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the accuracy of the encoder.

[0097] The first ink dot counting module 202 is used to obtain the number of ink dots to be printed on the cylindrical object when the cylindrical object rotates once, based on the circumference of the cylindrical object and the circumferential printing accuracy, and denoted as the first ink dot count; wherein, when the cylindrical object rotates once, the code disk rotates once synchronously.

[0098] The inkjet interval scale acquisition module 203 is used to acquire the scale of the code disk rotation when printing two adjacent ink dots on the cylindrical object according to the code disk accuracy and the first ink dot number, and is recorded as the inkjet interval scale.

[0099] The control module 204 is used to control the printhead to ignite and emit ink according to the inkjet interval scale to print the cylindrical object.

[0100] Preferably, the first ink dot counting module 202 includes:

[0101] The unit for obtaining the number of ink dots per unit length (cm) is used to obtain the number of ink dots per unit length based on the circumferential printing accuracy.

[0102] The first ink dot acquisition unit is used to acquire the first ink dot count based on the number of ink dots per unit centimeter and the circumference of the cylindrical object.

[0103] Preferably, the inkjet interval scale acquisition module 203 includes:

[0104] A pulse interval acquisition unit is used to acquire the pulse interval between two adjacent ink dots based on the encoder accuracy and the first ink dot count.

[0105] The inkjet interval scale acquisition unit is used to acquire the inkjet interval scale based on the pulse interval.

[0106] Preferably, the control module 204 includes:

[0107] The drive pulse acquisition unit is used to acquire the pulse waveform output by the code disk each time the inkjet interval scale is rotated, and denoted as the drive pulse;

[0108] The driving unit is used to drive the printhead to ignite once according to the driving pulse and spray ink droplets onto the cylindrical object.

[0109] Preferably, the cylindrical object printing control device further includes:

[0110] The ignition frequency acquisition module is used to acquire the ignition frequency of the printhead according to the inkjet interval scale.

[0111] A linear velocity acquisition module is used to acquire the linear velocity of the cylindrical object based on the nozzle ignition frequency and the circumferential printing accuracy.

[0112] A rotation control module is used to control the cylindrical object to rotate circumferentially according to the linear velocity.

[0113] Preferably, the device further includes:

[0114] The maximum ignition frequency acquisition module is used to acquire the maximum ignition frequency of the nozzle;

[0115] The minimum scale value acquisition module is used to acquire the minimum value of the inkjet interval scale based on the maximum ignition frequency;

[0116] The second ink dot acquisition module is used to obtain the maximum number of printed dots for one revolution of the cylindrical object based on the minimum value of the inkjet interval scale, and denoted as the second ink dot count.

[0117] The maximum circumferential printing accuracy acquisition module is used to obtain the maximum circumferential printing accuracy based on the second ink dot count and the circumference of the cylindrical object.

[0118] Preferably, the device further includes:

[0119] A comparison module is used to compare the maximum circumferential printing accuracy with the circumferential printing accuracy of the image to be printed before printing the image to be printed.

[0120] The interpolation count acquisition module is used to acquire the number of interpolations based on the maximum circumferential printing accuracy and the circumferential printing accuracy of the image to be printed when the maximum circumferential printing accuracy is less than the circumferential printing accuracy.

[0121] The interpolation printing module is used to perform interpolation printing on the circumference of the cylindrical object according to the number of interpolations.

[0122] In summary, the cylindrical object printing control device provided in this embodiment of the invention obtains the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the encoder accuracy; obtains the number of ink dots to be printed on the cylindrical object when it rotates once, based on the circumference of the cylindrical object and the circumferential printing accuracy, and records it as the first ink dot number; obtains the encoder rotation scale when printing two adjacent ink dots on the cylindrical object based on the encoder accuracy and the first ink dot number, and records it as the inkjet interval scale; and controls the printhead to ignite and emit ink to print the cylindrical object according to the inkjet interval scale. The cylindrical object printing control method adjusts the printhead ignition or ink output speed according to the first ink dot count and the encoder precision, thereby adjusting the spacing between ink dots printed on the circumference of the cylindrical object. This ensures that when the cylindrical object rotates one revolution, the ink dots of the first ink dot count can be printed evenly on the cylindrical object, guaranteeing that the printhead ink output speed and the cylindrical object rotation speed are matched. This avoids problems such as image overlap or blank spaces between images during cylindrical object printing, thus ensuring image printing quality.

[0123] Example 3

[0124] Furthermore, the cylindrical object printing control method of this invention can be implemented by a cylindrical object printing control device. Figure 6 A schematic diagram of the hardware structure of a cylindrical object printing control device provided in an embodiment of the present invention is shown.

[0125] The cylindrical object printing control device may include a processor 301 and a memory 302 storing computer program instructions.

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

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

[0128] The processor 301 reads and executes computer program instructions stored in the memory 302 to implement any of the cylindrical object printing control methods in the above embodiments.

[0129] In one example, the cylindrical object printing control device may also include a communication interface 303 and a bus 310. Wherein, as Figure 6 As shown, the processor 301, memory 302, and communication interface 303 are connected through bus 310 and complete communication with each other.

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

[0131] Bus 310 includes hardware, software, or both, that couples components of a cylindrical object printing control device together. For example, and not as a limitation, 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.

[0132] Example 4

[0133] Furthermore, in conjunction with the cylindrical object printing control 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 cylindrical object printing control methods in the above embodiments.

[0134] In summary, the cylindrical object printing control method, apparatus, device, and storage medium provided in this embodiment of the invention obtain the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the encoder accuracy; based on the circumference of the cylindrical object and the circumferential printing accuracy, obtain the number of ink dots to be printed on the cylindrical object when it rotates once, denoted as the first ink dot count; based on the encoder accuracy and the first ink dot count, obtain the scale of encoder rotation when printing two adjacent ink dots on the cylindrical object, denoted as the inkjet interval scale; and control the printhead to ignite and dispense ink to print the cylindrical object according to the inkjet interval scale. The cylindrical object printing control method adjusts the printhead ignition or ink output speed according to the first ink dot count and the encoder precision, thereby adjusting the spacing between ink dots printed on the circumference of the cylindrical object. This ensures that when the cylindrical object rotates one revolution, the ink dots of the first ink dot count can be printed evenly on the cylindrical object, guaranteeing that the printhead ink output speed and the cylindrical object rotation speed are matched. This avoids problems such as image overlap or blank spaces between images during cylindrical object printing, thus ensuring image printing quality.

[0135] It should be understood that the present invention is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, a detailed description of known methods is omitted. In the above embodiments, several specific steps are described and illustrated as examples. However, the method of the present invention is not limited to the specific steps described and illustrated. Those skilled in the art may make various changes, modifications, and additions, or change the order of the steps after understanding the spirit of the present invention.

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

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

[0138] 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 controlling the printing of cylindrical objects, characterized in that, The method includes: Obtain the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the accuracy of the encoder disk; The number of ink dots to be printed on the cylindrical object when it rotates once is obtained based on the circumference of the cylindrical object and the circumferential printing accuracy, and is recorded as the first ink dot number; wherein, when the cylindrical object rotates once, the encoder disk rotates once synchronously. The scale of the encoder rotation when printing two adjacent ink dots on the cylindrical object is obtained based on the encoder accuracy and the first ink dot count, and is denoted as the inkjet interval scale. This includes: obtaining the pulse interval for printing two adjacent ink dots based on the encoder accuracy and the first ink dot count; and obtaining the inkjet interval scale based on the pulse interval. The process of controlling the printhead to ignite and eject ink to print the cylindrical object according to the inkjet interval scale includes: acquiring the pulse waveform output by the code disk each time the inkjet interval scale is rotated, and recording it as a drive pulse; and driving the printhead to ignite once according to the drive pulse and eject ink dots onto the cylindrical object.

2. The cylindrical object printing control method according to claim 1, characterized in that, The step of obtaining the number of ink dots to be printed on the cylindrical object when the cylindrical object rotates once, based on the circumference of the cylindrical object and the circumferential printing accuracy, and denoted as the first ink dot count, includes: The number of ink dots per centimeter is obtained based on the circumferential printing accuracy. The first number of ink dots is obtained based on the number of ink dots per centimeter and the circumference of the cylindrical object.

3. The cylindrical object printing control method according to claim 1 or 2, characterized in that, The method further includes: The firing frequency of the printhead is obtained according to the inkjet interval scale; The linear velocity of the cylindrical object is obtained based on the nozzle ignition frequency and the circumferential printing accuracy. The cylindrical object is controlled to rotate circumferentially based on the linear velocity.

4. The method for controlling the printing of cylindrical objects according to claim 1 or 2, characterized in that, The method further includes: Obtain the maximum ignition frequency of the nozzle; The minimum value of the inkjet interval scale is obtained based on the maximum firing frequency; The maximum number of printed dots per revolution of the cylindrical object is obtained based on the minimum value of the inkjet interval scale, and is recorded as the second ink dot count. The maximum circumferential printing accuracy is obtained based on the second ink dot count and the circumference of the cylindrical object.

5. The cylindrical object printing control method according to any one of claims 4, characterized in that, The method further includes: Before printing the image to be printed, the maximum circumferential printing accuracy is compared with the circumferential printing accuracy of the image to be printed; When the maximum circumferential printing accuracy is less than the circumferential printing accuracy, the number of interpolation points is obtained based on the maximum circumferential printing accuracy and the circumferential printing accuracy of the image to be printed; The cylindrical object is printed with interpolation points along its circumference according to the number of interpolation points.

6. A cylindrical object printing control device, characterized in that, The device includes: The parameter acquisition module is used to obtain the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the accuracy of the encoder. The first ink dot counting module is used to obtain the number of ink dots to be printed on the cylindrical object when the cylindrical object rotates once, based on the circumference of the cylindrical object and the circumferential printing accuracy, and is denoted as the first ink dot count; wherein, when the cylindrical object rotates once, the encoder disk rotates once synchronously. The inkjet interval scale acquisition module is used to acquire the scale of the encoder rotation when printing two adjacent ink dots on the cylindrical object according to the encoder accuracy and the first ink dot count, and denoted as the inkjet interval scale. The module includes: acquiring the pulse interval for printing two adjacent ink dots according to the encoder accuracy and the first ink dot count; and acquiring the inkjet interval scale according to the pulse interval. The control module is used to control the printhead to ignite and eject ink to print the cylindrical object according to the inkjet interval scale, including: acquiring the pulse waveform output by the code disk each time the inkjet interval scale is rotated, and recording it as a drive pulse; driving the printhead to ignite once according to the drive pulse and eject ink dots onto the cylindrical object.

7. A cylindrical object printing control device, 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-5.

8. A storage medium storing computer program instructions thereon, characterized in that, When the computer program instructions are executed by a processor, the method as described in any one of claims 1-5 is implemented.

Citation Information

Patent Citations

  • Ink jet printing apparatus and ink jet printing method

    CN101054016A

  • Ink-jet printing equipment and printing method

    CN109334270A