JPH0210994B2 - - Google Patents

Info

Publication number
JPH0210994B2
JPH0210994B2 JP61220058A JP22005886A JPH0210994B2 JP H0210994 B2 JPH0210994 B2 JP H0210994B2 JP 61220058 A JP61220058 A JP 61220058A JP 22005886 A JP22005886 A JP 22005886A JP H0210994 B2 JPH0210994 B2 JP H0210994B2
Authority
JP
Japan
Prior art keywords
data
database
group
paper sheet
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61220058A
Other languages
Japanese (ja)
Other versions
JPS6375894A (en
Inventor
Kyoji Fujimura
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61220058A priority Critical patent/JPS6375894A/en
Publication of JPS6375894A publication Critical patent/JPS6375894A/en
Publication of JPH0210994B2 publication Critical patent/JPH0210994B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Inspection Of Paper Currency And Valuable Securities (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 〔概要〕 紙幣を含む紙葉類についてのデータを収集して
おき、当該紙葉類に対する鑑別機を開発するに当
つての各種処理を行う紙葉類鑑別機開発装置にお
いて、収集時に付加されるそのデータに関する属
性の誤まりから生じる、鑑別論理の精度低下を解
決するために、データ・ベースから自動的に鑑別
論理を作成し、その論理を用いた時の結果と付加
された属性で示される結果とを比較するように構
成したことにより、短時間で自動的に異常データ
を除去し、鑑別論理の精度向上を計るようにした
ことが開示されている。
[Detailed Description of the Invention] [Summary] A paper sheet validating machine development device that collects data on paper sheets including banknotes and performs various processes in developing a validating machine for the paper sheets. In order to solve the problem of reduced accuracy in classification logic caused by errors in attributes added to the data during collection, we automatically created classification logic from a database and analyzed the results of using that logic. It is disclosed that by configuring the system to compare the results indicated by the added attributes, abnormal data can be automatically removed in a short time and the accuracy of the discrimination logic can be improved.

〔産業上の利用分野〕[Industrial application field]

本発明は、紙葉類鑑別機開発装置、特に、任意
のデータを収集して紙葉類のもつ特徴についての
データ・ベースを作成し、前記データ・ベース上
のデータから自動的に鑑別論理を構成し異常デー
タを除去するようにした紙葉類鑑別機開発装置に
関する。
The present invention relates to a paper sheet identification machine development device, in particular, an apparatus that collects arbitrary data to create a database about the characteristics of paper sheets, and automatically performs a classification logic from the data on the database. The present invention relates to a development device for a paper sheet discriminator configured to remove abnormal data.

〔従来の技術〕[Conventional technology]

従来から、紙幣を含む紙葉類に対する鑑別機
が、開発されている。そして当該鑑別機による鑑
別率を調べるに当つて、従来の技術の場合には、
第2図図示の如く、鑑別対象となる紙葉類から、
当該開発中の鑑別機が鑑別に用いるものと同じよ
うなデータを、データ収集器101やデータ編集
器102を介して、データ・ベース103上に大
量に収集しておき、次いでグループ別辞書テーブ
ル104をつくり、当該開発中の鑑別機に対する
判別論理と閾値テーブル105とを用いて当該鑑
別機がどの程度正しく紙葉類を鑑別できるかを判
定部106で調べるようにしていた。上記の事柄
を更に具体的に述べれば、例えば次の如き判定が
行われていた。
Conventionally, recognition machines for paper sheets including banknotes have been developed. When examining the classification rate by the classification machine, in the case of conventional technology,
As shown in Figure 2, from the paper sheets to be identified,
A large amount of data similar to that used for discrimination by the discrimination machine under development is collected in a database 103 via a data collector 101 and a data editor 102, and then stored in a group dictionary table 104. The determination unit 106 uses the discrimination logic and the threshold table 105 for the recognition machine under development to check how accurately the recognition machine can classify paper sheets. To describe the above matter more specifically, for example, the following judgments were made.

(i) 先ず「無作為に抽出した標本」についてその
標本の表裏からサンプルされる枡目(ゾーン/
トラツク)におけるデータα(色、色別反射量、
色別透過量、磁気量etc.)から、標本ごとに定
めたカテゴリ(金種、投入方向等)に応じてグ
ループ別辞書テーブル(グループ別の平均と分
散)を作成する。
(i) First, for a “randomly sampled sample”, the squares (zones/
data α (color, amount of reflection by color,
A dictionary table for each group (average and variance for each group) is created based on the category (denomination, direction of injection, etc.) determined for each specimen.

(ii) 上記のように作成したグループ別辞書テーブ
ルの値を「予め定めたグループ別の判別関数」
に適用して、判別関数の係数を算出する。
(ii) The values of the group-specific dictionary table created as above are used as "predetermined group-specific discriminant functions"
is applied to calculate the coefficients of the discriminant function.

(iii) 鑑別すべき全紙幣毎に枡目のデータαを読取
り、その時のカテゴリに従うグループ対応の判
別関数値を算出して出現度数を求め、度数分布
に応じて定めた閾値を用いて鑑別率の良/不良
を測定する。
(iii) Read the square data α for each banknote to be classified, calculate the discriminant function value corresponding to the group according to the category at that time, find the frequency of appearance, and calculate the classification rate using the threshold determined according to the frequency distribution. Measure whether the product is good or bad.

即ち、いわば好ましいであろう鑑別態様を「予
め」設定しておいて当該鑑別態様がどの程度正し
く鑑別可能かを調べる形が多く採用されていた。
言い換えると、あらかじめ任意の小標本を用いて
判定論理を作成しておき、これに大量の収集デー
タを流して、鑑別率/誤鑑別率の測定を行い性能
の確認、性能劣化の原因追跡を行つていた。その
ため、測定された結果が、データの誤まりによる
ものか、鑑別論理によるものか、判断できないも
のであつた。なお第2図において110はデータ
処理装置に対応している。
That is, a method has often been adopted in which a preferable discrimination mode is set "in advance," so to speak, and it is checked to what extent the discrimination mode can be correctly identified.
In other words, a decision logic is created in advance using an arbitrary small sample, and a large amount of collected data is passed through this logic to measure the classification rate/misclassification rate, confirm the performance, and trace the cause of performance deterioration. It was on. Therefore, it was not possible to determine whether the measured results were due to data errors or differential logic. Note that in FIG. 2, 110 corresponds to a data processing device.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の鑑別論理の作成は、データ・ベースか
ら、無作為抽出した小標本により判別関数を導出
し、これを全データ・ベースに用いて頻度表を作
成し、この頻度表から、所望の鑑別率となる値を
閾値として鑑別論理を作成していた。即ち上述の
如く無作為に抽出したサンプルを用いてグループ
別辞書テーブルを作成し、そのテーブルの内容に
もとづいて判別関数の係数を算出し、その係数を
根拠に鑑別率の良/不良を測定していたために、
鑑別率の結果が思わしくない場合には、標本を再
抽出することが必要であり、(当然に、辞書テー
ブルが更新され、グループ別判別関数の再算出を
必要)、または閾値を変更するなどして反復試行
錯誤することにならざるを得なかつた。このため
小標本の作成と判別関数の導出と閾値の決定とが
それぞれ独立した作業となり、時間がかかるとい
う問題がある。また、小標本を用いて判別関数を
導出するために、データ・ベースと同等な精度を
もつているという保障のない小標本が利用される
こととなり、このために不正確な判別関数が導出
されるという問題が生じていた。またそのため
に、収集したデータ自体が、正当なものか否か、
チエツクできないものであつた。
Conventional discrimination logic is created by deriving a discriminant function from a small sample randomly selected from a database, creating a frequency table using this for the entire database, and calculating the desired discrimination rate from this frequency table. The discrimination logic was created using the value as the threshold. That is, as mentioned above, a dictionary table for each group is created using randomly selected samples, the coefficients of the discriminant function are calculated based on the contents of the table, and the good/bad classification rate is measured based on the coefficients. Because I was
If the results of the classification rate are unsatisfactory, it is necessary to re-extract the sample (of course, the dictionary table is updated and the group-by-group discriminant function needs to be recalculated), or the threshold value must be changed. I had no choice but to repeat trial and error. Therefore, the creation of a small sample, the derivation of a discriminant function, and the determination of a threshold value are independent tasks, resulting in a time-consuming problem. Furthermore, in order to derive a discriminant function using a small sample, a small sample is used that is not guaranteed to have the same accuracy as the database, and as a result, an inaccurate discriminant function may be derived. A problem arose. For this purpose, it is necessary to check whether the collected data itself is legitimate or not.
It was something that could not be checked.

本願発明者は先に、例えば特願昭60−180086
号、特願昭60−180087号、特願昭60−181446号、
特願昭60−181447号、特願昭60−230702号などに
おいて、紙葉類鑑別機を開発するに当つて、各種
の鑑別機処理動作をシミユレートすることができ
るようにすることを考慮して、紙葉類鑑別機開発
システムを提案している。
The inventor of the present application previously applied for patent application No. 60-180086.
No., Special Application No. 1987-180087, Special Application No. 181446,
In Japanese Patent Application No. 60-181447, Japanese Patent Application No. 60-230702, etc., when developing a paper sheet recognition machine, it was considered that it would be possible to simulate the processing operations of various types of recognition machines. , has proposed a paper sheet identification machine development system.

当該紙葉類鑑別機開発システムは、紙葉類上の
各面位置におけるデータを大量に収集しておき、
収集したデータから非所望な値をもつデータを自
動的に除外し、開発しようとする鑑別機が読取る
であろうデータ群を抽出生成し、種々のシミユレ
ーシヨンを行い得るようにしている。
The paper sheet identification machine development system collects a large amount of data at each surface position on paper sheets,
Data with undesired values are automatically excluded from the collected data, and a data group that will be read by the discriminator to be developed is extracted and generated, allowing various simulations to be performed.

上記の如き紙葉類鑑別機開発システムにおいて
も、上記不正確な判別関数が用いられ、または、
非正当なデータが利用される如き非所望な問題を
解決しておくことが望まれる。
Even in the above-mentioned paper sheet discrimination machine development system, the above-mentioned inaccurate discriminant function is used, or
It is desirable to solve undesirable problems such as the use of illegitimate data.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記の点を解決しており、データ・ベ
ースを得る間に判別論理を得て、人為的な判断や
操作を加えることなく、適正にグループを得てお
いて、当該グループに対応する判別関数にもとづ
き、データ・ベース上のの異常データを除外する
ようにしている。
The present invention solves the above-mentioned problems by obtaining discriminant logic while obtaining a database, appropriately obtaining groups, and corresponding to the groups without adding any artificial judgment or manipulation. Based on the discriminant function, abnormal data on the database is excluded.

第1図は、本発明の原理図を示す。図中の符号
1は、紙幣を含む紙葉類を表わす。2は、データ
収集器であつて、セツトされた紙葉類について複
数のセンサによつて情報を読み取る機能を持つて
いる。3は、データ編集器であつて、データ収集
器のセンサで読み取れない情報(紙葉類をデータ
収集器2にセツトした際のセツト方向、種類、ロ
ツト、周囲環境等)を、データ収集器2で読み取
つたデータに付加する機能を持つている。4は、
データ・ベースであつて、データ処理装置110
で処理される紙葉類のデータが格納される。
FIG. 1 shows a principle diagram of the present invention. Reference numeral 1 in the figure represents paper sheets including banknotes. Reference numeral 2 is a data collector, which has a function of reading information about set paper sheets using a plurality of sensors. 3 is a data editor that stores information that cannot be read by the sensor of the data collector (setting direction, type, lot, surrounding environment, etc. when paper sheets are set in the data collector 2). It has a function to add data to the data read. 4 is
a data base, the data processing device 110;
Stores data on paper sheets processed in .

5は、原始辞書作成部であつて、データ・ベー
ス上の紙葉類のデータに付加されている情報に基
いて、各付加情報別のセンサ・データに基いた原
始辞書を作成する機能を持つている。なお当該原
始辞書は第7図に後述されており、紙葉類上の
個々のメツシユに対応する情報を、大量の紙葉類
に関して収集した結果の情報を蓄えている。
5 is a primitive dictionary creation unit, which has a function of creating a primitive dictionary based on the sensor data for each additional information based on the information added to the paper sheet data on the database. ing. The original dictionary will be described later in FIG. 7, and stores information corresponding to individual meshes on paper sheets as a result of collecting information on a large amount of paper sheets.

7は、グループ変換テーブルであつて、付加さ
れた情報(紙葉類のセツト方向、種類等)から、
属するグループを導出するテーブルである。
7 is a group conversion table, and from the added information (setting direction, type of paper sheets, etc.),
This is a table for deriving the group to which it belongs.

6は、グループ別辞書作成部であつて、グルー
プ変換テーブル7を用いて、原始辞書作成部5に
よつて作成された原始辞書からグループ別辞書を
合成する機能を持つている。
Reference numeral 6 denotes a group dictionary creation unit, which has a function of synthesizing a group dictionary from the original dictionary created by the original dictionary creation unit 5 using the group conversion table 7.

なお上記5,6,7によつて辞書作成部120
が構成されている。
Note that according to 5, 6, and 7 above, the dictionary creation unit 120
is configured.

8は、判別関数頻度表作成部で、データ・ベー
ス上の紙葉類の属するグループ別に、各判別関数
の頻度表を作成する機能を持つている。10は、
設定値であつて、所望の鑑別率を指示する。9
は、閾値作成部であつて、設定された値の鑑別率
を達成する閾値を導出する機能を持つている。な
お上記8,9によつて閾値作成処理部130が構
成されている。
Reference numeral 8 denotes a discriminant function frequency table creation unit, which has a function of creating a frequency table of each discriminant function for each group to which the paper sheets on the database belong. 10 is
This is a set value and indicates a desired classification rate. 9
is a threshold value creation unit, and has a function of deriving a threshold value that achieves a classification rate of a set value. Note that the threshold value creation processing unit 130 is constituted by the above-mentioned 8 and 9.

11は、判定部であつて、データ・ベース上の
紙葉類のデータがいずれのグループに属するかを
判別関数及び閾値から判定し、判定されたグルー
プと、付加情報から導出されるグループとを比較
して、異常であれば異常データ・ベース13へ格
納し、正常であれば正常データ・ベース12へ格
納する。
11 is a determination unit that determines which group the paper sheet data on the database belongs to from a discriminant function and a threshold value, and distinguishes between the determined group and a group derived from additional information. After comparison, if it is abnormal, it is stored in the abnormal database 13, and if it is normal, it is stored in the normal database 12.

〔作用〕[Effect]

データ処理装置110においては、全データ・
ベース(4の内容)を用いて、自動的に鑑別論理
を作成し、その論理による結果と、付加情報のデ
ータとを比較して異常の判断を行うため、デー
タ・ベースの修正が一連の作業となり短時間で自
動的に行われる。
In the data processing device 110, all data
The database (contents in 4) is used to automatically create identification logic, and the results of that logic are compared with additional information to determine abnormalities, so modifying the database is a series of tasks. This will be done automatically in a short time.

また、上記作業を繰返すように構成されている
ので、異常データが多く混入されても、当該異常
データを除外し、データ・ベースの精度を高く保
つことができる。
In addition, since the above-mentioned operation is repeated, even if a large amount of abnormal data is mixed in, the abnormal data can be excluded and the accuracy of the database can be maintained at a high level.

〔実施例〕〔Example〕

以下実施例について説明するが、当該説明中の
鑑別率と誤鑑別率とは 鑑別率=(グループxと判別された数)/(グ
ループxの総数) 誤鑑別率=(グループx以外のグループと判
別された数)/(グループxの総数) を意味する(なおここでx:任意のグループ)。
An example will be explained below, but what is the classification rate and misclassification rate in the explanation? Classification rate = (number of groups identified as group x) / (total number of group x) Misclassification rate = (groups other than group x) (discriminated number)/(total number of groups x) (where x: any group).

第3図は紙幣データ収集器の一実施例構成を示
し、第3図Aは側面図、第3図Bは平面図、第3
図Cはローラの構成図を示す。図中の符号14は
繰出部であつて紙幣18が挿入されるとき当該紙
幣をデータ収集部15に供給する。データ収集部
15には、第3図B,C図示の如く、ローラ19
がもうけられ、紙幣18′が搬送路20上を図示
矢印の如く搬送される。搬送路20は、第3図B
図示の如く、紙幣18′の長手方向の距離にくら
べて十分に大きい幅をもつている。搬送路20上
には、紙幣進入検知センサ(S1)(S2)21と、
通過検知センサ22がもうけられると共に、デー
タ収集用センサ23が第3図B図示上下中央線に
対して線対称に配置されている。また図示の如く
トラツク検知センサ24がもうけられている。
FIG. 3 shows the configuration of an embodiment of the banknote data collector, in which FIG. 3A is a side view, FIG. 3B is a plan view, and FIG.
Figure C shows a configuration diagram of the roller. Reference numeral 14 in the figure is a feeding section, which supplies the banknote 18 to the data collection section 15 when the banknote 18 is inserted. The data collection unit 15 includes a roller 19 as shown in FIGS. 3B and 3C.
is generated, and the banknote 18' is conveyed on the conveyance path 20 as shown by the arrow. The conveyance path 20 is shown in FIG. 3B.
As shown, it has a width that is sufficiently large compared to the distance in the longitudinal direction of the banknote 18'. On the conveyance path 20, banknote entry detection sensors (S 1 ) (S 2 ) 21,
A passage detection sensor 22 is provided, and a data collection sensor 23 is arranged symmetrically with respect to the vertical center line shown in FIG. 3B. A track detection sensor 24 is also provided as shown.

上述の如く、紙幣18′の長手方向の長さにく
らべて搬送路20の幅が十分に大となつているた
めに、紙幣18′の上端が第3図B図示の搬送路
20の上端に接するようにセツトされて搬送され
る状態から、紙幣18′の下端が第3図B図示の
搬送路20の下端に接するようにセツトされて搬
送される状態まで、任意の位置に紙幣18′をセ
ツトすることが可能である。そして、これらのセ
ツト位置に対応して、データ収集用センサ23が
紙幣18′におけるどの位置をセンスするかが決
まつてしまう。
As described above, since the width of the conveyance path 20 is sufficiently large compared to the longitudinal length of the banknote 18', the upper end of the banknote 18' is at the upper end of the conveyance path 20 shown in FIG. 3B. The banknotes 18' can be placed in any desired position, from a state in which the banknotes 18' are set and transported so that they touch each other, to a state in which the banknotes 18' are set and transported in such a way that the lower end of the banknotes 18' touches the lower end of the transport path 20 shown in FIG. It is possible to set Corresponding to these set positions, which position on the banknote 18' is sensed by the data collection sensor 23 is determined.

紙幣18′上を第4図に示す如く、m×n個の
枡目領域25に区分し、第4図図示水平方向に並
ぶ枡目領域群をトラツクTi,Ti+1,……の如く定
め、第4図図示垂直方向に並ぶ枡目領域群をゾー
ンZ1,Z2,Z3……の如く定めたとすると、上記搬
送路20上に紙幣18′がセツトされる位置に対
応して、紙幣18′が搬送される間、データ収集
用センサ23が上下2つのトラツク上での枡目領
域のデータを収集する形となる。そして、紙幣1
8′を搬送路20上にセツトする位置を変化させ
ることによつて、紙幣18′上の所定の範囲内で
の全枡目領域25について、夫々当該枡目領域2
5のデータを収集することができる。また第4図
図示斜線を付した枡目領域25のデータは、セン
サ23の1つがトラツクTi+1に沿つてデータを収
集している間であつてゾーンZ2に対応する搬送タ
イミング時に抽出される。このとき、センサ23
がどのトラツクに対応するかは、紙幣18′の端
がトラツク検知センサ24のどの位置を通るかで
判明される。
As shown in FIG. 4, the top of the banknote 18' is divided into m×n grid areas 25, and the grid areas arranged in the horizontal direction in FIG . If the grid area groups arranged in the vertical direction in FIG. 4 are defined as zones Z 1 , Z 2 , Z 3 . Thus, while the banknote 18' is being conveyed, the data collection sensor 23 collects data in the square areas on the two upper and lower tracks. And banknote 1
8' on the conveyance path 20, each of the square areas 25 within a predetermined range on the banknote 18' is
5 data can be collected. The data in the hatched square area 25 in FIG. 4 is extracted at the transport timing corresponding to zone Z 2 while one of the sensors 23 is collecting data along the track T i+1 . be done. At this time, the sensor 23
Which track corresponds to can be determined by which position of the track detection sensor 24 the edge of the banknote 18' passes through.

データ収集部15を搬送され終わつた紙幣は図
示収納部16内に図示紙幣18″の如く収納され
る。そして、上記搬送の間に収集されたデータ
は、制御部17から、第1図図示のデータ編集器
3に転送される。
The banknotes that have been conveyed through the data collection unit 15 are stored in the illustrated storage unit 16 as shown in the illustrated banknote 18″.The data collected during the above-mentioned conveyance is sent from the control unit 17 to the banknote shown in FIG. The data is transferred to the data editor 3.

第5図はデータ編集装置の一実施例構成を示し
ている。図中の符号26は制御部(プロセツサ)、
27はデータ伝送手段であつてデータ収集器から
のデータを受信するものを表す。28はデータ入
力部であつて、上記データ収集器2から転送され
てくる各データに対応して、(i)紙幣18′がどの
ような金種に対応するもののデータであるか、
(ii)紙幣18′がどの方向にセツトされた場合(セ
ツト方向は、表面について2通り、裏面について
2通りある)に対応するもののデータであるか
、(iii)データ収集時にどのような環境条件であつ
たか、(iv)紙幣18′がどの紙幣製造ロツトに対
応するもののデータであるかなど、が付加され
るが、これらの付加データが当該データ入力部2
8から入力される。
FIG. 5 shows the configuration of an embodiment of the data editing device. Reference numeral 26 in the figure is a control unit (processor);
27 represents a data transmission means that receives data from the data collector. Reference numeral 28 denotes a data input section, which, in correspondence with each data transferred from the data collector 2, inputs (i) data on what denomination the banknote 18' corresponds to;
(ii) Which direction does the data correspond to when the banknote 18' is set (there are two orientations for the front side and two orientations for the back side)? (iii) What environmental conditions were there at the time of data collection? (iv) Which banknote production lot does the banknote 18' correspond to? These additional data are added to the data input unit 2.
It is input from 8.

29はデータ表示部、30はROM書込器、3
1はデータ・ストア部(フロツピイ・デイスク4
に対応する)を表している。
29 is a data display section, 30 is a ROM writer, 3
1 is the data store section (floppy disk 4
).

データ収集器2から転送されてくるデータ32
は、第6図図示上段に示す如く (i) 斜行量およびセツト方向情報、 (ii) データ32の長さ情報、 (iii) 紙幣18′の搬送速度情報、 (iv) トラツク位置情報、 (v) センス・データ を有するデータ・フオーマツトをもつている。そ
して、第5図図示データ入力部28から、当該デ
ータ32に対して、上述の如く付加データ、
、、が付加され、全体の情報33がフロツ
ピイ・デイスク(図示せず)上に格納され、デー
タ処理装置110上のデータ・ベース4に格納さ
れる。
Data 32 transferred from data collector 2
As shown in the upper part of FIG. 6, (i) skew amount and setting direction information, (ii) length information of data 32, (iii) conveyance speed information of banknote 18', (iv) track position information, ( v) Has a data format with sense data. Then, as described above, additional data,
, , are added, and the entire information 33 is stored on a floppy disk (not shown) and stored in the database 4 on the data processing device 110.

データ処理装置110内の原始辞書作成部5
は、データ・ベース4上の紙葉類のデータを一枚
づつ読み取り、データ上の付加情報とトラツク位
置情報とに基づいて、当該データを区分し、その
最小区分単位(ユニツト…第4図に示す斜線域2
5)毎に、第7図に示すような、各ゾーンについ
てデータ数N、各ゾーン毎のデータの累積和Σx、
各ゾーン毎のデータの累積二乗和Σx2をテーブル
上に保持する。
Original dictionary creation unit 5 in data processing device 110
reads the paper sheet data on the database 4 one by one, classifies the data based on the additional information on the data and the track position information, and divides the data into the minimum division unit (unit... as shown in Figure 4). Shaded area 2 shown
5), the number of data N for each zone, the cumulative sum Σx of data for each zone, as shown in FIG.
The cumulative sum of squares Σx 2 of data for each zone is maintained on the table.

グループ別辞書作成部6は、第8図に示すよう
な、付加情報及びトラツク位置情報とそれに対応
して決められるグループ番号との対応を表わすグ
ループ変換テーブル7を用いて、グループ別の各
ゾーン毎の平均値Mと分散値Vとを計算し、第9
図に示す如きグループ別辞書テーブルに格納す
る。なお、上記の如く付加情報及びトラツク信号
情報とに対応してグループ番号G1、G1、……Gl
を付与するに当たつては、次の如く行われる。即
ち第7図図示の原始辞書テーブルの内容を調べ、
例えば第7図図示の第1枚目のテーブルの内容に
ついての各ゾーン毎の平均値と第7図図示の第2
枚目のテーブルの内容についての各ゾーン毎の平
均値とが、いわばすべてのゾーンにわたつて近似
している傾向をもつ場合、上記第1枚目のテーブ
ルと第2枚目のテーブルとは、同じグループG1
に属するものとして扱うようにする。このような
グループ番号付与に当たつては、人手によつて感
覚的に近似しているものを集める形で行つてもよ
く、また、適宜用意された判別関数を用いて近似
する内容をもつテーブルを同じグループにまとめ
るようにしてもよい。
The group-specific dictionary creation unit 6 uses a group conversion table 7, as shown in FIG. Calculate the mean value M and variance value V of
The data is stored in a group dictionary table as shown in the figure. Furthermore, as mentioned above, the group numbers G 1 , G 1 , ...Gl correspond to the additional information and the track signal information.
The granting of this will be done as follows. That is, by examining the contents of the original dictionary table shown in FIG.
For example, the average value for each zone for the contents of the first table shown in Figure 7 and the second table shown in Figure 7.
If the average values of the contents of the first table for each zone tend to be similar across all zones, then the first table and the second table are Same group G 1
be treated as belonging to the . When assigning group numbers in this way, it may be done manually by collecting those that are intuitively similar, or a table with the content to be approximated may be created using an appropriately prepared discriminant function. may be grouped together in the same group.

この時の平均値Mと分散値Vとの導出は下記に
よる。
The average value M and variance value V at this time are derived as follows.

M11=1/N1+N1′+…・(N1 〓 x1N1′ 〓 x1′+…) V11=1/N1+N1′+…・(N1 〓 x1 2N1′ 〓 x12+…)−M11 2 N1:金種1、方向1、トラツクT1の時のデータ
数、 x1:金種1、方向1、トラツクT1の時のデータ
値、 N1′:金種1、方向1、トラツクT2の時のデータ
数、 x1′:金種1、方向1、トラツクT2の時のデータ
値 判別関数頻度表作成部8は、あらかじめ用意さ
れている 判別式Fa(Ma1、Ma2、…、Man、 Va1、Va2、…、Van、X1、X2、…、Xn) にグループ別辞書の値を代入して、グループ別判
別関数を作成する。例えば、グループG1の関数f1
は f1=F1(M11、M12、…M1n、 V11、V12、…、V1n、X1、X2、…、Xn) (ここでX1〜Xnは、1〜mゾーンのセンサ・デ
ータ) となる。上記関数Faの形としては、例えばマハ
ラノビス距離を利用する場合には、 F=(X1−Ma12/(γVa12+(X2−Ma
22/(γVa22+……+(Xn−Man)2/(γVan)2
1 の如きものとなる。なお、上式においてγは閾値
を表わしている。またユークリツド距離を利用す
る場合には、もつと簡単に F=(X1−Ma12/γ2+(X2−Ma22
γ2+……+(Xn−Man)/γ2−1 の如きものとなる。
M 11 = 1/N 1 +N 1 ′+…・( N1 〓 x 1 + N1 ′ 〓 x 1 ′+…) V 11 = 1/N 1 +N 1 ′+…・( N1 〓 x 1 2 + N1 ′ 〓 x 12 +…) −M 11 2 N 1 : Number of data when denomination 1, direction 1, track T 1 , x 1 : Data value when denomination 1, direction 1, track T 1 , N 1 ′: Number of data when denomination 1, direction 1, track T 2 , x 1 ′: Data value when denomination 1, direction 1, track T 2 Discriminant function frequency table creation unit 8 prepares in advance. Assign the values of the group-specific dictionary to the discriminant F a (M a1 , M a2 ,…, M an , V a1 , V a2 ,…, V an , X 1 , X 2 ,…, X n ). Create a group-specific discriminant function. For example, function f 1 of group G 1
is f 1 = F 1 (M 11 , M 12 ,...M 1n , V 11 , V 12 ,..., V 1n , X 1 , X 2 ,..., X n ) (Here, X 1 to X n are 1 ~ m zone sensor data). For example, when using Mahalanobis distance, the form of the above function Fa is F=(X 1 −Ma 1 ) 2 /(γVa 1 ) 2 +(X 2 −Ma
2 ) 2 / (γVa 2 ) 2 +……+ (Xn−Man) 2 / (γVan) 2
It will be something like 1. Note that in the above equation, γ represents a threshold value. Moreover, when using Euclidean distance, it is easy to write F=(X 1 − Ma 1 ) 22 +(X 2 − Ma 2 ) 2 /
It becomes something like γ 2 +...+(Xn-Man)/γ 2 -1.

次に、第10図に示すように、データ・ベース
4上のデータを一枚づつ読み取りグループ変換テ
ーブル(第8図)で示されるグループについて、
当該グループの判別関数を計算し、その結果で頻
度表で示される値のデータ数を+1し、データ・
ベース全体のデータに対し同一処理を行つて頻度
表を作成する。
Next, as shown in FIG. 10, the data on the database 4 is read one by one and the groups shown in the group conversion table (FIG. 8) are
Calculate the discriminant function for the group, use the result to add 1 to the number of data for the value shown in the frequency table, and calculate the data.
A frequency table is created by performing the same processing on the entire base data.

閾値作成部9は、各判別関数毎の頻度表と外部
よりの鑑別率を指示する設定値Sとから、下記の
条件を満たす閾値をグループ別に導出して保持す
る。
The threshold creation unit 9 derives and holds thresholds for each group that satisfy the following conditions from the frequency table for each discriminant function and the set value S that indicates the classification rate from the outside.

設定値Sの場合におけるグループ1の判別関数
の閾値K1は S(K1k=1 f1k)/(hk=1 f1k) を満足するものとして決定される。
The threshold value K 1 of the discriminant function of group 1 in the case of the set value S is determined as satisfying S( K1k=1 f 1k )/( hk=1 f 1k ).

判定部11は、データ・ベース4から紙葉類の
データを一枚づつ読み取り、上記の判別関数と閾
値とから、読み取つたデータが、どのグループに
属するかを判定する。例えば、一枚のデータがグ
ループG1に属するか否かは、 f1K1 の条件を満たすか否かである。
The determining unit 11 reads the data of paper sheets one by one from the database 4, and determines to which group the read data belongs based on the above-mentioned discriminant function and threshold value. For example, whether a piece of data belongs to group G 1 depends on whether the condition f 1 K 1 is satisfied.

次に、判定の結果、一枚のデータが、いずれか
1つのグループに属することが判定され、かつ、
その判定されたグループが付加データとグループ
変換テーブルとで導出されたグループとは異なる
場合、異常データとして、異常データ・ベース1
3へ格納され、それ以外は、正常データ・ベース
12へ格納される。
Next, as a result of the determination, it is determined that one piece of data belongs to any one group, and
If the determined group is different from the group derived from the additional data and the group conversion table, it is treated as abnormal data in the abnormal database 1.
3, and the others are stored in the normal database 12.

ここで、1つのグループの異常データと正常デ
ータとの割合、すなわち下記の誤混入率α α=異常データ数/正常データ数 が大きい時には、上記の導出された判別関数及び
閾値は、自己のグループを判定するだけでなく、
誤混入している他のグループをも、自己のグルー
プと判定する危険性がでてくる。
Here, when the ratio of abnormal data to normal data in one group, that is, the following error contamination rate α α = number of abnormal data/number of normal data, is large, the above derived discriminant function and threshold value are In addition to determining the
There is a risk that other groups that have been mixed in incorrectly will also be determined to be the own group.

今、除去前の判別関数f1についての頻度表F1
f2についての頻度表F2、また、除去後の判別関数
f1についての頻度表F1′を考慮し、グループG1
中にグループG2が誤混入している場合を考えて
みる。
Now, the frequency table F 1 for the discriminant function f 1 before removal,
The frequency table F 2 for f 2 and also the discriminant function after removal
Considering the frequency table F 1 ′ for f 1 , consider a case where group G 2 is mixed into group G 1 by mistake.

第11図に示すように除去前の頻度表F1は、
グループG2の一部をグループG1とみて判別関数
が作成されているため、グループG1とグループ
G2との分離が明確でない。また、この時の頻度
表F2は、第12図に示すように、グループG2
中にグループG1が内包されている。
As shown in Figure 11, the frequency table F 1 before removal is
Since the discriminant function was created considering part of group G 2 as group G 1 , group G 1 and group
Separation from G 2 is not clear. Further, in the frequency table F2 at this time, as shown in FIG. 12, the group G1 is included in the group G2 .

この状態で高い鑑別率を得るような閾値K1
K2を設定すると、第12図に示す誤混入分が除
去される反面、第11図図示の斜線部で示すグル
ープG2の正当な成分も除去される危険性がある。
A threshold value K 1 that obtains a high discrimination rate in this state,
When K 2 is set, while the erroneous components shown in FIG. 12 are removed, there is a risk that the legitimate components of group G 2 shown in the shaded area in FIG. 11 will also be removed.

そのため、最初の鑑別率は低く設定し(K11
K21の如く)、確実に誤混入とみられる分だけを
除去して判別関数をつくり、以下同様にして徐徐
に、鑑別率を高く設定し、第13図に示すような
誤混入分を除去された場合の正しい判別関数を導
出するようにする。即ち除去の信頼性を高め、と
同時に、導出される判別関数の信頼性も高めるよ
うにする。
Therefore, the initial identification rate is set low (K 11 ,
K 21 ), create a discriminant function by removing only those that are definitely considered to be erroneous contaminations, and then gradually set the discrimination rate to a high value in the same way to remove the erroneous contaminations as shown in Figure 13. The correct discriminant function will be derived for each case. That is, the reliability of the removal is increased, and at the same time, the reliability of the derived discriminant function is also increased.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、全データ・ベース上の誤混入
データが自動的に除去されるので、データ・ベー
スの精度が向上され、除去が短時間で行えるだけ
でなく、データ・ベースより導出する鑑別論理の
信頼性が向上する。
According to the present invention, since erroneous data on all databases is automatically removed, the accuracy of the database is improved, and the removal can be performed in a short time. Logic becomes more reliable.

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

第1図は、本発明の原理を説明する図、第2図
は従来例を説明する図、第3図ないし第6図はデ
ータ収集からデータ・ベースを作成するまでの一
実施例を示す図、第7図は原始辞書テーブルを説
明する図、第8図はグループ変換テーブルを説明
する図、第9図はグループ別辞書テーブルを説明
する図、第10図は頻度表を作成する説明図、第
11図ないし第13図は異常データ除外処理を説
明する図を示す。 図中、1は紙葉類、2はデータ収集器、3はデ
ータ編集器、4はデータ・ベース、5は原始辞書
作成部、7はグループ変換テーブル、8は判別関
数頻度表作成部、9は閾値作成部、10は設定
値、11は判定部を表わす。
Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 is a diagram explaining a conventional example, and Figs. 3 to 6 are diagrams showing an embodiment from data collection to creation of a database. , FIG. 7 is a diagram for explaining the original dictionary table, FIG. 8 is a diagram for explaining the group conversion table, FIG. 9 is a diagram for explaining the group-specific dictionary table, and FIG. 10 is a diagram for explaining the creation of the frequency table. FIGS. 11 to 13 are diagrams illustrating abnormal data exclusion processing. In the figure, 1 is a paper sheet, 2 is a data collector, 3 is a data editor, 4 is a database, 5 is a primitive dictionary creator, 7 is a group conversion table, 8 is a discriminant function frequency table creator, 9 10 represents a threshold value creation unit, 10 represents a set value, and 11 represents a determination unit.

Claims (1)

【特許請求の範囲】 1 セツトされた紙幣を含む紙葉類1について複
数のセンサによつて情報を読み取るデータ収集器
2と、 該データ収集器2によつて読み取られたデータ
に対して、当該データに関する付加データを付加
するデータ編集装置3と、 該データ編集装置3によつて編集された情報を
保持するデータ・ベース4をそなえるとともに、 当該データ・ベース4内の情報を処理する情報
処理機能部をそなえたデータ処理装置110を少
なくともそなえ、 上記情報処理機能部が、上記データ・ベース4
の内容を用いて、開発対象である紙葉類鑑別機の
動作に対応するシミユレーシヨンを行なう紙葉類
鑑別機開発装置において、 上記情報処理機能部は、上記シミユレーシヨン
を行う機能を持つと共に、少なくとも、 上記紙葉類が属すべきN個(Nは2以上の整
数)のグループG1、G2…のいずれに属するかを
判定する判別関数をデータ・ベース上の紙葉類か
ら導出する閾値作成部9を持つとともに、 上記データ・ベース4上のデータについての当
該判別関数による判定の結果、付加情報により示
された群と判定結果の群とを判定する判定部11
をそなえ、 当該判定部による判定によつて両者の群が一致
しない場合には、異常データとして除去するよう
構成されてなり、 上記情報処理機能部が、異常データを除去され
てグループ化されたグループにもとづいて、上記
データ・ベース4の内容を分類し、上記シミユレ
ーシヨンを行うようにした ことを特徴とする紙葉類鑑別機開発装置。 2 判別関数による鑑別率を設定された値とする
機能を持つとともに、 判定の結果、異常ではないと判定されたデータ
を、再度データ・ベースとするように構成し、デ
ータ・ベースの自動修正処理を所定の回数行うよ
うにし、 この時、鑑別率の設定については、第1回目を
最低とし、それ以後を徐徐に増加するようにし
て、異常データを順次除去するように構成したこ
とを特徴とする特許請求の範囲第1項記載の紙葉
類鑑別機開発装置。
[Scope of Claims] 1. A data collector 2 that reads information about set paper sheets 1 including banknotes using a plurality of sensors; A data editing device 3 that adds additional data related to data, a database 4 that holds information edited by the data editing device 3, and an information processing function that processes information in the database 4. The information processing function section includes at least a data processing device 110 having a data processing function section;
In a paper sheet validating machine development device that performs a simulation corresponding to the operation of a paper sheet validating machine to be developed using the contents of A threshold creation unit that derives a discriminant function for determining which of the N groups (N is an integer of 2 or more) to which the paper sheet belongs, G 1 , G 2 . . . , from the paper sheets on the database. 9, and determines the group indicated by the additional information and the group of the determination results as a result of determination by the discriminant function on the data on the database 4.
and is configured to remove the two groups as abnormal data if the two groups do not match according to the determination by the determination unit, and the information processing function unit removes the abnormal data from the group. A paper sheet discriminator development device characterized in that the content of the database 4 is classified based on the above, and the simulation is performed. 2. It has a function to set the discrimination rate using a discriminant function to a set value, and is configured so that the data determined as not abnormal as a result of the judgment is reused as a database, and automatic correction processing of the database is performed. is performed a predetermined number of times, and at this time, the classification rate is set to be the lowest for the first time and gradually increases thereafter, so that abnormal data are sequentially removed. An apparatus for developing a paper sheet discriminator according to claim 1.
JP61220058A 1986-09-18 1986-09-18 Automatic correction processing system for data base Granted JPS6375894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61220058A JPS6375894A (en) 1986-09-18 1986-09-18 Automatic correction processing system for data base

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61220058A JPS6375894A (en) 1986-09-18 1986-09-18 Automatic correction processing system for data base

Publications (2)

Publication Number Publication Date
JPS6375894A JPS6375894A (en) 1988-04-06
JPH0210994B2 true JPH0210994B2 (en) 1990-03-12

Family

ID=16745276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61220058A Granted JPS6375894A (en) 1986-09-18 1986-09-18 Automatic correction processing system for data base

Country Status (1)

Country Link
JP (1) JPS6375894A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0814859B2 (en) * 1988-10-18 1996-02-14 沖電気工業株式会社 Paper discrimination device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5829085A (en) * 1981-07-24 1983-02-21 富士通株式会社 Coin identification system
JPS59180794A (en) * 1983-03-31 1984-10-13 富士通株式会社 Paper money discrimination system
JPS61105690A (en) * 1984-10-29 1986-05-23 富士通株式会社 Automatic feature extractor for sheet paper and automatic feature extraction
JPS61156389A (en) * 1984-12-27 1986-07-16 富士通株式会社 Discrimination logical configuration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5829085A (en) * 1981-07-24 1983-02-21 富士通株式会社 Coin identification system
JPS59180794A (en) * 1983-03-31 1984-10-13 富士通株式会社 Paper money discrimination system
JPS61105690A (en) * 1984-10-29 1986-05-23 富士通株式会社 Automatic feature extractor for sheet paper and automatic feature extraction
JPS61156389A (en) * 1984-12-27 1986-07-16 富士通株式会社 Discrimination logical configuration

Also Published As

Publication number Publication date
JPS6375894A (en) 1988-04-06

Similar Documents

Publication Publication Date Title
US4481665A (en) Character segmentation method
CN101366020A (en) Table detection in ink notes
US4510615A (en) Magnetic character reader with double document detection
CN110135225A (en) Sample mask method and computer storage medium
JP2015005100A (en) Information processor, template generation method, and program
CN113269101A (en) Bill identification method, device and equipment
JPH0210994B2 (en)
JP2003109007A (en) Device, method and program for classifying slip form and image collating device
JPH0210993B2 (en)
US6934404B2 (en) Stamp detecting device, stamp detecting method, letter processing apparatus and letter processing method
JPH0210995B2 (en)
CN113159203A (en) Song marking model training method, song marking method, electronic device and storage medium
JPH0132463B2 (en)
CN113191351A (en) Reading identification method and device of digital electric meter and model training method and device
JPH1063744A (en) Method and system for analyzing layout of document
JPH0132464B2 (en)
JPH0981684A (en) Pattern recognition device and character segmentation system
JPH0132462B2 (en)
JPH0551950B2 (en)
Kanai Automated performance evaluation of document image analysis systems: Issues and practice
JP3105918B2 (en) Character recognition device and character recognition method
JPS6254390A (en) Development system for sheet paper discriminator
JPS63106882A (en) Character font deciding system for printed character recognizing device
JPH10198762A (en) Pattern recognition and limited character string recognition system using neuro, and character pattern sorting device
JPH0737032A (en) Handwritten symbol entering form and handwritten symbol recognizer

Legal Events

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