Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH057757B2 - - Google Patents
[go: Go Back, main page]

JPH057757B2 - - Google Patents

Info

Publication number
JPH057757B2
JPH057757B2 JP58001315A JP131583A JPH057757B2 JP H057757 B2 JPH057757 B2 JP H057757B2 JP 58001315 A JP58001315 A JP 58001315A JP 131583 A JP131583 A JP 131583A JP H057757 B2 JPH057757 B2 JP H057757B2
Authority
JP
Japan
Prior art keywords
interrupt
area
detection
memory
storage
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 - Lifetime
Application number
JP58001315A
Other languages
Japanese (ja)
Other versions
JPS59127185A (en
Inventor
Shigeru Mabuchi
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP58001315A priority Critical patent/JPS59127185A/en
Publication of JPS59127185A publication Critical patent/JPS59127185A/en
Publication of JPH057757B2 publication Critical patent/JPH057757B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Inspection Of Paper Currency And Valuable Securities (AREA)

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 この発明は、紙幣などの紙葉類を搬送しつつ鑑
別する紙葉類の鑑別装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application The present invention relates to a paper sheet discrimination device that discriminates paper sheets such as banknotes while conveying them.

(ロ) 従来の技術 従来、例えば紙幣の種別を鑑別する鑑別装置と
して、搬送路にゲートセンサ(検知センサ)、イ
メージセンサ(パターンセンサ)を設け、ゲート
センサで紙幣通過を検知した後、イメージセンサ
を作動させ、紙幣の形状、模様等を認識し、この
認識結果により千円、五千円等を鑑別して振分け
るようにしたものがある。そして、この種の従来
の紙幣鑑別装置は、鑑別処理を1枚ずつ行うもの
であつた。
(B) Conventional technology Conventionally, for example, as a discrimination device for distinguishing the type of banknote, a gate sensor (detection sensor) and an image sensor (pattern sensor) are provided on the conveyance path, and after the gate sensor detects the passage of the banknote, the image sensor There is a system that recognizes the shape, pattern, etc. of banknotes by activating the banknotes, and uses the recognition results to differentiate and distribute 1,000 yen, 5,000 yen, etc. This kind of conventional banknote validating apparatus performs the validating process one by one.

(ハ) 発明が解決しようとする課題 上記した従来の装置では、紙幣の鑑別を1枚ず
つ行うものであり、紙幣の搬送、鑑別、鑑別結果
による振分けが順次繰り返し行われており、複数
の紙幣がまとめてパターン認識されてしまう等の
問題が生じない一方で、処理速度を或る程度以上
速くできないという限界があつた。
(c) Problems to be Solved by the Invention In the above-mentioned conventional apparatuses, each banknote is discriminated one by one, and the conveyance, discrimination, and sorting of the banknotes based on the discrimination results are performed repeatedly in sequence. While this method does not cause problems such as patterns being recognized all at once, there is a limitation in that the processing speed cannot be increased beyond a certain level.

そこで、さらに処理速度を上げるとなると、1
枚ずつ処理を行うのではなく、紙幣の投入口から
振分け部までの搬送路に複数枚の紙幣を連続して
搬送させながら、紙幣検知、鑑別処理、振分け処
理を行う必要がある。
Therefore, to further increase the processing speed, 1
It is not necessary to process banknotes one by one, but to perform banknote detection, discrimination processing, and distribution processing while continuously transporting a plurality of banknotes along a transport path from the banknote input slot to the distribution unit.

しかしながら、複数の紙幣を連続して搬送路上
を搬送するとなると、紙幣検知センサ、パターン
センサ等の各センサの信号出力を整理して処理し
ないと、どの紙幣の信号であるか判断できなくな
り制御が不可能となる恐れがある。例えば、紙幣
の途中に破れた穴がある場合、2つに折れた紙幣
が連続して搬送された場合、及び、紙幣の繰り出
し制御が悪く連続して搬送された場合などに、紙
幣検知センサの出力とイメージセンサ等のパター
ンセンサの出力に対応が取れず、正確な鑑別処理
が行えないこととなる。
However, when a plurality of banknotes are continuously conveyed on a conveyance path, unless the signal output of each sensor such as a banknote detection sensor and a pattern sensor is organized and processed, it becomes impossible to determine which banknote the signal belongs to, resulting in control failure. There is a possibility that it will be possible. For example, when a bill has a torn hole in the middle, when bills that are folded in two are continuously conveyed, or when bills are conveyed continuously due to poor payout control, the bill detection sensor The output cannot correspond to the output of a pattern sensor such as an image sensor, and accurate discrimination processing cannot be performed.

この発明は、上記の問題点に着目してなされた
ものであつて、搬送路に複数枚の紙葉類を搬送す
る場合において、通過検知センサの検知信号とパ
ターンセンサがパターン認識した対象紙葉類が一
致するようにし、紙葉類を正確に鑑別処理できる
紙葉類の鑑別装置を提供することを目的としてい
る。
This invention has been made by focusing on the above-mentioned problem, and when a plurality of sheets of paper are conveyed along a conveyance path, the detection signal of the passage detection sensor and the target sheet whose pattern is recognized by the pattern sensor are used. It is an object of the present invention to provide a paper sheet discrimination device that can accurately discriminate paper sheets by matching the types of paper sheets.

(ニ) 課題を解決するための手段及び作用 この発明の紙葉類の鑑別装置は、紙葉類の搬入
を順次に受け付け、間隔をおいてこれを搬送する
搬送手段3,4と、この搬送手段に紙葉類が搬入
されたことを検知し、その検知ごとに検知割り込
み信号Saを出力する検知センサ部S1と、この
検知センサ部が紙葉類の搬入を検知した後、所定
時間後に動作を開始して搬送されてくる各紙葉類
について印刷情報などを認識し、その認識後に認
識終了割り込み信号Sb,Scを出力するパターン
センサ部S2,S3と、前記搬送手段における紙
葉類の搬送速度に比例した周波数の時間割り込み
信号5aを出力するパルス発生手段5と、m個の
記憶エリアを有し、初期状態では各記憶エリアに
禁止データを記憶しているカウンタ群GTと、こ
のカウンタ群GTの各記憶エリアに対応したm個
の記憶エリアを有する第2の記憶部CTと、n個
の記憶エリアからなり、前記パターンセンサ部に
よるパターン認識結果を記憶する第3の記憶部
DTと、前記検知センサ部よりの検知割り込み信
号を順次に受け付け、その検知割り込み信号Sa
の受付順位を記憶する検知割り込み計数手段
CNT,ST2と、前記検知センサ部よりの検知割
り込み信号Saに応じて動作して、その時の前記
検知割り込み計数手段CNTの記憶内容を前記第
2の記憶部CTの適宜な記憶エリアに転送すると
共に、この記憶エリアに対応した前記カウンタ郡
GTの記憶エリア中に禁止解除データを書き込む
禁止解除手段ST4〜ST5と、前記パルス発生手
段よりの時間割り込みを受け、その割り込み毎
に、前記カウンタ郡GT中で禁止データ以外のデ
ータが格納されている記憶エリアの記憶内容をカ
ウントアツプするカウントアツプ手段ST18〜
ST21と、前記パターンセンサ部S2,S3よ
りの認識終了割り込みを受け、その割り込み時に
おける前記カウンタ郡の各記憶エリアの記憶内容
を、検知割り込みからこれに対応する認識終了割
り込みまでの正常動作により定まる本来の値(基
準値TI,TM)と比較することによつて、その
時パターン認識し終わつた紙葉類に対応する前記
カウンタ郡GTの記憶エリアを特定し、これに対
応する前記第2の記憶部の記憶エリアの記憶内容
iに基づいて、前記第3の記憶部の第i番目の記
憶エリア中に、前記パターンセンサ部の認識結果
たる紙葉類の種別データを記憶する種別記憶手段
ST7〜ST9,ST11〜ST15とを特徴的に備
えている。
(d) Means and operation for solving the problem The paper sheet identification device of the present invention includes transport means 3 and 4 that sequentially receive paper sheets and transport them at intervals; A detection sensor section S1 detects that paper sheets are carried into the means and outputs a detection interrupt signal Sa each time the detection occurs; pattern sensor sections S2 and S3 that recognize print information, etc. for each paper sheet that is conveyed by starting the process, and output recognition end interrupt signals Sb and Sc after recognition, and the conveyance speed of the paper sheet in the conveyance means. a pulse generating means 5 that outputs a time interrupt signal 5a with a frequency proportional to a second storage section CT having m storage areas corresponding to each storage area; and a third storage section CT comprising n storage areas and storing pattern recognition results by the pattern sensor section.
DT and the detection interrupt signal from the detection sensor section are sequentially received, and the detection interrupt signal Sa is received.
Detection interrupt counting means that stores the acceptance order of
CNT, ST2 and operates in response to the detection interrupt signal Sa from the detection sensor section, and transfers the memory contents of the detection interrupt counting means CNT at that time to an appropriate storage area of the second storage section CT. , the counter group corresponding to this storage area
Inhibition canceling means ST4 to ST5 write prohibition cancellation data into the storage area of the GT, and a time interrupt is received from the pulse generating means, and data other than the prohibition data is stored in the counter group GT for each interrupt. Count-up means ST18 to count up the memory contents of the storage area where the storage area is located
Upon receiving a recognition end interrupt from ST21 and the pattern sensor sections S2 and S3, the memory contents of each storage area of the counter group at the time of the interrupt are determined by the normal operation from the detection interrupt to the corresponding recognition end interrupt. By comparing with the original values (reference values TI, TM), the storage area of the counter group GT corresponding to the paper sheet for which pattern recognition has been completed at that time is specified, and the storage area of the counter group GT corresponding to this is specified. type storage means for storing type data of paper sheets, which is the recognition result of the pattern sensor unit, in the i-th storage area of the third storage unit based on the storage content i of the storage area of the third storage unit;
It is characteristically provided with ST7 to ST9 and ST11 to ST15.

この発明は、複数枚の紙葉類が次々と連続的に
搬送される装置についての発明であつて、パター
ンセンサ部より認識終了割り込みがあつた時に、
その認識結果が検知センサ部で検知された何番目
の紙葉類に関するものであるかを正確に把握し
て、その後、適宜に返却・回収処理をせんとする
ものである。以下、この発明の中心的な動作を説
明する。
This invention relates to a device in which a plurality of paper sheets are continuously conveyed one after another, and when a recognition end interrupt is received from a pattern sensor section,
The purpose is to accurately grasp the number of paper sheets detected by the detection sensor unit by the recognition result, and then perform appropriate return/recovery processing. The main operation of this invention will be explained below.

禁止解除手段は、検知割り込み信号Saに応じ
て動作して、検知割り込みう計数手段CNTの記
憶内容を第2の記憶部CTの適宜な記憶エリアに
転送すると共に、この記憶エリアに対応したカウ
ンタ郡GTの記憶エリア中に禁止解除データ(例
えば1)を書き込む。
The prohibition release means operates in response to the detection interrupt signal Sa, and transfers the memory contents of the detection interrupt counting means CNT to an appropriate storage area of the second storage unit CT, and also stores the counter group corresponding to this storage area. Write prohibition release data (for example, 1) into the GT storage area.

カウントアツプ手段は、パルス発生手段5より
の時間割り込みの毎に動作して、禁止データ以外
のデータを記憶しているカウンタ郡GTの記憶エ
リアのデータをカウントアツプする。第2の記憶
部の各記憶エリアには各紙葉類の受付順位が記憶
されているが、これに対応するカウンタ群の記憶
エリアでは、当該受付順位に対応する紙葉類の現
在位置が、各記憶エリア中のカウントアツプ値と
して順次に更新されることになる。
The count up means operates every time the pulse generation means 5 generates a time interrupt, and counts up the data in the storage area of the counter group GT that stores data other than the prohibited data. Each storage area of the second storage unit stores the reception order of each paper sheet, and the storage area of the corresponding counter group stores the current position of each paper sheet corresponding to the reception order. It will be updated sequentially as a count-up value in the storage area.

その後、各紙葉類はパターンセンサ部で印刷情
報などをパターン認識され、パターンセンサ部は
認識終了割り込み信号を出力する。ここで、検知
センサ部S1が紙葉類を検知してからパターンセ
ンサ部S2,S3がパターン認識を終えるまでの
時間、及び、その時間に対応した基準カウンタ値
TI,TMは予め分かつている。
Thereafter, each paper sheet undergoes pattern recognition of print information and the like by a pattern sensor section, and the pattern sensor section outputs a recognition completion interrupt signal. Here, the time from when the detection sensor section S1 detects a paper sheet until the pattern sensor sections S2 and S3 finish pattern recognition, and the reference counter value corresponding to that time.
TI and TM are known in advance.

そこで、種別記憶手段は、パターンセンサ部よ
り認識終了割り込みを受けた時に、カウンタ郡
GTのうち基準値を有している記憶エリアを特定
し、これに対応した第2記憶部の記憶エリアの記
憶内容(例えば、iとする)から、いまパターン
認識し終わつた紙葉類の受付順位がi番目であつ
た旨を把握し、第3の記憶部の第i番目の記憶エ
リア中に当該紙葉類の種別データを記憶する。
尚、ここで種別とは、紙葉類の形状や模様などの
異常状態の有無も含めた概念である。
Therefore, when receiving a recognition end interrupt from the pattern sensor section, the type storage means stores the counter group.
Identify the memory area that has the reference value in GT, and accept the paper sheet whose pattern has just been recognized from the memory contents (for example, i) of the memory area of the second memory unit corresponding to this. It is recognized that the ranking is i-th, and the type data of the paper sheet is stored in the i-th storage area of the third storage section.
Note that the term "type" here is a concept that includes the presence or absence of an abnormal condition such as the shape or pattern of the paper sheet.

このように、基準値TI,TMに基づいて各紙
葉類の受付順位を把握しているので、紙葉類の破
損穴などにより、検知センサ部S1が余分な検知
割り込みを発生したり、2枚の紙葉類が近接して
搬送されてパターン認識終了割り込みが正常に生
じない場合でも、第3の記憶部の適宜な記憶エリ
ア中に、当該紙葉類の種別データが記憶されるこ
とになる。
In this way, since the acceptance order of each paper sheet is known based on the reference values TI and TM, the detection sensor unit S1 may generate an extra detection interrupt due to a damaged hole in the paper sheet, or Even if the pattern recognition end interrupt does not occur normally due to paper sheets being conveyed in close proximity, the type data of the paper sheets will be stored in the appropriate storage area of the third storage unit. .

種別記憶手段による処理を終えた紙葉類は、鑑
別手段によつて適宜に処理される。すなわち、第
3の記憶部の第i番目の記憶エリアには、第i番
目に受け付けられた紙葉類についての種別データ
が記憶されているので、鑑別手段は、各紙葉類を
受け付ける毎に、その受付順位に対応した第3の
記憶エリアの内容から当該紙葉類の種別を把握し
て、返却処理や選別回収処理を行う。
The paper sheets that have been processed by the type storage means are appropriately processed by the discrimination means. That is, since the type data regarding the i-th accepted paper sheet is stored in the i-th storage area of the third storage section, the discrimination means, each time it receives each paper sheet, The type of the paper sheet is determined from the contents of the third storage area corresponding to the reception order, and return processing and sorting and collection processing are performed.

(ホ) 実施例 以下、実施例により、この発明をさらに詳細に
説明する。
(E) Examples The present invention will be explained in more detail below with reference to Examples.

第1図は、この発明の一実施例である紙幣鑑別
装置の紙幣搬送路とセンサ類の配置関係などを示
す概略図である。同図において、1は紙幣の鑑別
装置であつて、自動預金支払機などに内蔵されて
いる。3はこの鑑別装置1内に形成された搬送路
であつて、紙幣2を順次搬送するようになつてい
る。この搬送路3には上下に対となつた搬送ロー
ラ4が搬送方向に所定間隔を存して複数個配設さ
れており、上下のローラ4間で紙幣2を挟持して
搬送するように構成されている。
FIG. 1 is a schematic diagram showing the arrangement relationship between a banknote conveying path and sensors of a banknote validating device according to an embodiment of the present invention. In the figure, reference numeral 1 denotes a bill validating device, which is built into an automatic teller machine or the like. Reference numeral 3 denotes a conveyance path formed within this discrimination device 1, and is adapted to convey banknotes 2 in sequence. In this conveyance path 3, a plurality of upper and lower pairs of conveyance rollers 4 are arranged at predetermined intervals in the conveyance direction, and the bill 2 is configured to be conveyed while being held between the upper and lower rollers 4. has been done.

また、この搬送路3には、最前部よりゲートセ
ンサS1(検知センサ)、イメージセンサS2、
磁気センサS3及び位置センサS4が搬送方向に
所定間を存して配設されている。ここでイメージ
センサS2及び磁気センサS3は紙幣を鑑別する
ためのパターンセンサを構成している。
Also, in this conveyance path 3, from the front, a gate sensor S1 (detection sensor), an image sensor S2,
A magnetic sensor S3 and a position sensor S4 are arranged with a predetermined distance in the transport direction. Here, the image sensor S2 and the magnetic sensor S3 constitute a pattern sensor for identifying banknotes.

また、ゲートセンサS1は、紙幣が搬送されて
くると、紙幣が通過する毎に検知信号を出力する
ように構成されている。尚、第8図のS1のは
1枚目をは2枚目の検知信号を示している。
Further, the gate sensor S1 is configured to output a detection signal every time a banknote passes when the banknote is conveyed. Note that S1 in FIG. 8 indicates the detection signal for the first image and the second image.

イメージセンサS2及び磁気センサS3は、紙
幣の形状、模様等のパターンを認識するものであ
り、この認識結果にう基づいて紙幣を処理するよ
うになつている。そして、この両センサS2,S
3は、第2図及び第8図に示すように、紙幣の幅
Lより前後に所定長さa、b長く走査処理をし
て、紙幣の通過時間より長く動作するようになつ
ている。つまり、第8図では、信号S2,S3に
関し、、は紙幣の通過期間であり、破線で走
査期間を示している。また、この両センサS2,
S3は、ゲートセンサS1との間隔に合わせて、
ゲートセンサS1の検知信号の立上がりより所定
時間遅れて動作を開始するようになつている。
The image sensor S2 and the magnetic sensor S3 recognize patterns such as the shape and pattern of banknotes, and process the banknotes based on the recognition results. And these two sensors S2, S
3, as shown in FIGS. 2 and 8, performs a scanning process for predetermined lengths a and b longer than the width L of the banknote, and operates for a longer time than the passage time of the banknote. That is, in FIG. 8, regarding the signals S2 and S3, , is the passage period of the banknote, and the broken line indicates the scanning period. In addition, both sensors S2,
S3 is set according to the distance from the gate sensor S1.
The operation is started after a predetermined time delay from the rise of the detection signal of the gate sensor S1.

位置センサS4は紙幣が搬送されてくると検知
信号を出力するものであり、紙幣振分けのチエツ
クポイントPAに設けられている。
The position sensor S4 outputs a detection signal when a banknote is conveyed, and is provided at a checkpoint PA for banknote sorting.

第8図に示すSaは検知割り込み信号であり、
ゲートセンサS1の検知信号の立ち上がりで出力
され、後述する紙幣の認識処理などにおいて利用
される。また、SbはイメージセンサS2の動作
終了を示す割込み信号、Scは磁気センサS3の
動作終了を示す割込み信号であり、それぞれ各セ
ンサS2、S3の動作終了時に出力されるように
なつている。
Sa shown in Fig. 8 is a detection interrupt signal,
It is output at the rising edge of the detection signal of the gate sensor S1, and is used in banknote recognition processing, etc., which will be described later. Furthermore, Sb is an interrupt signal indicating the end of the operation of the image sensor S2, and Sc is an interrupt signal indicating the end of the operation of the magnetic sensor S3, which are output when the respective sensors S2 and S3 end their operations.

前記搬送路3には搬送ローラ4に連係されたタ
コジエネレータ5(パルス発生器)が設けられて
いる。このタコジエネレータ5は搬送ローラ4と
連動して回転するようになつており、搬送ローラ
4の回転速度、つまり紙幣の搬送速度に同期して
パルスを発生するようになつており、第8図に示
すように割り込み信号5aを発生する。このタコ
ジエネレータ5は、紙幣がゲートセンサS1の位
置に達した時点からのパルス数を計数する目的で
使用され、その計数結果によつて各紙幣の現在位
置を把握するようにしている。
The conveyance path 3 is provided with a tachometer generator 5 (pulse generator) linked to the conveyance roller 4 . This tachometer generator 5 is designed to rotate in conjunction with the conveyance roller 4, and is designed to generate pulses in synchronization with the rotational speed of the conveyance roller 4, that is, the conveyance speed of the banknote, as shown in FIG. The interrupt signal 5a is generated as shown in FIG. This tachometer generator 5 is used for the purpose of counting the number of pulses from the time when the banknote reaches the position of the gate sensor S1, and the current position of each banknote is determined based on the counting result.

搬送路3には位置センサS4の後方に振分け機
構6が設けられている。この振分け機構6は、イ
メージセンサS2及び磁気センサS3のパターン
認識の結果に基づいて紙幣を回収側に振分けるも
のであり、回動自在に枢支されたフラツパ6aに
ソレノイド6bが連接されて構成されている。そ
して、このソレノイド6bは位置センサS4の検
知信号によつて作動するようになつている。
A sorting mechanism 6 is provided in the conveyance path 3 behind the position sensor S4. This sorting mechanism 6 distributes banknotes to the collection side based on the pattern recognition results of the image sensor S2 and the magnetic sensor S3, and is constructed by connecting a solenoid 6b to a rotatably supported flapper 6a. has been done. This solenoid 6b is activated by a detection signal from the position sensor S4.

第7図は鑑別装置1の制御系統を示すブロツク
図であり、CPU7にメモリ8が連繋される一方、
I/Oポート9を介してゲートセンサS1及び位
置センサS4の検知信号S1S,S4S入力され
るようになつている。また、I/Oポート9より
増幅器10を介してソレノイド6bを作動させる
ソレノイド信号6sが出力されるようになつてい
る。
FIG. 7 is a block diagram showing the control system of the identification device 1, in which a memory 8 is connected to the CPU 7,
Detection signals S1S and S4S from the gate sensor S1 and position sensor S4 are inputted via the I/O port 9. Further, a solenoid signal 6s for operating a solenoid 6b is outputted from the I/O port 9 via an amplifier 10.

更に、CPU7にはタイミング発生回路11を
介してゲートセンサS1の検知信号S1S及びタ
コジエネレータ5のパルス5Sが入力されるよう
になつている。
Furthermore, the detection signal S1S of the gate sensor S1 and the pulse 5S of the tachogenerator 5 are input to the CPU 7 via the timing generation circuit 11.

前記CPU7を介してメモリ8に連繋された2
つのDMA制御回路12,13にはタイミング発
生回路11のタイミング信号が入力されると共
に、イメージセンサS2及び磁気センサS3から
の検出信号S2S,S3Sが増幅器14,15及
びA/Dコンバータ16,17を介して入力され
るようになつている。
2 connected to the memory 8 via the CPU 7
The timing signal of the timing generation circuit 11 is input to the two DMA control circuits 12 and 13, and the detection signals S2S and S3S from the image sensor S2 and the magnetic sensor S3 are input to the amplifiers 14 and 15 and the A/D converters 16 and 17. It is now entered via

第3図乃至第6図はメモリ8の記憶領域を示し
ており、CNTは、ゲートセンサS1を通過する
紙幣の通過順位を計数する通過枚数カウンタであ
り、TPは、後述するGTとCTに対するテーブル
ポインタである。なお、テーブルポインタTPを、
通過枚数カウンタCNTとは別に設けているのは、
テーブルポインタTPがリングカウンタとして動
作するからである。すなわち、GT、CTのエリ
ア数がmであれば、テーブルポインタTPは、1
〜mの各エリアを循環して指示する。
3 to 6 show the storage area of the memory 8, CNT is a passing number counter that counts the passing order of bills passing through the gate sensor S1, and TP is a table for GT and CT, which will be described later. It is a pointer. In addition, the table pointer TP is
What is provided separately from the passing sheet counter CNT is:
This is because the table pointer TP operates as a ring counter. In other words, if the number of areas of GT and CT is m, the table pointer TP is 1
Cycle through each area of ~m and give instructions.

GTはタコジエネレータカウンタ(以下タコジ
エネカウンタと略す)、CTは枚数データテーブル
であり、これらは、ゲートセンサS1と磁気セン
サS3との間に紙幣が位置し得る枚数を考慮し
て、それぞれm個のエリアを有している。そして
タコジエネカウンタGTの各エリアでは、紙幣が
ゲートセンサS1に達した以後のタコジエネレー
タ5の発生パルス数を、各紙幣毎に計数するよう
になつている。また、枚数データテーブルCTで
は、各紙幣のゲートセンサS1の通過順位、つま
り1枚目、2枚目等を、テーブルポインタTPの
指示するエリアに記憶するようになつている。
GT is a tachogenerator counter (hereinafter abbreviated as tachogen counter), CT is a number data table, and these are calculated by considering the number of banknotes that can be positioned between the gate sensor S1 and the magnetic sensor S3. It has m areas. In each area of the tachogenerator counter GT, the number of pulses generated by the tachogenerator 5 after the banknote reaches the gate sensor S1 is counted for each banknote. Further, in the number data table CT, the order in which each banknote passes through the gate sensor S1, that is, the first banknote, second banknote, etc., is stored in the area indicated by the table pointer TP.

DTPは振分け枚数カウンタであつて、位置セ
ンサS4を通過する紙幣の通過順位を計数するよ
うになつている。
The DTP is a sorted bill counter and is designed to count the order in which bills pass through the position sensor S4.

DTは、枚数デタテーブルCTの内容(各紙幣
のゲートセンサS1の通過順位)をポインタとし
た振分けデータテーブルであつて、この装置で1
回に取り扱い得る紙幣の最大限度枚数を考慮して
n個のエリアを有している。そして、振分けデー
タテーブルDTの各エリアには、イメージセンサ
S2及び磁気センサS3のパターン認識の結果
(千円、五千円等の金種)を、各紙幣のゲートセ
ンサS1の通過順位の順に記憶するようになつて
いる。
DT is a distribution data table using the contents of the number data table CT (the order in which each banknote passes through the gate sensor S1) as a pointer, and this device
It has n areas in consideration of the maximum number of banknotes that can be handled at one time. Then, in each area of the distribution data table DT, the pattern recognition results of the image sensor S2 and the magnetic sensor S3 (denominations such as 1,000 yen, 5,000 yen, etc.) are stored in the order of the passing order of each banknote through the gate sensor S1. I'm starting to do that.

次に、この紙幣の鑑別装置1のソフト構成及び
作用を第8図乃至第14図に基づいて説明する。
Next, the software configuration and operation of this banknote discrimination device 1 will be explained based on FIGS. 8 to 14.

先ず、紙幣が正常に搬送される場合の動作を説
明する。搬送路3を駆動して紙幣を搬送し始める
と、第13図におけるステツプ(以下STという)
1においてゲートセンサS1の割込みがあつたか
否かが判定される。ここで、紙幣がゲートセンサ
S1に達すると、第8図に示すようにS1の検知
信号が出力されるので、その立上がりによりST1
の判定がYESとなる。この判定YESで、通過枚
数カウンタCNTに1が加算され(ST2)、テーブ
ルポインタTPに1が加算される(ST3)。さら
に、このテーブルポインタTPが示すタコジエネ
カウンタGTの第1のエリアに1がセツトされ、
タコジエネレータ5のパルス数の計数処理(後述
する)が開始される(ST4)。更に、このテーブ
ルポインタTPが示す枚数データテーブルCTの第
1エリアに紙幣の通過順位、つまり1枚目である
ことを示すデータ1が記憶される(ST5)。この
タイミングでは、各エリアの内容は、CNT=1、
TP=1、GT1=1、CT1=1である(例えば
図10のt1のタイミング参照)。
First, the operation when a banknote is normally conveyed will be explained. When the conveyance path 3 is driven and the banknotes begin to be conveyed, the step (hereinafter referred to as ST) in FIG.
1, it is determined whether or not there is an interrupt from the gate sensor S1. Here, when the banknote reaches the gate sensor S1, the detection signal of S1 is output as shown in FIG.
The judgment is YES. If this determination is YES, 1 is added to the passing sheet number counter CNT (ST2), and 1 is added to the table pointer TP (ST3). Furthermore, 1 is set in the first area of the tachodynamic counter GT indicated by this table pointer TP,
A process for counting the number of pulses of the tachometer generator 5 (described later) is started (ST4). Furthermore, data 1 indicating the passing order of the banknote, that is, the first banknote, is stored in the first area of the number data table CT indicated by the table pointer TP (ST5). At this timing, the contents of each area are CNT=1,
TP=1, GT1=1, and CT1=1 (see, for example, the timing of t1 in FIG. 10).

その後、ST1に戻つてゲートセンサS1の割込
みがあつたか否かが判定され、次のゲートセンサ
割り込みSaのが入るまではST6以降の処理に
移る。やがて2枚目の紙幣が搬送されてくると割
り込み信号SaのによりST1の判定がYESとな
り、上述の動作を繰り返すことになる。つまり、
タコジエネカウンタGTの第2エリアにデータ1
がセツトされてパルス数の計数が開始され
(ST4)、一方、データテーブルCTの第2エリア
に2枚目の紙幣であることを示すデータ2が記憶
される。(ST5)。このような動作を紙幣が終了す
るまで繰り返すことになる。
Thereafter, the process returns to ST1 and it is determined whether or not there is an interrupt from the gate sensor S1, and the process moves to ST6 and subsequent steps until the next gate sensor interrupt Sa occurs. When the second banknote is finally conveyed, the determination in ST1 becomes YES due to the interrupt signal Sa, and the above-described operation is repeated. In other words,
Data 1 in the second area of Takojiene Counter GT
is set and counting of the number of pulses is started (ST4), while data 2 indicating that it is the second bill is stored in the second area of the data table CT. (ST5). This operation will be repeated until the banknotes run out.

一方、ゲートセンサS1の検知信号から所定時
間後にイメージセンサS2と磁気センサS3が作
動し始め、パターン認識が終了すれば認識終了割
り込み信号Sb,Scを出力する。このタイミング
になると、ST1の判定NOに続いてST6に移り、
イメージセンサS2の割り込みSbがあつたか否
かが判定される。そして、イメージセンサS2の
動作が終了して割り込み信号Sbのが出力され
ればST7の処理に移る。このST7において、タコ
ジエネカウンタGTの各エリアで計数しているパ
ルス数が、予め設定されている基準値TAと比較
され、基準値TAより小さくしかも所定範囲内の
値を格納しているタコジエネカウンタGTのエリ
アが検出される。
On the other hand, the image sensor S2 and the magnetic sensor S3 start operating after a predetermined time from the detection signal of the gate sensor S1, and when the pattern recognition is completed, recognition completion interrupt signals Sb and Sc are output. At this timing, following the NO judgment in ST1, move to ST6,
It is determined whether or not an interrupt Sb of the image sensor S2 has occurred. Then, when the operation of the image sensor S2 is completed and the interrupt signal Sb is output, the process moves to ST7. In ST7, the number of pulses counted in each area of the tachometer counter GT is compared with a preset reference value TA, and if the tachometer stores a value smaller than the reference value TA but within a predetermined range, The area of Gene Counter GT is detected.

ここで、基準値TAは、イメージセンサS2や
磁気センサセンサS3よりの割り込みが生じた時
に、その割り込み原因が何番目の紙幣によるもの
かを認定するための値である。例えば、ゲートセ
ンサS1から割り込み信号Sbを発生する箇所ま
での距離を110mmとして、その距離をパルス数
(例えば1パルス=2.5mmとする)に換算すると、
イメージセンサS2の作動終了までの正規のパル
ス数TIは、TI=110/2.5+1=45となる。また、
ゲートセンサS1から割り込み信号Scを発生す
る箇所までの距離を172.5mmとすると、磁気セン
サS3の作動終了までの正規のパルス数TMは、
TM=172.5/2.5+1=70となる。そこで、TIと
TMの中間地点として基準値TAをTA=(45+
70)/2≒57と定める。なお後述するαは、TM
の前後をカバーする意味からα=(TM−TA)×
2=26と決定している。
Here, the reference value TA is a value for identifying which banknote is the cause of the interruption when an interruption occurs from the image sensor S2 or the magnetic sensor S3. For example, assuming that the distance from the gate sensor S1 to the point where the interrupt signal Sb is generated is 110 mm, converting that distance into the number of pulses (for example, 1 pulse = 2.5 mm):
The normal number of pulses TI until the image sensor S2 stops operating is TI=110/2.5+1=45. Also,
If the distance from the gate sensor S1 to the point where the interrupt signal Sc is generated is 172.5 mm, the regular number of pulses TM until the magnetic sensor S3 completes its operation is:
TM=172.5/2.5+1=70. So, with T.I.
The reference value TA is set as the midpoint of TM as TA=(45+
70)/2≒57. Note that α, which will be described later, is TM
Since it covers both before and after, α=(TM−TA)×
It has been determined that 2=26.

このように、基準値TAはイメージセンサS2
の作動終了時の正規のパルス数TIより大きく且
つ磁気センサS3の作動終了時の正規のパルス数
TMより小さく設定されている。従つて、例えば
1枚目の紙幣が正常処理されてイメージセンサS
2が動作を終了した場合、タコジエネカウンタ
GTの各エリア中より基準値TAより小さく所定
の範囲内にあるデータを検索すれば、タコジエネ
カウンタGTの第1エリアが検出され、枚数デー
タテーブルCTの同じ第1エリアの内容によつて、
いまパターン認識された紙幣が1枚目のものであ
ることが把握される(ST8)。
In this way, the reference value TA is the image sensor S2
is larger than the regular number of pulses TI at the end of the operation of the magnetic sensor S3, and the regular number of pulses at the end of the operation of the magnetic sensor S3.
It is set smaller than TM. Therefore, for example, the first bill is normally processed and the image sensor S
2 completes the operation, the tachogen counter
If we search for data in each area of GT that is smaller than the reference value TA and within a predetermined range, the first area of the tachodynamic counter GT will be detected, and based on the contents of the same first area of the sheet count data table CT, ,
It is recognized that the banknote whose pattern has now been recognized is the first one (ST8).

続いて、イメージセンサS2のパターン認識の
結果をチエツクし、その結果を振分けデータテー
ブルDT中の、枚数データテーブルCTの第1エ
リアの記憶内容(=1)によつて特定される、第
1のエリアに記憶する(ST9)。そして、以後2
枚目以降の紙幣が順次、正常にイメージセンサS
2を通過すると、上記動作が繰り返される
(ST1、ST6〜ST9)。
Next, the pattern recognition result of the image sensor S2 is checked, and the result is transferred to the first image data specified by the memory content (=1) of the first area of the sheet count data table CT in the distribution data table DT. Store in area (ST9). And from then on 2
The image sensor S successfully prints the banknotes after the first one.
2, the above operations are repeated (ST1, ST6 to ST9).

紙幣が正常に搬送されている場合には、やがて
磁気センサS3の作動が終了して、検出信号が立
下がり、第8図に示すように割込み信号Scが出
力される。すると、ST10の判定がYESとなり、
処理はST11以降に移る。このST11では、タコジ
エネカウンタGTで計数している各パルス数を基
準値TAと比較して、基準値TA=57より大きく
且つTA+α=83より小さいパルス数を有するテ
ーブル位置(第iエリアであつたとする)を検出
する。このテーブル位置iから枚数データテーブ
ルCTの同じテーブル位置iの記憶内容、つまり
紙幣の通過順位(j番目であつたとする)が認知
され(ST12)、磁気センサS3の認識結果と紙幣
の通過順位jとの対応関係が決定される。
If the banknotes are being transported normally, the operation of the magnetic sensor S3 will eventually end, the detection signal will fall, and an interrupt signal Sc will be output as shown in FIG. Then, the judgment of ST10 becomes YES,
Processing moves to ST11 and later. In this ST11, the number of pulses counted by the tachometer counter GT is compared with the reference value TA, and the table position (in the i-th area Detect heat (suppose it is hot). From this table position i, the stored contents of the same table position i of the number data table CT, that is, the passing order of the banknote (assuming that it is the jth one) are recognized (ST12), and the recognition result of the magnetic sensor S3 and the passing order of the banknote j are recognized (ST12). The correspondence relationship between the two is determined.

続いて、磁気センサS3のパターン認識の結果
をチエツクし、その結果を、振分けデータテーブ
ルDT中の第jエリアに記憶して(ST13)、タコ
ジエネカウンタGTの第iエリアの内容を0に戻
す(ST15)。その後、紙幣が終了か否かを判定し
(ST16)、終了していないとST1に戻つて上記動
作を繰り返し、終了していると鑑別動作を終了す
る。
Next, the pattern recognition result of the magnetic sensor S3 is checked, the result is stored in the j-th area of the distribution data table DT (ST13), and the content of the i-th area of the tachodynamic counter GT is set to 0. Return (ST15). Thereafter, it is determined whether or not the banknote is finished (ST16). If the banknote is not finished, the process returns to ST1 and the above operation is repeated, and if the banknote is finished, the discrimination operation is ended.

一方、以上の動作と並行してタコジエネレータ
5は、紙幣の搬送速度に比例した割込み信号5a
を順次に出力している。従つて、この割り込み
(時間割り込み)があると、処理はST17以降に移
行し、タコジエネカウンタGTの各エリアの記憶
データがチエツクされ(ST18)、その値が0であ
るか否かが判定される(ST19)。
On the other hand, in parallel with the above operation, the tachogenerator 5 sends an interrupt signal 5a proportional to the conveyance speed of the banknote.
are output sequentially. Therefore, when this interrupt (time interrupt) occurs, the process moves to ST17 and later, the data stored in each area of the tachodynamic counter GT is checked (ST18), and it is determined whether the value is 0 or not. (ST19)

そして、0以外のデータを記憶されている場合
には、そのデータ(カウンタ値)が+1され
(ST20)、0が記憶されている場合には何もしな
いでSTZIの処理に進む。タコジエネカウンタ
GTの各エリアは、前記ST4の処理によつて紙幣
の通過毎に1にセツトされるので、ST4の処理を
受けたエリアでのみタコジエネレータ5の発生パ
ルス数が計数されていくことになる。
If data other than 0 is stored, the data (counter value) is incremented by 1 (ST20), and if 0 is stored, nothing is done and the process proceeds to STZI. Takojiene counter
Each area of the GT is set to 1 each time a banknote passes through the process of ST4, so the number of pulses generated by the tachogenerator 5 is counted only in the area that has undergone the process of ST4.

ST18〜ST20の処理は、順次、タコジエネカウ
ンタGTの最終エリアまで行われ(ST21)、最終
テーブル位置までの処理が終了したらST1に戻る
(ST21)。尚、ST18〜ST21の処理は、他の処理
(ST1…ST16)より極めて高い頻度で、つまり第
8図に示す5aの間隔で行われているのは勿論で
ある。
The processing in ST18 to ST20 is sequentially performed up to the final area of the tachogenete counter GT (ST21), and when the processing up to the final table position is completed, the process returns to ST1 (ST21). It goes without saying that the processes ST18 to ST21 are performed at a much higher frequency than the other processes (ST1...ST16), that is, at intervals of 5a shown in FIG.

次に、紙幣が位置センサS4まで到達すると、
つまりチエツクポイント(PA)までくると、位
置センサS4の検知信号により第14図のST22
の判定がYESとなり、振分け枚数カウンタDTP
に1が加算され(ST23)、振分けデータテーブル
DTの該当エリアよりパターン認識の結果を読出
してチエツクする(ST24)。
Next, when the banknote reaches position sensor S4,
In other words, when the check point (PA) is reached, the detection signal from the position sensor S4 causes ST22 in Fig.
The judgment becomes YES, and the number of distributed sheets counter DTP
1 is added to (ST23), and the distribution data table
Read and check the pattern recognition results from the relevant area of DT (ST24).

続いて、その検知結果より回収を要するか否か
が判定され(ST25)、DTの該当エリアにデータ
0が格納されていたり、イメージセンサS2と磁
気センサS3のパターン認識結果が相違していた
ら当該紙幣についての返却処理がされる。一方、
DTの該当エリアに正常なパターン認識結果が格
納されていれば紙幣種別に応じた回収処理がされ
る。回収を要する場合、回収機構、つまり振分け
機構6のフラツパ6aが一定時間作動し
(ST26)、紙幣が終了したか否かが判定される
(ST27)。また、回収を要しない場合も、ST27に
移り、紙幣が終了していない場合は、ST22に戻
り、終了すると鑑別動作が終了する。
Next, it is determined whether collection is required based on the detection result (ST25), and if data 0 is stored in the corresponding area of DT or the pattern recognition results of image sensor S2 and magnetic sensor S3 are different, the corresponding The banknotes are processed for return. on the other hand,
If a normal pattern recognition result is stored in the corresponding area of the DT, collection processing is performed according to the banknote type. If collection is required, the collection mechanism, that is, the flapper 6a of the sorting mechanism 6 is operated for a certain period of time (ST26), and it is determined whether or not the banknotes have run out (ST27). Further, if collection is not required, the process moves to ST27, and if the banknotes are not finished, the process returns to ST22, and when the banknotes are finished, the discrimination operation ends.

以上のように、紙幣が正常に搬送され、第8図
に示すように、1枚目紙幣のSa信号、1枚目紙
幣のSb信号、2枚目紙幣のSa信号、1枚目紙幣
のSc信号、2枚目紙幣のSb信号、2枚目紙幣の
Scと、単純にSa、Sb、Scの各信号が出力された
順に1枚目、2枚目、…と割り振つていくことに
より、搬送路にある複数枚の紙幣の位置情報と紙
幣鑑別用センサの出力タイミングを比較すること
により、紙幣と鑑別結果の対応づけを行い、間違
いなく紙幣の振分けを行うことができる。
As described above, the banknotes are transported normally, and as shown in FIG. 8, the Sa signal of the first banknote, the Sb signal of the first banknote, the Sa signal of the second banknote, and the Sc signal of the first banknote Signal, Sb signal of the second bill, Sb signal of the second bill
Sc, and by simply assigning the Sa, Sb, Sc signals as the first, second, etc. in the order in which they are output, position information of multiple bills on the conveyance path and bill discrimination can be obtained. By comparing the output timings of the sensors, it is possible to associate the banknotes with the identification results and sort the banknotes without error.

一方、紙幣の搬送状態や紙幣の形状異常などが
発生すると、正常な紙幣を受付け、異常な紙幣は
振分けにより返却して、正しい紙幣処理を行う。
第9図は、1枚目の紙幣に穴が開いている場合の
各センサの検出信号、及び割り込み信号のタイム
チヤートであり、第10図は、第9図に対応する
各タイミングt1〜t7における各カウンタ、テーブ
ルの内容を示す図である。
On the other hand, if an abnormality occurs in the conveyance state of the banknotes or the shape of the banknotes, normal banknotes are accepted, abnormal banknotes are sorted and returned, and the banknotes are processed correctly.
FIG. 9 is a time chart of the detection signals of each sensor and the interrupt signal when the first banknote has a hole, and FIG. 10 is a time chart of each timing t 1 to t corresponding to FIG. 9. 7 is a diagram showing the contents of each counter and table in FIG.

先ず、タイミングt1の割り込み信号Saで通過枚
数カウンタCNTが1、テーブルポインタTPが
1、タコジエネカウンタGTと枚数データテーブ
ルCTの第1のエリアが1にセツトされる(ST1
〜ST5)。なお、DTの第1のエリアはパターン
チエツクが行われていないので0である。次に、
タイミングt2で穴による1枚目の紙幣の2回目の
立ち上がりにより、割り込み信号Saの′で、カ
ウンタCNTが2、テーブルポインタTPが2、タ
コジエネカウンタGTの第2のエリアが1、枚数
データテーブルCTの第2のエリアが2にセツト
される。なお、この時、タコジエネカウンタGT
の第1のエリアは20であつたとする。
First, in response to the interrupt signal Sa at timing t1 , the passing sheet number counter CNT is set to 1, the table pointer TP is set to 1, the tachodynamic counter GT and the first area of the sheet number data table CT are set to 1 (ST1
~ST5). Note that the first area of DT is 0 because no pattern check has been performed. next,
At timing t 2 , the second rise of the first bill due to the hole causes the interrupt signal Sa to indicate that the counter CNT is 2, the table pointer TP is 2, the second area of the tachometer counter GT is 1, and the number of bills is 1. The second area of data table CT is set to 2. In addition, at this time, the tachogene counter GT
Assume that the first area of is 20.

タイミングt3では、イメージセンサS2の動作
終了時の割り込み信号Sbに基づいてST7の処理
がされてタコジエネカウンタGTの第1のエリア
45が検出され、枚数データテーブルCTの第1
エリアが1であることから、振分けデータテーブ
ルDTの第1のエリアにイメージセンサS2のパ
ターン認識の結果、例えばI=千(イメージセン
サS2のパターン認識の結果が千円であることを
意味する)がストアされる(ST7〜ST9)。しか
し、タコジエネカウンタGTの第2のエリアの内
容26は基準値TA(=57)より大きくずれてい
るので振り分けデータテーブルDTの第2のエリ
アは0のままである。
At timing t3 , ST7 is processed based on the interrupt signal Sb at the end of the operation of the image sensor S2, the first area 45 of the tachodynamic counter GT is detected, and the first area 45 of the sheet count data table CT is detected.
Since the area is 1, the result of pattern recognition by image sensor S2 is stored in the first area of distribution data table DT, for example, I = 1,000 (meaning that the result of pattern recognition by image sensor S2 is 1,000 yen). is stored (ST7 to ST9). However, since the content 26 of the second area of the tachodynamic counter GT deviates significantly from the reference value TA (=57), the second area of the distribution data table DT remains at 0.

t4のタイミングで、2枚目の紙幣の検出による
割り込み信号Saのにより、通過枚数カウンタ
CNTが3、テーブルポインタTPが3となり、応
じてタコジエネカウンタGTの第3のエリアに1
がセツトされ、枚数データテーブルCTの第3の
エリアに3がストアされる。次に、t5のタイミン
グで磁気センサS3の動作終了時の割り込み信号
Scにより、カウンタ値が基準値TA以上でTA+
α以内に相当するタコジエネカウンタGTの位
置、すなわち第1エリアのデータ70が検出され、
枚数データテーブルCTの第1エリアが1である
ことから、振り分けデータテーブルDTの第1エ
リアにM=千(磁気センサS3のパターン認識の
結果が千円であることを意味する。)がストアさ
れる。この後、タコジエネカウンタGTの対応す
る第1のエリアが0に戻される。タイミングt6
の2枚目の紙幣の割り込み信号SbのによりTA
>カウント値であつて所定範囲内のデータ45が
タエジエネカウンタGT内で検出され、枚数デー
タテーブルCTの第3エリアの記憶内容が3であ
ることから、振分けデータテーブルDTの第3の
エリアに例えばI=万をストアする。次に、タイ
ミングt7で、2枚目の紙幣に対する磁気センサS
3の立下がり時の割り込み信号Scにより、カウ
ンタ値が基準値TA以上、TA+α以内に相当す
るタコジエネカウンタGTの位置(ここでは第3
のエリア)のデータ70を検出し、磁気センサS3
のパターン認識の結果、例えばM=万を振分けデ
ータテーブルDTの第3のエリアにストアする。
At timing t4 , an interrupt signal Sa is generated by detecting the second bill, and the number of bills passed is counted.
CNT becomes 3, table pointer TP becomes 3, and accordingly, 1 becomes 1 in the third area of tachogene counter GT.
is set, and 3 is stored in the third area of the sheet count data table CT. Next, at timing t5 , an interrupt signal is generated when the operation of magnetic sensor S3 ends.
By Sc, when the counter value is equal to or higher than the reference value TA, TA+
The position of the tachogen counter GT corresponding to within α, that is, the data 70 of the first area is detected,
Since the first area of the number data table CT is 1, M=1,000 (meaning that the pattern recognition result of the magnetic sensor S3 is 1,000 yen) is stored in the first area of the distribution data table DT. Ru. After this, the corresponding first area of the tachometer engine counter GT is returned to zero. TA due to the interrupt signal Sb of the second banknote at timing t 6
> Data 45, which is a count value and is within a predetermined range, is detected in the data generation counter GT, and since the stored content of the third area of the sheet count data table CT is 3, the data 45 is detected in the third area of the distribution data table DT. For example, store I=10,000. Next, at timing t7 , the magnetic sensor S for the second banknote
The interrupt signal Sc at the falling edge of 3 causes the position of the tachodynamic counter GT where the counter value is equal to or higher than the reference value TA and within TA + α (in this case, the position of the tachodynamic counter GT is
area) and detects data 70 of the magnetic sensor S3.
As a result of pattern recognition, for example, M=10,000 is stored in the third area of the distribution data table DT.

以上により、1枚目の紙幣に穴が開いて、紙幣
通過が余分に検出がされても、これに対応する振
分けデータテーブルDTの第2番目のエリア内の
データは0であり、テーブルポインタからして第
1番目と第3番目(1枚目、2枚目)の紙幣が振
分け処理される。
As a result of the above, even if there is a hole in the first bill and extra bills are detected as passing through, the corresponding data in the second area of the distribution data table DT is 0, and the table pointer is Then, the first and third banknotes (first and second banknotes) are distributed.

具体的に説明すると、この例では位置センサS
4は紙幣を3回検知するが、第1回目の検知では
DTの第1エリアに千円札についての正しいデー
タが格納されているので千円札の回収処理がさ
れ、第2回目の検知ではDTの第2エリアが0で
あるので返却処理がされ、第3回目の認識では
DTの第3エリアに万円札についての正しいデー
タが格納されているので万円札の回収作業がされ
る。なお、位置センサS4が2枚目の紙幣(実は
千円札の穴)を検知したときには、当該千円札に
ついての回収作業が既に開始されているので、実
際には何も返却されない。つまり、この発明によ
れば穴の空いた紙幣でも、その穴がパターン認識
による照合に影響を与えない程度であれば正常に
処理されることになる。
To explain specifically, in this example, the position sensor S
4 detects the banknote three times, but in the first detection
Since the correct data about the 1,000 yen bill is stored in the first area of DT, the 1,000 yen bill is collected.In the second detection, the second area of DT is 0, so the return process is performed. On the third recognition
Since the correct data about the 10,000 yen bill is stored in the third area of DT, the task of collecting the 10,000 yen bill is carried out. Note that when the position sensor S4 detects the second bill (actually, the hole in the 1,000 yen bill), the collection operation for the 1,000 yen bill has already started, so nothing is actually returned. In other words, according to the present invention, even banknotes with holes can be processed normally as long as the holes do not affect verification by pattern recognition.

第11図は、紙幣の繰り出し制御が悪くて、1
枚目と2枚目が連続して搬送された場合の各セン
サの検出信号及び割り込み信号のタイミングチヤ
ートであり、第12図は、第11図に対応する各
タイミングt1〜t4における各カウンタ、テーブル
の内容を示す図である。
Figure 11 shows that the banknote feeding control is poor and 1
FIG. 12 is a timing chart of the detection signal and interrupt signal of each sensor when the first and second sheets are conveyed in succession, and FIG. 12 is a timing chart of each counter at each timing t 1 to t 4 corresponding to FIG. 11. , is a diagram showing the contents of a table.

t1のタイミングにおける最初の割り込み信号Sa
のによる各カウンタテーブルの内容は、第10
図の場合と同じである。次に、2枚目の紙幣がゲ
ートセンサS1で検出されるタイミングt2では、
通過枚数カウンタCNTが2、テーブルポインタ
TPが2となり、タコジエネカウンタGTの第2
番目のエリアに1がセツトされる。そして、枚数
データテーブルCTの第2のエリアが2にセツト
される。しかし、紙幣が連続、近接して繰り出さ
れているため、イメージセンサS2、及び磁気セ
ンサS3の検出信号が連続することになり、した
がつて、これら両センサS2,S3の、1枚目の
紙幣に対する動作終了時を示す割り込み信号Sb
の、Scのが出力されず、タイミングt3で2枚
目の紙幣のイメージセンサS2の動作終了時の割
り込み信号Sbの、またタイミングt4で2枚目の
紙幣の磁気センサS3の動作終了時の割り込み信号
Scのがそれぞれ出力される。このようなこと
が生じるのは、イメージセンサS2や磁気センサ
S3の作動時間が実際の紙幣の通過時間より大き
いためであり、2枚の紙幣がまとめてパターン認
識されてしまうからである。
First interrupt signal Sa at timing t 1
The contents of each counter table according to
Same as in the figure. Next, at timing t2 when the second banknote is detected by the gate sensor S1,
Passing sheet counter CNT is 2, table pointer
TP becomes 2, and the second tachogene counter GT
1 is set in the second area. Then, the second area of the sheet count data table CT is set to 2. However, since the banknotes are fed out in succession and close to each other, the detection signals of the image sensor S2 and the magnetic sensor S3 are continuous, and therefore the detection signals of the first banknote of both these sensors S2 and S3 are Interrupt signal Sb indicating the end of operation for
, Sc are not output, and the interrupt signal Sb when the operation of the image sensor S2 of the second banknote ends at timing t3 , and the operation of the magnetic sensor S3 of the second banknote ends at timing t4 . time interrupt signal
Sc is output respectively. This occurs because the operating time of the image sensor S2 and the magnetic sensor S3 is longer than the actual passage time of the banknotes, and the two banknotes are pattern-recognized at the same time.

以上のような動作の場合にはST9の処理がされ
ないので、振り分けデータテーブルDTの第1エ
リアには紙幣種別の認識データがストアされな
い。また、千円札と万円札が正常な状態ではパタ
ーン認識されないので、振り分けデータテーブル
DTの第2エリアには、I=NG、M=NGのデー
タがストアされる。
In the case of the above operation, the process of ST9 is not performed, so no recognition data of banknote type is stored in the first area of the distribution data table DT. Also, since the patterns of 1,000 yen bills and 10,000 yen bills are not recognized under normal conditions, the sorting data table
The data of I=NG and M=NG is stored in the second area of DT.

その後、近接した2枚の紙幣が振り分け点PA
に到達すると以下の返却処理がされる。すなわ
ち、位置センサS4が第1番目の紙幣の到着を検
知した場合、DTの第1エリアには0が格納され
ているのでその紙幣は返却され、第2番目の紙幣
の到着を検知したときにはDTの第2エリアに
NGが格納されているのでその紙幣も返却され
る。
After that, two bills that are close to each other will be placed at the sorting point PA.
When this is reached, the following return processing is performed. That is, when the position sensor S4 detects the arrival of the first banknote, the banknote is returned because 0 is stored in the first area of the DT, and when the position sensor S4 detects the arrival of the second banknote, the DT in the second area of
Since NG is stored, the banknote will also be returned.

なお、以上の説明では、簡単化の為に、位置セ
ンサS4が実際に配置されている旨説明したが、
必ずしもこれに限定されるものではなく、例えば
位置センサS4の作用をソフトウエア的に代用す
ることも可能である。
In addition, in the above explanation, for the sake of simplicity, it was explained that the position sensor S4 is actually arranged.
It is not necessarily limited to this, and for example, it is also possible to substitute the action of the position sensor S4 in terms of software.

具体的に説明すると、ゲートセンサS1と位置
センサS4の物理的な距離が例えば200mmである
場合、1パルスが2.5mmであると200mmの距離は80
(=200/2.5)パルス分に対応するので、タコジ
エネカウンタGTのカウンタ値が80に達した紙幣
は、架空の位置センサS4の位置(PA:振り分
け点)に達した紙幣であることになる。
To explain specifically, if the physical distance between gate sensor S1 and position sensor S4 is, for example, 200 mm, and one pulse is 2.5 mm, the distance of 200 mm is 80 mm.
(=200/2.5) pulses, so the banknote for which the counter value of the tachometer counter GT has reached 80 is the banknote that has reached the position (PA: distribution point) of the imaginary position sensor S4. Become.

このように、架空のセンサS4を用いる場合に
は、第14図のST22の処理はタコジエネカウン
タGTのカウンタ値が80に達したか否かの判定と
なり、この判定処理は、第13図のタコジエネ割
込み(ST17〜ST21)において行われることにな
る。つまり、タコジエネカウンタGTの各エリア
の値を+1しつつ(ST20)、その値が80に達して
いないかを判定して、若し80に達していたら
ST23〜ST27の処理を行うのである。なお、この
場合にはST15の処理を削除し、紙幣の回収・返
却の処理の後にST15の処理を行うのは当然であ
る。
In this way, when using the fictitious sensor S4, the process of ST22 in FIG. 14 is to determine whether or not the counter value of the tachodynamic counter GT has reached 80, and this determination process is as shown in FIG. This will be done at the tacho energy interrupt (ST17 to ST21). In other words, while incrementing the value of each area of the tachogene counter GT by 1 (ST20), it is determined whether the value has reached 80. If it has reached 80, then
The processing in ST23 to ST27 is performed. Note that in this case, it is natural to delete the process in ST15 and perform the process in ST15 after the banknote collection/return process.

架空のセンサS4を用いた場合には、ゲートセ
ンサS1で認識された紙幣は必ず振り分け点PA
(架空センサS4の位置)でも検知されるので、
ゲートセンサS1では割り込みが発生するが位置
センサS4では割り込みが発生しないとか、或い
はその送の事態が発生し得ず、機器の信頼性が更
に高まる。
When using the fictitious sensor S4, the banknotes recognized by the gate sensor S1 are always transferred to the sorting point PA.
(Position of aerial sensor S4) is also detected, so
An interrupt occurs in the gate sensor S1, but an interrupt does not occur in the position sensor S4, or a situation in which the interrupt is sent cannot occur, further increasing the reliability of the device.

また、この実施例ではパターンセンサとしてイ
メージセンサS2と磁気センサS3を設けたが、
いずれか一方でもよく、また、パターンセンサ1
つでもよく、逆に、3つ以上設けてもよい。ま
た、パルス発生器はタコジエネレータ5に限られ
るものではない。
Furthermore, in this embodiment, an image sensor S2 and a magnetic sensor S3 are provided as pattern sensors, but
Either one may be used, and the pattern sensor 1
There may be one, or conversely, three or more may be provided. Further, the pulse generator is not limited to the tachogenerator 5.

更にまた、この発明は紙幣に限らず、乗車券な
ど各種の紙葉類に適用することも可能である。
Furthermore, the present invention is applicable not only to banknotes but also to various paper sheets such as train tickets.

(ヘ) 発明の効果 この発明に係る種別記憶手段は、パターンセン
サ部S2,S3より認識終了割り込みを受けた時
に、カウンタ郡GTから、本来有すべきカウンタ
値TI,TMを検出して、その検出位置によつて
今パターン認識し終わつた紙葉類が何番目に受け
付けられたものであるかを把握している。つま
り、パターンセンサ部S2,S3におけるパター
ン認識結果は、常に検知センサ部S1からの検知
信号(つまり、紙葉類の受付順位)に対応して把
握される。従つて、連続的な処理であつても正確
に紙葉類の鑑別処理をすることができ、例えば穴
のあいた紙幣が搬送されたり、紙幣の繰り出し制
御が悪くて連続的に近接して搬送された場合でも
適宜に返却・回収の処理をすることができる。
(F) Effects of the Invention The type storage means according to the present invention detects the counter values TI and TM that should originally exist from the counter group GT when receiving a recognition end interrupt from the pattern sensor sections S2 and S3, and stores the counter values TI and TM. Based on the detection position, it is possible to ascertain the number of accepted paper sheets for which pattern recognition has just been completed. That is, the pattern recognition results in the pattern sensor sections S2 and S3 are always grasped in correspondence with the detection signal from the detection sensor section S1 (that is, the acceptance order of paper sheets). Therefore, it is possible to accurately identify paper sheets even in continuous processing. Even if the item is returned or collected, the item can be returned or collected in an appropriate manner.

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

図面はこの発明の一実施例を示し、第1図は鑑
別装置の概略構成図、第2図はイメージセンサ及
び磁気センサの検知範囲の構成図、第3図は通過
枚数カウンタの概略構成図、第4図はテーブルポ
インタ、タコジエネカウンタ及び枚数データテー
ブルの概略構成図、第5図は振分けデータテーブ
ルの概略構成図、第6図は振分け枚数カウンタの
概略構成図、第7図は制御系統のブロツク図、第
8図は正常な紙幣搬送の場合の各信号のタイミン
グ図、第9図は、紙幣に穴が開いている場合の各
信号のタイミング図、第10図は、第9図の場合
に対応した各カウンタテーブルの内容を示す図、
第11図は紙幣が短い間隔で連続して搬送された
場合の各信号のタイミング図、第12図は第11
図の場合に対応した各カウンタ、テーブルの内容
を示す図、第13図及び第14図は鑑別装置の制
御フロー図である。 1:鑑別装置、2:紙幣、3:搬送路、4:搬
送ローラ、5:タコジエネレータ、6:振分け機
構、7:CPU、8:メモリ、9:I/Oポート、
11:タイミング発生回路、12,13:DMA
制御回路、CNT:通過枚数カウンタ、TP:テー
ブルポインタ、GT:タコジエネレータカウンタ
テーブル、CT:枚数データテーブル。
The drawings show an embodiment of the present invention; FIG. 1 is a schematic configuration diagram of a discrimination device, FIG. 2 is a configuration diagram of the detection range of an image sensor and a magnetic sensor, and FIG. 3 is a schematic configuration diagram of a passed sheet number counter. Figure 4 is a schematic diagram of the table pointer, tachodynamic counter, and number data table; Figure 5 is a schematic diagram of the distribution data table; Figure 6 is a schematic diagram of the distribution number counter; Figure 7 is the control system. Fig. 8 is a timing diagram of each signal in the case of normal banknote conveyance, Fig. 9 is a timing diagram of each signal in the case of a hole in the banknote, and Fig. 10 is a timing diagram of each signal in the case of normal banknote conveyance. A diagram showing the contents of each counter table corresponding to the case,
Figure 11 is a timing diagram of each signal when banknotes are conveyed continuously at short intervals, and Figure 12 is a timing diagram of each signal.
FIGS. 13 and 14 are control flow diagrams of the discrimination device, showing the contents of each counter and table corresponding to the case shown in FIG. 1: Identification device, 2: Banknote, 3: Conveyance path, 4: Conveyance roller, 5: Tacho generator, 6: Sorting mechanism, 7: CPU, 8: Memory, 9: I/O port,
11: Timing generation circuit, 12, 13: DMA
Control circuit, CNT: Passing number counter, TP: Table pointer, GT: Tachogenerator counter table, CT: Number of sheets data table.

Claims (1)

【特許請求の範囲】 1 紙葉類の搬入を順次に受け付け、間隔をおい
てこれを搬送する搬送手段3,4と、 この搬送手段に紙葉類が搬入されたことを検知
し、その検知ごとに検知割り込み信号Saを出力
する検知センサ部S1と、 この検知センサ部が紙葉類の搬入を検知した
後、所定時間後に動作を開始して搬送されてくる
各紙葉類について印刷情報などを認識し、その認
識後に認識終了割り込み信号Sb,Scを出力する
パターンセンサ部S2,S3と、 前記搬送手段における紙葉類の搬送速度に比例
した周波数の時間割り込み信号5aを出力するパ
ルス発生手段5と、 m個の記憶エリアを有し、初期状態では各記憶
エリアに禁止データを記憶しているカウンタ群
GTと、 このカウンタ群GTの各記憶エリアに対応した
m個の記憶エリアを有する第2の記憶部CTと、 n個の記憶エリアからなり、前記パターンセン
サ部によるパターン認識結果を記憶する第3の記
憶部DTと、 前記検知センサ部よりの検知割り込み信号を順
次に受け付け、その検知割り込み信号Saの受付
順位を記憶する検知割り込み計数手段CNT,ST
2と、 前記検知センサ部よりの検知割り込み信号Sa
に応じて動作して、その時の前記検知割り込み計
数手段CNTの記憶内容を前記第2の記憶部CTの
適宜な記憶エリアに転送すると共に、この記憶エ
リアに対応した前記カウンタ郡GTの記憶エリア
中に禁止解除データを書き込む禁止解除手段ST
4〜ST5と、 前記パルス発生手段よりの時間割り込みを受
け、その割り込み毎に、前記カウンタ郡GT中で
禁止データ以外のデータが格納されている記憶エ
リアの記憶内容をカウントアツプするカウントア
ツプ手段ST18〜ST21と、 前記パターンセンサ部S2,S3よりの認識終
了割り込みを受け、その割り込み時における前記
カウンタ群の各記憶エリアの記憶内容を、検知割
り込みからこれに対応する認識終了割り込みまで
の正常動作により定まる本来の値(基準値TI,
TM)と比較することによつて、その時パターン
認識し終わつた紙葉類に対応する前記カウンタ郡
GTの記憶エリアを特定し、これに対応する前記
第2の記憶部の記憶エリアの記憶内容iに基づい
て、前記第3の記憶部の第i番目の記憶エリア中
に、前記パターンセンサ部の認識結果たる紙葉類
の種別データを記憶する種別記憶手段ST7〜ST
9,ST11〜ST15と、 この種別記憶手段の動作完了後に動作して、前
記第3の記憶部DTの各記憶エリア及びその各記
憶内容に基づいて各紙葉類の受付順位と種別とを
把握し、各紙葉類について返却・回収の処理をす
る鑑別手段ST22〜ST27と を備えることを特徴とする紙葉類の鑑別装置。
[Scope of Claims] 1. Conveying means 3 and 4 that sequentially receive paper sheets and convey them at intervals, and detecting that paper sheets have been carried into the conveying means. A detection sensor section S1 outputs a detection interrupt signal Sa for each paper sheet, and after this detection sensor section detects the arrival of paper sheets, it starts operating after a predetermined time and prints information etc. on each paper sheet that is conveyed. pattern sensor sections S2 and S3 that recognize and output recognition end interrupt signals Sb and Sc after the recognition; and pulse generation means 5 that outputs a time interrupt signal 5a with a frequency proportional to the conveyance speed of paper sheets in the conveyance means. and a counter group that has m storage areas and stores prohibited data in each storage area in the initial state.
GT, a second memory section CT having m memory areas corresponding to each memory area of this counter group GT, and a third memory section CT having n memory areas and storing the pattern recognition results by the pattern sensor section. a storage unit DT, and detection interrupt counting means CNT, ST that sequentially receives detection interrupt signals from the detection sensor unit and stores the reception order of the detection interrupt signals Sa.
2, and a detection interrupt signal Sa from the detection sensor section.
, and transfers the memory contents of the detection interrupt counting means CNT at that time to an appropriate memory area of the second memory unit CT, and also transfers the memory contents of the detection interrupt counting means CNT to an appropriate memory area of the second memory unit CT, and also transfers the memory contents of the counter group GT corresponding to this memory area. An inhibition release means ST that writes inhibition release data to
4 to ST5, and a count up means ST18 which receives a time interrupt from the pulse generation means and counts up the memory contents of the storage area in the counter group GT in which data other than the prohibited data is stored for each interrupt. ~ST21, upon receiving a recognition end interrupt from the pattern sensor sections S2 and S3, the memory contents of each storage area of the counter group at the time of the interrupt are stored according to normal operations from the detection interrupt to the corresponding recognition end interrupt. The original value determined (reference value TI,
TM), the counter group corresponding to the paper sheet for which pattern recognition has been completed at that time is determined.
The storage area of the GT is specified, and based on the storage content i of the corresponding storage area of the second storage section, the pattern sensor section is stored in the i-th storage area of the third storage section. Type storage means ST7 to ST for storing type data of paper sheets as recognition results
9. Steps ST11 to ST15 operate after the operation of this type storage means is completed, and grasp the acceptance order and type of each paper sheet based on each storage area of the third storage unit DT and its respective storage contents. , a paper leaf discrimination device comprising: discrimination means ST22 to ST27 for processing return/collection of each paper leaf.
JP58001315A 1983-01-08 1983-01-08 Discriminator for paper money Granted JPS59127185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58001315A JPS59127185A (en) 1983-01-08 1983-01-08 Discriminator for paper money

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58001315A JPS59127185A (en) 1983-01-08 1983-01-08 Discriminator for paper money

Publications (2)

Publication Number Publication Date
JPS59127185A JPS59127185A (en) 1984-07-21
JPH057757B2 true JPH057757B2 (en) 1993-01-29

Family

ID=11498062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58001315A Granted JPS59127185A (en) 1983-01-08 1983-01-08 Discriminator for paper money

Country Status (1)

Country Link
JP (1) JPS59127185A (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5080196A (en) * 1973-11-14 1975-06-30
JPS54130098A (en) * 1978-03-30 1979-10-09 Matsushita Electric Ind Co Ltd Banknote discriminating device

Also Published As

Publication number Publication date
JPS59127185A (en) 1984-07-21

Similar Documents

Publication Publication Date Title
US5917930A (en) Method for semi-continuous currency processing using separator cards
TWI434232B (en) Control method and control program of paper type agglomeration device
USRE38663E1 (en) Method for semi-continuous currency processing using separator cards
JPH057757B2 (en)
JPS59180794A (en) Paper money discrimination system
JPH11102456A (en) Banknote transaction device
JPH1049722A (en) Media identification device
JP2536655B2 (en) Coin inspection / counter abnormality processing method
JP3594352B2 (en) Paper handling equipment
JPH09319918A (en) Banknote discrimination method
JP2587126B2 (en) Paper sheet recognition device
JPH0682407B2 (en) Automatic teller machine
JP2745688B2 (en) Paper identification device
JPH0110692Y2 (en)
JPS60197550A (en) Cash transaction device
JPS6127866A (en) Paper sheet conveyance control device
JPH0714300Y2 (en) Transport control device for paper processing machine
AU722106C (en) Method for semi-continuous currency processing using separator cards
JPH0684042A (en) Paper money identifying device
JPH0749343B2 (en) Paper handling equipment
JPH0694316B2 (en) Paper handling equipment
KR20010050260A (en) Apparatus for counting paper sheets
JPH0211953B2 (en)
JPH01106198A (en) Automatic teller apparatus
JPS59127188A (en) Sheet paper distributor