JP7215123B2 - capacitance sensor - Google Patents

capacitance sensor Download PDF

Info

Publication number
JP7215123B2
JP7215123B2 JP2018230679A JP2018230679A JP7215123B2 JP 7215123 B2 JP7215123 B2 JP 7215123B2 JP 2018230679 A JP2018230679 A JP 2018230679A JP 2018230679 A JP2018230679 A JP 2018230679A JP 7215123 B2 JP7215123 B2 JP 7215123B2
Authority
JP
Japan
Prior art keywords
sensor output
output value
capacitor
capacitance
switch
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.)
Active
Application number
JP2018230679A
Other languages
Japanese (ja)
Other versions
JP2020096215A (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.)
Aisin Corp
Original Assignee
Aisin Seiki Co Ltd
Aisin Corp
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 Aisin Seiki Co Ltd, Aisin Corp filed Critical Aisin Seiki Co Ltd
Priority to JP2018230679A priority Critical patent/JP7215123B2/en
Priority to US17/311,498 priority patent/US11698276B2/en
Priority to CN201980080904.0A priority patent/CN113167563B/en
Priority to PCT/JP2019/048152 priority patent/WO2020122030A1/en
Publication of JP2020096215A publication Critical patent/JP2020096215A/en
Application granted granted Critical
Publication of JP7215123B2 publication Critical patent/JP7215123B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Geophysics And Detection Of Objects (AREA)
  • Electronic Switches (AREA)

Description

本発明は、静電容量センサに関するものである。 The present invention relates to capacitive sensors.

従来、静電容量センサとしては、例えば特許文献1に記載されたものが知られている。この静電容量センサは、第1コンデンサと、該第1コンデンサに接続され物の存否に基づいて容量が変動する第2コンデンサと、第1コンデンサを初期化する第1スイッチと、第1及び第2コンデンサの間に配置される第2スイッチと、第2コンデンサを初期化する第3スイッチと、制御回路とを備える。制御回路は、第1スイッチの操作による第1コンデンサの初期化後、第2スイッチの操作と第3スイッチの操作とからなるスイッチ操作を複数回行うとともに、第1及び第2コンデンサの間の電位である中間電位を取得し、更に中間電位が参照電位を超えるときのスイッチ操作の操作回数に対応する検出回数を導出する。この検出回数は、操作回数1回あたりに第2コンデンサが放電できる放電容量、即ち第2コンデンサの容量に相関しており、検出回数の導出によって第2コンデンサの容量が検出される。 2. Description of the Related Art Conventionally, as a capacitance sensor, for example, the one described in Patent Document 1 is known. This capacitance sensor includes a first capacitor, a second capacitor connected to the first capacitor and whose capacitance varies based on the presence or absence of an object, a first switch for initializing the first capacitor, first and first A second switch arranged between the two capacitors, a third switch for initializing the second capacitor, and a control circuit. After initializing the first capacitor by operating the first switch, the control circuit performs switch operations consisting of operating the second switch and operating the third switch a plurality of times, and adjusts the potential between the first and second capacitors. is acquired, and the number of times of detection corresponding to the number of switch operations when the intermediate potential exceeds the reference potential is derived. The number of times of detection correlates with the discharge capacity of the second capacitor per one operation, ie, the capacity of the second capacitor, and the capacity of the second capacitor is detected by deriving the number of times of detection.

特に、制御回路は、スイッチ操作ごとに、複数の時点で、中間電位を取得し、これら複数の中間電位に基づいて検出回数を導出する。これにより、例えば中間電位にノイズがあったとしても検出回数の導出精度、即ち第2コンデンサの容量の検出精度が向上するという。 In particular, the control circuit acquires intermediate potentials at multiple points in time for each switch operation, and derives the number of detections based on these multiple intermediate potentials. As a result, even if there is noise in the intermediate potential, the derivation accuracy of the number of detections, that is, the detection accuracy of the capacitance of the second capacitor is improved.

なお、第2コンデンサの容量、即ち検出回数は、物の存否に基づいて変動する。従って、このような静電容量センサは、例えば検出回数の変動量と予め設定された判定閾値との大小関係に基づいて、物としての検出対象物の存否を判定することに利用されている。 Note that the capacity of the second capacitor, that is, the number of times of detection varies based on the presence or absence of an object. Therefore, such a capacitive sensor is used to determine the existence or non-existence of an object to be detected based on, for example, the magnitude relationship between the amount of variation in the number of detections and a preset determination threshold value.

特開2018-44917号公報JP 2018-44917 A

ところで、第2コンデンサの容量は、例えば検出対象物が存在しない初期状態であってもこれに含まれる寄生容量の影響を受けて変化する。従って、特許文献1では、操作回数1回あたりに第2コンデンサが放電できる放電容量が寄生容量に応じて変化することになり、検出回数がばらついて第2コンデンサの容量の検出精度が低下する可能性がある。そして、ひいては検出対象物の存否(例えばユーザの近接や操作など)の判定精度が低下する可能性がある。 By the way, the capacitance of the second capacitor changes under the influence of the parasitic capacitance contained therein even in the initial state where there is no object to be detected, for example. Therefore, in Patent Document 1, the discharge capacity that can be discharged by the second capacitor per one operation will change according to the parasitic capacitance, and the number of times of detection will vary, and the detection accuracy of the capacity of the second capacitor may decrease. have a nature. As a result, there is a possibility that the accuracy of determination of the presence or absence of a detection target (for example, the user's approach or operation) will be degraded.

まず、図16(a)、(b)において、第1コンデンサ91の容量C11が100[pF]、初期状態での第2コンデンサ92の寄生容量を含んだ容量C12が5[pF]、検出対象物の存在する状態での容量C12の変動量ΔC12が5[pF]であると仮定して、対応する検出回数(以下、「静電容量カウント値CN[LSB]」ともいう)等について単純化して説明する。 First, in FIGS. 16A and 16B, the capacitance C11 of the first capacitor 91 is 100 [pF], the capacitance C12 including the parasitic capacitance of the second capacitor 92 in the initial state is 5 [pF], and the detection target Assuming that the variation ΔC12 of the capacitance C12 in the presence of an object is 5 [pF], the corresponding number of detections (hereinafter also referred to as “capacitance count value CN [LSB]”) and the like are simplified. to explain.

図16(a)に示す初期状態では、静電容量カウント値CN0は下式のように表される。
静電容量カウント値CN0=100/5=20[LSB]
一方、図16(b)に示す検出対象物の存在する状態では、静電容量カウント値CN1は下式のように表される。
In the initial state shown in FIG. 16(a), the capacitance count value CN0 is represented by the following equation.
Capacitance count value CN0 = 100/5 = 20 [LSB]
On the other hand, in the state where the object to be detected exists as shown in FIG. 16(b), the capacitance count value CN1 is represented by the following equation.

静電容量カウント値CN1=100/(5+5)=10[LSB]
そして、検出対象物の存在判定に係る静電容量カウント値CNの変動量ΔCNは下式のように表される。
Capacitance count value CN1=100/(5+5)=10 [LSB]
Then, the fluctuation amount ΔCN of the capacitance count value CN related to the existence determination of the detection target is represented by the following formula.

変動量ΔCN=|CN1-CN0|=|10-20|=10[LSB]
つまり、静電容量センサは、検出対象物の存在判定に係る変動量ΔC12(5[pF])を変動量ΔCN(10[LSB])で検知していることになり、その分解能Res[pF/LSB]は下式のように表される。
Variation amount ΔCN=|CN1-CN0|=|10-20|=10 [LSB]
That is, the capacitance sensor detects the amount of variation ΔC12 (5 [pF]) related to the existence determination of the detection target with the amount of variation ΔCN (10 [LSB]), and its resolution Res [pF/ LSB] is represented by the following equation.

分解能Res=ΔC12/ΔCN=5/10=0.5[pF/LSB]
一方、図17(a)、(b)において、初期状態での第2コンデンサ92の寄生容量を含んだ容量C12のみが20[pF]に変化していると仮定して、対応する検出回数(静電容量カウント値CN[LSB])等について単純化して説明する。
Resolution Res=ΔC12/ΔCN=5/10=0.5 [pF/LSB]
On the other hand, in FIGS. 17A and 17B, assuming that only the capacitance C12 including the parasitic capacitance of the second capacitor 92 in the initial state is changed to 20 [pF], the corresponding number of detections ( The capacitance count value CN [LSB]) and the like will be simplified and explained.

図17(a)に示す初期状態では、静電容量カウント値CN0は下式のように表される。
静電容量カウント値CN0=100/20=5[LSB]
一方、図17(b)に示す検出対象物の存在状態では、静電容量カウント値CN1は下式のように表される。
In the initial state shown in FIG. 17(a), the capacitance count value CN0 is represented by the following equation.
Capacitance count value CN0=100/20=5 [LSB]
On the other hand, in the presence state of the detection target shown in FIG. 17B, the capacitance count value CN1 is represented by the following formula.

静電容量カウント値CN1=100/(20+5)=4[LSB]
そして、検出対象物の存在判定に係る静電容量カウント値CNの変動量ΔCNは下式のように表される。
Capacitance count value CN1=100/(20+5)=4 [LSB]
Then, the fluctuation amount ΔCN of the capacitance count value CN related to the existence determination of the detection target is represented by the following formula.

変動量ΔCN=|CN1-CN0|=|4-5|=1[LSB]
つまり、静電容量センサは、検出対象物の存在判定に係る変動量ΔC12(5[pF])を変動量ΔCN(1[LSB])で検知していることになり、その分解能Res[pF/LSB]は下式のようになる。
Variation amount ΔCN=|CN1-CN0|=|4-5|=1 [LSB]
That is, the capacitance sensor detects the amount of variation ΔC12 (5 [pF]) related to the existence determination of the detection target with the amount of variation ΔCN (1 [LSB]), and its resolution Res [pF/ LSB] is given by the following equation.

分解能Res=ΔC12/ΔCN=5/1=5[pF/LSB]
このように、第2コンデンサ92の寄生容量を含んだ容量C12が5[pF]から20[pF]に変化することで、分解能Resが0.5[pF/LSB]から5[pF/LSB]に変化することになって、10倍の差が生じている。
Resolution Res=ΔC12/ΔCN=5/1=5 [pF/LSB]
As described above, the capacitance C12 including the parasitic capacitance of the second capacitor 92 is changed from 5 [pF] to 20 [pF], so that the resolution Res is changed from 0.5 [pF/LSB] to 5 [pF/LSB]. , resulting in a 10-fold difference.

そして、このように分解能Resが変化すると、同等の変動量ΔC12に対して静電容量カウント値CNの変動量ΔCNが一定にならない。この場合、検出対象物の存否の判定に係る当該検出対象物の検出距離が変化することになり、その判定精度が低下する。以上により、第2コンデンサの容量に含まれる寄生容量の変化によって、検出対象物の存否の判定精度が低下することが確認される。 Then, when the resolution Res changes in this way, the variation amount ΔCN of the capacitance count value CN does not become constant with respect to the equivalent variation amount ΔC12. In this case, the detection distance of the detection target related to the determination of the presence or absence of the detection target changes, and the determination accuracy decreases. From the above, it is confirmed that the accuracy of determining the presence or absence of the object to be detected decreases due to changes in the parasitic capacitance included in the capacitance of the second capacitor.

本発明の目的は、寄生容量の変化に起因して検出対象物の存否の判定精度が低下することを抑制できる静電容量センサを提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a capacitive sensor capable of suppressing deterioration in the accuracy of determining the presence or absence of an object to be detected due to changes in parasitic capacitance.

上記課題を解決する静電容量センサは、電源に接続される直列接続の第1コンデンサ及び第2コンデンサと、前記第1コンデンサの両端子間に接続されている第1スイッチと、前記第1コンデンサ及び前記第2コンデンサの間に接続されている第2スイッチと、前記第2コンデンサの両端子間に接続されている第3スイッチと、前記第1スイッチをオン状態にする第1スイッチング処理を行った後、前記第1スイッチのオフ状態で前記第2スイッチ及び前記第3スイッチを相補的にオフ状態及びオン状態に切り替える第2スイッチング処理を繰り返し行うスイッチ制御部と、前記第1及び第2コンデンサの間の中間電位と予め設定された参照電位との大小関係が反転したと判定されたときの前記第2スイッチング処理の繰り返し回数をセンサ出力値として導出する導出部と、前記センサ出力値の分解能の逆数に比例するように、予め設定された判定閾値を補正した補正閾値を算出する算出部と、現在の前記センサ出力値及び過去の前記センサ出力値に基づく基準センサ出力値の差分であるセンサ出力差分値と、前記補正閾値の大小関係に基づいて、検出対象物の存否を判定する判定部とを備える。 A capacitive sensor that solves the above problems includes first and second capacitors connected in series and connected to a power source, a first switch connected between both terminals of the first capacitor, and the first capacitor. and a second switch connected between the second capacitor, a third switch connected between both terminals of the second capacitor, and a first switching process of turning on the first switch. a switch control unit for repeatedly performing a second switching process of complementarily switching the second switch and the third switch to an off state and an on state after the first switch is off, and the first and second capacitors; a derivation unit for deriving, as a sensor output value, the number of repetitions of the second switching process when it is determined that the magnitude relationship between the intermediate potential and the preset reference potential is reversed, and the resolution of the sensor output value A calculation unit that calculates a correction threshold value obtained by correcting a preset determination threshold value so as to be proportional to the reciprocal of, and a sensor that is the difference between the current sensor output value and the reference sensor output value based on the past sensor output value a determination unit that determines presence/absence of the detection target based on the magnitude relationship between the output difference value and the correction threshold.

この構成によれば、前記センサ出力差分値は、基本的に前記基準センサ出力値と共に前記センサ出力値の前記分解能と同等の分解能となる。従って、前記センサ出力差分値は、前記第2コンデンサの容量の変動量が同等であれば、前記分解能の逆数に比例して変化する。一方、前記補正閾値は、前記センサ出力値の前記分解能の逆数に比例するように前記判定閾値を補正したものである。これにより、前記判定部は、前記第2コンデンサの容量に含まれる寄生容量が異なっていたとしても、前記センサ出力差分値と前記補正閾値との大小関係に基づいて、前記検出対象物の存否を同水準で判定できる。このように、前記第2コンデンサの容量に含まれる寄生容量の変化に起因して前記検出対象物の存否の判定精度が低下することを抑制できる。 According to this configuration, the sensor output difference value basically has the same resolution as the resolution of the sensor output value together with the reference sensor output value. Therefore, the sensor output difference value changes in proportion to the reciprocal of the resolution if the fluctuation amount of the capacitance of the second capacitor is the same. On the other hand, the corrected threshold is obtained by correcting the determination threshold so as to be proportional to the reciprocal of the resolution of the sensor output value. Accordingly, even if the parasitic capacitance included in the capacitance of the second capacitor is different, the determination unit determines the presence or absence of the detection target based on the magnitude relationship between the sensor output difference value and the correction threshold. It can be judged at the same level. In this way, it is possible to suppress deterioration in the accuracy of determining the presence or absence of the object to be detected due to changes in the parasitic capacitance included in the capacitance of the second capacitor.

なお、「分解能」とは、センサ出力値の単位量あたりの第2コンデンサの容量の容量変化である。
上記静電容量センサについて、前記センサ出力値の全範囲を分けた複数の区分のうちのいずれの該区分に前記センサ出力値が属するかを判定する区分判定部と、前記複数の区分ごとに、前記センサ出力値が属していると判定された回数を計数する区分計数部と、前記複数の区分ごとの前記回数の計数結果を記憶する記憶部とを備えることが好ましい。
The “resolution” is the change in capacitance of the second capacitor per unit amount of the sensor output value.
For the capacitance sensor, a division determination unit that determines to which division the sensor output value belongs among a plurality of divisions into which the entire range of the sensor output value is divided, and for each of the plurality of divisions, It is preferable to include a division counting section that counts the number of times the sensor output value is determined to belong, and a storage section that stores the result of counting the number of times for each of the plurality of divisions.

この構成によれば、前記複数の区分ごとに、前記第2コンデンサの容量(寄生容量)に相関する前記センサ出力値が属していると判定された前記回数が計数され、該計数の結果が前記記憶部に記憶される。従って、例えば整備時などに当該計数の結果を前記記憶部から読み込むことで、前記第2コンデンサの寄生容量の分布状況などの特徴を捉えることができる。 According to this configuration, the number of times the sensor output value correlated to the capacitance (parasitic capacitance) of the second capacitor is determined to belong to each of the plurality of categories is counted, and the result of the counting is the Stored in the storage unit. Therefore, by reading the result of the counting from the storage section at the time of maintenance, for example, it is possible to grasp the characteristics such as the distribution of the parasitic capacitance of the second capacitor.

本発明は、寄生容量の変化に起因して検出対象物の存否の判定精度が低下することを抑制できる効果がある。 ADVANTAGE OF THE INVENTION This invention has the effect of being able to suppress the deterioration of the determination accuracy of the presence or absence of the detection target due to the change of the parasitic capacitance.

静電容量センサの一実施形態が適用される車両の後部を示す斜視図。1 is a perspective view showing the rear part of a vehicle to which one embodiment of a capacitive sensor is applied; FIG. 同実施形態の静電容量センサについてその電極と検出対象物との関係を示す模式図。FIG. 4 is a schematic diagram showing the relationship between the electrodes and the object to be detected in the capacitance sensor of the same embodiment. 同実施形態の静電容量センサについてその電気的構成を示すブロック図。FIG. 2 is a block diagram showing the electrical configuration of the capacitance sensor of the same embodiment; 同実施形態の静電容量センサについてその電気的構成を示す回路図。FIG. 2 is a circuit diagram showing the electrical configuration of the capacitance sensor of the same embodiment; スイッチング処理とこれに伴う中間電位の推移を示すタイムチャート。4 is a time chart showing switching processing and transition of the intermediate potential accompanying this; センサ出力値と第2コンデンサの容量との関係を示すグラフ。4 is a graph showing the relationship between the sensor output value and the capacity of the second capacitor; センサ出力値と分解能との関係を示すグラフ。4 is a graph showing the relationship between sensor output value and resolution; 分解能と補正係数との関係を示すグラフ。Graph showing the relationship between resolution and correction factor. 同等の第2コンデンサの容量変動に伴う分解能に応じたセンサ出力値(変動量)と補正閾値との関係を示すグラフ。7 is a graph showing the relationship between the sensor output value (fluctuation amount) and the correction threshold according to the resolution accompanying the capacitance fluctuation of the equivalent second capacitor; 同等の第2コンデンサの容量変動に伴う分解能に応じたセンサ出力値(変動量)に合わせて補正閾値が変動することを簡略的に説明する一覧図。FIG. 10 is a list diagram briefly explaining that the correction threshold varies according to the sensor output value (fluctuation amount) according to the resolution accompanying the capacitance variation of the equivalent second capacitor; 同実施形態の静電容量センサについてその検出対象物の存否の判定態様を示すフローチャート。4 is a flow chart showing how the capacitive sensor of the same embodiment determines whether or not an object to be detected exists. センサ出力値とその全範囲を分ける複数の区分との関係を示す概略図。Schematic diagram showing the relationship between a sensor output value and a plurality of divisions dividing the entire range. 同実施形態の静電容量センサについてその複数の区分ごとの回数の計数態様を示すフローチャート。6 is a flow chart showing how the capacitance sensor of the same embodiment counts the number of times for each of a plurality of categories; 静電容量センサの変形形態が適用される車両の後部を示す斜視図。FIG. 4 is a perspective view showing the rear portion of a vehicle to which a modified form of the capacitance sensor is applied; 静電容量センサの別の変形形態が適用される車両の側部を示す斜視図。FIG. 4 is a perspective view showing a side portion of a vehicle to which another modification of the capacitive sensor is applied; (a)、(b)は、第2コンデンサの寄生容量が相対的に小さいときの分解能を説明する例図。4A and 4B are diagrams for explaining the resolution when the parasitic capacitance of the second capacitor is relatively small; FIG. (a)、(b)は、第2コンデンサの寄生容量が相対的に大きいときの分解能を説明する例図。4A and 4B are diagrams for explaining resolution when the parasitic capacitance of the second capacitor is relatively large; FIG.

以下、静電容量センサの一実施形態について説明する。
図1に示すように、自動車などの車両1のボデー2の後部には開口2aが形成されている。また、ボデー2の後部には、開口2aの上部に設けられたドアヒンジ(図示略)を介してバックドア3が開閉自在に取着されている。バックドア3は、ドアヒンジを中心に上方に押し上げられることで開放される。さらに、バックドア3の車室内側の先端には、閉状態にあるバックドア3を施解錠するドアロック5が設置されている。
An embodiment of the capacitive sensor will be described below.
As shown in FIG. 1, an opening 2a is formed in the rear portion of a body 2 of a vehicle 1 such as an automobile. A back door 3 is attached to the rear portion of the body 2 so as to be openable and closable via a door hinge (not shown) provided above the opening 2a. The back door 3 is opened by being pushed upward around the door hinge. Furthermore, a door lock 5 for locking and unlocking the back door 3 in the closed state is installed at the front end of the back door 3 on the inside of the passenger compartment.

ボデー2の後部には、開口2aの下方で車両の幅方向に延びるバンパー6が設けられている。そして、バンパー6には、該バンパー6に沿って車両の幅方向に延びる一対の略線状の電極21が設けられている。図2に示すように、各電極21は、例えばユーザの足Fが近接することで容量が変動する第2コンデンサ12を形成する。両第2コンデンサ12は、バンパー6の下部と路面との間への足Fの出し入れ操作(以下、「キック操作」ともいう)の有無(検出対象物の存否)の判定に供される。 A rear portion of the body 2 is provided with a bumper 6 extending in the width direction of the vehicle below the opening 2a. The bumper 6 is provided with a pair of substantially linear electrodes 21 extending in the width direction of the vehicle along the bumper 6 . As shown in FIG. 2, each electrode 21 forms a second capacitor 12 whose capacitance varies, for example, as the user's foot F approaches. Both of the second capacitors 12 are used to determine whether or not there is an operation of putting the foot F in and out between the lower portion of the bumper 6 and the road surface (hereinafter also referred to as a "kick operation") (existence or absence of an object to be detected).

次に、本実施形態の電気的構成について説明する。
図3に示すように、両電極21を含む静電容量センサ10には、例えばMCU(マイコン)からなるドアECU30が電気的に接続されているとともに、該ドアECU30には、ドア駆動ユニット31及びドアロック駆動ユニット32が電気的に接続されている。ドア駆動ユニット31は、例えば電動モータなどの電気的駆動源を主体に構成されており、適宜のドア駆動機構を介してバックドア3と機械的に連係されることで該バックドア3を開閉駆動する。ドアロック駆動ユニット32は、例えば電動モータなどの電気的駆動源を主体に構成されており、適宜のロック駆動機構を介してドアロック5と機械的に連係されることで該ドアロック5を施解錠駆動する。
Next, the electrical configuration of this embodiment will be described.
As shown in FIG. 3, the electrostatic capacitance sensor 10 including both electrodes 21 is electrically connected to a door ECU 30, which is, for example, an MCU (microcomputer). A door lock drive unit 32 is electrically connected. The door drive unit 31 is mainly composed of an electric drive source such as an electric motor, and is mechanically linked to the back door 3 via an appropriate door drive mechanism to drive the back door 3 to open and close. do. The door lock drive unit 32 mainly includes an electric drive source such as an electric motor, and unlocks the door lock 5 by mechanically linking it with the door lock 5 via an appropriate lock drive mechanism. lock drive.

静電容量センサ10は、前述のキック操作の有無の判定結果を表す検出信号SxをドアECU30に出力する。ドアECU30は、静電容量センサ10からの検出信号Sxに基づいて、ドア駆動ユニット31及びドアロック駆動ユニット32を個別に駆動制御する。 The capacitance sensor 10 outputs to the door ECU 30 a detection signal Sx representing the result of determination as to whether or not the kick operation has been performed. The door ECU 30 individually drives and controls the door drive unit 31 and the door lock drive unit 32 based on the detection signal Sx from the capacitance sensor 10 .

具体的には、検出信号Sxが「キック操作有り」を表しているとき、ドアECU30は、閉状態にあるバックドア3の開操作入力(操作対象に対する操作入力)を検出するとともに、施錠状態にあるドアロック5の解錠操作入力(操作対象に対する操作入力)を検出する。そして、ドアECU30は、バックドア3を開作動させるべくドア駆動ユニット31を駆動制御するとともに、ドアロック5を解錠作動させるべくドアロック駆動ユニット32を駆動制御する。 Specifically, when the detection signal Sx indicates that there is a "kick operation", the door ECU 30 detects an opening operation input (an operation input to the operation target) of the back door 3 in the closed state, and locks the back door 3. An unlocking operation input for a certain door lock 5 (an operation input for an operation target) is detected. The door ECU 30 drives and controls the door drive unit 31 to open the back door 3 and controls the door lock drive unit 32 to unlock the door lock 5 .

あるいは、検出信号Sxが「キック操作有り」を表しているとき、ドアECU30は、開状態にあるバックドア3の閉操作入力(操作対象に対する操作入力)を検出するとともに、解錠状態にあるドアロック5の施錠操作入力(操作対象に対する操作入力)を検出する。そして、ドアECU30は、バックドア3を閉作動させるべくドア駆動ユニット31を駆動制御するとともに、ドアロック5を施錠作動させるべくドアロック駆動ユニット32を駆動制御する。 Alternatively, when the detection signal Sx indicates that there is a "kick operation", the door ECU 30 detects a closing operation input (an operation input to the operation target) of the back door 3 in the open state, and also detects the door in the unlocked state. Locking operation input of the lock 5 (operation input for the operation target) is detected. The door ECU 30 drives and controls the door drive unit 31 to close the back door 3 and controls the door lock drive unit 32 to lock the door lock 5 .

次に、静電容量センサ10の電気的構成について説明する。なお、両第2コンデンサ12(電極21)の電気的な接続は互いに同等であるため、以下では一方を代表して説明する。 Next, the electrical configuration of the capacitance sensor 10 will be described. Since the electrical connections of both the second capacitors 12 (electrodes 21) are the same, one of them will be described below as a representative.

図4に示すように、静電容量センサ10は、第1コンデンサ11と、前述の第2コンデンサ12と、第1スイッチ13と、第2スイッチ14と、第3スイッチ15と、制御回路16とを備える。 As shown in FIG. 4, the capacitance sensor 10 includes a first capacitor 11, a second capacitor 12, a first switch 13, a second switch 14, a third switch 15, and a control circuit 16. Prepare.

第1コンデンサ11は、所定の容量C11を有する。第1コンデンサ11は、例えば車両1の周囲環境が変化したり、ユーザの足Fが近接したりしても、容量C11が変動することがないように構成・配置されている。 The first capacitor 11 has a predetermined capacitance C11. The first capacitor 11 is configured and arranged so that the capacitance C11 does not fluctuate, for example, even if the surrounding environment of the vehicle 1 changes or the user's foot F approaches.

第2コンデンサ12は、ユーザの足Fが近接しなければ、例えば車両1の周囲環境で決定される概ね安定した容量C12を有する。ただし、容量C12は、例えばバンパー6(又は電極21)に異物が付着するなど車両1の周囲環境が変化することで、これに含まれる浮遊容量と共に変化する。また、既述のように、容量C12は、ユーザの足Fが近接することで変動する。 The second capacitor 12 has a generally stable capacitance C12 determined, for example, by the surrounding environment of the vehicle 1, unless the user's foot F is in close proximity. However, the capacitance C12 changes along with the stray capacitance included therein due to a change in the surrounding environment of the vehicle 1 such as a foreign matter adhering to the bumper 6 (or the electrode 21). Also, as described above, the capacitance C12 varies as the user's foot F approaches.

第1コンデンサ11及び第2コンデンサ12は、直列接続で電源に接続されている。すなわち、第1コンデンサ11は、一端が電源としての高側電位V1に電気的に接続されており、他端が第2スイッチ14を介して第2コンデンサ12の一端に電気的に接続されている。そして、第2コンデンサ12は、他端が電源としての低側電位V2(<V1)に電気的に接続されている。低側電位V2は、例えばグランドと等電位に設定される。 The first capacitor 11 and the second capacitor 12 are connected in series to the power supply. That is, one end of the first capacitor 11 is electrically connected to the high-side potential V1 as a power supply, and the other end is electrically connected to one end of the second capacitor 12 via the second switch 14. . The other end of the second capacitor 12 is electrically connected to a low-side potential V2 (<V1) as a power supply. The low-side potential V2 is set, for example, to the same potential as the ground.

第1スイッチ13は、第1コンデンサ11を初期化する。具体的には、第1スイッチ13は、第1コンデンサ11の両端子間に接続(並列接続)されており、オン状態及びオフ状態への切り替わりに伴って第1コンデンサ11の両端子間をそれぞれ接続(短絡)及び遮断する。第2スイッチ14は、第1コンデンサ11及び第2コンデンサ12間に電気的に接続されており、オン状態及びオフ状態への切り替わりに伴って第1コンデンサ11及び第2コンデンサ12をそれぞれ接続及び遮断する。第3スイッチ15は、第2コンデンサ12を初期化する。具体的には、第3スイッチ15は、第2コンデンサ12の両端子間に接続(並列接続)されており、オン状態及びオフ状態への切り替わりに伴って第2コンデンサ12の両端子間をそれぞれ接続(短絡)及び遮断する。 The first switch 13 initializes the first capacitor 11 . Specifically, the first switch 13 is connected (connected in parallel) between both terminals of the first capacitor 11, and switches between both terminals of the first capacitor 11 as it is switched to the ON state and the OFF state. Connect (short) and disconnect. The second switch 14 is electrically connected between the first capacitor 11 and the second capacitor 12, and connects and disconnects the first capacitor 11 and the second capacitor 12, respectively, according to switching to the ON state and the OFF state. do. A third switch 15 initializes the second capacitor 12 . Specifically, the third switch 15 is connected (connected in parallel) between both terminals of the second capacitor 12, and switches between both terminals of the second capacitor 12 as it is switched to the ON state and the OFF state. Connect (short) and disconnect.

制御回路16は、例えばMCU(マイコン)からなる制御部17と、例えばコンパレータからなる比較部18とを備える。
比較部18は、第1コンデンサ11及び第2スイッチ14の接続点Nの電位である中間電位VMと参照電位Vrefとを比較するとともに、当該比較の結果を表す信号を制御部17に出力する。参照電位Vrefは、高側電位V1及び低側電位V2の中間の電位(V2<Vref<V1)に設定されている。
The control circuit 16 includes a control section 17 such as an MCU (microcomputer) and a comparison section 18 such as a comparator.
The comparison unit 18 compares the intermediate potential VM, which is the potential of the connection point N between the first capacitor 11 and the second switch 14 , with the reference potential Vref, and outputs a signal representing the comparison result to the control unit 17 . The reference potential Vref is set to an intermediate potential (V2<Vref<V1) between the high-side potential V1 and the low-side potential V2.

制御部17は、第1スイッチ13、第2スイッチ14及び第3スイッチ15をオン・オフ制御(スイッチング制御)する。また、制御部17は、比較部18の出力信号(即ち比較結果)に基づいてセンサ出力値Crawを導出する。 The control unit 17 performs on/off control (switching control) of the first switch 13 , the second switch 14 and the third switch 15 . Further, the control unit 17 derives the sensor output value Craw based on the output signal (that is, comparison result) of the comparison unit 18 .

ここで、図5を参照して、制御部17が実行するスイッチング制御及びセンサ出力値Crawの導出処理について説明する。
スイッチ制御部17aとしての制御部17は、第1スイッチ13、第2スイッチ14及び第3スイッチ15を所定周期で動作させる。すなわち、制御部17は、周期の初期において、第2スイッチ14及び第3スイッチ15のオフ状態で第1スイッチ13をオン状態にする第1スイッチング処理を行う。これにより、第1コンデンサ11が初期化され、中間電位VMは高側電位V1と等しくなる。
Here, with reference to FIG. 5, the switching control executed by the control unit 17 and the derivation process of the sensor output value Craw will be described.
The control unit 17 as the switch control unit 17a operates the first switch 13, the second switch 14, and the third switch 15 at predetermined intervals. That is, at the beginning of the cycle, the control unit 17 performs the first switching process of turning on the first switch 13 while the second switch 14 and the third switch 15 are in the off state. As a result, the first capacitor 11 is initialized and the intermediate potential VM becomes equal to the high side potential V1.

その後、制御部17は、第1スイッチ13をオフ状態に切り替えた状態で、第2スイッチ14をオン状態にするとともに第3スイッチ15をオン状態にする(以下、このスイッチ動作を「第2スイッチ操作」という)。このとき、第1コンデンサ11と第2コンデンサ12とに電流が流れ、中間電位VMが低下する。 After that, the control unit 17 turns on the second switch 14 and turns on the third switch 15 while the first switch 13 is turned off (hereinafter, this switch operation is referred to as the "second switch operation”). At this time, a current flows through the first capacitor 11 and the second capacitor 12, and the intermediate potential VM drops.

次に、制御部17は、第1スイッチ13のオフ状態を維持したまま、第2スイッチ14をオフ状態にするとともに第3スイッチ15をオン状態にする(以下、このスイッチ動作を「第3スイッチ操作」という)。このとき、第2コンデンサ12が初期化される。 Next, the control unit 17 turns off the second switch 14 and turns on the third switch 15 while maintaining the off state of the first switch 13 (hereinafter, this switch operation is referred to as "third switch operation”). At this time, the second capacitor 12 is initialized.

引き続き、制御部17は、第1スイッチ13のオフ状態を維持したまま、第2スイッチ操作及び第3スイッチ操作を交互に実行する。つまり、制御部17は、第1スイッチ13のオフ状態で第2スイッチ14及び第3スイッチ15を相補的にオフ状態及びオン状態に切り替える第2スイッチング処理を繰り返し行う。これに伴い、中間電位VMは徐々に低下する。 Subsequently, the control unit 17 alternately performs the second switch operation and the third switch operation while maintaining the first switch 13 in the OFF state. That is, the control unit 17 repeats the second switching process of complementarily switching the second switch 14 and the third switch 15 between the off state and the on state while the first switch 13 is in the off state. Along with this, intermediate potential VM gradually decreases.

制御部17は、第1スイッチ13のオフ状態を維持したままでの第2スイッチング処理の繰り返し回数が所定回数Nthに到達するまで繰り返し行う。所定回数Nthは、第2コンデンサ12の容量C12が最小値のときに中間電位VMと参照電位Vrefとの大小関係が反転するまでに要する第2スイッチング処理の繰り返し回数よりも大きく設定されている。これは、第2コンデンサ12の容量C12に関わらず、第2スイッチング処理の繰り返し回数が所定回数Nthに到達するまでの間に、中間電位VMと参照電位Vrefとの大小関係を必ず反転させるためである。 The control unit 17 repeats the second switching process until the number of repetitions of the second switching process while maintaining the off state of the first switch 13 reaches a predetermined number of times Nth. The predetermined number of times Nth is set larger than the number of repetitions of the second switching process required until the magnitude relationship between the intermediate potential VM and the reference potential Vref is reversed when the capacitance C12 of the second capacitor 12 is the minimum value. This is because regardless of the capacitance C12 of the second capacitor 12, the magnitude relationship between the intermediate potential VM and the reference potential Vref is always inverted until the number of repetitions of the second switching process reaches the predetermined number of times Nth. be.

なお、制御部17は、第1スイッチ13のオフ状態を維持したままでの第2スイッチング処理の繰り返し回数が所定回数Nthに到達すると、第1スイッチング処理を再開して同様の処理を繰り返す。 When the number of repetitions of the second switching process while maintaining the off state of the first switch 13 reaches a predetermined number of times Nth, the control unit 17 restarts the first switching process and repeats the same process.

導出部17bとしての制御部17は、中間電位VMと参照電位Vrefとの大小関係が反転するまでの第2スイッチング処理の繰り返し回数を計数する。すなわち、制御部17は、比較部18の出力信号に基づき、中間電位VMが参照電位Vrefを下回る(VM<Vref)と判定されるまでの第2スイッチング処理の繰り返し回数を計数する。そして、制御部17は、中間電位VMが参照電位Vrefを下回ると判定されたときの当該繰り返し回数をセンサ出力値Craw[LSB]として導出する。このセンサ出力値Craw[LSB]は、第2スイッチング処理の操作回数1回あたりに第2コンデンサ12が放電できる放電容量、即ち第2コンデンサ12の容量C12[pF]に相関している。つまり、センサ出力値Craw[LSB]は、容量C12[pF]の指標となるものである。 The control unit 17 as the deriving unit 17b counts the number of repetitions of the second switching process until the magnitude relationship between the intermediate potential VM and the reference potential Vref is reversed. That is, based on the output signal of the comparison unit 18, the control unit 17 counts the number of repetitions of the second switching process until it is determined that the intermediate potential VM is lower than the reference potential Vref (VM<Vref). Then, the control unit 17 derives the number of repetitions when it is determined that the intermediate potential VM is lower than the reference potential Vref as the sensor output value Craw [LSB]. This sensor output value Craw [LSB] correlates with the discharge capacity that the second capacitor 12 can discharge per operation of the second switching process, that is, the capacity C12 [pF] of the second capacitor 12 . That is, the sensor output value Craw [LSB] serves as an index of the capacitance C12 [pF].

具体的には、容量C12[pF]は、センサ出力値Craw[LSB]の周知の指数関数となっている。図6に示すように、この指数関数は、基本的にセンサ出力値Craw[LSB]が小さくなるほど容量C12[pF]が大きくなる特徴を示している。これは、容量C12[pF]が大きいほど第2スイッチング処理の操作回数1回あたりの放電容量が大きくなって該第2スイッチング処理の繰り返し回数、即ちセンサ出力値Craw[LSB]が小さくなるためである。 Specifically, the capacitance C12 [pF] is a known exponential function of the sensor output value Craw [LSB]. As shown in FIG. 6, this exponential function basically exhibits a feature that the capacitance C12 [pF] increases as the sensor output value Craw [LSB] decreases. This is because the larger the capacitance C12 [pF], the larger the discharge capacity per operation of the second switching process, and the smaller the number of repetitions of the second switching process, that is, the sensor output value Craw [LSB]. be.

算出部17cとしての制御部17は、センサ出力値Craw[LSB]の分解能Res[pF/LSB]の逆数に比例するように、予め設定されている所定の判定閾値Cth[LSB]を補正した補正閾値CthR[LSB]を算出する。判定閾値Cth[LSB]は、分解能Res[pF/LSB]の影響が皆無であるときにキック操作に伴うセンサ出力値Crawの変動量を表す好適な値に設定されている。補正閾値CthR[LSB]は、分解能Res[pF/LSB]に応じたキック操作に伴うセンサ出力値Crawの変動量に合わせて判定閾値Cth[LSB]を補正したものである。 The control unit 17 as the calculation unit 17c corrects the preset predetermined determination threshold value Cth [LSB] so as to be proportional to the reciprocal of the resolution Res [pF/LSB] of the sensor output value Craw [LSB]. A threshold CthR [LSB] is calculated. The determination threshold value Cth [LSB] is set to a suitable value representing the variation amount of the sensor output value Craw accompanying the kick operation when there is no influence of the resolution Res [pF/LSB]. The correction threshold CthR [LSB] is obtained by correcting the determination threshold Cth [LSB] according to the amount of change in the sensor output value Craw accompanying the kick operation according to the resolution Res [pF/LSB].

すなわち、制御部17は、前述の指数関数(図6参照)にこのときのセンサ出力値Craw[LSB]を代入して容量C12[pF]を算出する。
また、制御部17は、容量C12[pF]を微分して分解能Res[pF/LSB]を算出する。具体的には、制御部17は、センサ出力値Craw[LSB]から1[LSB]を減じた値を前述の指数関数に代入することで得られた値[pF]と容量C12[pF]との差分に基づいて分解能Res[pF/LSB]を算出する。図7に示すように、分解能Res[pF/LSB]は、センサ出力値Craw[LSB]に応じて変化する。
That is, the control unit 17 calculates the capacitance C12 [pF] by substituting the sensor output value Craw [LSB] at this time into the aforementioned exponential function (see FIG. 6).
Further, the control unit 17 differentiates the capacitance C12 [pF] to calculate the resolution Res [pF/LSB]. Specifically, the control unit 17 assigns a value obtained by subtracting 1 [LSB] from the sensor output value Craw [LSB] to the exponential function described above, and the capacitance C12 [pF] and the value [pF] obtained by Then, the resolution Res [pF/LSB] is calculated based on the difference between . As shown in FIG. 7, the resolution Res [pF/LSB] changes according to the sensor output value Craw [LSB].

さらに、制御部17は、分解能Res[pF/LSB]の逆数の大きさ(絶対値)を補正係数Kとして算出する。図8に示すように、補正係数Kは、分解能Res[pF/LSB]に反比例する。 Furthermore, the control unit 17 calculates the magnitude (absolute value) of the reciprocal of the resolution Res [pF/LSB] as a correction coefficient K. FIG. As shown in FIG. 8, the correction coefficient K is inversely proportional to the resolution Res [pF/LSB].

そして、制御部17は、判定閾値Cth[LSB]に補正係数Kを乗じて補正閾値CthR[LSB]を算出する。
以上により、制御部17は、センサ出力値Craw[LSB]の分解能Res[pF/LSB]の逆数に比例するように判定閾値Cth[LSB]を補正した補正閾値CthR[LSB]を算出する。これは、センサ出力値Craw[LSB]がキック操作の有無に伴う変動よりも大きく変化すると、分解能Res[pF/LSB]が変化して、同等の容量C12[pF]の変動量に対して一定のセンサ出力値Craw[LSB]の変動量にならないためである。つまり、同等の容量C12[pF]の変動量に対するセンサ出力値Craw[LSB]の変動量が分解能Res[pF/LSB]の逆数に比例するため、これに合わせてキック操作の有無の判定に係る判定閾値Cth[LSB]を補正閾値CthR[LSB]に補正している。
Then, the control unit 17 multiplies the determination threshold Cth[LSB] by the correction coefficient K to calculate the correction threshold CthR[LSB].
As described above, the control unit 17 calculates the corrected threshold value CthR[LSB] by correcting the determination threshold value Cth[LSB] so as to be proportional to the reciprocal of the resolution Res[pF/LSB] of the sensor output value Craw[LSB]. This is because when the sensor output value Craw [LSB] changes more than the fluctuation due to the presence or absence of the kick operation, the resolution Res [pF/LSB] changes and remains constant with respect to the amount of change in the equivalent capacitance C12 [pF]. This is because the sensor output value Craw [LSB] does not change. That is, since the amount of change in the sensor output value Craw [LSB] with respect to the amount of change in the equivalent capacitance C12 [pF] is proportional to the reciprocal of the resolution Res [pF/LSB], the presence or absence of the kick operation is determined accordingly. The determination threshold Cth[LSB] is corrected to the correction threshold CthR[LSB].

図9は、キック操作に伴う容量C12[pF]の変動量が同等と見なしたときのセンサ出力値Craw[LSB]の変動量と算出された判定閾値Cth[LSB]との関係を示すグラフである。このように算出された判定閾値Cth[LSB]は、分解能Res[pF/LSB]に応じて変化するセンサ出力値Craw[LSB]の変動量に比例する。この場合、キック操作の有無の判定に係る足Fの検出距離が不変になり、その判定精度が低下する可能性が低減される。 FIG. 9 is a graph showing the relationship between the amount of change in the sensor output value Craw [LSB] and the calculated determination threshold value Cth [LSB] when the amount of change in the capacitance C12 [pF] due to the kick operation is assumed to be equivalent. is. The determination threshold value Cth [LSB] calculated in this way is proportional to the variation amount of the sensor output value Craw [LSB] that varies according to the resolution Res [pF/LSB]. In this case, the detection distance of the foot F related to the determination of the presence or absence of the kick operation remains unchanged, and the possibility of lowering the determination accuracy is reduced.

ここで、キック操作に伴う容量C12[pF]の変動量に対するセンサ出力値Craw[LSB]の分解能Res[pF/LSB]に応じた変動量と補正閾値CthR[LSB]との関係について簡略化して説明する。なお、以下では、便宜的に分解能Res[pF/LSB]を補正係数Kに合わせて正数にしている。また、センサ出力値Craw[LSB]は、変動量の大きさ(絶対値)を表すようにしている。 Here, the relationship between the amount of change according to the resolution Res [pF/LSB] of the sensor output value Craw [LSB] with respect to the amount of change in the capacitance C12 [pF] accompanying the kick operation and the correction threshold CthR [LSB] will be simplified. explain. In the following description, the resolution Res [pF/LSB] is set to a positive number in accordance with the correction coefficient K for convenience. Also, the sensor output value Craw [LSB] represents the magnitude (absolute value) of the amount of variation.

図10に示すように、キック操作に伴う容量C12[pF]の変動量が10[pF]で分解能Res[pF/LSB]の違いにより当該変動量に対するセンサ出力値Craw[LSB]が異なっているとする。また、補正前の判定閾値Cth[LSB]が10[LSB]とする。 As shown in FIG. 10, the variation amount of the capacitance C12 [pF] due to the kick operation is 10 [pF], and the sensor output value Craw [LSB] with respect to the variation amount differs due to the difference in the resolution Res [pF/LSB]. and It is also assumed that the determination threshold value Cth [LSB] before correction is 10 [LSB].

分解能Resが0.5[pF/LSB]であることでセンサ出力値Crawが20[LSB]であるとする。この場合、補正係数Kとして0.5の逆数(=2)を判定閾値Cth[LSB]に乗ずれば、補正後の判定閾値Cth(即ち補正閾値CthR)が20(=10×2)[LSB]となる。 Assume that the resolution Res is 0.5 [pF/LSB] and the sensor output value Craw is 20 [LSB]. In this case, if the determination threshold Cth [LSB] is multiplied by the reciprocal of 0.5 (=2) as the correction coefficient K, the determination threshold Cth after correction (that is, the correction threshold CthR) becomes 20 (=10×2) [LSB ] becomes.

また、分解能Resが1[pF/LSB]であることでセンサ出力値Crawが10[LSB]であるとする。この場合、補正係数Kとして1の逆数(=1)を判定閾値Cth[LSB]に乗ずれば、補正後の判定閾値Cth(即ち補正閾値CthR)が10(=10×1)[LSB]となる。 It is also assumed that the sensor output value Craw is 10 [LSB] because the resolution Res is 1 [pF/LSB]. In this case, if the determination threshold Cth [LSB] is multiplied by the reciprocal of 1 (=1) as the correction coefficient K, the determination threshold Cth after correction (that is, the correction threshold CthR) is 10 (=10×1) [LSB]. Become.

さらに、分解能Resが5[pF/LSB]であることでセンサ出力値Crawが2[LSB]であるとする。この場合、補正係数Kとして5の逆数(=0.2)を判定閾値Cth[LSB]に乗ずれば、補正後の判定閾値Cth(即ち補正閾値CthR)が2(=10×1)[LSB]となる。 Furthermore, it is assumed that the sensor output value Craw is 2 [LSB] because the resolution Res is 5 [pF/LSB]. In this case, if the determination threshold Cth [LSB] is multiplied by the reciprocal of 5 (=0.2) as the correction coefficient K, the determination threshold Cth after correction (that is, the correction threshold CthR) becomes 2 (=10×1) [LSB ] becomes.

以上により、補正閾値CthR[LSB]は、キック操作に伴う容量C12[pF]の変動量に対するセンサ出力値Craw[LSB]の分解能Res[pF/LSB]に応じた変動量に合わせて補正されることが確認される。 As described above, the correction threshold value CthR [LSB] is corrected in accordance with the amount of change according to the resolution Res [pF/LSB] of the sensor output value Craw [LSB] with respect to the amount of change in the capacitance C12 [pF] due to the kick operation. It is confirmed that

次に、本実施形態のキック操作の有無の判定態様について説明する。この処理は、所定時間(例えば第1スイッチング処理の繰り返し周期)ごとの定時割り込みにより繰り返し実行される。 Next, a manner of determining whether or not there is a kick operation according to the present embodiment will be described. This process is repeatedly executed by regular interrupts at predetermined time intervals (for example, the repetition cycle of the first switching process).

図11に示すように、処理がこのルーチンに移行すると、制御部17は、前述の態様でセンサ出力値Crawを算出(導出)するとともに(ステップS1)、該センサ出力値Crawに基づいて容量C12を算出し(ステップS2)、更に該容量C12に基づいて分解能Resを算出する(ステップS3)。引き続き、制御部17は、分解能Resの逆数に基づいて補正係数Kを算出するとともに(ステップS4)、該補正係数Kを判定閾値Cthに乗じて補正閾値CthRを算出する(ステップS5)。 As shown in FIG. 11, when the process shifts to this routine, the control unit 17 calculates (derives) the sensor output value Craw in the manner described above (step S1), and based on the sensor output value Craw, the capacitance C12 is calculated (step S2), and the resolution Res is calculated based on the capacitance C12 (step S3). Subsequently, the control unit 17 calculates the correction coefficient K based on the reciprocal of the resolution Res (step S4), and multiplies the determination threshold Cth by the correction coefficient K to calculate the correction threshold CthR (step S5).

次に、制御部17は、過去のセンサ出力値Crawに基づいて基準センサ出力値Cbaseを算出する(ステップS6)。具体的には、演算周期に比べて十分に長い所定時間内でのセンサ出力値Crawの平均値を基準センサ出力値Cbaseとして算出する(ステップS6)。 Next, the control unit 17 calculates a reference sensor output value Cbase based on the past sensor output value Craw (step S6). Specifically, the average value of the sensor output values Craw within a predetermined time period sufficiently longer than the calculation cycle is calculated as the reference sensor output value Cbase (step S6).

この基準センサ出力値Cbaseは、例えばキック操作時に変動するセンサ出力値Crawとの比較の基準となる安定値である。換言すれば、基準センサ出力値Cbaseは、キック操作に伴ってそのまま変動することがないように、過去のセンサ出力値Crawが反映されている。基準センサ出力値Cbaseの分解能Resがセンサ出力値Crawと同等であることはいうまでもない。なお、基準センサ出力値Cbaseの算出にあたって現在のセンサ出力値Crawを含めてもよい。あるいは、所定時間前のセンサ出力値Crawをそのまま基準センサ出力値Cbaseにしてもよい。 This reference sensor output value Cbase is a stable value that serves as a reference for comparison with the sensor output value Craw, which fluctuates during a kick operation, for example. In other words, the past sensor output value Craw is reflected so that the reference sensor output value Cbase does not fluctuate as it is due to the kick operation. Needless to say, the resolution Res of the reference sensor output value Cbase is equivalent to the sensor output value Craw. The current sensor output value Craw may be included in the calculation of the reference sensor output value Cbase. Alternatively, the sensor output value Craw a predetermined time ago may be used as it is as the reference sensor output value Cbase.

次に、制御部17は、現在のセンサ出力値Crawと基準センサ出力値Cbaseとの差の大きさ(絶対値)であるセンサ出力差分値Cdiffを算出する(ステップS7)。このセンサ出力差分値Cdiffは、容量C12の変化量の指標になるものであって、その分解能Resは、センサ出力値Craw等と同等である。 Next, the control unit 17 calculates a sensor output difference value Cdiff, which is the magnitude (absolute value) of the difference between the current sensor output value Craw and the reference sensor output value Cbase (step S7). This sensor output difference value Cdiff serves as an index of the amount of change in the capacitance C12, and its resolution Res is equivalent to the sensor output value Craw and the like.

続いて、判定部17dとしての制御部17は、センサ出力差分値Cdiffが補正閾値CthRを超えたか否かを判断する(ステップS8)。そして、制御部17は、センサ出力差分値Cdiffが補正閾値CthRを超えたと判断されると、センサ出力値Crawの変動量が大きいことからキック操作有りと判定して(ステップS9)、その後の処理を終了する。一方、制御部17は、センサ出力差分値Cdiffが判定閾値Cth以下と判断されると、センサ出力値Crawの変動量が小さいことから「キック操作無し」と判定して(ステップS10)、その後の処理を終了する。 Subsequently, the control unit 17 as the determination unit 17d determines whether or not the sensor output difference value Cdiff exceeds the correction threshold value CthR (step S8). Then, when it is determined that the sensor output difference value Cdiff has exceeded the correction threshold value CthR, the control unit 17 determines that there is a kick operation because the variation amount of the sensor output value Craw is large (step S9), and the subsequent processing is performed. exit. On the other hand, when it is determined that the sensor output difference value Cdiff is equal to or less than the determination threshold value Cth, the control unit 17 determines that there is no kick operation because the amount of variation in the sensor output value Craw is small (step S10). End the process.

以上により、分解能Res、即ち容量C12に含まれる寄生容量の変化に起因してキック操作の有無の判定精度が低下することが抑制される。
図12に模式的に示すように、センサ出力値Crawの全範囲は、互いに交わることなく連続する複数の区分n(n=1,2,…)に予め分けられている。そして、区分判定部17eとしての制御部17は、現在のセンサ出力値Crawが複数の区分nのうちのいずれの該区分nに属するかを判定する。また、区分計数部17fとしての制御部17は、複数の区分nごとに、センサ出力値Crawが属していると判定された回数(頻度)CNTn(n=1,2,…)を計数するとともに、制御部17は、複数の区分nごとの回数CNTnの計数結果をその内蔵する不揮発性メモリからなる記憶部17gに記憶する。これは、例えば整備時などに当該計数の結果(回数CNTn)を記憶部17gから読み込むことで、第2コンデンサ12の寄生容量(容量C12)の分布状況などの特徴を捉えるためである。
As described above, it is possible to suppress deterioration in accuracy in determining the presence or absence of a kick operation due to changes in the resolution Res, that is, the parasitic capacitance included in the capacitance C12.
As schematically shown in FIG. 12, the entire range of the sensor output value Craw is preliminarily divided into a plurality of continuous segments n (n=1, 2, . . . ) without intersecting each other. Then, the control unit 17 as the division determination unit 17e determines to which division n of the plurality of divisions n the current sensor output value Craw belongs. In addition, the control unit 17 as the division counting unit 17f counts the number of times (frequency) CNTn (n=1, 2, . , the control unit 17 stores the counting result of the number of times CNTn for each of the plurality of divisions n in the storage unit 17g composed of the built-in non-volatile memory. This is because the distribution of the parasitic capacitance (capacitance C12) of the second capacitor 12 and the like can be captured by reading the result of the counting (number of times CNTn) from the storage unit 17g during maintenance, for example.

次に、本実施形態の複数の区分nごとの回数CNTnの計数態様について説明する。この処理は、例えばセンサ出力値Crawの属する区分nの判定結果が前回から切り替わることで起動される。 Next, the manner of counting the number of times CNTn for each of a plurality of sections n according to this embodiment will be described. This process is activated, for example, when the determination result of the category n to which the sensor output value Craw belongs is switched from the previous time.

図13に示すように、処理がこのルーチンに移行すると、制御部17は、判定結果の切り替わった現在の区分nの回数CNTnを「1」だけインクリメントしてこれを更新する(ステップS11)。続いて、制御部17は、更新した該当回数CNTnを記憶部17gに記憶して(ステップS12)、その後の処理を終了する。 As shown in FIG. 13, when the process shifts to this routine, the control unit 17 increments by "1" the number of times CNTn of the current segment n in which the determination result has been switched, and updates this (step S11). Subsequently, the control unit 17 stores the updated number of hits CNTn in the storage unit 17g (step S12), and terminates subsequent processing.

以上により、第2コンデンサ12の寄生容量(容量C12)の分布状況などの特徴が捉えられる。
本実施形態の作用及び効果について説明する。
From the above, the characteristics such as the distribution of the parasitic capacitance (capacitance C12) of the second capacitor 12 can be grasped.
The action and effect of this embodiment will be described.

(1)本実施形態では、センサ出力差分値Cdiffは、基本的に基準センサ出力値Cbaseと共にセンサ出力値Crawの分解能Resと同等の分解能となる。従って、センサ出力差分値Cdiffは、第2コンデンサ12の容量C12の変動量が同等であれば、分解能Resの逆数に比例して変化する。一方、補正閾値CthRは、センサ出力値Crawの分解能Resの逆数に比例するように判定閾値Cthを補正したものである。これにより、制御部17(判定部17d)は、第2コンデンサ12の容量C12に含まれる寄生容量が異なっていたとしても、センサ出力差分値Cdiffと補正閾値CthRとの大小関係に基づいて、キック操作の有無(検出対象物の存否)を同水準で判定できる。このように、第2コンデンサ12の容量C12に含まれる寄生容量の変化に起因してキック操作の有無の判定精度が低下することを抑制できる。 (1) In the present embodiment, the sensor output difference value Cdiff basically has the same resolution as the resolution Res of the sensor output value Craw together with the reference sensor output value Cbase. Therefore, the sensor output difference value Cdiff changes in proportion to the reciprocal of the resolution Res if the variation amount of the capacitance C12 of the second capacitor 12 is the same. On the other hand, the corrected threshold CthR is obtained by correcting the determination threshold Cth so as to be proportional to the reciprocal of the resolution Res of the sensor output value Craw. As a result, even if the parasitic capacitance included in the capacitance C12 of the second capacitor 12 is different, the control unit 17 (determining unit 17d) can determine the kick based on the magnitude relationship between the sensor output difference value Cdiff and the correction threshold value CthR. The presence or absence of an operation (the presence or absence of a detection target) can be determined at the same level. In this way, it is possible to suppress deterioration in accuracy in determining whether or not there is a kick operation due to changes in the parasitic capacitance included in the capacitance C12 of the second capacitor 12 .

(2)本実施形態では、複数の区分nごとに、第2コンデンサ12の容量C12(寄生容量)に相関するセンサ出力値Crawが属していると判定された回数CNTnが計数され、該計数の結果が記憶部17gに記憶される。従って、例えば整備時などに当該計数の結果を記憶部17gから読み込むことで、第2コンデンサ12の容量C12(寄生容量)の分布状況などの特徴を捉えることができる。また、第2コンデンサ12の容量C12(寄生容量)の分布状況により、例えば整備等で回収した静電容量センサ10の使用環境を想定でき、故障要因の解析に資することができる。 (2) In the present embodiment, the number of times CNTn that it is determined that the sensor output value Craw correlated with the capacitance C12 (parasitic capacitance) of the second capacitor 12 belongs to each of a plurality of sections n is counted. The result is stored in the storage section 17g. Therefore, by reading the result of the counting from the storage unit 17g at the time of maintenance, for example, characteristics such as the distribution of the capacitance C12 (parasitic capacitance) of the second capacitor 12 can be grasped. In addition, depending on the distribution of the capacitance C12 (parasitic capacitance) of the second capacitor 12, it is possible to assume the operating environment of the electrostatic capacitance sensor 10 that has been recovered, for example, during maintenance, which can contribute to the analysis of failure factors.

(3)本実施形態では、第2コンデンサ12の容量C12に含まれる寄生容量が異なっていたとしても、キック操作の有無が同水準で判定されることで、バックドア3及びドアロック5(操作対象)に対する操作入力の検出精度が低下することを抑制できる。つまり、例えばバンパー6(又は電極21)に異物が付着して第2コンデンサ12の容量C12に含まれる寄生容量が変化しても、バックドア3及びドアロック5に対する操作入力の検出精度が低下することを抑制できる。そして、バックドア3及びドアロック5に対する操作入力の誤検出を抑制できる。 (3) In the present embodiment, even if the parasitic capacitance included in the capacitance C12 of the second capacitor 12 is different, the presence or absence of the kick operation is determined at the same level. target) can be suppressed from deteriorating in detection accuracy of operation input. That is, for example, even if a foreign object adheres to the bumper 6 (or the electrode 21) and the parasitic capacitance included in the capacitance C12 of the second capacitor 12 changes, the detection accuracy of the operation input to the back door 3 and the door lock 5 decreases. can be suppressed. Further, erroneous detection of operation input to the back door 3 and the door lock 5 can be suppressed.

(4)本実施形態では、区分計数部17fは、区分判定部17eによる区分nの判定結果が切り替わったときに、該当の区分nの回数CNTnを更新する。従って、例えば区分判定部17eによる区分nの判定結果が長時間に亘って不変であるときに、区分計数部17fが当該区分nの回数CNTnを徒に更新し続けることを解消できる。また、区分計数部17fは、区分判定部17eによる区分nの判定結果の切り替わりのみを監視すればよいため、その演算負荷(処理負荷)を軽減できる。また、区分計数部17f(制御部17)の演算負荷が軽減されることで、制御部17の処理時間を短縮でき、ひいてはサンプリング周期を短縮できる。 (4) In the present embodiment, the section counting section 17f updates the number of times CNTn of the corresponding section n when the section n determination result by the section determining section 17e is switched. Therefore, for example, when the determination result of the section n by the section determining section 17e remains unchanged for a long time, the section counting section 17f can be prevented from continuously updating the number of times CNTn of the section n. In addition, since the division counting unit 17f only needs to monitor the switching of the judgment result of the division n by the division judging unit 17e, the calculation load (processing load) can be reduced. In addition, since the calculation load of the division counting section 17f (the control section 17) is reduced, the processing time of the control section 17 can be shortened, and the sampling cycle can be shortened.

本実施形態は、以下のように変更して実施することができる。本実施形態及び以下の変更例は、技術的に矛盾しない範囲で互いに組み合わせて実施することができる。
・図14に示すように、バックドア3の外表面の中央部に、例えば会社名などの標章7が設置されている場合、該標章7の背部に設置された電極26によって構成される第2コンデンサ25であってもよい。第2コンデンサ25は、ユーザがその手指を標章7に近接させる操作の有無(検出対象物の存否)の判定に供される。この場合、例えば標章7(又は電極26)に異物が付着して第2コンデンサ25の容量に含まれる寄生容量が変化しても、当該操作の有無の判定精度が低下することを抑制できる。
This embodiment can be implemented with the following modifications. This embodiment and the following modified examples can be implemented in combination with each other within a technically consistent range.
・As shown in FIG. 14, when a mark 7 such as a company name is installed in the center of the outer surface of the back door 3, the electrode 26 is formed on the back of the mark 7. It may be the second capacitor 25 . The second capacitor 25 is used to determine whether or not the user has operated his or her finger to approach the mark 7 (whether or not a detection target exists). In this case, for example, even if a foreign object adheres to the mark 7 (or the electrode 26) and the parasitic capacitance included in the capacitance of the second capacitor 25 changes, it is possible to suppress a decrease in accuracy in determining whether or not the operation has been performed.

・図15に示すように、車両41のボデー42の側部に形成された開口42aを開閉するスライドドア43が設けられている場合、該スライドドア43の窓ガラス44に設置された電極46によって構成される第2コンデンサ45であってもよい。第2コンデンサ45は、ユーザがその手指Hを窓ガラス44に近接させる操作の有無(検出対象物の存否)の判定に供される。この場合、例えば窓ガラス44(又は電極46)に異物が付着して第2コンデンサ45の容量に含まれる寄生容量が変化しても、当該操作の有無の判定精度が低下することを抑制できる。 ・As shown in FIG. 15, when a slide door 43 is provided for opening and closing an opening 42a formed on the side of a body 42 of a vehicle 41, an electrode 46 installed on a window glass 44 of the slide door 43 It may be the second capacitor 45 configured. The second capacitor 45 is used to determine whether or not the user has operated the finger H to approach the window glass 44 (whether or not there is an object to be detected). In this case, for example, even if a foreign object adheres to the window glass 44 (or the electrode 46) and the parasitic capacitance included in the capacitance of the second capacitor 45 changes, it is possible to suppress the deterioration of the determination accuracy of the presence or absence of the operation.

・前記実施形態において、車両1のサイドロッカーに設置された電極によって構成される第2コンデンサであってもよい。第2コンデンサは、キック操作の有無(検出対象物の存否)の判定に供される。この場合、例えばサイドロッカー(又は電極)に異物が付着して第2コンデンサの容量に含まれる寄生容量が変化しても、キック操作の有無の判定精度が低下することを抑制できる。 - In the said embodiment, the 2nd capacitor|condenser comprised by the electrode installed in the side locker of the vehicle 1 may be sufficient. The second capacitor is used to determine whether there is a kick operation (presence or absence of an object to be detected). In this case, for example, even if a foreign object adheres to the side rocker (or the electrode) and the parasitic capacitance included in the capacitance of the second capacitor changes, it is possible to suppress a decrease in accuracy in determining the presence or absence of the kick operation.

・前記実施形態において、制御部17は、センサ出力値Crawと、容量C12との関係を表すマップ又はテーブルをその記憶部17gに予め記憶していてもよい。そして、制御部17は、記憶部17gから読み込んだ当該マップ又はテーブルに基づいて容量C12を算出してもよい。この場合、制御部17は、前述の指数関数にセンサ出力値Crawを代入して容量C12を算出する必要性がなくなることで、その演算負荷(処理負荷)を軽減できる。 - In the above-described embodiment, the control unit 17 may store in advance a map or table representing the relationship between the sensor output value Craw and the capacitance C12 in the storage unit 17g. Then, the control unit 17 may calculate the capacitance C12 based on the map or table read from the storage unit 17g. In this case, the control unit 17 does not need to calculate the capacitance C12 by substituting the sensor output value Craw into the above-described exponential function, thereby reducing the calculation load (processing load).

・前記実施形態において、制御部17は、センサ出力値Crawと、分解能Resとの関係を表すマップ又はテーブルをその記憶部17gに予め記憶していてもよい。そして、制御部17は、記憶部17gから読み込んだ当該マップ又はテーブルに基づいて分解能Resを算出してもよい。この場合、制御部17は、例えば理論的な演算式(指数関数等)に基づいて分解能Resを算出する必要性がなくなることで、その演算負荷を軽減できる。 - In the above-described embodiment, the control unit 17 may store a map or table representing the relationship between the sensor output value Craw and the resolution Res in advance in the storage unit 17g. Then, the control unit 17 may calculate the resolution Res based on the map or table read from the storage unit 17g. In this case, the control unit 17 does not need to calculate the resolution Res based on, for example, a theoretical arithmetic expression (exponential function, etc.), thereby reducing the arithmetic load.

・前記実施形態において、制御部17は、センサ出力値Crawと、補正係数Kとの関係を表すマップ又はテーブルをその記憶部17gに予め記憶していてもよい。そして、制御部17は、記憶部17gから読み込んだ当該マップ又はテーブルに基づいて補正係数Kを算出してもよい。この場合、制御部17は、例えば理論的な演算式(指数関数等)に基づいて補正係数Kを算出する必要性がなくなることで、その演算負荷を軽減できる。また、制御部17の演算負荷が軽減されることで、制御部17の処理時間を短縮でき、ひいてはサンプリング周期を短縮できる。あるいは、制御部17の演算能力をより低スペック化でき、ひいてはコストを削減できる。 - In the above embodiment, the control unit 17 may store a map or table representing the relationship between the sensor output value Craw and the correction coefficient K in the storage unit 17g in advance. Then, the control unit 17 may calculate the correction coefficient K based on the map or table read from the storage unit 17g. In this case, the control unit 17 does not need to calculate the correction coefficient K based on, for example, a theoretical calculation formula (exponential function, etc.), so that the calculation load can be reduced. In addition, since the calculation load of the control unit 17 is reduced, the processing time of the control unit 17 can be shortened, and the sampling period can be shortened. Alternatively, the computing power of the control unit 17 can be made lower, and the cost can be reduced.

なお、センサ出力値Crawに応じて補正係数Kが段階的に変化するテーブルを使用してもよい。これにより、センサ出力値Crawと、補正係数Kとの関係を表すデータを間引くことができ、記憶部17gに要求される記憶容量(又は記憶部17gで使用する記憶量)を低減できる。また、この場合、例えば線形補間で補正係数Kを補正してもよい。これにより、データの間引かれた補正係数Kをより正確に算出できる。 A table in which the correction coefficient K changes stepwise according to the sensor output value Craw may be used. As a result, the data representing the relationship between the sensor output value Craw and the correction coefficient K can be thinned out, and the required storage capacity of the storage unit 17g (or the storage amount used by the storage unit 17g) can be reduced. Further, in this case, the correction coefficient K may be corrected by, for example, linear interpolation. As a result, the correction coefficient K obtained by thinning the data can be calculated more accurately.

・前記実施形態において、制御部17は、センサ出力値Crawと、補正閾値CthRとの関係を表すマップ又はテーブルをその記憶部17gに予め記憶していてもよい。そして、制御部17は、記憶部17gから読み込んだ当該マップ又はテーブルに基づいてセンサ出力補正値CrawRを算出してもよい。この場合、制御部17は、例えば理論的な演算式(指数関数等)に基づいて補正閾値CthRを算出する必要性がなくなることで、その演算負荷を軽減できる。また、制御部17の演算負荷が軽減されることで、制御部17の処理時間を短縮でき、ひいてはサンプリング周期を短縮できる。あるいは、制御部17の演算能力をより低スペック化でき、ひいてはコストを削減できる。 - In the above-described embodiment, the control unit 17 may store a map or table representing the relationship between the sensor output value Craw and the correction threshold value CthR in the storage unit 17g in advance. Then, the control unit 17 may calculate the sensor output correction value CrawR based on the map or table read from the storage unit 17g. In this case, the control unit 17 does not need to calculate the correction threshold value CthR based on, for example, a theoretical calculation formula (exponential function, etc.), thereby reducing the calculation load. In addition, since the calculation load of the control unit 17 is reduced, the processing time of the control unit 17 can be shortened, and the sampling period can be shortened. Alternatively, the computing power of the control unit 17 can be made lower, and the cost can be reduced.

なお、センサ出力値Crawに応じて補正閾値CthRが段階的に変化するテーブルを使用してもよい。これにより、センサ出力値Crawと、補正閾値CthRとの関係を表すデータを間引くことができ、記憶部17gに要求される記憶容量(又は記憶部17gで使用する記憶量)を低減できる。また、この場合、例えば線形補間で補正閾値CthRを補正してもよい。これにより、データの間引かれた補正閾値CthRをより正確に算出できる。 A table in which the correction threshold value CthR changes stepwise according to the sensor output value Craw may be used. As a result, the data representing the relationship between the sensor output value Craw and the correction threshold CthR can be thinned out, and the required storage capacity of the storage unit 17g (or the storage amount used by the storage unit 17g) can be reduced. Further, in this case, the correction threshold CthR may be corrected by, for example, linear interpolation. As a result, the corrected threshold value CthR obtained by thinning the data can be calculated more accurately.

・前記実施形態において、複数の区分(n)は、センサ出力値Crawに相関する補正閾値CthR、補正係数K、分解能Res及び容量C12のいずれか一つの全範囲を分けたものであってもよい。あるいは、複数の区分(n)は、過去のセンサ出力値Crawに基づく基準センサ出力値Cbaseの全範囲を分けたものであってもよい。そして、制御部17は、複数の区分(n)ごとに、該当の補正閾値CthR、補正係数K、分解能Res、容量C12又は基準センサ出力値Cbaseが属していると判定された回数を計数するとともに、当該回数の計数結果を記憶部17gに記憶するものであってもよい。 - In the above embodiment, the plurality of divisions (n) may divide the entire range of any one of the correction threshold value CthR, the correction coefficient K, the resolution Res, and the capacitance C12 that are correlated with the sensor output value Craw. . Alternatively, the plurality of divisions (n) may divide the entire range of the reference sensor output value Cbase based on the past sensor output value Craw. Then, the control unit 17 counts the number of times that the corresponding correction threshold value CthR, correction coefficient K, resolution Res, capacitance C12, or reference sensor output value Cbase belongs to each of the plurality of categories (n). , the counting result of the number of times may be stored in the storage unit 17g.

・前記実施形態において、複数の区分nごとの回数CNTnの計数及びその記憶の処理等を省略してもよい。
・前記実施形態において、バックドア3及びスライドドア43等の車両の開閉体に対する操作は、開閉操作や施解錠操作に限定されるものではなく、例えば途中停止操作や予約操作などであってもよい。
- In the above-described embodiment, the processing of counting the number of times CNTn for each of a plurality of divisions n and storing the same may be omitted.
- In the above-described embodiment, the operation of the opening/closing body of the vehicle such as the back door 3 and the slide door 43 is not limited to the opening/closing operation or the locking/unlocking operation, and may be, for example, a halfway stop operation or a reservation operation. .

・前記実施形態において、操作入力の検出に係る操作対象は、バックドア3及びスライドドア43以外の車両の可動部(例えばスイングドア、トランクリッド、サンルーフ、ウインドレギュレータ、フューエルリッド、ボンネット、シートなど)であってもよい。 - In the above-described embodiment, the operation target related to the detection of the operation input is a movable part of the vehicle other than the back door 3 and the sliding door 43 (for example, swing door, trunk lid, sunroof, window regulator, fuel lid, bonnet, seat, etc.). There may be.

上記実施形態及び変更例から把握できる技術的思想について記載する。
(イ)上記静電容量センサにおいて、
前記区分計数部は、前記区分判定部による前記区分の判定結果が切り替わったときに、該当の前記区分の前記回数を更新する、静電容量センサ。
Technical ideas that can be grasped from the above embodiment and modifications will be described.
(B) In the above capacitance sensor,
The segment counting unit updates the number of times of the corresponding segment when the determination result of the segment by the segment determining unit is switched.

この構成によれば、例えば前記区分判定部による前記区分の判定結果が長時間に亘って不変であるときに、前記区分計数部が当該区分の前記回数を徒に更新し続けることを解消できる。また、前記区分計数部は、前記区分判定部による前記区分の判定結果の切り替わりのみを監視すればよいため、その演算負荷を軽減できる。 According to this configuration, for example, when the determination result of the segment by the segment determination unit remains unchanged for a long time, it is possible to prevent the segment counter from continuously updating the number of times of the segment. In addition, since the division counting unit only needs to monitor the switching of the judgment result of the division by the division judging unit, the calculation load can be reduced.

(ロ)上記静電容量センサにおいて、
前記算出部は、予め設定されたテーブルに基づいて、前記センサ出力値から前記補正閾値を算出する、静電容量センサ。
(B) In the above capacitance sensor,
The capacitance sensor, wherein the calculation unit calculates the correction threshold from the sensor output value based on a preset table.

この構成によれば、前記算出部は、前記テーブルに基づいて、前記補正閾値を算出すればよいため、例えば理論的な演算式に基づいて算出する場合に比べてその演算負荷を軽減できる。 According to this configuration, the calculation unit can calculate the correction threshold value based on the table, so that the calculation load can be reduced compared to the calculation based on, for example, a theoretical calculation formula.

n…区分、VM…中間電位、C12…容量、Cth…判定閾値、CthR…補正閾値、Res…分解能、Craw…センサ出力値、Vref…参照電位、Cbase…基準センサ出力値、Cdiff…センサ出力差分値、CrawR…センサ出力補正値、11…第1コンデンサ、12,25,45…第2コンデンサ、13…第1スイッチ、14…第2スイッチ、15…第3スイッチ、17…制御部。17a…スイッチ制御部、17b…導出部、17c…算出部、17d…判定部、17e…区分判定部、17f…区分計数部、17g…記憶部。 n: division, VM: intermediate potential, C12: capacity, Cth: determination threshold, CthR: correction threshold, Res: resolution, Craw: sensor output value, Vref: reference potential, Cbase: reference sensor output value, Cdiff: sensor output difference Value, CrawR... sensor output correction value, 11... first capacitor, 12, 25, 45... second capacitor, 13... first switch, 14... second switch, 15... third switch, 17... control unit. 17a switch control section, 17b derivation section 17c calculation section 17d determination section 17e division determination section 17f division counting section 17g storage section.

Claims (2)

電源に接続される直列接続の第1コンデンサ及び第2コンデンサと、
前記第1コンデンサの両端子間に接続されている第1スイッチと、
前記第1コンデンサ及び前記第2コンデンサの間に接続されている第2スイッチと、
前記第2コンデンサの両端子間に接続されている第3スイッチと、
前記第1スイッチをオン状態にする第1スイッチング処理を行った後、前記第1スイッチのオフ状態で前記第2スイッチ及び前記第3スイッチを相補的にオフ状態及びオン状態に切り替える第2スイッチング処理を繰り返し行うスイッチ制御部と、
前記第1及び第2コンデンサの間の中間電位と予め設定された参照電位との大小関係が反転したと判定されたときの前記第2スイッチング処理の繰り返し回数をセンサ出力値として導出する導出部と、
前記センサ出力値の分解能の逆数に比例するように、予め設定された判定閾値を補正した補正閾値を算出する算出部と、
現在の前記センサ出力値及び過去の前記センサ出力値に基づく基準センサ出力値の差分であるセンサ出力差分値と、前記補正閾値の大小関係に基づいて、検出対象物の存否を判定する判定部とを備えた、静電容量センサ。
a series-connected first capacitor and a second capacitor connected to a power supply;
a first switch connected between both terminals of the first capacitor;
a second switch connected between the first capacitor and the second capacitor;
a third switch connected between both terminals of the second capacitor;
After performing a first switching process for turning on the first switch, a second switching process for complementarily switching the second switch and the third switch to an off state and an on state while the first switch is off. a switch control unit that repeatedly performs
a deriving unit that derives, as a sensor output value, the number of repetitions of the second switching process when it is determined that the magnitude relationship between the intermediate potential between the first and second capacitors and a preset reference potential is reversed; ,
a calculation unit that calculates a correction threshold obtained by correcting a preset determination threshold so as to be proportional to the reciprocal of the resolution of the sensor output value;
a determination unit that determines the presence or absence of a detection target based on a sensor output difference value that is a difference between a reference sensor output value based on the current sensor output value and the past sensor output value, and the magnitude relationship of the correction threshold; Capacitive sensor with
請求項1に記載の静電容量センサにおいて、
前記センサ出力値の全範囲を分けた複数の区分のうちのいずれの該区分に前記センサ出力値が属するかを判定する区分判定部と、
前記複数の区分ごとに、前記センサ出力値が属していると判定された回数を計数する区分計数部と、
前記複数の区分ごとの前記回数の計数結果を記憶する記憶部とを備えた、静電容量センサ。
The capacitance sensor according to claim 1,
a division determination unit that determines to which division the sensor output value belongs among a plurality of divisions obtained by dividing the entire range of the sensor output value;
a division counting unit that counts the number of times the sensor output value is determined to belong to each of the plurality of divisions;
and a storage unit that stores the result of counting the number of times for each of the plurality of categories.
JP2018230679A 2018-12-10 2018-12-10 capacitance sensor Active JP7215123B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2018230679A JP7215123B2 (en) 2018-12-10 2018-12-10 capacitance sensor
US17/311,498 US11698276B2 (en) 2018-12-10 2019-12-09 Capacitance sensor
CN201980080904.0A CN113167563B (en) 2018-12-10 2019-12-09 Capacitive sensor
PCT/JP2019/048152 WO2020122030A1 (en) 2018-12-10 2019-12-09 Capacitance sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018230679A JP7215123B2 (en) 2018-12-10 2018-12-10 capacitance sensor

Publications (2)

Publication Number Publication Date
JP2020096215A JP2020096215A (en) 2020-06-18
JP7215123B2 true JP7215123B2 (en) 2023-01-31

Family

ID=71085075

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018230679A Active JP7215123B2 (en) 2018-12-10 2018-12-10 capacitance sensor

Country Status (1)

Country Link
JP (1) JP7215123B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012122941A (en) 2010-12-10 2012-06-28 Omron Automotive Electronics Co Ltd Measuring device, capacitance sensor, and measuring method
JP2016525827A (en) 2013-06-12 2016-08-25 マイクロチップ テクノロジー インコーポレイテッドMicrochip Technology Incorporated Capacitive proximity detection using delta-sigma conversion

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4363281B2 (en) * 2004-09-08 2009-11-11 オムロン株式会社 Capacity measuring device and method, and program
JP6558216B2 (en) * 2015-10-30 2019-08-14 アイシン精機株式会社 Capacitance detection device
JP6822029B2 (en) * 2016-09-16 2021-01-27 アイシン精機株式会社 Capacitance sensor
JP6715155B2 (en) * 2016-10-03 2020-07-01 株式会社東海理化電機製作所 Input device
JP2018096883A (en) * 2016-12-14 2018-06-21 パナソニックIpマネジメント株式会社 Electrostatic capacitance sensor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012122941A (en) 2010-12-10 2012-06-28 Omron Automotive Electronics Co Ltd Measuring device, capacitance sensor, and measuring method
JP2016525827A (en) 2013-06-12 2016-08-25 マイクロチップ テクノロジー インコーポレイテッドMicrochip Technology Incorporated Capacitive proximity detection using delta-sigma conversion

Also Published As

Publication number Publication date
JP2020096215A (en) 2020-06-18

Similar Documents

Publication Publication Date Title
US10450789B2 (en) Vehicle operation detecting device
US9304156B2 (en) Method for measuring capacitance and capacitive sensor unit
US20150019085A1 (en) Control system
US10107025B2 (en) Vehicular operation detecting apparatus
US10288598B2 (en) Electrostatic capacitance detection device
US10613519B2 (en) Method for controlling a sliding door arrangement of a motor vehicle
US20060170411A1 (en) Capacitance detection apparatus
US9689907B2 (en) Device for measuring the variation of a capacitance and associated measuring method
US11142940B2 (en) Open-close body controller and motor
US10161765B2 (en) Capacitive sensor, the associated evaluation circuit and actuator for a motor vehicle
WO2020122030A1 (en) Capacitance sensor
JP7215123B2 (en) capacitance sensor
JP7215124B2 (en) capacitance sensor
JP6060340B2 (en) Circuit device and method for detecting capacitance of capacitive element and / or change of capacitance of capacitive element
JP2018096883A (en) Electrostatic capacitance sensor
CN105539363B (en) Door handle for vehicle module and the device for opening and closing vehicle door with the module
JP5367533B2 (en) Opening / closing member control device, opening / closing device and control method of opening / closing device
CN212642403U (en) Device for detecting the presence of a user for unlocking an openable component of a motor vehicle and motor vehicle comprising such a device
JP5051459B2 (en) Capacitance type obstacle sensor and opening / closing system provided with the obstacle sensor
JP6828534B2 (en) Vehicle operation detection device
US11333784B2 (en) Presence detection method and device with multiple detection areas for a motor vehicle
CN107210736B (en) Method for operating a pulse generator of a capacitive sensor and pulse generator
JP6631310B2 (en) Operation input detection device for vehicles
US11356092B2 (en) Capacitive sensor for the automotive sector with a charge amplifier
CN112298099B (en) Operation detection device for vehicle and opening/closing body control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211110

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230102

R150 Certificate of patent or registration of utility model

Ref document number: 7215123

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150