JP5546364B2 - Solder inspection method - Google Patents
Solder inspection method Download PDFInfo
- Publication number
- JP5546364B2 JP5546364B2 JP2010138145A JP2010138145A JP5546364B2 JP 5546364 B2 JP5546364 B2 JP 5546364B2 JP 2010138145 A JP2010138145 A JP 2010138145A JP 2010138145 A JP2010138145 A JP 2010138145A JP 5546364 B2 JP5546364 B2 JP 5546364B2
- Authority
- JP
- Japan
- Prior art keywords
- solder
- inspection
- lead
- state
- area
- 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
Images
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Description
本発明は、電子部品が実装されたプリント基板において、半田の状態を検査する方法に関する。 The present invention relates to a method for inspecting the state of solder in a printed circuit board on which electronic components are mounted.
近年、電子部品実装、例えば、クリーム半田を用いてリフロー装置による半田付けを行う表面実装ラインは、電子部品の小型化・高実装密度化に伴い、急速に全自動化が進んでいる。これは、電子部品を基板に実装する実装装置や、実装状態を検査する検査装置の開発が、進展していることも理由である。 2. Description of the Related Art In recent years, surface mount lines that perform electronic component mounting, for example, soldering using a reflow apparatus using cream solder, are rapidly becoming fully automated as electronic components become smaller and higher in mounting density. This is also because the development of a mounting device for mounting electronic components on a substrate and an inspection device for inspecting the mounting state is progressing.
実装の全自動化が進んでいるものの、一部は、例えば、リード付き電子部品などの部分的に基板に挿入される電子部品の実装は、いまだに人手に頼ることがある。特に、半田の検査は、半田の外観状態が多様であるため、他の検査に比べて自動化が困難であり、いまでも目視で検査されている。 Although full automation of mounting is progressing, for example, mounting of electronic components partially inserted into a substrate, such as electronic components with leads, may still depend on human hands. In particular, solder inspection is difficult to automate compared to other inspections because of the various appearances of solder, and is still visually inspected.
しかし、不良品の発生の抑制、省人化の観点から半田の検査の自動化に対するニーズは高く、いくつかの半田の自動検査が検討されている。 However, there is a great need for automation of solder inspection from the viewpoint of suppressing the occurrence of defective products and saving labor, and several automatic solder inspections are being studied.
例えば、特許文献1に記載する半田の検査方法は、図11に示すように、検査対象の半田100の上方に位置する照明101によって半田100に対して光を照射し、光が照射された半田100をカメラ102によって撮像する。次に、ウィンドウ発生部103が、カメラ102の撮像画像に対してリード穴と略同じ大きさの検査ウィンドウ(撮影画像内において検査に使用する領域を定義するためのウィンドウ)を設定する。続いて、2値化部104が検査ウィンドウ内の撮影画像領域を2値化(白黒化)し、面積測定部105が2値化された領域における2値のいずれか一方の面積(白または黒の面積)を測定する。そして、判定部106が測定した面積に基づいて半田100の状態の良否を判定する。
For example, in the solder inspection method described in
また例えば、特許文献2に記載する半田の検査方法は、図12に示すように、三次元センサ107と座標演算部108とによって半田109の形状を三次元測定して三次元データを取得し、取得した三次元データに基づいて良否判定部110が半田109の状態の良否を判定する。
Further, for example, in the solder inspection method described in
しかし、特許文献1に記載の半田外観検査方法は、電子部品のリードが検査範囲(検査ウィンドウ)に含まれているため、リードの先端の形状のバラツキ、リード穴に対するリードの位置やリード穴に対するリードの傾きのバラツキ(すなわちリード付き電子部品の実装誤差)などの影響を大きく受け、半田の状態の判定において誤判定が起こることがある。また、電子部品のリードがクリンチされている場合(リードが屈曲されている場合)、屈曲したリード部分からの反射光や屈曲したリード部分によって発生する影により、誤判定が起こることがある。さらに、現実には、特許文献1に記載の検査方法が想定しない半田の状態が発生し、半田が想定外の状態であるときに誤判定が起こることがある。
However, in the solder appearance inspection method described in
また、特許文献2のように、半田の形状の三次元データに基づいて半田の状態を検査する場合、特に検査対象である半田の数が多い場合、検査に要する時間が長くなる。例えば、半田の形状をレーザスキャンによって測定する場合、半田の数だけのスキャン時間が必要になり、半田の数が増えるほど検査時間は長くなる。検査時間が長くなることは、生産効率の観点から言えば、好ましくない。
Further, as in
そこで、本発明は、上述の課題を解決し、判定精度が高く、且つ、高速に半田を検査できる半田検査方法を提供することを目的とする。 Accordingly, an object of the present invention is to solve the above-described problems, and to provide a solder inspection method capable of inspecting solder at high speed with high determination accuracy.
上述の課題を解決するために、本発明の第1の態様によれば、基板のリード穴に挿通された電子部品のリードと該基板とを接合する半田の状態を検査する半田検査方法であって、上方からの光が照射された前記半田を前記カメラによって撮像し、前記カメラの撮像画像内の検査領域の輝度に基づいて前記半田の状態を検査するに際し、前記検査領域が、前記撮像画像における前記電子部品のリードの外周より外側の領域の少なくとも一部分を含み、前記検査領域が、前記リード穴と同心のリング形状の検査領域であって、その内径が前記リード穴の径方向の前記電子部品の実装誤差と前記リードの直径との和である、半田検査方法が提供される。
In order to solve the above-described problem, according to a first aspect of the present invention, there is provided a solder inspection method for inspecting a state of solder for joining a lead of an electronic component inserted into a lead hole of the substrate and the substrate. Then, when the solder irradiated with light from above is imaged by the camera and the state of the solder is inspected based on the luminance of the inspection area in the image captured by the camera, the inspection area is the captured image. the saw including at least a portion of the electronic component region outside the outer circumference of the lead in the examination region, wherein a test area of the lead hole and concentric ring-shaped, wherein an inner diameter in the radial direction of the lead hole A solder inspection method is provided which is the sum of an electronic component mounting error and the lead diameter .
本発明によれば、高精度に半田の状態を検査することができる。また、検査がカメラの撮影画像に基づいて行われるため、半田の形状を3次元測定する場合に比べて、高速に複数の半田の状態の検査を実行できる。 According to the present invention, the state of solder can be inspected with high accuracy. In addition, since the inspection is performed based on the photographed image of the camera, a plurality of solder states can be inspected at a higher speed than in the case where the shape of the solder is three-dimensionally measured.
以下、本発明の実施の形態について、図面を参照しながら説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(実施の形態1)
図1〜図5は本発明の実施の形態1を説明する図である。図1は、実施の形態1に係る半田検査装置の構成を概略的に示している。
(Embodiment 1)
1-5 is a
半田検査装置は、半田を撮像するカメラ1と、半田に対して光を照射するリング照明2と、カメラ1の撮像画像を画像処理して半田の状態を判定する画像処理装置3とを有する。
The solder inspection apparatus includes a
カメラ1は、検査時、基板20に形成されたリード穴21の中心と光軸C(一点鎖線)とが一致した状態で配置される。カメラ1は、リード穴21に挿通された電子部品22のリード23と基板20とを接合する半田24を上方から撮像する。また、カメラ1は、撮像した画像に対応する画像信号を画像処理装置3に出力する。なお、半田24は、リード穴21の円周に沿って基板20上に設けられたランド25上に盛られている。
The
なお、本実施の形態において、カメラは1つの半田を撮像しているが、本発明はこれに限らない。例えば、高解像度のカメラを使用して複数の半田を同時に撮像してもよい。複数の半田が映る撮像画像から1つの半田が含まれる撮像領域を画像処理によって抽出することにより、カメラが1つの半田を撮像するように、1つの半田が映る撮像画像を得ることができる。 In the present embodiment, the camera images one solder, but the present invention is not limited to this. For example, a plurality of solders may be imaged simultaneously using a high resolution camera. By extracting an imaging region including one solder from an imaging image showing a plurality of solders by image processing, an imaging image showing one solder can be obtained so that the camera images one solder.
リング照明2は、リング形状の照明であって、半田24に向かってその上方から光を照射する。具体的には、リング照明2は、半田24の上方から光を照射するように構成されている。そして、リング照明2からの照射は、半田24の上方に位置するカメラ1に対して基板20の表面に平行な半田24の平坦部分からの反射光が、該半田24の傾斜部分(リード23に沿って半田24が盛り上がる部分)からの反射光に比べて強く入射するように、構成されている。
The
画像処理装置3は、例えばマイクロコンピュータであって、カメラ1の撮像画像を画像処理して半田24の状態を判定するように構成されている。画像処理装置3は、撮像画像のランド25内において所定輝度以上の高輝度領域を抽出する高輝度領域抽出部4と、撮像画像のランド25内に所定領域(特許請求の範囲に記載の「検査領域」に対応)を定義する検査ウィンドウを設定する検査ウィンドウ設定部5と、所定領域における高輝度領域の面積を算出する面積算出部6と、算出された高輝度領域の面積に基づいて半田24の状態を判定する判定部7とを有する。ここで、半田の状態とは、検査によって調べた、半田の三次元的な形状を示す。
The
画像処理装置3の高輝度領域抽出部4は、例えば、256階調のグレースケール画像である撮像画像のランド25内(ランド25の外周内の領域)において、所定階調以上の領域を高輝度領域として抽出する。例えば、図2に示すように、ランド25内において、高輝度領域30が抽出される。なお、31は、高輝度領域30を除いた領域、すなわち所定階調未満の低輝度領域である。
The high brightness
検査ウィンドウ設定部5が設定する検査ウィンドウ32は、撮影画像において半田24の検査に使用する領域を定義するウィンドウである。すなわち、検査ウィンドウ32内が検査に使用する領域である。また、検査ウィンドウ32は、図2に点線によって示すように、リング形状であって、その中心がリード穴21の中心に一致するように設定される。なお、検査ウィンドウ32の具体的な形状を決定する内周の大きさ(直径)と外周の大きさ(直径)とについては後述する。
The
面積算出部6は、検査ウィンドウ32内における高輝度領域の面積を算出する。例えば、図2に示す場合、検査ウィンドウ32内に高輝度領域30が含まれていないので、面積算出部6は、高輝度領域の面積をゼロ(高輝度領域の面積比0%)と算出する。
The
判定部7は、面積算出部6が算出した高輝度領域の面積に基づいて、半田24の状態を判定する。判定部7は、面積算出部6が算出した高輝度領域の面積が所定のしきい値以上(例えば、検査ウィンドウ32の面積に対して、高輝度領域の面積比が50%以上)である場合、半田24を「不良品」と判定する。なお、高輝度領域の面積が所定のしきい値以上であるときに半田24を「不良品」と判定する理由については後述する。
The
ここからは、検査ウィンドウ32の詳細について図3および図4を参照しながら説明する。
From here, the details of the
図3(a)、図3(e)、図3(i)、図3(m)は、異なる形状の半田24の断面を示している。また、図3(b)、図3(f)、図3(j)、図3(n)は、半田24の各形状に対応する、カメラ1の撮像画像、具体的には画像処理装置3の高輝度領域抽出部4が抽出した高輝度領域30を示している。さらに、図3(c)、図3(g)、図3(k)、図3(o)は、カメラ1の撮像画像に検査ウィンドウ32(点線)を設定した様子を示している。なお、比較例として、図3(d)、図3(h)、図3(l)、図3(p)に、従来の検査ウィンドウ(特許文献1)をカメラ1の撮影画像に設定した様子も示している。
3 (a), 3 (e), 3 (i), and 3 (m) show cross sections of
図3(a)は、電子部品22のリード23のリード穴21からの突出量と半田24の量とが適量であって、さらにリード23の先端が半田24から突出して露出している、いわゆる「良品」の半田24の状態を示している。半田24は、ランド25の周縁からリード23に近づくにしたがって平坦から徐々に立ち上がり(盛り上がり)、リード23に沿って急激に立ち上がる形状となっている。すなわち、半田24の傾斜は、リード23に向けて二次関数的に大きくなっている。
In FIG. 3A, the amount of protrusion of the
図3(a)に示すような半田24の状態である場合、図3(b)に示すように、高輝度領域30として、撮影画像のランド25内において、リード23の直径と略同一直径の高輝度領域30aと、リード穴21の直径に比べて大きい内径のリング形状の高輝度領域30bとが、間に低輝度領域31を挟んで出現する。この高輝度領域30aは、リード23の先端面からの反射光の多くがカメラ1に入射することによって出現する。一方、高輝度領域30bは、ランド25上の半田24の平坦部分からの反射光の多くがカメラ1に入射することによって出現する。これに対して、低輝度領域31は、リード23の傾斜部分から、カメラ1に向かう方向以外の方向に反射光が反射するために出現する。
In the state of the
図3(e)は、リード23のリード穴21からの突出量が少なく、また半田24の量が過多である、さらにリード23の先端が半田24から突出していない、いわゆる「不良品」の半田24の状態を示している。半田24は、ランド25の周縁から急激に立ち上がり、リード23に近づくにしたがってその傾斜が緩やかになり、リード23の先端を完全に覆っている。
FIG. 3E shows a so-called “defective product” solder in which the amount of protrusion of the lead 23 from the
図3(e)に示すような半田24の状態である場合、図3(f)に示すように、リード穴21より大きい高輝度領域30が中央に出現し、その外側に低輝度領域31が出現する。これは、半田24の頭頂部の傾斜が緩やかなためである。
In the state of the
図3(i)は、リード23のリード穴21からの突出量が不足し、また半田24の量が適量または適量より僅少である、さらにリード23の先端面上に半田24が薄く広がる(場合によってはリード23の一部がわずかに見える)、いわゆる「不良品」の半田24の状態を示している。半田24は、ランド25の周縁からリード23に向かって緩やかに盛り上がっている。
FIG. 3I shows that the amount of protrusion of the lead 23 from the
図3(i)に示すような半田24の状態である場合、図3(j)に示すように、リード23の直径よりわずかに大きい直径の低輝度領域31が中央に出現し、その外側に高輝度領域30が出現する。これは、リード23の先端面上において半田24が略完全平面になって鏡面を構成し、リード23の先端面からの反射光が、カメラ1に向かう方向と異なる一方向のみに進行するためである。すなわち、リード23の先端面に当たった光が様々な方向に拡散して反射することがないために起こる。
In the state of the
図3(m)は、リード23のリード穴21からの突出量が大きく不足し、また半田24の量が過少である、さらにリード23の先端が半田24から突出していない、いわゆる「不良品」の半田24の状態を示している。半田24は、略平坦状態である。
FIG. 3M shows a so-called “defective product” in which the amount of protrusion of the lead 23 from the
図3(m)に示すような半田24の状態である場合、図3(n)に示すように、撮影画像のランド25内全体にわたって高輝度領域30が出現する。これは、半田24が略平坦状態であることによる。
In the state of the
検査ウィンドウ32は、図3(a)、図3(e)、図3(i)、および図3(m)に示す半田24の状態を識別できるようにするために、その外周が、リード穴21の直径と同一の直径の外周とされている。また、検査ウィンドウ32の内周は、リード23の直径、または、好ましくはリード23の直径とリード穴21の径方向の電子部品22の実装誤差との和と同一の直径の内周とされている。
In order to be able to identify the state of the
なお、ここで言う「リード穴21の直径」は、リード穴21の公差の範囲の直径または許容最小直径以上であって許容最大直径以下の間の直径を言う。また、「リード23の直径」は、リード23の公差の範囲の直径または許容最小直径以上であって許容最大直径以下の間の直径を言う。さらに、「径方向の電子部品22の実装誤差」は、電子部品22のリード23をリード穴21に挿入したときに、リード23の中心とリード穴21の中心との間の許容できるリード穴径方向の距離を言う。
The “diameter of the
図3(a)に示すような半田24の状態である場合、図3(c)に示すように、検査ウィンドウ32内は低輝度領域31である。したがって、画像処理装置の面積測定部6が高輝度領域30の面積を、例えば0%と算出し、判定部7が半田24を「良品」と判定する。
In the state of the
図3(e)に示すような半田24の状態である場合、図3(g)に示すように、検査ウィンドウ32内は高輝度領域30である。したがって、画像処理装置の面積測定部6が高輝度領域30の面積を、例えば100%と算出し、判定部7が半田24を「不良品」と判定する。
In the state of the
図3(i)に示すような半田24の状態である場合、図3(k)に示すように、検査ウィンドウ32内は高輝度領域30である。したがって、半田24は「不良品」と判定される。
In the state of the
図3(m)に示すような半田24の状態である場合、図3(o)に示すように、検査ウィンドウ32内は高輝度領域30である。したがって、半田24は「不良品」と判定される。
In the state of the
なお、図3(d)に比較例として示すように、リード21穴の直径と同一の直径である円形状の従来の検査ウィンドウ132(特許文献1の検査ウィンドウ)を採用すると、図3(a)に示すような半田24の状態である場合、リード23の直径や判定部7が判定するときの基準である所定しきい値の値によっては、半田24が「不良品」と誤判定される。
As shown in FIG. 3D as a comparative example, when a circular conventional inspection window 132 (inspection window of Patent Document 1) having the same diameter as the diameter of the
また、図3(h)に比較例として示すように、従来の検査ウィンドウ132を使用すると、図3(e)に示すような半田24の状態である場合、半田24は「不良品」と判定される。
Further, as shown in FIG. 3H as a comparative example, when the
さらに、図3(l)に比較例として示すように、従来の検査ウィンドウ132を使用すると、図3(i)に示すような半田24の状態である場合、リード23の直径や判定部7が判定するときの基準である所定しきい値の値によっては、半田24は「良品」と誤判定される。
Further, as shown in FIG. 3 (l) as a comparative example, when the
さらにまた、図3(p)に比較例として示すように、従来の検査ウィンドウ132を使用すると、図3(m)に示すような半田24の状態である場合、半田24は「不良品」と判定される。
Furthermore, as shown in FIG. 3 (p) as a comparative example, when the
ここからは、検査ウィンドウ32の内周と外周とについての補足説明を、図4を参照しながら行う。
From here, the supplementary explanation about the inner periphery and the outer periphery of the
図4(a)は電子部品22のリード23がリード穴21の中心に位置しているときの半田24の状態を示し、図4(b)は、図4(a)に対応する、カメラ1の撮像画像に検査ウィンドウ32(点線)を設定した様子を示している。図4(a)に示す検査ウィンドウ32は、その内周の直径が電子部品22のリード23の直径である。このとき、検査ウィンドウ32内は低輝度領域31である。
4A shows the state of the
図4(c)に示すように電子部品22のリード23がリード穴21の中心から許容範囲内でずれると、図4(d)に示すように検査ウィンドウ32内に部分的に高輝度領域30aが含まれる。このような場合を想定し(すなわち、このような場合に半田24の状態を「良品」にもかかわらず「不良品」と判定しないように)、画像処理装置3の判定部7は構成されている(所定しきい値が決定されている)。例えば、検査ウィンドウ32内に50%以上の高輝度領域30が含まれる場合に「不良品」と判定するように、判定部7は構成されている。これは、幾何学的に説明すれば、検査ウィンドウ32のようなリングに該リングに包囲される大きさ(リングの内周より小さい直径)のサークルを重ねた場合、リングとサークルとが重なる面積は、確実にリングの面積の50%以下であることに基づいている。
When the
より好ましくは、検査ウィンドウ32の内周の直径は、電子部品22のリード23がリード穴21の中心から許容範囲内でずれることを想定した直径にするのがよい。すなわち、上述したように、検査ウィンドウ32の内周の直径を、リード23の直径とリード穴21の径方向の電子部品22の実装誤差との和と同一の直径にするのがよい。これにより、図4(f)に示すように、リード23がリード穴21の中心からずれても、検査ウィンドウ32内に高輝度領域30aがほとんど含まれない。このような検査ウィンドウ32を採用することにより、高精度に半田24の状態を検査することができる。
More preferably, the diameter of the inner periphery of the
次に、検査ウィンドウ32の外周について説明する。
Next, the outer periphery of the
図4(g)は、図4(a)に比べて半田24の量がわずかに少ない、「良品」の半田24の状態を示している。この場合、半田24は、図4(a)に比べてランド25上において平坦状態になり、それにより図4(h)に示すように、外側の高輝度領域30bが図4(b)に比べて厚くなる。
FIG. 4G shows a state of “good”
図4(g)に示すような半田24の状態の場合に、検査ウィンドウ32の外周がリード穴21に比べて大きいと、図4(h)に示すように検査ウィンドウ32内は高輝度領域30bを含むことになる。そして、そのために、「良品」であるにもかかわらず、図4(g)に示すような半田24の状態を「不良品」と誤判定することになる。したがって、検査ウィンドウ32の外周の直径は、ランド25の外周直径および内周直径の間の中間の直径より小さくするのがよく、より好ましくは、ランド25の内周の直径以下、すなわちリード穴21の直径以下にするのがよい。
When the outer periphery of the
なお、現実的には、リード23の直径やリード穴21の径にはバラツキがあるので、検査ウィンドウ32の内周および外周の径は適宜変更される。そのために、画像処理装置3の検査ウィンドウ設定部5は、検査ウィンドウ32の内周および外周の径を変更可能に構成されているのが好ましい。
In reality, since the diameter of the
次に、以上の説明してきた検査ウィンドウ32を使用する、半田検査装置による半田24の状態の外観検査の一例の流れについて、図5に示すフローチャートを参照しながら説明する。図5に示すフローチャートは、1つの半田24に対する検査の流れを示している。
Next, the flow of an example of the appearance inspection of the state of the
まず、ステップS1において、リング照明2を点灯して半田24に光を照射する。そしてカメラ1によって半田24を撮像する。
First, in step S1, the
次に、ステップS2において、画像処理装置3の高輝度領域抽出部4は、カメラ1の撮影画像のランド25内において所定輝度以上の高輝度領域を抽出する。例えば、図2に示すように、高輝度領域30を抽出する。
Next, in step S <b> 2, the high luminance
続いて、ステップS3において、画像処理装置3の検査ウィンドウ設定部5が、図2に示すように、ランド25内に検査ウィンドウ32を設定する。
Subsequently, in step S3, the inspection
続いて、ステップS4において、画像処理装置3の面積算出部6が、検査ウィンドウ32内における高輝度領域の面積を算出する。
Subsequently, in step S <b> 4, the
続いて、ステップS5において、画像処理装置3の判定部7が、ステップS4で算出された高輝度領域面積が所定しきい値以上か否かを判定する。高輝度領域面積が所定しきい値以上である場合、ステップS6に進み、半田24の状態が「不良品」であると判定する。高輝度領域面積が所定しきい値以上でない場合、ステップS7に進み、半田24の状態が「良品」であると判定する。判定部7による半田24の状態の判定が完了すると、1つの半田24に対する外観検査が完了する。
Subsequently, in step S5, the
本実施の形態によれば、リード23の先端形状やリード付き電子部品22の実装誤差に影響されることなく高精度に半田24の状態を外観検査することができる。また、検査がカメラ1の撮影画像に基づいて行われるため、半田24の形状を3次元測定する場合に比べて、高速に複数の半田24の状態を検査することが可能になる。
According to the present embodiment, the appearance of the
(実施の形態2)
本実施の形態と実施の形態1の違いは、検査ウィンドウの数であり、本実施の形態は2つの検査ウィンドウを使用する。その理由は後述する。なお、本実施の形態は、画像処理装置の検査ウィンドウ設定部、面積測定部、および判定部が実施の形態1と異なるだけなので、ここではその異なる点について説明する。
(Embodiment 2)
The difference between the present embodiment and the first embodiment is the number of inspection windows, and this embodiment uses two inspection windows. The reason will be described later. Note that the present embodiment is different from the first embodiment only in the inspection window setting unit, the area measurement unit, and the determination unit of the image processing apparatus, and only the differences will be described here.
図6は半田24の状態、カメラ1の撮影画像、および検査ウィンドウの対応関係を示している。
FIG. 6 shows the correspondence between the state of the
図6(a)に示す半田24の状態は図3(a)と同一であって、また、図6(d)と図3(e)とが同一、図6(g)と図3(i)とが同一、図6(j)と図3(m)とが同一である。
The state of the
さらに、図6(b)に示すカメラ1の撮影画像は図3(b)と同一であって、また、図6(e)と図3(f)とが同一、図6(h)と図3(j)とが同一、図6(k)と図3(n)とが同一である。
Furthermore, the captured image of the
図6(c)、図6(f)、図6(i)、および図6(l)に示すように、本実施の形態の画像処理装置3の検査ウィンドウ設定部5は、2つの検査ウィンドウ32,33を設定する。
As shown in FIG. 6C, FIG. 6F, FIG. 6I, and FIG. 6L, the inspection
内側に位置する第1の検査ウィンドウ32は、実施の形態1と同じである。ただし、外周の直径は、リード穴21の直径である。
The
外側に位置する第2の検査ウィンドウ33は、第1の検査ウィンドウ32と同様にリング形状であって、リード穴21と同心である。また、その外周の直径は、ランド25の外周直径および内周直径の間の中間の直径より小さい。なお、第2の検査ウィンドウ33の内周の直径は、第1の検査ウィンドウ32の外周の直径より大きければよく、細かい条件は特に規定しない。
The
画像処理装置3の面積測定部6は、2つの検査ウィンドウ32,33それぞれについて高輝度領域の面積を算出する。
The
画像処理装置3の判定部7は、面積算出部6が算出した2つの検査ウィンドウ32,33内の高輝度領域の面積に基づいて、半田24の状態を判定する。判定部7は、2つの検査ウィンドウ32,33の少なくとも一方において、面積算出部6が算出した高輝度領域の面積が所定しきい値以上である場合に半田24の状態を「不良品」と判定する。
The
具体的に説明すると、図6(a)に示すような半田24の状態である場合、図6(c)に示すように、2つの検査ウィンドウ32,33内は、ともに低輝度領域31である。したがって、この場合、画像処理装置3の判定部7は、半田24の状態を「良品」と判定する。
More specifically, in the state of the
図6(d)に示すような半田24の状態である場合、図6(f)に示すように、内側の第1の検査ウィンドウ32内が高輝度領域30であって、外側の第2の検査ウィンドウ33内が低輝度領域31である。したがって、この場合、画像処理装置3の判定部7は、半田24の状態を「不良品」と判定する。
In the state of the
図6(g)に示すような半田24の状態である場合、図6(i)に示すように、内側の第1の検査ウィンドウ32内が部分的に高輝度領域30であって、外側の第2の検査ウィンドウ33内が高輝度領域30である。したがって、この場合、画像処理装置3の判定部7は、半田24の状態を「不良品」と判定する。
In the state of the
図6(j)に示すような半田24の状態である場合、図6(l)に示すように、2つの検査ウィンドウ32,33内は、ともに高輝度領域30である。したがって、画像処理装置3の判定部7は、半田24の状態を「不良品」と判定する。
In the state of the
2つの検査ウィンドウ32,33を設定する理由は、図6(d)に示すような半田24の状態と、図6(g)に示すような半田24の状態とを識別するためである。
The reason for setting the two
図6(e)と図6(h)を参照すれば、高輝度領域30の配置が正反対であることが分かる。図6(d)に示すような半田24の状態の場合には高輝度領域30が中央に位置し、これに対し、図6(g)に示すような半田24の状態の場合には高輝度領域30が周縁に位置する。この場合、図6(d)と図6(g)の半田24の状態を1つの検査ウィンドウによって識別する場合、検査ウィンドウの内周および外周の直径を非常に厳しく設定しなければならない。さもなくば、例えば、検査ウィンドウが図6(f)に示すような低輝度領域31に位置し、そのために半田24の状態を「良品」と誤判定する可能性がある。すなわち、半田24の状態の検査の精度が低精度になる。したがって、これらを考慮して、2つの検査ウィンドウ32,33が設定されている。
With reference to FIG. 6E and FIG. 6H, it can be seen that the arrangement of the
次に、2つの検査ウィンドウ32,33を使用する、本実施の形態の半田24の状態の外観検査の一例の流れを、図7に示すフローチャートを参照しながら説明する。
Next, the flow of an example of the appearance inspection of the state of the
まず、ステップS21において、図5に示す実施の形態1のステップS1と同様に、リング照明2を点灯して半田24に光を照射する。そしてカメラ1によって半田24を撮像する。
First, in step S21, as in step S1 of the first embodiment shown in FIG. Then, the
次に、ステップS22において、実施の形態1のステップ2と同様に、画像処理装置3の高輝度領域抽出部4は、カメラ1の撮影画像のランド25内において所定輝度以上の高輝度領域を抽出する。
Next, in step S22, as in
続いて、ステップS23において、画像処理装置3の検査ウィンドウ設定部5が、ランド25内に第1(内側)の検査ウィンドウ32を設定する。
Subsequently, in step S <b> 23, the inspection
続いて、ステップS24において、画像処理装置3の検査ウィンドウ設定部5が、ランド25内に第2(外側)の検査ウィンドウ33を設定する。
Subsequently, in step S <b> 24, the inspection
続いて、ステップS25において、画像処理装置3の面積算出部6が、2つの検査ウィンドウ32,33内における高輝度領域の面積を算出する。
Subsequently, in step S <b> 25, the
続いて、ステップS26において、画像処理装置3の判定部7が、ステップS25で算出された2つの検査ウィンドウ内の高輝度領域面積の少なくとも一方が所定しきい値以上か否かを判定する。少なくとも一方が高輝度領域面積が所定しきい値以上である場合、ステップS27に進み、半田24の状態が「不良品」であると判定する。そうでない場合、ステップS28に進み、半田24の状態が「良品」であると判定する。判定部7による半田24の状態の判定が完了すると、1つの半田24に対する検査が完了する。
Subsequently, in step S26, the
本実施の形態によれば、2つの検査ウィンドウ32,33を設定することにより、図6(d)と図6(g)に示すような半田24の状態を確実に識別することができるため、実施の形態1に比べて高精度に半田24の状態を検査できる。
According to the present embodiment, by setting the two
(実施の形態3)
本実施の形態は、実施の形態2の改良形態であって、電子部品のリードがクリンチ(屈曲)されている場合に対応するものである。
(Embodiment 3)
The present embodiment is an improved form of the second embodiment and corresponds to the case where the lead of the electronic component is clinched (bent).
図8は、本実施の形態に半田検査装置の構成を概略的に示している。実施の形態2と異なる点は、面積算出部6とマスク設定部8である。したがって、面積算出部6とマスク設定部8を主に説明する。
FIG. 8 schematically shows the configuration of the solder inspection apparatus according to the present embodiment. The difference from the second embodiment is an
図9は、半田24の形状、カメラ1の撮影画像、検査ウィンドウおよびマスクの対応関係を示している。
FIG. 9 shows the correspondence between the shape of the
図9(a)に示すように、電子部品22のリード23はクリンチされている(屈曲されている)。
As shown in FIG. 9A, the
図9(a)に示すようにリード23がクリンチされると、リード23の屈曲部分より先端側部分からの反射により、図9(b)に示すように、中央からリード23のクリンチ方向と逆方向に向かって延びる高輝度領域30dが出現する。
When the
図9(b)に示すようにリード23のクリンチ由来の高輝度領域30dが出現した状態で、実施の形態2のように半田24の状態の外観検査を実施すると、「良品」にもかかわらず「不良品」と誤判定する可能性がある。
As shown in FIG. 9B, when the appearance inspection of the state of the
例えば、図9(c)に示すように内側の第1の検査ウィンドウ32と外側の第2の検査ウィンドウ33とに高輝度領域30dが含まれるために、画像処理装置3の判定部7が「不良品」と誤判定する可能性がある。
For example, as shown in FIG. 9C, the high-
この対処として、本実施の形態の画像処理装置3は、リード23がクリンチされている場合、図9(d)に示すように、リード23のクリンチ方向と逆方向をマスクする、すなわちマスクされた撮影画像の領域を検査に利用しないようにするマスク34を設定するマスク設定部8を有する。
As a countermeasure, when the
マスク設定部8によって設定されるマスク34は、リード23のクリンチ方向と逆方向に延びる高輝度領域30dをマスクする扇形状であって、リード穴21の中心から反クリンチ方向に延びている。扇形状の角度は0〜180°の範囲の角度であって、具体的な角度はクリンチの角度によって決定される。なお、マスク34は、扇形状以外の形状であってもよく、リード穴21の中心より反クリンチ方向側を少なくとも部分的に、すなわち反クリンチ方向側に現れる高輝度領域30dを少なくとも部分的にマスクできる形状であればよい。
The
このようなマスク34により、図9(d)に示すようにクリンチによって現れる高輝度領域30dを除いて、第1および第2の検査ウィンドウ32,33を使用して半田24の状態を検査することができる。例えば、図9(d)の場合、両方の検査ウィンドウ32,33内の高輝度領域が50%以下になるので、画像処理装置3の判定部7は「良品」と正しく判定する。
With such a
次に、リード23がクリンチされている場合における、2つの検査ウィンドウ32,33を使用する、本実施の形態の半田24の状態の外観検査の一例の流れを、図10に示すフローチャートを参照しながら説明する。
Next, the flow of an example of the appearance inspection of the state of the
まず、ステップS31において、図5に示す実施の形態1のステップS1と同様に、リング照明2を点灯して半田24に光を照射する。そしてカメラ1によって半田24を撮像する。
First, in step S31, as in step S1 of the first embodiment shown in FIG. Then, the
次に、ステップS32において、実施の形態1のステップ2と同様に、画像処理装置3の高輝度領域抽出部4は、カメラ1の撮影画像のランド25内において所定輝度以上の高輝度領域を抽出する。
Next, in step S32, as in
続いて、ステップS33において、マスク設定部8が、図9(d)に示すように、マスク34を設定する。
Subsequently, in step S33, the mask setting unit 8 sets a
続いて、ステップS34において、マスク34が設定された撮影画像の領域を除外する。
Subsequently, in step S34, the region of the captured image in which the
続いて、ステップS35において、画像処理装置3の検査ウィンドウ設定部5が、ランド25内に第1(内側)の検査ウィンドウ32を設定する。
Subsequently, in step S <b> 35, the inspection
続いて、ステップS36において、画像処理装置3の検査ウィンドウ設定部5が、ランド25内に第2(外側)の検査ウィンドウ33を設定する。
Subsequently, in step S <b> 36, the inspection
続いて、ステップS37において、画像処理装置3の面積算出部6が、2つの検査ウィンドウ32,33内における高輝度領域の面積を算出する。
Subsequently, in step S <b> 37, the
続いて、ステップS38において、画像処理装置3の判定部7が、ステップS37で算出された2つの検査ウィンドウ内の高輝度領域面積の少なくとも一方が所定しきい値以上か否かを判定する。少なくとも一方が高輝度領域面積が所定しきい値以上である場合、ステップS39に進み、半田24の状態が「不良品」であると判定する。そうでない場合、ステップS40に進み、半田24の状態が「良品」であると判定する。判定部7による半田24の状態の判定が完了すると、1つの半田24に対する検査が完了する。
Subsequently, in step S38, the
本実施の形態によれば、マスク設定部8が設定するマスク34により、電子部品22のリード23がクリンチされていても高精度に半田24の状態を検査できる。
According to the present embodiment, the state of the
以上、3つの実施の形態を挙げて本発明を説明したが、本発明は、これら3つの実施の形態に限定されない。 Although the present invention has been described with reference to the three embodiments, the present invention is not limited to these three embodiments.
例えば、上述の実施の形態の場合、検査ウィンドウ内の撮影画像領域全てを用いて半田の状態を検査しているが、本発明はこれに限らない。広義には、検査に使用する撮影画像の領域(検査領域)は、撮像画像におけるリードの外周より外側の領域の少なくとも一部分であればよい。また、必ずしも連続した領域である必要はない。例えば、図3(c)に示すような内径がリードの直径と同一であって外径がリード穴の直径と同一であるリング形状の領域内において、間隔をあけて配置される複数の独立した領域を検査に使用する検査領域としてもよい。例えば、90度ずつ間隔を開けて配置される4つの独立した領域であってもよい。 For example, in the above-described embodiment, the state of solder is inspected using the entire captured image area in the inspection window, but the present invention is not limited to this. In a broad sense, the area of the captured image (inspection area) used for the inspection may be at least a part of the area outside the outer periphery of the lead in the captured image. Further, it is not necessarily a continuous area. For example, as shown in FIG. 3 (c), a plurality of independent pieces arranged at intervals in a ring-shaped region where the inner diameter is the same as the lead diameter and the outer diameter is the same as the lead hole diameter. The region may be an inspection region used for inspection. For example, it may be four independent regions arranged at intervals of 90 degrees.
また、上述の実施の形態の場合、画像処理装置の判定部は、半田の状態を「良品」または「不良品」と判定するように構成されているが、本発明はこれに限定されない。本発明は、図3(a)、図3(e)、図3(i)、図3(m)に示すように、4つの半田の状態を識別できるので、画像処理装置の判定部を「良品」、「不良品1」、「不良品2」、または「不良品3」の少なくとも1つを判定結果として出力するように構成してもよい。これによれば、「不良品1」、「不良品2」、「不良品3」とそれぞれ判定されたときの対応策を予め決めておくことにより、判定部による「不良品」との判定後、「不良品」と判定された半田を確認することなく、すぐに対応策を実行することができる。
In the embodiment described above, the determination unit of the image processing apparatus is configured to determine the solder state as “good” or “defective”, but the present invention is not limited to this. In the present invention, as shown in FIGS. 3A, 3E, 3I, and 3M, the four solder states can be identified. At least one of “non-defective product”, “
本発明は、基板のリード穴に装通された電子部品のリードと該基板とを接合する半田の状態を検査する方法であるので、電子基板の半田外観検査に適用することができる。 Since the present invention is a method for inspecting the state of solder that joins a lead of an electronic component inserted into a lead hole of the substrate and the substrate, it can be applied to a solder appearance inspection of an electronic substrate.
1 カメラ
2 リング照明
20 基板
21 リード穴
22 電子部品
23 リード
24 半田
25 ランド
30 高輝度領域
31 低輝度領域
32 検査ウィンドウ
DESCRIPTION OF
Claims (4)
する半田検査方法であって、
上方からの光が照射された前記半田をカメラによって撮像し、
前記カメラの撮像画像内の検査領域の輝度に基づいて前記半田の状態を検査するに際し、
前記検査領域が、前記撮像画像における前記電子部品のリードの外周より外側の領域の少なくとも一部分を含み、
前記検査領域が、前記リード穴と同心のリング形状の検査領域であって、その内径が前記リード穴の径方向の前記電子部品の実装誤差と前記リードの直径との和である
半田検査方法。 A solder inspection method for inspecting a state of solder for joining a lead of an electronic component inserted into a lead hole of a substrate and the substrate,
Take an image of the solder irradiated with light from above with a camera,
When inspecting the state of the solder based on the luminance of the inspection area in the captured image of the camera,
The examination region, see contains at least a portion of the outer periphery than the outer region of the electronic component leads in the captured image,
The inspection area is a ring-shaped inspection area concentric with the lead hole, and an inner diameter thereof is a sum of a mounting error of the electronic component in a radial direction of the lead hole and a diameter of the lead. Solder inspection method.
する半田検査方法であって、
上方からの光が照射された前記半田をカメラによって撮像し、
前記カメラの撮像画像内の検査領域の輝度に基づいて前記半田の状態を検査するに際し、
前記検査領域が、前記撮像画像における前記電子部品のリードの外周より外側の領域の少なくとも一部分を含み、
前記検査領域が、前記リード穴と同心のリング形状の検査領域であって、その外径が前記リード穴の直径と同一である
半田検査方法。 Inspection of the state of solder that joins the lead of the electronic component inserted into the lead hole of the substrate and the substrate
A solder inspection method,
Take an image of the solder irradiated with light from above with a camera,
When inspecting the state of the solder based on the luminance of the inspection area in the captured image of the camera,
The inspection area includes at least a part of an area outside the outer periphery of the lead of the electronic component in the captured image;
The examination region, wherein a test area of the lead hole and concentric ring-shaped, Ru same der the diameter of the outer diameter of the lead hole
Half field inspection method.
2つのリング形状の検査領域それぞれにおける反射光の光量に基づいて前記半田の状態を検査する
請求項1または2に記載の半田検査方法。 Defining a second ring-shaped inspection area surrounding the ring-shaped inspection area;
Solder inspection method according to claim 1 or 2, wherein inspecting the solder state on the basis of the amount of reflected light in the inspection region each of the two ring-shaped.
請求項3に記載の半田検査方法。 The solder inspection method according to claim 3 , wherein the solder state is determined to be defective when at least one of the luminances of the two ring-shaped inspection regions exceeds a predetermined luminance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010138145A JP5546364B2 (en) | 2010-06-17 | 2010-06-17 | Solder inspection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010138145A JP5546364B2 (en) | 2010-06-17 | 2010-06-17 | Solder inspection method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012002681A JP2012002681A (en) | 2012-01-05 |
JP5546364B2 true JP5546364B2 (en) | 2014-07-09 |
Family
ID=45534828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010138145A Expired - Fee Related JP5546364B2 (en) | 2010-06-17 | 2010-06-17 | Solder inspection method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5546364B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5580120B2 (en) * | 2010-07-07 | 2014-08-27 | 矢崎総業株式会社 | Board inspection equipment |
JP5580121B2 (en) * | 2010-07-08 | 2014-08-27 | 矢崎総業株式会社 | Board inspection equipment |
CN107796820B (en) * | 2017-09-30 | 2020-08-18 | 广州兴森快捷电路科技有限公司 | Method and device for automatically detecting bonding pad |
EP3822619A4 (en) * | 2018-07-13 | 2021-07-21 | Fuji Corporation | Foreign matter detection method and electronic component mounting device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62299709A (en) * | 1986-06-20 | 1987-12-26 | Matsushita Electric Works Ltd | Inspecting method for outward appearance of solder |
JPH07191016A (en) * | 1993-12-27 | 1995-07-28 | Matsushita Electric Ind Co Ltd | Method and device for inspecting plated-through soldered joint |
JP3197443B2 (en) * | 1994-11-21 | 2001-08-13 | 松下電工株式会社 | Soldering inspection method and hole and lead missing inspection method |
JP3247302B2 (en) * | 1996-09-13 | 2002-01-15 | 株式会社豊田中央研究所 | Soldering inspection equipment |
JPH11118441A (en) * | 1997-10-20 | 1999-04-30 | Sanmei Denki Kk | Inspection device for solder appearance |
JP3454142B2 (en) * | 1998-02-26 | 2003-10-06 | トヨタ車体株式会社 | Soldering inspection equipment |
-
2010
- 2010-06-17 JP JP2010138145A patent/JP5546364B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2012002681A (en) | 2012-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR920005862B1 (en) | Method for inspection of solder joints by x-ray fluoroscopic image apparatus therefor and mounting construction of electronic parts on board | |
JP5256251B2 (en) | Inspection method of measurement object | |
US5592562A (en) | Inspection system for cross-sectional imaging | |
JP4631460B2 (en) | X-ray inspection method | |
JP5546364B2 (en) | Solder inspection method | |
JP5660861B2 (en) | Foreign matter inspection method and foreign matter inspection apparatus on substrate | |
JP2011075470A (en) | Image processing program, image processing method, and image processing device | |
JP2011158363A (en) | Soldering inspection device for pga mounting substrate | |
KR100304649B1 (en) | Method for inspecting lead pins of IC package and apparatus therefor | |
JP4734650B2 (en) | Defect detection method and apparatus for cream solder printing | |
KR20160069489A (en) | Method of inspecting terminal of component formed on board and board inspection device | |
JP5584671B2 (en) | Board inspection method | |
JP2007258293A (en) | Device and method for solder wettability evaluation | |
JP4333349B2 (en) | Mounting appearance inspection method and mounting appearance inspection apparatus | |
JP4449596B2 (en) | Mounting board inspection equipment | |
JP6202739B2 (en) | Method for inspecting scattered solder balls on boards | |
JP2007242944A (en) | Method and device for evaluating solder wettability | |
JP2018017608A (en) | Method and device for inspecting circuit board | |
JP4158489B2 (en) | Soldering inspection device | |
JP4862149B2 (en) | Inspection method and apparatus for cream solder printing | |
JPH0437923B2 (en) | ||
JP2003224354A (en) | Soldering appearance inspection method and apparatus thereof | |
JP2010117142A (en) | Device and method for inspecting flaw | |
KR101066858B1 (en) | test method of flip chip solder using X-ray | |
JPH02150704A (en) | Object inspecting device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130415 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131129 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131203 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131220 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140507 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140513 |
|
LAPS | Cancellation because of no payment of annual fees |