JP2815968B2 - Recording device - Google Patents

Recording device

Info

Publication number
JP2815968B2
JP2815968B2 JP2097594A JP9759490A JP2815968B2 JP 2815968 B2 JP2815968 B2 JP 2815968B2 JP 2097594 A JP2097594 A JP 2097594A JP 9759490 A JP9759490 A JP 9759490A JP 2815968 B2 JP2815968 B2 JP 2815968B2
Authority
JP
Japan
Prior art keywords
recording
encoder
signal
motor
timer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2097594A
Other languages
Japanese (ja)
Other versions
JPH03296621A (en
Inventor
義明 冠木
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 JP2097594A priority Critical patent/JP2815968B2/en
Publication of JPH03296621A publication Critical patent/JPH03296621A/en
Application granted granted Critical
Publication of JP2815968B2 publication Critical patent/JP2815968B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Recording Measured Values (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はプラテンに沿って左右に往復動するキャリッ
ジ上に記録ヘッドを搭載し、該記録ヘッドでライン方向
に走査しながらキャリッジモータに取り付けられたエン
コーダ、またはライン方向に配置されたリニアエンコー
ダの出力信号をトリガー源として記録を行なうシリアル
式記録装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention mounts a printhead on a carriage that reciprocates left and right along a platen, and is attached to a carriage motor while scanning in the line direction with the printhead. The present invention relates to a serial recording apparatus that performs recording using an output signal of an encoder or a linear encoder arranged in a line direction as a trigger source.

[従来の技術] 記録装置の走査方式には、シリアル式、ラインプリン
ト式、ページプリント式などがあるが、そのうちシリア
ル式は、プラテンに沿って左右に往復動するキャリッジ
上にヘッドを搭載し、該ヘッドでライン方向に走査しな
がら記録していくものである。
[Prior art] Scanning methods of a recording apparatus include a serial type, a line print type, a page print type, and the like. Among them, the serial type mounts a head on a carriage that reciprocates right and left along a platen, The recording is performed while the head scans in the line direction.

シリアル式記録装置のキャリッジ駆動源としてはDCモ
ータ、ステップモータ等が利用されるが、該モータ軸に
ロータリエンコーダを取り付け、その出力信号により記
録位置を決定する方法が一般的に多く用いられている。
As a carriage driving source of the serial type recording apparatus, a DC motor, a step motor, or the like is used, and a method of attaching a rotary encoder to the motor shaft and determining a recording position based on an output signal thereof is generally widely used. .

エンコーダは、第8図に示すように周囲に等間隔に切
ったスリット(交互に光を通す部分としゃ断する部分が
ある)を有する円形の薄板にホトダイオード、ホトトラ
ンジスタ等により構成された光センサモジュールを配置
したもので、これをモータシャフトに直結させることに
よりキャリッジモータの回転、つまりキャリッジの移動
と共に第9図に示すような2相出力信号(位相差90度)
を発生させるものである。従来、この信号のどちらか1
相の立上りごと、又は立上り、立下り両エッジをトリガ
ーとして記録動作を行なう方法がとられていた。他の90
度位相の異なった信号は、キャリッジモータの回転方向
を特定するために利用される。
As shown in FIG. 8, the encoder is a photosensor module comprising a photodiode, a phototransistor, and the like formed on a circular thin plate having slits cut at equal intervals around the periphery (there are portions that alternately pass light and cut off). A two-phase output signal (phase difference of 90 degrees) as shown in FIG. 9 together with the rotation of the carriage motor, that is, the movement of the carriage, is connected directly to the motor shaft.
Is generated. Conventionally, either one of these signals
A method of performing a recording operation at each rising edge of a phase or by using both rising and falling edges as triggers has been adopted. Other 90
The signals having different degrees are used to specify the rotation direction of the carriage motor.

[発明が解決しようとする課題] 上述した従来の記録装置は、エンコーダ出力信号の1
相の立上り(立下り)のみを記録動作のトリガーとした
場合、記録密度の高い記録装置の場合には、円形薄板又
はリニアエンコーダのスリット数を増加させなければな
らず、加工技術上不可能かあるいは実現できても大幅な
コストアップにつながるという欠点がある。また、スリ
ット数の増加を避けるために立上り、立下りの両エッジ
を使用した場合、エンコーダの取り付け等の誤差によ
り、信号の“H"レベルと“L"レベルのデューティが50%
にならず、立上り(立下り)同士の精度は高いが、立下
り(立上り)の精度が低いために、記録精度が大幅に低
下するという欠点もある。
[Problem to be Solved by the Invention] The conventional recording apparatus described above uses one of the encoder output signals.
When only the rising (falling) of a phase is used as a trigger of the recording operation, in the case of a recording device having a high recording density, the number of slits of a circular thin plate or a linear encoder must be increased. Alternatively, even if it can be realized, there is a disadvantage that the cost is greatly increased. Also, if both rising and falling edges are used to avoid an increase in the number of slits, the duty of the "H" level and "L" level of the signal will be 50% due to errors such as encoder mounting.
However, the accuracy between the rising edges (falling edges) is high, but the accuracy of the falling edges (rising edges) is low, so that there is a disadvantage that the recording accuracy is greatly reduced.

本発明は上記欠点のない記録装置を提供することを目
的とする。
An object of the present invention is to provide a recording apparatus free from the above-mentioned disadvantages.

[課題を解決するための手段] 本発明の記録装置は、記録ヘッドを搭載したキャリッ
ジを左右に往復移動させるための駆動モータと、該駆動
モータに取り付けられまたはライン方向に配置されたエ
ンコーダと、該エンコーダの出力信号の論理レベルの変
化に基づいて、記録ヘッドによる記録を可能にするため
の記録タイミング信号を所定の周期で出力する出力手段
とを有するシリアル式の記録装置において、 前記記録タイミング信号を前記エンコーダの出力信号
の論理レベルの変化から前記所定周期より短い所定の時
間だけずらして形成する形成手段と、該形成手段によっ
て出力される記録タイミング信号の周期を等分する位置
に、記録密度を高めるために該記録タイミング信号を補
間して出力する補間手段とを有する。
[Means for Solving the Problems] A recording apparatus of the present invention includes a drive motor for reciprocating a carriage on which a print head is mounted left and right, an encoder attached to the drive motor or arranged in a line direction, An output unit for outputting a recording timing signal for enabling recording by a recording head at a predetermined cycle based on a change in a logical level of an output signal of the encoder, wherein the recording timing signal Means for shifting the recording level by a predetermined time shorter than the predetermined cycle from a change in the logic level of the output signal of the encoder; and a recording density at a position which equally divides the cycle of the recording timing signal output by the forming means. Interpolating means for interpolating and outputting the recording timing signal in order to increase the recording timing signal.

[作用] エンコーダの出力信号の論理レベルの変化に対応して
周期的に出力される記録タイミング信号を、1周期より
短い所定の時間だけずらして形成するとともに、記録タ
イミング信号の周期を等分する位置に出力されるように
形成する。
[Operation] A recording timing signal periodically output in response to a change in the logic level of the output signal of the encoder is formed shifted by a predetermined time shorter than one period, and the period of the recording timing signal is equally divided. It is formed so as to be output to the position.

[実施例] 次に、本発明の実施例について図面を参照して説明す
る。
Example Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の記録装置の一実施例の全体を示す斜
視図、第2図は第1図の実施例の制御回路を示すブロッ
ク図である。
FIG. 1 is a perspective view showing the whole of an embodiment of the recording apparatus of the present invention, and FIG. 2 is a block diagram showing a control circuit of the embodiment of FIG.

記録ヘッド1が搭載されたキャリッジ2は、ガイド軸
3,4により摺動可能に支持されており、タイミングベル
ト8に係合して記録行方向に往復運動しながら記録ヘッ
ド1による記録を行なう。そして、プーリ6,7に係合し
ているタイミングベルト8はプーリ7を介してキャリッ
ジモータ5によって駆動される。キャリッジモータ5の
軸にはロータリエンコーダが直結されている。記録紙9
はペーパーパン10によってガイドされ、図示しない紙送
りローラにピンチローラで圧接されて搬送される。この
搬送は紙送りモータ14を駆動源として行なわれる。搬送
された記録紙9は、排紙ローラ12と拍車13とによりテン
ションを加えられて排紙される。
The carriage 2 on which the recording head 1 is mounted has a guide shaft
The recording head 1 is slidably supported by the recording heads 3 and 4 while engaging with the timing belt 8 and reciprocating in the recording row direction. The timing belt 8 engaged with the pulleys 6, 7 is driven by the carriage motor 5 via the pulley 7. A rotary encoder is directly connected to the shaft of the carriage motor 5. Recording paper 9
Is guided by a paper pan 10 and conveyed by being pressed against a paper feed roller (not shown) by a pinch roller. This conveyance is performed using the paper feed motor 14 as a drive source. The transported recording paper 9 is discharged under tension by the paper discharge roller 12 and the spur 13.

次に第1図の実施例の制御回路について第2図を参照
して説明する。
Next, the control circuit of the embodiment shown in FIG. 1 will be described with reference to FIG.

本実施例において、キャリッジモータ5としてDCモー
タを用い、モータの制御方法はキャリッジモータの軸に
直結したロータリエンコーダ35の出力信号を利用した完
全ソフトウエアサーボシステムとした。
In this embodiment, a DC motor is used as the carriage motor 5, and the motor control method is a complete software servo system using the output signal of the rotary encoder 35 directly connected to the axis of the carriage motor.

中央処理装置21(以降CPU21と記す)はマイクロプロ
セッサなどの素子から構成され、記録装置全体の動作を
制御する。記録すべきデータおよび記録装置の動作を制
御するコマンドは、パラレルインターフェースまたはシ
リアルインターフェースなどの公知のインターフェース
から構成される記録データ受信部22を介して、コンピュ
ータシステムなどのホスト装置20からCPU21に転送され
る。転送されたデータに基づいてCPU21はヘッド制御部2
3およびヘッド駆動部24を介して記録ヘッド1を制御す
る。ヘッドの駆動パルスはタイマ25を用いることによっ
て所定値に制御される。
The central processing unit 21 (hereinafter, referred to as CPU 21) is composed of elements such as a microprocessor and controls the operation of the entire recording apparatus. The data to be recorded and the command for controlling the operation of the recording device are transferred from a host device 20 such as a computer system to the CPU 21 via a recording data receiving unit 22 composed of a known interface such as a parallel interface or a serial interface. You. The CPU 21 controls the head control unit 2 based on the transferred data.
The print head 1 is controlled via the control unit 3 and the head drive unit 24. The drive pulse of the head is controlled to a predetermined value by using the timer 25.

ホスト装置20から転送される記録データが文字、記号
の場合には、データは文字コードの形で転送されるた
め、ドットマトリックス方式の記録ヘッドで記録できる
ように記録装置側でビットイメージデータに変換され
る。この変換のためにキャラクタジェネレータROM(CGR
OM)26が設けられている。またCPU21が処理すべき制御
プログラムは、コントロールROM27に格納されている。
さらに転送された記録データのバッファエリアないしCP
U21のワークエリアとして用いるためにRAM28が設けられ
ている。
If the recording data transmitted from the host device 20 is characters or symbols, the data is transmitted in the form of character codes, so that the recording device converts it to bit image data so that it can be recorded with a dot matrix type recording head. Is done. The character generator ROM (CGR
OM) 26 is provided. A control program to be processed by the CPU 21 is stored in the control ROM 27.
Further, the buffer area or CP for the transferred recording data
A RAM 28 is provided for use as a work area for U21.

その他各種スイッチ、センサーなどの外部入力装置30
からの入力の検出用には入力ポート29が、紙送りモー
タ、表示器などの外部出力装置32に制御信号を出力する
ためには出力ポート31がそれぞれ設けられている。
External input device 30 such as various switches and sensors
An input port 29 is provided for detecting an input from the printer, and an output port 31 is provided for outputting a control signal to an external output device 32 such as a paper feed motor or a display.

次に、キャリッジモータ5の制御方法について説明す
る。
Next, a method of controlling the carriage motor 5 will be described.

キャリッジモータ5として用いられているDCモータ
は、供給された電流に比例するトルクを発生し、モータ
電流は外部からモータに印加された電圧から回転数に比
例して発生した逆起電圧を差し引いた実効電圧に比例す
る。つまりDCモータは、電圧を与えれば回転し始める
が、その回転数は負荷によって異なるので、モータの回
転角度を検出してフィードバックすることにより、モー
タに供給する電流又は電圧を制御する必要があり、本実
施例ではパルス幅変調(PWM)を利用し完全ソフトウエ
アサーボを採用している。パルス幅変調とは、モータに
印加される電圧をトランジスタ等のスイッチ素子により
高速に切り替えて、ある一定周期(通常は20kHz以上)
間のオンとオフの時間の割合によりモータ電流を調整す
る方式である。このスイッチングによりモータに発生す
るトルクにはむらが生じるが、モータの回転子や負荷に
はイナーシャが存在するため回転むらは瞬時に平均化さ
れて吸収され、モータ出力として得られるトルクはほぼ
一定となる。
The DC motor used as the carriage motor 5 generates a torque proportional to the supplied current, and the motor current is obtained by subtracting the back electromotive voltage generated in proportion to the rotation speed from the voltage applied to the motor from the outside. It is proportional to the effective voltage. In other words, the DC motor starts rotating when a voltage is applied, but the number of rotations varies depending on the load.Therefore, it is necessary to control the current or voltage supplied to the motor by detecting the motor rotation angle and feeding it back. In the present embodiment, a complete software servo is employed using pulse width modulation (PWM). Pulse width modulation is a method in which the voltage applied to the motor is switched at high speed by a switching element such as a transistor, and a certain period (usually 20 kHz or more)
In this method, the motor current is adjusted according to the ratio of the on and off times between the two. This switching causes uneven torque in the motor, but the inertia exists in the rotor and load of the motor, so the uneven rotation is instantaneously averaged and absorbed, and the torque obtained as the motor output is almost constant. Become.

第2図において、キャリッジモータ5の駆動は、PWM
波によりモータドライバ34をスイッチングすることによ
り行ない、フィードバック制御におけるキャリッジモー
タ5への制御パラメータとしてPWM波のデューティ比を
公知のPWMジェネレータ33に与えることにより実現され
る。キャリッジモータ5の回転軸には、ロータリエンコ
ーダ35が直結されており、モータの回転に伴ない第9図
に示すような信号を出力する。信号は2チャンネルあ
り、位相は90度ずれている。この2チャンネルの信号を
A相、B相と名づけると、モータが正転しているときに
は、A相が“L"の状態でB相が“L"→“H"に立上り、モ
ータが逆転しているときにはA相が“L"の状態でB相が
“H"→“L"に立下る。これによりキャリッジモータ5の
回転方向を特定でき、この信号をアップ・ダウンカウン
タ36でカウントすることにより、モータの回転角、つま
り記録ヘッド1の位置が検出できる。
In FIG. 2, the driving of the carriage motor 5 is performed by PWM.
The switching is performed by switching the motor driver 34 by a wave, and is realized by giving a duty ratio of a PWM wave to a known PWM generator 33 as a control parameter for the carriage motor 5 in feedback control. A rotary encoder 35 is directly connected to the rotation shaft of the carriage motor 5, and outputs a signal as shown in FIG. 9 as the motor rotates. The signal has two channels and is 90 degrees out of phase. If these two-channel signals are named A-phase and B-phase, when the motor is rotating forward, the B-phase rises from “L” to “H” while the A-phase is “L”, and the motor rotates in the reverse direction. In this case, the B phase falls from “H” to “L” while the A phase is “L”. Thus, the rotation direction of the carriage motor 5 can be specified, and by counting this signal with the up / down counter 36, the rotation angle of the motor, that is, the position of the recording head 1, can be detected.

以上の構成により、与えられた位置、速度等の目標値
に対して、サーボ系の慣性により決定される時間間隔ご
とに現在の位置、速度等を読み取り、ある制御則により
制御量をソフトウエアで計算してPWMジェネレータ33にP
WMのデューティ比を書込むことによりモータ電流を制御
する。
With the above configuration, the current position, speed, etc. are read at given time, time, etc. intervals determined by the inertia of the servo system for the given target values, such as position, speed, etc., and the control amount is controlled by software according to a certain control law. Calculate and P to PWM generator 33
The motor current is controlled by writing the duty ratio of WM.

第3図は、第2図に示す制御回路を用いて、記録方向
を考慮せず単純な制御を行った場合の手順を示すフロー
チャート、第4図はその記録タイミング信号を示す波形
図である。以下、本発明の理解を容易にするための参考
として、第3,4図に基づいて、記録方向を考慮しない単
純な動作を行う場合について説明する。
FIG. 3 is a flowchart showing a procedure when simple control is performed without considering a recording direction using the control circuit shown in FIG. 2, and FIG. 4 is a waveform diagram showing a recording timing signal. Hereinafter, as a reference for facilitating understanding of the present invention, a case where a simple operation is performed without considering a recording direction will be described with reference to FIGS.

まず装置の電源投入後、装置の初期設定を行なう(ス
テップS101)。初期設定後記録データを受信し、印字開
始命令が入力されたら(ステップS102)、キャリッジモ
ータ5を起動させる(S103)。モータの電流を制御して
所定の定速状態になった後(S104)、ステップS105で記
録動作を行なう1つ前のエンコーダ信号の立上りをトリ
ガーにしてタイマ1をスタートさせて(S106)、ステッ
プS107で次のエンコーダ信号の立上りが来るまでの間
を、エンコーダ信号の周期より十分短いクロックでカウ
ントする。ステップS107でエンコーダ信号の立上りが入
力されたら、ステップS108でタイマ1はカウントストッ
プすると同時にステップS109でタイマ1のカウント値を
レジスタに入力後、タイマ1はカウントを自動的に再ス
タートする。次にエンコーダ信号の立上りから次の立上
りまでの時間の半分の時間、つまりちょうど中間の位置
信号を作成するために、ステップS110でタイマ1のカウ
ント値の1/2の値をタイマ2にセットして、ステップS11
1でタイマ2をタイマ1と同じクロックでダウンカウン
トを開始する。この時ステップS112では記録イネーブル
であるから、同時に記録動作を行なう(ステップS11
3)。ステップS114でタイマ2の値が0になったら、ス
テップS115で記録イネーブルの時には、エンコーダ信号
の立上りから次の立上りまでの間のちょうど半分の位置
で記録動作を行なう(ステップS116)。以後再びステッ
プS107にジャンプして、上記動作を繰返す。なお、1行
の記録を終了する時には、ステップS112又はステップS1
15からステップS117にジャンプしてタイマ1、タイマ2
をディスエーブルした後、キャリッジモータ5を減速し
て停止させ(ステップS118)、ステップS102にジャンプ
して印字開始命令が入力されるのを待つ。
First, after the power of the apparatus is turned on, the apparatus is initialized (step S101). When the print data is received after the initial setting and a print start command is input (step S102), the carriage motor 5 is started (S103). After the motor current is controlled to reach a predetermined constant speed state (S104), the rising edge of the encoder signal immediately before the recording operation in step S105 is triggered to start timer 1 (S106). In S107, a period until the next encoder signal rises is counted using a clock that is sufficiently shorter than the cycle of the encoder signal. When the rising edge of the encoder signal is input in step S107, the timer 1 stops counting in step S108, and simultaneously inputs the count value of timer 1 to the register in step S109, and then the timer 1 automatically restarts counting. Next, in order to create a position signal that is half the time from the rise of the encoder signal to the next rise, that is, just the intermediate position signal, in step S110, a value of カ ウ ン ト of the count value of the timer 1 is set in the timer 2. And step S11
In step 1, timer 2 starts counting down with the same clock as timer 1. At this time, since the recording is enabled in step S112, the recording operation is performed simultaneously (step S11
3). When the value of the timer 2 becomes 0 in step S114, when the recording is enabled in step S115, the recording operation is performed at exactly half the position from the rising of the encoder signal to the next rising (step S116). Thereafter, the process jumps to step S107 again, and repeats the above operation. When the recording of one line is completed, step S112 or step S1 is performed.
Jump from step 15 to step S117 to jump to timer 1 and timer 2
Is disabled, the carriage motor 5 is decelerated and stopped (step S118), and the process jumps to step S102 to wait for a print start command to be input.

以上の制御により、第4図で示すようにエンコーダ信
号の1相の立上りから次の立上りまでのちょうど半分の
位置で記録動作を行なうことが可能になる。上記参考例
ではエンコーダ信号の立上りを用いたが立下り信号を用
いてもよい。またエンコーダ信号の2相のうちのもう一
方の相の信号を用いてもよい。
With the above control, as shown in FIG. 4, it is possible to perform the recording operation at exactly half the position from the rise of one phase of the encoder signal to the next rise. Although the rising edge of the encoder signal is used in the above reference example, a falling signal may be used. Alternatively, a signal of the other phase of the two phases of the encoder signal may be used.

第5図は、第2図に示す制御回路を用いた本発明の制
御手順の一実施例を示すフローチャート、第6図はその
記録タイミング信号を示す波形図である。
FIG. 5 is a flowchart showing one embodiment of the control procedure of the present invention using the control circuit shown in FIG. 2, and FIG. 6 is a waveform diagram showing the recording timing signal.

第3図の参考例ではエンコーダ信号の立上り又は立下
りをトリガーとして記録動作を行ない、立上りから次の
立上り、又は立下りから次の立下りの半分の記録位置の
補間を行なう方式である。これに対して本実施例では、
記録方向を考慮して第6図に示すようにエンコーダ信号
の立上り(立下り)からある一定時間T1ずらした位置を
記録動作のトリガーとし、そのT1ずれた位置Aから次の
T1ずれた位置Bまでの半分の記録位置Cを補間する方式
である。
In the reference example shown in FIG. 3, a recording operation is performed with a rising or falling edge of an encoder signal as a trigger, and interpolation of a recording position at a half of a rising edge from the next rising edge or from a falling edge to the next falling edge is performed. In contrast, in the present embodiment,
Considering the recording direction, a position shifted by a certain time T1 from the rising (falling) of the encoder signal as a trigger of the recording operation as shown in FIG.
This is a method of interpolating a half recording position C up to a position B shifted by T1.

以後フローチャートに基づいて本実施例の動作を説明
する。
Hereinafter, the operation of the present embodiment will be described based on a flowchart.

まず装置の電源投入後、ステップS201で装置の初期設
定を行なう。初期設定後記録データを受信し、ステップ
S202で印字開始命令が入力されたらキャリッジモータ5
を起動させる(S203)。モータの電流を制御して所定の
定速状態になった後(S20)、ステップS205で記録動作
を行なう1つ前のエンコーダ信号の立上り(立下り)を
トリガーにしてタイマ3に所定のディレイ値をセットし
てタイマ3をスタートさせる(S206)。ステップS207で
タイマ3がタイムアウトしたら、ステップS208で、エン
コーダ信号の周期より十分に短いクロックで、タイマ1
はカウントスタートする。ステップS209で次のエンコー
ダ信号の立上り(立下り)が入力されたら再びタイマ3
をスタートさせ(S210)、ステップS211で所定ディレイ
時間T1が経過したら、ステップS212でタイマ1をカウン
トストップすると同時にステップS213でタイマ1のカウ
ント値をレジスタに入力後タイマ1はカウントを自動的
に再スタートする。更にエンコーダ信号の立上り(立下
り)よりT1遅れた記録位置Aと次のエンコーダ信号の立
上りよりT1遅れた記録位置Bのちょうど半分の記録位置
信号Cを作成するために、ステップS214で、タイマ1の
カウント値の1/2の値をタイマ2にセットしてステップS
215でタイマ2をタイマ1と同じクロックでダウンカウ
ント開始する。この時ステップS216では記録イネーブル
であるから、同時に記録動作を行なう(ステップS21
6)。ステップS218でタイマ2の値が0になったらステ
ップS219で記録イネーブルの時には、AとBのちょうど
半分の位置Cで記録を行なう(S220)。以後再びステッ
プS209にジャンプして上記制御を繰返す。
First, after the power of the apparatus is turned on, initialization of the apparatus is performed in step S201. After the initial setting, receive the recording data and
When a print start command is input in S202, the carriage motor 5
Is activated (S203). After the motor current is controlled to reach a predetermined constant speed state (S20), the rising edge (falling edge) of the encoder signal immediately before performing the recording operation in step S205 is triggered and the timer 3 is given a predetermined delay value. Is set and the timer 3 is started (S206). When the timer 3 times out in step S207, in step S208, the timer 1 is output with a clock that is sufficiently shorter than the cycle of the encoder signal.
Starts counting. When the rising (falling) of the next encoder signal is input in step S209, the timer 3
Is started (S210), and when the predetermined delay time T1 has elapsed in step S211, the timer 1 counts and stops in step S212. At the same time, in step S213, the count value of the timer 1 is input to the register, and the timer 1 automatically restarts counting. Start. Further, in order to create a recording position signal C that is just half of the recording position A delayed by T1 from the rise (fall) of the encoder signal and a recording position B delayed by T1 from the rise of the next encoder signal, in step S214, the timer 1 Set the value of 1/2 of the count value in timer 2 to timer 2 and
At 215, the timer 2 starts counting down with the same clock as the timer 1. At this time, since the recording is enabled in step S216, the recording operation is performed simultaneously (step S21).
6). When the value of the timer 2 becomes 0 in step S218, when recording is enabled in step S219, recording is performed at the position C which is exactly half of A and B (S220). Thereafter, the process jumps to step S209 again and repeats the above control.

なお、1行の記録を終了する時には、ステップS216又
はステップS219からステップS221にジャンプしてタイマ
1、タイマ2、タイマ3をディスエーブルした後、キャ
リッジモータ5を減速して停止させ(S222)、ステップ
S202にジャンプして次の印字開始命令が入力されるのを
待つ。
When the recording of one line is completed, the process jumps from step S216 or step S219 to step S221 to disable the timer 1, timer 2, and timer 3, and then the carriage motor 5 is decelerated and stopped (S222). Steps
The process jumps to S202 and waits for the next print start command to be input.

以上の制御により、第6図に示すように、エンコーダ
信号の立上り(立下り)から一定時間T1ずれたA,Bのち
ょうど半分の位置Cで記録動作を行なうことが可能にな
り、シリアル式記録装置で記録方向によるドット補正を
行なう場合有効である。
With the above control, as shown in FIG. 6, it is possible to perform a recording operation at a position C which is a half of A and B, which is shifted from the rising (falling) of the encoder signal by a certain time T1, for a serial recording. This is effective when the apparatus performs dot correction according to the recording direction.

本発明は、特にインクジェット記録方式の中でもキヤ
ノン(株)が提唱しているバブルジェット方式の記録ヘ
ッド、記録装置に於いて、優れた効果をもたらすもので
ある。
The present invention provides an excellent effect particularly in a bubble jet type recording head and recording apparatus proposed by Canon Inc. among the ink jet recording methods.

第7図はバブルジェット方式の記録ヘッドを示す構成
図である。
FIG. 7 is a configuration diagram showing a recording head of a bubble jet system.

記録ヘッド1Aには、列状に設けられた複数個の吐出口
41から記録液を吐出させるために、印加電圧が供給さ
れ、熱エネルギーを発生させる電気熱変換体40が各液路
毎に配設されている。そして駆動信号を印加することに
よって、前記電気熱変換体40に熱エネルギーを発生せし
めて膜沸騰を生じさせインク液路内に気泡を形成する。
そしてこの気泡の成長によって前記吐出口41からインク
滴を吐出させる。バルブジェット方式の記録ヘッドを用
いた記録装置の代表的な構成や原理については、例え
ば、米国特許第4723129号明細書、同第4740796号明細書
に開示されている基本的な原理を用いて行なうものが好
ましい。この方式は所謂オンデマンド型、コンティニュ
アス型のいずれにも適用可能であるが、特に、オンデマ
ンド型の場合には、液体(インク)が保持されているシ
ートや液路に対応して配置されている電気熱変換体に、
記録情報に対応していて核沸騰を越える急速な温度上昇
を与える少なくとも一つの駆動信号を印加することによ
って、電気熱変換体に熱エネルギーを発生せしめ、記録
ヘッドの熱作用面に膜沸騰させて、結果的にこの駆動信
号に一対一対応し液体(インク)内の気泡を形成出来る
ので有効である。この気泡の成長,収縮により吐出用開
口を介して液体(インク)を吐出させて、少なくとも一
つの滴を形成する。この駆動信号をパルス形状とする
と、即時適切に気泡の成長収縮が行なわれるので、特に
応答性に優れた液体(インク)の吐出が達成でき、より
好ましい。このパルス形状の駆動信号としては、米国特
許第4463359号明細書、同第4345262号明細書に記載され
ているようなものが適している。尚、上記熱作用面の温
度上昇率に関する発明の米国特許第4313124号明細書に
記載されている条件を採用すると、更に優れた記録を行
なうことができる。
The recording head 1A has a plurality of ejection ports provided in rows.
In order to eject the recording liquid from 41, an applied voltage is supplied and an electrothermal converter 40 for generating thermal energy is provided for each liquid path. Then, by applying a drive signal, heat energy is generated in the electrothermal transducer 40 to cause film boiling, thereby forming bubbles in the ink liquid path.
Then, ink droplets are ejected from the ejection ports 41 by the growth of the bubbles. For a typical configuration and principle of a recording apparatus using a valve jet recording head, for example, U.S. Pat. No. 4,723,129 and U.S. Pat. Are preferred. This method can be applied to both the so-called on-demand type and the continuous type. In particular, in the case of the on-demand type, it is arranged corresponding to the sheet or the liquid path holding the liquid (ink). Electrothermal transducers
By applying at least one drive signal corresponding to the recorded information and giving a rapid temperature rise exceeding nucleate boiling, heat energy is generated in the electrothermal transducer, and the film is heated on the heat-acting surface of the recording head. As a result, air bubbles in the liquid (ink) can be formed in one-to-one correspondence with the drive signal, which is effective. The liquid (ink) is ejected through the ejection opening by the growth and contraction of the bubble to form at least one droplet. When the drive signal is formed into a pulse shape, the growth and shrinkage of the bubble are performed immediately and appropriately, so that the ejection of liquid (ink) having particularly excellent responsiveness can be achieved, which is more preferable. As the pulse-shaped drive signal, those described in US Pat. Nos. 4,463,359 and 4,434,262 are suitable. Further, if the conditions described in US Pat. No. 4,313,124 relating to the invention relating to the temperature rise rate of the heat acting surface are adopted, more excellent recording can be performed.

記録ヘッドの構成としては、上述の各明細書に開示さ
れているような吐出口、液路、電気熱変換体の組み合わ
せ構成(直線状液流路又は直角液流路)の他に熱作用部
が屈曲する領域に配置されている構成を開示する米国特
許第4558333号明細書、米国特許第4459600号明細書にそ
れぞれ記載の構成でもよい。加えて、複数の電気熱変換
体に対して、共通するスリットを電気熱変換体の吐出部
とする構成を開示する特開昭59年第123670号公報や熱エ
ネルギーの圧力波を吸収する開孔を吐出部に対応せる構
成を開示する特開昭59年第138461号公報に基づいた構成
としても本発明は有効である。
As a configuration of the recording head, in addition to the combination configuration (a linear liquid flow path or a right-angled liquid flow path) of a discharge port, a liquid path, and an electrothermal converter as disclosed in each of the above-mentioned specifications, a heat acting section The configurations described in U.S. Pat. No. 4,558,333 and U.S. Pat. In addition, JP-A-59-123670 discloses a configuration in which a common slit is used as a discharge portion of an electrothermal converter for a plurality of electrothermal converters, and an aperture for absorbing pressure waves of thermal energy. The present invention is also effective as a configuration based on JP-A-59-138461 which discloses a configuration corresponding to a discharge unit.

また、装置本体に装着されることで、装置本体との電
気的な接続や装置本体からのインクの供給が可能になる
交換自在のチップタイマの記録ヘッド、あるいは記録ヘ
ッド自体に一体的に設けられたカートリッジタイプの記
録ヘッドを用いた場合にも本発明は有効である。
In addition, the recording head of the interchangeable chip timer, which can be electrically connected to the apparatus main body or supplied with ink from the apparatus main body by being attached to the apparatus main body, or is provided integrally with the recording head itself. The present invention is also effective when a cartridge type recording head is used.

又、本発明の記録装置の構成として設けられる、記録
ヘッドに対しての回復手段、予備的な補助手段等を付加
することは本発明の効果を一層安定できるので好ましい
ものである。これらを具体的に挙げれば、記録ヘッドに
対しての、キャビング手段、クリーニング手段、加圧或
は吸引手段、電気熱変換体或はこれとは別の加熱素子或
はこれらの組み合わせによる予備加熱手段、記録とは別
の吐出を行なう予備吐出モードを行なうことも安定した
記録を行なうために有効である。
It is preferable to add recovery means for the printhead, preliminary auxiliary means, and the like, which are provided as components of the printing apparatus of the present invention, since the effects of the present invention can be further stabilized. More specifically, a pre-heating means for the recording head by a caving means, a cleaning means, a pressure or suction means, an electrothermal transducer or another heating element or a combination thereof. Performing a preliminary ejection mode in which ejection is performed separately from printing is also effective for performing stable printing.

更に、記録装置の記録モードとしては黒色等の主流色
のみの記録モードだけではなく、記録ヘッドを一体的に
構成するか複数個の組み合わせによってでもよいが、異
なる色の複色カラー又は、混色によるフルカラーの少な
くとも一つを備えた装置にも本発明は極めて有効であ
る。
Further, the printing mode of the printing apparatus is not limited to the printing mode of only the mainstream color such as black, but may be a printing head integrally formed or a combination of a plurality of printing heads. The present invention is extremely effective for an apparatus having at least one of the full colors.

以上説明した本発明実施例においては、インクを液体
として説明しているが、室温やそれ以下で固化するイン
クであって、室温で軟化もしくは液体となるもの、或
は、インクジェットにおいて一般的に行なわれている温
度調整の温度範囲である30℃以上70℃以下の温度範囲で
軟化もしくは液体となるものでもよい。すなわち、使用
記録信号付与時にインクガ液状をなすものであれば良
い。加えて、積極的に熱エネルギーによる昇温をインク
の固形状態から液体状態への態変化のエネルギーとして
使用せしめることで防止するか、又は、インクの蒸発防
止を目的として放置状態で固化するインクを用いるかし
て、いずれにしても熱エネルギーの記録信号に応じた付
与によってインクが液化してインク液状として吐出する
ものや記録媒体に到達する時点ではすでに固化し始める
もの等のような、熱エネルギーによって初めて液化する
性質のインク使用も本発明には適用可能である。このよ
うな場合インクは、特開昭54−56847号公報あるいは特
開昭60−71260号公報に記載されるような、多孔質シー
ト凹部又は貫通孔に液状又は固形物として保持された状
態で、電気熱変換体に対して対向するような形態として
も良い。本発明においては、上述した各インクに対して
最も有効なものは、上述した膜沸騰方式を実行するもの
である。
In the embodiments of the present invention described above, the ink is described as a liquid. However, an ink that solidifies at room temperature or below and softens or becomes liquid at room temperature, or is generally used in ink jet printing The material may be softened or liquid in a temperature range of 30 ° C. or more and 70 ° C. or less, which is the temperature range of the temperature adjustment performed. In other words, any material may be used as long as it forms a liquid when the use recording signal is applied. In addition, positively prevent the temperature rise due to thermal energy by using the energy of the state change of the ink from the solid state to the liquid state, or prevent the ink from solidifying in a standing state for the purpose of preventing the evaporation of the ink. In any case, thermal energy such as one in which ink is liquefied and ejected as an ink liquid by application in accordance with a recording signal of thermal energy, or one which already starts to solidify when reaching a recording medium, etc. The use of an ink that liquefies for the first time is also applicable to the present invention. In such a case, as described in JP-A-54-56847 or JP-A-60-71260, the ink is held as a liquid or solid in a porous sheet recess or through hole, It is good also as a form which opposes an electrothermal transducer. In the present invention, the most effective one for each of the above-mentioned inks is to execute the above-mentioned film boiling method.

[発明の効果] 以上述べたように本発明は、キャリッジモータに取付
けられたロータリエンコーダ、またはライン方向に配置
されたリニアエンコーダから記録タイミング信号を出力
するシリアル式の記録装置において、この記録タイミン
グ信号をある所定の時間だけずらして出力するととも
に、さらにそのずらして出力される記録タイミング信号
を、その周期を等分する位置に補間して出力している。
これにより、スリット数が増加した高密度用の特別なエ
ンコーダを用いることなく、低密度用の安価かつ簡単な
構成のエンコードを用いても、記録密度を向上させるこ
とができ、さらに、エンコーダの立ち上がり、立ち下が
り両エッジを使用する場合などに比べて、記録精度が大
幅に向上する。その上、記録タイミング信号を所定時間
だけずらして出力することにより、往復移動するキャリ
ッジに搭載された記録ヘッドにおいて、記録方向による
ドット補正ができるため、記録精度が向上する。
[Effects of the Invention] As described above, the present invention relates to a serial type recording apparatus that outputs a recording timing signal from a rotary encoder attached to a carriage motor or a linear encoder arranged in a line direction. Is output with a shift of a predetermined time, and the recording timing signal output with the shift is interpolated at a position where the period is equally divided and output.
As a result, without using a special encoder for high density with an increased number of slits, it is possible to improve the recording density even if an inexpensive and simple configuration for low density is used. The recording accuracy is greatly improved as compared with the case where both falling edges are used. In addition, by shifting the print timing signal by a predetermined time, the print head mounted on the reciprocating carriage can perform dot correction in the print direction, thereby improving print accuracy.

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

第1図は本発明の記録装置の一実施例の全体を示す斜視
図、第2図は第1図の実施例の制御回路を示すブロック
図、第3図は第2図の制御回路の制御手順の参考例を示
すフローチャート、第4図は第3図の制御手順による記
録タイミングを示す波形図、第5図は第2図の制御回路
の制御手順の一実施例を示すフローチャート、第6図は
第5図の制御手順による記録タイミングを示す波形図、
第7図はバブルジェット方式の記録ヘッドを示す構成
図、第8図は従来例のロータリエンコーダを示す図、第
9図は第7図のロータリエンコーダの動作を示す波形図
である。 1,1A……記録ヘッド、2……キャリッジ、3,4……ガイ
ド軸、5……キャリッジモータ、6,7……プーリ、8…
…タイミングベルト、9……記録紙、10……ペーパーパ
ン、12……排紙ローラ、13……拍車、20……ホスト装
置、21……CPU、22……記録データ受信部、23……ヘッ
ド制御部、24……ヘッド駆動部、25……タイマ、26……
CGROM、27……コントロールROM、28……RAM、29……入
力ポート、30……外部入力装置、31……出力ポート、32
……外部出力装置、33……PWMジェネレータ、34……モ
ータドライバ、35……ロータリエンコーダ、36……アッ
プダウンカウンタ。
FIG. 1 is a perspective view showing an entire embodiment of a recording apparatus of the present invention, FIG. 2 is a block diagram showing a control circuit of the embodiment of FIG. 1, and FIG. 3 is control of the control circuit of FIG. 4 is a flowchart showing a reference example of the procedure, FIG. 4 is a waveform chart showing recording timing according to the control procedure of FIG. 3, FIG. 5 is a flowchart showing an embodiment of a control procedure of the control circuit of FIG. 2, and FIG. Is a waveform diagram showing recording timing according to the control procedure of FIG. 5,
FIG. 7 is a configuration diagram showing a bubble jet type recording head, FIG. 8 is a diagram showing a conventional rotary encoder, and FIG. 9 is a waveform diagram showing the operation of the rotary encoder of FIG. 1, 1A ... print head, 2 ... carriage, 3, 4 ... guide shaft, 5 ... carriage motor, 6, 7 ... pulley, 8 ...
... Timing belt, 9 ... Recording paper, 10 ... Paper pan, 12 ... Discharge roller, 13 ... Spur, 20 ... Host device, 21 ... CPU, 22 ... Record data receiving unit, 23 ... Head control section, 24 Head drive section, 25 Timer, 26
CGROM, 27 ... Control ROM, 28 ... RAM, 29 ... Input port, 30 ... External input device, 31 ... Output port, 32
... external output device, 33 ... PWM generator, 34 ... motor driver, 35 ... rotary encoder, 36 ... up-down counter.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G01D 15/24 B41J 3/04 101 B41J 19/18 G01D 5/245 102──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G01D 15/24 B41J 3/04 101 B41J 19/18 G01D 5/245 102

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】記録ヘッドを搭載したキャリッジを左右に
往復移動させるための駆動モータと、該駆動モータに取
り付けられまたはライン方向に配置されたエンコーダ
と、該エンコーダの出力信号の論理レベルの変化に基づ
いて、記録ヘッドによる記録を可能にするための記録タ
イミング信号を所定の周期で出力する出力手段とを有す
るシリアル式の記録装置において、 前記記録タイミング信号を前記エンコーダの出力信号の
論理レベルの変化から前記所定周期より短い所定の時間
だけずらして形成する形成手段と、該形成手段によって
出力される記録タイミング信号の周期を等分する位置
に、記録密度を高めるために該記録タイミング信号を補
間して出力する補間手段とを有することを特徴とするシ
リアル式の記録装置。
A drive motor for reciprocating a carriage on which a recording head is mounted to the left and right, an encoder attached to the drive motor or arranged in a line direction, and a change in a logic level of an output signal of the encoder. Output means for outputting a recording timing signal for enabling recording by a recording head at a predetermined cycle, based on a change in a logical level of an output signal of the encoder. Forming means for shifting the recording timing signal by a predetermined time shorter than the predetermined cycle, and interpolating the recording timing signal at a position equally dividing the period of the recording timing signal output by the forming means in order to increase the recording density. A serial-type recording apparatus comprising:
【請求項2】前記記録ヘッドは、熱エネルギーを利用し
て吐出口からインクを吐出させるもので、熱エネルギー
を発生させる手段として電気熱変換体を有している請求
項1記載の記録装置。
2. The recording apparatus according to claim 1, wherein said recording head ejects ink from an ejection port using thermal energy, and has an electrothermal converter as a means for generating thermal energy.
JP2097594A 1990-04-16 1990-04-16 Recording device Expired - Fee Related JP2815968B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2097594A JP2815968B2 (en) 1990-04-16 1990-04-16 Recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2097594A JP2815968B2 (en) 1990-04-16 1990-04-16 Recording device

Publications (2)

Publication Number Publication Date
JPH03296621A JPH03296621A (en) 1991-12-27
JP2815968B2 true JP2815968B2 (en) 1998-10-27

Family

ID=14196564

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2097594A Expired - Fee Related JP2815968B2 (en) 1990-04-16 1990-04-16 Recording device

Country Status (1)

Country Link
JP (1) JP2815968B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011037528A (en) 2009-08-06 2011-02-24 Fuji Xerox Co Ltd Speed estimation device, image forming apparatus, and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5611585A (en) * 1979-07-06 1981-02-04 Nec Corp Generating circuit of timing train
US4343012A (en) * 1980-12-30 1982-08-03 International Business Machines Corporation Printer control circuit
JPS612015A (en) * 1984-06-15 1986-01-08 Sanyo Electric Co Ltd Rotary encoder device

Also Published As

Publication number Publication date
JPH03296621A (en) 1991-12-27

Similar Documents

Publication Publication Date Title
JPH0725103A (en) Printer and printing method
US7168783B2 (en) Apparatus and method of controlling a printhead of a printing apparatus
JP2756599B2 (en) Sheet transport device for recording device
JP2815968B2 (en) Recording device
JP2000197381A (en) Dc motor controller and control method
JPH05124289A (en) Recorder
JP4325151B2 (en) Printing apparatus and computer system
JP4058925B2 (en) Printing control apparatus and printing method
US20030052935A1 (en) Ink-jet recording apparatus, and ink-temperature control method in the same
JP4678801B2 (en) Temperature detection circuit and recording apparatus provided with the circuit
JP4289923B2 (en) Motor control device
JP3486547B2 (en) Inkjet printer and method of controlling temperature of recording head
JP2002272161A (en) Device and method for transfer control
JP2003023784A (en) Motor control method, motor control device, printer, computer program, and computer system
JP3376075B2 (en) Recording method and apparatus
JP3026683B2 (en) Recording device
JP5984564B2 (en) Recording device and control device
JPH0278570A (en) Ink jet recording device
JP2003211767A (en) Recorder and recording control method
JP2001058408A (en) Apparatus and method for recording
JP4371730B2 (en) Recording device
JP2003088172A (en) Motor drive unit, printer, computer program, computer system, and method for driving motor
JP2003023788A (en) Motor drive motor, motor drive device, printer, computer program, recording medium, and computer system
JPH11105348A (en) Recorder
JP2003211734A (en) Recorder and recoding control method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070814

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080814

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080814

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090814

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees