Inkjet reprinting path planning method, inkjet printer and computer storage medium
By determining the topological geometric relationship between defective sub-pixels and normal nozzles in the inkjet printer, and selecting the optimal reprinting displacement, the problem of low reprinting efficiency of existing inkjet printers is solved, and more efficient reprinting is achieved. process.
Patent Information
- Application Number
- CN202211320986.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-26
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2042-10-26
AI Technical Summary
Existing inkjet printers are inefficient in the reprinting process, especially when multiple lines are collaboratively printed, the calculation complexity is high, which affects the reprinting efficiency.
By determining the coordinates of the first defective sub-pixel in the printing line where the target nozzle is located, calculating the topological geometric relationship between the sub-pixel and the normal nozzle, the set of re-printing displacements is obtained, and the optimal re-painting displacement is selected to reduce the movement of the nozzle during printing The amount or number of displacements.
It improves the reprinting efficiency of the inkjet printer, reduces the moving printing displacement or number of times of the target nozzle, and maximizes the reprinting efficiency.
Smart Images

Figure CN115674912B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display marking technology, and in particular to an inkjet reprinting path planning method, an inkjet printer and a computer-readable storage medium. Background Art
[0002] An inkjet printer is a printing device that turns colored liquid ink into tiny particles and sprays them onto printing paper through a nozzle. During the printing process, after one pass of printing (1PASS), there may still be defective sub-pixels that are not printed or printed incompletely. It is necessary to move the nozzle module in the X-axis direction to perform multiple (multi-PASS) reprints.
[0003] Most of the existing reprinting algorithms for defective sub-pixels use traversal methods, which have large computational complexity and slow speed. Especially when the nozzle module in the inkjet printer contains multiple nozzles for multi-line collaborative printing, the normal availability of each nozzle hole of different nozzles is not the same, which further increases the calculation complexity of the reprinting planning and seriously affects the reprinting efficiency of the inkjet printer. Summary of the invention
[0004] The main purpose of the present invention is to provide an inkjet reprinting path planning method, an inkjet printer and a computer-readable storage medium, aiming to solve the technical problem of low reprinting efficiency of existing inkjet printers.
[0005] To achieve the above object, the present invention provides an inkjet reprinting path planning method, which is applied to an inkjet printer; the method comprises the following steps:
[0006] Determine the coordinates of the first defective sub-pixel in the printing row where the target nozzle of the inkjet printer is located;
[0007] Determine the topological geometric relationship between the coordinates of the first defective sub-pixel and each normal nozzle hole in the target nozzle to obtain a first supplementary printing displacement set;
[0008] Determine the topological geometric relationship between the remaining defective sub-pixels and each of the normal nozzle holes based on the coordinates of the first defective sub-pixel to obtain a remaining supplementary injection displacement set;
[0009] A target supplementary printing displacement between the first supplementary printing displacement set and the remaining supplementary printing displacement set is determined, and supplementary printing is performed on all defective sub-pixels according to the target supplementary printing displacement.
[0010] Optionally, before the step of determining the coordinates of the first defective sub-pixel in the printing row where the target nozzle of the inkjet printer is located, the method further includes:
[0011] Acquire the inkjet volume of each nozzle of the target nozzle, and determine the nozzle type of the nozzle according to the inkjet volume, wherein the nozzle type includes a normal nozzle and a defective nozzle;
[0012] If the nozzle types are all normal nozzles, all sub-pixels are printed in sequence until all sub-pixels are printed;
[0013] If at least one of the nozzle types of the nozzles is a defective nozzle, the step of determining the coordinates of the first defective sub-pixel in the printing row where the target nozzle of the inkjet printer is located is performed.
[0014] Optionally, the step of determining the nozzle type of the nozzle according to the inkjet volume comprises:
[0015] Determine the standard ink drop volume corresponding to the target sub-pixel to be printed;
[0016] If the ink jet volume is greater than or equal to the standard ink drop volume, determining that the nozzle type of the nozzle is a normal nozzle;
[0017] If the ink jetting volume is smaller than the standard ink drop volume, it is determined that the nozzle type of the nozzle is a defective nozzle.
[0018] Optionally, the step of determining the topological geometric relationship between the coordinates of the first defective sub-pixel and each normal nozzle hole in the target nozzle to obtain a first re-printing displacement set includes:
[0019] Determine a nozzle topology matrix corresponding to all nozzles, and determine a normal nozzle coordinate of each normal nozzle according to the relative position of the normal nozzle in the nozzle topology matrix;
[0020] The topological geometric relationship between the coordinates of the first defective sub-pixel and the coordinates of each of the normal nozzle holes is determined to obtain a first re-printing displacement set.
[0021] Optionally, the step of determining the topological geometric relationship between the remaining defective sub-pixels and each of the normal nozzle holes based on the coordinates of the first defective sub-pixel to obtain a remaining supplementary printing displacement set includes:
[0022] Determine the remaining defective sub-pixel coordinates of the remaining defective sub-pixel according to the relative position of the remaining defective sub-pixel in the target sub-pixel matrix;
[0023] Determining a coordinate displacement difference between the remaining defective sub-pixel coordinates and the first defective sub-pixel coordinates;
[0024] A remaining re-printing displacement set for the remaining defective sub-pixel is determined according to the first re-printing displacement set and the coordinate displacement difference.
[0025] Optionally, the step of determining a target supplementary printing displacement between the first supplementary printing displacement set and the remaining supplementary printing displacement set comprises:
[0026] Determine whether the intersection between the first supplementary displacement set and the remaining supplementary displacement sets is an empty set;
[0027] If the intersection is not an empty set, the element with the smallest absolute value in the intersection is used as the target supplementary displacement between the first supplementary displacement set and the remaining supplementary displacement set.
[0028] Optionally, after the step of determining whether the intersection between the first supplementary displacement set and the remaining supplementary displacement set is an empty set, the method further comprises:
[0029] If the intersection is an empty set, determining the element with the largest number of occurrences between the first supplementary displacement set and the remaining supplementary displacement sets;
[0030] The element with the largest number of occurrences is used as the target supplementary displacement between the first supplementary displacement set and the remaining supplementary displacement sets.
[0031] Optionally, the step of supplementing printing all defective sub-pixels according to the target supplementary printing displacement includes:
[0032] Moving the target nozzle according to the initial position of the target nozzle and the element with the largest number of occurrences to supplement the current supplementary sub-pixel corresponding to the element with the largest number of occurrences;
[0033] Determine the unrepaired defective sub-pixels except the currently re-paired sub-pixel among all defective sub-pixels and the unrepaired displacement set corresponding to the unrepaired defective sub-pixels;
[0034] The unsupplemented displacement set is used as the first supplemented displacement set or the remaining supplemented displacement set, and the step of determining whether the intersection between the first supplemented displacement set and the remaining supplemented displacement set is an empty set is performed.
[0035] In addition, in order to achieve the above-mentioned purpose, the present invention also provides an inkjet reprinting path planning device, the inkjet reprinting path planning device comprising:
[0036] A defect recognition module, used to determine the coordinates of the first defective sub-pixel in the printing line where the target nozzle of the inkjet printer is located;
[0037] A displacement solving module is used to determine the topological geometric relationship between the coordinates of the first defective sub-pixel and each normal nozzle hole in the target nozzle to obtain a first supplementary displacement set; based on the coordinates of the first defective sub-pixel, determine the topological geometric relationship between the remaining defective sub-pixels and each normal nozzle hole to obtain a remaining supplementary displacement set;
[0038] The mobile supplementary printing module is used to determine a target supplementary printing displacement between the first supplementary printing displacement set and the remaining supplementary printing displacement set, and supplementary print all defective sub-pixels according to the target supplementary printing displacement.
[0039] In addition, to achieve the above-mentioned purpose, the present invention also provides an inkjet printer, including a processor, a memory, and an inkjet reprinting path planning program stored in the memory and executable by the processor, wherein when the inkjet reprinting path planning program is executed by the processor, the steps of the inkjet reprinting path planning method as described above are implemented.
[0040] The present invention also provides a computer-readable storage medium, on which an inkjet reprinting path planning program is stored, wherein when the inkjet reprinting path planning program is executed by a processor, the steps of the inkjet reprinting path planning method as described above are implemented.
[0041] The inkjet reprinting path planning method in the technical solution of the present invention includes the following steps: determining the coordinates of the first defective sub-pixel in the printing row where the target nozzle of the inkjet printer is located; determining the topological geometric relationship between the coordinates of the first defective sub-pixel and each normal nozzle hole in the target nozzle to obtain a first reprinting displacement set; determining the topological geometric relationship between the remaining defective sub-pixels and each normal nozzle hole based on the coordinates of the first defective sub-pixel to obtain a remaining reprinting displacement set; determining the target reprinting displacement between the first reprinting displacement set and the remaining reprinting displacement set, and performing reprinting on all defective sub-pixels according to the target reprinting displacement. The present invention solves the technical problem of low reprinting efficiency of existing inkjet printers.
[0042] Core, the present invention mainly starts from the first defective sub-pixel coordinate corresponding to the first defective sub-pixel with a printing defect in the printing row where the target nozzle with a defective nozzle is located after one printing, and counts the topological geometric relationship between each defective sub-pixel and each defective nozzle to obtain all supplementary displacement sets including the first supplementary displacement set and one or more remaining supplementary displacement sets, and selects the optimal element, that is, the target supplementary displacement, from each supplementary displacement set, to ensure that each supplementary printing of the inkjet printer can reduce the mobile printing displacement or the number of mobile printing times of the target nozzle as much as possible, to ensure that the efficiency of the inkjet printer when performing supplementary printing under the current nozzle defect condition is maximized, and the present invention only needs to solve each supplementary displacement set, and does not need to traverse all defective sub-pixels on the printing paper after one printing and determine their relative positions on the printing paper, and its calculation amount is much less than the traditional traversal supplementary printing algorithm, and the target supplementary displacement obtained by each supplementary displacement set, that is, the optimal supplementary printing path is determined, and the mobile supplementary printing of the target nozzle is controlled by the optimal supplementary printing path, which greatly improves the efficiency of the inkjet printer to complete the supplementary printing of all defective sub-pixels. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a schematic diagram of the structure of the hardware operating environment of the inkjet printer involved in the embodiment of the present invention;
[0044] Figure 2 It is a schematic flow chart of a first embodiment of the inkjet reprinting path planning method of the present invention;
[0045] Figure 3 This is a flow chart before step S10 of the first embodiment of the inkjet printing path planning method of the present invention;
[0046] Figure 4 This is a detailed flow chart of step S30 of the first embodiment of the inkjet reprinting path planning method of the present invention;
[0047] Figure 5 A schematic flow chart of a second embodiment of the inkjet printing path planning method of the present invention;
[0048] Figure 6 A schematic diagram of nozzles and sub-pixels after one printing involved in the inkjet reprinting path planning method of the present invention;
[0049] Figure 7 A schematic diagram of topological matrix construction involved in the inkjet reprinting path planning method of the present invention;
[0050] Figure 8 It is an overall flow chart of an embodiment of the inkjet reprinting path planning method of the present invention;
[0051] Fig. 9It is a schematic diagram of the framework structure of the inkjet reprinting path planning device of the present invention.
[0052] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0053] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0054] An embodiment of the present invention provides an inkjet printer.
[0055] like Figure 1 As shown, Figure 1 It is a schematic diagram of the structure of the hardware operating environment of the inkjet printer involved in the embodiment of the present invention.
[0056] like Figure 1 As shown, the inkjet printer may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display (Display), an input unit such as a control panel, and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WIFI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001. The memory 1005 as a computer storage medium may include an inkjet reprinting path planning program.
[0057] Those skilled in the art will understand that Figure 1 The hardware structure shown in the figure does not constitute a limitation of the device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0058] Continue to refer to Figure 1 , Figure 1 The memory 1005 as a computer-readable storage medium may include an operating system, a user interface module, a network communication module, and an inkjet printing path planning program.
[0059] exist Figure 1 In the embodiment, the network communication module is mainly used to connect to the server and perform data communication with the server; and the processor 1001 can call the inkjet reprinting path planning program stored in the memory 1005 and execute the steps in the following embodiments.
[0060] Based on the hardware structure of the controller described above, various embodiments of the inkjet reprinting path planning method of the present invention are proposed.
[0061] An embodiment of the present invention provides an inkjet reprinting path planning method.
[0062] Please refer to Figure 2 , Figure 2 1 is a flow chart of a first embodiment of the inkjet reprinting path planning method of the present invention; in the first embodiment of the present invention, the inkjet reprinting path planning method is applied to an inkjet printer; the method comprises the following steps:
[0063] Step S10, determining the coordinates of the first defective sub-pixel in the printing row where the target nozzle of the inkjet printer is located;
[0064] In this embodiment, the inkjet printer can be used to perform various printing tasks, such as printing patterns and texts on ordinary printing paper, and printing on OLED (Organic Electroluminescence Display) substrates. As a non-contact patterning technology, inkjet printing can directly pattern ink droplets at designated locations on the substrate, giving the OLED light-emitting film RGB (red, green, and blue) three colors. Compared with the vacuum evaporation process used in the traditional preparation of OLEDs, inkjet printing technology has higher material utilization and other process preparation advantages, and will be more widely used in the future.
[0065] The nozzle of an inkjet printer can be a single nozzle or multiple nozzles. Multiple nozzles can be combined in the form of a nozzle module. Each nozzle often has multiple nozzle holes, which may vary depending on the function and quality of the inkjet printer. Some inkjet printer nozzles may be composed of thousands or even tens of thousands of nozzle holes, which is not limited here. In the present invention, the nozzle holes can be divided into normal nozzle holes and defective nozzle holes according to their inkjet status. A normal nozzle hole is a nozzle hole whose inkjet volume reaches the standard, and the sub-pixel printed by it is also a normal sub-pixel. A defective nozzle hole is a nozzle hole whose inkjet volume does not reach the standard, and the sub-pixel printed by it is also a defective sub-pixel. In order to facilitate the understanding of the normal nozzle hole, defective nozzle hole, normal sub-pixel and defective sub-pixel in the present invention, reference can be made to Figure 6 , Figure 6 Schematic diagram of the nozzles and sub-pixels after one printing involved in the inkjet reprinting path planning method of the present invention. Figure 6 As shown in the figure, the black circle represents a normal nozzle, the white circle represents a defective nozzle, the black rectangle represents a normal sub-pixel printed, and the white rectangle represents a defective sub-pixel. Figure 6 The overall structure can represent the part of sub-pixels left on the substrate after a printhead module consisting of three printheads has been completed.
[0066] The target nozzle of the inkjet printer may be a nozzle with defective nozzle holes in the inkjet printer. For a nozzle without defective nozzle holes, defective sub-pixels will not be generated after one printing. The print line where the target nozzle is located may be the print line where the target nozzle is currently located, mainly referring to the print recovery position to which the target nozzle returns after one printing (commonly known as 1PASS in the art) of the inkjet printer, and the corresponding print line may be the print line corresponding to the print recovery position.
[0067] If there is a defective nozzle, after one print, there will often be multiple defective sub-pixels on the printed paper or substrate, that is, sub-pixels that are not printed clearly or not printed at all. Based on the need for reprinting path planning, it is necessary to determine the starting point for the reprinting, that is, the coordinates of the first defective sub-pixel where the first defective sub-pixel is located. The first defective sub-pixel can be determined by the print row corresponding to the print recovery position. For example, if the print recovery position of the target nozzle is the upper left corner of the inkjet printer, then the first defective sub-pixel is the first defective sub-pixel in the row from left to right. The first defective sub-pixel can also be considered as the defective sub-pixel with the shortest distance from the middle of the target nozzle, and there is no restriction here.
[0068] In one embodiment, step S10 includes:
[0069] Step a, determining a sub-pixel topology matrix about a target sub-pixel, and determining the coordinates of the first defective sub-pixel according to the relative position of the first defective sub-pixel in the target sub-pixel matrix.
[0070] In this embodiment, the target sub-pixel is all the sub-pixels to be printed by the target nozzle. Figure 7 , Figure 7 The topological matrix of the target sub-pixel can be constructed by the following method: Figure 7 The topological matrix construction method shown is constructed, that is, the normal sub-pixel can be regarded as 1 in the computer binary language, and the defective sub-pixel can be regarded as 0 in the computer binary language, so that the sub-pixel topological matrix of the target sub-pixel is obtained after the inkjet printer prints once. The purpose of such design is mainly to facilitate the processor in the inkjet printer to efficiently digitize the sub-pixel topological matrix and to conveniently and efficiently determine the relative positions of each defective sub-pixel including the first defective sub-pixel in the target sub-pixel matrix by determining each 0 element in the sub-pixel topological matrix, that is, to determine the coordinates of the first defective sub-pixel and the coordinates of each other defective sub-pixel.
[0071] Please refer to Figure 3 In another embodiment, before step S10, the method further includes:
[0072] Step S100, acquiring the inkjet volume of each nozzle of the target nozzle, and determining the nozzle type of the nozzle according to the inkjet volume, wherein the nozzle type includes a normal nozzle and a defective nozzle;
[0073] Step S200, if the nozzle types are all normal nozzles, then all sub-pixels are printed in sequence until all sub-pixels are printed;
[0074] Step S300: If at least one of the nozzle types of the nozzles is a defective nozzle, the step of determining the coordinates of the first defective sub-pixel of the printing row where the target nozzle of the inkjet printer is located is performed.
[0075] In this embodiment, the inkjet volume of each nozzle of the target nozzle can be monitored and obtained by an image acquisition device such as an ink droplet observation instrument in the inkjet printer, and the actual inkjet volume of each nozzle can be compared with the standard volume required for printing the target sub-pixel to determine whether there is an abnormality in the inkjet condition of each nozzle. If there is an abnormality, the nozzle type of the corresponding nozzle belongs to a defective nozzle, so the nozzle where the defective nozzle is located can be used as the target nozzle, and step S10 is executed to determine the coordinates of the first defective sub-pixel in the printing line where the target nozzle of the inkjet printer is located. If there is no abnormality in the inkjet condition of each nozzle, that is, the nozzles in the target nozzle are all normal nozzles, there is no need for reprinting, and it is only necessary to print all sub-pixels in sequence according to the preset printing rules until all sub-pixels are printed. Unless there is a special need, it is generally not necessary to perform secondary printing or reprinting after printing all sub-pixels.
[0076] In one embodiment, the step S100, the step of determining the nozzle type of the nozzle according to the ink jet volume, includes:
[0077] Step b, determining the standard ink droplet volume corresponding to the target sub-pixel to be printed;
[0078] Step c, if the ink jet volume is greater than or equal to the standard ink drop volume, determining that the nozzle type of the nozzle is a normal nozzle;
[0079] Step d: if the ink jet volume is smaller than the standard ink drop volume, determining the nozzle type of the nozzle is a defective nozzle.
[0080] In this embodiment, the target sub-pixel to be printed can be the red sub-pixel, green sub-pixel, blue sub-pixel corresponding to the OLED, or can be a sub-pixel of other colors or sizes. Different target sub-pixels require different standard ink drop volumes. After determining the standard ink drop volume corresponding to the target sub-pixel, the standard ink drop volume is compared with the inkjet volume actually ejected by each nozzle in the target nozzle that will print the target sub-pixel. When the inkjet volume is greater than or equal to the standard ink drop volume, the nozzle type of the nozzle can be determined to be a normal nozzle. When the inkjet volume is less than the standard ink drop volume, the nozzle type of the nozzle is determined to be a defective nozzle. It should be supplemented that when the inkjet volume is greater than the standard ink drop volume, the excess volume of the standard ink drop volume shall not be greater than a preset ink drop volume threshold. The preset ink drop volume threshold can be set according to actual needs to ensure printing quality. Through this embodiment, the inkjet state of each nozzle can be quickly and accurately determined, so as to determine whether the inkjet printer needs to reprint the printed paper or substrate after one print.
[0081] Step S20, determining the topological geometric relationship between the coordinates of the first defective sub-pixel and each normal nozzle hole in the target nozzle to obtain a first supplementary printing displacement set;
[0082] The topological geometric relationship between the coordinates of the first defective sub-pixel and the coordinates of each normal nozzle hole, that is, the relative position relationship, is determined, so as to obtain a first re-printing displacement set for the first defective sub-pixel that needs to be re-printed.
[0083] In one embodiment, the step S20 includes:
[0084] Step e, determining a nozzle topology matrix corresponding to all nozzles, and determining a normal nozzle coordinate of each normal nozzle according to the relative position of the normal nozzle in the nozzle topology matrix;
[0085] Step f: determining the topological geometric relationship between the coordinates of the first defective sub-pixel and the coordinates of each normal nozzle hole to obtain a first supplementary printing displacement set.
[0086] In this embodiment, all nozzles may be all nozzles in the target nozzle, including normal nozzles and defective nozzles, or all nozzles in all nozzles. The nozzle topology matrix may be constructed in the same manner as the sub-pixel topology matrix in the above embodiment. Figure 7, no further details are given here. After the nozzle topology matrix is determined, the normal nozzle coordinates of each normal nozzle can be determined according to the relative position of the normal nozzle in the nozzle topology matrix, that is, the relative position of the nozzle topology matrix where element 1 is located. It should be noted here that each coordinate in the present invention refers to the column coordinate, because the printing row where the target nozzle is located is determined at the beginning, and the difference between rows and columns can be converted, which is not limited here, that is, the printing column where the target nozzle is located is determined, then the corresponding coordinates are row coordinates.
[0087] Determining the topological geometric relationship between the coordinates of the first defective sub-pixel and the coordinates of each of the normal nozzle holes to obtain the first supplementary displacement set can be done by subtracting the coordinates of the first defective sub-pixel from the coordinates of each of the normal nozzle holes to obtain the first supplementary displacement set. After the subtraction, each element in the first supplementary displacement set represents the displacement required for each normal nozzle hole to supplement the first defective sub-pixel, such as Figure 6 As shown, the coordinate i1 of the first defective sub-pixel is 4, the coordinate j1 of the first normal nozzle is 1, and the first element in the first reprinting displacement set obtained by subtracting the coordinate of the first defective sub-pixel from the coordinate of the first normal nozzle is 3, indicating that the first normal nozzle needs to be moved to the right by 3 coordinates to reprint the first defective sub-pixel.
[0088] To understand the process of obtaining the first displacement set, please refer to Figure 6 and Figure 7 For further explanation:
[0089] like Figure 7 The content shown is a matrix of 0 and 1 elements. For ease of understanding and explanation, it can be used as nozzle topology matrix A or sub-pixel topology matrix B, because nozzles and sub-pixels correspond to each other, but one thing that needs to be made clear is that the actual sub-pixel topology matrix should be a matrix composed of multiple identical nozzle topology matrices. Taking the longitudinal printing of the nozzle as an example, after the nozzle prints one column, it will move to print another column. If a defective sub-pixel appears in the previous column, similarly, each subsequent column will have a defective sub-pixel, because the defective nozzle is certain, and the corresponding actual sub-pixel topology matrix is a matrix composed of multiple repeated nozzle topology matrices.
[0090] Find the row where the first nozzle is located from the sub-pixel matrix B (corresponding to Figure 6 The first zero element bi1 (i.e., the first defective sub-pixel) in the first row (including circles and rectangles) in the nozzle topology matrix A and all non-zero elements a in the row where the first nozzle is located j1 , a j2 , ...a jn (exist Figure 71, i.e. all normal nozzles), using bi1 and a j1 , a j2 , ...a jn The topological geometric relationship of the column can be used to obtain the displacement set H1 = {h1, h2, ... h n}, where h n =i1-j n , n = 1, 2, ... k, i1 is the column coordinate of element bi1, j1, j2, ... j n For element a j1 , a j2 , ...a jn The column coordinates of k are composed of non-zero elements a jn The number of (i.e. the number of normal nozzle holes) determines if h n A positive number indicates that the nozzle needs to be moved to the right, otherwise, it should be moved to the left.
[0091] Step S30, determining the topological geometric relationship between the remaining defective sub-pixels and each of the normal nozzle holes based on the coordinates of the first defective sub-pixel to obtain a remaining supplementary injection displacement set;
[0092] After determining the coordinates of the first defective sub-pixel and the first re-printing displacement set, there may be one or more, usually more, defective sub-pixels remaining. The remaining re-printing displacement sets are obtained by determining the topological geometric relationship between each remaining defective sub-pixel and each normal nozzle.
[0093] Please refer to Figure 4 In one embodiment, the step S30 includes:
[0094] Step S31, determining the remaining defective sub-pixel coordinates of the remaining defective sub-pixel according to the relative position of the remaining defective sub-pixel in the target sub-pixel matrix;
[0095] Step S32, determining the coordinate displacement difference between the remaining defective sub-pixel coordinates and the first defective sub-pixel coordinates;
[0096] Step S33: determining a remaining re-printing displacement set for the remaining defective sub-pixel according to the first re-printing displacement set and the coordinate displacement difference.
[0097] You can refer to Figure 7In the sub-pixel topology matrix B shown, the target sub-pixel matrix can be one of the row matrices in the sub-pixel topology matrix B, such as the first row matrix: [1 1 1 0 0 1 1 1 1 1 0 0 0 1 1 1 1 0], which represents the matrix of the target sub-pixels corresponding to the target nozzle. The column coordinates of each remaining defective sub-pixel can be determined according to the relative position of each remaining defective sub-pixel in the target sub-pixel matrix, and each remaining defective sub-pixel coordinate is subtracted from the first defective sub-pixel coordinate to obtain each coordinate displacement difference, and the first supplementary displacement set and the coordinate displacement difference are combined to determine the remaining supplementary displacement set for the remaining defective sub-pixel.
[0098] With reference to the above embodiment, in order to facilitate understanding of the present embodiment, taking the second defective sub-pixel in the remaining defective sub-pixels as an example, that is, the second 0 element in the target sub-pixel matrix, the above process of the present embodiment can be described as follows:
[0099] Find the second 0 element b in the row of the first nozzle in the sub-pixel topology matrix B i2 , using b i2 With b i1 The topological geometric relationship of the column can be used to obtain b i2 The displacement set H2 = {h1+i2-i1, h2+i2-i1, ... h n +i2-i1}, where h1, h2, ... h n for b i1 Add the values of each element in the displacement set H1, i1 and i2 are element b respectively i1 , b i2 If it is the third defect sub-element, the corresponding supplementary displacement set is H3 = {h1 + i3 - i1, h2 + i3 - i1, ... h n +i3-i1}, according to the above rule, the remaining supplementary displacement sets corresponding to each remaining defective sub-pixel can be obtained.
[0100] Step S40, determining a target supplementary printing displacement between the first supplementary printing displacement set and the remaining supplementary printing displacement set, and performing supplementary printing on all defective sub-pixels according to the target supplementary printing displacement.
[0101] The target supplementary displacement can be determined by determining whether there is an intersection between the first supplementary displacement set and each of the remaining supplementary displacement sets, and performing an intersection operation on all supplementary displacement sets at the same time. The intersection can be expressed as L1 = {H1∩H2∩……∩H n},if That is, the intersection is not empty, and any element in the intersection L1 can be used as a target for additional displacement. The element that appears most frequently in all the reprint displacement sets can be selected as the target reprint displacement, so as to minimize the number of reprints and the shortest path for mobile reprinting. After determining the target reprint displacement, the target nozzle only needs to move and reprint according to the path planning of the target reprint displacement until all defective sub-pixels are reprinted. For example, in the case of an intersection, the target reprint displacement is +5, then the target nozzle only needs to be translated to the right by 5 coordinates to reprint all defective sub-pixels in the row where the target nozzle is located, and then the defective sub-pixels in all rows of the printing paper or substrate can be printed vertically according to the preset printing rules of the inkjet printer, thus completing the reprinting of all defective sub-pixels on the entire printing paper or substrate.
[0102] The present invention mainly starts from the first defective sub-pixel coordinate corresponding to the first defective sub-pixel with a printing defect in the printing row where the target nozzle with a defective nozzle hole is located after one printing, and counts the topological geometric relationship between each defective sub-pixel and each defective nozzle hole to obtain all supplementary printing displacement sets including the first supplementary printing displacement set and one or more remaining supplementary printing displacement sets, and selects the optimal element, that is, the target supplementary printing displacement, from each supplementary printing displacement set, so as to ensure that each supplementary printing of the inkjet printer can reduce the mobile printing displacement or the number of mobile printing times of the target nozzle as much as possible, and ensure that the efficiency of the inkjet printer when performing supplementary printing under the current nozzle hole defect condition is maximized. In addition, the present invention only needs to solve each supplementary printing displacement set, and does not need to traverse all defective sub-pixels on the printing paper after one printing and determine their relative positions on the printing paper. The amount of calculation is much smaller than that of the traditional traversal supplementary printing algorithm. The target supplementary printing displacement obtained from each supplementary printing displacement set, that is, the optimal supplementary printing path is determined, and the mobile supplementary printing of the target nozzle is controlled by the optimal supplementary printing path, which greatly improves the efficiency of the inkjet printer in completing the supplementary printing of all defective sub-pixels.
[0103] Please refer to Figure 5 Further, based on the first embodiment of the inkjet reprinting path planning method of the present invention, a second embodiment of the inkjet reprinting path planning method of the present invention is proposed. In this embodiment, the step S40, the step of determining the target reprinting displacement between the first reprinting displacement set and the remaining reprinting displacement set, includes:
[0104] Step S41, determining whether the intersection between the first supplementary displacement set and the remaining supplementary displacement set is an empty set;
[0105] Step S42: If the intersection is not an empty set, the element with the smallest absolute value in the intersection is used as the target supplementary displacement between the first supplementary displacement set and the remaining supplementary displacement set.
[0106] In this embodiment, after determining whether the intersection between the first supplementary displacement set and the remaining supplementary displacement set is an empty set, if the intersection is not an empty set, that is, L1 = {H1∩H2∩…∩H n}, although any element in the intersection can be used as the target reprinting displacement, because the existence of the intersection means that each element in the intersection as the target reprinting displacement can enable the inkjet printer to achieve reprinting of all defective sub-pixels in the row where the target nozzle is located with only one translation. However, in order to further improve the efficiency of reprinting of the inkjet printer, preferably, the element with the smallest absolute value in the intersection L1 is used as the target reprinting displacement, which can be expressed as min(|l1|,|l2|,...|l n |), where l1-l n Representing each element in the intersection L1, the element with the smallest absolute value generally means the shortest displacement. By using the shortest displacement for each reprint, the efficiency of the inkjet printer's reprinting is naturally greatly improved. For example, L1={-3, -1, +5, +7}, then the element with a content of -1 is used as the target reprinting displacement. The target nozzle of the inkjet printer only needs to be translated to the left by one coordinate from the initial position after one printing to realize the reprinting of all defective pixels in the row where the target nozzle is located, and then the defective sub-pixels of other rows are printed vertically to complete the reprinting of all defective sub-pixels on the entire printing paper or substrate.
[0107] In another embodiment, after step S300, the method further includes:
[0108] Step g: if the intersection is an empty set, determining the element with the largest number of occurrences between the first supplementary displacement set and the remaining supplementary displacement set;
[0109] Step h: taking the element with the largest number of occurrences as the target supplementary displacement between the first supplementary displacement set and the remaining supplementary displacement set.
[0110] In this embodiment, if the intersection is an empty set, that is, Determine the element with the largest number of occurrences between the first supplementary displacement set and the remaining supplementary displacement set, and use the element with the largest number of occurrences as the target supplementary displacement. The element with the largest number of occurrences represents the element with the largest number of pixels to be supplemented at the same time when the target nozzle supplements the defective sub-pixel. The above determination of the element with the largest number of occurrences between the first supplementary displacement set and the remaining supplementary displacement set can be expressed as: the element with the largest number of occurrences max_count(h i ), where h i ∈(H1 and H2 and ... H n ), h iRepresents the elements in all the reprinting displacement sets. That is, find the same element that appears in all the reprinting displacement sets and has the largest number of occurrences from all the reprinting displacement sets. For example, the element with a content of +6 appears the most times, so the target nozzle is translated to the right by 6 coordinates at its initial position. The purpose of this embodiment is to ensure that the target nozzle can reprint the most defective sub-pixels after each translation, reduce the number of reprinting times, and improve the reprinting efficiency of the inkjet printer.
[0111] In one embodiment, the step S40, the step of supplementing printing all defective sub-pixels according to the target supplementary printing displacement, includes:
[0112] Step i, moving the target nozzle according to the initial position of the target nozzle and the element with the largest number of occurrences to supplement the current supplementary sub-pixel corresponding to the element with the largest number of occurrences;
[0113] Step j, determining the unreplenished defective sub-pixels except the currently replenished sub-pixel among all defective sub-pixels and the unreplenished displacement set corresponding to the unreplenished defective sub-pixels;
[0114] Step k: taking the unsupplemented displacement set as the first supplemented displacement set or the remaining supplemented displacement set, and executing the step of determining whether the intersection between the first supplemented displacement set and the remaining supplemented displacement set is an empty set.
[0115] In this embodiment, mainly for the situation that the intersection is an empty set, when the intersection between the first supplementary printing displacement set and the remaining supplementary printing displacement set is an empty set, the target nozzle of the inkjet printer often needs to be translated multiple times to completely reprint each row of defective sub-pixels. Therefore, in this embodiment, after the inkjet printer completes printing once, according to the initial position of the target nozzle at this time, according to the element with the largest number of occurrences as the target supplementary printing displacement, a translation and longitudinal reprinting of the current supplementary printing sub-pixel are performed. After the target nozzle is translated once and reprinted once, there are other defective sub-pixels that have not been reprinted in each row corresponding to the target nozzle, that is, defective sub-pixels that have not been reprinted except the current supplementary printing sub-pixel, and the non-supplementary printing displacement set is determined according to the determination method of the first supplementary printing displacement set and / or the remaining supplementary printing displacement set mentioned in the above embodiments, and the step of determining whether the intersection between the first supplementary printing displacement set and the remaining supplementary printing displacement set is an empty set is continuously and cyclically executed, and then the target supplementary printing displacement between each non-supplementary printing displacement set is determined, and the target nozzle performs supplementary printing according to the target supplementary printing displacement until all defective sub-pixels on the printing paper or substrate are reprinted. In this way, the maximum number of defective sub-pixels can be reprinted at one time through multiple reprintings and each reprinting, so that the reprinting of defective sub-pixels can be achieved quickly and comprehensively.
[0116] To further understand the above embodiments, please refer to Figure 8 , Figure 8 FIG. 1 is an overall flow chart of an embodiment of the inkjet printing path planning method of the present invention; Figure 8 As shown:
[0117] Firstly, the nozzle types of the inkjet printer are classified into normal nozzles and defective nozzles;
[0118] Determine whether there is a defective nozzle hole, and if there is no defective nozzle hole, print all sub-pixels in sequence;
[0119] If there is a defective nozzle, after printing 1PASS, the defective sub-pixel reprinting displacement set is calculated, including the first reprinting displacement set and each remaining reprinting displacement set;
[0120] Determine whether there is an intersection between the displacement sets of each defective sub-pixel;
[0121] If there is an intersection, the target nozzle can be directly moved according to any element in the intersection or the element with the smallest absolute value and reprinted until all defective sub-pixels are printed;
[0122] If there is no intersection, then look for the displacement with the largest number of supplementary sub-pixels, that is, determine the element with the largest number of occurrences from the supplementary displacement sets of each defective sub-pixel, and perform mobile supplementary printing based on the displacement and element, and count the defective sub-pixels that have not been supplemented and their respective supplementary displacement sets after each supplementary printing, and further determine whether there is an intersection between the various supplementary displacement sets. If there is an intersection at this time, complete the supplementary printing according to the above-mentioned supplementary printing method with an intersection. If there is still no intersection, continue to look for the displacement with the largest number of supplementary sub-pixels, move and supplement, and then cyclically count the new defective sub-pixels that have not been supplemented and their respective supplementary displacement sets again, until all defective sub-pixels are supplemented, and exit the loop to complete the supplementary printing.
[0123] In addition, the present invention also provides an inkjet printing path planning device, please refer to Fig. 9 , the inkjet printing path planning device comprises:
[0124] The defect recognition module A10 is used to determine the coordinates of the first defective sub-pixel in the printing line where the target nozzle of the inkjet printer is located;
[0125] The displacement solving module A20 is used to determine the topological geometric relationship between the coordinates of the first defective sub-pixel and each normal nozzle hole in the target nozzle to obtain a first supplementary displacement set; based on the coordinates of the first defective sub-pixel, determine the topological geometric relationship between the remaining defective sub-pixels and each normal nozzle hole to obtain a remaining supplementary displacement set;
[0126] The mobile supplementary printing module A30 is used to determine a target supplementary printing displacement between the first supplementary printing displacement set and the remaining supplementary printing displacement set, and supplementary print all defective sub-pixels according to the target supplementary printing displacement.
[0127] Optionally, the defect identification module A10 is further used to:
[0128] Acquire the inkjet volume of each nozzle of the target nozzle, and determine the nozzle type of the nozzle according to the inkjet volume, wherein the nozzle type includes a normal nozzle and a defective nozzle;
[0129] If the nozzle types are all normal nozzles, all sub-pixels are printed in sequence until all sub-pixels are printed;
[0130] If at least one of the nozzle types of the nozzles is a defective nozzle, the step of determining the coordinates of the first defective sub-pixel in the printing row where the target nozzle of the inkjet printer is located is performed.
[0131] Optionally, the defect identification module A10 is further used to:
[0132] Determine the standard ink drop volume corresponding to the target sub-pixel to be printed;
[0133] If the ink jet volume is greater than or equal to the standard ink drop volume, determining that the nozzle type of the nozzle is a normal nozzle;
[0134] If the ink jetting volume is smaller than the standard ink drop volume, it is determined that the nozzle type of the nozzle is a defective nozzle.
[0135] Optionally, the displacement solving module A20 is further used for:
[0136] Determine a nozzle topology matrix corresponding to all nozzles, and determine a normal nozzle coordinate of each normal nozzle according to the relative position of the normal nozzle in the nozzle topology matrix;
[0137] The topological geometric relationship between the coordinates of the first defective sub-pixel and the coordinates of each of the normal nozzle holes is determined to obtain a first re-printing displacement set.
[0138] Optionally, the displacement solving module A20 is further used for:
[0139] Determine the remaining defective sub-pixel coordinates of the remaining defective sub-pixel according to the relative position of the remaining defective sub-pixel in the target sub-pixel matrix;
[0140] Determining a coordinate displacement difference between the remaining defective sub-pixel coordinates and the first defective sub-pixel coordinates;
[0141] A remaining re-printing displacement set for the remaining defective sub-pixel is determined according to the first re-printing displacement set and the coordinate displacement difference.
[0142] Optionally, the mobile reprinting module A30 is further used for:
[0143] Determine whether the intersection between the first supplementary displacement set and the remaining supplementary displacement sets is an empty set;
[0144] If the intersection is not an empty set, the element with the smallest absolute value in the intersection is used as the target supplementary displacement between the first supplementary displacement set and the remaining supplementary displacement set.
[0145] Optionally, the mobile reprinting module A30 is further used for:
[0146] If the intersection is an empty set, determining the element with the largest number of occurrences between the first supplementary displacement set and the remaining supplementary displacement sets;
[0147] The element with the largest number of occurrences is used as the target supplementary displacement between the first supplementary displacement set and the remaining supplementary displacement sets.
[0148] Optionally, the mobile reprinting module A30 is further used for:
[0149] Moving the target nozzle according to the initial position of the target nozzle and the element with the largest number of occurrences to supplement the current supplementary sub-pixel corresponding to the element with the largest number of occurrences;
[0150] Determine the unrepaired defective sub-pixels except the currently re-paired sub-pixel among all defective sub-pixels and the unrepaired displacement set corresponding to the unrepaired defective sub-pixels;
[0151] The unsupplemented displacement set is used as the first supplemented displacement set or the remaining supplemented displacement set, and the step of determining whether the intersection between the first supplemented displacement set and the remaining supplemented displacement set is an empty set is performed.
[0152] The specific implementation of the inkjet reprinting path planning device of the present invention is basically the same as the various embodiments of the inkjet reprinting path planning method described above, and will not be repeated here.
[0153] In addition, the present invention also provides a computer-readable storage medium. The computer-readable storage medium of the present invention stores an inkjet reprinting path planning program, wherein when the inkjet reprinting path planning program is executed by a processor, the steps of the inkjet reprinting path planning method as described above are implemented.
[0154] Among them, the method implemented when the inkjet reprinting path planning program is executed can refer to the various embodiments of the inkjet reprinting path planning method of the present invention, and will not be repeated here.
[0155] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0156] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0157] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0158] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0159] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claim. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0160] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0161] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A method for inkjet printing path planning, characterized in that: The inkjet reprinting path planning method is applied to an inkjet printer; the method comprises the following steps: Determine the coordinates of the first defective sub-pixel in the printing row where the target nozzle of the inkjet printer is located; Determine the topological geometric relationship between the coordinates of the first defective sub-pixel and each normal nozzle hole in the target nozzle to obtain a first supplementary printing displacement set; Determine the topological geometric relationship between the remaining defective sub-pixels and each of the normal nozzle holes based on the coordinates of the first defective sub-pixel to obtain a remaining supplementary injection displacement set; Determine a target supplementary printing displacement between the first supplementary printing displacement set and the remaining supplementary printing displacement set, and perform supplementary printing on all defective sub-pixels according to the target supplementary printing displacement; The step of determining the topological geometric relationship between the coordinates of the first defective sub-pixel and each normal nozzle hole in the target nozzle to obtain a first supplementary printing displacement set includes: Determine a nozzle topology matrix corresponding to all nozzles, and determine a normal nozzle coordinate of each normal nozzle according to the relative position of the normal nozzle in the nozzle topology matrix; Determine the topological geometric relationship between the coordinates of the first defective sub-pixel and the coordinates of each of the normal nozzle holes to obtain a first re-printing displacement set; The step of determining the topological geometric relationship between the remaining defective sub-pixels and each of the normal nozzle holes based on the coordinates of the first defective sub-pixel to obtain a remaining supplementary printing displacement set includes: Determine the remaining defective sub-pixel coordinates of the remaining defective sub-pixel according to the relative position of the remaining defective sub-pixel in the target sub-pixel matrix; Determining a coordinate displacement difference between the remaining defective sub-pixel coordinates and the first defective sub-pixel coordinates; Determine a remaining re-printing displacement set for the remaining defective sub-pixel according to the first re-printing displacement set and the coordinate displacement difference; The step of determining a target supplementary displacement between the first supplementary displacement set and the remaining supplementary displacement set comprises: Determine whether the intersection between the first supplementary displacement set and the remaining supplementary displacement sets is an empty set; If the intersection is not an empty set, taking the element with the smallest absolute value in the intersection as the target supplementary displacement between the first supplementary displacement set and the remaining supplementary displacement set; After the step of determining whether the intersection between the first supplementary displacement set and the remaining supplementary displacement set is an empty set, the method further includes: If the intersection is an empty set, determining the element with the largest number of occurrences between the first supplementary displacement set and the remaining supplementary displacement sets; The element with the largest number of occurrences is used as the target supplementary displacement between the first supplementary displacement set and the remaining supplementary displacement sets.
2. The inkjet reprinting path planning method according to claim 1, characterized in that: Before the step of determining the coordinates of the first defective sub-pixel in the printing row where the target nozzle of the inkjet printer is located, the method further includes: Acquire the inkjet volume of each nozzle of the target nozzle, and determine the nozzle type of the nozzle according to the inkjet volume, wherein the nozzle type includes a normal nozzle and a defective nozzle; If the nozzle types are all normal nozzles, all sub-pixels are printed in sequence until all sub-pixels are printed; If at least one of the nozzle types of the nozzles is a defective nozzle, the step of determining the coordinates of the first defective sub-pixel in the printing row where the target nozzle of the inkjet printer is located is performed.
3. The inkjet reprinting path planning method according to claim 2, characterized in that: The step of determining the nozzle type of the nozzle according to the ink jet volume comprises: Determine the standard ink drop volume corresponding to the target sub-pixel to be printed; If the ink jet volume is greater than or equal to the standard ink drop volume, determining that the nozzle type of the nozzle is a normal nozzle; If the ink jetting volume is smaller than the standard ink drop volume, it is determined that the nozzle type of the nozzle is a defective nozzle.
4. The inkjet reprinting path planning method according to claim 1, characterized in that: The step of supplementing printing all defective sub-pixels according to the target supplementary printing displacement includes: Moving the target nozzle according to the initial position of the target nozzle and the element with the largest number of occurrences to supplement the current supplementary sub-pixel corresponding to the element with the largest number of occurrences; Determine the unrepaired defective sub-pixels except the currently re-paired sub-pixel among all defective sub-pixels and the unrepaired displacement set corresponding to the unrepaired defective sub-pixels; The unsupplemented displacement set is used as the first supplemented displacement set or the remaining supplemented displacement set, and the step of determining whether the intersection between the first supplemented displacement set and the remaining supplemented displacement set is an empty set is performed.
5. An inkjet printer, characterized in that: The inkjet printer includes a processor, a memory, and an inkjet reprinting path planning program stored in the memory and executable by the processor, wherein when the inkjet reprinting path planning program is executed by the processor, the steps of the inkjet reprinting path planning method as described in any one of claims 1 to 4 are implemented.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an inkjet reprinting path planning program, wherein when the inkjet reprinting path planning program is executed by a processor, the steps of the inkjet reprinting path planning method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Inkjet printing apparatus and inkjet printing method
CN107696712A
Nozzle abnormity compensation method and device, inkjet printing device and storage medium
CN108177442A