A method, device, equipment and storage medium for determining coordinates of a printing system

By using pulse counting and image pulse difference correction methods in reel-type inkjet printers, the problem of coordinate error during dynamic collage is solved, and the accuracy and printing efficiency of objects and images to be printed are improved.

CN118893917BActive Publication Date: 2025-01-10BEIJING BOYUAN HENGXIN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411043756.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2025-01-10
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

During the dynamic collage process, the pulse statistical errors caused by the process error of the transmitter and receiver or jitter noise of the transmitter and receiver are caused by coordinate errors of the objects to be printed and the image printed, especially for the continuous image printing of multiple objects to be printed. The cumulative error is serious.

Method used

The cumulative coordinates of the object to be printed are obtained by using a preset pulse counting method, and the coordinates of each object to be printed are gradually determined by correcting the image pulse difference, eliminating the coordinate accumulation error and improving printing accuracy.

Benefits of technology

It effectively eliminates the coordinate cumulative error of multiple objects to be printed during the printing process, improves the standard accuracy of the objects to be printed and the printed image, and improves the accuracy and efficiency of image printing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118893917B_ABST
    Figure CN118893917B_ABST
Patent Text Reader

Abstract

The present invention discloses a coordinate determination method, device, equipment and storage medium of a printing system, which relates to the field of inkjet printing technology, in order to solve the problem of low accuracy of the coordinates of the object to be printed and the printed image during printing in the prior art. The method comprises: obtaining printing data of a set of objects to be printed; for the first object to be printed in the set of objects to be printed: using a preset pulse counting method to obtain the cumulative coordinates of the first object to be printed; for any object to be printed from the second object to the Nth object to be printed in the set of objects to be printed: determining the first coordinate of the object to be printed; based on the first coordinate and positional relationship information, determining the image coordinates of the printed image; based on the first coordinate, the image resolution of the printed image and the positional relationship information, determining the first cumulative coordinates of the object to be printed; obtaining the first cumulative number of pulses corresponding to the first cumulative coordinates, and then determining the first image pulse difference of the object to be printed.
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 coordinate determination method, device, equipment and storage medium of a printing system. Background Art

[0002] Inkjet printers generally include roll-to-roll printers and flatbed printers. Flatbed printers use grating rulers to measure coordinates during the movement of the object to be printed, while roll-to-roll printers use pulses to measure coordinates during the movement of the object to be printed.

[0003] The roll printer sets up a pair of laser transmitters and receivers on the travel path of the object to be printed. The transmitter is used to send laser pulses in the direction of the receiver. The receiver generates a high level after receiving the laser pulses. When the object to be printed blocks the laser pulses during its travel, the receiver generates a low level. The motion coordinates of the object to be printed can be determined by the number of high levels and low levels.

[0004] In the specific application scenario of dynamic collage using a roll-to-roll printer, multiple jobs are dynamically tiled in real time according to the position coordinates obtained when the electric eye photoelectric sensor is triggered during the printing process. Since there may be process errors in the transmitter and receiver or jitter noise in the printing system, these conditions may cause statistical errors in the high and low levels of the pulse, which in turn will cause coordinate errors of the objects to be printed and the printed images. Especially in the dynamic collage scenario of continuous image printing of multiple objects to be printed, the accumulated coordinate errors of the objects to be printed and the printed images will become larger and larger. Summary of the invention

[0005] The object of the present invention is to provide a method, device, equipment and storage medium for determining coordinates of a printing system, which are used to improve the coordinate accuracy of an object to be printed and a printed image when the object to be printed is printed in motion.

[0006] In order to achieve the above object, the present invention provides the following technical solutions:

[0007] In a first aspect, the present invention provides a method for determining coordinates of a printing system, comprising:

[0008] Acquire printing data of a set of objects to be printed; the set of objects to be printed includes N objects to be printed; the printing data includes at least printing information and pulse information; the printing information includes a printing image and positional relationship information between the printing image and the object to be printed; the pulse information includes at least an image pulse difference; the image pulse difference is the number of pulses between two adjacent coordinates; N is a positive integer greater than 2;

[0009] For the first object to be printed in the set of objects to be printed: using a preset pulse counting method, based on a preset image pulse difference, to obtain the accumulated coordinates of the first object to be printed;

[0010] For any one of the objects to be printed from the second object to be printed to the Nth object to be printed in the set of objects to be printed: determining a first coordinate of the object to be printed; the first coordinate is the coordinate of the object to be printed when it begins to enter the pulse emission zone;

[0011] determining image coordinates of the printed image based on the first coordinates and the positional relationship information;

[0012] Determine a first cumulative coordinate of the object to be printed based on the first coordinate, the image resolution of the printed image and the positional relationship information; the first cumulative coordinate is the coordinate of the object to be printed when it leaves the pulse emission area;

[0013] Acquire a first accumulated pulse quantity corresponding to the first accumulated coordinate;

[0014] A first image pulse difference of the object to be printed is determined based on the first accumulated pulse quantity and the first accumulated coordinate.

[0015] Compared with the prior art, the coordinate determination method of a printing system provided by the present invention first obtains the printing data of a set of objects to be printed, and for the first object to be printed in the set of objects to be printed: adopt a preset pulse counting method, based on a preset image pulse difference, obtain the cumulative coordinates of the first object to be printed; for any object to be printed from the second object to the Nth object to be printed in the set of objects to be printed: determine the first coordinate of the object to be printed; determine the image coordinates of the printed image based on the first coordinate and the positional relationship information; determine the first cumulative coordinates of the object to be printed based on the first coordinate, the image resolution of the printed image and the positional relationship information; obtain the first cumulative number of pulses corresponding to the first cumulative coordinates; determine the first image pulse difference of the object to be printed based on the first cumulative number of pulses and the first cumulative coordinates. In this way, except for the first object to be printed, in the process of calculating the image coordinates, first coordinates and cumulative coordinates of each other object to be printed, the previous image pulse difference is corrected, and the corrected image pulse difference is used in the process of determining the image coordinates, first coordinates and cumulative coordinates of the next object to be printed. In this way, the coordinate accumulation error formed by multiple objects to be printed during the printing process can be eliminated, so that the first coordinate and image coordinate of each object to be printed in the set of objects to be printed are more accurate, the image printing accuracy is improved, and the printing efficiency is improved.

[0016] In a second aspect, the present invention further provides a coordinate determination device of a printing system, comprising:

[0017] A first acquisition module is used to acquire printing data of a set of objects to be printed; the set of objects to be printed includes N objects to be printed; the printing data includes at least printing information and pulse information; the printing information includes a printing image and positional relationship information between the printing image and the object to be printed; the pulse information includes at least an image pulse difference; the image pulse difference is the number of pulses between two adjacent coordinates; N is a positive integer greater than 2;

[0018] A pulse counting module, for obtaining, for a first object to be printed in the set of objects to be printed, the accumulated coordinates of the first object to be printed by using a preset pulse counting method based on a preset first image pulse difference;

[0019] A first determination module is used to determine, for any one of the second to-be-printed object to-be-printed object to-be-printed object in the set of to-be-printed objects: a first coordinate of the to-be-printed object; the first coordinate is the coordinate of the to-be-printed object when it begins to enter the pulse emission zone;

[0020] A second determining module, configured to determine the image coordinates of the printed image based on the first coordinates and the positional relationship information;

[0021] A third determination module is used to determine a first cumulative coordinate of the object to be printed based on the first coordinate, the image resolution of the printed image and the position relationship information; the first cumulative coordinate is the coordinate of the object to be printed when it leaves the pulse emission area;

[0022] A second acquisition module, used for acquiring a first accumulated pulse quantity corresponding to the first accumulated coordinate;

[0023] The fourth determination module is used to determine a first image pulse difference of the object to be printed based on the first accumulated pulse quantity and the first accumulated coordinate.

[0024] In a third aspect, the present invention also provides an electronic device, comprising a memory, a processor, and a communication interface coupled to the processor, wherein the memory stores a computer program that can be run on the processor, and is characterized in that the coordinate determination method of the above-mentioned printing system is implemented when the processor executes the computer program.

[0025] In a fourth aspect, the present invention further provides a computer storage medium, wherein instructions are stored in the computer storage medium, and when the instructions are executed, the coordinate determination method of the printing system described above is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0027] Figure 1 A schematic flow chart of a method for determining coordinates of a printing system provided by an embodiment of the present invention;

[0028] Figure 2 A working state diagram of a printing system provided for one embodiment of the present invention;

[0029] Figure 3 A schematic diagram of the structure of a coordinate determination device of a printing system provided by an embodiment of the present invention;

[0030] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;

[0031] Reference numerals:

[0032] 200 - printing channel; 201 - first object to be printed; 202 - second object to be printed; 203 - Nth object to be printed; 204 - first designated printing area; 205 - second designated printing area; 206 - Nth designated printing area; 207 - printing station; 208 - first printed image. DETAILED DESCRIPTION

[0033] In order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. For example, the first threshold and the second threshold are only used to distinguish different thresholds, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

[0034] It should be noted that, in the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0035] In the present invention, "at least one" means one or more, "more than one" means two or more. "And / or" describes the association relationship of the associated objects, indicating that three types of relationships may exist.

[0036] like Figure 1 As shown, an embodiment of the present invention provides a coordinate determination method for a printing system, which may include:

[0037] Step 110: obtaining printing data of a set of objects to be printed; the set of objects to be printed includes N objects to be printed; the printing data may include at least printing information and pulse information; the printing information may include a printing image and information on a positional relationship between the printing image and the object to be printed; the pulse information may include at least an image pulse difference; the image pulse difference is the number of pulses between two adjacent coordinates; N is a positive integer greater than 2;

[0038] The printing system may include: a laser pulse device, a printing channel, a printing table, a printing nozzle and a main board.

[0039] The laser pulse device includes a pulse transmitter and a pulse receiver, which are arranged relative to each other so that the pulses emitted by the pulse transmitter can be received by the pulse receiver. The line between the pulse transmitter and the pulse receiver is perpendicular to the plane where the printing channel is located.

[0040] The laser pulse device can be specifically set at the position where the object to be printed just enters the printing table. The pulse transmitter is used to send laser pulses to the pulse receiver, and the pulse receiver generates a high level after receiving the laser pulse. When the pulse transmitter sends laser pulses to the pulse receiver, a pulse emission area is formed. When the object to be printed enters the pulse emission area during the movement, the laser pulse will be blocked, and the pulse receiver will generate a low level at this time. The counter in the main board counts the number of high and low levels to determine the coordinates of the object to be printed.

[0041] The print head is arranged above the printing platform. The image coordinates of the print image can be determined according to the coordinates of the object to be printed. Once the image coordinates are determined, the print head can print the print image in a designated printing area of ​​the object to be printed.

[0042] Optionally, the counting unit of the coordinates may be a pixel. Thus, the image pulse difference is the number of pulses between two pixels. It should be noted that the image pulse difference in the related art is a fixed value.

[0043] Optionally, the counting unit of the coordinates may be a row or a column of pixels.

[0044] The positional relationship information may include a first spacing and a second spacing; the first spacing is the distance between the image front end of the printed image and the object front end of the object to be printed; the second spacing is the distance between the image rear end of the printed image and the object rear end of the object to be printed.

[0045] It should be noted that in the image front end or the object front end of the object to be printed, the object front end refers to: when the object to be printed moves forward along the moving direction on the printing path, the point or edge of the object to be printed first contacts the pulse transmitter. Accordingly, the image front end is similar to the object front end, and refers to a point or edge that is first printed on the object to be printed.

[0046] like Figure 2 In the printing scene shown, the object to be printed can be a regular rectangular cardboard, and the printed image can also be a regular rectangular image. Then, along the moving direction of the printing channel, the front end of the object to be printed is an edge, and the rear end of the object to be printed is an edge. Similarly, the front end of the image is also an edge, and the rear end of the image is also an edge.

[0047] exist Figure 2 In the figure, N objects to be printed are placed on the printing channel 200, which are the first object to be printed 201, the second object to be printed 202, ... the Nth object to be printed 203. The areas to be printed are the first designated printing area 204, the second designated printing area 205, ... the Nth designated printing area 206. After the first object to be printed enters the printing table 207, the printing head prints the corresponding first printing image 208 on the first designated printing area 204 of the first object to be printed 201. The printing process of each other object to be printed is the same as that of the first object to be printed, and will not be repeated here.

[0048] Step 120: for the first object to be printed in the set of objects to be printed: using a preset pulse counting method, based on a preset image pulse difference, to obtain the accumulated coordinates of the first object to be printed;

[0049] Step 120 may specifically include:

[0050] 1) Determine the second coordinate of the first object to be printed; the second coordinate is the coordinate of the first object to be printed when it begins to enter the pulse emission area;

[0051] 2) obtaining a second accumulated pulse number; the second accumulated pulse number is the pulse number corresponding to the intermediate process from when the first object to be printed begins to enter the pulse emission area to when it leaves the pulse emission area;

