JP2006240026A - Recording apparatus and method for controlling recording - Google Patents

Recording apparatus and method for controlling recording Download PDF

Info

Publication number
JP2006240026A
JP2006240026A JP2005057964A JP2005057964A JP2006240026A JP 2006240026 A JP2006240026 A JP 2006240026A JP 2005057964 A JP2005057964 A JP 2005057964A JP 2005057964 A JP2005057964 A JP 2005057964A JP 2006240026 A JP2006240026 A JP 2006240026A
Authority
JP
Japan
Prior art keywords
carriage
recording
speed
detected
driving
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.)
Withdrawn
Application number
JP2005057964A
Other languages
Japanese (ja)
Inventor
Mamoru Ninomiya
護 二宮
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005057964A priority Critical patent/JP2006240026A/en
Publication of JP2006240026A publication Critical patent/JP2006240026A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a carriage from being broken and an ink delivering face of a recording head exposed on the bottom face of the carriage from being damaged by rapidly stopping driving of the carriage when such abnormalities as paper floating condition of a recording paper and a foreign substance accidentally entered in an apparatus coming into contact with the carriage, in an inkjet recording apparatus. <P>SOLUTION: When the carriage is driven, while calculation processing on driving command values on position and speed is performed, information on the position and the speed are acquired by utilizing encoder information carried on the carriage. They are fed back, to judge the driving condition of the carriage from the information of differences between the position or the speed command value and the present position and speed values of the carriage, and when the difference values exceed allowable values, driving of the carriage is stopped. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は記録装置及び記録制御方法に関し、特に、例えば、インクジェット記録装置におけるキャリッジ駆動の減速及び停止制御に関する。   The present invention relates to a recording apparatus and a recording control method, and more particularly, to carriage drive deceleration and stop control in an inkjet recording apparatus, for example.

従来のシリアルプリンタには、例えば、ドットインパクト方式、インクジェット方式、或いは熱転写方式などに従う記録ヘッドを搭載したキャリッジを走査する駆動源として、DCモータとその制御装置(以下、モータドライバ)が用いられている。   In a conventional serial printer, for example, a DC motor and its control device (hereinafter referred to as a motor driver) are used as a drive source for scanning a carriage on which a recording head according to a dot impact method, an ink jet method, or a thermal transfer method is mounted. Yes.

一般的なシリアルプリンタは、外部コンピュータなどから記録データを受信すると、キャリッジ駆動のためにモータ回転をスタートし、一定速度に達したところで記録を開始する構成となっている。そして、キャリッジ一走査分の記録データを用いて記録を行うとモータを停止させて、前記一走査分の幅に相当する長さだけ、例えば、記録用紙のような記録媒体を搬送する。更に、記録データがある場合は以上の動作を繰り返して記録を続行する。   A general serial printer has a configuration in which when recording data is received from an external computer or the like, motor rotation is started to drive the carriage, and recording is started when a certain speed is reached. When recording is performed using recording data for one scan of the carriage, the motor is stopped, and a recording medium such as recording paper is conveyed by a length corresponding to the width of the one scan. Further, if there is recording data, the above operation is repeated to continue recording.

ここで、キャリッジ駆動モータ(以下、キャリッジモータという)の動作について詳細に説明する。   Here, the operation of the carriage drive motor (hereinafter referred to as the carriage motor) will be described in detail.

まず、記録開始命令がコンピュータから送られてくると、プリンタのコントローラはモータドライバを介してキャリッジモータを起動する。   First, when a recording start command is sent from the computer, the printer controller activates the carriage motor via the motor driver.

図8はキャリッジ1走査におけるキャリッジの速度変化を示す図である。   FIG. 8 is a diagram showing a change in the carriage speed in one carriage scan.

図8に示すように、キャリッジモータ起動直後は騒音や振動が発生しないように徐々にキャリッジを加速する(A:加速領域)。そして、キャリッジが所定の目標速度(v=vc)に達すると、定速制御に移行し、記録ヘッドを駆動して記録を行う(B:定速領域)。記録終了後はキャリッジ速度を速やかに減速し停止させる(C:減速領域)。そして、定速領域B、減速領域Cにおいては急激な速度変動によって騒音等が発生しないように、さらに、定速領域Bにおいては記録精度を乱さないように制御する。 As shown in FIG. 8, immediately after the carriage motor is started, the carriage is gradually accelerated so that noise and vibration do not occur (A: acceleration region). When the carriage reaches a predetermined target speed (v = v c ), the process shifts to constant speed control, and the recording head is driven to perform recording (B: constant speed region). After the end of recording, the carriage speed is quickly reduced and stopped (C: deceleration area). In the constant speed region B and the deceleration region C, control is performed so that noise or the like does not occur due to a rapid speed change, and further, in the constant speed region B, recording accuracy is not disturbed.

このようなキャリッジモータの速度制御はPID制御ループを持つサーボシステムによって行われるのが一般的で、最終的にはモータに印加する電圧あるいはPWMのデューティを変化させることによって行われる。   Such speed control of the carriage motor is generally performed by a servo system having a PID control loop, and finally is performed by changing a voltage applied to the motor or a duty of PWM.

ここで、PWMのデューティを制御してモータ速度を制御する例について説明する。   Here, an example of controlling the motor speed by controlling the PWM duty will be described.

まず、外部からの指示速度からエンコーダ等の位置や速度の検出機構によって検出された制御対象(ここではキャリッジ)の移動速度あるいはモータの回転速度を減算し、速度誤差(Ve)を計算する。次に、式(1)に従って、操作量(ここではPWMのデューティ)を計算する。   First, the speed error (Ve) is calculated by subtracting the moving speed of the controlled object (here, the carriage) or the rotational speed of the motor detected by the position and speed detecting mechanism such as an encoder from the externally designated speed. Next, an operation amount (here, PWM duty) is calculated according to the equation (1).

PWM=Kp ×Ve +Ki ×∫Ve・dt +Kd ×(dVe/dt)……(1)
ここで、Kpは比例制御定数、Kiは積分制御定数、Kdは微分制御定数とする。この計算値にしたがってモータドライバに印加するPWMのデューティを変化させ、キャリッジの速度制御を行う。
PWM = Kp × Ve + Ki × ∫Ve · dt + Kd × (dVe / dt) (1)
Here, Kp is a proportional control constant, Ki is an integral control constant, and Kd is a differential control constant. The speed of the carriage is controlled by changing the duty of the PWM applied to the motor driver according to the calculated value.

キャリッジモータの制御は、キャリッジ駆動制御を行う際、キャリッジを含む機構系の負荷、駆動する時の騒音、記録ヘッドから吐出されるインクの周期などを考慮して制御される。また、モータを駆動する場合、トルクについて着目すると、機構系の負荷の大きさに対して所定のマージンをもった駆動トルクで駆動を行っている(特許文献1)。
特開2004−090267号公報
The carriage motor is controlled in consideration of the load on the mechanical system including the carriage, noise during driving, the period of ink ejected from the recording head, and the like when performing carriage driving control. Further, when driving the motor, focusing on the torque, the motor is driven with a driving torque having a predetermined margin with respect to the load of the mechanical system (Patent Document 1).
JP 2004-090267 A

さて、近年になりシリアルプリンタに対して多種多様な記録媒体への記録動作を可能とするニーズが高まり、現実に様々な記録媒体が存在するようになっている。   In recent years, there has been a growing need for serial printers to perform recording operations on a wide variety of recording media, and various recording media have actually existed.

このような媒体に記録動作を行う際には、記録装置の構造上、種々の解決すべき課題が発生する。   When performing a recording operation on such a medium, various problems to be solved arise due to the structure of the recording apparatus.

特に代表的なのは、紙浮きと呼ばれる課題であり、装置の使用環境や記録媒体の保存状態によって、記録媒体そのものが反り返ってしまう現象である。通常、記録媒体の表面から記録ヘッドまでの高さは1〜2mmで設計されている。従って、微小な紙浮きが発生すると記録媒体と走査する記録ヘッドとが接触してしまうという問題が生じる。そして、紙浮きの量が大きい場合には、記録媒体を破りながらキャリッジが往復走査してしまい、記録媒体だけでなく記録ヘッドのノズル面を破損させてしまう可能性もある。   A typical example is a problem called paper floating, which is a phenomenon in which the recording medium itself warps depending on the use environment of the apparatus and the storage state of the recording medium. Usually, the height from the surface of the recording medium to the recording head is designed to be 1 to 2 mm. Therefore, when a minute paper float occurs, there arises a problem that the recording medium comes into contact with the scanning recording head. When the amount of paper floating is large, the carriage may reciprocate while tearing the recording medium, which may damage not only the recording medium but also the nozzle surface of the recording head.

本発明は上記従来例に鑑みてなされたもので、キャリッジ走査の異常を瞬時に検出し、記録媒体や記録ヘッドをその破損から保護することが可能な記録装置、及び記録制御方法を提供することを目的としている。   The present invention has been made in view of the above conventional example, and provides a recording apparatus and a recording control method capable of instantaneously detecting an abnormality in carriage scanning and protecting the recording medium and the recording head from damage. It is an object.

