JPH03218406A - Picture processing method for soldering surface - Google Patents

Picture processing method for soldering surface

Info

Publication number
JPH03218406A
JPH03218406A JP1412090A JP1412090A JPH03218406A JP H03218406 A JPH03218406 A JP H03218406A JP 1412090 A JP1412090 A JP 1412090A JP 1412090 A JP1412090 A JP 1412090A JP H03218406 A JPH03218406 A JP H03218406A
Authority
JP
Japan
Prior art keywords
light source
change
solder joint
solder
image
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
JP1412090A
Other languages
Japanese (ja)
Inventor
Satoshi Hatake
聡志 畠
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP1412090A priority Critical patent/JPH03218406A/en
Publication of JPH03218406A publication Critical patent/JPH03218406A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

PURPOSE:To exactly decide the quality of a soldering joint surface by changing the luminance distribution of picture data and recognizing the presence/absence of eccentricity in the direction of the change. CONSTITUTION:A printed circuit board 2 is loaded on an X-Y table 1 and the circuit board 2 is lighted up by a ring-shaped light source 6. Then, the image of the circuit board is picked up by a TV camera 9 and the picture element signals of the camera 9 are A/D converted 11 and temporarily stored in a picture memory 12 as the picture data. A computer 10 binarizes the picture data and decides the quality of a soldering joint part 4 and when it is decided the part 4 is defective, an actuator 5 is operated so as to exclude the circuit board 2 in the side direction of the table 1. The computer 10 operates the table 1 through an X-Y table control part 3 so that the joint part 4 can be positioned just under the camera 9, changes the vertical position of the light source 6 through a light source position control part 7 as needed and changes the luminous intensity of the light source 6 through a light source luminous intensity control part 8. Thus, the luminance distribution of the picture data is changed, the eccentricity in the direction of the change is recognized and the quality of the joint part can be decided.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は基板上に施した半田接合部の良否を判定する
ようにした半田面の画像処理方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing method of a solder surface for determining the quality of solder joints formed on a substrate.

[従来の技術] 従来から、プリント基板上に施した半田接合部の表面に
照明を行い、その反射画像をTVカメラによって画像デ
ータとして取り込み、その画像データを基に2値化画像
処理を行って半田接合部の良否を判定するようにした画
像処理方法が提案されている。
[Prior Art] Traditionally, the surface of a solder joint on a printed circuit board is illuminated, the reflected image is captured as image data by a TV camera, and binarized image processing is performed based on the image data. An image processing method for determining the quality of solder joints has been proposed.

しかしながら、この画像処理方法では、半田面が半球形
状を成していること、及び半田面が金属光沢を有するこ
とに起因して半田面画像上に低輝度領域が発生すること
があった。このため、その低輝度領域をブローホール、
穴開き等の半田付け欠陥として誤って認識し、良好な半
田接合部を不良と判定する虞があった。
However, in this image processing method, low brightness areas may occur on the solder surface image due to the hemispherical shape of the solder surface and the metallic luster of the solder surface. For this reason, the low brightness area is a blowhole,
There is a risk that a soldering defect such as a hole may be mistakenly recognized, and a good soldered joint may be determined to be defective.

そこで、現状の対策では、照明用の光源を極めて多数設
けて半田面を一様に高輝度にする(特開昭6 0−2 
5 4 0 5号公報)等の処置を施している。
Therefore, the current countermeasure is to provide an extremely large number of light sources for illumination to uniformly brighten the solder surface (Japanese Patent Application Laid-Open No. 6-0-2
5 4 0 5), etc.

[発明が解決しようとする課題] ところが、前記従来例の対策では、第8図に示すような
両面実装基板2lのように、半田接合部22の近傍に他
の部品23が実装されている場合には、多数の光源によ
って照明を施しても、部品23の陰によって半田面が高
輝度にならず有効でなかった。更に、光源が多数の場合
には、第9図に示すように半田接合部22の上に生じた
底の浅い欠陥凹部24が高輝度となり、その欠陥を検出
することができなかった。
[Problems to be Solved by the Invention] However, with the above-mentioned conventional measures, when another component 23 is mounted near the solder joint 22, as in a double-sided mounting board 2l as shown in FIG. In this case, even if multiple light sources were used to illuminate the solder surface, it was not effective because the solder surface did not have high brightness due to the shadow of the component 23. Furthermore, when there are a large number of light sources, as shown in FIG. 9, a shallow defect recess 24 formed on the solder joint 22 becomes highly bright, making it impossible to detect the defect.

この発明は前述した事情に鑑みてなされたものであって
、その目的は、半田接合部の良否の判定を適正に行うこ
とにある。
This invention has been made in view of the above-mentioned circumstances, and its purpose is to appropriately determine the quality of solder joints.

[課題を解決するための手段] 上記の目的を達成するためにこの発明においては、基板
上に施した半田接合部の表面に照明を行い、その反射画
像を撮像機によって画像データとして取り込み、その画
像データを処理することによって半田接合部の良否を判
定するようにした半田面の画像処理方法において、撮像
機によって取り込まれる画像データの輝度分布を変化さ
せてその輝度分布の変化の方向を認識処理し、その変化
の方向の偏りの有無に基づいて半田接合部の良否を判定
するようにしている。
[Means for Solving the Problems] In order to achieve the above object, the present invention illuminates the surface of a solder joint formed on a substrate, captures the reflected image as image data with an image pickup device, and captures the reflected image as image data. In a solder surface image processing method that determines the quality of a solder joint by processing image data, the brightness distribution of the image data captured by an imaging device is changed and the direction of change in the brightness distribution is recognized. Then, the quality of the solder joint is determined based on the presence or absence of deviation in the direction of change.

[作用] 上記の構成によれば、撮像機によって取り込まれる画像
データの輝度分布を変化させてその輝度分布の変化の方
向を認識処理し、その変化の方向の偏りの有無に基づい
て半田接合部の良否を判定しているので、半田接合部の
低輝度領域に対する誤認を防止して適正な判定が行われ
る。
[Operation] According to the above configuration, the brightness distribution of the image data captured by the imaging device is changed, the direction of change in the brightness distribution is recognized and processed, and the solder joint is determined based on the presence or absence of bias in the direction of change. Since the quality of the solder joint is judged as good or bad, a proper judgment can be made while preventing misidentification of the low brightness area of the solder joint.

[実施例] 以下、この発明を具体化したー実施例を図面に基づいて
詳細に説明する。
[Example] Hereinafter, an example embodying the present invention will be described in detail based on the drawings.

第1図はこの実施例における半田面の画像処理方法を適
用した画像処理装置の概略構成図である。
FIG. 1 is a schematic diagram of an image processing apparatus to which the solder surface image processing method of this embodiment is applied.

X−Yテーブルlはワークとしてのプリント基板2を載
置してその基板2をX−Y方向へ移動させる周知のワー
ク位置変更装置であり、その動作がステップモー夕等を
含むX−Yテーブル制御部3によって制御される。又、
X−Yテーブル1の近傍には、プリント基板2の上に施
した半田接合部4が不良となっている場合にその基板2
をX−Yテーブルlの側方へ排除するために作動させる
アクチュエータ5が設けられている。
The X-Y table l is a well-known workpiece position changing device that places a printed circuit board 2 as a workpiece and moves the board 2 in the X-Y direction. It is controlled by the control section 3. or,
In the vicinity of the X-Y table 1, if the solder joint 4 made on the printed circuit board 2 is defective, there is a
An actuator 5 is provided which is actuated to expel the object to the side of the X-Y table l.

X−Yテーブルlの上方には、プリント基板2の上に照
明を施すためのリング状の光源6が設けられている。こ
の先源6はステップモー夕等含む光源位置制御部7によ
って上下方向へ位置制御可能になっている。又、この先
源6は光源光度制御部8によってその光度が制御可能に
なっている。
A ring-shaped light source 6 for illuminating the printed circuit board 2 is provided above the X-Y table l. The position of this tip source 6 can be controlled in the vertical direction by a light source position control section 7 including a step mode and the like. Further, the luminous intensity of the tip source 6 can be controlled by a light source luminous intensity control section 8.

光源6の上方には、プリント基板2上の半田接合部4の
画像を光源6のリング状の空間を通して撮るための撮像
機としてのTVカメラ9が設けられている。即ち、光源
6によって半田接合部4の表面に照明を行い、その反射
画像をTVカメラ9によって撮るようになっている。こ
のとき、半田接合部4の高輝度の部分を撮ったTVカメ
ラ9からの信号(画素信号)のレベルは高く、反対に低
輝度の部分を撮ったTVカメラ9からの画素信号のレベ
ルは低くなる。
A TV camera 9 is provided above the light source 6 as an imaging device for taking an image of the solder joint 4 on the printed circuit board 2 through the ring-shaped space of the light source 6. That is, the surface of the solder joint 4 is illuminated by a light source 6, and a reflected image thereof is taken by a TV camera 9. At this time, the level of the signal (pixel signal) from the TV camera 9 that photographed the high brightness part of the solder joint 4 is high, and on the contrary, the level of the pixel signal from the TV camera 9 that photographed the low brightness part is low. Become.

コンピュータ10は中央処理装置、制御プログラムを予
め記憶した読み出し専用のプログラムメモリ、中央処理
装置の演算処理結果を一時記憶する読み出し及び書き替
え可能な作業用メモリ等から構成されている。そして、
TVカメラ9により撮られた画素信号は、A/D変換器
llによってアナログ値からデジタル値に変換された後
に画像データとして画像メモリl2に一時記憶される。
The computer 10 is composed of a central processing unit, a read-only program memory in which a control program is stored in advance, a readable and rewritable working memory that temporarily stores arithmetic processing results of the central processing unit, and the like. and,
Pixel signals taken by the TV camera 9 are converted from analog values to digital values by the A/D converter 11, and then temporarily stored in the image memory 12 as image data.

画像メモリl2に記憶された画像データはモニタl3に
出力表示されると共に、コンピュータ10に取り込まれ
て2値化画像処理が行われ、プリント基板2上の半田接
合部4の良否判定が行われる。
The image data stored in the image memory 12 is output and displayed on the monitor 13, and is also taken into the computer 10 and subjected to binarized image processing to determine the quality of the solder joints 4 on the printed circuit board 2.

コンピュータ10は半田接合部4が不良であると判定し
た場合に、アクチュエータ5を作動させるための制御信
号を出力する。
When the computer 10 determines that the solder joint 4 is defective, it outputs a control signal for operating the actuator 5.

又、コンピュータ10は、プリント基板2上の半田接合
部4をTVカメラ9の真下に位置させるためにX−Yテ
ーブル制御部3に制御信号を出力してX−Yテーブルl
を作動させる。更に、コンピュータ10は、必要に応じ
て光源6の上下位置を変更するために光源位置制御部7
へ制御信号を出力すると共に、必要に応じて光源6の光
度を変更するために光源光度制御部8へ制御信号を出力
する。
The computer 10 also outputs a control signal to the X-Y table controller 3 to position the solder joint 4 on the printed circuit board 2 directly below the TV camera 9, and controls the X-Y table l.
Activate. Further, the computer 10 controls a light source position control unit 7 to change the vertical position of the light source 6 as necessary.
At the same time, it outputs a control signal to the light source luminous intensity control unit 8 in order to change the luminous intensity of the light source 6 as necessary.

次に、上記のように構成した画像処理装置を使用して行
う画像処理方法について第2図に示すフローチャートに
従って説明する。尚、このフローチャートはコンピュー
タ10が行う制御処理を示すものである。
Next, an image processing method performed using the image processing apparatus configured as described above will be described according to the flowchart shown in FIG. Note that this flowchart shows the control processing performed by the computer 10.

まず、ステップ101において、画像データを取り込む
。即ち、TVカメラ9によって撮られ、A / D変換
器l1にて変換されて画像メモリ12に一時記憶された
画像データを取り込む。ここで、半田接合部4の形状は
半球形状をなしているので、その半田接合部4の上方か
らリング状の光源6によって照明を行った場合、第6図
に示すように取り込まれる半田面画像■4の輝度分布は
等高線状をなすことになる。
First, in step 101, image data is captured. That is, image data taken by the TV camera 9, converted by the A/D converter l1, and temporarily stored in the image memory 12 is taken in. Here, since the shape of the solder joint 4 is hemispherical, when the ring-shaped light source 6 illuminates the solder joint 4 from above, the solder surface image captured as shown in FIG. (2) The luminance distribution in 4 is contour-shaped.

次に、ステップ102において、取り込んだ画像データ
を2値化する。即ち、第3図に示すように、取り込んだ
半田面画像l4の画像データを予め定めた所定のレベル
で2値化し、ほぼ円形の低輝度領域15Aを抽出する。
Next, in step 102, the captured image data is binarized. That is, as shown in FIG. 3, the image data of the captured solder surface image l4 is binarized at a predetermined level, and a substantially circular low brightness area 15A is extracted.

続いて、ステップ103において、第3図に示すように
2値化によって抽出された低輝度領域15Aの横(x)
方向の長さである横長1xl、縦(y)方向の長さであ
る縦長lylをそれぞれ算出する。これは、画像データ
の全画素に占める低輝度領域15Aの画素数から演算さ
れるものである。
Subsequently, in step 103, as shown in FIG. 3, the horizontal (x)
The horizontal length 1xl, which is the length in the direction, and the vertical length lyl, which is the length in the vertical (y) direction, are calculated. This is calculated from the number of pixels in the low-luminance area 15A among all pixels of the image data.

次に、ステップ104において、前記取り込んだ画像デ
ータについて2値化レベルを変更する。
Next, in step 104, the binarization level of the captured image data is changed.

即ち、第4,5図に示すように、先に取り込んだ画像デ
ータを先の2値化レベルよりも高いレベルで再び2値化
し、半田面画像l4から改めて低輝度領域15Bを抽出
する。ここで、第4図の半田面画像l4は半田接合部4
が良好な場合の画像を示し、第5図の半田面画像l4は
半田接合部4が不良の場合の画像を示している。
That is, as shown in FIGS. 4 and 5, the previously captured image data is binarized again at a higher level than the previous binarization level, and the low luminance area 15B is extracted anew from the solder surface image l4. Here, the solder surface image l4 in FIG.
The solder surface image l4 in FIG. 5 shows an image when the solder joint 4 is defective.

続いて、ステップ105において、第4,5図に示すよ
うに2値化によって再度抽出された低輝度領域15Bの
横長lX2、縦長ly2をそれぞれ算出する。そして、
ステップ106において、横長の変化分ΔlX、縦長の
変化分Δ1yをそれぞれ算出する。即ち、 Δ(! x=I2 x2 −1 xi Δβy=py2−17y1 をそれぞ′れ算出する。
Subsequently, in step 105, as shown in FIGS. 4 and 5, the horizontal length lX2 and vertical length ly2 of the low luminance area 15B extracted again by binarization are calculated, respectively. and,
In step 106, a change in horizontal length ΔlX and a change in vertical length Δ1y are calculated. That is, Δ(! x=I2 x2 −1 xi Δβy=py2−17y1 are calculated respectively.

その後、ステップ107において、先に算出した縦長の
変化分ΔIllと横長の変化分Δlxとの比Kを算出す
ると共に、ステップ108において、横長の変化分Δl
xと縦長の変化分Δ1yとの和Lを算出する。ここで、
前記比K及び和しは、前述したように2値化レベルの変
更によって変わる低輝度領域15A,15Bについて、
その変化の方向に偏りがあるか否かを判定するために以
下のステップ109〜111において用いられる値であ
る。
Thereafter, in step 107, a ratio K between the previously calculated vertical change ΔIll and the horizontal change Δlx is calculated, and in step 108, the horizontal change Δl
The sum L of x and the vertical change Δ1y is calculated. here,
The ratio K and the sum are as described above, for the low luminance areas 15A and 15B that change depending on the change of the binarization level.
This value is used in steps 109 to 111 below to determine whether there is a bias in the direction of change.

続いて、ステップ109において、前記ステップ107
にて算出した比Kが誤差±αを見込んだ値の中に含まれ
る値であるか否かを判断する。即ち、■一αの値よりも
大きく、かつl+αの値以下の値であるか否かを判断す
る。
Subsequently, in step 109, the step 107
It is determined whether the ratio K calculated in is a value included in the value taking into account the error ±α. That is, it is determined whether the value is larger than the value of (1)-α and less than or equal to the value of l+α.

そして、比Kが誤差±αを見込んだ値の中に含まれる場
合、即ち2値化レベルの変更によって2回目に得られた
低輝度領域15Bが、第5図に示すようにほぼ円形状を
なして横長及び縦長の変化分Δlx,  Δlyに差が
少なくなるような場合には、半田接合部4が不良である
としてステップ1lOへ移行し、同ステップ110にお
いて、基板除去指令の信号をアクチュエータ5へ出力し
、アクチュエータ5を作動させて不良のプリント基板2
を排除し、その後の処理を一旦終了する。
If the ratio K is included in the value considering the error ±α, that is, the low luminance area 15B obtained the second time by changing the binarization level has an approximately circular shape as shown in FIG. If the difference in horizontal and vertical changes Δlx and Δly becomes small, it is determined that the solder joint 4 is defective and the process moves to step 110. In the same step 110, a board removal command signal is sent to the actuator 5. output to the faulty printed circuit board 2 and activates the actuator 5.
is removed and the subsequent processing is temporarily terminated.

一方、比Kが誤差±αを見込んだ値の中に含まれない場
合には、ステップ111へ移行し、同ステップ111に
おいて、前記ステップ108にて算出した和Lが所定の
判定値βよりも小さいか否かを判断する。
On the other hand, if the ratio K is not included in the value considering the error ±α, the process moves to step 111, and in the same step 111, the sum L calculated in the step 108 is larger than the predetermined judgment value β. Determine whether it is small or not.

そして、和Lが所定の判定値βよりも小さい場合、即ち
2値化レベルの変更によって2回目に得られた低輝度領
域15Bが、第5図に示すようにほぼ円形状をなして横
長及び縦長の変化分Δlx,Δ1yが小さくなるような
場合には、半田接合部4が不良であるとしてステップ1
10へ移行し、同ステップ110において、・基板除去
指令の信号をアクチュエータ5へ出力し、アクチュエー
タ5を作動させて不良のプリント基板2を排除し、その
後の処理を一旦終了する。
If the sum L is smaller than the predetermined judgment value β, that is, the low luminance area 15B obtained for the second time by changing the binarization level has a substantially circular shape and is horizontally long and horizontally long, as shown in FIG. If the vertical changes Δlx, Δ1y become small, the solder joint 4 is considered defective and step 1 is performed.
10, and in the same step 110, a signal of a board removal command is output to the actuator 5, the actuator 5 is operated to remove the defective printed circuit board 2, and the subsequent processing is temporarily terminated.

一方、和Lが所定の判定値βよりも小さくない場合、即
ち2値化レベルの変更によって2回目に得られた低輝度
領域15Bが、第4図に示すように屈曲した長円をなし
て横長及び縦長の変化分△lx, ΔIllの一方が大
きくなるような場合には、半田接合部4が良好であると
して、ステップ112へ移行し、同ステップ112にお
いて、っぎの半田接合部の判定を行うために、X−Yテ
ーブル制御部3へ基板位置変更指令の信号を出力してプ
リント基板2の位置変更を行わせ、その後の処理を一旦
終了する。
On the other hand, if the sum L is not smaller than the predetermined judgment value β, that is, the low luminance area 15B obtained for the second time by changing the binarization level forms a curved ellipse as shown in FIG. If one of the horizontal and vertical changes Δlx and ΔIll becomes larger, it is assumed that the solder joint 4 is good, and the process moves to step 112. In the same step 112, the solder joint 4 is judged to be To do this, a board position change command signal is output to the XY table control section 3 to change the position of the printed circuit board 2, and the subsequent processing is temporarily terminated.

つまり、この実施例の処理では、取り込んだ画像データ
について前後に2値化レベルを変更して半田面画像l4
の輝度分布を変化させ、その半田面画像14の低輝度領
域15A,15Bの縦横の寸法変化、即ち変化分Δlx
,Δ1yの変化の偏りをそれらの比Kと和しによって判
定して半田接合部4の良否を判定している。
In other words, in the processing of this embodiment, the binarization level is changed back and forth for the captured image data, and the solder surface image l4 is
By changing the brightness distribution of
, .DELTA.1y are summed together with their ratio K to determine the quality of the solder joint 4.

従って、画像データの2回目の2値化レベルを1回目の
2値化レベルよりも若干高くして半田面画像l4を得る
と、半田接合部4が良好な場合には、その低輝度領域1
5Bが、第4図に示すように等高線に沿うような形状に
成長することになる。
Therefore, if the solder surface image l4 is obtained by setting the second binarization level of the image data slightly higher than the first binarization level, if the solder joint 4 is good, the low luminance area 1
5B grows along the contour lines as shown in FIG.

つまり、1回目の2値化の際の低輝度領域15Aが横方
向よりも縦方向へ大きく成長するという偏りを生じる。
In other words, the low luminance area 15A during the first binarization grows more vertically than horizontally.

これに対して、半田接合部4が不良の場合には、その低
輝度領域15Bが、第5図に示すように1回目の2値化
の際の低輝度領域15Aと同様に、ほぼ円形をなして成
長することになる。
On the other hand, if the solder joint 4 is defective, the low brightness area 15B has an almost circular shape, similar to the low brightness area 15A during the first binarization, as shown in FIG. You will grow without it.

つまり、1回目の2値化の際の低輝度領域15Aが全方
向へほぼ均等に成長すると共に、その成長量は光線反射
に起因して生じる第4図の低輝度領域15Bと比べては
るかに小さなものとなる。
In other words, the low brightness area 15A during the first binarization grows almost equally in all directions, and the amount of growth is much greater than the low brightness area 15B in FIG. 4, which is caused by light reflection. It becomes something small.

これを、半田接合部を中心とした座標位置に対する輝度
レベルの変化について見ると、例えば第7図に示すグラ
フのようになる。このグラフからもわかるように、半田
接合部近傍の輝度レベルの変化は、半田接合部に欠陥の
有る場合と無い場合とで比べて明らかに異なっている。
If we look at the change in brightness level with respect to the coordinate position centered on the solder joint, we get a graph as shown in FIG. 7, for example. As can be seen from this graph, the change in the brightness level near the solder joint is clearly different between cases where the solder joint has a defect and cases where there is no defect.

即ち、欠陥の有る場合には半田接合部を中心とした輝度
レベルの変化が殆ど無く、欠陥の無い場合にはその輝度
レベルの変化が有る。
That is, when there is a defect, there is almost no change in the brightness level around the solder joint, and when there is no defect, there is a change in the brightness level.

上記のようにこの実施例における半田面の画像処理方法
では、TVカメラ9によって取り込まれる画像データの
輝度分布を変化させてその輝度分布の変化の方向を認識
処理し、即ち低輝度領域15Aを低輝度領域15Bに変
化させて、その縦方向及び横方向を認識し、その縦方向
及び横方向の変化量に偏りが有る場合には半田接合部4
が良好であると判定し、同変化量に偏りが少ない場合に
は半田接合部4に欠陥のある不良であると判定するよう
にしている。
As described above, in the solder surface image processing method in this embodiment, the brightness distribution of the image data captured by the TV camera 9 is changed and the direction of change in the brightness distribution is recognized and processed, that is, the low brightness area 15A is The vertical and horizontal directions are recognized by changing the brightness area 15B, and if there is a bias in the amount of change in the vertical and horizontal directions, the solder joint 4
It is determined that the solder joint 4 is good, and if there is little deviation in the amount of change, it is determined that the solder joint 4 is defective.

この結果、半田接合部4の良否を判定するために、従来
のように半田面にアルコール類を噴霧して金属光沢を抑
える等の特別な処理を施す必要が全くなく、そのための
特別な装置の設置や半田面処理の工程を省略することが
でき、判定に要するコストを低減することができる。又
、従来のように照明用の光源を多数設けて半田面を一様
に高い輝度にする必要がなく、照明装置の製造コストの
低減を図ることもできる。更に、両面実装基板において
半田接合部の近傍に他の部品が実装されている場合でも
、単一の光源6によって照明を行い陰の影響を回避しな
がら半田接合部の良否の判定を適正に行うことができる
。又、半田接合部の上に欠陥凹部が生じている場合でも
、その欠陥を適正に判定することができる。つまり、半
田接合部全般について良否の判定を適正、かつ低コスト
で行うことができる。
As a result, in order to judge the quality of the solder joints 4, there is no need for special treatment such as spraying alcohol on the solder surface to suppress metallic luster, as in the past. The steps of installation and solder surface treatment can be omitted, and the cost required for determination can be reduced. Furthermore, it is not necessary to provide a large number of light sources for illumination to make the solder surface uniformly high in brightness as in the past, and the manufacturing cost of the illumination device can be reduced. Furthermore, even if other components are mounted near the solder joints on a double-sided mounting board, the single light source 6 provides illumination to properly judge the quality of the solder joints while avoiding the effects of shadows. be able to. Further, even if a defective concave portion is formed on the solder joint, the defect can be appropriately determined. In other words, it is possible to appropriately and inexpensively determine the quality of solder joints in general.

尚、この発明は前記実施例に限定されるものではなく、
発明の趣旨を逸脱しない範囲において構成の一部を適宜
に変更して次のように実施することもできる。
Note that this invention is not limited to the above embodiments,
The present invention can be implemented as follows by changing a part of the structure as appropriate without departing from the spirit of the invention.

(1)前記実施例では、取り込んだ画像データについて
異なったレベルに基づく前後2回の2値化を行い、それ
によって得られた低輝度領域15A,15Bの横長及び
縦長の変化分Δlx,  Δlyの比K及び和Lに基づ
いて低輝度領域15A, 15Bの変化の方向の偏りを
判定するようにしたが、検出精度を更に向上させるため
に、画像データの2値化レベルを段階的に変化させなが
ら3回以上行い、それによって複数得られる各段階前後
の変化分△lx,  Δzyの比K及び和Lの平均値を
算出して、その平均値に基づいて低輝度領域の変化の方
向の偏りを判定するようにしてもよい。
(1) In the above embodiment, the captured image data is binarized twice based on different levels, and the resulting changes in horizontal and vertical lengths Δlx and Δly of the low-luminance areas 15A and 15B are calculated. Although the bias in the direction of change in the low luminance areas 15A and 15B was determined based on the ratio K and the sum L, in order to further improve the detection accuracy, the binarization level of the image data was changed in stages. Calculate the average value of the ratio K and sum L of the changes before and after each stage △lx, Δzy, and calculate the bias in the direction of change in the low luminance area based on the average value. may be determined.

(2)前記実施例では、1回取り込んだ画像データにつ
いて、異なったレベルに基づく前後2回の2値化を行っ
たが、前後2回の画像データの取り込みを行い、その画
像データ毎に異なったレベルに基づく2値化を行っても
よい。
(2) In the above embodiment, the image data that was captured once was binarized twice based on different levels. Binarization may be performed based on the level.

(3)前記実施例では、画像データの輝度分布を変更さ
せるために、コンピュータIO内にて2値化レベルの変
更を行ったが、2値化レベルを変更させる箇所はA/D
変換器でもよい。つまり、T■カメラからの画素信号を
互いに異なったレベルで2値化を行うA/D変換器を2
個設け、それら2個のA/D変換器のそれぞれにTVカ
メラからの画素信号を入力して2値化を行ったり、1個
のA/D変換器に対して2値化レベルコントローラを設
け、その2値化レベルコントローラにより前後2回だけ
2値化レベルを変更させながらTVカメラからの画像信
号をA/D変換器にて2値化したりしてもよい。
(3) In the above embodiment, in order to change the brightness distribution of image data, the binarization level was changed in the computer IO, but the part where the binarization level is changed is the A/D
It can also be a converter. In other words, there are two A/D converters that binarize pixel signals from the T camera at different levels.
pixel signals from the TV camera are input to each of these two A/D converters to perform binarization, or a binarization level controller is provided for one A/D converter. The image signal from the TV camera may be binarized by the A/D converter while changing the binarization level twice before and after by the binarization level controller.

又、画像データの輝度分布を変化させるためには、照明
用の光源6の上下位置を変化させたり、光源6の光度を
変化させたりしてもよい。
Further, in order to change the brightness distribution of the image data, the vertical position of the illumination light source 6 may be changed or the luminous intensity of the light source 6 may be changed.

(4)前記実施例では、リング状の光源6を設けたが、
リング状に限定されるものではなく、各種タイプの光源
を使用してもよい。
(4) In the above embodiment, the ring-shaped light source 6 was provided, but
The light source is not limited to a ring shape, and various types of light sources may be used.

(5)前記実施例では、画像データの輝度分布の変化の
方向を認識処理するために、2値化画像処理を採用した
が、濃淡画像処理を採用してもよい。
(5) In the embodiment described above, binarization image processing was employed to recognize the direction of change in the brightness distribution of image data, but grayscale image processing may also be employed.

[発明の効果コ 以上詳述したようにこの発明によれば、撮像機によって
取り込まれる画像データの輝度分布を変化させてその輝
度分布の変化の方向を認識処理し、その変化の方向の偏
りの有無に基づいて半田接合部の良否を判定しているの
で、半田面に特別な処理を施したり、照明用の光源を多
数設けたりすることなく、半田接合部の良否の判定を適
正、かつ低コストで行うことができるという優れた効果
を発揮する。
[Effects of the Invention] As detailed above, according to the present invention, the brightness distribution of image data captured by an image pickup device is changed, the direction of change in the brightness distribution is recognized and processed, and the bias in the direction of the change is corrected. Since the quality of the solder joint is judged based on the presence or absence of the solder joint, it is possible to judge the quality of the solder joint properly and at low cost without applying any special treatment to the solder surface or installing multiple light sources for illumination. It has excellent effects and can be done at low cost.

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

第1図〜第7図はこの発明を具体化したー実施例を示す
図面であって、第1図は半田面の画像処理方法を適用し
た画像処理装置の概略構成図、第2図はその画像処理装
置を使用して行う画像処理方法を説明するフローチャー
ト、第3図〜第5図は半田面画像における低輝度領域の
変化を説明する図、第6図は半田面画像における輝度分
布を説明する図、第7図は半田接合部を中心とする座標
位置に対する輝度レベルの変化を説明するグラフである
。第8図は従来例における両面実装基板を示す側面図、
第9図は同じく従来例における半田接合部の欠陥凹部を
説明する側断面図である。 図中、2はプリント基板、4は半田接合部、6は光源、
9は撮像機としてのTVカメラ、l4は半田面画像、1
5A,15Bは低輝度領域である。
1 to 7 are drawings showing embodiments of the present invention, in which FIG. 1 is a schematic configuration diagram of an image processing apparatus to which the solder surface image processing method is applied, and FIG. A flowchart explaining an image processing method performed using an image processing device, FIGS. 3 to 5 are diagrams explaining changes in a low brightness area in a soldering surface image, and FIG. 6 is a diagram explaining the brightness distribution in a soldering surface image. FIG. 7 is a graph illustrating the change in brightness level with respect to the coordinate position centered on the solder joint. FIG. 8 is a side view showing a conventional double-sided mounting board;
FIG. 9 is a side sectional view illustrating a defective concave portion of a solder joint in the conventional example. In the figure, 2 is a printed circuit board, 4 is a solder joint, 6 is a light source,
9 is a TV camera as an imaging device, l4 is a solder surface image, 1
5A and 15B are low brightness areas.

Claims (1)

【特許請求の範囲】 1 基板上に施した半田接合部の表面に照明を行い、そ
の反射画像を撮像機によって画像データとして取り込み
、その画像データを処理することによって半田接合部の
良否を判定するようにした半田面の画像処理方法におい
て、 前記撮像機によって取り込まれる画像データの輝度分布
を変化させてその輝度分布の変化の方向を認識処理し、
その変化の方向の偏りの有無に基づいて前記半田接合部
の良否を判定するようにした半田面の画像処理方法。
[Claims] 1. Illuminating the surface of a solder joint formed on a substrate, capturing the reflected image as image data with an imaging device, and determining the quality of the solder joint by processing the image data. In the solder surface image processing method, the brightness distribution of image data captured by the image pickup device is changed, and the direction of change in the brightness distribution is recognized and processed,
A solder surface image processing method, wherein the quality of the solder joint is determined based on the presence or absence of deviation in the direction of change.
JP1412090A 1990-01-24 1990-01-24 Picture processing method for soldering surface Pending JPH03218406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1412090A JPH03218406A (en) 1990-01-24 1990-01-24 Picture processing method for soldering surface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1412090A JPH03218406A (en) 1990-01-24 1990-01-24 Picture processing method for soldering surface

Publications (1)

Publication Number Publication Date
JPH03218406A true JPH03218406A (en) 1991-09-26

Family

ID=11852264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1412090A Pending JPH03218406A (en) 1990-01-24 1990-01-24 Picture processing method for soldering surface

Country Status (1)

Country Link
JP (1) JPH03218406A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150022359A (en) * 2013-08-23 2015-03-04 와이즈플래닛(주) Inspection-Object Location estimation device using multi camera.

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150022359A (en) * 2013-08-23 2015-03-04 와이즈플래닛(주) Inspection-Object Location estimation device using multi camera.

Similar Documents

Publication Publication Date Title
US7505149B2 (en) Apparatus for surface inspection and method and apparatus for inspecting substrate
KR100281881B1 (en) cream solder inspection apparatus and the method thereof
JP3282786B2 (en) Wafer shape recognition device
JP2006058170A (en) Visual confirmation device and inspection system
JP2015161622A (en) Appearance inspection apparatus, appearance inspection method, and program
JP2003227801A (en) Curved surface property inspection method and substrate inspection apparatus using this method
JP2008051694A (en) Visual inspection method and system of mounting substrate
JP2775411B2 (en) Lighting equipment for printed wiring board inspection equipment
KR0179758B1 (en) Detection method of surface mounting device of pcb
JP3468643B2 (en) Appearance inspection method for printed wiring boards
JP3454142B2 (en) Soldering inspection equipment
JPH0862155A (en) Object observation device
KR20000004289A (en) Method for setting teaching data of pcb automatic test device and apparatus thereof
KR0141154B1 (en) The test method of inserting for electronic elements on pcb(printed circuit board)
JP3038107B2 (en) Soldering inspection method
JP2005223006A (en) Cream solder printing inspection method
JPH10160426A (en) Method and equipment for inspecting object to be inspected
JPH0267949A (en) Soldered part checking apparatus
KR100292343B1 (en) Inspection method of cream solder position appearance on the board
JP2002110745A (en) Component recognition control method and component recognition control device
JP3407603B2 (en) Inspection method of second bonding point in wire bonding
JPH06350299A (en) Insertion part inspection device
JPH08285548A (en) Bump appearance inspection device
JPH07209205A (en) Method and apparatus for inspecting soldered state
JPH0981717A (en) Solder bridge inspection method