JPH0214757B2 - - Google Patents

Info

Publication number
JPH0214757B2
JPH0214757B2 JP62077663A JP7766387A JPH0214757B2 JP H0214757 B2 JPH0214757 B2 JP H0214757B2 JP 62077663 A JP62077663 A JP 62077663A JP 7766387 A JP7766387 A JP 7766387A JP H0214757 B2 JPH0214757 B2 JP H0214757B2
Authority
JP
Japan
Prior art keywords
banknote
data
denomination
banknotes
discrimination
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
JP62077663A
Other languages
Japanese (ja)
Other versions
JPS63244295A (en
Inventor
Hideyuki Hibari
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.)
Laurel Bank Machine Co Ltd
Original Assignee
Laurel Bank Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Laurel Bank Machine Co Ltd filed Critical Laurel Bank Machine Co Ltd
Priority to JP62077663A priority Critical patent/JPS63244295A/en
Priority to GB8807562A priority patent/GB2204166B/en
Priority to KR1019880003621A priority patent/KR910008436B1/en
Publication of JPS63244295A publication Critical patent/JPS63244295A/en
Publication of JPH0214757B2 publication Critical patent/JPH0214757B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は紙幣計数機に関わり、特に、紙幣表面
の光学パターンを読取つて異種券混入の有無、二
重送り等を検出しつつ計数を行なうようにした紙
幣計数機に関するものである。
[Detailed Description of the Invention] "Industrial Application Field" The present invention relates to banknote counting machines, and in particular, counts while reading the optical pattern on the surface of banknotes and detecting the presence or absence of mixture of different types of banknotes, double feeding, etc. The present invention relates to a banknote counting machine having the above-mentioned structure.

「従来の技術」 一般に紙幣計数機は、公転しながら自転する吸
引軸内の真空圧により、紙幣を一枚ずつ吸着して
めくり取りながら計数を行なうとともに、計数中
の紙幣に異なる金種の紙幣が混入しているか否か
をチエツクする機能を有している。
``Prior Art'' In general, bill counting machines use vacuum pressure in a suction shaft that rotates on its own axis to attract bills one by one and count the bills while flipping them over. It has a function to check whether or not it is contaminated.

従来、このような機能を有する紙幣計数機とし
て、本出願人は実開昭60−104979号公報に示す如
き「紙幣計数機における判別装置」を既に提供し
ている。なお、一般的な紙葉類判別装置として
は、特開昭60−61882号公報に示す如き「紙葉類
判別装置」が知られている。
Conventionally, as a banknote counting machine having such a function, the present applicant has already provided a "discrimination device for a banknote counting machine" as shown in Japanese Utility Model Application Publication No. 60-104979. As a general paper sheet discriminating device, a "paper sheet discriminating device" as disclosed in Japanese Patent Laid-Open No. 60-61882 is known.

前者に示す紙幣計数機における判別装置は、吸
引軸に吸着される部分の近傍で紙幣表面のパター
ンをライン状に読取るようにしたものであつて、
読取つたデータを、予め記憶させておいた基準デ
ータと比較することにより、金種及び表裏の判別
を行なうものである。
The discrimination device in the banknote counting machine shown in the former type is configured to read the pattern on the banknote surface in a line shape near the part that is attracted to the suction shaft.
By comparing the read data with reference data stored in advance, the denomination and the front and back sides are determined.

また、後者に示す紙葉類判別装置は、紙幣を間
に挟んで一枚ずつ搬送する一対のベルトの途中
に、前記紙幣の表面パターンをライン状に検出す
る磁気ヘツド及びフオトセンサを設けたものであ
つて、前記紙幣計数機における判別装置と同様
に、これら磁気ヘツド及びフオトセンサの検出デ
ータを、予め記憶させておいて基準データと比較
することにより、金種及び表裏の判別を行なうも
のである。
The paper sheet discriminating device shown in the latter type is equipped with a magnetic head and a photo sensor that detects the surface pattern of the banknotes in a line shape in the middle of a pair of belts that transport the banknotes one by one with the banknotes sandwiched between them. Similarly to the discrimination device in the banknote counting machine, the detection data of the magnetic head and photo sensor is stored in advance and compared with reference data to discriminate the denomination and the front and back sides.

「発明が解決しようとする課題」 ところで、このような判別装置においては、紙
幣表面のパターンを、固定された1本のラインに
よつて読み取るようにしており、かつ、このライ
ンの位置が、金種及び表裏判別を行うべき紙幣の
態様に合わせて固定的に設定されているので、例
えば、判別すべき紙幣を例えば日本円紙幣から米
国のドル紙幣に変更した場合に、ラインを得るた
めのセンサ類の位置変更が必要であり、これによ
つて、装置の設計変更が必要となる場合があつ
た。
``Problems to be Solved by the Invention'' By the way, in such a discriminating device, the pattern on the surface of the banknote is read by a single fixed line, and the position of this line is Since the settings are fixed according to the type and aspect of the banknote to be discriminated, for example, when the banknote to be discriminated is changed from a Japanese yen banknote to a US dollar banknote, the sensor for obtaining the line is used. This sometimes required changes in the design of the equipment.