上記目的を達成するために本発明の記録装置は、以下のような構成からなる。   In order to achieve the above object, the recording apparatus of the present invention has the following configuration.

即ち、記録ヘッドを搭載したキャリッジを往復移動させて記録媒体に記録を行う記録装置であって、前記キャリッジを駆動する駆動手段と、前記駆動手段により駆動された前記キャリッジの位置及び速度を検出する検出手段と、前記キャリッジの位置及び速度を指令する指令手段と、前記検出手段によって検出されたキャリッジの位置及び速度をフィードバックして前記指令手段によって指令された指令値と比較する比較手段と、前記比較手段による比較結果に従って、前記キャリッジを停止するよう前記駆動手段を制御する駆動制御手段とを有し、前記駆動制御手段は、前記比較手段による比較により、前記検出されたキャリッジの位置及び速度と該検出値に夫々対応する指令値との差分が所定の閾値より大きい場合には、前記駆動手段の駆動を停止させる指示を出力することを特徴とする。   That is, a recording apparatus that performs recording on a recording medium by reciprocating a carriage on which a recording head is mounted, and detects a position of a carriage driven by the driving means and a position and speed of the carriage driven by the driving means. Detection means, command means for commanding the position and speed of the carriage, comparison means for feeding back the position and speed of the carriage detected by the detection means and comparing with the command value commanded by the command means, Drive control means for controlling the drive means to stop the carriage according to the comparison result by the comparison means, and the drive control means is configured to detect the position and speed of the carriage detected by the comparison by the comparison means. When the difference between the detected value and the command value corresponding to the detected value is larger than a predetermined threshold value, And outputs an instruction to stop moving.

ここで、前記検出手段には、キャリッジの移動方向に配設されたスケールと、キャリッジに搭載され前記キャリッジの移動に従って前記スケールを読み取るエンコーダと、そのエンコーダからの出力信号に基づいて、キャリッジの位置信号と速度信号とを生成する生成手段とが含まれる。   Here, the detection means includes a scale disposed in a carriage movement direction, an encoder mounted on the carriage for reading the scale according to the movement of the carriage, and a position of the carriage based on an output signal from the encoder. Generation means for generating a signal and a speed signal are included.

また、前記駆動手段には、例えば、DCモータのようなキャリッジモータと、そのキャリッジモータを駆動するモータドライバとが含まれる。   The drive means includes, for example, a carriage motor such as a DC motor and a motor driver that drives the carriage motor.

従って、この場合、前記駆動制御手段は、モータドライバにキャリッジモータの駆動を停止させる指示を発行すると良い。   Therefore, in this case, the drive control means may issue an instruction for stopping the drive of the carriage motor to the motor driver.

さらに、キャリッジの往復移動は、その加速移動区間と、定速移動区間と、減速移動区間とに分けられるのであるが、前記駆動制御手段は、その加速移動区間と定速移動区間においては、検出されたキャリッジ速度に基づいた駆動手段の制御を行い、減速移動区間においては、検出されたキャリッジ位置に基づいた駆動手段の制御を行うことが望ましい。   Furthermore, the reciprocating movement of the carriage is divided into an acceleration movement section, a constant speed movement section, and a deceleration movement section. The drive control means detects in the acceleration movement section and the constant speed movement section. It is desirable to perform control of the driving means based on the carriage speed, and to control the driving means based on the detected carriage position in the deceleration movement section.

具体的に、前記検出手段による検出と前記比較手段による比較とによるフィードバック制御は、例えば、約2ミリ秒毎に行うと良い。   Specifically, the feedback control based on the detection by the detection unit and the comparison by the comparison unit may be performed, for example, about every 2 milliseconds.

なお、前記記録ヘッドはインクを記録媒体に吐出して記録を行うインクジェット記録ヘッドであることは好ましい。   The recording head is preferably an ink jet recording head that performs recording by discharging ink onto a recording medium.

また他の発明によれば、記録ヘッドを搭載したキャリッジを駆動手段により往復移動させて記録媒体に記録を行う際の記録制御方法であって、前記駆動手段により駆動された前記キャリッジの位置及び速度を検出する検出工程と、前記キャリッジの位置及び速度を指令する指令工程と、前記検出工程において検出されたキャリッジの位置及び速度をフィードバックして前記指令工程において指令された指令値と比較する比較工程と、前記比較工程による比較結果に従って、前記キャリッジを停止するよう前記駆動手段を制御する駆動制御工程とを有し、前記駆動制御工程では、前記比較工程における比較により、前記検出されたキャリッジの位置及び速度と該検出値に夫々対応する指令値との差分が所定の閾値より大きい場合には、前記駆動手段の駆動を停止させる指示を出力することを特徴とする記録制御方法を備える。   According to another aspect of the present invention, there is provided a recording control method for performing recording on a recording medium by reciprocating a carriage having a recording head mounted thereon by a driving unit, the position and speed of the carriage driven by the driving unit. A detection step for detecting the carriage, a command step for commanding the position and speed of the carriage, and a comparison step for feeding back the position and speed of the carriage detected in the detection step and comparing them with the command value commanded in the command step And a drive control step for controlling the drive means to stop the carriage in accordance with the comparison result in the comparison step. In the drive control step, the detected carriage position by the comparison in the comparison step If the difference between the speed and the command value corresponding to the detected value is larger than a predetermined threshold value, the drive A recording control method characterized by outputting a command to stop the drive of the stage.

従って本発明によれば、キャリッジ駆動制御において、例えば、記録用紙のような記録媒体がキャリッジに接触してしまう等の異常状態を、検出したキャリッジ位置と速度をフィードバックして、これらの値に対する指令値と比較して、その比較結果に基づいてキャリッジを停止させることができるという効果がある。   Therefore, according to the present invention, in the carriage drive control, for example, an abnormal state such as a recording medium such as a recording sheet coming into contact with the carriage is fed back to the detected carriage position and speed, and commands for these values are sent. Compared with the value, the carriage can be stopped based on the comparison result.

これにより、従来の、例えば、過電流リミッタによる過電流検出といった電気回路によるキャリッジ駆動制御と比較して、より高速にキャリッジの動作異常を検知し対応することができる。従って、たとえ、記録動作中にキャリッジの動作異常が発生しても、記録媒体や記録ヘッドに対する被害や損傷を最小限に留めることができる。   Thereby, compared with the conventional carriage drive control by an electric circuit, for example, overcurrent detection by an overcurrent limiter, it is possible to detect and respond to a carriage operation abnormality at a higher speed. Therefore, even if a carriage operation abnormality occurs during the recording operation, damage or damage to the recording medium or the recording head can be minimized.

以下添付図面を参照して本発明の好適な実施例について詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

なお、この明細書において、「記録」(「プリント」という場合もある)とは、文字、図形等有意の情報を形成する場合のみならず、有意無意を問わず、また人間が視覚で知覚し得るように顕在化したものであるか否かを問わず、広く記録媒体上に画像、模様、パターン等を形成する、または媒体の加工を行う場合も表すものとする。   In this specification, “recording” (sometimes referred to as “printing”) is not only for forming significant information such as characters and figures, but also for human beings visually perceived regardless of significance. Regardless of whether or not it has been manifested, it also represents a case where an image, a pattern, a pattern, or the like is widely formed on a recording medium or the medium is processed.

また、「記録媒体」とは、一般的な記録装置で用いられる紙のみならず、広く、布、プラスチック・フィルム、金属板、ガラス、セラミックス、木材、皮革等、インクを受容可能なものも表すものとする。   “Recording medium” refers not only to paper used in general recording apparatuses but also widely to cloth, plastic film, metal plate, glass, ceramics, wood, leather, and the like that can accept ink. Shall.

さらに、「インク」(「液体」と言う場合もある)とは、上記「記録(プリント)」の定義と同様広く解釈されるべきもので、記録媒体上に付与されることによって、画像、模様、パターン等の形成または記録媒体の加工、或いはインクの処理(例えば記録媒体に付与されるインク中の色剤の凝固または不溶化)に供され得る液体を表すものとする。   Furthermore, “ink” (sometimes referred to as “liquid”) is to be interpreted broadly in the same way as the definition of “recording (printing)” above. It represents a liquid that can be used for forming a pattern or the like, processing a recording medium, or processing an ink (for example, solidification or insolubilization of a colorant in ink applied to the recording medium).

またさらに、「ノズル」とは、特にことわらない限り吐出口ないしこれに連通する液路およびインク吐出に利用されるエネルギーを発生する素子を総括して言うものとする。   Furthermore, unless otherwise specified, the “nozzle” collectively refers to an ejection port or a liquid channel communicating with the ejection port and an element that generates energy used for ink ejection.

図1は本発明の代表的な実施例であるインクジェット方式に従ってインクを吐出する記録ヘッドを搭載した記録装置の構成を示す外観斜視図である。   FIG. 1 is an external perspective view showing a configuration of a recording apparatus equipped with a recording head for ejecting ink according to an ink jet system which is a typical embodiment of the present invention.

