JPS62158070A - Position-detecting system for printing head - Google Patents

Position-detecting system for printing head

Info

Publication number
JPS62158070A
JPS62158070A JP38286A JP38286A JPS62158070A JP S62158070 A JPS62158070 A JP S62158070A JP 38286 A JP38286 A JP 38286A JP 38286 A JP38286 A JP 38286A JP S62158070 A JPS62158070 A JP S62158070A
Authority
JP
Japan
Prior art keywords
print head
detector
shielding
output
head
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.)
Granted
Application number
JP38286A
Other languages
Japanese (ja)
Other versions
JPH0712725B2 (en
Inventor
Yasuhiko Muramoto
村本 安彦
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.)
Seikosha KK
Original Assignee
Seikosha KK
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 Seikosha KK filed Critical Seikosha KK
Priority to JP38286A priority Critical patent/JPH0712725B2/en
Publication of JPS62158070A publication Critical patent/JPS62158070A/en
Publication of JPH0712725B2 publication Critical patent/JPH0712725B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the period of time required for detecting the position of a printing head, by providing a detection plate provided alternately with shielding parts and non-shielding parts differing in length, and detecting the position of the printing head following a specified position-detecting procedure. CONSTITUTION:A detection plate 12 has a plurality of non-shielding parts 12a, 12c and the same number of shielding parts 12b, 12c, which are provided alternately, whereby a detector 11 is turned ON and OFF. The lengths of the non- shielding part 12a, the shielding part 2b, the non-shielding part 12c and the shielding part 12d are set to be a, b, c and d, respectively, which fulfill the relation a>b>c>d. When a command for detecting the position of a printing head 6 is supplied for initialization, it is judged whether or not the detector 11 is turned ON, then the head 6 is moved to a position at which an output from the detector 11 is inverted, and the head 6 is stopped there. Then, the head 6 is immediately moved in the opposite direction by a distance (y) to satisfy the relation b>y>c, is stopped, and it is judged whether or not the output of the detector 11 is ON.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、キャリッジに搭載された印字ヘッドが記録媒
体の幅方向に移動しながら印字を行なうシリアルプリン
タにおける印字ヘッドの位置検出方式に関するものであ
る。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a method for detecting the position of a print head in a serial printer in which a print head mounted on a carriage performs printing while moving in the width direction of a recording medium. be.

[従来の技術] 公知のシリアルプリンタは、一般に、フォトスイッチな
どの検出器がプリンタ本体側(例えば、プリンタの機械
体支持フレームを構成する底板)の左端部寄りの位置に
固定的に設置され、印字ヘッドを搭載したキャリッジ側
に設けである遮蔽板が検出器を横切ることによってホー
ム位置を検出する構成のものであった。
[Prior Art] Generally, in a known serial printer, a detector such as a photoswitch is fixedly installed at a position near the left end of the printer body (for example, a bottom plate that constitutes a mechanical support frame of the printer). The configuration was such that the home position was detected by a shielding plate provided on the side of the carriage carrying the print head that crossed the detector.

[発明が解決しようとする問題点] このために、プリンタへの電源投入時などのイニシャラ
イズ時に印字ヘッドの位置を検出する必要があるとき、
印字ヘッドをホーム位置まで移動させなければならない
。このイニシャライズ時に印字ヘッドがホーム位置にあ
るときは、印字ヘッドを一旦ホーム位置から脱出させて
から印字ヘッドをホーム位置へ戻していた。印字ヘッド
のホーム位置への移動は、印字ヘッドが1パルス分移動
する毎に検出器が反転したか否かを判断する必要があり
、このため印字ヘッドの移動速度をこれ以上速くするこ
とはできないのが実情である。したがって印字ヘッドが
ホーム位置から遠く離れた右端部寄りの位置に位置して
いると(このような状態は通常の印字終了後に頻繁に発
生する。)、印字ヘッドの位置検出に時間が掛かる問題
点があった。
[Problems to be Solved by the Invention] For this reason, when it is necessary to detect the position of the print head at the time of initialization such as when turning on the power to the printer,
The print head must be moved to the home position. When the print head is at the home position at the time of initialization, the print head is first moved out of the home position and then returned to the home position. To move the print head to the home position, it is necessary to judge whether the detector has reversed each time the print head moves by one pulse, and therefore the print head movement speed cannot be increased any faster. That is the reality. Therefore, if the print head is located far away from the home position and closer to the right edge (this condition often occurs after normal printing has finished), there is a problem in that it takes time to detect the print head position. was there.

そこで本発明は、印字ヘッドの位置検出に要する時間を
短縮することができる新規な印字ヘッドの位置検出方式
を提供することを目的とするものである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a novel print head position detection method that can shorten the time required to detect the print head position.

[問題点を解決するための手段] 本発明による印字ヘッドの位置検出方式の特徴は、キャ
リッジに搭載された印字ヘッドが記録媒体の幅方向に移
動しながら印字を行なうシリアルプリンタにおいて、遮
蔽部と非遮蔽部とが交互に複数個づつ形成されかつ遮蔽
部同志および非遮蔽部同志が互いに異なる長さを有して
いる検出板を、印字ヘッドの移動方向にそって固定的に
配置し、検出板の遮蔽部と非遮蔽部とによってオン・オ
フが制御される検出器をキャリッジに固定し、ヘッド位
置検出の指令を受けたとき、検出器の出力がオンである
かオフであるかを判断し、この判断結果に基いて印字ヘ
ッドを検出器の出力が反転する位置まで予め定められた
方向に移動させ、その後で、印字ヘッドを予め定められ
た方向に予め定められた距離だけ移動させ、しかる後に
検出器の出力がオンであるかオフであるかを判断し、こ
の判断結果に基いて印字ヘッドの位置を検知するところ
にある。
[Means for Solving the Problems] The feature of the print head position detection method according to the present invention is that the print head mounted on a carriage performs printing while moving in the width direction of the recording medium. A detection plate in which a plurality of non-shielding portions are alternately formed and each of the shielding portions and the non-shielding portions have different lengths is fixedly arranged along the direction of movement of the print head to detect the detection plate. A detector whose on/off is controlled by the shielded and non-shielded parts of the plate is fixed to the carriage, and when a head position detection command is received, it is determined whether the output of the detector is on or off. and, based on the determination result, move the print head in a predetermined direction to a position where the output of the detector is reversed, and then move the print head in the predetermined direction by a predetermined distance, Thereafter, it is determined whether the output of the detector is on or off, and the position of the print head is detected based on the result of this determination.

[実施例コ 以下、図面を参照して本発明の好適な一実施例について
説明する。
[Embodiment] Hereinafter, a preferred embodiment of the present invention will be described with reference to the drawings.

第1図において、平行に位置する側板1,2間に2本の
ガイド軸3.4が固着されており、このガイド軸3,4
によってキャリッジ5が摺動自在に支持されている。キ
ャリッジ5上には印字ヘッド6が取付けてあり、その前
方に側板1,2によって回転自在に支持されているプラ
テン7が設けられている。印字ヘッド6とプラテン7と
の間には紙などの記録媒体8が通され、この記録媒体8
はトラクタ装置9.10によって改行されるようになっ
ている。
In FIG. 1, two guide shafts 3.4 are fixed between the side plates 1 and 2 located parallel to each other.
The carriage 5 is slidably supported by. A print head 6 is mounted on the carriage 5, and a platen 7 rotatably supported by side plates 1 and 2 is provided in front of the print head 6. A recording medium 8 such as paper is passed between the print head 6 and the platen 7.
is arranged to be line-broken by the tractor device 9.10.

ところで、キャリッジ5の裏面には検出器11が取付け
である。この検出器11は、この実施例では発光素子と
受光素子(共に図示せず。)とからなるものが使用され
ている。一方、検出器11と協働する検出板12は、底
板13上に固定的に設置されている。6検出板12はキ
ャリッジ5の移動方向と平行に延伸し、複数(この実施
例では2個)の非遮蔽部12a、12cと、これと同数
の遮蔽部12b、12dとが交互に形成されている。検
出器11が非遮蔽部12aまたは12cに対向するとき
は光が透過してその出力はオンとなり、また検出器11
が遮蔽部12bまたは12dと対向しているときは光が
遮蔽されてその出力はオフとなる。したがって、検出器
1′1は、印字へラド6の移動領域にそって交互にオン
、オフを繰返し、かつオン状態またはオフ状態となる区
間が検出板12の非遮蔽部12a、12cと遮蔽部12
b、12dの長さに対応することになる。この実施例で
は、非遮蔽部12a、遮蔽部12b。
By the way, a detector 11 is attached to the back surface of the carriage 5. In this embodiment, the detector 11 is composed of a light emitting element and a light receiving element (both not shown). On the other hand, a detection plate 12 that cooperates with the detector 11 is fixedly installed on the bottom plate 13. 6. The detection plate 12 extends parallel to the moving direction of the carriage 5, and has a plurality of (two in this embodiment) non-shielding parts 12a, 12c and the same number of shielding parts 12b, 12d formed alternately. There is. When the detector 11 faces the non-shielding portion 12a or 12c, the light passes through and its output is on;
When facing the shielding portion 12b or 12d, the light is blocked and its output is turned off. Therefore, the detector 1'1 repeats turning on and off alternately along the movement area of the print head 6, and the sections in which it is on or off are the unshielded parts 12a and 12c of the detection plate 12 and the shielded part. 12
b, corresponding to the length of 12d. In this embodiment, the non-shielding part 12a and the shielding part 12b.

非遮蔽部12cおよび遮蔽部12dはそれぞれ長さa、
b、cおよびdに設定されており、各長さはa>b>c
>dの関係にある。
The non-shielding part 12c and the shielding part 12d each have a length a,
b, c, and d, each length is a>b>c
>d relationship.

なお、第1図において、R,R2,R3およびR4は非
遮蔽部12a、遮蔽部12b、非遮蔽部12cおよび遮
蔽部12dに対応する領域である。
Note that in FIG. 1, R, R2, R3, and R4 are regions corresponding to the non-shielding portion 12a, the shielding portion 12b, the non-shielding portion 12c, and the shielding portion 12d.

検出器11と検出板12とを上記のような配置構成とす
ることで、第2図にしたがった本発明の位置検出方式に
よって、イニシャライズ時の印字ヘッド6の位置検出を
短時間で完了することができる。
By arranging the detector 11 and the detection plate 12 as described above, the position detection of the print head 6 during initialization can be completed in a short time by the position detection method of the present invention according to FIG. I can do it.

イニシャライズのために印字ヘッド6の位置検出の指令
を受けると、印字ヘッド6がどの位置に停止していよう
と、先ず検出器11がオンであるか否かが判断される(
ステップI)。このとき検出器11がオン状態にあった
とすると、つまり印字ヘッド6が第1図において領域R
,またはR3に停止していたとすると、印字ヘッド6を
右方へ検出器11の出力がオフに反転する位置まで移動
させて停止する(ステップ■)。この後、直に印字へラ
ド6を逆方向へつまり左方へ予め定められた距離yだけ
移動させて停止し、そこで検出器11の出力がオンか否
かを判断する(ステップ■)。
When receiving a command to detect the position of the print head 6 for initialization, it is first determined whether the detector 11 is on or not, regardless of the position where the print head 6 is stopped (
Step I). If the detector 11 is in the on state at this time, that is, the print head 6 is in the area R in FIG.
, or R3, the print head 6 is moved rightward to a position where the output of the detector 11 is reversed to OFF, and is stopped (step 2). Thereafter, the radar 6 is immediately moved to the opposite direction, that is, to the left, by a predetermined distance y and stopped, and it is then determined whether the output of the detector 11 is on (step 2).

ここに、印字ヘッド6の移動距離yは、b>y>c  
          ・・・・・・■なる関係に設定さ
れている。
Here, the moving distance y of the print head 6 is b>y>c
・・・・・・■The relationship is set as follows.

ここで検出器11がオン状態にあったとすると、これは
最初に印字ヘッド6が領域R1に位置していたことを意
味する。したがって距離yなる移動後は、印字ヘッド6
はその移動領域の左端部りから(a −y)なる位置に
停止していることになる。
If the detector 11 is in the on state, this means that the print head 6 was initially located in the region R1. Therefore, after moving a distance y, the print head 6
is stopped at a position (a - y) from the left end of its movement area.

また検出器11がオフ状態にあったとすると、こ  ゛
れは最初に印字ヘッド6が領域R3に位置していたこと
を意味する。したがって距離yなる移動後は、印字ヘッ
ド6はその移動領域の左端部りから(a+b+c−y)
なる位置に停止していることになる。
Also, assuming that the detector 11 is in the OFF state, this means that the print head 6 was initially located in the region R3. Therefore, after moving a distance y, the print head 6 moves from the left end of its moving area (a+b+c-y).
This means that it is stopped at a certain position.

前述のステップ■において、検出器11がオフ状態にあ
ったとすると、つまり印字ヘッド6が第1図において領
域R2またはR4に停止していたとすると、今度は、印
字ヘッド6を左方へ検出器11の出力がオンに反転する
位置まで移動させる(ステップn−)。そして検出器1
1の出力がオンに反転した位置から、さらに距離2だけ
印字ヘッド6を同方向へ移動させて停止し、検出器11
の出力がオンか否かを判断する(ステップm−)。
Assuming that the detector 11 was in the OFF state in the above-mentioned step (3), that is, that the print head 6 was stopped in the area R2 or R4 in FIG. to a position where the output of is inverted to ON (step n-). and detector 1
From the position where the output 1 is turned on, the print head 6 is further moved in the same direction by a distance 2 and stopped, and the detector 11
It is determined whether the output of is on (step m-).

ここに、印字ヘッド6の移動距離2は、b>z>c  
                ・・・・・・■なる
関係に設定されている。
Here, the moving distance 2 of the print head 6 is b>z>c
・・・・・・■The relationship is set as follows.

ここで検出器11がオフ状態にあったとすると、これは
最初に印字ヘッド6が領域R4に位置していたことを意
味する。してかって距離2なる移動後は、印字ヘッド6
はその移動領域の左端部りから(a+b+C−z)なる
位置に停止していることになる。また検出器11がオン
状態にあったとすると、これは最初に印字ヘッド6が領
域R2に位置していたことを意味する。したがって距離
2なる移動後は、印字ヘッド6はその移動領域の左端部
りから(a−z)なる位置に停止していることになる。
If the detector 11 is in the OFF state, this means that the print head 6 was initially located in the region R4. After moving a distance of 2, the print head 6
is stopped at a position (a+b+C-z) from the left end of its movement area. Further, if the detector 11 is in the on state, this means that the print head 6 was initially located in the region R2. Therefore, after moving a distance of 2, the print head 6 has stopped at a position (a-z) from the left end of its movement area.

なお、上記実施例は印字ヘッド6の移動領域を四つの領
域に分割した例であるが、さらに細分割することも可能
である。この場合、前述のステップ■または■′におけ
る検出動作が複数回に分けて実施されるであろう。
Note that although the above embodiment is an example in which the movement area of the print head 6 is divided into four areas, it is also possible to divide it further into smaller areas. In this case, the detection operation in step (2) or (2) described above will be performed multiple times.

また、検出器11はフォトスイッチに代えて磁気感応型
スイッチを使用してもよい。この場合、検出板12また
は112は磁性材料で形成する必要がある。
Further, the detector 11 may use a magnetically sensitive switch instead of a photoswitch. In this case, the detection plate 12 or 112 needs to be made of a magnetic material.

[発明の効果] 以上詳細に説明した本発明に係る印字ヘッドの位置検出
方式によれば、イニシャライズのために要する印字ヘッ
ドの最大移動距離が短くなり、それに伴って印字ヘッド
の位置検出に要する平均時間を公知のものと比較して短
縮することができる。
[Effects of the Invention] According to the print head position detection method according to the present invention described in detail above, the maximum movement distance of the print head required for initialization is shortened, and the average distance required for print head position detection is accordingly shortened. The time can be reduced compared to known methods.

また、1個の検出器と1個の検出板の組合せで対処でき
るから、コスト的には公知のものとほとんど変わりはな
(、したがってコストアップを招くことがない。また、
この位置検出方式は、印字ヘッドを最左端のホーム位置
まで移動する必要がないから、プリンタに対するセット
位置および印字幅などが連続紙を使用する場合と異なる
カットフィーダ装置付きのプリンタ用の位置検出に最適
である。
In addition, since it can be handled with a combination of one detector and one detection plate, the cost is almost the same as that of known ones (therefore, there is no increase in cost.
Since this position detection method does not require the print head to be moved to the leftmost home position, it is suitable for position detection for printers with cut feeders whose set position and printing width are different from those using continuous paper. Optimal.

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

図面は本発明の好適な実施例を示すものであって、第1
図は本発明が適用されているシリアルブリンクの斜視図
、第2図は本発明による印字ヘッドの位置検出方式のフ
ローチャートである。 5・・・・・・キャリッジ  6・・・・・・印字ヘッ
ド8・・・・・・記録媒体  11・・・・・・検出器
12・・・・・・検出板 12a、12c・・・・・・非遮蔽部 12b、12d・・・・・・遮蔽部 量   上
The drawings show preferred embodiments of the present invention.
The figure is a perspective view of a serial blink to which the present invention is applied, and FIG. 2 is a flowchart of a print head position detection method according to the present invention. 5...Carriage 6...Print head 8...Recording medium 11...Detector 12...Detection plates 12a, 12c... ...Non-shielding parts 12b, 12d...Amount of shielding part upper

Claims (1)

【特許請求の範囲】 キャリッジに搭載された印字ヘッドが記録媒体の幅方向
に移動しながら印字を行なうシリアルプリンタにおいて
、 遮蔽部と非遮蔽部とが交互に複数個づつ形成されかつ上
記遮蔽部同志および上記非遮蔽部同志が互いに異なる長
さを有している検出板を、上記印字ヘッドの移動方向に
そって固定的に配置し、上記検出板の遮蔽部と非遮蔽部
とによってオン・オフが制御される検出器を上記キャリ
ッジに固定し、 ヘッド位置検出の指令を受けたとき、上記検出器の出力
がオンであるかオフであるかを判断し、この判断結果に
基いて上記印字ヘッドを上記検出器の出力が反転する位
置まで予め定められた方向に移動させ、 その後で、上記印字ヘッドを予め定められた方向に予め
定められた距離だけ移動させ、 しかる後に上記検出器の出力がオンであるかオフである
かを判断し、 この判断結果に基いて上記印字ヘッドの位置を検知する
ようにした ことを特徴とする印字ヘッドの位置検出方式。
[Claims] In a serial printer in which a print head mounted on a carriage prints while moving in the width direction of a recording medium, a plurality of shielding portions and non-shielding portions are alternately formed, and the shielding portions are adjacent to each other. and a detection plate in which the non-shielding parts have different lengths from each other is fixedly arranged along the moving direction of the print head, and the detection plate is turned on and off by the shielding part and the non-shielding part of the detection plate. A detector that is controlled is fixed to the carriage, and when a head position detection command is received, it is determined whether the output of the detector is on or off, and based on the result of this determination, the print head is is moved in a predetermined direction to a position where the output of the detector is reversed, and then the print head is moved in a predetermined direction by a predetermined distance, after which the output of the detector is reversed. A print head position detection method characterized in that it determines whether the print head is on or off, and detects the position of the print head based on the result of this determination.
JP38286A 1986-01-06 1986-01-06 Print head position detection method Expired - Lifetime JPH0712725B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP38286A JPH0712725B2 (en) 1986-01-06 1986-01-06 Print head position detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP38286A JPH0712725B2 (en) 1986-01-06 1986-01-06 Print head position detection method

Publications (2)

Publication Number Publication Date
JPS62158070A true JPS62158070A (en) 1987-07-14
JPH0712725B2 JPH0712725B2 (en) 1995-02-15

Family

ID=11472247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP38286A Expired - Lifetime JPH0712725B2 (en) 1986-01-06 1986-01-06 Print head position detection method

Country Status (1)

Country Link
JP (1) JPH0712725B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0759363A2 (en) * 1995-08-22 1997-02-26 Seiko Epson Corporation Printing apparatus and initialization method thereof
US6000865A (en) * 1995-08-22 1999-12-14 Seiko Epson Corporation Printing apparatus and a control method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0759363A2 (en) * 1995-08-22 1997-02-26 Seiko Epson Corporation Printing apparatus and initialization method thereof
EP0759363A3 (en) * 1995-08-22 1997-07-30 Seiko Epson Corp Printing apparatus and initialization method thereof
US6000865A (en) * 1995-08-22 1999-12-14 Seiko Epson Corporation Printing apparatus and a control method thereof

Also Published As

Publication number Publication date
JPH0712725B2 (en) 1995-02-15

Similar Documents

Publication Publication Date Title
EP0280699B1 (en) Precision paper transport system
US4983854A (en) Sheet detection apparatus with reflecting member
JPS62158070A (en) Position-detecting system for printing head
US6100982A (en) Method and apparatus for determining a scanning track for a narrow color bar
JP3962251B2 (en) Cutter equipment
JPS62158069A (en) Position-detecting system for printing head
JPS62238780A (en) Printer
JPH03275A (en) Printer
JPH01178477A (en) Printer
JPH0263776A (en) Printer device
JPH044179A (en) Printer device
JPH039868A (en) Printer
JP2782992B2 (en) Ink ribbon remaining amount detector
JPS6354267A (en) Paper width detector for printer
JPS60183164A (en) Shuttle mechanism of printer
JPH0430497Y2 (en)
JPH05104812A (en) Printer equipped with mark code read sensor
JPH02102089A (en) Printing paper detection device
JPH04105980A (en) Serial printer
JPH1191150A (en) Printer
JP2005074947A (en) Recording device and method for controlling recording device
JPH04347675A (en) Serial printer
JPH01101174A (en) Dot matrix printer
JPH04351583A (en) Color ink ribbon detector
JPH05138958A (en) Serial impact printer