Cylindrical object spiral printing positioning method, device, equipment and storage medium

By establishing a preset acceleration angle between the white edge position on the X-axis of a cylindrical object and the projected position of the nozzle, and using acceleration time and distance to determine the starting position on the Y-axis, the problem of synchronous positioning of the white edge position in spiral printing of cylindrical objects is solved, thus improving the accuracy and quality of image printing.

CN120382730BActive Publication Date: 2026-01-27SHENZHEN HOSONSOFT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410127624.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-29
Publication Date
2026-01-27
Estimated Expiration
2044-01-29

AI Technical Summary

Technical Problem

In existing technologies, it is difficult to achieve synchronous and accurate positioning of the white edge positions on the X-axis and Y-axis in spiral printing of cylindrical objects, resulting in inaccurate image printing.

Method used

By establishing a preset acceleration angle between the X-axis white edge position of the cylindrical object and the nozzle projection position, the starting position of the Y-axis movement is determined by the X-axis acceleration time and Y-axis acceleration distance. The cylindrical object is controlled to accelerate its rotation in the rotation direction and accelerate its movement in the stepping direction, so that the X-axis white edge position and the Y-axis white edge position are positioned synchronously.

Benefits of technology

It achieves synchronous and precise positioning of the white edge positions on the X-axis and Y-axis when inkjet printing cylindrical objects, improving the accuracy and quality of image printing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120382730B_ABST
    Figure CN120382730B_ABST
Patent Text Reader

Abstract

The application discloses a cylindrical object spiral printing positioning method and device, equipment and storage medium, relates to inkjet printing technology field. The method is characterized in that when the cylindrical object is arranged on the printing station, the X-axis white edge position of the cylindrical object and the projection position of the nozzle on the cylindrical object have a preset acceleration angle, and the Y-axis movement starting position is determined by using the X-axis acceleration time and Y-axis acceleration distance; the stepping movement starting position of the cylindrical object is arranged at the Y-axis movement starting position, the nozzle is controlled to print ink when the X-axis white edge position reaches the projection position and the cylindrical object starts to rotate at a constant speed and step at a constant speed, the synchronization and accurate positioning of the X-axis white edge position and the Y-axis white edge position are realized, the accuracy of the image printing position in the spiral printing of the cylindrical object is improved, and the image printing quality is improved.
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 spiral printing and positioning of cylindrical objects. Background Technology

[0002] Cylindrical object printing refers to printing patterns on the surface (including the outer and inner surfaces) of a cylindrical object using a printer. Products printed include, but are not limited to: wine bottles, thermos cups, metal tubes, glass cups, paper cups, flexible materials, etc. To improve printing efficiency, when printing cylindrical objects, the printhead is often fixed, while the cylindrical object rotates at a constant speed around its axis of rotation in the direction of rotation and moves at a constant speed in the stepping direction (or, as the cylindrical object rotates, the printhead moves relative to the cylindrical object in the stepping direction). The printhead ejects ink and prints onto the cylindrical surface of the object, such as... Figure 1 As shown, this printing method is also known as spiral printing of cylindrical objects. The cylindrical object rotates and moves under the drive of a rotating mechanism and a stepping mechanism. In inkjet printing applications, it is often necessary to set "white edge" printing parameters in the printing control software, including the X-axis white edge position (or X white edge) and the Y-axis white edge (or Y white edge). The X-axis white edge position refers to the starting position of printing on the X-axis, and the Y-axis white edge position is the starting position of printing on the Y-axis. Generally, for example, in planar printing, it is only necessary to position the print based on the X-axis white edge position. The printhead moves along the printing direction (X-axis direction) to the X-axis white edge position and begins uniform inkjet printing. Due to the special nature of spiral printing of cylindrical objects, the printing process involves both rotational motion along the rotational direction (X-axis direction) and stepping motion along the stepping direction (Y-axis direction). Because it is difficult to achieve synchronous and accurate positioning of the X-axis white edge position and the Y-axis white edge position, it is difficult to achieve accurate printing of images in spiral printing of cylindrical objects. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide a method, apparatus, device and storage medium for spiral printing positioning of cylindrical objects, in order to solve the problem in the prior art that it is difficult to achieve synchronous positioning of the white edge position on the X-axis and the white edge position on the Y-axis in spiral printing of cylindrical objects.

[0004] In a first aspect, embodiments of the present invention provide a method for spiral printing and positioning of a cylindrical object, the method comprising:

[0005] A cylindrical object is placed on the printing station such that the white edge of the cylindrical object on the X-axis forms an angle with the projection position of the nozzle on the cylindrical object, which is a preset acceleration angle.

[0006] The time required for the X-axis white edge position to accelerate and rotate along the rotation direction to the projected position is obtained based on the preset acceleration angle and X-axis printing speed, and is denoted as the X-axis acceleration time; wherein the X-axis printing speed is the speed at which the cylindrical object rotates uniformly along the rotation direction during inkjet printing.

[0007] The Y-axis acceleration distance is obtained based on the X-axis acceleration time and the Y-axis printing speed, wherein the Y-axis printing speed is the speed at which the cylindrical object moves at a constant speed along the stepping direction during inkjet printing.

[0008] The starting position of the Y-axis motion is determined based on the Y-axis acceleration distance and the Y-axis white edge position.

[0009] The starting position of the stepping motion of the cylindrical object is set at the starting position of the Y-axis motion;

[0010] The cylindrical object is controlled to accelerate its rotation along the rotation direction and its movement along the stepping direction. When the white edge position on the X-axis reaches the projection position and begins to rotate and step at a constant speed at the X-axis printing speed and the Y-axis printing speed respectively, the printhead is controlled to start spraying ink.

[0011] Preferably, the method further includes:

[0012] The encoder resolution is determined based on the circumference of the cylindrical object, the resolution of the image to be printed, and its size.

[0013] When the cylindrical object begins to rotate and step at a constant speed at the X-axis printing speed and the Y-axis printing speed respectively, the printhead is controlled to inkjet print the image to be printed according to the code disk resolution.

[0014] Preferably, the step of obtaining the time required for the X-axis white edge position to accelerate and rotate along the rotation direction to the projected position based on the preset acceleration angle and X-axis printing speed, denoted as the X-axis acceleration time, includes:

[0015] The X-axis printing speed of the cylindrical object is obtained based on external input;

[0016] The X-axis acceleration distance is determined based on the preset acceleration angle and the circumference of the cylindrical object;

[0017] The X-axis acceleration and the X-axis acceleration time are determined based on the X-axis acceleration distance and the X-axis printing speed.

[0018] Preferably, obtaining the Y-axis acceleration distance based on the X-axis acceleration time and Y-axis printing speed includes:

[0019] The Y-axis acceleration time is obtained based on the X-axis acceleration time.

[0020] The Y-axis acceleration distance is obtained based on the Y-axis acceleration time and the Y-axis printing speed.

[0021] Preferably, obtaining the encoder resolution based on the circumference of the cylindrical object, the resolution of the image to be printed, and its size includes:

[0022] The resolution of the image to be printed in the rotation direction is denoted as the circumferential resolution, and the resolution of the image to be printed in the stepping direction is denoted as the axial resolution; the dimension of the image to be printed in the rotation direction is denoted as the circumferential length, and the dimension of the image to be printed in the stepping direction is denoted as the axial length.

[0023] The number of pixels n around the perimeter is obtained based on the perimeter of the cylindrical object and the circumferential resolution of the image to be printed.

[0024] The number of circumferential pixels k in the image is obtained based on the circumferential resolution and circumferential length of the image to be printed;

[0025] The encoder resolution is determined based on the perimeter pixel count n and the image circumferential pixel count k.

[0026] Preferably, obtaining the code disk resolution based on the perimeter pixel count n and the image circumferential pixel count k includes:

[0027] When the difference between the perimeter pixel count n and the image circumferential pixel count k is less than or equal to the preset pixel count, the code disk resolution is set to be equal to the image circumferential pixel count k.

[0028] When the difference between the perimeter pixel count n and the image circumferential pixel count k is greater than the preset pixel count, the code disk resolution is set to be equal to the perimeter pixel count n.

[0029] Preferably, when the encoder resolution is equal to the perimeter pixel count n, and when the perimeter pixel count n is greater than the circumferential pixel count k of the image, the image to be printed is expanded in the rotation direction; when the perimeter pixel count n is less than the circumferential pixel count k of the image, the image to be printed is cropped in the rotation direction.

[0030] Secondly, embodiments of the present invention provide a spiral printing positioning device for cylindrical objects, the device comprising:

[0031] Angle setting module is used to set a cylindrical object on the printing station and make the X-axis white edge position of the cylindrical object and the projection position of the nozzle on the cylindrical object form an angle with a preset acceleration angle.

[0032] The acceleration time acquisition module is used to acquire the time required for the X-axis white edge position to accelerate and rotate along the rotation direction to the projected position according to the preset acceleration angle and the X-axis printing speed, and denoted as the X-axis acceleration time; wherein the X-axis printing speed is the speed at which the cylindrical object rotates uniformly along the rotation direction during inkjet printing.

[0033] An acceleration distance acquisition module is used to acquire the Y-axis acceleration distance based on the X-axis acceleration time and the Y-axis printing speed, wherein the Y-axis printing speed is the speed at which the cylindrical object moves at a constant speed along the stepping direction during inkjet printing.

[0034] The position determination module is used to determine the starting position of the Y-axis movement based on the Y-axis acceleration distance and the Y-axis white edge position;

[0035] The position setting module is used to set the starting position of the stepping motion of the cylindrical object to the starting position of the Y-axis motion;

[0036] The synchronization module is used to control the cylindrical object to accelerate its rotation along the rotation direction and accelerate its movement along the stepping direction. When the white edge position on the X-axis reaches the projection position and starts to rotate and step at a constant speed at the X-axis printing speed and the Y-axis printing speed respectively, the printhead is controlled to start spraying ink.

[0037] Thirdly, embodiments of the present invention provide a spiral printing positioning device for cylindrical objects, 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 spiral printing positioning of cylindrical objects. By placing the cylindrical object on the printing station such that the X-axis white edge position of the cylindrical object and the projection position of the printhead on the cylindrical object have a preset acceleration angle, and the Y-axis acceleration time and Y-axis acceleration distance are used to determine the starting position of the Y-axis movement; the starting position of the cylindrical object's stepping movement is set at the starting position of the Y-axis movement, and the cylindrical object is controlled to accelerate rotation in the rotation direction while accelerating movement in the stepping direction. When the X-axis white edge position reaches the projection position and begins uniform rotation and uniform stepping, the printhead is controlled to spray ink for printing. This achieves synchronous and precise positioning of the X-axis and Y-axis white edge positions during inkjet printing of cylindrical objects, which is beneficial to improving the accuracy of image printing position in spiral printing of cylindrical objects, thereby improving image printing quality and printing effect. 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 A schematic diagram of spiral printing of cylindrical objects in the background art.

[0043] Figure 2 This is a schematic diagram of an inkjet printing system for cylindrical objects according to an embodiment of the present invention.

[0044] Figure 3 This is a flowchart illustrating the spiral printing positioning method for cylindrical objects according to an embodiment of the present invention.

[0045] Figure 4 This is a schematic diagram showing the position of the white edge along the X-axis of a cylindrical object according to an embodiment of the present invention.

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

[0047] Figure 6 This is a schematic diagram of the structure of a cylindrical object spiral printing positioning 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 positioning a cylindrical object in a spiral printing process. This method is applicable to inkjet printing systems for cylindrical objects, such as... Figure 2 As shown, the cylindrical object printing device includes at least a printhead 1, a clamping device 2, and an encoder 3. The printhead 1 includes at least one row of printheads. The cylindrical object printing device also includes a rotating mechanism and a stepping mechanism (not shown). The rotating mechanism drives the cylindrical object to rotate around its central axis, and the stepping mechanism drives the printhead to step along the X direction (axial direction). During printing, the cylindrical object 4 is mounted on the printing station using the clamping device. The cylindrical object 4 rotates around the rotation axis in the rotation direction X while moving along the stepping direction Y. The printhead ejects ink and prints onto the cylindrical surface of the object. In another embodiment, the cylindrical object may rotate around the rotation axis while the printhead moves along the stepping direction. In the cylindrical object printing device, the rotating mechanism drives the code disk to rotate once for every revolution of the cylindrical object. During rotation, the code disk generates pulse signals, which can be used to control the ignition speed or frequency of the printhead. Each ignition of the printhead causes it to eject ink droplets once. As the cylindrical object continues to rotate, continuous ink droplets are ejected and printed onto the cylindrical surface of the object. For ease of description, the X-axis direction will be the rotation direction, and the Y-axis direction will be the stepping direction.

[0052] Please see Figure 3 The spiral printing positioning method for cylindrical objects specifically includes the following steps:

[0053] S1: Place the cylindrical object on the printing station and make the X-axis white edge position of the cylindrical object and the projection position of the nozzle on the cylindrical object form an angle with a preset acceleration angle.

[0054] S2: Based on the preset acceleration angle and the X-axis printing speed, obtain the time required for the X-axis white edge position to accelerate and rotate along the rotation direction to the projected position, and record it as the X-axis acceleration time; wherein the X-axis printing speed is the speed at which the cylindrical object rotates uniformly along the rotation direction during inkjet printing.

[0055] S3: Obtain the Y-axis acceleration distance based on the X-axis acceleration time and Y-axis printing speed, wherein the Y-axis printing speed is the speed at which the cylindrical object moves at a constant speed along the stepping direction during inkjet printing.

[0056] S4: Determine the starting position of the Y-axis motion based on the Y-axis acceleration distance and the Y-axis white edge position;

[0057] S5: Set the starting position of the stepping motion of the cylindrical object to the starting position of the Y-axis motion;

[0058] S6: Control the cylindrical object to accelerate its rotation along the rotation direction and accelerate its movement along the stepping direction. When the white edge position on the X-axis reaches the projection position and starts to rotate and step at a constant speed at the X-axis printing speed and the Y-axis printing speed respectively, control the printhead to start spraying ink.

[0059] Specifically, before starting printing, manually fix the cylindrical object using the clamping device and install it on the printing station. During printing, the printhead sprays ink onto the surface of the cylindrical object directly below it. The position directly below the printhead, i.e., the projection of the printhead onto the cylindrical object, should be determined during installation. Figure 4As shown, the X-axis white edge position is not set at the printhead's projection position, but rather at a position rotated by a preset acceleration angle β along the rotation direction from that projection position. The rotation mechanism is activated to drive the cylindrical object to accelerate its rotation from rest along the rotation direction. During this acceleration, the printhead does not eject ink for printing. Ink ejection only begins when the X-axis white edge position reaches the printhead's projection position, after the cylindrical object's rotational speed reaches a pre-set value and begins to rotate at a constant speed. This achieves positioning printing at the X-axis white edge position. To achieve synchronous positioning printing of the X-axis and Y-axis white edge positions, when the X-axis white edge position reaches the printhead's projection position, the Y-axis white edge position also reaches that projection position and begins to move at a constant speed after reaching a certain stepping speed. When a cylindrical object moves in the stepping direction, it accelerates from rest until the Y-axis white edge reaches the projected position, after which it begins uniform stepping motion. To ensure synchronized printing of the X-axis and Y-axis white edge positions, the rotational acceleration time (X-axis acceleration time) and stepping acceleration time (Y-axis acceleration time) of the cylindrical object must be consistent. Based on a preset acceleration angle, the circumference or distance rotated by the cylindrical object within the X-axis acceleration time can be obtained, denoted as the rotational acceleration distance or X-axis acceleration distance. Based on this X-axis acceleration distance and the pre-set X-axis printing speed in the printing software, the corresponding X-axis acceleration time can be obtained. The Y-axis acceleration time is then determined based on this X-axis acceleration time. Furthermore, based on the Y-axis acceleration time and the pre-set Y-axis printing speed in the printing software, the distance the cylindrical object accelerates in the stepping direction is obtained, i.e., the Y-axis acceleration distance. Finally, the starting position of the Y-axis movement is determined based on the Y-axis acceleration distance and the Y-axis white edge position. The starting position of the cylindrical object's stepping motion is set at the starting position of the Y-axis motion, and the difference between the X-axis white edge position and the projection position of the cylindrical object is a preset acceleration angle. When the rotation mechanism and the stepping mechanism are started simultaneously, the cylindrical object is driven to accelerate its rotation in the rotation direction and accelerate its stepping in the stepping direction. When the X-axis white edge position reaches the position directly below the printhead, i.e. the projection position, the Y-axis white edge position also reaches the same position. At this time, the rotation speed reaches the preset X-axis printing speed and the stepping speed reaches the Y-axis printing speed. The cylindrical object begins to enter uniform rotation and uniform stepping motion. At this time, the printhead sprays ink droplets onto the surface of the cylindrical object to start image printing.

[0060] Preferably, the step of obtaining the time required for the X-axis white edge position to accelerate and rotate along the rotation direction to the projected position based on the preset acceleration angle and X-axis printing speed, denoted as the X-axis acceleration time, includes:

[0061] The X-axis printing speed of the cylindrical object is obtained based on external input;

[0062] The X-axis acceleration distance is determined based on the preset acceleration angle and the circumference of the cylindrical object;

[0063] The X-axis acceleration and the X-axis acceleration time are determined based on the X-axis acceleration distance and the X-axis printing speed.

[0064] Specifically, the X-axis printing speed is the speed at which the cylindrical object rotates uniformly along the rotation direction during inkjet printing. The X-axis printing speed is often set by the printing control software, and users can adjust it according to the actual printing situation; no restrictions are imposed here. The cylindrical object accelerates its rotation at a preset acceleration angle. The distance the cylindrical object accelerates, i.e., the X-axis acceleration distance, can be determined based on its radius or circumference. Let the circumference of the cylindrical object be L, the radius be R, and the preset acceleration angle be... It can be seen that the acceleration distance along the X-axis

[0065] Let the X-axis printing speed be Vx, then according to the formula... We can obtain Tx, which is the X-axis acceleration time, and according to the formula Vx = Ax × Tx, we can obtain the X-axis acceleration Ax.

[0066] Preferably, obtaining the Y-axis acceleration distance based on the X-axis acceleration time and Y-axis printing speed includes:

[0067] The Y-axis acceleration time is obtained based on the X-axis acceleration time.

[0068] The Y-axis acceleration distance is obtained based on the Y-axis acceleration time and the Y-axis printing speed.

[0069] Similarly, the Y-axis printing speed is the speed at which the cylindrical object moves at a constant speed along the stepping direction during inkjet printing. The Y-axis printing speed is often set by the printing control software, and users can set it according to the actual printing situation; no restrictions are imposed here. To ensure synchronous positioning and printing of the white edge positions on the X-axis and Y-axis, the Y-axis acceleration time is equal to the X-axis acceleration time. When the Y-axis acceleration time and the Y-axis printing speed are determined, the Y-axis acceleration distance can be determined, i.e., the Y-axis acceleration distance is Sy, and the Y-axis printing speed is Vy, according to the formula... The Y-axis acceleration distance Sy can be obtained. Furthermore, according to the formula Vy=Ay×Ty, the Y-axis acceleration Ay can be obtained.

[0070] After obtaining the Y-axis acceleration distance, the starting position of the cylindrical object in the stepping direction is set at the position of the white edge of the Y-axis minus the Y-axis acceleration distance, which is recorded as the starting position of the Y-axis motion.

[0071] During printing, the frequency of ink droplet ejection from the printhead as the cylindrical object rotates needs to be controlled based on the encoder disk resolution. The encoder disk rotates once per revolution of the cylindrical object, and its resolution is the number of pulses generated during one revolution. In this embodiment, the encoder disk resolution is determined based on the circumference of the cylindrical object, the resolution of the image to be printed, and its size. Preferably, obtaining the encoder disk resolution based on the circumference of the cylindrical object, the resolution of the image to be printed, and its size includes:

[0072] The resolution of the image to be printed in the rotation direction is denoted as the circumferential resolution, and the resolution of the image to be printed in the stepping direction is denoted as the axial resolution; the dimension of the image to be printed in the rotation direction is denoted as the circumferential length, and the dimension of the image to be printed in the stepping direction is denoted as the axial length.

[0073] The number of pixels n around the perimeter is obtained based on the perimeter of the cylindrical object and the circumferential resolution of the image to be printed.

[0074] The number of circumferential pixels k in the image is obtained based on the circumferential resolution and circumferential length of the image to be printed;

[0075] The encoder resolution is determined based on the perimeter pixel count n and the image circumferential pixel count k.

[0076] Specifically, the resolution and size of the image to be printed are further divided into circumferential resolution (also known as circumferential accuracy), axial resolution (also known as circumferential accuracy), circumferential length, and axial length. The number of pixels n for the circumference is obtained based on the circumference of the cylindrical object and the circumferential resolution of the image to be printed. For example, let the circumference of the cylindrical object be L, the circumferential resolution of the image to be printed be Dxdpi, and the circumferential length be Cx.

[0077] n = π × L × Dx / 25.4;

[0078] k = Dx × Cx;

[0079] Preferably, after obtaining the number of pixels n in the perimeter and the number of pixels k in the image circumference, the difference between the two is used to determine which one to use as the code disk resolution.

[0080] In one embodiment, when the difference between the perimeter pixel count *n* and the image circumferential pixel count *k* is less than or equal to a preset pixel count, the encoder resolution is set to be equal to the image circumferential pixel count *k*; when the difference between the perimeter pixel count *n* and the image circumferential pixel count *k* is greater than the preset pixel count, the encoder resolution is set to be equal to the perimeter pixel count *n*. The preset pixel count can be determined based on actual conditions. Preferably, the preset pixel count is...

[0081] Furthermore, it's worth noting that when using the perimeter pixel count *n* as the code disk resolution, to ensure image printing quality, the image to be printed needs to be expanded or cropped in the rotational direction. Specifically, when the perimeter pixel count *n* is greater than the circumferential pixel count *k*, the image to be printed is expanded in the rotational direction; when the perimeter pixel count *n* is less than the circumferential pixel count *k*, the image to be printed is cropped in the rotational direction. When the perimeter pixel count is *n* and the circumferential pixel count is *k*, with *n* as the code disk resolution, a cylindrical object rotating one revolution will generate *n* pulses driving the printhead to eject *n* pixels of ink. However, since the circumferential pixel count *k* is less than *n*, the printhead cannot acquire enough data for printing. In this case, it is necessary to expand the circumferential direction of the image to be printed. For example, blank data can be inserted into the circumferential printing data corresponding to the image to be printed, so that the circumferential pixel count is the same as the pulse resolution. When the number of pixels k in the circumferential direction of the image is greater than n, there will be excess printing data given to the print head. In this case, it is necessary to trim the circumferential direction of the image to be printed. For example, some data can be extracted from the circumferential printing data corresponding to the image to be printed, so that the number of pixels in the circumferential direction of the image is the same as the pulse resolution, thereby ensuring the normal printing of cylindrical objects in the rotation direction.

[0082] In one embodiment, the encoder resolution is set based on the average value r of the perimeter pixel count n and the circumferential pixel count k of the image. Similarly, when the average value r is greater than the circumferential pixel count k, the image to be printed is expanded in the rotational direction; for example, blank data can be inserted into the circumferential printing data corresponding to the image to be printed. When the average value r is less than the circumferential pixel count k, the image to be printed is cropped in the rotational direction; for example, some data can be extracted from the circumferential printing data corresponding to the image to be printed, so that the circumferential pixel count is the same as the pulse resolution.

[0083] Preferably, after the code disk resolution is calculated in the printing control software according to the above method, the code disk resolution parameter needs to be set in the driver of the rotating structure, such as the rotary motor. Therefore, the code disk resolution of the rotating mechanism must support the function of dynamic configuration. In one embodiment, the motherboard in the lower-level machine of the cylindrical inkjet printing system communicates with the driver of the rotating mechanism through the RS-485 interface to realize the function of dynamic configuration of the code disk resolution.

[0084] When the rotation and stepping mechanisms are activated, the cylindrical object accelerates its rotation in the rotation direction and its stepping direction. When the white edge position on the X-axis reaches the position directly below the printhead (i.e., the projection position), the white edge position on the Y-axis also reaches the same position. Moreover, the rotation speed reaches the preset X-axis printing speed, and the stepping speed reaches the Y-axis printing speed. The cylindrical object begins to enter a uniform rotation and uniform stepping motion. At this time, the encoder emits a pulse signal according to the set encoder resolution to drive the printhead to eject ink dots onto the surface of the cylindrical object according to the printing data of the image to be printed, and the image printing begins.

[0085] In summary, the cylindrical object spiral printing positioning method provided by this invention achieves synchronous and precise positioning of the X-axis white edge position and the projection position of the printhead on the cylindrical object when the cylindrical object is placed on the printing station. A preset acceleration angle is established between the X-axis white edge position and the projection position of the printhead on the cylindrical object. The starting position of the Y-axis movement is determined by utilizing the X-axis acceleration time and the Y-axis acceleration distance. The starting position of the cylindrical object's stepping movement is set at the starting position of the Y-axis movement. The cylindrical object is controlled to accelerate its rotation in the rotation direction while simultaneously accelerating its movement in the stepping direction. When the X-axis white edge position reaches the projection position and begins uniform rotation and stepping, the printhead is controlled to spray ink. This achieves synchronous and precise positioning of the X-axis and Y-axis white edge positions during cylindrical object inkjet printing, which improves the accuracy of the image printing position in spiral printing of cylindrical objects, thereby improving image printing quality and printing effect.

[0086] Example 2

[0087] Please see Figure 5 This invention provides a spiral printing positioning device 200 for cylindrical objects, the device 200 comprising:

[0088] Angle setting module 201 is used to set a cylindrical object on the printing station and make an angle with a preset acceleration angle between the white edge position of the cylindrical object on the X-axis and the projection position of the nozzle on the cylindrical object.

[0089] The acceleration time acquisition module 202 is used to acquire the time required for the X-axis white edge position to accelerate and rotate along the rotation direction to the projected position according to the preset acceleration angle and the X-axis printing speed, and denoted as the X-axis acceleration time; wherein the X-axis printing speed is the speed at which the cylindrical object rotates uniformly along the rotation direction during inkjet printing.

[0090] The acceleration distance acquisition module 203 is used to acquire the Y-axis acceleration distance based on the X-axis acceleration time and the Y-axis printing speed, wherein the Y-axis printing speed is the speed at which the cylindrical object moves at a constant speed along the stepping direction during the inkjet printing process.

[0091] Position determination module 204 is used to determine the starting position of Y-axis movement based on the Y-axis acceleration distance and the Y-axis white edge position;

[0092] The position setting module 205 is used to set the starting position of the stepping motion of the cylindrical object to the starting position of the Y-axis motion;

[0093] The synchronization module 206 is used to control the cylindrical object to accelerate its rotation along the rotation direction and accelerate its movement along the stepping direction. When the white edge position on the X-axis reaches the projection position and starts to rotate and step at a constant speed at the X-axis printing speed and the Y-axis printing speed respectively, the printhead is controlled to start spraying ink.

[0094] Preferably, the device 200 further includes:

[0095] The code disk resolution acquisition module is used to obtain the code disk resolution based on the circumference of the cylindrical object, the resolution and size of the image to be printed;

[0096] The printing module is used to control the printhead to print the image to be printed according to the code disk resolution when the cylindrical object starts to rotate and step at a constant speed at the X-axis printing speed and the Y-axis printing speed, respectively.

[0097] Preferably, the acceleration time acquisition module 202 includes:

[0098] The X-axis printing speed acquisition unit is used to acquire the X-axis printing speed of the cylindrical object based on external input.

[0099] The X-axis acceleration distance acquisition unit is used to determine the X-axis acceleration distance based on the preset acceleration angle and the circumference of the cylindrical object.

[0100] The X-axis acceleration time acquisition unit is used to determine the X-axis acceleration and the X-axis acceleration time based on the X-axis acceleration distance and the X-axis printing speed.

[0101] Preferably, the acceleration distance acquisition module 203 includes:

[0102] Y-axis acceleration time acquisition unit, used to acquire Y-axis acceleration time based on X-axis acceleration time;

[0103] The Y-axis acceleration distance acquisition unit is used to acquire the Y-axis acceleration distance based on the Y-axis acceleration time and the Y-axis printing speed.

[0104] Preferably, the code-retrieval disk resolution acquisition module includes:

[0105] The recording unit is used to record the resolution of the image to be printed in the rotation direction as the circumferential resolution, the resolution of the image to be printed in the stepping direction as the axial resolution, the size of the image to be printed in the rotation direction as the circumferential length, and the size of the image to be printed in the stepping direction as the axial length.

[0106] The perimeter pixel count acquisition unit is used to acquire the perimeter pixel count n based on the perimeter of the cylindrical object and the circumferential resolution of the image to be printed.

[0107] The image circumferential pixel count acquisition unit is used to acquire the image circumferential pixel count k based on the circumferential resolution and circumferential length of the image to be printed.

[0108] The code disk resolution determination unit is used to determine the code disk resolution based on the perimeter pixel count n and the image circumferential pixel count k.

[0109] In summary, the cylindrical object spiral printing positioning device provided by this invention achieves synchronous and precise positioning of the X-axis white edge position and the projection position of the printhead on the cylindrical object when the cylindrical object is placed on the printing station. A preset acceleration angle is established between the X-axis white edge position and the projection position of the printhead on the cylindrical object. The starting position of the Y-axis movement is determined by utilizing the X-axis acceleration time and the Y-axis acceleration distance. The starting position of the cylindrical object's stepping movement is set at the starting position of the Y-axis movement. The cylindrical object is controlled to accelerate its rotation in the rotation direction while simultaneously accelerating its movement in the stepping direction. When the X-axis white edge position reaches the projection position and begins to rotate and step at a constant speed, the printhead is controlled to spray ink. This achieves synchronous and precise positioning of the X-axis and Y-axis white edge positions during cylindrical object inkjet printing, which improves the accuracy of the image printing position in spiral printing of cylindrical objects, thereby improving image printing quality and printing effect.

[0110] Example 3

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

[0112] The spiral printing positioning device for cylindrical objects may include a processor 301 and a memory 302 storing computer program instructions.

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

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

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

[0116] In one example, the cylindrical object spiral printing positioning 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.

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

[0118] Bus 310 includes hardware, software, or both, that couples components of a cylindrical object spiral printing positioning 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.

[0119] Example 4

[0120] Furthermore, in conjunction with the cylindrical object spiral printing positioning 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 spiral printing positioning methods described in the above embodiments.

[0121] In summary, the cylindrical object spiral printing positioning method, apparatus, device, and storage medium provided in this embodiment of the invention achieve synchronous and precise positioning of the X-axis and Y-axis white edge positions during cylindrical object inkjet printing. This improves the accuracy of image printing position in spiral printing of cylindrical objects, thereby enhancing image printing quality and printing effect. By setting the cylindrical object on the printing station with a preset acceleration angle between the X-axis white edge position and the projection position of the printhead on the cylindrical object, and by utilizing the X-axis acceleration time and Y-axis acceleration distance, the starting position of the Y-axis movement is determined. The starting position of the cylindrical object's stepping movement is set at the starting position of the Y-axis movement. Simultaneously accelerating the cylindrical object's rotation in the rotation direction and accelerating its movement in the stepping direction, and controlling the printhead to spray ink when the X-axis white edge position reaches the projection position and begins uniform rotation and stepping, inkjet printing is achieved. This ensures improved image printing quality and printing effect.

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

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

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

[0125] 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 positioning a cylindrical object in a spiral printing process, characterized in that, The method includes: A cylindrical object is placed on the printing station such that the white edge of the cylindrical object on the X-axis forms an angle with the projection position of the nozzle on the cylindrical object, which is a preset acceleration angle. The time required for the X-axis white edge position to accelerate and rotate along the rotation direction to the projected position is obtained based on the preset acceleration angle and X-axis printing speed, and is denoted as the X-axis acceleration time; wherein the X-axis printing speed is the speed at which the cylindrical object rotates uniformly along the rotation direction during inkjet printing. The Y-axis acceleration distance is obtained based on the X-axis acceleration time and the Y-axis printing speed, wherein the Y-axis printing speed is the speed at which the cylindrical object moves at a constant speed along the stepping direction during inkjet printing. The starting position of the Y-axis motion is determined based on the Y-axis acceleration distance and the Y-axis white edge position. The starting position of the stepping motion of the cylindrical object is set at the starting position of the Y-axis motion; The cylindrical object is controlled to accelerate its rotation along the rotation direction and its movement along the stepping direction. When the white edge position on the X-axis reaches the projection position and begins to rotate and step at a constant speed at the X-axis printing speed and the Y-axis printing speed respectively, the printhead is controlled to start spraying ink.

