JPH01221690A - Ultrasonic distance sensor - Google Patents
Ultrasonic distance sensorInfo
- Publication number
- JPH01221690A JPH01221690A JP4796988A JP4796988A JPH01221690A JP H01221690 A JPH01221690 A JP H01221690A JP 4796988 A JP4796988 A JP 4796988A JP 4796988 A JP4796988 A JP 4796988A JP H01221690 A JPH01221690 A JP H01221690A
- Authority
- JP
- Japan
- Prior art keywords
- ultrasonic
- distance
- microcomputer
- counter
- conversion part
- 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
Links
- 238000005070 sampling Methods 0.000 claims abstract description 6
- 238000000605 extraction Methods 0.000 claims abstract description 5
- 238000006243 chemical reaction Methods 0.000 abstract description 5
- 238000001514 detection method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Length Measuring Devices Characterised By Use Of Acoustic Means (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は超音波パルスの伝播時間を利用して対象物体ま
での距離を検出する超音波距離センサに関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an ultrasonic distance sensor that detects the distance to a target object using the propagation time of ultrasonic pulses.
超音波振動子から対象物体が存在する方向に超音波パル
スを発射し、この超音波パルスが対象物体に当って反射
し、再び元の超音波振動子に戻って(るように構成し、
この超音波パルスが発射されるごとに、この超音波パル
スの発射時点からその反射波を元の超音波振動子で受波
するまでの時間を計測して超音波振動子から対象物体ま
での距離を検出し、この距離データを出力する超音波距
離センサが知られている。An ultrasonic pulse is emitted from an ultrasonic transducer in the direction of a target object, and the ultrasonic pulse hits the target object, is reflected, and returns to the original ultrasonic transducer,
Each time this ultrasonic pulse is emitted, we measure the time from the time the ultrasonic pulse is emitted until the reflected wave is received by the original ultrasonic transducer, and calculate the distance from the ultrasonic transducer to the target object. An ultrasonic distance sensor that detects distance data and outputs this distance data is known.
上述の超音波距離センサは超音波振動子が超音波パルス
を発射するごとに対象物体までの距離を検出し、このデ
ータを出力するので超音波距離センサと対象物体の距離
との組合わせによっては検出回数が多く、出力が密にな
り過ぎるという欠点があった。The above-mentioned ultrasonic distance sensor detects the distance to the target object every time the ultrasonic transducer emits an ultrasonic pulse and outputs this data, so depending on the combination of the ultrasonic distance sensor and the distance of the target object, The disadvantage is that the number of detections is large and the output is too dense.
本発明の目的は外部からサンプリング間隔を調整し、出
力の周期を変えられるようにした超音波距離センサを提
供することにある。An object of the present invention is to provide an ultrasonic distance sensor in which the sampling interval can be adjusted externally and the output cycle can be changed.
本発明は上述の課題を解決するため、周期的に超音波パ
ルスを発射し、この超音波パルスが対象物体に当り反射
してこの超音波の発射点に戻ってくるまでの時間を計測
し、その都度前記計測データから対象物体までの距離を
検出する距離検出手段を備え、この距離検出手段が検出
した距離を電゛ 正値で出力する超音波距離センサに
おいて、前記距離検出手段が検出したデータを抽出し、
この抽出周期が調節可能なサンプリングゲートを設けた
ものである。In order to solve the above-mentioned problems, the present invention periodically emits ultrasonic pulses, measures the time until the ultrasonic pulse hits a target object, is reflected, and returns to the emission point of the ultrasonic wave, In an ultrasonic distance sensor that includes distance detection means for detecting the distance to a target object from the measurement data each time, and outputs the distance detected by the distance detection means as a positive value, the distance detection means detects the data. extract,
A sampling gate whose extraction period can be adjusted is provided.
本発明では距離検出手段から出力するデータ信号が多す
ぎる場合、サンプリングゲートによりこのデータを抽出
して出力するもので、この抽出回数を調節可能としたも
のである。In the present invention, when there are too many data signals output from the distance detecting means, this data is extracted and output by a sampling gate, and the number of times of extraction can be adjusted.
本発明の実施例を第1図に示す結線図に基づいて説明す
る。ここで超音波距離センサは、超音波振動子1、超音
波発射回路2、超音波受波回路3、直流電源4とこの直
流電源4の電圧を可変にする可変抵抗器4asワンチツ
プマイクロコンビエータ(以下単にマイコンと称す)
5、出力回路6などを備え超音波発射回路2はマイコン
5の指令で超音波周波を発振し、超音波振動子lから超
音波パルスを発射するように接続されている。超音波受
波回路3は超音波振動子lが電気パルスに変えて受信し
た超音波パルスを増幅してマイコン5に入力するように
接続されている。マイコン5はROM、RAMのほかに
アナログデジタル変換部(以下A/D変換部と称す)5
a1プリセツトカウンタ5bなどを備え、各部を制御す
るとともに超音波振動子1から発射された超音波パルス
が対象物体に当って再び超音波振動子1に到達するまで
の時間を演算し、距離に換算する。すなわちマイコン1
は距離検出手段の役目をする。またマイコン5のA/D
変換部5aは電源4から印加される電圧を可変抵抗器4
aにより調節された電圧をデジタル値に変換してプリセ
ットカウンタ5bにセットする。そしてこのセットされ
たデジタル値の大小で出力の周期が決定される。すなわ
ち電源4、可変抵抗器4a、A/D変換部5asプリセ
ットカウンタ5bがサンプリングゲートの役目をする。An embodiment of the present invention will be described based on the wiring diagram shown in FIG. Here, the ultrasonic distance sensor consists of an ultrasonic transducer 1, an ultrasonic emitting circuit 2, an ultrasonic receiving circuit 3, a DC power source 4, and a variable resistor 4as one-chip micro combinator that makes the voltage of the DC power source 4 variable. (hereinafter simply referred to as microcomputer)
5. The ultrasonic emitting circuit 2, which includes an output circuit 6 and the like, is connected to oscillate an ultrasonic frequency according to a command from a microcomputer 5, and emit an ultrasonic pulse from an ultrasonic transducer l. The ultrasonic receiving circuit 3 is connected so that the ultrasonic transducer l converts the received ultrasonic pulse into an electric pulse, amplifies it, and inputs the amplified ultrasonic pulse to the microcomputer 5. In addition to ROM and RAM, the microcomputer 5 also has an analog-to-digital conversion section (hereinafter referred to as A/D conversion section) 5.
Equipped with a1 preset counter 5b, etc., it controls each part and calculates the time until the ultrasonic pulse emitted from the ultrasonic transducer 1 hits the target object and reaches the ultrasonic transducer 1 again, and calculates the distance. Convert. In other words, microcomputer 1
serves as a distance detection means. Also, A/D of microcomputer 5
The converter 5a converts the voltage applied from the power source 4 to the variable resistor 4.
The voltage adjusted by a is converted into a digital value and set in the preset counter 5b. The output cycle is determined by the magnitude of this set digital value. That is, the power supply 4, the variable resistor 4a, the A/D converter 5as, and the preset counter 5b serve as a sampling gate.
以下この超音波距離センサの動作を第2図に示すフロー
チャートを参照しながら説明する。第2図のS番号はフ
ローチャートの各段階の番号を示す、まず可変抵抗器4
aを調節してA/D変換部5aに適当な電圧を印加し、
マイコン5をスタートする。A/Di換部5aは可変抵
抗器4aにより調節して印加されたアナログ電圧をデジ
タル値に変換しくS 1)、このデジタル値をプリセッ
トカウンタ5bにセットする (S2)、次に超音波発
射回路2で作られたトーンバスト信号を超音波振動子1
から超音波パルスとして発射しくS3)、対象物体から
の反射波を超音波振動子lで受波し電気パルスに変えて
この電気パルスを受渡回路3で増幅処理し、マイコン5
に送る (S4)、このとき受波信号がなければ受渡信
号が入るまで繰返される。マイコン5は受渡信号を電気
パルスとして受けると超音波発射時点からの時間により
距離に換算し、この出力信号でカウンタ5bにセットさ
れた計数値を1だけ差引< (S6)、この計数値を
1だけ差引く操作は電気パルスが入力し距離換算するご
とに行われ、カウンタ5bのカウンタ値がOになるまで
続けられ、カウンタ値が0であることを確認する (s
7)と出力回路6に信号を送り距離データを出力する
(s8)、したがってA/D変換部4aに印加される電
圧が高く、カウンタ5bにプリセットされたデジタル値
が多ければ距離データの出力周期は長くなる。すなわち
距離データ出力の周期は外部から調節することができる
。The operation of this ultrasonic distance sensor will be explained below with reference to the flowchart shown in FIG. The S numbers in FIG. 2 indicate the numbers of each step in the flowchart.
A is adjusted to apply an appropriate voltage to the A/D converter 5a,
Start microcomputer 5. The A/Di converter 5a converts the applied analog voltage adjusted by the variable resistor 4a into a digital value (S1), sets this digital value in the preset counter 5b (S2), and then converts the applied analog voltage into a digital value (S2). The tone bust signal created in step 2 is sent to ultrasonic transducer 1.
The reflected wave from the target object is emitted as an ultrasonic pulse (S3), and the reflected wave from the target object is received by the ultrasonic transducer l, converted into an electric pulse, and this electric pulse is amplified by the delivery circuit 3, and the microcomputer 5
(S4), and if there is no reception signal at this time, the process is repeated until a delivery signal is received. When the microcomputer 5 receives the delivery signal as an electric pulse, it converts it into a distance based on the time from the time of ultrasonic emission, and uses this output signal to subtract 1 from the count value set in the counter 5b (S6), and converts this count value by 1. The operation of subtracting the distance is performed every time an electric pulse is input and the distance is converted, and continues until the counter value of the counter 5b reaches 0, and confirms that the counter value is 0 (s
7) and output the distance data by sending a signal to the output circuit 6.
(s8) Therefore, if the voltage applied to the A/D converter 4a is high and the number of digital values preset in the counter 5b is large, the output cycle of distance data becomes long. That is, the cycle of distance data output can be adjusted from the outside.
本発明によれば、外部から調節して印加する電圧で出力
同期を調節可能としたから1台のセンサで検出対象の距
離に合わせて精密広範囲な距離を検出できる超音波距離
センサが提供できる。According to the present invention, since the output synchronization can be adjusted by adjusting and applying a voltage from the outside, it is possible to provide an ultrasonic distance sensor that can precisely detect a wide range of distances according to the distance of a detection target with one sensor.
第1図は本発明による超音波距離センサの一実施例を示
すブロック図、第2図は第1図の超音波距離センサの動
作を示すフローチャートである。
4:直流電源、4a;可変抵抗器、58マイコン、5a
:A/D変換部、5b;プリセットカウンタ。
″5FIG. 1 is a block diagram showing an embodiment of the ultrasonic distance sensor according to the present invention, and FIG. 2 is a flowchart showing the operation of the ultrasonic distance sensor of FIG. 4: DC power supply, 4a; variable resistor, 58 microcomputer, 5a
: A/D converter, 5b; preset counter. ″5
Claims (1)
が対象物体に当り反射してこの超音波の発射点に戻って
くるまでの時間を計測し、その都度前記計測データから
対象物体までの距離を検出する距離検出手段を備え、こ
の距離検出手段が検出した距離を電圧値で出力する超音
波距離センサにおいて、前記距離検出手段が検出したデ
ータを抽出し、この抽出周期が調節可能なサンプリング
ゲートを設けたことを特徴とする超音波距離センサ。1) Periodically emit ultrasonic pulses, measure the time it takes for this ultrasonic pulse to hit the target object, be reflected, and return to the emission point of the ultrasonic wave, and each time measure the distance from the measured data to the target object. The ultrasonic distance sensor is equipped with a distance detecting means for detecting a distance, and outputs the distance detected by the distance detecting means as a voltage value, the data detected by the distance detecting means is extracted, and the extraction period is adjustable. An ultrasonic distance sensor characterized by having a sampling gate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4796988A JPH01221690A (en) | 1988-03-01 | 1988-03-01 | Ultrasonic distance sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4796988A JPH01221690A (en) | 1988-03-01 | 1988-03-01 | Ultrasonic distance sensor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01221690A true JPH01221690A (en) | 1989-09-05 |
Family
ID=12790149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4796988A Pending JPH01221690A (en) | 1988-03-01 | 1988-03-01 | Ultrasonic distance sensor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01221690A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06186016A (en) * | 1992-04-28 | 1994-07-08 | Natl Food Res Inst | Measuring-analyzing device for expansive force of bread dough |
-
1988
- 1988-03-01 JP JP4796988A patent/JPH01221690A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06186016A (en) * | 1992-04-28 | 1994-07-08 | Natl Food Res Inst | Measuring-analyzing device for expansive force of bread dough |
JP3101781B2 (en) * | 1992-04-28 | 2000-10-23 | 農林水産省食品総合研究所長 | Bread dough expansion force measurement / analysis device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0986091A3 (en) | Time of flight energy measurement apparatus for an ion beam implanter | |
JPS5742873A (en) | Emission ct | |
RU93051547A (en) | DEVICE FOR MEASURING DISTANCE USING ULTRASONIC | |
JPH01221690A (en) | Ultrasonic distance sensor | |
JPS6474465A (en) | Partial discharge position locating device | |
JPS6264973A (en) | Ultrasonic range finder | |
JP2828259B2 (en) | Fish finder | |
JPS6453186A (en) | Ultrasonic range finder | |
SU1095039A1 (en) | Device for measuring speed of ultrasound materials | |
WO2000013039A3 (en) | Method and system for measuring the distance from a piezoelectric element | |
JPH03295475A (en) | Surface potential measuring device | |
JPH07325151A (en) | Ultrasonic distance measuring equipment | |
JPS57187609A (en) | Measuring device for decrease in wall thickness | |
SU957098A1 (en) | Device for article quality control by acoustic emission method | |
KR0152725B1 (en) | Distance measurement method and apparatus using ultrasonic wave | |
RU2020866C1 (en) | Electron tonometer | |
JP2786546B2 (en) | Ultrasonic distance measuring device | |
SU580481A1 (en) | Device for measuring yield limit | |
JPS6413487A (en) | Ultrasonic detector | |
SU875224A2 (en) | Electronic ergometer | |
SU1296847A1 (en) | Device for measuring sound velocity | |
KR960012072B1 (en) | Wheel balancer | |
SU894552A1 (en) | Method of ultrasound speed determination | |
RU1820230C (en) | Device for measuring speed of propagation of ultrasonic oscillations | |
SU1700378A1 (en) | The method of fixation of the moment of acoustic signal entering and device for its realization |