JP2006033944A - Overheat judging device, method and program of motor, motor controller and control method, and printer - Google Patents

Overheat judging device, method and program of motor, motor controller and control method, and printer Download PDF

Info

Publication number
JP2006033944A
JP2006033944A JP2004206354A JP2004206354A JP2006033944A JP 2006033944 A JP2006033944 A JP 2006033944A JP 2004206354 A JP2004206354 A JP 2004206354A JP 2004206354 A JP2004206354 A JP 2004206354A JP 2006033944 A JP2006033944 A JP 2006033944A
Authority
JP
Japan
Prior art keywords
motor
information
acquired
amount
driving amount
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.)
Granted
Application number
JP2004206354A
Other languages
Japanese (ja)
Other versions
JP4552543B2 (en
Inventor
Tomoyoshi Kakegawa
智義 掛川
Tetsuji Takeishi
徹司 武石
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2004206354A priority Critical patent/JP4552543B2/en
Priority to US11/181,195 priority patent/US7222050B2/en
Publication of JP2006033944A publication Critical patent/JP2006033944A/en
Application granted granted Critical
Publication of JP4552543B2 publication Critical patent/JP4552543B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To estimate the temperature state of a motor accurately based on the driving amount thereof. <P>SOLUTION: The overheat judging device of a motor comprises a section for acquiring information about the driving amount of a judgment object motor and information about the driving amount of other motor being driven alternately with the judgment object motor, a section performing an operation for sequentially integrating the driving amount of the judgment object motor based on the information about the driving amount thereof acquired at the information acquiring section and an operation for subtracting a value corresponding to the driving amount of other motor acquired based on the information about the driving amount thereof acquired at the information acquiring section from the integrated value, and a section for judging that the judgment object motor is in overheated state if the integrated value subtracted at the operating section reaches a predetermined value. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、モータが過熱状態にあるか否かを判定するモータの過熱判定装置、モータの過熱判定方法、モータの過熱判定プログラム、モータ制御装置、モータ制御方法及び印刷装置に関する。   The present invention relates to a motor overheat determination apparatus, a motor overheat determination method, a motor overheat determination program, a motor control apparatus, a motor control method, and a printing apparatus that determine whether or not a motor is in an overheated state.

インクジェットプリンタをはじめとする印刷装置には、印刷する紙等の媒体を搬送するための搬送モータや、紙などの媒体に対して印刷を施すための印刷部を移動させるためのモータなど、各種モータが搭載されている。このようなモータにあっては、連続して駆動されると、発熱して温度が上昇し、高温状態になることがある。モータが高温状態になると、巻線の焼損等の不具合が生じる虞があることから、印刷装置には、モータが高温状態にならないようにするための監視装置が設けられている。   Various printing motors such as inkjet printers have various motors such as a conveyance motor for conveying a medium such as paper to be printed and a motor for moving a printing unit for printing on a medium such as paper. Is installed. In such a motor, when it is continuously driven, heat is generated and the temperature rises, which may result in a high temperature state. Since there is a possibility that problems such as burning of the winding may occur when the motor is in a high temperature state, the printing apparatus is provided with a monitoring device for preventing the motor from being in a high temperature state.

その監視装置の1つとして、モータの駆動量に基づきモータの温度状態を監視する装置がある(特許文献1参照)。この装置は、モータの駆動量を逐次積算して、その積算値が所定値に達したか否かをチェックすることによってモータが高温状態にあるかどうか調べる。つまり、モータの駆動量とモータの発熱との間の関連性に着目して、モータの駆動量からモータの温度を推測するのである。モータの駆動量の積算値が所定値に達したときには、モータが高温状態にあると判断して、モータの駆動を抑制してモータの発熱を制限する発熱制限制御に移行する。この制御に移行することによって、モータの温度がこれ以上上昇するのを防ぎつつ、モータの駆動を継続して実行するのである。なお、モータがしばらくの間、駆動されなかった場合には、モータの駆動量の積算値は徐々に減らされるように処理されたり、またモータが長時間にわたり駆動されなかった場合には、モータの駆動量の積算値はゼロにリセットしたりすることが提案されている。   As one of the monitoring devices, there is a device that monitors the temperature state of the motor based on the driving amount of the motor (see Patent Document 1). This device sequentially accumulates the drive amount of the motor, and checks whether the accumulated value has reached a predetermined value to check whether the motor is in a high temperature state. That is, the temperature of the motor is estimated from the driving amount of the motor by paying attention to the relationship between the driving amount of the motor and the heat generation of the motor. When the integrated value of the drive amount of the motor reaches a predetermined value, it is determined that the motor is in a high temperature state, and the process proceeds to heat generation restriction control in which the drive of the motor is suppressed and heat generation of the motor is limited. By shifting to this control, the motor is continuously driven while preventing the temperature of the motor from rising further. If the motor is not driven for a while, the integrated value of the motor drive amount is processed so as to be gradually reduced, or if the motor is not driven for a long time, It has been proposed that the integrated value of the driving amount is reset to zero.

このようにモータの駆動量に基づきモータの温度状態を監視することによって、温度センサ等の各種センサを不要にすることができ、これにより、部品点数を増やさず、あまりコストをかけずに実施することができる。
特許2002−186285号公報
By monitoring the temperature state of the motor based on the driving amount of the motor in this way, various sensors such as a temperature sensor can be dispensed with, so that the number of components is not increased and the cost is not increased. be able to.
Japanese Patent No. 2002-186285

しかしながら、このようなモータの駆動量に基づきモータの温度状態を監視する装置には、次のような問題があった。すなわち、モータがしばらくの間駆動されなかった場合には、モータの駆動量が徐々に減算されたり、またモータが長時間にわたり駆動されなかった場合には、モータの駆動量の積算値がゼロにリセットされるなどして、モータの温度状態に応じて積算値が減算されていたものの、モータが非常に短い時間停止した場合、例えば、数十〜数百ミリ秒などの1秒前後の非常に短い間、モータがの駆動が停止された場合は、何ら措置がとられていなかった。このため、モータが高温状態になっていないにもかかわらず、モータが高温状態にあると判断して発熱制限制御が実効される場合があった。これにより、印刷に余計な時間がかかり、印刷速度が低下するなどの不具合が発生することがあった。   However, the apparatus for monitoring the temperature state of the motor based on the driving amount of the motor has the following problems. That is, if the motor has not been driven for a while, the motor drive amount is gradually subtracted, or if the motor has not been driven for a long time, the integrated value of the motor drive amount will be zero. Although the integrated value has been subtracted according to the temperature state of the motor due to resetting, etc., when the motor stops for a very short time, for example, about 1 second such as several tens to several hundred milliseconds If the motor was stopped for a short time, no action was taken. For this reason, although the motor is not in a high temperature state, it may be determined that the motor is in a high temperature state and the heat generation restriction control may be performed. As a result, it takes extra time for printing, and problems such as a decrease in printing speed may occur.

本発明は、このような事情に鑑みたものであって、その目的は、モータの駆動量に基づきモータの温度状態をより正確に推測することにある。   The present invention has been made in view of such circumstances, and an object thereof is to more accurately estimate the temperature state of the motor based on the driving amount of the motor.

前記目的を達成するための主たる発明は、判定対象のモータの駆動量に関する情報と、前記判定対象のモータと交互に駆動される他のモータの駆動量に関する情報とを取得する情報取得部と、前記情報取得部が取得した前記判定対象のモータの駆動量に関する情報に基づき前記判定対象のモータの駆動量を逐次積算して積算値を算出する演算と、前記情報取得部が取得した前記他のモータの駆動量に関する情報に基づき取得された前記他のモータの駆動量に応じた減算値を前記積算値から減算する演算とを実行する演算部と、前記演算部により減算された積算値が所定値に達したときに、前記判定対象のモータが過熱状態にあると判定する判定部と、を備えたことを特徴とするモータの過熱判定装置である。   The main invention for achieving the object is an information acquisition unit that acquires information on a driving amount of a determination target motor and information on a driving amount of another motor that is driven alternately with the determination target motor; An operation for calculating an integrated value by sequentially integrating the driving amount of the determination target motor based on information regarding the driving amount of the determination target motor acquired by the information acquisition unit, and the other information acquired by the information acquisition unit An arithmetic unit that performs an operation of subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on information on the driving amount of the motor from the integrated value, and an integrated value subtracted by the calculating unit is predetermined. And a determination unit that determines that the determination target motor is in an overheated state when the value reaches a value.

本発明の他の特徴は、本明細書及び添付図面の記載により明らかにする。   Other features of the present invention will become apparent from the description of the present specification and the accompanying drawings.

===開示の概要===
本明細書及び添付図面の記載により、少なくとも以下の事項が明らかとなる。
=== Summary of disclosure ===
At least the following matters will become apparent from the description of the present specification and the accompanying drawings.

判定対象のモータの駆動量に関する情報と、前記判定対象のモータと交互に駆動される他のモータの駆動量に関する情報とを取得する情報取得部と、
前記情報取得部が取得した前記判定対象のモータの駆動量に関する情報に基づき前記判定対象のモータの駆動量を逐次積算して積算値を算出する演算と、前記情報取得部が取得した前記他のモータの駆動量に関する情報に基づき取得された前記他のモータの駆動量に応じた減算値を前記積算値から減算する演算とを実行する演算部と、
前記演算部により減算された積算値が所定値に達したときに、前記判定対象のモータが過熱状態にあると判定する判定部と、
を備えたことを特徴とするモータの過熱判定装置。
An information acquisition unit for acquiring information on a driving amount of a determination target motor and information on a driving amount of another motor driven alternately with the determination target motor;
An operation for calculating an integrated value by sequentially integrating the driving amount of the determination target motor based on information regarding the driving amount of the determination target motor acquired by the information acquisition unit, and the other information acquired by the information acquisition unit An arithmetic unit that performs an operation of subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on information on the driving amount of the motor from the integrated value;
A determination unit that determines that the determination target motor is in an overheated state when the integrated value subtracted by the calculation unit reaches a predetermined value;
An overheat determination device for a motor, comprising:

この装置にあっては、判定対象のモータの駆動量を逐次積算して積算値を算出する演算に加え、判定対象のモータと交互に駆動される他のモータの駆動量に関する情報に基づき取得された他のモータの駆動量に応じた減算値を前記積算値から減算する演算を実行するから、モータの温度状態をより正確に推測することができる。   In this apparatus, in addition to the calculation of sequentially integrating the drive amount of the determination target motor and calculating the integrated value, the device is acquired based on information on the drive amount of another motor that is driven alternately with the determination target motor. Further, since the calculation for subtracting the subtraction value corresponding to the driving amount of the other motor from the integrated value is executed, the temperature state of the motor can be estimated more accurately.

かかる過熱判定装置にあっては、前記判定対象のモータの駆動量に関する情報は、前記判定対象のモータの駆動毎に前記情報取得部により取得されても良い。このように判定対象のモータの駆動量に関する情報が判定対象のモータの駆動毎に逐次取得されれば、判定対象のモータの温度状態をより的確に推測することができる。   In the overheat determination device, the information related to the drive amount of the determination target motor may be acquired by the information acquisition unit every time the determination target motor is driven. In this way, if information regarding the drive amount of the determination target motor is sequentially acquired for each drive of the determination target motor, the temperature state of the determination target motor can be estimated more accurately.

また、かかる過熱判定装置にあっては、前記判定対象のモータの駆動量に関する情報は、前記判定対象のモータがその駆動量に基づき駆動される前に前記情報取得部により取得されても良い。このように判定対象のモータの駆動量に関する情報は、判定対象のモータがその駆動量に基づき駆動する前に取得されれば、判定対象のモータの温度状態を駆動前に推測することができる。   In the overheat determination device, the information regarding the drive amount of the determination target motor may be acquired by the information acquisition unit before the determination target motor is driven based on the drive amount. As described above, if the information on the driving amount of the determination target motor is acquired before the determination target motor is driven based on the driving amount, the temperature state of the determination target motor can be estimated before driving.

また、かかる過熱判定装置にあっては、前記演算部は、前記判定対象のモータの駆動が停止してから所定時間経過する毎に、前記積算値から所定値を減算する演算を実行しても良い。このような演算が実行されれば、判定対象のモータの温度状態をより正確に推測することができる。   In the overheat determination device, the calculation unit may perform a calculation of subtracting a predetermined value from the integrated value every time a predetermined time elapses after driving of the determination target motor is stopped. good. If such calculation is executed, the temperature state of the determination target motor can be estimated more accurately.

また、かかる過熱判定装置にあっては、前記判定対象のモータが前記判定部により過熱状態にあると判定されたときに、前記判定対象のモータの駆動が制限されても良い。このように判定対象のモータの駆動が制限されれば、判定対象のモータの温度上昇を抑制しつつ判定対象のモータを駆動させることができる。   In such an overheat determination device, when the determination target motor is determined to be in an overheated state by the determination unit, driving of the determination target motor may be limited. If the drive of the determination target motor is limited in this way, the determination target motor can be driven while suppressing the temperature rise of the determination target motor.

また、かかる過熱判定装置にあっては、前記他のモータの駆動量と、前記減算値とが対応付けられたテーブルを備えていても良い。このようなテーブルを備えれば、減算値を簡単に取得することができる。   Moreover, in this overheat determination apparatus, you may provide the table with which the drive amount of the said other motor and the said subtraction value were matched. If such a table is provided, the subtraction value can be easily obtained.

また、かかる過熱判定装置にあっては、前記情報取得部は、前記判定対象のモータの駆動モードに関する情報を取得し、前記減算値は、前記情報取得部が取得した前記駆動モードに関する情報および前記他のモータの駆動量に関する情報に基づき取得されても良い。このように判定対象のモータの駆動モードに関する情報を取得して、当該駆動モードに関する情報に基づき減算値を取得することで、駆動モードに応じた減算値を取得することができる。   In the overheat determination device, the information acquisition unit acquires information on the drive mode of the determination target motor, and the subtraction value is information on the drive mode acquired by the information acquisition unit and the information You may acquire based on the information regarding the drive amount of another motor. Thus, by acquiring information related to the drive mode of the determination target motor and acquiring a subtraction value based on the information related to the drive mode, a subtraction value corresponding to the drive mode can be acquired.

また、かかる過熱判定装置にあっては、前記モータは、前記駆動モードに応じて、加速時の加速度、定速時の速度および減速時の加速度のうちの少なくともいずれか1つが異なっても良い。このようにモータが駆動モードに応じて異なる場合に、適切な減算値を取得することができる。   In the overheat determination device, at least one of acceleration during acceleration, speed during constant speed, and acceleration during deceleration may be different depending on the drive mode. Thus, when a motor changes with drive modes, an appropriate subtraction value can be acquired.

判定対象のモータの駆動量に関する情報と、前記判定対象のモータと交互に駆動される他のモータの駆動量に関する情報とを取得する情報取得部と、
前記情報取得部が取得した前記判定対象のモータの駆動量に関する情報に基づき前記判定対象のモータの駆動量を逐次積算して積算値を算出する演算と、前記情報取得部が取得した前記他のモータの駆動量に関する情報に基づき取得された前記他のモータの駆動量に応じた減算値を前記積算値から減算する演算とを実行する演算部と、
前記演算部により減算された積算値が所定値に達したときに、前記判定対象のモータが過熱状態にあると判定する判定部とを備え、
前記判定対象のモータの駆動量に関する情報は、前記判定対象のモータの駆動毎に前記情報取得部により取得されるとともに、前記モータがその駆動量に基づき駆動される前に前記情報取得部により取得され、
前記演算部は、前記判定対象のモータの駆動が停止してから所定時間経過する毎に、前記積算値から所定値を減算する演算を実行し、
前記判定対象のモータが前記判定部により過熱状態にあると判定されたときに、前記判定対象のモータの駆動が制限され、
前記他のモータの駆動量と、前記減算値とが対応付けられたテーブルを備え、
前記情報取得部は、前記モータの駆動モードに関する情報を取得し、
前記減算値は、前記情報取得部が取得した前記駆動モードに関する情報および前記他のモータの駆動量に関する情報に基づき取得され、
前記判定対象のモータは、前記駆動モードに応じて、加速時の加速度、定速時の速度および減速時の加速度のうちの少なくともいずれか1つが異なることを特徴とするモータの過熱判定装置。
An information acquisition unit for acquiring information on a driving amount of a determination target motor and information on a driving amount of another motor driven alternately with the determination target motor;
An operation for calculating an integrated value by sequentially integrating the driving amount of the determination target motor based on information regarding the driving amount of the determination target motor acquired by the information acquisition unit, and the other information acquired by the information acquisition unit An arithmetic unit that performs an operation of subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on information on the driving amount of the motor from the integrated value;
A determination unit that determines that the determination target motor is in an overheated state when the integrated value subtracted by the calculation unit reaches a predetermined value;
Information on the driving amount of the determination target motor is acquired by the information acquisition unit every time the determination target motor is driven, and is acquired by the information acquisition unit before the motor is driven based on the driving amount. And
The calculation unit performs a calculation of subtracting a predetermined value from the integrated value every time a predetermined time has elapsed after the driving of the determination target motor is stopped,
When the determination target motor is determined to be in an overheated state by the determination unit, driving of the determination target motor is limited,
A table in which the driving amount of the other motor is associated with the subtraction value;
The information acquisition unit acquires information on the drive mode of the motor,
The subtraction value is acquired based on information on the drive mode acquired by the information acquisition unit and information on the drive amount of the other motor,
The motor determination apparatus according to claim 1, wherein the determination target motor has at least one of acceleration at acceleration, speed at constant speed, and acceleration at deceleration according to the drive mode.

判定対象のモータの駆動量に関する情報を取得するステップと、
前記判定対象のモータと交互に駆動される他のモータの駆動量に関する情報を取得するステップと、
取得した前記判定対象のモータの駆動量に関する情報に基づき前記判定対象のモータの駆動量を逐次積算して積算値を算出するステップと、
取得した前記他のモータの駆動量に関する情報に基づき取得された前記他のモータの駆動量に応じた減算値を前記積算値から減算するステップと、
減算された前記積算値が所定値に達したときに、前記判定対象のモータが過熱状態にあると判定するステップと、
を有することを特徴とするモータの過熱判定方法。
Obtaining information on the driving amount of the motor to be determined;
Obtaining information relating to the drive amount of another motor driven alternately with the determination target motor;
Calculating the integrated value by sequentially integrating the drive amount of the determination target motor based on the acquired information on the drive amount of the determination target motor;
Subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on the acquired information on the driving amount of the other motor from the integrated value;
Determining that the determination target motor is in an overheated state when the subtracted integrated value reaches a predetermined value;
A method for determining overheating of a motor, comprising:

判定対象のモータの駆動量に関する情報を取得するステップと、
前記判定対象のモータと交互に駆動される他のモータの駆動量に関する情報を取得するステップと、
取得した前記判定対象のモータの駆動量に関する情報に基づき前記判定対象のモータの駆動量を逐次積算して積算値を算出するステップと、
取得した前記他のモータの駆動量に関する情報に基づき取得された前記他のモータの駆動量に応じた減算値を前記積算値から減算するステップと、
減算された前記積算値が所定値に達したときに、前記判定対象のモータが過熱状態にあると判定するステップと、
を実行することを特徴とするモータの過熱判定プログラム。
Obtaining information on the driving amount of the motor to be determined;
Obtaining information relating to the drive amount of another motor driven alternately with the determination target motor;
Calculating the integrated value by sequentially integrating the drive amount of the determination target motor based on the acquired information on the drive amount of the determination target motor;
Subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on the acquired information on the driving amount of the other motor from the integrated value;
Determining that the determination target motor is in an overheated state when the subtracted integrated value reaches a predetermined value;
A motor overheating determination program characterized by executing

制御対象のモータの駆動量に関する情報と、前記制御対象のモータと交互に駆動される他のモータの駆動量に関する情報とを取得する情報取得部と、
前記情報取得部が取得した前記制御対象のモータの駆動量に関する情報に基づき前記制御対象のモータの駆動量を逐次積算して積算値を算出する演算と、前記情報取得部が取得した前記他のモータの駆動量に関する情報に基づき取得された前記他のモータの駆動量に応じた減算値を前記積算値から減算する演算とを実行する演算部と、
前記演算部により減算された積算値が所定値に達したときに、前記制御対象のモータが過熱状態にあると判定する判定部と、
前記制御対象のモータの駆動を制御し、かつ前記判定部により前記制御対象のモータが過熱状態にあると判定されたときに、前記制御対象のモータの駆動を制限するコントローラと、
を備えたことを特徴とするモータ制御装置。
An information acquisition unit that acquires information on the drive amount of the motor to be controlled and information on the drive amount of another motor that is driven alternately with the motor to be controlled;
An operation for calculating the integrated value by sequentially integrating the drive amount of the motor to be controlled based on the information on the drive amount of the motor to be controlled acquired by the information acquisition unit, and the other acquired by the information acquisition unit An arithmetic unit that performs an operation of subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on information on the driving amount of the motor from the integrated value;
A determination unit that determines that the motor to be controlled is in an overheated state when the integrated value subtracted by the calculation unit reaches a predetermined value;
A controller that controls the drive of the control target motor and controls the drive of the control target motor when the determination unit determines that the control target motor is in an overheated state;
A motor control device comprising:

制御対象のモータの駆動量に関する情報を取得するステップと、
前記制御対象のモータと交互に駆動される他のモータの駆動量に関する情報を取得するステップと、
取得した前記制御対象のモータの駆動量に関する情報に基づき前記制御対象のモータの駆動量を逐次積算して積算値を算出するステップと、
取得した前記他のモータの駆動量に関する情報に基づき取得された前記他のモータの駆動量に応じた減算値を前記積算値から減算するステップと、
減算された前記積算値が所定値に達したときに、前記制御対象のモータが過熱状態にあると判定するステップと、
前記制御対象のモータが過熱状態にあると判定されたときに、前記制御対象のモータの駆動を制限するステップと、
を有することを特徴とするモータ制御方法。
Obtaining information on the drive amount of the motor to be controlled;
Obtaining information relating to the drive amount of another motor driven alternately with the motor to be controlled;
Calculating the integrated value by sequentially integrating the drive amount of the control target motor based on the acquired information on the drive amount of the control target motor;
Subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on the acquired information on the driving amount of the other motor from the integrated value;
Determining that the motor to be controlled is in an overheated state when the subtracted integrated value reaches a predetermined value;
Limiting the drive of the control target motor when it is determined that the control target motor is in an overheat state; and
A motor control method characterized by comprising:

媒体に対して印刷を施す印刷部と、
交互に駆動される2つのモータと、
前記モータの駆動量に関する情報を各々取得する情報取得部と、
前記情報取得部が取得した一方のモータの駆動量に関する情報に基づき前記一方のモータの駆動量を逐次積算して積算値を算出する演算と、前記情報取得部が取得した他方のモータの駆動量に関する情報に基づき取得された前記他方のモータの駆動量に応じた減算値を前記積算値から減算する演算とを実行する演算部と、
前記演算部により減算された積算値が所定値に達したときに、前記一方のモータが過熱状態にあると判定する判定部と、
を備えたことを特徴とする印刷装置。
A printing section for printing on the medium;
Two motors driven alternately,
An information acquisition unit for acquiring information related to the drive amount of the motor;
Based on information about the driving amount of one motor acquired by the information acquisition unit, an operation for calculating the integrated value by sequentially integrating the driving amount of the one motor, and the driving amount of the other motor acquired by the information acquisition unit An arithmetic unit that performs an operation of subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on the information on the integrated value from the integrated value;
A determination unit that determines that the one motor is in an overheated state when the integrated value subtracted by the calculation unit reaches a predetermined value;
A printing apparatus comprising:

かかる印刷装置にあっては、前記モータが、前記印刷部により印刷される媒体を搬送するためのモータと、媒体に対して印刷を施す印刷部を前記媒体に対して相対的に移動させるためのモータとであっても良い。   In such a printing apparatus, the motor moves a motor for transporting the medium printed by the printing unit and a printing unit that performs printing on the medium relative to the medium. It may be a motor.

===印刷装置の概要===
本発明に係るモータの過熱判定装置として、インクジェットプリンタ(印刷装置)に搭載された場合を例にとり説明する。まず、インクジェットプリンタ(印刷装置)の概要について説明する。
=== Overview of Printing Apparatus ===
As an example of a motor overheat determination device according to the present invention, a case where it is mounted on an ink jet printer (printing device) will be described as an example. First, an outline of an inkjet printer (printing apparatus) will be described.

図1〜図4は、そのインクジェットプリンタ1を示したものである。図1は、そのインクジェットプリンタ1の外観を示す。図2は、そのインクジェットプリンタ1の内部構成を示す。図3は、そのインクジェットプリンタ1の搬送部を示す。図4は、そのインクジェットプリンタ1のシステム構成を示すブロック構成図である。   1 to 4 show the ink jet printer 1. FIG. 1 shows the appearance of the inkjet printer 1. FIG. 2 shows the internal configuration of the inkjet printer 1. FIG. 3 shows the transport section of the inkjet printer 1. FIG. 4 is a block diagram showing the system configuration of the inkjet printer 1.

このインクジェットプリンタ1は、図1に示すように、背面から供給された印刷用紙等の媒体を前面から排出する構造を備えており、その前面部には操作パネル2および排紙部3が設けられ、その背面部には給紙部4が設けられている。操作パネル2には、各種操作ボタン5および表示ランプ6が設けられている。また、排紙部3には、不使用時に排紙口を塞ぐ排紙トレー7が設けられている。給紙部4には、カット紙(図示しない)を保持する給紙トレー8が設けられている。なお、インクジェットプリンタ1は、カット紙など単票状の印刷紙のみならず、ロール紙などの連続した媒体にも印刷できるような給紙構造を備えていても良い。   As shown in FIG. 1, the inkjet printer 1 has a structure for discharging a medium such as printing paper supplied from the back side from the front side, and an operation panel 2 and a paper discharge unit 3 are provided on the front side. The paper feeding unit 4 is provided on the back side. Various operation buttons 5 and display lamps 6 are provided on the operation panel 2. Further, the paper discharge unit 3 is provided with a paper discharge tray 7 that closes the paper discharge port when not in use. The paper feed unit 4 is provided with a paper feed tray 8 that holds cut paper (not shown). Note that the inkjet printer 1 may include a paper feed structure that can print not only on single-sheet-like printing paper such as cut paper but also on continuous media such as roll paper.

このインクジェットプリンタ1の内部には、図2に示すように、キャリッジ41が設けられている。このキャリッジ41は、所定の方向(図中、キャリッジ移動方向)に沿って相対的に移動可能に設けられたものである。キャリッジ41の周辺には、キャリッジモータ42と、プーリ44と、タイミングベルト45と、ガイドレール46と、が設けられている。キャリッジモータ42は、DCモータなどにより構成され、キャリッジ41を前記所定の方向に沿って相対的に移動させるための駆動源として機能する。また、タイミングベルト45は、プーリ44を介してキャリッジモータ42に接続されるとともに、その一部がキャリッジ41に接続され、キャリッジモータ42の回転によってキャリッジ41を前記所定の方向に沿って相対的に移動させる。ガイドレール46は、キャリッジ41を前記所定の方向に沿って案内する。   Inside the ink jet printer 1, a carriage 41 is provided as shown in FIG. The carriage 41 is provided so as to be relatively movable along a predetermined direction (the carriage movement direction in the figure). Around the carriage 41, a carriage motor 42, a pulley 44, a timing belt 45, and a guide rail 46 are provided. The carriage motor 42 is constituted by a DC motor or the like, and functions as a drive source for relatively moving the carriage 41 along the predetermined direction. The timing belt 45 is connected to the carriage motor 42 via the pulley 44, and a part of the timing belt 45 is connected to the carriage 41. The carriage 41 is relatively moved along the predetermined direction by the rotation of the carriage motor 42. Move. The guide rail 46 guides the carriage 41 along the predetermined direction.

この他に、キャリッジ41の周辺には、キャリッジ41の位置を検出するリニア式エンコーダ51と、媒体Sをキャリッジ41の移動方向と交差する方向に沿って搬送するための搬送ローラ17Aと、この搬送ローラ17Aを回転させる搬送モータ15とが設けられている。   In addition, around the carriage 41, a linear encoder 51 that detects the position of the carriage 41, a conveyance roller 17 </ b> A for conveying the medium S along a direction that intersects the moving direction of the carriage 41, and this conveyance A conveyance motor 15 that rotates the roller 17A is provided.

一方、キャリッジ41には、各種インクを収容したインクカートリッジ48と、媒体Sに対して印刷を行うヘッド21とが設けられている。インクカートリッジ48は、例えば、イエロ(Y)やマゼンダ(M)、シアン(C)、ブラック(K)などの各色のインクを収容しており、キャリッジ41に設けられたカートリッジ装着部49に着脱可能に装着されている。また、ヘッド21は、本実施形態では、媒体Sに対してインクを吐出して印刷を施す。このためにヘッド21には、インクを吐出するための多数のノズルが設けられている。このヘッド21のインクの吐出機構については、後で詳しく説明する。   On the other hand, the carriage 41 is provided with an ink cartridge 48 that stores various inks, and a head 21 that performs printing on the medium S. The ink cartridge 48 contains, for example, each color ink such as yellow (Y), magenta (M), cyan (C), black (K), and is detachable from a cartridge mounting portion 49 provided on the carriage 41. It is attached to. In the present embodiment, the head 21 performs printing by ejecting ink onto the medium S. For this purpose, the head 21 is provided with a number of nozzles for ejecting ink. The ink ejection mechanism of the head 21 will be described in detail later.

この他に、このインクジェットプリンタ1の内部には、ヘッド21のノズルの目詰まりを解消するためのクリーニングユニット30が設けられている。このクリーニングユニット30は、ポンプ装置31と、キャッピング装置35とを有する。ポンプ装置31は、ヘッド21のノズルの目詰まりを解消するために、ノズルからインクを吸い出す装置であり、ポンプモータ(図示外)により作動する。一方、キャッピング装置35は、ヘッド21のノズルの目詰まりを防止するため、印刷を行わないとき(待機時など)に、ヘッド21のノズルを封止する。   In addition, a cleaning unit 30 for eliminating clogging of the nozzles of the head 21 is provided inside the ink jet printer 1. The cleaning unit 30 includes a pump device 31 and a capping device 35. The pump device 31 is a device that sucks out ink from the nozzles in order to eliminate clogging of the nozzles of the head 21, and is operated by a pump motor (not shown). On the other hand, the capping device 35 seals the nozzles of the head 21 when printing is not performed (for example, during standby) in order to prevent clogging of the nozzles of the head 21.

次にこのインクジェットプリンタ1の搬送部の構成について説明する。この搬送部は、図3に示すように、紙挿入口11A及びロール紙挿入口11Bと、給紙モータ(不図示)と、給紙ローラ13と、プラテン14と、搬送モータ15と、搬送ローラ17Aと排紙ローラ17Bと、フリーローラ18Aとフリーローラ18Bとを有する。   Next, the configuration of the transport unit of the inkjet printer 1 will be described. As shown in FIG. 3, the transport unit includes a paper insertion port 11A and a roll paper insertion port 11B, a paper feed motor (not shown), a paper feed roller 13, a platen 14, a transport motor 15, and a transport roller. 17A, a discharge roller 17B, a free roller 18A, and a free roller 18B.

紙挿入口11Aは、媒体である媒体Sを挿入するところである。給紙モータ(図示外)は、紙挿入口11Aに挿入された媒体Sをインクジェットプリンタ1内に搬送するモータであり、パルスモータ等で構成される。給紙ローラ13は、紙挿入口11Aに挿入された媒体Sを図中矢印A方向(ロール紙の場合は矢印B方向)にインクジェットプリンタ1の内部に自動的に搬送するローラであり、給紙モータによって駆動される。給紙ローラ13は、略D形の横断面形状を有している。給紙ローラ13の円周部分の周囲長さは、搬送モータ15までの搬送距離よりも長く設定されているので、この円周部分を用いて媒体Sを搬送モータ15まで搬送することができる。   The paper insertion slot 11A is where the medium S, which is a medium, is inserted. The paper feed motor (not shown) is a motor that transports the medium S inserted into the paper insertion slot 11A into the ink jet printer 1, and is configured by a pulse motor or the like. The paper feed roller 13 is a roller that automatically conveys the medium S inserted into the paper insertion slot 11A into the ink jet printer 1 in the direction of arrow A in the figure (the direction of arrow B in the case of roll paper). It is driven by a motor. The paper feed roller 13 has a substantially D-shaped cross section. Since the circumferential length of the circumferential portion of the paper feed roller 13 is set to be longer than the conveyance distance to the conveyance motor 15, the medium S can be conveyed to the conveyance motor 15 using this circumferential portion.

給紙ローラ13により搬送された媒体Sは、紙検知センサ53に当接する。この紙検知センサ53は、給紙ローラ13と、搬送ローラ17Aとの間に設置されたもので、給紙ローラ13により給紙された媒体Sを検知するようになっている。   The medium S conveyed by the paper supply roller 13 contacts the paper detection sensor 53. The paper detection sensor 53 is installed between the paper feed roller 13 and the transport roller 17A, and detects the medium S fed by the paper feed roller 13.

紙検知センサ53により検知された媒体Sは、プラテン14へと搬送される。プラテン14は、印刷中の媒体Sを支持する支持手段である。搬送モータ15は、媒体Sである例えば紙を搬送方向に送り出すモータであり、DCモータで構成される。搬送ローラ17Aは、給紙ローラ13によってインクジェットプリンタ1内に搬送された媒体Sを印刷可能な領域まで送り出すローラであり、搬送モータ15によって駆動される。フリーローラ18Aは、搬送ローラ17Aと対向する位置に設けられ、媒体Sを搬送ローラ17Aとの間に挟む。   The medium S detected by the paper detection sensor 53 is conveyed to the platen 14. The platen 14 is a support unit that supports the medium S during printing. The transport motor 15 is a motor that sends out, for example, paper as the medium S in the transport direction, and is configured by a DC motor. The transport roller 17 </ b> A is a roller that feeds the medium S transported into the inkjet printer 1 by the paper feed roller 13 to a printable region, and is driven by the transport motor 15. The free roller 18A is provided at a position facing the conveyance roller 17A and sandwiches the medium S between the conveyance roller 17A.

排紙ローラ17Bは、印刷が終了した媒体Sをインクジェットプリンタ1の外部に排出するローラである。排紙ローラ17Bは、不図示の歯車により、搬送モータ15によって駆動される。フリーローラ18Bは、排紙ローラ17Bと対向する位置に設けられ、媒体Sを排紙ローラ17Bとの間に挟むことによって媒体Sを排紙ローラ17Bに向かって押さえる。   The paper discharge roller 17B is a roller that discharges the medium S on which printing has been completed to the outside of the inkjet printer 1. The paper discharge roller 17B is driven by the transport motor 15 by a gear (not shown). The free roller 18B is provided at a position facing the paper discharge roller 17B, and presses the medium S toward the paper discharge roller 17B by sandwiching the medium S between the paper discharge roller 17B.

<システム構成>
次にこのインクジェットプリンタ1のシステム構成について説明する。このインクジェットプリンタ1は、図4に示すように、バッファメモリ122と、イメージバッファ124と、コントローラ126と、メインメモリ127と、EEPROM129とを備えている。バッファメモリ122は、コンピュータ140から送信された印刷データ等の各種データを受信して一時的に記憶する。また、イメージバッファ124は、受信した印刷データをバッファメモリ122より取得して格納する。また、メインメモリ127は、ROMやRAMなどにより構成される。
<System configuration>
Next, the system configuration of the inkjet printer 1 will be described. As shown in FIG. 4, the inkjet printer 1 includes a buffer memory 122, an image buffer 124, a controller 126, a main memory 127, and an EEPROM 129. The buffer memory 122 receives and temporarily stores various data such as print data transmitted from the computer 140. The image buffer 124 acquires the received print data from the buffer memory 122 and stores it. The main memory 127 is composed of a ROM, a RAM, and the like.

一方、コントローラ126は、メインメモリ127またはEEPROM129から制御用プログラムを読み出して、当該制御用プログラムに従ってインクジェットプリンタ1全体の制御を行う。本実施形態のコントローラ126は、キャリッジモータ制御部128と、搬送制御部130と、ヘッド駆動部132と、ロータリ式エンコーダ134と、リニア式エンコーダ51とを備えている。キャリッジモータ制御部128は、キャリッジモータ42の回転方向や回転数、トルクなどを駆動制御する。また、ヘッド駆動部132は、ヘッド21の駆動制御を行う。搬送制御部130は、搬送ローラ17Aを回転駆動する搬送モータ15など、搬送系に配置された各種駆動モータを制御する。   On the other hand, the controller 126 reads a control program from the main memory 127 or the EEPROM 129, and controls the entire inkjet printer 1 according to the control program. The controller 126 according to this embodiment includes a carriage motor control unit 128, a conveyance control unit 130, a head drive unit 132, a rotary encoder 134, and a linear encoder 51. The carriage motor control unit 128 drives and controls the rotation direction, rotation speed, torque, and the like of the carriage motor 42. Further, the head drive unit 132 performs drive control of the head 21. The conveyance control unit 130 controls various drive motors arranged in the conveyance system, such as the conveyance motor 15 that rotationally drives the conveyance roller 17A.

コンピュータ140から送られてきた印刷データは、一旦、バッファメモリ122に蓄えられる。ここで蓄えられた印刷データは、その中から必要な情報がコントローラ126により読み出される。コントローラ126は、その読み出した情報に基づき、リニア式エンコーダ51やロータリ式エンコーダ134からの出力を参照しながら、制御用プログラムに従って、キャリッジモータ制御部128や搬送制御部130、ヘッド駆動部132を各々制御する。   The print data sent from the computer 140 is temporarily stored in the buffer memory 122. The controller 126 reads out necessary information from the print data stored here. Based on the read information, the controller 126 refers to the outputs from the linear encoder 51 and the rotary encoder 134, and controls the carriage motor control unit 128, the transport control unit 130, and the head drive unit 132 according to the control program. Control.

イメージバッファ124には、バッファメモリ122に受信された複数の色成分の印刷データが格納される。ヘッド駆動部132は、コントローラ126からの制御信号に従って、イメージバッファ124から各色成分の印刷データを取得し、この印刷データに基づきヘッド21に設けられた各色のノズルを駆動制御する。   The image buffer 124 stores print data of a plurality of color components received by the buffer memory 122. The head drive unit 132 acquires print data of each color component from the image buffer 124 according to a control signal from the controller 126, and drives and controls the nozzles of each color provided in the head 21 based on the print data.

また、コントローラ126には、紙検知センサ53から出力された、媒体Sを検知しているか否かを示す信号が入力される。これにより、コントローラ126は、紙検知センサ53が媒体Sを検知しているか否かを知ることができる。   The controller 126 receives a signal output from the paper detection sensor 53 and indicating whether or not the medium S is detected. Thereby, the controller 126 can know whether or not the paper detection sensor 53 is detecting the medium S.

<ヘッド>
図5は、ヘッド21の下面部に設けられたインクのノズルの配列を示した図である。ヘッド21の下面部には、同図に示すように、イエロ(Y)、マゼンタ(M)、シアン(C)、ブラック(K)の各色ごとにそれぞれ複数のノズル♯1〜♯180からなるノズル群211Y、211M、211C、211Kが設けられている。
<Head>
FIG. 5 is a diagram showing the arrangement of the ink nozzles provided on the lower surface of the head 21. On the lower surface of the head 21, as shown in the figure, nozzles comprising a plurality of nozzles # 1 to # 180 for each color of yellow (Y), magenta (M), cyan (C), and black (K). Groups 211Y, 211M, 211C, and 211K are provided.

各ノズル群211Y、211M、211C、211Kの各ノズル♯1〜♯180は、媒体Sの搬送方向に沿って直線状に配列されている。各ノズル群211Y、211M、211C、211Kは、ヘッド21の移動方向(キャリッジ移動方向)に沿って相互に間隔をあけて平行に配置されている。各ノズル♯1〜♯180には、インク滴を吐出するための駆動素子としてピエゾ素子(図示外)が設けられている。   The nozzles # 1 to # 180 of the nozzle groups 211Y, 211M, 211C, and 211K are arranged linearly along the transport direction of the medium S. The nozzle groups 211Y, 211M, 211C, and 211K are arranged in parallel with a space between each other along the movement direction (carriage movement direction) of the head 21. Each nozzle # 1 to # 180 is provided with a piezo element (not shown) as a drive element for ejecting ink droplets.

ピエゾ素子は、その両端に設けられた電極間に所定時間幅の電圧を印加すると、電圧の印加時間に応じて伸張し、インクの流路の側壁を変形させる。これによって、インクの流路の体積がピエゾ素子の伸縮に応じて収縮し、この収縮分に相当するインクが、インク滴となって各色の各ノズル♯1〜♯180から吐出される。   When a voltage having a predetermined time width is applied between the electrodes provided at both ends of the piezoelectric element, the piezoelectric element expands according to the voltage application time and deforms the side wall of the ink flow path. As a result, the volume of the ink flow path contracts according to the expansion and contraction of the piezo element, and the ink corresponding to the contraction is ejected from the nozzles # 1 to # 180 of each color as ink droplets.

===印刷動作===
次に前述したインクジェットプリンタ1の印刷動作について説明する。ここでは、「双方向印刷」を例にして説明する。図6は、インクジェットプリンタ1の印刷動作の処理手順の一例を示したフローチャートである。以下で説明される各処理は、コントローラ126が、メインメモリ127又はEEPROM129に格納されたプログラムを読み出して、当該プログラムに従って制御することにより実行される。
=== Printing operation ===
Next, the printing operation of the above-described ink jet printer 1 will be described. Here, “bidirectional printing” will be described as an example. FIG. 6 is a flowchart showing an example of the processing procedure of the printing operation of the inkjet printer 1. Each process described below is executed by the controller 126 reading out a program stored in the main memory 127 or the EEPROM 129 and controlling according to the program.

コントローラ126は、コンピュータ140から印刷データを受信すると、その印刷データに基づき印刷を実行すべく、まず、給紙処理を行う(S102)。給紙処理は、印刷しようとする媒体Sをインクジェットプリンタ1内に供給し、印刷開始位置(頭出し位置とも言う)まで搬送する処理である。コントローラ126は、給紙ローラ13を回転させて、印刷しようとする媒体Sを搬送ローラ17Aまで送る。コントローラ126は、搬送ローラ17Aを回転させて、給紙ローラ13から送られてきた媒体Sを印刷開始位置に位置決めする。   Upon receiving print data from the computer 140, the controller 126 first performs a paper feed process to execute printing based on the print data (S102). The paper feed process is a process of supplying the medium S to be printed into the ink jet printer 1 and transporting it to a print start position (also referred to as a cue position). The controller 126 rotates the paper feed roller 13 to send the medium S to be printed to the transport roller 17A. The controller 126 rotates the transport roller 17A to position the medium S sent from the paper feed roller 13 at the print start position.

次に、コントローラ126は、キャリッジ41を媒体Sに対して相対的に移動させて媒体Sに対して印刷を施す印刷処理を実行する。ここでは、まず、キャリッジ41をガイドレール46に沿って一の方向に向かって移動させながら、ヘッド21からインクを吐出する往路印刷を実行する(S104)。コントローラ126は、キャリッジモータ制御部128を介してキャリッジモータ42を駆動してキャリッジ41を移動させるとともに、印刷データに基づきヘッド21を駆動してインクを吐出する。ヘッド21から吐出されたインクは、媒体Sに到達してドットとして形成される。   Next, the controller 126 executes a printing process in which the carriage 41 is moved relative to the medium S to perform printing on the medium S. Here, first, forward printing is performed to eject ink from the head 21 while moving the carriage 41 in one direction along the guide rail 46 (S104). The controller 126 drives the carriage motor 42 via the carriage motor control unit 128 to move the carriage 41 and drives the head 21 based on the print data to eject ink. The ink ejected from the head 21 reaches the medium S and is formed as dots.

このようにして印刷を行った後、次に、媒体Sを所定量だけ搬送する搬送処理を実行する(S106)。この搬送処理では、コントローラ126は、搬送制御部130を介して、搬送モータ15を駆動して搬送ローラ17Aを回転させて、媒体Sをヘッド21に対して相対的に搬送方向に所定量だけ搬送する。この搬送処理により、ヘッド21は、先ほどの印刷した領域とは異なる領域に印刷をすることが可能になる。   After printing is performed in this way, next, a carrying process for carrying the medium S by a predetermined amount is executed (S106). In this transport process, the controller 126 drives the transport motor 15 and rotates the transport roller 17A via the transport control unit 130 to transport the medium S by a predetermined amount relative to the head 21 in the transport direction. To do. By this carrying process, the head 21 can print in an area different from the previously printed area.

このようにして搬送処理を行った後、排紙すべきか否か排紙判断を実行する(S108)。ここで、印刷中の媒体Sに印刷すべき他のデータがなければ、排紙処理を実行する(S116)。一方、印刷中の媒体Sに印刷すべき他のデータがあれば、排紙処理は行わずに、復路印刷を実行する(S110)。この復路印刷は、キャリッジ41をガイドレール46に沿って先ほどの往路印刷とは反対の方向に移動させて印刷を行う。ここでも、コントローラ126は、キャリッジモータ制御部128を介して、キャリッジモータ42を先ほどとは逆に回転駆動させてキャリッジ41を移動させるとともに、印刷データに基づきヘッド21を駆動してインクを吐出し、印刷を施す。   After carrying out the carrying process in this way, it is determined whether or not to discharge paper (S108). If there is no other data to be printed on the medium S being printed, a paper discharge process is executed (S116). On the other hand, if there is other data to be printed on the medium S being printed, the return pass printing is executed without performing the paper discharge process (S110). In this backward printing, printing is performed by moving the carriage 41 along the guide rail 46 in the direction opposite to the previous forward printing. Again, the controller 126 rotates the carriage motor 42 through the carriage motor control unit 128 to move the carriage 41 in the reverse direction, and drives the head 21 based on the print data to eject ink. Apply printing.

復路印刷を実行した後、搬送処理を実行し(S112)、その後、排紙判断を行う(S114)。ここで、印刷中の媒体Sに印刷すべき他のデータがあれば、排紙処理は行わずに、ステップS104に戻って、再度往路印刷を実行する(S104)。一方、印刷中の媒体Sに印刷すべき他のデータがなければ、排紙処理を実行する(S116)。   After performing the return pass printing, a carrying process is executed (S112), and then a paper discharge determination is made (S114). Here, if there is other data to be printed on the medium S being printed, the paper discharge process is not performed, the process returns to step S104, and the forward printing is executed again (S104). On the other hand, if there is no other data to be printed on the medium S being printed, a paper discharge process is executed (S116).

排紙処理を行った後、次に、印刷終了か否かを判断する印刷終了判断を実行する(S118)。ここでは、次にコンピュータ140から印刷データに基づき、次に印刷すべき媒体Sがないかどうかチェックする。ここで、次に印刷すべき媒体Sがある場合には、ステップS102に戻り、再び給紙処理を実行して、印刷を開始する。一方、次に印刷すべき媒体Sがない場合には、印刷処理を終了する。   After the paper discharge process is performed, next, a print end determination is performed to determine whether or not to end printing (S118). Here, based on the print data from the computer 140, it is checked whether there is a medium S to be printed next. If there is a medium S to be printed next, the process returns to step S102, the paper feed process is executed again, and printing is started. On the other hand, if there is no medium S to be printed next, the printing process is terminated.

===搬送モータの駆動制御===
<搬送制御部の機能>
搬送モータ15の駆動制御は、搬送制御部130により行われる。搬送制御部130は、コントローラ126からの搬送指令に基づいて、所定の駆動量にて搬送モータ15を駆動させる。搬送モータ15は、指令された駆動量に応じて搬送ローラ17Aと排紙ローラ17Bとを回転させる。これにより、搬送ローラ17Aと排紙ローラ17Bとが回転して、媒体Sは所定の搬送量分だけ搬送される。媒体Sの搬送量は、搬送ローラ17Aの回転量に応じて定まる。したがって、搬送ローラ17Aの回転量が検出できれば、媒体Sの搬送量も検出可能である。ここでは、搬送ローラ17Aの回転量を検出するために、ロータリ式エンコーダ134が設けられている。
=== Conveyance motor drive control ===
<Functions of transport control unit>
The drive control of the carry motor 15 is performed by the carry control unit 130. The transport control unit 130 drives the transport motor 15 by a predetermined drive amount based on a transport command from the controller 126. The carry motor 15 rotates the carry roller 17A and the paper discharge roller 17B according to the commanded driving amount. As a result, the transport roller 17A and the paper discharge roller 17B rotate, and the medium S is transported by a predetermined transport amount. The conveyance amount of the medium S is determined according to the rotation amount of the conveyance roller 17A. Therefore, if the rotation amount of the transport roller 17A can be detected, the transport amount of the medium S can also be detected. Here, a rotary encoder 134 is provided to detect the rotation amount of the transport roller 17A.

<ロータリ式エンコーダ>
図7は、ロータリ式エンコーダ134の構成を説明した説明図である。ロータリ式エンコーダ134は、ロータリ式エンコーダ符号板402と検出部404とを備えている。
このロータリ式エンコーダ符号板402は、同図に示すように、円盤状に形成されている。ロータリ式エンコーダ符号板402の外周縁部には、所定の間隔置きに小さなスリット406が多数形成されている。ロータリ式エンコーダ符号板402は、媒体Sを搬送する搬送ローラ17Aの軸端部に一体的に設けられた大歯車408に隣接して一体的に設けられている。大歯車408は、小歯車410を介して搬送モータ15に接続されていて、搬送モータ15の回転駆動によって、小歯車410を介して回転する。これにより、搬送ローラ17Aが搬送モータ15の回転駆動によって回転し、ロータリ式エンコーダ符号板402も、大歯車408および搬送ローラ17Aと同期して回転する。一方、検出部404は、ロータリ式エンコーダ符号板402に隣接して設けられたもので、ロータリ式エンコーダ符号板402の回転量を検出する。
<Rotary encoder>
FIG. 7 is an explanatory diagram illustrating the configuration of the rotary encoder 134. The rotary encoder 134 includes a rotary encoder code plate 402 and a detection unit 404.
The rotary encoder code plate 402 is formed in a disc shape as shown in the figure. A large number of small slits 406 are formed at predetermined intervals on the outer peripheral edge of the rotary encoder code plate 402. The rotary encoder code plate 402 is integrally provided adjacent to a large gear 408 that is integrally provided at the shaft end of the conveying roller 17A that conveys the medium S. The large gear 408 is connected to the transport motor 15 via the small gear 410, and rotates via the small gear 410 by the rotational drive of the transport motor 15. Thereby, the conveyance roller 17A is rotated by the rotation drive of the conveyance motor 15, and the rotary encoder code plate 402 is also rotated in synchronization with the large gear 408 and the conveyance roller 17A. On the other hand, the detection unit 404 is provided adjacent to the rotary encoder code plate 402 and detects the amount of rotation of the rotary encoder code plate 402.

<検出部の構成>
図8は、ロータリ式エンコーダ134の検出部404の構成を詳しく示したものである。検出部404は、発光ダイオード412と、コリメータレンズ414と、検出処理部416とを備えている。検出処理部416は、複数(例えば4個)のフォトダイオード418と、信号処理回路420と、例えば2個のコンパレータ422A、422Bとを有している。
<Configuration of detection unit>
FIG. 8 shows the configuration of the detection unit 404 of the rotary encoder 134 in detail. The detection unit 404 includes a light emitting diode 412, a collimator lens 414, and a detection processing unit 416. The detection processing unit 416 includes a plurality (for example, four) of photodiodes 418, a signal processing circuit 420, and, for example, two comparators 422A and 422B.

発光ダイオード412の両端に抵抗を介して電圧Vccが印加されると、発光ダイオード412から光が発せられる。この光はコリメータレンズ414により平行光に集光されてロータリ式エンコーダ符号板402を通過する。ロータリ式エンコーダ符号板402には、所定の間隔(例えば1/180インチ(1インチ=2.54cm))毎にスリット406が設けられている。   When the voltage Vcc is applied to both ends of the light emitting diode 412 via a resistor, light is emitted from the light emitting diode 412. This light is condensed into parallel light by the collimator lens 414 and passes through the rotary encoder code plate 402. The rotary encoder code plate 402 is provided with slits 406 at predetermined intervals (for example, 1/180 inch (1 inch = 2.54 cm)).

ロータリ式エンコーダ符号板402を通過した平行光は、図示しない固定スリットを通って各フォトダイオード418に入射し、電気信号に変換される。4個のフォトダイオード418から出力される電気信号は信号処理回路420において信号処理され、信号処理回路420から出力される信号はコンパレータ422A、422Bにおいて比較され、比較結果がパルスとして出力される。コンパレータ422A、422Bから出力されるパルスENC−A、ENC−Bがロータリ式エンコーダ134の出力信号となる。   The parallel light that has passed through the rotary encoder code plate 402 enters each photodiode 418 through a fixed slit (not shown), and is converted into an electrical signal. The electric signals output from the four photodiodes 418 are subjected to signal processing in the signal processing circuit 420, the signals output from the signal processing circuit 420 are compared in the comparators 422A and 422B, and the comparison result is output as a pulse. Pulses ENC-A and ENC-B output from the comparators 422A and 422B are output signals of the rotary encoder 134.

図9A及び図9Bは、搬送モータ15の正転時及び逆転時におけるロータリ式エンコーダ134の2つの出力信号の波形を示したタイミングチャートである。図9Aは、搬送モータ15が正転しているときの出力信号の波形のタイミングチャートである。図9Bは、搬送モータ15が反転しているときの出力信号の波形のタイミングチャートである。   FIGS. 9A and 9B are timing charts showing waveforms of two output signals of the rotary encoder 134 when the transport motor 15 is rotating forward and when rotating reversely. FIG. 9A is a timing chart of the waveform of the output signal when the transport motor 15 is rotating forward. FIG. 9B is a timing chart of the waveform of the output signal when the transport motor 15 is reversed.

図9A及び図9Bに示すように、搬送モータ15の正転時及び逆転時のいずれの場合も、パルスENC−AとパルスENC−Bとは位相が90度だけ異なっている。搬送モータ15が正転しているとき、すなわち、媒体Sが図7に示すように搬送方向に搬送されているときには、パルスENC−Aは、パルスENC−Bよりも90度だけ位相が進む。一方、搬送モータ15が反転しているとき、すなわち、媒体Sが搬送方向とは逆方向に搬送されているときには、パルスENC−Aは、パルスENC−Bよりも90度だけ位相が遅れる。各パルスの1周期Tは、搬送ローラ17Aがロータリ式エンコーダ符号板402のスリット406の間隔(例えば、1/1440インチ(1インチ=2.54cm))分だけ回転する時間に等しい。   As shown in FIGS. 9A and 9B, the phase of the pulse ENC-A and the pulse ENC-B differ by 90 degrees in both cases of the forward rotation and the reverse rotation of the transport motor 15. When the transport motor 15 is rotating forward, that is, when the medium S is transported in the transport direction as shown in FIG. 7, the phase of the pulse ENC-A is advanced by 90 degrees relative to the pulse ENC-B. On the other hand, when the transport motor 15 is reversed, that is, when the medium S is transported in the direction opposite to the transport direction, the phase of the pulse ENC-A is delayed by 90 degrees from the pulse ENC-B. One period T of each pulse is equal to a time during which the transport roller 17A rotates by an interval (for example, 1/1440 inch (1 inch = 2.54 cm)) of the slit 406 of the rotary encoder code plate 402.

そして、ロータリ式エンコーダ134の出力パルスENC−A、ENC−Bの各々の立ち上がりエッジ、立ち上がりエッジがシステムコントローラ126により検出され、その検出されたエッジの個数が計数されれば、システムコントローラ126は、その計数値に基づいて搬送モータ15の回転位置を演算することができる。この計数は、搬送モータ15が正転しているときは、1個のエッジが検出されると「+1」を加算し、逆転しているときは、1個のエッジが検出されると「−1」を加算する。パルスENC−A及びENC−Bの各々の周期は、ロータリ式エンコーダ符号板402の、あるスリット406が検出部404を通過してから、次のスリット406が検出部404を通過するまでの時間に等しく、かつパルスENC−AとパルスENC−Bとは位相が90度だけ異なっている。このため、上記計数のカウント値「1」はロータリ式エンコーダ符号板402のスリット406の間隔の1/4に対応する。これにより、上記計数値にスリット406の間隔の1/4を乗算すれば、その乗算値に基づいて、計数値が「0」に対応する回転位置からの搬送モータ15の搬送量を求めることができる。このとき、ロータリ式エンコーダ134の解像度はロータリ式エンコーダ符号板402のスリット406の間隔の1/4となる。   Then, when the rising edge and rising edge of each of the output pulses ENC-A and ENC-B of the rotary encoder 134 are detected by the system controller 126 and the number of detected edges is counted, the system controller 126 Based on the counted value, the rotational position of the transport motor 15 can be calculated. This count is incremented by “+1” when one edge is detected when the transport motor 15 is rotating forward, and “−” when one edge is detected when the conveyor motor 15 is rotating in reverse. Add 1 ”. The period of each of the pulses ENC-A and ENC-B is the time from when a slit 406 of the rotary encoder code plate 402 passes through the detector 404 until the next slit 406 passes through the detector 404. The pulse ENC-A and the pulse ENC-B are different in phase by 90 degrees. Therefore, the count value “1” corresponds to ¼ of the interval between the slits 406 of the rotary encoder code plate 402. Thus, if the count value is multiplied by 1/4 of the interval of the slits 406, the transport amount of the transport motor 15 from the rotational position corresponding to the count value “0” can be obtained based on the multiplication value. it can. At this time, the resolution of the rotary encoder 134 is ¼ of the interval between the slits 406 of the rotary encoder code plate 402.

<搬送制御部の構成>
図10は、搬送制御部130の回路構成の一例を示したブロック構成図である。この搬送制御部130は、同図に示すように、位置演算部431と、減算器432と、ゲイン433と、速度演算部434と、減算器435と、比例要素436Aと、積分要素436Bと、微分要素436Cと、加算器437と、PWM回路438と、加速制御部439Aと、タイマ439Bとを有する。
<Configuration of transport control unit>
FIG. 10 is a block configuration diagram illustrating an example of a circuit configuration of the transport control unit 130. As shown in the figure, the transport control unit 130 includes a position calculation unit 431, a subtractor 432, a gain 433, a speed calculation unit 434, a subtractor 435, a proportional element 436A, an integration element 436B, A differential element 436C, an adder 437, a PWM circuit 438, an acceleration control unit 439A, and a timer 439B are included.

位置演算部431は、ロータリ式エンコーダ134の出力パルスのエッジを検出し、その個数をカウントし、このカウント値に基づき搬送モータ15の回転位置を演算する。位置演算部431は、2つのパルス信号の比較処理から搬送モータ15の正転・逆転を認知し、1個のエッジが検出された時に正転・逆転に応じてインクリメント・デクリメントするように計数処理する。
減算器432は、コントローラ126から送られてくる目標位置と、位置演算部431により検出された検出位置との位置偏差を演算する。ゲイン433は、減算器432から出力される位置偏差にゲインKpを乗算し、目標速度を出力する。ゲインKpは、位置偏差に応じて決定される。なお、このゲインKpの値と位置偏差との関係を示すテーブルは、メインメモリ127に格納されている。
The position calculation unit 431 detects the edge of the output pulse of the rotary encoder 134, counts the number thereof, and calculates the rotational position of the transport motor 15 based on this count value. The position calculation unit 431 recognizes the normal rotation / reverse rotation of the transport motor 15 from the comparison processing of the two pulse signals, and counts so as to be incremented / decremented according to the normal rotation / reverse rotation when one edge is detected. To do.
The subtractor 432 calculates a position deviation between the target position sent from the controller 126 and the detection position detected by the position calculation unit 431. The gain 433 multiplies the position deviation output from the subtractor 432 by the gain Kp, and outputs a target speed. The gain Kp is determined according to the position deviation. Note that a table indicating the relationship between the value of the gain Kp and the position deviation is stored in the main memory 127.

速度演算部434は、ロータリ式エンコーダ134の出力パルスに基づいて、搬送モータ15の回転速度を演算する。すなわち、速度演算部434は、ロータリ式エンコーダ134の出力パルスのパルス周期を計測し、このパルス周期に基づいて搬送モータ15の回転速度を演算する。
減算器435は、ゲイン433から出力される目標速度と、速度演算部434により検出された検出速度との速度偏差を演算する。
The speed calculation unit 434 calculates the rotation speed of the transport motor 15 based on the output pulse of the rotary encoder 134. That is, the speed calculation unit 434 measures the pulse period of the output pulse of the rotary encoder 134 and calculates the rotation speed of the transport motor 15 based on this pulse period.
The subtractor 435 calculates a speed deviation between the target speed output from the gain 433 and the detected speed detected by the speed calculator 434.

比例要素436Aは、速度偏差に定数Gpを乗算し、比例成分を出力する。積分要素436Bは、速度偏差に定数Giを乗算したものを積算し、積分成分を出力する。微分要素436Cは、現在の速度偏差と、1つ前の速度偏差との差に定数Gdを乗算し、微分成分を出力する。比例要素436A、積分要素436B及び微分要素436Cの演算は、ロータリ式エンコーダ134の出力パルスの1周期毎に行われる。
比例要素436A、積分要素436B及び微分要素436Cから出力される信号値は、それぞれの演算結果に応じたデューティDXを示す。ここで、デューティDXは、例えばデューティパーセントが(100×DX/2000)%であることを示す。この場合、DX=2000であれば、デューティ100%を示し、DX=1000であれば、デューティ50%であることを示す。
The proportional element 436A multiplies the speed deviation by a constant Gp and outputs a proportional component. The integration element 436B integrates the speed deviation multiplied by the constant Gi and outputs an integration component. The differential element 436C multiplies the difference between the current speed deviation and the previous speed deviation by a constant Gd, and outputs a differential component. The calculation of the proportional element 436A, the integral element 436B, and the differential element 436C is performed for each cycle of the output pulse of the rotary encoder 134.
The signal values output from the proportional element 436A, the integral element 436B, and the derivative element 436C indicate the duty DX corresponding to the respective calculation results. Here, the duty DX indicates that the duty percentage is (100 × DX / 2000)%, for example. In this case, if DX = 2000, the duty is 100%, and if DX = 1000, the duty is 50%.

加算器437は、比例要素436Aの出力と、積分要素436Bの出力と、微分要素436Cの出力とを加算する。この加算結果は、デューティ信号として、PWM回路438に送られる。PWM回路438は、加算器437の加算結果に応じた指令信号を生成する。ドライバ440は、この指令信号に基づいて搬送モータ15を駆動する。ドライバ440は、例えば複数個のトランジスタを備えており、PWM回路438からの指令信号に基づいて、トランジスタをオン・オフさせることで、搬送モータ15に電圧を印加する。   The adder 437 adds the output of the proportional element 436A, the output of the integral element 436B, and the output of the derivative element 436C. The addition result is sent to the PWM circuit 438 as a duty signal. The PWM circuit 438 generates a command signal corresponding to the addition result of the adder 437. The driver 440 drives the carry motor 15 based on this command signal. The driver 440 includes, for example, a plurality of transistors, and applies a voltage to the transport motor 15 by turning on and off the transistors based on a command signal from the PWM circuit 438.

また、加速制御部439A及びタイマ439Bは、搬送モータ15の加速制御時に用いられる。タイマ439Bは、コントローラ126から送られてくるクロック信号に基づいて、所定時間毎にタイマ割込信号を発生する。加速制御部439Aは、タイマ割込信号を受ける毎に所定のデューティDXPを積算し、積算結果としてデューティ信号をPWM回路438に出力する。   Further, the acceleration control unit 439A and the timer 439B are used during the acceleration control of the carry motor 15. The timer 439B generates a timer interrupt signal every predetermined time based on the clock signal sent from the controller 126. The acceleration control unit 439A integrates a predetermined duty DXP every time it receives a timer interrupt signal, and outputs a duty signal to the PWM circuit 438 as an integration result.

搬送モータ15を加速駆動するとき、PWM回路438は、加速制御部439Aから出力されるデューティ信号に基づいて、指令信号を搬送モータ15に出力し、搬送モータ15を制御する。搬送モータ15を定速駆動するとき、及び、搬送モータ15を減速するとき、PWM回路438は、加算器437から出力されるデューティ信号に基づいて、指令信号を搬送モータ15に出力し、搬送モータ15をPID制御する。   When the conveyance motor 15 is accelerated, the PWM circuit 438 outputs a command signal to the conveyance motor 15 based on the duty signal output from the acceleration control unit 439A, and controls the conveyance motor 15. When the conveyance motor 15 is driven at a constant speed and when the conveyance motor 15 is decelerated, the PWM circuit 438 outputs a command signal to the conveyance motor 15 based on the duty signal output from the adder 437, and the conveyance motor 15 15 is PID controlled.

<モータの駆動方法>
図11Aは、PWM回路438に入力されるデューティ信号の時間変化のグラフである。図11Bは、搬送モータ15の速度変化のグラフである。以下、これらの図を用いて、搬送モータ15の駆動について説明する。
<Motor drive method>
FIG. 11A is a graph of the time change of the duty signal input to the PWM circuit 438. FIG. 11B is a graph of the speed change of the transport motor 15. Hereinafter, the driving of the transport motor 15 will be described with reference to these drawings.

搬送モータ15が停止している時に、搬送モータ15を起動させる起動指令信号がコントローラ126から搬送制御部130へ送られると、信号値がDX0である起動初期デューティ信号が加速制御部439AからPWM回路438へ送られる。この起動初期ディユーティ信号は、起動指令信号とともにコントローラ126から加速制御部439Aへ送られてくる。そして、この起動初期ディユーティ信号は、PWM回路438によって、信号値DX0に応じた指令信号に変換されて、搬送モータ15の起動が開始される。   When the start command signal for starting the transport motor 15 is sent from the controller 126 to the transport control unit 130 while the transport motor 15 is stopped, the start initial duty signal whose signal value is DX0 is sent from the acceleration control unit 439A to the PWM circuit. 438. This startup initial duty signal is sent from the controller 126 to the acceleration control unit 439A together with the startup command signal. The start initial duty signal is converted into a command signal corresponding to the signal value DX0 by the PWM circuit 438, and the start of the transport motor 15 is started.

搬送制御部130が起動指令信号を受信した後、所定の時間ごとにタイマ439Bからタイマ割込信号が発生される。加速制御部439Aは、タイマ割込信号を受信する毎に、起動初期デューティ信号の信号値DX0に所定のデューティDXPを積算し、積算されたデューティを信号値とするデューティ信号をPWM回路438に送る。このデューティ信号は、PWM回路438によって、その信号値に応じた指令信号に変換されて、搬送モータ15の回転速度は上昇する。このため加速制御部439AからPWM回路438に送られるデューティ信号の値は、階段状に上がっていく。   After the transport control unit 130 receives the start command signal, a timer interrupt signal is generated from the timer 439B every predetermined time. Every time the acceleration control unit 439A receives a timer interrupt signal, the acceleration control unit 439A accumulates a predetermined duty DXP on the signal value DX0 of the startup initial duty signal, and sends a duty signal having the accumulated duty as a signal value to the PWM circuit 438. . The duty signal is converted into a command signal corresponding to the signal value by the PWM circuit 438, and the rotation speed of the carry motor 15 increases. For this reason, the value of the duty signal sent from the acceleration control unit 439A to the PWM circuit 438 increases stepwise.

加速制御部439Aにおけるデューティの積算処理は、積算されたデューティが所定のデューティDXSになるまで行われる。時刻t1において積算されたデューティが所定値DXSとなると、加速制御部439Aは積算処理を停止し、以後PWM回路438に一定のデューティDXSを信号値とするデューティ信号を送る。   The duty integration process in the acceleration control unit 439A is performed until the integrated duty reaches a predetermined duty DXS. When the duty integrated at time t1 reaches a predetermined value DXS, the acceleration control unit 439A stops the integration process, and thereafter sends a duty signal having a constant duty DXS as a signal value to the PWM circuit 438.

そして、搬送モータ15が所定の回転速度になると(時間t2参照)、加速制御部439Aは、PWM回路438へ出力するデューティ信号を減少させて、搬送モータ15に印加される電圧のデューティパーセントを減少させるよう制御する。このとき、搬送モータ15の回転速度は更に上昇する。そして、時間t3になると、PWM回路438は加算器437の出力を選択し、PID制御が行われる。PID制御が開始される時点(t3)において、積分要素436Bの積分値が適当な値に設定されており、積分要素436Bの出力値が所定の値になる。   When the transport motor 15 reaches a predetermined rotational speed (see time t2), the acceleration control unit 439A decreases the duty signal output to the PWM circuit 438 and decreases the duty percentage of the voltage applied to the transport motor 15. To control. At this time, the rotation speed of the transport motor 15 further increases. At time t3, the PWM circuit 438 selects the output of the adder 437, and PID control is performed. At the time (t3) when the PID control is started, the integral value of the integral element 436B is set to an appropriate value, and the output value of the integral element 436B becomes a predetermined value.

PID制御が開始されると、搬送制御部130は、目標回転位置と、ロータリ式エンコーダ134の出力から得られる実際の回転位置との位置偏差にゲインKpを乗算して目標回転速度を算出する。そして、搬送制御部130は、この目標回転速度と、ロータリ式エンコーダ134の出力から得られる実際の回転速度との速度偏差に基づいて、比例要素436A、積分要素436B及び微分要素436Cを用いて比例成分、積分成分及び微分成分の演算を行い、これらの演算結果の和に基づいて、搬送モータ15の制御を行う。尚、上記比例、積分及び微分演算は、例えば、ロータリ式エンコーダ134の出力パルスENC−Aの立ち上がりエッジに同期して行われる。これにより、搬送モータ15の回転速度は、時刻t4において、所望の回転速度となるように制御される。   When the PID control is started, the conveyance control unit 130 calculates the target rotational speed by multiplying the position deviation between the target rotational position and the actual rotational position obtained from the output of the rotary encoder 134 by the gain Kp. Then, the conveyance control unit 130 uses the proportional element 436A, the integral element 436B, and the differential element 436C based on the speed deviation between the target rotational speed and the actual rotational speed obtained from the output of the rotary encoder 134. The component, integral component, and derivative component are calculated, and the transport motor 15 is controlled based on the sum of these calculation results. The proportional, integral, and differential calculations are performed in synchronization with the rising edge of the output pulse ENC-A of the rotary encoder 134, for example. Thereby, the rotation speed of the conveyance motor 15 is controlled to be a desired rotation speed at time t4.

搬送モータ15が目標回転位置に近づくと(時刻t5)、位置偏差が小さくなるから目標回転速度も小さくなる。このため、速度偏差、即ち減算器435の出力が負になり、搬送モータ15は減速し、時刻t6に停止する。   When the transport motor 15 approaches the target rotation position (time t5), the position deviation decreases, so the target rotation speed also decreases. For this reason, the speed deviation, that is, the output of the subtractor 435 becomes negative, the transport motor 15 decelerates, and stops at time t6.

===キャリッジモータの駆動制御===
<キャリッジモータ制御部の機能>
キャリッジモータ42の駆動制御は、キャリッジモータ制御部128により行う。キャリッジモータ制御部128は、コントローラ126からのキャリッジ移動指令に基づいて、所定の駆動量にてキャリッジモータ42を駆動する。キャリッジモータ42は、指令された所定の駆動量分だけ駆動される。キャリッジ41の移動量は、キャリッジモータ42の駆動量に応じて定まる。本実施形態では、キャリッジ41の移動量の検出はリニア式エンコーダ51により行われている。キャリッジモータ制御部128は、リニア式エンコーダ51からの出力をモニタしながら、キャリッジモータ42を指示された所定の駆動量分だけ駆動して、キャリッジ41を所定の距離移動させる。
=== Carriage motor drive control ===
<Function of carriage motor control unit>
Driving control of the carriage motor 42 is performed by the carriage motor control unit 128. The carriage motor control unit 128 drives the carriage motor 42 by a predetermined driving amount based on a carriage movement command from the controller 126. The carriage motor 42 is driven by the commanded predetermined drive amount. The moving amount of the carriage 41 is determined according to the driving amount of the carriage motor 42. In the present embodiment, the movement amount of the carriage 41 is detected by the linear encoder 51. While monitoring the output from the linear encoder 51, the carriage motor control unit 128 drives the carriage motor 42 by an instructed predetermined driving amount to move the carriage 41 by a predetermined distance.

なお、リニア式エンコーダ51は、ロータリ式エンコーダ134と同様に、リニア式エンコーダ符号板511と、検出部(図示外)とを備えている。リニア式エンコーダ符号板511は、図2に示すように、インクジェットプリンタ1内部のフレーム側に取り付けられている。一方、検出部(図示外)は、キャリッジ41側に取り付けられている。検出部は、図8および図9で説明したようなロータリ式エンコーダ134の検出部404の構成とほぼ等しい構成を備えている。つまり、この検出部は、キャリッジモータ42の回転方向、即ちキャリッジ41の移動方向に応じて異なる2つのパルス信号を出力する。これらリニア式エンコーダ符号板511と検出部(図示外)とにより、キャリッジ41の現在位置を検出することができる。   Similar to the rotary encoder 134, the linear encoder 51 includes a linear encoder code plate 511 and a detector (not shown). As shown in FIG. 2, the linear encoder code plate 511 is attached to the frame side inside the inkjet printer 1. On the other hand, the detection unit (not shown) is attached to the carriage 41 side. The detection unit has a configuration substantially equal to the configuration of the detection unit 404 of the rotary encoder 134 as described with reference to FIGS. 8 and 9. That is, the detection unit outputs two different pulse signals according to the rotation direction of the carriage motor 42, that is, the movement direction of the carriage 41. The linear encoder code plate 511 and the detection unit (not shown) can detect the current position of the carriage 41.

<キャリッジモータ制御部の構成>
キャリッジモータ制御部128の構成について詳しく説明する。図12は、キャリッジモータ制御部128の回路構成の一例を示したブロック構成図である。このキャリッジモータ制御部128は、搬送制御部とほぼ等しい構成を有している。すなわち、キャリッジモータ制御部128は、同図に示すように、位置演算部331と、減算器332と、ゲイン333と、速度演算部334と、減算器335と、比例要素336Aと、積分要素336Bと、微分要素336Cと、加算器337と、PWM回路338と、加速制御部339Aと、タイマ339Bとを有する。
<Configuration of carriage motor control unit>
The configuration of the carriage motor control unit 128 will be described in detail. FIG. 12 is a block configuration diagram illustrating an example of a circuit configuration of the carriage motor control unit 128. The carriage motor control unit 128 has substantially the same configuration as the conveyance control unit. That is, as shown in the figure, the carriage motor control unit 128 includes a position calculation unit 331, a subtracter 332, a gain 333, a speed calculation unit 334, a subtractor 335, a proportional element 336A, and an integration element 336B. A differential element 336C, an adder 337, a PWM circuit 338, an acceleration control unit 339A, and a timer 339B.

位置演算部331は、リニア式エンコーダ51の出力パルスのエッジを検出し、その個数をカウントし、このカウント値に基づきキャリッジモータ42の回転位置を演算する。位置演算部331は、リニア式エンコーダ51からの2つのパルス信号の比較処理からキャリッジモータ42の正転・逆転を認知し、1個のエッジが検出された時に正転・逆転に応じてインクリメント・デクリメントするように計数処理する。
減算器332は、コントローラ126から送られてくる目標位置と、位置演算部331により検出された検出位置との位置偏差を演算する。ゲイン333は、減算器332から出力される位置偏差にゲインKpを乗算し、目標速度を出力する。ゲインKpは、位置偏差に応じて決定される。
The position calculation unit 331 detects the edge of the output pulse of the linear encoder 51, counts the number thereof, and calculates the rotational position of the carriage motor 42 based on the count value. The position calculation unit 331 recognizes normal rotation / reverse rotation of the carriage motor 42 from the comparison processing of the two pulse signals from the linear encoder 51, and increments according to normal rotation / reverse rotation when one edge is detected. Counting process to decrement.
The subtractor 332 calculates a position deviation between the target position sent from the controller 126 and the detected position detected by the position calculation unit 331. The gain 333 multiplies the position deviation output from the subtracter 332 by the gain Kp, and outputs a target speed. The gain Kp is determined according to the position deviation.

速度演算部334は、リニア式エンコーダ51の出力パルスのパルス周期を計測し、このパルス周期に基づいてキャリッジモータ42の回転速度を演算する。
減算器335は、ゲイン333から出力される目標速度と、速度演算部334により検出された検出速度との速度偏差を演算する。
The speed calculation unit 334 measures the pulse period of the output pulse of the linear encoder 51 and calculates the rotation speed of the carriage motor 42 based on this pulse period.
The subtractor 335 calculates a speed deviation between the target speed output from the gain 333 and the detected speed detected by the speed calculator 334.

比例要素336Aは、速度偏差に定数Gpを乗算し、比例成分を出力する。積分要素336Bは、速度偏差に定数Giを乗算したものを積算し、積分成分を出力する。微分要素336Cは、現在の速度偏差と、1つ前の速度偏差との差に定数Gdを乗算し、微分成分を出力する。比例要素336A、積分要素336B及び微分要素336Cの演算は、リニア式エンコーダ51の出力パルスの1周期毎に行われる。
比例要素336A、積分要素336B及び微分要素336Cから出力される信号値は、それぞれの演算結果に応じたデューティDXを示す。
The proportional element 336A multiplies the speed deviation by a constant Gp and outputs a proportional component. The integration element 336B integrates the speed deviation multiplied by the constant Gi and outputs an integration component. The differential element 336C multiplies the difference between the current speed deviation and the previous speed deviation by a constant Gd, and outputs a differential component. The calculation of the proportional element 336A, the integral element 336B, and the differential element 336C is performed for each cycle of the output pulse of the linear encoder 51.
The signal values output from the proportional element 336A, the integral element 336B, and the differential element 336C indicate the duty DX corresponding to the respective calculation results.

加算器337は、比例要素336Aの出力と、積分要素336Bの出力と、微分要素336Cの出力とを加算する。この加算結果は、デューティ信号として、PWM回路338に送られる。PWM回路338は、加算器337の加算結果に応じた指令信号を生成する。ドライバ340は、この指令信号に基づいてキャリッジモータ42を駆動する。ドライバ340は、例えば複数個のトランジスタを備えており、PWM回路338からの指令信号に基づいて、トランジスタをオン・オフさせることで、キャリッジモータ42に電圧を印加する。   The adder 337 adds the output of the proportional element 336A, the output of the integral element 336B, and the output of the derivative element 336C. The addition result is sent to the PWM circuit 338 as a duty signal. The PWM circuit 338 generates a command signal corresponding to the addition result of the adder 337. The driver 340 drives the carriage motor 42 based on this command signal. The driver 340 includes a plurality of transistors, for example, and applies a voltage to the carriage motor 42 by turning on and off the transistors based on a command signal from the PWM circuit 338.

また、加速制御部339A及びタイマ339Bは、キャリッジモータ42の加速制御時に用いられる。タイマ339Bは、コントローラ126から送られてくるクロック信号に基づいて、所定時間毎にタイマ割込信号を発生する。加速制御部339Aは、タイマ割込信号を受ける毎に所定のデューティDXPを積算し、積算結果としてデューティ信号をPWM回路338に出力する。   The acceleration control unit 339A and the timer 339B are used during acceleration control of the carriage motor 42. The timer 339B generates a timer interrupt signal every predetermined time based on the clock signal sent from the controller 126. The acceleration control unit 339A integrates a predetermined duty DXP every time a timer interrupt signal is received, and outputs a duty signal to the PWM circuit 338 as an integration result.

キャリッジモータ42を加速駆動するとき、PWM回路338は、加速制御部339Aから出力されるデューティ信号に基づいて、指令信号をキャリッジモータ42に出力し、キャリッジモータ42を制御する。キャリッジモータ42を定速駆動するとき、及び、キャリッジモータ42を減速するとき、PWM回路338は、加算器337から出力されるデューティ信号に基づいて、指令信号をキャリッジモータ42に出力し、キャリッジモータ42をPID制御する。   When the carriage motor 42 is accelerated, the PWM circuit 338 outputs a command signal to the carriage motor 42 based on the duty signal output from the acceleration control unit 339A to control the carriage motor 42. When the carriage motor 42 is driven at a constant speed and when the carriage motor 42 is decelerated, the PWM circuit 338 outputs a command signal to the carriage motor 42 based on the duty signal output from the adder 337, and the carriage motor 42 42 is PID controlled.

ここで、PWM回路338に入力されるデューティ信号は、搬送制御部130の場合と同様、例えば、図11Aに示すような信号となる。このときのキャリッジモータ42の速度変化は、搬送制御部130の場合と同様、図11Bに示すようになる。キャリッジモータ制御部128は、搬送制御部130が搬送モータ15の駆動を制御する場合と同じように、キャリッジモータ42の駆動を制御する。   Here, the duty signal input to the PWM circuit 338 is, for example, a signal as shown in FIG. The speed change of the carriage motor 42 at this time is as shown in FIG. 11B as in the case of the conveyance control unit 130. The carriage motor control unit 128 controls the driving of the carriage motor 42 in the same manner as when the conveyance control unit 130 controls the driving of the conveyance motor 15.

===モータの過熱判定===
このような搬送モータ15が連続して駆動された場合に、搬送モータ15が発熱して温度が上昇し、高温状態になることがある。このように搬送モータ15が高温状態になると、例えば、巻線が焼き切れるなどの不具合が生じることがある。そこで、本実施形態のインクジェットプリンタ1にあっては、このような不具合が生じるのを防ぐために、搬送モータ15が高温状態になる前に、過熱状態にあるかどうかを判定する過熱判定装置を備えている。なお、本実施形態では、搬送モータ15が本発明の「判定対象のモータ」に相当する。
=== Motor overheat judgment ===
When such a conveyance motor 15 is continuously driven, the conveyance motor 15 generates heat and the temperature rises, which may result in a high temperature state. Thus, when the conveyance motor 15 is in a high temperature state, for example, a defect such as the winding being burned out may occur. Therefore, the ink jet printer 1 of the present embodiment includes an overheat determination device that determines whether or not the conveyance motor 15 is in an overheated state before the conveyance motor 15 is in a high temperature state in order to prevent such a problem from occurring. ing. In the present embodiment, the conveyance motor 15 corresponds to the “determination target motor” of the present invention.

<過熱判定の概要>
この過熱判定装置は、搬送モータ15の駆動量を逐次積算して、その積算値が所定値に達したか否かをチェックすることで、搬送モータ15が過熱状態にあるか否か判定する。この過熱判定装置により搬送モータ15が過熱状態にあると判定されたときには、その搬送モータ15に対して発熱制限制御を実行する。この発熱制限制御とは、搬送モータ15に対して必要に応じて、搬送モータ15が放熱するための冷却時間を持たせる制御のことである。具体的には、搬送モータ15が1回駆動される毎に、余計に待機時間を持たせる。これにより、搬送モータ15が次回駆動されるまでの間に、搬送モータ15の温度を若干下げることができ、次回駆動されても温度が上昇し過ぎるのを防ぐことができる。このことから、このような発熱制限制御を実行することによって、搬送モータ15の温度上昇を抑制しつつ、印刷処理を続行することができる。
<Overheating judgment overview>
This overheat determination device sequentially accumulates the drive amount of the conveyance motor 15 and checks whether or not the accumulated value has reached a predetermined value, thereby determining whether or not the conveyance motor 15 is in an overheated state. When it is determined by the overheat determination device that the transport motor 15 is in an overheated state, heat generation restriction control is executed on the transport motor 15. The heat generation restriction control is control for allowing the conveyance motor 15 to have a cooling time for radiating heat as necessary. Specifically, an extra standby time is provided each time the transport motor 15 is driven once. Thereby, the temperature of the conveyance motor 15 can be slightly lowered until the conveyance motor 15 is driven next time, and it is possible to prevent the temperature from being excessively increased even if the conveyance motor 15 is driven next time. Therefore, by executing such heat generation restriction control, it is possible to continue the printing process while suppressing the temperature increase of the carry motor 15.

本実施形態のインクジェットプリンタ1では、搬送モータ15の駆動量に関する情報の取得と、搬送モータ15の駆動量を逐次積算して積算値を求める演算と、その求められた積算値が所定値に達したか否かのチェックとをコントローラ126により行う。すなわち、本実施形態のコントローラ126は、本発明の情報取得部、演算部および判定部に相当する。   In the inkjet printer 1 of the present embodiment, acquisition of information related to the drive amount of the carry motor 15, calculation for sequentially integrating the drive amount of the carry motor 15 to obtain an integrated value, and the obtained integrated value reaches a predetermined value. The controller 126 checks whether or not it has been performed. That is, the controller 126 of the present embodiment corresponds to the information acquisition unit, calculation unit, and determination unit of the present invention.

<実際の過熱判定>
図13は、実際に搬送モータ15が駆動されたときの制御状態の一例を簡単に説明したものである。インクジェットプリンタ1が印刷処理を開始すると、媒体Sを搬送するために搬送モータ15が駆動される。搬送モータ15が駆動されると、その駆動毎にその駆動量(ここでは、搬送モータ15の駆動量をstep数(ステップ数)という単位で表わす。以下、「PFstep」ともいう)が逐次積算される。コントローラ126は、搬送制御部130に向けて送信した搬送指令にて指令した搬送モータ15の搬送量を逐次積算する。つまり、コントローラ126は、搬送制御部130に向けて搬送量として200step分の搬送指令を送信した場合には、200stepを加算する。さらに、コントローラ126が、搬送制御部130に向けて駆動量として300step分の搬送指令を送信した場合には、既存の積算値(現在は、「200」)300step分を加算する。これにより、積算値は、「500」となる。このようにしてコントローラ126は、搬送制御部130に指令した搬送モータ15の駆動量を逐次積算する。なお、本実施形態では、コントローラ126により算出される積算値を「Psum」という。
<Actual overheating judgment>
FIG. 13 briefly describes an example of a control state when the conveyance motor 15 is actually driven. When the ink jet printer 1 starts the printing process, the transport motor 15 is driven to transport the medium S. When the carry motor 15 is driven, the drive amount (here, the drive amount of the carry motor 15 is expressed in units of number of steps (number of steps), hereinafter also referred to as “PFstep”) is sequentially accumulated. The The controller 126 sequentially accumulates the conveyance amount of the conveyance motor 15 instructed by the conveyance command transmitted to the conveyance control unit 130. That is, when the controller 126 transmits a conveyance command for 200 steps as the conveyance amount to the conveyance control unit 130, the controller 126 adds 200 steps. Further, when the controller 126 transmits a conveyance command for 300 steps as the driving amount to the conveyance control unit 130, the existing integrated value (currently “200”) for 300 steps is added. As a result, the integrated value becomes “500”. In this way, the controller 126 sequentially accumulates the drive amount of the transport motor 15 that is instructed to the transport control unit 130. In the present embodiment, the integrated value calculated by the controller 126 is referred to as “Psum”.

図14は、コントローラ126による搬送モータ15の駆動量PFstep(駆動ステップ数)の積算の一例を示したものである。同図に示すように、搬送モータ15が「200step」駆動した後、次に「150step」駆動すると、積算値Psumは「350」となる。さらに搬送モータ15が「250step」駆動すると、積算値Psumは「600」となる。次に搬送モータ15が「100step」駆動すると、積算値Psumは「700」となる。そして、搬送モータ15が「50step」駆動すると、積算値Psumは「750」となる。このように搬送モータ15が駆動する都度、その駆動量PFstepが積算値Psumに逐次積算される。   FIG. 14 shows an example of integration of the driving amount PFstep (number of driving steps) of the transport motor 15 by the controller 126. As shown in the figure, the integrated value Psum becomes “350” when the transport motor 15 is driven “200 steps” and then “150 steps” is driven next. Further, when the conveyance motor 15 is driven by “250 steps”, the integrated value Psum becomes “600”. Next, when the transport motor 15 is driven by “100 steps”, the integrated value Psum becomes “700”. When the conveyance motor 15 is driven by “50 steps”, the integrated value Psum becomes “750”. In this way, each time the transport motor 15 is driven, the drive amount PFstep is sequentially integrated to the integrated value Psum.

印刷処理が進むと、コントローラ126により算出される積算値Psumが徐々に増加する。ここで、時刻t1において、積算値Psumが所定値(ここでは、「Pduty」という)に達すると、コントローラ126は、搬送モータ15が過熱状態にあると判定して、搬送モータ15に対して搬送制御部130を通じて発熱制限制御を開始する。この発熱制限制御は、前述したように、搬送モータ15が1回駆動される毎に、必要に応じて余分に待機時間を持たせる制御のことである。これにより、搬送モータ15の温度上昇を抑制しつつ、搬送モータ15を継続して駆動する。   As the printing process proceeds, the integrated value Psum calculated by the controller 126 gradually increases. Here, when the integrated value Psum reaches a predetermined value (herein referred to as “Pduty”) at time t1, the controller 126 determines that the transport motor 15 is in an overheated state and transports the transport motor 15 to the transport motor 15. Heat generation restriction control is started through the control unit 130. As described above, this heat generation restriction control is a control for providing an extra standby time as needed every time the transport motor 15 is driven once. Thereby, the conveyance motor 15 is continuously driven while suppressing the temperature rise of the conveyance motor 15.

図15は、搬送モータ15が発熱制限制御された場合と、発熱制限制御されていない通常時の場合の搬送モータ15の動作状況を説明したものである。図15Aは、発熱制限制御されていない通常時の場合を示し、図15Bは、発熱制限制御された場合を示す。   FIG. 15 illustrates an operation state of the transport motor 15 when the transport motor 15 is subjected to the heat generation restriction control and when the transport motor 15 is in the normal time when the heat generation restriction control is not performed. FIG. 15A shows a normal case where the heat generation restriction control is not performed, and FIG. 15B shows a case where the heat generation restriction control is performed.

発熱制限制御されていない場合には、図15Aに示すように、搬送モータ15は、印刷処理の際に、キャリッジモータ42と交互に駆動される。つまり、搬送モータ15が駆動されているときには、キャリッジモータ42の駆動が停止され、また、搬送モータ15の駆動が停止されているときには、キャリッジモータ42が駆動される。キャリッジモータ42の駆動が終了したときには、直ちに搬送モータ15の駆動が開始される。   When the heat generation restriction control is not performed, the conveyance motor 15 is driven alternately with the carriage motor 42 during the printing process, as shown in FIG. 15A. That is, when the transport motor 15 is driven, the drive of the carriage motor 42 is stopped, and when the transport motor 15 is stopped, the carriage motor 42 is driven. When the driving of the carriage motor 42 is completed, the driving of the transport motor 15 is immediately started.

一方、発熱制限制御された場合には、図15Bに示すように、搬送モータ15は、キャリッジモータ42の駆動が終了した場合であっても、直ちに搬送モータ15の駆動が開始されない。つまり、搬送モータ15は、キャリッジモータ42の駆動期間が終了した後も、しばらくの間、駆動が見送られ、所定の待機時間が経過してから、駆動が再開される。これは、過熱状態に陥った搬送モータ15に十分な冷却時間を与えるためで、搬送モータ15が次回駆動時に、温度が上昇し過ぎないようにするための措置である。これにより、搬送モータ15の温度上昇を抑制しつつ搬送モータ15を駆動して、印刷処理を続行することができる。このようにして搬送モータ15の温度上昇を抑制しながら、印刷処理を完遂する。   On the other hand, when the heat generation restriction control is performed, as shown in FIG. 15B, the transport motor 15 does not immediately start driving the transport motor 15 even when the drive of the carriage motor 42 is completed. That is, the conveyance motor 15 is not driven for a while after the drive period of the carriage motor 42 is finished, and is resumed after a predetermined waiting time has elapsed. This is a measure for preventing the temperature of the transport motor 15 from excessively increasing when the transport motor 15 is driven next time, in order to give a sufficient cooling time to the transport motor 15 that has fallen into an overheated state. Thereby, the conveyance motor 15 can be driven while the temperature increase of the conveyance motor 15 is suppressed, and the printing process can be continued. In this way, the printing process is completed while suppressing the temperature rise of the transport motor 15.

そして、図13に示すように、時刻t2にて印刷処理が終了した後、しばらくの間、ユーザーから印刷命令がなく、印刷待機状態が続いた場合には、コントローラ126は、搬送モータ15の駆動量PFstepの積算値Psumを時間経過とともに徐々に減らす。ここでは、コントローラ126は、所定の時間Δtmが経過するごとに、積算値Psumを所定値ΔPmずつ減算する演算処理を実行する。このようにしてコントローラ126は、ユーザーから新たな印刷命令があるまでの間、積算値Psumを所定値ΔPmずつ徐々に減らす。   As shown in FIG. 13, after the printing process is completed at time t <b> 2, if there is no print command from the user for a while and the print standby state continues, the controller 126 drives the transport motor 15. The integrated value Psum of the amount PFstep is gradually reduced with time. Here, every time the predetermined time Δtm elapses, the controller 126 executes a calculation process of subtracting the integrated value Psum by the predetermined value ΔPm. In this way, the controller 126 gradually decreases the integrated value Psum by the predetermined value ΔPm until a new print command is issued from the user.

ここで、時刻t3にて、ユーザーからインクジェットプリンタ1の電源をOFFする命令があった場合には、コントローラ126は、電源をOFFする際に、そのときの積算値Psumをメインメモリ127等の適宜な記憶部に記憶する。そして、インクジェットプリンタ1の電源がOFFになっている間、積算値Psumを記憶して保持しておく。   Here, if the user gives a command to turn off the power of the inkjet printer 1 at time t3, the controller 126 sets the accumulated value Psum at that time in the main memory 127 or the like as appropriate when turning off the power. Stored in a storage unit. Then, the integrated value Psum is stored and held while the power of the inkjet printer 1 is OFF.

そして、ユーザーにより時刻t4にて、再びインクジェットプリンタ1の電源が入れられたときには、コントローラ126は、メインメモリ127等から記憶している積算値Psumを読み込む。そして、再度、印刷処理が開始されたときには、前述した場合と同様に、搬送モータ15の駆動量PFstepを、読み出した積算値Psumに逐次積算する。これにより、図13に示すように、搬送モータ15の駆動量PFstepの積算値Psumが再び徐々に増加し始める。そして、時刻t5にて再び、積算値Psumが所定値Pdutyに達すると、コントローラ126は、搬送モータ15に対して搬送制御部130を通じて発熱制限制御を開始し、搬送モータ15が1回駆動される毎に、必要に応じて余分に待機時間が設定される。これにより、搬送モータ15の温度上昇を抑制しつつ、搬送モータ15を継続して駆動する。   When the user turns on the ink jet printer 1 again at time t4, the controller 126 reads the accumulated value Psum stored from the main memory 127 or the like. When the printing process is started again, the driving amount PFstep of the transport motor 15 is sequentially integrated with the read integrated value Psum, as in the case described above. As a result, as shown in FIG. 13, the integrated value Psum of the drive amount PFstep of the transport motor 15 starts to gradually increase again. When the integrated value Psum reaches the predetermined value Pduty again at time t5, the controller 126 starts heat generation restriction control for the carry motor 15 through the carry control unit 130, and the carry motor 15 is driven once. Each time, an extra standby time is set as necessary. Thereby, the conveyance motor 15 is continuously driven while suppressing the temperature rise of the conveyance motor 15.

さらに、時刻t6にて印刷処理が終了し、その後、しばらくの間、ユーザーから印刷命令がなく待機状態が続くと、コントローラ126は、積算値Psumを時間経過とともに徐々に減らす。ここでも、前述した場合と同様に、所定の時間Δtmが経過するごとに、所定値ΔPmずつ積算値Psumが減らされる。   Furthermore, when the printing process is completed at time t6 and the standby state continues without a print command from the user for a while, the controller 126 gradually decreases the integrated value Psum with time. Here again, as in the case described above, the integrated value Psum is decreased by a predetermined value ΔPm every time the predetermined time Δtm elapses.

そして、時刻t7にて再びユーザーから印刷命令があり、印刷処理が開始されると、コントローラ126は、搬送モータ15の駆動量PFstepを積算値Psumに逐次積算し、積算値Psumが再度徐々に増加し始める。その後、時刻t8にて再び積算値Psumが所定値Pdutyに達すると、コントローラ126により、再び搬送モータ15に対して発熱制限制御が実施される。   When the user issues a print command again at time t7 and print processing is started, the controller 126 sequentially accumulates the driving amount PFstep of the carry motor 15 to the integrated value Psum, and the integrated value Psum gradually increases again. Begin to. Thereafter, when the integrated value Psum reaches the predetermined value Pduty again at time t8, the controller 126 performs the heat generation restriction control on the transport motor 15 again.

<コントローラの処理>
図16は、コントローラ126の積算処理手順を説明するフローチャートである。コントローラ126は、まずはじめに、積算値Psumに対して初期値をセットする(S202)。この初期値は、例えば、「ゼロ」であってもよく、また、メインメモリ127等に記憶された電源OFFの前の積算値Psumであっても良い。次に、コントローラ126は、搬送制御部130に向けて搬送指令を送る際に搬送モータ15の駆動量PFstepに関する情報を取得したかどうかチェックする(S204)。ここで、駆動量PFstepに関する情報を取得していない場合には、ステップS204へと戻り、再度、駆動量PFstepに関する情報を取得したかどうかチェックする(S204)。このチェックは、駆動量PFstepに関する情報を取得するまで行われる。
<Controller processing>
FIG. 16 is a flowchart for explaining the integration processing procedure of the controller 126. First, the controller 126 sets an initial value for the integrated value Psum (S202). This initial value may be, for example, “zero”, or may be the integrated value Psum before power-off stored in the main memory 127 or the like. Next, the controller 126 checks whether or not information related to the drive amount PFstep of the carry motor 15 has been acquired when sending a carry command to the carry control unit 130 (S204). Here, when the information regarding the drive amount PFstep has not been acquired, the process returns to step S204, and it is checked again whether the information regarding the drive amount PFstep has been acquired (S204). This check is performed until information on the drive amount PFstep is acquired.

搬送モータ15の駆動量PFstepに関する情報を取得した場合には、コントローラ126は、次にステップS206へと進み、取得した駆動量PFstepを積算値Psumに加算する(S206)。この加算処理を終了した後、次に、コントローラ126は、演算により得られた新たな積算値Psumが、過熱状態か否かの判定基準となる所定値Pdutyに到達したか否かをチェックする(S208)。ここで、新たな積算値Psumが、所定値Pdutyに到達していた場合には、コントローラ126は、搬送モータ15が過熱状態にあると判定して、搬送モータ15に対して搬送制御部130を通じて発熱制限制御を開始する(S210)。その後、コントローラ126は、積算処理を終了する。
一方、新たな積算値Psumが、所定値Pdutyに到達していなかった場合には、コントローラ126は、搬送モータ15が未だ過熱状態にはないと判定して、ステップS204へと戻り、再度、駆動量PFstepの取得を試みる(S204)。
If the information related to the drive amount PFstep of the transport motor 15 is acquired, the controller 126 then proceeds to step S206, and adds the acquired drive amount PFstep to the integrated value Psum (S206). After completing this addition process, the controller 126 then checks whether or not the new integrated value Psum obtained by the calculation has reached a predetermined value Pduty that is a criterion for determining whether or not the overheated state is present ( S208). Here, when the new integrated value Psum has reached the predetermined value Pduty, the controller 126 determines that the transport motor 15 is in an overheated state, and passes the transport control unit 130 to the transport motor 15. The heat generation restriction control is started (S210). Thereafter, the controller 126 ends the integration process.
On the other hand, if the new integrated value Psum has not reached the predetermined value Pduty, the controller 126 determines that the transport motor 15 is not yet overheated, returns to step S204, and drives again. An attempt is made to acquire the quantity PFstep (S204).

<所定値Pdutyの設定>
搬送モータ15が過熱状態にあるか否かの判断基準となる所定値Pdutyの設定方法について説明する。ここでは、実際に搬送モータ15を駆動した場合を想定したシミュレーションを実行して、そのシミュレーションの結果に基づき所定値Pdutyを決定する。このシミュレーションにおいては、判定対象となる搬送モータ15が実際に駆動された場合の発熱量を求める。ここでは、搬送モータ15が最も過酷な条件(ワースト条件)にて駆動された場合について調べる。この場合の搬送モータ15の発熱量から搬送モータ15の上昇温度を算出して、搬送モータ15を安全に使用できる限界の温度(以下、「制限温度」ともいう)に到達するまでの搬送モータ15の総駆動量を調査する。
<Setting of predetermined value Pduty>
A method for setting the predetermined value Pduty, which is a criterion for determining whether or not the transport motor 15 is in an overheated state, will be described. Here, a simulation assuming that the conveyance motor 15 is actually driven is executed, and the predetermined value Pduty is determined based on the result of the simulation. In this simulation, the amount of heat generated when the conveyance motor 15 to be determined is actually driven is obtained. Here, the case where the conveyance motor 15 is driven under the most severe condition (worst condition) is examined. The rising temperature of the conveyance motor 15 is calculated from the amount of heat generated by the conveyance motor 15 in this case, and the conveyance motor 15 until reaching the limit temperature at which the conveyance motor 15 can be safely used (hereinafter also referred to as “limit temperature”) Investigate the total amount of driving.

搬送モータ15の発熱量は、搬送モータ15への負荷の大きさや、搬送モータ15に流れる実効電流、搬送モータ15の巻線の温度特性などを考慮して算出する。また、最も過酷な条件としては、キャリッジモータ42の駆動時間がきわめて短い場合、例えば、縦線を印刷する場合等のキャリッジ移動方向への印刷幅が非常に短い場合などを想定して設定する。搬送モータ15の総駆動量は、搬送モータ15の温度が制限温度に達するまでにかかる搬送モータ15の駆動時間を求め、その駆動時間から算出する。本実施形態では、ここで算出された搬送モータ15の総駆動量のことを所定値Pdutyと呼ぶ。   The amount of heat generated by the conveyance motor 15 is calculated in consideration of the magnitude of the load on the conveyance motor 15, the effective current flowing through the conveyance motor 15, the temperature characteristics of the windings of the conveyance motor 15, and the like. The most severe conditions are set assuming that the drive time of the carriage motor 42 is extremely short, for example, when the print width in the carriage movement direction is very short, such as when printing vertical lines. The total drive amount of the transport motor 15 is calculated from the drive time of the transport motor 15 that is required until the temperature of the transport motor 15 reaches the limit temperature. In the present embodiment, the total drive amount of the conveyance motor 15 calculated here is referred to as a predetermined value Pduty.

図17は、所定値Pdutyの求め方の一例を説明するためのものである。実効電流410mA(260gcm相当)で制限温度(110℃)に到達するまでの時間が、1000sとする。A4サイズの用紙1枚当たりの印刷に要する搬送モータ15の駆動量が15000ステップで、その印刷時間が10s(印刷処理速度:6ppm)であるとすると、搬送モータ15が制限温度に到達するまでに印刷し得る用紙の枚数は、1000s/10sで、およそ100枚となる。このことから、所定値Pdutyは、15000×100となり、1500000の値が得られる。   FIG. 17 is a diagram for explaining an example of how to obtain the predetermined value Pduty. The time required to reach the limit temperature (110 ° C.) with an effective current of 410 mA (equivalent to 260 gcm) is 1000 s. Assuming that the drive amount of the conveyance motor 15 required for printing per A4 size sheet is 15000 steps and the printing time is 10 s (printing processing speed: 6 ppm), the conveyance motor 15 reaches the limit temperature. The number of sheets that can be printed is 1000 s / 10 s, which is approximately 100 sheets. From this, the predetermined value Pduty becomes 15000 × 100, and a value of 1500,000 is obtained.

===従来との相違点===
従来は、搬送モータ15がしばらくの間駆動されなかった場合には、積算値Psumが徐々に減算されたり、また搬送モータ15が長時間にわたり駆動されなかった場合には、積算値Psumがゼロにリセットされるなどして、搬送モータ15の温度状態に合うように積算値Psumが減らされていたが、搬送モータ15が非常に短い時間停止した場合、例えば、キャリッジモータ42が駆動している間の非常に短い時間停止した場合などについては、積算値Psumに対して何ら対応がとられていなかった。
=== Differences from the past ===
Conventionally, when the transport motor 15 is not driven for a while, the integrated value Psum is gradually subtracted, and when the transport motor 15 is not driven for a long time, the integrated value Psum is zero. The integrated value Psum has been reduced so as to match the temperature state of the transport motor 15 by resetting or the like, but when the transport motor 15 stops for a very short time, for example, while the carriage motor 42 is being driven. In the case of stopping for a very short period of time, no measures have been taken against the integrated value Psum.

このため、搬送モータ15が過熱状態に陥っていないにもかかわらず、積算値Psumが所定値Pdutyに達してしまい、搬送モータ15が過熱状態にあると判定してしまうことがあった。搬送モータ15が過熱状態にあると判定されると、発熱制限制御が実行され、搬送モータ15に冷却するために余計に待機時間が生じ、印刷時間が長くなり、印刷処理が遅れるといった不具合が発生する場合があった。   For this reason, although the conveyance motor 15 is not in an overheated state, the integrated value Psum may reach a predetermined value Pduty, and it may be determined that the conveyance motor 15 is in an overheated state. When it is determined that the transport motor 15 is in an overheated state, the heat generation restriction control is executed, and an extra standby time is generated for cooling the transport motor 15, so that the printing time becomes longer and the printing process is delayed. There was a case.

本実施形態に係るインクジェットプリンタ1にあっては、このような不具合を解決するために、キャリッジモータ42が駆動されている間に搬送モータ15が停止した場合についても、その停止中におけるキャリッジモータ42の駆動量に応じて積算値Psumを減らす処理を行う。つまり、搬送モータ15が停止してキャリッジモータ42が駆動される都度、その駆動量に応じた値(本発明の減算値に相当。以下、本実施形態では、「Psub」ともいう)を積算値Psumから減算する。このとき、キャリッジモータ42の駆動量に応じた値「Psub」を積算値Psumから減算する処理はコントローラ126により行う。なお、本実施形態では、このキャリッジモータ42が本発明の「他のモータ」に相当する。   In the inkjet printer 1 according to the present embodiment, in order to solve such a problem, even when the carry motor 15 is stopped while the carriage motor 42 is being driven, the carriage motor 42 is being stopped. The integrated value Psum is reduced according to the drive amount. That is, each time the conveyance motor 15 is stopped and the carriage motor 42 is driven, a value corresponding to the driving amount (corresponding to a subtraction value of the present invention; hereinafter, also referred to as “Psub” in the present embodiment) is an integrated value. Subtract from Psum. At this time, the controller 126 performs a process of subtracting the value “Psub” corresponding to the driving amount of the carriage motor 42 from the integrated value Psum. In this embodiment, the carriage motor 42 corresponds to “another motor” of the invention.

===処理の概要===
図18は、この処理の概要を説明したものである。コントローラ126は、搬送モータ15が駆動される前に、その駆動量PFstepの情報を取得して、その駆動量PFstepを積算値Psumに加算する。また、コントローラ126は、キャリッジモータ42が駆動される際に、その駆動量に関する情報を取得する。そして、ここでは、コントローラ126は、搬送モータ15の駆動が終了した後、取得したキャリッジモータ42の駆動量に応じた減算値Psubを積算値Psumから減算する。コントローラ126は、このような減算処理を、搬送モータ15の駆動の合間にキャリッジモータ42が駆動される毎に実行する。
なお、コントローラ126がキャリッジモータ42の駆動量に関する情報を取得するタイミングとしては、その駆動量に基づきキャリッジモータ42の駆動が開始される前であってもよく、キャリッジモータ42の駆動が開始された後であっても構わない。
=== Outline of processing ===
FIG. 18 explains the outline of this processing. The controller 126 acquires information on the driving amount PFstep before the transport motor 15 is driven, and adds the driving amount PFstep to the integrated value Psum. Further, the controller 126 acquires information regarding the driving amount when the carriage motor 42 is driven. In this case, after the driving of the transport motor 15 is completed, the controller 126 subtracts the subtraction value Psub corresponding to the acquired driving amount of the carriage motor 42 from the integrated value Psum. The controller 126 executes such a subtraction process every time the carriage motor 42 is driven between the driving of the transport motor 15.
Note that the timing at which the controller 126 acquires information related to the drive amount of the carriage motor 42 may be before the carriage motor 42 starts to be driven based on the drive amount, and the drive of the carriage motor 42 is started. It doesn't matter later.

<コントローラの減算処理>
図19は、このときに、コントローラ126が実行する減算処理の一例を説明するフローチャートである。ここでは、コントローラ126は、まず、キャリッジモータ42の駆動量に関する情報を取得したか否かをチェックする(S302)。ここで、キャリッジモータ42の駆動量に関する情報を取得していない場合には、ステップS302へと戻り、再度、キャリッジモータ42の駆動量に関する情報を取得したか否かをチェックする。このチェックは、キャリッジモータ42の駆動量に関する情報をコントローラ126が取得するまで行われる。
<Controller subtraction processing>
FIG. 19 is a flowchart for explaining an example of the subtraction process executed by the controller 126 at this time. Here, the controller 126 first checks whether or not information on the drive amount of the carriage motor 42 has been acquired (S302). Here, when the information regarding the driving amount of the carriage motor 42 has not been acquired, the process returns to step S302, and it is checked again whether or not the information regarding the driving amount of the carriage motor 42 has been acquired. This check is performed until the controller 126 acquires information regarding the drive amount of the carriage motor 42.

一方、キャリッジモータ42の駆動量に関する情報を取得した場合には、コントローラ126は、次にステップS304へと進み、取得したキャリッジモータ42の駆動量に関する情報に基づき、キャリッジモータ42の駆動量に応じた減算値Psubを取得する(S304)。ここで、減算値Psubは、キャリッジモータ42の駆動量からコントローラ126等が演算により求めるようにしてもよく、また、キャリッジモータ42の駆動量と減算値Psubとが対応付けられたテーブルから取得されるようにしてもよい。   On the other hand, when the information regarding the driving amount of the carriage motor 42 is acquired, the controller 126 proceeds to step S304, and in accordance with the driving amount of the carriage motor 42 based on the acquired information regarding the driving amount of the carriage motor 42. The subtraction value Psub is acquired (S304). Here, the subtraction value Psub may be obtained from the driving amount of the carriage motor 42 by calculation by the controller 126 or the like, and is obtained from a table in which the driving amount of the carriage motor 42 and the subtraction value Psub are associated with each other. You may make it do.

次に、コントローラ126は、ステップS306へと進み、キャリッジモータ42の駆動が終了したか否かをチェックする(S306)。ここで、キャリッジモータ42の駆動が終了していなかった場合には、ステップS306へと戻り、再度、キャリッジモータ42の駆動が終了したか否かをチェックする。このチェックは、キャリッジモータ42の駆動が終了するまで行われる。   Next, the controller 126 proceeds to step S306, and checks whether or not the driving of the carriage motor 42 is completed (S306). Here, if the drive of the carriage motor 42 has not been completed, the process returns to step S306, and it is checked again whether the drive of the carriage motor 42 has been completed. This check is performed until the driving of the carriage motor 42 is completed.

一方、キャリッジモータ42の駆動が終了していた場合には、次にステップS308へと進み、取得したキャリッジモータ42の駆動量に応じた減算値Psubを積算値Psumから減算する演算処理を行う(S308)。これにより、キャリッジモータ42の駆動量に応じて積算値Psumを減らすことができる。このようにして減算値Psubを減らした後、コントローラ126は、ステップS310へと進み、印刷処理が終了したか否かを調べる。ここで、印刷処理が終了していなかった場合には、コントローラ126は、ステップS302へと戻り、再度、キャリッジモータ42の駆動量に関する情報を取得したか否かをチェックする(S302)。一方、印刷処理が終了した場合には、コントローラ126は、積算値Psumの減算処理を終了する。   On the other hand, if the driving of the carriage motor 42 has been completed, the process proceeds to step S308, where a calculation process is performed to subtract the subtraction value Psub corresponding to the acquired driving amount of the carriage motor 42 from the integrated value Psum ( S308). Thereby, the integrated value Psum can be reduced according to the drive amount of the carriage motor 42. After reducing the subtraction value Psub in this way, the controller 126 proceeds to step S310 and checks whether the printing process is completed. If the printing process has not been completed, the controller 126 returns to step S302 and checks again whether or not information on the drive amount of the carriage motor 42 has been acquired (S302). On the other hand, when the printing process is finished, the controller 126 finishes the subtraction process of the integrated value Psum.

<他の処理例>
前述した実施形態では、搬送モータ15の駆動が終了した後、キャリッジモータ42の駆動量に応じた減算値Psubを積算値Psumから減算していた。これは、搬送モータ15の駆動量PFstepが積算値Psumに加算される前に、減算値Psubが積算値Psumから減算されないようにするためで、搬送モータ15が過熱状態に近付いたときに、なるべく早い段階にて発熱制限制御が実行されるようにするためである。しかし、本発明にあっては、このような場合に限られるものではない。つまり、搬送モータ15の駆動量PFstepが積算値Psumに加算されるよりも前や、搬送モータ15の駆動量PFstepが積算値Psumに加算されるのとほぼ同じタイミングで、減算値Psubが積算値Psumから減算されても良い。
<Other processing examples>
In the embodiment described above, the subtraction value Psub corresponding to the driving amount of the carriage motor 42 is subtracted from the integrated value Psum after the driving of the transport motor 15 is completed. This is to prevent the subtraction value Psub from being subtracted from the integrated value Psum before the drive amount PFstep of the transport motor 15 is added to the integrated value Psum, and as much as possible when the transport motor 15 approaches an overheated state. This is because the heat generation restriction control is executed at an early stage. However, the present invention is not limited to such a case. That is, before the drive amount PFstep of the transport motor 15 is added to the integrated value Psum, or at almost the same timing as the drive amount PFstep of the transport motor 15 is added to the integrated value Psum, the subtraction value Psub is the integrated value. It may be subtracted from Psum.

図20は、搬送モータ15の駆動量PFstepの積算値Psumへの加算処理と、減算値Psubの積算値Psumからの減算処理とがほぼ同時に行われる場合の処理の概要を説明したものである。コントローラ126は、キャリッジモータ42が駆動される際に、その駆動量に関する情報を取得する。ここで、キャリッジモータ42の駆動量に関する情報は、キャリッジモータ42が駆動される前に取得することが可能である。その後、コントローラ126は、取得したキャリッジモータ42の駆動量に基づき、当該駆動量に応じた減算値Psubを取得する。また、コントローラ126は、搬送モータ15が駆動される前に、その駆動量PFstepの情報を取得することができる。   FIG. 20 illustrates an outline of processing when the addition processing of the driving amount PFstep of the transport motor 15 to the integrated value Psum and the subtraction processing of the subtraction value Psub from the integrated value Psum are performed almost simultaneously. When the carriage motor 42 is driven, the controller 126 acquires information related to the driving amount. Here, the information regarding the driving amount of the carriage motor 42 can be acquired before the carriage motor 42 is driven. Thereafter, the controller 126 acquires a subtraction value Psub corresponding to the drive amount based on the acquired drive amount of the carriage motor 42. Further, the controller 126 can acquire information on the drive amount PFstep before the transport motor 15 is driven.

搬送モータ15の駆動が開始される前に、コントローラ126は、取得した搬送モータ15の駆動量PFstepを積算値Psumに加算するとともに、取得した減算値Psubを積算値Psumから減算する。ここで、減算値Psubは、キャリッジモータ42の駆動前に取得したキャリッジモータ42の駆動量に基づき既に取得済みである。   Before the driving of the transport motor 15 is started, the controller 126 adds the acquired drive amount PFstep of the transport motor 15 to the integrated value Psum and subtracts the acquired subtraction value Psub from the integrated value Psum. Here, the subtraction value Psub has already been acquired based on the drive amount of the carriage motor 42 acquired before the carriage motor 42 is driven.

コントローラ126は、積算値Psumへの搬送モータ15の駆動量PFstepの加算処理と、積算値Psumからの減算値Psubの減算処理とをほぼ同じタイミングで行う。コントローラ126は、搬送モータ15の駆動量PFstepを取得すると、直ちにこれらの加算処理と減算処理とを実行する。これら加算処理と減算処理を、コントローラ126は、搬送モータ15が駆動する毎に実行する。   The controller 126 performs the process of adding the driving amount PFstep of the transport motor 15 to the integrated value Psum and the process of subtracting the subtraction value Psub from the integrated value Psum at substantially the same timing. When the controller 126 obtains the driving amount PFstep of the transport motor 15, it immediately executes these addition processing and subtraction processing. The controller 126 executes these addition processing and subtraction processing each time the transport motor 15 is driven.

図21は、このとき、コントローラ126により実行される処理の概要を説明するフローチャートである。まず、コントローラ126は、キャリッジモータ42の駆動量に関する情報を取得したか否かをチェックする(S402)。ここで、キャリッジモータ42の駆動量に関する情報を取得していない場合には、ステップS402へと戻り、再度、キャリッジモータ42の駆動量に関する情報を取得したか否かチェックする。このチェックは、キャリッジモータ42の駆動量に関する情報をコントローラ126が取得するまで行われる。   FIG. 21 is a flowchart for explaining an outline of processing executed by the controller 126 at this time. First, the controller 126 checks whether or not information related to the drive amount of the carriage motor 42 has been acquired (S402). Here, when the information regarding the drive amount of the carriage motor 42 has not been acquired, the process returns to step S402 to check again whether or not the information regarding the drive amount of the carriage motor 42 has been acquired. This check is performed until the controller 126 acquires information regarding the drive amount of the carriage motor 42.

一方、キャリッジモータ42の駆動量に関する情報を取得した場合には、コントローラ126は、次にステップS304へと進み、取得したキャリッジモータ42の駆動量に関する情報に基づき、キャリッジモータ42の駆動量に応じた減算値Psubを取得する(S404)。   On the other hand, when the information regarding the driving amount of the carriage motor 42 is acquired, the controller 126 proceeds to step S304, and in accordance with the driving amount of the carriage motor 42 based on the acquired information regarding the driving amount of the carriage motor 42. The subtraction value Psub is acquired (S404).

次に、コントローラ126は、搬送モータ15の駆動量に関する情報を取得したか否かをチェックする(S406)。ここで、搬送モータ15の駆動量に関する情報を取得していない場合には、ステップS406へと戻り、再度、搬送モータ15の駆動量に関する情報を取得したか否かチェックする。このチェックは、搬送モータ15の駆動量に関する情報をコントローラ126が取得するまで行われる。   Next, the controller 126 checks whether or not information related to the driving amount of the carry motor 15 has been acquired (S406). Here, when the information regarding the drive amount of the conveyance motor 15 is not acquired, it returns to step S406 and it is checked again whether the information regarding the drive amount of the conveyance motor 15 was acquired. This check is performed until the controller 126 acquires information about the driving amount of the transport motor 15.

搬送モータ15の駆動量に関する情報を取得した場合には、コントローラ126は、積算値Psumに対して搬送モータ15の駆動量PFstepを加算する処理と、積算値Psumから減算値Psubを減算する処理とを行う(S408)。すなわち、コントローラ126は、演算式「Psum=Psum+PFstep−Psub」により積算値Psumを更新する。   When the information about the driving amount of the transport motor 15 is acquired, the controller 126 includes a process of adding the driving amount PFstep of the transport motor 15 to the integrated value Psum, and a process of subtracting the subtraction value Psub from the integrated value Psum. (S408). That is, the controller 126 updates the integrated value Psum by the arithmetic expression “Psum = Psum + PFstep−Psub”.

このような演算処理が終了した後、コントローラ126は、印刷処理が終了したか否かをチェックする(S410)。ここで、印刷処理が終了していなかった場合には、コントローラ126は、ステップS402へと戻り、キャリッジモータ42の駆動量に関する新しい情報を取得したか否かをチェックする(S402)。一方、印刷処理が終了した場合には、コントローラ126は、積算値Psumに対する演算処理を終了する。   After such calculation processing is completed, the controller 126 checks whether the printing processing is completed (S410). If the printing process has not been completed, the controller 126 returns to step S402 and checks whether new information regarding the drive amount of the carriage motor 42 has been acquired (S402). On the other hand, when the printing process is completed, the controller 126 ends the calculation process for the integrated value Psum.

<キャリッジモータの駆動量について>
搬送モータ15の駆動動作の合間に、キャリッジモータ42が駆動される場合としては、前述した印刷動作の他に、ヘッド21のノズルの目詰まり等を解消するために、ノズルからインクを吐出するフラッシングが実行される場合や、ノズルからインクを吸い出すノズル吸引が実行される場合がある。これらの動作を実行する場合には、キャリッジ41がポンプ装置31等の所定位置まで移動しなければならず、キャリッジモータ42が駆動される。
これらの動作が実行される場合、搬送モータ15の駆動停止期間中に、キャリッジモータ42が2回以上にわたって駆動される。つまり、キャリッジモータ42が、搬送モータ15の駆動停止期間中に、2回以上、駆動と停止とを繰り返す。
<Driving amount of carriage motor>
In the case where the carriage motor 42 is driven between the driving operations of the transport motor 15, in addition to the above-described printing operation, flushing for discharging ink from the nozzles in order to eliminate clogging of the nozzles of the head 21. May be executed, or nozzle suction for sucking out ink from the nozzles may be executed. When performing these operations, the carriage 41 must move to a predetermined position such as the pump device 31 and the carriage motor 42 is driven.
When these operations are executed, the carriage motor 42 is driven twice or more during the drive stop period of the transport motor 15. That is, the carriage motor 42 repeats driving and stopping twice or more during the driving stop period of the transport motor 15.

このようにキャリッジモータ42が駆動と停止を2回以上繰り返す場合に、コントローラ126が減算値Psubを取得するために参照するキャリッジモータ42の駆動量としては、キャリッジモータ42のトータル駆動量が好ましい。しかしながら、搬送モータ15が早い段階で発熱制限制御に入るようにするために、どれか1回分の駆動量をキャリッジモータ42の駆動量としてコントローラ126が取得しても良い。   As described above, when the carriage motor 42 repeats driving and stopping at least twice, the total driving amount of the carriage motor 42 is preferable as the driving amount of the carriage motor 42 that is referred to by the controller 126 to obtain the subtraction value Psub. However, in order for the transport motor 15 to enter the heat generation restriction control at an early stage, the controller 126 may acquire any one drive amount as the drive amount of the carriage motor 42.

図22は、キャリッジモータ42が、搬送モータ15の駆動停止期間中に、複数回駆動された場合の駆動状況の一例を説明したものである。ここでは、キャリッジモータ42が、搬送モータ15の駆動停止期間中に、2回駆動されている。
コントローラ126によりキャリッジモータ42の駆動量が取得されるタイミングは、搬送モータ15の駆動停止期間中に、2回ある。つまり、キャリッジモータ42が駆動される直前にそれぞれ1回ずつある。ここで、コントローラ126が、減算値Psubを取得するために参照するキャリッジモータ42の駆動量としては、どれか1回分の駆動量であっても良い。すなわち、1回目の駆動時の駆動量であっても良く、また2回目の駆動時の駆動量であっても良い。
FIG. 22 illustrates an example of a drive situation when the carriage motor 42 is driven a plurality of times during the drive stop period of the transport motor 15. Here, the carriage motor 42 is driven twice during the drive stop period of the transport motor 15.
There are two timings when the drive amount of the carriage motor 42 is acquired by the controller 126 during the drive stop period of the transport motor 15. That is, there is once each before the carriage motor 42 is driven. Here, the drive amount of the carriage motor 42 that is referred to by the controller 126 to obtain the subtraction value Psub may be any one drive amount. That is, the driving amount at the first driving may be used, or the driving amount at the second driving may be used.

===減算値Psub===
積算値Psumから減算する減算値Psubについては、キャリッジモータ42の駆動量に応じた値であれば、どのような値であっても構わない。しかしながら、本実施形態にあっては、なるべく適切な減算値Psubを積算値Psumから減算するために、キャリッジモータ42の駆動量の他に、搬送モータ15の駆動モードも考慮して、その駆動モードに応じた減算値Psubを積算値Psumから減算する。
=== Subtraction value Psub ===
The subtraction value Psub to be subtracted from the integrated value Psum may be any value as long as it is a value corresponding to the drive amount of the carriage motor 42. However, in the present embodiment, in order to subtract the subtraction value Psub as appropriate as possible from the integrated value Psum, in addition to the drive amount of the carriage motor 42, the drive mode of the transport motor 15 is also considered. The subtraction value Psub corresponding to is subtracted from the integrated value Psum.

図23は、コントローラ126が減算値Psubを取得するために参照するテーブルの一例を示したものである。このテーブルは、キャリッジモータ42の駆動量と、搬送モータ15の駆動モードとに応じて設定された減算値Psubを示すテーブルである。   FIG. 23 shows an example of a table referred to by the controller 126 for acquiring the subtraction value Psub. This table is a table showing the subtraction value Psub set according to the drive amount of the carriage motor 42 and the drive mode of the transport motor 15.

減算値Psubは、キャリッジモータ42の駆動量CRmに応じて3つに区分されている。すなわち、キャリッジモータ42の駆動量CRmが、「1114(step)未満」の場合と、「1114(step)以上、1894(step)未満」の場合と、「1894(step)以上」の場合との3つである。なお、本実施形態では、キャリッジモータ42の駆動量が180(dpi)にて管理され、1(step)当たり「1/180インチ」になっている。   The subtraction value Psub is divided into three according to the drive amount CRm of the carriage motor 42. That is, the drive amount CRm of the carriage motor 42 is “less than 1114 (step)”, “1114 (step) or more, less than 1894 (step)”, and “1894 (step) or more”. There are three. In the present embodiment, the drive amount of the carriage motor 42 is managed at 180 (dpi), and is “1/180 inch” per 1 (step).

ここで、キャリッジモータ42の駆動量CRmが「1114(step)未満」の場合とは、例えば、搬送モータ15の停止時間Tmが「100[ms]未満」の場合に相当する。また、キャリッジモータ42の駆動量CRmが「1114(step)以上、1894(step)未満」の場合とは、例えば、「はがき」サイズほどの用紙に印刷をする場合などが該当し、搬送モータ15の停止時間Tmが「100[ms]以上、140[ms]未満」の場合に相当する。また、キャリッジモータ42の駆動量CRmが「1894(step)以上」である場合とは、例えば、「A4」サイズほどの用紙に印刷をする場合などが該当し、搬送モータ15の停止時間Tmが「140[ms]以上」の場合に相当する。   Here, the case where the drive amount CRm of the carriage motor 42 is “less than 1114 (step)” corresponds to, for example, the case where the stop time Tm of the transport motor 15 is “less than 100 [ms]”. Further, the case where the drive amount CRm of the carriage motor 42 is “1114 (step) or more and less than 1894 (step)” corresponds to, for example, a case where printing is performed on a sheet of “postcard” size, and the like. This corresponds to a case where the stop time Tm is “100 [ms] or more and less than 140 [ms]”. The case where the drive amount CRm of the carriage motor 42 is “1894 (step) or more” corresponds to, for example, the case where printing is performed on a sheet of about “A4” size, and the stop time Tm of the transport motor 15 is This corresponds to the case of “140 [ms] or more”.

減算値Psubは、キャリッジモータ42の駆動量CRm別に、それぞれ異なる値に設定されている。さらに、ここでは、搬送モータ15の駆動モード毎に減算値Psubが異なる値に設定されている。駆動モードは、「PS0」〜「PS6」の7種類の駆動モードがある。各駆動モード「PS0」〜「PS6」は、搬送モータ15が駆動されるときの駆動量PFstepに応じて設定されている。ここでは、搬送モータ15の駆動量PFstepが「1〜25(step)」の場合には、搬送モータ15の駆動モードとして「PS6」が設定される。また、搬送モータ15の駆動量PFstepが「25〜50(step)」の場合には、搬送モータ15の駆動モードとして「PS5」が設定される。また、搬送モータ15の駆動量PFstepが「50〜100(step)」の場合には、搬送モータ15の駆動モードとして「PS4」が設定される。また、搬送モータ15の駆動量PFstepが「100〜150(step)」の場合には、搬送モータ15の駆動モードとして「PS3」が設定される。また、搬送モータ15の駆動量PFstepが「150〜200(step)」の場合には、搬送モータ15の駆動モードとして「PS2」が設定される。また、搬送モータ15の駆動量PFstepが「200〜250(step)」の場合には、搬送モータ15の駆動モードとして「PS1」が設定される。また、搬送モータ15の駆動量PFstepが「250(step)以上」の場合には、搬送モータ15の駆動モードとして「PS0」が設定される。   The subtraction value Psub is set to a different value for each drive amount CRm of the carriage motor 42. Further, here, the subtraction value Psub is set to a different value for each drive mode of the transport motor 15. There are seven drive modes, “PS0” to “PS6”. Each drive mode “PS0” to “PS6” is set according to the drive amount PFstep when the transport motor 15 is driven. Here, when the drive amount PFstep of the carry motor 15 is “1 to 25 (step)”, “PS6” is set as the drive mode of the carry motor 15. When the drive amount PFstep of the carry motor 15 is “25 to 50 (step)”, “PS5” is set as the drive mode of the carry motor 15. When the drive amount PFstep of the carry motor 15 is “50 to 100 (step)”, “PS4” is set as the drive mode of the carry motor 15. When the driving amount PFstep of the carry motor 15 is “100 to 150 (step)”, “PS3” is set as the drive mode of the carry motor 15. When the drive amount PFstep of the carry motor 15 is “150 to 200 (step)”, “PS2” is set as the drive mode of the carry motor 15. When the driving amount PFstep of the carry motor 15 is “200 to 250 (step)”, “PS1” is set as the drive mode of the carry motor 15. When the driving amount PFstep of the carry motor 15 is “250 (step) or more”, “PS0” is set as the drive mode of the carry motor 15.

<駆動モード>
各駆動モード「PS0」〜「PS6」は、それぞれ搬送モータ15を駆動するときの搬送モータ15の制御用プロファイルが異なる。図24は、各駆動モード「PS0」〜「PS6」別の制御用プロファイルの一例を示したものである。各駆動モード「PS0」〜「PS6」は、それぞれ搬送モータ15を駆動するときの加速時の加速度、定速時の速度および減速時の加速度のうちの少なくともいずれか1つが異なっている。
<Drive mode>
The drive modes “PS0” to “PS6” have different control profiles for the transport motor 15 when the transport motor 15 is driven. FIG. 24 shows an example of a control profile for each drive mode “PS0” to “PS6”. Each of the drive modes “PS0” to “PS6” is different in at least one of acceleration during acceleration, speed at constant speed, and acceleration at deceleration when the transport motor 15 is driven.

駆動モード「PS0」の場合には、駆動量PFstepが「250(step)以上」と非常に大きいことから、同図図中の左上に示すように、搬送モータ15を高速で駆動するために、加速時には、搬送モータ15に対して大きな駆動電流を付与して、搬送モータ15の速度が短時間で高速域に達するように制御する。また、減速時には、高速域から短時間で停止できるようにするために、逆方向の駆動電流を付与して、急速に減速できるように制御する。   In the case of the drive mode “PS0”, the drive amount PFstep is very large as “250 (steps) or more”. Therefore, as shown in the upper left of FIG. At the time of acceleration, a large drive current is applied to the transport motor 15 and the speed of the transport motor 15 is controlled to reach the high speed range in a short time. Further, at the time of deceleration, in order to be able to stop in a short time from the high speed range, a reverse drive current is applied to control so as to rapidly decelerate.

一方、駆動モード「PS1」の場合には、駆動量PFstepが「200〜250(step)」と、「PS0」の場合に比べて若干少なくなることから、駆動モード「PS0」ほど高速で駆動することはなく、また、搬送モータ15の駆動電流も小さい。
また、駆動モード「PS2」についても同様に、駆動量PFstepが「150〜200(step)」と少なくなることから、設定される駆動速度も遅くなり、駆動電流も小さくなる。
さらに、他の駆動モード「PS3」〜「PS6」についても同様に、駆動量PFstepが徐々に少なくなることから、設定される駆動速度も徐々に遅くなり、駆動電流も徐々に小さくなる。
On the other hand, in the drive mode “PS1”, the drive amount PFstep is “200 to 250 (step)”, which is slightly smaller than that in the case of “PS0”. In addition, the drive current of the transport motor 15 is small.
Similarly, in the drive mode “PS2”, since the drive amount PFstep is reduced to “150 to 200 (step)”, the set drive speed is also reduced and the drive current is also reduced.
Further, similarly, in the other drive modes “PS3” to “PS6”, the drive amount PFstep is gradually decreased, so that the set drive speed is gradually decreased and the drive current is also gradually decreased.

<減算値Psubが異なる理由>
このように減算値Psubを駆動モード毎に異なるのには、次の理由がある。図25は、搬送モータ15が制限温度に達するまでに印刷可能な用紙の枚数(以下、制限温度到達枚数という)を各駆動モードPS0〜PS6別にそれぞれシミュレーションを実行して調べてまとめたグラフである。図25Aは、駆動モードPS0、PS1、PS2、PS3についてまとめたものである。図25Bは、駆動モードPS3、PS4、PS5、PS6についてまとめたものである。なお、ここでは、制限温度到達枚数については、A4サイズの用紙に印刷をした場合に換算して表している。また、制限温度到達枚数については、先に説明したように、搬送モータ15を安全に使用できる限界の温度(制限温度)に到達するまでの搬送モータ15の印刷時間から求めることができる。また、各駆動モードPS0〜PS6の間で対比をし易くするために、駆動モータPS3の場合の結果を図25Aおよび図25Bの双方にそれぞれ記載してある。
<Reason why subtraction value Psub is different>
The reason why the subtraction value Psub is thus different for each drive mode is as follows. FIG. 25 is a graph in which the number of sheets of paper that can be printed before the transport motor 15 reaches the limit temperature (hereinafter referred to as the limit temperature reached number) is examined by performing a simulation for each of the drive modes PS0 to PS6. . FIG. 25A summarizes the drive modes PS0, PS1, PS2, and PS3. FIG. 25B summarizes the drive modes PS3, PS4, PS5, and PS6. Note that, here, the limit temperature reaching number is converted and expressed when printing on A4 size paper. Further, as described above, the limit temperature reaching number can be obtained from the printing time of the transport motor 15 until reaching the limit temperature (limit temperature) at which the transport motor 15 can be safely used. Further, in order to facilitate comparison between the drive modes PS0 to PS6, the results in the case of the drive motor PS3 are shown in both FIG. 25A and FIG. 25B, respectively.

駆動モードPS0、PS1、PS2、PS3においては、図25Aに示すように、搬送モータ15の停止時間が長くなればなるほど、それぞれ制限温度到達枚数が増えている。一方、各駆動モードPS0〜PS3の間については、駆動モードPS0における制限温度到達枚数が最も多く、駆動モードPS3における制限温度到達枚数が最も少ない。これは、駆動モードPS0、PS1、PS2は、駆動モードPS3に比べて駆動速度が速いため、制限温度に到達するまでに印刷し得る用紙の枚数が多くなっているものと考えられる。   In the drive modes PS0, PS1, PS2, and PS3, as shown in FIG. 25A, as the stop time of the transport motor 15 becomes longer, the number of sheets reaching the limit temperature increases. On the other hand, between the drive modes PS0 to PS3, the number of limit temperature reaching in the drive mode PS0 is the largest, and the number of limit temperature reaching in the drive mode PS3 is the smallest. This is presumably because the driving modes PS0, PS1, and PS2 have a higher driving speed than the driving mode PS3, and thus the number of sheets that can be printed before reaching the limit temperature is increased.

一方、駆動モードPS3、PS4、PS5、PS6においては、図25Bに示すように、駆動モードPS0、PS1、PS2の場合と同様に、搬送モータ15の停止時間が長くなればなるほど、それぞれ制限温度到達枚数が増えている。しかし、各駆動モードPS3〜PS6の間については、駆動モードPS6における制限温度到達枚数が最も多く、駆動モードPS3における制限温度到達枚数が最も少なくなっている。これは、駆動モードPS4、PS5、PS6は、1回の駆動量PFstepが小さい分だけ、搬送モータ15が停止する回数が増え、これにより、制限温度に到達するまでに印刷し得る用紙の枚数が多くなっているものと考えられる。   On the other hand, in the drive modes PS3, PS4, PS5, and PS6, as shown in FIG. 25B, as in the case of the drive modes PS0, PS1, and PS2, as the stop time of the transport motor 15 becomes longer, the limit temperature is reached The number is increasing. However, between each of the drive modes PS3 to PS6, the number of limit temperature reaching in the drive mode PS6 is the largest, and the number of limit temperature reaching in the drive mode PS3 is the smallest. This is because, in the drive modes PS4, PS5, and PS6, the number of times the transport motor 15 is stopped is increased by the amount of the single drive amount PFstep, so that the number of sheets that can be printed before reaching the limit temperature is increased. It is thought that it is increasing.

また、駆動モードPS0、PS1、PS2、PS3に比べて、駆動モードPS4、PS5、PS6の方が、グラフの傾きが大きくなっているのは、1回の駆動量PFstepが小さい分だけ、搬送モータ15が停止する回数が増え、これにより、搬送モータ15の停止時間が長くなればなるほど、制限温度到達枚数が増えたものと考えられる。
このように各駆動モードPS0〜PS6毎に、制限温度到達枚数が異なる。特に、他の駆動モードよりも駆動量PFstepが多い場合に、必ずしも制限温度到達枚数が多くなるわけではなく、減算値Psubを各駆動モードPS0〜PS6毎に個別に設定する必要がある。
Also, the drive mode PS4, PS5, PS6 has a larger slope of the graph than the drive modes PS0, PS1, PS2, PS3. It can be considered that the number of times that the limit temperature has reached is increased as the number of times of stopping 15 increases, and as the stop time of the transport motor 15 becomes longer.
In this way, the limit temperature reaching number is different for each drive mode PS0 to PS6. In particular, when the driving amount PFstep is larger than that in the other driving modes, the limit temperature reaching number does not necessarily increase, and the subtraction value Psub needs to be set individually for each driving mode PS0 to PS6.

<減算値Psubの求め方>
次に、減算値Psubの求め方について詳しく説明する。図26は、各駆動モードPS0〜PS6毎にキャリッジモータ42の駆動量CRm別に制限温度到達枚数を設定した場合の一例である。ここでは、より高い安全性を確保するために、各制限温度到達枚数が安全側、即ち実際のシミュレーション結果よりも少ない側に設定されている。なお、制限温度到達枚数の求める方については、ここでは、先に説明した方法を利用している。
<How to find the subtraction value Psub>
Next, how to obtain the subtraction value Psub will be described in detail. FIG. 26 is an example in the case where the limit temperature reaching number is set for each drive mode CRm of the carriage motor 42 for each drive mode PS0 to PS6. Here, in order to ensure higher safety, the number of reached limit temperatures is set on the safe side, that is, on the side where the actual simulation result is smaller. Note that the method described above is used here for the method of obtaining the limit temperature reaching number.

まず、基準となる駆動条件を決める。ここでは、同図に示すように、駆動モードPS3において、キャリッジモータ42の駆動量CRmが「CRm<1114(step)」の場合の制限温度到達枚数が、「100枚」と最も少ないことから、この駆動条件を基準として各減算値Psubを求める。   First, a reference driving condition is determined. Here, as shown in the figure, in the drive mode PS3, the limit temperature reaching number when the drive amount CRm of the carriage motor 42 is “CRm <1114 (step)” is the smallest as “100”. Each subtraction value Psub is obtained based on this driving condition.

ここで、駆動モードPS0において、キャリッジモータ42の駆動量CRmが「CRm<1114(step)」の場合の減算値Psubを求めるとする。制限温度到達枚数は「480(枚)」である。A4一枚を印刷するときの搬送モータ15の駆動量PFstepが580(mm)であり、この制限温度到達枚数を搬送モータ15の総駆動ステップ数に換算すると次のようになる。
480(枚)×580(mm)/25.4(インチ換算)×720(dpi)
=7891653(step)…………(1)
なお、ここでは、駆動ステップ数として、解像度720(dpi)で印刷する場合を想定して換算している。
一方、基準となる駆動モードPS3において、キャリッジモータ42の駆動量CRmが「CRm<1114(step)」の場合における搬送モータ15の総駆動ステップ数を求めると、次のようになる。
Here, it is assumed that the subtraction value Psub is obtained when the drive amount CRm of the carriage motor 42 is “CRm <1114 (step)” in the drive mode PS0. The limit temperature reaching number is “480 (sheets)”. The driving amount PFstep of the transport motor 15 when printing one A4 sheet is 580 (mm), and this limit temperature reached number of sheets is converted into the total number of drive steps of the transport motor 15 as follows.
480 (sheets) x 580 (mm) /25.4 (inches) x 720 (dpi)
= 7899163 (step) ………… (1)
Here, the number of drive steps is converted on the assumption that printing is performed at a resolution of 720 (dpi).
On the other hand, when the driving amount CRm of the carriage motor 42 is “CRm <1114 (step)” in the reference driving mode PS3, the total number of driving steps of the transport motor 15 is obtained as follows.

100(枚)×580(mm)/25.4(インチ換算)×720(dpi)
=1644094(step)…………(2)
なお、(2)の値は、所定値Pdutyとなる。
(1)の値と(2)の値との差分を求めると、6247559(step)となる。この差分から、駆動モードPS0において、キャリッジモータ42の駆動量CRmが「CRm<1114(step)」の場合の増加率を求めると、6247559/7891653で、増加率0.79が得られる。
この増加率0.79と、駆動モードPS0における最小駆動量250(step)とを乗算する。その結果、0.79×250=197という値が得られる。これにより得られた値を、図23のPsubテーブルに示すように、駆動モードPS0において、キャリッジモータ42の駆動量CRmが「CRm<1114(step)」の場合の減算値Psubとして設定する。
100 (sheets) x 580 (mm) /25.4 (inch conversion) x 720 (dpi)
= 1644094 (step) ………… (2)
Note that the value of (2) is the predetermined value Pduty.
When the difference between the value of (1) and the value of (2) is obtained, 6247559 (step) is obtained. From this difference, the increase rate when the drive amount CRm of the carriage motor 42 is “CRm <1114 (step)” in the drive mode PS0 is 6247559/7891653, and an increase rate of 0.79 is obtained.
The increase rate 0.79 is multiplied by the minimum drive amount 250 (step) in the drive mode PS0. As a result, a value of 0.79 × 250 = 197 is obtained. The value thus obtained is set as a subtraction value Psub when the drive amount CRm of the carriage motor 42 is “CRm <1114 (step)” in the drive mode PS0 as shown in the Psub table of FIG.

また、駆動モードPS2において、キャリッジモータ42の駆動量CRmが「1894(Step)≦CRm」の場合について検討する。制限温度到達枚数は「374(枚)」であることから、この場合の搬送モータ15の総駆動ステップ数は、次のようになる。
374(枚)×580(mm)/25.4(インチ換算)×720(dpi)
=6148913(step)…………(3)
(3)の値と、基準となる(2)の値との差分を求めると、4504819(step)となる。この差分から増加率を求めると、4504819/6148913で、増加率約0.73が得られる。この増加率0.73と、駆動モードPS2における最小駆動量150(step)とを乗算すると、0.73×150=109となり、この値を、図23のPsubテーブルに示すように、駆動モードPS2において、キャリッジモータ42の駆動量CRmが「1894(Step)≦CRm」の場合の減算値Psubとして設定する。
このようにして図26に示す制限温度到達枚数から、各駆動モードの各キャリッジモータ42の駆動量における減算値Psubを求めて、図23に示すようなPsubテーブルを完成させる。
In the drive mode PS2, the case where the drive amount CRm of the carriage motor 42 is “1894 (Step) ≦ CRm” will be considered. Since the limit temperature reaching number is “374 (sheets)”, the total number of driving steps of the transport motor 15 in this case is as follows.
374 (sheets) x 580 (mm) /25.4 (inches) x 720 (dpi)
= 61489913 (step) ………… (3)
The difference between the value of (3) and the reference value of (2) is 4504819 (step). If an increase rate is calculated | required from this difference, the increase rate of about 0.73 is obtained by 4504819/6148913. Multiplying this increase rate 0.73 and the minimum drive amount 150 (step) in the drive mode PS2 yields 0.73 × 150 = 109, and this value is shown in the Psub table of FIG. Is set as the subtraction value Psub when the drive amount CRm of the carriage motor 42 is “1894 (Step) ≦ CRm”.
In this way, the subtraction value Psub in the drive amount of each carriage motor 42 in each drive mode is obtained from the number of reached limit temperatures shown in FIG. 26, and the Psub table as shown in FIG. 23 is completed.

<減算値Psubの取得手順>
図27は、コントローラ126の減算値Psubの取得手順の一例を説明したフローチャートである。コントローラ126は、減算値Psubを取得するために、まず、キャリッジモータ42の駆動量CRmを取得する(S402)。次に、コントローラ126は、搬送モータ15の駆動モードに関する情報を取得する(S404)。ここで、コントローラ126が取得する駆動モードに関する情報とは、搬送モータ15の停止時間が終了した後、搬送モータ15が駆動され始めたときの搬送モータ15の駆動モードに関する情報である。つまり、例えば、キャリッジモータ42が駆動量1500(step)にて駆動された後、搬送モータ15が駆動モードPS4にて駆動された場合には、そのキャリッジモータ42の駆動量1500(step)に対応して、駆動モードPS4がコントローラ126により取得される。
<Procedure for obtaining subtraction value Psub>
FIG. 27 is a flowchart illustrating an example of a procedure for acquiring the subtraction value Psub by the controller 126. In order to obtain the subtraction value Psub, the controller 126 first obtains the drive amount CRm of the carriage motor 42 (S402). Next, the controller 126 acquires information related to the drive mode of the transport motor 15 (S404). Here, the information regarding the drive mode acquired by the controller 126 is information regarding the drive mode of the transport motor 15 when the transport motor 15 starts to be driven after the stop time of the transport motor 15 ends. That is, for example, when the carriage motor 42 is driven at the drive mode PS4 after the carriage motor 42 is driven at the drive amount 1500 (step), it corresponds to the drive amount 1500 (step) of the carriage motor 42. Then, the drive mode PS4 is acquired by the controller 126.

このようにして搬送モータ15の駆動モードに関する情報を取得した後、次に、コントローラ126は、Psubテーブル(図23参照)を参照する(S406)。ここで、コントローラ126は、取得したキャリッジモータ42の駆動量と、取得した搬送モータ15の駆動モードとに基づき、これらに対応する減算値PsubをPsubテーブルから取得する(S408)。その後、コントローラ126は、減算値Psubを取得する処理を終了させる。   After acquiring information related to the drive mode of the transport motor 15 in this way, the controller 126 then refers to the Psub table (see FIG. 23) (S406). Here, based on the acquired drive amount of the carriage motor 42 and the acquired drive mode of the transport motor 15, the controller 126 acquires a subtraction value Psub corresponding to these from the Psub table (S408). Thereafter, the controller 126 ends the process of acquiring the subtraction value Psub.

このようにして処理を終了した後、コントローラ126は、先に図18または図20において説明したように、取得した減算値Psubを積算値Psumから減算する演算を行う。なお、コントローラ126は、キャリッジモータ42の駆動量と、搬送モータ15の駆動モードに関する情報とを取得する都度、減算値Psubの取得を行う。   After completing the process in this manner, the controller 126 performs an operation of subtracting the acquired subtraction value Psub from the integrated value Psum as described above with reference to FIG. The controller 126 acquires the subtraction value Psub every time it acquires the drive amount of the carriage motor 42 and the information related to the drive mode of the transport motor 15.

<減算値Psubの減算による効果>
図28は、従来の場合と本実施形態の場合とにおける積算値Psumの増え方を示したものである。従来の場合には、積算値Psumは、搬送モータ15の駆動量PFstepが逐次積算されるのみであるため、同図に示すように、印刷枚数が少ない段階で積算値Psumが、過熱状態か否かの判定基準となる所定値Pdutyに達してしまう。このため、搬送モータ15の温度がさほど上昇していない段階で、搬送モータ15が過熱状態にあると判定されてしまい、搬送モータ15に対して発熱制限制御が開始されてしまうことがあった。これにより、搬送モータ15に余計に待機時間が生じて、印刷時間が長くなり、印刷処理が遅れるといった不具合が発生する場合があった。
<Effect of subtraction of subtraction value Psub>
FIG. 28 shows how the integrated value Psum increases in the conventional case and in the present embodiment. In the conventional case, since the integrated value Psum is simply obtained by sequentially integrating the driving amount PFstep of the transport motor 15, as shown in the figure, the integrated value Psum is in an overheated state when the number of printed sheets is small. It reaches the predetermined value Pduty, which is the determination criterion. For this reason, when the temperature of the conveyance motor 15 does not increase so much, it is determined that the conveyance motor 15 is in an overheated state, and heat generation restriction control may be started for the conveyance motor 15. As a result, an extra standby time is generated in the conveyance motor 15, and there is a case in which the printing time becomes long and the printing process is delayed.

これに対して、本実施形態の場合には、搬送モータ15の駆動毎に、積算値Psumから減算値Psubが逐次減算される。このため、本実施形態の場合には、同図に示すように、従来の場合に比べて、積算値Psumが所定値Pdutyに到達する時期が遅れる。つまり、搬送モータ15の温度が十分に上昇しない限り、積算値Psumが所定値Pdutyに到達することはないのである。これによって、本実施形態の場合には、従来よりも余計にN枚分だけ、発熱制限制御の実行前に印刷をすることができる。   On the other hand, in the present embodiment, the subtraction value Psub is successively subtracted from the integrated value Psum every time the transport motor 15 is driven. For this reason, in the present embodiment, as shown in the figure, the time when the integrated value Psum reaches the predetermined value Pduty is delayed as compared with the conventional case. That is, the integrated value Psum does not reach the predetermined value Pduty unless the temperature of the transport motor 15 is sufficiently increased. Thus, in the case of the present embodiment, it is possible to perform printing for an extra N sheets before the execution of the heat generation restriction control, as compared with the conventional case.

<まとめ>
以上本実施形態に係るインクジェットプリンタ1にあっては、搬送モータ15の駆動量PFstepを逐次積算して積算値Psumを求める演算に加え、キャリッジモータ42の駆動量からその駆動量に応じた減算値Psubを積算値Psumから減算する演算を実行するため、搬送モータ15の温度状態に合った積算値Psumを得ることができる。これにより、搬送モータ15が過熱状態にないにもかかわらず、搬送モータ15が過熱状態にあると判定してしまって、搬送モータ15に対し早期に発熱制限制御が実行されるのを防止することができる。また、小さなサイズのモータであっても、同じ発熱制限温度到達枚数を確保することが可能になり、コストダウンを図ることができる。
<Summary>
As described above, in the ink jet printer 1 according to the present embodiment, in addition to the calculation of sequentially integrating the driving amount PFstep of the transport motor 15 to obtain the integrated value Psum, the subtraction value corresponding to the driving amount from the driving amount of the carriage motor 42. Since an operation for subtracting Psub from the integrated value Psum is executed, an integrated value Psum suitable for the temperature state of the transport motor 15 can be obtained. Accordingly, it is determined that the conveyance motor 15 is in an overheated state even though the conveyance motor 15 is not in an overheated state, and the heat generation restriction control is prevented from being executed at an early stage on the conveyance motor 15. Can do. Further, even with a small size motor, it is possible to secure the same number of sheets reaching the heat generation limit temperature, and the cost can be reduced.

さらに本実施形態では、積算値Psumから減算される減算値Psubが、搬送モータ15の駆動モードも考慮して設定されるから、より適切な減算値Psubを積算値Psumから減算することができ、より搬送モータ15の温度状態に合った積算値Psumを得ることができる。   Furthermore, in the present embodiment, the subtraction value Psub subtracted from the integrated value Psum is set in consideration of the drive mode of the transport motor 15, so that a more appropriate subtracted value Psub can be subtracted from the integrated value Psum. Thus, the integrated value Psum that matches the temperature state of the transport motor 15 can be obtained.

また、本実施形態では、搬送モータ15の駆動量PFstepが、その駆動量PFstepに基づき搬送モータ15が駆動される前に、積算値Psumに加算されるから、事前に搬送モータ15の温度状態を予測することができ、搬送モータ15に対して早い段階で発熱制限制御を実行することができる。これにより、より安全性を向上させることができる。   In this embodiment, the driving amount PFstep of the transport motor 15 is added to the integrated value Psum before the transport motor 15 is driven based on the drive amount PFstep. The heat generation restriction control can be executed at an early stage for the transport motor 15. Thereby, safety can be improved more.

また、本実施形態では、搬送モータ15の停止時間および駆動モードと、減算値Psubとを対応付けたPsubテーブルを備えたことから、減算値Psubを簡単に取得することができる。   In the present embodiment, since the Psub table in which the stop time and drive mode of the transport motor 15 are associated with the subtraction value Psub is provided, the subtraction value Psub can be easily obtained.

なお、本実施形態では、過熱状態を判定するモータとして、搬送モータ15の場合を例にして説明したが、本実施形態のインクジェットプリンタ1の場合には、キャリッジモータ42についても、過熱状態か否かの判定対象としても良い。この場合、各種演算や情報の取得などについてはコントローラ126により行う。また、この場合、本発明の「他のモータ」として搬送モータ15を利用して、搬送モータ15の駆動量に応じた減算値を取得するようにしても良い。また、もちろん、キャリッジモータ42についても発熱制限制御を実行しても良い。   In the present embodiment, the case where the conveyance motor 15 is used as the motor for determining the overheat state has been described as an example. However, in the case of the inkjet printer 1 according to the present embodiment, the carriage motor 42 is also in the overheat state. It is also possible to determine whether or not In this case, various operations and information acquisition are performed by the controller 126. In this case, the subtraction value corresponding to the drive amount of the carry motor 15 may be acquired using the carry motor 15 as the “other motor” of the present invention. Of course, the heat generation restriction control may also be executed for the carriage motor 42.

===その他の実施の形態===
以上、一実施形態に基づき、本発明に係るモータの過熱判定装置として、印刷装置(インクジェットプリンタ1)に搭載された場合を例にして説明したが、上記の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更または改良され得るとともに、本発明には、その等価物が含まれることは言うまでもない。特に、以下に述べる実施形態であっても、本発明に含まれる。
また、本実施形態において、ハードウェアによって実現されていた構成の一部又は全部をソフトウェアによって置き換えてもよく、逆に、ソフトウェアによって実現されていた構成の一部をハードウェアによって置き換えてもよい。
また、印刷装置側にて行っていた処理の一部をコンピュータ140側にて行ってよく、また印刷装置とコンピュータ140の間に専用の処理装置を介設して、この処理装置にて処理の一部を行わせるようにしてもよい。
=== Other Embodiments ===
As described above, the case where the motor overheating determination device according to the present invention is installed in the printing apparatus (inkjet printer 1) has been described as an example based on the embodiment. However, the present invention is not intended to be interpreted in a limited manner. The present invention can be changed or improved without departing from the gist thereof, and needless to say, the present invention includes equivalents thereof. In particular, the embodiments described below are also included in the present invention.
In the present embodiment, part or all of the configuration realized by hardware may be replaced by software, and conversely, part of the configuration realized by software may be replaced by hardware.
In addition, a part of the processing performed on the printing device side may be performed on the computer 140 side, and a dedicated processing device is provided between the printing device and the computer 140 to perform processing on this processing device. You may make it perform a part.

<印刷装置について>
前述した実施の形態では、本発明に係るモータの過熱判定装置が搭載される印刷装置として、前述したようなインクジェットプリンタ1の場合を例にして説明したが、本発明に係るモータの過熱判定装置が搭載される印刷装置として、このような印刷装置に限らず、他の方式によりインクを吐出するインクジェットプリンタや、その他、インクを吐出しないタイプのプリンタ、例えば、ドットインパクト式プリンタや熱転写プリンタ、またレーザービーム式プリンタなど、印刷機能を備えた装置であれば、どのような装置であっても本発明の印刷装置に含まれる。
<About printing devices>
In the embodiment described above, the case of the ink jet printer 1 as described above has been described as an example of the printing apparatus in which the motor overheat determination device according to the present invention is mounted. However, the motor overheat determination device according to the present invention is described. Is not limited to such a printing apparatus, but is an ink jet printer that ejects ink by other methods, or other types of printers that do not eject ink, such as dot impact printers, thermal transfer printers, Any apparatus that has a printing function, such as a laser beam printer, is included in the printing apparatus of the present invention.

<判定対象のモータについて>
前述した実施の形態では、過熱判定を行うモータとして、前述した印刷装置に搭載されたモータ(搬送モータ15)を例にして説明したが、本発明において判定対象とするモータとしては、必ずしもこのような印刷装置に搭載されたモータに限定されない。つまり、印刷装置以外の他の装置に搭載されるあらゆるモータが、本発明における過熱判定の対象となり得る。
<About the motor to be judged>
In the above-described embodiment, the motor (conveyance motor 15) mounted on the above-described printing apparatus has been described as an example of the motor that performs the overheat determination. However, the motor that is a determination target in the present invention is not necessarily in this manner. It is not limited to a motor mounted on a simple printing apparatus. In other words, any motor mounted on a device other than the printing device can be an object of overheat determination in the present invention.

<他のモータについて>
前述した実施の形態では、本発明の「他のモータ」として、印刷装置に搭載されたモータ(キャリッジモータ42)を例にして説明したが、本発明において判定対象とするモータとしては、必ずしもこのような印刷装置に搭載されたモータに限定されない。本発明の「判定対象のモータ」(前述した実施形態では、搬送モータ15)に相当するモータと交互に駆動されるモータであれば、どのようなモータであっても良い。
<About other motors>
In the embodiment described above, the “other motor” of the present invention has been described by taking the motor (carriage motor 42) mounted on the printing apparatus as an example. However, the motor to be determined in the present invention is not necessarily limited to this. It is not limited to the motor mounted on such a printing apparatus. Any motor may be used as long as it is a motor driven alternately with a motor corresponding to the “determination target motor” of the present invention (the conveyance motor 15 in the above-described embodiment).

<過熱判定装置について>
前述した実施の形態では、本発明に係るモータの過熱判定装置として、印刷装置等のモータを備えた装置に設けられる場合を例にして説明したが、本発明に係るモータの過熱判定装置にあっては、必ずしもこのような場合に限られない。すなわち、本発明に係るモータの過熱判定装置は、モータを備えた装置から独立した単独の形態の装置として存在しても良く、もちろんモータからも独立した単独の装置として存在しても良い。
<About overheat determination device>
In the embodiment described above, the case where the motor overheat determination device according to the present invention is provided in an apparatus equipped with a motor such as a printing device has been described as an example. However, this is not necessarily the case. That is, the motor overheat determination device according to the present invention may exist as a single device independent of the device including the motor, or may be present as a single device independent of the motor.

<モータの駆動量について>
前述した実施の形態では、モータの駆動量として、ステップ数(step数)で表す場合を例にして説明したが、本発明にあっては、必ずしもこのような場合に限られず、他の単位、例えば、ミリメートル(mm)やセンチメートル(cm)、マイクロメートル(μm)といった単位により表されても良い。
<About the motor drive amount>
In the above-described embodiment, the case where the motor driving amount is represented by the number of steps (number of steps) has been described as an example. However, the present invention is not necessarily limited to such a case, and other units, For example, it may be expressed by a unit such as millimeter (mm), centimeter (cm), or micrometer (μm).

<情報取得部について>
前述した実施の形態では、本発明の情報取得部として、コントローラ126等が例示されていたが、本発明にあっては、必ずしもこのような場合に限らず、モータの駆動量に関する情報に関する情報を取得するのであれば、どのような情報取得部であっても構わない。例えば、外部とのデータの通信を行う通信インターフェース等も、本発明の情報取得部に含まれる場合もある。
<About the information acquisition unit>
In the above-described embodiment, the controller 126 or the like is exemplified as the information acquisition unit of the present invention. However, in the present invention, the present invention is not necessarily limited to such a case, and information related to information related to the drive amount of the motor is provided. Any information acquisition unit may be used as long as it is acquired. For example, a communication interface that performs data communication with the outside may be included in the information acquisition unit of the present invention.

<演算部について>
前述した実施の形態では、本発明の演算部として、コントローラ126が例示されていたが、本発明にあっては、必ずしもこのような場合に限らず、モータの駆動量の積算値を算出する演算や、積算値から減算値を減算する演算を実行し得る演算部であれば、どのようなものであっても、本発明の演算部に含まれる。
<About the calculation unit>
In the above-described embodiment, the controller 126 is exemplified as the calculation unit of the present invention. However, the present invention is not limited to such a case, and the calculation for calculating the integrated value of the motor drive amount is not necessarily performed. In addition, any calculation unit that can execute a calculation for subtracting a subtraction value from an integrated value is included in the calculation unit of the present invention.

<他のモータの駆動量に応じた減算値について>
前述した実施の形態では、本発明の「他のモータの駆動量に応じた減算値」(Psub)として、キャリッジモータ42の駆動量が、「1114(step)未満」の場合と、「1114(step)以上、1894(step)未満」の場合と、「1894(step)以上」の場合との3つに区分された場合を例にして説明したが、本発明にあっては、必ずしもこのように区分する場合に限らず、例えば、キャリッジモータ42の駆動量の変動に応じて適宜増減するような減算値を設定するようにしても良い。
<Subtraction value according to the drive amount of other motors>
In the above-described embodiment, as the “subtraction value according to the driving amount of another motor” (Psub) of the present invention, the driving amount of the carriage motor 42 is “less than 1114 (step)” and “1114 ( step) or more, less than 1894 (step) ”and“ 1894 (step) or more ”, and the case where it is divided into three cases has been described as an example. However, in the present invention, this is not necessarily the case. For example, a subtraction value that is appropriately increased or decreased according to a change in the drive amount of the carriage motor 42 may be set.

<所定値について>
前述した実施の形態では、本発明の所定値として、モータ(搬送モータ15)が最も過酷な条件(ワースト条件)にて駆動された場合のモータの駆動量を所定値Pdutyとして設定していたが、本発明にあっては、必ずしもこのような場合に限らず、例えば、最も過酷な条件にて駆動された場合の値よりも小さい値に設定してもよい。
また、本発明の所定値は、前述した実施の形態のように、必ずしも固定に設定される必要はない。つまり、例えば、前述した印刷装置の場合、印刷条件や印刷方式などに応じて、所定値Pdutyが変動しても良い。この他、各種条件に応じて適宜、所定値(Pduty)が変動しても良い。
<About the predetermined value>
In the above-described embodiment, as the predetermined value of the present invention, the driving amount of the motor when the motor (conveyance motor 15) is driven under the most severe condition (worst condition) is set as the predetermined value Pduty. In the present invention, the present invention is not necessarily limited to such a case. For example, the value may be set to a value smaller than the value when driven under the harshest conditions.
Further, the predetermined value of the present invention is not necessarily set to be fixed as in the above-described embodiment. That is, for example, in the case of the printing apparatus described above, the predetermined value Pduty may vary according to the printing conditions, the printing method, and the like. In addition, the predetermined value (Pduty) may be appropriately changed according to various conditions.

<駆動モードについて>
前述した実施の形態では、本発明の駆動モードとして、モータ(搬送モータ15)の駆動量に応じて、モータの加速時の加速度、定速時の速度および減速時の加速度のうちの少なくともどれか1つが異なる駆動モードについて説明していたが、本発明の駆動モードとしては、このような場合に限らない。すなわち、駆動方式等、様々な要素によって各々異なる駆動モードであっても良い。また、印刷条件や印刷状況などに応じて異なる駆動モードであっても良い。
特に、駆動モードに応じて、モータを安全に使用できる温度、制限温度に到達するまでに印刷可能な用紙の枚数が異なる場合には、駆動モード毎に減算値Psubを設定することが非常に有効に機能する。
<About drive mode>
In the above-described embodiment, as the drive mode of the present invention, at least one of acceleration at the time of acceleration of the motor, speed at constant speed, and acceleration at deceleration according to the drive amount of the motor (conveyance motor 15). Although one different driving mode has been described, the driving mode of the present invention is not limited to such a case. That is, different driving modes may be used depending on various factors such as a driving method. Further, different drive modes may be used depending on printing conditions, printing conditions, and the like.
It is very effective to set the subtraction value Psub for each drive mode, especially when the number of sheets of paper that can be printed before reaching the temperature at which the motor can be used safely and the limit temperature differs depending on the drive mode. To work.

<モータ制御装置について>
前述した実施の形態では、モータの制御装置として、印刷装置(インクジェットプリンタ1)に備えられたコントローラ126や搬送制御部130等を例にして説明したが、本発明にあっては、必ずしもこのような場合に限らず、他の形態で構成されていても構わない。また、モータの制御方法としては、前述したような制御方法に限らない。
<About motor control device>
In the embodiment described above, the controller 126 and the conveyance control unit 130 provided in the printing apparatus (inkjet printer 1) are described as examples of the motor control apparatus. However, in the present invention, this is not necessarily the case. However, the present invention is not limited to this, and may be configured in other forms. The motor control method is not limited to the control method described above.

<媒体について>
媒体Sについては、普通紙やマット紙、カット紙、光沢紙、ロール紙、用紙、写真用紙、ロールタイプ写真用紙等をはじめ、これらの他に、OHPフィルムや光沢フィルム等のフィルム材や布材、金属板材などであっても構わない。すなわち、インクの吐出対象となり得るものであれば、どのような媒体であっても構わない。
<About media>
The medium S includes plain paper, matte paper, cut paper, glossy paper, roll paper, paper, photographic paper, roll-type photographic paper, etc. In addition to these, film materials and cloth materials such as OHP film and glossy film Alternatively, a metal plate material or the like may be used. That is, any medium can be used as long as it can be an ink ejection target.

本発明に係る印刷装置の一実施形態の斜視図。1 is a perspective view of an embodiment of a printing apparatus according to the present invention. 印刷装置の内部構成を説明した斜視図。FIG. 3 is a perspective view illustrating an internal configuration of the printing apparatus. 印刷装置の搬送部を示す断面図。Sectional drawing which shows the conveyance part of a printing apparatus. 印刷装置のシステム構成を示すブロック構成図。1 is a block configuration diagram showing a system configuration of a printing apparatus. 印刷装置のヘッドの一例を示す平面図。FIG. 3 is a plan view illustrating an example of a head of a printing apparatus. 印刷処理の一例を説明するフローチャート。6 is a flowchart for explaining an example of printing processing. ロータリ式エンコーダの一例を説明した説明図。Explanatory drawing explaining an example of the rotary encoder. ロータリ式エンコーダの検出部の構成を示す構成図。The block diagram which shows the structure of the detection part of a rotary encoder. 図9Aは、正転時のリニア式エンコーダの出力波形を示したタイミングチャートであり、図9Bは、逆転時のリニア式エンコーダの出力波形を示したタイミングチャートである。FIG. 9A is a timing chart showing the output waveform of the linear encoder during forward rotation, and FIG. 9B is a timing chart showing the output waveform of the linear encoder during reverse rotation. 搬送制御部のブロック構成図。The block block diagram of a conveyance control part. 図11Aは、PWM回路に入力されるデューティ信号の時間変化のグラフであり、図11Bは、モータの速度変化のグラフ。FIG. 11A is a graph of the time change of the duty signal input to the PWM circuit, and FIG. 11B is a graph of the speed change of the motor. キャリッジ制御部のブロック構成図。The block block diagram of a carriage control part. 搬送モータの過熱判定に基づく制御例を説明する図。The figure explaining the example of control based on overheating determination of a conveyance motor. コントローラによる積算の一例を示した図。The figure which showed an example of the integration | accumulation by a controller. 図15Aは、通常時の搬送モータの駆動状況を説明した図であり、図15Bは、発熱制限時の搬送モータの駆動状況を説明した図である。FIG. 15A is a diagram illustrating a driving state of the conveyance motor at a normal time, and FIG. 15B is a diagram illustrating a driving state of the conveyance motor when heat generation is limited. 積算処理および判定処理の処理手順の一例を説明するフローチャート。The flowchart explaining an example of the process sequence of an integrating | accumulating process and a determination process. 所定値Pdutyの設定方法の一例を説明するための説明図。Explanatory drawing for demonstrating an example of the setting method of predetermined value Pduty. 本実施形態の主要な処理の概要を説明するための説明図。Explanatory drawing for demonstrating the outline | summary of the main processes of this embodiment. 減算処理の処理手順の一例を説明するフローチャート。The flowchart explaining an example of the process sequence of a subtraction process. 他の処理例の概要を説明するための説明図。Explanatory drawing for demonstrating the outline | summary of another process example. 他の処理例における演算処理の手順の一例を説明するフローチャート。The flowchart explaining an example of the procedure of the calculation process in another process example. 判定対象のモータの駆動停止期間中に、他のモータが複数回駆動された場合の駆動状況の一例を説明する図。The figure explaining an example of the drive condition in case another motor is driven in multiple times during the drive stop period of the motor for judgment. 減算値Psubを取得するためのテーブルの一例を示す図。The figure which shows an example of the table for acquiring the subtraction value Psub. 駆動モード別の制御用プロファイルの一例を説明する図。The figure explaining an example of the profile for control according to drive mode. 図25Aは、駆動モードPS0、PS1、PS2、PS3の場合の制限温度到達枚数を示し、図25Bは、駆動モードPS3、PS4、PS5、PS6の場合の制限温度到達枚数を示す。FIG. 25A shows the number of reaching the limit temperature in the driving modes PS0, PS1, PS2, and PS3, and FIG. 25B shows the number of reaching the limit temperature in the driving modes PS3, PS4, PS5, and PS6. モータの駆動モード別及び停止時間別の制限温度到達枚数を示す表。The table | surface which shows the limit temperature reach | attainment number according to the drive mode and stop time of a motor. 減算値の取得手順の一例を説明するフローチャート。The flowchart explaining an example of the acquisition procedure of a subtraction value. 従来と本実施形態とにおける積算値の増え方の相違を説明する図。The figure explaining the difference in the increase method of the integrated value in the past and this embodiment.

符号の説明Explanation of symbols

1 インクジェットプリンタ、2 操作パネル、3 排紙部、4 給紙部、
5 操作ボタン、6 表示ランプ、7 排紙トレー、8 給紙トレー、
11A 紙挿入口、11B ロール紙挿入口、13 給紙ローラ、14 プラテン、
15 搬送モータ、17A 搬送ローラ、17B 排紙ローラ、
18A フリーローラ、18B フリーローラ、21 ヘッド、
30 クリーニングユニット、31 ポンプ装置、35 キャッピング装置、
41 キャリッジ、42 キャリッジモータ、44 プーリ、45 タイミングベルト、
46 ガイドレール、48 インクカートリッジ、49 カートリッジ装着部、
51 リニア式エンコーダ、53 紙検知センサ、122 バッファメモリ、
124 イメージバッファ、126 コントローラ、127 メインメモリ、
128 キャリッジモータ制御部、129 EEPROM、130 搬送制御部、
132 ヘッド駆動部、134 ロータリ式エンコーダ、140 コンピュータ、
211Y ノズル群、211C ノズル群、211M ノズル群、211K ノズル群、
331 位置演算部、332 減算器、333 ゲイン、334 速度演算部、
335 減算器、336A 比例要素、336B 積分要素、336C 微分要素、
337 加算器、338 PWM回路、339A 加速制御部、339B タイマ、
340 ドライバ、402 ロータリ式エンコーダ符号板、404 検出部、
406 スリット、408 大歯車、410 小歯車、412 発光ダイオード、
414 コリメータレンズ、416 検出処理部、418 フォトダイオード、
420 信号処理回路、422A コンパレータ、422B コンパレータ、
431 位置演算部、432 減算器、433 ゲイン、434 速度演算部、
435 減算器、436A 比例要素、436B 積分要素、436C 微分要素、
437 加算器、438 PWM回路、439A 加速制御部、439B タイマ、
440 ドライバ、511 リニア式エンコーダ符号板、S 媒体
1 Inkjet printer, 2 operation panel, 3 paper discharge unit, 4 paper supply unit,
5 operation buttons, 6 indicator lamps, 7 paper discharge tray, 8 paper feed tray,
11A paper insertion slot, 11B roll paper insertion slot, 13 paper feed roller, 14 platen,
15 Conveyance motor, 17A Conveyance roller, 17B Discharge roller,
18A free roller, 18B free roller, 21 heads,
30 cleaning unit, 31 pump device, 35 capping device,
41 Carriage, 42 Carriage motor, 44 Pulley, 45 Timing belt,
46 guide rail, 48 ink cartridge, 49 cartridge mounting part,
51 linear encoder, 53 paper detection sensor, 122 buffer memory,
124 image buffer, 126 controller, 127 main memory,
128 Carriage motor controller, 129 EEPROM, 130 Transport controller,
132 head drive unit, 134 rotary encoder, 140 computer,
211Y nozzle group, 211C nozzle group, 211M nozzle group, 211K nozzle group,
331 Position calculation unit, 332 subtractor, 333 gain, 334 speed calculation unit,
335 subtractor, 336A proportional element, 336B integral element, 336C differential element,
337 Adder, 338 PWM circuit, 339A acceleration control unit, 339B timer,
340 driver, 402 rotary encoder code plate, 404 detector,
406 slit, 408 large gear, 410 small gear, 412 light emitting diode,
414 collimator lens, 416 detection processing unit, 418 photodiode,
420 signal processing circuit, 422A comparator, 422B comparator,
431 Position calculation unit, 432 subtractor, 433 gain, 434 speed calculation unit,
435 subtractor, 436A proportional element, 436B integral element, 436C differential element,
437 adder, 438 PWM circuit, 439A acceleration control unit, 439B timer,
440 driver, 511 linear encoder code plate, S medium

Claims (15)

判定対象のモータの駆動量に関する情報と、前記判定対象のモータと交互に駆動される他のモータの駆動量に関する情報とを取得する情報取得部と、
前記情報取得部が取得した前記判定対象のモータの駆動量に関する情報に基づき前記判定対象のモータの駆動量を逐次積算して積算値を算出する演算と、前記情報取得部が取得した前記他のモータの駆動量に関する情報に基づき取得された前記他のモータの駆動量に応じた減算値を前記積算値から減算する演算とを実行する演算部と、
前記演算部により減算された積算値が所定値に達したときに、前記判定対象のモータが過熱状態にあると判定する判定部と、
を備えたことを特徴とするモータの過熱判定装置。
An information acquisition unit for acquiring information on a driving amount of a determination target motor and information on a driving amount of another motor driven alternately with the determination target motor;
An operation for calculating an integrated value by sequentially integrating the driving amount of the determination target motor based on information regarding the driving amount of the determination target motor acquired by the information acquisition unit, and the other information acquired by the information acquisition unit An arithmetic unit that performs an operation of subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on information on the driving amount of the motor from the integrated value;
A determination unit that determines that the determination target motor is in an overheated state when the integrated value subtracted by the calculation unit reaches a predetermined value;
An overheat determination device for a motor, comprising:
前記判定対象のモータの駆動量に関する情報は、前記判定対象のモータの駆動毎に前記情報取得部により取得されることを特徴とする請求項1に記載のモータの過熱判定装置。   The motor overheat determination device according to claim 1, wherein the information regarding the drive amount of the determination target motor is acquired by the information acquisition unit every time the determination target motor is driven. 前記判定対象のモータの駆動量に関する情報は、前記判定対象のモータがその駆動量に基づき駆動される前に前記情報取得部により取得されることを特徴とする請求項1または2に記載のモータの過熱判定装置。   3. The motor according to claim 1, wherein the information on the driving amount of the determination target motor is acquired by the information acquisition unit before the determination target motor is driven based on the driving amount. Overheat judgment device. 前記演算部は、前記判定対象のモータの駆動が停止してから所定時間経過する毎に、前記積算値から所定値を減算する演算を実行することを特徴とする請求項1〜3のいずれか1項に記載のモータの過熱判定装置。   4. The calculation unit according to claim 1, wherein the calculation unit performs a calculation of subtracting a predetermined value from the integrated value every time a predetermined time elapses after driving of the determination target motor is stopped. The overheat determination device for a motor according to item 1. 前記判定対象のモータが前記判定部により過熱状態にあると判定されたときに、前記判定対象のモータの駆動が制限されることを特徴とする請求項1〜4のいずれか1項に記載のモータの過熱判定装置。   5. The driving of the determination target motor is limited when the determination target motor is determined to be in an overheated state by the determination unit. 6. Motor overheat determination device. 前記他のモータの駆動量と、前記減算値とが対応付けられたテーブルを備えたことを特徴とする請求項1〜5のいずれか1項に記載のモータの過熱判定装置。   The motor overheat determination device according to any one of claims 1 to 5, further comprising a table in which the driving amount of the other motor and the subtraction value are associated with each other. 前記情報取得部は、前記判定対象のモータの駆動モードに関する情報を取得し、
前記減算値は、前記情報取得部が取得した前記駆動モードに関する情報および前記他のモータの駆動量に関する情報に基づき取得されることを特徴とする請求項1〜6のいずれか1項に記載のモータの過熱判定装置。
The information acquisition unit acquires information on a driving mode of the determination target motor,
The said subtraction value is acquired based on the information regarding the said drive mode which the said information acquisition part acquired, and the information regarding the drive amount of the said other motor, The any one of Claims 1-6 characterized by the above-mentioned. Motor overheat determination device.
前記判定対象のモータは、前記駆動モードに応じて、加速時の加速度、定速時の速度および減速時の加速度のうちの少なくともいずれか1つが異なることを特徴とする請求項7に記載のモータの過熱判定装置。   The motor according to claim 7, wherein the determination target motor has at least one of acceleration at acceleration, speed at constant speed, and acceleration at deceleration depending on the drive mode. Overheat judgment device. 判定対象のモータの駆動量に関する情報と、前記判定対象のモータと交互に駆動される他のモータの駆動量に関する情報とを取得する情報取得部と、
前記情報取得部が取得した前記判定対象のモータの駆動量に関する情報に基づき前記判定対象のモータの駆動量を逐次積算して積算値を算出する演算と、前記情報取得部が取得した前記他のモータの駆動量に関する情報に基づき取得された前記他のモータの駆動量に応じた減算値を前記積算値から減算する演算とを実行する演算部と、
前記演算部により減算された積算値が所定値に達したときに、前記判定対象のモータが過熱状態にあると判定する判定部とを備え、
前記判定対象のモータの駆動量に関する情報は、前記判定対象のモータの駆動毎に前記情報取得部により取得されるとともに、前記モータがその駆動量に基づき駆動される前に前記情報取得部により取得され、
前記演算部は、前記判定対象のモータの駆動が停止してから所定時間経過する毎に、前記積算値から所定値を減算する演算を実行し、
前記判定対象のモータが前記判定部により過熱状態にあると判定されたときに、前記判定対象のモータの駆動が制限され、
前記他のモータの駆動量と、前記減算値とが対応付けられたテーブルを備え、
前記情報取得部は、前記モータの駆動モードに関する情報を取得し、
前記減算値は、前記情報取得部が取得した前記駆動モードに関する情報および前記他のモータの駆動量に関する情報に基づき取得され、
前記判定対象のモータは、前記駆動モードに応じて、加速時の加速度、定速時の速度および減速時の加速度のうちの少なくともいずれか1つが異なることを特徴とするモータの過熱判定装置。
An information acquisition unit for acquiring information on a driving amount of a determination target motor and information on a driving amount of another motor driven alternately with the determination target motor;
An operation for calculating an integrated value by sequentially integrating the driving amount of the determination target motor based on information regarding the driving amount of the determination target motor acquired by the information acquisition unit, and the other information acquired by the information acquisition unit An arithmetic unit that performs an operation of subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on information on the driving amount of the motor from the integrated value;
A determination unit that determines that the determination target motor is in an overheated state when the integrated value subtracted by the calculation unit reaches a predetermined value;
Information on the driving amount of the determination target motor is acquired by the information acquisition unit every time the determination target motor is driven, and is acquired by the information acquisition unit before the motor is driven based on the driving amount. And
The calculation unit performs a calculation of subtracting a predetermined value from the integrated value every time a predetermined time has elapsed after the driving of the determination target motor is stopped,
When the determination target motor is determined to be in an overheated state by the determination unit, driving of the determination target motor is limited,
A table in which the driving amount of the other motor is associated with the subtraction value;
The information acquisition unit acquires information on the drive mode of the motor,
The subtraction value is acquired based on information on the drive mode acquired by the information acquisition unit and information on the drive amount of the other motor,
The motor determination apparatus according to claim 1, wherein the determination target motor has at least one of acceleration at acceleration, speed at constant speed, and acceleration at deceleration according to the drive mode.
判定対象のモータの駆動量に関する情報を取得するステップと、
前記判定対象のモータと交互に駆動される他のモータの駆動量に関する情報を取得するステップと、
取得した前記判定対象のモータの駆動量に関する情報に基づき前記判定対象のモータの駆動量を逐次積算して積算値を算出するステップと、
取得した前記他のモータの駆動量に関する情報に基づき取得された前記他のモータの駆動量に応じた減算値を前記積算値から減算するステップと、
減算された前記積算値が所定値に達したときに、前記判定対象のモータが過熱状態にあると判定するステップと、
を有することを特徴とするモータの過熱判定方法。
Obtaining information on the driving amount of the motor to be determined;
Obtaining information relating to the drive amount of another motor driven alternately with the determination target motor;
Calculating the integrated value by sequentially integrating the drive amount of the determination target motor based on the acquired information on the drive amount of the determination target motor;
Subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on the acquired information on the driving amount of the other motor from the integrated value;
Determining that the determination target motor is in an overheated state when the subtracted integrated value reaches a predetermined value;
A method for determining overheating of a motor, comprising:
判定対象のモータの駆動量に関する情報を取得するステップと、
前記判定対象のモータと交互に駆動される他のモータの駆動量に関する情報を取得するステップと、
取得した前記判定対象のモータの駆動量に関する情報に基づき前記判定対象のモータの駆動量を逐次積算して積算値を算出するステップと、
取得した前記他のモータの駆動量に関する情報に基づき取得された前記他のモータの駆動量に応じた減算値を前記積算値から減算するステップと、
減算された前記積算値が所定値に達したときに、前記判定対象のモータが過熱状態にあると判定するステップと、
を実行することを特徴とするモータの過熱判定プログラム。
Obtaining information on the driving amount of the motor to be determined;
Obtaining information relating to the drive amount of another motor driven alternately with the determination target motor;
Calculating the integrated value by sequentially integrating the drive amount of the determination target motor based on the acquired information on the drive amount of the determination target motor;
Subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on the acquired information on the driving amount of the other motor from the integrated value;
Determining that the determination target motor is in an overheated state when the subtracted integrated value reaches a predetermined value;
A motor overheating determination program characterized by executing
制御対象のモータの駆動量に関する情報と、前記制御対象のモータと交互に駆動される他のモータの駆動量に関する情報とを取得する情報取得部と、
前記情報取得部が取得した前記制御対象のモータの駆動量に関する情報に基づき前記制御対象のモータの駆動量を逐次積算して積算値を算出する演算と、前記情報取得部が取得した前記他のモータの駆動量に関する情報に基づき取得された前記他のモータの駆動量に応じた減算値を前記積算値から減算する演算とを実行する演算部と、
前記演算部により減算された積算値が所定値に達したときに、前記制御対象のモータが過熱状態にあると判定する判定部と、
前記制御対象のモータの駆動を制御し、かつ前記判定部により前記制御対象のモータが過熱状態にあると判定されたときに、前記制御対象のモータの駆動を制限するコントローラと、
を備えたことを特徴とするモータ制御装置。
An information acquisition unit that acquires information on the drive amount of the motor to be controlled and information on the drive amount of another motor that is driven alternately with the motor to be controlled;
An operation for calculating the integrated value by sequentially integrating the drive amount of the motor to be controlled based on the information on the drive amount of the motor to be controlled acquired by the information acquisition unit, and the other acquired by the information acquisition unit An arithmetic unit that performs an operation of subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on information on the driving amount of the motor from the integrated value;
A determination unit that determines that the motor to be controlled is in an overheated state when the integrated value subtracted by the calculation unit reaches a predetermined value;
A controller that controls the drive of the control target motor and controls the drive of the control target motor when the determination unit determines that the control target motor is in an overheated state;
A motor control device comprising:
制御対象のモータの駆動量に関する情報を取得するステップと、
前記制御対象のモータと交互に駆動される他のモータの駆動量に関する情報を取得するステップと、
取得した前記制御対象のモータの駆動量に関する情報に基づき前記制御対象のモータの駆動量を逐次積算して積算値を算出するステップと、
取得した前記他のモータの駆動量に関する情報に基づき取得された前記他のモータの駆動量に応じた減算値を前記積算値から減算するステップと、
減算された前記積算値が所定値に達したときに、前記制御対象のモータが過熱状態にあると判定するステップと、
前記制御対象のモータが過熱状態にあると判定されたときに、前記制御対象のモータの駆動を制限するステップと、
を有することを特徴とするモータ制御方法。
Obtaining information on the drive amount of the motor to be controlled;
Obtaining information relating to the drive amount of another motor driven alternately with the motor to be controlled;
Calculating the integrated value by sequentially integrating the drive amount of the control target motor based on the acquired information on the drive amount of the control target motor;
Subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on the acquired information on the driving amount of the other motor from the integrated value;
Determining that the motor to be controlled is in an overheated state when the subtracted integrated value reaches a predetermined value;
Limiting the drive of the control target motor when it is determined that the control target motor is in an overheat state; and
A motor control method characterized by comprising:
媒体に対して印刷を施す印刷部と、
交互に駆動される2つのモータと、
前記モータの駆動量に関する情報を各々取得する情報取得部と、
前記情報取得部が取得した一方のモータの駆動量に関する情報に基づき前記一方のモータの駆動量を逐次積算して積算値を算出する演算と、前記情報取得部が取得した他方のモータの駆動量に関する情報に基づき取得された前記他方のモータの駆動量に応じた減算値を前記積算値から減算する演算とを実行する演算部と、
前記演算部により減算された積算値が所定値に達したときに、前記一方のモータが過熱状態にあると判定する判定部と、
を備えたことを特徴とする印刷装置。
A printing section for printing on the medium;
Two motors driven alternately,
An information acquisition unit for acquiring information related to the drive amount of the motor;
Based on information about the driving amount of one motor acquired by the information acquisition unit, an operation for calculating the integrated value by sequentially integrating the driving amount of the one motor, and the driving amount of the other motor acquired by the information acquisition unit An arithmetic unit that performs an operation of subtracting a subtraction value corresponding to the driving amount of the other motor acquired based on the information on the integrated value from the integrated value;
A determination unit that determines that the one motor is in an overheated state when the integrated value subtracted by the calculation unit reaches a predetermined value;
A printing apparatus comprising:
前記モータが、前記印刷部により印刷される媒体を搬送するためのモータと、媒体に対して印刷を施す印刷部を前記媒体に対して相対的に移動させるためのモータとであることを特徴とする請求項14に記載の印刷装置。
The motor is a motor for conveying a medium to be printed by the printing unit, and a motor for moving a printing unit that performs printing on the medium relative to the medium. The printing apparatus according to claim 14.
JP2004206354A 2004-07-13 2004-07-13 Motor overheat determination device, motor overheat determination method, motor overheat determination program, motor control device, motor control method, and printing apparatus Expired - Fee Related JP4552543B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004206354A JP4552543B2 (en) 2004-07-13 2004-07-13 Motor overheat determination device, motor overheat determination method, motor overheat determination program, motor control device, motor control method, and printing apparatus
US11/181,195 US7222050B2 (en) 2004-07-13 2005-07-13 Apparatus for determining overheating of motor, method for determining overheating of motor, computer-readable medium, motor control apparatus, motor control method, and printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004206354A JP4552543B2 (en) 2004-07-13 2004-07-13 Motor overheat determination device, motor overheat determination method, motor overheat determination program, motor control device, motor control method, and printing apparatus

Publications (2)

Publication Number Publication Date
JP2006033944A true JP2006033944A (en) 2006-02-02
JP4552543B2 JP4552543B2 (en) 2010-09-29

Family

ID=35899612

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004206354A Expired - Fee Related JP4552543B2 (en) 2004-07-13 2004-07-13 Motor overheat determination device, motor overheat determination method, motor overheat determination program, motor control device, motor control method, and printing apparatus

Country Status (1)

Country Link
JP (1) JP4552543B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008032176A (en) * 2006-07-31 2008-02-14 Denso Corp Control device of range switching mechanism
JP2008083578A (en) * 2006-09-28 2008-04-10 Fuji Xerox Co Ltd Image forming apparatus
JP2010193622A (en) * 2009-02-18 2010-09-02 Aisin Seiki Co Ltd Movable body driving device for vehicle
US10236286B2 (en) 2014-01-14 2019-03-19 Mie Fujitsu Semiconductor Limited Semiconductor integrated circuit apparatus and manufacturing method for same
JP2020150771A (en) * 2019-03-15 2020-09-17 コニカミノルタ株式会社 Sheet transfer device and image reading device including the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63276203A (en) * 1987-05-08 1988-11-14 Canon Inc Actuator control device
JP2003079186A (en) * 2001-08-30 2003-03-14 Seiko Epson Corp Method and apparatus for controlling motor of printer
JP2004090267A (en) * 2002-08-29 2004-03-25 Canon Inc Recorder and its controlling method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63276203A (en) * 1987-05-08 1988-11-14 Canon Inc Actuator control device
JP2003079186A (en) * 2001-08-30 2003-03-14 Seiko Epson Corp Method and apparatus for controlling motor of printer
JP2004090267A (en) * 2002-08-29 2004-03-25 Canon Inc Recorder and its controlling method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008032176A (en) * 2006-07-31 2008-02-14 Denso Corp Control device of range switching mechanism
JP2008083578A (en) * 2006-09-28 2008-04-10 Fuji Xerox Co Ltd Image forming apparatus
JP2010193622A (en) * 2009-02-18 2010-09-02 Aisin Seiki Co Ltd Movable body driving device for vehicle
US10236286B2 (en) 2014-01-14 2019-03-19 Mie Fujitsu Semiconductor Limited Semiconductor integrated circuit apparatus and manufacturing method for same
JP2020150771A (en) * 2019-03-15 2020-09-17 コニカミノルタ株式会社 Sheet transfer device and image reading device including the same

Also Published As

Publication number Publication date
JP4552543B2 (en) 2010-09-29

Similar Documents

Publication Publication Date Title
US7222050B2 (en) Apparatus for determining overheating of motor, method for determining overheating of motor, computer-readable medium, motor control apparatus, motor control method, and printing apparatus
JP2001232882A (en) Printing control device and printing control method
JP4543939B2 (en) Correction value calculation method and printer manufacturing method
JP4552543B2 (en) Motor overheat determination device, motor overheat determination method, motor overheat determination program, motor control device, motor control method, and printing apparatus
JP4552544B2 (en) Motor overheat determination device, motor overheat determination method, motor overheat determination program, motor control device, motor control method, and printing apparatus
JP4543967B2 (en) Motor control device and printing device
JP2013215914A (en) Recording device, drive control method of recording device, and drive control program of recording device
JP2007152608A (en) Image forming apparatus
JP2006281553A (en) Printer, method of detecting stick slip, program, and printing system
JP2006312286A (en) Printer, method of detecting stick slip, program, and printing system
JP2008001049A (en) Inkjet printer and method of controlling its carrying motor
JP4483812B2 (en) Printing apparatus, stick-slip handling method, program, and printing system
JP2006272762A (en) Printer, printing method, and program
JP2005231243A (en) Printer controller, method of controlling printer, and printer
JP2006312285A (en) Printer, method of detecting stick slip, program, and printing system
JP2007253542A (en) Printer, method for responding to stick slip, program, and printing system
JP2007245476A (en) Printer, method for responding to stick slip, program, and printing system
JP2006281554A (en) Printer, method of detecting stick slip, program and printing system
JP2006272764A (en) Printer and printing method
JP5281850B2 (en) Image recording apparatus, image recording apparatus control method, and program thereof
JP4586665B2 (en) Printing apparatus, stick-slip handling method, program, and printing system
JP4635771B2 (en) Printing apparatus, stick-slip handling method, program, and printing system
JP4586659B2 (en) Printing apparatus, stick-slip handling method, program, and printing system
JP2005178142A (en) Printer control device, printer control method and printer
JP4529819B2 (en) Printing apparatus, stick-slip handling method, program, and printing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100316

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100406

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100526

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100622

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100705

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130723

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4552543

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees