JP2006255899A - Recording apparatus and method for controlling motor in recording apparatus - Google Patents

Recording apparatus and method for controlling motor in recording apparatus Download PDF

Info

Publication number
JP2006255899A
JP2006255899A JP2005072296A JP2005072296A JP2006255899A JP 2006255899 A JP2006255899 A JP 2006255899A JP 2005072296 A JP2005072296 A JP 2005072296A JP 2005072296 A JP2005072296 A JP 2005072296A JP 2006255899 A JP2006255899 A JP 2006255899A
Authority
JP
Japan
Prior art keywords
temperature
recording
motor
timing belt
paper feed
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.)
Pending
Application number
JP2005072296A
Other languages
Japanese (ja)
Inventor
Akihiko Noguchi
昭彦 野口
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 JP2005072296A priority Critical patent/JP2006255899A/en
Publication of JP2006255899A publication Critical patent/JP2006255899A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To exactly tackle a problem caused by change of temperature of a timing belt in a recording apparatus having a system to be driven by a motor and transmitting the power of the motor to the system to be driven by the timing belt. <P>SOLUTION: In a printer having a constitution for transmitting the power of a paper feeding motor 60 to a carrying mechanism part 30B through the timing belt 62, when a recording operation for recording an image on a recording paper 20 is executed, the temperature of the paper feeding motor 60 is detected by a temperature detecting part 69, and based on the temperature detected and an initial load of the paper feeding motor 60, a constant used for controlling the paper feeding motor 60 is established. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、モータを備えた記録装置、及び、この記録装置におけるモータ制御方法に関する。   The present invention relates to a recording apparatus including a motor and a motor control method in the recording apparatus.

一般に、記録媒体に画像を記録する記録装置において、記録媒体の搬送動作(いわゆる紙送り)を行う搬送機構は、動力源としての搬送モータと、記録媒体に当接する複数の搬送ローラと、搬送モータの駆動力を搬送ローラに伝達するギア等を備えている。そして、搬送モータの制御方法としては、モータの駆動負荷を予め測定し、この測定により得られた駆動負荷に応じた制御を行う例が知られている(例えば、特許文献1参照。)。
特開2003−23783号公報
In general, in a recording apparatus that records an image on a recording medium, a conveying mechanism that performs a conveying operation (so-called paper feeding) of the recording medium includes a conveying motor as a power source, a plurality of conveying rollers that contact the recording medium, and a conveying motor. A gear for transmitting the driving force to the conveying roller. As a method for controlling the transport motor, an example is known in which the driving load of the motor is measured in advance, and control according to the driving load obtained by this measurement is performed (see, for example, Patent Document 1).
JP 2003-23783 A

ところで、最近、搬送機構において、タイミングベルトを介して搬送モータの動力を搬送ローラに伝達する機構が採用されるようになった。タイミングベルトは、その強度及び耐久性の面で、ガラス繊維を含む材料で作られたものが好適とされている。しかしながら、ガラス繊維を含むタイミングベルトは、その温度が上昇するにつれて収縮するという特性を有する。従って、記録装置の動作中に、タイミングベルトの摩擦により生じる熱や搬送モータから伝わる熱によってタイミングベルトが加熱され、タイミングベルトが収縮して、搬送モータに加わる負荷が増大することがあった。この場合、タイミングベルトの温度が上昇するにつれて、予め測定された駆動負荷と、実際に搬送モータに加わっている駆動負荷との間に差が生じてしまうので、搬送動作の精度の低下が懸念される。このため、従来は、タイミングベルトや搬送モータの温度が所定の温度を超える可能性がある場合に、搬送モータの動作を制限することで精度の低下を回避していたが、この方法ではスループットが低下してしまう。従って、より高速かつ高精度の記録装置を実現するために、搬送モータの動作を制限することなく、タイミングベルトの変化に対応するための手法が求められていた。   Recently, a mechanism for transmitting the power of the transport motor to the transport roller via a timing belt has been adopted in the transport mechanism. The timing belt is preferably made of a material containing glass fiber in terms of strength and durability. However, timing belts containing glass fibers have the property of shrinking as their temperature increases. Therefore, during the operation of the recording apparatus, the timing belt is heated by the heat generated by the friction of the timing belt or the heat transmitted from the transport motor, and the timing belt contracts, and the load applied to the transport motor may increase. In this case, as the temperature of the timing belt rises, there is a difference between the drive load measured in advance and the drive load actually applied to the transport motor, so there is a concern that the accuracy of the transport operation may decrease. The For this reason, conventionally, when there is a possibility that the temperature of the timing belt or the conveyance motor may exceed a predetermined temperature, the reduction of accuracy is avoided by restricting the operation of the conveyance motor. It will decline. Therefore, in order to realize a higher-speed and higher-precision recording apparatus, a method for responding to changes in the timing belt without limiting the operation of the transport motor has been required.

そこで本発明は、モータにより駆動される被駆動系を有し、タイミングベルトによってモータの動力を被駆動系に伝達する記録装置において、タイミングベルトの温度変化に対して的確に対応できるようにすることを目的とする。   SUMMARY OF THE INVENTION Accordingly, the present invention provides a recording apparatus having a driven system driven by a motor and transmitting the power of the motor to the driven system by a timing belt so as to accurately cope with a temperature change of the timing belt. With the goal.

上記課題を解決するため、本発明は、モータと、このモータの動力を被駆動系に伝達するタイミングベルトと、パラメータを用いた演算処理を行って前記モータの動作を制御する制御手段とを備え、記録媒体に画像を記録する記録動作を行う記録装置において、前記タイミングベルトの温度、或いは、前記タイミングベルトの温度に相関を有する温度を検出する温度検出手段を備え、前記制御手段は、前記記録動作を実行する際に、前記温度検出手段によって検出された温度と、前記モータの初期駆動負荷とに基づいて、前記パラメータを設定することを特徴とする。   In order to solve the above-described problems, the present invention includes a motor, a timing belt that transmits the power of the motor to a driven system, and a control unit that performs arithmetic processing using parameters to control the operation of the motor. In the recording apparatus that performs a recording operation for recording an image on a recording medium, the recording apparatus includes a temperature detecting unit that detects the temperature of the timing belt or a temperature correlated with the temperature of the timing belt, and the control unit includes the recording unit In executing the operation, the parameter is set based on a temperature detected by the temperature detecting means and an initial driving load of the motor.

本発明によれば、モータと、このモータの動力を被駆動系に伝達するタイミングベルトと、パラメータを用いた演算処理を行ってモータの動作を制御する制御手段とを備え、記録媒体に画像を記録する記録動作を行う記録装置において、記録動作を実行する際に、タイミングベルトの温度、或いは、タイミングベルトの温度に相関を有する温度を検出し、検出された温度とモータの初期駆動負荷とに基づいてパラメータを設定するので、例えば大量の記録媒体に対して記録を行う場合等に、タイミングベルトの温度変化によってタイミングベルトの状態が変化したとしても、この変化を加味した最適なパラメータを設定することにより、モータを的確に制御することができ、スループットを低下させるようなモータの動作制限を行うことなく高い動作精度を維持できる。   According to the present invention, a motor, a timing belt that transmits the power of the motor to a driven system, and a control unit that performs arithmetic processing using parameters to control the operation of the motor are provided, and an image is recorded on a recording medium. When performing a recording operation in a recording apparatus that performs a recording operation, the temperature of the timing belt or a temperature correlated with the temperature of the timing belt is detected, and the detected temperature and the initial driving load of the motor are detected. Since the parameters are set based on this, even when recording is performed on a large number of recording media, even if the timing belt changes due to the temperature change of the timing belt, the optimum parameters are set taking this change into account. Therefore, it is possible to control the motor accurately without limiting the operation of the motor to reduce the throughput. The stomach operation accuracy can be maintained.

本発明において、前記制御手段は、PID(Proportional, Integral, Differential)制御を含む方法により前記モータの動作を制御するものであって、前記パラメータは、前記PID制御における比例項定数と、積分項定数と、微分項定数とを含むものとしてもよい。   In the present invention, the control means controls the operation of the motor by a method including PID (Proportional, Integral, Differential) control, and the parameters include a proportional term constant and an integral term constant in the PID control. And a differential term constant.

この場合、制御手段は、モータの動作に係るPID制御を行う際の比例項定数と、積分項定数と、微分項定数とを、タイミングベルトの温度或いはタイミングベルトの温度に相関を有する温度と初期駆動負荷とに基づいて設定するので、タイミングベルトの温度変化によりタイミングベルトの状態が変化したとしても、この変化を加味した最適なパラメータを設定することにより、モータを的確に制御することができる。   In this case, the control means sets the proportional term constant, the integral term constant, and the derivative term constant when performing the PID control related to the operation of the motor, the temperature that correlates with the temperature of the timing belt or the temperature of the timing belt, and the initial value. Since the setting is based on the driving load, even if the state of the timing belt changes due to the temperature change of the timing belt, the motor can be accurately controlled by setting the optimum parameters taking this change into account.

また、本発明において、前記制御手段は、前記タイミングベルトの温度域と前記初期駆動負荷とに対応づけて、前記パラメータを記憶する記憶手段を備え、前記記録動作を実行する際に、前記温度検出手段により検出された温度に対応する温度域と、前記初期駆動負荷とに基づいて、前記記憶手段に記憶された前記パラメータを読み出して設定するものとしてもよい。   In the present invention, the control means includes storage means for storing the parameters in association with the temperature range of the timing belt and the initial driving load, and the temperature detection is performed when the recording operation is performed. The parameter stored in the storage means may be read and set based on the temperature range corresponding to the temperature detected by the means and the initial driving load.

この場合、制御手段は、記録動作を実行する際に、タイミングベルトの温度域と初期駆動負荷とに対応づけて記憶されたパラメータを、温度検出手段により検出された温度に対応する温度域と初期駆動負荷とに基づいて読み出して設定するので、タイミングベルトの温度変化に起因するタイミングベルトの状態変化に対応可能な記録装置を、シンプルな構成によって容易に実現可能である。また、パラメータの設定に係る動作を高速に行うことが可能となる。   In this case, when executing the recording operation, the control means uses the parameters stored in association with the temperature range of the timing belt and the initial drive load as the temperature range corresponding to the temperature detected by the temperature detection means and the initial value. Since the data is read and set based on the driving load, a recording apparatus that can cope with a change in the state of the timing belt caused by a change in the temperature of the timing belt can be easily realized with a simple configuration. In addition, the operation related to the parameter setting can be performed at high speed.

さらに、本発明において、前記制御手段は、前記記録動作の実行中において改ページ動作を行う毎に、前記温度検出手段により検出された温度と前記初期駆動負荷とに基づいて前記パラメータを設定するものとしてもよい。   Further, in the present invention, the control means sets the parameter based on the temperature detected by the temperature detection means and the initial driving load each time a page break operation is performed during execution of the recording operation. It is good.

この場合、制御手段は、記録動作の実行中において改ページ動作を行う毎に、温度検出手段により検出された温度と初期駆動負荷とに基づいてパラメータを設定するので、一つのページを記録する間はパラメータが変更されず、ページ内の記録品質が均一に保たれるという利点がある。さらに、パラメータを設定する頻度が適度に少ないため、タイミングベルトの温度変化に起因するタイミングベルトの状態変化に対応しつつ、スループットを低下させないという利点がある。   In this case, the control unit sets the parameter based on the temperature detected by the temperature detection unit and the initial driving load every time a page break operation is performed during the execution of the recording operation. Has the advantage that the parameters are not changed and the recording quality within the page is kept uniform. Furthermore, since the frequency of setting the parameters is moderately low, there is an advantage that throughput is not reduced while responding to a change in the state of the timing belt due to a change in the temperature of the timing belt.

また、本発明において、前記制御手段は、前記記録動作の実行中において改行動作を行う毎に、前記温度検出手段により検出された温度と前記初期駆動負荷とに基づいて前記パラメータを設定するものとしてもよい。   In the present invention, the control unit sets the parameter based on the temperature detected by the temperature detection unit and the initial driving load every time a line feed operation is performed during execution of the recording operation. Also good.

この場合、制御手段は、記録動作の実行中において改行動作を行う毎に、温度検出手段により検出された温度と初期駆動負荷とに基づいてパラメータを設定するので、高い頻度でパラメータの設定を行うことにより、タイミングベルトの温度変化に起因するタイミングベルトの状態変化に対し、迅速に対応できる。   In this case, the control unit sets the parameter based on the temperature detected by the temperature detection unit and the initial driving load every time a line feed operation is performed during the execution of the recording operation. Thus, it is possible to quickly cope with a change in the state of the timing belt caused by a change in the temperature of the timing belt.

さらにまた、本発明において、前記温度検出手段は、前記タイミングベルトの温度に相関を有する温度として前記モータの温度を検出するものとしてもよい。   Furthermore, in the present invention, the temperature detecting means may detect the temperature of the motor as a temperature having a correlation with the temperature of the timing belt.

この場合、温度検出手段は、タイミングベルトの温度に相関を有する温度としてモータの温度を検出するので、タイミングベルトの温度変化に起因するタイミングベルトの状態変化に対応可能な記録装置を、簡単な構成によって容易に実現できる。   In this case, since the temperature detection means detects the temperature of the motor as a temperature having a correlation with the temperature of the timing belt, a recording device that can cope with the timing belt state change caused by the temperature change of the timing belt has a simple configuration. Can be easily realized.

本発明は、モータと、このモータの動力を被駆動系に伝達するタイミングベルトとを備えた記録装置において、パラメータを用いた演算処理を行って前記モータの動作を制御するモータ制御方法であって、前記記録動作を実行する際に、前記タイミングベルトの温度、或いは、前記タイミングベルトの温度に相関を有する温度を検出し、検出した温度と、前記モータの初期駆動負荷とに基づいて、前記パラメータを設定することを特徴とする。   The present invention provides a motor control method for controlling operation of a motor by performing arithmetic processing using parameters in a recording apparatus including a motor and a timing belt that transmits the power of the motor to a driven system. When performing the recording operation, the temperature of the timing belt or a temperature correlated with the temperature of the timing belt is detected, and the parameter is determined based on the detected temperature and the initial driving load of the motor. Is set.

本発明によれば、モータと、このモータの動力を被駆動系に伝達するタイミングベルトと、パラメータを用いた演算処理を行ってモータの動作を制御する制御手段とを備え、記録媒体に画像を記録する記録動作を行う記録装置において、記録動作を実行する際に、タイミングベルトの温度、或いは、タイミングベルトの温度に相関を有する温度を検出し、検出された温度とモータの初期駆動負荷とに基づいてパラメータを設定するので、タイミングベルトの温度変化によってタイミングベルトの状態が変化したとしても、この変化を加味した最適なパラメータを設定することにより、モータを的確に制御することができ、高い精度で動作させることが可能である。   According to the present invention, a motor, a timing belt that transmits the power of the motor to a driven system, and a control unit that performs arithmetic processing using parameters to control the operation of the motor are provided, and an image is recorded on a recording medium. When performing a recording operation in a recording apparatus that performs a recording operation, the temperature of the timing belt or a temperature correlated with the temperature of the timing belt is detected, and the detected temperature and the initial driving load of the motor are detected. Since the parameters are set based on the timing belt, even if the timing belt changes due to the temperature change of the timing belt, it is possible to accurately control the motor by setting the optimal parameters that take this change into account. It is possible to operate with.

本発明によれば、記録動作を実行する際に、タイミングベルトの温度、或いは、タイミングベルトの温度に相関を有する温度を検出し、検出された温度とモータの初期駆動負荷とに基づいてパラメータを設定するので、タイミングベルトの温度変化に起因してタイミングベルトの状態が変化したとしても、この変化を加味した最適なパラメータを設定することにより、モータを的確に制御することができ、スループットを低下させることなく高い精度で動作させることが可能である。   According to the present invention, when performing the recording operation, the temperature of the timing belt or the temperature having a correlation with the temperature of the timing belt is detected, and the parameter is set based on the detected temperature and the initial driving load of the motor. Therefore, even if the timing belt changes due to the temperature change of the timing belt, the motor can be accurately controlled by setting the optimal parameters that take this change into account, and the throughput is reduced. It is possible to operate with high accuracy without causing it.

以下、図面を参照しつつ本発明の実施形態について説明する。
図1は、本発明の実施形態に係るプリンタ10の構成を示す外観斜視図であり、特に、プリンタ10の外装の構成を示す。図1に示すプリンタ10は、外装としてのケース11に後述する記録機構部30A(図2)及び搬送機構部30B(図3)を備えた本体を収容して構成され、搬送機構部30Bによって記録用紙20を搬送しながら、記録動作系30Bの記録ヘッド32(図2)から記録用紙20の記録面にインクを吐出することにより、文字を含む画像を記録するものである。
なお、プリンタ10においては、画像を記録する対象の記録媒体として、紙製または合成樹脂製の記録媒体(具体的には、普通紙、コート紙等の特殊加工紙、裏面に糊を塗布または付着されたシール用紙、透明または不透明な合成樹脂製シート等を含む)を使用可能である。上記記録媒体のサイズ及び形状についても特に限定はなく、例えば、単票紙、封筒、袋等であってもよいし、さらに、画像の記録後にそのサイズ及び形状が加工されるような用紙(例えば、複数枚に分割できるようミシン目や切り込みが形成された用紙等)を用いることも可能である。本実施形態では、記録媒体として、長方形の普通紙からなる記録用紙20を用いる場合を例に挙げて説明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is an external perspective view showing the configuration of a printer 10 according to an embodiment of the present invention, and particularly shows the configuration of the exterior of the printer 10. A printer 10 shown in FIG. 1 is configured by housing a main body including a recording mechanism unit 30A (FIG. 2) and a conveyance mechanism unit 30B (FIG. 3), which will be described later, in a case 11 as an exterior, and recording is performed by the conveyance mechanism unit 30B. An image including characters is recorded by ejecting ink onto the recording surface of the recording paper 20 from the recording head 32 (FIG. 2) of the recording operation system 30B while conveying the paper 20.
In the printer 10, a recording medium made of paper or synthetic resin (specifically, specially processed paper such as plain paper or coated paper, or glue is applied or attached to the back surface as a recording medium on which an image is to be recorded. A sealing sheet, a transparent or opaque synthetic resin sheet, etc.) can be used. The size and shape of the recording medium are not particularly limited, and may be, for example, a cut sheet, an envelope, a bag, or the like, or a sheet whose size and shape are processed after image recording (for example, It is also possible to use a sheet having a perforation or a cut so that it can be divided into a plurality of sheets. In this embodiment, a case where a recording paper 20 made of rectangular plain paper is used as a recording medium will be described as an example.

ケース11の上面には上方に向けて開放可能な上部カバー12が配設され、この上部カバー12を開放して、後述するインクカートリッジ34(図2)の交換等のメンテナンスを行えるようになっている。また、ケース11の後端には給紙台13が配設される。給紙台13は、記録対象の記録用紙20を複数枚重ねてセットすることが可能である。また、ケース11の前面には、画像が記録された後の記録用紙20が排出される排紙口14が設けられる。なお、排紙口14の下方において、排出された記録用紙20を受ける台等を設けてもよい。   An upper cover 12 that can be opened upward is disposed on the upper surface of the case 11, and the upper cover 12 can be opened to perform maintenance such as replacement of an ink cartridge 34 (FIG. 2) described later. Yes. A paper feed tray 13 is disposed at the rear end of the case 11. The paper feed tray 13 can set a plurality of recording papers 20 to be recorded in a stacked manner. In addition, on the front surface of the case 11, a paper discharge port 14 through which the recording paper 20 on which an image has been recorded is discharged is provided. A stand or the like for receiving the discharged recording paper 20 may be provided below the paper discharge port 14.

図2は、ケース11に収容される記録機構部30Aの構成を示す斜視図である。なお、図2においては、プリンタ10の本体が備える記録機構部30A以外の部分については図示を省略している。
図2に示すように、記録機構部30Aは、記録用紙20の幅方向に沿って移動可能に構成されたキャリッジ33と、キャリッジ33に搭載された記録ヘッド32と、記録ヘッド32に対してインクを供給するインクカートリッジ34と、本体フレーム31の一端側に配設されたキャリッジモータ35と、キャリッジモータ35の回転軸が備えるプーリ36Aと、本体フレーム31の他端側に配設されたプーリ36Bと、プーリ36A、36Bの間に架け渡されるとともにキャリッジ33に係合するタイミングベルト37と、キャリッジ33の位置を検出するためにキャリッジ33の移動方向に沿って延設された符号板38と、記録ヘッド32の真下において記録用紙20を指示するプラテン39と、キャリッジ33が移動可能な範囲内で、かつ記録用紙20の外側に位置するポンプユニット40及びキャッピング装置41とを備える。
FIG. 2 is a perspective view illustrating a configuration of the recording mechanism unit 30 </ b> A accommodated in the case 11. In FIG. 2, illustrations of portions other than the recording mechanism unit 30 </ b> A included in the main body of the printer 10 are omitted.
As shown in FIG. 2, the recording mechanism unit 30 </ b> A includes a carriage 33 configured to be movable along the width direction of the recording paper 20, a recording head 32 mounted on the carriage 33, and ink for the recording head 32. Ink cartridge 34, a carriage motor 35 disposed on one end side of the main body frame 31, a pulley 36A provided on a rotating shaft of the carriage motor 35, and a pulley 36B disposed on the other end side of the main body frame 31. A timing belt 37 that spans between the pulleys 36A and 36B and engages the carriage 33; a code plate 38 that extends along the direction of movement of the carriage 33 to detect the position of the carriage 33; Within a range where the platen 39 indicating the recording paper 20 and the carriage 33 can be moved just below the recording head 32. And a pump unit 40 and the capping device 41 is located outside of the recording sheet 20.

記録ヘッド32は、その下方に位置する記録用紙20の記録面に正対する複数のノズル(図示略)を備え、キャリッジ33と一体となって記録用紙20の幅方向に沿って往復移動しながら、インクカートリッジ34から供給されるインクをノズルから吐出することにより、記録用紙20の記録面に画像を記録する。この記録ヘッド32を搭載したキャリッジ33は、キャリッジモータ35の動作によってタイミングベルト37が駆動されることにより、記録用紙20の幅方向(主走査方向)に沿って移動される。従って、キャリッジ33の移動方向はキャリッジモータ35の回転方向により決定される。また、キャリッジ33の主走査方向に沿って延びる符号板38には、所定の長さ(例えば、1/180インチ)毎にスリットが形成され、このスリットをキャリッジ33の端部に配設されるエンコーダ84(図5)によって検出することで、キャリッジ33の幅方向における位置が検出される。
キャッピング装置41は、記録ヘッド32が記録動作を行っていない状態において、記録ヘッド32の先端面に露出するノズルを、キャップ42によって封止する。ポンプユニット40は、内蔵するポンプモータ87(図5)の動作により、記録ヘッド32のノズルに詰まりが生じた場合等に、キャップ42により封止された記録ヘッド32のノズルに対して負圧を与え、記録ヘッド32から強制的にインクを吐出させる。
The recording head 32 includes a plurality of nozzles (not shown) facing the recording surface of the recording paper 20 positioned below the recording head 32, and reciprocally moves along the width direction of the recording paper 20 together with the carriage 33. An image is recorded on the recording surface of the recording paper 20 by ejecting ink supplied from the ink cartridge 34 from the nozzles. The carriage 33 on which the recording head 32 is mounted is moved along the width direction (main scanning direction) of the recording paper 20 by driving the timing belt 37 by the operation of the carriage motor 35. Accordingly, the moving direction of the carriage 33 is determined by the rotating direction of the carriage motor 35. Further, a slit is formed in the code plate 38 extending along the main scanning direction of the carriage 33 every predetermined length (for example, 1/180 inch), and the slit is disposed at the end of the carriage 33. By detecting by the encoder 84 (FIG. 5), the position of the carriage 33 in the width direction is detected.
The capping device 41 seals the nozzle exposed on the front end surface of the recording head 32 with a cap 42 when the recording head 32 is not performing a recording operation. The pump unit 40 applies a negative pressure to the nozzles of the recording head 32 sealed by the cap 42 when the nozzles of the recording head 32 are clogged by the operation of the built-in pump motor 87 (FIG. 5). The ink is forcibly ejected from the recording head 32.

図3は、ケース11に収容される搬送機構部30Bの構成を示す斜視図である。また、図4は図3の要部拡大図である。なお、図3及び図4においては、プリンタ10の本体が有する搬送機構部30B以外の部分については図示を省略している。
本発明の被駆動系としての搬送機構部30Bは、本発明のモータに対応する紙送りモータ60によって駆動され、給紙台13(図1)に載せられた記録用紙20を1枚ずつ取り込んでプリンタ10内を搬送し、排紙口14(図1)から排出する一連の動作を実行するものである。搬送機構部30Bは、記録用紙20を給紙台13から排紙口14へ搬送するための給紙ローラ51、紙送りローラ53、従動ローラ54、排紙ローラ56、及びギザローラ58の各ローラを備えるとともに、これら各ローラに対して紙送りモータ60の動力を伝達する、プーリ61、タイミングベルト62、排紙歯車63、伝達車64、大歯車65及び給紙歯車66の各部を備える。また、搬送機構部30Bは、紙送りモータ60の回転状態を検出するための符号板67及びエンコーダ68を備える。
FIG. 3 is a perspective view illustrating a configuration of the transport mechanism unit 30 </ b> B accommodated in the case 11. FIG. 4 is an enlarged view of a main part of FIG. In FIGS. 3 and 4, portions other than the conveyance mechanism unit 30 </ b> B included in the main body of the printer 10 are not illustrated.
The transport mechanism 30B as the driven system of the present invention is driven by a paper feed motor 60 corresponding to the motor of the present invention, and takes in the recording paper 20 placed on the paper feed tray 13 (FIG. 1) one by one. A series of operations are performed in which the printer 10 is transported and discharged from the paper discharge port 14 (FIG. 1). The transport mechanism unit 30B includes a paper feed roller 51, a paper feed roller 53, a driven roller 54, a paper discharge roller 56, and a knurled roller 58 for transporting the recording paper 20 from the paper feed tray 13 to the paper discharge port 14. A pulley 61, a timing belt 62, a paper discharge gear 63, a transmission wheel 64, a large gear 65, and a paper feed gear 66 are provided for transmitting the power of the paper feed motor 60 to these rollers. The transport mechanism unit 30 </ b> B includes a code plate 67 and an encoder 68 for detecting the rotation state of the paper feed motor 60.

給紙ローラ51は、給紙ローラ軸52に挿通された複数のローラからなり、給紙台13上の記録用紙20に上面から接して回転することにより、給紙台13から1枚の記録用紙20を取り込む。紙送りローラ53は、記録ヘッド32の主走査方向に延設される円柱状部材であって、記録ヘッド32より給紙台13(図1)側において記録用紙20に下方から接して回転する。従動ローラ54は記録用紙20を介して紙送りローラ53に対向し、記録用紙20の移動とともに回転する。従動ローラ54は、記録用紙20の浮き上がりを押さえるホルダ55の先端に回転自在に支持されており、ホルダ55とともに記録用紙20側へ付勢される。このため、給紙ローラ51によって取り込まれた記録用紙20は、紙送りローラ53と従動ローラ54とに挟まれて回転する。また、排紙ローラ56は、排紙ローラ軸57に挿通された複数のローラからなり、記録ヘッド32より排紙口14(図1)側において、記録用紙20に下方から接して回転する。排紙ローラ56には、記録ヘッド32の主走査方向に沿って並ぶ複数のギザローラ58が対向し、記録用紙20はギザローラ58と排紙ローラ56との間に挟まれて搬送され、排紙口14から排出される。   The paper feed roller 51 is composed of a plurality of rollers inserted through the paper feed roller shaft 52, and rotates in contact with the recording paper 20 on the paper feed tray 13 from the upper surface, so that one sheet of recording paper is fed from the paper feed tray 13. 20 is taken in. The paper feed roller 53 is a cylindrical member that extends in the main scanning direction of the recording head 32, and rotates in contact with the recording paper 20 from below on the paper feed table 13 (FIG. 1) side from the recording head 32. The driven roller 54 faces the paper feed roller 53 through the recording paper 20 and rotates as the recording paper 20 moves. The driven roller 54 is rotatably supported at the tip of a holder 55 that suppresses the lifting of the recording paper 20, and is urged together with the holder 55 toward the recording paper 20. For this reason, the recording paper 20 taken in by the paper feed roller 51 rotates between the paper feed roller 53 and the driven roller 54. The paper discharge roller 56 includes a plurality of rollers inserted through the paper discharge roller shaft 57, and rotates in contact with the recording paper 20 from below on the paper discharge port 14 (FIG. 1) side from the recording head 32. A plurality of jagged rollers 58 arranged in the main scanning direction of the recording head 32 are opposed to the paper discharge roller 56, and the recording paper 20 is sandwiched and conveyed between the jagged roller 58 and the paper discharge roller 56, and is discharged from the paper discharge port. 14 is discharged.

そして、これら各ローラを駆動する紙送りモータ60は、本体フレーム31の前側下部に配設される。紙送りモータ60は、後述するDCユニット80(図5)の制御に従って回転動作するDCモータである。紙送りモータ60の回転軸60Aの先端にはプーリ61が配設され、このプーリ61と、排紙ローラ軸57に組み付けられた排紙歯車63との間に、タイミングベルト62が架け渡されている。タイミングベルト62は、ガラス繊維を含む材料により構成されるベルトであって、その内側にはプーリ61及び排紙歯車63に噛み合う歯を有する。
また、排紙ローラ軸57には、伝達車64が、排紙歯車63と同軸に配設される。伝達車64には、紙送りローラ53を軸とする大歯車65が噛み合っている。大歯車65には、さらに、給紙ローラ軸52を軸とする給紙歯車66が噛み合う。この構成により、紙送りモータ60が動作してプーリ61が回転すると、この回転力がタイミングベルト62及び排紙歯車63を介して排紙ローラ軸57に伝達され、排紙ローラ56が回転する。また、排紙歯車63の回転力は伝達車64及び大歯車65を介して紙送りローラ53に伝達されて、紙送りローラ53を回転させる。さらに、大歯車65から給紙歯車66に伝達される回転力によって、給紙ローラ51が回転する。このように、搬送機構部30Bが有する各ローラは、紙送りモータ60によって同時に駆動される。
A paper feed motor 60 that drives each of these rollers is disposed at the lower front side of the main body frame 31. The paper feed motor 60 is a DC motor that rotates according to the control of a DC unit 80 (FIG. 5) described later. A pulley 61 is disposed at the tip of the rotation shaft 60 </ b> A of the paper feed motor 60, and a timing belt 62 is bridged between the pulley 61 and the paper discharge gear 63 assembled to the paper discharge roller shaft 57. Yes. The timing belt 62 is a belt made of a material containing glass fiber, and has teeth that mesh with the pulley 61 and the paper discharge gear 63 inside.
Further, a transmission wheel 64 is disposed on the paper discharge roller shaft 57 coaxially with the paper discharge gear 63. A large gear 65 having the paper feed roller 53 as an axis is engaged with the transmission wheel 64. The large gear 65 further meshes with a paper feed gear 66 having the paper feed roller shaft 52 as an axis. With this configuration, when the paper feed motor 60 operates and the pulley 61 rotates, this rotational force is transmitted to the paper discharge roller shaft 57 via the timing belt 62 and the paper discharge gear 63, and the paper discharge roller 56 rotates. Further, the rotational force of the paper discharge gear 63 is transmitted to the paper feed roller 53 via the transmission wheel 64 and the large gear 65 to rotate the paper feed roller 53. Further, the sheet feeding roller 51 is rotated by the rotational force transmitted from the large gear 65 to the sheet feeding gear 66. As described above, the rollers included in the transport mechanism unit 30 </ b> B are simultaneously driven by the paper feed motor 60.

さらに、大歯車65には、大歯車65と同じく紙送りローラ53を軸とする円盤形状の符号板67が配設される。符号板67の周縁部には、所定の間隔を空けて多数のスリットが形成され、この符号板67の周縁部を挟み込むようにエンコーダ68が配設される。エンコーダ68は、符号板67のスリットを光学的に読み取って、後述する制御部70(図5)に対して読み取り信号を出力する。エンコーダ68によって符号板67のスリットを検出することにより、大歯車65の回転状態を検出することが可能であり、この大歯車65の回転状態に基づいて、記録用紙20を搬送する各ローラの回転状態が検出できる。
そして、紙送りモータ60の側面には、温度検出手段としての温度検出部69が配設される。温度検出部69は、サーミスタを実装した基板を備え、制御部70(図5)に結線されており、上記サーミスタの抵抗値を制御部70において検出できるよう構成されている。
Further, the large gear 65 is provided with a disk-shaped code plate 67 having the paper feed roller 53 as an axis, like the large gear 65. A large number of slits are formed at a peripheral portion of the code plate 67 at a predetermined interval, and an encoder 68 is disposed so as to sandwich the peripheral portion of the code plate 67. The encoder 68 optically reads the slit of the code plate 67 and outputs a read signal to the control unit 70 (FIG. 5) described later. By detecting the slit of the code plate 67 by the encoder 68, it is possible to detect the rotation state of the large gear 65. Based on the rotation state of the large gear 65, the rotation of each roller that conveys the recording paper 20 is detected. The state can be detected.
On the side surface of the paper feed motor 60, a temperature detection unit 69 serving as a temperature detection unit is provided. The temperature detection unit 69 includes a substrate on which the thermistor is mounted, and is connected to the control unit 70 (FIG. 5), and is configured so that the control unit 70 can detect the resistance value of the thermistor.

図5は、プリンタ10の各部の動作を制御する制御部70の機能的構成を示すブロック図である。図5に示すように、制御部70は、制御部70の各部を制御するCPU(Central Processing Unit)71、CPU71に対して周期的に割込み信号を出力するタイマIC(Integral Circuit)72、プリンタ10に外部接続されるホスト73との間で、記録用紙20に記録する画像のデータである記録データを含む各種データを送受信するIF部74、IF部74により受信したデータに基づいて印字解像度や記録ヘッド32の駆動波形等を制御するASIC(Application Specific Integrated Circuit)75、CPU71及びASIC75により実行されるプログラムの格納領域及び作業領域として用いられるPROM(Programmable Read Only Memory)76、RAM(Random Access Memory)77、及びEEPROM(Electronically Erasable and Programmable Read Only Memory)78を備え、さらに、プリンタ10が備える各種モータの動作を制御するDCユニット80、給紙ローラ51(図3)近傍において記録用紙20の有無を検出する紙検出センサ81、紙送りモータ60を駆動制御する紙送りモータドライバ82、記録ヘッド32を駆動制御するヘッドドライバ83、記録ヘッド32の主走査方向に沿って配設された符号板38のスリットを読み取って読み取り信号をDCユニット80に出力するエンコーダ84、キャリッジモータ35を駆動制御するキャリッジモータドライバ85、ポンプユニット40(図1)に配設されるポンプモータ87を駆動制御するポンプモータドライバ86及びポンプモータ87の各部を備える。
また、DCユニット80には、符号板67(図3、図4)のスリットを検出するエンコーダ68、及び、紙送りモータ60(図3、図4)の温度を検出する温度検出部69が接続される。
FIG. 5 is a block diagram illustrating a functional configuration of the control unit 70 that controls the operation of each unit of the printer 10. As shown in FIG. 5, the control unit 70 includes a CPU (Central Processing Unit) 71 that controls each unit of the control unit 70, a timer IC (Integral Circuit) 72 that periodically outputs an interrupt signal to the CPU 71, and the printer 10. The IF unit 74 that transmits and receives various data including recording data that is image data to be recorded on the recording paper 20 with the host 73 connected to the outside, and the print resolution and recording based on the data received by the IF unit 74 ASIC (Application Specific Integrated Circuit) 75 for controlling the driving waveform of the head 32, CPU 71 and PROM (Programmable Read Only Memory) 76, RAM (Random Access Memory) used as a storage area and work area for programs executed by the ASIC 75 77 and EEPROM (Electronically Erasable and Programmable Read Only Memory) 78, and In addition, a DC unit 80 that controls the operation of various motors provided in the printer 10, a paper detection sensor 81 that detects the presence or absence of the recording paper 20 near the paper feed roller 51 (FIG. 3), and a paper feed that drives and controls the paper feed motor 60 A motor driver 82; a head driver 83 that controls the drive of the recording head 32; an encoder 84 that reads a slit of the code plate 38 disposed along the main scanning direction of the recording head 32 and outputs a read signal to the DC unit 80; Each unit includes a carriage motor driver 85 for driving and controlling the motor 35, a pump motor driver 86 for driving and controlling a pump motor 87 disposed in the pump unit 40 (FIG. 1), and the pump motor 87.
The DC unit 80 is connected to an encoder 68 that detects the slit of the code plate 67 (FIGS. 3 and 4) and a temperature detector 69 that detects the temperature of the paper feed motor 60 (FIGS. 3 and 4). Is done.

DCユニット80は、CPU71から入力される制御信号に従って、エンコーダ68から入力される読み取り信号と、温度検出部69が備えるサーミスタの抵抗値とに基づいて、紙送りモータ60を駆動制御する。ここで、DCユニット80による紙送りモータ60の駆動制御について、詳細に説明する。
図6は、DCユニット80の構成を詳細に示すブロック図である。図6には、紙送りモータドライバ82に対する指令信号を生成するための主要素として、回転位置演算部801と、減算器802と、目標回転速度演算部803と、回転速度演算部804と、減算器805と、比例手段としての比例要素806と、積分手段としての積分要素807と、微分手段としての微分要素808と、加算器809と、PWM回路810と、タイマ811と、加速制御部812を示す。
The DC unit 80 drives and controls the paper feed motor 60 based on the read signal input from the encoder 68 and the resistance value of the thermistor included in the temperature detection unit 69 in accordance with the control signal input from the CPU 71. Here, the drive control of the paper feed motor 60 by the DC unit 80 will be described in detail.
FIG. 6 is a block diagram showing the configuration of the DC unit 80 in detail. In FIG. 6, as a main element for generating a command signal for the paper feed motor driver 82, a rotational position calculation unit 801, a subtractor 802, a target rotation speed calculation unit 803, a rotation speed calculation unit 804, and a subtraction An 805, a proportional element 806 as a proportional means, an integral element 807 as an integral means, a differential element 808 as a differential means, an adder 809, a PWM circuit 810, a timer 811 and an acceleration control unit 812. Show.

ここで、エンコーダ68の動作を詳細に説明する。エンコーダ68は、発光ダイオード等の発光素子と、この発光素子が発した光を受光するフォトダイオード等からなる複数の受光素子とを備える。エンコーダ68は、符号板67の回転を検出する際、発光素子を連続して発光させるとともに、複数の受光素子における受光状態に基づいて2つのパルス信号ENC−A、ENC−Bを生成し、制御部70に出力する。ENC−AとENC−Bとは、位相が90度異なる信号である。また、紙送りモータ60の回転方向が正転か逆転かに拘わらず、ENC−A及びENC−Bの周期は、いずれも符号板67がスリットの間隔分だけ回転する時間に等しい。
そして、エンコーダ68から出力されたパルス信号ENC−A、ENC−Bは、DCユニット80に入力される。
Here, the operation of the encoder 68 will be described in detail. The encoder 68 includes a light-emitting element such as a light-emitting diode, and a plurality of light-receiving elements such as photodiodes that receive light emitted from the light-emitting element. When the encoder 68 detects the rotation of the code plate 67, the light emitting element continuously emits light, and two pulse signals ENC-A and ENC-B are generated and controlled based on the light receiving states of the plurality of light receiving elements. To the unit 70. ENC-A and ENC-B are signals that are 90 degrees out of phase. Regardless of whether the rotation direction of the paper feed motor 60 is normal or reverse, the period of ENC-A and ENC-B is equal to the time for which the code plate 67 rotates by the interval of the slit.
The pulse signals ENC-A and ENC-B output from the encoder 68 are input to the DC unit 80.

DCユニット80が備える回転位置演算部801は、エンコーダ68の出力パルスENC−A、ENC−Bの各々の立ち上がりエッジ及び立ち下がりエッジを検出し、検出されたエッジの個数をカウントし、このカウント値に基づいて、紙送りモータ60の回転位置を演算する。このカウントにおいて、紙送りモータ60が正転しているときは1個のエッジが検出される毎に計数値をインクリメント(+1)し、紙送りモータ60が逆転しているときは、1個のエッジが検出される毎にデクリメント(−1)する。上述のように、パルスENC−A及びENC−Bの各々の周期は、符号板67の、あるスリットがエンコーダ68を通過してから次のスリットがエンコーダ68を通過するまでの時間に等しく、かつ、パルスENC−AとパルスENC−Bとは位相が90度だけ異なっている。このため、上記カウントによるカウント値「1」は符号板67のスリット間隔の1/4に対応しており、上記カウント値にスリット間隔の1/4を乗算すれば、その乗算値に基づいて、カウント値が「0」に対応する回転位置からの符号板67の回転量、すなわち紙送りモータ60の移動量を求めることができる。従って、エンコーダ68は、符号板67のスリット間隔の1/4に相当する解像度を有するものといえる。   The rotational position calculation unit 801 included in the DC unit 80 detects the rising edge and the falling edge of each of the output pulses ENC-A and ENC-B of the encoder 68, counts the number of detected edges, and outputs the count value. Based on the above, the rotational position of the paper feed motor 60 is calculated. In this count, when the paper feed motor 60 is rotating forward, the count value is incremented (+1) every time one edge is detected, and when the paper feed motor 60 is rotating backward, Decrement (-1) each time an edge is detected. As described above, the period of each of the pulses ENC-A and ENC-B is equal to the time of the code plate 67 from when one slit passes through the encoder 68 until the next slit passes through the encoder 68, and The pulse ENC-A and the pulse ENC-B are different in phase by 90 degrees. For this reason, the count value “1” by the count corresponds to ¼ of the slit interval of the code plate 67. If the count value is multiplied by ¼ of the slit interval, based on the multiplication value, The rotation amount of the code plate 67 from the rotation position corresponding to the count value “0”, that is, the movement amount of the paper feed motor 60 can be obtained. Therefore, it can be said that the encoder 68 has a resolution corresponding to ¼ of the slit interval of the code plate 67.

減算器802は、CPU71から出力される目標回転位置と、回転位置演算部801によって求められた紙送りモータ60の実際の回転位置との回転位置偏差を演算する。
目標回転速度演算部803は、減算器802の出力である回転位置偏差に基づいて紙送りモータ60の目標回転速度を演算する。この演算は回転位置偏差にゲインKPを乗算することにより行われる。このゲインKPは回転位置偏差に応じて決定される。なお、このゲインKPの値は図示しないテーブルに格納されていてもよい。
回転速度演算部804は、エンコーダ68の出力パルスENC−A、ENC−Bに基づいて紙送りモータ60の回転速度を演算する。この演算においては、まず、エンコーダ68の出力パルスENC−A、ENC−Bの各々の立ち上がりエッジ、立ち下がりエッジを検出し、エッジ間の時間間隔、すなわち符号板67のスリット間隔の1/4に対応する時間をタイマカウンタによってカウントする。そして、このカウント値、符号板67のスリット間隔、及び、プーリ61と排紙歯車63、排紙歯車63と伝達車64、伝達車64と紙送りローラ65の各減速比に基づいて、紙送りモータ60の回転速度が求められる。
減算器805は、目標回転速度と、回転速度演算部804によって演算された紙送りモータ60の実際の回転速度との偏差を演算する。
比例要素806は、上記偏差に比例項定数Gpを乗算し、乗算結果を出力する。積分要素807は、偏差に積分項定数Giを乗じたものを積算し、積算結果を出力する。微分要素808は、現在の偏差と、1つ前の偏差との差に微分項定数Gdを乗算し、乗算結果を出力する。比例要素806、積分要素807及び微分要素808による演算は、エンコーダ68の出力パルスENC−Aの1周期ごとに、例えば出力パルスENC−Aの立ち上がりエッジに同期して行われる。
The subtractor 802 calculates a rotational position deviation between the target rotational position output from the CPU 71 and the actual rotational position of the paper feed motor 60 obtained by the rotational position calculation unit 801.
A target rotational speed calculation unit 803 calculates the target rotational speed of the paper feed motor 60 based on the rotational position deviation that is the output of the subtractor 802. This calculation is performed by multiplying the rotational position deviation by the gain KP. This gain KP is determined according to the rotational position deviation. Note that the value of the gain KP may be stored in a table (not shown).
The rotation speed calculation unit 804 calculates the rotation speed of the paper feed motor 60 based on the output pulses ENC-A and ENC-B of the encoder 68. In this calculation, first, the rising edge and the falling edge of each of the output pulses ENC-A and ENC-B of the encoder 68 are detected, and the time interval between the edges, that is, the slit interval of the code plate 67 is set to ¼. The corresponding time is counted by the timer counter. Based on the count value, the slit interval of the code plate 67, and the reduction ratios of the pulley 61 and the paper discharge gear 63, the paper discharge gear 63 and the transmission wheel 64, and the transmission wheel 64 and the paper feed roller 65, The rotational speed of the motor 60 is obtained.
A subtractor 805 calculates a deviation between the target rotation speed and the actual rotation speed of the paper feed motor 60 calculated by the rotation speed calculation unit 804.
The proportional element 806 multiplies the deviation by a proportional term constant Gp and outputs the multiplication result. The integration element 807 integrates the deviation multiplied by the integral term constant Gi, and outputs the integration result. The differential element 808 multiplies the difference between the current deviation and the previous deviation by a differential term constant Gd, and outputs the multiplication result. The calculation by the proportional element 806, the integral element 807, and the derivative element 808 is performed for each period of the output pulse ENC-A of the encoder 68, for example, in synchronization with the rising edge of the output pulse ENC-A.

比例要素806、積分要素807及び微分要素808から出力される信号値は、それぞれの演算結果に応じたデューティとして表現される値であり、加算器809は、これら比例要素806、積分要素807及び微分要素808の出力を加算する。この加算結果がデューティ信号としてPWM回路810に出力され、PWM回路810によって加算結果に応じた指令信号が生成される。この指令信号に基づいて、紙送りモータドライバ82により紙送りモータ60が駆動される。
以上の比例要素806、積分要素807及び微分要素808を使用するPID(Proportional, Integral, Differential)制御は、加速制御後の定速制御及び減速制御に用いられる。
The signal values output from the proportional element 806, the integral element 807, and the differential element 808 are values expressed as duties according to the respective calculation results, and the adder 809 includes the proportional element 806, the integral element 807, and the differential element. Add the outputs of element 808. The addition result is output as a duty signal to the PWM circuit 810, and the PWM circuit 810 generates a command signal corresponding to the addition result. The paper feed motor 60 is driven by the paper feed motor driver 82 based on this command signal.
PID (Proportional, Integral, Differential) control using the proportional element 806, the integral element 807, and the derivative element 808 is used for constant speed control and deceleration control after acceleration control.

また、タイマ811は、CPU71から出力されるクロック信号に基づいて所定時間毎にタイマ割込み信号を発生する。加速制御部812は、上記タイマ割込信号を受ける毎に所定のデューティDXPを積算し、積算結果がデューティ信号としてPWM回路810に出力される。PID制御の場合と同様に、PWM回路810にて積算結果に応じた指令信号が生成され、生成された指令信号に基づいて、紙送りモータドライバ82により紙送りモータ60が駆動される。このタイマ811及び加速制御部812を使用する制御は、紙送りモータ60の加速制御に用いられる。
紙送りモータドライバ82は、例えば4個のトランジスタを備え、PWM回路810の出力に基づいて上記トランジスタを各々ON又はOFFさせることにより、紙送りモータ60に電圧を印加して、紙送りモータ60を動作させる。
Further, the timer 811 generates a timer interrupt signal every predetermined time based on the clock signal output from the CPU 71. The acceleration control unit 812 integrates a predetermined duty DXP every time the timer interrupt signal is received, and the integration result is output to the PWM circuit 810 as a duty signal. As in the case of PID control, the PWM circuit 810 generates a command signal corresponding to the integration result, and the paper feed motor driver 82 drives the paper feed motor 60 based on the generated command signal. The control using the timer 811 and the acceleration control unit 812 is used for acceleration control of the paper feed motor 60.
The paper feed motor driver 82 includes, for example, four transistors, and turns on or off each of the transistors based on the output of the PWM circuit 810, thereby applying a voltage to the paper feed motor 60 and causing the paper feed motor 60 to operate. Make it work.

次に、図7を参照してDCユニット80の動作の概要、即ち、モータ制御方法の概要について説明する。図7(a)及び(b)は、PWM回路810に出力されるデューティ信号値及びモータ回転速度を対照させて示す図表であり、(a)はデューティ信号値を示し、(b)は紙送りモータ60の回転速度を示す。
紙送りモータ60の停止中において、CPU71からDCユニット80へ、紙送りモータ60を起動させる旨の起動指令信号が出力されると、起動初期デューティ信号(信号値:DX0)がCPU71から加速制御部812に出力され、加速制御部812からPWM回路810に出力される。そして、PWM回路810によって、起動初期デューティ信号が信号値DX0に対応する指令信号に変換されて、紙送りモータドライバ82に出力され、紙送りモータドライバ82によって紙送りモータ60が起動される。
CPU71から起動指令信号が入力された後、加速制御部812は、所定の時間ごとにタイマ811から入力されるタイマ割込信号に同期して、起動初期デューティ信号の信号値DX0に所定のデューティを積算し、積算されたデューティを信号値として有するデューティ信号を、PWM回路810に出力する。PWM回路810は、入力されたデューティ信号を、その信号値に応じた指令信号に変換して、紙送りモータドライバ82に出力する。紙送りモータドライバ82は、PWM回路810から入力された指令信号に基づいて紙送りモータ60を駆動し、図7(b)に示すように紙送りモータ60の回転速度が上昇する。このとき、加速制御部812からPWM回路810に入力されるデューティ信号の値は、図7(a)に示すように階段状になる。
Next, the outline of the operation of the DC unit 80, that is, the outline of the motor control method will be described with reference to FIG. FIGS. 7A and 7B are charts showing the duty signal value output to the PWM circuit 810 and the motor rotation speed in contrast, where FIG. 7A shows the duty signal value and FIG. 7B shows the paper feed. The rotational speed of the motor 60 is shown.
When a start command signal for starting the paper feed motor 60 is output from the CPU 71 to the DC unit 80 while the paper feed motor 60 is stopped, a start initial duty signal (signal value: DX0) is sent from the CPU 71 to the acceleration control unit. 812 and output from the acceleration control unit 812 to the PWM circuit 810. The starting initial duty signal is converted into a command signal corresponding to the signal value DX0 by the PWM circuit 810 and output to the paper feed motor driver 82, and the paper feed motor driver 82 starts the paper feed motor 60.
After the start command signal is input from the CPU 71, the acceleration control unit 812 sets a predetermined duty to the signal value DX0 of the start initial duty signal in synchronization with the timer interrupt signal input from the timer 811 every predetermined time. A duty signal having the integrated duty as a signal value is output to the PWM circuit 810. The PWM circuit 810 converts the input duty signal into a command signal corresponding to the signal value and outputs the command signal to the paper feed motor driver 82. The paper feed motor driver 82 drives the paper feed motor 60 based on the command signal input from the PWM circuit 810, and the rotational speed of the paper feed motor 60 increases as shown in FIG. 7B. At this time, the value of the duty signal input from the acceleration controller 812 to the PWM circuit 810 is stepped as shown in FIG.

加速制御部812におけるデューティの積算処理は、積算されたデューティが一定のデューティDXSとなるまで行われる。図7(a)中の時刻tlにおいて積算されたデューティが所定値DXSとなると、加速制御部812は積算処理を停止し、それ以後、図7(a)に示すように、PWM回路810に対して一定のデューティDXSを信号値として有するデューティ信号を出力する。
そして、紙送りモータ60の回転速度がオーバーシュートするのを防止するため、図7(b)に示す紙送りモータ60の回転速度が所定の回転速度V1に達すると(時刻t2)、加速制御部812は、紙送りモータ60に印加される電圧を低減させるよう制御を行う。ここで、紙送りモータ60の回転速度は更に上昇するが、紙送りモータ60の回転速度が所定の回転速度Vcに達すると(時刻t3)、PWM回路810は、紙送りモータ60の制御に用いるデューティ信号を、加速制御部812の出力から加算器809の出力に切り換える。この後、紙送りモータ60の駆動制御は、比例要素806、積分要素807及び微分要素808を使用するPID制御により実行される。なお、PID制御の開始時点において、積分要素807の積分値は適当な値に設定される。
The duty integration process in the acceleration control unit 812 is performed until the integrated duty reaches a constant duty DXS. When the duty integrated at time tl in FIG. 7A reaches a predetermined value DXS, the acceleration control unit 812 stops the integration process, and thereafter, as shown in FIG. A duty signal having a constant duty DXS as a signal value is output.
Then, in order to prevent the rotation speed of the paper feed motor 60 from overshooting, when the rotation speed of the paper feed motor 60 shown in FIG. 7B reaches a predetermined rotation speed V1 (time t2), an acceleration control unit. In step 812, control is performed so as to reduce the voltage applied to the paper feed motor 60. Here, the rotational speed of the paper feed motor 60 further increases, but when the rotational speed of the paper feed motor 60 reaches a predetermined rotational speed Vc (time t3), the PWM circuit 810 is used to control the paper feed motor 60. The duty signal is switched from the output of the acceleration control unit 812 to the output of the adder 809. Thereafter, the drive control of the paper feed motor 60 is executed by PID control using the proportional element 806, the integral element 807, and the differential element 808. Note that the integral value of the integral element 807 is set to an appropriate value at the start of PID control.

PID制御が開始されると、目標回転位置と、エンコーダ68の出力から得られる実際の回転位置との回転位置偏差に基づいて目標回転速度が演算され、この目標回転速度と、エンコーダ68の出力から得られる実際の回転速度との回転速度偏差に基づいて、比例要素806、積分要素807及び微分要素808によって、比例演算、積分演算、及び微分演算が行われ、これらの演算結果の和に基づいて紙送りモータ60の制御が行われる。この比例演算、積分演算及び微分演算は、例えばエンコーダ68の出力パルスENC−Aの立ち上がりエッジに同期して行われる。これにより、紙送りモータ60は、その回転速度が所望の回転速度Veとなるように制御される。
紙送りモータ60が目標回転位置(図7(b)中の時刻t5)に近づくと、回転位置偏差が小さくなるため、目標回転速度も小さくなる。これにより、回転速度偏差、すなわち減算器805の出力が負になるので、紙送りモータ60は減速され、その後停止する(時刻t6)。
When the PID control is started, the target rotational speed is calculated based on the rotational position deviation between the target rotational position and the actual rotational position obtained from the output of the encoder 68. From the target rotational speed and the output of the encoder 68, Based on the rotational speed deviation from the actual rotational speed to be obtained, the proportional element 806, the integral element 807, and the derivative element 808 perform proportional calculation, integral calculation, and differential calculation, and based on the sum of these calculation results. The paper feed motor 60 is controlled. The proportional calculation, integration calculation, and differentiation calculation are performed in synchronization with the rising edge of the output pulse ENC-A of the encoder 68, for example. Thereby, the paper feed motor 60 is controlled so that the rotation speed becomes a desired rotation speed Ve.
When the paper feed motor 60 approaches the target rotation position (time t5 in FIG. 7B), the rotation position deviation decreases, so the target rotation speed also decreases. As a result, the rotational speed deviation, that is, the output of the subtractor 805 becomes negative, so the paper feed motor 60 is decelerated and then stops (time t6).

ところで、上述したように、紙送りモータ60の回転を伝達するタイミングベルト62には、ガラス繊維を含む材料が用いられるが、このガラス繊維の特性により、紙送りモータ60の動作中にタイミングベルト62が収縮することがある。タイミングベルト62の収縮は、タイミングベルト62が高温になることに起因して起こる現象である。タイミングベルト62が高温になる要因としては、タイミングベルト62とプーリ61及び排紙歯車63との間の摩擦によりタイミングベルト62自体に熱が生じることに加え、動作時に発熱した紙送りモータ60の熱が、回転軸60A及びプーリ61を介してタイミングベルト62に伝達されることが挙げられる。
タイミングベルト62が収縮すると、排紙歯車63とプーリ61との間におけるタイミングベルト62の張力が増し、紙送りモータ60に加わる負荷が増大する。このため、予め測定され、紙送りモータ60の制御の前提となる負荷と、実際に紙送りモータ60に加わる負荷とが違ってしまうため、紙送りモータ60の制御の精度、すなわち記録用紙20の搬送動作の精度が低下することが懸念される。
また、タイミングベルト62がガラス繊維を含まないような材料により構成された場合も、タイミングベルト62が高温になることでタイミングベルト62が伸長してしまう可能性が考えられ、この場合も、紙送りモータ60の制御の前提となる負荷と、実際に紙送りモータ60に加わる負荷とが違ってしまう。
By the way, as described above, the timing belt 62 that transmits the rotation of the paper feed motor 60 is made of a material containing glass fiber. Due to the characteristics of the glass fiber, the timing belt 62 is operated during the operation of the paper feed motor 60. May shrink. The contraction of the timing belt 62 is a phenomenon that occurs due to the high temperature of the timing belt 62. The reason for the high temperature of the timing belt 62 is that heat is generated in the timing belt 62 itself due to friction between the timing belt 62 and the pulley 61 and the paper discharge gear 63, and the heat of the paper feed motor 60 that generates heat during operation. Is transmitted to the timing belt 62 via the rotary shaft 60 </ b> A and the pulley 61.
When the timing belt 62 contracts, the tension of the timing belt 62 between the paper discharge gear 63 and the pulley 61 increases, and the load applied to the paper feed motor 60 increases. For this reason, since the load that is measured in advance and is the premise for controlling the paper feed motor 60 is different from the load that is actually applied to the paper feed motor 60, the accuracy of the control of the paper feed motor 60, that is, the recording paper 20 There is a concern that the accuracy of the transport operation is lowered.
In addition, even when the timing belt 62 is made of a material that does not contain glass fiber, there is a possibility that the timing belt 62 may be extended due to the high temperature of the timing belt 62. The load that is a precondition for the control of the motor 60 is different from the load that is actually applied to the paper feed motor 60.

そこで、プリンタ10においては、紙送りモータ60に取り付けられた温度検出部69によって紙送りモータ60の温度を検出することにより、タイミングベルト62の状態変化による紙送りモータ60の負荷の変化に対応した制御を可能としている。
タイミングベルト62の温度は、タイミングベルト62の動作量すなわち紙送りモータ60の動作量に応じて上昇する。一方、紙送りモータ60の温度も、その動作量に応じて上昇する。また、紙送りモータ60及びタイミングベルト62が置かれた環境の温度条件はほぼ同一であるから、紙送りモータ60の温度とタイミングベルト62の温度とは相関を有する。従って、温度検出部69によって紙送りモータ60の温度を検出し、この紙送りモータ60の温度に基づいて紙送りモータ60の動作を制御することによって、タイミングベルト62の温度変化に起因するタイミングベルト62の状態変化に対し、的確に対応できる。
また、タイミングベルト62の温度に応じた制御とは、PID制御に使用される比例要素806、積分要素807及び微分要素808の動作に係るパラメータを変更することにより実現される。
Therefore, in the printer 10, the temperature detection unit 69 attached to the paper feed motor 60 detects the temperature of the paper feed motor 60 to cope with a change in the load of the paper feed motor 60 due to a change in the state of the timing belt 62. Control is possible.
The temperature of the timing belt 62 rises according to the operation amount of the timing belt 62, that is, the operation amount of the paper feed motor 60. On the other hand, the temperature of the paper feed motor 60 also rises according to the operation amount. In addition, since the temperature conditions of the environment where the paper feed motor 60 and the timing belt 62 are placed are almost the same, the temperature of the paper feed motor 60 and the temperature of the timing belt 62 have a correlation. Accordingly, the temperature detection unit 69 detects the temperature of the paper feed motor 60, and controls the operation of the paper feed motor 60 based on the temperature of the paper feed motor 60, whereby the timing belt caused by the temperature change of the timing belt 62 is obtained. It is possible to accurately cope with 62 state changes.
Control according to the temperature of the timing belt 62 is realized by changing parameters related to the operations of the proportional element 806, the integral element 807, and the differential element 808 used for PID control.

図8は、温度検出部69により検出される紙送りモータ60の温度と紙送りモータ60に加わる負荷との関係を示す図表である。図8においては、紙送りモータ60の初期負荷(初期駆動負荷)がF1、F2、F3(但し、F1<F2<F3)の場合について、紙送りモータ60の温度と紙送りモータ60に加わる負荷との関係を示す。図8に示す図表においては、紙送りモータ60の温度を温度域T1、T2、T3に分割し、紙送りモータ60に加わる負荷を負荷域f1、f2、f3、f4に分割して、各温度域と各負荷域との対応関係を初期負荷の大きさ毎に示す。
また、図9は、図8に示す各温度域と各負荷域との関係に基づいて定められた負荷域テーブル80Aの構成を模式的に示す図である。
FIG. 8 is a chart showing the relationship between the temperature of the paper feed motor 60 detected by the temperature detector 69 and the load applied to the paper feed motor 60. In FIG. 8, when the initial load (initial drive load) of the paper feed motor 60 is F1, F2, F3 (where F1 <F2 <F3), the temperature of the paper feed motor 60 and the load applied to the paper feed motor 60 Shows the relationship. In the chart shown in FIG. 8, the temperature of the paper feed motor 60 is divided into temperature regions T1, T2, and T3, and the load applied to the paper feed motor 60 is divided into load regions f1, f2, f3, and f4. The relationship between the load area and each load area is shown for each initial load size.
FIG. 9 is a diagram schematically showing the configuration of the load range table 80A determined based on the relationship between each temperature range and each load range shown in FIG.

図8に示すように、紙送りモータ60の初期負荷がF1、F2、F3のいずれの場合も、紙送りモータ60の温度の上昇に比例して、紙送りモータ60に加わる負荷が増大する。すなわち、初期負荷F1の場合、温度域T1における負荷は負荷域f1にあり、温度域T2における負荷は負荷域f2にあり、温度域T3における負荷は負荷域f3にある。また、初期負荷F2の場合、温度域T1における負荷は負荷域f2にあり、温度域T2及びT3における負荷は負荷域f3にある。初期負荷F3の場合、温度域T1及びT2における負荷は負荷域f3にあり、温度域T3における負荷は負荷域f4にある。そして、図9に示す負荷域テーブル80Aは、予め行われる評価により得られた図8の関係に基づいて、初期負荷がF1、F2、F3の各場合について、温度域毎に、負荷域が定められる。   As shown in FIG. 8, when the initial load of the paper feed motor 60 is F1, F2, or F3, the load applied to the paper feed motor 60 increases in proportion to the temperature rise of the paper feed motor 60. That is, in the case of the initial load F1, the load in the temperature range T1 is in the load range f1, the load in the temperature range T2 is in the load range f2, and the load in the temperature range T3 is in the load range f3. In the case of the initial load F2, the load in the temperature range T1 is in the load range f2, and the loads in the temperature ranges T2 and T3 are in the load range f3. In the case of the initial load F3, the load in the temperature ranges T1 and T2 is in the load range f3, and the load in the temperature range T3 is in the load range f4. The load range table 80A shown in FIG. 9 determines the load range for each temperature range for each of the initial loads F1, F2, and F3 based on the relationship shown in FIG. 8 obtained by the evaluation performed in advance. It is done.

さらに、プリンタ10は、比例要素806、積分要素807及び微分要素808における定数Gp、Gi、Gdを、負荷域f1〜f4に対応して複数用意し、複数の定数の中から負荷域に応じて適切な定数を用いるようにする。
図10は、各負荷域と、比例要素806、積分要素807及び微分要素808における定数Gp、Gi、Gdとの対応を定めた定数テーブル80Bの構成を模式的に示す図である。図10に示すテーブルによれば、負荷域f1においては、比例項定数Gpの値はp1に設定され、積分項定数Giの値はi1に設定され、微分項定数Gdの値はd1に設定される。また、負荷域f2においては、比例項定数Gpの値はp2に設定され、積分項定数Giの値はi2に設定され、微分項定数Gdの値はd2に設定される。同様に、負荷域f3においては、比例項定数Gpの値はp3に設定され、積分項定数Giの値はi3に設定され、微分項定数Gdの値はd3に設定され、負荷域f4においては、比例項定数Gpの値はp4に設定され、積分項定数Giの値はi4に設定され、微分項定数Gdの値はd4に設定される。
Furthermore, the printer 10 prepares a plurality of constants Gp, Gi, and Gd in the proportional element 806, the integral element 807, and the differential element 808 corresponding to the load areas f1 to f4, and according to the load area from the plurality of constants. Use appropriate constants.
FIG. 10 is a diagram schematically showing the configuration of a constant table 80B that defines the correspondence between the load ranges and the constants Gp, Gi, and Gd in the proportional element 806, the integral element 807, and the differential element 808. According to the table shown in FIG. 10, in the load region f1, the value of the proportional term constant Gp is set to p 1, the value of the integral term constant Gi is set to i 1, the value of the differential term constant Gd is d 1 Set to Further, in the load region f2, the value of the proportional term constant Gp is set to p 2, the value of the integral term constant Gi is set to i 2, the value of the differential term constant Gd is set to d 2. Similarly, in the load region f3, the value of the proportional term constant Gp is set to p 3, the value of the integral term constant Gi is set to i 3, the value of the differential term constant Gd is set to d 3, load zone in f4, the value of the proportional term constant Gp is set to p 4, the value of the integral term constant Gi is set to i 4, the value of the differential term constant Gd is set to d 4.

図9に示す負荷域テーブル80A及び図10に示す定数テーブル80Bは、いずれも制御部70が有する記憶手段としてのEEPROM78に記憶され、後述する記録処理(図11)においてCPU71によって読み出される。CPU71は、DCユニット80に接続された温度検出部69におけるサーミスタの抵抗値に基づいて、紙送りモータ60の温度を判定し、この温度を含む温度域と、現在の紙送りモータ60における初期負荷とに対応づけて負荷域テーブル80Aに設定された負荷域を取得する。続いてCPU71は、取得した負荷域に対応する定数を定数テーブル80Bから取得し、この定数をDCユニット80に出力して、比例要素806、積分要素807及び微分要素808の定数として設定させる。この動作により、DCユニット80は、現在の紙送りモータ60に加わる負荷に適合した定数を用いてPID制御を実行することが可能となる。   Both the load area table 80A shown in FIG. 9 and the constant table 80B shown in FIG. 10 are stored in the EEPROM 78 as storage means included in the control unit 70 and read by the CPU 71 in a recording process (FIG. 11) described later. The CPU 71 determines the temperature of the paper feed motor 60 based on the resistance value of the thermistor in the temperature detection unit 69 connected to the DC unit 80, the temperature range including this temperature, and the initial load in the current paper feed motor 60. And the load range set in the load range table 80A is acquired. Subsequently, the CPU 71 acquires a constant corresponding to the acquired load range from the constant table 80B, outputs the constant to the DC unit 80, and sets it as constants of the proportional element 806, the integral element 807, and the differential element 808. With this operation, the DC unit 80 can execute the PID control using a constant suitable for the load applied to the current paper feed motor 60.

図11は、CPU71により実行される記録処理を示すフローチャートである。この図11に示す記録処理において、CPU71は、本発明の制御手段として機能する。
図11に示す記録処理は、プリンタ10の電源が投入されることによって開始される(ステップS1)。まず、CPU71は、紙送りモータ60の初期負荷を検出する(ステップS2)。ここで、初期負荷の検出は、例えば、DCユニット80によって紙送りモータ60に試験的に通電を行い、電流を測定する方法により行われる。
続いて、CPU71は、記録用紙20に画像を記録するための記録データの有無を判別し、記録データが無ければ、IF部74を介して記録データが入力されて記録可能な状態になるまで待機する(ステップS3)。
記録用紙20に記録する記録データが存在する場合(ステップS3;Yes)、CPU71は、紙送りモータ60を駆動して給紙台13から記録用紙20を取り込む(ステップS4)。
FIG. 11 is a flowchart showing a recording process executed by the CPU 71. In the recording process shown in FIG. 11, the CPU 71 functions as the control means of the present invention.
The recording process shown in FIG. 11 is started when the printer 10 is turned on (step S1). First, the CPU 71 detects the initial load of the paper feed motor 60 (step S2). Here, the detection of the initial load is performed by, for example, a method in which the paper feed motor 60 is energized on a trial basis by the DC unit 80 and current is measured.
Subsequently, the CPU 71 determines the presence / absence of recording data for recording an image on the recording paper 20, and if there is no recording data, the CPU 71 waits until the recording data is input via the IF unit 74 and becomes recordable. (Step S3).
If there is recording data to be recorded on the recording paper 20 (step S3; Yes), the CPU 71 drives the paper feed motor 60 to take in the recording paper 20 from the paper feed tray 13 (step S4).

記録用紙20を取り込んだ後、CPU71は温度検出部69を用いた紙送りモータ60の温度検出を実行する(ステップS5)。そして、CPU71は、温度検出部69を用いて検出した紙送りモータ60の温度と、ステップS2で検出した初期負荷とに基づいて、負荷域テーブル80A及び定数テーブル80Bを参照し、比例要素806、積分要素807及び微分要素808で用いる定数Gp、Gi、Gdを設定する(ステップS6)。
その後、CPU71は、記録ヘッド32からインクを吐出させ、記録用紙20に画像を記録する(ステップS7)。ここで、記録用紙20に画像を記録する間、CPU71は、改ページの有無を検出する(ステップS8)。そして、現在記録中のページの記録が終了した場合には(ステップS8;Yes)、CPU71は、紙送りモータ60を動作させて現在記録中の用紙を排紙口14から排出させ(ステップS9)、次のページに対する記録を実行するか否かを判別する(ステップS10)。ここで、次のページの記録を行う場合は(ステップS10;No)、ステップS4に戻って次のページの記録用紙20を給紙台13から取り込む。また、全てのページの記録が終了した場合は(ステップS10;Yes)、本処理を終了する。
After taking in the recording paper 20, the CPU 71 detects the temperature of the paper feed motor 60 using the temperature detector 69 (step S5). Then, the CPU 71 refers to the load area table 80A and the constant table 80B based on the temperature of the paper feed motor 60 detected using the temperature detection unit 69 and the initial load detected in step S2, and the proportional element 806, Constants Gp, Gi, Gd used in the integration element 807 and the differentiation element 808 are set (step S6).
Thereafter, the CPU 71 ejects ink from the recording head 32 and records an image on the recording paper 20 (step S7). Here, while recording an image on the recording paper 20, the CPU 71 detects the presence or absence of a page break (step S8). When recording of the currently recorded page is completed (step S8; Yes), the CPU 71 operates the paper feed motor 60 to discharge the currently recorded sheet from the paper discharge port 14 (step S9). Then, it is determined whether or not recording for the next page is executed (step S10). Here, when recording the next page (step S10; No), the process returns to step S4, and the recording paper 20 of the next page is taken from the paper feed tray 13. If all pages have been recorded (step S10; Yes), this process ends.

以上のように、本発明の実施形態に係るプリンタ10によれば、タイミングベルト62によって紙送りモータ60の動力を搬送機構部30Bに伝達する構成を有するプリンタ10において、記録用紙20に画像を記録する記録処理を実行する際に、温度検出部69により検出される紙送りモータ60の温度と、紙送りモータ60の初期負荷とに基づいて、PID制御の比例項定数Gp、積分項定数Gi、及び微分項定数Gdを設定するので、例えば大量の記録用紙20に対して連続して画像を記録する場合等、タイミングベルト62の温度が極めて高温となる場合に、タイミングベルト62が伸長または収縮したとしても、このタイミングベルト62の状態変化を加味した最適な定数を設定することにより、紙送りモータ60を的確に制御することができ、高い精度で動作させることが可能である。また、記録動作中に設定される各定数は、紙送りモータ60の初期負荷と紙送りモータ60の温度域とに対応づけてEEPROM78に記憶され、CPU71は、記憶された定数の中から該当するものを読み出して設定すればよい。このため、記録処理において定数を設定する処理は極めて短時間のうちに完了することができ、スループットの低下を招くことがない。また、紙送りモータ60の温度を温度検出部69によって検出する構成は極めてシンプルであり、容易に実現可能である。
さらに、CPU71は、記録処理において、改ページ動作を行う毎に温度検出部69により検出された温度と紙送りモータ60の初期負荷とに基づいて定数を設定するので、一つのページを記録する間は定数が変更されず、ページ内の記録品質が均一に保たれるという利点がある。さらに、定数を設定する頻度が適度に少ないので、タイミングベルト62の状態変化に対応しつつ、スループットを低下させないという利点がある。
As described above, according to the printer 10 according to the embodiment of the present invention, an image is recorded on the recording paper 20 in the printer 10 having a configuration in which the power of the paper feed motor 60 is transmitted to the transport mechanism unit 30B by the timing belt 62. PID control proportional term constant Gp, integral term constant Gi, based on the temperature of the paper feed motor 60 detected by the temperature detector 69 and the initial load of the paper feed motor 60 when executing the recording process to be performed. Since the differential term constant Gd is set, the timing belt 62 expands or contracts when the temperature of the timing belt 62 becomes extremely high, for example, when images are continuously recorded on a large amount of recording paper 20. However, the paper feed motor 60 can be accurately controlled by setting an optimal constant that takes into account the state change of the timing belt 62. It can, it is possible to operate with high accuracy. Each constant set during the recording operation is stored in the EEPROM 78 in association with the initial load of the paper feed motor 60 and the temperature range of the paper feed motor 60, and the CPU 71 corresponds to the stored constant. What is necessary is just to read and set things. For this reason, the process of setting the constant in the recording process can be completed in a very short time, and the throughput is not reduced. Further, the configuration for detecting the temperature of the paper feed motor 60 by the temperature detector 69 is very simple and can be easily realized.
Further, since the CPU 71 sets a constant based on the temperature detected by the temperature detection unit 69 and the initial load of the paper feed motor 60 every time a page break operation is performed in the recording process, the CPU 71 records one page. Has the advantage that the constants are not changed and the recording quality within the page is kept uniform. Furthermore, since the frequency of setting the constant is moderately low, there is an advantage that the throughput is not lowered while the state change of the timing belt 62 is accommodated.

なお、上述した実施形態は、本発明の一実施態様を示すものであり、本発明の範囲内で任意に変形及び応用可能であることは勿論である。例えば、上述した実施形態では、温度検出部69がサーミスタを備える構成を例示したが、熱電対を用いた温度検出手段を備えた構成としてもよく、紙送りモータ60の温度を検出可能であれば、本発明を適用することが可能である。また、上記実施形態では、タイミングベルト62の温度を直接検出することに代えて、紙送りモータ60の温度を温度検出部69によって検出する構成を挙げて説明したが、タイミングベルト62の温度を直接検出する構成としてもよい。さらに、上記実施形態では、負荷域テーブル80Aにおいて紙送りモータ60の初期負荷と温度域とに対して紙送りモータ60の負荷を対応づけて、定数テーブル80Bにおいて、紙送りモータ60の負荷と各定数とを対応づける構成としたが、例えば、負荷域テーブル80Aと定数テーブル80Bとを一つのテーブルにまとめて、紙送りモータ60の初期負荷と、温度域と、各定数とを対応づけるテーブルを用いてもよい。
また、本実施形態では、記録処理において、ページの記録を開始する毎に紙送りモータ60の温度を検出して比例要素806、積分要素807及び微分要素808で用いる定数Gp、Gi、Gdを設定する構成としたが、本発明はこれに限定されず、例えば、改行を行う毎に紙送りモータ60の温度を検出して定数Gp、Gi、Gdを設定するようにしてもよい。この例について、以下、変形例1として説明する。
The embodiment described above shows one embodiment of the present invention, and it is needless to say that the embodiment can be arbitrarily modified and applied within the scope of the present invention. For example, in the above-described embodiment, the configuration in which the temperature detection unit 69 includes the thermistor has been exemplified. However, the configuration may include a temperature detection unit using a thermocouple, as long as the temperature of the paper feed motor 60 can be detected. The present invention can be applied. In the above-described embodiment, the temperature detection unit 69 detects the temperature of the paper feed motor 60 instead of directly detecting the temperature of the timing belt 62. However, the temperature of the timing belt 62 is directly detected. It is good also as a structure to detect. Furthermore, in the above-described embodiment, the load of the paper feed motor 60 is associated with the initial load and the temperature range of the paper feed motor 60 in the load area table 80A, and the load of the paper feed motor 60 and each load in the constant table 80B. Although the constants are associated with each other, for example, the load area table 80A and the constant table 80B are combined into one table, and a table for associating the initial load of the paper feed motor 60, the temperature area, and each constant is provided. It may be used.
In this embodiment, in the recording process, the temperature of the paper feed motor 60 is detected every time page recording is started, and constants Gp, Gi, and Gd used in the proportional element 806, the integral element 807, and the differential element 808 are set. However, the present invention is not limited to this. For example, the constants Gp, Gi, and Gd may be set by detecting the temperature of the paper feed motor 60 each time a line feed is made. Hereinafter, this example will be described as a first modification.

[変形例1]
図12は、本実施形態の変形例における記録処理を示すフローチャートである。なお、この変形例1において、プリンタ10の構成は上記実施形態と共通である。
プリンタ10の電源が投入されることによって記録処理が開始されると(ステップS11)、CPU71は、紙送りモータ60の初期負荷を検出する(ステップS12)。続いて、CPU71は、記録用紙20に画像を記録するための記録データの有無を判別し、記録データが無ければ、IF部74を介して記録データが入力されて記録可能な状態になるまで待機する(ステップS13)。ここで記録データが存在する場合(ステップS13;Yes)、CPU71は、紙送りモータ60を駆動して給紙台13から記録用紙20を取り込む(ステップS14)。
[Modification 1]
FIG. 12 is a flowchart showing recording processing in a modification of the present embodiment. In the first modification, the configuration of the printer 10 is the same as that in the above embodiment.
When the recording process is started by turning on the printer 10 (step S11), the CPU 71 detects the initial load of the paper feed motor 60 (step S12). Subsequently, the CPU 71 determines the presence / absence of recording data for recording an image on the recording paper 20, and if there is no recording data, the CPU 71 waits until the recording data is input via the IF unit 74 and becomes recordable. (Step S13). If recording data exists (step S13; Yes), the CPU 71 drives the paper feed motor 60 to take in the recording paper 20 from the paper feed tray 13 (step S14).

記録用紙20を取り込んだ後、CPU71は温度検出部69を用いた紙送りモータ60の温度検出を実行する(ステップS15)。そして、CPU71は、温度検出部69を用いて検出した紙送りモータ60の温度と、ステップS2で検出した初期負荷とに基づいて、負荷域テーブル80A及び定数テーブル80Bを参照し、比例要素806、積分要素807及び微分要素808で用いる定数Gp、Gi、Gdを設定する(ステップS16)。
その後、CPU71は、記録ヘッド32からインクを吐出させることにより、記録用紙20に画像を記録する(ステップS17)。ここで、記録用紙20に画像を記録する間、CPU71は、改行の有無を検出する(ステップS18)。そして、現在記録中の行の記録が終了すると(ステップS18;Yes)、CPU71は、改ページ動作を行うか否かを判別する(ステップS19)。すなわち、ある行の記録が終了した後、現在記録中のページ内の次の行に記録を行うか、或いは、現在記録中のページの記録を終了するかを判別する。そして、同ページ内の次の行に記録を行う場合(ステップS19;No)、CPU71はステップS15に戻り、温度検出部69によって紙送りモータ60の温度を検出する動作を行う。また、現在記録中のページの記録を終了する場合(ステップS19;Yes)、CPU71は、紙送りモータ60を動作させて現在記録中の用紙を排紙口14から排出させ(ステップS20)、次のページに対する記録を実行するか否かを判別する(ステップS21)。ここで、次のページの記録を行う場合は(ステップS21;No)、ステップS14に戻って、給紙台13から次の記録用紙20を取り込む。また、全てのページの記録が終了した場合は(ステップS21;Yes)、本処理を終了する。
After taking in the recording paper 20, the CPU 71 detects the temperature of the paper feed motor 60 using the temperature detector 69 (step S15). Then, the CPU 71 refers to the load area table 80A and the constant table 80B based on the temperature of the paper feed motor 60 detected using the temperature detection unit 69 and the initial load detected in step S2, and the proportional element 806, Constants Gp, Gi, Gd used in the integration element 807 and the differentiation element 808 are set (step S16).
Thereafter, the CPU 71 records an image on the recording paper 20 by ejecting ink from the recording head 32 (step S17). Here, while recording an image on the recording paper 20, the CPU 71 detects the presence or absence of a line feed (step S18). When the recording of the currently recorded line ends (step S18; Yes), the CPU 71 determines whether or not to perform a page break operation (step S19). That is, after the recording of a certain line is completed, it is determined whether recording is performed on the next line in the currently recorded page, or whether recording of the currently recorded page is terminated. When recording is performed on the next line in the page (step S19; No), the CPU 71 returns to step S15 and performs an operation of detecting the temperature of the paper feed motor 60 by the temperature detection unit 69. When recording of the currently recorded page is to be ended (step S19; Yes), the CPU 71 operates the paper feed motor 60 to discharge the currently recorded sheet from the paper discharge port 14 (step S20). It is determined whether or not recording is to be performed on the current page (step S21). Here, when recording the next page (step S21; No), the process returns to step S14, and the next recording sheet 20 is taken in from the paper feed tray 13. If all pages have been recorded (step S21; Yes), this process ends.

このように、改行を行う毎に紙送りモータ60の温度を検出して、この温度に応じた定数Gp、Gi、Gdを設定する場合、温度検出部69により検出された温度と紙送りモータ60の初期負荷とに基づく定数の設定を高い頻度で行うことにより、タイミングベルト62の状態変化に対して迅速に対応できるという利点がある。   As described above, when the temperature of the paper feed motor 60 is detected every time a line feed is performed and the constants Gp, Gi, and Gd corresponding to the temperatures are set, the temperature detected by the temperature detection unit 69 and the paper feed motor 60 are set. By setting the constant based on the initial load at a high frequency, there is an advantage that a change in the state of the timing belt 62 can be quickly dealt with.

なお、上述した実施形態及び変形例1において、温度検出部69は、紙送りモータ60の側面に配設される構成としたが、本発明はこれに限定されず、例えば、温度検出部69を紙送りモータ60に内蔵する構成としてもよい。この例について、以下、変形例2として説明する。   In the above-described embodiment and Modification 1, the temperature detection unit 69 is disposed on the side surface of the paper feed motor 60. However, the present invention is not limited to this, and for example, the temperature detection unit 69 is provided. It is good also as a structure incorporated in the paper feed motor 60. FIG. Hereinafter, this example will be described as a second modification.

[変形例2]
図13は、本実施形態の変形例2における紙送りモータ60の構成を示す斜視図である。図13に示すように、変形例2における紙送りモータ60は、その内部に、温度検出部69Aを備える。温度検出部69Aは、紙送りモータ60の断面形状に合わせて円盤状に形成された基板と、この基板に実装されたサーミスタ及び出力端子からなり、この出力端子から紙送りモータ60の外部に配線が引き出され、制御部70に接続される。温度検出部69Aは、紙送りモータ60において回転軸60Aが突出する側の面の内側に配設される。温度検出部69Aの基板には、その中央に、紙送りモータ60が有する回転軸60Aより大径の孔が穿設され、この孔を回転軸60Aが貫通する。
図13に示すように構成された紙送りモータ60においては、温度検出部69Aによって、回転軸60Aの近傍における温度が検出される。上述のように、タイミングベルト62(図3、図4)は、プーリ61及び排紙歯車63との間の摩擦によってタイミングベルト62自体に生じる熱に加え、紙送りモータ60から回転軸60Aを介して伝達される熱を受けて温度が上昇する。従って、回転軸60Aの近傍における温度を温度検出部69Aによって検出すれば、タイミングベルト62の温度により近い温度を検出することが可能となり、タイミングベルト62の状態変化に対して、より的確に対応できる。
[Modification 2]
FIG. 13 is a perspective view showing the configuration of the paper feed motor 60 in Modification 2 of the present embodiment. As shown in FIG. 13, the paper feed motor 60 according to the second modification includes a temperature detection unit 69A therein. The temperature detection unit 69 </ b> A includes a substrate formed in a disk shape in accordance with the cross-sectional shape of the paper feed motor 60, a thermistor and an output terminal mounted on the substrate, and wiring from the output terminal to the outside of the paper feed motor 60. Is pulled out and connected to the control unit 70. The temperature detector 69 </ b> A is disposed inside the surface of the paper feed motor 60 on which the rotating shaft 60 </ b> A protrudes. A hole having a diameter larger than that of the rotation shaft 60A of the paper feed motor 60 is formed at the center of the substrate of the temperature detection unit 69A, and the rotation shaft 60A passes through the hole.
In the paper feed motor 60 configured as shown in FIG. 13, the temperature in the vicinity of the rotation shaft 60A is detected by the temperature detection unit 69A. As described above, the timing belt 62 (FIGS. 3 and 4), in addition to the heat generated in the timing belt 62 itself due to friction between the pulley 61 and the paper discharge gear 63, is fed from the paper feed motor 60 via the rotary shaft 60A. In response to the heat transferred, the temperature rises. Therefore, if the temperature in the vicinity of the rotating shaft 60A is detected by the temperature detection unit 69A, a temperature closer to the temperature of the timing belt 62 can be detected, and the change in the state of the timing belt 62 can be dealt with more accurately. .

本発明の実施形態に係るプリンタの構成を示す外観斜視図である。1 is an external perspective view illustrating a configuration of a printer according to an embodiment of the present invention. プリンタが有する記録機構部の構成を示す斜視図である。FIG. 3 is a perspective view illustrating a configuration of a recording mechanism unit included in the printer. プリンタが有する搬送機構部の構成を示す斜視図である。FIG. 4 is a perspective view illustrating a configuration of a transport mechanism unit included in the printer. 図3の要部拡大図である。It is a principal part enlarged view of FIG. プリンタの制御部の機能的構成を示すブロック図である。FIG. 3 is a block diagram illustrating a functional configuration of a printer control unit. 制御部が備えるDCユニットの構成を詳細に示すブロック図である。It is a block diagram which shows the structure of DC unit with which a control part is provided in detail. PWM回路に出力されるデューティ信号値及びモータ回転速度を示す図表である。It is a graph which shows the duty signal value and motor rotational speed which are output to a PWM circuit. 紙送りモータの温度と負荷との関係を示す図表である。It is a graph which shows the relationship between the temperature of a paper feed motor, and load. 負荷域テーブルの構成を模式的に示す図である。It is a figure which shows the structure of a load area table typically. 定数テーブルの構成を模式的に示す図である。It is a figure which shows the structure of a constant table typically. CPUにより実行される記録処理を示すフローチャートである。It is a flowchart which shows the recording process performed by CPU. 変形例1における記録処理を示すフローチャートである。10 is a flowchart showing a recording process in Modification 1. 変形例2における紙送りモータの構成を示す斜視図である。FIG. 10 is a perspective view showing a configuration of a paper feed motor in Modification 2.

符号の説明Explanation of symbols

10…プリンタ(記録装置)、20…記録用紙、30A…記録機構部、30B…搬送機構部(被駆動系)、51…給紙ローラ、52…給紙ローラ軸、53…紙送りローラ、54…従動ローラ、56…排紙ローラ、57…排紙ローラ軸、58…ギザローラ、60…紙送りモータ(モータ)、60A…回転軸、61…プーリ、62…タイミングベルト、63…排紙歯車、64…伝達車、65…大歯車、66…給紙歯車、67…符号板、68…エンコーダ、69…温度検出部(温度検出手段)、70…制御部、71…CPU(制御手段)、78…EEPROM(記憶手段)、80…DCユニット、82…紙送りモータドライバ、806…比例要素、807…積分要素、808…微分要素、810…PWM回路。   DESCRIPTION OF SYMBOLS 10 ... Printer (recording apparatus), 20 ... Recording paper, 30A ... Recording mechanism part, 30B ... Conveyance mechanism part (driven system), 51 ... Paper feed roller, 52 ... Paper feed roller shaft, 53 ... Paper feed roller, 54 ... driven roller, 56 ... paper discharge roller, 57 ... paper discharge roller shaft, 58 ... jagged roller, 60 ... paper feed motor (motor), 60A ... rotating shaft, 61 ... pulley, 62 ... timing belt, 63 ... paper discharge gear, 64 ... transmission wheel, 65 ... large gear, 66 ... paper feed gear, 67 ... sign plate, 68 ... encoder, 69 ... temperature detector (temperature detector), 70 ... controller, 71 ... CPU (controller), 78 ... EEPROM (storage means), 80 ... DC unit, 82 ... paper feed motor driver, 806 ... proportional element, 807 ... integral element, 808 ... differential element, 810 ... PWM circuit.

Claims (7)

モータと、このモータの動力を被駆動系に伝達するタイミングベルトと、パラメータを用いた演算処理を行って前記モータの動作を制御する制御手段とを備え、記録媒体に画像を記録する記録動作を行う記録装置において、
前記タイミングベルトの温度、或いは、前記タイミングベルトの温度に相関を有する温度を検出する温度検出手段を備え、
前記制御手段は、前記記録動作を実行する際に、前記温度検出手段によって検出された温度と、前記モータの初期駆動負荷とに基づいて、前記パラメータを設定すること、
を特徴とする記録装置。
A recording operation for recording an image on a recording medium includes a motor, a timing belt that transmits the power of the motor to a driven system, and a control unit that performs arithmetic processing using parameters to control the operation of the motor. In the recording device to perform
A temperature detecting means for detecting the temperature of the timing belt or a temperature correlated with the temperature of the timing belt;
The control means sets the parameter based on the temperature detected by the temperature detection means and the initial driving load of the motor when the recording operation is executed.
A recording apparatus.
前記制御手段は、PID制御を含む方法により前記モータの動作を制御するものであって、
前記パラメータは、前記PID制御における比例項定数と、積分項定数と、微分項定数とを含むこと、
を特徴とする請求項1記載の記録装置。
The control means controls the operation of the motor by a method including PID control,
The parameters include a proportional term constant, an integral term constant, and a derivative term constant in the PID control.
The recording apparatus according to claim 1.
前記制御手段は、
前記タイミングベルトの温度域と前記初期駆動負荷とに対応づけて、前記パラメータを記憶する記憶手段を備え、
前記記録動作を実行する際に、前記温度検出手段により検出された温度に対応する温度域と、前記初期駆動負荷とに基づいて、前記記憶手段に記憶された前記パラメータを読み出して設定すること、
を特徴とする請求項1または2記載の記録装置。
The control means includes
A storage means for storing the parameter in association with the temperature range of the timing belt and the initial driving load,
When performing the recording operation, reading and setting the parameter stored in the storage unit based on the temperature range corresponding to the temperature detected by the temperature detection unit and the initial driving load;
The recording apparatus according to claim 1 or 2.
前記制御手段は、前記記録動作の実行中において改ページ動作を行う毎に、前記温度検出手段により検出された温度と前記初期駆動負荷とに基づいて前記パラメータを設定すること、
を特徴とする請求項1から3のいずれかに記載の記録装置。
The control means sets the parameter based on the temperature detected by the temperature detection means and the initial driving load every time a page break operation is performed during execution of the recording operation.
The recording apparatus according to claim 1, wherein the recording apparatus is a recording apparatus.
前記制御手段は、前記記録動作の実行中において改行動作を行う毎に、前記温度検出手段により検出された温度と前記初期駆動負荷とに基づいて前記パラメータを設定すること、
を特徴とする請求項1から4のいずれかに記載の記録装置。
The control means sets the parameter based on the temperature detected by the temperature detection means and the initial driving load every time a line feed operation is performed during execution of the recording operation.
The recording apparatus according to claim 1, wherein:
前記温度検出手段は、前記タイミングベルトの温度に相関を有する温度として前記モータの温度を検出するものであること、
を特徴とする請求項1から5のいずれかに記載の記録装置。
The temperature detecting means detects the temperature of the motor as a temperature having a correlation with the temperature of the timing belt;
The recording apparatus according to claim 1, wherein:
モータと、このモータの動力を被駆動系に伝達するタイミングベルトとを備えた記録装置において、パラメータを用いた演算処理を行って前記モータの動作を制御するモータ制御方法であって、
前記記録動作を実行する際に、前記タイミングベルトの温度、或いは、前記タイミングベルトの温度に相関を有する温度を検出し、検出した温度と、前記モータの初期駆動負荷とに基づいて、前記パラメータを設定すること、
を特徴とする記録装置におけるモータ制御方法。
In a recording apparatus comprising a motor and a timing belt that transmits the power of the motor to a driven system, a motor control method for controlling the operation of the motor by performing arithmetic processing using parameters,
When executing the recording operation, the temperature of the timing belt or a temperature correlated with the temperature of the timing belt is detected, and the parameter is set based on the detected temperature and the initial driving load of the motor. Setting,
A motor control method in a recording apparatus.
JP2005072296A 2005-03-15 2005-03-15 Recording apparatus and method for controlling motor in recording apparatus Pending JP2006255899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005072296A JP2006255899A (en) 2005-03-15 2005-03-15 Recording apparatus and method for controlling motor in recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005072296A JP2006255899A (en) 2005-03-15 2005-03-15 Recording apparatus and method for controlling motor in recording apparatus

Publications (1)

Publication Number Publication Date
JP2006255899A true JP2006255899A (en) 2006-09-28

Family

ID=37095647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005072296A Pending JP2006255899A (en) 2005-03-15 2005-03-15 Recording apparatus and method for controlling motor in recording apparatus

Country Status (1)

Country Link
JP (1) JP2006255899A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111483237A (en) * 2019-01-25 2020-08-04 精工爱普生株式会社 Printing apparatus, learning apparatus, and learning method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111483237A (en) * 2019-01-25 2020-08-04 精工爱普生株式会社 Printing apparatus, learning apparatus, and learning method
JP2020116869A (en) * 2019-01-25 2020-08-06 セイコーエプソン株式会社 Printer, learning device, learning method and learning program
US11165915B2 (en) 2019-01-25 2021-11-02 Seiko Epson Corporation Printer, learning device, and learning method

Similar Documents

Publication Publication Date Title
US9199492B2 (en) Motor control device, fluid ejection device, and motor control method
JP5067081B2 (en) Liquid ejection device
US7086729B2 (en) Tray transferring controller, recording apparatus and liquid ejecting apparatus
JP2006255899A (en) Recording apparatus and method for controlling motor in recording apparatus
JP4367467B2 (en) Printer and printer control method
JP4362815B2 (en) Platen gap adjusting device, printing device, and motor control device
JP4379443B2 (en) Printer and printer control method
JP2003266835A (en) Recorder and cutter
JP3155468B2 (en) Label printer
US7588379B2 (en) Drive motor control method and printer
JP2006170745A (en) Encoder structure and printer structure
JP4662821B2 (en) Motor drive control device, image forming apparatus, and program
JP5125370B2 (en) Drive control device and drive control method
JP2005074905A (en) Tray feeding controller, recording apparatus, and liquid jetting apparatus
US11738568B1 (en) Printer
JP4066185B2 (en) Tray feed control device, recording device, liquid ejecting device
JP2008001449A (en) Printer and method for determining existence or absence of printing medium
JP2007119153A (en) Paper position detection device and printer
JP2008001450A (en) Printer and method for determining existence or absence of printing medium
JP2004249476A (en) Recorder and liquid ejector
JP2022018324A (en) Printer, printed medium width derivation method, and program
JP2009055673A (en) Motor controller
JP2002370346A (en) Ink jet printer
JP2008024488A (en) Printer and method of controlling printer
JP2006160475A (en) Printing device, and sticky note tray