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

By setting the preset acceleration angle and acceleration time acceleration distance in cylindrical object printing, synchronous positioning of the white edges of the X-axis and the white edges of the Y-axis during inkjet printing of cylindrical objects is achieved, solving the problem of inaccurate image positioning in cylindrical object spiral printing and improving printing quality.

CN120382730AActive Publication Date: 2025-07-29SHENZHEN HOSONSOFT CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, spiral printing of cylindrical objects is difficult to achieve synchronous precise positioning of the X-axis white edge position and the Y-axis white edge position, resulting in inaccurate image printing.

Method used

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

Benefits of technology

It realizes synchronous precise positioning of the X-axis white edge position and the Y-axis white edge position during inkjet printing of cylindrical objects, improving the accuracy and quality of image printing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120382730A_ABST
    Figure CN120382730A_ABST
Patent Text Reader

Abstract

The invention discloses a cylindrical object spiral printing positioning method, device and equipment and a storage medium, and relates to the technical field of ink-jet printing. According to the method, when a cylindrical object is arranged on a printing station, a preset acceleration angle is formed between the X-axis white edge position of the cylindrical object and the projection position of a spray head on the cylindrical object, and the Y-axis movement initial position is determined according to the X-axis acceleration time and the Y-axis acceleration distance; setting the starting position of the stepping motion of the cylindrical object at the starting position of the Y-axis motion, controlling the cylindrical object to rotate at an accelerated speed in the rotation direction and move at an accelerated speed in the stepping direction at the same time, and when the X-axis white edge position reaches the projection position, starting to rotate at a constant speed and stepping at a constant speed, controlling the spray head to perform ink-jet printing, synchronous and accurate positioning of the X-axis white edge position and the Y-axis white edge position is achieved, the accuracy of the image printing position in spiral printing of the cylindrical object is improved, and therefore the image printing quality is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of inkjet printing, and in particular to a method, device, equipment and storage medium for spiral printing and positioning of cylindrical objects. Background Art

[0002] Printing on a cylindrical object means using a printer to print a pattern on the surface of the cylindrical object (including the outer surface and the inner surface). The printed products include, but are not limited to: wine bottles, vacuum flasks, metal round tubes, glass cups, paper cups, flexible materials, etc. In order to improve printing efficiency, when printing on a cylindrical object, usually the nozzle is fixed, and while the cylindrical object rotates uniformly along the rotation direction around the rotation axis, it moves uniformly along the step direction (or when the cylindrical object rotates, the nozzle moves relative to the cylindrical object along the step direction). The nozzle sprays ink onto the cylindrical surface of the object. As Figure 1 shown, this printing method is also called spiral printing of cylindrical objects. The cylindrical object rotates and moves driven by a rotation mechanism, a step mechanism, etc. In inkjet printing applications, it is often necessary to set "white margin" printing parameters in the printing control software, including the X-axis white margin position (or X white margin) and the Y white margin (or Y white margin). The X-axis white margin position refers to the printing start position on the X-axis, and the Y-axis white margin position is the printing start position on the Y-axis. Generally, for example, in planar printing, only the X-axis white margin position is generally required for positioning printing. The nozzle moves along the printing direction (X-axis direction) to the X-axis white margin position and starts uniform inkjet printing. Due to the particularity of the spiral printing of cylindrical objects, during printing, it rotates along the rotation direction (X-axis direction) and makes a step movement along the step direction (Y-axis direction). Since it is difficult to achieve synchronous and precise positioning of the X-axis white margin position and the Y-axis white margin position, it is difficult to achieve precise printing of the image in the cylindrical spiral printing. Summary of the Invention

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

[0004] In a first aspect, an embodiment of the present invention provides a method for spiral printing and positioning of cylindrical objects, the method comprising:

[0005] Place the cylindrical object on the printing station and form an included angle of a preset acceleration angle between the X-axis white margin position of the cylindrical object and the projection position of the nozzle on the cylindrical object;

[0006] Obtain the time required for the X-axis white edge position to accelerate and rotate along the rotation direction to reach the projection position according to the preset acceleration angle and the X-axis printing speed, 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 the inkjet printing process;

[0007] Obtain the Y-axis acceleration distance according to 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 uniformly in the stepping direction during the inkjet printing process;

[0008] Determine the starting position of the Y-axis movement according to the Y-axis acceleration distance and the Y-axis white edge position;

[0009] Set the starting position of the stepping movement of the cylindrical object at the starting position of the Y-axis movement;

[0010] Control the cylindrical object to accelerate and rotate along the rotation direction and accelerate and move along the stepping direction at the same time. When the X-axis white edge position reaches the projection position and starts to rotate uniformly and step uniformly at the X-axis printing speed and the Y-axis printing speed respectively, control the nozzle to start inkjetting.

[0011] Preferably, the method further includes:

[0012] Obtain the encoder resolution according to the circumference of the cylindrical object, the resolution and size of the image to be printed;

[0013] When the cylindrical object starts to rotate uniformly and step uniformly at the X-axis printing speed and the Y-axis printing speed respectively, control the nozzle to inkjet print the image to be printed according to the encoder resolution.

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

[0015] Obtain the X-axis printing speed of the cylindrical object according to an external input;

[0016] Determine the X-axis acceleration distance according to the preset acceleration angle and the circumference of the cylindrical object;

[0017] Determine the X-axis acceleration and the X-axis acceleration time according to the X-axis acceleration distance and the X-axis printing speed.

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

[0019] Obtain the Y-axis acceleration time according to the X-axis acceleration time;

[0020] Obtain the Y-axis acceleration distance according to the Y-axis acceleration time and the Y-axis printing speed.

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

[0022] Denote the resolution of the image to be printed in the rotation direction as the circumferential resolution, and denote the resolution of the image to be printed in the stepping direction as the axial resolution; denote the size of the image to be printed in the rotation direction as the circumferential length, and denote the size of the image to be printed in the stepping direction as the axial length;

[0023] Obtain the number of circumference pixels n according to the circumference of the cylindrical object and the circumferential resolution of the image to be printed;

[0024] Obtain the number of circumferential pixels k of the image according to the circumferential resolution and circumferential length of the image to be printed;

[0025] Determine the encoder resolution according to the number of circumference pixels n and the number of circumferential pixels k of the image.

[0026] Preferably, the obtaining the encoder resolution according to the number of circumference pixels n and the number of circumferential pixels k of the image includes:

[0027] When the difference between the number of circumference pixels n and the number of circumferential pixels k of the image is less than or equal to a preset number of pixels, set the encoder resolution to be equal to the number of circumferential pixels k of the image;

[0028] When the difference between the number of circumference pixels n and the number of circumferential pixels k of the image is greater than the preset number of pixels, set the encoder resolution to be equal to the number of circumference pixels n.

[0029] Preferably, when the encoder resolution is equal to the number of circumference pixels n, when the number of circumference pixels n is greater than the number of circumferential pixels k of the image, perform image expansion on the image to be printed in the rotation direction; when the number of circumference pixels n is less than the number of circumferential pixels k of the image, perform image clipping on the image to be printed in the rotation direction.

[0030] In a second aspect, an embodiment of the present invention provides a spiral printing positioning device for a cylindrical object, and the device includes:

[0031] An angle setting module, configured to place the cylindrical object on the printing station and form an included angle of a preset acceleration angle between the X-axis white edge position of the cylindrical object and the projection position of the nozzle on the cylindrical object;

[0032] An acceleration time acquisition module, configured to acquire the time required for the X-axis white edge position to accelerate and rotate along the rotation direction to reach the projection position according to the preset acceleration angle and the X-axis printing speed, 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 the inkjet printing process;

[0033] An acceleration distance acquisition module, configured to acquire the Y-axis acceleration distance according to 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 uniformly in the stepping direction during the inkjet printing process;

[0034] A position determination module, configured to determine the starting position of the Y-axis movement according to the Y-axis acceleration distance and the Y-axis white edge position;

[0035] A position setting module, configured to set the starting position of the stepping movement of the cylindrical object at the starting position of the Y-axis movement;

[0036] A synchronization module, configured to control the cylindrical object to accelerate and rotate along the rotation direction while accelerating in the stepping direction, and when the X-axis white edge position reaches the projection position and starts to rotate uniformly and step uniformly at the X-axis printing speed and the Y-axis printing speed respectively, control the nozzle to start inkjetting.

[0037] In a third aspect, an embodiment of the present invention provides a spiral printing positioning device for a cylindrical object, including: at least one processor, at least one memory, and computer program instructions stored in the memory, which implement the method of the first aspect in the above implementation manner when the computer program instructions are executed by the processor.

[0038] In a fourth aspect, an embodiment of the present invention provides a storage medium, on which computer program instructions are stored, which implement the method of the first aspect in the above implementation manner when the computer program instructions are executed by the processor.

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

[0040] The spiral printing positioning method, device, equipment and storage medium for cylindrical objects provided by the embodiments of the present invention make the preset acceleration angle between the X-axis white edge position of the cylindrical object and the projection position of the nozzle on the cylindrical object when the cylindrical object is set on the printing station, and determine the starting position of the Y-axis movement by using the X-axis acceleration time and the Y-axis acceleration distance; set the starting position of the stepping movement of the cylindrical object at the starting position of the Y-axis movement, control the cylindrical object to accelerate and rotate in the rotating direction and accelerate and move in the stepping direction at the same time, and when the X-axis white edge position reaches the projection position and starts to rotate and step at a constant speed, control the nozzle to ink-jet print, realizing the synchronous and accurate positioning of the X-axis white edge position and the Y-axis white edge position during the ink-jet printing of the cylindrical object, which is beneficial to improving the accuracy of the image printing position in the spiral printing of the cylindrical object, thereby improving the image printing quality and printing effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly introduced below. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to these drawings, and all of them are within the protection scope of the present invention.

[0042] Figure 1 Schematic diagram of spiral printing of cylindrical objects in the background art.

[0043] Figure 2 Schematic diagram of the ink-jet printing system for cylindrical objects according to the embodiments of the present invention.

[0044] Figure 3 Flow chart of the spiral printing positioning method for cylindrical objects according to the embodiments of the present invention.

[0045] Figure 4 Schematic diagram of the X-axis white edge position of the cylindrical object according to the embodiments of the present invention.

[0046] Figure 5 Schematic diagram of the structure of the spiral printing positioning device for cylindrical objects according to the embodiments of the present invention.

[0047] Figure 6 Schematic diagram of the structure of the spiral printing positioning equipment for cylindrical objects according to the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0048] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and 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 implemented without some of these specific details. The following description of the embodiments is only provided to provide a better understanding of the present invention by showing examples of the present invention.

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

[0050] Embodiment 1

[0051] The embodiment of the present invention provides a method for helical printing and positioning of a cylindrical object, which is applicable to an inkjet printing system for cylindrical objects, such as Figure 2 as shown, the cylindrical object printing device at least includes a nozzle 1, a clamping device 2 and a code disk 3, wherein the nozzle 1 at least includes a row of nozzles, and the cylindrical object printing device further includes a rotating mechanism and a stepping mechanism (not shown), wherein the rotating mechanism is used to drive the cylindrical object to rotate along the central axis, and the stepping mechanism is used to drive the nozzle to step along the X direction (axial direction). During printing, the cylindrical object 4 is installed on the printing station using the clamping device. The cylindrical object 4 rotates along the rotation direction X around the rotation axis and moves along the stepping direction Y at the same time. The nozzle sprays ink on the cylindrical surface of the object. In another embodiment, it may also be that the cylindrical object rotates around the rotation axis and the nozzle moves along the stepping direction. When the rotating mechanism in the cylindrical object printing device drives the cylindrical object to rotate one week each time, it also drives the code disk to rotate one week. The code disk will generate a pulse signal during rotation, and this pulse signal can be used to control the speed or frequency of the nozzle ignition. Each time the nozzle ignites, it will drive the nozzle to spray an ink dot once. As the cylindrical object rotates continuously, continuous ink dots are sprayed on the cylindrical surface of the object. For ease of description, the X-axis direction is the rotation direction and the Y-axis direction is the stepping direction below.

[0052] Please refer to Figure 3 , and the spiral printing positioning method of the cylindrical object specifically includes the following steps:

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

[0054] S2: Obtain the time required for the X-axis white edge position to accelerate and rotate along the rotation direction to reach the projection position according to the preset acceleration angle and the X-axis printing speed, which is recorded 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 the inkjet printing process;

[0055] S3: Obtain the Y-axis acceleration distance according to 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 uniformly in the stepping direction during the inkjet printing process;

[0056] S4: Determine the starting position of the Y-axis movement according to the Y-axis acceleration distance and the Y-axis white edge position;

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

[0058] S6: Control the cylindrical object to accelerate and rotate along the rotation direction and accelerate in the stepping direction at the same time. When the X-axis white edge position reaches the projection position and starts to rotate uniformly and step uniformly at the X-axis printing speed and the Y-axis printing speed respectively, control the nozzle to start inkjetting.

[0059] Specifically, before starting printing, first manually fix the cylindrical object with a clamping device and then install it on the printing station. During printing, the nozzle sprays ink on the surface of the cylindrical object directly below it. The position directly below the nozzle, that is, the projection position of the nozzle on the cylindrical object. During installation, such as Figure 4As shown, instead of setting the white edge position of the X-axis at the projection position of the nozzle, it is set at the position obtained by rotating the projection position by a preset acceleration angle β in the rotation direction. The rotation mechanism is started to drive the cylindrical object to accelerate and rotate from rest in the rotation direction. During the acceleration rotation process, the nozzle does not eject ink for printing. Instead, when the white edge position of the X-axis reaches the projection position of the nozzle, after the rotation speed of the cylindrical object reaches a preset value and starts to rotate at a constant speed, inkjet printing begins. In this way, the positioning printing of the white edge position of the X-axis is achieved. To achieve the synchronous positioning printing of the white edge positions of the X-axis and the Y-axis, when the white edge position of the X-axis reaches the projection position of the nozzle, the white edge position of the Y-axis reaches this projection position and starts to move at a constant speed after the stepping speed reaches a certain value. When the cylindrical object moves in the stepping direction, it also accelerates from rest until the white edge position of the Y-axis reaches the projection position and then starts to move at a constant speed. To ensure the synchronous positioning printing of the white edge positions of the X-axis and the Y-axis, it is necessary to make the rotation acceleration time (X-axis acceleration time) and the stepping acceleration time (Y-axis acceleration time) of the cylindrical object the same. According to the preset acceleration angle, the circumference or distance rotated by the cylindrical object during the X-axis acceleration time can be obtained, denoted as the rotation acceleration distance or the X-axis acceleration distance. According to this X-axis acceleration distance and the X-axis printing speed preset in the printing software, the corresponding X-axis acceleration time can be obtained. Based on this X-axis acceleration time, the Y-axis acceleration time is determined. Further, according to the Y-axis acceleration time and the Y-axis printing speed preset in the printing software, the distance of the cylindrical object accelerating in the stepping direction, that is, the Y-axis acceleration distance, is obtained. Finally, based on the Y-axis acceleration distance and the white edge position of the Y-axis, the starting position of the Y-axis movement is determined. The starting position of the stepping movement of the cylindrical object is set at this starting position of the Y-axis movement, and the white edge position of the X-axis of the cylindrical object differs from the projection position by a preset acceleration angle. When the rotation mechanism and the stepping mechanism are simultaneously started to drive the cylindrical object to accelerate and rotate in the rotation direction and accelerate and step in the stepping direction at the same time, when the white edge position of the X-axis reaches directly below the nozzle, that is, the projection position, the white edge position of the Y-axis also reaches this position at the same time. At this time, the rotation speed also reaches the preset X-axis printing speed and the stepping speed reaches the Y-axis printing speed. The cylindrical object starts to enter a state of constant rotation and constant stepping movement. At this time, the nozzle sprays ink dots onto the surface of the cylindrical object to start image printing.

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

[0061] Obtaining the X-axis printing speed of the cylindrical object according to an external input;

[0062] Determining the X-axis acceleration distance according to the preset acceleration angle and the circumference of the cylindrical object;

[0063] Determine the X-axis acceleration and the X-axis acceleration time according to 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 in the rotation direction during the inkjet printing process. The X-axis printing speed is often set by the printing control software, and users can set it according to the actual printing situation, which is not limited here. The cylindrical object performs an accelerated rotation motion at a preset acceleration angle. The distance of the accelerated rotation of the cylindrical object, that is, the X-axis acceleration distance, can be determined according to the radius or circumference of the cylindrical object. Let the circumference of the cylindrical object be L, the radius be R, and the preset acceleration angle be It can be known that the X-axis acceleration distance

[0065] Denote the X-axis printing speed as Vx. Then according to the formula The Tx, that is, the X-axis acceleration time, can be obtained. At the same time, according to the formula Vx = Ax × Tx, the X-axis acceleration Ax can be obtained.

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

[0067] Obtain the Y-axis acceleration time according to the X-axis acceleration time;

[0068] Obtain the Y-axis acceleration distance according to 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 uniformly in the stepping direction during the inkjet printing process. The Y-axis printing speed is often set by the printing control software, and users can set it according to the actual printing situation, which is not limited here. To ensure the synchronous positioning printing of the X-axis white edge position and the Y-axis white edge position, the Y-axis acceleration time is equal to the X-axis acceleration time. When the Y-axis acceleration time is determined and the Y-axis printing speed is determined, then the Y-axis acceleration distance can be determined. That is, 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. Further, according to the formula Vy = Ay × Ty, the Y-axis acceleration Ay can be obtained.

[0070] After obtaining the Y-axis acceleration distance, set the starting movement position of the cylindrical object in the stepping direction at the position where the Y-axis white edge position minus the Y-axis acceleration distance, denoted as the Y-axis movement starting position.

