The invention will now be described below, by way of example, with reference to the accompanying drawings, in which:
(1) Overall Structure of Multi Function Apparatus
Referring to
In the multi function apparatus 1, a feeder arm 9a composing a feeder 9 is turnably attached to the bottom plate of a box-like main frame 7 made of metal, so as to swing up and down on its anchor end. The paper P stacked (accumulated) in the paper cassette 3 are separated and conveyed sheet by sheet by a feeder roller 9b provided at a lower end of the feeder arm 9a and the bank 5. Each separated paper P is conveyed to an image forming portion 13 provided above (at a higher position of) the paper cassette 3 via a U-turn path 11 composing a U-shaped conveyor path.
The image forming portion 18 includes a carriage 17. The carriage 17 is mounted on an ink-jet recording head 15 and can reciprocate in a main scanning direction. The carriage 17 is controlled by a later explained CPU 51 to make the recording head 15 scan in the main scanning direction. The recording head 15 ejects ink at the time of scanning to form an image on the paper P located therebelow. A paper discharge portion 21 discharges the paper P having an image formed thereon by the image forming portion 13. The paper discharge portion 21 is provided above the paper cassette 3. A paper discharge opening 21a which communicates with the paper discharge portion 21 opens together with the opening 2a at the front of the housing 2.
An image reading apparatus 23 for use in reading a document is provided above the housing 2. The image reading apparatus 23 is arranged such that a bottom wall 23a thereof is placed onto an upper cover body 25 without leaving any substantial space therebetween. The image reading apparatus 23 is designed to be opened and closed with respect to one end of the housing 2 via a not shown pivot shank. Also, a back end of a cover body 27 which covers the upper surface of the image reading apparatus 23 is turnably attached so as to swing up and down with respect to a back end of the image reading apparatus 23 about a pivot shaft 23b.
An operation panel 29 including various operation buttons and a liquid crystal display is provided at the front of the image reading apparatus 23. A not shown ink storage which opens upward is provided at the front part of the housing 2 covered by the image reading apparatus 23. Four ink cartridges are provided in the ink storage, which respectively store four colors (black, cyan, magenta and yellow) of ink for full color recording. The respective ink cartridges can be attached and detached from above. In the multi function apparatus 1 of the present embodiment, ink stored in the respective ink cartridges is supplied to the recording head 15 via a plurality of ink supply tubes 37 which connect the respective ink cartridges with the recording head 15.
(2) Structure of Paper Conveying System
Now, a paper conveying system provided in the multi function apparatus 1 will be explained.
As seen from
The bank 5 and the U-turn path 11 composing the upstream conveyor path regulate movement of the paper P delivered by the feeder roller 9b, and guide the paper P to a contact point between the conveyor roller 41 and the pinch roller 42. On the downstream side in a conveying direction of the paper P in the U-turn path 11, a support 11a is provided which regulates downward movement of the paper P and guides the paper P to a contact point between the conveyor roller 41 and the pinch roller 42.
Accordingly, the paper P delivered from the paper cassette 3 is guided to the contact point between the conveyor roller 41 and the pinch roller 42 by way of the bank 5, the U-turn path 11 and the support 11a. In this state, when the conveyor roller 41 is rotated in the conveying direction (counterclockwise in
The platen 19 composes a downstream conveyor path connecting the conveyor roller 41 to the paper discharge roller 43. The platen 19 is provided between the conveyor roller 41 and the paper discharge roller 43 along the path connecting therebetween. The platen 19 guides the paper P delivered from the conveyor roller 41 to an area in which an image is formed by the recording head 15. The platen 19 also guides the paper P having an image formed thereon by the recording head 15 to a contact point between the paper discharge roller 43 and the pinch roller 44.
The motor 10 includes a DC motor. The motor 10 is driven by the driving circuit 53. The rotational force is transmitted to the conveyor roller 41 via the belt BL1 which extends between the motor 10 and the conveyor roller 41. Thereby, the conveyor roller 41 is rotated. Moreover, the rotational force transmitted to the conveyor roller 41 is transmitted to the paper discharge roller 43 via the belt BL2 which extends between the conveyor roller 41 and the paper discharge roller 48. As a result, the paper discharge roller 43 is rotated in the same direction together with the conveyor roller 41. The rotational force generated from the motor 10 is transmitted to the feeder roller 9b via a not shown transfer mechanism. As a result, the feeder roller 9b is rotated.
The feeder roller 9b is rotated in the conveying direction of the paper P and delivers the paper P toward the conveyor roller 41 at paper feeding operation. The feeder roller 9b runs idle without receiving the rotational force from the motor 10 at image forming operation. That is, the transfer mechanism connecting the feeder roller 9b and the motor 10 transfers the rotational force to the feeder roller 9b only at paper feeding operation while disconnecting a built-in gear so as not to transmit the rotational force to the feeder roller 9b at image forming operation. Paper feeding operation here means to rotate the feeder roller 9b in a pressed manner against the paper P at the top-most position in the paper cassette 3, and conveys the front end of the paper P to a resist position, that is, the contact point between the conveyor roller 41 and the pinch roller 42.
The conveyor 40 includes a rotary encoder 49 that outputs pulse signal every time the conveyor roller 41 is rotated a predetermined amount. The output signal of this rotary encoder 49 is supplied to the ASIC 52 of the conveyor controller 50. Accordingly, in the multi function apparatus 1, the amount of rotation of the motor 10, the conveyor roller 41 and the paper discharge roller 43, as well as a moving distance (conveyor distance) of the paper P conveyed by the respective rollers 41 and 43 can be detected by detecting and counting the pulse signal from the encoder 49.
Paper conveyance at image forming operation is achieved as the paper P is sequentially fed in a sub-scanning direction (paper conveying direction) by a predetermined amount. Particularly, when the reciprocatable recording head 15 performs recording for one path in the main scanning direction, the paper P is fed in the sub-scanning direction by a predetermined amount and stopped for recording the next path.
Recording in the main scanning direction for the path is performed by the recording head 15. When recording is ended, the paper P is again fed in the sub-scanning direction by a predetermined amount and stopped for recording the next path. Recording in the main scanning direction for the path is performed by the recording head 15. That is, paper feeding by the predetermined amount in the sub-scanning direction is sequentially repeated until recording onto the paper P is completed.
(3) Structure of Conveyor Controller
The conveyor controller 50 connected to the driving circuit 53 of the conveyor 40 supplies commands (e.g., PWM signal) for the motor 10 to the driving circuit 53 to control the rotation of the motor 10 in the conveyor 40. The conveyor controller 50 indirectly controls paper conveyance by the conveyor roller 41. The conveyor controller 50 is mainly composed of the CPU 51 and the ASIC 52. The CPU 51 integrally controls the multi function apparatus 1. The ASIC 52 controls the rotation velocity and rotation direction of the motor 10.
The conveyor controller 50 generates the PWM signal for controlling rotation velocity and rotation direction of the motor 10 and outputs the same to the driving circuit 53. The driving circuit 53 includes four switching elements (e.g., FET: Field Effect Transistor) and a known H-bridge circuit composed of a flywheel diode connected in parallel to the respective switching elements. The driving circuit 53 controls a current carried to the motor 10 by switching ON/OFF the switching elements in response to the driving signal (PWM signal) from the outside.
The ASIC 52 includes an operation mode setting register group 55 that stores various parameters necessary for drive control of the motor 10 by operation of the CPU 51.
The operation mode setting register group 55 includes a start setting register 71, a calculation timing setting register 73, a feedback controller parameter setting register 75, a constant driving velocity setting register 76, a driving time setting register 78, a target track generator parameter setting register 77, a manipulated variable range setting register 79, and an adaptive parameter calculation execution timing setting register 81. The start setting register 71 is used for starting the motor 10. The calculation timing setting register 73 is used for setting a calculation timing when a control device 57 calculates a manipulated variable u for use in controlling the motor 10. The feedback controller parameter setting register 75 is used for setting various control parameters used when a feedback (FB) controller 89 inside the control device 57 generates a later explained feedback controlled variable uFB. The constant driving velocity setting register 76 is used for setting a constant driving velocity for use when a target track generator 86 inside the control device 57 generates a control target value (position track and velocity track in particular; hereinafter, referred to just as “target value”) r. The driving time setting register 78 is used for setting driving time for use when the target track generator 86 generates the target value r. The target track generator parameter setting register 77 is used for setting a parameter of a function for use when the target track generator 86 generates the target value r based on the above constant driving velocity and driving time. The manipulated variable range setting register 79 is used for setting an upper limit and a lower limit of the manipulated variable u calculated in the control device 57. The adaptive parameter calculation execution timing setting register 81 is used for setting a timing at which an adaptive parameter calculator 88 inside the control device 57 executes identification of a transfer function model of the controlled object (that is, estimation of each parameter (coefficient) of a discrete-time transfer function model P(z) of the controlled object). Each setting parameter is written to each of the setting registers by the CPU 51.
The constant driving velocity represents a velocity at constant drive in conveying operation upon conveying the paper P per one path. In the conveying operation of the present embodiment, the motor 10 at a stopped state is gradually accelerated. When the velocity reaches a certain velocity (the aforementioned constant driving velocity), the motor 10 is constantly driven at the velocity for a certain period. Thereafter, the motor 10 is gradually decelerated to be stopped at a predetermined target stop position. This operation is repeated per one path of paper conveyance. Also, the driving time set in the driving time setting register 78 represents each driving time of acceleration driving time, constant driving time and deceleration driving time in particular. Accordingly, these driving time are stored in the driving time setting register 78.
In addition to the aforementioned operation mode setting register group 55, the ASIC 52 includes a clock generator 60, an encoder edge detector 61, a position counter 62, a cycle counter 63, a velocity calculator 64, the control device 57, a driving signal generator 59, and a various signal processor 65. The clock generator 60 generates and supplies, to the respective portions of the ASIC 52, clock signal having a cycle sufficiently shorter than encoder signal from the rotary encoder 49. The encoder edge detector 61, the position counter 62, the cycle counter 68, and the velocity calculator 64 serve altogether to detect position and moving velocity of the conveyor roller 41 (and further, position and moving velocity of the paper P) based on encoder signal from the rotary encoder 49. The control device 57 calculates the manipulated variable u (PWM duty ratio) of the motor 10 based on the result of detection by the position counter 62 and the velocity calculator 64 and the various parameters set in the operation mode setting register group 55. The driving signal generator 59 generates PWM signal for duty driving the motor 10 based on the manipulated variable u calculated in the control device 57 to be supplied to the driving circuit 53. The various signal processor 65 processes and outputs to the CPU 51 various signal generated inside the ASIC 52.
As noted above, the rotary encoder 49 detects rotation of the conveyor roller 41 driven by the motor 10. The rotary encoder 49 outputs two types of pulse signal (phase A signal and phase B signal) which are shifted each other by a predetermined cycle (¼ cycles, for example) according to conveying operation of the paper P. When the conveyor roller 41 is rotated in a direction for conveying the paper P, the phase of the phase A signal is advanced ahead of the phase of the phase B signal by the predetermined cycle. When the conveyor roller 41 is rotated in reverse, the phase of the phase A signal is delayed from the phase of the phase B signal by the predetermined cycle.
The encoder edge detector 61 takes in the encoder signal in the respective phases A and B to detect edges indicating the beginning/end of each cycle of the phase A signal and rotational direction of the motor 10. The encoder edge detector 61 outputs encoder edge detection signal (enc_trg) to the position counter 62 and the cycle counter 63.
The position counter 62 counts up or down a count value (enc_count) by the edge detection signal (enc_trg) according to the rotational direction of motor 10 (i.e., the conveying direction of the paper P) detected by the encoder edge detector 61 to detect conveying distance (position) of the paper P per one path. The count value (enc_count) is outputted to the control device 67 and the various signal processor 65.
The cycle counter 63 is initialized each time the edge detection signal (enc_trg) is supplied from the encoder edge detector 61. The cycle counter 63 counts the clock signal to measure the time elapsed after the edge detection signal input. Edge interval time (enc_period) indicating the result of time measurement is outputted to the velocity calculator 64 and the various signal processor 65.
The velocity calculator 64, in synchronization with the edge detection signal (enc_trg), calculates rotational velocity (enc_velocity) of the conveyor roller 41 based on physical resolution of the rotary encoder 49 and the edge interval time (enc_period) counted (measured) by the cycle counter 68 within the previous one cycle of the phase A signal.
The count value (enc_count) from the position counter 62 and the rotational velocity (enc_velocity) from the velocity calculator 64 are fed back to a feedback controller 89 as an actual controlled variable y of the controlled object (motor 10) to the given manipulated variable u. The controlled variable y is also inputted to an adaptive parameter calculator 88 to be used in calculation for identifying a transfer function model of the controlled object.
The control device 57 includes the target track generator 86, a feedforward controller 87, the adaptive parameter calculator 88, the feedback controller 89, and a manipulated variable synthesizer 90. The target track generator 86 generates various target tracks (target value r). The feedforward controller 87 generates the feedforward manipulated variable uFF as the manipulated variable by the feedforward control. The adaptive parameter calculator 88 identifies a discrete-time transfer function model P(z) of the controlled object so as to output each parameter of the obtained identification model {circumflex over (P)}(z) to the feedforward controller 87. The feedback controller 89 generates the feedback manipulated variable uFB as the manipulated variable by the feedback control. The manipulated variable synthesizer 90 combines (adds) the above two manipulated variables uFF and uFB to generate the manipulated variable u to be supplied to the driving signal generator 59.
The target track generator 86 generates the target value r (target velocity track and target position track) based on the constant driving velocity set in the constant driving velocity setting register 76 and the driving time set in the driving time setting register 78.
The feedback controller 89 takes in the actual position (enc_count) of the controlled object and the actual velocity (enc_velocity), that is, the control variable y of the controlled object, so as to compare the controlled variable y with the target value r from the target track generator 86. According to the result of comparison, the feedback manipulated variable uFB is calculated which minimizes the difference between the controlled variable y and the target value r. The feedback manipulated variable uFB is outputted to the manipulated variable synthesizer 90.
The adaptive parameter calculator 88 estimates each parameter of the discrete-time transfer function model P(z) of the controlled object and performs calculation for deriving the identification model {circumflex over (P)}(z). The obtained identification model {circumflex over (P)}(z) is used in the feedforward controller 87.
The feedforward controller 87 includes an inverse model 1/{circumflex over (P)}(z) of the identification model {circumflex over (P)}(z) obtained in the adaptive parameter calculator 88. The feedforward controller 87 generates the feedforward manipulated variables uFF to the input target value r. In the present embodiment, identification of the discrete-time transfer function model P(z) by the adaptive parameter calculator 88 is performed at a predetermined timing (details will be explained later). The obtained identification model {circumflex over (P)}(z) is reflected in the feedforward controller 87.
In the control device 57 configured as above, like the adaptive control system shown in
In the adaptive identifier 107 of
(4) Identification of Transfer Function Model
Firstly, the transfer function model of the controlled object is obtained by applying equation of motion to the controlled object. The controlled object of the present embodiment can be roughly replaced with a simplified model as shown in
Also, the equation of motion around the conveyor roller 41 can be expressed by equation (16) below.
where θM: motor angle displacement;
A Laplace transform is performed on equations (15) and (16). Assuming that the motor current is I(s) and the conveyor roller angle displacement is ΘT,(s), a continuous-time transfer function model P(s) like equation (17) of the controlled object below is obtained.
Replacing equation (17) with equation (18) below, equation (18) is transformed into a discrete-time transfer function model P(z) using bilinear transformation. Then, equation (19) below is established.
The discrete-time transfer function model P(z) of equation (19) is further reexpressed by equation (20) below.
The adaptive parameter calculator 88 estimates each coefficient (parameter) of the numerator and the denominator of the discrete-time transfer function model P(z) of the controlled object expressed by equation (20). As a result, an identification model P(z) is obtained. At that time, the numerator is not expanded to a polynomial as in the conventional equation (3), A single unknown coefficient b is directly estimated. Particularly, calculation according to the adaptive update rule expressed by equation (21) below is repeated to update an identification coefficient {circumflex over (θ)}(k) that is an estimate of each coefficient b, a4, a3, a2, a1.
{circumflex over (θ)}(k)={circumflex over (θ)}(k−1)−L·v(k){tilde over (e)}(k) (21)
where {circumflex over (θ)}(k)=[{circumflex over (b)},ân, . . . , â1],
Equation (21) is a general equation. In the present embodiment, equation (21) is calculated in case that n=4. Thereby, the identification coefficient {circumflex over (θ)}(k) approaches the actual coefficient of the discrete-time transfer function model P(z) of the controlled object. The difference between {circumflex over (θ)}(k) and {circumflex over (θ)}(k−1) is gradually reduced. In other words, the difference between the controlled variable y(k) of the discrete-time transfer function model P(z) and the controlled variable ŷ(k) of the identification model {circumflex over (P)}(z) becomes gradually small so that {tilde over (e)}(k) gradually comes close to zero. When {tilde over (e)}(k) is equal to or below an update completion determination value due to approximate consistency between the result of calculation {circumflex over (θ)}(k) this time by a coefficient update calculator and the result of calculation {circumflex over (θ)}(k−1) of the previous time, calculation is ended to determine the identification model {circumflex over (P)}(z) based on the identification coefficient {circumflex over (θ)}(k) at that point.
The identification model {circumflex over (P)}(z) obtained as above is reflected in the feedforward controller 87. That is, the inverse model 1/{circumflex over (P)}(z) of the obtained identification model {circumflex over (P)}(z) is used as a transfer function of the feedforward controller 87.
In detailed explanation on the adaptive update rule of equation (21), the discrete-time transfer function model P(z) of the controlled object defined by equation (20) is expressed by equation (22) below in the same manner as in equation (3) above.
Also, a relationship similar to the aforementioned equation (4) is established among P(z), u(k) and y(k). Thus, applying equation (22) to equation (4), equation (23) is obtained.
b(z−1+1)4u(k)=(1+a4z−1+a3z−2+a2z−3+a1z−4)y(k) (23)
Equation (23) can be reexpressed by equation (24) below.
The respective coefficients of the transfer function model P(z) of the controlled object are defined as θ=[b, a4, a3, a2, a1] in a collective manner. Then, equation (24) can be defined by equation (25) below.
y(k)=ƒYv(k) (25)
Accordingly, the output ŷ(k) from the identification model {circumflex over (P)}(z) can be expressed by equation (26) below, as noted in ‘where’ clause of equation (21).
ŷ(k)={circumflex over (θ)}Y(k−1)v(k) (26)
TABLE 2 shows an example of the result of identification calculated by the adaptive parameter calculator 88 of the present embodiment.
TABLE 2 shows only the numerator coefficient of equation (22). In TABLE 2, b is a predetermined simulated value, and {circumflex over (b)} is the result of estimation (identification) in the present embodiment. As seen from TABLE 2, estimation of the coefficient is favorably achieved. Estimation accuracy of the coefficient is equivalent to or higher than the conventional manner.
As above, there is no unstable zero point in the identification model {circumflex over (P)}(z). Moreover, identification of each coefficient is favorably performed. Thus, use of the inverse model of the identification model {circumflex over (P)}(z) in the feedforward controller 87 does not destabilize the overall system. Accordingly, the feedforward manipulated variable uFF from the feedforward controller 87 is also stable as shown in
Now, an identification calculation process performed in the adaptive parameter calculator 88 will be explained by way of
The identification calculation process in
When the identification calculation process of
Based on the obtained ŷ(k) and {tilde over (e)}(k), the identification coefficient {circumflex over (θ)}(k) by the adaptive update rule of equation (21) is calculated in S130. In S140, it is determined whether the update (i.e., identification) is complete. That is, it is determined whether the calculated {circumflex over (θ)}(k) is approximately consistent with the previously calculated {circumflex over (θ)}(k−1) and {tilde over (e)}(k) is equal to or below the predetermined update completion determination value. If it is determined that the update is complete, the identification calculation process is ended. Otherwise, the steps of S110 onwards (calculation) are repeated until the update is complete.
As is clear from v(k) described in ‘where’ clause of equation (21), if the identification calculation process of
(5) Effect of Embodiment
As noted above in detail, in the multi function apparatus 1 of the present embodiment, a double-degree-of-freedom system including feedback control and feedforward control is implemented in the control device 57 (see
Accordingly, even if the result of estimation causes error, there is no unstable zero point in the identification model {circumflex over (P)}(z) regardless of the magnitude of the error. Thus, the feedforward controller 87 can generate the stable feedforward manipulated variable uFF. Control performance in paper conveyance can be favorably maintained. Moreover, the coefficient to be estimated regarding the numerator of P(z) is just one (i.e., b) regardless of the degree of z. Thus, time necessary for identification can be shortened.
Particularly, the controlled object of paper conveyance control in the present embodiment is defined by a zeroth-degree/nth-degree continuous-time transfer function model P(s) like equation (17) above. Then, the model P(s) is transformed into the discrete-time transfer function model P(z) expressed by equation (20) above. That is, the zero point of the discrete-time transfer function model P(z) exists at stability limit. Therefore, the identification model {circumflex over (P)}(z) may have an unstable zero point in the conventional identification technique as already explained. However, in the present embodiment, the numerator coefficient b is estimated with the zero point fixed as noted above. Thus, there is no unstable zero point in the identification model {circumflex over (P)}(z).
(6) Variations
The present invention is not limited to the above described embodiment. The present invention can be practiced in various manners without departing from the technical scope of the invention.
For instance, in the above embodiment, identification is performed with a zeroth-degree/nth-degree continuous-time transfer function model P(s) of the controlled object, which is transformed into a discrete-time transfer function model P(z) having the numerator of b(z+1)4. However, this is only an example. If the numerator is defined by b(z±1)n or b(z±1)mg(z) (where g(z) is an expression of degree n−m of z), or if a discrete-time transfer function model P(z) is defined by equation (27) and has no unstable zero point, the present invention can be adapted to such controlled object. The case in which the numerator is defined by b(z±1)n or b(z±1)mg(z) (where g(z) is an expression of degree n−m of z) eventually results in the form of equation (27).
where b, a1, . . . , an: unknown coefficient, and
In this case, the adaptive parameter calculator 88 may perform calculation in accordance with the adaptive update rule of equation (28) in the same manner as in the above embodiment.
{circumflex over (θ)}(k)={circumflex over (θ)}(k−1)−L·v(k){tilde over (e)}(k) (28)
where {circumflex over (θ)}(k)=[{circumflex over (b)}, ân, . . . , â1],
Only difference between equation (28) and equation (21) in the above embodiment is found in v(k).
Also, the above embodiment explains the case in which the adaptive control technique of the present invention is applied to a double-degree-of-freedom control system. However, the adaptive control technique of the present invention can be applied to any adaptive control device which is designed to identify a transfer function model of a controlled object and reflect the result of identification in various control units.
Moreover, in the above embodiment, identification of the discrete-time transfer function model P(z) of the controlled object is executed by the adaptive parameter calculator 88 as a hardware circuit. Instead, a program that makes a computer execute the aforementioned identification calculation process of
For example, the above program may be stored in the ROM inside the CPU 51 to be executed by the CPU 51.
Alternatively, the above program may be downloaded from the outside of the multi function apparatus 1 to the CPU 51 by a carrier to be executed by the CPU 51.
Also, in the above embodiment, the present invention is applied to control of paper conveyance. However, the present invention may be applied to movement of the recording head 15.
Number | Date | Country | Kind |
---|---|---|---|
2006-267759 | Sep 2006 | JP | national |