JPH08304536A - Ultrasonic switch - Google Patents

Ultrasonic switch

Info

Publication number
JPH08304536A
JPH08304536A JP7114549A JP11454995A JPH08304536A JP H08304536 A JPH08304536 A JP H08304536A JP 7114549 A JP7114549 A JP 7114549A JP 11454995 A JP11454995 A JP 11454995A JP H08304536 A JPH08304536 A JP H08304536A
Authority
JP
Japan
Prior art keywords
distance
ultrasonic
setting
detection
measuring
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
JP7114549A
Other languages
Japanese (ja)
Inventor
Kenjiro Birei
賢次郎 美麗
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP7114549A priority Critical patent/JPH08304536A/en
Publication of JPH08304536A publication Critical patent/JPH08304536A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To set a detecting set distance easily and simply without any possibility of causing a difference and further to change the combination of a set value of a detecting operation distance with an output part freely. CONSTITUTION: This ultrasonic switch has a measuring mode setting button 10, a set mode setting button 11, an operation mode setting button 12 and a software selecting button 13 and has a plurality of switch devices 7 being output parts. By repeating an operation of making the ultrasonic switch itself set a detecting operation distance directly, while an operator sees the position of an object of detection with the eyes actually, a large number of detecting operation distances are recorded in a recording part D of an internal memory of a microcomputer 2. Then, the detecting operation distance stored in the recording part D is called and set in a setting part A of the internal memory corresponding to each output number (number of the output part) for setting the detecting operation distance. In the case of changing the setting thereof, too, an arbitrary detecting operation distance value in the recording part is called and set in the setting part corresponding to an arbitrary output number to which the setting is to be changed, in the same way.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、被検出対象である検出
体に対して周期的に超音波パルスを発信し、その検出体
から反射した超音波パルスを受信することで検出体まで
の距離を測定し、その測定値が予め設定した距離(検査
動作距離)内にあるか否かを判定してスイッチ信号を出
力する超音波スイッチに関し、特にその検出動作距離の
設定に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention periodically transmits an ultrasonic wave pulse to a detection object to be detected and receives an ultrasonic pulse reflected from the detection object to detect the distance to the detection object. The present invention relates to an ultrasonic switch for measuring a measurement value, determining whether or not the measured value is within a preset distance (inspection operation distance), and outputting a switch signal, and particularly to setting the detection operation distance.

【0002】[0002]

【従来の技術】従来の上記のような超音波スイッチの代
表的な構成例を図8に示す。本図に示すように、超音波
スイッチ1はワンチップマイクロコンピュータ2、動作
距離設定ボリューム3−1、3−2、発信回路装置4、
超音波振動子5、受信回路装置6、およびスイッチ装置
7−1、7−2を有する。発信回路装置4および超音波
振動子5を介して周期的に発信された超音波パルスは変
位または移動する検出体18に当たって反射され、超音
波振動子5を介して受信回路6で受信される。
2. Description of the Related Art A typical configuration example of a conventional ultrasonic switch as described above is shown in FIG. As shown in the figure, the ultrasonic switch 1 includes a one-chip microcomputer 2, operating distance setting volumes 3-1 and 3-2, an oscillator circuit device 4,
The ultrasonic transducer 5, the receiving circuit device 6, and the switch devices 7-1 and 7-2 are included. The ultrasonic pulse periodically transmitted via the transmitting circuit device 4 and the ultrasonic transducer 5 hits the displacement or moving detection body 18, is reflected, and is received by the receiving circuit 6 via the ultrasonic transducer 5.

【0003】マイクロコンピュータ2はその超音波の発
信から受信までの経過時間(信号伝搬時間)の計測によ
り検出体18までの距離を測定し、動作距離設定ボリュ
ーム3−1、3−2で予め設定した設定距離と測定値と
を比較し、その測定値がその予め設定した距離内にある
か否かを判定してスイッチ装置7−1、7−2からその
判定結果であるスイッチ信号を図示しない負荷(外部装
置)へ出力する。
The microcomputer 2 measures the distance to the detection body 18 by measuring the elapsed time (signal propagation time) from the transmission of the ultrasonic wave to the reception thereof, and presets it with the operating distance setting volumes 3-1 and 3-2. The determined set distance is compared with the measured value, it is determined whether the measured value is within the preset distance, and the switch signal as the determination result is not shown from the switch devices 7-1 and 7-2. Output to load (external device).

【0004】この様に、従来の超音波スイッチでは、外
部から設定ボリュームを調整して検出動作距離を設定し
ていた。また、この設定と出力部(スイッチ装置)の組
み合わせは固定されており、一度配線した後で出力部の
セットの入れ替え等の変更をするためには、設定ボリュ
ームを調整して設定し直すか、負荷への接続を変更しな
ければならなかった。
As described above, in the conventional ultrasonic switch, the detection operation distance is set by adjusting the setting volume from the outside. Also, the combination of this setting and the output section (switch device) is fixed, and in order to change the set of the output section after wiring once, adjust the setting volume or reset it, or Had to change the connection to the load.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述の
ような従来の超音波スイッチでは、操作者がわざわざド
ライバなどの器具を使用して上記のような動作距離設定
ボリュームを調整して、検出設定距離の設定をする必要
があり、面倒であった。また、設定間違いや設定誤差を
生じるおそれもあった。さらにまた、検出動作距離と出
力部の組み合わせの変更も簡便にはできなかった。
However, in the conventional ultrasonic switch as described above, the operator purposely adjusts the operation distance setting volume using an instrument such as a driver to adjust the detection setting distance. It was troublesome to set up. Moreover, there is a possibility that a setting error or a setting error may occur. Furthermore, it has not been possible to easily change the combination of the detection operation distance and the output unit.

【0006】本発明は、上述の点に鑑みて成されたもの
で、その目的とするところは、設定間違いや設定誤差を
生じるおそれがなく、容易で簡便な検出設定距離の設定
が可能となり、さらには検出動作距離設定値と出力部の
組み合わせを自由に変えられて使い勝手が向上するよう
に図った超音波スイッチを提供することにある。
The present invention has been made in view of the above points, and an object thereof is to make it possible to easily and easily set a detection setting distance without causing a setting error or a setting error. Another object of the present invention is to provide an ultrasonic switch in which the combination of the detection operation distance set value and the output unit can be freely changed to improve usability.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、本発明の超音波スイッチの第1形態は、超音波振動
子から周期的に超音波パルスを発信し、該超音波パルス
が検出体に当たって反射されて前記超音波振動子に受信
されるまでの経過時間の計測により前記検出体までの距
離を計測し、該計測値が記憶手段内に予め設定した設定
距離距離内にあるか否かを判定して該判定に応じたスイ
ッチ信号を出力する超音波スイッチにおいて、設定モー
ドを指示する設定モード指示手段と、該設定モード指示
手段の指示に応じて、超音波振動子から周期的に超音波
パルスを発信し、設定したい検出動作距離に置かれた検
出体に前記超音波パルスが当たって反射されて前記超音
波振動子に受信されるまでの経過時間の計測により前記
検出体までの距離を計測する距離計測手段と、該距離計
測手段により計測された計測値を検出動作距離設定値と
して記憶手段に設定する検出動作距離設定手段とを具備
することを特徴とする。
In order to achieve the above object, a first mode of an ultrasonic switch according to the present invention is such that an ultrasonic wave pulse is periodically transmitted from an ultrasonic vibrator, and the ultrasonic pulse is detected by a detector. The distance to the detection body is measured by measuring the elapsed time until the ultrasonic wave is reflected and received by the ultrasonic transducer, and whether the measured value is within a preset distance distance set in the storage means. In the ultrasonic switch that outputs a switch signal in accordance with the determination, setting mode instructing means for instructing a setting mode, and an ultrasonic transducer that periodically transmits ultrasonic waves in response to an instruction from the setting mode instructing means. A distance to the detection body by transmitting an ultrasonic wave pulse and measuring the elapsed time until the ultrasonic wave pulse hits the detection body placed at the detection operation distance to be set and is reflected by the ultrasonic transducer. To A distance measuring means for measuring, characterized in that it comprises a detection operation distance setting means for setting in the storage means the measured value measured by said distance measuring means as a detected operating distance setting.

【0008】また、本発明の超音波スイッチの第2形態
は、超音波振動子から周期的に超音波パルスを発信し、
該超音波パルスが検出体に当たって反射されて前記超音
波振動子に受信されるまでの経過時間の計測により前記
検出体までの距離を計測し、該計測値が記憶手段内に予
め設定した設定距離距離内にあるか否かを判定して該判
定に応じたスイッチ信号を出力する超音波スイッチにお
いて、計測モードを指示する計測モード指示手段と、該
計測モード指示手段の指示に応じて、超音波振動子から
周期的に超音波パルスを発信し、記録したい検出動作距
離に置かれた検出体に前記超音波パルスが当たって反射
されて前記超音波振動子に受信されるまでの経過時間の
計測により前記検出体までの距離を計測する距離計測手
段と、前記検出体の所望の位置への変位にともなって前
記距離計測手段により計測された複数個の計測値を検出
動作距離記録値として第1の記憶手段に記録する距離値
記録手段と、設定モードを指示する設定モード指示手段
と、検出動作距離設定値別に設けられて対応する前記ス
イッチ信号を出力する複数の出力部と、該出力部の識別
番号を選択入力する番号選択手段と、前記第1の記憶手
段に記録された前記検出動作距離記録値を選択的に読み
出す距離値読取り手段と、前記設定モード指示手段の指
示に応じて、前記距離値読取り手段から選択的に読み出
された前記検出動作距離記録値を検出動作距離設定値と
して、前記番号選択手段で選択入力された前記識別番号
に対応する第2の記憶手段の所定の領域に設定する検出
動作距離設定手段とを具備することを特徴とする。
In a second mode of the ultrasonic switch of the present invention, an ultrasonic pulse is periodically emitted from an ultrasonic transducer,
The distance to the detection body is measured by measuring the elapsed time until the ultrasonic pulse is reflected by the detection body and received by the ultrasonic transducer, and the measured value is a preset distance set in the storage means. In an ultrasonic switch that determines whether or not it is within a distance and outputs a switch signal according to the determination, a measurement mode instructing unit that instructs a measurement mode, and an ultrasonic wave in response to an instruction from the measurement mode instructing unit Measurement of the elapsed time until the ultrasonic wave is transmitted from the vibrator, reflected by the ultrasonic pulse hitting the detection object placed at the detection operation distance to be recorded, and received by the ultrasonic vibrator. A distance measuring means for measuring the distance to the detection body, and a plurality of measurement values measured by the distance measurement means along with the displacement of the detection body to a desired position as detected movement distance recorded values. A distance value recording means for recording in the first storage means, a setting mode instructing means for instructing a setting mode, a plurality of output sections provided for each detected operation distance set value and outputting the corresponding switch signals, Number selection means for selectively inputting the identification number of the output section, distance value reading means for selectively reading the detected movement distance recorded value recorded in the first storage means, and instruction for the setting mode instruction means The detected operation distance record value selectively read from the distance value reading means as a detected operation distance set value, and stored in the second storage means corresponding to the identification number selectively input by the number selecting means. And a detection operation distance setting means for setting the detection operation distance in a predetermined area.

【0009】[0009]

【作用】本発明の第1形態では、検出体を操作者が実際
に目視しながら、設定したい所望の位置に置いて、超音
波スイッチにその距離情報を計測させ、その計測距離値
で検出動作距離を設定する。これにより、設定について
の操作上の間違いを生ずる恐れがなく、また設定誤差も
生じにくく、容易に簡便に設定作業ができる。
According to the first aspect of the present invention, the operator actually places the detector at a desired position to be set while visually observing the detector, causes the ultrasonic switch to measure the distance information, and performs the detection operation with the measured distance value. Set the distance. As a result, there is no risk of making operational mistakes in setting, and setting errors are less likely to occur, and setting work can be performed easily and easily.

【0010】また、本発明の第2形態では、検出体を操
作者が実際に目視しながら、超音波スイッチ自体が検出
動作距離を直接的に設定をする操作を繰返すことによっ
て多数の検出動作距離を内部メモリの記録部に記録し、
次に検出動作距離を設定する各出力番号(出力部の番
号)に対応する内部メモリの設定部に、上記記録部に格
納された先の検出動作距離を呼び出して設定する。その
設定を変更する場合もこれと同様に変更したい任意の出
力番号に対応した設定部に記録部の任意の検出動作距離
値を呼び出して設定する。これにより、検出動作距離設
定値と出力部の組み合わせを自由に変えることができ、
使い勝手が非常に良くなる。
Further, in the second embodiment of the present invention, while the operator actually looks at the detection object, the ultrasonic switch itself repeats the operation of directly setting the detection operation distance, whereby a large number of detection operation distances are detected. In the recording section of the internal memory,
Next, the previous detection operating distance stored in the recording unit is called and set in the setting unit of the internal memory corresponding to each output number (output unit number) for setting the detection operating distance. When the setting is changed, similarly, an arbitrary detection operation distance value of the recording unit is called and set in a setting unit corresponding to an arbitrary output number to be changed. This allows you to freely change the combination of the detection operating distance setting value and the output unit,
Very easy to use.

【0011】[0011]

【実施例】以下に図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

【0012】(第1実施例)図1は本発明の第1形態に
対応する本発明の第1実施例の超音波スイッチの構成を
示す。図1において、2は本超音波スイッチの演算制御
を司りROM、RAM等のメモリを内蔵したワンチップ
マイクロコンピュータであり、その内部メモリに予め格
納したソフトウエアによる検出動作距離設定部A、距離
計測部B、距離値読取り部Cを備える。8はマイクロコ
ンピュータ2に設定モードを指示するための設定モード
セットボタンであり、9はマイクロコンピュータ2に動
作モードを指示するための動作モードセットボタンであ
る。また、4は発信回路装置、5は超音波振動子、6は
受信回路装置、および7はスイッチ装置であり、これら
構成要素4〜7の機能は従来例と同様である。
(First Embodiment) FIG. 1 shows the structure of an ultrasonic switch according to a first embodiment of the present invention, which corresponds to the first mode of the present invention. In FIG. 1, reference numeral 2 denotes a one-chip microcomputer that controls the arithmetic operation of the ultrasonic switch and has a built-in memory such as a ROM and a RAM. The detection operation distance setting unit A and the distance measurement by software stored in the internal memory in advance. A section B and a distance value reading section C are provided. Reference numeral 8 is a setting mode set button for instructing the microcomputer 2 to set mode, and 9 is an operation mode set button for instructing the microcomputer 2 to operate mode. Further, 4 is an oscillator circuit device, 5 is an ultrasonic transducer, 6 is a receiver circuit device, and 7 is a switch device, and the functions of these constituent elements 4 to 7 are the same as in the conventional example.

【0013】図2は本発明の第1実施例における検出動
作距離の設定モードでの動作手順を、図3はその動作モ
ードでの動作手順を示す。なお、図中のS1,S2…等
のSはステップを表す。
FIG. 2 shows an operation procedure in the detection operation distance setting mode in the first embodiment of the present invention, and FIG. 3 shows an operation procedure in the operation mode. In the figure, S such as S1, S2 ... Represents a step.

【0014】図1の超音波スイッチの電源を投入後、操
作者(ユーザ)が設定モードセットボタン8を押すと、
図2の検出動作距離の設定モードになる。まず、操作者
は設定したい所望の位置に検出体(図8の18を参照)
を置く(S1)。超音波スイッチのマイクロコンピュー
タ2は発信回路装置4および超音波振動子5を介して周
期的に超音波パルスを検出体に対して送波する(S
2)。検出体に当たって反射された超音波パルスは超音
波振動子5を介して受信回路6で受信され、マイクロコ
ンピュータ2はその超音波の発信から受信までの経過時
間(信号伝搬時間)の計測により検出体までの距離を計
測する(S3)。計測した距離値は検出体の位置を変え
ない限り変化せずに読み込まれているので、マイクロコ
ンピュータ2はその計測値(測定値)を検出動作距離と
して内部メモリの所定の検出動作距離設定領域(設定部
A)に格納する(S4)。
After the power of the ultrasonic switch of FIG. 1 is turned on, when the operator (user) presses the setting mode set button 8,
The mode for setting the detection operation distance shown in FIG. 2 is entered. First, the operator places the detection object at the desired position to be set (see 18 in FIG. 8).
(S1). The microcomputer 2 of the ultrasonic switch periodically transmits ultrasonic pulses to the detection body via the transmission circuit device 4 and the ultrasonic transducer 5 (S
2). The ultrasonic pulse reflected by the detection body is received by the reception circuit 6 via the ultrasonic transducer 5, and the microcomputer 2 measures the elapsed time from the transmission of the ultrasonic wave (signal propagation time) to the detection body. The distance to is measured (S3). Since the measured distance value is read without change unless the position of the detection object is changed, the microcomputer 2 uses the measured value (measured value) as the detected operation distance to set a predetermined detection operation distance setting area (in the internal memory). The data is stored in the setting unit A) (S4).

