JPH02108185A - Discriminating device for paper or the like - Google Patents

Discriminating device for paper or the like

Info

Publication number
JPH02108185A
JPH02108185A JP63260386A JP26038688A JPH02108185A JP H02108185 A JPH02108185 A JP H02108185A JP 63260386 A JP63260386 A JP 63260386A JP 26038688 A JP26038688 A JP 26038688A JP H02108185 A JPH02108185 A JP H02108185A
Authority
JP
Japan
Prior art keywords
pattern
temperature
value
detection means
signal
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.)
Granted
Application number
JP63260386A
Other languages
Japanese (ja)
Other versions
JPH0814859B2 (en
Inventor
Ienobu Takizawa
滝澤 家信
Terukazu Urano
浦野 照和
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 JP63260386A priority Critical patent/JPH0814859B2/en
Publication of JPH02108185A publication Critical patent/JPH02108185A/en
Publication of JPH0814859B2 publication Critical patent/JPH0814859B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Inspection Of Paper Currency And Valuable Securities (AREA)

Abstract

PURPOSE:To make proper corrections even if pattern detecting means have large variation in characteristics by correcting pattern detection errors due to the temperature characteristics of the pattern detecting means and other factors by the pattern detecting means. CONSTITUTION:A pattern signal obtained by a pattern detecting means 5 include an error factor due to the temperature characteristics, etc., of the pattern detecting means 5, but this is corrected by the correction arithmetic of a CPU 12 using a pattern correcting value to obtain a corrected pattern signal. Then this corrected pattern signal is compared with a reference pattern signal stored in a reference pattern signal storage means 14 to discriminate the paper, etc., correctly. In this case, the pattern correcting value is set by the individual pattern detecting means 5 on the basis of the reference pattern signal. Consequently, the signal which is corrected according to the characteristics of the respective pattern detecting means 5 is obtained.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、自動入出金機や自動販売機等に挿入される紙
幣を鑑別したり、あるいは、紙幣に類似する紙葉類の鑑
別を行う紙葉類鑑別装置に関する。
[Detailed Description of the Invention] [Industrial Application Fields] The present invention is applicable to the identification of banknotes inserted into automatic teller machines, automatic vending machines, etc., or the identification of paper sheets similar to banknotes. The present invention relates to a paper sheet identification device.

[従来の技術] 例えば、自動入出金機や自動販売機等おいては、これら
の紙幣投入部に紙幣が投入されると、この紙幣の金種(
千円札、五千円札、−万円孔等の紙幣の種類)、もしく
は、紙幣の真偽を判定するための処理が行われる。
[Prior Art] For example, in automatic teller machines, automatic vending machines, etc., when a banknote is inserted into the banknote input section, the denomination of the banknote (
Processing is performed to determine the authenticity of the banknote (types of banknotes such as 1,000 yen bill, 5,000 yen bill, -10,000 yen hole), or the authenticity of the banknote.

この紙幣の金種の判定及び真偽の判定を行う装置として
紙幣鑑別装置が用いられる。
A banknote validating device is used as a device for determining the denomination and authenticity of the banknote.

この紙幣鑑別装置は、投入された紙幣に光を照射しなと
き該紙幣の模様や図形に対応して生ずる反射光や透過光
などの光学的パターンを検出したり、あるいは、紙幣印
刷に用いられたインク等に残留する磁気による磁気的パ
ターンを検出し、これをあらかじめ設定された基準のパ
ターンと比較してその類似度から、あるいは、この類似
度と紙幣の外径寸法の検出結果とを組み合わせて鑑別を
行っていた。
This banknote identification device detects optical patterns such as reflected light and transmitted light that occur in correspondence with the patterns and shapes of banknotes when the banknotes are not irradiated with light, or is used in banknote printing. Detects a magnetic pattern caused by magnetism that remains in ink, etc., and compares it with a preset standard pattern based on its similarity, or combines this similarity with the detection result of the outer diameter of the banknote. I was conducting a differential diagnosis.

この場合、前記光学的パターンを検出するためのパター
ン検出手段としては、LED、ホトダイオードもしくは
ホトトランジスタ等が用いられ、また、磁気的パターン
を検出するためには磁気ヘッド等が用いられている。
In this case, an LED, a photodiode, a phototransistor, or the like is used as a pattern detection means for detecting the optical pattern, and a magnetic head or the like is used for detecting the magnetic pattern.

ところで、これらLED、ホトダイオードもしくはホト
トランジスタ等の光電変換素子、あるいは、磁気ヘッド
等の磁電変換素子は、出力が温度に依存して変化する。
Incidentally, the output of these photoelectric conversion elements such as LEDs, photodiodes or phototransistors, or magnetoelectric conversion elements such as magnetic heads changes depending on temperature.

それゆえ、これを防ぐため、従来からこれらの温度補正
を行うため温度補正回路が用いられていた。
Therefore, in order to prevent this, a temperature correction circuit has conventionally been used to perform these temperature corrections.

第2図は、光電変換素子としてLEDを用い、これに温
度補正を施した従来の紙幣鑑別装置を示すブロック図で
ある。
FIG. 2 is a block diagram showing a conventional banknote validating device that uses an LED as a photoelectric conversion element and performs temperature correction on the LED.

第2図において、符号5a、・・・、5aは紙幣に光を
照射するためのLEDであり、駆動回路7によって駆動
される。この場合、この駆動回路7は、補正回路7によ
って温度補正を施されて前記各LEDを駆動する。この
補正回路7は温度センサ6によって検出される紙幣鑑別
装置内の温度に対応した出力を前記駆動回路7に送出し
てこれに温度補正を加える。
In FIG. 2, reference numerals 5a, . In this case, the drive circuit 7 is subjected to temperature correction by the correction circuit 7 and drives each of the LEDs. This correction circuit 7 sends an output corresponding to the temperature inside the banknote validating device detected by the temperature sensor 6 to the drive circuit 7, and applies temperature correction to the output.

また、符号5b、−,5bは、前記LED5a。Moreover, the symbols 5b, -, 5b are the LEDs 5a.

・・・、5aからの光の紙幣による反射光を検出するた
めのホトダイオードである。なお、これらホトダイオー
ド5b、・・・、5bと前記LED5a、・・・5aと
は紙幣の光学的パターンを検出するパターン検出手段た
る反射光検出器5を構成する。前記ホトダイオード5b
、・・・、5bの出力部は増幅回路9.・・・、9の入
力部に接続されている。この増幅回路9.・・・、9は
、前記紙幣の表面の図形や模様の濃淡に対応して出力さ
れる前記ホトダイオード5b、・・・、5bの光電流(
紙幣のパターンに対応する信号)を所定の電圧まで増幅
してその出力をマルチプレクサ10に送出する。
. . , are photodiodes for detecting the light reflected by the banknote from 5a. Incidentally, these photodiodes 5b, . . . , 5b and the LEDs 5a, . The photodiode 5b
, . . , 5b output section is an amplifier circuit 9. . . . is connected to the input section of 9. This amplifier circuit 9. . . , 9 are photocurrents (
The signal corresponding to the banknote pattern) is amplified to a predetermined voltage and the output is sent to the multiplexer 10.

前記マルチプレクサ10は前記増幅回路9.・・・9か
ら送出される信号を入力してそのうちの1つの信号を選
択してA/Dコンバータ11のアナログ入力部に送出す
る。
The multiplexer 10 is connected to the amplifier circuit 9. . . . 9, selects one of the signals, and sends it to the analog input section of the A/D converter 11.

前記A/Dコンバータ11は、前記マルチプレクサ10
から送出されたアナログ信号を入力し、これをディジタ
ル信号に変換してデータ・バスDBに送出する。
The A/D converter 11 is connected to the multiplexer 10.
It inputs the analog signal sent out from the bus, converts it into a digital signal, and sends it out to the data bus DB.

前記データ・バスDBにはCPU12、リード・ライト
・メモリ13及び基準値メモリ14がそれぞれ接続され
ている。
A CPU 12, a read/write memory 13, and a reference value memory 14 are respectively connected to the data bus DB.

前記CPU12は、前記A/Dコンバータ11から送出
されたディジタル信号(パターン信号)を読み込んで前
記リード・ライト・メモリ13に記憶させるとともに、
この読み込まれたディジタル信号を前記基準値メモリ1
4内に記憶されである基準値(基準パターン信号)と比
較して該基準値との類似度を判定し、その結果に基づい
て紙幣の鑑別を行っている。
The CPU 12 reads the digital signal (pattern signal) sent from the A/D converter 11 and stores it in the read/write memory 13,
This read digital signal is stored in the reference value memory 1.
The banknotes are compared with a reference value (reference pattern signal) stored in the memory card 4 to determine the degree of similarity with the reference value, and the banknotes are discriminated based on the results.

第3図は、上述の紙幣鑑別装置に用いられているLED
5aの温度特性(温度補正をしない場合の特性)を示す
グラフである。
Figure 3 shows the LED used in the above-mentioned bill validator.
5a is a graph showing the temperature characteristics (characteristics when temperature correction is not performed).

なお、図中、縦軸がLED5aの光出力(IO>、横軸
がLED5aの周囲温度(紙幣鑑別装置内温度) (T
)である。
In the figure, the vertical axis represents the light output (IO>) of the LED 5a, and the horizontal axis represents the ambient temperature of the LED 5a (temperature inside the bill validator) (T
).

このグラフから明らかなように、温度Tよにおける光出
力値と、温度T2における光出力値とでは大きく異なっ
ている。
As is clear from this graph, the light output value at temperature T is significantly different from the light output value at temperature T2.

また、第4図は、前記第3図に示される温度特性を有す
るLED5aを用いて紙幣に光を照射してその反射光の
強度を観測した反射光の読取り例(温度補正をしない場
合における)を示すグラフである。なお、図において、
縦軸が反射光強度(IR)、横軸が紙幣の走査方向にお
ける位置(X)である。
Moreover, FIG. 4 shows an example of reading reflected light (in the case where temperature correction is not performed) in which a banknote is irradiated with light using the LED 5a having the temperature characteristics shown in FIG. 3 and the intensity of the reflected light is observed. This is a graph showing. In addition, in the figure,
The vertical axis represents the reflected light intensity (IR), and the horizontal axis represents the position (X) of the banknote in the scanning direction.

また、図中、曲線aが温度T1における読取り例を、曲
線すが温度T2における読取り例をそれぞれ示すもので
ある。
Further, in the figure, a curve a shows an example of reading at temperature T1, and a curve a shows an example of reading at temperature T2.

前記グラフから明らかなように、同一のLED5aを用
いても、その温度が異なることにより、読取り値が著し
く異なってしまうことがわかる。
As is clear from the above graph, even if the same LED 5a is used, the reading values will be significantly different due to different temperatures.

そこで、前記第2図に示されるように、従来は、前記L
ED5aを駆動する駆動回路7に補正回路8によって温
度補正を加え、これにより、前記LED5aの温度特性
を補償しようとしている。
Therefore, as shown in FIG. 2, conventionally, the L
A correction circuit 8 applies temperature correction to the drive circuit 7 that drives the ED 5a, thereby attempting to compensate for the temperature characteristics of the LED 5a.

[発明が解決しようとする課題] ところで、前記従来の装置に採用されている温度補償の
方法は、温度補正を施すべきLED、ホトダイオード、
ホトトランジスター等の光電変換素子、あるいは、磁気
ヘッド等の磁電変換素子に。
[Problem to be Solved by the Invention] By the way, the temperature compensation method adopted in the conventional device described above is limited to the temperature compensation of the LED, photodiode, and
For photoelectric conversion elements such as phototransistors, or magnetoelectric conversion elements such as magnetic heads.

温度特性のバラツキが少ないことを前提としている。し
たがって、これらの素子間で温度特性のバラツキが大き
い場合には、この方法による温度補償は有効でなくなる
It is assumed that there is little variation in temperature characteristics. Therefore, if there are large variations in temperature characteristics among these elements, temperature compensation using this method is no longer effective.

以下、この事情を説明する。This situation will be explained below.

第5図は、同一機種の異なる3台の紙幣鑑別装置の同一
箇所に使用されているLEDの温度特性の例を示すグラ
フである。なお、この図における縦軸及び横軸は前記第
3図における場合と同じである。また、図において、曲
線A、B、Cが各装置の同一箇所に使用されているLE
Dの温度特性を示す曲線であり、温度T0における光出
力を1として相対値で示しである。
FIG. 5 is a graph showing an example of the temperature characteristics of LEDs used at the same location in three different bill validators of the same model. Note that the vertical and horizontal axes in this figure are the same as in FIG. 3 above. In addition, in the figure, curves A, B, and C represent LEs used at the same location in each device.
This is a curve showing the temperature characteristics of D, and is expressed as a relative value, with the light output at temperature T0 being 1.

このような特性を示す場合に、例えば、曲線Bを示すL
EDを基準にして、このLEDの温度特性を補償するよ
うに前記補正回路を設定すると、このLEDと他の曲線
A、Cを示すLEDとの温度特性が大巾に異なっている
なめに、前記他の曲線A、Cを示すLEDの温度補償が
できない。すなわち、第6図は、この様子を示すグラフ
であり、前記曲線Bを示す温度特性を示すLEDに温度
補正を加えてこの図における曲線B1で示される温度特
性を示すようにすると、他のLEDは、必然的に鎖国に
おける曲線A1.Ctで示される温度特性を示すことに
なる。
When exhibiting such characteristics, for example, L indicating curve B
When the correction circuit is set to compensate for the temperature characteristics of this LED with ED as a reference, the temperature characteristics of this LED and the other LEDs showing curves A and C are greatly different. Temperature compensation for LEDs showing other curves A and C cannot be performed. That is, FIG. 6 is a graph showing this situation. If temperature correction is applied to the LED showing the temperature characteristic shown by the curve B to make it show the temperature characteristic shown by the curve B1 in this figure, other LEDs is necessarily the curve A1. It exhibits a temperature characteristic indicated by Ct.

このような温度補償を施した各紙幣鑑別装置におけるL
EDによって同一の紙幣に光を照射してその図形や模様
の濃淡に対応して変化する反射光を読み収ると、その反
射光の強度分布は、第7図に示される曲線A2 、B2
 、C2で表されるようになる。
L in each banknote validating device with such temperature compensation
When the same banknote is irradiated with light using an ED and the reflected light that changes depending on the shade of the figure or pattern is read, the intensity distribution of the reflected light will be the curves A2 and B2 shown in Figure 7.
, C2.

すなわち、上記グラフから明らかなように、同一の紙幣
の同じ図形もしくは模様についての反射光強度の分布曲
線が、装置が異なる毎に異なってしまい、装置毎に鑑別
結果が異なってしまうおそれもでてくる。
In other words, as is clear from the above graph, the distribution curve of reflected light intensity for the same figure or pattern on the same banknote differs depending on the device used, and there is a risk that the identification results will differ depending on the device. come.

以上の説明は、LED5aに温度補償を施した場合であ
るが、この種の紙幣鑑別装置に使用される他のセンサ、
例えば、ホトダイード、ホトトランジスタと等の光電素
子、あるいは、磁気ヘッド等の磁電変換素子等に、前記
と同様の温度補償をを施す場合も事情は同じであり、さ
らには、紙幣鑑別装置に限らず、紙幣鑑別装置に類似す
る他の紙葉類鑑別装置においても同様である。
The above explanation is for the case where temperature compensation is applied to the LED 5a, but other sensors used in this type of banknote validation device,
For example, the same situation applies when temperature compensation is applied to photoelectric elements such as photodiodes and phototransistors, or magnetoelectric conversion elements such as magnetic heads. The same applies to other paper sheet validating devices similar to the banknote validating device.

このように、従来の紙葉類鑑別装置に採用されている温
度補償の方法では、使用するLED等の光電素子、ある
いは、磁気ヘッド等の磁電素子にバラツキあると、安定
した紙葉類の鑑別を行うという観点から不安要素が残る
ものであった。
In this way, with the temperature compensation method adopted in conventional paper sheet identification devices, if there are variations in the photoelectric elements such as LEDs used, or the magnetoelectric elements such as magnetic heads, it is difficult to stably identify paper sheets. There remained an element of anxiety from the perspective of conducting the project.

また、この種の紙葉類鑑別装置は、上述のようなLED
等のパターン検出手段を構成する素子の温度特性による
誤差要因の外に、これら素子の経年変化あるいはこれら
素子に付着する埃等による誤差要因も考えられるが、従
来の紙葉類鑑別装置ではこれら温度特性以外の誤差要因
については何等考慮されていなかった。
In addition, this type of paper sheet discrimination device uses the above-mentioned LED
In addition to error factors due to the temperature characteristics of the elements that make up the pattern detection means, there are also error factors due to aging of these elements or dust adhering to these elements. No consideration was given to error factors other than characteristics.

本発明の目的は、上述のパターン検出手段を構成する素
子として、仮に、温度特性のバラツキの大きいものを用
いてもこれに正しい補正を施すことができ、同時に、温
度特性以外の他の誤差要因による特性変化についても補
正ができるようにした紙葉類鑑別装置を提供することに
ある。
An object of the present invention is to be able to correctly correct even if elements with large variations in temperature characteristics are used as elements constituting the above-mentioned pattern detection means, and at the same time to compensate for other error factors other than temperature characteristics. It is an object of the present invention to provide a paper sheet discrimination device that can also correct changes in characteristics caused by.

[課題を解決するための手段] 本発明にかがる紙葉類鑑別装置は、要するに、紙葉類の
模様や図形等のパターンを検出するパターン検出手段に
よって得られるパターン信号と、あらかじめ設定された
基準パターン信号とに基づいて、前記パターン検出手段
毎に所定の温度幅毎のパターン補正値を求めておき、 次に、前記パターン検出手段によって鑑別対象なる紙葉
類のパターン信号を求め、 この得られたパターン信号を前記パターン補正値を用い
て補正して補正パターン信号を求め、次いで、この補正
パターン信号と前記基準パターン信号とを比較してこの
比較結果から前記鑑別対象なる紙葉類の鑑別を行うよう
にした構成を有するもので、 これにより、パターン検出手段の温度特性その他の要因
によるパターン検出誤差を各パターン検出手段毎に補正
することを可能にし、その結果、パターン検出手段に大
きな特性のバラツキがある場合でも適切な補正を行うこ
とを可能にしたものであって、具体的には以下の各構成
を有する。
[Means for Solving the Problems] In short, the paper sheet discrimination device according to the present invention uses a pattern signal obtained by a pattern detection means for detecting patterns such as patterns and figures on paper sheets, and a pattern signal set in advance. A pattern correction value for each predetermined temperature range is determined for each of the pattern detecting means based on the reference pattern signal obtained by The obtained pattern signal is corrected using the pattern correction value to obtain a corrected pattern signal, and then this corrected pattern signal is compared with the reference pattern signal, and based on the comparison result, the paper sheet to be identified is determined. This makes it possible to correct pattern detection errors caused by temperature characteristics of the pattern detection means and other factors for each pattern detection means, and as a result, the pattern detection means has a large This makes it possible to perform appropriate correction even when there are variations in characteristics, and specifically has the following configurations.

(1)紙葉類の光学的あるいは磁気的特徴を検出して該
紙葉類を鑑別する紙葉類鑑別装置において、前記紙葉類
の光学的あるいは磁気的特徴を表す光学的あるいは磁気
的パターンに対応するパターン信号を得るパターン検出
手段と、 前記紙葉類鑑別装置内の温度を検出する温度検出手段と
、 前記光学的あるいは磁気的検出手段に対応して紙葉類の
鑑別内容毎に設定された紙葉類の基準パターン信号を記
憶する基準パターン信号記憶手段と、 前記基準パターン信号記憶手段に記憶されている基準パ
ターン信号と、各温度において前記光学的あるいは磁気
的検手段によって検出されるパターン信号とに基づいて
あらかじめ前記各パターン検出手段毎に設定された各温
度毎のパターン補正値を記憶するパターン補正値記憶手
段と、前記パターン補正値記憶手段に記憶されているパ
ターン補正値の中から前記温度検出手段で検出された温
度に対応する温度におけるパターン補正値を選択してこ
の選択したパターン補正値を用いて前記パターン検出手
段で検出されたパターン信号に補正を施す演算を行って
補正パターン信号を得る演算手段と、 前記演算手段によって得られた補正パターン信号と、前
記基準パターン信号記憶手段に記憶されている基準パタ
ーン信号とを比較して紙葉類の判別を行う判別手段とを
備えた構成。
(1) In a paper sheet identification device that detects optical or magnetic characteristics of paper sheets to identify the paper sheets, an optical or magnetic pattern representing the optical or magnetic characteristics of the paper sheets is used. a pattern detection means for obtaining a pattern signal corresponding to the temperature detection means for detecting the temperature within the paper sheet discrimination device; and a temperature detection means for detecting the temperature within the paper sheet discrimination device; a reference pattern signal storage means for storing a reference pattern signal of a paper sheet that has been detected by the optical or magnetic detection means at each temperature; pattern correction value storage means for storing pattern correction values for each temperature set in advance for each of the pattern detection means based on the pattern signal; A pattern correction value at a temperature corresponding to the temperature detected by the temperature detection means is selected from the above, and the selected pattern correction value is used to perform an operation to correct the pattern signal detected by the pattern detection means. a calculating means for obtaining a pattern signal; and a determining means for determining paper sheets by comparing the corrected pattern signal obtained by the calculating means with a reference pattern signal stored in the reference pattern signal storage means. Equipped with a configuration.

(2)前記構成(1)に加えて、 前記温度検出手段によって検出された温度において、こ
れまでに鑑別した紙葉類の累積枚数をカウントするカウ
ンタと、 前記紙葉類の判別手段によって紙葉類の判別を行った後
に、前記パターン検出手段で検出されたパターン信号の
積分値と前記基準パターン信号の積分値とを求めるとと
もにこれら積分値の比の値を求め、この比の値及び前記
カウンタのカウント数並びに前記パターン補正値記憶手
段に記憶されているパターン補正値を用いてパターン補
正値の累積的平均をとってそれを新たなパターン補正値
とするパターン補正値の修正演算を行う演算手段を備え
た構成。
(2) In addition to the configuration (1), a counter counts the cumulative number of paper sheets that have been identified so far at the temperature detected by the temperature detection means; After determining the type, the integral value of the pattern signal detected by the pattern detection means and the integral value of the reference pattern signal are determined, and the value of the ratio of these integral values is determined, and the value of this ratio and the value of the counter calculation means for performing a pattern correction value correction calculation in which the cumulative average of the pattern correction values is taken as a new pattern correction value by using the count number of , and the pattern correction values stored in the pattern correction value storage means; Configuration with.

[作用] 前記構成(1)において、前記パターン検出手段によっ
て得られたパターン信号は、該パターン検出手段の温度
特性等の誤差要因を含んだものであるが、これは、前記
パターン補正値を用いた補正演算によって補正されて補
正パターン信号が得られる。そしてこの補正パターン信
号が、前記基準パターン信号記憶手段に記憶されている
基準パターン信号と比較されて、紙葉類の正しい判別が
行われる。
[Function] In the configuration (1), the pattern signal obtained by the pattern detection means includes error factors such as temperature characteristics of the pattern detection means, but this is because the pattern correction value is not used. A corrected pattern signal is obtained by the corrected correction calculation. This correction pattern signal is then compared with the reference pattern signal stored in the reference pattern signal storage means to correctly identify the paper sheet.

この場合、前記パターン補正値は、基準パターン信号を
基準にして個々のパターン検出手段毎に設定されており
、したがって、このパターン補正値を用いて得られた補
正パターン信号は各パターン検出手段の特性に応じて正
しく補正された値である。それゆえ、仮に、パターン検
出手段が複数あって、これらの特性が互いに著しく異な
っている場合であっても、各々に適切な補正が行われ、
したがって、このような場合でも誤差が大きくなるよう
なことはない。
In this case, the pattern correction value is set for each individual pattern detection means based on the reference pattern signal, and therefore the correction pattern signal obtained using this pattern correction value is based on the characteristics of each pattern detection means. This is a value that has been corrected accordingly. Therefore, even if there are multiple pattern detection means and their characteristics are significantly different from each other, appropriate corrections will be made for each,
Therefore, even in such a case, the error will not become large.

また、前記パターン補正値は各温度毎に区分された補正
値ではあるが、温度特性のみの補正値ではなく、温度特
性は勿論のこと、他の要因による特性変化、例えば、前
記パターン検出手段の感度の経時変化や該パターン検出
手段の表面に付着する異物等による感度変化等も全て含
んだ補正値であるから、温度補正のみをした場合に比較
して、さらに、正確な補正を行うことが可能である。
Further, although the pattern correction value is a correction value classified for each temperature, it is not a correction value only for temperature characteristics, but also changes in characteristics due to not only temperature characteristics but also other factors, such as changes in characteristics of the pattern detection means. Since the correction value includes all changes in sensitivity over time and changes in sensitivity due to foreign matter adhering to the surface of the pattern detection means, it is possible to perform more accurate correction than when only temperature correction is performed. It is possible.

また、前記構成(2)によれば、前記パターン補正値は
、鑑別時点におけるパターン検出手段の特性と、それま
でに鑑別した際に用いられた補正値とを加味して、累積
的平均をとることによって鑑別の毎に修正され、次の鑑
別のときにはこの修正された新しい値が用いられること
から、この補正値自体が時間とともに不適切なものとな
るおそれがない。
Further, according to the configuration (2), the pattern correction value is a cumulative average, taking into account the characteristics of the pattern detection means at the time of discrimination and the correction values used in previous discriminations. As a result, the corrected value is corrected every time the discrimination is made, and the new corrected value is used in the next discrimination, so there is no risk that the correction value itself becomes inappropriate over time.

「実施例] 第1図は本発明の一実施例にかかる紙幣鑑別装置を示す
ブロック図であり、第8図は第1図に示される紙幣鑑別
装置のセンサ配置を示す斜視図である。なお、これらの
図に示される紙幣鑑別装置は、前記第2図に示される従
来例とその構成の大部分が共通している。そこで、共通
の部分には共通の符号を付してその詳細な説明は省略し
、以下の説明では、主に本実施例の特徴部分について詳
細に説明する。
Embodiment FIG. 1 is a block diagram showing a bill validating device according to an embodiment of the present invention, and FIG. 8 is a perspective view showing sensor arrangement of the bill validating device shown in FIG. 1. , the banknote validating device shown in these figures has most of its configuration in common with the conventional example shown in FIG. The description will be omitted, and in the following description, the characteristic portions of this embodiment will be mainly described in detail.

第8図において、符号1は紙幣搬送装置であり、該紙幣
搬送装置1は挿入された紙幣2を図中矢印で示される搬
送方向に搬送する。
In FIG. 8, reference numeral 1 denotes a bill conveying device, and the bill conveying device 1 conveys inserted banknotes 2 in the conveying direction indicated by the arrow in the figure.

前記紙幣搬送装置1の図中手前側の紙幣挿入部には紙幣
が挿入されたか否かを検知する紙幣検知器3が設けられ
ている。この紙幣検知器3は、LED等の光源3aと、
この光源3aからの光を搬送装置1を挾んで検出するホ
トダイオード等の受光センサ3bからなっており、前記
光源3aからの光が紙幣によって遮断されて前記光セン
サ3bに達する光量が弱まったことを検出して紙幣が投
入されたことを検出し、その検出信号をデータ・バスD
Bに送るものである。
A bill detector 3 for detecting whether a bill has been inserted is provided in a bill insertion section of the bill conveying device 1 on the near side in the figure. This banknote detector 3 includes a light source 3a such as an LED,
It consists of a light receiving sensor 3b such as a photodiode that detects the light from the light source 3a by sandwiching the conveyance device 1, and detects when the light from the light source 3a is blocked by the banknote and the amount of light reaching the light sensor 3b is weakened. detects that a banknote has been inserted, and sends the detection signal to the data bus D.
It is sent to B.

前記紙幣検知器3から前記紙幣搬送方向に少し離れた位
置には、前記紙幣搬送方向と直交する方向に並べられた
1対の磁気センサ4,4が設けられている。これら磁気
センサ4.4は紙幣2の磁気の濃淡を検出して紙幣の磁
気的パターンを検出する素子、例えば、磁気ヘッドから
構成されている。
A pair of magnetic sensors 4, 4 arranged in a direction perpendicular to the banknote transport direction are provided at a position slightly apart from the banknote detector 3 in the banknote transport direction. These magnetic sensors 4.4 are composed of elements, such as magnetic heads, that detect the magnetic density of the banknote 2 and detect the magnetic pattern of the banknote.

また、これら磁気センサ4,4から、さらに搬送方向に
離れた位置には、前記紙幣搬送方向と直交する方向にほ
ぼ一列に配置された4つの反射光検出器5.・・・、5
が設けられている。
Further, at positions further away from these magnetic sensors 4, 4 in the conveyance direction, there are four reflected light detectors 5. ..., 5
is provided.

これら反射光検出器5.・・・、5は、紙幣の模様もし
くは図形に対応した光学的パターンを検出するパターン
検出手段を構成するもので、各々、前記搬送袋M1に向
けて光を照射する光源を構成するLED5aと、このL
ED5aから射出された光が、前記搬送装置1によって
搬送される紙幣にによって反射されて生ずる反射光を検
出するように、所定の間隔をおいて設けられた受光セン
サとしてのホトダイオード5bとの対で構成されている
These reflected light detectors5. . . , 5 constitutes a pattern detection means for detecting an optical pattern corresponding to the pattern or figure of the banknote, and the LED 5a constitutes a light source that irradiates light toward the transport bag M1, and This L
A pair of photodiodes 5b as light receiving sensors provided at a predetermined interval so as to detect the reflected light generated when the light emitted from the ED 5a is reflected by the banknotes conveyed by the conveyance device 1. It is configured.

さらに、前記反射光検出器5.・・・、5(パターン検
出手段)のいずれかの近傍には、これら反射光検出器5
の周囲温度を検出する温度検出器6(紙幣鑑別装置内の
温度を検出する温度検出手段)が設けられている。
Furthermore, the reflected light detector 5. . . , 5 (pattern detection means), there is a reflected light detector 5
A temperature detector 6 (temperature detection means for detecting the temperature inside the banknote validating device) is provided to detect the ambient temperature of the banknote validating device.

なお、本実施例は、説明を[41にするために前記反射
光検出器5に対してだけ補正を施す場合の例をかかげで
ある。しかし、本実施例とほぼ同様にして前記磁気セン
サ4に対しても補正を施してもよいことは勿論である。
Note that this embodiment is an example in which correction is applied only to the reflected light detector 5 in order to make the explanation [41]. However, it goes without saying that the magnetic sensor 4 may also be corrected in substantially the same manner as in this embodiment.

さて、本実施例と前記第2図に示される従来例との主な
相違点は以下の通りである。
Now, the main differences between this embodiment and the conventional example shown in FIG. 2 are as follows.

第1に、前記従来例では、LED5a、・・・。First, in the conventional example, the LEDs 5a, . . .

5aを駆動する駆動回路7に補正回路8が接続されてい
るのに対し、本実施例では、前記補正回路8の代わりに
、温度検出器6で検出された温度信号を所定のアナログ
信号にする温度検出回路16が用いられ、該温度検出回
路16の出力部がA/Dコンバータ17の入力部に接続
されているとともに、このA/Dコンバータ17の出力
部がデータ・バスDBに接続されている点である。
While a correction circuit 8 is connected to the drive circuit 7 that drives the sensor 5a, in this embodiment, instead of the correction circuit 8, the temperature signal detected by the temperature detector 6 is converted into a predetermined analog signal. A temperature detection circuit 16 is used, the output of the temperature detection circuit 16 is connected to the input of an A/D converter 17, and the output of this A/D converter 17 is connected to a data bus DB. The point is that there is.

第2に、前記データ・バスDBには、新たにパターン補
正値記憶手段を構成する不揮発性メモリ15が接続され
ている点である。この不揮発性メモリ15は、あらかじ
め、後述する方法で、前記LED5a、−=、5a及び
ホトダイオード5b。
Second, a nonvolatile memory 15 constituting a new pattern correction value storage means is connected to the data bus DB. This non-volatile memory 15 is previously stored in the LEDs 5a, -=, 5a and the photodiode 5b by a method to be described later.

・・・、5bの各対毎に、かつ、所定の温度幅(すなわ
ち、tJ <t≦t J+1で表される温度幅。ただし
、t」及びt J+1はあらかじめ設定された温度であ
り、j=1.2,3.・・・とする)毎に設定したパタ
ーン補正値CIを格納しであるものである。
..., 5b, and a predetermined temperature range (i.e., a temperature range expressed as tJ<t≦tJ+1, where t'' and tJ+1 are preset temperatures, and j = 1.2, 3, . . .)) is stored therein.

第3に、前記CPU12には、以下に詳述するように、
前記A/Dコンバータ17によってディジタル化された
前記温度検出回路16から送出されるデータと、前記不
揮発性メモリ15に格納されているデータとを取り入れ
て前記各増幅回路9からマルチプレクサ10及びA/D
コンバータ11を通じて送出される紙幣の反射光強度の
各データ(パターン信号)に補正を加える手順その他必
要な手順が組み込まれている点である。
Thirdly, the CPU 12 includes, as detailed below,
The data sent from the temperature detection circuit 16 digitized by the A/D converter 17 and the data stored in the nonvolatile memory 15 are taken in and sent from each amplifier circuit 9 to the multiplexer 10 and the A/D.
The difference is that a procedure for correcting each data (pattern signal) of the reflected light intensity of a banknote sent through the converter 11 and other necessary procedures are incorporated.

第4に、前記データ・バスDBには、前記CPU12の
指令に基づいて前記紙幣検知器3によって検知した紙幣
の通過枚数をカウントするカウンタ30が接続されてい
ることである。
Fourthly, a counter 30 is connected to the data bus DB for counting the number of passing bills detected by the bill detector 3 based on a command from the CPU 12.

以下、本実施例についてその動作を含めてさらに詳細に
説明する。なお、以下の説明において、各動作は、前記
CPU12の指令に基づいて行われるものである。
The present embodiment will be described in further detail below, including its operation. In the following description, each operation is performed based on instructions from the CPU 12.

本実施例の紙幣鑑別装置では、紙幣が挿入されると、ま
ず、紙幣の金種(千円札、五千円札、−万円孔等の種類
)とその挿入方向く紙幣鑑別装置に挿入された紙幣の前
後方向、あるいは、表裏等によって定められる紙幣の挿
入方向。) (以下、金種・方向と略称する。)゛を判
別する動作を行い、次いで、前記パターン補正値Cノを
修正する動作を行って1サイクルの動作を終了し、紙幣
が挿入される毎にこのサイクルを繰り返すものである。
In the banknote validating device of this embodiment, when a banknote is inserted, the denomination of the banknote (type of 1,000 yen bill, 5,000 yen bill, -10,000 yen hole, etc.) and its insertion direction are first determined. The front-back direction of a banknote, or the insertion direction of a banknote determined by the front and back sides of the banknote. ) (hereinafter abbreviated as denomination/direction). Then, the pattern correction value C is corrected to complete one cycle of operation, and each time a banknote is inserted. This cycle is repeated.

第8図は、本実施例の紙幣の金種・方向を判別する動作
を示すフローチャートである。
FIG. 8 is a flowchart showing the operation for determining the denomination and direction of banknotes in this embodiment.

以下、第9図並びに前記第1図及び第8図を参照にしな
がら紙幣の金種・方向を判別する動作について詳述する
The operation for determining the denomination and orientation of banknotes will be described in detail below with reference to FIG. 9 and FIGS. 1 and 8.

まず、紙幣鑑別装置を紙幣鑑別動作を行う状態に設定す
ると、CPU12は第3図におけるステップ301の始
めの状態になり、ただちに次のステップ302に進む。
First, when the bill validating device is set to perform a bill validating operation, the CPU 12 enters the state at the beginning of step 301 in FIG. 3, and immediately proceeds to the next step 302.

この状態で、第8図に示されるように、紙幣2が搬送装
置1によって図中矢印で示される方向に搬送されると、
前記紙幣検知器3が紙幣を検知し、この検知信号がCP
U12に送出される。ステップ302では、この検知信
号の有無が判断され、検知信号を受けなときは次のステ
ップ303に進み、一方、検知信号がないときには、前
記ステップ301に戻る。
In this state, as shown in FIG. 8, when the banknote 2 is transported by the transport device 1 in the direction indicated by the arrow in the figure,
The banknote detector 3 detects a banknote, and this detection signal is CP
Sent to U12. In step 302, the presence or absence of this detection signal is determined. If the detection signal is not received, the process proceeds to the next step 303. On the other hand, if there is no detection signal, the process returns to step 301.

ステップ303では、前記A/Dコンバータ17から送
られるその時点の温度のディジタル値(1)を前記リー
ド・ライト・メモリ13に記憶させる。このステップが
終了すると次の304のステップに進む。
In step 303, the digital value (1) of the temperature at that point sent from the A/D converter 17 is stored in the read/write memory 13. When this step is completed, the process proceeds to the next step 304.

この間、紙幣2はさらに搬送され、反射光検出器5.・
・・、5(パターン検出手段)の部位に至る。
During this time, the banknote 2 is further conveyed, and the reflected light detector 5.・
. . . reaches the part 5 (pattern detection means).

これら反射光検出器5.・・・、5は、それぞれ前記紙
幣2の図形や模様の濃淡に対応した反射光を検出し、そ
の出力を前記増幅回路9.・・・、9に送出する。これ
ら増幅回路9.・・・、9は入力した前記反射光検出器
5.・・・、5の信号を所定の電圧まで増幅し、前記マ
ルチプレクサ10に送る。このマルチプレクサ10は前
記各増幅器9.・・・、9から送られた信号をサイクリ
ックに選択し、時系列的に多重化してこれを前記A/D
コンバータ11に送る。このA/Dコンバータ11は入
力されたアナログ信号を所定の周期でディジタル値Dt
 (パターン信号を構成する。なお、i=1.2.3゜
・・・、nであってサンプルタイミングを示す。ただし
、nはサンプル数である。)に変換する。なお、前記選
択の周期及びディジタル値への変換周期は前記紙幣2の
搬送速度やその後の演算能力等によって適切な値に設定
される。
These reflected light detectors5. . . , 5 detect reflected light corresponding to the shading of the figure or pattern of the banknote 2, and send the output to the amplifier circuit 9 . . . . Sends to 9. These amplifier circuits9. ..., 9 is the input reflected light detector 5. . . , 5 is amplified to a predetermined voltage and sent to the multiplexer 10. This multiplexer 10 connects each of the amplifiers 9. . . , cyclically selects the signals sent from 9, multiplexes them in time series, and sends them to the A/D.
It is sent to converter 11. This A/D converter 11 converts the input analog signal into a digital value Dt at a predetermined period.
(Composes a pattern signal. Note that i=1.2.3° . . . , n indicates the sample timing. However, n is the number of samples.) Note that the selection period and the conversion period to digital values are set to appropriate values depending on the conveyance speed of the banknote 2, subsequent calculation ability, and the like.

ステ・ンブ304では、このディジタル値D+(パター
ン信号)を読み込んで前記データバスDBを通じてリー
ド・ライト・メモリ13(パターン信号記憶手段を構成
する)に送って記憶させる。
The step 304 reads this digital value D+ (pattern signal) and sends it to the read/write memory 13 (constituting a pattern signal storage means) via the data bus DB for storage.

第10図は、このようにして前記リード・ライト・メモ
リ13に記憶されたデータDIの例を示す図であり、図
中実線aで示される曲線が前記データD1を示すもので
ある。なお、図中、縦軸dがデータの大きさ(相対値)
であり、横軸iがサンプルタイミングである。
FIG. 10 is a diagram showing an example of the data DI stored in the read/write memory 13 in this way, and the curve shown by the solid line a in the figure shows the data D1. In addition, in the figure, the vertical axis d is the size of the data (relative value)
, and the horizontal axis i is the sample timing.

前記ステップ304が終了すると、次にステップ305
に進む。このステップ305では前記不揮発性メモリ1
3にあらかじめ格納されているパターン補正値Cjを選
択して読みだす。次いで、ステップ306に進んで、下
記の(1〉式に示されるように、前記ステップ305で
読み出されたパターン補正値C4に、該CJに対応する
データDIをそれぞれ乗じて補正データElを演算し、
この演算結果を前記リード・ライト・メモリ13に記憶
する。
When step 304 is completed, step 305
Proceed to. In this step 305, the non-volatile memory 1
The pattern correction value Cj previously stored in 3 is selected and read out. Next, the process proceeds to step 306, and as shown in equation (1) below, the pattern correction value C4 read out in step 305 is multiplied by the data DI corresponding to the CJ to calculate correction data El. death,
This calculation result is stored in the read/write memory 13.

Ei”D+ XCJ・・・・・・(1)こうして記憶さ
れた補正データEIの例を第10図に点線の曲線すとし
て示す。
Ei"D+XCJ (1) An example of the correction data EI stored in this way is shown as a dotted curve in FIG.

前記、ステップ306が終了すると、次にステップ30
7に進む。このステップ307では、前記基準値メモリ
14(基準パターン信号記憶手段)に、金種・方向毎に
あらかじめ設定されて格納されている基準値Rzn、d
>(基準パターン信号を構成する。ただし、kは金種、
dは方向を示す)を読み出し、これに対する前記補正デ
ータEIの二乗誤差ε(k、 d)を下記(2)式に表
される演算を行って金種・方向毎に求める。
When step 306 is completed, step 30
Proceed to step 7. In this step 307, the reference values Rzn, d, which are preset and stored for each denomination and direction, are stored in the reference value memory 14 (reference pattern signal storage means).
> (Constitutes the reference pattern signal. However, k is the denomination,
d indicates the direction), and the squared error ε(k, d) of the correction data EI with respect to this is calculated for each denomination and direction by performing calculations expressed by the following equation (2).

ε。、d、=梵(Rz<k、a+  E+ )’・・・
(2);畠! 前記、ステップ307が終了すると、次にステップ30
8に進む。このステップ308では、前記求めたε(k
、 d)のうち最小の値をとるε(k、 d)(これを
、!1ε(k、 d) とする)を求める。
ε. , d, = Sanskrit (Rz<k, a+ E+)'...
(2); Hatake! When step 307 is completed, step 30
Proceed to step 8. In this step 308, the obtained ε(k
, d) that takes the minimum value (denote this as !1ε(k, d)).

前記、ステップ308が終了すると、次にステップ30
9に進む。このステップ309では前記求めた。1゜ε
(k、 d)と、あらかじめ設定された限界値εgと比
較して1..1fiε(k、d) <ε虐であるときは
ステップ311に進み、そうでないときはステップ31
0に進む。
When step 308 is completed, step 30
Proceed to step 9. In this step 309, the above-described calculation is performed. 1゜ε
(k, d) and a preset limit value εg. .. If 1fiε(k, d) < ε, proceed to step 311; otherwise, proceed to step 31
Go to 0.

ステップ310は、前記ステップ309で、ml。ε(
k、 d)≧ε1と判断された場合であり、この場合は
、二乗誤差ε(k、 d)が限界値ε虐以下の値をとる
に、dの組み合わせが1つもないということであるから
、判別不可能として、図示しない上位の装置(例えば、
紙幣を金種毎に方向を揃えて区分けする装置等)にその
結果を出力してステップ313に進み、一連の動作を終
了する。
Step 310 is the step 309 in which the ml. ε(
This is a case where it is determined that k, d) ≥ ε1, and in this case, there is no combination of d for which the squared error ε(k, d) takes a value less than the critical value ε. , a higher-level device (not shown) (for example,
The result is output to a device (such as a device that sorts banknotes by aligning the directions for each denomination), and the process proceeds to step 313, where the series of operations ends.

一方、ステップ311は、前記ステップ309で、1.
ε(i、dl <ε、と判断された場合であるが、この
場合、ε(k、 dlがあらがじめ設定された限界値ε
1以下の値をとるに、dの組み合わせがただ1つのとき
、そのに、dの組み合わせを前記紙幣2の金種・方向で
あると判別し、また、ε。、d)があらがじめ設定され
た限界値ε1以下の値をとるに、dの組み合わせが複数
ある場合は、前記二乗誤差ε(k、 d)の値が一番小
さなに、dの組み合わせを前記紙幣2の金種・方向であ
ると判別して、それぞれ、図示しない上位の装置にその
結果を出力する。
On the other hand, step 311 is the step 309 described above.
This is a case where it is determined that ε(i, dl < ε, but in this case, ε(k, dl is the preset limit value ε
If there is only one combination of d that takes a value of 1 or less, then the combination of d is determined to be the denomination and direction of the banknote 2, and ε. , d) takes a value less than or equal to the preset limit value ε1, and if there are multiple combinations of d, select the combination of d with the smallest value of the squared error ε(k, d). are determined to be the denomination and direction of the banknote 2, and output the results to a higher-level device (not shown).

前記ステップ311が終了すると、次に、ステップ31
2に進む。このステップ312では、下記(3)式で表
されるように、前記不揮発性メモリ15に記憶されてい
る温度幅毎に設けられた通過枚数カウンタにカウントさ
れているカウント数PJに1を加える演算を行い、その
結果を再び不揮発性メモリ15に記憶し、次いで、ステ
ップ313に進んで一連の動作を終了する。
When step 311 is completed, step 31
Proceed to step 2. In this step 312, as expressed by the following equation (3), 1 is added to the count number PJ counted in the passed sheet number counter provided for each temperature range stored in the nonvolatile memory 15. The result is stored in the non-volatile memory 15 again, and then the process proceeds to step 313 to end the series of operations.

P t = P j+ 1・・・(3)このようにして
、金種・方向の判別動作が終了すると、次に、パターン
補正値C」の修正演算の動作が行われる。
P t = P j+ 1 (3) When the denomination/direction discrimination operation is completed in this way, the operation of correcting the pattern correction value C is performed next.

第11図は、前記CJの修正演算動作を示すフローチャ
ートである。
FIG. 11 is a flowchart showing the CJ correction calculation operation.

第11図において、前記金種・方向判別動作が終了する
と、ステップ501の始めの状態に移行し、ただちに次
のステップ502に進む。
In FIG. 11, when the denomination/direction discrimination operation is completed, the process moves to the initial state of step 501 and immediately proceeds to the next step 502.

このステップ502では、下記の(4)式で表されるよ
うに、温度tにおける前記データDsの積分値Iが求め
られる。
In this step 502, the integral value I of the data Ds at the temperature t is determined as expressed by the following equation (4).

■=尽DI・・・(4) このステップ502が終了すると、次にステップ503
に進む。このステップ503では、金種・方向毎にあら
かじめ前記基準値メモリ14に記憶されている前記基準
値R+<k、d〉の積分値である積分基準値J <*、
 d)を前記基準値メモリ14から読み出して下記(5
)式により、このJ(m、d> と前記ステップ502
で求めたIとの比Kを求める。
■=Exhaust DI...(4) When this step 502 is completed, next step 503
Proceed to. In this step 503, an integral reference value J <*, which is an integral value of the reference value R+<k, d> stored in advance in the reference value memory 14 for each denomination and direction, is determined.
d) from the reference value memory 14 and perform the following (5).
) formula, this J(m, d> and the step 502
Find the ratio K to I obtained in .

K = J <*、 d)/ I耶−■(5)なお、前
記J (k、 d)は、下記(6)式によってあらかじ
め算出されて前記基準値メモリ14に記憶されている。
K = J <*, d)/I - (5) Note that the above J (k, d) is calculated in advance by the following equation (6) and stored in the reference value memory 14.

J(k、d>=ΣR1(k、d)・・・(6)llt 前記ステップ503が終了すると、次に、ステップ50
4に進む。このステップ504では、前記ステップ50
3で求めたK、前記紙幣通過枚数カウンタのカウント数
PJ及びこの判別動作より1つ手前の判別動作の際に求
められているC」の値を用いて、下記の(7)式によっ
てKの累積平均を求めることにより、CIの修正値C′
」を求めてその結果を新たなCI値として前記不揮発性
メモリ15に記憶させる。
J(k, d>=ΣR1(k, d)...(6)llt When step 503 is completed, next step 50
Proceed to step 4. In this step 504, the step 50
Using the value of K obtained in step 3, the count number PJ of the bill passing counter, and the value of C obtained in the previous discrimination operation, calculate K using the following equation (7). By calculating the cumulative average, the corrected value C′ of CI
” and store the result in the nonvolatile memory 15 as a new CI value.

CJ = (CJ X (PJ   1 ) +K) 
/PJ・・・(7) このステップ504が終了すると、次のステップ505
に進んでCJの修正動作を終了する。
CJ = (CJ X (PJ 1) +K)
/PJ...(7) When this step 504 is completed, the next step 505
Proceed to , and end the CJ correction operation.

そして、次の紙幣が挿入されると、再び前記金種・方向
判別動作を開始し、前記と同様の動作を行い、紙幣が挿
入される毎にこれを繰り返す。
Then, when the next banknote is inserted, the denomination/direction discrimination operation is started again, and the same operation as above is performed, and this is repeated every time a banknote is inserted.

この場合、最初に紙幣が挿入された際に用いるC4の値
は、初期値としてあらかじめ前記不揮発性メモリ15に
記憶しておく。この初期値は、例えば、金種・方向が既
知の紙幣について、各温度しにおけるデータD、の積分
値工と、その金種・方向における基準値Rs nc、 
d>を積分した積分基準値J <k、 a) とを求め
、下記(8)式で表されるようにこれらの比をとって、
この比の値をCjの初期値としてもよいし、あるいは、
実験的に求めてもよい。
In this case, the value of C4 used when a banknote is inserted for the first time is stored in advance in the nonvolatile memory 15 as an initial value. This initial value is, for example, the integral value of data D at each temperature for a banknote of known denomination and direction, and the reference value Rs nc for that denomination and direction.
Calculate the integral reference value J <k, a) by integrating d>, and take the ratio of these as expressed by the following equation (8),
The value of this ratio may be used as the initial value of Cj, or
It may be determined experimentally.

CJ(初剛値> = J  <k、 d>  / r 
・・・ (8)この初期値は、次から紙幣が挿入される
毎に前記修正動作によって修正を加えられていき、より
適切な値に修正されていく。
CJ (initial stiffness value> = J <k, d> / r
(8) This initial value is corrected by the correction operation each time a banknote is inserted, and is corrected to a more appropriate value.

以上、詳述した一実施例によれば、前記反射光検出器5
.・・・、5の特性を、基準値J(+c、d)を基準に
して個々に補正していることから、仮に、反射光検出器
5.・・・、5の特性が互いに大きく異なっている場合
であっても、各々適切な補正が行われ、したがって、こ
のような場合でも誤差が大きくなるようなことはない。
According to the embodiment described above in detail, the reflected light detector 5
.. . . , 5 are individually corrected based on the reference value J (+c, d). Therefore, if the reflected light detector 5. Even if the characteristics of .

また、前記パターン補正値C」は各温度毎に区分された
補正値ではあるが、温度特性のみの補正値ではなく、温
度特性は勿論のこと、他の要因による特性変化、例えば
、反射光検出器5の感度の経時変化や該反射光検出器5
を構成するLED5a及びホトダイオード5bの表面に
付着する異物等による感度変化等も全て含んだ補正値で
あるから、温度補正のみを行った場合に比較して、さら
に、正確な補正を行うことが可能である。
Furthermore, although the pattern correction value C'' is a correction value classified for each temperature, it is not a correction value only for temperature characteristics, but also changes in characteristics due to not only temperature characteristics but also other factors, such as reflected light detection. Changes in the sensitivity of the detector 5 over time and the reflected light detector 5
Since the correction value includes all changes in sensitivity due to foreign matter adhering to the surfaces of the LED 5a and photodiode 5b that make up the sensor, it is possible to perform more accurate correction than when only temperature correction is performed. It is.

さらに、前記補正値C」は、固定したものでなく、鑑別
時点における特性と、それまでに鑑別した際に用いられ
た補正値とを加味して、累積的平均をとることによって
鑑別の毎に修正した値を用いていることから、常に正し
い補正値であり、したがって、この補正値自体が時間と
ともに不適切なものとなるおそれがない。
Furthermore, the above-mentioned correction value C' is not fixed, but is calculated for each discrimination by taking the cumulative average by taking into account the characteristics at the time of discrimination and the correction values used in previous discriminations. Since the corrected value is used, the correction value is always correct, and therefore there is no possibility that the correction value itself becomes inappropriate over time.

なお、前記一実施例では、前記金種・方向を判別する動
作及びパターン補正値の修正動作を全て前記CPU12
に組み込んだ手順によって行う例をかかげたが、本発明
は、これに限られることなく、例えば、乗算型D/Aコ
ンバータやディジタル乗算回路等を用いて前記各動作の
一部をこれらの回路によって処理するようにしてもよい
。これによれば、全ての動作を前記CPU12で行なわ
せる場合に比較して紙幣の判別処理をより高速化するこ
とが可能になる。
In the above embodiment, the operation of determining the denomination and direction and the operation of correcting the pattern correction value are all carried out by the CPU 12.
Although the present invention is not limited to this, for example, a part of each of the above operations can be performed by using a multiplication type D/A converter, a digital multiplication circuit, etc. It may also be processed. According to this, it becomes possible to speed up the banknote discrimination process compared to the case where all the operations are performed by the CPU 12.

また、前記一実施例では、紙幣に光を照射してその反射
光を検出することにより紙幣の光学的パターンを検出す
る場合におけるパターン検出手段に補正を施す例をかか
げたが、本発明はこれに限られるものではなく、他の光
学的パターン検出手段、例えば、透過光を利用したもの
、あるいは、光学的パターン検出手段以外のパターン検
出手段、例えば磁気的パターン検出手段等にも適用でき
る。
Further, in the above-mentioned embodiment, an example has been described in which the pattern detection means is corrected when an optical pattern of a banknote is detected by irradiating light onto the banknote and detecting the reflected light. The present invention is not limited to, and can be applied to other optical pattern detection means, such as those using transmitted light, or pattern detection means other than optical pattern detection means, such as magnetic pattern detection means.

さらに、前記一実施例では、本発明を紙幣鑑別装置に適
用した例をかかげたが、紙幣以外の紙葉類、例えば、証
券等を鑑別する装置にも適用できる。
Further, in the embodiment described above, the present invention is applied to a banknote validating device, but it can also be applied to a device for validating paper sheets other than banknotes, such as securities.

[発明の効果] 以上詳述したように、本発明にかがる紙葉類鑑別装置は
、要するに、紙葉類の模様や図形等のパターンを検出す
るパターン検出手段によって得られるパターン信号と、
あらかじめ設定された基準パターン信号とに基づいて、
前記パターン検出手段毎に所定の温度幅毎のパターン補
正値を求めておき、 次に、前記パターン検出手段によって鑑別対象なる紙葉
類のパターン信号を求め、 この得られたパターン信号を前記パターン補正値を用い
て補正して補正パターン信号を求め、次いで、この補正
パターン信号と前記基準パターン信号と比較してその比
較結果から前記鑑別対象なる紙葉類の鑑別を行うように
した構成を有するもので、 これにより、パターン検出手段の温度特性その他の要因
によるパターン検出誤差を各パターン検出手段毎に補正
することを可能にし、その結果、パターン検出手段に大
きな特性のバラツキがある場合でも適切な補正を行うこ
とを可能にしたものである。
[Effects of the Invention] As described in detail above, the paper sheet discrimination device according to the present invention basically uses a pattern signal obtained by a pattern detection means for detecting patterns such as patterns and figures on paper sheets;
Based on the preset reference pattern signal,
A pattern correction value for each predetermined temperature range is determined for each of the pattern detection means, and then a pattern signal of the paper sheet to be identified is determined by the pattern detection means, and the obtained pattern signal is subjected to the pattern correction. A device having a configuration in which a corrected pattern signal is obtained by correcting using the value, and then this corrected pattern signal is compared with the reference pattern signal, and the paper sheet to be discriminated is discriminated based on the comparison result. This makes it possible to correct pattern detection errors caused by temperature characteristics of the pattern detection means and other factors for each pattern detection means, and as a result, even if there are large variations in the characteristics of the pattern detection means, appropriate correction can be made. This makes it possible to do the following.

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

第1図は本発明の一実施例にかかる紙幣鑑別装置を示す
ブロック図、第2図は従来の紙幣鑑別装置を示すブロッ
ク図、第3図は第2図に示される従来の紙幣鑑別装置に
用いられているLED5aの温度特性(温度補正をしな
い場合の特性)を示すグラフ、第4図は前記第3図に示
される温度特性を有するLED5aを用いて紙幣に光を
照射してその反射光の強度を観測した反射光の読取り例
(温度補正をしない場合における)を示すグラフ、第5
図は従来の紙幣鑑別装置において同一機種の異なる3台
の紙幣鑑別装置の同一箇所に使用されているLEDの温
度特性の例を示すグラフ、第6図は第5図における曲線
Bを示すLEDを基準にして温度補償を施した場合の様
子を示すグラフ、第7図は第6図に示されるような温度
補償を施した各紙幣鑑別装置におけるLEDによって同
一の紙幣に光を照射してその図形や模様の濃淡に対応し
て変化する反射光を読み取った場合の反射光の強度分布
曲線を示すグラフ、第8図は第1図に示される紙幣鑑別
装置のセンサ配置を示す斜視図、第9図は第1図に示さ
れる一実施例の紙幣の金種・方向を判別する動作を示す
フローチャート、第10図は第1図におけるリード・ラ
イト・メモリ13に記憶されたデータDlの例を示す図
、第11図はパターン補正値CJの修正演算動作を示す
フローチャートである。 5・・・パターン検出手段を構成する反射光検出器、6
.16・・・温度検出手段を構成する温度センサ及び温
度検出回路、12・・・補正パターン信号を得る演算装
置及び紙葉類の判別を行う判別手段並びにパターン補正
値の修正演算を行う演算手段を構成するCPU、14・
・・基準パターン信号記憶手段を構成する基準値メモリ
、15・・・パターン補正値記憶手段を構成する不揮発
性メモリ、30・・・紙葉類の累積鑑別枚数をカウント
するカウンタ。 代理人 鈴 木    敏 明、や11.′、、、、I
σ1−ノ LFDの温度特性を示すり゛う7 第3図 第4図 上田R 来田R 温度補正後の反射光強度分布を示すり゛ラフ第7図 金種・方向判別動作の7n−fr) 第9図 号ン7°ルータイミンク゛ 読取りテ゛−夕の例を示すり゛う7 第1o図 Cjの修正動作のフa−fr) 第11図
FIG. 1 is a block diagram showing a bill validating device according to an embodiment of the present invention, FIG. 2 is a block diagram showing a conventional bill validating device, and FIG. 3 is a block diagram showing a conventional bill validating device shown in FIG. FIG. 4 is a graph showing the temperature characteristics of the LED 5a used (characteristics without temperature correction), and the reflected light is irradiated onto a banknote using the LED 5a having the temperature characteristics shown in FIG. 3. Graph showing an example of reading the reflected light observed for the intensity (in the case of no temperature correction), 5th
The figure is a graph showing an example of the temperature characteristics of LEDs used at the same location in three different banknote validators of the same model in a conventional banknote validator. A graph showing the situation when temperature compensation is applied as a reference, and FIG. 7 is a graph showing the shape of the same banknote by illuminating the same banknote with light using the LED in each banknote discrimination device that has undergone temperature compensation as shown in FIG. 6. FIG. 8 is a perspective view showing the sensor arrangement of the banknote validating device shown in FIG. 1; FIG. The figure is a flowchart showing the operation for determining the denomination and direction of banknotes in one embodiment shown in FIG. 1, and FIG. 10 shows an example of data Dl stored in the read/write memory 13 in FIG. 11 are flowcharts showing the operation of correcting the pattern correction value CJ. 5... Reflected light detector constituting pattern detection means, 6
.. 16...A temperature sensor and a temperature detection circuit constituting the temperature detection means; 12...A computing device for obtaining a correction pattern signal, a discriminating means for discriminating paper sheets, and a computing means for performing a correction computation of a pattern correction value. Constituent CPU, 14.
. . . Reference value memory constituting the reference pattern signal storage means; 15 . . . Non-volatile memory configuring the pattern correction value storage means; 30 . Agent Toshiaki Suzuki, Ya11. ′,,,,I
Fig. 7 shows the temperature characteristics of the σ1-no LFD. Fig. 4 shows the reflected light intensity distribution after temperature correction. Fig. 7 shows the denomination/direction discrimination operation. ) Figure 9 shows an example of the 7° routine timing readout stage (7) Figure 1o (a-fr) of the correction operation of Cj) Figure 11

Claims (2)

【特許請求の範囲】[Claims] (1)紙葉類の光学的あるいは磁気的特徴を検出して該
紙葉類を鑑別する紙葉類鑑別装置において、前記紙葉類
の光学的あるいは磁気的特徴を表す光学的あるいは磁気
的パターンに対応するパターン信号を得るパターン検出
手段と、 前記紙葉類鑑別装置内の温度を検出する温度検出手段と
、 前記光学的あるいは磁気的検出手段に対応して紙葉類の
鑑別内容毎に設定された紙葉類の基準パターン信号を記
憶する基準パターン信号記憶手段と、 前記基準パターン信号記憶手段に記憶されている基準パ
ターン信号と、各温度において前記光学的あるいは磁気
的検手段によって検出されるパターン信号とに基づいて
あらかじめ前記パターン検出手段毎に設定された各温度
毎のパターン補正値を記憶するパターン補正値記憶手段
と、 前記パターン補正値記憶手段に記憶されているパターン
補正値の中から前記温度検出手段で検出された温度に対
応する温度におけるパターン補正値を選択してこの選択
したパターン補正値を用いて前記パターン検出手段で検
出されたパターン信号に補正を施す演算を行つて補正パ
ターン信号を得る演算手段と、 前記演算手段によって得られた補正パターン信号と、前
記基準パターン信号記憶手段に記憶されている基準パタ
ーン信号とを比較して紙葉類の判別を行う判別手段とを
備えたことを特徴とする紙葉類鑑別装置。
(1) In a paper sheet identification device that detects optical or magnetic characteristics of paper sheets to identify the paper sheets, an optical or magnetic pattern representing the optical or magnetic characteristics of the paper sheets is used. a pattern detection means for obtaining a pattern signal corresponding to the temperature detection means for detecting the temperature within the paper sheet discrimination device; and a temperature detection means for detecting the temperature within the paper sheet discrimination device; a reference pattern signal storage means for storing a reference pattern signal of a paper sheet that has been detected by the optical or magnetic detection means at each temperature; pattern correction value storage means for storing pattern correction values for each temperature set in advance for each of the pattern detection means based on the pattern signal; A correction pattern is created by selecting a pattern correction value at a temperature corresponding to the temperature detected by the temperature detection means, and using the selected pattern correction value, performing an operation to correct the pattern signal detected by the pattern detection means. a calculation means for obtaining a signal; and a discrimination means for comparing the corrected pattern signal obtained by the calculation means with a reference pattern signal stored in the reference pattern signal storage means to discriminate paper sheets. A paper sheet identification device characterized by:
(2)請求項(1)記載の紙葉類鑑別装置において、 前記温度検出手段によって検出された温度において、こ
れまでに鑑別した紙葉類の累積枚数をカウントするカウ
ンタと、 前記紙葉類の判別手段によつて紙葉類の判別を行った後
に、前記パターン検出手段で検出されたパターン信号の
積分値と前記基準パターン信号の積分値とを求めるとと
もにこれら積分値の比の値を求め、この比の値及び前記
カウンタのカウント数並びに前記パターン補正値記憶手
段に記憶されているパターン補正値を用いてパターン補
正値の累積的平均をとってそれを新たなパターン補正値
とするパターン補正値の修正演算を行う演算手段を備え
たことを特徴とする紙葉類鑑別装置。
(2) The paper sheet identification device according to claim (1), further comprising: a counter that counts the cumulative number of paper sheets that have been classified so far at the temperature detected by the temperature detection means; After discriminating paper sheets by the discriminating means, an integral value of the pattern signal detected by the pattern detecting means and an integral value of the reference pattern signal are determined, and a value of the ratio of these integral values is determined; A pattern correction value that uses the value of this ratio, the count number of the counter, and the pattern correction value stored in the pattern correction value storage means to take a cumulative average of the pattern correction values and sets it as a new pattern correction value. What is claimed is: 1. A paper sheet discrimination device characterized by comprising a calculation means for performing a correction calculation.
JP63260386A 1988-10-18 1988-10-18 Paper discrimination device Expired - Fee Related JPH0814859B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63260386A JPH0814859B2 (en) 1988-10-18 1988-10-18 Paper discrimination device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63260386A JPH0814859B2 (en) 1988-10-18 1988-10-18 Paper discrimination device

Publications (2)

Publication Number Publication Date
JPH02108185A true JPH02108185A (en) 1990-04-20
JPH0814859B2 JPH0814859B2 (en) 1996-02-14

Family

ID=17347198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63260386A Expired - Fee Related JPH0814859B2 (en) 1988-10-18 1988-10-18 Paper discrimination device

Country Status (1)

Country Link
JP (1) JPH0814859B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628545A (en) * 1992-07-10 1994-02-04 Shinji Suga Paper money discrimination device
US5992600A (en) * 1993-11-30 1999-11-30 Mars, Incorporated Money validator
JP2008146123A (en) * 2006-12-06 2008-06-26 Matsushita Electric Ind Co Ltd Bill identification device
JP2013120538A (en) * 2011-12-08 2013-06-17 Nidec Sankyo Corp Magnetic sensor device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6375894A (en) * 1986-09-18 1988-04-06 富士通株式会社 Automatic correction processing system for data base
JPS63259793A (en) * 1987-04-17 1988-10-26 富士電機株式会社 Sheet paper identifier

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6375894A (en) * 1986-09-18 1988-04-06 富士通株式会社 Automatic correction processing system for data base
JPS63259793A (en) * 1987-04-17 1988-10-26 富士電機株式会社 Sheet paper identifier

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628545A (en) * 1992-07-10 1994-02-04 Shinji Suga Paper money discrimination device
US5992600A (en) * 1993-11-30 1999-11-30 Mars, Incorporated Money validator
JP2008146123A (en) * 2006-12-06 2008-06-26 Matsushita Electric Ind Co Ltd Bill identification device
JP2013120538A (en) * 2011-12-08 2013-06-17 Nidec Sankyo Corp Magnetic sensor device

Also Published As

Publication number Publication date
JPH0814859B2 (en) 1996-02-14

Similar Documents

Publication Publication Date Title
US20060151282A1 (en) Method and device for the checking banknotes
WO2003050772A1 (en) Banknote identifying machine and banknote identifying method
EP3723054B1 (en) Banknote recognition unit, banknote handling device, and banknote recognition method
JPWO2019202715A1 (en) Paper leaf processing equipment and paper leaf processing method
EP3598400B1 (en) Paper sheet image acquisition device, paper sheet processing device, and paper sheet image acquisition method
JPWO2011086665A1 (en) Paper sheet identification device and paper sheet identification method
JP2007072885A (en) Device for discriminating thickness of paper sheets
JPH02108185A (en) Discriminating device for paper or the like
JP3549935B2 (en) Paper sheet identification device
JPH0520521A (en) Coin discriminating device
KR101062315B1 (en) Apparatus for checking counterfeit bill and method thereof
JP2511488B2 (en) Paper discriminating device
JP2012043361A (en) Paper sheet inspection device and paper sheet processing device mounted with the same
JPS59180794A (en) Paper money discrimination system
JP7216587B2 (en) Paper sheet thickness detection device and paper sheet thickness detection device control method
AU2017299334B2 (en) Paper sheet identification device and paper sheet identification method
JPH04199489A (en) Paper money processor
JP4674065B2 (en) Medium identification apparatus and medium processing apparatus
JP3869713B2 (en) Paper sheet identification device
JPH0319596B2 (en)
JP2000306136A (en) Method and device for paper sheet discrimination
JPH04163686A (en) Paper money discriminating device
JPH0110692Y2 (en)
JPH02189698A (en) Paper money discriminating device
JP3151034B2 (en) Bill validator

Legal Events

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