2. The spiral printing positioning method for cylindrical objects according to claim 1, characterized in that, The method further includes: The encoder resolution is determined based on the circumference of the cylindrical object, the resolution of the image to be printed, and its size. When the cylindrical object begins to rotate and step at a constant speed at the X-axis printing speed and the Y-axis printing speed respectively, the printhead is controlled to inkjet print the image to be printed according to the code disk resolution.

3. The spiral printing positioning method for cylindrical objects according to claim 1, characterized in that, The time required for the X-axis white edge position to accelerate and rotate along the rotation direction to the projected position based on the preset acceleration angle and X-axis printing speed, denoted as the X-axis acceleration time, includes: The X-axis printing speed of the cylindrical object is obtained based on external input; The X-axis acceleration distance is determined based on the preset acceleration angle and the circumference of the cylindrical object; The X-axis acceleration and the X-axis acceleration time are determined based on the X-axis acceleration distance and the X-axis printing speed.

4. The spiral printing positioning method for cylindrical objects according to claim 3, characterized in that, The step of obtaining the Y-axis acceleration distance based on the X-axis acceleration time and Y-axis printing speed includes: The Y-axis acceleration time is obtained based on the X-axis acceleration time. The Y-axis acceleration distance is obtained based on the Y-axis acceleration time and the Y-axis printing speed.

5. The spiral printing positioning method for cylindrical objects according to claim 2, characterized in that, The process of obtaining the encoder resolution based on the circumference of the cylindrical object, the resolution of the image to be printed, and its size includes: The resolution of the image to be printed in the rotation direction is denoted as the circumferential resolution, and the resolution of the image to be printed in the stepping direction is denoted as the axial resolution; the dimension of the image to be printed in the rotation direction is denoted as the circumferential length, and the dimension of the image to be printed in the stepping direction is denoted as the axial length. The number of pixels n around the perimeter is obtained based on the perimeter of the cylindrical object and the circumferential resolution of the image to be printed. The number of circumferential pixels k in the image is obtained based on the circumferential resolution and circumferential length of the image to be printed; The encoder resolution is determined based on the perimeter pixel count n and the image circumferential pixel count k.

6. The method for positioning a cylindrical object in spiral printing according to claim 5, characterized in that, The step of obtaining the code disk resolution based on the perimeter pixel count n and the image circumferential pixel count k includes: When the difference between the perimeter pixel count n and the image circumferential pixel count k is less than or equal to the preset pixel count, the code disk resolution is set to be equal to the image circumferential pixel count k. When the difference between the perimeter pixel count n and the image circumferential pixel count k is greater than the preset pixel count, the code disk resolution is set to be equal to the perimeter pixel count n.

7. The method for positioning a cylindrical object in spiral printing according to claim 6, characterized in that, When the resolution of the encoder disk is equal to the number of pixels n around the perimeter, and when the number of pixels n around the perimeter is greater than the number of pixels k around the image, the image to be printed is expanded in the rotation direction. When the number of pixels in the perimeter n is less than the number of pixels in the circumferential direction of the image k, the image to be printed is cropped in the rotation direction.

8. A spiral printing positioning device for cylindrical objects, characterized in that, The device includes: Angle setting module is used to set a cylindrical object on the printing station and make the X-axis white edge position of the cylindrical object and the projection position of the nozzle on the cylindrical object form an angle with a preset acceleration angle. The acceleration time acquisition module is used to acquire the time required for the X-axis white edge position to accelerate and rotate along the rotation direction to the projected position according to the preset acceleration angle and the X-axis printing speed, and denoted as the X-axis acceleration time; wherein the X-axis printing speed is the speed at which the cylindrical object rotates uniformly along the rotation direction during inkjet printing. An acceleration distance acquisition module is used to acquire the Y-axis acceleration distance based on the X-axis acceleration time and the Y-axis printing speed, wherein the Y-axis printing speed is the speed at which the cylindrical object moves at a constant speed along the stepping direction during inkjet printing. The position determination module is used to determine the starting position of the Y-axis movement based on the Y-axis acceleration distance and the Y-axis white edge position; The position setting module is used to set the starting position of the stepping motion of the cylindrical object to the starting position of the Y-axis motion; The synchronization module is used to control the cylindrical object to accelerate its rotation along the rotation direction and accelerate its movement along the stepping direction. When the white edge position on the X-axis reaches the projection position and starts to rotate and step at a constant speed at the X-axis printing speed and the Y-axis printing speed respectively, the printhead is controlled to start spraying ink.

9. A spiral printing positioning device for cylindrical objects, 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.

Citation Information

Patent Citations

  • Method and device for ink-jet printing on containers

    CN105691021A

  • Printing apparatus

    CN107848295A