This application claims priority from Korean Patent Application No. 10-2008-0065713, filed on Jul. 7, 2008 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference.
1. Field of the Invention
The present general inventive concept relates to a scanner and an image forming apparatus which can correct a control signal for motor driving using a test image, and a motor control method of the scanner and the image forming apparatus.
2. Description of the Related Art
In general, a scanner reads image information from a document using light. To this end, the scanner includes a sensor unit for reading the image information from the document. The sensor unit has a plurality of sensors arranged in a row for color image scanning.
Then, the color data stored in the memory buffer 15 is combined to realize a scan image 17. In this respect, if a scanning speed is uniform, the plurality of color data read from the same area of the document is spaced from each other at the interval ‘p’ in the memory buffer. Then, the scanned image can be re-formed by relatively moving the color data by the interval ‘p’ to be superimposed.
However, when driving a scan head through a driving part, it is in practice difficult to drive the scan head at a uniform speed. In particularly, in the case that a stepping motor is employed as the driving part, since the stepping motor does not include an encoder, a moving amount of the scan head cannot be fed back, and thus, it is difficult to determine whether or not the scan head moves at a uniform speed.
Due to the above structural features of the driving part, fluctuation in a speed of the scan head occurs, and thereby results in a color registration error in a scanned image.
This problem is caused by the fact that the original image is not directly captured at the same time and color image sensors for extracting color image data are spaced from each other at the interval ‘p’. That is, when the speed of the scan head fluctuates, a relative interval between the color data becomes different from the predetermined interval ‘p’, and thus, the color registration error can occur.
The color registration error may occur in an inkjet image forming apparatus. The inkjet image forming apparatus generally includes a motor and an inkjet head reciprocally moved by the motor to form a color image on a printing medium. The inkjet head includes a plurality of color ink cartridges spaced from each other.
Accordingly, when realizing a full color image by combining inks provided from the color ink cartridges, if the inkjet head is fluctuated, the relative interval between the color data is also fluctuated, to thereby cause the color registration error.
The present general inventive concept provides a scanner and an image forming apparatus which can reduce fluctuation generated in motor driving, and a motor control method of the scanner and the image forming apparatus.
Additional features and utilities of the present general inventive concept will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present general inventive concept.
The foregoing and/or other features and utilities of the present general inventive concept can be achieved by providing a motor control method of a scanner, including scanning a test image formed on a document; calculating an actual speed of a scan head moved by the motor using the scanned test image, calculating a matrix representing a relation between a driving signal to drive the motor and the calculated actual speed of the scan head, and renewing the driving signal using an inverse matrix to the calculated matrix to correct the actual speed of the scan head.
The test image may include a plurality of patterns arranged at a uniform interval.
The calculating the actual speed of the scan head may include extracting connection components of the respective patterns from the scanned test image, and calculating an actual interval between the neighboring connection components in a moving direction of the scan head, wherein the actual speed of the scan head may be calculated by using an ideal interval and the actual interval between the connection components in the moving direction of the scan head and a predetermined ideal speed of the scan head.
The calculating the actual interval in the moving direction of the scan head may include generating a center profile of each connection component, and calculating an interval between the center profiles of the respective connection components in the moving direction of the scan head.
The matrix may have lower triangular Toeplitz Markov parameters.
The method may further include storing the renewed driving signal.
The motor may include a stepping motor.
The foregoing and/or other features and utilities of the present general inventive concept can be also achieved by providing a scanner including a scan head provided to reciprocally move with respect to a support for supporting a document and comprising a light emitting part and a sensor unit to read image information from light reflected from the document, a motor to drive the scan head, and a controller to control the motor with a driving signal, the driving signal being renewed by using a relation between the driving signal and an actual speed of the scan head moved according to the driving signal which is calculated by scanning a test image formed on the document.
The test image may include a plurality of patterns arranged at a uniform interval.
The actual speed of the scan head may be calculated by extracting connection components of the respective patterns from the scanned test image, calculating an interval between center profiles of the respective connection components in a moving direction of the scan head to calculate an actual interval between the neighboring connection components in the moving direction of the scan head using an ideal interval and the actual interval between the connection components in the moving direction of the scan head and a predetermined ideal speed of the scan head.
The relation between the driving signal and the actual speed of the scan head may be represented by a matrix, and the driving signal may be renewed using an inverse matrix to the matrix.
The matrix may have lower triangular Toeplitz Markov parameters.
The motor may include a stepping motor.
The foregoing and/or other features and utilities of the present general inventive concept can be also achieved by providing an image forming apparatus including a scanner as mentioned the above; and a printing unit to print an image on a printing medium.
The foregoing and/or other features and utilities of the present general inventive concept can be also achieved by providing a motor control method of an image forming apparatus comprising an inkjet head having a plurality of ink cartridges, and a motor to drive the inkjet head, the method including forming a test image corresponding to printing data on a printing medium by driving the motor to move the inkjet head, scanning the test image formed on the printing medium, calculating an actual speed of the inkjet head using the scanned test image, calculating a matrix representing a relation between a driving signal to drive the motor and the calculated actual speed of the inkjet head, and renewing the driving signal using an inverse matrix to the calculated matrix to correct the actual speed of the inkjet head.
The printing data may include a plurality of patterns arranged at a uniform interval.
The calculating the actual speed of the inkjet head may include extracting connection components of the respective patterns from the scanned test images, and calculating an actual interval between the neighboring connection components in a moving direction of the inkjet head, wherein the actual speed of the inkjet head may be calculated using an ideal interval and the actual interval between the connection components in the moving direction of the inkjet head and a predetermined ideal speed of the inkjet head.
The calculating the actual interval in the moving direction of the inkjet head may include generating a center profile of each connection component, and calculating an interval between the center profiles of the respective connection components in the moving direction of the inkjet head.
The matrix may have lower triangular Toeplitz Markov parameters.
The method may further include storing the renewed driving signal.
The motor may include a stepping motor.
The foregoing and/or other features and utilities of the present general inventive concept can be also achieved by providing an image forming apparatus including an inkjet head having a plurality of ink cartridges, a motor to drive the inkjet head, and a controller to control the motor with a driving signal and a renewed driving signal, the driving signal being renewed by forming a test image corresponding to printing data on a printing medium by driving the motor to move the inkjet head, and using a relation between the driving signal and an actual speed of the inkjet head which is calculated using the test image.
The printing data may include a plurality of patterns arranged at a uniform interval.
The actual speed of the inkjet head may be calculated by: extracting connection components of the respective patterns; calculating an interval between center profiles of the respective connection components in a moving direction of the inkjet head to calculate an actual interval between the neighboring connection components in the moving direction of the inkjet head; and using an ideal interval and the actual interval between the connection components in the moving direction of the inkjet head, and a predetermined ideal speed of the inkjet head.
The relation between the actual speed of the inkjet head and the driving signal may be represented by a matrix, and the driving signal may be renewed using an inverse matrix to the matrix.
The matrix may have lower triangular Toeplitz Markov parameters.
The motor may include a stepping motor.
The foregoing and/or other features and utilities aspects of the present general inventive concept can be also achieved by providing a method of controlling a motor in an image forming apparatus, the method including determining an actual speed of a head unit based on a test image, calculating a relationship of the actual speed and a driving signal of the head unit, and sending a corrected driving signal to the head unit determined according to the calculated relationship.
Determining the actual speed of the head unit may further include determining an actual interval between patterns on the test image, and calculating the actual speed according to the actual interval, an ideal interval, and an ideal speed.
The patterns on the test image may be at least one of linear patterns, square patterns, and circular patterns.
The relationship may be a matrix representing the relationship between the actual speed and the driving signal.
The corrected driving signal may be determined according to an inverse matrix of the matrix.
The corrected driving signal may correct the actual speed of the head unit.
The head unit may be one of a scan head and a print head.
The above and/or other features and utilities of the present general inventive concept will become apparent and more readily appreciated from the following description of the exemplary embodiments, taken in conjunction with the accompanying drawings, in which:
Reference will now be made in detail to exemplary embodiments of the present general inventive concept, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout. The exemplary embodiments are described below so as to explain the present general inventive concept by referring to the figures.
As shown in
The scan head 30 includes a light emitting part 31 to emit light, and a sensor unit 35 to read image information from light reflected from the document 20. As shown in
The motor 41 is driven by a driving signal from the controller 45 and reciprocally moves the scan head 30. The motor 41 may be provided as a stepping motor which rotates by a constant angle corresponding to the number of input pulses. Since the number of the input pulses and the rotational angle are proportional each other, the stepping motor can control positioning of an open loop.
The driving signal from the controller 45 is renewed using the relation between an actual speed of the scan head calculated by scanning a test image formed on the document 20 and the driving signal for driving the motor 41, which will be described in detail with reference to
Referring to
Referring to
According to the present exemplary embodiment, the test image 50 includes the plurality of linear patterns formed along the direction ‘w’ by way of example, but alternatively, may include other patterns such as square patterns, circular patterns, etc. so long as the patterns have a uniform interval.
The scanning the test image (operation S10) is performed through the scanner according to the present general inventive concept, in which color test images are separately read by means of the sensor unit 35 (
Referring to
Here, y and w refer to pixel coordinates as shown in
The selection of the thresholds in this exemplary embodiment is only an example, and the thresholds may be selected through other methods, such as a local area method or an adaptive method considering outside environments, as well as the whole area method in which the thresholds are selected on the basis of the maximum pixel values of the respective colors.
Referring to the above equation 1, the binary image (IB(y,w)) is expressed as 0 when pixel values of the respective colors are above the thresholds, and as 1 when at least one of the pixel values of the respective colors is equal to or below the thresholds.
Then, an actual speed of the scan head 30 moving by the motor is calculated using the binary image 65 of the scanned test image 61 (operation S20). Hereinafter, operation S20 will be described in more detail referring to
First, connection components of a plurality of patterns 67 are extracted from the scanned test image 61 (operation S21). Each connection component is used to identify each of the plurality of patterns 67 constituting the test image 61. Each pattern 67 forms one connection component. In this exemplary embodiment, the connection component may be extracted by analyzing the binary image 65 expressed by the equation 1.
Then, an actual interval between the neighboring connection components in a moving direction ‘y’ of the scan head 30 is calculated (operation S23). The actual interval is calculated by generating a center profile of each connection component and calculating an interval between the center profiles of the respective connection components in the moving direction ‘y’ of the scan head 30.
As shown in
Here, (YR,WR), (YG,WG) and (YB,WB) refers to color center values of red, green and blue in the ‘y’ and ‘w’ coordinates, respectively,
Referring to the equation 2, the color center values (YR,WR), (YG,WG) and (YB,WB) are calculated by summing center values obtained in the pixel coordinates (y,w) of the pattern when the color pixel value R(y,w), G(y,w) or B(y,w) is the same as or below the threshold θR, θG or θB. In this respect, if the calculated center values of the pattern contain an error, the method according to the present general inventive concept may further include correcting the error.
As described above, the actual interval between the neighboring connection components in the moving direction ‘y’ of the scan head 30 can be calculated based on the color center values of the respective patterns, and accordingly, an interval error between an ideal interval and the actual interval, between the connection components in the direction ‘y’ can be determined. Thus, the calculation accuracy can be enhanced compared with the conventional method of using the interval between the patterns.
Hereinbelow, an example of the interval error calculating method will be described referring to the color green. An interval ΔYGm(i) between green center values of the neighboring patterns in the direction ‘y’ may be expressed as the following equation 3:
ΔYGm(i)=YG(i+1)YG(i) Equation 3
Here, YG(i) refers to a green center value an i-th pattern; and i refers to a natural number representing a line index.
An ideal interval ΔYGd between the green center values of the neighboring patterns in the direction ‘y’ may be expressed as the following equation 4:
ΔYGd=(1/lpi)×dpi Equation 4
Here, lpi (lines per inch) refers to the number of patterns per inch; and dpi (dots per inch) refers to scan resolution.
Accordingly, an interval error eY
Similarly, interval errors with respect to red and blue may be calculated, which may be expressed as the following equation 5:
e
Y
(i)=ΔYR,G,Bd−ΔYR,G,Bm(i) Equation 5
Here, eY
At the final stage of operation S20, an actual speed v(i) of the scan head 30 is calculated according to the following equation 6 (operation S25):
υ(i)=[ΔYGd/ΔYGm(i)]×υd Equation 6
Here, vd refers to an ideal speed of the scan head 30.
Referring to the equation 6, the actual speed v(i) is calculated using the ideal interval ΔYGd and the real interval ΔYGm(i), and the ideal speed vd of the scan head 30 calculated through the equations 3 and 4.
In operation S30, a matrix H representing the relation between a driving signal driving the motor and the calculated actual speed of the scan head 30 is calculated. The relation may be expressed as the following equation 7:
υj=Huj Equation 7
Here, uj refers to a driving signal as a system input; vj refers to the actual speed of the scan head 30 as calculated through the equation 6; and j refers to a trial index.
The driving signal uj, the actual speed vj of the scan head 30 and the ideal speed vd may be expressed as the following equation 8:
υj=[uj(0) υj(1) . . . uj(N−1)],
υj=[υj(m) υj(m+1) . . . υj(m+N−1],
υd=[υd(m) υd(m+1) . . . υd(m+N−1)] Equation 8
Here, the speed vector vj represents the actual speed between the neighboring patterns from the first pattern to the last pattern as the number of steps of the stepping motor. The character m refers to a variable for considering a sample time interval between a first input which is not zero and a first output which is not zero, and may be selected into 1 without affecting generality.
It is preferable but not necessary that the matrix H has lower triangular Toeplitz Markov parameters, as shown in the following equation 9:
Here, h1 has a value excluding zero so that an inverse matrix to the matrix H can exist.
According to the matrix H as constituted above, the respective parameters h1 to hN may be obtained based on the given vectors uj and vj using a single trial convergent iterative learning control (ILC).
In operation S40, the driving signal is renewed using the inverse matrix F(=H−1) to the calculated matrix H. That is, the renewed driving signal u* may be expressed as the following equation 10:
u*=F*υ
d Equation 10
Here, vd refers to a vector for the ideal speed of the stepping motor.
The inverse matrix F has lower triangular Toeplitz Markov parameters similar to the matrix H.
Parameters fp existing in a diagonal direction among the parameters constituting the inverse matrix F may be obtained from the vectors u and v according to the following equation 11:
As described above, according to the motor control method of the present exemplary embodiment, the parameters of the inverse matrix F necessary for renewing the driving signal can be calculated from information detected through a one-time test scan. Further, driving of the stepping motor can be controlled based on the renewed driving signal u*, to thereby correct the actual speed of the scan head 30.
Thus, in the scanner in which the stepping motor is controlled by the renewed driving signal, fluctuation generated in motor driving can be reduced, to thereby reduce the color registration error.
As shown, according to a center value error before renewal (or correction), a center value resulting from time optimization fluctuates approximately between +0.5 pixel and −0.7 pixel with respect to zero. On the other hand, according to the present exemplary embodiment, a color center value error fluctuates in the range of ±0.25 pixel by renewing the driving signal using initial driving time optimization and the ILC.
As described above, according to the scanner employing the motor control method according to the present general inventive concept, fluctuation generated in motor driving can be reduced, and thus, color registration error can be reduced.
Also, an image forming apparatus according to an exemplary embodiment of the present general inventive concept reads an image from a document and includes the scanner having the same configuration described with reference to
Hereinafter, an image forming apparatus according to an exemplary embodiment of the present general inventive concept will be described.
Referring to
The color ink cartridges 111 are spaced from each other. A full color image is formed on a printing medium by combining inks supplied from the color ink cartridges 111. The motor 120 is driven by a driving signal from the controller 130 and reciprocally moves the inkjet head 110. The motor 120 may be provided as a stepping motor rotating at a constant angle corresponding to the number of input pulses. Since the number of input pulses and a rotational angle of the motor 120 are proportional each other, the stepping motor can control positioning of an open loop.
The driving signal from the controller 130 drives the motor 120 to move the inkjet head 110, to thereby form a test image corresponding to printing data on a printing medium 140. The driving signal is renewed using the relation between an actual speed of the inkjet head 110 calculated using the test image and the driving signal for driving the motor 120, which will be described with reference to
Referring to
Image data corresponding to the test image formed on the printing medium 140 may include a plurality of patterns arranged at a uniform interval. The plurality of patterns may be formed in a direction perpendicular to a moving direction of the inkjet head 110.
In this exemplary embodiment, an interval between the neighboring patterns formed on the printing medium 140 varies due to fluctuation caused in driving the motor 120.
Operations S120 to S150 are to renew the motor driving signal to reduce the fluctuation of the motor 120. Particularly, operation S120 is performed by using the scanner with motor driving control signal being renewed. Thus, an interval between the patterns in the scanned image read through operation S120 is similar to an interval between the patterns of the test image formed on the printing medium 140. Then, operations S130 to S150 are performed by using the scanned test image, to thereby read information on the motor driving signal of the image forming apparatus, and to thereby renew the motor driving signal.
Operations S130 to S150 are substantially the same as the above-described operations S20 to S40, and thus, repetitive description will be omitted for conciseness.
As described above, in the motor control method of the scanner according to the present general inventive concept, the driving signal is renewed using the matrix obtained from the relation between the driving signal and the interval error between the test patterns. Accordingly, in the scanner according to the present general inventive concept, fluctuation of the scan head generated in motor driving can be reduced, to thereby reduce the color registration error.
Further, in the image forming apparatus employing the motor control method according to the present general inventive concept, fluctuation generated in motor driving can be reduced, to thereby reduce an error of a drop position of an ink supplied from each color ink cartridge, to thereby reduce the color registration error and enhance image quality.
Although a few exemplary embodiments of the present general inventive concept have been shown and described, it will be appreciated by those skilled in the art that changes may be made in these exemplary embodiments without departing from the principles and spirit of the general inventive concept, the scope of which is defined in the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2008-65713 | Jul 2008 | KR | national |