Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6928688B2 - Confocal displacement meter - Google Patents
[go: Go Back, main page]

JP6928688B2 - Confocal displacement meter - Google Patents

Confocal displacement meter Download PDF

Info

Publication number
JP6928688B2
JP6928688B2 JP2020070853A JP2020070853A JP6928688B2 JP 6928688 B2 JP6928688 B2 JP 6928688B2 JP 2020070853 A JP2020070853 A JP 2020070853A JP 2020070853 A JP2020070853 A JP 2020070853A JP 6928688 B2 JP6928688 B2 JP 6928688B2
Authority
JP
Japan
Prior art keywords
light
waveform
received
point sequence
light receiving
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.)
Active
Application number
JP2020070853A
Other languages
Japanese (ja)
Other versions
JP2020106550A (en
Inventor
翔馬 久我
翔馬 久我
祐孝 藤本
祐孝 藤本
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
Priority claimed from JP2015255401A external-priority patent/JP6722450B2/en
Application filed by Keyence Corp filed Critical Keyence Corp
Priority to JP2020070853A priority Critical patent/JP6928688B2/en
Publication of JP2020106550A publication Critical patent/JP2020106550A/en
Application granted granted Critical
Publication of JP6928688B2 publication Critical patent/JP6928688B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Measurement Of Optical Distance (AREA)

Description

本発明は、共焦点変位計に係り、さらに詳しくは、共焦点光学系による軸上色収差を利用して検出対象物までの距離を計測する共焦点変位計の改良に関する。 The present invention relates to a confocal displacement meter, and more particularly to an improvement of a confocal displacement meter that measures a distance to a detection object by utilizing axial chromatic aberration by a confocal optical system.

共焦点変位計は、投光用光源の像が結像する結像面からの反射光に受光する光を絞り込むという共焦点原理と、投光用光源の像に光軸方向の色ずれが生じるという軸上色収差の現象とを利用してワークまでの距離を計測する光学式の距離計測装置である(例えば、特許文献1及び2)。例えば、共焦点変位計は、投光用光源、共焦点光学系、分光器及びラインセンサを備える。 The cofocal displacement meter has the cofocal principle of narrowing down the light received by the reflected light from the image plane on which the image of the light source for projection is formed, and the image of the light source for projection causes chromatic aberration in the optical axis direction. This is an optical distance measuring device that measures the distance to the work by utilizing the phenomenon of axial chromatic aberration (for example, Patent Documents 1 and 2). For example, a confocal displacement meter includes a light source for projection, a confocal optical system, a spectroscope, and a line sensor.

投光用光源は、複数の波長を有する光からなる検出光を生成する。共焦点光学系は、検出光をワークに向けて出射する対物レンズを有し、検出光による投光用光源の像に軸上色収差を生じさせる。分光器は、ワークによって反射された後、共焦点光学系を通過した反射光を分光する。ラインセンサは、分光された反射光を受光して受光信号を生成する複数の受光素子により構成される。各受光素子は、直線状に配列される。 The light source for projection produces detection light composed of light having a plurality of wavelengths. The cofocal optical system has an objective lens that emits the detected light toward the work, and causes axial chromatic aberration in the image of the light source for projection by the detected light. The spectroscope disperses the reflected light that has passed through the confocal optical system after being reflected by the work. The line sensor is composed of a plurality of light receiving elements that receive the dispersed reflected light and generate a light receiving signal. Each light receiving element is linearly arranged.

結像面の位置は、軸上色収差により波長ごとに異なるため、ラインセンサにより受光される反射光は、ワーク上に結像して反射された波長成分に絞り込まれる。ワークまでの距離は、受光信号に基づいて、距離に関する受光強度の分布からなる受光波形を取得し、ピーク位置を特定することによって計測される。この距離計測により、ワークの移動量やワークの高さ等を検知することができる。また、1つの受光波形を取得するだけで、透明体の厚さ等を検知することもできる。この様な共焦点変位計によれば、距離計測の際に、ワークの材質、色、傾きによる影響を受け難い。 Since the position of the image plane differs for each wavelength due to axial chromatic aberration, the reflected light received by the line sensor is narrowed down to the wavelength component imaged and reflected on the work. The distance to the work is measured by acquiring a light receiving waveform consisting of a light receiving intensity distribution with respect to the distance based on the light receiving signal and specifying the peak position. By this distance measurement, it is possible to detect the amount of movement of the work, the height of the work, and the like. Further, it is possible to detect the thickness of the transparent body and the like only by acquiring one light receiving waveform. According to such a confocal displacement meter, it is not easily affected by the material, color, and inclination of the workpiece when measuring the distance.

従来の共焦点変位計は、投光用光源の光量が小さく、測定可能なワークが制限されるという問題があった。例えば、表面の反射率が小さいワークや、表面が鏡面状のワークを斜め方向から検出する場合、投光量が小さければ、十分な受光強度が得られず、信号波形がノイズに埋もれてしまうことから、ピーク位置の特定が困難になる。 The conventional confocal displacement meter has a problem that the amount of light of the light source for projection is small and the measurable work is limited. For example, when a work with low surface reflectance or a work with a mirror-like surface is detected from an oblique direction, if the amount of light projected is small, sufficient light reception intensity cannot be obtained and the signal waveform is buried in noise. , It becomes difficult to identify the peak position.

特開2013−130580号公報Japanese Unexamined Patent Publication No. 2013-13580 特開2014−115242号公報Japanese Unexamined Patent Publication No. 2014-115242

上述した通り、従来の共焦点変位計は、投光用光源の光量が小さかった。そこで、投光用光源を高出力化することにより、様々なワークに対応させることが考えられる。しかしながら、投光用光源を高出力化すれば、ワーク以外の部材による反射光の影響が無視できなくなり、当該反射光に対応する受光波形によってピーク位置がずれてしまうことから、測定精度が低下するという問題がある。 As described above, the conventional confocal displacement meter has a small amount of light from the light source for projection. Therefore, it is conceivable to increase the output of the light source for floodlight to support various workpieces. However, if the output of the light source for projection is increased, the influence of the reflected light by the member other than the work cannot be ignored, and the peak position is shifted by the received light waveform corresponding to the reflected light, so that the measurement accuracy is lowered. There is a problem.

例えば、ワーク以外の部材からの反射光による影響を取り除く方法には、ワークが存在しない状態で取得した受光波形を利用する第1の方法と、受光強度の変化率を利用する第2の方法がある。第1の方法は、ワークが存在する状態で取得した受光波形と、ワークが存在しない状態で取得した受光波形との差分により、信号波形を求めてピーク位置を特定する。この第1の方法では、測定タイミングの異なる2つの受光波形を取得する必要がある。このため、作業効率が良くなく、使い難い。また、第1の受光波形を取得してから第2の受光波形を取得するまでの間に、投光用光源や共焦点光学系の光学部品、受光素子等に経時的な変化が生じた場合、信号波形が正しく求められない。 For example, as a method of removing the influence of reflected light from a member other than the work, a first method using a light receiving waveform acquired in the absence of a work and a second method using a rate of change in light receiving intensity are used. be. In the first method, the signal waveform is obtained from the difference between the light-receiving waveform acquired in the presence of the work and the light-receiving waveform obtained in the absence of the work, and the peak position is specified. In this first method, it is necessary to acquire two received light waveforms having different measurement timings. Therefore, the work efficiency is not good and it is difficult to use. In addition, when a change with time occurs in the light source for projection, the optical component of the confocal optical system, the light receiving element, etc. between the acquisition of the first light receiving waveform and the acquisition of the second light receiving waveform. , The signal waveform cannot be obtained correctly.

一方、第2の方法は、ワークからの反射光に対応する受光波形に対し、ワーク以外の部材からの反射光に対応する受光波形が緩やかに変化する形状であることを利用して、ワーク以外の部材からの反射光による影響を受け難くする方法であり、受光強度の変化率を閾値と比較することによってピーク位置が特定される。この第2の方法は、ワーク以外の部材からの反射光に対応する受光波形を識別するものではないことから、当該受光波形によるピーク位置のずれを防ぐことはできない。 On the other hand, the second method utilizes the fact that the light-receiving waveform corresponding to the light reflected from the member other than the work gradually changes with respect to the light-receiving waveform corresponding to the light reflected from the work. This is a method of making it less susceptible to the influence of the reflected light from the member of the above, and the peak position is specified by comparing the rate of change of the light receiving intensity with the threshold value. Since this second method does not identify the received light waveform corresponding to the reflected light from the member other than the work, it is not possible to prevent the peak position from shifting due to the received light waveform.

本発明は、上記事情に鑑みてなされたものであり、様々な検出対象物に対応可能でありながら、測定精度を向上させることができる共焦点変位計を提供することを目的とする。特に、作業効率を低下させることなく、測定精度を向上させることができる共焦点変位計を提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a confocal displacement meter capable of improving measurement accuracy while being able to handle various detection objects. In particular, it is an object of the present invention to provide a confocal displacement meter capable of improving measurement accuracy without lowering work efficiency.

本発明の第1の態様による共焦点変位計は、複数の波長を有する光からなる検出光を生成する投光用光源と、上記検出光を検出対象物に向けて出射する対物レンズを有し、上記検出光に軸上色収差を生じさせる共焦点光学系と、上記検出対象物によって反射された後、上記共焦点光学系を通過した反射光を分光する分光器と、分光された上記反射光を受光して受光信号を生成する2以上の受光素子と、上記受光信号に基づいて、距離に関する受光強度の分布からなる受光波形を取得する受光波形取得手段と、上記受光波形の形状に基づいて、その基底波形を推定する基底波形推定手段と、上記受光波形及び上記基底波形に基づいて、信号波形を求める信号波形算出手段と、上記信号波形に基づいて、上記検出対象物までの距離を求める距離算出手段とを備える。 The cofocal displacement meter according to the first aspect of the present invention includes a light projecting light source that generates detection light composed of light having a plurality of wavelengths, and an objective lens that emits the detection light toward a detection object. A confocal optical system that causes axial chromatic aberration in the detected light, a spectroscope that disperses the reflected light that has been reflected by the detection object and then passed through the cofocal optical system, and the dispersed reflected light. Based on two or more light receiving elements that receive light and generate a light receiving signal, a light receiving waveform acquisition means that acquires a light receiving waveform consisting of a distribution of light receiving intensity with respect to the distance based on the light receiving signal, and a shape of the light receiving waveform. , The base waveform estimation means for estimating the base waveform, the signal waveform calculation means for obtaining the signal waveform based on the received light waveform and the base waveform, and the distance to the detection object based on the signal waveform. It is provided with a distance calculation means.

本発明の第2の態様による共焦点変位計は、複数の波長を有する光からなる検出光を生成する投光用光源と、上記検出光を検出対象物に向けて出射する対物レンズを有し、上記検出光に軸上色収差を生じさせる共焦点光学系と、上記検出対象物によって反射された後、上記共焦点光学系を通過した反射光を分光する分光器と、分光された上記反射光を受光して受光信号を生成する2以上の受光素子と、上記受光信号に基づいて、距離に関する受光強度の分布からなる受光波形を取得する受光波形取得手段と、上記対物レンズから出射されなかった上記検出光に対応する基底波形を除去することにより、上記受光波形から信号波形を抽出する基底波形除去手段と、上記信号波形に基づいて、上記検出対象物までの距離を求める距離算出手段とを備える。 The cofocal displacement meter according to the second aspect of the present invention includes a light projecting light source that generates detection light composed of light having a plurality of wavelengths, and an objective lens that emits the detection light toward a detection object. The confocal optical system that causes axial chromatic aberration in the detected light, the spectroscope that disperses the reflected light that has been reflected by the detection object and then passed through the cofocal optical system, and the dispersed reflected light. Two or more light receiving elements that receive light and generate a light receiving signal, a light receiving waveform acquiring means that acquires a light receiving waveform consisting of a distribution of light receiving intensity with respect to the distance based on the light receiving signal, and the objective lens that did not emit light. A base waveform removing means for extracting a signal waveform from the received light waveform by removing the base waveform corresponding to the detected light, and a distance calculating means for obtaining the distance to the detection target based on the signal waveform. Be prepared.

この様な構成によれば、受光波形から信号波形を求めて検出対象物までの距離を求めるので、投光用光源を高出力化した場合であっても、検出対象物以外の部材による反射光の影響が低減し、測定精度を向上させることができる。従って、様々な検出対象物に対応可能でありながら、測定精度を向上させることができる。また、検査対象物が存在しない状態で受光波形を取得する必要がないため、作業効率を低下させることなく、測定精度を向上させることができる。 According to such a configuration, the signal waveform is obtained from the received light waveform to obtain the distance to the detection target. Therefore, even when the output of the light source for projection is increased, the reflected light by a member other than the detection target is obtained. The influence of the above can be reduced and the measurement accuracy can be improved. Therefore, it is possible to improve the measurement accuracy while being able to deal with various detection objects. Further, since it is not necessary to acquire the received light waveform in the absence of the inspection object, the measurement accuracy can be improved without lowering the work efficiency.

本発明の第3の態様による共焦点変位計は、上記構成に加え、上記受光信号に基づいて、上記受光素子の露光時間を調整する露光時間調整手段を備えて構成される。この様な構成によれば、露光時間の自動調整により、検出対象物に応じた露光時間が設定されるため、高い精度で距離計測を行うことができる。 In addition to the above configuration, the confocal displacement meter according to the third aspect of the present invention includes an exposure time adjusting means for adjusting the exposure time of the light receiving element based on the light receiving signal. According to such a configuration, the exposure time is set according to the object to be detected by the automatic adjustment of the exposure time, so that the distance can be measured with high accuracy.

本発明の第4の態様による共焦点変位計は、上記構成に加え、上記信号波形を画面表示するための波形データを外部機器へ出力する波形データ出力手段を備えて構成される。この様な構成によれば、外部機器において、信号波形を画面表示させることができる。 In addition to the above configuration, the confocal displacement meter according to the fourth aspect of the present invention includes a waveform data output means for outputting waveform data for displaying the signal waveform on a screen to an external device. According to such a configuration, the signal waveform can be displayed on the screen in the external device.

本発明の第5の態様による共焦点変位計は、上記構成に加え、上記基底波形推定手段が、上記受光波形を構成する2以上のデータ点からなるデータ点列に対し、参照範囲を一定距離だけ移動させるごとに、上記参照範囲内のデータ点列にフィッティングする回帰曲線を求めて代表点を定めることにより、2以上の上記代表点からなる代表点列を生成する代表点列生成手段と、上記データ点及び上記代表点間における受光強度の差分を求める強度差分算出手段と、上記差分に基づいて、重み係数を求める重み係数算出手段と、上記データ点列に上記重み係数を割り当て、上記参照範囲を一定距離だけ移動させるごとに、上記参照範囲内のデータ点列に重み付きでフィッティングする回帰曲線を求めて代表点を新たに定めることにより、上記代表点列を更新する代表点列更新手段とを有し、上記基底波形が更新後の代表点列により構成される。 In the confocal displacement meter according to the fifth aspect of the present invention, in addition to the above configuration, the base waveform estimation means sets a reference range at a fixed distance with respect to a data point sequence consisting of two or more data points constituting the received light waveform. A representative point sequence generation means for generating a representative point sequence consisting of two or more representative points by obtaining a regression curve that fits to the data point sequence within the reference range and determining a representative point each time the movement is performed. The intensity difference calculating means for obtaining the difference in light receiving intensity between the data points and the representative points, the weighting coefficient calculating means for obtaining the weighting coefficient based on the difference, and the weighting coefficient assigned to the data point sequence, refer to the above. A representative point sequence updating means for updating the representative point sequence by finding a regression curve that weights and fits the data point sequence in the reference range each time the range is moved by a certain distance and newly determining a representative point. The above-mentioned base waveform is composed of the updated representative point sequence.

信号波形は、特定の波長に対応する位置に鋭いピークを有する形状である。これに対し、検出対象物以外の部材からの反射光に対応する基底波形は、様々な波長成分を含み、緩やかに変化する形状である。このため、受光強度が代表点列から大きく外れたデータ点の影響を抑制することにより、対物レンズから出射されなかった検出光に対応する受光波形を基底波形として正しく推定することができる。 The signal waveform has a shape having a sharp peak at a position corresponding to a specific wavelength. On the other hand, the basal waveform corresponding to the reflected light from the member other than the detection object contains various wavelength components and has a shape that gradually changes. Therefore, by suppressing the influence of data points whose light receiving intensity deviates significantly from the representative point sequence, the light receiving waveform corresponding to the detected light not emitted from the objective lens can be correctly estimated as the base waveform.

本発明の第6の態様による共焦点変位計は、上記構成に加え、上記参照範囲を受け付ける参照範囲受付手段を備えて構成される。この様な構成によれば、投光用光源や共焦点光学系の光学的特性に応じて参照範囲を調整することにより、基底波形を正しく推定することができる。 The confocal displacement meter according to the sixth aspect of the present invention is configured to include a reference range receiving means for receiving the reference range in addition to the above configuration. According to such a configuration, the basal waveform can be correctly estimated by adjusting the reference range according to the optical characteristics of the light source for projection and the confocal optical system.

本発明によれば、投光用光源を高出力化した場合であっても、検出対象物以外の部材による反射光の影響が低減するため、様々な検出対象物に対応可能でありながら、測定精度を向上させることができる共焦点変位計を提供することができる。また、検査対象物が存在しない状態で受光波形を取得する必要がないため、作業効率を低下させることなく、測定精度を向上させることが可能な共焦点変位計を提供することができる。 According to the present invention, even when the output of the light source for projection is increased, the influence of the reflected light by the member other than the detection target is reduced, so that the measurement can be performed while being able to handle various detection targets. It is possible to provide a confocal displacement meter that can improve the accuracy. Further, since it is not necessary to acquire the received light waveform in the absence of the inspection object, it is possible to provide a confocal displacement meter capable of improving the measurement accuracy without lowering the work efficiency.

本発明の実施の形態による共焦点変位計1の一構成例を示したシステム図である。It is a system diagram which showed one structural example of the confocal displacement meter 1 by embodiment of this invention. 図1のヘッドユニット10の構成例を模式的に示した断面図である。It is sectional drawing which shows typically the structural example of the head unit 10 of FIG. 図1のコントローラ20の構成例を示したブロック図である。It is a block diagram which showed the configuration example of the controller 20 of FIG. 図3の投光用光源ユニット21の構成例を示した図である。It is a figure which showed the structural example of the light source unit 21 for light projection of FIG. 図3の測定制御部27の構成例を示したブロック図である。It is a block diagram which showed the structural example of the measurement control unit 27 of FIG. 図5の基底波形推定部102の構成例を示したブロック図である。It is a block diagram which showed the structural example of the basal waveform estimation part 102 of FIG. 図5の測定制御部27の動作の一例を示した図であり、受光波形4、基底波形5及び信号波形6が示されている。FIG. 5 is a diagram showing an example of the operation of the measurement control unit 27 of FIG. 5, and shows a light receiving waveform 4, a basal waveform 5, and a signal waveform 6. 図5の測定制御部27における基底波形推定時の動作の一例を示した図であり、受光波形を構成するデータ点列から代表点列を生成する様子が示されている。It is a figure which showed an example of the operation at the time of basal waveform estimation by the measurement control unit 27 of FIG. 5, and shows how the representative point sequence is generated from the data point sequence which constitutes the received light waveform. 図5の測定制御部27における基底波形推定時の動作の一例を示した図であり、ロバスト重みw、回帰重みw及び更新後の代表点列が示されている。Is a diagram illustrating an example of operation when base waveform estimated in the measurement control unit 27 of FIG. 5, are robust weight w i, regression weights w i and representative point sequence of the updated indicated. 図5の測定制御部27における距離計測時の動作の一例を示したフローチャートである。It is a flowchart which showed an example of the operation at the time of distance measurement in the measurement control unit 27 of FIG. 投光用光源ユニット21の他の構成例を模式的に示した断面図である。It is sectional drawing which shows the other structural example of the light source unit 21 for light projection schematically. ヘッドユニット10の他の構成例を示した断面図である。It is sectional drawing which showed the other structural example of the head unit 10. コントローラ20の他の構成例を示した図であり、透過型の分光光学系が示されている。It is a figure which showed the other structural example of the controller 20, and shows the transmission type spectroscopic optical system. 共焦点変位計1のその他の構成例を示した図である。It is a figure which showed the other structural example of the confocal displacement meter 1.

以下、本発明の実施の形態について、図面を参照して説明する。本明細書では、便宜上、検出光DLの光軸の方向を上下方向として説明するが、本発明による共焦点変位計1やヘッドユニット10の使用時における姿勢を限定するものではない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the present specification, for convenience, the direction of the optical axis of the detection light DL is described as the vertical direction, but the posture of the confocal displacement meter 1 and the head unit 10 according to the present invention is not limited.

<共焦点変位計1>
図1は、本発明の実施の形態による共焦点変位計1の一構成例を示したシステム図である。この共焦点変位計1は、光ファイバケーブル2、ヘッドユニット10及びコントローラ20により構成され、ヘッドユニット10から検出光DLを出射した際のワークWからの反射光を受光してワークWまでの距離を計測する光学式の距離計測装置である。
<Confocal displacement meter 1>
FIG. 1 is a system diagram showing a configuration example of a confocal displacement meter 1 according to an embodiment of the present invention. The cofocal displacement meter 1 is composed of an optical fiber cable 2, a head unit 10 and a controller 20, and receives reflected light from the work W when the detection light DL is emitted from the head unit 10 and is a distance to the work W. It is an optical distance measuring device that measures.

ワークWは、検出対象物である。ヘッドユニット10及びコントローラ20は、検出光DLを伝送する光ファイバケーブル2を介して接続されている。コントローラ20には、PC(パーソナルコンピュータ)3が接続されている。PC3は、コントローラ20に対して測定条件等の設定を行い、コントローラ20から計測結果等を取得して画面表示する。 The work W is a detection target. The head unit 10 and the controller 20 are connected via an optical fiber cable 2 that transmits a detection optical DL. A PC (personal computer) 3 is connected to the controller 20. The PC 3 sets measurement conditions and the like for the controller 20, acquires measurement results and the like from the controller 20, and displays them on the screen.

ヘッドユニット10は、白色光からなる検出光DLをワークWに向けて出射し、ワークWからの反射光が入射する投受光部ユニットである。光ファイバケーブル2は、検出光DLを伝送する伝送媒体であり、長尺方向に延びる細線状のコアと、コアを取り囲むクラッドとにより構成される。コントローラ20は、投受光を制御し、ワークWからの反射光に基づいて、ワークWまでの距離を算出する制御ユニットである。 The head unit 10 is a light emitting / receiving unit that emits detection light DL composed of white light toward the work W and receives reflected light from the work W. The optical fiber cable 2 is a transmission medium for transmitting the detection optical DL, and is composed of a thin wire-shaped core extending in the long direction and a clad surrounding the core. The controller 20 is a control unit that controls light emission and reception and calculates the distance to the work W based on the reflected light from the work W.

光ファイバケーブル2を介して検出光DL及び反射光をコントローラ20及びヘッドユニット10間で伝送させるため、ヘッドユニット10を小型化することができる。また、ヘッドユニット10は、コントローラ20から離れた場所であっても、容易に設置することができる。 Since the detection light DL and the reflected light are transmitted between the controller 20 and the head unit 10 via the optical fiber cable 2, the head unit 10 can be miniaturized. Further, the head unit 10 can be easily installed even at a place away from the controller 20.

<ヘッドユニット10>
図2は、図1のヘッドユニット10の構成例を模式的に示した断面図であり、ヘッドユニット10を鉛直面により切断した場合の切断面が示されている。このヘッドユニット10は、ファイバ端2a、コリメートレンズ13及び対物レンズ14により構成される共焦点光学系11と、共焦点光学系11を収容する筐体12とを備える。筐体12は、有蓋円筒形状の鏡筒である。
<Head unit 10>
FIG. 2 is a cross-sectional view schematically showing a configuration example of the head unit 10 of FIG. 1, and shows a cut surface when the head unit 10 is cut by a vertical plane. The head unit 10 includes a cofocal optical system 11 composed of a fiber end 2a, a collimating lens 13 and an objective lens 14, and a housing 12 accommodating the cofocal optical system 11. The housing 12 is a lidded cylindrical lens barrel.

ファイバ端2aは、光ファイバケーブル2のヘッドユニット側の端部であり、共焦点光学系11のピンホールとして機能する。具体的には、光ファイバケーブル2のクラッドが光ファイバケーブル2への戻り光を遮光する遮光部材として作用し、コアの端面がピンホールの開口として作用する。戻り光を遮光することにより、共焦点効果が得られる。なお、微小な開口(貫通孔)をピンホールとして有する遮光板をファイバ端2aとコリメートレンズ13との間に配置するような構成であっても良い。 The fiber end 2a is an end portion of the optical fiber cable 2 on the head unit side, and functions as a pinhole of the confocal optical system 11. Specifically, the clad of the optical fiber cable 2 acts as a light-shielding member that blocks the return light to the optical fiber cable 2, and the end face of the core acts as an opening of a pinhole. A confocal effect can be obtained by blocking the return light. A light-shielding plate having a minute opening (through hole) as a pinhole may be arranged between the fiber end 2a and the collimating lens 13.

このファイバ端2aは、筐体12の天蓋部から下方に突出させて配置されている。コリメートレンズ13は、ファイバ端2aから出射された検出光DLを平行光に集光する集光レンズである。このコリメートレンズ13は、ファイバ端2aの端面に対向するとともに、ファイバ端2aと光軸を一致させて配置されている。 The fiber end 2a is arranged so as to project downward from the canopy portion of the housing 12. The collimating lens 13 is a condensing lens that condenses the detection light DL emitted from the fiber end 2a into parallel light. The collimating lens 13 faces the end surface of the fiber end 2a and is arranged so that the optical axis coincides with the fiber end 2a.

対物レンズ14は、検出光DLをワークWに向けて出射する集光レンズである。この対物レンズ14は、コリメートレンズ13に対向するとともに、コリメートレンズ13と光軸を一致させて配置されている。コリメートレンズ13及び対物レンズ14は、検出光DLに軸上色収差を生じさせる。軸上色収差は、分散による光軸方向の像の色ずれである。 The objective lens 14 is a condensing lens that emits the detection light DL toward the work W. The objective lens 14 faces the collimating lens 13 and is arranged so that the optical axis coincides with the collimating lens 13. The collimating lens 13 and the objective lens 14 cause axial chromatic aberration in the detection light DL. Axial chromatic aberration is a color shift of an image in the optical axis direction due to dispersion.

ヘッドユニット10内の光学系は、図2に示した構成に限られず、図12に示すような構成であっても良い。また、コリメートレンズ13に代えて回折レンズを用いる構成、或いは、回折レンズを対物レンズ14として用いる構成であっても良い。つまり、ヘッドユニット10内の光学系は、ファイバ端2aから出射された多波長成分を有する白色光に対し、ヘッドユニット10内において軸上色収差が与えられ、ヘッドユニット10からワークWに向けて軸上色収差を有する光が放出されるようなものであれば良い。 The optical system in the head unit 10 is not limited to the configuration shown in FIG. 2, and may have a configuration as shown in FIG. Further, a configuration in which a diffractive lens is used instead of the collimating lens 13 or a configuration in which the diffractive lens is used as the objective lens 14 may be used. That is, in the optical system in the head unit 10, axial chromatic aberration is given in the head unit 10 to white light having a multi-wavelength component emitted from the fiber end 2a, and the axis is directed from the head unit 10 toward the work W. Any light may be emitted as long as it emits light having chromatic aberration.

共焦点光学系11は、共焦点原理を利用して受光する光を絞り込むとともに、検出光DLに軸上色収差を生じさせる。ファイバ端2aから出射し、コリメートレンズ13及び対物レンズ14を透過した検出光DLは、波長に応じて上下方向の異なる位置に結像する。検出光DLに含まれる波長成分のうち、ワークW上に結像した特定の波長成分は、ワークWにより反射され、その反射光が対物レンズ14及びコリメートレンズ13を透過してファイバ端2aの端面上に結像する。一方、特定の波長成分以外の波長成分に対応する反射光は、ファイバ端2aの端面上に結像せず、ファイバ端2aによって遮断される。 The confocal optical system 11 narrows down the light to be received by using the confocal principle, and causes axial chromatic aberration in the detected light DL. The detection light DL emitted from the fiber end 2a and transmitted through the collimating lens 13 and the objective lens 14 is imaged at different positions in the vertical direction depending on the wavelength. Of the wavelength components contained in the detection light DL, a specific wavelength component imaged on the work W is reflected by the work W, and the reflected light passes through the objective lens 14 and the collimating lens 13 to pass through the objective lens 14 and the collimating lens 13 to the end face of the fiber end 2a. Image on top. On the other hand, the reflected light corresponding to a wavelength component other than the specific wavelength component is not imaged on the end face of the fiber end 2a and is blocked by the fiber end 2a.

例えば、ファイバ端2aのコアの直径は、200μm以下であることが好ましく、50μm以下であることがより好ましい。また、対物レンズ14からワークWまでの距離は、20mm〜70mm程度であり、測定レンジMRは、±1mm〜±20mm程度である。 For example, the diameter of the core of the fiber end 2a is preferably 200 μm or less, and more preferably 50 μm or less. The distance from the objective lens 14 to the work W is about 20 mm to 70 mm, and the measurement range MR is about ± 1 mm to ± 20 mm.

<コントローラ20>
図3は、図1のコントローラ20の構成例を示したブロック図である。このコントローラ20は、投光用光源ユニット21、スプリッタ22、分光器用レンズ23、分光器24、結像レンズ25、ラインセンサ26、測定制御部27及び表示部28により構成される。ファイバ端2b、分光器用レンズ23、分光器24、結像レンズ25及びラインセンサ26は、分光光学系を構成する。
<Controller 20>
FIG. 3 is a block diagram showing a configuration example of the controller 20 of FIG. The controller 20 includes a light source unit 21 for floodlight, a splitter 22, a lens for a spectroscope 23, a spectroscope 24, an imaging lens 25, a line sensor 26, a measurement control unit 27, and a display unit 28. The fiber end 2b, the spectroscopic lens 23, the spectroscope 24, the imaging lens 25, and the line sensor 26 constitute a spectroscopic optical system.

投光用光源ユニット21は、2以上の波長成分を含む白色光からなる検出光DLを生成する。スプリッタ22は、投光用光源ユニット21から光ファイバケーブル2を介して入射される検出光DLをヘッドユニット10に向けて伝達する一方、ヘッドユニット10から光ファイバケーブル2を介して入射される反射光を分光光学系に向けて伝達する光学部材である。 The light source unit 21 for projection generates a detection light DL composed of white light containing two or more wavelength components. The splitter 22 transmits the detection light DL incident from the light source unit 21 for projection via the optical fiber cable 2 toward the head unit 10, while the splitter 22 transmits the detection light DL incident from the head unit 10 via the optical fiber cable 2. It is an optical member that transmits light toward a spectroscopic optical system.

ファイバ端2bは、光ファイバケーブル2の分光光学系側の端部である。分光器用レンズ23は、ファイバ端2bから出射された光を集光する集光レンズである。この分光器用レンズ23は、ファイバ端2bの端面に対向するとともに、ファイバ端2bと光軸を一致させて配置されている。 The fiber end 2b is an end portion of the optical fiber cable 2 on the spectroscopic optical system side. The spectroscope lens 23 is a condensing lens that collects the light emitted from the fiber end 2b. The spectroscope lens 23 faces the end surface of the fiber end 2b and is arranged so that the optical axis coincides with the fiber end 2b.

分光器24は、ワークWによって反射され、共焦点光学系11を通過した光を分光する光学部材である。この分光器24は、反射角度に応じて異なる波長成分に入射光を分光する反射型の分光器であり、平板状の回折格子からなる。結像レンズ25は、分光された反射光をラインセンサ26上に結像させる集光レンズである。 The spectroscope 24 is an optical member that disperses the light reflected by the work W and passed through the confocal optical system 11. The spectroscope 24 is a reflection type spectroscope that disperses incident light into different wavelength components according to the reflection angle, and is composed of a flat plate-shaped diffraction grating. The imaging lens 25 is a condensing lens that forms an image of the dispersed reflected light on the line sensor 26.

ラインセンサ26は、分光器24により分光され、結像レンズ25を透過した光を受光し、受光信号を生成する2以上の受光素子からなる。各受光素子は、直線状に配列される。例えば、ラインセンサ26は、多分割PD(フォトダイオード)、CCD(電荷結合素子)又はCMOS(相補性金属酸化膜半導体)等の撮像素子により構成される。多分割PDは、多数のPDが回路基板上に2次元的に配列された受光素子ユニットである。 The line sensor 26 is composed of two or more light receiving elements that are separated by the spectroscope 24, receive light transmitted through the imaging lens 25, and generate a light receiving signal. Each light receiving element is linearly arranged. For example, the line sensor 26 is composed of an image pickup device such as a multi-segment PD (photodiode), a CCD (charge-coupled device), or a CMOS (complementary metal oxide semiconductor). The multi-segment PD is a light receiving element unit in which a large number of PDs are two-dimensionally arranged on a circuit board.

測定制御部27は、ラインセンサ26からの受光信号に基づいて、ワークWまでの距離を算出し、測定結果として表示部28に表示する。また、測定制御部27は、受光信号に基づいて、後述する受光波形や信号波形を取得し、その波形データをPC3へ出力する。表示部28は、コントローラ20の筐体に設けられた7セグメント表示器からなり、距離の計測値や判定用閾値などを表示する。 The measurement control unit 27 calculates the distance to the work W based on the received signal from the line sensor 26, and displays the measurement result on the display unit 28. Further, the measurement control unit 27 acquires a light-receiving waveform and a signal waveform, which will be described later, based on the light-receiving signal, and outputs the waveform data to the PC3. The display unit 28 includes a 7-segment display provided in the housing of the controller 20, and displays a measured distance value, a determination threshold value, and the like.

<投光用光源ユニット21>
図4は、図3の投光用光源ユニット21の構成例を示した図であり、図中の(a)には、投光用光源ユニット21の側面が示され、(b)には、投光用光源ユニット21をA−A線により切断した場合の切断面が示されている。この投光用光源ユニット21は、発光素子211、配線基板212、素子ホルダ213、集光レンズ214、レンズホルダ215、フェルール216、フェルール押え217、蛍光体220、枠体221及び反射型フィルタ222により構成される。
<Light source unit for floodlight 21>
4A and 4B are views showing a configuration example of the light source unit 21 for light projection of FIG. 3. FIG. 4A shows a side surface of the light source unit 21 for light projection, and FIG. The cut surface when the light source unit 21 for floodlight is cut by the AA line is shown. The light source unit 21 for light projection is composed of a light emitting element 211, a wiring board 212, an element holder 213, a condenser lens 214, a lens holder 215, a ferrule 216, a ferrule holder 217, a phosphor 220, a frame body 221 and a reflective filter 222. It is composed.

発光素子211は、単一波長のレーザ光を生成する蛍光体励起用のレーザ光源である。この発光素子211は、発光部を水平方向の前方に向けた状態で配線基板212に配設されている。例えば、発光素子211は、波長が450nm以下の青色光又は紫外光を生成する。素子ホルダ213は、配線基板212を保持する部材であり、レンズホルダ215に背面側から挿入されている。 The light emitting element 211 is a laser light source for exciting a phosphor that generates a laser beam having a single wavelength. The light emitting element 211 is arranged on the wiring board 212 with the light emitting portion facing forward in the horizontal direction. For example, the light emitting element 211 produces blue light or ultraviolet light having a wavelength of 450 nm or less. The element holder 213 is a member that holds the wiring board 212, and is inserted into the lens holder 215 from the back side.

集光レンズ214は、発光素子211から出射されたレーザ光を光ファイバケーブル2の投光用光源ユニット側のファイバ端に集光させる光学部材であり、発光素子211に対向させて配置されている。レンズホルダ215は、集光レンズ214を保持する鏡筒であり、集光レンズ214の前方において縮径している。フェルール216は、光ファイバケーブル2の投光用光源ユニット側のファイバ端が組み込まれ、前後方向に延びる円筒状の接続部材である。フェルール押え217は、レンズホルダ215の縮径部に前面側から挿入されたフェルール216を固定するための有底円筒形状の部材であり、円筒部を上記縮径部の外周面に被せた状態でレンズホルダ215に取り付けられている。 The condensing lens 214 is an optical member that condenses the laser light emitted from the light emitting element 211 on the fiber end of the optical fiber cable 2 on the light source unit side for light projection, and is arranged so as to face the light emitting element 211. .. The lens holder 215 is a lens barrel that holds the condenser lens 214, and has a reduced diameter in front of the condenser lens 214. The ferrule 216 is a cylindrical connecting member in which the fiber end of the optical fiber cable 2 on the light source unit side for light projection is incorporated and extends in the front-rear direction. The ferrule presser 217 is a bottomed cylindrical member for fixing the ferrule 216 inserted from the front side to the reduced diameter portion of the lens holder 215, and the cylindrical portion is covered with the outer peripheral surface of the reduced diameter portion. It is attached to the lens holder 215.

蛍光体220は、発光素子211からのレーザ光によって励起され、レーザ光とは異なる波長の蛍光を発生する発光体である。この蛍光体220は、その外周面が枠体221によって保持され、光ファイバケーブル2のファイバ端の端面に接触させた状態でレンズホルダ215内に配置されている。例えば、蛍光体220は、青色のレーザ光の照射によって黄色の蛍光を発生する。なお、蛍光体220は、2以上の種類の蛍光材料から形成されるものであっても良い。例えば、蛍光体220は、青色のレーザ光の照射により、緑色の蛍光を発生する蛍光材料と、赤色の蛍光を発生する蛍光材料とにより形成される。 The phosphor 220 is a light emitter that is excited by the laser light from the light emitting element 211 and generates fluorescence having a wavelength different from that of the laser light. The outer peripheral surface of the phosphor 220 is held by the frame body 221 and is arranged in the lens holder 215 in a state of being in contact with the end surface of the fiber end of the optical fiber cable 2. For example, the phosphor 220 emits yellow fluorescence by irradiation with a blue laser beam. The phosphor 220 may be formed of two or more types of fluorescent materials. For example, the phosphor 220 is formed of a fluorescent material that generates green fluorescence and a fluorescent material that generates red fluorescence when irradiated with a blue laser beam.

反射型フィルタ222は、発光素子211からのレーザ光を透過し、蛍光体220からの光を反射する光学部材であり、枠体221の発光素子側の面を覆うように配置されている。光ファイバケーブル2のファイバ端には、発光素子211からのレーザ光と、蛍光体220からの蛍光とが混合した複数の波長を有する光が検出光DLとして入射される。 The reflection type filter 222 is an optical member that transmits the laser light from the light emitting element 211 and reflects the light from the phosphor 220, and is arranged so as to cover the surface of the frame 221 on the light emitting element side. At the fiber end of the optical fiber cable 2, light having a plurality of wavelengths in which the laser light from the light emitting element 211 and the fluorescence from the phosphor 220 are mixed is incident as the detection light DL.

投光用光源ユニット21は、光ファイバケーブル2のファイバ端に、発光素子211からのレーザ光と蛍光体220からの蛍光とが混合した光を直接に入射させる構成である。この様なファイバ型光源を用いることにより、ヘッドユニット10及びコントローラ20間の光ファイバケーブル2との接続を簡素化することができる。 The light source unit 21 for floodlight has a configuration in which light obtained by mixing laser light from the light emitting element 211 and fluorescence from the phosphor 220 is directly incident on the fiber end of the optical fiber cable 2. By using such a fiber type light source, it is possible to simplify the connection between the head unit 10 and the controller 20 with the optical fiber cable 2.

<測定制御部27>
図5は、図3の測定制御部27の構成例を示したブロック図である。この測定制御部27は、受光波形取得部101、基底波形推定部102、信号波形算出部103、距離算出部104、換算式記憶部105、波形データ出力部106、参照範囲受付部107、露光時間調整部108及び投光量制御部109により構成される。
<Measurement control unit 27>
FIG. 5 is a block diagram showing a configuration example of the measurement control unit 27 of FIG. The measurement control unit 27 includes a light receiving waveform acquisition unit 101, a base waveform estimation unit 102, a signal waveform calculation unit 103, a distance calculation unit 104, a conversion type storage unit 105, a waveform data output unit 106, a reference range reception unit 107, and an exposure time. It is composed of an adjusting unit 108 and a light projecting amount control unit 109.

受光波形取得部101は、ラインセンサ26からの受光信号に基づいて、距離に関する受光強度の分布からなる受光波形を取得し、基底波形推定部102及び信号波形算出部103へ出力する。ラインセンサ26には、多数の受光素子が直線状に配列されていることから、受光素子ごとの受光量を示す受光強度データが配列方向の位置に関連づけて管理される。受光波形は、受光素子の配列方向の位置をピクセル位置と呼ぶことにすれば、それぞれがピクセル位置に関連づけられた多数の受光強度データからなる。 The light-receiving waveform acquisition unit 101 acquires a light-receiving waveform consisting of a distribution of light-receiving intensity with respect to distance based on the light-receiving signal from the line sensor 26, and outputs the light-receiving waveform to the basal waveform estimation unit 102 and the signal waveform calculation unit 103. Since a large number of light receiving elements are linearly arranged in the line sensor 26, light receiving intensity data indicating the amount of light received by each light receiving element is managed in association with the position in the arrangement direction. If the position in the arrangement direction of the light receiving elements is called a pixel position, the light receiving waveform is composed of a large number of light receiving intensity data associated with each pixel position.

基底波形推定部102は、受光波形取得部101により取得された受光波形の形状に基づいて、その基底波形を推定する。基底波形は、ノイズ成分を示す受光波形であり、ヘッドユニット10の対物レンズ14から出射されなかった検出光DLに対応する。信号波形算出部103は、受光波形及び基底波形に基づいて、信号波形を求め、距離算出部104及び波形データ出力部106へ出力する。信号波形は、対物レンズ14から出射され、ワークWによって反射された検出光DLに対応する受光波形であり、受光波形及び基底波形の差分から求められる。基底波形推定部102及び信号波形算出部103は、対物レンズ14から出射されなかった検出光DLに対応する基底波形を除去することにより、受光波形から信号波形を抽出する基底波形除去手段である。 The basal waveform estimation unit 102 estimates the basal waveform based on the shape of the light receiving waveform acquired by the light receiving waveform acquisition unit 101. The base waveform is a light receiving waveform showing a noise component, and corresponds to the detection light DL not emitted from the objective lens 14 of the head unit 10. The signal waveform calculation unit 103 obtains a signal waveform based on the received light waveform and the base waveform, and outputs the signal waveform to the distance calculation unit 104 and the waveform data output unit 106. The signal waveform is a light receiving waveform corresponding to the detection light DL emitted from the objective lens 14 and reflected by the work W, and is obtained from the difference between the light receiving waveform and the base waveform. The base waveform estimation unit 102 and the signal waveform calculation unit 103 are base waveform removing means for extracting a signal waveform from a received waveform by removing the base waveform corresponding to the detection light DL not emitted from the objective lens 14.

距離算出部104は、信号波形算出部103により求められた信号波形に基づいて、ワークWまでの距離WDを求め、表示部28へ出力する。受光波形上のピクセル位置は、ラインセンサ26上の該当する位置に結像する光の波長に対応し、波長は距離WDに対応することから、距離WDは、信号波形のピーク位置を特定することによって求められる。 The distance calculation unit 104 obtains the distance WD to the work W based on the signal waveform obtained by the signal waveform calculation unit 103, and outputs the distance WD to the display unit 28. Since the pixel position on the received light waveform corresponds to the wavelength of the light imaged at the corresponding position on the line sensor 26 and the wavelength corresponds to the distance WD, the distance WD specifies the peak position of the signal waveform. Demanded by.

例えば、信号波形を構成するデータ点列に対し、受光強度が判定閾値以上のデータ点列が存在すれば、ワークWからの反射光成分に対応すると判断し、当該データ点列において受光強度が最大のデータ点のピクセル位置がピーク位置として特定される。或いは、受光強度が判定閾値以上のデータ点列にフィッティングする曲線を求め、その曲線の最大点のピクセル位置をピーク位置としても良い。 For example, if there is a data point sequence whose light receiving intensity is equal to or higher than the determination threshold value for the data point sequence constituting the signal waveform, it is determined that the data point sequence corresponds to the reflected light component from the work W, and the light receiving intensity is maximum in the data point sequence. The pixel position of the data point of is specified as the peak position. Alternatively, a curve that fits into a data point sequence whose light receiving intensity is equal to or greater than the determination threshold value may be obtained, and the pixel position of the maximum point of the curve may be set as the peak position.

また、距離算出部104は、算出した距離WDを基準値と比較することにより、変位量を求め、表示部28へ出力する。換算式記憶部105には、ピクセル位置、波長及び距離WDを互いに対応づけるための換算式又はテーブルが保持される。 Further, the distance calculation unit 104 obtains the displacement amount by comparing the calculated distance WD with the reference value, and outputs the displacement amount to the display unit 28. The conversion formula storage unit 105 holds a conversion formula or a table for associating the pixel position, wavelength, and distance WD with each other.

波形データ出力部106は、信号波形算出部103により求められた信号波形を画面表示するための波形データをPC3へ出力する。参照範囲受付部107は、PC3から、後述する参照範囲RRを受け付ける。参照範囲RRは、受光波形を構成するデータ点列を解析する際の処理単位であり、参照範囲RRに基づいて基底波形が推定される。 The waveform data output unit 106 outputs waveform data for displaying the signal waveform obtained by the signal waveform calculation unit 103 on the screen to the PC3. The reference range reception unit 107 receives the reference range RR, which will be described later, from the PC3. The reference range RR is a processing unit for analyzing the data point sequence constituting the received light waveform, and the basal waveform is estimated based on the reference range RR.

本実施の形態による共焦点変位計1は、ワークWの種類により、また、ワークW内の部分により、反射率が変わったとしても、受光強度が飽和しないように、受光量が制御されている。例えば、ワークWが正反射するような対象物であれば、受光強度の最大値が高くなり、一方、ワークWが透明体のような対象物であれば、受光強度の最大値は低くなる。このようなワークWの種類によらず、安定した変位計測を行うためには、受光強度の最大値が飽和しないように、受光装置(ラインセンサ26)で受光する光量を変える必要がある。受光装置(ラインセンサ26)で受光する光量を変える方法には、受光信号を増幅するアンプのゲインを調整する方法と、受光装置の露光時間等を調整することによって受光装置の露光量を変える方法と、投光装置の投光量を調整する方法とがある。露光時間調整部108及び投光量制御部109は、その様な受光強度のダイナミックレンジを変化させる手段である。 In the confocal displacement meter 1 according to the present embodiment, the amount of light received is controlled so that the light receiving intensity is not saturated even if the reflectance changes depending on the type of the work W and the portion inside the work W. .. For example, if the work W is an object that specularly reflects, the maximum value of the light receiving intensity is high, while if the work W is an object such as a transparent body, the maximum value of the light receiving intensity is low. Regardless of the type of the work W, in order to perform stable displacement measurement, it is necessary to change the amount of light received by the light receiving device (line sensor 26) so that the maximum value of the light receiving intensity is not saturated. The method of changing the amount of light received by the light receiving device (line sensor 26) is a method of adjusting the gain of the amplifier that amplifies the light receiving signal and a method of changing the exposure amount of the light receiving device by adjusting the exposure time of the light receiving device. There is a method of adjusting the amount of light projected by the light projecting device. The exposure time adjusting unit 108 and the light projecting amount control unit 109 are means for changing the dynamic range of such light receiving intensity.

例えば、受光強度の最大値が飽和する場合は、次のサンプリング時に、受光強度の最大値が飽和しないように、受光装置で受光する光量を減らすべく、受光装置のシャッタを開けている時間を短くする。 For example, when the maximum value of the light receiving intensity is saturated, the time for opening the shutter of the light receiving device is shortened in order to reduce the amount of light received by the light receiving device so that the maximum value of the light receiving intensity is not saturated at the next sampling. do.

露光時間調整部108は、ラインセンサ26からの受光信号に基づいて、ラインセンサ26における受光素子の露光時間を調整する。例えば、露光時間は、受光素子における電荷蓄積の時間を制御することによって行われる。また、露光時間は、受光強度が一定レベルを超えた場合に、短縮される。 The exposure time adjusting unit 108 adjusts the exposure time of the light receiving element in the line sensor 26 based on the light receiving signal from the line sensor 26. For example, the exposure time is determined by controlling the time of charge accumulation in the light receiving element. Further, the exposure time is shortened when the light receiving intensity exceeds a certain level.

投光量制御部109は、ラインセンサ26からの受光信号に基づいて、検出光DLの投光量を制御する。例えば、レーザ光を生成する発光素子211を制御し、レーザ光のパルス時間(パルス幅)を変えることにより、検出光DLの投光量が調整される。上述した様な露光時間調整又は投光量制御により、受光強度は、時間とともに変動するため、基底波形が変化する。基底波形推定部102では、現在の受光波形から基底波形を推定するため、動的に変化する基底波形が自動的に求められる。この様にして求められる基底波形を受光波形から減算することにより、周囲環境やワークWによってダイナミックレンジが変化しても、正しい信号波形を求めることができる。なお、受光信号を増幅するアンプのゲインを調整することによって、受光強度のダイナミックレンジを変化させても良い。 The light projection amount control unit 109 controls the light projection amount of the detection light DL based on the received light signal from the line sensor 26. For example, the amount of light projected from the detection light DL is adjusted by controlling the light emitting element 211 that generates the laser light and changing the pulse time (pulse width) of the laser light. By adjusting the exposure time or controlling the amount of light projected as described above, the light receiving intensity fluctuates with time, so that the base waveform changes. Since the basis waveform estimation unit 102 estimates the basis waveform from the current received light waveform, the dynamically changing basis waveform is automatically obtained. By subtracting the base waveform obtained in this way from the received light waveform, the correct signal waveform can be obtained even if the dynamic range changes depending on the surrounding environment or the work W. The dynamic range of the light receiving intensity may be changed by adjusting the gain of the amplifier that amplifies the light receiving signal.

<基底波形推定部102>
図6は、図5の基底波形推定部102の構成例を示したブロック図である。この基底波形推定部102は、代表点列生成部111、代表点列記憶部112、強度差分算出部113、重み係数算出部114及び代表点列更新部115により構成される。
<Basis waveform estimation unit 102>
FIG. 6 is a block diagram showing a configuration example of the basal waveform estimation unit 102 of FIG. The basal waveform estimation unit 102 is composed of a representative point sequence generation unit 111, a representative point sequence storage unit 112, an intensity difference calculation unit 113, a weight coefficient calculation unit 114, and a representative point sequence update unit 115.

代表点列生成部111は、受光波形取得部101からの受光波形に基づいて、2以上の代表点RPからなる代表点列を生成し、代表点列記憶部112内に格納する。受光波形は、2以上のデータ点DPからなるデータ点列により構成される。各データ点DPには、対応する受光素子の受光強度データとピクセル位置を示す位置情報とが対応づけられる。 The representative point sequence generation unit 111 generates a representative point sequence composed of two or more representative point RPs based on the light receiving waveform from the light receiving waveform acquisition unit 101, and stores the representative point sequence in the representative point sequence storage unit 112. The received light waveform is composed of a data point sequence composed of two or more data point DPs. Each data point DP is associated with the light receiving intensity data of the corresponding light receiving element and the position information indicating the pixel position.

代表点RPは、注目点APを含む参照範囲RR内のデータ点列に対し、このデータ点列にフィッティングする回帰曲線RCを求め、注目点APのピクセル位置に対応する受光強度データを回帰曲線RCから算出することによって定められる。注目点APは、参照範囲RR内におけるいずれかのデータ点DPである。回帰曲線RCは、最小二乗法を利用して求められる。代表点列は、参照範囲RRを一定距離Δxだけ移動させるごとに、参照範囲RR内のデータ点列にフィッティングする回帰曲線RCを求めて代表点RPを定めることによって得られる。 The representative point RP obtains a regression curve RC that fits the data point sequence in the reference range RR including the attention point AP, and obtains the light receiving intensity data corresponding to the pixel position of the attention point AP. It is determined by calculating from. The point of interest AP is any data point DP within the reference range RR. The regression curve RC is obtained using the method of least squares. The representative point sequence is obtained by determining the representative point RP by obtaining the regression curve RC fitting to the data point sequence in the reference range RR every time the reference range RR is moved by a certain distance Δx.

強度差分算出部113は、データ点DP及び代表点RP間の残差dを求め、重み係数算出部114へ出力する。残差dは、データ点DP及び代表点RP間における受光強度の差分である。 The intensity difference calculation unit 113 obtains the residual d between the data point DP and the representative point RP, and outputs the residual d to the weight coefficient calculation unit 114. The residual d is the difference in light receiving intensity between the data point DP and the representative point RP.

重み係数算出部114は、強度差分算出部113からの残差dに基づいて、重み係数wを求め、代表点列更新部115へ出力する。重み係数wは、0以上1以下の実数であり、残差dが小さいほど大きくなり、残差dが一定値を超える範囲では0になるように定められる。 The weight coefficient calculation unit 114 obtains the weight coefficient w based on the residual d from the strength difference calculation unit 113, and outputs the weight coefficient w to the representative point sequence update unit 115. The weighting coefficient w is a real number of 0 or more and 1 or less, and is determined so that it becomes larger as the residual d is smaller and becomes 0 in the range where the residual d exceeds a certain value.

代表点列更新部115は、データ点列に重み係数wを割り当て、参照範囲RRを一定距離Δxだけ移動させるごとに、参照範囲RR内のデータ点列に重み付きでフィッティングする回帰曲線RCを求めて代表点RPを新たに定めることにより、代表点列を更新する。残差dに応じた重み係数wを求めて代表点列を更新する処理は、一定回数繰り返される。基底波形は、更新後の代表点列により構成される。 The representative point sequence update unit 115 assigns a weighting coefficient w to the data point sequence, and obtains a regression curve RC that weights and fits the data point sequence in the reference range RR each time the reference range RR is moved by a certain distance Δx. By newly defining the representative point RP, the representative point sequence will be updated. The process of obtaining the weighting coefficient w according to the residual d and updating the representative point sequence is repeated a certain number of times. The basis waveform is composed of the updated representative point sequence.

図7は、図5の測定制御部27の動作の一例を示した図であり、図中の(a)には、受光波形4が示され、(b)には、基底波形5が示され、(c)には、信号波形6が示されている。図には、横軸をピクセル位置とし、縦軸を受光強度として、受光波形4、基底波形5及び信号波形6がそれぞれ描画されている。また、図中の(c)では、受光波形4に対するピーク位置Pのずれを誇張して信号波形6が描画されている。 7A and 7B are views showing an example of the operation of the measurement control unit 27 of FIG. 5, in which the light receiving waveform 4 is shown in FIG. 7A and the basal waveform 5 is shown in FIG. , (C) show the signal waveform 6. In the figure, the light receiving waveform 4, the basal waveform 5, and the signal waveform 6 are drawn with the horizontal axis as the pixel position and the vertical axis as the light receiving intensity. Further, in (c) in the figure, the signal waveform 6 exaggerated displacement of the peak position P 3 with respect to the light receiving waveform 4 is drawn.

受光波形4は、ピクセル位置と受光強度との関係を表す特性曲線であり、受光信号に基づいて作成される。この受光波形4には、短波長側と長波長側とに鋭いピークが形成され、これらのピーク間には、受光強度が緩やかに変化する1つのピークが形成されている。短波長側のピーク波形は、蛍光体励起用のレーザ光に対応する受光波形である。長波長側のピーク波形は、信号波形6に対応する。短波長側のピーク波形と緩やかに変化するピーク波形とは、基底波形5に対応する。光量の強い光、例えば、レーザを用いた光を光源とすることにより、基底波形5の強度も高くなる。 The light receiving waveform 4 is a characteristic curve representing the relationship between the pixel position and the light receiving intensity, and is created based on the light receiving signal. In the received light waveform 4, sharp peaks are formed on the short wavelength side and the long wavelength side, and one peak in which the light receiving intensity gradually changes is formed between these peaks. The peak waveform on the short wavelength side is a received light waveform corresponding to the laser beam for exciting the phosphor. The peak waveform on the long wavelength side corresponds to the signal waveform 6. The peak waveform on the short wavelength side and the gradually changing peak waveform correspond to the base waveform 5. By using light having a strong amount of light, for example, light using a laser as a light source, the intensity of the base waveform 5 is also increased.

基底波形5は、ピクセル位置がp以上p以下の範囲を演算対象範囲としてこの演算対象範囲内で受光波形4の形状を解析し、受光波形4を構成するデータ点列に滑らかにフィッティングする曲線をベースラインとして推定することによって求められる。 Base waveform 5, pixel location analyzes p 1 or p 2 less the scope as a calculation target range shape of the light-receiving waveform 4 in the calculation target range, smoothly fitting the data point sequence constituting the light receiving waveform 4 Obtained by estimating the curve as the baseline.

ピクセル位置pは、短波長側のピーク波形の影響を除去するために、当該ピーク波形よりも長波長側に予め定められる。信号波形6は、ワークWからの反射光に対応する受光波形であり、受光波形4から基底波形5を減算することによって求められる。 Pixel position p 1, in order to eliminate the influence of the peak waveform of the short wavelength side is predetermined to the long wavelength side than the peak waveform. The signal waveform 6 is a received light waveform corresponding to the reflected light from the work W, and is obtained by subtracting the base waveform 5 from the received light waveform 4.

投光用光源にレーザ光源を用い、そのレーザ光とレーザ光によって励起された蛍光体220からの蛍光との混合光を検出光DLとして使用することにより、検出光DLの光量は極めて大きい。このため、ワークW以外の部材による反射光の影響が無視できない。このワークW以外の部材による反射光に対応する受光波形が基底波形5であり、受光波形4では、基底波形5の存在により、信号波形6のピーク位置Pがずれるという問題があった。 By using a laser light source as the light source for projection and using the mixed light of the laser light and the fluorescence from the phosphor 220 excited by the laser light as the detection light DL, the amount of light of the detection light DL is extremely large. Therefore, the influence of the reflected light by the members other than the work W cannot be ignored. The light receiving waveforms corresponding to the reflected light by members other than work W is ground wave 5, the light receiving waveform 4, the presence of base waveform 5, there is a problem that the peak position P 3 of the signal waveform 6 is shifted.

例えば、基底波形5が山形状であり、そのピーク位置よりも長波長側の傾斜領域に信号波形6が形成される場合、信号波形6のピーク位置Pは、基底波形5のピーク位置側、すなわち、短波長側にシフトする。これは、信号波形6の頂点近傍の変化率が0程度であるのに対し、基底波形5の傾斜領域の変化率は0よりも大きいことに起因する。 For example, the base waveform 5 is chevron-shaped, if the signal waveform 6 is formed on the inclined region of the longer wavelength side than the peak position, the peak position P 3 of the signal waveform 6, the peak position side of the base waveform 5, That is, it shifts to the short wavelength side. This is because the rate of change in the vicinity of the apex of the signal waveform 6 is about 0, whereas the rate of change in the inclined region of the base waveform 5 is larger than 0.

本実施の形態では、受光波形4の形状から基底波形5を推定して信号波形6を求めるため、基底波形5に影響されることなく、信号波形6のピーク位置Pを正確に検知することができる。この基底波形5は、波形の形状をもとに、共焦点変位計1が算出しているので、ユーザは、ワークW、測定環境又は測定条件を変更するごとに、補正値を覚え込ませて補正するものに比べ、手間がかからない。また、ダイナミックレンジが変わった場合であっても、そのダイナミックレンジの変動に応じて、基底波形5も変わり、信号波形6のピーク位置を正しく特定することができる。 In the present embodiment, for obtaining a signal waveform 6 by estimating the base waveform 5 from the shape of the light receiving waveform 4, without being affected by the base waveform 5, to detect the peak position P 3 of the signal waveform 6 accurately Can be done. Since the confocal displacement meter 1 calculates this base waveform 5 based on the shape of the waveform, the user is made to remember the correction value every time the work W, the measurement environment, or the measurement condition is changed. It takes less time and effort than the correction. Further, even when the dynamic range changes, the basal waveform 5 also changes according to the fluctuation of the dynamic range, and the peak position of the signal waveform 6 can be correctly specified.

図8は、図5の測定制御部27における基底波形推定時の動作の一例を示した図であり、受光波形4を構成するデータ点列から代表点列を生成する様子が示されている。図中の(a)には、受光波形4を構成する多数のデータ点DPからなるデータ点列が示されている。データ点DPを示すドットは、横軸をラインセンサ26上の位置xとし、縦軸を受光強度yとしてプロットされている。各データ点DPのx軸方向の間隔は、一定である。 FIG. 8 is a diagram showing an example of an operation at the time of estimating the basal waveform in the measurement control unit 27 of FIG. 5, and shows how a representative point sequence is generated from the data point sequence constituting the received light waveform 4. In (a) in the figure, a data point sequence composed of a large number of data point DPs constituting the received light waveform 4 is shown. The dots indicating the data point DP are plotted with the horizontal axis representing the position x on the line sensor 26 and the vertical axis representing the light receiving intensity y. The distance between each data point DP in the x-axis direction is constant.

図中の(b)には、参照範囲RR内のデータ点列にフィッティングする回帰曲線RCを求めて代表点RPを定める様子が示されている。参照範囲RRは、最小二乗法による統計演算の処理対象領域であり、注目点APを含む連続する2以上のデータ点DPからなる。この例では、注目点APを中心のデータ点DPとし、注目点APよりも大きい位置に3つのデータ点DPを含み、注目点APよりも小さい位置に3つのデータ点DPを含む領域が参照範囲RRとして指定されている。つまり、この参照範囲RRには、7つのデータ点DPが含まれている。 In (b) in the figure, a state in which the representative point RP is determined by obtaining the regression curve RC fitting to the data point sequence in the reference range RR is shown. The reference range RR is a processing target area for statistical calculation by the least squares method, and is composed of two or more consecutive data point DPs including a point of interest AP. In this example, the point of interest AP is the center data point DP, and the reference range is a region containing three data point DPs at a position larger than the point of interest AP and three data point DPs at a position smaller than the point of interest AP. It is designated as RR. That is, the reference range RR includes seven data point DPs.

回帰曲線RCは、参照範囲RR内のデータ点列にフィッティングさせるN次(Nは、1以上の整数)の関数により表される。回帰曲線RCは、参照範囲RR内のデータ点列に対し、最小二乗法を利用してこれらのデータ点列に近似するN次関数を定めることによって求められる。 The regression curve RC is represented by a function of Nth order (N is an integer of 1 or more) to be fitted to the data point sequence in the reference range RR. The regression curve RC is obtained by defining an Nth-order function that approximates the data point sequences in the reference range RR by using the least squares method.

代表点RPは、注目点AP及び回帰曲線RCに基づいて定められる。すなわち、代表点RPは、注目点APのx座標に対応するy座標(受光強度)を回帰曲線RCから算出することによって定められる。この例では、代表点RPを示すクロスマークが参照範囲RR内にプロットされている。 The representative point RP is determined based on the point of interest AP and the regression curve RC. That is, the representative point RP is determined by calculating the y-coordinate (light receiving intensity) corresponding to the x-coordinate of the point of interest AP from the regression curve RC. In this example, cross marks indicating the representative point RP are plotted within the reference range RR.

例えば、参照範囲RP内のデータ点数をn、各データ点DPの座標を(x,y)(iは、1以上n以下の整数)とし、回帰曲線RCを二次関数y=ax+bx+cとすれば、パラメータa,b,cは、次式(1)により求められる。 For example, the data points in the reference range RP n, the coordinates of each data point DP (x i, y i) (i is an integer from 1 to n), and two regression curve RC linear function y = ax 2 If + bx + c, the parameters a, b, and c can be obtained by the following equation (1).

Figure 0006928688
Figure 0006928688

図中の(c)には、演算対象範囲内のデータ点列に基づいて取得された2以上の代表点RPからなる代表点列がデータ点列と比較して示されている。参照範囲RR内のデータ点列にフィッティングする回帰曲線RCを求めて代表点RPを定める統計演算処理は、参照範囲RRをx軸方向にΔxだけ移動させるごとに繰り返される。 In (c) in the figure, a representative point sequence consisting of two or more representative point RPs acquired based on the data point sequence within the calculation target range is shown in comparison with the data point sequence. The statistical calculation process of obtaining the regression curve RC fitting to the data point sequence in the reference range RR and determining the representative point RP is repeated every time the reference range RR is moved by Δx in the x-axis direction.

移動量Δxは、データ点列のx軸方向のピッチ以上の値であれば任意である。この例では、移動量Δxがデータ点列のピッチと一致している。演算対象範囲内の全てのデータ点DPについて、代表点RPを定めることにより、0次近似の基底波形5が取得される。この基底波形5では、信号成分に相当するデータ点DPに引っ張られる形で、波形が局所的に凸凹している。 The movement amount Δx is arbitrary as long as it has a value equal to or greater than the pitch of the data point sequence in the x-axis direction. In this example, the movement amount Δx coincides with the pitch of the data point sequence. By defining the representative point RP for all the data point DPs in the calculation target range, the basis waveform 5 of the 0th order approximation is acquired. In this basal waveform 5, the waveform is locally uneven in a form of being pulled by the data point DP corresponding to the signal component.

例えば、参照範囲RRの幅、移動量Δx、回帰曲線RCの次数Nは、測定条件を示すパラメータであり、基底波形5や信号波形6の曲率に応じて、ユーザが任意に指定することができる。この様なパラメータは、ヘッドユニット10ごとに設定可能であり、その設定値はコントローラ20に保持される。なお、次数Nは、固定値であっても良い。 For example, the width of the reference range RR, the movement amount Δx, and the order N of the regression curve RC are parameters indicating measurement conditions, and can be arbitrarily specified by the user according to the curvature of the base waveform 5 and the signal waveform 6. .. Such parameters can be set for each head unit 10, and the set values are held in the controller 20. The order N may be a fixed value.

図9は、図5の測定制御部27における基底波形推定時の動作の一例を示した図であり、残差dに対応する重み係数wを用いて代表点列を更新する様子が示されている。図中の(a)には、横軸を残差dとし、縦軸を重み係数wとして、代表点列を更新するための統計演算に用いるロバスト重みが示されている。 Figure 9 is a diagram illustrating an example of operation when base waveform estimated in the measurement control unit 27 of FIG. 5, how to update the representative point sequence using the weighting coefficients w i that corresponds to the residual d i is shown Has been done. The (a) in the figure, the horizontal axis represents the residual d i, the vertical axis represents the weight coefficient w i, is robust weight is shown for use in statistical calculation for updating the representative point sequence.

残差dは、代表点列がデータ点列と同じ間隔で算出される場合、データ点DPと対応する代表点RPとの間のy座標の差により求められる。なお、代表点列の間隔がデータ点列よりも広い場合は、データ点DPに対応づける代表点RPが補間処理によって求められる。代表点RP間を補間する処理には、直線補間や曲線補間が用いられる。 Residual d i, if the representative point sequence are calculated at the same interval as data point sequences is determined by the difference in y-coordinate between the representative points RP and the corresponding data points DP. When the interval of the representative point sequence is wider than that of the data point sequence, the representative point RP corresponding to the data point DP is obtained by the interpolation process. Straight line interpolation and curve interpolation are used for the process of interpolating between the representative point RPs.

ロバスト重みは、欠陥部分の影響を抑制するために、他の測定値から大きく外れた外れ値に割り当てる重みを相対的に小さくするというロバスト推定の方法に従って定められる。例えば、ロバスト重みの重み係数wは、重みの変化度合いを調整するための係数をCとし、残差dの標準偏差をσとすれば、次式(2)により表される。 Robust weights are determined according to a method of robust estimation in which weights assigned to outliers that deviate significantly from other measured values are relatively small in order to suppress the influence of defective parts. For example, the weight coefficient w i of the robust weights a coefficient for adjusting the degree of change of the weight is C, if the standard deviation of the residuals d i and sigma, represented by the formula (2).

Figure 0006928688
Figure 0006928688

この重み係数wは、正規分布型の特性曲線により表され、残差dが0の位置において最大(最大値1.0)であり、残差dの絶対値が大きくなるに従って減少し、残差dの絶対値がC×σ以上の位置において0である。例えば、係数Cは、3.0程度である。なお、標準偏差σに代えて、全ての残差dにおける中央値mを用いて重み係数wを定めても良い。重み係数wに中央値mを用いる場合は、係数Cは、6.0程度である。 The weight coefficient w i is represented by the characteristic curve of the normal distribution type, the maximum (maximum 1.0) at the position of the residual d i is 0, decreases as the absolute value of the residual d i increases , it is 0 in absolute value C × sigma or more positions of the residual d i. For example, the coefficient C is about 3.0. Instead of the standard deviation sigma, it may determine the weighting coefficients w i by using a central value m for all of the residual d i. In the case of using a median value m in the weight coefficient w i, the coefficient C is about 6.0.

図中の(b)には、横軸を差分値(x−x)とし、縦軸を重み係数wとして、代表点列を更新するための統計演算に用いる回帰重みが示されている。差分値(x−x)は、データ点DPのx座標xと注目点APのx座標xとの差である。 In (b) in the figure, the horizontal axis difference value and (x i -x 0), the vertical axis represents the weight coefficient w i, with regression weights for use in statistical calculation for updating the representative point sequence is shown There is. The difference value (x i − x 0 ) is the difference between the x coordinate x i of the data point DP and the x coordinate x 0 of the point of interest AP.

回帰重みは、注目点APを中心とし、注目点APから離れたデータ点DPの影響を抑制するために、注目点APから離れたデータ点DPに割り当てる重みを距離に応じて小さくすることによって定められる。例えば、回帰重みの重み係数wは、重みの変化度合いを調整するための係数をLとすれば、次式(3)により表される。 The regression weight is determined by reducing the weight assigned to the data point DP distant from the attention point AP according to the distance in order to suppress the influence of the data point DP distant from the attention point AP centering on the attention point AP. Be done. For example, the weight coefficient w i of the regression weights, if a coefficient for adjusting the degree of change in weight as L, is represented by the following equation (3).

Figure 0006928688
Figure 0006928688

この重み係数wも、正規分布型の特性曲線により表され、差分値(x−x)が0の位置において最大(最大値1.0)であり、差分値(x−x)の絶対値が大きくなるに従って減少し、差分値(x−x)の絶対値がLの位置において0である。 This weighting coefficient w i is also represented by a characteristic curve of a normal distribution type, and is the maximum (maximum value 1.0) at the position where the difference value (x i − x 0 ) is 0, and the difference value (x i − x 0). ) Decreases as the absolute value increases, and the absolute value of the difference value (x i − x 0 ) is 0 at the position of L.

1次近似の基底波形5は、0次近似の基底波形5を構成する代表点列に基づいて、重み係数wを求め、データ点列に重み係数wを割り当てて、参照範囲RR内のデータ点列に重み付きでフィッティングする回帰曲線RCを求め、代表点RPを新たに定めることによって取得される。例えば、回帰曲線RCを二次関数y=ax+bx+cとすれば、パラメータa,b,cは、次式(4)により求められる。 The base waveform 5 of first-order approximation, on the basis of the representative point sequence constituting the base waveform 5 of the zero-order approximation, determine the weight coefficient w i, assign a weight coefficient w i to the data point sequence, in the reference range RR It is obtained by finding the regression curve RC that fits the data point sequence with weights and newly defining the representative point RP. For example, if the regression curve RC is a quadratic function y = ax 2 + bx + c, the parameters a, b, and c can be obtained by the following equation (4).

Figure 0006928688
Figure 0006928688

図中の(c)には、更新後の代表点列がデータ点列と比較して示されている。参照範囲RR内のデータ点列に重み付きでフィッティングする回帰曲線RCを求めて代表点RPを新たに定める統計演算処理は、参照範囲RRをx軸方向にΔxだけ移動させるごとに繰り返される。 In (c) in the figure, the updated representative score sequence is shown in comparison with the data score sequence. The statistical calculation process of finding the regression curve RC that fits the data point sequence in the reference range RR with weight and newly determining the representative point RP is repeated every time the reference range RR is moved by Δx in the x-axis direction.

上式(4)の重み係数wiには、上式(2)に示したロバスト重みと上式(3)に示した回帰重みとを乗算したものが用いられる。演算対象範囲内の全てのデータ点DPについて、代表点RPを新たに定めることにより、1次近似の基底波形5が取得される。この基底波形5では、信号成分に相当するデータ点DPに影響されることなく、滑らかに変化する波形が得られている。この様に残差d又は差分値(x−x)に応じた重み係数wを求めて代表点列を更新するという統計演算処理をM回繰り返すことにより、M次近似の基底波形5を取得することができる。 As the weighting coefficient wi of the above equation (4), the product of the robust weight shown in the above equation (2) and the regression weight shown in the above equation (3) is used. By newly defining the representative point RP for all the data point DPs in the calculation target range, the basis waveform 5 of the first-order approximation is acquired. In this base waveform 5, a waveform that changes smoothly without being affected by the data point DP corresponding to the signal component is obtained. By repeating M times the statistical processing of such a seeking residual d i or difference value (x i -x 0) weight coefficient w i corresponding to update the representative point sequence, base waveform of M-th order approximation 5 can be obtained.

図10のステップS101〜S110は、図5の測定制御部27における距離計測時の動作の一例を示したフローチャートである。まず、測定制御部27は、受信信号に基づいて、受光波形4を取得し、代表点列を生成する(ステップS101,S102)。次に、測定制御部27は、参照範囲RR内のデータ点列に対し、データ点DP及び代表点RPの差分から残差dを求めて重み係数wを算出する(ステップS103,S104)。 Steps S101 to S110 of FIG. 10 are flowcharts showing an example of an operation at the time of distance measurement in the measurement control unit 27 of FIG. First, the measurement control unit 27 acquires the received light waveform 4 based on the received signal and generates a representative point sequence (steps S101 and S102). Next, the measurement control unit 27, to the data point sequence in the reference range RR, calculates the weight coefficient w i from the difference of the data points DP and the representative points RP seeking residual d i (step S103, S104) ..

次に、測定制御部27は、データ点列に重み係数wを割り当て、参照範囲RR内のデータ点列に重み付きでフィッティングする回帰曲線RCを求めて新たな代表点RPを算出する(ステップS105,S106)。 Next, the measurement control unit 27 assigns a weighting coefficient w to the data point sequence, obtains a regression curve RC that fits the data point sequence in the reference range RR with weight, and calculates a new representative point RP (step S105). , S106).

ステップS103からステップS106までの処理手順は、全ての代表点RPについて更新が完了するまで、参照範囲RRをΔxだけ移動させるごとに繰り返される(ステップS107,S110)。また、ステップS103からステップS107までの処理手順は、予め指定された回数だけ繰り返される(ステップS108)。 The processing procedure from step S103 to step S106 is repeated every time the reference range RR is moved by Δx until the update is completed for all the representative point RPs (steps S107 and S110). Further, the processing procedure from step S103 to step S107 is repeated a predetermined number of times (step S108).

測定制御部27は、ステップS103からステップS107までの処理手順を指定回数だけ繰り返した後、データ点列と代表点列との間のy座標の差分から信号波形6を算出する(ステップS109)。測定制御部27は、この信号波形6のピーク位置を特定することにより、ワークWまでの距離WDや変位量を算出する。 The measurement control unit 27 repeats the processing procedure from step S103 to step S107 a specified number of times, and then calculates the signal waveform 6 from the difference in the y-coordinate between the data point sequence and the representative point sequence (step S109). The measurement control unit 27 calculates the distance WD to the work W and the amount of displacement by specifying the peak position of the signal waveform 6.

本実施の形態によれば、受光波形4から信号波形6を求めてワークWまでの距離WDを求めるため、投光用光源を高出力化した場合であっても、ワークW以外の部材による反射光の影響が低減し、測定精度を向上させることができる。特に、受光強度が代表点列から大きく外れたデータ点DPの影響を抑制することにより、対物レンズ14から出射されなかった検出光DLに対応する受光波形を基底波形5として正しく推定することができる。また、ワークWが存在しない状態で受光波形を取得する必要がないため、作業効率を低下させることなく、測定精度を向上させることができる。 According to the present embodiment, since the signal waveform 6 is obtained from the received light waveform 4 to obtain the distance WD to the work W, even when the light source for projection is increased in output, reflection by a member other than the work W is obtained. The influence of light can be reduced and the measurement accuracy can be improved. In particular, by suppressing the influence of the data point DP whose light receiving intensity deviates significantly from the representative point sequence, the light receiving waveform corresponding to the detected light DL not emitted from the objective lens 14 can be correctly estimated as the base waveform 5. .. Further, since it is not necessary to acquire the received light waveform in the absence of the work W, the measurement accuracy can be improved without lowering the work efficiency.

また、露光時間の自動調整により、受光素子の飽和が抑制されるため、反射率の高いワークWであっても、高い精度で距離計測を行うことができる。さらに、投光用光源や共焦点光学系11の光学的特性に応じて参照範囲RRの幅、移動量Δx、代表点列の間隔を調整することにより、基底波形5を正しく推定することができる。 Further, since the saturation of the light receiving element is suppressed by the automatic adjustment of the exposure time, the distance can be measured with high accuracy even for the work W having a high reflectance. Further, the basal waveform 5 can be correctly estimated by adjusting the width of the reference range RR, the movement amount Δx, and the interval of the representative point sequence according to the optical characteristics of the light source for projection and the confocal optical system 11. ..

また、信号波形6から様々な特徴量を計算し、基準値と比較することにより、ワークWが正常ワークであるか、或いは、不良ワークであるかの判定を行うことができる。例えば、受光強度が判定閾値以上であり、かつ、連続するデータ点列を1つの塊と捉え、塊ごとに、x軸方向の幅、面積、重心の位置が特徴量として算出される。或いは、信号波形6を構成するデータ点列について、受光強度の最大値、最小値、平均値及び標準偏差を求め、また、受光強度が判定閾値以上のデータ点の総数を求め、これらの統計的な特徴量を基準値と比較してワーク判定を行っても良い。 Further, by calculating various feature quantities from the signal waveform 6 and comparing them with the reference values, it is possible to determine whether the work W is a normal work or a defective work. For example, a sequence of data points whose light receiving intensity is equal to or higher than the determination threshold value and which is continuous is regarded as one block, and the width, area, and position of the center of gravity in the x-axis direction are calculated as feature quantities for each block. Alternatively, for the data point sequence constituting the signal waveform 6, the maximum value, the minimum value, the average value, and the standard deviation of the light receiving intensity are obtained, and the total number of data points whose light receiving intensity is equal to or higher than the determination threshold value is obtained, and these statistical values are obtained. The work may be determined by comparing a characteristic amount with a reference value.

なお、本実施の形態では、発光素子211と光ファイバケーブル2のファイバ端とが同軸に配置される場合の例について説明したが、本発明は、投光用光源ユニット21の構成をこれに限定するものではない。例えば、投光用光源ユニット21は、発光素子211から出射されたレーザ光を光ファイバケーブル2のファイバ端に向けて反射する反射鏡を備える。 In the present embodiment, an example in which the light emitting element 211 and the fiber end of the optical fiber cable 2 are arranged coaxially has been described, but the present invention limits the configuration of the light source unit 21 for projection to this. It's not something to do. For example, the light source unit 21 for light projection includes a reflector that reflects the laser light emitted from the light emitting element 211 toward the fiber end of the optical fiber cable 2.

図11は、投光用光源ユニット21の他の構成例を模式的に示した断面図である。この投光用光源ユニット21は、発光素子211、集光レンズ214、フェルール216、蛍光体220、反射鏡231及び集光レンズ232により構成される。 FIG. 11 is a cross-sectional view schematically showing another configuration example of the light source unit 21 for floodlight. The light source unit 21 for floodlight is composed of a light emitting element 211, a condenser lens 214, a ferrule 216, a phosphor 220, a reflector 231 and a condenser lens 232.

発光素子211から出射されたレーザ光は、集光レンズ214を介して反射鏡231に集光される。蛍光体220は、反射鏡231の反射面に配置され、発光素子211からのレーザ光によって励起され、蛍光を発生する。反射鏡231により反射されたレーザ光と、蛍光体220からの蛍光とが混合した光は、集光レンズ232を介してフェルール216内の光ファイバケーブル2のファイバ端に集光され、光ファイバケーブル2に検出光DLとして入射される。 The laser light emitted from the light emitting element 211 is focused on the reflecting mirror 231 via the condenser lens 214. The phosphor 220 is arranged on the reflecting surface of the reflecting mirror 231 and is excited by the laser beam from the light emitting element 211 to generate fluorescence. The light obtained by mixing the laser light reflected by the reflector 231 and the fluorescence from the phosphor 220 is collected at the fiber end of the optical fiber cable 2 in the ferrule 216 via the condenser lens 232, and is collected by the optical fiber cable. 2 is incident as detection light DL.

また、本実施の形態では、ヘッドユニット10の共焦点光学系11が、ファイバ端2a、コリメートレンズ13及び対物レンズ14により構成される場合の例について説明したが、本発明は、共焦点光学系11の構成をこれに限定するものではない。 Further, in the present embodiment, an example in which the cofocal optical system 11 of the head unit 10 is composed of the fiber end 2a, the collimating lens 13 and the objective lens 14 has been described, but the present invention describes the cofocal optical system. The configuration of 11 is not limited to this.

図12は、ヘッドユニット10の他の構成例を示した断面図である。図中の(a)には、筐体12内に回折レンズ15及び対物レンズ14を備えたヘッドユニット10が示されている。 FIG. 12 is a cross-sectional view showing another configuration example of the head unit 10. In (a) in the figure, a head unit 10 having a diffractive lens 15 and an objective lens 14 inside the housing 12 is shown.

この回折レンズ15は、レリーフ型の回折レンズであり、光の回折現象を利用して入射光を集光又は拡散させる光学部材であり、検出光DLの入射面又は出射面に微細なレリーフ(起伏)が形成されている。レリーフは、光軸方向の深さが光の波長程度であり、光軸を中心とする複数の円環状のパターンが同軸に配置される。 The diffractive lens 15 is a relief type diffractive lens, is an optical member that collects or diffuses incident light by utilizing the diffraction phenomenon of light, and has fine relief (undulations) on the incident surface or exit surface of the detection light DL. ) Is formed. The relief has a depth in the optical axis direction of about the wavelength of light, and a plurality of annular patterns centered on the optical axis are arranged coaxially.

図中の(b)には、ダブレットレンズ16及び対物レンズ14を備えたヘッドユニット10が示されている。ダブレットレンズ16は、凹レンズと凸レンズとを組み合わせた光学部材である。 In (b) in the figure, a head unit 10 including a doublet lens 16 and an objective lens 14 is shown. The doublet lens 16 is an optical member that combines a concave lens and a convex lens.

図中の(c)には、集光レンズ17及び対物レンズ14を備えたヘッドユニット10が示されている。集光レンズ17は、ファイバ端2aから出射された検出光DLを対物レンズ14に向けて集光する光学部材である。このヘッドユニット10では、ダブレットレンズが対物レンズ14として用いられている。 In (c) in the figure, a head unit 10 including a condenser lens 17 and an objective lens 14 is shown. The condensing lens 17 is an optical member that condenses the detection light DL emitted from the fiber end 2a toward the objective lens 14. In this head unit 10, a doublet lens is used as an objective lens 14.

図中の(d)には、集光レンズ17及び対物レンズ14を備えたヘッドユニット10が示されている。このヘッドユニット10では、回折レンズが対物レンズ14として用いられている。この様な光学部材の組み合わせによっても、共焦点光学系11として検出光DLに軸上色収差を生じさせることができる。例えば、プリズム、径方向に屈折率分布を有する円筒状のレンズを共焦点光学系11として用いることができる。 In (d) in the figure, a head unit 10 including a condenser lens 17 and an objective lens 14 is shown. In this head unit 10, a diffractive lens is used as an objective lens 14. Even with such a combination of optical members, axial chromatic aberration can be caused in the detected light DL as the cofocal optical system 11. For example, a prism or a cylindrical lens having a refractive index distribution in the radial direction can be used as the cofocal optical system 11.

また、本実施の形態では、分光光学系が反射型である場合の例について説明したが、本発明は、分光光学系の構成をこれに限定するものではない。例えば、透過角度に応じて異なる波長成分に入射光を分光する透過型の分光器を分光器24として用いても良い。 Further, in the present embodiment, an example in which the spectroscopic optical system is a reflection type has been described, but the present invention does not limit the configuration of the spectroscopic optical system to this. For example, a transmission type spectroscope that disperses incident light into different wavelength components depending on the transmission angle may be used as the spectroscope 24.

図13は、コントローラ20の他の構成例を示した図であり、透過型の分光光学系が示されている。この分光光学系は、ファイバ端2b、分光器用レンズ23、分光器24、結像レンズ25及びラインセンサ26により構成される。 FIG. 13 is a diagram showing another configuration example of the controller 20, and shows a transmission type spectroscopic optical system. This spectroscopic optical system is composed of a fiber end 2b, a spectroscopic lens 23, a spectroscope 24, an imaging lens 25, and a line sensor 26.

分光器24は、光ファイバケーブル2のファイバ端2bから出射され、分光器用レンズ23を介して入射された光を分光する透過型の分光器であり、平板状の回折格子からなる。この分光器24は、透過角度に応じて異なる波長成分に入射光を分光する。結像レンズ25は、分光された透過光をラインセンサ26上に結像させる。 The spectroscope 24 is a transmission type spectroscope that disperses the light emitted from the fiber end 2b of the optical fiber cable 2 and incident through the spectroscope lens 23, and is composed of a flat plate-shaped diffraction grating. The spectroscope 24 disperses incident light into different wavelength components depending on the transmission angle. The imaging lens 25 forms an image of the dispersed transmitted light on the line sensor 26.

また、本実施の形態では、ヘッドユニット10及びコントローラ20が光ファイバケーブル2を介して接続された共焦点変位計1の例について説明したが、本発明は、共焦点変位計1の構成をこれに限定するものではない。例えば、共焦点変位計1は、光ファイバケーブルを用いることなく、投光用光源から出射された検出光を共焦点光学系に誘導し、また、ワークによって反射され、共焦点光学系を通過した光を直接に分光光学系に誘導するような構成であっても良い。 Further, in the present embodiment, an example of the confocal displacement meter 1 in which the head unit 10 and the controller 20 are connected via the optical fiber cable 2 has been described, but the present invention describes the configuration of the confocal displacement meter 1. It is not limited to. For example, the confocal displacement meter 1 guides the detection light emitted from the light projecting light source to the confocal optical system without using an optical fiber cable, is reflected by the work, and passes through the confocal optical system. The configuration may be such that the light is directly guided to the spectroscopic optical system.

図14は、共焦点変位計1のその他の構成例を示した図である。この共焦点変位計1は、光ファイバケーブルを備えず、投光用光源31、集光レンズ32,34、ピンホール板33,37、対物レンズ35、ビームスプリッタ36、分光器用レンズ23、分光器24、結像レンズ25及びラインセンサ26により構成される。 FIG. 14 is a diagram showing another configuration example of the confocal displacement meter 1. This confocal displacement meter 1 is not provided with an optical fiber cable, and has a light projecting light source 31, a condenser lens 32, 34, a pinhole plate 33, 37, an objective lens 35, a beam splitter 36, a spectroscope lens 23, and a spectroscope. 24, an imaging lens 25 and a line sensor 26.

投光用光源31は、検出光DLを生成する。集光レンズ32は、投光用光源31から出射された検出光DLをピンホール板33の開口部に集光させる光学部材であり、投光用光源31の発光面に対向させて配置されている。ピンホール板33は、微小な開口を有する平板状の遮光部材である。 The light source for projection 31 generates the detection light DL. The condenser lens 32 is an optical member that concentrates the detection light DL emitted from the light projection light source 31 on the opening of the pinhole plate 33, and is arranged so as to face the light emitting surface of the light projection light source 31. There is. The pinhole plate 33 is a flat plate-shaped light-shielding member having a minute opening.

集光レンズ34は、ピンホール板33の開口から出射された検出光DLを対物レンズ35に向けて集光する。対物レンズ35は、検出光DLをワークWに向けて出射する。集光レンズ32,34、ピンホール板33及び対物レンズ35は、同軸に配置されている。 The condenser lens 34 collects the detection light DL emitted from the opening of the pinhole plate 33 toward the objective lens 35. The objective lens 35 emits the detection light DL toward the work W. The condenser lenses 32 and 34, the pinhole plate 33, and the objective lens 35 are arranged coaxially.

ビームスプリッタ36は、ピンホール板33からの光を透過する一方、ワークWによって反射され、対物レンズ35及び集光レンズ34を透過した光をピンホール板37に向けて反射する光学部材である。ピンホール板33,37、集光レンズ34、対物レンズ35及びビームスプリッタ36は、共焦点光学系である。 The beam splitter 36 is an optical member that transmits the light from the pinhole plate 33, while is reflected by the work W and reflects the light transmitted through the objective lens 35 and the condenser lens 34 toward the pinhole plate 37. The pinhole plates 33 and 37, the condenser lens 34, the objective lens 35, and the beam splitter 36 are cofocal optical systems.

分光器用レンズ23は、ピンホール板37の開口から出射された光を分光器24に向けて集光する。分光器24は、ワークWによって反射され、共焦点光学系11を通過した光を分光する反射型の分光器であり、反射角度に応じて異なる波長成分に入射光を分光する。 The spectroscope lens 23 collects the light emitted from the opening of the pinhole plate 37 toward the spectroscope 24. The spectroscope 24 is a reflection type spectroscope that disperses the light reflected by the work W and passed through the confocal optical system 11, and disperses the incident light into different wavelength components according to the reflection angle.

また、本実施の形態では、参照範囲内のデータ点列にフィッティングする回帰曲線が最小二乗法を利用して推定される場合の例について説明したが、本発明は、回帰曲線の推定方法をこれに限定するものではない。例えば、データ点列に対する移動平均化処理により、代表点列を定めるような構成であっても良い。 Further, in the present embodiment, an example in which the regression curve fitting to the data point sequence in the reference range is estimated by using the least squares method has been described, but the present invention describes the method of estimating the regression curve. It is not limited to. For example, the configuration may be such that the representative point sequence is determined by the moving averaging process for the data point sequence.

また、本実施の形態では、レーザ光を発生するレーザ光源が投光用光源として用いられる場合の例について説明した。投光用光源には、LED(発光ダイオード)を用いても良い。また、レーザ光源には、SC(スーパーコンティニューム)光を発生するSC光源を用いても良い。SC光源は、パルスレーザによる非線形光学効果により、連続かつ広帯域なレーザ光を生成する。 Further, in the present embodiment, an example in which a laser light source that generates laser light is used as a light source for projection has been described. An LED (light emitting diode) may be used as the light source for projection. Further, as the laser light source, an SC light source that generates SC (supercontinuum) light may be used. The SC light source generates continuous and wide band laser light by the nonlinear optical effect of the pulse laser.

また、投光用光源ユニット21は、レーザ光を生成する発光素子211及び蛍光体220に代えて、広い波長帯域の光を出射する光源を含むような構成であっても良い。例えば、投光用光源ユニット21は、白色光を出射するLED(発光ダイオード)又はハロゲンランプを含んでも良い。投光用光源ユニット21は、波長500nm〜700nmの光を出射するが、他の波長帯域の光を出射するような構成であっても良い。例えば、投光用光源ユニット21は、赤外領域の光を出射し、或いは、紫外領域の光を出射するような構成のものであっても良い。 Further, the light source unit 21 for light projection may be configured to include a light source that emits light in a wide wavelength band instead of the light emitting element 211 and the phosphor 220 that generate laser light. For example, the light source unit 21 for floodlight may include an LED (light emitting diode) or a halogen lamp that emits white light. The light source unit 21 for projection emits light having a wavelength of 500 nm to 700 nm, but may be configured to emit light in another wavelength band. For example, the light source unit 21 for floodlight may be configured to emit light in the infrared region or emit light in the ultraviolet region.

また、本実施の形態では、PC3の表示部に、波形を表示することができるが、表示対象の波形は、図7(a)〜(c)の波形をそれぞれ表示しても良い。図7(a)のような基底波形を含むような波形を表示することなく、図7(c)のような基底波形を除いた波形を表示することで、ユーザは所望の変位に対応する波形を容易に確認することができる。 Further, in the present embodiment, the waveform can be displayed on the display unit of the PC3, but the waveforms to be displayed may be the waveforms of FIGS. 7A to 7C, respectively. By displaying the waveform excluding the basal waveform as shown in FIG. 7 (c) without displaying the waveform including the basal waveform as shown in FIG. 7 (a), the user can obtain the waveform corresponding to the desired displacement. Can be easily confirmed.

1 共焦点変位計
10 ヘッドユニット
11 共焦点光学系
12 筐体
13 コリメートレンズ
14 対物レンズ
15 回折レンズ
16 ダブレット
20 コントローラ
21 投光用光源ユニット
22 スプリッタ
23 分光器用レンズ
24 分光器
25 結像レンズ
26 ラインセンサ
27 測定制御部
28 表示部
31 投光用光源
32,34 集光レンズ
33,37 ピンホール板
35 対物レンズ
36 ビームスプリッタ
101 受光波形取得部
102 基底波形推定部
103 信号波形算出部
104 距離算出部
105 換算式記憶部
106 波形データ出力部
107 参照範囲受付部
108 露光時間調整部
109 投光量制御部
2 光ファイバケーブル
3 PC
4 受光波形
5 基底波形
6 信号波形
1 Confocal displacement meter 10 Head unit 11 Confocal optical system 12 Housing 13 Collimating lens 14 Objective lens 15 Diffractive lens 16 Doublet 20 Controller 21 Floodlight light source unit 22 Splitter 23 Spectral lens 24 Spectrometer 25 Imaging lens 26 line Sensor 27 Measurement control unit 28 Display unit 31 Floodlight light source 32, 34 Condensing lens 33, 37 Pinhole plate 35 Objective lens 36 Beam splitter 101 Light receiving waveform acquisition unit 102 Base waveform estimation unit 103 Signal waveform calculation unit 104 Distance calculation unit 105 Conversion type storage unit 106 Waveform data output unit 107 Reference range reception unit 108 Exposure time adjustment unit 109 Light emission control unit 2 Optical fiber cable 3 PC
4 Received waveform 5 Base waveform 6 Signal waveform

Claims (6)

レーザ光源と、
上記レーザ光源からのレーザ光を集光する集光レンズと、
上記集光レンズからの上記レーザ光により励起され、波長に対する光強度が緩やかに変化する蛍光を有する検出光を生成する蛍光体と、
上記検出光を検出対象物に向けて出射する対物レンズを有し、上記検出光に軸上色収差を生じさせる共焦点光学系と、
上記検出対象物によって反射された後、上記共焦点光学系を通過した反射光を含む上記検出光の反射光を分光する分光器と、
分光された上記検出光の反射光を受光して受光信号を生成する撮像素子と、
上記受光信号に基づいて、上記検出光の反射光に対応して波長に対する受光強度が緩やかに変化する山形状の基底波形に対し、波長に対する受光強度が鋭く変化するピーク形状で上記検出対象物からの反射光に対応する信号波形を含む受光波形を取得する受光波形取得手段と、
上記撮像素子で受光する上記検出光の反射光の受光光量を調整する受光光量調整手段と、
上記受光波形の形状に基づいて、その基底波形を推定する基底波形推定手段と、
上記受光波形及び上記基底波形に基づいて、上記受光光量調整手段により上記受光光量を調整することによる上記基底波形の影響を補正した信号波形を求める信号波形算出手段と、
上記補正した信号波形に基づいて、上記検出対象物の変位を求める算出手段とを備えたことを特徴とする共焦点変位計。
With a laser light source
A condensing lens that collects the laser light from the above laser light source,
A phosphor that is excited by the laser beam from the condenser lens and generates a detection light having fluorescence whose light intensity with respect to a wavelength gradually changes.
A confocal optical system having an objective lens that emits the detected light toward the object to be detected and causing axial chromatic aberration in the detected light.
A spectroscope that disperses the reflected light of the detected light including the reflected light that has passed through the cofocal optical system after being reflected by the detection object, and a spectroscope.
An image sensor that receives the reflected light of the spectroscopic detection light and generates a light receiving signal.
Based on the received signal, the detection target has a peak shape in which the received intensity with respect to the wavelength changes sharply with respect to the mountain-shaped base waveform in which the received intensity with respect to the wavelength gradually changes in response to the reflected light of the detected light. A light receiving waveform acquisition means for acquiring a light receiving waveform including a signal waveform corresponding to the reflected light of
A light receiving light amount adjusting means for adjusting the received light amount of the reflected light of the detection light received by the image sensor, and a light receiving light amount adjusting means.
A basal waveform estimation means for estimating the basal waveform based on the shape of the received light waveform, and
A signal waveform calculation means for obtaining a signal waveform that corrects the influence of the base waveform by adjusting the received light amount by the received light amount adjusting means based on the received light waveform and the base waveform.
A confocal displacement meter provided with a calculation means for obtaining the displacement of the detection object based on the corrected signal waveform.
レーザ光源と、
上記レーザ光源からのレーザ光を集光する集光レンズと、
上記集光レンズからの上記レーザ光により励起され、波長に対する光強度が緩やかに変化する蛍光を有する検出光を生成する蛍光体と、
上記検出光を検出対象物に向けて出射する対物レンズを有し、上記検出光に軸上色収差を生じさせる共焦点光学系と、
上記検出対象物によって反射された後、上記共焦点光学系を通過した反射光を含む上記検出光の反射光を分光する分光器と、
分光された上記検出光の反射光を受光して受光信号を生成する撮像素子と、
上記受光信号に基づいて、上記検出光の反射光に対応して波長に対する受光強度が緩やかに変化する山形状の基底波形に対し、波長に対する受光強度が鋭く変化するピーク形状で上記検出対象物からの反射光に対応する信号波形を含む受光波形を取得する受光波形取得手段と、
上記撮像素子で受光する上記検出光の反射光の受光光量を調整する受光光量調整手段と、
上記受光光量調整手段により上記受光光量を調整することにより変化する上記基底波形を除去することにより、上記受光波形の信号波形を補正する基底波形除去手段と、
上記補正した信号波形に基づいて、上記検出対象物の変位を求める算出手段とを備えたことを特徴とする共焦点変位計。
With a laser light source
A condensing lens that collects the laser light from the above laser light source,
A phosphor that is excited by the laser beam from the condenser lens and generates a detection light having fluorescence whose light intensity with respect to a wavelength gradually changes.
A confocal optical system having an objective lens that emits the detected light toward the object to be detected and causing axial chromatic aberration in the detected light.
A spectroscope that disperses the reflected light of the detected light including the reflected light that has passed through the cofocal optical system after being reflected by the detection object, and a spectroscope.
An image sensor that receives the reflected light of the spectroscopic detection light and generates a light receiving signal.
Based on the received signal, the detection target has a peak shape in which the received intensity with respect to the wavelength changes sharply with respect to the mountain-shaped base waveform in which the received intensity with respect to the wavelength gradually changes in response to the reflected light of the detected light. A light receiving waveform acquisition means for acquiring a light receiving waveform including a signal waveform corresponding to the reflected light of
A light receiving light amount adjusting means for adjusting the received light amount of the reflected light of the detection light received by the image sensor, and a light receiving light amount adjusting means.
A basal waveform removing means that corrects the signal waveform of the received light waveform by removing the basal waveform that changes by adjusting the received light amount by the received light amount adjusting means.
A confocal displacement meter provided with a calculation means for obtaining the displacement of the detection object based on the corrected signal waveform.
上記受光光量調整手段は、上記受光信号に基づいて、上記撮像素子の露光時間を調整する露光時間調整手段を含むことを特徴とする請求項1又は2に記載の共焦点変位計。 The confocal displacement meter according to claim 1 or 2, wherein the received light amount adjusting means includes an exposure time adjusting means for adjusting the exposure time of the image sensor based on the received signal. 上記補正した信号波形を示す波形データを外部機器へ出力する波形データ出力手段を備えたことを特徴とする請求項1〜3のいずれかに記載の共焦点変位計。 The confocal displacement meter according to any one of claims 1 to 3, further comprising a waveform data output means for outputting waveform data indicating the corrected signal waveform to an external device. 上記基底波形推定手段は、上記受光波形を構成する2以上のデータ点からなるデータ点列に対し、参照範囲を一定距離だけ移動させるごとに、上記参照範囲内のデータ点列にフィッティングする回帰曲線を求めて代表点を定めることにより、2以上の上記代表点からなる代表点列を生成する代表点列生成手段と、
上記データ点及び上記代表点間における受光強度の差分を求める強度差分算出手段と、
上記差分に基づいて、重み係数を求める重み係数算出手段と、
上記データ点列に上記重み係数を割り当て、上記参照範囲を一定距離だけ移動させるごとに、上記参照範囲内のデータ点列に重み付きでフィッティングする回帰曲線を求めて代表点を新たに定めることにより、上記代表点列を更新する代表点列更新手段とを有し、上記基底波形が更新後の代表点列により構成されることを特徴とする請求項1に記載の共焦点変位計。
The base waveform estimation means is a regression curve that fits to a data point sequence within the reference range each time the reference range is moved by a certain distance with respect to a data point sequence consisting of two or more data points constituting the received light waveform. A representative point sequence generation means for generating a representative point sequence consisting of two or more of the above representative points by determining the representative points.
Intensity difference calculating means for obtaining the difference in light receiving intensity between the data points and the representative points, and
A weighting coefficient calculating means for obtaining a weighting coefficient based on the above difference,
By assigning the weighting coefficient to the data point sequence and moving the reference range by a certain distance, a regression curve that fits the data point sequence within the reference range with weight is obtained and a representative point is newly determined. The symfocal displacement meter according to claim 1, further comprising a representative point sequence updating means for updating the representative point sequence, wherein the base curve is composed of the updated representative point sequence.
上記参照範囲を受け付ける参照範囲受付手段を備えたことを特徴とする請求項5に記載の共焦点変位計。 The confocal displacement meter according to claim 5, further comprising a reference range receiving means for receiving the reference range.
JP2020070853A 2015-12-25 2020-04-10 Confocal displacement meter Active JP6928688B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020070853A JP6928688B2 (en) 2015-12-25 2020-04-10 Confocal displacement meter

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015255401A JP6722450B2 (en) 2015-12-25 2015-12-25 Confocal displacement meter
JP2020070853A JP6928688B2 (en) 2015-12-25 2020-04-10 Confocal displacement meter

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015255401A Division JP6722450B2 (en) 2015-12-25 2015-12-25 Confocal displacement meter

Publications (2)

Publication Number Publication Date
JP2020106550A JP2020106550A (en) 2020-07-09
JP6928688B2 true JP6928688B2 (en) 2021-09-01

Family

ID=71448863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020070853A Active JP6928688B2 (en) 2015-12-25 2020-04-10 Confocal displacement meter

Country Status (1)

Country Link
JP (1) JP6928688B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7662997B2 (en) * 2021-03-01 2025-04-16 オムロン株式会社 Displacement sensor and condition monitoring method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6362825A (en) * 1986-09-02 1988-03-19 Nippon Steel Corp Detection of heat buckle of strip in continuous annealing furnace
JPH05172550A (en) * 1991-12-25 1993-07-09 Iseki & Co Ltd Measuring apparatus for height of net of melon
US7990522B2 (en) * 2007-11-14 2011-08-02 Mitutoyo Corporation Dynamic compensation of chromatic point sensor intensity profile data selection
JP5422129B2 (en) * 2008-02-07 2014-02-19 株式会社キーエンス Defect detection apparatus, defect detection method, and computer program
JP5790178B2 (en) * 2011-03-14 2015-10-07 オムロン株式会社 Confocal measuring device

Also Published As

Publication number Publication date
JP2020106550A (en) 2020-07-09

Similar Documents

Publication Publication Date Title
CN101435719B (en) Dynamic compensation of profile data selection for a chromatic point sensor
JP6972273B2 (en) Confocal displacement meter
JP7408265B2 (en) confocal displacement meter
TWI513972B (en) Reflectance measuring apparatus reflectivity measurement method, film thickness measuring apparatus and method for measuring film thickness
JP6971645B2 (en) Confocal displacement meter
KR20210092821A (en) optical measuring device
JP6731294B2 (en) Chromatic ranging sensor with dynamic spectral intensity compensation
US8928874B2 (en) Method for identifying abnormal spectral profiles measured by a chromatic confocal range sensor
CN1724969A (en) System and method for improving accuracy in a speckle-based image correlation displacement sensor
WO2021161986A1 (en) Film thickness measuring device and film thickness measuring method
CN104797904A (en) Method and device for measuring displacement
JP2017116509A (en) Confocal displacement meter
JP2017138251A (en) Chromatic confocal sensor and measurement method
JP6722450B2 (en) Confocal displacement meter
JP6928688B2 (en) Confocal displacement meter
JP2017116508A (en) Confocal displacement meter
TWI755690B (en) Optical measurement device, optical measurement method, and optical measurement program
CN109283672B (en) auto focus device
JP6547514B2 (en) Measuring device
US11194047B2 (en) Optical measurement device and optical measurement method
US20240069316A1 (en) Microscope and imaging method for a microscope
KR20210063414A (en) confocal sensor
CN110274543B (en) Optical measurement device and optical measurement method
JP5385206B2 (en) Photometric device
TWI754182B (en) Optical measuring device and optical measuring method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200421

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200421

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210608

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210618

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210806

R150 Certificate of patent or registration of utility model

Ref document number: 6928688

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150