JPS62188946A - Inspection apparatus for part packing circuit board - Google Patents

Inspection apparatus for part packing circuit board

Info

Publication number
JPS62188946A
JPS62188946A JP61023297A JP2329786A JPS62188946A JP S62188946 A JPS62188946 A JP S62188946A JP 61023297 A JP61023297 A JP 61023297A JP 2329786 A JP2329786 A JP 2329786A JP S62188946 A JPS62188946 A JP S62188946A
Authority
JP
Japan
Prior art keywords
circuit board
section
printed circuit
image
color
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
JP61023297A
Other languages
Japanese (ja)
Inventor
Shigeki Kobayashi
茂樹 小林
Shunji Utsunomiya
宇都宮 俊二
Yoshio Tateishi
立石 義雄
Shigeru Tanimura
茂 谷村
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP61023297A priority Critical patent/JPS62188946A/en
Publication of JPS62188946A publication Critical patent/JPS62188946A/en
Pending legal-status Critical Current

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)
  • Supply And Installment Of Electrical Components (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To obtain a color image of a circuit board without use of a costly color TV camera, by providing a plurality of cameras at a photographing section for taking different color images of the circuit board. CONSTITUTION:In the inspection mode, a control section 36 shifts parts of the apparatus to this mode and types or the like of feature parameters stored into a memory 34 are transferred to an image processing section 33 and a judging section 35. Then, when a reference printed circuit board 25-2 is placed on a table 24 at an X-Y table section 15, the control section 36 operates a chuck mechanism to fix the circuit board 25-2. Then, pulse motors 22 and 23 are controlled to determine the X- and Y-axis positions of the circuit board 25-2 while the brightness of a lighting device 30 and photographing conditions of monochromatic TV cameras 42 and 43 are adjusted. Then, the control section 36 makes the camera 42 and 43 take the circuit board 25-2 while allowing the image input section 32 to take in a GB primary color signal to generate a GB primary color image data.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発用は、部品が実装された被検査基板を撮像して得ら
れる像を処理して前記基板上の部品の有無1位置ずれ等
を検査する部品実装基板検査装置に関する。
Detailed Description of the Invention (Industrial Application Field) The present invention processes an image obtained by capturing an image of a board to be inspected on which components are mounted to determine the presence or absence of components on the board, positional deviation, etc. The present invention relates to a component mounting board inspection device for inspection.

(従来の技術) プリント基板に抵抗器や半轡体素子等の各種チップ部品
をマウントするときにおいて自動マウント装置を用いた
場合、マウンI・後においてマウントデータどうりに部
品がマウントされていないことがある。
(Prior art) When an automatic mounting device is used to mount various chip components such as resistors and half-body elements on a printed circuit board, the components may not be mounted according to the mount data after mounting. There is.

このため、このような自動マウント装置等を用いる場合
には、マウント後にプリント基板をチェックして、この
プリント基板上の正規の位置に正当なチップ部品が正し
い姿勢(位置、方向)でマウントされているかどうか、
また脱落がないかどうかを検査する必要がある。
Therefore, when using such automatic mounting equipment, the printed circuit board is checked after mounting to ensure that the correct chip components are mounted in the correct position and orientation (position and direction) on the printed circuit board. Whether there is
It is also necessary to inspect whether or not it has fallen off.

しかしこのような検査を従来と同じように人手による目
視検査で行なっていたのでは、検査ミスの発生を完全に
無くすことができず、また検査速度を高めることができ
ないという問題がある。
However, if such an inspection is performed by manual visual inspection as in the past, there are problems in that the occurrence of inspection errors cannot be completely eliminated and the inspection speed cannot be increased.

そこで、近年、この種の検査を自動的に行なうことがで
きるプリント基板の自動検査装置が各メーカから種々提
案されている。
Therefore, in recent years, various manufacturers have proposed various automatic inspection devices for printed circuit boards that can automatically perform this type of inspection.

第8図は、このような自動検査装置の一例を示すブロッ
ク図である。
FIG. 8 is a block diagram showing an example of such an automatic inspection device.

この図に示す自動検査装置は、部品1が実装された被検
査プリント基板2−2や検査基準となる基準プリント基
板2−1を撮像するカラーTV力メラ3と、このカラー
TVカメラ3によって撮像された前記基準プリント基板
2−1のカラー画像(基準カラー画像)を記憶する記憶
部4と、この記憶部4に記憶されている基準カラー画像
と前記カラーTVカメラ3から供給される前記被検査プ
リント基板2−2のカラー画像〈被検査カラー画像)と
を比較して前妃被検査プリン1へ基板2−2上に全ての
部品1が有るかどうか、またこれらの部品1が位置ずれ
等を起こしているかどうかを判定する判定回路5と、こ
の判定回路5の判定結果を表示する表示器6とを備えて
構成されている。
The automatic inspection device shown in this figure includes a color TV camera 3 that captures images of a printed circuit board 2-2 to be inspected on which a component 1 is mounted and a reference printed circuit board 2-1 that serves as an inspection standard; a storage unit 4 that stores a color image (reference color image) of the reference printed circuit board 2-1 that has been inspected; Compare the color image of the printed circuit board 2-2 (color image to be inspected) to check whether all the components 1 are present on the printed circuit board 2-2 and whether these components 1 are misaligned, etc. The device includes a determination circuit 5 that determines whether or not a problem is occurring, and a display 6 that displays the determination result of the determination circuit 5.

(発明が解決しようとする問題点) しかしながらこのような従来の自動検査装置においては
、高価なカラーTVカメラを必要とするため、装置自体
が高価になってしまうというという問題があった。
(Problems to be Solved by the Invention) However, such a conventional automatic inspection device requires an expensive color TV camera, so there is a problem that the device itself becomes expensive.

本発明は上記の事情に鑑み、高価なカラーTVカメラを
用いることなく、基板のカラー画像を得ることができ、
これによって装置自体の低コスト化を達成することがで
きる部品実装基板検査装置を提供することを目的として
いる。
In view of the above circumstances, the present invention makes it possible to obtain a color image of a substrate without using an expensive color TV camera.
It is an object of the present invention to provide a component-mounted board inspection device that can reduce the cost of the device itself.

(問題点を解決するための手段) 上記問題点を解決するため本発明による部品実装基板検
査装置においては、部品が実装された基板を撮像して得
られる複数色のカラー画像間に比較演算を施して前記基
板上の部品を検査する部品実装基板検査装置であって、
前記基板を撮像する撮像部に、相異なる色画像を照像す
る複数台の囮像機を設けたことを特徴としている。
(Means for Solving the Problems) In order to solve the above problems, the component mounting board inspection apparatus according to the present invention performs a comparison operation between multiple color images obtained by imaging a board on which components are mounted. A component mounting board inspection device for inspecting components on the board by applying
The present invention is characterized in that the imaging section for imaging the substrate is provided with a plurality of decoy imagers that illuminate images of different colors.

(実施例) まず、この発明の詳細な説明に先立って、この実施例で
用いられている部品の検査方法について説明する。
(Example) First, prior to a detailed description of the present invention, a component inspection method used in this example will be explained.

まず、一般的に色彩といわれている−しのtま色相と、
明度と、彩度とに区分される。
First, what is generally referred to as color is the hue.
It is classified into brightness and saturation.

そして、従来の検査方法のように被検査プリント基板を
カラーTVカメラによって撮影し、そのとき得られるR
原色信号、G原色信号、B原色信号のうちの1つ、例え
ばR原色信号のみを用いるものでは、背景素基板の色が
、例えば赤色領域のうちの1つの値を取る赤色であって
も、部品の色がこの赤色の明度と同じ明度の無彩色であ
れば、第6図に示すマンセル色票系から明らかなように
、これらが同じ明度になるので、例え部品の色が灰色(
白から黒までの明度のみの無彩色の1つ)をしていても
、カラーTVカメラが出力するR原色信号中の前記背象
素基板部分のレベルと1yl配部品部分のレベルとが同
一になり、これらを区別することができない。
Then, as in the conventional inspection method, the printed circuit board to be inspected is photographed using a color TV camera, and the R obtained at that time is
In the case where only one of the primary color signal, G primary color signal, and B primary color signal is used, for example, only the R primary color signal, even if the color of the background element substrate is red, which takes one value in the red region, for example, If the color of the part is an achromatic color with the same brightness as this red color, as is clear from the Munsell color chart shown in Figure 6, they will have the same brightness, so even if the color of the part is gray (
Even when using an achromatic color (one of the achromatic colors with only brightness from white to black), the level of the background elemental board part and the level of the 1yl wiring part in the R primary color signal output by the color TV camera are the same. Therefore, it is not possible to distinguish between them.

そこで、この実施例では、次に述べるようにして基板上
にマウントされた部品の色と素基板の色とが似ていても
、この程1品の有無9位置ずれ等を検出し得るようにし
ている。
Therefore, in this embodiment, as described below, even if the color of the component mounted on the board and the color of the base board are similar, it is possible to detect the presence or absence of one item9 positional shift, etc. ing.

まず、第7図に示すようにXYZ表色系をX−Y表示し
た色度図において、X−Y=にという関数を表わせば、
これはY軸(G原色信号に対応する軸)の値にの点を通
り、かつX軸(R原色信号に対応する軸)と45麿の角
度を持って、スペクトル軌跡13と交差づ−る直線にな
る。
First, in a chromaticity diagram in which the XYZ color system is expressed in X-Y as shown in Figure 7, if we express the function X-Y=, then
This passes through the point at the value of the Y axis (axis corresponding to the G primary color signal) and intersects the spectrum locus 13 at an angle of 45 mm with the X axis (axis corresponding to the R primary color signal). It becomes a straight line.

したがって、カラーTVカメラが出力でるR原色信号、
G原色信号、B原色信号のうち、R原色信号からG原色
信号を減算した信号、つまりR−Gの減算ビデオ信号を
求めて、これを定数Kによqて2IN化すれば、スペク
1〜ル軌跡13のうち前記X−Y=にという関数より上
にある部分と、下にある部分とをレベルKを中心として
2値化することができる。
Therefore, the R primary color signal output by the color TV camera,
By subtracting the G primary color signal from the R primary color signal of the G primary color signal and the B primary color signal, that is, the RG subtracted video signal, and converting this into 2IN using the constant K, the specs 1 to 1 are obtained. It is possible to binarize the portion of the curve locus 13 above and below the function X-Y= with the level K as the center.

すなわちこの実施例においては、刺激純度が適宜な値と
なる緑色に塗装された基板を用い、部品が緑色でなけれ
ば、これが無彩色であっても、R原色信号からG原色信
号を減算したR−Gの減筒ビデオ信号またはG原色信号
からR原色信号を減算したG−Rの減算ビデオ信号を用
いることにより、部品画像を抽出することができること
を利用している。
In other words, in this example, a board painted green with an appropriate stimulus purity is used, and if the component is not green, even if it is achromatic, the R signal obtained by subtracting the G primary color signal from the R primary color signal is used. This method takes advantage of the fact that a component image can be extracted by using a -G reduced tube video signal or a G-R subtracted video signal obtained by subtracting an R primary color signal from a G primary color signal.

同様な理由により、黄色系に塗装された基板に対してG
−8またはB−Gなる減算ビデオ信号を求めれば、黄色
系以外のいかなる色の部品についても選択抽出が可能で
あることがMi認されている。
For the same reason, G
It is recognized that if a subtracted video signal of -8 or BG is obtained, it is possible to selectively extract parts of any color other than yellow.

なお、これらの演算式以外の演算式によっても色彩の選
択識別が可能である。
Note that colors can be selectively identified using arithmetic expressions other than these arithmetic expressions.

そしてこの実施例においては、2台の搬像機(例えば、
モノクロTV)jメラやラインセンサなど)を用い、か
つこれらの搬像機のレンズ前面に相異なる光学フィルタ
を設けることによってカラーTVカメラを用いることな
く、基板のカラー画像を得るようにしている。
And in this embodiment, two image carriers (for example,
By using a monochrome TV (monochrome TV camera, line sensor, etc.) and providing different optical filters in front of the lens of these image carriers, it is possible to obtain a color image of the substrate without using a color TV camera.

次に、上述した部品検出方法を用いたこの発明による部
品実装基板検査装置について具体的に説明する。
Next, a component mounting board inspection apparatus according to the present invention using the above-described component detection method will be specifically described.

第1図は、この発明による部品実装基板検査装置の一実
施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a component mounting board inspection apparatus according to the present invention.

この図に示す部品実装基板検査装むは、G色(グリーン
色)の像を―徴するIl像機7と、8色(ブルー色)の
像をva像する搬像機8とによって黄色系に塗装され、
たプリント基板を撮像し、これによって得られるG原色
信号と、B原色信号とがらG−8の減算ビデオ信号(ま
たはB−Gの減算ビデオ信号)を求めて、黄色系以外の
いかなる色の部品について部品画像を抽出°できるよう
にしたものであり、X−Yテーブル部15と、起像部1
6と、処理部17と、判定結果出力部18と、情報入力
部19と、テーブルコントローラ2oと、撮像コント0
−ラ21とを備えて構成されている。
The component mounting board inspection equipment shown in this figure uses an Il imager 7 that produces a G (green) image, and an image carrier 8 that produces an 8-color (blue) image to produce a yellowish image. painted,
The G-8 subtracted video signal (or B-G subtracted video signal) is obtained from the G primary color signal and the B primary color signal obtained by imaging the printed circuit board. It is designed to be able to extract component images, and includes an X-Y table section 15 and an image forming section 1.
6, the processing unit 17, the determination result output unit 18, the information input unit 19, the table controller 2o, and the imaging control unit 0
- La 21.

X−Yテーブル部15は、テーブルコントローラ20に
よって制御される2つのパルスモータ22.23と、こ
れらの各パルスモータ22.23によってX軸方向およ
びY軸方向に駆動されるテーブル24と、このテーブル
部24上に載せられた基準プリント基板25−1や被検
査プリント基板25−2を固定するチャック機tIA2
6とを備えて構成されるものであり、前記テーブル24
上に載せられた基準プリント基板25−1 (また被検
査プリント基板25−2)は前記チャック機構26によ
って固定された後、前記各パルスモータ22.23によ
ってX軸方向およびY軸方向の位lが決められ、畷像部
16によってwt像される。
The X-Y table section 15 includes two pulse motors 22.23 controlled by a table controller 20, a table 24 driven in the X-axis direction and the Y-axis direction by each of these pulse motors 22.23, and this table. A chuck machine tIA2 that fixes the reference printed circuit board 25-1 and the printed circuit board to be inspected 25-2 placed on the section 24.
6, and the table 24
The reference printed circuit board 25-1 (also the printed circuit board to be inspected 25-2) placed thereon is fixed by the chuck mechanism 26, and then moved in the X-axis direction and the Y-axis direction by each of the pulse motors 22.23. is determined and converted into a wt image by the ridge image section 16.

この場合、基準プリント基板25−1は、第2図に示す
如く黄色に彩色された素基板27を備えており、この素
基板27上には黄色以外の色や無彩色の色をした部品2
8−1〜28−nが正しい位置で、かつ正しい姿勢で載
せらている。
In this case, the reference printed circuit board 25-1 includes a base board 27 colored yellow as shown in FIG.
8-1 to 28-n are placed in the correct position and in the correct posture.

また、前記被検査プリント基板25−2は、前記基準プ
リント基板25−1を構成する素基板27と同じく彩色
された素基板27上に前記基準プリン]・基板25−1
上の部品28−1〜28−〇と同じくなるように、部品
28−1〜28−nが配置された開度基板であり、検査
時において前記基準プリント基板25−1と比較され、
イの良否が判別される。
Further, the printed circuit board 25-2 to be inspected is mounted on a base board 27 colored in the same manner as the base board 27 constituting the reference printed circuit board 25-1.
It is an opening board in which parts 28-1 to 28-n are arranged so as to be the same as parts 28-1 to 28-0 above, and is compared with the reference printed board 25-1 during inspection,
It is determined whether the quality is good or bad.

また髭像部16は、前記X−Yテーブル部15の上方に
配置され、前記撮像コントローラ21が出力する制御信
号によってピント、倍率、感度等が制御される2つの撮
像117.8と、前記基準プリント基板25−1(また
は被検査プリント基板25−2)からの光を2つに分け
て前記11像機7゜8に各々供給する光分配器9と、前
記撮像コントローラ21が出力する制御信号によってそ
の明るさ等が制御される照明I置30とを備えて構成さ
れている。
The whisker image section 16 is arranged above the X-Y table section 15, and includes two images 117.8 whose focus, magnification, sensitivity, etc. are controlled by control signals output from the image pickup controller 21, and the reference image 117.8. a light splitter 9 which divides the light from the printed circuit board 25-1 (or the printed circuit board to be inspected 25-2) into two and supplies each to the 11 imagers 7.8; and a control signal outputted by the imaging controller 21. A lighting device 30 whose brightness, etc., is controlled by the lighting system.

この場合、光分配器9は前記基準プリント基板25−1
 (または被検査プリント基板25−2)からの像を透
過させて前記1111機7へ供給するハーフミラ−と、
このハーフミラ−によって反射された像を前記撮像81
8へ供給するミラーとを備えている。
In this case, the optical distributor 9 is the reference printed circuit board 25-1.
(or a half mirror that transmits the image from the printed circuit board 25-2 to be inspected) and supplies it to the 1111 aircraft 7;
The image reflected by this half mirror is captured in the image pickup 81.
8.

また、II像機7はモノクロTVカメラ42と、このモ
ノクロTVカメラ42のレンズ前面に設けられる0色フ
ィルタ44とを僑えており、前記光分配器9を介して供
給される基準プリント基板25−1(または被検査プリ
ント基板25−2>からの像からG色の両縁を抽出して
、これをG原色信号として前記処理部17へ供給する。
Further, the II imager 7 is equipped with a monochrome TV camera 42 and a 0-color filter 44 provided in front of the lens of the monochrome TV camera 42, and a reference printed circuit board 25- which is supplied via the light distributor 9. 1 (or the printed circuit board to be inspected 25-2>), and supplies this to the processing section 17 as a G primary color signal.

また、前記撮像IR8はモノクロTVカメラ43と、こ
のモノクロTVカメラ43のレンズ前面に設けられる8
色フィルタ45とを備えており、前記光分配器9を介し
て供給される基準プリント基板25−1または被検査プ
リン1〜基板25−2)からの像から8色の画像を抽出
して、これを8原色信号として前記処理部17へ供給す
る。
Further, the imaging IR 8 includes a monochrome TV camera 43 and an IR 8 provided in front of the lens of the monochrome TV camera 43.
It is equipped with a color filter 45, and extracts eight-color images from images from the reference printed circuit board 25-1 or the printed circuit board 1 to test board 25-2) supplied via the light distributor 9. This is supplied to the processing section 17 as eight primary color signals.

処理部17は、ティーチングモードのときに、前記胤像
部16から供給されるG原色(5号、B原色信号(前記
基へ(プリントアウト25−1のカラー画像)からG−
Bの減nビデA仏号を作成し、このG−Bの減わビデA
信月に基づいて部品28−1〜28−nの特徴パラメー
タ(基へ(パラメータ)を抽出して記憶し、検査モード
のときには、前記撮像部16から供給されるG原色信号
、B原色信号(前記被検査プリント基板25−2のカラ
ー画像)からG−8の減算ビデオ信号を作成し、このG
−Bの減算ビデオ信号に基づいて部品28−1〜28−
nの特徴パラメータ〈被検査パラメータ)を抽出した後
、この被検査パラメータと前記基準パラメータとを比較
して、この比較結果から前記被検査プリント基板25−
2の良否を判定でるものであり、画像入力部32と、画
像処理部33と、メモリ34と、判定部35と、制御部
36とを鍋えて構成されている。
In the teaching mode, the processing section 17 converts the G primary color signal (No. 5) and the B primary color signal (color image of the printout 25-1) supplied from the image section 16 to the G-
B's decrease n bidet A Buddhist name is created, and this G-B decreases bidet A
Characteristic parameters (parameters) of the parts 28-1 to 28-n are extracted and stored based on the Shingetsu, and in the inspection mode, the G primary color signal and B primary color signal ( A G-8 subtraction video signal is created from the color image of the printed circuit board 25-2 to be inspected, and this G-8 subtraction video signal is
- parts 28-1 to 28- based on the subtracted video signal of B.
After extracting n characteristic parameters (parameters to be inspected), this parameter to be inspected is compared with the reference parameter, and based on the comparison result, the printed circuit board to be inspected 25-
2, and is composed of an image input section 32, an image processing section 33, a memory 34, a judgment section 35, and a control section 36.

画像入力部32は、前記撮像部16から供給されたG原
色信号、B原色信号をA/D変換したり、各種の補正処
理(例えば、シェーディング補正など)をしたりして、
前記基準プリン1へ基板25−1(または、被検査プリ
ント基板25−2)のG3原色カラー画像データを作成
するものであり、ここで得られた前記基準プリント基板
25−1(または、被検査プリント基板25−2)に閉
覆るGB原色カラー画像データは前記制御部36などへ
供給される。
The image input section 32 performs A/D conversion on the G primary color signal and the B primary color signal supplied from the imaging section 16, performs various correction processes (for example, shading correction, etc.),
G3 primary color image data of the board 25-1 (or the printed circuit board to be inspected 25-2) is created for the reference printed circuit board 1, and the image data of the reference printed circuit board 25-1 (or the printed circuit board to be inspected) obtained here is The GB primary color image data covered on the printed circuit board 25-2) is supplied to the control section 36 and the like.

また、画像処理部33は前記I11御部36を介して供
給されるGBI1m色カラー画像データからG−Bの減
算ビデオ信号を作成するとともに、このG−Bの減算ビ
デオ信号をO〜256レベルに正規化して、部品28−
1〜28−nの色と、素基板27の色とを識別し、これ
ら部品28−1〜28−〇の特徴パラメータ(基準パラ
メータまたは被検査パラメータ)を抽出するものであり
、ここで得られた前記基準プリント基板25−1 (ま
たは、被検査プリント基板25−2)に関づる特徴パラ
メータは前記制御部36などへ供給される。
Further, the image processing section 33 creates a G-B subtraction video signal from the GBI 1m color image data supplied via the I11 control section 36, and converts this G-B subtraction video signal into levels O to 256. After normalization, part 28-
This method identifies the colors of parts 1 to 28-n and the color of the base substrate 27, and extracts the characteristic parameters (reference parameters or parameters to be inspected) of these parts 28-1 to 28-0. The characteristic parameters related to the reference printed circuit board 25-1 (or the inspected printed circuit board 25-2) are supplied to the control section 36 and the like.

この場合、特徴パラメータとしては、前記各部品28−
1〜28−nffiに設けられるウィンド(データの取
込み窓)によって前記G−Bの減算ビデオ信号を切り出
して得られた部品画像を処理手順どうりに処理して得ら
れる各画素の総加算値、この総加W値を前記画素の数で
割った平均値などのように、部品の有無0位置すれなど
を判定するのに必要なパラメータが用いられる。
In this case, the characteristic parameters include each of the parts 28-
A total sum value of each pixel obtained by processing the component image obtained by cutting out the G-B subtracted video signal using a window (data acquisition window) provided in 1 to 28-nffi according to the processing procedure, Parameters necessary to determine the presence or absence of a component, such as zero position deviation, are used, such as the average value obtained by dividing this total sum W value by the number of pixels.

また、メモリ34は前記制御部36から前記基準プリン
ト基板25−1上にある各部品28−1〜28−nに関
する特徴パラメータ(基準パラメータ)のファイルやウ
ィンド情報、処理手順ファイルなどを供給されたときに
、これを記憶するものであり、前記制t[1部28から
転送要求があったときに、これら基準パラメーター処理
手順ファイル等を前記判定部35や画像処理部33など
へ供給する。
Further, the memory 34 is supplied with files of characteristic parameters (reference parameters), window information, processing procedure files, etc. regarding each component 28-1 to 28-n on the reference printed circuit board 25-1 from the control unit 36. When there is a transfer request from the control unit 28, these reference parameter processing procedure files are supplied to the determination unit 35, image processing unit 33, etc.

判定部35は、検査モードのときに前記メモリ34が出
力する前記基準パラメータと、前記制御部36を介して
供給される画像処理部33で拐られた被検査パラメータ
とを比較して、前記被検査プリント基板25−2の部品
28−1〜28−nが説落しているかどうか、およびこ
れらの部品28−1〜28−nが姿勢ずれを起こしてい
るかどう、かなどを判定するものであり、この判定結果
は前記制御1部36などへ供給される。
The determination unit 35 compares the reference parameters outputted by the memory 34 in the inspection mode with the parameters to be inspected, which are supplied via the control unit 36 and are extracted by the image processing unit 33, and determines the parameters to be inspected. This is to determine whether the parts 28-1 to 28-n of the inspected printed circuit board 25-2 are defective or not, and whether these parts 28-1 to 28-n have misaligned positions. , this determination result is supplied to the control unit 36 and the like.

制御部36は前記画像入力部32と、画像処理部33と
、メモリ34と、判定部35とを制御してこれらをティ
ーチングモードで動作させたり、検査モードで動作させ
たりする。
The control section 36 controls the image input section 32, the image processing section 33, the memory 34, and the determination section 35 to operate them in a teaching mode or in an inspection mode.

また、判定結果出力部18はCRT (ブラウン管表示
器)やプリンタなどを備えて構成されるものであり、前
記制御部28から基準パラメータや被検査パラメータを
供給されたり、前記基準プリント基板25−1 (また
は、被検査プリント基板25−2)のGB原色カラー画
像データを供給されたり、判定結果を供給されたりした
ときに、これを表示したり、プリントアウトしたりする
Further, the judgment result output unit 18 is configured with a CRT (cathode ray tube display), a printer, etc., and is supplied with reference parameters and inspected parameters from the control unit 28, and outputs the reference printed circuit board 25-1. (or when the GB primary color image data of the printed circuit board 25-2 to be inspected) or the determination result is supplied, it is displayed or printed out.

また、情報入力部19は、基準プリント基板25−1の
種類(例えば、基板ナンバ等)およびこの基準プリント
基板16−1に載っている部品28−1〜28−nの種
類1位置、形状等に関するデータや処理手順等の操作情
報などを入力するためのキーボードやマウス、および入
力したデータや操作情報などをMl認するためのモニタ
、プリンタ等を備えて構成されるものであり、ここから
入力されたデータや操作情報などは制御部36へ供給さ
れる。
The information input unit 19 also inputs information such as the type of the reference printed circuit board 25-1 (for example, the board number, etc.), the type 1 position, shape, etc. of the components 28-1 to 28-n mounted on the reference printed circuit board 16-1. It is equipped with a keyboard and mouse for inputting data and operational information such as processing procedures, and a monitor, printer, etc. for checking the input data and operational information. The generated data, operation information, etc. are supplied to the control unit 36.

また、テーブルコントローラ20は前2制御部36と前
記X−Yテーブル部15とを接続するインターフェース
等を備えて構成されるものであり、前記X−Yテーブル
部15で得られたデータを前記制御部36へ供給したり
、前記制御部36から供給される制御信号に基づいて前
記X−Yテーブル部15を制御したりする。
Further, the table controller 20 is configured with an interface etc. that connects the front 2 control section 36 and the X-Y table section 15, and uses the data obtained from the X-Y table section 15 to control the 36, and controls the XY table section 15 based on the control signal supplied from the control section 36.

また、撮像コント0−ラ21は前記制御部36と前&!
蔵像部16とを接続するインターフェース等を備えて構
成されるものであり、前記制御部36から供給される制
御信号に基づいて前配賑像部16を制御する。
Further, the imaging controller 0-21 is connected to the control section 36 and the front &!
The front image storage unit 16 is configured to include an interface for connecting with the image storage unit 16, and controls the front image storage unit 16 based on control signals supplied from the control unit 36.

次に、この実施例の1llflをティーチングモードと
、検査モードとに分番プて説明する。
Next, 1llfl of this embodiment will be explained by dividing it into a teaching mode and an inspection mode.

まず、ティーチングモードにおいては、第3図(A)に
示すフローチャートのステップST1において、制御部
36が装置各部をティーチングモードにする。
First, in the teaching mode, in step ST1 of the flowchart shown in FIG. 3(A), the control unit 36 puts each part of the apparatus into the teaching mode.

次いで、制御部36はステップST2で前記情報入力部
19を介して入力される基準プリント基板25−1の種
類およびこの基準プリント基板25−1に載っている部
品28−1〜28−nの種類1位置、形状、処理手順等
に関するデータを取り込み、ステップST3でこれら位
置、形状等に関するデータに基づいて、各部品28−1
〜28−nのエツジに外接するウィンド40−1〜4O
−n(第4図参照)を作成し、これをウィンド情報とし
て前記基準プリント基板25−1の種類9部品28−1
〜28−nの種類、処逆手順客に関するデータと共にメ
モリ34に記憶させる。
Next, in step ST2, the control section 36 inputs the type of reference printed circuit board 25-1 and the types of components 28-1 to 28-n mounted on this reference printed circuit board 25-1 through the information input section 19. 1. Data regarding the position, shape, processing procedure, etc. are taken in, and in step ST3, each part 28-1 is
Winds 40-1 to 40 circumscribing edges of ~28-n
-n (see FIG. 4), and use this as window information for the type 9 component 28-1 of the reference printed circuit board 25-1.
~28-n are stored in the memory 34 together with data regarding the type, treatment procedure, and customer.

この後、X−Yテーブル部15のテーブル24上に基準
プリント基板25−1が載せられれば、制御部36はス
テップST4でチャック機IM26によってこの基準プ
リント基板25−1を固定させ、次いで各パルスモータ
22.23を制御して、基準プリント基板25−1のX
軸方向位置およびY軸方向位置を決めるとともに、照明
装置30の明るざおよびモノクロTVカメラ42.43
の層像条件を調整する。
After that, when the reference printed circuit board 25-1 is placed on the table 24 of the By controlling the motors 22 and 23, the X of the reference printed circuit board 25-1 is
In addition to determining the axial position and Y-axis position, the brightness of the lighting device 30 and the monochrome TV camera 42.43
Adjust the layer image conditions.

次いで、制御部36はステップST5で前記モノクロT
Vカメラ42.43によって基準プリント基板25−1
をamさUるとともに、これらのモノクDTVカメラ4
2.43によって得られた前記基準プリント基板25−
1のG原色信号、B原色信号を画像入力部32に取り込
ませてG3原色カラー画像データを作成させる。
Next, the control unit 36 controls the monochrome T in step ST5.
Reference printed circuit board 25-1 by V camera 42.43
As well as using these monochrome DTV cameras 4
The reference printed circuit board 25- obtained by 2.43
The G primary color signal and the B primary color signal of No. 1 are taken into the image input section 32 to create G3 primary color image data.

次いで、制御部36はステップST6で前記メtす34
から画像処理部33にウィンド情報、処理手順等に1!
Iするデータを転送させるとともに、前記画像人力^1
32で得られたGB原色カラー画像データを画像処理部
33に転送させて、前記ウィンド情報で示される各ウィ
ンド40−1〜4〇−「1を用いてGB[1’を色カラ
ー画像データから各部品28−1〜28−nのGB原色
カラー画像を各々切り出させて、カラーの部品像を抽出
させる。
Next, the control unit 36 controls the method 34 in step ST6.
1 to the image processing unit 33 for window information, processing procedures, etc.
In addition to transferring the data to I, the image human power^1
The GB primary color image data obtained in step 32 is transferred to the image processing unit 33, and GB[1' is processed from the color image data using each window 40-1 to 40-'1 indicated by the window information. The GB primary color image of each part 28-1 to 28-n is cut out to extract a color part image.

この後、制御部36はステップST7で画像処理部33
に、前記カラーの部品像を構成しているG原色信号から
8原色信号を減算させて、G−8の減算ビデオ信号を作
成させる。
After this, the control unit 36 controls the image processing unit 33 in step ST7.
Then, eight primary color signals are subtracted from the G primary color signal constituting the color component image to create a G-8 subtracted video signal.

次いで、制御部36はステップST8で前記処理手順に
基づいて前記画像処理部33に、前記G−Bの減力ビデ
オ信号中の部品28−1〜28−〇の色と、素基板27
の色とを識別させて、これら部品28−1〜28−nの
特徴パラメータ(基準パラメータ)を抽出させ、ステッ
プST9でこれら特徴パラメータの伯と、その種類とを
記したパラメータファイルを作成させて、これをメモリ
24に記憶させる。
Next, in step ST8, the control section 36 instructs the image processing section 33, based on the processing procedure, on the colors of the components 28-1 to 28-0 in the G-B reduced power video signal and the base substrate 27.
, and extract the characteristic parameters (reference parameters) of these parts 28-1 to 28-n, and in step ST9 create a parameter file in which the numbers of these characteristic parameters and their types are recorded. , this is stored in the memory 24.

また、検査ニードにおいては第3図(B)示すフローチ
ャートのステップST10において、制御部36が装置
各部を検査モードにし、この優、ステップST11でメ
モリ34に記憶されているパラメータファイル内にある
各特徴パラメータの種類と、処理手順に関づ−るデータ
と、ウィンド情報等を画像処理部33に転送させるとと
もに、前記パラメータファイル内にある各特徴パラメー
タの値を判定部35に転送させる。
In addition, in the case of an inspection need, in step ST10 of the flowchart shown in FIG. The type of parameter, data related to the processing procedure, window information, etc. are transferred to the image processing section 33, and the values of each characteristic parameter in the parameter file are transferred to the determination section 35.

次いで、X−Yテーブル部15のテーブル24上に基準
プリント基板25−2が載せられれば、制御部36はス
テップ5T12でチャックn構26によってこの基準プ
リント基板25−2を固定させ、次いで各パルスモータ
22.23を制御して、基準プリント基板25−2のX
軸方内位δおよびY軸方向位置を決めるとともに、照明
装置30の明るさおよびモノクロTVカメラ42.43
の撮像条■を調整する。
Next, when the reference printed circuit board 25-2 is placed on the table 24 of the X-Y table section 15, the control section 36 fixes the reference printed circuit board 25-2 with the chuck mechanism 26 in step 5T12, and then each pulse By controlling the motors 22 and 23, the X of the reference printed circuit board 25-2 is
In addition to determining the axial inner position δ and the Y-axis direction position, the brightness of the lighting device 30 and the monochrome TV camera 42.43
Adjust the imaging conditions.

次いで、制御部36はステップ5T13で前記モノクロ
TVカメラ42.43によって被検査プリント基板25
−2を撮像させるとともに、このモノクロTVカメラ4
2.43によって得られた前記被検査プリント基板25
−2のG原色信号。
Next, in step 5T13, the control unit 36 detects the printed circuit board 25 to be inspected using the monochrome TV camera 42, 43.
-2 and this monochrome TV camera 4.
The printed circuit board 25 to be inspected obtained by 2.43
-2 G primary color signal.

B原色信号を画像入力部32に取り込ませてG3原色カ
ラー画像データを作成させる。
The B primary color signal is taken into the image input section 32 to create G3 primary color image data.

次いで、制御部36はステップ5T14で前記画像入力
部32で得られたGB原色カラー画像データを画像処理
部33に転送させるとともに、ウィンド情報で示される
各ウィンド40−1〜40−nを用いてGB原色カラー
画像データから各部品28−1〜28−nのGB原色カ
ラー画像を各々切り出させて、部品のカラー画像を抽出
させる。
Next, in step 5T14, the control unit 36 causes the GB primary color image data obtained by the image input unit 32 to be transferred to the image processing unit 33, and uses each of the windows 40-1 to 40-n indicated by the window information. The GB primary color images of each of the parts 28-1 to 28-n are cut out from the GB primary color image data, and the color images of the parts are extracted.

この後、制御部36はステップ5T15で画像処理部3
3に、前記カラーの部品像を構成しているG原色信号か
らB原色信号を減算させて、G−Bの減nビデオ信号を
作成させる。
After this, the control unit 36 controls the image processing unit 3 in step 5T15.
3, the B primary color signal is subtracted from the G primary color signal constituting the color component image to create a G-B subtracted n video signal.

次いで、制御部36はステップS T 16で前記画像
処理部33に、前記G−Bの減粋ビデ′A仁号中の部品
28−1〜28−nの色と、素基板27の色とを識別さ
せるとともに、処理手順と、各特徴パラメータの種類と
に基づいてこれら部品28−1〜28−nの特徴パラメ
ータ(被検査パラメータ)を抽出させ、これを判定部3
5に供給させて、前記基準パラメータと比較させる。
Next, the control unit 36 instructs the image processing unit 33 in step S T 16 to determine the colors of the parts 28-1 to 28-n in the GB reduction bidet 'A' and the color of the base substrate 27. At the same time, the characteristic parameters (parameters to be inspected) of these parts 28-1 to 28-n are extracted based on the processing procedure and the type of each characteristic parameter.
5 and compared with the reference parameters.

そして、この比較結果から判定部35は、部品28−1
〜28−nが全て有るかどうか、また位置ずれ等を起し
ているかどうかをチェックし、このヂエツク結果を判定
結果出力部18に供給し、これを表示させたり、プリン
トアウトさせたりする。
Then, based on this comparison result, the determination unit 35 determines that the part 28-1
-28-n are all present and whether any positional deviations have occurred, and the check results are supplied to the judgment result output section 18, where they are displayed or printed out.

このようにこの実施例においては、2台のモノクロTV
カメラ42.43を用いているが、これらモノクロTV
カメラ42.43に代えて、第5図に示すように、2台
のラインセンサ42−2゜43−2を用い、ベル1〜コ
ンベア部716のベルト47上にある基準プリン1へ基
板25−1 (また被検査プリント基板25−2)を走
行させながらインラインで撮像するJ:うにしても良い
In this way, in this embodiment, two monochrome TVs
Cameras 42 and 43 are used, but these monochrome TVs
Instead of the cameras 42 and 43, as shown in FIG. 1 (also, the printed circuit board 25-2 to be inspected) may be imaged in-line while traveling.

このようにすれば、コンベアコントローラ718によっ
てベルトコンベア部46のパルスモータ49を間欠駆動
づるだGノで、解像度を可変Jることができるとともに
、モノクロTVカメラ42゜/13を用いるJ、りも[
自体を安く覆ることができる。
In this way, the resolution can be varied by intermittent driving of the pulse motor 49 of the belt conveyor section 46 by the conveyor controller 718, and the resolution can be varied by using the monochrome TV camera 42°/13. [
You can cover yourself cheaply.

また上述した各実施例においては、デジタル処理によっ
てG−Bの減算ビデオ信号を作成しているが、アナログ
処理によってG−8の減算ビデオ信号を作成するように
しても良い。
Further, in each of the embodiments described above, the G-B subtraction video signal is created by digital processing, but the G-8 subtraction video signal may be created by analog processing.

また上述した実施例においては、情報入力部19から部
品28−1〜28−nの位鮪、形状に関するデータを入
力するようにしているが、これらのデータは素基板が黒
に、部品28−1〜28−nが白に塗装されたティーチ
ング用の基板をモノクロTVカメラ42.431C像さ
せて入力するようにしても良い。
Further, in the above-described embodiment, data regarding the tuna and shape of the parts 28-1 to 28-n are inputted from the information input section 19, but these data are inputted when the base board is black and the part 28-n. 1 to 28-n may be input by using a monochrome TV camera 42.431C as an image of a teaching board painted white.

また上述した実施例においては、ティーチング時におい
て基準プリント基板25−1から特徴パラメータを直接
抽出するようにしているが、部品28−1〜28−nが
実装される前の素基板と、これらの部品28−1〜28
−〇が実装された基準プリント基板25−1とをモノク
ロTVカメラ42.43にWi像させて得られる各G−
8の減算ビデオ信号を比較しな、がら各部品28−1〜
28−n毎に有効な特徴パラメータを見出して、これを
抽出させるようにしても良い。
Furthermore, in the embodiment described above, the feature parameters are directly extracted from the reference printed circuit board 25-1 during teaching, but the bare board before the components 28-1 to 28-n are mounted and these Parts 28-1 to 28
- Each G- obtained by making a monochrome TV camera 42.43 a Wi image of the reference printed circuit board 25-1 on which 〇 is mounted.
While comparing the subtracted video signals of 8, each component 28-1~
28-n may be found and extracted.

この場合、各特徴パラメータの見出し処理を階層化構造
にして、各部品28−1〜28−n毎に有効な特徴パラ
メータが早く、かつ効率良く見つかるようにしても良い
In this case, the indexing process for each feature parameter may be performed in a hierarchical structure so that effective feature parameters can be quickly and efficiently found for each of the parts 28-1 to 28-n.

また上述した実施例においては、素基板27の色を黄色
にしているが、この素基板27上に塗布されるプリフラ
ックス、ハンダクリーム等に蛍光剤を況ぜたとぎには、
この蛍光剤が発する光の色と、各部品28−1〜28−
nの色とを識別できれば良いので、この場合に関しては
前記素基板27の色が伺であっても良い。
Further, in the above-mentioned embodiment, the color of the base substrate 27 is yellow, but when a fluorescent agent is added to the preflux, solder cream, etc. applied to the base substrate 27,
The color of the light emitted by this fluorescent agent and each part 28-1 to 28-
Since it is sufficient to be able to distinguish between the color of n and the color of n, in this case, the color of the base substrate 27 may be different.

また上述した実施例においては、素基板27の色を黄色
にしているが、部品28−1〜28−nを黄色にしても
良い。
Further, in the above embodiment, the base substrate 27 is yellow in color, but the components 28-1 to 28-n may be yellow.

また黄色に代えて、緑色を用いたとぎも同様な効果を得
ることかできる。
A similar effect can also be obtained by using green instead of yellow.

(発明の効果) 以上説明したように本発明によれば、高価なカラーTV
カメラを用いることなく、基板のカラー画像を得ること
ができ、これによって装置自体の低コスト化を達成する
ことができる。
(Effects of the Invention) As explained above, according to the present invention, an expensive color TV
A color image of the substrate can be obtained without using a camera, thereby reducing the cost of the device itself.

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

第1図はこの発明による部品実装基板検査装置の一実m
例を示すブロック図、第2図はこの実施例で用いられる
l t%l−プリン1〜基板の一例を示す平面図、第3
図(A)はこの実施例のティーチング動作例を示すフロ
ーチャート、第3図(B)はこの実施例の検査動作例を
示すフローチャート、第4図はこの実施例で用いられる
ウィンドの一例を示す模式図、第5図はこの発明による
部品実装基板検査装置の他の実施例を示すブロック図、
第6図は従来の部品検出原理を説明するために用いたマ
ンセル色相環の模式図、第7図はこの実施例の部品検出
原理を説明するために用いたX−Y表示の色度図、第8
図は従来の自動検査5AIffの一例を示すブロック図
である。 16・・・撮像部、17・・・処理部、25−1・・・
基準基板(基準プリント基板)、25−2・・・被検査
基板(被検査プリント基板)、27・・・素V板、28
−1〜28−n・・・部品。 y= kx 手続補正歯 昭和613月9日
Figure 1 shows an example of the component mounting board inspection device according to the present invention.
FIG. 2 is a block diagram showing an example, and FIG.
Figure (A) is a flowchart showing an example of a teaching operation in this embodiment, Figure 3 (B) is a flowchart showing an example of an inspection operation in this embodiment, and Figure 4 is a schematic diagram showing an example of a window used in this embodiment. 5 is a block diagram showing another embodiment of the component mounting board inspection device according to the present invention,
FIG. 6 is a schematic diagram of the Munsell color wheel used to explain the conventional component detection principle, and FIG. 7 is an X-Y chromaticity diagram used to explain the component detection principle of this embodiment. 8th
The figure is a block diagram showing an example of a conventional automatic inspection 5AIff. 16... Imaging unit, 17... Processing unit, 25-1...
Reference board (reference printed board), 25-2... Board to be inspected (printed board to be inspected), 27... Raw V board, 28
-1 to 28-n... parts. y= kx Procedural correction teeth March 9, 1982

Claims (1)

【特許請求の範囲】[Claims]  部品が実装された基板を撮像して得られる複数色のカ
ラー画像間に比較演算を施して前記基板上の部品を検査
する部品実装基板検査装置であつて、前記基板を撮像す
る撮像部に、相異なる色画像を撮像する複数台の撮像機
を設けたことを特徴とする部品実装基板検査装置。
A component mounting board inspection device that inspects components on the board by performing a comparison operation between multiple color images obtained by imaging a board on which components are mounted, the imaging unit for imaging the board; A component mounting board inspection device characterized by being provided with a plurality of imaging devices that take images of different colors.
JP61023297A 1986-02-05 1986-02-05 Inspection apparatus for part packing circuit board Pending JPS62188946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61023297A JPS62188946A (en) 1986-02-05 1986-02-05 Inspection apparatus for part packing circuit board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61023297A JPS62188946A (en) 1986-02-05 1986-02-05 Inspection apparatus for part packing circuit board

Publications (1)

Publication Number Publication Date
JPS62188946A true JPS62188946A (en) 1987-08-18

Family

ID=12106663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61023297A Pending JPS62188946A (en) 1986-02-05 1986-02-05 Inspection apparatus for part packing circuit board

Country Status (1)

Country Link
JP (1) JPS62188946A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5848431A (en) * 1981-09-16 1983-03-22 Toshiba Corp Detecting device for wire bonding state
JPS59109832A (en) * 1982-12-16 1984-06-25 Toppan Printing Co Ltd Examining device of printed matter
JPS60123978A (en) * 1983-12-08 1985-07-02 Kubota Ltd Chrominance signal separating device
JPS60169985A (en) * 1984-02-15 1985-09-03 Hitachi Ltd Color extracting device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5848431A (en) * 1981-09-16 1983-03-22 Toshiba Corp Detecting device for wire bonding state
JPS59109832A (en) * 1982-12-16 1984-06-25 Toppan Printing Co Ltd Examining device of printed matter
JPS60123978A (en) * 1983-12-08 1985-07-02 Kubota Ltd Chrominance signal separating device
JPS60169985A (en) * 1984-02-15 1985-09-03 Hitachi Ltd Color extracting device

Similar Documents

Publication Publication Date Title
WO2013048093A2 (en) Contactless component-inspecting apparatus and component-inspecting method
TWI590725B (en) Detecting device and detecting method of appearance of printed circuit board
US8358829B2 (en) System and a method for inspecting an object
JPS62180250A (en) Inspecting method for component package substrate
EP1808680A2 (en) Measuring method and apparatus using color images
JP2782759B2 (en) Solder appearance inspection device
JPH11234706A (en) Adjustment device for video image of television camera
JPS62188946A (en) Inspection apparatus for part packing circuit board
JP2002122794A (en) Light source section or electronic endoscope
JPS62194444A (en) Apparatus for inspecting parts mounting board
JP2000004079A (en) Solder inspection equipment
KR19990018136A (en) Color quality inspection method and device
JPH06160035A (en) Substrate inspection device
JPS62190450A (en) Inspecting device for parts-mounted board
JP3289070B2 (en) Mounted parts inspection device
JPS62188947A (en) Inspection apparatus for part packaging circuit board
JPS62190449A (en) Inspecting device for parts-mounted board
JPH0526815A (en) Method for teaching mounted parts inspection data
WO2016093597A9 (en) Method for inspecting terminal of component formed on substrate and substrate inspection apparatus
JPS62207938A (en) Inspecting method for parts mounting substrate
JPH06258244A (en) Instruction method of mounting part inspection data
JP2790557B2 (en) Inspection data teaching method and mounting board inspection apparatus using this method
JP3035574B2 (en) Teaching method of mounted component inspection device
JPH06235699A (en) Inspection method for mounted component
JP2007149873A (en) Inspection machine and mounting substrate inspection method