JP2000134078A - Capacitance sensor circuit - Google Patents

Capacitance sensor circuit

Info

Publication number
JP2000134078A
JP2000134078A JP32283198A JP32283198A JP2000134078A JP 2000134078 A JP2000134078 A JP 2000134078A JP 32283198 A JP32283198 A JP 32283198A JP 32283198 A JP32283198 A JP 32283198A JP 2000134078 A JP2000134078 A JP 2000134078A
Authority
JP
Japan
Prior art keywords
signal
data signal
detection
capacitance sensor
sensor circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP32283198A
Other languages
Japanese (ja)
Other versions
JP4047466B2 (en
Inventor
Ryochi Kato
良智 加藤
Masayuki Shinohara
正幸 篠原
Taketo Setsuka
武土 瀬塚
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.)
KS TECHNO KK
Original Assignee
KS TECHNO KK
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 KS TECHNO KK filed Critical KS TECHNO KK
Priority to JP32283198A priority Critical patent/JP4047466B2/en
Publication of JP2000134078A publication Critical patent/JP2000134078A/en
Application granted granted Critical
Publication of JP4047466B2 publication Critical patent/JP4047466B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Electronic Switches (AREA)

Abstract

PROBLEM TO BE SOLVED: To maintain the detection sensitivity of detection electrodes to prescribed sensitivity by forming a clock signal, a 1st data signal and a 2nd data signal based on the change of capacitance of two detection electrodes and controlling time between the timings. SOLUTION: Detection sensitivity is set to the highest state by preventing a direct current from being outputted to a delay circuit 50 performing automatic sensitivity adjustment from ports 84 and 85. A CPU 80 outputs an 8-bit digital binary data signal from each port of ports 86 to 93 and carries out automatic balance adjustment. It decides whether a 1st FF output signal of a port 82 is a HIGH level and/or a 2nd FF output signal of a port 83 is a HIGH level. When a HIGH level signal is decided as a valid detection signal, it is decided if the duration of the valid detection signal is >=0.2 seconds. A 1st or 2nd detection signal is outputted from a port 94 for one second when the duration of the valid detection signal is >=0.2 seconds.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、静電容量センサ回
路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a capacitance sensor circuit.

【0002】[0002]

【従来の技術】従来、2の検出電極の静電容量差を検出
する静電容量センサ回路が日本国実用新案出願公告公報
第63−36246号に開示されている。図10に示す
ように、この回路は、パルス信号発生回路と、可変抵抗
と、第1可変遅延回路と、第2可変遅延回路と、位相弁
別手段とを備え、検出電極は、第1可変遅延回路へ、ま
た、基準電極は、第2可変遅延回路へ接続されている。
2. Description of the Related Art Conventionally, a capacitance sensor circuit for detecting a capacitance difference between two detection electrodes is disclosed in Japanese Utility Model Application Publication No. 63-36246. As shown in FIG. 10, this circuit includes a pulse signal generation circuit, a variable resistor, a first variable delay circuit, a second variable delay circuit, and a phase discriminating means. The circuit and the reference electrode are connected to a second variable delay circuit.

【0003】パルス信号発生回路から出力されたパルス
信号は、可変抵抗を介して第1可変遅延回路と、第2可
変遅延回路へ分枝される。両可変遅延回路は、検出領域
に被検出物が存在する場合の検出電極とアース間の静電
容量(以下、「検出電極静電容量」とする。)、基準電
極とアース間の静電容量(以下、「基準電極静電容量」
とする。)の大きさに応じ、入力されたパルス信号を遅
延させ、比較手段である位相弁別手段へ各パルス信号を
出力する。
The pulse signal output from the pulse signal generating circuit is branched to a first variable delay circuit and a second variable delay circuit via a variable resistor. Both variable delay circuits have a capacitance between the detection electrode and the ground when an object to be detected exists in the detection area (hereinafter, referred to as a “detection electrode capacitance”) and a capacitance between the reference electrode and the ground. (Hereinafter, "reference electrode capacitance"
And ), The input pulse signal is delayed, and each pulse signal is output to the phase discriminating means as the comparing means.

【0004】位相弁別手段は、入力された各パルス信号
の位相を比較し、その位相のずれが、所定しきい値以上
である場合には、検出信号を出力する。尚、検出領域内
に検出物が存在しない場合の検出電極とアース間の静電
容量(以下、「検出電極基礎容量」とする。)と基準電
極とアース間の静電容量(以下、「基準電極基礎容量」
とする。)との相違は、可変抵抗を手動で調整してい
た。
The phase discriminating means compares the phases of the input pulse signals, and outputs a detection signal when the phase difference is equal to or greater than a predetermined threshold. The capacitance between the detection electrode and the ground (hereinafter referred to as “detection electrode basic capacitance”) and the capacitance between the reference electrode and the ground (hereinafter referred to as “reference”) when no detection object exists in the detection area. Electrode basic capacity ''
And The difference was that the variable resistor was adjusted manually.

【0005】[0005]

【発明が解決しようとする課題】上記の静電容量センサ
回路は、ノイズ等の影響により検出電極基礎容量、また
は、基準電極基礎容量の何れかが変動した場合、その両
基礎容量の相違による遅延パルス信号の位相差が所定の
しきい値以上であれば、検出領域内に被検出物が存在し
ない場合でも検出信号を出力する。即ち、誤動作する。
In the above-described capacitance sensor circuit, when either the detection electrode basic capacitance or the reference electrode basic capacitance fluctuates due to the influence of noise or the like, the delay due to the difference between the two basic capacitances. If the phase difference between the pulse signals is equal to or greater than a predetermined threshold value, a detection signal is output even when no object is present in the detection area. That is, a malfunction occurs.

【0006】上記の検出電極基礎容量と基準電極基礎容
量の相違による上記の誤動作を防止するためは、上記の
しきい値を大きく設定すれば回避できる。しかし、しき
い値を大きく設定すると、所定の電荷量を有する被検出
物を検出する場合、その被検出物が、検出電極により接
近あるいは接触しなければ検出することができなくな
る。即ち、検出感度を低下させなければならないという
問題点があった。
In order to prevent the above-mentioned malfunction due to the difference between the basic capacitance of the detection electrode and the basic capacitance of the reference electrode, it can be avoided by setting the threshold value to a large value. However, when the threshold value is set to a large value, when an object having a predetermined charge amount is detected, the object cannot be detected unless the object approaches or touches the detection electrode. That is, there was a problem that the detection sensitivity had to be lowered.

【0007】また、上記の静電容量センサ回路は、検出
電極の領域内に、物体が接近し静止してしまうと、検出
電極の電荷量は増大した状態のままであるため、他の物
体が新たに検出領域内に侵入しても検出することができ
ないという問題点があった。
Further, in the above-mentioned capacitance sensor circuit, when an object approaches and comes to a standstill in the area of the detection electrode, the charge amount of the detection electrode remains in an increased state. There is a problem that even if a new intrusion occurs in the detection area, it cannot be detected.

【0008】本発明は、上記の静電容量センサ回路の問
題点を解決し、検出電極基礎容量と基準電極基礎容量バ
ランスが損なわれても誤動作等が発生せず、また、安定
した感度と高い検出感度を維持することができる静電容
量センサ回路を提供することを目的とする。
The present invention solves the above-mentioned problems of the capacitance sensor circuit, so that no malfunction occurs even if the balance between the basic capacitance of the detection electrode and the basic capacitance of the reference electrode is impaired. An object is to provide a capacitance sensor circuit that can maintain detection sensitivity.

【0009】[0009]

【課題を解決するための手段】請求項1記載の静電容量
センサ回路は、パルス信号を発生するパルス信号発生回
路と、パルス信号を少なくとも2の検出電極の静電容量
の変化に基づいてクロック信号、第1データ信号及び第
2データ信号を形成する比較手段と、第1データ信号の
タイミングt2とクロック信号のタイミングt1間の時
間と、クロック信号のタイミングt1と第2データ信号
のタイミングt3間の時間を制御する自動バランス調整
手段と、クロック信号と第1データ信号とを比較し、ま
た、クロック信号と第2データ信号を比較判断する判断
手段とを有するというものである。
According to a first aspect of the present invention, there is provided an electrostatic capacitance sensor circuit comprising: a pulse signal generating circuit for generating a pulse signal; and a clock signal based on a change in the capacitance of at least two detection electrodes. Comparing means for forming a signal, a first data signal and a second data signal, a time between the first data signal timing t2 and the clock signal timing t1, and a time between the clock signal timing t1 and the second data signal timing t3. And a determining means for comparing the clock signal with the first data signal and for comparing and determining the clock signal with the second data signal.

【0010】本発明に係る静電容量センサ回路は、2の
検出電極の静電容量の変化に基づきクロック信号、第1
データ信号及び第2データ信号を形成し、そのタイミン
グ間の時間を制御することにより、2の検出電極の検出
感度を所定の感度に維持することができる。
[0010] The capacitance sensor circuit according to the present invention provides a clock signal based on a change in the capacitance of the two detection electrodes.
By forming the data signal and the second data signal and controlling the time between the timings, the detection sensitivity of the two detection electrodes can be maintained at a predetermined sensitivity.

【0011】請求項2記載の静電容量センサ回路は、自
動バランス手段が、第1データ信号のタイミングt2と
クロック信号のタイミングt1間の時間と、クロック信
号のタイミングt1と第2データ信号のタイミングt3
間の時間を均等に制御するというものである。
According to a second aspect of the present invention, there is provided the capacitance sensor circuit, wherein the automatic balance means includes a time between the first data signal timing t2 and the clock signal timing t1, a clock signal timing t1 and a second data signal timing. t3
The time between them is evenly controlled.

【0012】本発明に係る静電容量センサ回路は、2の
検出電極の検出感度を略均等な感度に維持することがで
きる。また、外部から検出電極へ侵入するノイズは、2
の検出電極に略均等に影響を与えるため、このノイズの
影響を効率的に排除することができる。
The capacitance sensor circuit according to the present invention can maintain the detection sensitivity of the two detection electrodes at substantially equal sensitivity. In addition, noise entering the detection electrode from the outside is 2%.
Since the detection electrodes substantially uniformly affect the detection electrodes, the influence of this noise can be efficiently eliminated.

【0013】請求項3記載の静電容量センサ回路は、比
較手段が、第1検出電極と接続されると共に前記クロッ
ク信号を形成する第1コンパレータと、第2検出電極と
接続されると共に前記第1データ信号を形成する第2コ
ンパレータと、第1データ信号を遅延して第2データ信
号を形成する遅延回路とを有するというものである。
According to a third aspect of the present invention, in the capacitance sensor circuit, the comparing means is connected to the first detection electrode and forms the clock signal, and is connected to the second detection electrode and the second comparator. It has a second comparator for forming one data signal and a delay circuit for delaying the first data signal to form a second data signal.

【0014】請求項4記載の静電容量センサ回路は、自
動バランス調整手段が、第2コンパレータの比較電圧を
可変制御するというものである。
According to a fourth aspect of the present invention, the automatic balance adjusting means variably controls the comparison voltage of the second comparator.

【0015】本発明に係る静電容量センサ回路は、自動
バランス調整手段により第2コンパレータのみを制御す
るため、第1コンパレータを制御する必要がない。従っ
て、回路構成を簡易にすると共に、制御を容易にし回路
の作動信頼性を向上させることができる。
In the capacitance sensor circuit according to the present invention, since only the second comparator is controlled by the automatic balance adjusting means, there is no need to control the first comparator. Therefore, the circuit configuration can be simplified, the control can be facilitated, and the operation reliability of the circuit can be improved.

【0016】請求項5記載の静電容量センサ回路は、自
動バランス調整手段が、CPUにより作動するD/A変
換回路であるというものである。
According to a fifth aspect of the present invention, the automatic balance adjusting means is a D / A conversion circuit operated by a CPU.

【0017】本発明に係る静電容量センサ回路は、CP
Uにより作動するD/A変換回路を用いたため、自動バ
ランス調整を精密に行うことができる。
The capacitance sensor circuit according to the present invention comprises a CP
Since the D / A conversion circuit operated by U is used, the automatic balance adjustment can be performed precisely.

【0018】請求項6記載の静電容量センサ回路は、判
断手段が、クロック信号と第1データ信号を比較し、ま
た、クロック信号と第2データ信号を比較した結果、何
れか一方が所定時間以上無効検出状態にあると判断した
場合には、自動バランス調整手段を作動させるというも
のである。
According to a sixth aspect of the present invention, in the capacitance sensor circuit, as a result of comparing the clock signal with the first data signal and comparing the clock signal with the second data signal, one of the results is determined by the predetermined time. When it is determined that the state is in the invalid detection state, the automatic balance adjusting means is operated.

【0019】請求項7記載の静電容量センサ回路は、判
断手段が、クロック信号と第1データ信号を比較し、ま
た、クロック信号と第2データ信号を比較した結果、何
れか一方が有効検出状態にあると判断した場合には、検
出信号を出力するというものである。
According to a seventh aspect of the present invention, the determination means compares the clock signal with the first data signal, and as a result of comparing the clock signal with the second data signal, one of them is detected as valid. If it is determined that the state is present, a detection signal is output.

【0020】請求項8記載の静電容量センサ回路は、判
断手段が、検出信号を出力した後、クロック信号と第1
データ信号を比較し、また、クロック信号と第2データ
信号を比較した結果、何れか一方が所定時間以上有効検
出状態にあると判断した場合には、自動バランス調整手
段を作動させるというものである。
According to a still further aspect of the present invention, the determination means outputs the detection signal and then outputs the clock signal and the first signal.
When the data signal is compared and the clock signal is compared with the second data signal, if it is determined that one of them is in the valid detection state for a predetermined time or more, the automatic balance adjusting means is operated. .

【0021】本発明に係る静電容量センサ回路は、検出
電極の領域内に、物体が接近し静止している場合でも、
自動バランス調整手段を作動させることにより、他の物
体が新たに検出領域内に侵入したことを検出することが
できる。
The capacitance sensor circuit according to the present invention can be used even when an object is close to and stationary within the area of the detection electrode.
By activating the automatic balance adjustment means, it is possible to detect that another object has newly entered the detection area.

【0022】請求項9記載の静電容量センサ回路は、判
断手段が、クロック信号と第1データ信号を比較する第
1フリップフロップ回路と、クロック信号と第2データ
信号を比較する第2フリップフロップ回路と、第1フリ
ップフロップ回路及び第2フリップフロップ回路の出力
信号を判断するCPUから成るというものである。
According to a ninth aspect of the present invention, in the capacitance sensor circuit, the determining means compares the clock signal with the first data signal, and the second flip-flop compares the clock signal with the second data signal. And a CPU for determining output signals of the first flip-flop circuit and the second flip-flop circuit.

【0023】請求項10記載の静電容量センサ回路は、
遅延回路が、第2データ信号の遅延時間を可変制御する
ことにより、自動感度調整を行うというものである。
According to a tenth aspect of the present invention, there is provided a capacitance sensor circuit comprising:
The delay circuit performs automatic sensitivity adjustment by variably controlling the delay time of the second data signal.

【0024】請求項11記載の静電容量センサ回路は、
判断手段が、クロック信号と第1データ信号を比較し、
また、クロック信号と第2データ信号を比較した結果、
何れもが無効検出状態にあると判断した場合には、遅延
回路を作動させ検出感度を低下させるというものであ
る。
The capacitance sensor circuit according to claim 11 is
Determining means for comparing the clock signal with the first data signal;
Also, as a result of comparing the clock signal and the second data signal,
If it is determined that all of them are in the invalid detection state, the delay circuit is activated to lower the detection sensitivity.

【0025】請求項12記載の静電容量センサ回路は、
遅延回路が、CPUにより選択される複数の時定数を有
する積分回路から成るというものである。
According to a twelfth aspect of the present invention, there is provided a capacitance sensor circuit comprising:
The delay circuit comprises an integrating circuit having a plurality of time constants selected by the CPU.

【0026】請求項13記載の静電容量センサ回路は、
判断手段が、静電容量センサ回路作動直後、自動バラン
ス調整手段を作動させるというものである。
The capacitance sensor circuit according to claim 13 is
The determining means activates the automatic balance adjusting means immediately after the capacitance sensor circuit operates.

【0027】請求項14記載の静電容量センサ回路は、
判断手段は、静電容量センサ回路作動直後、遅延回路を
作動させ、検出感度が最も高い状態に設定するというも
のである。
The capacitance sensor circuit according to claim 14 is
The judging means operates the delay circuit immediately after the operation of the capacitance sensor circuit to set the detection sensitivity to the highest state.

【0028】[0028]

【発明の実施の形態】本発明に係る静電容量センサ回路
を図1を参照しつつ説明する。本回路は、入力端子1、
2から順に、サージ保護回路10と、比較回路20と、
波形整形回路30と、フリップフロップ回路40と、C
PU80を一連に接続して成り、さらに、波形整形回路
30には遅延回路50が、また、比較回路20にはD/
A変換回路60が接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A capacitance sensor circuit according to the present invention will be described with reference to FIG. This circuit has input terminal 1,
2, the surge protection circuit 10, the comparison circuit 20,
The waveform shaping circuit 30, the flip-flop circuit 40, and C
PU 80 are connected in series. Further, a delay circuit 50 is provided in the waveform shaping circuit 30, and a D /
The A conversion circuit 60 is connected.

【0029】さらに、本回路は、安定化電源回路12
0、リセット回路130、LED表示回路140、CP
Uクロック150を備えている。尚、このリセット回路
130は、電源投入後にCPU80への供給電圧が所定
の作動可能電圧になるまで、CPU80の動作を停止し
リセット状態を保持するものであり、また、LED表示
回路140は、CPU80の検出状態をモニタするため
のLED141、142、143、144を点灯するた
めの回路である。
Further, this circuit includes a stabilized power supply circuit 12.
0, reset circuit 130, LED display circuit 140, CP
A U clock 150 is provided. The reset circuit 130 stops the operation of the CPU 80 and keeps the reset state until the supply voltage to the CPU 80 reaches a predetermined operable voltage after the power is turned on. Is a circuit for lighting the LEDs 141, 142, 143, and 144 for monitoring the detection state of.

【0030】入力端子1には、第1検出電極6が接続さ
れており、この第1検出電極は、アース電極8と対向し
て配設されている。また、入力端子2には、第2検出電
極7が接続されており、アース電極9と対向して配設さ
れている。本実施の形態においては、この第1検出電極
6とアース電極8間の基礎静電容量と、第2検出電極7
とアース電極9との基礎静電容量は、同一に調整されて
いるが、必ずしも同一である必要はない。
A first detection electrode 6 is connected to the input terminal 1, and the first detection electrode is provided so as to face the ground electrode 8. Further, a second detection electrode 7 is connected to the input terminal 2, and is disposed to face the ground electrode 9. In the present embodiment, the basic capacitance between the first detection electrode 6 and the ground electrode 8 and the second detection electrode 7
The basic capacitances of the ground electrode 9 and the ground electrode 9 are adjusted to be the same, but need not necessarily be the same.

【0031】入力端子1、2には、トランス5が後続し
ており、ノイズ除去用のローパスフィルタを構成してい
る。さらに、このトランス5に後続するサージ保護回路
10は、サージノイズを除去するために設けられてい
る。尚、このトランス5及びサージ保護回路10は、必
ずしも必要ではなく、適宜、ノイズ除去用の他の回路を
用いることもできる。
The input terminals 1 and 2 are followed by a transformer 5 to constitute a low-pass filter for removing noise. Further, a surge protection circuit 10 following the transformer 5 is provided for removing surge noise. The transformer 5 and the surge protection circuit 10 are not always necessary, and another circuit for removing noise can be used as appropriate.

【0032】1/2DUTYの249Hzのパルス信号
P1を供給するCPU80のポート81は、分枝された
上、夫々、増幅抵抗3、4を介し、サージ保護回路10
の抵抗11、12の直前に接続される。尚、パルス信号
P1の周波数は、上記周波数に限定されるものではな
い。
The port 81 of the CPU 80 which supplies the pulse signal P1 of D Duty of 249 Hz is branched, and the surge protection circuit 10 is connected via amplification resistors 3 and 4, respectively.
Are connected immediately before the resistors 11 and 12. Note that the frequency of the pulse signal P1 is not limited to the above frequency.

【0033】増幅抵抗3と、第1検出電極6及びアース
電極8との間で形成されるコンデンサとにより構成され
た積分回路により、パルス信号P1は、第1積分波形信
号P2に変換される。この立ち上がり縁の傾斜は、増幅
抵抗3と、第1検出電極6及びアース電極8との間で形
成されるコンデンサとの時定数により決定される。ま
た、増幅抵抗4と第2検出電極7及びアース電極9との
間で形成されるコンデンサとにより構成された積分回路
により、パルス信号P1は、第2積分波形信号P3に変
換される。
The pulse signal P1 is converted into a first integrated waveform signal P2 by an integrating circuit constituted by the amplifying resistor 3 and a capacitor formed between the first detecting electrode 6 and the ground electrode 8. The slope of the rising edge is determined by the time constant of the amplification resistor 3 and the capacitor formed between the first detection electrode 6 and the ground electrode 8. The pulse signal P1 is converted into a second integrated waveform signal P3 by an integration circuit constituted by the amplification resistor 4 and a capacitor formed between the second detection electrode 7 and the ground electrode 9.

【0034】比較回路20は、第1積分波形信号P2を
遅延させた第1遅延パルス信号P4を形成する第1コン
パレータ22と、第2積分波形信号P3を遅延させた第
2遅延パルス信号P5を形成する第2コンパレータ23
を備えている。この第1コンパレータ22のプラス極2
21には、第1積分波形信号P2が入力され、マイナス
極222には、抵抗24により1.25Vに固定された
直流電圧が供給されている。尚、コンデンサ25、27
は平滑用のデカップリングコンデンサであり、抵抗26
は分圧用の抵抗である。
The comparison circuit 20 compares the first comparator 22 forming a first delay pulse signal P4 obtained by delaying the first integrated waveform signal P2 and the second delay pulse signal P5 obtained by delaying the second integrated waveform signal P3. Second comparator 23 to be formed
It has. The positive pole 2 of the first comparator 22
The first integral waveform signal P2 is input to 21, and the DC voltage fixed to 1.25 V by the resistor 24 is supplied to the negative pole 222. The capacitors 25 and 27
Is a decoupling capacitor for smoothing, and a resistor 26
Is a voltage dividing resistor.

【0035】一方、第2コンパレータ23のプラス極2
31には、第2積分波形信号P3が入力され、マイナス
極232には、後述するD/A変換回路60からの可変
制御された直流電圧が供給される。尚、両コンパレータ
22、23は、オープンコレクタであるため、各出力端
子223、233には、プルアップ抵抗28、29を介
して、直流電圧が供給されている。
On the other hand, the positive pole 2 of the second comparator 23
A second integrated waveform signal P3 is input to 31, and a variably controlled DC voltage from a D / A conversion circuit 60 described later is supplied to a negative pole 232. Since the comparators 22 and 23 are open collectors, a DC voltage is supplied to the output terminals 223 and 233 via pull-up resistors 28 and 29.

【0036】波形整形回路30は、第1ノット回路31
と、第2ノット回路32と、第3ノット回路33とを備
えている。この第1ノット回路31は、第1遅延パルス
信号P4を位相反転すると共に、クロック信号P6へ波
形整形し、また、第2ノット回路32は、第2遅延パル
ス信号P5を位相反転すると共に、第1データ信号P7
へ波形整形する。
The waveform shaping circuit 30 includes a first knot circuit 31
And a second knot circuit 32 and a third knot circuit 33. The first knot circuit 31 inverts the phase of the first delay pulse signal P4 and shapes the waveform into a clock signal P6. The second knot circuit 32 inverts the phase of the second delay pulse signal P5 and outputs the clock signal P6. One data signal P7
Waveform shaping

【0037】第3ノット回路33は、第2コンパレータ
23の出力端子233の直後に分枝された第2遅延パル
ス信号P5を、後述する遅延回路50により4段階に遅
延して形成し、位相反転し、第2データ信号P8へ波形
整形する。
The third knot circuit 33 delays the second delayed pulse signal P5 branched immediately after the output terminal 233 of the second comparator 23 in four stages by a delay circuit 50, which will be described later, and forms a phase inversion signal. Then, the waveform is shaped into the second data signal P8.

【0038】フリップフロップ回路40は、遅延型のフ
リップフロップ回路である第1フリップフロップ回路4
1及び第2フリップフロップ回路42を備えている。第
1フリップフロップ回路のデータ入力端子411には、
第1データ信号P7を、また、クロック入力端子412
には、クロック信号P6を入力する。第1フリップフロ
ップ回路41は、クロック信号P6の立ち上がり縁のタ
イミングにおける第1データ信号P7の信号レベルを反
転した上、出力端子413から第1FF出力信号P9を
CPU80のポート82へ出力する。
The flip-flop circuit 40 is a first flip-flop circuit 4 which is a delay type flip-flop circuit.
The first and second flip-flop circuits 42 are provided. The data input terminal 411 of the first flip-flop circuit has
The first data signal P7 is supplied to the clock input terminal 412
Receives a clock signal P6. The first flip-flop circuit 41 inverts the signal level of the first data signal P7 at the timing of the rising edge of the clock signal P6, and outputs the first FF output signal P9 from the output terminal 413 to the port 82 of the CPU 80.

【0039】第2フリップフロップ回路42データ入力
端子421には、第2データ信号P8を、また、クロッ
ク入力端子422には、クロック信号P6を入力する。
第2フリップフロップ回路42は、クロック信号P6の
立ち上がり縁のタイミングにおける第2データ信号P8
の信号レベルを反転せずに出力端子423から第2FF
出力信号としてCPU80のポート83へ出力する。
The second data signal P8 is input to the data input terminal 421 of the second flip-flop circuit 42, and the clock signal P6 is input to the clock input terminal 422.
The second flip-flop circuit 42 outputs the second data signal P8 at the timing of the rising edge of the clock signal P6.
Without inverting the signal level of the second FF from the output terminal 423.
The signal is output to the port 83 of the CPU 80 as an output signal.