本発明は上記事情に鑑みてなされたものであつ
て、複数のラインデータを選択して取り出すこと
によつて、種々の態様を有する紙幣(例えば、自
国あるいは他国紙幣)判別を高い精度で簡易に行
うことが可能であり、また、時間のかかる吸引軸
起動時を有効に利用することができ、紙幣判別に
要する時間を全体として短縮化することができる
紙幣計数機における異種券判別装置を得ることを
目的とする。
The present invention has been made in view of the above circumstances, and by selecting and extracting a plurality of line data, it is possible to easily identify banknotes having various aspects (for example, banknotes of one's own country or other countries) with high accuracy. To obtain a discriminating device for different types of bills in a bill counting machine, which can effectively utilize the time-consuming suction shaft activation time and shorten the time required for bill discrimination as a whole. With the goal.

「課題を解決するための手段」 このような目的を達成するために本発明では、
ホルダに装填された紙幣を吸引軸に吸着させて一
枚ずつめくり取りながら計数する紙幣計数機にお
ける異種券判別装置において、ホルダに装填さ
れ、且つ吸引軸により吸着直前の紙幣の表面に光
線を照射するランプと、該紙幣の表面で反射した
光線を平面的に検出するエリアセンサと、該エリ
アセンサで検出した紙幣表面を示すデータの中か
ら、複数の異なるラインを指定しこれをラインデ
ータとして取り出す駆動回路と、前記ラインデー
タと比較されるべき基準となる紙幣の基準データ
が複数記憶されたROMと、前記駆動回路によつ
て選択的に取り出されたラインデータをA/Dコ
ンバータを介して取り込み、該ラインデータを対
応するROMの基準データと比較することによ
り、紙幣を判別するCPUとを設け、このCPUに、
前記吸引軸が吸着した一枚目の紙幣について、L
種の金種、正逆表裏4パターンの基準データを選
択して前記ラインデータと比較する全パターン判
別機能と、この全パターン判別機能により確定さ
れた一枚目の紙幣の金種を記憶する金種記憶機能
と、前記吸引軸が吸着した2枚目以降の紙幣につ
いて、前記金種記憶手段によつて記憶された1枚
目紙幣の金種に対応する正逆表裏4パターンの基
準データを選択して前記ラインデータと比較する
特定パターン判別機能と設けるようにしている。
"Means for Solving the Problem" In order to achieve such an objective, the present invention has the following features:
In a dissimilar bill discriminating device in a bill counting machine that counts bills loaded in a holder by attracting them to a suction shaft and flipping them one by one, a light beam is irradiated onto the surface of the bills loaded in the holder and just before being sucked by the suction shaft. A lamp that detects the banknote, an area sensor that detects light rays reflected on the surface of the banknote in a two-dimensional manner, and a plurality of different lines from among the data indicating the banknote surface detected by the area sensor, and these are extracted as line data. A drive circuit, a ROM in which a plurality of banknote reference data serving as a reference to be compared with the line data are stored, and line data selectively extracted by the drive circuit are taken in via an A/D converter. , and a CPU that discriminates banknotes by comparing the line data with the reference data of the corresponding ROM, and this CPU,
Regarding the first bill that the suction shaft attracted, L
An all-pattern discrimination function that selects the standard data of four patterns of front and back, front and reverse, and compares it with the line data, and a gold-denominated banknote that stores the denomination of the first bill determined by this all-pattern discrimination function. For the second and subsequent banknotes that are attracted by the suction shaft, the type memory function selects standard data of four patterns of forward and reverse sides corresponding to the denomination of the first banknote stored by the denomination storage means. A specific pattern discrimination function is provided for comparing the line data with the line data.

「作用」 この発明によれば、エリアセンサで検出した紙
幣表面を示すデータの中から複数の異なるライン
を指定し、これをラインデータとして選択的に取
り出すことで、紙幣の態様が異なつた場合(米国
紙幣、日本国紙幣など)でも、特別に、紙幣の表
面を検出するためのセンサの位置を変更すること
なく、その検出領域を、紙幣の態様(米国紙幣、
日本国紙幣など)に応じて適宜設定することがで
きる。
"Operation" According to the present invention, by specifying a plurality of different lines from among the data indicating the banknote surface detected by the area sensor and selectively extracting them as line data, when the aspect of the banknote differs ( Even when detecting banknotes (US banknotes, Japanese banknotes, etc.), the detection area can be adjusted without changing the position of the sensor for detecting the surface of the banknote (US banknotes, Japanese banknotes, etc.).
(Japanese banknotes, etc.) can be set as appropriate.

また、1枚目の紙幣についてL種の金種、正逆
表裏4パターンの基準データを選択して、前記ラ
インデータと比較するようにしたので、吸引軸起
動に多くの時間を要し、結果として計数に時間の
掛かる1枚目の紙幣処理時を有効に利用すること
ができる。
In addition, since the standard data of the L denomination and 4 patterns of forward and reverse sides were selected for the first banknote and compared with the line data, it took a lot of time to start the suction shaft, resulting in As a result, it is possible to effectively utilize the time when processing the first banknote, which takes time to count.

また、2枚目以降の紙幣について、1枚目紙幣
の金種に対応する正逆表裏4パターン基準データ
を選択して、前記ラインデータと比較するように
したので、1枚目の紙幣判別により金種の確定さ
れた2枚目以降の紙幣判別を高速で行うことがで
きる。
In addition, for the second and subsequent banknotes, standard data for four patterns of forward and reverse front and back sides corresponding to the denomination of the first banknote were selected and compared with the line data, so that The second and subsequent banknotes whose denominations have been determined can be discriminated at high speed.

「実施例」 以下、本発明を第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を一枚ずつめくり取りながら計数を行なうとと
もに、後述する投光器から紙幣Sの表面に照射し
た光線の反射光を受光器で読取つて紙幣の判別を
行なうようにした基本構成となつている。
First, the structure of the banknote counting mechanism will be explained according to FIGS. 1 to 3.
By placing banknotes S on the holder 1 and horizontally rotating the holder 1 around the shaft 2, the banknotes S are moved to the counting position shown by the solid line in FIG. 1 or the standby position shown by the chain line in FIG. While rotating the rotary cylinder 3 in the counterclockwise direction in FIG. The banknotes S on the holder 1 are counted while being turned over one by one by applying vacuum pressure to the banknotes, and the banknotes are identified by reading the reflected light of the light rays irradiated onto the surface of the banknotes S from a projector, which will be described later, with a light receiver. The basic configuration is as follows.

前記ホルダー1には、紙幣Sを裏側(吸引軸5
の反対側)から支える台板1aが設けられ、この
台板1aの表面1bは、反射光レベルが低くなる
よう黒色系で形成されている。
The holder 1 has a banknote S on the back side (suction shaft 5
A base plate 1a is provided to support the base plate 1a from the opposite side), and the surface 1b of this base plate 1a is formed in a blackish color so as to reduce the level of reflected light.

前記回転筒3および吸引軸5の軸4,6は、第
3図に示すように中空状に形成されるとともに、
吸入管路7を介して真空ポンプ8の吸入ポート9
に接続されており、この真空ポンプ8の真空圧
が、前記吸引軸5の外周の一部に設けた開口部1
0を介して紙幣Sに作用することにより、吸引軸
5に紙幣Sが吸着されるようになつている。ま
た、前記吸入管路7の途中には圧力センサ11が
設けられており、この圧力センサ11によつて、
吸入管路7内の真空圧が紙幣を吸着し得る程度に
上昇したか否かが検出されるようになつている。
The shafts 4 and 6 of the rotary cylinder 3 and the suction shaft 5 are formed in a hollow shape as shown in FIG.
Suction port 9 of vacuum pump 8 via suction line 7
The vacuum pressure of this vacuum pump 8 is connected to the opening 1 provided in a part of the outer periphery of the suction shaft 5.
By acting on the banknotes S through the suction shaft 5, the banknotes S are attracted to the suction shaft 5. Further, a pressure sensor 11 is provided in the middle of the suction pipe line 7, and this pressure sensor 11 allows
It is detected whether the vacuum pressure within the suction pipe line 7 has risen to a level that can attract banknotes.

一方、前記真空ポンプ8の排気ポート12に
は、排気管路13が接続されており、この排気管
路13の先端には、紙幣Sの側面に排気を吹付け
て紙幣Sを相互の分離を容易にするための排気ノ
ズル14が設けられ、一方、排気管路13の途中
には、紙幣の計数が行なわれていないときに排気
を放出口15に切換えて排気ノズル14からの騒
音の発生を防止するソレノイドバルブ16が設け
られている。
On the other hand, an exhaust pipe line 13 is connected to the exhaust port 12 of the vacuum pump 8, and the tip of this exhaust pipe line 13 sprays exhaust gas onto the sides of the banknotes S to separate the banknotes S from each other. On the other hand, an exhaust nozzle 14 is provided in the middle of the exhaust pipe line 13 to switch the exhaust to a discharge port 15 to prevent noise from the exhaust nozzle 14 when banknotes are not being counted. A solenoid valve 16 is provided to prevent this.

また、前記吸引軸5のそれぞれには、第1図〜
第3図に示すように、一対の位置規制片5aが固
定されている。この位置規制片5aは、吸引軸5
の側面から突出し、かつ該吸引軸5の開口部10
を間に挾むように設けられたものであつて、開口
部10から外気が吸引されて吸引軸5に紙幣が吸
着された際に、紙幣を側方から支持して、該紙幣
の倒れあるいは折り曲がりを防止するようになつ
ている。そして、このように前記位置規制片5a
によつて、吸引軸5が吸着分離した紙幣の起立状
態を保つことにより、二重送りされているか否か
を検知する箇所(第1図において紙幣が吸着分離
された位置Sa)に、該紙幣の位置決めが行なわ
れるようになつている。
In addition, each of the suction shafts 5 has a structure shown in FIGS.
As shown in FIG. 3, a pair of position regulating pieces 5a are fixed. This position regulating piece 5a is connected to the suction shaft 5
The opening 10 of the suction shaft 5 protrudes from the side surface of the suction shaft 5.
When the outside air is sucked through the opening 10 and the bill is attracted to the suction shaft 5, it supports the bill from the side and prevents the bill from falling or folding. It is now possible to prevent In this way, the position regulating piece 5a
, the suction shaft 5 maintains the suction-separated banknote in an upright state, and the banknote is placed in the position where it is detected whether or not double feeding is being carried out (the position Sa where the banknote is suction-separated in FIG. 1). positioning is now performed.

また、前記回転筒3の外周には、磁性体からな
る作動片17が複数貼付されており、これらの作
動片17が磁気センサ18を作動させるか否かに
より各吸引軸5が待機位置(開口部10が紙幣に
正対しかつ吸引軸5内が真空ポンプ8と連通され
る位置)にあるか、あるいは開始位置(開口部1
0が紙幣に正対する直前の位置にあつて、かつ吸
引軸5内が真空ポンプ8から遮断される位置)に
あるかが検出されるようになつている。
Further, a plurality of actuation pieces 17 made of magnetic material are attached to the outer circumference of the rotary cylinder 3, and each suction shaft 5 is moved to a standby position (opening) depending on whether or not these actuation pieces 17 actuate the magnetic sensor 18. 10 is in the starting position (opening 1
0 is in the position just before directly facing the bill, and the inside of the suction shaft 5 is in a position where it is cut off from the vacuum pump 8.

なお、第3図において、符号1は回転筒3をベ
ルト20を介して駆動する計数モータ、符号21
は真空ポンプ8をベルト22を介して駆動するポ
ンプモータ、符号23はホルダー1を旋回させる
ホルダーモータ、符号24Aおよび24Bは、ホ
ルダー1が閉位置(吸引軸5に接近した位置)に
あるか開位置(吸引軸5から離間した位置)にあ
るかを検出するホルダー位置検出スイツチであ
る。
In addition, in FIG. 3, reference numeral 1 is a counting motor that drives the rotary cylinder 3 via a belt 20, and reference numeral 21 is
23 is a holder motor that rotates the holder 1; 24A and 24B indicate whether the holder 1 is in the closed position (close to the suction shaft 5) or in the open position; This is a holder position detection switch that detects whether the holder is in the position (a position away from the suction shaft 5).

更に、回転筒3の近傍には、セパレータ25が
設けられており、このセパレータ25は、軸26
に水平旋回自在に支持されるとともに、ばね27
によつて第1図反時計方向に付勢され、更に、バ
ツチソレノイド28に操作されて第1図時計方向
に旋回させるようになつている。そして、このセ
パレータ25は、後述するように異金種紙幣を検
出したときにすでにめくり取られた紙幣とまだめ
くり取られていない紙幣との間に挿入されて両者
を分離させる機能を有している。
Further, a separator 25 is provided near the rotary cylinder 3, and this separator 25 is connected to the shaft 26.
The spring 27
is biased in the counterclockwise direction in FIG. 1, and is further operated by the batch solenoid 28 to rotate it in the clockwise direction in FIG. As will be described later, the separator 25 has a function of being inserted between a banknote that has already been turned over and a banknote that has not yet been turned over and separating the two when a banknote of a different denomination is detected. There is.

次に、紙幣を束ねた帯封に確認印を押す押印機
構について第1図を参照して説明する。
Next, a stamping mechanism for stamping a confirmation stamp on a bundle of banknotes will be explained with reference to FIG. 1.

第1図において符号30で示されるものは、ホ
ルダ1に設けられた印鑑保持部材であつて、この
印鑑保持部材30によつて印鑑31が矢印イ−ロ
方向に移動自在に支持され、かつ紙幣Sに対して
近接離間するように移動自在に支持されている。
また、前記ホルダ1の基端部には、ダイヤル32
が設けられており、このダイヤル32を回転させ
ることによつて、前記印鑑31が矢印イ−イ方向
に移動して、印鑑31の捺印部31aが帯封Bに
位置合わせされるようになつている。
1 is a seal holding member provided in the holder 1, and the seal holding member 30 supports a seal 31 so as to be movable in the direction of the arrow E-L, and the seal holding member 30 supports a seal 31 movably in the direction of the arrow E-L. It is movably supported so as to be close to and away from S.
Further, a dial 32 is provided at the base end of the holder 1.
is provided, and by rotating this dial 32, the stamp 31 moves in the direction of the arrow E, so that the stamp part 31a of the stamp 31 is aligned with the band B. .

また、ホルダ1を支持する基台上には、軸33
と中心として水平面内で回動する打撃アーム34
と、該打撃アーム34を回動させるソレノイド3
5とが設けられており、この打撃アーム34をソ
レノイド35の動作により回動させることによつ
て、該打撃アーム34の先端部が印鑑の後端部3
1bを後方から押圧して、該印鑑31の捺印部3
1aを帯封上に近接させ、これによつて帯封上に
捺印が行なわれるようにしている。
Further, on the base supporting the holder 1, there is a shaft 33.
a striking arm 34 that pivots in a horizontal plane about
and a solenoid 3 that rotates the striking arm 34.
5 is provided, and by rotating this striking arm 34 by the operation of a solenoid 35, the tip of the striking arm 34 is brought into contact with the rear end 3 of the stamp.
1b from the rear to seal the stamping part 3 of the seal 31.
1a is brought close to the band seal, thereby making it possible to stamp the band seal.

次に、前記吸引軸5によつてめくり取られた紙
幣の二重送り検出機構について第1図を参照して
説明する。
Next, a mechanism for detecting double feeding of banknotes turned over by the suction shaft 5 will be described with reference to FIG. 1.

第1図に符号37及び符号38でそれぞれ示す
ものは二重送り検出用ランプ及び受光素子(これ
ら素子によつて二重送り検知センサが構成され
る)であり、符号39で示すものは受光素子に光
を集光する集光レンズである。
In FIG. 1, reference numerals 37 and 38 respectively indicate a double feed detection lamp and a light-receiving element (these elements constitute a double-feed detection sensor), and reference numeral 39 indicates a light-receiving element. This is a condensing lens that condenses light.

前記二重送り検出用ランプ37及び受光素子3
8は共に回転筒3側に向けて設けられたものであ
つて、前記二重送り検出用ランプ37から発光さ
れた光線は、めくり取られた紙幣Saに対して交
差する方向から照射され、かつ該紙幣Saのめく
り取り部分における略中央位置に照射されるよう
になつている。
The double feed detection lamp 37 and the light receiving element 3
8 are both provided facing the rotary tube 3 side, and the light beam emitted from the double feed detection lamp 37 is irradiated from a direction crossing the turned-over banknote Sa, and The beam is irradiated to approximately the center of the turned-up portion of the banknote Sa.

そして、このように光の照射が行なわれた紙幣
Saは、この紙幣Saを透過した光の量つまり透過
光量が受光素子38により検出され、更に、この
受光素子38が検出した透過光量に基づき二重送
りの判断がなさるようになつている。すなわち、
この透過光量が所定値以上であれば正常な送り
(一枚送り)と判断され、透過光量が所定値以下
であれば二重送りと判断されるようになつてい
る。
And the banknotes that were irradiated with light in this way
The amount of light transmitted through the banknote Sa, that is, the amount of transmitted light, is detected by a light receiving element 38, and further, based on the amount of transmitted light detected by this light receiving element 38, a judgment of double feeding is made. That is,
If the amount of transmitted light is greater than a predetermined value, it is determined that normal feeding (single sheet feeding) is occurring, and if the amount of transmitted light is less than a predetermined value, it is determined that double feeding is occurring.

次に、紙幣の金種判別および表裏判別を行う判
別機能について第1図及び第2図を参照して説明
する。
Next, the discrimination function for discriminating the denomination and front and back of banknotes will be explained with reference to FIGS. 1 and 2.

図において符号40で示すものは、集積された
最前面の紙幣Sbに光を照射する投光器、符号4
1で示すものは、この投光器40から紙幣Sbに
照射された光の反射光を受光する受光器(検出素
子)であつて、投光器40から発せられた光線
は、紙幣Sbの二点鎖線で示すエリアEを含む領
域に照射されるようになつている。
In the figure, the reference numeral 40 indicates a light projector that irradiates light onto the stacked frontmost banknotes Sb.
1 is a light receiver (detection element) that receives the reflected light of the light irradiated onto the banknote Sb from the projector 40, and the light beam emitted from the projector 40 is indicated by a chain double-dashed line on the banknote Sb. The area including area E is irradiated.

また、前記受光器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 also includes an area sensor 42 that generates an electrical signal according to the pattern on the surface of the banknote.
and a condensing lens 43 that condenses reflected light from the banknote Sb onto the area sensor 42.
The area sensor 42 is a two-dimensional sensor in which a large number of line-shaped image sensors are arranged in a direction perpendicular to the line, and is operated by a trigger signal issued from a discrimination control circuit 46 to be described later. The amount of reflected light at a specific position (line or coordinate) in area E is converted into an electrical signal, and a waveform signal corresponding to the pattern on the banknote surface is output. In other words, the area sensor 42 is
Its horizontal direction corresponds to the X coordinate of area E, and
Its vertical direction corresponds to the Y coordinate of area E,
The vertical and horizontal coordinates of such an area sensor and the area E
Depending on the correspondence with the XY coordinates, for example, the surface pattern (line data) in area E is Y=1,
You can read by specifying the line as Y=3,
Furthermore, the read area data is stored in the ROM64.
(described later), it is possible to determine the denomination and front and back of the banknote Sb (details will be described later).

次いで、第4図により、前記計数機構および判
別機構をそれぞれ操作する計数制御回路45およ
び判別制御回路46を説明する。
Next, with reference to FIG. 4, a counting control circuit 45 and a discrimination control circuit 46 that operate the counting mechanism and 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 has a ROM 47 that stores a counting control program (see FIGS. 5 and 6) to be described later, and writes and reads various data according to the program stored in the ROM 47. It is composed of a RAM 48 that performs this, and a CPU 49 that controls these. Furthermore,
The CPU 49 includes, via an input side I/O port 50 and a receiver 51, a start switch 52 for instructing the start of counting operation, a detection mode switch 53 for discriminating the denomination and double feed, and a detection mode switch 53 for discriminating front and back sides. The front/back mode switch 54 is connected, and other devices such as holder position detection sensors 24A and 24B, rotary cylinder position sensor 18, pressure sensor 11, clear switch, etc., which detect whether the holder 1 is in the closed position or the open position, are connected. Operation switches 55 are connected to each.

なお、スタートスイツチ52は、この一実施例
ではホルダー1に設けた押ボタン60(第1図参
照)から構成されているが、例えば、ホルダー1
に紙幣Sが装填されたことを検出するセンサ(図
示略)をスタートスイツチ52として使用しても
よい。
In this embodiment, the start switch 52 is composed of a push button 60 (see FIG. 1) provided on the holder 1.
A sensor (not shown) that detects that banknotes S are loaded may be used as the start switch 52.

また、前記CPU49には、出力側I/Oポー
ト61およびドライバ62を介して、ソレノイド
(捺印ソレノイド)35、二重送り検出用ランプ
37あるいは投光器40とからなるランプ、ホル
ダーモータ23、計数モータ19、ポンプモータ
21、ソレノイドバルブ16、バツチソレノイド
28、および紙幣計数機の操作パネル(図示略)
などに設けられて紙幣の枚数、異常の有無等を表
示する表示部63がそれぞれ接続されている。
Further, the CPU 49 is connected to a solenoid (printing solenoid) 35, a lamp consisting of a double feed detection lamp 37 or a projector 40, a holder motor 23, and a counting motor 19 via an output side I/O port 61 and a driver 62. , pump motor 21, solenoid valve 16, batch solenoid 28, and bill counter operation panel (not shown)
A display section 63 is connected to the display section 63 for displaying the number of banknotes, presence or absence of an abnormality, etc.

一方、前記判別制御回路46は、判別制御プロ
グラム(第7図及び第8図参照)等を記憶してい
るROM64と、このROM64に記憶されてい
るプログラムに従つて各種データの書き込みと読
み出しとを行うRAM65と、これらを制御する
CPU66とから構成されている。更に、前記
CPU66には、出力用I/Oボート70及び駆
動回路71を介してエリアセンサ34が接続さ
れ、このエリアセンサ34の出力が増幅器72、
A/Dコンパータ73、入力側I/Oボート74
を介して前記CPU66に入力されるようになつ
ている。
On the other hand, the discrimination control circuit 46 has a ROM 64 that stores discrimination control programs (see FIGS. 7 and 8), and writes and reads various data according to the programs stored in the ROM 64. RAM65 to perform and control these
It is composed of a CPU 66. Furthermore, the above
An area sensor 34 is connected to the CPU 66 via an output I/O boat 70 and a drive circuit 71, and the output of this area sensor 34 is connected to an amplifier 72,
A/D converter 73, input side I/O boat 74
It is designed to be input to the CPU 66 via.

なお、前記駆動回路71からエリアセンサ34
に供給される駆動信号は、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)等を
RAM65に記憶されている基準データと比較す
るようにすれば良い(なお、駆動用信号のX軸及
びY軸は第2図に示すエリアEのX軸及びY軸に
それぞれ対応している)。
Note that from the drive circuit 71 to the area sensor 34
The drive signal supplied to the banknote is composed of an X-axis drive signal and a Y-axis drive signal, and by outputting these X-axis drive signals and Y-axis drive signals, the surface pattern at a specific position in area E of the banknote is determined. (area data)
is now read out. When extracting surface pattern data in area E, first output a Y-axis drive signal to determine the Y coordinate of area E (see Figure 2).
The X coordinate of area E may be determined by outputting an X-axis drive signal. For example, set Y to 1 and read the data in area E as line data (X, 1), set Y to 3 and read the data in area E as line data (X, 3), and read these data. The output multiple line data (X, 1), (X, 3), etc.
The data may be compared with reference data stored in the RAM 65 (the X-axis and Y-axis of the drive signal correspond to the X-axis and Y-axis of area E shown in FIG. 2, respectively).

一方、前記A/Dコンバータ73には、エリア
センサ34と同様に、増幅器78を介して二重送
り検知センサ37・38が接続されている。ま
た、これらの増幅器72・78とA/Dコンバー
タ73との間には、出力側I/Oポート70から
の切換信号によつて動作するアナログスイツチ7
9・80がそれぞれ設けられており、これらアナ
ログスイツチ79・80によつて、エリアセンサ
34あるいは二重送り検知センサ37・38のい
ずれか一方の出力信号がA/Dコンバータ73に
送られるようになつている。
On the other hand, similar to the area sensor 34, double feed detection sensors 37 and 38 are connected to the A/D converter 73 via an amplifier 78. Further, an analog switch 7 operated by a switching signal from the output side I/O port 70 is connected between these amplifiers 72 and 78 and the A/D converter 73.
These analog switches 79 and 80 send the output signal of either the area sensor 34 or the double feed detection sensors 37 and 38 to the A/D converter 73. It's summery.

また、前記計数制御回路45のCPU49と判
別制御回路46のCPU66とは、データ転送用
I/Oポート81,82を介して相互に接続され
ており、相互にデータを変換して連動動作し得る
ように構成されている。
Further, the CPU 49 of the counting control circuit 45 and the CPU 66 of the discrimination control circuit 46 are connected to each other via data transfer I/O ports 81 and 82, and can mutually convert data and operate in conjunction. It is configured as follows.

以下、第5図及び第9図に従つて、前記計数制
御回路45のROM47に記憶されたプログラム
の内容を紙幣計数機の動作とともに説明する。
Hereinafter, the contents of the program stored in the ROM 47 of the counting control circuit 45 will be explained along with the operation of the banknote counting machine with reference to FIGS. 5 and 9.

なお、第5図におけるSNは以下の説明におけ
るステツプNを示し、第9図おけるTnは以下の
説明におけるタイミングTnを示すものとする。
Note that SN in FIG. 5 indicates step N in the following explanation, and Tn in FIG. 9 indicates timing Tn in the following explanation.

(a)◇計数制御動作1(第5図及び第9図参照) <ステツプ1> 電源投入 <ステツプ2> ホルダ位置検出センサ24A,24Bの出力信
号により、ホルダ1が開位置にあるか否かを判断
し、NOの場合にはホルダーモータ23を駆動し
てホルダー1を開位置に設定し(ステツプ3)、
YESの場合には次のステツプ4へ進む。
(a) ◇ Counting control operation 1 (see Figures 5 and 9) <Step 1> Turn on the power <Step 2> Based on the output signals of the holder position detection sensors 24A and 24B, check whether the holder 1 is in the open position or not. If the answer is NO, drive the holder motor 23 to set the holder 1 to the open position (step 3).
If YES, proceed to the next step 4.

<ステツプ4> 回転筒位置センサ18からの出力の有無によ
り、吸引軸5が待機位置(すなわち、吸引軸5が
紙幣に正対する位置)にあるか否かを判断し、
NOの場合には、計数モータ19を低速駆動して
吸引軸5を待機位置に設定し(ステツプ5)、
YESの場合には次のステツプ6へ進む。
<Step 4> Based on the presence or absence of an output from the rotary cylinder position sensor 18, it is determined whether the suction shaft 5 is in the standby position (that is, the position where the suction shaft 5 directly faces the banknotes),
If NO, the counting motor 19 is driven at low speed and the suction shaft 5 is set to the standby position (step 5).
If YES, proceed to the next step 6.

<ステツプ6> モードの設定操作がなされているか否かを判断
し、YESの場合には、各種のモード設定動作、
例えば捺印モードの操作設定により捺印モードを
記憶(ステツプ50)、また、NOの場合には次の
ステツプ7へ進む。
<Step 6> Determine whether or not mode setting operations have been performed. If YES, various mode setting operations,
For example, the stamping mode is memorized by the operation setting of the stamping mode (step 50), and in the case of NO, the process proceeds to the next step 7.

<ステツプ7> スタートスイツチ52からスタート信号(ST)
が出力されたか否かを判断し、NOの場合には前
記ステツプ6に戻り、YESの場合には、次のス
テツプ8に進む(タイミングT1)。
<Step 7> Start signal (ST) from start switch 52
It is determined whether or not the output has been output, and if NO, the process returns to step 6, and if YES, the process proceeds to the next step 8 (timing T 1 ).

<ステツプ8> 検出モードスイツチ53がONとなつているか
否かを判断し、YESの場合には、二重送り検出
ランプ37及び投光器40を点灯し(ステツプ
9)、また、NOの場合は、次のステツプ10に進
み計数動作を開始する。
<Step 8> Determine whether the detection mode switch 53 is ON or not. If YES, double feed detection lamp 37 and floodlight 40 are turned on (Step 9); if NO, Proceed to the next step 10 and start counting.

<ステツプ10> ホルダー位置センサ24A,24Bの出力によ
り、ホルダー1が閉位置にあるか否かを判断し
て、NOの場合には、ホルダモータ駆動信号
(HMD)が出力されて、ホルダモータ23を駆
動してホルダー1を閉位置に設定し(ステツプ
11)、YESの場合には次のステツプ12へ進む(タ
イミングT2)。
<Step 10> Based on the outputs of the holder position sensors 24A and 24B, it is determined whether the holder 1 is in the closed position or not. If NO, a holder motor drive signal (HMD) is output and the holder motor 23 is to set holder 1 to the closed position (step
11), if YES, proceed to the next step 12 (timing T 2 ).

<ステツプ12> ポンプ駆動信号(PMP)が出力されて、ポン
プモータ21を駆動するとともに、ソレノイドバ
ルブ駆動信号(SV)が出力されて、ソレノイド
バルブ16を排気ノズル14側に切換える。
<Step 12> A pump drive signal (PMP) is output to drive the pump motor 21, and a 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> Determine whether the suction shaft 5 is at the starting position,
If NO, count motor drive signal (CMD)
is output, the counting motor 19 is driven in the reverse direction at low speed to set the suction shaft 5 to the starting position (step
14), and in the case of YES, proceed 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 judgment signal (VSW) has been output, that is, it is determined whether the vacuum pressure in the suction pipe line 7 has increased to a predetermined value. It is determined whether a predetermined time (the time required for increasing the vacuum pressure) has elapsed since timing T3 (step 16), and if step 16 is NO, the process returns to step 15, and step 16 is
In the case of YES, the process proceeds to a suction failure processing rule (indicated by chain line A in FIG. 5), which will be described later.

一方、このステツプ15がYESの場合には次の
ステツプ17へ進む(タイミングT4)。
On the other hand, if this step 15 is YES, the process advances to the next step 17 (timing T 4 ).

<ステツプ17> 前記圧力判別信号(VSW)が出力されたとき
(ステツプ15)に、計数モータ駆動信号(CMD)
が出力されて、回転筒3および吸引軸5の回転を
開始する。
<Step 17> When the pressure discrimination signal (VSW) is output (step 15), the counting motor drive signal (CMD) is output.
is output, and the rotating barrel 3 and suction shaft 5 start rotating.

<ステツプ18> 吸引軸5が紙幣を一枚ずつめくり取りながら計
数を行ない、回転筒位置センサ18が信号
(SNS)を発生するたびに、エリアセンサ42の
検出データを取り出すためのトリガー信号
(TRG)が出力される。また、このとき計数信号
(CNT)が出力されて、紙幣の計数(あるいは判
別)を行なう(タイミングT6〜Tm)。
<Step 18> The suction shaft 5 counts the bills while flipping them one by one, and every time the rotary cylinder position sensor 18 generates a signal (SNS), a trigger signal (TRG) is generated to retrieve the detection data of the area sensor 42. ) is output. Also, at this time, a counting signal (CNT) is output to count (or discriminate) the banknotes (timings T6 to Tm).

<ステツプ19> 圧力判定信号(VSW)が出力されているか否
か、すなわち、めくり取るべき紙幣がなくなつて
吸入管路7内の真空圧が上昇できない状態
(OFF)となつているか否かを判別し、OFFとな
つた(タイミングTn+1)ことを条件として次の
ステツプ20へ進む。
<Step 19> Check whether the pressure judgment signal (VSW) is output, that is, whether there are no more bills to be turned over and the vacuum pressure in the suction pipe 7 cannot rise (OFF). The process proceeds to the next step 20 on the condition that it is determined to be OFF (timing T n+1 ).

<ステツプ20> 計数モータ19、ポンプモータ21を停止す
る。
<Step 20> Stop the counting motor 19 and pump motor 21.

<ステツプ21> ステツプ20によつて回転筒3の停止動作と並行
して、ホルダのオープン信号が出力されたか否か
の判別を行い、YESの場合にはステツプ2に戻
つた場合には(タイミングTn)、NOの場合には
このステツプ21で待機する。そして、ステツプ2
に戻つた場合には(タイミングTn)、ホルダー1
が開になつたか否かの判別が行なわれ、ホルダー
1が開となるまでホルダーモータ駆動信号
(HMD)が出力される。
<Step 21> In parallel with the stopping operation of the rotary cylinder 3 in step 20, it is determined whether or not a holder open signal has been output, and if YES, the process returns to step 2 (timing Tn), if NO, wait at step 21. And step 2
If it returns to (timing Tn), holder 1
It is determined whether or not the holder 1 is opened, and a holder motor drive signal (HMD) is output until the holder 1 is opened.

そして、ホルダーが開(ステツプ4;タイミン
グTo+1)となると、モータ駆動信号(HMD)が
OFFとなると同時に計数モータ駆動信号
(CMD)が出力されて、計数モータ19を駆動す
る。そして、この計数モータ19の駆動によつて
吸引軸5が待機位置にまで移動して来ると、回転
筒位置センサ18の出力がONとなり、これと同
時に計数モータ19が停止されられる(タイミン
グTo+2)。
Then, when the holder opens (step 4; timing T o+1 ), the motor drive signal (HMD) is activated.
At the same time as turning off, a counting motor drive signal (CMD) is output to drive the counting motor 19. When the suction shaft 5 is moved to the standby position by the driving of 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 stopped (timing T o +2 ).

このようにして吸引軸5が待機位置に停止させ
られると、次回のスタート信号(ステツプ7)に
よつて、直ちに計数を開始し得る状態となつて、
次の準備が完了する。
When the suction shaft 5 is stopped at the standby position in this way, it becomes ready to start counting immediately by the next start signal (step 7).
The next preparation is completed.

次いで、吸引、不良処理レートAについて説明
する。
Next, the suction and defect processing rate A will be explained.

すなわち、計数モータ19のブレーキの動作不
良などの原因によつて回転筒3が所定位置に停止
することができない場合には、吸入管路7の内部
が外部から密閉されないため、一定時間以上経過
しても真空圧が上昇せず、したがつて、圧力判定
信号がONとなることができない(ステツプ16)。
In other words, if the rotary cylinder 3 cannot be stopped at a predetermined position due to a malfunction of the brake of the counting motor 19, etc., the inside of the suction pipe 7 is not sealed from the outside, so that the rotation cylinder 3 cannot be stopped for a certain period of time or more. However, the vacuum pressure does not increase even when the pressure is turned on, and therefore the pressure judgment signal cannot turn ON (step 16).

このような場合には、計数モータ19を定速で
逆転させて回転筒3の位置を調整し(ステツプ
30)、ステツプ13ないし15を繰り返す。そして、
この場合をN回繰り返しても真空圧が上昇しない
場合(ステツプ31)には、ポンプモータ21を停
止させ(ステツプ32)、アラーム信号を出力し
(ステツプ33)、その後、機械を停止させる(ステ
ツプ34)。
In such a case, adjust the position of the rotary cylinder 3 by rotating the counting motor 19 in reverse at a constant speed (step
30), repeat steps 13 to 15. and,
If the vacuum pressure does not increase even after repeating this case 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 31). 34).

次に、CPU49における計数処理フローにつ
いて第6図を参照して説明し、更に、CPU66
における判別処理フローについて第7図及び第8
図を参照して説明する。
Next, the counting processing flow in the CPU 49 will be explained with reference to FIG.
Figures 7 and 8 regarding the determination processing flow in
This will be explained with reference to the figures.

◇計数制御動作2(第6図参照) <ステツプ100> スタート <ステツプ101> 検出モードスイツチ53がONとなつているか
否か、すなわち、紙幣表面のパターンを読取る必
要があるか否かを判断し、YESの場合には、判
別ON信号及び表裏モード信号(但し、表裏モー
ドスイツチ54がONのときのみ、以下同じ)を
出力し、(ステツプ102)、更にこれら紙幣判別
ON信号及び表裏モード信号を第7図に示す判別
ルーチンに供給する(矢印で示す)。
◇Counting control operation 2 (see Figure 6) <Step 100> Start <Step 101> Determine whether the detection mode switch 53 is turned on, that is, whether it is necessary to read the pattern on the banknote surface. , in the case of YES, outputs a discrimination ON signal and a front/back mode signal (however, only when the front/back mode switch 54 is ON, the same applies hereinafter) (step 102), and then outputs these banknote discrimination signals.
The ON signal and front/back mode signal are supplied to the discrimination routine shown in FIG. 7 (indicated by arrows).

また、検出モードスイツチ53がOFFとなつ
ている場合には、計数のみを行うと判断して、次
のステツプ103に進む。
If the detection mode switch 53 is OFF, it is determined that only counting is to be performed, and the process proceeds to the next step 103.

<ステツプ103> 回転筒位置センサ出力信号(SNS)の立上が
りを検出し、YESとなつた場合に次のステツプ
104へ進む。
<Step 103> Detects the rise of the rotary cylinder position sensor output signal (SNS), and if it becomes YES, proceed to the next step.
Proceed to 104.

<ステツプ104> 前記ステツプ103と同一のタイミングでトリガ
ー信号(TRG)を立ち上がらせるとともに、こ
のドリガー信号(TRG)の出力を第7図に示す
判別ルーチンに供給する(矢印で示す)。
<Step 104> The trigger signal (TRG) is raised at the same timing as in step 103, and the output of this trigger signal (TRG) 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、投光器4
0の点灯を停止する(ステツプ151)。また、前記
ステツプ106において、圧力判定信号(VSW)の
出力がある(YES)の場合には、次のステツプ
107へ進む。
<Step 105> Turn on the rotary cylinder position sensor output signal (SNS).
The OFF state is detected, and if it is ON (YES), it is determined whether or not the pressure judgment signal (VSW) is ON (step 106).
If NO, a discrimination OFF signal is output (step
150), and counting motor 19, pump motor 21
drive and double feed detection lamp 37, floodlight 4
The lighting of 0 is stopped (step 151). Further, in step 106, if the pressure judgment signal (VSW) is output (YES), the next step is performed.
Proceed to 107.

<ステツプ107> 検出モードスイツチ53がONとなつているか
否かを判断し、YESの場合にはステツプ108に進
み、NOの場合にはステツプ109に進む。
<Step 107> It is determined whether the detection mode switch 53 is turned on or not. If YES, proceed to step 108; if NO, proceed to step 109.

<ステツプ108> 異金種が検出された場合、表裏判別モードの時
に表裏不一致が検出された場合、全ての基準パタ
ーンと一致せず判別異常と判断された場合、ある
いは二重吸着が検出された場合に、判別処理フロ
ーから出力されるエラー信号(矢印で示す)の
入力があるか否かを判断し、YESの場合にはバ
ツチソレノイド28を動作させて計数を中断し、
また、NOの場合にはステツプ109に進む。
<Step 108> If a different denomination is detected, if a discrepancy between the front and back sides is detected in the front/back discrimination mode, if the pattern does not match all the reference patterns and is judged to be a discrimination error, or if double adsorption is detected. In this case, it is determined whether or not there is an input of an error signal (indicated by an arrow) outputted from the determination processing flow, and if YES, the batch solenoid 28 is operated to interrupt counting;
If the answer is NO, proceed to step 109.

<ステツプ109> バツチモードがONとなつているか否かを判断
し、NOの場合にはステツプ105に戻り、YESに
場合にはステツプ110に進む。
<Step 109> Determine whether the batch mode is ON or not. If NO, return to step 105; if YES, proceed to step 110.

<ステツプ110> 紙幣の枚数判別を行い、紙幣の計数値が所定枚
数に満たないと判断された場合(NO)には、ス
テツプ、105に戻り、また、紙幣の計数値が所定
枚数に一致したと判断された場合(YES)には、
バツチソレノイド28をONとして計数紙幣を未
計数紙幣から分離した後(ステツプ111)に、判
別OFF信号を出力して(ステツプ112)(この判
別OFF信号は矢印に示すように判別処理フロ
ーに供給される)、計数モータ19、ポンプモー
タ21の駆動及び二重送り検出用ランプ37、投
光器40の点灯を停止する(ステツプ113)。そし
て、次のステツプ114に進む。
<Step 110> The number of banknotes is determined, and if it is determined that the banknote count is less than the predetermined number (NO), the process returns to step 105, and if the banknote count matches the predetermined number. If it is determined that (YES),
After turning on the batch solenoid 28 and separating counted banknotes from uncounted banknotes (step 111), a discrimination OFF signal is output (step 112) (this discrimination OFF signal is supplied to the discrimination process flow as shown by the arrow). (step 113). Then, proceed to the next step 114.

<ステツプ114> 上記したバツチ処理時、もしくはエラー検出時
に動作したセパレータ25の作動を解除するクリ
ア操作が行なわれたか否かを判断し、YESの場
合にステツプ115に進む。
<Step 114> It is determined whether or not a clear operation has been performed to deactivate the separator 25 that was activated during the batch processing or error detection described above, and if YES, the process proceeds to step 115.

<ステツプ115> ホルダーに対しオープン信号(ステツプ21参
照)を出力して、このフローが終了する。
<Step 115> An open signal (see step 21) is output to the holder, and this flow ends.

次に、ステツプ120〜ステツプ121について説明
する。
Next, steps 120 to 121 will be explained.

<ステツプ120> 前記ステツプ105において、回転筒位置センサ
出力信号(SNS)のON―OFF状態を検出し、
ONの状態であれば、前記ステツプ105〜ステツ
プ106(またはステツプ110のルーチンを回り続け、
OFF状態となつたところで、このステツプ120へ
移行する。そして、前記ステツプ106と同様に、
圧力判定信号(VSW)がONとなつているか否
かを判別し、この判別がNOの場合には、前記ス
テツプ1066と同様に次のステツプ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,
If it is in the ON state, the routine from step 105 to step 106 (or step 110) continues;
When the OFF state is reached, the process moves to step 120. Then, similar to step 106,
It is determined whether the pressure judgment signal (VSW) is ON or not, and if this judgment is NO, the process proceeds to the next step 150 in the same way as step 1066, and a judgment OFF signal is output (step 150). At the same time, the driving of the counting motor 19 and the pump motor 21 and the lighting of the double feed detection lamp 37 and the light projector 40 are stopped (step 151). Further, if the output of the pressure determination signal (VSW) is YES, the process proceeds to step 121.

<ステツプ121> 回転筒位置センサ出力信号(SNS)がONとな
つているか否かを再度判別し、NOの場合にはス
テツプ120に戻り、YESの場合には、トリガー信
号(TRG)を出力して(ステツプ122)(この
TRGは矢印に示すように判別処理フローに供
給される)、カウンタを1計数した後(ステツプ
123)ステツプ105に戻る。
<Step 121> Determine again whether the rotary cylinder position sensor output signal (SNS) is ON or not. If NO, return to step 120; if YES, output the trigger signal (TRG). (Step 122) (This
TRG is supplied to the discrimination processing flow as shown by the arrow), and after counting the counter (TRG is supplied to the discrimination processing flow as shown by the arrow),
123) Return to step 105.

次に、ステツプ150〜ステツプ165について説明
する。
Next, steps 150 to 165 will be explained.

<ステツプ150> 前述したようにステツプ106、120において、圧
力判定信号(VSW)の出力が検出されない場合、
例えば待機位置にある紙幣が吸着されない、ある
いは計数されるべき紙幣がない場合等には、判別
OFF信号が出力され、かつ、計数モータ19、
ポンプモータ21の駆動及び二重送り検出用ラン
プ37、投光器40の点灯を停止させた後(ステ
ツプ151)、ステツプ152に進む。
<Step 150> As mentioned above, if the output of the pressure judgment signal (VSW) is not detected in steps 106 and 120,
For example, if the banknotes in the standby position are not picked up or there are no banknotes to be counted, the
The OFF signal is output, and the counting motor 19,
After driving the pump motor 21 and stopping the lighting of the double feed detection lamp 37 and the floodlight 40 (step 151), the process proceeds to step 152.

<ステツプ152> 検出モードスイツチ53がONとなつているか
否かを判断し、NOの場合にはステツプ160に進
み、YESの場合にはステツプ153に進む。
<Step 152> Determine whether or not the detection mode switch 53 is turned on. If NO, proceed to step 160; if YES, proceed to step 153.

<ステツプ153> 一定の時間に亙つて(ステツプ154)、判別ルー
チンからエンド信号が出力(矢印で示す)され
なかつた場合、例えば、計数すべき紙幣がセツト
されているにも拘わらず、紙幣の吸着が行なわれ
なかつた場合等には、記憶部(RAM48あるい
はCPU49)の所定のエリアに残留エラーを示
すフラグを立てた後(ステツプ155)、次のステツ
プ114に進む。
<Step 153> If the discrimination routine does not output an end signal (indicated by an arrow) for a certain period of time (step 154), for example, even though the banknotes to be counted have been set, If suction is not performed, etc., a flag indicating a residual error is set in a predetermined area of the storage section (RAM 48 or CPU 49) (step 155), and then the process proceeds to the next step 114.

また、第7図の判別処理フローからエンド信号
が出力された場合には次のステツプ160に進む。
Further, if an end signal is output from the determination processing flow shown in FIG. 7, the process proceeds to the next step 160.

<ステツプ160> モード設定が枚数チエツクモードになつている
か否かと判断し、NOの場合にはステツプ164に
進み、YESの場合にはステツプ161に進む。
<Step 160> It is determined whether the mode setting is set to the number of sheets check mode. If NO, proceed to step 164; if YES, proceed to step 161.

<ステツプ161> 枚数チエツクモードにおいて設定された枚数
に、計数された紙幣の計数値が一致しているか否
かを判断し、NOの場合には記憶部の所定のエリ
アに不一致エラーを示すフラグを立て(ステツプ
166)、ステツプ114に進む。また、設定された枚
数を数値とが一致した場合(YES)には、次の
ステツプ162に進む。
<Step 161> It is determined whether the counted value of the banknotes matches the number set in the number of banknotes check mode, and if NO, a flag indicating a mismatch error is placed in a predetermined area of the storage unit. Step
166), proceed to step 114. If the set number of sheets matches the numerical value (YES), the process advances to the next step 162.

<ステツプ162> モード設定が捺印モードにセツトされているか
否かを判断し、YESの場合には捺印ソレノイド
35を動作させて、帯封に捺印し(ステツプ
163)、また、NOの場合には次のステツプ164に
進む。
<Step 162> Determine whether or not the mode setting is set to the stamping mode. If YES, operate the stamping solenoid 35 to stamp the seal (step 162).
163), and if NO, proceed to the next step 164.

<ステツプ164> 加算モードにセツトされているか否かを判断
し、YESの場合には、先に計数された紙幣の計
数結果を加算し、その加算結果を記憶部に記憶さ
せ、また、NOの場合には、ステツプ115に進み、
計数処理が終了する。
<Step 164> Determine whether or not the addition mode is set. If YES, add the counting results of the previously counted banknotes and store the addition result in the storage unit. If so, proceed to step 115;
Counting process ends.

次に、CPU66における判別処理フローにつ
いて第7図、第8図及び第10図のタイムチヤー
トを参照して説明する。
Next, the determination processing flow in the CPU 66 will be explained with reference to the time charts of FIGS. 7, 8, and 10.

<ステツプ200> スタート <ステツプ201> 計数ルーチンからトリガー信号(TRG)(矢印
で示す)が出力されたか否かを判断し、YES
の場合に次のステツプ202に進む。
<Step 200> Start <Step 201> Determine whether the trigger signal (TRG) (indicated by the arrow) is output from the counting routine and select YES.
In this case, proceed to the next step 202.

<ステツプ202> 計数ルーチンから判別ON信号(矢印で示
す)が出力されたか否かを判断し、NOの場合に
はステツプ201に戻り、YESの場合には、第4図
に示すアナログスイツチ80を選択して、二重送
り検知センサ37,38の出力を増幅器78、
A/Dコンバータ73を介して取り込み、RAM
65に記憶した後(ステツプ203)、ステツプ204
に進む。
<Step 202> It is determined whether or not the determination ON signal (indicated by the arrow) has been output from the counting routine. If NO, the process returns to step 201. If YES, the analog switch 80 shown in FIG. 4 is activated. Select the output of the double feed detection sensors 37 and 38 to the amplifier 78,
Capture via A/D converter 73, RAM
65 (step 203), step 204
Proceed to.

<ステツプ204> ステツプ214、ステツプ222、ステツプ232にお
いてセツトされたエラーコードに基づき、異金種
の混入有り、表裏不一致有り、判別異常有り(異
常紙幣の混入)か否かを判断し(これら異金種の
混入、表裏不一致、判別異常の検出についてはス
テツプ213、221、231で述べる)、YESである場
合にはエラー信号及びエラーコードを出力して、
そのエラー内容を表示部63に表示した後(ステ
ツプ205)、ステツプ201に戻る。なお、前記ステ
ツプ205で出力されたエラー信号は矢印で示す
ように第6図の計数ルーチンのステツプ108に供
給される。
<Step 204> Based on the error codes set in steps 214, 222, and 232, it is determined whether there is a mixture of different denominations, there is a discrepancy between the front and back sides, and there is a discrimination error (mixture of abnormal banknotes). Detection of mixed denominations, discrepancies between front and back sides, and discrimination abnormalities will be described in steps 213, 221, and 231).If YES, an error signal and error code are output.
After displaying the error details on the display section 63 (step 205), the process returns to step 201. The error signal output at step 205 is supplied to step 108 of the counting routine in FIG. 6 as indicated by the arrow.

また、異金種の混入、表裏不一致、判別異常が
無い場合(NO)には次のステツプ206に進む。
Further, if there is no mixing of different denominations, no discrepancy between the front and back sides, and no discrimination abnormality (NO), the process proceeds to the next step 206.

なお、最初のトリガー信号(TRG)出力時に
は、ステツプ214、222、232を通つておらず、判
別もなされていないから、最初のステツプ204は
常にNOステツプ206に進む。
Note that when the first trigger signal (TRG) is output, steps 214, 222, and 232 have not been passed and no determination has been made, so the first step 204 always proceeds to the NO step 206.

<ステツプ206> ステツプ203で二重送り検知センサ37,38
から取り込んだ検出データとステツプ217(後述す
る)セツトされた判別基準となる二重比較レベル
とに基づいて、紙幣が二重吸着がされたか否かを
判断し、YESの場合にはエラー信号及びエラー
コードを出力して、そのエラー内容を表示部63
に表示した後(ステツプ207)、ステツプ201に戻
る。
<Step 206> In step 203, double feed detection sensors 37 and 38
Based on the detection data taken in from the banknote and the double comparison level set as a discrimination standard in step 217 (described later), it is determined whether or not the banknote has been double-adsorbed, and if YES, an error signal and Outputs the error code and displays the error details on the display section 63
After displaying (step 207), 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 in FIG. 6 as indicated by the arrow.

また、NOの場合つまり二重吸着が無と判断さ
れた場合には次のステツプ208に進む。
If NO, that is, if it is determined that there is no double adsorption, the process proceeds to the next step 208.

なお、ステツプ204と同様に最初のトリガー信
号(TRG)出力時には、二重吸着を判別すべき
紙幣Saは第1図の位置に存在せず、また、基準
となる二重比較レベルはセツトされていないの
で、このステツプ206は常にNOでステツプ208に
進む。
Note that, as in step 204, when the first trigger signal (TRG) is output, the banknote Sa for which double adsorption should be determined does not exist in the position shown in Figure 1, and the reference double comparison level has not been set. Therefore, this step 206 is always NO and the process proceeds to step 208.

<ステツプ208> 第4図に示すアナログスイツチ79を選択し、
エリアスイツチ34の出力を増幅器72、A/D
コンバータ73を介してRAM65に記憶するこ
とにより、エリアEにおけるエリアデータ(Nラ
インにおけるデータ)の取り込みが行なわれる。
なお、このエリアデータの取り込みは、第8図に
示すようなフローに基づいて行なわれる。
<Step 208> Select the analog switch 79 shown in FIG.
The output of the area switch 34 is transferred to the amplifier 72 and the A/D
By storing the data in the RAM 65 via the converter 73, area data in the area E (data in the N line) is taken in.
Note that this area data is taken in based on the flow shown in FIG.

つまり、取り込み信号が出力された場合(ステ
ツプ300)に、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 300), after setting Y to 0 and X to 0 (step 301), the process proceeds to the next step 302. and,
In this step 302, it is determined whether or not the output of the necessary N lines of data (line data) has been completed.If YES, a determination start signal is output (step 303), and the main Return to routine. If the answer is NO at step 302, the data of the specified N line is sent to step 312.
Steps 304 to 311 are looped until the data is output, and when the data is output, the process proceeds to switch 303 as described above.

そして、このようにエリアデータのライン毎の
取り込みが終了すると、第7図に示す次のステツ
プ209に進む。
When the line-by-line acquisition of area data is completed in this manner, the process proceeds to the next step 209 shown in FIG.

<ステツプ209> ステツプ208において取り込もだデータがパタ
ーンを有さないレベルのものか否か(すなわち、
前期ホルダ1の表面1bの黒色パターンか否か)
を判断し、YES(データ無)である場合には、エ
ンド信号を出力した後(ステツプ210)、ステツプ
201に戻る。なお、前記ステツプ210で出力された
エンド信号は矢印で示すように第6図の計数ル
ーチンのステツプ153に供給される。
<Step 209> In step 208, it is determined whether the captured data is of a level that does not have a pattern (i.e.,
Whether it is a black pattern on the surface 1b of the first half holder 1)
If it is YES (no data), after outputting the end signal (step 210), step
Return to 201. The end signal output at step 210 is supplied to step 153 of the counting routine in FIG. 6 as indicated by the arrow.

また、取り込んだエリアデータがパターンを有
するレベルのものである場合(NO)には、次の
ステツプ211に進む。
Further, if the captured area data is of a level having a pattern (NO), the process advances to the next step 211.

<ステツプ211> 吸引軸5によつて吸着された紙幣が1枚目であ
るか否かと判断し、YESである場合には、ステ
ツプ212に進み、NOである場合にはステツプ230
に進む。
<Step 211> It is determined whether or not the banknote sucked by the suction shaft 5 is the first one. If YES, proceed to step 212; if NO, proceed to step 230.
Proceed to.

<ステツプ212> ステツプ208で取り込まれた1枚目の紙幣にお
けるエリアデータに対して、ROM64に記憶さ
れている現行3金種(L種の金種)合計12パター
ン(4×Lパターン)の基準データ(1金種につ
いて、表裏正逆4パターンある)とを比較して、
次のステツプ213に進む。
<Step 212> Based on the area data of the first banknote imported in step 208, a total of 12 patterns (4 x L patterns) of the current 3 denominations (L denominations) stored in the ROM 64 are applied. Comparing with the data (for one denomination, there are 4 patterns of front and back, forward and reverse),
Proceed to the next step 213.

<ステツプ213> 前記1枚目の紙幣のエリアデータと、12パター
ンの基準データとを比較した結果、一致したパタ
ーンがあるか否かを判断し、NOの場合には、判
別が不能な異常紙幣であるとして記憶部(RAM
65)の所定のエリアに判別異常を示すフラグを
立てて(ステツプ214)、前記ステツプ201に戻る。
<Step 213> As a result of comparing the area data of the first banknote with the reference data of the 12 patterns, it is determined whether there is a matching pattern, and if NO, it is determined that the banknote is an abnormal banknote that cannot be identified. As the storage unit (RAM
A flag indicating a discrimination abnormality is set in a predetermined area of step 65) (step 214), and the process returns to step 201.

また、一致パターンがある(YES)の場合に
は、記憶部(RAM65)の所定のエリアに判別
された紙幣が3金種の内のいずれか1つであるこ
とを示すフラグを立て(ステツプ215)、更に、該
紙幣の表裏を示すフラグを立てた後(ステツプ
216)、判別した金種と表裏情報とに基づいて
ROM64に記憶させてある二重吸着の判別基準
である二重比較レベルを記憶部(RAM65)に
セツトした後(ステツプ217)、ステツプ218に進
む。
If there is a matching pattern (YES), a flag indicating that the identified banknote is one of the three denominations is set in a predetermined area of the storage unit (RAM 65) (step 215). ), and after setting a flag indicating the front and back sides of the banknote (step
216), based on the determined denomination and front and back information.
After setting the double comparison level, which is a criterion for determining double adsorption, stored in the ROM 64 in the storage section (RAM 65) (step 217), the process advances to step 218.

<ステツプ230> 一方、前述したステツプ211において、前記吸
引軸5により吸着された紙幣が1枚目でないと判
断された場合には、ステツプ208で取り込まれた
該紙幣のエリアデータと、ROM64に記憶され
た特定金種(ステツプ215にセツトされた金種)
についての表裏正逆4パターンの基準データのみ
とを比較して、次のステツプ231に進む。
<Step 230> On the other hand, if it is determined in step 211 that the bill attracted by the suction shaft 5 is not the first bill, the area data of the bill taken in in step 208 and the area data of the bill are stored in the ROM 64. specified denomination (denomination set in step 215)
The process proceeds to the next step 231 after comparing only the reference data of four patterns of front and back, forward and reverse.

<ステツプ231> 前記紙幣のエリアデータと4パターンの基準デ
ータとを比較した結果、一致したパターンがある
か否かを判断し、NOの場合にはこの紙幣が異金
種紙幣(厳密に言うと判別異常紙幣もあり得る)
であるとして、記憶部の所定のエリアに異金種を
示すフラグを立て(ステツプ232)、前記ステツプ
201に戻る。
<Step 231> As a result of comparing the area data of the banknote with the reference data of the four patterns, it is determined whether there is a matching pattern, and if NO, this banknote is a banknote of a different denomination (strictly speaking, (There may also be banknotes with abnormal identification)
, a flag indicating a different denomination is set in a predetermined area of the storage section (step 232), and the step
Return to 201.

また、一致したパターンがある場合(YES)
には、前述したように、記憶部の所定のエリアに
紙幣の表裏を示すフラグを立て(ステツプ216)、
更に、ステツプ217において、記憶部の所定のエ
リアに該紙幣の透過光量をセツトして、次のステ
ツプ218に進む。
Also, if there is a matched pattern (YES)
As described above, a flag indicating the front and back sides of the banknote is set in a predetermined area of the storage unit (step 216).
Furthermore, in step 217, the amount of transmitted light of the banknote is set in a predetermined area of the storage section, 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 turned on. If NO, proceed to step 201; if YES, proceed to the next step 219.

<ステツプ219> この紙幣が1枚目であるか否かを蛤断し、NO
の場合にはステツプ221に進み、YESの場合には
次のステツプ220に進む。
<Step 219> Check whether this banknote is the first one or not, and select NO.
If YES, proceed to step 221; if YES, proceed to the next step 220.

<ステツプ220> 前記ステツプ216においてセツトした1枚目の
紙幣の表裏コードを表裏基準データとして記憶部
RAM65にセツトし、この表裏基準データに基
づいて以後紙幣表裏判定を行なう(ステツプ
212)。
<Step 220> The front and back codes of the first bill set in step 216 are stored in the storage unit as front and back reference data.
It is set in the RAM 65, and based on this front/back reference data, the front/back side of the banknote is determined (step
212).

<ステツプ221> ステツプ216でセツトされる表裏コードとステ
ツプ220でセツトされた表裏基準データとを比較
して、2枚目以降の紙幣が1枚目の紙幣の表裏と
一致しているか否かを判断し、一致している
(YES)場合にステツプ201に戻り、不一致であ
る(NO)場合に次のステツプ222に進み、この
ステツプ222において、記憶部の所定のエリアに
表裏不一致であることを示すフラグを立て(ステ
ツプ222)、ステツプ201に戻り、ふたたび上述し
たステツプ201〜ステツプ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 or not the second and subsequent banknotes match the front and back of the first banknote. If they match (YES), the process returns to step 201; if they do not match (NO), proceed to the next step 222. A flag indicating this is set (step 222), the process returns to step 201, and steps 201 to 232 described above are repeated again.

なお、上述したトリガ信号(TRG)、二重デー
タを取り込む等のタイミングは第10図のタイミ
ングチヤートにおいて記載されている。これらト
リガー信号(TRG)、二重データを取り込む等の
タイミングと第7図のステツプ番号と対応させる
と、判別トリガー信号はステツプ201に対応し、
二重データ取り込みタイミングはステツプ203に
対応し、以下、エラーチツクタイミングはステツ
プ204に、二重チエエツクタイミングはステツプ
206に、エリアデータ取り込みタイミングはステ
ツプ208に、エンドチエツクタイミングはステツ
プ209にそれぞれ対応し、また、判別処理タイミ
ングはステツプ211〜216及びステツプ230、231に
対応し、更に、金種、表裏、二重比較レベル、エ
ラーセツトタイミングは、ステツプ215〜217、ス
テツプ214、222、232にそれぞれ対応している。
Note that the timing of the above-mentioned trigger signal (TRG), duplex data capture, etc. is described in the timing chart of FIG. If these trigger signals (TRG), the timing of importing double data, etc. correspond to the step numbers in FIG. 7, the discrimination trigger signal corresponds to step 201,
The double data acquisition timing corresponds to step 203, below, the error check timing corresponds to step 204, and the double check timing corresponds to step 203.
206, the area data import timing corresponds to step 208, the end check timing corresponds to step 209, and the discrimination processing timing corresponds to steps 211 to 216 and steps 230 and 231. The multiple comparison level and error set timing correspond to steps 215 to 217 and steps 214, 222, and 232, respectively.

以上詳細に説明したように、上記のように構成
された紙幣計数機においては、第9図のタイムチ
ヤートに示すように、回転筒が起動して回転筒3
が起動して定速状態となるまで時間(T5〜T6
が掛かり、この長い立ち上がり時間を利用して、
第7図の判別処理フローのステツプ211〜213に示
すような紙幣の比較判別を行うことができる。
As explained in detail above, in the banknote counting machine configured as above, as shown in the time chart of FIG.
Time from startup to constant speed state (T 5 to T 6 )
takes advantage of this long rise time,
Comparison and discrimination of banknotes as shown in steps 211 to 213 of the discrimination processing flow in FIG. 7 can be performed.

すなわち、第9図に示すように、回転筒3の立
ち上がり時(T5〜T6)と、定速状態時(T6
Tn+2)とを比較した場合に、紙幣1枚計数する
のに必要とされる時間が1枚目#2枚目以降とな
つているので、定速状態時(T6〜Tn+2)におい
て、紙幣のラインデータを表裏正逆4のパターン
の基準データと比較することしかできないのに対
し、回転筒3の立ち上がり時(T5〜T6)時にお
いて、1枚目の紙幣のエリアデータを、1金種に
ついての表裏正逆4パターン、3金種合計12の
パターンの基準データと比較することが可能であ
る。
In other words, as shown in FIG .
When comparing T n+2 ), the time required to count one banknote is from the 1st banknote to the 2nd banknote . In 2 ), the line data of the banknote can only be compared with the reference data of the pattern 4, front and back, forward and reverse . It is possible to compare the area data with reference data of four patterns of front and back, forward and reverse, for one denomination, for a total of 12 patterns for three denominations.

これによつて、第7図の判別処理フローに示す
ように、1枚目の紙幣によつてまず金種を確定し
た後で(ステツプ215)、2枚目以降の紙幣と、1
枚目で確定した金種についての正逆表裏4パター
ンとの比較を行い(ステツプ230)、これら4パタ
ーンから外れるものを、異金種と断定することに
よつて(ステツプ231、232)、紙幣判別の作業の
効率化を図ることが可能となる。
As a result, as shown in the discrimination processing flow in FIG. 7, after first determining the denomination of the first banknote (step 215),
The banknotes are compared with the four patterns of front and reverse sides of the determined denomination (step 230), and those that deviate from these four patterns are determined to be of different denominations (steps 231, 232). It becomes possible to improve the efficiency of the discrimination work.

また、前記ステツプ208で説明したように、紙
幣のエリアEにおけるエリアデータがX軸に沿う
ラインデータとして取り出され、更に、このライ
ンデータは、Yの値をエリアEの範囲内において
任意に位置設定して取り出すことができるので、
これらラインデータを複数読み出して、これらラ
インデータを予めROM64に記憶されている基
準データと比較することによつて、精度の高い判
別を行うことができる。すなわち、紙幣の判別を
行うために必要とされるラインデータを、例えば
番号Yの設定によつて任意にかつ複数本読み出す
ことができるので、日本国紙幣のみならず、態様
の異なる米ドル紙幣にもこの装置の金種及び表裏
判別機能を適応させることができるという効果を
奏する。
Furthermore, as explained in step 208 above, the area data in area E of the banknote is extracted as line data along the so you can take it out
By reading out a plurality of these line data and comparing these line data with reference data stored in advance in the ROM 64, highly accurate discrimination can be performed. In other words, the line data required to distinguish banknotes can be read out arbitrarily in multiple lines by setting the number Y, for example, so that it can be used not only for Japanese banknotes but also for US dollar banknotes of different formats. This has the effect that the denomination and front/back discrimination functions of this device can be adapted.

なお、日本国紙幣を判別するプログラムを米ド
ル紙幣を判別するプログラムに変更する場合に
は、ROM64等を取り替えることによつて行
う。
In addition, when changing the program for discriminating Japanese banknotes to a program for discriminating US dollar banknotes, this is done by replacing the ROM 64 or the like.

また、上記の判別制御回路46では、ラインデ
ータをX軸に沿うように取り出したが、これに限
定されず、Y軸に沿つて取り出すようにしても良
い。
Further, in the discrimination control circuit 46 described above, the line data is extracted along the X axis, but the line data is not limited to this, and may be extracted along the Y axis.

更に、前記エリアEにおける表面パターンを読
み取るセンサとして、前記エリアセンサ34に替
えて、1次元イメージセンサを第2図に示すY軸
あるいはX軸に対し間隔を以て複数例配置し、更
に、これらセンサの検出データを列を指定して読
み出すようにしても良い。
Furthermore, as a sensor for reading the surface pattern in the area E, a plurality of one-dimensional image sensors are arranged at intervals with respect to the Y-axis or the X-axis shown in FIG. The detected data may be read out by specifying a column.

また更に、この紙幣計数機においては、帯封に
押印する押印機構と二重送りを検出する二重送り
検出機構との配置は任意である。
Furthermore, in this banknote counting machine, the arrangement of the stamping mechanism for stamping the band and the double-feed detection mechanism for detecting double-feed is arbitrary.

「発明の効果」 以上詳細にに説明したように、この発明によれ
ば、エリアセンサで検出した紙幣表面を示すデー
タの中から複数の異なるラインを指定しこれをラ
インデータとして選択的に取り出すようにしたの
で、紙幣の態様に相違があつた場合(米国紙幣、
日本国紙幣など)でも、金種、表裏等を判別する
ための検出領域を最適なラインに設定することが
でき、その判別を高い精度で行うことができる。
また、前記駆動回路が指定するラインを適宜変更
することによつて、従来のように、紙幣の表面を
検出するためのセンサの位置を特別に変更するこ
となく、この検出領域を、紙幣の態様(米国紙
幣、日本国紙幣など)に応じて適宜設定すること
ができ、これにより、多移多様の紙幣を高い精度
を維持しつつ簡易に判別することができるという
効果が得られる。
"Effects of the Invention" As explained in detail above, according to the present invention, a plurality of different lines are specified from among the data indicating the banknote surface detected by the area sensor, and these lines are selectively extracted as line data. Therefore, if there is a difference in the appearance of the banknotes (US banknotes,
Even for Japanese banknotes, etc., the detection area for determining the denomination, front and back, etc. can be set to the optimal line, and the determination can be performed with high accuracy.
In addition, by appropriately changing the line specified by the drive circuit, this detection area can be adjusted according to the aspect of the banknote, without having to specifically change the position of the sensor for detecting the surface of the banknote, as in the conventional case. (U.S. banknotes, Japanese banknotes, etc.) can be set as appropriate depending on the type of banknote (US banknote, Japanese banknote, etc.), thereby achieving the effect that a wide variety of banknotes can be easily distinguished while maintaining high accuracy.

また、1枚目の紙幣についてL種の金種、正逆
表裏4パターンの基準データ選択して、前記ライ
ンデータと比較するようにしたので、吸引軸起動
に多くの時間を要し、結果として計数に時間の掛
かる1枚目の紙幣処理時を有効に利用することが
できる。該1枚目の紙幣の全判別(金種、表裏、
正逆)を正確に行うことができる。
In addition, for the first bill, standard data of L denomination and 4 patterns of front and reverse sides were selected and compared with the line data, so it took a lot of time to start the suction shaft, and as a result, The time when processing the first banknote, which takes time to count, can be effectively utilized. Complete identification of the first banknote (denomination, front and back,
(forward and reverse) can be performed accurately.

また、2枚目以降の紙幣について、1枚目紙幣
の金種に対応する正逆表裏4パターン基準データ
を選択して、前記ラインデータと比較するように
したので、1枚目の紙幣判別により金種の確定さ
れた2枚目以降の紙幣判別を高速で行うことがで
き、紙幣判別に要する時間を全体的に短縮化する
ことができるという効果がある。
In addition, for the second and subsequent banknotes, standard data for four patterns of forward and reverse front and back sides corresponding to the denomination of the first banknote were selected and compared with the line data, so that This has the effect that the second and subsequent banknotes whose denominations have been determined can be discriminated at high speed, and the time required for banknote discrimination can be reduced overall.

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

第1図〜第10図は本発明の一実施例を示すも
ので、第1図は平面図、第2図は第1図の―
線に沿う矢視図、第3図は吸引軸および吸引管系
の断面図、第4図は計数制御回路および判別制御
回路のブロツク図、第5図は計数制御動作の流れ
図、第6図は計数制御回路のCPU動作を示す図、
第7図及び第8図は判別制御回路のCPU動作を
示す図、第9図及び第10図は計数制御動作およ
び判別制御動作の流れ図である。 1……ホルダ、5……吸引軸、40……投光器
(ランプ)、42……エリアセンサ、64……
ROM、66……CPU(全パターン判別機能、金
種記憶機能、特定パターン判別機能)、71……
駆動回路、73……A/Dコンバータ。
Figures 1 to 10 show an embodiment of the present invention, with Figure 1 being a plan view and Figure 2 being the same as in Figure 1.
Fig. 3 is a sectional view of the suction shaft and suction pipe system, Fig. 4 is a block diagram of the counting control circuit and discrimination control circuit, Fig. 5 is a flowchart of the counting control operation, and Fig. 6 is a diagram taken along the line. A diagram showing the CPU operation of the counting control circuit,
7 and 8 are diagrams showing the CPU operation of the discrimination control circuit, and FIGS. 9 and 10 are flowcharts of the counting control operation and the discrimination control operation. 1... Holder, 5... Suction shaft, 40... Floodlight (lamp), 42... Area sensor, 64...
ROM, 66...CPU (all pattern discrimination function, denomination memory function, specific pattern discrimination function), 71...
Drive circuit, 73...A/D converter.

Claims (1)

【特許請求の範囲】 1 ホルダに装填された紙幣を吸引軸に吸着させ
て一枚ずつめくり取りながら計数する紙幣計数機
における異種券判別装置において、 ホルダに装填され、且つ吸引軸により吸着直前
の紙幣の表面に光線を照射するランプと、該紙幣
の表面で反射した光線を平面的に検出するエリア
センサと、 該エリアセンサで検出した紙幣表面を示すデー
タの中から、複数の異なるラインを指定しこれを
ラインデータとして取り出す駆動回路と、 前記ラインデータと比較されるべき基準となる
紙幣の基準データが複数記憶されたROMと、 前記駆動回路によつて選択的に取り出されたラ
インデータをA/Dコンバータを介して取り込
み、該ラインデータと対応するROM内の基準デ
ータと比較することにより、紙幣を判別する
CPUとを有し、 このCPUは、前記吸引軸が吸着した1枚目の
紙幣について、L種の金種、正逆表裏4パターン
の基準データを選択して前記ラインデータと比較
する全パターン判別機能と、この全パターン判別
機能により確定された1枚目の紙幣の金種を記憶
する金種記憶機能と、前記吸引軸が吸着した2枚
目以降の紙幣について、前記金種記憶手段によつ
て記憶された1枚目紙幣の金種に対応する正逆表
裏4パターンの基準データを選択して前記ライン
データと比較する特定パターン判別機能とを有す
ることを特徴とする紙幣計数機における異種券判
別装置。
[Scope of Claims] 1. In a different type bill discriminating device in a bill counting machine that counts bills loaded in a holder by suctioning them to a suction shaft and turning them over one by one, A lamp that irradiates a light beam onto the surface of the banknote, an area sensor that detects the light beam reflected from the surface of the banknote in a two-dimensional manner, and a plurality of different lines specified from among the data indicating the banknote surface detected by the area sensor. A drive circuit that extracts this as line data; a ROM that stores a plurality of reference data of banknotes to be compared with the line data; /D converter and compares the line data with the corresponding reference data in the ROM to identify banknotes.
This CPU selects reference data of four patterns of L denominations, front and reverse, front and back of the first banknote attracted by the suction shaft, and performs all pattern discrimination for comparing with the line data. function, a denomination storage function that stores the denomination of the first banknote determined by this all-pattern discrimination function, and a denomination storage function that stores the denomination of the first banknote determined by the all-pattern discrimination function, and a denomination storage function that stores the denomination of the first banknote determined by the all-pattern discrimination function, and a denomination storage function that stores the denomination of the first banknote determined by the all-pattern discrimination function. A banknote counting machine having a specific pattern discrimination function that selects standard data of four patterns of front and reverse sides corresponding to the denomination of the first banknote stored in the banknote and compares it with the line data. Discrimination device.
JP62077663A 1987-03-31 1987-03-31 Various ticket discriminator for paper money counting machine Granted JPS63244295A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP62077663A JPS63244295A (en) 1987-03-31 1987-03-31 Various ticket discriminator for paper money 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 Discriminator for paper money counting machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62077663A JPS63244295A (en) 1987-03-31 1987-03-31 Various ticket discriminator for paper money counting machine

Publications (2)

Publication Number Publication Date
JPS63244295A JPS63244295A (en) 1988-10-11
JPH0214757B2 true JPH0214757B2 (en) 1990-04-09

Family

ID=13640113

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62077663A Granted JPS63244295A (en) 1987-03-31 1987-03-31 Various ticket discriminator for paper money counting machine

Country Status (1)

Country Link
JP (1) JPS63244295A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0292577U (en) * 1988-12-28 1990-07-23

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5725091A (en) * 1980-07-22 1982-02-09 Laurel Bank Machine Co Paper money identifying machine
JPS5841550A (en) * 1981-09-04 1983-03-10 日東工器株式会社 Apparatus for sending saline under pressure
JPS6061882A (en) * 1983-09-14 1985-04-09 グローリー工業株式会社 Sheet paper identifier

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5725091A (en) * 1980-07-22 1982-02-09 Laurel Bank Machine Co Paper money identifying machine
JPS5841550A (en) * 1981-09-04 1983-03-10 日東工器株式会社 Apparatus for sending saline under pressure
JPS6061882A (en) * 1983-09-14 1985-04-09 グローリー工業株式会社 Sheet paper identifier

Also Published As

Publication number Publication date
JPS63244295A (en) 1988-10-11

Similar Documents

Publication Publication Date Title
KR910008436B1 (en) Discriminator for paper money counting machine
GB2152212A (en) Bill counting machine
JPH0214757B2 (en)
JPH05755B2 (en)
JPS63271684A (en) Double-feed detector in banknote counter
JPH0528437B2 (en)
JPH05756B2 (en)
JPH0558983B2 (en)
JPS63244294A (en) Discriminator for paper money counting machine
JPH0584954B2 (en)
JPH0473198B2 (en)
JPS63271693A (en) Stamping indicator of paper counter with different note discriminating function
JPH029420Y2 (en)
JPS63271689A (en) Different note discriminator in banknote counter
JPH0525013Y2 (en)
JPH0532797B2 (en)
JPH0525014Y2 (en)
JP2522555B2 (en) Stamp control device for bill counting machine
JP2542642B2 (en) Banknote counting machine
JP2529415B2 (en) Bill counting machine discrimination device
JPH0241719Y2 (en)
JPH0585077B2 (en)
JPH03179588A (en) Note counter
JP3535040B2 (en) Banknote discriminator
JP3519314B2 (en) Banknote discriminator

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