JP4858382B2 - Proximity sensor - Google Patents

Proximity sensor Download PDF

Info

Publication number
JP4858382B2
JP4858382B2 JP2007244337A JP2007244337A JP4858382B2 JP 4858382 B2 JP4858382 B2 JP 4858382B2 JP 2007244337 A JP2007244337 A JP 2007244337A JP 2007244337 A JP2007244337 A JP 2007244337A JP 4858382 B2 JP4858382 B2 JP 4858382B2
Authority
JP
Japan
Prior art keywords
unit
value
oscillation
circuit
detection
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.)
Expired - Fee Related
Application number
JP2007244337A
Other languages
Japanese (ja)
Other versions
JP2009077168A (en
Inventor
正久 丹羽
邦孝 岡田
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.)
Panasonic Corp
Panasonic Electric Works Co Ltd
Original Assignee
Panasonic Corp
Matsushita Electric Works 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 Panasonic Corp, Matsushita Electric Works Ltd filed Critical Panasonic Corp
Priority to JP2007244337A priority Critical patent/JP4858382B2/en
Priority to US12/679,157 priority patent/US8432169B2/en
Priority to PCT/JP2008/066956 priority patent/WO2009038159A1/en
Publication of JP2009077168A publication Critical patent/JP2009077168A/en
Application granted granted Critical
Publication of JP4858382B2 publication Critical patent/JP4858382B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、高周波発振型の近接センサに関するものである。   The present invention relates to a high-frequency oscillation type proximity sensor.

従来から、非接触で金属体(導電体)や磁性体などからなる被検知体を検知する近接センサとして、高周波発振型の近接センサが提案されている。   Conventionally, a high-frequency oscillation type proximity sensor has been proposed as a proximity sensor that detects a detection object made of a metal body (conductor) or a magnetic body in a non-contact manner.

上記高周波発振型の近接センサは、検知コイルとコンデンサとの並列回路よりなるLC共振回路部を有している。この近接センサでは、LC共振回路部を構成する検知コイルに被検知体が接近した際に、電磁誘導作用によって渦電流損が生じて検知コイルの実効抵抗値(インピーダンス)が変化するという現象を利用して被検知体の検知を行っている。つまり、検知コイルのインピーダンスが変化するとLC共振回路部の発振条件も変化するため、LC共振回路部を発振させている状態から、LC共振回路部の発振が停止または発振振幅が所定値以上減衰した際に、被検知体が存在していると判定する(例えば、特許文献1参照)。
特開2005−295248号公報
The high-frequency oscillation type proximity sensor has an LC resonance circuit unit including a parallel circuit of a detection coil and a capacitor. This proximity sensor utilizes the phenomenon that, when the object to be detected approaches the detection coil that constitutes the LC resonance circuit unit, eddy current loss occurs due to electromagnetic induction and the effective resistance value (impedance) of the detection coil changes. The object to be detected is detected. In other words, when the impedance of the detection coil changes, the oscillation conditions of the LC resonance circuit section also change. Therefore, from the state in which the LC resonance circuit section is oscillated, the oscillation of the LC resonance circuit section stops or the oscillation amplitude attenuates by a predetermined value or more. At this time, it is determined that the detected object exists (see, for example, Patent Document 1).
JP 2005-295248 A

上述した従来の近接センサは、被検知体と検知コイルとの距離が、LC共振回路部の発振が停止または発振振幅が所定値未満になる距離(検知距離)より長ければ、被検知体が検知コイルの検知範囲内に存在しないと判定し、上記検知距離より短ければ、被検知体が検知コイルの検知範囲内に存在すると判定するから、近接センサから出力される検知信号は、被検知体が存在しているか否かの2値しかないデジタル(ディジタル)な値である。   In the conventional proximity sensor described above, if the distance between the detected object and the detection coil is longer than the distance (detection distance) at which the oscillation of the LC resonance circuit unit stops or the oscillation amplitude is less than a predetermined value, the detected object is detected. If it is determined that the detected object does not exist within the detection range of the coil and is shorter than the detection distance, it is determined that the detected object exists within the detection range of the detection coil. It is a digital value that has only two values of whether or not it exists.

このように従来の近接センサでは、被検知体と検知コイルとの距離が上記検知距離より短くなれば、被検知体が存在していると判定する、つまり、被検知体が検知コイルの検知範囲内に存在するか否かを検知するだけであるから、被検知体が存在しているか否かのデジタルな検知信号を得ることはできていたが、被検知体が検知コイルに対してどの程度接近しているかまでは検知することができないため、被検知体と検知コイルとの距離を示すようなアナログな検知信号を得ることはできなかった。   As described above, in the conventional proximity sensor, if the distance between the detected object and the detection coil becomes shorter than the detection distance, it is determined that the detected object exists. That is, the detected object is in the detection range of the detection coil. It was possible to obtain a digital detection signal indicating whether or not the detected object exists, but only how much the detected object is relative to the detection coil. Since it cannot be detected until it is approaching, an analog detection signal indicating the distance between the detected object and the detection coil cannot be obtained.

本発明は上述の点に鑑みて為されたもので、その目的は、被検知体の存在検知に加え、被検知体との距離も検知できる近接センサを提供することにある。   The present invention has been made in view of the above points, and an object of the present invention is to provide a proximity sensor that can detect the distance to a detected object in addition to detecting the presence of the detected object.

上記の課題を解決するために、請求項1の発明では、被検知体の検知に用いられる検知コイルおよびコンデンサからなるLC共振回路部と、LC共振回路部を発振させる発振回路部と、LC共振回路部の発振振幅を検出するモニタ部と、モニタ部で検出した発振振幅に基づいて発振回路部の負性コンダクタンスをLC共振回路部が発振可能な臨界値に設定する制御部と、被検知体と検知コイルとの距離を示す検知信号を作成する信号処理部とを備え、発振回路部は、LC共振回路部の発振電圧に応じた電流を出力する増幅回路と、増幅回路が出力する電流の大きさに応じた帰還電流をLC共振回路部に供給する電流帰還回路と、増幅回路の出力端子とグラウンドとの間に挿入され増幅回路が出力する電流の大きさを調整する可変抵抗部とを有し、制御部は、発振回路部の負性コンダクタンスが上記臨界値となるように可変抵抗部の抵抗値を設定し、信号処理部は、可変抵抗部の抵抗値に基づいて上記検知信号を作成することを特徴とする。   In order to solve the above-described problems, in the invention of claim 1, an LC resonance circuit unit including a detection coil and a capacitor used for detection of an object to be detected, an oscillation circuit unit that oscillates the LC resonance circuit unit, and an LC resonance A monitor unit for detecting the oscillation amplitude of the circuit unit, a control unit for setting the negative conductance of the oscillation circuit unit to a critical value at which the LC resonance circuit unit can oscillate based on the oscillation amplitude detected by the monitor unit, and an object to be detected A signal processing unit that creates a detection signal indicating a distance between the detection coil and the detection coil, the oscillation circuit unit including an amplification circuit that outputs a current corresponding to an oscillation voltage of the LC resonance circuit unit, and a current output from the amplification circuit A current feedback circuit that supplies a feedback current corresponding to the magnitude to the LC resonance circuit section, and a variable resistance section that is inserted between the output terminal of the amplifier circuit and the ground to adjust the magnitude of the current output from the amplifier circuit. Yes The control unit sets the resistance value of the variable resistance unit so that the negative conductance of the oscillation circuit unit becomes the critical value, and the signal processing unit creates the detection signal based on the resistance value of the variable resistance unit. It is characterized by that.

請求項1の発明によれば、LC共振回路部が発振する条件は、発振回路部の負性コンダクタンスの絶対値が、検知コイルのコンダクタンスの絶対値以上であることであるから、発振回路部の負性コンダクタンスがLC共振回路部が発振可能な臨界値である場合、当該負性コンダクタンスの絶対値は、検知コイルのコンダクタンスの絶対値に等しいと考えることができ、ここで、検知コイルのコンダクタンスは、被検知体と検知コイルとの距離に起因する渦電流損の変化、つまり検知コイルと被検知体との距離に応じて変化し、検知コイルのコンダクタンスに等しい発振回路部の負性コンダクタンスは、LC共振回路部に供給される帰還電流とLC共振回路部の発振振幅によって決定され、LC共振回路部に供給される帰還電流は、増幅回路が出力する電流に応じて増減するので、増幅回路が出力する電流の大きさを調整する可変抵抗部の抵抗値を検知コイルと被検知体との距離を示す値として用いることができ、このような可変抵抗部の抵抗値を用いることで、従来例のような被検知体が存在しているか否かのデジタルな検知信号ではなく、被検知体と検知コイルとの距離を示すアナログな検知信号を得ることができ、また、このような検知信号を閾値処理することで、被検知体が存在しているか否かのデジタルな検知信号も得ることができるから、被検知体の存在検知に加え、被検知体との距離も検知できる。   According to the first aspect of the invention, the condition that the LC resonance circuit section oscillates is that the absolute value of the negative conductance of the oscillation circuit section is equal to or larger than the absolute value of the conductance of the detection coil. When the negative conductance is a critical value at which the LC resonant circuit unit can oscillate, the absolute value of the negative conductance can be considered to be equal to the absolute value of the sense coil conductance, where the conductance of the sense coil is The change in eddy current loss due to the distance between the detected body and the detection coil, that is, the change in the distance between the detection coil and the detected body, and the negative conductance of the oscillation circuit unit equal to the conductance of the detection coil is The feedback current supplied to the LC resonance circuit unit and the oscillation amplitude of the LC resonance circuit unit are determined. The feedback current supplied to the LC resonance circuit unit is determined by the amplifier circuit. Since it increases or decreases according to the current to be applied, the resistance value of the variable resistance unit that adjusts the magnitude of the current output from the amplifier circuit can be used as a value indicating the distance between the detection coil and the detected object. By using the resistance value of the variable resistance unit, an analog detection signal indicating the distance between the detected object and the detection coil is used instead of a digital detection signal indicating whether or not the detected object exists as in the conventional example. In addition, since it is possible to obtain a digital detection signal indicating whether or not the detected object exists by thresholding such a detected signal, in addition to detecting the presence of the detected object, The distance to the object to be detected can also be detected.

請求項2の発明では、請求項1の発明において、上記可変抵抗部は、1乃至複数の固定抵抗器と、1乃至複数の可変抵抗器との直列または並列回路からなることを特徴とする。   According to a second aspect of the present invention, in the first aspect of the present invention, the variable resistor section includes a series or parallel circuit of one or more fixed resistors and one or more variable resistors.

請求項2の発明によれば、固定抵抗器の抵抗値を可変抵抗部の抵抗値のオフセットとして利用することができ、可変抵抗器のみを用いる場合に比べれば、被検知体と検知コイルとの距離の分解能(位置精度)を向上できる。   According to the second aspect of the present invention, the resistance value of the fixed resistor can be used as an offset of the resistance value of the variable resistor portion, and compared with the case where only the variable resistor is used, the detected object and the detection coil Distance resolution (positional accuracy) can be improved.

請求項3の発明では、請求項1または2の発明において、上記可変抵抗部は、デジタルコードにて抵抗値を設定可能なデジタルポテンショメータからなる可変抵抗器を有し、上記制御部は、上記発振回路部の負性コンダクタンスが上記臨界値となるように上記可変抵抗部の抵抗値を設定するデジタルコードを上記可変抵抗部および上記信号処理部に出力し、上記信号処理部は、上記制御部が出力したデジタルコードに基づいて上記検知信号を作成することを特徴とする。   According to a third aspect of the present invention, in the first or second aspect of the invention, the variable resistor section includes a variable resistor composed of a digital potentiometer capable of setting a resistance value with a digital code, and the control section includes the oscillation unit. A digital code for setting the resistance value of the variable resistance unit so that the negative conductance of the circuit unit becomes the critical value is output to the variable resistance unit and the signal processing unit. The detection signal is created based on the output digital code.

請求項3の発明によれば、制御部が出力したデジタルコードを信号処理部が読み込むだけで可変抵抗部の抵抗値を得ることができるから、例えば、可変抵抗部が、制御部の出力する制御信号によるスイッチのオン・オフで抵抗値の設定を行うものである場合に比べれば、可変抵抗部の抵抗値を容易に得ることができる。   According to the invention of claim 3, since the resistance value of the variable resistance unit can be obtained by only reading the digital code output from the control unit by the signal processing unit, for example, the control that the variable resistance unit outputs from the control unit The resistance value of the variable resistance portion can be easily obtained as compared with the case where the resistance value is set by turning the switch on and off by a signal.

請求項4の発明では、請求項3の発明において、上記モニタ部は、上記LC共振回路部の発振振幅を検出し発振振幅を示すアナログ信号を出力する検出部と、当該検出部が出力した発振振幅を示すアナログ信号をデジタル信号に変換して上記制御部に出力するA/Dコンバータとを備え、上記制御部は、A/Dコンバータが出力した発振振幅を示すデジタル信号から上記デジタルコードを作成することを特徴とする。   According to a fourth aspect of the present invention, in the third aspect of the present invention, the monitor section detects the oscillation amplitude of the LC resonance circuit section and outputs an analog signal indicating the oscillation amplitude, and the oscillation output by the detection section. An A / D converter that converts an analog signal indicating amplitude into a digital signal and outputs the digital signal to the control unit, and the control unit creates the digital code from the digital signal indicating the oscillation amplitude output from the A / D converter It is characterized by doing.

請求項4の発明によれば、アナログ回路により可変抵抗部の抵抗値を変更する場合に比べれば、処理速度(可変抵抗部の抵抗値の変化の応答性、追随性)を向上でき、被検知体の移動速度が速い場合であっても、迅速に、発振回路部の負性コンダクタンスをLC共振回路部が発振可能な臨界値に設定することができる。   According to the fourth aspect of the present invention, the processing speed (responsiveness and followability of change in the resistance value of the variable resistor portion) can be improved compared to the case where the resistance value of the variable resistor portion is changed by an analog circuit, and the detected object is detected. Even when the moving speed of the body is fast, the negative conductance of the oscillation circuit unit can be quickly set to a critical value that allows the LC resonance circuit unit to oscillate.

請求項5の発明では、請求項3の発明において、上記制御部は、上記モニタ部で検出した発振振幅と所定の閾値とを比較する比較部を有し、当該比較部の比較結果によって上記デジタルポテンショメータの抵抗値を変更するか否かを決定し、上記デジタルポテンショメータの抵抗値を変更するにあたっては、上記デジタルコードを1ずつ変化させることを特徴とする。   According to a fifth aspect of the present invention, in the third aspect of the invention, the control unit includes a comparison unit that compares the oscillation amplitude detected by the monitor unit with a predetermined threshold value, and the digital unit is compared with a comparison result of the comparison unit. Whether to change the resistance value of the potentiometer is determined, and when changing the resistance value of the digital potentiometer, the digital code is changed one by one.

請求項5の発明によれば、可変抵抗部の抵抗値を、発振回路部の負性コンダクタンスが臨界値となる値に設定するにあたって、オーバーシュートやアンダーシュートが生じてしまうことを防止できる。しかも、デジタルコードを1ずつ増やすようにしているので、発振振幅から可変抵抗部の抵抗値の目標値を直接的に演算する処理を行わなくて済み、比較部としては、AD変換回路やCPUなどの複雑な装置に比べれば安価なコンパレータを用いることができるから、低コスト化が図れる。   According to the fifth aspect of the present invention, when the resistance value of the variable resistance portion is set to a value at which the negative conductance of the oscillation circuit portion becomes a critical value, it is possible to prevent the occurrence of overshoot or undershoot. In addition, since the digital code is increased by one, it is not necessary to perform a process of directly calculating the target value of the resistance value of the variable resistance unit from the oscillation amplitude. As the comparison unit, an AD conversion circuit, a CPU, etc. Compared to the complicated apparatus, an inexpensive comparator can be used, so that the cost can be reduced.

請求項6の発明では、請求項3〜5のうちいずれか1項の発明において、上記制御部は、上記デジタルコードを出力するタイミングを指示する信号を所定周波数で出力するタイミング回路を有し、上記所定周波数は、LC共振回路部の発振周波数より低いことを特徴とする。   According to a sixth aspect of the present invention, in the invention according to any one of the third to fifth aspects, the control unit includes a timing circuit that outputs a signal instructing a timing for outputting the digital code at a predetermined frequency, The predetermined frequency is lower than the oscillation frequency of the LC resonance circuit section.

請求項6の発明によれば、可変抵抗部の抵抗値を変更したことに起因するLC共振回路部の発振を防止でき、安定した制御が行えるようになる。   According to the sixth aspect of the present invention, it is possible to prevent the oscillation of the LC resonance circuit section resulting from the change of the resistance value of the variable resistance section, and to perform stable control.

請求項7の発明では、請求項3〜6のうちいずれか1項の発明において、上記信号処理部は、上記制御部が出力したデジタルコードの値にオフセットとゲインの少なくとも一方を加える出力調整部を有していることを特徴とする。   According to a seventh aspect of the invention, in the invention according to any one of the third to sixth aspects, the signal processing unit adds at least one of an offset and a gain to the value of the digital code output from the control unit. It is characterized by having.

請求項7の発明によれば、検知信号の値を所望の範囲内の値とすることができる。   According to invention of Claim 7, the value of a detection signal can be made into the value within a desired range.

請求項8の発明では、請求項7の発明において、上記出力調整部におけるオフセットとゲインは変更可能であることを特徴とする。   The invention of claim 8 is characterized in that, in the invention of claim 7, the offset and gain in the output adjusting section can be changed.

請求項8の発明によれば、製品毎に、検知コイルの特性や、検知コイルと被検知体との相対位置、発振回路部などの回路の特性にばらつきがあっても、このようなばらつきによって製品毎に検知信号の値の範囲が異なってしまうことを防止でき、いずれの製品においても検知信号の値を所望の範囲内の値とすることが可能となる。   According to the invention of claim 8, even if there are variations in the characteristics of the detection coil, the relative position of the detection coil and the detected object, and the characteristics of the circuit such as the oscillation circuit section for each product, It is possible to prevent the range of the detection signal value from being different for each product, and the detection signal value can be set to a value within a desired range for any product.

請求項9の発明では、請求項3〜8のうちいずれか1項の発明において、周囲の温度を検知する温度検知部を備え、上記信号処理部は、上記制御部が出力したデジタルコードの値に温度検知部で検知した温度に対応する補正温度係数を乗じることで温度補償を行う温度補償部を有していることを特徴とする。   The invention according to claim 9 is the invention according to any one of claims 3 to 8, further comprising a temperature detection unit for detecting an ambient temperature, wherein the signal processing unit is a value of a digital code output by the control unit. And a temperature compensation unit that performs temperature compensation by multiplying the temperature by a correction temperature coefficient corresponding to the temperature detected by the temperature detection unit.

請求項9の発明によれば、検知コイルや、被検知体、発振回路部などの回路の温度特性に起因する検知精度の悪化を防止でき、検知精度の向上が図れる。   According to the ninth aspect of the present invention, it is possible to prevent deterioration in detection accuracy due to temperature characteristics of circuits such as the detection coil, the detected object, and the oscillation circuit unit, and the detection accuracy can be improved.

請求項10の発明では、請求項9の発明において、上記温度補償部における補正温度係数は変更可能であることを特徴とする。   According to a tenth aspect of the present invention, in the ninth aspect of the invention, the correction temperature coefficient in the temperature compensation unit can be changed.

請求項10の発明によれば、製品毎に、検知コイルの特性や、検知コイルと被検知体との相対位置、発振回路部などの回路の温度特性にばらつきがあっても、このようなばらつきによって製品毎に検知信号の値が異なってしまうことを防止でき、いずれの製品においても所望の検知信号を得ることが可能となる。   According to the invention of claim 10, even if there are variations in the characteristics of the detection coil, the relative position between the detection coil and the object to be detected, and the temperature characteristics of the circuit such as the oscillation circuit section for each product, such variations Therefore, it is possible to prevent the value of the detection signal from being different for each product, and a desired detection signal can be obtained for any product.

請求項11の発明では、請求項1〜10のうちいずれか1項の発明において、上記発振回路部と、上記モニタ部と、上記制御部と、上記信号処理部とはモノリシックICとして一体化されていることを特徴とする。   According to an eleventh aspect of the present invention, in the invention according to any one of the first to tenth aspects, the oscillation circuit unit, the monitor unit, the control unit, and the signal processing unit are integrated as a monolithic IC. It is characterized by.

請求項11の発明によれば、上記発振回路部と、上記発振検出部と、上記制御部と、上記位置情報生成部とをそれぞれ別のICにより構成する場合に比べれば、小型化が図れるとともに低コスト化が図れ、さらに耐ノイズ性能を向上できる。   According to the eleventh aspect of the present invention, the oscillation circuit unit, the oscillation detection unit, the control unit, and the position information generation unit can be reduced in size as compared with the case where they are configured by separate ICs. Costs can be reduced and noise resistance can be improved.

本発明は、被検知体の存在検知に加え、被検知体との距離も検知できるという効果を奏する。   The present invention has an effect of being able to detect the distance to the detected object in addition to detecting the presence of the detected object.

(実施形態1)
本実施形態の近接センサは、図1に示すように、被検知体(図示せず)の検知に用いられる検知コイル10およびコンデンサ11の並列回路からなるLC共振回路部1と、LC共振回路部1を発振させる発振回路部2と、LC共振回路部1の発振振幅を検出するモニタ部3と、モニタ部3で検出した発振振幅に基づいて発振回路部2の負性コンダクタンスをLC共振回路部1が発振可能な臨界値に設定する制御部4と、被検知体と検知コイル10との距離を示す検知信号を作成する信号処理部5とを備えている。
(Embodiment 1)
As shown in FIG. 1, the proximity sensor according to the present embodiment includes an LC resonance circuit unit 1 including a parallel circuit of a detection coil 10 and a capacitor 11 used for detection of a detection target (not shown), and an LC resonance circuit unit. The oscillation circuit unit 2 that oscillates 1, the monitor unit 3 that detects the oscillation amplitude of the LC resonance circuit unit 1, and the negative conductance of the oscillation circuit unit 2 based on the oscillation amplitude detected by the monitor unit 3 1 includes a control unit 4 that sets a critical value that can oscillate, and a signal processing unit 5 that generates a detection signal indicating the distance between the detected object and the detection coil 10.

LC共振回路部1に用いる検知コイル10は、例えば、円筒状のコイルボビン(図示せず)の外周面に、コイルボビンの軸方向に巻軸方向を沿わせた形で巻回されたものを用いている。そして、被検知体は、例えば、金属体(導電体)よりパイプ状に形成されたものであって、検知コイル10の巻軸方向に沿って検知コイル10のすぐ外側を通る形で配置されている。LC共振回路部1の発振電圧の周波数は、検知コイル10のインダクタンスとコンデンサ11の静電容量とにより決定される。なお、上述したような検知コイル10および被検知体の構成は一例に過ぎず、例えば、被検知体は磁性体により形成されたものであってもよく、本発明の趣旨を逸脱しない範囲で変更できる。   The detection coil 10 used in the LC resonance circuit unit 1 is, for example, a coil that is wound around the outer peripheral surface of a cylindrical coil bobbin (not shown) in the form in which the winding axis direction is aligned with the axial direction of the coil bobbin. Yes. The detected body is formed in a pipe shape from a metal body (conductor), for example, and is arranged so as to pass immediately outside the detection coil 10 along the winding axis direction of the detection coil 10. Yes. The frequency of the oscillation voltage of the LC resonance circuit unit 1 is determined by the inductance of the detection coil 10 and the capacitance of the capacitor 11. Note that the configuration of the detection coil 10 and the detected body as described above is merely an example. For example, the detected body may be formed of a magnetic body and can be changed without departing from the spirit of the present invention. it can.

本実施形態の近接センサでは、発振回路部2と、モニタ部3と、制御部4と、信号処理部5とはモノリシックICとして一体化されている。   In the proximity sensor of the present embodiment, the oscillation circuit unit 2, the monitor unit 3, the control unit 4, and the signal processing unit 5 are integrated as a monolithic IC.

発振回路部2は、内部電源VccよりLC共振回路1に一定のバイアス電流を供給する定電流源であるバイアス回路20と、LC共振回路部1の発振電圧(LC共振回路部1の両端電圧)をレベルシフトするレベルシフト回路21と、LC共振回路部1の発振電圧に応じた電流を出力する増幅回路22と、増幅回路22が出力する電流の大きさに応じた帰還電流をLC共振回路部1に供給して発振を維持する電流帰還回路23と、増幅回路22の出力端子とグラウンド(グランド)との間に挿入され増幅回路22が出力する電流の大きさを調整する可変抵抗部24とを有している。   The oscillation circuit unit 2 includes a bias circuit 20 that is a constant current source that supplies a constant bias current to the LC resonance circuit 1 from the internal power supply Vcc, and an oscillation voltage of the LC resonance circuit unit 1 (a voltage across the LC resonance circuit unit 1). A level shift circuit 21 for level shifting, an amplifier circuit 22 for outputting a current corresponding to the oscillation voltage of the LC resonance circuit section 1, and a feedback current corresponding to the magnitude of the current output from the amplifier circuit 22 for the LC resonance circuit section. 1, a current feedback circuit 23 for maintaining oscillation and a variable resistance unit 24 that is inserted between the output terminal of the amplifier circuit 22 and the ground, and adjusts the magnitude of the current output from the amplifier circuit 22; have.

ここで、レベルシフト回路21は、npn形のトランジスタQ1により構成され、トランジスタQ1のコレクタは、バイアス回路20の出力端子に接続され、エミッタは、一端が接地されたLC共振回路部1の他端に接続されている(図示例ではトランジスタQ1のエミッタとグラウンドとの間に検知コイル10とコンデンサ11とからなる並列回路が挿入されている)。また、トランジスタQ1においてはコレクタとベースとが接続されている。したがって、トランジスタQ1のエミッタの電位は、LC共振回路部1の発振電圧に等しい。このようなレベルシフト回路21は、増幅回路22の後述のnpn形のトランジスタQ2のベース−エミッタ間電圧の分だけ発振電圧をレベルシフトすることで、トランジスタQ2のエミッタとグラウンドとの間に、発振の正の半サイクルのみ、LC共振回路部1の発振電圧に等しい電圧が印加されるようにしている。   Here, the level shift circuit 21 is composed of an npn transistor Q1, the collector of the transistor Q1 is connected to the output terminal of the bias circuit 20, and the emitter is the other end of the LC resonance circuit section 1 with one end grounded. (In the illustrated example, a parallel circuit including the detection coil 10 and the capacitor 11 is inserted between the emitter of the transistor Q1 and the ground). In the transistor Q1, a collector and a base are connected. Therefore, the potential of the emitter of the transistor Q1 is equal to the oscillation voltage of the LC resonance circuit unit 1. The level shift circuit 21 oscillates between the emitter of the transistor Q2 and the ground by level-shifting the oscillation voltage by the base-emitter voltage of an npn transistor Q2 (described later) of the amplifier circuit 22. A voltage equal to the oscillation voltage of the LC resonance circuit unit 1 is applied only during the positive half cycle.

増幅回路22は、前述のトランジスタQ2により構成されている。トランジスタQ2のエミッタは、可変抵抗部24を介してグラウンドに接続され(接地され)ている。つまり、増幅回路22は、所謂エミッタフォロワ(エミッタホロワ)回路からなる。トランジスタQ2のベースは、トランジスタQ1のベースに接続され、レベルシフト回路21によりレベルシフトされたトランジスタQ1のエミッタの電位、すなわちレベルシフト回路21により生成されたレベルシフト電圧がトランジスタQ2のベースに入力される。したがって、増幅回路22からは、LC共振回路部1の発振電圧に応じた電流が出力されることになる。   The amplifier circuit 22 is constituted by the transistor Q2. The emitter of the transistor Q2 is connected (grounded) to the ground via the variable resistor section 24. That is, the amplifier circuit 22 is a so-called emitter follower (emitter follower) circuit. The base of the transistor Q2 is connected to the base of the transistor Q1, and the potential of the emitter of the transistor Q1 level-shifted by the level shift circuit 21, that is, the level shift voltage generated by the level shift circuit 21 is input to the base of the transistor Q2. The Therefore, a current corresponding to the oscillation voltage of the LC resonance circuit unit 1 is output from the amplifier circuit 22.

電流帰還回路23は、pnp形のトランジスタQ3,Q4により構成されたカレントミラー回路であり、LC共振回路部1の発振を維持するためにLC共振回路部1に電流を正帰還させる。トランジスタQ3は、増幅回路22のトランジスタQ2と内部電源Vccとの間に、コレクタをトランジスタQ2のコレクタに、エミッタを内部電源Vccにそれぞれ接続する形で挿入されている。トランジスタQ3のベースは、トランジスタQ4のベースに接続され、トランジスタQ4のエミッタは内部電源Vccに接続され、コレクタはトランジスタQ1のエミッタに接続されている。   The current feedback circuit 23 is a current mirror circuit composed of pnp transistors Q3 and Q4, and positively feeds back current to the LC resonance circuit unit 1 in order to maintain the oscillation of the LC resonance circuit unit 1. The transistor Q3 is inserted between the transistor Q2 of the amplifier circuit 22 and the internal power supply Vcc so that the collector is connected to the collector of the transistor Q2 and the emitter is connected to the internal power supply Vcc. The base of the transistor Q3 is connected to the base of the transistor Q4, the emitter of the transistor Q4 is connected to the internal power supply Vcc, and the collector is connected to the emitter of the transistor Q1.

ここで、増幅回路22から電流が出力される際には、この電流に等しいトランジスタQ2のコレクタ電流が、トランジスタQ3のエミッタ−コレクタ間に流れることになる。そして、トランジスタQ4のエミッタ−コレクタ間には、トランジスタQ3のエミッタ−コレクタ間に流れた電流に等しい電流が流れ、この電流がLC共振回路部1に供給される帰還電流となる。つまり、本実施形態における電流帰還回路23は、増幅回路22が出力する電流に等しい帰還電流をLC共振回路部1に供給する。   Here, when a current is output from the amplifier circuit 22, a collector current of the transistor Q2 equal to this current flows between the emitter and collector of the transistor Q3. A current equal to the current flowing between the emitter and collector of the transistor Q3 flows between the emitter and collector of the transistor Q4, and this current becomes a feedback current supplied to the LC resonance circuit section 1. That is, the current feedback circuit 23 in the present embodiment supplies a feedback current equal to the current output from the amplifier circuit 22 to the LC resonance circuit unit 1.

可変抵抗部24は、増幅回路22が出力する電流の大きさを調整、すなわち帰還電流を調整するためのものであって、可変抵抗器24aと、固定抵抗器24bとの直列回路からなる。可変抵抗器24aは、例えば、固定抵抗器およびトランジスタなどの半導体スイッチング素子からなる直列回路を並列接続してなり、各半導体スイッチング素子のオン・オフによって使用する固定抵抗器を選択することで、可変抵抗器24aの抵抗値を変更することができるようになっている。LC共振回路部1には、可変抵抗部24aの抵抗値と固定抵抗器24bの抵抗値との合成抵抗の値によって調整された帰還電流が供給される。   The variable resistor unit 24 is for adjusting the magnitude of the current output from the amplifier circuit 22, that is, for adjusting the feedback current, and is composed of a series circuit of a variable resistor 24a and a fixed resistor 24b. The variable resistor 24a is formed by, for example, connecting a series circuit including a fixed resistor and a semiconductor switching element such as a transistor in parallel. The variable resistor 24a is variable by selecting a fixed resistor to be used by turning on / off each semiconductor switching element. The resistance value of the resistor 24a can be changed. The LC resonance circuit unit 1 is supplied with a feedback current adjusted by a combined resistance value of the resistance value of the variable resistance unit 24a and the resistance value of the fixed resistor 24b.

モニタ部3は、npn形のトランジスタ30と、抵抗31と、コンデンサ32とで構成された検波回路からなる。トランジスタ30は、コレクタが内部電源Vccに接続され、ベースがトランジスタQ1のコレクタに接続され、エミッタが抵抗31およびコンデンサ32に接続されている。そして、トランジスタ30のコレクタ−エミッタ間には、ベースに入力された電圧(レベルシフト回路21によりレベルシフトされたLC共振回路部1の発振電圧)に応じた電流が流れ、この電流によってコンデンサ32が充電される。本実施形態におけるモニタ部3では、このコンデンサ32の両端電圧をLC共振回路部1の発振振幅を示す値として検出している。   The monitor unit 3 includes a detection circuit including an npn-type transistor 30, a resistor 31, and a capacitor 32. Transistor 30 has a collector connected to internal power supply Vcc, a base connected to the collector of transistor Q1, and an emitter connected to resistor 31 and capacitor 32. A current corresponding to the voltage input to the base (the oscillation voltage of the LC resonance circuit unit 1 level-shifted by the level shift circuit 21) flows between the collector and the emitter of the transistor 30, and the capacitor 32 is caused by this current. Charged. The monitor unit 3 in this embodiment detects the voltage across the capacitor 32 as a value indicating the oscillation amplitude of the LC resonance circuit unit 1.

制御部4は、例えばCPUなどからなり、上述したように、モニタ部3で検出した発振振幅に基づいて発振回路部2の負性コンダクタンスをLC共振回路部1が発振可能な臨界値に設定する。このような制御部4の動作はロジック回路やプログラムなどにより実現されている。本実施形態における制御部4は、可変抵抗部24の抵抗値を調整することによって、発振回路部2の負性コンダクタンスを上記臨界値に設定する。ここで、発振回路部2の負性コンダクタンスをGosc(ただしGoscは負の値である)、LC共振回路部1の発振振幅をVT、帰還電流をIfbとすると、負性コンダクタンスGoscは、次式(1)で表すことができる。   The control unit 4 is composed of a CPU, for example, and sets the negative conductance of the oscillation circuit unit 2 to a critical value that allows the LC resonance circuit unit 1 to oscillate based on the oscillation amplitude detected by the monitor unit 3 as described above. . Such an operation of the control unit 4 is realized by a logic circuit or a program. The control unit 4 in the present embodiment sets the negative conductance of the oscillation circuit unit 2 to the critical value by adjusting the resistance value of the variable resistance unit 24. Here, when the negative conductance of the oscillation circuit unit 2 is Gosc (where Gosc is a negative value), the oscillation amplitude of the LC resonance circuit unit 1 is VT, and the feedback current is Ifb, the negative conductance Gosc is It can be represented by (1).

Figure 0004858382
Figure 0004858382

したがって、発振振幅VTに対してどれだけの帰還電流Ifbを与えるかによって、負性コンダクタンスGoscを調整することができる。そして、増幅回路22が出力する電流をI0、可変抵抗部24の抵抗値をReとすると、増幅回路22が出力する電流I0は次式(2)で表すことができる。そして、トランジスタQ2のエミッタとグラウンドとの間には、発振の正の半サイクルのみ、LC共振回路部1の発振電圧に等しい電圧が印加されるから、式(1),(2)により、負性コンダクタンスGoscは、次式(3)で表すことができる。   Therefore, the negative conductance Gosc can be adjusted depending on how much feedback current Ifb is applied to the oscillation amplitude VT. When the current output from the amplifier circuit 22 is I0 and the resistance value of the variable resistor unit 24 is Re, the current I0 output from the amplifier circuit 22 can be expressed by the following equation (2). A voltage equal to the oscillation voltage of the LC resonance circuit unit 1 is applied between the emitter of the transistor Q2 and the ground only during the positive half cycle of oscillation. The sex conductance Gosc can be expressed by the following equation (3).

Figure 0004858382
Figure 0004858382

上記の式より明らかなように、可変抵抗部24の抵抗値Reによって、発振回路部2の負性コンダクタンスGoscの値を調整することができる。   As apparent from the above equation, the value of the negative conductance Gosc of the oscillation circuit section 2 can be adjusted by the resistance value Re of the variable resistance section 24.

ここで、LC共振回路部1が発振する条件は、発振回路部2の負性コンダクタンスGoscの絶対値が、検知コイル10のコンダクタンスの絶対値以上であること、すなわち、検知コイル10のコンダクタンスをGcoilとすれば、負性コンダクタンスGoscとコンダクタンスGcoilとが、Gcoil≦|Gosc|の関係にあるときであり、発振回路部2の負性コンダクタンスGoscが、Gcoil=|Gosc|であるときに、負性コンダクタンスGoscは、LC共振回路部1が発振可能な最大値となる。つまり、検知コイルのコンダクタンスGcoilの負の値である−Gcoilが、発振回路部2の負性コンダクタンスGoscの臨界値となる。   Here, the condition that the LC resonance circuit unit 1 oscillates is that the absolute value of the negative conductance Gosc of the oscillation circuit unit 2 is equal to or larger than the absolute value of the conductance of the detection coil 10, that is, the conductance of the detection coil 10 is set to Gcoil. Then, when the negative conductance Gosc and the conductance Gcoil are in a relationship of Gcoil ≦ | Gosc |, and when the negative conductance Gosc of the oscillation circuit unit 2 is Gcoil = | Gosc | The conductance Gosc is the maximum value that the LC resonance circuit unit 1 can oscillate. That is, −Gcoil, which is a negative value of the conductance Gcoil of the detection coil, is a critical value of the negative conductance Gosc of the oscillation circuit unit 2.

したがって、負性コンダクタンスGoscが臨界値である場合には、コンダクタンスGcoilは次式(4)で表すことができる。   Therefore, when the negative conductance Gosc is a critical value, the conductance Gcoil can be expressed by the following equation (4).

Figure 0004858382
Figure 0004858382

そして、検知コイル10のコンダクタンスGcoilは、被検知体と検知コイル10との距離に起因する渦電流損の変化、つまり検知コイル10と被検知体との距離に応じて変化するから、負性コンダクタンスGoscが上記臨界値である限り、検知コイル10のコンダクタンスGcoilは、可変抵抗部24の抵抗値Reに反比例する。そのため、抵抗値Reを、検知コイル10と被検知体との距離を示す値として用いることができる。   The conductance Gcoil of the detection coil 10 changes in accordance with a change in eddy current loss caused by the distance between the detection object and the detection coil 10, that is, the distance between the detection coil 10 and the detection object. As long as Gosc is the critical value, the conductance Gcoil of the detection coil 10 is inversely proportional to the resistance value Re of the variable resistance unit 24. Therefore, the resistance value Re can be used as a value indicating the distance between the detection coil 10 and the detection target.

本実施形態における制御部4は、モニタ部3より得た発振振幅VTに基づいて負性コンダクタンスGoscが上記臨界値か否かの判定を行い、その判定結果に応じて発振回路部2の負性コンダクタンスGoscを調整する。例えば、制御部4は、モニタ部3より得た発振振幅VTが所定値(負性コンダクタンスGoscの絶対値とコンダクタンスGcoilの絶対値が等しいときの発振振幅VTの値)になるように、可変抵抗器24aの各直列回路それぞれの半導体スイッチング素子をオン・オフする制御信号を出力し、可変抵抗部24の抵抗値Reを、負性コンダクタンスGoscが上記臨界値となるように調整する。なお、負性コンダクタンスGoscの絶対値とコンダクタンスGcoilの絶対値とは一致させるのが好ましいが、必ずしも一致させる必要はなく、負性コンダクタンスGoscの絶対値がコンダクタンスGcoilの絶対値におおよそ等しいとみなせる範囲(例えば上記臨界値よりやや小さい値)であれば問題はない。したがって、本実施形態では、制御部4は、モニタ部3より得た発振振幅VTが所定の範囲内の値(負性コンダクタンスGoscの絶対値とコンダクタンスGcoilの絶対値とがおおよそ等しいとみなせる範囲における発振振幅VTの値)になるように、可変抵抗部24の抵抗値Reを設定する。   The control unit 4 in the present embodiment determines whether or not the negative conductance Gosc is the critical value based on the oscillation amplitude VT obtained from the monitor unit 3, and determines the negative of the oscillation circuit unit 2 according to the determination result. Adjust conductance Gosc. For example, the control unit 4 changes the variable resistance so that the oscillation amplitude VT obtained from the monitor unit 3 becomes a predetermined value (the value of the oscillation amplitude VT when the absolute value of the negative conductance Gosc and the absolute value of the conductance Gcoil are equal). A control signal for turning on / off the semiconductor switching element of each series circuit of the device 24a is output, and the resistance value Re of the variable resistor section 24 is adjusted so that the negative conductance Gosc becomes the above critical value. The absolute value of the negative conductance Gosc and the absolute value of the conductance Gcoil are preferably matched. If it is (for example, a value slightly smaller than the above critical value), there is no problem. Therefore, in this embodiment, the control unit 4 has a value within a predetermined range of the oscillation amplitude VT obtained from the monitor unit 3 (in a range where the absolute value of the negative conductance Gosc and the absolute value of the conductance Gcoil can be regarded as approximately equal). The resistance value Re of the variable resistor section 24 is set so that the oscillation amplitude VT).

信号処理部5は、検知用可変抵抗部(図示せず)を有している。検知用可変抵抗部は、可変抵抗部24と同様のものであり、可変抵抗器24aと同様の構成の検知用可変抵抗器(図示せず)と、固定抵抗器24bと同様の構成の検知用固定抵抗器(図示せず)とからなる直列回路よりなる。この検知用可変抵抗部には、制御部4の上記制御信号が入力されるようになっており、これによって、検知用可変抵抗部の抵抗値は、可変抵抗部24の抵抗値Reと連動して変化するように(可変抵抗部24の抵抗値Reと等しく)なっている。そして、信号処理部5は、可変抵抗部24の抵抗値Reに等しい検知用可変抵抗部の抵抗値を測定し、当該測定した抵抗値(可変抵抗部24の抵抗値Re)に基づいてアナログ形式の電気信号からなる検知信号(例えば、被検知体と検知コイル10との距離に比例して値が大きくなる信号)を作成し、外部へ出力する。   The signal processing unit 5 includes a detection variable resistance unit (not shown). The detection variable resistor section is the same as the variable resistor section 24. The detection variable resistor (not shown) having the same configuration as the variable resistor 24a and the detection variable resistance section having the same configuration as the fixed resistor 24b are used. It consists of a series circuit consisting of a fixed resistor (not shown). The control signal of the control unit 4 is input to the detection variable resistance unit, and thereby the resistance value of the detection variable resistance unit is interlocked with the resistance value Re of the variable resistance unit 24. (Which is equal to the resistance value Re of the variable resistor section 24). Then, the signal processing unit 5 measures the resistance value of the detection variable resistance unit equal to the resistance value Re of the variable resistance unit 24, and analog format based on the measured resistance value (resistance value Re of the variable resistance unit 24). A detection signal (for example, a signal whose value increases in proportion to the distance between the detected object and the detection coil 10) is generated and output to the outside.

次に本実施形態の近接センサの動作について説明する。LC共振回路部1の両端には、検知コイル10のインダクタンスとコンデンサ11の静電容量とから決まる周波数の発振電圧が生じ、電流帰還回路23のトランジスタQ4から帰還電流を正帰還することによってLC共振回路部1の発振を持続させている。LC共振回路部1の発振振幅VTはモニタ部3により検出され、制御部4はモニタ部3にて検出した発振振幅VTに基づき、発振回路部2の負性コンダクタンスGoscが上記臨界値となるように可変抵抗部24に上記制御信号を出力して抵抗値Reを設定する。制御部4の上記制御信号は信号処理部5にも入力されて信号処理部5の検知用可変抵抗部の抵抗値が可変抵抗部24の抵抗値Reと同じ値に設定され、信号処理部5は検知用可変抵抗部の抵抗値に基づいて上記検知信号を作成して出力する。   Next, the operation of the proximity sensor of this embodiment will be described. An oscillation voltage having a frequency determined by the inductance of the detection coil 10 and the capacitance of the capacitor 11 is generated at both ends of the LC resonance circuit unit 1, and the LC resonance is obtained by positively feeding back the feedback current from the transistor Q4 of the current feedback circuit 23. The oscillation of the circuit unit 1 is maintained. The oscillation amplitude VT of the LC resonance circuit unit 1 is detected by the monitor unit 3, and the control unit 4 makes the negative conductance Gosc of the oscillation circuit unit 2 become the above critical value based on the oscillation amplitude VT detected by the monitor unit 3. Then, the control signal is output to the variable resistor 24 to set the resistance value Re. The control signal of the control unit 4 is also input to the signal processing unit 5, and the resistance value of the detection variable resistance unit of the signal processing unit 5 is set to the same value as the resistance value Re of the variable resistance unit 24. Generates and outputs the detection signal based on the resistance value of the variable resistance section for detection.

ここで、被検知体が検知コイル10に接近し、検知コイル10における渦電流損が大きくなると、検知コイル10のコンダクタンスGcoilの絶対値が、負性コンダクタンスGoscの絶対値より大きくなるため、上記発振条件を満たさなくなって、LC共振回路部1の発振が停止しようとし、発振振幅VTが小さくなる。制御部4は、モニタ部3で検出した発振振幅VTが上記所定範囲内の値にならなくなった場合には、発振振幅VTが上記所定範囲内の値となるように可変抵抗部24の抵抗値Reを設定する(負性コンダクタンスGoscを調整する)から、上記の場合、負性コンダクタンスGoscの絶対値を大きくするために、抵抗値Reを小さくする。そして、信号処理部5は、このように制御部4により設定された抵抗値Reに基づいて上記検知信号を作成して出力する。   Here, when the object to be detected approaches the detection coil 10 and the eddy current loss in the detection coil 10 increases, the absolute value of the conductance Gcoil of the detection coil 10 becomes larger than the absolute value of the negative conductance Gosc. Since the condition is not satisfied, the oscillation of the LC resonance circuit unit 1 tries to stop, and the oscillation amplitude VT decreases. When the oscillation amplitude VT detected by the monitor unit 3 no longer falls within the predetermined range, the control unit 4 determines the resistance value of the variable resistance unit 24 so that the oscillation amplitude VT becomes a value within the predetermined range. Since Re is set (the negative conductance Gosc is adjusted), in the above case, the resistance value Re is decreased in order to increase the absolute value of the negative conductance Gosc. The signal processing unit 5 creates and outputs the detection signal based on the resistance value Re set by the control unit 4 as described above.

逆に被検知体が検知コイル10から離れ、検知コイル10における渦電流損が小さくなると、検知コイル10のコンダクタンスGcoilの絶対値が、負性コンダクタンスGoscの絶対値より小さくなって、LC共振回路部1の発振振幅VTが大きくなる。制御部4は、モニタ部3で検出した発振振幅VTが上記所定範囲内の値にならなくなった場合には、発振振幅VTが上記所定範囲内の値となるように可変抵抗部24の抵抗値Reを設定する(負性コンダクタンスGoscを調整する)から、上記の場合、負性コンダクタンスGoscの絶対値を小さくするために、抵抗値Reを大きくする。そして、信号処理部5は、このように制御部4により設定された抵抗値Reに基づいて上記検知信号を作成して出力する。   Conversely, when the object to be detected moves away from the detection coil 10 and the eddy current loss in the detection coil 10 becomes small, the absolute value of the conductance Gcoil of the detection coil 10 becomes smaller than the absolute value of the negative conductance Gosc, and the LC resonance circuit unit. The oscillation amplitude VT of 1 increases. When the oscillation amplitude VT detected by the monitor unit 3 no longer falls within the predetermined range, the control unit 4 determines the resistance value of the variable resistance unit 24 so that the oscillation amplitude VT becomes a value within the predetermined range. Since Re is set (the negative conductance Gosc is adjusted), in the above case, the resistance value Re is increased in order to reduce the absolute value of the negative conductance Gosc. The signal processing unit 5 creates and outputs the detection signal based on the resistance value Re set by the control unit 4 as described above.

このように、信号処理部5からは、抵抗値Reに基づく上記検知信号が出力され、この上記検知信号をモニタすることによって、被検知体と検知コイル10との距離、つまり位置関係を知ることができる。   In this way, the detection signal based on the resistance value Re is output from the signal processing unit 5, and the distance, that is, the positional relationship between the detected object and the detection coil 10 is known by monitoring the detection signal. Can do.

以上述べた本実施形態の近接センサによれば、LC共振回路部1が発振する条件は、発振回路部2の負性コンダクタンスGoscの絶対値が、検知コイル10のコンダクタンスGcoilの絶対値以上であることであるから、発振回路部2の負性コンダクタンスGoscがLC共振回路部1が発振可能な臨界値である場合、当該負性コンダクタンスGoscの絶対値は、検知コイル10のコンダクタンスGcoilの絶対値に等しいと考えることができ、ここで、検知コイル10のコンダクタンスGcoilは、被検知体と検知コイル10との距離に起因する渦電流損の変化、つまり検知コイル10と被検知体との距離に応じて変化し、検知コイル10のコンダクタンスGcoilに等しい発振回路部2の負性コンダクタンスGoscは、LC共振回路部1に供給される帰還電流IfbとLC共振回路部1の発振振幅VTによって決定され、LC共振回路部1に供給される帰還電流Ifbは、増幅回路22が出力する電流に応じて増減するので、増幅回路22が出力する電流の大きさを調整する可変抵抗部24の抵抗値Reを検知コイル10と被検知体との距離を示す値として用いることができ、このような可変抵抗部24の抵抗値Reを用いることで、従来例のような被検知体が存在しているか否かのデジタルな検知信号ではなく、被検知体と検知コイル10との距離を示すアナログな検知信号を得ることができる。   According to the proximity sensor of the present embodiment described above, the condition for the LC resonance circuit unit 1 to oscillate is that the absolute value of the negative conductance Gosc of the oscillation circuit unit 2 is greater than or equal to the absolute value of the conductance Gcoil of the detection coil 10. Therefore, when the negative conductance Gosc of the oscillation circuit unit 2 is a critical value that allows the LC resonance circuit unit 1 to oscillate, the absolute value of the negative conductance Gosc is the absolute value of the conductance Gcoil of the detection coil 10. Here, the conductance Gcoil of the detection coil 10 depends on the change in eddy current loss caused by the distance between the detection object and the detection coil 10, that is, the distance between the detection coil 10 and the detection object. The negative conductance Gosc of the oscillation circuit unit 2 equal to the conductance Gcoil of the detection coil 10 is L The feedback current Ifb supplied to the resonance circuit unit 1 is determined by the feedback current Ifb supplied to the resonance circuit unit 1 and the oscillation amplitude VT of the LC resonance circuit unit 1, and the feedback current Ifb supplied to the LC resonance circuit unit 1 increases or decreases according to the current output from the amplifier circuit 22. Therefore, the resistance value Re of the variable resistor section 24 that adjusts the magnitude of the current output from the amplifier circuit 22 can be used as a value indicating the distance between the detection coil 10 and the detected object. By using the resistance value Re of 24, an analog detection signal indicating the distance between the detection object and the detection coil 10 is used instead of a digital detection signal indicating whether or not the detection object exists as in the conventional example. Obtainable.

しかも、このような検知信号を閾値処理することで、被検知体が存在しているか否かのデジタルな検知信号も得ることができるから、被検知体の存在検知に加え、被検知体との距離も検知できる。この場合、信号処理部5は、例えば、検知信号(アナログな検知信号)の値が所定の閾値以上である場合に、被検知体が検知コイル10の検知範囲内に存在し、所定の閾値未満である場合に、被検知体が検知コイル10の検知範囲外に存在すると判断して、被検知体の存否を示す検知信号(デジタルな検知信号)を出力するように構成されていてもよい。   In addition, by performing threshold processing on such a detection signal, it is possible to obtain a digital detection signal indicating whether or not the detected object exists, so in addition to detecting the presence of the detected object, Distance can also be detected. In this case, for example, when the value of the detection signal (analog detection signal) is equal to or greater than a predetermined threshold, the signal processing unit 5 exists in the detection range of the detection coil 10 and is less than the predetermined threshold. In this case, the detection object may be determined to exist outside the detection range of the detection coil 10 and a detection signal (digital detection signal) indicating whether or not the detection object is present may be output.

また、信号処理部5は、制御部4から可変抵抗部24の抵抗値Reを取得し、当該抵抗値Reを用いて検知信号を作成するから、例えば、負性コンダクタンスGoscの大きさを得るために帰還電流Ifbなどを利用する場合とは異なり、帰還電流Ifbの大きさを検出する検出回路などが必要なくなるから、回路構成を簡素化することができて、小型化、製造コストの低減などが図れる。   Further, since the signal processing unit 5 acquires the resistance value Re of the variable resistance unit 24 from the control unit 4 and creates a detection signal using the resistance value Re, for example, in order to obtain the magnitude of the negative conductance Gosc. Unlike the case where the feedback current Ifb or the like is used, a detection circuit or the like for detecting the magnitude of the feedback current Ifb is not necessary, so that the circuit configuration can be simplified, downsizing, and the manufacturing cost can be reduced. I can plan.

また、可変抵抗部24は、固定抵抗器24bと、可変抵抗器24aとの直列回路からなるので、固定抵抗器24bの抵抗値を可変抵抗器24aの抵抗値のオフセットとして利用することができ、可変抵抗器24aのみを用いる場合に比べれば、被検知体と検知コイル10との距離の分解能(位置精度)を向上できる。なお、本実施形態における可変抵抗部24は、1つの固定抵抗器24bと、1つの可変抵抗器24aとの直列回路からなるが、1乃至複数の固定抵抗器24bと、1乃至複数の可変抵抗器24aとの直列回路からなるものであってもよいし、複数の固定抵抗器24bや複数の可変抵抗器24aそれぞれは並列接続されていてもよい。つまり、可変抵抗部24は、1乃至複数の固定抵抗器24bと、1乃至複数の可変抵抗器24aとの直列または並列回路からなるものであれば、固定抵抗器24bの抵抗値を可変抵抗部24aの抵抗値のオフセットとして利用することができ、可変抵抗器24aのみを用いる場合に比べれば、被検知体と検知コイル10との距離の分解能を向上できる。また、可変抵抗部24は可変抵抗器24aのみからなるものであってもよいが、上記の理由から、固定抵抗器24bとともに用いたほうが分解能を向上できるために好ましい。   In addition, since the variable resistor unit 24 includes a series circuit of the fixed resistor 24b and the variable resistor 24a, the resistance value of the fixed resistor 24b can be used as an offset of the resistance value of the variable resistor 24a. Compared to the case where only the variable resistor 24a is used, the resolution (positional accuracy) of the distance between the detected object and the detection coil 10 can be improved. The variable resistor unit 24 in the present embodiment includes a series circuit of one fixed resistor 24b and one variable resistor 24a. However, the variable resistor unit 24 includes one or more fixed resistors 24b and one or more variable resistors. It may consist of a series circuit with the resistor 24a, or the plurality of fixed resistors 24b and the plurality of variable resistors 24a may be connected in parallel. That is, if the variable resistor unit 24 is composed of a series or parallel circuit of one or more fixed resistors 24b and one or more variable resistors 24a, the resistance value of the fixed resistor 24b is changed to the variable resistor unit. This can be used as an offset of the resistance value 24a, and the resolution of the distance between the detected object and the detection coil 10 can be improved as compared with the case where only the variable resistor 24a is used. The variable resistor section 24 may be composed only of the variable resistor 24a, but for the above reason, it is preferable to use it together with the fixed resistor 24b because the resolution can be improved.

また、発振回路部2と、モニタ部3と、制御部4と、信号処理部5とはモノリシックICとして一体化されているので、発振回路部2と、モニタ部3と、制御部4と、信号処理部5とをそれぞれ別のICなどにより構成する場合に比べれば、小型化が図れるとともに低コスト化が図れ、さらに耐ノイズ性能を向上できる。ところで、可変抵抗部24を上述したように固定抵抗器24bと可変抵抗器24aとの直列回路により構成している場合には、可変抵抗部24の可変抵抗器24aをモノリシックICに組み込み、固定抵抗器24bはモノリシックICに組み込まないようにしてもよく、このようにすれば、固定抵抗器24bの交換によって、可変抵抗部24の抵抗値Reの可変範囲を調整することができ、近接センサの設計変更が容易になる。   Since the oscillation circuit unit 2, the monitor unit 3, the control unit 4, and the signal processing unit 5 are integrated as a monolithic IC, the oscillation circuit unit 2, the monitor unit 3, the control unit 4, Compared with the case where the signal processing unit 5 is configured by separate ICs, the size can be reduced, the cost can be reduced, and the noise resistance can be improved. By the way, when the variable resistor unit 24 is constituted by the series circuit of the fixed resistor 24b and the variable resistor 24a as described above, the variable resistor 24a of the variable resistor unit 24 is incorporated in the monolithic IC, and the fixed resistor The device 24b may not be incorporated in the monolithic IC. In this way, the variable range of the resistance value Re of the variable resistor section 24 can be adjusted by exchanging the fixed resistor 24b. Easy to change.

なお、本実施形態における発振回路部2や、モニタ部3の回路構成はあくまでも一例であって、本発明の趣旨を逸脱しない程度に変更することができる。例えば、モニタ部3としては、発振振幅を示す値として、図1に示すような発振電圧のピーク値を検出する構成の他に、発振電圧の積分値を検出する構成や、発振電圧の実効値を検出する構成であってもよい。このように、交流成分のみを検波し、それが一定になるように制御する方式にすると、バイアス電流や検知コイル10の直流抵抗分の影響(当然、それらの温度特性も)を排除することが可能になるという利点がある。   Note that the circuit configurations of the oscillation circuit unit 2 and the monitor unit 3 in the present embodiment are merely examples, and can be changed without departing from the gist of the present invention. For example, the monitor unit 3 has a configuration for detecting the peak value of the oscillation voltage as shown in FIG. 1 as a value indicating the oscillation amplitude, a configuration for detecting the integrated value of the oscillation voltage, and an effective value for the oscillation voltage. The structure which detects this may be sufficient. As described above, when only the AC component is detected and controlled so as to be constant, the influence of the bias current and the DC resistance of the detection coil 10 (of course, their temperature characteristics) can be eliminated. There is an advantage that it becomes possible.

また、本実施形態における近接センサは、常時はLC共振回路部1が発振しており、被検知体の接近によってLC共振回路部1の発振が停止する近接センサを利用しているが、常時はLC共振回路部1の発振が停止しており、被検知体の接近によってLC共振回路部1が発振する近接センサを利用するようにしてもよい。   In addition, the proximity sensor according to the present embodiment uses a proximity sensor in which the LC resonance circuit unit 1 always oscillates and the oscillation of the LC resonance circuit unit 1 stops due to the approach of the detected object. It is also possible to use a proximity sensor in which the oscillation of the LC resonance circuit unit 1 is stopped and the LC resonance circuit unit 1 oscillates when the object to be detected approaches.

ところで、本実施形態における検知コイル10のコンダクタンスは、被検知体との距離のほかに、LC共振回路部1の発振周波数によっても変化する。つまり、コンデンサ11の容量が変化した場合であっても、検知コイル10のコンダクタンスが変化する。したがって、本実施形態の近接センサは、静電容量センサとしても利用することができ、この場合であっても、可変抵抗部24の抵抗値Reを出力として利用することができる。   By the way, the conductance of the detection coil 10 in the present embodiment varies depending on the oscillation frequency of the LC resonance circuit unit 1 in addition to the distance to the detected object. That is, even when the capacitance of the capacitor 11 changes, the conductance of the detection coil 10 changes. Therefore, the proximity sensor of the present embodiment can be used as a capacitance sensor, and even in this case, the resistance value Re of the variable resistance unit 24 can be used as an output.

(実施形態2)
本実施形態の近接センサは、可変抵抗部24の可変抵抗器24aと、モニタ部3と、制御部4と、信号処理部5との構成が実施形態1と異なっており、その他の構成については実施形態1と同様であるから同様の構成については同一の符号を付して説明を省略する。
(Embodiment 2)
The proximity sensor of the present embodiment is different from the first embodiment in the configuration of the variable resistor 24a of the variable resistor unit 24, the monitor unit 3, the control unit 4, and the signal processing unit 5, and other configurations are as follows. Since it is the same as that of Embodiment 1, the same code | symbol is attached | subjected about the same structure and description is abbreviate | omitted.

本実施形態における可変抵抗器24aは、デジタルコード(すなわち、’00000111’などのビット列)にて抵抗値を設定可能なデジタルポテンショメータからなる。つまり、本実施形態における可変抵抗部24は、デジタルコードにて抵抗値を設定可能なデジタルポテンショメータからなる可変抵抗器24aを有し、可変抵抗器24aと固定抵抗器24bとの直列回路の抵抗値(可変抵抗器24aの抵抗値と固定抵抗器24bの抵抗値との合成抵抗)が可変抵抗部24の抵抗値Reとなる。なお、このようなデジタルポテンショメータは従来周知の物品であるから説明を省略する。   The variable resistor 24a in the present embodiment is composed of a digital potentiometer whose resistance value can be set by a digital code (that is, a bit string such as '00000111'). That is, the variable resistor unit 24 in the present embodiment has a variable resistor 24a composed of a digital potentiometer whose resistance value can be set with a digital code, and the resistance value of a series circuit of the variable resistor 24a and the fixed resistor 24b. The combined resistance of the resistance value of the variable resistor 24 a and the resistance value of the fixed resistor 24 b is the resistance value Re of the variable resistor unit 24. In addition, since such a digital potentiometer is a conventionally well-known article, description is abbreviate | omitted.

本実施形態におけるモニタ部3は、npn形のトランジスタ30と、抵抗31と、コンデンサ32と、A/Dコンバータ(アナログ/デジタル変換器)33とを備えている。ここで、トランジスタ30と、抵抗31と、コンデンサ32とは、LC共振回路部1の発振振幅VTを検出する検出部を構成しており、当該検出部は、発振振幅VTを示すアナログ信号をA/Dコンバータに出力する。A/Dコンバータ33は、検出部が出力したアナログ信号を所定の量子化幅でデジタル信号に変換して制御部4に出力する。なお、このようなA/Dコンバータ33は従来周知の構成により実現できるから詳細な説明を省略する。   The monitor unit 3 in this embodiment includes an npn transistor 30, a resistor 31, a capacitor 32, and an A / D converter (analog / digital converter) 33. Here, the transistor 30, the resistor 31, and the capacitor 32 constitute a detection unit that detects the oscillation amplitude VT of the LC resonance circuit unit 1, and the detection unit outputs an analog signal indicating the oscillation amplitude VT as A. / Output to D converter. The A / D converter 33 converts the analog signal output from the detection unit into a digital signal with a predetermined quantization width and outputs the digital signal to the control unit 4. Since such an A / D converter 33 can be realized by a conventionally known configuration, detailed description thereof will be omitted.

本実施形態における制御部4は、発振回路部2の負性コンダクタンスGoscが上記臨界値となるように可変抵抗部24の抵抗値Reを設定するデジタルコードを作成し、当該デジタルコードを可変抵抗部24および信号処理部5に出力する。ここで、制御部4は、デジタルコードを作成するにあたっては、A/Dコンバータ33が出力した発振振幅VTを示すデジタル信号からデジタルコードを作成する。例えば、制御部4は、A/Dコンバータ33より得たデジタル信号と、負性コンダクタンスGoscの絶対値とコンダクタンスGcoilの絶対値が等しいときの発振振幅VTのデジタル信号とを比較し、その差分に応じてデジタルコードを作成する。   The control unit 4 in the present embodiment creates a digital code for setting the resistance value Re of the variable resistance unit 24 so that the negative conductance Gosc of the oscillation circuit unit 2 becomes the critical value, and the digital code is used as the variable resistance unit. 24 and the signal processing unit 5. Here, when creating the digital code, the control unit 4 creates a digital code from a digital signal indicating the oscillation amplitude VT output from the A / D converter 33. For example, the control unit 4 compares the digital signal obtained from the A / D converter 33 with the digital signal of the oscillation amplitude VT when the absolute value of the negative conductance Gosc and the absolute value of the conductance Gcoil are equal to each other. Create a digital code accordingly.

本実施形態における信号処理部5は、上記の検知用可変抵抗部を備える代わりに、制御部4が出力するデジタルコードから可変抵抗部24の抵抗値Reを取得する機能を備え、検知コイル10と被検知体との距離を示す上記検知信号を作成するにあたっては、制御部4が出力したデジタルコードを用いて上記検知信号の作成を行う。   The signal processing unit 5 in the present embodiment has a function of acquiring the resistance value Re of the variable resistance unit 24 from the digital code output from the control unit 4 instead of including the detection variable resistance unit described above. In creating the detection signal indicating the distance to the object to be detected, the detection signal is created using the digital code output by the control unit 4.

以上述べた本実施形態の近接センサによれば、上記実施形態1と同様の効果を奏する上に、信号処理部5は、制御部4が出力したデジタルコードを演算処理することで可変抵抗部24の抵抗値Reを得ることができ、このような演算処理はプログラムなどにより容易に実現可能であるから、例えば、実施形態1のように可変抵抗部24の可変抵抗器24aが固定抵抗器と半導体スイッチング素子の直列回路を並列接続したものであり、制御部4の出力する制御信号による半導体スイッチング素子(スイッチ)のオン・オフで抵抗値Reの設定を行うものである場合に比べれば、可変抵抗部24と同様な構成の検知用可変抵抗部などが必要なくなり、可変抵抗部24の抵抗値Reを容易に得ることができる。   According to the proximity sensor of the present embodiment described above, the same effect as that of the first embodiment is obtained, and the signal processing unit 5 performs arithmetic processing on the digital code output from the control unit 4 to perform the variable resistance unit 24. The resistance value Re of the variable resistor unit 24 can be easily realized by a program or the like. For example, the variable resistor 24a of the variable resistor unit 24 is a fixed resistor and a semiconductor as in the first embodiment. Compared to the case where a series circuit of switching elements is connected in parallel and the resistance value Re is set by turning on / off the semiconductor switching element (switch) by a control signal output from the control unit 4, a variable resistance The variable resistance part for detection having the same configuration as the part 24 is not necessary, and the resistance value Re of the variable resistance part 24 can be easily obtained.

また、モニタ部3は、LC共振回路部1の発振振幅VTを検出し発振振幅VTを示すアナログ信号を出力する検出部と、当該検出部が出力した発振振幅VTを示すアナログ信号をデジタル信号に変換して制御部4に出力するA/Dコンバータ33とを備え、制御部4は、A/Dコンバータ33が出力した発振振幅VTを示すデジタル信号からデジタルコードを作成するから、例えば比較器などを用いて、モニタ部3より得た発振振幅VTが所定値を越えているか、あるいは下回っているかを判断し、その結果に応じて、抵抗値Reを変更する場合に比べれば(つまりアナログ演算によって抵抗値Reを設定する場合に比べれば)、抵抗値Reをすぐに負性コンダクタンスGoscの絶対値がコンダクタンスGcoilの絶対値に等しくなる値に設定できるから、処理速度(可変抵抗部24の抵抗値Reの変化の応答性、追随性)を向上でき、例えば、近接センサの起動時や、被検知体の移動速度が速い場合であっても、迅速に、発振回路部2の負性コンダクタンスをLC共振回路部1が発振可能な臨界値に設定することができ、遅れが生じてしまうことを抑制できる。   The monitor unit 3 detects the oscillation amplitude VT of the LC resonance circuit unit 1 and outputs an analog signal indicating the oscillation amplitude VT, and converts the analog signal indicating the oscillation amplitude VT output by the detection unit into a digital signal. An A / D converter 33 that converts and outputs the digital code from the digital signal indicating the oscillation amplitude VT output from the A / D converter 33. For example, a comparator or the like Is used to determine whether the oscillation amplitude VT obtained from the monitor unit 3 exceeds or falls below a predetermined value, and the resistance value Re is changed according to the result (that is, by analog calculation). A value at which the absolute value of the negative conductance Gosc immediately becomes equal to the absolute value of the conductance Gcoil, as compared to the case of setting the resistance value Re). Since it can be set, the processing speed (responsiveness and followability of the change in the resistance value Re of the variable resistor section 24) can be improved. For example, even when the proximity sensor is activated or the moving speed of the detected object is high The negative conductance of the oscillation circuit unit 2 can be quickly set to a critical value that allows the LC resonance circuit unit 1 to oscillate, and the occurrence of a delay can be suppressed.

(実施形態3)
本実施形態の近接センサは、可変抵抗部24の可変抵抗器24aの構成と、制御部4の構成と、信号処理部5の構成とが実施形態1と異なっており、その他の構成については実施形態1と同様であるから同様の構成については同一の符号を付して説明を省略する。
(Embodiment 3)
In the proximity sensor of the present embodiment, the configuration of the variable resistor 24a of the variable resistance unit 24, the configuration of the control unit 4, and the configuration of the signal processing unit 5 are different from those of the first embodiment, and other configurations are implemented. Since it is the same as that of the first embodiment, the same components are denoted by the same reference numerals and the description thereof is omitted.

本実施形態における可変抵抗器24aは、実施形態2と同様のデジタルポテンショメータからなる。つまり、本実施形態においても可変抵抗部24は、デジタルコードにて抵抗値を設定可能なデジタルポテンショメータからなる可変抵抗器24aを有し、可変抵抗器24aと固定抵抗器24bとの直列回路の抵抗値が可変抵抗部24の抵抗値Reとなる。また、本実施形態における信号処理部5は、上記実施形態2と同様のものであるから詳細な説明は省略する。   The variable resistor 24a in the present embodiment is composed of the same digital potentiometer as in the second embodiment. That is, also in the present embodiment, the variable resistor section 24 has a variable resistor 24a composed of a digital potentiometer whose resistance value can be set by a digital code, and the resistance of a series circuit of the variable resistor 24a and the fixed resistor 24b. The value becomes the resistance value Re of the variable resistor section 24. In addition, since the signal processing unit 5 in the present embodiment is the same as that in the second embodiment, detailed description thereof is omitted.

本実施形態における制御部4は、所定周期でモニタ部3により検出した発振振幅VTと所定の閾値とを比較する比較部40と、タイミング回路41と、比較部40の比較結果に基づいてデジタルコードを可変抵抗部24および信号処理部4に出力する演算処理部42とにより構成されている。   In the present embodiment, the control unit 4 compares the oscillation amplitude VT detected by the monitor unit 3 with a predetermined threshold at a predetermined cycle, a timing circuit 41, and a digital code based on the comparison result of the comparison unit 40. Is formed by a variable resistance unit 24 and an arithmetic processing unit 42 that outputs the signal processing unit 4 to the signal processing unit 4.

比較部40は、内部電源Vccとグラウンドとの間に挿入された抵抗R1〜R3の直列回路からなる分圧回路と、第1のコンパレータCOMP1と、第2のコンパレータCOMP2と、第1の否定ゲート(NOTゲート、インバータともいう)40aと、論理積ゲート(ANDゲート)40bと、第2の否定ゲート40cとで構成されている。   The comparison unit 40 includes a voltage dividing circuit including a series circuit of resistors R1 to R3 inserted between the internal power supply Vcc and the ground, a first comparator COMP1, a second comparator COMP2, and a first negative gate. (A NOT gate or an inverter) 40a, an AND gate 40b, and a second negation gate 40c.

上記分圧回路は、第1のコンパレータCOMP1と第2のコンパレータCOMP2とに所定の閾値V1,V2を与えるためのものであって、抵抗R1,R2の接続点の電位からなる閾値V1は発振振幅VTの上限となる値であり、抵抗R2,R3の接続点の電位からなる閾値V2は発振振幅VTの下限となる値である。   The voltage dividing circuit is for giving predetermined threshold values V1 and V2 to the first comparator COMP1 and the second comparator COMP2, and the threshold value V1 composed of the potential at the connection point of the resistors R1 and R2 has an oscillation amplitude. VT is the upper limit value, and the threshold value V2 consisting of the potential at the connection point of the resistors R2 and R3 is the lower limit value of the oscillation amplitude VT.

第1のコンパレータCOMP1の非反転入力端子は抵抗R1,R2の接続点に接続され、反転入力端子はモニタ部3の出力端子に接続されている。したがって、第1のコンパレータCOMP1は、モニタ部3で検出した発振振幅VTが閾値V1以下であれば、ハイレベルの信号を出力し、発振振幅VTが閾値V1を越えていれば、ロウレベルの信号を出力する。第1のコンパレータCOMP1の出力端子は、第1の否定ゲート40aおよび論理積ゲート40bに接続されている。   The non-inverting input terminal of the first comparator COMP1 is connected to the connection point of the resistors R1 and R2, and the inverting input terminal is connected to the output terminal of the monitor unit 3. Therefore, the first comparator COMP1 outputs a high level signal if the oscillation amplitude VT detected by the monitor unit 3 is equal to or less than the threshold value V1, and outputs a low level signal if the oscillation amplitude VT exceeds the threshold value V1. Output. The output terminal of the first comparator COMP1 is connected to the first negative gate 40a and the logical product gate 40b.

第2のコンパレータCOMP2の反転入力端子は抵抗R2,R3の接続点に接続され、非反転入力端子はモニタ部3の出力端子に接続されている。したがって、第2のコンパレータCOMP2は、モニタ部3で検出した発振振幅VTが閾値V2を越えていれば、ハイレベルの信号を出力し、発振振幅VTが閾値V2以下であれば、ロウレベルの信号を出力する。第2のコンパレータCOMP2の出力端子は、第2の否定ゲート40cおよび論理積ゲート40bに接続されている。   The inverting input terminal of the second comparator COMP2 is connected to the connection point of the resistors R2 and R3, and the non-inverting input terminal is connected to the output terminal of the monitor unit 3. Therefore, the second comparator COMP2 outputs a high level signal if the oscillation amplitude VT detected by the monitor unit 3 exceeds the threshold value V2, and outputs a low level signal if the oscillation amplitude VT is equal to or less than the threshold value V2. Output. The output terminal of the second comparator COMP2 is connected to the second negation gate 40c and the logical product gate 40b.

第1の否定ゲート40a、論理積ゲート40b、および第2の否定ゲート40cそれぞれの出力端子は、演算処理部42に別個に接続されている。   The output terminals of the first negative gate 40a, the logical product gate 40b, and the second negative gate 40c are separately connected to the arithmetic processing unit 42.

したがって、このような比較部40では、発振振幅VTが閾値V1超過であれば、第1の否定ゲート40aからはハイレベルの信号が出力され、論理積ゲート40bおよび第2の否定ゲート40cからはロウレベルの信号が出力され、発振振幅VTが閾値V1以下、閾値V2超過であれば、第1の否定ゲート40aおよび第2の否定ゲート40cからはロウレベルの信号が出力され、論理積ゲート40bからはハイレベルの信号が出力され、発振振幅VTが閾値V2以下であれば、第1の否定ゲート40aおよび論理積ゲート40bからはロウレベルの信号が出力され、第2の否定ゲート40cからはハイレベルの信号が出力される。   Therefore, in such a comparison unit 40, if the oscillation amplitude VT exceeds the threshold value V1, a high level signal is output from the first negative gate 40a, and the AND gate 40b and the second negative gate 40c When a low level signal is output and the oscillation amplitude VT is equal to or less than the threshold value V1 and exceeds the threshold value V2, a low level signal is output from the first negative gate 40a and the second negative gate 40c, and from the AND gate 40b. When a high level signal is output and the oscillation amplitude VT is equal to or lower than the threshold value V2, a low level signal is output from the first negative gate 40a and the logical product gate 40b, and a high level signal is output from the second negative gate 40c. A signal is output.

タイミング回路41は、所定周波数で演算処理部42にパルス信号を出力する発振回路からなる。ここで、タイミング回路41の周波数は、LC共振回路部1の発振周波数より低く設定されている。   The timing circuit 41 includes an oscillation circuit that outputs a pulse signal to the arithmetic processing unit 42 at a predetermined frequency. Here, the frequency of the timing circuit 41 is set lower than the oscillation frequency of the LC resonance circuit unit 1.

演算処理部42は、第1の否定ゲート40aからハイレベルの信号を受け取ると、可変抵抗部24の抵抗値Reを増加させ、論理積ゲート40bからハイレベルの信号を受け取ると、可変抵抗部24の抵抗値Reを現状のまま維持し、第2の否定ゲート40cからハイレベルの信号を受け取ると、可変抵抗部24の抵抗値Reを減少させる。つまり、本実施形態における制御部4は、比較部40の比較結果によってデジタルポテンショメータからなる可変抵抗器24aの抵抗値、すなわち可変抵抗部24の抵抗値Reを変更するか否かを決定する。   When the arithmetic processing unit 42 receives a high level signal from the first negative gate 40a, the arithmetic processing unit 42 increases the resistance value Re of the variable resistance unit 24, and when the arithmetic processing unit 42 receives a high level signal from the AND gate 40b, the variable resistance unit 24. When the high-level signal is received from the second negative gate 40c, the resistance value Re of the variable resistor unit 24 is decreased. That is, the control unit 4 in the present embodiment determines whether or not to change the resistance value of the variable resistor 24a formed of a digital potentiometer, that is, the resistance value Re of the variable resistance unit 24, based on the comparison result of the comparison unit 40.

また、演算処理部42は、可変抵抗部24の抵抗値Reを変更するにあたっては、デジタルコードを1ずつ変化させる。例えば、可変抵抗部24の抵抗値Reに対応するデジタルコードが’00100110’であるときに、第1の否定ゲート40aからハイレベルの信号を受け取ると、現時点でのデジタルコードを1増加させて、’00100111’からなるデジタルコードを作成して、このデジタルコードを出力する。一方、第2の否定ゲート40cからハイレベルの信号を受け取ると、現時点でのデジタルコードを1減少させて、’00100101’からなるデジタルコードを作成して、このデジタルコードを出力する。   In addition, the arithmetic processing unit 42 changes the digital code by one when changing the resistance value Re of the variable resistance unit 24. For example, when the digital code corresponding to the resistance value Re of the variable resistor unit 24 is '00100110', when a high level signal is received from the first negative gate 40a, the digital code at the present time is increased by 1, A digital code consisting of “00100111” is created and this digital code is output. On the other hand, when a high level signal is received from the second negative gate 40c, the digital code at the present time is decreased by 1, a digital code consisting of '001001001' is created, and this digital code is output.

さらに、演算処理部43は、デジタルコードを出力するにあたっては、タイミング回路41よりパルス信号を得た際に、デジタルコードを出力するようになっており、これによりタイミング回路41の周波数より低い周波数で、演算処理部43からデジタルコードが出力されないようにしている。   Further, when outputting the digital code, the arithmetic processing unit 43 outputs the digital code when the pulse signal is obtained from the timing circuit 41, and thereby the frequency is lower than the frequency of the timing circuit 41. The digital code is not output from the arithmetic processing unit 43.

以上述べた本実施形態の近接センサによれば、実施形態1と同様の効果を奏する。その上、制御部4は、可変抵抗部24の抵抗値Reを発振回路部2の負性コンダクタンスGoscが上記臨界値となる値に設定するにあたって、デジタルコードを1ずつ増減させる(すなわち、抵抗Reを最小の変化幅で変化させる)ので、抵抗値Reを増加させる際に、抵抗値Reが目標値を上回ってしまうことを防止できるから、オーバーシュートが生じてしまうことを防止でき、また抵抗値Reを減少させる際に、抵抗値Reが目標値を下回ってしまうことを防止できるから、アンダーシュートが生じてしまうことを防止できる。しかも、デジタルコードを1ずつ増やすようにしているので、発振振幅VTから可変抵抗部24の抵抗値Reの目標値を直接的に演算する処理を行わなくて済み、AD変換回路やCPUなどの複雑な装置に比べれば安価なコンパレータにより比較部40を構成することができるから、低コスト化が図れる。   According to the proximity sensor of the present embodiment described above, the same effects as those of the first embodiment can be obtained. In addition, the control unit 4 increases or decreases the digital code by one (ie, the resistance Re) when setting the resistance value Re of the variable resistance unit 24 to a value at which the negative conductance Gosc of the oscillation circuit unit 2 becomes the critical value. Therefore, when the resistance value Re is increased, the resistance value Re can be prevented from exceeding the target value, so that overshooting can be prevented and the resistance value can be prevented. When Re is decreased, it is possible to prevent the resistance value Re from being lower than the target value, thereby preventing undershoot from occurring. In addition, since the digital code is increased by one, it is not necessary to perform a process of directly calculating the target value of the resistance value Re of the variable resistance unit 24 from the oscillation amplitude VT, and the AD converter circuit, CPU, and the like are complicated. Since the comparison unit 40 can be configured by an inexpensive comparator as compared with a simple device, the cost can be reduced.

また、制御部4は、タイミング回路43よりパルス信号が入力された際にデジタルコードを出力するようになっており、タイミング回路43からパルス信号が出力される周波数はLC共振回路部1の発振周波数より低くしているので、LC共振回路部1の発振周期より短い時間間隔でデジタルコードが可変抵抗部24に与えられることがなく、可変抵抗部24の抵抗値Reを変更したことに起因するLC共振回路部1の発振を防止でき、安定した制御が行えるようになる。   The control unit 4 outputs a digital code when a pulse signal is input from the timing circuit 43, and the frequency at which the pulse signal is output from the timing circuit 43 is the oscillation frequency of the LC resonance circuit unit 1. Since it is lower, the digital code is not given to the variable resistor 24 at a time interval shorter than the oscillation period of the LC resonance circuit unit 1, and the LC is caused by changing the resistance value Re of the variable resistor 24. Oscillation of the resonance circuit unit 1 can be prevented and stable control can be performed.

(実施形態4)
本実施形態の近接センサは、温度検知部となる温度センサ6を備えている点と、信号処理部5の構成とが実施形態3と異なっており、その他の構成については実施形態3と同様であるから同様の構成については同一の符号を付して説明を省略する。
(Embodiment 4)
The proximity sensor according to the present embodiment is different from the third embodiment in that the temperature sensor 6 serving as a temperature detection unit and the configuration of the signal processing unit 5 are the same as those in the third embodiment. Therefore, the same components are denoted by the same reference numerals and description thereof is omitted.

温度センサ6は、サーミスタなどの従来周知の感熱素子を用いて構成されている。このような温度センサ6は、周囲の温度、例えば検知コイル10の周囲の温度を検知するために、検知コイル10の近傍に配置されている。なお、温度センサ6は、状況に応じて好適な位置に配置すればよい。   The temperature sensor 6 is configured using a conventionally known thermal element such as a thermistor. Such a temperature sensor 6 is disposed in the vicinity of the detection coil 10 in order to detect an ambient temperature, for example, a temperature around the detection coil 10. The temperature sensor 6 may be disposed at a suitable position depending on the situation.

本実施形態における信号処理部5は、図4に示すように、制御部4が出力したデジタルコードの値に温度センサ6で検知した温度に対応する補正温度係数(補正係数)を乗じることで温度補償を行う温度補償部50と、温度補償部50による温度補償が行われた制御部4が出力したデジタルコードの値にオフセットとゲインの少なくとも一方を加えてデジタルコードの値を調整する出力調整部51と、温度補償部50による温度補償および出力調整部51による調整が行われた制御部4が出力するデジタルコードから可変抵抗部24の抵抗値Reを演算して、検知コイル10と被検知体との距離を示す上記検知信号を作成する出力回路部52とを有している。なお、温度補償部50や出力調整部51はプログラムなどにより実現されている。   As shown in FIG. 4, the signal processing unit 5 in the present embodiment multiplies the digital code value output by the control unit 4 by a correction temperature coefficient (correction coefficient) corresponding to the temperature detected by the temperature sensor 6. A temperature compensation unit 50 that performs compensation, and an output adjustment unit that adjusts the value of the digital code by adding at least one of an offset and a gain to the value of the digital code output by the control unit 4 that has been subjected to temperature compensation by the temperature compensation unit 50 51, the resistance value Re of the variable resistance unit 24 is calculated from the digital code output from the control unit 4 subjected to temperature compensation by the temperature compensation unit 50 and adjusted by the output adjustment unit 51, and the detection coil 10 and the detected object And an output circuit unit 52 for generating the detection signal indicating the distance to the. The temperature compensation unit 50 and the output adjustment unit 51 are realized by a program or the like.

さらに、本実施形態における信号処理部5は、EEPROMなどの書き換え可能な不揮発性メモリからなる記憶部53を有し、当該記憶部53には、温度補償部50で使用する補正温度係数のデータテーブルと、出力調整部51で使用するオフセットやゲインが記憶されている。このような記憶部53に記憶されている補正温度係数のデータテーブルや、オフセット、ゲインは、変更可能としている。   Further, the signal processing unit 5 in the present embodiment includes a storage unit 53 made of a rewritable nonvolatile memory such as an EEPROM, and the storage unit 53 includes a data table of a correction temperature coefficient used in the temperature compensation unit 50. The offset and gain used by the output adjustment unit 51 are stored. The correction temperature coefficient data table, offset, and gain stored in the storage unit 53 can be changed.

温度補償部50は、デジタルコードが入力されると、記憶部53に記憶されている補正温度係数のデータテーブルから、温度センサ6の検知温度に対応する補正温度係数を取得し、取得した補正温度係数とデジタルコードの値との乗算を行い、その結果を、新たなデジタルコードとして出力する。なお、温度補償部50で使用する補正温度係数は、検知コイル10や、被検知体、発振回路部2などの回路の温度特性を考慮して設定された値であって、リファレンスなどを用いた温度測定の結果などから求めることができる。   When the digital code is input, the temperature compensation unit 50 acquires a correction temperature coefficient corresponding to the detected temperature of the temperature sensor 6 from the correction temperature coefficient data table stored in the storage unit 53, and acquires the acquired correction temperature. Multiply the coefficient by the value of the digital code and output the result as a new digital code. Note that the correction temperature coefficient used in the temperature compensation unit 50 is a value set in consideration of the temperature characteristics of the detection coil 10, the detected object, the oscillation circuit unit 2, etc., and uses a reference or the like. It can be obtained from the result of temperature measurement.

出力調整部51は、デジタルコードが入力されると、記憶部53に記憶されているオフセットやゲインを入力されたデジタルコードの値に加え、その結果を、新たなデジタルコードとして出力する。ここで、オフセットの値は、デジタルコードの値に加算あるいは減算される値であり、ゲインの値は0を除く数であって、デジタルコードの値に乗算あるいは除算される値である。したがって、デジタルコードの値を正側にシフトさせたい場合には、オフセットの値を正の値に設定し、デジタルコードの値を負側にシフトさせたい場合には、オフセットの値を負の値に設定すればよい。また、デジタルコード間の値の差を大きくしたい場合には、ゲインの値を1より大きい値に設定すればよく、デジタルコード間の値の差を小さくしたい場合には、ゲインの値を0以上1未満の値に設定すればよい。   When the digital code is input, the output adjustment unit 51 adds the offset and gain stored in the storage unit 53 to the value of the input digital code and outputs the result as a new digital code. Here, the offset value is a value that is added to or subtracted from the digital code value, and the gain value is a number other than 0, and is a value that is multiplied or divided by the digital code value. Therefore, if you want to shift the digital code value to the positive side, set the offset value to a positive value, and if you want to shift the digital code value to the negative side, set the offset value to a negative value. Should be set. Further, when it is desired to increase the difference in value between digital codes, the gain value may be set to a value larger than 1. When the difference between values between digital codes is desired to be reduced, the gain value is set to 0 or more. A value less than 1 may be set.

このような出力調整部51によるデジタルコードの値の調整は、例えば、出力回路部52が出力する検知信号が取り得る値を所望の範囲内の値に設定することを目的として行われる。例えば、近接センサの使用状況(例えば被検知体の材料の種類)によっては、デジタルコードの値から得た検知信号の大きさが、出力回路部52により出力可能な大きさより大きく、検知信号が飽和(サチュレーション)してしまい、検知コイル10と被検知体との距離が得られなくなってしまうおそれがある。このような場合には、出力調整部51によりデジタルコードの値を調整して検知信号の大きさを出力回路部52により出力可能な大きさの範囲内に収まるようにすることで、検知信号の飽和に起因する不具合を防止できる。   The adjustment of the value of the digital code by the output adjustment unit 51 is performed for the purpose of setting a value that can be taken by the detection signal output from the output circuit unit 52 to a value within a desired range, for example. For example, depending on the usage status of the proximity sensor (for example, the type of material of the object to be detected), the magnitude of the detection signal obtained from the value of the digital code is larger than the magnitude that can be output by the output circuit unit 52, and the detection signal is saturated. (Saturation) may occur, and the distance between the detection coil 10 and the detected object may not be obtained. In such a case, the value of the detection signal is adjusted by adjusting the value of the digital code by the output adjustment unit 51 so that the size of the detection signal falls within the range of the size that can be output by the output circuit unit 52. Problems caused by saturation can be prevented.

出力回路部52は、温度補償部50および出力調整部51を経たデジタルコードから可変抵抗部24の抵抗値Reを演算し、デジタルコードから得た抵抗値Reを用いて検知コイル10と被検知体との距離を示す上記検知信号を作成し、外部に出力する。   The output circuit unit 52 calculates the resistance value Re of the variable resistance unit 24 from the digital code that has passed through the temperature compensation unit 50 and the output adjustment unit 51, and uses the resistance value Re obtained from the digital code to detect the detection coil 10 and the object to be detected. The above-mentioned detection signal indicating the distance to is generated and output to the outside.

以上述べた本実施形態の近接センサによれば、実施形態3と同様の効果を奏する上に、温度センサ6で検知した温度に応じてデジタルコードの値が補正されるから、検知コイル10や、被検知体、発振回路部2などの回路の温度特性に起因する検知精度の悪化を防止でき、検知精度の向上が図れる。また、デジタルコードの値に任意にオフセットやゲインを加えることができるから、検知信号の値を所望の範囲内の値とすることができる。   According to the proximity sensor of the present embodiment described above, the same effect as that of the third embodiment is obtained, and the value of the digital code is corrected according to the temperature detected by the temperature sensor 6. It is possible to prevent deterioration in detection accuracy due to temperature characteristics of circuits such as the detection target and the oscillation circuit unit 2 and improve detection accuracy. Further, since an offset or gain can be arbitrarily added to the value of the digital code, the value of the detection signal can be set to a value within a desired range.

また、温度補償部50における補正温度係数は変更可能(書き換え可能)であるから、製品毎に、検知コイル10の特性や、検知コイル10と被検知体との相対位置、発振回路部2などの回路の温度特性にばらつきがあっても、このようなばらつきによって製品毎に検知信号の値が異なってしまうことを防止でき、いずれの製品においても所望の検知信号を得ることが可能となる。   Moreover, since the correction temperature coefficient in the temperature compensation unit 50 can be changed (rewritable), the characteristics of the detection coil 10, the relative position between the detection coil 10 and the detected object, the oscillation circuit unit 2, and the like for each product. Even if there is a variation in the temperature characteristics of the circuit, it is possible to prevent the value of the detection signal from being different for each product due to such variation, and it is possible to obtain a desired detection signal in any product.

さらに、出力調整部51におけるオフセットやゲインは変更可能(書き換え可能)であるから、製品毎に、検知コイル10の特性や、検知コイル10と被検知体との相対位置、発振回路部2などの回路の特性にばらつきがあっても、このようなばらつきによって製品毎に検知信号の値の範囲が異なってしまうことを防止でき、いずれの製品においても検知信号の値を所望の範囲内の値とすることが可能となる。   Furthermore, since the offset and gain in the output adjustment unit 51 can be changed (rewritable), the characteristics of the detection coil 10, the relative position between the detection coil 10 and the detected object, the oscillation circuit unit 2, etc., for each product. Even if there are variations in the circuit characteristics, it is possible to prevent the range of the detection signal value from being different for each product due to such variations, and the value of the detection signal is set to a value within the desired range for any product. It becomes possible to do.

なお、本実施形態における信号処理部5は、温度補償部50と、出力調整部51との両方を備えているが、必ずしも両方を備えている必要はなく、温度補償部50と出力調整部51とのいずれか一方のみを備えているようなものであってもよい。   In addition, although the signal processing unit 5 in the present embodiment includes both the temperature compensation unit 50 and the output adjustment unit 51, it is not always necessary to include both, and the temperature compensation unit 50 and the output adjustment unit 51 are not necessarily provided. Or only one of them may be provided.

(実施形態5)
本実施形態の近接センサは、発振回路部2の構成が実施形態1と異なっており、その他の構成については実施形態1と同様であるから同様の構成については同一の符号を付して説明を省略する。
(Embodiment 5)
In the proximity sensor of the present embodiment, the configuration of the oscillation circuit unit 2 is different from that of the first embodiment, and the other configurations are the same as those of the first embodiment. Omitted.

本実施形態における発振回路部2は、図5に示すように、レベルシフト回路21を備えていない点と、増幅回路22の構成とが実施形態1と異なっている。   As shown in FIG. 5, the oscillation circuit unit 2 according to the present embodiment is different from the first embodiment in that the level shift circuit 21 is not provided and the configuration of the amplifier circuit 22.

本実施形態における増幅回路22は、オペアンプ22aと、npn形のトランジスタ22bとにより構成されている。トランジスタ22bのコレクタは、電流帰還回路23のトランジスタQ3のコレクタに接続され、トランジスタ22bのエミッタとグラウンドとの間には、可変抵抗部24が挿入されている。また、オペアンプ22aの出力端子は、トランジスタ22bのベースに接続され、オペアンプ22aの反転入力端子は、トランジスタ22bのエミッタに接続され、オペアンプ22aの非反転入力端子は、LC共振回路部1に接続されている。   The amplifier circuit 22 in this embodiment includes an operational amplifier 22a and an npn transistor 22b. The collector of the transistor 22b is connected to the collector of the transistor Q3 of the current feedback circuit 23, and the variable resistor section 24 is inserted between the emitter of the transistor 22b and the ground. The output terminal of the operational amplifier 22a is connected to the base of the transistor 22b, the inverting input terminal of the operational amplifier 22a is connected to the emitter of the transistor 22b, and the non-inverting input terminal of the operational amplifier 22a is connected to the LC resonance circuit unit 1. ing.

オペアンプ22aの反転入力端子と出力端子との間には、トランジスタ22bのベース−エミッタ間電圧に等しい電圧が印加されるため、オペアンプ22aの出力端子からは、LC共振回路部1の発振電圧にトランジスタ22bのベース−エミッタ間電圧に等しい電圧が加算された電圧が出力される。すなわち、本実施形態における増幅回路22は、レベルシフト回路としての機能も有している。   Since a voltage equal to the base-emitter voltage of the transistor 22b is applied between the inverting input terminal and the output terminal of the operational amplifier 22a, the transistor is connected to the oscillation voltage of the LC resonance circuit unit 1 from the output terminal of the operational amplifier 22a. A voltage obtained by adding a voltage equal to the base-emitter voltage of 22b is output. That is, the amplifier circuit 22 in this embodiment also has a function as a level shift circuit.

したがって、本実施形態における増幅回路22は、実施形態1と同様に、LC共振回路部1の発振振幅に応じた電流を出力する。   Therefore, the amplifier circuit 22 in the present embodiment outputs a current corresponding to the oscillation amplitude of the LC resonance circuit unit 1 as in the first embodiment.

以上述べた本実施形態の近接センサによれば、実施形態1と同様の効果を奏する。なお、本実施形態における発振回路部2の構成は、実施形態2〜4にも適用することができる。   According to the proximity sensor of the present embodiment described above, the same effects as those of the first embodiment can be obtained. The configuration of the oscillation circuit unit 2 in the present embodiment can also be applied to the second to fourth embodiments.

実施形態1の近接センサの回路ブロック図である。FIG. 3 is a circuit block diagram of the proximity sensor according to the first embodiment. 実施形態2の近接センサの回路ブロック図である。6 is a circuit block diagram of a proximity sensor according to Embodiment 2. FIG. 実施形態3の近接センサの回路ブロック図である。It is a circuit block diagram of the proximity sensor of Embodiment 3. 実施形態4の近接センサの回路ブロック図である。It is a circuit block diagram of the proximity sensor of Embodiment 4. 実施形態5の近接センサの回路ブロック図である。FIG. 10 is a circuit block diagram of a proximity sensor according to a fifth embodiment.

符号の説明Explanation of symbols

1 LC共振回路
2 発振回路部
3 モニタ部
4 制御部
5 信号処理部
6 温度センサ(温度検知部)
10 検知コイル
11 コンデンサ
22 増幅回路
23 電流帰還回路
24 可変抵抗部
24a 可変抵抗器
24b 固定抵抗器
33 A/Dコンバータ
40 比較部
41 タイミング回路
50 温度補償部
51 出力調整部
DESCRIPTION OF SYMBOLS 1 LC resonance circuit 2 Oscillation circuit part 3 Monitor part 4 Control part 5 Signal processing part 6 Temperature sensor (temperature detection part)
DESCRIPTION OF SYMBOLS 10 Detection coil 11 Capacitor 22 Amplifier circuit 23 Current feedback circuit 24 Variable resistance part 24a Variable resistor 24b Fixed resistor 33 A / D converter 40 Comparison part 41 Timing circuit 50 Temperature compensation part 51 Output adjustment part

Claims (11)

被検知体の検知に用いられる検知コイルおよびコンデンサからなるLC共振回路部と、
LC共振回路部を発振させる発振回路部と、
LC共振回路部の発振振幅を検出するモニタ部と、
モニタ部で検出した発振振幅に基づいて発振回路部の負性コンダクタンスをLC共振回路部が発振可能な臨界値に設定する制御部と、
被検知体と検知コイルとの距離を示す検知信号を作成する信号処理部とを備え、
発振回路部は、LC共振回路部の発振電圧に応じた電流を出力する増幅回路と、増幅回路が出力する電流の大きさに応じた帰還電流をLC共振回路部に供給する電流帰還回路と、増幅回路の出力端子とグラウンドとの間に挿入され増幅回路が出力する電流の大きさを調整する可変抵抗部とを有し、
制御部は、発振回路部の負性コンダクタンスが上記臨界値となるように可変抵抗部の抵抗値を設定し、
信号処理部は、可変抵抗部の抵抗値に基づいて上記検知信号を作成することを特徴とする近接センサ。
An LC resonance circuit unit composed of a detection coil and a capacitor used for detection of the object to be detected;
An oscillation circuit unit for oscillating the LC resonance circuit unit;
A monitor unit for detecting the oscillation amplitude of the LC resonance circuit unit;
A control unit for setting the negative conductance of the oscillation circuit unit to a critical value at which the LC resonance circuit unit can oscillate based on the oscillation amplitude detected by the monitor unit;
A signal processing unit that creates a detection signal indicating the distance between the detected object and the detection coil;
The oscillation circuit unit includes an amplification circuit that outputs a current corresponding to the oscillation voltage of the LC resonance circuit unit, a current feedback circuit that supplies a feedback current corresponding to the magnitude of the current output from the amplification circuit to the LC resonance circuit unit, A variable resistance unit that is inserted between the output terminal of the amplifier circuit and the ground and adjusts the magnitude of the current output from the amplifier circuit;
The control unit sets the resistance value of the variable resistance unit so that the negative conductance of the oscillation circuit unit becomes the critical value,
The signal processing unit creates the detection signal based on a resistance value of the variable resistance unit.
上記可変抵抗部は、1乃至複数の固定抵抗器と、1乃至複数の可変抵抗器との直列または並列回路からなることを特徴とする請求項1記載の近接センサ。   The proximity sensor according to claim 1, wherein the variable resistance unit includes a series or parallel circuit of one or more fixed resistors and one or more variable resistors. 上記可変抵抗部は、デジタルコードにて抵抗値を設定可能なデジタルポテンショメータからなる可変抵抗器を有し、
上記制御部は、上記発振回路部の負性コンダクタンスが上記臨界値となるように上記可変抵抗部の抵抗値を設定するデジタルコードを上記可変抵抗部および上記信号処理部に出力し、
上記信号処理部は、上記制御部が出力したデジタルコードに基づいて上記検知信号を作成することを特徴とする請求項1または2記載の近接センサ。
The variable resistor section has a variable resistor composed of a digital potentiometer capable of setting a resistance value with a digital code,
The control unit outputs a digital code that sets a resistance value of the variable resistance unit to the variable resistance unit and the signal processing unit so that the negative conductance of the oscillation circuit unit becomes the critical value,
3. The proximity sensor according to claim 1, wherein the signal processing unit creates the detection signal based on the digital code output from the control unit.
上記モニタ部は、上記LC共振回路部の発振振幅を検出し発振振幅を示すアナログ信号を出力する検出部と、当該検出部が出力した発振振幅を示すアナログ信号をデジタル信号に変換して上記制御部に出力するA/Dコンバータとを備え、
上記制御部は、A/Dコンバータが出力した発振振幅を示すデジタル信号から上記デジタルコードを作成することを特徴とする請求項3記載の近接センサ。
The monitor unit detects an oscillation amplitude of the LC resonance circuit unit and outputs an analog signal indicating the oscillation amplitude, and converts the analog signal indicating the oscillation amplitude output by the detection unit into a digital signal and performs the control. An A / D converter that outputs to the unit,
4. The proximity sensor according to claim 3, wherein the control unit creates the digital code from a digital signal indicating the oscillation amplitude output from the A / D converter.
上記制御部は、上記モニタ部で検出した発振振幅と所定の閾値とを比較する比較部を有し、当該比較部の比較結果によって上記デジタルポテンショメータの抵抗値を変更するか否かを決定し、上記デジタルポテンショメータの抵抗値を変更するにあたっては、上記デジタルコードを1ずつ変化させることを特徴とする請求項3記載の近接センサ。   The control unit has a comparison unit that compares the oscillation amplitude detected by the monitor unit with a predetermined threshold, and determines whether to change the resistance value of the digital potentiometer according to a comparison result of the comparison unit, 4. The proximity sensor according to claim 3, wherein the digital code is changed one by one when the resistance value of the digital potentiometer is changed. 上記制御部は、上記デジタルコードを出力するタイミングを指示する信号を所定周波数で出力するタイミング回路を有し、上記所定周波数は、LC共振回路部の発振周波数より低いことを特徴とする請求項3〜5のうちいずれか1項記載の近接センサ。   4. The control unit according to claim 3, further comprising a timing circuit that outputs a signal instructing a timing of outputting the digital code at a predetermined frequency, wherein the predetermined frequency is lower than an oscillation frequency of the LC resonance circuit unit. The proximity sensor according to any one of? 上記信号処理部は、上記制御部が出力した上記デジタルコードの値にオフセットとゲインの少なくとも一方を加える出力調整部を有していることを特徴とする請求項3〜6のうちいずれか1項記載の近接センサ。   The said signal processing part has an output adjustment part which adds at least one of an offset and a gain to the value of the said digital code which the said control part output, The any one of Claims 3-6 characterized by the above-mentioned. The proximity sensor described. 上記出力調整部における上記オフセットと上記ゲインは変更可能であることを特徴とする請求項7記載の近接センサ。   The proximity sensor according to claim 7, wherein the offset and the gain in the output adjustment unit can be changed. 周囲の温度を検知する温度検知部を備え、
上記信号処理部は、上記制御部が出力した上記デジタルコードの値に温度検知部で検知した温度に対応する補正温度係数を乗じることで温度補償を行う温度補償部を有していることを特徴とする請求項3〜8のうちいずれか1項記載の近接センサ。
It has a temperature detector that detects the ambient temperature,
The signal processing unit includes a temperature compensation unit that performs temperature compensation by multiplying the value of the digital code output by the control unit by a correction temperature coefficient corresponding to the temperature detected by the temperature detection unit. The proximity sensor according to any one of claims 3 to 8.
上記温度補償部における上記補正温度係数は変更可能であることを特徴とする請求項9記載の近接センサ。   The proximity sensor according to claim 9, wherein the correction temperature coefficient in the temperature compensation unit is changeable. 上記発振回路部と、上記モニタ部と、上記制御部と、上記信号処理部とはモノリシックICとして一体化されていることを特徴とする請求項1〜10のうちいずれか1項記載の近接センサ。   11. The proximity sensor according to claim 1, wherein the oscillation circuit unit, the monitor unit, the control unit, and the signal processing unit are integrated as a monolithic IC. .
JP2007244337A 2007-09-20 2007-09-20 Proximity sensor Expired - Fee Related JP4858382B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2007244337A JP4858382B2 (en) 2007-09-20 2007-09-20 Proximity sensor
US12/679,157 US8432169B2 (en) 2007-09-20 2008-09-19 Proximity sensor
PCT/JP2008/066956 WO2009038159A1 (en) 2007-09-20 2008-09-19 Proximity sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007244337A JP4858382B2 (en) 2007-09-20 2007-09-20 Proximity sensor

Publications (2)

Publication Number Publication Date
JP2009077168A JP2009077168A (en) 2009-04-09
JP4858382B2 true JP4858382B2 (en) 2012-01-18

Family

ID=40611722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007244337A Expired - Fee Related JP4858382B2 (en) 2007-09-20 2007-09-20 Proximity sensor

Country Status (1)

Country Link
JP (1) JP4858382B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5368899B2 (en) * 2009-07-07 2013-12-18 パナソニック株式会社 Proximity sensor
JP6911672B2 (en) * 2017-09-25 2021-07-28 オムロン株式会社 Proximity sensor manufacturing method and proximity sensor manufacturing system
JP6965658B2 (en) * 2017-09-25 2021-11-10 オムロン株式会社 Proximity sensor

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3433491B2 (en) * 1993-12-08 2003-08-04 オムロン株式会社 Proximity switch
JP2005295248A (en) * 2004-03-31 2005-10-20 Matsushita Electric Works Ltd High-frequency oscillation type proximity sensor
JP2007005208A (en) * 2005-06-27 2007-01-11 Matsushita Electric Works Ltd Detecting switch

Also Published As

Publication number Publication date
JP2009077168A (en) 2009-04-09

Similar Documents

Publication Publication Date Title
US8432169B2 (en) Proximity sensor
JP5357461B2 (en) Proximity sensor
US5504425A (en) Inductive sensor responsive to the distance to a conductive or magnetizable object
JP2009094994A (en) Proximity sensor
EP2400309A1 (en) Current sensor
JP2010045532A (en) Proximity sensor
JP2013246051A (en) Displacement detector
CN109917846B (en) Voltage stabilizing circuit, semiconductor device, and power supply device
JP4858382B2 (en) Proximity sensor
JP2009094993A (en) Proximity sensor
EP3644510B1 (en) Inductive sensor for measurement device
CN111273079B (en) Fluxgate direct current sensor circuit and method based on double-pulse width measurement
JP4026405B2 (en) Position sensor
JP4981745B2 (en) Proximity sensor
JP2006275959A (en) Magnetic sensor correction device
JP5876250B2 (en) Electromagnetic coil drive device
JP5010156B2 (en) Proximity sensor
JP2018169302A (en) Current sensor
KR101088389B1 (en) Proximity sensor using radio frequency oscillator with hysteresis compensation function
KR102178994B1 (en) Detection apparatus
JP2009077169A (en) Proximity sensor
JP2004007025A (en) Detection sensor
JP4698441B2 (en) Oscillation type proximity sensor and control method of gate current in oscillation type proximity sensor using field effect transistor
JPH1167536A (en) Plunger position detector for electromagnetic device
JPH1032480A (en) Proximity sensor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091002

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100817

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111004

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111017

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141111

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees