JP2018179665A - Inspection method and inspection device - Google Patents

Inspection method and inspection device Download PDF

Info

Publication number
JP2018179665A
JP2018179665A JP2017077313A JP2017077313A JP2018179665A JP 2018179665 A JP2018179665 A JP 2018179665A JP 2017077313 A JP2017077313 A JP 2017077313A JP 2017077313 A JP2017077313 A JP 2017077313A JP 2018179665 A JP2018179665 A JP 2018179665A
Authority
JP
Japan
Prior art keywords
image
pattern
inspection
period
phase
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.)
Granted
Application number
JP2017077313A
Other languages
Japanese (ja)
Other versions
JP6894280B2 (en
Inventor
裕之 村田
Hiroyuki Murata
裕之 村田
鈴木 洋介
Yosuke Suzuki
洋介 鈴木
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.)
Saki Corp
Original Assignee
Saki 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 Saki Corp filed Critical Saki Corp
Priority to JP2017077313A priority Critical patent/JP6894280B2/en
Publication of JP2018179665A publication Critical patent/JP2018179665A/en
Application granted granted Critical
Publication of JP6894280B2 publication Critical patent/JP6894280B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an inspection method that can acquire highly accurate height information with a small number of shooting, and to provide an inspection device using the inspection method.SOLUTION: An inspection method packaged in an inspection device has the steps of: acquiring a short-cycle measurement image of an inspected body having a short-cycle stripe pattern projected; acquiring a stationary measurement image of a subject having a stationary pattern in synchronization with a long-cycle stripe pattern projected; detecting a position of an image of the stationary pattern from the stationary measurement pattern; determining a long-cycle phase serving as a phase of the image on the basis of a preliminarily acquired long-cycle reference image; determining a short-cycle phase serving as a phase of the image on the basis of a preliminarily acquired short-cycle reference image; and calculating a height of the inspected body from the long-cycle phase and the short-cycle phase for each position of the image.SELECTED DRAWING: Figure 4

Description

本発明は、被検査体の外観を検査するための検査方法、及びこの検査方法を用いた検査装置に関する。   The present invention relates to an inspection method for inspecting the appearance of an object to be inspected, and an inspection apparatus using this inspection method.

近年では、様々な機器に電子回路基板が実装されるようになってきているが、この種の電子回路基板が実装される機器においては、小型化、薄型化等が常に課題になっており、この点から、電子回路基板の実装の高密度化を図ることが要求されている。このような電子回路基板のハンダの塗布状態、電子部品の実装状態等を検査する検査装置においては、その精密性から位相シフト法が用いられる。位相シフト法では、長周期の縞パターンと短周期の縞パターンを用いて高さを測定するように構成されている(例えば、特許文献1参照)。   In recent years, electronic circuit boards have come to be mounted on various devices, but in devices on which this type of electronic circuit board is mounted, downsizing and thinning have always been an issue, From this point, it is required to increase the density of mounting of the electronic circuit board. In the inspection apparatus which inspects the application | coating state of the solder of such an electronic circuit board, the mounting state of an electronic component, etc., the phase shift method is used from the precision. The phase shift method is configured to measure the height using a long-period fringe pattern and a short-period fringe pattern (see, for example, Patent Document 1).

特開2012−053015号公報JP 2012-053015

しかしながら、上述したような長周期の縞パターンと短周期の縞パターンを投影した画像により高さを求める方法では、画像の撮像回数(高さを算出するための画像の枚数)が多くなり、検査のスループットが悪化するという課題があった。また、被検査体が明るい物体である場合、長周期の縞パターンを投影して撮像するとサチュレーションが発生しやすく、サチュレーションが発生した場合は再度撮像を行う必要があり、その場合、画像の撮像回数はその分増えるという課題もあった。より少ない撮像回数で高精度な高さ情報を求める手法も考案されているが、検査のスループットを向上させるために、撮像回数の更なる削減が要求されている。   However, in the method of obtaining the height from an image obtained by projecting the long-period stripe pattern and the short-period stripe pattern as described above, the number of times of image capturing (the number of images for calculating the height) increases. The problem is that the throughput of the Also, if the object to be inspected is a bright object, saturation tends to occur if a long-period stripe pattern is projected and imaged, and if saturation occurs, it is necessary to perform imaging again, in which case the number of times of imaging the image Also had the task of increasing that much. Although a method for obtaining high-precision height information with a smaller number of times of imaging has been devised, further reduction of the number of times of imaging is required in order to improve inspection throughput.

本発明はこのような課題に鑑みてなされたものであり、少ない撮像回数で高精度な高さ情報を取得することができる検査方法、及びこの検査方法を用いた検査装置を提供することを目的とする。   The present invention has been made in view of such problems, and an object of the present invention is to provide an inspection method capable of acquiring highly accurate height information with a small number of imaging times, and an inspection apparatus using this inspection method. I assume.

前記課題を解決するために、本発明に係る検査方法は、短周期の縞パターンが投影された被検査体の画像である短周期測定画像を取得するステップと、長周期の縞パターンに同期した固定パターンが投影された被検査体の画像である固定測定画像を取得するステップと、前記固定測定画像から、前記固定パターンの像の位置を検出するステップと、前記長周期の縞パターンが投影された基準平面の画像であって、予め取得されている長周期基準画像に基づいて、前記像の位置の位相である長周期位相を決定するステップと、前記短周期の縞パターンが投影された基準平面の画像であって、予め取得されている短周期基準画像に基づいて、前記像の位置の位相である短周期位相を決定するステップと、前記像の位置ごとに、前記長周期位相と、前記短周期位相とから、前記被検査体の高さを算出するステップと、を有することを特徴とする。   In order to solve the above problem, the inspection method according to the present invention is synchronized with the step of acquiring a short period measurement image which is an image of the inspection object onto which the short period fringe pattern is projected, and the long period fringe pattern. The step of acquiring a fixed measurement image which is an image of the inspection object onto which the fixed pattern is projected, the step of detecting the position of the image of the fixed pattern from the fixed measurement image, and the fringe pattern of the long period are projected Determining a long-period phase that is a phase of the position of the image based on a long-period reference image acquired in advance, and a reference on which the fringe pattern of the short period is projected Determining a short-period phase that is a phase of the position of the image based on a short-period reference image acquired in advance, and a long-period phase for each position of the image; Serial and a short-period phase, and having the steps of: calculating a height of the object to be inspected.

このような本発明に係る検査方法において、前記固定パターンは、ドットであることが好ましい。   In the inspection method according to the present invention, preferably, the fixed pattern is a dot.

また、このような本発明に係る検査方法において、前記固定パターンの像の位置を検出するステップは、前記固定測定画像を複数の領域に分割し、前記領域ごとに当該領域に含まれる前記像の位置を検出することが好ましい。   Further, in the inspection method according to the present invention, the step of detecting the position of the image of the fixed pattern divides the fixed measurement image into a plurality of regions, and for each of the regions, the images of the images included in the regions are divided. It is preferred to detect the position.

また、このような本発明に係る検査方法は、前記固定パターンの像の位置を検出するステップの前に、前記固定測定画像を2値化するステップを有することが好ましい。   Preferably, the inspection method according to the present invention includes the step of binarizing the fixed measurement image before the step of detecting the position of the image of the fixed pattern.

また、このような本発明に係る検査方法において、前記固定測定画像を2値化するステップは、前記短周期測定画像の輝度情報に基づいて、2値化の閾値を決定することが好ましい。   Further, in the inspection method according to the present invention, in the step of binarizing the fixed measurement image, it is preferable to determine a threshold of binarization based on luminance information of the short cycle measurement image.

また、本発明に係る検査装置は、被検査体に対してパターンを投射する投射ユニットと、前記パターンが投射された前記被検査体の画像を取得するカメラユニットと、前記画像を記憶する記憶部と、上述した検査方法により前記被検査体の高さを算出する制御ユニットと、を有することを特徴とする。   In addition, an inspection apparatus according to the present invention includes: a projection unit that projects a pattern on an inspection object; a camera unit that acquires an image of the inspection object on which the pattern is projected; and a storage unit that stores the image And a control unit that calculates the height of the inspection object by the inspection method described above.

本発明によれば、少ない撮像回数で高精度な高さ情報を取得することができる。   According to the present invention, highly accurate height information can be acquired with a small number of times of imaging.

検査装置の構成を説明するための説明図である。It is an explanatory view for explaining the composition of an inspection device. 基準平面の位相と測定した位相との関係を説明する説明図である。It is explanatory drawing explaining the relationship between the phase of a reference plane, and the measured phase. 縞パターンと固定パターンの関係を説明する説明図である。It is an explanatory view explaining a relation of a stripe pattern and a fixed pattern. 検査方法のフローチャートである。It is a flowchart of the inspection method. 固定パターンの像の位置を検出する方法を説明する説明図である。It is explanatory drawing explaining the method to detect the position of the image of a fixed pattern.

以下、本発明の好ましい実施形態について図面を参照して説明する。まず、図1を用いて本実施形態に係る検査装置10の構成について説明する。この検査装置10は、被検査体12を撮像して得られる被検査体画像を使用して被検査体12を検査する装置である。被検査体12は例えば、ハンダが塗布されている電子回路基板である。検査装置10は、ハンダの塗布状態の良否を被検査体画像に基づいて判定する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. First, the configuration of the inspection apparatus 10 according to the present embodiment will be described with reference to FIG. The inspection apparatus 10 is an apparatus for inspecting the inspection object 12 using an inspection object image obtained by imaging the inspection object 12. The inspection object 12 is, for example, an electronic circuit board to which a solder is applied. The inspection apparatus 10 determines the quality of the application state of the solder based on the inspection object image.

検査装置10は、被検査体12を保持するための検査テーブル14と、被検査体12を照明し撮像する撮像ユニット20と、検査テーブル14に対し撮像ユニット20を移動させるXYステージ16と、撮像ユニット20及びXYステージ16の作動を制御し、被検査体12の検査を実行するための制御ユニット30と、を含んで構成される。なお説明の便宜上、図1に示すように、検査テーブル14の被検査体配置面をXY平面とし、その配置面に垂直な方向(すなわち撮像ユニット20を構成するカメラユニット21による撮像方向(カメラユニット21の光学系の光軸方向))をZ方向とする。   The inspection apparatus 10 includes an inspection table 14 for holding the inspection object 12, an imaging unit 20 for illuminating and imaging the inspection object 12, an XY stage 16 for moving the imaging unit 20 with respect to the inspection table 14, and imaging And a control unit 30 for controlling the operation of the unit 20 and the XY stage 16 and performing an inspection of the inspection object 12. For convenience of explanation, as shown in FIG. 1, the inspection object disposition surface of the inspection table 14 is an XY plane, and the direction perpendicular to the disposition surface (ie, the imaging direction by the camera unit 21 configuring the imaging unit 20 (camera unit 21) is the Z direction.

撮像ユニット20は、XYステージ16の移動テーブル(図示せず)に取り付けられており、XYステージ16によりX方向及びY方向のそれぞれに移動可能である。XYステージ16は例えばいわゆるH型のXYステージである。よってXYステージ16は、Y方向に延びるY方向ガイドに沿って移動テーブルをY方向に移動させるY駆動部と、Y方向ガイドをその両端で支持しかつ移動テーブルとY方向ガイドとをX方向に移動可能に構成されている2本のX方向ガイドとX駆動部と、を備える。なおXYステージ16は、撮像ユニット20をZ方向に移動させるZ移動機構をさらに備えてもよいし、撮像ユニット20を回転させる回転機構をさらに備えてもよい。検査装置10は、検査テーブル14を移動可能とするXYステージをさらに備えてもよく、この場合、撮像ユニット20を移動させるXYステージ16は省略されてもよい。また、X駆動部及びY駆動部には、リニアモータやボールねじを用いることができる。   The imaging unit 20 is attached to a moving table (not shown) of the XY stage 16 and can be moved in the X direction and the Y direction by the XY stage 16. The XY stage 16 is, for example, a so-called H-type XY stage. Therefore, the XY stage 16 supports the Y drive unit for moving the movable table in the Y direction along the Y direction guide extending in the Y direction, supports the Y direction guide at its both ends, and moves the movable table and the Y direction guide in the X direction. It comprises two X-direction guides and an X-driving unit configured to be movable. The XY stage 16 may further include a Z movement mechanism for moving the imaging unit 20 in the Z direction, and may further include a rotation mechanism for rotating the imaging unit 20. The inspection apparatus 10 may further include an XY stage that allows the inspection table 14 to move. In this case, the XY stage 16 that moves the imaging unit 20 may be omitted. Moreover, a linear motor and a ball screw can be used for X drive part and Y drive part.

撮像ユニット20は、被検査体12の検査面(基板面)に対して垂直方向(Z軸方向)から撮像するカメラユニット21と、照明ユニット22と、投射ユニット23と、を含んで構成される。本実施形態に係る検査装置10においては、カメラユニット21、照明ユニット22、及び投射ユニット23は一体の撮像ユニット20として構成されていてもよい。この一体の撮像ユニット20において、カメラユニット21、照明ユニット22、及び投射ユニット23の相対位置は固定されていてもよいし、各ユニットが相対移動可能に構成されていてもよい。また、カメラユニット21、照明ユニット22、及び投射ユニット23は別体とされ、別々に移動可能に構成されていてもよい。   The imaging unit 20 includes a camera unit 21 for capturing an image in a direction (Z-axis direction) perpendicular to the inspection surface (substrate surface) of the inspection object 12, an illumination unit 22, and a projection unit 23. . In the inspection apparatus 10 according to the present embodiment, the camera unit 21, the illumination unit 22, and the projection unit 23 may be configured as an integral imaging unit 20. In the integrated imaging unit 20, the relative positions of the camera unit 21, the illumination unit 22, and the projection unit 23 may be fixed, or each unit may be configured to be relatively movable. Also, the camera unit 21, the illumination unit 22, and the projection unit 23 may be separated and configured to be separately movable.

カメラユニット21は、対象物の2次元画像を生成する撮像素子と、その撮像素子に画像を結像させるための光学系(例えばレンズ)とを含む。このカメラユニット21は例えばCCDカメラである。カメラユニット21の最大視野は、検査テーブル14の被検査体載置区域よりも小さくてもよい。この場合、カメラユニット21は、複数の部分画像に分割して被検査体12の全体を撮像する。制御ユニット30は、カメラユニット21が部分画像を撮像するたびに次の撮像位置へとカメラユニット21が移動されるようXYステージ16を制御する。制御ユニット30は、部分画像を合成して被検査体12の全体画像を生成する。   The camera unit 21 includes an imaging device that generates a two-dimensional image of an object, and an optical system (for example, a lens) for forming an image on the imaging device. The camera unit 21 is, for example, a CCD camera. The maximum visual field of the camera unit 21 may be smaller than the inspection subject mounting area of the inspection table 14. In this case, the camera unit 21 divides the image into a plurality of partial images and images the entire inspection object 12. The control unit 30 controls the XY stage 16 so that the camera unit 21 is moved to the next imaging position each time the camera unit 21 captures a partial image. The control unit 30 combines partial images to generate an entire image of the inspection object 12.

なお、カメラユニット21は、2次元の撮像素子に代えて、1次元画像を生成する撮像素子を備えてもよい。この場合、カメラユニット21により被検査体12を走査することにより、被検査体12の全体画像を取得することができる。   The camera unit 21 may include an imaging element that generates a one-dimensional image, instead of the two-dimensional imaging element. In this case, the entire image of the test object 12 can be acquired by scanning the test object 12 with the camera unit 21.

照明ユニット22は、カメラユニット21による撮像のための照明光を被検査体12の表面に投射するよう構成されている。照明ユニット22は、カメラユニット21の撮像素子により検出可能である波長域から選択された波長または波長域の光を発する1つまたは複数の光源を備える。照明光は可視光には限られず、紫外光やX線等を用いてもよい。光源が複数設けられている場合には、各光源は異なる波長の光(例えば、赤色、青色、及び緑色)を異なる投光角度で被検査体12の表面に投光するよう構成される。   The illumination unit 22 is configured to project illumination light for imaging by the camera unit 21 on the surface of the inspection object 12. The illumination unit 22 includes one or more light sources that emit light of a wavelength or a wavelength range selected from the wavelength range that can be detected by the imaging element of the camera unit 21. The illumination light is not limited to visible light, and ultraviolet light, X-rays, etc. may be used. When a plurality of light sources are provided, each light source is configured to project light of different wavelengths (for example, red, blue, and green) onto the surface of the inspection object 12 at different projection angles.

本実施形態に係る検査装置10において、照明ユニット22は、被検査体12の検査面に対し斜め方向から照明光を投射する側方照明源であって、本実施形態では、上位光源22a、中位光源22b及び下位光源22cを備えている。なお、本実施形態に係る検査装置10において、側方照明源である上位光源22a、中位光源22b及び下位光源22cはそれぞれリング照明源であり、カメラユニット21の光軸を包囲し、被検査体12の検査面に対し斜めに照明光を投射するように構成されている。これらの側方照明源である上位光源22a、中位光源22b及び下位光源22cの各々は、複数の光源が円環状に配置されて構成されていてもよい。また、側方照明源である上位光源22a、中位光源22b及び下位光源22cは、それぞれ、検査面に対して異なる角度で照明光を投射するように構成されている。   In the inspection apparatus 10 according to the present embodiment, the illumination unit 22 is a side illumination source that projects illumination light in an oblique direction with respect to the inspection surface of the inspection object 12, and in the present embodiment, the upper light source 22a The position light source 22b and the lower light source 22c are provided. In the inspection apparatus 10 according to the present embodiment, the upper light source 22a, the middle light source 22b, and the lower light source 22c, which are side illumination sources, are ring illumination sources, surround the optical axis of the camera unit 21, and are inspected The illumination light is projected obliquely to the inspection surface of the body 12. Each of the upper light source 22a, the middle light source 22b, and the lower light source 22c, which are the side illumination sources, may be configured by arranging a plurality of light sources in an annular shape. Further, the upper light source 22a, the middle light source 22b and the lower light source 22c, which are side illumination sources, are configured to project illumination light at different angles with respect to the inspection surface.

投射ユニット23は、被検査体12の検査面にパターンを投射する。パターンが投射された被検査体12は、カメラユニット21により撮像される。検査装置10は、撮像された被検査体12のパターン画像に基づいて被検査体の検査面の高さマップを作成する。制御ユニット30は、投射パターンに対するパターン画像の局所的な不一致を検出し、その局所的な不一致に基づいてその部位の高さを求める。つまり、投射パターンに対する撮像パターンの変化が、検査面上の高さ変化に対応する。   The projection unit 23 projects a pattern on the inspection surface of the inspection object 12. The inspection object 12 on which the pattern is projected is imaged by the camera unit 21. The inspection apparatus 10 creates a height map of the inspection surface of the inspection object based on the captured pattern image of the inspection object 12. The control unit 30 detects local inconsistencies in the pattern image with respect to the projection pattern, and determines the height of the portion based on the local inconsistencies. That is, the change in the imaging pattern with respect to the projection pattern corresponds to the change in height on the inspection surface.

投射パターンは、明線と暗線とが交互に周期的に繰り返される1次元の縞パターンであることが好ましい。投射ユニット23は、被検査体12の検査面に対し斜め方向から縞パターンを投影するよう配置されている。被検査体12の検査面における高さの非連続は、縞パターン画像においてパターンのずれとして表れる。よって、パターンのずれ量から高さ差を求めることができる。例えば、サインカーブに従って明るさが変化する縞パターンを用いるPMP(Phase Measurement Profilometry)法により制御ユニット30は高さマップを作成する。PMP法においては縞パターンのずれ量がサインカーブの位相差に相当する。   The projection pattern is preferably a one-dimensional stripe pattern in which bright lines and dark lines are alternately and periodically repeated. The projection unit 23 is arranged to project a stripe pattern from an oblique direction to the inspection surface of the inspection object 12. Discontinuities in height on the inspection surface of the inspection object 12 appear as pattern deviations in the fringe pattern image. Therefore, the height difference can be obtained from the amount of deviation of the pattern. For example, the control unit 30 creates a height map by PMP (Phase Measurement Profilometry) method using a fringe pattern in which the brightness changes according to a sine curve. In the PMP method, the shift amount of the fringe pattern corresponds to the phase difference of the sine curve.

投射ユニット23は、パターン形成装置と、パターン形成装置を照明するための光源と、パターンを被検査体12の検査面に投影するための光学系と、を含んで構成される。パターン形成装置は例えば、液晶ディスプレイ等のように所望のパターンを動的に生成しうる可変パターニング装置であってもよいし、ガラスプレート等の基板上にパターンが固定的に形成されている固定パターニング装置であってもよい。パターン形成装置が固定パターニング装置である場合には、固定パターニング装置を移動させる移動機構を設けるか、あるいはパターン投影用の光学系に調整機構を設けることにより、パターンの投影位置を可変とすることが好ましい。また、投射ユニット23は、異なるパターンをもつ複数の固定パターニング装置を切替可能に構成されていてもよい。   The projection unit 23 includes a pattern forming apparatus, a light source for illuminating the pattern forming apparatus, and an optical system for projecting the pattern onto the inspection surface of the inspection object 12. The patterning device may be, for example, a variable patterning device capable of dynamically generating a desired pattern such as a liquid crystal display or the like, or fixed patterning in which a pattern is fixedly formed on a substrate such as a glass plate It may be an apparatus. When the patterning device is a fixed patterning device, the projection position of the pattern can be made variable by providing a moving mechanism for moving the fixed patterning device or by providing an adjustment mechanism in an optical system for pattern projection. preferable. Moreover, the projection unit 23 may be configured to be able to switch between a plurality of fixed patterning devices having different patterns.

投射ユニット23は、カメラユニット21の周囲に複数設けられていてもよい。複数の投射ユニット23は、それぞれ異なる投射方向から被検査体12にパターンを投影するよう配置されている。このようにすれば、検査面における高さ差によって影となりパターンが投影されない領域を小さくすることができる。   A plurality of projection units 23 may be provided around the camera unit 21. The plurality of projection units 23 are arranged to project a pattern onto the inspection object 12 from different projection directions. In this way, it is possible to reduce the area where the pattern is not projected due to a shadow due to the height difference on the inspection surface.

図1に示す制御ユニット30は、本装置全体を統括的に制御するもので、ハードウエアとしては、任意のコンピュータのCPU、メモリ、その他のLSIで実現され、ソフトウエアとしてはメモリにロードされたプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者には理解されるところである。   The control unit 30 shown in FIG. 1 totally controls the entire apparatus. The hardware is realized by the CPU, memory, and other LSIs of an arbitrary computer, and software is loaded into the memory. Although realized by a program or the like, here, functional blocks realized by their cooperation are illustrated. Therefore, it is understood by those skilled in the art that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.

図1には、制御ユニット30の構成の一例が示されている。制御ユニット30は、検査制御部31と記憶部であるメモリ35とを含んで構成される。検査制御部31は、高さ測定部32と検査データ処理部33と検査部34とを含んで構成される。また、検査装置10は、ユーザまたは他の装置からの入力を受け付けるための入力部36と、検査に関連する情報を出力するための出力部37とを備えており、入力部36及び出力部37はそれぞれ制御ユニット30に接続されている。入力部36は例えば、ユーザからの入力を受け付けるためのマウスやキーボード等の入力手段や、他の装置との通信をするための通信手段を含む。出力部37は、ディスプレイやプリンタ等の公知の出力手段を含む。   An example of the configuration of the control unit 30 is shown in FIG. The control unit 30 is configured to include an inspection control unit 31 and a memory 35 which is a storage unit. The inspection control unit 31 includes a height measurement unit 32, an inspection data processing unit 33, and an inspection unit 34. The inspection apparatus 10 further includes an input unit 36 for receiving an input from a user or another device, and an output unit 37 for outputting information related to an inspection, and the input unit 36 and the output unit 37. Are connected to the control unit 30, respectively. The input unit 36 includes, for example, input means such as a mouse and a keyboard for receiving an input from a user, and communication means for communicating with another device. The output unit 37 includes known output means such as a display and a printer.

検査制御部31は、入力部36からの入力及びメモリ35に記憶されている検査関連情報に基づいて、検査のための各種制御処理を実行するよう構成されている。検査関連情報には、被検査体12の2次元画像、被検査体12の高さマップ、及び基板検査データが含まれる。検査に先立って、検査データ処理部33は、すべての検査項目に合格することが保証されている被検査体12の2次元画像及び高さマップを使用して基板検査データを作成する。検査部34は、作成済みの基板検査データと、検査されるべき被検査体12の2次元画像及び高さマップとに基づいて検査を実行する。   The examination control unit 31 is configured to execute various control processes for examination based on the input from the input unit 36 and the examination related information stored in the memory 35. The inspection related information includes a two-dimensional image of the inspection object 12, a height map of the inspection object 12, and substrate inspection data. Prior to the inspection, the inspection data processing unit 33 creates substrate inspection data using the two-dimensional image of the inspection object 12 and the height map which are guaranteed to pass all the inspection items. The inspection unit 34 executes an inspection based on the created substrate inspection data, and the two-dimensional image and height map of the inspection object 12 to be inspected.

基板検査データは基板の品種ごとに作成される検査データである。基板検査データはいわば、その基板に塗布されたハンダごとの検査データの集合体である。各ハンダの検査データは、そのハンダに必要な検査項目、各検査項目についての画像上の検査区域である検査ウインドウ、及び各検査項目について良否判定の基準となる検査基準を含む。検査ウインドウは各検査項目について1つまたは複数設定される。例えばハンダの塗布状態の良否を判定する検査項目においては通常、その部品のハンダ塗布領域の数と同数の検査ウインドウがハンダ塗布領域の配置に対応する配置で設定される。また、被検査体画像に所定の画像処理をした画像を使用する検査項目については、その画像処理の内容も検査データに含まれる。   The substrate inspection data is inspection data created for each type of substrate. The board inspection data is, so to speak, a collection of inspection data for each solder applied to the board. The inspection data of each solder includes an inspection item necessary for the solder, an inspection window which is an inspection area on the image for each inspection item, and an inspection standard which is a criterion for determining the quality of each inspection item. One or more examination windows are set for each examination item. For example, in an inspection item for determining the quality of the solder application state, the inspection windows of the same number as the number of solder application areas of the component are usually set in an arrangement corresponding to the arrangement of the solder application areas. Further, with regard to an inspection item using an image obtained by subjecting the image of the inspection object to a predetermined image processing, the content of the image processing is also included in the inspection data.

検査データ処理部33は、基板検査データ作成処理として、その基板に合わせて検査データの各項目を設定する。例えば検査データ処理部33は、その基板のハンダレイアウトに適合するように各検査ウインドウの位置及び大きさを各検査項目について自動的に設定する。検査データ処理部33は、検査データのうち一部の項目についてユーザの入力を受け付けるようにしてもよい。例えば、検査データ処理部33は、ユーザによる検査基準のチューニングを受け入れるようにしてもよい。検査基準は高さ情報を用いて設定されてもよい。   The inspection data processing unit 33 sets each item of inspection data in accordance with the substrate as substrate inspection data creation processing. For example, the inspection data processing unit 33 automatically sets the position and size of each inspection window for each inspection item so as to conform to the solder layout of the substrate. The examination data processing unit 33 may receive an input from the user for a part of the examination data. For example, the inspection data processing unit 33 may accept the tuning of the inspection standard by the user. The inspection standard may be set using height information.

検査制御部31は、基板検査データ作成の前処理として被検査体12の撮像処理を実行する。この被検査体12はすべての検査項目に合格しているものが用いられる。撮像処理は上述のように、照明ユニット22により被検査体12を照明しつつ撮像ユニット20と検査テーブル14との相対移動を制御し、被検査体12の部分画像を順次撮像することにより行われる。被検査体12の全体がカバーされるように複数の部分画像が撮像される。検査制御部31は、これら複数の部分画像を合成し、被検査体12の検査面全体を含む基板全面画像を生成する。検査制御部31は、メモリ35に基板全面画像を記憶する。   The inspection control unit 31 executes an imaging process of the inspection object 12 as a pre-process of substrate inspection data creation. The inspection object 12 used is one that has passed all inspection items. As described above, the imaging process is performed by illuminating the test object 12 with the illumination unit 22 while controlling the relative movement between the imaging unit 20 and the inspection table 14 and sequentially capturing partial images of the test object 12 . Several partial images are imaged so that the whole to-be-inspected object 12 may be covered. The inspection control unit 31 combines the plurality of partial images to generate an entire substrate surface image including the entire inspection surface of the inspection object 12. The inspection control unit 31 stores the entire substrate surface image in the memory 35.

また、検査制御部31は、高さマップ作成のための前処理として、投射ユニット23により被検査体12にパターンを投射しつつ撮像ユニット20と検査テーブル14との相対移動を制御し、被検査体12のパターン画像を分割して順次撮像する。投射されるパターンは好ましくは、PMP法に基づきサインカーブに従って明るさが変化する縞パターンである。検査制御部31は、撮像した分割画像を合成し、被検査体12の検査面全体のパターン画像を生成する。検査制御部31は、メモリ35にパターン画像を記憶する。なお、全体ではなく検査面の一部についてパターン画像を生成するようにしてもよい。   Further, the inspection control unit 31 controls the relative movement between the imaging unit 20 and the inspection table 14 while projecting a pattern onto the inspection object 12 by the projection unit 23 as pre-processing for height map creation, The pattern image of the body 12 is divided and sequentially imaged. The pattern to be projected is preferably a fringe pattern whose brightness changes according to a sine curve based on the PMP method. The inspection control unit 31 combines the captured divided images to generate a pattern image of the entire inspection surface of the inspection object 12. The inspection control unit 31 stores the pattern image in the memory 35. The pattern image may be generated not for the whole but for a part of the inspection surface.

高さ測定部32は、撮像パターン画像上のパターンに基づいて被検査体12の検査面全体の高さマップを作成する。高さ測定部32はまず、撮像パターン画像と基準パターン画像との局所的な位相差を画像全体について求めることにより、被検査体12の検査面の位相差マップを求める。基準パターン画像とは、投射ユニット23により投射されたパターン画像(つまり投射ユニット23に内蔵されているパターン形成装置が生成した画像)である。高さ測定部32は、高さ測定の基準となる基準面と位相差マップとに基づいて被検査体12の高さマップを作成する。基準面は例えば、検査される電子回路基板の基板表面である。基準面は必ずしも平面ではなくてもよく、基板の反り等の変形が反映された曲面であってもよい。   The height measurement unit 32 creates a height map of the entire inspection surface of the inspection object 12 based on the pattern on the imaging pattern image. First, the height measurement unit 32 obtains a phase difference map of the inspection surface of the inspection object 12 by obtaining the local phase difference between the imaging pattern image and the reference pattern image for the entire image. The reference pattern image is a pattern image projected by the projection unit 23 (that is, an image generated by the pattern forming device incorporated in the projection unit 23). The height measurement unit 32 creates a height map of the inspection object 12 based on the reference surface which is the reference of height measurement and the phase difference map. The reference surface is, for example, the substrate surface of the electronic circuit substrate to be inspected. The reference surface may not necessarily be a flat surface, and may be a curved surface on which a deformation such as a warp of a substrate is reflected.

高さ測定部32は、具体的には、撮像パターン画像の各画素と、当該画素に対応する基準パターン画像の画素とで縞パターンの位相差を求める。高さ測定部32は、位相差を高さに換算する。高さへの換算は、当該画素近傍における局所的な縞幅を用いて行われる。撮像パターン画像上の縞幅が場所により異なるのを補償するためである。検査面上での位置により投射ユニット23からの距離が異なるために、基準パターンの縞幅が一定であっても、検査面のパターン投影領域の一端から他端へと線形に縞幅が変化してしまうからである。高さ測定部32は、換算された高さと基準面とに基づいて基準面からの高さを求め、被検査体12の高さマップを作成する。   Specifically, the height measurement unit 32 obtains the phase difference of the fringe pattern between each pixel of the imaging pattern image and the pixel of the reference pattern image corresponding to the pixel. The height measurement unit 32 converts the phase difference into a height. The conversion to height is performed using the local fringe width in the vicinity of the pixel. This is to compensate for the difference in stripe width on the captured pattern image depending on the location. Since the distance from the projection unit 23 differs depending on the position on the inspection surface, the stripe width changes linearly from one end of the pattern projection area of the inspection surface to the other end even if the stripe width of the reference pattern is constant. It is because it The height measurement unit 32 obtains the height from the reference surface based on the converted height and the reference surface, and creates a height map of the inspection object 12.

検査制御部31は、被検査体12の高さマップが有する高さ情報を被検査体12の2次元画像の各画素に対応づけることにより、高さ分布を有する被検査体画像を作成してもよい。検査制御部31は、高さ分布付き被検査体画像に基づいて被検査体12の3次元モデリング表示を行うようにしてもよい。また、検査制御部31は、2次元の被検査体画像に高さ分布を重ね合わせて出力部37に表示してもよい。例えば、被検査体画像を高さ分布により色分け表示するようにしてもよい。   The inspection control unit 31 creates an inspection object image having a height distribution by correlating the height information of the height map of the inspection object 12 with each pixel of the two-dimensional image of the inspection object 12 It is also good. The inspection control unit 31 may perform three-dimensional modeling display of the inspection object 12 based on the inspection object image with height distribution. Further, the inspection control unit 31 may superimpose the height distribution on the two-dimensional inspection object image and display it on the output unit 37. For example, the inspection object image may be color-displayed by height distribution.

以下に、このような検査装置10において、投射ユニット23によりパターンを投射して高さを測定する方法について説明する。   Hereinafter, a method of projecting a pattern by the projection unit 23 and measuring the height in such an inspection apparatus 10 will be described.

まず、縞パターンを用いたPMP法による従来の高さ測定方法について説明する。縞パターン投射領域の1つの計測点に着目すると、空間的に位相をずらしながら縞パターンを投射したときに(言い換えれば、縞の反復する方向に縞パターンを走査したときに)、その計測点の明るさは周期的に変動する。色や反射率等の計測点の表面特性に応じて計測点ごとに平均の明るさは異なるものの、どの計測点においても縞パターンに対応する周期的な明るさ変動が生じる。よって、計測点を例えば最も明るくするときの縞パターンの位相がその計測点の高さ情報を表すことになる。一般化すれば、周期的明るさ変動の初期位相が各計測点の高さ情報を与えると言える。   First, a conventional height measurement method by the PMP method using a stripe pattern will be described. Focusing on one measurement point in the fringe pattern projection area, when the fringe pattern is projected while the phase is spatially shifted (in other words, when the fringe pattern is scanned in the repeating direction of the fringes), Brightness fluctuates periodically. Although the average brightness is different for each measurement point according to the surface characteristics of the measurement point such as color and reflectance, a periodic brightness fluctuation corresponding to the stripe pattern occurs at any measurement point. Therefore, the phase of the fringe pattern when making the measurement point brightest, for example, represents the height information of the measurement point. If it is generalized, it can be said that the initial phase of the periodic brightness fluctuation gives the height information of each measurement point.

このような縞パターンによる特性を用いて、従来の高さ測定方法は、周期の異なる少なくとも2種のパターンを使用して高さを求める。長周期(つまり太い縞)の第1パターンにより大まかな高さを求め、短周期(細い縞)の第2パターンで精密な高さを求める。上述したようにPMP法は位相に基づき高さを求めるので、高さ差が大きく縞が1周期以上ずれてしまうと高さを一意に特定することができない。第1縞パターンを併用して高さを求めておくことにより、第2縞パターンを投射したときに縞が1周期以上ずれている場合にも高さを一意に特定することが可能となる。   Using such fringe pattern characteristics, conventional height measurement methods determine height using at least two patterns with different periods. The rough height is determined by the first pattern of long period (that is, thick stripes), and the accurate height is determined by the second pattern of short periods (thin stripes). As described above, since the PMP method obtains the height based on the phase, if the height difference is large and the stripes are shifted by one or more cycles, the height can not be uniquely identified. By obtaining the height in combination with the first stripe pattern, it becomes possible to uniquely identify the height even when the stripes are shifted by one or more cycles when the second stripe pattern is projected.

ところが、このように複数の異なるパターンでそれぞれ高さを測定し、それらの結果を総合して高さマップを求める場合には、一般にパターンごとに個別的に投射し撮像することになると考えられる。PMP法では原理的に1種の縞パターンについて位相をずらして少なくとも3回、典型的には4回の撮像が必要とされている。縞パターンが正弦波であることに対応して各計測点の明るさ変動も正弦波となる。縞のピッチは既知であるから、明るさの平均値、振幅、及び初期位相が明らかとなれば明るさ変動を表す正弦波が特定される。   However, when heights are measured with a plurality of different patterns and the results are integrated to obtain a height map, it is generally considered that projection and imaging are performed individually for each pattern. In principle, in the PMP method, at least three times and typically four times of imaging with one phase being shifted with respect to one kind of fringe pattern is required. Corresponding to the fringe pattern being a sine wave, the brightness fluctuation of each measurement point is also a sine wave. Since the pitch of the stripes is known, if the mean value of the brightness, the amplitude and the initial phase are known, a sine wave representing the brightness variation is identified.

少なくとも3枚の撮像画像から計測点の明るさ測定値を得ることにより、明るさの平均値、振幅、及び初期位相の3つの変数を決定することができる。また、1つの縞パターンを90度ずつ位相をずらして4回撮像したときのある画素の輝度をそれぞれl0〜l3とすると、その画素にあたる計測点の初期位相φはtan(φ)=(l3−l1)/(l2−l0)で表されることが知られている。縞パターンのピッチをPとすると縞パターンのずれ量はP×(φ/2π)で求められる。パターンの投射角度を用いてパターンずれ量からその位置の高さを求めることができる。   By obtaining the brightness measurement value of the measurement point from at least three captured images, three variables of the brightness average value, the amplitude, and the initial phase can be determined. Further, assuming that the luminance of a certain pixel when imaging one stripe pattern 90 ° out of phase at four times each is l0 to l3, the initial phase φ of the measurement point corresponding to that pixel is tan (φ) = (l3−3) It is known that it is represented by l1) / (l2-l0). Assuming that the pitch of the fringe pattern is P, the deviation amount of the fringe pattern is obtained by P × (φ / 2π). The height of the position can be obtained from the pattern deviation amount using the projection angle of the pattern.

2種のパターンを用いれば少なくとも6回または8回の撮像をすることになる。1つの被検査体12を検査するために、複数の部分領域を撮像して全体画像を得るようにしている。また、1つの部分領域は複数の投射ユニット23のそれぞれで撮像される。例えば10個の部分領域をそれぞれ3つの投射ユニットで撮像するとしたら、10×3×6(または8)=180(または240)回の撮像を要することになる。こうして、1回の検査に要する撮像回数は多くなりがちであり、撮像回数が検査所要時間に与える影響は大きい。   Using two patterns results in at least six or eight imagings. In order to inspect one subject 12, a plurality of partial areas are imaged to obtain an entire image. Further, one partial area is imaged by each of the plurality of projection units 23. For example, if 10 partial areas are imaged by 3 projection units, 10 × 3 × 6 (or 8) = 180 (or 240) imagings will be required. Thus, the number of times of imaging required for one examination tends to be large, and the number of times of imaging has a large influence on the examination required time.

そこで、本実施形態においては、PMP法のうち長周期のパターン(太い縞である第1パターン)に同期した固定パターンを用いた三角測量法により大まかな高さを求め、PMP法のうち短周期の縞パターン(細い縞である第2パターン)で精密な高さを求めることで撮像回数の低減を実現している。ここで、三角測量法は投射ユニット23から被検査体12に固定パターンを投射し、カメラユニット21で撮像した画像から、基準平面のときにある固定パターンの像からのずれ量に基づいて高さを求める方法である。なお、固定パターンは、チェッカー、矩形波、ドット等を用いることができるが、以降の説明ではドットであるとして説明する。   Therefore, in the present embodiment, a rough height is obtained by triangulation using a fixed pattern synchronized with a long period pattern (first pattern which is a thick stripe) in the PMP method, and a short period in the PMP method The number of times of imaging is reduced by obtaining the precise height with the stripe pattern (the second pattern which is a thin stripe). Here, in the triangulation method, a fixed pattern is projected from the projection unit 23 onto the inspection object 12, and the height of the image captured by the camera unit 21 is based on the amount of deviation from the image of the fixed pattern in the reference plane. Is a way to In addition, although a fixed pattern can use a checker, a square wave, a dot etc., it demonstrates as a dot by subsequent description.

図2において、(a)に示すように、基準平面Sに対して投射ユニット23により縞パターンを投射してカメラユニット21で撮像した画像から得られる位相を(c)に示し、(b)に示すように、この基準平面S上に物体Oを載置した状態で同じ縞パターンを投射して撮像した画像から得られる位相を(d)に示すと、物体Oの高さはこれらの位相のずれ量(位相差=測定した位相−基準平面の位相)から算出することができる。この位相差はカメラユニット21で撮像した画像の画素ごとに計算することができ、画素ごとに求められた位相差に係数を乗算することで、その画素に対応した位置の高さが算出される。この係数は、例えば、tan(投射角度)×縞ピッチ/2πで求められる。   In FIG. 2, as shown in (a), a phase obtained from an image captured by the camera unit 21 by projecting a stripe pattern by the projection unit 23 onto the reference plane S is shown in (c), and (b) As shown in (d), when the phase obtained from the image captured by projecting the same fringe pattern and imaging it with the object O placed on this reference plane S is shown in (d), the height of the object O is It can be calculated from the amount of deviation (phase difference = measured phase−phase of reference plane). The phase difference can be calculated for each pixel of the image captured by the camera unit 21. By multiplying the phase difference obtained for each pixel by a coefficient, the height of the position corresponding to that pixel can be calculated. . This coefficient is determined, for example, by tan (projection angle) × stripe pitch / 2π.

ここで、図3に示すように、縞パターンPtを用いる代わりに、この縞パターンPtと同期した固定パターンであるドットパターンPdを用いる場合を考える。「同期」とは、縞パターンPtにおける所定の位相の位置に、ドットパターンPdのドット(固定パターン)が配置されていることをいう。図2を用いて説明したように、縞パターンPtを用いて基準平面Sとその基準平面Sに載置された物体Oを撮像した場合、位相差Δφは、測定した位相φと基準平面の位相φ0から次式(1)で求められる。   Here, as shown in FIG. 3, instead of using the stripe pattern Pt, consider the case of using the dot pattern Pd, which is a fixed pattern synchronized with the stripe pattern Pt. "Synchronization" means that dots (fixed pattern) of the dot pattern Pd are arranged at positions of predetermined phases in the stripe pattern Pt. As described with reference to FIG. 2, when the reference plane S and the object O placed on the reference plane S are imaged using the stripe pattern Pt, the phase difference Δφ is the measured phase φ and the phase of the reference plane It is obtained by the following equation (1) from φ0.

Δφ = φ − φ0 (1) Δφ = φ−φ0 (1)

一方、ドットパターンPdのドットを、縞パターンPtの位相0の位置に形成した場合、基準平面S又は物体Oの表面に投影されたドットの像の位相(測定した位相)φは0となるため、カメラユニット21で撮像されたドットの像の位置における位相差Δφ′は、次式(2)となる。   On the other hand, when dots of the dot pattern Pd are formed at the position of the phase 0 of the stripe pattern Pt, the phase (measured phase) φ of the image of the dot projected onto the surface of the reference plane S or the object O is 0 The phase difference Δφ ′ at the position of the dot image captured by the camera unit 21 is expressed by the following equation (2).

Δφ′ = 0 − φ0 = −φ0 (2) Δφ '= 0-φ0 = -φ0 (2)

縞パターンPtを用いた場合は、カメラユニット21で撮像された画像の画素ごとに位相差を求め、その高さを算出できたことにくらべ、ドットパターンPdを用いた場合は、ドットが形成された位置の位相差及び高さしか求めることができないが、ドットの移動量(基準平面Sの画像におけるドットの位置と測定された画像におけるドットの位置の差)等を計算する必要がなく、基準平面Sに対する縞パターンPtの画像を用いて、撮像された画像におけるドットの像の位置から、式(2)を用いて、直接位相差を求めることができる。すなわち、縞パターンPtを上述した長周期の縞パターンとし、ドットパターンPdを、この長周期の縞パターンに同期させる(例えば、縞パターンの位相=0の位置にドットを形成する)ことにより、ドットパターンPdを被検査体12に投影して撮像した画像は、PMP法において長周期のパターンを投影して取得した画像と同じ扱いをすることができる。しかも、上述したように、PMP法においては、位相差を求めるために長周期のパターンの位相をずらして少なくとも3回の撮像が必要になるが、このドットパターンPdを用いると、1回の撮像で、ドットの像がある位置の位相差を求めることができる。したがって、1つの視野領域に対して短周期のパターンによる測定に3回の撮像が必要であったとしても、合計4回の撮像で、PMP法と同等の精度の高さ測定を行うことができる。   When the stripe pattern Pt is used, the phase difference is obtained for each pixel of the image captured by the camera unit 21 and the height can be calculated, whereas when the dot pattern Pd is used, dots are formed. Although it is possible to obtain only the phase difference and height at different positions, it is not necessary to calculate the amount of movement of the dots (difference between the positions of the dots in the image of the reference plane S and the positions of the dots in the measured image). Using the image of the stripe pattern Pt with respect to the plane S, the phase difference can be determined directly from the position of the dot image in the captured image, using equation (2). That is, the stripe pattern Pt is a stripe pattern of the long period described above, and the dot pattern Pd is synchronized with the stripe pattern of this long period (for example, dots are formed at the position of phase = 0 of the stripe pattern). An image captured by projecting the pattern Pd onto the inspection object 12 can be treated the same as an image acquired by projecting a long-period pattern in the PMP method. Moreover, as described above, in the PMP method, at least three times of imaging are required to shift the phase of the long-period pattern in order to obtain the phase difference, but using this dot pattern Pd, one imaging Then, the phase difference at the position where the dot image is present can be obtained. Therefore, even if three imagings are required for measurement with a short-period pattern for one visual field area, height measurement with the same accuracy as the PMP method can be performed with a total of four imagings. .

ここで、所定の位置(ドットの像が検出された位置)のドットパターンと長周期の縞パターンが投射された基準平面の画像とにより求められた位相差をΔφwとし、短周期の縞パターンの画像から求められた位相差(基準平面の画像と測定された画像から求められた位相差)をφfとし、長周期の縞パターンと短周期の縞パターンの縞ピッチの比をNとすると、ドットの像が検出された位置の高さhは、次式(3)で求められる。但し、Round()は、小数点以下を切り捨てる関数である。   Here, the phase difference determined from the dot pattern at the predetermined position (the position where the dot image is detected) and the image of the reference plane on which the long-period stripe pattern is projected is Δφw, and the short-period stripe pattern is Assuming that the phase difference obtained from the image (the image of the reference plane and the phase difference obtained from the measured image) is φf, and the ratio of the fringe pattern of the long period fringe pattern to the short period fringe pattern is N, The height h of the position at which the image of H is detected is determined by the following equation (3). However, Round () is a function that rounds off the decimal point.

h = Round((N×Δφw−Δφf)/2π)×2π+Δφf (3) h = Round ((N × Δφw−Δφf) / 2π) × 2π + Δφf (3)

なお、PMP法と同様に、ドットパターン(長周期の縞パターン)による測定結果が、短周期の縞パターンのピッチの半分以上ずれると(位相にするとπずれると)、正しい結果を得ることができなくなる。しかしながら、電子回路基板のハンダの塗布状態の検査等においては、基板の表面とハンダ部分とでは大きな高低差はなく(すなわち、なだらかな湾曲を有する平面に細かな物体が存在する形状の対象物に対しては)、本方法により、十分な精度の高さを測定することができる。   As in the PMP method, if the measurement result by the dot pattern (long-period fringe pattern) deviates by half or more of the pitch of the short-period fringe pattern (when it is phase shifted by π), the correct result can be obtained. It disappears. However, in the inspection of the solder application state of the electronic circuit board, etc., there is no large difference in height between the surface of the board and the solder part (ie, an object of a shape having a small object in a flat surface having a gentle curvature). On the other hand, with this method, it is possible to measure the height of sufficient accuracy.

それでは、図4を用いて、具体的な測定方法について説明する。なお、投射ユニット23で投射するパターンは、長周期の縞パターン、この長周期の縞パターンに同期したドットパターン(固定パターン)、及び、短周期の縞パターンである。また、以降の説明では、1つの視野領域に対する測定処理について説明するが、被検査体12が複数の視野領域に跨がる場合は、それぞれの視野領域に対して以下の処理が実行される。   Now, a specific measurement method will be described with reference to FIG. The pattern projected by the projection unit 23 is a stripe pattern with a long period, a dot pattern (fixed pattern) synchronized with the stripe pattern with the long period, and a stripe pattern with a short period. Further, in the following description, measurement processing for one visual field area will be described. However, when the inspection object 12 straddles a plurality of visual field areas, the following processing is performed for each visual field area.

まず、測定前の前準備を行う。例えば、入力部36から前準備の処理の実行命令が入力されると、制御ユニット30は、投射ユニット23により短周期の縞パターンを基準平面に投射し、その画像(短周期基準画像)をカメラユニット21で撮像し、メモリ35に記憶する(ステップS100)。次に、制御ユニット30は、投射ユニット23により長周期の縞パターンを基準平面に投射し、その画像(長周期基準画像)をカメラユニット21で撮像し、メモリ35に記憶して(ステップS110)、この前準備の処理を終了する。なお、基準平面としては、部品の搭載されていない基板を検査テーブル14にセットしてもよいし、基準平面となる専用の部材を検査テーブル14にセットしてもよい。   First, prepare for measurement. For example, when an execution command of the preparation process is input from the input unit 36, the control unit 30 causes the projection unit 23 to project a short-period stripe pattern on a reference plane, and the camera (short-period reference image) The image is taken by the unit 21 and stored in the memory 35 (step S100). Next, the control unit 30 causes the projection unit 23 to project a long-period stripe pattern on the reference plane, captures the image (long-period reference image) with the camera unit 21, and stores it in the memory 35 (step S110). , End the preparation process. A substrate on which no component is mounted may be set on the inspection table 14 as a reference plane, or a dedicated member to be the reference plane may be set on the inspection table 14.

次に、検査テーブル14に被検査体12を載置して検査(測定)を行う。例えば、入力部36から検査の処理の実行命令が入力されると、制御ユニット30は、投射ユニット23により短周期の縞パターンを被検査体12に投射してカメラユニット21でその画像(短周期測定画像)を取得し、メモリ35に記憶する(ステップS200)。なお、このステップS200では、上述したように、1つの視野領域に対して縞パターンをシフトした少なくとも3枚の画像を取得する。次に、制御ユニット30は、投射ユニット23によりドットパターンを被検査体12に投射してカメラユニット21でその画像(固定測定画像)を取得し、メモリ35に記憶する(ステップS210)。上述したように、ドットパターンの画像は、1つの視野領域に対して1回の撮像でよい。   Next, the inspection object 12 is placed on the inspection table 14 and inspection (measurement) is performed. For example, when an execution command of inspection processing is input from the input unit 36, the control unit 30 causes the projection unit 23 to project a short-period stripe pattern on the inspection object 12 and causes the camera unit 21 to display the image (short-period The measurement image is acquired and stored in the memory 35 (step S200). In this step S200, as described above, at least three images in which the stripe pattern is shifted with respect to one visual field area are acquired. Next, the control unit 30 causes the projection unit 23 to project a dot pattern onto the inspection object 12, the camera unit 21 acquires the image (fixed measurement image), and stores it in the memory 35 (step S210). As described above, the dot pattern image may be captured once for one field of view.

制御ユニット30は、メモリ35から短周期測定画像を読み出し、この短周期測定画像から位相計算を行う(ステップS220)。上述したように、被検査体12に対して短周期の縞パターンを投射したときの撮像は、位相をシフトさせて少なくとも3回の撮像が行われる。これらの撮像における位相のシフトと被検査体12に投影される低周期の縞パターンが正弦波の場合の輝度の関係は、次式(4)で表される。なお、この式(4)において、vは輝度を示し、Aは被検査体12の明るさに依存した振幅を示し、Cはカメラユニット21や環境輝度に依存した明るさのオフセットを示し、Bは求めたい位相を示し、λは位相のシフト量を示し、xはシフト回数を示す。   The control unit 30 reads the short cycle measurement image from the memory 35, and performs phase calculation from the short cycle measurement image (step S220). As described above, the imaging when the short-period fringe pattern is projected onto the inspection object 12 is shifted in phase and imaging is performed at least three times. The relationship between the phase shift in these imagings and the luminance when the low-period fringe pattern projected onto the inspection object 12 is a sine wave is expressed by the following equation (4). In the equation (4), v represents luminance, A represents an amplitude dependent on the brightness of the inspection object 12, C represents an offset of the brightness dependent on the camera unit 21 or the environmental luminance, and B Represents the phase to be determined, λ represents the amount of phase shift, and x represents the number of shifts.

v = A×sin(λ×x+B)+C (4) v = A × sin (λ × x + B) + C (4)

制御ユニット30は、メモリ35から固定測定画像を読み出し、短周期の縞パターンの輝度情報、すなわち、上述した式(4)の振幅A及びオフセットCにより決定される閾値に基づいて、この固定測定画像の2値化を行う(ステップS230)。ここで、閾値は、例えば、C又はC−A/2とすることができる。低周期測定画像の輝度情報(低周波測定画像を撮像するために投射された低周波の縞パターンの輝度情報)に基づいて固定画像を2値化することにより、被検査体12の輝度や色に関わらず、安定したドット像を検出することができる。また、制御ユニット30は、この2値化された固定測定画像に対してノイズ低減フィルタを実行し、ノイズの除去を行う(ステップS240)。   The control unit 30 reads out the fixed measurement image from the memory 35, and based on the luminance information of the short period fringe pattern, that is, the fixed measurement image based on the threshold determined by the amplitude A and the offset C of the equation (4) described above. Are binarized (step S230). Here, the threshold may be, for example, C or C-A / 2. By binarizing the fixed image based on the luminance information of the low-period measurement image (the luminance information of the low-frequency fringe pattern projected for capturing the low-frequency measurement image), the luminance and color of the inspection object 12 Regardless, the stable dot image can be detected. Further, the control unit 30 executes a noise reduction filter on the binarized fixed measurement image to remove noise (step S240).

また、制御ユニット30は、2値化され、さらにノイズが除去された固定測定画像において、ドット像の位置を検出する(ステップS250)。この固定測定画像からドット像を検出する方法としては、テンプレートマッチングやラベリングのアルゴリズムを用いることができるが、シーケンシャルな処理であるため、GPU(Graphics Processing Unit)等で実装しずらく、現実的には、撮像やカメラユニット21の移動(視野領域の変更)の時間よりも、検出の時間が長くなってしまう場合がある。   Further, the control unit 30 detects the position of the dot image in the fixed measurement image which has been binarized and from which noise has been removed (step S250). As a method of detecting a dot image from this fixed measurement image, an algorithm of template matching or labeling can be used, but since it is a sequential process, it is difficult to implement with a GPU (Graphics Processing Unit) or the like, and it is realistic The time of detection may be longer than the time of imaging or movement of the camera unit 21 (change of the visual field area).

そこで、本実施形態においては、図5(a)に示すように、固定測定画像を複数のグリッド(領域)に分割し、それぞれのグリッド内でドット像を検出しその位置を求めるように構成されている。このような構成とすると、グリッドごとに独立して走査することができるので、グリッドの数だけ並列化でき、GPU等を用いて高速に処理することができる。なお、グリッドは、ドット像の大きさ分だけ隣接するグリッドとオーバーラップさせることより、正確に検出することができる。また、ドット像の位置は、図5(b)に示すように、輝度のある位置のx方向の最大値(xmax)及び最小値(xmin)と、y方向の最大値(ymax)及び最小値(ymin)と、を求め、これらの値から次式(5)、(6)によりドット像の中心座標(x′,y′)を求めることができる。   Therefore, in the present embodiment, as shown in FIG. 5A, the fixed measurement image is divided into a plurality of grids (regions), a dot image is detected in each grid, and the position is determined. ing. With such a configuration, scanning can be performed independently for each grid, so that the number of grids can be parallelized, and processing can be performed at high speed using a GPU or the like. The grid can be accurately detected by overlapping with the adjacent grid by the size of the dot image. Further, as shown in FIG. 5B, the position of the dot image is the maximum value (xmax) and the minimum value (xmin) in the x direction of the luminance position, and the maximum value (ymax) and the minimum value in the y direction. From these values, the central coordinates (x ', y') of the dot image can be determined from these values by the following equations (5) and (6).

x′ = (xmin+xmax)/2 (5)
y′ = (ymin+ymax)/2 (6)
x '= (xmin + xmax) / 2 (5)
y '= (ymin + ymax) / 2 (6)

そして、制御ユニット30は、以上のようにして固定測定画像におけるドット像の位置(中心座標)が求まると、メモリ35から長周期基準画像を読み出し、この位置と長周期基準画像から、当該位置の位相を取得する(ステップS260)。取得方法については上述した通りである。この長周期基準画像から求められた位相により、グリッドごとの大まかな高さ(ラフ高さ)を算出することができる。   Then, when the position (center coordinates) of the dot image in the fixed measurement image is determined as described above, the control unit 30 reads the long period reference image from the memory 35, and from this position and the long period reference image, The phase is acquired (step S260). The acquisition method is as described above. A rough height (rough height) for each grid can be calculated from the phase obtained from the long-period reference image.

ここで、図5(a)に示すように、ドット像を検出することができ、大まかな高さが分かるグリッドと、ドット像を検出することができず、大まかな高さが分からないグリッドとが存在する。そのため、高さの分からないグリッドについては、周辺のグリッドの大まかな高さからそのグリッドの高さを決定することによりラフ高さを伝搬させる(ステップS270)。最後に、制御ユニット30は、上述した式(3)に基づいて、ラフ高さと短周期画像から求められる位相とを結合することにより、ドット像の位置の詳細な高さを算出する(ステップS280)。なお、上述した式(3)から明らかなように、ラフ高さの算出においては、Round関数により小数点以下が切り捨てられることにより、長周期パターンから求められる位相差が丸められるため、ドット像が多少変形していても、最終的に求められる高さの精度に影響を与えることがない。   Here, as shown in FIG. 5A, a dot image can be detected, and a grid whose rough height can be detected, and a grid whose dot image can not be detected and whose rough height can not be known, Exists. Therefore, for a grid whose height is unknown, the rough height is propagated by determining the height of the grid from the rough height of the surrounding grids (step S270). Finally, the control unit 30 calculates the detailed height of the position of the dot image by combining the rough height and the phase obtained from the short cycle image based on the above-mentioned equation (3) (step S280). ). As is apparent from the above equation (3), when calculating the rough height, the phase difference obtained from the long-period pattern is rounded by rounding off the decimal point by the Round function, so the dot image is somewhat Even if it is deformed, it does not affect the accuracy of the height finally obtained.

以上のように、本実施形態に係る検査方法を用いると、一つの視野領域に対して、固定パターンを投射した1回の撮像と、短周期パターンを投射した状態で位相をシフトしながら撮像する3回の合計4回の撮像で、高精度な高さ情報を取得することができるので、精度を維持しながら検査のスループットを向上させることができる。また、固定パターンをドットパターンとすることで、固定測定画像をグリッドに分割してGPU等を用いた並列処理を行うことができるので、更にスループットを向上させることができる。なお、短周期の縞パターンを投射した撮像の回数(シフトの回数)は4回以上としてもよい。   As described above, when the inspection method according to the present embodiment is used, imaging is performed while shifting the phase in a state in which the fixed pattern is projected and the short-period pattern is projected to one visual field region. High-accuracy height information can be obtained by imaging four times in total three times, so inspection throughput can be improved while maintaining accuracy. In addition, by setting the fixed pattern as a dot pattern, the fixed measurement image can be divided into grids and parallel processing using a GPU or the like can be performed, so that the throughput can be further improved. The number of times of imaging (the number of shifts) in which the short-period stripe pattern is projected may be four or more.

10 検査装置
21 カメラユニット
23 投射ユニット
30 制御ユニット
10 Inspection Device 21 Camera Unit 23 Projection Unit 30 Control Unit

Claims (6)

短周期の縞パターンが投影された被検査体の画像である短周期測定画像を取得するステップと、
長周期の縞パターンに同期した固定パターンが投影された被検査体の画像である固定測定画像を取得するステップと、
前記固定測定画像から、前記固定パターンの像の位置を検出するステップと、
前記長周期の縞パターンが投影された基準平面の画像であって、予め取得されている長周期基準画像に基づいて、前記像の位置の位相である長周期位相を決定するステップと、
前記短周期の縞パターンが投影された基準平面の画像であって、予め取得されている短周期基準画像に基づいて、前記像の位置の位相である短周期位相を決定するステップと、
前記像の位置ごとに、前記長周期位相と、前記短周期位相とから、前記被検査体の高さを算出するステップと、を有することを特徴とする検査方法。
Acquiring a short-period measurement image, which is an image of an inspection object onto which a short-period fringe pattern is projected;
Acquiring a fixed measurement image, which is an image of the inspection object onto which the fixed pattern synchronized with the long-period fringe pattern is projected;
Detecting the position of the image of the fixed pattern from the fixed measurement image;
Determining a long-period phase that is a phase of the position of the image based on a long-period reference image on which the long-period fringe pattern is projected and which is acquired in advance;
Determining a short-period phase that is a phase of the position of the image based on the short-period reference image on which the short-period fringe pattern is projected and which is acquired in advance;
Calculating the height of the inspection object from the long period phase and the short period phase for each position of the image.
前記固定パターンは、ドットであることを特徴とする請求項1に記載の検査方法。   The inspection method according to claim 1, wherein the fixed pattern is a dot. 前記固定パターンの像の位置を検出するステップは、前記固定測定画像を複数の領域に分割し、前記領域ごとに当該領域に含まれる前記像の位置を検出することを特徴とする請求項2に記載の検査方法。   The step of detecting the position of the image of the fixed pattern comprises dividing the fixed measurement image into a plurality of areas, and detecting the position of the image included in the area for each of the areas. Test method described. 前記固定パターンの像の位置を検出するステップの前に、前記固定測定画像を2値化するステップを有することを特徴とする請求項1〜3のいずれか一項に記載の検査方法。   The inspection method according to any one of claims 1 to 3, further comprising the step of binarizing the fixed measurement image prior to the step of detecting the position of the image of the fixed pattern. 前記固定測定画像を2値化するステップは、前記短周期測定画像の輝度情報に基づいて、2値化の閾値を決定することを特徴とする請求項4に記載の検査方法。   The inspection method according to claim 4, wherein in the step of binarizing the fixed measurement image, a threshold of binarization is determined based on luminance information of the short cycle measurement image. 被検査体に対してパターンを投射する投射ユニットと、
前記パターンが投射された前記被検査体の画像を取得するカメラユニットと、
前記画像を記憶する記憶部と、
請求項1〜5のいずれか一項に記載の検査方法により前記被検査体の高さを算出する制御ユニットと、を有することを特徴とする検査装置。
A projection unit for projecting a pattern onto a subject to be inspected;
A camera unit for acquiring an image of the inspection object on which the pattern is projected;
A storage unit that stores the image;
The control apparatus which calculates the height of the said to-be-tested object by the inspection method as described in any one of Claims 1-5, The inspection apparatus characterized by the above-mentioned.
JP2017077313A 2017-04-10 2017-04-10 Inspection method and inspection equipment Active JP6894280B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017077313A JP6894280B2 (en) 2017-04-10 2017-04-10 Inspection method and inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017077313A JP6894280B2 (en) 2017-04-10 2017-04-10 Inspection method and inspection equipment

Publications (2)

Publication Number Publication Date
JP2018179665A true JP2018179665A (en) 2018-11-15
JP6894280B2 JP6894280B2 (en) 2021-06-30

Family

ID=64275805

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017077313A Active JP6894280B2 (en) 2017-04-10 2017-04-10 Inspection method and inspection equipment

Country Status (1)

Country Link
JP (1) JP6894280B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476788A (en) * 2020-04-27 2020-07-31 武汉精立电子技术有限公司 Display screen interlayer defect detection method and system
CN114930119A (en) * 2020-04-16 2022-08-19 雅马哈发动机株式会社 Measuring device, inspection device, and surface mounting machine
US11586116B2 (en) 2020-12-18 2023-02-21 Canon Kabushiki Kaisha Measurement apparatus, exposure apparatus, and article manufacturing method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102022121709A1 (en) * 2022-08-26 2024-02-29 Wassili Buerakov Device and method for measuring the tread depth of vehicle tires

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001124534A (en) * 1999-10-26 2001-05-11 Matsushita Electric Works Ltd Three-dimensional shape-measuring method
JP2004061196A (en) * 2002-07-26 2004-02-26 Toei Denki Kogyo Kk Unevenness inspection device by 2-dimensional laser displacement sensor
US20140354681A1 (en) * 2013-05-31 2014-12-04 Microsoft Corporation Absolute Phase Measurement with Secondary Pattern-Embedded Fringe
JP2017003479A (en) * 2015-06-12 2017-01-05 Ckd株式会社 Three-dimensional measurement device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001124534A (en) * 1999-10-26 2001-05-11 Matsushita Electric Works Ltd Three-dimensional shape-measuring method
JP2004061196A (en) * 2002-07-26 2004-02-26 Toei Denki Kogyo Kk Unevenness inspection device by 2-dimensional laser displacement sensor
US20140354681A1 (en) * 2013-05-31 2014-12-04 Microsoft Corporation Absolute Phase Measurement with Secondary Pattern-Embedded Fringe
JP2017003479A (en) * 2015-06-12 2017-01-05 Ckd株式会社 Three-dimensional measurement device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114930119A (en) * 2020-04-16 2022-08-19 雅马哈发动机株式会社 Measuring device, inspection device, and surface mounting machine
CN111476788A (en) * 2020-04-27 2020-07-31 武汉精立电子技术有限公司 Display screen interlayer defect detection method and system
CN111476788B (en) * 2020-04-27 2023-08-25 武汉精立电子技术有限公司 Display screen interlayer defect detection method and system
US11586116B2 (en) 2020-12-18 2023-02-21 Canon Kabushiki Kaisha Measurement apparatus, exposure apparatus, and article manufacturing method

Also Published As

Publication number Publication date
JP6894280B2 (en) 2021-06-30

Similar Documents

Publication Publication Date Title
JP5443303B2 (en) Appearance inspection apparatus and appearance inspection method
US7027639B2 (en) High speed optical image acquisition system with extended dynamic range
US7852489B2 (en) Method for measuring surface profile, and apparatus using the same
JP5612969B2 (en) Appearance inspection apparatus and appearance inspection method
JP5709009B2 (en) 3D measuring device
JP6894280B2 (en) Inspection method and inspection equipment
US20080117438A1 (en) System and method for object inspection using relief determination
KR20070058652A (en) Method and system for measuring the relief of an object
US11493331B2 (en) Three-dimensional shape measuring apparatus, three-dimensional shape measuring method, three-dimensional shape measuring computer-readable storage medium, and three-dimensional shape measuring computer-readable storage device
JP5385703B2 (en) Inspection device, inspection method, and inspection program
US6876458B2 (en) Method and device for determining the absolute coordinates of an object
US10803623B2 (en) Image processing apparatus
JP5566707B2 (en) Appearance inspection apparatus and appearance inspection method
JP5682419B2 (en) Inspection method and inspection apparatus
JP2017122614A (en) Image generation method and inspection device
JP2012527610A (en) 3D shape measurement method
KR101757240B1 (en) Method for generating reference pattern of 3D shape measuring device
KR20170027893A (en) Method for 3D shape measuring using of Triple Frequency Pattern
JP2019090647A (en) Method for determining position of liquid crystal display element in projection unit of inspection device
JP2011021970A (en) Three-dimensional shape measuring device and three-dimensional shape measuring method
JP2012237613A (en) Shape measuring device and shape measuring method
KR20110087551A (en) Image sensing system and method
JP2014020870A (en) Surface shape inspection device and surface shape inspection method
JP6894348B2 (en) How to obtain height information of inspection equipment and inspection equipment
JP7156794B2 (en) Inspection device height information acquisition method and inspection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200403

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210302

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210420

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: 20210601

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210603

R150 Certificate of patent or registration of utility model

Ref document number: 6894280

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250