JP7264615B2 - Touch panel device, control method for touch panel device, program, and storage medium for storing program - Google Patents

Touch panel device, control method for touch panel device, program, and storage medium for storing program Download PDF

Info

Publication number
JP7264615B2
JP7264615B2 JP2018199043A JP2018199043A JP7264615B2 JP 7264615 B2 JP7264615 B2 JP 7264615B2 JP 2018199043 A JP2018199043 A JP 2018199043A JP 2018199043 A JP2018199043 A JP 2018199043A JP 7264615 B2 JP7264615 B2 JP 7264615B2
Authority
JP
Japan
Prior art keywords
touch panel
signal
section
operation position
panel device
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
JP2018199043A
Other languages
Japanese (ja)
Other versions
JP2020067737A (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.)
Fanuc Corp
Original Assignee
Fanuc Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Corp filed Critical Fanuc Corp
Priority to JP2018199043A priority Critical patent/JP7264615B2/en
Publication of JP2020067737A publication Critical patent/JP2020067737A/en
Application granted granted Critical
Publication of JP7264615B2 publication Critical patent/JP7264615B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、操作子に接触された位置に応じた信号を出力するタッチパネルを有するタッチパネル装置、タッチパネル装置の制御方法、プログラムおよびプログラムを記憶する記憶媒体に関する。 The present invention relates to a touch panel device having a touch panel that outputs a signal corresponding to a position touched by an operator, a control method for the touch panel device, a program, and a storage medium that stores the program.

下記特許文献1には、指がタッチパネルを触れたタップ位置を示すタップ位置信号の検出容量のレベルが第1閾値を超えており、かつ、検出容量のレベルが第1閾値を超えている時間が第2閾値時間を超えて継続している場合に、そのタップ位置信号を有効とするものが開示されている。 In Patent Document 1 below, the level of the detected capacitance of a tap position signal indicating the tap position where the finger touches the touch panel exceeds the first threshold, and the time during which the level of the detected capacitance exceeds the first threshold. Disclosed is that the tap position signal is valid if it persists for more than a second threshold time.

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

上記特許文献1の技術では、第2閾値時間を経過しないとタップ位置信号を有効とすることができないため、操作に対するタッチパネル装置の応答性が悪化する問題があった。 In the technique disclosed in Patent Literature 1, the tap position signal cannot be validated until the second threshold time elapses, so there is a problem that the responsiveness of the touch panel device to the operation deteriorates.

本発明は、上記の問題を解決するためになされたものであり、操作子による操作に対する応答性を向上させることができるタッチパネル装置、タッチパネル装置の制御方法、プログラムおよびプログラムを記憶する記憶媒体を提供することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and provides a touch panel device, a control method for the touch panel device, a program, and a storage medium for storing the program, which can improve responsiveness to operations by operators. intended to

本発明の第1の態様は、操作子に接触された位置に応じた信号を出力するタッチパネルを有するタッチパネル装置であって、前記タッチパネル上を格子状に区画し、それぞれの区画において前記信号の強度を取得する信号強度取得部と、前記区画毎に前記信号の強度の平均または分散を取得する指標取得部と、前記信号の強度の前記平均が第1閾値以上である区画、または、前記信号の強度の前記分散が第2閾値未満である区間の位置を、前記操作子の操作位置として取得する操作位置取得部と、を有する。 A first aspect of the present invention is a touch panel device having a touch panel that outputs a signal corresponding to a position touched by an operator, wherein the touch panel is partitioned into a grid pattern, and the intensity of the signal is obtained in each partition. a signal intensity acquisition unit that acquires a signal intensity acquisition unit that acquires the average or variance of the signal intensity for each of the divisions; an operation position acquiring unit that acquires a position of a section in which the variance of intensity is less than a second threshold as an operation position of the manipulator.

本発明の第2の態様は、操作子に接触された位置に応じた信号を出力するタッチパネルを有するタッチパネル装置の制御方法であって、前記タッチパネル上を格子状に区画し、それぞれの区画において前記信号の強度を取得する信号強度取得ステップと、それぞれの前記区画における前記信号の強度の平均または分散を取得する指標取得ステップと、前記信号の強度の前記平均が第1閾値以上である区画、または、前記信号の強度の前記分散が第2閾値未満である区間の位置を、前記操作子の操作位置として取得する操作位置取得ステップと、を有する。 A second aspect of the present invention is a control method for a touch panel device having a touch panel that outputs a signal corresponding to a position touched by an operator, wherein the touch panel is partitioned into a grid, and each partition has the a signal intensity acquisition step of acquiring the signal intensity, an index acquisition step of acquiring the average or variance of the signal intensity in each of the compartments, and a compartment where the average of the signal intensities is greater than or equal to a first threshold, or and an operation position acquiring step of acquiring, as the operation position of the manipulator, the position of the section in which the variance of the intensity of the signal is less than a second threshold.

本発明の第3の態様は、上記第2の態様のタッチパネル装置の制御方法をコンピュータに実行させる、プログラムである。 A third aspect of the present invention is a program that causes a computer to execute the method for controlling the touch panel device according to the second aspect.

本発明の第4の態様は、上記第2の態様のタッチパネル装置の制御方法をコンピュータに実行させる、プログラムを記憶する記憶媒体である。 A fourth aspect of the present invention is a storage medium that stores a program that causes a computer to execute the control method for the touch panel device according to the second aspect.