図1において、キャリッジ5は記録ヘッド1と搭載し、矢印A1、A2方向にガイドレール4に沿って往復移動する。記録ヘッド1は、熱エネルギーを利用しても良いし、あるいは機械エネルギーを利用して記録用液体の液滴をインク吐出ノズル(以下、ノズル)から吐出し、記録媒体上に画像を形成する。   In FIG. 1, a carriage 5 is mounted with a recording head 1 and reciprocates along a guide rail 4 in the directions of arrows A1 and A2. The recording head 1 may use thermal energy, or eject liquid droplets of recording liquid from ink ejection nozzles (hereinafter referred to as nozzles) using mechanical energy to form an image on a recording medium.

また、記録ヘッド1は、例えば、それぞれ異なった色のインクに対応した複数の記録素子群から構成された複数のヘッドユニットを有している。例えば、Y(イエロ)インクを吐出するために用いられるヘッドユニット、M(マゼンタ)インクを吐出するために用いられるヘッドユニット、C(シアン)インクを吐出するために用いられるヘッドユニット、Bk(ブラック)インクを吐出するために用いられるヘッドユニットなどである。これら各色のインクはメインタンク7に貯留され、メインタンク7よりチューブ9、ジョイント8を介して記録ヘッド1に供給される。そして、メインタンク7から供給されたインクはサブタンク(不図示)に貯留され、そのサブタンクを経て記録ヘッド1に供給される。   Further, the recording head 1 has, for example, a plurality of head units composed of a plurality of recording element groups corresponding to different colors of ink. For example, a head unit used for discharging Y (yellow) ink, a head unit used for discharging M (magenta) ink, a head unit used for discharging C (cyan) ink, and Bk (black) And a head unit used to eject ink. These color inks are stored in the main tank 7 and supplied from the main tank 7 to the recording head 1 through the tube 9 and the joint 8. The ink supplied from the main tank 7 is stored in a sub tank (not shown), and is supplied to the recording head 1 through the sub tank.

この実施例では、サブタンクと記録ヘッド1とは一体となりヘッドカートリッジ6を構成し、ヘッドカートリッジ6がキャリッジ5に搭載される構成となっている。   In this embodiment, the sub tank and the recording head 1 are integrated to form a head cartridge 6, and the head cartridge 6 is mounted on the carriage 5.

また、キャリッジモータ11の駆動力をタイミングベルト17によってキャリッジ5に伝えることにより、キャリッジ5を矢印A1、A2方向(主走査方向)にガイド軸3とガイドレール4に沿って往復移動させる。このキャリッジ移動の際に、キャリッジ位置はキャリッジ5に設けられたエンコーダセンサ21によりキャリッジの移動方向に沿って備えられたリニアスケール19を読み取ることにより検出される。そして、この往復移動により記録媒体上への記録が開始される。この時、記録用シートS2はシート供給部12より供給され、搬送ローラ16とピンチローラ15とにより挟持され、プラテン2まで搬送される。   Further, by transmitting the driving force of the carriage motor 11 to the carriage 5 by the timing belt 17, the carriage 5 is reciprocated along the guide shaft 3 and the guide rail 4 in the directions of arrows A 1 and A 2 (main scanning direction). During this carriage movement, the carriage position is detected by reading a linear scale 19 provided along the carriage movement direction by an encoder sensor 21 provided on the carriage 5. Then, recording on the recording medium is started by this reciprocation. At this time, the recording sheet S <b> 2 is supplied from the sheet supply unit 12, sandwiched between the conveyance roller 16 and the pinch roller 15, and conveyed to the platen 2.

次に、主走査方向に関してキャリッジ1走査分の記録が終了すると、キャリッジ5が所定位置(記録開始される前の定位置、以下、ホームポジションという)まで戻されるとともに、搬送モータ13によってリニアホイール20を介して搬送ローラ16が駆動され、例えば、記録用シートS2のような記録媒体が副走査方向(図中の矢印B方向)に所定量搬送される。ホームポジションには図1に示されているように、ヘッドキャップ10と回復ユニット14が備えられ、必要に応じて間歇的に記録ヘッド1の回復処理を行う。   Next, when the printing for one carriage scan is completed in the main scanning direction, the carriage 5 is returned to a predetermined position (a fixed position before the recording is started, hereinafter referred to as a home position), and the linear motor 20 is driven by the carry motor 13. Then, the conveying roller 16 is driven, and for example, a recording medium such as the recording sheet S2 is conveyed by a predetermined amount in the sub-scanning direction (the arrow B direction in the figure). As shown in FIG. 1, the home position is provided with a head cap 10 and a recovery unit 14, and performs recovery processing of the recording head 1 intermittently as necessary.

その後、再び上述のように、タイミングベルト17およびキャリッジモータ11によって、キャリッジ5が主走査方向に対する所定位置から矢印A1、A2方向に移動することにより、記録媒体に対する画像や文字等の記録が行なわれる。さらに、記録媒体は、搬送ローラ16とピンチローラ15とに挟持されながら、搬送ローラ16の回転によって、プラテン2上を記録ヘッドの走査に同期して間欠的に搬送される。   Thereafter, as described above, the timing belt 17 and the carriage motor 11 move the carriage 5 from the predetermined position in the main scanning direction in the directions of the arrows A1 and A2, thereby recording an image, characters, or the like on the recording medium. . Further, the recording medium is intermittently conveyed on the platen 2 in synchronization with the scanning of the recording head by the rotation of the conveying roller 16 while being sandwiched between the conveying roller 16 and the pinch roller 15.

上記説明した動作を繰り返すことにより、記録媒体の1枚分の記録が終了すると、記録媒体は排紙され、1枚分の記録が完了する。   By repeating the above-described operation, when recording for one sheet of recording medium is completed, the recording medium is discharged and recording for one sheet is completed.

図2は図1に示した記録装置の制御構成を示すブロック図である。   FIG. 2 is a block diagram showing a control configuration of the recording apparatus shown in FIG.

図2に示すように、コントローラ600は、MPU601、後述する制御シーケンスに対応したプログラム、所要のテーブル、その他の固定データを格納したROM602、キャリッジモータ11の制御、搬送モータ13の制御、及び、記録ヘッド1の制御のための制御信号を生成する特殊用途集積回路(ASIC)603、画像データの展開領域やプログラム実行のための作業用領域等を設けたRAM604、MPU601、ASIC603、RAM604を相互に接続してデータの授受を行うシステムバス605、以下に説明するセンサ群からのアナログ信号を入力してA/D変換し、デジタル信号をMPU601に供給するA/D変換器606などで構成される。   As shown in FIG. 2, the controller 600 includes an MPU 601, a program corresponding to a control sequence to be described later, a required table, a ROM 602 storing other fixed data, a control of the carriage motor 11, a control of the transport motor 13, and a recording. A special purpose integrated circuit (ASIC) 603 that generates a control signal for controlling the head 1, a RAM 604 provided with a development area for image data, a work area for executing a program, and the like, MPU 601, ASIC 603, and RAM 604 are mutually connected. A system bus 605 for transferring data, and an A / D converter 606 for inputting analog signals from the sensor group described below, A / D converting them, and supplying digital signals to the MPU 601 and the like.

また、図2において、610は画像データの供給源となるコンピュータ(或いは、画像読取り用のリーダやデジタルカメラなど)でありホスト装置と総称される。ホスト装置610と記録装置1との間ではインタフェース(I/F)611を介して画像データ、コマンド、ステータス信号等を送受信する。   In FIG. 2, reference numeral 610 denotes a computer (or a reader for image reading, a digital camera, etc.) serving as a supply source of image data, and is collectively referred to as a host device. Image data, commands, status signals, and the like are transmitted and received between the host apparatus 610 and the recording apparatus 1 via an interface (I / F) 611.

さらに、620はスイッチ群であり、電源スイッチ621、プリント開始を指令するためのプリントスイッチ622、及び記録ヘッド1のインク吐出性能を良好な状態に維持するための処理(回復処理)の起動を指示するための回復スイッチ623など、操作者による指令入力を受けるためのスイッチから構成される。630はホームポジションを検出するためのフォトカプラなどの位置センサ631、環境温度を検出するために記録装置の適宜の箇所に設けられた温度センサ632等から構成される装置状態を検出するためのセンサ群である。   Reference numeral 620 denotes a switch group, which instructs to start a power switch 621, a print switch 622 for instructing the start of printing, and a process (recovery process) for maintaining the ink ejection performance of the recording head 1 in a good state. For example, a recovery switch 623 for receiving a command input from the operator. Reference numeral 630 denotes a sensor for detecting an apparatus state including a position sensor 631 such as a photocoupler for detecting a home position, a temperature sensor 632 provided at an appropriate position of the recording apparatus for detecting an environmental temperature, and the like. Is a group.

さらに、640はキャリッジ5を矢印A1、A2方向に往復走査させるためのキャリッジモータ11を駆動させるキャリッジモータドライバ、642は記録媒体を搬送するための搬送モータ13を駆動させる搬送モータドライバである。   Further, reference numeral 640 denotes a carriage motor driver for driving the carriage motor 11 for reciprocating scanning of the carriage 5 in the directions of arrows A1 and A2. Reference numeral 642 denotes a conveyance motor driver for driving the conveyance motor 13 for conveying the recording medium.

ASIC603は、記録ヘッド1による記録走査の際に、RAM602の記憶領域に直接アクセスしながら記録ヘッドに対して記録素子(吐出ヒータ)の駆動データ(DATA)を転送する。   The ASIC 603 transfers printing element (ejection heater) drive data (DATA) to the print head while directly accessing the storage area of the RAM 602 during print scan by the print head 1.

また、キャリッジ5の移動に従って、キャリッジ5に備えられたエンコーダセンサ21はリニアスケール19を読み取ることによって発生するエンコーダ信号をエンコーダコントローラ644に出力する。エンコーダコントローラ644はエンコーダ信号を信号処理して、キャリッジ位置とキャリッジ速度とを夫々示すキャリッジ位置信号とキャリッジ速度信号とを生成し、これらをMPU601に出力する。   Further, as the carriage 5 moves, the encoder sensor 21 provided in the carriage 5 outputs an encoder signal generated by reading the linear scale 19 to the encoder controller 644. The encoder controller 644 performs signal processing on the encoder signal, generates a carriage position signal and a carriage speed signal indicating the carriage position and the carriage speed, and outputs them to the MPU 601.

次に、以上説明した構成の記録装置におけるキャリッジモータ駆動によるキャリッジ移動制御について、図3〜図4を参照して説明する。ここで、キャリッジモータ11はDCモータであるとする。   Next, carriage movement control by carriage motor drive in the recording apparatus having the above-described configuration will be described with reference to FIGS. Here, it is assumed that the carriage motor 11 is a DC motor.

図3〜図4はエンコーダ信号に基づくフィードバック制御に係る制御構成を示すブロック図である。具体的には、これらの構成は、キャリッジ駆動機構およびその駆動制御回路であるモータドライバ640、エンコーダセンサ21、エンコーダコントローラ644、MPU601、ASIC603などのキャリッジ移動の検出機構によって構成される。そして、図3がこれまでに知られているフィードバック制御構成を示し、図4がこの実施例に従うフィードバック制御構成を示している。   3 to 4 are block diagrams showing a control configuration related to feedback control based on an encoder signal. Specifically, these configurations include a carriage movement detection mechanism such as a carriage drive mechanism and its drive control circuit, such as a motor driver 640, an encoder sensor 21, an encoder controller 644, an MPU 601, and an ASIC 603. FIG. 3 shows a known feedback control configuration, and FIG. 4 shows a feedback control configuration according to this embodiment.

なお、図3〜図4において、共通の構成要素には同じ参照番号を付し、既に、図1〜図2で説明した構成要素には同じ参照番号を付している。   3 to 4, common constituent elements are given the same reference numerals, and constituent elements already described in FIGS. 1 to 2 are already assigned the same reference numerals.

図3〜図4によれば、エンコーダコントローラ644にはキャリッジ位置を検出する位置検出器105とそのキャリッジ位置変化からキャリッジ速度を検出する速度検出器106とが備えられる。また、生成されたキャリッジ位置信号やキャリッジ速度信号はエンコーダコントローラ644からRAM604と、MPU601或いはASIC603に転送される。   3 to 4, the encoder controller 644 includes a position detector 105 that detects the carriage position and a speed detector 106 that detects the carriage speed from the change in the carriage position. Also, the generated carriage position signal and carriage speed signal are transferred from the encoder controller 644 to the RAM 604 and the MPU 601 or ASIC 603.

一方、MPU601とASIC603には機能的に、キャリッジ速度を指令する指令値発生器101、PID補償器102、PWM制御器103、及び制御定数計算機109が備えられる。また、この実施例ではキャリッジ速度信号と指令されるキャリッジ速度からキャリッジの異常を検出する異常検出器110が備えられる。   On the other hand, the MPU 601 and the ASIC 603 are functionally provided with a command value generator 101 for instructing a carriage speed, a PID compensator 102, a PWM controller 103, and a control constant calculator 109. In this embodiment, an abnormality detector 110 for detecting a carriage abnormality from the carriage speed signal and the commanded carriage speed is provided.

なお、これらの機能をどのようにMPU601とASIC603で分担するかは、要求される性能や装置の価格などに依存して定められるものである。   Note that how these functions are shared by the MPU 601 and the ASIC 603 is determined depending on required performance, the price of the apparatus, and the like.

この実施例では、キャリッジ5の走査速度や位置は、キャリッジ5の走査方向に延在するリニアスケール19(例えば、150ドット/インチ(dpi)や300dpiに相当する記録ピッチ密度でスリットが記録されたもの)と、このスリットをキャリッジ5に搭載されたエンコーダセンサ21で読み取る事で生成されるエンコーダ信号に基づいて検出される。   In this embodiment, the scanning speed and position of the carriage 5 are recorded with slits at a recording scale density corresponding to a linear scale 19 (for example, 150 dots / inch (dpi) or 300 dpi) extending in the scanning direction of the carriage 5. And the encoder signal generated by reading the slit with the encoder sensor 21 mounted on the carriage 5.

さて、図3〜図4の構成から明らかなように、エンコーダセンサ21からのエンコーダ信号に基づいて生成されるフィードバック信号であるキャリッジ速度信号が示すキャリッジ速度値と指令速度値との誤差に応じてモータを制御するフィードバック制御によってキャリッジの移動が制御される。ここで、指令速度とは、キャリッジの速度が検出されたタイミングにおいて本来達成されるべき速度である。   As is apparent from the configurations of FIGS. 3 to 4, according to the error between the carriage speed value and the command speed value indicated by the carriage speed signal that is a feedback signal generated based on the encoder signal from the encoder sensor 21. The movement of the carriage is controlled by feedback control for controlling the motor. Here, the command speed is a speed that should be originally achieved at the timing when the speed of the carriage is detected.

キャリッジ制御は、速度に注目して制御を行うための速度制御と位置に注目して制御を行う位置制御に分けられる。   Carriage control is classified into speed control for performing control while paying attention to speed and position control for performing control while paying attention to position.

この実施例のようなインクジェット方式の記録動作では、記録ヘッドを走査しながら記録ヘッドから記録媒体にインクを吐出して記録を行うので、キャリッジ速度制御もしくは位置制御を適切に行いつつ、その制御に基づいてインクの吐出タイミングを適切に定めることにより、記録媒体上の所望位置に正確にインク液滴を付着させる必要がある。   In the ink jet recording operation as in this embodiment, the recording is performed by ejecting ink from the recording head to the recording medium while scanning the recording head. Therefore, the carriage speed control or the position control is appropriately performed and the control is performed. It is necessary to accurately deposit ink droplets at desired positions on the recording medium by appropriately determining the ink ejection timing based on the above.

このようなインク吐出は、キャリッジ移動における定速領域および加速領域において行なわれることが多い。従って、キャリッジの加速領域と定速領域では、所定の指令速度に追従してキャリッジが移動するよう、速度に注目した制御が行なわれる。また、減速領域においては、所定の位置にキャリッジが停止できるように位置に注目してキャリッジ移動の制御が行なわれる。   Such ink ejection is often performed in a constant speed region and an acceleration region in carriage movement. Therefore, in the acceleration area and the constant speed area of the carriage, control focusing on the speed is performed so that the carriage moves following a predetermined command speed. In the deceleration region, the carriage movement is controlled by paying attention to the position so that the carriage can stop at a predetermined position.

図5〜図6はエンコーダ信号に基づいて検出されるキャリッジ速度とキャリッジ位置の時間変化を示す図であり、図5はキャリッジが正常に動作している場合を、図6はキャリッジの動作に異常が発生した場合を示している。   5 to 6 are diagrams showing temporal changes in the carriage speed and the carriage position detected based on the encoder signal. FIG. 5 shows a case where the carriage is operating normally, and FIG. 6 shows an abnormality in the operation of the carriage. This shows the case where this occurs.

なお、図5〜図6夫々において、(a)がキャリッジ速度の時間変化を、(b)がキャリッジ位置の時間変化を示しており、実線が指令値発生器100から出力された速度指令値を示し、点線がエンコーダセンサ21から出力されたエンコーダ信号(ENC)値に基づいて検出された値を示している。   5 to 6, (a) shows the time change of the carriage speed, (b) shows the time change of the carriage position, and the solid line shows the speed command value output from the command value generator 100. The dotted line indicates the value detected based on the encoder signal (ENC) value output from the encoder sensor 21.

キャリッジ5が正常に動作している場合には、指令値発生器100から出力された速度指令値、位置指令値に従って制御を行なう。そして、図8で説明したようなキャリッジの加速領域、定速領域、減速領域において、エンコーダ信号(ENC値)に基づいて、PID補償器102においてフィードバック制御演算を行う。   When the carriage 5 is operating normally, control is performed according to the speed command value and position command value output from the command value generator 100. Then, the feedback control calculation is performed in the PID compensator 102 based on the encoder signal (ENC value) in the acceleration area, constant speed area, and deceleration area of the carriage as described in FIG.

ここで、PID補償について説明する。これは制御状態の補償を行うもので、PIDのPは比例補償成分であり、具体的にはゲイン補償を行うことを意味する。また、PIDのIは積分補償成分であり、具体的には位相遅れ補償を行うことを意味する。PIDのDは微分補償成分であり、具体的には位相の進み補償を意味している。各成分のパラメータの最適化を行う事で、駆動系の特性補償を行う。そして、PID補償器102における各ブロックのパラメータとなるゲイン値については、制御定数計算器109にて指令される速度や加速や減速等の駆動状態によってそれぞれ決定される。   Here, PID compensation will be described. This is to compensate the control state, and P of PID is a proportional compensation component, and specifically means to perform gain compensation. Further, I of PID is an integral compensation component, and specifically means that phase delay compensation is performed. D of PID is a differential compensation component, and specifically means phase advance compensation. The characteristics of the drive system are compensated by optimizing the parameters of each component. Then, the gain value that is a parameter of each block in the PID compensator 102 is determined according to the speed commanded by the control constant calculator 109 and the driving state such as acceleration and deceleration.

図5から分かるように、キャリッジが正常に動作している場合は、指令値に対して実測値(エンコーダ信号によって得られた値)は良好な追従特性を示しており、フィードバック制御が正しく機能している。   As can be seen from FIG. 5, when the carriage is operating normally, the measured value (value obtained from the encoder signal) with respect to the command value shows a good tracking characteristic, and the feedback control functions correctly. ing.

これに対して、キャリッジ5の動作が異常である場合には、図3に示す従来のフィードバック制御構成では、指令値発生器100から出力された速度指令値、位置指令値に従ってキャリッジ駆動を行ない、キャリッジの加速領域、定速領域、減速領域において、エンコーダ信号(ENC値)に基づいて、PID補償器102においてフィードバック制御演算を行うが、図6から分かるように、エンコーダ信号(ENC値)から得られる値は指令値から大きく乖離しており、指令値発生器100からの速度指令値や位置指令値に追従できない状態となる。   On the other hand, when the operation of the carriage 5 is abnormal, the conventional feedback control configuration shown in FIG. 3 performs carriage drive according to the speed command value and position command value output from the command value generator 100, In the acceleration area, constant speed area, and deceleration area of the carriage, feedback control calculation is performed in the PID compensator 102 based on the encoder signal (ENC value). As can be seen from FIG. 6, it is obtained from the encoder signal (ENC value). The obtained value is greatly deviated from the command value, and cannot follow the speed command value and the position command value from the command value generator 100.

このような不都合に対処するため、この実施例では、図4に示したようにフィードバック制御構成の指令値発生器101とPID補償器102との間に異常検出器110を設けている。異常検出器110は、指令値発生器101からの指令値とキャリッジ駆動時のエンコーダ信号から得られるキャリッジ速度との差分Δvを監視し、これを判定値(Er_v))と比較し、異常状態が発生しているかどうかを判断する。   In order to cope with such inconvenience, in this embodiment, as shown in FIG. 4, an abnormality detector 110 is provided between the command value generator 101 and the PID compensator 102 having a feedback control configuration. The abnormality detector 110 monitors the difference Δv between the command value from the command value generator 101 and the carriage speed obtained from the encoder signal at the time of driving the carriage, and compares this with a determination value (Er_v)). Determine if it has occurred.

異常状態か否かの判断を行う差分の判定値については、装置の設計段階において移動速度や移動量に応じた値を設定する必要がある。この実施例では、加速領域、定速領域、減速領域において、共通に使用できる判定値をもつ。この実施例では、具体的には、その判定値(Er_v)を指令速度値の50%に相当する値としている。つまり、速度指令値の±50%以上の変動があった場合、異常状態と判断する。   As a difference determination value for determining whether or not an abnormal state has occurred, it is necessary to set a value corresponding to the moving speed or the moving amount at the design stage of the apparatus. In this embodiment, there are determination values that can be used in common in the acceleration region, constant speed region, and deceleration region. In this embodiment, specifically, the determination value (Er_v) is a value corresponding to 50% of the command speed value. That is, when there is a fluctuation of ± 50% or more of the speed command value, it is determined that the state is abnormal.

異常検出器110は、同様に、位置の異常についても位置指令値との差分(ΔP)について調べる。この実施例では、判定値(Er_p)として指令位置量の50%に相当する値を用いる。例えば、キャリッジが正常に動作していれば、1回あたりのフィードバックループにおいて、リニアスケール19の100スリット分の移動したことを検知すべきところを49スリット分の移動として検知した場合、異常状態と判断される。   Similarly, the abnormality detector 110 checks the difference (ΔP) from the position command value for the position abnormality. In this embodiment, a value corresponding to 50% of the command position amount is used as the determination value (Er_p). For example, if the carriage is operating normally, if it is detected that the movement of the linear scale 19 for 100 slits is detected as a movement of 49 slits in the feedback loop per time, an abnormal state is assumed. To be judged.

なお、異常状態を検出した場合、MPU601はフィードバック制御を中断し、キャリッジモータ11を駆動するキャリッジモータドライバ640に対してキャリッジモータの駆動を停止する指示を行う。この場合、記録ヘッド1が記録媒体と接触している恐れがあるので、減速領域を設けて滑らかに減速する制御を行うのではなく、キャリッジモータモータドライバ640に対してキャリッジモータ11を停止させる信号を出力させるよう制御する。   If an abnormal state is detected, the MPU 601 interrupts feedback control and instructs the carriage motor driver 640 that drives the carriage motor 11 to stop driving the carriage motor. In this case, since there is a possibility that the recording head 1 is in contact with the recording medium, a signal to stop the carriage motor 11 is sent to the carriage motor motor driver 640 instead of performing a deceleration control by providing a deceleration region. Is controlled to output.

次にこの実施例の特徴的な部分であるキャリッジ駆動における異常状態の検出及びキャリッジの停止処理について説明する。   Next, detection of an abnormal state and carriage stop processing in carriage driving, which are characteristic parts of this embodiment, will be described.

この実施例で説明しているキャリッジの動作異常状態とは、キャリッジ駆動時に、例えば、記録用紙などの記録媒体がその保存状態や環境条件等によって、その端部がプラテン2上から浮いてしまい、駆動中のキャリッジ5に接触してしまう状態であり、さらには記録用紙がキャリッジ5に引っ掛かり、記録用紙をキャリッジ5が移動させてしまうような状態を言う。   The abnormal operation state of the carriage described in this embodiment means that, when the carriage is driven, for example, a recording medium such as a recording sheet floats from the platen 2 due to its storage state, environmental conditions, etc. In this state, the carriage 5 is in contact with the driving carriage 5, and further, the recording paper is caught on the carriage 5, and the carriage 5 is moved.

この様な異常状態を検知するために、従来は、電気回路において電流リミッタ等を用いて過電流状態の検知を行うことが一般的であった。しかしながら、上記のような異常状態が発生した場合には、その過電流状態を検知するのに時間を要し、その間にもキャリッジは移動してしまう。例えば、その検知までに数10ミリ秒を要したなら、その間にもキャリッジは相当量移動する事になり、さらに記録用紙を破りながら移動することを想定すると、瞬時に移動状態を検知する事が求められる。   Conventionally, in order to detect such an abnormal state, it is common to detect an overcurrent state using a current limiter or the like in an electric circuit. However, when such an abnormal state occurs, it takes time to detect the overcurrent state, and the carriage moves during that time. For example, if it takes several tens of milliseconds to detect it, the carriage will move considerably during that time, and if it is assumed that the recording paper is torn and moved, the moving state can be detected instantaneously. Desired.

従って、この実施例では、この異常状態を検知する為に、上述したような構成を用い、キャリッジ駆動のフィードバック制御に用いられる位置又は速度指令値と、キャリッジ位置又は速度値との差分を監視し、一定以上の差が発生した場合は、速やかにキャリッジを停止させるように制御することで、キャリッジ又は記録ヘッドの破損を防ぐようにしている。   Therefore, in this embodiment, in order to detect this abnormal state, the difference between the position or speed command value used for carriage drive feedback control and the carriage position or speed value is monitored using the above-described configuration. When a difference of a certain level or more occurs, the carriage or the recording head is prevented from being damaged by controlling the carriage to stop immediately.

具体的には、この実施例では、2ミリ秒毎にエンコーダセンサ21から得たキャリッジ速度情報に基づきフィードバック制御を行う。例えば、定速領域においては、エンコーダから得られる速度の値は、予め求められている範囲内にある。このような状態において、プラテン2から浮いた紙の端部がキャリッジに接触した場合、キャリッジの速度変動は大きくなるため、エンコーダ信号からは前述した範囲から外れた値が得られる。従って、数回(例えば、3回)のフィードバック制御で得られるキャリッジ速度の値が所定の範囲から外れていれば、異常であると判断できる。この場合、約6ミリ秒(2ミリ秒×3)で異常状態であることを検出できる。   Specifically, in this embodiment, feedback control is performed based on carriage speed information obtained from the encoder sensor 21 every 2 milliseconds. For example, in the constant speed region, the speed value obtained from the encoder is within a previously determined range. In such a state, when the end of the paper floating from the platen 2 comes into contact with the carriage, the speed variation of the carriage becomes large, so that a value out of the above range is obtained from the encoder signal. Therefore, if the carriage speed value obtained by feedback control several times (for example, three times) is out of the predetermined range, it can be determined that there is an abnormality. In this case, an abnormal state can be detected in about 6 milliseconds (2 milliseconds × 3).

以上説明した制御構成は、記録装置の記録動作全体の手順に組み込まれる。   The control configuration described above is incorporated in the procedure of the entire recording operation of the recording apparatus.

図7はキャリッジ移動制御を中心に説明した記録動作の概略を示すフローチャートである。   FIG. 7 is a flowchart showing an outline of the recording operation described mainly on the carriage movement control.

まず、ステップS1では記録装置に接続されたホスト装置610から記録開始命令がインタフェース610を介して送られると、MPU601はキャリッジの初期化処理が必要か否かを判断し、必要であれば処理はステップS2に進み、初期化処理を実施し、不要であれば処理はステップS3に進む。   First, in step S1, when a recording start command is sent from the host apparatus 610 connected to the recording apparatus via the interface 610, the MPU 601 determines whether or not a carriage initialization process is necessary. The process proceeds to step S2, an initialization process is performed, and if unnecessary, the process proceeds to step S3.

この初期化処理の一つは、キャリッジ5をホームポジションに移動させる処理である。この実施例の場合、キャリッジの現在位置はキャリッジの移動可能な最大距離を超えた値に設定し、到達位置を例えば“0”に設定している。この到達位置を設定した後、フィードバック制御を行ない、キャリッジ5を移動させる。これにより、キャリッジ5は回復ユニット14へ移動するが、この設定した到達位置へ到達するまでの間に、本体側面に接触してキャリッジ5の移動が阻止させられる。   One of the initialization processes is a process for moving the carriage 5 to the home position. In this embodiment, the current position of the carriage is set to a value exceeding the maximum distance that the carriage can move, and the arrival position is set to, for example, “0”. After setting this arrival position, feedback control is performed to move the carriage 5. As a result, the carriage 5 moves to the recovery unit 14, but before reaching the set arrival position, the carriage 5 comes into contact with the side surface of the main body and is prevented from moving.

これによって、エンコーダセンサ21はキャリッジ位置が変化しないことを検出し、MPU601はこれに応じてキャリッジ5が停止状態にある事を認識する。この停止状態が、制御タイミングの所定回にわたって認識されたときは、キャリッジが本体側面に接触したと認識し、この位置をキャリッジ5のホームポジションとして設定する。この実施例では、このホームポジションの位置を、例えば、“100”とし、この設定以降は、キャリッジの移動に伴いエンコーダセンサ21とリニアスケール19によって検出される検出信号に基づいてキャリッジの位置が随時検出される。   Accordingly, the encoder sensor 21 detects that the carriage position does not change, and the MPU 601 recognizes that the carriage 5 is in a stopped state accordingly. When this stop state is recognized for a predetermined number of times of control timing, it is recognized that the carriage has contacted the side surface of the main body, and this position is set as the home position of the carriage 5. In this embodiment, the position of the home position is, for example, “100”, and after this setting, the position of the carriage is changed as needed based on detection signals detected by the encoder sensor 21 and the linear scale 19 as the carriage moves. Detected.

このようにして電源投入時等の初期化処理が必要な場合には初期化処理を行う。   In this way, when an initialization process such as power-on is necessary, the initialization process is performed.

記録を行わない時、キャリッジ5に搭載されている記録ヘッド1は回復ユニット14のキャップ10によって覆われるが、ステップS3では、そのキャッピング状態を調べる。ここで、記録ヘッド1がキャッピング状態であると判断された場合には、処理はステップS4に進み、キャップ10を記録ヘッド1から離脱させるキャップOPEN処理を実施し、さらに、キャップOPEN状態を確認する。これに対して、既にキャップ10が記録ヘッド1から外されていると判断された場合には、処理はステップS5に進む。   When recording is not performed, the recording head 1 mounted on the carriage 5 is covered with the cap 10 of the recovery unit 14, but in step S3, its capping state is checked. If it is determined that the recording head 1 is in the capping state, the process proceeds to step S4, a cap OPEN process for removing the cap 10 from the recording head 1 is performed, and the cap OPEN state is confirmed. . On the other hand, if it is determined that the cap 10 has already been removed from the recording head 1, the process proceeds to step S5.

ステップS5では、搬送される記録媒体(ここでは記録用紙とする)について、記録装置の記録位置にその用紙があるか否かを調べる。ここで、記録用紙がないと判断された場合には、処理はステップS6に進み、搬送モータ13を駆動して搬送ローラ16を回転させ記録用紙を給紙し記録開始位置まで搬送する。これに対して、記録用紙があると判断された場合には、処理はステップS7に進む。   In step S5, it is checked whether or not the recording medium to be conveyed (here, a recording sheet) has the sheet at the recording position of the recording apparatus. If it is determined that there is no recording paper, the process proceeds to step S6, the transport motor 13 is driven to rotate the transport roller 16, and the recording paper is fed and transported to the recording start position. On the other hand, if it is determined that there is a recording sheet, the process proceeds to step S7.

次に処理はステップS7において、MPU601は、ホスト装置610から送信された記録データに応じたキャリッジの到達すべき到達位置を設定し、さらにステップS8においてフィードバック制御を実行しながらキャリッジ移動を行う。   Next, in step S7, the MPU 601 sets a carriage arrival position corresponding to the print data transmitted from the host device 610, and further performs carriage movement while executing feedback control in step S8.

この実施例におけるキャリッジ移動制御において、フィードバック制御は、2ミリ秒の周期で実施される。   In the carriage movement control in this embodiment, the feedback control is performed at a cycle of 2 milliseconds.

キャリッジ移動開始後、キャリッジ5が記録開始位置に到達すると、キャリッジ5に搭載された記録ヘッド1に対して記録信号がコントローラ600から転送され、これにより、記録ヘッド1の吐出口からインクが吐出されて記録が開始される。さらにキャリッジ5の移動が行われ、設定された到達位置まで移動する間、記録ヘッド1からインクが吐出され記録が継続される。   When the carriage 5 reaches the recording start position after the carriage movement starts, a recording signal is transferred from the controller 600 to the recording head 1 mounted on the carriage 5, whereby ink is ejected from the ejection port of the recording head 1. Recording starts. Furthermore, while the carriage 5 is moved and moved to the set arrival position, ink is ejected from the recording head 1 and recording is continued.

ステップS9ではキャリッジ5が設定位置に到達したかどうかを調べ、まだ設定位置に到達していないなら、処理はステップS8に戻り、引き続きフィードバック制御を行いながらキャリッジ移動を続ける。そして、キャリッジ5が設定された到達位置に達したと判断されたなら、一回のキャリッジ走査による記録ヘッドの記録は完了し、処理はステップS10に進み、MPU601は、記録データに応じた紙の到達すべき到達位置を設定し搬送モータ13を駆動して記録用紙の搬送を開始する。   In step S9, it is checked whether or not the carriage 5 has reached the set position. If the carriage 5 has not yet reached the set position, the process returns to step S8 to continue the carriage movement while continuing the feedback control. If it is determined that the carriage 5 has reached the set arrival position, the recording of the recording head by one carriage scan is completed, the process proceeds to step S10, and the MPU 601 detects the paper according to the recording data. The arrival position to be reached is set, and the conveyance motor 13 is driven to start conveying the recording paper.

ステップS11では、フィードバック制御に基づいて記録用紙を搬送し、さらにステップS12では、その記録用紙が設定された到達位置に達したかどうかを調べ、まだ目標位置に到達していないなら、処理はステップS11に戻り、フィードバック制御により記録用紙の搬送を続行する。また、記録用紙が目標位置に到達したと判断されたなら、処理はステップS13に戻り、一連の記録動作が終了したかどうかを調べる。   In step S11, the recording sheet is conveyed based on the feedback control. Further, in step S12, it is checked whether or not the recording sheet has reached the set arrival position. Returning to S11, the conveyance of the recording paper is continued by feedback control. If it is determined that the recording sheet has reached the target position, the process returns to step S13 to check whether a series of recording operations have been completed.

ここで、記録動作が未終了と判断された場合には、処理はステップS7に戻り、キャリッジ移動を続行させ記録動作を行う。これに対して、ホスト装置610から記録終了命令が送られると記録動作終了と判断して、処理はステップS14に進み、搬送ローラ16を所定量回転させて用紙を排出し、一連の記録動作を終了する。   If it is determined that the recording operation has not been completed, the process returns to step S7 to continue the carriage movement and perform the recording operation. On the other hand, when a recording end command is sent from the host device 610, it is determined that the recording operation is ended, and the process proceeds to step S14, where the conveyance roller 16 is rotated by a predetermined amount to discharge the paper, and a series of recording operations are performed. finish.

なお、以上説明した処理の中で、ステップS7〜S9ではキャリッジ5は移動しており、その間はエンコーダ信号に基づくキャリッジ速度信号が一定の周期で異常検出器110に入力され、キャリッジ速度が指令値から大きくずれしてしまいキャリッジの動作異常が発生しているかどうかの監視が実行されている。そして、キャリッジの動作異常が検出されれば、上記の処理に係りなく、MPU601はキャリッジモータドライバ640に対してキャリッジモータ11の駆動を停止する命令107を発行する。   In the processing described above, the carriage 5 is moved in steps S7 to S9, and during that time, a carriage speed signal based on the encoder signal is input to the abnormality detector 110 at a constant cycle, and the carriage speed is set to the command value. Monitoring for whether or not a carriage operation abnormality occurs due to a large deviation from the above is executed. If an abnormal operation of the carriage is detected, the MPU 601 issues a command 107 for stopping the driving of the carriage motor 11 to the carriage motor driver 640 regardless of the above processing.

従って以上説明した実施例に従えば、2ミリ秒毎のフィードバック制御において検出されるキャリッジ速度が指令値から大きくずれた異常状態となっているかどうかを検出し、もしキャリッジ動作が異常であると判定された場合には、速やかにキャリッジモータの駆動を止め、キャリッジ移動を停止させることができる。   Therefore, according to the embodiment described above, it is detected whether or not the carriage speed detected in the feedback control every 2 milliseconds is in an abnormal state greatly deviating from the command value, and it is determined that the carriage operation is abnormal. In such a case, the carriage motor can be stopped immediately and the carriage movement can be stopped.

これにより、装置の動作環境や記録媒体の保存状態などにより紙浮きの現象が発生し、記録動作中に、記録媒体がキャリッジや記録ヘッドに引っかかることが発生した場合にも、速やかにキャリッジを停止させ、記録媒体を破ったり、記録ヘッドに損傷を与えるといった被害を最小限に留めることができる。   As a result, a paper floating phenomenon occurs depending on the operating environment of the device and the storage state of the recording medium, and even if the recording medium is caught by the carriage or recording head during the recording operation, the carriage is stopped immediately. Damage to the recording medium or damage to the recording head can be minimized.

なお、キャリッジの動作に異常が発生していない場合であっても、キャリッジの加速領域と定速領域では、速度変動幅が異なり、定速領域における速度変動幅は加速領域におけるそれより小さい。従って、異常状態の判断を行う判定値を、加速領域用の値と、定速領域用の値とをそれぞれ設けても構わない。   Note that even if no abnormality occurs in the operation of the carriage, the speed fluctuation width is different between the acceleration area and the constant speed area of the carriage, and the speed fluctuation width in the constant speed area is smaller than that in the acceleration area. Therefore, a determination value for determining an abnormal state may be provided for an acceleration region value and a constant speed region value.

本発明はプリンタ等の記録装置に関し、さらに詳しくはガイド軸に沿って往復移動するキャリッジに装着された記録ヘッドによって記録を行う記録装置に関するものである。なお、本発明は、一般的なプリント装置のほか、複写機、通信システムを有するファクシミリ,プリント部を有するワードプロセッサ等の装置、さらには、各種処理装置と複合的に組み合わされた産業用機器に適用することができる。   The present invention relates to a recording apparatus such as a printer, and more particularly to a recording apparatus that performs recording with a recording head mounted on a carriage that reciprocates along a guide shaft. The present invention is applied to a general printing apparatus, an apparatus such as a copying machine, a facsimile having a communication system, a word processor having a printing unit, and an industrial apparatus combined with various processing apparatuses. can do.

本発明の代表的な実施例であるインクジェット記録装置の構成を示す外観斜視図である。1 is an external perspective view showing a configuration of an ink jet recording apparatus that is a typical embodiment of the present invention. 図1に示したインクジェット記録装置の制御構成を示すブロック図である。It is a block diagram which shows the control structure of the inkjet recording device shown in FIG. 従来のフィードバック制御の構成を示すブロック図である。It is a block diagram which shows the structure of the conventional feedback control. 本発明の実施例に従うフィードバック制御の構成を示すブロック図である。It is a block diagram which shows the structure of the feedback control according to the Example of this invention. キャリッジ正常動作時のエンコーダ信号に基づいて検出されるキャリッジ速度とキャリッジ位置の時間変化を示す図である。It is a figure which shows the time change of the carriage speed detected based on the encoder signal at the time of a normal carriage operation | movement, and a carriage position. キャリッジ異常動作時のエンコーダ信号に基づいて検出されるキャリッジ速度とキャリッジ位置の時間変化を示す図である。It is a figure which shows the time change of the carriage speed detected based on the encoder signal at the time of an abnormal carriage operation | movement, and a carriage position. キャリッジ移動制御を中心に説明した記録動作を示すフローチャートである。6 is a flowchart illustrating a recording operation described mainly with respect to carriage movement control. キャリッジ1走査におけるキャリッジの速度変化を示す図である。It is a figure which shows the speed change of the carriage in 1 carriage scan.

符号の説明Explanation of symbols

1 記録ヘッド
2 プラテン
3 ガイド軸
4 ガイドレール
5 キャリッジ
6 ヘッドカートリッジ
7 メインタンク
8 ジョイント部
9 チューブ
10 ヘッドキャップ
11 キャリッジモータ
12 シート供給部
13 搬送モータ
14 回復ユニット
15 ピンチローラ
16 搬送ローラ
17 タイミングベルト
19 リニアスケール
20 リニアホイール
21 エンコーダセンサ
100 指令値発生器
101 指令速度
102 PID補償器
103 PWM制御器
105 位置検出器
106 速度検出器
107 PWM指令値
109 制御定数計算器
110 異常検出器
640 キャリッジモータドライバ
644 エンコーダコントローラ
DESCRIPTION OF SYMBOLS 1 Recording head 2 Platen 3 Guide shaft 4 Guide rail 5 Carriage 6 Head cartridge 7 Main tank 8 Joint part 9 Tube 10 Head cap 11 Carriage motor 12 Sheet supply part 13 Conveyance motor 14 Recovery unit 15 Pinch roller 16 Conveyance roller 17 Timing belt 19 Linear scale 20 Linear wheel 21 Encoder sensor 100 Command value generator 101 Command speed 102 PID compensator 103 PWM controller 105 Position detector 106 Speed detector 107 PWM command value 109 Control constant calculator 110 Abnormality detector 640 Carriage motor driver 644 Encoder controller

Claims (9)

記録ヘッドを搭載したキャリッジを往復移動させて記録媒体に記録を行う記録装置であって、
前記キャリッジを駆動する駆動手段と、
前記駆動手段により駆動された前記キャリッジの位置及び速度を検出する検出手段と、
前記キャリッジの位置及び速度を指令する指令手段と、
前記検出手段によって検出されたキャリッジの位置及び速度をフィードバックして前記指令手段によって指令された指令値と比較する比較手段と、
前記比較手段による比較結果に従って、前記キャリッジを停止するよう前記駆動手段を制御する駆動制御手段とを有し、
前記駆動制御手段は、前記比較手段による比較により、前記検出されたキャリッジの位置及び速度と該検出値に夫々対応する指令値との差分が所定の閾値より大きい場合には、前記駆動手段の駆動を停止させる指示を出力することを特徴とする記録装置。
A recording apparatus for recording on a recording medium by reciprocating a carriage mounted with a recording head,
Driving means for driving the carriage;
Detecting means for detecting the position and speed of the carriage driven by the driving means;
Command means for commanding the position and speed of the carriage;
A comparison unit that feeds back the position and speed of the carriage detected by the detection unit and compares them with a command value commanded by the command unit;
Drive control means for controlling the drive means to stop the carriage according to the comparison result by the comparison means,
The drive control means drives the drive means when the difference between the detected carriage position and speed and the command value corresponding to the detected value is larger than a predetermined threshold value, as a result of the comparison by the comparing means. A recording apparatus that outputs an instruction to stop the recording.
前記検出手段は、
前記キャリッジの移動方向に配設されたスケールと、
前記キャリッジに搭載され前記キャリッジの移動に従って前記スケールを読み取るエンコーダと、
前記エンコーダからの出力信号に基づいて、前記キャリッジの位置信号と速度信号とを生成する生成手段とを含むことを特徴とする請求項1に記載の記録装置。
The detection means includes
A scale disposed in the moving direction of the carriage;
An encoder mounted on the carriage and reading the scale according to the movement of the carriage;
The recording apparatus according to claim 1, further comprising a generating unit that generates a position signal and a speed signal of the carriage based on an output signal from the encoder.
前記駆動手段は、
キャリッジモータと、
前記キャリッジモータを駆動するモータドライバとを含むことを特徴とする請求項1又は2に記載の記録装置。
The driving means includes
A carriage motor;
The recording apparatus according to claim 1, further comprising a motor driver that drives the carriage motor.
前記キャリッジモータは、DCモータであることを特徴とする請求項3に記載の記録装置。   The recording apparatus according to claim 3, wherein the carriage motor is a DC motor. 前記駆動制御手段は、前記モータドライバに前記キャリッジモータの駆動を停止させる指示を発行することを特徴とする請求項3に記載の記録装置。   The recording apparatus according to claim 3, wherein the drive control unit issues an instruction to the motor driver to stop driving the carriage motor. 前記キャリッジの往復移動は、前記キャリッジの加速移動区間と、定速移動区間と、減速移動区間とに分けられ、
前記駆動制御手段は、前記加速移動区間と定速移動区間においては、前記検出されたキャリッジ速度に基づいた前記駆動手段の制御を行い、前記減速移動区間においては、前記検出されたキャリッジ位置に基づいた前記駆動手段の制御を行うことを特徴とする請求項5に記載の記録装置。
The reciprocating movement of the carriage is divided into an acceleration movement section, a constant speed movement section, and a deceleration movement section of the carriage,
The drive control means controls the drive means based on the detected carriage speed in the acceleration movement section and the constant speed movement section, and based on the detected carriage position in the deceleration movement section. The recording apparatus according to claim 5, wherein the driving unit is controlled.
前記検出手段による検出と前記比較手段による比較とによるフィードバック制御は約2ミリ秒毎に行うことを特徴とする請求項1乃至5のいずれかに記載の記録装置。   6. The recording apparatus according to claim 1, wherein feedback control based on detection by the detection unit and comparison by the comparison unit is performed about every 2 milliseconds. 前記記録ヘッドはインクを記録媒体に吐出して記録を行うインクジェット記録ヘッドであることを特徴とする請求項1乃至7のいずれかに記載の記録装置。   The recording apparatus according to claim 1, wherein the recording head is an ink jet recording head that performs recording by discharging ink onto a recording medium. 記録ヘッドを搭載したキャリッジを駆動手段により往復移動させて記録媒体に記録を行う際の記録制御方法であって、
前記駆動手段により駆動された前記キャリッジの位置及び速度を検出する検出工程と、
前記キャリッジの位置及び速度を指令する指令工程と、
前記検出工程において検出されたキャリッジの位置及び速度をフィードバックして前記指令工程において指令された指令値と比較する比較工程と、
前記比較工程による比較結果に従って、前記キャリッジを停止するよう前記駆動手段を制御する駆動制御工程とを有し、
前記駆動制御工程では、前記比較工程における比較により、前記検出されたキャリッジの位置及び速度と該検出値に夫々対応する指令値との差分が所定の閾値より大きい場合には、前記駆動手段の駆動を停止させる指示を出力することを特徴とする記録制御方法。
A recording control method for recording on a recording medium by reciprocating a carriage mounted with a recording head by a driving means,
A detection step of detecting the position and speed of the carriage driven by the driving means;
A commanding step for commanding the position and speed of the carriage;
A comparison step in which the carriage position and speed detected in the detection step are fed back and compared with the command value commanded in the command step;
A drive control step of controlling the drive means to stop the carriage according to the comparison result of the comparison step,
In the drive control step, if the difference between the detected carriage position and speed and the command value corresponding to the detected value is greater than a predetermined threshold value, the drive means is driven. A recording control method characterized by outputting an instruction to stop the recording.
JP2005057964A 2005-03-02 2005-03-02 Recording apparatus and method for controlling recording Withdrawn JP2006240026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005057964A JP2006240026A (en) 2005-03-02 2005-03-02 Recording apparatus and method for controlling recording

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005057964A JP2006240026A (en) 2005-03-02 2005-03-02 Recording apparatus and method for controlling recording

Publications (1)

Publication Number Publication Date
JP2006240026A true JP2006240026A (en) 2006-09-14

Family

ID=37046900

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005057964A Withdrawn JP2006240026A (en) 2005-03-02 2005-03-02 Recording apparatus and method for controlling recording

Country Status (1)

Country Link
JP (1) JP2006240026A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009016874A1 (en) * 2007-07-27 2009-02-05 Ricoh Company, Ltd. Image forming appratus, image forming system, image forming method, control program for eliminating conveyance failure, and information recording medium having recorded thereon control program for eliminating conveyance failure
JP2009214541A (en) * 2008-03-10 2009-09-24 Oce Technol Bv Method and device set for detecting media contact of inkjet print head
WO2010084606A1 (en) * 2009-01-23 2010-07-29 株式会社ミマキエンジニアリング Printer apparatus
US8262189B2 (en) 2009-09-30 2012-09-11 Brother Kogyo Kabushiki Kaisha Conveyance device and image forming apparatus
JP2013067085A (en) * 2011-09-22 2013-04-18 Seiko Epson Corp Printing apparatus and printing method
US8430584B2 (en) 2008-09-12 2013-04-30 Brother Kogyo Kabushiki Kaisha Electronic device
JP2014104716A (en) * 2012-11-29 2014-06-09 Ricoh Co Ltd Image formation device, program
JP2014121868A (en) * 2012-11-22 2014-07-03 Ricoh Co Ltd Image formation device, image formation method, program

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8228512B2 (en) 2007-07-27 2012-07-24 Ricoh Company, Ltd. Image forming apparatus, image forming system, image forming method, control program for eliminating conveyance failure, and information recording medium having recorded thereon control program for eliminating conveyance failure
CN101547796B (en) * 2007-07-27 2011-07-27 株式会社理光 Image forming apparatus, image forming system, image forming method, transmission fault detection method for the image forming apparatus
WO2009016874A1 (en) * 2007-07-27 2009-02-05 Ricoh Company, Ltd. Image forming appratus, image forming system, image forming method, control program for eliminating conveyance failure, and information recording medium having recorded thereon control program for eliminating conveyance failure
KR101095790B1 (en) 2007-07-27 2011-12-21 가부시키가이샤 리코 Image forming apparatus, image forming system, image forming method, and information recording medium having recorded thereon control program for eliminating conveyance failure
JP2009214541A (en) * 2008-03-10 2009-09-24 Oce Technol Bv Method and device set for detecting media contact of inkjet print head
US8579405B2 (en) 2008-03-10 2013-11-12 Oce-Technologies B.V. Method and apparatus for detecting a media touch of an inkjet printhead
US8430584B2 (en) 2008-09-12 2013-04-30 Brother Kogyo Kabushiki Kaisha Electronic device
CN102171053A (en) * 2009-01-23 2011-08-31 株式会社御牧工程 Printer apparatus
JP5031107B2 (en) * 2009-01-23 2012-09-19 株式会社ミマキエンジニアリング Printer device
US8141978B2 (en) 2009-01-23 2012-03-27 Mimaki Engineering Co., Ltd. Printer apparatus
WO2010084606A1 (en) * 2009-01-23 2010-07-29 株式会社ミマキエンジニアリング Printer apparatus
US8262189B2 (en) 2009-09-30 2012-09-11 Brother Kogyo Kabushiki Kaisha Conveyance device and image forming apparatus
JP2013067085A (en) * 2011-09-22 2013-04-18 Seiko Epson Corp Printing apparatus and printing method
JP2014121868A (en) * 2012-11-22 2014-07-03 Ricoh Co Ltd Image formation device, image formation method, program
US9102176B2 (en) 2012-11-22 2015-08-11 Ricoh Company, Ltd. Image forming apparatus, image forming method, and non-transitory computer-readable storage medium
JP2014104716A (en) * 2012-11-29 2014-06-09 Ricoh Co Ltd Image formation device, program

Similar Documents

Publication Publication Date Title
JP2006240026A (en) Recording apparatus and method for controlling recording
JP4829717B2 (en) Recording apparatus and conveyance control method
JP2008049555A (en) Recording apparatus and carrying controlling method
US20090015617A1 (en) Inkjet recording device
JP2010214865A (en) Inkjet recorder and inkjet recording method
US9102176B2 (en) Image forming apparatus, image forming method, and non-transitory computer-readable storage medium
JP5138112B2 (en) Recording device
JP2010184443A (en) Image forming device
JP4482015B2 (en) RECORDING DEVICE, CONVEYING DEVICE, AND FEEDING AND CONVEYING CONTROL METHOD
JP2010149343A (en) Inkjet recording apparatus and method for controlling recording head in the apparatus
JP2006347039A (en) Inkjet printer and apparatus for controlling it
JP5854688B2 (en) Recording apparatus and recording apparatus control method
US11458746B2 (en) Printing apparatus and conveyance control method thereof
JP2004188970A (en) Recording equipment and controlling method for recording equipment
JP2007044947A (en) Recording device
JP4534600B2 (en) Motor control method, motor control device, and ink jet printer
JP4289923B2 (en) Motor control device
JP2012153061A (en) Printing apparatus, printing method, and program
JP2021070254A (en) Recording device
JP2004322476A (en) Recording method and recorder
JP3567579B2 (en) Recording device
JP2015217534A (en) Control system, image forming device, control method and program
JP2005169942A (en) Recording device, motor control device, and motor control method
JP2006159695A (en) Recording device and recording control method
JP2006334834A (en) Recorder and method of controlling conveyance of recording medium

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080513