JP3047549B2 - Serial printer and its home position setting method - Google Patents
Serial printer and its home position setting methodInfo
- Publication number
- JP3047549B2 JP3047549B2 JP3238126A JP23812691A JP3047549B2 JP 3047549 B2 JP3047549 B2 JP 3047549B2 JP 3238126 A JP3238126 A JP 3238126A JP 23812691 A JP23812691 A JP 23812691A JP 3047549 B2 JP3047549 B2 JP 3047549B2
- Authority
- JP
- Japan
- Prior art keywords
- carriage
- motor
- position counter
- output signal
- detection
- 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
Links
- 238000000034 method Methods 0.000 title claims description 6
- 238000001514 detection method Methods 0.000 claims description 38
- 238000010586 diagram Methods 0.000 description 11
- 238000012544 monitoring process Methods 0.000 description 3
- 230000006866 deterioration Effects 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005530 etching Methods 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 239000000696 magnetic material Substances 0.000 description 1
- 230000005415 magnetization Effects 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000002985 plastic film Substances 0.000 description 1
- 229920006255 plastic film Polymers 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J19/00—Character- or line-spacing mechanisms
- B41J19/18—Character-spacing or back-spacing mechanisms; Carriage return or release devices therefor
- B41J19/20—Positive-feed character-spacing mechanisms
- B41J19/202—Drive control means for carriage movement
- B41J19/205—Position or speed detectors therefor
- B41J19/207—Encoding along a bar
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Character Spaces And Line Spaces In Printers (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明はプリンタのホームポジシ
ョン設定装置に係わり、より詳細には、記録媒体に対向
して往復運動するキャリッジを有するシリアルプリンタ
のホームポジション設定装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a home position setting device for a printer, and more particularly, to a home position setting device for a serial printer having a carriage reciprocatingly facing a recording medium.
【0002】[0002]
【従来の技術】一般にシリアルプリンタは記録ヘッドを
搭載したキャリッジをキャリッジ駆動モータによりタイ
ミングベルト等を介してプラテン軸方向に往復運動させ
て記録を行う。ここでキャリッジは、プリンタのイニシ
ャライズ動作時に設定された基準位置(所謂ホームポジ
ション)からの距離を、エンコーダ等の位置検出手段や
駆動ステップ数(ステッピングモータの場合)により管
理し所定位置に移動し印字を行う。2. Description of the Related Art In general, a serial printer performs recording by reciprocating a carriage on which a recording head is mounted in a platen axis direction by a carriage driving motor via a timing belt or the like. Here, the carriage manages a distance from a reference position (a so-called home position) set at the time of the initialization operation of the printer by position detection means such as an encoder and the number of driving steps (in the case of a stepping motor), and moves to a predetermined position to print. I do.
【0003】従来のプリンタにおいては、ホームポジシ
ョン設定はフォトセンサやマイクロスイッチなどのホー
ムポジションセンサを設けキャリッジがホームポジショ
ンに移動したことを検出して行われるのが一般的であ
る。図8に従来例のブロック図を示す。また図9に従来
例の構造図を示す。ここで12はホームポジションセン
サであり、13はキャリッジに設けた遮蔽板である。ホ
ームポジションセンサは、例えば図6に示すようなフォ
トインタラプタで構成される。3はキャリッジ駆動用の
直流モータであり、11はキャリッジモータの回転軸に
直結されたロータリエンコーダである。ロータリエンコ
ーダ11の出力パルスはポジションカウンタ5に接続さ
れ、直流モータの正転、逆転に応じてポジションカウン
タ5の加算、減算が行われキャリッジ6の位置管理が行
われる。プリンタのイニシャライズ動作時にはCPU1
はキャリッジモータ3を駆動してキャリッジ6をホーム
ポジション方向に移動させる。同時にホームポジション
センサ12の出力の監視を開始する。キャリッジ上の遮
蔽板13がホームポジションセンサ12を遮る位置まで
移動するとホームポジション12の出力の変化をCPU
1が検出しキャリッジモータ3を停止させるとともにポ
ジションカウンタ5を初期化する。以上によりホームポ
ジションが設定されたわけであり、これ移行のキャリッ
ジの位置管理はポジションカウンタ5により行われる。
キャリッジ駆動用モータとしてステッピングモータを使
用した場合は一般にポジションカウンタとロータリエン
コーダは不要でありホームポジション12の出力の変化
を検出した時点の励磁相を基準位置として相切替回数
(ステップ数)により位置管理が行われる。In a conventional printer, a home position is generally set by detecting a movement of a carriage to a home position by providing a home position sensor such as a photo sensor or a micro switch. FIG. 8 shows a block diagram of a conventional example. FIG. 9 shows a structural diagram of a conventional example. Here, 12 is a home position sensor, and 13 is a shielding plate provided on the carriage. The home position sensor is composed of, for example, a photo interrupter as shown in FIG. 3 is a DC motor for driving the carriage, and 11 is a rotary encoder directly connected to the rotation shaft of the carriage motor. The output pulse of the rotary encoder 11 is connected to the position counter 5, and the addition and subtraction of the position counter 5 are performed according to the forward rotation and the reverse rotation of the DC motor, and the position of the carriage 6 is managed. CPU1 during the initialization operation of the printer
Drives the carriage motor 3 to move the carriage 6 in the home position direction. At the same time, monitoring of the output of the home position sensor 12 is started. When the shielding plate 13 on the carriage moves to a position where it blocks the home position sensor 12, a change in the output of the home position 12 is determined by the CPU.
1 is detected, the carriage motor 3 is stopped, and the position counter 5 is initialized. The home position has been set as described above, and the position management of the carriage at this transition is performed by the position counter 5.
When a stepping motor is used as a carriage driving motor, a position counter and a rotary encoder are generally unnecessary, and the position is controlled by the number of phase switching (the number of steps) using the excitation phase at the time when the change in the output of the home position 12 is detected as a reference position. Is performed.
【0004】別の方法として特開昭64−4377、特
公平2−26594号に開示されるごとくキャリッジを
フレームあるいはストッパ等に衝突させて位置を設定す
る方法がある。前者はキャリッジを衝突させてキャリッ
ジとフレームの間で電気的導通をとることによりホーム
ポジションセンサの役割をはたしセンサを削除するもの
である。後者はキャリッジ駆動用モータにステッピング
モータを用い、特定時間モータを駆動しフレームに衝突
させた後特定相に励磁することによりホームポジション
設定を行うものである。As another method, there is a method of setting a position by causing a carriage to collide with a frame, a stopper or the like as disclosed in Japanese Patent Application Laid-Open No. 64-4377 and Japanese Patent Publication No. 2-26594. The former serves as a home position sensor by colliding the carriage to establish electrical continuity between the carriage and the frame, and eliminates the sensor. In the latter, the home position is set by using a stepping motor as a carriage driving motor, driving the motor for a specific time to collide with a frame, and then exciting to a specific phase.
【0005】[0005]
【発明が解決しようとする課題】しかし各種センサを用
いた設定の場合は構造が複雑になりコストが高くなる上
に、プリンタの構造や取り付け精度により検出位置に誤
差が生じる欠点がある。つまりホームポジションセンサ
の出力のエッジとロータリエンコーダの出力パルスのエ
ッジ位相(あるいはステッピングモータの相切替のタイ
ミング)が、図7に示されるような極めて近いタイミン
グとなっていた場合、環境の変化やプリンタの機械的ガ
タによって、キャリッジのイニシャライズ動作の度にホ
ームポジション位置がずれてしまうという欠点を有す
る。However, in the case of setting using various sensors, there are disadvantages that the structure becomes complicated and the cost becomes high, and that an error occurs in the detection position due to the structure and mounting accuracy of the printer. In other words, when the edge of the output of the home position sensor and the edge phase of the output pulse of the rotary encoder (or the timing of phase switching of the stepping motor) are very close to each other as shown in FIG. Due to the mechanical backlash described above, the home position is deviated every time the carriage is initialized.
【0006】キャリッジを衝突させて位置設定を行う装
置においては、ステッピングモータを使用した場合は、
フレーム等に衝突脱調させた後相保持を行うわけである
ので検出位置に誤差が生じ易い。また直流モータを使用
した場合は、衝突時の衝撃によりモータ軸が振動を起こ
しエンコーダパルスが不規則に出力されポジションカウ
ンタが誤作動するといった検出位置精度の低下が生ず
る。加えて衝突時の音の発生、耐久性および信頼性の低
下等の欠点が生ずる。In an apparatus for setting a position by colliding a carriage, when a stepping motor is used,
Since the phase is maintained after the step-out of the collision with the frame or the like, an error easily occurs in the detection position. Further, when a DC motor is used, the motor shaft vibrates due to the impact at the time of collision, and the encoder pulse is output irregularly, causing a malfunction of the position counter, thereby lowering the detection position accuracy. In addition, there are drawbacks such as generation of noise at the time of collision, deterioration of durability and reliability, and the like.
【0007】本発明の目的は、上述の従来の欠点を解決
し、ホームポジションセンサを不要とし、安価で検出位
置精度を向上させたホームポジション設定装置を提供す
るものである。SUMMARY OF THE INVENTION An object of the present invention is to provide a home position setting device which solves the above-mentioned conventional disadvantages, eliminates the need for a home position sensor, is inexpensive, and has improved detection position accuracy.
【0008】[0008]
【課題を解決するための手段】本発明は、キャリッジの
移動方向に沿って本体に配設したスケール板と、キャリ
ッジに取り付けられ、前記スケール板と相対移動可能に
することで信号を出力する検出手段と、前記検出手段か
らの出力信号により位置カウンタを変化させ、前記位置
カウンタでキャリッジ位置の管理する位置管理手段と、
前記位置管理手段の位置カウンタ情報を基にモータによ
りキャリッジを制御するキャリッジ制御手段と、を有し
て前記キャリッジに搭載した記録ヘッドにより印字を行
うシリアルプリンタであって、前記スケール板は、一端
を透明部か遮蔽部のみの非検出部とし、それ以外を透明
部と遮蔽部を交互に繰り返す可検出部として構成した上
で、前記位置管理手段は、電源投入時において、キャリ
ッジ制御手段に要求してキャリッジを駆動させ、前記検
出手段の出力信号の変化態様を参照して、前記非検出部
領域内にキャリッジが入ったことを検出した時に、前記
キャリッジの前記位置カウンタを初期化することを特徴
とする。また、本発明は、キャリッジの移動方向に沿っ
て本体に配設され、一端は透明部か遮蔽部のみの非検出
部とし、それ以外は透明部と遮蔽部を交互に繰り返す可
検出部としたスケール板と、キャリッジに取り付けら
れ、前記スケール板と相対移動可能にすることで前記透
明部と遮蔽部を検出して信号を出力する検出手段と、前
記検出手段からの出力パルスにより位置カウンタを変化
させ、前記位置カウンタでキャリッジ位置の管理する位
置管理手段と、前記位置管理手段の位置カウンタ情報を
基にモータによりキャリッジを制御するキャリッジ制御
手段と、を有して前記キャリッジに搭載した記録ヘッド
により印字を行うシリアルプリンタであって、前記位置
管理手段は、キャリッジ制御手段に要求して可検出部方
向から非検出部方向へとキャリッジを駆動させ、前記検
出手段の出力信号が所定時間以上変化しなくなった時点
でキャリッジモータの駆動を停止させ、キャリッジモー
タの駆動停止時点において前記位置カウンタを初期化す
ることを特徴とする。さらに、本発明のシリアルプリン
タは、前記位置管理手段が、キャリッジ制御手段に要求
して非検出部方向から可検出部方向へとキャリッジを駆
動させ、前記検出手段の出力信号の変化を検出した後キ
ャリッジモータの駆動を停止させ、さらにキャリッジ制
御手段に要求して逆方向にキャリッジを駆動させ、前記
検出手段の出力信号が所定時間以上変化しなくなった時
点でキャリッジモータの駆動を停止させ、キャリッジモ
ータの駆動停止時点において前記位置カウンタを初期化
することを特徴とする。SUMMARY OF THE INVENTION According to the present invention, there is provided a detecting means for outputting a signal by attaching a scale plate disposed on a main body along a moving direction of a carriage and allowing the relative movement with respect to the scale plate. Means, a position management means for changing a position counter according to an output signal from the detection means, and managing a carriage position with the position counter;
A carriage control unit that controls a carriage by a motor based on the position counter information of the position management unit; and a serial printer that performs printing by a recording head mounted on the carriage, wherein the scale plate has one end. The transparent part or the non-detection part of the shielding part alone, and the other part is configured as a detectable part that alternately repeats the transparent part and the shielding part, and the position management unit requests the carriage control unit when the power is turned on. And driving the carriage, and referring to a change mode of the output signal of the detection means, when detecting that the carriage has entered the non-detection portion area, initializing the position counter of the carriage. And Further, the present invention is arranged on the main body along the moving direction of the carriage, one end is a non-detection portion of only a transparent portion or a shielding portion, and the other is a detectable portion that alternately repeats a transparent portion and a shielding portion. A scale plate, detecting means attached to the carriage and detecting the transparent part and the shielding part by making it relatively movable with respect to the scale plate and outputting a signal, and changing a position counter by an output pulse from the detecting means. A position management unit that manages a carriage position with the position counter; and a carriage control unit that controls a carriage with a motor based on the position counter information of the position management unit. A serial printer for performing printing, wherein the position management unit requests the carriage control unit to move the carriage from the detectable unit direction to the non-detectable unit direction. The Tsu di is driven, the driving of the carriage motor is stopped when the output signal of said detecting means is no longer changed more than a predetermined time, the carriage motor
The position counter is initialized when the driving of the motor is stopped . Further, in the serial printer according to the present invention, the position management unit may request the carriage control unit to drive the carriage from the non-detection unit direction to the detectable unit direction and detect a change in an output signal of the detection unit. Ki
The driving of Yarijjimota is stopped, by driving the carriage in the opposite direction and further requests the carriage control means stops the driving of the carriage motor when the output signal of said detecting means is no longer changed more than a predetermined time, Kyarijjimo
When the driving of the motor is stopped , the position counter is initialized.
【0009】[0009]
【作用】上述のごとく構成し、プリンタのイニシャライ
ズ動作時に、エンコーダモジュールの出力パルスを監視
しつつキャリッジをホームポジション方向に移動させる
と、キャリッジがスケール板の一端の位置被検出部が存
在しない所定距離に到達するとエンコーダモジュールの
出力パルスが途絶えることになるため、これを検知した
時点でキャリッジ駆動用モータを停止させ、ポジション
カウンタを初期化することによりホームポジション設定
が可能となる。When the carriage is moved in the direction of the home position while monitoring the output pulse of the encoder module during the initialization operation of the printer, the carriage is moved to a predetermined distance where the position detection portion at one end of the scale plate does not exist. , The output pulse of the encoder module is interrupted. When this is detected, the carriage driving motor is stopped, and the home position can be set by initializing the position counter.
【0010】[0010]
【実施例】以下、図面に示す実施例について説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments shown in the drawings will be described below.
【0011】図1は本発明の一実施例を示すブロック図
であり、図2は本発明の一実施例を示す構成図である。
図1の1はCPUであり、2はキャリッジモータ駆動回
路であり、、3はキャリッジモータである。4はエンコ
ーダモジュールであり、5はポジションカウンタであ
る。図2の6はキャリッジであり、3はキャリッジモー
ターである。7はリニアエンコーダを構成するスケール
板であり、4はエンコーダモジュールである。8はプラ
テンであり、9は記録媒体である。10は記録ヘッドで
あり、記録ヘッド10の駆動信号はFPC(図示せず)
を介して与えられる。またエンコーダモジュール4の出
力パルスもFPCを介して制御回路およびCPUに伝え
られる。ここでキャリッジモータ3は直流モータであ
り、エンコーダモジュール4は電気的に90゜位相差の
あるA相、B相を出力するフォトインタラプタである。
キャリッジモータの速度制御はエンコーダモジュール4
とスケール板7により構成されるリニアエンコーダによ
りキャリッジモータ駆動回路にて行われる。図3にスケ
ール板の構造図を示す。スケール板7は、位置被検出部
としての光の透過部と遮蔽部が交互に表れるような加工
がされており、金属板にエッチングを施すとか、プラス
チックフィルムに印刷を施す等により得られる。位置被
検出部の分解能はプリンタの印字密度とキャリッジモー
タの制御特性等により適宣決定される。A部は位置被検
出部を設けていない部分(すべて透過部とするかすべて
遮蔽部とするかのいずれか)であり、この部分において
はエンコーダモジュールの出力パルスは変化しないよう
になっている。FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a block diagram showing one embodiment of the present invention.
1 is a CPU, 2 is a carriage motor drive circuit, and 3 is a carriage motor. 4 is an encoder module, and 5 is a position counter. 2 is a carriage, and 3 is a carriage motor. Reference numeral 7 denotes a scale plate constituting a linear encoder, and reference numeral 4 denotes an encoder module. 8 is a platen and 9 is a recording medium. Reference numeral 10 denotes a recording head, and a driving signal of the recording head 10 is an FPC (not shown).
Given through. The output pulse of the encoder module 4 is also transmitted to the control circuit and the CPU via the FPC. Here, the carriage motor 3 is a DC motor, and the encoder module 4 is a photo-interrupter that outputs A-phase and B-phase having an electrical phase difference of 90 °.
Carriage motor speed control is performed by encoder module 4
This is carried out by a carriage motor drive circuit by a linear encoder constituted by the scale plate 7 and the encoder. FIG. 3 shows a structure diagram of the scale plate. The scale plate 7 is processed so that a light transmitting portion and a shielding portion as a position detection portion appear alternately, and is obtained by etching a metal plate, printing a plastic film, or the like. The resolution of the position detection unit is appropriately determined by the printing density of the printer, the control characteristics of the carriage motor, and the like. The portion A is a portion where the position detection portion is not provided (either all the transmission portion or all the shielding portion), and the output pulse of the encoder module does not change in this portion.
【0012】図1および図2により本発明の一実施例の
動作を説明する。プリンタのイニシャライズ動作時(プ
リンタの電源が投入された時およびリセット信号が与え
られた時)に、まずキャリッジモータ3が駆動され、キ
ャリッジ6はホームポジション方向へ移動を開始する。
エンコーダモジュール4はスケール板の位置被検出部の
透過部と遮蔽部を検出しパルスを出力する。CPU1は
この出力パルスの監視を開始する。キャリッジ6が移動
を継続してスケール板7の位置被検出部を設けていない
部分(図3A部)に到達すると出力パルスは変化しなく
なる。所定時間T1経過してもエンコーダモジュールの
出力パルスが変化しないことを検知するとCPU1はキ
ャリッジモータ3の駆動を停止させ、ポジションカウン
タ5を初期化する。(つまりこの位置をホームポジショ
ンとするわけである。)この様子を図4に示す。ここで
所定時間T1はキャリッジの設定移動速度に応じたエン
コーダモジュールの出力パルスの周期よりも長くなけれ
ばならないのは言うまでもないが、キャリッジの立ち上
がり時や定速走行中の速度変動時に誤って検出しないよ
うな時間で、かつ図3A部においては極力早く検知し停
止できるような時間に設定されている。また本実施例で
はポジションカウンタ5はリセット機能付4ビットの・
UP/DOWN・カウンタにて構成した。回路図を図5
に示す。ホームポジション位置にて停止後、リセット端
子に信号を与えることによりポジションカウンタの初期
化が行われる。The operation of one embodiment of the present invention will be described with reference to FIGS. At the time of the initialization operation of the printer (when the power of the printer is turned on and the reset signal is given), first, the carriage motor 3 is driven, and the carriage 6 starts to move toward the home position.
The encoder module 4 detects a transmitting part and a shielding part of the position detection part of the scale plate and outputs a pulse. The CPU 1 starts monitoring the output pulse. When the carriage 6 continues to move and reaches the portion of the scale plate 7 where the position detection portion is not provided (portion A in FIG. 3), the output pulse does not change. When detecting that the output pulse of the encoder module does not change even after the lapse of the predetermined time T1, the CPU 1 stops driving the carriage motor 3 and initializes the position counter 5. (That is, this position is set as the home position.) This state is shown in FIG. Here, it is needless to say that the predetermined time T1 must be longer than the period of the output pulse of the encoder module corresponding to the set moving speed of the carriage, but it is not erroneously detected at the time of rising of the carriage or at the time of speed fluctuation during constant speed running. The time is set so as to be able to detect and stop as early as possible in FIG. 3A. In this embodiment, the position counter 5 is a 4-bit
It consisted of UP / DOWN counter. Figure 5 for the circuit diagram
Shown in After stopping at the home position, the position counter is initialized by applying a signal to the reset terminal.
【0013】以上の動作によりプリンタのホームポジシ
ョン設定が完了したわけであり、これ以降はポジション
カウンタにより位置管理が行われる。なおスケール板の
位置被検出部を設けていない部分の長さを、停止指令後
キャリッジモータの停止に必要な距離以上設けておけば
キャリッジをフレームやストッパに衝突させることなく
ホームポジション設定が可能となる。構造的に距離を大
きく取り得ない場合は停止指令後にフレームやストッパ
に衝突させることになるが、キャリッジモータは駆動を
遮断されており慣性力のみによる衝突となるため衝撃力
は極めて小さくできる。またスケール板の位置被検出部
を設けていない部分においてはエンコーダパルスは変化
しないので減速時、停止時あるいは衝突時のキャリッジ
の振動によってもポジションカウンタが誤動作するよう
なこともない。さらに、基準位置はスケール板の位置被
検出部の設定により一意的に決まるためロータリエンコ
ーダとホームポジションセンサによるホームポジション
設定装置のような位相関係による位置精度の劣化もな
く、極めて位置精度の高いプリンタが実現できる。The above operation completes the setting of the home position of the printer, and thereafter the position is managed by the position counter. If the length of the portion of the scale plate where the position detection part is not provided is longer than the distance required for stopping the carriage motor after the stop command, the home position can be set without causing the carriage to collide with the frame or stopper. Become. If the distance cannot be made large structurally, a collision with the frame or the stopper will occur after the stop command. However, since the drive of the carriage motor is cut off and the collision is caused only by the inertial force, the impact force can be extremely small. In addition, since the encoder pulse does not change in a portion of the scale plate where the position detection portion is not provided, the position counter does not malfunction due to vibration of the carriage at the time of deceleration, stop, or collision. Furthermore, since the reference position is uniquely determined by the setting of the position detection portion of the scale plate, there is no deterioration in position accuracy due to the phase relationship as in a home position setting device using a rotary encoder and a home position sensor, and a printer with extremely high position accuracy. Can be realized.
【0014】なお、イニシャライズ動作時にキャリッジ
が位置被検出部を設けていない部分(つまりはホームポ
ジション内)にある場合は、エンコーダモジュールの出
力パルスは変化し得ないため、フレームあるいはストッ
パにキャリッジが押し当てられた状態のまま所定時間経
過後にキャリッジモータが停止し、ポジションカウンタ
の初期化が行われる。したがってキャリッジがホームポ
ジション外にある場合と全く同様の制御でホームポジシ
ョン設定が可能となる。しかし、キャリッジの衝突や押
し当てを防ぐ必要がある場合はイニシャライズ動作時に
まずキャリッジをホームポジションとは逆の方向に動か
し、エンコーダモジュールの出力パルスの変化を確認し
た後ホームポジション方向への移動を行えば常に同一の
条件でのホームポジション設定動作が行え、キャリッジ
のフレームやストッパへの衝突や押し当てを回避でき
る。When the carriage is located at a position where the position detection section is not provided (that is, within the home position) during the initialization operation, the output pulse of the encoder module cannot change, so that the carriage is pushed by the frame or the stopper. The carriage motor stops after a predetermined time has elapsed with the contact state kept, and the position counter is initialized. Therefore, the home position can be set by exactly the same control as when the carriage is outside the home position. However, if it is necessary to prevent collision or pressing of the carriage, first move the carriage in the direction opposite to the home position during the initialization operation, check the change in the output pulse of the encoder module, and then move in the direction of the home position. For example, the home position setting operation can always be performed under the same conditions, and collision and pressing of the carriage against the frame and the stopper can be avoided.
【0015】本実施例においてはフォトインタラプタ
と、光の透過部と遮蔽部を設けたスケール板とによる光
学式の位置検出手段を用いたが、磁気抵抗素子と、磁性
体に多極着磁を施したスケール板とによる磁気式の位置
検出手段によっても同様の装置が構成できる。このとき
位置被検出部を設けない部分は、非着磁とするかN極か
S極のどちらか一方のみの着磁とすればよい。In this embodiment, an optical position detecting means using a photo interrupter and a scale plate provided with a light transmitting portion and a shielding portion is used. However, multi-polar magnetization is applied to the magnetoresistive element and the magnetic material. A similar device can be configured by a magnetic type position detecting means using the applied scale plate. At this time, the portion where the position detection portion is not provided may be non-magnetized or magnetized with only one of the N pole and the S pole.
【0016】[0016]
【発明の効果】以上説明してきたように、本発明によれ
ば、特別なセンサ等を設けることなしに、簡単な制御に
より位置検出精度の高いキャリッジのホームポジション
設定が可能となり、安価で高信頼性のプリンタを提供で
きるものである。As described above, according to the present invention, it is possible to set the carriage home position with high position detection accuracy by simple control without providing a special sensor or the like, and it is inexpensive and highly reliable. It is possible to provide a printer with high reliability.
【図1】本発明の一実施例を示すブロック図。FIG. 1 is a block diagram showing one embodiment of the present invention.
【図2】本発明の一実施例を示すプリンタの構造図。FIG. 2 is a structural view of a printer showing one embodiment of the present invention.
【図3】本発明の一実施例のスケール板の構造図。FIG. 3 is a structural view of a scale plate according to an embodiment of the present invention.
【図4】本発明の一実施例のエンコーダモジュールの出
力パルスのタイミングを説明する図。FIG. 4 is a view for explaining the timing of output pulses of the encoder module according to one embodiment of the present invention.
【図5】本発明の一実施例のポジションカウンタの構成
例を示す回路図。FIG. 5 is a circuit diagram showing a configuration example of a position counter according to one embodiment of the present invention.
【図6】従来例のホームポジションセンサの一構成例を
示す回路図。FIG. 6 is a circuit diagram showing a configuration example of a conventional home position sensor.
【図7】従来例のエンコーダの出力パルスとホームポジ
ションセンサの出力パルスを説明する図。FIG. 7 is a diagram illustrating output pulses of a conventional encoder and output pulses of a home position sensor.
【図8】従来例を示すブロック図。FIG. 8 is a block diagram showing a conventional example.
【図9】従来例を示すプリンタの構造図。FIG. 9 is a structural view of a printer showing a conventional example.
1 CPU 2 キャリッジモータ駆動回路 3 キャリッジモータ 4 エンコーダモジュール 5 ポジションカウンタ 6 キャリッジ 7 スケール板 8 プラテン 9 記録媒体 10 記録ヘッド 11 ロータリエンコーダ 12 ホームポジション 13 遮蔽板 14 フレーム Reference Signs List 1 CPU 2 Carriage motor drive circuit 3 Carriage motor 4 Encoder module 5 Position counter 6 Carriage 7 Scale plate 8 Platen 9 Recording medium 10 Recording head 11 Rotary encoder 12 Home position 13 Shielding plate 14 Frame
フロントページの続き (56)参考文献 特開 昭60−65308(JP,A) 特開 平5−31990(JP,A) 特開 平2−555(JP,A) 特開 平1−221271(JP,A) 特開 昭59−26283(JP,A) 特開 昭58−7386(JP,A) 実開 昭54−48707(JP,U) (58)調査した分野(Int.Cl.7,DB名) B41J 19/18 Continuation of the front page (56) References JP-A-60-65308 (JP, A) JP-A-5-31990 (JP, A) JP-A-2-555 (JP, A) JP-A-1-221271 (JP) JP-A-59-26283 (JP, A) JP-A-58-7386 (JP, A) JP-A-54-48707 (JP, U) (58) Fields investigated (Int. Cl. 7 , DB Name) B41J 19/18
Claims (6)
設したスケール板と、キャリッジに取り付けられ、前記
スケール板と相対移動可能にすることで信号を出力する
検出手段と、前記検出手段からの出力信号により位置カ
ウンタを変化させ、前記位置カウンタでキャリッジ位置
の管理する位置管理手段と、前記位置管理手段の位置カ
ウンタ情報を基にモータによりキャリッジを制御するキ
ャリッジ制御手段と、を有して前記キャリッジ上の記録
ヘッドにより印字を行うシリアルプリンタであって、 前記スケール板は、一端を透明部か遮蔽部のみの非検出
部とし、それ以外を透明部と遮蔽部を交互に繰り返す可
検出部として構成した上で、 前記位置管理手段は、電源投入時において、キャリッジ
制御手段に要求してキャリッジを駆動させ、前記検出手
段の出力信号の変化態様を参照して、前記非検出部領域
内にキャリッジが入ったことを検出した時に、前記キャ
リッジの前記位置カウンタを初期化するシリアルプリン
タ。1. A scale plate disposed on a main body along a moving direction of a carriage, a detecting unit attached to the carriage and outputting a signal by enabling relative movement with respect to the scale plate, A position management unit that changes a position counter by an output signal and manages a carriage position with the position counter; anda carriage control unit that controls a carriage by a motor based on position counter information of the position management unit. A serial printer that performs printing by a recording head on a carriage, wherein the scale plate has one end as a non-detection unit having only a transparent portion or a shielding portion, and the other portion as a detectable portion that alternately repeats a transparent portion and a shielding portion. With this configuration, the position management unit requests the carriage control unit to drive the carriage when power is turned on. Referring to change aspects of the output signal of the detecting means, wherein when detecting that it has entered the carriage to the non-detection unit area, a serial printer for initializing said position counter of the carriage.
設され、一端は透明部か遮蔽部のみの非検出部とし、そ
れ以外は透明部と遮蔽部を交互に繰り返す可検出部とし
たスケール板と、 キャリッジに取り付けられ、前記スケール板と相対移動
可能にすることで前記透明部と遮蔽部を検出して信号を
出力する検出手段と、 前記検出手段からの出力信号により位置カウンタを変化
させ、前記位置カウンタでキャリッジ位置の管理する位
置管理手段と、 前記位置管理手段の位置カウンタ情報を基にモータによ
りキャリッジを制御するキャリッジ制御手段と、 を有して前記キャリッジ上の記録ヘッドにより印字を行
うシリアルプリンタであって、 前記位置管理手段は、キャリッジ制御手段に要求して可
検出部方向から非検出部方向へとキャリッジを駆動さ
せ、前記検出手段の出力信号が所定時間以上変化しなく
なった時点でキャリッジモータの駆動を停止させ、キャ
リッジモータの駆動停止時点において前記位置カウンタ
を初期化するシリアルプリンタ。2. A scale provided on a main body along a moving direction of a carriage, one end of which is a non-detection portion having only a transparent portion or a shielding portion, and the other is a detectable portion which alternately alternates a transparent portion and a shielding portion. A detecting means for detecting the transparent part and the shielding part and outputting a signal by being attached to a carriage and being movable relative to the scale plate; and changing a position counter according to an output signal from the detecting means. A position management unit that manages a carriage position with the position counter; and a carriage control unit that controls a carriage with a motor based on the position counter information of the position management unit. Wherein the position management unit requests the carriage control unit to move the carriage from the detectable unit direction to the non-detectable unit direction. It is moving, the driving of the carriage motor is stopped when the output signal of said detecting means is no longer changed more than a predetermined time, calibration
A serial printer that initializes the position counter when the ridge motor stops driving .
設され、一端は透明部か遮蔽部のみの非検出部とし、そ
れ以外は透明部と遮蔽部を交互に繰り返す可検出部とし
たスケール板と、 キャリッジに取り付けられ、前記スケール板と相対移動
可能にすることで前記透明部と遮蔽部を検出して信号を
出力する検出手段と、 前記検出手段からの出力信号を参照して前記キャリッジ
の位置を算出し、位置カウンタでキャリッジ位置の管理
する位置管理手段と、 前記位置管理手段の位置カウンタ情報を基にモータによ
りキャリッジを制御するキャリッジ制御手段と、 を有して前記キャリッジ上の記録ヘッドにより印字を行
うシリアルプリンタであって、 前記位置管理手段は、キャリッジ制御手段に要求して非
検出部方向から可検出部方向へとキャリッジを駆動さ
せ、前記検出手段の出力信号の変化を検出した後キャリ
ッジモータの駆動を停止させ、さらにキャリッジ制御手
段に要求して逆方向にキャリッジを駆動させ、前記検出
手段の出力信号が所定時間以上変化しなくなった時点で
キャリッジモータの駆動を停止させ、キャリッジモータ
の駆動停止時点において前記位置カウンタを初期化する
シリアルプリンタ。3. A scale disposed on the main body along the moving direction of the carriage, one end of the scale being a non-detection portion having only a transparent portion or a shielding portion, and the other being a detectable portion which alternately alternates a transparent portion and a shielding portion. Plate, detection means attached to the carriage, and detecting the transparent part and the shielding part by making it relatively movable with respect to the scale plate, and outputting a signal; and referring to an output signal from the detection means, the carriage Position management means for calculating the position of the carriage and managing the carriage position with a position counter; and carriage control means for controlling the carriage with a motor based on the position counter information of the position management means. A serial printer for performing printing by a head, wherein the position management unit requests the carriage control unit to carry from the non-detection unit direction to the detectable unit direction. Drives the di-, carry after detecting a change in the output signal of said detecting means
The drive of the carriage motor is stopped, and the carriage is driven in the reverse direction in response to a request from the carriage control means.When the output signal of the detection means does not change for a predetermined time or more,
Stop the drive of the carriage motor,
A serial printer that initializes the position counter at the time of stopping the operation of the printer.
出手段は電気的に90度位相差のあるA相とB相を出力
するフォトインタラプタで構成されたエンコーダモジュ
ールである請求項1乃至3のいずれか1に記載のシリア
ルプリンタ。4. The motor according to claim 1, wherein said motor is a DC motor, and said detecting means is an encoder module comprising a photointerrupter for outputting an A phase and a B phase having a phase difference of 90 degrees electrically. A serial printer according to any one of the preceding claims.
設され、一端は透明部か遮蔽部のみの非検出部とし、そ
れ以外は透明部と遮蔽部を交互に繰り返す可検出部とし
たスケール板と、キャリッジに取り付けられ、前記スケ
ール板と相対移動可能にすることで前記透明部と遮蔽部
を検出して信号を出力する検出手段と、前記検出手段か
らの出力信号により位置カウンタを変化させ、前記位置
カウンタでキャリッジ位置の管理する位置管理手段と、
前記位置管理手段の位置カウンタ情報を基にモータによ
りキャリッジを制御するキャリッジ制御手段と、を有し
て前記キャリッジに搭載した記録ヘッドにより印字を行
うシリアルプリンタにおけるホーム位置設定方法であっ
て、 前記位置管理手段がキャリッジ制御手段に要求して可検
出部方向から非検出部方向へとキャリッジを駆動させる
過程と、 前記検出手段の出力信号が所定時間以上変化しなくなっ
た時点でキャリッジモータの駆動を停止させる過程と、キャリッジモータの駆動停止時点 において前記位置カウ
ンタを初期化する過程と、 により構成されるホーム位置設定方法。5. A scale disposed on the main body along the direction of movement of the carriage, one end of which is a non-detection portion having only a transparent portion or a shielding portion, and the other portion is a detectable portion which alternately alternates between a transparent portion and a shielding portion. Plate, a detecting means attached to the carriage, which detects the transparent part and the shielding part by enabling relative movement with respect to the scale plate and outputs a signal, and changes a position counter by an output signal from the detecting means. and location management means for managing the carriage position at said position counter,
A carriage control means for controlling a carriage by a motor based on position counter information of the position management means; and a home position setting method in a serial printer for performing printing by a recording head mounted on the carriage, wherein the position a step of driving the carriage and management means request the carriage control means from the detectability unit direction to the non-detection unit direction, stops the driving of the carriage motor when the output signal of said detecting means is no longer changed more than a predetermined time And a step of initializing the position counter when the carriage motor stops driving .
設され、一端は透明部か遮蔽部のみの非検出部とし、そ
れ以外は透明部と遮蔽部を交互に繰り返す可検出部とし
たスケール板と、キャリッジに取り付けられ、前記スケ
ール板と相対移動可能にすることで前記透明部と遮蔽部
を検出して信号を出力する検出手段と、前記検出手段か
らの出力信号を参照して前記キャリッジの位置を算出
し、位置カウンタでキャリッジ位置の管理する位置管理
手段と、前記位置管理手段の位置カウンタ情報を基にモ
ータによりキャリッジを制御するキャリッジ制御手段
と、を有して前記キャリッジに搭載した記録ヘッドによ
り印字を行うシリアルプリンタであって、 前記位置管理手段がキャリッジ制御手段に要求して非検
出部方向から可検出部方向へとキャリッジを駆動させる
過程と、 前記検出手段の出力信号の変化を検出した後キャリッジ
を停止させる過程と、 逆方向にキャリッジを駆動させる過程と、 前記検出手段の出力信号が所定時間以上変化しなくなっ
た時点でキャリッジモータの駆動を停止させる過程と、キャリッジモータの駆動停止時点 において前記位置カウ
ンタを初期化する過程と、 により構成されるホーム位置設定方法。6. A scale disposed on the main body along the direction of movement of the carriage, one end of which is a non-detection portion having only a transparent portion or a shielding portion, and the other is a detectable portion which alternately alternates between a transparent portion and a shielding portion. Plate, a detecting means attached to the carriage, and detecting the transparent part and the shielding part by making it relatively movable with respect to the scale plate and outputting a signal, and the carriage referring to an output signal from the detecting means. Position management means for calculating the position of the carriage and managing the carriage position with a position counter, and carriage control means for controlling the carriage by a motor based on the position counter information of the position management means, mounted on the carriage. A serial printer for performing printing by a recording head, wherein the position management unit requests the carriage control unit to move the carriage from the non-detection unit direction to the detectable unit direction. Driving the carriage, stopping the carriage after detecting a change in the output signal of the detection means, driving the carriage in the reverse direction, and the output signal of the detection means does not change for a predetermined time or more. a step of stopping the driving of the carriage motor at the home position setting method configured and process by initializing the position counter in the driving stop time of the carriage motor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3238126A JP3047549B2 (en) | 1991-09-18 | 1991-09-18 | Serial printer and its home position setting method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3238126A JP3047549B2 (en) | 1991-09-18 | 1991-09-18 | Serial printer and its home position setting method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0577514A JPH0577514A (en) | 1993-03-30 |
| JP3047549B2 true JP3047549B2 (en) | 2000-05-29 |
Family
ID=17025568
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3238126A Expired - Fee Related JP3047549B2 (en) | 1991-09-18 | 1991-09-18 | Serial printer and its home position setting method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3047549B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4780303B2 (en) | 2006-01-17 | 2011-09-28 | ブラザー工業株式会社 | Image recording device |
| JP5034626B2 (en) * | 2007-04-10 | 2012-09-26 | セイコーエプソン株式会社 | Recording apparatus and liquid ejecting apparatus |
| CN109288231A (en) * | 2018-08-10 | 2019-02-01 | 深圳市邻友通科技发展有限公司 | Grating-based motor positioning method, device, nail machine equipment and medium |
| JP7103273B2 (en) * | 2019-02-28 | 2022-07-20 | カシオ計算機株式会社 | Position detection device, printing device and position detection method |
-
1991
- 1991-09-18 JP JP3238126A patent/JP3047549B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0577514A (en) | 1993-03-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4786803A (en) | Single channel encoder with specific scale support structure | |
| US5075609A (en) | Recording apparatus | |
| KR100606582B1 (en) | Windshield wiper drive | |
| JPH08275490A (en) | Electric motor with encoder | |
| US6906488B2 (en) | Position control system for use in driving system transmitting driving force of driving source to driven member through power transmission mechanism, image forming apparatus, position control method, program for performing the position control method, and storage medium having the program stored thereon | |
| JP3047549B2 (en) | Serial printer and its home position setting method | |
| EP0856938B1 (en) | Direct current motor for a closed-loop control system, closed-loop control system and printer including such a motor and methods for controlling the position of such a motor | |
| JP4595682B2 (en) | Linear drive | |
| JPH0459267A (en) | recording device | |
| JP4833617B2 (en) | Print medium transport apparatus and print medium transport method | |
| JP2004511010A5 (en) | ||
| JP3095984B2 (en) | Positioning drive | |
| JPH07108105B2 (en) | Ultrasonic motor driving method | |
| JP4578815B2 (en) | Control system and electronic device using piezoelectric actuator | |
| JP2001327140A (en) | Micro servo motor unit | |
| JPH1130502A (en) | Position detecting mechanism | |
| JPS58219079A (en) | Home position setting system for carriage in serial printer | |
| JP5188055B2 (en) | DRIVE DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
| JPH08295028A (en) | Recording device | |
| JPH04372563A (en) | Linear direct current motor and image scanner using this motor | |
| JPH0514628A (en) | Image reader drive system | |
| JP2556403B2 (en) | Ultrasonic motor position detection method | |
| JPS6034886A (en) | printing device | |
| JPS6236965A (en) | Color image reading device | |
| JPH1014292A (en) | Step out detector for stepper motor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080324 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090324 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090324 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100324 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |