JPS6332667A - Object recognizing device - Google Patents

Object recognizing device

Info

Publication number
JPS6332667A
JPS6332667A JP61176231A JP17623186A JPS6332667A JP S6332667 A JPS6332667 A JP S6332667A JP 61176231 A JP61176231 A JP 61176231A JP 17623186 A JP17623186 A JP 17623186A JP S6332667 A JPS6332667 A JP S6332667A
Authority
JP
Japan
Prior art keywords
sample
hold
data
signal
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
Application number
JP61176231A
Other languages
Japanese (ja)
Inventor
Masaharu Watanabe
正治 渡辺
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.)
SHIGUMATSUKUSU KK
Sigmax Ltd
Original Assignee
SHIGUMATSUKUSU KK
Sigmax 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 SHIGUMATSUKUSU KK, Sigmax Ltd filed Critical SHIGUMATSUKUSU KK
Priority to JP61176231A priority Critical patent/JPS6332667A/en
Publication of JPS6332667A publication Critical patent/JPS6332667A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To stably recognize an object by setting evenly the sample holding output signals at a common control level in plural monitor areas for an object to be observed. CONSTITUTION:The video input signals VD received from plural monitor areas are samples held by main bodies SH1-16 of a sample holding circuit 23. Each of bodies SH1-16 has a simple constitution including a CR integration circuit, etc., and these bodies SH1-16 have variance of characteristics. Therefore the signals VD received from each monitor area of a standard object (master) are successively sampled held previously by the bodies SH1-16 and then fetched by a CPU via a gain control circuit GCON. Then the coefficient data PARA is calculated to that the each luminance data is equal to the fixed value and stored in a RAM. When the luminance data on each monitor area for the object to be observed is fetched by the CPU, the CPU feeds the corresponding data PARA back to the circuit GCON to control them at a common level. Thus the object is stably recognized.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は物体認識装置に関し、特にテレビジョンカメラ
を用いて認識すべき物体を撮像して得られるビデオ信号
に基づいて、物体の有無、物体の欠陥の有無などの物体
の状態を観測するようにしたものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an object recognition device, and in particular, detects the presence or absence of an object based on a video signal obtained by imaging an object to be recognized using a television camera. It is designed to observe the condition of objects, such as the presence or absence of defects.

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

本発明は、テレビジョンカメラを用いて被観測物体を撮
像して得られるビデオ信号に基づいて物体の状態を観測
するようになされた物体認識装置において、ビデオ信号
から形成したサンプルホールドビデオ信号の信号レベル
を共通の調整レベルに調整することにより、安定な物体
認識結果を得るようにしたものである。
The present invention relates to an object recognition device that observes the state of an object based on a video signal obtained by imaging an object to be observed using a television camera. By adjusting the level to a common adjustment level, stable object recognition results can be obtained.

〔従来の技術〕[Conventional technology]

この種の物体認識装置として、被観測物体をテレビジョ
ンカメラによって撮像して得られるビデオ信号のうち、
所定の監視領域に相当する信号部分の信号レベルに基づ
いて、当該信号レベルが所定の範囲内に入るか否かを判
定することによって、物体の有無又は物体の各部におけ
る欠陥の有無などを認識するようにしたものが提案され
ている(特願昭58−148243号)。
This type of object recognition device uses a video signal obtained by capturing an image of an observed object with a television camera.
Based on the signal level of a signal portion corresponding to a predetermined monitoring area, it is determined whether the signal level falls within a predetermined range, thereby recognizing the presence or absence of an object or the presence or absence of a defect in each part of the object. A method has been proposed (Japanese Patent Application No. 58-148243).

かかる構成の物体認識装置を用いて物体の有無、欠陥の
有無などを判定しようとする場合、−mに、テレビジョ
ンカメラが被観測物体を撮像したときに得られるビデオ
信号に基づいて撮像画面上の所定の位置に設定された監
視領域の輝度を、正常な外観をもった標準物体(これを
マスタと呼ぶ)をテレビジョンカメラが撮像したときの
撮像画面上の対応する監視領域の輝度と比較することに
よって、両者間に差異があれば被観測物体に異常がある
と判定するような方法が採用されている。
When attempting to determine the presence or absence of an object, the presence or absence of a defect, etc. using an object recognition device with such a configuration, -m is based on the video signal obtained when the television camera images the observed object. Compare the brightness of the monitoring area set at a predetermined position with the brightness of the corresponding monitoring area on the imaging screen when a standard object with a normal appearance (this is called the master) is imaged by the television camera. By doing so, a method is adopted in which if there is a difference between the two, it is determined that there is an abnormality in the observed object.

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

このような判定をしようとする場合、撮像画面上に任意
に設定された監視領域の輝度を表すデータを、例えばC
R積分回路構成のサンプルホールド回路などのように、
できるだけ簡易な構成を用いて監視領域の輝度データを
作成することができれば簡易な構成の物体認識装置を実
現し得ると考えられる。
When trying to make such a determination, data representing the brightness of a monitoring area arbitrarily set on the imaging screen is
Like a sample hold circuit with an R integrator circuit configuration,
It is considered that an object recognition device with a simple configuration can be realized if brightness data of a monitoring area can be created using a configuration as simple as possible.

ところがCR積分回路構成のサンプリングホールド回路
を用いて、監視領域の輝度データを得ようとする場合、
コンデンサC及び抵抗Rの値のばらつきや、経時変化、
リーク電流に関連したイビーダンスのばらつき等の影響
を受けやすいために、厳密に輝度データの大小関係を比
較しようとしても、これを実現し得ない問題がある。
However, when trying to obtain luminance data of a monitoring area using a sampling hold circuit configured as a CR integration circuit,
Variations in the values of capacitor C and resistor R, changes over time,
There is a problem in that even if it is attempted to strictly compare the magnitude relationship of luminance data, it cannot be achieved because it is easily affected by variations in ibedance related to leakage current.

□本廃明は以上の点を考慮してなされたもので、テレビ
ジョンカメラから得られるビデオ信号に基づいて、任意
に設定した複数の監視領域から輝度データを得るにつき
、掻く単純なCR積分回路構成のサンプリングホールド
回路を用いても、゛安定な判定動作を実現し得るように
した物体認識装置を提案しようとするものである。
□This proposal was made in consideration of the above points, and a simple CR integration circuit is used to obtain luminance data from multiple arbitrarily set monitoring areas based on video signals obtained from television cameras. The purpose of this paper is to propose an object recognition device that can achieve stable judgment operations even when using a sampling and holding circuit.

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

かかる問題点を解決するため本発明においては、被観測
i体14をテレビジョンカメラ15によって撮像して得
られるビデオ信号VDに基づいて規定される撮像画面の
うち、任意に設定された監視領域A1〜A16に対応す
るビデオ信号部分を、マスタの対応するビデオ信号部分
と比較することによって、当該監視領域A1〜A16に
ある被観測物体14の状態の正常又は異常を認識するよ
うになされた物体認識装置において、複数の監視領域A
1〜A16かち得られるビデオ信号成分をそれぞれサン
プルホールドする複数のサンプルホールド手段SHI〜
5H16と、この複数のサンプルホールド手段SHI〜
5H16からそれぞれ送出されるサシプルホールド出力
信号VD、−信号レベルを調整するi言分レベル調整手
段GCONと、各サンプルホールド手段SHI〜5H1
6から信号レベル調整手段GCONにサンプルホールド
出力信号VDsHが送出されたとき、当該サンプルホー
)5ド出力信号VD□の信号レベルを共通の信号レベル
に調整するための係数≠−タPARAを信号レベル調整
手段GCONに供給する係数データ供給手段22とを具
え、複数の監視領域A1〜A16についてのサンプルホ
ールド出力信号VDs。
In order to solve this problem, in the present invention, an arbitrarily set monitoring area A1 is provided in the imaging screen defined based on the video signal VD obtained by imaging the observed i-object 14 with the television camera 15. Object recognition configured to recognize whether the state of the observed object 14 in the monitoring area A1 to A16 is normal or abnormal by comparing the video signal portion corresponding to ~A16 with the corresponding video signal portion of the master. In the device, multiple monitoring areas A
A plurality of sample and hold means SHI that sample and hold video signal components obtained from 1 to A16, respectively;
5H16 and the plurality of sample hold means SHI~
i-word level adjustment means GCON which adjusts the signal level of the susceptible hold output signal VD and - signal sent out from 5H16, respectively, and each sample hold means SHI to 5H1.
When the sample hold output signal VDsH is sent from 6 to the signal level adjustment means GCON, the coefficient for adjusting the signal level of the sample hold output signal VD□ to the common signal level ≠ -ta PARA is set to the signal level. coefficient data supply means 22 for supplying to the adjustment means GCON sample-and-hold output signals VDs for a plurality of monitoring areas A1 to A16;

の信号レベルを共通の調整レベルに合わせるようにする
signal level to match the common adjustment level.

〔作用〕[Effect]

テレビジョンカメラ15から得られる入力ビデオ信号V
Dに基づいて規定される撮像画面には、複数の監視領域
A1〜A16が任意に設定され、各監視領域A1〜A1
6のタイミングで、サンプルホールド回路5)11−3
H16にビデオ信号がサンプルホールドされる。
Input video signal V obtained from television camera 15
A plurality of monitoring areas A1 to A16 are arbitrarily set on the imaging screen defined based on D, and each monitoring area A1 to A1
At the timing of 6, the sample hold circuit 5) 11-3
The video signal is sampled and held at H16.

各サンプルホールド回路SHI〜5H16は、簡易な構
成例えば極(単純なCR積分回路構成を有し、従ってそ
のサンプルホールドビデオ信号VD、□の信号レベルは
複数の監視点A1〜A113についてばらつきが生じて
いる。
Each sample-and-hold circuit SHI to 5H16 has a simple configuration, for example, a pole (simple CR integration circuit configuration), and therefore, the signal level of the sample-and-hold video signal VD, □ varies among the plurality of monitoring points A1 to A113. There is.

各サンプルホールド回路SHL〜5H16から順次サン
プルホールドビデオ信号VDsHが送出されたとき、信
号レベル調整手段GCONは係数データ供給手段22か
ら対応する係数データPARAが供給されることによっ
て当該信号レベル調整手段GCOHにおいて信号レベル
の調整を受け、かくして信号レベル調整手段GCONか
ら得られる輝度データの信号レベルは、すべてのサンプ
ルホールド手段SHI〜5H16について共通の調整レ
ベルに調整される。
When the sample-and-hold video signal VDsH is sequentially sent out from each sample-and-hold circuit SHL to 5H16, the signal level adjustment means GCON is supplied with the corresponding coefficient data PARA from the coefficient data supply means 22, so that the signal level adjustment means GCOH After the signal level is adjusted, the signal level of the luminance data obtained from the signal level adjustment means GCON is adjusted to a common adjustment level for all sample and hold means SHI to 5H16.

このようにしてサンプルホールド手段の構成それ自体は
掻く単純な構成のものを用いても、輝度データとしては
、各監視領域A1〜A16の輝度が同一であれば同一の
信号レベルになることにより、輝度データを互いに比較
する際にその比較結果は各監視領域の輝度の差を高い精
度で表していることになり、その結果安定な物体認識結
果を得ることができる。
In this way, even if the configuration of the sample and hold means itself is quite simple, the brightness data will be the same signal level if the brightness of each monitoring area A1 to A16 is the same. When the luminance data are compared with each other, the comparison result represents the difference in luminance of each monitoring area with high accuracy, and as a result, stable object recognition results can be obtained.

〔実施例〕〔Example〕

以下図面について本発明を、実装部品をマウントしたプ
リント基板の欠品検査装置に適用した場合の実施例につ
いて詳述する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to an out-of-stock inspection device for a printed circuit board on which mounted components are mounted will be described in detail below with reference to the drawings.

(1)全体の構成 第1図において、11は全体として物体認識装置を示し
、XYテーブルエ2上に載置されたプリント基Fila
上のマウント部品14をテレビジョンカメラ15によっ
て上方から撮像する。
(1) Overall configuration In FIG.
The upper mount component 14 is imaged from above by a television camera 15.

XY子テーブル2は、プリント基板13をX方向及びY
方向に移動することにより、プリント基板13の表面を
例えば4X4=16個の撮像領域に分割し、各分割↑最
像領域をテレビジョンカメラ15の視野に順次設定する
ことにより、16個の分割撮像領域についてのビデオ信
号VDを、ビデオデータ入力部16及びタイミング制御
部17に入力すると共に、モニタ部18に供給し得るよ
うになされている。
The XY child table 2 supports the printed circuit board 13 in the X direction and the Y direction.
By moving in the direction, the surface of the printed circuit board 13 is divided into, for example, 4×4=16 imaging areas, and by sequentially setting the most imaged area of each division in the field of view of the television camera 15, 16 divided imaging is performed. A video signal VD regarding the area is input to a video data input section 16 and a timing control section 17, and can also be supplied to a monitor section 18.

XY子テーブル2を駆動制御するXY子テーブルントロ
ーラ19は、実装部品14をマウントしたプリント基板
13の各分割撮像領域が、テレビジョンカメラ15の描
像位置に位置決めされるごとに、検査開始信号SIG+
、4をタイミング制御部17に与えるようになされてい
る。
The XY child table controller 19 that drives and controls the XY child table 2 receives an inspection start signal SIG+ every time each divided imaging area of the printed circuit board 13 on which the mounted component 14 is mounted is positioned at the imaging position of the television camera 15.
, 4 are given to the timing control section 17.

タイミング制御部17は、ビデオ信号VDのうち、水平
及び垂直同期信号に同期するクロック信号を発生し、当
該クロック信号をカウントしてビデオ信号VDの各ライ
ンについて所定の間隔の位置データを形成する。 そし
て検査開始信号31GINが発生したとき、タイミング
制御部17は、バス21を介して中央処理ユニット(C
PU)22から、マスタの対応するマウント部品につい
てのデータを読み出し、当該マウント部品の位置を表す
タイミングでサンプリングパルスSMPを発生してビデ
オデータ入力部16のサンプルホールド回路23に送出
する。
The timing control unit 17 generates a clock signal synchronized with the horizontal and vertical synchronizing signals of the video signal VD, counts the clock signal, and forms position data at predetermined intervals for each line of the video signal VD. When the inspection start signal 31GIN is generated, the timing control unit 17 controls the central processing unit (C
Data regarding the mount component corresponding to the master is read from the PU) 22, and a sampling pulse SMP is generated at a timing representing the position of the mount component and sent to the sample hold circuit 23 of the video data input section 16.

この実施例の場合、タイミング制御部17は、サンプリ
ングパルスSMPを送出するタイミングで、対応する監
視領域を表すマーカをカーソルと共にモニタ部18のモ
ニタの表示画面上に表示させることによって、オペレー
タに知らせるようになされている。
In the case of this embodiment, the timing control section 17 displays a marker representing the corresponding monitoring area together with a cursor on the display screen of the monitor section 18 at the timing of sending out the sampling pulse SMP to notify the operator. is being done.

CPU22は、16個の分割撮像領域についてそれぞれ
、16個の監視領域Ah A2・・・・・−Al6のデ
ータを取り込み得るように構成されており、これに対応
してサンプルホールド回路23は、第2図に示すように
、16個のサンプルホールド回路本体SHI、SH2・
・・・・・5H16を有する。
The CPU 22 is configured to be able to take in the data of the 16 monitoring areas Ah A2...-Al6 for each of the 16 divided imaging areas. As shown in Figure 2, the 16 sample and hold circuits SHI, SH2,
...has 5H16.

第2図において、サンプルホールド回路23は、入力ビ
デオ信号VDを、サンプリングパルスSMPによって順
次閉じる入力側スイッチ回路S W + l、SWI!
・・・・・・5WII&  (例えばアナログスイッチ
でなる)のオン動作によってサンプリングした後、出力
側スイッチ回路SWoい5Woz・・・・・・SWo、
In FIG. 2, the sample-and-hold circuit 23 sequentially closes the input video signal VD using sampling pulses SMP as input-side switch circuits S W + l, SWI!
・・・・・・After sampling by the ON operation of 5WII& (for example, an analog switch), the output side switch circuit SWo5Woz...SWo,
.

(同様にアナログスイッチでなる)によってサンプリン
グホールドしたサンプルホールドビデオ信号VD□を、
ゲイン調整回路GCONを介してアナログ/ディジタル
変換回路24(第1図)に順次送出し、かくして各監視
領域A1、A2・・・・・・A16の輝度データをバス
21を介してCPU22に送出するようになされている
(Similarly, it consists of an analog switch) Sample and hold video signal VD□
The luminance data of each monitoring area A1, A2, . It is done like this.

CPU22は、16個の分割撮像領域に含まれる監視領
域Al〜A16についてのデータを1ページのデータと
してRAM33のビデオデータレジスタ33C(第7図
)に順次格納して行き、1ペ一ジ分のデータが格納し終
わると、制御信号出力部35を介してXY子テーブルン
トローラ19に検査終了信号5IGoutを送出するこ
とによって、テレビジョンカメラ150逼像位置に次の
分割撮像領域を位置決めするように、XY子テーブル2
を駆動制御する。
The CPU 22 sequentially stores the data regarding the monitoring areas Al to A16 included in the 16 divided imaging areas as one page of data in the video data register 33C (FIG. 7) of the RAM 33, and stores the data for one page. When the data has been stored, an inspection end signal 5IGout is sent to the XY child table controller 19 via the control signal output unit 35, so that the next divided imaging area is positioned at the imaging position of the television camera 150. XY child table 2
to drive and control.

サンプルホールド回路本体SHI、SH2・・・・・・
5H16は、第3図に示すように、抵抗R及びコンデン
サCでなるCR積分回路を有し、入力側スイッチ回路5
WllSSWI□・・・・・・S W r I &が、
対応する監視領域A1、A2・・・・・・A16の面積
に相当するタイミングでオン動作することによって、入
力ビデオ信号VDを抵抗Rを通じてコンデンサCに積分
する。かくしてコンデンサCには対応する監視領域内の
輝度を全面積について積分した値に相当する電圧がホー
ルドされることになる。
Sample and hold circuit main body SHI, SH2...
5H16 has a CR integration circuit consisting of a resistor R and a capacitor C, as shown in FIG.
WllSSWI□・・・・・・S W r I &,
The input video signal VD is integrated into the capacitor C through the resistor R by turning on at a timing corresponding to the area of the corresponding monitoring areas A1, A2, . . . A16. In this way, a voltage corresponding to a value obtained by integrating the luminance within the corresponding monitoring region over the entire area is held in the capacitor C.

このコンデンサCのホールド電圧は、出力側スイッチ回
路S Wo+ 、 S Wo*−−S Wo+ aがC
PU22の制御の下に順次閉じたとき、サンプルホール
ドビデオ信号VDsgとしてゲイン調整回路GCONに
送出された後、リセットスイッチRSTが閉じることに
より放電され、これにより次のサンプリングホールド動
作を待ち受ける状態になる。
The hold voltage of this capacitor C is the output side switch circuit S Wo+ , S Wo*--S Wo+ a is C
When they are sequentially closed under the control of the PU 22, they are sent to the gain adjustment circuit GCON as the sample-and-hold video signal VDsg, and then are discharged by closing the reset switch RST, thereby entering a state awaiting the next sampling-and-hold operation.

CPU22は、ビデオデータ入力部16、タイミング制
御部17、モニタ部18を、操作スイッチ部31の操作
入力に応動して、ROM32のプログラムメモリに格納
されているプログラムに従って、必要に応じてRAM3
3のレジスタを利用しながら監視領域設定モード及び検
査モードにおけるデータの処理を実行し、当該処理結果
を必要に応じてプリンタ34に出力する。
The CPU 22 controls the video data input section 16, the timing control section 17, and the monitor section 18 in accordance with the program stored in the program memory of the ROM 32 in response to the operation input from the operation switch section 31, as necessary.
Data processing in the monitoring area setting mode and inspection mode is executed using the register No. 3, and the processing results are output to the printer 34 as necessary.

(2)ペア検査モード 以上の構成において、CPU22は、観測すべきマウン
ト部品14のうち、位置及び向きが規定されているマウ
ント部品(例えば電解コンデンサ、ダイオードなど)に
ついては、1つのマウント部品について一対の監視領域
M1及びM2を設定してこれら一対の監視領域M1及び
M2から取り込んだ輝度データに基づいて、物品の有無
及び向きを検査する(これをペア検査モードと呼ぶ)よ
うになされている。
(2) Pair inspection mode In the configuration above, the CPU 22 performs a pair test for each mount component (for example, an electrolytic capacitor, a diode, etc.) whose position and orientation are specified among the mount components 14 to be observed. Monitoring areas M1 and M2 are set, and the presence and orientation of the article is inspected based on the luminance data taken from the pair of monitoring areas M1 and M2 (this is called a pair inspection mode).

例えば第4図に示すように、配線パターンPTNl及び
PTN2間に、電解コンデンサCCNがマウントされて
いる場合には、一対の監視領域Ml及びM2を、電解コ
ンデンサCCNの映像上に、互いに対向するように設定
する。
For example, as shown in FIG. 4, when an electrolytic capacitor CCN is mounted between wiring patterns PTNl and PTN2, a pair of monitoring areas Ml and M2 are placed on the image of the electrolytic capacitor CCN so that they face each other. Set to .

ここで電解コンデンサCCNの容器(例えばアルミニウ
ムでなる)の上面には、負極側電極が設けられている位
置を表す、例えば黒色の負電掻標識部DIが、他部D2
と区別できるように、例えば着色剤によって塗り分けら
れている。そしてこの負電極標識部DI上に一方の監視
領域M1が設定されると共に、その境界D3を挟んで他
部D2上に、監視領域M2が形成される。ここで他部D
2は、アルミニウムの地色を呈し、かくしてビデオカメ
ラ15は、負電極標識部Dll内設設定れた監視領域M
lとして輝度が低いビデオ信号VDを発生するのに対し
て、他部D2に設定された監視領域M2として輝度が高
いビデオ信号VDを発生することになる。
Here, on the upper surface of the container (made of aluminum, for example) of the electrolytic capacitor CCN, there is, for example, a black negative electrode marking part DI indicating the position where the negative electrode is provided, and another part D2
For example, they are painted separately with a coloring agent so that they can be distinguished from each other. One monitoring region M1 is set on this negative electrode label portion DI, and a monitoring region M2 is formed on the other portion D2 across the boundary D3. Here other part D
2 exhibits the ground color of aluminum, and thus the video camera 15 is installed within the negative electrode marking portion Dll and monitors the monitoring area M.
1, a video signal VD with low brightness is generated, whereas a video signal VD with high brightness is generated as the monitoring area M2 set in the other portion D2.

これに対して第5図に示すように、マウント部品14が
ダイオードCDIのときには、負電極標識部DIには、
銀色の着色剤が塗られている。これによりテレビジョン
カメラ15は、負電極標識部D1の監視領域M1から高
い輝度のビデオ信号VDを発生するのに対して、容器の
地色を表してなる他部D2に対応する監視領域M2から
低い輝度のビデオ信号VDを得るようになされている。
On the other hand, as shown in FIG. 5, when the mount component 14 is a diode CDI, the negative electrode label DI has a
Painted with silver colorant. As a result, the television camera 15 generates a high-luminance video signal VD from the monitoring area M1 of the negative electrode labeling part D1, and from the monitoring area M2 corresponding to the other part D2 representing the ground color of the container. A video signal VD of low brightness is obtained.

かくしてCPU22は、マスタ上に第4図又は第5図に
示すような位置及び向きをもつ電解コンデンサCCN又
はダイオードCDIがマウントされているとき、当該マ
スタ上のマウント部品の監視領域Ml及びM2から輝度
データ13s+及びBatを得ると共に、被観測対象物
についても同様の輝度をもつ輝度データB□及びBTt
が監視領域M1及びM2から得られたときには、電解コ
ンデンサCCN又はダイオードCDIのマウント位置の
みならず、その向きが誤っていないことを第6図に示す
処理手順によって判断する。
Thus, when the electrolytic capacitor CCN or the diode CDI having the position and orientation shown in FIG. 4 or 5 is mounted on the master, the CPU 22 calculates the luminance from the monitoring areas Ml and M2 of the mounted components on the master. In addition to obtaining data 13s+ and Bat, brightness data B□ and BTt with similar brightness for the observed object
is obtained from the monitoring areas M1 and M2, it is determined by the processing procedure shown in FIG. 6 that not only the mounting position of the electrolytic capacitor CCN or diode CDI but also its orientation is correct.

すなわちCPU22は、まず監視領域設定モードMOD
EIのステップSPIにおいて、マスタでなるプリント
基板をXY子テーブル2上に載置して、マウントされて
いるマウント部品14のうち電解コンデンサCCN (
第4図)又はダイオードCDI(第5図)について、監
視領域M1及びM2を設定した後、ステップSP2に移
って電解コンデンサCCN又はダイオードCDI上の監
視領域M1及びM2における輝度を表すビデオ信号VD
をビデオデータ入力部16のサンプルホールド回路23
によってサンプルホールドした後、これをアナログ/デ
ィジタル変換回路24において輝度データB!I及びB
Stに変換してバス21を介してCPU22に取り込む
That is, the CPU 22 first selects the monitoring area setting mode MOD.
In step SPI of EI, the printed circuit board consisting of the master is placed on the XY child table 2, and the electrolytic capacitor CCN (
After setting the monitoring areas M1 and M2 for the electrolytic capacitor CCN or diode CDI (Fig. 4) or the diode CDI (Fig. 5), the process moves to step SP2, where the video signal VD represents the brightness in the monitoring areas M1 and M2 on the electrolytic capacitor CCN or diode CDI.
The sample hold circuit 23 of the video data input section 16
After sample-holding, this is converted into luminance data B! in the analog/digital conversion circuit 24. I and B
St and fetched into the CPU 22 via the bus 21.

このときCPU22はこの輝度データBS1及びBoを
RAM33(第7図)の評定データレジスタ33Dに格
納する。ここでRAM33に格納された輝度データB□
及びB。は、一対の監視領域M1及びM2のデータを一
組として読み出し得るように格納されている。
At this time, the CPU 22 stores the brightness data BS1 and Bo in the rating data register 33D of the RAM 33 (FIG. 7). Here, the brightness data B□ stored in the RAM 33
and B. are stored so that the data of the pair of monitoring areas M1 and M2 can be read out as a set.

かくして16個の分割撮像領域に含まれる向きをもつマ
ウント部品14についての16ペ一ジ分の評定データが
RAM33に格納され、かくして監視領域設定モードM
ODEIが終了する。
In this way, 16 pages worth of evaluation data for the mount parts 14 having orientations included in the 16 divided imaging areas are stored in the RAM 33, and thus the monitoring area setting mode M
ODEI ends.

次にCPU22は、検査モードのステップSP3に移る
。このステップSP3においてCPU22は、XY子テ
ーブル2上に検査対象となる被観測プリント基板が1枚
ずつ!3!iされたとき、その16個の分割撮像領域に
ついて監視領域M1及びM2における耀度データBア、
及びB7□を、テレビジョンカメラ15、サンプルホー
ルド回路23、アナログ/ディジタル変換回路24を介
し、さらにバス21を介して取り込んだ後、RAM33
のビデオデータレジスタ33C(第7図)に格納する。
Next, the CPU 22 moves to step SP3 of the inspection mode. In this step SP3, the CPU 22 selects one printed circuit board to be inspected on the XY child table 2! 3! i, the brightness data Ba in the monitoring areas M1 and M2 for the 16 divided imaging areas,
and B7□ through the television camera 15, sample hold circuit 23, analog/digital conversion circuit 24, and bus 21,
The data is stored in the video data register 33C (FIG. 7).

続いてCPU22は、ステップSP4に移って、上述の
ステップSP2においてRAM33の評定データレジス
タ33D(第7図)に取り込んだ一対の輝度データBS
+及びB。の関係が、13g+>B、stであるか否か
の判断をする。このステップS24において肯定結果が
得られれば、このことは、マスタにおける当該マウント
部品14として、第1に電解コンデンサCCNが第4図
とは逆向きにマウントされているか、又は第2にダイオ
ードCDIが第5図と同じ向きにマウントされているこ
とを意味している。
Next, the CPU 22 moves to step SP4, and stores the pair of brightness data BS imported into the rating data register 33D (FIG. 7) of the RAM 33 in step SP2 described above.
+ and B. It is determined whether the relationship is 13g+>B, st. If a positive result is obtained in this step S24, this means that firstly, the electrolytic capacitor CCN is mounted in the opposite direction to that in FIG. 4, or secondly, the diode CDI is mounted as the mounting component 14 in the master This means that it is mounted in the same direction as in Figure 5.

このときCPU22は次のステップSP5に移る。 こ
のステップSP5は、上述のステップSP3においてR
AM33のビデオデータレジスタ33C(第7図)に取
り込まれたデータBTI及びBoの関係が、Btl>B
ア2であるか否かの判断をするステップで、肯定結果が
得られれば、被観測対象プリント基板13の当該マウン
ト部品14の状態がマスタのマウント部品と同じである
ことを意味している。従ってCPU22は、被観測対象
の当該マウント部品は合格であると判断し、ステップS
P6において合格と判断した場合の処理を実行する。
At this time, the CPU 22 moves to the next step SP5. This step SP5 is performed by R in step SP3 described above.
The relationship between the data BTI and Bo taken into the video data register 33C (FIG. 7) of the AM33 is Btl>B.
If a positive result is obtained in the step of determining whether A2 is the case, it means that the state of the mount component 14 of the printed circuit board 13 to be observed is the same as that of the master mount component. Therefore, the CPU 22 determines that the mount component to be observed is acceptable, and in step S
Execute the process when it is determined to pass in P6.

その後CPU22は、続くステップSP7において評定
データレジスタ33Dに格納されている輝度データBs
+及びBszの値を新たな評定データに更新する。この
ステップSP7の処理は、輝度データB!l及びBSM
として、被観測対象プリント基板13から得られた輝度
データBTI及びB7□について、過去複数回の検査の
結果得られたデータの例えば単純平均を演算により求め
て新たな評定輝度デニタB3I及びB、!として評定デ
ータレジスタ33Dに格納し直すようにすることにより
、次の被観測対象プリント基板13を検査する際に、そ
の都度マスタからデータを取り込まずに、検査条件を経
時変化に応じて変更して行くことができるようになされ
ている。
Thereafter, the CPU 22, in the following step SP7, selects the brightness data Bs stored in the rating data register 33D.
+ and Bsz values are updated to new rating data. The processing in step SP7 is performed on the brightness data B! l and BSM
For the brightness data BTI and B7□ obtained from the printed circuit board 13 to be observed, for example, a simple average of the data obtained as a result of multiple inspections in the past is calculated, and a new rating brightness monitor B3I, B,! By storing the data in the evaluation data register 33D again, when inspecting the next printed circuit board 13 to be observed, the inspection conditions can be changed according to changes over time without having to import data from the master each time. Being able to go.

かかる処理が終了した後CPU22は、上述のステップ
SP3に戻って、次の被観測対象プリント基板13につ
いての輝度データB□及びB 、、(7)取込み処理を
実行することにより、再度上述の動作を繰り返す。
After completing this processing, the CPU 22 returns to step SP3 described above and executes the luminance data B □ and B , , (7) capture processing for the next observed printed circuit board 13, thereby performing the above-described operation again. repeat.

これに対して上述のステップSP5において否定結果が
得られると、このことは、被観測対象プリント基板13
から得た輝度データB7I及びByzの関係は、Bア、
〈B7□、又はBr+=Bt意であることをCPU22
が判定したことを意味する。かかる判定がされたことは
、第1に被観測対象プリント基板13上にマウントされ
ているマウント部品14がマスタにおける対応するマウ
ント部品の向きとは逆の向きにマウントされている(す
なわちBye<Btg)ことを表し、又は第2に欠品で
ある(すなわち背景に応じてBye<Btzs又はB1
.=B7りことを表し、又は第3に極性をもたない部品
が過ってマウントされていることを表している。
On the other hand, if a negative result is obtained in the above-mentioned step SP5, this means that the observed target printed circuit board 13
The relationship between the brightness data B7I and Byz obtained from Ba,
The CPU 22 indicates that <B7□ or Br+=Bt.
means that it has been determined. The reason for this determination is that firstly, the mount component 14 mounted on the observed target printed circuit board 13 is mounted in the opposite direction to the orientation of the corresponding mount component in the master (i.e., Bye<Btg ), or secondly, it is out of stock (i.e. Bye<Btzs or B1 depending on the background)
.. =B7 indicates that a component is incorrectly mounted, or thirdly, a non-polar component is incorrectly mounted.

このときCPU22はステップSP8に移って、当該被
観測対象プリント基板13が不合格であるとしてその処
理をした後、上述のステップSP3に戻る。
At this time, the CPU 22 moves to step SP8, determines that the observed target printed circuit board 13 has failed, and processes it, and then returns to step SP3 described above.

以上は上述のステップ、SF3において肯定結果が得ら
れたときの処理であるが、このステップSP4において
CPU22が否定結果を得たときには、マスタにおける
マウント部品として、第1に電解コンデンサCCNが第
4図と同じ向きにマウントされているか(すなわちBs
+<Bsz) 、又は第2にダイオードCDIが第5図
とは逆向きにマウントされているか(すなわちB s+
 < B sz) 、または第3に極性のないマウント
部品がマウントされているか(すなわちBs+−Bs□
)のいずれかの状態にあることを表している。
The above is the process when a positive result is obtained in the above-mentioned step SF3, but when the CPU 22 obtains a negative result in this step SP4, the electrolytic capacitor CCN is first mounted as a mounted component in the master as shown in FIG. Is it mounted in the same direction as (i.e. Bs
+<Bsz), or secondly, the diode CDI is mounted in the opposite direction to that in Figure 5 (i.e. Bs+
< B sz) or thirdly, whether a non-polar mount component is mounted (i.e. Bs+-Bs□
) indicates that it is in one of the following states.

このときCPU22は、ステップSP9に移って被観測
対象プリント基板13の輝度データB□及びBoの関係
が13t+<I3tgであるか否かの判断をする。
At this time, the CPU 22 proceeds to step SP9 and determines whether the relationship between the brightness data B□ and Bo of the printed circuit board 13 to be observed is 13t+<I3tg.

ここで肯定結果が得られれば、被観測対象プリント基板
13上の当該マウント部品の種類及び向きがマスタのマ
ウント部品と同一であることを表しており、従ってcp
U22は上述のステップSP6に移って被観測対象プリ
ント基板13の当該マウント部品が合格であるときの処
理を実行するような処理手順に入る。
If a positive result is obtained here, it means that the type and orientation of the mount component on the observed target printed circuit board 13 are the same as the master mount component, and therefore cp
U22 moves to the above-mentioned step SP6 and enters a processing procedure for executing the processing when the mount component of the printed circuit board 13 to be observed passes the test.

これに封してステップSP9において否定結果が得られ
ると、このことは、マスタについてのステップS、P 
4の判断とは相違する判断結果が被観測対象プリント基
板13について得られたことを意味する。すなわち、第
1にマスタには第4図と同じ向きの電解コンデンサCC
Nがマウントされていたのに対して被観測対象プリント
基板13には電解コンデンサCCNが逆向きにマンウド
されているか、又は第2にマスタには第5図とは逆向き
のダイオードCDIがマウントされていたのに対して被
観測対象プリント基板13には第5図と同じ向きのダイ
オードCDIがマウントされているか、 又は第3に被
観測対象プリント基板13に極性をもたないマウント部
品(すなわちB□−B Tりがマウントされているか、
又は第4に被観測対象プリント基板13から当該マウン
ト部品が脱落して欠品になっている(すなわちBye>
By□又はB〒、=Byz)のいずれか1つの不合格条
件があることを表している。
If a negative result is obtained in step SP9, this means that steps S and P regarding the master
This means that a judgment result different from the judgment No. 4 was obtained for the observed target printed circuit board 13. That is, first, the master has an electrolytic capacitor CC in the same direction as shown in Figure 4.
On the other hand, the electrolytic capacitor CCN is mounted in the reverse direction on the printed circuit board 13 to be observed, or secondly, the diode CDI is mounted on the master in the opposite direction to that shown in FIG. On the other hand, on the printed circuit board 13 to be observed, a diode CDI is mounted in the same direction as shown in FIG. □-B Is the T-mounted?
Or, fourthly, the mount component has fallen off from the observed printed circuit board 13 and is missing (that is, Bye>
This indicates that there is one failure condition: By□ or B〒,=Byz).

従ってCPU22はこのとき、上述のステップSP8に
移って、当該被観測対象プリント基板13を不合格処理
をする工程に入る。
Therefore, at this time, the CPU 22 moves to the above-mentioned step SP8, and enters the process of rejecting the observed target printed circuit board 13.

第6図に示すように、CPU22は、マスタ上のマウン
ト部品についての輝度データBSI及びBStと、これ
に対応する被観測対象プリント基板13上のマウント部
品の輝度データE3y+及びl3vzを比較判定するこ
とによって、被観測対象プリントm板13上のマウント
部品の有無のみならず、その向きがマスタのマウント部
品と一致するか否かの判定をペア検査モードにおいて確
実に実行し得る。
As shown in FIG. 6, the CPU 22 compares and determines the brightness data BSI and BSt for the mounted components on the master with the corresponding brightness data E3y+ and l3vz for the mounted components on the observed printed circuit board 13. Accordingly, in the pair inspection mode, it is possible to reliably determine not only whether there is a mounted component on the printed m-board 13 to be observed, but also whether or not its orientation matches that of the master mounted component.

(3)サンプルホールドビデオ信号のゲイン調整第6図
のステップSP2において、マスタのマウント部品のう
ち、ベア検査モードで検査をすべきマウント部品14の
輝度データBs1sBsz及びB7いBoを取り込む際
に、サンプルホールド回路23(第2図)のゲイン調整
回路GCONは、サンプルホールド回路SHI、SH2
・・・・・・5HI6からそれぞれ取り込まれるサンプ
ルホールドビデオ信号VDsnの信号レベルを、ゲイン
調整回路GCONにおいてCPU22からバス21を介
して供給される係数データPARAによってゲイン調整
することにより、監視N域Ml及びM2から取り込まれ
る輝度データBit及びE3sz間の大小関係と、13
’r+及び811間の大小関係とを実際のマスタ及び被
観測対象プリント基板13の状態に一致させるようにす
る。
(3) Gain adjustment of sample hold video signal At step SP2 in FIG. The gain adjustment circuit GCON of the hold circuit 23 (Fig. 2) is connected to the sample and hold circuits SHI and SH2.
. . . By adjusting the signal level of the sample hold video signal VDsn taken in from each of the 5HI6 in the gain adjustment circuit GCON using the coefficient data PARA supplied from the CPU 22 via the bus 21, the monitoring N area Ml and the magnitude relationship between the brightness data Bit taken in from M2 and E3sz, and 13
The magnitude relationship between 'r+ and 811 is made to match the actual state of the master and the printed circuit board 13 to be observed.

因に、サンプルホールド回路本体SHI〜5H16とし
て、第3図に示すような単純な構成のCR積分回路を使
用したとき、コンデンサCの値及び抵抗Rの値のバラツ
キ、経時変化や、ピーク電流に関連するインピーダンス
、又はアナログスイッチ回路構成のスイッチ回路S W
 r r〜5Wxh及びS W o +〜SWo+iの
スイッチング特性、又はその抵抗値にバラツキがあるた
め、監視領域A1〜A16から同じ輝度の被写体に基づ
く入力ビデオ信号VDをサンプルホールド回路本体SH
I〜5H16にサンプルホールドしたとしても、各サン
プルホールド回路本体5)11〜5H16から送出され
るサンプルホールドビデオ信号VD3Hの信号レベルが
互いに異なる値になるおそれがある。
Incidentally, when a CR integration circuit with a simple configuration as shown in Figure 3 is used as the sample and hold circuit main body SHI~5H16, variations in the value of capacitor C and the value of resistor R, changes over time, and peak current may occur. Associated impedance or analog switch circuit configuration switch circuit S W
Since there are variations in the switching characteristics of r r~5Wxh and SW o +~SWo+i or their resistance values, the input video signal VD based on the subject with the same brightness is sampled and held from the monitoring areas A1 to A16 to the sample and hold circuit main body SH.
Even if sample and hold is performed on I to 5H16, the signal levels of the sample and hold video signals VD3H sent out from each sample and hold circuit body 5) 11 to 5H16 may have different values.

そこで第2図の構成の場合には、監視領域Al〜A16
から同じ輝度の被写体に基づく入力ビデオ信号VDをそ
れぞれサンプルホールド回路本体SHI〜5H16に順
次サンプリングホールドした後、これをゲイン調整回路
GCONを介してアナログ/ディジタル変換回路24に
おいて輝度データに変換した後、CPU22に取り込み
、そのデータの値が、所定の値になるような係数データ
PARAをCPU22において演算して第6図の処理を
するに先立って、予めRAM33の係数データレジスタ
33Eに格納しておく。
Therefore, in the case of the configuration shown in FIG. 2, the monitoring areas Al to A16
After sequentially sampling and holding the input video signals VD based on objects with the same brightness from the sample and hold circuit bodies SHI to 5H16, this is converted into brightness data in the analog/digital conversion circuit 24 via the gain adjustment circuit GCON, and then The coefficient data PARA is fetched into the CPU 22 and is stored in the coefficient data register 33E of the RAM 33 in advance before the CPU 22 calculates the coefficient data PARA so that the value of the data becomes a predetermined value and performs the processing shown in FIG.

そして第6図の処理をする際に、監視領域A1〜A16
について、サンプルホールドビデオ信号VDssに基づ
く輝度データB31、BSZ又はBアいB?□をCPU
22に取り込むとき、CPU22が゛対応する係数デー
タPARAを係数データレジスタ33Eから読み出して
バス21を介してゲイン調整回路GCONにフィードバ
ックするようにする。
Then, when performing the processing in FIG. 6, the monitoring areas A1 to A16
Regarding the brightness data B31, BSZ or B?B based on the sample hold video signal VDss? □CPU
22, the CPU 22 reads out the corresponding coefficient data PARA from the coefficient data register 33E and feeds it back to the gain adjustment circuit GCON via the bus 21.

このようにすれば、RAM33の係数データレジスタ3
3Eには、サンプルホールド回路本体SH1、SH2・
・・・・・5H16周りの回路構成の差異に基づいてサ
ンプルホールドビデオ信号VDioに生ずるバラツキが
、係数データPARAとして予じめ取り込まれる。
By doing this, the coefficient data register 3 of the RAM 33
3E includes sample and hold circuit main bodies SH1, SH2,
... Variations that occur in the sample-and-hold video signal VDio based on differences in the circuit configuration around 5H16 are captured in advance as coefficient data PARA.

そしてCPU22は、サンプルホールド回路本体SHI
、SH2・・・・・・5H16から輝度データを取り込
む際に、対応する係数データPARAをRAM33の係
数データレジスタ33Eから読み出してゲイン調整回路
GCONに与えることにより、その出力端のビデオ信号
VDINの信号レベルを揃えることができる。
The CPU 22 then controls the sample and hold circuit main body SHI.
, SH2 . You can level up.

かくして第4図及び第5図のマウント部品上に設定した
一対の監視領域M1及びM2からそれぞれ取り込んだ輝
度データに基づいてその大小関係を比較する際に、サン
プルホールド回路本体SH1、SH2・・・・・・5H
16周りの回路構成の差異に基づいて誤った判定をする
おそれを有効に回避することができる。
Thus, when comparing the magnitude relationship based on the luminance data taken in from the pair of monitoring regions M1 and M2 set on the mount components shown in FIGS. 4 and 5, the sample and hold circuit bodies SH1, SH2, . . . ...5H
It is possible to effectively avoid the possibility of making an erroneous determination based on differences in circuit configurations around 16.

因に、監視領域M1及びM2について、マスタから得ら
れる輝度データB!I及びBSZの大小関係が、Bs+
<Bst(又はBs+>Bsz)のとき、被観測対象プ
リント基板13から得られる輝度データBTI及びBT
tの大小関係がB y+ < B rz (又はBTt
>Byz)のとき合格、逆のとき不合格の判定をする必
要がある。しかし輝度データB$いB。又はB、いB、
の信号レベルがサンプルホールド回路本体SHI、SH
2・・・・・・5H16周りの構成に基づいて変動する
と、判定結果が不安定になるおそれがある。
Incidentally, regarding the monitoring areas M1 and M2, the brightness data B! obtained from the master! The magnitude relationship between I and BSZ is Bs+
When <Bst (or Bs+>Bsz), brightness data BTI and BT obtained from the observed target printed circuit board 13
The magnitude relationship of t is B y+ < Brz (or BTt
> Byz), it is necessary to pass the test, and when the opposite is the case, it is judged to be a fail. However, the brightness data is B$. Or B, iB,
The signal level of the sample and hold circuit body SHI, SH
2...5 If it varies based on the configuration around H16, there is a risk that the determination result will become unstable.

上述の構成によれば、この問題を有効に解決し得る。According to the above configuration, this problem can be effectively solved.

(4)他の実施例 (a)  なお上述の実施例においては、係数データP
ARAによって、アナログ値でなるサンプルホールドビ
デオ信号VDsHの信号レベル(従ってゲイン)をアナ
ログ的に制御するように構成した実施例を述べたが、こ
れに代え、アナログ/ディジタル変換回路24において
ディジタル変換した後バス21を介してCPU22に取
り込んだ輝度データについて、係数データPARAを用
いて乗算演算することによってディジタルデータの値を
制御するようにしても、上述の場合と同様の効果を得る
ことができる。
(4) Other embodiments (a) In the above embodiment, the coefficient data P
Although an embodiment has been described in which the signal level (therefore, the gain) of the sample-and-hold video signal VDsH, which is an analog value, is controlled in an analog manner using ARA, instead of this, digital conversion is performed in the analog/digital conversion circuit 24. The same effect as described above can be obtained even if the value of the digital data is controlled by performing a multiplication operation on the luminance data taken into the CPU 22 via the rear bus 21 using the coefficient data PARA.

(bl  上述の実施例においては、評定データレジス
タ33Dのデータを更新する(第6図のステップSP?
)につき、輝度データB□及びBTtの過去複数回の単
純平均値を演算したが、これに限らず、重み付き平均値
を演算したり、総輝度を演算するようにしても、上述の
場合と同様の効果を得ることができる。
(bl In the above embodiment, the data in the rating data register 33D is updated (step SP? in FIG. 6).
), the past simple average value of the brightness data B A similar effect can be obtained.

(C)  上述の実施例においては、1つの被観測物体
に対して一対の監視領域M1及びM2を設定することに
より、当該被観測物体の有無及び向きを判定するように
したが、1つの被観測物体に設定する監視領域の数は一
対に限らず、必要に応じて3つ以上複数にしても上述の
場合と同様の効果を得ることができる。
(C) In the above embodiment, a pair of monitoring regions M1 and M2 are set for one observed object to determine the presence or absence and orientation of the observed object. The number of monitoring areas set for the observation object is not limited to one pair, and the same effect as described above can be obtained even if three or more monitoring areas are set as necessary.

(d)  上述の実施例においては、サンプルホールド
回路本体SHI〜5H16から得られるサンプルホール
ドビデオ信号VD、、の信号レベルを共通の調整レベル
に揃える構成をペア検査モードに適用するようにしたが
、本発明はこれに限らず、要はビデオ信号VDから輝度
データを取り込む際に広く適用し得、これにより高い安
定性をもちながら輝度データの評価をし得る。
(d) In the above-described embodiment, the configuration in which the signal levels of the sample-and-hold video signals VD, , obtained from the sample-and-hold circuit bodies SHI to 5H16 are aligned to a common adjustment level is applied to the pair test mode. The present invention is not limited to this, but can be broadly applied to capturing luminance data from a video signal VD, thereby making it possible to evaluate luminance data with high stability.

(e)  上述の実施例において、 輝度データB、い
aS2及びBアいBoの比較をする際に、許容範囲を設
けないようにした場合について述べたが、これに代え、
許容範囲を設けるようにしても良い。
(e) In the above embodiment, a case was described in which no tolerance range was set when comparing the luminance data B, iaS2, and BaiBo, but instead of this,
A permissible range may be provided.

すなわち、第6図の例えばステップSP9においてマス
タの輝度データ13t+及びE3ttの比較をする際に
、B□<B、□の判断をすることに代えて、13tt+
ΔくBア2(Δは許容範囲)であるか否かの判断をする
ようにしても良い、このようにすれば、マウント部品1
4のマウント状態が実用上許容できる程度に変化してい
るためにビデオ信号VDにおける輝度が僅かに変化した
ような場合に、実状に適合するように、合格又は不合格
の判定をすることができる。
That is, when comparing master luminance data 13t+ and E3tt in step SP9 in FIG. 6, instead of determining B□<B, □, 13tt+
It is also possible to judge whether or not ∆ is within the acceptable range (∆ is an acceptable range).
If the brightness of the video signal VD changes slightly because the mounting condition of item 4 has changed to a practically acceptable extent, it is possible to make a pass or fail judgment in accordance with the actual situation. .

(f)  上述の実施例においては、マスタに対して一
対の監視領域M1及びM2を設定する際に、当該設定が
適切であるか否かの判断をしないようにしたが、これに
代え、例えば第6図のステップsP4において、13s
t+Δ〉B38であるか、又はB、鳳−Δ>BStであ
るかの判断をすることにより、所定の許容範囲Δを考慮
するようにすると共に、−Δ< B sz −B□〈Δ
の条件が成り立つ場合には、設定が不適切であることを
判断するようにしても良い。
(f) In the above embodiment, when setting the pair of monitoring areas M1 and M2 for the master, it is not judged whether the settings are appropriate or not. In step sP4 of FIG. 6, 13s
By determining whether t+Δ>B38 or B, Otori-Δ>BSt, a predetermined tolerance range Δ is taken into consideration, and -Δ< B sz −B□<Δ
If the following conditions hold true, it may be determined that the settings are inappropriate.

因に、この条件が成り立つ場合には、一対の監視領域M
1及びM2における輝度BS1及び13stの差が不十
分であることを表している。従ってこのような場合には
、別途ブザー、表示器などの警報素子を用いてオペレー
タに知らせて、監視領域M1及び又はM2を設定し直し
たり、カメラの位置や照明の仕方などを調整し直したり
させるようにしても良い。
Incidentally, if this condition holds, the pair of monitoring areas M
This indicates that the difference between the brightness BS1 and 13st in BS1 and M2 is insufficient. Therefore, in such a case, the operator may be notified using a separate alarm device such as a buzzer or display, and the operator may be required to reset the monitoring areas M1 and/or M2, or adjust the camera position, lighting method, etc. You may also let them do so.

(g)  上述においては、本発明をプリント基板上に
実装された実装部品の有無などを検査する場合に適用し
た実施例を述べたが、本発明はこれに限らず、物品の状
態を検査する場合に広く適用し得る。
(g) In the above, an embodiment has been described in which the present invention is applied to inspecting the presence or absence of mounted components mounted on a printed circuit board, but the present invention is not limited to this, and can be applied to inspecting the condition of an article. Applicable to a wide range of cases.

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

上述のように本発明によれば、複数の監視領域からサン
プリングホールドしたサンプルホールドビデオ信号の信
号レベルを、複数の監視領域に共通の調整レベルに揃え
るように係数データによって調整するようにしたことに
より、極く単純な構成のサンプルホールド回路を用いて
も、判定誤差を増大させることなく、被観測物体の状態
を判定するための判定動作を一段と安定化することがで
きる。
As described above, according to the present invention, the signal level of the sample-and-hold video signal sampled and held from a plurality of monitoring areas is adjusted using coefficient data so as to be equal to a common adjustment level for the plurality of monitoring areas. Even if a sample and hold circuit with an extremely simple configuration is used, the determination operation for determining the state of the observed object can be further stabilized without increasing the determination error.

因に、部品の劣化又はバラツキに基づいて、同一輝度の
物体を撮像しているにもかかわらず、異なる信号レベル
の輝度データが入力される状態を放置すれば判定結果の
誤差が増大することを避は得ないが、本発明によればこ
の誤差の発生を、未然に防止し得る。
Incidentally, due to deterioration or variations in parts, it is important to note that if brightness data of different signal levels are input even though objects with the same brightness are being imaged, the error in the judgment results will increase. Although it is unavoidable, according to the present invention, this error can be prevented from occurring.

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

第1図は本発明による物体認識装置の一実施例を示すブ
ロック図、第2図はそのサンプルホールド回路の詳細構
成を示す接続図、第3図は第2図のサンプルホールド回
路本体のさらに詳細構成を示す接続図、第4図及び第5
図は検査すべきマウント部品を示す平面図、第6図は第
1図のCPU22によるベア検出モードにおける処理手
順を示すフローチャート、第7図は第1図のRAM33
の構成を示す路線図である。 11・・・・・・物体U2!!装置、12・・・・・・
XY子テーブル13・・・・・・プリント基板、14・
・・・・・マウント部品、15・・・・・・テレビジョ
ンカメラ、16・・・・・・ビデオデータ入力部、22
・・・・・・CPU、33・・・・・・RAM。 23・・・・・・サンプルホールド回路、24・・・・
・・アナログ/ディジタル変換回路、CCN・・・・・
・電解コンデンサ、CDI・・・・・・ダイオード、A
1〜A16、Ml、M2・・・・・・監視領域、Dl・
・・・・・負電極標識部、D2・・・・・・他部、PT
NISPTN2・・・・・・配線パターン、SH1〜5
H16・・・・・・サンプルホールド回路本体、GCN
・・・・・・ゲイン調整回路。
Fig. 1 is a block diagram showing an embodiment of the object recognition device according to the present invention, Fig. 2 is a connection diagram showing the detailed configuration of its sample and hold circuit, and Fig. 3 is a more detailed diagram of the sample and hold circuit shown in Fig. 2. Connection diagrams showing the configuration, Figures 4 and 5
The figure is a plan view showing the mounted parts to be inspected, FIG. 6 is a flowchart showing the processing procedure in the bare detection mode by the CPU 22 in FIG. 1, and FIG. 7 is the RAM 33 in FIG. 1.
It is a route map showing the structure of. 11...Object U2! ! Device, 12...
XY child table 13...Printed circuit board, 14.
... Mount parts, 15 ... Television camera, 16 ... Video data input section, 22
...CPU, 33...RAM. 23...Sample hold circuit, 24...
・・Analog/digital conversion circuit, CCN・・・・
・Electrolytic capacitor, CDI...Diode, A
1 to A16, Ml, M2...Monitoring area, Dl.
...Negative electrode label part, D2...Other parts, PT
NISPTN2...Wiring pattern, SH1~5
H16・・・Sample hold circuit main body, GCN
...Gain adjustment circuit.

Claims (2)

【特許請求の範囲】[Claims] (1)被観測物体をテレビジョンカメラによつて撮像し
て得られるビデオ信号に基づいて規定される撮像画面の
うち、任意に設定された監視領域に対応するビデオ信号
部分を、マスタの対応するビデオ信号部分と比較するこ
とによつて、当該監視領域にある上記被観測物体の状態
の正常又は異常を認識するようになされた物体認識装置
において、上記複数の監視領域から得られる上記ビデオ
信号成分をそれぞれサンプルホールドする複数のサンプ
ルホールド手段と、 上記複数のサンプルホールド手段からそれぞれ送出され
るサンプルホールド出力信号の信号レベルを調整する信
号レベル調整手段と、 上記各サンプルホールド手段から上記信号レベル調整手
段に上記サンプルホールド出力信号が送出されたとき、
当該サンプルホールド出力信号の信号レベルを共通の調
整レベルに調整するための係数データを上記信号レベル
調整手段に供給する係数データ供給手段と を具え、上記複数の監視領域についてのサンプルホール
ド出力信号の信号レベルを上記共通の調整レベルに合わ
せることを特徴とする物体認識装置。
(1) Of the imaging screen defined based on the video signal obtained by imaging the observed object with a television camera, the video signal portion corresponding to the arbitrarily set monitoring area is transferred to the corresponding master. The object recognition device is configured to recognize whether the state of the observed object in the monitoring area is normal or abnormal by comparing the video signal component with the video signal component obtained from the plurality of monitoring areas. a plurality of sample and hold means for respectively holding samples; a signal level adjustment means for adjusting the signal level of the sample and hold output signals respectively sent from the plurality of sample and hold means; and a signal level adjustment means for each of the sample and hold means. When the above sample hold output signal is sent out,
coefficient data supply means for supplying coefficient data for adjusting the signal level of the sample-hold output signal to a common adjustment level to the signal level adjustment means, the signal of the sample-hold output signal for the plurality of monitoring areas; An object recognition device characterized in that the level is adjusted to the common adjustment level.
(2)上記複数の監視領域の位置にほぼ同一輝度の物体
を置いて上記テレビジョンカメラにより撮像し、上記サ
ンプルホールド手段から得られるサンプルホールド出力
信号の信号レベルに基づいて上記係数データを上記係数
データ供給手段に取り込むようにしてなる特許請求の範
囲第1項に記載の物体認識装置。
(2) An object having approximately the same brightness is placed at the position of the plurality of monitoring areas and is imaged by the television camera, and the coefficient data is converted into the coefficient data based on the signal level of the sample hold output signal obtained from the sample hold means. The object recognition device according to claim 1, wherein the object recognition device is adapted to be input into a data supply means.
JP61176231A 1986-07-26 1986-07-26 Object recognizing device Pending JPS6332667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61176231A JPS6332667A (en) 1986-07-26 1986-07-26 Object recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61176231A JPS6332667A (en) 1986-07-26 1986-07-26 Object recognizing device

Publications (1)

Publication Number Publication Date
JPS6332667A true JPS6332667A (en) 1988-02-12

Family

ID=16009927

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61176231A Pending JPS6332667A (en) 1986-07-26 1986-07-26 Object recognizing device

Country Status (1)

Country Link
JP (1) JPS6332667A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49121446A (en) * 1973-03-19 1974-11-20
JPS60124170A (en) * 1983-12-09 1985-07-03 Canon Inc Picture reader

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49121446A (en) * 1973-03-19 1974-11-20
JPS60124170A (en) * 1983-12-09 1985-07-03 Canon Inc Picture reader

Similar Documents

Publication Publication Date Title
US20060041787A1 (en) Camera test system
US20070139532A1 (en) Digital camera, gain-computing device and method
CN108482956A (en) Conveying quality testing looks into system and conveying device
JPH04212524A (en) Semiconductor integrated circuit
US4349880A (en) Inspection system for detecting defects in regular patterns
US8363042B2 (en) Photon transfer curve test time reduction
JP2003298949A (en) Method for detecting flicker defect, video correction method, and solid-state image pickup apparatus
JP3227815B2 (en) Solid-state imaging device
JPH10221036A (en) Method and apparatus for automatically identifying kind of part
CN101118263A (en) Polar direction automatic detection method of polar element
JPS6332667A (en) Object recognizing device
JP2003102022A (en) Image device and imaging method
JP4305225B2 (en) Infrared image correction device
CN110225632A (en) Metalized lamp illumination automatic correcting method, device, storage medium and electronic equipment
JPS6332311A (en) Body recognizing device
KR830001829B1 (en) Inspection device for joint detection
JP2005219660A (en) In-vehicle electric component evaluation device
JPH0527704A (en) Display screen read system
JP2003185500A (en) Color-calibrating apparatus of image data, and color defect automatic detection apparatus
KR19990054121A (en) Camera automatic adjustment inspection device and method
JPH0619335B2 (en) Object recognition device
JP2701660B2 (en) Mounted component inspection data creation device
WO2020256165A1 (en) Signal receiving method, and signal receiving multimedia device
JPS6332668A (en) Object recognizing device
JPS59102106A (en) Inspecting system