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

JP2641079B2 - Bill validator - Google Patents

Bill validator

Info

Publication number
JP2641079B2
JP2641079B2 JP3122180A JP12218091A JP2641079B2 JP 2641079 B2 JP2641079 B2 JP 2641079B2 JP 3122180 A JP3122180 A JP 3122180A JP 12218091 A JP12218091 A JP 12218091A JP 2641079 B2 JP2641079 B2 JP 2641079B2
Authority
JP
Japan
Prior art keywords
data
bill
banknote
histogram
discriminated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP3122180A
Other languages
Japanese (ja)
Other versions
JPH04324591A (en
Inventor
信也 鎌上
毅 矢嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP3122180A priority Critical patent/JP2641079B2/en
Priority to KR1019910014411A priority patent/KR100200220B1/en
Publication of JPH04324591A publication Critical patent/JPH04324591A/en
Application granted granted Critical
Publication of JP2641079B2 publication Critical patent/JP2641079B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、金融機関等に設置され
る現金自動入出金装置等において、紙幣の搬送方向等を
検出した上で紙幣の金種や真偽を判別するための紙幣判
別装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a banknote discriminating apparatus for discriminating the denomination and authenticity of banknotes in an automatic cash dispensing and dispensing apparatus installed in a financial institution or the like after detecting the direction of banknote transport. Related to the device.

【0002】[0002]

【従来の技術】現金自動入出金装置等においては、顧客
が入金した紙幣をその金種や真偽等を判別し金庫に収納
するために、紙幣判別装置が設けられている。また、現
金自動入出金装置から、顧客に対し紙幣を出金する場合
にも予め紙幣の金種や真偽を確認するために、紙幣判別
装置が設けられている。この種の紙幣判別装置には、搬
送される被判別紙幣に対向させて、紙幣の印刷パタ−ン
の反射光や透過光の強度を検出するセンサ部が設けられ
ている。また、被判別紙幣の印刷に使用された磁性を帯
びたインクによる磁気特性を検出する場合には磁気セン
サを含むセンサ部が設けられている。
2. Description of the Related Art In a cash dispensing and dispensing apparatus, a bill discriminating apparatus is provided for discriminating a bill deposited by a customer, its denomination, authenticity and the like, and storing the bill in a safe. Also, a bill discriminating device is provided in order to check in advance the denomination and authenticity of the bill even when dispensing the bill to the customer from the automatic cash dispensing and dispensing device. This kind of bill discriminating apparatus is provided with a sensor unit for detecting the intensity of reflected light or transmitted light of a printing pattern of a bill facing a bill to be discriminated. In addition, a sensor unit including a magnetic sensor is provided for detecting the magnetic characteristics of the magnetic ink used for printing the bill to be discriminated.

【0003】図2に、上記のようなセンサ部を用いたと
きの、従来一般の紙幣読取り状態説明図を示す。従来の
紙幣判別装置においては、被判別紙幣1が矢印2方向に
搬送された場合、これに対向して配置された図示しない
センサ部が矢印3の方向に紙幣面を走査し、被判別紙幣
1の特定領域4の印刷パターンを読取る。例えば、反射
光を検出する場合、被判別紙幣1の印刷パターンに応じ
て、センサ部からは強弱の変化する電気信号が得られ
る。この信号は、金種やその搬送方向によって決まる特
定領域4に対応した特徴的な値をとる。
FIG. 2 is an explanatory diagram of a conventional general bill reading state when the above-described sensor unit is used. In the conventional bill discriminating apparatus, when the bill 1 to be discriminated is conveyed in the direction of arrow 2, a sensor unit (not shown) disposed opposite thereto scans the bill surface in the direction of arrow 3, and the bill 1 to be discriminated. Of the specific area 4 is read. For example, in the case of detecting reflected light, an electric signal that changes in strength is obtained from the sensor unit according to the print pattern of the banknote 1 to be determined. This signal takes a characteristic value corresponding to the specific area 4 determined by the denomination and its transport direction.

【0004】図3に、このような信号を処理する紙幣判
別装置のブロック図を示す。図の装置は、センサ部10
とその出力を受入れるアナログ/ディジタル変換回路
(A/D)11と、バッファメモリ12、比較回路1
3、演算処理回路14、判別回路15、サンプルタイミ
ングパルス発生器16、アドレスカウンタ17及び標準
パターンメモリ18から構成される。
FIG. 3 shows a block diagram of a bill discriminating apparatus for processing such a signal. The device shown in FIG.
And an analog / digital conversion circuit (A / D) 11 for receiving the output, a buffer memory 12, a comparison circuit 1
3, an arithmetic processing circuit 14, a discrimination circuit 15, a sample timing pulse generator 16, an address counter 17, and a standard pattern memory 18.

【0005】センサ部10の出力は、被判別紙幣が搬送
されるにつれて強弱の変化する連続的なアナログ信号で
ある。これをサンプルタイミングパルス発生器16の出
力するタイミングにより、アナログ/ディジタル変換回
路11においてディジタル信号に変換する。その結果、
1枚の被判別紙幣について、その読取られた電気信号に
応じた多数のディジタル階調データ(被判別信号)が、
バッファメモリ12に格納される。これを被判別データ
信号と呼ぶ。標準パターンメモリ18には、その被判別
データ信号と比較すべき標準パターン信号が格納されて
いる。
[0005] The output of the sensor unit 10 is a continuous analog signal that changes in strength as the bill to be discriminated is conveyed. This is converted into a digital signal in the analog / digital conversion circuit 11 according to the output timing of the sample timing pulse generator 16. as a result,
Regarding one bill to be discriminated, a large number of digital gradation data (discriminated signals) corresponding to the read electric signal are
The data is stored in the buffer memory 12. This is called a discriminated data signal. The standard pattern memory 18 stores a standard pattern signal to be compared with the discriminated data signal.

【0006】図4に、従来の紙幣判別装置を用いた紙幣
判別方式の説明図を示す。このグラフは、縦軸に信号レ
ベル,横軸にサンプリング点を示したものである。実線
は標準パターン信号で、上方にある信号が上限値19
A、下方にある信号が下限値19Bを示している。これ
が、例えば万円券のある特定の方向についての標準パタ
ーン信号であるとすると、被判別紙幣の万円券について
同方向の読取りを行なった場合、図の破線に示す被判別
データ信号5が得られる。
FIG. 4 is an explanatory view of a bill discriminating method using a conventional bill discriminating apparatus. This graph shows the signal level on the vertical axis and the sampling points on the horizontal axis. The solid line is the standard pattern signal, and the signal above is the upper limit of 19
A, the lower signal indicates the lower limit 19B. Assuming that this is a standard pattern signal for a specific direction of a ten-yen note, for example, when reading a ten-yen note of the to-be-determined bill in the same direction, a to-be-identified data signal 5 indicated by a broken line in FIG. Can be

【0007】図3のアドレスカウンタ17は、バッファ
メモリ12に格納された被判別データ信号と、標準パタ
ーンメモリ18に格納された標準パターン信号とを順に
呼出し、比較回路13に向けて出力させる。比較回路1
3においては、被判別データ信号が標準パターン信号の
上限値と下限値の間にあるか否かを比較し、その比較結
果を演算処理回路14に向けて出力する。演算処理回路
14においては、多数のサンプリング点について行なわ
れた比較結果を基に一定の演算を行ない、被判別紙幣の
金種や搬送方向,真偽等を判別するためのデータを判別
回路15に向けて出力する。判別回路15は、その判別
結果を、図示しない外部回路に向けて出力する。
The address counter 17 shown in FIG. 3 sequentially calls the discriminated data signal stored in the buffer memory 12 and the standard pattern signal stored in the standard pattern memory 18 and outputs them to the comparison circuit 13. Comparison circuit 1
In step 3, whether the data signal to be determined is between the upper limit value and the lower limit value of the standard pattern signal is compared, and the comparison result is output to the arithmetic processing circuit 14. The arithmetic processing circuit 14 performs a constant calculation based on the comparison results performed for a large number of sampling points, and sends data for determining the denomination, transport direction, authenticity, and the like of the discriminated bill to the discrimination circuit 15. Output to The determination circuit 15 outputs the determination result to an external circuit (not shown).

【0008】ところで、上記のような標準パターンメモ
リ18に格納すべき標準パターン信号は、通常、次のよ
うにして生成される。先ず、図3に示すセンサ部10に
より複数の真券紙幣の特定領域4(参照)を読取り、そ
の印刷パターンに対応する信号を収集する。そして、各
サンプリング点毎に読取られた信号の最大値と最小値を
求める。これを、図4に示す要領でプロットしていけ
ば、標準パターン信号の上限値19Aと下限値19Bを
特定することができる。
The standard pattern signal to be stored in the standard pattern memory 18 as described above is usually generated as follows. First, the specific area 4 (refer to) of a plurality of genuine bills is read by the sensor unit 10 shown in FIG. 3, and signals corresponding to the print patterns are collected. Then, the maximum value and the minimum value of the signal read at each sampling point are obtained. If this is plotted in the manner shown in FIG. 4, the upper limit 19A and the lower limit 19B of the standard pattern signal can be specified.

【0009】尚、図4のグラフを見て分かるように、紙
幣の印刷パターンの内容により、サンプリング点毎に上
限値と下限値の差が様々に変化している。これはばらつ
きの幅が異なるからである。
As can be seen from the graph of FIG. 4, the difference between the upper limit value and the lower limit value varies at each sampling point depending on the contents of the bill printing pattern. This is because the range of variation is different.

【0010】また、同一紙幣の場合であっても、表面の
右側をセンサに対向させて搬送した場合と、表面の左側
をセンサに向けて搬送した場合とでは、特定領域4が相
違することから標準パターン信号が異なる。勿論、裏面
にした場合も同様である。従って、日本銀行券としては
「万円券」,「五千円券」,「千円券」の三種類が存在
するので、表面と裏面及び搬送方向(以下、金種方向と
称す)を考慮すると、各金種毎に4種の標準パターン信
号が設定されることになる。
[0010] Even in the case of the same bill, the specific area 4 is different between the case where the right side of the front surface is confronted with the sensor and the case where the left side of the front side is conveyed toward the sensor. The standard pattern signal is different. Needless to say, the same applies to the case of the back side. Therefore, there are three types of Banknotes of Japan: "10,000 yen", "5,000 yen", and "1,000 yen". Therefore, the front and back sides and the transport direction (hereinafter referred to as denomination direction) are considered. Then, four types of standard pattern signals are set for each denomination.

【0011】更に、紙幣の搬送領域は紙幣の外形寸法よ
りも大きく設定されるため、紙幣の走行状態を考慮して
各紙幣の走行領域毎の走行標準パタ−ン信号も設定され
ている。
Further, since the bill transport area is set larger than the external dimensions of the bill, a travel standard pattern signal for each travel area of each bill is set in consideration of the travel state of the bill.

【0012】[0012]

【発明が解決しようとする課題】しかし、上記したよう
に各紙幣毎に最適な特定領域4(図2参照)を選定する
には、予め各紙幣の金種方向及び走行領域毎に図柄等の
膨大なデータを収集し、分析する必要があるため、紙幣
の図柄等が変化した場合には最適な特定領域4を選定す
るために多大な手間と時間を要してしまう上に、容量の
大きなデ−タ格納用メモリが必要となり、装置が非常に
高価になってしまう。また、被判別紙幣の特定領域に著
しく汚れた部分や欠損した部分が存在し又装置自体に検
出誤差等が存在すると、真券を偽券又はその逆に誤判別
する虞れがある。
However, as described above, in order to select the optimum specific area 4 (see FIG. 2) for each bill, a pattern or the like must be set in advance in the direction of the denomination of each bill and in each running area. Since it is necessary to collect and analyze an enormous amount of data, it takes a lot of trouble and time to select the optimal specific area 4 when the pattern of the banknote changes, and also, the capacity is large. A data storage memory is required, and the device becomes very expensive. Also, if there is a markedly soiled portion or a missing portion in a specific area of the bill to be discriminated, or if there is a detection error or the like in the apparatus itself, there is a possibility that a genuine bill is erroneously distinguished from a fake bill or vice versa.

【0013】更に、特定領域4を汚れの少ない真券紙幣
のみを用いて設定すると、判別基準が厳格となり、真券
を偽券と判別し、リジェクトされる場合が増大してしま
う。
Furthermore, if the specific area 4 is set using only genuine bills with little dirt, the criterion for discrimination becomes strict, and genuine bills are discriminated as counterfeit bills and the number of rejected bills increases.

【0014】本発明は以上の点に着目してなされたもの
で、膨大なデータを収集,分析することなく高精度で被
判別紙幣の金種や真偽を判別することができる紙幣判別
装置を提供することを目的とする。
The present invention has been made in view of the above points, and a bill discriminating apparatus capable of discriminating the denomination and authenticity of a bill to be discriminated with high accuracy without collecting and analyzing a huge amount of data. The purpose is to provide.

【0015】[0015]

【課題を解決するための手段】第1の発明は、被判別紙
幣の全ての印刷パターンを読み取るセンサ部と、このセ
ンサ部より得た紙幣階調データを含む被判別データが格
納されるデータ格納メモリとを備える紙幣判別装置にお
いて、被判別データより紙幣階調データを検索し、取り
出す紙幣階調データ選定手段と、選定した紙幣階調デー
タを複数のブロック領域に分割するデータ分割手段と、
各ブロック領域毎の分割階調データをデータ処理して
ヒストグラムデ−タを生成するヒストグラムデ−タ生成
手段と、各ブロック領域毎のヒストグラムデータを、
予め設定された紙幣毎の各標準ヒストグラムデータと
較演算し、紙幣を判別する紙幣判定手段とを有すること
を特徴としている。
According to a first aspect of the present invention, there is provided a sensor unit for reading all print patterns of a bill to be discriminated, and a data storage for storing discriminated data including bill tone data obtained from the sensor unit. In the bill discriminating apparatus including the memory, the bill gradation data is searched from the discriminated data, and the bill gradation data selecting means to be taken out, and the data dividing means for dividing the selected bill gradation data into a plurality of block areas,
Division gray scale data of each block for each region by the data processing each <br/> Histogram de - Histogram de generates the data - and data generating means, each histogram data for each block area,
Preset standard histogram data and ratio for each banknote
And a bill determining means for performing a comparison operation to determine a bill.

【0016】第2の発明は、被判別紙幣の全ての印刷パ
ターンを読み取るセンサ部と、このセンサ部より得た紙
幣階調データを含む被判別データが格納されるデータ格
納メモリとを備える紙幣判別装置において、被判別デー
タより紙幣階調データを検索し、取り出す紙幣階調デー
タ選定手段と、選定した紙幣階調データを複数のブロッ
ク領域に分割するデータ分割手段と、各ブロック領域毎
の分割階調データを積分処理するデ−タ演算手段と、
処理した各ブロック領域毎の演算データを、予め設定
された紙幣毎の各重み付けデ−タに基づいて重み付け処
理して紙幣の金種及び読取り方向を判定する金種方向判
定手段と、ブロック領域毎の分割階調データをデータ処
理してヒストグラムデ−タを生成するヒストグラムデ
−タ生成手段と、各ヒストグラムデ−タを金種及び読取
方向の判定された紙幣の予め設定された標準ヒストグ
ラムデ−タと比較演算し、紙幣の真偽を判定する紙幣真
偽判定手段とを有することを特徴としている。
According to a second aspect of the present invention, there is provided a bill discriminating apparatus comprising: a sensor unit for reading all printed patterns of a bill to be discriminated; and a data storage memory for storing discriminated data including bill tone data obtained from the sensor unit. In the apparatus, the banknote gradation data is searched for from the discriminated data, and the banknote gradation data selection unit is extracted. The data division unit divides the selected banknote gradation data into a plurality of block regions. de the scale data integration process - a data calculating means, the product
The operation data of each block for each region was separated treated, preset the weighted data of each bill - and determining denomination direction determination unit denominations and the reading direction of the bill by weighting processing based on the data, the block region Histogram data generating means for processing each divided gradation data to generate each histogram data, and denomination and reading of each histogram data
The present invention is characterized in that there is provided a bill authenticity judging means for judging the authenticity of the bill by performing a comparison operation with standard histogram data set in advance for the bill whose direction has been judged.

【0017】[0017]

【作用】第1の発明において、センサ部により読み取っ
てデータ格納メモリに格納された被判別データには、被
判別紙幣の表面又は裏面の全ての印刷パターンに基づく
紙幣階調データと紙幣以外の読取データが含まれてい
る。紙幣階調データ選定手段は、この被判別データより
紙幣階調データのみを検索し、取り出す。データ分割手
段はこの紙幣階調データを複数のブロック領域に分割す
る。ヒストグラムデータ生成手段は、各ブロック領域毎
の分割階調データをデータ処理し、所定のヒストグラム
データを生成する。紙幣判定手段は各ヒストグラムデー
タを、予め設定された紙幣毎の各標準ヒストグラムデー
タと比較演算し、被判別紙幣の金種,真偽を判定する。
これにより、被判別紙幣の全体の印刷パターンに基づい
てその金種,真偽を正確に判定することができ、又デー
タ量の少ないヒストグラムデータを利用するので、メモ
リ容量も小さくて済む。
According to the first aspect, the discriminated data read by the sensor unit and stored in the data storage memory includes banknote gradation data based on all print patterns on the front and back surfaces of the discriminated banknote and reading of non-banknotes. Contains data . The banknote gradation data selecting means searches and extracts only the banknote gradation data from the discriminated data. The data dividing means divides the banknote gradation data into a plurality of block areas. The histogram data generation means performs data processing on the divided gradation data for each block area to generate predetermined histogram data. The bill determining means each histogram data, and comparison operations with each standard histogram data preset for each bill, of the determination banknote denomination to determine authenticity.
As a result, the denomination and authenticity can be accurately determined based on the entire printing pattern of the banknote to be determined, and since the histogram data having a small data amount is used, the memory capacity can be reduced.

【0018】また、第2の発明において、データ演算手
段は、各ブロック領域毎の分割階調データを積分処理
し、積分データを作成する。金種方向判定手段は、各ブ
ロック領域毎の積分データを重み付けデータに基づいて
重み付け処理し、紙幣の金種とその読取り方向を判定す
る。紙幣真偽判定手段は、金種及び読取り方向の判定さ
れた被判別紙幣の標準ヒストグラムデータと、ヒストグ
ラムデータ生成手段にて生成した各ヒストグラムデータ
とを比較演算し、被判別紙幣の真偽を判定する。従っ
て、金種及び読取り方向を特定した後は真偽の判別基準
をある程度、厳格に設定できるので、真偽の判定制度が
大幅に向上する。
Further, in the second invention, the data calculation means integrates the divided gradation data for each block area.
And create integral data. The denomination direction determining means performs a weighting process on the integral data for each block area based on the weighting data, and determines the denomination of the banknote and the reading direction thereof. Bill authenticity judgment means, and the standard histogram data denominations and the reading direction of the determined object discriminated bill, and comparison operation and the histogram data generated by the histogram data generating means, determine the authenticity of the discrimination banknote I do. Therefore, after specifying the denomination and the reading direction,
Can be set strictly to some extent,
Significantly improved.

【0019】[0019]

【実施例】以下、本発明の実施例を図面を参照して詳細
に説明する。図5は本発明に係る紙幣判別装置のブロッ
ク図である。この図5において、20は一次元のイメー
ジを読み取るセンサ部であり、このセンサ部20はサン
プルタイミングパルス発生器21からのサンプルクロッ
クにより被判別紙幣P(図6参照)の図柄等の印刷パタ
ーンの読み取り動作を行なう。センサ部20から出力さ
れるアナログ(階調)信号は増幅部22にて最適値まで
増幅され、アナログ/ディジタル変換器(A/D)23
にてディジタル信号(被判別データ)に変換される。こ
の被判別データはレジスタ24に一時的に格納され、更
にデータセレクト回路39に送出される。このデータセ
レクト回路39に送出された被判別データはデータ格納
メモリ26のアドレスセレクト回路29にて指定される
アドレス位置に格納される。データ格納メモリ26はS
−RAMより構成されている。アドレスセレクト回路2
9にはセンサセレクト回路25が接続されている。この
センサセレクト回路25はセンサ部20で選択されるセ
ンサに対応したアドレスをアドレスセレクト回路29に
出力する。センサセレクト回路25及びアドレスセレク
ト回路29はCPU28にデータバス30及びアドレス
バス31をそれぞれ介して接続されている。CPU28
にはこれらバス30,31を介して制御データ格納メモ
リ32が接続されている。この制御データ格納メモリ3
2はROMより構成され、CPU28の制御動作及び後
述の演算処理を行なうためのプログラムが格納されてい
る。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 5 is a block diagram of the bill discriminating apparatus according to the present invention. In FIG. 5, reference numeral 20 denotes a sensor unit that reads a one-dimensional image. Perform a read operation. An analog (gradation) signal output from the sensor section 20 is amplified to an optimum value by an amplifier section 22, and an analog / digital converter (A / D) 23
Is converted into a digital signal (data to be determined). The discriminated data is temporarily stored in the register 24 and further sent to the data select circuit 39. The discriminated data sent to the data select circuit 39 is stored in the data storage memory 26 at the address position designated by the address select circuit 29. The data storage memory 26 is S
-It is composed of RAM. Address select circuit 2
9 is connected to a sensor select circuit 25. The sensor select circuit 25 outputs an address corresponding to the sensor selected by the sensor section 20 to the address select circuit 29. The sensor select circuit 25 and the address select circuit 29 are connected to the CPU 28 via a data bus 30 and an address bus 31, respectively. CPU28
Is connected to a control data storage memory 32 via these buses 30 and 31. This control data storage memory 3
Reference numeral 2 denotes a ROM, which stores a program for performing a control operation of the CPU 28 and an arithmetic processing described later.

【0020】図6は上記したセンサ部20の構成図であ
る。即ち、このセンサ部20は被判別紙幣Pの搬送路の
搬入口の両側にそれぞれ配されている発光素子としての
LED33と、受光素子としての受光トランジスタ34
とを有し、各一対のLED33と受光トランジスタ34
とはそれぞれ透過型位置センサ46a、46bを構成し
て読取開始信号をCPU28に出力する(図5参照)。
また、センサ部20は光源としてLEDアレイ35を有
し、この出射光は被判別紙幣Pに反射されてセルホック
レンズアレイ36に入射される。セルホックレンズアレ
イ36で受けた入射光は一次元イメージセンサ37にて
受光される。イメージセンサ37の出力側には図5で示
すように増幅部22が接続されている。
FIG. 6 is a configuration diagram of the sensor section 20 described above. That is, the sensor unit 20 includes an LED 33 serving as a light emitting element and a light receiving transistor 34 serving as a light receiving element disposed on both sides of a carry-in entrance of the transport path of the bill P to be determined.
And each pair of LED 33 and light receiving transistor 34
Constitutes transmission type position sensors 46a and 46b, respectively, and outputs a reading start signal to the CPU 28 (see FIG. 5).
The sensor unit 20 has an LED array 35 as a light source. The emitted light is reflected by the bill P to be discriminated and is incident on the cell hook lens array 36. The incident light received by the cell hook lens array 36 is received by the one-dimensional image sensor 37. The amplifier 22 is connected to the output side of the image sensor 37 as shown in FIG.

【0021】センサ部20の下方には、被判別紙幣Pを
搬送するための搬送ローラ38が配されている。この搬
送ローラ38はLEDアレイ35からの出射光の反射率
を最小に抑えるために周面が黒色(系)に形成されてい
る。
A transport roller 38 for transporting the banknote P to be discriminated is arranged below the sensor unit 20. The peripheral surface of the transport roller 38 is formed black (system) in order to minimize the reflectance of the light emitted from the LED array 35.

【0022】図1はCPU28の機能ブロック図であ
る。この図1において、40は紙幣階調データ選定手段
を示している。この選定手段40はセンサ部20から得
られる被判別データより紙幣階調データのみを検索し、
取り出す。即ち、センサ部20で読み取った被判定デー
タには搬送ローラ38からの反射光にて読み取った不要
データと、被判別紙幣Pの印刷パターンより読み取った
紙幣階調データとが含まれている。そこで、紙幣階調デ
ータ選定手段40はデータ格納メモリ26を後述するよ
うにディジタルスライス値に基づいて検索し、紙幣階調
データの格納されている外形アドレスを選定する。
FIG. 1 is a functional block diagram of the CPU 28. In FIG. 1, reference numeral 40 denotes bill tone data selection means. This selection means 40 searches only the banknote gradation data from the discriminated data obtained from the sensor unit 20,
Take out. That is, the determination target data read by the sensor unit 20 includes unnecessary data read by the reflected light from the transport roller 38 and banknote gradation data read from the print pattern of the determination target banknote P. Therefore, the banknote gradation data selecting unit 40 searches the data storage memory 26 based on the digital slice value as described later, and selects the external address where the banknote gradation data is stored.

【0023】また、41はデータ分割手段を示してい
る。このデータ分割手段41は紙幣階調データ選定手段
40にて選定した外形アドレスに基づいて後述するよう
に演算処理を行なって紙幣階調データを複数のブロック
領域に均等に分割する。即ち、本実施例では被判別紙幣
Pの片面を8のブロック領域に均等に分割し、各ブロッ
ク領域の境界を境界アドレスとして演算する。
Reference numeral 41 denotes data dividing means. The data dividing unit 41 performs an arithmetic process based on the external address selected by the banknote gradation data selecting unit 40, as described later, to evenly divide the banknote gradation data into a plurality of block areas. That is, in the present embodiment, one side of the banknote P to be discriminated is equally divided into eight block areas, and the boundary of each block area is calculated as a boundary address.

【0024】また、42はヒストグラムデータ生成手段
を示している。このデータ生成手段42は境界アドレス
に基づいて各ブロック領域毎の分割階調データを取り出
し、各ブロック領域の分割階調データを後述するように
データ処理し、ヒストグラムデータを生成する。各ブロ
ック領域のヒストグラムデータは内部メモリ45に格納
される。
Reference numeral 42 denotes a histogram data generating means. The data generating means 42 extracts the divided grayscale data for each block area based on the boundary address, performs data processing on the divided grayscale data of each block area as described later, and generates histogram data. The histogram data of each block area is stored in the internal memory 45.

【0025】更に、43は紙幣判定手段を示している。
この紙幣判定手段43は紙幣毎の対応するブロック領域
における標準ヒストグラムデータを、制御データ格納メ
モリ32の標準ヒストグラムデータ格納部44より読出
し、各ブロック領域毎にこれら標準ヒストグラムデータ
とヒストグラムデータ生成手段42で生成した各ヒスト
グラムデータとの差を求め、その絶対値を加算する。そ
して、この加算値が最も小さい紙幣が被判別紙幣Pの金
種であると判定する。但し、最小の加算値が設定レベル
以上の場合には偽券と判定する。
Further, reference numeral 43 denotes a bill judgment means.
The bill determination means 43 reads out the standard histogram data in the corresponding block area for each bill from the standard histogram data storage section 44 of the control data storage memory 32, and the standard histogram data and the histogram data generation means 42 for each block area. The difference from each of the generated histogram data is obtained, and the absolute value is added. Then, it is determined that the bill with the smallest added value is the denomination of the bill P to be determined. However, when the minimum added value is equal to or higher than the set level, it is determined to be a counterfeit note.

【0026】次に、本発明に係る紙幣判別装置の動作を
図7の動作フローチャートにより説明する。先ず、図6
において、被判別紙幣Pが搬送路に搬入され、一方の受
光トランジスタ34の受光が遮断されると、この受光ト
ランジスタ34よりCPU28に検出信号が送出され
る。CPU28はこの検出信号を受けると、センサ部2
0及び搬送ローラ38を動作させる。従って、被判別紙
幣Pの搬送に伴なってその片面の印刷パターンが一次元
イメージセンサ37にて読み取られるので、センサ部2
0からはアナログの被判別信号が出力される(ステップ
1)。
Next, the operation of the bill discriminating apparatus according to the present invention will be described with reference to the operation flowchart of FIG. First, FIG.
When the banknote P to be discriminated is carried into the transport path and the light reception of one light receiving transistor 34 is interrupted, a detection signal is sent from the light receiving transistor 34 to the CPU 28. When the CPU 28 receives this detection signal, the sensor unit 2
0 and the transport roller 38 are operated. Accordingly, the one-sided print pattern is read by the one-dimensional image sensor 37 along with the transport of the bill P to be discriminated.
From 0, an analog discriminated signal is output (step 1).

【0027】被判別信号は増幅部22にて最適値まで増
幅され、A/D変換器23にてディジタル(被判定デー
タ)信号に変換される。この被判定データはそのままレ
ジスタ24に格納される。
The signal to be discriminated is amplified to an optimum value by the amplifier 22, and is converted into a digital (data to be discriminated) signal by the A / D converter 23. This data to be determined is stored in the register 24 as it is.

【0028】一方、センサセレクト回路25はCPU2
8の制御でセンサ部20のイメージセンサ37の画素を
選択する毎に対応したアドレスをアドレスセレクト回路
29に出力する。アドレスセレクト回路29はこれによ
りダイレクトにデータ格納メモリ26をアクセスし、格
納アドレスを指定する。従って、CPU28がデータ格
納メモリ26をアクセスすることがないので、レジスタ
24の被判別データをデータセレクト回路39を介して
データ格納メモリ26に短時間で格納することができ
る。
On the other hand, the sensor select circuit 25
Each time a pixel of the image sensor 37 of the sensor section 20 is selected under the control of 8, the corresponding address is output to the address select circuit 29. Thus, the address select circuit 29 directly accesses the data storage memory 26 and specifies a storage address. Therefore, since the CPU 28 does not access the data storage memory 26, the data to be determined of the register 24 can be stored in the data storage memory 26 via the data select circuit 39 in a short time.

【0029】ところで、センサ部20のイメージセンサ
37での主走査方向の画素数を 256とすると、被判別デ
ータは、図8に示すように、データ格納メモリ26にお
いてアドレスXX00〜XXFFに格納される。また、副走査方
向での被判別紙幣Pの一回の走査数を 256とすると、被
判別データはデータ格納メモリ26においてアドレス00
XX〜FFXXに格納される。即ち、被判別紙幣Pの片面の被
判別データはデータ格納メモリ26の0000〜FFFFのアド
レスに格納される。この場合1画素当たりの階調データ
を1バイト構成とすると、被判別紙幣Pの片面の全印刷
パターン及び搬送ローラ38周面パターンにおける被判
別データ数は64Kバイトとなる(図8参照)。
If the number of pixels in the main scanning direction of the image sensor 37 of the sensor section 20 is 256, the data to be determined is stored in the data storage memory 26 at addresses XX00 to XXFF as shown in FIG. . Assuming that the number of one scan of the banknote P to be determined in the sub-scanning direction is 256, the data to be determined is stored in the data storage memory 26 at the address 00.
XX to FFXX. That is, the discriminated data on one side of the discriminated bill P is stored in the data storage memory 26 at addresses 0000 to FFFF. In this case, if the gradation data per pixel is 1 byte, the number of data to be determined in the entire printing pattern on one side of the banknote P to be determined and the pattern on the peripheral surface of the conveying roller 38 is 64 Kbytes (see FIG. 8).

【0030】データ格納メモリ26に被判別データを全
て格納すると、CPU28の紙幣階調データ選定手段4
0は制御データ格納メモリ32をアクセスし、選定制御
プログラムを読み込む。これにより、この選定手段40
はディジタルスライス値に基づいて被判別データに含ま
れる紙幣階調データの外形アドレスを選定する。ディジ
タルスライス値は本実施例では40H(16進法のヘキ
サデシマル)に設定されている。即ち、被判別紙幣Pの
端部(エッジ部)は印刷が施されておらず、反射光が大
きいのに対し、搬送ローラ38の周面は黒色(系)なの
で、反射光が小さい。従って、ディジタルスライス値を
40Hに設定すると、この値より大きい場合には被判別
紙幣Pの端部と判定することができる。
When all the data to be discriminated are stored in the data storage memory 26, the banknote gradation data selecting means 4 of the CPU 28
0 accesses the control data storage memory 32 and reads the selection control program. Thereby, this selecting means 40
Selects the external address of the banknote gradation data included in the discriminated data based on the digital slice value. In this embodiment, the digital slice value is set to 40H (hexadecimal hexadecimal). That is, the end portion (edge portion) of the banknote P to be discriminated is not printed and the reflected light is large, whereas the peripheral surface of the transport roller 38 is black (system), so the reflected light is small. Accordingly, when the digital slice value is set to 40H, if the digital slice value is larger than this value, it can be determined that the bill P is the end of the bill P.

【0031】さて、紙幣階調データ選定手段40は、図
7のステップ2において、左側の受光トランジスタ34
が先に検出信号を出力した場合被判別紙幣Pは左側が先
になるように斜行して搬送されていると判断し、ステッ
プ3においてアドレスセレクト回路29を制御してアド
レスFF00,FE00,…0000,FF01,FE01…を順にデータ格
納メモリ26に出力する。これによって、データ格納メ
モリ26からはこれらの読み取りアドレス順にデータセ
レクト回路39及びデータバス30を介して各画素デー
タが送られてくる。データ選定手段40はこれら各画素
データをディジタルスライス値40Hと比較し、このス
ライス値を越えた画素データのアドレスを検出する。本
実施例では、図8に示すように、FC01(CAで示す画素
データ)のアドレスが検出され、これが被判別紙幣Pの
左端部に対応している。
Now, the banknote gradation data selecting means 40 sets the left light receiving transistor 34 in step 2 of FIG.
Output the detection signal first, it is determined that the banknote P to be discriminated is skewed and conveyed so that the left side comes first, and the address select circuit 29 is controlled in step 3 to control the addresses FF00, FE00,. 0000, FF01, FE01... Are sequentially output to the data storage memory 26. As a result, each pixel data is sent from the data storage memory 26 via the data select circuit 39 and the data bus 30 in the order of these read addresses. The data selecting means 40 compares each of the pixel data with the digital slice value 40H, and detects an address of the pixel data exceeding the slice value. In the present embodiment, as shown in FIG. 8, the address of FC01 (pixel data indicated by CA) is detected, and this corresponds to the left end of the bill P to be discriminated.

【0032】次に、紙幣階調データ選定手段40はアド
レス00FF,01FF,02FF,…FFFF,00FE,01FE…を順にデ
ータ格納メモリ26に出力し、これらアドレス順に送ら
れてくる画素データをディジタルスライス値40Hと比
較する。この場合のスライス値を越えた画素データのア
ドレスは04FD(C8で示す画素データ)であり、これが
被判別紙幣Pの右端部に対応している。
Next, the banknote gradation data selecting means 40 sequentially outputs the addresses 00FF, 01FF, 02FF,... FFFF, 00FE, 01FE to the data storage memory 26, and converts the pixel data sent in the order of these addresses into digital slices. Compare with value 40H. In this case, the address of the pixel data exceeding the slice value is 04FD (pixel data indicated by C8), which corresponds to the right end of the bill P to be discriminated.

【0033】次いで、紙幣階調データ選定手段40はア
ドレス0000,0001,0002,…00FF,0100,0101…を順に
データ格納メモリ26に出力し、これらアドレス順に送
られてくる画素データをディジタルスライス値40Hと
比較する。この場合のスライス値を越えた画素データの
アドレスは0302(BAで示す画素データ)であり、これ
が被判別紙幣Pの先端に対応している。
Next, the banknote gradation data selecting means 40 outputs addresses 0000, 0001, 0002,... 00FF, 0100, 0101... To the data storage memory 26 in order, and converts the pixel data sent in order of these addresses into digital slice values. Compare with 40H. In this case, the address of the pixel data exceeding the slice value is 0302 (pixel data indicated by BA), which corresponds to the leading end of the bill P to be discriminated.

【0034】最後に、紙幣階調データ選定手段40はア
ドレスFFFF,FFFE,FFFD,…FF00,FEFF,FEFE…を順に
データ格納メモリ26に出力し、これらアドレス順に送
られてくる画素データをディジタルスライス値40Hと
比較する。この場合のスライス値を越えた画素データの
アドレスはFDFC(BFで示す画素データ)であり、これ
が被判別紙幣Pの後端に対応している。
Finally, the banknote gradation data selecting means 40 sequentially outputs the addresses FFFF, FFFE, FFFD,... FF00, FEFF, FEFE. Compare with value 40H. The address of the pixel data exceeding the slice value in this case is FDFC (pixel data indicated by BF), which corresponds to the trailing end of the discriminated bill P.

【0035】以上のFC01,04FD,0302,FDFCの外形アド
レスにより被判別紙幣Pの印刷パターンに対応する紙幣
階調データの格納アドレスを判定することができる。こ
れらの外形アドレスはデータ分割手段41に供給され
る。データ分割手段41はステップ4において制御デー
タ格納メモリ32より分割制御プログラムを読み込む。
即ち、データ分割手段41は例えば、アドレス0302を
「l」,04FDを「m」,FC01を「p」,FDFCを「q」と
定義し、紙幣階調データをx,yの二次元として判断す
る。図9は外形アドレスに基づいて紙幣階調データを
x,yの二次元で表わした例である。
Based on the external addresses of FC01, 04FD, 0302, and FDFC, the storage address of the banknote gradation data corresponding to the print pattern of the banknote P to be determined can be determined. These external addresses are supplied to the data dividing means 41. The data division means 41 reads the division control program from the control data storage memory 32 in step 4.
That is, for example, the data dividing means 41 defines the address 0302 as “l”, the 04FD as “m”, the FC01 as “p”, and the FDFC as “q”, and determines the banknote gradation data as two-dimensional x and y. I do. FIG. 9 shows an example in which the banknote gradation data is represented in two dimensions of x and y based on the external address.

【0036】次に、データ分割手段41は各アドレス
「l」,「m」,「p」,「q」が2バイトで表記され
ているので、これらのアドレスをx軸とy軸に分け、か
つx軸を副走査方向に、又y軸を主走査方向に対応させ
る。例えば、アドレス「l」は0302なので、l(H)=03=y
軸,l(l)=02=x軸とする。従って、アドレス「m」は04
FDなので、m(h)=04=y軸,m(l)=FD=x軸、アドレス
「p」はFC01なので、p(h)=FC=y軸,p(l)=01=x軸、ア
ドレス「q」はFDFCなので、q(h)=FD=y軸,q(l)=FC=x
軸となる。
Next, since each address "l", "m", "p", "q" is represented by 2 bytes, the data dividing means 41 divides these addresses into x-axis and y-axis, The x-axis corresponds to the sub-scanning direction, and the y-axis corresponds to the main scanning direction. For example, since the address “l” is 0302, l (H) = 03 = y
Axis, l (l) = 02 = x axis. Therefore, the address "m" is 04
Since FD, m (h) = 04 = y-axis, m (l) = FD = x-axis, and the address “p” is FC01, so p (h) = FC = y-axis, p (l) = 01 = x-axis Since the address "q" is FDFC, q (h) = FD = y-axis and q (l) = FC = x
Axis.

【0037】ひき続き、データ分割手段41は紙幣階調
データをブロック領域に分割すべく各領域の境界アドレ
スを次式により算出する。即ち、アドレス「l」と
「m」を4分割する場合の境界アドレスAxyは、 Ax ={X(m(l)−l(l)/4}+l(l) …(1) Ay ={Y(m(h)−l(h)/4}+l(h) …(2) で示すことができる。
Subsequently, the data dividing means 41 calculates a boundary address of each area by the following equation in order to divide the banknote gradation data into block areas. That is, the boundary address Axy when dividing the address “l” and “m” into four is: Ax = {X (m (l) −l (l) ) / 4} + l (l) (1) Ay = { Y (m (h) −l (h) ) / 4} + l (h) (2)

【0038】また、アドレス「p」,「q」を4分割す
る場合の境界アドレスCxyは、 Cx ={X(q(l)−p(l)/4}+p(l) …(3) Cy ={Y(q(h)−p(h)/4}+p(h) …(4) で示すことができる。
The boundary address Cxy when dividing the addresses "p" and "q" into four is: Cx = {X (q (l) -p (l) ) / 4} + p (l) (3) Cy = {Y (q (h) -p (h) ) / 4} + p (h) (4)

【0039】更に、アドレス「l」,「p」と「m」,
「q」を二分割する場合の境界アドレスBxyは、 Bx =(Ax −Cx )/2+Cx =Ax +Cx )/2 …(5) By =(Cy −Ay )/2+Ay =Ay +Cy )/2 …(6) で示すことができる。
Further, addresses "l", "p" and "m",
The boundary address Bxy when "q" is divided into two is: Bx = (Ax-Cx) / 2 + Cx = ( Ax + Cx ) / 2 (5) By = (Cy-Ay) / 2 + Ay = ( Ay + Cy ) / 2 … (6)

【0040】以上の (1)〜(6) 式にて紙幣階調データを
8分割すると、図9に示すように、Z1〜Z8のブロッ
ク領域に分割することができる。従って、被判別紙幣P
は表裏両面があることから、16のブロック領域に分割
されることになる。
When the banknote gradation data is divided into eight by the above equations (1) to (6), it can be divided into block areas Z1 to Z8 as shown in FIG. Therefore, the discriminated bill P
Is divided into 16 block areas because it has both front and back sides.

【0041】このように、紙幣階調データを8のブロッ
ク領域に分割すると、ヒストグラムデータ生成手段42
は各ブロック領域Z1 〜Z8 の分割階調データをデータ
処理し、ヒストグラムデータを生成する(ステップ
5)。即ち、ヒストグラムデータ生成手段42は制御デ
ータ格納メモリ32よりデータ処理プログラムを読み込
み、先ず、ブロック領域Z1 に含まれる全てのアドレス
をアドレスセレクト回路29に送出し、データ格納メモ
リ26のアドレスに対応する画素データ、即ち分割階調
データを取り込む。
As described above, when the banknote gradation data is divided into eight block areas, the histogram data generation means 42
Performs data processing on the divided gradation data of each of the block areas Z1 to Z8 to generate histogram data (step 5). That is, the histogram data generating means 42 reads the data processing program from the control data storage memory 32, first sends out all the addresses included in the block area Z1 to the address selection circuit 29, and outputs the pixels corresponding to the addresses of the data storage memory 26. Data, that is, divided gradation data is taken in.

【0042】そして、このブロック領域Z1 内の各分割
階調データのレベルを母集団として同一レベル分割階調
データ毎にサンプル数、つまり画素数を加算し、この分
割階調データレベル毎の加算データをヒストグラムデー
タとして生成する。本実施例では分割階調データは1バ
イト構成なので、 256個の母集団(データ数)として示
すことができる。従って、ブロック領域Z1 の全アドレ
スに対応する画素数は256に区分された分割階調データ
レベル毎に分布し、各ヒストグラムデータを構成するこ
とになる。即ち、ブロック領域Z1 の各ヒストグラムデ
ータをH1 、分割階調データのレベルをU(1,2,
3,…256 )とすると、ブロック領域Z1の全ヒストグ
ラムデータZ1 (U)は、次のように示される。 Zn (U)=ΣHn (U:1,2,3,…256 ) …(7)
The number of samples, that is, the number of pixels is added to each of the same-level divided gray-scale data using the level of each of the divided gray-scale data in the block area Z1 as a population. Is generated as histogram data. In this embodiment, the divided gradation data has a one-byte structure, and can be represented as a population of 256 (number of data). Therefore, the number of pixels corresponding to all addresses of the block area Z1 is distributed for each of the 256 divided grayscale data levels, and constitutes each histogram data. That is, each histogram data of the block area Z1 is represented by H1, and the level of the divided gradation data is represented by U (1, 2, 2,.
3,... 256), the entire histogram data Z1 (U) of the block area Z1 is expressed as follows. Zn (U) = ΣHn (U: 1, 2, 3,... 256) (7)

【0043】図10はブロック領域Z1 のヒストグラム
データの度数分布を示す波形図である。この図10にお
いて、横軸は分割階調データのレベル(0〜 256)、縦
軸は画素数を示している。以下、同様にヒストグラムデ
ータ生成手段42は他のブロック領域Z2 〜Z8の各ヒ
ストグラムデータHn (U)を生成する。得られた各ブ
ロック領域Z1 〜Z8 の全ヒストグラムデータZ1
(U)〜Z8(U)は内部メモリ45に格納される。
FIG. 10 is a waveform diagram showing the frequency distribution of the histogram data of the block area Z1. In FIG. 10, the horizontal axis represents the level (0 to 256) of the divided gradation data, and the vertical axis represents the number of pixels. Hereinafter, similarly, the histogram data generating means 42 generates each histogram data Hn (U) of the other block areas Z2 to Z8. All the histogram data Z1 of each of the obtained block areas Z1 to Z8
(U) to Z8 (U) are stored in the internal memory 45.

【0044】各ブロック領域Z1 〜Z8 毎のヒストグラ
ムデータの生成が終了すると、紙幣判定手段43は制御
データ格納メモリ32の標準ヒストグラムデータ格納部
44より標準ヒストグラムデータを取り込む。この標準
ヒストグラムデータは、標準的な複数枚の「万円券」、
「五千円券」、「千円券」の表と裏を、上記したと同様
に8のブロック領域に分割し、かつ二つの搬入方向毎に
上記ヒストグラムデータを生成して得たもので、予め標
準ヒストグラムデータ格納部44に格納されている。従
って、標準ヒストグラムデータのパターンをSknとする
と、3金種の表裏及び二つの搬入方向によってk=12
となり、又nは8のブロック領域Z1 〜Z8 に分割され
ていることからn=1〜8となる。
When the generation of the histogram data for each of the block areas Z1 to Z8 is completed, the bill judging means 43 takes in the standard histogram data from the standard histogram data storage section 44 of the control data storage memory 32. This standard histogram data includes standard multiple "10,000 yen vouchers"
It is obtained by dividing the front and back of “5,000 yen ticket” and “1,000 yen ticket” into 8 block areas in the same manner as described above, and generating the histogram data for each of two loading directions, It is stored in the standard histogram data storage unit 44 in advance. Therefore, assuming that the pattern of the standard histogram data is Skn, k = 12 depending on the front and back sides of the three denominations and the two loading directions.
And n = 1 to 8 because n is divided into eight block areas Z1 to Z8.

【0045】紙幣判定手段43は、ステップ6を実行す
るため、次に、標準ヒストグラムデータの最初のパター
ンS1n (例えば、万円券の表を一方向から搬入して得
たパターン)における各対応するブロック領域のヒスト
グラムデータS11(U)〜S18(U)と、内部メモリ4
5に格納した被判別紙幣Pの各ブロック領域Z1 〜Z8
における全ヒストグラムデータZ1 (U)〜Z8 (U)
との各ヒストグラムデータ毎の差を、二値化データに変
換した上で算出し、その差の絶対値を求める。即ち、生
成して得た全ヒストグラムデータZ1 (U)〜Z8
(U)の各ヒストグラムデータを二値化データとしてD
1 〜D256 に変換し、パターンS1nの全ヒストグラムデ
ータS11(U)〜S18(U)の各ヒストグラムデータT
1 〜T256 との差の絶対値|T1 −D1 |,|T2 −D
2 |…|S256 −D256 |を求める。
In order to execute step 6, the banknote judgment means 43 next executes each corresponding pattern in the first pattern S1n of standard histogram data (for example, a pattern obtained by loading a table of ten thousand yen from one direction). The histogram data S11 (U) to S18 (U) of the block area and the internal memory 4
5, each block area Z1 to Z8 of the discriminated bill P stored in
Histogram data Z1 (U) to Z8 (U)
Is calculated after being converted into binary data for each histogram data, and the absolute value of the difference is obtained. That is, all the generated histogram data Z1 (U) to Z8
Each of the histogram data of (U) is used as binarized data and D
1 to D256, and each histogram data T11 of all the histogram data S11 (U) to S18 (U) of the pattern S1n.
Absolute value | T1 -D1 |, | T2 -D of difference from 1 to T256
2 | ... | S256-D256 |

【0046】次いで、紙幣判定手段43は各ブロック領
域Z1 〜Z8 毎に、差の絶対値|T1 −D1 |,|T2
−D2 |…|S256 −D256 |を加算する。即ち、各ブ
ロック領域の総加算値をZk (n)とし、差の絶対値を
R(U)とすると、 Zk (n)=Σ(U=1,2,3,…256 )|R(U)| …(8) となる。
Next, the banknote judgment means 43 determines the absolute value of the difference | T1-D1 |, | T2 for each of the block areas Z1 to Z8.
-D2 | ... | S256-D256 | is added. That is, assuming that the total added value of each block area is Zk (n) and the absolute value of the difference is R (U), Zk (n) = Σ (U = 1, 2, 3,... 256) | R (U ) | (8)

【0047】図11は絶対値の演算結果を示し、パター
ンS1nに対するブロック領域Z1 において各ヒストグラ
ムデータD1 〜D256 の差の絶対値の総加算値Z1
(1)は598H、同Z2 の総加算値Z1 (2)は14C
H、同Z3 の総加算値Z1 (3)は94DH、同Z4 の
総加算値Z1 (4)は29FH、同Z5 の総加算値Z1
(5)は356 H、同Z6 の総加算値Z1 (6)はBDOH、
同Z7 の総加算値Z1 (7)はD5H、同Z8 の総加算
値Z1 (8)は49AHである。
FIG. 11 shows the calculation result of the absolute value. In the block area Z1 for the pattern S1n, the total added value Z1 of the absolute value of the difference between the histogram data D1 to D256 is obtained.
(1) is 598H, total added value Z1 of the same Z2 (2) is 14C
H, Z3 total addition value Z1 (3) is 94DH, Z4 total addition value Z1 (4) is 29FH, Z5 total addition value Z1
(5) is 356 H, the total sum Z1 of Z6 is (6) is BDOH,
The total addition value Z1 (7) of Z7 is D5H, and the total addition value Z1 (8) of Z8 is 49AH.

【0048】以下、同様に、紙幣判定手段43は他のパ
ターンS2n、S3n、…S12n において各ブロック領域Z
1 〜Z8 毎にそれぞれのヒストグラムデータD1 〜D25
6 に対する差の絶対値を求め、(8) 式により各パターン
に対応させてブロック領域毎の総加算値Zk(n)を演算す
る。
Hereinafter, similarly, the banknote determination means 43 determines whether each of the block areas Z in the other patterns S2n, S3n,.
Histogram data D1 to D25 for each of 1 to Z8
The absolute value of the difference with respect to 6 is obtained, and the total added value Zk (n) for each block area is calculated according to equation (8) for each pattern.

【0049】ひき続き、紙幣判定手段43は12通りの
各パターンS1n〜S12n における各ブロック領域Z1 〜
Z8 の総加算値ZK(1)〜ZK(8)を加算する。即ち、判定
値をDK とすると、 DK =Σ(n=1,2, …8)Zk(n) …(9) 従って、パターンS1nの判定値は2765H 、パターンS2n
の判定値は2FDOH 、…パターンS12n の判定値は 26E2H
となる。
Subsequently, the bill judging means 43 checks each block area Z1 to Z12 in each of the twelve patterns S1n to S12n.
The total addition value ZK (1) to ZK (8) of Z8 is added. That is, assuming that the judgment value is DK, DK = Σ (n = 1, 2,... 8) Zk (n) (9) Therefore, the judgment value of the pattern S1n is 2765H and the pattern S2n
The judgment value of 2FDOH, ... the judgment value of pattern S12n is 26E2H
Becomes

【0050】最後に、紙幣判定手段43は各パターンS
1n〜S12n の各判定値Dk を比較し、最も小さい判定値
Dk のパターンの紙幣を被判別紙幣Pと判定する(ステ
ップ7)。即ち、図11においてはD3 =27AHで示
すS3nパターンが最も小さい判定値なので、このS3nパ
ターンで示す紙幣が該当する金種であると判定する。
尚、上記実施例において、最も小さい判定値Dk が設定
範囲以上の場合紙幣判定手段43は被判別紙幣Pが偽券
であると判定する。
Finally, the bill judgment means 43 determines whether each of the patterns S
The respective judgment values Dk of 1n to S12n are compared, and the banknote having the pattern of the smallest judgment value Dk is judged as the banknote P to be discriminated (step 7). That is, in FIG. 11, the S3n pattern indicated by D3 = 27AH is the smallest judgment value, so that the banknote indicated by the S3n pattern is judged to be the corresponding denomination.
In the above embodiment, when the smallest determination value Dk is equal to or larger than the set range, the bill determining means 43 determines that the bill P to be determined is a fake bill.

【0051】次に、第2の発明に係る紙幣判別装置につ
いて説明する。図12及び図13は第2の発明の紙幣判
別装置のCPUの機能ブロック図と全体構成のブロック
図である。先ず、図13において、レジスタ24の出力
側にはデータセレクト回路39(図5参照)に代えてバ
ッファメモリ27が接続されている。このバッファメモ
リ27はレジスタ24に格納された被判別データの格納
に用いられ、上記したように、データ格納メモリ26の
所定のアドレス位置に被判別データを順次出力する。
尚、図13において、その他の構成は図5の装置と同一
なので、同一符号を付してその説明を省略する。
Next, a bill discriminating apparatus according to the second invention will be described. FIGS. 12 and 13 are a functional block diagram and a block diagram of the overall configuration of the CPU of the bill discriminating apparatus of the second invention. First, in FIG. 13, a buffer memory 27 is connected to the output side of the register 24 instead of the data select circuit 39 (see FIG. 5). The buffer memory 27 is used for storing the data to be determined stored in the register 24, and sequentially outputs the data to be determined to a predetermined address position of the data storage memory 26 as described above.
In FIG. 13, since the other configuration is the same as that of the apparatus of FIG. 5, the same reference numerals are given and the description is omitted.

【0052】次いで、図12において、データ演算手段
49は境界アドレスに基づいて各ブロック領域毎の分割
階調データを取り出し、各ブロック領域の分割階調デー
タの積分値を算出する。各ブロック領域の積分値は内部
メモリ45に格納される。金種方向判定手段50は制御
データ格納メモリ32の重み付けデータ格納部47より
予め紙幣毎に設定した重み付けデータを読み出し、ブロ
ック領域毎に算出した上記積分値にこの重み付けデータ
を積算すると共に、このブロック領域毎の積算値を加算
する。
Next, in FIG. 12, the data calculation means 49 extracts the divided gradation data for each block area based on the boundary address, and calculates the integral value of the divided gradation data for each block area. The integrated value of each block area is stored in the internal memory 45. The denomination direction judging means 50 reads out the weighting data set in advance for each bill from the weighting data storage section 47 of the control data storage memory 32, integrates this weighting data with the above-mentioned integrated value calculated for each block area, Add the integrated value for each area.

【0053】ところで、重み付けデータは、標準的な複
数枚の「万円券」、「五千円券」、「千円券」の表と裏
を、それぞれブロック領域に分割し、各ブロック領域の
特に大きなレベルの分割階調データを抽出し、この抽出
部分に大きな数値を設定したデータ構成を有している。
そして、金種方向判定手段50は、上記積算値の最も大
きい加算値を選定し、これにより被判別紙幣Pの金種及
びその表・裏、搬送方向(金種方向)を判定する。
By the way, the weighting data is obtained by dividing the front and back of a standard plurality of "10,000 yen", "5,000 yen", and "1,000 yen" into block areas, respectively. In particular, it has a data configuration in which divided gradation data of a large level is extracted, and a large numerical value is set in the extracted portion.
Then, the denomination direction determining means 50 selects the largest added value of the integrated value, and thereby determines the denomination of the banknote P to be discriminated, its front and back, and the transport direction (the denomination direction).

【0054】紙幣真偽判定手段51はヒストグラムデー
タ生成手段42にて生成した各ブロック領域のヒストグ
ラムデータに所定の演算処理を行ってデータ圧縮し、こ
の圧縮ヒストグラムデータと、標準圧縮ヒストグラムデ
ータ格納部44′の金種方向を判定した紙幣の標準圧縮
ヒストグラムデータとを後述するように演算処理する。
そして、この演算結果が基準データ格納部48の基準デ
ータ内の数値の場合、被判別紙幣Pを真券と判定する。
The bill authenticity judging means 51 performs predetermined arithmetic processing on the histogram data of each block area generated by the histogram data generating means 42 to compress the data, and the compressed histogram data and the standard compressed histogram data storage 44 ', And the standard compressed histogram data of the banknote for which the denomination direction has been determined is processed as described later.
If the result of this calculation is a numerical value in the reference data in the reference data storage unit 48, the discrimination target bill P is determined to be genuine.

【0055】次に、第2の発明の紙幣判別装置の動作を
図14の動作フローチャートにより説明する。先ず、上
記したと同様に被判別紙幣Pの印刷パターンをセンサ2
0により読み取り(ステップ1)、アナログの被判定信
号をA/D変換器23にてディジタル変換し、レジスタ
24、バッファメモリ27を介してデータ格納メモリ2
6に被判別データを格納させる。次に、紙幣階調データ
選定手段40は、ステップ2及び3でディジタルスライ
ス値に基づいて上記したと同様に外形アドレスを判定す
る。即ち、図8に示すように、外形アドレスFC01、04F
D、0302、FDFCを判定する。次いで、データ分割手段4
1は外形アドレスに基づいて上記したと同様に紙幣階調
データをX、Yの二次元として判別し、外形アドレスを
図15に示すように、「l」、「m」、「p」、「q」
と定義する。
Next, the operation of the bill discriminating apparatus of the second invention will be described with reference to the operation flowchart of FIG. First, in the same manner as described above, the print pattern of the
0 (step 1), the analog signal to be determined is digitally converted by the A / D converter 23, and the data is stored in the data storage memory 2 via the register 24 and the buffer memory 27.
6 stores the data to be determined. Next, the banknote tone data selecting means 40 determines the outer shape address based on the digital slice value in steps 2 and 3 in the same manner as described above. That is, as shown in FIG.
D, 0302, FDFC is determined. Next, the data dividing means 4
1 determines the banknote gradation data as two-dimensional X and Y based on the outer shape address in the same manner as described above, and determines the outer shape address as “l”, “m”, “p”, “p” as shown in FIG. q "
Is defined.

【0056】ひき続き、データ分割手段41は紙幣階調
データをブロック領域に分割すべく各領域の境界アドレ
スを次式により算出する。即ち、本実施例では図15に
示すように、アドレス「l」と「m」を8分割してお
り、境界アドレスAxyは、 Ax ={X(m(l)−l(l)/8}+l(l) …(10) Ay ={Y(m(h)−l(h)/8}+l(h) …(11) で示すことができる。
Subsequently, the data dividing means 41 calculates the boundary address of each area by the following equation in order to divide the banknote gradation data into block areas. That is, in this embodiment, as shown in FIG. 15, the address “l” and “m” are divided into eight, and the boundary address Axy is Ax = {X (m (l) −l (l) ) / 8 } + L (l) (10) Ay = {Y (m (h) -l (h) ) / 8} + l (h) (11)

【0057】また、アドレス「p」、「q」を8分割す
る場合の境界アドレスCxyは、 Cx ={X(q(l)−p(l)/8}+p(l) …(12) Cy ={Y(q(h)−p(h)/8}+p(h) …(13) で示すことができる。
The boundary address Cxy for dividing the addresses “p” and “q” into eight is: Cx = {X (q (l) −p (l) ) / 8} + p (l) (12) Cy = {Y (q (h) -p (h) ) / 8} + p (h) (13)

【0058】更に、アドレス「l」,「p」と「m」,
「q」を二分割する場合の境界アドレスBxyは、 Bx =(Ax −Cx )/2+Cx =Ax +Cx )/2 …(14) By =(Cy −Ay )/2+Ay =Ay +Cy )/2 …(15) で示すことができる。
Further, addresses "l", "p" and "m",
The boundary address Bxy when “q” is divided into two is: Bx = (Ax−Cx) / 2 + Cx = ( Ax + Cx ) / 2 (14) By = (Cy−Ay) / 2 + Ay = ( Ay + Cy ) / 2 … (15)

【0059】以上の (10) 〜(15) 式にて紙幣階調デー
タを16分割すると、図15に示すように、Z1 〜Z16
のブロック領域に分割することができる(ステップ
4)。従って、被判別紙幣Pは表裏両面があることか
ら、32のブロック領域に分割されることになる。
When the banknote gradation data is divided into 16 by the above equations (10) to (15), Z1 to Z16 are obtained as shown in FIG.
(Step 4). Accordingly, the bill P to be discriminated has both front and back sides, and is therefore divided into 32 block areas.

【0060】このように、紙幣階調データを16のブロ
ック領域に分割すると、データ演算手段49は各ブロッ
ク領域Z1 〜Z16の分割階調データの積分値を算出する
(ステップ5)。即ち、データ演算手段49は制御デー
タ格納メモリ32より演算プログラムを読み込み、先
ず、ブロック領域Z1 に含まれる全てのアドレスをアド
レスセレクト回路29に送出し、データ格納メモリ26
のアドレスに対応する画素データ、即ち分割階調データ
を取り込む。
As described above, when the banknote gradation data is divided into 16 block areas, the data calculating means 49 calculates the integral value of the divided gradation data of each of the block areas Z1 to Z16 (step 5). That is, the data operation means 49 reads the operation program from the control data storage memory 32, first sends out all the addresses included in the block area Z1 to the address selection circuit 29, and
, Ie, the divided gradation data.

【0061】そして、このブロック領域Z1 内の各分割
階調データの積分値S1 を算出する。即ち、ブロック領
域Z1 の画素数をt、各画素の階調データ数をeとする
と、 Sn =Σe(x) …(16) により算出することができる。以下、同様にデータ演算
手段49は他のブロック領域Z2 〜Z16の各積分値S2
〜S16を上記(16)式に基づいて算出する。得られた各ブ
ロック領域Z1 〜Z16の積分値S1 〜S16は内部メモリ
45に格納される。
Then, the integral value S1 of each divided gradation data in the block area Z1 is calculated. That is, assuming that the number of pixels in the block area Z1 is t and the number of gradation data of each pixel is e, it can be calculated by Sn = Σe (x) (16). Hereinafter, similarly, the data calculating means 49 calculates the integrated values S2 of the other block areas Z2 to Z16.
S16 are calculated based on the above equation (16). The obtained integral values S1 to S16 of the respective block areas Z1 to Z16 are stored in the internal memory 45.

【0062】積分値の演算が終了すると、金種方向判定
手段50は制御データ格納メモリ32の重み付けデータ
格納部47より重み付けデータを取り込む。この重み付
けデータは、パターンをSknとすると、3金種の表裏及
び二つの搬入方向によってk=12となり、又nは16
のブロック領域Z1 〜Z16に分割されていることからn
=1〜16となる。金種方向判定手段50は、次に、重
み付けデータの最初のパターンS1n(例えば、万円券の
表を一方向から搬入して得たパターン)における各ブロ
ック領域の重み付けデータW11〜W116 と、内部メモリ
45に格納した被判別紙幣Pの各ブロック領域Z1 〜Z
16における積分値S1 〜S16との積を、二値化データに
変換した上で算出し、これら積算値を加算する。即ち、
重み付けデータをWknとすると、積分値Sn との積算値
の加算値Gk は、 Gk =Σ(n=1,2,16)Sn ×Wkn …(17) となる。
When the calculation of the integral value is completed, the denomination direction judging means 50 takes in the weight data from the weight data storage section 47 of the control data storage memory 32. If the pattern is Skn, k = 12 depending on the front and back sides of the three denominations and two loading directions, and n is 16
Is divided into the block areas Z1 to Z16 of
= 1 to 16. Next, the denomination direction determining means 50 determines the weighting data W11 to W116 of each block area in the first pattern S1n of the weighting data (for example, a pattern obtained by loading a table of ten thousand yen coins from one direction). Each block area Z1 to Z of the discriminated bill P stored in the memory 45
The product of the integrals S1 to S16 at 16 is calculated after being converted into binary data, and these integrated values are added. That is,
Assuming that the weighting data is Wkn, the added value Gk of the integrated value with the integrated value Sn is as follows: Gk = Σ (n = 1, 2, 16) Sn × Wkn (17)

【0063】図16ではこれら積算値と加算値の演算結
果を示し、パターンS1nにおける積算値はn=1で16
AH、n=2で2D5H、n=3で3C5H、n=4で 140
H…n=15で 278H 、n=16でFDとなり、これ
ら積算値の加算値G1 は 2AD5Hとなっている。以下、同
様に金種方向判定手段50は他のパターンS2n、S3n…
S12n における積算値及び加算値を(17)式により算出す
る。引き続き、金種方向判定手段50は各パターンS1n
〜S12n の各加算値Gk を比較し、最も大きい加算値の
パターンの紙幣を被判別紙幣Pと判定する。即ち、図1
6においてはG3 =52A3H で示すS3nパターンが最も大
きい加算値なので、このS3nパターンで示す紙幣が該当
する金種及び方向であると判定する(ステップ7)。
FIG. 16 shows the calculation result of the integrated value and the added value. The integrated value in the pattern S1n is 16 when n = 1.
AH, 2D5H when n = 2, 3C5H when n = 3, 140 when n = 4
H... 278H when n = 15, FD when n = 16, and the sum G1 of these integrated values is 2AD5H. Hereinafter, similarly, the denomination direction judging means 50 sets the other patterns S2n, S3n.
The integrated value and the added value in S12n are calculated by equation (17). Subsequently, the denomination direction judging means 50 checks each pattern S1n
The banknotes having the pattern of the largest addition value are determined to be the banknotes P to be discriminated. That is, FIG.
In S6, since the S3n pattern represented by G3 = 52A3H is the largest addition value, it is determined that the bill indicated by the S3n pattern is the corresponding denomination and direction (step 7).

【0064】このように、金種方向が判定されると、ヒ
ストグラムデータ生成手段42は、上記したように、各
ブロック領域Z1 〜Z16の分割階調データをデータ処理
し、ヒストグラムデータH(U=1,2, …256)から成る全ヒ
ストグラムデータZ1 (U)〜Z16(U)を生成する
(ステップ8)。これらヒストグラムデータZ1 (U)
〜Z16(U)は内部メモリ45に格納される。ヒストグ
ラムデータの生成が終了すると、紙幣真偽判定手段51
は内部メモリ45より各ブロック領域Z1 〜Z16の全ヒ
ストグラムデータZ1 (U)〜Z16(U)を読み込み、
次の演算処理を施す(ステップ9)。即ち、各ヒストグ
ラムデータをHn (U)、ヒストグラムデータの最小値
をHn(min)、ヒストグラムデータの最大値をHn(max)と
すると、正規化演算データEn (U)は次式のようにな
る。 En (U)={Hn (U)−Hn(min)}×{Hn(max)−Hn(min)} …(18)
As described above, when the denomination direction is determined, the histogram data generating means 42 processes the divided gradation data of each of the block areas Z1 to Z16 as described above, and generates the histogram data H (U = U All histogram data Z1 (U) to Z16 (U) consisting of (1, 2,..., 256) are generated (step 8). These histogram data Z1 (U)
ZZ16 (U) are stored in the internal memory 45. When the generation of the histogram data is completed, the bill authenticity determination unit 51
Reads all the histogram data Z1 (U) to Z16 (U) of each block area Z1 to Z16 from the internal memory 45,
The following arithmetic processing is performed (step 9). That is, assuming that each histogram data is Hn (U), the minimum value of the histogram data is Hn (min), and the maximum value of the histogram data is Hn (max), the normalized operation data En (U) is as follows. . En (U) = {Hn (U) −Hn (min)} × {Hn (max) −Hn (min)} (18)

【0065】紙幣真偽判定手段51は各ブロック領域Z
1 〜Z16の正規化演算データEn (U)を演算すると、
引き続いてこの演算データEn (U)のデータ圧縮を次
式のように行う。即ち、En (U)を圧縮した正規化演
算データをLn (以下、圧縮ヒストグラムデータと称
す)とすると、 Ln (X)=M/4 …(19) となる。この(19)式でMは装置として紙幣階調データの
読み取り可能な最大値を示しており、A/D変換器23
の変換機能によって決定される。本実施例では8ビット
処理のA/D変換器23を使用しているので、M=256
となり、正規化演算データEn (U)が1/4にデータ
圧縮されている。
The bill validity judging means 51 checks each block area Z
When the normalized operation data En (U) of 1 to Z16 is calculated,
Subsequently, data compression of the operation data En (U) is performed as in the following equation. That is, assuming that normalized operation data obtained by compressing En (U) is Ln (hereinafter, referred to as compressed histogram data), Ln (X) = M / 4 (19). In this equation (19), M indicates the maximum value from which the bill tone data can be read by the device, and the A / D converter 23
Is determined by the conversion function. In this embodiment, since the A / D converter 23 of 8-bit processing is used, M = 256.
Thus, the normalized operation data En (U) is data-compressed to 1/4.

【0066】図17の実線は正規化演算データEn (U
=1,2,3,…256 )の度数分布を示し、又その破線
は1/4にデータ圧縮された圧縮ヒストグラムデータL
n (X=1,2,3,…64)を示している。
The solid line in FIG. 17 indicates the normalized operation data En (U
= 1, 2, 3,... 256), and the broken line indicates the compressed histogram data L which has been compressed to 1/4.
n (X = 1, 2, 3,... 64).

【0067】データ圧縮が終了すると、紙幣真偽判定手
段51は制御データ格納メモリ32の標準圧縮ヒストグ
ラムデータ格納部44′より、金種方向判定手段50に
て金種方向の判定された紙幣の標準圧縮ヒストグラムデ
ータを取り込む(ステップ10)。この標準圧縮ヒスト
グラムデータは、標準的な複数枚の「万円券」、「五千
円券」、「千円券」の表・裏を、上記したと同様に16
のブロック領域に分割し、かつ二つの搬入方向毎に上記
(18)式及び(19)式により算出されたものである。従っ
て、標準圧縮ヒストグラムデータのパターンをSknとす
ると、同様に金種方向k=12、ブロック領域の数n=
16となる。紙幣真偽判定手段51は、次に、金種方向
の判定された紙幣のパターンS3n(例えば、万円券の裏
を他方向から搬入して得たパターン)におけるブロック
領域の標準圧縮ヒストグラムデータP31(X) 〜P316(X)
と、内部メモリ45の被判別紙幣Pの各ブロック領域Z
1 〜Z16における圧縮ヒストグラムデータL1(X)〜L16
(X) との差の絶対値を求める。即ち、差の絶対値は、|
P31(X) −L1(X)|、|P32(X) −L2(X)|、…|P31
6(X)−L16(X) |となる。
When the data compression is completed, the bill authenticity judging means 51 uses the standard compressed histogram data storage section 44 ′ of the control data storage memory 32 to output the standard value of the bill judged by the denomination direction judging means 50. The compressed histogram data is taken in (step 10). The standard compressed histogram data is obtained by converting the front and back of a plurality of standard “10,000 yen notes”, “5,000 yen notes”, and “1,000 yen notes” in the same manner as described above.
Divided into two block areas, and the above
This is calculated by equations (18) and (19). Therefore, if the pattern of the standard compressed histogram data is Skn, similarly, the denomination direction k = 12 and the number n of block areas are n =
It becomes 16. Next, the banknote authenticity determination unit 51 outputs the standard compressed histogram data P31 of the block area in the banknote pattern S3n determined in the denomination direction (for example, a pattern obtained by carrying the back of a ten thousand yen note from another direction). (X) to P316 (X)
And each block area Z of the bill P to be discriminated in the internal memory 45
Compressed histogram data L1 (X) to L16 in 1 to Z16
Find the absolute value of the difference from (X). That is, the absolute value of the difference is
P31 (X) -L1 (X) |, | P32 (X) -L2 (X) |, ... | P31
6 (X) -L16 (X) |

【0068】次いで、紙幣真偽判定手段51はこれらの
絶対値をブロック領域毎に加算する。即ち、絶対値の加
算値をR3nとすると、次式にて示すことができる。 R3n=Σ(X=1,2, …64) |P3n(X) −Ln(X)| …(20) 図18は各ブロック領域Z1 〜Z16毎の絶対値の加算値
R3nを示し、ブロック領域Z1 ではR31=138H、同Z2
のR32=194H…同Z16のR316 =157Hとなっている。そ
の後、紙幣真偽判定手段51は制御データ格納メモリ3
2の基準データ格納部48より紙幣のパターンS3nに対
応している基準データT3nを読み取る(ステップ1
1)。そして、これらの基準データと加算値R3nをそれ
ぞれブロック領域Z1 〜Z16毎に比較し、全ての加算値
R3nが基準データT3nよりも小さいと判断すると、被判
別紙幣Pが真券であると判定する。尚、金種は上述した
ように、予め金種方向判定手段50により判定されてい
る。一方、加算値R3nの一つでも基準データT3nよりも
大きい場合紙幣真偽判定手段51は被判別紙幣Pを偽券
と判定する。
Next, the bill validity judging means 51 adds these absolute values for each block area. That is, when the sum of the absolute values is R3n, it can be expressed by the following equation. R3n = Σ (X = 1,2,... 64) | P3n (X) −Ln (X) | (20) FIG. 18 shows the sum R3n of the absolute values for each of the block areas Z1 to Z16. In Z1, R31 = 138H, Z2
R32 = 194H... R316 of the same Z16 = 157H. After that, the bill authenticity determining means 51 stores the control data storage memory 3
The reference data T3n corresponding to the banknote pattern S3n is read from the second reference data storage unit 48 (step 1).
1). Then, these reference data and the added value R3n are compared for each of the block areas Z1 to Z16, and if it is determined that all the added values R3n are smaller than the reference data T3n, it is determined that the bill P to be determined is a genuine bill. . Note that the denomination is previously determined by the denomination direction determining means 50 as described above. On the other hand, when at least one of the added values R3n is larger than the reference data T3n, the bill validity determining means 51 determines that the bill P to be determined is a fake bill.

【0069】上記実施例において、データを1/4に圧
縮しているが、データ圧縮率は任意に設定すればよい。
また、必ずしもデータ圧縮を行わなくてもよいが、この
場合にはメモリ容量がその分だけ増大する。上記二実施
例では被判別紙幣Pの片面のみをブロック領域に分割
し、その金種、真偽を判別しているが、被判別紙幣Pの
表と裏の両面をブロック領域に分割し、金種等の判別に
用いるようにしてもよい。この場合にはセンサ部20を
上下にそれぞれ設ける。また、ブロック領域は8又は1
6に分割する以外に、16以上又は16以下に任意に分
割してもよいのは勿論である。又、センサ部20を反射
型のイメージセンサ37にて構成しているが、透過型の
イメージセンサや磁気センサを用いても同一の効果が得
られる。
In the above embodiment, the data is compressed to 1/4, but the data compression ratio may be set arbitrarily.
Further, it is not always necessary to perform data compression, but in this case, the memory capacity is increased accordingly. In the above two embodiments, only one side of the banknote P to be discriminated is divided into block areas, and the denomination and authenticity thereof are discriminated. You may make it use for discrimination of a kind etc. In this case, the sensor units 20 are provided above and below, respectively. The block area is 8 or 1
In addition to the division into six, it is of course possible to arbitrarily divide it into 16 or more or 16 or less. Further, although the sensor section 20 is constituted by the reflection type image sensor 37, the same effect can be obtained by using a transmission type image sensor or a magnetic sensor.

【0070】[0070]

【発明の効果】以上説明したように、本発明によれば、
センサ部にて読みとった被判別データより紙幣階調デー
タを検索して取り出し、複数のブロック領域に分割した
上で各領域の分割階調データによりヒストグラムデータ
を生成し、このデータを同様に予め得ていた標準ヒスト
グラムデータと比較演算して被判別紙幣の金種、真偽を
判別することができる。また、他の発明によれば、
割階調データを演算して得た積分データを重み付け処理
して予め紙幣の金種及び読取り方向を判定し、その後生
成したヒストグラムデータを標準ヒストグラムデータと
比較演算して被判別紙幣の真偽を判別することができ
る。従って、紙幣に関して膨大なデータを収集、分析す
ることなく被判別紙幣の金種、真偽を高精度で判別する
ことができる。よって、紙幣の図柄が変更されたり新し
い紙幣が発行されても迅速にその金種等を正確に判別
し、かつメモリ容量が少なくて済む紙幣判別装置を提供
することが可能である。
As described above, according to the present invention,
The banknote tone data is searched and extracted from the discriminated data read by the sensor unit, divided into a plurality of block areas, and histogram data is generated from the divided tone data of each area, and this data is similarly obtained in advance. By comparing with the standard histogram data, the denomination and authenticity of the banknote to be determined can be determined. According to another aspect of the present invention, the denomination and the reading direction of the banknote are determined in advance by performing a weighting process on the integral data obtained by calculating each of the divided grayscale data, and the generated histogram data is Standard histogram data and
By performing the comparison operation, the authenticity of the bill to be determined can be determined. Therefore, the denomination and authenticity of the discriminated bill can be discriminated with high accuracy without collecting and analyzing a huge amount of data on the bill. Therefore, it is possible to provide a bill discriminating apparatus that quickly and accurately discriminates the denomination and the like even when the pattern of the bill is changed or a new bill is issued, and that requires a small memory capacity.

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

【図1】本発明に係るCPUの機能ブロック図である。FIG. 1 is a functional block diagram of a CPU according to the present invention.

【図2】従来の紙幣の読取り状態の説明図である。FIG. 2 is an explanatory view of a conventional state of reading a bill.

【図3】従来の紙幣判別装置のブロック図である。FIG. 3 is a block diagram of a conventional bill discriminating apparatus.

【図4】従来の紙幣判別方式を説明する図である。FIG. 4 is a diagram illustrating a conventional bill discrimination method.

【図5】本発明に係る紙幣判別装置のブロック図であ
る。
FIG. 5 is a block diagram of a bill discriminating apparatus according to the present invention.

【図6】本発明に係るセンサ部の構成図である。FIG. 6 is a configuration diagram of a sensor unit according to the present invention.

【図7】本発明に係る動作フローチャートである。FIG. 7 is an operation flowchart according to the present invention.

【図8】本発明に係るデータ格納メモリの被判別データ
の格納領域をアドレスと共に示す図である。
FIG. 8 is a diagram showing a storage area of data to be determined in a data storage memory according to the present invention, together with an address.

【図9】分割階調データのブロック領域を示す図であ
る。
FIG. 9 is a diagram showing a block area of divided gradation data.

【図10】本発明のヒストグラムデータの度数分布を示
す図である。
FIG. 10 is a diagram showing a frequency distribution of histogram data according to the present invention.

【図11】本発明のブロック領域の演算結果を示す図で
ある。
FIG. 11 is a diagram showing a calculation result of a block area according to the present invention.

【図12】第2の発明のCPUの機能ブロック図であ
る。
FIG. 12 is a functional block diagram of a CPU according to the second invention.

【図13】第2の発明の紙幣判別装置のブロック図であ
る。
FIG. 13 is a block diagram of a bill discriminating apparatus of a second invention.

【図14】第2の発明に係る動作フローチャートであ
る。
FIG. 14 is an operation flowchart according to the second invention.

【図15】第2の発明に係るブロック領域を示す図であ
る。
FIG. 15 is a diagram showing a block area according to the second invention.

【図16】第2の発明に係る金種方向の判定の演算結果
を示す図である。
FIG. 16 is a diagram showing a calculation result of a judgment of a denomination direction according to the second invention.

【図17】第2の発明に係るデータの度数分布を示す図
である。
FIG. 17 is a diagram showing a frequency distribution of data according to the second invention.

【図18】第2の発明に係る真偽判定の演算結果を示す
図である。
FIG. 18 is a diagram showing a calculation result of a true / false judgment according to the second invention.

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

20 センサ部 26 データ格納メモリ 28 CPU 29 アドレスセレクト回路 38 搬送ローラ 40 紙幣階調データ選定手段 41 データ分割手段 42 データ演算手段 43 紙幣判定手段 44 標準データヒストグラム格納部 44′ 標準圧縮ヒストグラムデータ格納部 45 内部メモリ 47 重み付けデータ格納部 48 基準データ格納部 49 データ演算手段 50 金種方向判定手段 51 紙幣真偽判定手段 Reference Signs List 20 sensor unit 26 data storage memory 28 CPU 29 address select circuit 38 transport roller 40 banknote gradation data selecting unit 41 data dividing unit 42 data calculating unit 43 banknote determining unit 44 standard data histogram storage unit 44 'standard compressed histogram data storage unit 45 Internal memory 47 Weighting data storage unit 48 Reference data storage unit 49 Data calculation unit 50 Denomination direction determination unit 51 Banknote authenticity determination unit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 被判別紙幣の全ての印刷パターンを読み
取るセンサ部と、該センサ部より得た紙幣階調データを
含む被判別データが格納されるデータ格納メモリとを備
える紙幣判別装置において、 前記被判別データより前記紙幣階調データを検索し、取
り出す紙幣階調データ選定手段と、 該選定した紙幣階調データを複数のブロック領域に分割
するデータ分割手段と、 各ブロック領域毎の分割階調データをデ−タ処理して
ヒストグラムデ−タを生成するヒストグラムデ−タ生成
手段と、 各ブロック領域毎のヒストグラムデ−タを、予め設定
された紙幣毎の各標準ヒストグラムデ−タと比較演算
し、紙幣を判定する紙幣判定手段とを有することを特徴
とする紙幣判別装置。
1. Reading all printed patterns of a bill to be discriminated
Sensor section to take, and the banknote gradation data obtained from the sensor section
Data storage memory for storing the data to be determined
In the paper currency discriminating apparatus, the banknote gradation data is searched for from the discriminated data, and is retrieved.
Means for selecting banknote gradation data to be output, and dividing the selected banknote gradation data into a plurality of block areas
Data dividing means for performing data processing on the divided gradation data for each block area.each
Histogram data generation for generating histogram data
Means and for each block areaeachSet histogram data in advance
Standard histogram data for each billComparison operation
And a bill determining means for determining a bill.
Bill discriminating device.
【請求項2】 被判別紙幣の全ての印刷パターンを読み
取るセンサ部と、該センサ部より得た紙幣階調データを
含む被判別データが格納されるデータ格納メモリとを備
える紙幣判別装置において、 前記被判別データより前記紙幣階調データを検索し、取
り出す紙幣階調データ選定手段と、 該選定した紙幣階調データを複数のブロック領域に分割
するデータ分割手段と、 各ブロック領域毎の分割階調データを積分処理するデー
タ演算手段と、 演算処理した各ブロック領域毎の各積分データを、予め
設定された紙幣毎の各重み付けデータに基づいて重み付
け処理し、紙幣の金種及び読取り方向を判定する金種方
向判定手段と、 前記各ブロック領域毎の分割階調デ−タをデ−タ処理し
ヒストグラムデ−タを生成するヒストグラムデ−タ
生成手段と、 各ブロック領域毎のヒストグラムデ−タを、前記金種
及び読取り方向の判定された紙幣の予め設定された標準
ヒストグラムデ−タと比較演算し、紙幣の真偽を判定す
る紙幣真偽判定手段とを有することを特徴とする紙幣判
別装置。
2. A bill discriminating apparatus comprising: a sensor unit for reading all print patterns of a bill to be discriminated; and a data storage memory for storing discriminated data including bill tone data obtained from the sensor unit. Means for searching for the banknote gradation data from the discriminated data and extracting the banknote gradation data; data division means for dividing the selected banknote gradation data into a plurality of block areas; and division gradation for each block area. A data calculating means for integrating the data; and weighting the integrated data for each block area based on the weighting data set for each banknote set in advance to determine a denomination and a reading direction of the banknote. the denomination direction determining means, said division gray scale data of each block area - de the data - data processing to the histogram de - histogram de generates the data - data generation hands If, each histogram data of each block area - the data, the denomination
A bill discriminating apparatus comprising: a bill authenticity judging means for judging the authenticity of a bill by performing a comparison operation with standard histogram data set in advance for the bill whose reading direction has been judged.
【請求項3】 前記紙幣真偽判定手段は前記ヒストグラ
ムデ−タを圧縮、処理し、予め設定された標準圧縮ヒス
トグラムデータと比較演算することを特徴とする請求項
2に記載の紙幣判別装置。
3. The bill validity judging means compresses and processes the histogram data, and sets a predetermined standard compression history.
3. The bill discriminating apparatus according to claim 2, wherein the bill discriminating apparatus performs a comparison operation with the togram data .
JP3122180A 1990-08-22 1991-04-24 Bill validator Expired - Fee Related JP2641079B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3122180A JP2641079B2 (en) 1991-04-24 1991-04-24 Bill validator
KR1019910014411A KR100200220B1 (en) 1990-08-22 1991-08-21 Bank-note discrimination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3122180A JP2641079B2 (en) 1991-04-24 1991-04-24 Bill validator

Publications (2)

Publication Number Publication Date
JPH04324591A JPH04324591A (en) 1992-11-13
JP2641079B2 true JP2641079B2 (en) 1997-08-13

Family

ID=14829558

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3122180A Expired - Fee Related JP2641079B2 (en) 1990-08-22 1991-04-24 Bill validator

Country Status (1)

Country Link
JP (1) JP2641079B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5823215B2 (en) * 2011-09-06 2015-11-25 株式会社東芝 Ultrasonic detection apparatus and paper sheet processing apparatus provided with ultrasonic detection apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02148382A (en) * 1988-11-30 1990-06-07 Fuji Electric Co Ltd Paper money discriminating device
JPH02150982A (en) * 1988-12-01 1990-06-11 Fuji Electric Co Ltd Paper money discriminating device

Also Published As

Publication number Publication date
JPH04324591A (en) 1992-11-13

Similar Documents

Publication Publication Date Title
US5199543A (en) Apparatus for and method of discriminating bill
US5020110A (en) Arrangement for checking documents
EP0067898B1 (en) System for identifying currency note
JPH11175797A (en) Paper identification device
US20050133339A1 (en) Device, method and program for paper discrimination
US5790245A (en) Paper examining method and apparatus
EP0859343A2 (en) Method and apparatus for screening documents
KR100719608B1 (en) Method and apparatus for recognizing banknote serial number
KR100718728B1 (en) Method and apparatus for recognizing banknote denomination
JP2641079B2 (en) Bill validator
US5974883A (en) System for authenticating printed documents
KR101001691B1 (en) Recognition method of wavelet using wavelet transform
KR100200220B1 (en) Bank-note discrimination
JPH08221632A (en) Genuineness judging method for printed pattern
JP2647238B2 (en) Bill validator
JP2003272018A (en) Securities processing equipment
JP2002092683A (en) Media identification device
JP3351639B2 (en) Neuro-discriminating / fault separation device for paper sheets by random mask method
JP3145447B2 (en) Bill validator
JP3187698B2 (en) Paper sheet recognition device
WO2004008380A1 (en) Recognition of banknote denominations in automatic money processing
JP2744484B2 (en) Bill discrimination method
JPH04134584A (en) Paper money discriminator
JP2635994B2 (en) Banknote recognition device
JP2001005968A (en) Device for discriminating truth/falsehood of paper sheets

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080502

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090502

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100502

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees