JPH01109823A - Proximity switch - Google Patents

Proximity switch

Info

Publication number
JPH01109823A
JPH01109823A JP26680487A JP26680487A JPH01109823A JP H01109823 A JPH01109823 A JP H01109823A JP 26680487 A JP26680487 A JP 26680487A JP 26680487 A JP26680487 A JP 26680487A JP H01109823 A JPH01109823 A JP H01109823A
Authority
JP
Japan
Prior art keywords
circuit
test
proximity switch
signal
detection signal
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.)
Granted
Application number
JP26680487A
Other languages
Japanese (ja)
Other versions
JPH0770982B2 (en
Inventor
Fumito 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.)
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 JP62266804A priority Critical patent/JPH0770982B2/en
Publication of JPH01109823A publication Critical patent/JPH01109823A/en
Publication of JPH0770982B2 publication Critical patent/JPH0770982B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PURPOSE:To test the presence of a fault of a proximity switch independently of the presence of an object to be detected by storing a detection signal of a proximity switch in a test circuit, and using a test signal to feed back the detection signal to an oscillation circuit. CONSTITUTION:In closing a switch 22 when an object 13 to be detected is not approached, the output of a comparator 3, that is, a detection signal is at a low level, the signal is stored in a flip-flop 19, fed back to an oscillation circuit 1 via a buffer circuit 20, the oscillating voltage is dropped to the same state as if the object 13 to be detected were approached to a detection coil 11, circuits 2, 3 are operated and a transistor(TR) 17 is turned on. In closing a switch 22, when the object 13 to be detected is approaching, a voltage fed to a clock terminal of the flip-flop 19 rises, a high level detection signal of the flip-flop 19 is fed back, the oscillated voltage is increased, the TR 17 is turned on and a current of a relay 10 is interrupted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は被検出物体が接近すると発振電圧が上昇または
低下する発振回路を利用してこの被検出物体が接近した
ことを検出する近接スイッチに関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a proximity switch that detects the approach of a detected object by using an oscillation circuit whose oscillation voltage increases or decreases when the detected object approaches. .

〔従来の技術〕[Conventional technology]

発振回路を利用した近接スイッチの従来例を第2図に示
す、ここで近接スイッチは、発振回路1、検波平滑回路
2、コンパレータ3、出力回路4、電源回路5を備え、
電源端子6.7の間に接続された外部量H8により駆動
される。端子6および出力回路4の出力端の間に例えば
プログラマブルコントローラに付属するリレー10が接
続される。
A conventional example of a proximity switch using an oscillation circuit is shown in FIG. 2, where the proximity switch includes an oscillation circuit 1, a detection smoothing circuit 2, a comparator 3, an output circuit 4, a power supply circuit 5,
It is driven by an external quantity H8 connected between the power supply terminals 6.7. For example, a relay 10 attached to a programmable controller is connected between the terminal 6 and the output end of the output circuit 4.

発振回路1は検出コイル11およびコンデンサ12から
なる共振回路を有し、この共振回路の共振周波数で一定
電圧の発振をしている。検出コイル11に金属体のよう
な被検出物体13が接近するとこの被検出物体13で発
振回路lのエネルギーが消費され、路2で検波され、さ
らに平滑化されてコンパレータ3で基準値と比較され、
この出力が検出信号として出力回路4に印加され、出力
回路4の図示しないトランジスタをオンさせてリレー1
0を動作させる。
The oscillation circuit 1 has a resonant circuit consisting of a detection coil 11 and a capacitor 12, and oscillates at a constant voltage at the resonant frequency of this resonant circuit. When a detected object 13 such as a metal body approaches the detection coil 11, the detected object 13 consumes the energy of the oscillation circuit 1, which is detected by the path 2, smoothed, and compared with a reference value by the comparator 3. ,
This output is applied as a detection signal to the output circuit 4, turns on a transistor (not shown) of the output circuit 4, and then turns on the relay 1.
Operate 0.

(発明が解決しようとする問題点〕 上述のような近接スイッチでは、内部回路に故障がある
と被検出物体がこの近接スイッチに接近しているか否か
に関係なく、出力端子からオンまたはオフの信号が′m
続して出力されるという問題があり、例えばこの近接ス
イッチにより駆動されるリレーを介して入力信号が印加
されるプログラマブルコントローラのような主′4jt
置の動作に重大な影響を与えるおそれがあった。このた
め近接スイッチの機能が正常であるかどうかをテストす
る必要がある。近接スイッチの動作をテストするために
人為的に被検出物体を接近または離反させることも考え
られるが、この方法はテストに手間がかかり主装置を比
較的長い時間停止しなければならないという欠点があっ
た。
(Problem to be Solved by the Invention) In the proximity switch described above, if there is a failure in the internal circuit, the ON or OFF signal will be turned off from the output terminal regardless of whether the detected object is approaching the proximity switch. The signal is
For example, if the input signal is applied via a relay driven by this proximity switch, the main '4jt' such as a programmable controller is
There was a risk that the operation of the equipment would be seriously affected. Therefore, it is necessary to test whether the proximity switch is functioning normally. Although it is possible to artificially move the object to be detected closer or further away to test the operation of the proximity switch, this method has the disadvantage that the test is time-consuming and the main device must be stopped for a relatively long time. Ta.

本発明の目的は、被検出物体が検出コイルに接近してい
るか否かにかかわらず、簡単な方法で近力 接スイッチの機能が正常か否収を外部からテストできる
テスト回路を有する近接スイッチを提供することにある
An object of the present invention is to provide a proximity switch having a test circuit that allows external testing of whether the function of the proximity switch is normal or not in a simple manner, regardless of whether or not a detected object is close to the detection coil. It is about providing.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上述の問題点を解決するため、検出コイルを有
する発振回路を備え、前記検出コイルの近傍を被検出物
体が通過すると前記発振回路の発振が減衰または増加し
て検出信号を出力する近接スイッチにおいて、テストス
イッチを有し、該テストスイッチが操作される都度検出
信号を記憶してこの記憶された検出信号を前記発振回路
にフィードバックし、前記テスト信号が入力している間
のみ前記発振回路の増幅度を変化させるテスト回路を設
けるものである。
In order to solve the above-mentioned problems, the present invention includes an oscillation circuit having a detection coil, and when an object to be detected passes near the detection coil, the oscillation of the oscillation circuit is attenuated or increased to output a detection signal. The switch has a test switch, stores a detection signal each time the test switch is operated, feeds back the stored detection signal to the oscillation circuit, and operates the oscillation circuit only while the test signal is input. A test circuit is provided to change the amplification degree of the signal.

〔作用〕[Effect]

本発明によるテスト回路は、近接スイッチが検出して出
力した検出信号をテストスイッチが操作される都度記憶
し、この記憶された検出信号を発振回路にフィードバッ
クし、外部からのテスト信号が入力している間のみ発振
回路の増幅度を変化させることにより、検出コイルに被
検出物体が接近して発振電圧が低いときでもこれを強制
的に大きくし、被検出物体が検出コイルから十分離れて
発振電圧が高いときでもこれを強制的に減衰させ、被検
出物体が検出コイルに接近しているか否かにかかわらず
近接スイッチのテストを行える。
The test circuit according to the present invention stores the detection signal detected and output by the proximity switch each time the test switch is operated, feeds back the stored detection signal to the oscillation circuit, and receives the input test signal from the outside. By changing the amplification degree of the oscillation circuit only while the detection coil is in contact with the detection coil, the oscillation voltage is forcibly increased even when the object to be detected approaches the detection coil and the oscillation voltage is low. By forcibly attenuating this even when the detection coil is high, the proximity switch can be tested regardless of whether or not the object to be detected is close to the detection coil.

〔実施例〕〔Example〕

第1図に本発明による近接スイッチの実施例を示し、第
2図と同一のものには第2図と同一の符号を付し詳細な
説明を省略した。第1図において、14は第2図に示し
た回路と全く同じ近接スイッチであり、発振回路1、検
波平滑回路2、コンパレータ3、出力回路4、電源回路
5などを備えている。出力回路4はコンパレータ3の出
力端が抵抗16を介してトランジスタ17のベースに接
続されコンパレータ3の検出信号でスイッチング用トラ
ンジスタ17が閉じる。このトランジスタ17のコレク
タには第2図と同様にリレー10が接続されている。
FIG. 1 shows an embodiment of a proximity switch according to the present invention, and the same parts as in FIG. 2 are given the same reference numerals as in FIG. 2, and detailed explanation thereof is omitted. In FIG. 1, 14 is a proximity switch that is exactly the same as the circuit shown in FIG. 2, and includes an oscillation circuit 1, a detection smoothing circuit 2, a comparator 3, an output circuit 4, a power supply circuit 5, and the like. In the output circuit 4, the output terminal of the comparator 3 is connected to the base of the transistor 17 via the resistor 16, and the switching transistor 17 is closed by the detection signal of the comparator 3. A relay 10 is connected to the collector of this transistor 17 as in FIG. 2.

発振回路1は後述するようにこの近接スイッチの検出信
号がフィードバックされることによりその発振電圧が制
御される。テスト回路1BはD形フリップフロップ19
およびスリーステートバッファ回路20を備え、フリッ
プフロップ19の入力端子りはコンパレータ3の出力端
に接続され、クロック端子Tはテスト端子21とテスト
スイッチ22を介して外部電a!8の負極に接続され、
出力端子Qはスリーステートバッファ回路20の入力端
に接続され、このスリーステートバッファ回路20の出
力端はこの出力を発振回路1にフィードバックするよう
に接続されている。またバッフ1回路20の制?11端
子にはフリップフロップ19のクロック端子Tが接続さ
れて、テスト信号が印加される。フリップフロップ19
はそのクロック端子Tにテス11を号が印加されるとそ
のとき入力端子りに印加されている検出信号が出力端子
Qに出力され、バッファ回路20に入力する。バッフ1
回路20はその制′a端子にテスト信号が印加されたと
きのみ入力端に入力した検出信号がその出力端に伝達さ
れ、制御端子にテスト信号が入力しないときは、その出
力回路は入力に関係なくハイインピーダンスとなって発
振回路1の増幅度への影響を無くしている。
As will be described later, the oscillation voltage of the oscillation circuit 1 is controlled by feeding back the detection signal of the proximity switch. The test circuit 1B is a D-type flip-flop 19
and a three-state buffer circuit 20, the input terminal of the flip-flop 19 is connected to the output terminal of the comparator 3, and the clock terminal T is connected to the external voltage a! through a test terminal 21 and a test switch 22. connected to the negative pole of 8,
The output terminal Q is connected to the input end of a three-state buffer circuit 20, and the output end of this three-state buffer circuit 20 is connected so as to feed back this output to the oscillation circuit 1. Also, is the limit of 20 buffers per circuit? The clock terminal T of the flip-flop 19 is connected to the terminal 11, and a test signal is applied thereto. flip flop 19
When the test signal 11 is applied to the clock terminal T, the detection signal applied to the input terminal at that time is outputted to the output terminal Q and inputted to the buffer circuit 20. Buff 1
In the circuit 20, the detection signal inputted to the input terminal is transmitted to the output terminal only when the test signal is applied to the control terminal a, and when the test signal is not inputted to the control terminal, the output circuit is not connected to the input terminal. It becomes a high impedance without affecting the amplification degree of the oscillation circuit 1.

検出コイル11に被検出物体が接近し、発振回路1の発
振電圧が低下すると、この電圧が検波平滑回路2を介し
てコンパレータ3に印加され、コンパレータ3の出力端
からハイレベルの検出信号が出力する。したがって、ト
ランジスタ17はオンし、リレー10に通電する。この
状態でこの近接スイッチをテストするためにスイッチ2
2を閉じるとフリップフロップ19のクロック端子の印
加電圧が立下がり、この立下がり時にフリップフロップ
19の入力端子りにハイレベルの検出信号が印加されて
いるからフリップフロップ19はこのハイレベルの検出
信号を記憶し、出力端子Qにハイレベルの信号を出力す
る。このときバッファ回路20はその制御端子に負の印
加電圧が印加されて禁止入力が解除されているのでハイ
レベルの検出信号がそのまま出力され、この信号が発振
回路1にフィードバックされる。これにより発振回路1
の増幅度は高くなり、この発振電圧は被検出物体13が
接近していないときと同じ状態にまで高められる。した
がってトランジスタ17はオフし、リレー10の電流は
断たれる。このときフリップフロップ19の入力端子り
の信号はローレベルに反転するがクロック端子Tに印加
される信号の立下がりがなければ、すなわち第2回目の
テストスイッチ22の操作が行なわれなければ出力端子
Qの信号は不変である。ここでスイッチ22を開くとバ
ッファ回路20の出力回路はハイインピーダンスになり
、発振回路1は通常の状態に戻る。
When an object to be detected approaches the detection coil 11 and the oscillation voltage of the oscillation circuit 1 decreases, this voltage is applied to the comparator 3 via the detection smoothing circuit 2, and a high-level detection signal is output from the output terminal of the comparator 3. do. Therefore, transistor 17 is turned on and relay 10 is energized. Switch 2 to test this proximity switch in this state.
2 is closed, the voltage applied to the clock terminal of the flip-flop 19 falls, and at the time of this falling, a high-level detection signal is applied to the input terminal of the flip-flop 19, so the flip-flop 19 receives this high-level detection signal. is stored, and a high level signal is output to output terminal Q. At this time, the negative applied voltage is applied to the control terminal of the buffer circuit 20 and the inhibition input is canceled, so the high level detection signal is output as is, and this signal is fed back to the oscillation circuit 1. As a result, the oscillation circuit 1
The amplification degree of is increased, and this oscillation voltage is increased to the same state as when the detected object 13 is not approaching. Therefore, transistor 17 is turned off and the current in relay 10 is cut off. At this time, the signal at the input terminal of the flip-flop 19 is inverted to low level, but if the signal applied to the clock terminal T does not fall, that is, the second test switch 22 is not operated, the output terminal The Q signal remains unchanged. When the switch 22 is opened, the output circuit of the buffer circuit 20 becomes high impedance, and the oscillation circuit 1 returns to its normal state.

被検出物体13が接近していないとき、スイッチ22を
閉じると、コンパレータ3の出力すなわち検出信号はロ
ーレベルでこの信号をフリップフロップ19が記憶する
とともにバッファ回路20を介して発振回路1にフィー
ドバックされ、この信号がローレベルであるから発振回
路1の増幅度は低減し、発振電圧は被検出物体13があ
たかも検出コイル11に接近しているときと同じ状態に
低下し、各回路2.3が動作してトランジスタ17がオ
ンする。
When the switch 22 is closed when the detected object 13 is not approaching, the output of the comparator 3, that is, the detection signal is at a low level, and this signal is stored in the flip-flop 19 and fed back to the oscillation circuit 1 via the buffer circuit 20. , since this signal is at a low level, the amplification degree of the oscillation circuit 1 is reduced, the oscillation voltage is reduced to the same state as when the detected object 13 is approaching the detection coil 11, and each circuit 2.3 is The transistor 17 is activated and turned on.

もし、検出コイル11からトランジスタ17までの間に
断線、短絡などの故障があった場合は、上述のように被
検出物体の接近、11反の2つのモードのうちのいずれ
かでテストスイッチ22を閉じたとき、リレー10の通
電が反転することなく、近接スイッチが故障しているこ
とが分かる。なお、テスト回路18そのものが故障を生
じても同様な結果が得られる。さらにスイッチ22がリ
レー接点などでチャタリングを生じる場合は、テスト結
果に誤りを生ずることもあるがこの場合はコンパレータ
3の出力とフリップフロップ19との間に時限回路を設
ければ解決できる。
If there is a failure such as a disconnection or a short circuit between the detection coil 11 and the transistor 17, turn the test switch 22 on in one of the two modes: approach of the object to be detected and 11-turn as described above. When closed, the energization of the relay 10 does not reverse, indicating that the proximity switch is faulty. Note that similar results can be obtained even if the test circuit 18 itself fails. Furthermore, if the switch 22 causes chattering at a relay contact or the like, the test result may be erroneous, but this can be solved by providing a timer circuit between the output of the comparator 3 and the flip-flop 19.

〔発明の効果〕 本発明によれば、近接スイッチの検出信号をテスト回路
に記憶させ、この信号をテスト信号で発振回路にフィー
ドバックすることにより被検出物体の有無にかかわらず
、検出信号を反転させることを可能にし、外部に接続さ
れたリレーなどの負荷をチエツクすることにより近接ス
イッチの故障の有無をテストできる。したがって、この
近接スイッチを使用する装置を稼動する直前、または装
置に異常が生じた場合に、この近接スイッチの動作を簡
単にテストすることができる。
[Effects of the Invention] According to the present invention, the detection signal of the proximity switch is stored in the test circuit, and this signal is fed back to the oscillation circuit as a test signal, thereby inverting the detection signal regardless of the presence or absence of the detected object. By checking loads such as externally connected relays, it is possible to test whether there is a failure in the proximity switch. Therefore, the operation of this proximity switch can be easily tested just before starting operation of a device using this proximity switch, or when an abnormality occurs in the device.

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

第1図は本発明による近接スイッチの一実施例を示し、
主要部結線図を含むブロック図、第2図は従来の近接ス
イッチの一例を示すブロック図である。 1:発振回路、11:検出コイル、18:テスト回路、
22:テストスイッチ。 I。 代理人ずト理士 山 口  巌゛
FIG. 1 shows an embodiment of a proximity switch according to the invention,
A block diagram including a wiring diagram of main parts. FIG. 2 is a block diagram showing an example of a conventional proximity switch. 1: Oscillation circuit, 11: Detection coil, 18: Test circuit,
22: Test switch. I. Attorney without agent Iwao Yamaguchi

Claims (1)

【特許請求の範囲】[Claims] 1)検出コイルを有する発振回路を備え、前記検出コイ
ルの近傍を被検出物体が通過すると前記発振回路の発振
が減衰または増加して検出信号を発する近接スイッチに
おいて、テストスイッチを有し、このテストスイッチが
操作される都度前記検出信号を記憶し、この記憶された
検出信号を前記発振回路にフィードバックし、前記テス
ト信号が入力している間のみ前記発振回路の増幅度を変
化させるテスト回路を設けたことを特徴とする近接スイ
ッチ。
1) A proximity switch comprising an oscillation circuit having a detection coil, and in which when an object to be detected passes near the detection coil, the oscillation of the oscillation circuit is attenuated or increased to generate a detection signal, and the proximity switch includes a test switch, A test circuit is provided that stores the detection signal each time the switch is operated, feeds back the stored detection signal to the oscillation circuit, and changes the amplification degree of the oscillation circuit only while the test signal is input. A proximity switch characterized by:
JP62266804A 1987-10-22 1987-10-22 Proximity switch Expired - Fee Related JPH0770982B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62266804A JPH0770982B2 (en) 1987-10-22 1987-10-22 Proximity switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62266804A JPH0770982B2 (en) 1987-10-22 1987-10-22 Proximity switch

Publications (2)

Publication Number Publication Date
JPH01109823A true JPH01109823A (en) 1989-04-26
JPH0770982B2 JPH0770982B2 (en) 1995-07-31

Family

ID=17435908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62266804A Expired - Fee Related JPH0770982B2 (en) 1987-10-22 1987-10-22 Proximity switch

Country Status (1)

Country Link
JP (1) JPH0770982B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0423334U (en) * 1990-06-15 1992-02-26

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS572126A (en) * 1980-03-01 1982-01-07 Gepuharuto Barufu Fuaburiku Fu Proximity switch

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS572126A (en) * 1980-03-01 1982-01-07 Gepuharuto Barufu Fuaburiku Fu Proximity switch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0423334U (en) * 1990-06-15 1992-02-26

Also Published As

Publication number Publication date
JPH0770982B2 (en) 1995-07-31

Similar Documents

Publication Publication Date Title
US3828278A (en) Control circuit for disabling mos oscillator
JP2003115200A (en) Input termination control device of semiconductor memory, and its method
JPH01109823A (en) Proximity switch
US4918326A (en) Electronic switchgear, preferably operating contact-free
EP0052685A1 (en) Touch switch device
US6911873B2 (en) Detection circuit and method for an oscillator
JPH05227643A (en) Digital output circuit
US4151586A (en) Method and apparatus for shutting down an inverter
JP2001332161A (en) Latching relay driving circuit
JPH10313535A (en) Mode switching power supply controller and control method
CN111786655B (en) Crystal oscillator enabling circuit
JPH1115540A (en) Semiconductor integrated circuit
JP3103423B2 (en) Load control device
KR920005926B1 (en) Ring-synchronizing circuit of ring down tie circuit
SU1539996A1 (en) Triger device
JPS61228702A (en) Crystal oscillation circuit
JPH057602Y2 (en)
SU1404833A1 (en) Device for checking frequency of mechanical vibrations
JP2712746B2 (en) Oscillation circuit
JPS61105378A (en) Drive unit for electromagnetic valve
JPH0690184B2 (en) Input state memory circuit using relay
JPH03183159A (en) Semiconductor integrated circuit device
JP3469970B2 (en) Oscillator
KR0183908B1 (en) Crystal and rc oscillator of semiconductor device
JP3033751B1 (en) Square wave oscillation circuit

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees