JP3061091B2 - Serial printer - Google Patents

Serial printer

Info

Publication number
JP3061091B2
JP3061091B2 JP5042967A JP4296793A JP3061091B2 JP 3061091 B2 JP3061091 B2 JP 3061091B2 JP 5042967 A JP5042967 A JP 5042967A JP 4296793 A JP4296793 A JP 4296793A JP 3061091 B2 JP3061091 B2 JP 3061091B2
Authority
JP
Japan
Prior art keywords
carriage
stop
movement
printer
linear scale
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
JP5042967A
Other languages
Japanese (ja)
Other versions
JPH06255195A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP5042967A priority Critical patent/JP3061091B2/en
Publication of JPH06255195A publication Critical patent/JPH06255195A/en
Application granted granted Critical
Publication of JP3061091B2 publication Critical patent/JP3061091B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、シリアルプリンタの印
字位置の起点となるホーム位置の検出方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for detecting a home position which is a starting point of a printing position of a serial printer.

【0002】[0002]

【従来の技術】ドットマトリックスで文字やビットイメ
ージを印刷するシリアルプリンタは、コストパフォーマ
ンスが優れるているために広く一般に普及している。こ
れらドットマトリックスのプリンタの多くにおいては、
印字行方向の印字位置を特定するために一般に光学式の
透過型検出器による位置検出が行われる。
2. Description of the Related Art Serial printers for printing characters and bit images using a dot matrix are widely used because of their excellent cost performance. In many of these dot matrix printers,
In general, in order to specify the printing position in the printing line direction, position detection is performed by an optical transmission type detector.

【0003】まず、インパクト式シリアルプリンタの外
観を示す図5を基に一般的な印字方式を説明する。1は
印字ヘッド、2はキャリッジ、3はキャリッジガイド
軸、4はプラテン、8はサイドフレームである。キャリ
ッジ2には遮蔽板10が設けられている。図ではリボン
カートリッジ、印刷用紙は図示していない。
First, a general printing method will be described with reference to FIG. 5 showing the appearance of an impact type serial printer. 1 is a print head, 2 is a carriage, 3 is a carriage guide shaft, 4 is a platen, and 8 is a side frame. The carriage 2 is provided with a shielding plate 10. In the figure, the ribbon cartridge and the printing paper are not shown.

【0004】印字位置の起点は、プリンタの電源投入時
あるいはリセット時に遮蔽板10が検出器9を通過した
位置として決定されている。印字動作時においては、該
起点あるいは該起点から任意の距離だけ離れた位置をホ
ーム位置とし、各文字はホーム位置を基準として印字位
置を管理され、これによって行方向の印字が行われる。
The starting point of the printing position is determined as the position where the shield plate 10 has passed the detector 9 when the power of the printer is turned on or when the printer is reset. In the printing operation, the starting point or a position separated by an arbitrary distance from the starting point is set as a home position, and the printing position of each character is managed with reference to the home position, whereby printing in the line direction is performed.

【0005】更に、図5の構成のシリアルプリンタにお
いて、印字する文字に高い位置精度が要求される場合
は、キャリッジに搭載した検出器6とキャリッジを支持
するガイド軸に平行に設置した高分解能のリニアスケー
ル7とにより印字位置を管理する方式がとられてる。検
出器6には一般に光学式のものと磁気式のものの二通り
が使われる。
Further, in the serial printer having the configuration shown in FIG. 5, when high positional accuracy is required for characters to be printed, a detector 6 mounted on a carriage and a high-resolution mounted parallel to a guide shaft supporting the carriage are required. The printing position is managed by the linear scale 7. In general, two types of detectors are used: an optical type and a magnetic type.

【0006】[0006]

【発明が解決しようとする課題】しかし、従来のリニア
スケール7を設けた原点位置設定方法においては、原点
位置検出用の検出器2とリニアスケール7の検出器6の
二つにより位置が管理されるため、原点位置とリニアス
ケール位置の検出位置が一致せず、原点位置から設定さ
れる印字のホーム位置に対する精度が悪いといった欠点
があった。また、位置管理にも同様に二つの検出器を用
いるため、機能に対してコスト比が高くなるといった欠
点もあった。更に、リニアスケール7による検出器6の
みを用いた原点位置設定方式では、キャリッジの移動停
止により原点位置を判別するため、原点位置方向への移
動中に印字用紙のジャム等により停止した場合と本来の
原点位置に停止した場合の区別がつかなくなり、印字デ
ータを外部機器より受けて印字を開始した後で原点位置
の設定ミスを検出するという問題も生じた。
However, in the conventional method of setting the origin position provided with the linear scale 7, the position is managed by the detector 2 for detecting the origin position and the detector 6 of the linear scale 7. Therefore, there is a drawback that the origin position and the detection position of the linear scale position do not match, and the accuracy of printing set from the origin position with respect to the home position is poor. In addition, since two detectors are also used for position management, there is a disadvantage that the cost ratio is higher than the function. Further, in the origin position setting method using only the detector 6 by the linear scale 7, the origin position is determined by stopping the movement of the carriage. When the printer stops at the origin position, it becomes impossible to distinguish between them, and there is also a problem that a mistake in setting the origin position is detected after print data is received from an external device and printing is started.

【0007】[0007]

【課題を解決するための手段】このような問題を解決す
るために本発明のシリアルプリンタは、印字ヘッドを
載したキャリッジの移動経路に配置されたリニアスケー
ルと、前記キャリッジに搭載され、前記キャリッジの移
動に対応してパルスを出力するリニアスケール読取り手
段とを備えたシリアルプリンタにおいて、原点位置の方
向に前記キャリッジを移動させ、前記リニアスケール読
取り手段からのパルスの前縁により起動し、また後縁に
より停止するタイマからなる前記キャリッジの停止を
出するキャリッジ停止検出手段と、前記キャリッジ停止
検出手段により検出された停止位置を起点とし、前記キ
ャリッジを前記原点位置とは逆の方向に移動させ、予め
設定されている移動距離を移動したかかを判する移
動終了判定手段と、前記移動終了判定手段による判定の
結果、前記予め設定されている動距離を前記キャリッ
ジが移動できなかった場合はエラー信号発生するエラ
ー信号発生手段と、を備えていることを特徴とする。
Means for Solving the Problems] serial printer of the present invention in order to solve such a problem, tower the printhead
The linear scale located in the movement path of the mounted carriage
And mounted on the carriage, and moved by the carriage.
Linear scale reader that outputs pulses in response to movement
In the serial printer having a stage, moving the carriage in the direction of the original point position, the linear scale reading
Triggered by the leading edge of the pulse from the
A carriage stop detecting means for detecting stop of the carriage, which comprises a timer for stopping the carriage, and a stop position detected by the carriage stop detect means as a starting point, and moving the carriage in a direction opposite to the origin position. the carriage is moved, a movement termination determining means for determine a constant whether to move the moving distance that is set in advance, of the determination by the mobile end determining unit result, the transfer Do距 release said set in advance to There, characterized in that it e Bei a, and an error signal generating means for generating error signals if it can not move.

【0008】[0008]

【作用】本発明のシリアルプリンタによれば、キャリッ
ジに搭載した検出器とリニアスケールにより、電源投入
時あるいはリセット時等のプリンタイニシャライズ時に
キャリッジがプリンタの機構部の停止部品に当たること
を、リニアスケールのパルスの前縁と後縁との時間によ
り検出して、極めて短時間で検出する。
According to the serial printer of the present invention, the detector and the linear scale mounted on the carriage allow the carriage to hit a stop part of the mechanism of the printer when the printer is initialized, such as when the power is turned on or when the printer is reset.
The time between the leading and trailing edges of the pulse on the linear scale.
Detection in a very short time.

【0009】[0009]

【実施例】本発明を1実施例にしたがって説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described according to one embodiment.

【0010】図1にインパクト式シリアルプリンタの外
観を示す。1は印字ヘッド、2はキャリッジ、3はキャ
リッジガイド軸、4はプラテン、8はサイドフレームで
ある。図では構成が分かりやすいようにリボンカートリ
ッジ、印刷用紙は図示していない。キャリッジガイド軸
3と平行に高分解能のリニアスケール7が設置され、キ
ャリッジに搭載した検出器6により位置を検出する。5
はキャリッジ停止用のストッパーである。
FIG. 1 shows the appearance of an impact type serial printer. 1 is a print head, 2 is a carriage, 3 is a carriage guide shaft, 4 is a platen, and 8 is a side frame. In the figure, the ribbon cartridge and the printing paper are not shown for easy understanding of the configuration. A high-resolution linear scale 7 is provided in parallel with the carriage guide shaft 3, and a position is detected by a detector 6 mounted on the carriage. 5
Is a stopper for stopping the carriage.

【0011】図2に位置検出動作の概略を示す。プリン
タの初期化時にA点に停止していたキャリッジ2は、ま
ずストッパー5の方向に駆動される(アの動作)。キャ
リッジ停止検出後、キャリッジは原点位置を起点にして
プリンタの最大印字可能領域に相当する距離だけ移動す
る(イの動作)。そして、最大印字領域の距離だけ移動
が行われた場合は、キャリッジは予め設定されているホ
ーム位置に移動して停止する(ウの動作)。
FIG. 2 shows the outline of the position detecting operation. The carriage 2 stopped at the point A when the printer is initialized is first driven in the direction of the stopper 5 (operation (a)). After detecting the carriage stop, the carriage moves by a distance corresponding to the maximum printable area of the printer from the origin position as an origin (operation (a)). Then, when the carriage is moved by the distance of the maximum printing area, the carriage moves to a preset home position and stops (operation c).

【0012】図4にキャリッジ停止判定の説明図を示
す。キャリッジ移動速度プロフィールはキャリッジ停止
から設定速度v1までの速度変化の様子を示している。
リニアスケールと検出器により生成されたエンコーダA
信号は、キャリッジ移動速度に対応して出力され、停止
状態から加速されるに従ってエンコーダA信号の周期は
短くなる。ここで、キャリッジ停止検出手段はエンコー
ダA信号のエッジの反転毎にタイマー値Tdをセットし
て計時動作を行なう。通常の状態では、タイマー値Td
はキャリッジの加速あるいは減速状態におけるエンコー
ダA信号の反転周期より長く設定されているため、必ず
タイマーが計時を終了する前にエンコーダA信号の反転
がおこる。
FIG. 4 is an explanatory diagram of the carriage stop determination. The carriage moving speed profile shows how the speed changes from the stop of the carriage to the set speed v1.
Encoder A generated by linear scale and detector
The signal is output in accordance with the carriage moving speed, and the cycle of the encoder A signal becomes shorter as the signal is accelerated from the stopped state. Here, the carriage stop detecting means sets a timer value Td every time the edge of the encoder A signal is inverted, and performs a timing operation. In a normal state, the timer value Td
Is set longer than the inversion cycle of the encoder A signal in the state of acceleration or deceleration of the carriage, the inversion of the encoder A signal always occurs before the timer finishes timing.

【0013】図3のフローチャートに従って制御方式を
説明する。
The control method will be described with reference to the flowchart of FIG.

【0014】プリンタの電源投入等の初期動作により、
まずキャリッジ移動のための移動速度1が設定され原点
位置方向に移動を開始する(ステップ1,2)。
By an initial operation such as turning on the power of the printer,
First, the moving speed 1 for the carriage movement is set, and the movement is started in the direction of the origin (steps 1 and 2).

【0015】移動開始に伴ってエンコーダA信号が発生
する。キャリッジ停止検出手段はエンコーダA信号のレ
ベル反転毎に信号レベルを記憶し、タイマー値Tdをタ
イマー1にセットしタイマーをスタートさせる(ステッ
プ3,4)。
An encoder A signal is generated at the start of the movement. The carriage stop detecting means stores the signal level every time the level of the encoder A signal is inverted, sets the timer value Td to the timer 1, and starts the timer (steps 3 and 4).

【0016】エンコーダA信号のレベルが記憶している
レベルから変化したかどうかの判定をおこない(ステッ
プ5)、エンコーダA信号のレベル変化が計時を行なっ
ているタイマー1の計時の終了より早い場合はエンコー
ダA信号のレベル変化検出時点でタイマーの計時をスト
ップし(ステップ18)、再度エンコーダA信号のレベル
記憶ステップにもどる。
It is determined whether or not the level of the encoder A signal has changed from the stored level (step 5). If the change in the level of the encoder A signal is earlier than the end of the time measurement of the timer 1 that is performing the time measurement, When the level change of the encoder A signal is detected, the timer stops counting (step 18), and returns to the encoder A signal level storage step again.

【0017】エンコーダA信号のレベル変化よりタイマ
ー1の計時の終了が早い場合は、キャリッジが停止した
と判断し、タイマー1の計時をストップし、キャリッジ
の移動を停止する(ステップ6,7,8)。
If the timer 1 finishes counting the timer earlier than the change in the level of the encoder A signal, it is determined that the carriage has stopped, the timer 1 stops counting, and the carriage stops moving (steps 6, 7, 8). ).

【0018】ここで、停止時のエンコーダA信号の計数
値を原点位置として仮記憶する(ステップ9)。
Here, the count value of the encoder A signal at the time of stop is temporarily stored as the origin position (step 9).

【0019】次に、キャリッジ移動のための移動速度2
を設定し、原点と反対の方向にキャリッジを駆動する
(ステップ10,11)。
Next, the moving speed 2 for moving the carriage
Is set, and the carriage is driven in the direction opposite to the origin (steps 10 and 11).

【0020】ここで、キャリッジ移動手段に予め設定さ
れている移動可能距離に対して移動が終了したかどうか
の判別が移動終了判別手段によりなされる(ステップ1
2)。
Here, it is determined by the movement end determining means whether or not the movement has been completed for the movable distance set in advance by the carriage moving means (step 1).
2).

【0021】移動が終了出来た場合は、仮記憶されてい
た原点位置を原点位置として本記憶する。そして、キャ
リッジ移動の為の移動速度3を設定し、印字開始の起点
となるホーム位置方向に移動し、ホーム位置確認後モー
タの駆動を停止しキャリッジを停止させる(ステップ1
3,14,15,16)。
When the movement is completed, the temporarily stored origin position is permanently stored as the origin position. Then, the moving speed 3 for moving the carriage is set, the moving is performed in the direction of the home position which is the starting point of the printing start, and after confirming the home position, the driving of the motor is stopped and the carriage is stopped (step 1).
3,14,15,16).

【0022】ステップ12において移動可能距離分の移動
が出来なかった場合は検出した原点位置が不正確な場合
なので、エラー信号発生手段はブザーの鳴動、ランプの
点滅等によりエラー信号を発報し(ステップ17)、モー
タの駆動を停止する。
If the movement of the movable distance is not possible in step 12, the detected origin position is inaccurate, and the error signal generating means issues an error signal by sounding a buzzer, blinking a lamp, or the like ( Step 17), stop driving the motor.

【0023】エラー発報によりプリンタの自己動作では
回避できない状態がプリンタ使用者に認識された場合
は、使用者によって修復された後、再度プリンタの初期
動作が実施される。
When the printer user recognizes a state that cannot be circumvented by the printer's own operation due to the error notification, the printer is restored and then the printer's initial operation is performed again.

【0024】[0024]

【発明の効果】本発明のシリアルプリンタによれば、キ
ャリッジに搭載した検出器とリニアスケールにより、プ
リンタの初期化時にキャリッジがプリンタの機構部の停
止部品に当たって停止したことを、リニアスケールのパ
ルスの前縁と後縁との時間により検出して、極めて短時
間で検出することができる。
According to the serial printer of the present invention, the detector and a linear scale mounted on the carriage, that the carriage has stopped me per stop part of the mechanical part of the printer at the time of initialization of the printer, linear Scale
Very short time detected by the time between the leading edge and the trailing edge
Can be detected between.

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

【図1】本発明の実施例のプリンタ機構の外観図。FIG. 1 is an external view of a printer mechanism according to an embodiment of the present invention.

【図2】本発明の位置検出動作の概略図。FIG. 2 is a schematic diagram of a position detecting operation according to the present invention.

【図3】本発明の位置検出方式のフローチャート。FIG. 3 is a flowchart of a position detection method according to the present invention.

【図4】本発明のキャリッジ停止判定の説明図。FIG. 4 is an explanatory diagram of carriage stop determination according to the present invention.

【図5】従来のプリンタの機構外観図。FIG. 5 is an external view of a mechanism of a conventional printer.

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

1ヘッド 2キャリッジ 3キャリッジガイド軸 4プラテン 5キャリッジ停止用ストッパー 6リニア検出器 7リニアスケール 8サイドフレーム 9ホーム検出器 10検出フラグ 1 Head 2 Carriage 3 Carriage Guide Shaft 4 Platen 5 Carriage Stopper 6 Linear Detector 7 Linear Scale 8 Side Frame 9 Home Detector 10 Detection Flag

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) B41J 19/18 B41J 29/46 ──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int. Cl. 7 , DB name) B41J 19/18 B41J 29/46

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 印字ヘッドを搭載したキャリッジの移動
経路に配置されたリニアスケールと、前記キャリッジに
搭載され、前記キャリッジの移動に対応してパルスを出
力するリニアスケール読取り手段とを備えたシリアルプ
リンタにおいて、 点位置の方向に前記キャリッジを移動させ、前記リニ
アスケール読取り手段からのパルスの前縁により起動
し、また後縁により停止するタイマからなる前記キャリ
ッジの停止を検出するキャリッジ停止検出手段と、 前記キャリッジ停止検出手段により検出された停止位置
を起点とし、前記キャリッジを前記原点位置とは逆の方
向に移動させ、予め設定されている移動距離を移動した
かを判する移動終了判定手段と、 前記移動終了判定手段による判定の結果、前記予め設定
されている動距離を前記キャリッジが移動できなかっ
た場合はエラー信号発生するエラー信号発生手段と、を備えた シリアルプリンタ。
1. Movement of a carriage on which a print head is mounted
The linear scale placed on the path and the carriage
Mounted and emits pulses in response to the movement of the carriage.
In the serial printer having a linear scale reading means for force, moving the carriage in the direction of the original point position, the linear
Triggered by leading edge of pulse from ascale reading means
Said carry comprising a timer stopped by the trailing edge.
A carriage stop detecting means for detecting a stop of the carriage, a stop position detected by the carriage stop detecting means as a starting point, and a carriage opposite to the origin position.
Moved in direction, a movement termination determining means for determine a constant whether to move the transfer Do距 away that is set in advance, of the determination by the mobile end determining unit that said preset
Serial printer and a error signal generating means for generating error signals if could not move the shift Do距 away that the carriage is.
JP5042967A 1993-03-03 1993-03-03 Serial printer Expired - Fee Related JP3061091B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5042967A JP3061091B2 (en) 1993-03-03 1993-03-03 Serial printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5042967A JP3061091B2 (en) 1993-03-03 1993-03-03 Serial printer

Publications (2)

Publication Number Publication Date
JPH06255195A JPH06255195A (en) 1994-09-13
JP3061091B2 true JP3061091B2 (en) 2000-07-10

Family

ID=12650815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5042967A Expired - Fee Related JP3061091B2 (en) 1993-03-03 1993-03-03 Serial printer

Country Status (1)

Country Link
JP (1) JP3061091B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101922307B1 (en) * 2016-07-27 2018-11-26 이종진 Inner wrapper for baby

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0958083A (en) * 1995-08-22 1997-03-04 Seiko Epson Corp Printing device and controlling method thereof
US6000865A (en) * 1995-08-22 1999-12-14 Seiko Epson Corporation Printing apparatus and a control method thereof
JP4631341B2 (en) 2004-07-27 2011-02-16 ブラザー工業株式会社 Recording apparatus and method for executing initialization process of recording apparatus
JP4726158B2 (en) * 2005-10-07 2011-07-20 株式会社リコー Image forming apparatus
JP5842409B2 (en) 2011-06-29 2016-01-13 ブラザー工業株式会社 Inkjet recording device
JP5854198B2 (en) * 2011-09-09 2016-02-09 株式会社リコー Image forming apparatus and recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101922307B1 (en) * 2016-07-27 2018-11-26 이종진 Inner wrapper for baby

Also Published As

Publication number Publication date
JPH06255195A (en) 1994-09-13

Similar Documents

Publication Publication Date Title
US4091913A (en) Printing apparatus with printing material non-motion detector
CA1118696A (en) Automatic margin setting apparatus for a scanned sheet of paper
US4265556A (en) Apparatus for setting proportional margins based upon the width of a scanned sheet of paper
JP3061091B2 (en) Serial printer
EP0659572B1 (en) Printer and method of controlling it
GB1559008A (en) Means for operating a printer
JP2694884B2 (en) Printer
JPS5859860A (en) Dot printer device
US5383399A (en) Zero hammer adjustment drum printer control technique
US4911568A (en) Printer
US4142106A (en) Transfer printing ribbon error detection system
JPS599902Y2 (en) printer device
JPS6239112B2 (en)
JPS6123409Y2 (en)
JP3021863B2 (en) Dot matrix printer
JP3638197B2 (en) Printer device
US6074114A (en) Color printer for repetitively printing a document
JPH05104837A (en) Printer
KR900007206Y1 (en) Apparatus for controlling position of carriage in printer
JPH02139271A (en) Printer
JP3126236B2 (en) Recording device
JP2003048352A (en) Printer, its controlling method and its controlling program
JPH0712725B2 (en) Print head position detection method
JPS60112476A (en) Recorder
JPH0262269A (en) Recording apparatus

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000329

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

Free format text: PAYMENT UNTIL: 20080428

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100428

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110428

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110428

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees