The present invention contains subject matter related to Japanese Patent Application No. 2011-110205 filed in the Japanese Patent Office on May 17, 2011, the entire contents of which are incorporated herein by reference.
1. Technical Field
The present invention relates to a technique of detecting a failing nozzle in a printing apparatus.
2. Related Art
When some ink ejecting nozzles mounted in a printing head of an ink jet type printing apparatus fail, a streak of bad printing may appear on a print medium. According to a technique described in JP-A-2010-240911, for example, a print medium having an image printed thereon is scanned while transporting the print medium in a predetermined direction, and the scanned result is compared with a reference image to detect a failing nozzle. In a case of scanning an image while transporting the print medium, however, when there is an error in the amount of transportation of the print medium by a transporting mechanism due to some factor, the comparison with the reference image may not be carried out accurately, thus lowering the accuracy of detecting a failing nozzle.
JP-A-2010-173289 is also an example of related art.
An advantage of some aspects of the invention is to provide a technique of accurately detecting a failing nozzle even when the amount of transportation of a print medium is deviated due to some factor.
To achieve at least part of the advantage, the invention may be achieved in the following modes or as the following application examples.
A failing nozzle detecting apparatus for detecting a failing nozzle based on a print medium on which an image represented by image data is printed with a printing head having a plurality of nozzles, and which is relatively transported in a transporting direction by a transporting unit, the apparatus including a reference image generating unit that generates plural pieces of reference image data with pixel positions along the transporting direction respectively shifted by different offsets based on the image data; a scanning unit that scans an image on the print medium relatively transported by the transporting unit to generate scanned image data; a selecting unit that selects reference image data to be used in comparison with the scanned image data from the plural pieces of reference image data; and a detecting unit that detects a failing nozzle from the plurality of nozzles based on the comparison of the scanned image data with the selected reference image data.
According to this configuration, plural pieces of reference image data with different pixel positions along the transporting direction are generated, reference image data to be compared with the scanned image data is selected from those pieces of reference image data, and the selected reference image data is compared with the scanned image data to detect a failing nozzle. Even when the amount of transportation of the print medium is deviated due to some factor, therefore, a failing nozzle can be detected accurately.
In the failing nozzle detecting apparatus according to the Application Example 1, the reference image generating unit generates the plural pieces of reference image data using an offset position corresponding to the reference image data selected by the selecting unit as a reference position.
According to this configuration, plural pieces of reference image data are generated based on an offset position corresponding to reference image data once selected, so that reference image data which ensures adequate comparison with scanned image data can be generated. Further, the generation of reference image data which ensures adequate comparison with scanned image data can reduce the quantity of reference image data to be generated.
In the failing nozzle detecting apparatus according to the Application Example 1 or the Application Example 2, a quantity of the reference image data generated by the reference image generating unit is set based on an expected amount of transporting deviation of the print medium.
According to this configuration, when the expected amount of transporting deviation of a print medium is small, the quantity of reference image data to be generated can be reduced accordingly.
In the failing nozzle detecting apparatus according to any one of the Application Examples 1 to 3, the reference image generating unit generates the plural pieces of reference image data by stepwisely shifting each of pixel positions of the plural pieces of reference image data in the transporting direction by an amount equal to or less than double the amount of transporting deviation allowable in the comparison in the detecting unit.
According to this configuration, plural pieces of reference image data with their pixel positions shifted stepwisely by an amount equal to or less than double the amount of transporting deviation allowable in the comparison in the detecting unit are generated, so that regardless of whether the scanned image data and reference image data are shifted in the forward direction or the opposite direction along the transporting direction, both image data can be adequately compared with each other.
The invention may be achieved as a failing nozzle detecting apparatus including a transporting unit, a printing apparatus including a printing head and a failing nozzle detecting apparatus, a failing nozzle detecting method, and a computer program in addition to the aforementioned failing nozzle detecting apparatuses. The computer program may be recorded on a computer readable recording medium. Available examples of the recording medium include a flexible disk, CD-ROM, DVD-ROM, magneto-optical disc, memory card, and hard disk.
The invention will be described with reference to the accompanying drawings, wherein like numbers reference like elements.
The head unit 200 includes an ejecting head including ink ejecting nozzles for ink of each color, namely, black (K), cyan (C), magenta (M) or yellow (Y). The ejecting head ejects inks from the ink ejecting nozzles by controlling the voltages of unillustrated piezoelectric elements. According to the embodiment, the printing apparatus 10 makes printing with four color inks, but may differ from the foregoing type in the types of colors in use or the number of colors in use.
The transporting unit 300 (see
The scanning unit 400 is disposed downstream of the head unit 200 in the transporting direction. The scanning unit 400 scans a printed image on the print medium P which is transported by the transporting unit 300. The scanning unit 400 includes an image sensor and a light source both unillustrated. A CCD image sensor or a CMOS image sensor, for example, may be used as the image sensor. A white LED or a white CCFL (Cold-Cathode Fluorescent Lamp), for example, may be used as the light source.
According to the embodiment, as mentioned above, the scanning resolution in the transporting direction is set lower than the printing resolution of a printed image, but the scanning resolution in the document widthwise direction is set higher than the printing resolution of the printed image. When the printing resolution in the document widthwise direction is 720 dpi, for example, scanning is carried out at a resolution equal to or higher than double the printing resolution (1440 dpi) as shown in
The control unit 500 (see
The image processor 540 acquires image data (hereinafter referred to as “original image data”) from a computer or the like connected to the interface 700, and stores the image data into the original image buffer 574. The image processor 540 then subjects the original image data to a color converting process of converting an RGB value to a CMYK value, a half-tone process or the like to generate data for forming an image on a print medium P (hereinafter referred to as “print image data”). The image processor 540 stores the print image data into the print image buffer 572 in the storage unit 570.
The print controller 520 controls the head unit 200 to print an image based on the print image data stored in the print image buffer 572 while controlling the transporting unit 300 to transport the print medium P downstream.
The scan controller 530 controls the scanning unit 400 to scan the printed image on the print medium P, which is transported from the upstream side, for each scan line. The scan controller 530 stores the scanned image as scanned image data into the scanned image buffer 571 in the storage unit 570.
The failure detector 550 detects a failing nozzle based on the scanned image data stored in the scanned image buffer 571 and plural pieces of reference image data which are prepared by a method to be discussed later. In generating plural pieces of reference image data, the failure detector 550 performs a resolution converting process on the original image data to match the resolution of each piece of reference image data with the resolution of the scanned image data.
A streaking bad printing portion appears on the scanned image shown in
In consideration of a deviation in the aforementioned amount of transportation of the print medium P, the failure detector 550 has generated plural pieces of reference image data different from one another in the vertical offset position from original image data, and has stored the reference image data in the reference image buffer 573 beforehand. Then, the failure detector 550 selects reference image data most approximate to scanned image data, and compares the selected reference image data with the scanned image data to detect a failing nozzle.
When the failing nozzle detecting routine is executed, the failure detector 550 first acquires one line of scanned image data scanned by the scanning unit 400 from the scanned image buffer 571 (step S105).
After acquiring the scanned image data, the failure detector 550 generates plural pieces of reference image data included in an expected deviation range (hereinafter referred to as “variation range”) from an offset position to be a reference (hereinafter referred to as “reference offset position”) (step S110). The reference offset position represents a representative value of the offset positions of plural pieces of reference image data to be comparison with the scanned image data, and is initially “0” (see
When the maximum value of the amount of transporting deviation is known previously, the variation range can be set according to the maximum value. Provided that the amount of transporting deviation varies within a predetermined range (e.g., ±0.5 mm) due to the eccentricity or deformation of the transporting roller 320, or an error in the circumferential length of the transporting roller 320 as shown in
After generating plural pieces of reference image data within the variation range, the failure detector 550 compares each generated reference image data with the scanned image data (step S115), and selects reference image data most approximate to the scanned image data (step S120). Specifically, the failure detector 550 calculates the difference between the pixel value of each pixel in each reference image data with the pixel value of each pixel in the scanned image data, and sums up the absolute values of the differences for the entire image data. Then, the failure detector 550 selects the reference image data with the least sum as reference image data most approximate to the scanned image data.
Upon selection of the reference image data most approximate to the scanned image data, the failure detector 550 sets the offset position corresponding to the selected reference image data as the reference offset position, and stores it in the storage unit 570 (step S125). The reference offset position stored in this manner is referred to when the process of step S105 is executed next.
After setting the reference offset position, the failure detector 550 compares the scanned image data acquired in step S105 with the reference image data selected in step S115 to detect a bad portion in the scanned image data (step S130). Specifically, the failure detector 550 calculates the absolute value of the difference between the pixel value of the reference image data in each scanning column and the pixel value of the scanned image data in each scanning column, and detects a scanning column for which the absolute value of the difference exceeds a predetermined threshold value as a bad portion (see
After detecting a bad portion in current scanned image data in the above manner, the failure detector 550 determines whether detection of a bad portion is completed for every scan line of the printed image (step S135). When detection of a bad portion for every scan line is not completed, the failure detector 550 returns to the process of step S105, and repeats the sequence of processes of steps S105 to S125 for a next scan line. When detection of a bad portion for every scan line is completed, on the other hand, the failure detector 550 counts the number of bad portions for the individual scanning columns of the scan lines (step S140).
When counting the number of bad portions, the failure detector 550 determines based on the count value whether there is a failing nozzle (step S145). Specifically, the failure detector 550 determines a nozzle corresponding to the scanning column for which the counted number of bad portions exceeds a predetermined threshold value as a failing nozzle. This threshold value can be set to about 10% of the total number of scan lines.
When determining that there is a failing nozzle, the failure detector 550 instructs the print controller 520 to stop printing. Then, the failure detector 550 displays the event of the detection of a failing nozzle and the position of the failing nozzle on the display unit 600 (step S150). A user who sees this display can perform various correction processes, such as cleaning the head or image processing for making a bad portion unnoticeable. When determining that there is no failing nozzle, on the other hand, the failure detector 550 terminates the failing nozzle detecting routine. Although printing is immediately stopped when it is determined that there is a failing nozzle according to the embodiment, the failure detector 550 may display the occurrence of a bad portion without stopping printing. The display location of the event of the detection of a failing nozzle and the position of the failing nozzle is not limited to the display unit 600, and may be the monitor of a computer connected to the interface 700.
The foregoing printing apparatus 10 according to the embodiment generates plural pieces of reference image data with different pixel positions along the transporting direction from original image data, and selects reference image data approximate to scanned image data from those pieces of reference image data. Then, the printing apparatus 10 compares the selected reference image data with the scanned image data to detect a failing nozzle. Even when the amount of transportation of a print medium P is deviated, therefore, a failing nozzle can be detected accurately.
Because scanning is carried out at a scanning resolution lower than the printing resolution according to the embodiment, the amount of scanned image data can be reduced. Further, because the scanning resolution in the transporting direction can be lowered, a failing nozzle can be detected using an image sensor with a comparatively low accuracy. This can lead to reduction in the manufacturing cost for the printing apparatus 10. Even when the scanning resolution in the transporting direction is lowered, bad printing caused by the presence of a failing nozzle almost occurs in the transporting direction of the print medium P. If the resolution in the document widthwise direction (horizontal direction) is secured, therefore, reduction in the accuracy of detecting a failing nozzle is suppressed.
Because detection of a failing nozzle is carried out in parallel to printing according to the embodiment, printing can be stopped immediately upon detection of a failing nozzle. In case where the printing apparatus 10 is designed for mass printing, for example, it is possible to suppress occurrence of a large amount of bad printing.
Although only one embodiment of the invention has been described herein, it should be apparent to those skilled in the art that the invention is not limited to such an embodiment and may take various configurations without departing from the spirit or scope of the invention. For example, the functions that are achieved by software may be achieved by hardware, and vice versa. In addition, the following modifications are feasible.
According to the foregoing embodiment, the “variation range” at the time of acquiring plural pieces of reference image data is set beforehand. However, the variation range may be limited to a range narrower than the initial range (e.g., half the initial variation range) once the reference offset position is set. This is because once the reference offset position is set, the reference offset position does not vary abruptly in a next scan line, and reference image data most approximate to scanned image data can be adequately selected even in the narrowly set range of reference image data. Therefore, the number of pieces of reference image data to be generated can be reduced by changing the reference offset position according to the offset position of the reference image data approximate to the scanned image data.
According to the foregoing embodiment, the scanning unit 400 scans an image from a print medium P which is transported by the transporting unit 300. However, the scanning unit 400 may move to scan an image from a fixed print medium P. That is, the print medium has only to move relative to the scanning unit 400.
Although the printing apparatus 10 is a line printer according to the foregoing embodiment, it may be a serial printer. Further, the printing apparatus 10 is not limited to an ink jet type, and may be of a laser type or a thermal transfer type.
Although a print medium P in use is a roll type print medium according to the foregoing embodiment, the print medium may be a sheet previously cut to size A4, size A3 or the like. In addition, the print medium is not limited to a sheet of paper, and may take various forms, such as a film type print medium and a print medium made of a resin.
Number | Date | Country | Kind |
---|---|---|---|
2011-110205 | May 2011 | JP | national |