JPH0774730B2 - Appearance inspection method for soldered parts - Google Patents
Appearance inspection method for soldered partsInfo
- Publication number
- JPH0774730B2 JPH0774730B2 JP1208325A JP20832589A JPH0774730B2 JP H0774730 B2 JPH0774730 B2 JP H0774730B2 JP 1208325 A JP1208325 A JP 1208325A JP 20832589 A JP20832589 A JP 20832589A JP H0774730 B2 JPH0774730 B2 JP H0774730B2
- Authority
- JP
- Japan
- Prior art keywords
- component
- soldered
- search line
- height
- soldering
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000007689 inspection Methods 0.000 title claims description 51
- 238000000034 method Methods 0.000 title claims description 38
- 238000005476 soldering Methods 0.000 claims description 81
- 229910000679 solder Inorganic materials 0.000 claims description 20
- 238000011179 visual inspection Methods 0.000 claims 1
- 230000002950 deficient Effects 0.000 description 11
- 238000005259 measurement Methods 0.000 description 10
- 238000009736 wetting Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000000630 rising effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Image Processing (AREA)
- Electric Connection Of Electric Components To Printed Circuits (AREA)
- Image Analysis (AREA)
Description
本発明は、印刷配線基板上に半田付けにより実装された
部品の半田付け状態を外観により検査する半田付け部品
の外観検査方法に関するものである。The present invention relates to a method of inspecting the appearance of a soldered component for visually inspecting the soldering state of a component mounted on a printed wiring board by soldering.
従来より、印刷配線基板上に半田付けにより実装された
部品の半田付け状態を検査する方法として、半田付け部
品を照射する光源を設け、半田付け部品での反射光をIT
Vカメラで検出することにより、半田付け部品の外観を
検査して半田付け状態の良否を判定する方法が知られて
いる(特開昭61−235067号公報、特開昭62−123794号公
報等参照)。 この検査方法では、実装された部品の半田付け部からの
反射光量を測定し、部品の端部を決定した後、半田付け
状態や部品の実装状態の良否を判定するようになってい
る。Conventionally, as a method of inspecting the soldering state of components mounted by soldering on a printed wiring board, a light source that irradiates the soldered components is provided and the reflected light from the soldered components is
A method is known in which the appearance of soldered parts is inspected by detecting with a V camera to judge the quality of the soldered state (JP-A-61-235067, JP-A-62-123794, etc.). reference). In this inspection method, the amount of reflected light from the soldered portion of the mounted component is measured, the end of the component is determined, and then the quality of the soldered state or the mounted state of the component is determined.
上記方法によると、半田付け状態によって反射光量や反
射方向が変化するから、部品の端部の位置を精度よく決
定できないものであり、その後の良否判定が不正確にな
るという問題があった。 本発明は上記問題点を解決することを目的とするもので
あり、印刷配線基板上に半田付けにより実装された部品
の3次元計測値に基づいて部品の端部を決定することに
より、良否判定等が正確に行えるようにした半田付け部
品の外観検査方法を提供しようとするものである。According to the above method, since the amount of reflected light and the direction of reflection change depending on the soldering state, it is not possible to accurately determine the position of the end portion of the component, and there is a problem that subsequent quality determination becomes inaccurate. An object of the present invention is to solve the above-mentioned problems, and by determining the end of the component based on the three-dimensional measurement value of the component mounted by soldering on the printed wiring board, it is possible to determine the quality. It is intended to provide a method for inspecting the appearance of a soldered component, which can accurately perform the above.
上記目的を達成するために、請求項1の方法では、印刷
配線基板上に半田付けにより実装された部品を3次元計
測し、部品において半田付け部分に隣合う側縁に沿う方
向で側縁の近傍に部品の内側と外側とでそれぞれ探索線
を設定し、各探索線上で所定間隔毎に印刷配線基板の表
面からの高さの差分を求め、差分の絶対値が所定値以上
となる位置を部品の端縁として検出した後、求めた端縁
を基準として半田付け部分を含む規定の大きさの検査ウ
インドウを設定し、検査ウインドウ内の各部位の高さか
ら求めた半田付け部分の形状や半田量に基づいて半田付
け状態の良否を判定しているのである。 また、請求項2の方法では、印刷配線基板上に半田付け
により実装された部品を3次元計測し、部品において半
田付け部分に隣合う側縁に交差する方向の複数本の探索
線を設定し、各探索線の上で所定間隔毎に印刷配線基板
の表面からの高さの差分を求め、部品を通る探索線上で
の差分と半田付け部分を通る探索線上での差分との相違
を利用して部品上を通る探索線のうち部品の端縁にもっ
とも近い探索線を求めた後、求めた探索線を基準として
半田付け部分を含む規定の大きさの検査ウインドウを設
定し、検査ウインドウ内の各部位の高さから求めた半田
付け部分の形状や半田量に基づいて半田付け状態の良否
を判定している。 さらに、請求項3の方法では、印刷配線基板上に半田付
けにより実装された部品を3次元計測し、部品において
半田付け部分に隣合う側縁に沿う方向に部品の中心から
探索線を設定し、探索線上での印刷配線基板の表面から
の高さと高さの変化率とに基づいて半田付け部分の形状
を分類した後、分類された各形状ごとに半田付け状態の
良否を判定している。 請求項4の方法では、印刷配線基板上に半田付けにより
表面実装されたリード付きの部品を3次元計測し、リー
ドの突出方向に交差する方向に設定した第1の探索線の
上で高さを所定の闘値で2値化することによりリードの
位置を検出した後、検出したリードの上にリードの突出
方向に第2の探索線を設定し、第2の探索線の上で所定
間隔毎に印刷配線基板の表面からの高さの差分を求め、
求めた差分の変化傾向に基づいて半田付け状態の良否を
判定しているのである。In order to achieve the above object, in the method of claim 1, a component mounted by soldering on a printed wiring board is three-dimensionally measured, and a side edge is formed in a direction along a side edge adjacent to a soldered portion in the component. Search lines are set near the inside and outside of the part respectively, and the height difference from the surface of the printed wiring board is calculated at predetermined intervals on each search line, and the position where the absolute value of the difference is greater than or equal to the predetermined value is set. After detecting as the edge of the part, set the inspection window of the specified size including the soldered portion based on the obtained edge, and determine the shape of the soldered portion obtained from the height of each part in the inspection window. The quality of the soldered state is determined based on the amount of solder. According to the method of claim 2, the component mounted by soldering on the printed wiring board is three-dimensionally measured, and a plurality of search lines in the direction intersecting with the side edge adjacent to the soldered portion of the component are set. , The height difference from the surface of the printed wiring board is obtained at predetermined intervals on each search line, and the difference between the difference on the search line passing through the part and the difference on the search line passing through the soldering part is used. After finding the search line that is closest to the edge of the part among the search lines that pass over the part, set the specified size of the inspection window including the soldered part based on the found search line, The quality of the soldering state is determined based on the shape of the soldered portion and the amount of solder obtained from the height of each portion. Further, according to the method of claim 3, the component mounted by soldering on the printed wiring board is three-dimensionally measured, and the search line is set from the center of the component in the direction along the side edge adjacent to the soldered portion of the component. , After classifying the shape of the soldering portion based on the height from the surface of the printed wiring board on the search line and the rate of change of the height, the quality of the soldering state is determined for each classified shape. . According to the method of claim 4, the leaded component, which is surface-mounted by soldering on the printed wiring board, is three-dimensionally measured, and the height is set on the first search line which is set in the direction intersecting with the protruding direction of the lead. After the position of the lead is detected by binarizing the lead with a predetermined threshold value, a second search line is set on the detected lead in the protruding direction of the lead, and a predetermined interval is set on the second search line. Obtain the difference in height from the surface of the printed wiring board for each
The quality of the soldering state is determined based on the calculated change tendency of the difference.
請求項1の方法によれば、印刷配線基板上に半田付けに
より実装された部品を3次元計測し、3次元計測値に基
づいて部品の端縁を決定しているから、部品に対して半
田付け部分を識別することができ、部品の実装状態や半
田付け状態を精度よく検査することができるのである。
また、部品において半田付け部分に隣合う側縁に沿う方
向で側縁の近傍に部品の内側と外側とでそれぞれ探索線
を設定し、各探索線上での印刷配線基板の表面からの高
さの変化に基づいて部品の端縁を検出するから、半田付
け部分が部品の幅より広い場合や狭い場合でも部品の端
縁を検出することができるのである。請求項1の方法
は、半田付け部分が部品の幅よりも広い場合にとくに有
効であって、その理由を以下に説明する。すなわち、半
田付け部分が部品の幅よりも広く半田が多量に使用され
た場合(後述する第7図のような場合)、印刷配線基板
の表面に沿った面内において部品の端縁の近傍では大き
な脹らみが生じ、部品を通る探索線の上での高さの変化
のみを用いても部品の端縁を決定できない。そこで、請
求項1の方法では、部品の内側と外側とに探索線を設定
することによって、どちらかの探索線の上で部品の端縁
を決定できるようにしているのである。このように、部
品に対する設定条件の異なる2本の探索線を用いること
により、部品の端縁を正確に決定できる確率が高くなる
のである。 請求項2の方法によれば、部品において半田付け部分に
隣合う側縁に交差する方向の複数本の探索線を設定し、
部品を通る探索線上と半田付け部分を通る探索線上とで
の高さの差分の相違に基づいて部品の端縁の位置を検出
するから、半田付け部分の形状がどのような形状であっ
ても部品の端縁を正確に検出することができる。 請求項3の方法では、部品において半田付け部分に隣合
う側縁に沿う方向に部品の中心から探索線を設定し、探
索線上での印刷配線基板の表面からの高さと高さの変化
率とに基づいて半田付け部分の形状を分類した後、分類
された各形状ごとに半田付け状態の良否を判定している
ので、あらかじめ良品とみなせる半田付け部分の形状を
分類して、この範囲内で半田付け状態の良否を判定する
ことになり、検査を迅速かつ正確に行うことができるの
である。 請求項4の方法によれば、印刷配線基板上に半田付けに
より実装されたリード付きの部品を3次元計測し、リー
ドの突出方向に交差する方向に設定した第1の探索線の
上で高さを所定の闘値で2値化することによりリードの
位置を検出した後、検出したリードの上にリードの突出
方向に設定した第2の探索線の上で所定間隔毎に印刷配
線基板の表面からの高さの差分を求め、求めた差分の変
化傾向に基づいて半田付け状態の良否を判定しているの
で、リート付きの部品について各リードごとに半田付け
状態の検査ができ、複雑な検査が自動化できるのであ
る。According to the method of claim 1, the component mounted by soldering on the printed wiring board is three-dimensionally measured, and the edge of the component is determined based on the three-dimensional measurement value. The attached portion can be identified, and the mounting state and soldering state of the component can be accurately inspected.
In addition, search lines are set on the inside and outside of the component in the vicinity of the side edge in the direction along the side edge adjacent to the soldered part of the component, and the height from the surface of the printed wiring board on each search line is set. Since the edge of the component is detected based on the change, the edge of the component can be detected even when the soldered portion is wider or narrower than the width of the component. The method of claim 1 is particularly effective when the soldered portion is wider than the width of the component, the reason for which will be described below. That is, when the soldered portion is wider than the width of the component and a large amount of solder is used (as shown in FIG. 7 described later), in the plane along the surface of the printed wiring board, near the edge of the component. A large bulge occurs and the edge of the part cannot be determined using only the change in height above the search line through the part. Therefore, in the method of claim 1, the search line is set on the inside and the outside of the part so that the edge of the part can be determined on either of the search lines. As described above, by using the two search lines having different setting conditions for the component, the probability that the edge of the component can be accurately determined becomes high. According to the method of claim 2, a plurality of search lines are set in a direction intersecting with a side edge of the component adjacent to the soldering portion,
Since the position of the edge of the component is detected based on the difference in height between the search line passing through the part and the search line passing through the soldering part, no matter what shape the soldering part has, The edge of the part can be accurately detected. According to the method of claim 3, the search line is set from the center of the component in the direction along the side edge adjacent to the soldered portion of the component, and the height from the surface of the printed wiring board on the search line and the rate of change in height are set. After classifying the shape of the soldering part based on, the quality of the soldering state is judged for each classified shape, so the shape of the soldering part that can be regarded as a good product is classified in advance and within this range The quality of the soldered state is determined, and the inspection can be performed quickly and accurately. According to the method of claim 4, the leaded component mounted on the printed wiring board by soldering is three-dimensionally measured, and the height of the component is increased above the first search line set in the direction intersecting the lead protruding direction. After detecting the position of the lead by binarizing the height with a predetermined threshold value, the printed wiring board of the printed wiring board is arranged on the detected lead at a predetermined interval on the second search line set in the protruding direction of the lead. Since the difference in height from the surface is obtained and the quality of the soldering state is judged based on the changing tendency of the obtained difference, it is possible to inspect the soldering state for each lead with respect to the part with the lead, which is complicated. The inspection can be automated.
【実施例1】 第1図に示すように、基本的には、3次元のデータが得
られるセンサ部11と、センサ部11で得られたデータに基
づいて3次元の座標を演算する座標演算部12と、座標演
算部12で求めた3次元の座標を他のデータとともに記憶
する記憶部13と、求められた3次元の座標に基づいて印
刷配線基板1の上に半田付けにより実装された部品2の
半田付け部分の検査を行う検査処理部10とを備えてい
る。 検査処理部10は、印刷配線基板1の上で半田付けされて
いる部品2の端縁を上記3次元座標に基づいて決定する
部品端決定部14と、部品2の端縁の位置に基づいて実装
状態の良否を判定する実装状態検査部15と、部品2の端
縁に基づいて検出された半田付け部分の半田付け状態の
良否を判定する半田付け状態検査部16とで構成されてい
る。 センサ部11は、いわゆる3次元スキャナであり、たとえ
ば、光ビームを検査対象の表面で走査するとともに、PS
Dのような位置検知素子を用いて三角測距法を用いるこ
とにより、3次元のデータを得るようにしたものが用い
られる。 次に、検査方法について説明する。まず、部品2を半田
付けにより実装した印刷配線基板1を計測ステージの所
定位置にセットし、上述のように3次元計測を行う。3
次元計測を行う際には、部品2の中心位置、部品2の寸
法(縦×横×高さ)、実装後の部品2の方向については
既知であるものとする。3次元計測による測定知は記憶
部13に格納される。以下、記憶部13に格納される最小単
位を画像処理との類似によって画素と呼称することにす
る。 検査処理部10の部品端決定部14では、記憶部13に格納さ
れた3次元計測値を用いて、第2図に示す手順に従って
部品2の端縁の位置を決定し、その後、部品2の実装状
態の検査や半田付け状態の検査を行う。まず、部品2の
中心点Cを始点として、半田付けがなされた部品2の両
端を結ぶ方向(以下、長手方向と呼称する)に設定した
探索線l1上で部品2の端縁を探索する。部品2の端縁は
2箇所であるから、探索線l1上を中心点Cから両方向に
探索する。 ここで、第1段階としては、第3図に示すような状態で
半田付けがなされているかどうかを判定する。ここに、
第3図ないし第9図において(a)図は上面、(b)図
は断面を示している。第3図のような半田付け状態で
は、第3図(b)に示すように、部品2の端縁で高さが
急に変化するから、1画素毎ないし複数画素毎に高さの
差分をとり、この差分が0から負の値になり、絶対値が
所定値以上になったときに部品2の端縁に達したと判定
するのである。この場合には、部品2の両端が検出でき
ることになる。 一方、第4図や第5図に示すような状態で半田付けがな
されているとすると、高さの差分による上記方法では部
品2の片端しか検出することができない。したがって、
第2段階としては、検出された一方の端縁の一と、既知
である部品2の寸法とによって他方と端縁の位置を求め
る。すなわち、一方の端縁のみを実測によって求め、他
方の端縁は計算によって求めることである。 さらに、第6図のような状態で半田付けがなされている
とすると、高さの差分では部品2のどちらの端縁も検出
することができない。この場合には、高さの差分が0か
ら正の値になることによって、部品2の上面から半田付
け部分3が凸になっていることがわかるから、半田付け
部分3の立ち上がる点u1,u2を求めて、両点u1,u2の距離
を求める。また、こうして求めた距離と部品の寸法との
差dを求め、探索線l1の上でこの差dを半分にした寸法
だけ両点u1,u2から離れた位置を端縁の位置とみなすの
である。 第7図や第8図に示すような半田付け状態は、良品とみ
なせるにもかかわらず、上述した3段階では部品2の端
縁の位置が決定できない。そこで、上記3段階で部品2
の端縁の位置が決定できないときには、以下の手順を用
いる。すなわち、今度は、部品2の中心点Cから長手方
向に直交する方向(以下、幅方向と呼称する)に探索線
l2を設定し、半田付けがなされていない一方の側縁の位
置を探索する。この位置は、高さの差分に基づいて容易
に探索することができる。こうして検出された部品2の
側縁の位置に対して、部品2の外側と内側とにそれぞれ
所定距離だけ離れ部品2の長手方向に走る一対の探索線
l,mを設定する。ここに、各探索線l,mの長さは、部品2
の寸法と印刷配線基板1上のランドの大きさとに基づい
てあらかじめ設定されている。 第7図に示すような半田付け状態では、部品2の外側の
探索線l上に半田付け部分3が存在しているから、第7
図(c)に示すように、探索線l上での高さの変化を検
出し、0から正に立ち上がる点を部品2の端縁とみなす
ようにする。この場合に、部品2の内側の探索線mでの
高さの変化をみても、第7図(d)に示すように、部品
2の端縁を識別することができない。 第8図に示すような半田付け状態では、部品2の外側の
探索線lの上では、第8図(c)に示すように、高さの
変化はないが、部品2の内側の探索線mの上では、第8
図(d)に示すように、高さが急に変化する部分が生じ
る。そこで、高さの差分を取り、差分が負で絶対値が所
定値以上になる点を求めれば、部品2の一方の端縁が検
出される。また、他方の端縁は、第2段階と同様にして
部品2の寸法に基づいて決定できる。 ここまでの段階でも、第9図のような半田付け状態で
は、部品2の端縁が決定できないから、この場合には、
以下のようにして決定する。すなわち、第9図(a)
(b)に示すように、部品2の長手方向において所定の
間隔で幅方向に走る探索線l3〜l6を設定する。各探索線
l3〜l6の上での高さは、第10図(a)〜(d)のように
変化するから、所定画素数毎に高さの差分dhをとると、
各探索線l3〜l6の上での差分dhの最大値は、部品2に対
応する部位では部品2の高さh0以上になり(dh≧h0)、
半田付け部分3では部品2の高さh0よりも小さくなる
(dh<h0)。したがって、各探索線l3〜l6の上で部品2
の内側から高さの差分の最大値を順次求め、dh<h0とい
う条件が満たされたときに、一つ前でdh≧h0を満たして
いた探索線の位置を部品2の端縁とすればよいのであ
る。部品2と半田付け部分3とは、高さの差分の最大値
によって識別するほかに、部品2の上面では高さの差分
がほぼ0であるのに対して、半田付け部分3では高さの
差分が正または負になることを利用して識別してもよ
い。また、印刷配線基板1の表面を基準面として、部品
2の断面積と半田付け部分3の断面積との差を利用して
識別してもよい。 以上の判定を順次行うことにより、半田付けされた部品
2の端縁が決定できるのである。 次に、求められた部品2の端縁の位置を、あらかじめ良
品の範囲として設定された端縁の位置と比較することに
より、実装状態の良否を判定するのである。 さらに、求めた部品2の端縁の位置を基準として、あら
かじめ大きさが設定されている検査ウインドウWを第11
図に示すように配置し、検査ウインドウW内の高さの加
算値や差分値において半田付け状態の良否を判定するの
である。この処理手順を第12図に示す。すなわち、検査
ウインドウWは矩形状であり、第13図に示すように、部
品2の端縁の近傍の一辺abの中点pの高さHを求める。
また、上記中点pと辺cdの中点とを結ぶ線上において、
中点pから高さの差分dhを順次求める。この差分dhが、
負で絶対値が所定値M1以上になり(dh≦−M1)、その
後、正で絶対値が所定値M2を越えたとすると(dh>
M2)、半田が濡れ不足であるか、穴あきがあるなどの半
田付け状態の不良と考えられるから、不良と判定して終
了する。 また、差分dhに対し所定の基準値−m1,m2を設定して、d
h<−m1、−m1≦dh≦m2、dh>m2の3条件のいずれを満
たすかによって分類し、各条件の出現頻度を係数した
後、出現頻度が最大となる条件に応じて、半田付け状態
を3種類に分類する。すなわち、上記各条件は、半田付
け部分3が第14図(a)〜(c)に示す形状である場合
に対応する。また、上記中点pから辺cdの中点までの途
中で基板表面からの高さが0になる点をqとし、この点
qを半田付け部分3の終端とする。したがって、半田付
け部分3の長さLは、部品2の長手方向における上記中
点pと点qとの間の距離として求めることができる。 以上のようにして、半田付け部分3の濡れ高さH、半田
付け部分3の長さL、半田付け状態Pの3つのパラメー
タが決定するのである。したがって、半田付けの強度を
考慮して、濡れ高さの下限H0と長さの下限L0とをあらか
じめ設定しておけば、半田付け状態が良品とみなせる条
件は、半田付け状態が上記3種類のいずれかの条件を満
たし、かつ、H≧H0、L≧L0を満たすときとなる。この
ように、半田付け部分の形状および特徴量に基づいて半
田付け部分3の良否を判定するから、良否判定が精度よ
く行えるのである。First Embodiment As shown in FIG. 1, basically, a sensor unit 11 that obtains three-dimensional data, and coordinate calculation that calculates three-dimensional coordinates based on the data obtained by the sensor unit 11. The unit 12, the storage unit 13 that stores the three-dimensional coordinates obtained by the coordinate calculation unit 12 together with other data, and the mounting on the printed wiring board 1 by soldering based on the obtained three-dimensional coordinates An inspection processing unit 10 for inspecting a soldered portion of the component 2 is provided. The inspection processing unit 10 determines the edge of the component 2 soldered on the printed wiring board 1 on the basis of the three-dimensional coordinates and the position of the edge of the component 2. It is composed of a mounting state inspection unit 15 that determines the quality of the mounting state and a soldering state inspection unit 16 that determines whether the soldering state of the soldered portion detected based on the edge of the component 2 is good or bad. The sensor unit 11 is a so-called three-dimensional scanner. For example, the sensor unit 11 scans the surface of the inspection object with a light beam and
A device in which three-dimensional data is obtained by using a triangulation method using a position detection element such as D is used. Next, the inspection method will be described. First, the printed wiring board 1 on which the component 2 is mounted by soldering is set at a predetermined position on the measurement stage, and the three-dimensional measurement is performed as described above. Three
When the dimension measurement is performed, it is assumed that the center position of the component 2, the dimensions (length × width × height) of the component 2, and the direction of the component 2 after mounting are known. The measurement information obtained by the three-dimensional measurement is stored in the storage unit 13. Hereinafter, the minimum unit stored in the storage unit 13 will be referred to as a pixel due to similarity to image processing. The component end determination unit 14 of the inspection processing unit 10 determines the position of the edge of the component 2 using the three-dimensional measurement values stored in the storage unit 13 according to the procedure shown in FIG. Performs mounting state inspection and soldering state inspection. First, the edge of the component 2 is searched for on the search line l 1 set in the direction connecting the both ends of the soldered component 2 (hereinafter referred to as the longitudinal direction), starting from the center point C of the component 2. . Since there are two end edges of the part 2, the search is performed on the search line l 1 from the center point C in both directions. Here, in the first step, it is determined whether or not the soldering is performed in the state shown in FIG. here,
3 to 9, (a) is a top view and (b) is a cross section. In the soldering state as shown in FIG. 3, the height changes abruptly at the edge of the component 2 as shown in FIG. 3 (b). Then, when the difference becomes a negative value from 0 and the absolute value becomes equal to or larger than the predetermined value, it is determined that the edge of the component 2 has been reached. In this case, both ends of the component 2 can be detected. On the other hand, if soldering is performed in the state shown in FIGS. 4 and 5, only one end of the component 2 can be detected by the above method based on the difference in height. Therefore,
In the second step, the position of the other edge is obtained from one of the detected edges and the known dimension of the component 2. That is, only one edge is obtained by actual measurement, and the other edge is obtained by calculation. Further, if soldering is performed in the state as shown in FIG. 6, neither edge of the component 2 can be detected by the height difference. In this case, it can be seen that the soldering portion 3 is convex from the upper surface of the component 2 when the height difference changes from 0 to a positive value. Therefore, the rising point u 1 of the soldering portion 3 Find u 2 and find the distance between both points u 1 and u 2 . Further, the difference d between the distance thus obtained and the dimension of the component is obtained, and the position separated from both points u 1 and u 2 by a dimension half the difference d on the search line l 1 is defined as the edge position. Consider it. Although the soldered state as shown in FIGS. 7 and 8 can be regarded as a good product, the position of the edge of the component 2 cannot be determined in the above-described three stages. Therefore, in the above three steps, the component 2
If the position of the edge of is not determined, use the following procedure. That is, this time, the search line is moved from the center point C of the component 2 in the direction orthogonal to the longitudinal direction (hereinafter referred to as the width direction).
Set l 2 and search for the position of one side edge that has not been soldered. This position can be easily searched based on the difference in height. A pair of search lines running in the longitudinal direction of the component 2 are separated from the position of the side edge of the component 2 detected in this way by a predetermined distance to the outside and the inside of the component 2, respectively.
Set l and m. Here, the length of each search line l, m is
And the size of the land on the printed wiring board 1 are set in advance. In the soldering state as shown in FIG. 7, since the soldering portion 3 exists on the search line 1 outside the component 2,
As shown in FIG. 6C, a change in height on the search line 1 is detected, and a point rising from 0 to positive is regarded as an edge of the component 2. In this case, even if the height change on the search line m inside the component 2 is observed, the edge of the component 2 cannot be identified as shown in FIG. 7 (d). In the soldering state as shown in FIG. 8, above the search line 1 outside the component 2, there is no change in height as shown in FIG. above m
As shown in FIG. 3D, there is a portion where the height changes abruptly. Therefore, if the difference in height is calculated and a point where the difference is negative and the absolute value is equal to or larger than a predetermined value is obtained, one edge of the component 2 is detected. The other edge can be determined based on the dimensions of the component 2 as in the second step. Even at this stage, the edge of the component 2 cannot be determined in the soldering state as shown in FIG. 9, so in this case,
Determine as follows. That is, FIG. 9 (a)
As shown in (b), search lines l 3 to l 6 running in the width direction at predetermined intervals in the longitudinal direction of the component 2 are set. Each search line
Since the height above l 3 to l 6 changes as shown in FIGS. 10A to 10D, if the height difference dh is taken for each predetermined number of pixels,
The maximum value of the difference dh on each of the search lines l 3 to l 6 is equal to or higher than the height h 0 of the part 2 at the part corresponding to the part 2 (dh ≧ h 0 ),
At the soldered portion 3, the height is smaller than the height h 0 of the component 2 (dh <h 0 ). Therefore, on each search line l 3 to l 6 , the part 2
The maximum value of the height difference is sequentially obtained from the inside of, and when the condition of dh <h 0 is satisfied, the position of the search line that satisfies dh ≧ h 0 immediately before is regarded as the edge of the component 2. All you have to do is do it. The component 2 and the soldered portion 3 are distinguished by the maximum value of the height difference. In addition, the height difference of the upper surface of the component 2 is almost 0, whereas the height of the soldered portion 3 is almost zero. The difference may be positive or negative to be used for identification. Further, the surface of the printed wiring board 1 may be used as a reference plane for identification by utilizing the difference between the cross-sectional area of the component 2 and the cross-sectional area of the soldered portion 3. By sequentially performing the above determination, the edge of the soldered component 2 can be determined. Next, the quality of the mounting state is determined by comparing the obtained edge position of the component 2 with the edge position preset as the range of non-defective products. Further, the inspection window W having a size set in advance is set with reference to the obtained position of the edge of the component 2.
They are arranged as shown in the figure, and the quality of the soldering state is determined based on the added value and the difference value of the height in the inspection window W. This processing procedure is shown in FIG. That is, the inspection window W has a rectangular shape, and as shown in FIG. 13, the height H of the midpoint p of the side ab near the edge of the component 2 is obtained.
On the line connecting the midpoint p and the midpoint of the side cd,
The height difference dh is sequentially obtained from the midpoint p. This difference dh is
If it is negative and the absolute value is greater than or equal to the prescribed value M 1 (dh ≤ −M 1 ), then if positive and the absolute value exceeds the prescribed value M 2 (dh>
M 2 ), it is considered that the soldering condition is bad, such as insufficient wetting of the solder or holes, so it is judged as defective and the process ends. Also, set a predetermined reference value −m 1 , m 2 for the difference dh, and d
Classify according to which of the three conditions of h <-m 1 , -m 1 ≤ dh ≤ m 2 , and dh> m 2 is satisfied, and after calculating the appearance frequency of each condition, according to the condition that the appearance frequency is the maximum. Then, the soldering state is classified into three types. That is, the above conditions correspond to the case where the soldered portion 3 has the shape shown in FIGS. 14 (a) to 14 (c). Further, a point at which the height from the substrate surface becomes 0 on the way from the midpoint p to the midpoint of the side cd is q, and this point q is the end of the soldered portion 3. Therefore, the length L of the soldered portion 3 can be obtained as the distance between the midpoint p and the point q in the longitudinal direction of the component 2. As described above, the three parameters of the wetting height H of the soldering portion 3, the length L of the soldering portion 3 and the soldering state P are determined. Therefore, if the lower limit H 0 of the wetting height and the lower limit L 0 of the length are set in advance in consideration of the strength of soldering, the soldering condition can be regarded as a good product. It is the case where any one of the conditions of the types is satisfied and H ≧ H 0 and L ≧ L 0 are satisfied. In this way, since the quality of the soldered portion 3 is determined based on the shape and the characteristic amount of the soldered portion, the quality determination can be performed accurately.
【実施例2】 本実施例では、第15図に示すように、検査処理部10が、
印刷配線基板1の上で半田付けされている部品2の端縁
を記憶部13に記憶されている3次元座標に基づいて決定
する部品端決定部14と、部品2の端縁の位置に基づいて
半田付け部分3の領域の対応した検査ウインドウを決定
する半田付け領域決定部17と、検査ウインドウ内に多数
の検査ポイントを設定する検査ポイント設定部18と、設
定された各検査ポイントの高さに基づいて半田付け状態
の良否を判定する良否判定部19とで構成されている。良
否判定部19は、特願昭63−158817号で開示された手順で
半田付け状態の良否を判定するのであり、各検査ポイン
トの高さに基づいて半田付け部分3の断面積に対応する
値を求め、断面積の変化と断面積の差分の変化とに基づ
いて半田付け状態の良否を判定するのである。 部品端決定部14における部品2の端縁の決定にあたって
は、まず、部品2の中心点Cを通り部品2の長手方向に
走る探索線l1を設定し、この探索線l1の上で1画素毎ま
たは複数画素毎に高さの差分dhを求める(第3図参
照)。半田付け状態が良品とみなせるのは、第16図に示
す3種類のいずれかであるから、これらの形状を判定す
るために、高さの差分dhに対する正負の基準値−m1,m2
を設定して部品2の端縁を決定する。 すなわち、第16図(a)の形状では、dh<−m1になる点
を部品2の端縁とする。また、第16図(b)の形状で
は、dh>m2となった後にdh=0となった点を部品2の端
縁とする。第16図(c)の形状では、基準値−m1,m2に
よって部品2の端縁を決定することができないから、既
知である部品2の高さHから所定値δだけ下がった点を
部品2の端縁とする。 以上のようにして部品2の端縁が決定されると、この位
置を基準として、検査ウインドウWを設定する。その
後、検査ウインドウW内に格子状に検査ポイントを設定
し、各検査ポイントの高さに基づいて半田付け状態の良
否を判定する。Second Embodiment In the present embodiment, as shown in FIG.
Based on the component edge determination unit 14 that determines the edge of the component 2 soldered on the printed wiring board 1 based on the three-dimensional coordinates stored in the storage unit 13, and the position of the edge of the component 2. The soldering area determining unit 17 that determines the inspection window corresponding to the area of the soldering portion 3, the inspection point setting unit 18 that sets a large number of inspection points in the inspection window, and the height of each inspection point that has been set. And a quality determination unit 19 for determining the quality of the soldering state based on. The quality determination unit 19 determines the quality of the soldered state according to the procedure disclosed in Japanese Patent Application No. 63-158817, and the value corresponding to the cross-sectional area of the soldered portion 3 based on the height of each inspection point. Then, the quality of the soldering state is determined based on the change in the cross-sectional area and the change in the difference in the cross-sectional area. The In determining the edges of the component 2 in the component end determining unit 14 first sets the search lines l 1 running through the center point C of the part 2 in the longitudinal direction of the street part 2, on the search line l 1 1 The height difference dh is calculated for each pixel or for each pixel (see FIG. 3). Since the soldered state can be regarded as a good product in any of the three types shown in Fig. 16, in order to judge these shapes, positive and negative reference values for the height difference dh -m 1 , m 2
Is set to determine the edge of the component 2. That is, in the shape of FIG. 16A, the point where dh <−m 1 is set as the edge of the component 2. Further, in the shape of FIG. 16 (b), the point where dh = 0 after dh> m 2 is defined as the edge of the component 2. In the shape of FIG. 16 (c), since the edge of the component 2 cannot be determined by the reference values −m 1 and m 2 , the point that is lower than the known height H of the component 2 by the predetermined value δ is The edge of the component 2. When the edge of the component 2 is determined as described above, the inspection window W is set based on this position. After that, inspection points are set in a grid pattern in the inspection window W, and the quality of the soldering state is determined based on the height of each inspection point.
【実施例3】 本実施例では、実施例2と同様に高さの差分dhを求める
ことにより、半田付け部分3の形状を分類し、この時点
でまず半田付け状態の良否の一次判定を行うようにして
いる。 すなわち、基本構成は実施例1と同様であって、検査処
理部10での処理手順を変えている。まず、部品2の中心
点Cから部品2の長手方向に探索線l1を設定し、探索線
l1の上での高さに基づいて、1画素毎に高さの差分dhを
演算する(第3図参照)。差分dhを求めれば、実施例2
と同様にして、差分dhに対する正負の基準値−m1,m2を
設定することにより、良品とみなせる半田付け状態を3
種類に分類することができる。 すなわち、半田付け状態が良品とみなせる形状は、第16
図に示した3種類の形状であり、高さの差分dhは、第16
図(a)の形状では負になり、第16図(b)の形状では
一旦正になった後に負になり、第16図(c)の形状では
負であるが絶対値の最大値は第16図(a)よりも小さく
なる。したがって、基準値−m1,m2を適宜設定すれば、
第6図(a)〜(c)を以下の条件で識別することがで
きる。 第16図(a):最初に、dh<−m1が満たされ その後、dh>m2にはならない 第16図(b):最初に、dh>m2が満たされ その後、dh<−m1にはなる 第16図(c):−m1≦dh≦m2になる これらの条件を満たさないときには、不良品とすればよ
い。このようにして、半田付け部分3の形状を分類する
ことにより、不良品の一次判定を行うことができる。次
に、第18図に示すように、半田付け部分3に対応した検
査ウインドウWを設定し、半田付け部分3の形状と半田
量とに基づいて不要品の二次判定を行う。ここに、検査
ウインドウWはあらかじめ設定されている。 すなわち、半田付け部分3の形状が不良品と考えられる
のは、第17図(a)に示すように濡れ不足や、第17図
(b)に示すようにピンホールを有する場合であるか
ら、探索線l1と平行に検査ウインドウW内で別の探索線
を設定し、新たに設定した探索線の上で高さの差分を求
めて、これらの形状が発生しているかどうかを検出す
る。半田付け部分3の形状が良品とみなせる場合には、
差分が負になった後、0に近付いて探索線の終点に至る
が、不良品の場合には、第17図に示すように、差分が負
になった後に正になるという傾向がある。したがって、
差分がこのような変化を示すかどうかを判定すれば、半
田付け部分3の形状の良否が判定できる。このような良
否判定は、分類された3種類の形状に共通する。 次に、半田量についても良否を判定する。半田量の判定
には、部品2と半田付け部分3とを識別するのが望まし
いが、第16図(b)(c)の形状では、部品2の端縁が
決定できないから、検査ウインドウW内の各点の高さに
基づいて半田量の判定を行う。また、半田量は、各形状
ごとにあらかじめ設定されている良品規格範囲と比較さ
れることにより、良否が判定される。 すなわち、第16図(a)の形状では、探索線l1の上で高
さの差分dhが負になった点を部品2の端縁とみなすこと
ができるから、部品2と半田付け部分3とを識別するこ
とができ、半田量を正確に決定することができる。 一方、第16図(b)の形状では、高さの差分dhが正に立
ち上がる位置を基準点とし、この基準点を通り探索線l1
に直交する線から半田付け部分3の先端までの範囲で全
体積を求め、半田量に相当する量とみなす。 さらに、第16図(c)の形状では、検査ウインドウW内
の全体積を求めて半田量に相当する量とみなし、良品規
格範囲と比較する。 ここにおいて、体積を求める際の高さの基準は、矩形状
に形成されている検査ウインドウWを各頂点の高さの平
均値とする。 なお、実施例1は、主としてリードレスパッケージを対
象とする手法であったが(部品2の端縁の決定以外はリ
ード付きパッケージでも適用可能である)、実施例2お
よび実施例3は、面実装型のパッケージであれば、リー
ド付きパッケージとリードレスパッケージとのいずれで
も適用可能である。Third Embodiment In the present embodiment, the shape of the soldered portion 3 is classified by obtaining the height difference dh similarly to the second embodiment, and at this time point, the primary judgment of the quality of the soldering state is made first. I am trying. That is, the basic configuration is the same as that of the first embodiment, and the processing procedure in the inspection processing unit 10 is changed. First, the search line l 1 is set in the longitudinal direction of the part 2 from the center point C of the part 2 and
The height difference dh is calculated for each pixel based on the height above l 1 (see FIG. 3). If the difference dh is obtained, the second embodiment
Similarly, by setting the positive and negative reference values −m 1 and m 2 for the difference dh, the soldering state that can be regarded as a good product is 3
It can be classified into types. That is, the shape that can be regarded as a good soldered state is the 16th
There are three types of shapes shown in the figure, and the height difference dh is the 16th
The shape of FIG. 16 (a) becomes negative, the shape of FIG. 16 (b) becomes positive and then becomes negative, and the shape of FIG. 16 (c) is negative, but the maximum absolute value is It will be smaller than Fig. 16 (a). Therefore, if the reference values −m 1 and m 2 are set appropriately,
6 (a) to 6 (c) can be identified under the following conditions. FIG. 16 (a): First, dh <−m 1 is satisfied, and then dh> m 2 is not satisfied. FIG. 16 (b): First, dh> m 2 is satisfied, and then dh <−m Figure 16 comprising the 1 (c): - when m becomes 1 ≦ dh ≦ m 2 do not meet these conditions may be defective. In this way, by classifying the shape of the soldered portion 3, it is possible to make a primary determination of a defective product. Next, as shown in FIG. 18, the inspection window W corresponding to the soldering portion 3 is set, and the secondary determination of the unnecessary product is performed based on the shape of the soldering portion 3 and the solder amount. Here, the inspection window W is set in advance. That is, the reason why the shape of the soldered portion 3 is considered to be a defective product is that it has insufficient wetting as shown in FIG. 17 (a) or has a pinhole as shown in FIG. 17 (b). Another search line is set in the inspection window W in parallel with the search line l 1, and the height difference is obtained on the newly set search line to detect whether or not these shapes occur. If the shape of the soldering part 3 can be regarded as a good product,
After the difference becomes negative, it approaches 0 and reaches the end point of the search line, but in the case of a defective product, as shown in FIG. 17, it tends to become positive after the difference becomes negative. Therefore,
The quality of the shape of the soldered portion 3 can be determined by determining whether or not the difference shows such a change. Such quality determination is common to the three types of classified shapes. Next, the quality of the solder amount is also determined. To determine the amount of solder, it is desirable to distinguish between the component 2 and the soldered portion 3. However, in the shape of FIGS. 16 (b) and (c), the edge of the component 2 cannot be determined. The amount of solder is determined based on the height of each point. Further, the quality of the solder is judged by comparing the amount of solder with a non-defective product standard range preset for each shape. That is, in the shape of FIG. 16 (a), the point where the height difference dh becomes negative on the search line l 1 can be regarded as the end edge of the component 2, so the component 2 and the soldered portion 3 Can be identified, and the amount of solder can be accurately determined. On the other hand, in the shape of FIG. 16 (b), the position where the height difference dh rises positively is used as the reference point, and the search line l 1 passes through this reference point.
The total volume is obtained in the range from the line orthogonal to the tip of the soldered portion 3 and is regarded as the amount corresponding to the amount of solder. Further, in the shape of FIG. 16 (c), the total volume in the inspection window W is obtained and regarded as the amount corresponding to the solder amount, and compared with the non-defective product standard range. In this case, the height reference when determining the volume is that the inspection window W formed in a rectangular shape is the average value of the heights of the vertices. Although Example 1 was mainly a method for a leadless package (a leaded package can be applied other than the determination of the edge of the component 2), Example 2 and Example 3 are Either a leaded package or a leadless package can be applied as long as it is a mounting type package.
【実施例4】 本実施例では、半田付け部品がリード付きのフラットパ
ッケージである例を示す。リード付きのフラットパッケ
ージでは、各リードの半田付け状態の良否を判定するの
であるから、まずリードの位置を確定する必要がある。
そこで、第19図に示すように、あらかじめ設定されたリ
ード探査ウインドウW1内でリード4の位置を検出する。 リード4の位置を求めるに際しては、まず、矩形状に設
定されたリード検査ウインドウW1の頂点の高さの平均値
を基準として、リード検査ウインドウW1の中での各点の
高さを上記基準に基づいて求めた所定の闘値で2値化す
る。すなわち、基準よりも高い位置に闘値を設定し、闘
値を越えると1、闘値以下では0としてリード検査ウイ
ンドウW1の中での各点の高さを2値化するのである。こ
こに、闘値はリード4の厚みよりも小さい値に設定され
る。 次に、部品2においてリード4が突出している端縁に平
行にリード検査ウインドウW1内の中心線として設定され
た探索線lcの上で、2値化された高さについて、1の連
続長、1が連続する区間の始点および終点の位置、1が
連続する区間の出現回数を求める。以上のようにして、
1の連続長によりリード4の幅、1が連続する区間の始
点と終点との位置によりリード4の位置、1が連続する
区間の出現回数によりリード4の本数を求めることがで
きるのである。 以上のようにして、探索線lcの上での各リード4の始点
と終点とが求められるから、この始点および終点に対し
て若干離れた位置でリード4の内側に、探索線lcに直交
する探索線をそれぞれ設定し、各探索線の上で高さの差
分を求める。差分が負になり絶対値が所定値以上になっ
たときには、第20図(a)の良品の場合か第20図(b)
の濡れ不足のいずれか場合であって、差分の絶対値が上
記所定値以下にならない場合には、半田付け部分3が第
21図(a)または第21図(b)のいずれかの形状であっ
ても良品とみなせる。 そこで、差分が負になり絶対値が所定値以上になったと
きには、その位置をリード4の先端とし、リード4の幅
に基づいて、第22図に示すように、検査ウインドウWを
設定する。その後、リード検査ウインドウW1に基づいて
設定した高さの基準に対する検査ウインドウWの中での
各点の高さの総和を求める。この総和は、半田量に相当
する量となる。したがって、所定の基準半田量との比較
により、半田量による良否が判定される。また、リード
4の基部から先端に向かう探索線を検査ウインドウW内
で設定し、この探索線の上で高さの差分を求め、第20図
(b)に示すように、一旦負になった後に正になったと
きには、半田の濡れ不足や穴あきがあるものと判定し
て、不良品と判定するのである。Fourth Embodiment In this embodiment, an example in which the soldering component is a flat package with leads is shown. In a leaded flat package, the quality of the soldered state of each lead is determined, so it is necessary to first determine the position of the lead.
Therefore, as shown in FIG. 19, the position of the lead 4 is detected within the preset lead search window W 1 . In obtaining the position of the lead 4, first, the height of each point in the lead inspection window W 1 is set to the above with reference to the average height of the vertices of the lead inspection window W 1 set in a rectangular shape. It is binarized by a predetermined threshold value obtained based on the standard. That is, the threshold value is set at a position higher than the reference value, and 1 is set when the threshold value is exceeded, and 0 is set when the threshold value is lower than the threshold value, and the height of each point in the lead inspection window W 1 is binarized. Here, the threshold value is set to a value smaller than the thickness of the lead 4. Next, on the search line lc set as the center line in the lead inspection window W 1 parallel to the edge where the lead 4 projects in the component 2, for the binarized height, a continuous length of 1 The positions of the start point and the end point of the section where 1 is continuous are obtained, and the number of appearances of the section where 1 is continuous is obtained. As described above,
The width of the lead 4 is determined by the continuous length of 1, and the number of the leads 4 can be determined by the position of the lead 4 and the number of appearances of the interval in which 1 is continuous based on the positions of the start point and the end point of the continuous 1 section. As described above, since the start point and the end point of each lead 4 on the search line lc are obtained, it is orthogonal to the search line lc inside the lead 4 at a position slightly apart from the start point and the end point. Each search line is set, and the height difference is obtained on each search line. When the difference becomes negative and the absolute value exceeds the predetermined value, it is the case of a good product in Fig. 20 (a) or Fig. 20 (b).
If the absolute value of the difference is not less than or equal to the predetermined value, the soldering part 3 is
Any shape shown in FIG. 21 (a) or FIG. 21 (b) can be regarded as a non-defective product. Therefore, when the difference becomes negative and the absolute value becomes equal to or larger than the predetermined value, the position is set as the tip of the lead 4 and the inspection window W is set based on the width of the lead 4 as shown in FIG. After that, the sum of the heights of the respective points in the inspection window W with respect to the height standard set based on the lead inspection window W 1 is obtained. This total sum corresponds to the amount of solder. Therefore, the quality based on the amount of solder is determined by comparison with a predetermined reference amount of solder. Further, a search line extending from the base of the lead 4 to the tip is set in the inspection window W, and the height difference is obtained on this search line, and as shown in FIG. 20 (b), it becomes negative once. When it becomes positive later, it is determined that there is insufficient solder wetting or there is a hole, and it is determined that the product is defective.
請求項1の方法によれば、印刷配線基板上に半田付けに
より実装された部品を3次元計測し、3次元計測値に基
づいて部品の端縁を決定しているから、部品に対して半
田付け部分を識別することができ、部品の実装状態や半
田付け状態を精度よく検査することができるのである。
また、部品において半田付け部分に隣合う側縁に沿う方
向で側縁の近傍に部品の内側と外側とでそれぞれ探索線
を設定し、各探索線上での印刷配線基板の表面からの高
さの変化に基づいて部品の端縁を検出するから、半田付
け部分が部品の幅より広い場合や狭い場合でも部品の端
縁を検出することができるという利点を有する。請求項
1の方法は、半田付け部分が部品の幅よりも広い場合に
とくに有効であって、半田付け部分が部品の幅よりも広
く半田が多量に使用された場合には、印刷配線基板の表
面に沿った面内において部品の端縁の近傍では大きな脹
らみが生じ、部品を通る探索線の上での高さの変化のみ
を用いても部品の端縁を決定できないのであるが、請求
項1の方法では、部品の内側と外側とに探索線を設定す
るものであるから、どちらかの探索線の上で部品の端縁
を決定でき、部品の端縁を正確に決定できる確率が高く
なるという利点を有するのである。 請求項2の方法によれば、部品において半田付け部分に
隣合う側縁に交差する方向の複数本の探索線を設定し、
部品を通る探索線上と半田付け部分を通る探索線上とで
の高さの差分の相違に基づいて部品の端縁の位置を検出
するから、半田付け部分の形状がどのような形状であっ
ても部品の端縁を正確に検出することができるという効
果がある。 請求項3の方法では、部品において半田付け部分に隣り
合う側縁に沿う方向に部品の中心から探索線を設定し、
探索線上での印刷配線基板の表面からの高さと高さの変
化率とに基づいて半田付け部分の形状を分類した後、分
類された各形状ごとに半田付け状態の良否を判定してい
るので、あらかじめ良品とみなせる半田付け部分の形状
を分類して、その範囲内で半田付け状態の良否を判定す
ることになり、検査を迅速かつ正確に行うことができる
という効果を奏する。 請求項4の方法によれば、印刷配線基板上に半田付けに
より表面実装されたリード付きの部品を3次元計測し、
リードの突出方向に交差する方向に設定した第1の探索
線の上で高さを所定の閾値で2値化することによりリー
ドの位置を検出した後、検出したリードの上にリードの
突出方向に設定した第2の探索線の上で所定間隔毎に印
刷配線基板の表面からの高さの差分を求め、求めた差分
の変化傾向に基づいて半田付け状態の良否を判定してい
るので、リード付きの部品について各リードごとに半田
付け状態の検査ができ、複雑な検査が自動化できるとい
う利点がある。According to the method of claim 1, the component mounted by soldering on the printed wiring board is three-dimensionally measured, and the edge of the component is determined based on the three-dimensional measurement value. The attached portion can be identified, and the mounting state and soldering state of the component can be accurately inspected.
In addition, search lines are set on the inside and outside of the component in the vicinity of the side edge in the direction along the side edge adjacent to the soldered part of the component, and the height from the surface of the printed wiring board on each search line is set. Since the edge of the component is detected based on the change, there is an advantage that the edge of the component can be detected even when the soldered portion is wider or narrower than the width of the component. The method according to claim 1 is particularly effective when the soldering portion is wider than the width of the component, and when the soldering portion is wider than the width of the component and a large amount of solder is used, the method of the printed wiring board is improved. A large bulge occurs in the vicinity of the edge of the part in the plane along the surface, and it is impossible to determine the edge of the part using only the change in height on the search line passing through the part, According to the method of claim 1, since the search lines are set on the inside and the outside of the part, the edge of the part can be determined on either of the search lines, and the probability that the edge of the part can be accurately determined. Has the advantage that According to the method of claim 2, a plurality of search lines are set in a direction intersecting with a side edge of the component adjacent to the soldering portion,
Since the position of the edge of the component is detected based on the difference in height between the search line passing through the part and the search line passing through the soldering part, no matter what shape the soldering part has, There is an effect that the edge of the component can be accurately detected. In the method of claim 3, the search line is set from the center of the component in the direction along the side edge adjacent to the soldered portion of the component,
After classifying the shape of the soldering part based on the height from the surface of the printed wiring board on the search line and the rate of change in height, the quality of the soldering state is judged for each classified shape. The shape of the soldered portion that can be regarded as a non-defective product is classified in advance, and the quality of the soldered state is determined within the range, which has the effect of enabling quick and accurate inspection. According to the method of claim 4, the leaded component surface-mounted on the printed wiring board by soldering is three-dimensionally measured,
After detecting the position of the lead by binarizing the height with a predetermined threshold value on the first search line set in the direction intersecting the protruding direction of the lead, the protruding direction of the lead is detected on the detected lead. Since the height difference from the surface of the printed wiring board is obtained at predetermined intervals on the second search line set to, the quality of the soldering state is determined based on the changing tendency of the obtained difference. There is an advantage that a leaded component can be inspected for the soldering state for each lead and a complicated inspection can be automated.
第1図は本発明の実施例1を示す概略構成図、第2図な
いし第14図は同上の動作説明図、第15図は本発明の実施
例2を示す概略構成図、第16図は同上の動作説明図、第
17図および第18図は本発明の実施例3を示す動作説明
図、第19図ないし第22図は本発明の実施例4を示す動作
説明図である。 1……印刷配線基板、2……部品、3……半田付け部、
4……リード、W……検査ウインドウ。FIG. 1 is a schematic configuration diagram showing a first embodiment of the present invention, FIGS. 2 to 14 are operation explanatory diagrams of the same, FIG. 15 is a schematic configuration diagram showing a second embodiment of the present invention, and FIG. Same operation explanation diagram,
17 and 18 are operation explanatory views showing the third embodiment of the present invention, and FIGS. 19 to 22 are operation explanatory views showing the fourth embodiment of the present invention. 1 ... Printed wiring board, 2 ... Component, 3 ... Soldering part,
4 ... Lead, W ... Inspection window.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−293658(JP,A) 特開 昭62−55502(JP,A) 特開 昭63−229311(JP,A) 特開 昭60−127404(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A 61-293658 (JP, A) JP-A 62-55502 (JP, A) JP-A 63-229311 (JP, A) JP-A 60- 127404 (JP, A)
Claims (4)
た部品を3次元計測し、部品において半田付け部分に隣
合う側縁に沿う方向で側縁の近傍に部品の内側と外側と
でそれぞれ探索線を設定し、各探索線上で所定間隔毎に
印刷配線基板の表面からの高さの差分を求め、差分の絶
対値が所定値以上となる位置を部品の端縁として検出し
た後、求めた端縁を基準として半田付け部分を含む規定
の大きさの検査ウインドウを設定し、検査ウインドウ内
の各部位の高さから求めた半田付け部分の形状や半田量
に基づいて半田付け状態の良否を判定することを特徴と
する半田付け部品の外観検査方法。1. A component mounted on a printed wiring board by soldering is three-dimensionally measured, and in the direction along the side edge adjacent to the soldered portion of the component, in the vicinity of the side edge, inside and outside the component, respectively. Set the search line, calculate the height difference from the surface of the printed wiring board at each predetermined interval on each search line, and after detecting the position where the absolute value of the difference is a predetermined value or more as the edge of the component, then calculate The inspection window of the specified size including the soldered part is set with the edge as the reference, and the quality of the soldering state is determined based on the shape of the soldered part and the amount of solder obtained from the height of each part in the inspection window. A method for inspecting the appearance of a soldered component, which comprises determining
た部品を3次元計測し、部品において半田付け部分に隣
合う側縁に交差する方向の複数本の探索線を設定し、各
探索線の上で所定間隔毎に印刷配線基板の表面からの高
さの差分を求め、部品を通る探索線上での差分と半田付
け部分を通る探索線上での差分との相違を利用して部品
上を通る探索線のうち部品の端縁にもっとも近い探索線
を求めた後、求めた探索線を基準として半田付け部分を
含む規定の大きさの検査ウインドウを設定し、検査ウイ
ンドウ内の各部位の高さから求めた半田付け部分の形状
や半田量に基づいて半田付け状態の良否を判定すること
を特徴とする半田付け部品の外観検査方法。2. A component mounted by soldering on a printed wiring board is three-dimensionally measured, a plurality of search lines in a direction intersecting with a side edge of the component adjacent to the soldered portion are set, and each search line is set. The height difference from the surface of the printed wiring board is obtained at predetermined intervals on the above, and the difference on the search line passing through the part and the difference on the search line passing through the soldered part are used After finding the search line that is closest to the edge of the component among the passing search lines, set the inspection window of the specified size including the soldered part based on the obtained search line, and set the height of each part in the inspection window. A method for inspecting the appearance of a soldered component, characterized in that the quality of the soldered state is determined based on the shape of the soldered portion and the amount of solder obtained from the above.
た部品を3次元計測し、部品において半田付け部分に隣
合う側縁に沿う方向に部品の中心から探索線を設定し、
探索線上での印刷配線基板の表面からの高さと高さの変
化率とに基づいて半田付け部分の形状を分類した後、分
類された各形状ごとに半田付け状態の良否を判定するこ
とを特徴とする半田付け部品の外観検査方法。3. A component mounted by soldering on a printed wiring board is three-dimensionally measured, and a search line is set from the center of the component in a direction along a side edge adjacent to the soldered portion of the component,
The feature is that after classifying the shape of the soldered part based on the height from the surface of the printed wiring board on the search line and the rate of change of the height, the quality of the soldering state is judged for each classified shape. Appearance inspection method for soldered parts.
されたリード付きの部品を3次元計測し、リードの突出
方向に交差する方向に設定した第1の探索線の上で高さ
を所定の闘値で2値化することによりリードの位置を検
出した後、検出したリードの上にリードの突出方向に第
2の探索線を設定し、第2の探索線の上で所定間隔毎に
印刷配線基板の表面からの高さの差分を求め、求めた差
分の変化傾向に基づいて半田付け状態の良否を判定する
ことを特徴とする半田付け部品の外観検査方法。4. A component with a lead, which is surface-mounted by soldering on a printed wiring board, is three-dimensionally measured, and a predetermined height is set on a first search line set in a direction intersecting the protruding direction of the lead. After detecting the position of the lead by binarizing with the threshold value of, a second search line is set on the detected lead in the protruding direction of the lead, and the second search line is set at predetermined intervals on the second search line. A visual inspection method for a soldered component, characterized in that a difference in height from the surface of a printed wiring board is obtained, and the quality of the soldering state is judged based on the changing tendency of the obtained difference.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1208325A JPH0774730B2 (en) | 1989-08-12 | 1989-08-12 | Appearance inspection method for soldered parts |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1208325A JPH0774730B2 (en) | 1989-08-12 | 1989-08-12 | Appearance inspection method for soldered parts |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0372204A JPH0372204A (en) | 1991-03-27 |
| JPH0774730B2 true JPH0774730B2 (en) | 1995-08-09 |
Family
ID=16554397
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1208325A Expired - Fee Related JPH0774730B2 (en) | 1989-08-12 | 1989-08-12 | Appearance inspection method for soldered parts |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0774730B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007033048A (en) * | 2005-07-22 | 2007-02-08 | Ricoh Co Ltd | Solder joint determination method, solder inspection method, solder inspection apparatus, solder inspection program, and recording medium |
| US9933371B2 (en) | 2014-01-08 | 2018-04-03 | Yamaha Hatsudoki Kabushiki Kaisha | Visual inspection apparatus and visual inspection method |
| JP6387620B2 (en) * | 2014-02-06 | 2018-09-12 | オムロン株式会社 | Quality control system |
| JP6277754B2 (en) * | 2014-02-06 | 2018-02-14 | オムロン株式会社 | Quality control system and internal inspection device |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60127404A (en) * | 1983-12-13 | 1985-07-08 | Matsushita Electric Ind Co Ltd | Contour-line detecting method |
| JPS61293658A (en) * | 1985-06-21 | 1986-12-24 | Matsushita Electric Works Ltd | Method for inspecting soldering appearance |
| JPS6255502A (en) * | 1985-09-04 | 1987-03-11 | Toyota Auto Body Co Ltd | Method of measuring shape of matter by three-dimensional measuring machine |
| JPH0794971B2 (en) * | 1987-03-19 | 1995-10-11 | 富士通株式会社 | Cross-section shape detection method |
-
1989
- 1989-08-12 JP JP1208325A patent/JPH0774730B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0372204A (en) | 1991-03-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108132017B (en) | Planar weld joint feature point extraction method based on laser vision system | |
| US7181058B2 (en) | Method and system for inspecting electronic components mounted on printed circuit boards | |
| Nakagawa | Automatic visual inspection of solder joints on printed circuit boards | |
| US6249598B1 (en) | Solder testing apparatus | |
| TW201722256A (en) | System and method for checking solder joints | |
| US6577758B1 (en) | Image position detection technique in which input parameters can be easily determined | |
| EP0848245B1 (en) | Method and apparatus for measuring the height of an object | |
| CN119205735A (en) | A high-speed and high-precision method for measuring appearance defects and circuits of ceramic copper-clad substrates | |
| JP3890800B2 (en) | Soldering state inspection method | |
| JPH04315907A (en) | Solder wetting form examining method | |
| JPH0774730B2 (en) | Appearance inspection method for soldered parts | |
| JP4429640B2 (en) | Appearance inspection method for weld marks | |
| US6437355B1 (en) | Apparatus for judging whether bump height is proper or not | |
| JP2005172640A (en) | Mounting inspection apparatus and mounting inspection method | |
| JP4882204B2 (en) | Method for inspecting streaky irregularities in periodic patterns | |
| JP2793947B2 (en) | Appearance inspection method of soldering condition | |
| JP4821647B2 (en) | Electronic component terminal position detection method | |
| KR20020066847A (en) | Shape recognition method using Vision sensor that can cover all type of weld grooves | |
| JP2620992B2 (en) | Inspection method for soldered parts of electronic components | |
| JPH0739997B2 (en) | Appearance inspection method for soldered parts | |
| JP2002277409A (en) | Inspection device for pattern of printed board | |
| Matsuyama et al. | Automated solder joint inspection system using optical 3-D image detection | |
| JPH063365B2 (en) | Inspection method for soldered parts of mounted components | |
| JP3054513B2 (en) | Method for detecting lead lift of electronic components | |
| Honda et al. | Automated Visual Inspection Algorithm for Solder Joint of Surface Mount Devices Based on Three Dimensional Shape Analysis. |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070809 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080809 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090809 Year of fee payment: 14 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090809 Year of fee payment: 14 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090809 Year of fee payment: 14 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |