The present invention generally relates to inkjet printing technologies, and more particularly, to a compensation method and a device for abnormality of a nozzle, and a printer using the method and with the device above.
An inkjet printer ejects ink drops onto a printing medium from a nozzle of an inkjet head to form an image or a word. The inkjet printer may perform the printing process through a shuttle scanning printing, a single scanning printing, or a multiple inkjet heads in parallel scanning printing, etc. The shuttle scanning printing is also called multiple-pass scanning printing which indicates that each unit of the to-be-printed image is printed by multiple interpolations, and each unit is formed by multiple image pixels. For example, a 2-pass scanning printing indicates that each unit of the to-be-printed image is formed by two pixels, a 3-pass scanning printing indicates that each unit of the to-be-printed image is formed by three pixels. The single scanning printing is also called single-pass scanning printing which indicates that each unit of the to-be-printed image is printed by one scanning. The multiple inkjet heads in parallel scanning printing is also called one-pass scanning printing which indicates that the to-be-printed image is printed by one printing.
As shown in
However, as shown in
In prior art, the nozzle is unblocked by cleaning, ink pressing, scraping or wiping, when the nozzle is abnormal. However, during the cleaning process, it may be difficult to erase some of the blocked nozzles thoroughly. The printer may be qualified at its lowest limit with several abnormal nozzles; however, for the printed product requiring high quality and high accuracy, the inkjet head needs to be replaced. If the number of the abnormal nozzles exceeds 10%, the inkjet head must be replaced. The replacement of the inkjet head caused by abnormality of only several nozzles not only delays the printing process, but also greatly increases the cost of the printing process.
The present invention provides a compensation method and a device for nozzle abnormality, and a printer for solving the problem mentioned above.
In one aspect, the present invention provides a compensation method for nozzle abnormality, including steps of:
determining position information of an abnormal nozzle in an inkjet head;
acquiring printing parameters, determining first data corresponding to the abnormal nozzle, and based on the position information of the abnormal nozzle and the printing parameters, determining position information of a compensation nozzle for compensating the first data corresponding to the abnormal nozzle; and
acquiring second data of the compensation nozzle in a normal printing state based on the printing parameters which include ink out data and ink holding data, determining an address of the ink holding data, and generating compensation data by writing the first data into the address of the ink holding data.
Preferably, acquiring the printing parameters, determining the first data corresponding to the abnormal nozzle, and based on the position information of the abnormal nozzle and the printing parameters, determining the position information of the compensation nozzle for compensating the first data corresponding to the abnormal nozzle comprises steps of:
obtaining the printing parameters and determining a first mapping relationship between a position of the abnormal nozzle and to-be-printed data in an original printing data file;
acquiring the first data corresponding to the abnormal nozzle and a second data range compensating the first data according to the first mapping relationship and the position information of the abnormal nozzle; and
determining the position information of the compensation nozzle for compensating the abnormal nozzle according to the second data range and the first mapping relationship.
Preferably, the second data range is a first connected domain or a second connected domain centered on the first data; the first connected domain comprises the first data, and the second connected domain does not comprise the first data.
Preferably, the second data range is a non-connected domain centered on the first data.
Preferably, the compensation method further includes steps of:
determining alternative ink holding data within the second data range, and determining whether the alternative ink holding data are capable of compensating the first data; and
if the alternative ink holding data is capable of compensating the first data, selecting an ink holding datum from the alternative ink holding data to compensate the first data, wherein a physical printing position of the ink holding datum is closed to a physical printing position corresponding to the first data.
Preferably, determining the alternative ink holding data within the second data range, and determining whether the alternative ink holding data is capable of compensating the first data comprises steps of:
if the second data is determined to be ink holding, judging as capable of compensating the first data; and
finding a compensation nozzle corresponding to the second data according to the first mapping relationship, wherein if the compensation nozzle is normal, the second data are capable of compensating the first data.
Preferably, the printing parameters include a relative displacement between a printing medium and the inkjet head, the number of the nozzle, and printing times of a first shuttle scanning printing.
Preferably, the printing times of the first shuttle scanning printing is K, wherein K is an integer greater than 2; an image unit is consisted of K printing data, and the second data range is K−1 printing data other than the first data of the image unit to which the first data belongs.
Preferably, before acquiring the printing parameters, determining the first data corresponding to the abnormal nozzle, and based on the position information of the abnormal nozzle and the printing parameters, determining the position information of the compensation nozzle for compensating the first data corresponding to the abnormal nozzle, the method comprises:
acquiring the printing parameters, and feathering the first data corresponding to the printing parameters to obtain second printing data,
wherein the second printing data comprises the first data and the second data.
Preferably, the printing parameters comprise a first feathering amplitude, and feathering the first data corresponding to the printing parameters to obtain the second printing data comprises steps of:
obtaining printing times of a second shuttle scanning printing based on the printing times of the first shuttle scanning printing and the first feathering amplitude, wherein the printing times of the second shuttle scanning printing is greater than that of the first shuttle scanning printing; and
feathering to-be-printed first printing data to obtain the second printing data based on the printing times of the second shuttle scanning printing, wherein a number of elements of the ink holding data in the second printing data is greater than that of elements of the ink holding data in the first printing data.
Preferably, acquiring the printing parameters, determining the first data corresponding to the abnormal nozzle, and based on the position information of the abnormal nozzle and the printing parameters, determining the position information of the compensation nozzle for compensating the first data corresponding to the abnormal nozzle includes steps of:
defining a parameter P as the printing times of the second shuttle scanning printing, which indicates each block of image is formed by P times of covering printing, wherein P is an integer equal to or greater than 2; defining X as a current printing index, which refers to current printing times counted from a beginning of a printing, performing calculation to determine whether all the abnormal nozzles are in a printing range of the P times of printing comprising a current printing; taking one of the abnormal nozzles as a 1st nozzle, a beginning printing position of an X-th printing as Sx which is equal to the relative displacement between the printing medium and the inkjet head in previous X times of printing, a newly-increased covering distance on the printing medium of the X-th printing as hx, and a height of the inkjet head as H, then a newly-increased covering range of the X-th printing being [Sx+H−hx, Sx+H]; taking the distance between the 1st nozzles as W in the direction, along which the said nozzle has a relative increasing displacement against the printing medium, initial positions of an (x+0)-th, an (X+1)-th, . . . an (X+P−1)-th printing being respectively Sx, Sx+1, . . . , Sx+P−1, and the newly-increased covering range of each printing being [Sx+H−hx, Sx+H], and the printing positions of the 1st nozzle being respectively Sx+W, Sx+1+W, . . . , Sx+P−1; if the printing position of the 1st nozzle on the printing medium is not within the newly-increased covering range, stopping storing a second mapping relationship; and
if the printing position of the 1st nozzle on the printing medium is within the newly-increased covering range and is different from the stored second mapping relationship, storing the second mapping relationship, and extracting the first data of the 1st nozzle, wherein the second mapping relationship comprises the corresponding printing index and the printing position of the 1st nozzle on the printing medium.
Preferably, acquiring the second data of the compensation nozzle in the normal printing state based on the printing parameters which include the ink out data and the ink holding data, determining the address of the ink holding data, and generating the compensation data by writing the first data into the address of the ink holding data includes steps of:
when a current printing is an X-th printing, individually searching the stored second mapping relationships and marking the abnormal nozzle corresponding to one of the mapping relationships as a 2nd nozzle, acquiring a printing position of the 2nd nozzle on the printing medium from the second mapping relationships; if the printing position of the 2nd nozzle is greater than an initial position of the current printing, determining that the second mapping relationship is valid; if Zx is less than H, determining that the first data corresponding to the 2nd nozzle is compensable, wherein Zx is obtained by subtracting the initial position of the current printing from the printing position of the 2nd nozzle; based on the position information of each nozzle in the inkjet head, if the nozzle corresponding to Zx is a normal nozzle, using the nozzle corresponding to Zx as the compensation nozzle of the 2nd nozzle and marking the nozzle corresponding to Zx as a 3rd nozzle; obtaining the compensation data of the 3rd nozzle by writing the first data of the 2nd nozzle into the address of the ink holding data of the second data corresponding to the 3rd nozzle, and erasing the data corresponding to the 2nd nozzle which has been written into the 3rd nozzle and has been compensated;
as the relative displacement between the printing medium and the inkjet head increases, third data, fourth data, and K-th data corresponding to the 2nd nozzle are continuously obtained until the data compensation of the 2nd nozzle is finished or the second mapping relationship of the 2nd nozzle is outdated, wherein the 3rd data is remaining to-be-compensated data after the second data is compensated, the fourth data is remaining to-be-compensated data after the third data is compensated, the K-th data is remaining to-be-compensated data after the (K−1)-th data is compensated, 4≤K≤P and K is an integer.
Preferably, the printing parameters further include a second feathering amplitude, the printing times of the first shuttle scanning printing is 1, and acquiring the printing parameters and feathering the first data corresponding to the printing parameters to obtain the second data includes step of:
based on the second feathering amplitude and the number of the nozzles, determining a printing overlapping area; and
feathering the first data corresponding to the printing overlapping area to obtain the second printing data.
Preferably, the method further includes steps of:
defining a distance between the abnormal nozzle and a NO. 1 nozzle in a direction along which the relative displacement between the inkjet head and the printing medium is increased to T, the number of the nozzles to x1, the relative displacement to x2, and a nozzle number corresponding to the printing overlapping area to r;
if T is less than or equal to r, a distance Y between the compensation nozzle and the NO. 1 nozzle is:
Y=T+x2;
for an m-th printing, acquiring the first data corresponding to the abnormal nozzle from the second printing data corresponding to the m-th printing; based on the position information of the compensation nozzle, obtaining the second data corresponding to the compensation nozzle from the second printing data corresponding to an (m−1)-th printing, and generating the compensation data by writing the first data into the address of the ink holding data in the second data;
if T≥x2, the distance Y between the compensation nozzle and the NO. 1 nozzle in the direction along which the relative displacement between the inkjet head and the printing medium is increased is:
Y=T−x2;
for the m-th printing, obtaining the first data corresponding to the abnormal nozzle from the second printing data corresponding to the m-th printing; based on the position information of the compensation nozzle, obtaining the second data corresponding to the compensation nozzle from the second printing data corresponding to an (m+1)-th printing, and generating the compensation data by writing the first data into the address of the ink holding data in the second data;
Preferably, the printing parameters comprise a first nozzle number of two adjacent overlapping nozzle areas and a second nozzle number of a single inkjet head; then acquiring the printing parameters and feathering the first data corresponding to the printing parameters to obtain the second data comprises:
based on the first printing data corresponding to the overlapping nozzle area, acquiring feathering data corresponding to a feathering template and complementary data of the feathering data, performing a logical AND operation between the first printing data and the feathering data to obtain first feathering data, performing a logical AND operation between the first printing data and the complementary feathering data to obtain second feathering data, and combining the first feathering data and the second feathering data to form the second printing data.
Preferably, by defining the number of the nozzles to be n, for a m-th inkjet head, when m=1, the first inkjet head includes one overlapping nozzle area which is marked as a first overlapping nozzle area; the first inkjet head further includes a first non-overlapping nozzle area; a nozzle number corresponding to the first overlapping nozzle are is marked as a first overlapping nozzle number, a nozzle number corresponding to the first non-overlapping nozzle is marked as a first non-overlapping nozzle number; when 1<m<n, the m-th inkjet head includes two overlapping nozzle areas which are respectively a second overlapping nozzle area and a third overlapping nozzle area, a nozzle number corresponding to the second overlapping nozzle area is marked as a second overlapping nozzle number, and a nozzle number corresponding to the third overlapping nozzle area is marked as a third overlapping nozzle number;
for an X-th abnormal nozzle in the m-th inkjet head wherein X is a natural number greater than 0, when a serial number X of the abnormal nozzle is less than or equal to the second overlapping nozzle number of the m-th inkjet head, the compensation nozzle for compensating the printing data corresponding to the abnormal nozzle is located in an (m−1)-th inkjet head, and a serial number of the compensation nozzle is obtained through the following formula:
Y=X+D+Z;
wherein Y is the serial number of the compensation nozzle, X is the serial number of the abnormal nozzle, D is the second non-overlapping nozzle number of the (m−1)-th nozzle, and Z is the second overlapping nozzle number of the (m−1)-th nozzle;
when the serial number X of the abnormal nozzle is greater than or equal to a sum of the second overlapping nozzle number and the second non-overlapping nozzle number of the m-th inkjet head, the compensation nozzle for compensating the printing data corresponding to the abnormal nozzle is located in an (m+1)-th inkjet head, and the serial number of the compensation nozzle can be obtained through the following formula:
Y=X−T−U;
wherein Y is the serial number of the compensation nozzle, X is the serial number of the abnormal nozzle, T is the second non-overlapping nozzle number of the m-th nozzle, and U is the second overlapping nozzle number of the m-th nozzle.
Preferably, determining position information of the abnormal nozzle of the inkjet head comprises steps of:
obtaining a detection time for detecting each nozzle, and when detecting the nozzle of the inkjet head, obtaining a start time and a stop time of each nozzle of the inkjet head according to the detection time;
according to the start time and the stop time of each nozzle, sending a detection signal through a preset jetting trail of each nozzle, wherein the preset jetting trail is a moving trail of ink droplets when the nozzle is normal;
controlling each nozzle to jet ink for obtaining a feedback signal after the detection signal passes through the preset jetting trail of each nozzle; and
determining a position of the abnormal nozzle in the inkjet head according to the feedback signal.
Preferably, determining the position information of the abnormal nozzle of the inkjet head comprises steps of:
obtaining detection times for detecting all the nozzles, and when detecting the nozzles of the inkjet head, obtaining start times and stop times of all the nozzles of the inkjet head according to the detection times;
according to the start times and the stop times of all the nozzles, sending a detection signal through a preset jetting trail of all the nozzles, wherein the preset jetting trail is a moving trail of ink droplets when the nozzle is normal;
controlling all the nozzles to jet ink for obtaining a feedback signal after the detection signal passes through the preset jetting trail of all the nozzles; and
determining a position of the abnormal nozzle in the inkjet head according to the feedback signal.
According to a second aspect, the present invention provides a compensation device for nozzle abnormality, including:
an abnormal nozzle position determination module for determining position information of the abnormal nozzle in an inkjet head;
a compensation nozzle position determination module, configured for acquiring printing parameters, determining first data corresponding to the abnormal nozzle, and based on the position information of the abnormal nozzle and the printing parameters, determining position information of a compensation nozzle for compensating the first data of the abnormal nozzle; and
a compensation data generation module, configured for, based on the printing parameters, acquiring second data of the compensation nozzle in a normal printing data wherein the second data includes ink out data and ink holding data, determining an address of the ink holding data in the second data, and generating compensation data by writing the first data into the address of the ink holding data.
According to a third aspect, the present invention provides a printer, including a controlling unit, an inkjet head unit, and a nozzle compensation unit; wherein the controlling unit controls the nozzle compensation unit such that the nozzle compensation unit compensates an abnormal nozzle in the inkjet head unit, wherein the nozzle compensation unit is a compensation device for nozzle abnormality as provided in the second aspect.
Beneficial Effect
The compensation method and device for nozzle abnormality, and the printer provided in the present invention not only overcome the problem that the quality of the printed image is poor due to the abnormal nozzle, but also reduce the maintenance cost of the inkjet head.
Features and exemplary embodiments of various aspects of the present invention will be described in below. In order to make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further illustrated with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only to explain the present invention, but not to be limiting. For those skilled in the art, the present invention may be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of the present invention by showing examples thereof.
It should be noted that, in this specification, terms like “first” and “second” are only used to differentiate one entity or operation from another, but are not necessarily used to indicate any practical relationship or order between these entities or operations. Moreover, a term such as “include”, “contain” or any variation of the term means “including but not limited to”. Therefore, a process, method, object, or device that includes a series of elements not only includes these elements, but also includes other elements that are not specified expressly, or may further include inherent elements of the process, method, object or device. In the case that there are no more limitations, in the context of an element that is specified by “include one . . . ”, the process, method, object or device that includes a specified element may include other identical elements.
Referring to
In step S100, determining position information of an abnormal nozzle in an inkjet head.
As shown in
In step S111, obtaining a detection time for detecting each nozzle, and when detecting the nozzle of the inkjet head, obtaining a start time and a stop time of each nozzle of the inkjet head according to the detection time.
In step S112, according to the start time and the stop time of each nozzle, sending a detection signal through a preset jetting trail of each nozzle, wherein the preset jetting trail is a moving trail of ink droplets when the nozzle is normal.
In step S113, controlling each nozzle to jet ink for obtaining a feedback signal after the detection signal passes through the preset jetting trail of each nozzle.
In step S114, determining a position of the abnormal nozzle in the inkjet head according to the feedback signal.
Referring to
Referring to
In step S121, obtaining detection times for detecting all the nozzles, and when detecting the nozzles of the inkjet head, obtaining start times and stop times of all the nozzles of the inkjet head according to the detection times.
In step S122, according to the start times and the stop times of all the nozzles, sending a detection signal through a preset jetting trail of all the nozzles, wherein the preset jetting trail is a moving trail of ink droplets when the nozzle is normal.
In step S123, controlling all the nozzles to jet ink for obtaining a feedback signal after the detection signal passes through the preset jetting trail of all the nozzles.
In step S124, determining a position of the abnormal nozzle in the inkjet head according to the feedback signal.
Referring to
The above method is not only capable of determining the position information of the abnormal nozzle, but also is capable of determining the other abnormal state of the nozzle, such as blocking, oblique jetting, blurring, and lack of ink. When there is oblique jetting, blurring, or lack of ink, if the abnormal nozzle is kept on, the abnormal nozzle may keep jetting ink to contaminate the printing image which thus causes uneven ink drop density on the printing image, thus, the abnormal nozzle needs to be turned off before the compensation is performed. The method for turning off the abnormal nozzle includes:
obtaining the position information of the abnormal nozzle, determining a printing data address of first data, and writing ink holding data into the printing data address of the first data. Thus, the abnormal nozzle can be prevented from jetting ink during printing to avoid contamination of the printing image.
In step S200, acquiring printing parameters, determining first data corresponding to the abnormal nozzle, and determining position information of a compensation nozzle for compensating the first data corresponding to the abnormal nozzle.
Referring to
S211, obtaining the printing parameters and determining the first mapping relationship between a position of each nozzle in the inkjet head and to-be-printed data in the original printing data file;
S212, acquiring the first data corresponding to the abnormal nozzle and a second data range compensating the first data according to the first mapping relationship and the position information of the abnormal nozzle; and
S213, determining the position information of the compensation nozzle for compensating the abnormal nozzle according to the second data range and the first mapping relationship.
Specifically, referring to
Referring to
Referring to
Referring to
However, not all printing data in the second data range can be used to compensate the first data, so it is also necessary to judge whether the printing data in the second data range can be used or not. Referring to
S2121, determining alternative ink holding data within the second data range, and determining whether the alternative ink holding data are capable of compensating the first data;
S2122, if the second data is determined to be the ink out data, judging the alternative ink holding data as incapable of compensating the first data;
S2123, if the second data is determined to be the ink holding data, judging the alternative ink holding data as capable of compensating the first data;
S2124, finding a compensation nozzle corresponding to the second data according to the first mapping relationship, wherein if the compensation nozzle is normal, the second data are capable of compensating the first data; and
S2125, if the compensation nozzle is abnormal, judging the second data as incapable of compensating the first data;
wherein if there is multiple second data within the second data range that can compensate the first data, an ink holding datum is selected from the alternative ink holding data to compensate the first data, wherein a physical printing position of the ink holding datum is closed to a physical printing position corresponding to the first data.
Referring to
For the shuttle scanning printing, the first mapping relationship between the position of the nozzle in the inkjet head and the to-be-printed data tin the original printing data file corresponding to the image to be printed is established in the same step. At this time, the printing parameters include a relative displacement between the printing medium and the inkjet head, a number of the nozzles, and printing times of the first shuttle scanning printing. The first mapping relationship is marked as f, and then image data of a certain area of the image to be printed is divided into K equal data blocks according to the printing times K-pass of the first shuttle scanning printing. Heights of the data blocks are equal, so are widths. The data block includes X lines of data, wherein X is a natural number greater than zero. The K data blocks are arranged in an order of printing and recorded as data block D1, data block D2 . . . data block Dk; then the nozzles of a certain pass are divided into K equal parts according to a paper feeding direction, which are recorded as nozzle area J1, nozzle area J2 . . . nozzle area JK, wherein each nozzle area contains the same number of the nozzles, and the height of the data block and the number of the nozzles included in the nozzle area are equal. Therefore, the first mapping relationship f is: an x-th nozzle in nozzle area Jk prints x-th row data in the data block D(k).
According to the first mapping relationship f, the first data corresponding to the abnormal nozzle can be obtained by knowing the position information of the abnormal nozzle, and the position information of the abnormal nozzle can be obtained by knowing the first data. Referring to
At the same time, the compensation nozzle that compensates the abnormal nozzle can also be directly obtained through the printing parameters. At this time, the printing times of the first shuttle scanning printing indicates covering times of a unit area on the printing medium, namely the number of the pass which is an integer greater than 2 or equal to 2. The movement of the printing medium or the inkjet head after each scanning of the inkjet head (one pass of printing), namely the relative displacement between the printing medium and the inkjet head is marked as a paper feeding distance. When the number of the nozzles is equal to that of the nozzles in one pass, the printing times of the first shuttle scanning printing can be obtained by characteristics of the printing apparatus in the printing parameters and printing requirements of a to-be-printed image, wherein the characteristics of the printing apparatus include an accuracy of a single inkjet head and an accuracy of a lateral grating of the printer, and the printing requirements of the to-be-printed image include an accuracy of the to-be-printed image along a paper feeding direction and an accuracy of the to-be-printed image along a direction perpendicular to the paper feeding direction.
The printing times of the first shuttle scanning printing can be obtained through the following formula:
wherein y1 is the printing times of the first shuttle scanning printing, x1 is the accuracy of the to-be-printed image along the paper feeding direction, x2 is the accuracy of the to-be-printed image along the direction perpendicular to the paper feeding direction, x3 is the accuracy of the single inkjet head, x4 is the accuracy of the lateral grating of the printing apparatus, and y, x1, x2, x3, and x4 are integers greater than 0.
The paper feeding distance (the relative displacement between the printing medium and the inkjet head) can be obtained through the following formula:
wherein z is the paper feeding distance, x5 is the number of nozzles of one pass, y is the printing times of the first shuttle scanning printing, and z and x5 are both integers greater than 0.
In some embodiments, determining the position information of the compensation nozzle includes: defining the printing times of the first shuttle scanning printing to be R which is an integer greater than 2, the inkjet head to correspondingly include R groups of the nozzles; when a v-th group of the nozzles includes one or more abnormal nozzles, selecting one or more nozzles form the remaining R−1 groups of the nozzles corresponding to the one or more abnormal nozzles as alternative compensation nozzles, and selecting the compensation nozzle from the alternative compensation nozzles to compensate the abnormal nozzle, and each abnormal nozzle corresponding to at least one compensation nozzle, wherein v is an integer greater than 1.
In this embodiment, the compensation nozzle and the abnormal nozzle are located on the same pass. The nozzles corresponding to the pass are divided into P groups according to the paper feeding direction: a first group nozzles, a second group nozzle, a third group nozzles . . . a (P−1)-th group nozzles, and a P-th group nozzles, wherein each group contains the same number of nozzles. T nozzles in each group are divided according to the paper feeding direction into a first nozzle, a second nozzle, a third nozzle . . . a (T−1)-th nozzle, and a T-th nozzle, wherein T is a natural number greater than 0. There are P−1 compensation nozzles for each abnormal nozzle, and the compensation nozzle and the abnormal nozzle are in different groups. The compensation nozzle and the abnormal nozzle are both an e-th nozzle, wherein e is a natural number greater than 0 and no more than T.
As shown in
S300, based on the printing parameters, acquiring second data corresponding to the compensation nozzle in a normal printing state based on the printing parameters which includes ink out data and ink holding data, determining an address of the ink holding data, and generating compensation data by writing the first data into the address of the ink holding data.
In some embodiments, the pass of the inkjet head may include a plurality of abnormal nozzles, and the method for compensating the abnormal nozzles are the same with each other. Taking one of the abnormal nozzles of one inkjet head in the shuttle scanning printing as an example, the method for compensating the abnormal nozzle is as follows.
Based on the position information of the abnormal nozzle, acquiring the first data corresponding to the abnormal nozzle. In the embodiment, the first data is marked as the first abnormal nozzle printing data.
Supposed that the first abnormal nozzle printing data is:
SrcData1[n]={S1,S2,S3,S4, . . . , Sn}
wherein n is a number of data elements in SrcDatax, and S indicates corresponding data information.
Acquiring the second data of the compensation nozzle in the normal printing state based on the position information of the compensation nozzle, including steps as follows. The data of the printing area includes P data blocks (P is an natural number greater than 0), and the P data blocks include a first data block, a second data block a (P−1)-th data block, and a P-th data block. Thus, a d-th data block is printed by a d-th group of nozzles, wherein d is a natural number greater than 0 and d is less than or equal to P. The second data corresponding to the compensation nozzle is extracted from the P data blocks of the compensation nozzle according to the position information of the compensation nozzle.
Based on the second data and the first abnormal nozzle printing data, the actual printing data of each compensation nozzle can be obtained by compensating the first abnormal nozzle printing data of an e-th abnormal nozzle of an i-th group of nozzle of the corresponding pass according to the following steps, wherein i is a natural number greater than 0 and i is less than or equal to P.
In step S1, determining whether the e-th compensation nozzle of the first group of nozzles is normal or not, if the e-th compensation nozzle is normal, extracting Data 1 of the second data corresponding to the e-th compensation nozzle from the first data block, performing a logical OR operation between the Data 1 of the second data and the first abnormal nozzle printing data to obtain the first actual printing data, and updating the first abnormal nozzle printing data to obtain a second abnormal nozzle printing data, judging whether a number of data of the second abnormal nozzle printing data is equal to 0 or not, if the number of data is equal to 0, ending the compensation, if the number of data blocks is not equal to 0 or the e-th compensation nozzle is abnormal, proceeding to the next step.
In Step S2, determining whether the e-th compensation nozzle of the second group of nozzles is normal or not, if the e-th compensation nozzle is normal, extracting Data 2 of the second data corresponding to the e-th compensation nozzle from the second data block, performing a logical OR operation between Data 2 of the second data and the second abnormal nozzle printing data to obtain the second actual printing data, and updating the second abnormal nozzle printing data to obtain a third abnormal nozzle printing data, determining whether a number of data of the third abnormal nozzle printing data is equal to 0 or not, if the number of data is equal to 0, ending the compensation, if the number of data blocks is not equal to 0 or the e-th compensation nozzle of the second group of nozzles is abnormal, proceeding to the next step.
In step S3, determining whether the e-th compensation nozzle of the third group of nozzles is normal or not, if the e-th compensation nozzle is normal, extracting Data 3 of the second data corresponding to the e-th compensation nozzle from the third data block, performing a logical OR operation between the Data 3 of the second data and the third abnormal nozzle printing data to obtain the third actual printing data, and updating the third abnormal nozzle printing data to obtain a fourth abnormal nozzle printing data, determining whether a number of data of the fourth abnormal nozzle printing data is equal to 0 or not, if the number of data is equal to 0, ending the compensation, if the number of data blocks is not equal to 0 or the e-th compensation nozzle of the third group of nozzles is abnormal, proceeding to the next step.
. . .
In Step Sp, determining whether the e-th compensation nozzle of the P-th group of nozzles is normal or not, if the e-th compensation nozzle is normal, extracting Data P of the second data corresponding to the e-th compensation nozzle from the P-th data block, performing a logical OR operation between the Data P of the second data and the second abnormal nozzle printing data to obtain the P-th actual printing data, ending the compensation since there are no more compensation nozzles.
Supposed that an m-th second data corresponding to the e-th compensation nozzle of the m-th group of nozzles is expressed as follows:
DstDatam[n]={D1,D2,D3,D4, . . . ,Dn}
wherein n is a number of data elements in DstDatam, D indicates corresponding data information, and m is the group number where the compensation nozzle is.
In the embodiment, for a position K in DstDatam, when DstDatam (k)=0, it indicates that the compensation nozzle stopping jetting ink at the position K during printing and the data at the position K in SrcDatam can be compensated by the data at the position K in DstDatam. In some embodiments, the compensation nozzle stopping jetting ink at the position K during printing when DstDatam (k)=5 is also applicable, which indicates that the compensation nozzle stopping jetting ink at the position K during printing. In other embodiments, a value of DstDatam (k) can be any proper value.
Supposed that there is a new algorithm ⊕:
wherein α and β are two numerical values, ⊕ indicates a kind of operation; when β is equal to 0, a result of the operation of α⊕β is α; when β is not equal to 0, the result of the operation of α⊕β is β.
The ⊕ operation is performed between the data in SrcDatax and DstDatam in turn, and assigning results of the operations to DstDatam, that is:
DstDatam′(k)=SrcData1(k)⊕DstDatam(k)k=1,2, . . . , n
wherein DstDatam′ is an m-th actual printing data corresponding to the e-th compensation nozzle of the m-th group of nozzles.
Supposed that there are n data elements in SrcData1 needed to be compensated, and there are n1 ink holding data elements in DstDatam which can be used for compensating the data in SrcData1, extracting the corresponding data elements from SrcData1 to obtain SrcData2:
SrcData2[n−n1]={D1,D2,D3,D4, . . . , D(n−n1)}.
If n−n1=0, it indicates that all the data elements in SrcData1 have been compensated, in this situation, if there is any unprocessed compensation nozzle, the actual printing data is stored as the second data; if there is not any unprocessed compensation nozzle, it indicates that the data of the abnormal nozzles can be just compensated.
If n−n1=0, it indicates that not all the data elements in SrcData1 have been compensated; in this situation, if there is not any unprocessed compensation nozzle, the data in SrcData2 is not processed any more.
If there is any unprocessed compensation nozzle, extracting the second data DstDatam+1 corresponding to the e-th compensation nozzle of an (m+1)-th group of nozzles, and performing the ⊕ operation between the data elements in DstDatam+1 and SrcDat2, and assigning the result of the operation to DstDatam+1, that is:
DstDatam+1(k)=SrcData2(k)⊕DstDatam+1(k)k=1,2, . . . , n
wherein DstDatam+1′ is an (m+1)-th actual printing data corresponding to the compensation nozzle of the (m+1)-th group of nozzles.
Supposed that there is n−n1 data elements in ScrData2 needed to be compensated, and there are n2 ink holding data elements in DstDatam+1 which can be used for compensating the data in ScrData2, deleting the data in SrcDatax+1 corresponding to the n2 ink holding data in DstDatam+1 to obtain ScrData3:
SrcData3[n−n1−n2]={D1,D2,D3,D4, . . . , D(n−n1−n2)}.
Repeating the above judgment until the number of data elements in the abnormal nozzle printing data is equal to 0 or there is not any unprocessed compensation nozzle.
Referring to
The ⊕ operation is performed between the data in SrcData1 and DstData2 to obtain the second actual printing data DstData2 corresponding to the third nozzle of the second group of nozzles and the second abnormal nozzle printing data ScrData2:
SrcData1[20]={S1,S2,S3,S4,S5,S6,S7,S8,S9,S10,S11,S12,S13,S14,S15,S16,S17,S18,S19,S20}′
DstData2[20]={0,1,2,0,3,2,3,0,1,2,0,0,1,3,2,0,3,0,2,1}.
The ink holding data in DstData2 capable of compensating SrcData1 includes DstData2[1]=0, DstData2[4]=0, DstData2[8]=0, DstData2[11]=0, DstData2[12]=0, DstData2[16]=0, and DstData2[18]=0.
Following operations are performed between each data elements in SrcData1 and the corresponding data elements in DstData2:
DstData2′(k)=SrcData1(k)⊕DstData2(k)k=1,2, . . . , 20.
Through the above operations, the second actual compensation printing data DstData2′ is obtained:
DstData2′[20]={s,1,2,S4,3,2,3,S8,1,2,S11,S12,1,3,2,S16,3,S18,2,1}.
And the second abnormal nozzle printing data is:
SrcData2[13]={S2,S3,S5,S6,S7,S9,S10,S13,S14,S15,S17,S19,S20}.
If the number of the data in SrcData2 is not equal to 0, the compensation is continued.
The ⊕ operation is performed between the data elements in SrcData2 and DstData3, to obtain the third actual printing data DstData3′ corresponding to the third nozzle of the third group of nozzles and the third abnormal nozzle printing data ScrData3:
DstData3[13]={0,2,3,0,1,0,2,2,1,3,2,0,3}.
The following operation is performed to each data element in SrcData2 and the corresponding data element in DstData3:
DstData3′(k)=SrcData2(k)⊕DstData3(k)k=1,2, . . . , 13.
Through the above operation, the third actual printing data DstData3′ of the third nozzle of the third group of nozzles is obtained:
DstData3′[13]={S2,2,3,S6,1,S9,2,2,1,3,2,S19,3}.
The third abnormal nozzle printing data is:
SrcData3[9]={S3,S5,S7,S10,S13,S14,S15,S17,S20}.
If the number of data elements in SrcData3 is not equal to 0, the compensation is continued.
The ⊕ operation is performed between the data in SrcData3 and DstData4, to obtain the fourth actual printing data DstData4′ corresponding to the third nozzle of the fourth group of nozzles and the fourth abnormal nozzle printing data ScrData4:
DstData4[9]={2,0,0,0,0,2,0,0,0}.
The ink holding data in DstData4 capable of compensating SrcData2 includes DstData4[2]=0, DstData4[3]=0, DstData4[4]=0, DstData4[5]=0, DstData4[7]=0, DstData4[8]=0, and DstData4[9]=0.
The following operation is performed to each data element in SrcData3 and the corresponding data element in DstData4:
DstData3′(k)=SrcData2(k)⊕DstData3(k)k=1,2, . . . , 9.
The fourth actual printing data DstData4′ of the third nozzle of the fourth group of nozzles is obtained by the following operations:
DstData4′[9]={2,S5,S7,S10,S13,2,S15,S17,S20}.
The fourth abnormal nozzle printing data is:
SrcData4[2]={S3,S14}.
The fourth abnormal nozzle printing data still has two data elements to be compensated, however, since all the compensation holes are used, the compensation is over.
When the second data block F2 is being printed, the third nozzle of the second group c2 performs the printing according to the data in DstData2′; when the third data block is being printed, the third nozzle of the third group c3 performs the printing according to the data in DstData3′, and when the fourth data block is being printed, the third nozzle of the fourth group c4 performs the printing according to the data in DstData4′, Thus, a part of data of the third nozzle of the first group c1 is compensated by the third nozzle of the second group, the third group, and the fourth group, thus, a problem that a printed image has broken lines or a problem that a printing effect is poor due to the abnormality of the nozzle can be avoided.
When there are multiple abnormal nozzles, the compensation for the abnormal nozzles includes following steps.
In step S310, according to the printing parameters and the covering times corresponding to the same area on the printing medium, acquiring the current paper feeding distance covering on the printing medium and a compensation range of the first abnormal nozzle, building a second mapping relationship between the position of the first abnormal nozzle, the printing position of the first abnormal nozzle on the printing medium, and the first data corresponding to the first abnormal nozzle.
In step S320, if the printing position of the first abnormal nozzle on the printing medium is in the current printing range of the inkjet head, storing the second mapping relationship and backing up the first data.
In step S330, searching the stored second mapping relationships to determine whether, in the printing range covering the current printing medium, there is any abnormal nozzle except the first abnormal nozzle with its printing position in the printing range.
In step S340, if there is, marking the corresponding abnormal nozzle as the second abnormal nozzle, and acquiring the printing position information of the second abnormal nozzle on the printing medium according to the second mapping relationship, calculating the compensation nozzle capable of compensating the second abnormal nozzle in the printing range covering the current printing medium, and generating the compensation data by writing the backup of the printing data of the second abnormal nozzle in the second mapping relationship into the address of the ink holding data of the compensation nozzle.
Meanwhile, if the printing position of the first abnormal nozzle on the printing medium is not within the current printing range of the inkjet head, the second mapping relationship is not stored, thus, the mapping relationship of the first abnormal nozzle cannot be searched and thus the first abnormal nozzle cannot be compensated by the current printing.
The above second mapping relationship is built through the following method.
Defining a parameter P as the printing times of the first shuttle scanning printing, wherein P is an integer equal to or greater than 2, that is, each block of image is formed by P times of printing (that is, P passes). defining X as the current printing index, which indicates the current printing times counted from the beginning of the printing. Calculation is performed to determine whether all the abnormal nozzles are in the printing range of the P times of printing including the current printing. Taking one of the abnormal nozzles as the 1st nozzle, the beginning printing position of an X-th printing is marked as Sx which is equal to the relative displacement between the printing medium and the inkjet head in the previous X times of printing, a newly-increased covering distance on the printing medium of the X-th printing is marked as hx, a height of the inkjet is marked as H, then a newly-increased covering range of the X-th printing is [Sx+H−hx, Sx+H]. taking the distance between the 1st nozzles as W in the direction, along which the said nozzle has a relative increasing displacement against the printing medium, initial positions of an (x+0)-th, an (X+1)-th, . . . an (X+P−1)-th printing being respectively Sx, Sx+1, . . . SX+P−1, and the newly-increased covering range of each printing being [Sx+H−hx, Sx+H], and the printing positions of the 1st nozzle being respectively Sx+W, Sx+1+W, . . . , SX+P−+W. If the printing position of the 1st nozzle on the printing medium in not within the newly-increased covering range, the second mapping relationship will not be stored; if the printing position of the 1st nozzle on the printing medium is within the newly-increased covering range and is different from the stored second mapping relationship, storing the second mapping relationship, and extracting the first data of the 1st nozzle. The second mapping relationship includes the corresponding printing index and the printing position of the 1st nozzle. Referring to
Generating the compensation data by writing the first data into the address of the ink holding data of the second data according to the printing parameters and the second mapping relationship includes steps as follows.
When the current printing is the X-th printing, individually searching the stored second mapping relationships; marking the abnormal nozzle corresponding to one of the mapping relationships as a 2nd nozzle, extracting a printing position of the 2nd nozzle from the second mapping relationship; if the printing position of the 2nd nozzle is less than the initial position of the current printing, the mapping relationship is considered as outdated and is deleted from the storage; if the printing position of the 2nd nozzle is greater than the initial position of the current printing, the mapping relationship is valid; if Zx, which is obtained by subtracting the initial position of the current printing from the printing position of the 2nd nozzle, is less than H, the first printing data corresponding to the 2nd nozzle can be compensated, that is, the missed printing line is located in the range of the inkjet head. If the nozzle at the position Zx is a normal one, then the nozzle at the position Zx is the compensation nozzle of the 2nd nozzle which is marked as a 3rd nozzle. The compensation data of the 3rd nozzle can be obtained by writing the first data of the 2nd nozzle into the address of the ink holding data of the second data corresponding to the 3rd nozzle. The printing data of the 3rd nozzle includes the original ink out data and the written compensation data. The compensated data corresponding to the 2nd nozzle which has been written into the 3rd nozzle stored in the storage is erased. For the 2nd nozzle, during the process in which the relative displacement between the printing medium and the inkjet head is increased, the third data, the fourth data, an N-th data of the 2nd nozzle is continuously obtained until the writing of the data of the 2nd nozzle is finished or the mapping relationship of corresponding to the 2nd nozzle is outdated. The third data is the remaining to-be-compensated data of the second data after compensation, the fourth data is the remaining to-be-compensated data of the third data after compensation, and the N-th data of the remaining to-be-compensated data of an (N−1)-th data after compensation, wherein 4 and N is an integer.
Referring to
When the current printing is the first pass printing, the initial printing position is 0 (under the same standard), the value obtained by subtracting the initial position of the current printing from the printing position corresponding to the second mapping relationship is 10, which is less than the height 10 of the inkjet head. At this time, since the nozzle which is distanced from the first nozzle at 10 in the direction along which the relative displacement between the inkjet head and the printing medium is increased is a normal one, the first compensation nozzle of the second mapping relationship is obtained. The compensation data of the first compensation nozzle is obtained by writing the printing data of the second mapping relationship into the address of the ink holding data of the second compensation nozzle. The part of the printing data of the second mapping relationship which has been compensated is erased to obtain the first post-compensated data of the second mapping relationship.
When the current printing is the second pass printing, the initial printing position is 3, the value obtained by subtracting the initial position of the current printing from the printing position corresponding to the second mapping relationship is 7, which is less than the height 12 of the inkjet head. At this time, since the nozzle which is distanced from the first nozzle at 7 in the direction along which the relative displacement between the inkjet head and the printing medium is increased is a normal one, the second compensation nozzle of the second mapping relationship is obtained. The compensation data of the second compensation nozzle is obtained by writing the first post-compensated data into the address of the ink holding data of the second compensation nozzle. The part of the first post-compensated data which has been compensated in the printing is erased to obtain the second post-compensated data of the second mapping relationship.
When the current printing is the third pass printing, the initial printing position is 6, the value obtained by subtracting the initial position of the current printing from the printing position corresponding to the second mapping relationship is 4, which is less than the height 12 of the inkjet head. At this time, since the nozzle which is distanced from the first nozzle at 4 in the direction along which the relative displacement between the inkjet head and the printing medium is increased is an abnormal one, thus, the compensation for second mapping relationship cannot be performed.
When the current printing is the fourth pass printing, the initial printing position is 9, the value obtained by subtracting the initial position of the current printing from the printing position corresponding to the second mapping relationship is 1, which is less than the height 12 of the inkjet head. At this time, since the nozzle which is distanced from the first nozzle at 1 in the direction along which the relative displacement between the inkjet head and the printing medium is increased is a normal one, the third compensation nozzle of the second mapping relationship is obtained. The compensation data of the third compensation nozzle is obtained by writing the second post-compensated data into the address of the ink holding data of the third compensation nozzle. The part of the second post-compensated data which has been compensated in the printing is erased to obtain the third post-compensated data of the first mapping relationship.
When the current printing is the fifth pass printing, the initial printing position is 12, and the printing position 10 of the first abnormal nozzle is less than the initial printing position 12 of the current printing, thus, the first mapping relationship cannot be compensated from the fifth printing and the compensation is over.
The method for compensating abnormality of the nozzle is given in detail as above.
Referring to
In step S1201, determining the position information of the abnormal nozzle in the inkjet head.
In step S1202, acquiring the printing parameters and feathering the first printing data corresponding to the printing parameters to obtain the second printing data.
In step S1203, based on the position information of the abnormal nozzle, acquiring the first data corresponding to the abnormal nozzle from the second printing data, and based on the position information of the abnormal nozzle and the printing parameters, determining the position information of the compensation nozzle in the inkjet head for compensating the first data corresponding to the abnormal nozzle.
In step S1204, based on the position information of the compensation nozzle, acquiring the second data corresponding to the compensation nozzle in a normal printing state from the second printing data, wherein the second data includes the ink out data and the ink holding data.
The second printing data includes the first data and the second data.
In the embodiment, the printing parameters include a first feathering amplitude, and feathering the first printing data corresponding to the printing parameters to obtain the second printing data includes following steps.
Obtaining the printing times of the second shuttle scanning printing based on the printing times of the first shuttle scanning printing and the first feathering amplitude, wherein the printing times of the second shuttle scanning printing is greater than that of the first shuttle scanning printing.
Feathering the to-be-printed first printing data to obtain the second printing data based on the printing times of the second shuttle scanning printing, wherein the number of the ink holding data elements in the second printing data is greater than that of the ink holding data elements in the first printing data.
In the embodiment, the second printing data is obtained by feathering the first printing data corresponding to the printing parameters, and the number of the ink holding data elements in the feathered second printing data is greater than the number of the ink holding data elements in the first printing data, thus, the chance for compensating the abnormal nozzle is improved. The method for compensating the abnormal nozzle is the same as that provided in the best mode, the difference there between lies in that the data of all the nozzles including the first data of the abnormal nozzle and the second data of the compensation nozzle are obtained from the feathered second printing data, and the position information of the compensation nozzle is determined through the printing times of the second shuttle scanning printing.
The paper feeding distance (the relative displacement between the printing medium and the inkjet head) after the second printing data is feathered can be obtained through the following formula:
wherein x5 is a number of the nozzles in one pass, r is a number of feathering points obtained through the feathering amplitude, y1 is the printing times of the first shuttle scanning printing, q is the paper feeding distance.
The printing times of the second shuttle scanning printing can be obtained through the following formula:
wherein y2 is the printing times of the second shuttle scanning printing, “┌ ┐” is a ceiling symbol.
The feathering process of the first printing data includes: based on the number of the feathering points, dividing a first printing data matrix corresponding to the first printing data of the corresponding pass in a to-be-printed area into 3 parts, which are respectively a first printing data matrix, a second printing data matrix, and a third printing data matrix, wherein a height of the first printing data matrix is equal to that of the third printing data matrix, the first, second, and third printing data matrixes have the same width, and the sum of the heights of the first, the second, and the third printing data matrixes is equal to the number of the nozzles in the corresponding pass.
A feathering template is preset. The feathering template is selected according to the number of the feathering points. A feathering data matrix corresponding to the feathering template is extracted, and a complementary feathering data matrix is obtained by subtracting the feathering data matrix from an unit matrix, wherein a height of the unit matrix is equal to that of the feathering data matrix, and a width of the unit matrix is equal to that of the feathering data matrix. A logical AND operation is performed between the feathering data matrix and the first printing data matrix to obtain a first feathering data matrix, a logical AND operation is performed between the complementary feathering data matrix and the third printing data matrix to obtain a second feathering data matrix, the first feathering data matrix, the second printing data matrix, and the second feathering data matrix are combined to form the second printing data matrix of the corresponding pass of the corresponding to-be-printed area, wherein the number of the ink holding data elements in the second printing data is greater than that of the ink holding data elements in the first printing data. Thus, the chance for compensating the first data corresponding to the abnormal nozzle is improved. In the embodiment, the height of the feathering data matrix is equal to that of the first printing data matrix, and the width of the feathering data matrix is equal to that of the first printing data matrix. In other embodiments, the width of the feathering data matrix can be less than that of the first printing data matrix, and the width of the feathering data matrix can be equal to that of the first printing data matrix, which is not limited hereinafter.
In the embodiment, the first feathering data matrix is obtained by performing a logical AND operation between the feathering data matrix and the first printing data matrix. The first feathering data matrix can be:
M1=M.×T
wherein T is the feathering data matrix, M is the first printing data matrix, .× is the dot product between the two matrixes, and M1 is the first feathering data matrix.
The complementary feathering data matrix can be obtained through the following formula:
T′=E−T
wherein E is the unit matrix with all elements therein being equal to 1, and T′ is the complementary feathering data matrix.
The second feathering data matrix is obtained by performing a logical AND operation between the complementary data matrix and the third printing data matrix:
M2=M′.×T′
wherein M′ is the third printing data matrix, .× is the dot product between matrixes, and M2 is the second feathering data matrix.
As shown in
The data of the first nozzle of the second group c2 is compensated as follows. The first data being marked as SrcData1 corresponding to the first nozzle is extracted from the second data block F2, the second data corresponding to the first nozzle in the first data block F1 is marked as DstData1, the second data corresponding to the first nozzle in the third data block F3 is marked as DstData3, the second data corresponding to the first nozzle in the fourth data block F4 is marked as DstData4, the second data corresponding to the first nozzle in the fifth data block F5 is marked as DstData5, and second data corresponding to the first nozzle in the sixth data block F6 is marked as DstData6.
The ⊕ operation is performed between the data in SrcData1 and the data in DstData1 to obtain the first actual printing data DstData1, of the first nozzle of the first group c1 and the second abnormal nozzle printing data SrcData2:
SrcData1[20]={S1,S2,S3,S4,S5,S6,S7,S8,S9,S10,511,S12,S13,S14,S15,S16,S17,S18,S19,S20}′
DstData1[20]={0,1,2,0,3,2,3,0,1,2,0,0,1,3,2,0,3,0,2,1}.
The ink holding data in DstData1 capable of compensating SrcData1 includes DstData1[1]=0, DstData1[4]=0, DstData1[8]=0, DstData111=0, DstData1[12]=0, DstData1[16]=0, and DstData1[18]=0.
The following operation is performed between each data element in SrcData1 and the corresponding data element in DstData1:
DstData1′(k)=SrcData1(k)⊕DstData1(k)k=1,2, . . . , 20.
Through the above operation, the first actual printing data DstData1, of the first nozzle of the first group c1 and the second abnormal nozzle printing data are obtained:
DstData1′[20]={S2,S4,3,2,3,S8,1,2,S11,S12,1,3,2,S16,3,S18,2,1}.
The second abnormal nozzle printing data is:
SrcData2[13]={S2,S3,S5,S6,S7,S9,S10,S13,S14,S15,S17,S19,S20}.
Since the number of the data elements in SrcData2 is not equal to 0, the compensation is continued.
The ⊕ operation is performed between the data in SrcData2 and the data in DstData3 to obtain the third actual printing data DstData3′ of the first nozzle of the third group c3 and the third abnormal nozzle printing data SrcData3:
DstData3[13]={0,2,3,0,1,0,2,2,1,3,2,0,3}.
The ink holding data in DstData3 capable of compensating SrcData2 includes DstData3[1]=0, DstData3[4]=0, DstData3[6]=0, and DstData3[12]=0.
The following operation is performed between each data element in SrcData2 and the corresponding data element in DstData3:
DstData3′(k)=SrcData2(k)⊕DstData3(k)k=1 2, . . . ,13.
Through the above operation, the third actual printing data DstData3′ of the first nozzle of the third group c3 and the third abnormal nozzle printing data are obtained:
DstData3′[13]={S2,2,3,S6,1,S9,2,2,1,3,2,S19,3}.
The third abnormal nozzle printing data is:
SrcData3[9]={S3,S5,S7,S10,S13,S14,S15,S17,S20}.
Since the number of the data elements in SrcData3 is not equal to 0, the compensation is continued.
The ⊕ operation is performed between the data in SrcData3 and the data in DstData4 to obtain the fourth actual printing data DstData4′ of the first nozzle of the fourth group c4 and the fourth abnormal nozzle printing data SrcData4:
DstData4[9]={2,0,0,0,0,2,0,0,0}.
The ink holding data in DstData4 capable of compensating SrcData2 includes DstData2[2]=0, DstData4[3]=0, DstData4[4]=0, DstData4[5]=0, DstData4[7]=0, DstData4[8]=0, DstData4[9]=0.
The following operation is performed between each data element in SrcData3 and the corresponding data element in DstData4:
DstData4′(k)=SrcData5(k)⊕DstData4(k)k=1,2, . . . , 9.
Through the above operation, the fourth actual printing data DstData4′ of the first nozzle of the fourth group c4 and the fourth abnormal nozzle printing data are obtained:
DstData4′[9]={2,S5,S7,S10,S13,2,S15,S17,S20}.
The fourth abnormal nozzle printing data is:
SrcData4[2]={S3,S14}.
The ⊕ operation is performed between the data in SrcData3 and the data in DstData5 to obtain the fifth actual printing data DstData5, of the first nozzle of the fifth group c5 and the fifth abnormal nozzle printing data SrcData5:
DstData5[9]={0,0}.
The ink holding data in DstData5 capable of compensating SrcData2 includes DstData5[3]=0, and DstData5[14]=0.
The following operation is performed between each data element in SrcData4 and the corresponding data element in DstData5:
DstData5′(k)=SrcData4(k)⊕DstData5(k)k=1,2.
Through the above operation, the fifth actual printing data DstData5, and the fifth abnormal nozzle printing data are obtained:
DstData5′[9]={S3,S14}.
The fifth abnormal nozzle printing data is:
SrcData5[0]={ }.
Since the number of the data elements in the fifth abnormal nozzle printing data is equal to 0, the data of the first nozzle of the second group c2 is all compensated, and the compensation is finished.
The first data block F1 is printed by the first nozzle in the first group c1 with the data in DstData1, the third data block F3 is printed by the first nozzle of the third group c3 with the data in DstData3′, the fourth data block F4 is printed by the first nozzle of the fourth group c4 with the data in DstData4′, the fifth data block F5 is printed by the first nozzle of the fourth group c4 with the data in DstData5′, and the sixth data block F6 is printed by the first nozzle of the sixth group c6 with the data in DstData6′. Thus, the part of data of the third nozzle of the second group c2 is compensated by the first nozzles of the first group c1, the third group c3, the fourth group c4, and the fifth group c5. The method for compensating the second nozzle of the fourth group c4 is the same as that for compensating the first nozzle of the second group c2, which is not given in detail hereinafter anymore. Other parts of the embodiment 1 are the same as those of the best mode, and detail illustration for these parts can be found in the best mode.
Referring to
Referring to
In step S151, determining the position information of the abnormal nozzle of the inkjet head.
In step S152, acquiring the printing parameters and obtaining a printing overlapping area, and feathering the first printing data corresponding to the printing overlapping area to obtain the second printing data.
In step S153, based on the position information of the abnormal nozzle and the printing parameters, acquiring the first data corresponding to the abnormal nozzle from the second printing data, and determining the position information of the compensation nozzle for compensating the first data corresponding to the abnormal nozzle in the inkjet head.
In step S154, based on the position information of the compensation nozzle and the printing parameters, acquiring the second data corresponding to the compensation nozzle in a normal printing state from the second printing data which includes the ink out data and the ink holding data, determining an address of the ink holding data in the second data, and generating the compensation data by writing the first data into the address of the ink holding data in the second data.
In an embodiment, the printing overlapping area is determined by the printing parameters, and the first printing data corresponding to the printing overlapping area is feathered to obtain the second printing data. The feathering amplitude is set such that the number of feathering points and the printing overlapping area are obtained through the feathering amplitude. A number of overlapping nozzles corresponding to the printing overlapping area is equal to that of the number of the feathering points. The relative displacement between the printing medium and the inkjet head, which is marked as a number of paper feeding points, is obtained by the number of feathering points. The position information of the compensation nozzle for compensating the printing data corresponding to the abnormal nozzle is determined by the number of paper feeding points, and the compensation nozzle and the abnormal nozzle are in the same pass.
The number of paper feeding points is obtained through the following formula:
x2=x1−r
wherein x1 is the number of nozzles in the corresponding pass, r is the number of feathering points, x2 is the number of the paper feeding points, and x1, r, x2 are all integers greater than 0.
The nozzles are numbered in the corresponding pass along the paper feeding direction, and a serial number of the abnormal nozzle is determined according to the position information of the abnormal nozzle. When the serial number the abnormal nozzle is greater than the number of feathering points but is less than the number of the paper feeding points, the first data corresponding to the abnormal nozzle cannot be compensated since there are no compensation nozzles.
When the serial number of the abnormal nozzle is less than or equal to the number of feathering points, a serial number of the compensation nozzle for compensating the printing data corresponding to the abnormal nozzle is obtained by the following formula:
Y=T+x2
wherein Y is the serial number of the compensation nozzle, and T is the serial number of the abnormal nozzle.
When the serial number of the abnormal nozzle is greater than or equal to the number of the paper feeding points, the serial number of the compensation nozzle for compensating the printing data corresponding to the abnormal nozzle is obtained by the following formula:
Y=T−x2
wherein Y is the serial number of the compensating nozzle, and T is the serial number of the abnormal nozzle.
Supposed that the printing data corresponding to the pass after an m-th paper feeding is the original printing data matrix. Based on the number of feathering points, the original printing matrix is divided into a first printing data matrix, a second printing data matrix, and a third printing data matrix. A sum of heights of the first printing data matrix, the second printing data matrix, and the third printing data matrix is equal to the number of nozzles in the corresponding pass, the height of the first printing data matrix is equal to that of the third printing data matrix, and the height of the first printing data matrix is equal to the number of the feathering points. The first and third printing data matrixes are located in the printing overlapping area, and the printing data corresponding to the printing overlapping area is the first printing data. The original printing data corresponding to the original printing data matrix includes the first printing data. Since the original printing data matrix includes the first printing data and the height of the first printing data is equal to the number of feathering points, the greater the feathering amplitude is, the greater the overlapping area is. With a larger overlapping are, there are more abnormal nozzles in the overlapping area, thus, the chance for compensating the abnormal nozzle is improved. The data corresponding to the matrix formed by combining the first printing data matrix and the third printing data matrix is the first printing data.
For example, in the embodiment, the number of the nozzles in the corresponding pass is 12, when the number of the feathering points is 2dot and the number of paper feeding points is 10dot, the height of the first printing data matrix is 2dot, the height of the second printing data matrix is 8dot, and the height of the third printing data matrix is 2dot.
When the number of feathering points is equal to one half of the number of the nozzles, the second printing data matrix does not exist.
For example, in the embodiment, the number of the nozzles in the pass is 18, when the number of feathering points is 9dot and the number of paper feeding point is 9dot, the height of the first printing data matrix is 9dot, the height of the third printing data matrix is 9dot, and the second printing data matrix does not exist.
When the serial number of the abnormal nozzle is less than or equal to the number of feathering points, based on the serial number of the abnormal nozzle, the first data of the abnormal nozzle can be obtained from the second printing data matrix corresponding to the m-th paper feeding process.
Based on the position information of the compensation nozzle, the second data corresponding to the compensation nozzle can be obtained from the second printing data matrix corresponding to the (m−1)-th paper feeding process. A logical OR operation is performed between the first data corresponding to the abnormal nozzle and the second data of the corresponding compensation nozzle to obtain the actual printing data of the compensation nozzle.
Referring to
SrcData1[20]={S1,S2,S3,S4,S5,S6,S7,S8,S9,S10,S11,S12,S13,S14,S15,S16,S17,S18,S19,S20}
The second data of the NO. 1 nozzle obtained in the second printing data matrix corresponding to the second paper feeding process Q2 is:
DstData2[20]={0,1,2,0,3,2,3,0,1,2,0,0,1,3,2,0,3,0,2,1}.
The ink holding data in DstData2 for compensating SrcData1 includes DstData2[1]=0, DstData2[4]=0, DstData2[8]=0, DstData2[11]=0, DstData2[12]=0, DstData2[16]=0, and DstData2[18]=0.
The following operation is performed between each data element of SrcData1 and the corresponding data element of DstData2:
DstData2′(k)=SrcData1(k)⊕DstData2(k)k=1,2, . . . , n.
Through the above operation, the actual printing data DstData2′ of the compensation nozzle of the NO. 1 nozzle in the second paper feeding process Q2 is:
DstData2′[20]={S2,S4,3,2,3,S8,1,2,S11,S12,1,3,2,S16,3,S18,2,1}
In the second paper feeding process Q2, the NO. 1 nozzle performs the printing according to the data in DstData2′. The part of data in the NO. 9 nozzle in the first paper feeding process Q1 is compensated by the NO. 1 nozzle in the second paper feeding process Q2, thus, broken lines or blank spaces in the printed image caused by the abnormal nozzle can be avoided. The other parts of the method for compensating the abnormal nozzle of the embodiment 2 is the same as that provided in the best mode or the embodiment 1; for detailed illustration of Embodiment 2, please refer to the description of the best mode or the embodiment 1.
Referring to
In step S171, obtaining a physical overlapping nozzle area based on the printing parameters, feathering the first printing data corresponding to the overlapping nozzle area to obtain the second printing data.
In step S172, obtaining the position information of the abnormal nozzle in the overlapping nozzle area, and obtaining the first data corresponding to the abnormal nozzle from the second printing data based on the position information of the abnormal nozzle.
In step S173, based on the position information of the abnormal nozzle, obtaining the position information of the compensation nozzle for compensating the first data corresponding to the abnormal nozzle from the overlapping nozzle area.
In step S174, based on the position information of the compensation nozzle, obtaining the second data corresponding to the compensation nozzle from the second printing data, wherein the second data includes the ink out data and the ink holding data.
In step S175, determining the address of the ink holding data in the second data, and generating the compensation data by writing the first printing data into the address of the ink holding data.
In some embodiments, supposed that the number of the inkjet heads is n. For the m-th inkjet head, when m=1, the first inkjet head includes one overlapping nozzle area which is marked as a first overlapping nozzle area; the first inkjet head further includes a first non-overlapping nozzle area; the nozzle number corresponding to the first overlapping nozzle area is marked as a first overlapping nozzle number, the nozzle number corresponding to the first non-overlapping nozzle is marked as a first non-overlapping nozzle number. When 1<m<n, the m-th inkjet head includes two overlapping nozzle areas which are respectively a second overlapping nozzle area and a third overlapping nozzle area; the second overlapping nozzle area and the third overlapping nozzle area are arranged according to an arrangement direction of the inkjet heads; the m-th inkjet head further includes a second non-overlapping nozzle area, and the nozzle number corresponding to the second overlapping nozzle area is marked as a second overlapping nozzle number, the nozzle number corresponding to the third overlapping nozzle area is marked as a third overlapping nozzle number. For the m-th inkjet head, when m=1, the first overlapping nozzle number of the first inkjet head is equal to the second overlapping nozzle number of the second inkjet head; when 1<m<n, the second overlapping nozzle number is equal to the third overlapping nozzle number of the (m−1)-th inkjet head. As shown in
The inkjet heads are numbered according to an arrangement direction of the inkjet heads, and the nozzles in each inkjet head are numbered according to the arrangement direction of the inkjet heads to obtain the serial number of each nozzle. The serial number of the abnormal inkjet head having the abnormal nozzle and the serial number of the abnormal nozzle are determined based on the position information of the abnormal nozzle, and the serial number of the compensation inkjet head and the serial number of the compensation nozzle are determined according to the serial number of the abnormal inkjet head and the serial number of the abnormal nozzle.
For the X-th abnormal nozzle in the m-th inkjet head wherein X is a natural number greater than 0, when the serial number X of the abnormal nozzle is less than or equal to the second overlapping nozzle number of the m-th inkjet head, the compensation nozzle for compensating the printing data corresponding to the abnormal nozzle is located in the (m−1)-th inkjet head, and the serial number of the compensation nozzle can be obtained through the following formula:
Y=X+D+Z
wherein Y is the serial number of the compensation nozzle, X is the serial number of the abnormal nozzle, D is the second non-overlapping nozzle number of the (m−1)-th nozzle, and Z is the second overlapping nozzle number of the (m−1)-th nozzle.
When the serial number X of the abnormal nozzle is greater than or equal to the sum of the second overlapping nozzle number and the second non-overlapping nozzle number of the m-th inkjet head, the compensation nozzle for compensating the printing data corresponding to the abnormal nozzle is located in the (m+1)-th inkjet head, and the serial number of the compensation nozzle can be obtained through the following formula:
Y=X−T−U
wherein Y is the serial number of the compensation nozzle, X is the serial number of the abnormal nozzle, T is the second non-overlapping nozzle number of the m-th nozzle, and U is the third overlapping nozzle number of the m-th nozzle.
Referring to
For the X-th abnormal nozzle in the first inkjet head, when the X-th abnormal nozzle is located in the first overlapping area, a logical AND operation is performed between a first overlapping data matrix corresponding to the first overlapping area and a feathering data matrix to obtain a first overlapping feathering data matrix, the printing data corresponding to the first overlapping feathering data matrix is a first feathering data. A logical AND operation is performed between a second overlapping data matrix corresponding to the second overlapping area and the complementary data matrix to obtain a second overlapping complementary feathering data matrix, and the printing data corresponding to the second overlapping complementary data matrix is second feathering data. The first printing data matrix corresponding to the first printing data includes the first overlapping data matrix of the first inkjet head, the second overlapping data matrix of the second inkjet head. The first feathering data and the second feathering data form the second printing data.
The first data corresponding to the X-th abnormal nozzle is extracted from the first overlapping feathering data matrix, and the second data for compensating the X-th abnormal nozzle is extracted from the second overlapping complementary feathering data matrix. The actual printing data of the compensation nozzle can be obtained by performing operation between the first data and the second data.
Referring to
The first data of the NO. 9 nozzle in the first inkjet head P1 is:
SrcData1[20]={S1,S2,S3,S4,S5,S6,S7,S8,S9,S10,S11,S12,S13,S14,S15,S16,S17,S18,S19,S20}
The second data of the NO. 1 nozzle in the second inkjet head P2 is:
DstData2[20]={0,1,2,0,3,2,3,0,1,2,0,0,1,3,2,0,3,0,2,1}.
The ink holding data in DstData2 capable of compensating SrcData1 includes DstData2[1]=0, DstData2[4]=0, DstData2[8]=0, DstData2[11]=0, DstData2[12]=0, DstData2[16]=0, and DstData2[18]=0, wherein the remaining data in DstData2 is ink out data.
The following operation is performed between each data element in SrcData1 and the corresponding data element in DstData2:
DstData2′(k)=SrcData1(k)⊕DstData2(k)k=1,2, . . . , n.
Through the above operations, the actual printing data DstData2′ of the compensation nozzle of the NO. 1 nozzle in the second inkjet head P2 can be obtained:
DstData2′[20]={S1,1,2,S4,3,2,3,S8,1,2,S11,S12,1,3,2,S16,3,S18,2,1}.
The NO. 1 nozzle in the second inkjet head P2 performs printing according to the data in DstData2′, thus, the part of data in the printing data corresponding to the abnormal nozzle can be compensated by the NO. 1 nozzle, which avoids broken lines or blank spaces in the printed image caused by the abnormal nozzles in one area. The other parts of the embodiment 3 are the same as those provided in the best mode, the embodiment 1, or the embodiment 2; for detailed illustration of the embodiment 2, please refer to the description of the best mode, the embodiment 1, or the embodiment 2
Referring to
an abnormal nozzle position determination module 10, wherein the abnormal nozzle position determination module 10 is configured for determining position information of an abnormal nozzle in an inkjet head of the inkjet printer;
a compensation nozzle position determination module 20, wherein compensation nozzle position determination module 20 is configured for acquiring printing parameters, determining first data corresponding to the abnormal nozzle, and based on the position information of the abnormal nozzle and the printing parameters, determining position information of a compensation nozzle for compensating the first data of the abnormal nozzle; and
a compensation data generation module 30, wherein the compensation data generation module 30 is configured for, based on the printing parameters, acquiring second data of the compensation nozzle in a normal printing data wherein the second data includes ink out data and ink holding data, determining an address of the ink holding data in the second data, and generating compensation data by writing the first data into the address of the ink holding data. The other parts of the embodiment 4 are the same as those provided in the best mode, the embodiment 1, the embodiment 2, or the embodiment 3. For detailed description of the embodiment 4, please refer to the description in the beset mode and the embodiments 1 to 3.
Referring to
As mentioned above, the compensation method and device for nozzle abnormality, and the printer provided in embodiments of the present invention not only overcome the problem that the quality of the printed image is poor due to the abnormal nozzle, but also reduce the maintenance cost of the inkjet head.
It should be clear that the present invention is not limited to the specific configurations and processes described above and shown in the drawing. For simplicity, detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications and additions, or change the order between the steps within the spirit of the present invention.
What mentioned above are only the embodiments of the present invention, which are not to limit the scope of the patent of the present invention. Any equivalent structure or equivalent transformation of the procedure made with the specification and the pictures attached of the present invention, or directly or indirectly using the specification and the pictures attached of the present invention into other relevant technical fields, is included in the scope of the patent protection of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
201810046388.7 | Jan 2018 | CN | national |
201810046389.1 | Jan 2018 | CN | national |
201810046390.4 | Jan 2018 | CN | national |
201810046393.8 | Jan 2018 | CN | national |
201810046981.1 | Jan 2018 | CN | national |
201810047077.2 | Jan 2018 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2019/071922 | 1/16/2019 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2019/141180 | 7/25/2019 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
20190001702 | Reyero | Jan 2019 | A1 |
Number | Date | Country |
---|---|---|
1191934 | Mar 2005 | CN |
1287988 | Dec 2006 | CN |
100396490 | Jun 2008 | CN |
101372180 | Feb 2009 | CN |
100513175 | Jul 2009 | CN |
100548682 | Oct 2009 | CN |
1939729 | Oct 2010 | CN |
105479945 | Apr 2016 | CN |
104441997 | Aug 2016 | CN |
WO-2018190861 | Oct 2018 | WO |
Number | Date | Country | |
---|---|---|---|
20210078338 A1 | Mar 2021 | US |