JP7196026B2 - Touch sensors, controllers, and computer programs - Google Patents
Touch sensors, controllers, and computer programs Download PDFInfo
- 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
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は、静電容量方式のタッチセンサを開示している。当該タッチセンサにおいては、電極により生成される電界内に位置する対象物にユーザの指などが近づくことによって疑似的なコンデンサが形成され、当該電極自体の容量が増加する。この容量の増加が検知されることにより、ユーザによる対象物への操作がなされたかが判別される。
本発明の目的は、ノイズ環境下においても正確に対象物への操作を判別可能にすることである。 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は、一実施形態に係るタッチセンサ1の機能構成を例示している。
Exemplary embodiments are described in detail below with reference to the accompanying drawings. FIG. 1 illustrates the functional configuration of a
タッチセンサ1は、電極11を備えている。電極11は、ユーザの身体の一部(指Fなど)がタッチ操作を行ないうる対象物2と対向するように配置されている。対象物2は、誘電体である。本明細書で用いられる「タッチ操作」という語は、対象物2に対するユーザの身体の一部の接近または接触を伴う操作を意味する。
The
タッチセンサ1は、静電容量検出部12を備えている。静電容量検出部12は、電極11と対象物2の間の静電容量を検出するための充放電回路121を備えている。
The
充放電回路121は、電極11と電気的に接続されている。充放電回路121は、充電動作と放電動作を行ないうる。充電動作時の充放電回路121は、不図示の電源から供給される電流を電極11へ供給する。放電動作時の充放電回路121は、電極11から電流を放出させる。
The charge/
電極11に供給された電流により、対象物2の周囲に電界が発生する。ユーザの指Fなどがこの電界に近づくと、電極11との間に疑似的なコンデンサが形成される。これにより、電極11と対象物2の間の静電容量が増加する。静電容量が増加すると、放電動作時における電極11から放出される電流が増加する。
An electric field is generated around the
タッチセンサ1は、制御装置13を備えている。制御装置13は、制御部131を備えている。制御部131は、充放電回路121の動作を制御する機能を有している。制御部131は、所定の周波数で充放電回路121を動作させる。本明細書で用いられる「所定の周波数で充放電回路を動作させる」という表現は、所定の周波数で充放電回路に充電動作と放電動作を繰り返させることを意味する。
The
静電容量検出部12は、変換回路122を備えている。電極11から放出された電流は、変換回路122に入力される。変換回路122は、入力された電流量に応じて発信周波数が変化する回路、および当該回路から出力されるパルスを計数するカウンタを含んでいる。すなわち、変換回路122は、検出された静電容量に対応する電流量に応じた数値を有するデータを出力する。
The
当該データは、制御部131に入力される。制御部131は、当該データが示す数値に基づいて、電極11と対象物2の間の静電容量を取得できる。このようにして、制御部131は、電極11と対象物2の間の静電容量を、静電容量検出部12に検出させる。
The data is input to the
図2に例示されるように、制御部131は、静電容量検出部12に検出させた静電容量に基づいて、対象物2にタッチ操作が行なわれたかを判断する機能も有している。具体的には、制御部131は、電極11と対象物2の間の静電容量を、所定の周期Tで静電容量検出部12に繰り返し検出させる。周期Tは、例えば20ミリ秒である。以降の説明においては、静電容量検出部12によって検出された電極11と対象物2の間の静電容量を、「検出静電容量C」と称する。
As illustrated in FIG. 2, the
ユーザの指Fなどが対象物2に接近すると、前述の通り、電極11と対象物2の間の静電容量が増加する。制御部131は、基準静電容量Crからの増加量が所定の閾値Cthを超えると、対象物2にタッチ操作が行なわれたと判断する。すなわち、基準静電容量Crは、検出された静電容量に基づいて対象物2にタッチ操作が行なわれたかを判断するための基準となる静電容量の値である。図示の例においては、時点t1から時点t2までの間、タッチ操作が行なわれたと判断される。
When the user's finger F or the like approaches the
図1に示されるように、制御装置13は、記憶部132を備えている。記憶部132は、基準静電容量Crに対応するデータが格納されている。制御部131は、検出された静電容量に対応する変換回路122から入力されたデータと記憶部132に格納されているデータとを比較することにより、上記のタッチ操作が行なわれたかの判断を行なう。
As shown in FIG. 1 , the
図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
制御部131は、検出静電容量Cを取得する(STEP1)。具体的には、制御部131は、検出静電容量Cに対応する数値データを、変換回路122から受け付ける。
The
続いて、対象物2に対してタッチ操作が行なわれたかが判断される。まず、制御部131は、検出静電容量Cが基準静電容量Crを上回っているかを判断する(STEP2)。具体的には、変換回路122から入力されたデータと記憶部132に格納されているデータとを比較することによって、当該判断がなされる。
Subsequently, it is determined whether a touch operation has been performed on the
検出静電容量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
検出静電容量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
検出静電容量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
さらに制御部131は、基準静電容量Crの更新を停止し、所定の周期Tごとの検出静電容量Cの取得を継続する(STEP6)。
Furthermore, the
続いて制御部131は、更新が停止されてから第一期間T1が経過したかを判断する(STEP7)。制御部131は、第一期間T1が経過したと判断されるまで、基準静電容量Crを更新することなく所定の周期Tごとの検出静電容量Cの取得を繰り返す(STEP7においてNO)。
Subsequently, the
基準静電容量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
続いて制御部131は、最新の検出静電容量Cに対応する数値データで記憶部132に格納されている基準静電容量Crに対応する数値データを更新する(STEP4)。すなわち、最新の検出静電容量Cが、新たな基準静電容量Crになる。処理は、STEP1へ戻り、所定の周期Tに対応する時間の経過後に、次の検出静電容量Cが取得される。
Subsequently, the
すなわち、制御部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
タッチ操作によって増加した検出静電容量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
検出静電容量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
検出静電容量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
識別フラグの値が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
続いて制御部131は、更新が停止されてから第二期間T2が経過したかを判断する(STEP12)。制御部131は、第二期間T2が経過したと判断されるまで、基準静電容量Crを更新することなく所定の周期Tごとの検出静電容量の取得を繰り返す(STEP12においてNO)。
Subsequently, the
基準静電容量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
他方、識別フラグの値が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
続いて制御部131は、更新が停止されてから第三期間T3が経過したかを判断する(STEP14)。第三期間T3は、第二期間T2よりも短い。制御部131は、第三期間T3が経過したと判断されるまで、基準静電容量Crを更新することなく所定の周期Tごとの検出静電容量の取得を繰り返す(STEP14においてNO)。
Subsequently, the
基準静電容量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
検出静電容量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
環境ノイズによって減少した検出静電容量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
制御部131は、第一期間T1の更新停止がなされた場合にON状態とされる識別フラグを参照することにより、検出静電容量Cの減少量が所定の閾値Cthよりも大きくなる現象が生じる原因が環境ノイズによるものなのか、タッチ状態の維持によるものなのかを識別している。すなわち、制御部131は、検出静電容量Cが基準静電容量Crよりも小さくかつ両者の差分が所定の閾値Cthよりも大きい場合、第一期間T1の基準静電容量Crの更新停止がなされたかを判断する。識別フラグは、タッチ操作がなされたと判断された場合にON状態とされる。したがって、識別フラグがON状態のまま検出静電容量Cの減少量が所定の閾値Cthよりも大きくなる現象が生じた場合、当該現象がタッチ状態の維持に起因している可能性が高い。
The
したがって、第一期間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
他方、第一期間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
上記のような構成によれば、ノイズ環境下においても正確にタッチ操作を判別可能にできる。 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
時点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
前述の通り、時点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
ユーザの指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
本例においては、時点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
第三期間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
本例においては、所定の期間タッチ操作が行なわれていないと判断された場合、制御部131は、較正処理を実行する。較正処理は、検出静電容量Cの取得を停止して行なわれる。較正処理が行なわれている間は、基準静電容量Crの更新も停止される。所定の期間タッチ操作が行なわれていないことの判断は、図6に例示される処理によって行なわれうる。
In this example, when it is determined that no touch operation has been performed for a predetermined period of time,
図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
内部カウンタの値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
較正処理が終了すると、制御部131は、検出静電容量Cを取得する。さらに制御部131は、検出静電容量Cが基準静電容量Crよりも大きくかつ両者の差分が所定の閾値Cthを上回っているかを判断する(STEP35)。具体的には、変換回路122から入力されたデータとSTEP23において記憶部132に格納されている基準静電容量Crに対応するデータとが比較に供される。
After the calibration process is finished, the
この処理は、較正処理中に対象物2へのタッチ操作が行なわれたかを判断するために行なわれる。較正処理は所定の期間タッチ操作がなされていないことを前提に実行されるので、較正処理開始時における検出静電容量Cは、比較的小さい値をとる。較正処理中にユーザの指Fなどが対象物2に触れると、検出静電容量Cは増大する。このような状況下で較正処理終了直後に取得される検出静電容量Cは、較正処理開始前の基準静電容量Crよりも大きく、かつ両者の差分は、所定の閾値Cthを上回るはずである。
This process is performed to determine whether a touch operation has been performed on the
検出静電容量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
制御部131は、較正処理の終了時に取得された検出静電容量Cで基準静電容量Crを更新する(STEP37)。その後、処理はSTEP1に戻り、所定の周期Tに対応する時間の経過後に、次の検出静電容量Cが取得される。較正処理の終了時に取得された検出静電容量Cが基準静電容量Crよりも大きく、かつ両者の差分が所定の閾値Cthを上回っていないと判断されると(STEP35においてNO)、制御部131は、識別フラグの値を変更することなく、較正処理の終了時に取得された検出静電容量Cで基準静電容量Crを更新する(STEP37)。その後、処理はSTEP1に戻る。
The
続いて取得された検出静電容量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
識別フラグの値が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
続いて制御部131は、更新が停止されてから第二期間T2が経過したかを判断する(STEP22)。制御部131は、第二期間T2が経過したと判断されるまで、基準静電容量Crを更新することなく所定の周期Tごとの検出静電容量の取得を繰り返す(STEP22においてNO)。
Subsequently, the
基準静電容量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
他方、識別フラグの値が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
続いて制御部131は、更新が停止されてから第三期間T3が経過したかを判断する(STEP24)。第三期間T3は、第二期間T2よりも短い。制御部131は、第三期間T3が経過したと判断されるまで、基準静電容量Crを更新することなく所定の周期Tごとの検出静電容量の取得を繰り返す(STEP24においてNO)。
Subsequently, the
基準静電容量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
検出静電容量が基準静電容量を下回る現象は、環境ノイズの影響であることが一般的である。したがって、検出静電容量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
環境ノイズによって減少した検出静電容量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
制御部131は、更新処理中に検出静電容量Cが急増した場合にON状態とされる識別フラグを参照することにより、検出静電容量Cの減少量が所定の閾値Cthよりも大きくなる現象が生じる原因が環境ノイズによるものなのか、較正処理中のタッチ操作によるものなのかを識別している。すなわち、制御部131は、検出静電容量Cが基準静電容量Crよりも小さくかつ両者の差分が所定の閾値Cth(第一所定値)よりも大きい場合、較正処理中に生じた静電容量の増加が所定の閾値Cth(第二所定値)よりも大きいかを判断する。識別フラグは、較正処理中に生じた静電容量の増加量が大きい場合にON状態とされる。したがって、識別フラグがON状態のまま検出静電容量Cの減少量が所定の閾値Cthよりも大きくなる現象が生じた場合、当該現象が較正処理中のタッチ操作に起因している可能性が高い。
The
したがって、較正処理中に生じた静電容量の増加量が第二所定値以下であると判断された場合、制御部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
他方、較正処理中に生じた静電容量の増加量が第二所定値より大きいと判断された場合、制御部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
上記のような構成によれば、ノイズ環境下においても正確にタッチ操作を判別可能にできる。 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
本例においては、時点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
本例においては、時点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
第三期間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
上述した制御部131の機能は、上述した処理を実現するコンピュータプログラムを実行可能なマイクロコントローラ、ASIC、FPGAなどの専用集積回路によって実現されうる。制御部131は、汎用メモリと協働して動作する汎用マイクロプロセッサにより実現されてもよい。汎用マイクロプロセッサとしては、CPU、MPU、GPUが例示されうる。汎用メモリとしては、ROMやRAMが例示されうる。この場合、ROMには、上述した処理を実行するコンピュータプログラムが記憶されうる。汎用マイクロプロセッサは、ROM上に記憶されたプログラムの少なくとも一部を指定してRAM上に展開し、RAMと協働して上述した処理を実行する。制御部131は、汎用マイクロプロセッサと専用集積回路の組合せによって実現されてもよい。
The functions of the
上述した記憶部132の機能は、半導体メモリやハードディスク装置などの記憶装置により実現されうる。上述した汎用メモリの少なくとも一部が、記憶部132として使用されてもよい。制御部131と記憶部132は、互いに独立した複数の素子として提供されてもよいし、単一の素子にパッケージされていてもよい。
The functions of the
上記の実施形態は、本発明の理解を容易にするための例示にすぎない。上記の実施形態に係る構成は、本発明の趣旨を逸脱しなければ、適宜に変更・改良されうる。 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
タッチセンサ1は、ユーザによるタッチ操作の検出が必要とされる適宜のユーザインターフェースに使用されうる。そのようなユーザインターフェースを備えた装置の例としては、建物の空調設備、建物の調光設備、室内あるいは室外で使用される音響映像機器、調理機器、空調機器、玩具などが挙げられる。
The
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.
請求項1に記載のタッチセンサ。 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.
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)
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)
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)
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 |
-
2019
- 2019-06-28 JP JP2019121771A patent/JP7196026B2/en active Active
-
2022
- 2022-11-25 JP JP2022188203A patent/JP7425851B2/en active Active
Patent Citations (4)
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 |