JP2999022B2 - Printed line judgment device - Google Patents

Printed line judgment device

Info

Publication number
JP2999022B2
JP2999022B2 JP3189340A JP18934091A JP2999022B2 JP 2999022 B2 JP2999022 B2 JP 2999022B2 JP 3189340 A JP3189340 A JP 3189340A JP 18934091 A JP18934091 A JP 18934091A JP 2999022 B2 JP2999022 B2 JP 2999022B2
Authority
JP
Japan
Prior art keywords
medium
unit
transport
data
correction
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
JP3189340A
Other languages
Japanese (ja)
Other versions
JPH058492A (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 JP3189340A priority Critical patent/JP2999022B2/en
Publication of JPH058492A publication Critical patent/JPH058492A/en
Application granted granted Critical
Publication of JP2999022B2 publication Critical patent/JP2999022B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Handling Of Cut Paper (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Image Processing (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、金融機関に設けられた
自動取引装置の通帳読取部などに使用される印字済み行
判定装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a line determining device with a printing line used for a passbook reading section of an automatic transaction device provided in a financial institution.

【0002】[0002]

【従来の技術】金融機関に設けられた自動取引装置に
は、顧客から差入れられた通帳に預貯金金額などの内容
を印刷する機構が設けられている。このような装置にお
いては、予め印刷すべきページを開いて挿入された通帳
の印字済み行と空き行とを区別し、その空き行から印字
を開始するといった動作が必要となる。伝票等について
も同様のことが行われれる場合がある。図2には、その
ような印字済み行判定装置のブロック図を示す。図にお
いて、通帳等の媒体1は矢印2方向にローラ4により挟
まれながら搬送される。そして、この媒体1が読取部7
の下を通過すると、媒体上のイメージが読取られる。こ
のイメージは判定部20において解析される。なおロー
ラ4は、パルスモータ13により搬送機構14を介して
駆動力を与えられ回転する構成とされている。この装置
の具体的な説明をする前に、まず装置の全体機構を説明
する。
2. Description of the Related Art An automatic transaction apparatus provided in a financial institution is provided with a mechanism for printing the contents such as the amount of deposits and savings in a passbook inserted by a customer. In such a device, it is necessary to open a page to be printed in advance, distinguish between a printed line of the passbook inserted and an empty line, and start printing from the empty line. Similar operations may be performed on slips and the like. FIG. 2 shows a block diagram of such a line determination device with print. In the figure, a medium 1 such as a passbook is conveyed while being sandwiched by rollers 4 in the direction of arrow 2. Then, this medium 1 is
As the image passes under, the image on the medium is read. This image is analyzed in the determination unit 20. The roller 4 is configured to rotate by being given a driving force by a pulse motor 13 via a transport mechanism 14. Before giving a specific description of this device, first, the overall mechanism of the device will be described.

【0003】図3に、従来装置の機構外観図を示す。図
3(a)は平面図、(b)は側面図である。図のよう
に、媒体1は搬送路3を矢印2方向に搬送される。この
搬送路3の入口には挿入口10が配置され、搬送路3上
には多数のローラ4が配列されている。そして挿入口1
0に近い側から、媒体1に設けられた磁気ストライプの
データ書き込みを行うための書き込みヘッド5、及びデ
ータ読取りを行う読取りヘッド6が設けられ、さらにそ
の後方には、媒体上のイメージを読取り印字済み行を判
定するための読取部7が配置されている。読取部7に
は、媒体を照射するための発光ダイオードアレイ8とそ
の反射光を読取るCCDアレイ9が設けられている。さ
らにその後方には、媒体に印字を行うための印字ヘッド
11が配置されている。なお媒体取り忘れなどの際に
は、その後方に設けられた取り込み部12に媒体が収容
される。なお上記のような処理を行うために、この他に
媒体の搬送路3上の位置を検出する多数の図示しない位
置センサが設けられている。
FIG. 3 shows an external view of a mechanism of a conventional apparatus. 3A is a plan view, and FIG. 3B is a side view. As shown in the figure, the medium 1 is transported on the transport path 3 in the direction of arrow 2. An insertion port 10 is arranged at the entrance of the transport path 3, and a number of rollers 4 are arranged on the transport path 3. And insertion slot 1
From the side close to 0, a write head 5 for writing data on a magnetic stripe provided on the medium 1 and a read head 6 for reading data are provided, and further behind the head, an image on the medium is read and printed. A reading unit 7 for determining a completed row is arranged. The reading section 7 is provided with a light emitting diode array 8 for irradiating the medium and a CCD array 9 for reading the reflected light. Further behind, a print head 11 for printing on a medium is arranged. If the user forgets to take out the medium, the medium is stored in the take-in section 12 provided behind the medium. In order to perform the above-described processing, a number of position sensors (not shown) for detecting the position of the medium on the transport path 3 are provided.

【0004】上記のような装置は、図示しない制御部に
よってその動作を制御され、図示しないホストコンピュ
ータとデータの送受信を行いながら、所定の取引を実行
する。再び図2に戻って、従来の印字済み行判定装置の
具体的な構成を説明する。図2において、判定部20に
は搬送制御部21、データ格納部22、補正部23、補
正データ格納部24、解析部25及び行判定部26が設
けられている。搬送制御部21は、パルスモータ13に
対し駆動パルスを供給し、媒体1の搬送制御を行う回路
である。なお、パルスモータ13が1ステップだけ媒体
1を矢印2方向に搬送すると、そのつど読取部7が搬送
方向と交差する方向に1回走査し、データを1ライン分
読取る構成とされている。このために、搬送制御部21
から読取部7に対し、読取りタイミング制御のための信
号が供給される。データ格納部22は、読取部7から出
力されたデータを1ライン分ずつ2値化しながら格納す
るための比較回路やメモリから構成される。
The operation of the above-described apparatus is controlled by a control unit (not shown), and executes a predetermined transaction while transmitting and receiving data to and from a host computer (not shown). Returning to FIG. 2 again, a specific configuration of the conventional printed line determination device will be described. 2, the determination unit 20 includes a transport control unit 21, a data storage unit 22, a correction unit 23, a correction data storage unit 24, an analysis unit 25, and a row determination unit 26. The transport control unit 21 is a circuit that supplies a drive pulse to the pulse motor 13 and controls transport of the medium 1. When the pulse motor 13 conveys the medium 1 by one step in the direction indicated by the arrow 2, the reading unit 7 scans once in the direction intersecting the conveying direction and reads one line of data. For this purpose, the transport control unit 21
Supplies a signal for reading timing control to the reading unit 7. The data storage unit 22 includes a comparison circuit and a memory for binarizing and storing the data output from the reading unit 7 for each line.

【0005】図4に、上記のような媒体記入事項説明図
を示す。図の媒体1は、矢印2方向に搬送されるが、こ
こでこの搬送方向と交差するほぼ直角な方向に取引日や
取引金額などの文字17が一定間隔で記入されている。
上記図2に示した装置は、このような媒体の読取りと行
判定及び印字を行う。図5に、図2に示した読取部7の
出力信号のレベルと読取り位置の関係を示すグラフを示
した。
FIG. 4 shows a diagram for explaining the above-mentioned medium entry. The medium 1 shown in the figure is transported in the direction of arrow 2, where characters 17 such as transaction dates and transaction amounts are written at regular intervals in a direction substantially perpendicular to the transport direction.
The apparatus shown in FIG. 2 performs reading of such a medium, line determination, and printing. FIG. 5 is a graph showing the relationship between the level of the output signal of the reading unit 7 shown in FIG. 2 and the reading position.

【0006】図5において、図2に示した読取部7は、
まず媒体1が読取部7の下に来る前は、搬送路3の下面
を読取っているため出力レベルが低い。そして媒体1の
先端が読取部7の直下に来ると、媒体の下地が読み込ま
れ、この下地は白紙のためその出力レベルが十分高い。
媒体1に記載された文字の有無を検出するために、図2
に示したデータ格納部22は所定のスライスレベルSを
設定している。そして、このスライスレベルSよりも低
い出力レベルの場合に黒、高い出力レベルの場合に白と
判定する。従って、媒体下地や媒体地紋あるいは裏印字
などについては、スライスレベルS以上の出力レベルと
なるように条件を設定しておく。図4に示した文字17
については、その出力レベルがスライスレベルS以下と
なる。このようなデータが図2に示すデータ格納部22
に格納されると、次のようにして行判定が行われる。
In FIG. 5, the reading unit 7 shown in FIG.
First, before the medium 1 comes below the reading unit 7, the output level is low because the lower surface of the transport path 3 is read. Then, when the leading end of the medium 1 comes directly below the reading unit 7, the base of the medium is read, and since this base is a blank sheet, its output level is sufficiently high.
In order to detect the presence or absence of a character written on the medium 1, FIG.
Has a predetermined slice level S set therein. Then, the output level is determined to be black when the output level is lower than the slice level S, and to be white when the output level is higher than the slice level S. Therefore, the conditions are set so that the output level is equal to or higher than the slice level S for the medium background, the medium copy-forgery-inhibited pattern, or the back print. Character 17 shown in FIG.
, The output level is equal to or lower than the slice level S. Such data is stored in the data storage unit 22 shown in FIG.
, A row determination is performed as follows.

【0007】図6に、行判定方法説明図を示す。例えば
媒体1が搬送方向「矢印2方向」に先端から22.5ミリメ
ートルの余白を持ち、そこから5ミリメートル間隔で印
字行が設定されているとする。そして例えば図2に示し
た読取部7が媒体1の 0.1ミリメートル搬送毎に1回、
1ライン分の読取りを行うものとする。この場合、図6
に示した22.5ミリメートルの余白部分では、 224回分の
出力レベルが“0”即ち白と判定される。そして例えば
印字行の境界16で、 225回目に白という判定がなされ
る。通帳の場合、この境界は通常罫線等が引かれていな
いので、境界位置を直接認識することはできない。その
後、媒体1の先端から数えて 275回目の読取り時に再び
出力レベルが“0”となった所が次の印字行の境界とな
る。また2本の境界16の間に文字17が記入されてい
るような場合、その境界の間には“1”、即ち黒と判定
される領域が文字高さ分だけかたまって存在することに
なる。この出力の解析によって例えば黒が4個以上続い
たとき文字が印字済みであると判定し、その印字済み行
の文字高さに相当する範囲で矢印2方向に見た中心が印
字行の中心と判定される。一方、矢印2方向にみて、出
力レベルが一定以上連続して白と認識された場合に、印
字されていない行と判定する。
FIG. 6 is an explanatory diagram of a row determination method. For example, it is assumed that the medium 1 has a margin of 22.5 mm from the leading end in the transport direction “direction of arrow 2”, and print lines are set at intervals of 5 mm therefrom. Then, for example, the reading unit 7 shown in FIG.
It is assumed that one line is read. In this case, FIG.
In the 22.5 mm margin shown in (2), the output level for 224 operations is determined to be "0", that is, white. Then, for example, at the boundary 16 of the print line, the white determination is made at the 225th time. In the case of a passbook, this border is usually not ruled, so that the border position cannot be directly recognized. Thereafter, the point where the output level becomes “0” again at the 275th reading from the leading end of the medium 1 is the boundary of the next print line. If a character 17 is written between two boundaries 16, "1", that is, a region determined to be black, exists between the boundaries by the character height. . By analyzing this output, for example, when four or more blacks continue, it is determined that the character has been printed, and the center viewed in the direction of arrow 2 within the range corresponding to the character height of the printed line is the center of the printed line. Is determined. On the other hand, when the output level is recognized as white continuously for a certain amount or more in the direction of arrow 2, it is determined that the line is not printed.

【0008】[0008]

【発明が解決しようとする課題】ところで、上記のよう
な印字済み行判定装置は、例えば図2に示したローラ4
の外径にばらつきがあった場合、パルスモータ13に供
給される1回の駆動パルスによって搬送される媒体1の
搬送量は相違してくる。従って、例えばパルスモータ1
3に 100個の駆動パルスを供給した場合、本来 0.1×10
0 ミリメートルだけ媒体1が搬送されるはずのところ、
媒体1がそれ以上搬送されたり、それ以下の搬送量とな
ってしまう場合がある。
By the way, the above-described apparatus for determining a line with print is, for example, a roller 4 shown in FIG.
When the outer diameter of the medium 1 varies, the transport amount of the medium 1 transported by one drive pulse supplied to the pulse motor 13 differs. Therefore, for example, the pulse motor 1
When 100 drive pulses are supplied to 3
Where media 1 should be conveyed by 0 mm,
There is a case where the medium 1 is further conveyed or the conveyance amount becomes smaller.

【0009】図7にこのような場合のずれ補正方法説明
図を示す。図に示すように、媒体1の先端から 100ミリ
メートルのところにある印字行の境界16の読取りを行
うまで、正常な場合読取部7が1000回の読取りを行うこ
とになる。ところが搬送用のローラ4の外径が5%大き
いとすれば、 952回の読取り回数でこの位置を読取って
しまう。印字行間隔を5ミリとすれば、この場合、1行
分の誤差が生じてしまうことになる。従って、本来15
行目の印字行と判定すべき所、誤って14行目の印字行
と判定してしまう恐れがある。
FIG. 7 is a diagram for explaining a shift correction method in such a case. As shown in the figure, the reading unit 7 performs reading 1000 times in a normal state until reading the boundary 16 of the print line 100 mm from the leading end of the medium 1. However, if the outer diameter of the conveying roller 4 is 5% larger, this position is read with 952 readings. If the print line interval is 5 mm, an error of one line will occur in this case. Therefore, originally 15
Where it should be determined that the print line is the 14th print line, there is a possibility that the print line is erroneously determined to be the 14th print line.

【0010】従来、このようなローラ径のばらつきなど
による誤差発生を防止するため、図2に示したような補
正部23、補正データ格納部24を設けている。即ち補
正部23においては、予め正常な場合の読取り回数と実
際に装置に読取りを行わせた場合の読取り回数を比較し
て補正用の演算式を求めておく。これは工場で出荷する
前の試験の際等に行う。図7の例の場合には、1000回か
ら 952回を差し引いた48回の誤差を、1000回の読取り
を行う間に、何回かに分割して吸収させる動作を行う。
具体的には1000を48で割った約20回の読取り毎に、
1回分の架空のデータを付け加える操作を行う。このよ
うにして 952回目の読取り時にちょうど1000回分のデー
タが得られるように調整する。この補正演算式が図2に
示す補正部23に格納され、補正データ格納部24には
このような補正後のデータが格納される。解析部25は
補正データ格納部24の出力した補正済みのデータを読
取り、現在読取っている行が第何行目にあたるかを認識
し、さらにその行に印字がされているか否かを識別する
データを生成し、行判定部26に向け出力する。行判定
部26はこの結果をもとに、印字された行と印字されて
いない行とを判定し、その後の印字動作に使用する。な
お図7に示した例と反対に、ローラ径が小さい場合に
は、何回かの読取り毎にデータを間引くような処理を行
うことになる。
Conventionally, a correction unit 23 and a correction data storage unit 24 as shown in FIG. That is, the correction unit 23 compares the number of times of reading in a normal case with the number of times of reading when the apparatus actually performs reading, and obtains an arithmetic expression for correction in advance. This is performed at the time of testing before shipment at the factory. In the case of the example in FIG. 7, an operation is performed in which 48 errors obtained by subtracting 952 times from 1000 times are divided into several times and absorbed during 1000 readings.
Specifically, every 20 readings of 1000 divided by 48,
An operation of adding one fictitious data is performed. In this way, the data is adjusted so that the data of exactly 1000 times can be obtained at the time of the 952th reading. The correction operation formula is stored in the correction unit 23 shown in FIG. 2, and the correction data storage unit 24 stores the data after such correction. The analysis unit 25 reads the corrected data output from the correction data storage unit 24, recognizes the number of the currently read line, and further identifies whether or not the line is printed. Is generated and output to the row determination unit 26. The line determination unit 26 determines a printed line and a non-printed line based on the result, and uses the line for a subsequent printing operation. In contrast to the example shown in FIG. 7, when the roller diameter is small, a process of thinning out data is performed every several readings.

【0011】しかしながら上記のような方法では、装置
の出荷段階で補正部23への補正値等の設定が必要で、
その設定のための精密な検査も必要になる。またこのよ
うな処理によって正確な補正用の演算式が設定されたと
しても、長期間使用した場合にローラ径が変化したり、
ローラと媒体表面との摩擦が媒体毎に相違することによ
って、必ずしも正確な補正が永続的に行われるといった
保証がない。従って、印字行の認識を誤り印字行が飛ん
でしまったり、すでに印字されている行に重ね印字を行
ったりするといった問題も生じ得る。また、新たな印字
を行う場合に行の中心に印字を行う必要があるが、その
印字位置がずれたりするといった問題もある。これらの
問題を解決するためには、例えば定期的な点検を頻繁に
行い、補正値の変更等を行うことも考えられるが、人手
がかかりすぎて実際的でない。本発明は以上の点に着目
してなされたもので、自動的に高い精度で印字済み行の
判定のための補正を行うことができる印字済み行判定装
置を提供することを目的とするものである。
However, in the above-described method, it is necessary to set a correction value and the like to the correction unit 23 at the stage of shipping the device.
Precise inspection for the setting is also required. In addition, even if an arithmetic expression for correct correction is set by such processing, the roller diameter may change after long-term use,
Because the friction between the roller and the surface of the medium differs for each medium, there is no guarantee that the correct correction will be performed permanently. Therefore, there may be a problem that the recognition of the printing line is erroneous, the printing line is skipped, or the overprinting is performed on the already printed line. Further, when performing new printing, it is necessary to print at the center of the line, but there is a problem that the printing position is shifted. In order to solve these problems, it is conceivable that, for example, periodic inspections are frequently performed and correction values are changed, but this is not practical because it takes too much labor. The present invention has been made in view of the above points, and has as its object to provide a printed line determination device that can automatically perform correction for determination of a printed line with high accuracy. is there.

【0012】[0012]

【課題を解決するための手段】本発明の印字済み行判定
装置は、搬送路を搬送される媒体上のイメージを読み取
り、そのイメージデータを出力する読取部と、前記イメ
ージデータを格納するデータ格納部と、前記イメージデ
ータに対して媒体の搬送誤差に基づく補正を行い、その
補正イメージデータを格納する補正データ格納部と、前
記補正イメージデータに対して媒体の印字行方向に投影
した出力が連続するか否かにより媒体の印字済み行であ
るか否かを判定する行判定部と、前記搬送路に設けら
れ、前記媒体の実際の搬送時間を検出して実際の搬送時
間データを出力する搬送状態検出部と、前記搬送状態検
出部により論理的に計算される理論的搬送時間データと
前記実際の搬送時間データとを比較して、搬送誤差に基
づいた補正値を演算する補正値演算部とを備え、前記補
正値により、前記イメージデータに対して媒体の搬送誤
差に基づく補正を行うことを特徴とするものである。
SUMMARY OF THE INVENTION According to the present invention, there is provided a printed line determination apparatus for reading an image on a medium conveyed along a conveyance path.
Ri, a reading unit for outputting the image data, said Ime
A data storage unit for storing image data;
Data is corrected based on the transport error of the medium.
A correction data storage unit for storing correction image data;
Projection of the corrected image data in the print line direction of the medium
Depending on whether the output is continuous or not.
And determining the line determination unit whether Luke, et al provided in the conveying path
It is a transport state detection unit that outputs the actual transfer time data to detect the actual transfer time of the medium, the transport state detection
The theoretical transport time data calculated logically by detecting section compares the actual transfer time data, and a correction value calculating unit for calculating a correction value based on the transport error, the complement
Positive values indicate that the image data has a medium
The correction is performed based on the difference .

【0013】[0013]

【作用】補正値演算部は、搬送される媒体の理論的な搬
送時間データと搬送状態検出部にて検出された実際の搬
送時間データとを比較し、搬送誤差に基づいた補正値を
演算する。この補正値を使用して読み取ったイメージデ
ータを補正して補正イメージデータを得る。この補正イ
メージデータは、理論的な搬送時間データに対応するの
で、媒体の印字行方向に投影された場合連続するか否か
を判定することで、各行が印字済みであるか否かを正確
に判定が行える。
The correction value calculation section performs theoretical transport of the transported medium.
The actual transport time detected by the transport time data and the transport status detector
Compares with the feed time data and calculates a correction value based on the transport error.
Calculate. Image data read using this correction value
The data is corrected to obtain corrected image data. This correction
Image data corresponds to theoretical transport time data.
Whether or not to be continuous when projected in the print line direction of the medium
To determine whether each line has been printed or not.
Can be determined.

【0014】[0014]

【実施例】以下、本発明を図の実施例を用いて詳細に説
明する。図1は本発明の装置の実施例を示すブロック図
である。図の装置は、媒体1を矢印2方向に搬送するロ
ーラ4や、パルスモータ13及び搬送機構14を備えて
いる。これらの機構は、図2においてすでに説明した従
来装置と同様である。また搬送路上には読取部7が配置
され、この読取部7の出力は判定部40に受け入れられ
るよう構成されている。さらに本発明の装置の場合、搬
送路上に2つのセンサ31,32を有する搬送状態検出
部30が設けられている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the embodiments shown in the drawings. FIG. 1 is a block diagram showing an embodiment of the apparatus of the present invention. The illustrated apparatus includes a roller 4 for transporting the medium 1 in the direction of arrow 2, a pulse motor 13, and a transport mechanism 14. These mechanisms are the same as those of the conventional device already described in FIG. A reading unit 7 is disposed on the transport path, and the output of the reading unit 7 is configured to be received by the determination unit 40. Further, in the case of the apparatus of the present invention, a transport state detection unit 30 having two sensors 31 and 32 is provided on the transport path.

【0015】この2つのセンサ31,32は、例えば一
方から光を発し他方で光を受け、その間を媒体1が通過
した時、それを検出する光センサなどから構成される。
なお、このセンサ31,32は、予め搬送路上の搬送方
向に沿って所定間隔で正確に配置されている。判定部4
0には、搬送制御部21、データ格納部22、補正値演
算部41、補正部23、補正データ格納部24、解析部
25及び行判定部26が設けられている。図2において
説明した従来装置と本発明の装置とは、図中、補正値演
算部41を新たに追加した点が異なる。この補正値演算
部41は、搬送状態検出部30の2つのセンサ31,3
2の出力を受け入れ、さらに搬送制御部21から搬送制
御のための信号を受け入れて所定の補正値演算を行う回
路である。なお、これ以外の回路については、図2で説
明したものと同様の構成であり、重複する説明は省略す
る。
The two sensors 31 and 32 are composed of, for example, optical sensors that emit light from one side and receive light on the other side, and detect when the medium 1 passes between them.
The sensors 31 and 32 are accurately arranged in advance at predetermined intervals along the transport direction on the transport path. Judgment unit 4
In 0, a transport control unit 21, a data storage unit 22, a correction value calculation unit 41, a correction unit 23, a correction data storage unit 24, an analysis unit 25, and a row determination unit 26 are provided. The difference between the conventional apparatus described in FIG. 2 and the apparatus of the present invention is that a correction value calculation unit 41 is newly added in the figure. The correction value calculation unit 41 includes two sensors 31 and 3 of the conveyance state detection unit 30.
2 is a circuit for receiving a signal for transport control from the transport control section 21 and receiving a signal for transport control from the transport control section 21 to calculate a predetermined correction value. The other circuits have the same configuration as that described with reference to FIG. 2, and a duplicate description will be omitted.

【0016】図8に本発明の装置の機構外観図を示す。
図8(a)は装置の平面図、(b)はその側面図であ
る。これは図3ですでに説明した従来装置の機構と多く
の部分が同一で、同一部分には同一符号を付した。図3
に示した従来装置と比較して分かるように、本発明の装
置には、搬送路3上であって媒体1の挿入口10と読取
部7との間に、センサ31,32が配置されている。こ
のセンサ31,32は、図1に示した搬送状態検出部3
0を構成している。
FIG. 8 shows an external view of the mechanism of the apparatus of the present invention.
FIG. 8A is a plan view of the device, and FIG. 8B is a side view thereof. This is substantially the same as the mechanism of the conventional apparatus already described with reference to FIG. 3, and the same parts are denoted by the same reference numerals. FIG.
As can be understood from comparison with the conventional apparatus shown in FIG. 1, the apparatus of the present invention has sensors 31 and 32 disposed on the transport path 3 between the insertion port 10 of the medium 1 and the reading section 7. I have. The sensors 31 and 32 are provided in the transport state detecting unit 3 shown in FIG.
0.

【0017】図9に本発明の装置の動作タイムチャート
を示す。まず、図8に示す挿入口10から媒体1が挿入
されると、媒体1は矢印2方向に搬送され、始めに搬送
状態検出部30のセンサ31に検出される。そしてその
後媒体1の先端は、センサ31からセンサ32に向かっ
て搬送され、センサ32に検出された後、読取部7に向
かう。図9(a)には、この間に図1に示すパルスモー
タ13に供給された駆動パルスの波形を示す。これと読
取部7の読取りが同期していることは先に説明したとお
りである。また(b)はセンサ31の検出信号、(c)
はセンサ32の検出信号を示している。即ち、センサ3
1は時刻t1に媒体の先端を検出し、その出力をローレ
ベルからハイレベルに切り替える。また時刻t2に媒体
1の先端がセンサ32の直下を通過すると、センサ32
の出力がローレベルからハイレベルに切り替わる。この
時刻t1からt2までの間の時間を時間Tとした場合、
正確に調整された装置でパルスモータに供給されるべき
駆動パルスの数は、予め理論的に計算できる。即ち、セ
ンサ31と32の間隔が2センチメートルで、設計上の
駆動パルス1回における搬送量が 0.1ミリメートルとす
れば、時刻t1から時刻t2まで 200回の駆動パルスが
供給されるはずである。即ち、この間に読取部7は、 2
00回データの読取りを行うはずである。しかしながらロ
ーラ4の外径に誤差があったり、各種の変動要因がある
と、この駆動パルスがこの理論的な搬送量である基準値
と相違してくる。
FIG. 9 shows an operation time chart of the apparatus of the present invention. First, when the medium 1 is inserted from the insertion slot 10 shown in FIG. 8, the medium 1 is transported in the direction of arrow 2, and is first detected by the sensor 31 of the transport state detection unit 30. Then, the leading end of the medium 1 is conveyed from the sensor 31 to the sensor 32, and after being detected by the sensor 32, goes to the reading unit 7. FIG. 9A shows the waveform of the drive pulse supplied to the pulse motor 13 shown in FIG. 1 during this time. The fact that this is synchronized with the reading by the reading unit 7 is as described above. (B) is a detection signal of the sensor 31, (c)
Indicates a detection signal of the sensor 32. That is, the sensor 3
1 detects the leading end of the medium at time t1, and switches its output from low level to high level. When the leading end of the medium 1 passes immediately below the sensor 32 at time t2, the sensor 32
Switches from low level to high level. When the time from time t1 to t2 is time T,
The number of drive pulses to be supplied to the pulse motor with a precisely adjusted device can be theoretically calculated in advance. That is, assuming that the distance between the sensors 31 and 32 is 2 cm and the transport amount in one design drive pulse is 0.1 mm, 200 drive pulses should be supplied from time t1 to time t2. That is, during this time, the reading unit 7
The data should be read 00 times. However, if there is an error in the outer diameter of the roller 4 or if there are various fluctuation factors, the driving pulse differs from the reference value which is the theoretical transport amount.

【0018】図10に、本発明の装置の動作フローチャ
ートを示す。図に示すように、まずステップS1におい
て、図9に示したセンサ31がローレベルからハイレベ
ルに切り替わった後、センサ32がローレベルからハイ
レベルに切り替わるまでの間、即ち時刻t1からt2ま
での間、駆動パルスNをカウントする。これは図1の補
正値演算部41が搬送制御部21から入力する駆動パル
スをカウントすることにより得られる。次にステップS
2において、Nと基準値とを比較する。補正値演算部4
1には、予め先に説明した基準値が格納されており、こ
れが実際の駆動パルスと比較される。ここでステップS
3において両者が一致したか否かが判断される。両者が
一致した場合には処理がそのまま終了する。
FIG. 10 shows an operation flowchart of the apparatus of the present invention. As shown in the figure, first, in step S1, after the sensor 31 shown in FIG. 9 switches from low level to high level, until the sensor 32 switches from low level to high level, that is, from time t1 to t2. During this time, the drive pulse N is counted. This is obtained by counting the drive pulses input from the transport control unit 21 by the correction value calculation unit 41 in FIG. Next, step S
At 2, N is compared with a reference value. Correction value calculator 4
1 stores the reference value described above in advance, and this is compared with the actual drive pulse. Here step S
At 3, it is determined whether or not they match. If they match, the process ends.

【0019】一方、両者が不一致の場合には、ステップ
S4において基準値からNを差引き補正値を演算する。
そしてその補正値が図1に示す補正部23へ転送され
る。その後の補正部23の動作は、すでに図2において
説明した従来の装置と同様で、読取部7から読取られデ
ータ格納部22に格納されたデータに所定の補正を加
え、補正データ格納部24に格納する。解析部25はこ
の補正データ格納部24から補正済みのデータを読み出
し、行判定のためのデータを生成する。行判定部26は
この解析部25の出力に基づいて行判定を行う。例えば
駆動パルスが 200回供給されるとセンサ31からセンサ
32まで搬送されるべきところを、 190回の駆動パルス
で搬送されたものとすると、 200回で10パルス分の誤
差が生じたことになる。従って図1に示す補正部23
は、このような補正値を補正値演算部41から受け取る
と、20回の読取り毎に1回分の架空の読取りデータを
挿入する補正を行う。これによって理論的な搬送量と実
際の搬送量との誤差の累積が防止され、常に正確な行判
定が可能となる。
On the other hand, if they do not match, in step S4, N is subtracted from the reference value to calculate a correction value.
Then, the correction value is transferred to the correction unit 23 shown in FIG. The subsequent operation of the correction unit 23 is the same as that of the conventional device already described with reference to FIG. 2, and applies a predetermined correction to the data read from the reading unit 7 and stored in the data storage unit 22. Store. The analysis unit 25 reads the corrected data from the correction data storage unit 24 and generates data for row determination. The row determination unit 26 makes a row determination based on the output of the analysis unit 25. For example, if a drive pulse is supplied 200 times and should be conveyed from the sensor 31 to the sensor 32, and if it is conveyed by 190 drive pulses, an error of 10 pulses occurs in 200 times. . Therefore, the correction unit 23 shown in FIG.
Receives such a correction value from the correction value calculation unit 41, and performs correction to insert one imaginary read data every 20 readings. As a result, accumulation of errors between the theoretical transport amount and the actual transport amount is prevented, and accurate row determination is always possible.

【0020】特に本発明の装置においては、実際に媒体
の読取りを行う直前で搬送状態検出部30による出力か
ら補正値の演算を行うため、従来の様に出荷時に補正値
を固定的に求めておく場合に比べて、経時的な変化に常
に対応できるという利点がある。本発明は以上の実施例
に限定されない。上記搬送状態検出部30は、搬送方向
に所定間隔で配置された2つのセンサを用いて搬送状態
を検出するようにしたが、このセンサの数や位置等は必
要に応じて自由に変更して差し支えない。例えば何組か
のセンサを搬送路にそって並べ、各組のセンサによって
何種類かの補正値を求めることによりそれを平均化し、
より高い精度の補正も可能である。なお、上記読取部7
は、別途媒体上のイメージを読取るために使用されるか
ら、新たな読取部を増設する必要がなく装置のコストア
ップを防止できる。
In particular, in the apparatus of the present invention, since the correction value is calculated from the output of the conveyance state detecting unit 30 immediately before the actual reading of the medium, the correction value is fixedly obtained at the time of shipment as in the prior art. There is an advantage that it can always cope with a change over time as compared with the case where it is set. The present invention is not limited to the above embodiments. The transport state detection unit 30 detects the transport state using two sensors arranged at a predetermined interval in the transport direction. However, the number and position of the sensors can be freely changed as necessary. No problem. For example, several sets of sensors are arranged along the transport path, and several kinds of correction values are obtained by each set of sensors, and the correction values are averaged,
Higher accuracy correction is also possible. The reading unit 7
Is used for separately reading an image on a medium, so that it is not necessary to add a new reading unit, and the cost of the apparatus can be prevented from increasing.

【0021】[0021]

【発明の効果】以上説明した本発明の印字済み行判定装
置によれば、行判定のために媒体上のイメージを読取る
場合に、補正値演算部において、所定間隔搬送時の媒体
実際の搬送時間データを理論的に計算した理論的搬送
時間データと比較し、これにより読取り回数分のイメー
ジデータの補正値を演算するようにしたので、各行を正
確に示す補正イメージデータが得られ、従って、行判定
部にて常に誤りない行判定を行うことが可能となる。ま
た、これにより、印字行が飛んだり重ね印字が生じたり
するような印字誤りを防止することができる。しかも、
従来出荷試験時に行っていた補正のための試験が省略で
き、試験時間全体の短縮を図ることもできる。このほか
に、各装置が個別にその装置に適応した補正を行うた
め、装置の部品精度の管理も従来よりも緩やかにするこ
とができ、コストダウンを図ることも可能になる。
According to the above-described apparatus for determining a line with print according to the present invention, when an image on a medium is read for line determination, the correction value calculating unit calculates the actual transport of the medium at the predetermined interval. Theoretical transport that theoretically calculates time data
Compared time data, thereby the read number of times Image
Since so as to calculate a correction value of Jideta positive each row
The correct corrected image data is obtained, and therefore, the row judgment
It is possible to always make a row determination without error in the section . In addition, it is possible to prevent a printing error such as a skipped print line or an overprint. Moreover,
It is possible to omit a test for correction which was conventionally performed at the time of a shipping test, and to shorten the entire test time. In addition, since each device individually performs a correction adapted to the device, it is possible to manage component accuracy of the device more gently than before, and it is possible to reduce costs.

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

【図1】本発明の装置の実施例を示すブロック図であ
る。
FIG. 1 is a block diagram showing an embodiment of the apparatus of the present invention.

【図2】従来の装置のブロック図である。FIG. 2 is a block diagram of a conventional device.

【図3】従来の装置の機構外観図で、(a)は平面図、
(b)は側面図である。
3A and 3B are external views of a mechanism of a conventional device, wherein FIG.
(B) is a side view.

【図4】媒体記入事項の説明図である。FIG. 4 is an explanatory diagram of medium entries.

【図5】読取り位置と出力レベルの関係を示すグラフで
ある。
FIG. 5 is a graph showing a relationship between a reading position and an output level.

【図6】行判定方法説明図である。FIG. 6 is an explanatory diagram of a row determination method.

【図7】ずれ補正方法説明図である。FIG. 7 is an explanatory diagram of a shift correction method.

【図8】本発明の装置の機構外観図で、(a)は平面図
(b)は側面図である。
8A and 8B are external views of the mechanism of the device of the present invention, wherein FIG. 8A is a plan view and FIG. 8B is a side view.

【図9】本発明の装置の動作タイムチャートである。FIG. 9 is an operation time chart of the device of the present invention.

【図10】本発明の装置の動作フローチャートである。FIG. 10 is an operation flowchart of the apparatus of the present invention.

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

1 媒体 2 搬送方向 7 読取部 13 パルスモータ 14 搬送機構 21 搬送制御部 22 データ格納部 23 補正部 24 補正データ格納部 25 解析部 26 行判定部 30 搬送状態検出部 31,32 センサ 40 判定部 41 補正値演算部 DESCRIPTION OF SYMBOLS 1 Medium 2 conveyance direction 7 reading part 13 pulse motor 14 conveyance mechanism 21 conveyance control part 22 data storage part 23 correction part 24 correction data storage part 25 analysis part 26 line judgment part 30 conveyance state detection part 31, 32 sensor 40 judgment part 41 Correction value calculator

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) B41J 21/16 B41J 13/26 B41J 29/46 G07D 9/00 436 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) B41J 21/16 B41J 13/26 B41J 29/46 G07D 9/00 436

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 搬送路を搬送される媒体上のイメージを
読み取り、そのイメージデータを出力する読取部と、前記イメージデータを格納するデータ格納部と、 前記イメージデータに対して媒体の搬送誤差に基づく補
正を行い、その補正イメージデータを格納する補正デー
タ格納部と、 前記補正イメージデータに対して媒体の印字行方向に投
影した出力が連続するか否かにより媒体の印字済み行で
あるか否かを判定する 行判定部と、前記搬送路に設けられ、 前記媒体の実際の搬送時間を検
出して実際の搬送時間データを出力する搬送状態検出部
と、前記搬送状態検出部により論理的に計算される 理論的搬
送時間データと前記実際の搬送時間データとを比較し
て、搬送誤差に基づいた補正値を演算する補正値演算部
とを備え、 前記補正値により、前記イメージデータに対して媒体の
搬送誤差に基づく補正を行う ことを特徴とする印字済み
行判定装置。
1. An image on a medium conveyed along a conveying path.
A reading unit that reads the image data and outputs the image data; a data storage unit that stores the image data;
Correction data to store the corrected image data
Data storage unit, and project the corrected image data in the print line direction of the medium.
Depending on whether the shaded output is continuous or not,
A row determination unit that determines whether or not there is, a transport state detection unit that is provided in the transport path, detects an actual transport time of the medium, and outputs actual transport time data, and a transport state detection unit. A correction value calculating unit that compares logically calculated theoretical transfer time data with the actual transfer time data and calculates a correction value based on a transfer error;
And the correction value allows the medium
A printed line determination device for performing correction based on a transport error .
JP3189340A 1991-07-03 1991-07-03 Printed line judgment device Expired - Fee Related JP2999022B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3189340A JP2999022B2 (en) 1991-07-03 1991-07-03 Printed line judgment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3189340A JP2999022B2 (en) 1991-07-03 1991-07-03 Printed line judgment device

Publications (2)

Publication Number Publication Date
JPH058492A JPH058492A (en) 1993-01-19
JP2999022B2 true JP2999022B2 (en) 2000-01-17

Family

ID=16239702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3189340A Expired - Fee Related JP2999022B2 (en) 1991-07-03 1991-07-03 Printed line judgment device

Country Status (1)

Country Link
JP (1) JP2999022B2 (en)

Also Published As

Publication number Publication date
JPH058492A (en) 1993-01-19

Similar Documents

Publication Publication Date Title
US3831009A (en) Timing system for optically scanned documents
JP2999022B2 (en) Printed line judgment device
JP3960751B2 (en) Printer top edge position correction method and computer readable medium
JP3745546B2 (en) Data correction device
JP2875012B2 (en) Print line positioning method
JP2912395B2 (en) Media processing device
JP2725583B2 (en) Optical reader
JP3739590B2 (en) Media reader
JP2638031B2 (en) Passbook printer
JP4081393B2 (en) Image sensor operation confirmation method, operation confirmation apparatus, and operation confirmation program
JP2011126716A (en) Apparatus and method for detecting removal of conveyed object
JP4702065B2 (en) Apparatus and method for detecting removal of conveyance object
JPS6036632B2 (en) Image discrimination device
JP3116622B2 (en) Printed line detection method
JPH0831117B2 (en) Reader
JP2003025690A (en) Imaging apparatus
JPH0217584A (en) Mark reader
JP2011148153A (en) Bankbook recording machine and bankbook used therefor
JPH07319997A (en) Method for detecting image and medium processor
JPH113402A (en) Image reader
JP2002251525A (en) Processor and method for processing document
JPH0727481Y2 (en) Recording device
JPH03196381A (en) Information reader
JP2003312065A (en) Document processor and method of processing document
JPH0630852U (en) Card processing equipment

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees