JPH1153604A - Correction method for optical sensor output - Google Patents

Correction method for optical sensor output

Info

Publication number
JPH1153604A
JPH1153604A JP9214250A JP21425097A JPH1153604A JP H1153604 A JPH1153604 A JP H1153604A JP 9214250 A JP9214250 A JP 9214250A JP 21425097 A JP21425097 A JP 21425097A JP H1153604 A JPH1153604 A JP H1153604A
Authority
JP
Japan
Prior art keywords
optical sensor
output
time
value
correction
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.)
Pending
Application number
JP9214250A
Other languages
Japanese (ja)
Inventor
Tetsuya Ishino
哲也 石野
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 JP9214250A priority Critical patent/JPH1153604A/en
Publication of JPH1153604A publication Critical patent/JPH1153604A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To accurately inspect the features of an inspection object without requiring a dead time after supplying power to a device. SOLUTION: At the time of adjustment, a correction value for each measurement time of a time measuring means 8 after power supply a device until generation of the stabilized output of a detection means 1 is calculated by using a ratio computing means 5, with its output stored in a correction value storage means 6. Then, at the time of actual operation, a correction computing means 7 respectively multiplies the correction value for each measurement time read from the correction value storage means 6 with the output value of the inspection means 1 and corrects optical sensor output.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、検査対象物の特徴
を光学的に検出する光学センサ出力の経時変化を補正す
る方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for correcting a temporal change of an output of an optical sensor for optically detecting a characteristic of an inspection object.

【0002】[0002]

【従来の技術】本発明は検査対象物の特徴を光学的に検
出する光学センサ出力の補正方法に関するものである
が、この検査対象物の具体例として本明細書において
は、紙葉類のうちの特に紙幣として説明する。従ってこ
の光学センサにより紙幣を検査する装置として、自動入
出金機や自動販売機等に用いられている紙幣鑑別装置に
ついて以下に述べる。自動入出金機や自動販売機等にお
いて、顧客により投入された紙幣に対し、金種の判定、
さらに真偽の判定をするための処理が行われる。この目
的のために紙幣鑑別装置が使用される。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for correcting the output of an optical sensor for optically detecting the characteristics of an object to be inspected. Especially, it is explained as a bill. Accordingly, as a device for inspecting bills with this optical sensor, a bill discriminating device used in an automatic depositing and dispensing machine, a vending machine, and the like will be described below. In automatic depositing and dispensing machines, vending machines, etc., judgment of denominations on bills inserted by customers,
Further, a process for determining the authenticity is performed. A bill validator is used for this purpose.

【0003】この紙幣鑑別装置は、投入された紙幣の模
様や図形から、反射光や透過光等の光学的なパターン、
または紙幣の印刷に使用された磁性を帯びたインクによ
る磁気的なパターンを検出し、あからじめ設定した基準
値と比較することにより、その類似度を求め、これと紙
幣の外形寸法の検出結果とを組み合わせて鑑別を行うも
のである。この時、光学的なパターンを検出するために
は、LED(ライトエミッティングダイオード)やホト
ダイオード、ホトトランジスタなどが用いられ、磁気的
なパターンを検出するためには、磁気ヘッドなどが用い
られている。
[0003] This bill discriminating apparatus uses an optical pattern such as a reflected light or a transmitted light, based on a pattern or a figure of an inserted bill.
Alternatively, the magnetic pattern of the magnetic ink used to print the banknotes is detected, and the similarity is determined by comparing with a preset reference value, and the external dimensions of the banknote are detected. The discrimination is performed in combination with the result. At this time, an LED (light emitting diode), a photodiode, a phototransistor, or the like is used to detect an optical pattern, and a magnetic head or the like is used to detect a magnetic pattern. .

【0004】図3は従来の紙幣鑑別装置の構成図であ
り、図の装置は、検出手段1、記憶手段2、基準値記憶
手段9、特徴演算手段10、比較手段11及び判別手段
12から構成される。図3の検出手段1は、LEDやホ
トダイオード、ホトトランジスタを用いた光センサによ
り、投入された紙幣の模様や図形から、反射光や透過光
などの光学的なパターンを検出したり、あるいは磁気セ
ンサにより磁気的なパターンを検出し、その検出信号を
出力するものである。また、記憶手段2は、検出手段1
により検出された検出信号を一時記憶するメモリであ
る。
FIG. 3 is a block diagram of a conventional bill discriminating apparatus. The apparatus shown in FIG. 3 comprises a detecting means 1, a storing means 2, a reference value storing means 9, a characteristic calculating means 10, a comparing means 11, and a discriminating means 12. Is done. The detecting means 1 shown in FIG. 3 detects an optical pattern such as reflected light or transmitted light from a pattern or a figure of an inserted bill by an optical sensor using an LED, a photodiode, or a phototransistor, or detects a magnetic sensor. To detect a magnetic pattern and output a detection signal. Further, the storage means 2 stores the detection means 1
Is a memory for temporarily storing the detection signal detected by the.

【0005】特徴演算手段10は、記憶手段2から読出
した前記検出信号から紙幣の特徴量を演算して比較手段
11に供給する。比較手段11は、一方の入力側が特徴
演算手段10に接続され、もう一方の入力側が基準値記
憶手段9に接続されており、特徴演算手段10により演
算された紙幣の特徴量と基準値記憶手段9に記憶される
基準値とを比較する。判別手段12は、入力側が比較手
段11に接続され、投入された紙幣の特徴量とあらかじ
め設定された基準値との比較結果から、紙幣の金種やそ
の表裏正逆を判別する。判別手段12による投入紙幣の
判定結果は、図示しない上位装置に出力するようになっ
ている。
[0005] The characteristic calculating means 10 calculates the characteristic amount of the bill from the detection signal read from the storage means 2 and supplies it to the comparing means 11. The comparison means 11 has one input side connected to the feature calculation means 10 and the other input side connected to the reference value storage means 9, and the feature amount of the bill calculated by the feature calculation means 10 and the reference value storage means 9 is compared with the reference value stored. The discriminating means 12 is connected to the comparing means 11 on the input side, and discriminates the denomination of the bill and the front / back of the bill from the comparison result between the characteristic amount of the inserted bill and a preset reference value. The judgment result of the inserted bill by the judgment means 12 is output to a higher-level device (not shown).

【0006】[0006]

【発明が解決しようとする課題】しかし、上記構成の装
置では、検出手段1においてLEDやホトダイオード、
ホトトランジスタ等を用いた光センサを使用しているた
め、装置に電源投入後の時間経過に対応して光センサ出
力特性は図4のようになる。図4において、光センサ出
力は、装置の電源投入後しばらく(例えば数分程度)
は、出力の時間的変化が大きく、一定時間t1 経過後、
はじめて出力が安定することが示されている。
However, in the device having the above structure, the detecting means 1 uses an LED, a photodiode, or the like.
Since an optical sensor using a phototransistor or the like is used, the output characteristic of the optical sensor becomes as shown in FIG. In FIG. 4, the output of the optical sensor is for a while (for example, about several minutes) after the power of the apparatus is turned on.
Means that the output changes greatly with time, and after a certain time t 1 elapses,
It is shown that the output is stabilized for the first time.

【0007】図5は紙幣のある箇所の光センサ出力の経
時変化とその上下限基準値を示す図である。図5におい
て、実線は装置の電源投入時(以下P−ON時と呼ぶ)
から前記時間t1 経過後の、検出手段1による紙幣のあ
る特定の箇所の図形や模様を走査したときの検出結果を
示している。また、実線の上下の破線は、この特定の箇
所の検出値に対する上限基準値と下限基準値をそれぞれ
示している。そして一点鎖線は、P−ON直後の同一箇
所の検出結果を示している。
FIG. 5 is a diagram showing a temporal change in the output of the optical sensor at a certain position of a bill and upper and lower reference values thereof. In FIG. 5, the solid line indicates when the power of the apparatus is turned on (hereinafter referred to as P-ON).
Shows the detection results obtained by scanning after the time t 1 has elapsed, the shapes and patterns of the particular locations of a bill by the detection means 1 from. The broken lines above and below the solid line indicate an upper limit reference value and a lower limit reference value with respect to the detected value of this specific portion, respectively. The alternate long and short dash line indicates the detection result of the same portion immediately after P-ON.

【0008】図5で明らかなように、P−ON時から光
センサ出力が安定し一定値になるまでの時間t1 の経過
前に、検出手段1により同じ箇所の紙幣の図形や模様を
検出すると、出力安定時の上限基準値を越える検出値と
なってしまう。すなわち、P−ON時からt1 までの間
は、同様のパターンであるにも関わらず、正しく鑑別さ
れないことになる。従って、P−ON時から光センサ出
力が安定する時間t1 までの間は、紙幣の鑑別を精度よ
く行うことができないため、光センサ出力が安定するま
で紙幣の投入を待たなければならないという問題があっ
た。
As is clear from FIG. 5, before the time t 1 from the time of P-ON until the output of the optical sensor stabilizes and reaches a constant value, the detecting means 1 detects the figure or pattern of the bill at the same position. Then, the detected value exceeds the upper reference value when the output is stable. That is, during the period from the time of P-ON to t 1 , the discrimination is not performed correctly despite the similar pattern. Therefore, during the period from the time of P-ON until the time t 1 at which the output of the optical sensor is stabilized, it is not possible to accurately discriminate the banknote, and it is necessary to wait for the insertion of the banknote until the output of the optical sensor is stabilized. was there.

【0009】[0009]

【課題を解決するための手段】本発明に係る光学センサ
出力の補正方法は、検査対象物の特徴を光学的に検出す
る光学センサ出力の経時変化を補正する方法において、
調整時に、装置への電源投入時から前記光学センサ出力
の安定値が得られるまでの間の各単位時間毎に前記光学
センサ出力値を順次記憶し、次に前記光学センサ出力の
安定値を前記記憶した各単位時間毎の光学センサ出力値
で除算してその商を各単位時間毎の補正値として予め記
憶しておき、実動作時に、装置への電源投入時から光学
センサ出力の安定値が得られるまでの間の各単位時間毎
の前記光学センサ出力値に対して前記予め記憶しておい
て各単位時間毎の補正値を乗算してその積を補正後の光
学センサ出力として得るようにしたものである。その結
果、装置への電源投入時から光学センサ出力の安定値が
得られるまでの間であっても、精度良く検査対象物の特
徴を検査することが可能となり、従来のような待ち時間
の必要がなくなった。
According to the present invention, there is provided a method for correcting an output of an optical sensor for correcting a change with time in an output of an optical sensor for optically detecting a characteristic of an inspection object.
At the time of adjustment, the optical sensor output value is sequentially stored for each unit time from when the power to the device is turned on until the stable value of the optical sensor output is obtained, and then the stable value of the optical sensor output is stored. Divide by the stored optical sensor output value for each unit time and store the quotient in advance as a correction value for each unit time, so that during actual operation, the stable value of the optical sensor The optical sensor output value for each unit time until it is obtained is multiplied by the correction value for each unit time stored in advance and obtained as the corrected optical sensor output. It was done. As a result, the characteristics of the inspection object can be inspected with high accuracy even during the period from when the power is turned on to the time when the stable value of the optical sensor output is obtained, and the time required for waiting as in the conventional case is required. Is gone.

【0010】[0010]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施形態1 図1は本発明の実施形態1に係る紙幣鑑別装置の構成図
である。図1において、検出手段1、記憶手段2、基準
値記憶手段9、特徴演算手段10、比較手段11及び判
別手段12は図3と同一ものである。3は実施形態1に
係る補正手段であり、切換手段4、比率演算手段5、補
正値記憶手段6、補正演算手段7及び時間計測手段8か
らなる。
Embodiment 1 FIG. 1 is a configuration diagram of a bill discriminating apparatus according to Embodiment 1 of the present invention. In FIG. 1, a detecting means 1, a storing means 2, a reference value storing means 9, a feature calculating means 10, a comparing means 11 and a determining means 12 are the same as those in FIG. Reference numeral 3 denotes a correction unit according to the first embodiment, which includes a switching unit 4, a ratio calculation unit 5, a correction value storage unit 6, a correction calculation unit 7, and a time measurement unit 8.

【0011】いま図1の検出手段1はLEDやホトダイ
オード、ホトトランジスタ等を用いた光センサであると
する。記憶手段2は、検出手段1により検出された検出
信号を一時記憶するメモリである。補正手段3内の切換
手段4は、補正値を演算するモードと、通常の紙幣認識
モードとの切換制御を行う手段である。即ち切換手段4
は、補正値演算モード時には、記憶手段2の出力を比率
演算手段5に供給すると共に、比率演算手段5の出力を
補正値記憶手段5に書込む制御を行い、また通常の動作
モード時には、記憶手段2の出力を補正演算手段7に供
給すると共に、補正値記憶手段6から時間計測手段8の
計測時間に対応する補正値を読出して補正演算手段7に
供給する制御を行う。
Now, it is assumed that the detecting means 1 in FIG. 1 is an optical sensor using an LED, a photodiode, a phototransistor or the like. The storage unit 2 is a memory that temporarily stores the detection signal detected by the detection unit 1. The switching means 4 in the correcting means 3 is a means for performing switching control between a mode for calculating a correction value and a normal bill recognition mode. That is, switching means 4
Performs control to supply the output of the storage means 2 to the ratio calculation means 5 in the correction value calculation mode and to write the output of the ratio calculation means 5 to the correction value storage means 5, and to store the output in the normal operation mode. The output of the means 2 is supplied to the correction calculation means 7, and a control is performed to read a correction value corresponding to the time measured by the time measurement means 8 from the correction value storage means 6 and supply the correction value to the correction calculation means 7.

【0012】時間計測手段8は、装置に電源が投入され
てから単位時間(例えば1秒)毎の時間を計測し、その
計測時間を補正値記憶手段6に供給すると共に、前記モ
ード切換時間t1 を切換手段4に通知する。比率演算手
段5は、補正値演算モード時に、P−ON時からt1
での間の補正値を演算し、補正値記憶手段6によりその
値を保存する。補正演算手段7は、補正値記憶手段6か
ら補正値を読み込み、記憶手段2に記憶された検出信号
に対し補正を行う。
The time measuring means 8 measures the time for each unit time (for example, one second) from when the power is turned on to the apparatus, supplies the measured time to the correction value storage means 6, and sets the mode switching time t. 1 is notified to the switching means 4. In the correction value calculation mode, the ratio calculation means 5 calculates a correction value from the time of P-ON to t 1, and stores the value by the correction value storage means 6. The correction calculation unit 7 reads the correction value from the correction value storage unit 6 and performs correction on the detection signal stored in the storage unit 2.

【0013】比較手段11は、一方の入力側が特徴演算
手段10に接続され、もう一方の入力側が基準記憶手段
9に接続されており、特徴演算手段10により演算され
た紙幣の特徴量と基準記憶手段9に記憶される基準値と
を比較する。判別手段12は、入力側が比較手段11に
接続され、投入された紙幣の特徴量とあらかじめ設定さ
れた基準値との比較結果から、紙幣の金種やその表裏正
逆を判別する。判別手段12による投入紙幣の判定結果
は、図示しない上位装置に出力するようになっている。
The comparing means 11 has one input side connected to the characteristic calculating means 10 and the other input side connected to the reference storing means 9. The reference value stored in the means 9 is compared. The discriminating means 12 is connected to the comparing means 11 on the input side, and discriminates the denomination of the bill and the front / back of the bill from the comparison result between the characteristic amount of the inserted bill and a preset reference value. The judgment result of the inserted bill by the judgment means 12 is output to a higher-level device (not shown).

【0014】図1の構成の装置において、補正手段3の
動作を詳細に説明する。 (1)まず、補正値算出モード時の動作について説明す
る。P−ON時から光センサ出力が安定する時間t1
での間の補正値Ptxは、装置の製造工程における試験等
の行程であらかじめ求めておく。それには、設計時に定
めた基準媒体(白紙など)を用いて、時間計測手段8が
時間計測を行う単位時間Δt(例えば前記1秒等)毎
に、検出手段1からの光センサ出力値を逐次記憶手段2
に一時記憶する。即ち図4の光センサ出力の安定化する
までの減衰曲線を時間軸のΔt毎にプロットして、図の
黒丸で示すすべての出力値を記憶手段2に一時記憶す
る。
The operation of the correcting means 3 in the apparatus having the configuration shown in FIG. 1 will be described in detail. (1) First, the operation in the correction value calculation mode will be described. The correction value P tx from the time of P-ON to the time t 1 at which the output of the optical sensor stabilizes is obtained in advance in a process such as a test in a manufacturing process of the device. To this end, the output value of the optical sensor from the detecting means 1 is sequentially changed every unit time Δt (for example, the one second or the like) at which the time measuring means 8 performs time measurement using a reference medium (such as blank paper) determined at the time of design. Storage means 2
To be stored temporarily. That is, the attenuation curve until the output of the optical sensor in FIG. 4 is stabilized is plotted for each Δt on the time axis, and all output values indicated by black circles in the figure are temporarily stored in the storage unit 2.

【0015】次に比率演算手段5によって、この一時記
憶した黒丸で示すすべての出力値を時間t1 のときの出
力値に変換するためのすべての補正値(補正係数)を順
次算出する。いまP−ON時から時間tx の時の検出手
段1の出力をOtx、最終時間t1 の時の出力をOt1とす
ると、時間tx の時の補正値Ptxは、次の(1)式から
求められる。 Ptx=Ot1/Otx …(1)
Next, the ratio calculating means 5 sequentially calculates all correction values (correction coefficients) for converting all the temporarily stored output values indicated by black circles into output values at the time t 1 . Outputs O tx detecting means 1 at time t x now from the time of P-ON, and the output of the time of the last time t 1 and O t1, the correction value P tx at time t x is the next ( It is obtained from the expression 1). P tx = O t1 / O tx (1)

【0016】この補正値の数値は、例えば、P−ON直
後の0.5程度から時間の経過と共に、図4の減衰曲線
の逆特性により順次増加してゆき、最終的には1に到達
するものである。この演算結果は、時間計測手段8が時
間計測を行う単位時間毎の補正値として補正値記憶手段
6に順次記憶される。そしてすべての補正値の補正値記
憶手段6への記憶が完了すると、補正値算出モードは終
了する。
The numerical value of the correction value is gradually increased with time, for example, from about 0.5 immediately after the P-ON due to the inverse characteristic of the attenuation curve of FIG. Things. The calculation result is sequentially stored in the correction value storage unit 6 as a correction value for each unit time at which the time measurement unit 8 performs time measurement. When the storage of all the correction values in the correction value storage means 6 is completed, the correction value calculation mode ends.

【0017】(2)次に、紙幣を鑑別する通常の動作モ
ード時の説明をする。投入紙幣の到来を、図示しない紙
幣検知手段からの出力、あるいは上位装置(図示せず)
からの信号により通知されると、検出手段1は動作状態
に入る。検出手段1はLED、ホトダイオードあるいは
ホトトランジスタ等を用いた光センサにより、紙幣の模
様や図形の濃淡に応じて変化する透過光あるいは反射光
のパターンを検出し、記憶手段2によって紙幣1枚分あ
るいは複数枚分記憶する。
(2) Next, a description will be given of a normal operation mode for discriminating bills. The arrival of the inserted bill is output from a bill detecting means (not shown) or a host device (not shown).
, The detecting means 1 enters an operating state. The detecting means 1 detects the pattern of transmitted light or reflected light which changes according to the density of a pattern or a figure of a bill by an optical sensor using an LED, a photodiode, a phototransistor, or the like, and the storage means 2 detects the pattern of one bill or Store for multiple sheets.

【0018】補正手段3は、装置のP−ON時から時間
計測手段8による計測時間がt1 になるまで以下の補正
を行い、t1 以降は補正を行わない。即ちP−ON時か
ら光センサ出力が安定するt1 までの間に、補正演算手
段7は、読出し専用に切換えられた補正値記憶手段7か
ら、P−ON時からの時間計測手段8による計測時間t
x に対応して補正値Ptxを読出し、記憶手段2から読出
した検出手段1の出力Otxに対して次の(2)式を用い
て補正を行い、補正結果のO′txを得る。 O′tx=Otx×Ptx …(2)
The correction means 3 performs the following corrections from the time of P-ON of the apparatus until the time measured by the time measuring means 8 reaches t 1 , and does not perform the correction after t 1 . That is, during the period from the time of P-ON until t 1 when the output of the optical sensor is stabilized, the correction calculation means 7 reads the correction value from the correction value storage means 7 switched to read only by the time measurement means 8 from the time of P-ON. Time t
The correction value P tx is read in accordance with x, and the output Otx of the detection means 1 read from the storage means 2 is corrected using the following equation (2) to obtain a correction result O ′ tx . O ′ tx = O tx × P tx (2)

【0019】補正手段3は、時間計測手段8による計測
時間がt1 以降は、補正演算手段7による補正は行わな
い。次に特徴演算手段10により紙幣の特徴量を演算す
る。そして比較手段11により、基準値記憶手段9から
読込んだ基準値と特徴演算手段10により演算した紙幣
の特徴量を比較し、紙幣の金種やその表裏正逆を判別
し、判別手段12により図示しない上位装置に投入紙幣
の判定結果を出力する。上記の動作は図3の場合と同様
である。
The correcting means 3, the measurement time t 1 later by time measuring means 8 does not perform correction by the correction calculation unit 7. Next, the characteristic amount of the bill is calculated by the characteristic calculating means 10. Then, the comparing means 11 compares the reference value read from the reference value storage means 9 with the feature amount of the bill calculated by the feature calculating means 10 to determine the denomination of the bill and the front / back sides thereof. The judgment result of the inserted bill is output to a host device (not shown). The above operation is the same as in the case of FIG.

【0020】以上のように実施形態1によれば、装置へ
の電源投入時から光センサ出力が安定するまでの間にお
ける個々の光センサの出力値に対応した補正値を予め算
出して記憶しておくことにより、装置の電源投入後の光
センサ出力の時間的変化が安定する以前であっても、前
記記憶した補正値を用いて光センサ出力を補正して精度
良く紙幣の鑑別が行なえるようになり、従来のように紙
幣の投入を待つ必要がなくなった。
As described above, according to the first embodiment, the correction values corresponding to the output values of the individual optical sensors from when the power to the apparatus is turned on until the optical sensor outputs are stabilized are calculated and stored in advance. By doing so, even before the temporal change of the optical sensor output after the power supply of the apparatus is stabilized, the optical sensor output is corrected using the stored correction value, and the bill can be accurately discriminated. As a result, it is no longer necessary to wait for the insertion of banknotes as in the past.

【0021】実施形態2 図2は本発明の実施形態2に係る紙幣鑑別装置の構成図
である。図2において、検出手段1、記憶手段2、基準
値記憶手段9、特徴演算手段10、比較手段11及び判
別手段12は図1と同一のものである。3Aは実施形態
2に係る補正手段であり、切換手段4、比率演算手段
5、近似式算出手段6A、補正演算手段7及び時間計測
手段8からなる。また図2の補正手段3Aは、図1の補
正手段3内の補正値記憶手段6を近似式算出手段6Aに
置換したものであり、その他の各手段4,5,7及び8
は図1と同様のものである。
Embodiment 2 FIG. 2 is a configuration diagram of a bill discriminating apparatus according to Embodiment 2 of the present invention. 2, the detecting means 1, the storing means 2, the reference value storing means 9, the feature calculating means 10, the comparing means 11, and the determining means 12 are the same as those in FIG. Reference numeral 3A denotes a correction unit according to the second embodiment, which includes a switching unit 4, a ratio calculation unit 5, an approximate expression calculation unit 6A, a correction calculation unit 7, and a time measurement unit 8. The correction means 3A in FIG. 2 is obtained by replacing the correction value storage means 6 in the correction means 3 in FIG. 1 with an approximate expression calculating means 6A, and the other means 4, 5, 7, and 8
Are the same as in FIG.

【0022】従って図2は、図1の補正値記憶手段6の
代りに近似式算出手段6Aを設けた構成となっているの
で、この近似式算出手段6Aとこれに関連する手段を主
に説明する。図1においては、図4の光センサ出力の減
衰曲線を補正するための補正値を、時間計測手段8の時
間計測を行う各単位時間毎の個別補正データとして補正
値記憶手段6に記憶させるようにしている。しかし光セ
ンサを多数使用する装置において、個々の光センサにつ
いて単位時間(例えば1秒)毎に時間t1 までの補正デ
ータをすべて記憶すると、装置全体としては大容量のメ
モリが必要となる。
Therefore, in FIG. 2, the approximation formula calculating means 6A is provided in place of the correction value storage means 6 of FIG. 1, so that the approximation formula calculating means 6A and the means related thereto will be mainly described. I do. In FIG. 1, the correction value for correcting the attenuation curve of the optical sensor output of FIG. 4 is stored in the correction value storage unit 6 as individual correction data for each unit time for which the time measurement unit 8 performs time measurement. I have to. However, in apparatus using multiple light sensors and stores all the correction data for the individual light sensors to a unit time (e.g. 1 second) time t 1 for each, it is a large-capacity memory is required as a whole unit.

【0023】そこで図2においては、個々の光センサに
ついて、補正値演算モード時に、比率演算手段5がP−
ON時からt1 までの間の各単位時間毎の個別補正デー
タを算出すると、近似式算出手段6Aは、これらの個別
補正データについて前記P−ON時からの経過時間の関
数として近似した近似式を、その近似誤差が最小となる
ように、例えば最小自乗法等の手法を用いて算出する。
そしてこの算出した近似式を内部に記憶しておくように
した。その結果この近似式から各単位時間毎の補正値を
算出する演算時間は必要であるが、装置全体としてのメ
モリ容量を図1の場合よりも大幅に削減することができ
る。
Therefore, in FIG. 2, for each optical sensor, in the correction value calculation mode, the ratio calculation means 5 sets the P-
After calculating the individual correction data for each unit time from the time of ON to t 1 , the approximation formula calculating means 6A calculates the approximate expression that approximates the individual correction data as a function of the elapsed time from the time of P-ON. Is calculated by using a method such as the least square method so that the approximation error is minimized.
Then, the calculated approximate expression is stored internally. As a result, a calculation time for calculating a correction value for each unit time from this approximate expression is required, but the memory capacity of the entire apparatus can be significantly reduced as compared with the case of FIG.

【0024】図2の構成の装置については、図1と異な
る動作を主に説明し、その他の動作説明は重複するため
省略する。 (1)補正値算出モード時の動作について説明する。P
−ON時から光センサ出力が安定する時間t1 までの間
の補正近似式は、装置の製造工程における試験などの行
程であらかじめ求めておく。それには、設計時に定めた
基準媒体(白紙など)を用いて、時間計測手段8が時間
計測を行う単位時間Δt(例えば前記1秒等)毎に、検
出手段1からの光センサ出力値を逐次記憶手段2に一時
記憶する。即ち図4の光センサ出力の安定化するまでの
減衰曲線を時間軸のΔt毎にプロットして、図の黒丸で
示すすべての出力値を記憶手段2に一時記憶する。
The operation of the apparatus having the configuration shown in FIG. 2 will be described mainly with respect to operations different from those in FIG. 1, and the other operations will not be described because they are redundant. (1) The operation in the correction value calculation mode will be described. P
Correction approximate equation until the time t 1 of the optical sensor output stabilizes from the time -ON is obtained in advance in stroke such testing in a manufacturing process of the device. To this end, the output value of the optical sensor from the detecting means 1 is sequentially changed every unit time Δt (for example, the one second or the like) at which the time measuring means 8 performs time measurement using a reference medium (such as blank paper) determined at the time of design. It is temporarily stored in the storage means 2. That is, the attenuation curve until the output of the optical sensor in FIG. 4 is stabilized is plotted for each Δt on the time axis, and all output values indicated by black circles in the figure are temporarily stored in the storage unit 2.

【0025】次に比率演算手段5によって、この一時記
憶した黒丸で示すすべての出力値を時間t1 のときの出
力値に変換するためのすべての補正値を前記(1)式に
よって順次算出する。
Next, the ratio calculating means 5 sequentially calculates all correction values for converting all the temporarily stored output values indicated by black circles into the output values at the time t 1 by the above equation (1). .

【0026】次に近似式算出手段6Aによって、前記P
−ON時からt1 までの間の単位時間毎のすべての補正
値について前記P−ON時からの経過時間の関数として
近似した近似式を、その近似誤差が最小となるように、
例えば最小自乗法等の手法を用いて算出する。そしてこ
の算出した近似式を内部に記憶する。この近似式の近似
式算出手段6A内への記憶が完了すると、補正値算出モ
ードは終了する。
Next, the approximation formula calculating means 6A calculates the P
-An approximation formula that approximates all correction values per unit time from the ON time to t 1 as a function of the elapsed time from the P-ON time so that the approximation error is minimized.
For example, it is calculated using a method such as the least square method. Then, the calculated approximate expression is stored internally. When the storage of the approximate expression in the approximate expression calculating means 6A is completed, the correction value calculation mode ends.

【0027】(2)次に、紙幣を鑑別する通常の動作モ
ード時の説明をする。投入紙幣の到来を、図示しない紙
幣検知手段からの出力、あるいは上位装置(図示せず)
からの信号により通知されることにより動作状態に入る
検出手段1、記憶手段2及び切換手段4の動作は図1の
場合と同様である。そしてP−ON時から光センサ出力
が安定するとt1 までの間に、補正演算手段7は、読出
し専用に切換られた近似式算出手段6Aから、前記近似
式を読出し、時間計測手段8による計測時間をこの近似
式に代入し、各計測時間毎の補正値を算出し、記憶手段
2から読み出した検出手段1の出力Otxに対して前記
(2)式を用いて補正を行い、補正結果のO′xtを得
る。
(2) Next, a description will be given of a normal operation mode for discriminating bills. The arrival of the inserted bill is output from a bill detecting means (not shown) or a host device (not shown).
The operations of the detecting means 1, the storage means 2, and the switching means 4 which enter the operating state upon being notified by a signal from are the same as those in FIG. Then, during the period from the time of the P-ON until the output of the optical sensor is stabilized until t 1 , the correction calculating means 7 reads the approximate expression from the approximate expression calculating means 6 A switched to read-only, and measures the time by the time measuring means 8. The time is substituted into this approximation formula, a correction value for each measurement time is calculated, and the output Otx of the detection means 1 read from the storage means 2 is corrected using the equation (2). O ′ xt of

【0028】補正手段3Aは、時間計測手段8による計
測時間がt1 以降は、補正演算手段7による補正は行わ
ない。補正手段3A以降の基準値記憶手段9、特徴演算
手段10、比較手段11及び判別手段12の動作は図1
の場合と同一である。
The correction means 3A, the measurement time t 1 later by time measuring means 8 does not perform correction by the correction calculation unit 7. The operations of the reference value storage unit 9, the characteristic calculation unit 10, the comparison unit 11, and the determination unit 12 after the correction unit 3A are shown in FIG.
Is the same as

【0029】以上のように実施形態2によれば、実施形
態1と同様に、装置の電源投入後の光センサ出力の時間
的変化が安定する以前であっても、予め記憶しておいた
近似式を用いて光センサ出力を補正して精度良く紙幣の
鑑別が行なえるようになり、従来のように紙幣の投入を
待つ必要がなく、且つ装置全体としてのメモリ容量を実
施形態1の場合よりも削減することができる。一例を示
すと、いま各光センサ出力が安定化するまでの時間t1
を5分とし、時間計数手段8の計数単位時間を1秒とす
ると、個々の光センサについて60×5=300個の補
正値を記憶する必要がある。これを近似式で記憶する
と、近似式の近似精度にもよるが、上記記憶容量の1〜
2割程度で十分であるので、装置全体としてのメモリ容
量を実施形態1の場合よりも大幅に削減することができ
る。
As described above, according to the second embodiment, similar to the first embodiment, even if the temporal change of the optical sensor output after the power supply of the apparatus is stabilized, the previously stored approximate By using the formula, the output of the optical sensor can be corrected to accurately discriminate bills, so that it is not necessary to wait for the insertion of bills as in the related art, and the memory capacity of the entire apparatus is reduced from that of the first embodiment. Can also be reduced. As an example, a time t 1 until the output of each optical sensor is stabilized now.
Is 5 minutes and the counting unit time of the time counting means 8 is 1 second, it is necessary to store 60 × 5 = 300 correction values for each optical sensor. When this is stored as an approximate expression, although it depends on the approximation accuracy of the approximate expression, the above storage capacity of 1 to
Since about 20% is sufficient, the memory capacity of the entire apparatus can be significantly reduced as compared with the first embodiment.

【0030】なお、上記実施形態1,2においては、光
センサによってその特徴が検査される対象物を紙幣とし
て説明を行ったが、本発明の検査対象物は紙幣に限定さ
れるものではない。例えば小切手、手形、パスポート、
特定の紙葉等を検査対象物として、これらの模様(すか
し模様等も含む)、図形、もしくは寸法、厚さ等を光学
的に検査する光センサにも本発明を適用することができ
る。
In the first and second embodiments, the object whose characteristics are inspected by the optical sensor has been described as a bill, but the inspection object of the present invention is not limited to a bill. For example, checks, bills, passports,
The present invention can also be applied to an optical sensor that optically inspects these patterns (including a watermark pattern or the like), figures, dimensions, thicknesses, and the like using a specific paper sheet or the like as an inspection target.

【0031】[0031]

【発明の効果】以上のように本発明によれば、検査対象
物の特徴を光学的に検出する光学センサ出力の経時変化
を補正する方法において、調整時に、装置への電源投入
時から前記光学センサ出力の安定値が得られるまでの間
の各単位時間毎に前記光学センサ出力値を順次記憶し、
次に前記光学センサ出力の安定値を前記記憶した各単位
時間毎の光学センサ出力値で除算してその商を各単位時
間毎の補正値として予め記憶しておき、実動作時に、装
置への電源投入時から光学センサ出力の安定値が得られ
るまでの間の各単位時間毎の前記光学センサ出力値に対
して前記予め記憶しておいた各単位時間毎の補正値を乗
算してその積を補正後の光学センサ出力として得るよう
にしたので、その結果装置への電源投入時から光学セン
サ出力の安定値が得られるまでの間であっても、精度良
く検査対象物の特徴を検査することが可能となり、従来
のような待ち時間の必要がなくなった。
As described above, according to the present invention, in a method for correcting a temporal change of an output of an optical sensor for optically detecting a characteristic of an inspection object, the method comprises: The optical sensor output value is sequentially stored for each unit time until a stable value of the sensor output is obtained,
Next, the stable value of the optical sensor output is divided by the stored optical sensor output value for each unit time and the quotient is stored in advance as a correction value for each unit time. The optical sensor output value for each unit time from when the power is turned on until the stable value of the optical sensor output is obtained is multiplied by the previously stored correction value for each unit time, and the product is multiplied. Is obtained as the corrected optical sensor output, so that the characteristics of the inspection object can be inspected with high accuracy even when power is supplied to the apparatus until a stable value of the optical sensor output is obtained. This eliminates the need for conventional waiting times.

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

【図1】本発明の実施形態1に係る紙幣鑑別装置の構成
図である。
FIG. 1 is a configuration diagram of a bill validator according to a first embodiment of the present invention.

【図2】本発明の実施形態2に係る紙幣鑑別装置の構成
図である。
FIG. 2 is a configuration diagram of a bill discriminating apparatus according to a second embodiment of the present invention.

【図3】従来の紙幣鑑別装置の構成図である。FIG. 3 is a configuration diagram of a conventional bill validator.

【図4】電源投入後の時間経過に対応する光センサ出力
特性を示す図である。
FIG. 4 is a diagram showing optical sensor output characteristics corresponding to a lapse of time after power-on.

【図5】紙幣のある箇所の光センサ出力の経時変化とそ
の上下限基準値を示す図である。
FIG. 5 is a diagram showing a temporal change of an optical sensor output at a certain position of a bill and upper and lower reference values thereof.

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

1 検出手段 2 記憶手段 3,3A 補正手段 4 切換手段 5 比率演算手段 6 補正値記憶手段 6A 近似式算出手段 7 補正演算手段 8 時間計測手段 9 基準値記憶手段 10 特徴演算手段 11 比較手段 12 判別手段 DESCRIPTION OF SYMBOLS 1 Detection means 2 Storage means 3, 3A correction means 4 Switching means 5 Ratio calculation means 6 Correction value storage means 6A Approximate expression calculation means 7 Correction calculation means 8 Time measurement means 9 Reference value storage means 10 Feature calculation means 11 Comparison means 12 Discrimination means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 検査対象物の特徴を光学的に検出する光
学センサ出力の経時変化を補正する方法において、 調整時に、装置への電源投入時から前記光学センサ出力
の安定値が得られるまでの間の各単位時間毎に前記光学
センサ出力値を順次記憶し、次に前記光学センサ出力の
安定値を前記記憶した各単位時間毎の光学センサ出力値
で除算してその商を各単位時間毎の補正値として予め記
憶しておき、 実動作時に、装置への電源投入時から光学センサ出力の
安定値が得られるまでの間の各単位時間毎の前記光学セ
ンサ出力値に対して前記予め記憶しておいた各単位時間
毎の補正値を乗算してその積を補正後の光学センサ出力
として得るようにしたことを特徴とする光学センサ出力
の補正方法。
1. A method for correcting a temporal change of an output of an optical sensor for optically detecting a characteristic of an object to be inspected, comprising the steps of: starting from a time when power is supplied to an apparatus until a stable value of the output of the optical sensor is obtained; The output value of the optical sensor is sequentially stored for each unit time, and then the stable value of the output of the optical sensor is divided by the stored output value of the optical sensor for each unit time, and the quotient is divided for each unit time. Is stored in advance as the correction value of the optical sensor, and in actual operation, the optical sensor output value is stored in advance for each unit time from when the power is supplied to the apparatus until a stable value of the optical sensor output is obtained. A method for multiplying the correction value for each unit time, and obtaining the product as a corrected optical sensor output.
【請求項2】 検査対象物の特徴を光学的に検出する光
学センサ出力の経時変化を補正する方法において、 調整時に、装置への電源投入時から前記光学センサ出力
の安定値が得られるまでの間の各単位時間毎に前記光学
センサ出力値を順次記憶し、次に前記光学センサ出力の
安定値を前記記憶した各単位時間毎の光学センサ出力値
で除算してその商を各単位時間毎の補正値とし、該各単
位時間毎の補正値について前記装置への電源投入時から
の経過時間の関数として近似した近似式を求めて該近似
式を予め記憶しておき、 実動作時に、前記予め記憶しておいた近似式を読出し、
前記装置への電源投入時から各単位時間毎の経過時間を
前記近似式に代入して各単位時間毎の補正値を求め、装
置への電源投入時から光学センサ出力の安定値が得られ
るまでの間の各単位時間毎の光学センサ出力値に対して
前記求めた各単位時間毎の補正値を乗算してその積を補
正後の光学センサ出力として得るようにしたことを特徴
とする光学センサ出力の補正方法。
2. A method for correcting a temporal change of an output of an optical sensor for optically detecting a characteristic of an inspection object, the method comprising the steps of: during adjustment, from when power is supplied to the apparatus until a stable value of the optical sensor output is obtained. The output value of the optical sensor is sequentially stored for each unit time, and then the stable value of the output of the optical sensor is divided by the stored output value of the optical sensor for each unit time, and the quotient is divided for each unit time. The approximate value obtained by approximating the approximate value of the correction value for each unit time as a function of the elapsed time from when the power to the device is turned on is stored in advance, and the approximate value is stored in advance during actual operation. Read the approximate expression stored in advance,
Substituting the elapsed time for each unit time from the time of powering on the device to the approximation formula to obtain a correction value for each unit time, from the time of powering on the device until a stable value of the optical sensor output is obtained An optical sensor output value obtained by multiplying the obtained optical sensor output value for each unit time by the obtained correction value for each unit time to obtain a product as a corrected optical sensor output. Output correction method.
【請求項3】 前記検査対象物の特徴を光学的に検出す
る光学センサ出力は、紙葉類の模様又は図形を光学的に
検出する光学センサ出力であることを特徴とする請求項
1又は2記載の光学センサ出力の補正方法。
3. An optical sensor output for optically detecting a characteristic of an inspection object is an optical sensor output for optically detecting a pattern or figure of a paper sheet. The correction method of the optical sensor output described in the above.
【請求項4】 前記検査対象物の特徴を光学的に検出す
る光学センサ出力は、紙幣の模様又は図形を光学的に検
出する光学センサ出力であることを特徴とする請求項1
又は2記載の光学センサ出力の補正方法。
4. An optical sensor output for optically detecting a characteristic of the inspection object is an optical sensor output for optically detecting a pattern or a figure of a bill.
Or the correction method of the optical sensor output according to 2.
JP9214250A 1997-08-08 1997-08-08 Correction method for optical sensor output Pending JPH1153604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9214250A JPH1153604A (en) 1997-08-08 1997-08-08 Correction method for optical sensor output

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9214250A JPH1153604A (en) 1997-08-08 1997-08-08 Correction method for optical sensor output

Publications (1)

Publication Number Publication Date
JPH1153604A true JPH1153604A (en) 1999-02-26

Family

ID=16652662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9214250A Pending JPH1153604A (en) 1997-08-08 1997-08-08 Correction method for optical sensor output

Country Status (1)

Country Link
JP (1) JPH1153604A (en)

Similar Documents

Publication Publication Date Title
EP0477711B1 (en) Bill examination device
RU2183350C2 (en) Universal device for estimating tenor and authenticity of banknote
US4464787A (en) Apparatus and method for currency validation
KR100834456B1 (en) Sheet recognizing device and method
US8177046B2 (en) Method and apparatus for validating bank notes
US7607528B2 (en) Method and device for checking banknotes
WO2014029334A1 (en) Paper money identification method and device
JPS645353B2 (en)
US4990790A (en) Method for discriminating authenticity of a bill using polarization and an apparatus therefor
WO2003050772A1 (en) Banknote identifying machine and banknote identifying method
JPH1153604A (en) Correction method for optical sensor output
CN1120449C (en) Sheet processing apparatus
JP4645428B2 (en) Bill validator
JPH08305922A (en) Method and device for inspecting paper sheets
JP2007034448A (en) Leaf-like article processing device
JPH0512527A (en) Paper money identifying device
JPH1011631A (en) Paper money inspection device, and correction method for the same
JP3381828B2 (en) Method and apparatus for determining damage to paper sheets
JP3642577B2 (en) Bill discrimination device
JPH097023A (en) Paper sheet discrimination device
JPH04134584A (en) Paper money discriminator
JP2000306136A (en) Method and device for paper sheet discrimination
JP3272803B2 (en) Media identification device
JPH0814859B2 (en) Paper discrimination device
JPS6132716B2 (en)