JP7196026B2 - Touch sensors, controllers, and computer programs - Google Patents

Touch sensors, controllers, and computer programs Download PDF

Info

Publication number
JP7196026B2
JP7196026B2 JP2019121771A JP2019121771A JP7196026B2 JP 7196026 B2 JP7196026 B2 JP 7196026B2 JP 2019121771 A JP2019121771 A JP 2019121771A JP 2019121771 A JP2019121771 A JP 2019121771A JP 7196026 B2 JP7196026 B2 JP 7196026B2
Authority
JP
Japan
Prior art keywords
capacitance
period
reference capacitance
detected
time
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
JP2019121771A
Other languages
Japanese (ja)
Other versions
JP2021009470A (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.)
Tokai Rika Co Ltd
Original Assignee
Tokai Rika Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokai Rika Co Ltd filed Critical Tokai Rika Co Ltd
Priority to JP2019121771A priority Critical patent/JP7196026B2/en
Publication of JP2021009470A publication Critical patent/JP2021009470A/en
Priority to JP2022188203A priority patent/JP7425851B2/en
Application granted granted Critical
Publication of JP7196026B2 publication Critical patent/JP7196026B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Resistance Or Impedance (AREA)
  • Switches That Are Operated By Magnetic Or Electric Fields (AREA)
  • Position Input By Displaying (AREA)

Description

本発明は、タッチセンサに関連する。本発明は、当該タッチセンサに搭載されうる制御装置、および当該制御装置に所定の動作を実行させるコンピュータプログラムにも関連する。 The present invention relates to touch sensors. The present invention also relates to a control device that can be mounted on the touch sensor and a computer program that causes the control device to perform a predetermined operation.

特許文献1は、静電容量方式のタッチセンサを開示している。当該タッチセンサにおいては、電極により生成される電界内に位置する対象物にユーザの指などが近づくことによって疑似的なコンデンサが形成され、当該電極自体の容量が増加する。この容量の増加が検知されることにより、ユーザによる対象物への操作がなされたかが判別される。 Patent Literature 1 discloses a capacitive touch sensor. In the touch sensor, when a user's finger or the like approaches an object positioned within the electric field generated by the electrodes, a pseudo capacitor is formed and the capacitance of the electrodes themselves increases. By detecting this increase in capacity, it is determined whether or not the user has performed an operation on the object.

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

本発明の目的は、ノイズ環境下においても正確に対象物への操作を判別可能にすることである。 SUMMARY OF THE INVENTION An object of the present invention is to make it possible to accurately determine an operation on an object even in a noisy environment.

上記の目的を達成するための第一態様は、タッチセンサであって、
電極と、
前記電極と対象物の間の静電容量を、所定の周期で検出静電容量として検出する静電容量検出部と、
前記検出静電容量と基準静電容量の差分に基づいて、前記対象物に対する操作の有無の判断を行なう制御部と、
を備えており、
前記制御部は、
前記検出静電容量で前記基準静電容量を更新し、
前記検出静電容量が前記基準静電容量よりも大きくかつ前記差分が所定値よりも大きい場合、第一期間だけ前記基準静電容量の更新を停止し、
前記検出静電容量が前記基準静電容量よりも小さくかつ前記差分が所定値よりも大きい場合、前記第一期間の前記基準静電容量の更新停止がなされたかを判断し、
前記第一期間の前記基準静電容量の更新停止がなされていないと判断された場合、第二期間だけ前記基準静電容量の更新を停止し、
前記第一期間の前記基準静電容量の更新停止がなされたと判断された場合、前記第二期間よりも短い第三期間だけ前記基準静電容量の更新を停止する。
A first aspect for achieving the above object is a touch sensor,
an electrode;
a capacitance detection unit that detects the capacitance between the electrode and the object as a detection capacitance at a predetermined cycle;
a control unit that determines whether or not the object is operated based on the difference between the detected capacitance and the reference capacitance;
and
The control unit
updating the reference capacitance with the detection capacitance;
stopping updating the reference capacitance for a first period when the detected capacitance is greater than the reference capacitance and the difference is greater than a predetermined value;
when the detected capacitance is smaller than the reference capacitance and the difference is greater than a predetermined value, determining whether updating of the reference capacitance in the first period has been stopped;
If it is determined that the update of the reference capacitance for the first period has not been stopped, stopping the update of the reference capacitance for only a second period,
When it is determined that the update of the reference capacitance for the first period has been stopped, the update of the reference capacitance is stopped for a third period shorter than the second period.

上記の目的を達成するための第二態様は、電極と対象物の間の静電容量を、所定の周期で検出静電容量として検出する静電容量検出部の動作を制御する制御装置であって、
前記検出静電容量と基準静電容量の差分に基づいて、前記対象物に対する操作の有無の判断を行ない、
前記検出静電容量で前記基準静電容量を更新し、
前記検出静電容量が前記基準静電容量よりも大きくかつ前記差分が所定値よりも大きい場合、第一期間だけ前記基準静電容量の更新を停止し、
前記検出静電容量が前記基準静電容量よりも小さくかつ前記差分が所定値よりも大きい場合、前記第一期間の前記基準静電容量の更新停止がなされたかを判断し、
前記第一期間の前記基準静電容量の更新停止がなされていないと判断された場合、第二期間だけ前記基準静電容量の更新を停止し、
前記第一期間の前記基準静電容量の更新停止がなされたと判断された場合、前記第二期間よりも短い第三期間だけ前記基準静電容量の更新を停止する。
A second aspect for achieving the above object is a control device that controls the operation of a capacitance detection unit that detects the capacitance between an electrode and an object as a detection capacitance in a predetermined cycle. hand,
determining whether or not the object is operated based on the difference between the detected capacitance and the reference capacitance;
updating the reference capacitance with the detection capacitance;
stopping updating the reference capacitance for a first period when the detected capacitance is greater than the reference capacitance and the difference is greater than a predetermined value;
when the detected capacitance is smaller than the reference capacitance and the difference is greater than a predetermined value, determining whether updating of the reference capacitance in the first period has been stopped;
If it is determined that the update of the reference capacitance for the first period has not been stopped, stopping the update of the reference capacitance for only a second period,
When it is determined that the update of the reference capacitance for the first period has been stopped, the update of the reference capacitance is stopped for a third period shorter than the second period.

上記の目的を達成するための第三態様は、電極と対象物の間の静電容量を、所定の周期で検出静電容量として検出する静電容量検出部の動作を制御装置に制御させるコンピュータプログラムであって、
前記コンピュータプログラムが実行されることにより、前記制御装置に、
前記検出静電容量と基準静電容量の差分に基づいて、前記対象物に対する操作の有無の判断を行なわせ、
前記検出静電容量で前記基準静電容量を更新させ、
前記検出静電容量が前記基準静電容量よりも大きくかつ前記差分が所定値よりも大きい場合、第一期間だけ前記基準静電容量の更新を停止させ、
前記検出静電容量が前記基準静電容量よりも小さくかつ前記差分が所定値よりも大きい場合、前記第一期間の前記基準静電容量の更新停止がなされたかを判断させ、
前記第一期間の前記基準静電容量の更新停止がなされていないと判断された場合、第二期間だけ前記基準静電容量の更新を停止させ、
前記第一期間の前記基準静電容量の更新停止がなされたと判断された場合、前記第二期間よりも短い第三期間だけ前記基準静電容量の更新を停止させる、
コンピュータプログラム。
A third aspect for achieving the above object is a computer that causes a control device to control the operation of a capacitance detection unit that detects the capacitance between an electrode and an object as a detection capacitance at a predetermined cycle. a program,
By executing the computer program, the control device
determining whether or not the object is operated based on the difference between the detected capacitance and the reference capacitance;
updating the reference capacitance with the detection capacitance;
stopping updating the reference capacitance for a first period when the detected capacitance is greater than the reference capacitance and the difference is greater than a predetermined value;
If the detected capacitance is smaller than the reference capacitance and the difference is greater than a predetermined value, determining whether updating of the reference capacitance in the first period has been stopped;
If it is determined that the update of the reference capacitance for the first period has not been stopped, stopping the update of the reference capacitance for only a second period;
When it is determined that the update of the reference capacitance for the first period has been stopped, the update of the reference capacitance is stopped for a third period shorter than the second period,
computer program.

対象物への操作によって増加した検出静電容量が基準静電容量とされてしまうと、後続する操作によって大きい検出静電容量が取得されても基準静電容量との差分が小さくなり、対象物への操作がなされた事実が然るべく判断されない虞がある。上記のような構成によれば、このような事態の発生を抑制できる。 If the detected capacitance increased by the operation on the object is taken as the reference capacitance, even if a large detected capacitance is obtained by subsequent operations, the difference from the reference capacitance will become small, and the object will There is a risk that the fact that the operation to has been performed may not be properly determined. According to the configuration as described above, it is possible to suppress the occurrence of such a situation.

検出静電容量が基準静電容量を下回る現象は、環境ノイズの影響であることが一般的である。したがって、検出静電容量が基準静電容量よりも小さくかつ両者の差分が所定値よりも大きい場合、タッチセンサに環境ノイズが作用している事態が予想される。この場合、制御部は、対象物に操作が行なわれたとは判断せず、環境ノイズ対策処理として基準静電容量の更新を停止する。環境ノイズによって減少した検出静電容量が基準静電容量とされてしまうと、操作が行なわれた場合よりも小さい検出静電容量が取得されても、基準静電容量との差分が大きければ操作がなされたと誤認識される虞がある。上記のような構成によれば、このような事態の発生を抑制できる。 A phenomenon in which the detected capacitance falls below the reference capacitance is generally the effect of environmental noise. Therefore, when the detected capacitance is smaller than the reference capacitance and the difference between the two is larger than a predetermined value, it is expected that environmental noise is acting on the touch sensor. In this case, the control unit does not determine that an operation has been performed on the object, and stops updating the reference capacitance as environmental noise countermeasure processing. If the detected capacitance that has decreased due to environmental noise is used as the reference capacitance, even if the detected capacitance is smaller than when an operation is performed, if the difference from the reference capacitance is large, the operation There is a possibility that it is erroneously recognized as having been performed. According to the configuration as described above, it is possible to suppress the occurrence of such a situation.

他方、検出静電容量の減少量が所定値よりも大きくなる現象が生じる原因としては、上記の環境ノイズの影響に加え、ユーザの指などが対象物に触れたままの状態で第一期間が満了し、基準静電容量の更新が再開される事態が考えられる。この場合、更新再開後に取得される検出静電容量は、操作がなされた状態の値をとり、当該値が基準静電容量とされる。したがって、ユーザの指などが対象物から離れることにより急速に減少する検出静電容量に基づいて、環境ノイズ対策処理が起動されてしまう。 On the other hand, the cause of the phenomenon that the amount of decrease in the detection capacitance becomes larger than the predetermined value is the influence of the environmental noise described above, and the first period of time while the user's finger or the like is in contact with the object. It is conceivable that it expires and the updating of the reference capacitance is restarted. In this case, the detected capacitance obtained after resuming the update takes the value in the state in which the operation has been performed, and this value is used as the reference capacitance. Therefore, the environmental noise countermeasure processing is activated based on the detected capacitance that rapidly decreases when the user's finger or the like moves away from the object.

制御部は、第一期間の基準静電容量の更新停止がなされたかを判断することにより、検出静電容量の減少量が所定値よりも大きくなる現象が生じる原因が環境ノイズによるものなのか、操作状態の維持によるものなのかを識別している。第一期間の基準静電容量の更新停止は、対象物への操作がなされたと判断された場合になされるので、当該更新停止がなされた直後に検出静電容量の減少量が所定値よりも大きくなる現象が生じた場合、当該現象が操作状態の維持に起因している可能性が高い。 By determining whether the update of the reference capacitance for the first period has been stopped, the control unit determines whether the phenomenon in which the amount of decrease in the detected capacitance is greater than a predetermined value is caused by environmental noise. It identifies whether it is due to maintenance of the operation state. Since updating of the reference capacitance in the first period is stopped when it is determined that an operation has been performed on the target object, the amount of decrease in the detected capacitance is less than the predetermined value immediately after the updating is stopped. When the phenomenon of increasing the size occurs, there is a high possibility that the phenomenon is caused by the maintenance of the operating state.

したがって、第一期間の基準静電容量の更新停止がなされていないと判断された場合、制御部は、環境ノイズ対策として第二期間だけ基準静電容量の更新を停止する。他方、第一期間の基準静電容量の更新停止がなされたと判断された場合、制御部は、第二期間よりも短い第三期間だけ基準静電容量の更新を停止する。第三期間が第二期間よりも短い理由は、環境ノイズ起因でない状況下において環境ノイズ対策処理が継続されることを回避し、対象物への操作を検出可能な通常状態へより早く復帰するためである。 Therefore, when it is determined that the update of the reference capacitance for the first period has not been stopped, the control unit stops the update of the reference capacitance for the second period as a countermeasure against environmental noise. On the other hand, when it is determined that the updating of the reference capacitance for the first period has been stopped, the control unit stops updating the reference capacitance for a third period shorter than the second period. The reason why the third period is shorter than the second period is to avoid continuation of the environmental noise countermeasure processing under circumstances not caused by environmental noise, and to quickly return to the normal state where the operation on the object can be detected. is.

上記の目的を達成するための第四態様は、タッチセンサであって、
電極と、
前記電極と対象物の間の静電容量を、所定の周期で検出静電容量として検出する静電容量検出部と、
前記検出静電容量と基準静電容量の差分に基づいて、前記対象物に対する操作の有無の判断を行なう制御部と、
を備えており、
前記制御部は、
前記検出静電容量で前記基準静電容量を更新し、
前記操作が第一期間ないと判断された場合、前記検出静電容量の取得を停止して較正処理を行ない、
前記検出静電容量が前記基準静電容量よりも小さくかつ前記差分が第一所定値よりも大きい場合、前記較正処理の間に生じた前記静電容量の増加が第二所定値を上回っているかを判断し、
前記静電容量の増加が前記第二所定値を上回っていないと判断された場合、第二期間だけ前記基準静電容量の更新を停止し、
前記静電容量の増加が前記第二所定値を上回っていると判断された場合、前記第二期間よりも短い第三期間だけ前記基準静電容量の更新を停止する。
A fourth aspect for achieving the above object is a touch sensor,
an electrode;
a capacitance detection unit that detects the capacitance between the electrode and the object as a detection capacitance at a predetermined cycle;
a control unit that determines whether or not the object is operated based on the difference between the detected capacitance and the reference capacitance;
and
The control unit
updating the reference capacitance with the detection capacitance;
If it is determined that the operation has not been performed for the first period, stop acquiring the detected capacitance and perform a calibration process;
if the sensed capacitance is less than the reference capacitance and the difference is greater than a first predetermined value, whether the increase in capacitance occurring during the calibration process exceeds a second predetermined value; to judge
when it is determined that the increase in the capacitance does not exceed the second predetermined value, stopping updating the reference capacitance for a second period;
When it is determined that the increase in the capacitance exceeds the second predetermined value, updating the reference capacitance is stopped for a third period shorter than the second period.

上記の目的を達成するための第五態様は、電極と対象物の間の静電容量を、所定の周期で検出静電容量として検出する静電容量検出部の動作を制御する制御装置であって、
前記検出静電容量と基準静電容量の差分に基づいて、前記対象物に対する操作の有無の判断を行ない、
前記検出静電容量で前記基準静電容量を更新し、
前記操作が第一期間ないと判断された場合、前記検出静電容量の取得を停止して較正処理を行ない、
前記検出静電容量が前記基準静電容量よりも小さくかつ前記差分が第一所定値よりも大きい場合、前記較正処理の間に生じた前記静電容量の増加が第二所定値を上回っているかを判断し、
前記静電容量の増加が前記第二所定値を上回っていないと判断された場合、第二期間だけ前記基準静電容量の更新を停止し、
前記静電容量の増加が前記第二所定値を上回っていると判断された場合、前記第二期間よりも短い第三期間だけ前記基準静電容量の更新を停止する。
A fifth aspect for achieving the above object is a control device that controls the operation of a capacitance detection unit that detects the capacitance between an electrode and an object as a detection capacitance at a predetermined cycle. hand,
determining whether or not the object is operated based on the difference between the detected capacitance and the reference capacitance;
updating the reference capacitance with the detection capacitance;
If it is determined that the operation has not been performed for the first period, stop acquiring the detected capacitance and perform a calibration process;
if the sensed capacitance is less than the reference capacitance and the difference is greater than a first predetermined value, whether the increase in capacitance occurring during the calibration process exceeds a second predetermined value; to judge
when it is determined that the increase in the capacitance does not exceed the second predetermined value, stopping updating the reference capacitance for a second period;
When it is determined that the increase in the capacitance exceeds the second predetermined value, updating the reference capacitance is stopped for a third period shorter than the second period.

上記の目的を達成するための第六態様は、電極と対象物の間の静電容量を、所定の周期で検出静電容量として検出する静電容量検出部の動作を制御装置に制御させるコンピュータプログラムであって、
前記コンピュータプログラムが実行されることにより、前記制御装置に、
前記検出静電容量と基準静電容量の差分に基づいて、前記対象物に対する操作の有無の判断を行なわせ、
前記検出静電容量で前記基準静電容量を更新させ、
前記操作が第一期間ないと判断された場合、前記検出静電容量の取得を停止して較正処理を行なわせ、
前記検出静電容量が前記基準静電容量よりも小さくかつ前記差分が第一所定値よりも大きい場合、前記較正処理の間に生じた前記静電容量の増加が第二所定値を上回っているかを判断させ、
前記静電容量の増加が前記第二所定値を上回っていないと判断された場合、第二期間だけ前記基準静電容量の更新を停止させ、
前記静電容量の増加が前記第二所定値を上回っていると判断された場合、前記第二期間よりも短い第三期間だけ前記基準静電容量の更新を停止させる。
A sixth aspect for achieving the above object is a computer that causes a control device to control the operation of a capacitance detection unit that detects the capacitance between an electrode and an object as a detection capacitance at a predetermined cycle. a program,
By executing the computer program, the control device
determining whether or not the object is operated based on the difference between the detected capacitance and the reference capacitance;
updating the reference capacitance with the detection capacitance;
If it is determined that the operation has not been performed for the first period, stop acquiring the detected capacitance and perform a calibration process;
if the sensed capacitance is less than the reference capacitance and the difference is greater than a first predetermined value, whether the increase in capacitance occurring during the calibration process exceeds a second predetermined value; to judge
when it is determined that the increase in the capacitance does not exceed the second predetermined value, stopping updating the reference capacitance for a second period;
When it is determined that the increase in the capacitance exceeds the second predetermined value, updating of the reference capacitance is stopped for a third period shorter than the second period.

対象物への操作によって増加した検出静電容量が基準静電容量とされてしまうと、後続する操作によって大きい検出静電容量が取得されても、基準静電容量との差分が小さくなり、対象物への操作がなされた事実が然るべく判断されない虞がある。上記のような構成によれば、このような事態の発生を抑制できる。 If the detected capacitance increased by the operation to the object is taken as the reference capacitance, even if a large detected capacitance is obtained by the subsequent operation, the difference from the reference capacitance becomes small, and the target There is a risk that the fact that an object has been manipulated may not be properly determined. According to the configuration as described above, it is possible to suppress the occurrence of such a situation.

検出静電容量が基準静電容量を下回る現象は、環境ノイズの影響であることが一般的である。したがって、検出静電容量が基準静電容量よりも小さくかつ両者の差分が所定値よりも大きい場合、タッチセンサに環境ノイズが作用している事態が予想される。この場合、制御部は、対象物に操作が行なわれたとは判断せず、環境ノイズ対策処理として基準静電容量の更新を停止する。環境ノイズによって減少した検出静電容量が基準静電容量とされてしまうと、操作が行なわれた場合よりも小さい検出静電容量が取得されても基準静電容量との差分が大きければ、操作がなされたと誤認識される虞がある。上記のような構成によれば、このような事態の発生を抑制できる。 A phenomenon in which the detected capacitance falls below the reference capacitance is generally the effect of environmental noise. Therefore, when the detected capacitance is smaller than the reference capacitance and the difference between the two is larger than a predetermined value, it is expected that environmental noise is acting on the touch sensor. In this case, the control unit does not determine that an operation has been performed on the object, and stops updating the reference capacitance as environmental noise countermeasure processing. If the detected capacitance that has decreased due to environmental noise is taken as the reference capacitance, even if the detected capacitance that is smaller than that obtained when the operation is performed is large, if the difference from the reference capacitance is large, the operation There is a possibility that it is erroneously recognized as having been performed. According to the configuration as described above, it is possible to suppress the occurrence of such a situation.

他方、検出静電容量減少量が所定値よりも大きくなる現象が生じる原因としては、上記の環境ノイズの影響に加え、ユーザの指などが対象物に触れたままの状態で較正処理が終了し、基準静電容量の更新が再開される事態が考えられる。この場合、更新再開後に取得される検出静電容量は、操作がなされた状態の値をとり、当該値が基準静電容量とされる。したがって、ユーザの指などが対象物から離れることにより急速に減少する検出静電容量に基づいて、環境ノイズ対策処理が起動されてしまう。 On the other hand, the cause of the phenomenon that the amount of decrease in the detected capacitance becomes larger than the predetermined value is that, in addition to the environmental noise mentioned above, the user's finger or the like is still in contact with the object when the calibration process ends. , the update of the reference capacitance may be restarted. In this case, the detected capacitance obtained after resuming the update takes the value in the state in which the operation has been performed, and this value is used as the reference capacitance. Therefore, the environmental noise countermeasure processing is activated based on the detected capacitance that rapidly decreases when the user's finger or the like moves away from the object.

制御部は、更新処理中に検出静電容量が急増したかを判断することにより、検出静電容量の減少量が所定値よりも大きくなる現象が生じる原因が環境ノイズによるものなのか、較正処理中の操作によるものなのかを識別している。更新処理は、所定の期間操作が行なわれていないと判断された場合に実行されるので、更新処理中に検出静電容量の増加量が第一所定値を上回る状況下で検出静電容量の減少量が第二所定値を上回る現象が生じた場合、当該現象が較正処理中の操作に起因している可能性が高い。 By determining whether the detected capacitance has increased rapidly during the update process, the control unit determines whether environmental noise is the cause of the phenomenon in which the amount of decrease in the detected capacitance exceeds a predetermined value. It identifies whether it is due to the operation inside. The update process is executed when it is determined that no operation has been performed for a predetermined period of time. If a phenomenon occurs in which the amount of decrease exceeds the second predetermined value, it is highly likely that the phenomenon is caused by manipulation during the calibration process.

したがって、較正処理中に生じた静電容量の増加量が第二所定値以下であると判断された場合、制御部は、環境ノイズ対策として第二期間だけ基準静電容量の更新を停止する。他方、較正処理中に生じた静電容量の増加量が第二所定値より大きいと判断された場合、制御部は、第二期間よりも短い第三期間だけ基準静電容量の更新を停止する。第三期間が第二期間よりも短い理由は、環境ノイズ起因でない状況下において環境ノイズ対策処理が継続されることを回避し、対象物への操作を検出可能な通常状態へより早く復帰するためである。 Therefore, when it is determined that the amount of increase in capacitance that occurred during the calibration process is equal to or less than the second predetermined value, the control unit stops updating the reference capacitance for the second period as a countermeasure against environmental noise. On the other hand, if it is determined that the amount of increase in capacitance that occurred during the calibration process is greater than the second predetermined value, the control unit stops updating the reference capacitance for a third period that is shorter than the second period. . The reason why the third period is shorter than the second period is to avoid continuation of the environmental noise countermeasure processing under circumstances not caused by environmental noise, and to quickly return to the normal state where the operation on the object can be detected. is.

本発明によれば、ノイズ環境下においても正確に対象物への操作を判別可能にできる。 According to the present invention, it is possible to accurately discriminate an operation on an object even in a noisy environment.

一実施形態に係るタッチセンサの機能構成を例示している。1 illustrates a functional configuration of a touch sensor according to one embodiment; 上記のタッチセンサの動作原理を示している。4 shows the principle of operation of the above touch sensor. 上記のタッチセンサの動作の流れの一例を示している。An example of the flow of operation of the above touch sensor is shown. 図3の流れに基づくタッチセンサの動作を例示している。4 illustrates the operation of a touch sensor according to the flow of FIG. 3; 上記のタッチセンサの動作の流れの別例を示している。4 shows another example of the flow of operation of the touch sensor described above. 上記のタッチセンサの動作の流れの別例を示している。4 shows another example of the flow of operation of the touch sensor described above. 図5と図6の流れに基づくタッチセンサの動作を例示している。7 illustrates the operation of a touch sensor according to the flows of FIGS. 5 and 6. FIG.

添付の図面を参照しつつ、実施形態の例について以下詳細に説明する。図1は、一実施形態に係るタッチセンサ1の機能構成を例示している。 Exemplary embodiments are described in detail below with reference to the accompanying drawings. FIG. 1 illustrates the functional configuration of a touch sensor 1 according to one embodiment.

タッチセンサ1は、電極11を備えている。電極11は、ユーザの身体の一部(指Fなど)がタッチ操作を行ないうる対象物2と対向するように配置されている。対象物2は、誘電体である。本明細書で用いられる「タッチ操作」という語は、対象物2に対するユーザの身体の一部の接近または接触を伴う操作を意味する。 The touch sensor 1 includes electrodes 11 . The electrode 11 is arranged so that a part of the user's body (such as the finger F) faces the object 2 on which a touch operation can be performed. Object 2 is a dielectric. The term “touch operation” used in this specification means an operation involving the approach or contact of a part of the user's body with respect to the object 2 .

タッチセンサ1は、静電容量検出部12を備えている。静電容量検出部12は、電極11と対象物2の間の静電容量を検出するための充放電回路121を備えている。 The touch sensor 1 includes a capacitance detection section 12 . The capacitance detection unit 12 has a charging/discharging circuit 121 for detecting the capacitance between the electrode 11 and the object 2 .

充放電回路121は、電極11と電気的に接続されている。充放電回路121は、充電動作と放電動作を行ないうる。充電動作時の充放電回路121は、不図示の電源から供給される電流を電極11へ供給する。放電動作時の充放電回路121は、電極11から電流を放出させる。 The charge/discharge circuit 121 is electrically connected to the electrode 11 . The charging/discharging circuit 121 can perform charging and discharging operations. During the charging operation, the charging/discharging circuit 121 supplies the electrode 11 with a current supplied from a power source (not shown). During the discharge operation, the charge/discharge circuit 121 releases current from the electrode 11 .

電極11に供給された電流により、対象物2の周囲に電界が発生する。ユーザの指Fなどがこの電界に近づくと、電極11との間に疑似的なコンデンサが形成される。これにより、電極11と対象物2の間の静電容量が増加する。静電容量が増加すると、放電動作時における電極11から放出される電流が増加する。 An electric field is generated around the object 2 by the current supplied to the electrode 11 . When the user's finger F or the like approaches this electric field, a pseudo capacitor is formed between it and the electrode 11 . This increases the capacitance between the electrode 11 and the object 2 . As the capacitance increases, the current emitted from the electrode 11 increases during the discharge operation.

タッチセンサ1は、制御装置13を備えている。制御装置13は、制御部131を備えている。制御部131は、充放電回路121の動作を制御する機能を有している。制御部131は、所定の周波数で充放電回路121を動作させる。本明細書で用いられる「所定の周波数で充放電回路を動作させる」という表現は、所定の周波数で充放電回路に充電動作と放電動作を繰り返させることを意味する。 The touch sensor 1 has a control device 13 . The control device 13 includes a control section 131 . The control unit 131 has a function of controlling the operation of the charging/discharging circuit 121 . Control unit 131 operates charging/discharging circuit 121 at a predetermined frequency. The expression "operate the charging/discharging circuit at a predetermined frequency" used in this specification means to cause the charging/discharging circuit to repeat charging and discharging operations at a predetermined frequency.

静電容量検出部12は、変換回路122を備えている。電極11から放出された電流は、変換回路122に入力される。変換回路122は、入力された電流量に応じて発信周波数が変化する回路、および当該回路から出力されるパルスを計数するカウンタを含んでいる。すなわち、変換回路122は、検出された静電容量に対応する電流量に応じた数値を有するデータを出力する。 The capacitance detection unit 12 has a conversion circuit 122 . A current emitted from the electrode 11 is input to the conversion circuit 122 . The conversion circuit 122 includes a circuit whose transmission frequency changes according to the amount of input current, and a counter that counts pulses output from the circuit. That is, the conversion circuit 122 outputs data having a numerical value corresponding to the amount of current corresponding to the detected capacitance.

当該データは、制御部131に入力される。制御部131は、当該データが示す数値に基づいて、電極11と対象物2の間の静電容量を取得できる。このようにして、制御部131は、電極11と対象物2の間の静電容量を、静電容量検出部12に検出させる。 The data is input to the control unit 131 . The controller 131 can acquire the capacitance between the electrode 11 and the object 2 based on the numerical value indicated by the data. In this way, the controller 131 causes the capacitance detector 12 to detect the capacitance between the electrode 11 and the object 2 .

図2に例示されるように、制御部131は、静電容量検出部12に検出させた静電容量に基づいて、対象物2にタッチ操作が行なわれたかを判断する機能も有している。具体的には、制御部131は、電極11と対象物2の間の静電容量を、所定の周期Tで静電容量検出部12に繰り返し検出させる。周期Tは、例えば20ミリ秒である。以降の説明においては、静電容量検出部12によって検出された電極11と対象物2の間の静電容量を、「検出静電容量C」と称する。 As illustrated in FIG. 2, the control unit 131 also has a function of determining whether a touch operation has been performed on the object 2 based on the capacitance detected by the capacitance detection unit 12. . Specifically, the control unit 131 causes the capacitance detection unit 12 to repeatedly detect the capacitance between the electrode 11 and the object 2 at a predetermined cycle T. FIG. A period T is, for example, 20 milliseconds. In the following description, the capacitance between the electrode 11 and the object 2 detected by the capacitance detector 12 is called "detected capacitance C".

ユーザの指Fなどが対象物2に接近すると、前述の通り、電極11と対象物2の間の静電容量が増加する。制御部131は、基準静電容量Crからの増加量が所定の閾値Cthを超えると、対象物2にタッチ操作が行なわれたと判断する。すなわち、基準静電容量Crは、検出された静電容量に基づいて対象物2にタッチ操作が行なわれたかを判断するための基準となる静電容量の値である。図示の例においては、時点t1から時点t2までの間、タッチ操作が行なわれたと判断される。 When the user's finger F or the like approaches the object 2, the capacitance between the electrode 11 and the object 2 increases as described above. The control unit 131 determines that a touch operation has been performed on the object 2 when the amount of increase from the reference capacitance Cr exceeds a predetermined threshold value Cth. That is, the reference capacitance Cr is a value of capacitance that serves as a reference for determining whether a touch operation has been performed on the object 2 based on the detected capacitance. In the illustrated example, it is determined that the touch operation was performed from time t1 to time t2.

図1に示されるように、制御装置13は、記憶部132を備えている。記憶部132は、基準静電容量Crに対応するデータが格納されている。制御部131は、検出された静電容量に対応する変換回路122から入力されたデータと記憶部132に格納されているデータとを比較することにより、上記のタッチ操作が行なわれたかの判断を行なう。 As shown in FIG. 1 , the control device 13 has a storage section 132 . The storage unit 132 stores data corresponding to the reference capacitance Cr. Control unit 131 compares the data input from conversion circuit 122 corresponding to the detected capacitance with the data stored in storage unit 132 to determine whether the touch operation has been performed. .

図2には基準静電容量Crが一定値をとるかのように記載されている。しかしながら、基準静電容量Crは、取得された検出静電容量Cの値で更新される。図3を参照しつつ、制御部131による処理の流れの一例を説明する。 FIG. 2 shows the reference capacitance Cr as if it were a constant value. However, the reference capacitance Cr is updated with the obtained detected capacitance C value. An example of the flow of processing by the control unit 131 will be described with reference to FIG.

制御部131は、検出静電容量Cを取得する(STEP1)。具体的には、制御部131は、検出静電容量Cに対応する数値データを、変換回路122から受け付ける。 The control unit 131 acquires the detected capacitance C (STEP 1). Specifically, the control unit 131 receives numerical data corresponding to the detected capacitance C from the conversion circuit 122 .

続いて、対象物2に対してタッチ操作が行なわれたかが判断される。まず、制御部131は、検出静電容量Cが基準静電容量Crを上回っているかを判断する(STEP2)。具体的には、変換回路122から入力されたデータと記憶部132に格納されているデータとを比較することによって、当該判断がなされる。 Subsequently, it is determined whether a touch operation has been performed on the object 2 . First, the controller 131 determines whether the detected capacitance C exceeds the reference capacitance Cr (STEP 2). Specifically, the determination is made by comparing the data input from the conversion circuit 122 and the data stored in the storage unit 132 .

検出静電容量Cが基準静電容量Crを上回っていると判断されると(STEP2においてYES)、制御部131は、検出静電容量Cの基準静電容量Crからの増加量が所定の閾値Cthを上回っているかを判断する(STEP3)。具体的には、変換回路122から入力されたデータと記憶部132に格納されているデータとを比較することにより、当該判断がなされる。 When it is determined that the detected electrostatic capacitance C exceeds the reference electrostatic capacitance Cr (YES in STEP 2), the controller 131 determines that the amount of increase in the detected electrostatic capacitance C from the reference electrostatic capacitance Cr reaches a predetermined threshold value. It is determined whether or not Cth is exceeded (STEP 3). Specifically, the determination is made by comparing the data input from the conversion circuit 122 and the data stored in the storage unit 132 .

検出静電容量Cの基準静電容量Crからの増加量が所定の閾値Cth以下であると判断されると(STEP3においてNO)、制御部131は、対象物2に対してタッチ操作が行なわれていないと判断する。この場合、制御部131は、検出静電容量Cに対応する数値データで記憶部132に格納されている基準静電容量Crに対応する数値データを更新する(STEP4)。すなわち、検出静電容量Cが、新たな基準静電容量Crになる。処理は、STEP1へ戻り、所定の周期Tに対応する時間の経過後に、次の検出静電容量Cが取得される。 When it is determined that the amount of increase in the detected capacitance C from the reference capacitance Cr is equal to or less than the predetermined threshold value Cth (NO in STEP 3), the control unit 131 performs the touch operation on the object 2. judge that it is not. In this case, the control unit 131 updates the numerical data corresponding to the reference capacitance Cr stored in the storage unit 132 with the numerical data corresponding to the detected capacitance C (STEP 4). That is, the detected capacitance C becomes the new reference capacitance Cr. The process returns to STEP 1, and after a lapse of time corresponding to the predetermined period T, the next detected capacitance C is obtained.

検出静電容量Cの基準静電容量Crからの増加量が所定の閾値Cthを上回っていると判断されると(STEP3においてYES)、制御部131は、対象物2に対してタッチ操作が行なわれたと判断する(STEP5)。この場合、図1に例示されるように、制御部131は、タッチ操作が行なわれたことを示す検出信号Sを出力する。 When it is determined that the amount of increase in the detected capacitance C from the reference capacitance Cr exceeds the predetermined threshold value Cth (YES in STEP 3), the control unit 131 performs the touch operation on the object 2. (STEP 5). In this case, as illustrated in FIG. 1, control unit 131 outputs detection signal S indicating that a touch operation has been performed.

さらに制御部131は、基準静電容量Crの更新を停止し、所定の周期Tごとの検出静電容量Cの取得を継続する(STEP6)。 Furthermore, the control unit 131 stops updating the reference capacitance Cr and continues acquiring the detected capacitance C at predetermined intervals T (STEP 6).

続いて制御部131は、更新が停止されてから第一期間T1が経過したかを判断する(STEP7)。制御部131は、第一期間T1が経過したと判断されるまで、基準静電容量Crを更新することなく所定の周期Tごとの検出静電容量Cの取得を繰り返す(STEP7においてNO)。 Subsequently, the control unit 131 determines whether the first period T1 has passed since the update was stopped (STEP7). The control unit 131 repeats acquisition of the detected capacitance C at each predetermined cycle T without updating the reference capacitance Cr until it is determined that the first period T1 has passed (NO in STEP7).

基準静電容量Crの更新停止から第一期間T1が経過したと判断されると(STEP7においてYES)、制御部131は、識別フラグの値をON状態にする(STEP8)。識別フラグの役割については後述する。識別フラグは、制御部131によって参照される少なくとも1ビットの情報を格納可能な記憶領域である。当該記憶領域は、メモリやレジスタによって提供されうる。 When it is determined that the first period T1 has elapsed since the updating of the reference capacitance Cr was stopped (YES in STEP7), the control section 131 turns the value of the identification flag to the ON state (STEP8). The role of the identification flag will be described later. The identification flag is a storage area capable of storing at least 1-bit information referenced by the control unit 131 . The storage area may be provided by memory or registers.

続いて制御部131は、最新の検出静電容量Cに対応する数値データで記憶部132に格納されている基準静電容量Crに対応する数値データを更新する(STEP4)。すなわち、最新の検出静電容量Cが、新たな基準静電容量Crになる。処理は、STEP1へ戻り、所定の周期Tに対応する時間の経過後に、次の検出静電容量Cが取得される。 Subsequently, the control unit 131 updates the numerical data corresponding to the reference capacitance Cr stored in the storage unit 132 with the numerical data corresponding to the latest detected capacitance C (STEP 4). That is, the latest detected capacitance C becomes the new reference capacitance Cr. The process returns to STEP 1, and after a lapse of time corresponding to the predetermined period T, the next detected capacitance C is obtained.

すなわち、制御部131は、検出静電容量Cが基準静電容量Crよりも大きくかつ両者の差分が所定の閾値Cthよりも大きい場合、第一期間T1だけ基準静電容量Crの更新を停止する。換言すると、対象物2に対してタッチ操作がなされたと判断された場合に、第一期間T1だけ基準静電容量Crの更新が停止される。 That is, when the detected capacitance C is greater than the reference capacitance Cr and the difference between the two is greater than a predetermined threshold value Cth, the control unit 131 stops updating the reference capacitance Cr for the first period T1. . In other words, when it is determined that a touch operation has been performed on the object 2, updating of the reference capacitance Cr is stopped only for the first period T1.

タッチ操作によって増加した検出静電容量Cが基準静電容量Crとされてしまうと、後続するタッチ操作によって大きい検出静電容量Cが取得されても基準静電容量Crとの差分が小さくなり、タッチ操作がなされた事実が然るべく判断されない虞がある。上記のような構成によれば、このような事態の発生を抑制できる。したがって、第一期間T1の長さは、想定されるタッチ操作の継続時間に基づいて定められうる。 If the detected capacitance C increased by the touch operation is taken as the reference capacitance Cr, even if a large detected capacitance C is obtained by subsequent touch operations, the difference from the reference capacitance Cr becomes small. There is a risk that the fact that a touch operation has been performed may not be properly determined. According to the configuration as described above, it is possible to suppress the occurrence of such a situation. Therefore, the length of the first period T1 can be determined based on the assumed duration of the touch operation.

検出静電容量Cが基準静電容量Crを上回っていないと判断されると(STEP2においてNO)、制御部131は、検出静電容量Cの基準静電容量Crからの減少量が所定の閾値Cthを上回っているかを判断する(STEP9)。具体的には、変換回路122から入力されたデータと記憶部132に格納されているデータとを比較することにより、当該判断がなされる。なお、STEP3において使用される閾値CthとSTEP9において使用される閾値Cthは、必ずしも同一であることを要しない。 When it is determined that the detected capacitance C does not exceed the reference capacitance Cr (NO in STEP 2), the controller 131 determines that the amount of decrease in the detected capacitance C from the reference capacitance Cr reaches a predetermined threshold value. It is determined whether or not Cth is exceeded (STEP 9). Specifically, the determination is made by comparing the data input from the conversion circuit 122 and the data stored in the storage unit 132 . Note that the threshold Cth used in STEP 3 and the threshold Cth used in STEP 9 are not necessarily the same.

検出静電容量Cの基準静電容量Crからの減少量が所定の閾値Cth以下であると判断されると(STEP9においてNO)、制御部131は、検出静電容量Cに対応する数値データで記憶部132に格納されている基準静電容量Crに対応する数値データを更新する(STEP4)。すなわち、検出静電容量Cが、新たな基準静電容量Crになる。処理は、STEP1へ戻り、所定の周期Tに対応する時間の経過後に、次の検出静電容量Cが取得される。 When it is determined that the amount of decrease in the detected capacitance C from the reference capacitance Cr is equal to or less than the predetermined threshold value Cth (NO in STEP 9), the control unit 131 converts numerical data corresponding to the detected capacitance C to Numerical data corresponding to the reference capacitance Cr stored in the storage unit 132 is updated (STEP 4). That is, the detected capacitance C becomes the new reference capacitance Cr. The process returns to STEP 1, and after a lapse of time corresponding to the predetermined period T, the next detected capacitance C is obtained.

検出静電容量Cの基準静電容量Crからの減少量が所定の閾値Cthを上回っていると判断されると(STEP9においてYES)、制御部131は、識別フラグの値がON状態であるかを判断する(STEP10)。 When it is determined that the amount of decrease in the detected capacitance C from the reference capacitance Cr exceeds the predetermined threshold value Cth (YES in STEP 9), the control unit 131 determines whether the value of the identification flag is ON. (STEP 10).

識別フラグの値がON状態でないと判断されると(STEP10においてNO)、制御部131は、基準静電容量Crの更新を停止し、所定の周期Tごとの検出静電容量Cの取得を継続する(STEP11)。 When it is determined that the value of the identification flag is not ON (NO in STEP 10), the control unit 131 stops updating the reference capacitance Cr and continues acquiring the detected capacitance C at each predetermined cycle T. (STEP 11).

続いて制御部131は、更新が停止されてから第二期間T2が経過したかを判断する(STEP12)。制御部131は、第二期間T2が経過したと判断されるまで、基準静電容量Crを更新することなく所定の周期Tごとの検出静電容量の取得を繰り返す(STEP12においてNO)。 Subsequently, the control unit 131 determines whether the second period T2 has passed since the update was stopped (STEP 12). The control unit 131 repeats acquisition of the detected capacitance for each predetermined cycle T without updating the reference capacitance Cr until it is determined that the second period T2 has elapsed (NO in STEP12).

基準静電容量Crの更新停止から第二期間T2が経過したと判断されると(STEP12においてYES)、制御部131は、最新の検出静電容量Cに対応する数値データで記憶部132に格納されている基準静電容量Crに対応する数値データを更新する(STEP4)。すなわち、最新の検出静電容量Cが、新たな基準静電容量Crになる。処理は、STEP1へ戻り、所定の周期Tに対応する時間の経過後に、次の検出静電容量Cが取得される。 When it is determined that the second period T2 has elapsed since the updating of the reference capacitance Cr was stopped (YES in STEP 12), the control unit 131 stores numerical data corresponding to the latest detected capacitance C in the storage unit 132. Numerical data corresponding to the reference capacitance Cr that has been set is updated (STEP 4). That is, the latest detected capacitance C becomes the new reference capacitance Cr. The process returns to STEP 1, and after a lapse of time corresponding to the predetermined period T, the next detected capacitance C is obtained.

他方、識別フラグの値がON状態であると判断されると(STEP10においてYES)、制御部131は、基準静電容量Crの更新を停止し、所定の周期Tごとの検出静電容量Cの取得を継続する(STEP13)。 On the other hand, when it is determined that the value of the identification flag is ON (YES in STEP 10), the control unit 131 stops updating the reference capacitance Cr, and changes the detected capacitance C every predetermined cycle T. Acquisition is continued (STEP 13).

続いて制御部131は、更新が停止されてから第三期間T3が経過したかを判断する(STEP14)。第三期間T3は、第二期間T2よりも短い。制御部131は、第三期間T3が経過したと判断されるまで、基準静電容量Crを更新することなく所定の周期Tごとの検出静電容量の取得を繰り返す(STEP14においてNO)。 Subsequently, the control unit 131 determines whether or not the third period T3 has elapsed since the update was stopped (STEP 14). The third period T3 is shorter than the second period T2. The control unit 131 repeats acquisition of the detected capacitance for each predetermined period T without updating the reference capacitance Cr until it is determined that the third period T3 has passed (NO in STEP14).

基準静電容量Crの更新停止から第三期間T3が経過したと判断されると(STEP14においてYES)、制御部131は、最新の検出静電容量Cに対応する数値データで記憶部132に格納されている基準静電容量Crに対応する数値データを更新する(STEP4)。すなわち、最新の検出静電容量Cが、新たな基準静電容量Crになる。処理は、STEP1へ戻り、所定の周期Tに対応する時間の経過後に、次の検出静電容量Cが取得される。その際、識別フラグの値は、OFF状態にリセットされる。 When it is determined that the third period T3 has passed since the update of the reference capacitance Cr was stopped (YES in STEP 14), the control unit 131 stores numerical data corresponding to the latest detected capacitance C in the storage unit 132. Numerical data corresponding to the reference capacitance Cr that has been set is updated (STEP 4). That is, the latest detected capacitance C becomes the new reference capacitance Cr. The process returns to STEP 1, and after a lapse of time corresponding to the predetermined period T, the next detected capacitance C is acquired. At that time, the value of the identification flag is reset to the OFF state.

検出静電容量Cが基準静電容量Crを下回る現象は、環境ノイズの影響であることが一般的である。したがって、検出静電容量Cが基準静電容量Crよりも小さくかつ両者の差分が所定の閾値Cthよりも大きい場合、タッチセンサ1に環境ノイズが作用している事態が予想される。この場合、制御部131は、対象物2にタッチ操作が行なわれたとは判断せず、環境ノイズ対策処理として基準静電容量Crの更新を停止する。 A phenomenon in which the detected capacitance C falls below the reference capacitance Cr is generally due to environmental noise. Therefore, when the detected capacitance C is smaller than the reference capacitance Cr and the difference between them is larger than the predetermined threshold value Cth, it is expected that environmental noise is acting on the touch sensor 1 . In this case, the control unit 131 does not determine that the touch operation has been performed on the object 2, and stops updating the reference capacitance Cr as the environmental noise countermeasure processing.

環境ノイズによって減少した検出静電容量Cが基準静電容量Crとされてしまうと、タッチ操作が行なわれた場合よりも小さい検出静電容量Cが取得されても、基準静電容量Crとの差分が大きければ、タッチ操作がなされたと誤認識される虞がある。上記のような構成によれば、このような事態の発生を抑制できる。 If the detected capacitance C that has decreased due to environmental noise is used as the reference capacitance Cr, even if a detected capacitance C that is smaller than when a touch operation is performed is obtained, the difference between the detected capacitance C and the reference capacitance Cr is reduced. If the difference is large, there is a possibility that the touch operation is erroneously recognized. According to the configuration as described above, it is possible to suppress the occurrence of such a situation.

他方、検出静電容量Cの減少量が所定の閾値Cthよりも大きくなる現象が生じる原因としては、上記の環境ノイズの影響に加え、ユーザの指Fなどが対象物2に触れたままの状態で第一期間T1が満了し、基準静電容量Crの更新が再開される事態が考えられる。この場合、更新再開後に取得される検出静電容量Cは、タッチ操作がなされた状態の値をとり、当該値が基準静電容量Crとされる。したがって、ユーザの指Fなどが対象物2から離れることにより急速に減少する検出静電容量Cに基づいて、環境ノイズ対策処理が起動されてしまう。 On the other hand, the phenomenon that the amount of decrease in the detected capacitance C becomes larger than the predetermined threshold value Cth is caused by, in addition to the influence of the environmental noise, a state in which the user's finger F or the like is in contact with the object 2. , the first period T1 expires, and the update of the reference capacitance Cr is restarted. In this case, the detected capacitance C obtained after resuming the update takes the value in the state where the touch operation is performed, and this value is used as the reference capacitance Cr. Therefore, based on the detected capacitance C that rapidly decreases when the user's finger F or the like moves away from the object 2, the environmental noise countermeasure processing is activated.

制御部131は、第一期間T1の更新停止がなされた場合にON状態とされる識別フラグを参照することにより、検出静電容量Cの減少量が所定の閾値Cthよりも大きくなる現象が生じる原因が環境ノイズによるものなのか、タッチ状態の維持によるものなのかを識別している。すなわち、制御部131は、検出静電容量Cが基準静電容量Crよりも小さくかつ両者の差分が所定の閾値Cthよりも大きい場合、第一期間T1の基準静電容量Crの更新停止がなされたかを判断する。識別フラグは、タッチ操作がなされたと判断された場合にON状態とされる。したがって、識別フラグがON状態のまま検出静電容量Cの減少量が所定の閾値Cthよりも大きくなる現象が生じた場合、当該現象がタッチ状態の維持に起因している可能性が高い。 The control unit 131 refers to the identification flag that is turned ON when the update is stopped during the first period T1, thereby causing a phenomenon in which the amount of decrease in the detected electrostatic capacitance C becomes larger than the predetermined threshold value Cth. It identifies whether the cause is environmental noise or the maintenance of the touch state. That is, when the detected capacitance C is smaller than the reference capacitance Cr and the difference between the two is greater than the predetermined threshold value Cth, the control unit 131 stops updating the reference capacitance Cr in the first period T1. determine whether or not The identification flag is turned ON when it is determined that a touch operation has been performed. Therefore, when a phenomenon occurs in which the amount of decrease in the detected capacitance C becomes larger than the predetermined threshold value Cth while the identification flag is in the ON state, there is a high possibility that the phenomenon is caused by maintaining the touch state.

したがって、第一期間T1の基準静電容量Crの更新停止がなされていないと判断された場合、制御部131は、環境ノイズ対策として第二期間T2だけ基準静電容量Crの更新を停止する。第二期間T2の長さは、想定される環境ノイズの継続時間に基づいて定めされうる。 Therefore, when it is determined that the update of the reference capacitance Cr has not been stopped in the first period T1, the control unit 131 stops the update of the reference capacitance Cr only in the second period T2 as an environmental noise countermeasure. The length of the second period T2 may be determined based on the expected duration of environmental noise.

他方、第一期間T1の基準静電容量Crの更新停止がなされたと判断された場合、制御部131は、第二期間T2よりも短い第三期間T3だけ基準静電容量Crの更新を停止する。第三期間T3が第二期間T2よりも短い理由は、環境ノイズ起因でない状況下において環境ノイズ対策処理が継続されることを回避し、タッチ操作を検出可能な通常状態へより早く復帰するためである。 On the other hand, when it is determined that the updating of the reference capacitance Cr for the first period T1 has been stopped, the control unit 131 stops updating the reference capacitance Cr for a third period T3 shorter than the second period T2. . The reason why the third period T3 is shorter than the second period T2 is to avoid continuation of the environmental noise countermeasure processing under circumstances not caused by environmental noise, and to quickly return to a normal state in which touch operations can be detected. be.

上記のような構成によれば、ノイズ環境下においても正確にタッチ操作を判別可能にできる。 According to the configuration as described above, it is possible to accurately determine a touch operation even in a noisy environment.

図4を参照しつつ、図3に示されるように構成されたタッチセンサ1の動作例を説明する。図4において、黒丸は、所定の周期Tごとに取得される検出静電容量Cを表している。白丸は、検出静電容量Cが取得された時点において参照される基準静電容量Crを表している。 An operation example of the touch sensor 1 configured as shown in FIG. 3 will be described with reference to FIG. In FIG. 4, the black circles represent the detected capacitance C acquired at each predetermined period T. In FIG. A white circle represents the reference capacitance Cr referred to when the detected capacitance C is obtained.

時点t1において取得された検出静電容量Cは、当該時点における基準静電容量Crよりも大きい(図3のSTEP2におけるYESに対応)。したがって、検出静電容量Cの基準静電容量Crからの増加量が閾値Cthを上回っているかが判断される(図3のSTEP3に対応)。 The detected capacitance C acquired at time t1 is greater than the reference capacitance Cr at that time (corresponding to YES in STEP2 of FIG. 3). Therefore, it is determined whether the amount of increase in the detected capacitance C from the reference capacitance Cr exceeds the threshold value Cth (corresponding to STEP 3 in FIG. 3).

本例においては、時点t1における検出静電容量Cと基準静電容量Crとの差分は、閾値Cthを上回っていない(図3のSTEP2におけるNOに対応)。したがって、時点t1において取得された検出静電容量Cによって基準静電容量Crが更新される(図3のSTEP4に対応)。すなわち、時点t1において取得された検出静電容量Cは、所定の周期Tに対応する時間が経過した後の時点t2において取得される検出静電容量Cに対する基準静電容量Crとなる。 In this example, the difference between the detected capacitance C and the reference capacitance Cr at time t1 does not exceed the threshold value Cth (corresponding to NO in STEP2 in FIG. 3). Therefore, the reference capacitance Cr is updated by the detected capacitance C obtained at time t1 (corresponding to STEP4 in FIG. 3). That is, the detected capacitance C obtained at time t1 becomes the reference capacitance Cr for the detected capacitance C obtained at time t2 after the time corresponding to the predetermined cycle T has elapsed.

時点t2において取得された検出静電容量Cは、当該時点における基準静電容量Crよりも大きい(図3のSTEP2におけるYESに対応)。したがって、検出静電容量Cの基準静電容量Crからの増加量が閾値Cthを上回っているかが判断される(図3のSTEP6に対応)。 The detected capacitance C acquired at time t2 is greater than the reference capacitance Cr at that time (corresponding to YES in STEP2 of FIG. 3). Therefore, it is determined whether or not the amount of increase in the detected capacitance C from the reference capacitance Cr exceeds the threshold value Cth (corresponding to STEP 6 in FIG. 3).

本例においては、時点t2において取得された検出静電容量Cと基準静電容量Crとの差分は、閾値Cthを上回っている(図3のSTEP3におけるYESに対応)。したがって、対象物2に対してタッチ操作が行なわれたと判断される(図3のSTEP5に対応)。 In this example, the difference between the detected capacitance C and the reference capacitance Cr obtained at time t2 exceeds the threshold Cth (corresponding to YES in STEP3 of FIG. 3). Therefore, it is determined that a touch operation has been performed on the object 2 (corresponding to STEP 5 in FIG. 3).

この場合、基準静電容量Crの更新が停止され、所定の周期Tに対応する時間が経過する度に、検出静電容量Cの取得が繰り返される(図3のSTEP6に対応)。検出静電容量Cが取得される度に、基準静電容量Crの更新停止から第一期間T1が経過したかが判断される(図3のSTEP7に対応)。 In this case, the updating of the reference capacitance Cr is stopped, and the acquisition of the detected capacitance C is repeated each time the time corresponding to the predetermined cycle T elapses (corresponding to STEP 6 in FIG. 3). Each time the detected capacitance C is acquired, it is determined whether the first period T1 has passed since the update of the reference capacitance Cr was stopped (corresponding to STEP7 in FIG. 3).

本例においては、時点t6において第一期間T1が満了している(図3のSTEP7におけるYESに対応)。したがって、識別フラグがON状態にされ(図3のSTEP8に対応)、時点t6において取得された検出静電容量Cによって基準静電容量Crが更新される(図3のSTEP4に対応)。すなわち、時点t6において取得された検出静電容量Cは、所定の周期Tに対応する時間が経過した後の時点t7において取得される検出静電容量Cに対する基準静電容量Crとなる。 In this example, the first period T1 expires at time t6 (corresponding to YES in STEP7 of FIG. 3). Therefore, the identification flag is turned ON (corresponding to STEP8 in FIG. 3), and the reference capacitance Cr is updated by the detected capacitance C obtained at time t6 (corresponding to STEP4 in FIG. 3). That is, the detected capacitance C obtained at time t6 becomes the reference capacitance Cr for the detected capacitance C obtained at time t7 after the time corresponding to the predetermined cycle T has elapsed.

時点t7において取得された検出静電容量Cは、当該時点における基準静電容量Crよりも小さい(図3のSTEP2におけるNOに対応)。したがって、検出静電容量Cの基準静電容量Crからの減少量が閾値Cthを上回っているかが判断される(図3のSTEP9に対応)。 The detected capacitance C acquired at time t7 is smaller than the reference capacitance Cr at that time (corresponding to NO in STEP2 in FIG. 3). Therefore, it is determined whether or not the amount of decrease in the detected capacitance C from the reference capacitance Cr exceeds the threshold value Cth (corresponding to STEP9 in FIG. 3).

本例においては、時点t7において取得された検出静電容量Cと基準静電容量Crとの差分は、閾値Cthを上回っていない(図3のSTEP9におけるNOに対応)。したがって、時点t7において取得された検出静電容量Cによって基準静電容量Crが更新される(図3のSTEP4に対応)。すなわち、時点t7において取得された検出静電容量Cは、所定の周期Tに対応する時間が経過した後の時点t8において取得される検出静電容量Cに対する基準静電容量Crとなる。また、識別フラグはリセットされ、OFF状態となる。 In this example, the difference between the detected capacitance C and the reference capacitance Cr acquired at time t7 does not exceed the threshold value Cth (corresponding to NO in STEP9 in FIG. 3). Therefore, the reference capacitance Cr is updated by the detected capacitance C acquired at time t7 (corresponding to STEP4 in FIG. 3). That is, the detected capacitance C obtained at time t7 becomes the reference capacitance Cr for the detected capacitance C obtained at time t8 after the time corresponding to the predetermined cycle T has elapsed. Also, the identification flag is reset and turned off.

時点t8において取得された検出静電容量Cは、当該時点における基準静電容量Crよりも小さい(図3のSTEP2におけるNOに対応)。したがって、検出静電容量Cの基準静電容量Crからの減少量が閾値Cthを上回っているかが判断される(図3のSTEP9に対応)。 The detected capacitance C acquired at time t8 is smaller than the reference capacitance Cr at that time (corresponding to NO in STEP2 in FIG. 3). Therefore, it is determined whether or not the amount of decrease in the detected capacitance C from the reference capacitance Cr exceeds the threshold value Cth (corresponding to STEP9 in FIG. 3).

本例においては、時点t8において取得された検出静電容量Cと基準静電容量Crとの差分は、閾値Cthを上回っている(図3のSTEP9におけるYESに対応)。したがって、識別フラグがON状態であるかが判断される(図3のSTEP10に対応)。 In this example, the difference between the detected capacitance C and the reference capacitance Cr obtained at time t8 exceeds the threshold Cth (corresponding to YES in STEP9 of FIG. 3). Therefore, it is determined whether the identification flag is ON (corresponding to STEP 10 in FIG. 3).

本例においては、時点t7において識別フラグがリセットされているので、ON状態ではない(図3のSTEP10におけるNOに対応)。したがって、検出静電容量Cの急速な低下は、環境ノイズの影響であると判断される。この場合、基準静電容量Crの更新が停止され、所定の周期Tに対応する時間が経過する度に、検出静電容量Cの取得が繰り返される(図3のSTEP11に対応)。検出静電容量Cが取得される度に、基準静電容量Crの更新停止から第二期間T2が経過したかが判断される(図3のSTEP12に対応)。 In this example, the identification flag is reset at time t7, so it is not in the ON state (corresponding to NO in STEP10 in FIG. 3). Therefore, the rapid drop in the detected capacitance C is determined to be the effect of environmental noise. In this case, the updating of the reference capacitance Cr is stopped, and the acquisition of the detected capacitance C is repeated every time the time corresponding to the predetermined period T elapses (corresponding to STEP 11 in FIG. 3). Each time the detected capacitance C is obtained, it is determined whether the second period T2 has elapsed since the update of the reference capacitance Cr was stopped (corresponding to STEP 12 in FIG. 3).

本例においては、時点t14において第二期間T2が満了している(図3のSTEP12におけるYESに対応)。したがって、時点t14において取得された検出静電容量Cによって基準静電容量Crが更新される(図3のSTEP4に対応)。すなわち、時点t14において取得された検出静電容量Cは、所定の周期Tに対応する時間が経過した後の時点t15において取得される検出静電容量Cに対する基準静電容量Crとなる。 In this example, the second period T2 expires at time t14 (corresponding to YES in STEP12 of FIG. 3). Therefore, the reference capacitance Cr is updated with the detected capacitance C acquired at time t14 (corresponding to STEP4 in FIG. 3). That is, the detected capacitance C acquired at time t14 becomes the reference capacitance Cr for the detected capacitance C acquired at time t15 after the time corresponding to the predetermined period T has elapsed.

図4に例示される黒三角は、時点t4以降も対象物2に対するタッチ状態が維持された場合において所定の周期Tごとに取得される検出静電容量Cを表している。白三角は、同場合に検出静電容量Cが取得された時点において参照される基準静電容量Crを表している。 The black triangles illustrated in FIG. 4 represent the detected capacitance C that is acquired every predetermined period T when the touch state on the object 2 is maintained after time t4. A white triangle represents the reference capacitance Cr that is referenced when the detected capacitance C is obtained in the same case.

前述の通り、時点t6において第一期間T1が満了している(図3のSTEP7におけるYESに対応)。したがって、識別フラグがON状態にされ(図3のSTEP8に対応)、時点t6において取得された検出静電容量Cによって基準静電容量Crが更新される(図3のSTEP4に対応)。時点t6においては対象物2に対するタッチ状態が維持されているので、時点t6において取得された検出静電容量Cは、大きい値を有している。時点t6において取得された検出静電容量Cは、所定の周期Tに対応する時間が経過した後の時点t7において取得される検出静電容量Cに対する基準静電容量Crとなる。時点t7における基準静電容量Crもまた、大きい値を有している。 As described above, the first period T1 expires at time t6 (corresponding to YES in STEP7 of FIG. 3). Therefore, the identification flag is turned ON (corresponding to STEP8 in FIG. 3), and the reference capacitance Cr is updated by the detected capacitance C obtained at time t6 (corresponding to STEP4 in FIG. 3). Since the touch state with respect to the object 2 is maintained at time t6, the detected capacitance C obtained at time t6 has a large value. The detected capacitance C obtained at time t6 becomes a reference capacitance Cr with respect to the detected capacitance C obtained at time t7 after the time corresponding to the predetermined cycle T has elapsed. The reference capacitance Cr at time t7 also has a large value.

ユーザの指Fなどが対象物2から離れると、検出静電容量Cは急速に低下する。本例においては、時点t8においてこの現象が生じている。したがって、時点t8において取得された検出静電容量Cと基準静電容量Crとの差分は、閾値Cthを上回っている(図3のSTEP9におけるYESに対応)。したがって、識別フラグがON状態であるかが判断される(図3のSTEP10に対応)。 When the user's finger F or the like moves away from the object 2, the detected capacitance C rapidly decreases. In this example, this phenomenon occurs at time t8. Therefore, the difference between the detected capacitance C and the reference capacitance Cr acquired at time t8 exceeds the threshold value Cth (corresponding to YES in STEP9 of FIG. 3). Therefore, it is determined whether the identification flag is ON (corresponding to STEP 10 in FIG. 3).

本例においては、時点t6においてON状態とされた識別フラグの値が維持されている(図3のSTEP10におけるYESに対応)。したがって、検出静電容量Cの急速な低下は、タッチ状態の維持が解消されたためと判断される。この場合、基準静電容量Crの更新が停止され、所定の周期Tに対応する時間が経過する度に、検出静電容量Cの取得が繰り返される(図3のSTEP13に対応)。検出静電容量Cが取得される度に、基準静電容量Crの更新停止から第三期間T3が経過したかが判断される(図3のSTEP14に対応)。 In this example, the value of the identification flag turned ON at time t6 is maintained (corresponding to YES in STEP10 in FIG. 3). Therefore, it is determined that the rapid decrease in the detected capacitance C is due to the cancellation of the maintenance of the touch state. In this case, the updating of the reference capacitance Cr is stopped, and the acquisition of the detected capacitance C is repeated each time the time corresponding to the predetermined cycle T elapses (corresponding to STEP 13 in FIG. 3). Each time the detected capacitance C is acquired, it is determined whether or not the third period T3 has elapsed since the update of the reference capacitance Cr was stopped (corresponding to STEP 14 in FIG. 3).

本例においては、時点t10において第三期間T3が満了している(図3のSTEP14におけるYESに対応)。したがって、時点t10において取得された検出静電容量Cによって基準静電容量Crが更新される(図3のSTEP4に対応)。すなわち、時点t10において取得された検出静電容量Cは、所定の周期Tに対応する時間が経過した後の時点t11において取得される検出静電容量Cに対する基準静電容量Crとなる。また、識別フラグはリセットされ、OFF状態となる。 In this example, the third period T3 expires at time t10 (corresponding to YES in STEP14 of FIG. 3). Therefore, the reference capacitance Cr is updated with the detected capacitance C obtained at time t10 (corresponding to STEP4 in FIG. 3). That is, the detected capacitance C acquired at time t10 becomes the reference capacitance Cr for the detected capacitance C acquired at time t11 after the time corresponding to the predetermined cycle T has elapsed. Also, the identification flag is reset and turned off.

これにより、タッチセンサ1は、再びタッチ操作の検出が可能な状態とされる。本例においては、時点t12においてタッチ操作が行なわれたとの判断がなされ、基準静電容量Crの更新が第一期間T1だけ停止されている。 As a result, the touch sensor 1 is brought into a state capable of detecting a touch operation again. In this example, it is determined that the touch operation has been performed at time t12, and updating of the reference capacitance Cr is stopped for the first period T1.

第三期間T3の長さは、このように後続するタッチ操作がなされる前に基準静電容量Crの更新停止が終了しているように定められることが好ましい。例えば、第三期間T3の長さは、ダブルタッピングのようにタッチ操作が繰り返される場合において想定される複数のタッチ操作間の時間間隔よりも短くなるように定められうる。 It is preferable that the length of the third period T3 is determined such that updating of the reference capacitance Cr is stopped before the subsequent touch operation is performed. For example, the length of the third period T3 can be set to be shorter than the time interval between a plurality of touch operations assumed when touch operations are repeated such as double tapping.

このような構成によれば、検出静電容量Cの急速な低下が環境ノイズの影響によるものと誤認され、後続するタッチ操作を然るべく認識できない事態の発生を抑制できる。 According to such a configuration, it is possible to suppress the occurrence of a situation in which a rapid decrease in the detection capacitance C is misidentified as being caused by environmental noise, and subsequent touch operations cannot be properly recognized.

次に、図5を参照しつつ、制御部131により行われる処理の別例について説明する。図3に例示したステップと実質的に同一のステップには同一の参照符号を付与し、繰り返しとなる説明は省略する。 Next, another example of processing performed by the control unit 131 will be described with reference to FIG. Steps that are substantially the same as the steps illustrated in FIG. 3 are given the same reference numerals, and repeated descriptions are omitted.

本例においては、所定の期間タッチ操作が行なわれていないと判断された場合、制御部131は、較正処理を実行する。較正処理は、検出静電容量Cの取得を停止して行なわれる。較正処理が行なわれている間は、基準静電容量Crの更新も停止される。所定の期間タッチ操作が行なわれていないことの判断は、図6に例示される処理によって行なわれうる。 In this example, when it is determined that no touch operation has been performed for a predetermined period of time, control unit 131 executes calibration processing. The calibration process is performed with the acquisition of the detected capacitance C stopped. While the calibration process is being performed, updating of the reference capacitance Cr is also stopped. Determination that a touch operation has not been performed for a predetermined period of time can be performed by the processing illustrated in FIG. 6 .

図6に例示される処理は、検出静電容量Cと基準静電容量Crの差分が所定の閾値Cth以下である場合になされる基準静電容量Crの更新後に開始される(図5のSTEP3におけるNO、またはSTEP9におけるNOに続くSTEP4)。 The process illustrated in FIG. 6 is started after updating the reference capacitance Cr when the difference between the detected capacitance C and the reference capacitance Cr is equal to or less than a predetermined threshold value Cth (STEP 3 in FIG. 5). STEP4) following NO in STEP9 or NO in STEP9.

制御部131は、内部カウンタの値nを一つ増加する(STEP31)。続いて、制御部131は、内部カウンタの値nが所定の値Nに達しているかを判断する(STEP32)。Nの値は、「所定の期間」を周期Tで除算した数に対応する。内部カウンタの値nが所定の値Nに達していなければ(STEP32においてYES)、処理はSTEP1に戻り、所定の周期Tに対応する時間の経過後に、次の検出静電容量Cが取得される。タッチ操作が行なわれたとの判断がなされなければ、上記の処理が繰り返されて内部カウンタの値nは増加していく。 The control unit 131 increments the value n of the internal counter by one (STEP 31). Subsequently, the control unit 131 determines whether the value n of the internal counter has reached a predetermined value N (STEP 32). The value of N corresponds to the "predetermined period" divided by the period T. If the value n of the internal counter has not reached the predetermined value N (YES in STEP32), the process returns to STEP1, and after the time corresponding to the predetermined cycle T has elapsed, the next detected capacitance C is acquired. . If it is not determined that a touch operation has been performed, the above processing is repeated and the value n of the internal counter is incremented.

内部カウンタの値nが所定の値Nに達すると(STEP32においてNO)、制御部131は、その時点における基準静電容量Crを記憶部132に保存し(STEP33)、較正処理を開始する(STEP34)。 When the value n of the internal counter reaches a predetermined value N (NO in STEP 32), the control unit 131 saves the reference capacitance Cr at that point in the storage unit 132 (STEP 33), and starts the calibration process (STEP 34). ).

較正処理が終了すると、制御部131は、検出静電容量Cを取得する。さらに制御部131は、検出静電容量Cが基準静電容量Crよりも大きくかつ両者の差分が所定の閾値Cthを上回っているかを判断する(STEP35)。具体的には、変換回路122から入力されたデータとSTEP23において記憶部132に格納されている基準静電容量Crに対応するデータとが比較に供される。 After the calibration process is finished, the controller 131 acquires the detected capacitance C. FIG. Furthermore, the control unit 131 determines whether the detected capacitance C is greater than the reference capacitance Cr and the difference between them exceeds a predetermined threshold value Cth (STEP 35). Specifically, the data input from the conversion circuit 122 and the data corresponding to the reference capacitance Cr stored in the storage unit 132 in STEP 23 are compared.

この処理は、較正処理中に対象物2へのタッチ操作が行なわれたかを判断するために行なわれる。較正処理は所定の期間タッチ操作がなされていないことを前提に実行されるので、較正処理開始時における検出静電容量Cは、比較的小さい値をとる。較正処理中にユーザの指Fなどが対象物2に触れると、検出静電容量Cは増大する。このような状況下で較正処理終了直後に取得される検出静電容量Cは、較正処理開始前の基準静電容量Crよりも大きく、かつ両者の差分は、所定の閾値Cthを上回るはずである。 This process is performed to determine whether a touch operation has been performed on the object 2 during the calibration process. Since the calibration process is performed on the premise that no touch operation has been performed for a predetermined period of time, the detected capacitance C at the start of the calibration process takes a relatively small value. When the user's finger F or the like touches the object 2 during the calibration process, the detected capacitance C increases. Under such circumstances, the detected capacitance C obtained immediately after the calibration process is finished should be larger than the reference capacitance Cr before the calibration process is started, and the difference between the two should exceed the predetermined threshold value Cth. .

検出静電容量Cが基準静電容量Crよりも大きくかつ両者の差分が所定の閾値Cthを上回っていると判断されると(STEP35においてYES)、制御部131は、識別フラグをON状態にする(STEP36)。識別フラグの役割については後述する。識別フラグは、制御部131によって参照される少なくとも1ビットの情報を格納可能な記憶領域である。当該記憶領域は、メモリやレジスタによって提供されうる。 When it is determined that the detected capacitance C is greater than the reference capacitance Cr and that the difference between the two exceeds the predetermined threshold value Cth (YES in STEP35), the control unit 131 turns the identification flag ON. (STEP36). The role of the identification flag will be described later. The identification flag is a storage area capable of storing at least 1-bit information referenced by the control unit 131 . The storage area may be provided by memory or registers.

制御部131は、較正処理の終了時に取得された検出静電容量Cで基準静電容量Crを更新する(STEP37)。その後、処理はSTEP1に戻り、所定の周期Tに対応する時間の経過後に、次の検出静電容量Cが取得される。較正処理の終了時に取得された検出静電容量Cが基準静電容量Crよりも大きく、かつ両者の差分が所定の閾値Cthを上回っていないと判断されると(STEP35においてNO)、制御部131は、識別フラグの値を変更することなく、較正処理の終了時に取得された検出静電容量Cで基準静電容量Crを更新する(STEP37)。その後、処理はSTEP1に戻る。 The control unit 131 updates the reference capacitance Cr with the detected capacitance C acquired at the end of the calibration process (STEP 37). After that, the process returns to STEP 1, and after a lapse of time corresponding to the predetermined cycle T, the next detected capacitance C is acquired. If it is determined that the detected capacitance C acquired at the end of the calibration process is greater than the reference capacitance Cr and the difference between the two does not exceed the predetermined threshold value Cth (NO in STEP 35), the control unit 131 updates the reference capacitance Cr with the detected capacitance C acquired at the end of the calibration process without changing the value of the identification flag (STEP 37). After that, the process returns to STEP1.

続いて取得された検出静電容量Cが基準静電容量Cr以下であり、かつ両者の差分が所定の閾値Cthを上回っている場合(STEP2においてNO;STEP9においてYES)、制御部131は、識別フラグの値がON状態であるかを判断する(STEP20)。 If the subsequently acquired detected capacitance C is equal to or less than the reference capacitance Cr and the difference between the two exceeds a predetermined threshold value Cth (NO in STEP2; YES in STEP9), the control unit 131 identifies It is determined whether the value of the flag is ON (STEP 20).

識別フラグの値がON状態でないと判断されると(STEP20においてNO)、制御部131は、基準静電容量Crの更新を停止し、所定の周期Tごとの検出静電容量Cの取得を継続する(STEP21)。 When it is determined that the value of the identification flag is not ON (NO in STEP 20), the control unit 131 stops updating the reference capacitance Cr and continues acquiring the detected capacitance C for each predetermined cycle T. (STEP 21).

続いて制御部131は、更新が停止されてから第二期間T2が経過したかを判断する(STEP22)。制御部131は、第二期間T2が経過したと判断されるまで、基準静電容量Crを更新することなく所定の周期Tごとの検出静電容量の取得を繰り返す(STEP22においてNO)。 Subsequently, the control unit 131 determines whether the second period T2 has passed since the update was stopped (STEP 22). The control unit 131 repeats acquisition of the detected capacitance for each predetermined cycle T without updating the reference capacitance Cr until it is determined that the second period T2 has elapsed (NO in STEP22).

基準静電容量Crの更新停止から第二期間T2が経過したと判断されると(STEP22においてYES)、制御部131は、最新の検出静電容量Cに対応する数値データで記憶部132に格納されている基準静電容量Crに対応する数値データを更新する(STEP4)。すなわち、最新の検出静電容量Cが、新たな基準静電容量Crになる。処理は、STEP1へ戻り、所定の周期Tに対応する時間の経過後に、次の検出静電容量Cが取得される。その際、識別フラグの値は、OFF状態にリセットされる。 When it is determined that the second period T2 has elapsed since the updating of the reference capacitance Cr was stopped (YES in STEP 22), the control unit 131 stores numerical data corresponding to the latest detected capacitance C in the storage unit 132. Numerical data corresponding to the reference capacitance Cr that has been set is updated (STEP 4). That is, the latest detected capacitance C becomes the new reference capacitance Cr. The process returns to STEP 1, and after a lapse of time corresponding to the predetermined period T, the next detected capacitance C is obtained. At that time, the value of the identification flag is reset to the OFF state.

他方、識別フラグの値がON状態であると判断されると(STEP20においてYES)、制御部131は、基準静電容量Crの更新を停止し、所定の周期Tごとの検出静電容量Cの取得を継続する(STEP23)。 On the other hand, when it is determined that the value of the identification flag is ON (YES in STEP 20), the control unit 131 stops updating the reference capacitance Cr, and changes the detected capacitance C every predetermined cycle T. Acquisition is continued (STEP 23).

続いて制御部131は、更新が停止されてから第三期間T3が経過したかを判断する(STEP24)。第三期間T3は、第二期間T2よりも短い。制御部131は、第三期間T3が経過したと判断されるまで、基準静電容量Crを更新することなく所定の周期Tごとの検出静電容量の取得を繰り返す(STEP24においてNO)。 Subsequently, the control unit 131 determines whether or not the third period T3 has elapsed since the update was stopped (STEP 24). The third period T3 is shorter than the second period T2. The control unit 131 repeats acquisition of the detected capacitance for each predetermined period T without updating the reference capacitance Cr until it is determined that the third period T3 has passed (NO in STEP24).

基準静電容量Crの更新停止から第三期間T3が経過したと判断されると(STEP24においてYES)、制御部131は、最新の検出静電容量Cに対応する数値データで記憶部132に格納されている基準静電容量Crに対応する数値データを更新する(STEP4)。すなわち、最新の検出静電容量Cが、新たな基準静電容量Crになる。処理は、STEP1へ戻り、所定の周期Tに対応する時間の経過後に、次の検出静電容量Cが取得される。その際、識別フラグの値は、OFF状態にリセットされる。 When it is determined that the third period T3 has passed since the updating of the reference capacitance Cr was stopped (YES in STEP 24), the control unit 131 stores numerical data corresponding to the latest detected capacitance C in the storage unit 132. Numerical data corresponding to the reference capacitance Cr that has been set is updated (STEP 4). That is, the latest detected capacitance C becomes the new reference capacitance Cr. The process returns to STEP 1, and after a lapse of time corresponding to the predetermined period T, the next detected capacitance C is acquired. At that time, the value of the identification flag is reset to the OFF state.

検出静電容量が基準静電容量を下回る現象は、環境ノイズの影響であることが一般的である。したがって、検出静電容量Cが基準静電容量Crよりも小さくかつ両者の差分が所定の閾値Cthよりも大きい場合、タッチセンサ1に環境ノイズが作用している事態が予想される。この場合、制御部131は、対象物2にタッチ操作が行なわれたとは判断せず、環境ノイズ対策処理として基準静電容量Crの更新を停止する。 A phenomenon in which the detected capacitance falls below the reference capacitance is generally the effect of environmental noise. Therefore, when the detected capacitance C is smaller than the reference capacitance Cr and the difference between them is larger than the predetermined threshold value Cth, it is expected that environmental noise is acting on the touch sensor 1 . In this case, the control unit 131 does not determine that the touch operation has been performed on the object 2, and stops updating the reference capacitance Cr as the environmental noise countermeasure processing.

環境ノイズによって減少した検出静電容量Cが基準静電容量Crとされてしまうと、タッチ操作が行なわれた場合よりも小さい検出静電容量Cが取得されても基準静電容量Crとの差分が大きければ、タッチ操作がなされたと誤認識される虞がある。上記のような構成によれば、このような事態の発生を抑制できる。 If the detected capacitance C that has decreased due to environmental noise is taken as the reference capacitance Cr, even if a detected capacitance C that is smaller than when a touch operation is performed is acquired, the difference from the reference capacitance Cr If is large, there is a possibility that the touch operation is erroneously recognized. According to the configuration as described above, it is possible to suppress the occurrence of such a situation.

他方、検出静電容量Cの減少量が所定の閾値Cthよりも大きくなる現象が生じる原因としては、上記の環境ノイズの影響に加え、ユーザの指Fなどが対象物2に触れたままの状態で較正処理が終了し、基準静電容量Crの更新が再開される事態が考えられる。この場合、更新再開後に取得される検出静電容量Cは、タッチ操作がなされた状態の値をとり、当該値が基準静電容量Crとされる。したがって、ユーザの指Fなどが対象物2から離れることにより急速に減少する検出静電容量Cに基づいて、環境ノイズ対策処理が起動されてしまう。 On the other hand, the phenomenon that the amount of decrease in the detected capacitance C becomes larger than the predetermined threshold value Cth is caused by, in addition to the influence of the environmental noise, a state in which the user's finger F or the like is in contact with the object 2. , and the update of the reference capacitance Cr is restarted. In this case, the detected capacitance C obtained after resuming the update takes the value in the state where the touch operation is performed, and this value is used as the reference capacitance Cr. Therefore, based on the detected capacitance C that rapidly decreases when the user's finger F or the like moves away from the object 2, the environmental noise countermeasure processing is activated.

制御部131は、更新処理中に検出静電容量Cが急増した場合にON状態とされる識別フラグを参照することにより、検出静電容量Cの減少量が所定の閾値Cthよりも大きくなる現象が生じる原因が環境ノイズによるものなのか、較正処理中のタッチ操作によるものなのかを識別している。すなわち、制御部131は、検出静電容量Cが基準静電容量Crよりも小さくかつ両者の差分が所定の閾値Cth(第一所定値)よりも大きい場合、較正処理中に生じた静電容量の増加が所定の閾値Cth(第二所定値)よりも大きいかを判断する。識別フラグは、較正処理中に生じた静電容量の増加量が大きい場合にON状態とされる。したがって、識別フラグがON状態のまま検出静電容量Cの減少量が所定の閾値Cthよりも大きくなる現象が生じた場合、当該現象が較正処理中のタッチ操作に起因している可能性が高い。 The control unit 131 refers to the identification flag that is turned ON when the detected capacitance C increases rapidly during the update process, thereby causing the amount of decrease in the detected capacitance C to become greater than the predetermined threshold value Cth. is due to environmental noise or touch operation during the calibration process. That is, when the detected capacitance C is smaller than the reference capacitance Cr and the difference between the two is larger than a predetermined threshold value Cth (first predetermined value), the control unit 131 controls the capacitance generated during the calibration process. is greater than a predetermined threshold value Cth (second predetermined value). The identification flag is turned ON when the amount of increase in capacitance that occurs during the calibration process is large. Therefore, when a phenomenon occurs in which the amount of decrease in the detected capacitance C becomes larger than the predetermined threshold value Cth while the identification flag is in the ON state, there is a high possibility that the phenomenon is caused by the touch operation during the calibration process. .

したがって、較正処理中に生じた静電容量の増加量が第二所定値以下であると判断された場合、制御部131は、環境ノイズ対策として第二期間T2だけ基準静電容量Crの更新を停止する。第二期間T2の長さは、想定される環境ノイズの継続時間に基づいて定めされうる。 Therefore, when it is determined that the amount of increase in capacitance occurring during the calibration process is equal to or less than the second predetermined value, the control unit 131 updates the reference capacitance Cr for the second period T2 as a countermeasure against environmental noise. Stop. The length of the second period T2 may be determined based on the expected duration of environmental noise.

他方、較正処理中に生じた静電容量の増加量が第二所定値より大きいと判断された場合、制御部131は、第二期間T2よりも短い第三期間T3だけ基準静電容量Crの更新を停止する。第三期間T3が第二期間T2よりも短い理由は、環境ノイズ起因でない状況下において環境ノイズ対策処理が継続されることを回避し、タッチ操作を検出可能な通常状態へより早く復帰するためである。 On the other hand, if it is determined that the amount of increase in capacitance that occurred during the calibration process is greater than the second predetermined value, the control unit 131 increases the reference capacitance Cr for a third period T3 shorter than the second period T2. Stop updating. The reason why the third period T3 is shorter than the second period T2 is to avoid continuation of the environmental noise countermeasure processing under circumstances not caused by environmental noise, and to quickly return to a normal state in which touch operations can be detected. be.