[0071] During printing, it is necessary to control the frequency of ink droplet ejection when the nozzle performs a rotational movement on a cylindrical object according to the encoder resolution. When the cylindrical object rotates one week, it drives the encoder to rotate one week. Here, the encoder resolution is the number of pulses generated when the encoder rotates one week. In the embodiments of the present invention, the encoder resolution is determined according to the circumference of the cylindrical object, the resolution of the image to be printed, and its size. Preferably, obtaining the encoder resolution according to the circumference of the cylindrical object, the resolution and size of the image to be printed includes:

[0072] Denote the resolution of the image to be printed in the rotational direction as the circumferential resolution, and denote the resolution of the image to be printed in the stepping direction as the axial resolution; denote the size of the image to be printed in the rotational direction as the circumferential length, and denote the size of the image to be printed in the stepping direction as the axial length;

[0073] Obtain the number of circumference pixels n according to the circumference of the cylindrical object and the circumferential resolution of the image to be printed;

[0074] Obtain the number of circumferential pixels k of the image according to the circumferential resolution and circumferential length of the image to be printed;

[0075] Determine the encoder resolution according to the number of circumference pixels n and the number of circumferential pixels k of the image.

[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. Obtain the number of circumference pixels n according to the circumference of the cylindrical object and the circumferential resolution of the image to be printed. Exemplarily, denote the circumference of the cylindrical object as L, the circumferential resolution of the image to be printed as Dxdpi, and the circumferential length as Cx,

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

[0078] k = Dx×Cx;

[0079] Preferably, after obtaining the number of circumference pixels n and the number of circumferential pixels k of the image, determine which one to use as the encoder resolution according to the difference between the two.

[0080] In one embodiment, when the difference between the number of circumference pixels n and the number of circumferential pixels k of the image is less than or equal to a preset number of pixels, set the encoder resolution to be equal to the number of circumferential pixels k of the image; when the difference between the number of circumference pixels n and the number of circumferential pixels k of the image is greater than the preset number of pixels, set the encoder resolution to be equal to the number of circumference pixels n. Here, the preset number of pixels can be determined according to the actual situation. Preferably, the preset number of pixels is

[0081] In addition, it is worth noting that when using the number of perimeter pixels n as the encoder resolution, in order to ensure the image printing effect, it is necessary to perform image expansion or image cropping on the image to be printed in the rotation direction. Specifically, when the number of perimeter pixels n is greater than the number of circumferential pixels k of the image, image expansion is performed on the image to be printed in the rotation direction; when the number of perimeter pixels n is less than the number of circumferential pixels k of the image, image cropping is performed on the image to be printed in the rotation direction. When the number of perimeter pixels n is equal to the number of circumferential pixels k of the printed image, at this time, with n as the encoder resolution, then when the cylindrical object rotates one week, the encoder will generate n pulse numbers to drive the nozzle to inkjet n pixels. However, since the number of circumferential pixels k of the image is less than n, the nozzle cannot obtain enough data for printing. At this time, it is necessary to expand the image in the circumferential direction of the image to be printed. Exemplarily, blank data can be inserted into the circumferential printing data corresponding to the image to be printed, so that the number of circumferential pixels of the image is the same as the pulse resolution. When the number of circumferential pixels k of the image is greater than n, there will be redundant printing data given to the nozzle. At this time, it is necessary to crop the image in the circumferential direction of the image to be printed. Exemplarily, some data can be extracted from the circumferential printing data corresponding to the image to be printed, so that the number of circumferential pixels of the image is the same as the pulse resolution, so as to ensure the normal printing of the cylindrical object in the rotation direction.

[0082] In one embodiment, the encoder resolution is set according to the average value r of the number of perimeter pixels n and the number of circumferential pixels k of the image. Similarly, at this time, when the average value r is greater than the number of circumferential pixels k of the image, image expansion is performed on the image to be printed in the rotation direction. Exemplarily, 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 number of circumferential pixels k of the image, image cropping is performed on the image to be printed in the rotation direction. Exemplarily, some data can be extracted from the circumferential printing data corresponding to the image to be printed, so that the number of circumferential pixels of the image is the same as the pulse resolution.

[0083] Preferably, after calculating the encoder resolution according to the above method in the printing control software, it is necessary to set this parameter of the encoder resolution into the driver of the rotating structure such as the rotating motor. Therefore, the encoder resolution of the rotating mechanism must support the function of dynamic configuration. In one embodiment, the main board in the lower computer of the cylindrical inkjet printing system communicates with the driver of the rotating mechanism through the RS-485 interface to implement the function of dynamic configuration of the encoder resolution.

[0084] When starting the rotation mechanism and the stepping mechanism to drive the cylindrical object to accelerate its rotation in the rotational direction and accelerate its stepping in the stepping direction simultaneously, when the X-axis white edge position reaches directly below the nozzle, i.e., the projection position, the Y-axis white edge position also reaches this position at the same time, and the rotational speed also reaches the preset X-axis printing speed while the stepping speed reaches the Y-axis printing speed. The cylindrical object begins to enter a uniform rotational and uniform stepping motion. At this time, the encoder disk emits pulse signals according to the set encoder disk resolution to drive the nozzle to eject ink dots onto the surface of the cylindrical object according to the printing data of the image to be printed, starting the image printing.

[0085] In summary, for the spiral printing positioning method of a cylindrical object provided by the embodiment of the present invention, when the cylindrical object is set at the printing station, a preset acceleration angle is formed between the X-axis white edge position of the cylindrical object and the projection position of the nozzle on the cylindrical object, and the starting position of the Y-axis movement is determined by using the X-axis acceleration time and the Y-axis acceleration distance; the starting position of the stepping motion of the cylindrical object is set at the starting position of the Y-axis movement. When controlling the cylindrical object to accelerate its rotation in the rotational direction and accelerate its motion in the stepping direction simultaneously, when the X-axis white edge position reaches the projection position and starts uniform rotation and uniform stepping, controlling the nozzle to ink-jet print realizes the synchronous and precise positioning of the X-axis white edge position and the Y-axis white edge position during the ink-jet printing of the cylindrical object, which is beneficial to improving the accuracy of the image printing position in the spiral printing of the cylindrical object, thereby improving the image printing quality and printing effect.

[0086] Embodiment 2

[0087] Please refer to Figure 5 , the embodiment of the present invention provides a spiral printing positioning device 200 for a cylindrical object. The device 200 includes:

[0088] An included angle setting module 201, configured to set the cylindrical object at the printing station and form an included angle with a preset acceleration angle between the X-axis white edge position of the cylindrical object and the projection position of the nozzle on the cylindrical object;

[0089] An acceleration time acquisition module 202, configured to obtain the time required for the X-axis white edge position to accelerate its rotation along the rotational direction to reach the projection position according to the preset acceleration angle and the X-axis printing speed, 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 rotational direction during the ink-jet printing process;

[0090] An acceleration distance acquisition module 203, configured to obtain the Y-axis acceleration distance according to 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 steps uniformly along the stepping direction during the ink-jet printing process;

[0091] A position determination module 204, configured to determine the starting position of the Y-axis movement according to the Y-axis acceleration distance and the Y-axis white edge position;

[0092] A position setting module 205, configured to set the starting position of the step movement of the cylindrical object at the starting position of the Y-axis movement;

[0093] A synchronization module 206, configured to control the cylindrical object to accelerate and rotate in the rotation direction while accelerating in the step direction, and when the X-axis white edge position reaches the projection position and starts to rotate at a constant speed and step at a constant speed with the X-axis printing speed and the Y-axis printing speed respectively, control the nozzle to start inkjet printing.

[0094] Preferably, the device 200 further includes:

[0095] A code disk resolution acquisition module, configured to acquire the code disk resolution according to the circumference of the cylindrical object, the resolution and size of the image to be printed;

[0096] A printing module, configured to control the nozzle to inkjet print the image to be printed according to the code disk resolution when the cylindrical object starts to rotate at a constant speed and step at a constant speed with the X-axis printing speed and the Y-axis printing speed respectively.

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

[0098] An X-axis printing speed acquisition unit, configured to acquire the X-axis printing speed of the cylindrical object according to an external input;

[0099] An X-axis acceleration distance acquisition unit, configured to determine the X-axis acceleration distance according to the preset acceleration angle and the circumference of the cylindrical object;

[0100] An X-axis acceleration time acquisition unit, configured to determine the X-axis acceleration and the X-axis acceleration time according to the X-axis acceleration distance and the X-axis printing speed.

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

[0102] A Y-axis acceleration time acquisition unit, configured to acquire the Y-axis acceleration time according to the X-axis acceleration time;

[0103] A Y-axis acceleration distance acquisition unit, configured to acquire the Y-axis acceleration distance according to the Y-axis acceleration time and the Y-axis printing speed.

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

[0105] A recording unit for recording the resolution of the image to be printed in the rotational direction as the circumferential resolution, and the resolution of the image to be printed in the stepping direction as the axial resolution; recording the size of the image to be printed in the rotational direction as the circumferential length, and the size of the image to be printed in the stepping direction as the axial length;

[0106] A circumference pixel number acquisition unit for acquiring the number of circumference pixels n according to the circumference of the cylindrical object and the circumferential resolution of the image to be printed;

[0107] An image circumferential pixel number acquisition unit for acquiring the number of image circumferential pixels k according to the circumferential resolution and circumferential length of the image to be printed;

[0108] A code disk resolution determination unit for determining the code disk resolution according to the number of circumference pixels n and the number of image circumferential pixels k;

[0109] In summary, the spiral printing positioning device for a cylindrical object provided by the embodiment of the present invention, when the cylindrical object is set at the printing station, makes there be a preset acceleration angle between the X-axis white edge position of the cylindrical object and the projection position of the nozzle on the cylindrical object, and uses the X-axis acceleration time and Y-axis acceleration distance to determine the starting position of the Y-axis movement; sets the starting position of the stepping movement of the cylindrical object at the starting position of the Y-axis movement, controls the cylindrical object to accelerate and rotate in the rotational direction while accelerating and moving in the stepping direction, and when the X-axis white edge position reaches the projection position and starts to rotate and step uniformly, controls the nozzle to inkjet print, realizing the synchronous and accurate positioning of the X-axis white edge position and Y-axis white edge position during the inkjet printing of the cylindrical object, which is beneficial to improving the accuracy of the image printing position in the spiral printing of the cylindrical object, thereby improving the image printing quality and printing effect.

[0110] Embodiment Three

[0111] In addition, the spiral printing positioning method for a cylindrical object in the embodiment of the present invention can be implemented by a spiral printing positioning device for a cylindrical object. Figure 6 The hardware structure diagram of the spiral printing positioning device for a cylindrical object provided by the embodiment of the present invention is shown.

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

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

[0114] The memory 302 may include a mass storage for data or instructions. By way of example and not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. In a suitable case, the memory 302 may include removable or non-removable (or fixed) media. In a suitable case, the memory 302 may be internal or external to the data processing device. In a particular embodiment, the memory 302 is a non-volatile solid-state memory. In a particular embodiment, the memory 302 includes a read-only memory (ROM). In a suitable case, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

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

[0116] In one example, the cylindrical object spiral printing positioning device may further include a communication interface 303 and a bus 310. Among them, as Figure 6 shown, the processor 301, the memory 302, and the communication interface 303 are connected through the bus 310 and complete communication with each other.

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

[0118] The bus 310 includes hardware, software, or both, and couples the components of the cylindrical object helical printing positioning device to each other. By way of example and not limitation, the 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), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand 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 a combination of two or more of these. Where appropriate, the bus 310 may include one or more buses. Although embodiments of the present invention describe and illustrate specific buses, the present invention contemplates any suitable bus or interconnect.

[0119] Embodiment Four

[0120] In addition, in combination with the cylindrical object helical printing positioning method in the above embodiments, an embodiment of the present invention can be implemented by providing a computer-readable storage medium. Computer program instructions are stored on the computer-readable storage medium; when the computer program instructions are executed by the processor 301, any one of the cylindrical object helical printing positioning methods in the above embodiments is implemented.

[0121] In summary, for the cylindrical object helical printing positioning method, device, equipment, and storage medium provided by the embodiments of the present invention, when the cylindrical object is set at the printing station, a preset acceleration angle is provided between the X-axis white edge position of the cylindrical object and the projection position of the nozzle on the cylindrical object, and the Y-axis movement start position is determined by using the X-axis acceleration time and the Y-axis acceleration distance; the stepping movement start position of the cylindrical object is set at the Y-axis movement start position, and while controlling the cylindrical object to accelerate and rotate in the rotation direction, it is accelerated and moved in the stepping direction. When the X-axis white edge position reaches the projection position and starts to rotate and step uniformly, the nozzle is controlled to inkjet print, achieving synchronous and precise positioning of the X-axis white edge position and the Y-axis white edge position during the inkjet printing of the cylindrical object, which is beneficial to improving the precision of the image printing position in the cylindrical object helical printing, thereby improving the image printing quality and printing effect.

[0122] It should be clear 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 between steps after understanding the spirit of the present invention.

[0123] The functional blocks shown in the above-described structural block diagrams can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, and so on. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium or transmitted via a data signal carried in a carrier wave on a transmission medium or a communication link. A "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 discs, hard disks, fiber optic media, radio frequency (RF) links, and so on. The code segment can be downloaded via a computer network such as the Internet, an intranet, and so on.

[0124] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps. That is, the steps can be executed in the order mentioned in the embodiments, can be different from the order in the embodiments, or several steps can be executed simultaneously.

[0125] As described above, the above is only the specific implementation manner of the present invention. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described systems, modules, and units can refer 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 within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of the present invention.

Claims

1. A spiral printing positioning method for cylindrical objects, characterized in that: The method includes: Placing a cylindrical object at a printing station and forming an included angle of a preset acceleration angle between the X-axis white edge position of the cylindrical object and the projection position of the nozzle on the cylindrical object; Obtaining the time required for the X-axis white edge position to accelerate and rotate along the rotation direction to reach the projection position according to the preset acceleration angle and the X-axis printing speed, 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 the inkjet printing process; Obtaining the Y-axis acceleration distance according to 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 uniformly in a step direction during the inkjet printing process; Determining the starting position of the Y-axis movement according to the Y-axis acceleration distance and the Y-axis white edge position; Setting the starting position of the step movement of the cylindrical object at the starting position of the Y-axis movement; Controlling the cylindrical object to accelerate and rotate along the rotation direction while accelerating in the step direction, and when the X-axis white edge position reaches the projection position and starts to rotate uniformly and step uniformly at the X-axis printing speed and the Y-axis printing speed respectively, controlling the nozzle to start inkjetting.

2. The cylindrical object spiral printing positioning method according to claim 1, wherein The method further includes: Obtaining the encoder resolution according to the circumference of the cylindrical object, the resolution and size of the image to be printed; When the cylindrical object starts to rotate uniformly and step uniformly at the X-axis printing speed and the Y-axis printing speed respectively, controlling the nozzle to inkjet-print the image to be printed according to the encoder resolution.

3. The cylindrical object spiral printing positioning method according to claim 1, characterized in that, The obtaining the time required for the X-axis white edge position to accelerate and rotate along the rotation direction to reach the projection position according to the preset acceleration angle and the X-axis printing speed, denoted as the X-axis acceleration time, includes: Obtaining the X-axis printing speed of the cylindrical object according to an external input; Determining the X-axis acceleration distance according to the preset acceleration angle and the circumference of the cylindrical object; Determining the X-axis acceleration and the X-axis acceleration time according to the X-axis acceleration distance and the X-axis printing speed.

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

5. The method for helical printing and positioning of a cylindrical object according to claim 2, wherein The obtaining the encoder resolution according to the circumference of the cylindrical object, the resolution and size of the image to be printed includes: Denoting the resolution of the image to be printed in the rotation direction as the circumferential resolution, and the resolution of the image to be printed in the step direction as the axial resolution; denoting 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 step direction as the axial length; Obtaining the number of circumference pixels n according to the circumference of the cylindrical object and the circumferential resolution of the image to be printed; Obtaining the number of circumferential pixels k of the image according to the circumferential resolution and circumferential length of the image to be printed; Determining the encoder resolution according to the number of circumference pixels n and the number of circumferential pixels k of the image.

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

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

8. A spiral printing positioning device for a cylindrical object, characterized in that, The device comprises: An angle setting module, used to place the cylindrical object on the printing station so that an angle of a preset acceleration angle is formed between the X-axis white edge position of the cylindrical object and the projection position of the nozzle on the cylindrical object; an acceleration time acquisition module, configured to acquire, based on the preset acceleration angle and the X-axis printing speed, the time required for the X-axis white edge position to accelerate along the rotation direction to the projection position, and record the time 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 the inkjet printing process; An acceleration distance acquisition module, configured to acquire a Y-axis acceleration distance according to the X-axis acceleration time and the Y-axis printing speed, wherein the Y-axis printing speed is a speed at which the cylindrical object uniformly steps along a stepping direction during inkjet printing; A position determination module, configured to determine a starting position of Y-axis motion according to the Y-axis acceleration distance and the Y-axis white edge position; A position setting module, configured to set the stepping motion starting position of the cylindrical object at the Y-axis motion starting position; The synchronization module is used to control the cylindrical object to accelerate its rotation in the rotation direction and accelerate its movement in the stepping direction. When the X-axis white edge position reaches the projection position and starts to rotate and step at a uniform speed at the X-axis printing speed and the Y-axis printing speed respectively, the nozzle is controlled to start inkjet.

9. A spiral printing and 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 implement the method according to any one of claims 1 to 7 when the computer program instructions are executed by the processor.

10. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method and device for ink-jet printing on containers

    CN105691021A

  • Printing apparatus

    CN107848295A

  • Rotating body surface printing method, device and equipment and storage medium

    CN114055932A

  • Cylindrical surface printing control method and device, printer and storage medium

    CN114379228A

  • Light source curing dynamic control method, device and equipment for cylindrical object surface printing

    CN116409069A

Cited By

  • Cylindrical battery cell printing method, device, equipment and medium

    CN121246431A

  • Cylindrical cell spiral printing method, device, equipment and medium

    CN121246432A