JPH0762875B2 - Discriminating device in bill counting machine - Google Patents
Discriminating device in bill counting machineInfo
- Publication number
- JPH0762875B2 JPH0762875B2 JP62077662A JP7766287A JPH0762875B2 JP H0762875 B2 JPH0762875 B2 JP H0762875B2 JP 62077662 A JP62077662 A JP 62077662A JP 7766287 A JP7766287 A JP 7766287A JP H0762875 B2 JPH0762875 B2 JP H0762875B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- bill
- line
- output
- line data
- 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
Links
- 238000013500 data storage Methods 0.000 claims description 17
- 238000000034 method Methods 0.000 description 53
- 238000001514 detection method Methods 0.000 description 29
- 238000012545 processing Methods 0.000 description 12
- 230000002159 abnormal effect Effects 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000005452 bending Methods 0.000 description 1
- 238000007664 blowing Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000000696 magnetic material Substances 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000001179 sorption measurement Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Inspection Of Paper Currency And Valuable Securities (AREA)
Description
【発明の詳細な説明】 「産業上の利用分野」 本発明は紙幣計数機に関わり、特に、紙幣表面の光学パ
ターンを読取って異種券混入の有無、二重送り等を検出
しつつ計数を行なうようにした紙幣計数機に関するもの
である。DETAILED DESCRIPTION OF THE INVENTION "Industrial field of application" The present invention relates to a banknote counter, and in particular, performs counting while reading an optical pattern on the surface of a banknote to detect the presence / absence of mixed-type banknotes, double feed, and the like. The present invention relates to a bill counting machine.
「従来の技術」 一般に紙幣計数機は、公転しながら自転する吸引軸内の
真空圧により、紙幣を一枚ずつ吸着してめくり取りなが
ら計数を行なうとともに、計数中の紙幣に異なる金種の
紙幣が混入しているか否かをチェックする機能を有して
いる。"Prior Art" Generally, a bill counting machine sucks and flips bills one by one by vacuum pressure in a suction shaft that revolves around its axis while revolving, and also counts bills of different denominations. It has a function to check whether or not is mixed.
従来、このような機能を有する紙幣計数機として、本出
願人は実開昭60−104979号公報に示す如き「紙幣計数機
における判別装置」を既に提供している。また、一般的
な紙葉類判別装置としては、特開昭60−61882号公報に
示す如き「紙葉類判別装置」に示すものが知られてい
る。Conventionally, as a bill counting machine having such a function, the present applicant has already provided a "discriminating device in a bill counting machine" as shown in Japanese Utility Model Laid-Open No. 60-104979. Further, as a general paper sheet discriminating device, a device shown in "paper sheet discriminating device" as disclosed in JP-A-60-61882 is known.
前者に示す紙幣計数機における判別装置は、吸引軸に吸
着される部分の近傍で紙幣表面のパターンをライン状に
読取るようにしたものであって、読取ったデータを、予
め記憶させておいた基準データと比較することにより、
金種及び表裏の判別を行うものである。The discrimination device in the bill counting machine shown in the former is designed to read the pattern of the bill surface in a line shape near the portion attracted to the suction shaft, and the read data is a reference stored in advance. By comparing with the data,
The denomination and the front and back are distinguished.
また、後者に示す紙葉類判別装置は、紙幣を間に挟んで
一枚ずつ搬送する一対のベルトの途中に、紙幣の表面パ
ターンをライン状に検出する磁気ヘッド及びフォトセン
サを設けたものであって、前記紙幣計数機における判別
装置と同様に、これら磁気ヘッド及びフォトセンサの検
出データを、予め記憶させておいた基準データと比較す
ることにより、金種及び表裏の判別を行なうものであ
る。Further, the latter paper sheet discriminating apparatus is one in which a magnetic head and a photo sensor for linearly detecting the surface pattern of the banknote are provided in the middle of a pair of belts that convey the banknotes one by one with the banknote sandwiched therebetween. Therefore, like the discrimination device in the bill counting machine, by comparing the detection data of the magnetic head and the photosensor with the reference data stored in advance, the denomination and the front and back are discriminated. .
「発明が解決しようとする課題」 ところで、このような判別装置においては、紙幣表面の
パターンを固定された1本のラインによって読み取るよ
うにしており、かつ、このラインの位置が、金種及び表
裏判別を行うべき紙幣の態様に合わせて固定的に設定さ
れているので、例えば、判別すべき紙幣を例えば日本円
紙幣から米国のドル紙幣に変更した場合に、ラインを得
るためのセンサ類の位置変更が必要であり、これによっ
て、装置の設計変更が必要となる場合があった。[Problems to be Solved by the Invention] By the way, in such a discriminating apparatus, the pattern on the bill surface is read by one fixed line, and the position of this line is determined by the denomination and the front and back sides. Since it is fixedly set according to the form of the bill to be discriminated, for example, when the bill to be discriminated is changed from, for example, Japanese yen bills to US dollar bills, the position of sensors for obtaining a line Modifications were necessary, which sometimes necessitated design changes to the device.
本発明は上記事情に鑑みてなされたものであって、複数
のラインデータを選択して取り出すことによって、種々
の態様を有する紙幣(例えば、自国あるいは他国紙幣)
判別を高い精度で、かつ高速に行うことが可能な紙幣計
数機における判別装置を得ることを目的とする。The present invention has been made in view of the above circumstances, and banknotes having various aspects (for example, domestic or foreign banknotes) by selecting and extracting a plurality of line data.
An object of the present invention is to obtain a discriminating device in a bill counting machine which can discriminate with high accuracy and at high speed.
「課題を解決するための手段」 このような目的を達成するため本発明では、ホルダに装
填された紙幣を吸引軸に吸着させて一枚ずつめくり取り
ながら計数する紙幣計数機において、 ホルダに装填され、且つ吸引軸により吸引直前の紙幣の
表面に光線を照射するランプと、 ライン状のイメージセンサがそのラインと直交する方向
に多数配置され、紙幣の表面で反射した光線を平面的に
検出して紙幣表面を示すデータを出力する2次元状のエ
リアセンサと、 該エリアセンサにて検出した紙幣表面を示すデータの中
から選択指定すべき複数の異なるラインの位置を基準位
置データとして記憶するとともに、該基準位置データで
選択指定されたラインのラインデータと比較される基準
ラインデータを記憶する基準データ記憶手段と、 該基準データ記憶手段に記憶されている基準位置データ
に基づいて、前記エリアセンサにて検出した紙幣表面を
示すデータの中から複数の異なるラインを指定し、指定
したラインに沿う紙幣表面を示すデータをラインデータ
として出力させるラインデータ出力手段と、 該ラインデータ出力手段から出力されたラインデータを
一時記憶するラインデータ記憶手段と、該ラインデータ
記憶手段に一時記憶されているラインデータを、前記基
準データ記憶手段に記憶されている基準ラインデータ
と、前記基準位置データで示されるラインの位置に対応
して比較し、その比較結果に基づいて紙幣の判別を行う
比較判別手段と、を具備するようにしている。[Means for Solving the Problem] In order to achieve such an object, according to the present invention, in a bill counting machine that counts while bills loaded in a holder are attracted to a suction shaft and flipped one by one, the bills are loaded in a holder. In addition, a large number of lamps that irradiate the surface of the banknote immediately before being sucked by the suction shaft and a large number of line-shaped image sensors are arranged in a direction orthogonal to the line, and the light rays reflected on the surface of the banknote are detected in a plane. And a two-dimensional area sensor that outputs data indicating the surface of a banknote, and the positions of a plurality of different lines that should be selected and designated from the data indicating the surface of the banknote detected by the area sensor are stored as reference position data. A reference data storage unit for storing reference line data to be compared with line data of a line selected and designated by the reference position data; Based on the reference position data stored in the storage means, a plurality of different lines are designated from the data indicating the bill surface detected by the area sensor, and the data indicating the bill surface along the designated line is line data. Line data output means for outputting the line data output means, line data storage means for temporarily storing the line data output from the line data output means, and line data temporarily stored in the line data storage means for the reference data storage means. The reference line data stored in the reference line data is compared with the position of the line indicated by the reference position data, and the comparison determination means for determining the bill based on the comparison result is provided. .
「作用」 この発明によれば、基準データ記憶手段に記憶されてい
る基準位置データに基づいて、ラインデータ出力手段で
は、エリアセンサで検出した紙幣表面を示すデータの中
から複数の異なるラインを指定し、これをラインデータ
として選択的に出力し、その後、ラインデータ記憶手段
は、該ラインデータ出力手段から出力されたラインデー
タを一時記憶する。一方、比較判別手段では、ラインデ
ータ記憶手段に一時記憶されているラインデータを、基
準データ記憶手段に記憶されている基準ラインデータ
と、基準位置データで示されるラインの位置に対応して
比較し、その比較結果に基づいて紙幣の判別を行うよう
にしている。[Operation] According to the present invention, based on the reference position data stored in the reference data storage means, the line data output means specifies a plurality of different lines from the data indicating the bill surface detected by the area sensor. Then, the line data is selectively output as line data, and then the line data storage means temporarily stores the line data output from the line data output means. On the other hand, the comparison and determination means compares the line data temporarily stored in the line data storage means with the reference line data stored in the reference data storage means in correspondence with the position of the line indicated by the reference position data. The bill is discriminated based on the comparison result.
すなわち、本発明の判別装置では、エリアセンサで検出
した紙幣表面を示すデータの中から複数の異なるライン
を指定し、これをラインデータとして選択的に取り出す
ことによって、紙幣の態様が異なった場合(米国紙幣、
日本国紙幣など)であっても、基準データ記憶手段(実
施例のROM64)を交換することにより、特別に、紙幣の
表面を検出するためのセンサの位置を変更することな
く、その検出領域を、紙幣の態様(米国紙幣、日本国紙
幣など)に応じて適宜設定することができる。また、本
発明の判別装置では、エリアセンサで検出したデータの
全てをこれに対応した基準データと比較判別するのでは
無く、エリアセンサで検出した紙幣表面を示すデータの
中から複数の異なるラインを指定し、これをラインデー
タとして選択的に取り出した上で、対応する基準ライン
データと比較するようにしているので、結果としてデー
タの比較判別に要する時間が短く済み、比較判別処理の
高速化を図ることも可能となる。That is, in the discriminating apparatus of the present invention, when a plurality of different lines are designated from the data indicating the surface of the bill detected by the area sensor, and the lines are selectively taken out as line data, the case of different bills ( US banknotes,
Even if it is a Japanese bill, etc., by replacing the reference data storage means (ROM64 of the embodiment), the detection area can be changed without changing the position of the sensor for detecting the surface of the bill. Can be appropriately set according to the form of the banknote (US banknote, Japanese banknote, etc.). Further, in the discrimination device of the present invention, instead of comparing and discriminating all of the data detected by the area sensor with the corresponding reference data, a plurality of different lines are selected from the data indicating the bill surface detected by the area sensor. Since it is specified and selectively extracted as line data and compared with the corresponding reference line data, as a result, the time required for comparing and determining the data can be shortened, and the speed of the comparison and determination process can be increased. It is also possible to plan.
「実施例」 以下、本発明を第1図〜第10図に示す一実施例に基づい
て説明する。[Example] The present invention will be described below based on an example shown in Figs. 1 to 10.
まず、第1図ないし第3図にしたがって紙幣計数機機構
の構成を説明すれば、この計数機構は、紙幣Sをホルダ
1に載せてこのホルダ1を軸2を中心として水平旋回さ
せることにより、第1図実線で示す計数位置、あるいは
第1図鎖線で示す待機位置に移動させ、ホルダ1が計数
位置にあるときに、回転筒3を軸4を中心として第1図
反時計方向に回転させながら、回転筒3上の吸引軸5を
軸6を中心として時計方向に回転させ、この吸引軸5内
に真空圧を作用させてホルダー1上の紙幣Sを1枚ずつ
めくり取りながら計数を行なうとともに、後述する投光
器から紙幣Sの表面に照射した光線の反射光を受光器で
読取って紙幣の判別を行なうようにした基本構成となっ
ている。First, the structure of the banknote counter mechanism will be described with reference to FIG. 1 to FIG. 3. In this counter mechanism, the banknote S is placed on the holder 1 and the holder 1 is horizontally swung about the axis 2 1 is moved to the counting position shown by the solid line or the standby position shown by the chain line in FIG. 1, and when the holder 1 is at the counting position, the rotary cylinder 3 is rotated counterclockwise in FIG. Meanwhile, the suction shaft 5 on the rotary cylinder 3 is rotated clockwise about the shaft 6 and a vacuum pressure is applied to the suction shaft 5 to count the banknotes S on the holder 1 one by one while counting. At the same time, it has a basic configuration in which the reflected light of a light beam applied to the surface of the banknote S from a light projector to be described later is read by a light receiver to identify the banknote.
前記ホルダー1には、紙幣Sを裏側(吸引軸5の反対
側)から支える台板1aが設けられ、この台板1aの表面1b
は、反射光レベルが低くなるよう黒色系で形成されてい
る。The holder 1 is provided with a base plate 1a that supports the banknote S from the back side (the side opposite to the suction shaft 5), and the surface 1b of the base plate 1a.
Are formed in black so that the reflected light level becomes low.
前記回転筒3および吸引軸5の軸4,6は、第3図に示す
ように中空状に形成されるとともに、吸入管路7を介し
て真空ポンプ8の吸入ポート9に接続されており、この
真空ポンプ8の真空圧が、前記吸引軸5の外周の一部に
設けた開口部10を介して紙幣Sに作用することにより、
吸引軸5に紙幣Sが吸着されるようになっている。ま
た、前記吸入管路7の途中には圧力センサ11が設けられ
ており、この圧力センサ11によって、吸入管路7内の真
空圧が紙幣を吸着し得る程度に上昇したか否かが検出さ
れるようになっている。The rotary cylinder 3 and the shafts 4 and 6 of the suction shaft 5 are formed in a hollow shape as shown in FIG. 3, and are connected to a suction port 9 of a vacuum pump 8 via a suction pipe line 7, By the vacuum pressure of the vacuum pump 8 acting on the banknote S through the opening 10 provided in a part of the outer circumference of the suction shaft 5,
The bill S is attracted to the suction shaft 5. A pressure sensor 11 is provided in the middle of the suction pipe line 7. The pressure sensor 11 detects whether or not the vacuum pressure in the suction pipe line 7 has risen to such an extent that a bill can be sucked. It has become so.
一方、前記真空ポンプ8の排気ポート12には、排気管路
13が接続されており、この排気管路13の先端には、紙幣
Sの側面に排気を吹付けて紙幣S相互の分離を容易にす
るための排気ノズル14が設けられ、一方、排気管路13の
途中には、紙幣の計数が行なわれていないときに排気を
放出口15に切換えて排気ノズル14からの騒音の発生を防
止するソレノイドバルブ16が設けられている。On the other hand, the exhaust port 12 of the vacuum pump 8 has an exhaust pipe line.
An exhaust nozzle 14 is provided at the tip of the exhaust pipe line 13 for blowing exhaust gas to the side surface of the banknote S to facilitate separation of the banknotes S from each other. A solenoid valve 16 is provided in the middle of 13 to prevent exhaust noise from being generated from the exhaust nozzle 14 by switching exhaust gas to the discharge port 15 when bills are not being counted.
また、前記吸引軸5のそれぞれには、第1図〜第3図に
示すように、一対の位置規制片5aが固定されている。こ
の位置規制片5aは、吸引軸5の側面から突出し、かつ該
吸引軸5の開口部10を間に挾むように設けられたもので
あって、開口部10から外気が吸引されて吸引軸5に紙幣
が吸着された際に、紙幣を側方から支持して、該紙幣の
倒れあるいは折り曲がりを防止するようになっている。
そして、このように前記位置規制片5aによって、吸引軸
5が吸着分離した紙幣の起立状態を保つことにより、二
重送りされているか否かを検知する箇所(第1図におい
て紙幣が吸着分離された位置Sa)に、該紙幣の位置決め
が行なわれるようになっている。A pair of position regulating pieces 5a is fixed to each of the suction shafts 5 as shown in FIGS. 1 to 3. The position restricting piece 5a is provided so as to project from the side surface of the suction shaft 5 and sandwich the opening 10 of the suction shaft 5 therebetween, and the outside air is sucked from the opening 10 to the suction shaft 5. When a bill is adsorbed, the bill is supported from the side to prevent the bill from collapsing or bending.
Then, the position regulating piece 5a thus holds the bill in which the suction shaft 5 has been suction-separated to maintain a standing state, thereby detecting whether or not the paper is double-fed (the bill is suction-separated in FIG. 1). The banknote is positioned at the position Sa).
また、前記回転筒3の外周には、磁性体からなる作動片
17が複数貼付されており、これらの作動片17が磁気セン
サ18を作動させるか否かにより各吸引軸5が待機位置
(開口部10が紙幣に正対しかつ吸引軸5内が真空ポンプ
8と連通される位置)にあるか、あるいは開始位置(開
口部10が紙幣に正対する直前の位置にあって、かつ吸引
軸5内が真空ポンプ8から遮断される位置)にあるかが
検出されるようになっている。Further, an operating piece made of a magnetic material is provided on the outer circumference of the rotary cylinder 3.
A plurality of 17 are attached, and depending on whether or not these operating pieces 17 operate the magnetic sensor 18, each suction shaft 5 is in a standby position (the opening 10 faces the bill and the inside of the suction shaft 5 is the vacuum pump 8). It is detected whether it is in a communicating position) or a starting position (a position immediately before the opening 10 faces the bill and the inside of the suction shaft 5 is shut off from the vacuum pump 8). It is like this.
なお、第3図において、符号19は回転筒3をベルト20を
介して駆動する計数モータ、符号21は真空ポンプ8をベ
ルト22を介して駆動するポンプモータ、符号23はホルダ
ー1を旋回させるホルダーモータ、符号24Aおよび24B
は、ホルダー1が閉位置(吸引軸5に接近した位置)に
あるか開位置(吸引軸5から離間した位置)にあるかを
検出するホルダー位置検出スイッチである。In FIG. 3, reference numeral 19 is a counting motor for driving the rotary cylinder 3 via the belt 20, reference numeral 21 is a pump motor for driving the vacuum pump 8 via the belt 22, and reference numeral 23 is a holder for rotating the holder 1. Motor, code 24A and 24B
Is a holder position detection switch for detecting whether the holder 1 is in the closed position (position close to the suction shaft 5) or in the open position (position separated from the suction shaft 5).
更に、回転筒3の近傍には、セパレータ25が設けられて
おり、このセパレータ25は、軸26に水平旋回自在に支持
されるとともに、ばね27によって第1図反時計方向に付
勢され、更に、バッチソレノイド28に操作されて第1図
時計方向に旋回させられるようになっている。そして、
このセパレータ25は、後述するように異金種紙幣を検出
したときにすでにめくり取られた紙幣とまだめくり取ら
れていない紙幣との間に挿入されて両者を分離させる機
能を有している。Further, a separator 25 is provided in the vicinity of the rotary cylinder 3, and the separator 25 is supported by a shaft 26 so as to be horizontally rotatable and is biased by a spring 27 in the counterclockwise direction in FIG. The batch solenoid 28 is operated so that it can be rotated clockwise in FIG. And
As will be described later, the separator 25 has a function of being inserted between a bill that has already been flipped and a bill that has not been flipped when a bill of a different denomination is detected, and separating the two.
次に、紙幣を束ねた帯封に確認印を押す押印機構につい
て第1図を参照して説明する。Next, a stamping mechanism for stamping a confirmation stamp on a banded bundle of banknotes will be described with reference to FIG.
第1図において符号30で示されるものは、ホルダ1に設
けられた印鑑保持部材であって、この印鑑保持部材30に
よって印鑑31が矢印(イ)−(ロ)方向に移動自在に支
持され、かつ紙幣Sに対して近接離間するように移動自
在に支持されている。また、前記ホルダ1の基端部に
は、ダイヤル32が設けられており、このダイヤル32を回
転させることによって、前記印鑑31が矢印(イ)−
(ロ)方向に移動して、印鑑31の捺印部31aが帯封Bに
位置合わせされるようになっている。The reference numeral 30 in FIG. 1 denotes a seal stamp holding member provided in the holder 1, and the seal stamp holding member 30 supports the seal stamp 31 so as to be movable in the arrow (a)-(b) directions. Further, it is movably supported so as to approach and separate from the banknote S. Further, a dial 32 is provided at the base end of the holder 1, and by rotating the dial 32, the seal 31 is indicated by an arrow (a)-.
By moving in the (b) direction, the stamped portion 31a of the stamp 31 is aligned with the band B.
また、ホルダ1を支持する基台上には、軸33を中心とし
て水平面内で回動する打撃アーム34と、該打撃アーム34
を回動させるソレノイド35とが設けられており、この打
撃アーム34をソレノイド35の動作により回動させること
によって、該打撃アーム34の先端部が印鑑の後端部31b
を後方から押圧して、該印鑑31の捺印部31aを帯封上に
近接させ、これによって帯封上に捺印が行なわれるよう
にしている。Further, on the base that supports the holder 1, a striking arm 34 that rotates about a shaft 33 in a horizontal plane, and a striking arm 34.
A solenoid 35 for rotating the striking arm 34 is provided. By rotating the striking arm 34 by the operation of the solenoid 35, the tip end portion of the striking arm 34 is moved to the rear end portion 31b of the seal.
Is pressed from the rear side to bring the imprinting portion 31a of the stamp 31 close to the band seal, whereby the imprint is performed on the band seal.
次に、前記吸引軸5によってめくり取られた紙幣の二重
送り検出機構について第1図を参照して説明する。Next, a double feed detection mechanism for bills that are picked up by the suction shaft 5 will be described with reference to FIG.
第1図に符号37及び符号38でそれぞれ示すものは二重送
り検出用ランプ及び受光素子(これら素子によって二重
送り検知センサが構成される)であり、符号39で示すも
のは受光素子に光を集光する集光レンズである。Reference numerals 37 and 38 in FIG. 1 denote a double feed detection lamp and a light receiving element (the double feed detection sensor is configured by these elements), and a reference numeral 39 denotes a light receiving element. Is a condenser lens for condensing
前記二重送り検出用ランプ37及び受光素子38は共に回転
筒3側に向けて設けられたものであって、前記二重送り
検出用ランプ37から発光された光線は、めくり取られた
紙幣Saに対して交差する方向から照射され、かつ該紙幣
Saのめくり取り部分における略中央位置に照射されるよ
うになっている。The double feed detecting lamp 37 and the light receiving element 38 are both provided toward the rotary cylinder 3 side, and the light beam emitted from the double feed detecting lamp 37 is a flipped banknote Sa. Is irradiated from the direction intersecting with and the bill
It is designed to irradiate the center of the Sa turning part.
そして、このように光の照射が行なわれた紙幣Saは、こ
の紙幣Saを透過した光の量つまり透過光量が受光素子38
により検出され、更に、この受光素子38が検出した透過
光量に基づき二重送りの判断がなされるようになってい
る。すなわち、この透過光量が所定値以上であれば正常
な送り(一枚送り)と判断され、透過光量が所定値以下
であれば二重送りと判断されるようになっている。Then, in the banknote Sa irradiated with light in this manner, the amount of light transmitted through the banknote Sa, that is, the amount of transmitted light, is the light receiving element 38.
The double feed is determined based on the amount of transmitted light detected by the light receiving element 38. That is, if the amount of transmitted light is equal to or larger than a predetermined value, it is determined as normal feeding (single sheet feeding), and if the amount of transmitted light is equal to or less than the predetermined value, double feeding is determined.
次に、紙幣の金種判別および表裏判別を行う判別機構に
ついて第1図及び第2図を参照して説明する。Next, a discriminating mechanism for discriminating the denomination of bills and the front and back thereof will be described with reference to FIGS. 1 and 2.
図において符号40で示すものは、集積された最前面の紙
幣Sbに光を照射する投光器、符号41で示すものは、この
投光器40から紙幣Sbに照射された光の反射光を受光する
受光器(検出素子)であって、投光器40から発せられた
光線は、紙幣Sbに二点鎖線で示すエリアEを含む領域に
照射されるようになっている。In the figure, reference numeral 40 indicates a light projector that irradiates the accumulated frontmost banknote Sb with light, and reference numeral 41 indicates a light receiver that receives the reflected light of the light emitted from the light projector 40 onto the banknote Sb. The light beam emitted from the light projector 40, which is a (detection element), is applied to the area including the area E indicated by the chain double-dashed line on the banknote Sb.
また、前記受光器41は、紙幣表面のパターンに応じた電
気信号を発生させるエリアセンサ42と、このエリアセン
サ42に紙幣Sbの反射光を集光する集光レンズ43とから構
成されている。そして、前記エリアセンサ42は、ライン
状のイメージセンサがそのラインと直交する方向に多数
配置された2次元状のセンサで後述する判別制御回路46
から発せられるトリガ信号により動作して、前記エリア
Eのスキャニングを行ない、このエリアEの特定位置
(ラインあるいは座標)における反射光量を電気信号に
変換して、紙幣表面のパターンに応じた波形の信号を出
力するようになっている。つまり、前記エリアセンサ42
は、その横方向がエリアEのX座標に対応し、また、そ
の縦方向がエリアEのY座標に対応しており、このよう
なエリアセンサの縦横座標とエリアEのXY座標との対応
によって、エリアEにおける表面パターン(ラインデー
タ)を例えば、Y=1、Y=3(基準位置データ)とラ
インを指定して読み出すことができ、更には、読み出さ
れたエリアデータをROM64(後述する)に記憶されてい
る基準データ(基準ラインデータ)と比較して、紙幣Sb
の金種判別及び表裏判別を行うことができるようになっ
ている(詳細は後述する)。The light receiver 41 is composed of an area sensor 42 that generates an electric signal according to the pattern on the surface of the bill and a condenser lens 43 that condenses the reflected light of the bill Sb on the area sensor 42. The area sensor 42 is a two-dimensional sensor in which a large number of linear image sensors are arranged in a direction orthogonal to the line, and a discrimination control circuit 46 to be described later.
The area E is scanned by a trigger signal emitted from the area E, the amount of reflected light at a specific position (line or coordinate) of the area E is converted into an electric signal, and a signal having a waveform corresponding to the pattern on the bill surface is generated. Is output. That is, the area sensor 42
The horizontal direction corresponds to the X coordinate of the area E, and the vertical direction corresponds to the Y coordinate of the area E. By the correspondence between the vertical and horizontal coordinates of the area sensor and the XY coordinate of the area E, , The surface pattern (line data) in the area E can be read by designating a line such as Y = 1, Y = 3 (reference position data), and further, the read area data is read by the ROM 64 (described later). ), The banknote Sb is compared with the reference data (reference line data) stored in
It is possible to perform denomination discrimination and front / back discrimination (details will be described later).
次いで、第4図により、前記計数機構および判別機構を
それぞれ操作する計数制御回路45および判別制御回路46
を説明する。Next, referring to FIG. 4, a counting control circuit 45 and a discrimination control circuit 46 for operating the counting mechanism and the discrimination mechanism, respectively.
Will be explained.
すなわち、計数制御回路45は、後述する計数制御プログ
ラム(第5図及び第6図参照)等を記憶しているROM47
と、このROM47に記憶されているプログラムに従って各
種データの書込みと読出しとを行なうRAM48と、これら
を制御するCPU49とから構成されている。更に、CPU49に
は、入力側I/Oポート50およびレシーバ51を介して、計
数動作開始を指示するスタートスイッチ52、金種及び二
重送り判別を行うための検出モードスイッチ53、表裏判
別を行うための表裏モードスイッチ54が接続されるとと
もに、ホルダー1が閉位置にあるか開位置にあるかを検
出するホルダ位置検出センサ24Aおよび24B、回転筒位置
センサ18、圧力センサ11及びクリアスイッチ等のその他
の操作スイッチ55がそれぞれ接続されている。That is, the counting control circuit 45 is a ROM 47 that stores a counting control program (see FIGS. 5 and 6) described later.
And a RAM 48 for writing and reading various data according to a program stored in the ROM 47, and a CPU 49 for controlling these. Further, the CPU 49, via the input side I / O port 50 and the receiver 51, a start switch 52 for instructing the start of counting operation, a denomination and a detection mode switch 53 for determining double feed, and front / back discrimination. Front and back mode switch 54 for connecting, and holder position detection sensors 24A and 24B that detect whether holder 1 is in the closed position or the open position, rotary cylinder position sensor 18, pressure sensor 11, clear switch, etc. The other operation switches 55 are respectively connected.
なお、スタートスイッチ52は、この一実施例ではホルダ
ー1に設けた押ボタン60(第1図参照)から構成されて
いるが、例えば、ホルダー1に紙幣Sが装填されたこと
を検出するセンサ(図示略)をスタートスイッチ52とし
て使用してもよい。Although the start switch 52 is composed of a push button 60 (see FIG. 1) provided on the holder 1 in this embodiment, for example, a sensor (for detecting that the banknote S is loaded in the holder 1 ( (Not shown) may be used as the start switch 52.
また、前記CPU49には、出力側I/Oポート61およびドライ
バ62を介して、ソレノイド(捺印ソレノイド)35、二重
送り検出用ランプ37あるいは投光器40とからなるラン
プ、ホルダーモータ23、計数モータ19、ポンプモータ2
1、ソレノイドバルブ16、バッチソレノイド28、および
紙幣計数機の操作パネル(図示略)などに設けられて紙
幣の枚数、異常の有無等を表示する表示部63がそれぞれ
接続されている。Further, in the CPU 49, a lamp including a solenoid (marking solenoid) 35, a double feed detection lamp 37 or a projector 40, a holder motor 23, a counting motor 19 via an output side I / O port 61 and a driver 62. , Pump motor 2
1, a solenoid valve 16, a batch solenoid 28, and an operation panel (not shown) of a bill counting machine, etc., which are connected to a display unit 63 for displaying the number of bills, presence / absence of abnormality, and the like.
一方、前記判別制御回路46は、判別制御プログラム(第
7図及び第8図参照)等を記憶しているROM64と、このR
OM64に記憶されているプログラムに従って各種データの
書き込みと読み出しとを行うRAM65と、これらを制御す
るCPU66とから構成されている。更に、前記CPU66には、
出力用I/Oポート70及び駆動回路71を介してエリアセン
サ42が接続され、このエリアセンサ42の出力が増幅器7
2、A/Dコンバータ73、入力側I/Oポート74を介して前記C
PU66に入力されるようになっている。On the other hand, the discrimination control circuit 46 stores the discrimination control program (see FIGS. 7 and 8) and the like in the ROM 64 and the R 64.
It is composed of a RAM 65 that writes and reads various data according to a program stored in the OM 64, and a CPU 66 that controls these. Further, the CPU66,
The area sensor 42 is connected via the output I / O port 70 and the drive circuit 71, and the output of the area sensor 42 is output to the amplifier 7
2, A / D converter 73, input side I / O port 74
It is designed to be input to PU66.
なお、前記駆動回路71からエリアセンサ42に供給される
駆動信号は、X軸駆動用信号とY軸駆動用信号とからな
り、これらX軸駆動用信号とY軸駆動用信号の出力によ
って紙幣のエリアEにおける特定位置の表面パターン
(エリアデータ)を読み出すようになっている。そし
て、このようなエリアEにおける表面パターンのデータ
を取り出す際には、まず、Y軸駆動用信号を出力してエ
リアE(第2図参照)のY座標を決定してから、X軸駆
動用信号を出力してエリアEのX座標を決定するように
すれば良い。例えば、Yを1に設定してエリアEにおけ
るデータをラインデータ(X、1)として読み出し、更
に、Yを3に設定してエリアEにおけるデータをライン
データ(X、3)として読み出し、これら読み出された
複数のラインデータ(X、1)、(X、3)等をROM64
に記憶されている基準データと比較するようにすれば良
い(なお、駆動用信号のX軸及びY軸は第2図に示すエ
リアEのX軸及びY軸にそれぞれ対応している)。The drive signal supplied from the drive circuit 71 to the area sensor 42 is composed of an X-axis drive signal and a Y-axis drive signal, and the output of the X-axis drive signal and the Y-axis drive signal outputs the bill. The surface pattern (area data) at a specific position in the area E is read out. When extracting the surface pattern data in the area E, first, a Y-axis driving signal is output to determine the Y coordinate of the area E (see FIG. 2), and then the X-axis driving signal is output. A signal may be output to determine the X coordinate of area E. For example, Y is set to 1 to read the data in the area E as line data (X, 1), and Y is set to 3 to read the data in the area E as line data (X, 3). ROM64 for a plurality of output line data (X, 1), (X, 3), etc.
It should be compared with the reference data stored in (the X-axis and the Y-axis of the drive signal correspond to the X-axis and the Y-axis of the area E shown in FIG. 2, respectively).
一方、前記A/Dコンバータ73には、エリアセンサ42と同
様に、増幅器78を介して二重送り検知センサ37・38が接
続されている。また、これら増幅器72・78とA/Dコンバ
ータ73との間には、出力側I/Oポート70からの切換信号
によって動作するアナログスイッチ79・80がそれぞれ設
けられており、これらアナログスイッチ79・80によっ
て、エリアセンサ42あるいは二重送り検知センサ37・38
のいずれか一方の出力信号がA/Dコンバータ73に送られ
るようになっている。On the other hand, similar to the area sensor 42, the double feed detection sensors 37 and 38 are connected to the A / D converter 73 via an amplifier 78. Between the amplifiers 72/78 and the A / D converter 73, analog switches 79/80 which operate by a switching signal from the output side I / O port 70 are respectively provided. Depending on 80, area sensor 42 or double feed detection sensor 37/38
One of the output signals is sent to the A / D converter 73.
また、前記計数制御回路45のCPU49と判別制御回路46のC
PU66とは、データ転送用I/Oポート81、82を介して相互
に接続されており、相互にデータを変換して連動動作し
得るように構成されている。Further, the CPU 49 of the counting control circuit 45 and the C of the discrimination control circuit 46
The PU 66 is connected to each other via the data transfer I / O ports 81 and 82, and is configured so that data can be mutually converted and interlocked operation can be performed.
以下、第5図及び第9図に従って、前記計数制御回路45
のROM47に記憶されたプログラムの内容を紙幣計数機の
動作とともに説明する。Hereinafter, according to FIGS. 5 and 9, the counting control circuit 45 will be described.
The contents of the program stored in the ROM 47 will be described together with the operation of the bill counting machine.
なお、第5図におけるSNは以下の説明におけるステップ
Nを示し、第9図おけるTnは以下の説明におけるタイミ
ングTnを示すものとする。Note that SN in FIG. 5 indicates step N in the following description, and Tn in FIG. 9 indicates timing Tn in the following description.
(a)◇計数制御動作1(第5図及び第9図参照) <ステップ1> 電源投入 <ステップ2> ホルダ位置検出センサ24A、24Bの出力信号により、ホル
ダ1が開位置にあるか否かを判断し、NOの場合にはホル
ダーモータ23を駆動してホルダー1を開位置に設定し
(ステップ3)、YESの場合には次のステップ4へ進
む。(A) ◇ Counting control operation 1 (see FIGS. 5 and 9) <Step 1> Power on <Step 2> Whether the holder 1 is in the open position according to the output signals of the holder position detection sensors 24A and 24B. If NO, drive the holder motor 23 to set the holder 1 to the open position (step 3), and if YES, proceed to the next step 4.
<ステップ4> 回転筒位置センサ18からの出力の有無により、吸引軸5
が待機位置(すなわち、吸引軸5が紙幣に正対する位
置)にあるか否かを判断し、NOの場合には、計数モータ
19を低速駆動して吸引軸5を待機位置に設定し(ステッ
プ5)、YESの場合には次のステップ6へ進む。<Step 4> Depending on whether or not there is an output from the rotary cylinder position sensor 18, the suction shaft 5
Is in the standby position (that is, the position where the suction shaft 5 faces the bill), and if NO, the counting motor
19 is driven at a low speed to set the suction shaft 5 to the standby position (step 5), and if YES, the process proceeds to the next step 6.
<ステップ6> モードの設定操作がなされているか否かを判断し、YES
の場合には、各種のモード設定動作、例えば捺印モード
の操作設定により捺印モードを記憶し(ステップ50)、
また、NOの場合には次のステップ7へ進む。<Step 6> Judge whether the mode setting operation has been performed, and YES
In the case of, the marking mode is stored by various mode setting operations, for example, the marking mode operation setting (step 50),
If NO, go to the next step 7.
<ステップ7> スタートスイッチ52からスタート信号(ST)が出力され
たか否かを判断し、NOの場合には前記ステップ6に戻
り、YESの場合には、次のステップ8に進む(タイミン
グT1)。<Step 7> It is determined whether or not the start signal (ST) is output from the start switch 52. If NO, the process returns to step 6; if YES, the process proceeds to the next step 8 (timing T 1 ).
<ステップ8> 検出モードスイッチ53がONとなっているか否かを判断
し、YESの場合には、二重送り検出ランプ37及び投光器4
0を点灯し(ステップ9)、また、NOの場合は、次のス
テップ10に進む計数動作を開始する。<Step 8> It is determined whether or not the detection mode switch 53 is ON, and if YES, the double feed detection lamp 37 and the projector 4
If 0 is turned on (step 9), and if NO, the counting operation proceeds to the next step 10 is started.
<ステップ10> ホルダー位置センサ24A、24Bの出力により、ホルダー1
が閉位置にあるか否かを判断して、NOの場合には、ホル
ダモータ駆動信号(HMD)が出力されて、ホルダーモー
タ23を駆動してホルダー1を閉位置に設定し(ステップ
11)、YESの場合には次のステップ12へ進む(タイミン
グT2)。<Step 10> The holder 1 is detected by the outputs of the holder position sensors 24A and 24B.
Is in the closed position, and if NO, the holder motor drive signal (HMD) is output to drive the holder motor 23 to set the holder 1 in the closed position (step
11) If YES, go to the next step 12 (timing T 2 ).
<ステップ12> ポンプ駆動信号(PMP)が出力されて、ポンプモータ21
を駆動するとともに、ソレノイドバルブ駆動信号(SV)
が出力されて、ソレノイドバルブ16を排気ノズル14側に
切換える。<Step 12> The pump drive signal (PMP) is output and the pump motor 21
Drive solenoid valve drive signal (SV)
Is output to switch the solenoid valve 16 to the exhaust nozzle 14 side.
<ステップ13> 吸引軸5が開始位置にあるか否かを判別し、NOの場合に
は、計数モータ駆動信号(CMD)が出力されて、計数モ
ータ19を低速で逆方向に駆動して吸引軸5を開始位置に
設定し(ステップ14)、また、YESの場合には、次のス
テップへ進む(タイミングT3)。<Step 13> It is determined whether or not the suction shaft 5 is at the start position, and if NO, the count motor drive signal (CMD) is output and the count motor 19 is driven at a low speed in the reverse direction to suck. The axis 5 is set to the start position (step 14), and if YES, the process proceeds to the next step (timing T 3 ).
<ステップ15> 圧力判定信号(VSW)が出力されたか否かを判別し、す
なわち、吸入管路7内の真空圧が所定の値まで上昇した
か否かを判別して、NOの場合には、前記タイミングT3か
ら所定時間(真空圧上昇に必要とされる時間)経過した
か否かを判別し(ステップ16)、このステップ16がNOの
場合には、ステップ15へ戻り、また、ステップ16がYES
の場合には、後述する吸引不良処理ルール(第5図に鎖
線Aで示す)へ進む。<Step 15> It is determined whether or not the pressure determination signal (VSW) is output, that is, it is determined whether or not the vacuum pressure in the suction pipeline 7 has risen to a predetermined value. Then, it is determined whether or not a predetermined time (time required to increase the vacuum pressure) has passed from the timing T 3 (step 16), and if this step 16 is NO, the process returns to step 15, and the step 16 is YES
In this case, the process proceeds to the suction failure processing rule (shown by the chain line A in FIG. 5) described later.
一方、このステップ15がYESの場合には次のステップ17
へ進む(タイミングT4)。On the other hand, if this step 15 is YES, the next step 17
Proceed to (timing T 4 ).
<ステップ17> 前記圧力判別信号(VSW)が出力されたとき(ステップ1
5)に、計数モータ駆動信号(CMD)が出力されて、回転
筒3および吸引軸5の回転を開始する。<Step 17> When the pressure discrimination signal (VSW) is output (Step 1
A counting motor drive signal (CMD) is output to 5) to start rotation of the rotary cylinder 3 and the suction shaft 5.
<ステップ18> 吸引軸5が紙幣を一枚ずつめくり取りながら計数を行な
い、回転筒位置センサ18が信号(SNS)を発生するたび
に、エリアセンサ42の検出データを取り出すためのトリ
ガー信号(TRG)が出力される。また、このとき計数信
号(CNT)が出力されて、紙幣の計数(あるいは判別)
を行なう(タイミングT6〜Tm)。<Step 18> The suction shaft 5 performs counting while flipping the banknotes one by one, and each time the rotary cylinder position sensor 18 generates a signal (SNS), a trigger signal (TRG) for extracting the detection data of the area sensor 42. ) Is output. At this time, a counting signal (CNT) is output to count (or discriminate) banknotes.
(Timing T 6 to T m ).
<ステップ19> 圧力判定信号(VSW)が出力されているか否か、すなわ
ち、めくり取るべき紙幣がなくなって吸入管路7内の真
空圧が上昇できない状態(OFF)となっているか否かを
判別し、OFFとなった(タイミングTm+1)ことを条件と
して次のステップ20へ進む。<Step 19> It is determined whether or not the pressure determination signal (VSW) is output, that is, whether or not there is no bill to be flipped and the vacuum pressure in the suction pipe line 7 cannot be increased (OFF). Then, if it is turned off (timing T m + 1 ), the process proceeds to the next step 20.
<ステップ20> 計数モータ19、ポンプモータ21を停止する。<Step 20> The counting motor 19 and the pump motor 21 are stopped.
<ステップ21> ステップ20によって回転筒3の停止動作と並行して、ホ
ルダのオープン信号が出力されたか否かの判別を行い、
YESの場合にはステップ2に戻り(タイミングTn)、NO
の場合にはこのステップ21で待機する。そして、ステッ
プ2に戻った場合には(タイミングTn)、ホルダー1が
開になったか否かの判別が行なわれ、ホルダー1が開と
なるまでホルダーモータ駆動信号(HMD)が出力され
る。<Step 21> In Step 20, in parallel with the stopping operation of the rotary cylinder 3, it is determined whether or not the open signal of the holder is output.
If YES, return to step 2 (timing T n ), NO
If this is the case, this step 21 is awaited. Then, when returning to step 2 (timing T n ), it is determined whether or not the holder 1 is opened, and the holder motor drive signal (HMD) is output until the holder 1 is opened.
そして、ホルダーが開(ステップ4;タイミングTn+1)と
なると、モータ駆動信号(HMD)がOFFとなると同時に計
数モータ駆動信号(CMD)が出力されて、計数モータ19
を駆動する。そして、この計数モータ19の駆動によって
吸引軸5が待機位置にまで移動して来ると、回転筒位置
センサ18の出力がONとなり、これと同時に計数モータ19
が停止されられる(タイミングTn+2)。Then, when the holder is opened (step 4; timing T n + 1 ), the motor drive signal (HMD) is turned off, and at the same time, the count motor drive signal (CMD) is output and the count motor 19
To drive. When the suction shaft 5 is moved to the standby position by driving the counting motor 19, the output of the rotary cylinder position sensor 18 is turned on, and at the same time, the counting motor 19 is turned on.
Are stopped (timing T n + 2 ).
このようにして吸引軸5が待機位置に停止させられる
と、次回のスタート信号(ステップ7)によって、直ち
に計数を開始し得る状態となって、次の準備が完了す
る。When the suction shaft 5 is stopped at the standby position in this way, the next start signal (step 7) allows the counting to be started immediately, and the next preparation is completed.
次いで、吸引、不良処理ルートAについて説明する。Next, the suction / defective processing route A will be described.
すなわち、計数モータ19のブレーキの動作不良などの原
因によって回転筒3が所定位置に停止することができな
い場合には、吸入管路7の内部が外部から密閉されない
ため、一定時間以上経過しても真空圧が上昇せず、した
がって、圧力判定信号がONとなることができない(ステ
ップ16)。That is, when the rotary cylinder 3 cannot be stopped at a predetermined position due to a malfunction of the brake of the counting motor 19 or the like, the inside of the suction pipe line 7 is not sealed from the outside, so that a certain period of time or more elapses. The vacuum pressure does not rise and therefore the pressure determination signal cannot be turned on (step 16).
このような場合には、計数モータ19を定速で逆転させて
回転筒3の位置を調整し(ステップ30)、ステップ13な
いし15を繰り返す。そして、この動作をN回繰り返して
も真空圧が上昇しない場合(ステップ31)には、ポンプ
モータ21を停止させ(ステップ32)、アラーム信号を出
力し(ステップ33)、その後、機械を停止させる(ステ
ップ34)。In such a case, the counting motor 19 is reversely rotated at a constant speed to adjust the position of the rotary cylinder 3 (step 30), and steps 13 to 15 are repeated. If the vacuum pressure does not increase even after repeating this operation N times (step 31), the pump motor 21 is stopped (step 32), an alarm signal is output (step 33), and then the machine is stopped. (Step 34).
次に、CPU49における計数処理フローについて第6図を
参照して説明し、更に、CPU66における判別処理フロー
について第7図及び第8図を参照して説明する。Next, the counting process flow in the CPU 49 will be described with reference to FIG. 6, and the determination process flow in the CPU 66 will be described with reference to FIGS. 7 and 8.
◇計数制御動作2(第6図参照) <ステップ100> スタート <ステップ101> 検出モードスイッチ53がONとなっているか否か、すなわ
ち、紙幣表面のパターンを読取る必要があるか否かを判
断し、YESの場合には、判別ON信号及び表裏モード信号
(但し、表裏モードスイッチ54がONのときのみ、以下同
じ)を出力し(ステップ102)、更にこれら紙幣判別ON
信号及び表裏モード信号を第7図に示す判別ルーチンに
供給する(矢印で示す)。◇ Counting control operation 2 (see FIG. 6) <Step 100> Start <Step 101> It is determined whether or not the detection mode switch 53 is ON, that is, it is necessary to read the pattern on the bill surface. , YES, the discrimination ON signal and the front / back mode signal (however, the same applies only when the front / back mode switch 54 is ON) are output (step 102), and the bill discrimination is turned ON.
The signal and the front / back mode signal are supplied to the discrimination routine shown in FIG. 7 (indicated by an arrow).
また、検出モードスイッチ53がOFFとなっている場合に
は、計数のみを行うと判断して、次のステップ103に進
む。If the detection mode switch 53 is OFF, it is determined that only counting is performed, and the process proceeds to the next step 103.
<ステップ103> 回転筒位置センサ出力信号(SNS)の立上がりを検出
し、YESとなった場合に次のステップ104へ進む。<Step 103> When the rising of the rotary cylinder position sensor output signal (SNS) is detected and YES is determined, the process proceeds to the next step 104.
<ステップ104> 前記ステップ103と同一のタイミングでトリガー信号(T
RG)を立上がらせるとともに、このトリガー信号(TR
G)の出力を第7図に示す判別ルーチンに供給する(矢
印で示す)。<Step 104> Trigger signal (T
This trigger signal (TR
The output of G) is supplied to the discrimination routine shown in FIG. 7 (indicated by an arrow).
<ステップ105> 回転筒位置センサ出力信号(SNS)のON−OFF状態を検出
し、ON(YES)の場合には、圧力判定信号(VSW)がONと
なっているか否かを判別し(ステップ106)、このステ
ップ106がNOの場合に、判別OFF信号を出力し(ステップ
150)、かつ、計数モータ19、ポンプモータ21の駆動及
び二重送り検出用ランプ37、投光器40の点灯を停止する
(ステップ151)。また、前記ステップ106において、圧
力判定信号(VSW)の出力がある(YES)の場合には、次
のステップ107へ進む。<Step 105> The ON-OFF state of the rotary cylinder position sensor output signal (SNS) is detected, and if ON (YES), it is determined whether or not the pressure determination signal (VSW) is ON (step 106), if this step 106 is NO, a discrimination OFF signal is output (step
150), and driving of the counting motor 19, the pump motor 21, the double feed detection lamp 37, and the lighting of the projector 40 are stopped (step 151). If the pressure determination signal (VSW) is output in step 106 (YES), the process proceeds to step 107.
<ステップ107> 検出モードスイッチ53がONとなっているか否かを判断
し、YESの場合にはステップ108に進み、NOの場合にはス
テップ109に進む。<Step 107> It is determined whether or not the detection mode switch 53 is ON. If YES, the process proceeds to step 108, and if NO, the process proceeds to step 109.
<ステップ108> 異金種が検出された場合、表裏判別モードの時に表裏不
一致が検出された場合、全ての基準パターンと一致せず
判別異常と判断された場合、あるいは二重吸着が検出さ
れた場合に、判別処理フローから出力されるエラー信号
(矢印で示す)の入力があるか否かを判断し、YESの
場合にはバッチソレノイド28を動作させて計数を中断
し、また、NOの場合にはステップ109に進む。<Step 108> When different denominations are detected, when the front and back discrepancies are detected in the front and back discriminating mode, when it is judged that the discriminating abnormality does not match all the reference patterns, or double suction is detected. In this case, it is determined whether or not an error signal (indicated by an arrow) output from the determination processing flow is input. If YES, the batch solenoid 28 is operated to stop counting, and if NO, To go to step 109.
<ステップ109> バッチモードがONとなっているか否かを判断し、NOの場
合にはステップ105に戻り、YESの場合にはステップ110
に進む。<Step 109> It is determined whether or not the batch mode is ON. If NO, the procedure returns to Step 105, and if YES, Step 110.
Proceed to.
<ステップ110> 紙幣の枚数判別を行い、紙幣の計数値が所定枚数に満た
ないと判断された場合(NO)には、ステップ105に戻
り、また、紙幣の計数値が所定枚数に一致したと判断さ
れた場合(YES)には、バッチソレノイド28をONとし
て、計数紙幣を未計数紙幣から分離した後(ステップ11
1)に、判別OFF信号を出力して(ステップ112)(この
判別OFF信号は矢印に示すように判別処理フローに供
給される)、計数モータ19、ポンプモータ21の駆動及び
二重送り検出用ランプ37、投光器40の点灯を停止する
(ステップ113)。そして、次のステップ114に進む。<Step 110> When the number of bills is determined and it is determined that the count value of bills is less than the predetermined number (NO), the process returns to step 105, and it is determined that the count value of bills matches the predetermined number. If it is determined (YES), the batch solenoid 28 is turned on to separate the counted banknotes from the uncounted banknotes (step 11
For 1), output the discrimination OFF signal (step 112) (this discrimination OFF signal is supplied to the discrimination processing flow as shown by the arrow) for driving the counting motor 19 and the pump motor 21 and for detecting the double feed. The lighting of the lamp 37 and the projector 40 is stopped (step 113). Then, the process proceeds to next step 114.
<ステップ114> 上記したバッチ処理時、もしくはエラー検出時に動作し
たセパレータ25の作動を解除するクリア操作が行なわれ
たか否かを判断し、YESの場合にステップ115に進む。<Step 114> It is determined whether or not a clear operation for canceling the operation of the separator 25 that was operated during the batch processing or the error detection is performed, and if YES, the process proceeds to step 115.
<ステップ115> ホルダー1に対しオープン信号(ステップ21参照)を出
力して、このフローが終了する。<Step 115> An open signal (see step 21) is output to the holder 1, and this flow ends.
次に、ステップ120〜ステップ121について説明する。Next, step 120 to step 121 will be described.
<ステップ120> 前記ステップ105において、回転筒位置センサ出力信号
(SNS)のON−OFF状態を検出し、ONの状態であれば、前
記ステップ105〜ステップ109(またはステップ110)の
ルーチンを回り続け、OFF状態となったところで、この
ステップ120へ移行する。そして、前記ステップ106と同
様に、圧力判定信号(VSW)がONとなっているか否かを
判別し、この判別がNOの場合には、前記ステップ106と
同様に次のステップ150へ進み、判別OFF信号を出力する
(ステップ150)とともに、計数モータ19、ポンプモー
タ21の駆動及び二重送り検出用ランプ37、投光器40の点
灯を停止する(ステップ151)。また、前記圧力判定信
号(VSW)の出力がYESの場合には、ステップ121に進
む。<Step 120> In step 105, the ON-OFF state of the rotary cylinder position sensor output signal (SNS) is detected, and if it is ON, the routine of step 105 to step 109 (or step 110) is continued. , When the state becomes OFF, the process proceeds to step 120. Then, similarly to step 106, it is determined whether or not the pressure determination signal (VSW) is ON. If the determination is NO, the process proceeds to the next step 150 as in step 106, and the determination is made. The OFF signal is output (step 150), and at the same time, the driving of the counting motor 19, the pump motor 21, the double feed detection lamp 37, and the lighting of the projector 40 are stopped (step 151). If the output of the pressure determination signal (VSW) is YES, the process proceeds to step 121.
<ステップ121> 回転筒位置センサ出力信号(SNS)がONとなっているか
否かを再度判別し、NOの場合にはステップ120に戻り、Y
ESの場合には、トリガー信号(TRG)を出力して(ステ
ップ122)(このTRGは矢印に示すように判別処理フロ
ーに供給される)、カウンタを1計数した後(ステップ
123)ステップ105に戻る。<Step 121> It is determined again whether the rotary cylinder position sensor output signal (SNS) is ON or not. If NO, the process returns to Step 120 and Y
In the case of ES, a trigger signal (TRG) is output (step 122) (this TRG is supplied to the discrimination processing flow as indicated by the arrow), and after counting the counter by 1 (step
123) Return to step 105.
次に、ステップ150〜ステップ165について説明する。Next, step 150 to step 165 will be described.
<ステップ150> 前述したようにステップ106、120において、圧力判定信
号(VSW)の出力が検出されない場合、例えば待機位置
にある紙幣が吸着されない、あるいは計数されるべき紙
幣がない場合等には、判別OFF信号が出力され、かつ、
計数モータ19、ポンプモータ21の駆動及び二重送り検出
用ランプ37、投光器40の点灯を停止させた後(ステップ
151)、ステップ152に進む。<Step 150> As described above, when the output of the pressure determination signal (VSW) is not detected in steps 106 and 120, for example, when the bills at the standby position are not adsorbed, or there is no bill to be counted, Judgment OFF signal is output, and
After stopping the lighting of the counting motor 19, the pump motor 21, the double feed detection lamp 37, and the projector 40 (step
151), and proceed to step 152.
<ステップ152> 検出モードスイッチ53がONとなっているか否かを判断
し、NOの場合にはステップ160に進み、YESの場合にはス
テップ153に進む。<Step 152> It is determined whether or not the detection mode switch 53 is ON. If NO, the process proceeds to step 160, and if YES, the process proceeds to step 153.
<ステップ153> 一定の時間に亙って(ステップ154)、判別ルーチンか
らエンド信号が出力(矢印で示す)されなかった場
合、例えは、計数すべき紙幣がセットされているにも拘
わらず、紙幣の吸着が行なわれなかった場合等には、記
憶部(RAM48あるいはCPU49)の所定のエリアに残留エラ
ーを示すフラグを立てた後(ステップ155)、次のステ
ップ114に進む。<Step 153> When the end signal is not output from the determination routine (indicated by an arrow) for a certain period of time (step 154), for example, although the banknotes to be counted are set, When the bill is not sucked, a flag indicating a residual error is set in a predetermined area of the storage unit (RAM 48 or CPU 49) (step 155), and then the process proceeds to the next step 114.
また、第7図の判別処理フローからエンド信号が出力さ
れた場合には次のステップ160に進む。When the end signal is output from the determination processing flow of FIG. 7, the process proceeds to the next step 160.
<ステップ160> モード設定が枚数チェックモードになっているか否かを
判別し、NOの場合にはステップ164に進み、YESの場合に
はステップ161に進む。<Step 160> It is determined whether or not the mode setting is the number-of-sheets check mode. If NO, the process proceeds to step 164, and if YES, the process proceeds to step 161.
<ステップ161> 枚数チェックモードにおいて設定された枚数に、計数さ
れた紙幣の計数値が一致しているか否かを判断し、NOの
場合には記憶部の所定のエリアに不一致エラーを示すフ
ラグを立て(ステップ166)、ステップ114に進む。ま
た、設定された枚数と計数値とが一致した場合(YES)
には、次のステップ162に進む。<Step 161> It is determined whether or not the count value of the counted bills matches the number set in the number check mode. If NO, a flag indicating a mismatch error is displayed in a predetermined area of the storage unit. Stand (step 166) and proceed to step 114. When the set number of sheets and the count value match (YES)
To the next step 162.
<ステップ162> モード設定が捺印モードにセットされているか否かを判
断し、YESの場合には捺印ソレノイド35を動作させて、
帯封に捺印し(ステップ163)、また、NOの場合には次
のステップ164に進む。<Step 162> It is judged whether or not the mode setting is set to the marking mode, and if YES, the marking solenoid 35 is operated,
The band is marked (step 163), and if NO, the process proceeds to the next step 164.
<ステップ164> 加算モードにセットされているか否かを判断し、YESの
場合には、先に計数された紙幣の計数結果を加算し、そ
の加算結果を記憶部に記憶させ、また、NOの場合には、
ステップ115に進み、計数処理が終了する。<Step 164> It is determined whether or not the addition mode is set, and if YES, the counting result of the previously counted banknotes is added, the addition result is stored in the storage unit, and NO in case of,
The process proceeds to step 115, and the counting process ends.
次に、CPU66における判別処理フローについて第7図、
第8図及び第10図のタイムチャートを参照して説明す
る。Next, FIG. 7 shows the discrimination processing flow in the CPU 66.
Description will be made with reference to the time charts of FIGS. 8 and 10.
<ステップ200> スタート <ステップ201> 計数ルーチンからトリガー信号(TRG)(矢印で示
す)が出力されたか否かを判断し、YESの場合に次のス
テップ202に進む。<Step 200> Start <Step 201> It is determined whether or not a trigger signal (TRG) (indicated by an arrow) is output from the counting routine, and if YES, the process proceeds to the next step 202.
<ステップ202> 計数ルーチンから判別ON信号(矢印で示す)が出力さ
れたか否かを判断し、NOの場合にはステップ201に戻
り、YESの場合には、第4図に示すアナログスイッチ80
を選択して、二重送り検知センサ37、38の出力を増幅器
78、A/Dコンバータ73を介して取り込み、RAM65に記憶し
た後(ステップ203)、ステップ204に進む。<Step 202> It is determined whether or not a discrimination ON signal (indicated by an arrow) is output from the counting routine. If NO, the process returns to step 201, and if YES, the analog switch 80 shown in FIG.
To select the output of the double feed detection sensors 37 and 38 as an amplifier.
78, after being fetched through the A / D converter 73 and stored in the RAM 65 (step 203), the process proceeds to step 204.
<ステップ204> ステップ214、ステップ222、ステップ232においてセッ
トされたエラーコードに基づき、異金種の混入有り、表
裏不一致有り、判別異常有り(異常紙幣の混入)か否か
を判断し(これら異金種の混入、表裏不一致、判別異常
の検出についてはステップ213、221、231で述べる)、Y
ESである場合にはエラー信号及びエラーコードを出力し
て、そのエラー内容を表示部63に表示した後(ステップ
205)、ステップ201に戻る。なお、前記ステップ205で
出力されたエラー信号は矢印で示すように第6図の計
数ルーチンのステップ108に供給される。<Step 204> Based on the error codes set in Steps 214, 222, and 232, it is determined whether or not different denominations are mixed, front and back do not match, and discrimination is abnormal (abnormal banknotes are mixed). Detecting mixed denominations, inconsistency between front and back, and abnormal discrimination will be described in steps 213, 221, and 231), Y
In case of ES, an error signal and an error code are output, and the error content is displayed on the display unit 63 (step
205), and returns to step 201. The error signal output at step 205 is supplied to step 108 of the counting routine of FIG. 6 as indicated by the arrow.
また、異金種の混入、表裏不一致、判別異常が無い場合
(NO)には次のステップ206に進む。Further, when there is no mixing of different denominations, inconsistency between front and back, and discrimination abnormality (NO), the process proceeds to the next step 206.
なお、最初のトリガー信号(TRG)出力時には、ステッ
プ214、222、232を通っておらず、判別もなされていな
いから、最初のステップ204は常にNOでステップ206に進
む。It should be noted that when the first trigger signal (TRG) is output, it has not passed through steps 214, 222, and 232, and no determination has been made, so the first step 204 is always NO and proceeds to step 206.
<ステップ206> ステップ203で二重送り検知センサ37、38から取り込ん
だ検出データとステップ214(後述する)でセットされ
た判別基準となる二重比較レベルとに基づいて、紙幣が
二重吸着がされたか否かを判断し、YESの場合にはエラ
ー信号及びエラーコードを出力して、そのエラー内容を
表示部63に表示した後(ステップ207)、ステップ201に
戻る。<Step 206> Based on the detection data fetched from the double feed detection sensors 37 and 38 in Step 203 and the double comparison level which is the determination reference set in Step 214 (described later), the double suction of the bill is determined. If YES, an error signal and an error code are output, the content of the error is displayed on the display unit 63 (step 207), and the process returns to step 201.
なお、前記ステップ207で出力されたエラー信号は矢印
で示すように第6図の計数ルーチンのステップ108に
供給される。The error signal output at step 207 is supplied to step 108 of the counting routine of FIG. 6 as indicated by the arrow.
また、NOの場合つまり二重吸着が無と判断された場合に
は次のステップ208に進む。Further, in the case of NO, that is, when it is determined that the double adsorption is not present, the process proceeds to the next step 208.
なお、ステップ204と同様に最初のトリガー信号(TRG)
出力時には、二重吸着を判別すべき紙幣Saは第1図の位
置に存在せず、また、基準となる二重比較レベルはセッ
トされていないので、このステップ206は常にNOでステ
ップ208に進む。As with step 204, the first trigger signal (TRG)
At the time of output, the banknote Sa for which double suction is to be discriminated does not exist in the position shown in FIG. 1, and since the reference double comparison level is not set, this step 206 is always NO and proceeds to step 208. .
<ステップ208> 第4図に示すアナログスイッチ79を選択し、エリアセン
サ42の出力を増幅器72、A/Dコンバータ73を介してRAM65
に記憶することにより、エリアEにおけるエリアデータ
(Nラインにおけるデータ)の取り込みが行なわれる。
なお、このエリアデータの取り込みは、第8図に示すよ
うなフローに基づいて行なわれる。<Step 208> The analog switch 79 shown in FIG. 4 is selected and the output of the area sensor 42 is transferred to the RAM 65 via the amplifier 72 and the A / D converter 73.
Area data (data on the N line) in the area E is fetched by storing in the area.
The area data is taken in based on the flow shown in FIG.
つまり、取り込み信号が出力された場合(ステップ30
0)に、Yを0、Xを0に設定した後(ステップ301)、
次のステップ302に進む。そして、このステップ302で
は、必要とするNラインのデータ(ラインデータ)の出
力が終了したか否かを判断し、YESの場合には判別開始
信号が出力されて(ステップ303)、第7図のメインル
ーチンに戻る。また、ステップ302において、NOの場合
には指定されたNライン(このラインの指定は位置デー
タに基づく)のデータがステップ312で出力されるま
で、ステップ304〜311をループし、該データの出力が行
なわれた時点で前述したようにステップ303に進む。That is, when a capture signal is output (step 30
After setting Y to 0 and X to 0 in (0) (step 301),
Proceed to next step 302. Then, in this step 302, it is judged whether or not the output of the necessary N lines of data (line data) is completed, and if YES, a discrimination start signal is output (step 303), and FIG. Return to the main routine of. If NO in step 302, the loop of steps 304 to 311 is performed until the data of the designated N line (the designation of this line is based on the position data) is output in step 312, and the output of the data is performed. Is performed, the process proceeds to step 303 as described above.
そして、このようにエリアデータのライン毎の取り込み
が終了すると、第7図に示す次のステップ209に進む。Then, when the line-by-line acquisition of the area data is completed in this way, the process proceeds to the next step 209 shown in FIG.
<ステップ209> ステップ208において取り込んだデータがパターンを有
さないレベルのものか否か(すなわち、前期ホルダ1の
表面1bの黒色パターンか否か)を判断し、YES(データ
無)である場合には、エンド信号を出力した後(ステッ
プ210)、ステップ201に戻る。なお、前記ステップ210
で出力されたエンド信号は矢印で示すように第6図の
計数ルーチンのステップ153に供給される。<Step 209> It is determined whether or not the data captured in step 208 is of a level having no pattern (that is, whether or not it is a black pattern on the front surface 1b of the holder 1 in the previous period) and YES (no data) After outputting the end signal (step 210), the process returns to step 201. Note that the above step 210
The end signal output at is supplied to step 153 of the counting routine of FIG. 6 as indicated by the arrow.
また、取り込んだエリアデータがパターンを有するレベ
ルのものである場合(NO)には、次のステップ211に進
む。Further, when the taken-in area data is of a level having a pattern (NO), the process proceeds to the next step 211.
<ステップ211> 吸引軸5によって吸着された紙幣が1枚目であるか否か
を判断し、YESである場合には、ステップ212に進み、NO
である場合にはステップ230に進む。<Step 211> It is determined whether or not the bill sucked by the suction shaft 5 is the first bill, and if YES, the process proceeds to step 212 and NO.
If yes, then go to step 230.
<ステップ212> ステップ208で取り込まれた1枚目の紙幣におけるエリ
アデータに対して、ROM64に記憶されている現行3金種
(L種の金種)合計12パターン(4×Lパターン)の基
準データ(1金種について、表裏正逆4パターンある)
とを比較して、次のステップ213に進む。なお、これら1
2パターンの基準データは、前記ステップ208で指定さ
れ、取り出されたラインデータに対応している。<Step 212> For the area data of the first bill taken in step 208, a total of 12 patterns (4 × L patterns) of the current three denominations (L denominations) stored in the ROM 64 are used as a reference. Data (for one denomination, there are 4 patterns of front and back)
And are compared, and the process proceeds to the next step 213. These 1
The two patterns of reference data correspond to the line data extracted and specified in step 208.
<ステップ213> 前記1枚目の紙幣のエリアデータと、12パターンの基準
データとを比較した結果、一致したパターンがあるか否
かを判断し、NOの場合には、判別が不能な異常紙幣であ
るとして記憶部(RAM65)の所定のエリアに判別異常を
示すフラグを立てて(ステップ214)、前記ステップ201
に戻る。<Step 213> As a result of comparing the area data of the first bill and the reference data of 12 patterns, it is determined whether or not there is a matched pattern. If NO, it is impossible to discriminate the abnormal bill. Then, a flag indicating a discrimination abnormality is set in a predetermined area of the storage unit (RAM65) (step 214), and the step 201
Return to.
また、一致パターンがある(YES)の場合には、記憶部
(RAM65)の所定のエリアに判別された紙幣が3金種の
内のいずれか1つであることを示すフラグを立て(ステ
ップ215)、更に、該紙幣の表裏を示すフラグを立てた
後(ステップ216)、判別した金種と表裏情報とに基づ
いてROM64に記憶させてある二重吸着の判別基準である
二重比較レベルを記憶部(RAM65)にセットした後(ス
テップ217)、ステップ218に進む。If there is a matching pattern (YES), a flag indicating that the banknote identified in the predetermined area of the storage unit (RAM65) is one of the three denominations is set (step 215). ), After setting a flag indicating the front and back of the bill (step 216), the double comparison level, which is the determination criterion for double suction stored in the ROM 64 based on the determined denomination and front and back information, is set. After setting in the storage unit (RAM65) (step 217), the process proceeds to step 218.
<ステップ230> 一方、前述したステップ211において、前記吸引軸5に
より吸着された紙幣が1枚目でないと判断された場合に
は、ステップ208で取り込まれた該紙幣のエリアデータ
と、ROM64に記憶された特定金種(ステップ215にセット
された金種)についての表裏正逆4パターンの基準デー
タのみとを比較して、次のステップ231に進む。なお、
これら4パターンの基準データは、前記ステップ208で
指定され、取り出されたラインデータに対応している。<Step 230> On the other hand, if it is determined in step 211 that the bill sucked by the suction shaft 5 is not the first bill, the area data of the bill taken in step 208 and the ROM 64 are stored. Only the reference data of the front and back four normal and reverse patterns for the specified denomination (the denomination set in step 215) are compared and the process proceeds to the next step 231. In addition,
These four patterns of reference data correspond to the line data specified in step 208 and taken out.
<ステップ231> 前記紙幣のエリアデータと4パターンの基準データとを
比較した結果、一致したパターンがあるか否かを判断
し、NOの場合にはこの紙幣が異金種紙幣(厳密に言うと
判別異常紙幣もあり得る)であるとして、記憶部の所定
のエリアに異金種を示すフラグを立て(ステップ23
2)、前記ステップ201に戻る。<Step 231> As a result of comparing the area data of the banknote with the reference data of four patterns, it is determined whether or not there is a matching pattern. If NO, this banknote is a different denomination banknote (strictly speaking, It is also possible that there is a discriminated banknote, and a flag indicating a different denomination is set in a predetermined area of the storage unit (step 23
2) Return to step 201.
また、一致したパターンがある場合(YES)には、前述
したように、記憶部の所定のエリアに紙幣の表裏を示す
フラグを立て(ステップ216)、更に、ステップ217にお
いて、記憶部の所定のエリアに該紙幣の透過光量をセッ
トして、次のステップ218に進む。If there is a matching pattern (YES), as described above, a flag indicating the front and back of the banknote is set in a predetermined area of the storage unit (step 216), and further, in step 217, a predetermined area of the storage unit is set. The amount of transmitted light of the bill is set in the area, and the process proceeds to the next step 218.
<ステップ218> 表裏モードスイッチ54がONになっているか否かを判断
し、NOの場合にはステップ201に進み、YESの場合には次
のステップ219に進む。<Step 218> It is determined whether the front / back mode switch 54 is ON. If NO, the process proceeds to step 201, and if YES, the process proceeds to the next step 219.
<ステップ219> この紙幣が1枚目であるか否かを判断し、NOの場合には
ステップ221に進み、YESの場合には次のステップ220に
進む。<Step 219> It is determined whether or not this bill is the first bill, and if NO, the process proceeds to step 221, and if YES, the process proceeds to next step 220.
<ステップ220> 前記ステップ216においてセットした1枚目の紙幣の表
裏コードを表裏基準データとして記憶部RAM65にセット
し、この表裏基準データに基づいて以後紙幣表裏判定を
行なう(ステップ221)。<Step 220> The front and back codes of the first banknote set in step 216 are set in the storage unit RAM65 as front and back reference data, and bill front and back determination is performed based on the front and back reference data (step 221).
<ステップ221> ステップ216でセットされる表裏コードとステップ220で
セットされた表裏基準データとを比較して、2枚目以降
の紙幣が1枚目の紙幣の表裏と一致しているか否かを判
断し、一致している(YES)場合にステップ201に戻り、
不一致である(NO)場合に次のステップ222に進み、こ
のステップ222において、記憶部の所定のエリアに表裏
不一致であることを示すフラグを立て(ステップ22
2)、ステップ201に戻り、ふたたび上述したステップ20
1〜ステップ232を繰り返す。<Step 221> The front and back codes set in step 216 are compared with the front and back reference data set in step 220 to determine whether the second and subsequent banknotes match the front and back of the first banknote. Judge, and if they match (YES), return to step 201,
If they do not match (NO), the process proceeds to the next step 222, and in this step 222, a flag indicating that the two sides do not match is set in a predetermined area of the storage unit (step 22).
2), return to step 201 and repeat step 20 above.
Repeat steps 1 to 232.
なお、上述したトリガー信号(TRG)、二重データを取
り込む等のタイミングは第10図のタイミングチャートに
おいて記載されている。これらトリガー信号(TRG)、
二重データを取り込む等のタイミングと第7図のステッ
プ番号と対応させると、判別トリガー信号はステップ20
1に対応し、二重データ取り込みタイミングはステップ2
03に対応し、以下、エラーチェックタイミングはステッ
プ204に、二重チェックタイミングはステップ206に、エ
リアデータ取り込みタイミングはステップ208に、エン
ドチェックタイミングはステップ209にそれぞれ対応
し、また、判別処理タイミングはステップ211〜213及び
ステップ230、231に対応し、更に、金種、表裏、二重比
較レベル、エラーセットタイミングは、ステップ215〜2
17、ステップ214、222、232にそれぞれ対応している。The timing for fetching the above-mentioned trigger signal (TRG), dual data, etc. is described in the timing chart of FIG. These trigger signals (TRG),
Corresponding to the timing of fetching double data and the step number of FIG. 7, the discrimination trigger signal is step 20.
Corresponding to 1, the dual data acquisition timing is step 2
Corresponding to 03, the error check timing corresponds to step 204, the double check timing corresponds to step 206, the area data acquisition timing corresponds to step 208, the end check timing corresponds to step 209, and the discrimination processing timing corresponds to Corresponding to Steps 211 to 213 and Steps 230 and 231. Furthermore, the denomination, front and back, double comparison level, and error set timing are Steps 215 to 2
17, corresponding to steps 214, 222, and 232, respectively.
以上詳細に説明したように、上記のように構成された紙
幣計数機においては、第9図のタイムチャートに示すよ
うに、回転筒が起動して回転筒3が起動して定速状態と
なるまでに時間(T5〜T6)が掛かり、この長い立ち上が
り時間を利用して、第7図の判別処理フローのステップ
211〜213に示すような紙幣の比較判別を行うことができ
る。As described in detail above, in the banknote counter configured as described above, as shown in the time chart of FIG. 9, the rotary cylinder is activated and the rotary cylinder 3 is activated to enter the constant speed state. It takes time (T 5 to T 6 ), and using this long rise time, the steps of the discrimination processing flow in FIG. 7
It is possible to compare and determine the banknotes as indicated by 211 to 213.
すなわち、第9図に示すように、回転筒3の立ち上がり
時(T5〜T6)と、定速状態時(T6〜Tm+2)とを比較した
場合に、紙幣を1枚計数するのに必要とされる時間が1
枚目>>2枚目以降となっているので、定速状態時(T6
〜Tm+2)において、紙幣のラインデータを表裏正逆4パ
ターンの基準データと比較することしかできないのに対
し、回転筒3の立ち上がり時(T5〜T6)時において、1
枚目の紙幣のエリアデータを、1金種についての表裏正
逆4パターン、3金種合計12パターンの基準データと比
較することが可能である。That is, as shown in FIG. 9, at the rise of the rotating cylinder 3 a (T 5 ~T 6), when compared with the constant-speed state (T 6 ~T m + 2) , 1 banknotes counting 1 time required to do
Since the second and subsequent sheets are the second and subsequent sheets, in the constant speed state (T 6
At ~ T m + 2 ), the line data of the banknote can only be compared with the standard data of the front and back four patterns, while 1 at the rising of the rotary cylinder 3 (T 5 to T 6 ).
It is possible to compare the area data of the first banknote with the reference data of four patterns of front and back for one denomination and a total of 12 patterns of three denominations.
これによって、第7図の判別処理フローに示すように、
1枚目の紙幣によってまず金種を確定した後で(ステッ
プ215)、2枚目以降の紙幣と、1枚目で確定した金種
についての正逆表裏4パターンとの比較を行い(ステッ
プ230)、これら4パターンから外れるものを、異金種
と断定することによって(ステップ231、232)、紙幣判
別の作業の効率化を図ることが可能となる。As a result, as shown in the discrimination processing flow of FIG.
After the denomination is first determined by the first bill (step 215), the second and subsequent bills are compared with the four patterns of forward and reverse sides of the denomination determined by the first bill (step 230). ), It is possible to improve the efficiency of the bill discriminating work by determining the ones deviating from these four patterns as different denominations (steps 231, 232).
また、前記ステップ208で説明したように、紙幣のエリ
アEにおけるエリアデータがX軸に沿うラインデータと
して取り出され、更に、このラインデータは、Yの値を
エリアEの範囲内において任意に位置設定して取り出す
ことができるので、これらラインデータを複数読み出し
て、これらラインデータを予めROM64に記憶されている
基準データと比較することによって、精度の高い判別を
行うことができる、すなわち、紙幣の判別を行うために
必要とされるラインデータを、例えば番号Yの設定によ
って任意にかつ複数本読み出すことができるので、日本
国紙幣のみならず、態様の異なる米ドル紙幣にもこの装
置の金種及び表裏判別機能を適応させることができると
いう効果を奏する。Further, as described in step 208, the area data in the area E of the banknote is taken out as line data along the X axis, and the line data is set to the Y value arbitrarily within the area E. Therefore, it is possible to make a highly accurate discrimination by reading out a plurality of these line data and comparing these line data with reference data stored in advance in the ROM 64, that is, bill discrimination. Since the line data required for performing the above can be read arbitrarily and for example by setting the number Y, the denomination and front and back sides of this device can be applied to not only Japanese banknotes but also US dollar banknotes of different forms. This has an effect that the discrimination function can be adapted.
なお、日本国紙幣を判別するプログラムを米ドル紙幣を
判別するプログラムに変更する場合には、ROM64等を取
り替えることによって行う。When the program for discriminating Japanese currency bills is changed to a program for discriminating US dollar bills, the ROM 64 or the like is replaced.
また、上述した第8図のフローチャートでは、SP304・S
P305……SP310にて指定されているラインのデータを、S
P312にて出力するようにしており、従って、このフロー
チャートが記憶されているROM64を交換して、SP304・SP
305……SP310の処理内容を変更することにより、これら
SPにて指定するラインも変更することが可能となる。In addition, in the flowchart of FIG. 8 described above, SP304
P305 …… S data of the line specified in SP310
It is designed to output at P312. Therefore, replace ROM64 where this flowchart is stored, and use SP304 / SP
305 …… By changing the processing contents of SP310, these
It is also possible to change the line specified by SP.
また、上記の判別制御回路46では、ラインデータをX軸
に沿うように取り出したが、これに限定されず、Y軸に
沿って取り出すようにしても良い。Further, although the discrimination control circuit 46 fetches the line data along the X axis, it is not limited to this and may be fetched along the Y axis.
更に、前記エリアEにおける表面パターンを読み取るセ
ンサとして、前記エリアセンサ42に替えて、1次元イメ
ージセンサを第2図に示すY軸あるいはX軸に対し間隔
を以て複数列配置し、更に、これらセンサの検出データ
を列を指定して読み出すようにしても良い。Further, as a sensor for reading the surface pattern in the area E, instead of the area sensor 42, a one-dimensional image sensor is arranged in a plurality of rows at intervals with respect to the Y-axis or the X-axis shown in FIG. The detection data may be read out by designating a column.
また更に、この紙幣計数機においては、帯封に押印する
押印機構と二重送りを検出する二重送り検出機構との配
置は任意である。Further, in this bill counting machine, the arrangement of the stamping mechanism for stamping the band seal and the double feed detecting mechanism for detecting the double feed is arbitrary.
「発明の効果」 以上詳細に説明したように本発明の判別装置では、エリ
アセンサで検出した紙幣表面を示すデータの中から複数
の異なるラインを指定し、これをラインデータとして選
択的に取り出すことによって、紙幣の態様が異なった場
合(米国紙幣、日本国紙幣など)であっても、基準デー
タ記憶手段(実施例のROM64)を交換することにより、
特別に、紙幣の表面を検出するためのセンサの位置を変
更することなく、その検出領域を、紙幣の態様(米国紙
幣、日本国紙幣など)に応じて適宜設定することができ
る。"Effects of the Invention" As described in detail above, in the discriminating apparatus of the present invention, a plurality of different lines are designated from the data indicating the bill surface detected by the area sensor, and this is selectively taken out as line data. Therefore, even if the form of the bill is different (US bill, Japanese bill, etc.), by replacing the reference data storage means (ROM64 of the embodiment),
In particular, the detection area can be appropriately set according to the mode of the banknote (US banknote, Japanese banknote, etc.) without changing the position of the sensor for detecting the surface of the banknote.
また、本発明の判別装置では、エリアセンサで検出した
データの全てをこれに対応した基準データと比較判別す
るのでは無く、エリアセンサで検出した紙幣表面を示す
データの中から複数の異なるラインを指定し、これをラ
インデータとして選択的に取り出した上で、対応する基
準ラインデータと比較するようにしているので、結果と
してデータの比較判別に要する時間が短く済み、比較判
別処理の高速化を図ることも可能となる。Further, in the discrimination device of the present invention, instead of comparing and discriminating all of the data detected by the area sensor with the corresponding reference data, a plurality of different lines are selected from the data indicating the bill surface detected by the area sensor. Since it is specified and selectively extracted as line data and compared with the corresponding reference line data, as a result, the time required for comparing and determining the data can be shortened, and the speed of the comparison and determination process can be increased. It is also possible to plan.
第1図〜第10図は本発明の一実施例を示すもので、第1
図は平面図、第2図は第1図のII−II線に沿う矢視図、
第3図は吸引軸および吸引管系の断面図、第4図は計数
制御回路および判別制御回路のブロック図、第5図は計
数制御動作の流れ図、第6図は計数制御回路のCPU動作
を示す図、第7図及び第8図は判別制御回路のCPU動作
を示す図、第9図及び第10図は計数制御動作および判別
制御動作の流れ図である。 1……ホルダ 5……吸引軸 40……投光器(ランプ) 42……エリアセンサ 64……ROM(基準データ記憶手段) 65……RAM(ラインデータ記憶手段) 66……CPU(比較判別手段) 71……駆動回路(ラインデータ出力手段)。1 to 10 show an embodiment of the present invention.
FIG. 2 is a plan view, FIG. 2 is a view taken along the line II-II in FIG.
FIG. 3 is a sectional view of the suction shaft and the suction pipe system, FIG. 4 is a block diagram of a counting control circuit and a discrimination control circuit, FIG. 5 is a flow chart of counting control operation, and FIG. 6 is a CPU operation of the counting control circuit. FIG. 7, FIG. 7 and FIG. 8 are diagrams showing the CPU operation of the discrimination control circuit, and FIGS. 9 and 10 are flow charts of the counting control operation and the discrimination control operation. 1 ... Holder 5 ... Suction shaft 40 ... Emitter (lamp) 42 ... Area sensor 64 ... ROM (reference data storage means) 65 ... RAM (line data storage means) 66 ... CPU (comparison / discrimination means) 71 …… Drive circuit (line data output means).
Claims (1)
せて一枚ずつめくり取りながら計数する紙幣計数機にお
いて、 ホルダに装填され、且つ吸引軸により吸引直前の紙幣の
表面に光線を照射するランプと、 ライン状のイメージセンサがそのラインと直交する方向
に多数配置され、紙幣の表面で反射した光線を平面的に
検出して紙幣表面を示すデータを出力する2次元状のエ
リアセンサと、 該エリアセンサにて検出した紙幣表面を示すデータの中
から選択指定すべき複数の異なるラインの位置を基準位
置データとして記憶するとともに、該基準位置データで
選択指定されたラインのラインデータと比較される基準
ラインデータを記憶する基準データ記憶手段と、 該基準データ記憶手段に記憶されている基準位置データ
に基づいて、前記エリアセンサにて検出した紙幣表面を
示すデータの中から複数の異なるラインを指定し、指定
したラインに沿う紙幣表面を示すデータをラインデータ
として出力させるラインデータ出力手段と、 該ラインデータ出力手段から出力されたラインデータを
一時記憶するラインデータ記憶手段と、 該ラインデータ記憶手段に一時記憶されているラインデ
ータを、前記基準データ記憶手段に記憶されている基準
ラインデータと、前記基準位置データで示されるライン
の位置に対応して比較し、その比較結果に基づいて紙幣
の判別を行う比較判別手段と、から構成されていること
を特徴とする紙幣計数機における判別装置。1. A bill counting machine that counts bills loaded in a holder by sucking them onto a suction shaft and flipping them one by one, and irradiates a light beam onto the surface of the bill just before sucking by the suction shaft. And a two-dimensional area sensor in which a large number of line-shaped image sensors are arranged in a direction orthogonal to the line and which planarly detects the light rays reflected on the surface of the bill and outputs data indicating the bill surface. , Storing the positions of a plurality of different lines to be selected and designated from the data indicating the surface of the bill detected by the area sensor as reference position data, and comparing with the line data of the line selected and designated by the reference position data Based on the reference position data stored in the reference data storage means and the reference position data stored in the reference data storage means. Line data output means for designating a plurality of different lines from the data indicating the bill surface detected by the sensor and outputting data indicating the bill surface along the designated lines as line data, and output from the line data output means The line data storage means for temporarily storing the generated line data, and the line data temporarily stored in the line data storage means by the reference line data stored in the reference data storage means and the reference position data. A discriminating device in a bill counting machine, comprising: a comparing and discriminating means for discriminating a bill based on a result of the comparison according to the position of a line to be formed.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62077662A JPH0762875B2 (en) | 1987-03-31 | 1987-03-31 | Discriminating device in bill counting machine |
| GB8807562A GB2204166B (en) | 1987-03-31 | 1988-03-30 | Discriminating apparatus for bill counting machine |
| KR1019880003621A KR910008436B1 (en) | 1987-03-31 | 1988-03-31 | Discrimination Device for Banknote Counting Machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62077662A JPH0762875B2 (en) | 1987-03-31 | 1987-03-31 | Discriminating device in bill counting machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63244294A JPS63244294A (en) | 1988-10-11 |
| JPH0762875B2 true JPH0762875B2 (en) | 1995-07-05 |
Family
ID=13640084
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62077662A Expired - Lifetime JPH0762875B2 (en) | 1987-03-31 | 1987-03-31 | Discriminating device in bill counting machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0762875B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5481898A (en) * | 1977-12-13 | 1979-06-29 | Laurel Bank Machine Co | Paper money discriminator |
| JPS6061882A (en) * | 1983-09-14 | 1985-04-09 | グローリー工業株式会社 | Sheet paper identifier |
| JPS60104979U (en) * | 1983-12-22 | 1985-07-17 | ロ−レルバンクマシン株式会社 | banknote counting machine |
-
1987
- 1987-03-31 JP JP62077662A patent/JPH0762875B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63244294A (en) | 1988-10-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR910008436B1 (en) | Discrimination Device for Banknote Counting Machine | |
| GB2152212A (en) | Bill counting machine | |
| JPH05755B2 (en) | ||
| JPH0473198B2 (en) | ||
| JPH0762875B2 (en) | Discriminating device in bill counting machine | |
| JPH079675B2 (en) | Double feed detecting device in bill counting machine | |
| JPH0214757B2 (en) | ||
| JPH063622B2 (en) | A marking instruction device for a paper sheet counting machine having a different ticket discrimination function | |
| JP2522555B2 (en) | Stamp control device for bill counting machine | |
| JPS63271689A (en) | Different note discriminator in banknote counter | |
| JPS63271692A (en) | Discriminator in banknote counter | |
| JPH05756B2 (en) | ||
| JPH0528437B2 (en) | ||
| JPH0558983B2 (en) | ||
| JPH029420Y2 (en) | ||
| JP2522559B2 (en) | Stamp control device for paper counter | |
| JPH0532797B2 (en) | ||
| JPH0348685Y2 (en) | ||
| JP2529415B2 (en) | Bill counting machine discrimination device | |
| JP2636613B2 (en) | Paper sheet counting machine | |
| JPH0525013Y2 (en) | ||
| JP2675942B2 (en) | Paper sheet counting machine | |
| JPH03179588A (en) | Note counter | |
| JPH0525014Y2 (en) | ||
| JPH0248935Y2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070705 Year of fee payment: 12 |