上記のような構成によれば、ノイズ環境下においても正確にタッチ操作を判別可能にできる。 According to the configuration as described above, it is possible to accurately determine a touch operation even in a noisy environment.

図7を参照しつつ、図5と図6に示されるように構成されたタッチセンサ1の動作例を説明する。図7において、黒丸は、所定の周期Tごとに取得される検出静電容量Cを表している。白丸は、検出静電容量Cが取得された時点において参照される基準静電容量Crを表している。 An operation example of the touch sensor 1 configured as shown in FIGS. 5 and 6 will be described with reference to FIG. In FIG. 7, the black circles represent the detected capacitance C acquired at each predetermined period T. In FIG. A white circle represents the reference capacitance Cr referred to when the detected capacitance C is obtained.

本例においては、時点t1において、所定の期間タッチ操作が行なわれていないと判断されている。したがって、時点t1において参照された基準静電容量Crが記憶部132に保存される(図6のSTEP33に対応)。 In this example, at time t1, it is determined that no touch operation has been performed for a predetermined period. Therefore, the reference capacitance Cr referred to at time t1 is stored in the storage unit 132 (corresponding to STEP33 in FIG. 6).

その後、期間T0にわたって較正処理が実行される(図6のSTEP34に対応)。この間、検出静電容量Cの取得も基準静電容量Crの更新も停止される。 After that, the calibration process is executed over the period T0 (corresponding to STEP34 in FIG. 6). During this time, neither the acquisition of the detected capacitance C nor the update of the reference capacitance Cr is stopped.

時点t2において較正処理が終了すると、当該時点における検出静電容量Cが取得され、較正処理開始前の時点t1において保存された基準静電容量Crと比較される(図6のSTEP35に対応)。 When the calibration process ends at time t2, the detected capacitance C at that time is obtained and compared with the reference capacitance Cr stored at time t1 before the start of the calibration process (corresponding to STEP35 in FIG. 6).

本例においては、時点t2において取得された検出静電容量Cは、時点t1において保存された基準静電容量Crよりも小さい(図6のSTEP35におけるNOに対応)。したがって、識別フラグがON状態にされることなく、時点t2において取得された検出静電容量Cによって基準静電容量Crが更新される(図6のSTEP37に対応)。すなわち、時点t2において取得された検出静電容量Cは、所定の周期Tに対応する時間が経過した後の時点t3において取得される検出静電容量Cに対する基準静電容量Crとなる。 In this example, the detected capacitance C acquired at time t2 is smaller than the reference capacitance Cr stored at time t1 (corresponding to NO in STEP35 of FIG. 6). Therefore, the reference capacitance Cr is updated by the detected capacitance C obtained at time t2 without turning the identification flag ON (corresponding to STEP37 in FIG. 6). That is, the detected capacitance C obtained at time t2 becomes the reference capacitance Cr for the detected capacitance C obtained at time t3 after the time corresponding to the predetermined cycle T has elapsed.

時点t3において取得された検出静電容量Cは、当該時点における基準静電容量Crよりも小さい(図5のSTEP2におけるNOに対応)。したがって、検出静電容量Cの基準静電容量Crからの減少量が閾値Cthを上回っているかが判断される(図5のSTEP9に対応)。 The detected capacitance C obtained at time t3 is smaller than the reference capacitance Cr at that time (corresponding to NO in STEP2 of FIG. 5). Therefore, it is determined whether or not the amount of decrease in the detected capacitance C from the reference capacitance Cr exceeds the threshold value Cth (corresponding to STEP9 in FIG. 5).

本例においては、時点t3において取得された検出静電容量Cと基準静電容量Crとの差分は、閾値Cthを上回っている(図5のSTEP9におけるYESに対応)。したがって、識別フラグがON状態であるかが判断される(図5のSTEP20に対応)。 In this example, the difference between the detected capacitance C and the reference capacitance Cr obtained at time t3 exceeds the threshold Cth (corresponding to YES in STEP9 of FIG. 5). Therefore, it is determined whether the identification flag is ON (corresponding to STEP 20 in FIG. 5).

本例においては、時点t2において識別フラグがON状態にされていない(図5のSTEP20におけるNOに対応)。したがって、検出静電容量Cの急速な低下は、環境ノイズの影響であると判断される。この場合、基準静電容量Crの更新が停止され、所定の周期Tに対応する時間が経過する度に、検出静電容量Cの取得が繰り返される(図5のSTEP21に対応)。検出静電容量Cが取得される度に、基準静電容量Crの更新停止から第二期間T2が経過したかが判断される(図5のSTEP22に対応)。 In this example, the identification flag is not turned ON at time t2 (corresponding to NO in STEP 20 in FIG. 5). Therefore, the rapid drop in the detected capacitance C is determined to be the effect of environmental noise. In this case, the updating of the reference capacitance Cr is stopped, and the acquisition of the detected capacitance C is repeated each time the time corresponding to the predetermined cycle T elapses (corresponding to STEP 21 in FIG. 5). Each time the detected capacitance C is acquired, it is determined whether the second period T2 has elapsed since the update of the reference capacitance Cr was stopped (corresponding to STEP 22 in FIG. 5).

本例においては、時点t9において第二期間T2が満了している(図5のSTEP22におけるYESに対応)。したがって、時点t9において取得された検出静電容量Cによって基準静電容量Crが更新される(図5のSTEP4に対応)。すなわち、時点t9において取得された検出静電容量Cは、所定の周期Tに対応する時間が経過した後の時点t10において取得される検出静電容量Cに対する基準静電容量Crとなる。 In this example, the second period T2 expires at time t9 (corresponding to YES in STEP22 of FIG. 5). Therefore, the reference capacitance Cr is updated with the detected capacitance C acquired at time t9 (corresponding to STEP4 in FIG. 5). That is, the detected capacitance C obtained at time t9 becomes the reference capacitance Cr for the detected capacitance C obtained at time t10 after the time corresponding to the predetermined cycle T has elapsed.

図7に例示される黒三角は、較正処理中にタッチ操作がなされた場合において所定の周期Tごとに取得される検出静電容量Cを表している。白三角は、同場合に検出静電容量Cが取得された時点において参照される基準静電容量Crを表している。 The black triangles illustrated in FIG. 7 represent the detected capacitance C obtained at each predetermined period T when a touch operation is performed during the calibration process. A white triangle represents the reference capacitance Cr that is referenced when the detected capacitance C is obtained in the same case.

前述の通り、時点t2において較正処理が終了している。したがって、当該時点における検出静電容量Cが取得され、較正処理開始前の時点t1において保存された基準静電容量Crと比較される(図6のSTEP35に対応)。 As described above, the calibration process ends at time t2. Therefore, the detected capacitance C at that time is acquired and compared with the reference capacitance Cr stored at time t1 before the start of the calibration process (corresponding to STEP 35 in FIG. 6).

本例においては、時点t2において取得された検出静電容量Cは、時点t1において保存された基準静電容量Crよりも大きく、かつ両者の差分は所定の閾値Cthを上回っている(図6のSTEP35におけるYESに対応)。したがって、識別フラグがON状態にされ(図6のSTEP36に対応)、時点t2において取得された検出静電容量Cによって基準静電容量Crが更新される(図6のSTEP37に対応)。較正処理中にタッチ操作がなされているので、時点t2において取得された検出静電容量Cは、大きい値を有している。時点t2において取得された検出静電容量Cは、所定の周期Tに対応する時間が経過した後の時点t3において取得される検出静電容量Cに対する基準静電容量Crとなる。時点t3における基準静電容量Crもまた、大きい値を有している。 In this example, the detected capacitance C acquired at time t2 is greater than the reference capacitance Cr stored at time t1, and the difference between the two exceeds a predetermined threshold value Cth (see FIG. 6). corresponding to YES in STEP 35). Therefore, the identification flag is turned ON (corresponding to STEP36 in FIG. 6), and the reference capacitance Cr is updated by the detected capacitance C acquired at time t2 (corresponding to STEP37 in FIG. 6). Since the touch operation is performed during the calibration process, the detected capacitance C obtained at time t2 has a large value. The detected capacitance C obtained at time t2 becomes the reference capacitance Cr for the detected capacitance C obtained at time t3 after the time corresponding to the predetermined cycle T has elapsed. The reference capacitance Cr at time t3 also has a large value.

ユーザの指Fなどが対象物2から離れると、検出静電容量Cは急速に低下する。本例においては、時点t3においてこの現象が生じている。したがって、時点t3において取得された検出静電容量Cと基準静電容量Crとの差分は、閾値Cthを上回っている(図5のSTEP9におけるYESに対応)。したがって、識別フラグがON状態であるかが判断される(図5のSTEP20に対応)。 When the user's finger F or the like moves away from the object 2, the detected capacitance C rapidly decreases. In this example, this phenomenon occurs at time t3. Therefore, the difference between the detected capacitance C and the reference capacitance Cr acquired at time t3 exceeds the threshold Cth (corresponding to YES in STEP9 of FIG. 5). Therefore, it is determined whether the identification flag is ON (corresponding to STEP 20 in FIG. 5).

本例においては、時点t2においてON状態とされた識別フラグの値が維持されている(図5のSTEP20におけるYESに対応)。したがって、検出静電容量Cの急速な低下は、タッチ状態の維持が解消されたためと判断される。この場合、基準静電容量Crの更新が停止され、所定の周期Tに対応する時間が経過する度に、検出静電容量Cの取得が繰り返される(図5のSTEP23に対応)。検出静電容量Cが取得される度に、基準静電容量Crの更新停止から第三期間T3が経過したかが判断される(図5のSTEP24に対応)。 In this example, the value of the identification flag turned ON at time t2 is maintained (corresponding to YES in STEP20 in FIG. 5). Therefore, it is determined that the rapid decrease in the detected capacitance C is due to the cancellation of the maintenance of the touch state. In this case, the updating of the reference capacitance Cr is stopped, and the acquisition of the detected capacitance C is repeated every time the time corresponding to the predetermined cycle T elapses (corresponding to STEP 23 in FIG. 5). Each time the detected capacitance C is acquired, it is determined whether or not the third period T3 has elapsed since the update of the reference capacitance Cr was stopped (corresponding to STEP 24 in FIG. 5).

本例においては、時点t5において第三期間T3が満了している(図5のSTEP24におけるYESに対応)。したがって、時点t5において取得された検出静電容量Cによって基準静電容量Crが更新される(図5のSTEP4に対応)。すなわち、時点t5において取得された検出静電容量Cは、所定の周期Tに対応する時間が経過した後の時点t6において取得される検出静電容量Cに対する基準静電容量Crとなる。また、識別フラグはリセットされ、OFF状態となる。 In this example, the third period T3 expires at time t5 (corresponding to YES in STEP24 of FIG. 5). Therefore, the reference capacitance Cr is updated by the detected capacitance C obtained at time t5 (corresponding to STEP4 in FIG. 5). That is, the detected capacitance C obtained at time t5 becomes the reference capacitance Cr for the detected capacitance C obtained at time t6 after the time corresponding to the predetermined cycle T has elapsed. Also, the identification flag is reset and turned off.

これにより、タッチセンサ1は、再びタッチ操作の検出が可能な状態とされる。本例においては、時点t7においてタッチ操作が行なわれたとの判断がなされ、基準静電容量Crの更新が停止されている。 As a result, the touch sensor 1 is brought into a state capable of detecting a touch operation again. In this example, it is determined that the touch operation has been performed at time t7, and updating of the reference capacitance Cr is stopped.

第三期間T3の長さは、このように後続するタッチ操作がなされる前に基準静電容量Crの更新停止が終了しているように定められることが好ましい。例えば、第三期間T3の長さは、ダブルタッピングのようにタッチ操作が繰り返される場合において想定される複数のタッチ操作間の時間間隔よりも短くなるように定められうる。 It is preferable that the length of the third period T3 is determined such that updating of the reference capacitance Cr is stopped before the subsequent touch operation is performed. For example, the length of the third period T3 can be set to be shorter than the time interval between a plurality of touch operations assumed when touch operations are repeated such as double tapping.

このような構成によれば、検出静電容量Cの急速な低下が環境ノイズの影響によるものと誤認され、後続するタッチ操作を然るべく認識できない事態の発生を抑制できる。 According to such a configuration, it is possible to suppress the occurrence of a situation in which a rapid decrease in the detection capacitance C is misidentified as being caused by environmental noise, and subsequent touch operations cannot be properly recognized.

上記のような構成を有するタッチセンサ1は、例えば車両の一部であるドアハンドルに内蔵されうる。ドアハンドルは、対象物の一例である。この場合、ユーザの指Fなどがドアハンドルに触れる操作が行なわれたと判断されると、制御装置13から検出信号Sが出力される。検出信号Sは、例えば車両のドアの施錠装置に送信されうる。施錠装置は、検出信号Sに応じてドアの施錠動作や解錠動作を遂行しうる。 The touch sensor 1 having the configuration as described above can be incorporated in, for example, a door handle that is a part of a vehicle. A door handle is an example of an object. In this case, when it is determined that the user's finger F or the like has touched the door handle, the control device 13 outputs the detection signal S. FIG. The detection signal S can be sent to, for example, a vehicle door lock. The locking device can lock and unlock the door according to the detection signal S.

上述した制御部131の機能は、上述した処理を実現するコンピュータプログラムを実行可能なマイクロコントローラ、ASIC、FPGAなどの専用集積回路によって実現されうる。制御部131は、汎用メモリと協働して動作する汎用マイクロプロセッサにより実現されてもよい。汎用マイクロプロセッサとしては、CPU、MPU、GPUが例示されうる。汎用メモリとしては、ROMやRAMが例示されうる。この場合、ROMには、上述した処理を実行するコンピュータプログラムが記憶されうる。汎用マイクロプロセッサは、ROM上に記憶されたプログラムの少なくとも一部を指定してRAM上に展開し、RAMと協働して上述した処理を実行する。制御部131は、汎用マイクロプロセッサと専用集積回路の組合せによって実現されてもよい。 The functions of the control unit 131 described above can be implemented by a dedicated integrated circuit such as a microcontroller, ASIC, or FPGA that can execute a computer program that implements the processes described above. The controller 131 may be realized by a general-purpose microprocessor operating in cooperation with a general-purpose memory. A CPU, MPU, and GPU can be exemplified as a general-purpose microprocessor. Examples of general-purpose memory include ROM and RAM. In this case, the ROM may store a computer program for executing the above-described process. The general-purpose microprocessor designates at least part of the program stored on the ROM, develops it on the RAM, and cooperates with the RAM to execute the above-described processing. The controller 131 may be implemented by a combination of a general-purpose microprocessor and a dedicated integrated circuit.

上述した記憶部132の機能は、半導体メモリやハードディスク装置などの記憶装置により実現されうる。上述した汎用メモリの少なくとも一部が、記憶部132として使用されてもよい。制御部131と記憶部132は、互いに独立した複数の素子として提供されてもよいし、単一の素子にパッケージされていてもよい。 The functions of the storage unit 132 described above can be realized by a storage device such as a semiconductor memory or a hard disk device. At least part of the general-purpose memory described above may be used as the storage unit 132 . The control unit 131 and the storage unit 132 may be provided as a plurality of elements independent of each other, or may be packaged in a single element.

上記の実施形態は、本発明の理解を容易にするための例示にすぎない。上記の実施形態に係る構成は、本発明の趣旨を逸脱しなければ、適宜に変更・改良されうる。 The above embodiments are merely examples for facilitating understanding of the present invention. The configurations according to the above embodiments can be modified and improved as appropriate without departing from the scope of the present invention.

タッチセンサ1は、車両におけるドアハンドル以外の箇所にも配置されうる。タッチセンサ1により検出されるタッチ操作は、必ずしもユーザの指Fにより行なわれることを要しない。掌、肘、膝、足先などの身体部位によるタッチ操作も検出されうる。 The touch sensor 1 can also be arranged at locations other than the door handle in the vehicle. A touch operation detected by touch sensor 1 does not necessarily have to be performed with finger F of the user. Touch operations using body parts such as palms, elbows, knees, and toes can also be detected.

タッチセンサ1は、ユーザによるタッチ操作の検出が必要とされる適宜のユーザインターフェースに使用されうる。そのようなユーザインターフェースを備えた装置の例としては、建物の空調設備、建物の調光設備、室内あるいは室外で使用される音響映像機器、調理機器、空調機器、玩具などが挙げられる。 The touch sensor 1 can be used for any user interface that requires detection of touch operations by a user. Examples of devices equipped with such a user interface include building air-conditioning equipment, building light control equipment, audio-visual equipment used indoors or outdoors, cooking equipment, air-conditioning equipment, toys, and the like.

1:タッチセンサ、2:対象物、11:電極、12:静電容量検出部、13:制御装置、131:制御部、C:検出静電容量、Cr:基準静電容量、Cth:閾値、T1:第一期間、T2:第二期間、T3:第三期間 1: touch sensor, 2: object, 11: electrode, 12: capacitance detection unit, 13: control device, 131: control unit, C: detection capacitance, Cr: reference capacitance, Cth: threshold, T1: first period, T2: second period, T3: third period

Claims (5)

電極と、
前記電極と対象物の間の静電容量を、所定の周期で検出静電容量として検出する静電容量検出部と、
前記検出静電容量と基準静電容量の差分に基づいて、前記対象物に対する操作の有無の判断を行なう制御部と、
を備えており、
前記制御部は、
前記検出静電容量で前記基準静電容量を更新し、
前記検出静電容量が前記基準静電容量よりも大きくかつ前記差分が所定値よりも大きい場合、第一期間だけ前記基準静電容量の更新を停止し、
前記検出静電容量が前記基準静電容量よりも小さくかつ前記差分が所定値よりも大きい場合、前記第一期間の前記基準静電容量の更新停止がなされたかを判断し、
前記第一期間の前記基準静電容量の更新停止がなされていないと判断された場合、第二期間だけ前記基準静電容量の更新を停止し、
前記第一期間の前記基準静電容量の更新停止がなされたと判断された場合、前記第二期間よりも短い第三期間だけ前記基準静電容量の更新を停止する、
タッチセンサ。
an electrode;
a capacitance detection unit that detects the capacitance between the electrode and the object as a detection capacitance at a predetermined cycle;
a control unit that determines whether or not the object is operated based on the difference between the detected capacitance and the reference capacitance;
and
The control unit
updating the reference capacitance with the detection capacitance;
stopping updating the reference capacitance for a first period when the detected capacitance is greater than the reference capacitance and the difference is greater than a predetermined value;
when the detected capacitance is smaller than the reference capacitance and the difference is greater than a predetermined value, determining whether updating of the reference capacitance in the first period has been stopped;
If it is determined that the update of the reference capacitance for the first period has not been stopped, stopping the update of the reference capacitance for only a second period,
When it is determined that the update of the reference capacitance for the first period has been stopped, updating the reference capacitance is stopped for a third period shorter than the second period,
touch sensor.
前記第三期間の長さは、前記操作が繰り返される場合に想定される複数の操作間の時間間隔よりも短くなるように定められている、
請求項に記載のタッチセンサ。
The length of the third period is defined to be shorter than the time interval between multiple operations assumed when the operation is repeated,
The touch sensor according to claim 1 .
前記対象物は、車両の一部である、
請求項1または2に記載のタッチセンサ。
the object is part of a vehicle,
The touch sensor according to claim 1 or 2 .
電極と対象物の間の静電容量を、所定の周期で検出静電容量として検出する静電容量検出部の動作を制御する制御装置であって、
前記検出静電容量と基準静電容量の差分に基づいて、前記対象物に対する操作の有無の判断を行ない、
前記検出静電容量で前記基準静電容量を更新し、
前記検出静電容量が前記基準静電容量よりも大きくかつ前記差分が所定値よりも大きい場合、第一期間だけ前記基準静電容量の更新を停止し、
前記検出静電容量が前記基準静電容量よりも小さくかつ前記差分が所定値よりも大きい場合、前記第一期間の前記基準静電容量の更新停止がなされたかを判断し、
前記第一期間の前記基準静電容量の更新停止がなされていないと判断された場合、第二期間だけ前記基準静電容量の更新を停止し、
前記第一期間の前記基準静電容量の更新停止がなされたと判断された場合、前記第二期間よりも短い第三期間だけ前記基準静電容量の更新を停止する、
制御装置。
A control device that controls the operation of a capacitance detection unit that detects the capacitance between an electrode and an object as a detection capacitance in a predetermined cycle,
determining whether or not the object is operated based on the difference between the detected capacitance and the reference capacitance;
updating the reference capacitance with the detection capacitance;
stopping updating the reference capacitance for a first period when the detected capacitance is greater than the reference capacitance and the difference is greater than a predetermined value;
when the detected capacitance is smaller than the reference capacitance and the difference is greater than a predetermined value, determining whether updating of the reference capacitance in the first period has been stopped;
If it is determined that the update of the reference capacitance for the first period has not been stopped, stopping the update of the reference capacitance for only a second period,
When it is determined that the update of the reference capacitance for the first period has been stopped, updating the reference capacitance is stopped for a third period shorter than the second period,
Control device.
電極と対象物の間の静電容量を、所定の周期で検出静電容量として検出する静電容量検出部の動作を制御装置に制御させるコンピュータプログラムであって、
前記コンピュータプログラムが実行されることにより、前記制御装置に、
前記検出静電容量と基準静電容量の差分に基づいて、前記対象物に対する操作の有無の判断を行なわせ、
前記検出静電容量で前記基準静電容量を更新させ、
前記検出静電容量が前記基準静電容量よりも大きくかつ前記差分が所定値よりも大きい場合、第一期間だけ前記基準静電容量の更新を停止させ、
前記検出静電容量が前記基準静電容量よりも小さくかつ前記差分が所定値よりも大きい場合、前記第一期間の前記基準静電容量の更新停止がなされたかを判断させ、
前記第一期間の前記基準静電容量の更新停止がなされていないと判断された場合、第二期間だけ前記基準静電容量の更新を停止させ、
前記第一期間の前記基準静電容量の更新停止がなされたと判断された場合、前記第二期間よりも短い第三期間だけ前記基準静電容量の更新を停止させる、
コンピュータプログラム。
A computer program that causes a control device to control the operation of a capacitance detection unit that detects the capacitance between an electrode and an object as a detection capacitance at a predetermined cycle,
By executing the computer program, the control device
determining whether or not the object is operated based on the difference between the detected capacitance and the reference capacitance;
updating the reference capacitance with the detection capacitance;
stopping updating the reference capacitance for a first period when the detected capacitance is greater than the reference capacitance and the difference is greater than a predetermined value;
If the detected capacitance is smaller than the reference capacitance and the difference is greater than a predetermined value, determining whether updating of the reference capacitance in the first period has been stopped;
If it is determined that the update of the reference capacitance for the first period has not been stopped, stopping the update of the reference capacitance for only a second period;
When it is determined that the update of the reference capacitance for the first period has been stopped, the update of the reference capacitance is stopped for a third period shorter than the second period,
computer program.
JP2019121771A 2019-06-28 2019-06-28 Touch sensors, controllers, and computer programs Active JP7196026B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019121771A JP7196026B2 (en) 2019-06-28 2019-06-28 Touch sensors, controllers, and computer programs
JP2022188203A JP7425851B2 (en) 2019-06-28 2022-11-25 Touch sensor, control device, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019121771A JP7196026B2 (en) 2019-06-28 2019-06-28 Touch sensors, controllers, and computer programs

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2022188203A Division JP7425851B2 (en) 2019-06-28 2022-11-25 Touch sensor, control device, and computer program

Publications (2)

Publication Number Publication Date
JP2021009470A JP2021009470A (en) 2021-01-28
JP7196026B2 true JP7196026B2 (en) 2022-12-26

Family

ID=74199970

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019121771A Active JP7196026B2 (en) 2019-06-28 2019-06-28 Touch sensors, controllers, and computer programs
JP2022188203A Active JP7425851B2 (en) 2019-06-28 2022-11-25 Touch sensor, control device, and computer program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2022188203A Active JP7425851B2 (en) 2019-06-28 2022-11-25 Touch sensor, control device, and computer program

Country Status (1)

Country Link
JP (2) JP7196026B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113405213A (en) * 2021-06-30 2021-09-17 佛山市顺德区美的电子科技有限公司 Refrigeration control method and device, integrated cooker and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120043976A1 (en) 2006-03-31 2012-02-23 Bokma Louis W Touch detection techniques for capacitive touch sense systems
JP2014056512A (en) 2012-09-13 2014-03-27 Canon Inc Electronic apparatus including touch panel, and control method of electronic apparatus including touch panel
JP2015179393A (en) 2014-03-19 2015-10-08 三菱電機株式会社 touch panel device
JP2017033844A (en) 2015-08-04 2017-02-09 アイシン精機株式会社 Operation input detector

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015011497A (en) 2013-06-28 2015-01-19 Necカシオモバイルコミュニケーションズ株式会社 Portable terminal device, method for calibrating touch panel, and program
JP6177026B2 (en) 2013-06-28 2017-08-09 キヤノン株式会社 Touch panel control device, touch panel control method, and program
JP6284838B2 (en) 2014-06-26 2018-02-28 株式会社東海理化電機製作所 Touch input device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120043976A1 (en) 2006-03-31 2012-02-23 Bokma Louis W Touch detection techniques for capacitive touch sense systems
JP2014056512A (en) 2012-09-13 2014-03-27 Canon Inc Electronic apparatus including touch panel, and control method of electronic apparatus including touch panel
JP2015179393A (en) 2014-03-19 2015-10-08 三菱電機株式会社 touch panel device
JP2017033844A (en) 2015-08-04 2017-02-09 アイシン精機株式会社 Operation input detector

Also Published As

Publication number Publication date
JP2023016889A (en) 2023-02-02
JP7425851B2 (en) 2024-01-31
JP2021009470A (en) 2021-01-28

Similar Documents

Publication Publication Date Title
JP2020524335A5 (en)
JP2007208682A (en) Touch panel
JP2023016889A (en) Touch sensor, control apparatus, and computer program
JP2015232542A (en) Grip sensor
EP2998840B1 (en) Capacitive touch sensor device and controller
JP6096037B2 (en) Capacitance detection device
JP7227091B2 (en) Touch sensors, controllers, and computer programs
JP7200056B2 (en) Touch sensors, controllers, and computer programs
JP2015211455A (en) Information processing device and control method therefor
JP6331880B2 (en) Capacitive operation device
JP7161449B2 (en) Touch sensors, controllers, and computer programs
KR20200033919A (en) Operation unit and X-ray imaging unit
JP2020085536A (en) Touch detector
JP7402750B2 (en) Electrostatic sensors, controls, and computer programs
JP7159120B2 (en) Touch sensors, controllers, and computer programs
US10719182B2 (en) Touch sensor device and capacitance calibration method
WO2021090598A1 (en) Instruction input device, control device, and non-transitory computer-readable medium
US10788941B2 (en) Method for detecting contact on a capacitive sensor element
JP6246668B2 (en) Electrostatic detection device
JP2018116630A (en) Touch detection device
JP2007110538A (en) Capacitance sensor
JP2022002169A (en) Electrostatic sensor, control device, and computer program
JP2015130122A (en) Capacitive operation device
US12007521B2 (en) Detection method of a user of an apparatus for controlling one or more functionalities of the apparatus
JP7277392B2 (en) Remote controllers, processors and computer programs

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220916

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220927

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221125

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221214

R150 Certificate of patent or registration of utility model

Ref document number: 7196026

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150