【0040】遅延回路50は、抵抗51と、コンデンサ
52、53、54と、MOSトランジスタ55、56と
から構成されている。このMOSトランジスタ55、5
6のゲートは、夫々、CPU80のポート84、85に
接続され、ON/OFF制御されている。
The delay circuit 50 comprises a resistor 51, capacitors 52, 53 and 54, and MOS transistors 55 and 56. These MOS transistors 55, 5
Gates 6 are connected to ports 84 and 85 of the CPU 80, respectively, and are ON / OFF controlled.

【0041】この遅延回路50は、MOSトランジスタ
55、56をON/OFF制御することにより、遅延回
路50内の積分回路の時定数を4段階に制御する。従っ
て、分枝された上記第2遅延パルス信号の遅延時間は4
段階に制御される。即ち、両MOSトランジスタ55、
56をOFF制御すると、抵抗51及びコンデンサ52
により積分回路が構成される。
The delay circuit 50 controls the time constants of the integrating circuits in the delay circuit 50 in four stages by ON / OFF controlling the MOS transistors 55 and 56. Accordingly, the delay time of the branched second delayed pulse signal is 4
It is controlled in stages. That is, both MOS transistors 55,
When the 56 is turned off, the resistance 51 and the capacitor 52
Constitutes an integrating circuit.

【0042】さらに、MOSトランジスタ55のみをO
N制御すると抵抗51及びコンデンサ52、53によ
り、また、MOSトランジスタ56のみをON制御する
と抵抗51及びコンデンサ52、54により、また、両
MOSトランジスタ55、56をON制御すると抵抗5
1及びコンデンサ52、53、54により積分回路が構
成される。
Further, only the MOS transistor 55 is
When N control is performed, the resistor 51 and the capacitors 52 and 53 are turned on. When only the MOS transistor 56 is turned on, the resistor 51 and the capacitors 52 and 54 are controlled.
1 and the capacitors 52, 53, 54 constitute an integrating circuit.

【0043】D/A変換回路60は、CPU80のポー
ト86乃至93に接続した抵抗62乃至69から構成さ
れ、各ポートから8ビットデジタル2進データ信号を直
流電圧に変換する。そして、第2コンパレータ23のマ
イナス極232に、1.0から1.5Vまでの直流電圧
を256段階に可変制御し供給する。尚、本実施の形態
においては、8ビットデジタル2進データを用いたが、
本発明に係る回路は、当該ビット数に限定されるもので
はない。
The D / A conversion circuit 60 includes resistors 62 to 69 connected to ports 86 to 93 of the CPU 80, and converts an 8-bit digital binary data signal into a DC voltage from each port. Then, a DC voltage of 1.0 to 1.5 V is variably controlled in 256 steps and supplied to the minus pole 232 of the second comparator 23. In the present embodiment, 8-bit digital binary data is used.
The circuit according to the present invention is not limited to the number of bits.

【0044】次に、図2乃至図7に示すタイミングチャ
ートにより、本実施の形態の回路の動作を説明する。最
初に、本回路の電源をONにした直後の状態を図2を参
照しつつ説明する。
Next, the operation of the circuit of this embodiment will be described with reference to timing charts shown in FIGS. First, a state immediately after the power supply of the present circuit is turned on will be described with reference to FIG.

【0045】本回路の電源をONにすると、CPU80
のポート81から出力されたパルス信号P1は、分枝さ
れた上、上記各積分回路により、第1積分波形信号P2
及び第2積分波形信号P3に変換される。
When the power of this circuit is turned on, the CPU 80
The pulse signal P1 output from the port 81 is branched and the first integrated waveform signal P2 is output from each of the integrating circuits.
And a second integrated waveform signal P3.

【0046】第1積分波形信号P2は、第1コンパレー
タ22に供給されている1.25Vの直流電圧のしきい
値を越えたタイミングt1に立ち下がり縁を有する第1
遅延パルス信号P4に変換される。一方、第2積分波形
信号P3は、第2コンパレータ23に供給されている可
変直流電圧のしきい値を越えたタイミングt2に立ち下
がり縁を有する第2遅延パルス信号P5に変換される。
The first integrated waveform signal P2 has a falling edge at the timing t1 when the threshold value of the 1.25 V DC voltage supplied to the first comparator 22 is exceeded.
It is converted to a delayed pulse signal P4. On the other hand, the second integrated waveform signal P3 is converted to a second delayed pulse signal P5 having a falling edge at timing t2 when the variable DC voltage supplied to the second comparator 23 exceeds the threshold value.

【0047】図2に示すタイミングチャートにおいて、
第2コンパレータ23のマイナス極232に供給されて
いる可変直流電圧は、最低値の1.0Vであるため、第
1遅延パルス信号P4のタイミングt1は、第2遅延パ
ルス信号P5のタイミングt2よりも進んでいる。
In the timing chart shown in FIG.
Since the variable DC voltage supplied to the minus pole 232 of the second comparator 23 is the minimum value of 1.0 V, the timing t1 of the first delayed pulse signal P4 is shorter than the timing t2 of the second delayed pulse signal P5. I'm advancing.

【0048】第1遅延パルス信号P4は、第1ノット回
路31に入力され、クロック信号P6として出力され、
第1フリップフロップ回路41及び第2フリップフロッ
プ回路42の各クロック入力端子412、422に供給
される。
The first delay pulse signal P4 is input to the first knot circuit 31, and is output as a clock signal P6.
It is supplied to each clock input terminal 412, 422 of the first flip-flop circuit 41 and the second flip-flop circuit 42.

【0049】分枝された第2遅延パルス信号P5は、第
2ノット回路32に入力され、第1データ信号として第
1フリップフロップ回路41へ入力される。また、分枝
された他の第2遅延パルス信号P5は、遅延回路50に
より、所定時間遅延された上、第3ノット回路33に入
力され、第2データ信号P8として第2フリップフロッ
プ回路42へ入力される。従って、この第2データ信号
P8の立ち上がり縁のタイミングt3は、タイミングt
2よりもさらに遅延するように制御されている。
The branched second delay pulse signal P5 is input to the second knot circuit 32, and is input to the first flip-flop circuit 41 as a first data signal. The other branched second delayed pulse signal P5 is delayed by a predetermined time by the delay circuit 50, and then is input to the third knot circuit 33, and is sent to the second flip-flop circuit 42 as the second data signal P8. Is entered. Therefore, the timing t3 of the rising edge of the second data signal P8 is equal to the timing t3.
It is controlled so as to delay further than 2.

【0050】クロック信号P6の立ち上がり縁のタイミ
ングt1において、第1データ信号P7は、LOWレベ
ルであるため、反転出力される第1FF出力信号P9
は、HIGHレベル信号になる。一方、第2データ信号
P8は、LOWレベルであるため、そのまま出力される
第2FF出力信号P10は、LOWレベル信号になる。
At the timing t1 of the rising edge of the clock signal P6, since the first data signal P7 is at the LOW level, the inverted first flip-flop output signal P9 is output.
Becomes a HIGH level signal. On the other hand, since the second data signal P8 is at a low level, the second FF output signal P10 output as it is is a low level signal.

【0051】次に、CPU80は、第1FF出力信号
が、LOWレベルになるまで、第2コンパレータ23の
マイナス極232に供給されている可変直流電圧を最低
値の1.0Vから上昇させて行く。この可変直流電圧
は、上記CPU80のポート86乃至93から出力され
た8ビットデジタル2進コード信号が、D/A変換回路
60により変換されたものであり、256段階の電圧値
を有している。従って、この8ビットデジタル2進コー
ド信号を+1づつ加算して可変直流電圧を上昇させて行
く。尚、必ずしも+1づつ加算する必要はなく、所定の
間隔でラフに加算又は減算を行い、後述する第1データ
と第2データを得ることもできる。
Next, the CPU 80 raises the variable DC voltage supplied to the minus pole 232 of the second comparator 23 from the minimum value of 1.0 V until the first FF output signal becomes LOW level. The variable DC voltage is obtained by converting the 8-bit digital binary code signal output from the ports 86 to 93 of the CPU 80 by the D / A conversion circuit 60, and has 256 levels of voltage values. . Therefore, the variable DC voltage is increased by adding +1 to the 8-bit digital binary code signal. Note that it is not always necessary to add +1 at a time, and addition or subtraction may be roughly performed at predetermined intervals to obtain first data and second data described later.

【0052】可変直流電圧を上昇させ、一定値の電圧値
において、第1FF出力信号がHIGHレベルからLO
Wレベルへ変化した場合、この一定値の電圧値における
8ビットデジタル2進コード信号を第1データとして、
CPU80の内部のメモリに記憶する。
The variable DC voltage is increased, and at a constant voltage value, the first FF output signal changes from HIGH level to LO level.
When the level changes to the W level, the 8-bit digital binary code signal at this constant voltage value is used as first data.
It is stored in a memory inside the CPU 80.

【0053】さらに、CPU80は、図3に示すよう
に、第2FF出力信号がLOWレベルからHIGHレベ
ルへ変化するまで、第2コンパレータ23のマイナス極
232に供給されている可変直流電圧を上昇させる。図
3において、この電圧は、仮に1.4Vとして表示され
ている。そして、1.4Vの電圧における8ビットデジ
タル2進コード信号を第2データとして、CPU80の
内部のメモリに記憶する。
Further, as shown in FIG. 3, the CPU 80 increases the variable DC voltage supplied to the minus pole 232 of the second comparator 23 until the second FF output signal changes from the LOW level to the HIGH level. In FIG. 3, this voltage is temporarily displayed as 1.4V. Then, an 8-bit digital binary code signal at a voltage of 1.4 V is stored as second data in a memory inside the CPU 80.

【0054】CPU80は、上記測定結果である第1デ
ータと第2データの中間電圧値に、第1データの一定の
電圧値を加算し、バランス電圧値を算出する。そして、
このバランス電圧値に相当する8ビットデジタル2進コ
ード信号をD/A変換回路60へ出力する。
The CPU 80 calculates a balance voltage value by adding a constant voltage value of the first data to an intermediate voltage value of the first data and the second data, which is the measurement result. And
An 8-bit digital binary code signal corresponding to the balance voltage value is output to the D / A conversion circuit 60.

【0055】上記のバランス電圧値が、仮に1.3Vで
あった場合、そのタイミングチャートは、図4のように
なる。即ち、タイミングt2とタイミングt1間の時間
と、タイミングt1とタイミングt3間の時間は、等し
くなる。この状態に至って、本回路は、検出可能状態に
なる。CPU80は、ポート82、83の何れのポート
もLOWレベルを維持している場合には、両電極の何れ
の検出領域内に物体が存在しないと判断する。
If the above balance voltage value is 1.3 V, the timing chart is as shown in FIG. That is, the time between the timing t2 and the timing t1 is equal to the time between the timing t1 and the timing t3. When this state is reached, this circuit is in a detectable state. When both the ports 82 and 83 maintain the LOW level, the CPU 80 determines that the object does not exist in any of the detection regions of both the electrodes.

【0056】次に、第1検出電極6の検出領域内のみに
物体が接近又は接触し、第1検出電極6の電荷量が増大
した場合を図5を参照しつつ説明する。
Next, a case where an object approaches or contacts only the detection area of the first detection electrode 6 and the charge amount of the first detection electrode 6 increases will be described with reference to FIG.

【0057】第1積分波形信号P2は、第1検出電極6
とアース電極8間の静電容量が増大するため、第1積分
波形信号P2の立ち下がり縁の傾斜がより小さくなる。
従って、第1積分波形信号P2のタイミングt1は、第
2データ信号P8の立ち上がり縁のタイミングt3より
も遅延してゆく。
The first integrated waveform signal P2 is supplied to the first detection electrode 6
Since the capacitance between the first integrated waveform signal P2 and the ground electrode 8 increases, the slope of the falling edge of the first integrated waveform signal P2 becomes smaller.
Therefore, the timing t1 of the first integrated waveform signal P2 is delayed from the timing t3 of the rising edge of the second data signal P8.

【0058】このため、クロック信号P6の立ち上がり
縁t1において、第2データ信号P8は、HIGHレベ
ルであるため、第2FF出力信号P10は、LOWレベ
ルからHIGHレベルへ変化する。一方、第1データ信
号P7は、HIGHレベルのままであるため、第1FF
出力信号P9は、LOWレベルを維持する。
Therefore, at the rising edge t1 of the clock signal P6, since the second data signal P8 is at the HIGH level, the second FF output signal P10 changes from the LOW level to the HIGH level. On the other hand, since the first data signal P7 remains at the HIGH level, the first FF
The output signal P9 maintains the LOW level.

【0059】ポート82、83のポートの信号レベルを
監視していたCPU80は、夫々のポートの信号レベル
が、LOWレベルとHIGHレベルになると、当該状態
が0.2秒以上継続したことを条件に、第1検出信号を
ポート94から出力する。
When the signal levels of the ports 82 and 83 are monitored, the CPU 80 monitors the signal levels of the ports 82 and 83 when the signal level of each port becomes LOW level and HIGH level. , And outputs the first detection signal from the port 94.

【0060】尚、上記のタイミングt1が、タイミング
t3よりも遅延する場合としては、所定の電荷を有する
静止物体が検出電極7の検出領域内に存在した状態で上
記図4に示したバランス状態に調整し、その後、当該物
体が検出電極7の検出領域内から離間し、又は、離脱し
た場合にも生ずる。従って、ポート82、83のポート
の信号レベルが、LOWレベルとHIGHレベルになっ
た場合の第1検出信号は、物体が検出電極7の検出領域
内から離間し、又は、離脱した場合にも出力される。
The timing t1 is delayed from the timing t3 when the stationary object having a predetermined charge is present in the detection area of the detection electrode 7 and the balance state shown in FIG. After the adjustment, the object also separates from the detection area of the detection electrode 7 or separates from the detection area. Therefore, the first detection signal when the signal levels of the ports 82 and 83 become the LOW level and the HIGH level is output even when the object is separated from the detection area of the detection electrode 7 or is separated. Is done.

【0061】次に、第2検出電極7の検出領域内のみに
物体が接近又は接触し、第2検出電極7の電荷量が増大
した場合を図6を参照しつつ説明する。
Next, a case where an object approaches or contacts only the detection area of the second detection electrode 7 and the charge amount of the second detection electrode 7 increases will be described with reference to FIG.

【0062】第2積分波形信号P3は、第2検出電極7
とアース電極9間の静電容量が増大するため、第2積分
波形信号P3の立ち下がり縁の傾斜がより小さくなる。
従って、第2積分波形信号P3のタイミングt2は、第
1積分波形信号P2の立ち下がり縁のタイミングt1よ
りも遅延してゆく。
The second integrated waveform signal P3 is supplied to the second detection electrode 7
Since the capacitance between the second integrated waveform signal P3 and the ground electrode 9 increases, the slope of the falling edge of the second integrated waveform signal P3 becomes smaller.
Therefore, the timing t2 of the second integrated waveform signal P3 is delayed from the timing t1 of the falling edge of the first integrated waveform signal P2.

【0063】このため、クロック信号P6の立ち上がり
縁t1において、第1データ信号P7は、LOWレベル
であるため、第1FF出力信号P9は、LOWレベルか
らHIGHレベルへ変化する。一方、第2データ信号P
9は、LOWレベルのままであるため、第2FF出力信
号P10は、LOWレベルを維持する。
For this reason, at the rising edge t1 of the clock signal P6, since the first data signal P7 is at the LOW level, the first FF output signal P9 changes from the LOW level to the HIGH level. On the other hand, the second data signal P
9 remains at the low level, the second FF output signal P10 maintains the low level.

【0064】ポート82、83のポートの信号レベルを
監視していたCPU80は、夫々のポートの信号レベル
が、HIGHレベルとLOWレベルになると、当該状態
が0.2秒以上継続したことを条件に、第2検出信号を
ポート94から出力する。
When the signal levels of the ports 82 and 83 are monitored, the CPU 80 monitors the signal levels of the ports 82 and 83. When the signal levels of the ports 82 and 83 become HIGH and LOW, the condition is maintained for 0.2 seconds or more. , And outputs the second detection signal from the port 94.

【0065】尚、上記のタイミングt2が、タイミング
t1よりも遅延する場合としては、所定の電荷を有する
静止物体が検出電極6の検出領域内に存在した状態で上
記図4に示したバランス状態に調整し、その後、当該物
体が検出電極6の検出領域内から離間し、又は、離脱し
た場合にも生ずる。従って、ポート82、83のポート
の信号レベルが、HIGHレベルとLOWレベルになっ
た場合の第2検出信号は、物体が検出電極6の検出領域
内から離間し、又は、離脱した場合にも出力される。
The timing t2 is delayed from the timing t1 in a case where a stationary object having a predetermined charge is present in the detection area of the detection electrode 6 in the balance state shown in FIG. After the adjustment, the object also separates from the detection area of the detection electrode 6 or separates from the detection area. Therefore, the second detection signal when the signal levels of the ports 82 and 83 become HIGH level and LOW level is output even when the object separates from the detection area of the detection electrode 6 or separates. Is done.

【0066】図8は、図5に示した第1検出電極6の検
出領域内のみに物体が接近又は接触した場合のタイミン
グチャートのパルス信号P1と第2FF出力信号を、さ
らに詳細に図示したタイミングチャートを示している。
FIG. 8 is a timing chart showing in more detail the pulse signal P1 and the second FF output signal of the timing chart when an object approaches or touches only the detection area of the first detection electrode 6 shown in FIG. The chart is shown.

