JPH07162280A - Proximity switch - Google Patents

Proximity switch

Info

Publication number
JPH07162280A
JPH07162280A JP34087593A JP34087593A JPH07162280A JP H07162280 A JPH07162280 A JP H07162280A JP 34087593 A JP34087593 A JP 34087593A JP 34087593 A JP34087593 A JP 34087593A JP H07162280 A JPH07162280 A JP H07162280A
Authority
JP
Japan
Prior art keywords
circuit
sensitivity
resistance value
switch
sensitivity adjustment
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
JP34087593A
Other languages
Japanese (ja)
Other versions
JP3433491B2 (en
Inventor
Tomoshi Motouji
知史 元氏
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP34087593A priority Critical patent/JP3433491B2/en
Publication of JPH07162280A publication Critical patent/JPH07162280A/en
Application granted granted Critical
Publication of JP3433491B2 publication Critical patent/JP3433491B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Electronic Switches (AREA)

Abstract

PURPOSE:To set up a proximity switch to a maximum sensitivity value in a using environment. CONSTITUTION:A sensitivity adjusting circuit 21 for adjusting the sensitivity of an oscillation circuit 2 is connected to the circuit 2. When an input signal is inputted to a setting part 24, sensitivity is continuously increased until a microcomputer or an output signal in a non-detection state reaches a detection state. The sensitivity obtained in the object detection state is set up in the circuit 21 as maximum sensitivity. Consequently the maximum sensitivity in the using state of the proximity switch can be set up.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は近接スイッチに関し、特
にその感度調整及び感度設定に特徴を有する近接スイッ
チに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a proximity switch, and more particularly to a proximity switch characterized by its sensitivity adjustment and sensitivity setting.

【0002】[0002]

【従来の技術】高周波発振型の近接スイッチは物体の近
接時に発振の振幅の低下を検出する振幅検波型と、周波
数の変化に基づいて物体の近接を検出する周波数検波型
とがある。一般に磁性金属を検出する近接スイッチで
は、振幅検波型の近接スイッチが広く用いられている。
図15は従来の振幅検波型近接スイッチの一例を示すブ
ロック図である。本図において発振コイルLとコンデン
サCの並列共振回路1と共に発振回路2が構成されてい
る。発振回路2の出力は検波回路3によって検波され、
信号処理回路4によって発振レベルの低下が検出され
る。そして発振の低下が検出されれば出力回路5を介し
て物体検知信号が出力される。又電源回路6は各ブロッ
クに電源を供給するものである。ここで発振回路2には
感度を調整するための感度調整抵抗Reが接続されてい
る。
2. Description of the Related Art Proximity switches of high-frequency oscillation type include an amplitude detection type that detects a decrease in oscillation amplitude when an object approaches, and a frequency detection type that detects proximity of an object based on a change in frequency. In general, an amplitude detection type proximity switch is widely used as a proximity switch for detecting magnetic metal.
FIG. 15 is a block diagram showing an example of a conventional amplitude detection type proximity switch. In this figure, an oscillating circuit 2 is configured together with a parallel resonance circuit 1 of an oscillating coil L and a capacitor C. The output of the oscillation circuit 2 is detected by the detection circuit 3,
The signal processing circuit 4 detects a decrease in the oscillation level. When the decrease in oscillation is detected, the object detection signal is output via the output circuit 5. The power supply circuit 6 supplies power to each block. Here, the oscillation circuit 2 is connected with a sensitivity adjustment resistor Re for adjusting the sensitivity.

【0003】図16はこの並列共振回路1と共に構成さ
れる発振回路2の一例を示す回路図である。本図におい
て並列共振回路1には抵抗R1、ダイオードD1,D2
を介してトランジスタQ1のベースが接続される。トラ
ンジスタQ1のベースには電源より定電流が供給されて
おり、そのエミッタ側には抵抗R2,R3,R4が接地
端との間に直列接続される。そして抵抗R2,R3の中
点がトランジスタQ2のベースに接続され、そのエミッ
タには前述した感度調整抵抗Reが接続される。トラン
ジスタQ2のコレクタ側には、トランジスタQ3,Q4
から成るカレントミラー回路が接続されており、トラン
ジスタQ2に流れる電源と同じ電流値の電流がトランジ
スタQ4を介して並列共振回路1に帰還され、正帰還ル
ープが構成されて発振している。図17(a)は感度調
整抵抗ReがRe1〜Re3(Re1<Re2<Re
3)に変化したときの発振振幅と検出物体までの距離、
図17(b)はコイルの損失(コンダクタンス)と距離
の関係を示すグラフである。本図においてg1
g,2 ,g3 は夫々ReがRe1,Re2,Re3のと
きの発振回路側のコンダクタンスを示している。そして
本図より明らかなように、物体までの距離が特定の位置
で発振が急激に開始、停止することとなる。このような
発振を硬発振と称している。
FIG. 16 is a circuit diagram showing an example of an oscillating circuit 2 configured together with the parallel resonant circuit 1. In the figure, the parallel resonance circuit 1 includes a resistor R1 and diodes D1 and D2.
The base of the transistor Q1 is connected via. A constant current is supplied to the base of the transistor Q1 from the power source, and resistors R2, R3, and R4 are connected in series between the base of the transistor Q1 and the ground terminal. The middle point of the resistors R2 and R3 is connected to the base of the transistor Q2, and the emitter thereof is connected to the sensitivity adjusting resistor Re described above. Transistors Q3 and Q4 are provided on the collector side of the transistor Q2.
Is connected to the current mirror circuit, and a current having the same current value as that of the power supply flowing in the transistor Q2 is fed back to the parallel resonant circuit 1 via the transistor Q4 to form a positive feedback loop and oscillate. In FIG. 17A, the sensitivity adjustment resistance Re is Re1 to Re3 (Re1 <Re2 <Re
The oscillation amplitude and the distance to the detected object when changing to 3),
FIG. 17B is a graph showing the relationship between the coil loss (conductance) and the distance. In this figure, g 1 ,
g, 2 and g 3 respectively indicate conductances on the oscillation circuit side when Re is Re1, Re2 and Re3. Then, as is clear from this figure, oscillation suddenly starts and stops at a specific position at a distance to the object. Such oscillation is called hard oscillation.

【0004】図18は物体までの距離に対する並列共振
回路1のコイルの受ける損失(コンダクタンス)の変化
を示すグラフであり、この近接スイッチの周囲に金属体
がない場合の曲線をA、近接スイッチが金属板に取付け
られたときのコイルの損失曲線をBとする。図18にお
いて水平な直線Cは近接スイッチ側で感度調整抵抗の設
定により定まる閾値レベルを示している。そして物体ま
での距離Lによって定まるコイルの損失曲線上の点と直
線Cで示される閾値レベルとの交点より近い距離では発
振しており、これより遠い距離では発振を停止する。こ
のように近接スイッチは周囲の金属の有無、即ち設置環
境によってその動作が大幅に異なることとなる。
FIG. 18 is a graph showing the change in the loss (conductance) received by the coil of the parallel resonant circuit 1 with respect to the distance to the object. A curve is shown when there is no metal body around the proximity switch, and the proximity switch is Let B be the loss curve of the coil when attached to a metal plate. In FIG. 18, a horizontal straight line C indicates the threshold level determined by the sensitivity adjustment resistor setting on the proximity switch side. Oscillation occurs at a distance shorter than the intersection of the point on the coil loss curve determined by the distance L to the object and the threshold level indicated by the straight line C, and oscillation stops at a distance farther than this. In this way, the operation of the proximity switch greatly differs depending on the presence or absence of surrounding metal, that is, the installation environment.

【0005】[0005]

【発明が解決しようとする課題】このように振幅検波型
の近接スイッチでは、以下のような欠点があった。 検出距離を伸ばそうとすれば閾値となる図18の直線
Cを低くする必要がある。この場合には周囲金属の影響
が大きくなり、周囲金属が存在すればこれを検出してし
まい、物体を近接することができなくなるという欠点が
ある。そのため近接スイッチの設置環境にかかわらず使
用できるように、検出可能距離は余裕を見て短く設定さ
れることが多い。このため近接スイッチの最大限の検出
距離の能力より短い距離が最大検出距離として設定され
てしまうという欠点があった。 感度調整が感度調整抵抗Reを変化させるという手動
で行われるため、調整に熟練を要し、作業者によって調
整位置のばらつきが発生するという欠点があった。 感度調整抵抗Reの可変抵抗器の回転角度と検出動作
距離とは比例しないため、最適点に調整することが難し
く、感に頼った調整と動作確認とを繰り返す必要があっ
た。 特に長距離の動作点を設定する場合には、検出物体の
有無によって発振コイルのコンダクタンスの変化が小さ
くなる。そのため最適点に調整することが難しく、又振
動等により可変抵抗器の位置が少しずれただけでも動作
点が大きく変わってしまうという欠点があった。
Thus, the amplitude detection type proximity switch has the following drawbacks. In order to extend the detection distance, it is necessary to lower the straight line C in FIG. 18, which is a threshold value. In this case, the influence of the surrounding metal becomes large, and if there is a surrounding metal, it is detected, and it is not possible to bring the object close to it. Therefore, the detectable distance is often set to be short with a margin so that it can be used regardless of the installation environment of the proximity switch. Therefore, there is a drawback in that a distance shorter than the maximum detection distance capability of the proximity switch is set as the maximum detection distance. Since the sensitivity adjustment is performed manually by changing the sensitivity adjustment resistance Re, there is a drawback in that the adjustment requires skill and the operator may have variations in the adjustment position. Since the rotation angle of the variable resistor of the sensitivity adjustment resistor Re is not proportional to the detection operation distance, it is difficult to adjust it to the optimum point, and it is necessary to repeat the adjustment and the operation confirmation depending on the feeling. Especially when a long-distance operating point is set, the change in the conductance of the oscillation coil becomes small depending on the presence or absence of the detection object. Therefore, there is a drawback that it is difficult to adjust to the optimum point, and the operating point changes greatly even if the position of the variable resistor is slightly displaced due to vibration or the like.

【0006】本発明はこのような従来の近接スイッチの
感度調整方法の問題点に鑑みてなされたものであって、
近接スイッチを設置環境で最大の検出距離に自動的に調
整できるようにすることを技術的課題とする。
The present invention has been made in view of the problems of the conventional method for adjusting the sensitivity of the proximity switch.
The technical issue is to be able to automatically adjust the proximity switch to the maximum detection distance in the installation environment.

【0007】[0007]

【課題を解決するための手段】本願の請求項1の発明
は、発振回路と、発振回路に接続された抵抗群及び該抵
抗群を切換えるスイッチ回路を有し、該スイッチ回路の
スイッチ状態で定まる感度調整抵抗の抵抗値によって帰
還電流を切換えることによってその感度を調整する感度
調整回路と、感度調整回路にスイッチ信号を出力するこ
とによって発振回路の感度を調整するスイッチ制御手段
と、発振回路の出力を検波する検波回路と、検波回路の
出力に基づいて発振状態によって物体の有無を判別する
信号処理手段と、を具備するものであり、スイッチ制御
手段は、物体を近接させない状態で感度調整抵抗の抵抗
値を物体の非検知状態から物体検知状態に変化するまで
低下させる抵抗値更新手段と、抵抗値更新手段による物
体検知状態に変化したとき感度調整抵抗の抵抗値に基づ
いて感度調整回路に感度調整抵抗を設定する感度設定手
段と、を有することを特徴とするものである。
The invention according to claim 1 of the present application has an oscillation circuit, a resistor group connected to the oscillation circuit and a switch circuit for switching the resistor group, and is determined by the switch state of the switch circuit. A sensitivity adjustment circuit that adjusts the sensitivity by switching the feedback current according to the resistance value of the sensitivity adjustment resistor, a switch control unit that adjusts the sensitivity of the oscillation circuit by outputting a switch signal to the sensitivity adjustment circuit, and an output of the oscillation circuit And a signal processing unit that determines the presence or absence of an object based on the output state of the detection circuit based on the output of the detection circuit, and the switch control unit includes a sensitivity adjustment resistor that does not bring the object into proximity. The resistance value updating means for decreasing the resistance value from the non-detection state of the object to the object detection state and the object detection state by the resistance value updating means are changed. It is characterized in that it has a sensitivity setting means for setting the sensitivity adjustment resistor to the sensitivity adjustment circuit based on the resistance value of the sensitivity adjustment resistor when.

【0008】本願の請求項2の発明は、電源の投入を検
出する電源投入検出手段を有し、スイッチ制御手段は、
電源投入検出手段により投入が検出されたときに感度調
整抵抗の値を低下させ、抵抗値を更新することを特徴と
するものである。
The invention of claim 2 of the present application has a power-on detection means for detecting power-on, and the switch control means is
It is characterized in that the value of the sensitivity adjustment resistor is lowered and the resistance value is updated when the power-on detection means detects the power-on.

【0009】本願の請求項3の発明では、近接スイッチ
は、周囲温度を検出する温度検出手段を有し、感度設定
手段は、抵抗値更新手段により更新された抵抗値と温度
検出手段により検出される周囲温度とに基づいて感度調
整回路に設定する抵抗値を算出することを特徴とするも
のである。
In the invention of claim 3 of the present application, the proximity switch has a temperature detecting means for detecting an ambient temperature, and the sensitivity setting means is detected by the resistance value updated by the resistance value updating means and the temperature detecting means. It is characterized in that the resistance value set in the sensitivity adjustment circuit is calculated based on the ambient temperature.

【0010】[0010]

【作用】このような特徴を有する本願の請求項1の発明
によれば、発振回路にはその感度を調整する感度調整回
路を接続し、近接スイッチを使用する環境に設置した状
態で出力が物体の非検知状態から検知状態となるまで感
度調整抵抗を低下させている。そして物体検知となる感
度調整抵抗の抵抗値に基づいて感度調整抵抗を設定する
ようにしている。又請求項2の発明では、近接スイッチ
を設置した環境で電源を投入したときにその抵抗値を更
新し感度調整を行うようにしている。更に本願の請求項
3の発明では、周囲温度を温度検出手段によって検出
し、抵抗値更新手段によって更新された抵抗値と周囲温
度に基づいて設定する抵抗値を算出し、これによって使
用温度範囲での誤動作が起こらないようにしている。
According to the invention of claim 1 of the present application having such characteristics, a sensitivity adjusting circuit for adjusting the sensitivity is connected to the oscillation circuit, and the output is an object when installed in an environment where a proximity switch is used. The sensitivity adjustment resistance is lowered from the non-detection state to the detection state. Then, the sensitivity adjustment resistor is set based on the resistance value of the sensitivity adjustment resistor for detecting an object. Further, in the invention of claim 2, when the power is turned on in the environment in which the proximity switch is installed, the resistance value is updated and the sensitivity is adjusted. Further, in the invention of claim 3 of the present application, the ambient temperature is detected by the temperature detecting means, and the resistance value set based on the resistance value updated by the resistance value updating means and the ambient temperature is calculated. I try to prevent the malfunction of.

【0011】[0011]

【実施例】図1は本発明の一実施例による高周波発振型
の近接スイッチ20の構成を示すブロック図である。本
図において前述した従来例の振幅検波型近接スイッチと
同一部分は同一符号を付して詳細な説明を省略する。本
実施例においてもLC並列共振回路1と共に発振回路2
が構成されている。そして発振回路2にはその感度調整
を行うための感度調整回路21が設けられる。感度調整
回路21は外部からのスイッチ信号に基づいて発振回路
の感度調整抵抗を変化させ、発振感度を調整するための
調整回路である。そして発振回路2の出力は検波回路3
を介して信号処理回路4に与えられる。信号処理回路4
は従来例と同様に検波回路3の出力を所定の閾値レベル
で弁別することによって物体の有無を判別するものであ
り、その出力は出力回路5を介して外部に出力される。
さて本実施例では、信号処理回路4の出力は出力信号モ
ニタ回路22を介してマイクロコンピュータ23に入力
される。マイクロコンピュータ23には又感度設定時の
外部からの入力信号を入力する設定部24が設けられて
いる。設定部24は近接スイッチに設けたスイッチを用
いてもよく、又近接スイッチの外部より信号ラインを介
して入力された感度調整起動信号を受けてマイクロコン
ピュータ23の感度調整起動信号として出力するように
構成することもできる。又図中破線で示すように、この
近接スイッチの電源が投入されたことを検出する電源投
入モニタ回路25を設け、この電源投入モニタ回路25
からの投入信号によって感度調整を開始するように構成
することもできる。マイクロコンピュータ23はこれら
の入力信号に基づいて後述するようにティーチングを行
い、感度設定値をスイッチ信号によって感度調整回路2
1に設定するものであって、スイッチ制御手段を構成し
ている。又信号処理回路4を設けず、検波出力を直接マ
イクロコンピュータ23に入力し、マイクロコンピュー
タ23内で信号処理を行うようにすることもできる。
1 is a block diagram showing the configuration of a high frequency oscillation type proximity switch 20 according to an embodiment of the present invention. In the figure, the same parts as those of the conventional amplitude detection type proximity switch described above are denoted by the same reference numerals and detailed description thereof will be omitted. Also in this embodiment, the oscillation circuit 2 is provided together with the LC parallel resonance circuit 1.
Is configured. Then, the oscillation circuit 2 is provided with a sensitivity adjustment circuit 21 for adjusting its sensitivity. The sensitivity adjustment circuit 21 is an adjustment circuit for adjusting the oscillation sensitivity by changing the sensitivity adjustment resistance of the oscillation circuit based on a switch signal from the outside. The output of the oscillation circuit 2 is the detection circuit 3
Is given to the signal processing circuit 4 via. Signal processing circuit 4
Is to determine the presence or absence of an object by discriminating the output of the detection circuit 3 at a predetermined threshold level as in the conventional example, and the output is output to the outside via the output circuit 5.
In this embodiment, the output of the signal processing circuit 4 is input to the microcomputer 23 via the output signal monitor circuit 22. The microcomputer 23 is also provided with a setting unit 24 for inputting an input signal from the outside when setting the sensitivity. The setting unit 24 may use a switch provided in the proximity switch, or may receive a sensitivity adjustment activation signal input from the outside of the proximity switch via a signal line and output it as a sensitivity adjustment activation signal of the microcomputer 23. It can also be configured. Further, as shown by a broken line in the figure, a power-on monitor circuit 25 for detecting that the power of the proximity switch is turned on is provided.
It is also possible to configure the sensitivity adjustment to be started by the input signal from. The microcomputer 23 performs teaching based on these input signals as will be described later, and sets the sensitivity setting value by the switch signal to the sensitivity adjusting circuit 2
It is set to 1, and constitutes switch control means. Alternatively, the signal processing circuit 4 may not be provided, and the detection output may be directly input to the microcomputer 23 and signal processing may be performed in the microcomputer 23.

【0012】図2は本実施例の並列共振回路1と発振回
路2及び感度調整回路21の構成を示す回路図である。
本図において前述した従来例と同一部分は同一符号を付
して詳細な説明を省略する。本実施例においても並列共
振回路1にダイオードD1,D2及びトランジスタQ1
〜Q4を有する発振回路2が接続されている。そして発
振回路2の感度調整用抵抗Reの位置には、図示のよう
に抵抗RE0,RE1・・・REmが直列に接続される。そし
て抵抗RE0とRE1の中点、RE1とRE2の中点・・・の間
には図示のように感度調整抵抗Reを切換えるためのト
ランジスタQE1,QE2・・・QEmが接続される。これら
のトランジスタQE1〜QEmはマイクロコンピュータ23
の出力ポートより並列信号として出力される。こうして
各トランジスタのオン又はオフ状態によって全体の感度
調整抵抗Reが定まる。このためマイクロコンピュータ
23からの制御によって発振回路の感度が調整できるよ
うに構成されている。ここでこのトランジスタ数をmと
し、抵抗REiはREi=R0・2i (i=1〜11)となる
抵抗値が設定されているものとする。こうすればスイッ
チングトランジスタQE1〜QEmの11ビットのスイッチ
をオンオフすることによって、2048段階で合成抵抗値R
eが設定できることとなる。
FIG. 2 is a circuit diagram showing the configuration of the parallel resonant circuit 1, the oscillator circuit 2 and the sensitivity adjusting circuit 21 of this embodiment.
In this figure, the same parts as those of the conventional example described above are designated by the same reference numerals, and detailed description thereof is omitted. Also in this embodiment, the parallel resonant circuit 1 includes the diodes D1 and D2 and the transistor Q1.
The oscillator circuit 2 having Q4 is connected. The resistors R E0 , R E1 ... R Em are connected in series at the position of the sensitivity adjusting resistor Re of the oscillation circuit 2 as shown in the figure. And between the resistors R E0 and R E1, the transistor Q E1, Q E2 ··· Q Em for switching the sensitivity adjustment resistor Re as shown between the middle point ... of R E1 and R E2 Connected. These transistors Q E1 to Q Em are microcomputers 23
It is output as a parallel signal from the output port of. Thus, the overall sensitivity adjustment resistance Re is determined by the on or off state of each transistor. Therefore, the sensitivity of the oscillation circuit can be adjusted under the control of the microcomputer 23. Here, it is assumed that the number of transistors is m and the resistance value of R Ei is set to R Ei = R 0 .2 i (i = 1 to 11). By doing this, by turning on / off the 11-bit switches of the switching transistors Q E1 to Q Em , the combined resistance value R can be obtained in 2048 steps.
e can be set.

【0013】又このように設定されたReに代えて図3
に示すようにFETQ5を感度調整抵抗Reに並列に接
続し、トランジスタQE1〜QEmのスイッチ回路でそのゲ
ート電圧を切換えることによってFETQ5を流れる電
流を制御するように構成してもよい。
Further, in place of Re set in this way, FIG.
Alternatively, the FET Q5 may be connected in parallel to the sensitivity adjustment resistor Re, and the current flowing through the FET Q5 may be controlled by switching the gate voltage by the switch circuit of the transistors Q E1 to Q Em .

【0014】次に本実施例の動作について図4のフロー
チャートを参照しつつ説明する。まず動作を開始する
と、ステップ31において設定部24に入力信号が入力
されているかどうかをチェックする。感度設定時にはこ
の近接スイッチを設置した状態で検出すべき物体を接近
させないで、設定部24よりスイッチ入力又は内部から
の入力信号や電源投入によって感度設定の監視信号を入
力するものとする。入力されていなければ処理を終え、
入力されている場合にはステップ32に進んで出力信号
モニタ回路22によりオン状態、即ち発振回路2の発振
が停止又は信号処理回路4の閾値以下かどうかをチェッ
クする。出力信号がオンの場合には図5(a)の例えば
破線で示す位置に閾値ラインCがあるものと考えられ
る。このときにはステップ33に進んでこのときの感度
調整抵抗Reの値を1ステップ分小さくする。これは閾
値ラインを図5において上昇させることに相当する。そ
して発振が開始するかどうかを待機し、ステップ34に
進んで出力信号がオフしたかどうかをチェックする。出
力がオフ点とならなければステップ33に戻って同様の
処理を繰り返す。こうすれば感度調整抵抗Reが徐々に
小さくなり、ある位置で発振が開始して出力がオフとな
る。これは閾値ラインが図5の直線Dとなったこととな
る。出力がオフとなればステップ35に進んで、余裕度
調整を行うかどうかをチェックする。余裕度調整を行わ
ない場合にはこれで処理を終了し、このときの感度調整
抵抗Reの値を設定して実際の物体検知を行う。余裕度
調整を行う場合にはステップ36に進んで設定されたス
テップ数だけ感度調整抵抗の値Reを小さくして処理を
終える。こうすれば図5(a)に示すように閾値となる
レベルが例えば直線Eに示すように高くなり、検出距離
自体は短くなるが、安定した検出が可能となる。又この
ステップ数は使用環境に応じて任意の値を入力できるよ
うに構成しておくこともできる。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG. First, when the operation is started, it is checked in step 31 whether an input signal is input to the setting unit 24. At the time of sensitivity setting, the object to be detected is not brought close to this with the proximity switch installed, and a sensitivity setting monitoring signal is input from the setting unit 24 by a switch input, an input signal from the inside, or power-on. If it is not entered, the process ends,
If it is input, the process proceeds to step 32, and it is checked by the output signal monitor circuit 22 whether it is in the on state, that is, whether the oscillation of the oscillation circuit 2 is stopped or is less than the threshold value of the signal processing circuit 4. When the output signal is on, it is considered that there is the threshold line C at the position shown by the broken line in FIG. At this time, the routine proceeds to step 33, where the value of the sensitivity adjustment resistor Re at this time is reduced by one step. This corresponds to raising the threshold line in FIG. Then, it waits for the oscillation to start, and proceeds to step 34 to check if the output signal is turned off. If the output does not reach the off point, the process returns to step 33 and the same processing is repeated. By doing so, the sensitivity adjustment resistance Re gradually decreases, oscillation starts at a certain position, and the output is turned off. This means that the threshold line becomes the straight line D in FIG. When the output is turned off, the routine proceeds to step 35, where it is checked whether or not margin adjustment is performed. When the margin adjustment is not performed, the processing is ended, the value of the sensitivity adjustment resistance Re at this time is set, and the actual object detection is performed. When the margin adjustment is performed, the process proceeds to step 36, the value Re of the sensitivity adjustment resistor is reduced by the set number of steps, and the process ends. In this way, as shown in FIG. 5A, the threshold level becomes high, for example, as shown by the straight line E, and the detection distance itself becomes short, but stable detection is possible. Further, the number of steps can be configured so that an arbitrary value can be input according to the usage environment.

【0015】一方ステップ32において出力信号がオフ
状態であればステップ37に進んでそのときの感度値抵
抗Reの値を取込む。そしてステップ38においてRe
の値を例えば2倍の値となるように更新する。これは図
5(b)において例えば閾値ラインを直線FからGに変
化させることを意味する。そしてステップ39に進んで
出力信号がオフ、即ち発振が開始又は信号処理回路の閾
値以上となったかどうかをチェックし、オフのままであ
ればステップ37に戻って同様の処理を繰り返す。こう
して感度調整抵抗Reの値を更新していけば発振が開始
することとなるため、発振が開始すればステップ39よ
りステップ33に戻って同様の処理を繰り返す。こうす
れば出力信号がオフ状態のときも比較的速く感度調整抵
抗の値を設定することができる。ここでマイクロコンピ
ュータ23はステップ31〜34,37〜39において
感度調整抵抗の抵抗値を物体の非検知状態から物体検知
状態に変化するまで低下させる抵抗値更新手段23aの
機能を達成しており、ステップ35,36は物体検知状
態に変化したときの感度調整抵抗の抵抗値に基づいて感
度調整回路に感度調整抵抗を設定する感度設定手段23
bの機能を達成している。
On the other hand, if the output signal is in the off state in step 32, the process proceeds to step 37 to take in the value of the sensitivity value resistor Re at that time. Then, in step 38, Re
The value of is updated to be, for example, a doubled value. This means that, for example, in FIG. 5B, the threshold line is changed from the straight line F to G. Then, the process proceeds to step 39, in which it is checked whether the output signal is off, that is, whether the oscillation has started or becomes equal to or more than the threshold value of the signal processing circuit. In this way, if the value of the sensitivity adjustment resistor Re is updated, the oscillation starts. Therefore, if the oscillation starts, the process returns from step 39 to step 33 and the same processing is repeated. In this way, the value of the sensitivity adjustment resistor can be set relatively quickly even when the output signal is in the off state. Here, the microcomputer 23 achieves the function of the resistance value updating means 23a that reduces the resistance value of the sensitivity adjustment resistance in steps 31 to 34, 37 to 39 until the object detection state changes to the object detection state. In steps 35 and 36, the sensitivity setting means 23 that sets the sensitivity adjustment resistance in the sensitivity adjustment circuit based on the resistance value of the sensitivity adjustment resistance when the object detection state is changed.
The function of b is achieved.

【0016】図6,図7,図8は感度調整の他の例を示
すフローチャート、図9はそのときの距離に対するコン
ダクタンスの変化を示すグラフである。これらの図にお
いて動作を開始するとまずステップ41において設定部
に入力信号が入力されているかどうかをチェックする。
入力信号があればステップ42に進んで出力状態を出力
信号モニタ回路22より取込み、出力がオンかどうかを
チェックする。オンの場合にはステップ43に進んで現
在の感度設定値Reの値をレジスタに取込んでRe
(n)とする。このときはRe(n)は例えば図9の直
線A()で表される。そしてステップ44に進んでR
e(n)にα(α<1)を乗じてRe(n+1)とす
る。そしてステップ44に進んでこのRe(n+1)を
感度設定値としてセットとし、出力がオフとなるかどう
かをチェックする。又ステップ42において出力がオフ
状態であればステップ47に進んで現在のReの値を取
込んでRe(n)とする。そしてステップ48において
Reにγ(γ>1)を乗じてRe(n+1)とする。そ
してステップ49に進んでこのRe(n+1)を感度設
定値としてセットし、ステップ50においてRe(n+
1)をRe(n)とする。そしてステップ51において
出力がオン状態かどうかをチェックする。出力がオフ状
態であればステップ48〜50のループを繰り返し、オ
ン状態となればステップ44に進む。こうすれば図9に
示すように出力が一旦オン状態の感度調整抵抗Re
(n)が得られることとなる。
FIGS. 6, 7, and 8 are flowcharts showing another example of sensitivity adjustment, and FIG. 9 is a graph showing changes in conductance with respect to distance at that time. When the operation is started in these figures, first, at step 41, it is checked whether or not an input signal is inputted to the setting section.
If there is an input signal, the process proceeds to step 42 to capture the output state from the output signal monitor circuit 22 and check whether the output is on. If it is on, the procedure proceeds to step 43, where the current sensitivity setting value Re is loaded into the register and Re
(N). At this time, Re (n) is represented by the straight line A () in FIG. 9, for example. Then go to step 44 and go to R
Re (n + 1) is obtained by multiplying e (n) by α (α <1). Then, the routine proceeds to step 44, where Re (n + 1) is set as the sensitivity setting value, and it is checked whether the output is off. If the output is off at step 42, the process proceeds to step 47 to take the current value of Re and set it as Re (n). Then, in step 48, Re is multiplied by γ (γ> 1) to obtain Re (n + 1). Then, the routine proceeds to step 49, where this Re (n + 1) is set as the sensitivity setting value, and at step 50 Re (n +)
Let 1) be Re (n). Then, in step 51, it is checked whether the output is on. If the output is off, the loop of steps 48 to 50 is repeated, and if it is on, the routine proceeds to step 44. By doing so, as shown in FIG. 9, the sensitivity adjusting resistor Re whose output is once in the ON state is
(N) will be obtained.

【0017】さてステップ43〜46のループにおいて
はReに係数αを乗じてその値を小さくすることによっ
て、出力がオフするまでこのループを繰り返す。出力が
オフとなる場合には、Re(n+1)は例えば図9の曲
線B()で表される。そして出力がオフとなれば、図
7のステップ52に進んでXを次式によって求める。 X={Re(n)−Re(n+1)}/β ここでβは1以上の正の数、例えば2とする。そしてス
テップ53に進んでRe(n+2)を以下の式で算出す
る。 Re(n+2)=Re(n+1)+X そして感度調整抵抗をRe(n+2)の値にセットする
(ステップ54)。こうすればRe(n+2)は曲線A
とBとの間に設定されることとなる。次いでステップ5
5において出力がオフとなるかどうかをチェックする。
出力がオフのままであればステップ56に進んでRe
(n+1)にRe(n+2)の値を入れて(図9→
)、ステップ52に戻って同様の処理を繰り返す。こ
うすればβが2の場合には図9に示すようにRe(n)
とRe(n+1)の中間点に順次感度調整抵抗値が設定
されることとなり、図9の直線Bから直線C、次いで直
線Dとすることができる。
In the loop of steps 43 to 46, Re is multiplied by the coefficient α to reduce the value, and this loop is repeated until the output is turned off. When the output is off, Re (n + 1) is represented by the curve B () in FIG. 9, for example. When the output is turned off, the process proceeds to step 52 in FIG. 7 and X is calculated by the following equation. X = {Re (n) -Re (n + 1)} / β Here, β is a positive number of 1 or more, for example, 2. Then, the routine proceeds to step 53, where Re (n + 2) is calculated by the following formula. Re (n + 2) = Re (n + 1) + X Then, the sensitivity adjusting resistor is set to the value of Re (n + 2) (step 54). In this way, Re (n + 2) is the curve A
Will be set between B and B. Then step 5
At 5 it is checked if the output is off.
If the output remains off, proceed to step 56 and Re
Insert the value of Re (n + 2) into (n + 1) (Fig. 9 →
), And returns to step 52 and repeats similar processing. In this way, when β is 2, Re (n) as shown in FIG.
Since the sensitivity adjustment resistance value is sequentially set at the intermediate point between and Re (n + 1), it is possible to change from the straight line B to the straight line C and then to the straight line D in FIG.

