JP2020128934A - Inspection device - Google Patents

Inspection device Download PDF

Info

Publication number
JP2020128934A
JP2020128934A JP2019021813A JP2019021813A JP2020128934A JP 2020128934 A JP2020128934 A JP 2020128934A JP 2019021813 A JP2019021813 A JP 2019021813A JP 2019021813 A JP2019021813 A JP 2019021813A JP 2020128934 A JP2020128934 A JP 2020128934A
Authority
JP
Japan
Prior art keywords
light
base
generating element
optical axis
unit
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
JP2019021813A
Other languages
Japanese (ja)
Other versions
JP7199243B2 (en
Inventor
聡 小布施
Satoshi Obuse
聡 小布施
修平 大野
Shuhei Ono
修平 大野
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.)
Keyence Corp
Original Assignee
Keyence 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 Keyence Corp filed Critical Keyence Corp
Priority to JP2019021813A priority Critical patent/JP7199243B2/en
Publication of JP2020128934A publication Critical patent/JP2020128934A/en
Application granted granted Critical
Publication of JP7199243B2 publication Critical patent/JP7199243B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

To provide an inspection device with which it is possible to generate highly accurate height data without requiring a complex computation process, even when the temperature of a light generating element and its support member rises.SOLUTION: A measurement object is irradiated with structured light generated by a light generating element 118 through a light projection lens 119. The structured light reflected from the measurement object in the direction of an optical axis ax0 of an imaging unit is received by an imaging element, and height data indicating the height image of the measurement object is generated. The light generating element 118 and the light projection lens 119 are supported by a light projection base 110b composed of metal having larger linear expansion coefficient than the light generating element 118. The light projection base 110b has a contact surface 15a facing the optical axis ax0 of the imaging unit. The light generating element 118 is urged in a direction heading toward the contact surface 15a by a fixed member while being supported by the light projection base 110b so as to move away from the optical axis ax0 of the imaging unit.SELECTED DRAWING: Figure 8

Description

本発明は、測定対象物の高さを検査する検査装置に関する。 The present invention relates to an inspection device that inspects the height of an object to be measured.

三角測距方式の検査装置においては、投光部により測定対象物の表面に光が照射され、その反射光が1次元または2次元に配列された画素を有する受光部により受光される。受光部により得られる受光量分布のデータに基づいて、測定対象物の高さ画像を示す高さデータが生成される。このような高さデータは、工場等の生産現場において、生産された測定対象物の高さを検査(インライン検査)するために用いられることがある。 In the triangulation type inspection apparatus, the light projecting unit irradiates the surface of the object to be measured with light, and the reflected light is received by the light receiving unit having pixels arranged one-dimensionally or two-dimensionally. Height data indicating a height image of the measurement target is generated based on the data of the received light amount distribution obtained by the light receiving unit. Such height data may be used in a production site such as a factory for inspecting the height of an object to be measured (in-line inspection).

例えば、特許文献1の三次元画像処理装置においては、測定対象物がベルトコンベアにより搬送され、所定の位置で投光手段により測定対象物に構造化光が多数回照射される。また、構造化光の照射ごとに測定対象物から反射される構造化光が撮像部で受光され、測定対象物が撮像される。測定対象物の複数の画像データに基づいて、測定対象物の高さデータ(高さ画像)が生成される。生成された高さ画像に基づいて所定の検査が実行される。 For example, in the three-dimensional image processing apparatus of Patent Document 1, the measurement target is conveyed by a belt conveyor, and the measurement target is irradiated with structured light a large number of times at a predetermined position by a light projecting unit. Further, the structured light reflected from the measurement target object is received by the imaging unit each time the structured light is irradiated, and the measurement target object is imaged. Height data (height image) of the measurement target is generated based on the plurality of image data of the measurement target. A predetermined inspection is performed based on the generated height image.

特開2015−45587号公報JP, 2015-45587, A 特開2016−194607号公報JP, 2016-194607, A

上記の構造化光はDMD(デジタルマイクロミラーデバイス)等の光生成素子により生成される。このような光生成素子は、高さデータを正確に算出するために、他の光学部材とともに予め定められた位置に精度よく配置されることが望まれる。光生成素子を正確に位置決めするために、光生成素子を検査装置内の予め定められた位置に支持する支持部材が用いられる。 The structured light is generated by a light generation element such as DMD (Digital Micromirror Device). It is desirable that such a light generation element be accurately arranged at a predetermined position together with other optical members in order to accurately calculate height data. In order to accurately position the light generating element, a support member that supports the light generating element at a predetermined position in the inspection device is used.

ところで、検査装置内では、光生成素子および各種光源の駆動部が熱を発生することにより支持部材の温度が上昇する可能性がある。温度上昇に伴って光生成素子の位置が予め定められた位置からずれる可能性がある。このような光生成素子の位置ずれは、生成される高さデータの精度を低下させる。 By the way, in the inspection apparatus, the temperature of the support member may rise due to heat generated by the drive parts of the light generation element and the various light sources. There is a possibility that the position of the light generating element will deviate from a predetermined position as the temperature rises. Such positional deviation of the light generating element reduces the accuracy of the generated height data.

これに対して、特許文献2には、パターン光生成部(光生成素子)により生成されるパターン光(構造化光)の欠損および歪を低減する保持装置が記載されている。その保持装置においては、パターン光生成部を位置決めするための支持部に固定部が固定される。固定部は、当接部および弾性部を含む。当接部は、パターン光生成部の外周に当たるように設けられる。弾性体は、パターン光生成部のうち当接部に当たる部分を当接部に押圧する。 On the other hand, Patent Document 2 describes a holding device that reduces loss and distortion of the pattern light (structured light) generated by the pattern light generation unit (light generation element). In the holding device, the fixing portion is fixed to the support portion for positioning the pattern light generation portion. The fixed portion includes a contact portion and an elastic portion. The contact portion is provided so as to hit the outer periphery of the pattern light generation portion. The elastic body presses the portion of the pattern light generation portion that abuts the abutting portion against the abutting portion.

特許文献2の保持装置によれば、パターン光生成部が位置決めのための複数のピンで支持部材に固定されることがないので、パターン光生成部の変形が低減される。また、支持部材とパターン光生成部との位置ずれの予測が容易になる。予測ができれば、計測誤差の補正が可能となる。しかしながら、温度ごとに計測誤差の補正を行うためには煩雑な演算処理が必要となる。 According to the holding device of Patent Document 2, since the pattern light generation unit is not fixed to the support member by the plurality of pins for positioning, deformation of the pattern light generation unit is reduced. Further, it becomes easy to predict the positional deviation between the support member and the pattern light generation unit. If the prediction can be made, the measurement error can be corrected. However, in order to correct the measurement error for each temperature, complicated calculation processing is required.

本発明の目的は、光生成素子およびその支持部材の温度が上昇する場合においても煩雑な演算処理を要することなく高精度の高さデータを生成することが可能な検査装置を提供することである。 An object of the present invention is to provide an inspection apparatus capable of generating highly accurate height data without requiring complicated calculation processing even when the temperature of the light generating element and its supporting member rises. ..

(1)本発明に係る検査装置は、光源と、光源から出射される光を受けて構造化光を生成する光生成素子と、第1の光軸を有する投光レンズを含み、光生成素子により生成された構造化光を投光レンズを通して測定対象物に照射する投光光学系と、光生成素子よりも大きい線膨張係数を有する金属により構成されかつ光生成素子および投光レンズを支持する投光ベースと、第1の光軸に交差する第2の光軸を有する受光レンズを含みかつ投光ベースに接続される受光光学系と、測定対象物から第2の光軸の方向に反射される構造化光を受光光学系を通して受光することにより測定対象物の画像を示すパターン画像データを生成する撮像素子と、光生成素子を投光ベースに固定する固定部材とを備え、投光ベースは、第2の光軸から離間するとともに第2の光軸を向く当接部を有し、固定部材は、温度上昇による投光ベースの膨張に起因して投光光学系と第2の光軸との間の距離が増加する場合に、光生成素子から予め設定された基準面を経由して撮像素子に至る構造化光の光路長の変化量が0に近づくようにかつ光生成素子の任意の部分から基準面を経由して撮像素子に入射する光の撮像素子上の入射位置が温度上昇前における入射位置に近づくように、光生成素子を第2の光軸から遠ざかるように当接部に向かう方向に付勢する。 (1) The inspection apparatus according to the present invention includes a light source, a light generating element that receives light emitted from the light source to generate structured light, and a light projecting lens having a first optical axis. A projection optical system for irradiating the object to be measured with structured light generated by the projection lens, and a metal having a linear expansion coefficient larger than that of the light generating element and supporting the light generating element and the light projecting lens. A light receiving optical system including a light projecting base and a light receiving lens having a second optical axis intersecting the first optical axis and connected to the light projecting base; and reflection from a measurement target in the direction of the second optical axis. The structured light is received through the light receiving optical system to generate pattern image data showing an image of the object to be measured, and a fixing member for fixing the light generating element to the light emitting base. Has an abutting portion that is separated from the second optical axis and faces the second optical axis, and the fixing member is caused by expansion of the light projecting base due to temperature rise and the projecting optical system and the second optical axis. When the distance between the optical axis and the axis increases, the amount of change in the optical path length of the structured light from the light generating element to the imaging element via the preset reference surface approaches 0 and Contact the light generation element away from the second optical axis so that the incident position on the image sensor of the light entering the image sensor from the arbitrary part via the reference surface approaches the incident position before the temperature rise. Energize in the direction toward the section.

その検査装置においては、光源から出射された光が光生成素子に入射することにより、構造化光が生成される。生成された構造化光が投光光学系により測定対象物に照射される。測定対象物から第2の光軸の方向に反射される構造化光が受光光学系を通して撮像素子により受光され、パターン画像データが生成される。この場合、三角測距方式により生成されたパターン画像データに基づいて測定対象物の高さ画像を示す高さデータを生成することができる。また、生成された高さデータに基づいて測定対象物の検査を行うことができる。三角測距方式による測定対象物の高さ測定においては、撮像素子に対して予め定められた位置に基準面が設定される。 In the inspection apparatus, structured light is generated by the light emitted from the light source entering the light generating element. The structured light thus generated is applied to the object to be measured by the projection optical system. The structured light reflected from the measuring object in the direction of the second optical axis is received by the image pickup device through the light receiving optical system, and pattern image data is generated. In this case, the height data indicating the height image of the measuring object can be generated based on the pattern image data generated by the triangulation method. Further, it is possible to inspect the measurement object based on the generated height data. In the height measurement of the measuring object by the triangulation method, the reference plane is set at a predetermined position with respect to the image sensor.

投光ベースの温度が上昇すると、投光ベースを構成する金属材料の線膨張係数に応じて投光ベースが膨張する。このとき、投光ベースと受光光学系とは互いに接続されているので、当接部および投光レンズは投光ベースの膨張に伴って第2の光軸から遠ざかる。そのため、基準面における投光レンズの第1の光軸の交差位置は、投光ベースの温度上昇前の位置からずれることになる。 When the temperature of the light projecting base rises, the light projecting base expands according to the linear expansion coefficient of the metal material forming the light projecting base. At this time, since the light projecting base and the light receiving optical system are connected to each other, the contact portion and the light projecting lens move away from the second optical axis as the light projecting base expands. Therefore, the crossing position of the first optical axis of the light projecting lens on the reference plane is displaced from the position before the temperature rise of the light projecting base.

ここで、光生成素子の線膨張係数は投光ベースよりも小さいので、光生成素子の膨張の程度は投光ベースの膨張の程度よりも小さい。そのため、光生成素子は、固定部材により第2の光軸から遠ざかるように当接部に向かう方向に付勢されることにより、投光レンズの第1の光軸に対して第2の光軸から遠ざかる方向に相対的に移動する。 Here, since the linear expansion coefficient of the light generating element is smaller than that of the light projecting base, the degree of expansion of the light generating element is smaller than that of the light projecting base. Therefore, the light generating element is biased by the fixing member in the direction toward the contact portion so as to move away from the second optical axis, and thus the second optical axis with respect to the first optical axis of the light projecting lens. Move relatively away from.

この場合、光生成素子から測定対象物に照射される光は、第1の光軸を基準として投光レンズによって反転されつつ進行する。そのため、温度変化の前後で、基準面上の光の照射位置がほとんど変化しない。したがって、光生成素子から予め設定された基準面を経由して前記撮像素子に至る構造化光の光路長の変化量が0に近づく。また、光生成素子の任意の部分から基準面を経由して撮像素子に入射する光の撮像素子上の入射位置が温度上昇前における入射位置に近づく。これにより、投光ベースの温度上昇が測定対象物の高さ測定に及ぼす影響が、投光ベースに対する光生成素子の相対的な移動により相殺される。 In this case, the light emitted from the light generation element to the measurement object travels while being inverted by the light projecting lens with the first optical axis as a reference. Therefore, the irradiation position of the light on the reference surface hardly changes before and after the temperature change. Therefore, the amount of change in the optical path length of the structured light from the light generation element to the imaging element via the preset reference surface approaches zero. Further, the incident position on the image sensor of the light incident on the image sensor from any part of the light generating element via the reference surface approaches the incident position before the temperature rise. Thereby, the influence of the temperature rise of the light projecting base on the height measurement of the measuring object is canceled by the relative movement of the light generating element with respect to the light projecting base.

その結果、光生成素子および投光ベースの温度が上昇する場合においても煩雑な演算処理を要することなく高精度の高さデータを生成することが可能になる。 As a result, even when the temperature of the light generating element and the light emitting base rises, it is possible to generate highly accurate height data without requiring complicated calculation processing.

(2)光生成素子は、デジタルマイクロミラーデバイスであってもよい。 (2) The light generating element may be a digital micromirror device.

この場合、光源から出射される光の少なくとも一部がデジタルマイクロミラーデバイスにより反射されることにより構造化光が生成される。また、構造化光のパターンを容易かつ自由に設定することが可能になる。 In this case, at least a part of the light emitted from the light source is reflected by the digital micromirror device to generate structured light. In addition, the structured light pattern can be easily and freely set.

(3)検査装置は、光生成素子を保持可能に形成された保持具をさらに備え、投光ベースは、保持具を支持可能な支持面を有し、保持具は、投光ベースの支持面上に支持された状態で当接部に当接可能に形成された被当接部を有し、固定部材は、被当接部が当接部に当接した状態で、保持具により保持された光生成素子を当接部に向かう方向に付勢するように投光ベースに設けられてもよい。 (3) The inspection apparatus further includes a holder formed to hold the light generating element, the light projecting base has a supporting surface capable of supporting the holder, and the holder is a supporting surface of the light projecting base. The fixed member has an abutted portion formed so as to be able to abut the abutting portion while being supported above, and the fixing member is held by the holder in a state where the abutted portion abuts the abutting portion. The light generating element may be provided on the light projecting base so as to urge the light generating element in a direction toward the contact portion.

この場合、光生成素子は、保持具に保持された状態で投光ベースの支持面上に設けられる。それにより、投光ベースへの取り付け時における光生成素子の取り扱いが容易になる。 In this case, the light generation element is provided on the support surface of the light projecting base while being held by the holder. This facilitates handling of the light generating element when it is attached to the light emitting base.

(4)投光ベースは、支持面に交差しかつ当接部から第2の光軸を向く方向に延びる案内面をさらに有し、保持具は、投光ベースの支持面上に支持されかつ被当接部が当接部に当接した状態で案内面に当接可能に形成された被案内部を有し、固定部材は、被当接部が当接部に当接しかつ被案内部が案内面に当接した状態で、保持具を案内面に向かう方向にさらに付勢するように投光ベースに設けられてもよい。 (4) The light projecting base further has a guide surface that intersects the support surface and extends from the contact portion in a direction toward the second optical axis, and the holder is supported on the support surface of the light projecting base. The fixed member has a guided portion formed so as to be able to come into contact with the guide surface in a state where the abutted portion abuts against the abutting portion, and the fixed member has the abutted portion abutting against the abutting portion and May be provided on the light projecting base so as to further urge the holder in a direction toward the guide surface in a state where the holder contacts the guide surface.

この場合、保持部の被案内部が投光ベースの案内面に当接した状態で保持具が投光ベースの案内面に向かって付勢されることにより、投光ベースに対する保持具の移動が当接部から第2の光軸を向く方向に規制される。したがって、投光ベースの温度が上昇することにより、投光ベースが膨張する際に、光生成素子を第2の光軸から遠ざかる方向へ正確に移動させることができる。 In this case, the holder is biased toward the guide surface of the light projecting base while the guided portion of the holder is in contact with the guide surface of the light projecting base, so that the holder moves relative to the light projecting base. The contact portion is regulated in the direction toward the second optical axis. Therefore, when the temperature of the light projecting base rises, the light generating element can be accurately moved in the direction away from the second optical axis when the light projecting base expands.

(5)検査装置は、撮像素子を支持するとともに第2の光軸が上下方向に延びるように受光レンズを支持する受光ベースと、光源から出射される光が上方から下方に進行するように光源を支持する光源ベースと、光源から出射されて上方から下方に進行する光を第2の光軸から遠ざかるように斜め上方へ反射する反射部材とをさらに備え、光生成素子は、反射部材により反射される光の少なくとも一部を反射することにより構造化光を生成するように構成され、投光ベースは、反射部材を支持するとともに、光生成素子により生成された構造化光が受光レンズの第2の光軸を向いて斜め下方に進行するように光生成素子を支持してもよい。 (5) The inspection device includes a light receiving base that supports the image pickup element and a light receiving lens so that the second optical axis extends in the vertical direction, and a light source that allows the light emitted from the light source to travel from the upper side to the lower side. Further comprising a light source base for supporting the light source, and a reflecting member for reflecting the light emitted from the light source and traveling downward from the upper side obliquely upward away from the second optical axis, and the light generating element is reflected by the reflecting member. Configured to generate structured light by reflecting at least a portion of the reflected light, the floodlighting base supports the reflective member and the structured light generated by the light generating element is coupled to the light receiving lens. The light generating element may be supported so as to face the optical axis 2 and travel obliquely downward.

上記の構成によれば、光源から出射される光の光路が折り返されている。それにより、測定対象物に構造化光を照射するための構成が、その照射方向に大型化することが抑制される。 According to the above configuration, the optical path of the light emitted from the light source is folded back. As a result, the structure for irradiating the measurement object with the structured light is prevented from increasing in size in the irradiation direction.

また、上記の構成によれば、受光光学系の第2の光軸に対して直交する方向において、光源、光源ベースおよび反射部材は、光生成素子と受光光学系の第2の光軸との間に位置する。それにより、受光光学系の第2の光軸に対して直交する方向における光生成素子と受光光学系の第2の光軸との間の空間を有効利用することができる。 Further, according to the above configuration, in the direction orthogonal to the second optical axis of the light receiving optical system, the light source, the light source base, and the reflecting member include the light generation element and the second optical axis of the light receiving optical system. Located in between. Thereby, the space between the light generating element and the second optical axis of the light receiving optical system in the direction orthogonal to the second optical axis of the light receiving optical system can be effectively used.

したがって、光源、反射部材、光生成素子、受光光学系および撮像素子を含む複数の投受光系の構成をよりコンパクト化することができる。 Therefore, it is possible to make the configuration of the plurality of light emitting/receiving systems including the light source, the reflecting member, the light generating element, the light receiving optical system, and the image pickup element more compact.

(6)検査装置は、投光ベース、受光ベースおよび光源ベースを収容するケーシングをさらに備え、投光ベース、受光ベースおよび光源ベースは、ケーシングの内部に固定されてもよい。 (6) The inspection device may further include a casing that houses the light projecting base, the light receiving base, and the light source base, and the light projecting base, the light receiving base, and the light source base may be fixed inside the casing.

この場合、投光ベース、受光ベースおよび光源ベースをケーシング内にコンパクトに収容することができる。したがって、ケーシングの小型化が可能となり、ケーシングの設置スペースを低減することができる。さらに、検査装置の設置時の取り扱いが容易になる。 In this case, the light projecting base, the light receiving base, and the light source base can be compactly housed in the casing. Therefore, the casing can be downsized, and the installation space of the casing can be reduced. Furthermore, the handling of the inspection device during installation becomes easy.

本発明によれば、光生成素子およびその支持部材の温度が上昇する場合においても煩雑な演算処理を要することなく高い精度で高さデータを生成することが可能になる。 According to the present invention, height data can be generated with high accuracy without requiring complicated calculation processing even when the temperature of the light generation element and its supporting member rises.

本発明の一実施の形態に係る検査装置の構成を示すブロック図である。It is a block diagram which shows the structure of the inspection apparatus which concerns on one embodiment of this invention. 図1のヘッド部内部の基本構成を説明するための模式図である。FIG. 2 is a schematic diagram for explaining a basic configuration inside the head unit of FIG. 1. 三角測距方式の原理を説明するための図である。It is a figure for explaining the principle of the triangulation method. 図1の検査装置により実行される検査処理の一例を示すフローチャートである。6 is a flowchart showing an example of an inspection process executed by the inspection device of FIG. 1. 投光ベースにおける光生成素子の支持状態を説明するための分解斜視図である。It is an exploded perspective view for explaining a support state of a light generating element in a light projecting base. 投光ベースにおける光生成素子の支持状態を説明するための外観斜視図である。FIG. 6 is an external perspective view for explaining a supported state of a light generation element in a light projecting base. 図6の白抜きの矢印Qの方向に見た素子支持部の拡大図である。FIG. 7 is an enlarged view of the element support portion as viewed in the direction of the outlined arrow Q in FIG. 6. 温度変化に伴う光生成素子の支持状態の変化を説明するための図である。It is a figure for demonstrating the change of the support state of the light generation element accompanying a temperature change. ヘッド部の温度変化に伴う構造化光の光路の変化を説明するための図である。It is a figure for explaining a change of the optical path of structured light with temperature change of a head part. 変形例に係る検査装置の構成を示すブロック図である。It is a block diagram which shows the structure of the inspection apparatus which concerns on a modification.

以下、本発明の一実施の形態に係る検査装置について図面を参照しながら説明する。 Hereinafter, an inspection apparatus according to an embodiment of the present invention will be described with reference to the drawings.

(1)検査装置の構成
図1は、本発明の一実施の形態に係る検査装置の構成を示すブロック図である。図1に示すように、検査装置300は、ヘッド部100、コントローラ部200、操作部310および表示部320を備える。コントローラ部200は、プログラマブルロジックコントローラ等の外部機器400に接続される。
(1) Configuration of Inspection Device FIG. 1 is a block diagram showing the configuration of the inspection device according to the embodiment of the present invention. As shown in FIG. 1, the inspection device 300 includes a head unit 100, a controller unit 200, an operation unit 310, and a display unit 320. The controller unit 200 is connected to an external device 400 such as a programmable logic controller.

図1に太い矢印で示すように、複数の測定対象物Sが、ヘッド部100の下方の空間を通過するようにベルトコンベア301により順次搬送される。各測定対象物Sがヘッド部100の下方の空間を通過する際には、当該測定対象物Sがヘッド部100の下方の所定の位置で一時的に静止するように、ベルトコンベア301が一定時間停止する。 As indicated by thick arrows in FIG. 1, a plurality of measurement objects S are sequentially conveyed by the belt conveyor 301 so as to pass through the space below the head unit 100. When each measurement object S passes through the space below the head unit 100, the belt conveyor 301 is kept for a certain time so that the measurement object S temporarily stops at a predetermined position below the head unit 100. Stop.

ヘッド部100は、例えば投受光一体の撮像デバイスであり、照明部110、撮像部120および演算部130がヘッドケーシング100c内に収容された構成を有する。照明部110は、赤色、青色、緑色または白色の光であって、かつ、任意のパターンを有する光とパターンを有しない一様な光とを、選択的に斜め上方から測定対象物Sに照射可能に構成される。以下、任意のパターンを有する光を構造化光と呼び、一様な光を一様光と呼ぶ。照明部110の構成については後述する。 The head unit 100 is, for example, an image pickup device integrated with light projection and reception, and has a configuration in which an illumination unit 110, an image pickup unit 120, and a calculation unit 130 are housed in a head casing 100c. The illuminating unit 110 selectively irradiates the measurement target S with red, blue, green, or white light, and light having an arbitrary pattern and uniform light having no pattern, obliquely from above. Configured to be possible. Hereinafter, light having an arbitrary pattern is referred to as structured light, and uniform light is referred to as uniform light. The configuration of the illumination unit 110 will be described later.

撮像部120は、撮像素子121および受光レンズ122,123を備える。受光レンズ122,123のうち少なくとも受光レンズ122は、テレセントリックレンズである。測定対象物Sにより上方に反射された構造化光または一様光は、撮像部120の受光レンズ122,123により集光および結像された後、撮像素子121により受光される。撮像素子121は、例えばモノクロCCD(電荷結合素子)であり、各画素から受光量に対応するアナログの電気信号を出力することにより画像データを生成する。撮像素子121は、CMOS(相補性金属酸化膜半導体)イメージセンサ等の他の撮像素子であってもよい。 The image capturing unit 120 includes an image capturing element 121 and light receiving lenses 122 and 123. At least the light receiving lens 122 of the light receiving lenses 122 and 123 is a telecentric lens. The structured light or uniform light reflected upward by the measurement object S is condensed and image-formed by the light receiving lenses 122 and 123 of the image pickup unit 120, and then received by the image pickup element 121. The image sensor 121 is, for example, a monochrome CCD (charge coupled device), and generates image data by outputting an analog electric signal corresponding to the amount of light received from each pixel. The image pickup device 121 may be another image pickup device such as a CMOS (complementary metal oxide semiconductor) image sensor.

本実施の形態においては、構造化光が測定対象物Sに照射されたときの測定対象物Sの画像を示す画像データをパターン画像データと呼ぶ。これに対し、赤色、青色または緑色のいずれかの波長を有する一様光が測定対象物Sに照射されたときの測定対象物Sの画像を示す画像データをテクスチャ画像データと呼ぶ。 In the present embodiment, image data indicating an image of the measurement target S when the measurement target S is irradiated with the structured light is referred to as pattern image data. On the other hand, image data showing an image of the measurement target S when the measurement target S is irradiated with uniform light having any one of red, blue, and green wavelengths is referred to as texture image data.

演算部130は、例えばFPGA(フィールドプログラマブルゲートアレイ)により実現され、撮像処理部131、演算処理部132、記憶部133および出力処理部134を含む。本実施の形態においては、演算部130はFPGAにより実現されるが、本発明はこれに限定されない。演算部130は、CPU(中央演算処理装置)およびRAM(ランダムアクセスメモリ)により実現されてもよいし、マイクロコンピュータにより実現されてもよい。 The arithmetic unit 130 is realized by, for example, an FPGA (Field Programmable Gate Array), and includes an imaging processing unit 131, an arithmetic processing unit 132, a storage unit 133, and an output processing unit 134. In the present embodiment, arithmetic unit 130 is realized by an FPGA, but the present invention is not limited to this. The arithmetic unit 130 may be realized by a CPU (central processing unit) and RAM (random access memory), or may be realized by a microcomputer.

