Cylindrical object printing control method, device and equipment and storage medium
By calculating the number of ink dots and the ink jet interval scale of cylindrical objects, and adjusting the nozzle ignition and ink discharge speed, the problem of mismatch between rotation speed and ink discharge speed when printing cylindrical objects is solved, and efficient image printing quality is achieved.
Patent Information
- Application Number
- CN202310347416.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-03-27
AI Technical Summary
In the prior art, the ink discharge speed and rotation speed do not match when printing cylindrical objects, resulting in image overlap or blank problems. The existing verification method is complex and wastes time.
By obtaining the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the code disk accuracy, the number of ink dots and the ink jet interval scale are calculated, and the nozzle ignition and ink discharge speed are adjusted to match the rotation speed and ink discharge speed.
It avoids image overlap or blanks, improves image printing quality, reduces the waste of printing media and time, and improves production efficiency.
Smart Images

Figure CN118752906A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of inkjet printing technology, and in particular to a cylindrical object printing control method, device, equipment and storage medium. Background Art
[0002] Cylindrical object printing refers to using a printer to print patterns on the surface of a cylindrical object or part of the object as a cylindrical surface (including the outer surface and the inner surface). The printed products include but are not limited to: wine bottles, thermos cups, metal tubes, glasses, paper cups, flexible materials, etc. Figure 1a The figure shows a schematic diagram of inkjet printing on the outer surface of a cylindrical object. Figure 1b The figure shows a schematic diagram of inkjet printing on the inner surface of a cylindrical object. Figure 2 As shown, the cylindrical object printing device includes: a crossbeam, a nozzle and a clamping device, wherein the nozzle is installed on the crossbeam, and the cylindrical object is fixed to the axis by the clamping device. During the printing process: the nozzle moves along the crossbeam in the X direction at a certain speed, and the cylindrical object rotates continuously in the circumferential direction Y around the central axis at a certain speed until the entire cylindrical object is printed. The rotation speed of the cylindrical object is calculated based on the circumference of the cylindrical object and the image printing accuracy. Since the circumference measurement of the cylindrical object is rough and there are errors, and the equipment also has machine errors, signal errors, etc., it is necessary to verify whether the rotation speed of the cylindrical object matches the speed of the ink discharge of the nozzle before printing, so as to avoid the mismatch between the ink discharge speed of the nozzle and the rotation speed of the cylindrical object, resulting in stretching or compression of the image printed on the surface of the cylindrical object, and image overlap or blanks at the joint of the beginning and end of the image. The existing calibration method is to print a test chart before printing, then scan the test chart and adjust the rotation speed of the cylindrical object according to the result of the test chart to make it meet the ink output speed of the nozzle. The existing calibration method is relatively complicated, time-consuming and wastes printing media. Summary of the invention
[0003] In view of this, embodiments of the present invention provide a cylindrical object printing control method, device, equipment and storage medium to solve the problem in the prior art that the mismatch between the ink discharge speed and the rotation speed when printing cylindrical objects leads to image overlap or blankness.
[0004] In a first aspect, an embodiment of the present invention provides a cylindrical object printing control method, the method comprising:
[0005] Obtain the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the code disc accuracy;
[0006] The number of ink dots that need to be printed on the cylindrical object when the cylindrical object rotates one circle is obtained according to the circumference of the cylindrical object and the circumferential printing accuracy, and recorded as the first number of ink dots; wherein the code disk rotates one circle synchronously when the cylindrical object rotates one circle;
[0007] According to the accuracy of the code disk and the first number of ink dots, the scale of the code disk rotation when printing two adjacent ink dots on the cylindrical object is obtained, and recorded as the inkjet interval scale;
[0008] The nozzle is controlled to ignite and discharge ink according to the inkjet interval scale to print the cylindrical object.
[0009] Preferably, the obtaining, according to the circumference of the cylindrical object and the circumferential printing accuracy, the number of ink dots to be printed on the cylindrical object when the cylindrical object rotates one circle, recorded as the first number of ink dots, comprises:
[0010] Obtaining the number of ink dots per centimeter according to the circumferential printing accuracy;
[0011] The first number of ink dots is obtained according to the number of ink dots per centimeter length and the circumference of the cylindrical object.
[0012] Preferably, the step of obtaining the scale of rotation of the code disk when printing two adjacent ink dots on the cylindrical object according to the code disk accuracy and the first ink dot number, recorded as the inkjet interval scale, includes:
[0013] Obtaining a pulse interval for printing two adjacent ink dots according to the code disk accuracy and the first ink dot number;
[0014] The inkjet interval scale is obtained according to the pulse interval.
[0015] Preferably, the step of controlling the nozzle to ignite and discharge ink according to the inkjet interval scale to print the cylindrical object comprises:
[0016] Obtaining a pulse waveform outputted by the code disk each time it rotates the inkjet interval scale, and recording it as a driving pulse;
[0017] The nozzle is driven to ignite once according to the driving pulse and spray ink dots onto the cylindrical object.
[0018] Preferably, the method further comprises:
[0019] Obtaining the firing frequency of the nozzle according to the inkjet interval scale;
[0020] Obtaining the linear velocity of the cylindrical object according to the nozzle ignition frequency and the circumferential printing accuracy;
[0021] The cylindrical object is controlled to rotate in a circumferential direction according to the linear velocity.
[0022] Preferably, the method further comprises:
[0023] Obtaining the maximum ignition frequency of the nozzle;
[0024] Obtaining a minimum value of the inkjet interval scale according to the maximum ignition frequency;
[0025] According to the minimum value of the inkjet interval scale, the maximum number of printed dots of the cylindrical object when it rotates one circle is obtained, and recorded as the second ink dot number;
[0026] The maximum circumferential printing accuracy is obtained according to the second ink dot number and the circumference of the cylindrical object.
[0027] Preferably, the method further comprises:
[0028] Before printing the image to be printed, comparing the maximum circumferential printing accuracy with the circumferential printing accuracy of the image to be printed;
[0029] When the maximum circumferential printing precision is less than the circumferential printing precision, obtaining the number of insertion points according to the maximum circumferential printing precision and the circumferential printing precision of the image to be printed;
[0030] Insertion point printing is performed on the circumference of the cylindrical object according to the number of insertion points.
[0031] In a second aspect, an embodiment of the present invention provides a cylindrical object printing control device, the device comprising:
[0032] A parameter acquisition module, used to acquire the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the code disc accuracy;
[0033] A first ink dot number module is used to obtain the number of ink dots that need to be printed on the cylindrical object when the cylindrical object rotates one circle according to the circumference of the cylindrical object and the circumferential printing accuracy, which is recorded as the first ink dot number; wherein, when the cylindrical object rotates one circle, the code disk rotates one circle synchronously accordingly;
[0034] An inkjet interval scale acquisition module, used for acquiring the scale of the code disc rotation when printing two adjacent ink dots on the cylindrical object according to the code disc accuracy and the first ink dot number, and recording it as the inkjet interval scale;
[0035] The control module is used to control the nozzle to ignite and discharge ink according to the inkjet interval scale to print the cylindrical object.
[0036] In a third aspect, an embodiment of the present invention provides a cylindrical object printing control device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, and when the computer program instructions are executed by the processor, the method of the first aspect in the above embodiment is implemented.
[0037] In a fourth aspect, an embodiment of the present invention provides a storage medium having computer program instructions stored thereon, which implements the method of the first aspect in the above-mentioned embodiment when the computer program instructions are executed by a processor.
[0038] In summary, the beneficial effects of the present invention are as follows:
[0039] The cylindrical object printing control method, device, equipment and storage medium provided by the embodiments of the present invention obtain the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed and the code disk accuracy; according to the circumference of the cylindrical object and the circumferential printing accuracy, the number of ink dots to be printed on the cylindrical object when the cylindrical object rotates one circle is obtained, recorded as the first ink dot number; according to the code disk accuracy and the first ink dot number, the scale of the code disk rotation when printing two adjacent ink dots on the cylindrical object is obtained, recorded as the inkjet interval scale; according to the inkjet interval scale, the nozzle is controlled to ignite and discharge ink to print the cylindrical object. The cylindrical object printing control method adjusts the nozzle ignition or ink discharge speed according to the first ink dot number and the code disk accuracy, that is, adjusts the spacing between the ink dots printed on the circumference of the cylindrical object, so that when the cylindrical object rotates one circle, the ink dots of the first ink dot number can be evenly printed on the cylindrical object, ensuring that the nozzle ink discharge speed and the cylindrical object rotation speed match, avoiding the problem of image overlap or blank spaces between images when printing the cylindrical object, and ensuring the image printing quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.
[0041] Figure 1a It is a schematic diagram of printing the outer surface of a cylindrical object according to the background technology.
[0042] Figure 1b It is a schematic diagram of printing the inner surface of a cylindrical object according to the background technology.
[0043] Figure 2 Schematic diagram of a cylindrical object printing device according to the background art.
[0044] Figure 3Schematic diagram of a cylindrical object printing device according to an embodiment of the present invention.
[0045] Figure 4 It is a flow chart of a cylindrical object printing control method according to an embodiment of the present invention.
[0046] Figure 5 Schematic diagram of the structure of a cylindrical object printing control device according to an embodiment of the present invention.
[0047] Figure 6 It is a schematic structural diagram of a cylindrical object printing control device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.
[0049] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0050] Embodiment 1
[0051] The embodiment of the present invention provides a cylindrical object printing control method, which is applicable to an application scenario in which a cylindrical object printing device is used to print an image on the surface of a cylindrical object. Figure 3The cylindrical object printing device at least comprises a crossbeam 1, a nozzle 2, a clamping device 3 and a code disk 5, wherein the nozzle comprises at least one row of nozzles, and the cylindrical object printing device further comprises 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). When the rotating mechanism in the cylindrical object printing device drives the cylindrical object 4 to rotate once, it also drives the code disk 5 to rotate once. The code disk 5 will generate a pulse signal during the rotation process, and the pulse signal can be used to control the speed or frequency of the nozzle ignition. Each time the nozzle is ignited, it will drive the nozzle to spray ink dots once.
[0052] See also Figure 4 The cylindrical object printing control method specifically comprises the following steps:
[0053] S1: Obtain the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the code disc accuracy;
[0054] S2: according to the circumference of the cylindrical object and the circumferential printing accuracy, obtaining the number of ink dots that need to be printed on the cylindrical object when the cylindrical object rotates one circle, and recording it as the first number of ink dots; wherein, when the cylindrical object rotates one circle, the code disk rotates one circle synchronously accordingly;
[0055] S3: according to the accuracy of the code disk and the first number of ink dots, obtaining the scale of the code disk rotation when printing two adjacent ink dots on the cylindrical object, and recording it as the inkjet interval scale;
[0056] S4: Controlling the nozzle to ignite and discharge ink according to the inkjet interval scale to print the cylindrical object.
[0057] Specifically, when printing a cylindrical object, it is necessary to know the image accuracy in the circumferential direction and the axial direction of the image to be printed on the surface of the cylindrical object (hereinafter referred to as the circumferential printing accuracy and the axial printing accuracy). The circumferential printing accuracy is the number of ink dots printed per inch in the circumferential direction of the cylindrical object, and the axial printing accuracy is the number of ink dots printed per inch in the axial direction of the cylindrical object. Based on the circumferential printing accuracy and the circumference of the cylindrical object, the number of ink dots that need to be printed on the surface of the cylindrical object when the cylindrical object rotates one circle can be obtained, which is recorded as the first ink dot number D. When the cylindrical object rotates one circle, if the nozzle is controlled to print D ink dots evenly on the surface of the cylindrical object, the image printing effect is the best. If the nozzle ink discharge speed is too slow, then the D ink dots have not been printed after the cylindrical object rotates one circle, and the remaining unprinted ink dots will be printed in the next circle, but the nozzle starts to spray the ink dots of the next circle in the next circle, which causes image stretching and image overlap; and if the nozzle ink discharge speed is too fast, the D ink dots have been sprayed before the cylindrical object rotates one circle, and the nozzle needs to wait until the next circle of rotation begins to spray the ink dots of the next circle, which causes image compression or blanks between images, seriously affecting the printing quality. In an embodiment of the present invention, after obtaining the first ink dot number, the first ink dot number and the code disk accuracy are used to obtain the scale of the code disk rotation when printing two adjacent ink dots on the surface of the cylindrical object (recorded as the inkjet interval scale), and then the nozzle ignition is controlled according to the inkjet interval scale to control the ink discharge speed of the nozzle.
[0058] Preferably, the obtaining, according to the circumference of the cylindrical object and the circumferential printing accuracy, the number of ink dots to be printed on the cylindrical object when the cylindrical object rotates one circle, recorded as the first number of ink dots, comprises:
[0059] Obtaining the number of ink dots per centimeter according to the circumferential printing accuracy;
[0060] The first number of ink dots is obtained according to the number of ink dots per centimeter length and the circumference of the cylindrical object.
[0061] Specifically, the circumferential printing accuracy is represented by the number of ink dots printed per inch. The circumference of a cylindrical object is often represented by the international unit centimeter or millimeter. Therefore, the number of ink dots per centimeter length is first obtained according to the circumferential printing accuracy, and recorded as the number of ink dots per centimeter length. Let the circumferential printing accuracy be A, then the number of ink dots per centimeter length is: M = A / 2.54.
[0062] Assume the circumference of the cylindrical object is L, in centimeters, then the number of the first ink point is D:
[0063] D=M×A
[0064] After obtaining the first number of ink dots, it is necessary to adjust the ink discharge timing of each ink dot or the ink discharge interval of each ink dot, so that the first number of ink dots can be printed evenly distributed around the surface of the cylindrical object.
[0065] Preferably, the step of obtaining the scale of rotation of the code disk when printing two adjacent ink dots on the cylindrical object according to the code disk accuracy and the first ink dot number, recorded as the inkjet interval scale, includes:
[0066] Obtaining a pulse interval for printing two adjacent ink dots according to the code disk accuracy and the first ink dot number;
[0067] The inkjet interval scale is obtained according to the pulse interval.
[0068] In the embodiment of the present invention, the code disk is used to output a pulse signal, and the pulse signal can be used to drive the nozzle to ignite. The control printing system drives the nozzle to ignite once every time it receives a predetermined number of pulse signals. The nozzle discharges ink once each time it ignites. Therefore, the ink discharge speed of the nozzle is related to the pulse signal output by the code disk. The code disk accuracy refers to the number of pulses generated when the code disk (grating disk) rotates one circle. The unit of code disk accuracy is P / R. For example, if the code disk generates 2500 pulses when it rotates one circle, then the code disk accuracy is 2500P / R.
[0069] In the cylindrical object printing device, the rotating mechanism drives the cylindrical object to rotate once, and also drives the code disk to rotate once. Assuming the code disk accuracy is B, the code disk will generate B pulses when it rotates once. If the nozzle is to eject D ink dots when the cylindrical object rotates once, then the nozzle should be driven to eject ink once every B / D pulses. Assuming that the code disk needs to rotate 1 code disk scale (1 code disk scale = 360° / B) for each pulse it outputs, then the code disk needs to rotate 1 code disk scale to output B / D pulses. Let C be the inkjet interval scale.
[0070] Preferably, the step of controlling the nozzle to ignite and discharge ink according to the inkjet interval scale to print the cylindrical object comprises:
[0071] Obtaining a pulse waveform outputted by the code disk each time it rotates the inkjet interval scale, and recording it as a driving pulse;
[0072] The nozzle is driven to ignite once according to the driving pulse and spray ink dots onto the cylindrical object.
[0073] That is to say, every time the code disk rotates C scale, its pulse signal is read to drive the nozzle to ignite once. Each time the nozzle ignites, the corresponding ink dot is ejected once. When the cylindrical object rotates one circle, the code disk is driven to rotate one circle. The pulse signal output by the code disk drives the nozzle to ignite D times evenly, thereby printing the first ink dot D ink dots evenly on the surface of the cylindrical object.
[0074] Furthermore, in order to ensure that the rotation speed of the cylindrical object matches the ink discharge speed of the nozzle, the method further includes:
[0075] Obtaining the firing frequency of the nozzle according to the inkjet interval scale;
[0076] Obtaining the linear velocity of the cylindrical object according to the nozzle ignition frequency and the circumferential printing accuracy;
[0077] The cylindrical object is controlled to rotate in a circumferential direction according to the linear velocity.
[0078] Specifically, because the code disk drives the nozzle to ignite once every time the inkjet time scale rotates, the time taken by the code disk to rotate the inkjet time scale is obtained, and the nozzle ignition frequency can be obtained according to the time. The nozzle ignition frequency refers to the number of ink dots that can be ejected from each nozzle hole in the nozzle per second, and the unit is Hz.
[0079] In the printing of cylindrical objects, the calculation relationship between the circumferential printing accuracy A, the linear velocity v and the ignition frequency F is as follows:
[0080] A = F / v;
[0081] It can be seen that the linear velocity v = F / A. Further, the linear velocity v = ω×R; R = L / 2π, ω is the angular velocity, R is the radius, and L is the circumference of the cylindrical object.
[0082] It can be obtained that: ω=(F×L) / (A×2π);
[0083] The cylindrical object is controlled to rotate in the circumferential direction according to the linear velocity v or the angular velocity ω, thereby ensuring that the rotation speed of the cylindrical object matches the ink discharge speed of the nozzle.
[0084] For printing cylindrical objects, the greater the nozzle ignition frequency, the more ink dots are printed per inch in the circumferential direction of the cylindrical object, and the higher the precision of the image printed in the circumferential direction. However, since the nozzle ignition frequency cannot be increased indefinitely, the nozzle is indicated to have a maximum ignition frequency when it leaves the factory. If the frequency of driving the nozzle ignition is greater than the maximum ignition frequency, the nozzle will often be damaged. In order to improve the printing precision of cylindrical objects while taking into account the protection of the nozzle, the matching of the rotation speed of the cylindrical object and the ink outlet speed of the nozzle, as well as the maximum circumferential printing precision obtained by the maximum ignition frequency of the nozzle are also considered. The circumferential precision of the image to be printed is selected with reference to the maximum circumferential printing precision. The specific steps include:
[0085] Obtaining the maximum ignition frequency of the nozzle;
[0086] Obtaining a minimum value of the inkjet interval scale according to the maximum ignition frequency;
[0087] The maximum circumferential printing accuracy is obtained according to the minimum value of the inkjet interval scale.
[0088] Specifically, the maximum ignition frequency of the nozzle can be obtained according to the parameters marked by the nozzle manufacturer, and the minimum value of the inkjet interval scale at the maximum ignition frequency can be inferred from the maximum ignition frequency. The maximum number of printing dots for a cylindrical object to rotate one circle is calculated based on the relationship between the inkjet interval scale and the code disk accuracy, and recorded as the second ink dot number. The maximum circumferential printing accuracy can be obtained based on the second ink dot number and the circumference of the cylindrical object. With the maximum circumferential printing accuracy as a reference, try to select an image to be printed with a circumferential printing accuracy less than or equal to the maximum circumferential printing accuracy, so as to ensure printing efficiency while improving printing accuracy.
[0089] Furthermore, before printing the image to be printed, comparing the maximum circumferential printing accuracy with the circumferential printing accuracy of the image to be printed;
[0090] When the maximum circumferential printing precision is less than the circumferential printing precision, obtaining the number of insertion points according to the maximum circumferential printing precision and the circumferential printing precision of the image to be printed;
[0091] The image to be printed is printed by performing interpolation on the surface of the cylindrical object according to the number of interpolation times.
[0092] If the circumferential printing accuracy of the image to be printed is greater than the maximum circumferential printing accuracy, in order to ensure that the image printed on the surface of the cylindrical object meets the accuracy requirements, it is necessary to perform interpolation printing on the cylindrical object. For example, when the maximum circumferential printing accuracy is 900dpi and the user requires a circumferential printing accuracy of 1800dpi, interpolation printing can be performed to improve the circumferential printing accuracy of the cylindrical object. Exemplarily, assuming that the maximum circumferential and axial printing accuracy of the cylindrical object is 900dpi×600dpi, the circumferential printing accuracy and axial printing accuracy of the image to be printed are 1800dpi×600dpi, the number of circumferential insertion point printing is 1800dpi / 900dpi=2, and accordingly the print data corresponding to the image to be printed is split into two sub-print data with an accuracy of 900dpi×600dpi, which are respectively recorded as the first sub-print data and the second sub-print data, the cylindrical object is controlled to rotate continuously and then ink is output to print the first sub-print data, and then the cylindrical object is controlled to rotate again to print the second sub-print data, and the ink dots corresponding to the second sub-print data are inserted into the ink dots corresponding to the first sub-print data, thereby improving the image printing accuracy of the cylindrical object.
[0093] In summary, the cylindrical object printing control method provided by the embodiment of the present invention obtains the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the code disk accuracy; according to the circumference of the cylindrical object and the circumferential printing accuracy, the number of ink dots to be printed on the cylindrical object when the cylindrical object rotates one circle is obtained, which is recorded as the first ink dot number; according to the code disk accuracy and the first ink dot number, the scale of the code disk rotation when printing two adjacent ink dots on the cylindrical object is obtained, which is recorded as the inkjet interval scale; according to the inkjet interval scale, the nozzle is controlled to ignite and discharge ink to print the cylindrical object. The cylindrical object printing control method adjusts the nozzle ignition or ink discharge speed according to the first ink dot number and the code disk accuracy, that is, adjusts the spacing between the ink dots printed on the cylindrical object in the circumferential direction, so that when the cylindrical object rotates one circle, the ink dots of the first ink dot number can be evenly printed on the cylindrical object, ensuring that the nozzle ink discharge speed matches the cylindrical object rotation speed, avoiding the problem of image overlap or blank space between images when printing the cylindrical object, and ensuring the image printing quality. Since there is no need to print a test chart for detection like the prior art, it also avoids the waste of printing media and printing time, and improves production efficiency.
[0094] Embodiment 2
[0095] See also Figure 5 The embodiment of the present invention provides a cylindrical object printing control device 200, the device 200 comprising:
[0096] The parameter acquisition module 201 is used to acquire the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the code disc accuracy;
[0097] The first ink dot number module 202 is used to obtain the number of ink dots that need to be printed on the cylindrical object when the cylindrical object rotates one circle according to the circumference of the cylindrical object and the circumferential printing accuracy, which is recorded as the first ink dot number; wherein, when the cylindrical object rotates one circle, the code disk rotates one circle synchronously accordingly;
[0098] An inkjet interval scale acquisition module 203 is used to acquire the scale of the code disk rotation when printing two adjacent ink dots on the cylindrical object according to the code disk accuracy and the first ink dot number, and record it as the inkjet interval scale;
[0099] The control module 204 is used to control the nozzle to ignite and discharge ink according to the inkjet interval scale to print the cylindrical object.
[0100] Preferably, the first ink dot counting module 202 includes:
[0101] A unit ink dot number acquisition unit, used for acquiring the number of ink dots per centimeter length according to the circumferential printing accuracy;
[0102] The first ink dot number obtaining unit is used to obtain the first ink dot number according to the ink dot number per centimeter length and the circumference of the cylindrical object.
[0103] Preferably, the inkjet interval scale acquisition module 203 includes:
[0104] A pulse interval acquisition unit, used for acquiring a pulse interval for printing two adjacent ink dots according to the code disk accuracy and the first ink dot number;
[0105] The inkjet interval scale acquisition unit is used to acquire the inkjet interval scale according to the pulse interval.
[0106] Preferably, the control module 204 includes:
[0107] A driving pulse acquisition unit, used to acquire a pulse waveform outputted by the code disk each time the code disk rotates the inkjet interval scale, recorded as a driving pulse;
[0108] The driving unit is used to drive the nozzle to ignite once and spray ink dots onto the cylindrical object according to the driving pulse.
[0109] Preferably, the cylindrical object printing control device further comprises:
[0110] An ignition frequency acquisition module, used for acquiring the ignition frequency of the nozzle according to the inkjet interval scale;
[0111] A linear velocity acquisition module, used to acquire the linear velocity of the cylindrical object according to the nozzle ignition frequency and the circumferential printing accuracy;
[0112] A rotation control module is used to control the cylindrical object to rotate in a circumferential direction according to the linear velocity.
[0113] Preferably, the device further comprises:
[0114] A maximum ignition frequency acquisition module, used to acquire the maximum ignition frequency of the nozzle;
[0115] A minimum scale value acquisition module, used for acquiring the minimum value of the inkjet interval scale according to the maximum ignition frequency;
[0116] A second ink dot number acquisition module, used for acquiring the maximum number of printed dots of the cylindrical object during one rotation according to the minimum value of the inkjet interval scale, and recording it as the second ink dot number;
[0117] The maximum circumferential printing accuracy acquisition module is used to acquire the maximum circumferential printing accuracy according to the second ink dot number and the circumference of the cylindrical object.
[0118] Preferably, the device further comprises:
[0119] A comparison module, used for comparing the maximum circumferential printing accuracy with the circumferential printing accuracy of the image to be printed before printing the image to be printed;
[0120] An insertion point number acquisition module, used for acquiring the insertion point number according to the maximum circumferential printing accuracy and the circumferential printing accuracy of the image to be printed when the maximum circumferential printing accuracy is less than the circumferential printing accuracy;
[0121] The insertion point printing module is used to perform insertion point printing on the circumference of the cylindrical object according to the number of insertion points.
[0122] In summary, the cylindrical object printing control device provided by the embodiment of the present invention obtains the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the code disk accuracy; obtains the number of ink dots that need to be printed on the cylindrical object when the cylindrical object rotates one circle according to the circumference of the cylindrical object and the circumferential printing accuracy, recorded as the first ink dot number; obtains the scale of the code disk rotation when printing two adjacent ink dots on the cylindrical object according to the code disk accuracy and the first ink dot number, recorded as the inkjet interval scale; controls the nozzle to ignite and discharge ink according to the inkjet interval scale to print the cylindrical object. The cylindrical object printing control method adjusts the nozzle ignition or ink discharge speed according to the first ink dot number and the code disk accuracy, that is, adjusts the spacing between the ink dots printed on the circumference of the cylindrical object, so that when the cylindrical object rotates one circle, the ink dots of the first ink dot number can be evenly printed on the cylindrical object, ensuring that the nozzle ink discharge speed and the cylindrical object rotation speed match, avoiding the problem of image overlap or blank spaces between images when printing the cylindrical object, and ensuring the image printing quality.
[0123] Embodiment 3
[0124] In addition, the cylindrical object printing control method according to the embodiment of the present invention may be implemented by a cylindrical object printing control device. Figure 6 A schematic diagram of the hardware structure of a cylindrical object printing control device provided by an embodiment of the present invention is shown.
[0125] The cylindrical object printing control device may include a processor 301 and a memory 302 storing computer program instructions.
[0126] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.
[0127] The memory 302 may include a large capacity memory for data or instructions. For example, but not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 302 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 302 may be inside or outside the data processing device. In a specific embodiment, the memory 302 is a non-volatile solid-state memory. In a specific embodiment, the memory 302 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0128] The processor 301 reads and executes the computer program instructions stored in the memory 302 to implement any one of the cylindrical object printing control methods in the above embodiments.
[0129] In one example, the cylindrical object printing control device may further include a communication interface 303 and a bus 310. Figure 6 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.
[0130] The communication interface 303 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.
[0131] Bus 310 includes hardware, software or both, and the parts of cylindrical object printing control device are coupled to each other. For example, but not limitation, bus 310 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0132] Embodiment 4
[0133] In addition, in combination with the cylindrical object printing control method in the above embodiment, the embodiment of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor 301, any cylindrical object printing control method in the above embodiment is implemented.
[0134] In summary, the cylindrical object printing control method, device, equipment and storage medium provided by the embodiments of the present invention obtain the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed and the code disk accuracy; according to the circumference of the cylindrical object and the circumferential printing accuracy, the number of ink dots to be printed on the cylindrical object when the cylindrical object rotates one circle is obtained, which is recorded as the first ink dot number; according to the code disk accuracy and the first ink dot number, the scale of the code disk rotation when printing two adjacent ink dots on the cylindrical object is obtained, which is recorded as the inkjet interval scale; according to the inkjet interval scale, the nozzle is controlled to ignite and discharge ink to print the cylindrical object. The cylindrical object printing control method adjusts the nozzle ignition or ink discharge speed according to the first ink dot number and the code disk accuracy, that is, adjusts the spacing between the ink dots printed on the circumference of the cylindrical object, so that when the cylindrical object rotates one circle, the ink dots of the first ink dot number can be evenly printed on the cylindrical object, ensuring that the nozzle ink discharge speed and the cylindrical object rotation speed match, avoiding the problem of image overlap or blank spaces between images when printing the cylindrical object, and ensuring the image printing quality.
[0135] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0136] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0137] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
[0138] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. A cylindrical object printing control method, It is characterized in that The method comprises: Obtain the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the code disc accuracy; The number of ink dots that need to be printed on the cylindrical object when the cylindrical object rotates one circle is obtained according to the circumference of the cylindrical object and the circumferential printing accuracy, and recorded as the first number of ink dots; wherein the code disk rotates one circle synchronously when the cylindrical object rotates one circle; According to the accuracy of the code disk and the first number of ink dots, the scale of the code disk rotation when printing two adjacent ink dots on the cylindrical object is obtained, and recorded as the inkjet interval scale; The nozzle is controlled to ignite and discharge ink according to the inkjet interval scale to print the cylindrical object.
2. The cylindrical object printing control method according to claim 1, It is characterized in that The step of obtaining the number of ink dots required to be printed on the cylindrical object when the cylindrical object rotates one circle according to the circumference of the cylindrical object and the circumferential printing accuracy, recorded as the first number of ink dots, includes: Obtaining the number of ink dots per centimeter according to the circumferential printing accuracy; The first number of ink dots is obtained according to the number of ink dots per centimeter length and the circumference of the cylindrical object.
3. The cylindrical object printing control method according to claim 1, It is characterized in that The scale of the rotation of the code disk when printing two adjacent ink dots on the cylindrical object is obtained according to the code disk accuracy and the first ink dot number, recorded as the inkjet interval scale, including: Obtaining a pulse interval for printing two adjacent ink dots according to the code disk accuracy and the first ink dot number; The inkjet interval scale is obtained according to the pulse interval.
4. The cylindrical object printing control method according to claim 3, It is characterized in that The step of controlling the nozzle to ignite and discharge ink according to the inkjet interval scale to print the cylindrical object comprises: Obtaining a pulse waveform outputted by the code disk each time it rotates the inkjet interval scale, and recording it as a driving pulse; The nozzle is driven to ignite once according to the driving pulse and spray ink dots onto the cylindrical object.
5. The cylindrical object printing control method according to any one of claims 1 to 4, It is characterized in that The method further comprises: Obtaining the firing frequency of the nozzle according to the inkjet interval scale; Obtaining the linear velocity of the cylindrical object according to the nozzle ignition frequency and the circumferential printing accuracy; The cylindrical object is controlled to rotate in a circumferential direction according to the linear velocity.
6. The cylindrical object printing control method according to any one of claims 1 to 4, It is characterized in that The method further comprises: Obtaining the maximum ignition frequency of the nozzle; Obtaining a minimum value of the inkjet interval scale according to the maximum ignition frequency; According to the minimum value of the inkjet interval scale, the maximum number of printed dots of the cylindrical object when it rotates one circle is obtained, and recorded as the second ink dot number; The maximum circumferential printing accuracy is obtained according to the second ink dot number and the circumference of the cylindrical object.
7. The cylindrical object printing control method according to any one of claims 1 to 4, It is characterized in that The method further comprises: Before printing the image to be printed, comparing the maximum circumferential printing accuracy with the circumferential printing accuracy of the image to be printed; When the maximum circumferential printing precision is less than the circumferential printing precision, obtaining the number of insertion points according to the maximum circumferential printing precision and the circumferential printing precision of the image to be printed; Insertion point printing is performed on the circumference of the cylindrical object according to the number of insertion points.
8. A cylindrical object printing control device, It is characterized in that The device comprises: A parameter acquisition module, used to acquire the circumference of the cylindrical object, the circumferential printing accuracy of the image to be printed, and the code disc accuracy; A first ink dot number module is used to obtain the number of ink dots that need to be printed on the cylindrical object when the cylindrical object rotates one circle according to the circumference of the cylindrical object and the circumferential printing accuracy, which is recorded as the first ink dot number; wherein, when the cylindrical object rotates one circle, the code disk rotates one circle synchronously accordingly; An inkjet interval scale acquisition module, used for acquiring the scale of the code disc rotation when printing two adjacent ink dots on the cylindrical object according to the code disc accuracy and the first ink dot number, and recording it as the inkjet interval scale; The control module is used to control the nozzle to ignite and discharge ink according to the inkjet interval scale to print the cylindrical object.
9. A cylindrical object printing control device, It is characterized in that include: At least one processor, at least one memory and computer program instructions stored in the memory, when the computer program instructions are executed by the processor, implement the method according to any one of claims 1 to 7.
10. A storage medium having computer program instructions stored thereon, It is 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
Ink jet printing apparatus and ink jet printing method
CN101054016A
Ink-jet printing equipment and printing method
CN109334270A
Spray head discontinuous-jetting control method and device and readable storage medium of computer
CN110126466A
Cylindrical surface printing control method and device, printer and storage medium
CN114379228A
Cylindrical surface printing control method and device, control panel, printer and medium
CN114683710A
Cited By
Cylindrical battery cell printing method, device, equipment and medium
CN121246431A
Cylindrical cell spiral printing method, device, equipment and medium
CN121246432A
Method for marking the outer surface of an axially symmetric transparent container and corresponding apparatus
ES3067036A1