【0015】さらに検出動作距離を設定する場合(例え
ば、一対の検出動作距離を設定する場合)は上記のS1
のステップに戻って上述の動作を繰返す。その設定が終
了したら(S5)、操作者は動作モードセットボタン9
を押す。これにより設定モードセットボタン8が戻り、
制御は図3に示す動作モードへ移行する(S6)。
When the detection operation distance is further set (for example, when a pair of detection operation distances is set), the above S1 is set.
Returning to the step, the above operation is repeated. When the setting is completed (S5), the operator sets the operation mode setting button 9
Press. This returns the setting mode set button 8,
The control shifts to the operation mode shown in FIG. 3 (S6).

【0016】図3の動作モードは従来例とほぼ同様であ
る。まず、マイクロコンピュータ2は発信回路装置4お
よび超音波振動子5を介して超音波パルスを検出体に対
して送波する(S11)。検出体で反射された超音波パ
ルスは超音波振動子5を介して受信回路6で受信され、
マイクロコンピュータ2はその超音波の送受信の伝搬時
間により検出体までの距離を計測する(S12)。続い
て、マイクロコンピュータ2はその計測値(測定値)を
内部メモリの所定の領域(設定部A)に格納された検出
動作距離(設定距離)と比較し、その測定値がその設定
距離内にあるか否かを判定して(S13)、測定値が設
定距離内にある場合はスイッチ装置7からその判定結果
であるスイッチ信号をON(オン)にして出力し(S1
4)、測定値が設定距離内に無い場合はそのスイッチ信
号をOFF(オフ)にして出力する(S15)。
The operation mode of FIG. 3 is almost the same as the conventional example. First, the microcomputer 2 transmits an ultrasonic pulse to the detection body via the transmission circuit device 4 and the ultrasonic transducer 5 (S11). The ultrasonic pulse reflected by the detector is received by the receiving circuit 6 via the ultrasonic transducer 5,
The microcomputer 2 measures the distance to the detection object by the propagation time of the transmission and reception of the ultrasonic waves (S12). Subsequently, the microcomputer 2 compares the measured value (measured value) with the detection operation distance (set distance) stored in a predetermined area (setting unit A) of the internal memory, and the measured value is within the set distance. It is determined whether or not there is (S13), and if the measured value is within the set distance, the switch device 7, which is the determination result, is turned on and output (S1).
4) If the measured value is not within the set distance, the switch signal is turned off and output (S15).

【0017】その後、設定モードになってなければ(S
16)、上記のS11に戻って上述の動作を繰返す。し
かし、操作者が設定モードセットボタン8を押すと、動
作モードセットボタン9が戻り、制御は図2で上述した
動作モードへ再び移行する(S17)。
After that, if the setting mode is not set (S
16) Then, the process returns to S11 and the above operation is repeated. However, when the operator presses the setting mode set button 8, the operation mode set button 9 returns, and the control shifts to the operation mode described above with reference to FIG. 2 again (S17).

【0018】本実施例では、上述したように、検出体を
操作者が実際に目視しながら、設定したい所望の位置に
置いて、超音波スイッチにその距離情報を計測させ、そ
の計測距離値で検出動作距離を設定するという、従来の
ボリュームを必要としないで超音波スイッチ自体が検出
動作距離を直接的に設定をするので、設定についての操
作上の間違いを生ずる恐れがなく、また設定誤差も生じ
にくく、容易に簡便に設定作業ができる。
In the present embodiment, as described above, the operator actually places the detector at a desired position to be set while visually observing it, and the ultrasonic switch is made to measure the distance information, and the measured distance value is used. Since the ultrasonic switch itself directly sets the detection operation distance without setting the conventional volume, that is, the detection operation distance is set, there is no risk of operating mistakes in setting, and there is no setting error. It does not easily occur, and setting work can be done easily and easily.

【0019】(第2実施例)図4は本発明の第2形態に
対応する本発明の第2実施例の超音波スイッチの構成を
示す。図4において、ワンチップマイクロコンピュータ
2は検出動作距離設定部A、距離計測部B、距離値読取
り部Cの他に、距離値記録部Dも備える。10は計測モ
ードセットボタン、11は設定モードセットボタン、1
2は動作モードセットボタン、および13はソフト選択
ボタンであり、これらボタンの状態はマイクロコンピュ
ータ2で読み取られる。また、符号7−1,7−2,
…,7−nで示す様に、超音波スイッチの出力部に相当
するスイッチ装置は複数n個(nは整数)有し、例えば
配列の順番順に所定の出力番号が予め付られている。発
信回路装置4、超音波振動子5、受信回路装置6は第1
実施例と同様に動作する。
(Second Embodiment) FIG. 4 shows the structure of an ultrasonic switch according to a second embodiment of the present invention corresponding to the second mode of the present invention. In FIG. 4, the one-chip microcomputer 2 includes a distance value recording unit D in addition to the detection operation distance setting unit A, the distance measuring unit B, and the distance value reading unit C. 10 is a measurement mode set button, 11 is a setting mode set button, 1
Reference numeral 2 is an operation mode set button, and 13 is a soft selection button, and the states of these buttons are read by the microcomputer 2. Further, reference numerals 7-1, 7-2,
, 7-n, there are a plurality of switch devices (n is an integer) corresponding to the output part of the ultrasonic switch, and predetermined output numbers are given in advance in the order of arrangement, for example. The transmitting circuit device 4, the ultrasonic transducer 5, and the receiving circuit device 6 are the first
It operates similarly to the embodiment.

【0020】図5は本発明の第2実施例における検出動
作距離の計測モードでの動作手順を、図6はその設定モ
ードでの動作手順を、図7はその動作モードでの動作手
順を示す。
FIG. 5 shows the operation procedure in the detection operation distance measurement mode in the second embodiment of the present invention, FIG. 6 shows the operation procedure in the setting mode, and FIG. 7 shows the operation procedure in the operation mode. .

【0021】図4の超音波スイッチの電源を投入後、操
作者が計測モードセットボタン10を押すと、図5の距
離を計測して記録する検出動作距離の計測モードにな
る。まず、操作者は設定したい所望の位置に検出体を置
く(S21)。超音波スイッチのマイクロコンピュータ
2は発信回路装置4および超音波振動子5を介して周期
的に超音波パルスを検出体に対して送波する(S2
2)。検出体で反射された超音波パルスは超音波振動子
5を介して受信回路6で受信され、マイクロコンピュー
タ2はその超音波の送受信の経過時間の計測により検出
体までの距離を計測する(S23)。計測した距離値は
検出体の位置を変えない限り変化せずに読み込まれてい
るので、マイクロコンピュータ2はその計測値(測定
値)を検出動作距離として内部メモリの所定の領域(記
録部D)に記録する(S24)。
When the operator presses the measurement mode setting button 10 after turning on the power source of the ultrasonic switch shown in FIG. 4, the mode for measuring the detection operation distance for measuring and recording the distance shown in FIG. 5 is set. First, the operator places the detection body at a desired position to be set (S21). The microcomputer 2 of the ultrasonic switch periodically transmits ultrasonic pulses to the detection body via the transmission circuit device 4 and the ultrasonic transducer 5 (S2).
2). The ultrasonic pulse reflected by the detection body is received by the reception circuit 6 via the ultrasonic transducer 5, and the microcomputer 2 measures the distance to the detection body by measuring the elapsed time of transmission / reception of the ultrasonic wave (S23). ). Since the measured distance value is read without change unless the position of the detection object is changed, the microcomputer 2 uses the measured value (measured value) as a detection operation distance in a predetermined area (recording section D) of the internal memory. (S24).

【0022】これで一つの検出動作距離が記録される。
検出体の位置を変えることを含むこの繰返によって、必
要な数個の検出動作距離を内部メモリの記録部に記録す
る。
With this, one detection operation distance is recorded.
By this repetition including changing the position of the detection body, the necessary several detection operation distances are recorded in the recording section of the internal memory.

【0023】この様にして距離の計測と記録が終了した
ら(S25)、操作者は計測モードセットボタン10を
戻し、設定モードセットボタン11を押す。これにより
制御は図6に示す設定モードへ移行する(S26)。
When the distance measurement and recording are completed in this way (S25), the operator returns the measurement mode set button 10 and presses the setting mode set button 11. As a result, the control shifts to the setting mode shown in FIG. 6 (S26).

【0024】図6に示す設定モードでは、まずソフト選
択ボタン13の入力により検出動作距離を設定する各出
力部の番号(出力番号)を呼び出し(S31)、上記内
部メモリの記録部に記録されている検出動作距離値を読
み出して(S32)、これら読み出した検出距離値を内
部メモリの各出力番号に対応した設定部Aにセットする
(S33)。検出動作距離の設定を変更する場合もこれ
と同様な操作を行い、変更したい任意の出力番号に対応
した設定部に記録部の任意の検出動作距離値を呼び出し
て設定する。
In the setting mode shown in FIG. 6, the number (output number) of each output unit for setting the detection operation distance is first called by inputting the soft selection button 13 (S31) and recorded in the recording unit of the internal memory. The detected detection distance values are read (S32), and the read detection distance values are set in the setting section A corresponding to each output number of the internal memory (S33). When changing the setting of the detection movement distance, the same operation is performed, and the detection movement distance value of the recording unit is called and set in the setting unit corresponding to the arbitrary output number to be changed.

【0025】検出動作距離を設定したい出力部の数だけ
設定したら(S34)、操作者は設定モードセットボタ
ン11を戻し、動作モードセットボタン12を押す。こ
れにより制御は図7に示す動作モードへ移行する(S3
5)。
After setting the detection operation distance by the number of output units desired to be set (S34), the operator returns the setting mode set button 11 and presses the operation mode set button 12. As a result, the control shifts to the operation mode shown in FIG. 7 (S3
5).

【0026】図7の動作モードの基本動作は第1実施例
とほぼ同様である。まず、マイクロコンピュータ2は発
信回路装置4および超音波振動子5を介して超音波パル
スを検出体に対して送波する(S41)。検出体で反射
された超音波パルスは超音波振動子5を介して受信回路
6で受信され、マイクロコンピュータ2はその超音波の
送受信の伝搬時間により検出体までの距離を計測する
(S42)。続いて、マイクロコンピュータ2はその計
測値(測定値)を内部メモリの設定部に格納された複数
の検出動作距離(設定距離)と比較し、その測定値がそ
れら設定距離内にあるか否かを判定して(S43)、測
定値がいずれかの設定距離内にある場合はその設定距離
に対応する番号を有するスイッチ装置7−1〜7−n内
の該当のスイッチ装置からその判定結果であるスイッチ
信号をONにして出力し(S44)、測定値が設定距離
内に無い場合はスイッチ信号をOFFにして出力する
(S45)。
The basic operation of the operation mode of FIG. 7 is almost the same as that of the first embodiment. First, the microcomputer 2 transmits an ultrasonic pulse to the detection body via the transmission circuit device 4 and the ultrasonic transducer 5 (S41). The ultrasonic pulse reflected by the detection body is received by the receiving circuit 6 via the ultrasonic transducer 5, and the microcomputer 2 measures the distance to the detection body by the propagation time of transmission and reception of the ultrasonic wave (S42). Subsequently, the microcomputer 2 compares the measured value (measured value) with a plurality of detection operation distances (set distances) stored in the setting unit of the internal memory, and determines whether or not the measured value is within the set distances. (S43), and if the measured value is within any of the set distances, the determination result is obtained from the corresponding switch device in the switch devices 7-1 to 7-n having the number corresponding to the set distance. A certain switch signal is turned on and output (S44), and if the measured value is not within the set distance, the switch signal is turned off and output (S45).

【0027】その後、設定モードや計測モードになって
なければ(S46、S48)、上記のS41に戻って上
述の動作を繰返す。しかし、操作者が設定モードセット
ボタン11を押すと、制御は図6で上述した設定モード
へ移行し(S47)、計測モードセットボタン10を押
すと、制御は図5で上述した計測モードへ移行する(S
49)。
Thereafter, if the setting mode or the measurement mode is not set (S46, S48), the process returns to S41 and the above-described operation is repeated. However, when the operator presses the setting mode set button 11, the control shifts to the setting mode described above in FIG. 6 (S47), and when the measurement mode set button 10 is pushed, the control shifts to the measurement mode described above in FIG. Do (S
49).

【0028】上記S43のステップでは、計測値と複数
の検出動作距離(設定値)との判定を行うと記述した
が、内部メモリの設定部に記録された複数の全ての検出
動作距離との判定をする必要は必ずしもなく、例えば予
めソフト選択ボタン13による出力番号の選択により、
選択されたある1つの検出動作距離のみとの判定、ある
いは選択された数個の出力番号に対応する検出動作距離
との判定をすることも可能である。またこの場合、その
ソフト選択ボタン13による出力番号の選択の代わり
に、どの出力部(スイッチ装置)に負荷(外部装置)が
現在接続されているかを自動的に検知して、負荷が接続
されている出力部の出力番号に対応する1または複数の
検出動作距離のみをS43での判定の対象としても好ま
しい。
In the step S43, it is described that the measurement value and the plurality of detected movement distances (set values) are determined. However, it is determined that all the plurality of detected movement distances recorded in the setting section of the internal memory. It is not always necessary, for example, by selecting the output number with the soft selection button 13 in advance,
It is also possible to determine only one selected detection movement distance or a detection movement distance corresponding to several selected output numbers. Further, in this case, instead of selecting the output number by the soft selection button 13, which output unit (switch device) the load (external device) is currently connected to is automatically detected and the load is connected. It is also preferable that only one or a plurality of detection operation distances corresponding to the output numbers of the output units that are present are targets for the determination in S43.

【0029】本実施例では、上述したように、検出体の
位置を操作者が実際に目視しながら、超音波スイッチ自
体が検出動作距離を直接的に設定をするという第1実施
例と同様な操作を繰返すことによって多数の検出動作距
離を内部メモリの記録部に記録し、次に検出動作距離を
設定する各出力番号(出力部の番号)に対応する内部メ
モリの設定部に、上記記録部に格納された先の検出動作
距離を呼び出して設定し、その設定を変更する場合もこ
れと同様に変更したい任意の出力番号に対応した設定部
に記録部の任意の検出動作距離値を呼び出して設定する
ので、第1実施例と同様な効果が得られる上に、検出動
作距離設定値と出力部の組み合わせを自由に変えること
ができ、使い勝手が非常に良くなる。
In the present embodiment, as described above, the ultrasonic switch itself directly sets the detection operation distance while the operator actually visually checks the position of the detection body, which is similar to the first embodiment. By repeating the operation, a large number of detection operation distances are recorded in the recording section of the internal memory, and then the recording section is set in the setting section of the internal memory corresponding to each output number (output section number) for setting the detection operation distance. If you want to change the setting by recalling and setting the previous detection operating distance stored in, call the desired detection operating distance value in the recording section to the setting section corresponding to the desired output number you want to change. Since the setting is performed, the same effect as that of the first embodiment can be obtained, and the combination of the detection operation distance set value and the output unit can be freely changed, and the usability is greatly improved.

【0030】[0030]

【発明の効果】以上説明したように、本発明によれば、
次のような効果が得られる。
As described above, according to the present invention,
The following effects can be obtained.

【0031】(1)検出動作距離を検出体の位置を操作
者が実際に目視しながら、超音波スイッチで直接的に設
定をするので、設定操作上の間違いを生ずる恐れがな
く、また設定誤差も生じにくく、容易に簡便に設定作業
が可能となる。
(1) Since the operator directly sets the detection operation distance by using the ultrasonic switch while actually observing the position of the detection object, there is no possibility of making an error in the setting operation and there is no setting error. Is less likely to occur, and setting work can be performed easily and easily.

【0032】(2)検出動作距離設定値と出力部の組み
合わせを自由に変えられるようにしたので、汎用性が増
し、使い勝手が非常に良くなる。
(2) Since the combination of the detection operation distance set value and the output section can be freely changed, the versatility is increased and the usability is greatly improved.

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

【図1】本発明の第1形態の実施例の超音波スイッチの
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an ultrasonic switch according to an embodiment of a first mode of the present invention.

【図2】図1の実施例における検出動作距離の設定モー
ドでの動作手順を示すフローチャートである。
FIG. 2 is a flowchart showing an operation procedure in a detection operation distance setting mode in the embodiment of FIG.

【図3】図1の実施例における動作モードでの動作手順
を示すフローチャートである。
FIG. 3 is a flowchart showing an operation procedure in an operation mode in the embodiment of FIG.

【図4】本発明の第2形態の実施例の超音波スイッチの
構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of an ultrasonic switch according to an example of a second mode of the present invention.

【図5】図4の実施例における検出動作距離の計測モー
ドでの動作手順を示すフローチャートである。
5 is a flowchart showing an operation procedure in a detection operation distance measurement mode in the embodiment of FIG.

【図6】図4の実施例における設定モードでの動作手順
を示すフローチャートである。
FIG. 6 is a flowchart showing an operation procedure in a setting mode in the embodiment of FIG.

【図7】図4の実施例における動作モードでの動作手順
を示すフローチャートである。
FIG. 7 is a flowchart showing an operation procedure in an operation mode in the embodiment of FIG.

【図8】従来の超音波スイッチの代表的な構成例を示す
ブロック図である。
FIG. 8 is a block diagram showing a typical configuration example of a conventional ultrasonic switch.

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

1 超音波スイッチ 2 ワンチップマイクロコンピュータ 3−1、3−2 動作距離設定ボリューム 4 発信回路装置 5 超音波振動子 6 受信回路装置 7,7−1,7−2,…,7−n スイッチ装置 8 設定モードセットボタン 9 動作モードセットボタン 10 計測モードセットボタン 11 設定モードセットボタン 12 動作モードセットボタン 13 ソフト選択ボタン 18 検出体 A 検出動作距離設定部 B 距離計測部 C 距離値読取り部 D 距離値記録部 DESCRIPTION OF SYMBOLS 1 Ultrasonic switch 2 One-chip microcomputer 3-1 and 3-2 Operating distance setting volume 4 Oscillation circuit device 5 Ultrasonic transducer 6 Receiving circuit device 7,7-1,7-2, ..., 7-n Switch device 8 Setting mode set button 9 Operation mode set button 10 Measurement mode set button 11 Setting mode set button 12 Operation mode set button 13 Software selection button 18 Detection object A Detection operation distance setting section B Distance measurement section C Distance value reading section D Distance value Recording section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 超音波振動子から周期的に超音波パルス
を発信し、該超音波パルスが検出体に当たって反射され
て前記超音波振動子に受信されるまでの経過時間の計測
により前記検出体までの距離を計測し、該計測値が記憶
手段内に予め設定した設定距離距離内にあるか否かを判
定して該判定に応じたスイッチ信号を出力する超音波ス
イッチにおいて、 設定モードを指示する設定モード指示手段と、 該設定モード指示手段の指示に応じて、超音波振動子か
ら周期的に超音波パルスを発信し、設定したい検出動作
距離に置かれた検出体に前記超音波パルスが当たって反
射されて前記超音波振動子に受信されるまでの経過時間
の計測により前記検出体までの距離を計測する距離計測
手段と、 該距離計測手段により計測された計測値を検出動作距離
設定値として記憶手段に設定する検出動作距離設定手段
とを具備することを特徴とする超音波スイッチ。
1. An ultrasonic transducer, which periodically emits ultrasonic pulses, and which is measured by measuring the elapsed time until the ultrasonic pulse is reflected by the ultrasonic transducer and received by the ultrasonic transducer. The ultrasonic switch that measures the distance up to and determines whether the measured value is within the preset distance set in the storage means and outputs a switch signal according to the decision And a setting mode instructing means for periodically transmitting ultrasonic pulses from the ultrasonic transducer according to the instruction of the setting mode instructing means, and the ultrasonic pulses are transmitted to the detection object placed at the detection operation distance to be set. Distance measuring means for measuring the distance to the detection body by measuring the elapsed time until the ultrasonic wave is reflected and received by the ultrasonic transducer, and the measured value measured by the distance measuring means is the operating distance. An ultrasonic switch comprising: a detection operation distance setting unit that is set in a storage unit as a set value.
【請求項2】 超音波振動子から周期的に超音波パルス
を発信し、該超音波パルスが検出体に当たって反射され
て前記超音波振動子に受信されるまでの経過時間の計測
により前記検出体までの距離を計測し、該計測値が記憶
手段内に予め設定した設定距離距離内にあるか否かを判
定して該判定に応じたスイッチ信号を出力する超音波ス
イッチにおいて、 計測モードを指示する計測モード指示手段と、 該計測モード指示手段の指示に応じて、超音波振動子か
ら周期的に超音波パルスを発信し、記録したい検出動作
距離に置かれた検出体に前記超音波パルスが当たって反
射されて前記超音波振動子に受信されるまでの経過時間
の計測により前記検出体までの距離を計測する距離計測
手段と、 前記検出体の所望の位置への変位にともなって前記距離
計測手段により計測された複数個の計測値を検出動作距
離記録値として第1の記憶手段に記録する距離値記録手
段と、 設定モードを指示する設定モード指示手段と、 検出動作距離設定値別に設けられて対応する前記スイッ
チ信号を出力する複数の出力部と、 該出力部の識別番号を選択入力する番号選択手段と、 前記第1の記憶手段に記録された前記検出動作距離記録
値を選択的に読み出す距離値読取り手段と、 前記設定モード指示手段の指示に応じて、前記距離値読
取り手段から選択的に読み出された前記検出動作距離記
録値を検出動作距離設定値として、前記番号選択手段で
選択入力された前記識別番号に対応する第2の記憶手段
の所定の領域に設定する検出動作距離設定手段とを具備
することを特徴とする超音波スイッチ。
2. The detection body is obtained by periodically transmitting ultrasonic pulses from an ultrasonic transducer, measuring the elapsed time until the ultrasonic pulse is reflected by the detection body and received by the ultrasonic transducer. In the ultrasonic switch that measures the distance up to, determines whether the measured value is within a preset distance distance stored in the storage means, and outputs a switch signal according to the determination, the measurement mode is instructed. Measuring mode instructing means, and in response to the instruction of the measuring mode instructing means, ultrasonic waves are periodically emitted from the ultrasonic transducer, and the ultrasonic pulse is transmitted to the detection object placed at the detection operation distance to be recorded. Distance measuring means for measuring the distance to the detection body by measuring the elapsed time until the ultrasonic wave is reflected and received by the ultrasonic transducer, and the distance according to the displacement of the detection body to a desired position. Distance value recording means for recording a plurality of measurement values measured by the measuring means in the first storage means as detected operating distance recorded values, setting mode instructing means for instructing a setting mode, and detection operating distance set values provided separately A plurality of output units for outputting the corresponding switch signals, number selection means for selectively inputting the identification number of the output section, and the detected operating distance record value recorded in the first storage means selectively. And the number selection means, with the detected operating distance record value selectively read from the distance value reading means in response to an instruction from the setting mode instructing means as the detected operating distance set value. An ultrasonic switch comprising: a detection operation distance setting means for setting a predetermined operation area in the second storage means corresponding to the identification number selected and input in step 1).
JP7114549A 1995-05-12 1995-05-12 Ultrasonic switch Pending JPH08304536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7114549A JPH08304536A (en) 1995-05-12 1995-05-12 Ultrasonic switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7114549A JPH08304536A (en) 1995-05-12 1995-05-12 Ultrasonic switch

Publications (1)

Publication Number Publication Date
JPH08304536A true JPH08304536A (en) 1996-11-22

Family

ID=14640576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7114549A Pending JPH08304536A (en) 1995-05-12 1995-05-12 Ultrasonic switch

Country Status (1)

Country Link
JP (1) JPH08304536A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8153142B2 (en) 2001-09-28 2012-04-10 Shiseido Co., Ltd. Skin treatment composition
CN103941258A (en) * 2014-04-04 2014-07-23 陕西理工学院 Ultrasonic rangefinder based on single-chip microcomputer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8153142B2 (en) 2001-09-28 2012-04-10 Shiseido Co., Ltd. Skin treatment composition
CN103941258A (en) * 2014-04-04 2014-07-23 陕西理工学院 Ultrasonic rangefinder based on single-chip microcomputer

Similar Documents

Publication Publication Date Title
JP4227410B2 (en) Method and apparatus for determining length, area and volume
US20060173346A1 (en) Ultrasound diagnostic system and method for automatically activating a probe
US4836212A (en) Apparatus for the noninvasive determination and acoustical representation of the dynamic behavior of peripheral venous hemodynamic
US5065371A (en) Depth finder having variable measurement capabilities
JPH08304536A (en) Ultrasonic switch
JP3325712B2 (en) Ultrasonic probe control method, ultrasonic probe and ultrasonic diagnostic apparatus
JPS6246178B2 (en)
JP3145592B2 (en) Obstacle detection device for vehicles
JP2658361B2 (en) Ultrasonic distance measuring device
JP2854692B2 (en) Ultrasonic object detector
US5737058A (en) Eye examination apparatus using ultrasonic wave radiation
JP2529840B2 (en) Ultrasonic distance meter
JPH08133155A (en) Bank angle detecting device for two-wheeler
CN111557687B (en) Ultrasonic diagnostic apparatus, recording medium, and guidance display method for console
JP2915366B2 (en) Ultrasonic sensor
JPH0587911A (en) Ultrasonic sensor
JPH0511048A (en) Ultrasonic-wave distance sensor
JP2001128967A (en) Phantom for ultrasonographic apparatus and error correcting system and error correcting method using phantom
JP3154077B2 (en) Ultrasonic controller
JPH04233487A (en) Ultrasonic distance measuring apparatus
JP2810768B2 (en) Acoustic positioning device
JPH0755452Y2 (en) Distance measuring device
JPH06277220A (en) Ultrasonic diagnostic device
JPS6331219B2 (en)
JP3479145B2 (en) Ultrasonic measurement device