【0018】直線Dとなれば出力はオン状態となるた
め、ステップ55からステップ57に進んでRe(n+
2)の値をRe(n)とする(→)。そしてステッ
プ58〜61においてステップ52〜55と同様の処理
を繰り返し、出力がオフかどうかをチェックする。出力
がオフとなればステップ62,63に進んで、Re(n
+2)に所定の係数λ(λ>1)を乗じた値を新たなR
e(n+2)として、これを感度調整抵抗にセットす
る。そして出力がオンとなるまでステップ62〜64の
ループを繰り返し、オフとなればステップ65に進む。
ステップ61において出力がオフ状態であれば、ステッ
プ62〜64のループを介することなくステップ65に
進む。ステップ65〜68は図4に示すステップ33以
降のフローチャートと同様であり、Reを1ステップづ
つ小さくして出力がオフとなるかどうかをチェックす
る。こうして必要に応じて余裕度の調整を行い、感度設
定を終える。ここでマイクロコンピュータ23はステッ
プ41〜66において物体を近接させない状態で感度調
整抵抗の抵抗値を物体の非検知状態から物体検知状態に
変化するまで低下させる抵抗値更新手段23aの機能を
達成しており、ステップ67,68において物体検知状
態に変化したときの感度調整抵抗の抵抗値に基づいて感
度調整抵抗を設定する感度設定手段23bの機能を達成
している。このようにすれば元の感度調整抵抗の抵抗値
がどのような値であっても、比較的短時間で感度調整抵
抗の値を最適値に設定することができる。
When the straight line D is reached, the output is turned on, so the routine proceeds from step 55 to step 57 and Re (n +
Let the value of 2) be Re (n) (→). Then, in steps 58 to 61, the same processing as steps 52 to 55 is repeated to check whether the output is off. When the output is turned off, the process proceeds to steps 62 and 63, where Re (n
+2) is multiplied by a predetermined coefficient λ (λ> 1) to obtain a new R
As e (n + 2), this is set in the sensitivity adjustment resistor. Then, the loop of steps 62 to 64 is repeated until the output is turned on, and when it is turned off, the process proceeds to step 65.
If the output is off in step 61, the process proceeds to step 65 without going through the loop of steps 62-64. Steps 65 to 68 are the same as the flowchart of step 33 and subsequent steps shown in FIG. 4, and Re is decreased step by step to check whether the output is turned off. In this way, the margin is adjusted as necessary, and the sensitivity setting is completed. Here, the microcomputer 23 achieves the function of the resistance value updating means 23a for reducing the resistance value of the sensitivity adjustment resistor until the object detection state is changed from the non-detection state to the object detection state in steps 41 to 66 without bringing the object close to each other. Therefore, the function of the sensitivity setting means 23b for setting the sensitivity adjustment resistance based on the resistance value of the sensitivity adjustment resistance when the object detection state is changed in steps 67 and 68 is achieved. By doing so, it is possible to set the value of the sensitivity adjusting resistor to the optimum value in a relatively short time regardless of the original resistance value of the sensitivity adjusting resistor.

【0019】次に本発明の第3実施例について説明す
る。第3実施例では第1,第2実施例のステップ34又
はステップ66において最大感度値が設定された後に温
度補償処理を行う。即ち図10のフローチャートにおい
てステップ71に進んでReの値を取込み、温度補正演
算式によってReの余裕度を算出し、補正後のReの値
に切換えて設定するものである。例えば図11に示すよ
うに常温での距離に対するコイルのコンダクタンス変化
を曲線Aで表すものとすると、一般に高温時にはその曲
線が例えば破線の曲線Bに示すように上昇し、近接スイ
ッチが周囲金属のある環境下に設置されたときと同一の
状態となる。従って最大感度となるReの値より低い値
となるように、ステップ72においてReに所定の係数
k(0<k<1)、例えばk=0.72を乗じる。そして補
正後の値を新たな感度設定値とする。こうすれば最も高
温の場合を含めて、全ての温度範囲で最大検出距離での
検出が可能な近接スイッチとすることができる。
Next, a third embodiment of the present invention will be described. In the third embodiment, the temperature compensation process is performed after the maximum sensitivity value is set in step 34 or step 66 of the first and second embodiments. That is, in the flowchart of FIG. 10, the process proceeds to step 71, the value of Re is taken in, the margin of Re is calculated by the temperature correction arithmetic expression, and the value of Re after correction is switched and set. For example, assuming that the change in the conductance of the coil with respect to the distance at room temperature is represented by the curve A as shown in FIG. 11, generally, at high temperature, the curve rises as shown by a broken line curve B, and the proximity switch has a surrounding metal. It will be in the same state as when it was installed in the environment. Therefore, in step 72, Re is multiplied by a predetermined coefficient k (0 <k <1), for example, k = 0.72, so that the value becomes lower than the value of Re that provides the maximum sensitivity. Then, the corrected value is set as a new sensitivity setting value. This makes it possible to provide a proximity switch capable of detecting at the maximum detection distance in the entire temperature range including the case of the highest temperature.

【0020】次に本発明の第4実施例について説明す
る。本実施例では第1〜3実施例のブロックに加えて、
温度を検出する温度検出回路と検出した温度に基づいて
補正を行うものである。即ち図12に示すように近接ス
イッチ内には温度センサ、例えばサーミスタと、このサ
ーミスタ71を含むCR発振回路72が設けられる。C
R発振回路72の出力は分周回路73を介してカウンタ
74に入力される。又基準クロック信号を発生するクロ
ック発振器75の出力がカウンタ74に入力されてお
り、分周出力を計数することによってマイクロコンピュ
ータ23Aに温度情報を出力するものである。サーミス
タ71,CR発振回路72,分周回路73,カウンタ7
4及び基準クロック発振器75のブロックは、周囲温度
を検出する温度検出手段を構成している。この温度検出
手段は本実施例の構成に限らず、温度を検知する任意の
構成とすることができる。又マイクロコンピュータ23
Aにはそのときの周囲温度に対して補正係数kを記憶す
るテーブルメモリ76が接続されている。図13は周囲
温度に対する補正計数kの変化の一例を示すグラフであ
る。
Next, a fourth embodiment of the present invention will be described. In this embodiment, in addition to the blocks of the first to third embodiments,
The temperature detection circuit that detects the temperature and the correction is performed based on the detected temperature. That is, as shown in FIG. 12, a temperature sensor, for example, a thermistor, and a CR oscillation circuit 72 including the thermistor 71 are provided in the proximity switch. C
The output of the R oscillation circuit 72 is input to the counter 74 via the frequency dividing circuit 73. Further, the output of the clock oscillator 75 for generating the reference clock signal is input to the counter 74, and the temperature information is output to the microcomputer 23A by counting the frequency-divided output. Thermistor 71, CR oscillator circuit 72, frequency divider circuit 73, counter 7
4 and the block of the reference clock oscillator 75 constitute a temperature detecting means for detecting the ambient temperature. The temperature detecting means is not limited to the structure of this embodiment, but may have any structure for detecting the temperature. In addition, the microcomputer 23
A table memory 76 for storing the correction coefficient k for the ambient temperature at that time is connected to A. FIG. 13 is a graph showing an example of changes in the correction count k with respect to the ambient temperature.

【0021】次に本実施例の動作について図14のフロ
ーチャートを用いて説明する。そして図4,図8のステ
ップ34,66に続いて、出力信号がオフとなったとき
にステップ81においてReの値を取込む。そしてステ
ップ82に進んでカウンタ74の計数値を読込み、現在
の温度に変換する。次いでステップ83に進み温度補償
テーブルから現在の温度に対応した係数値を読込み、得
られた現在の感度調整抵抗Reの値を乗じて常温(例え
ば20℃)での感度調整抵抗の値を算出する。そしてス
テップ84においてReの値を補正演算式によって補正
する。この補正演算は前述した第3実施例のステップ7
2と同様に、Reに所定の係数k、例えば0.72を乗じて
演算する。そして補正後のReの値に切換えて処理を終
える。こうすればティーチング時の周囲温度にかかわら
ず、常に全ての温度範囲で誤動作なく余裕度を持って感
度を設定することができる。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG. Then, following steps 34 and 66 in FIGS. 4 and 8, when the output signal is turned off, the value of Re is taken in at step 81. Then, in step 82, the count value of the counter 74 is read and converted into the current temperature. Next, in step 83, the coefficient value corresponding to the current temperature is read from the temperature compensation table, and the value of the current sensitivity adjustment resistance Re obtained is multiplied to calculate the value of the sensitivity adjustment resistance at room temperature (for example, 20 ° C.). . Then, in step 84, the value of Re is corrected by the correction calculation formula. This correction calculation is performed in step 7 of the third embodiment described above.
Similar to 2, the calculation is performed by multiplying Re by a predetermined coefficient k, for example, 0.72. Then, the value of Re after correction is switched to complete the processing. In this way, regardless of the ambient temperature at the time of teaching, the sensitivity can always be set with a margin without malfunction in all temperature ranges.

