JPH05322559A - Optical displacement sensor - Google Patents

Optical displacement sensor

Info

Publication number
JPH05322559A
JPH05322559A JP13401092A JP13401092A JPH05322559A JP H05322559 A JPH05322559 A JP H05322559A JP 13401092 A JP13401092 A JP 13401092A JP 13401092 A JP13401092 A JP 13401092A JP H05322559 A JPH05322559 A JP H05322559A
Authority
JP
Japan
Prior art keywords
light
threshold value
signal
position signals
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP13401092A
Other languages
Japanese (ja)
Inventor
Toshiki Yamane
俊樹 山根
Yuji Takada
裕司 高田
Hiroshi Matsuda
啓史 松田
Yoshihiko Sugimoto
義彦 杉本
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP13401092A priority Critical patent/JPH05322559A/en
Publication of JPH05322559A publication Critical patent/JPH05322559A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain an optical displacement sensor for informing that a light quantity is abnormal at the time when a light receiving quantity is insufficient and excessive within a light receiving means. CONSTITUTION:A light projection element serves to form a point-like light pattern on the surface of an object. Reflection light on the surface of the object is made incident on a position sensor 14 composed of PSD through a light receiving optical system 15. The output signal of the position sensor 14 is input to a signal processing part 21 and a distance up to the object is found. The signal processing part 21 serves to generate a light quantity abnormal signal at the time when the sum of both the output signals of the position sensor 14 is less than a dark cut level, which is a first threshold, or at least either of both the output signals is more than a bright cut level, which is a second threshold. When the light quantity abnormal signal is generated, it can be judged that a measurement result is erroneous.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、物体までの距離を三角
測量法を用いて非接触で計測する光学式変位センサに関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical displacement sensor for measuring a distance to an object by using a triangulation method without contact.

【0002】[0002]

【従来の技術】従来より、FA(ファクトリーオートメ
ーション)等の分野においてロボットの視覚センサなど
に用いるために、三角測量法に基づいて光学的に距離を
測定する変位センサが提供されている。この種の変位セ
ンサは、光学的に距離を測定するから物体までの距離を
非接触で測定できるという利点がある。また、図1に示
すように、物体までの距離に関する情報を検出するセン
サヘッド10と、センサヘッド10で求めた情報に基づ
いて物体までの距離を演算したり物体までの距離に応じ
た各種判定を行うためのコントローラ20とは別体に設
けられて接続線を介して接続されている。このようにセ
ンサヘッド10とコントローラ20とを分離した構成と
すれば、センサヘッド10が小型化され、ロボット等に
組み込み易くなる。
2. Description of the Related Art Conventionally, a displacement sensor for optically measuring a distance based on a triangulation method has been provided for use as a visual sensor of a robot in the field of FA (Factory Automation) and the like. This type of displacement sensor has an advantage that the distance to an object can be measured in a non-contact manner because the distance is optically measured. Further, as shown in FIG. 1, a sensor head 10 that detects information related to a distance to an object, a distance to the object is calculated based on the information obtained by the sensor head 10, and various determinations according to the distance to the object are performed. The controller 20 is provided separately from the controller 20 and is connected via a connecting line. If the sensor head 10 and the controller 20 are separated in this way, the sensor head 10 can be downsized and can be easily incorporated into a robot or the like.

【0003】ところで、センサヘッド10は、物体3に
光ビームを照射して点状の光パターンである投光スポッ
トを物体の表面に形成する投光手段1と、投光手段1か
ら照射された光ビームの物体3の表面での反射光を検出
する受光手段2とを備える。受光手段2では、入射光を
受光光学系15に通して収束させることによって、PS
Dなどの位置センサ14の受光面に投光スポットの像と
しての受光スポットを形成し、受光スポットの位置に対
応した一対の位置信号を出力する。すなわち、位置セン
サ14は、受光スポットの位置に応じて比率が決まる電
流信号である一対の位置信号を発生するのであって、両
位置信号の関係に基づいて受光スポットの位置を検出す
れば、物体3までの距離を三角測量法に基づいて求める
ことができるのである。
By the way, the sensor head 10 is irradiated by the light projecting means 1 for irradiating the object 3 with a light beam to form a light projecting spot which is a point-like light pattern on the surface of the object, and the light projecting means 1. The light receiving means 2 detects the reflected light of the light beam on the surface of the object 3. In the light receiving means 2, the incident light is passed through the light receiving optical system 15 to be converged so that PS
A light receiving spot as an image of the light emitting spot is formed on the light receiving surface of the position sensor 14 such as D, and a pair of position signals corresponding to the positions of the light receiving spots are output. That is, the position sensor 14 generates a pair of position signals, which are current signals whose ratio is determined according to the position of the light receiving spot, and if the position of the light receiving spot is detected based on the relationship between both position signals, the object The distance up to 3 can be found based on the triangulation method.

【0004】さらに具体的に説明する。投光手段1は、
半導体レーザ等の発光素子11を備え、発光素子11か
ら出力された光は投光光学系12に通されることによっ
て光ビームを形成する。また、発光素子11には、コン
トローラ20に設けたクロック信号発生部22から発生
するタイミングパルスが駆動回路13を通して入力さ
れ、発光素子11は変調された光をタイミングパルスに
同期して間欠的に出力する。
A more specific description will be given. The light projecting means 1 is
A light emitting element 11 such as a semiconductor laser is provided, and the light output from the light emitting element 11 is passed through a light projecting optical system 12 to form a light beam. A timing pulse generated from a clock signal generator 22 provided in the controller 20 is input to the light emitting element 11 through the drive circuit 13, and the light emitting element 11 intermittently outputs the modulated light in synchronization with the timing pulse. To do.

【0005】一方、位置センサ14から出力される一対
の位置信号I1 ,I2 は、それぞれ電流−電圧変換回路
16a,16bを通して電圧信号に変換される。各電圧
信号は増幅手段である増幅器17a,17bを通してそ
れぞれ増幅された後に、コントローラ20に出力され、
演算手段である信号処理部21に入力されて物体までの
距離に対応した出力信号を発生する。コントローラ20
は、信号処理部21およびクロック信号発生部22のほ
かに、測定結果を表示する表示器を備えるとともに距離
の測定に対する各種指示を信号処理部21に与えるキー
スイッチを備える操作表示部23と、外部回路に対して
測定結果を出力したり外部回路からの指示情報を入力す
るための端子部24とを備える。
On the other hand, the pair of position signals I 1 and I 2 output from the position sensor 14 are converted into voltage signals through the current-voltage conversion circuits 16a and 16b, respectively. Each voltage signal is output to the controller 20 after being amplified through amplifiers 17a and 17b which are amplification means,
The signal is input to the signal processing unit 21, which is a calculation means, and an output signal corresponding to the distance to the object is generated. Controller 20
In addition to the signal processing unit 21 and the clock signal generation unit 22, the operation display unit 23 includes a display for displaying the measurement result and a key switch for giving various instructions to the signal processing unit 21 for measuring the distance, and an external unit. And a terminal section 24 for outputting measurement results to the circuit and inputting instruction information from an external circuit.

【0006】ところで、位置センサ14として用いるP
SDは、pin構造を有して長手方向の両端に出力電極
を有する受光素子であり、受光面に集光された受光スポ
ットが照射されると高抵抗層であるp層が、受光スポッ
トの照射位置と各出力電極との距離に逆比例して分割さ
れ、各出力電極からは全電流Iを分割した出力電流であ
る位置信号I1 ,I2 が取り出されるようになってい
る。すなわち、各出力電極から出力される位置信号
1 ,I2 は、出力電極の間の全抵抗をZsとし、p層
の分割比をZ1 :Z2 とすれば、 I1 =(Z2 /Zs)・I … I2 =(Z1 /Zs)・I … になる。一方、図6に示すように、受光スポットが位置
センサ14の受光面の中央に位置しているときの受光光
学系15の中心から物体3までの距離をrとし、物体3
までの距離がΔrだけ大きくなったとする。このとき、
受光スポットの位置は図6の左方にΔxだけ移動する。
位置センサ14の受光面の有効長を2Lとすれば、 Z1 :Z2 =(L−Δx):(L+Δx) … であるから、式と式により、 I1 /I2 =(L−Δx)/(L+Δx) が得られる。したがって、 (I1 −I2 )/(I1 +I2 )=Δx/L … になる。位置センサ14の受光面の有効長2Lは一定で
あるから、位置信号I1,I2 に対応した増幅器17
a,17bの出力に基づいて信号処理部21において
(I1 −I2 )/(I1 +I2 )に相当する値を求めれ
ば、受光スポットの位置を知ることができるのである。
By the way, P used as the position sensor 14
SD is a light receiving element having a pin structure and having output electrodes at both ends in the longitudinal direction. When the light receiving spot focused on the light receiving surface is irradiated, the p layer, which is a high resistance layer, is irradiated with the light receiving spot. The output signal is divided in inverse proportion to the distance between the position and each output electrode, and the position signals I 1 and I 2 which are output currents obtained by dividing the total current I are taken out from each output electrode. That is, the position signals I 1 and I 2 output from the respective output electrodes are expressed as I 1 = (Z 2) , where Zs is the total resistance between the output electrodes and Z 1 : Z 2 is the division ratio of the p layer. / Zs) · I ... I 2 = (Z 1 / Zs) · I. On the other hand, as shown in FIG. 6, the distance from the center of the light receiving optical system 15 to the object 3 when the light receiving spot is located at the center of the light receiving surface of the position sensor 14 is r, and the object 3
It is assumed that the distance to is increased by Δr. At this time,
The position of the light receiving spot moves to the left in FIG. 6 by Δx.
If the effective length of the light-receiving surface of the position sensor 14 is 2L, then Z 1 : Z 2 = (L−Δx) :( L + Δx) .. Therefore, I 1 / I 2 = (L−Δx ) / (L + Δx) is obtained. Therefore, (I 1 −I 2 ) / (I 1 + I 2 ) = Δx / L. Since the effective length 2L of the light receiving surface of the position sensor 14 is constant, the amplifier 17 corresponding to the position signals I 1 and I 2 is used.
If the value corresponding to (I 1 −I 2 ) / (I 1 + I 2 ) is obtained in the signal processing unit 21 based on the outputs of a and 17 b, the position of the light receiving spot can be known.

【0007】また、受光光学系15の中心と位置センサ
14との距離をf、投光光学系12の光軸上で距離rの
位置の点と位置センサ14の中心とを結ぶ直線が投光光
学系12の光軸となす角度をθとすれば、次の関係が得
られる。 (r/cos θ+Δr・cos θ) :f=(Δr・sin θ):Δx ∴ Δr=r・Δx/(f・sin θ−Δx・cos θ)・cos θ =b・Δx/(a−Δx) … ただし、a=f・tan θ、b=r/cos2θである。すな
わち、式によれば、Δxを求めれば変位した距離Δr
を求めることができるのであって、式と式とに基づ
いて変位した距離Δrを求めることができることがわか
る。要するに、距離(r+Δr)を正確に求めようとす
れば、変位量Δxを正確に求めることが必要であって、
位置信号I1 ,I2 が正しく与えられることが必要であ
る。
Further, the distance between the center of the light receiving optical system 15 and the position sensor 14 is f, and the straight line connecting the point at the position of the distance r on the optical axis of the light projecting optical system 12 and the center of the position sensor 14 emits light. If the angle formed by the optical axis of the optical system 12 is θ, the following relationship is obtained. (R / cos θ + Δr · cos θ): f = (Δr · sin θ): Δx ∴Δr = r · Δx / (f · sin θ−Δx · cos θ) · cos θ = b · Δx / (a−Δx ) However, a = f · tan θ and b = r / cos 2 θ. That is, according to the formula, if Δx is obtained, the displaced distance Δr
Therefore, it is understood that the displaced distance Δr can be calculated based on the equations. In short, in order to accurately obtain the distance (r + Δr), it is necessary to accurately obtain the displacement amount Δx,
It is necessary that the position signals I 1 and I 2 are given correctly.

【0008】[0008]

【発明が解決しようとする課題】ところで、距離を測定
する対象となる物体には、金属のように表面に光沢を有
したものや表面が黒いものなどがあり、物体の種類によ
って拡散反射率が大きく異なるものであるから、位置セ
ンサ14に入射する受光光量が物体の種類によって大幅
に変化することになる。したがって、受光光量が不足し
て位置信号I1 ,I2 の出力値が極端に小さくなると、
増幅器17a,17bの内部雑音と位置信号I1 ,I2
とが識別できなくなって測定誤差が大きくなったり、測
定ができななったりするという問題が生じる。一方、受
光光量が大きく位置信号I1 ,I2の出力値が極端に大
きい場合には、増幅器17a、17bの増幅度が一定で
あると、増幅器17a,17bの出力が飽和することに
なり、測定誤差が大きくなったり、測定ができなくなっ
たりするという問題が生じる。すなわち、位置センサ1
4での受光光量によっては、物体までの距離を正確に求
めることができないという問題が生じるのである。
By the way, there are objects such as metals having a glossy surface or a black surface as objects whose distance is to be measured, and the diffuse reflectance varies depending on the type of the object. Since they are largely different, the amount of received light that enters the position sensor 14 changes significantly depending on the type of object. Therefore, when the amount of received light is insufficient and the output values of the position signals I 1 and I 2 become extremely small,
Internal noises of the amplifiers 17a and 17b and position signals I 1 and I 2
There is a problem that it becomes impossible to distinguish between and and measurement error increases or measurement becomes impossible. On the other hand, when the received light amount is large and the output values of the position signals I 1 and I 2 are extremely large, if the amplification degrees of the amplifiers 17a and 17b are constant, the outputs of the amplifiers 17a and 17b will be saturated, There arises a problem that the measurement error becomes large and the measurement becomes impossible. That is, the position sensor 1
There is a problem that the distance to the object cannot be accurately obtained depending on the amount of received light at 4.

【0009】本発明は上記問題点の解決を目的とするも
のであり、受光手段での受光光量が不足していることや
過剰であるときに光量が異常であることを報知すること
によって、物体までの距離を正確に求めることができな
い状態であることを使用者に知らせることができるよう
にした光学式変位センサを提供しようとするものであ
る。
An object of the present invention is to solve the above problems and to notify an object by notifying that the amount of light received by the light receiving means is insufficient or abnormal when the amount is excessive. It is an object of the present invention to provide an optical displacement sensor capable of informing a user that it is not possible to accurately obtain the distance to the user.

【0010】[0010]

【課題を解決するための手段】請求項1の発明では、上
記目的を達成するために、点状の光パターンである投光
スポットを物体の表面に照射する投光手段と、投光手段
から照射された光の物体表面での反射光を受光光学系に
通して収束させ投光スポットの像として形成された受光
スポットの位置に対応して出力値の比率が決まる一対の
位置信号を出力する受光手段と、各位置信号に基づいて
物体までの距離を演算する演算手段とを備えた光学式変
位センサにおいて、位置信号は受光光量の増加に伴って
出力値が増加する電気信号であって、両位置信号の出力
値の和に対する第1の閾値と各位置信号の出力値に対す
る第2の閾値とを設定した受光光量判定手段を設け、受
光光量判定手段は、両位置信号の出力値の和が第1の閾
値以下であるか、両位置信号の出力値のうちの少なくと
も一方が第2の閾値以上であるときに、誤測定が生じる
受光光量であることを示す光量異常信号を発生するので
ある。
In order to achieve the above object, in the invention of claim 1, a light projecting means for irradiating a surface of an object with a light projecting spot which is a dot-like light pattern, and a light projecting means. The reflected light on the object surface of the radiated light is passed through the light receiving optical system and converged to output a pair of position signals whose output value ratio is determined corresponding to the position of the light receiving spot formed as an image of the light emitting spot. In an optical displacement sensor including a light receiving unit and a calculating unit that calculates a distance to an object based on each position signal, the position signal is an electric signal whose output value increases as the amount of received light increases, A received light amount determining unit is provided that sets a first threshold value for the sum of the output values of both position signals and a second threshold value for the output value of each position signal, and the received light amount determination unit is the sum of the output values of both position signals. Is less than or equal to a first threshold, When at least one of the output values of the position signal is above a second threshold, than it generates a light intensity abnormality signal indicating that the received light amount erroneous measurement results.

【0011】請求項2の発明では、請求項1の構成に加
えて、第1の閾値および第2の閾値を可変に設定する閾
値設定手段を備えている。請求項3の発明では、点状の
光パターンである投光スポットを物体の表面に照射する
投光手段と、投光手段から照射された光の物体表面での
反射光を受光光学系に通して収束させ投光スポットの像
として形成された受光スポットの位置に対応して出力値
の比率が決まる一対の位置信号を出力する受光手段と、
各位置信号に基づいて物体までの距離を演算する演算手
段とを備えた光学式変位センサにおいて、位置信号を増
幅し演算手段に入力する増幅度が可変に設定される増幅
手段を設け、位置信号は受光光量の増加に伴って出力値
が増加する電気信号であって、両位置信号の出力値の和
に対する第1の閾値と各位置信号の出力値に対する第2
の閾値とを設定した受光光量判定手段と、両位置信号の
出力値の和に対して第1の閾値よりも大きい第3の閾値
と各位置信号の出力値に対して第2の閾値よりも小さい
第4の閾値とを設定した受光レベル調節手段とを設け、
受光光量判定手段は、両位置信号の出力値の和が第1の
閾値以下であるか、両位置信号の出力値のうちの少なく
とも一方が第2の閾値以上であるときに、誤測定が生じ
る受光光量であることを示す光量異常信号を発生し、受
光レベル調節手段は、両位置信号の出力値の和が第3の
閾値以下であるか、両位置信号の出力値のうちの少なく
とも一方が第4の閾値以上であるときに、演算手段に入
力する信号のレベルの変動幅を小さくする方向に投光ス
ポットの照射光量と増幅手段の増幅度との少なくとも一
方を調節するのである。
According to a second aspect of the invention, in addition to the configuration of the first aspect, there is provided threshold setting means for variably setting the first threshold and the second threshold. According to the invention of claim 3, the light projecting means for irradiating the surface of the object with a light projection spot which is a dot-like light pattern, and the reflected light on the object surface of the light emitted from the light projecting means are passed through the light receiving optical system. And a light receiving unit that outputs a pair of position signals whose output value ratio is determined corresponding to the position of the light receiving spot formed as an image of the light emitting spot.
In an optical displacement sensor provided with a calculating means for calculating a distance to an object based on each position signal, an amplifying means for amplifying the position signal and inputting to the calculating means is variably set, and the position signal Is an electric signal whose output value increases as the amount of received light increases, and is a first threshold value for the sum of the output values of both position signals and a second threshold value for the output value of each position signal.
A threshold value of received light amount, a third threshold value larger than the first threshold value for the sum of the output values of both position signals, and a second threshold value for the output value of each position signal. And a light receiving level adjusting means for setting a small fourth threshold value,
The received light amount determination means causes an erroneous measurement when the sum of the output values of both position signals is less than or equal to the first threshold value or when at least one of the output values of both position signals is greater than or equal to the second threshold value. A light quantity abnormality signal indicating that the light quantity is received is generated, and the light reception level adjusting means causes the sum of the output values of both position signals to be less than or equal to a third threshold value, or at least one of the output values of both position signals. When it is equal to or more than the fourth threshold value, at least one of the irradiation light amount of the projection spot and the amplification degree of the amplification means is adjusted in a direction to reduce the fluctuation range of the level of the signal input to the calculation means.

【0012】[0012]

【作用】請求項1の構成では、受光光量判定手段を設
け、位置センサから出力される両位置信号の出力値の和
が第1の閾値以下であると、距離を測定するための十分
な受光光量が得られていないと判定して光量異常信号を
発生する。また、受光光量判定手段は、位置センサから
出力される両位置信号のうちの少なくとも一方が第2の
閾値以上であると、不必要に大きい受光光量が得られて
いると判定して光量異常信号を発生する。すなわち、位
置センサでの受光光量が不足であったり過剰であったり
する場合には、光量異常信号を発生して誤測定が生じる
受光光量であることを報知するのである。すなわち、受
光光量の異常を使用者に報知することにより、距離の測
定結果が正しくないことを知らせることができるのであ
る。
According to the first aspect of the invention, the received light amount determining means is provided, and when the sum of the output values of both position signals output from the position sensor is less than or equal to the first threshold value, sufficient light reception for measuring the distance is received. A light amount abnormal signal is generated by determining that the light amount is not obtained. Further, the received light amount determination means determines that an unnecessarily large received light amount is obtained when at least one of both position signals output from the position sensor is equal to or greater than the second threshold value, and a light amount abnormality signal. To occur. That is, when the amount of light received by the position sensor is insufficient or excessive, a light amount abnormality signal is generated to notify that the amount of received light causes erroneous measurement. That is, by notifying the user of the abnormality in the received light amount, it is possible to notify that the distance measurement result is incorrect.

【0013】請求項2の構成では、物体の拡散反射率に
応じて第1の閾値および第2の閾値を調節できるように
しているのであって、拡散反射率に基づいて測距の対象
となる物体を識別することが可能になる。すなわち、目
的とする物体に対しては受光光量が正常になり、測定対
象から除去したい物体については受光光量が異常になる
ようにしておけば、目的とする物体についてのみ測定結
果を出力することが可能になるのである。
According to the second aspect of the present invention, the first threshold value and the second threshold value can be adjusted according to the diffuse reflectance of the object, and the object of distance measurement is based on the diffuse reflectance. It becomes possible to identify the object. That is, if the received light quantity becomes normal for the target object and the received light quantity becomes abnormal for the object to be removed from the measurement target, the measurement result can be output only for the target object. It will be possible.

【0014】請求項3の構成では、請求項1の構成に対
して、位置信号を増幅し演算手段に入力する増幅度が可
変に設定される増幅手段と、両位置信号の出力値の和に
対して第1の閾値よりも大きい第3の閾値と各位置信号
の出力値に対して第2の閾値よりも小さい第4の閾値と
を設定した受光レベル調節手段とを設けているのであっ
て、受光レベル調節手段は、両位置信号の出力値の和が
第3の閾値以下であるか、両位置信号の出力値のうちの
少なくとも一方が第4の閾値以上であるときに、演算手
段に入力する信号のレベルの変動幅を小さくする方向に
投光スポットの照射光量と増幅手段の増幅度との少なく
とも一方を調節するのである。すなわち、受光手段での
受光光量が極端に少ない場合には、位置信号を増幅して
も内部雑音によって信号対雑音比が小さくなって、物体
までの距離を正確に測定できなくなるから、投光スポッ
トの照射光量を増加させることによって対応し、物体ま
での距離を正確に測定するのである。また、受光手段で
の受光光量が多い場合には、投光スポットの照射光量を
減少させたり、位置信号の増幅度を低減したりすること
によって、演算手段への入力信号が飽和するのを防止す
ることができる。
According to a third aspect of the present invention, in addition to the first aspect, the sum of the output values of both the position signal and the amplifying means for amplifying the position signal and inputting to the calculating means is set variably. On the other hand, there is provided a light receiving level adjusting means for setting a third threshold value larger than the first threshold value and a fourth threshold value smaller than the second threshold value with respect to the output value of each position signal. The light-reception level adjusting means causes the calculating means to operate when the sum of the output values of both position signals is less than or equal to the third threshold value or at least one of the output values of both position signals is greater than or equal to the fourth threshold value. At least one of the irradiation light amount of the projection spot and the amplification degree of the amplification means is adjusted in the direction of reducing the fluctuation range of the level of the input signal. That is, when the amount of light received by the light receiving means is extremely small, the signal to noise ratio becomes small due to internal noise even if the position signal is amplified, and the distance to the object cannot be accurately measured. This is dealt with by increasing the amount of irradiation light, and the distance to the object is accurately measured. Further, when the amount of light received by the light receiving means is large, the amount of irradiation light of the projected spot is reduced or the amplification degree of the position signal is reduced to prevent the input signal to the arithmetic means from being saturated. can do.

【0015】しかも、受光光量の過剰や不足に対して投
光スポットの照射光量や増幅手段の増幅度の調節の要否
を判定する閾値を光量異常信号が発生する閾値の内側に
設定しているから、光量異常信号が発生して物体までの
距離が測定できない状態になるよりも以前に演算手段へ
の入力レベルを調節することができ、距離の測定が行え
ない状態を少なくすることができるのである。とくに、
木質の物体の距離を測定するような場合には、木目の存
在によって場所ごとに拡散反射率が変化することになる
が、受光レベル調節手段によって演算手段への入力レベ
ルの変動幅を小さくするように調節しているので、光量
異常信号の発生頻度が減少して物体の全面について距離
の測定が可能になるのである。
Moreover, the threshold value for determining whether or not it is necessary to adjust the irradiation light amount of the projection spot or the amplification degree of the amplification means when the received light amount is excessive or insufficient is set inside the threshold value at which the abnormal light amount signal is generated. Therefore, it is possible to adjust the input level to the calculation means before the distance to the object cannot be measured due to the abnormal light amount signal, and it is possible to reduce the state in which the distance cannot be measured. is there. Especially,
When measuring the distance of a woody object, the diffuse reflectance will change from place to place due to the presence of wood grain, but it is necessary to reduce the fluctuation range of the input level to the calculating means by the light receiving level adjusting means. Since the light quantity abnormal signal is generated less frequently, the distance can be measured over the entire surface of the object.

【0016】また、間欠的に距離を測定する構成とした
場合に、投光スポットの照射光量や増幅手段の増幅度を
調節すると、回路動作が安定するまでに一定の時間がか
かるから、所定回数の測定による位置信号の平均値に基
づいて演算手段への入力レベルを調節するのが望ましい
が、仮に、第1の閾値と第3の閾値および第2の閾値と
第4の閾値をそれぞれ同じ値に設定しているとすれば、
光量異常信号が発生した後に一定時間が経過してからで
なければ、演算手段への入力レベルが調節されず、距離
の測定が一定時間はできないことになる。これに対し
て、請求項3の構成では、第1の閾値よりも第3の閾値
を高く設定し、第2の閾値よりも第4の閾値を低く設定
しているから、測距ができない時間が短縮されることに
なる。
Further, in the case where the distance is measured intermittently, if the irradiation light amount of the projection spot and the amplification degree of the amplification means are adjusted, it takes a certain time until the circuit operation stabilizes, so a predetermined number of times is required. Although it is desirable to adjust the input level to the calculation means based on the average value of the position signals measured by the above, it is assumed that the first threshold value and the third threshold value and the second threshold value and the fourth threshold value have the same value, respectively. If set to
The input level to the calculation means is not adjusted until the fixed time elapses after the light amount abnormality signal is generated, and the distance cannot be measured for the fixed time. On the other hand, in the configuration of claim 3, the third threshold value is set higher than the first threshold value and the fourth threshold value is set lower than the second threshold value. Will be shortened.

【0017】[0017]

【実施例】本実施例の基本的な構成は図1に示した構成
と同様であって、信号処理部21は、図2に示すように
構成されている。すなわち、信号処理部21では、セン
サヘッド10から出力された一対の信号をそれぞれ増幅
器31a,31bにより増幅し、検波回路32a,32
bによって検波した後、A/D変換回路33a,33b
を通してディジタル信号に変換する。増幅器31a,3
1bは増幅度が可変であって、ゲイン設定回路34を通
して増幅度が調節される。検波回路32a,32bは、
クロック信号発生部21から出力されるタイミングパル
スに同期して受光した信号を検波する。A/D変換回路
33a,33bによってディジタル信号に変換された信
号は、CPU35に入力される。CPU35はメモリ3
6に可能されたプログラムに基づいて動作し、従来の技
術の項において説明したような演算を行って物体までの
距離を求める。また、表示駆動回路37およびキーセン
ス回路38を通して接続されている操作表示部23に対
して、求めた距離を出力して表示器に表示する。ここ
に、表示駆動回路37は表示器を駆動する回路であっ
て、キーセンス回路38はキースイッチの操作情報をC
PU35に入力する回路である。CPU35で求めた距
離は、D/A変換回路39によりアナログ信号に変換さ
れた後に、端子部24を介して外部回路に出力される。
また、端子部24を介して入力される外部回路からの制
御情報は、制御入力回路40を通してCPU35に入力
される。ここにおいて、CPU35は、キーセンス回路
38や制御入力回路40を通して入力される情報やA/
D変換回路33a,33bより入力される情報に基づい
てゲイン設定回路34を制御し、距離を測定する対象と
なる物体に対して増幅器31a,31bの増幅度を適正
に設定する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The basic construction of this embodiment is similar to that shown in FIG. 1, and a signal processing section 21 is constructed as shown in FIG. That is, in the signal processing unit 21, the pair of signals output from the sensor head 10 are amplified by the amplifiers 31a and 31b, respectively, and the detection circuits 32a and 32a.
After being detected by b, the A / D conversion circuits 33a and 33b are detected.
Through to convert it to a digital signal. Amplifier 31a, 3
1b has a variable amplification degree, and the amplification degree is adjusted through the gain setting circuit 34. The detection circuits 32a and 32b are
The received signal is detected in synchronization with the timing pulse output from the clock signal generator 21. The signals converted into digital signals by the A / D conversion circuits 33a and 33b are input to the CPU 35. CPU 35 is memory 3
It operates on the basis of the program made possible in 6 and calculates the distance to the object by performing the calculation as described in the section of the prior art. Further, the calculated distance is output to the operation display unit 23 connected through the display drive circuit 37 and the key sense circuit 38 and displayed on the display. Here, the display drive circuit 37 is a circuit for driving the display, and the key sense circuit 38 displays the operation information of the key switch as C
This is a circuit that is input to the PU 35. The distance obtained by the CPU 35 is converted into an analog signal by the D / A conversion circuit 39 and then output to an external circuit via the terminal section 24.
The control information from the external circuit input via the terminal unit 24 is input to the CPU 35 via the control input circuit 40. Here, the CPU 35 uses the key sense circuit 38 and the control input circuit 40 to input information and A /
The gain setting circuit 34 is controlled based on the information input from the D conversion circuits 33a and 33b, and the amplification degrees of the amplifiers 31a and 31b are appropriately set for the object whose distance is to be measured.

【0018】ところで、CPU35は、A/D変換回路
33a,33bの出力値に基づいて以下のような動作を
行うようにプログラムが設定されている。すなわち、両
出力値の和に対する第1の閾値(以下、ダークカットレ
ベルと呼称する)と、各出力値に対する第2の閾値(以
下、ブライトカットレベルと呼称する)とが設定され、
両出力値の和がダークカットレベル以下であるか、少な
くとも一方の出力値がブライトカットレベル以上である
ときには、光量異常信号を発生して表示駆動回路37を
通して表示器に光量が過剰または不足していることを表
示する。また、端子部24に外部回路が接続されている
ときには、D/A変換回路39を通して外部回路に光量
異常信号を出力し、受光光量の過剰または不足が生じて
いることを外部回路に報知する。ここにおいて、端子部
24には、光量が過剰である場合の光量異常信号に対応
する端子と、光量が不足している場合の光量異常信号に
対応する端子とが設けられている。ダークカットレベル
およびブライトカットレベルは、操作表示部23に設け
たキースイッチの操作や制御入力回路40を通して入力
される外部回路からの制御情報によって可変に設定する
ことができるようになっている。
By the way, the program is set in the CPU 35 so as to perform the following operations based on the output values of the A / D conversion circuits 33a and 33b. That is, a first threshold value (hereinafter, referred to as a dark cut level) for the sum of both output values and a second threshold value (hereinafter, referred to as a bright cut level) for each output value are set,
When the sum of both output values is lower than the dark cut level, or at least one of the output values is higher than the bright cut level, a light amount abnormality signal is generated and the light amount is excessively or insufficiently supplied to the display through the display drive circuit 37. Is displayed. Further, when an external circuit is connected to the terminal portion 24, a light amount abnormality signal is output to the external circuit through the D / A conversion circuit 39 to notify the external circuit that the received light amount is excessive or insufficient. Here, the terminal portion 24 is provided with a terminal corresponding to the light amount abnormal signal when the light amount is excessive and a terminal corresponding to the light amount abnormal signal when the light amount is insufficient. The dark cut level and the bright cut level can be variably set by the operation of the key switch provided in the operation display unit 23 or the control information from the external circuit input through the control input circuit 40.

【0019】操作表示部23は、図3に示すように、発
光ダイオードや液晶表示器を用いたセグメント式の表示
器25と、押操作される複数個のキースイッチ26a〜
26gとを有した表示パネル27を備える。表示器25
は複数桁の数値を表示することができるように構成され
ている。キースイッチ26a,26bは、表示器25に
表示されている数値を増減させるために設けられ、カー
ソルキーであるキースイッチ26c,26dによって表
示器25の所望の桁を選択した後に、キースイッチ26
a,26bを操作することによって、数値を増減させる
ことができるようになっている。また、キースイッチ2
6e,26fは、それぞれダークカットレベルとブライ
トカットレベルとのどちらを設定するかを指定するため
に設けられ、キースイッチ26gは、モードを切り換え
るために設けられている。
As shown in FIG. 3, the operation display section 23 includes a segment type display 25 using a light emitting diode or a liquid crystal display, and a plurality of key switches 26a to 26a.
And a display panel 27 having 26 g. Display 25
Is configured to display multi-digit numbers. The key switches 26a and 26b are provided to increase / decrease the numerical value displayed on the display 25, and after the desired digit of the display 25 is selected by the key switches 26c and 26d which are cursor keys, the key switch 26
The numerical value can be increased or decreased by operating a and 26b. Also, key switch 2
6e and 26f are provided to specify which of the dark cut level and the bright cut level is to be set, and the key switch 26g is provided to switch the mode.

【0020】たとえば、ダークカットレベルを設定する
場合には、まず、キースイッチ26eを押すと、現在の
受光光量がリアルタイムで表示器25に表示される。受
光光量は、飽和するレベルを100%として、百分率に
よって表示される。この状態で、キースイッチ26gを
押すと設定モードに移行するから、キースイッチ26a
〜26dを用いてダークカットレベルを設定する。設定
後は、キースイッチ26gを再度押せば所望のダークカ
ットレベルが確定して、測定モードに移行するのであ
る。ブライトカットレベルの設定の際には、最初にキー
スイッチ26fを押す点が異なるだけであって、他の操
作は同じである。
For example, when setting the dark cut level, first, when the key switch 26e is pressed, the present amount of received light is displayed on the display 25 in real time. The received light amount is displayed as a percentage with the saturation level being 100%. In this state, when the key switch 26g is pressed, the mode is changed to the setting mode.
Use ~ 26d to set the dark cut level. After the setting, pressing the key switch 26g again determines the desired dark cut level and shifts to the measurement mode. When setting the bright cut level, the point that the key switch 26f is first pressed is different, and the other operations are the same.

【0021】上述した構成によれば、位置センサ14か
らの位置信号I1 ,I2 の出力値の和がダークカットレ
ベルに相当する値よりも大きく、しかも、両位置信号I
1 ,I2 の出力値がそれぞれブライトカットレベルに相
当する値よりも小さいという条件が満たされているとき
に、対象物体までの距離が正確に測定されていると判断
するのである。上記条件が満たされていない場合には、
対象物体までの距離が正確に測定されていないものとし
て報知する。
According to the above-mentioned structure, the sum of the output values of the position signals I 1 and I 2 from the position sensor 14 is larger than the value corresponding to the dark cut level, and both position signals I
When the conditions that the output values of 1 and I 2 are smaller than the values corresponding to the bright cut level are satisfied, it is determined that the distance to the target object is accurately measured. If the above conditions are not met,
This is notified as the distance to the target object is not accurately measured.

【0022】たとえば、図4に示すような回転軸4の表
面との距離を測定する場合について説明する。この回転
軸4の周面の一所には他の部分に比較して拡散反射率が
極端に小さい材質の部材4aが設けられているものとす
る。ここで、増幅器31a,31bの増幅度は、回転軸
4からの反射光によって距離の測定に適した出力値が増
幅器31a,31bから得られる程度に設定されている
ものとする。また、ダークカットレベルは、部材4aか
らの反射光に対応する両位置信号I1 ,I2 の出力値の
和に対応したレベルよりも高く設定しておく。たとえ
ば、回転軸4からの反射光に対する受光光量が飽和する
受光光量の70%であって、部材4aからの反射光に対
する受光光量が20%であるとすれば、ダークカットレ
ベルは20〜70%の間(たとえば、40%)に設定す
ればよい。この場合、ブライトカットレベルは70%よ
りも高く設定しておくのはいうまでもない。このような
条件で回転軸4までの距離を測定すると、回転軸4に対
しては正確に距離を測定することができるが、部材4a
に対しては両位置信号I1 ,I2 の出力値の和に対応す
るレベルがダークカットレベル以下になるから、CPU
35から光量異常信号が出力され、光量不足が表示器2
5に表示されるとともに端子部24を通して外部回路に
報知される。
For example, a case of measuring the distance from the surface of the rotating shaft 4 as shown in FIG. 4 will be described. It is assumed that a member 4a made of a material having a diffuse reflectance extremely smaller than that of other portions is provided at one location on the peripheral surface of the rotating shaft 4. Here, it is assumed that the amplification degrees of the amplifiers 31a and 31b are set to such an extent that an output value suitable for measuring the distance can be obtained from the amplifiers 31a and 31b by the reflected light from the rotating shaft 4. Further, the dark cut level is set higher than the level corresponding to the sum of the output values of both position signals I 1 and I 2 corresponding to the reflected light from the member 4a. For example, if the received light amount for the reflected light from the rotating shaft 4 is 70% of the received light amount that is saturated and the received light amount for the reflected light from the member 4a is 20%, the dark cut level is 20 to 70%. It suffices to set it in the interval (for example, 40%). In this case, it goes without saying that the bright cut level is set higher than 70%. If the distance to the rotating shaft 4 is measured under such conditions, the distance to the rotating shaft 4 can be measured accurately, but the member 4a
However, since the level corresponding to the sum of the output values of both position signals I 1 and I 2 is below the dark cut level,
An abnormal light amount signal is output from 35 and the insufficient light amount is displayed on the display unit 2.
5 and the external circuit is notified through the terminal portion 24.

【0023】一方、回転軸4については距離の測定を行
わずに部材4aについて距離を測定する場合には、部材
4aからの反射光に対応するように増幅器31a,31
bの増幅度を設定する。加えて、回転軸4からの反射光
を受光する際の位置信号I1,I2 の出力値の和の2分
の1に対するレベルよりもブライトカットレベルを低く
設定しておく。また、ダークカットレベルは、部材4a
の反射光に対する両位置信号I1 ,I2 の和に対応する
レベルよりも低く設定しておくことはもちろんのことで
ある。この条件で回転軸4までの距離を測定すると、回
転軸4に対しては両位置信号I1 ,I2 の少なくとも一
方の出力値に対するレベルがブライトカットレベルを越
えるから、CPU35から光量異常信号が出力され、光
量過剰が表示器25に表示されるとともに端子部24を
通して外部回路に報知される。また、部材4aに対して
は両位置信号I1 ,I2 のいずれもがブライトカットレ
ベルを越えることはないから、部材4aまでの距離を正
確に測定することができるのである。
On the other hand, when the distance is measured for the member 4a without measuring the distance for the rotary shaft 4, the amplifiers 31a, 31 are provided so as to correspond to the reflected light from the member 4a.
Set the amplification of b. In addition, the bright cut level is set lower than the level for half of the sum of the output values of the position signals I 1 and I 2 when the reflected light from the rotary shaft 4 is received. Also, the dark cut level is the member 4a.
It goes without saying that the level is set lower than the level corresponding to the sum of the two position signals I 1 and I 2 for the reflected light. When the distance to the rotary shaft 4 is measured under this condition, the level for at least one of the position signals I 1 and I 2 for the rotary shaft 4 exceeds the bright cut level. It is output, and the excess light amount is displayed on the display 25 and is also notified to the external circuit through the terminal portion 24. Further, since neither of the position signals I 1 and I 2 exceeds the bright cut level for the member 4a, the distance to the member 4a can be accurately measured.

【0024】(実施例2)本実施例では、実施例1と同
様に、投光素子11を間欠的に発光させているものとす
る。また、CPU35およびメモリ36によって、位置
信号I1 ,I2 の信号レベルを判定して、駆動回路13
での減衰率を調節したり、増幅器31a,31bの増幅
度を調節したりする受光レベル調節手段が構成されてい
るものとする。すなわち、受光レベル調節手段は、両位
置信号I1 ,I2 の和が第3の閾値(以下、調節用ダー
クレベルと呼称する)であるときや、各位置信号I1
2の少なくとも一方が第4の閾値(以下、調節用ブラ
イトレベルと呼称する)であるときに、投光スポットの
照射光量や増幅器31a,31bの増幅度を複数段階に
調節することによって、A/D変換回路33a,33b
の出力値の変動幅を小さくするように制御するのであ
る。受光レベル調節手段では、距離を複数回(たとえ
ば、32回)測定した際の位置信号I1 ,I2 の平均値
に基づいて、投光スポットの照射光量や増幅器31a,
31bの増幅度を調節する必要があるかどうかを判定す
る。すなわち、両位置信号I1 ,I2 の和の平均値が調
節用ダークレベル以下になると、投光素子11の発光輝
度を高めるように駆動回路13を制御し(増幅回路31
a,31bの増幅度を増加させてもよい)、少なくとも
一方の位置信号I1 ,I2 の平均値が調節用ブライトレ
ベル以上になると、増幅度31a,31bの増幅度を低
減させるのである(投光素子11の発光輝度を低減させ
てもよい)。
(Embodiment 2) In this embodiment, it is assumed that the light projecting element 11 emits light intermittently as in the case of the first embodiment. Further, the CPU 35 and the memory 36 determine the signal levels of the position signals I 1 and I 2 , and the drive circuit 13
It is assumed that the light receiving level adjusting means for adjusting the attenuation rate in (1) and adjusting the amplification degree of the amplifiers 31a, 31b is configured. That is, the received light level adjusting means, both position signals I 1, I sum of 2 the third threshold value (hereinafter, adjusting the dark level referred) and when it is, the position signals I 1,
When at least one of I 2 is a fourth threshold value (hereinafter, referred to as an adjustment bright level), the irradiation light amount of the projection spot and the amplification degree of the amplifiers 31a and 31b are adjusted in a plurality of steps to obtain A / D conversion circuits 33a and 33b
It is controlled so as to reduce the fluctuation range of the output value of. In the light receiving level adjusting means, based on the average value of the position signals I 1 and I 2 when the distance is measured a plurality of times (for example, 32 times), the irradiation light amount of the light projection spot and the amplifier 31a,
It is determined whether the amplification degree of 31b needs to be adjusted. That is, when the average value of the sum of both position signals I 1 and I 2 becomes equal to or lower than the adjustment dark level, the drive circuit 13 is controlled so as to increase the emission brightness of the light projecting element 11 (the amplifier circuit 31
a, 31b may be increased), or when the average value of at least one of the position signals I 1 and I 2 becomes equal to or higher than the adjustment bright level, the amplification degree of the amplifications 31a and 31b is reduced ( The emission brightness of the light projecting element 11 may be reduced).

【0025】調節用ダークレベルはダークカットレベル
よりも高く設定されており、調節用ブライトレベルはブ
ライトカットレベルよりも高く設定される。したがっ
て、位置信号I1 ,I2 の出力値が徐々に変化するよう
な場合には、調節用ダークレベルを通過してからダーク
カットレベルに達し、調節用ブライトレベルを通過して
からブライトカットレベルに達することになる。その結
果、複数回の測定に対する位置信号I1 ,I2 の平均値
に基づいて投光スポットの照射光量や増幅器31a,3
1bの増幅度を調節しているにもかかわらず、光量異常
信号が発生する頻度が少なくなり、距離の測定ができな
くなる時間が短くなるのである。
The adjustment dark level is set higher than the dark cut level, and the adjustment bright level is set higher than the bright cut level. Therefore, when the output values of the position signals I 1 and I 2 gradually change, the dark cut level is reached after reaching the adjustment dark level, and the bright cut level is reached after passing through the adjustment bright level. Will be reached. As a result, on the basis of the average value of the position signals I 1 and I 2 for a plurality of measurements, the irradiation light quantity of the projection spot and the amplifiers 31a and 3a.
Even though the amplification degree of 1b is adjusted, the frequency of occurrence of the light amount abnormality signal decreases, and the time during which the distance cannot be measured becomes shorter.

【0026】次に、距離を測定する対象が、図5のよう
に、木目を有した木質材5である場合を例示して動作を
説明する。木質材5では木目の存在によって色の濃淡が
生じており、木質材5を移動させながら距離を測定する
と、受光光量が変化することになる。ただし、木質材5
の移動速度を適宜設定することによって、1回の測距に
要する時間に比較して木質材5の移動距離が十分に短く
なるように設定してある。
Next, the operation will be described by exemplifying the case where the object whose distance is to be measured is the wood material 5 having wood grain as shown in FIG. Due to the presence of wood grain, shades of color occur in the wood material 5, and when the distance is measured while moving the wood material 5, the received light amount changes. However, wood 5
The moving speed of the wood material 5 is set to be sufficiently short as compared with the time required for one distance measurement by appropriately setting the moving speed.

【0027】いま、ダークカットレベルを両位置信号I
1 ,I2 の和の最大値の10%と設定し、ブライトカッ
トレベルを両位置信号I1 ,I2 のうちの一方の最大値
の95%に設定しているものとする。この場合、調節用
ダークレベルは、たとえば両位置信号I1 ,I2 の和の
最大値の20%などと設定することができ、調節用ブラ
イトレベルは両位置信号I1 ,I2 のうちの一方の最大
値の80%などと設定することができる。受光光量が徐
々に減少して信号レベルが調節用ダークレベル以下にな
った場合には、その後、所定回数(たとえば、32回)
の測距を行う間に、信号レベルがダークカットレベル以
下にならなければ、光量異常信号が発生する前に、投光
素子11の発光輝度や増幅回路31a,31bの増幅度
を大きくすることができる。また、所定回数の測距の間
にダークカットレベルに達したとしても、調節用ダーク
レベル以下になった後に複数回の測距が行われているか
ら、調節用ダークレベルとダークカットレベルとが等し
く設定されている場合に比較すれば、測距ができなくな
る時間は短縮されることになる。
Now, the dark cut level is set to both position signals I.
It is assumed that the maximum value of the sum of 1 and I 2 is set to 10%, and the bright cut level is set to 95% of the maximum value of one of the position signals I 1 and I 2 . In this case, the adjustment dark level can be set to, for example, 20% of the maximum value of the sum of the two position signals I 1 and I 2 , and the adjustment bright level can be set to one of the two position signals I 1 and I 2 . It can be set to 80% of one of the maximum values. If the amount of received light gradually decreases and the signal level falls below the adjustment dark level, then a predetermined number of times (for example, 32 times)
If the signal level does not become lower than the dark cut level during the distance measurement, the light emission brightness of the light projecting element 11 and the amplification degree of the amplification circuits 31a and 31b can be increased before the light amount abnormality signal is generated. it can. Even if the dark cut level is reached during the predetermined number of distance measurements, the adjustment dark level and the dark cut level are different because the distance measurement is performed multiple times after the dark level becomes lower than the adjustment dark level. Compared to the case where the distances are set equal, the time during which distance measurement cannot be performed is shortened.

【0028】一方、受光光量が徐々に増加して信号レベ
ルが調節用ブライトレベル以上になった場合には、その
後、所定回数(たとえば、32回)の測距を行う間に、
信号レベルがブライトカットレベル以上にならなけれ
ば、光量異常信号が発生する前に、投光素子11の発光
輝度や増幅回路31a,31bの増幅度を小さくするこ
とができる。また、所定回数の測距の間にブライトカッ
トレベルに達したとしても、調節用ブライトレベルとブ
ライトカットレベルとを等しく設定している場合に比較
すれば、測距ができなくなる時間は短縮される。他の構
成および動作は実施例1と同様であるから説明を省略す
る。
On the other hand, when the amount of received light gradually increases and the signal level becomes equal to or higher than the adjustment bright level, after that, the distance is measured a predetermined number of times (for example, 32 times).
If the signal level does not exceed the bright cut level, the emission brightness of the light projecting element 11 and the amplification degree of the amplifier circuits 31a and 31b can be reduced before the light amount abnormality signal is generated. Even if the bright cut level is reached during the predetermined number of times of distance measurement, the time during which distance measurement cannot be performed is shortened as compared with the case where the adjustment bright level and the bright cut level are set equal. .. The other configurations and operations are the same as those in the first embodiment, and the description thereof will be omitted.

【0029】[0029]

【発明の効果】請求項1の発明は、受光光量判定手段を
設け、位置センサから出力される両位置信号の出力値の
和が第1の閾値以下であると、距離を測定するための十
分な受光光量が得られていないと判定して光量異常信号
を発生し、位置センサから出力される両位置信号のうち
の少なくとも一方が第2の閾値以上であると、不必要に
大きい受光光量が得られていると判定して光量異常信号
を発生するので、位置センサでの受光光量が不足であっ
たり過剰であったりする場合には、光量異常信号を発生
して誤測定が生じる受光光量であることを報知すること
ができ、距離の測定結果が正しくないことを使用者に知
らせてることができるという利点を有するのである。
According to the first aspect of the invention, the received light quantity determining means is provided, and when the sum of the output values of both position signals output from the position sensor is less than or equal to the first threshold value, it is sufficient for measuring the distance. If an abnormal light amount signal is generated and at least one of both position signals output from the position sensor is equal to or greater than the second threshold value, an unnecessarily large received light amount is generated. Since the light quantity abnormal signal is generated when it is judged that the light quantity is received, if the light quantity received by the position sensor is insufficient or excessive, the light quantity abnormal signal is generated and the received light quantity causing erroneous measurement is detected. There is an advantage that it is possible to inform that there is something, and to inform the user that the distance measurement result is incorrect.

【0030】請求項2の発明は、物体の拡散反射率に応
じて第1の閾値および第2の閾値を調節できるようにし
ているのであって、拡散反射率に基づいて測距の対象と
なる物体を識別することが可能になるという利点があ
る。請求項3の発明は、両位置信号の出力値の和に対し
て第1の閾値よりも大きい第3の閾値と各位置信号の出
力値に対して第2の閾値よりも小さい第4の閾値とを設
定した受光レベル調節手段とを設けているのであって、
受光レベル調節手段は、両位置信号の出力値の和が第3
の閾値以下であるか、両位置信号の出力値のうちの少な
くとも一方が第4の閾値以上であるときに、演算手段に
入力する信号のレベルの変動幅を小さくする方向に投光
スポットの照射光量と増幅手段の増幅度との少なくとも
一方を調節するので、受光手段での受光光量が極端に少
ない場合には、投光スポットの照射光量や増幅手段の増
幅度を増加させることによって対応し、受光手段での受
光光量が多い場合には、投光スポットの照射光量や増幅
手段の増幅度を低減したりすることによって対応するこ
とができ、結果的に、測距が不能になる頻度を低減でき
るという利点がある。しかも、受光光量の過剰や不足に
対して投光スポットの照射光量や増幅手段の増幅度の調
節の要否を判定する閾値を光量異常信号が発生する閾値
の内側に設定しているから、光量異常信号が発生して物
体までの距離が測定できない状態になるよりも以前に演
算手段への入力レベルを調節することができ、距離の測
定が行えない状態を少なくすることができるという効果
がある。
According to the second aspect of the present invention, the first threshold value and the second threshold value can be adjusted according to the diffuse reflectance of the object, and the object of distance measurement is based on the diffuse reflectance. There is an advantage that it is possible to identify an object. According to the invention of claim 3, a third threshold value larger than the first threshold value for the sum of the output values of both position signals and a fourth threshold value smaller than the second threshold for the output value of each position signal. And a light receiving level adjusting means for which is set,
In the light receiving level adjusting means, the sum of the output values of both position signals is the third.
Is equal to or less than the threshold value of, or at least one of the output values of both position signals is equal to or more than the fourth threshold value, the projection spot is irradiated in a direction to reduce the fluctuation range of the level of the signal input to the calculation means. Since at least one of the light amount and the amplification degree of the amplifying means is adjusted, when the received light quantity of the light receiving means is extremely small, it is dealt with by increasing the irradiation light quantity of the projected spot or the amplification degree of the amplifying means, If the amount of light received by the light receiving unit is large, it can be handled by reducing the amount of light emitted from the projection spot or the amplification degree of the amplification unit, and as a result, the frequency at which distance measurement becomes impossible is reduced. There is an advantage that you can. Moreover, since the threshold value for determining whether or not the irradiation light amount of the projection spot and the amplification degree of the amplification means need to be adjusted when the received light amount is excessive or insufficient is set inside the threshold value at which the light amount abnormality signal is generated, The input level to the calculation means can be adjusted before the distance to the object cannot be measured due to the occurrence of the abnormal signal, and the effect that the distance cannot be measured can be reduced. ..

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

【図1】実施例を示すブロック回路図である。FIG. 1 is a block circuit diagram showing an embodiment.

【図2】実施例に用いる信号処理部のブロック回路図で
ある。
FIG. 2 is a block circuit diagram of a signal processing unit used in the embodiment.

【図3】実施例に用いる操作表示部の正面図である。FIG. 3 is a front view of an operation display unit used in the embodiment.

【図4】実施例1の使用状態を示す説明図である。FIG. 4 is an explanatory diagram showing a usage state of the first embodiment.

【図5】実施例2の使用状態を示す説明図である。FIG. 5 is an explanatory diagram showing a usage state of the second embodiment.

【図6】本発明に係る光学式変位センサの動作原理を示
す説明図である。
FIG. 6 is an explanatory diagram showing the operating principle of the optical displacement sensor according to the present invention.

【符号の説明】[Explanation of symbols]

1 投光手段 2 受光手段 11 投光素子 12 投光光学系 13 駆動回路 14 位置センサ 15 受光光学系 21 信号処理部 25 表示器 26a キースイッチ 26b キースイッチ 26c キースイッチ 26d キースイッチ 26e キースイッチ 26f キースイッチ 26g キースイッチ 27 表示パネル 31a 増幅器 31b 増幅器 34 ゲイン設定回路 35 CPU 36 メモリ 1 Light emitting means 2 Light receiving means 11 Light emitting element 12 Light emitting optical system 13 Driving circuit 14 Position sensor 15 Light receiving optical system 21 Signal processing unit 25 Display 26a Key switch 26b Key switch 26c Key switch 26d Key switch 26e Key switch 26f Key Switch 26g Key switch 27 Display panel 31a Amplifier 31b Amplifier 34 Gain setting circuit 35 CPU 36 Memory

───────────────────────────────────────────────────── フロントページの続き (72)発明者 杉本 義彦 大阪府門真市大字門真1048番地松下電工株 式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Yoshihiko Sugimoto 1048, Kadoma, Kadoma-shi, Osaka Matsushita Electric Works Co., Ltd.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 点状の光パターンである投光スポットを
物体の表面に照射する投光手段と、投光手段から照射さ
れた光の物体表面での反射光を受光光学系に通して収束
させ投光スポットの像として形成された受光スポットの
位置に対応して出力値の比率が決まる一対の位置信号を
出力する受光手段と、各位置信号に基づいて物体までの
距離を演算する演算手段とを備えた光学式変位センサに
おいて、位置信号は受光光量の増加に伴って出力値が増
加する電気信号であって、両位置信号の出力値の和に対
する第1の閾値と各位置信号の出力値に対する第2の閾
値とを設定した受光光量判定手段を設け、受光光量判定
手段は、両位置信号の出力値の和が第1の閾値以下であ
るか、両位置信号の出力値のうちの少なくとも一方が第
2の閾値以上であるときに、誤測定が生じる受光光量で
あることを示す光量異常信号を発生することを特徴とす
る光学式変位センサ。
1. A light projecting means for irradiating a surface of an object with a light projection spot, which is a dot-like light pattern, and reflected light on the object surface of the light emitted from the light projecting means is converged through a light receiving optical system. Light receiving means for outputting a pair of position signals whose output value ratio is determined corresponding to the position of the light receiving spot formed as an image of the light emitting spot, and calculating means for calculating the distance to the object based on each position signal. In the optical displacement sensor provided with, the position signal is an electric signal whose output value increases with an increase in the amount of received light, and the first threshold and the output of each position signal with respect to the sum of the output values of both position signals. A received light amount determining unit that sets a second threshold value for the value is provided, and the received light amount determining unit determines whether the sum of the output values of both position signals is less than or equal to the first threshold value or the output value of both position signals. At least one is greater than or equal to the second threshold Sometimes, an optical displacement sensor is characterized in that it generates a light amount abnormal signal indicating that the received light amount causes erroneous measurement.
【請求項2】 第1の閾値および第2の閾値を可変に設
定する閾値設定手段を備えて成ることを特徴とする請求
項1記載の光学式変位センサ。
2. The optical displacement sensor according to claim 1, further comprising threshold setting means for variably setting the first threshold and the second threshold.
【請求項3】 点状の光パターンである投光スポットを
物体の表面に照射する投光手段と、投光手段から照射さ
れた光の物体表面での反射光を受光光学系に通して収束
させ投光スポットの像として形成された受光スポットの
位置に対応して出力値の比率が決まる一対の位置信号を
出力する受光手段と、各位置信号に基づいて物体までの
距離を演算する演算手段とを備えた光学式変位センサに
おいて、位置信号を増幅し演算手段に入力する増幅度が
可変に設定される増幅手段を設け、位置信号は受光光量
の増加に伴って出力値が増加する電気信号であって、両
位置信号の出力値の和に対する第1の閾値と各位置信号
の出力値に対する第2の閾値とを設定した受光光量判定
手段と、両位置信号の出力値の和に対して第1の閾値よ
りも大きい第3の閾値と各位置信号の出力値に対して第
2の閾値よりも小さい第4の閾値とを設定した受光レベ
ル調節手段とを設け、受光光量判定手段は、両位置信号
の出力値の和が第1の閾値以下であるか、両位置信号の
出力値のうちの少なくとも一方が第2の閾値以上である
ときに、誤測定が生じる受光光量であることを示す光量
異常信号を発生し、受光レベル調節手段は、両位置信号
の出力値の和が第3の閾値以下であるか、両位置信号の
出力値のうちの少なくとも一方が第4の閾値以上である
ときに、演算手段に入力する信号のレベルの変動幅を小
さくする方向に投光スポットの照射光量と増幅手段の増
幅度との少なくとも一方を調節することを特徴とする光
学式変位センサ。
3. A light projecting means for irradiating a surface of an object with a light projection spot which is a dot-like light pattern, and light reflected by the object surface of the light projected from the light projecting means is passed through a light receiving optical system to converge. Light receiving means for outputting a pair of position signals whose output value ratio is determined corresponding to the position of the light receiving spot formed as an image of the light emitting spot, and calculating means for calculating the distance to the object based on each position signal. In the optical displacement sensor including, the amplification means for amplifying the position signal and inputting to the calculation means is variably set, and the position signal is an electrical signal whose output value increases as the received light amount increases. And a received light quantity determining means that sets a first threshold value for the sum of the output values of both position signals and a second threshold value for the output value of each position signal, and for the sum of the output values of both position signals A third threshold that is greater than the first threshold Value and a fourth threshold value smaller than the second threshold value with respect to the output value of each position signal are provided, and the received light amount determining means determines that the sum of the output values of both position signals is the first value. When it is less than the threshold value of 1 or at least one of the output values of both position signals is more than the second threshold value, a light amount abnormal signal indicating that the received light amount causes erroneous measurement is generated, and the light receiving level is generated. The adjusting means is a signal to be inputted to the calculating means when the sum of the output values of both position signals is equal to or less than the third threshold value or at least one of the output values of both position signals is equal to or more than the fourth threshold value. The optical displacement sensor is characterized in that at least one of the irradiation light quantity of the projection spot and the amplification degree of the amplification means is adjusted in a direction to reduce the level fluctuation range.
JP13401092A 1992-05-26 1992-05-26 Optical displacement sensor Pending JPH05322559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13401092A JPH05322559A (en) 1992-05-26 1992-05-26 Optical displacement sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13401092A JPH05322559A (en) 1992-05-26 1992-05-26 Optical displacement sensor

Publications (1)

Publication Number Publication Date
JPH05322559A true JPH05322559A (en) 1993-12-07

Family

ID=15118275

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13401092A Pending JPH05322559A (en) 1992-05-26 1992-05-26 Optical displacement sensor

Country Status (1)

Country Link
JP (1) JPH05322559A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0851211A1 (en) * 1996-12-24 1998-07-01 Datalogic S.P.A. Optical distance measuring apparatus
JPH10239046A (en) * 1996-12-24 1998-09-11 Matsushita Electric Works Ltd Optical displacement measuring device and optical displacement measuring system
WO2013054814A1 (en) * 2011-10-11 2013-04-18 株式会社ニコン Shape-measuring device, system for manufacturing structures, shape-measuring method, method for manufacturing structures, shape-measuring program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0851211A1 (en) * 1996-12-24 1998-07-01 Datalogic S.P.A. Optical distance measuring apparatus
JPH10239046A (en) * 1996-12-24 1998-09-11 Matsushita Electric Works Ltd Optical displacement measuring device and optical displacement measuring system
US6122061A (en) * 1996-12-24 2000-09-19 Datalogic S.P.A. Optical apparatus for measuring the distance of an object and process for measuring the distance of an object from an optical measuring apparatus
WO2013054814A1 (en) * 2011-10-11 2013-04-18 株式会社ニコン Shape-measuring device, system for manufacturing structures, shape-measuring method, method for manufacturing structures, shape-measuring program
JPWO2013054814A1 (en) * 2011-10-11 2015-03-30 株式会社ニコン Shape measuring device, structure manufacturing system, shape measuring method, structure manufacturing method, shape measuring program
US9891043B2 (en) 2011-10-11 2018-02-13 Nikon Corporation Profile measuring apparatus, structure manufacturing system, method for measuring profile, method for manufacturing structure, and non-transitory computer readable medium

Similar Documents

Publication Publication Date Title
US7297912B1 (en) Circuit and method for reducing power consumption in an optical navigation system having redundant arrays
EP0332781B1 (en) Optical measuring device
JP2003124791A (en) Photoelectronic sensor
JPH05322559A (en) Optical displacement sensor
JP2006038571A (en) Optical displacement gauge
JPH0746052B2 (en) Optical displacement meter
US4822170A (en) Sensor for the contactless linear measurement of the distance of a target by backscattered radiation
JP2008116214A (en) Displacement sensor
JP2007139489A (en) Displacement sensor
JP2533257B2 (en) Optical displacement measuring device
JPS61104202A (en) Optical displacement meter
JPH02171608A (en) Distance/angle measuring apparatus
JPH07191143A (en) Distance measuring device
JPH11237208A (en) Measuring device for displacement
JP2015517150A (en) Variable gain amplifier for barcode reader
JP2000258146A (en) Radiation thickness measurement device
JP2000046526A (en) Gap measuring device
JPS62257077A (en) Measuring apparatus
WO2022185796A1 (en) Displacement sensor
JPH1194542A (en) Range-finding module
JPH09229624A (en) Measuring apparatus
JP3394091B2 (en) Displacement gauge
JP3251461B2 (en) Control method of photoelectric switch
JP2002296014A (en) Printed circuit board inspection device
JP2001230663A (en) Photoelectric switch

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010828