撮像処理部131は、照明部110および撮像部120の動作を制御する。演算処理部132は、複数のパターン画像データに基づいて測定対象物Sの高さ画像を示す高さデータを生成する。また、演算処理部132は、赤色、青色および緑色の一様光により生成された赤色、青色および緑色のテクスチャ画像データを合成することにより、測定対象物Sのカラー画像を示すカラーテクスチャ画像データを生成する。記憶部133は、撮像部120により生成された複数のパターン画像データおよびテクスチャ画像データを一時的に記憶する。また、記憶部133は、演算処理部132により生成された高さデータおよびカラーテクスチャ画像データを一時的に記憶する。出力処理部134は、記憶部133に記憶された高さデータまたはカラーテクスチャ画像データを出力する。演算部130の詳細については後述する。 The imaging processing unit 131 controls the operations of the illumination unit 110 and the imaging unit 120. The arithmetic processing unit 132 generates height data indicating a height image of the measuring object S based on the plurality of pattern image data. Further, the arithmetic processing unit 132 synthesizes the red, blue, and green texture image data generated by the uniform light of red, blue, and green to obtain color texture image data indicating the color image of the measuring object S. To generate. The storage unit 133 temporarily stores the plurality of pattern image data and texture image data generated by the imaging unit 120. The storage unit 133 also temporarily stores the height data and the color texture image data generated by the arithmetic processing unit 132. The output processing unit 134 outputs the height data or the color texture image data stored in the storage unit 133. Details of the calculation unit 130 will be described later.

コントローラ部200は、ヘッド制御部210、画像メモリ220および検査部230を含む。ヘッド制御部210は、外部機器400により与えられる指令に基づいて、ヘッド部100の動作を制御する。画像メモリ220は、演算部130により出力された高さデータまたはカラーテクスチャ画像データを記憶する。 The controller unit 200 includes a head control unit 210, an image memory 220, and an inspection unit 230. The head control unit 210 controls the operation of the head unit 100 based on a command given by the external device 400. The image memory 220 stores the height data or the color texture image data output by the calculation unit 130.

検査部230は、使用者により指定された検査内容に基づいて、画像メモリ220に記憶された高さデータまたはカラーテクスチャ画像データについてエッジ検出または寸法計測等の処理を実行する。また、検査部230は、計測値を所定のしきい値と比較することにより、測定対象物Sの良否を判定し、判定結果を外部機器400に与える。 The inspection unit 230 performs processing such as edge detection or dimension measurement on the height data or the color texture image data stored in the image memory 220 based on the inspection content designated by the user. In addition, the inspection unit 230 determines the quality of the measurement target S by comparing the measured value with a predetermined threshold value, and gives the determination result to the external device 400.

コントローラ部200には、操作部310および表示部320が接続される。操作部310は、キーボード、ポインティングデバイスまたは専用のコンソールを含む。ポインティングデバイスとしては、マウスまたはジョイスティック等が用いられる。使用者は、操作部310を操作することにより、コントローラ部200に所望の検査内容を指定することができる。 An operation unit 310 and a display unit 320 are connected to the controller unit 200. The operation unit 310 includes a keyboard, a pointing device, or a dedicated console. A mouse, a joystick, or the like is used as the pointing device. By operating the operation unit 310, the user can specify desired inspection contents in the controller unit 200.

表示部320は、例えばLCD(液晶ディスプレイ)パネルまたは有機EL(エレクトロルミネッセンス)パネルにより構成される。表示部320は、画像メモリ220に記憶された高さデータに基づく高さ画像を表示する。また、表示部320は、画像メモリ220に記憶されたカラーテクスチャ画像データに基づく測定対象物Sのカラー画像を表示する。さらに、表示部320は、検査部230による測定対象物Sの判定結果を表示する。 The display unit 320 is composed of, for example, an LCD (liquid crystal display) panel or an organic EL (electroluminescence) panel. The display unit 320 displays a height image based on the height data stored in the image memory 220. The display unit 320 also displays a color image of the measuring object S based on the color texture image data stored in the image memory 220. Further, the display unit 320 displays the determination result of the measurement target S by the inspection unit 230.

(2)ヘッド部100の基本的な内部構成
図2は、図1のヘッド部100内部の基本構成を説明するための模式図である。図2に示すように、撮像部120は、図1に示される構成要素に加えて受光ベース120aを備える。受光ベース120aは、例えば鏡筒を含み、ヘッドケーシング100cの内部で受光レンズ122,123および撮像素子121を支持する。ヘッドケーシング100cの内部において、受光レンズ122,123は、共通の光軸ax0が上下方向に延びるように固定されている。撮像素子121は、受光レンズ122,123の共通の光軸ax0上で下方から上方に進行する光を受けるように、受光レンズ122,123の上方に固定されている。また、本例では、演算部130は、基板に実装された状態で撮像部120の上方に位置するように、ヘッドケーシング100c内に固定されている。
(2) Basic Internal Configuration of Head Unit 100 FIG. 2 is a schematic diagram for explaining the basic internal configuration of the head unit 100 of FIG. As shown in FIG. 2, the imaging unit 120 includes a light receiving base 120a in addition to the components shown in FIG. The light receiving base 120a includes, for example, a lens barrel, and supports the light receiving lenses 122 and 123 and the image sensor 121 inside the head casing 100c. Inside the head casing 100c, the light receiving lenses 122 and 123 are fixed such that a common optical axis ax0 extends in the vertical direction. The image pickup device 121 is fixed above the light receiving lenses 122 and 123 so as to receive the light traveling upward from below on the optical axis ax0 common to the light receiving lenses 122 and 123. Further, in this example, the arithmetic unit 130 is fixed in the head casing 100c so as to be located above the imaging unit 120 in a state where it is mounted on the board.

ヘッドケーシング100c内では、水平方向において撮像部120に隣り合うように照明部110が設けられている。照明部110は、光源111,112,113、ダイクロイックミラー114,115、照明レンズ116、ミラー117、光生成素子118、投光レンズ119、光源ベース110aおよび投光ベース110bを備える。 In the head casing 100c, the illumination unit 110 is provided so as to be adjacent to the imaging unit 120 in the horizontal direction. The illumination unit 110 includes light sources 111, 112 and 113, dichroic mirrors 114 and 115, an illumination lens 116, a mirror 117, a light generation element 118, a light projecting lens 119, a light source base 110a and a light projecting base 110b.

光源ベース110aは、光源111,112,113、ダイクロイックミラー114,115および照明レンズ116を支持する。投光ベース110bは、ミラー117、光生成素子118および投光レンズ119を支持する。光源ベース110aは、投光ベース110bの上方に位置するように投光ベース110bに接続される。互いに接続された光源ベース110aおよび投光ベース110bは、連結部材JTを介して撮像部120の受光ベース120aに接続されている。光源ベース110a、投光ベース110b、受光ベース120aおよび連結部材JTは、共通の金属材料(本例ではアルミニウム(Al))により形成されている。予め定められた基準温度(例えば25℃)において、照明部110および撮像部120の複数の構成要素は予め定められた位置関係で保持される。 The light source base 110a supports the light sources 111, 112, 113, the dichroic mirrors 114, 115, and the illumination lens 116. The light projecting base 110b supports the mirror 117, the light generating element 118, and the light projecting lens 119. The light source base 110a is connected to the light projecting base 110b so as to be located above the light projecting base 110b. The light source base 110a and the light projecting base 110b connected to each other are connected to the light receiving base 120a of the imaging unit 120 via the connecting member JT. The light source base 110a, the light projecting base 110b, the light receiving base 120a, and the connecting member JT are made of a common metal material (aluminum (Al) in this example). At a predetermined reference temperature (for example, 25° C.), the plurality of constituent elements of the illumination unit 110 and the imaging unit 120 are held in a predetermined positional relationship.

光源111,112,113は、例えばLED(発光ダイオード)であり、緑色光、青色光および赤色光をそれぞれ出射する。各光源111〜113はLED以外の他の光源であってもよい。 The light sources 111, 112, and 113 are, for example, LEDs (light emitting diodes), and emit green light, blue light, and red light, respectively. Each of the light sources 111 to 113 may be a light source other than the LED.

ダイクロイックミラー114は、光源111により出射された緑色光と光源112により出射された青色光とが重ね合わせ可能となるように光源ベース110aにより支持される。ダイクロイックミラー115は、ダイクロイックミラー114により重ね合わされた光と光源113により出射された赤色光とが重ね合わせ可能となるように光源ベース110aにより支持される。これにより、光源111〜113から緑色光、青色光および赤色光が同時に出射される際には、それらの光が共通の光路上で重ね合わされ、白色光が生成される。 The dichroic mirror 114 is supported by the light source base 110a so that the green light emitted by the light source 111 and the blue light emitted by the light source 112 can be superposed on each other. The dichroic mirror 115 is supported by the light source base 110a so that the light superposed by the dichroic mirror 114 and the red light emitted by the light source 113 can be superposed. Thereby, when the green light, the blue light, and the red light are simultaneously emitted from the light sources 111 to 113, these lights are superposed on a common optical path to generate white light.

また、本実施の形態において、光源111〜113およびダイクロイックミラー114,115は、光源111〜113によりそれぞれ出射される複数の光が上方から下方に向かう共通の光路を進行するように、光源ベース110aにより支持される。 Further, in the present embodiment, the light sources 111 to 113 and the dichroic mirrors 114 and 115 have the light source base 110a so that a plurality of lights respectively emitted by the light sources 111 to 113 travel on a common optical path from the upper side to the lower side. Supported by.

照明レンズ116は、ダイクロイックミラー115の下方の位置で、ダイクロイックミラー115を通過または反射した光を集光するように、光源ベース110aにより支持される。ヘッドケーシング100c内において、照明レンズ116により集光される光はさらに上方から下方に向かって進行する。 The illumination lens 116 is supported by the light source base 110a at a position below the dichroic mirror 115 so as to collect the light passing through or reflected by the dichroic mirror 115. In the head casing 100c, the light condensed by the illumination lens 116 further proceeds from the upper side to the lower side.

ミラー117は、照明レンズ116を通過した光を撮像部120の光軸ax0から遠ざかる方向を向いて斜め上方へ反射するように投光ベース110bにより支持される。光生成素子118は、ミラー117により反射される光を受けるように、投光ベース110bにより支持される。本実施の形態においては、光生成素子118は、DMD(デジタルマイクロミラーデバイス)である。光生成素子118は、受けた光の少なくとも一部を撮像部120の光軸ax0に近づくように斜め下方に反射することにより構造化光および一様光を選択的に生成する光生成面を有する。光生成素子118は、LCDまたはLCOS(反射型液晶素子)であってもよい。投光ベース110bにおける光生成素子118の支持状態の詳細については後述する。 The mirror 117 is supported by the light projecting base 110b so as to reflect the light that has passed through the illumination lens 116 in a direction away from the optical axis ax0 of the imaging unit 120 and obliquely upward. The light generating element 118 is supported by the light projecting base 110b so as to receive the light reflected by the mirror 117. In the present embodiment, the light generation element 118 is a DMD (digital micromirror device). The light generation element 118 has a light generation surface that selectively generates structured light and uniform light by reflecting at least a part of the received light obliquely downward so as to approach the optical axis ax0 of the imaging unit 120. .. The light generation element 118 may be an LCD or an LCOS (reflection type liquid crystal element). Details of the support state of the light generating element 118 on the light projecting base 110b will be described later.

投光レンズ119は、投光レンズ119の光軸ax1が投光レンズ119から撮像部120の光軸ax0を向いて斜め下方に延びるように投光ベース110bにより支持される。本実施の形態においては、投光レンズ119は、光生成素子118からの光を拡大しつつ図1の測定対象物Sに照射する。なお、投光レンズ119は、複数のレンズで構成されてもよい。この場合、投光レンズ119は、テレセントリック光学系を含んでもよく、光生成素子118からの構造化光または一様光を拡大するとともに平行化して測定対象物Sに照射可能に設けられてもよい。 The light projecting lens 119 is supported by the light projecting base 110b such that the optical axis ax1 of the light projecting lens 119 extends obliquely downward from the light projecting lens 119 toward the optical axis ax0 of the imaging unit 120. In the present embodiment, the light projecting lens 119 irradiates the measurement target S of FIG. 1 with expanding the light from the light generating element 118. The light projecting lens 119 may be composed of a plurality of lenses. In this case, the light projecting lens 119 may include a telecentric optical system, and may be provided so that the structured light or uniform light from the light generating element 118 is expanded and collimated to irradiate the measurement target S. ..

上記の構成によれば、光源111,112,113から出射される複数の光に共通の光路が折り返されて測定対象物Sに照射される。それにより、光源ベース110aにより支持される各光学系が、投光レンズ119の光軸ax1上に並ばない。したがって、測定対象物Sに構造化光および一様光を照射するための構成が、その照射方向に大型化することが抑制されている。 According to the above configuration, the optical path common to the plurality of lights emitted from the light sources 111, 112, 113 is folded back and is irradiated onto the measurement target S. As a result, the optical systems supported by the light source base 110a are not aligned on the optical axis ax1 of the light projecting lens 119. Therefore, the structure for irradiating the measurement object S with the structured light and the uniform light is suppressed from being enlarged in the irradiation direction.

また、上記の構成によれば、撮像部120の光軸ax0に直交する方向において、光源ベース110aにより支持される複数の光学系の少なくとも一部は、光生成素子118と撮像部120の光軸ax0との間に位置する。それにより、撮像部120の光軸ax0に直交する方向における光生成素子118と撮像部120の光軸ax0との間の空間を有効利用することができる。 Further, according to the above configuration, at least a part of the plurality of optical systems supported by the light source base 110a in the direction orthogonal to the optical axis ax0 of the imaging unit 120 includes the light generation element 118 and the optical axis of the imaging unit 120. It is located between ax0. Thereby, the space between the light generation element 118 and the optical axis ax0 of the imaging unit 120 in the direction orthogonal to the optical axis ax0 of the imaging unit 120 can be effectively used.

これらの結果、ヘッドケーシング100c内で照明部110および撮像部120がコンパクトに配置されるので、ヘッド部100の小型化が実現されるとともにヘッド部100のレイアウトの自由度が向上する。さらに、ヘッド部100の設置スペースが低減されるとともに、ヘッド部100の設置時の取り扱いが容易になる。 As a result, since the illumination unit 110 and the imaging unit 120 are compactly arranged in the head casing 100c, downsizing of the head unit 100 is realized and the flexibility of layout of the head unit 100 is improved. Further, the installation space of the head unit 100 is reduced, and the head unit 100 is easily handled during installation.

図1の演算部130の撮像処理部131は、後述する検査処理のフローに従って、光源111〜113による光の出射を個別に制御する。また、照明部110から出射される光に所望のパターンが付与されるように光生成素子118を制御する。これにより、照明部110は、白色でかつ所定のパターンを有する構造化光と、緑色、青色または赤色の一様光とを選択的に出射する。さらに、撮像処理部131は、後述する検査処理のフローに従って、照明部110における構造化光または一様光の出射に同期して測定対象物Sを撮像するように撮像部120を制御する。 The imaging processing unit 131 of the calculation unit 130 in FIG. 1 individually controls the emission of light by the light sources 111 to 113 according to the flow of the inspection process described below. In addition, the light generation element 118 is controlled so that the light emitted from the illumination unit 110 is given a desired pattern. Accordingly, the illumination unit 110 selectively emits white structured light having a predetermined pattern and uniform green, blue, or red light. Further, the image capturing processing unit 131 controls the image capturing unit 120 so as to capture an image of the measurement target S in synchronization with the emission of structured light or uniform light in the illumination unit 110 according to the flow of the inspection process described below.

(3)高さデータの生成
検査装置300においては、ヘッド部100に固有の三次元座標系(以下、装置座標系と呼ぶ。)が定義される。本例の装置座標系は、原点と互いに直交するX軸、Y軸およびZ軸とを含む。以下の説明では、装置座標系のX軸に平行な方向をX方向と呼び、Y軸に平行な方向をY方向と呼び、Z軸に平行な方向をZ方向と呼ぶ。X方向およびY方向は、ベルトコンベア301の上面に平行な面内で互いに直交する。Z方向は、ベルトコンベア301の上面に対して直交する。
(3) Generation of Height Data In the inspection device 300, a three-dimensional coordinate system unique to the head unit 100 (hereinafter, referred to as a device coordinate system) is defined. The apparatus coordinate system of this example includes an X axis, a Y axis, and a Z axis that are orthogonal to the origin. In the following description, the direction parallel to the X axis of the device coordinate system is called the X direction, the direction parallel to the Y axis is called the Y direction, and the direction parallel to the Z axis is called the Z direction. The X direction and the Y direction are orthogonal to each other in a plane parallel to the upper surface of the belt conveyor 301. The Z direction is orthogonal to the upper surface of the belt conveyor 301.

ヘッド部100においては、三角測距方式により測定対象物Sの高さ画像を示す高さデータが生成される。三角測距方式による測定対象物の高さ測定においては、撮像素子121に対して予め定められた位置に基準面が設定される。本例では、ベルトコンベア301の上面が基準面として設定されるものとする。 In the head unit 100, height data indicating a height image of the measuring object S is generated by the triangulation method. In the height measurement of the measuring object by the triangulation method, the reference plane is set at a predetermined position with respect to the image sensor 121. In this example, the upper surface of the belt conveyor 301 is set as the reference surface.

図3は、三角測距方式の原理を説明するための図である。図3には、X方向、Y方向およびZ方向がそれぞれ矢印で示される。ここで、検査装置300のヘッド部100内部の温度は基準温度であるものとする。 FIG. 3 is a diagram for explaining the principle of the triangulation method. In FIG. 3, the X direction, the Y direction, and the Z direction are indicated by arrows. Here, it is assumed that the temperature inside the head unit 100 of the inspection device 300 is a reference temperature.

図3に示すように、照明部110の光学系(図2の投光レンズ119)の光軸ax1と撮像部120の光学系(図2の受光レンズ122,123)の光軸ax0との間の角度αが予め設定される。角度αは、0度よりも大きく90度よりも小さい。 As shown in FIG. 3, between the optical axis ax1 of the optical system of the illumination unit 110 (projecting lens 119 of FIG. 2) and the optical axis ax0 of the optical system of the imaging unit 120 (receiving lenses 122 and 123 of FIG. 2). Angle α is set in advance. The angle α is larger than 0 degrees and smaller than 90 degrees.

ヘッド部100の下方に測定対象物Sが存在しない場合、照明部110から出射される光は、基準面Rの点Oにより反射され、撮像部120に入射する。一方、ヘッド部100の下方に測定対象物Sが存在する場合、照明部110から出射される光は、測定対象物Sの表面の点Aにより反射され、撮像部120に入射する。これにより、測定対象物Sが撮像され、測定対象物Sの画像を示す画像データが生成される。 When the measurement target S does not exist below the head unit 100, the light emitted from the illumination unit 110 is reflected by the point O on the reference plane R and enters the imaging unit 120. On the other hand, when the measurement target S is present below the head unit 100, the light emitted from the illumination unit 110 is reflected by the point A on the surface of the measurement target S and enters the imaging unit 120. As a result, the measurement target S is imaged, and image data indicating an image of the measurement target S is generated.

点Oと点Aとの間のX方向における距離をdとすると、基準面Rに対する測定対象物Sの点Aの高さhは、h=d÷tan(α)により与えられる。演算部130は、撮像部120により生成される画像データに基づいて、距離dを算出する。また、演算部130は、算出された距離dに基づいて、測定対象物Sの表面の点Aの高さhを算出する。測定対象物Sの表面の全ての点の高さを算出することにより、光が照射された全ての点について装置座標系で表される座標を特定することができる。それにより、測定対象物Sの高さデータが生成される。 When the distance between the point O and the point A in the X direction is d, the height h of the point A of the measuring object S with respect to the reference plane R is given by h=d÷tan(α). The calculation unit 130 calculates the distance d based on the image data generated by the imaging unit 120. In addition, the calculation unit 130 calculates the height h of the point A on the surface of the measuring object S based on the calculated distance d. By calculating the heights of all the points on the surface of the measuring object S, the coordinates represented by the device coordinate system can be specified for all the points irradiated with light. Thereby, height data of the measuring object S is generated.

測定対象物Sの表面の全ての点に光を照射するために、照明部110から種々の構造化光が出射される。本実施の形態においては、Y方向に平行でかつX方向に並ぶような直線状の断面を有する縞状の構造化光(以下、縞状光と呼ぶ。)が、その空間位相が変化されつつ照明部110から複数回出射される。また、Y方向に平行な直線状の断面を有しかつ明部分と暗部分とがX方向に並ぶコード状の構造化光(以下、コード状光と呼ぶ。)が、その明部分および暗部分がグレイコード状に変化されつつ照明部110から複数回出射される。 In order to irradiate all points on the surface of the measuring object S with light, various illumination lights are emitted from the illumination unit 110. In the present embodiment, the striped structured light (hereinafter referred to as striped light) having a linear cross section that is parallel to the Y direction and aligned in the X direction has its spatial phase changed. The light is emitted from the illumination unit 110 multiple times. Further, the coded structured light (hereinafter, referred to as coded light) having a linear cross section parallel to the Y direction and having the bright portion and the dark portion aligned in the X direction is the bright portion and the dark portion. Is emitted multiple times from the illumination unit 110 while being changed into a gray code.

(4)検査処理
図4は、図1の検査装置300により実行される検査処理の一例を示すフローチャートである。以下、図1に示される検査装置300の各構成要素および図4のフローチャートを用いて検査処理を説明する。まず、ヘッド部100において、撮像処理部131は、所定のパターンを有する白色の構造化光を出射するように照明部110を制御する(ステップS1)。また、撮像処理部131は、ステップS1における構造化光の出射と同期して測定対象物Sを撮像するように撮像部120を制御する(ステップS2)。これにより、測定対象物Sのパターン画像データが撮像部120により生成される。
(4) Inspection Process FIG. 4 is a flowchart showing an example of the inspection process executed by the inspection device 300 of FIG. The inspection process will be described below with reference to the components of the inspection apparatus 300 shown in FIG. 1 and the flowchart of FIG. First, in the head unit 100, the imaging processing unit 131 controls the illumination unit 110 to emit white structured light having a predetermined pattern (step S1). Further, the imaging processing unit 131 controls the imaging unit 120 so as to image the measurement target S in synchronization with the emission of the structured light in step S1 (step S2). As a result, the pattern image data of the measuring object S is generated by the image capturing unit 120.

次に、撮像処理部131は、直前のステップS2で生成されたパターン画像データを記憶部133に記憶させる(ステップS3)。また、撮像処理部131は、所定の回数撮像が実行されたか否かを判定する(ステップS4)。所定の回数撮像が実行されていない場合、撮像処理部131は、構造化光のパターンを変更するように図2の光生成素子118を制御し(ステップS5)、ステップS1に戻る。ここで、構造化光のパターンを変更することには、構造化光のパターンの位相をシフトさせることが含まれる。所定の回数撮像が実行されるまで、ステップS1〜S5が繰り返される。これにより、パターンが変化されつつ縞状光およびコード状光が測定対象物Sに順次照射されたときの複数のパターン画像データが記憶部133に記憶される。なお、縞状光とコード状光とは、いずれが先に出射されてもよい。 Next, the imaging processing unit 131 causes the storage unit 133 to store the pattern image data generated in the immediately preceding step S2 (step S3). The image capturing processing unit 131 also determines whether the image capturing has been performed a predetermined number of times (step S4). When the imaging has not been performed a predetermined number of times, the imaging processing unit 131 controls the light generation element 118 of FIG. 2 so as to change the pattern of structured light (step S5), and returns to step S1. Here, changing the pattern of structured light includes shifting the phase of the pattern of structured light. Steps S1 to S5 are repeated until imaging is performed a predetermined number of times. As a result, a plurality of pattern image data when the striped light and the coded light are sequentially irradiated to the measurement object S while the pattern is changed are stored in the storage unit 133. Either the striped light or the coded light may be emitted first.

ステップS4で、所定の回数撮像が実行された場合、演算処理部132は、記憶部133に記憶された複数のパターン画像データについて演算を行うことにより、高さデータを生成する(ステップS6)。その後、出力処理部134は、ステップS6で生成された高さデータをコントローラ部200に出力する(ステップS7)。これにより、コントローラ部200の画像メモリ220に高さデータが蓄積される。 When the imaging is performed a predetermined number of times in step S4, the arithmetic processing unit 132 generates height data by performing an arithmetic operation on the plurality of pattern image data stored in the storage unit 133 (step S6). After that, the output processing unit 134 outputs the height data generated in step S6 to the controller unit 200 (step S7). As a result, the height data is stored in the image memory 220 of the controller unit 200.

次に、撮像処理部131は、図2の複数の光源111,112,113のうち一の光源を選択するとともに選択された一の光源に対応する色の一様光を出射するように照明部110を制御する(ステップS8)。また、撮像処理部131は、ステップS8における一様光の出射と同期して測定対象物Sを撮像するように撮像部120を制御する(ステップS9)。これにより、一の光源に対応する色のテクスチャ画像データが撮像部120により生成される。 Next, the imaging processing unit 131 selects one light source from the plurality of light sources 111, 112, 113 in FIG. 2 and emits uniform light of a color corresponding to the selected one light source. 110 is controlled (step S8). In addition, the image capturing processing unit 131 controls the image capturing unit 120 to capture an image of the measuring object S in synchronization with the emission of uniform light in step S8 (step S9). As a result, the image capturing unit 120 generates texture image data of a color corresponding to one light source.

続いて、撮像処理部131は、直前のステップS9で生成されたテクスチャ画像データを記憶部133に記憶させる(ステップS10)。また、撮像処理部131は、全光源111〜113を用いた撮像が実行されたか否かを判定する(ステップS11)。全光源111〜113を用いた撮像が実行されていない場合、撮像処理部131は、直前のステップS7の処理後で光が出射されていない1または複数の光源から光を出射する光源を決定し(ステップS12)、ステップS8に戻る。全光源111〜113を用いた撮像が実行されるまで、ステップS8〜S12が繰り返される。これにより、測定対象物Sに照射される光の色が変化されつつ一様光が測定対象物Sに順次照射されたときの複数のテクスチャ画像データが記憶部133に記憶される。 Then, the imaging processing unit 131 stores the texture image data generated in the immediately preceding step S9 in the storage unit 133 (step S10). The imaging processing unit 131 also determines whether imaging using all the light sources 111 to 113 has been performed (step S11). When imaging using all the light sources 111 to 113 is not executed, the imaging processing unit 131 determines a light source that emits light from one or a plurality of light sources that have not emitted light after the process of the immediately preceding step S7. (Step S12), the process returns to step S8. Steps S8 to S12 are repeated until imaging using all the light sources 111 to 113 is executed. As a result, the storage unit 133 stores a plurality of texture image data when the uniform light is sequentially applied to the measurement target S while the color of the light applied to the measurement target S is changed.

ステップS11で、全光源111〜113を用いた撮像が実行された場合、演算処理部132は、記憶部133に記憶された複数のテクスチャ画像データを合成することにより、カラーテクスチャ画像データを生成する(ステップS13)。その後、出力処理部134は、ステップS13で生成されたカラーテクスチャ画像データをコントローラ部200に出力する(ステップS14)。これにより、コントローラ部200の画像メモリ220にカラーテクスチャ画像データが蓄積される。 When the imaging using all the light sources 111 to 113 is executed in step S11, the arithmetic processing unit 132 generates color texture image data by synthesizing the plurality of texture image data stored in the storage unit 133. (Step S13). After that, the output processing unit 134 outputs the color texture image data generated in step S13 to the controller unit 200 (step S14). As a result, the color texture image data is stored in the image memory 220 of the controller unit 200.

次に、コントローラ部200において、検査部230は、ステップS7,S14で画像メモリ220に蓄積された高さデータおよびカラーテクスチャ画像データに画像処理を実行する(ステップS15)。これにより、使用者により予め指定された検査内容に基づいて、高さデータまたはカラーテクスチャ画像データにおける所定部分の計測が実行される。具体的には、高さ方向(Z方向)に関する計測は高さデータを用いて行われ、X方向またはY方向に関する計測はカラーテクスチャ画像データを用いて行われる。 Next, in the controller unit 200, the inspection unit 230 performs image processing on the height data and the color texture image data stored in the image memory 220 in steps S7 and S14 (step S15). As a result, the measurement of a predetermined portion in the height data or the color texture image data is executed based on the inspection content designated in advance by the user. Specifically, measurement in the height direction (Z direction) is performed using height data, and measurement in the X direction or Y direction is performed using color texture image data.

続いて、検査部230は、ステップS15で得られた計測値を所定のしきい値と比較することにより測定対象物Sの良否を判定し(ステップS16)、計測処理を終了する。 Subsequently, the inspection unit 230 determines the quality of the measurement target S by comparing the measurement value obtained in step S15 with a predetermined threshold value (step S16), and ends the measurement process.

ここで、検査部230は、ステップS16における判定結果を表示部320に表示してもよいし、外部機器400に与えてもよい。また、検査部230は、ステップS6の処理で生成される高さデータに基づく高さ画像を表示部320に表示させることができる。さらに、表示部320は、ステップS13で生成されるカラーテクスチャ画像データに基づく測定対象物Sのカラー画像を表示部320に表示させることができる。 Here, the inspection unit 230 may display the determination result in step S16 on the display unit 320 or may give the determination result to the external device 400. Further, the inspection unit 230 can cause the display unit 320 to display a height image based on the height data generated in the process of step S6. Furthermore, the display unit 320 can display a color image of the measuring object S based on the color texture image data generated in step S13 on the display unit 320.

上記の検査処理においては、ステップS1〜S7が実行された後にステップS8〜S14が実行されるが、本発明はこれに限定されない。ステップS8〜S14が実行された後にステップS1〜S7が実行されてもよい。また、ステップS7,S14は、計測が実行される前におけるいずれの時点で実行されてもよく、他の処理と並列的に実行されてもよい。 In the inspection process described above, steps S8 to S14 are executed after steps S1 to S7 are executed, but the present invention is not limited to this. Steps S1 to S7 may be executed after steps S8 to S14 are executed. Further, steps S7 and S14 may be executed at any time before the measurement is executed, and may be executed in parallel with other processing.

(5)ヘッド部100における光生成素子118の支持状態
図5は投光ベース110bにおける光生成素子118の支持状態を説明するための分解斜視図である。投光ベース110bは、撮像部120(図2)に対して予め定められた姿勢(以下、基準姿勢と呼ぶ。)が維持されるようにヘッドケーシング100c(図2)内に固定される。
(5) Supporting State of Light Generation Element 118 in Head Unit 100 FIG. 5 is an exploded perspective view for explaining a supported state of the light generation element 118 in the light projecting base 110b. The light projecting base 110b is fixed in the head casing 100c (FIG. 2) so that a predetermined posture (hereinafter, referred to as a reference posture) with respect to the imaging unit 120 (FIG. 2) is maintained.

図5に示すように、投光ベース110bは、最外部11、上面部12および素子支持部13を有する。最外部11は、投光ベース110bが基準姿勢にある状態で撮像部120の逆方向(撮像部120から遠ざかる方向)を向く部分であり、投光ベース110bのうち撮像部120から最も遠い位置に配置される部分である。上面部12は、投光ベース110bが基準姿勢にある状態で上方を向く面である。最外部11の上端部と上面部12とは離間している。 As shown in FIG. 5, the light projecting base 110b has an outermost portion 11, an upper surface portion 12 and an element supporting portion 13. The outermost portion 11 is a portion that faces the opposite direction of the imaging unit 120 (the direction away from the imaging unit 120) in a state where the projection base 110b is in the reference posture, and is located at the farthest position from the imaging unit 120 in the projection base 110b. This is the part to be placed. The upper surface portion 12 is a surface that faces upward when the light projecting base 110b is in the reference posture. The upper end portion of the outermost portion 11 and the upper surface portion 12 are separated from each other.

投光ベース110bの内部には、上面部12の下方にミラー117および投光レンズ119が設けられる。ミラー117および投光レンズ119は、投光ベース110bの予め定められた部分に固定されている。また、投光ベース110bの内部には、光源111,112,113から出射された光および光生成素子118により生成された構造化光または一様光が進行するための空間が形成されている。上面部12には、照明レンズ116(図2)を通って下方に進行する光をミラー117へ導くための開口12oが形成されている。 Inside the light projecting base 110b, a mirror 117 and a light projecting lens 119 are provided below the upper surface portion 12. The mirror 117 and the light projecting lens 119 are fixed to a predetermined portion of the light projecting base 110b. In addition, inside the light projecting base 110b, a space is formed for traveling of the light emitted from the light sources 111, 112, 113 and the structured light or uniform light generated by the light generating element 118. The upper surface portion 12 is formed with an opening 12o for guiding light traveling downward through the illumination lens 116 (FIG. 2) to the mirror 117.

素子支持部13は、最外部11の上端部と上面部12との間に位置し、支持面14および支持壁15を有する。支持面14は、投光ベース110bが基準姿勢にある状態で撮像部120の逆方向(撮像部120から遠ざかる方向)かつ斜め上方を向くように平坦に形成されている。支持面14の中央部には、投光ベース110b内でミラー117により反射される光を光生成素子118に導くための開口14oが形成されている。 The element supporting portion 13 is located between the upper end portion of the outermost portion 11 and the upper surface portion 12, and has a supporting surface 14 and a supporting wall 15. The support surface 14 is formed flat so as to face the opposite direction of the imaging unit 120 (the direction away from the imaging unit 120) and obliquely upward with the light projection base 110b in the reference posture. An opening 14o for guiding the light reflected by the mirror 117 in the light projecting base 110b to the light generating element 118 is formed in the center of the support surface 14.

支持壁15は、略U字形状を有し、支持面14を取り囲むようにかつ支持面14に直交する斜め上方に突出するように形成されている。支持壁15は、素子支持部13の中心を向く3つの内側面を有する。3つの内側面のうち一の内側面は支持面14に直交するとともに撮像部120の方向(撮像部120に近づく方向)を向きかつ斜め上方を向く。他の2つの内側面は、支持面14および当接面15aに直交するとともに互いに対向する。以下の説明では、少なくとも撮像部120を向く支持壁15の一の内側面を当接面15aと呼ぶ。また、支持壁15の他の2つの内側面をそれぞれ内側面15b,15cと呼ぶ。支持壁15には、さらに長尺状の板ばね16が設けられている。板ばね16は、支持壁15の一端部から所定の方向に一定距離延びるように設けられている。 The support wall 15 has a substantially U shape and is formed so as to surround the support surface 14 and project obliquely upward and orthogonal to the support surface 14. The support wall 15 has three inner side surfaces facing the center of the element support portion 13. One of the three inner side surfaces is orthogonal to the support surface 14 and faces the direction of the image capturing unit 120 (direction toward the image capturing unit 120) and diagonally upward. The other two inner side surfaces are orthogonal to the support surface 14 and the contact surface 15a and face each other. In the following description, at least one inner surface of the support wall 15 that faces the imaging unit 120 is referred to as a contact surface 15a. Further, the other two inner side surfaces of the support wall 15 are referred to as inner side surfaces 15b and 15c, respectively. The support wall 15 is further provided with a long leaf spring 16. The leaf spring 16 is provided so as to extend from one end of the support wall 15 in a predetermined direction by a certain distance.

光生成素子118は、構造化光を生成するための複数の電気部品と、複数の電気部品が実装された基板と、複数の電気部品および基板の少なくとも一部を収容するパッケージとを含む。光生成素子118のパッケージは、投光ベース110bよりも線膨張係数が小さい材料で形成される。上記のように、投光ベース110bがアルミニウムで形成される場合、パッケージは例えば酸化アルミニウム(Al)で形成される。なお、アルミニウムの線膨張係数は23(×10−6/℃)程度であり、酸化アルミニウムの線膨張係数は7(×10−6/℃)程度である。また、本例のパッケージは扁平な直方体形状を有する。 The light generating element 118 includes a plurality of electric components for generating structured light, a substrate on which the plurality of electric components are mounted, and a package that houses at least a part of the plurality of electric components and the substrate. The package of the light generating element 118 is formed of a material having a smaller linear expansion coefficient than the light projecting base 110b. As described above, when the light projecting base 110b is made of aluminum, the package is made of aluminum oxide (Al 2 O 3 ), for example. The linear expansion coefficient of aluminum is about 23 (×10 −6 /° C.), and the linear expansion coefficient of aluminum oxide is about 7 (×10 −6 /° C.). The package of this example has a flat rectangular parallelepiped shape.

光生成素子118は、2つの保持具20,30を用いて投光ベース110bの素子支持部13に取り付けられる。保持具20,30は、投光ベース110bと同じ金属材料で形成されている。なお、保持具20,30は、光生成素子118のパッケージと同じ材料で形成されてもよい。 The light generating element 118 is attached to the element supporting portion 13 of the light projecting base 110b using the two holders 20 and 30. The holders 20 and 30 are made of the same metal material as the light emitting base 110b. The holders 20 and 30 may be formed of the same material as the package of the light generating element 118.

一方の保持具20は、略長方形の板状部材であり、支持面14上に載置可能かつスライド可能に形成されている。具体的には、保持具20は、互いに逆方向を向く上面28および下面29を有する。上面28上には、L字形状を有する保持壁21が形成されている。保持壁21は、保持具20の一長辺から一短辺に沿って延びるように形成されている。保持壁21は、保持具20の中心を向いて互いに直交する2つの内側面を有する。 The one holder 20 is a substantially rectangular plate-shaped member, and is formed so as to be placed on the support surface 14 and slidable. Specifically, the holder 20 has an upper surface 28 and a lower surface 29 facing in opposite directions. A holding wall 21 having an L shape is formed on the upper surface 28. The holding wall 21 is formed so as to extend along one short side from one long side of the holder 20. The holding wall 21 has two inner side surfaces facing the center of the holder 20 and orthogonal to each other.

保持具20の上面28上に光生成素子118を載置する。この状態で、光生成素子118を保持壁21の2つの内側面に接触させる。それにより、光生成素子118を保持具20に対して予め定められた姿勢で位置決めすることができる。保持具20の中央部には、光生成素子118の光生成面を保持具20の下方に露出させるための開口が形成されている。 The light generation element 118 is placed on the upper surface 28 of the holder 20. In this state, the light generating element 118 is brought into contact with the two inner surfaces of the holding wall 21. Thereby, the light generating element 118 can be positioned with respect to the holder 20 in a predetermined posture. An opening for exposing the light generation surface of the light generation element 118 below the holder 20 is formed in the center of the holder 20.

他方の保持具30は、略長方形の板状部材であり、光生成素子118が保持された保持具20上に載置可能かつスライド可能に形成されている。具体的には、保持具30は、互いに逆方向を向く上面38および下面39を有する。下面39上には、L字形状を有する保持壁31が形成されている。保持壁31は、保持具30の中心を向いて互いに直交する2つの内側面を有する。 The other holder 30 is a substantially rectangular plate-shaped member, and is formed so as to be mountable and slidable on the holder 20 holding the light generation element 118. Specifically, the holder 30 has an upper surface 38 and a lower surface 39 facing in opposite directions. A holding wall 31 having an L shape is formed on the lower surface 39. The holding wall 31 has two inner side surfaces facing the center of the holder 30 and orthogonal to each other.

保持具30の保持壁31の厚み(下面39からの突出量)は、保持具20の保持壁21の厚み(上面28からの突出量)に等しい。保持具20上に光生成素子118が位置決めされた状態で、下面39が保持具20を向くように保持具30を配置する。また、保持具20の上面28のうち光生成素子118が存在しない領域に保持具30の保持壁31が重なるように、保持具20上に保持具30を載置する。さらに、光生成素子118を保持壁31の2つの内側面に接触させる。 The thickness of the holding wall 31 of the holder 30 (the amount of protrusion from the lower surface 39) is equal to the thickness of the holding wall 21 of the holder 20 (the amount of protrusion from the upper surface 28). With the light generation element 118 positioned on the holder 20, the holder 30 is arranged so that the lower surface 39 faces the holder 20. Further, the holder 30 is placed on the holder 20 so that the holding wall 31 of the holder 30 overlaps the region of the upper surface 28 of the holder 20 where the light generation element 118 does not exist. Further, the light generating element 118 is brought into contact with the two inner surfaces of the holding wall 31.

それにより、光生成素子118を保持具30に対して予め定められた姿勢で位置決めすることができる。保持具30の中央部には、光生成素子118の放熱用の開口が形成されている。保持具30の4つの隅部のうち保持壁31の角が位置する隅部には、隣り合う2つの辺に対して傾斜する傾斜面32が形成されている。 Thereby, the light generating element 118 can be positioned with respect to the holder 30 in a predetermined posture. An opening for heat dissipation of the light generating element 118 is formed in the center of the holder 30. An inclined surface 32 that is inclined with respect to two adjacent sides is formed at a corner of the four corners of the holder 30 where the corner of the holding wall 31 is located.

図6は投光ベース110bにおける光生成素子118の支持状態を説明するための外観斜視図であり、図7は図6の白抜きの矢印Qの方向に見た素子支持部13の拡大図である。図7においては、光生成素子118の支持状態の理解を容易にするために、図5の保持具30が太い点線で示される。また、図5の支持壁15、保持具20および光生成素子118に互いに異なるハッチングまたはドットパターンが付されている。 6 is an external perspective view for explaining the supporting state of the light generating element 118 on the light projecting base 110b, and FIG. 7 is an enlarged view of the element supporting portion 13 as seen in the direction of the outlined arrow Q in FIG. is there. In FIG. 7, the holder 30 of FIG. 5 is shown by a thick dotted line in order to facilitate understanding of the support state of the light generating element 118. Further, the support wall 15, the holder 20 and the light generating element 118 in FIG. 5 are provided with different hatching or dot patterns.

光生成素子118が2つの保持具20,30により挟みこまれた状態で、保持具30の傾斜面32が上面部12の近傍に位置するように保持具20を支持面14上に載置する。この状態で、板ばね16は、その先端部が傾斜面32に当接するようにかつ傾斜面32を支持壁15の当接面15aおよび内側面15bに向かう方向に付勢するように設けられている。図7では、板ばね16により傾斜面32が付勢される向きが白抜きの矢印で示される。 With the light generating element 118 sandwiched between the two holders 20 and 30, the holder 20 is placed on the support surface 14 so that the inclined surface 32 of the holder 30 is located near the upper surface portion 12. .. In this state, the leaf spring 16 is provided so that its tip end contacts the inclined surface 32 and biases the inclined surface 32 toward the contact surface 15a and the inner side surface 15b of the support wall 15. There is. In FIG. 7, the direction in which the inclined surface 32 is biased by the leaf spring 16 is shown by a white arrow.

これにより、光生成素子118は、素子支持部13に支持された状態で、板ばね16の弾性力により保持具20,30の保持壁21,31を挟んで支持壁15の当接面15aおよび内側面15bを向く方向に付勢され、固定される。 As a result, the light generating element 118 is supported by the element supporting portion 13, and the holding walls 21 and 31 of the holders 20 and 30 are sandwiched by the elastic force of the leaf spring 16 so as to sandwich the contact surface 15a of the supporting wall 15 and the contact surface 15a. It is biased and fixed in the direction toward the inner surface 15b.

投光ベース110bに光生成素子118が支持された状態で、複数の光源111,112,113のいずれかから出射された光が開口12oに進入する。この場合、開口12oに進入した光は、上記のように、ミラー117により反射されて光生成素子118の光生成面に導かれる。また、光生成面に導かれた光の少なくとも一部が構造化光または一様光として反射され、投光レンズ119を通して測定対象物Sに照射される。図6では、投光ベース110b内を進行する光の光路が二点鎖線の矢印で示される。 Light emitted from any one of the plurality of light sources 111, 112, and 113 enters the opening 12o with the light generation element 118 supported by the light projecting base 110b. In this case, the light that has entered the opening 12o is reflected by the mirror 117 and guided to the light generation surface of the light generation element 118 as described above. Further, at least a part of the light guided to the light generation surface is reflected as structured light or uniform light, and is irradiated onto the measuring object S through the light projecting lens 119. In FIG. 6, the optical path of the light traveling in the light projecting base 110b is indicated by a two-dot chain line arrow.

(6)温度変化に伴う光生成素子118の支持状態の変化
以下の説明では、撮像部120の光軸ax0から離間した任意の位置において、光軸ax0を向く方向(光軸ax0に近づく方向)を内方と呼び、その逆方向(光軸ax0から遠ざかる方向)を外方と呼ぶ。
(6) Change in Supporting State of Light Generation Element 118 Due to Temperature Change In the following description, at an arbitrary position away from the optical axis ax0 of the imaging unit 120, a direction facing the optical axis ax0 (direction approaching the optical axis ax0). Is called inward, and the opposite direction (direction away from the optical axis ax0) is called outward.

図8は、温度変化に伴う光生成素子118の支持状態の変化を説明するための図である。図8(a)に基準温度における光生成素子118の支持状態が撮像部120の光軸ax0とともに模式的側面図で示される。図8(a)に示すように、光生成素子118は、基準温度において保持具20,30により保持されつつ素子支持部13の支持面14上に支持される。このとき、図8(a)に白抜きの矢印に示すように、保持具30の傾斜面32が少なくとも当接面15aに向かう方向に付勢される。それにより、光生成素子118は、光生成素子118の中心(光生成面の中心)が投光レンズ119の光軸ax1上に位置するように位置決めされる。 FIG. 8 is a diagram for explaining changes in the support state of the light generation element 118 due to temperature changes. In FIG. 8A, the supporting state of the light generating element 118 at the reference temperature is shown in a schematic side view together with the optical axis ax0 of the imaging unit 120. As shown in FIG. 8A, the light generating element 118 is supported on the supporting surface 14 of the element supporting portion 13 while being held by the holders 20 and 30 at the reference temperature. At this time, as shown by the white arrow in FIG. 8A, the inclined surface 32 of the holder 30 is biased at least in the direction toward the contact surface 15a. Thereby, the light generating element 118 is positioned so that the center of the light generating element 118 (the center of the light generating surface) is located on the optical axis ax1 of the light projecting lens 119.

ヘッド部100の温度が基準温度から上昇すると、投光ベース110bの線膨張係数に応じて投光ベース110bが膨張する。また、光生成素子118の線膨張係数に応じて光生成素子118が膨張する。図8(b)に温度上昇時における光生成素子118の支持状態が撮像部120の光軸ax0とともに模式的側面図で示される。投光ベース110bは、撮像部120に接続されている。そのため、ヘッド部100の温度が基準温度から上昇すると、素子支持部13の当接面15aおよび投光レンズ119は、基準温度にある場合に比べて外方へ移動する。すなわち、素子支持部13の当接面15aおよび投光レンズ119は投光ベース110bの膨張に伴って光軸ax0から遠ざかる。 When the temperature of the head unit 100 rises from the reference temperature, the light projecting base 110b expands according to the linear expansion coefficient of the light projecting base 110b. Further, the light generating element 118 expands according to the linear expansion coefficient of the light generating element 118. FIG. 8B is a schematic side view showing the support state of the light generating element 118 when the temperature rises, together with the optical axis ax0 of the imaging unit 120. The light projecting base 110b is connected to the imaging unit 120. Therefore, when the temperature of the head portion 100 rises from the reference temperature, the contact surface 15a of the element support portion 13 and the light projecting lens 119 move outward as compared with the case where the temperature is at the reference temperature. That is, the contact surface 15a of the element supporting portion 13 and the light projecting lens 119 move away from the optical axis ax0 as the light projecting base 110b expands.

一方、光生成素子118の線膨張係数は、投光ベース110bの線膨張係数よりも小さいので、光生成素子118の膨張の程度は投光ベース110bの膨張の程度よりも小さい。そのため、光生成素子118は、図8(b)に示すように、光生成素子118の中心が投光レンズ119の光軸ax1よりも外方に位置するように投光ベース110bに対して相対的に移動する。この投光ベース110bに対する光生成素子118の相対的な移動は、温度上昇に起因する高さデータの精度低下を抑制する。この理由について説明する。 On the other hand, since the linear expansion coefficient of the light generating element 118 is smaller than the linear expansion coefficient of the light projecting base 110b, the expansion degree of the light generating element 118 is smaller than the expansion degree of the light projecting base 110b. Therefore, as shown in FIG. 8B, the light generating element 118 is positioned relative to the light projecting base 110b so that the center of the light generating element 118 is located outside the optical axis ax1 of the light projecting lens 119. Move. The relative movement of the light generation element 118 with respect to the light projecting base 110b suppresses the accuracy deterioration of the height data due to the temperature increase. The reason for this will be described.

図9は、ヘッド部100の温度変化に伴う構造化光の光路の変化を説明するための図である。図9(a)に、基準温度における光生成素子118、投光レンズ119および撮像部120の位置関係が示される。図9(b)に、基準温度よりも高い温度における光生成素子118、投光レンズ119および撮像部120の位置関係が示される。 FIG. 9 is a diagram for explaining the change in the optical path of the structured light due to the temperature change of the head unit 100. FIG. 9A shows the positional relationship among the light generating element 118, the light projecting lens 119, and the image capturing section 120 at the reference temperature. FIG. 9B shows the positional relationship among the light generating element 118, the light projecting lens 119, and the imaging unit 120 at a temperature higher than the reference temperature.

上記のように、ヘッド部100が基準温度にある状態で、光生成素子118の中心は投光レンズ119の光軸ax1上に位置する。そのため、図9(a)に太い実線の矢印で示すように、光生成素子118の中心から出射される光は、撮像部120の光軸ax1上を進行し、2つの光軸ax0,ax1の交点cp0に到達する。この場合、測定対象物Sの高さを算出するための基準面Rは、例えば図9(a)の交点cp0を含むように設定される。 As described above, the center of the light generating element 118 is located on the optical axis ax1 of the light projecting lens 119 when the head unit 100 is at the reference temperature. Therefore, as shown by the thick solid line arrow in FIG. 9A, the light emitted from the center of the light generation element 118 travels on the optical axis ax1 of the imaging unit 120 and is divided into two optical axes ax0 and ax1. The intersection point cp0 is reached. In this case, the reference plane R for calculating the height of the measuring object S is set so as to include the intersection point cp0 in FIG. 9A, for example.

ヘッド部100の温度が基準温度よりも上昇すると、投光レンズ119は投光ベース110bの膨張に伴って撮像部120の光軸ax0から遠ざかる。それにより、2つの光軸ax0,ax1の交点cp0の位置は撮像部120から遠ざかる方向(本例では下方)に変化し、交点cp0と撮像部120との間の距離が増加する。それにより、図9(b)に示すように、交点cp0の位置は、基準面Rよりも下方に移動することになる。そのため、光生成素子118の中心から出射される光が仮に光軸ax1上を進行すると、その光は基準面R上の光軸ax0からずれた位置に照射される。したがって、基準温度時と同様の演算方法では正確な高さデータを得ることができない。 When the temperature of the head unit 100 rises above the reference temperature, the light projecting lens 119 moves away from the optical axis ax0 of the imaging unit 120 as the light projecting base 110b expands. As a result, the position of the intersection point cp0 of the two optical axes ax0 and ax1 changes in the direction away from the imaging unit 120 (downward in this example), and the distance between the intersection point cp0 and the imaging unit 120 increases. As a result, as shown in FIG. 9B, the position of the intersection point cp0 moves below the reference plane R. Therefore, if the light emitted from the center of the light generation element 118 travels on the optical axis ax1, the light is irradiated on the reference plane R at a position deviated from the optical axis ax0. Therefore, accurate height data cannot be obtained by the same calculation method as at the reference temperature.

これに対して、本実施の形態に係る検査装置300においては、ヘッド部100の温度上昇時に光生成素子118の中心が投光レンズ119の光軸ax1に対して撮像部120の外方(撮像部120から遠ざかる方向)に移動する。この場合、図9(b)に太い実線の矢印で示すように、光生成素子118の中心から出射される光は、光軸ax1を基準として投光レンズ119によって反転されつつ進行する。それにより、光生成素子118の中心から出射される光は、光軸ax0上で交点cp0よりも撮像部120に近い点cp1に到達する。 On the other hand, in the inspection device 300 according to the present embodiment, when the temperature of the head unit 100 rises, the center of the light generation element 118 is located outside the image pickup unit 120 with respect to the optical axis ax1 of the light projecting lens 119 (image pickup). Moving away from the part 120). In this case, as shown by the thick solid line arrow in FIG. 9B, the light emitted from the center of the light generating element 118 advances while being inverted by the light projecting lens 119 with the optical axis ax1 as a reference. Thereby, the light emitted from the center of the light generation element 118 reaches the point cp1 on the optical axis ax0, which is closer to the imaging unit 120 than the intersection point cp0.

この場合、点cp1は、基準面R上に存在するかまたは交点cp0よりも基準面Rに近い位置に存在することになる。本例では、点cp1は基準面R上に存在する。したがって、温度変化の前後で、光生成素子118の中心から基準面Rを経由して撮像素子121に入射する光の光路長の変化量が0に近づく。また、光生成素子118の中心から基準面Rを経由して撮像素子121に入射する光の撮像素子121上の入射位置が基準温度時における入射位置に近づく。光生成素子118の中心以外の部分から基準面Rを経由して撮像素子121に入射する他の光についても、光生成素子118の中心から基準面Rを経由して撮像素子121に入射する上記の光と同様のことがいえる。それにより、ヘッド部100の温度上昇時に、基準温度時と同様の演算方法を用いる場合であっても、温度上昇に起因する高さデータの精度低下が抑制される。 In this case, the point cp1 is located on the reference plane R or at a position closer to the reference plane R than the intersection point cp0. In this example, the point cp1 exists on the reference plane R. Therefore, before and after the temperature change, the change amount of the optical path length of the light incident on the image sensor 121 from the center of the light generation element 118 via the reference plane R approaches 0. Further, the incident position on the image sensor 121 of the light incident on the image sensor 121 from the center of the light generating element 118 via the reference plane R approaches the incident position at the reference temperature. Other light that enters the imaging element 121 from the center other than the center of the light generation element 118 via the reference plane R also enters the imaging element 121 from the center of the light generation element 118 via the reference plane R. The same can be said of the light of. As a result, when the temperature of the head unit 100 rises, even if the same calculation method as that at the time of the reference temperature is used, the accuracy deterioration of the height data due to the temperature rise is suppressed.

(7)実施の形態の効果
(a)上記のように、ヘッド部100においては、光生成素子118が、板ばね16により撮像部120の光軸ax0から遠ざかるように投光ベース110bの当接面15aに向かう方向に付勢される。
(7) Effects of the Embodiment (a) As described above, in the head unit 100, the light generation element 118 is brought into contact with the light projecting base 110b so as to be separated from the optical axis ax0 of the imaging unit 120 by the leaf spring 16. It is biased in the direction toward the surface 15a.

それにより、ヘッド部100の温度上昇時に線膨張係数が小さい光生成素子118が線膨張係数の大きい投光ベース110bに支持された投光レンズ119の光軸ax1に対して外方に相対的に移動する。この場合、光生成素子118から基準面Rを経由して撮像素子121に至る構造化光の光路長の変化量が0に近づく。また、光生成素子118の任意の部分から基準面Rを経由して撮像素子121に入射する光の撮像素子121上の入射位置が温度上昇前における入射位置に近づく。 As a result, when the temperature of the head portion 100 rises, the light generating element 118 having a small linear expansion coefficient is relatively outward with respect to the optical axis ax1 of the projection lens 119 supported by the projection base 110b having a large linear expansion coefficient. Moving. In this case, the amount of change in the optical path length of the structured light from the light generating element 118 to the imaging element 121 via the reference plane R approaches 0. Further, the incident position on the image sensor 121 of the light incident on the image sensor 121 via the reference plane R from any part of the light generation element 118 approaches the incident position before the temperature rise.

したがって、ヘッド部100の温度上昇が測定対象物Sの高さ測定に及ぼす影響が、投光ベース110bに対する光生成素子118の相対的な移動により相殺される。その結果、ヘッド部100の温度が上昇する場合においても煩雑な演算処理を要することなく高精度の高さデータを生成することが可能になる。 Therefore, the influence of the temperature rise of the head unit 100 on the height measurement of the measurement target S is offset by the relative movement of the light generating element 118 with respect to the light projecting base 110b. As a result, even when the temperature of the head unit 100 rises, it is possible to generate highly accurate height data without requiring complicated calculation processing.

(b)上記のヘッド部100においては、本実施の形態においては、光生成素子118は、DMDである。この場合、光源111,112,113から出射される光の少なくとも一部がDMDにより反射されることにより構造化光が生成される。また、構造化光のパターンを容易かつ自由に設定することが可能になる。 (B) In the above head unit 100, the light generation element 118 is a DMD in the present embodiment. In this case, structured light is generated by reflecting at least part of the light emitted from the light sources 111, 112, 113 by the DMD. In addition, the structured light pattern can be easily and freely set.

(c)投光ベース110bの素子支持部13は、保持具20,30を支持可能な支持面14を有する。保持具20は、素子支持部13上に支持された状態で当接面15aに当接可能に形成された保持壁21を有する。板ばね16は、保持壁21の一部分が当接面15aに当接した状態で、保持具20により保持された光生成素子118を当接面15aに向かう方向に付勢する。このように、光生成素子118は、保持具20,30により保持された状態で投光ベース110bの素子支持部13に設けられる。それにより、投光ベース110bへの取り付け時における光生成素子118の取り扱いが容易になる。 (C) The element supporting portion 13 of the light projecting base 110b has a supporting surface 14 capable of supporting the holders 20 and 30. The holder 20 has a holding wall 21 formed so as to be capable of contacting the contact surface 15 a while being supported on the element supporting portion 13. The leaf spring 16 biases the light generating element 118 held by the holder 20 in the direction toward the contact surface 15a in a state where a part of the holding wall 21 contacts the contact surface 15a. In this way, the light generating element 118 is provided on the element supporting portion 13 of the light projecting base 110b while being held by the holders 20 and 30. This facilitates handling of the light generating element 118 when it is attached to the light projecting base 110b.

(d)素子支持部13は、支持面14に交差しかつ当接面15aから撮像部120を向く方向に少なくとも延びる内側面15bを有する。板ばね16は、保持具20の保持壁21の一部分が当接面15aに当接しかつ保持壁21の他の部分が内側面15bに当接した状態で、保持具20,30を内側面15bに向かってさらに付勢する。この場合、投光ベース110bに対する保持具20,30の相対的な移動が内側面15bの延びる方向、すなわち当接面15aから撮像部120を向く方向に規制される。したがって、ヘッド部100の温度が上昇することにより、投光ベース110bが膨張する際に、光生成素子118を撮像部120から遠ざかる方向へ正確に移動させることができる。 (D) The element support portion 13 has an inner side surface 15b that intersects the support surface 14 and extends at least from the contact surface 15a in the direction toward the image capturing section 120. The leaf spring 16 holds the holders 20 and 30 inside the inner surface 15b with a part of the holding wall 21 of the holder 20 abutting on the contact surface 15a and the other part of the holding wall 21 abutting on the inner surface 15b. Further urge towards. In this case, the relative movement of the holders 20 and 30 with respect to the light projecting base 110b is restricted in the direction in which the inner surface 15b extends, that is, in the direction from the contact surface 15a to the image capturing unit 120. Therefore, when the temperature of the head unit 100 rises and the light projecting base 110b expands, the light generating element 118 can be accurately moved in the direction away from the imaging unit 120.

(e)上記のヘッド部100においては、高さデータおよびカラーテクスチャ画像データを生成するための複数の投受光系が、ヘッドケーシング100c内にコンパクトに収容される。したがって、ヘッド部100の小型化が可能となり、ヘッド部100の設置スペースを低減することができる。さらに、ヘッド部100の設置等の取り扱いが容易になる。 (E) In the head unit 100, a plurality of light emitting/receiving systems for generating height data and color texture image data are compactly housed in the head casing 100c. Therefore, the head unit 100 can be downsized, and the installation space for the head unit 100 can be reduced. Further, handling such as installation of the head unit 100 becomes easy.

(8)変形例
ヘッド部100は1個の照明部110および1個の撮像部120を含むが、本発明はこれに限定されない。図10は、変形例に係る検査装置300の構成を示すブロック図である。図10に示すように、変形例におけるヘッド部100は、4個の照明部110を含む。なお、図10においては、演算部130の図示が省略されている。
(8) Modified Example The head unit 100 includes one illumination unit 110 and one imaging unit 120, but the present invention is not limited to this. FIG. 10 is a block diagram showing the configuration of the inspection device 300 according to the modification. As shown in FIG. 10, the head unit 100 in the modified example includes four illumination units 110. In addition, in FIG. 10, the illustration of the calculation unit 130 is omitted.

以下の説明では、4個の照明部110を区別する場合は、4個の照明部110をそれぞれ照明部110A〜110Dと呼ぶ。照明部110A〜110Dは、互いに同一の構造を有し、90度間隔で撮像部120を取り囲むように設けられる。具体的には、照明部110Aと照明部110Bとは、撮像部120を挟んで対向するように配置される。また、照明部110Cと照明部110Dとは、撮像部120を挟んで対向するように配置される。さらに、4個の照明部110A〜110Dおよび撮像部120は、演算部130とともにヘッドケーシング100c内に収容されている。 In the following description, when distinguishing the four illumination units 110, the four illumination units 110 are referred to as illumination units 110A to 110D, respectively. The illumination units 110A to 110D have the same structure and are provided so as to surround the imaging unit 120 at 90-degree intervals. Specifically, the illuminating section 110A and the illuminating section 110B are arranged so as to face each other with the imaging section 120 interposed therebetween. Further, the illumination unit 110C and the illumination unit 110D are arranged so as to face each other with the imaging unit 120 interposed therebetween. Further, the four illumination units 110A to 110D and the image capturing unit 120 are housed in the head casing 100c together with the calculation unit 130.

この構成においては、4個の照明部110A〜110Dにより測定対象物Sに対して互いに異なる4つの方向から光を出射することができる。それにより、いずれかの照明部110から出射される光により測定不可能な部分がある場合でも、その測定不可能な部分の形状を他の照明部110から出射される光を用いて測定することができる。そこで、4個の照明部110A〜110Dにそれぞれ対応して生成された高さデータを合成することにより、測定不可能な部分がより低減された合成高さデータを生成することができる。また、4個の照明部110A〜110Dにそれぞれ対応して生成されたカラーテクスチャ画像データを合成することにより、測定不可能な部分がより低減されたカラーテクスチャ画像データを生成することができる。 In this configuration, the four illumination units 110A to 110D can emit light to the measurement target S from four different directions. Therefore, even if there is a portion that cannot be measured by the light emitted from any one of the illumination units 110, the shape of the portion that cannot be measured is measured using the light emitted from another illumination unit 110. You can Therefore, by combining the height data generated corresponding to each of the four illumination units 110A to 110D, it is possible to generate combined height data in which unmeasurable portions are further reduced. Further, by combining the color texture image data generated corresponding to the four illumination units 110A to 110D, it is possible to generate color texture image data in which the unmeasurable portion is further reduced.

(9)他の実施の形態
(a)上記実施の形態においては、投光ベース110bはアルミニウムにより形成され、光生成素子118のパッケージは酸化アルミニウムにより形成されるが、本発明はこれに限定されない。
(9) Other Embodiments (a) In the above embodiment, the light projecting base 110b is made of aluminum and the package of the light generating element 118 is made of aluminum oxide, but the present invention is not limited to this. ..

投光ベース110bを形成する金属材料は、光生成素子118のパッケージを形成する材料よりも大きい線膨張係数を有しているのであれば、アルミニウム以外の金属材料(例えば、銅、鉄、ステンレス等)であってもよい。また、光生成素子118のパッケージを形成する材料は、投光ベース110bを形成する金属材料よりも小さい線膨張係数を有しているのであれば、酸化アルミニウム以外の材料(例えば、窒化アルミニウム等)であってもよい。 The metal material forming the light emitting base 110b has a linear expansion coefficient larger than that of the material forming the package of the light generating element 118, and is a metal material other than aluminum (for example, copper, iron, stainless steel, or the like). ). Further, the material forming the package of the light generating element 118 has a linear expansion coefficient smaller than that of the metal material forming the light projecting base 110b, and a material other than aluminum oxide (for example, aluminum nitride or the like). May be

(b)上記実施の形態においては、光生成素子118は、保持具20,30により保持された状態で投光ベース110bに取り付けられるが、本発明はこれに限定されない。光生成素子118は、保持具20,30を用いることなく直接投光ベース110bの素子支持部13に取り付けられてもよい。この場合、板ばね16は、光生成素子118を当接面15aに向かう方向に直接付勢する。 (B) In the above embodiment, the light generating element 118 is attached to the light projecting base 110b while being held by the holders 20 and 30, but the present invention is not limited to this. The light generating element 118 may be directly attached to the element supporting portion 13 of the light projecting base 110b without using the holders 20 and 30. In this case, the leaf spring 16 directly urges the light generating element 118 in the direction toward the contact surface 15a.

(c)上記実施の形態においては、撮像部120から遠ざかる方向に付勢される光生成素子118および保持具20,30を受けるように素子支持部13に当接面15aが設けられるが、本発明はこれに限定されない。素子支持部13には、当接面15aに代えて光生成素子118および保持具20,30を受ける1または複数の突起部等が形成されてもよい。 (C) In the above-described embodiment, the element supporting portion 13 is provided with the contact surface 15a so as to receive the light generating element 118 and the holders 20 and 30 that are biased in the direction away from the image capturing section 120. The invention is not limited to this. The element supporting portion 13 may be formed with one or a plurality of protrusions that receive the light generating element 118 and the holders 20 and 30 instead of the contact surface 15a.

(d)上記実施の形態においては、光生成素子118を当接面15aに向かう方向に付勢し、光生成素子118を投光ベース110bに固定するための構成として板ばね16が用いられるが、本発明はこれに限定されない。光生成素子118を当接面15aに向かう方向に付勢するための構成として、板ばね16に代えて、コイルばねまたはゴム等の他の弾性体が用いられてもよい。 (D) In the above embodiment, the leaf spring 16 is used as a structure for urging the light generating element 118 toward the contact surface 15a and fixing the light generating element 118 to the light projecting base 110b. However, the present invention is not limited to this. Instead of the leaf spring 16, a coil spring or another elastic body such as rubber may be used as a structure for urging the light generating element 118 in the direction toward the contact surface 15a.

(e)上記実施の形態においては、光源ベース110aおよび投光ベース110bと受光ベース120aとが連結部材JTを介して接続されるが、光源ベース110aおよび投光ベース110bと受光ベース120aとは互いに直接接続されてもよい。 (E) In the above embodiment, the light source base 110a, the light projecting base 110b, and the light receiving base 120a are connected via the connecting member JT, but the light source base 110a, the light projecting base 110b, and the light receiving base 120a are mutually connected. It may be directly connected.

(f)投光ベース110bの素子支持部13には、光生成素子118を放熱する放熱板が設けられてもよい。 (F) The element supporting portion 13 of the light projecting base 110b may be provided with a heat radiating plate that radiates heat from the light generating element 118.

(10)請求項の各構成要素と実施の形態の各部との対応関係
以下、請求項の各構成要素と実施の形態の各部との対応の例について説明する。上記実施の形態においては、測定対象物Sが測定対象物の例であり、光源111,112,113が光源の例であり、光生成素子118が光生成素子の例であり、光軸ax1が第1の光軸の例であり、投光レンズ119が投光レンズおよび投光光学系の例であり、投光ベース110bが投光ベースの例である。
(10) Correspondence between each component of the claims and each part of the embodiment An example of the correspondence between each component of the claim and each part of the embodiment will be described below. In the above embodiment, the measuring object S is an example of the measuring object, the light sources 111, 112, 113 are examples of the light source, the light generating element 118 is an example of the light generating element, and the optical axis ax1 is This is an example of the first optical axis, the light projecting lens 119 is an example of a light projecting lens and a light projecting optical system, and the light projecting base 110b is an example of a light projecting base.

また、光軸ax0が第2の光軸の例であり、受光レンズ122,123が受光レンズおよび受光光学系の例であり、撮像素子121が撮像素子の例であり、板ばね16が固定部材の例であり、素子支持部13の当接面15aが当接部の例であり、検査装置300が検査装置の例である。 Further, the optical axis ax0 is an example of a second optical axis, the light receiving lenses 122 and 123 are examples of a light receiving lens and a light receiving optical system, the image pickup device 121 is an example of an image pickup device, and the leaf spring 16 is a fixing member. The contact surface 15a of the element support portion 13 is an example of the contact portion, and the inspection device 300 is an example of the inspection device.

また、保持具20,30が保持具の例であり、支持面14が支持面の例であり、保持具20の短辺に沿う保持壁21の部分が被当接部の例であり、素子支持部13の内側面15bが案内面の例であり、保持具20の長辺に沿う保持壁21の他の部分が被案内部の例であり、受光ベース120aが受光ベースの例であり、光源ベース110aが光源ベースの例であり、ミラー117が反射部材の例であり、ヘッドケーシング100cがケーシングの例である。 The holders 20 and 30 are examples of holders, the support surface 14 is an example of a support surface, and the portion of the holding wall 21 along the short side of the holder 20 is an example of an abutted portion. The inner side surface 15b of the support portion 13 is an example of a guide surface, the other portion of the holding wall 21 along the long side of the holder 20 is an example of a guided portion, and the light receiving base 120a is an example of a light receiving base. The light source base 110a is an example of a light source base, the mirror 117 is an example of a reflecting member, and the head casing 100c is an example of a casing.

請求項の各構成要素として、請求項に記載されている構成または機能を有する他の種々の要素を用いることもできる。 As each constituent element of the claims, various other elements having the configurations or functions described in the claims can be used.

11…最外部,12…上面部,12o,14o…開口,13…素子支持部,14…支持面,15…支持壁,15a…当接面,15b,15c…内側面,16…板ばね,20,30…保持具,21,31…保持壁,28,38…上面,29,39…下面,32…傾斜面,100…ヘッド部,100c…ヘッドケーシング,110,110A〜110D…照明部,110a…光源ベース,110b…投光ベース,111,112,113…光源,114,115…ダイクロイックミラー,116…照明レンズ,117…ミラー,118…光生成素子,119…投光レンズ,120…撮像部,120a…受光ベース,121…撮像素子,122,123…受光レンズ,130…演算部,131…撮像処理部,132…演算処理部,133…記憶部,134…出力処理部,200…コントローラ部,210…ヘッド制御部,220…画像メモリ,230…検査部,300…検査装置,301…ベルトコンベア,310…操作部,320…表示部,400…外部機器,R…基準面,S…測定対象物,ax0,ax1…光軸 11... Outermost part, 12... Top surface part, 12o, 14o... Opening, 13... Element support part, 14... Support surface, 15... Support wall, 15a... Abutment surface, 15b, 15c... Inner side surface, 16... Leaf spring, 20, 30... Retaining tool, 21, 31... Retaining wall, 28, 38... Upper surface, 29, 39... Lower surface, 32... Inclined surface, 100... Head section, 100c... Head casing, 110, 110A to 110D... Illuminating section, 110a... Light source base, 110b... Projection base, 111, 112, 113... Light source, 114, 115... Dichroic mirror, 116... Illumination lens, 117... Mirror, 118... Light generation element, 119... Projection lens, 120... Imaging Part, 120a... Receiving base, 121... Imaging element, 122, 123... Receiving lens, 130... Arithmetic unit, 131... Imaging processing unit, 132... Arithmetic processing unit, 133... Storage unit, 134... Output processing unit, 200... Controller Reference numeral 210... Head control unit, 220... Image memory, 230... Inspection unit, 300... Inspection device, 301... Belt conveyor, 310... Operation unit, 320... Display unit, 400... External device, R... Reference plane, S... Measurement object, ax0, ax1... Optical axis

Claims (6)

光源と、
前記光源から出射される光を受けて構造化光を生成する光生成素子と、
第1の光軸を有する投光レンズを含み、前記光生成素子により生成された構造化光を前記投光レンズを通して測定対象物に照射する投光光学系と、
前記光生成素子よりも大きい線膨張係数を有する金属により構成されかつ前記光生成素子および前記投光レンズを支持する投光ベースと、
前記第1の光軸に交差する第2の光軸を有する受光レンズを含みかつ前記投光ベースに接続される受光光学系と、
測定対象物から前記第2の光軸の方向に反射される構造化光を前記受光光学系を通して受光することにより測定対象物の画像を示すパターン画像データを生成する撮像素子と、
前記光生成素子を前記投光ベースに固定する固定部材とを備え、
前記投光ベースは、前記第2の光軸から離間するとともに前記第2の光軸を向く当接部を有し、
前記固定部材は、温度上昇による前記投光ベースの膨張に起因して前記投光光学系と前記第2の光軸との間の距離が増加する場合に、前記光生成素子から予め設定された基準面を経由して前記撮像素子に至る構造化光の光路長の変化量が0に近づくようにかつ前記光生成素子の任意の部分から前記基準面を経由して前記撮像素子に入射する光の撮像素子上の入射位置が温度上昇前における入射位置に近づくように、前記光生成素子を前記第2の光軸から遠ざかるように前記当接部に向かう方向に付勢する、検査装置。
A light source,
A light generating element that receives the light emitted from the light source and generates structured light;
A light projecting optical system including a light projecting lens having a first optical axis, and irradiating the object to be measured with the structured light generated by the light generating element through the light projecting lens.
A light projecting base which is made of a metal having a linear expansion coefficient larger than that of the light generating element and which supports the light generating element and the light projecting lens;
A light receiving optical system including a light receiving lens having a second optical axis that intersects the first optical axis and connected to the light projecting base;
An imaging device that generates pattern image data indicating an image of the measurement target by receiving structured light reflected from the measurement target in the direction of the second optical axis through the light receiving optical system,
A fixing member for fixing the light generating element to the light projecting base,
The light projecting base has an abutting portion which is separated from the second optical axis and faces the second optical axis,
The fixing member is preset from the light generating element when the distance between the light projecting optical system and the second optical axis increases due to expansion of the light projecting base due to temperature rise. Light incident on the image pickup element from any portion of the light generation element via the reference plane such that the amount of change in the optical path length of the structured light reaching the image pickup element via the reference plane approaches 0. 2. The inspection device for urging the light generating element in a direction toward the contact portion so as to move away from the second optical axis so that the incident position on the image pickup element approaches the incident position before the temperature rise.
前記光生成素子は、デジタルマイクロミラーデバイスである、請求項1記載の検査装置。 The inspection apparatus according to claim 1, wherein the light generation element is a digital micromirror device. 前記光生成素子を保持可能に形成された保持具をさらに備え、
前記投光ベースは、前記保持具を支持可能な支持面を有し、
前記保持具は、前記投光ベースの支持面上に支持された状態で前記当接部に当接可能に形成された被当接部を有し、
前記固定部材は、前記被当接部が前記当接部に当接した状態で、前記保持具により保持された前記光生成素子を前記当接部に向かう方向に付勢するように前記投光ベースに設けられた、請求項1または2記載の検査装置。
Further comprising a holder formed to be able to hold the light generating element,
The light emitting base has a support surface capable of supporting the holder,
The holder has a contacted portion formed so as to be capable of contacting the contact portion in a state of being supported on the support surface of the light emitting base,
The fixing member is configured to project the light generating element held by the holder in a direction toward the contact portion in a state where the contacted portion is in contact with the contact portion. The inspection apparatus according to claim 1, which is provided on the base.
前記投光ベースは、前記支持面に交差しかつ前記当接部から前記第2の光軸を向く方向に延びる案内面をさらに有し、
前記保持具は、前記投光ベースの支持面上に支持されかつ前記被当接部が前記当接部に当接した状態で前記案内面に当接可能に形成された被案内部を有し、
前記固定部材は、前記被当接部が前記当接部に当接しかつ前記被案内部が前記案内面に当接した状態で、前記保持具を前記案内面に向かう方向にさらに付勢するように前記投光ベースに設けられた、請求項3記載の検査装置。
The light projecting base further has a guide surface that intersects with the support surface and extends from the contact portion in a direction toward the second optical axis.
The holder has a guided portion which is supported on the supporting surface of the light projecting base and is formed so as to be able to come into contact with the guide surface in a state where the abutted portion is in contact with the abutting portion. ,
The fixing member further urges the holder in a direction toward the guide surface with the contacted portion in contact with the contact portion and the guided portion in contact with the guide surface. The inspection device according to claim 3, wherein the inspection device is provided on the light projecting base.
前記撮像素子を支持するとともに前記第2の光軸が上下方向に延びるように前記受光レンズを支持する受光ベースと、
前記光源から出射される光が上方から下方に進行するように前記光源を支持する光源ベースと、
前記光源から出射されて上方から下方に進行する光を前記第2の光軸から遠ざかるように斜め上方へ反射する反射部材とをさらに備え、
前記光生成素子は、前記反射部材により反射される光の少なくとも一部を反射することにより構造化光を生成するように構成され、
前記投光ベースは、前記反射部材を支持するとともに、前記光生成素子により生成された構造化光が前記受光レンズの前記第2の光軸を向いて斜め下方に進行するように前記光生成素子を支持する、請求項1〜4のいずれか一項に記載の検査装置。
A light receiving base that supports the image pickup element and supports the light receiving lens so that the second optical axis extends in the vertical direction;
A light source base that supports the light source so that the light emitted from the light source travels downward from above;
And a reflecting member for reflecting light emitted from the light source and traveling downward from above to obliquely upward so as to move away from the second optical axis,
The light generating element is configured to generate structured light by reflecting at least a portion of the light reflected by the reflective member,
The light projecting base supports the reflecting member, and the light generating element is configured so that the structured light generated by the light generating element travels obliquely downward toward the second optical axis of the light receiving lens. The inspection device according to any one of claims 1 to 4, which supports the inspection device.
前記投光ベース、前記受光ベースおよび前記光源ベースを収容するケーシングをさらに備え、
前記投光ベース、前記受光ベースおよび前記光源ベースは、前記ケーシングの内部に固定された、請求項5記載の検査装置。
Further comprising a casing that houses the light emitting base, the light receiving base, and the light source base,
The inspection device according to claim 5, wherein the light emitting base, the light receiving base, and the light source base are fixed inside the casing.
JP2019021813A 2019-02-08 2019-02-08 inspection equipment Active JP7199243B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019021813A JP7199243B2 (en) 2019-02-08 2019-02-08 inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019021813A JP7199243B2 (en) 2019-02-08 2019-02-08 inspection equipment

Publications (2)

Publication Number Publication Date
JP2020128934A true JP2020128934A (en) 2020-08-27
JP7199243B2 JP7199243B2 (en) 2023-01-05

Family

ID=72175361

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019021813A Active JP7199243B2 (en) 2019-02-08 2019-02-08 inspection equipment

Country Status (1)

Country Link
JP (1) JP7199243B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01312407A (en) * 1988-06-13 1989-12-18 Mitsubishi Electric Corp Displacement measuring apparatus
JPH0273112A (en) * 1988-09-07 1990-03-13 Fuji Electric Co Ltd Photoelectric device
JPH06129813A (en) * 1992-10-15 1994-05-13 Matsushita Electric Works Ltd Light receiving element moving and adjusting device for optical position sensor
JP2016194607A (en) * 2015-03-31 2016-11-17 キヤノン株式会社 Retainer device, projector, measurement device and retaining method
JP2017090140A (en) * 2015-11-06 2017-05-25 キヤノン株式会社 Measurement device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01312407A (en) * 1988-06-13 1989-12-18 Mitsubishi Electric Corp Displacement measuring apparatus
JPH0273112A (en) * 1988-09-07 1990-03-13 Fuji Electric Co Ltd Photoelectric device
JPH06129813A (en) * 1992-10-15 1994-05-13 Matsushita Electric Works Ltd Light receiving element moving and adjusting device for optical position sensor
JP2016194607A (en) * 2015-03-31 2016-11-17 キヤノン株式会社 Retainer device, projector, measurement device and retaining method
JP2017090140A (en) * 2015-11-06 2017-05-25 キヤノン株式会社 Measurement device

Also Published As

Publication number Publication date
JP7199243B2 (en) 2023-01-05

Similar Documents

Publication Publication Date Title
US10996050B2 (en) Apparatus and method for measuring a three dimensional shape
US8681211B2 (en) High speed optical inspection system with adaptive focusing
EP2685242B1 (en) Vision testing device with enhanced image clarity
US20140368835A1 (en) Three-dimensional shape measuring apparatus
US20120133920A1 (en) High speed, high resolution, three dimensional printed circuit board inspection system
KR101808388B1 (en) Probe apparatus and probe method
US20130342677A1 (en) Vision testing device using multigrid pattern
US10803623B2 (en) Image processing apparatus
KR20120038072A (en) Inspection apparatus and compensating method thereof
US11170518B2 (en) Inspection device for generating height data of a measurement target
KR101525700B1 (en) Apparatus for Examining Appearance of Chip Component
US11209712B2 (en) Image processing apparatus
US10909702B2 (en) Inspection device
JP2007536553A (en) Height triangulation measurement method and system
US10630910B1 (en) Image processing apparatus
JP7199243B2 (en) inspection equipment
JP2008058477A (en) Drawing device
TWI637165B (en) Vision inspection module and device inspection system having the same
JP7022661B2 (en) Shape measuring device and shape measuring method
KR20120086333A (en) High speed optical inspection system with adaptive focusing
KR20170047140A (en) Inspection apparatus
JP2020128930A (en) Inspection device
KR20130022415A (en) Inspection apparatus and compensating method thereof
TW202414123A (en) Drawing apparatus and drawing method
KR20230031140A (en) Writing apparatus and writing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220920

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220928

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221124

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221220

R150 Certificate of patent or registration of utility model

Ref document number: 7199243

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150