【0022】又本実施例では高周波発振型の近接スイッ
チについて説明しているが、本発明によるティーチング
は他の形式の近接スイッチに適用することができる。例
えば静電容量型の近接スイッチにおいても動作距離を感
度調整抵抗によって連続して変化させることができれ
ば、本発明によるティーチングを適用することが可能と
なる。
Further, in the present embodiment, the high frequency oscillation type proximity switch has been described, but the teaching according to the present invention can be applied to other types of proximity switches. For example, even in a capacitance type proximity switch, if the operating distance can be continuously changed by the sensitivity adjusting resistor, the teaching according to the present invention can be applied.

【0023】[0023]

【発明の効果】以上詳細に説明したように本願の請求項
1の発明によれば、近接スイッチが設置される環境下で
最大の感度となるように自動的に設定することができ
る。従って全ての使用環境や取付状態で使用できるよう
に余裕をみて感度を設定する必要がなくなり、実際に検
出スイッチを使用する環境下で最大感度値とすることが
できる。更に本願の請求項2の発明では、電源投入毎に
このような感度調整を行うため、その使用状態での環境
や温度に応じた最適の最大感度値が設定できることとな
る。更に本願の請求項3の発明では、周囲温度を算出し
て感度値を設定するようにしているため、その使用環境
で使用温度範囲の全てについて誤動作しない最大感度に
設定できるという効果が得られる。従って操作性が良
く、作業者の感や経験に頼らず、簡単に最適感度を調整
することができる。又周囲に金属や背景物体があった場
合にもその環境下で最適点に感度設定することができ
る。更に従来のように可変抵抗を用いることはなく、耐
振動性に優れている。
As described in detail above, according to the invention of claim 1 of the present application, it is possible to automatically set the maximum sensitivity in the environment in which the proximity switch is installed. Therefore, it is not necessary to set the sensitivity with a margin so that it can be used in all usage environments and mounting conditions, and the maximum sensitivity value can be set in the environment where the detection switch is actually used. Further, in the invention of claim 2 of the present application, since such sensitivity adjustment is performed every time the power is turned on, an optimum maximum sensitivity value can be set according to the environment and temperature in the usage state. Further, in the invention of claim 3 of the present application, since the ambient temperature is calculated and the sensitivity value is set, there is an effect that it is possible to set the maximum sensitivity that does not malfunction in the entire operating temperature range in the operating environment. Therefore, the operability is good, and the optimum sensitivity can be easily adjusted without depending on the feeling or experience of the operator. Further, even if there is a metal or a background object in the surroundings, the sensitivity can be set to the optimum point under the environment. Further, it does not use a variable resistor as in the prior art, and has excellent vibration resistance.

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

【図1】本発明の一実施例による振幅検波型の近接スイ
ッチのブロック図である。
FIG. 1 is a block diagram of an amplitude detection type proximity switch according to an embodiment of the present invention.

【図2】本発明の実施例による発振回路及び感度調整回
路の構成を示す回路図である。
FIG. 2 is a circuit diagram showing a configuration of an oscillation circuit and a sensitivity adjustment circuit according to an embodiment of the present invention.

【図3】本発明の他の実施例による発振回路及び感度調
整回路の構成を示す回路図である。
FIG. 3 is a circuit diagram showing configurations of an oscillation circuit and a sensitivity adjustment circuit according to another embodiment of the present invention.

【図4】第1実施例の動作を示すフローチャートであ
る。
FIG. 4 is a flowchart showing the operation of the first embodiment.

【図5】本実施例の検出物体までの距離に対するコイル
の損失の変化を示すグラフである。
FIG. 5 is a graph showing a change in coil loss with respect to a distance to a detection object according to the present embodiment.

【図6】本発明の第2実施例によるティーチング処理を
示すフローチャート(その1)である。
FIG. 6 is a flowchart (1) showing a teaching process according to the second embodiment of the present invention.

【図7】本発明の第2実施例によるティーチング処理を
示すフローチャート(その2)である。
FIG. 7 is a flowchart (part 2) showing the teaching process according to the second embodiment of the present invention.

【図8】本発明の第2実施例によるティーチング処理を
示すフローチャート(その3)である。
FIG. 8 is a flowchart (No. 3) showing the teaching process according to the second embodiment of the present invention.

【図9】本発明の第2実施例における感度調整動作時の
検出距離に対するコンダクタンスの変化を示すグラフで
ある。
FIG. 9 is a graph showing a change in conductance with respect to a detection distance during a sensitivity adjusting operation in the second embodiment of the present invention.

【図10】本発明の第3実施例の動作を示すフローチャ
ートである。
FIG. 10 is a flowchart showing the operation of the third embodiment of the present invention.

【図11】本発明の第3実施例による検出距離に対する
コンダクタンスの変化を示すグラフである。
FIG. 11 is a graph showing changes in conductance with respect to a detection distance according to the third embodiment of the present invention.

【図12】本発明の第4実施例による近接スイッチの全
体構成を示すブロック図である。
FIG. 12 is a block diagram showing an overall configuration of a proximity switch according to a fourth embodiment of the present invention.

【図13】周囲温度に対する補正係数kの変化を示すグ
ラフである。
FIG. 13 is a graph showing changes in the correction coefficient k with respect to ambient temperature.

【図14】本発明の第4実施例の動作を示すフローチャ
ートである。
FIG. 14 is a flowchart showing the operation of the fourth embodiment of the present invention.

【図15】従来の振幅検波型近接スイッチの全体構成を
示すブロック図である。
FIG. 15 is a block diagram showing an overall configuration of a conventional amplitude detection type proximity switch.

【図16】従来の振幅検波型近接スイッチの発振回路を
示す回路図である。
FIG. 16 is a circuit diagram showing an oscillation circuit of a conventional amplitude detection type proximity switch.

【図17】振幅検波型近接スイッチのワーク設定距離L
に対する発振回路の振幅及びコイルのコンダクタンスを
示すグラフである。
FIG. 17: Work setting distance L of amplitude detection type proximity switch
5 is a graph showing the amplitude of the oscillation circuit and the conductance of the coil with respect to FIG.

【図18】従来の近接スイッチの物体までの距離に対す
るコイルの受ける損失の変化を示すグラフである。
FIG. 18 is a graph showing a change in the loss that the coil receives with respect to the distance to the object of the conventional proximity switch.

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

1 並列共振回路 2 発振回路 3 検波回路 4 信号処理回路 5 出力回路 20 近接スイッチ 21 感度調整回路 22 出力信号モニタ回路 23 マイクロコンピュータ 23a 抵抗値更新手段 23b,23c 感度設定手段 24 設定部 25 電源投入モニタ回路 71 サーミスタ 72 CR発振回路 73 分周回路 74 カウンタ 75 基準クロック発振器 76 テーブルメモリ 1 parallel resonance circuit 2 oscillation circuit 3 detection circuit 4 signal processing circuit 5 output circuit 20 proximity switch 21 sensitivity adjustment circuit 22 output signal monitor circuit 23 microcomputer 23a resistance value updating means 23b, 23c sensitivity setting means 24 setting section 25 power-on monitor Circuit 71 Thermistor 72 CR oscillation circuit 73 Frequency divider circuit 74 Counter 75 Reference clock oscillator 76 Table memory

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 発振回路と、 前記発振回路に接続された抵抗群及び該抵抗群を切換え
るスイッチ回路を有し、該スイッチ回路のスイッチ状態
で定まる感度調整抵抗の抵抗値によって帰還電流を切換
えることによってその感度を調整する感度調整回路と、 前記感度調整回路にスイッチ信号を出力することによっ
て前記発振回路の感度を調整するスイッチ制御手段と、 前記発振回路の出力を検波する検波回路と、 前記検波回路の出力に基づいて発振状態によって物体の
有無を判別する信号処理手段と、を具備するものであ
り、 前記スイッチ制御手段は、 物体を近接させない状態で前記感度調整抵抗の抵抗値を
物体の非検知状態から物体検知状態に変化するまで低下
させる抵抗値更新手段と、 前記抵抗値更新手段による物体検知状態に変化したとき
感度調整抵抗の抵抗値に基づいて前記感度調整回路に感
度調整抵抗を設定する感度設定手段と、を有するもので
あることを特徴とする近接スイッチ。
1. An oscillation circuit, a resistance group connected to the oscillation circuit, and a switch circuit for switching the resistance group, the feedback current being switched according to a resistance value of a sensitivity adjustment resistor determined by a switch state of the switch circuit. A sensitivity adjusting circuit for adjusting the sensitivity thereof, a switch control unit for adjusting the sensitivity of the oscillation circuit by outputting a switch signal to the sensitivity adjusting circuit, a detection circuit for detecting the output of the oscillation circuit, and the detection circuit. Signal processing means for determining the presence or absence of an object based on the output of the circuit based on the oscillating state, wherein the switch control means sets the resistance value of the sensitivity adjustment resistor to the non-object Resistance value updating means for decreasing until the detection state changes to the object detection state, and an object detection state changed by the resistance value updating means Proximity switch, characterized in that those having a sensitivity setting means for setting a sensitivity adjustment resistor to said sensitivity adjustment circuit based on the resistance value of the sensitivity adjustment resistor can.
【請求項2】 電源の投入を検出する電源投入検出手段
を有し、前記スイッチ制御手段は、電源投入検出手段に
より投入が検出されたときに感度調整抵抗の値を低下さ
せ、抵抗値を更新するものであることを特徴とする請求
項1記載の近接スイッチ。
2. A power-on detection means for detecting power-on, wherein the switch control means lowers the value of the sensitivity adjustment resistor and updates the resistance value when the power-on detection means detects the power-on. The proximity switch according to claim 1, which is a switch.
【請求項3】 前記近接スイッチは、周囲温度を検出す
る温度検出手段を有し、 前記感度設定手段は、前記抵抗値更新手段により更新さ
れた抵抗値と前記温度検出手段により検出される周囲温
度とに基づいて前記感度調整回路に設定する抵抗値を算
出するものであることを特徴とする請求項1又は2記載
の近接スイッチ。
3. The proximity switch has a temperature detecting means for detecting an ambient temperature, and the sensitivity setting means has a resistance value updated by the resistance value updating means and an ambient temperature detected by the temperature detecting means. The proximity switch according to claim 1 or 2, wherein a resistance value set in the sensitivity adjustment circuit is calculated based on
JP34087593A 1993-12-08 1993-12-08 Proximity switch Expired - Fee Related JP3433491B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34087593A JP3433491B2 (en) 1993-12-08 1993-12-08 Proximity switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34087593A JP3433491B2 (en) 1993-12-08 1993-12-08 Proximity switch

Publications (2)

Publication Number Publication Date
JPH07162280A true JPH07162280A (en) 1995-06-23
JP3433491B2 JP3433491B2 (en) 2003-08-04

Family

ID=18341118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34087593A Expired - Fee Related JP3433491B2 (en) 1993-12-08 1993-12-08 Proximity switch

Country Status (1)

Country Link
JP (1) JP3433491B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009038159A1 (en) * 2007-09-20 2009-03-26 Panasonic Electric Works Co., Ltd. Proximity sensor
JP2009077168A (en) * 2007-09-20 2009-04-09 Panasonic Electric Works Co Ltd Proximity sensor
JP2009077253A (en) * 2007-09-21 2009-04-09 Sunx Ltd Sensor system, control unit and detection sensor
JP2010531107A (en) * 2007-06-28 2010-09-16 エーティーラブ・インコーポレーテッド Automatic sensitivity adjusting device and control method thereof
US8432169B2 (en) 2007-09-20 2013-04-30 Panasonic Corporation Proximity sensor
KR102002146B1 (en) * 2018-01-29 2019-07-19 오므론 가부시키가이샤 Proximity sensor and method of changing detection distance

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010531107A (en) * 2007-06-28 2010-09-16 エーティーラブ・インコーポレーテッド Automatic sensitivity adjusting device and control method thereof
US8384695B2 (en) 2007-06-28 2013-02-26 Atlab Inc. Automatic impedance adjuster and control method thereof
WO2009038159A1 (en) * 2007-09-20 2009-03-26 Panasonic Electric Works Co., Ltd. Proximity sensor
JP2009077168A (en) * 2007-09-20 2009-04-09 Panasonic Electric Works Co Ltd Proximity sensor
US8432169B2 (en) 2007-09-20 2013-04-30 Panasonic Corporation Proximity sensor
JP2009077253A (en) * 2007-09-21 2009-04-09 Sunx Ltd Sensor system, control unit and detection sensor
KR102002146B1 (en) * 2018-01-29 2019-07-19 오므론 가부시키가이샤 Proximity sensor and method of changing detection distance

Also Published As

Publication number Publication date
JP3433491B2 (en) 2003-08-04

Similar Documents

Publication Publication Date Title
US6278338B1 (en) Crystal oscillator with peak detector amplitude control
EP1181767B1 (en) Crystal oscillator
JP3433491B2 (en) Proximity switch
JPH06177645A (en) Oscillation circuit
US4223524A (en) Quartz oscillation circuit for electronic timepieces
JPH0690186A (en) Automatic controller for antenna impedance match
JPH11122074A (en) Automatic time constant correction circuit for filter circuit
JPH07297767A (en) Sensor of guidance-approach
US4733200A (en) Controlled feedback path voltage controlled oscillator
JPH0575445A (en) Device and method for correcting fluctuation of oscillation frequency of cpu
JPH07177011A (en) Proximity switch
US6218906B1 (en) Amplifier circuit
US20030122629A1 (en) Active on-die integrated resistance circuit for real time clock (RTC) oscillators
JP3362318B2 (en) Proximity switch
JPH09238064A (en) Detection switch
JP2975411B2 (en) Temperature compensated piezoelectric oscillator
JP2002135051A (en) Piezoelectric oscillator
JPH0888555A (en) Proximity sensor
KR950001440B1 (en) Oscillation frequency control circuit
JPH0611664Y2 (en) Electronics
JP3387180B2 (en) Proximity switch
JP3911722B2 (en) Analog / digital input / output switch circuit
JPH0645928A (en) Oscillator circuit
JPH04215307A (en) Digital control temperature compensation oscillator
CN117630464A (en) Self-adaptive adjustment crystal oscillator amplitude detection circuit and detection method thereof

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090530

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees