[go: up one dir, main page]

JP2001063168A - Motor control device, motor control method, recording device, and recording method - Google Patents

Motor control device, motor control method, recording device, and recording method

Info

Publication number
JP2001063168A
JP2001063168A JP23650399A JP23650399A JP2001063168A JP 2001063168 A JP2001063168 A JP 2001063168A JP 23650399 A JP23650399 A JP 23650399A JP 23650399 A JP23650399 A JP 23650399A JP 2001063168 A JP2001063168 A JP 2001063168A
Authority
JP
Japan
Prior art keywords
speed
control
carriage
motor
error
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
JP23650399A
Other languages
Japanese (ja)
Inventor
Seiji Takahashi
誠二 高橋
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 JP23650399A priority Critical patent/JP2001063168A/en
Publication of JP2001063168A publication Critical patent/JP2001063168A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

(57)【要約】 【課題】 速度制御から位置制御へ制御が変化するタイ
ミングにおいて安定した制御を行うモータ制御装置、モ
ータ制御方法及び記録装置、記録方法を提供することを
目的とする。 【解決手段】 キャリッジの加速状態、定速状態のとき
は、速度制御処理部3が実際の速度と所定の指令速度と
の速度誤差を算出し、該速度誤差に応じてキャリッジの
速度制御量Vc(t)を求め、キャリッジの減速状態の
ときは、位置制御処理部2が実際の位置と所定の指令位
置との位置誤差を算出し、該位置誤差に応じてキャリッ
ジの速度制御量Vc(t)を求め、これら速度制御量V
c(t)に応じてキャリッジモータを制御する。キャリ
ッジが定速状態から減速状態に切り替わるタイミングで
位置制御処理部2は、算出した位置誤差を0にして速度
制御量Vc(t)を求める。
(57) [Problem] To provide a motor control device, a motor control method, a recording device, and a recording method that perform stable control at a timing when control is changed from speed control to position control. When the carriage is in an accelerated state or a constant speed state, a speed control processing unit calculates a speed error between an actual speed and a predetermined command speed, and determines a speed control amount of the carriage according to the speed error. (T) is obtained, and when the carriage is in a decelerating state, the position control processing unit 2 calculates a position error between the actual position and a predetermined command position, and according to the position error, the speed control amount Vc (t ), And these speed control amounts V
The carriage motor is controlled according to c (t). At the timing when the carriage switches from the constant speed state to the deceleration state, the position control processing unit 2 sets the calculated position error to 0 and obtains the speed control amount Vc (t).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタやファク
シミリ等の記録装置と、その記録方法、及び、モータ制
御装置とモータ制御方法に関し、詳しくはフィードバッ
ク制御を行うモータ制御装置、モータ制御方法、及び記
録装置、記録方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording apparatus such as a printer or a facsimile, a recording method thereof, a motor control apparatus and a motor control method, and more particularly, to a motor control apparatus for performing feedback control, a motor control method, and The present invention relates to a recording device and a recording method.

【0002】なお、本発明は、一般的なプリント装置の
他、複写機、通信システムを有するファクシミリ、プリ
ント部を有するワードプロセッサ等の装置、さらには各
種処理装置と複合的に組み合わされた産業用記録装置に
適用することができる。
The present invention relates to an industrial recording apparatus combined with a general printing apparatus, a copying machine, a facsimile having a communication system, a word processor having a printing section, and various processing apparatuses. Applicable to the device.

【0003】[0003]

【従来の技術】従来より、モータなどの制御方法におい
て、モータやこれに接続された制御対象の速度や位置等
を検出し、この検出結果に応じてモータ等を制御する、
所謂「フィードバック制御」が広く知られている。この
ような制御のモータを駆動源として使用する装置の例と
して記録装置が挙げられる。
2. Description of the Related Art Conventionally, in a control method for a motor or the like, a speed or a position of a motor or a control target connected thereto is detected, and the motor or the like is controlled in accordance with the detection result.
So-called “feedback control” is widely known. A recording device is an example of a device that uses a motor for such control as a drive source.

【0004】この記録装置として従来より良く知られて
いるものの一つにプリンタがある。さらにプリンタにお
いて、紙、OHPシート等の記録媒体(以下、「記録用
紙」、「用紙」ともいう)の搬送方向に対して垂直な方
向に、記録ヘッドを搭載したキャリッジを往復走査さ
せ、記録ヘッドにより記録を行うシリアルタイプのもの
が構成の容易さなどの点から広く採用されている。
A printer has been well known as one of the recording apparatuses. Further, in the printer, the carriage on which the recording head is mounted is reciprocally scanned in a direction perpendicular to the transport direction of a recording medium (hereinafter, also referred to as “recording paper” or “paper”) such as paper, OHP sheet, and the like. The serial type that performs recording according to the standard is widely adopted from the viewpoint of easiness of configuration.

【0005】また、これらの記録装置の記録ヘッドには
種々の記録方式が用いられている。例えば、ワイヤード
ット方式、感熱方式、熱転写方式、インクジェット方
式、電子写真方式などが知られているが、中でもインク
ジェット方式は記録ヘッドに複数の吐出口を設け、この
吐出口からインク滴を吐出することにより記録を行うも
のであり、カラー化、高解像度化、静粛化の観点から広
く普及している。また、近年ではキャリッジにスキャナ
等の情報入力手段を搭載し、原稿上にキャリッジを走査
させることにより、原稿からの情報を読み取ることがで
きるプリンタも実現されている。
[0005] Various recording methods are used for the recording heads of these recording apparatuses. For example, a wire dot method, a thermal method, a thermal transfer method, an ink jet method, an electrophotographic method, and the like are known. Among them, the ink jet method has a plurality of ejection ports provided in a recording head and ejects ink droplets from the ejection ports. And is widely used in terms of colorization, high resolution, and quietness. In recent years, a printer has been realized in which information input means such as a scanner is mounted on a carriage and the carriage is scanned over an original to read information from the original.

【0006】このようなシリアルタイプのプリンタで
は、キャリッジの駆動が記録動作においても、また原稿
の読み取り動作においても重要な要素の一つとなる。キ
ャリッジの駆動源としては、入力信号のパルス数に応じ
た量だけ回転するステッピングモータやDCモータが用
いられる。特にDCモータは、ステッピングモータに比
べて静粛性に優れるなどの理由から速度や位置を検出す
るエンコーダと組み合わされてキャリッジなどの駆動源
として多く使用されている。DCモータの制御は、エン
コーダにより検出されたキャリッジの走査速度や位置か
ら指令速度や指令位置との誤差を求め、この誤差に応じ
てモータを制御するフィードバック制御方式が一般的に
用いられている。なお、指令速度とは、キャリッジの位
置が検出されたタイミングにおいて本来達成されるべき
速度であり、指令位置とは、キャリッジの位置が検出さ
れたタイミングで本来到達されるべき位置である。
In such a serial type printer, the driving of the carriage is one of the important factors in both the recording operation and the original reading operation. A stepping motor or a DC motor that rotates by an amount corresponding to the number of pulses of the input signal is used as a drive source of the carriage. In particular, a DC motor is often used as a drive source for a carriage or the like in combination with an encoder that detects a speed or a position because it is more quiet than a stepping motor. The control of the DC motor generally uses a feedback control method in which an error from a command speed or a command position is obtained from a scanning speed or a position of the carriage detected by an encoder, and the motor is controlled according to the error. The command speed is a speed that should be achieved at the timing when the position of the carriage is detected, and the command position is a position that should be reached at the timing when the position of the carriage is detected.

【0007】また、キャリッジの制御はキャリッジの走
査している位置、および、搭載された記録ヘッドの動作
状況に応じて異なってくる。例えば、記録時において
は、キャリッジは常に一定速度で走査していなければ記
録媒体の適切な位置に記録を行うことができない。した
がって、キャリッジは記録領域を走査しているときは一
定速度を維持しなければならない。一方、記録領域を過
ぎると、キャリッジは所定位置に停止するために移動の
速度を減速していかなければならない。この減速の度合
いが適切でなければ、所定位置に停止することができ
ず、次の走査に支障をきたしてしまう。したがって、キ
ャリッジの加速状態と定速状態では適切な速度で走査す
るように、速度に注目して制御し、減速状態では適切な
位置に停止できるように、位置に注目して制御するのが
一般的である。
Further, the control of the carriage differs depending on the position where the carriage is scanning and the operating condition of the mounted recording head. For example, during printing, unless the carriage constantly scans at a constant speed, printing cannot be performed at an appropriate position on the printing medium. Therefore, the carriage must maintain a constant speed while scanning the recording area. On the other hand, after passing through the recording area, the carriage has to reduce its moving speed in order to stop at a predetermined position. If the degree of the deceleration is not appropriate, it is impossible to stop at a predetermined position, which hinders the next scan. Therefore, in general, control is performed by paying attention to the speed so that scanning is performed at an appropriate speed in the acceleration state and the constant speed state of the carriage, and control is performed by paying attention to the position so that the carriage can be stopped at an appropriate position in the deceleration state. It is a target.

【0008】DCモータとエンコーダとを用いてキャリ
ッジの駆動制御を行う場合、従来では次のようなフィー
ドバック制御を行う。
In the case where the drive control of the carriage is performed using a DC motor and an encoder, the following feedback control is conventionally performed.

【0009】図12は、フィードバック制御の一例を示
すブロック図である。
FIG. 12 is a block diagram showing an example of the feedback control.

【0010】エンコーダの検出結果から実際のキャリッ
ジの速度と位置を求める。そして、指令値算出処理部1
が算出した指令速度、指令位置との誤差を求める。キャ
リッジの起動時、あるいは記録時は、速度誤差を基にし
て、速度制御処理部3が速度制御量を算出し、モータ制
御処理部4がこの速度制御量に従ってモータの駆動を制
御する。一方、キャリッジが記録領域を過ぎると、速度
制御から位置制御に制御が変わり、位置誤差を基にし
て、位置制御処理部2が速度制御量を算出し、モータ制
御処理部4は位置制御処理部2が算出した速度制御量に
従ってモータの駆動を制御する。
The actual speed and position of the carriage are obtained from the detection results of the encoder. Then, the command value calculation processing unit 1
Is determined from the calculated command speed and command position. At the time of starting the carriage or at the time of recording, the speed control processing unit 3 calculates a speed control amount based on the speed error, and the motor control processing unit 4 controls the driving of the motor according to the speed control amount. On the other hand, when the carriage has passed the recording area, the control is changed from the speed control to the position control, the position control processing unit 2 calculates the speed control amount based on the position error, and the motor control processing unit 4 executes the position control processing unit. 2 controls the driving of the motor according to the calculated speed control amount.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、上記の
記録装置において次のような問題があった。
However, the above recording apparatus has the following problems.

【0012】すなわち、実際には、モータへ指令を入力
してから実際にキャリッジが動き出す間には時間的な遅
れが生じるため、所定のタイミングでは本来到達すべき
指令速度及び指令位置と実際に到達するキャリッジの速
度や位置との間に誤差が生じやすい。
That is, in actuality, there is a time delay between the input of the command to the motor and the actual movement of the carriage. An error is likely to occur between the moving speed and the position of the carriage.

【0013】また、前述のようにキャリッジが加速状態
(起動時)あるいは定速状態(記録時)にあるときは速
度制御を行うが、減速状態では位置制御を行う。定速状
態にあるとき、すなわち記録を行っているときは、速度
誤差を基に制御を行っているので、多少指令位置と実際
のキャリッジの位置がずれていようとも、そのずれは無
視され、一定速度を維持することに重点がおかれてい
た。したがって、キャリッジが記録領域を移動し終えた
時点では指令位置と実際のキャリッジの位置とがずれて
いる場合があった。従来のフィードバック制御では、キ
ャリッジが記録領域を移動し終えた時点で、速度制御処
理部3による速度誤差を基にした制御から位置制御処理
部2による位置誤差を基にした制御に切り替わるため、
切り替わったタイミングで、このずれを位置誤差である
と認識し、この誤差を修正するべく速度制御量に大きい
値が算出されてしまうことになる。つまり、急激に速度
を上げるという制御が実行されてしまう。したがって、
速度制御から位置制御への変化点において、キャリッジ
の速度は一時的に大きく変化してしまい安定的な動作が
できないという問題があった。
As described above, speed control is performed when the carriage is in an accelerating state (during start-up) or in a constant speed state (during recording), but position control is performed in a decelerated state. In the constant speed state, that is, when recording is being performed, since the control is performed based on the speed error, even if the command position and the actual position of the carriage slightly deviate, the deviation is ignored, and the deviation is ignored. The emphasis was on maintaining speed. Therefore, at the time when the carriage has finished moving in the recording area, the command position may be shifted from the actual position of the carriage. In the conventional feedback control, when the carriage finishes moving in the recording area, the control is switched from the control based on the speed error by the speed control processing unit 3 to the control based on the position error by the position control processing unit 2.
At the switching timing, this displacement is recognized as a position error, and a large value is calculated for the speed control amount in order to correct this error. That is, control for rapidly increasing the speed is executed. Therefore,
At the transition point from the speed control to the position control, there is a problem that the speed of the carriage temporarily changes greatly and a stable operation cannot be performed.

【0014】また、このような突発的な速度変化が起き
ると、異音を発生してしまう場合があった。
When such a sudden change in speed occurs, an abnormal sound may be generated.

【0015】図19は、キャリッジの指定速度と実際の
速度、及び指定位置と実際の位置の関係を示したグラフ
である。図中、速度制御から位置制御へ切り替わる変化
点、すなわち、キャリッジの減速開始タイミングでは、
実際の速度が大きく乱れ、一時的に増大する現象が起き
ている。このように、速度制御から位置制御へと切り替
わるタイミングではキャリッジモータへの入力エネルギ
ーが一時的に増大し、キャリッジの駆動速度が速くなる
現象が発生し、この速度の乱れにより記録結果が乱れる
場合があった。
FIG. 19 is a graph showing the relationship between the designated speed of the carriage and the actual speed, and the relationship between the designated position and the actual position. In the figure, at the change point at which the speed control is switched to the position control, that is, at the deceleration start timing of the carriage,
There is a phenomenon that the actual speed is greatly disturbed and temporarily increases. As described above, at the timing of switching from the speed control to the position control, the input energy to the carriage motor temporarily increases, and a phenomenon in which the driving speed of the carriage is increased occurs. there were.

【0016】本発明は上記従来の問題を鑑みてなされた
ものであり、記録装置のキャリッジ駆動のためのモータ
制御において、速度制御から位置制御へ制御が変化する
タイミングにおいて安定した制御を行うモータ制御装
置、モータ制御方法及び記録装置、記録方法を提供する
ことを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned conventional problems. In motor control for driving a carriage of a printing apparatus, motor control for performing stable control at a timing when control changes from speed control to position control. It is an object to provide a device, a motor control method, a recording device, and a recording method.

【0017】[0017]

【課題を解決するための手段】本発明のモータ制御装置
は、モータの稼動または該モータに接続された制御対象
の稼動を制御するモータ制御装置において、前記モータ
または前記制御対象の速度を検出する速度検出手段と、
前記制御対象の位置を検出する位置検出手段と、前記速
度検出手段により検出される速度と前記モータまたは前
記制御対象が達成すべき所定の指令速度との速度誤差を
求め、該速度誤差に応じて前記モータの駆動を制御する
速度制御手段と、前記位置検出手段により検出される位
置と前記制御対象が達成すべき所定の指令位置との位置
誤差を求め、該位置誤差に応じて前記モータの駆動を制
御する位置制御手段とを具え、所定のタイミングにおい
て、前記位置制御手段は、算出した前記位置誤差を変更
して前記モータの駆動を制御することを特徴とする。
A motor control device according to the present invention is a motor control device for controlling the operation of a motor or the operation of a control target connected to the motor, wherein the speed of the motor or the control target is detected. Speed detection means,
Position detecting means for detecting the position of the controlled object; and determining a speed error between a speed detected by the speed detecting means and a predetermined command speed to be achieved by the motor or the controlled object, and according to the speed error. Speed control means for controlling the driving of the motor, and a position error between a position detected by the position detection means and a predetermined command position to be achieved by the control object is determined, and the driving of the motor is performed according to the position error. And controlling the driving of the motor by changing the calculated position error at a predetermined timing.

【0018】本発明のモータ制御方法は、モータの稼動
または該モータに接続された制御対象の稼動を制御する
モータ制御方法において、前記モータまたは前記制御対
象の速度を検出する速度検出ステップと、前記制御対象
の位置を検出する位置検出ステップと、前記速度検出ス
テップにより検出される速度と前記モータまたは前記制
御対象が達成すべき所定の指令速度との速度誤差を求
め、該速度誤差に応じて前記モータの駆動を制御する速
度制御ステップと、前記位置検出ステップにより検出さ
れる位置と前記制御対象が達成すべき所定の指令位置と
の位置誤差を求め、該位置誤差に応じて前記モータの駆
動を制御する位置制御ステップとを具え、所定のタイミ
ングにおいて、前記位置制御ステップは、算出した前記
位置誤差を変更して前記モータの駆動を制御することを
特徴とする。
The motor control method according to the present invention is a motor control method for controlling the operation of a motor or the operation of a control object connected to the motor, wherein the speed detection step detects the speed of the motor or the control object. A position detection step of detecting the position of the control target; and a speed error between a speed detected by the speed detection step and a predetermined command speed to be achieved by the motor or the control target, and according to the speed error, A speed control step of controlling the driving of the motor, a position error between a position detected by the position detecting step and a predetermined command position to be achieved by the control target is determined, and the driving of the motor is performed according to the position error. And a position control step of controlling, at a predetermined timing, the position control step changes the calculated position error And controlling the driving of the serial motor.

【0019】本発明の記録装置は、記録ヘッドを搭載し
たキャリッジを、キャリッジの駆動手段を駆動させるこ
とにより、記録媒体に対向して複数回走査させ、この走
査に伴って記録を行う記録装置において、前記キャリッ
ジの速度を検出する速度検出手段と、前記キャリッジの
位置を検出する位置検出手段と、前記速度検出手段によ
り検出される速度と前記キャリッジが達成すべき所定の
指令速度との速度誤差を求め、該速度誤差に応じて前記
駆動手段の駆動を制御する速度制御手段と、前記位置検
出手段により検出される位置と前記キャリッジが達成す
べき所定の指令位置との位置誤差を求め、該位置誤差に
応じて前記駆動手段の駆動を制御する位置制御手段とを
具え、所定のタイミングにおいて、前記位置制御手段
は、算出した前記位置誤差を変更して前記駆動手段の駆
動を制御することを特徴とする。
A recording apparatus according to the present invention is a recording apparatus in which a carriage on which a recording head is mounted is scanned a plurality of times by opposing a recording medium by driving a driving unit of the carriage, and recording is performed in accordance with the scanning. Speed detecting means for detecting the speed of the carriage, position detecting means for detecting the position of the carriage, and a speed error between the speed detected by the speed detecting means and a predetermined command speed to be achieved by the carriage. Speed control means for controlling the driving of the driving means in accordance with the speed error; and obtaining a position error between a position detected by the position detection means and a predetermined command position to be achieved by the carriage. Position control means for controlling the driving of the driving means in accordance with an error, and at a predetermined timing, the position control means And controlling the driving of said driving means to change the error.

【0020】本発明の記録方法は、記録ヘッドを搭載し
たキャリッジを、キャリッジの駆動手段を駆動させるこ
とにより、記録媒体に対向して複数回走査させ、この走
査に伴って記録を行う記録装置を用いた記録方法におい
て、前記キャリッジの速度を検出する速度検出ステップ
と、前記キャリッジの位置を検出する位置検出ステップ
と、前記速度検出ステップにより検出される速度と前記
キャリッジが達成すべき所定の指令速度との速度誤差を
求め、該速度誤差に応じて前記駆動手段の駆動を制御す
る速度制御ステップと、前記位置検出ステップにより検
出される位置と前記キャリッジが達成すべき所定の指令
位置との位置誤差を求め、該位置誤差に応じて前記駆動
手段の駆動を制御する位置制御ステップとを具え、所定
のタイミングにおいて、前記位置制御ステップは、算出
した前記位置誤差を変更して前記駆動ステップの駆動を
制御することを特徴とする。
According to the recording method of the present invention, there is provided a recording apparatus in which a carriage on which a recording head is mounted is driven a plurality of times by opposing a recording medium by driving a carriage driving means, and recording is performed in accordance with the scanning. In the recording method used, a speed detecting step of detecting a speed of the carriage, a position detecting step of detecting a position of the carriage, a speed detected by the speed detecting step, and a predetermined command speed to be achieved by the carriage. A speed control step of controlling the driving of the driving means according to the speed error, and a position error between a position detected by the position detection step and a predetermined command position to be achieved by the carriage. And a position control step of controlling the driving of the driving means in accordance with the position error. Te, said position control step, change the calculated said position error and controls the driving of the driving step.

【0021】以上の構成によれば、キャリッジが加速状
態あるいは定速状態にあるときは、速度検出手段により
検出される速度と前記キャリッジが達成すべき所定の指
令速度との速度誤差を求め、該速度誤差に応じて前記駆
動手段の駆動を制御し、キャリッジが減速状態にあると
きは、位置検出手段により検出される位置と前記キャリ
ッジが達成すべき所定の指令位置との位置誤差を求め、
該位置誤差に応じて前記駆動手段の駆動を制御するとと
もに、加速、定速状態と、減速状態とが切り替わる変化
点においては、位置誤差を0にして制御を行うことによ
り、キャリッジ動作のふらつきを防ぎ、安定した制御を
行うことができる。
According to the above arrangement, when the carriage is in the accelerating state or the constant speed state, the speed error between the speed detected by the speed detecting means and the predetermined command speed to be achieved by the carriage is determined. Controlling the driving of the driving means according to the speed error, when the carriage is in a decelerating state, determine the position error between the position detected by the position detection means and a predetermined command position to be achieved by the carriage,
In addition to controlling the driving of the driving means in accordance with the position error, at the changing point where the acceleration, constant speed state, and deceleration state are switched, the position error is controlled to be 0, thereby controlling the fluctuation of the carriage operation. Prevention and stable control.

【0022】[0022]

【発明の実施の形態】本発明のモータ制御装置、モータ
制御方法及び記録装置、記録方法の実施形態について、
以下に図面を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of a motor control device, a motor control method, a recording device, and a recording method according to the present invention will be described.
This will be described below with reference to the drawings.

【0023】なお、本明細書において、「プリント」
(「記録」という場合もある)とは、文字、図形等有意
の情報を形成する場合のみならず、有意無意を問わず、
また人間が視覚で知覚し得るように顕在化したものであ
るか否かを問わず、広くプリント媒体上に画像、模様、
パターン等を形成する、または媒体の加工を行う場合も
言うものとする。
In this specification, "print"
(Sometimes referred to as "records") refers not only to the formation of significant information such as characters and figures,
In addition, regardless of whether or not they are visualized so that humans can perceive them visually, images, patterns,
This also refers to the case where a pattern or the like is formed or the medium is processed.

【0024】ここで、「プリント媒体」とは、一般的な
プリント装置で用いられる紙のみならず、広く、布、プ
ラスチック・フィルム、金属板、ガラス、セラミック
ス、木材、皮革等、インクを受容可能な物を言うものと
する。
Here, the term "printing medium" means not only paper used in a general printing apparatus but also a wide range of inks such as cloth, plastic films, metal plates, glass, ceramics, wood, and leather. I say something.

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

【0026】以下、図面を参照して本発明の記録装置に
係る実施形態を説明する。
Hereinafter, embodiments of the recording apparatus of the present invention will be described with reference to the drawings.

【0027】なお、以下に説明する実施形態では、イン
クジェット記録方式を用いた記録装置としてプリンタを
例に挙げ説明する。
In the embodiments described below, a printer will be described as an example of a recording apparatus using an ink jet recording method.

【0028】[装置本体]図1及び図2にインクジェッ
ト記録方式を用いたプリンタの概略構成を示す。図1に
おいて、この実施形態におけるプリンタの外殻をなす装
置本体M1000は、下ケースM1001、上ケースM
1002、アクセスカバーM1003及び排出トレイM
1004の外装部材と、その外装部材内に収納されたシ
ャーシM3019(図2参照)とから構成される。
[Apparatus Main Body] FIGS. 1 and 2 show a schematic configuration of a printer using an ink jet recording system. In FIG. 1, an apparatus main body M1000 forming the outer shell of the printer in this embodiment includes a lower case M1001, an upper case M
1002, access cover M1003 and discharge tray M
1004, and a chassis M3019 (see FIG. 2) housed in the exterior member.

【0029】前記シャーシM3019は、所定の剛性を
有する複数の板状金属部材によって構成され、記録装置
の骨格をなし、後述の各記録動作機構を保持するものと
なっている。また、前記下ケースM1001は装置本体
M1000の略下半部を、上ケースM1002は装置上
本体M1000の略上半部をそれぞれ形成しており、両
ケースの組合せによって内部に後述の各機構を収納する
収納空間を有する中空体構造をなし、その上面部及び前
面部にはそれぞれ開口部が形成されている。
The chassis M3019 is composed of a plurality of plate-like metal members having a predetermined rigidity, forms a skeleton of a recording apparatus, and holds each recording operation mechanism described later. Further, the lower case M1001 forms a substantially lower half of the apparatus main body M1000, and the upper case M1002 forms a substantially upper half of the apparatus upper main body M1000. It has a hollow body structure having an accommodating space, and an opening is formed in each of an upper surface portion and a front surface portion thereof.

【0030】さらに、前記排出トレイM1004はその
一端部が下ケースM1001に回転自在に保持され、そ
の回転によって下ケースM1001の前面部に形成され
る前記開口部を開閉させ得るようになっている。このた
め、記録動作を実行させる際には、排出トレイM100
4を前面側へと回転させて開口部を開成させることによ
り、ここから記録シートが排出可能となると共に排出さ
れた記録シートPを順次積載し得るようになっている。
また、排紙トレイM1004には、2枚の補助トレイM
1004a,M1004bが収納されており、必要に応
じて各トレイを手前に引き出すことにより、用紙の支持
面積を3段階に拡大、縮小させ得るようになっている。
Further, one end of the discharge tray M1004 is rotatably held by the lower case M1001, so that the opening formed on the front surface of the lower case M1001 can be opened and closed by the rotation. For this reason, when performing the recording operation, the discharge tray M100
By rotating the opening 4 to the front side to open the opening, the recording sheets can be discharged from here, and the discharged recording sheets P can be sequentially stacked.
Also, the paper discharge tray M1004 has two auxiliary trays M.
1004a and M1004b are accommodated, and the tray support area can be expanded or reduced in three stages by pulling out each tray as needed.

【0031】アクセスカバーM1003は、その一端部
が上ケースM1002に回転自在に保持され、上面に形
成される開口部を開閉し得るようになっており、このア
クセスカバーM1003を開くことによって本体内部に
収納されている記録ヘッドカートリッジH1000ある
いはインクタンクH1900等の交換が可能となる。な
お、ここでは特に図示しないが、アクセスカバーM10
03を開閉させると、その裏面に形成された突起がカバ
ー開閉レバーを回転させるようになっており、そのレバ
ーの回転位置をマイクロスイッチなどで検出することに
より、アクセスカバーの開閉状態を検出し得るようにな
っている。
One end of the access cover M1003 is rotatably held by the upper case M1002 so that an opening formed on the upper surface can be opened and closed. When the access cover M1003 is opened, the inside of the main body is opened. The stored recording head cartridge H1000 or ink tank H1900 can be replaced. Although not particularly shown here, the access cover M10
When the cover 03 is opened and closed, a projection formed on the back surface rotates the cover opening / closing lever, and the open / closed state of the access cover can be detected by detecting the rotation position of the lever with a microswitch or the like. It has become.

【0032】また、上ケースM1002の後部上面に
は、電源キーE0018及びレジュームキーE0019
が押下可能に設けられると共に、LED E0020が
設けられており、電源キーE0018を押下すると、L
ED E0020が点灯し記録可能であることをオペレ
ータに知らせるものとなっている。また、LED E0
020は点滅の仕方や色の変化をさせたり、ブザーE0
021(図7)をならすことによりプリンタのトラブル
等をオペレータに知らせる等種々の表示機能を有する。
なお、トラブル等が解決した場合には、レジュームキー
E0019を押下することによって記録が再開されるよ
うになっている。
On the rear upper surface of the upper case M1002, a power key E0018 and a resume key E0019 are provided.
Is provided so as to be pressed, and an LED E0020 is provided. When the power key E0018 is pressed, L
The ED E0020 lights up to notify the operator that recording is possible. LED E0
020 changes the blinking method and color, and sets the buzzer E0.
Various display functions, such as notifying an operator of a printer trouble or the like by leveling 021 (FIG. 7), are provided.
When the trouble or the like is solved, the recording is restarted by pressing the resume key E0019.

【0033】[記録動作機構]次に、上記プリンタの装
置本体M1000に収納、保持される本実施形態におけ
る記録動作機構について説明する。
[Recording Operation Mechanism] Next, the recording operation mechanism of the present embodiment housed and held in the apparatus main body M1000 of the printer will be described.

【0034】本実施形態における記録動作機構として
は、記録シートPを装置本体内へと自動的に給送する自
動給送部M3022と、自動給送部から1枚ずつ送出さ
れる記録シートPを所望の記録位置へと導くと共に、記
録位置から排出部M3030へと記録シートPを導く搬
送部M3029と、搬送部M3029に搬送された記録
シートPに所望の記録を行なう記録部と、前記記録部等
に対する回復処理を行う回復部(M5000)とから構
成されている。
The recording operation mechanism in this embodiment includes an automatic feeding unit M3022 for automatically feeding the recording sheet P into the apparatus main body, and a recording sheet P sent one by one from the automatic feeding unit. A transport unit M3029 that guides a recording sheet P from a recording position to a discharge unit M3030 while guiding the recording sheet P to a desired recording position; a recording unit that performs desired recording on the recording sheet P transported to the transport unit M3029; And a recovery unit (M5000) that performs recovery processing for the same.

【0035】(記録部)ここで、前記記録部を説明す
る。
(Recording Unit) Here, the recording unit will be described.

【0036】前記キャリッジ軸M4021によって移動
可能に支持されたキャリッジM4001と、このキャリ
ッジM4001に着脱可能に搭載される記録ヘッドカー
トリッジH1000とからなる。
A carriage M4001 movably supported by the carriage shaft M4021 and a recording head cartridge H1000 removably mounted on the carriage M4001.

【0037】記録ヘッドカートリッジ まず、前記記録ヘッドカートリッジについて図3〜5に
基づき説明する。
Recording Head Cartridge First, the recording head cartridge will be described with reference to FIGS.

【0038】この実施形態における記録ヘッドカートリ
ッジH1000は、図3に示すようにインクを貯留する
インクタンクH1900と、このインクタンクH190
0から供給されるインクを記録情報に応じてノズルから
吐出させる記録ヘッドH1001とを有し、前記記録ヘ
ッドH1001は、後述するキャリッジM4001に対
して着脱可能に搭載される、いわゆるカートリッジ方式
を採るものとなっている。
As shown in FIG. 3, the recording head cartridge H1000 according to this embodiment includes an ink tank H1900 for storing ink and an ink tank H190.
A recording head H1001 for ejecting ink supplied from nozzles 0 in accordance with the recording information, wherein the recording head H1001 employs a so-called cartridge system which is removably mounted on a carriage M4001 described later. It has become.

【0039】ここに示す記録ヘッドカートリッジH10
00では、写真調の高画質なカラー記録を可能とするた
め、インクタンクとして、例えば、ブラック、ライトシ
アン、ライトマゼンタ、シアン、マゼンタ及びイエロー
の各色独立のインクタンクが用意されており、図4に示
すように、それぞれが記録ヘッドH1001に対して着
脱自在となっている。
The recording head cartridge H10 shown here
In FIG. 4, in order to enable photographic high-quality color recording, for example, ink tanks for each color of black, light cyan, light magenta, cyan, magenta and yellow are prepared as ink tanks. As shown, each is detachable from the recording head H1001.

【0040】そして,前記記録ヘッドH1001は、図
5の分解斜視図に示すように、記録素子基板H110
0、第1のプレートH1200、電気配線基板H130
0、第2のプレートH1400、タンクホルダーH15
00、流路形成部材H1600、フィルターH170
0、シールゴムH1800から構成されている。
The recording head H1001, as shown in an exploded perspective view of FIG.
0, first plate H1200, electric wiring board H130
0, second plate H1400, tank holder H15
00, channel forming member H1600, filter H170
0, a seal rubber H1800.

【0041】記録素子基板H1100には、Si基板の
片面にインクを吐出するための複数の記録素子と、各記
録素子に電力を供給するAl等の電気配線とが成膜技術
により形成され、この記録素子に対応した複数のインク
流路と複数の吐出口H1100Tとがフォトリソグラフ
ィ技術により形成されると共に、複数のインク流路にイ
ンクを供給するためのインク供給口が裏面に開口するよ
うに形成されている。また、前記記録素子基板H110
0は第1のプレートH1200に接着固定されており、
ここには、前記記録素子基板H1100にインクを供給
するためのインク供給口H1201が形成されている。
さらに、第1のプレートH1200には、開口部を有す
る第2のプレートH1400が接着固定されており、こ
の第2のプレートH1400は、電気配線基板H130
0と記録素子基板H1100とが電気的に接続されるよ
う電気配線基板H1300を保持している。この電気配
線基板H1300は、前記記録素子基板H1100にイ
ンクを吐出するための電気信号を印加するものであり、
記録素子基板H1100に対応する電気配線と、この電
気配線端部に位置し本体からの電気信号を受け取るため
の外部信号入力端子H1301とを有しており、前記外
部信号入力端子H1301は、後述のタンクホルダーH
1500の背面側に位置決め固定されている。
On the printing element substrate H1100, a plurality of printing elements for ejecting ink to one side of the Si substrate, and electric wiring such as Al for supplying power to each printing element are formed by a film forming technique. A plurality of ink flow paths and a plurality of ejection ports H1100T corresponding to the recording elements are formed by photolithography, and an ink supply port for supplying ink to the plurality of ink flow paths is formed to open on the back surface. Have been. Further, the recording element substrate H110
0 is adhesively fixed to the first plate H1200,
Here, an ink supply port H1201 for supplying ink to the recording element substrate H1100 is formed.
Further, a second plate H1400 having an opening is bonded and fixed to the first plate H1200, and the second plate H1400 is connected to the electric wiring board H130.
0 and the printing element substrate H1100 are held so that the electrical wiring substrate H1300 is electrically connected. The electric wiring substrate H1300 applies an electric signal for discharging ink to the recording element substrate H1100.
It has an electric wiring corresponding to the printing element substrate H1100, and an external signal input terminal H1301 located at the end of the electric wiring for receiving an electric signal from the main body. The external signal input terminal H1301 is described later. Tank holder H
It is positioned and fixed on the back side of the 1500.

【0042】一方、前記インクタンクH1900を着脱
可能に保持するタンクホルダーH1500には、流路形
成部材H1600が超音波溶着され、インクタンクH1
900から第1のプレートH1200に亘るインク流路
H1501を形成している。また、インクタンクH19
00と係合するインク流路H1501のインクタンク側
端部には、フィルターH1700が設けられており、外
部からの塵埃の侵入を防止し得るようになっている。ま
た、インクタンクH1900との係合部にはシールゴム
H1800が装着され、前記係合部からのインクの蒸発
を防止し得るようになっている。
On the other hand, a flow path forming member H1600 is ultrasonically welded to a tank holder H1500 for detachably holding the ink tank H1900.
An ink flow path H1501 extending from 900 to the first plate H1200 is formed. Also, the ink tank H19
A filter H1700 is provided at the ink tank side end of the ink flow path H1501 that engages with 00, so that dust can be prevented from entering from the outside. In addition, a seal rubber H1800 is attached to an engagement portion with the ink tank H1900, so that evaporation of ink from the engagement portion can be prevented.

【0043】さらに、前述のようにタンクホルダーH1
500、流路形成部材H1600、フィルターH170
0及びシールゴムH1800から構成されるタンクホル
ダー部と、前記記録素子基板H1100、第1のプレー
トH1200、電気配線基板H1300及び第2のプレ
ートH1400から構成される記録素子部とを、接着等
で結合することにより、記録ヘッドH1001を構成し
ている。
Further, as described above, the tank holder H1
500, flow path forming member H1600, filter H170
And a tank element comprising a recording element substrate H1100, a first plate H1200, an electric wiring substrate H1300, and a second plate H1400, which are joined together by bonding or the like. This constitutes the recording head H1001.

【0044】(キャリッジ)次に、図2に基づき前記キ
ャリッジM4001を説明する。
(Carriage) Next, the carriage M4001 will be described with reference to FIG.

【0045】図示のように、キャリッジM4001に
は、キャリッジM4001と係合し記録ヘッドH100
1をキャリッジM4001の装着位置に案内するための
キャリッジカバーM4002と、記録ヘッドH1001
のタンクホルダーH1500と係合し記録ヘッドH10
01を所定の装着位置にセットさせるよう押圧するヘッ
ドセットレバーM4007とが設けられている。すなわ
ち、ヘッドセットレバーM4007はキャリッジM40
01の上部にヘッドセットレバー軸に対して回動可能に
設けられると共に、記録ヘッドH1001との係合部に
は不図示のヘッドセットプレートがばねを介して備えら
れ、このばね力によって記録ヘッドH1001を押圧し
ながらキャリッジM4001に装着する構成となってい
る。
As shown in the drawing, the carriage M4001 is engaged with the carriage M4001 and
A carriage cover M4002 for guiding the carriage 1 to the mounting position of the carriage M4001, and a recording head H1001.
Head H10 engaged with the tank holder H1500
And a head set lever M4007 for pressing the 01 to a predetermined mounting position. That is, the head set lever M4007 is
01 is provided so as to be rotatable with respect to the head set lever shaft, and a head set plate (not shown) is provided at an engagement portion with the recording head H1001 via a spring. And is mounted on the carriage M4001 while pressing.

【0046】またキャリッジM4001の記録ヘッドH
1001との別の係合部にはコンタクトフレキシブルプ
リントケーブル(以下、コンタクトFPCと称す)が設
けられ、コンタクトFPC E0011上のコンタクト
部と記録ヘッドH1001に設けられたコンタクト部
(外部信号入力端子)H1301とが電気的に接触し、
記録のための各種情報の授受や記録ヘッドH1001へ
の電力の供給などを行い得るようになっている。
The recording head H of the carriage M4001
A contact flexible printed cable (hereinafter, referred to as a contact FPC) is provided at another engagement portion with the contact portion 1001. The contact portion on the contact FPC E0011 and the contact portion (external signal input terminal) H1301 provided on the recording head H1001 are provided. And make electrical contact,
It can send and receive various kinds of information for recording, supply power to the recording head H1001, and the like.

【0047】ここでコンタクトFPC E0011のコ
ンタクト部E0011aとキャリッジM4001との間
には不図示のゴムなどの弾性部材が設けられ、この弾性
部材の弾性力とヘッドセットレバーばねによる押圧力と
によってコンタクト部E0011aとキャリッジM40
01との確実な接触を可能とするようになっている。さ
らに前記コンタクトFPC E0011はキャリッジM
4001の背面に搭載されたキャリッジ基板E0013
に接続されている(図7参照)。
Here, an elastic member such as rubber (not shown) is provided between the contact portion E0011a of the contact FPC E0011 and the carriage M4001, and the contact portion is formed by the elastic force of the elastic member and the pressing force of the headset lever spring. E0011a and carriage M40
01 can be surely contacted. Further, the contact FPC E0011 has a carriage M
Carriage substrate E0013 mounted on the back of 4001
(See FIG. 7).

【0048】[スキャナ]この実施形態におけるプリン
タは、記録ヘッドを示すようなスキャナと交換すること
で読取装置としても使用することができる。
[Scanner] The printer in this embodiment can be used as a reading device by replacing it with a scanner showing a recording head.

【0049】このスキャナは、プリンタ側のキャリッジ
と共に移動し、記録媒体に代えて給送された原稿画像を
副走査方向において読み取るようになっており、その読
み取り動作と原稿の給送動作とを交互に行うことによ
り、1枚の原稿画像情報を読み取るようになっている。
This scanner moves together with the carriage on the printer side and reads the original image fed in place of the recording medium in the sub-scanning direction. The reading operation and the original feeding operation are alternately performed. , The image information of one document is read.

【0050】図6はこのスキャナM6000の概略構成
を示す図である。
FIG. 6 is a diagram showing a schematic configuration of the scanner M6000.

【0051】図示のように、スキャナホルダM6001
は箱型形状をなしており、その内部には読み取りに必要
な光学系・処理回路などが収納されている。また、この
スキャナM6000をキャリッジM4001へと装着し
た時、原稿面と対面する部分にはスキャナ読取レンズM
6006が設けられており、ここから原稿画像を読み取
るようになっている。スキャナ照明レンズM6005は
内部に不図示の光源を有し、その光源から発せられた光
が原稿へと照射される。
As shown, the scanner holder M6001
Has a box shape, and contains therein an optical system and a processing circuit necessary for reading. When the scanner M6000 is mounted on the carriage M4001, a scanner reading lens M
Reference numeral 6006 is provided, from which a document image is read. The scanner illumination lens M6005 has a light source (not shown) inside, and the light emitted from the light source irradiates the original.

【0052】前記スキャナホルダM6001の底部に固
定されたスキャナカバーM6003は、スキャナホルダ
M6001内部を遮光するように嵌合し、側面に設けら
れたルーバー状の把持部によってキャリッジM4001
への着脱操作性の向上を図っている。スキャナホルダM
6001の外形形状は記録ヘッドH1001と略同形状
であり、キャリッジM4001へは記録ヘッドカートリ
ッジH1000と同様の操作で着脱することができる。
A scanner cover M6003 fixed to the bottom of the scanner holder M6001 is fitted so as to shield the inside of the scanner holder M6001 from light, and the carriage M4001 is provided by a louver-shaped grip provided on a side surface.
The operability of attaching / detaching to / from is improved. Scanner holder M
The external shape of the print head 6001 is substantially the same as that of the print head H1001, and can be attached to and detached from the carriage M4001 by the same operation as the print head cartridge H1000.

【0053】また、スキャナホルダM6001には、前
記処理回路を有する基板が収納される一方、この基板に
接続されたスキャナコンタクトPCBが外部に露出する
よう設けられており、キャリッジM4001へとスキャ
ナM6000を装着した際、前記スキャナコンタクトP
CB M6004がキャリッジM4001側のコンタク
トFPC E0011に接触し、前記基板を、前記キャ
リッジM4001を介して本体側の制御系に電気的に接
続させるようになっている。
The scanner holder M6001 accommodates a substrate having the processing circuit, and a scanner contact PCB connected to the substrate is provided so as to be exposed to the outside. The scanner M6000 is mounted on the carriage M4001. When attached, the scanner contact P
The CB M6004 comes into contact with the contact FPC E0011 on the carriage M4001 side to electrically connect the substrate to a control system on the main body side via the carriage M4001.

【0054】次に、本発明の実施形態における電気的回
路構成を説明する。図7は、この実施形態における電気
的回路の全体構成を概略的に示す図である。
Next, an electric circuit configuration according to the embodiment of the present invention will be described. FIG. 7 is a diagram schematically showing an overall configuration of an electric circuit in this embodiment.

【0055】この実施形態における電気的回路は、主に
キャリッジ基板(CRPCB)E0013、メインPC
B(Printed Circuit Board)E0014、電源ユニッ
トE0015等によって構成されている。ここで、前記
電源ユニットは、メインPCB E0014と接続さ
れ、各種駆動電源を供給するものとなっている。また、
キャリッジ基板E0013は、キャリッジM4001
(図2)に搭載されたプリント基板ユニットであり、コ
ンタクトFPC E0011を通じて記録ヘッドとの信
号の授受を行うインターフェースとして機能する他、キ
ャリッジM4001の移動に伴ってエンコーダセンサE
0004から出力されるパルス信号に基づき、エンコー
ダスケールE0005とエンコーダセンサE0004と
の位置関係の変化を検出し、その出力信号をフレキシブ
ルフラットケーブル(CRFFC)E0012を通じて
メインPCB E0014へと出力する。
The electric circuit in this embodiment mainly includes a carriage substrate (CRPCB) E0013 and a main PC.
B (Printed Circuit Board) E0014, power supply unit E0015 and the like. Here, the power supply unit is connected to the main PCB E0014 and supplies various driving powers. Also,
The carriage substrate E0013 includes a carriage M4001.
(FIG. 2) is a printed circuit board unit, which functions as an interface for transmitting and receiving signals to and from a recording head through a contact FPC E0011, and also includes an encoder sensor E as the carriage M4001 moves.
A change in the positional relationship between the encoder scale E0005 and the encoder sensor E0004 is detected based on the pulse signal output from the 0004, and the output signal is output to the main PCB E0014 via a flexible flat cable (CRFFC) E0012.

【0056】さらに、メインPCBはこの実施形態にお
けるインクジェット記録装置の各部の駆動制御を司るプ
リント基板ユニットであり、紙端検出センサ(PEセン
サ)E0007、ASFセンサE0009、カバーセン
サE0022、パラレルインターフェース(パラレルI
/F)E0016、シリアルインターフェース(シリア
ルI/F)E0017、リジュームキーE0019、L
ED E0020、電源キーE0018、ブザーE00
21等に対するI/Oポートを基板上に有し、さらにC
RモータE0001、LFモータE0002、PGモー
タE0003と接続されてこれらの駆動を制御する他、
インクエンドセンサE0006、GAPセンサE000
8、PGセンサE0010、CRFFC E0012、
電源ユニットE0015との接続インターフェイスを有
する。
Further, a main PCB is a printed circuit board unit for controlling the driving of each part of the ink jet recording apparatus in this embodiment, and includes a paper end detection sensor (PE sensor) E0007, an ASF sensor E0009, a cover sensor E0022, a parallel interface (parallel interface). I
/ F) E0016, serial interface (serial I / F) E0017, resume key E0019, L
ED E0020, power key E0018, buzzer E00
I / O ports for 21 etc. on the board
In addition to being connected to the R motor E0001, the LF motor E0002, and the PG motor E0003 to control their driving,
Ink end sensor E0006, GAP sensor E000
8, PG sensor E0010, CRFFC E0012,
It has a connection interface with the power supply unit E0015.

【0057】図8は、メインPCBの内部構成を示すブ
ロック図である。図において、E1001はCPUであ
り、このCPU E1001は内部にオシレータOSC
E1002を有すると共に、発振回路E1005に接
続されてその出力信号E1019によりシステムクロッ
クを発生する。また、制御バスE1014を通じてRO
M E1004およびASIC(Application Specific
Integrated Circuit)E1006に接続され、ROM
に格納されたプログラムに従って、ASICの制御、電
源キーからの入力信号E1017、及びリジュームキー
からの入力信号E1016、カバー検出信号E104
2、ヘッド検出信号(HSENS)E1013の状態の
検知を行ない、さらにブザー信号(BUZ)E1018
によりブザーE0021を駆動し、内蔵されるA/Dコ
ンバータE1003に接続されるインクエンド検出信号
(INKS)E1011及びサーミスタ温度検出信号
(TH)E1012の状態の検知を行う一方、その他各
種論理演算・条件判断等を行ない、インクジェット記録
装置の駆動制御を司る。
FIG. 8 is a block diagram showing the internal configuration of the main PCB. In the figure, E1001 is a CPU, and this CPU E1001 has an oscillator OSC inside.
E1002 is connected to the oscillation circuit E1005 and generates a system clock by the output signal E1019. Also, RO through the control bus E1014
ME1004 and ASIC (Application Specific
Integrated Circuit) ROM connected to E1006
ASIC control, an input signal E1017 from the power key, an input signal E1016 from the resume key, and a cover detection signal E104 in accordance with the program stored in the
2. The state of the head detection signal (HSENS) E1013 is detected, and the buzzer signal (BUZ) E1018
Drives the buzzer E0021 to detect the state of the ink end detection signal (INKS) E1011 and the thermistor temperature detection signal (TH) E1012 connected to the built-in A / D converter E1003, and various other logical operations and conditions. It makes decisions and controls the drive of the inkjet recording apparatus.

【0058】ここで、ヘッド検出信号E1013は、記
録ヘッドカートリッジH1000からフレキシブルフラ
ットケーブルE0012、キャリッジ基板E0013及
びコンタクトフレキシブルプリントケーブルE0011
を介して入力されるヘッド搭載検出信号であり、インク
エンド検出信号はインクエンドセンサE0006から出
力されるアナログ信号、サーミスタ温度検出信号E10
12はキャリッジ基板E0013上に設けられたサーミ
スタ(図示せず)からのアナログ信号である。
Here, the head detection signal E1013 is transmitted from the print head cartridge H1000 to the flexible flat cable E0012, the carriage board E0013, and the contact flexible print cable E0011.
The ink end detection signal is an analog signal output from the ink end sensor E0006, and a thermistor temperature detection signal E10.
Reference numeral 12 denotes an analog signal from a thermistor (not shown) provided on the carriage substrate E0013.

【0059】E1008はCRモータドライバであっ
て、モータ電源(VM)E1040を駆動源とし、AS
IC E1006からのCRモータ制御信号E1036
に従って、CRモータ駆動信号E1037を生成し、C
RモータE0001を駆動する。E1009はLF/P
Gモータドライバであって、モータ電源E1040を駆
動源とし、ASIC E1006からのパルスモータ制
御信号(PM制御信号)E1033に従ってLFモータ
駆動信号E1035を生成し、これによってLFモータ
を駆動すると共に、PGモータ駆動信号E1034を生
成してPGモータを駆動する。
E1008 is a CR motor driver which uses a motor power supply (VM) E1040 as a drive source and
CR motor control signal E1036 from IC E1006
Generates a CR motor drive signal E1037 according to
The R motor E0001 is driven. E1009 is LF / P
A G motor driver that uses a motor power supply E1040 as a drive source, generates an LF motor drive signal E1035 according to a pulse motor control signal (PM control signal) E1033 from the ASIC E1006, and thereby drives the LF motor and the PG motor A drive signal E1034 is generated to drive the PG motor.

【0060】E1010は電源制御回路であり、ASI
C E1006からの電源制御信号E1024に従って
発光素子を有する各センサ等への電源供給を制御する。
パラレルI/F E0016は、ASIC E1006
からのパラレルI/F信号E1030を、外部に接続さ
れるパラレルI/FケーブルE1031に伝達し、また
パラレルI/FケーブルE1031の信号をASIC
E1006に伝達する。シリアルI/F E0017
は、ASIC E1006からのシリアルI/F信号E
1028を、外部に接続されるシリアルI/Fケーブル
E1029に伝達し、また同ケーブルE1029からの
信号をASIC E1006に伝達する。
E1010 is a power supply control circuit,
In accordance with a power control signal E1024 from CE1006, power supply to each sensor having a light emitting element is controlled.
Parallel I / F E0016 is ASIC E1006
I / F signal E1030 is transmitted to an externally connected parallel I / F cable E1031, and the signal of the parallel I / F cable E1031 is transmitted to an ASIC.
It transmits to E1006. Serial I / F E0017
Is the serial I / F signal E from the ASIC E1006.
1028 is transmitted to the serial I / F cable E1029 connected to the outside, and the signal from the cable E1029 is transmitted to the ASIC E1006.

【0061】一方、前記電源ユニットE0015から
は、ヘッド電源(VH)E1039及びモータ電源(V
M)E1040、ロジック電源(VDD)E1041が
供給される。また、ASIC E1006からのヘッド
電源ON信号(VHON)E1022及びモータ電源O
N信号(VMOM)E1023が電源ユニットE001
5に入力され、それぞれヘッド電源E1039及びモー
タ電源E1040のON/OFFを制御する。電源ユニ
ットE0015から供給されたロジック電源(VDD)
E1041は、必要に応じて電圧変換された上で、メイ
ンPCB E0014内外の各部へ供給される。
On the other hand, from the power supply unit E0015, a head power supply (VH) E1039 and a motor power supply (V
M) E1040 and a logic power supply (VDD) E1041 are supplied. Also, the head power ON signal (VHON) E1022 from the ASIC E1006 and the motor power O
N signal (VMOM) E1023 is the power supply unit E001
5 to control ON / OFF of the head power supply E1039 and the motor power supply E1040, respectively. Logic power (VDD) supplied from power supply unit E0015
E1041 is supplied to various parts inside and outside the main PCB E0014 after voltage conversion as necessary.

【0062】またヘッド電源E1039は、メインPC
B E0014上で平滑された後にフレキシブルフラッ
トケーブルE0011へと送出され、記録ヘッドカート
リッジH1000の駆動に用いられる。E1007はリ
セット回路で、ロジック電源電圧E1040の低下を検
出して、CPU E1001及びASIC E1006
にリセット信号(RESET)E1015を供給し、初
期化を行なう。
The head power supply E1039 is connected to the main PC
After being smoothed on BE0014, it is sent out to the flexible flat cable E0011 and used for driving the print head cartridge H1000. E1007 is a reset circuit which detects a decrease in the logic power supply voltage E1040 and outputs a reset signal to the CPU E1001 and the ASIC E1006.
Is supplied with a reset signal (RESET) E1015 to perform initialization.

【0063】このASIC E1006は1チップの半
導体集積回路であり、制御バスE1014を通じてCP
U E1001によって制御され、前述したCRモータ
制御信号E1036、PM制御信号E1033、電源制
御信号E1024、ヘッド電源ON信号E1022、及
びモータ電源ON信号E1023等を出力し、パラレル
I/F E0016およびシリアルI/F E0017
との信号の授受を行なう他、PEセンサE0007から
のPE検出信号(PES)E1025、ASFセンサE
0009からのASF検出信号(ASFS)E102
6、GAPセンサE0008からのGAP検出信号(G
APS)E1027、PGセンサE0007からのPG
検出信号(PGS)E1032の状態を検知して、その
状態を表すデータを制御バスE1014を通じてCPU
E1001に伝達し、入力されたデータに基づきCP
U E1001はLED駆動信号E1038の駆動を制
御してLEDE0020の点滅を行なう。
The ASIC E1006 is a one-chip semiconductor integrated circuit.
It is controlled by the U E1001 and outputs the above-mentioned CR motor control signal E1036, PM control signal E1033, power control signal E1024, head power ON signal E1022, motor power ON signal E1023, etc., and outputs the parallel I / F E0016 and serial I / F. F E0017
, A PE detection signal (PES) E1025 from the PE sensor E0007, an ASF sensor E
ASF detection signal (ASFS) E102 from 0009
6. The GAP detection signal (G
APS) E1027, PG from PG sensor E0007
The state of the detection signal (PGS) E1032 is detected, and data representing the state is sent to the CPU via the control bus E1014.
E1001 and based on the input data,
The EE1001 controls the driving of the LED driving signal E1038 to blink the LEDE0020.

【0064】さらに、エンコーダ信号(ENC)E10
20の状態を検知してタイミング信号を生成し、ヘッド
制御信号E1021で記録ヘッドカートリッジH100
0とのインターフェイスをとり記録動作を制御する。こ
こにおいて、エンコーダ信号(ENC)E1020はフ
レキシブルフラットケーブルE0012を通じて入力さ
れるCRエンコーダセンサE0004の出力信号であ
る。また、ヘッド制御信号E1021は、フレキシブル
フラットケーブルE0012、キャリッジ基板E001
3、及びコンタクトFPC E0011を経て記録ヘッ
ドH1000に供給される。
Further, the encoder signal (ENC) E10
20 is detected to generate a timing signal, and the printhead cartridge H100 is generated by the head control signal E1021.
The interface with 0 controls the recording operation. Here, the encoder signal (ENC) E1020 is an output signal of the CR encoder sensor E0004 input through the flexible flat cable E0012. The head control signal E1021 is transmitted to the flexible flat cable E0012 and the carriage board E001.
3 and a contact FPC E0011 to the print head H1000.

【0065】図9は、ASIC E1006の内部構成
を示すブロック図である。
FIG. 9 is a block diagram showing the internal configuration of the ASIC E1006.

【0066】なお、同図において、各ブロック間の接続
については、記録データやモータ制御データ等、ヘッド
や各部機構部品の制御にかかわるデータの流れのみを示
しており、各ブロックに内蔵されるレジスタの読み書き
に係わる制御信号やクロック、DMA制御にかかわる制
御信号などは図面上の記載の煩雑化を避けるため省略し
ている。
In the figure, the connection between the blocks shows only the flow of data related to the control of the head and the mechanical components such as recording data and motor control data, and the registers built in each block. Control signals and clocks related to reading and writing of the data, control signals related to DMA control, and the like are omitted to avoid complication in the drawings.

【0067】図中、E2002はPLLであり、図9に
示すように前記CPU E1001から出力されるクロ
ック信号(CLK)E2031及びPLL制御信号(P
LLON)E2033により、ASIC E1006内
の大部分へと供給するクロック(図示しない)を発生す
る。
In the figure, reference numeral E2002 denotes a PLL. As shown in FIG. 9, a clock signal (CLK) E2031 output from the CPU E1001 and a PLL control signal (P
LLON) E2033 generates a clock (not shown) to be supplied to most of the ASIC E1006.

【0068】また、E2001はCPUインターフェー
ス(CPUI/F)であり、リセット信号E1015、
CPU E1001から出力されるソフトリセット信号
(PDWN)E2032、クロック信号(CLK)E2
031及び制御バスE1014からの制御信号により、
以下に説明するような各ブロックに対するレジスタ読み
書き等の制御や、一部ブロックへのクロックの供給、割
り込み信号の受け付け等(いずれも図示しない)を行な
い、CPU E1001に対して割り込み信号(IN
T)E2034を出力し、ASIC E1006内部で
の割り込みの発生を知らせる。
E2001 is a CPU interface (CPU I / F), and a reset signal E1015,
Soft reset signal (PDWN) E2032 and clock signal (CLK) E2 output from CPU E1001
031 and a control signal from the control bus E1014,
Control of register read / write for each block as described below, supply of a clock to some blocks, acceptance of an interrupt signal, etc. (all not shown) are performed, and an interrupt signal (IN) is sent to the CPU E1001.
T) Output E2034 to notify the occurrence of an interrupt in ASIC E1006.

【0069】また、E2005はDRAMであり、記録
用のデータバッファとして、受信バッファE2010、
ワークバッファE2011、プリントバッファE201
4、展開用データバッファE2016などの各領域を有
すると共に、モータ制御用としてモータ制御バッファE
2023を有し、さらにスキャナ動作モード時に使用す
るバッファとして、上記の各記録用データバッファに代
えてスキャナ取込みバッファE2024、スキャナデー
タバッファE2026、送出バッファE2028などの
領域を有する。
E2005 is a DRAM, and as a data buffer for recording, a reception buffer E2010,
Work buffer E2011, print buffer E201
4. It has various areas such as a data buffer E2016 for development and a motor control buffer E for motor control.
2023. Further, as buffers used in the scanner operation mode, there are areas such as a scanner fetch buffer E2024, a scanner data buffer E2026, and a transmission buffer E2028 instead of the above-described recording data buffers.

【0070】また、このDRAM E2005は、CP
U E1001の動作に必要なワーク領域としても使用
されている。すなわち、E2004はDRAM制御部で
あり、制御バスによるCPU E1001からDRAM
E2005へのアクセスと、後述するDMA制御部E
2003からDRAM E2005へのアクセスとを切
り替えて、DRAM E2005への読み書き動作を行
なう。
The DRAM E2005 has a CP
It is also used as a work area necessary for the operation of the EU 1001. That is, E2004 is a DRAM control unit, which is provided from the CPU E1001 by the control bus to the DRAM
Access to E2005 and DMA control unit E described later
Switching from access to the DRAM E2005 from 2003 is performed to perform a read / write operation to the DRAM E2005.

【0071】DMA制御部E2003では、各ブロック
からのリクエスト(図示せず)を受け付けて、アドレス
信号や制御信号(図示せず)、書込み動作の場合には書
込みデータ(E2038、E2041、E2044、E
2053、E2055、E2057)などをRAM制御
部に出力してDRAMアクセスを行なう。また読み出し
の場合には、DRAM制御部E2004からの読み出し
データ(E2040、E2043、E2045、E20
51、E2054、E2056、E2058、E205
9)を、リクエスト元のブロックに受け渡す。
The DMA control unit E2003 receives a request (not shown) from each block, and receives an address signal, a control signal (not shown), and write data (E2038, E2041, E2044, E2044) in the case of a write operation.
2053, E2055, and E2057) are output to the RAM control unit to perform DRAM access. In the case of reading, read data (E2040, E2043, E2045, E2040) from the DRAM control unit E2004 is read.
51, E2054, E2056, E2058, E205
9) is passed to the requesting block.

【0072】また、E2006は1284I/Fであ
り、CPUI/F E2001を介したCPU E10
01の制御により、パラレルI/F E0016を通じ
て、図示しない外部ホスト機器との双方向通信インター
フェイスを行なう他、記録時にはパラレルI/F E0
016からの受信データ(PIF受信データE203
6)をDMA処理によって受信制御部E2008へと受
け渡し、スキャナ読み取り時にはDRAM E2005
内の送出バッファE2028に格納されたデータ(12
84送信データ(RDPIF)E2059)をDMA処
理によりパラレルI/Fに送信する。
E2006 is 1284 I / F, and CPU E10 via CPU I / F E2001
01, a bidirectional communication interface with an external host device (not shown) is performed through the parallel I / F E0016, and the parallel I / F E0 is used during recording.
Reception data (PIF reception data E203)
6) is transferred to the reception control unit E2008 by the DMA processing, and the DRAM E2005 is read when the scanner is read.
The data (12) stored in the transmission buffer E2028
84 transmission data (RDPIF) E2059) to the parallel I / F by DMA processing.

【0073】E2007はUSBI/Fであり、CPU
I/F E2001を介したCPUE1001の制御に
より、シリアルI/F E0017を通じて、図示しな
い外部ホスト機器との双方向通信インターフェイスを行
なう他、印刷時にはシリアルI/F E0017からの
受信データ(USB受信データE2037)をDMA処
理により受信制御部E2008に受け渡し、スキャナ読
み取り時にはDRAM E2005内の送出バッファE
2028に格納されたデータ(USB送信データ(RD
USB)E2058)をDMA処理によりシリアルI/
F E0017に送信する。受信制御部E2008は、
1284I/F E2006もしくはUSBI/F E
2007のうちの選択されたI/Fからの受信データ
(WDIF)E2038)を、受信バッファ制御部E2
039の管理する受信バッファ書込みアドレスに、書込
む。E2009は圧縮・伸長DMAであり、CPUI/
F E2001を介したCPUE1001の制御によ
り、受信バッファE2010上に格納された受信データ
(ラスタデータ)を、受信バッファ制御部E2039の
管理する受信バッファ読み出しアドレスから読み出し、
そのデータ(RDWK)E2040を指定されたモード
に従って圧縮・伸長し、記録コード列(WDWK)E2
041としてワークバッファ領域に書込む。
E2007 is a USB I / F, and CPU
Under the control of the CPU E1001 via the I / F E2001, a bidirectional communication interface with an external host device (not shown) is performed through the serial I / F E0017, and at the time of printing, data received from the serial I / F E0017 (USB reception data E2037) ) Is transferred to the reception control unit E2008 by the DMA processing, and the transmission buffer E in the DRAM E2005 is read at the time of scanner reading.
2028 (USB transmission data (RD
USB) E2058) by DMA processing
Send to FE0017. The reception control unit E2008 includes:
1284 I / FE 2006 or USB I / FE
The received data (WDIF) E2038 from the selected I / F in 2007 is transferred to the reception buffer controller E2.
039 is written to the reception buffer write address managed. E2009 is a compression / expansion DMA, which is used for CPUI /
Under the control of the CPU E1001 via the FE2001, the reception data (raster data) stored in the reception buffer E2010 is read from the reception buffer read address managed by the reception buffer control unit E2039.
The data (RDWK) E2040 is compressed and decompressed according to the designated mode, and the recording code string (WDWK) E2
The data is written in the work buffer area as 041.

【0074】E2013は記録バッファ転送DMAで、
CPUI/F E2001を介したCPU E1007
の制御によってワークバッファE2011上の記録コー
ド(RDWP)E2043を読み出し、各記録コード
を、記録ヘッドカートリッジH1000へのデータ転送
順序に適するようなプリントバッファE2014上のア
ドレスに並べ替えて転送(WDWP E2044)す
る。また、E2012はワーククリアDMAであり、C
PUI/F E2001を介したCPU E1001の
制御によって記録バッファ転送DMA E2015によ
る転送が完了したワークバッファ上の領域に対し、指定
したワークフィルデータ(WDWF)E2042を繰返
し書込む。
E2013 is a recording buffer transfer DMA,
CPU E1007 via CPU I / F E2001
The control reads the recording code (RDWP) E2043 on the work buffer E2011, rearranges each recording code into an address on the print buffer E2014 suitable for the data transfer order to the print head cartridge H1000, and transfers the data (WDWP E2044). I do. E2012 is a work clear DMA,
Under the control of the CPU E1001 via the PUI / FE 2001, the designated work fill data (WDWF) E2042 is repeatedly written in the area on the work buffer to which the transfer by the recording buffer transfer DMA E2015 has been completed.

【0075】E2015は記録データ展開DMAであ
り、CPUI/F E2001を介したCPU E10
01の制御により、ヘッド制御部E2018からのデー
タ展開タイミング信号E2050をトリガとして、プリ
ントバッファ上に並べ替えて書込まれた記録コードと展
開用データバッファE2016上に書込まれた展開用デ
ータとを読み出し、展開記録データ(RDHDG)E2
045を生成し、これをカラムバッファ書込みデータ
(WDHDG)E2047としてカラムバッファE20
17に書込む。ここで、カラムバッファE2017は、
記録ヘッドカートリッジH1000へと転送データ(展
開記録データ)とを一時的に格納するSRAMであり、
記録データ展開DMAとヘッド制御部とのハンドシェー
ク信号(図示せず)によって両ブロックにより共有管理
されている。
E2015 is a print data expansion DMA, which is a CPU E10 via the CPU I / F E2001.
01, the recording code written rearranged on the print buffer and the data for development written on the data buffer for development E2016 are triggered by the data development timing signal E2050 from the head control unit E2018 as a trigger. Read and expanded recording data (RDHDG) E2
045 is generated, and is generated as column buffer write data (WDHDG) E2047.
Write to 17. Here, the column buffer E2017 is
An SRAM for temporarily storing transfer data (expanded print data) to the print head cartridge H1000;
The print data development DMA and the head control unit share and manage the data by a handshake signal (not shown) between the two blocks.

【0076】E2018はヘッド制御部で、CPUI/
F E2001を介したCPU E1001の制御によ
り、ヘッド制御信号を介して記録ヘッドカートリッジH
1000またはスキャナとのインターフェイスを行なう
他、エンコーダ信号処理部E2019からのヘッド駆動
タイミング信号E2049に基づき、記録データ展開D
MAに対してデータ展開タイミング信号E2050の出
力を行なう。
E2018 denotes a head control unit, which is a CPU I /
Under the control of the CPU E1001 via the FE2001, the recording head cartridge H is controlled via a head control signal.
1000 or the interface with the scanner, and based on the head drive timing signal E2049 from the encoder signal processing unit E2019, the print data development D
Output data development timing signal E2050 to MA.

【0077】また、印刷時には、前記ヘッド駆動タイミ
ング信号E2049に従って、カラムバッファから展開
記録データ(RDHD)E2048を読み出し、そのデ
ータをヘッド制御信号E1021を通じて記録ヘッドカ
ートリッジH1000に出力する。また、スキャナ読み
取りモードにおいては、ヘッド制御信号E1021を通
して入力された取込みデータ(WDHD)E2053を
DRAM E2005上のスキャナ取込みバッファE2
024へとDMA転送する。E2025はスキャナデー
タ処理DMAであり、CPUI/F E2001を介し
たCPU E1001の制御により、スキャナ取込みバ
ッファE2024に蓄えられた取込みバッファ読み出し
データ(RDAV)E2054を読み出し、平均化等の
処理を行なった処理済データ(WDAV)E2055を
DRAM E2005上のスキャナデータバッファE2
026に書込む。E2027はスキャナデータ圧縮DM
Aで、CPUI/F E2001を介したCPU E1
001の制御により、スキャナデータバッファE202
6上の処理済データ(RDYC)E2056を読み出し
てデータ圧縮を行ない、圧縮データ(WDYC)E20
57を送出バッファE2028に書込み転送する。
At the time of printing, in accordance with the head drive timing signal E2049, the development print data (RDHD) E2048 is read from the column buffer, and the data is output to the print head cartridge H1000 through the head control signal E1021. In the scanner reading mode, the capture data (WDHD) E2053 input through the head control signal E1021 is transferred to the scanner capture buffer E2 on the DRAM E2005.
No. 024. Reference numeral E2025 denotes a scanner data processing DMA, which reads the capture buffer read data (RDAV) E2054 stored in the scanner capture buffer E2024 under the control of the CPU E1001 via the CPU I / F E2001, and performs processing such as averaging. The finished data (WDAV) E2055 to the scanner data buffer E2 on the DRAM E2005.
026. E2027 is scanner data compression DM
A, CPU E1 via CPU I / F E2001
001 controls the scanner data buffer E202.
6, the processed data (RDYC) E2056 is read out and compressed, and the compressed data (WDYC) E20
57 is transferred to the transmission buffer E2028.

【0078】E2019はエンコーダ信号処理部であ
り、エンコーダ信号(ENC)を受けて、CPU E1
001の制御で定められたモードに従ってヘッド駆動タ
イミング信号E2049を出力する他、エンコーダ信号
E1020から得られるキャリッジM4001の位置や
速度にかかわる情報をレジスタに格納して、CPU E
1001に提供する。CPU E1001はこの情報に
基づき、CRモータE0001の制御における各種パラ
メータを決定する。また、E2020はCRモータ制御
部であり、CPUI/F E2001を介したCPU
E1001の制御により、CRモータ制御信号E103
6を出力する。
Reference numeral E2019 denotes an encoder signal processing unit which receives an encoder signal (ENC) and receives a signal from the CPU E1.
In addition to outputting the head drive timing signal E2049 in accordance with the mode determined by the control of 001, information relating to the position and speed of the carriage M4001 obtained from the encoder signal E1020 is stored in a register.
1001. The CPU E1001 determines various parameters in controlling the CR motor E0001 based on this information. E2020 denotes a CR motor control unit, which is a CPU via a CPU I / F E2001.
By the control of E1001, the CR motor control signal E103
6 is output.

【0079】E2022はセンサ信号処理部で、PGセ
ンサE0010、PEセンサE0007、ASFセンサ
E0009、及びGAPセンサE0008等から出力さ
れる各検出信号を受けて、CPU E1001の制御で
定められたモードに従ってこれらのセンサ情報をCPU
E1001に伝達する他、LF/PGモータ制御部D
MA E2021に対してセンサ検出信号E2052を
出力する。
E2022 is a sensor signal processing unit which receives each detection signal output from the PG sensor E0010, PE sensor E0007, ASF sensor E0009, GAP sensor E0008, etc., and according to the mode determined by the control of the CPU E1001. CPU information of CPU
E1001 and LF / PG motor controller D
The sensor detection signal E2052 is output to the MA E2021.

【0080】LF/PGモータ制御DMAE2021
は、CPUI/F E2001を介したCPU E10
01の制御により、DRAM E2005上のモータ制
御バッファE2023からパルスモータ駆動テーブル
(RDPM)E2051を読み出してパルスモータ制御
信号Eを出力する他、動作モードによっては前記センサ
検出信号を制御のトリガとしてパルスモータ制御信号E
1033を出力する。また、E2030はLED制御部
であり、CPUI/F E2001を介したCPU E
1001の制御により、LED駆動信号E1038を出
力する。さらに、E2029はポート制御部であり、C
PUI/F E2001を介したCPU E1001の
制御により、ヘッド電源ON信号E1022、モータ電
源ON信号E1023、及び電源制御信号E1024を
出力する。
LF / PG motor control DMAE2021
Is the CPU E10 via the CPU I / F E2001
01, reads a pulse motor drive table (RDPM) E2051 from a motor control buffer E2023 on the DRAM E2005 and outputs a pulse motor control signal E. In addition, depending on an operation mode, the pulse motor is used as a control trigger by the sensor detection signal. Control signal E
1033 is output. Reference numeral E2030 denotes an LED control unit which controls the CPU E via the CPU I / F E2001.
Under the control of 1001, an LED drive signal E1038 is output. Further, E2029 is a port controller, and C20
A head power ON signal E1022, a motor power ON signal E1023, and a power control signal E1024 are output under the control of the CPU E1001 via the PUI / FE 2001.

【0081】次に、上記のように構成された本発明の実
施形態におけるインクジェット記録装置の動作を図10
のフローチャートに基づき説明する。
Next, the operation of the ink jet recording apparatus according to the embodiment of the present invention configured as described above will be described with reference to FIG.
This will be described with reference to the flowchart of FIG.

【0082】AC電源に本装置が接続されると、まず、
ステップS1では装置の第1の初期化処理を行なう。こ
の初期化処理では、本装置のROMおよびRAMのチェ
ックなどの電気回路系のチェックを行ない、電気的に本
装置が正常に動作可能であるかを確認する。
When this device is connected to the AC power supply,
In step S1, a first initialization process of the device is performed. In this initialization process, an electric circuit system check such as a check of the ROM and RAM of the present apparatus is performed to confirm whether the present apparatus can be normally operated electrically.

【0083】次にステップS2では、装置本体M100
0の上ケースM1002に設けられた電源キーE001
8がONされたかどうかの判断を行い、電源キーE00
18が押された場合には、次のステップS3へと移行
し、ここで第2の初期化処理を行う。
Next, in step S2, the apparatus main body M100
0 power key E001 provided on the upper case M1002.
8 is turned on, and the power key E00
If the button 18 has been pressed, the process moves to the next step S3, where a second initialization process is performed.

【0084】この第2の初期化処理では、本装置の各種
駆動機構及びヘッド系のチェックを行なう。すなわち、
各種モータの初期化やヘッド情報の読み込みを行うに際
し、本装置が正常に動作可能であるかを確認する。
In the second initialization processing, various drive mechanisms and a head system of the apparatus are checked. That is,
When initializing various motors and reading head information, confirm that the device can operate normally.

【0085】次にステップS4ではイベント待ちを行な
う。すなわち、本装置に対して、外部I/Fからの指令
イベント、ユーザ操作によるパネルキーイベントおよび
内部的な制御イベントなどを監視し、これらのイベント
が発生すると当該イベントに対応した処理を実行する。
Next, in step S4, an event is waited. That is, the apparatus monitors command events from the external I / F, panel key events due to user operations, internal control events, and the like, and executes a process corresponding to the event when these events occur.

【0086】例えば、ステップS4で外部I/Fからの
印刷指令イベントを受信した場合には、ステップS5へ
と移行し、同ステップでユーザ操作による電源キーイベ
ントが発生した場合にはステップS10へと移行し、同
ステップでその他のイベントが発生した場合にはステッ
プS11へと移行する。ここで、ステップS5では、外
部I/Fからの印刷指令を解析し、指定された紙種別、
用紙サイズ、印刷品位、給紙方法などを判断し、その判
断結果を表すデータを本装置内のRAM E2005に
記憶し、ステップS6へと進む。次いでステップS6で
はステップS5で指定された給紙方法により給紙を開始
し、用紙を記録開始位置まで送り、ステップS7に進
む。ステップS7では記録動作を行なう。この記録動作
では、外部I/Fから送出されてきた記録データを、一
旦記録バッファに格納し、次いでCRモータE0001
を駆動してキャリッジM4001の走査方向への移動を
開始すると共に、プリントバッファE2014に格納さ
れている記録データを記録ヘッドH1001へと供給し
て1行の記録を行ない、1行分の記録データの記録動作
が終了するとLFモータE0002を駆動し、LFロー
ラM3001を回転させて用紙を副走査方向へと送る。
この後、上記動作を繰り返し実行し、外部I/Fからの
1ページ分の記録データの記録が終了すると、ステップ
8へと進む。
For example, if a print command event is received from the external I / F in step S4, the process proceeds to step S5, and if a power key event is generated by a user operation in the same step, the process proceeds to step S10. The process proceeds to step S11 when another event occurs in the same step. Here, in step S5, a print command from the external I / F is analyzed, and the designated paper type,
The paper size, print quality, paper feeding method, and the like are determined, data representing the determination result is stored in the RAM E2005 in the apparatus, and the process proceeds to step S6. Next, in step S6, sheet feeding is started by the sheet feeding method designated in step S5, the sheet is fed to a recording start position, and the process proceeds to step S7. In step S7, a recording operation is performed. In this recording operation, the recording data sent from the external I / F is temporarily stored in the recording buffer, and then stored in the CR motor E0001.
To start the movement of the carriage M4001 in the scanning direction, and supply the print data stored in the print buffer E2014 to the printhead H1001 to print one line, and print one line of print data. When the recording operation is completed, the LF motor E0002 is driven, and the LF roller M3001 is rotated to feed the sheet in the sub-scanning direction.
Thereafter, the above operation is repeatedly performed, and when the recording of one page of recording data from the external I / F is completed, the process proceeds to step S8.

【0087】ステップS8では、LFモータE0002
を駆動し、排紙ローラM2003を駆動し、用紙が完全
に本装置から送り出されたと判断されるまで紙送りを繰
返し、終了した時点で用紙は排紙トレイM1004a上
に完全に排紙された状態となる。
In step S8, the LF motor E0002
Is driven to drive the paper discharge roller M2003, and the paper feeding is repeated until it is determined that the paper is completely fed out of the apparatus. When the paper is completely discharged, the paper is completely discharged onto the paper discharge tray M1004a. Becomes

【0088】次にステップS9では、記録すべき全ペー
ジの記録動作が終了したか否かを判定し、記録すべきペ
ージが残存する場合には、ステップS5へと復帰し、以
下、前述のステップS5〜S9までの動作を繰り返し、
記録すべき全てのページの記録動作が終了した時点で記
録動作は終了し、その後ステップS4へと移行し、次の
イベントを待つ。
Next, in step S9, it is determined whether or not the recording operation of all the pages to be recorded has been completed. If the pages to be recorded remain, the process returns to step S5. The operations from S5 to S9 are repeated,
When the recording operation of all pages to be recorded is completed, the recording operation ends, and thereafter, the process shifts to step S4 to wait for the next event.

【0089】一方、ステップS10ではプリンタ終了処
理を行ない、本装置の動作を停止させる。つまり、各種
モータやヘッドなどの電源を切断するために、電源を切
断可能な状態に移行した後、電源を切断しステップS4
に進み、次のイベントを待つ。
On the other hand, in step S10, a printer termination process is performed to stop the operation of the present apparatus. That is, in order to turn off the power of various motors and heads, the state is shifted to a state where the power can be turned off, and then the power is turned off and step S4
Go to and wait for the next event.

【0090】また、ステップS11では、上記以外の他
のイベント処理を行なう。例えば、本装置の各種パネル
キーや外部I/Fからの回復指令や内部的に発生する回
復イベントなどに対応した処理を行なう。なお、処理終
了後にはステップS4に進み、次のイベントを待つ。
In step S11, other event processing other than the above is performed. For example, a process corresponding to a recovery command from various panel keys or an external I / F of the apparatus or a recovery event generated internally is performed. After the process is completed, the process proceeds to step S4 and waits for the next event.

【0091】(実施形態1)このような構成の記録装置
における、キャリッジモータの制御について説明する。
(Embodiment 1) Control of the carriage motor in the printing apparatus having such a configuration will be described.

【0092】前述のように、キャリッジM4001は、
ASIC E1006からのCRモータ制御信号E10
36に従って生成されたCRモータ駆動信号E1037
によって駆動されるキャリッジモータE0001を駆動
源としている。
As described above, the carriage M4001 is
CR motor control signal E10 from ASIC E1006
Motor drive signal E1037 generated in accordance with G.36
The drive source is a carriage motor E0001 driven by the drive.

【0093】図11は、キャリッジM4001の指令速
度及び指令位置の変化を示すグラフである。
FIG. 11 is a graph showing changes in the command speed and command position of the carriage M4001.

【0094】キャリッジM4001は、停止している状
態から所定の一定速度まで加速する加速状態と、キャリ
ッジM4001に装着された記録ヘッドH1001から
インク滴を吐出して記録装置のプラテンM2001に案
内された記録シート上に記録を行う定速状態と、所定の
位置に停止するためキャリッジM4001が減速する減
速状態の3状態に大きく分けられる。ここで、キャリッ
ジM4001の駆動走査を行うための処理はCPU E
1001によって行われる。これは例えば1msなどの
所定のタイミング毎に周期的に行われる。また、この加
速状態となる位置を加速位置、加速状態となる時間を加
速時間とする。また、減速状態となる位置を減速位置、
減速状態となる時間を減速時間とする。
The carriage M4001 is in an accelerated state in which the carriage M4001 is accelerated from a stopped state to a predetermined constant speed, and recording is performed by ejecting ink droplets from a recording head H1001 mounted on the carriage M4001 and guided to a platen M2001 of the recording apparatus. There are three main states: a constant speed state in which printing is performed on a sheet, and a deceleration state in which the carriage M4001 decelerates to stop at a predetermined position. Here, processing for performing drive scanning of the carriage M4001 is performed by the CPU E.
1001. This is performed periodically at every predetermined timing such as 1 ms. In addition, the position where the acceleration state is set is referred to as an acceleration position, and the time during which the acceleration state is set is referred to as an acceleration time. In addition, the deceleration position is the deceleration position,
The time during which the vehicle is in the deceleration state is defined as the deceleration time.

【0095】また、キャリッジM4001が1回の走査
で最終的に到達しなければならない位置を到達位置XT
とし、また記録媒体上に記録を行う際の変更状態におけ
る走査速度を到達速度VTとする。
The position at which the carriage M4001 must finally reach in one scan is defined as the arrival position XT.
The scanning speed in the changed state when printing on a printing medium is referred to as the reaching speed VT.

【0096】図12は、キャリッジモータE0001の
制御の概略を示す図である。
FIG. 12 is a diagram schematically showing the control of the carriage motor E0001.

【0097】キャリッジM4001の速度と位置の指令
値を算出する速度及び位置の指令値算出処理部1と、キ
ャリッジM4001の位置を制御する位置制御処理部2
と、速度を制御する速度制御処理部3と、位置制御処理
部2と速度制御処理部3のそれぞれからの算出値をキャ
リッジモータE0001を駆動するためのCRモータド
ライバE1008の入力値に適した値に換算するモータ
制御処理4とを具えている。
A speed and position command value calculation processing unit 1 for calculating a speed and position command value of the carriage M4001, and a position control processing unit 2 for controlling the position of the carriage M4001
And a speed control processing unit 3 for controlling speed, and a value suitable for an input value of a CR motor driver E1008 for driving the carriage motor E0001, which is calculated from each of the position control processing unit 2 and the speed control processing unit 3. And a motor control process 4 for converting to

【0098】なお、本実施形態ではキャリッジM400
1の位置や速度の情報はエンコーダセンサE0004及
びエンコーダスケールE0005に基づいて検出され、
検出された情報が随時DRAM E2005に格納され
る仕組みとなっている。また、格納された情報をCPU
E1001が図12に示したフィードバック処理の処
理タイミング毎に取得する仕組みとなっている。
In this embodiment, the carriage M400
The position and speed information of 1 is detected based on the encoder sensor E0004 and the encoder scale E0005,
The detected information is stored in the DRAM E2005 as needed. Also, the stored information is transferred to the CPU.
E1001 is a mechanism for acquiring at each processing timing of the feedback processing shown in FIG.

【0099】指令値算出処理部1は、図11に示したグ
ラフの様に、所定タイミングに対する指令速度及び指令
位置を算出する。
The command value calculation processing section 1 calculates a command speed and a command position with respect to a predetermined timing as shown in the graph of FIG.

【0100】図13は算出処理の流れを示すフローチャ
ートである。
FIG. 13 is a flowchart showing the flow of the calculation process.

【0101】まず、キャリッジM4001が加速、定
速、減速状態のいずれであるかをキャリッジM4001
に装着されたエンコーダセンサE0004の測定結果か
ら判断する(ステップ10)。
First, whether the carriage M4001 is in the acceleration, constant speed, or deceleration state is determined.
It is determined from the measurement result of the encoder sensor E0004 attached to the camera (step 10).

【0102】加速状態であった場合、到達速度VTと、
加速状態の終端までの距離(加速距離)ないしは加速時
間とから加速度を求める。求めた加速度と予め定められ
た初速度VSとが入力され、これらの値から指令速度V
が算出される(ステップ11)。なお、キャリッジM4
001の走査を滑らかに行うために、加速状態での速度
が時間軸に対して3次関数的に変化するように指令速度
Vを算出するものとする。
When the vehicle is in an accelerating state, the arrival speed VT and
The acceleration is obtained from the distance to the end of the acceleration state (acceleration distance) or the acceleration time. The obtained acceleration and a predetermined initial speed VS are input, and the command speed V is calculated from these values.
Is calculated (step 11). The carriage M4
In order to scan 001 smoothly, the command speed V is calculated so that the speed in the accelerated state changes in a cubic function with respect to the time axis.

【0103】定速状態であった場合、到達速度VTを指
令速度Vとする(ステップ12)。
If the vehicle is in the constant speed state, the reaching speed VT is set to the command speed V (step 12).

【0104】減速状態であった場合、到達速度VTと,
到達位置XTからの距離(減速距離)ないし減速時間と
から加速度を求める。到達速度VTから求めた加速度を
減算して指令速度Vを算出する(ステップ13)。
When the vehicle is in the deceleration state, the arrival speed VT and
The acceleration is obtained from the distance (deceleration distance) from the arrival position XT or the deceleration time. The commanded speed V is calculated by subtracting the obtained acceleration from the reached speed VT (step 13).

【0105】このようにして求めた指令速度Vに処理タ
イミングの周期Tを乗じた値をCPU E1001の処
理タイミングごとに加算して指令位置Xを算出する(ス
テップ14)。なお、(t)は処理タイミングにおける
値を示しており、(t−1)は前回の処理タイミングで
の値を示す。このようにして指令値算出処理部1は、所
定タイミングごとに指令速度V及び指令位置Xを算出し
この値を出力する。
The command position X is calculated by adding the value obtained by multiplying the command speed V thus obtained by the processing timing period T at each processing timing of the CPU E1001 (step 14). Note that (t) indicates a value at the processing timing, and (t-1) indicates a value at the previous processing timing. In this way, the command value calculation processing section 1 calculates the command speed V and the command position X at each predetermined timing, and outputs these values.

【0106】位置制御処理部2は、指令値算出部1で算
出された指令位置Xと、一連のフィードバック制御によ
って駆動されているキャリッジM4001の実際の位置
xとの誤差すなわち位置誤差XEを算出し、その位置誤
差XEから制御量Vcを求める。このとき、キャリッジ
M4001の実際の位置xは位置制御処理を実行する前
回のタイミングで算出されたキャリッジモータE000
1への出力に基づく結果とし、添え字(t−1)を加え
て示すものとする。また、本実施形態の位置制御処理は
キャリッジM4001が減速状態に移行した時点で実行
される処理であって、加速状態、定速状態においては実
行されない構成となっている。このとき、位置制御処理
部2による処理結果は速度制御処理部3を経由せず直接
モータ制御処理部4に入力される構成となっている。こ
こで、減速状態に移行したという判断はキャリッジM4
001の位置によって決定され、予め設定されている減
速距離から減速を開始する位置を求め、その減速開始位
置にキャリッジが移動したことがエンコーダスケールE
0005とエンコーダセンサE0004によって検出さ
れた時とする。
The position control processing unit 2 calculates an error between the command position X calculated by the command value calculation unit 1 and the actual position x of the carriage M4001 driven by a series of feedback control, that is, a position error XE. , The control amount Vc is obtained from the position error XE. At this time, the actual position x of the carriage M4001 is determined by the carriage motor E000 calculated at the previous timing of executing the position control process.
The result is based on the output to No. 1 and is indicated by adding a subscript (t-1). Further, the position control process of this embodiment is a process executed when the carriage M4001 shifts to the deceleration state, and is not executed in the acceleration state or the constant speed state. At this time, the processing result by the position control processing unit 2 is directly input to the motor control processing unit 4 without passing through the speed control processing unit 3. Here, the determination that the vehicle has shifted to the deceleration state is determined by the
001, a position at which deceleration is started from a preset deceleration distance is obtained, and the encoder scale E indicates that the carriage has moved to the deceleration start position.
0005 and the time when it is detected by the encoder sensor E0004.

【0107】図14は、位置制御処理部2の処理の流れ
を示すフローチャートである。
FIG. 14 is a flowchart showing the flow of the processing of the position control processing section 2.

【0108】指令位置X(t)からキャリッジM400
1の実際の位置x(t−1)を減算し、位置誤差XE
(t)を算出する(ステップ21)。次にキャリッジM
4001が減速を開始する位置にいるか、あるいは減速
状態の途中かどうかをエンコーダスケールE0005と
エンコーダセンサE0004の検出結果から判断し(ス
テップ22)、減速開始位置であれば、ステップ21で
算出した位置誤差XE(t)をリセットする(ステップ
23)。減速開始位置でなければ、ステップ24へ移行
する。つまり、キャリッジM4001の駆動が開始され
てから減速状態に移行するまでの間、指令位置Xと実際
のキャリッジの位置xとの間には時間軸に対して誤差を
有し、実際のキャリッジの位置xが指令位置Xに対して
遅れて追従する状態となっている。その結果、キャリッ
ジM4001が減速に移行したタイミングでは、位置誤
差XEが発生している。したがって、減速開始位置では
ステップ23に示すとおり、この位置誤差XEをいった
んリセットし、指令位置X(t)がこのタイミングで実
際のキャリッジM4001の位置x(t)に等しいとす
る。次に、誤差XE(t)を周期Tで除算し、その商に
位置制御定数Pをかけることで、速度制御量Vc(t)
を算出する(ステップ24)。このようにして位置制御
処理部2によって算出された速度制御量Vc(t)は、
速度制御処理部3による処理は実施されずにそのままモ
ータ制御処理部4へ入力される。そして、キャリッジモ
ータE0001を駆動するキャリッジモータドライバE
1008への入力に適した信号に変換される。
From the command position X (t), the carriage M400
1 is subtracted from the actual position x (t-1), and the position error XE
(T) is calculated (step 21). Next, carriage M
It is determined from the detection results of the encoder scale E0005 and the encoder sensor E0004 whether or not 4001 is at the position where deceleration starts or is in the middle of deceleration (step 22). XE (t) is reset (step 23). If it is not the deceleration start position, the process proceeds to step S24. In other words, between the start of driving of the carriage M4001 and the transition to the deceleration state, there is an error between the command position X and the actual carriage position x with respect to the time axis, and the actual carriage position x follows the command position X with a delay. As a result, at the timing when the carriage M4001 shifts to deceleration, a position error XE occurs. Therefore, at the deceleration start position, as shown in step 23, the position error XE is reset once, and the command position X (t) is assumed to be equal to the actual position x (t) of the carriage M4001 at this timing. Next, by dividing the error XE (t) by the cycle T and multiplying the quotient by the position control constant P, the speed control amount Vc (t) is obtained.
Is calculated (step 24). The speed control amount Vc (t) calculated by the position control processing unit 2 in this manner is
The processing by the speed control processing unit 3 is directly input to the motor control processing unit 4 without being performed. Then, a carriage motor driver E that drives the carriage motor E0001
It is converted into a signal suitable for input to 1008.

【0109】速度制御処理部3は、キャリッジM400
1の走査中の速度を制御する処理を行う。この処理はキ
ャリッジM4001の加速状態、あるいは定速状態にお
いて使用し、減速状態では使用しない。また、この処理
は公知のPID制御処理であり、指令速度と実際の速度
との誤差を基にして行う。
The speed control processing unit 3 includes a carriage M400
A process for controlling the speed during one scan is performed. This process is used when the carriage M4001 is in an accelerated state or a constant speed state, and is not used in a decelerated state. This process is a well-known PID control process, and is performed based on an error between the command speed and the actual speed.

【0110】図15は、速度制御処理部3の処理の流れ
を示したフローチャートである。
FIG. 15 is a flowchart showing the flow of the processing of the speed control processing section 3.

【0111】速度制御処理部3は加速状態及び定速状態
のときに実行される。上述の通り、位置制御処理部2で
求めた速度制御量Vc(t)は直接モータ制御処理部4
へ入力される。したがって、速度制御処理部3では、指
令速度V(t)を速度制御量とみなし以下の処理を実行
していく。
The speed control processing section 3 is executed in the acceleration state and the constant speed state. As described above, the speed control amount Vc (t) obtained by the position control processing unit 2 is directly applied to the motor control processing unit 4.
Is input to Therefore, the speed control processing unit 3 regards the command speed V (t) as a speed control amount and executes the following processing.

【0112】まず、指令速度V(t)から実際のキャリ
ッジM4001の速度v(t−1)を減算して、速度誤
差VE(t)を算出する(ステップ31)。なお、実際
のキャリッジM4001の速度v(t−1)は前回の処
理によりキャリッジモータE0001が駆動した結果で
ある。このようにして求めた速度誤差VE(t)に基づ
いて微分制御量vd(t),フィルタ制御量vf
(t)、積分制御量vi(t)を算出する。
First, a speed error VE (t) is calculated by subtracting the actual speed v (t-1) of the carriage M4001 from the command speed V (t) (step 31). The actual speed v (t-1) of the carriage M4001 is the result of driving the carriage motor E0001 in the previous process. The differential control amount vd (t) and the filter control amount vf are determined based on the speed error VE (t) thus obtained.
(T), the integral control amount vi (t) is calculated.

【0113】まず、ステップ31で求めた速度誤差VE
(t)と前回の処理で算出したVE(t−1)との差分
を求め、この差分に予め設定された微分制御定数Kdを
かけたものを微分制御量vd(t)とする(ステップ3
2)。つまり、微分制御量vd(t)は、速度誤差VE
(t)の時間変化に応じた量である。
First, the velocity error VE obtained in step 31
The difference between (t) and VE (t-1) calculated in the previous process is obtained, and the difference multiplied by a preset differential control constant Kd is used as the differential control amount vd (t) (step 3).
2). That is, the differential control amount vd (t) is equal to the speed error VE.
This is an amount corresponding to the time change of (t).

【0114】一方、ステップ31で求めた速度誤差VE
(t)と前回の処理で算出したvf(t−1)との差分
にフィルタ制御定数Kfをかけ、その結果に速度誤差V
E(t)を加算したものをフィルタ制御量vf(t)と
する(ステップ33)。このフィルタ制御量vf(t)
を用いてステップ34で積分制御量vi(t)を算出す
る。このように一旦フィルタ制御量vf(t)を求めて
おけば、予め設定されているフィルタ制御定数Kfの値
に応じて速度誤差VE(t)に反映される周波数成分を
変えることができる。例えば、速度制御処理部3での処
理を1msのタイミングで実行しているとすると、この
フィルタ処理を施さなければ、ステップ31で算出され
る速度誤差VE(t)には1kHZまでの変化が反映さ
れる。しかしながら、フィルタ処理を施していれば、反
映される周波数を1kHZ以下に設定できるようになっ
ている。
On the other hand, the speed error VE obtained in step 31
The difference between (t) and vf (t-1) calculated in the previous process is multiplied by the filter control constant Kf, and the result is used to calculate the speed error V
The value obtained by adding E (t) is set as a filter control amount vf (t) (step 33). This filter control amount vf (t)
Is used to calculate the integral control amount vi (t) in step 34. Thus, once the filter control amount vf (t) is obtained, the frequency component reflected on the speed error VE (t) can be changed according to the value of the preset filter control constant Kf. For example, assuming that the processing in the speed control processing unit 3 is executed at a timing of 1 ms, if this filter processing is not performed, a change up to 1 kHz is reflected in the speed error VE (t) calculated in step 31. Is done. However, if the filter processing is performed, the reflected frequency can be set to 1 kHz or less.

【0115】このようにして求めたフィルタ制御量vf
(t)と、前回の処理で算出したvf(t−1)とを加
算した後、予め設定された積分制御定数Kiをかけたも
のを積分制御量vi(t)とする(ステップ34)。つ
まり、積分制御量vi(t)はフィルタ制御量vf
(t)を処理タイミング毎に加算した値に積分制御定数
Kiをかけたものである。このようにして求めた微分制
御量vd(t)、フィルタ制御量vf(t)、積分制御
量vi(t)を加算し、その結果に予め設定された比例
制御定数をかけたものを速度制御量Vc(t)とし、こ
の値を出力する(ステップ35)。なお、ここで求めら
れた速度制御量Vc(t)は、キャリッジモータE00
01を駆動するためのキャリッジモータドライバE10
08に適した値とはなっていないので、モータ制御処理
4によってモータドライバE1008に適したモータ制
御量Mに変換される。そしてその結果に従って、キャリ
ッジM4001が駆動走査される。
The filter control amount vf thus obtained
After adding (t) and vf (t-1) calculated in the previous process, the integral control constant vi is multiplied by a preset integral control constant Ki (step 34). That is, the integral control amount vi (t) is equal to the filter control amount vf.
The value obtained by adding (t) for each processing timing is multiplied by the integral control constant Ki. The differential control amount vd (t), the filter control amount vf (t), and the integral control amount vi (t) obtained in this manner are added, and the result is multiplied by a preset proportional control constant to obtain speed control. The value is output as Vc (t) (step 35). It should be noted that the speed control amount Vc (t) obtained here is the same as the carriage motor E00
01 for driving the carriage motor 01
Since the value is not a value suitable for 08, it is converted into a motor control amount M suitable for the motor driver E1008 by the motor control processing 4. The carriage M4001 is driven and scanned according to the result.

【0116】このようにして、位置制御処理部2で位置
制御量xc(t)、速度制御処理部3で速度制御量Vc
(t)がそれぞれ求められ、それぞれがモータ制御処理
部4でモータ制御量Mに変換され、キャリッジM400
1を適切に走査するよう制御される。
Thus, the position control amount xc (t) in the position control processing unit 2 and the speed control amount Vc in the speed control processing unit 3
(T) are obtained, and each of them is converted into a motor control amount M by the motor control processing unit 4, and the carriage M400
1 is controlled to scan appropriately.

【0117】次に、記録動作全体の処理の流れを、これ
らのキャリッジ制御に注目して説明する。
Next, the flow of processing of the entire printing operation will be described focusing on these carriage controls.

【0118】図16は、記録動作の概略を示すフローチ
ャートである(なお、説明中登場する各部位は図1〜1
0及び図18を参照)。
FIG. 16 is a flow chart showing the outline of the recording operation.
0 and FIG. 18).

【0119】ホストコンピュータなどから記録開始指令
が外部I/Fを介して入力されると、キャリッジM40
01のイニシャル処理が必要かどうかを判断し(ステッ
プ401)、必要であればイニシャル処理を行う(ステ
ップ402)。なお、イニシャル処理が必要と判断され
る場合は、ホストコンピュータ等で記録媒体の種類、記
録品位などの記録条件の指定が前回の指定と異なる場合
や、記録に際して、記録媒体送りができないなどのエラ
ー状態が発生し、このエラー状態が解除された後での記
録の場合などである。これら以外の場合の初期化処理
は、図10中ステップ2で実行されたものとし、ステッ
プ402でのイニシャル処理は実行されない。ステップ
402のイニシャル処理は次のようにして行われる。ま
ず、CPUE1001がキャリッジM4001の現在位
置を処置の位置に設定し、さらにキャリッジM4001
の到達位置を設定する。例えば、ここで、キャリッジM
4001の現在位置はキャリッジM4001の移動可能
な最大の距離を超えた値に設定し、到達位置を0に設定
しているとする。この到達位置を設定した後、図12で
説明してきた一連のフィードバック制御が実行される
と、キャリッジM4001は回復系ユニットM5000
側へ駆動され、先に設定した到達位置に到達するまでの
間にシャーシM3019の回復系ユニットM5000側
の内側側面に接触し、キャリッジM4001の走査が阻
止される。キャリッジM4001の走査が阻止される
と、エンコーダセンサE0004により検出されるキャ
リッジM4001の位置が変化しないので、CPU E
1001はキャリッジM4001が停止状態であると判
断する。CPU E1001は処理タイミング毎にキャ
リッジM4001が停止状態であると認識すると、キャ
リッジM4001がシャーシ側面に接触していると判断
し、キャリッジM4001のホームポジション位置とし
て、この位置を設定する。この設定移行はキャリッジM
4001の走査に伴ってエンコーダセンサE0004と
エンコーダスケールE0005により検出される検出信
号によってキャリッジM4001の位置が検出される。
When a recording start command is input from a host computer or the like via an external I / F, the carriage M40
It is determined whether or not the initial processing of 01 is necessary (step 401), and if necessary, the initial processing is performed (step 402). If it is determined that the initial processing is necessary, an error such as a case where the specification of the recording conditions such as the type of the recording medium and the recording quality is different from the previous specification by the host computer or the like or that the recording medium cannot be fed at the time of recording. This is the case when recording occurs after a condition has occurred and this error condition has been cleared. In other cases, it is assumed that the initialization processing has been executed in step 2 in FIG. 10, and the initial processing in step 402 is not executed. The initial processing in step 402 is performed as follows. First, the CPUE1001 sets the current position of the carriage M4001 to the position of the treatment, and further sets the carriage M4001.
Set the arrival position of. For example, here, the carriage M
It is assumed that the current position of 4001 is set to a value exceeding the maximum movable distance of the carriage M4001, and the arrival position is set to 0. After the arrival position is set, when the series of feedback control described with reference to FIG. 12 is executed, the carriage M4001 is moved to the recovery unit M5000.
The carriage M4001 is driven to the side, contacts the inner side surface of the chassis M3019 on the recovery system unit M5000 side before reaching the previously set arrival position, and the scanning of the carriage M4001 is blocked. When the scanning of the carriage M4001 is stopped, the position of the carriage M4001 detected by the encoder sensor E0004 does not change.
1001 determines that the carriage M4001 is in a stopped state. When recognizing that the carriage M4001 is in a stopped state at each processing timing, the CPU E1001 determines that the carriage M4001 is in contact with the side of the chassis, and sets this position as the home position of the carriage M4001. This setting transition is performed on the carriage M
A position of the carriage M4001 is detected by a detection signal detected by the encoder sensor E0004 and the encoder scale E0005 in accordance with the scanning of the 4001.

【0120】このようにして、イニシャル処理が必要な
場合にはイニシャル処理を実行した後、キャリッジM4
001に搭載されている記録ヘッドH1001が回復系
ユニットM5000のキャップ(図示省略)で覆われて
いるキャッピング状態であるかどうかを判断する(ステ
ップ403)。もし、キャッピング状態であれば、PG
モータE0003を駆動し、キャップを記録ヘッドH1
001から離脱させるキャップオープン処理を行う(ス
テップ404)。
As described above, when the initial processing is required, the initial processing is executed, and then the carriage M4
It is determined whether or not the recording head H1001 mounted on the 001 is in a capping state covered with a cap (not shown) of the recovery system unit M5000 (step 403). If in the capping state, PG
The motor E0003 is driven, and the cap is moved to the recording head H1.
A cap open process for releasing from 001 is performed (step 404).

【0121】次に、予備吐出が必要であるかどうかを判
断する(ステップ405)。予備吐出が必要な場合は、
キャリッジM4001をプラテンM2001に設けられ
た予備吐出口M2001bもしくは回復系ユニットに設
けられた予備吐出口(図示省略)に移動させ、吐出口を
これら予備吐出口に対向させた状態でインクを吐出させ
る(ステップ406)。このときのキャリッジの駆動走
査処理も、図12で示したフィードバック制御にのっと
って行われる。なお、予備吐出口の選択は、吐出量など
に応じて使い分けられ、吐出するインクが多い場合はプ
ラテンM2001上の予備吐出口M2001bが選択さ
れる。
Next, it is determined whether or not preliminary ejection is necessary (step 405). If pre-dispensing is required,
The carriage M4001 is moved to a preliminary ejection port M2001b provided in the platen M2001 or a preliminary ejection port (not shown) provided in the recovery system unit, and ink is ejected in a state where the ejection ports face these preliminary ejection ports ( Step 406). The drive scanning process of the carriage at this time is also performed according to the feedback control shown in FIG. Note that the selection of the preliminary ejection port is properly used depending on the ejection amount or the like. When the amount of ink to be ejected is large, the preliminary ejection port M2001b on the platen M2001 is selected.

【0122】次に、記録装置内の搬送部M3029に用
紙があるかどうかの判断が行われる(ステップ40
7)。用紙があると判断された場合は手差しによる給紙
を行うと判断し(ステップ408)手差し給紙とする。
一方、用紙がないと判断された場合は、自動給送部M3
022により給紙がされると判断し、給紙動作を実行す
る(ステップ409)。まずPGモータE0003を駆
動して給紙ローラ(図示省略)を回転させ自動給送部M
3022から用紙を給紙し、用紙の先端が所定量給送さ
れ、ピンチローラM3014とLFローラM3001と
の接点にまで到達するとLFモータを駆動してLFロー
ラM3001を回転させる。そして、用紙が記録開始位
置に設定されているかどうかを判断し(ステップ41
0)、記録開始位置に到達していない場合は、再度ステ
ップ409へ戻って給紙動作を繰り返す。用紙が記録開
始位置に到達している場合は、CPU E1001がキ
ャリッジM4001の到達位置を設定する(ステップ4
11)。そして、図12に示したようなフィードバック
制御に基づいて、キャリッジM4001の駆動を開始す
る(ステップ412)。キャリッジM4001が記録開
始位置に到達すると、記録ヘッドH1001に記録信号
が送信され、この記録信号に従って吐出口よりインク滴
が吐出され記録が行われる。キャリッジM4001が到
達位置まで到達すると(ステップ413)、LFローラ
M3001を所定量回転させ、紙送りを実行する。紙送
り動作が完了したら(ステップ414)、記録データの
記録が終了するまでステップ411からの処理を繰り返
す。記録動作が終了したら(ステップ415)、排紙ト
レイM1004に記録が完了した用紙を排紙し(ステッ
プ416)、記録動作を終了する。
Next, it is determined whether or not there is a sheet in the transport unit M3029 in the recording apparatus (step 40).
7). If it is determined that there is paper, it is determined that manual paper feeding is to be performed (step 408).
On the other hand, if it is determined that there is no paper, the automatic feeding unit M3
In step 409, it is determined that the sheet is fed, and the sheet feeding operation is performed. First, the PG motor E0003 is driven to rotate a paper feed roller (not shown) to rotate the automatic feeding unit M
Paper is fed from 3022, and when the leading edge of the paper is fed by a predetermined amount and reaches the contact point between the pinch roller M3014 and the LF roller M3001, the LF motor is driven to rotate the LF roller M3001. Then, it is determined whether or not the sheet is set at the recording start position (step 41).
0) If it has not reached the recording start position, the process returns to step 409 to repeat the sheet feeding operation. If the paper has reached the recording start position, the CPU E1001 sets the arrival position of the carriage M4001 (step 4).
11). Then, the driving of the carriage M4001 is started based on the feedback control as shown in FIG. 12 (step 412). When the carriage M4001 reaches the recording start position, a recording signal is transmitted to the recording head H1001, and ink droplets are ejected from the ejection ports in accordance with the recording signal, and recording is performed. When the carriage M4001 reaches the arrival position (Step 413), the LF roller M3001 is rotated by a predetermined amount, and the paper is fed. When the paper feeding operation is completed (step 414), the processing from step 411 is repeated until the recording of the recording data is completed. When the recording operation is completed (Step 415), the recording-completed sheet is discharged to the discharge tray M1004 (Step 416), and the recording operation is completed.

【0123】以上のように、キャリッジM4001の実
際の速度や位置をエンコーダセンサ及びエンコーダスケ
ールを用いて検出し、その検出結果に基づいて制御を行
っているため、速度制御から位置制御へ制御が変化する
時点を正しく把握することができる。したがって、変化
点においても不安定な走査状態とはならない。
As described above, since the actual speed and position of the carriage M4001 are detected using the encoder sensor and the encoder scale, and the control is performed based on the detection result, the control changes from speed control to position control. You can know exactly when to do. Therefore, the scanning state is not unstable even at the changing point.

【0124】図17は、本実施形態のフィードバック制
御を適用した場合のキャリッジの速度と位置を示したグ
ラフである。このように、減速開始タイミングでのキャ
リッジの速度のふらつきを解消することができる。
FIG. 17 is a graph showing the speed and position of the carriage when the feedback control of this embodiment is applied. In this manner, the fluctuation of the carriage speed at the deceleration start timing can be eliminated.

【0125】このように、突発的にキャリッジの速度が
増大することがないので、減速状態で記録を行っても記
録品位の劣化がない。また、異音等も発生せず、スムー
ズな駆動を実現することができる。また、加速、定速状
態では速度制御処理を実行し、減速状態では位置制御処
理のみを実行することにより、安定的にキャリッジを走
査させることができる上、制御処理を実行するCPUの
負担を軽減することができる。
As described above, since the speed of the carriage does not suddenly increase, there is no deterioration in the recording quality even when recording is performed in a decelerated state. Further, smooth driving can be realized without generating abnormal noise or the like. In addition, by executing the speed control processing in the acceleration and constant speed states and executing only the position control processing in the deceleration state, the carriage can be stably scanned, and the burden on the CPU executing the control processing is reduced. can do.

【0126】なお、フィードバック制御処理の指令速
度、指令位置の算出処理、速度制御処理の方法について
は、本実施形態の方法に限定せず、他の様々な方法を適
用してもよい。また、位置制御処理開始時の位置誤差の
リセットに関しても、位置誤差を0にリセットするだけ
でなく、位置制御定数やその他の制御定数と組み合わせ
る等して、適切な値を設定してもよい。また、本実施形
態に示した指令速度は、一例であり、曲線的に加速し、
直線的に減速する設定に限定するものではない。
Note that the method of calculating the command speed and command position in the feedback control process and the method of the speed control process are not limited to the method of the present embodiment, and various other methods may be applied. Also, regarding the reset of the position error at the start of the position control process, an appropriate value may be set by not only resetting the position error to 0, but also combining it with a position control constant or another control constant. In addition, the command speed shown in the present embodiment is an example, and accelerates in a curved line.
The setting is not limited to the setting of linearly decelerating.

【0127】また、これまでの説明ではキャリッジに記
録ヘッドカートリッジH1000を装着し記録を行う場
合について行ったが、図6に記載のスキャナM6000
を装着した場合にも同様に用いられる事は言うまでもな
い。
In the description so far, a case has been described in which printing is performed by mounting the print head cartridge H1000 on the carriage. However, the scanner M6000 shown in FIG.
Needless to say, it is used in the same manner when the camera is mounted.

【0128】(その他)本発明は制御対象としてキャリ
ッジ及びキャリッジモータとしたが、これに限定するの
ではなく、速度制御処理と位置制御処理とを行う制御対
象であれば本発明は適用可能である。例えば、搬送装
置、あるいは加工装置に組み込まれるモータの制御に適
用してもよい。
(Others) In the present invention, the carriage and the carriage motor are used as control objects. However, the present invention is not limited to this. The present invention is applicable to any control object that performs speed control processing and position control processing. . For example, the present invention may be applied to control of a motor incorporated in a transport device or a processing device.

【0129】なお、上述した本発明が有効に用いられる
記録ヘッドの一形態は、電気熱変換体が発生する熱エネ
ルギーを利用して液体に膜沸騰を生じさせ、気泡を形成
する形態である。
One form of the recording head in which the present invention is effectively used is a form in which bubbles are formed in a liquid by using heat energy generated by an electrothermal converter to cause film boiling.

【0130】[0130]

【発明の効果】本発明を用いることにより、キャリッジ
が加速状態あるいは定速状態にあるときは、速度検出手
段により検出される速度と前記キャリッジが達成すべき
所定の指令速度との速度誤差を求め、該速度誤差に応じ
て前記駆動手段の駆動を制御し、キャリッジが減速状態
にあるときは、位置検出手段により検出される位置と前
記キャリッジが達成すべき所定の指令位置との位置誤差
を求め、該位置誤差に応じて前記駆動手段の駆動を制御
するとともに、加速、定速状態と、減速状態とが切り替
わる変化点においては、位置誤差を0にして制御を行う
ことで、記録装置のキャリッジ駆動のためのモータ制御
において、速度制御から位置制御へ制御が変化するタイ
ミングにおいて安定した制御を行うことができる。
According to the present invention, when the carriage is in an accelerating state or a constant speed state, a speed error between the speed detected by the speed detecting means and a predetermined command speed to be achieved by the carriage is obtained. Controlling the driving of the driving means in accordance with the speed error, and when the carriage is in a decelerating state, finds a position error between a position detected by the position detecting means and a predetermined command position to be achieved by the carriage. By controlling the driving of the driving means in accordance with the position error, and at the changing point where the acceleration, constant speed state, and deceleration state are switched, the position error is controlled to be 0, and the carriage of the printing apparatus is controlled. In motor control for driving, stable control can be performed at the timing when the control changes from speed control to position control.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施形態におけるインクジェットプリ
ンタの外観構成を示す斜視図である。
FIG. 1 is a perspective view illustrating an external configuration of an inkjet printer according to an embodiment of the present invention.

【図2】図1に示すものの外装部材を取り外した状態を
示す斜視図である。
FIG. 2 is a perspective view showing the state shown in FIG. 1 with an exterior member removed.

【図3】本発明の実施形態に用いる記録ヘッドカートリ
ッジを組立てた状態を示す斜視図である。
FIG. 3 is a perspective view showing a state in which the recording head cartridge used in the embodiment of the present invention is assembled.

【図4】図3に示す記録ヘッドカートリッジを示す分解
斜視図である。
FIG. 4 is an exploded perspective view showing the recording head cartridge shown in FIG.

【図5】図4に示した記録ヘッドを斜め下方から観た分
解斜視図である。
FIG. 5 is an exploded perspective view of the recording head shown in FIG. 4 as viewed obliquely from below.

【図6】本発明の実施形態におけるスキャナカートリッ
ジを示す斜視図である。
FIG. 6 is a perspective view showing a scanner cartridge according to the embodiment of the present invention.

【図7】本発明の実施形態における電気的回路の全体構
成を概略的に示すブロック図である。
FIG. 7 is a block diagram schematically showing an overall configuration of an electric circuit according to the embodiment of the present invention.

【図8】図7に示したメインPCBの内部構成を示すブ
ロック図である。
FIG. 8 is a block diagram showing an internal configuration of a main PCB shown in FIG.

【図9】図8に示したASICの内部構成を示すブロッ
ク図である。
FIG. 9 is a block diagram showing the internal configuration of the ASIC shown in FIG.

【図10】本発明の実施形態の動作を示すフローチャー
トである。
FIG. 10 is a flowchart showing the operation of the embodiment of the present invention.

【図11】時間に対するキャリッジの指令位置及び指令
速度を示すグラフ図である。
FIG. 11 is a graph showing a command position and a command speed of the carriage with respect to time.

【図12】本発明のフィードバック制御処理部を示すブ
ロック図である。
FIG. 12 is a block diagram illustrating a feedback control processing unit according to the present invention.

【図13】指令速度、指令位置の算出処理を示すフロー
チャートである。
FIG. 13 is a flowchart illustrating calculation processing of a command speed and a command position.

【図14】位置制御処理を示すフローチャートである。FIG. 14 is a flowchart illustrating a position control process.

【図15】速度制御処理を示すフローチャートである。FIG. 15 is a flowchart illustrating a speed control process.

【図16】記録動作の流れを示すフローチャートであ
る。
FIG. 16 is a flowchart showing the flow of a recording operation.

【図17】本発明を適用した場合の実際の速度、位置及
び指令速度、指令位置を示すグラフ図である。
FIG. 17 is a graph showing actual speed, position, command speed, and command position when the present invention is applied.

【図18】ピンチローラ等を示す斜視図である。FIG. 18 is a perspective view showing a pinch roller and the like.

【図19】従来の記録装置における実際の速度、位置及
び指令速度、指令位置を示すグラフ図である。
FIG. 19 is a graph showing actual speed, position, command speed, and command position in a conventional recording apparatus.

【符号の説明】[Explanation of symbols]

M1000 装置本体 M2003 排紙ローラ M3001 LFローラ M3019 シャーシ M3022 自動給送部 M3029 搬送部 M3030 排出部 M4001 キャリッジ M4002 キャリッジカバー M4007 ヘッドセットレバー M4021 キャリッジ軸 M5000 回復系ユニット M6000 スキャナ E0001 キャリッジモータ E0004 エンコーダセンサ E0005 エンコーダスケール E0006 インクエンドセンサ E0011 コンタクトFPC(フレキシフ゛ルフ゜リントケーフ゛ル) E0012 CRFFC(フレキシフ゛ルフラットケーフ゛ル) E0013 キャリッジ基板 E0014 メイン基板 E1001 CPU E1002 OSC(CPU内蔵オシレータ) E1003 A/D(CPU内蔵A/Dコンバータ) E1004 ROM E1005 発振回路 E1006 ASIC E1007 リセット回路 E1008 CRモータドライバ E1009 LF/PGモータドライバ E1010 電源制御回路 E2004 DRAM制御部 E2005 DRAM E2019 エンコーダ信号処理部 1 指令値算出処理部 2 位置制御処理部 3 速度制御処理部 4 モータ制御処理部 M1000 Device main body M2003 Discharge roller M3001 LF roller M3019 Chassis M3022 Automatic feeding unit M3029 Conveying unit M3030 Discharge unit M4001 Carriage M4002 Carriage cover M4007 Headset lever M4021 Carriage shaft M5000 Recovery system unit M6000 Scanner E0004 Encoder Scanner E0004 Encoder encoder E0006 Ink end sensor E0011 Contact FPC (flexible flexible cable) E0012 CRFFC (flexible flat cable) E0013 Carriage board E0014 Main board E1001 CPU E1002 OSC (Oscillator with built-in CPU) E1003 A / D (A / D converter with built-in CPU) E1004 ROM E1005 Oscillation circuit E1006 ASIC E1007 Reset circuit E1008 CR motor driver E1009 LF / PG motor driver E1010 Power supply control circuit E2004 DRAM control unit E2005 DRAM E2019 Encoder signal processing unit 1 Command value calculation processing unit 2 Position control processing unit 3 Speed Control processing unit 4 Motor control processing unit

フロントページの続き Fターム(参考) 2C062 KA03 2C480 CA01 CA31 CA33 CB02 EA02 EA05 EA06 EA08 EA12 EA14 EC06 EC14 5H550 AA10 AA15 BB05 BB08 DD01 FF04 GG01 GG03 JJ03 JJ17 JJ22 JJ23 JJ26 LL07 Continued on the front page F term (reference) 2C062 KA03 2C480 CA01 CA31 CA33 CB02 EA02 EA05 EA06 EA08 EA12 EA14 EC06 EC14 5H550 AA10 AA15 BB05 BB08 DD01 FF04 GG01 GG03 JJ03 JJ17 JJ22 JJ23 JJ26 LL07

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 モータの稼動または該モータに接続され
た制御対象の稼動を制御するモータ制御装置において、 前記モータまたは前記制御対象の速度を検出する速度検
出手段と、 前記制御対象の位置を検出する位置検出手段と、 前記速度検出手段により検出される速度と前記モータま
たは前記制御対象が達成すべき所定の指令速度との速度
誤差を求め、該速度誤差に応じて前記モータの駆動を制
御する速度制御手段と、 前記位置検出手段により検出される位置と前記制御対象
が達成すべき所定の指令位置との位置誤差を求め、該位
置誤差に応じて前記モータの駆動を制御する位置制御手
段とを具え、 所定のタイミングにおいて、前記位置制御手段は、算出
した前記位置誤差を変更して前記モータの駆動を制御す
ることを特徴とするモータ制御装置。
1. A motor control device for controlling the operation of a motor or the operation of a control target connected to the motor, a speed detection unit detecting a speed of the motor or the control target, and detecting a position of the control target. Determining a speed error between a speed detected by the speed detecting device and a predetermined command speed to be achieved by the motor or the controlled object, and controlling the driving of the motor according to the speed error Speed control means, a position control means for obtaining a position error between a position detected by the position detection means and a predetermined command position to be achieved by the control target, and controlling the driving of the motor according to the position error; At a predetermined timing, the position control means controls the driving of the motor by changing the calculated position error. Apparatus.
【請求項2】 前記モータまたは前記制御対象の速度が
加速状態にあるとき、または定速状態にあるときは、前
記速度制御手段を実行し、前記モータまたは前記制御対
象の速度が減速状態にあるときは、前記位置制御手段を
実行し、さらに、前記所定のタイミングは前記速度制御
手段の実行と前記位置制御手段の実行とが切り替わるタ
イミングであることを特徴とする請求項1に記載のモー
タ制御装置。
2. When the speed of the motor or the control target is in an acceleration state or in a constant speed state, the speed control unit is executed, and the speed of the motor or the control target is in a deceleration state. 2. The motor control according to claim 1, wherein the position control unit is executed, and the predetermined timing is a timing at which the execution of the speed control unit and the execution of the position control unit are switched. apparatus.
【請求項3】 前記位置制御手段は、前記所定のタイミ
ングにおいて、前記位置誤差の値を0とすることを特徴
とする請求項1または2に記載のモータ制御装置。
3. The motor control device according to claim 1, wherein the position control unit sets the value of the position error to 0 at the predetermined timing.
【請求項4】 モータの稼動または該モータに接続され
た制御対象の稼動を制御するモータ制御方法において、 前記モータまたは前記制御対象の速度を検出する速度検
出ステップと、 前記制御対象の位置を検出する位置検出ステップと、 前記速度検出ステップにより検出される速度と前記モー
タまたは前記制御対象が達成すべき所定の指令速度との
速度誤差を求め、該速度誤差に応じて前記モータの駆動
を制御する速度制御ステップと、 前記位置検出ステップにより検出される位置と前記制御
対象が達成すべき所定の指令位置との位置誤差を求め、
該位置誤差に応じて前記モータの駆動を制御する位置制
御ステップとを具え、 所定のタイミングにおいて、前記位置制御ステップは、
算出した前記位置誤差を変更して前記モータの駆動を制
御することを特徴とするモータ制御方法。
4. A motor control method for controlling the operation of a motor or the operation of a control object connected to the motor, a speed detection step of detecting a speed of the motor or the control object, and detecting a position of the control object. Determining a speed error between the speed detected by the speed detecting step and a predetermined command speed to be achieved by the motor or the control target, and controlling the driving of the motor according to the speed error. Speed control step, to determine the position error between the position detected by the position detection step and a predetermined command position to be achieved by the control target,
And a position control step of controlling the driving of the motor in accordance with the position error. At a predetermined timing, the position control step includes:
A motor control method, wherein the drive of the motor is controlled by changing the calculated position error.
【請求項5】 前記モータまたは前記制御対象の速度が
加速状態にあるとき、または定速状態にあるときは、前
記速度制御ステップを実行し、前記モータまたは前記制
御対象の速度が減速状態にあるときは、前記位置制御ス
テップを実行し、さらに、前記所定のタイミングは前記
速度制御ステップの実行と前記位置制御ステップの実行
とが切り替わるタイミングであることを特徴とする請求
項4に記載のモータ制御方法。
5. When the speed of the motor or the controlled object is in an accelerating state or in a constant speed state, the speed control step is executed, and the speed of the motor or the controlled object is in a decelerating state. 5. The motor control according to claim 4, wherein the position control step is executed, and the predetermined timing is a timing at which the execution of the speed control step and the execution of the position control step are switched. Method.
【請求項6】 前記位置制御ステップは、前記所定のタ
イミングにおいてのみ、前記位置誤差の値を0とするこ
とを特徴とする請求項4または5に記載のモータ制御方
法。
6. The motor control method according to claim 4, wherein the position control step sets the value of the position error to 0 only at the predetermined timing.
【請求項7】 記録ヘッドを搭載したキャリッジを、キ
ャリッジの駆動手段を駆動させることにより、記録媒体
に対向して複数回走査させ、この走査に伴って記録を行
う記録装置において、 前記キャリッジの速度を検出する速度検出手段と、 前記キャリッジの位置を検出する位置検出手段と、 前記速度検出手段により検出される速度と前記キャリッ
ジが達成すべき所定の指令速度との速度誤差を求め、該
速度誤差に応じて前記駆動手段の駆動を制御する速度制
御手段と、 前記位置検出手段により検出される位置と前記キャリッ
ジが達成すべき所定の指令位置との位置誤差を求め、該
位置誤差に応じて前記駆動手段の駆動を制御する位置制
御手段とを具え、 所定のタイミングにおいて、前記位置制御手段は、算出
した前記位置誤差を変更して前記駆動手段の駆動を制御
することを特徴とする記録装置。
7. A printing apparatus in which a carriage on which a print head is mounted is scanned a plurality of times by facing a print medium by driving a drive unit of the carriage, and printing is performed in accordance with the scanning. Speed detection means for detecting the position of the carriage, a position detection means for detecting the position of the carriage, a speed error between the speed detected by the speed detection means and a predetermined command speed to be achieved by the carriage, the speed error Speed control means for controlling the driving of the driving means in accordance with the position error, and a position error between a position detected by the position detection means and a predetermined command position to be achieved by the carriage is determined. Position control means for controlling the driving of the driving means, wherein at a predetermined timing, the position control means changes the calculated position error Recording apparatus characterized by controlling the driving of the serial drive means.
【請求項8】 前記キャリッジの速度が加速状態にある
とき、または定速状態にあるときは、前記速度制御手段
を実行し、前記キャリッジの速度が減速状態にあるとき
は、前記位置制御手段を実行し、さらに、前記所定のタ
イミングは前記速度制御手段の実行と前記位置制御手段
の実行とが切り替わるタイミングであることを特徴とす
る請求項7に記載の記録装置。
8. When the speed of the carriage is in an accelerating state or in a constant speed state, the speed control means is executed. When the speed of the carriage is in a decelerating state, the position control means is controlled. The recording apparatus according to claim 7, wherein the predetermined timing is a timing at which the execution of the speed control unit and the execution of the position control unit are switched.
【請求項9】 前記位置制御手段は、前記所定のタイミ
ングにおいて、前記位置誤差の値を0とすることを特徴
とする請求項7または8に記載の記録装置。
9. The recording apparatus according to claim 7, wherein the position control unit sets the value of the position error to 0 at the predetermined timing.
【請求項10】 記録ヘッドを搭載したキャリッジを、
キャリッジの駆動手段を駆動させることにより、記録媒
体に対向して複数回走査させ、この走査に伴って記録を
行う記録装置を用いた記録方法において、 前記キャリッジの速度を検出する速度検出ステップと、 前記キャリッジの位置を検出する位置検出ステップと、 前記速度検出ステップにより検出される速度と前記キャ
リッジが達成すべき所定の指令速度との速度誤差を求
め、該速度誤差に応じて前記駆動手段の駆動を制御する
速度制御ステップと、 前記位置検出ステップにより検出される位置と前記キャ
リッジが達成すべき所定の指令位置との位置誤差を求
め、該位置誤差に応じて前記駆動手段の駆動を制御する
位置制御ステップとを具え、 所定のタイミングにおいて、前記位置制御ステップは、
算出した前記位置誤差を変更して前記駆動ステップの駆
動を制御することを特徴とする記録方法。
10. A carriage on which a recording head is mounted,
In a printing method using a printing apparatus that performs scanning a plurality of times facing a printing medium by driving a driving unit of a carriage and performs printing in accordance with the scanning, a speed detection step of detecting a speed of the carriage; A position detecting step of detecting the position of the carriage; obtaining a speed error between a speed detected by the speed detecting step and a predetermined command speed to be achieved by the carriage; and driving the driving unit in accordance with the speed error. A speed control step of controlling the position of the carriage, calculating a position error between a position detected by the position detection step and a predetermined command position to be achieved by the carriage, and controlling the driving of the driving means according to the position error. At a predetermined timing, the position control step includes:
A recording method, wherein the driving in the driving step is controlled by changing the calculated position error.
【請求項11】 前記キャリッジの速度が加速状態にあ
るとき、または定速状態にあるときは、前記速度制御ス
テップを実行し、前記キャリッジの速度が減速状態にあ
るときは、前記位置制御ステップを実行し、さらに、前
記所定のタイミングは前記速度制御ステップの実行と前
記位置制御ステップの実行とが切り替わるタイミングで
あることを特徴とする請求項10に記載の記録方法。
11. When the speed of the carriage is in an accelerating state or in a constant speed state, the speed control step is executed. When the speed of the carriage is in a decelerating state, the position control step is executed. 11. The recording method according to claim 10, wherein the predetermined timing is a timing at which the execution of the speed control step and the execution of the position control step are switched.
【請求項12】 前記位置制御ステップは、前記所定の
タイミングにおいてのみ、前記位置誤差の値を0とする
ことを特徴とする請求項10または11に記載の記録方
法。
12. The recording method according to claim 10, wherein the position control step sets the value of the position error to 0 only at the predetermined timing.
JP23650399A 1999-08-24 1999-08-24 Motor control device, motor control method, recording device, and recording method Pending JP2001063168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23650399A JP2001063168A (en) 1999-08-24 1999-08-24 Motor control device, motor control method, recording device, and recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23650399A JP2001063168A (en) 1999-08-24 1999-08-24 Motor control device, motor control method, recording device, and recording method

Publications (1)

Publication Number Publication Date
JP2001063168A true JP2001063168A (en) 2001-03-13

Family

ID=17001702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23650399A Pending JP2001063168A (en) 1999-08-24 1999-08-24 Motor control device, motor control method, recording device, and recording method

Country Status (1)

Country Link
JP (1) JP2001063168A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6822411B2 (en) 2001-10-01 2004-11-23 Canon Kabushiki Kaisha Method and apparatus for controlling motors
US7642739B2 (en) 2004-02-26 2010-01-05 Brother Kogyo Kabushiki Kaisha Device and method for controlling motor
JP2010110080A (en) * 2008-10-29 2010-05-13 Okuma Corp Motor control apparatus
US8287088B2 (en) 2008-11-19 2012-10-16 Brother Kogyo Kabushiki Kaisha Image forming apparatus
US10955788B1 (en) 2019-08-26 2021-03-23 Toshiba Tec Kabushiki Kaisha Image forming apparatus having motor controller, paper conveyance method, and non-transitory computer readable medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6822411B2 (en) 2001-10-01 2004-11-23 Canon Kabushiki Kaisha Method and apparatus for controlling motors
US7642739B2 (en) 2004-02-26 2010-01-05 Brother Kogyo Kabushiki Kaisha Device and method for controlling motor
JP2010110080A (en) * 2008-10-29 2010-05-13 Okuma Corp Motor control apparatus
US8287088B2 (en) 2008-11-19 2012-10-16 Brother Kogyo Kabushiki Kaisha Image forming apparatus
US10955788B1 (en) 2019-08-26 2021-03-23 Toshiba Tec Kabushiki Kaisha Image forming apparatus having motor controller, paper conveyance method, and non-transitory computer readable medium
US11372360B2 (en) 2019-08-26 2022-06-28 Toshiba Tec Kabushiki Kaisha Image forming apparatus, paper conveyance method, and non-transitory computer readable medium using both speed and position control

Similar Documents

Publication Publication Date Title
EP1184178B1 (en) Printhead and printing apparatus using the same
EP1172211B1 (en) Printhead, head cartridge, printing apparatus, and printhead element substrate
EP1078750B1 (en) Printing apparatus, control method of the apparatus, and computer-readable memory
JP2003127353A (en) Inkjet recording device
JP2002292910A (en) Ink jet recording apparatus and ink jet recording method
JP2001063079A (en) Liquid storage container, liquid discharge mechanism and liquid discharge device
EP1078752B1 (en) Printhead and printing apparatus using the same
JP2002036514A (en) Ink jet recording method and apparatus
JP3833014B2 (en) Recording apparatus and recording method
JP2001071465A (en) Recording device and control method thereof, computer readable memory
JP2001063168A (en) Motor control device, motor control method, recording device, and recording method
JP2001067304A (en) Multifunctional device and method for identifying mounted device in the device
JP3658297B2 (en) Recording head and recording apparatus using the recording head
JP2002067291A (en) Recording apparatus and recording head recovery method
JP2002023853A (en) Motor control method and recording apparatus using the control method
JP2001063080A (en) Protective member for recording head, recording head having the protective member, and recording apparatus provided with the recording head
JP2003211769A (en) Recording apparatus and method for detecting error state in recording apparatus
JP4154193B2 (en) Inkjet recording apparatus and inkjet recording method
JP2001058417A (en) Ink tank, recording head cartridge, and ink jet recording apparatus
JP3513435B2 (en) PRINT HEAD, PRINTING DEVICE USING PRINT HEAD, AND PRINT HEAD CONTROL METHOD
JP2002307770A (en) Drive control device for control target, drive control method therefor, image recording device and control method therefor
JP4136484B2 (en) Motor control device and control method
JP2002067322A (en) Printing head, printing apparatus, and data transfer method in printing head
JP4669531B2 (en) Inkjet recording method and inkjet recording apparatus
JP2002172782A (en) Recording head and recording apparatus using the recording head