JPH0934641A - Detector for touch panel press position - Google Patents

Detector for touch panel press position

Info

Publication number
JPH0934641A
JPH0934641A JP18139695A JP18139695A JPH0934641A JP H0934641 A JPH0934641 A JP H0934641A JP 18139695 A JP18139695 A JP 18139695A JP 18139695 A JP18139695 A JP 18139695A JP H0934641 A JPH0934641 A JP H0934641A
Authority
JP
Japan
Prior art keywords
data
axis
abnormal
touch panel
deleted
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.)
Pending
Application number
JP18139695A
Other languages
Japanese (ja)
Inventor
Shuichi Ota
周一 太田
Hiroyuki Mori
博行 森
Manabu Moriya
学 守谷
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP18139695A priority Critical patent/JPH0934641A/en
Publication of JPH0934641A publication Critical patent/JPH0934641A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To detect a high-precision press position regardless of superposition of noise by converting the voltage outputted from a touch panel to a digital value and eliminating abnormal data. SOLUTION: A press detection part 11 detects whether the touch panel is pressed or not. A data recording part 12 reads in X-axis data outputted from an A/D converter 5 through an I/O 18 to record it in a memory. A switch control part 15 opens switches 2-1 and 2-2 and closes switches 3-1 and 3-2 through an I/O 17. The data recording part 12 reads in Y-axis data, which is outputted from an operational amplifier 4-2 and is subjected to A/D conversion, through an I/O 18 and records it in the memory. An abnormal data elimination part 13 eliminates abnormal data from X-axis data and Y-axis data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はタッチパネルの押圧
位置を検出するタッチパネル押圧位置検出装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a touch panel pressed position detecting device for detecting the pressed position of a touch panel.

【0002】[0002]

【従来の技術】今日の電子機器の入力方法の一つとし
て、表示画面上に設けられたタッチパネルより入力する
方法が用いられている。図3はタッチパネルの具体例を
示しており、液晶表示装置、CRT等の表示面の上に、
例えばインジウム−錫酸化膜でできた透明導電薄膜(i
TD膜)を2枚重ね合せ、上方の膜の左右の両端には電
極XLおよびXRを、下方の膜の上下の両端には電極Y
UおよびYLが取付けられている。
2. Description of the Related Art As one of the input methods of today's electronic equipment, a method of inputting from a touch panel provided on a display screen is used. FIG. 3 shows a specific example of the touch panel, which is displayed on the display surface of a liquid crystal display device, a CRT, or the like.
For example, a transparent conductive thin film made of an indium-tin oxide film (i
TD films), and the electrodes XL and XR are provided at the left and right ends of the upper film, and the electrode Y is provided at the upper and lower ends of the lower film.
U and YL are attached.

【0003】押圧位置の検出は、図4に示すように、X
軸方向の位置検出においては、上面の左電極XLを接地
し、右電極XRにバイアス電圧を加える。タッチパネル
を押圧すると上面のiDT膜が下面のiDT膜と押圧点
で接触する。したがって、下面の電極には、 Vxk=k・VB ・・・(1) ただし、VB :バイアス電圧 k=R1 /(R1 +R2 )=XP /XW ・・・(2) XW :XLとXR間の長さ、 XP :XLより押圧点までの長さ なる電圧Vxkが出力される。
As shown in FIG. 4, the pressing position is detected by X
In the axial position detection, the left electrode XL on the upper surface is grounded and a bias voltage is applied to the right electrode XR. When the touch panel is pressed, the iDT film on the upper surface comes into contact with the iDT film on the lower surface at a pressing point. Therefore, V xk = k · V B (1) where V B is the bias voltage k = R 1 / (R 1 + R 2 ) = X P / X W (2) ) X W: length between XL and XR, X P: voltage V xk consisting length to pressing point than XL is output.

【0004】式(1)において、VB は既知であるの
で、kを知ることが出来、kは式(2)で表わされるの
で、X軸の押圧点XP を求めることができる。また、Y
軸方向についても、X軸方向と同様にして押圧点YP
求めることができる。
In the equation (1), since V B is known, k can be known. Since k is represented by the equation (2), the pressing point X P of the X axis can be obtained. Also, Y
Also in the axial direction, the pressing point Y P can be obtained in the same manner as the X-axis direction.

【0005】[0005]

【発明が解決しようとする課題】前述したように、従来
のタッチパネルの押圧位置の検出においては、タッチパ
ネルの一方のiTD膜にバイアス電圧を加え、押圧する
ことによって接触し、他方のiTD膜より出される電圧
値によって押圧位置を求めるようにしていた。
As described above, in the detection of the pressing position of the conventional touch panel, a bias voltage is applied to one iTD film of the touch panel to make a contact by pressing, and the iTD film of the other touch panel is exposed. The pressing position is obtained by the voltage value.

【0006】タッチパネルはLCDやCRT等の表示装
置の表示面上に設置されている。このため表示装置から
誘導される雑音がタッチパネルの出力電圧に重畳され
る。すなわち、例えばドット型グラフィックLCDはX
軸電極に走査電圧を順次加え、Y軸電極に信号電圧を加
えて表示を行なうようにしているが、この場合の電圧は
間欠的に約30V程度の高電圧が加えられ、この間欠的
な高電圧(パルス)がタッチパネルに誘導されて雑音と
なる。
The touch panel is installed on the display surface of a display device such as an LCD or CRT. Therefore, the noise induced from the display device is superimposed on the output voltage of the touch panel. That is, for example, a dot graphic LCD has X
A scanning voltage is sequentially applied to the shaft electrodes and a signal voltage is applied to the Y-axis electrodes for display. However, in this case, a high voltage of about 30 V is intermittently applied, and this intermittent high voltage is applied. A voltage (pulse) is induced in the touch panel and becomes noise.

【0007】タッチパネルに雑音が重畳すると押圧位置
が大きく変化し、位置誤差発生の原因となる。本発明は
雑音が重畳されても精度の高い押圧位置を検出できるよ
うにしたタッチパネル押圧位置検出装置を提供すること
を課題とする。
When noise is superimposed on the touch panel, the pressing position changes greatly, which causes a position error. An object of the present invention is to provide a touch panel pressed position detection device capable of detecting a pressed position with high accuracy even when noise is superimposed.

【0008】[0008]

【課題を解決するための手段】前述した課題を解決する
ために本発明が採用した手段を説明する。第1の本発明
においては、タッチパネルの押圧位置を検出するタッチ
パネル押圧位置検出装置において、前記タッチパネルよ
り出力されるX軸およびY軸電圧をディジタル値に変換
するアナログディジタル変換手段と、前記タッチパネル
が押圧されている間の前記アナログディジタル変換手段
より出力されるX軸データおよびY軸データのそれぞれ
を複数データ記録するデータ記録手段と、前記データ記
録手段に記録されているX軸データおよびY軸データの
中より異常データを削除する異常データ削除手段と、前
記異常データ削除手段で削除され、前記データ記録手段
に記録されている残りのデータよりX軸データおよびY
軸データの平均値を算出し押圧位置を算出して出力する
押圧位置算出手段と、を備える。
Means adopted by the present invention to solve the above-mentioned problems will be described. According to a first aspect of the present invention, in a touch panel pressed position detection device for detecting a pressed position of a touch panel, an analog-digital conversion means for converting X-axis and Y-axis voltages output from the touch panel into digital values, and the touch panel pressed. Data recording means for recording a plurality of pieces of X-axis data and Y-axis data output from the analog-to-digital conversion means, and X-axis data and Y-axis data recorded in the data recording means. Abnormal data deleting means for deleting abnormal data from the inside, and X-axis data and Y data from the remaining data deleted by the abnormal data deleting means and recorded in the data recording means.
And a pressing position calculating means for calculating an average value of the axis data and calculating and outputting the pressing position.

【0009】アナログディジタル変換手段は、タッチパ
ネルより出力されるX軸およびY軸電圧をディジタル値
に変換する。データ記録手段は、タッチパネルが押圧さ
れている間の前記アナログディジタル変換手段より出力
されるX軸データおよびY軸データのそれぞれを複数デ
ータ記録する。
The analog-digital conversion means converts the X-axis and Y-axis voltages output from the touch panel into digital values. The data recording means records a plurality of pieces of X-axis data and Y-axis data output from the analog-digital conversion means while the touch panel is being pressed.

【0010】異常データ削除手段は、データ記録手段に
記録されているX軸データおよびY軸データの中より異
常データを削除する。押圧位置算出手段は、異常データ
削除手段で削除され、前記データ記録手段に記録されて
いる残りのデータよりX軸データおよびY軸データの平
均値を算出し押圧位置を算出して出力する。
The abnormal data deleting means deletes the abnormal data from the X-axis data and the Y-axis data recorded in the data recording means. The pressing position calculating means calculates the pressing position by calculating the average value of the X axis data and the Y axis data from the remaining data deleted by the abnormal data deleting means and recorded in the data recording means, and outputs the calculated pressing position.

【0011】また、第2の発明においては、前記異常デ
ータ削除手段が判定する異常データの判定を、前記デー
タ記録手段に記録されているX軸およびY軸データのそ
れぞれに対してデータを順次読出し、前回読出したデー
タと今回読出したデータ値の差が設定された値以上のと
き異常と判定して、前回読出したデータまたは両データ
を削除する。
Further, in the second invention, the determination of the abnormal data made by the abnormal data deleting means is performed by sequentially reading the data for each of the X-axis and Y-axis data recorded in the data recording means. , If the difference between the previously read data value and the currently read data value is greater than or equal to the set value, it is determined to be abnormal and the previously read data or both data are deleted.

【0012】また、第3の発明においては、前記異常デ
ータ削除手段が判定する異常データの判定を、前記デー
タ記録手段に記録されているX軸およびY軸データのそ
れぞれに対してデータの平均を求め、求めた平均値と記
録されているデータ値との差が設定された値以上のとき
異常と判定し、該データを削除する。
Further, in the third invention, the determination of abnormal data made by the abnormal data deleting means is performed by averaging the data for each of the X-axis and Y-axis data recorded in the data recording means. When the difference between the obtained average value and the recorded data value is equal to or more than the set value, it is determined to be abnormal and the data is deleted.

【0013】また、第4の発明においては、前記異常デ
ータ削除手段が判定する異常データの判定を、前記デー
タ記録手段に記録されているX軸およびY軸データのそ
れぞれに対してデータの平均と標準偏差とを求め、求め
た平均値と記録されているデータ値との差がA・標準偏
差(Aは設定値)以上のとき異常と判定し、該データを
削除する。
Further, in the fourth invention, the determination of the abnormal data determined by the abnormal data deleting means is performed by averaging the data for each of the X-axis and Y-axis data recorded in the data recording means. The standard deviation is obtained, and when the difference between the obtained average value and the recorded data value is A · standard deviation (A is a set value) or more, it is determined to be abnormal and the data is deleted.

【0014】また、第5の発明においては、前記異常デ
ータ削除手段が削除するデータを、前記データ記録手段
に記録されているX軸およびY軸データのそれぞれに対
してデータを順次読出し、前回と今回読出したデータ値
の差が設定された値以上であるときは前回または両デー
タを削除し、さらに残りのデータに対して平均値を求
め、求めた平均値と残りのデータ値との差が設定された
値以上となるデータを削除する。
Further, in the fifth invention, the data to be deleted by the abnormal data deleting means is sequentially read out for each of the X-axis and Y-axis data recorded in the data recording means, and the data is read from the previous time. If the difference between the data values read this time is greater than or equal to the set value, the previous or both data are deleted, the average value is calculated for the remaining data, and the difference between the calculated average value and the remaining data value is Delete the data that exceeds the set value.

【0015】また、第6の発明においては、前記異常デ
ータ削除手段が削除するデータを、前記データ記録手段
に記録されているX軸およびY軸データのそれぞれに対
してデータを順次読出し、前回と今回読出したデータ値
の差が設定された値以上であるときは前回または両デー
タを削除し、さらに残りのデータに対して平均値の標準
偏差を求め、求めた平均値と残りのデータ値との差がA
・標準偏差(Aは設定値)以上となるデータを削除す
る。
Further, in the sixth invention, the data to be deleted by the abnormal data deleting means is sequentially read out for each of the X-axis and Y-axis data recorded in the data recording means, and the data is read from the previous time. If the difference between the data values read this time is greater than or equal to the set value, the previous or both data are deleted, and the standard deviation of the average value is calculated for the remaining data, and the calculated average value and the remaining data value are Difference is A
・ Delete the data that exceeds the standard deviation (A is the set value).

【0016】以上のように、タッチパネルより出力され
る電圧をディジタル値に変換し、変換された複数のディ
ジタル値の中で、差が設定された値以上、平均値よりの
差が設定された値以上、または設定された偏差値以外と
なるデータを削除して、残りのデータより押圧位置を算
出するようにしたので、タッチパネルよりの出力される
電圧に雑音が重畳されても、雑音が重畳されたデータは
除去され、精度の高い押圧位置を検出することができ
る。
As described above, the voltage output from the touch panel is converted into a digital value, and among the plurality of converted digital values, a value equal to or more than the set value and a value set to the difference from the average value. Since the data other than the above or the deviation value other than the set deviation value is deleted and the pressed position is calculated from the remaining data, even if noise is superimposed on the voltage output from the touch panel, noise is superimposed. The removed data is removed, and the pressed position can be detected with high accuracy.

【0017】また、データの削除の差が設定された値以
上のデータを削除し、さらに残りのデータに対して平均
値よりの差が設定された値以上のデータも削除するよう
にしたので、平均値が0とならないインパルス性雑音お
よび平均値が0となる雑音の両雑音が重畳されても、精
度の高い押圧位置を検出することができる。
Further, since the data having a difference in deletion of data equal to or larger than the set value is deleted, and further the data having a difference from the average value with respect to the remaining data or larger is deleted, Even if both the impulsive noise whose average value does not become 0 and the noise whose average value becomes 0 are superimposed, it is possible to detect the pressed position with high accuracy.

【0018】[0018]

【発明の実施の形態】本発明の実施の形態を図1および
図2を参照して説明する。図1は実施の形態の構成図、
図2は同実施の形態の動作フローチャートである。図1
において、1は図3で説明したタッチパネル、2および
3はスイッチ、4はオペアンプ、5はアナログディジタ
ル変換器(A/D)、11は押圧検出部、12はデータ
記録部、13は異常データ削除部、14は押圧位置算出
部、15はスイッチ制御部、16〜19はインタフェー
ス(I/O)、20は処理を行うプロセッサ(CPU)
である。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a configuration diagram of an embodiment,
FIG. 2 is an operation flowchart of the same embodiment. FIG.
1, 1 is the touch panel described in FIG. 3, 2 and 3 are switches, 4 is an operational amplifier, 5 is an analog-digital converter (A / D), 11 is a pressure detection unit, 12 is a data recording unit, and 13 is abnormal data deletion. Section, 14 is a pressed position calculation section, 15 is a switch control section, 16 to 19 are interfaces (I / O), and 20 is a processor (CPU) that performs processing.
It is.

【0019】押圧位置検出開始前では、スイッチ2−1
および2−2は閉となってバイアス電圧が印加された状
態となっており、スイッチ3−1および3−2は開とな
った状態となっている。また、押圧されていないためP
で示す点でのiTD膜の接触はなく、オペアンプ4−1
の入力は0となっている。
Before the pressing position detection is started, the switch 2-1
And 2-2 are closed and the bias voltage is applied, and the switches 3-1 and 3-2 are open. Also, since it is not pressed, P
There is no contact of the iTD film at the point indicated by, and the operational amplifier 4-1
Is 0.

【0020】つぎに、図2を参照して、動作を説明す
る。処理S1では、押圧検出部11は、タッチパネルが
押圧されたか否かを検出する。押圧されたか否かの検出
は、前述したように、押圧されていないときはオペアン
プ4−1の出力は0であるが、押圧されると0以下の値
が出力する。したがって、A/D5より出力されるX軸
データ値(オペアンプ4−1の出力)が0以外となった
とき押圧されたと判定し、押圧されていないと判定され
た場合は押圧されるまで待機する。
Next, the operation will be described with reference to FIG. In process S1, the press detection unit 11 detects whether or not the touch panel is pressed. As for the detection of whether or not it is pressed, as described above, the output of the operational amplifier 4-1 is 0 when it is not pressed, but when it is pressed, a value of 0 or less is output. Therefore, when the X-axis data value (output of the operational amplifier 4-1) output from the A / D 5 is other than 0, it is determined that it has been pressed, and when it is determined that it has not been pressed, it waits until it is pressed. .

【0021】処理S2では、データ記録部12は、A/
D5より出力されるX軸データVXをI/O18を介し
て読込み、図示しないメモリに記録する。続いて処理S
3に移り、記録された個数がN個になったか否かを判定
し、N個になっていない場合は或時間後に処理S2に移
って次のX軸データを読込んで記録する。
In the process S2, the data recording unit 12 displays A /
The X-axis data V X output from D5 is read via the I / O 18 and recorded in a memory (not shown). Then process S
In step S3, it is determined whether or not the number recorded is N. If the number is not N, the process proceeds to step S2 after a certain time to read and record the next X-axis data.

【0022】処理S4では、スイッチ制御部15は、I
/O2を介してスイッチ2−1および2−2を開とし、
またI/O17を介してスイッチ3−1および3−2を
閉にする。処理S5では、データ記録部12は、オペア
ンプ4−2より出力され、A/D変換されたY軸データ
Y をI/O18を介して読込んで図示しないメモリに
記録し、処理S6に移って、記録したデータがN個にな
ったか否か判定し、判定がNOの場合は処理S5に移っ
て次のデータを読込んで記録する。
In step S4, the switch control unit 15 causes the I
Open switches 2-1 and 2-2 via / O2,
Also, the switches 3-1 and 3-2 are closed via the I / O 17. In process S5, the data recording unit 12 reads the A / D converted Y-axis data V Y output from the operational amplifier 4-2 via the I / O 18 and records it in a memory (not shown), and then proceeds to process S6. Then, it is determined whether or not the number of recorded data is N, and if the determination is NO, the process moves to step S5 to read and record the next data.

【0023】処理S7では、異常データ削除部13は、
処理S2で記録したX軸データおよび処理S5で記録し
たY軸データの中から異常データを削除する。異常デー
タの判定は、記録されているデータを順次読出し、第i
番目および第i+1番目に読出したX軸データをVXi
よびVXi+1とすると、 |VXi−VXi+1|>VD ・・・(3) ただし、VD は設定された値であるととき異常と判定
し、VXiまたはVXiとVXi+1の両データを記録より削除
する。また同様に、Y軸データに対しても行い異常デー
タを削除する。
In step S7, the abnormal data deleting unit 13
The abnormal data is deleted from the X-axis data recorded in the process S2 and the Y-axis data recorded in the process S5. To determine abnormal data, the recorded data is read out sequentially and the i-th
If the X-axis data read at the th and the (i + 1) th is V Xi and V Xi + 1 , then | V Xi −V Xi + 1 |> V D (3) However, V D is a set value. If there is, it is determined to be abnormal, and V Xi or both V Xi and V Xi + 1 data is deleted from the record. Similarly, the abnormal data is deleted for the Y-axis data.

【0024】処理S8では、押圧位置算出部14は、デ
ータ記録部12の図示しないメモリに記録されたN個の
データより処理S7で削除されて残っているM個のデー
タより、 VXk=(Vx1+VX2+……+VXM)/M ・・・(4) なる演算を行って平均値VXkを求め、 Xk=VXk/VB ・・・(5) なる演算を行ってX軸の押下位置Xkを求め、I/O1
9を介して出力する。
In process S8, the pressed position calculation unit 14 calculates V Xk = (from the M data remaining after being deleted in process S7 from the N data recorded in the memory (not shown) of the data recording unit 12. V x1 + V X2 + ... + V XM ) / M (4) to obtain the average value V Xk , and Xk = V Xk / V B (5) to perform the X-axis Find the pressed position Xk of I / O1
Output via 9.

【0025】また、同様に、Y軸に対して、図示しない
メモリに残っているJ個のデータより VYK=(VY1+VY2+……+VYJ)/J ・・・(6) なる演算を行って平均値VYKを求め、 YK =VYK/VB ・・・(7) なる演算を行ってY軸の押下位置YK を求め、I/O1
9を介して出力する。
Similarly, with respect to the Y axis, the calculation of V YK = (V Y1 + V Y2 + ... + V YJ ) / J (6) is performed from the J data remaining in the memory (not shown). the calculated average value V YK performed, determine the touched position Y K Y-axis performed Y K = V YK / V B ··· (7) becomes operational, I / O1
Output via 9.

【0026】処理S9では、押圧検出部11は、オペア
ンプ4−2から出力され、A/D変換されたY軸データ
値が0になったか否か、すなわち押圧が解除されたか否
かを判定し、判定がNOの場合はYESになるまで待機
する。処理S10では、スイッチ制御部15は、処理S
9での判定がYESになると、I/O17を介してスイ
ッチ3−1および3−2を開とし、またI/O16を介
してスイッチ2−1および2−2を閉として処理S1に
移り、次の押圧位置検出にそなえる。
In step S9, the pressure detector 11 determines whether the Y-axis data value output from the operational amplifier 4-2 and A / D converted has become 0, that is, whether the pressure has been released. If the determination is NO, the process waits until YES. In process S10, the switch controller 15 performs the process S
When the determination result in 9 is YES, the switches 3-1 and 3-2 are opened via the I / O 17, and the switches 2-1 and 2-2 are closed via the I / O 16 and the process S1 is performed. Prepare for the next pressing position detection.

【0027】なお実施例では、異常データを判定を式
(3)によって判定させていたが、 Va =(V1 +V2 +……+VN )/N ・・・(8) なる演算を行って平均Va を求め、第i番目のデータV
i に対して、 |Vi −Va |>VD ・・・(9) であるとき異常と判定し、データVi を削除するように
してもよい。
In the embodiment, the abnormal data is judged by the formula (3), but the calculation of V a = (V 1 + V 2 + ... + V N ) / N (8) is performed. To obtain the average V a , and calculate the i-th data V
For i , if | V i −V a |> V D (9), it may be determined as abnormal and the data V i may be deleted.

【0028】すなわち、式(3)による判定は雑音の平
均値が0にならない場合は有効ではあるが、Vi および
i+1 に、共に同極性の雑音が重畳されている場合は異
常と判定されず、また平均値が0となる雑音に対しては
平均値と差より判定することにより異常データを確実に
削除することができる。
That is, the determination by the equation (3) is effective when the average value of noise does not become 0, but abnormal when both noises of the same polarity are superimposed on V i and V i + 1. For noise which is not judged and whose average value is 0, abnormal data can be surely deleted by judging from the difference from the average value.

【0029】また、異常データの判定を、 σ={(V1 2+V2 2+……+VN 2 )/N−Va 2 0.5 ……(10) ただし、Va は式(8)で求めた平均なる演算を行って
標準偏差σを求め、第i番目のデータVi に対して、 |Vi −Va |>A・σ ……(11) ただし、Aは設定された定数であるとき異常と判定し、
データVi を削除するようにしても良い。
Further, the determination of abnormal data is performed by σ = {(V 1 2 + V 2 2 + ... + V N 2 ) / N−V a 2 } 0.5 (10) where V a is expressed by the equation (8). Then, the standard deviation σ is obtained by performing the average calculation obtained in step S1, and for the i-th data V i , | V i −V a |> A · σ (11) where A is a set constant. Is judged to be abnormal,
The data V i may be deleted.

【0030】また、まず式(3)によって判定を行って
データを削除し、残りのデータに対して、さらに式
(9)または式(11)によって判定を行ってデータを
削除し、残ったデータに対して式(4)および式(6)
を行なうようにしてもよい。このように2段回路の削除
を行うことにより、平均値が0とならないインパルス性
雑音および平均値が0となる雑音が重畳されたデータを
削除することができる。
Further, first, the data is deleted by making a judgment by the formula (3), and the remaining data is judged by the formula (9) or the formula (11) and the data is deleted. With respect to Equation (4) and Equation (6)
May be performed. By deleting the two-stage circuit in this way, it is possible to delete the data on which the impulsive noise whose average value is not 0 and the noise whose average value is 0 are superimposed.

【0031】[0031]

【発明の効果】以上説明したように、本発明によれば次
の効果が得られる。タッチパネルより出力される電圧を
ディジタル値に変換し、変換された複数のディジタル値
の中で、差が設定された値以上、平均値よりの差が設定
された値以上、または設定された偏差値以外となるデー
タを削除して、残りのデータより押圧位置を算出するよ
うにしたので、タッチパネルよりの出力される電圧に雑
音が重畳されても、雑音が重畳されたデータは除去さ
れ、精度の高い押圧位置を検出することができる。
As described above, according to the present invention, the following effects can be obtained. The voltage output from the touch panel is converted into a digital value, and among the converted digital values, the difference is greater than or equal to the set value, the difference from the average value is greater than or equal to the set value, or the set deviation value. Since the data other than that is deleted and the pressed position is calculated from the remaining data, even if noise is superimposed on the voltage output from the touch panel, the data on which noise is superimposed is removed, and A high pressed position can be detected.

【0032】また、データの削除の差が設定された値以
上のデータを削除し、さらに残りのデータに対して平均
値よりの差が設定された値以上のデータも削除するよう
にしたので、平均値が0とならないインパルス性雑音お
よび平均値が0となる雑音の両雑音が重畳されても、精
度の高い押圧位置を検出することができる。
Further, since the data having the difference of deletion of data is equal to or more than the set value, and the data having the difference from the average value with respect to the remaining data is equal to or more than the set value is deleted. Even if both the impulsive noise whose average value does not become 0 and the noise whose average value becomes 0 are superimposed, it is possible to detect the pressed position with high accuracy.

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

【図1】本発明の実施の形態の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】同実施の形態の動作フローチャートである。FIG. 2 is an operation flowchart of the embodiment.

【図3】タッチパネルの具体例である。FIG. 3 is a specific example of a touch panel.

【図4】タッチパネルより出力される電圧を説明する図
である。
FIG. 4 is a diagram illustrating a voltage output from a touch panel.

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

1 タッチパネル 2,3 スイッチ 4 オペアンプ 5 アナログディジタル変換器(A/D) 11 押圧検出部 12 データ記録部 13 異常データ削除部 14 押圧位置算出部 15 スイッチ制御部 16〜19 インタフェース(I/O) 20 プロセッサ(CPU) DESCRIPTION OF SYMBOLS 1 Touch panel 2, 3 switch 4 Operational amplifier 5 Analog-digital converter (A / D) 11 Press detection part 12 Data recording part 13 Abnormal data deletion part 14 Pressed position calculation part 15 Switch control part 16-19 Interface (I / O) 20 Processor (CPU)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 守谷 学 鳥取県鳥取市千代水1丁目100番地アイシ ン千代ビル リコー鳥取技術開発株式会社 内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Manabu Moriya 1-Chome, 1-Chiyomizu, Tottori City, Tottori Prefecture Aisin Chiyo Building Ricoh Tottori Technology Development Co., Ltd.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 タッチパネルの押圧位置を検出するタッ
チパネル押圧位置検出装置において、 前記タッチパネルより出力されるX軸およびY軸電圧を
ディジタル値に変換するアナログディジタル変換手段
と、 前記タッチパネルが押圧されている間の前記アナログデ
ィジタル変換手段より出力されるX軸データおよびY軸
データのそれぞれを複数データ記録するデータ記録手段
と、 前記データ記録手段に記録されているX軸データおよび
Y軸データの中より異常データを削除する異常データ削
除手段と、 前記異常データ削除手段で削除され、前記データ記録手
段に記録されている残りのデータよりX軸データおよび
Y軸データの平均値を算出し押圧位置を算出して出力す
る押圧位置算出手段と、を備えたことを特徴とするタッ
チパネル押圧位置検出装置。
1. A touch panel pressed position detection device for detecting a pressed position of a touch panel, wherein analog-digital conversion means for converting X-axis and Y-axis voltages output from the touch panel into digital values, and the touch panel is pressed. Data recording means for recording a plurality of pieces of each of X-axis data and Y-axis data output from the analog-to-digital conversion means in between, and abnormal among the X-axis data and Y-axis data recorded in the data recording means. Abnormal data deleting means for deleting data, and an average value of X-axis data and Y-axis data is calculated from the remaining data deleted by the abnormal data deleting means and recorded in the data recording means to calculate a pressing position. Pressing position calculating means for outputting Detection device.
【請求項2】 前記異常データ削除手段が判定する異常
データの判定を、前記データ記録手段に記録されている
X軸およびY軸データのそれぞれに対してデータを順次
読出し、前回読出したデータと今回読出したデータ値の
差が設定された値以上のとき異常と判定して、前回読出
したデータまたは両データを削除するようにしたことを
特徴とする請求項1記載のタッチパネル押圧位置検出装
置。
2. The abnormal data judgment made by the abnormal data deleting means is sequentially read out for each of the X-axis and Y-axis data recorded in the data recording means, and the previously read data and this time are read. 2. The touch panel pressing position detecting device according to claim 1, wherein when the difference between the read data values is equal to or larger than a set value, it is determined to be abnormal and the previously read data or both data is deleted.
【請求項3】 前記異常データ削除手段が判定する異常
データの判定を、前記データ記録手段に記録されている
X軸およびY軸データのそれぞれに対してデータの平均
を求め、求めた平均値と記録されているデータ値との差
が設定された値以上のとき異常と判定し、該データを削
除するようにしたことを特徴とする請求項1記載のタッ
チパネル押圧位置検出装置。
3. The determination of abnormal data made by the abnormal data deleting means is performed by averaging the data for each of the X-axis and Y-axis data recorded in the data recording means, and calculating the average value. 2. The touch panel pressing position detecting device according to claim 1, wherein when the difference from the recorded data value is equal to or more than a set value, it is determined as abnormal and the data is deleted.
【請求項4】 前記異常データ削除手段が判定する異常
データの判定を、前記データ記録手段に記録されている
X軸およびY軸データのそれぞれに対してデータの平均
と標準偏差とを求め、求めた平均値と記録されているデ
ータ値との差がA・標準偏差(Aは設定値)以上のとき
異常と判定し、該データを削除するようにしたことを特
徴とする請求項1記載のタッチパネル押圧位置検出装
置。
4. The determination of abnormal data determined by the abnormal data deleting means is performed by obtaining an average and standard deviation of data for each of the X-axis and Y-axis data recorded in the data recording means. The data is deleted when the difference between the average value and the recorded data value is equal to or larger than A · standard deviation (A is a set value), and the data is deleted. Touch panel pressing position detection device.
【請求項5】 前記異常データ削除手段が削除するデー
タを、前記データ記録手段に記録されているX軸および
Y軸データのそれぞれに対してデータを順次読出し、前
回と今回読出したデータ値の差が設定された値以上であ
るときは前回または両データを削除し、さらに残りのデ
ータに対して平均値を求め、求めた平均値と残りのデー
タ値との差が設定された値以上となるデータを削除する
ようにしたことを特徴とする請求項1記載のタッチパネ
ル押圧位置検出装置。
5. The data to be deleted by the abnormal data deleting means is sequentially read for each of the X-axis and Y-axis data recorded in the data recording means, and the difference between the data values read last time and this time is read. If is greater than or equal to the set value, the previous or both data are deleted, the average value is calculated for the remaining data, and the difference between the calculated average value and the remaining data value is greater than or equal to the set value. The touch panel pressed position detection device according to claim 1, wherein the data is deleted.
【請求項6】 前記異常データ削除手段が削除するデー
タを、前記データ記録手段に記録されているX軸および
Y軸データのそれぞれに対してデータを順次読出し、前
回と今回読出したデータ値の差が設定された値以上であ
るときは前回または両データを削除し、さらに残りのデ
ータに対して平均値の標準偏差を求め、求めた平均値と
残りのデータ値との差がA・標準偏差(Aは設定値)以
上となるデータを削除するようにしたことを特徴とする
請求項1記載のタッチパネル押圧位置検出装置。
6. The data to be deleted by the abnormal data deleting means is sequentially read for each of the X-axis and Y-axis data recorded in the data recording means, and the difference between the data values read last time and this time is read. If is greater than or equal to the set value, the previous or both data are deleted, the standard deviation of the average value is calculated for the remaining data, and the difference between the calculated average value and the remaining data value is A standard deviation. 2. The touch panel pressed position detection device according to claim 1, wherein data having a value (A is a set value) or more is deleted.
JP18139695A 1995-07-18 1995-07-18 Detector for touch panel press position Pending JPH0934641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18139695A JPH0934641A (en) 1995-07-18 1995-07-18 Detector for touch panel press position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18139695A JPH0934641A (en) 1995-07-18 1995-07-18 Detector for touch panel press position

Publications (1)

Publication Number Publication Date
JPH0934641A true JPH0934641A (en) 1997-02-07

Family

ID=16100017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18139695A Pending JPH0934641A (en) 1995-07-18 1995-07-18 Detector for touch panel press position

Country Status (1)

Country Link
JP (1) JPH0934641A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11102259A (en) * 1997-09-29 1999-04-13 Nec Software Hokkaido Ltd Noise removing device for touch panel input device
JPH11143624A (en) * 1997-09-02 1999-05-28 Fujitsu Ltd Optical scan-type touch panel
KR100456154B1 (en) * 2002-11-13 2004-11-09 엘지.필립스 엘시디 주식회사 Apparatus for driving of touch panel
JP2012234476A (en) * 2011-05-09 2012-11-29 Casio Comput Co Ltd Information processor and program
JP2018067247A (en) * 2016-10-21 2018-04-26 三菱電機株式会社 Touch panel device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11143624A (en) * 1997-09-02 1999-05-28 Fujitsu Ltd Optical scan-type touch panel
JPH11102259A (en) * 1997-09-29 1999-04-13 Nec Software Hokkaido Ltd Noise removing device for touch panel input device
KR100456154B1 (en) * 2002-11-13 2004-11-09 엘지.필립스 엘시디 주식회사 Apparatus for driving of touch panel
JP2012234476A (en) * 2011-05-09 2012-11-29 Casio Comput Co Ltd Information processor and program
JP2018067247A (en) * 2016-10-21 2018-04-26 三菱電機株式会社 Touch panel device

Similar Documents

Publication Publication Date Title
US8305360B2 (en) Sensing circuit for capacitive touch panel
US5561447A (en) Coordinate input apparatus
US6366866B1 (en) Coordinates detecting apparatus for independently correcting coordinates
JPH0934641A (en) Detector for touch panel press position
JPS6213687B2 (en)
JPH0764696A (en) Method and device for eliminating erroneously measured data of coordinate detection device
JP3200551B2 (en) Position coordinate recognition device and position coordinate recognition method
JPH09282086A (en) Position information input device
JPH1055238A (en) Pen computer and coordinate input device therefor
JP3050356B2 (en) Tablet and driving method
KR20010061329A (en) Method and apparatus for detecting error of touch signal
JPS6136648B2 (en)
JP3536377B2 (en) Coordinate input device
JP2000305714A (en) Touch panel device
JPH10333835A (en) Circuit for correcting data
US11656720B2 (en) Display device and control method thereof
JP2001282449A (en) Coordinate input device
JPH0667795A (en) Input decision method for touch type input device
JPH01113823A (en) Touch panel type keyboard
JP2508521B2 (en) Digital video signal level control circuit
JPH07120237B2 (en) Coordinate input device
JPH07152472A (en) Method and device for inputting position information
CN115575576A (en) Dynamic compensation method and device for gas sensor, electronic device and storage medium
JPS62214426A (en) Panel coordinate position detector
JPH06236230A (en) Coordinate detecting device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040120