JPH02156395A - Paper money discrimination device - Google Patents
Paper money discrimination deviceInfo
- Publication number
- JPH02156395A JPH02156395A JP63309858A JP30985888A JPH02156395A JP H02156395 A JPH02156395 A JP H02156395A JP 63309858 A JP63309858 A JP 63309858A JP 30985888 A JP30985888 A JP 30985888A JP H02156395 A JPH02156395 A JP H02156395A
- Authority
- JP
- Japan
- Prior art keywords
- ram
- counter
- address
- paper money
- cpu
- 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
Links
- 238000010586 diagram Methods 0.000 description 8
- 238000000034 method Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 2
- 101100325756 Arabidopsis thaliana BAM5 gene Proteins 0.000 description 1
- JYGLAHSAISAEAL-UHFFFAOYSA-N Diphenadione Chemical compound O=C1C2=CC=CC=C2C(=O)C1C(=O)C(C=1C=CC=CC=1)C1=CC=CC=C1 JYGLAHSAISAEAL-UHFFFAOYSA-N 0.000 description 1
- 235000006508 Nelumbo nucifera Nutrition 0.000 description 1
- 240000002853 Nelumbo nucifera Species 0.000 description 1
- 235000006510 Nelumbo pentapetala Nutrition 0.000 description 1
- 101150046378 RAM1 gene Proteins 0.000 description 1
- 101100476489 Rattus norvegicus Slc20a2 gene Proteins 0.000 description 1
- RRLHMJHRFMHVNM-BQVXCWBNSA-N [(2s,3r,6r)-6-[5-[5-hydroxy-3-(4-hydroxyphenyl)-4-oxochromen-7-yl]oxypentoxy]-2-methyl-3,6-dihydro-2h-pyran-3-yl] acetate Chemical compound C1=C[C@@H](OC(C)=O)[C@H](C)O[C@H]1OCCCCCOC1=CC(O)=C2C(=O)C(C=3C=CC(O)=CC=3)=COC2=C1 RRLHMJHRFMHVNM-BQVXCWBNSA-N 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Inspection Of Paper Currency And Valuable Securities (AREA)
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は紙幣鑑別装置、特にその改良に関する。[Detailed description of the invention] [Industrial application field] TECHNICAL FIELD This invention relates to a banknote validating device, and particularly to an improvement thereof.
従来の紙幣鑑別は磁気ヘッド、光センサ等を必要箇所に
離散的に配置し、その出力を利用するものが多い。Conventional banknote discrimination often involves placing magnetic heads, optical sensors, etc. discretely at necessary locations, and utilizing their outputs.
紙幣鑑別装置では近年とみに精確さを要求されることか
ら、従来の如き手法では対応できず、イメージセンサ等
による2次元画像を用いた高精度な鑑別が要求されるよ
うになって来ている。In recent years, bill validators have been required to be more accurate, so conventional methods are no longer suitable, and highly accurate discrimination using two-dimensional images from image sensors or the like is now required.
ところで、膨大な量の2次元データを処理するのはコス
ト等の点で大きな負担となるだけでなく、アナログデー
タをソフト処理する方法ではディジタルシグナルプロセ
ッサ(DSP)の如き高価な素子を必要とするため、安
価なシステムでは対応し切れないのが実情である。By the way, processing a huge amount of two-dimensional data is not only a big burden in terms of cost, but also requires expensive elements such as digital signal processors (DSP) in the method of software processing analog data. Therefore, the reality is that inexpensive systems cannot adequately handle this problem.
一方、画像を2 fiiデータに変換すればソフト処理
も成る程度容易であるが、これには多大の処理時間を要
するので、紙幣鑑別のように高速性が要求される分野で
は、これでもまだ不充分である。On the other hand, converting images to 2fii data is easy enough to perform software processing, but this requires a large amount of processing time, so in fields where high speed is required, such as banknote identification, this is still a problem. That's enough.
そこで、最初から画像データを圧縮してしまう方法も考
えられるが、紙幣鑑別では成る部分は大まかに、成る部
分ではよシ細かくと云う具合に、場合によって見方を変
える柔軟性が要求されることもあり、最初からデータを
捨て〜しまりのは好ましくなく、原データは何とか保持
しておき、必要に応じて高速に適宜な方式でデータ圧縮
する手法が必要になる。Therefore, it is possible to consider a method of compressing the image data from the beginning, but it may be necessary to have the flexibility to change the view depending on the situation, such as roughly covering the parts that need to be used for banknote identification and looking more closely at the parts that do not. Therefore, it is not preferable to throw away data from the beginning, but rather to somehow retain the original data and compress the data at high speed using an appropriate method as needed.
したがって、この発明は安価で高速処理が可能な紙幣鑑
別装置を提供することを目的とする。Therefore, an object of the present invention is to provide a bill validating device that is inexpensive and capable of high-speed processing.
撮像され、2@化された紙幣の2値化画像信号を記憶す
る第1の記憶手段と、この第1記憶手段から順次読み出
される@1”の#素数をカウントするカウント手段と、
そのカウント結果を記憶する第2の記憶手段と、記憶さ
れたカウント結果にもとづき鑑別を行なう一方、前記第
1記憶手段の読出し領域を指定する鑑別手段と、この鑑
別手段からの指示にもとづき少なくとも前記第1記憶手
段に対する読出しアドレスの生成、前記カウント手段に
対するクロック信号の生成、前記第2記憶手段に対する
書込み信号、書込みアドレスの生成を司る制御手段とを
設ける。a first storage means for storing a binarized image signal of a banknote imaged and converted into 2@; a counting means for counting #prime numbers of @1" sequentially read from the first storage means;
a second storage means for storing the count results; a discrimination means for performing discrimination based on the stored count results; and a discrimination means for specifying a readout area of the first memory means; A control means is provided for generating a read address for the first storage means, a clock signal for the counting means, a write signal for the second storage means, and a write address.
第1.第2記憶手段、カウント手段、鑑別手段および制
御手段を用いてI・−ド構成とすることにより、ソフト
処理するものよ)も高速な処理ができるようにする。1st. By using the second storage means, counting means, discrimination means, and control means to form an I/D configuration, high-speed processing can be performed even in software processing.
第1図はこの発明の実施例を示すブロック図、第2図は
画像データの演算範囲を説明するための説明図である。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is an explanatory diagram for explaining the calculation range of image data.
第1図において、1は1ピツ)RAM(ランダムアクセ
スメモリ)、2はカウンタ、6はRAM。In FIG. 1, 1 is a RAM (random access memory), 2 is a counter, and 6 is a RAM.
4はデータ処理装置(CPU)、5はタイミング制御装
置である。なお、タイミング制御装置5はアドレス発生
回路51,55、カウンタクロック発生回路52、演算
結果ライト信号発生回路53およびタイミング発生回路
55等より構成されている。4 is a data processing device (CPU), and 5 is a timing control device. The timing control device 5 includes address generation circuits 51 and 55, a counter clock generation circuit 52, an operation result write signal generation circuit 53, a timing generation circuit 55, and the like.
1ピツ)RAMIKは、撮像装置を介して得られる画像
信号を適宜なしきい値レベルで2直化したデータが格納
されている。カウンタ2は1ピツ)RAM1から順次読
み出される画素データのうち、”1”を示す画素数をカ
ウントする。これは、2値化画像中の′″1”の画素数
によって読取対象となる紙幣の種別等が特定(鑑別)で
きることを根拠としてhる。RAM3はカウンタ2から
の積算出力を記憶し、CPU4はRAM5の出力を種々
の設定レベルと比較する等して、紙幣の種別を鑑別する
。タイミング制御装置5は1ピツ)RAM1に対する続
出(リード)アドレスの生成、カウンタ2に対するカウ
ンタクロックの生成、RAM3に対する書込(ライト)
信号および書込アドレスの生成等を行なう。なお、CP
U4はこのタイミング制御装置5に対し、1ピツ)RA
M1の原点アドレス(続出開始アドレス)X8.Ysお
よびX、Y方向のレングス(W、L)設定を行ない、画
素数のカウント範囲(演算範囲)を指定することかでき
る。この様子を第2図に示す。こ〜では、斜線を施した
部分が演算範囲を示し、全範囲の指定も可能である。1) RAMIK stores data obtained by converting an image signal obtained through an imaging device into a binary signal at an appropriate threshold level. The counter 2 counts the number of pixels indicating "1" among the pixel data sequentially read out from the RAM 1. This is based on the fact that the type of banknote to be read can be identified (identified) by the number of pixels of ``1'' in the binarized image. The RAM 3 stores the cumulative output from the counter 2, and the CPU 4 compares the output of the RAM 5 with various set levels to discriminate the type of banknote. The timing control device 5 generates successive (read) addresses for RAM1, generates a counter clock for counter 2, and writes for RAM3.
Generates signals and write addresses, etc. In addition, C.P.
U4 is one pin) RA for this timing control device 5.
M1 origin address (successive start address) X8. It is possible to specify the pixel count range (calculation range) by setting Ys and the length (W, L) in the X and Y directions. This situation is shown in FIG. Here, the shaded area indicates the calculation range, and it is also possible to specify the entire range.
第3図はタイミング制御装置の具体例を示す回路図であ
る。同図において、1は1ピツ)RAM。FIG. 3 is a circuit diagram showing a specific example of the timing control device. In the figure, 1 is 1 bit) RAM.
2A、2B、12A、12Bはカウンタ、11A〜11
gは入出力装置i(ilo )、13A〜13Cは遅延
回路、14A、14Bはコンパレータである。2A, 2B, 12A, 12B are counters, 11A to 11
g is an input/output device i (ilo), 13A to 13C are delay circuits, and 14A and 14B are comparators.
第3図のX方向読出し動作について、第4A図を参照し
て説明する。The X-direction read operation in FIG. 3 will be explained with reference to FIG. 4A.
CPU4を介して俟見られる原点アドレス(X8゜Ys
)が、同じ< CPU4より俟えられる演算開始信号に
て発生するロード信号によシ、プリセッタブルカウンタ
12A、12Bにロードされ、これがリードモードに設
定された1ピツ)RAM1のアドレスラインに接続され
ていることから、1ビットRAM1からはアドレス(X
8.Y8)のデータが出力される(■ポイント参照)。The origin address (X8°Ys
) is loaded into the presettable counters 12A and 12B by the load signal generated by the calculation start signal received from the CPU 4, and this is connected to the address line of the RAM 1 set to read mode. Therefore, the address (X
8. The data of Y8) is output (see point ■).
また、周期が同じで位相とデユーティが異なる2つのク
ロツク(アドレスクロック、カウンタクロック)により
、1ビットRAM1から出力される″1#ビットがカウ
ンタ2Aでカウントアツプされ、その直後KXアドレス
が1つ進められる。この動作を繰り返すことにより、X
方向の@1″ビットの画素数が計数されることになる。In addition, two clocks (address clock, counter clock) with the same period but different phases and duties cause the "1#" bit output from the 1-bit RAM 1 to be counted up by the counter 2A, and immediately after that, the KX address is incremented by one. By repeating this operation,
The number of pixels in the direction @1″ bit will be counted.
第4B図は第3図のX方向読出し動作を説明するための
タイムチャートである。FIG. 4B is a time chart for explaining the X-direction read operation of FIG. 3.
すなわち、X方向のアドレスが更新されてX。In other words, the address in the X direction is updated.
+Wになったとき、コンパレータ14Aよシ信号X(A
−B)が出力され、(X +W、 Y8)の1ビットが
計数された後KXアドレスはX8に再設定される一方、
アドレスY8は更新されてYs十1となり、(X、Y8
+1)から再び第3A図と同じタイムチャートで計数を
開始する。+W, the comparator 14A outputs the signal X(A
-B) is output, and after one bit of (X + W, Y8) is counted, the KX address is reset to X8, while
Address Y8 is updated to Ys11, (X, Y8
+1), counting starts again using the same time chart as in FIG. 3A.
第4C図は第6図の書込み動作を説明するためのタイム
チャートである。FIG. 4C is a time chart for explaining the write operation of FIG. 6.
第4A図、4B図の動作が繰り返されYアドレスもYs
十りになると、コンパレータ14Bより信号Y(A−B
)が出力される。そして、アドレスが(X8+W、Y8
+L)になると、コンパレータ14A、14Bからそれ
ぞれ信号X(A−B)。The operations in Figures 4A and 4B are repeated and the Y address is also Ys.
When the signal Y (A-B
) is output. And the address is (X8+W, Y8
+L), the comparators 14A and 14B output signals X(A-B) respectively.
Y(A−B)が出力される。このタイミング(■参照)
でライトアドレスを1つ進めると〜もに、遅延回路13
Cを介してライト信号を発してRAM3に演算結果をラ
イトし、演算終了信号を出力して一連の演算を終了する
。Y(A-B) is output. This timing (see ■)
When the write address is advanced by one, the delay circuit 13
A write signal is issued via C to write the calculation result to the RAM 3, and a calculation end signal is output to end the series of calculations.
以上では、RAM1.3およびカウンタ2をそれぞれ1
つずつ設けるようにしたが、第5図の如くこれらを複数
ずつ設けるようにすれば、複数の2値化データを同時に
処理することができ、大川の画像データを高速に処理す
ることが可能になる。In the above, RAM1.3 and counter 2 are each set to 1.
However, by providing a plurality of these as shown in Figure 5, multiple binarized data can be processed at the same time, making it possible to process Okawa's image data at high speed. Become.
この発明によれば、RAM、カウンタ、CPUおよびタ
イミング制御装置からなるハードウェアを用いて画像デ
ータを処理するようにしたので、比較的簡単な構成で高
速の処理が可能となる利点がもたらされる。According to the present invention, since image data is processed using hardware consisting of a RAM, a counter, a CPU, and a timing control device, there is an advantage that high-speed processing is possible with a relatively simple configuration.
第1図はこの発明の実施例を示すブロック図、第2図は
画像データの演算範囲を説明するための説明図、第6図
はタイミング制御装置の具体例を示す回路図、第4A図
は第3図のX方向読出し動作を説明するためのタイムチ
ャート、第4B図は第6図のX方向読出し動作を説明す
るためのタイムチャート、第4C図は第3図の書込み動
作を説明するためのタイムチャート、第5図はこの発明
の他の実施例を示す概要図である。
符号説明
1・・・・・・1ビットRAM、2,2A、2B、12
A、12B・・・・・・カウンタ、3・・・・・・RA
M、4・・・・・・CPU、5・・・・・・タイミング
制御装置、11A〜11E・・・・・・入出力装置(i
lo)、1!IA 〜13C・・・・・・MtlLol
L 14A、14B・・・・・・コンパレータ、51.
53・・・・・・アドレス発生回路、52・・・・・・
カウンタクロック発生回路、54・・・・・・演算結果
ライト信号発生回路、55・・・・・・タイミング発生
回路。
代理人 弁理士 並 木 昭 夫
代理人 弁理士 松 崎 清
wE I 図
1f2 図
賀敷8果
う寅口終5
図
@JCIII+
waA図
オΔB図
演IIn重
二二二==〕=:=====r==:
蓮5
図FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is an explanatory diagram for explaining the calculation range of image data, FIG. 6 is a circuit diagram showing a specific example of a timing control device, and FIG. 4A is a diagram showing a specific example of the timing control device. FIG. 4B is a time chart for explaining the X-direction read operation in FIG. 3, FIG. 4C is a time chart for explaining the X-direction read operation in FIG. 3, and FIG. 4C is for explaining the write operation in FIG. 3. FIG. 5 is a schematic diagram showing another embodiment of the present invention. Code explanation 1...1 bit RAM, 2, 2A, 2B, 12
A, 12B...Counter, 3...RA
M, 4... CPU, 5... Timing control device, 11A to 11E... Input/output device (i
lo), 1! IA ~13C...MtlLol
L 14A, 14B...Comparator, 51.
53...Address generation circuit, 52...
Counter clock generation circuit, 54...Arithmetic result write signal generation circuit, 55...Timing generation circuit. Agent Patent attorney Akio Namiki Agent Patent attorney Kiyoshi Matsuzaki wE I Figure 1f2 Zugashiki 8 Kau Toraguchi Shuu 5 Figure @JCIII+ waA Figure O ΔB Illustration IIn double 222 ==] =:== ===r==: Lotus 5 Figure
Claims (1)
る第1の記憶手段と、 この第1記憶手段から順次読み出される“1”の画素数
をカウントするカウント手段と、 そのカウント結果を記憶する第2の記憶手段と、記憶さ
れたカウント結果にもとづき鑑別を行なう一方、前記第
1記憶手段の読出し領域を指定する鑑別手段と、 この鑑別手段からの指示にもとづき少なくとも前記第1
記憶手段に対する読出しアドレスの生成、前記カウント
手段に対するクロック信号の生成、前記第2記憶手段に
対する書込み信号、書込みアドレスの生成を司る制御手
段と、 を有してなる紙幣鑑別装置。[Claims] A first storage means for storing a binarized image signal of a banknote that has been imaged and binarized, and a counter for counting the number of "1" pixels sequentially read from the first storage means. a second storage means for storing the count result; a discrimination means for performing discrimination based on the stored count result and specifying a reading area of the first memory means; Based on at least the first
A bill validating device comprising: control means for generating a read address for a storage means, a clock signal for the counting means, a write signal for the second storage means, and a write address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63309858A JPH02156395A (en) | 1988-12-09 | 1988-12-09 | Paper money discrimination device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63309858A JPH02156395A (en) | 1988-12-09 | 1988-12-09 | Paper money discrimination device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02156395A true JPH02156395A (en) | 1990-06-15 |
Family
ID=17998143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63309858A Pending JPH02156395A (en) | 1988-12-09 | 1988-12-09 | Paper money discrimination device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02156395A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63106094A (en) * | 1986-10-23 | 1988-05-11 | 富士電機株式会社 | Paper identifier |
-
1988
- 1988-12-09 JP JP63309858A patent/JPH02156395A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63106094A (en) * | 1986-10-23 | 1988-05-11 | 富士電機株式会社 | Paper identifier |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5058181A (en) | Hardware and software image processing system | |
US5386482A (en) | Address block location method and apparatus | |
CN112200004B (en) | Training method and device for image detection model and terminal equipment | |
JP2810660B2 (en) | Particle image analyzer | |
JPH02156395A (en) | Paper money discrimination device | |
JP2003178312A (en) | Method and device for determining center of gravity of optical signal mark attached to moving object by photogrammetry | |
EP0371792A2 (en) | Feature comparison | |
EP0585861A2 (en) | Image verification method | |
JP3009230B2 (en) | Correlation processing device, correlation processing method, and image processing device | |
JPH0332723B2 (en) | ||
JPS5999208A (en) | Shape measuring device | |
JPH0423303B2 (en) | ||
JP3880665B2 (en) | Multi-tone image density histogram calculation device | |
JPH0233685A (en) | Picture signal processor | |
US5479165A (en) | Two-dimensional coding apparatus | |
JPH0442711B2 (en) | ||
JPH0129643Y2 (en) | ||
JP2620094B2 (en) | How to measure figure patterns | |
KR0173246B1 (en) | Apparatus for processing binary image projection | |
JPS58158761A (en) | Pattern position detecting method | |
JP3408869B2 (en) | Image processing device | |
JP2861435B2 (en) | Pipeline type arithmetic unit | |
Gross et al. | A fast digital TV picture processor | |
JPS5945577A (en) | Addressing system of picture memory | |
JPH01229386A (en) | Sample pattern generating device |