JPH05100026A - Range finder by laser - Google Patents

Range finder by laser

Info

Publication number
JPH05100026A
JPH05100026A JP25903691A JP25903691A JPH05100026A JP H05100026 A JPH05100026 A JP H05100026A JP 25903691 A JP25903691 A JP 25903691A JP 25903691 A JP25903691 A JP 25903691A JP H05100026 A JPH05100026 A JP H05100026A
Authority
JP
Japan
Prior art keywords
circuit
delay
output
level
photo
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
JP25903691A
Other languages
Japanese (ja)
Inventor
Kazumitsu Nakajima
一光 中島
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP25903691A priority Critical patent/JPH05100026A/en
Publication of JPH05100026A publication Critical patent/JPH05100026A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To secure the precision in measuring distance by a laser device, independent from variation of the photo-reception level. CONSTITUTION:A laser oscillator 1, signal transmitting/receiving optical system 2, photo-receiver circuit 3, counter circuit 4, and display circuit 9 constitute a laser circuit for measuring distance of conventional structure. The counter circuit 4 starts counting with the photo-sending timing of the laser oscillator 1 as a start signal. A comparator circuit group 5 comprises a plurality of comparator circuits having different operating levels (comparing level), and therewith the level of photo-reception signal till near the peak can be known. A delay circuit group 6 makes such an output delay that the comparison output nearer the peak is given earlier. A judging circuit 7 judges the outputs given in a specified sequence from the delay circuits belonging to the group 6 and emits an output as a stop signal for the counter circuit 4, which is also passed to a calculator circuit 8. In response to the output from the judging circuit 7, this calculator circuit 8 makes a correction for the delay caused by the delay circuit group 6 and the time delay due to the output sequence, determines the photo-receiving timing near the peak value of the photo-reception signal level, and determines the correct time of propagation, i.e., correct propagation distance.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はレーザ測距装置に関し、
特に目標に対するレーザ光の投光タイミングを受光タイ
ミング間の時間にもとづいて目標までの距離を測定する
レーザ測距装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a laser range finder,
In particular, the present invention relates to a laser distance measuring device for measuring the distance to a target based on the timing of projecting laser light to the target based on the time between light receiving timings.

【0002】[0002]

【従来の技術】従来、レーザ光を利用して距離を測定す
る方法としては、変調した連続光を目標地点に置いた鏡
等に当てて、戻って来た光の位相を検出して距離を算出
する方法と、パルス光を目標に当てて散乱する光の一部
を受光して光の伝搬時間から距離を算出する方法があ
る。
2. Description of the Related Art Conventionally, as a method of measuring a distance using laser light, a modulated continuous light is applied to a mirror or the like placed at a target point, and the phase of the returning light is detected to measure the distance. There is a method of calculating and a method of receiving a part of light scattered by applying pulsed light to a target and calculating the distance from the propagation time of the light.

【0003】前者は、高精度が期待出来るが、目標に鏡
等を設置せねばならず、数km先の目標を手軽に測定す
ることは出来ない。
The former can be expected to have high accuracy, but a mirror or the like must be installed on the target, and it is not possible to easily measure the target several km away.

【0004】一方、後者は、目標に鏡等を設置する必要
がないので、手軽に距離を測定することが出来るが、発
生するパルスの持続時間を短くすることが困難である等
の事情により精度を向上させることは難しい。
On the other hand, in the latter, since it is not necessary to install a mirror or the like at the target, it is possible to easily measure the distance, but it is difficult to shorten the duration of the generated pulse, and so on. Is difficult to improve.

【0005】精度を向上させるためには、送光タイミン
グと受光タイミング間の時間差を計測するカウンタ回路
のクロック周波数を高くして分解能の向上を計ったり、
目標の反射率の差異等による受光信号のレベル変動に対
しては、カウンタ回路の入力を一定レベルとするように
制御する必要があるが、実用上は、取り扱う周波数が高
くなることに伴う雑音の影響や、回路が複雑化する等の
問題があり、高精度化は必ずしも容易ではない。
In order to improve the accuracy, the clock frequency of the counter circuit for measuring the time difference between the light sending timing and the light receiving timing is increased to improve the resolution.
It is necessary to control the input of the counter circuit to a constant level for the level fluctuation of the received light signal due to the difference in the target reflectivity, etc. There are problems such as influence and circuit complexity, and it is not always easy to improve accuracy.

【0006】[0006]

【発明が解決しようとする課題】上述した従来のレーザ
測距装置は、分解能を高めるためにクロック周波数を高
くする他に、精度向上のためにパルス持続時間を短くし
たり、受光信号のレベルが一定になる方策を講じるなど
の手段を用いているが、携帯用を考え小型軽量化を目指
すレーザ測距装置に応用するには、パルス持続時間を短
くすることや受光信号のレベルを一定にする方策は不向
きである等の問題点があった。
In the conventional laser distance measuring apparatus described above, in addition to increasing the clock frequency to increase the resolution, the pulse duration is shortened to improve the accuracy and the level of the received light signal is increased. Although measures such as taking constant measures are used, shortening the pulse duration and keeping the level of the received light signal constant in order to apply it to a laser range finder that is portable and aims to be small and lightweight. There was a problem that the measures were not suitable.

【0007】本発明の目的は上述した問題点を解決し、
受光信号レベルが変動しても、これを一定レベル化する
ことなく高精度の測距が可能なレーザ測距装置を提供す
ることにある。
The object of the present invention is to solve the above-mentioned problems,
It is an object of the present invention to provide a laser distance measuring device capable of highly accurate distance measurement without making the received light signal level constant even if the received light signal level fluctuates.

【0008】[0008]

【課題を解決するための手段】本発明の装置は、レーザ
光の送光タイミングと、目標からの反射光の受光タイミ
ングとの時間差を計測して目標までの距離を計測するレ
ーザ測距装置において、相異る複数の比較値としての動
作レベルで受光レーザ光のレベル比較を行ない前記動作
レベルに対応した出力を送出する複数の比較回路と、前
記複数の比較回路の出力のそれぞれに対して前記動作レ
ベルの大小順に対応して出力順が決定されるように時間
遅延を付与する複数の遅延回路と、前記複数の遅延回路
の出力に対してあらかじめ設定する判定基準にもとづく
出力順により一つの出力を選定し、この出力を見掛の受
光レーザ光として目標までの見掛の伝搬時間の計測に供
する判定回路と、前記見掛の伝搬時間に対して前記複数
の遅延回路による遅延時間の付与と前記判定回路による
出力選定の際の出力順にもとづく遅延時間の補正を施し
て受光レーザ光のピーク値近傍の真の受光タイミングを
決定し真の伝搬時間を求めて目標までの距離を計測する
演算回路とを備えて構成される。
The device of the present invention is a laser range finder for measuring the distance to a target by measuring the time difference between the timing of transmitting the laser light and the timing of receiving the reflected light from the target. , A plurality of comparison circuits for performing level comparison of the received laser light at operation levels as different comparison values and sending an output corresponding to the operation level, and for each of the outputs of the plurality of comparison circuits, A plurality of delay circuits that give a time delay so that the output order is determined in correspondence with the order of magnitude of the operation levels, and one output according to the output order based on a judgment standard preset for the outputs of the plurality of delay circuits A determination circuit for measuring the apparent propagation time to the target as an apparent received laser light, and a plurality of delay circuits for the apparent propagation time. The delay time based on the output order when the output is selected by the judgment circuit is corrected, the true light reception timing near the peak value of the received laser light is determined, the true propagation time is calculated, and the distance to the target is determined. And an arithmetic circuit for measuring

【0009】[0009]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0010】図1は、本発明の一実施例の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【0011】図1に示す実施例は、一般的なレーザ測距
装置の構成品たるレーザ発振器1と、送受信光学系2
と、受光回路3と、カウンタ回路4および表示回路9の
ほか、本発明に直接かかわる比較回路群5,遅延回路群
6,判別回路7および演算回路8を備えて成る。
In the embodiment shown in FIG. 1, a laser oscillator 1 which is a component of a general laser range finder and a transmission / reception optical system 2 are provided.
In addition to the light receiving circuit 3, the counter circuit 4 and the display circuit 9, the comparison circuit group 5, the delay circuit group 6, the discrimination circuit 7 and the arithmetic circuit 8 directly related to the present invention are provided.

【0012】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0013】レーザ発振器1から出た光は送受信光学系
2により拡がり角を調整され目標10に照準される。目
標10に当たった光は反射して送受信光学系2により集
光され、受光回路3にて電気信号に変換される。
The light emitted from the laser oscillator 1 has its divergence angle adjusted by the transmission / reception optical system 2 and is aimed at the target 10. The light striking the target 10 is reflected, condensed by the transmission / reception optical system 2, and converted into an electric signal by the light receiving circuit 3.

【0014】カウンタ回路4では、レーザ発振器1から
提供される送光タイミングのモニタ信号をスタート信号
としてカウントを開始する。
The counter circuit 4 starts counting with the monitor signal of the light transmission timing provided from the laser oscillator 1 as a start signal.

【0015】受光回路3からの信号は、比較回路5、遅
延回路6を通した後に以下に示す方法により判別されて
適当な信号を選別し、これがストップ信号としてカウン
タ回路4,演算回路8でレーザ光の伝搬時間を計測す
る。
The signal from the light receiving circuit 3 passes through the comparison circuit 5 and the delay circuit 6 and is discriminated by the method described below to select an appropriate signal. This is used as a stop signal in the counter circuit 4 and the arithmetic circuit 8 in the laser. Measure the propagation time of light.

【0016】受光回路3からの出力信号は、異なった動
作レベルを有する複数の比較回路を有する比較回路群5
で弁別され、動作レベルに応じた出力信号はそれぞれの
レベルに対応して配置される複数の遅延回路を有する遅
延回路群6に供給される。
The output signal from the light receiving circuit 3 is a comparison circuit group 5 having a plurality of comparison circuits having different operation levels.
The output signal discriminated in step S3 and the output signal corresponding to the operation level are supplied to the delay circuit group 6 having a plurality of delay circuits arranged corresponding to the respective levels.

【0017】遅延回路群6は、対応する比較回路群5の
有する動作レベルが高い比較回路の出力ほど遅延時間が
短く設定された複数の遅延回路を有し、この遅延設定
は、使用するレーザ発振器1のパルス幅に対応して調節
する必要が有るが、比較回路群5の高い動作レベルの比
較回路の出力ほど、出力する時間が遅くなるのを補正し
て、遅延回路群6から出る時は高い動作レベルで比較さ
れた信号が時間的には早く出力されるように設定されて
いる。
The delay circuit group 6 has a plurality of delay circuits in which the delay time is set shorter as the output of the comparison circuit having the higher operation level of the corresponding comparison circuit group 5 is set. It is necessary to adjust in accordance with the pulse width of 1. However, when the output of the comparison circuit of the comparison circuit group 5 having a higher operation level is delayed, the output time is corrected so that the output from the delay circuit group 6 is corrected. The signals compared at the high operation level are set to be output earlier in time.

【0018】判別回路7では、次に述べるような考えに
基づき、ストップ信号として最適なものを判別してカウ
ンタ回路4に送出する。この際、何番目の大きさの動作
レベルで比較された信号を送出したかの情報を演算回路
8に送出する。
The discriminating circuit 7 discriminates the optimum stop signal based on the following idea and sends it to the counter circuit 4. At this time, information on what magnitude of the operation level the transmitted signal is sent to is sent to the arithmetic circuit 8.

