CONTROL APPARATUS AND CONTROL METHOD

Information

  • Patent Application
  • 20190160829
  • Publication Number
    20190160829
  • Date Filed
    June 15, 2017
    7 years ago
  • Date Published
    May 30, 2019
    5 years ago
Abstract
A control apparatus for generating a control signal for controlling a printer on the basis of an input signal includes: an arithmetic unit configured to generate an error diffusion processing signal by subtracting, from the input signal, an error diffusion output signal output from a diffusion matrix that determines a distribution of a print density error; a multiplier unit configured to generate an intermediate signal by multiplying the error diffusion processing signal by a correction gain for controlling a correction amount of the print density error; and a quantizer unit configured to generate the control signal by quantizing the intermediate signal.
Description
CROSS REFERENCE TO RELATED APPLICATION

This application claims priority to and the benefit of Japanese Patent Application No. 2016-127640 (filed on Jun. 28, 2016), the entire contents of which are incorporated herein by reference.


TECHNICAL FIELD

The present disclosure relates to a control apparatus and a control method.


BACKGROUND

When printing is performed using an ink jet printer, an image output as a print result may have an uneven density distribution with streaks and unevenness due to, for example, the characteristics of the nozzles for ejecting ink droplets. As such, conventional technologies which adjust ink droplet volume in order to prevent the occurrence of streaks and unevenness are known. For example, an apparatus generates correction data on the basis of a density distribution of a print result of a test pattern and adjusts the volume of the ink droplets for image printing on the basis of the correction data.


SUMMARY

A control apparatus according to an embodiment is a control apparatus for generating a control signal for controlling a printer on the basis of an input signal. The control apparatus includes an arithmetic unit, a multiplier unit, and a quantizer unit. The arithmetic unit generates an error diffusion processing signal by subtracting, from the input signal, an error diffusion output signal output from a diffusion matrix that determines a distribution of a print density error. The multiplier unit generates an intermediate signal by multiplying the error diffusion processing signal by a correction gain for controlling a correction amount of the print density error. The quantizer unit generates the control signal by quantizing the intermediate signal.


A control method according to an embodiment is a control method performed by a control apparatus for generating a control signal for controlling a printer on the basis of an input signal. The control method includes a step in which the control apparatus generates an error diffusion processing signal by subtracting, from the input signal, an error diffusion output signal output from a diffusion matrix that determines a distribution of a print density error. The control method includes a step in which the control apparatus generates an intermediate signal by multiplying the error diffusion processing signal by a correction gain for controlling a correction amount of the print density error, and a step in which the control apparatus generates the control signal by quantizing the intermediate signal.





BRIEF DESCRIPTION OF THE DRAWINGS

In the accompanying drawings:



FIG. 1 is a block diagram illustrating an example of a signal processing procedure performed by a printer according to an embodiment;



FIG. 2 is a graph illustrating a relationship between an input signal and a print density average value;



FIG. 3 is a graph illustrating an average density deviation amount of the print density;



FIG. 4 is a block diagram illustrating an example of a signal processing procedure performed by a conventional printer;



FIG. 5 is a diagram schematically illustrating a variation of the printing density due to a device characteristic; and



FIG. 6 is a graph illustrating an input-output relationship of a signal in a quantizer unit.





DETAILED DESCRIPTION

In some related cases, an apparatus is not able to appropriately prevent the occurrence of streaks and unevenness. The present disclosure concerns a control apparatus and a control method that are capable of preventing streaks and unevenness in printed images more appropriately.


First, an example of signal processing by a conventional printer will be described. FIG. 4 is a block diagram illustrating an example of a signal processing procedure performed by a conventional printer. This printer functions as a control apparatus for performing the processing illustrated in the block diagram of FIG. 4. The printer includes a controller configured to control and manage the printer in its entirety. The controller is constituted by a processor such as a CPU (Central Processing Unit) for executing a program that defines a control procedure.


The controller of the printer generates an image data signal y (an output signal) to be output by performing a predetermined calculation on an image data signal u (an input signal) being input. The controller causes nozzles of the printer to eject ink on the basis of the output signal y. Thus, the printer performs printing. Here, an example in which the controller generates the output signal y by using a conventional so-called error diffusion method will be described.


Here, the printer is described as employing a single pass method. According to printers that employ the single path method, a head carriage provided with nozzles is fixed in the printer and printing is performed by ejecting ink from the nozzles to printing paper being conveyed. The head carriage of the printer includes a plurality of nozzles arranged in a direction orthogonal to the direction (a conveyance direction) in which the printing paper is conveyed during printing.


The controller generates the output signal y with respect to each of the plurality of nozzles of the printer. Here, a generation process for the output signals y performed by the controller will be described. Here, a generation process for the output signal y for controlling the ink ejection from an i-th nozzle located i-th from the right in the conveyance direction will be described. Hereinafter, each signal related to the control of the i-th nozzle will be denoted by a reference numeral with i in subscript.


A block diagram of FIG. 4 includes a multiplier unit 210, a first arithmetic unit 220, a quantizer unit 230, a second arithmetic unit 240, and a diffusion matrix 250. Each of the first arithmetic unit 220 and the second arithmetic unit 240 is constituted by, for example, an adder.


The input signal ui is input to the multiplier unit 210. The multiplier unit 210 multiplies the input signal ui by a correction gain ai. The correction gain ai is used for controlling a correction amount of an error in printing density. The correction gain ai is defined as an inverse of, for example, a device characteristic di of the i-th nozzle. That is, the following equation (1) is satisfied.






a
i=1/di   (1)


Here, the device characteristic di represents a characteristic of the printing density of an i-th pixel actually printed by the i-th nozzle. For example, when the device characteristic di=0.5, the printing density of the i-th pixel printed by the i-th nozzle is half the printing density of a pixel with the device characteristic di=1. When the device characteristic di of the i-th nozzle is di=0.5 and the device characteristics of the other nozzles are 1.0, printing on the basis of the same input signal without considering the device characteristics causes the printing density of the i-th pixel to be lighter than that of the other pixels, generating streaks in a printed image.



FIG. 5 is a diagram schematically illustrating a variation of the printing density due to the device characteristic di. In response to a control signal yi for the i-th nozzle, a variation is caused by the device characteristic di, resulting in actual printing density of y′i. A relationship between the printing density y′i and the control signal yi is expressed by the following equation (2).






y′
i
=y
i
*di   (2)


The first arithmetic unit 220 generates an intermediate signal φi by subtracting, from a signal output by the multiplier unit 210, an error diffusion output signal ε′i from the diffusion matrix 250. The diffusion matrix 250 is an error distribution table used in the error diffusion method, and will be described in detail later. The intermediate signal φi is expressed by the following equation (3).





φi=ai*ui−ε′i   (3)


As described above, the conventional printer multiplies the correction gain before subtracting the error diffusion output signal ε′i.


The quantizer unit 230 generates a control signal yi by quantizing the intermediate signal φi. A quantization error n is input to the quantizer unit 230. In the present example, the quantization error n is equal to the error diffusion input signal ε′i. The control signal yi is expressed by the following equation (4) by using a function Q representing the quantization processing.






y
i
=Qi)   (4)


The printer prints on the basis of the control signal yi calculated from the equation (4).



FIG. 6 is a diagram illustrating an example of a signal input-output relationship in the quantizer unit 230. FIG. 6 illustrates an example in which the signal processed by the controller is 8 bits. In this example, as illustrated in FIG. 6, the quantizer unit 230 generates the control signal yi in a stepped form in response to the intermediate signal φi.


The second arithmetic unit 240 generates the error diffusion input signal εi by subtracting the intermediate signal φi from the control signal yi. The error diffusion input signal εi is expressed by the following equation (5).





εi=Qi)−φi   (5)


The error diffusion input signal εi is input to the diffusion matrix 250. The diffusion matrix 250 generates an error diffusion output signal ε′i+1 by performing a predetermined processing on the basis of the error diffusion input signal εi. The diffusion matrix 250 is, for example, the error distribution table experimentally set on the basis of a relative distance to a target pixel (the pixel printed by the i-th nozzle). In the present embodiment, the diffusion matrix 250 has a characteristic whereby all of the error in the printing density is diffused to the next pixels. The error diffusion output signal ε′i+1 is used, as error feedback by error diffusion, for the generation of the control signal yi+1 for the i+1 nozzle. When the diffusion matrix 250 has the above characteristic, the error diffusion output signal ε′i+1 output from the diffusion matrix 250 is expressed by the following equation (6) by using a function F indicating processing by the diffusion matrix 250.





ε′i+1=Fi)   (6)


In the present example, a signal with the same value as the error diffusion input signal εi is output as the error diffusion output signal ε′i+1.


In this way, the controller generates the control signal yi on the basis of the input signal ui.


Here, the signal processing by the controller will be described by using specific values. Here, the input signals to i−2 to the i−1 nozzles are 111 by 8 bit conversion. That is, ui−2=ui−1=ui=ui+1=111 is satisfied.


As for the device characteristics of the nozzles, further, the device characteristic di of the i-th nozzle is expressed by di=0.5, and the device characteristic di−2, the device characteristic di−1, and the device characteristic di+1 of the i−2 nozzle, the i−1 nozzle, and the i+1 nozzle, respectively, satisfy di−2=di−1=di+1=1.0. By using the above equation (1), in this case, the correction gain ai of the i-th nozzle is ai=1/di=2.0. Also, the correction gains ai−2, ai−1, and ai+1 of the i−2 nozzle, i−1 nozzle, and i+1 nozzle satisfy ai−2=ai−1=ai+1=1.0.


Further, an error diffusion output signal ε′i−3 used for the generation of a control signal yi−2 for the i−2 nozzle is assumed to satisfy ε′i−3=0.


Under the above condition, the control signals for the i−2 to i+1 nozzles results in the following equations:






y′
i−2=85, y′i−1=170, y′i=170, y′i+1=170


Thus, by using the above equation (2), the printing density of the printed image satisfies the following equations.



y′
i−2=85, y′i−1=170, y′i=85, y′i+1=170


In order to correct the characteristic variation of the i-th nozzle in the preceding and following pixels, an average printing density y′ave of the three pixels, i-th pixel, i−1 pixel, and i+1 pixel, needs to correspond to an average value of the input signals. In the above example, the average printing density y′ave of is expressed by y′ave=(y′i−1+y′i+y′i+1)/3≈141.


On the other hand, the average value uave of the input signals for the control of the i-th nozzle, the i−1 nozzle, and the i+1 nozzle is 111.


Accordingly, an average density deviation amount Δy of the average printing density y′ave from an ideal input signal average value uave is expressed as Δy=y′ave−uave=30. As the average density deviation amount Δy becomes smaller, the characteristic variation of the i-th nozzle is corrected in the preceding and following pixels, and a state in which unevenness and streaks do not occur is approached. The larger a positive value of the average density deviation amount Δy, the darker the printing density. The larger the negative value of the average density deviation amount Δy, the lighter the printing density. That is, as an absolute value of the average density deviation amount Δy becomes larger, unevenness and streaks become more obvious.


Next, a printer according to the present embodiment which is capable of appropriately preventing the streaks and unevenness described above will be described.



FIG. 1 is a block diagram illustrating an example of a signal processing procedure performed by a printer according to an embodiment. The printer functions as a control apparatus for performing the processing illustrated in the block diagram of FIG. 1. The block diagram of FIG. 1 includes a first multiplier unit 110, a first arithmetic unit 120, a quantizer unit 130, a second arithmetic unit 140, a diffusion matrix 150, and a second multiplier unit 160. Each of the first arithmetic unit 120 and the second arithmetic unit 140 is constituted by, for example, an adder.


According to the present embodiment, the first multiplier unit 110 is arranged between the first arithmetic unit 120 and the quantizer unit 130. According to the present embodiment, that is, the first multiplier unit 110 performs processing after the first arithmetic unit 120 performs processing. The second multiplier unit 160 is arranged between the second arithmetic unit 140 and the diffusion matrix 150. Here, a process for generating the control signal yi performed by the controller according to the present embodiment will be described.


According to the present embodiment, the input signal is input to the first arithmetic unit 120. The first arithmetic unit 120 generates the error diffusion processing signal by subtracting the error diffusion output signal ε′i from the input signal ui. The first multiplier unit 110 generates the intermediate signal φi by multiplying the error diffusion processing signal by a correction gain bi. As with the correction gain ai, for example, the correction gain bi is defined as the inverse of the device characteristic di. The intermediate signal φi is expressed by the following equation (7).





φi=bi*(ui−ε′i)   (7)


The quantizer unit 130 generates the control signal yi by quantizing the intermediate signal φi. The quantizing processing by the quantizer unit 130 according to the present embodiment may be similar to, for example, the quantizing processing by the quantizer unit 230 described with reference to FIG. 6. Thus, detailed descriptions of the quantizing processing will be omitted. The control signal yi is expressed by the following equation (8), in which the function Q represents the quantizing processing.






y
i
=Qi)   (8)


The second arithmetic unit 140 subtracts the intermediate signal φi from the control signal yi. According to the present embodiment, further, the second multiplier unit 160 generates the error diffusion input signal εi by processing the signal generated by the second arithmetic unit 140. The second multiplier unit 160 multiplies an inverse ci of the correction gain. That is, ci=1/bi is satisfied. Accordingly, the error diffusion input signal εi is expressed by the following equation (9).





εi=ci*(Qi)−φi)   (9)


The diffusion matrix 150 generates the error diffusion output signal ε′i+1 by performing a predetermined processing on the error diffusion input signal εi being input. The error diffusion output signal ε′i+1 output from the diffusion matrix 150 is expressed by the following equation (10), in which the function F represents the processing by the diffusion matrix 150.





ε′i+1=Fi)   (10)


In the present example, a signal with the same value as the error diffusion input signal εi is output as the error diffusion output signal ε′i+1 from the diffusion matrix 150. The control signal yi+1 for the i+1 nozzle is calculated by using the error diffusion output signal ε′i+1.


Here, the signal processing by the controller will be described by using specific values, similarly to the example of the processing by the conventional printer described above. For comparison with the example described above, the input signal u and the device characteristic d are the same values as those used in the above example. That is, the input signal to the i−2 to i+1 nozzles is 111 by 8 bit conversion (ui−2=ui−1=ui=ui+1=111). The device characteristic di of the i-th nozzle is di=0.5, and the device characteristics di−2, di−1, and di+1 of the i−2 nozzle, the i−1 nozzle, and the i+1 nozzle satisfy di−2=di−1=di+1=1.0. Thus, the correction gain bi of the i-th nozzle is bi=1/di=2.0, and the correction gains bi−2 of the i−2 nozzle, bi−1 of the i−1 nozzle, and bi+1 of the i+1 nozzle satisfy bi−2=bi−1=bi+1=1.0. Thus, for the inverse c of the correction gain, ci=0.5 and ci−2=ci−1=ci+1=1.0 are calculated. Further, the error diffusion output signal ε′i−3 used for the generation of the control signal yi−2 for the i−2 nozzle satisfies ε′i−3=0.


Under the above condition, the control signals for the i−2 to i+1 nozzles are calculated as follows.






y
i−2=85, yi−1=170, yi=170, yi+1=85


Accordingly, due to the device characteristic d of each of the i−2 to i+1 nozzles, the printing density of the image printed by each of the nozzles satisfies:






y′
i−2=85, y′i−1=170, y′i=85, y′i+1=85


Thus, the average printing density y′ave is expressed by y′ave=(y′i−1+y′i+y′i+1)/3≈113.


The average uave of the input signals for the control of the i-th nozzle, the i−1 nozzle, and the i+1 nozzles is 111. Thus, an average density deviation amount Δy of the average printing density y′ave from the ideal input signal average value uave is expressed by Δy=y′ave−uave=2. Therefore, the average density deviation amount Δy of the signals processed by the printer according to the present embodiment is smaller than the average density deviation amount Δy of the signals processed by the conventional printer described in the above example. Under the above condition, accordingly, the processing by the printer according to the present embodiment corrects the characteristic variation of the i-th nozzle in its preceding and following pixels, unlike the processing by the conventional printer. Thus, streaks and unevenness are less likely to occur.



FIG. 2 is a diagram illustrating a relationship between the input signal u and the average printing density y′ave of the three pixels. That is, FIG. 2 is a diagram illustrating the relationship of the average printing density y′ave of the three pixels with respect to the i-th nozzle and its preceding and following nozzles (i.e., the i−1 nozzle and i+1 nozzle) within the range in which the input signal ui is between 0 and 255. FIG. 2 illustrates the input signal u and the average printing density y′ave according to the ideal characteristic, the characteristic of the conventional control, and the characteristic of the control according to the present disclosure. As illustrated in FIG. 2, when averaged across 0 to 255 in whole, the characteristic provided by the control according to the present embodiment is closer to the ideal characteristic than the characteristic provided by the conventional control.



FIG. 3 is a diagram illustrating an average density deviation amount Δy of the printing density. FIG. 3 illustrates magnitudes (absolute values) of the average density deviation amount Δy with respect to the ideal value according to the conventional control and the control of the present disclosure. In FIG. 3, when averaged over the entire range of the input signal ui of 0 to 255, the average density deviation amount Δy according to the control of the present embodiment is smaller than that according to the conventional control. Thus, the printer (the control apparatus) of the present embodiment may correct streaks and unevenness more appropriately than the conventional control.


It is to be appreciated that the present disclosure is not limited to the above embodiment, and various modifications and changes are possible. For example, functions and the like included in each component may be rearranged without logical inconsistency, so as to combine a plurality of components together or to separate them.


For example, in the above embodiment the processing by the second multiplier unit 160 does not necessarily need to be performed. That is, the error diffusion input signal ε may be a difference between the control signal y and the intermediate signal φ generated by the second arithmetic unit 140. In this configuration, also, streaks and unevenness may be more appropriately corrected than in the conventional control.

Claims
  • 1. A control apparatus for generating a control signal for controlling a printer on the basis of an input signal, the control apparatus comprising: an arithmetic unit configured to generate an error diffusion processing signal by subtracting, from the input signal, an error diffusion output signal output from a diffusion matrix that determines a distribution of a print density error;a multiplier unit configured to generate an intermediate signal by multiplying the error diffusion processing signal by a correction gain for controlling a correction amount of the print density error; anda quantizer unit configured to generate the control signal by quantizing the intermediate signal.
  • 2. The control apparatus according to claim 1, further comprisinga second multiplier unit configured to generate a diffusion matrix input signal to be input to the diffusion matrix by multiplying a difference between the error diffusion output signal and the intermediate signal by an inverse of the correction gain.
  • 3. A control method performed by a control apparatus for generating a control signal for controlling a printer on the basis of an input signal, the control method comprising: generating an error diffusion processing signal by subtracting, from the input signal, an error diffusion output signal output from a diffusion matrix that determines a distribution of a print density error;generating an intermediate signal by multiplying the error diffusion processing signal by a correction gain for controlling a correction amount of the print density error; andgenerating the control signal by quantizing the intermediate signal.
Priority Claims (1)
Number Date Country Kind
2016-127640 Jun 2016 JP national
PCT Information
Filing Document Filing Date Country Kind
PCT/JP2017/022222 6/15/2017 WO 00