US7019481B2 - Carriage driving apparatus and motor control method - Google Patents

Carriage driving apparatus and motor control method Download PDF

Info

Publication number
US7019481B2
US7019481B2 US10/766,914 US76691404A US7019481B2 US 7019481 B2 US7019481 B2 US 7019481B2 US 76691404 A US76691404 A US 76691404A US 7019481 B2 US7019481 B2 US 7019481B2
Authority
US
United States
Prior art keywords
carriage
parameters
sets
motor
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
US10/766,914
Other versions
US20040184860A1 (en
Inventor
Shinya Kato
Daisuke Kozaki
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Assigned to BROTHER KOGYO KABUSHIKI KAISHA reassignment BROTHER KOGYO KABUSHIKI KAISHA ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: KATO, SHINYA, KOZAKI, DAISUKE
Publication of US20040184860A1 publication Critical patent/US20040184860A1/en
Application granted granted Critical
Publication of US7019481B2 publication Critical patent/US7019481B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J19/00Character- or line-spacing mechanisms
    • B41J19/18Character-spacing or back-spacing mechanisms; Carriage return or release devices therefor
    • B41J19/20Positive-feed character-spacing mechanisms
    • B41J19/202Drive control means for carriage movement

Definitions

  • the present invention relates to a carriage driving apparatus that drives a carriage of a printer or the like by a motor, and a motor control method for controlling the motor.
  • the present invention more particularly relates to a carriage driving apparatus and a motor control method characterized by the determination of parameters used in the control of the motor.
  • a conventional carriage of a printer or the like is connected to an endless belt driven by a motor, and is moved in a scanning direction by driving the endless belt through a pulley and the like in accordance with the rotation of the motor.
  • the control of the motor is performed based on a variety of, parameters. For example, when the motor is controlled by so-called PID control, in which feedback control is performed using P control (Proportional control), I control (Integral control) and D control (Differential control) together, parameters such as P gain (Proportional gain), I gain (Integral gain) and D gain (Differential gain) are used.
  • the load applied to the motor for driving the carriage varies also depending on the assembly error or variation present among individual apparatuses such as printers. Conventionally, there is no effective measures to eliminate the influence of such variation in the load among individual apparatuses, which results in variation in the control accuracy among individual apparatuses such as printers.
  • an object of the present invention is to provide a carriage driving apparatus that drives a carriage of a printer or the like by a motor, and a motor control method for controlling a motor, according to which variation in the control accuracy among apparatuses can be substantially eliminated.
  • a carriage driving apparatus which comprises: a motor for driving a carriage; a storage device that stores a plurality of sets of parameters necessary for controlling the motor; and a control device that selects one set of parameters stored by the storage device and controls the motor based on the one set of parameters, wherein the one set of parameters to be selected are determined based on the behavior of the carriage in a constant speed area when the carriage is driven by the motor.
  • the behavior of the carriage in the constant speed area when the carriage is driven corresponds substantially to the amount of load applied to the drive system of the carriage.
  • the influence of the variation of the load caused by the individual assembly error or variation on the control can be substantially eliminated. And thus, occurrence of variation in control accuracy among individual apparatuses is substantially inhibited, which results in provision of products with stable performance.
  • the one set of parameters described above include at least two parameters among P gain, I gain and D gain when controlling the motor by PID control and a variety of parameters which characterize a driver of the motor.
  • P gain, I gain and D gain when controlling the motor by PID control and the variety of parameters which characterize the driver of the motor has an extremely close relationship with improvement of the control accuracy.
  • the present invention according to which a set of parameters including at least two of the parameters are selected as described above, provides an additional advantage that the control accuracy may be further improved.
  • the load applied to the drive system changes also in accordance with the target speed of the carriage in the constant speed area.
  • the motor is driven based on each set of parameters with respect to each target speed of the carriage in the constant speed area, and the one set of parameters to be selected with respect to the each target speed is determined based on the behavior of the carriage in the constant speed area.
  • a set of parameters based on which the minimum value of the speed of the carriage is the largest when the motor is driven based on the each set of parameters, is determined to be the one set of parameters to be selected with respect to the each target speed.
  • the speed of the carriage usually overshoots once during acceleration time and subsequently undershoots, and then gradually converges to the target speed.
  • a set of parameters based on which the value during the first undershoot in the constant speed area is the closest to the target speed are to be selected.
  • the present invention provides an additional advantage that the process of determining one set of parameters to be selected may be simplified and accelerated.
  • a set of parameters based on which one of the maximum value and the minimum value of the speed of the carriage in the constant speed area is beyond a predetermined range with respect to the target speed, are determined not to be the one set of parameters to be selected with respect to the target speed.
  • the present invention provides an advantage that the process of determining one set of parameters to be selected may be performed further appropriately, resulting in further improved control accuracy.
  • the behavior of the carriage in the constant speed area corresponds substantially to the amount of load applied to the drive system of the carriage.
  • the storage device stores a plurality of sets of parameters respectively expected to be optimum in accordance with the amount of load to the drive system of the carriage.
  • the carriage driving apparatus further comprises a temperature detection device for detecting the temperature in the vicinity of the drive system of the carriage, and the control device selects the one set of parameters additionally referring to the temperature detected by the temperature detection device.
  • the influence of the temperature on the load to the drive system of the carriage is extremely large, exceeding the influence of the difference among the individual drive systems.
  • the one get of parameters to be selected by the control device at a low temperature is the same regardless of the behavior of the carriage in the constant speed area.
  • the process of determining one set of parameters to be selected may be simplified and the amount of required memory can be reduced.
  • the one set of parameters to be selected by the control device at a low temperature is also determined referring to the behavior of the carriage in the constant speed area.
  • control can be performed reflecting the difference among the individual drive systems, resulting in further improved control accuracy.
  • a carriage driving apparatus which comprises: a motor for driving a carriage; a storage device that stores a plurality of sets of parameters necessary for controlling the motor; a control device that selects one set of parameters stored by the storage device and controls the motor based on the one set of parameters; and a temperature detection device that detects the temperature in the vicinity of the drive system of the carriage, wherein the control device selects the one set of parameters referring to the amount of load to the drive system of the carriage when the carriage is driven by the motor and the temperature detected by the temperature detection device.
  • the one set of parameters appropriately correspond to the variation in load among individual drive systems and the temperature of the drive system. Therefore, the influence of the variation in load among individual drive systems on the control as well as occurrence of variation in control accuracy among individual drive systems can be substantially eliminated. Moreover, the present invention provides further improved control accuracy by also referring to the temperature when selecting the one set of parameters.
  • the storage device stores a plurality of sets of parameters respectively expected to be optimum in accordance with the amount of load to the drive system of the carriage and the temperature in the vicinity of the drive system of the carriage.
  • control accuracy can be achieved by selecting an appropriate set of parameters from among the plurality of sets of parameters.
  • the load applied to the drive system of the motor varies also depending on the temperature of the drive system.
  • a motor control method wherein the temperature in the vicinity of the drive system of the motor is detected and the one set of parameters are selected additionally referring to the detected temperature.
  • the motor control method as described above may be applied to the driving of various mechanisms such as a scanner other than the driving of a carriage as well as to an apparatus other than a printer.
  • FIG. 1 is a perspective view illustrating the external appearance of a multifunction apparatus according to the present invention
  • FIG. 2 is an explanatory view schematically illustrating the structure of the printing mechanism of the multifunction apparatus
  • FIG. 3 is a schematic diagram of encoder signals of a linear encoder equipped in the carriage of the printing mechanism and a variety of signals generated based on the encoder signals;
  • FIG. 4 is an explanatory diagram schematically illustrating the operation of the carriage
  • FIG. 5 is a block diagram illustrating the constitution of the control system of the multifunction apparatus
  • FIG. 6 is a block diagram illustrating in detail the constitution with respect to the control of a CR motor in an ASIC in the control system;
  • FIG. 7 is a block diagram illustrating in detail the constitution of a feedback control portion in the ASIC
  • FIG. 8 is a block diagram illustrating the constitution of a motor drive circuit in the control system
  • FIG. 9 is an explanatory diagram illustrating an example of tables stored on a ROM in the control system.
  • FIG. 10 is a flowchart, illustrating the table determination process performed in the control system
  • FIG. 11 is an explanatory diagram illustrating the table selection principle in the table determination process.
  • FIG. 12 is a flowchart illustrating the carriage moving process performed in the control system.
  • the present invention is applied to a multifunction apparatus 100 with a printer function, a copier function, a scanner function, a facsimile function and a telephone function.
  • the multifunction apparatus 100 is provided with a paper feed unit 1 at its rear end, a document scanning unit 2 for the copier function in its upper portion and in front of the paper feed unit 1 , and an ink jet printer 3 that achieves the printer function under and throughout the lower portion of the document reading unit 2 .
  • the document reading unit 2 is designed, although not shown, to be pivotable in upward and downward directions around a horizontal axis at its rear end.
  • an upper lid 2 a When an upper lid 2 a is opened upward, there are provided a mounting glass for mounting a document thereon, and an image scanner device for scanning the document under the mounting glass.
  • an image scanner device By manually lifting the document scanning unit 2 upward, replacement of a not-shown ink cartridge in the ink jet printer 3 and maintenance of the printing mechanism 10 (see FIG. 2 ) can be performed.
  • FIG. 2 is an explanatory view schematically illustrating the structure of the printing mechanism 10 .
  • printing paper 33 fed by the paper feed unit 1 is transferred by retainer rollers 32 and other components.
  • a guide shaft 34 is provided in the width direction of the printing paper 33 .
  • the guide shaft 34 is inserted through a carriage 31 provided with a print head 30 for performing printing by discharging ink from a nozzle toward the printing paper 83 .
  • the carriage 31 is connected to an endless bolt 37 provided along the guide shaft 34 , and the endless belt 37 is spread between a pulley 86 of a CR motor 35 disposed near one end of the guide shaft 34 and an idle pulley (not shown) disposed near the other end of the guide shaft 34 .
  • the carriage 31 is designed to reciprocate in the width direction of the printing paper 33 (i.e. the scanning direction) along the guide shaft 34 by the driving force of the CR motor 35 transmitted through the endless belt 37 .
  • a timing slit 38 provided with slits having a specified width at specified intervals (for example, 1/150 inch or approximately 0.17 mm) is disposed under and along the guide shaft 34 .
  • a detection portion comprising a photointerruptor including at least one light emitting element and two or more light receiving elements arranged on both sides of the timing slit 38 and facing with each other.
  • the detection portion comprising the photointerruptor constitutes a linear encoder 39 (see FIG. 5 ) together with the above-mentioned timing slit 38 .
  • the detection portion constituting the linear encoder 39 outputs, as shown in FIG. 3 , two kinds of encoder signals ENC 1 , ENC 2 shifted by approximately 1 ⁇ 4 cycle with each other.
  • ENC 1 When the moving direction of the carriage 31 is the forward direction, i.e. from a home position. (the leftmost position in FIG. 1 ) toward the idle pulley, ENC 1 has a phase advanced by approximately 1 ⁇ 4 cycle relative to ENC 2 .
  • ENC 1 When the moving direction of the carriage 31 is the reverse direction, i.e. from the idle pulley toward the home position, ENC 1 has a phase delayed by approximately 1 ⁇ 4 cycle relative to ENC 2 .
  • FIG. 4 is an explanatory diagram schematically illustrating the operation of the carriage 31 .
  • the carriage 31 stays at the home position set in the vicinity of the end of the guide shaft 34 on the side of the pulley 35 or at a position where the printing last time was stopped (hereinafter referred to as a starting point which indicates the movement start position of the carriage 31 .)
  • the carriage 31 is accelerated so as to reach an ultimate target speed within a distance to a predetermined printing start position.
  • the carriage 31 is moved at a constant speed to a predetermined printing end position.
  • the carriage 31 is decelerated to a halt.
  • an area from the starting point to the printing start position is referred to as the acceleration area (which specifically is divided into a first acceleration area, a second acceleration area and a transition area).
  • An area from the printing start position to the printing end position is referred to as a “constant speed area”.
  • An area from the printing end position to a position at which the carriage 81 is stopped is referred to as a “deceleration area”.
  • FIG. 5 is a block diagram illustrating the constitution of the control system of the multifunction apparatus 100 .
  • a CPU 41 for performing a variety of computation a ROM 142 for storing a various programs, after-mentioned tables 42 a – 42 d and others in an unrewritable manner, a RAM 43 for temporarily storing a variety of data, and an EEPROM 44 capable of rewriting the stored content by providing a specific electric signal are interconnected through a bus 45 so as to be capable of transmitting/receiving signals to/from one another.
  • an ASIC Application Specific Integrated Circuit
  • the CR motor 85 is connected to the ASIC 46 through a motor drive circuit 4 in addition to the paper feed unit 1 and the document scanning unit 2 connected to the ASIC 46 .
  • Signals from the above-mentioned linear encoder 39 are input into the ASIC 46
  • signals from a thermistor 47 for measuring the apparatus temperature of the multifunction apparatus 100 are input into the ASIC 46 through an AID converter 48 .
  • the thermistor 47 is provided at a place within the multifunction apparatus 100 which is to be affected little by the heat from a substrate or the like.
  • an LCD 81 and an operation panel 82 are connected through a panel interface (panel I/F) 80
  • a motor for pump 84 is connected through a motor drive circuit 83
  • a motor for maintenance 86 is connected through a motor drive circuit 85 , respectively.
  • a parallel interface (parallel I/F) 87 capable of connecting a parallel cable to
  • a USB interface (USB I/F) 88 capable of connecting a USB cable to
  • an NCU (Network Control Unit) 89 capable of connecting a line such as a telephone line to are connected to the ASIC 46 to allow connection with external devices.
  • the NCU 89 is also connected to the bus 45 through a modem 90 .
  • FIG. 6 is a block diagram illustrating the constitution of the ASIC 46 in detail with respect to the control of the CR motor 35 .
  • the ASIC 46 is provided with a group of registers 5 for storing a variety of parameters to be used for controlling the CR motor 35 , a carriage positioning portion 6 for receiving encoder signals ENC 1 , ENC 2 from the linear encoder 39 and calculating the position, the moving speed and the moving direction of the carriage 81 , a motor control portion 7 for generating a motor control signal for controlling the rotating speed of the CR motor 35 , a PWM generating portion 8 for generating a PWM signal having a duty ratio corresponding to the motor control signal generated by the motor control portion 7 , and a clock generating portion 9 for generating a clock signal with a sufficiently shorter cycle compared with the encoder signals ENC 1 , ENC 2 and providing the clock signal to each portion within the ASIC 46 .
  • the group of registers 5 include a start setting register 51 for starting the CR motor 35 , a position register. 52 for setting a border position between each two of the above-described areas regarding the movement of the carriage 31 , a PWM value register 53 for setting a variety of PWM values used when controlling the rotating speed of the CR motor 35 by open-loop control, a target speed register 54 for setting a target speed of the carriage 31 in each of the above-described areas, and a gain register 55 for setting a variety of gains used when controlling the rotating speed of the CR motor 35 by feedback control. As shown in FIG.
  • a first change-over position, a second change-over position and a deceleration start position are set in the position register 52 , while an initial PWM value, an acceleration PWM value and a deceleration PWM value are set in the PWM value register 53 .
  • a first target speed, a second target speed and an ultimate target speed are registered in the target speed register 54 , while an acceleration proportional gain, an acceleration differential gain, a transition proportional gain, a transition differential gain, a constant speed differential gain and a constant speed integral gain are set in the gain register 55 .
  • the carriage positioning portion 6 is provided with an edge detection portion 60 and a position counter 61 .
  • the edge detection portion 60 detects, based on the encoder signals ENC 1 , ENC 2 from the linear encoder 39 , edge detection signals (here an edge of ENC 1 while ENC 2 is at a high level) indicating the start/end of each cycle of the encoder signal ENC 1 and the rotating direction of the CR motor 36 (i.e. the forward direction when the edge detection signals indicate trailing edges of ENC 1 , and the reverse direction when the edge detection signals indicate a leading edge of ENC 1 ).
  • the position counter 61 detects what number slit from the home position the carriage 31 is at by counting up based on the edge detection signals when the rotating. direction of the CR motor 35 detected by the edge detection portion 60 and thus the moving direction of the carriage 31 is the forward direction, while by counting down based on the edge detection signals when the rotating direction of the CR motor 35 is the reverse direction.
  • each position set in the position register 52 in the group of registers 5 is indicated by a count value at the position counter 61 .
  • the motor control portion 7 outputs control signals as described below based on these data (the position and the moving speed of the carriage 31 ) input from the carriage positioning portion 6 and a variety of data set in the group of registers 5 .
  • the motor control portion 7 includes an open-loop control portion 71 for generating a motor control signal by open-loop control and a feedback control portion 72 for generating a motor control signal by feedback control, both based on the input data.
  • the open-loop control portion 71 performs open-loop control from when the carriage 81 starts its movement until the carriage 31 reaches the first target change-over position or the first target speed. Specifically, the control is performed by first generating a motor control signal based on the initial PWM value, and then adding a given number of the acceleration PWM values per given time period. Then, the feedback control portion 72 performs feedback control (PD control) based on the second target speed as well as the acceleration proportional gain and the acceleration differential gain until the carriage 31 reaches the second target change-over position or the second target speed.
  • PD control feedback control
  • the feedback control portion 72 performs feedback control (PD control) based on the ultimate target speed as well as the transition proportional gain and the transition differential gain.
  • PD control feedback control
  • the feedback control portion 72 performs feedback control (PID control) based on the ultimate target speed as well as the constant speed proportional gain, the constant speed differential gain, and the constant speed integral gain.
  • PID control feedback control
  • the open-loop control portion 71 performs open-loop control by subtracting a given number of the deceleration PWM values per given time period.
  • the feedback control portion 72 includes a subtracter 72 a for subtracting the moving speed Vi of the carriage 31 calculated by the speed converter portion 64 from a target speed Vobj input at a time point in order to calculate a speed deviation, a proportional calculator 72 b for multiplying the speed deviation calculated by the subtracter 72 a by the proportional gain, which is a stored value in the gain register 55 , an integral calculator 72 c for integrating the speed deviation and multiplying the integrated value by the integral gain, which is a stored value in the gain register 55 , a differential calculator 72 d for differentiating the speed deviation and multiplying the differentiated value by the differential gain, which is a stored value in the gain register 55 , and an adder 72 e for adding all the calculated values calculated by the proportional calculator 72 b , the integral calculator 72 c and the differential calculator 72 d , and then outputting the added value as a motor control signal.
  • the feedback control portion 72 is designed to perform so-called PID control, while is able to perform the above
  • the motor control signal obtained as a result of these calculations is turned into a PWM signal at the PWM generating portion 8 , and the PWM signal is input to the motor drive circuit 4 .
  • the motor drive circuit 4 includes a converter 4 a for converting the PWM signal into a target current value to be applied to the CR motor 35 and a motor driver IC 4 b for performing PWM control such that the current applied to the CR motor 35 equals the target current value.
  • an “SC901502” (a product name, produced by MOTOROLA) is used as the motor driver IC 4 b .
  • the motor driver IC 4 b it is possible to set a fixed off time of the PWM by inputting a fixed off time from the CPU 41 , to set a time when the applied current decays rapidly while the PWM is off by inputting a fast decay time, and to change the range by inputting a range from the CPU 41 .
  • FIG. 9 is an explanatory diagram showing an example of tables 42 a – 42 s stored on the ROM 142 .
  • Mode ultimate target speed
  • three cases of a heavy load case, a light load case and a standard load case are prepared in accordance with the difference in load among individual drive systems of the carriage 31 (and thus the drive systems of the CR motor 35 ).
  • three kinds of tables 42 a – 42 c containing the above parameters expected to be optimum at normal temperature and one kind of table 42 d containing the above parameters expected to be optimum at lower temperatures are stored on the ROM 142 .
  • the normal temperature means the apparatus temperature of 18° C. or higher (in this case, the ambient air temperature is usually 7° C.–8° C. or higher), while the lower temperatures mean temperatures lower than the above specified normal temperature.
  • the influence of the temperature on the load to the drive system of the carriage 31 is extremely large, exceeding the influence of the difference among the individual drive systems. This is the reason why just one kind of table 42 d is prepared corresponding to lower temperatures regardless of the load in the present embodiment.
  • FIG, 10 is a flowchart showing the table setting process executed by the CPU 41 in the final step of the manufacturing process of the multifunction apparatus 100 or during maintenance by a service technician. This process is executed in the environment with, a normal or a slightly higher ambient temperature(20° C.–28° C.), for example, in the above manufacturing process.
  • the CPU 41 when starting the process, the CPU 41 first makes the carriage 31 operate using a table 42 a for a light load in S 1 (S means a step. Hereinafter the same in the following paragraph).
  • S 2 speed changes of the carriage 31 when the carriage 31 operates in S 1 are measured.
  • the carriage 31 is made to operate under respective conditions of the variety of ultimate target speeds and the both forward and reverse directions shown in FIG. 9 .
  • the speed changes particularly from when the carriage 31 enters the constant speed area until when a first speed undershoot occurs, are measured regarding the respective conditions.
  • FIG. 11 shows an example in which the lowest speed during an undershoot of speed in the constant speed area is L1 as indicated by a solid line when the carriage 31 is made to operate using one table 42 , while the lowest speed is L 2 ( ⁇ L 1 ) as indicated by a chain line when the carriage 31 is made to operate using another table 42 .
  • the former table 42 is more suitable for the drive system of the carriage 31 , and, therefore, the former table 42 is selected in S 7 .
  • the table 42 is not selected. For example, if even the speed during an overshoot is lower than the ultimate target speed or even the speed during an undershoot is higher than the ultimate target speed as indicated by a chain double-dashed line in FIG. 11 , it is conjectured that the table 42 used in such a case is not at all suitable for the drive system of the carriage 31 , or that some unexpected trouble has occurred. Thus, in S 7 , the table 42 according to which speed changes as described above have been measured is eliminated from the selection.
  • the optimum table 42 for the drive system of the carriage 31 in the multifunction apparatus 100 is selected in S 7 . Selections are also performed under respective conditions of the variety of ultimate target speeds and the both forward and reverse directions, and each identification number and the like of each selected table 42 corresponding to each ultimate target speed and each direction is stored on the EEPROM 44 . When storage on the EEPROM 44 is completed, the CPU temporarily terminates the present process.
  • FIG. 12 is a flowchart showing the carriage moving process executed by the CPU 41 when a user uses the multifunction apparatus 100 .
  • the CPU 41 determines whether or not the apparatus temperature is 18° C. or higher through the thermistor 47 (S 11 ).
  • a table 42 a is selected in accordance with the ultimate target speed in the present job (corresponding to the resolution necessary for the job) from the tables 42 selected in the above described table setting process in FIG. 10 .
  • the carriage 31 is moved by using the selected table 42 a , and then the present process is temporarily terminated.
  • the carriage 31 is moved by using the table for low temperature 42 d , and then the present process is temporarily terminated. During the movement of the carriage 31 by the carriage moving process, printing data is processed by another routine, and ink is discharged from the print head 30 .
  • the control of the CR motor 35 is performed by using the table 42 previously selected based on the behavior of the carriage 31 in the constant speed area. Since the selected table 42 properly reflects the variation among the individual multifunction apparatuses 100 with respect to the load to the drive system of the carriage 31 , the influence of the variation among the individuals with respect to the load on the control can be sufficiently eliminated by the control using the table 42 . Accordingly, it will be possible to substantially prevent occurrence of the variation in control accuracy with respect to the driving of the carriage 31 among the individual multifunction apparatuses 100 .
  • each optimum table 42 is set with respect to each of the ultimate target speeds of the carriage 31 as well as each of the forward and reverse directions, the control accuracy may be further imp roved.
  • the apparatus temperature is also referred to and the different table 42 d is used at a low temperature, the control accuracy may be further improved regardless of the temperature.
  • the present invention is not limited to the above described embodiment, but may be practiced in various forms within the scope not departing from the gist of the present invention.
  • the table setting process in FIG. 10 may be executed when the multifunction apparatus 100 is turned on or every time printing of a predetermined number of pages has been completed. In this case, even when the load is changed by, for example, a change in tension of the endless belt 37 due to deterioration with age, appropriate countermeasures can be taken.
  • a table 42 in which the lowest speed during an undershoot is the fastest is selected in the above described table setting process
  • a table 42 in which the highest speed during an overshoot is the slowest or a table in which the amplitude of changes in speed is the smallest may be selected. According to the present embodiment, however, it is only necessary to observe the behavior in speed immediately after the carriage 31 enters the constant speed area, which may simplify and accelerate the table setting process.
  • a table for low temperature 42 d three kinds of tables, i.e. a table for heavy load and low temperature, a table for standard load and low temperature and a table for light load and low temperature, in accordance with the load to the drive system of the carriage 31 .
  • a table for high temperature 42 may be prepared.

Abstract

A carriage driving apparatus that drives a carriage of a printer or the like by a motor and a motor control method for controlling the motor can substantially eliminate variation in control accuracy among individual apparatuses. Each set of various parameters are determined with respect to each ultimate target speed of the carriage and each moving direction, and contained in a table. Three kinds of tables, i.e. a table for heavy load, a table for light load and a table for standard load in accordance with the difference in load applied to individual drive systems of the carriage, as well as one kind of table for low temperature are prepared and stored on a ROM. It is determined which of the three kinds of tables should be selected at normal temperature by actually driving the carriage in the final step of the manufacturing process.

Description

BACKGROUND OF THE INVENTION
i) Field of the Invention
The present invention relates to a carriage driving apparatus that drives a carriage of a printer or the like by a motor, and a motor control method for controlling the motor. The present invention more particularly relates to a carriage driving apparatus and a motor control method characterized by the determination of parameters used in the control of the motor.
ii) Description of the Prior Art
A conventional carriage of a printer or the like is connected to an endless belt driven by a motor, and is moved in a scanning direction by driving the endless belt through a pulley and the like in accordance with the rotation of the motor. To adjust the moving speed of the carriage to a desired value, the control of the motor is performed based on a variety of, parameters. For example, when the motor is controlled by so-called PID control, in which feedback control is performed using P control (Proportional control), I control (Integral control) and D control (Differential control) together, parameters such as P gain (Proportional gain), I gain (Integral gain) and D gain (Differential gain) are used.
When the apparatus temperature of a printer is low while driving a carriage, oil applied to the mechanism of the printer is hardened, resulting in a larger load to the motor than a load at normal temperature. Then, the apparatus temperature is detected by a sensor, and the control amount is determined in accordance with the detected temperature (see Publication of Unexamined Japanese Patent Application No. 7-163182).
The load applied to the motor for driving the carriage varies also depending on the assembly error or variation present among individual apparatuses such as printers. Conventionally, there is no effective measures to eliminate the influence of such variation in the load among individual apparatuses, which results in variation in the control accuracy among individual apparatuses such as printers.
Therefore, an object of the present invention is to provide a carriage driving apparatus that drives a carriage of a printer or the like by a motor, and a motor control method for controlling a motor, according to which variation in the control accuracy among apparatuses can be substantially eliminated.
SUMMARY OF THE INVENTION
To attain this and other objects, there is provided a carriage driving apparatus which comprises: a motor for driving a carriage; a storage device that stores a plurality of sets of parameters necessary for controlling the motor; and a control device that selects one set of parameters stored by the storage device and controls the motor based on the one set of parameters, wherein the one set of parameters to be selected are determined based on the behavior of the carriage in a constant speed area when the carriage is driven by the motor.
The behavior of the carriage in the constant speed area when the carriage is driven corresponds substantially to the amount of load applied to the drive system of the carriage. By determining the one set of parameters to be selected based on the behavior of the carriage in the constant speed area, the influence of the individual variation with respect to the load on the control can be successfully eliminated.
Accordingly, in the present invention, the influence of the variation of the load caused by the individual assembly error or variation on the control can be substantially eliminated. And thus, occurrence of variation in control accuracy among individual apparatuses is substantially inhibited, which results in provision of products with stable performance.
In another aspect of the present invention, the one set of parameters described above include at least two parameters among P gain, I gain and D gain when controlling the motor by PID control and a variety of parameters which characterize a driver of the motor.
P gain, I gain and D gain when controlling the motor by PID control and the variety of parameters which characterize the driver of the motor has an extremely close relationship with improvement of the control accuracy. The present invention, according to which a set of parameters including at least two of the parameters are selected as described above, provides an additional advantage that the control accuracy may be further improved.
The load applied to the drive system changes also in accordance with the target speed of the carriage in the constant speed area. In a further aspect of the present invention, the motor is driven based on each set of parameters with respect to each target speed of the carriage in the constant speed area, and the one set of parameters to be selected with respect to the each target speed is determined based on the behavior of the carriage in the constant speed area.
According to the present invention constituted as above, changes in load in accordance with the target speed can be coped with, which results in an advantage that the control accuracy may be further improved even when the target speed is variously changed.
In another aspect of the present invention, a set of parameters, based on which the minimum value of the speed of the carriage is the largest when the motor is driven based on the each set of parameters, is determined to be the one set of parameters to be selected with respect to the each target speed. A set of parameters, based on which the speed of the carriage converges to the target speed most appropriately, are selected as the optimum set of parameters. The speed of the carriage usually overshoots once during acceleration time and subsequently undershoots, and then gradually converges to the target speed. In the present invention, a set of parameters based on which the value during the first undershoot in the constant speed area is the closest to the target speed are to be selected.
When the set of parameters to be selected are determined as described above, it is only necessary to observe the behavior of the carriage in the early stage of the control, allowing a simplified process as well as a short-time observation. Accordingly, the present invention provides an additional advantage that the process of determining one set of parameters to be selected may be simplified and accelerated.
In a further aspect of the present invention, a set of parameters, based on which one of the maximum value and the minimum value of the speed of the carriage in the constant speed area is beyond a predetermined range with respect to the target speed, are determined not to be the one set of parameters to be selected with respect to the target speed.
When the maximum value or the minimum value of the speed of the carriage in the constant speed area is beyond a predetermined range with respect to the target speed, it is conjectured that the, set of parameters are not at all suitable for the drive system of the carriage or that some unexpected trouble has occurred. Thus, the set of parameters are determined not to be the one set of parameters to be selected with respect to the target speed. Accordingly, the present invention provides an advantage that the process of determining one set of parameters to be selected may be performed further appropriately, resulting in further improved control accuracy.
As described above, the behavior of the carriage in the constant speed area corresponds substantially to the amount of load applied to the drive system of the carriage. In yet another aspect of the present invention, the storage device stores a plurality of sets of parameters respectively expected to be optimum in accordance with the amount of load to the drive system of the carriage.
According to the present invention, in which one appropriate set of parameters are selected from among the plurality of sets of parameters respectively expected to be optimum in accordance with the amount of load, further improved control accuracy can be achieved.
The load applied to the drive system of the carriage varies also depending on the temperature of the drive system. In a further aspect of the present invention, the carriage driving apparatus further comprises a temperature detection device for detecting the temperature in the vicinity of the drive system of the carriage, and the control device selects the one set of parameters additionally referring to the temperature detected by the temperature detection device.
According to the present invention, there is an advantage that further improved control accuracy regardless of the temperature can be achieved.
At lower temperatures, the influence of the temperature on the load to the drive system of the carriage is extremely large, exceeding the influence of the difference among the individual drive systems. In another aspect of the present invention, the one get of parameters to be selected by the control device at a low temperature is the same regardless of the behavior of the carriage in the constant speed area.
According to the present invention, the process of determining one set of parameters to be selected may be simplified and the amount of required memory can be reduced.
In a further aspect of the present invention, the one set of parameters to be selected by the control device at a low temperature is also determined referring to the behavior of the carriage in the constant speed area.
According to the present invention, the control can be performed reflecting the difference among the individual drive systems, resulting in further improved control accuracy.
In yet another aspect of the present invention, there is provided a carriage driving apparatus which comprises: a motor for driving a carriage; a storage device that stores a plurality of sets of parameters necessary for controlling the motor; a control device that selects one set of parameters stored by the storage device and controls the motor based on the one set of parameters; and a temperature detection device that detects the temperature in the vicinity of the drive system of the carriage, wherein the control device selects the one set of parameters referring to the amount of load to the drive system of the carriage when the carriage is driven by the motor and the temperature detected by the temperature detection device.
According to the present invention, the one set of parameters appropriately correspond to the variation in load among individual drive systems and the temperature of the drive system. Therefore, the influence of the variation in load among individual drive systems on the control as well as occurrence of variation in control accuracy among individual drive systems can be substantially eliminated. Moreover, the present invention provides further improved control accuracy by also referring to the temperature when selecting the one set of parameters.
In a further aspect of the present invention, the storage device stores a plurality of sets of parameters respectively expected to be optimum in accordance with the amount of load to the drive system of the carriage and the temperature in the vicinity of the drive system of the carriage.
According to the present invention, further improved control accuracy can be achieved by selecting an appropriate set of parameters from among the plurality of sets of parameters.
In yet another aspect of the present invention, there is provided a motor control method for driving a motor based on one set of parameters selected from among a plurality of sets of parameters necessary for driving and controlling the motor and stored by a storage device, wherein toad applied to the motor is previously found out and the one set of parameters are selected based on the load. According to the present invention, it is possible to substantially eliminate the influence of the variation in load, among individual motors on the control of the motor and to control the motor properly by selecting an appropriate set of parameters in accordance with the amount of load.
The load applied to the drive system of the motor varies also depending on the temperature of the drive system. In a further aspect of the present invention, there is provided a motor control method, wherein the temperature in the vicinity of the drive system of the motor is detected and the one set of parameters are selected additionally referring to the detected temperature.
According to the present invention, there is an advantage that further improved control accuracy regardless of the temperature can be achieved.
The motor control method as described above may be applied to the driving of various mechanisms such as a scanner other than the driving of a carriage as well as to an apparatus other than a printer.
BRIEF DESCRIPTION OF THE DRAWINGS
A preferred embodiment according to the present invention will now be described with reference to the drawings in which:
FIG. 1 is a perspective view illustrating the external appearance of a multifunction apparatus according to the present invention;
FIG. 2 is an explanatory view schematically illustrating the structure of the printing mechanism of the multifunction apparatus;
FIG. 3 is a schematic diagram of encoder signals of a linear encoder equipped in the carriage of the printing mechanism and a variety of signals generated based on the encoder signals;
FIG. 4 is an explanatory diagram schematically illustrating the operation of the carriage;
FIG. 5 is a block diagram illustrating the constitution of the control system of the multifunction apparatus;
FIG. 6 is a block diagram illustrating in detail the constitution with respect to the control of a CR motor in an ASIC in the control system;
FIG. 7 is a block diagram illustrating in detail the constitution of a feedback control portion in the ASIC;
FIG. 8 is a block diagram illustrating the constitution of a motor drive circuit in the control system;
FIG. 9 is an explanatory diagram illustrating an example of tables stored on a ROM in the control system;
FIG. 10 is a flowchart, illustrating the table determination process performed in the control system;
FIG. 11 is an explanatory diagram illustrating the table selection principle in the table determination process; and
FIG. 12 is a flowchart illustrating the carriage moving process performed in the control system.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
In the present embodiment, the present invention is applied to a multifunction apparatus 100 with a printer function, a copier function, a scanner function, a facsimile function and a telephone function.
As shown in FIG. 1, the multifunction apparatus 100 is provided with a paper feed unit 1 at its rear end, a document scanning unit 2 for the copier function in its upper portion and in front of the paper feed unit 1, and an ink jet printer 3 that achieves the printer function under and throughout the lower portion of the document reading unit 2.
The document reading unit 2 is designed, although not shown, to be pivotable in upward and downward directions around a horizontal axis at its rear end. When an upper lid 2 a is opened upward, there are provided a mounting glass for mounting a document thereon, and an image scanner device for scanning the document under the mounting glass. By manually lifting the document scanning unit 2 upward, replacement of a not-shown ink cartridge in the ink jet printer 3 and maintenance of the printing mechanism 10 (see FIG. 2) can be performed.
FIG. 2 is an explanatory view schematically illustrating the structure of the printing mechanism 10. As shown in FIG. 2, printing paper 33 fed by the paper feed unit 1 is transferred by retainer rollers 32 and other components. A guide shaft 34 is provided in the width direction of the printing paper 33. The guide shaft 34 is inserted through a carriage 31 provided with a print head 30 for performing printing by discharging ink from a nozzle toward the printing paper 83.
The carriage 31 is connected to an endless bolt 37 provided along the guide shaft 34, and the endless belt 37 is spread between a pulley 86 of a CR motor 35 disposed near one end of the guide shaft 34 and an idle pulley (not shown) disposed near the other end of the guide shaft 34. Specifically, the carriage 31 is designed to reciprocate in the width direction of the printing paper 33 (i.e. the scanning direction) along the guide shaft 34 by the driving force of the CR motor 35 transmitted through the endless belt 37.
A timing slit 38 provided with slits having a specified width at specified intervals (for example, 1/150 inch or approximately 0.17 mm) is disposed under and along the guide shaft 34. Under the carriage 31 is disposed a detection portion comprising a photointerruptor including at least one light emitting element and two or more light receiving elements arranged on both sides of the timing slit 38 and facing with each other. The detection portion comprising the photointerruptor constitutes a linear encoder 39 (see FIG. 5) together with the above-mentioned timing slit 38.
The detection portion constituting the linear encoder 39 outputs, as shown in FIG. 3, two kinds of encoder signals ENC1, ENC2 shifted by approximately ¼ cycle with each other. When the moving direction of the carriage 31 is the forward direction, i.e. from a home position. (the leftmost position in FIG. 1) toward the idle pulley, ENC1 has a phase advanced by approximately ¼ cycle relative to ENC2. When the moving direction of the carriage 31 is the reverse direction, i.e. from the idle pulley toward the home position, ENC1 has a phase delayed by approximately ¼ cycle relative to ENC2.
FIG. 4 is an explanatory diagram schematically illustrating the operation of the carriage 31. As shown in FIG. 4, the carriage 31 stays at the home position set in the vicinity of the end of the guide shaft 34 on the side of the pulley 35 or at a position where the printing last time was stopped (hereinafter referred to as a starting point which indicates the movement start position of the carriage 31.) When the printing process is started, the carriage 31 is accelerated so as to reach an ultimate target speed within a distance to a predetermined printing start position. Then, the carriage 31 is moved at a constant speed to a predetermined printing end position. Upon passing the printing end position, the carriage 31 is decelerated to a halt. Hereinafter, an area from the starting point to the printing start position is referred to as the acceleration area (which specifically is divided into a first acceleration area, a second acceleration area and a transition area). An area from the printing start position to the printing end position is referred to as a “constant speed area”. An area from the printing end position to a position at which the carriage 81 is stopped is referred to as a “deceleration area”.
FIG. 5 is a block diagram illustrating the constitution of the control system of the multifunction apparatus 100. As shown in FIG. 5, a CPU 41 for performing a variety of computation, a ROM 142 for storing a various programs, after-mentioned tables 42 a42 d and others in an unrewritable manner, a RAM 43 for temporarily storing a variety of data, and an EEPROM 44 capable of rewriting the stored content by providing a specific electric signal are interconnected through a bus 45 so as to be capable of transmitting/receiving signals to/from one another. In addition, an ASIC (Application Specific Integrated Circuit) 46 is connected to the bus 45.
The CR motor 85 is connected to the ASIC 46 through a motor drive circuit 4 in addition to the paper feed unit 1 and the document scanning unit 2 connected to the ASIC 46. Signals from the above-mentioned linear encoder 39 are input into the ASIC 46, while signals from a thermistor 47 for measuring the apparatus temperature of the multifunction apparatus 100 are input into the ASIC 46 through an AID converter 48. The thermistor 47 is provided at a place within the multifunction apparatus 100 which is to be affected little by the heat from a substrate or the like. To the ASIC 46, additionally, an LCD 81 and an operation panel 82 (see FIG. 1) are connected through a panel interface (panel I/F) 80, a motor for pump 84 is connected through a motor drive circuit 83, and a motor for maintenance 86 is connected through a motor drive circuit 85, respectively.
Furthermore, a parallel interface (parallel I/F) 87 capable of connecting a parallel cable to, a USB interface (USB I/F) 88 capable of connecting a USB cable to and an NCU (Network Control Unit) 89 capable of connecting a line such as a telephone line to are connected to the ASIC 46 to allow connection with external devices. The NCU 89 is also connected to the bus 45 through a modem 90.
FIG. 6 is a block diagram illustrating the constitution of the ASIC 46 in detail with respect to the control of the CR motor 35. As shown in FIG. 6, The ASIC 46 is provided with a group of registers 5 for storing a variety of parameters to be used for controlling the CR motor 35, a carriage positioning portion 6 for receiving encoder signals ENC1, ENC2 from the linear encoder 39 and calculating the position, the moving speed and the moving direction of the carriage 81, a motor control portion 7 for generating a motor control signal for controlling the rotating speed of the CR motor 35, a PWM generating portion 8 for generating a PWM signal having a duty ratio corresponding to the motor control signal generated by the motor control portion 7, and a clock generating portion 9 for generating a clock signal with a sufficiently shorter cycle compared with the encoder signals ENC1, ENC2 and providing the clock signal to each portion within the ASIC 46.
The group of registers 5 include a start setting register 51 for starting the CR motor 35, a position register. 52 for setting a border position between each two of the above-described areas regarding the movement of the carriage 31, a PWM value register 53 for setting a variety of PWM values used when controlling the rotating speed of the CR motor 35 by open-loop control, a target speed register 54 for setting a target speed of the carriage 31 in each of the above-described areas, and a gain register 55 for setting a variety of gains used when controlling the rotating speed of the CR motor 35 by feedback control. As shown in FIG. 6, a first change-over position, a second change-over position and a deceleration start position are set in the position register 52, while an initial PWM value, an acceleration PWM value and a deceleration PWM value are set in the PWM value register 53. Also, a first target speed, a second target speed and an ultimate target speed are registered in the target speed register 54, while an acceleration proportional gain, an acceleration differential gain, a transition proportional gain, a transition differential gain, a constant speed differential gain and a constant speed integral gain are set in the gain register 55.
The carriage positioning portion 6 is provided with an edge detection portion 60 and a position counter 61. The edge detection portion 60 detects, based on the encoder signals ENC1, ENC2 from the linear encoder 39, edge detection signals (here an edge of ENC1 while ENC2 is at a high level) indicating the start/end of each cycle of the encoder signal ENC1 and the rotating direction of the CR motor 36 (i.e. the forward direction when the edge detection signals indicate trailing edges of ENC1, and the reverse direction when the edge detection signals indicate a leading edge of ENC1).
The position counter 61 detects what number slit from the home position the carriage 31 is at by counting up based on the edge detection signals when the rotating. direction of the CR motor 35 detected by the edge detection portion 60 and thus the moving direction of the carriage 31 is the forward direction, while by counting down based on the edge detection signals when the rotating direction of the CR motor 35 is the reverse direction. In other words, each position set in the position register 52 in the group of registers 5 is indicated by a count value at the position counter 61.
The carriage positioning portion 6 is further provided with a cycle counter 63 for counting generating intervals of the edge detection signals from the edge detection portion 60 by clock signals, and a speed converter portion 64 for calculating the moving speed of the carriage 31 based on the distance ( 1/150 inch) between the slits in the timing slit 38 and time tn−1 (=Cn−1×clock cycle) which is specified by a retained value Cn−1 counted by the cycle counter 63 at the previous cycle of the encoder signal ENC1.
The motor control portion 7 outputs control signals as described below based on these data (the position and the moving speed of the carriage 31) input from the carriage positioning portion 6 and a variety of data set in the group of registers 5. Specifically, the motor control portion 7 includes an open-loop control portion 71 for generating a motor control signal by open-loop control and a feedback control portion 72 for generating a motor control signal by feedback control, both based on the input data.
The open-loop control portion 71 performs open-loop control from when the carriage 81 starts its movement until the carriage 31 reaches the first target change-over position or the first target speed. Specifically, the control is performed by first generating a motor control signal based on the initial PWM value, and then adding a given number of the acceleration PWM values per given time period. Then, the feedback control portion 72 performs feedback control (PD control) based on the second target speed as well as the acceleration proportional gain and the acceleration differential gain until the carriage 31 reaches the second target change-over position or the second target speed. The feedback control will be described in detail later.
Subsequently, the feedback control portion 72 performs feedback control (PD control) based on the ultimate target speed as well as the transition proportional gain and the transition differential gain. Once the carriage 51 enters the constant speed area, the feedback control portion 72 performs feedback control (PID control) based on the ultimate target speed as well as the constant speed proportional gain, the constant speed differential gain, and the constant speed integral gain. When the carriage 31 reaches the deceleration start position, the open-loop control portion 71 performs open-loop control by subtracting a given number of the deceleration PWM values per given time period.
As shown in FIG. 7, the feedback control portion 72 includes a subtracter 72 a for subtracting the moving speed Vi of the carriage 31 calculated by the speed converter portion 64 from a target speed Vobj input at a time point in order to calculate a speed deviation, a proportional calculator 72 b for multiplying the speed deviation calculated by the subtracter 72 a by the proportional gain, which is a stored value in the gain register 55, an integral calculator 72 c for integrating the speed deviation and multiplying the integrated value by the integral gain, which is a stored value in the gain register 55, a differential calculator 72 d for differentiating the speed deviation and multiplying the differentiated value by the differential gain, which is a stored value in the gain register 55, and an adder 72 e for adding all the calculated values calculated by the proportional calculator 72 b, the integral calculator 72 c and the differential calculator 72 d, and then outputting the added value as a motor control signal. The feedback control portion 72 is designed to perform so-called PID control, while is able to perform the above described PD control when operated with the integral gain set to 0
The motor control signal obtained as a result of these calculations is turned into a PWM signal at the PWM generating portion 8, and the PWM signal is input to the motor drive circuit 4. As shown in FIG. 8, the motor drive circuit 4 includes a converter 4 a for converting the PWM signal into a target current value to be applied to the CR motor 35 and a motor driver IC4 b for performing PWM control such that the current applied to the CR motor 35 equals the target current value. In the present embodiment, an “SC901502” (a product name, produced by MOTOROLA) is used as the motor driver IC4 b. According to the motor driver IC4 b, it is possible to set a fixed off time of the PWM by inputting a fixed off time from the CPU 41, to set a time when the applied current decays rapidly while the PWM is off by inputting a fast decay time, and to change the range by inputting a range from the CPU 41.
FIG. 9 is an explanatory diagram showing an example of tables 42 a42 s stored on the ROM 142. The tables 42 a42 s, as shown in FIG. 9, contain respective sets of parameters, such as the initial PWM value, acceleration proportional gain, acceleration differential gain, transition proportional gain, transition differential gain, constant speed proportional gain, constant speed differential gain, constant speed integral gain, fixed off time, fast decay time, and range corresponding to the ultimate target speed (Mode) of the carriage 31, such as 30 ips (inch per second) and 15 ips, as well as to the moving direction of the carriage 31 (i.e., the forward direction=FWD, the reverse direction=REV).
Also, in the present embodiment, three cases of a heavy load case, a light load case and a standard load case are prepared in accordance with the difference in load among individual drive systems of the carriage 31 (and thus the drive systems of the CR motor 35). With respect to each of these cases, three kinds of tables 42 a42 c containing the above parameters expected to be optimum at normal temperature and one kind of table 42 d containing the above parameters expected to be optimum at lower temperatures are stored on the ROM 142.
In the present embodiment, the normal temperature means the apparatus temperature of 18° C. or higher (in this case, the ambient air temperature is usually 7° C.–8° C. or higher), while the lower temperatures mean temperatures lower than the above specified normal temperature. At lower temperatures, the influence of the temperature on the load to the drive system of the carriage 31 is extremely large, exceeding the influence of the difference among the individual drive systems. This is the reason why just one kind of table 42 d is prepared corresponding to lower temperatures regardless of the load in the present embodiment.
A process performed in the multifunction apparatus 100 constituted as above according to the present embodiment will next be described. FIG, 10 is a flowchart showing the table setting process executed by the CPU 41 in the final step of the manufacturing process of the multifunction apparatus 100 or during maintenance by a service technician. This process is executed in the environment with, a normal or a slightly higher ambient temperature(20° C.–28° C.), for example, in the above manufacturing process.
As shown in FIG. 10, when starting the process, the CPU 41 first makes the carriage 31 operate using a table 42 a for a light load in S1 (S means a step. Hereinafter the same in the following paragraph). In S2, speed changes of the carriage 31 when the carriage 31 operates in S1 are measured. In S1, the carriage 31 is made to operate under respective conditions of the variety of ultimate target speeds and the both forward and reverse directions shown in FIG. 9. Then, in S2, the speed changes, particularly from when the carriage 31 enters the constant speed area until when a first speed undershoot occurs, are measured regarding the respective conditions.
Similarly, in S3 and S4, the carriage 31 is made to operate in accordance with a standard table 42 b (S3), and the speed changes during the operation are measured (S4). Also similarly, in S5 and S6, the carriage 31 is made to operate in accordance with the table for heavy load 42 c (S5), and the, speed changes during the operation are measured (S6). In subsequent S7, selection of a table in which the lowest speed in the constant speed area is the fastest among the tables 42 a42 c is performed.
FIG. 11 shows an example in which the lowest speed during an undershoot of speed in the constant speed area is L1 as indicated by a solid line when the carriage 31 is made to operate using one table 42, while the lowest speed is L2 (<L1) as indicated by a chain line when the carriage 31 is made to operate using another table 42. In this case, it is considered that the former table 42 is more suitable for the drive system of the carriage 31, and, therefore, the former table 42 is selected in S7.
In S7, if the maximum value or the minimum value of the speed of the carriage 31 in the constant Speed area when using a table 42 is beyond a predetermined range with respect to the ultimate target speed, the table 42 is not selected. For example, if even the speed during an overshoot is lower than the ultimate target speed or even the speed during an undershoot is higher than the ultimate target speed as indicated by a chain double-dashed line in FIG. 11, it is conjectured that the table 42 used in such a case is not at all suitable for the drive system of the carriage 31, or that some unexpected trouble has occurred. Thus, in S7, the table 42 according to which speed changes as described above have been measured is eliminated from the selection.
As described above, the optimum table 42 for the drive system of the carriage 31 in the multifunction apparatus 100 is selected in S7. Selections are also performed under respective conditions of the variety of ultimate target speeds and the both forward and reverse directions, and each identification number and the like of each selected table 42 corresponding to each ultimate target speed and each direction is stored on the EEPROM 44. When storage on the EEPROM 44 is completed, the CPU temporarily terminates the present process.
FIG. 12 is a flowchart showing the carriage moving process executed by the CPU 41 when a user uses the multifunction apparatus 100. When starting the process, the CPU 41 determines whether or not the apparatus temperature is 18° C. or higher through the thermistor 47 (S11).
If it is determined that the apparatus temperature is normal, or 18° C. or higher (S11: YES), a table 42 a is selected in accordance with the ultimate target speed in the present job (corresponding to the resolution necessary for the job) from the tables 42 selected in the above described table setting process in FIG. 10. The carriage 31 is moved by using the selected table 42 a, and then the present process is temporarily terminated.
On the other hand, if it is determined that the apparatus temperature is lower than 18° C. (S11: NO), the carriage 31 is moved by using the table for low temperature 42 d, and then the present process is temporarily terminated. During the movement of the carriage 31 by the carriage moving process, printing data is processed by another routine, and ink is discharged from the print head 30.
In the multifunction apparatus 100 of the present embodiment, as described above, the control of the CR motor 35 is performed by using the table 42 previously selected based on the behavior of the carriage 31 in the constant speed area. Since the selected table 42 properly reflects the variation among the individual multifunction apparatuses 100 with respect to the load to the drive system of the carriage 31, the influence of the variation among the individuals with respect to the load on the control can be sufficiently eliminated by the control using the table 42. Accordingly, it will be possible to substantially prevent occurrence of the variation in control accuracy with respect to the driving of the carriage 31 among the individual multifunction apparatuses 100.
Furthermore, in the present embodiment, each optimum table 42 is set with respect to each of the ultimate target speeds of the carriage 31 as well as each of the forward and reverse directions, the control accuracy may be further imp roved. In the present embodiment, in which the apparatus temperature is also referred to and the different table 42 d is used at a low temperature, the control accuracy may be further improved regardless of the temperature.
It is to be understood that the present invention is not limited to the above described embodiment, but may be practiced in various forms within the scope not departing from the gist of the present invention. For example, the table setting process in FIG. 10 may be executed when the multifunction apparatus 100 is turned on or every time printing of a predetermined number of pages has been completed. In this case, even when the load is changed by, for example, a change in tension of the endless belt 37 due to deterioration with age, appropriate countermeasures can be taken.
While a table 42 in which the lowest speed during an undershoot is the fastest is selected in the above described table setting process, a table 42 in which the highest speed during an overshoot is the slowest or a table in which the amplitude of changes in speed is the smallest may be selected. According to the present embodiment, however, it is only necessary to observe the behavior in speed immediately after the carriage 31 enters the constant speed area, which may simplify and accelerate the table setting process.
Moreover, it may be possible to repeat the measurement of the lowest speed or the like a plurality of times under the same conditions and select a table 42 based on the accumulated value (i.e. the average value). In this case, an optimum table 42 can be selected in a more secure manner, which may result in further improved control accuracy.
Further, it may be possible to prepare, as the table for low temperature 42 d, three kinds of tables, i.e. a table for heavy load and low temperature, a table for standard load and low temperature and a table for light load and low temperature, in accordance with the load to the drive system of the carriage 31. By Selecting a table from among the three, further improved control accuracy can be achieved. In addition to the table for low temperature 42 d, a table for high temperature 42 may be prepared.

Claims (19)

1. A carriage driving apparatus comprising:
a motor for driving a carriage;
a storage device that stores a plurality of sets of parameters necessary for controlling the motor; and
a control device, wherein:
the control device controls operation of the carriage using a first set of the plurality of sets of parameters and detects a first behavior of the carriage in a constant speed area,
after controlling the operation of the carriage using the first set of the plurality of sets of parameters, the control device controls operation of the carriage using a second set of the plurality of sets of parameters and detects a second behavior of the carriage in the constant speed area, and
after controlling the operation of the carriage using at least the first set and the second set of the plurality of sets of parameters, the control device selects one of the plurality of sets of parameters based on the detected first behavior and the detected second behavior.
2. The carriage driving apparatus as set forth in claim 1, wherein the selected set of parameters includes at least two parameters relating to P gain, I gain and D gain for controlling the motor by PID control and a variety of parameters that characterize a driver of the motor.
3. The carriage driving apparatus as set forth in claim 1, wherein the motor is driven based on a target speed of the carriage in the constant speed area, and the one of the plurality of sets of parameters to be selected for the target speed is determined based on the detected behaviors of the carriage in the constant speed area.
4. The carriage driving apparatus as set forth in claim 3, wherein one of the detected behaviors is a moving speed of the carriage and the selected one of the plurality of sets of parameters corresponds to the set of parameters based on which a minimum value of the detected moving speed of the carriage is largest.
5. The carriage driving apparatus as set forth in claim 3, wherein one of the detected behaviors is a moving speed of the carriage and each of the plurality of sets of parameters based on which one of a maximum value and a minimum value of the detected moving speed of the carriage in the constant speed area is beyond a predetermined range for the target speed is disqualified from being the selected one of the plurality of sets of parameters.
6. The carriage driving apparatus as set forth in claim 1, wherein the storage device stores a plurality of sets of parameters respectively expected to be optimum in accordance with a plurality of load amounts to which a drive system of the carriage can be subjected.
7. The carriage driving apparatus as set forth in claim 1, further comprising a temperature detection device for detecting temperature in a vicinity of a drive system of the carriage, wherein the temperature detected by the temperature detection device is used by the control device to select one of the plurality of sets of parameters.
8. A carriage driving apparatus as set forth in claim 6, further comprising a temperature detection device for detecting temperature in a vicinity of a drive system of the carriage,
wherein the storage device stores a set of parameters expected to be optimum in accordance with respective detected temperatures, as detected by the temperature detection device.
9. The carriage driving apparatus as set forth in claim 7, wherein if the temperature detected by the temperature detection device is at or below a predetermined low temperature, the control device selects one of the plurality of sets of parameters based on the detected temperature and the detected behavior of the carriage in the constant speed area.
10. The carriage driving apparatus as set forth in claim 7, wherein if the temperature detected by the temperature detection device is at or below a predetermined low temperature, a predetermined one of the plurality of sets of parameters is selected regardless of the detected behavior of the carriage in the constant speed area.
11. The carriage driving apparatus as set forth in claim 7, wherein the storage device stores a plurality of sets of parameters respectively expected to be optimum in accordance with a plurality of load amounts to which the drive system of the carriage can be subjected and the detected temperature in the vicinity of the drive system of the carriage.
12. A motor control method for driving a carriage based on a selected one set of parameters selected from a plurality of sets of parameters useable for driving and controlling a motor and stored by a storage device, the motor control method comprising:
executing a plurality of driving operations of the carriage using different ones of the plurality of sets of parameters for each of the plurality of driving operations;
detecting a plurality of behaviors of the carriage in a constant speed area during each of the plurality of driving operations;
selecting one of the plurality of sets of parameters based on the plurality of detected behaviors corresponding to at least two of the plurality of driving operations; and
controlling the motor for driving the carriage based on the selected one of the plurality of sets of parameters.
13. A motor control method as set forth in claim 12, wherein the selected set of parameters includes at least two parameters relating to P gain, I gain and D gain for controlling the motor by PID control and a variety of parameters that characterize a driver of the motor.
14. A motor control method as set forth in claim 12, wherein the selected one set of parameters is selected based on the plurality of detected behaviors of the carriage in the constant speed area.
15. A motor control method as set forth in claim 14, wherein the selected one set of parameters is selected based on which one of the different ones of the plurality of sets of parameters used to execute the plurality of driving operations resulted in detecting a largest minimum value of a moving speed of the carriage in the constant speed area.
16. A motor control method as set forth in claim 12, wherein the stored plurality of sets of plurality of parameters are respectively expected to be optimum in accordance with a plurality of load amounts to which a drive system of the carriage can be subjected.
17. A motor control method for driving a carriage based on one set of parameters selected from among a plurality of sets of parameters useable for driving and controlling a motor and stored by a storage device, the motor control method comprising:
executing a plurality of driving operations of the carriage using different ones of the plurality of sets of parameters;
detecting a plurality of behaviors of the carriage in a constant speed area during each of the plurality of driving operations;
detecting a temperature in a vicinity of a drive system of the carriage;
selecting one of the plurality of sets of parameters based on the detected temperatures and the plurality of detected behaviors corresponding to at least two of the plurality of driving operations; and
controlling the motor for driving the carriage based on the selected one of the plurality of sets of parameters.
18. A motor control method as set forth in claim 17, wherein if the temperature detected by the temperature detection device is at or below a predetermined low temperature, a predetermined one of the plurality of sets of parameters is selected regardless of the detected behavior of the carriage in the constant speed area.
19. A motor control method as set forth in claim 17, wherein the stored plurality of sets of parameters are respectively expected to be optimum in accordance with a plurality of load amounts to which the drive system of the carriage can be subjected and the detected temperature in the vicinity of the drive system of the carriage.
US10/766,914 2003-02-04 2004-01-30 Carriage driving apparatus and motor control method Expired - Lifetime US7019481B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003-027524 2003-02-04
JP2003027524A JP2004237501A (en) 2003-02-04 2003-02-04 Carriage driving device and motor control method

Publications (2)

Publication Number Publication Date
US20040184860A1 US20040184860A1 (en) 2004-09-23
US7019481B2 true US7019481B2 (en) 2006-03-28

Family

ID=32955233

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/766,914 Expired - Lifetime US7019481B2 (en) 2003-02-04 2004-01-30 Carriage driving apparatus and motor control method

Country Status (2)

Country Link
US (1) US7019481B2 (en)
JP (1) JP2004237501A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040184118A1 (en) * 2003-03-17 2004-09-23 Toshiba Tec Kabushiki Kaisha Method and apparatus for reading image
US20060024113A1 (en) * 2004-07-28 2006-02-02 Canon Kabushiki Kaisha Conveying apparatus and recording apparatus having the same
US20110279077A1 (en) * 2010-05-11 2011-11-17 Canon Kabushiki Kaisha Apparatus equipped with motor
US20130027791A1 (en) * 2011-07-26 2013-01-31 Canon Kabushiki Kaisha Motor drive apparatus and optical apparatus
US8371669B1 (en) * 2009-02-18 2013-02-12 Marvell International Ltd. Fire timing control in printing devices

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4550667B2 (en) * 2005-05-26 2010-09-22 船井電機株式会社 Inkjet printer
JP2009125993A (en) * 2007-11-21 2009-06-11 Seiko Epson Corp Recording device and recording method
JP5455685B2 (en) * 2010-01-29 2014-03-26 キヤノン株式会社 Equipment with motor
JP5818494B2 (en) * 2011-04-21 2015-11-18 キヤノン株式会社 Imaging apparatus and control method thereof
JP2012244856A (en) * 2011-05-23 2012-12-10 Ricoh Co Ltd Motor controller and image formation device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0499680A (en) 1990-08-20 1992-03-31 Nec Corp Traversing step motor driver for printer
JPH05254217A (en) 1992-03-10 1993-10-05 Seiko Epson Corp Printer
US5317668A (en) * 1991-06-19 1994-05-31 Brother Kogyo Kabushiki Kaisha Motor control device for controlling motor speed depending on imparted load
JPH07163182A (en) 1993-11-30 1995-06-23 Pfu Ltd Motor controller and control method
JPH09202014A (en) 1996-01-24 1997-08-05 Brother Ind Ltd Printer
US5998956A (en) * 1996-10-03 1999-12-07 Canon Kabushiki Kaisha Recording apparatus
US6114825A (en) * 1998-11-18 2000-09-05 Control Technology Corporation Method and apparatus for state path generation in a controlled system
US20010007458A1 (en) * 1997-05-20 2001-07-12 Purcell David A. Intelligent printer components and printing system
US6411008B1 (en) * 1919-09-11 2002-06-25 Canon Kabushiki Kaisha Drive device for vibration type motor and image forming apparatus
US20020172510A1 (en) * 2001-05-17 2002-11-21 Canon Kabushiki Kaisha Method and apparatus for controlling motor
US20030043228A1 (en) * 2001-08-07 2003-03-06 Seiko Epson Corporation Carriage motor control in a printer
US6600286B2 (en) * 2000-03-03 2003-07-29 Seiko Epson Corporation Motor control device and motor control method
US6729712B2 (en) * 2001-05-17 2004-05-04 Canon Kabushiki Kaisha Printing apparatus and printing control method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3693134B2 (en) * 1996-08-20 2005-09-07 ブラザー工業株式会社 Printing device
JP3593873B2 (en) * 1998-03-04 2004-11-24 セイコーエプソン株式会社 Printer print control method and print control device
JP3871181B2 (en) * 2000-03-03 2007-01-24 セイコーエプソン株式会社 PRINT CONTROL DEVICE, CONTROL METHOD, AND RECORDING MEDIUM CONTAINING PRINT CONTROL PROGRAM
JP2002264315A (en) * 2001-03-09 2002-09-18 Hitachi Koki Co Ltd Ink jet recorder

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6411008B1 (en) * 1919-09-11 2002-06-25 Canon Kabushiki Kaisha Drive device for vibration type motor and image forming apparatus
JPH0499680A (en) 1990-08-20 1992-03-31 Nec Corp Traversing step motor driver for printer
US5317668A (en) * 1991-06-19 1994-05-31 Brother Kogyo Kabushiki Kaisha Motor control device for controlling motor speed depending on imparted load
JPH05254217A (en) 1992-03-10 1993-10-05 Seiko Epson Corp Printer
JPH07163182A (en) 1993-11-30 1995-06-23 Pfu Ltd Motor controller and control method
US5748206A (en) * 1996-01-24 1998-05-05 Brother Kogyo Kabushiki Kaisha Printer
JPH09202014A (en) 1996-01-24 1997-08-05 Brother Ind Ltd Printer
US5998956A (en) * 1996-10-03 1999-12-07 Canon Kabushiki Kaisha Recording apparatus
US20010007458A1 (en) * 1997-05-20 2001-07-12 Purcell David A. Intelligent printer components and printing system
US6114825A (en) * 1998-11-18 2000-09-05 Control Technology Corporation Method and apparatus for state path generation in a controlled system
US6600286B2 (en) * 2000-03-03 2003-07-29 Seiko Epson Corporation Motor control device and motor control method
US20020172510A1 (en) * 2001-05-17 2002-11-21 Canon Kabushiki Kaisha Method and apparatus for controlling motor
US6729712B2 (en) * 2001-05-17 2004-05-04 Canon Kabushiki Kaisha Printing apparatus and printing control method
US20030043228A1 (en) * 2001-08-07 2003-03-06 Seiko Epson Corporation Carriage motor control in a printer
US6619778B2 (en) * 2001-08-07 2003-09-16 Seiko Epson Corporation Carriage motor control in a printer

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040184118A1 (en) * 2003-03-17 2004-09-23 Toshiba Tec Kabushiki Kaisha Method and apparatus for reading image
US7342690B2 (en) * 2003-03-17 2008-03-11 Kabushiki Kaisha Toshiba Method and apparatus for reading image
US20060024113A1 (en) * 2004-07-28 2006-02-02 Canon Kabushiki Kaisha Conveying apparatus and recording apparatus having the same
US7415239B2 (en) * 2004-07-28 2008-08-19 Canon Kabushiki Kaisha Conveying apparatus and recording apparatus having the same
US8371669B1 (en) * 2009-02-18 2013-02-12 Marvell International Ltd. Fire timing control in printing devices
US8534790B1 (en) * 2009-02-18 2013-09-17 Marvell International Ltd. Fire timing control in printing devices
US8777359B1 (en) 2009-02-18 2014-07-15 Marvell International Ltd. Fire timing control in printing devices
US20110279077A1 (en) * 2010-05-11 2011-11-17 Canon Kabushiki Kaisha Apparatus equipped with motor
US9141104B2 (en) * 2010-05-11 2015-09-22 Canon Kabushiki Kaisha Apparatus equipped with motor
US20130027791A1 (en) * 2011-07-26 2013-01-31 Canon Kabushiki Kaisha Motor drive apparatus and optical apparatus
US9110227B2 (en) * 2011-07-26 2015-08-18 Canon Kabushiki Kaisha Motor drive apparatus and optical apparatus

Also Published As

Publication number Publication date
JP2004237501A (en) 2004-08-26
US20040184860A1 (en) 2004-09-23

Similar Documents

Publication Publication Date Title
US7019481B2 (en) Carriage driving apparatus and motor control method
US7642739B2 (en) Device and method for controlling motor
US7926895B2 (en) Printing apparatus and conveyance control method
US7726766B2 (en) Image forming apparatus
US6805426B2 (en) Motor control method and apparatus
US6592198B2 (en) Recording apparatus with control of a recording medium conveying mechanism
JP3866067B2 (en) DC motor driving method, DC motor driving apparatus, sheet feeding method, sheet feeding apparatus, image forming apparatus, and image reading apparatus
US7463000B2 (en) Motor controlling method, motor controlling apparatus, and recording apparatus
JP4921055B2 (en) Conveying device and recording apparatus provided with the device
US6144184A (en) Motor controlling method and apparatus
US6603282B2 (en) DC motor control device and control method
US20070229013A1 (en) Controller for driving motor, driving device for driven member, ink-jet printer, and method of driving driven member
EP4088941A1 (en) Printing apparatus and carriage apparatus
EP2408622B1 (en) Apparatus including motor
JP5041912B2 (en) Motor control method, motor control device, motor control program, recording medium on which motor control program is recorded, and image forming apparatus
JP2013215914A (en) Recording device, drive control method of recording device, and drive control program of recording device
JP2006224559A (en) Ink jet printer
JP2004322463A (en) Recorder and its controlling method
JP2005137075A (en) Image forming apparatus
US20220314666A1 (en) Control system
US11318771B2 (en) Motor driving system
JP2004312951A (en) Dc motor drive
JP2017136828A (en) Movement control device, liquid droplet discharge device, movement control method and program
JP2008179057A (en) Printer
JP2006113825A (en) Driving controller, driving control method and image formation apparatus

Legal Events

Date Code Title Description
AS Assignment

Owner name: BROTHER KOGYO KABUSHIKI KAISHA, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KATO, SHINYA;KOZAKI, DAISUKE;REEL/FRAME:014946/0546

Effective date: 20040128

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553)

Year of fee payment: 12