【0067】第1検出電極6の検出領域内に物体が接近
等すると、上述したように、第2FF出力信号が、安定
したLOWレベル(非検出信号)から安定したHIGH
レベル(有効検出信号)へ変化するが、実際には、図8
に示すように、この非検出信号と有効検出信号の間に
は、LOWレベル又はHIGHレベルを交互に繰り返す
無効検出信号が短時間出力される。
When an object approaches the detection area of the first detection electrode 6, as described above, the second FF output signal changes from a stable LOW level (non-detection signal) to a stable HIGH level.
Level (effective detection signal).
As shown in (1), an invalid detection signal that alternates between a LOW level and a HIGH level is output for a short time between the non-detection signal and the valid detection signal.

【0068】この無効検出信号は、タイミングt1と第
2データ信号の立ち上がり縁のタイミングt3が略一致
している場合に生じ、タイミングt1がタイミングt3
よりも完全に遅延すると有効検出信号が形成されるので
ある。
This invalid detection signal occurs when the timing t1 substantially coincides with the rising edge timing t3 of the second data signal, and the timing t1 is changed to the timing t3.
If the delay is more complete, an effective detection signal is formed.

【0069】この無効検出信号は、自動バランス調整後
の時間の経過に伴い検出電極周囲の温度や湿度等が変化
することによっても生じる。即ち、一方の検出電極の電
荷量が、他方の検出電極の電荷量よりも徐々に増大し、
あるいは、減少することにより、上記のバランス電圧値
において、タイミングt2とタイミングt1間の時間
と、タイミングt1とタイミングt3間の時間が相違
し、無効検出信号が形成される。
This invalid detection signal is also generated when the temperature, humidity, etc. around the detection electrode change with the lapse of time after the automatic balance adjustment. That is, the charge amount of one detection electrode gradually increases from the charge amount of the other detection electrode,
Alternatively, when the balance voltage value decreases, the time between the timing t2 and the timing t1 differs from the time between the timing t1 and the timing t3 in the above-described balance voltage value, and an invalidity detection signal is formed.

【0070】しかし、上記検出電極の電荷量の変化は、
温度等の変化に伴って生じるため、時間の経過と共に徐
々に変化していく。従って、温度等の変化により生ずる
無効検出信号の持続時間は、検出領域内の物体の接近や
接触により生ずる電荷量の変化に比べて極めて長くな
る。後述するように、この無効検出信号が出力されてい
る時間が所定時間(2秒間)よりも長い場合、CPU8
0により上記の自動バランス調整が実行される。
However, the change in the charge amount of the detection electrode is as follows.
Since it occurs with a change in temperature or the like, it gradually changes over time. Therefore, the duration of the invalid detection signal caused by a change in temperature or the like becomes extremely longer than the change in the amount of charge caused by the approach or contact of an object in the detection area. As described later, when the time during which the invalid detection signal is output is longer than a predetermined time (2 seconds), the CPU 8
With 0, the above automatic balance adjustment is executed.

【0071】次に、自動感度調整について説明する。検
出電極を通じて外部ノイズが侵入した場合、または、電
源部等から回路へノイズが侵入した場合には、タイミン
グt1、t2、t3に揺らぎ(ジッタ)を生じ、第1F
F出力信号P9及び第2FF出力信号P10の何れもが
上記の無効検出信号となり、チャタリングを生じる。
Next, the automatic sensitivity adjustment will be described. When external noise enters the detection electrode or when noise enters the circuit from the power supply unit or the like, the timings t1, t2, and t3 fluctuate (jitter), and the first F
Both the F output signal P9 and the second FF output signal P10 become the above-described invalid detection signal, and cause chattering.

【0072】このチャタリングは、タイミングt2とタ
イミングt1間の時間、及び、タイミングt1とタイミ
ングt3間の時間が短い場合、即ち、検出感度が高い状
態では、比較的弱いノイズによって惹起される。
This chattering is caused by relatively weak noise when the time between timing t2 and timing t1 and the time between timing t1 and timing t3 are short, that is, when the detection sensitivity is high.

【0073】自動感度調整は、この各タイミング間の時
間を調整することにより、ノイズの影響を排除する。図
7は、図4に示す最も感度の高い状態から、遅延回路5
0により1段階検出感度を下げた状態のタイミングチャ
ートを示している。図4のタイミングt2とタイミング
t1間の時間、及び、タイミングt1とタイミングt3
間の時間よりも、図7のタイミングt2とタイミングt
1間の時間、及び、タイミングt1とタイミングt3間
の時間の方か長くなっている。
The automatic sensitivity adjustment eliminates the influence of noise by adjusting the time between the timings. FIG. 7 shows the delay circuit 5 starting from the state with the highest sensitivity shown in FIG.
5 shows a timing chart in a state where the detection sensitivity is lowered by one step by 0. The time between the timing t2 and the timing t1 in FIG. 4, and the timing t1 and the timing t3
The timing t2 and the timing t in FIG.
1 and the time between the timing t1 and the timing t3 are longer.

【0074】具体的には、第1FF出力信号P9及び第
2FF出力信号P10の何れもが、上記の無効検出信号
となった場合には、CPU80は、ノイズにより正確な
検出が不可能であると判断し、自動感度調整を実行す
る。即ち、遅延回路50を制御することにより、タイミ
ングt2とタイミングt1間の時間、及び、タイミング
t1とタイミングt3間の時間を段階的(4段階)に長
くしてゆき、チャタリングが生じなくなった段階で自動
感度調整を停止する。この自動感度調整により、検出感
度の低下を必要最小限に抑えることができる。
More specifically, if both the first FF output signal P9 and the second FF output signal P10 become the invalid detection signals, the CPU 80 determines that accurate detection is impossible due to noise. Judge and execute automatic sensitivity adjustment. That is, by controlling the delay circuit 50, the time between the timing t2 and the timing t1 and the time between the timing t1 and the timing t3 are gradually increased (four stages), and the chattering is stopped. Stop automatic sensitivity adjustment. By this automatic sensitivity adjustment, the decrease in detection sensitivity can be suppressed to a necessary minimum.

【0075】次に、本実施の形態のCPU80のフロチ
ャートを図9を参照しつつ各ステップ毎に説明する。本
回路の電源を投入し(S1)、ポート84、85から自
動感度調整を行う遅延回路50へ直流電流を出力しない
ことにより、検出感度が最も高い状態に設定される(S
2)。
Next, a flowchart of the CPU 80 according to the present embodiment will be described for each step with reference to FIG. By turning on the power of this circuit (S1) and not outputting DC current from the ports 84 and 85 to the delay circuit 50 for performing automatic sensitivity adjustment, the detection sensitivity is set to the highest state (S1).
2).

【0076】CPU80は、ポート86乃至93の各ポ
ートから8ビットデジタル2進データ信号を出力し、上
記の自動バランス調整を実行する(S3)。自動バラン
ス調整終了後、ポート82の第1FF出力信号P9が、
HIGHレベルであるか、および/または、ポート83
の第2FF出力信号P10がHIGHレベルであるかを
判定する。
The CPU 80 outputs an 8-bit digital binary data signal from each of the ports 86 to 93, and executes the above-described automatic balance adjustment (S3). After the automatic balance adjustment is completed, the first FF output signal P9 of the port 82 becomes
High level and / or port 83
Of the second FF output signal P10 is at the HIGH level.

【0077】上記のHIGHレベル信号が、有効検出信
号であると判断されると(S6)、その有効検出信号の
継続時間が0.2秒以上であるかが判断される(S
7)。有効検出信号の継続時間が0.2秒以上である場
合には、第1検出信号又は第2検出信号がポート94か
ら1秒間出力される(S7)。0.2秒未満である場合
には、S4へ復帰する。
If it is determined that the HIGH level signal is a valid detection signal (S6), it is determined whether the duration of the valid detection signal is 0.2 seconds or more (S6).
7). If the duration of the valid detection signal is 0.2 seconds or more, the first detection signal or the second detection signal is output from the port 94 for one second (S7). If less than 0.2 seconds, the process returns to S4.

【0078】有効検出信号の継続時間が、さらに持続
し、10秒以上になった場合には、自動バランス調整を
実行する(S9)。例えば、何れかの検出電極の検出領
域内に、物体が10秒以上静止している場合、再度自動
バランス調整を行うことにより、同検出電極の電荷量の
増大の影響を排除することができる。従って、同検出電
極と他の検出電極の静電容量のバランスが復元される。
故に、この自動バランス調整の実行後はS4に復帰し、
この静止物体が存在した状態において、他の物体が検出
領域内に新たに浸入した場合でも、この他の物体を検出
することができる。
If the duration of the valid detection signal is further continued and becomes 10 seconds or more, automatic balance adjustment is executed (S9). For example, when the object is stationary in the detection area of any of the detection electrodes for 10 seconds or more, the effect of the increase in the charge amount of the detection electrode can be eliminated by performing the automatic balance adjustment again. Therefore, the balance of the capacitance between the detection electrode and the other detection electrodes is restored.
Therefore, after executing the automatic balance adjustment, the process returns to S4,
In the state where the stationary object is present, even if another object newly enters the detection area, the other object can be detected.

【0079】上記S5において、HIGHレベル信号
が、無効検出信号であると判断されると、次に、その無
効検出信号が、両ポート82、83の何れにも発生して
いるかが判断される(S10)。両ポート82、83の
何れにも無効検出信号が生じている場合には、自動感度
調整を実行し、4段階の感度レベルを1段階下げ(S1
1)、S4へ復帰する。
In S5, when it is determined that the HIGH level signal is an invalid detection signal, it is next determined whether the invalid detection signal is generated in both ports 82 and 83 ( S10). If an invalid detection signal is generated in both ports 82 and 83, automatic sensitivity adjustment is executed to lower the four-level sensitivity level by one level (S1).
1) Return to S4.

【0080】ポート82、83の何れか一方のポートに
無効検出信号が生じている場合には、その無効検出信号
の継続時間が2秒以上であるかを判断する(S12)。
2秒以上である場合には、自動バランス調整を実行し
(S13)た後、S4へ復帰する。また、2秒未満であ
る場合には、自動バランス調整を実行する必要がないも
のと判断し、自動バランス調整を実行せず、S4へ復帰
する。
If an invalid detection signal is generated at one of the ports 82 and 83, it is determined whether the duration of the invalid detection signal is 2 seconds or more (S12).
If it is longer than 2 seconds, the automatic balance adjustment is executed (S13), and then the process returns to S4. If the time is less than 2 seconds, it is determined that it is not necessary to execute the automatic balance adjustment, and the process returns to S4 without executing the automatic balance adjustment.

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

【図1】本発明に係る実施の形態の静電容量センサ回路
の回路図である。
FIG. 1 is a circuit diagram of a capacitance sensor circuit according to an embodiment of the present invention.

【図2】図1の静電容量センサ回路の動作を示すタイミ
ングチャートであり、回路の作動直後の状態を示す。
FIG. 2 is a timing chart showing the operation of the capacitance sensor circuit of FIG. 1, showing a state immediately after the operation of the circuit.

【図3】図1の静電容量センサ回路の動作を示すタイミ
ングチャートであり、自動バランス調整中の作動状態を
示す。
FIG. 3 is a timing chart showing an operation of the capacitance sensor circuit of FIG. 1, showing an operation state during automatic balance adjustment.

【図4】図1の静電容量センサ回路の動作を示すタイミ
ングチャートであり、自動バランス調整の完了状態を示
す。
FIG. 4 is a timing chart showing an operation of the capacitance sensor circuit of FIG. 1, and shows a state in which automatic balance adjustment is completed.

【図5】図1の静電容量センサ回路の動作を示すタイミ
ングチャートであり、第1検出電極の電荷量が増大した
状態を示す。
FIG. 5 is a timing chart showing the operation of the capacitance sensor circuit of FIG. 1, showing a state where the charge amount of the first detection electrode has increased.

【図6】図1の静電容量センサ回路の動作を示すタイミ
ングチャートであり、第2検出電極の電荷量が増大した
状態を示す。
6 is a timing chart showing the operation of the capacitance sensor circuit of FIG. 1, showing a state in which the amount of charge of the second detection electrode has increased.

【図7】図1の静電容量センサ回路の動作を示すタイミ
ングチャートであり、自動感度調整により、検出感度を
低下させた状態を示す。
FIG. 7 is a timing chart showing the operation of the capacitance sensor circuit of FIG. 1, showing a state in which the detection sensitivity has been reduced by automatic sensitivity adjustment.

【図8】図1の静電容量センサ回路の動作を示すタイミ
ングチャートであり、第1FF出力信号の無効検出信号
と有効検出信号を示している。
FIG. 8 is a timing chart showing the operation of the capacitance sensor circuit of FIG. 1, showing an invalid detection signal and a valid detection signal of a first FF output signal.

【図9】図1の静電容量センサ回路のCPU80の動作
を示すフロチャートである。
9 is a flowchart showing the operation of the CPU 80 of the capacitance sensor circuit of FIG.

【図10】従来の静電容量センサ回路のブロック図であ
る。
FIG. 10 is a block diagram of a conventional capacitance sensor circuit.

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

1、2 入力端子 3、4 増幅抵抗 5 トランス 6 第1検出電極 7 第2検出電極 8、9 アース電極 10 サージ保護回路 11、12 抵抗 13、14 ESD 20 比較回路 22 第1コンパレータ 23 第2コンパレータ 30 波形整形回路 31 第1ノット回路 32 第2ノット回路 33 第3ノット回路 40 フリップフロップ回路 41 第1フリップフロップ回路 42 第2フリップフロップ回路 50 自動感度調整回路 60 D/A変換回路 80 CPU 120 安定化電源回路 130 リセット回路 140 LED表示回路 150 CPUクロック DESCRIPTION OF SYMBOLS 1, 2 Input terminal 3, 4 Amplification resistance 5 Transformer 6 First detection electrode 7 Second detection electrode 8, 9 Ground electrode 10 Surge protection circuit 11, 12 Resistance 13, 14 ESD 20 Comparison circuit 22 First comparator 23 Second comparator Reference Signs List 30 waveform shaping circuit 31 first knot circuit 32 second knot circuit 33 third knot circuit 40 flip-flop circuit 41 first flip-flop circuit 42 second flip-flop circuit 50 automatic sensitivity adjustment circuit 60 D / A conversion circuit 80 CPU 120 stable Power supply circuit 130 reset circuit 140 LED display circuit 150 CPU clock

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2F063 AA02 AA49 CA08 DA01 DA04 HA00 LA13 LA27 2G060 AF10 HC07 HC09 HC10 HC12 HE07 5J050 AA05 AA13 BB22 CC11 EE05 EE28 EE35 EE36 EE37 EE39 FF29  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2F063 AA02 AA49 CA08 DA01 DA04 HA00 LA13 LA27 2G060 AF10 HC07 HC09 HC10 HC12 HE07 5J050 AA05 AA13 BB22 CC11 EE05 EE28 EE35 EE36 EE37 EE39 FF29

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 パルス信号を発生するパルス信号発生回
路と、該パルス信号を少なくとも2の検出電極の静電容
量の変化に基づいてクロック信号、第1データ信号及び
第2データ信号を形成する比較手段と、該第1データ信
号のタイミングt2と該クロック信号のタイミングt1
間の時間と、該クロック信号のタイミングt1と該第2
データ信号のタイミングt3間の時間を制御する自動バ
ランス調整手段と、該クロック信号と第1データ信号と
を比較し、また、該クロック信号と第2データ信号を比
較判断する判断手段とを有する静電容量センサ回路。
1. A pulse signal generating circuit for generating a pulse signal, and comparing the pulse signal with a clock signal, a first data signal and a second data signal based on a change in capacitance of at least two detection electrodes. Means, the timing t2 of the first data signal and the timing t1 of the clock signal
Between the clock signal timing t1 and the second
An automatic balance adjusting means for controlling the time between the timings t3 of the data signals, and a judgment means for comparing the clock signal with the first data signal and comparing and judging the clock signal with the second data signal. Capacitance sensor circuit.
【請求項2】 前記自動バランス手段は、前記第1デー
タ信号のタイミングt2と前記クロック信号のタイミン
グt1間の時間と、前記クロック信号のタイミングt1
と前記第2データ信号のタイミングt3間の時間を均等
に制御する請求項1記載の静電容量センサ回路。
2. The method according to claim 1, wherein the automatic balance unit is configured to determine a time between a timing t2 of the first data signal and a timing t1 of the clock signal and a timing t1 of the clock signal.
2. The capacitance sensor circuit according to claim 1, wherein a time between the second data signal and a timing t3 of the second data signal is controlled equally.
【請求項3】 前記比較手段は、第1検出電極と接続さ
れると共に前記クロック信号を形成する第1コンパレー
タと、第2検出電極と接続されると共に前記第1データ
信号を形成する第2コンパレータと、前記第1データ信
号を遅延して前記第2データ信号を形成する遅延回路と
を有する請求項1記載の静電容量センサ回路。
3. The first comparator connected to a first detection electrode and forming the clock signal, and the second comparator connected to a second detection electrode and forming the first data signal. The capacitance sensor circuit according to claim 1, further comprising: a delay circuit that delays the first data signal to form the second data signal.
【請求項4】 前記自動バランス調整手段は、前記第2
コンパレータの比較電圧を可変制御する請求項3記載の
静電容量センサ回路。
4. The automatic balance adjusting means according to claim 2, wherein
4. The capacitance sensor circuit according to claim 3, wherein the comparison voltage of the comparator is variably controlled.
【請求項5】 前記自動バランス調整手段は、CPUに
より作動するD/A変換回路である請求項4に記載の静
電容量センサ回路。
5. The capacitance sensor circuit according to claim 4, wherein said automatic balance adjustment means is a D / A conversion circuit operated by a CPU.
【請求項6】 前記判断手段は、前記クロック信号と前
記第1データ信号を比較し、また、前記クロック信号と
前記第2データ信号を比較した結果、何れか一方が所定
時間以上無効検出状態にあると判断した場合には、自動
バランス調整手段を作動させる請求項1記載の静電容量
センサ回路。
6. The comparison means for comparing the clock signal with the first data signal, and as a result of comparing the clock signal with the second data signal, one of the signals is in an invalid detection state for a predetermined time or more. 2. The capacitance sensor circuit according to claim 1, wherein when it is determined that there is, the automatic balance adjusting means is operated.
【請求項7】 前記判断手段は、前記クロック信号と前
記第1データ信号を比較し、また、前記クロック信号と
前記第2データ信号を比較した結果、何れか一方が有効
検出状態にあると判断した場合には、検出信号を出力す
る請求項1記載の静電容量センサ回路。
7. The determination means compares the clock signal with the first data signal and, as a result of comparing the clock signal with the second data signal, determines that one of them is in a valid detection state. 2. The capacitance sensor circuit according to claim 1, wherein a detection signal is output when the detection is performed.
【請求項8】 前記判断手段は、検出信号を出力した
後、前記クロック信号と前記第1データ信号を比較し、
また、前記クロック信号と前記第2データ信号を比較し
た結果、何れか一方が所定時間以上有効検出状態にある
と判断した場合には、自動バランス調整手段を作動させ
る請求項1記載の静電容量センサ回路。
8. After outputting the detection signal, the determining means compares the clock signal with the first data signal,
2. The electrostatic capacitance according to claim 1, wherein, as a result of comparing the clock signal and the second data signal, when it is determined that one of the clock signals and the second data signal is in the valid detection state for a predetermined time or more, the automatic balance adjustment unit is operated. Sensor circuit.
【請求項9】 前記判断手段は、前記クロック信号と前
記第1データ信号を比較する第1フリップフロップ回路
と、前記クロック信号と前記第2データ信号を比較する
第2フリップフロップ回路と、該第1フリップフロップ
回路及び該第2フリップフロップ回路の出力信号を判断
するCPUから成る請求項1記載の静電容量センサ回
路。
9. The first flip-flop circuit for comparing the clock signal with the first data signal; a second flip-flop circuit for comparing the clock signal with the second data signal; 2. The capacitance sensor circuit according to claim 1, comprising a CPU for judging an output signal of the first flip-flop circuit and the second flip-flop circuit.
【請求項10】 前記遅延回路は、前記第2データ信号
の遅延時間を可変制御することにより、自動感度調整を
行う請求項1記載の静電容量センサ回路。
10. The capacitance sensor circuit according to claim 1, wherein the delay circuit performs automatic sensitivity adjustment by variably controlling a delay time of the second data signal.
【請求項11】 前記判断手段は、前記クロック信号と
前記第1データ信号を比較し、また、前記クロック信号
と前記第2データ信号を比較した結果、何れもが無効検
出状態にあると判断した場合には、前記遅延回路を作動
させ検出感度を低下させる請求項9記載の静電容量セン
サ回路。
11. The comparing means compares the clock signal with the first data signal, and as a result of comparing the clock signal with the second data signal, determines that all are in the invalid detection state. The capacitance sensor circuit according to claim 9, wherein, in such a case, the delay circuit is operated to reduce detection sensitivity.
【請求項12】 前記遅延回路は、CPUにより選択さ
れる複数の時定数を有する積分回路から成る請求項1記
載の静電容量センサ回路。
12. The capacitance sensor circuit according to claim 1, wherein said delay circuit comprises an integration circuit having a plurality of time constants selected by a CPU.
【請求項13】 前記判断手段は、静電容量センサ回路
作動直後、前記自動バランス調整手段を作動させる請求
項1記載の静電容量センサ回路。
13. The capacitance sensor circuit according to claim 1, wherein said determination means activates said automatic balance adjustment means immediately after activation of said capacitance sensor circuit.
【請求項14】 前記判断手段は、静電容量センサ回路
作動直後、前記遅延回路を作動させ、検出感度が最も高
い状態に設定する請求項1記載の静電容量センサ回路。
14. The capacitance sensor circuit according to claim 1, wherein the determination unit activates the delay circuit immediately after the capacitance sensor circuit operates to set the detection sensitivity to the highest state.
JP32283198A 1998-10-28 1998-10-28 Capacitance sensor circuit Expired - Fee Related JP4047466B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32283198A JP4047466B2 (en) 1998-10-28 1998-10-28 Capacitance sensor circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32283198A JP4047466B2 (en) 1998-10-28 1998-10-28 Capacitance sensor circuit

Publications (2)

Publication Number Publication Date
JP2000134078A true JP2000134078A (en) 2000-05-12
JP4047466B2 JP4047466B2 (en) 2008-02-13

Family

ID=18148100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32283198A Expired - Fee Related JP4047466B2 (en) 1998-10-28 1998-10-28 Capacitance sensor circuit

Country Status (1)

Country Link
JP (1) JP4047466B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002076872A (en) * 2000-08-25 2002-03-15 Sensatec Co Ltd Touch sensor
JP2008235051A (en) * 2007-03-22 2008-10-02 Honda Motor Co Ltd Gas-liquid separator
JP2008542734A (en) * 2005-06-01 2008-11-27 ヴァレオ セキュリテ アビタクル Device for detecting a change in capacitance, and capacitive sensor for detecting the presence of a user using this device
JP2008544599A (en) * 2005-06-16 2008-12-04 エーティーラブ・インコーポレーテッド Contact sensor and signal generation method thereof
JP2016129023A (en) * 2014-12-30 2016-07-14 新益先創科技股▲分▼有限公司 Device and method for measuring capacity difference
JP2020085499A (en) * 2018-11-16 2020-06-04 ミネベアミツミ株式会社 Humidity detector

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002076872A (en) * 2000-08-25 2002-03-15 Sensatec Co Ltd Touch sensor
JP2008542734A (en) * 2005-06-01 2008-11-27 ヴァレオ セキュリテ アビタクル Device for detecting a change in capacitance, and capacitive sensor for detecting the presence of a user using this device
JP2008544599A (en) * 2005-06-16 2008-12-04 エーティーラブ・インコーポレーテッド Contact sensor and signal generation method thereof
US7956850B2 (en) 2005-06-16 2011-06-07 Atlab Inc. Touch sensor and signal generation method thereof
JP4739410B2 (en) * 2005-06-16 2011-08-03 エーティーラブ・インコーポレーテッド Contact sensor and signal generation method thereof
JP2008235051A (en) * 2007-03-22 2008-10-02 Honda Motor Co Ltd Gas-liquid separator
JP2016129023A (en) * 2014-12-30 2016-07-14 新益先創科技股▲分▼有限公司 Device and method for measuring capacity difference
JP2020085499A (en) * 2018-11-16 2020-06-04 ミネベアミツミ株式会社 Humidity detector
JP7173661B2 (en) 2018-11-16 2022-11-16 ミネベアミツミ株式会社 Humidity detector

Also Published As

Publication number Publication date
JP4047466B2 (en) 2008-02-13

Similar Documents

Publication Publication Date Title
US6842064B2 (en) Overcurrent protection and masking circuitry for protection against an overcurrent condition
US8174802B2 (en) Switching regulator and operations control method thereof
US8456434B2 (en) Touch sensor and operating method thereof
KR100892210B1 (en) Mode transition control method and circuit for a charge pump
US20040140833A1 (en) Output driver circuit with automatic slew rate control and slew rate control method using the same
US7372289B2 (en) Semiconductor integrated circuit device and power supply voltage monitor system employing it
JP2008072786A (en) Switching regulator, and its control circuit and operation control method
US11474130B2 (en) Voltage glitch detection in integrated circuit
US20040113630A1 (en) Voltage detecting circuit
JP4047466B2 (en) Capacitance sensor circuit
US6194913B1 (en) Output circuit for digital integrated circuit devices
JP4249357B2 (en) Object-intrusive capacitive sensor in urban environment
US10656218B2 (en) Leakage current detection apparatus and detection method thereof
US6456129B1 (en) Internal clock signal generator
US20020097032A1 (en) Power supply control circuit and LSI using the same
US8123404B2 (en) Temperature detector and the method using the same
CN114485980A (en) Temperature detection circuit and power supply
US9294078B1 (en) Voltage-driver circuit with dynamic slew rate control
JP4179032B2 (en) Power detection circuit
JP3332634B2 (en) Duty adjustment device
TWI783694B (en) Comparator circuit having false-alarm preventing mechanism and operation method of the same
JP2000241565A (en) Timer circuit
JPH0717013Y2 (en) Voltage detection circuit
KR100340077B1 (en) Input frequency detector having no concern with change of processing and power voltage
JPS61176860A (en) Voltage detecting circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051020

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070817

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070911

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071010

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: 20071030

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071122

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

Free format text: PAYMENT UNTIL: 20101130

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101130

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20101130

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20101130

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111130

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111130

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121130

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121130

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131130

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees