JPH03211485A - Distance measuring instrument - Google Patents

Distance measuring instrument

Info

Publication number
JPH03211485A
JPH03211485A JP791490A JP791490A JPH03211485A JP H03211485 A JPH03211485 A JP H03211485A JP 791490 A JP791490 A JP 791490A JP 791490 A JP791490 A JP 791490A JP H03211485 A JPH03211485 A JP H03211485A
Authority
JP
Japan
Prior art keywords
time
signal
reception
microcomputer
transmitter
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
JP791490A
Other languages
Japanese (ja)
Inventor
Hideyuki Takahashi
秀幸 高橋
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP791490A priority Critical patent/JPH03211485A/en
Publication of JPH03211485A publication Critical patent/JPH03211485A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

PURPOSE:To prevent mismeasurement due to an unnecessary signal and to simplify the hardware constitution by measuring the distance to a body which reflects an ultrasonic wave signal with a received signal which is received within the permissible time of reception interruption. CONSTITUTION:A ROM 11 is stored with a specific program and a microcomputer MPU 8 reads it in and executes its instructions. A burst wave electric signal which is sent out of a transmitter 7 by receiving a transmission command is applied to a transmitter receiver 1 and converted into an ultrasonic wave signal, which is sent into water 2. This signal is reflected by the sea bottom 3 and reconverted by the transmitter receiver 1 into the electric signal, which is amplified by an amplifier 5 to a constant level. When the amplifier output which is larger than the constant level is inputted, an interruption is initiated at time T1 and the MPU 8 obtains time T1 and allows an interruption in next measurement in only the time T1+ or -TG obtained by adding and subtracting time TG to and from last reception time T1. Subsequent measuring operation is performed similarly. Thus, the acceptance time is set to remove unnecessary signals which are not in this time, thereby preclude the mismeasurement.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は距離測定装置に関し、特に海底等の深度を計測
するのに用いられるデジタル測深機に好適な距離測定装
置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a distance measuring device, and particularly to a distance measuring device suitable for a digital depth sounder used to measure the depth of the ocean floor or the like.

〔従来技術〕[Prior art]

従来この種の分野の技術としては、特開昭56−229
07号公報に開示された超音波による距離測定装置があ
った。
Conventionally, as a technology in this kind of field, Japanese Patent Application Laid-Open No. 56-229
There was an ultrasonic distance measuring device disclosed in Publication No. 07.

第3図は上記距離測定装置の構成を示すブロック図であ
る。図中、31はパルスオシレータ、32はパルス変調
器、33は送波器、34は受波器、35は増幅器、36
はレベル検出器、37は計数器、38はメモリー 39
.53は比較器、46.52はバッファメモリー 41
はゲート、47.50は平均回路、49.51は減算回
路である。前記平均回路47.50は、例えばシフトレ
ジスタ、加算回路、除算回路で構成される。
FIG. 3 is a block diagram showing the configuration of the distance measuring device. In the figure, 31 is a pulse oscillator, 32 is a pulse modulator, 33 is a transmitter, 34 is a receiver, 35 is an amplifier, 36
is a level detector, 37 is a counter, 38 is a memory 39
.. 53 is a comparator, 46.52 is a buffer memory 41
is a gate, 47.50 is an average circuit, and 49.51 is a subtraction circuit. The averaging circuits 47 and 50 are composed of, for example, a shift register, an addition circuit, and a division circuit.

上記構成の距離測定装置において、パルスオシレータ3
1で送信タイミングを作り、パルス変調器32で送信の
周波数に変調し送波器33で超音波信号に変換し、これ
を水中に送出する。超音波信号は水中を距離りだけ伝搬
し、海底40で反射され受波器34で受波され再び電気
信号に変換される。この電気信号は増幅器35によって
一定しベル迄増幅され、レベル検出器36に加えられ、
受信レベルが一定レベル以上に達すると受信信号パルス
43を送出する。
In the distance measuring device having the above configuration, the pulse oscillator 3
1 creates a transmission timing, a pulse modulator 32 modulates the transmission frequency, a transmitter 33 converts it into an ultrasonic signal, and sends this into the water. The ultrasonic signal propagates through the water for a distance, is reflected by the seabed 40, is received by the receiver 34, and is converted back into an electrical signal. This electrical signal is amplified to a constant level by an amplifier 35 and applied to a level detector 36.
When the reception level reaches a certain level or higher, a reception signal pulse 43 is sent out.

平均回路47には過去に測定した時の距離データが入っ
ており、その複数データの移動平均を求めるようになっ
ている。減算回路49は平均回路47の平均出力(平均
値)48から一定の値に1を減算する。この結果はバッ
ファメモリー46に記憶きれ次回の測定に備える。
The averaging circuit 47 contains distance data measured in the past, and calculates a moving average of a plurality of the data. A subtraction circuit 49 subtracts 1 from the average output (average value) 48 of the averaging circuit 47 to a constant value. This result is stored in the buffer memory 46 and is ready for the next measurement.

一方計数器37はスタートパルス42の入力によって計
数を開始し、この出力は比較器39に送られるが、比較
器39はバッファメモリー46に収容されている距離の
値に一致する迄比較出力を発生せず、これ以前に受信信
号パルス43の入力があってもゲート41は禁止する。
On the other hand, the counter 37 starts counting by inputting the start pulse 42, and this output is sent to the comparator 39, which generates a comparison output until it matches the distance value stored in the buffer memory 46. Even if the received signal pulse 43 is input before this, the gate 41 is prohibited.

計数器37の内容がバッファメモリー46の内容以上の
距離ニなると比較器39は比較出力44を送出し、これ
以後の受信信号パルス43はゲート41を通りメモリー
ハルス45としてメモリー38に加エラれ、メモリー3
8はその時点の計数器37の内容を記憶する。このデー
タは平均回路47に送られ次回の測定に備える。
When the content of the counter 37 reaches a distance greater than the content of the buffer memory 46, the comparator 39 sends out a comparison output 44, and subsequent received signal pulses 43 pass through the gate 41 and are added to the memory 38 as a memory Hals 45. memory 3
8 stores the contents of the counter 37 at that time. This data is sent to the averaging circuit 47 in preparation for the next measurement.

同様に平均回路50、減算回路51、バッファメモリー
52及び比較器53は動作する。なお、54は比較器5
3の比較出力である。
Similarly, the averaging circuit 50, the subtraction circuit 51, the buffer memory 52, and the comparator 53 operate. In addition, 54 is the comparator 5
This is the comparison output of No. 3.

平均回路47は比較的少数データの平均化を行ない測定
値に対して速い時定数で追随するようになっており、平
均回路50は比較的多数のデータの平均化を行ない測定
値に対して遅い時定数で追随するようになっている。ま
た、上記減算の定数は常にKl<K2とし、通常禁止ゲ
ートは平均回路50によって生じる側が時間的に早く動
作するように設定する。これにより時間的にランダムな
雑音を除去し得る。
The averaging circuit 47 averages a relatively small amount of data and follows the measured value with a fast time constant, and the averaging circuit 50 averages a relatively large amount of data and follows the measured value slowly. It follows with a time constant. Further, the constant for the above-mentioned subtraction is always Kl<K2, and the normal prohibition gate is set so that the side generated by the averaging circuit 50 operates earlier in time. This allows temporally random noise to be removed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来構成の距離測定装置は、超音波を用いて水中等
の距離測定を行なう場合、変化する測定値に対応して雑
音除去のための禁止ゲートを自動的に設定できるという
作用効果を奏するが、第3図に示す如くハードウェアの
構成が大きくなるという欠点を有している。
The conventional distance measuring device described above has the advantage of being able to automatically set a prohibition gate for noise removal in response to changing measured values when measuring distance underwater using ultrasonic waves. , as shown in FIG. 3, has the disadvantage that the hardware configuration becomes large.

本発明は上述の点に鑑みてなきれたもので、上記従来の
ハードウェア構成が大きいこと、即ち装置構成部品の増
大という欠点を除去し、マイクロコンピュータを利用す
ることによりハードウェア構成が小きくて済む距離測定
装置を提供することにある。
The present invention has been developed in view of the above points, and eliminates the drawback of the conventional hardware configuration being large, that is, the number of device components increases, and reduces the hardware configuration by using a microcomputer. The object of the present invention is to provide a distance measuring device that can be used easily.

〔課題を解決するための手段〕[Means to solve the problem]

し、該超音波波信の反射信号を送波器で”受波し、送信
から受信迄の時間により、超音波波信号を反射させた物
体までの距離を計測する距離測定装置において、制御部
にマイクロコンピュータを用い、該マイクロコンピュー
タに前回受信した受信時間の前後に定めた所定の時間巾
にだけ受信割込みを許可する手段を設け、該受信割込が
許可された時間内に受信きれた受信信号により、距離を
計測することを特徴とする。
In a distance measuring device that receives the reflected signal of the ultrasonic wave signal with a transmitter and measures the distance to the object that reflected the ultrasonic wave signal based on the time from transmission to reception, the control unit A microcomputer is used in the process, and the microcomputer is provided with a means for permitting reception interrupts only during a predetermined time period set before and after the reception time of the previous reception, and when the reception is completed within the time period during which the reception interrupt is permitted. It is characterized by measuring distance using signals.

〔作用〕[Effect]

上記のように制御部にマイクロコンピュータを用い、ソ
フト的に前回受信した受信時間の前後に定めた所定の時
間巾にだけ受信割込みを許可し、該受信割込が許可され
た時間内に受信された受信信号により、その送信から受
信迄の時間より距離を計測するので、不要な信号により
誤計測が防止できると同時に、誤計測が防止のためのハ
ードの回路構成が極めて簡単となる。
As mentioned above, a microcomputer is used in the control unit to allow reception interrupts only during a predetermined time period set before and after the reception time of the previous reception using software, and if the reception interrupt is received within the permitted time. Since the distance is measured based on the time from transmission to reception using the received signal, it is possible to prevent erroneous measurements due to unnecessary signals, and at the same time, the hardware circuit configuration for preventing erroneous measurements is extremely simple.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図は本発明の距離測定装置を海底の深度を測定する
測深機に用いた例を示すブロック図である。同図におい
て、1は送受波器、2は水中、3は海底、4は送受切替
器、5は増幅器、6はレベル検出器、7は送信器、8は
マイクロコンビュー夕、9はタイマー 10はRAM(
書込み読出しメモリ)、11はROM(読出し専用メモ
リ)、12は表示器である。上記構成の測深機の動作を
以下に説明する。
FIG. 1 is a block diagram showing an example in which the distance measuring device of the present invention is used in a depth sounder for measuring the depth of the seabed. In the figure, 1 is a transducer, 2 is underwater, 3 is on the ocean floor, 4 is a transceiver switch, 5 is an amplifier, 6 is a level detector, 7 is a transmitter, 8 is a microconverter, 9 is a timer 10 is RAM (
11 is a ROM (read-only memory), and 12 is a display. The operation of the sounder having the above configuration will be explained below.

ROMIIにはマイクロコンピュータ8を動作させるプ
ログラムが格納されている。プログラムが読込まれて、
マイクロコンピュータ8は命令を実行する。
A program for operating the microcomputer 8 is stored in the ROMII. The program is loaded,
Microcomputer 8 executes instructions.

まず、送信器7に対して送信指令を送る。送信器7は送
信指令を受は取ると、そのパルス巾の間だけ定められた
周波数のバースト波を送受切替器4に送り出す。このバ
ースト波は送受切替器4を経て、送受波器1に加えられ
る。
First, a transmission command is sent to the transmitter 7. When the transmitter 7 receives a transmission command, it sends out a burst wave of a predetermined frequency to the transmitter/receiver switch 4 only during the pulse width. This burst wave is applied to the transducer 1 via the transceiver switch 4.

送受波器1は上記バースト波電気信号を超音波信号に変
換して水中2に送出する。この超音波信号は海底3で反
射され送受波器1で受波され、再び電気信号に変換され
る。この変換された電気信号は送受切替器4を経て、増
幅器5に加えられて一定しベル迄増幅される。さらにレ
ベル検出器6で一定レベル以上の受波があると、マイク
ロコンピュータ8にパルス波を送出する。このパルス波
はマイクロコンピュータ8の割込みラインに入力され、
受波が一定レベル以上で受信きれたことをマイクロコン
ピュータ8に通知する。
The transducer 1 converts the burst wave electrical signal into an ultrasonic signal and sends it into the water 2. This ultrasonic signal is reflected by the seabed 3, received by the transducer 1, and converted into an electrical signal again. This converted electric signal passes through a transmitter/receiver switch 4, is applied to an amplifier 5, and is amplified to a constant level. Furthermore, if the level detector 6 receives a wave of a certain level or higher, it sends out a pulse wave to the microcomputer 8. This pulse wave is input to the interrupt line of the microcomputer 8,
The microcomputer 8 is notified that the received wave has been received at a certain level or higher.

一方、タイマー9は、一定時間毎に割込みラインを用い
てマイクロコンピュータ8に時間を通知する。これによ
り、マイクロコンピュータ8は送信時点からレベル検出
器6の出力が割込む迄の時間を計測することができる。
On the other hand, the timer 9 notifies the microcomputer 8 of the time using an interrupt line at regular intervals. Thereby, the microcomputer 8 can measure the time from the time of transmission until the output of the level detector 6 interrupts.

この時間をt(seC)とすると深度D(m)は、 D=1/2ct で求められる。ここでCは超音波信号が水中を伝搬する
速度である。
If this time is t (seC), the depth D (m) can be found as D=1/2ct. Here C is the speed at which the ultrasound signal propagates through water.

一方、マイクロコンピュータ8の内部では以下に詳細に
示すゲートのソウトウエアにより海底からの反射信号以
外不要な信号を除去する処理を行なう。
On the other hand, inside the microcomputer 8, gate software described in detail below performs processing to remove unnecessary signals other than signals reflected from the seabed.

第2図は上記ゲートの動作を説明するための波形図であ
る。同図において、Aは増幅器5の出力レベルを示して
いる。一定レベル以上の増幅器5の出力が時間T、で入
力きれると、時間T+に割込みが入りマイクロコンピュ
ータ8が時間T1を得たとする。
FIG. 2 is a waveform diagram for explaining the operation of the gate. In the figure, A indicates the output level of the amplifier 5. Assume that when the output of the amplifier 5 of a certain level or higher is input at time T, an interrupt occurs at time T+ and the microcomputer 8 obtains time T1.

次回の測定ではソフト的に前回の受信時間T。The next measurement will use the previous reception time T in software.

に所定時間プラスマイナスした時間T、±TGの時間だ
けしか割込みを許可しない。つまり同図Bに示すように
2TGの区間のみしか受信の割込みを許可しないように
する。このゲート時間山内に同図Cに示すような受波は
受付けられると、時間T、を得る。次の測定の時はT、
土TG、つまり同図りに示すように前回の受信時間T2
に所定の時間巾TGをプラスマイナスした受付時間が設
定きれる。
Interrupts are permitted only for a time T, ±TG, which is a predetermined time plus or minus a predetermined time. In other words, as shown in Figure B, reception interrupts are permitted only in the 2TG period. If a received wave as shown in C in the figure is received within this gate time peak, time T is obtained. T for the next measurement.
Saturday TG, that is, the previous reception time T2 as shown in the same figure.
The reception time can be set by adding or subtracting a predetermined time width TG.

次の回の測定で受波が何らかの原因で得られなかったと
すると、この時のゲートはT、±TG士TEの時間巾を
設定しゲートを少し広げる。つまり同図Eに示すように
受付は時間を設定する。きらに次の回にも受波が得られ
ないとすると、同図Fに示すようにT、±TG±2TE
なる時間巾のゲートを設定する。
If reception is not obtained for some reason in the next measurement, the gate at this time is set to a time width of T, ±TG and TE, and the gate is widened a little. In other words, the reception time is set as shown in E of the same figure. Assuming that the wave cannot be received the next time, T, ±TG ± 2TE as shown in F of the same figure.
Set a gate with a time span of

この時同図Gに示すようにゲート内に受波を得、時間T
、の計測時間を得ると、その次の回にはT、±TGのゲ
ート設定する。つまり同図Hに示すように受付時間を設
定する。つまり割込許可時間を前の測定時の送信指令か
ら受波迄の時間を中心に設定することにより、この時間
以外にある不要信号を除去し、誤計測を防止することが
できる。なお、上記実施例では海底の深度を測定するデ
ジタル測深機を例に説明したが、本発明はこれに限定さ
れるものではなく、超音波信号を送信し、その反射信号
を受信し、送信から受信までの時間より、本装置と反射
物体との距離を測定する距離測定装置に利用できる。
At this time, a wave is received inside the gate as shown in G in the same figure, and the time T
When the measurement time of , is obtained, the gates of T and ±TG are set for the next time. In other words, the reception time is set as shown in FIG. In other words, by setting the interrupt permission time around the time from the transmission command to the wave reception during the previous measurement, unnecessary signals outside this time can be removed and erroneous measurements can be prevented. In the above embodiment, a digital sounder that measures the depth of the ocean floor was used as an example, but the present invention is not limited to this. It can be used as a distance measuring device that measures the distance between this device and a reflecting object based on the time until reception.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば下記のような優れた
効果が得られる。
As explained above, according to the present invention, the following excellent effects can be obtained.

(1)マイクロコンピュータを用い、受信割込みにより
、送信から受信迄の時間を測定して距離を計測するよう
に構成するので装置のハード部分が小型化できる。
(1) Since a microcomputer is used and the distance is measured by measuring the time from transmission to reception using a reception interrupt, the hardware part of the device can be miniaturized.

(2)また、ソフトウェアで前回受信した受信時間の前
後に定めにれた所定の時間巾にだけ受信割込みを許可す
る手段を設け、この割込みが許可きれた時間内に受信さ
れた受信信号で計測するので、不要な信号による誤計測
を防止できる。
(2) In addition, a means is provided to enable reception interrupts only during a predetermined time period before and after the reception time of the previous reception using software, and measurement is performed using reception signals received within the time period during which this interrupt is permitted. Therefore, erroneous measurements due to unnecessary signals can be prevented.

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

第1図は本発明の距離測定装置の構成を示すブロック図
、第2図は本発明の距離測定装置のゲートの動作を説明
するための波形図、第3図は従来の距離測定装置の構成
を示すブロック図である。 図中、1・・・・送受波器、2・・・・水中、3・・・
・海底、4・・・・送受切替器、5・・・・増幅器、6
・・・・レベル検出器、7・・・・送信器、8・・・・
マイクロコンピュータ、9・・・・タイマー 10・・
・・RAM、11・・・・ROM、12・・・・表示器
Fig. 1 is a block diagram showing the configuration of the distance measuring device of the present invention, Fig. 2 is a waveform diagram for explaining the operation of the gate of the distance measuring device of the present invention, and Fig. 3 is the configuration of the conventional distance measuring device. FIG. In the figure, 1... transducer, 2... underwater, 3...
・Undersea, 4...transmission/reception switch, 5...amplifier, 6
... Level detector, 7 ... Transmitter, 8 ...
Microcomputer, 9...Timer 10...
...RAM, 11...ROM, 12...Display.

Claims (1)

【特許請求の範囲】 制御部からの送信指令により、送信器から所定周波数の
電気送信信号を送波器に出力し、超音波信号に変換して
送出し、該超音波波信の反射信号を送波器で受波し電気
信号に変換し、前記制御部にて送信から受信迄の時間に
より、前記超音波波信を反射させた物体までの距離を計
測する距離測定装置において、 前記制御部にマイクロコンピュータを用い、該マイクロ
コンピュータに前回受信した受信時間の前後に定めた所
定の時間巾にだけ受信割込みを許可する手段を設け、 該受信割込が許可された時間内に受信された受信信号に
より、前記超音波波信を反射させた物体までの距離を計
測することを特徴とする距離測定装置。
[Claims] In response to a transmission command from the control unit, the transmitter outputs an electrical transmission signal of a predetermined frequency to the wave transmitter, converts it into an ultrasonic signal and sends it out, and generates a reflected signal of the ultrasonic wave signal. In a distance measuring device that receives a wave with a wave transmitter, converts it into an electric signal, and measures a distance to an object that reflects the ultrasonic wave signal based on the time from transmission to reception in the control unit, the control unit A microcomputer is used in the microcomputer, and the microcomputer is provided with a means for permitting reception interrupts only during a predetermined time period set before and after the reception time of the previous reception, and the reception interrupt is received within the time period during which the reception interrupt is permitted. A distance measuring device characterized in that the distance to an object that reflects the ultrasonic wave signal is measured using a signal.
JP791490A 1990-01-17 1990-01-17 Distance measuring instrument Pending JPH03211485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP791490A JPH03211485A (en) 1990-01-17 1990-01-17 Distance measuring instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP791490A JPH03211485A (en) 1990-01-17 1990-01-17 Distance measuring instrument

Publications (1)

Publication Number Publication Date
JPH03211485A true JPH03211485A (en) 1991-09-17

Family

ID=11678810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP791490A Pending JPH03211485A (en) 1990-01-17 1990-01-17 Distance measuring instrument

Country Status (1)

Country Link
JP (1) JPH03211485A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0735854A (en) * 1993-06-29 1995-02-07 Samsung Electron Co Ltd Obstacle distance measuring device and method using ultrasonic sensor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0735854A (en) * 1993-06-29 1995-02-07 Samsung Electron Co Ltd Obstacle distance measuring device and method using ultrasonic sensor

Similar Documents

Publication Publication Date Title
US4313183A (en) Acoustic distance measuring method and apparatus
JPH06341838A (en) Doppler shift correction pulse-type fishing-net depth meter
US3953823A (en) Velocity measurement apparatus using pulsed ultrasonic waves
JPS5570761A (en) Ultrasonic wave distance meter
JPH03211485A (en) Distance measuring instrument
JPH0232285A (en) Disturbance suppression method and device in ultrasonic distance measurement
RU2032154C1 (en) Ultrasonic level meter
JPS61172085A (en) Range finding type matter detection apparatus
JPH0135309B2 (en)
JP2900670B2 (en) Vehicle speed detection method
JPH03180794A (en) Method and instrument for ultrasonic distance measurement
JPS5839288B2 (en) Ultrasonic thickness gauge
JPS581372B2 (en) Choyo Onpaon Sokuteisouchi
JP2801997B2 (en) Tidal current measurement method
JP2828678B2 (en) Ultrasonic detector
JPH0882673A (en) Ultrasonic distance-measuring apparatus
JPS59188583A (en) Ultrasonic sensor
JPS63311192A (en) Ultrasonic range finder
JPS5928872B2 (en) acoustic sounding instrument
SU1744509A1 (en) Device for measurement of ultrasound velocity
JPH051166Y2 (en)
JP2849417B2 (en) Ultrasonic detector
JPS5916376B2 (en) Ultrasonic switch noise removal circuit
JPH02147920A (en) Measurement of sound velocity in paper
JPH0894740A (en) Ultrasonic distance measuring apparatus