[0052] 3) Determine the accumulated coordinate based on the second coordinate, the second accumulated pulse number and the preset image pulse difference.

[0053] In step 1), when the first object to be printed begins to enter the pulse emission area, the front end of the first object to be printed will block the laser pulse emitted by the pulse transmitter to the pulse receiver. When the pulse receiver does not receive the laser pulse, it generates a low level.

[0054] Before the first object to be printed enters the pulse emission area, the laser pulse device has been turned on, and the pulse transmitter emits laser pulses to the pulse receiver. After receiving the laser pulses, the pulse receiver generates a high level.

[0055] In a specific printing scenario, after receiving the printing instruction, the printing system controls the laser pulse device to turn on and starts to control the printing channel to move forward. The first low level generated by the laser pulse device can indicate that the first object to be printed begins to enter the pulse emission area.

[0056] Optionally, for the convenience of counting, when the laser pulse device generates the first low level, the coordinate is set to zero. Therefore, in step 1), the second coordinate of the first object to be printed can be zero.

[0057] Step 2) may specifically include: obtaining the number of low levels corresponding to the intermediate process from when the first object to be printed begins to enter the pulse emission area to when it leaves the pulse emission area, and determining the number of low levels corresponding to the intermediate process as the second accumulated pulse number.

[0058] In step 3), the accumulated coordinates of the first object to be printed are the coordinates of the first object to be printed when it leaves the pulse emission area.

[0059] For example, the counting unit of the coordinates is one pixel, then the process of calculating the cumulative coordinates of the first object to be printed is: dividing the second cumulative pulse number by the preset image pulse difference to obtain a first pixel number; adding the first pixel number and the second coordinate of the first object to be printed to obtain the cumulative coordinates of the first object to be printed.

[0060] Step 130: for any one of the second to-be-printed object to the Nth to-be-printed object in the set of to-be-printed objects: determining a first coordinate of the to-be-printed object; the first coordinate is the coordinate of the to-be-printed object when it begins to enter the pulse emission area;

[0061] Step 130 may specifically include the following steps:

[0062] Acquire the second accumulated coordinates and the second image pulse difference of the previous object to be printed adjacent to the object to be printed, and acquire the number of object interval pulses; the number of object interval pulses is the number of pulses corresponding to the intermediate process when the previous object to be printed leaves the pulse emission area and when the object to be printed begins to enter the pulse emission area;

[0063] determining an object spacing coordinate increment corresponding to the object spacing pulse number based on the object spacing pulse number and the second image pulse difference;

[0064] The first coordinate is obtained based on the second accumulated coordinate and the object interval coordinate increment.

[0065] Among them, the step of obtaining the number of object interval pulses may specifically include: obtaining the number of high levels corresponding to the intermediate process when the previous object to be printed leaves the pulse emission area and when the object to be printed begins to enter the pulse emission area; determining the number of high levels as the number of object interval pulses.

[0066] For example, the counting unit of the coordinates is one pixel. Then, based on the number of object interval pulses and the second image pulse difference, determining the object interval coordinate increment corresponding to the number of object interval pulses can specifically include: dividing the number of object interval pulses by the second image pulse difference to obtain the second number of pixel points corresponding to the number of object interval pulses; and determining the second number of pixel points as the object interval coordinate increment.

[0067] The second accumulated pulse quantity is divided by the preset image pulse difference to obtain a pixel value; the pixel value is added to the second coordinate of the first object to be printed to obtain the accumulated coordinate of the first object to be printed.

[0068] Finally, the sum of the second accumulated coordinate and the object interval coordinate increment is determined as the first coordinate.

[0069] Step 140: Determine the image coordinates of the printed image based on the first coordinates and the positional relationship information;

[0070] Step 140 may specifically include: calculating a first spacing coordinate increment corresponding to the first spacing; obtaining image coordinates based on the first coordinates and the first spacing coordinate increment;

[0071] Optionally, the image coordinates may be coordinates corresponding to the image front end of the printed image. Since the first spacing is one of the print data acquired by the printing system, once the first coordinates of the object to be printed are determined, the coordinates corresponding to the image front end of the printed image can be determined according to the first spacing. Once the coordinates corresponding to the image front end of the printed image are determined, the printing system can control the print head to accurately print the printed image.

[0072] Step 150: determining a first cumulative coordinate of the object to be printed based on the first coordinate, the image resolution of the printed image, and the positional relationship information; the first cumulative coordinate is the coordinate of the object to be printed when it leaves the pulse emission area;

[0073] Step 150 may specifically include:

[0074] Using the image resolution, calculate the image coordinate increment corresponding to the printed image;

[0075] Calculate the second spacing coordinate increment corresponding to the second spacing;

[0076] A first accumulated coordinate is determined based on the first coordinate, the first pitch coordinate increment, the image coordinate increment, and the second pitch coordinate increment.

[0077] Calculating the image coordinate increment corresponding to the printed image using the image resolution may specifically include: determining the number of pixel rows of the printed image in the moving direction based on the image resolution, and determining the number of pixel rows as the image coordinate increment.

[0078] The second interval is also one of the printing data acquired by the printing system.

[0079] Finally, the sum of the first coordinate, the first spacing coordinate increment, the image coordinate increment and the second spacing coordinate increment is determined as the first accumulated coordinate.

[0080] Step 160: Obtaining a first accumulated pulse quantity corresponding to the first accumulated coordinate;

[0081] The sum of all the numbers of high levels and all the numbers of low levels experienced before the coordinate position corresponding to the first accumulated coordinate is determined as the first accumulated pulse quantity.

[0082] Step 170: Determine a first image pulse difference of the object to be printed based on the first accumulated pulse quantity and the first accumulated coordinate.

[0083] The first accumulated pulse quantity is divided by the first accumulated coordinate to obtain a new image pulse difference, and the new image pulse difference is used as the first image pulse difference.

[0084] It is understandable that after determining the first image pulse difference, the obtained first image pulse difference is used to determine the first coordinates of the next object to be printed and the image coordinates of the next object to be printed in the set of objects to be printed. In this way, except for the first object to be printed, in the process of calculating the image coordinates, first coordinates and cumulative coordinates of each other object to be printed, the previous image pulse difference is corrected, and the corrected image pulse difference is used in the process of determining the image coordinates, first coordinates and cumulative coordinates of the next object to be printed. In this way, the coordinate accumulation error formed by multiple objects to be printed during the printing process can be eliminated, so that the first coordinates and image coordinates of each object to be printed in the set of objects to be printed are more accurate, the image printing accuracy is improved, and the printing efficiency is improved.

[0085] It should be noted that the preset image pulse difference needs to be set in advance. In the prior art, this preset image pulse difference is a fixed value during the entire printing process. When printing multiple objects to be printed, the print image needs to be printed in a specified area of ​​the object to be printed, such as Figure 2 In actual printing requirements, customers may require a maximum distance error between the front end of the printed image and the front end of the specified printing area, for example, a maximum distance error value of plus or minus 2 mm.

[0086] In most specific printing scenarios, when there are multiple objects to be printed, it may be due to process errors in the transmitter and receiver, jitter noise in the printing system, or overshoot in the movement of the object to be printed. All of these may lead to cumulative errors in the coordinates of the object to be printed, and thus cumulative errors in the image coordinates that need to be printed in the specified printing area, resulting in lower and lower coordinate accuracy and image printing accuracy.

[0087] Therefore, how to improve the coordinates of the object to be printed in the printing system or how to improve the accuracy of the image coordinates of the printed image has become an urgent problem to be solved.

[0088] Considering that the preset image pulse difference in the prior art is a fixed value during the entire printing process, the inventor proposes to correct the preset image pulse difference, and this correction process runs through the entire printing process. Starting from the second object to be printed, the preset image pulse difference is corrected using the scheme of the present invention to obtain a new image pulse difference, and the image coordinates of the next object to be printed are determined based on the new image pulse difference. When it comes to the third object to be printed, the previous image pulse difference is updated again, and this cycle continues until the last object to be printed, and the last new image pulse difference is obtained, which can also be used to determine the image coordinates of the next round of the set of objects to be printed. In this way, the accumulated coordinate errors formed by multiple objects to be printed during the printing process can be eliminated, so that the first coordinates and image coordinates of each object to be printed in the set of objects to be printed are more accurate, thereby improving the accuracy of image printing and also improving printing efficiency.

[0089] In an actual printing scenario, after printing, the user often needs to check whether the printed product is qualified. One of the qualified standards is whether the image printing position is within the error tolerance range. In other words, the distance between the actual position of the image and the specified printing area position is measured to obtain an actual distance error, and the actual distance error is compared with the allowable error to check whether the printed product is qualified. In a specific application scenario, the allowable error is set to plus or minus 2 mm. Without using the solution provided by the embodiment of the present invention, the user finds through measurement that the actual distance error of the first object to be printed is plus 0.5 mm, which is less than 2 mm. When it comes to the second object to be printed, the actual distance error is accumulated to plus 0.9 mm, which is less than 2 mm. When it comes to the third object to be printed, the actual distance error is accumulated to plus 1.4 mm. In this way, when it comes to the fifth object to be printed, the actual distance error is accumulated to 2.2 mm, which has exceeded the allowable error value of plus 2 mm set by the user. As the number of objects to be printed increases, this actual distance error will become larger and larger, that is, the cumulative error will become larger and larger. In this case, reprinting is required, and the printing efficiency is extremely low.

[0090] For the above actual printing scenarios, by using the solution provided by the embodiment of the present invention, the actual distance error of each object to be printed in the set of objects to be printed can be controlled within positive 0.15 mm, which not only eliminates the cumulative error but also improves the printing efficiency.

[0091] The coordinate determination device of the printing system provided by the present invention is described below. The coordinate determination device of the printing system described below and the coordinate determination method of the printing system described above can be referred to each other.

[0092] like Figure 3 As shown, an embodiment of the present invention further provides a coordinate determination device for a printing system, which is used to implement the coordinate determination method for a printing system in any of the above embodiments. The device may include:

[0093] The first acquisition module 310 is used to acquire printing data of a set of objects to be printed; the set of objects to be printed includes N objects to be printed; the printing data at least includes printing information and pulse information; the printing information includes a printing image and information about the positional relationship between the printing image and the object to be printed; the pulse information at least includes an image pulse difference; the image pulse difference is the number of pulses between two adjacent coordinates; N is a positive integer greater than 2;

[0094] The pulse counting module 320 is used for obtaining the accumulated coordinates of the first object to be printed in the set of objects to be printed by using a preset pulse counting method based on a preset first image pulse difference;

[0095] The first determination module 330 is used to determine the first coordinate of any one of the second to-be-printed object to-be-printed object to-be-printed object in the set of to-be-printed objects; the first coordinate is the coordinate of the to-be-printed object when it begins to enter the pulse emission area;

[0096] A second determination module 340 is used to determine the image coordinates of the printed image based on the first coordinates and the position relationship information;

[0097] The third determination module 350 is used to determine the first cumulative coordinates of the object to be printed based on the first coordinates, the image resolution of the printed image and the position relationship information; the first cumulative coordinates are the coordinates of the object to be printed when it leaves the pulse emission area;

[0098] A second acquisition module 360 ​​is used to acquire a first accumulated pulse quantity corresponding to the first accumulated coordinate;

[0099] The fourth determination module 370 is configured to determine a first image pulse difference of the object to be printed based on the first accumulated pulse quantity and the first accumulated coordinate.

[0100] The first determining module 330 is specifically configured to:

[0101] Acquire the second accumulated coordinates and the second image pulse difference of the previous object to be printed adjacent to the object to be printed, and acquire the number of object interval pulses; the number of object interval pulses is the number of pulses corresponding to the intermediate process when the previous object to be printed leaves the pulse emission area and when the object to be printed begins to enter the pulse emission area;

[0102] determining an object spacing coordinate increment corresponding to the object spacing pulse number based on the object spacing pulse number and the second image pulse difference;

[0103] The first coordinate is obtained based on the second accumulated coordinate and the object interval coordinate increment.

[0104] The positional relationship information includes a first spacing and a second spacing; the first spacing is the distance between the image front end of the printed image and the object front end of the object to be printed; the second spacing is the distance between the image rear end of the printed image and the object rear end of the object to be printed.

[0105] The second determining module 340 is specifically configured to:

[0106] The first spacing coordinate increment corresponding to the first spacing is calculated; and the image coordinates are obtained based on the first coordinates and the first spacing coordinate increment.

[0107] The third determining module 350 is specifically configured to:

[0108] Using the image resolution, calculate the image coordinate increment corresponding to the printed image;

[0109] Calculate a second spacing coordinate increment corresponding to the second spacing; and determine a first accumulated coordinate based on the first coordinate, the first spacing coordinate increment, the image coordinate increment, and the second spacing coordinate increment.

[0110] The third determining module 350 is specifically configured to:

[0111] Based on the image resolution, determining the number of pixel rows of the printed image in the moving direction;

[0112] Determines the number of pixel rows as image coordinate increments.

[0113] The pulse signal includes a high level and a low level.

[0114] The first determining module 330 is specifically configured to:

[0115] Obtain the number of high levels corresponding to the intermediate process when the previous object to be printed leaves the pulse emission area and when the object to be printed begins to enter the pulse emission area;

[0116] The number of high levels is determined as the number of object interval pulses.

[0117] The pulse counting module 320 is specifically used for:

[0118] Determine the second coordinate of the first object to be printed; the second coordinate is the coordinate of the first object to be printed when it begins to enter the pulse emission area;

[0119] Obtaining a second accumulated pulse number; the second accumulated pulse number is the pulse number corresponding to the intermediate process from when the first object to be printed begins to enter the pulse emission area to when it leaves the pulse emission area;

[0120] Based on the second coordinate, the second accumulated pulse number and the preset image pulse difference, the accumulated coordinate is determined.

[0121] The pulse counting module 320 is specifically used for:

[0122] Obtaining the number of low levels corresponding to the intermediate process from when the first object to be printed begins to enter the pulse emission area to when it leaves the pulse emission area;

[0123] The number of low levels is determined as the second accumulated pulse number.

[0124] like Figure 4 As shown, the present invention also provides an electronic device, which includes: a memory 410, a processor 420, and a communication interface 430 coupled to the processor 420, and also includes a communication bus. The memory 410, the processor 420, and the communication interface 430 communicate with each other through the communication bus. The memory 410 stores a computer program that can be run on the processor 420. When the processor 420 executes the computer program, the coordinate determination method of the printing system in any of the above embodiments can be implemented.

[0125] In addition, the logic instructions in the above-mentioned memory 410 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0126] In yet another aspect, the present invention further provides a non-transitory computer-readable storage medium, in which instructions are stored. When the instructions are executed, the coordinate determination method of the printing system in any of the above embodiments is implemented.

[0127] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0128] Although the present invention has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present invention. Accordingly, this specification and the accompanying drawings are merely exemplary illustrations of the present invention as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present invention. Obviously, those skilled in the art may make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, the present invention is intended to include such modifications and variations if they fall within the scope of the claims of the present invention and their equivalents.

Claims

1. A method for determining coordinates of a printing system, characterized in that: include: Obtaining printing data of a set of objects to be printed; The set of objects to be printed includes N objects to be printed; The printing data at least includes printing information and pulse information; The printing information includes a printing image and positional relationship information between the printing image and the object to be printed; the pulse information includes at least an image pulse difference; The image pulse difference is the number of pulses between two adjacent coordinates; N is a positive integer greater than 2; For the first object to be printed in the set of objects to be printed: using a preset pulse counting method, based on a preset image pulse difference, to obtain the accumulated coordinates of the first object to be printed; For any one of the second to-be-printed object to the Nth to-be-printed object in the set of objects to be printed: determining a first coordinate of the object to be printed; The first coordinate is the coordinate when the object to be printed begins to enter the pulse emission area; determining image coordinates of the printed image based on the first coordinates and the positional relationship information; Determining a first accumulated coordinate of the object to be printed based on the first coordinate, the image resolution of the printed image and the positional relationship information; The first accumulated coordinates are the coordinates of the object to be printed when it leaves the pulse emission area; Acquire a first accumulated pulse quantity corresponding to the first accumulated coordinate; A first image pulse difference of the object to be printed is determined based on the first accumulated pulse quantity and the first accumulated coordinate.

2. The coordinate determination method of the printing system according to claim 1, characterized in that: The determining of the first coordinate of the object to be printed comprises: Acquire the second accumulated coordinates and the second image pulse difference of the previous object to be printed adjacent to the object to be printed, and acquire the number of object interval pulses; the number of object interval pulses is the number of pulses corresponding to the intermediate process when the previous object to be printed leaves the pulse emission area and when the object to be printed begins to enter the pulse emission area; determining an object spacing coordinate increment corresponding to the object spacing pulse number based on the object spacing pulse number and the second image pulse difference; The first coordinate is obtained based on the second accumulated coordinate and the object interval coordinate increment.

3. The coordinate determination method of the printing system according to claim 1, characterized in that: The position relationship information includes a first spacing and a second spacing; the first spacing is the distance between the image front end of the printed image and the object front end of the object to be printed; the second spacing is the distance between the image rear end of the printed image and the object rear end of the object to be printed; Determining the image coordinates of the printed image based on the first coordinates and the positional relationship information includes: calculating a first spacing coordinate increment corresponding to the first spacing; and obtaining the image coordinates based on the first coordinates and the first spacing coordinate increment; The method of determining the first cumulative coordinates of the object to be printed based on the first coordinates, the image resolution of the printed image and the positional relationship information includes: calculating the image coordinate increment corresponding to the printed image using the image resolution; calculating the second spacing coordinate increment corresponding to the second spacing; and determining the first cumulative coordinates based on the first coordinates, the first spacing coordinate increment, the image coordinate increment and the second spacing coordinate increment.

4. The coordinate determination method of the printing system according to claim 3, characterized in that: The step of calculating the image coordinate increment corresponding to the printed image by using the image resolution includes: Based on the image resolution, determining the number of pixel rows of the printed image in the moving direction; The number of pixel rows is determined as the image coordinate increment.

5. The coordinate determination method of the printing system according to claim 2, characterized in that: The pulse signal includes a high level; The step of obtaining the number of object interval pulses comprises: Acquire the number of high levels corresponding to the intermediate process when the previous object to be printed leaves the pulse emission area and when the object to be printed begins to enter the pulse emission area; The number of high levels is determined as the number of object interval pulses.

6. The coordinate determination method of the printing system according to claim 5, characterized in that: The method of using a preset pulse counting method to obtain the accumulated coordinates of the first object to be printed based on a preset image pulse difference includes: Determine a second coordinate of the first object to be printed; the second coordinate is the coordinate of the first object to be printed when it begins to enter the pulse emission area; Obtaining a second accumulated pulse number; the second accumulated pulse number is the pulse number corresponding to the intermediate process from when the first object to be printed begins to enter the pulse emission area to when it leaves the pulse emission area; The accumulated coordinates are determined based on the second coordinates, the second accumulated pulse number, and the preset image pulse difference.

7. The coordinate determination method of the printing system according to claim 6, characterized in that: The pulse signal also includes a low level; The obtaining of the second accumulated pulse quantity comprises: Obtaining the number of low levels corresponding to the intermediate process from when the first object to be printed begins to enter the pulse emission area to when it leaves the pulse emission area; The number of low levels is determined as the second accumulated pulse number.

8. A coordinate determination device for a printing system, characterized in that: include: A first acquisition module, used to acquire printing data of a set of objects to be printed; The set of objects to be printed includes N objects to be printed; The printing data at least includes printing information and pulse information; The printing information includes a printing image and information on the positional relationship between the printing image and the object to be printed; the pulse information includes at least an image pulse difference; The image pulse difference is the number of pulses between two adjacent coordinates; N is a positive integer greater than 2; A pulse counting module, for obtaining, for a first object to be printed in the set of objects to be printed, the accumulated coordinates of the first object to be printed by using a preset pulse counting method based on a preset first image pulse difference; A first determination module is used for determining, for any one of the second to-be-printed object to-be-printed object to-be-printed object in the set of to-be-printed objects: determining a first coordinate of the to-be-printed object; The first coordinate is the coordinate when the object to be printed begins to enter the pulse emission area; A second determining module, configured to determine the image coordinates of the printed image based on the first coordinates and the positional relationship information; A third determining module, configured to determine a first accumulated coordinate of the object to be printed based on the first coordinate, the image resolution of the printed image and the positional relationship information; The first accumulated coordinates are the coordinates of the object to be printed when it leaves the pulse emission area; A second acquisition module, used for acquiring a first accumulated pulse quantity corresponding to the first accumulated coordinate; The fourth determination module is used to determine a first image pulse difference of the object to be printed based on the first accumulated pulse quantity and the first accumulated coordinate.

9. An electronic device, characterized in that: It includes a memory, a processor and a communication interface coupled to the processor, the memory stores a computer program that can be run on the processor, and is characterized in that when the processor executes the computer program, it implements the coordinate determination method of the printing system as described in any one of claims 1-7.

10. A computer storage medium, characterized in that: The computer storage medium stores instructions, and when the instructions are executed, the coordinate determination method of the printing system according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Image printing method and printer

    CN104423900A

  • Ink-jet printing method and device, electronic equipment and computer readable storage medium

    CN114253490A