本発明によれば、操作子による操作に対する応答性を向上させることができる。 ADVANTAGE OF THE INVENTION According to this invention, the response with respect to operation by an operator can be improved.

タッチパネル装置の構成を示すブロック図である。It is a block diagram which shows the structure of a touch-panel apparatus. タッチパネル上を格子状に区画した状態の模式図である。FIG. 3 is a schematic diagram of a state in which the touch panel is partitioned in a grid pattern; 指標取得部において行われる指標取得処理、および、操作位置取得部において行われる操作位置取得処理の流れを示すフローチャートである。5 is a flow chart showing the flow of index acquisition processing performed by an index acquisition unit and operation position acquisition processing performed by an operation position acquisition unit; 4回スキャンを行ったときの各回の各区画における信号の強度、および、信号の強度の平均を示すグラフである。4 is a graph showing the signal intensity in each section and the average of the signal intensity when scanning was performed four times. 4回スキャンを行ったときの各回の各区画における信号の強度を示すグラフである。It is a graph which shows the intensity|strength of the signal in each division of each time when scanning is performed 4 times. 指標取得部において行われる指標取得処理、および、操作位置取得部において行われる操作位置取得処理の流れを示すフローチャートである。5 is a flow chart showing the flow of index acquisition processing performed by an index acquisition unit and operation position acquisition processing performed by an operation position acquisition unit; 4回スキャンを行ったときの各回の各区画における信号の強度、および、信号の強度の分散を示すグラフである。It is a graph which shows the intensity|strength of the signal in each division|segment, and dispersion|distribution of the intensity|strength of a signal when scanning is performed 4 times. 操作位置取得部において行われる操作位置取得処理の流れを示すフローチャートである。4 is a flow chart showing a flow of operation position acquisition processing performed in an operation position acquisition unit; 各区画における信号の強度の平均および分散を示すグラフである。FIG. 4 is a graph showing the mean and variance of signal intensity in each section; FIG.

〔第1の実施の形態〕
[タッチパネル装置の構成]
図1は、タッチパネル装置10の構成を示すブロック図である。タッチパネル装置10は、ユーザが指やスタイラス等の操作子で、画像等が表示された表示部12上を触れることによって操作が行われる入力装置である。本実施の形態のタッチパネル装置10は、図示しない工作機械を制御する数値制御装置14の入力装置として用いられる。
[First embodiment]
[Configuration of touch panel device]
FIG. 1 is a block diagram showing the configuration of the touch panel device 10. As shown in FIG. The touch panel device 10 is an input device that is operated by a user touching a display unit 12 on which an image or the like is displayed with an operator such as a finger or a stylus. The touch panel device 10 of this embodiment is used as an input device for a numerical controller 14 that controls a machine tool (not shown).

タッチパネル装置10は、表示部12、表示制御部16、タッチパネル18、信号強度取得部20、指標取得部22および操作位置取得部24を有している。 The touch panel device 10 has a display section 12 , a display control section 16 , a touch panel 18 , a signal strength acquisition section 20 , an index acquisition section 22 and an operation position acquisition section 24 .

表示部12は、液晶ディスプレイ等であって、ユーザが数値制御装置14に対して指令を入力するためのアイコン、数値制御装置14から送られてくる工作機械の状況を示す情報等を表示する。表示制御部16は、数値制御装置14の要求にしたがって表示部12を制御する。 The display unit 12 is a liquid crystal display or the like, and displays icons for the user to input commands to the numerical controller 14, information indicating the status of the machine tool sent from the numerical controller 14, and the like. The display control unit 16 controls the display unit 12 according to requests from the numerical control device 14 .

タッチパネル18は、表示部12の画面に貼着された透明なフィルム状の部材である。タッチパネル18は、操作子が接触された位置に応じた信号を出力する。本実施の形態のタッチパネル18は相互容量方式のタッチパネルであるが、自己容量方式のタッチパネルであってもよい。 The touch panel 18 is a transparent film member attached to the screen of the display unit 12 . The touch panel 18 outputs a signal corresponding to the position where the operator is touched. The touch panel 18 of the present embodiment is a mutual capacitance touch panel, but may be a self-capacitance touch panel.

信号強度取得部20は、タッチパネル18上を格子状に区画して、それぞれの区画におけるタッチパネル18の信号の強度を取得する。図2は、タッチパネル18上を格子状に区画した状態の模式図である。例えば、タッチパネル18上をm×n個の区画S[1、1]~S[m、n]に区画し、信号強度取得部20は各区画S[1、1]~S[m、n]におけるタッチパネル18が出力した信号の強度を取得する。図2には、区画Sの境界を示す線が記載されているが、実際のタッチパネル18には区画Sの境界を示す線は見えていない。以下、1つの区画S[1、1]~S[m、n]を特定しないときには、区画Sと記載することがある。 The signal intensity acquisition unit 20 partitions the touch panel 18 in a grid pattern and acquires the signal intensity of the touch panel 18 in each partition. FIG. 2 is a schematic diagram of a state in which the touch panel 18 is partitioned in a grid pattern. For example, the touch panel 18 is divided into m×n sections S[1, 1] to S[m, n], and the signal strength acquisition unit 20 obtains each section S[1, 1] to S[m, n]. acquires the intensity of the signal output by the touch panel 18 at . In FIG. 2, lines indicating the boundaries of the sections S are shown, but the lines indicating the boundaries of the sections S are not visible on the actual touch panel 18 . Hereinafter, when one section S[1, 1] to S[m, n] is not specified, it may be referred to as section S.

指標取得部22は、信号強度取得部20において取得された各区画Sにおけるタッチパネル18が出力した信号の強度から、各区画Sにおける信号の強度の平均を取得する。 The index acquisition unit 22 acquires the average signal intensity in each section S from the intensity of the signal output by the touch panel 18 in each section S acquired by the signal intensity acquisition unit 20 .

操作位置取得部24は、指標取得部22において取得された各区画Sにおけるタッチパネル18が出力した信号の強度の平均から、タッチパネル18が操作子に接触されている位置を操作位置として取得する。 The operation position acquisition unit 24 acquires the position where the touch panel 18 is in contact with the operator from the average intensity of the signal output from the touch panel 18 in each section S acquired by the index acquisition unit 22 as the operation position.

なお、表示制御部16、信号強度取得部20および操作位置取得部24は、記憶媒体28に記憶されているプログラムがコンピュータにより実行されることにより実現される。 Note that the display control unit 16, the signal strength acquisition unit 20, and the operation position acquisition unit 24 are realized by executing a program stored in the storage medium 28 by a computer.

[指標取得処理および操作位置取得処理]
図3は、指標取得部22において行われる指標取得処理、および、操作位置取得部24において行われる操作位置取得処理の流れを示すフローチャートである。
[Index Acquisition Processing and Operation Position Acquisition Processing]
FIG. 3 is a flow chart showing the flow of index acquisition processing performed by the index acquisition unit 22 and operation position acquisition processing performed by the operation position acquisition unit 24 .

ステップS1において、指標取得部22は、タッチパネル18の図示しない駆動電極に対して複数回スキャンを行って、図示しない検出電極が検出した信号から各区画Sの信号の強度の平均を算出する。図4は、4回スキャンを行ったときの各回の各区画Sにおける信号の強度、および、信号の強度の平均を示すグラフである。 In step S1, the index acquisition unit 22 scans the drive electrodes (not shown) of the touch panel 18 a plurality of times, and calculates the average signal intensity of each section S from the signals detected by the detection electrodes (not shown). FIG. 4 is a graph showing the signal intensity in each segment S when four scans are performed, and the average signal intensity.

ステップS2において、操作位置取得部24は、タッチパネル18上の1つの区画Sを選択する。区画Sの選択は、例えば、区画S[1、1]→区画S[1、2]→区画S[1、3]の順で行われる(図2)。 In step S<b>2 , the operation position acquisition unit 24 selects one section S on the touch panel 18 . Section S is selected in the order of section S[1,1]→section S[1,2]→section S[1,3], for example (FIG. 2).

ステップS3において、操作位置取得部24は、選択した区画Sにおける信号の強度の平均を取得する。 In step S<b>3 , the operation position acquisition unit 24 acquires an average signal intensity in the selected section S.

ステップS4において、操作位置取得部24は、選択した区画Sの信号の強度の平均が第1閾値以上であるか否かを判定する。選択した区画Sの信号の強度の平均が第1閾値以上であるときにはステップS5に移行し、選択した区画Sの信号の強度の平均が第1閾値未満であるときにはステップS6に移行する。 In step S4, the operation position acquisition unit 24 determines whether or not the average signal intensity of the selected section S is equal to or greater than the first threshold. When the average signal intensity of the selected section S is equal to or greater than the first threshold, the process proceeds to step S5, and when the average signal intensity of the selected section S is less than the first threshold, the process proceeds to step S6.

ステップS5において、操作位置取得部24は、選択されている区画Sをタッチパネル18が操作子に操作されている操作位置に設定する。 In step S5, the operation position acquisition unit 24 sets the selected section S to the operation position where the touch panel 18 is operated by the operator.

ステップS6において、操作位置取得部24は、ステップS2の処理により、すべての区画Sが選択されたか否かを判定する。すべての区画Sが選択された場合には処理を終了し、まだ選択されていない区画Sがある場合にはステップS2に移行する。 In step S6, the operation position acquisition unit 24 determines whether or not all the sections S have been selected by the process of step S2. If all the partitions S have been selected, the process ends, and if there are partitions S that have not been selected yet, the process proceeds to step S2.

[作用効果]
図5は、4回スキャンを行ったときの各回の各区画Sにおける信号の強度を示すグラフである。図5に示されるように、タッチパネル18上で操作子が接触されている箇所以外の箇所においてノイズが検出されている。本実施の形態のタッチパネル18のように静電容量方式のタッチパネルでは、ノイズによりタッチパネル18が操作子に接触された位置とは異なる位置を操作位置として取得するおそれがある。
[Effect]
FIG. 5 is a graph showing the intensity of the signal in each segment S when scanning is performed four times. As shown in FIG. 5, noise is detected at locations on the touch panel 18 other than the location where the operator is in contact. In a capacitive touch panel like the touch panel 18 of the present embodiment, noise may cause the touch panel 18 to acquire, as an operation position, a position different from the position where the operator is touched.

ユーザの指やスタイラス等の操作子がタッチパネル18に接触したときには、複数回のスキャンにわたって同じ区画Sで連続して強い信号が検出される。一方、ノイズは、スキャンが行われる度に強い信号が検出される区画Sが変化する。 When a user's finger, stylus, or other operator touches the touch panel 18, a strong signal is continuously detected in the same section S over a plurality of scans. On the other hand, the noise changes in the segment S where a strong signal is detected each time a scan is performed.

そこで、本実施の形態のタッチパネル装置10では、操作位置取得部24において、信号の強度の平均が第1閾値以上である区画Sの位置を、操作子の操作位置として取得するようにした。操作子がタッチパネル18に接触したときの信号の強度の平均は、ノイズの信号の強度の平均よりも高くなり、信号の強度の平均が高い区画Sの位置を操作位置とすることにより、タッチパネル装置10のノイズ耐性を向上し、取得される操作子の操作位置の精度を向上させることができる。 Therefore, in the touch panel device 10 of the present embodiment, the operation position acquisition unit 24 acquires the position of the section S where the average signal intensity is equal to or greater than the first threshold as the operation position of the operator. The average signal intensity when the operator touches the touch panel 18 is higher than the average noise signal intensity. 10 noise tolerance can be improved, and the accuracy of the acquired operation position of the manipulator can be improved.

操作子がタッチパネル18に接触したときに信号が検出される時間の長さに対して、ノイズが検出される時間の長さは短い。そのため、信号の強度が閾値以上である時間が所定時間以上である区画Sを操作子の操作位置として取得することも考えられる。その場合、操作子の操作位置を取得できるまで時間を要し、応答性が悪化する。これに対し、本実施の形態のタッチパネル装置10では、応答性を向上させることができる。 The length of time during which the noise is detected is shorter than the length of time during which the signal is detected when the operator touches the touch panel 18 . Therefore, it is conceivable to acquire the section S in which the signal intensity is equal to or greater than the threshold for a predetermined time or longer as the operating position of the operator. In that case, it takes time to acquire the operating position of the manipulator, and the responsiveness deteriorates. In contrast, touch panel device 10 of the present embodiment can improve responsiveness.

〔第2の実施の形態〕
第2の実施の形態は、操作位置取得部24の処理が、第1の実施の形態と相違する。
[Second embodiment]
The second embodiment differs from the first embodiment in the processing of the operation position acquisition unit 24 .

[指標取得処理および操作位置取得処理]
図6は、指標取得部22において行われる指標取得処理、および、操作位置取得部24において行われる操作位置取得処理の流れを示すフローチャートである。
[Index Acquisition Processing and Operation Position Acquisition Processing]
FIG. 6 is a flow chart showing the flow of index acquisition processing performed by the index acquisition unit 22 and operation position acquisition processing performed by the operation position acquisition unit 24 .

ステップS11において、指標取得部22は、各区画Sの信号の強度の分散を算出する。図7は、4回スキャンを行ったときの各回の各区画Sにおける信号の強度、および、信号の強度の分散を示すグラフである。 In step S<b>11 , the index acquisition unit 22 calculates the variance of the signal intensity of each section S. FIG. 7 is a graph showing the intensity of the signal in each section S and the dispersion of the intensity of the signal when scanning is performed four times.

ステップS12において、操作位置取得部24は、タッチパネル18上の1つの区画Sを選択する。区画Sの選択は、例えば、区画S[1、1]→区画S[1、2]→区画S[1、3]の順で行われる(図2)。 In step S<b>12 , the operation position acquisition unit 24 selects one section S on the touch panel 18 . Section S is selected in the order of section S[1,1]→section S[1,2]→section S[1,3], for example (FIG. 2).

ステップS13において、操作位置取得部24は、選択した区画Sにおける信号の強度は第3閾値以上であるか否かを判定する。選択した区画Sにおける信号の強度は第3閾値以上であることの条件は、4回スキャンを行い取得された信号の強度のうち、1回でも第3閾値以上となっていれば成立する。選択した区画Sにおける信号の強度は第3閾値以上である場合にはステップS14へ移行し、選択した区画Sにおける信号の強度は第3閾値未満である場合にはステップS17へ移行する。 In step S13, the operation position acquisition unit 24 determines whether or not the intensity of the signal in the selected section S is equal to or higher than the third threshold. The condition that the signal intensity in the selected section S is equal to or higher than the third threshold is satisfied if even one of the signal intensities obtained by scanning four times is equal to or higher than the third threshold. If the signal strength in the selected section S is equal to or higher than the third threshold, the process proceeds to step S14, and if the signal strength in the selected section S is less than the third threshold, the process proceeds to step S17.

ステップS14において、操作位置取得部24は、選択した区画Sにおける信号の強度の分散を取得する。 In step S<b>14 , the operation position acquisition unit 24 acquires the variance of the signal intensity in the selected section S.

ステップS15において、操作位置取得部24は、選択した区画Sの信号の強度の分散が第2閾値未満であるか否かを判定する。選択した区画Sの信号の強度の分散が第2閾値未満であるときにはステップS16に移行し、選択した区画Sの信号の強度の平均が第2閾値以上であるときにはステップS17に移行する。 In step S<b>15 , the operation position acquisition unit 24 determines whether or not the variance of the signal intensity of the selected section S is less than the second threshold. When the variance of the signal intensity of the selected section S is less than the second threshold, the process proceeds to step S16, and when the average of the signal intensities of the selected section S is equal to or greater than the second threshold, the process proceeds to step S17.

ステップS16において、操作位置取得部24は、選択されている区画Sをタッチパネル18が操作子に操作されている操作位置に設定する。 In step S16, the operation position acquisition unit 24 sets the selected section S to the operation position where the touch panel 18 is operated by the operator.

ステップS17において、操作位置取得部24は、ステップS12の処理により、すべての区画Sが選択されたか否かを判定する。すべての区画Sが選択された場合には処理を終了し、まだ選択されていない区画Sがある場合にはステップS12に移行する。 In step S17, the operation position acquisition unit 24 determines whether or not all the sections S have been selected by the process of step S12. If all the partitions S have been selected, the process ends, and if there are partitions S that have not been selected yet, the process proceeds to step S12.

[作用効果]
ユーザの指やスタイラス等の操作子がタッチパネル18に接触したときには、複数回のスキャンにわたって同じ区画Sで連続して強い信号が検出される。一方、ノイズは、スキャンが行われる度に強い信号が検出される区画Sが変化する。
[Effect]
When a user's finger, stylus, or other operator touches the touch panel 18, a strong signal is continuously detected in the same section S over a plurality of scans. On the other hand, the noise changes in the segment S where a strong signal is detected each time a scan is performed.

そこで、本実施の形態のタッチパネル装置10では、操作位置取得部24において、信号の強度の分散が第2閾値未満である区画Sの位置を、操作子の操作位置として取得するようにした。操作子がタッチパネル18に接触したときの信号の強度の分散は、ノイズの信号の強度の分散よりも小さくなり、信号の強度の分散が低い区画Sの位置を操作位置とすることにより、タッチパネル装置10のノイズ耐性を向上し、操作子の操作位置の精度を向上させることができる。 Therefore, in the touch panel device 10 of the present embodiment, the operation position acquiring unit 24 acquires the position of the section S where the dispersion of the signal intensity is less than the second threshold value as the operation position of the operator. The variance of the intensity of the signal when the operator touches the touch panel 18 is smaller than the variance of the intensity of the noise signal. It is possible to improve the noise resistance of 10 and improve the accuracy of the operating position of the manipulator.

操作子がタッチパネル18に接触したときに信号が検出される時間の長さに対して、ノイズが検出される時間の長さは短い。そのため、信号の強度が閾値以上である時間が所定時間以上である区画Sを操作子の操作位置として取得することも考えられる。その場合、操作子の操作位置を取得できるまで時間を要し、応答性が悪化する。これに対し、本実施の形態のタッチパネル装置10では、応答性を向上させることができる。 The length of time during which the noise is detected is shorter than the length of time during which the signal is detected when the operator touches the touch panel 18 . Therefore, it is conceivable to acquire the section S in which the signal intensity is equal to or greater than the threshold for a predetermined time or longer as the operating position of the operator. In that case, it takes time to acquire the operating position of the manipulator, and the responsiveness deteriorates. In contrast, touch panel device 10 of the present embodiment can improve responsiveness.

また、本実施の形態のタッチパネル装置10では、操作位置取得部24は、信号の強度が少なくとも1回は第3閾値以上である区画Sにおいて、信号の強度の分散が第2閾値未満であることの判定を行うようにした。これにより、信号の強度が小さい区画Sに対しては、信号強度の分散が第2閾値未満であることの判定を行わないため、操作位置取得処理の負荷を低減することができる。 Further, in the touch panel device 10 of the present embodiment, the operation position acquiring unit 24 determines that the signal intensity variance is less than the second threshold value in the section S in which the signal intensity is equal to or greater than the third threshold value at least once. is determined. As a result, it is not determined that the variance of the signal intensity is less than the second threshold for the section S with the low signal intensity, so the load of the operation position acquisition process can be reduced.

〔第3の実施の形態〕
第3の実施の形態は、操作位置取得部24の処理が、第1の実施の形態と相違する。
[Third Embodiment]
The third embodiment differs from the first embodiment in the processing of the operation position acquisition unit 24. FIG.

[指標取得処理および操作位置取得処理]
図8は、指標取得部22において行われる指標取得処理、および、操作位置取得部24において行われる操作位置取得処理の流れを示すフローチャートである。
[Index Acquisition Processing and Operation Position Acquisition Processing]
FIG. 8 is a flow chart showing the flow of index acquisition processing performed by the index acquisition unit 22 and operation position acquisition processing performed by the operation position acquisition unit 24 .

ステップS21において、指標取得部22は、各区画Sの信号の強度の平均および分散を算出する。図9は、各区画Sにおける信号の強度の平均および分散を示すグラフである。 In step S<b>21 , the index acquisition unit 22 calculates the average and variance of the signal intensity of each section S. FIG. 9 is a graph showing the mean and variance of signal intensity in each segment S. FIG.

ステップS22において、操作位置取得部24は、タッチパネル18上の1つの区画Sを選択する。区画Sの選択は、例えば区画S[1、1]→区画S[1、2]→区画S[1、3]の順で行われる(図2)。 In step S<b>22 , the operation position acquisition unit 24 selects one section S on the touch panel 18 . Section S is selected in the order of section S[1,1]→section S[1,2]→section S[1,3], for example (FIG. 2).

ステップS23において、操作位置取得部24は、選択した区画Sにおける信号の強度の平均を取得する。 In step S<b>23 , the operation position acquisition unit 24 acquires an average signal intensity in the selected section S.

ステップS24において、操作位置取得部24は、選択した区画Sの信号の強度の平均が第1閾値以上であるか否かを判定する。選択した区画Sの信号の強度の平均が第1閾値以上であるときにはステップS25に移行し、選択した区画Sの信号の強度の平均が第1閾値未満であるときにはステップS28に移行する。 In step S24, the operation position acquisition unit 24 determines whether or not the average signal intensity of the selected section S is equal to or greater than the first threshold. When the average signal intensity of the selected section S is equal to or greater than the first threshold, the process proceeds to step S25, and when the average signal intensity of the selected section S is less than the first threshold, the process proceeds to step S28.