【0019】演算回路8は、カウンタ回路4にて計測し
た時間、即ち光の伝搬時間に対応した時間と、遅延回路
6による遅延時間の和としての時間から、判別回路7か
らの情報に基づいて知る遅延時間を差し引いた光の正味
の伝搬時間を算出して距離を求め、測距データとして表
示回路9に送出する。
Based on the information from the discriminating circuit 7, the arithmetic circuit 8 calculates the time measured by the counter circuit 4, that is, the time corresponding to the light propagation time and the delay time of the delay circuit 6. The net propagation time of the light after subtracting the known delay time is calculated to obtain the distance, and the distance measurement data is sent to the display circuit 9.

【0020】表示回路9は、送受信光学系2の照準視野
の一部等に測距値を表示する。
The display circuit 9 displays the distance measurement value in a part of the sighting field of the transmission / reception optical system 2.

【0021】図2は、受光回路3からの信号の強弱と、
比較回路群5の動作レベルと、遅延回路群7の遅延時間
の関係を説明するための図である。
FIG. 2 shows the strength of the signal from the light receiving circuit 3 and
6 is a diagram for explaining the relationship between the operation level of the comparison circuit group 5 and the delay time of the delay circuit group 7. FIG.

【0022】受光回路3からの入力が大きい場合Aと、
小さい場合Bの2つの入力波形を例にとって動作を説明
する。
When the input from the light receiving circuit 3 is large, A
The operation will be described by taking two input waveforms of B as an example.

【0023】比較回路群5が、それぞれ各比較回路に設
定する動作レベルをV1,V2,…Vnとし、このレベ
ルに対応する遅延回路群6での遅延時間をD1,D2,
…Dnとする。強い受光信号Aが動作レベルV1を超え
る迄の時間をT11,レベルV2を超える迄の時間をT
12,レベルV3を超える迄の時間をT13,レベルV
4を超える迄の時間をT14とする。なおレベルV5を
超えることはない。同様に弱い受光信号Bが動作レベル
V1を超える迄の時間をT21,レベルV2を超える迄
の時間をT22とする。なおレベルV3を超えることは
ない。先に述べたように、レーザ発振器1のパルス幅を
考慮して遅延時間D1,D2,…Dnを適切に選んでい
るので、T11+D1〉T12+D2〉T13+D3〉
T14+D4となり、受光信号Aのピークに最も近いレ
ベルV4を超える信号が最初に判別回路7に到達する。
The comparison circuit group 5 sets the operation levels set in the respective comparison circuits to V1, V2, ... Vn, and the delay time in the delay circuit group 6 corresponding to this level is D1, D2.
... Dn. The time until the strong light reception signal A exceeds the operation level V1 is T11, and the time until it exceeds the level V2 is T.
12. Time to exceed level V3 is T13, level V
The time required to exceed 4 is T14. The level V5 is never exceeded. Similarly, the time until the weak light reception signal B exceeds the operation level V1 is T21, and the time until it exceeds the level V2 is T22. The level V3 is never exceeded. As described above, since the delay times D1, D2, ... Dn are properly selected in consideration of the pulse width of the laser oscillator 1, T11 + D1> T12 + D2> T13 + D3>.
The signal becomes T14 + D4, and the signal exceeding the level V4 closest to the peak of the received light signal A reaches the discrimination circuit 7 first.

【0024】同様に、受光信号Bの場合も、ピークに最
も近いレベルV2を超える信号が最初に判別回路7に到
達する。それぞれ到達時間から遅延回路6の遅延時間D
4またはD2を引いた時間即ちT14またはT22は受
光信号のピーク迄の時間とは若干異なるがレベル間隔を
細かくして行けばピーク迄の時間により近付けることは
可能である。
Similarly, in the case of the received light signal B, the signal that exceeds the level V2 closest to the peak first reaches the discrimination circuit 7. From each arrival time to the delay time D of the delay circuit 6,
The time obtained by subtracting 4 or D2, that is, T14 or T22, is slightly different from the time to the peak of the received light signal, but it is possible to make it closer to the time to the peak by making the level interval fine.

【0025】実用的には装置に許容される複雑さを勘案
し、所要の精度に応じたレベル間隔を選定すればよい。
また、レベル間隔も、上述した例では説明の便を宜って
差異的としたが、これを差異的ではなく、等比間隔とし
た方が望ましい。さらに、受光信号の波形はピーク付近
で緩やかになっているので、最初に到達するピークに最
も近いレベルを使用せず2番目あるいは3番目に到達す
る信号である波形の急峻な部分を利用できるレベルを使
用することが有効である。即ち1/2ピーク付近をスト
ップ信号として使用することになり、その分の時間補正
が必要となるが1レベル差に対する測定時間変動が少な
くなると言う利点がある。目標の反射率その他の原因に
より受光する波形A,Bにおいてピーク値は異なっても
レーザ波形本来の形は変形しないので、波形のピークの
1/2となる付近からピークに至るまでの時間はピーク
値の大小に拘わらずほぼ一定となるので、その時間の補
正され行えば変化の度合いの少ないピーク付近を使用す
る必要はない。そしてレベル間隔を適当に選定すること
により、時間誤差も小さく出来るので、所定の測距精度
を得ることが可能となる。
Practically, the level interval may be selected according to the required accuracy in consideration of the complexity allowed in the device.
In addition, although the level intervals are different in the above example for the sake of convenience of explanation, it is preferable that the level intervals are not constant but are equal ratio intervals. Furthermore, since the waveform of the received light signal is gentle near the peak, the level that is the signal that reaches the second or third peak can be used without using the level that is closest to the first peak. It is useful to use That is, the vicinity of the 1/2 peak is used as a stop signal, and time correction is required for that amount, but there is an advantage that the measurement time fluctuation for one level difference is reduced. Even if the peak values of the received waveforms A and B are different due to the target reflectance and other reasons, the original shape of the laser waveform is not deformed. Therefore, the time from the peak of the waveform to the peak becomes half. Since it becomes almost constant regardless of the magnitude of the value, it is not necessary to use the vicinity of the peak where the degree of change is small if the time is corrected. By properly selecting the level interval, the time error can be reduced, so that it is possible to obtain a predetermined distance measurement accuracy.

【0026】[0026]

【発明の効果】以上説明したように本発明は、受光レベ
ルが変動してもこれを一定化することなく正しく伝搬時
間を計測して測距可能とすることにより、受光レベルの
強弱に関係なく、目標までの高精度の距離計測が可能と
なるという効果がある。
As described above, according to the present invention, even if the light-receiving level fluctuates, the propagation time can be accurately measured and the distance can be measured without stabilizing the light-receiving level. There is an effect that it is possible to measure the distance to the target with high accuracy.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明の原理を説明するための図である。FIG. 2 is a diagram for explaining the principle of the present invention.

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

1 レーザ発振器 2 送受信光学系 3 受光回路 4 カウンタ回路 5 比較回路 6 遅延回路群 7 判別回路 8 演算回路 9 表示回路 10 目標 1 Laser Oscillator 2 Transmission / Reception Optical System 3 Light-Receiving Circuit 4 Counter Circuit 5 Comparison Circuit 6 Delay Circuit Group 7 Discrimination Circuit 8 Arithmetic Circuit 9 Display Circuit 10 Target

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 レーザ光の送光タイミングと、目標から
の反射光の受光タイミングとの時間差を計測して目標ま
での距離を計測するレーザ測距装置において、相異る複
数の比較値としての動作レベルで受光レーザ光のレベル
比較を行ない前記動作レベルに対応した出力を送出する
複数の比較回路と、前記複数の比較回路の出力のそれぞ
れに対して前記動作レベルの大小順に対応して出力順が
決定されるように時間遅延を付与する複数の遅延回路
と、前記複数の遅延回路の出力に対してあらかじめ設定
する判定基準にもとづく出力順により一つの出力を選定
し、この出力を見掛の受光レーザ光として目標までの見
掛の伝搬時間の計測に供する判定回路と、前記見掛の伝
搬時間に対して前記複数の遅延回路による遅延時間の付
与と前記判定回路による出力選定の際の出力順にもとづ
く遅延時間の補正を施して受光レーザ光のピーク値近傍
の真の受光タイミングを決定し真の伝搬時間を求めて目
標までの距離を計測する演算回路とを備えて成ることを
特徴とするレーザ測距回路。
1. A laser range finder for measuring a distance to a target by measuring a time difference between a timing of transmitting a laser beam and a timing of receiving a reflected light from the target, and a plurality of different comparison values are set as different comparison values. A plurality of comparison circuits for comparing the levels of the received laser light at the operation levels and sending outputs corresponding to the operation levels, and an output order corresponding to each of the outputs of the plurality of comparison circuits in order of magnitude of the operation level. A plurality of delay circuits for giving a time delay so that the output is determined, and one output is selected according to the output order based on a judgment standard preset with respect to the outputs of the plurality of delay circuits. A determination circuit for measuring an apparent propagation time to a target as received laser light, a delay time provided by the plurality of delay circuits with respect to the apparent propagation time, and the determination circuit. Equipped with an arithmetic circuit that corrects the delay time based on the output order when selecting the output to determine the true light reception timing near the peak value of the received laser light, calculates the true propagation time, and measures the distance to the target. A laser distance measuring circuit characterized by comprising:
JP25903691A 1991-10-07 1991-10-07 Range finder by laser Pending JPH05100026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25903691A JPH05100026A (en) 1991-10-07 1991-10-07 Range finder by laser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25903691A JPH05100026A (en) 1991-10-07 1991-10-07 Range finder by laser

Publications (1)

Publication Number Publication Date
JPH05100026A true JPH05100026A (en) 1993-04-23

Family

ID=17328446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25903691A Pending JPH05100026A (en) 1991-10-07 1991-10-07 Range finder by laser

Country Status (1)

Country Link
JP (1) JPH05100026A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0587582U (en) * 1992-04-17 1993-11-26 株式会社ニコン Distance measuring device
CN107272012A (en) * 2017-07-13 2017-10-20 重庆航天机电设计院 A kind of laser ranging circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0587582U (en) * 1992-04-17 1993-11-26 株式会社ニコン Distance measuring device
CN107272012A (en) * 2017-07-13 2017-10-20 重庆航天机电设计院 A kind of laser ranging circuit

Similar Documents

Publication Publication Date Title
US5262837A (en) Laser range finder
US4699508A (en) Method of measuring the distance of a target and apparatus for its performance
JP4828167B2 (en) Distance measuring apparatus and method
US7920248B2 (en) Method and apparatus for optoelectronic contactless range finding using the transit time principle
JPH10246783A (en) Optical sensor using light transmission time
JPH1123709A (en) Distance-measuring device
EP1321740B1 (en) Light-wave rangefinder using a pulse method
JP2955007B2 (en) Pulse transit time measuring device
US7193692B2 (en) Laser range finder and method to measure a distance
JP2000206244A (en) Distance-measuring apparatus
JPH05100026A (en) Range finder by laser
JPH11352226A (en) Highly accurate distance-measuring apparatus
JP2853350B2 (en) Laser distance measuring device
JP2500733B2 (en) Laser distance measuring device
JPH05223928A (en) Pulse radar
JP3236941B2 (en) Distance measurement method for lightwave distance meter
JPH09197044A (en) Laser distance measuring device
JPH05231818A (en) Laser distance measuring device
JPH10153660A (en) Distance-measuring device
JPH0381687A (en) Laser distance measuring instrument
JP2856042B2 (en) Radar equipment for vehicles
JPH09287914A (en) Laser distance-measuring apparatus
JPH07198846A (en) Distance measuring apparatus
JPH0921871A (en) Semiconductor laser distance measuring device
JPH05172945A (en) Vehicle-to-vehicle distance detecting device