JP3706280B2 - How to set the home position of the movement sensor - Google Patents

How to set the home position of the movement sensor Download PDF

Info

Publication number
JP3706280B2
JP3706280B2 JP23585099A JP23585099A JP3706280B2 JP 3706280 B2 JP3706280 B2 JP 3706280B2 JP 23585099 A JP23585099 A JP 23585099A JP 23585099 A JP23585099 A JP 23585099A JP 3706280 B2 JP3706280 B2 JP 3706280B2
Authority
JP
Japan
Prior art keywords
image sensor
home position
sensor
carriage
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
Application number
JP23585099A
Other languages
Japanese (ja)
Other versions
JP2001060243A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP23585099A priority Critical patent/JP3706280B2/en
Publication of JP2001060243A publication Critical patent/JP2001060243A/en
Application granted granted Critical
Publication of JP3706280B2 publication Critical patent/JP3706280B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【産業上の利用分野】
本発明は、通帳取扱装置等に設けられて読取りを行うイメージセンサのホームポジションを設定する移動センサのホームポジション設定方法に関するものである。
【0002】
【従来の技術】
通帳取扱装置等では、キャリッジに取り付けられたイメージセンサを備えている。ステッピングモータでイメージセンサ及びキャリッジをホームポジションから所定位置まで移動し、該イメージセンサを用いて、通帳上に印刷されている頁マークを読取ったり、最終印字済み行を判定するための読取りを行うようにしている。
従来の移動センサのホームポジション設定方法では、イニシャル動作(初期動作)を行い、通帳取扱装置の通帳走行路の側に固定したホームポジション検出用白テープをイメージセンサで検出させ、該白テープを検出したときのイメージセンサの位置を基準としてホームポジションを設定していた。
【0003】
図2(a),(b)は、従来のホームポジションを示す図である。
読取対象となる通帳1の記載形式は、ユーザ(例えば銀行)ごとに異なり、頁マーク2の場所が通帳1の左に印刷されていたり右に印刷されていたりする。通帳取扱装置では、イニシャル動作でイメージセンサ3を移動させて白テープ5を検出させてホームポジションPを設定している。実際に通帳1の読取りを行うときには、ホームポジションPからイメージセンサ3を図示しないステッピングモータで所定位置に移動させたのち、通帳1を走行方向に送っている。
イメージセンサ3を移動させる所定距離は、ユーザごとに異なるので、この情報を定義したパラメータファイルから読出すことで、該所定距離を決めている。所定距離は、ユーザごとに固定された値のため、ホームポジションPの位置が正確でないと、イメージセンサ3を正常な読取り位置6へ移動できなくなり、頁マーク或いは印字済み行の読取りが不可となる。
イメージセンサ3に白テープ5を検出させてホームポジションPを設定する理由を以下に示す。
【0004】
図3(a),(b)は、イメージセンサ3と読取り位置6の関係を示す図である。
装置出荷前段階でイメージセンサ3の調整を行う際に、装置ごとに若干の調整ばらつきが発生する。例えば、図3(b)のように、イメージセンサ3の直下にレンズ7がこないような調整を行ったときには、読取り位置6がずれる。このように、読取り位置6が多少ずれていても、イメージセンサ3で正確な位置に貼られた白テープ5を検出させてホームポジションPの位置を設定することで、調整ずれを無視できるようになる。
イニシャル動作で、ホームポジションPの位置を設定するときには、イメージセンサ3が入力した画素データを閾値で白または黒と判定し、該判定個数からイメージセンサ3が白テープ5の位置上にあるかないかを判断する。白テープ5の位置上にないと判断したときには、イメージセンサ3を白テープ5の側に移動する。白テープ5の位置上にあると判断したときには、一旦イメージセンサ3を白テープ5の場所から離し、再度、白テープ5の位置に戻して検出させる。イメージセンサ3が白テープ5を検出した位置に基づきホームポジションPを設定してる。
【0005】
【発明が解決しようとする課題】
しかしながら、従来の移動センサのホームポジション設定方法では、次のような課題があった。
ホームポジション検出用白テープ5或いは該白テープ5及び通帳1の表面を照射する光源等が環境悪化で埃等で汚れると、イメージセンサ3で白テープ5を読取ったときの出力が十分に得られず、白テープ5の検出及びホームポジションPの設定ができなくなるという課題があった。
【0006】
一方、白テープ5を用いずに、イメージセンサ3以外の光学センサ等でホームポジションPの設定を行おうとすると、イメージセンサ3の読取り視野と、その光学センサがオン、オフする位置との位置関係を調整しなければならない。この調整にはシンクロスコープ等の測定器が必要になり、非常に大変な調整作業になる。例えば、現地で稼働している装置で再調整が必要になった場合等には、調整が非常に困難になることが予想される。
【0007】
【課題を解決するための手段】
前記課題を解決するために、本発明のうちの第1の発明は、左右に移動可能なキャリッジに取り付けられ該キャリッジと共にホームポジションから一定距離移動して読取対象の所定部分を読取るイメージセンサを備えた装置に対し、該キャリッジを移動させて当該装置に設定されたホームポジション検出用目印を該イメージセンサに検出させ、該イメージセンサが該目印を検出した位置を基準として該イメージセンサのホームポジションを設定する移動センサのホームポジション設定方法において、次のような方法を講じている。
即ち、前記キャリッジまたは装置に、該キャリッジ及び装置間の相対距離が所定値になったことを検知する検知センサを取り付けると共に、事前に該検知センサが該キャリッジ及び装置間の相対距離が所定値になったことを検知したときの前記イメージセンサの位置と前記目印を検出したときの該イメージセンサの位置との差を測定しておく。そして、環境悪化で前記イメージセンサが該目印を検出できないとき或いは該イメージセンサで該目印の検出を行わない場合には、前記検知センサが該キャリッジ及び装置間の相対距離が所定値になったことを検知したときの該イメージセンサの位置を基準として前記ホームポジションを設定し、前記読取対象の所定部分を読取るときの前記一定距離は前記差で補正するようにしている。
【0008】
このような構成を採用したことにより、イメージセンサがホームポジション検出用目印を検出できない場合でも、検知センサを用いればホームポジションを設定できる。また、検知センサを用いて設定されたホームポジションから、イメージセンサを移動するときには、イメージセンサの位置の差に基づき補正するので、検知センサの取り付け状態やイメージセンサの視野のずれも吸収される。
【0009】
第2の発明では、前記キャリッジに取り付けられたイメージセンサを備えた装置、または該キャリッジに取り付けられたイメージセンサと前記検知センサとを持つ装置に対し、該イメージセンサのホームポジションを設定する移動センサのホームポジション設定方法において、次のような方法を講じている。
即ち、前記検知センサの有無を判断し、前記検知センサが無いと判断した場合には前記イメージセンサに前記目印を検出させて該イメージセンサのホームポジションを設定し、前記検知センサがあると判断した場合には前記検知センサに前記キャリッジ及び装置間の相対距離が所定値になったことを検知させて前記イメージセンサのホームポジションを設定するようにしている。
【0010】
このような構成を採用したことにより、検知センサの有無を判断し、該判断結果により、ホームポジションを設定するときに用いるセンサを代えるようにしたので、検知センサが無い装置あるいはそれが使用できない装置でも共通のプログラムでホームポジションが設定できる。
【0011】
【発明の実施の形態】
第1の実施形態
図1は、本発明の第1の実施形態を示す通帳取扱装置の要部の構成図である。
この第1の実施形態の移動センサのホームポジション設定方法は、イメージセンサを用いて読取対象の所定場所を読取る装置に適用される方法であり、その特徴は、イメージセンサの他に、該イメージセンサよりも汚れの影響を受けにくい検知センサであるホトカプラ10を装置に取り付け、ホトカプラ10を用いてホームポジションを設定することである。ここで、装置を通帳取扱装置にした場合の適用例を、図1を参照しつつ、説明する。
【0012】
通帳取扱装置における通帳走行路上を横切るように架設された2本のシャフト11a,11bに、例えば直方体のキャリッジ12が支えられている。キャリッジ12の底面にCCDセンサ等で形成されたイメージセンサ12a及びレンズが取付けられている。2本のシャフト11a,11bのうちのシャフト11aは、摺動自在にキャリッジ12を支えるものであり、シャフト11bは、図示しない制御部からパルス数が与えられるステッピングモータ13に駆動されて回転し、通帳走行路の方向に対して左右にキャリッジ12を動かすものである。キャリッジ12には、さらに、検出棒14が取り付けられている。検出棒14の先端は、装置に壁20に向かってキャリッジ12から突出している。装置における通帳走行路の側には、ホームポジション検出用目印である白テープ21が貼付されている。壁20にホトカプラ10が取付けられている。ホトカプラ10は発光部10aと受光部10bとを有し、検出棒14がその間を通過するようになっている。ホトカプラ10の取り付け位置は、取り付けにがたがあっても、イメージセンサ12aが白テープ21を検出するよりも必ず先に検出棒14を検知できるように設計されている。
白テープ21は出荷前段階では、汚れておらず、イメージセンサ12aにより十分検出可能である。図示しない光源も十分な照度を保証できる。
【0013】
図4は、装置出荷前に行う処理を示すフローチャートであり、図5は、ホトカプラ10及びイメージセンサ12aの出力信号を示す図である。この図4及び図5を参照しつつ、装置を出荷する前に行うホームポジション設定方法の処理を説明する。
出荷前には、図4のステップST1からステップST5の処理を行う。
【0014】
ホトカプラ10は、検出棒14を検知していないときには“L”を出力し、壁20とキャリッジ12との距離が所定値になって検出棒14を検知したときに“L”を出力する。イメージセンサ12aは、白テープ21を検出する前には例えば“H”レベルを出力し、検出したときには“L”レベルを出力する。最初のステップST1において、ホトカプラ10及びイメージセンサ12aの出力信号に基づき、該ホトカプラ10あるいはイメージセンサ12aが検出棒14または白テープ21を検出しているかを判定する。検出棒14または白テープ21を検出していると判定(Y)したときは、一旦、ステップST2で、検出棒14または白テープ21を検出しない位置まで、キャリッジ12を壁20から離れる方向に移動させる。
ステップST1で検出棒14または白テープ21を検出していないと判定(N)した場合及びステップST2の移動を行った後のステップST3において、ステッピングモータ13により、キャリッジ12を移動させて壁20に近づける。このときの移動により、最初に検出棒14がホトカプラ10に検知されその後に、白テープ21がイメージセンサ12aの視野に入って検出される。
【0015】
ステップST4において、イメージセンサ12aで白テープ21を検出した時刻とホトカプラ10で検出棒14を検知した時刻との差から、両時刻におけるイメージセンサ12aの位置の差を算出する。このイメージセンサ12aの位置の差は、ホトカプラ10の取り付け位置の設計により、零以外の値になる。
ステップST5において,イメージセンサ12aの位置の差をステッピングモータ13の制御パルス数に換算してメモリ等に書き込んでおく。以上のステップST1〜ST5を行って書き込まれたパルス数は補正値となる。
【0016】
イニシャル動作を行ってイメージセンサ12aのホームポジションの設定を行うときには、イメージセンサ12aで白テープ21を検出させる代わりに、ホトカプラ10に検出棒14を検知させ、該検出棒14を検知したときの位置を検出し、この検出した位置に基づき、ホームポジションを設定する。そして、イメージセンサ12aをホームポジションから移動させて所定場所を読取るときに、イメージセンサ12aの移動量にステップST5で書き込んだ補正値を加算して移動させる。このようにすることで、イメージセンサ12a自体の調整誤差やホトカプラ10の取り付けがた等を吸収できる。また、イメージセンサ12aで白テープ21を読取ったときの出力レベルは汚れの影響が大きく、白テープ21が検出できない場合があるが、ホトカプラ10等の光学素子は、一般的に埃等の汚れに強く、装置寿命に到達する前に誤検知をすることが考えにくい。
【0017】
以上のように、第1の実施形態では、ホトカプラ10を用いてホームポジションの設定を行うので、汚れが想定される場合でも、確実なホームポジションの設定が可能になっている。また、出荷前にステップST1からステップST5を行って、ホトカプラ10とイメージセンサ12aの両方を使用して補正値を求めておくので、イメージセンサ12aの調整誤差や該イメージセンサ12aの検出位置とホトカプラ10の検知位置とのずれも吸収でき、初期調整や現地での再調整が、自動的に正確にできる。
【0018】
第2の実施形態
前記第1の実施形態では、イメージセンサ12aを持つ帳票取扱装置に検知センサとしてホトカプラ10を設け、該ホトカプラ10を用いてホームポジションを設定する例を説明したが、この第2の実施形態では、ホトカプラ10等の検知センサの有無にかかわらずプログラム制御を共通化すること目的とした移動センサのホームポジション設定方法であり、具体例を第1の実施形態を示す図1を参照しつつ、説明する。
この移動センサのホームポジション設定方法を採用した例えば帳票取扱装置では、イメージセンサのホームポジションを設定するためのイニシャル動作の指示を受けると、例えば第1の実施形態のステップST5で書き込んだ補正値を読出す。この補正値が零のときには、ホトカプラ10が無いものと判断し、イメージセンサ12aにホームポジション検出用の白テープ21を検出させ、その位置を基準としてホームポジションの設定を行う。補正値が零以外のときには、ホトカプラ10が有ると判断し、ホトカプラ10で検出棒14を検出し、その位置を基準としてホームポジションを設定する。このホトカプラ10が有ると判断した場合に、イメージセンサ12aをホームポジションから移動させるときに、補正値を加味する。
【0019】
以上のように、第2の実施形態では、ホトカプラ10のように、イメージセンサ12aとは別に設けられた検知センサの有無にかかわらず、共通のプログラムにできる。また、例えばホトカプラ10が無い装置に、ホトカプラ10を後から追加して改善した場合や、逆に、何らかの事情でホトカプラ10を削除した場合において、ホトカプラ10の出力信号を優先して処理するような制御にしておけば、装置のバージョンを管理する必要がない。さらに、同一のプログラムとなるので、プログラムの開発工数も抑制できるという利点がある。
【0020】
なお、本発明は、上記実施形態に限定されず種々の変形が可能である。その変形例としては、例えば次のようなものがある。
(1) 第1及び第2の実施形態では、通帳取扱装置を例にして説明しているが、イメージセンサ12aを持ち、そのイメージセンサ12aのホームポジションを設定する必要がある他の装置にも適用ができる。
(2) ホトカプラ10は、他の対向型センサや反射型センサを利用してもよい。
(3) 第1の実施形態では、イメージセンサ12aを移動させて通帳の読取りを行うときに、補正値で移動量を補正するようにしたが、補正値でホームポジション自体をずらせておいても、同様の利点が得られる。
(4) 第1の実施形態の通帳取扱装置では、ホトカプラ10を壁20に取り付けているが、該ホトカプラ10をキャリッジ12に取り付け。検出棒14を壁20に取り付けてもよい。
(5) 第1の実施形態では、ホトカプラ10により、イメージセンサ12aのホームポジションを設定しているが、最初は、イメージセンサ12aを用いてホームポジションの設定を行い、白テープ21が汚れた以降に、ホトカプラ10を用いたホームポジションの設定を行うようにしてもよい。
【0021】
【発明の効果】
以上詳細に説明したように、第1の明によれば、イメージセンサを持つ装置に検知センサを設け、該検知センサを用いてホームポジションを設定するようにしたので、イメージセンサがホームポジション検出用目印を検出できない場合でも、検知センサを用いればホームポジションを設定できる。また、検知センサを用いて設定されたホームポジションから、イメージセンサを移動するときには、イメージセンサの位置の差に基づきその移動量を補正するので、検知センサの取り付け状態やイメージセンサの視野のずれも吸収できる。よって、適切なホームポジションを簡単にしかも確実に設定できる。
【0022】
第2の発明によれば、検知センサの有無を判断し、該検知センサが無いと判断した場合にはイメージセンサに目印を検出させてホームポジションを設定し、検知センサがあると判断した場合には検知センサにキャリッジ及び装置間の相対距離が所定値になったことを検知させてイメージセンサのホームポジションを設定するようにしたので、検知センサが無い装置あるいはそれが使用できない装置でも共通のプログラムでホームポジションが設定できる。
【図面の簡単な説明】
【図1】本発明の第1の実施形態を示す通帳取扱装置の要部の構成図である。
【図2】従来のホームポジションを示す図である。
【図3】イメージセンサ3と読取り位置6の関係を示す図である。
【図4】装置出荷前に行う処理を示すフローチャートである。
【図5】ホトカプラ10及びイメージセンサ12aの出力信号を示す図である。
【符号の説明】
10 ホトカプラ
12 キャリッジ
12a イメージセンサ
13 ステッピングモータ
14 検出棒
21 白テープ
[0001]
[Industrial application fields]
The present invention relates to a home position setting method for a movement sensor for setting a home position of an image sensor that is provided in a bankbook handling device or the like and performs reading.
[0002]
[Prior art]
A bankbook handling device or the like includes an image sensor attached to a carriage. The image sensor and carriage are moved from the home position to a predetermined position by the stepping motor, and the image sensor is used to read the page mark printed on the passbook or to read the final printed line. I have to.
In the conventional home position setting method of the movement sensor, the initial operation (initial operation) is performed, the white tape for detecting the home position fixed on the passbook travel path side of the passbook handling device is detected by the image sensor, and the white tape is detected. The home position was set based on the position of the image sensor at the time.
[0003]
2A and 2B are diagrams showing a conventional home position.
The description format of the bankbook 1 to be read is different for each user (for example, bank), and the location of the page mark 2 is printed on the left side of the bankbook 1 or on the right side. In the bankbook handling apparatus, the home position P is set by moving the image sensor 3 by the initial operation to detect the white tape 5. When actually reading the bankbook 1, after moving the image sensor 3 from the home position P to a predetermined position by a stepping motor (not shown), the bankbook 1 is sent in the running direction.
Since the predetermined distance for moving the image sensor 3 is different for each user, the predetermined distance is determined by reading this information from the defined parameter file. Predetermined distance, for a fixed value to the user your capital, the position of the home position P is not correct, the image sensor 3 can no longer move to the normal reading position 6, page mark or impossible printed line readings It becomes.
The reason for setting the home position P by causing the image sensor 3 to detect the white tape 5 will be described below.
[0004]
FIGS. 3A and 3B are diagrams showing the relationship between the image sensor 3 and the reading position 6.
When adjustment of the image sensor 3 is performed at the stage before shipment of the apparatus, a slight adjustment variation occurs for each apparatus. For example, as shown in FIG. 3B, when adjustment is performed such that the lens 7 does not come directly under the image sensor 3, the reading position 6 is shifted. As described above, even if the reading position 6 is slightly deviated, it is possible to ignore the misalignment by detecting the white tape 5 attached to the accurate position by the image sensor 3 and setting the position of the home position P. Become.
In initial operation, when setting the position of the home position P is the pixel data image sensor 3 is input is determined to be white or black by the threshold, the position on the near the image sensor 3 from the decision number white tape 5 Luke Judge whether there is. When it is determined that the position is not on the position of the white tape 5, the image sensor 3 is moved to the white tape 5 side. When it is determined that the position is on the position of the white tape 5, the image sensor 3 is once moved away from the position of the white tape 5, and returned to the position of the white tape 5 to be detected again. The image sensor 3 that sets the home position P based on the position detected white tape 5.
[0005]
[Problems to be solved by the invention]
However, the conventional home position setting method of the movement sensor has the following problems.
If the white tape 5 for detecting the home position or the light source that illuminates the surface of the white tape 5 and the passbook 1 is contaminated with dust or the like due to environmental deterioration, sufficient output is obtained when the white tape 5 is read by the image sensor 3. Therefore, there is a problem that the white tape 5 cannot be detected and the home position P cannot be set.
[0006]
On the other hand, if the home position P is set by an optical sensor other than the image sensor 3 without using the white tape 5, the positional relationship between the reading field of view of the image sensor 3 and the position where the optical sensor is turned on / off. Must be adjusted. This adjustment requires a measuring instrument such as a synchroscope, which is a very difficult adjustment. For example, when readjustment is necessary for a device operating in the field, it is expected that adjustment will be very difficult.
[0007]
[Means for Solving the Problems]
In order to solve the above-mentioned problems, a first invention of the present invention includes an image sensor that is attached to a carriage that is movable to the left and right and that moves a predetermined distance from the home position together with the carriage to read a predetermined portion of a reading target. The image sensor is caused to move the carriage to cause the image sensor to detect the home position detection mark set in the apparatus, and the home position of the image sensor is determined based on the position where the image sensor detects the mark. In the home position setting method of the movement sensor to be set, the following method is taken.
That is, a detection sensor for detecting that the relative distance between the carriage and the apparatus has reached a predetermined value is attached to the carriage or the apparatus, and the relative distance between the carriage and the apparatus is set to a predetermined value in advance. The difference between the position of the image sensor when it is detected and the position of the image sensor when the mark is detected is measured in advance. The Environmental the image sensor deteriorates in case of no detection of the landmarks in or the image sensor when not detect the mark said purpose, the sensor is a relative distance between the carriage and the apparatus reaches a predetermined value The home position is set on the basis of the position of the image sensor when this is detected, and the fixed distance when the predetermined portion of the reading target is read is corrected by the difference.
[0008]
By adopting such a configuration, even when the image sensor cannot detect the home position detection mark, the home position can be set by using the detection sensor. Further, when the image sensor is moved from the home position set by using the detection sensor, correction is performed based on the difference in the position of the image sensor, so that the mounting state of the detection sensor and the deviation of the visual field of the image sensor are also absorbed.
[0009]
In the second invention, a movement sensor for setting a home position of the image sensor with respect to a device having an image sensor attached to the carriage, or a device having the image sensor and the detection sensor attached to the carriage. The following methods are used in the home position setting method.
That is, the presence / absence of the detection sensor is determined, and when it is determined that the detection sensor is not present, the mark is detected by the image sensor, the home position of the image sensor is set, and it is determined that the detection sensor is present. In this case, the detection sensor is caused to detect that the relative distance between the carriage and the apparatus has become a predetermined value, and the home position of the image sensor is set.
[0010]
By adopting such a configuration, the presence or absence of a detection sensor is determined, and the sensor used when setting the home position is changed according to the determination result. But you can set the home position with a common program.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
First embodiment Fig. 1 is a configuration diagram of a main part of a bankbook handling apparatus showing a first embodiment of the present invention.
The home position setting method of the movement sensor according to the first embodiment is a method applied to a device that reads a predetermined location to be read using an image sensor. In other words, the photocoupler 10, which is a detection sensor that is less susceptible to dirt, is attached to the apparatus, and the home position is set using the photocoupler 10. Here, an application example when the device is a passbook handling device will be described with reference to FIG.
[0012]
For example, a rectangular parallelepiped carriage 12 is supported by two shafts 11a and 11b that are installed so as to cross the passbook running path in the passbook handling device. An image sensor 12a formed of a CCD sensor or the like and a lens are attached to the bottom surface of the carriage 12. Of the two shafts 11a and 11b, the shaft 11a slidably supports the carriage 12, and the shaft 11b is driven and rotated by a stepping motor 13 to which a pulse number is given from a control unit (not shown). The carriage 12 is moved left and right with respect to the direction of the bankbook travel path. A detection rod 14 is further attached to the carriage 12. The tip of the detection rod 14 protrudes from the carriage 12 toward the wall 20 in the apparatus. White tape 21 serving as a home position detection mark is attached to the passbook travel path side of the apparatus. A photocoupler 10 is attached to the wall 20. The photocoupler 10 has a light emitting unit 10a and a light receiving unit 10b, and the detection rod 14 passes between them. The mounting position of the photocoupler 10 is designed so that the detection rod 14 can be detected before the image sensor 12a detects the white tape 21 even if the mounting position is uneven.
The white tape 21 is not soiled before shipping and can be sufficiently detected by the image sensor 12a. A light source (not shown) can guarantee sufficient illuminance.
[0013]
FIG. 4 is a flowchart showing processing performed before shipping the apparatus, and FIG. 5 is a diagram showing output signals of the photocoupler 10 and the image sensor 12a. Processing of the home position setting method performed before shipping the apparatus will be described with reference to FIGS.
Prior to shipment, the processing from step ST1 to step ST5 in FIG. 4 is performed.
[0014]
The photocoupler 10 outputs “L” when the detection rod 14 is not detected, and outputs “L” when the distance between the wall 20 and the carriage 12 reaches a predetermined value and detects the detection rod 14. The image sensor 12a outputs, for example, an “H” level before detecting the white tape 21, and outputs an “L” level when detected. In the first step ST1, based on the output signals of the photocoupler 10 and the image sensor 12a, it is determined whether the photocoupler 10 or the image sensor 12a detects the detection rod 14 or the white tape 21. When it is determined that the detection rod 14 or the white tape 21 is detected (Y), the carriage 12 is moved in the direction away from the wall 20 to a position where the detection rod 14 or the white tape 21 is not detected in step ST2. Let
When it is determined in step ST1 that the detection rod 14 or the white tape 21 has not been detected (N) and in step ST3 after the movement in step ST2, the carriage 12 is moved to the wall 20 by the stepping motor 13. Move closer. By the movement at this time, the detection rod 14 is first detected by the photocoupler 10, and then the white tape 21 enters the field of view of the image sensor 12a and is detected.
[0015]
In step ST4, the difference in the position of the image sensor 12a at both times is calculated from the difference between the time when the white tape 21 is detected by the image sensor 12a and the time when the detection bar 14 is detected by the photocoupler 10. The difference in position of the image sensor 12a is a value other than zero depending on the design of the mounting position of the photocoupler 10.
In step ST5, the position difference of the image sensor 12a is converted into the number of control pulses of the stepping motor 13 and written in a memory or the like. The number of pulses written by performing the above steps ST1 to ST5 becomes a correction value.
[0016]
When performing the initial operation and setting the home position of the image sensor 12a, instead of detecting the white tape 21 by the image sensor 12a, the photocoupler 10 detects the detection rod 14, and the position when the detection rod 14 is detected. And the home position is set based on the detected position. Then, when the image sensor 12a is moved from the home position and a predetermined place is read, the correction value written in step ST5 is added to the movement amount of the image sensor 12a and moved. By doing so, it is possible to absorb adjustment errors of the image sensor 12a itself, attachment of the photocoupler 10, and the like. Further, the output level when the white tape 21 is read by the image sensor 12a is greatly affected by dirt, and the white tape 21 may not be detected. However, optical elements such as the photocoupler 10 are generally contaminated with dust or the like. It is strong and it is unlikely to make a false detection before the lifetime of the device is reached.
[0017]
As described above, in the first embodiment, since the home position is set using the photocoupler 10, the home position can be reliably set even when dirt is assumed. Further, since steps ST1 to ST5 are performed before shipment and the correction value is obtained using both the photocoupler 10 and the image sensor 12a, the adjustment error of the image sensor 12a, the detection position of the image sensor 12a, and the photocoupler are determined. Deviations from 10 detection positions can be absorbed, and initial adjustment and on-site readjustment can be made automatically and accurately.
[0018]
Second Embodiment In the first embodiment, an example has been described in which a photocoupler 10 is provided as a detection sensor in a form handling apparatus having an image sensor 12a, and the home position is set using the photocoupler 10. This embodiment is a home position setting method for a movement sensor for the purpose of sharing program control regardless of the presence or absence of a detection sensor such as a photocoupler 10, and a specific example is shown in FIG. 1 showing the first embodiment. This will be described with reference to FIG.
For example, in a form handling apparatus that employs the home position setting method of the movement sensor, upon receiving an instruction for an initial operation for setting the home position of the image sensor, for example, the correction value written in step ST5 of the first embodiment is used. Read. When this correction value is zero, it is determined that the photocoupler 10 is not present, the white tape 21 for detecting the home position is detected by the image sensor 12a, and the home position is set based on the position. When the correction value is other than zero, it is determined that the photocoupler 10 is present, the photocoupler 10 detects the detection rod 14, and the home position is set based on the position. When it is determined that the photocoupler 10 is present, the correction value is taken into account when the image sensor 12a is moved from the home position.
[0019]
As described above, in the second embodiment, a common program can be used regardless of the presence or absence of a detection sensor provided separately from the image sensor 12a as in the photocoupler 10. Further, for example, when the photocoupler 10 is added to the device without the photocoupler 10 to improve it later, or when the photocoupler 10 is deleted for some reason, the output signal of the photocoupler 10 is preferentially processed. If controlled, there is no need to manage the device version. Furthermore, since the programs are the same, there is an advantage that the development man-hours of the program can be suppressed.
[0020]
In addition, this invention is not limited to the said embodiment, A various deformation | transformation is possible. Examples of such modifications include the following.
(1) In the first and second embodiments, a bankbook handling device is described as an example, but other devices that have an image sensor 12a and need to set the home position of the image sensor 12a are also described. Can be applied.
(2) The photocoupler 10 may use another opposing type sensor or a reflection type sensor.
(3) In the first embodiment, when the image sensor 12a is moved to read the passbook, the movement amount is corrected with the correction value. However, the home position itself may be shifted with the correction value. Similar advantages are obtained.
(4) In the bankbook handling apparatus of the first embodiment, the photocoupler 10 is attached to the wall 20, but the photocoupler 10 is attached to the carriage 12. The detection rod 14 may be attached to the wall 20.
(5) In the first embodiment, the home position of the image sensor 12a is set by the photocoupler 10, but first , the home position is set by using the image sensor 12a, and the white tape 21 becomes dirty. in, the setting of the home position may be line Uyo Unishi using a photo-coupler 10.
[0021]
【The invention's effect】
As described above in detail, according to the first aspect, since the detection sensor is provided in the apparatus having the image sensor and the home position is set using the detection sensor, the image sensor is used for detecting the home position. Even when the mark cannot be detected, the home position can be set by using the detection sensor. Also, when moving the image sensor from the home position set using the detection sensor, the amount of movement is corrected based on the difference in the position of the image sensor. Can absorb. Therefore, an appropriate home position can be set easily and reliably.
[0022]
According to the second invention, when the presence or absence of the detection sensor is determined, and when it is determined that there is no detection sensor, the mark is detected by the image sensor, the home position is set, and when it is determined that there is the detection sensor Since the detection sensor detects that the relative distance between the carriage and the device has reached a predetermined value and sets the home position of the image sensor, it is a common program for devices that do not have a detection sensor or cannot use it. The home position can be set with.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a main part of a bankbook handling apparatus showing a first embodiment of the present invention.
FIG. 2 is a diagram showing a conventional home position.
3 is a diagram showing a relationship between an image sensor 3 and a reading position 6. FIG.
FIG. 4 is a flowchart showing processing performed before device shipment.
FIG. 5 is a diagram illustrating output signals of the photocoupler 10 and the image sensor 12a.
[Explanation of symbols]
10 Photocoupler 12 Carriage 12a Image sensor 13 Stepping motor 14 Detection rod 21 White tape

Claims (2)

左右に移動可能なキャリッジに取り付けられ該キャリッジと共にホームポジションから一定距離移動して読取対象の所定部分を読取るイメージセンサを備えた装置に対し、該キャリッジを移動させて当該装置に設定されたホームポジション検出用目印を該イメージセンサに検出させ、該イメージセンサが該目印を検出した位置を基準として該イメージセンサのホームポジションを設定する移動センサのホームポジション設定方法において、
前記キャリッジまたは装置に、該キャリッジ及び装置間の相対距離が所定値になったことを検知する検知センサを取り付けると共に、事前に該検知センサが該キャリッジ及び装置間の相対距離が所定値になったことを検知したときの前記イメージセンサの位置と前記目印を検出したときの該イメージセンサの位置との差を測定しておき、
境悪化で前記イメージセンサが該目印を検出できないとき或いは該イメージセンサで該目印の検出を行わない場合には、前記検知センサが該キャリッジ及び装置間の相対距離が所定値になったことを検知したときの該イメージセンサの位置を基準として前記ホームポジションを設定し、前記読取対象の所定部分を読取るときの前記一定距離は前記差で補正することを特徴とする移動センサのホームポジション設定方法。
A home position set in the apparatus by moving the carriage relative to an apparatus provided with an image sensor that is attached to a carriage that can be moved to the left and right and moves with a certain distance from the home position together with the carriage to read a predetermined portion to be read. In the home position setting method of the movement sensor, the detection mark is detected by the image sensor, and the home position of the image sensor is set based on the position where the image sensor detects the mark.
A detection sensor for detecting that the relative distance between the carriage and the device has reached a predetermined value is attached to the carriage or the device, and the relative distance between the carriage and the device has reached a predetermined value in advance. Measuring the difference between the position of the image sensor when detecting that and the position of the image sensor when detecting the mark,
When the image sensor in an environment worse that not detected in the landmarks in or the image sensor when not detect the mark said purpose is that the sensor is a relative distance between the carriage and the apparatus reaches a predetermined value A home position setting method for a movement sensor, wherein the home position is set on the basis of the position of the image sensor at the time of detection, and the fixed distance when the predetermined portion of the reading target is read is corrected by the difference. .
請求項1記載のキャリッジに取り付けられたイメージセンサを備えた装置、または該キャリッジに取り付けられたイメージセンサと前記検知センサとを持つ装置に対し、該イメージセンサのホームポジションを設定する移動センサのホームポジション設定方法において、
前記検知センサの有無を判断し、
前記検知センサが無いと判断した場合には前記イメージセンサに前記目印を検出させて該イメージセンサのホームポジションを設定し、
前記検知センサがあると判断した場合には前記検知センサに前記キャリッジ及び装置間の相対距離が所定値になったことを検知させて前記イメージセンサのホームポジションを設定することを特徴とする移動センサのホームポジション設定方法。
A home of a movement sensor for setting a home position of the image sensor with respect to a device having the image sensor attached to the carriage according to claim 1 or a device having the image sensor and the detection sensor attached to the carriage. In the position setting method,
Determining the presence or absence of the detection sensor;
When it is determined that the detection sensor is not present, the image sensor is caused to detect the mark and the home position of the image sensor is set.
When it is determined that the detection sensor is present, the movement sensor is configured to set the home position of the image sensor by causing the detection sensor to detect that the relative distance between the carriage and the apparatus has reached a predetermined value. Home position setting method.
JP23585099A 1999-08-23 1999-08-23 How to set the home position of the movement sensor Expired - Fee Related JP3706280B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23585099A JP3706280B2 (en) 1999-08-23 1999-08-23 How to set the home position of the movement sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23585099A JP3706280B2 (en) 1999-08-23 1999-08-23 How to set the home position of the movement sensor

Publications (2)

Publication Number Publication Date
JP2001060243A JP2001060243A (en) 2001-03-06
JP3706280B2 true JP3706280B2 (en) 2005-10-12

Family

ID=16992191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23585099A Expired - Fee Related JP3706280B2 (en) 1999-08-23 1999-08-23 How to set the home position of the movement sensor

Country Status (1)

Country Link
JP (1) JP3706280B2 (en)

Also Published As

Publication number Publication date
JP2001060243A (en) 2001-03-06

Similar Documents

Publication Publication Date Title
US8107833B2 (en) Image forming apparatus and method of correcting color misregistration in image forming apparatus
ATE554597T1 (en) BLUR CORRECTION DEVICE, BLUR CORRECTION METHOD AND IMAGE RECORDING DEVICE
JP3822824B2 (en) Medium detection method and apparatus, and printing apparatus
JP3653783B2 (en) In-vehicle image processing apparatus and image display system
CN101846906A (en) Medium conveying apparatus and image forming apparatus
JPS643050B2 (en)
JP3706280B2 (en) How to set the home position of the movement sensor
US9277073B2 (en) Scanner with document size identification capability
US11150748B1 (en) Mouse device and method for calibrating sensitivity thereof
US20060291007A1 (en) Compensation apparatus for image scan
US20110299137A1 (en) Optical scanning
US20020114022A1 (en) Image input apparatus, recording medium and image synthesis method
JP2004208299A (en) Target, method and apparatus for measuring assembly and alignment errors in sensor assembly
JPH0883124A (en) Unmanned carrier
JPH0530302A (en) Picture reader
JP4027345B2 (en) Optical encoder
JP3789751B2 (en) Image position inspection device
JPH1198329A (en) Device and method for picture reading
KR20070052058A (en) Method and system for printing error correction of image forming device
JP3017196B1 (en) Magnetic tape library apparatus and accessor positioning control method for magnetic tape drive
JP6674127B2 (en) Image processing device, photographing device, program, device control system and device
JP2007158859A (en) Image reading apparatus and image forming apparatus
JP2007088672A (en) Image forming apparatus, image position measuring method, and image position measurement adjusting method
JPS6356702B2 (en)
JP4356706B2 (en) Image forming apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050317

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050412

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050603

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050726

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050728

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090805

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090805

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100805

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100805

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110805

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees