JPS60123753A - Object inspecting system - Google Patents

Object inspecting system

Info

Publication number
JPS60123753A
JPS60123753A JP58231314A JP23131483A JPS60123753A JP S60123753 A JPS60123753 A JP S60123753A JP 58231314 A JP58231314 A JP 58231314A JP 23131483 A JP23131483 A JP 23131483A JP S60123753 A JPS60123753 A JP S60123753A
Authority
JP
Japan
Prior art keywords
sensor
value
counter
data processor
count
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP58231314A
Other languages
Japanese (ja)
Other versions
JPH0246097B2 (en
Inventor
Mitsunari Kano
加納 光成
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP58231314A priority Critical patent/JPS60123753A/en
Publication of JPS60123753A publication Critical patent/JPS60123753A/en
Publication of JPH0246097B2 publication Critical patent/JPH0246097B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/0006Industrial image inspection using a design-rule based approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/98Detection or correction of errors, e.g. by rescanning the pattern or by human intervention; Evaluation of the quality of the acquired patterns
    • G06V10/993Evaluation of the quality of the acquired pattern
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30124Fabrics; Textile; Paper

Abstract

PURPOSE:To facilitate data processor treatment and to shorten a sensor scanning cycle, in the state inspection of papers, by operating a plurality of counters by allowing said counters to count state information by performing the scanning of a unidimensional visual sight sensor. CONSTITUTION:Paper 1 is scanned by a unidimensional visual sight sensor 3' to read defect parts 2, 2', 2''. Picture element informations read by the sensor 3' are converted to binarized pulses and inputted to a plurality of counter latch circuits (CL) to count and store picture element informations. For example, the value D1 of a first region A1 having no object is stored in the first CL, the value D2 of a total region A1+A2+A3+A4+A5 having no object in the second CL, the value D4 of a final region A5 in the third CL and the number of times D5 changed in a picture element state in the fourth CL. In the next step, these data are sent to a data processor to count paper width=sensor length-(D1+D3), deficiency region width=D2-(D1+D3) and deficiency place number=(D4-2)/2. Therefore, by using plural CLs, the arithmetic processing of a data processor is simplified to a large extent and rapid judgement can be performed.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は物体検査システムに関し、特にフォトタイオー
ド・アレイやイメージセンサの如キー次元アレイセンサ
を検出器として紙葉類等の被検査物体の状態判定を行な
う検査システムに関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to an object inspection system, and in particular, uses a key-dimensional array sensor such as a photodiode array or an image sensor as a detector to detect the condition of an object to be inspected such as a paper sheet. The present invention relates to an inspection system that performs judgment.

〔発明の背景〕[Background of the invention]

紙幣等の紙葉の寸法、損傷あるいは折れの有無などを自
動的に判定する場合、イメージセンサやフォトダイオー
ド・アレイの如き一次元の視野をもつセンサが用いられ
る。
When automatically determining the dimensions of paper sheets such as banknotes, whether they are damaged or folded, etc., a sensor with a one-dimensional field of view, such as an image sensor or a photodiode array, is used.

第1図はこのようなシステムのイメージ入力部の1例を
示し、図(A)において1は検査対象となる紙葉、2 
、2’は破れによる欠損部分、3′はセンサ視野を示す
。今、Y方向に搬送中の紙葉lに対してセンサ視野が図
示された位置にあるとき、センサ3は図(B)に示す如
く、領域A (AI、A2.A3゜A4)では物体無し
、領域B (Bl、B2.B3)では物体有りの検知状
態となっている。
Figure 1 shows an example of the image input section of such a system. In Figure (A), 1 indicates the paper sheet to be inspected, and 2
, 2' indicates the missing part due to the tear, and 3' indicates the sensor field of view. Now, when the sensor field of view is at the position shown in the diagram with respect to the sheet l being conveyed in the Y direction, the sensor 3 detects that there is no object in area A (AI, A2.A3°A4), as shown in Figure (B). , Area B (Bl, B2, B3) is in a state where an object is detected.

イメージセンサ3は、幅PをもつN個の独立したセンサ
の集合体であり、従来の紙葉検査では、イメージセンサ
の各絵素の情報を、例えば左端から右端に向ってX方向
に走査して順次に読み出しこれを2値化して11“、ま
たは′0″のビットデータに変換し、全体として1つの
データワードとした後、パターン判定処理をしていた。
The image sensor 3 is a collection of N independent sensors with a width P. In conventional sheet inspection, the image sensor 3 scans the information of each pixel of the image sensor in the X direction from the left end to the right end. The data is sequentially read out and then binarized and converted into bit data of 11" or '0" to form one data word as a whole, and then subjected to pattern determination processing.

このため、センサの絵素数を増して高い分解能で紙葉の
状態判定を行なおうとすると、パターン判定の対象とな
るデータのビット数が多くなり、通常のコード化された
データを扱う場合に比較して、パターン判定に要するブ
ロクラムの処理ステップ数が多くなり、データ処理が複
雑化するという問題があった。
For this reason, if you increase the number of picture elements in the sensor and try to judge the state of the paper sheet with high resolution, the number of bits of data that is subject to pattern judgment will increase, compared to when dealing with normal coded data. Therefore, there is a problem that the number of block processing steps required for pattern determination increases, and data processing becomes complicated.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、上述した1次元視野をもつセンサを用
いて被検査物体の状態判定を行なうシステムにおいて、
データプロセッサによるセンサ情報の処理を容易にする
ことにある。
An object of the present invention is to provide a system for determining the state of an object to be inspected using a sensor having a one-dimensional field of view as described above.
The object is to facilitate the processing of sensor information by a data processor.

〔発明の概要〕[Summary of the invention]

上記目的を達成するため、本発明の物体検査システムは
、被検査物体の搬送路を横切って配置された1次元セン
サと、上記センサの絵素情報を順次に読み出すための走
査手段と、読み出された絵素情報を2値パルスに変換す
る手段と、上記パルスを計数して被検知物体の1端の位
置を示す計数値を記憶する第1のカウンタと、上記パル
スを計数して被検知物体の存在範囲若しくは不在範囲の
総寸法を示す計数値を記憶する第20カウンタと、上記
パルスを計数して被検知物体の他端位置を示す計数値を
記憶する第3のカウンタと、1サイクルのセンサ走査の
都度、上記各カウンタの値を取り込み、各計数値から所
定の判定演算を行なうデータプロセッサとからなること
を特徴とする。
In order to achieve the above object, the object inspection system of the present invention includes a one-dimensional sensor disposed across the conveyance path of the object to be inspected, a scanning means for sequentially reading out pixel information of the sensor, and a reading device. means for converting the pixel information into binary pulses; a first counter for counting the pulses and storing a count value indicating the position of one end of the object to be detected; a 20th counter that stores a count value that indicates the total size of the object's presence range or nonexistence range; a third counter that counts the pulses and stores a count value that indicates the other end position of the detected object; and 1 cycle. The apparatus is characterized by comprising a data processor that takes in the values of each of the counters each time the sensor scans, and performs a predetermined judgment operation from each counted value.

〔発明−の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第2図は本発明によるセンサ出力処理回路の構成を示す
ブロック図であり、3は1次元の視野3′をもつイメー
ジセンサ、4はイメージセンサ3の出力を所定の閾値と
比較して順次11“、10“ビットに変換する2値化回
路、21〜24はカウンタ、31〜34は上記各カウン
タのカウント値をタイミンクパルスTEでラッチするラ
ッチ回路、40は上記各ラッチ回路のカウント値D1〜
D4を、図示しないデータプロセッサからのアドレス信
号ADに従って選択し、データDとしてデータプロセッ
サに入力するマルチプレクサを示す。
FIG. 2 is a block diagram showing the configuration of a sensor output processing circuit according to the present invention, where 3 is an image sensor having a one-dimensional field of view 3', and 4 is a block diagram showing the output of the image sensor 3 compared with a predetermined threshold value. , 10'' bits, 21 to 24 are counters, 31 to 34 are latch circuits that latch the count values of each of the above counters with a timing pulse TE, and 40 is a count value D1 to 10 of each of the above latch circuits.
A multiplexer which selects D4 according to an address signal AD from a data processor (not shown) and inputs it as data D to the data processor is shown.

イメージセンサ3は、第2図(B)で説明したようにN
個のセンサからなり、各センサの情報は、タイミングパ
ルス発生回路50から所定の間隔で出力されるタイミン
クパルスTNに従って順次に読み出され、2値化回路4
で2値化号に変換される。
The image sensor 3 has N as explained in FIG. 2(B).
The information of each sensor is sequentially read out according to the timing pulse TN outputted at predetermined intervals from the timing pulse generation circuit 50, and
is converted into a binary code.

タイミンクパルス発生回路50からは、上記センサ走査
に先立ってパルスTaが出力され、これによってカウン
タ21〜24がそれぞれクリアされる。才た上述したラ
ッチのタイミンクパルスTEはセンサ3の走査終了後に
パルス発生回路50から発生される。
The timing pulse generating circuit 50 outputs a pulse Ta prior to the above-mentioned sensor scanning, thereby clearing the counters 21 to 24, respectively. The above-described latch timing pulse TE is generated from the pulse generating circuit 50 after the sensor 3 finishes scanning.

以下、第2図のカウンタ21〜24の動作について、第
3図を参照しながら説明する。
The operations of the counters 21 to 24 in FIG. 2 will be described below with reference to FIG. 3.

今、センサ視野3′が、第3図に示す如く、紙葉1上の
3ケ所の欠損部分2.2’、2″に対向した状態にある
ものと仮定すると、イメージセンサ3内の情報は、領域
A1.A2 、八3.A4 、A5に該当する絵素が物
体無し、領域Bl 、B2 、Ba 、B4が物体有り
の状態となっている。
Now, assuming that the sensor field of view 3' is facing the three missing parts 2, 2' and 2'' on the sheet of paper 1 as shown in FIG. 3, the information in the image sensor 3 is , areas A1.A2, 83.A4, and A5 have no object, and areas B1, B2, Ba, and B4 have objects.

2値化回路4は、絵素からの読み出し情報が物体無しの
時に信号線SOに、また、物体有りの時に信号線S1に
それぞれパルスを出力する。
The binarization circuit 4 outputs a pulse to the signal line SO when the read information from the picture element indicates that there is no object, and outputs a pulse to the signal line S1 when the read information from the picture element indicates that there is an object.

第1のカウンタ21は、第2図に示す如く、ANDゲー
ト11ヲ介して入力される信号11i1sOのパルス(
以下、単にパルスSOと言う)の数をカウントしている
。この場合、ANDゲート11は、開始パルスTsでセ
ットされるフリップフロップ120セツト出力により制
御されており、且つ、フリップフロップ12は信号線8
1のパルス(以下、単にパルスSlと言う)でリセット
されるようになっているため第10カウンタ21への入
力パルス数は最初の物体無し領域A1の絵素数に相当し
、その値D1がラッチ回路31に記憶されることになる
As shown in FIG. 2, the first counter 21 receives the pulse (
Hereinafter, the number of pulse SOs (simply referred to as pulse SO) is counted. In this case, the AND gate 11 is controlled by the output of the flip-flop 120 set by the start pulse Ts, and the flip-flop 12 is controlled by the signal line 8.
1 pulse (hereinafter simply referred to as pulse Sl), the number of input pulses to the 10th counter 21 corresponds to the number of picture elements in the first object-free area A1, and that value D1 is latched. It will be stored in the circuit 31.

第2のカウンタ22は、1走査期間中のパルスSOO数
をカウントしており、その最終値D2は欠損部分2 、
2’ 、 2”を含めた物体無し領域の全長(A1+A
2−)−A3 +A4 +A5)を示している。
The second counter 22 counts the number of pulses SOO during one scanning period, and its final value D2 is the missing part 2,
The total length of the object-free area including 2' and 2'' (A1+A
2-)-A3 +A4 +A5).

第3のカウンタ23はパルスSoをカウントしているが
、このカウンタのクリア端子には、ORゲート14ヲ介
して開始パルスTsとパルス814か与えられている。
The third counter 23 counts the pulse So, and the start pulse Ts and the pulse 814 are applied to the clear terminal of this counter via the OR gate 14.

上記パルス814は、パルスSlでセットされてパルス
SOでリセツl−gれるフリップ・フロップ13のリセ
ット出力をワンショット回路14でパルス化したもので
ある。従って、第30カウンタの値は、絵素情報が物体
有りの状態から物体無しの状態に切り変わる度にクリア
され、最後に現われる物体無し領域A5の長さに和尚す
る値D3をラッチ回路33に渡すことになる。
The pulse 814 is a reset output of the flip-flop 13, which is set by the pulse Sl and reset by the pulse SO, and is made into a pulse by the one-shot circuit 14. Therefore, the value of the 30th counter is cleared every time the pixel information changes from the state with an object to the state with no object, and the value D3 is sent to the latch circuit 33 to adjust the length of the object-free area A5 that appears last. I will give it to you.

第40カウンタ24には、上記パルス814と、フリッ
プ・フロップ130セツト出力をパルス化するワンショ
ット回路15からの出力パルスS’sとかORゲート1
7を介して入力される。従って、このカウンタ24は、
絵素の状態が変化する回数、つまり領域AI 、Bl 
、A2・・・B4 、Asの数をカウントし、その値D
4をラッチ回路34に渡すことになる。
The 40th counter 24 receives the pulse 814, the output pulse S's from the one-shot circuit 15 that pulses the output of the flip-flop 130, and the OR gate 1.
7. Therefore, this counter 24 is
The number of times the state of the picture element changes, that is, the areas AI, Bl
, A2...B4, count the number of As, and calculate the value D
4 is passed to the latch circuit 34.

以上、本発明の上記回路構成によれは、イメージセンサ
の各走査の都度、mlのカウンタ21には紙葉の左端の
位置を示す領域A1の長さの値DI、第3のカウンタ2
3には紙葉の左端の位置を示す領域A5の長さの値D3
、第2のカウンタ22には紙葉無しの空間のトータル長
さを示す値D2、そして、第4のカウンタ24には紙葉
有無の変化回数を示す値D4がまる。
As described above, according to the circuit configuration of the present invention, each time the image sensor scans, the ml counter 21 contains the value DI of the length of the area A1 indicating the position of the left end of the sheet, and the third counter 2
3 is the length value D3 of area A5 indicating the position of the left edge of the paper sheet.
, the second counter 22 stores a value D2 indicating the total length of the space without paper sheets, and the fourth counter 24 stores a value D4 indicating the number of times the presence or absence of paper sheets changes.

これらの1直D1.D4をラッチ回路31〜34カら取
り込むことによって、データプロセッサでは、既知の値
であるイメージセンサの長さく絵素の総数)LとDl、
Daとから紙葉の幅11 = L −(Dl+D3)を
知ることができ、!’= 、D2− (Dt −4−D
a)により欠損領域の合計長さl′を、また、n = 
(D4−2 )/ 2により破損箇所の数nf求めるこ
とができる。また、DIとDaの値を比較することによ
り、紙葉の左右方向の偏位(紙葉の位置)も知ることが
できる従って、データプロセッサでは、イメージセンサ
3の走査サイクルの終了の都度、ラッチ回路に記憶され
ている数値データを取り込み、簡単な計算を施こすだけ
でX軸方向に沿った紙葉の状態判定データを算出でき、
その計算結果を次々と記憶しておくことにより、最終的
には紙葉の搬送方向(Y方向)に沿った状態判定も行な
うことができる尚、上記実施例では、第20カウンタで
物体無しの領域を計数したか、このカウンタで物体有り
の領域、を計数しても欠損部分の長さがまること明らか
であり、本発明は上記実施例以外の変形が可能である。
These 1 shift D1. By taking in D4 from the latch circuits 31 to 34, the data processor calculates the known values L and Dl of the image sensor (the total number of long picture elements),
From Da, we can know the width of the paper leaf 11 = L - (Dl + D3), ! '= , D2- (Dt -4-D
The total length l′ of the missing region is determined by a), and n =
The number nf of damaged parts can be determined by (D4-2)/2. Furthermore, by comparing the values of DI and Da, the horizontal deviation of the paper sheet (the position of the paper sheet) can also be known. Therefore, in the data processor, each time the scanning cycle of the image sensor 3 ends, By simply importing the numerical data stored in the circuit and performing simple calculations, it is possible to calculate the state judgment data of the paper sheet along the X-axis direction.
By storing the calculation results one after another, it is possible to finally determine the state of the sheet along the transport direction (Y direction).In the above embodiment, the 20th counter indicates that there is no object It is clear that the length of the missing portion can be reduced even if the area is counted or the area in which the object is present is counted by this counter, and the present invention can be modified other than the above-described embodiment.

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

以上の説明から明らかな如く、本発明によれば複数個の
カウンタを用い、イメージセンサ等の一次元センサの走
査の都度、これらのカウンタにセンサ視野の特定の状態
情報を計数動作させておくことにより、データプロセッ
サによる被検知物体の状態判定のための演算処理を大幅
に簡略化させたものであり、センサの走査周期を短縮し
て高速度で判定処理を実行できるという効果がある。
As is clear from the above description, according to the present invention, a plurality of counters are used and each time a one-dimensional sensor such as an image sensor scans, these counters are operated to count specific state information of the sensor field of view. This greatly simplifies the arithmetic processing performed by the data processor to determine the state of the detected object, and has the effect of shortening the sensor scanning period and executing the determination processing at high speed.

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

第1図(A)、(B)は−次元センサによる紙葉イメー
ジ入力についての説明図、第2図は本発明の1実施例を
示すイメージデータ処理回路のブロック図、第3図は上
記実施例回路の動作説明図である。 符号の説明 1・・・被検査対象となる紙葉 3・・・イメージセンサ 4・・・2値化回路 21〜24・・・カウンタ 31〜34・・・ラッチ回路
Figures 1 (A) and (B) are explanatory diagrams of paper image input by a -dimensional sensor, Figure 2 is a block diagram of an image data processing circuit showing one embodiment of the present invention, and Figure 3 is an illustration of the above implementation. FIG. 3 is an explanatory diagram of the operation of the example circuit. Explanation of symbols 1... Paper sheet to be inspected 3... Image sensor 4... Binarization circuits 21 to 24... Counters 31 to 34... Latch circuit

Claims (1)

【特許請求の範囲】 被検査物体の搬送路を横切って配置された1次元センサ
と、上記センサの絵素情報を順次に読み出すための走査
手段と、読み出された絵素情報を2値パルスに変換する
手段と、上記パルスを計数して被検知物体の一端の位置
を示す計数値を記憶する第10カウンタと、上記パルス
を計数して被検知物体の存在範囲若しくは不在範囲の総
寸法を示す計数値を記憶する第20カウンタと、上記パ
ルスを計数して被検知物体の他端位置を示す計数値を記
憶する第3のカウンタと、lサイクルのセンサ走査の都
度、上記各カウンタの値を取り込み、各計数値から所定
の。 判定演算を行なうデータプロセッサとからなる物体検査
装置。
[Scope of Claims] A one-dimensional sensor disposed across the conveyance path of the object to be inspected, a scanning means for sequentially reading out pixel information of the sensor, and a binary pulse for transmitting the read pixel information. a tenth counter that counts the pulses and stores a count value indicating the position of one end of the object to be detected; a third counter that counts the pulses and stores a count value that indicates the other end position of the detected object; and a third counter that counts the pulses and stores a count value that indicates the other end position of the detected object. from each count value. An object inspection device consisting of a data processor that performs judgment calculations.
JP58231314A 1983-12-09 1983-12-09 Object inspecting system Granted JPS60123753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58231314A JPS60123753A (en) 1983-12-09 1983-12-09 Object inspecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58231314A JPS60123753A (en) 1983-12-09 1983-12-09 Object inspecting system

Publications (2)

Publication Number Publication Date
JPS60123753A true JPS60123753A (en) 1985-07-02
JPH0246097B2 JPH0246097B2 (en) 1990-10-12

Family

ID=16921686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58231314A Granted JPS60123753A (en) 1983-12-09 1983-12-09 Object inspecting system

Country Status (1)

Country Link
JP (1) JPS60123753A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0585621U (en) * 1993-03-23 1993-11-19 川崎重工業株式会社 Bonding structure of resin molded parts

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0585621U (en) * 1993-03-23 1993-11-19 川崎重工業株式会社 Bonding structure of resin molded parts

Also Published As

Publication number Publication date
JPH0246097B2 (en) 1990-10-12

Similar Documents

Publication Publication Date Title
US5680472A (en) Apparatus and method for use in an automatic determination of paper currency denominations
NL8403323A (en) READING DEVICE FOR BAR CODES.
JP4222546B2 (en) Paper sheet identification apparatus and method
KR970009181A (en) Shading Correction Circuit and Method
JPS60123753A (en) Object inspecting system
JPS5848956B2 (en) Paper leaf identification device
AU596342B2 (en) Scannable document velocity detector
JP2000298101A (en) Detecting device for paper sheet
JPS5936051A (en) Bill hole detecting device
JPS5936052A (en) Bill corner bend detecting device
JPH0214244B2 (en)
JPS6036632B2 (en) Image discrimination device
JPS5896209A (en) Detector for skew of paper
JPH0555917B2 (en)
JPH0562942B2 (en)
JPS5994181A (en) Pattern recognizing device
JPS60215294A (en) Paper money discriminator
JPH01131968A (en) Stamp detector
JPS5887449A (en) Detector for break of paper
JPS59184994A (en) Dog-ear detector for sheet paper
JP2540829B2 (en) Image input device
JP2860739B2 (en) Paper sheet identification device
JPH07101465B2 (en) Paper sheet defect detector
JPH052243B2 (en)
JPS58114170A (en) Character reader