ステップS25において、操作位置取得部24は、選択した区画Sにおける信号の強度の分散を取得する。 In step S<b>25 , the operation position acquisition unit 24 acquires the variance of the signal intensity in the selected section S.

ステップS26において、操作位置取得部24は、選択した区画Sの信号の強度の分散が第2閾値未満であるか否かを判定する。選択した区画Sの信号の強度の分散が第2閾値未満であるときにはステップS27に移行し、選択した区画Sの信号の強度の分散が第2閾値以上であるときにはステップS28に移行する。 In step S<b>26 , the operation position acquisition unit 24 determines whether or not the variance of the signal intensity of the selected section S is less than the second threshold. When the signal intensity variance of the selected section S is less than the second threshold, the process proceeds to step S27, and when the signal intensity variance of the selected section S is equal to or greater than the second threshold, the process proceeds to step S28.

ステップS27において、操作位置取得部24は、選択されている区画Sをタッチパネル18が操作子に操作されている操作位置に設定する。 In step S27, the operation position acquisition unit 24 sets the selected section S to the operation position where the touch panel 18 is operated by the operator.

ステップS28において、操作位置取得部24は、ステップS22の処理により、すべての区画Sが選択されたか否かを判定する。すべての区画Sが選択された場合には処理を終了し、まだ選択されていない区画Sがある場合にはステップS22に移行する。 In step S28, the operation position acquisition unit 24 determines whether or not all the sections S have been selected by the process of step S22. If all the partitions S have been selected, the process ends, and if there are partitions S that have not been selected yet, the process proceeds to step S22.

[作用効果]
ユーザの指やスタイラス等の操作子がタッチパネル18に接触したときには、複数回のスキャンにわたって同じ区画Sで連続して強い信号が検出される。一方、ノイズは、スキャンが行われる度に強い信号が検出される区画Sが変化する。
[Effect]
When a user's finger, stylus, or other operator touches the touch panel 18, a strong signal is continuously detected in the same section S over a plurality of scans. On the other hand, the noise changes in the segment S where a strong signal is detected each time a scan is performed.

そこで本実施の形態のタッチパネル装置10では、操作位置取得部24において、信号の強度の平均が第1閾値以上であり、かつ、信号の強度の分散が第2閾値未満である区画Sの位置を、操作子の操作位置として取得するようにした。操作子がタッチパネル18に接触したときの信号の強度の平均は、ノイズの信号の強度の平均よりも高くなる。また、操作子がタッチパネル18に接触したときの信号の強度の分散は、ノイズの信号の強度の分散よりも小さくなる。信号の強度の平均が高い区画Sであって、かつ、信号の強度の分散が低い区画Sの位置を操作位置とすることにより、タッチパネル装置10のノイズ耐性を向上し、操作子の操作位置の精度を向上させることができる。 Therefore, in the touch panel device 10 of the present embodiment, the operation position acquisition unit 24 detects the position of the section S in which the average signal intensity is equal to or greater than the first threshold and the variance of the signal intensity is less than the second threshold. , is now acquired as the operation position of the operator. The average intensity of the signal when the operator touches the touch panel 18 is higher than the average intensity of the noise signal. Further, the variance of the intensity of the signal when the operator touches the touch panel 18 is smaller than the variance of the intensity of the noise signal. By setting the position of the section S having a high average signal strength and a low variance of the signal strength as the operation position, the noise resistance of the touch panel device 10 is improved, and the operation position of the operator is improved. Accuracy can be improved.

操作子がタッチパネル18に接触したときに信号が検出される時間の長さに対して、ノイズが検出される時間の長さは短い。そのため、信号の強度が閾値以上である時間が所定時間以上である区画Sを操作子の操作位置として取得することも考えられる。その場合、操作子の操作位置を取得できるまで時間を要し、応答性が悪化する。これに対し、本実施の形態のタッチパネル装置10では、応答性を向上させることができる。 The length of time during which the noise is detected is shorter than the length of time during which the signal is detected when the operator touches the touch panel 18 . Therefore, it is conceivable to acquire the section S in which the signal intensity is equal to or greater than the threshold for a predetermined time or longer as the operating position of the operator. In that case, it takes time to acquire the operating position of the manipulator, and the responsiveness deteriorates. In contrast, touch panel device 10 of the present embodiment can improve responsiveness.

〔実施の形態から得られる技術的思想〕
上記実施の形態から把握しうる技術的思想について、以下に記載する。
[Technical ideas obtained from the embodiment]
Technical ideas that can be grasped from the above embodiments will be described below.

操作子に接触された位置に応じた信号を出力するタッチパネル(18)を有するタッチパネル装置(10)であって、前記タッチパネル上を格子状に区画し、それぞれの区画(S)において前記信号の強度を取得する信号強度取得部(20)と、前記区画毎に前記信号の強度の平均または分散を取得する指標取得部(22)と、前記信号の強度の前記平均が第1閾値以上である区画、または、前記信号の強度の前記分散が第2閾値未満である区間の位置を、前記操作子の操作位置として取得する操作位置取得部(24)と、を有する。これにより、タッチパネル装置の操作子による操作に対する応答性を向上させることができる。 A touch panel device (10) having a touch panel (18) for outputting a signal corresponding to a position touched by an operator, wherein the touch panel is divided into grids and the strength of the signal is measured in each division (S). an index acquisition unit (22) for acquiring an average or variance of the signal intensity for each of the sections; and a section where the average of the signal strength is equal to or greater than a first threshold Alternatively, an operation position acquiring unit (24) acquires a position of a section in which the variance of the intensity of the signal is less than a second threshold as an operation position of the operator. Thereby, it is possible to improve the responsiveness to the operation by the operator of the touch panel device.

上記のタッチパネル装置であって、前記操作位置取得部は、前記信号の強度の前記平均が第1閾値以上であり、かつ、前記信号の強度の前記分散が第2閾値未満である区画の位置を、前記操作子の操作位置として取得してもよい。これにより、タッチパネル装置の操作子による操作に対する応答性を向上させることができる。 In the touch panel device described above, the operation position acquiring unit acquires the position of the section where the average of the signal intensities is equal to or greater than a first threshold and the variance of the signal intensities is less than a second threshold. , may be obtained as the operation position of the operator. Thereby, it is possible to improve the responsiveness to the operation by the operator of the touch panel device.

上記のタッチパネル装置であって、前記操作位置取得部は、前記信号の強度が少なくとも1回は第3閾値以上である区画において、前記信号の強度の前記分散が第2閾値未満であることの判定を行ってもよい。これにより、操作位置取得処理の負荷を低減することができる。 In the above touch panel device, the operation position acquisition unit determines that the variance of the signal intensity is less than the second threshold in a section in which the signal intensity is equal to or greater than a third threshold at least once. may be performed. Thereby, the load of the operation position acquisition process can be reduced.

操作子に接触された位置に応じた信号を出力するタッチパネルを有するタッチパネル装置の制御方法であって、前記タッチパネル上を格子状に区画し、それぞれの区画において前記信号の強度を取得する信号強度取得ステップと、それぞれの前記区画における前記信号の強度の平均または分散を取得する指標取得ステップと、前記信号の強度の前記平均が第1閾値以上である区画、または、前記信号の強度の前記分散が第2閾値未満である区間の位置を、前記操作子の操作位置として取得する操作位置取得ステップと、を有する。これにより、タッチパネル装置の操作子による操作に対する応答性を向上させることができる。 A control method for a touch panel device having a touch panel that outputs a signal corresponding to a position touched by an operator, wherein the touch panel is partitioned into a grid pattern, and signal intensity acquisition is performed to acquire the intensity of the signal in each partition. an index obtaining step of obtaining an average or variance of the intensity of the signal in each of the compartments; and an operation position acquisition step of acquiring a position of a section that is less than a second threshold as an operation position of the manipulator. Thereby, it is possible to improve the responsiveness to the operation by the operator of the touch panel device.

上記のタッチパネル装置の制御方法であって、前記操作位置取得ステップは、前記信号の強度の前記平均が第1閾値以上であり、かつ、前記信号の強度の前記分散が第2閾値未満である区画の位置を、前記操作子の操作位置として取得してもよい。これにより、タッチパネル装置の操作子による操作に対する応答性を向上させることができる。 In the control method for the touch panel device described above, the operation position acquisition step includes dividing the area where the average of the signal intensities is greater than or equal to a first threshold and the variance of the signal intensities is less than a second threshold. may be obtained as the operation position of the manipulator. Thereby, it is possible to improve the responsiveness to the operation by the operator of the touch panel device.

上記のタッチパネル装置の制御方法であって、前記操作位置取得ステップは、前記信号の強度が少なくとも1回は第3閾値以上である区画において、前記信号の強度の前記分散が第2閾値未満であることの判定を行ってもよい。これにより、操作位置取得処理の負荷を低減することができる。 In the above control method for a touch panel device, in the operation position acquisition step, the variance of the signal intensity is less than a second threshold in a section in which the signal intensity is equal to or greater than a third threshold at least once. You may make a decision. Thereby, the load of the operation position acquisition process can be reduced.

上記のタッチパネル装置の制御方法をコンピュータに実行させる、プログラム。これにより、タッチパネル装置の操作子による操作に対する応答性を向上させることができる。 A program that causes a computer to execute the above-described touch panel device control method. Thereby, it is possible to improve the responsiveness to the operation by the operator of the touch panel device.

上記のタッチパネル装置の制御方法をコンピュータに実行させる、プログラムを記憶する記憶媒体(28)。これにより、タッチパネル装置の操作子による操作に対する応答性を向上させることができる。 A storage medium (28) for storing a program for causing a computer to execute the control method of the touch panel device. Thereby, it is possible to improve the responsiveness to the operation by the operator of the touch panel device.

10…タッチパネル装置 18…タッチパネル
20…信号強度取得部 22…指標取得部
24…操作位置取得部 S…区画
DESCRIPTION OF SYMBOLS 10... Touch panel apparatus 18... Touch panel 20... Signal strength acquisition part 22... Index acquisition part 24... Operation position acquisition part S... Section

Claims (4)

操作子に接触された位置に応じた信号を出力するタッチパネルを有するタッチパネル装置であって、
前記タッチパネル上を格子状に区画し、それぞれの区画において前記信号の強度を取得する信号強度取得部と、
前記区画毎に前記信号の強度の平均および分散を取得する指標取得部と、
前記信号の強度の前記平均が第1閾値以上であり、かつ、前記信号の強度の前記分散が第2閾値未満である区画の位置を、前記操作子の操作位置として取得する操作位置取得部と、
を有する、タッチパネル装置。
A touch panel device having a touch panel that outputs a signal corresponding to a position touched by an operator,
a signal intensity acquisition unit that partitions the touch panel in a grid pattern and acquires the intensity of the signal in each partition;
an index acquisition unit that acquires the average and variance of the intensity of the signal for each of the sections;
an operation position acquisition unit configured to acquire, as an operation position of the manipulator, a position of a section in which the average of the signal intensities is equal to or greater than a first threshold and the variance of the signal intensities is less than a second threshold; ,
A touch panel device.
操作子に接触された位置に応じた信号を出力するタッチパネルを有するタッチパネル装置の制御方法であって、
前記タッチパネル上を格子状に区画し、それぞれの区画において前記信号の強度を取得する信号強度取得ステップと、
それぞれの前記区画における前記信号の強度の平均および分散を取得する指標取得ステップと、
前記信号の強度の前記平均が第1閾値以上であり、かつ、前記信号の強度の前記分散が第2閾値未満である区画の位置を、前記操作子の操作位置として取得する操作位置取得ステップと、
を有する、タッチパネル装置の制御方法。
A control method for a touch panel device having a touch panel that outputs a signal corresponding to a position touched by an operator, comprising:
A signal strength acquisition step of dividing the touch panel in a grid pattern and obtaining the strength of the signal in each section;
an index obtaining step of obtaining the mean and variance of the intensity of the signal in each of the compartments;
an operation position obtaining step of obtaining, as an operation position of the manipulator, the position of the section where the average of the signal intensities is equal to or greater than a first threshold and the variance of the signal intensities is less than a second threshold; ,
A control method for a touch panel device.
請求項2に記載のタッチパネル装置の制御方法をコンピュータに実行させる、プログラム。 A program that causes a computer to execute the control method of the touch panel device according to claim 2 . 請求項2に記載のタッチパネル装置の制御方法をコンピュータに実行させる、プログラムを記憶する記憶媒体。 A storage medium for storing a program for causing a computer to execute the control method of the touch panel device according to claim 2.
JP2018199043A 2018-10-23 2018-10-23 Touch panel device, control method for touch panel device, program, and storage medium for storing program Active JP7264615B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018199043A JP7264615B2 (en) 2018-10-23 2018-10-23 Touch panel device, control method for touch panel device, program, and storage medium for storing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018199043A JP7264615B2 (en) 2018-10-23 2018-10-23 Touch panel device, control method for touch panel device, program, and storage medium for storing program

Publications (2)

Publication Number Publication Date
JP2020067737A JP2020067737A (en) 2020-04-30
JP7264615B2 true JP7264615B2 (en) 2023-04-25

Family

ID=70390365

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018199043A Active JP7264615B2 (en) 2018-10-23 2018-10-23 Touch panel device, control method for touch panel device, program, and storage medium for storing program

Country Status (1)

Country Link
JP (1) JP7264615B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009277116A (en) 2008-05-16 2009-11-26 Seiko Epson Corp Electrooptical device, electronic apparatus and contact detection method
US20130215047A1 (en) 2012-02-16 2013-08-22 Elan Microelectronics Corporation Scan method for a capacitive touch panel
JP2018067247A (en) 2016-10-21 2018-04-26 三菱電機株式会社 Touch panel device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009277116A (en) 2008-05-16 2009-11-26 Seiko Epson Corp Electrooptical device, electronic apparatus and contact detection method
US20130215047A1 (en) 2012-02-16 2013-08-22 Elan Microelectronics Corporation Scan method for a capacitive touch panel
JP2018067247A (en) 2016-10-21 2018-04-26 三菱電機株式会社 Touch panel device

Also Published As

Publication number Publication date
JP2020067737A (en) 2020-04-30

Similar Documents

Publication Publication Date Title
US8963832B2 (en) Mobile terminal
WO2015198936A1 (en) Touch-type input device
KR20130014420A (en) Touch panel
JP6661013B2 (en) Touch panel control device and electronic equipment
CN104615346B (en) Touch screen control for adjusting numerical values
JP6370118B2 (en) Information processing apparatus, information processing method, and computer program
JP6236640B2 (en) Detection method using capacitance type sensor and electronic device
JP7264615B2 (en) Touch panel device, control method for touch panel device, program, and storage medium for storing program
JP5961644B2 (en) Display device and display control program
US10860158B2 (en) Touch panel device, touch panel device control method, and non-transitory tangible computer-readable storage medium having the program stored therein
JP2015141592A5 (en)
JP7204415B2 (en) Touch panel device, control method for touch panel device, program, and storage medium for storing program
US20130285944A1 (en) Programmable resistive multi-touch detections and regionalized resistive multi-touch sensing
CN106919335A (en) A kind of target switching method and device
JP5785891B2 (en) Display device
JP2017010104A (en) Touch panel device, control method therefor and control program
US10895935B2 (en) Touch panel device, touch panel device control method, program, and storage medium storing the program
JP6210055B2 (en) Information processing system, information processing apparatus, and information processing method
JP2014081723A (en) Electronic apparatus with resistance film touch panel
US20200192503A1 (en) Touch panel device, touch panel device control method, and non-transitory tangible computer-readable storage medium having the program stored therein
JP2014067253A (en) Operation device
JP2014211853A (en) Information processing apparatus, information processing method, program, and information processing system
JP7257248B2 (en) Touch panel controller and program
JP2018032122A (en) Display operation device
JP2015122013A (en) Display device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210817

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220512

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220607

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220804

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20221206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230130

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20230130

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20230208

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20230214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230413

R150 Certificate of patent or registration of utility model

Ref document number: 7264615

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150