JP2002049467A - Noise processing circuit - Google Patents

Noise processing circuit

Info

Publication number
JP2002049467A
JP2002049467A JP2000237350A JP2000237350A JP2002049467A JP 2002049467 A JP2002049467 A JP 2002049467A JP 2000237350 A JP2000237350 A JP 2000237350A JP 2000237350 A JP2000237350 A JP 2000237350A JP 2002049467 A JP2002049467 A JP 2002049467A
Authority
JP
Japan
Prior art keywords
value
coordinate
values
coordinate value
storage means
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
JP2000237350A
Other languages
Japanese (ja)
Inventor
Takuhiko Nakajima
卓彦 中島
Hiroshi Nakajima
洋 中島
Hirozo Yabuta
博三 藪田
Sou Shinohara
惣 篠原
Mitsuru Katayanagi
満 片柳
Makoto Kanekawa
誠 金川
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2000237350A priority Critical patent/JP2002049467A/en
Publication of JP2002049467A publication Critical patent/JP2002049467A/en
Pending legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently execute the noise processing of data obtained from a touch panel. SOLUTION: Digital data from the touch panel are successively shifted and inputted to buffers 0, 1, 2 connected like a pipeline. Data stored in the buffers 0, 2 are mutually subtracted by a subtractor 10 and the subtracted value is compared with a threshold by a comparator 14 to judge whether a difference between adjacent data is within a prescribed value or not. On the other hand, the adjacent data are mutually added by an adder 12 and an average value is obtained from the added value by a 1/2 circuit 18. A combination circuit 16 controls multiplexers 24x, 24y in accordance with the compared result of the comparator 14 and selects a suitable average value on the basis of the compared result of the difference.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、タッチパネルから
検出される位置情報におけるノイズを除去するノイズ処
理回路に関する。
The present invention relates to a noise processing circuit for removing noise in position information detected from a touch panel.

【0002】[0002]

【従来の技術】従来より、操作者の指などのタッチを検
出して、情報を取り込むタッチパネルが知られており、
各種機器に利用されている。とくに、ポータブル機器、
車載機器などでは、ボタンやキーボードなどを備える場
所が十分でなく、また多数の人が利用する入力手段では
キーボードなどは不慣れな人には使いにくい。このた
め、ディスプレイの前面にタッチパネルを配置してお
き、ディスプレイにボタンの表示に対するタッチパネル
操作により各種情報の入力を取り込んでいる。例えば、
銀行のATMや、カーナビゲーション装置や、携帯情報
端末などにおいて、タッチパネルが広く採用されてい
る。また、携帯情報端末では、手書き文字の入力等にも
タッチパネルが利用されている。とくに、携帯情報端末
などで、インターネットなどを利用しようとする場合、
タッチパネルがあると各種の入力が容易に行える。
2. Description of the Related Art Conventionally, there has been known a touch panel which detects a touch of an operator's finger or the like and takes in information.
Used in various devices. In particular, portable devices,
In a vehicle-mounted device or the like, there are not enough places provided with buttons, a keyboard, and the like, and a keyboard or the like is difficult to use for an unfamiliar person with an input means used by many people. For this reason, a touch panel is disposed on the front of the display, and various information is input by operating the touch panel with respect to displaying buttons on the display. For example,
Touch panels are widely used in ATMs of banks, car navigation devices, portable information terminals, and the like. In a portable information terminal, a touch panel is also used for inputting handwritten characters and the like. In particular, when trying to use the Internet, etc. with a personal digital assistant,
If there is a touch panel, various inputs can be easily performed.

【0003】このようなパッチパネルには、光学式や抵
抗値検出式など各種の方法があるが、基本的には、パネ
ル上のタッチされた位置のX,Y座標を検出出力する。
例えば、抵抗値検出式では、抵抗体フィルム上に離間し
て取り出し用の導体フィルムを配置しておき、タッチさ
れた部分において、導体フィルムが抵抗体フィルムに接
触する。これによって、抵抗体フィルムの一端から接触
点までの抵抗値が検出される。そして、X方向およびY
方向の抵抗値を検出することにより、タッチパネルのタ
ッチ点のX座標およびY座標を検出することができる。
There are various methods such as an optical type and a resistance value detecting type for such a patch panel. Basically, the X and Y coordinates of a touched position on the panel are detected and output.
For example, in the resistance value detection method, a conductor film for taking out is arranged separately on the resistor film, and the conductor film contacts the resistor film in a touched portion. Thereby, the resistance value from one end of the resistor film to the contact point is detected. And the X direction and Y
By detecting the resistance value in the direction, the X coordinate and the Y coordinate of the touch point on the touch panel can be detected.

【0004】ここで、抵抗値は、アナログの電流値また
は電圧値で検出される。そこで、通常は、このアナログ
値をデジタルデータに変換した後、マイクロコンピュー
タに入力し、各種データ処理を行って、タッチ点を検出
していた。
Here, the resistance value is detected as an analog current value or voltage value. Therefore, usually, after converting this analog value into digital data, the analog value is input to a microcomputer, and various data processing is performed to detect a touch point.

【0005】[0005]

【発明が解決しようとする課題】ここで、このようなタ
ッチパネルの位置検出は、通常のボタン操作などに比
べ、誤検出によるノイズも多い。そこで、マイクロコン
ピュータでは、各種のフィルタリングなどの処理を行
い、位置検出を行っている。
Here, the position detection of such a touch panel involves more noise due to erroneous detection as compared with a normal button operation or the like. Therefore, the microcomputer performs various kinds of processing such as filtering to detect the position.

【0006】しかし、入力信号に対し、タッチパネルか
らの入力に対する特別な処理を行うと、マイクロコンピ
ュータのソフトウェアの処理に対する負担が大きくな
り、迅速な処理が行えない場合も生じる。
However, if special processing is performed on the input signal from the touch panel for the input signal, the load on the processing of the software of the microcomputer is increased, and a rapid processing may not be performed.

【0007】本発明は、上記課題に鑑みなされたもので
あり、タッチパネルからの検出信号に対し、効率的なノ
イズ処理を行えるノイズ処理回路を提供することを目的
とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has as its object to provide a noise processing circuit that can efficiently perform noise processing on a detection signal from a touch panel.

【0008】[0008]

【課題を解決するための手段】本発明は、タッチパネル
から検出される位置情報についてのデジタルデータにお
けるノイズを除去するノイズ処理回路であって、このA
/D変換器から出力される位置情報を順次取り込む複数
の記憶手段と、この記憶手段に取り込まれている2つの
位置情報の差分を計算する減算器と、記憶手段に取り込
まれている2つの位置情報の平均化処理を行うための加
算値を計算する加算器と、減算器から得られる少なくと
も2つの差分値に基づいて、加算器から得られる少なく
とも2つの加算値のいずれかを選択する選択手段と、を
有し、これらがハードウェアで構成されていることを特
徴とする。
SUMMARY OF THE INVENTION The present invention relates to a noise processing circuit for removing noise in digital data of position information detected from a touch panel.
A plurality of storage means for sequentially taking in the position information output from the / D converter, a subtractor for calculating a difference between the two position information taken in the storage means, and two positions taken in the storage means Selecting means for selecting one of at least two additional values obtained from the adder based on at least two difference values obtained from the adder for calculating an additional value for performing information averaging processing; And these are constituted by hardware.

【0009】このように、減算結果により、加算値を選
択する回路をハードウェアで構成したため、ノイズを除
去した出力を容易に得ることができる。そこで、後段に
おけるソフトウェアに対する負担を軽減して効率のよい
処理が行える。
As described above, since the circuit for selecting the added value based on the subtraction result is configured by hardware, it is possible to easily obtain an output from which noise has been removed. Therefore, efficient processing can be performed by reducing the load on the software in the subsequent stage.

【0010】また、前記A/D変換器から出力される位
置情報は、X座標値と、Y座標値と、を含み、これらが
順次出力され、前記記憶手段は6つあり、3つのX座標
値と、3つのY座標値を記憶し、前記減算器は、隣接す
る2つのX座標値から2つの差分を算出するとともに、
隣接する2つのY座標値から2つの差分を算出し、前記
加算器は、隣接する2つのX座標値から2つの加算値を
算出するとともに、隣接する2つのY座標値から2つの
加算値を算出し、前記選択手段は、X座標値およびY座
標値についてのそれぞれ2つの差分に基づいて、X座標
値についての1つの加算値と、Y座標値についての1つ
の加算値を出力することが好適である。
The position information output from the A / D converter includes an X coordinate value and a Y coordinate value, which are sequentially output. There are six storage means and three X coordinate values. And the subtractor calculates two differences from two adjacent X coordinate values, and
The adder calculates two differences from two adjacent Y coordinate values. The adder calculates two addition values from two adjacent X coordinate values, and calculates two addition values from two adjacent Y coordinate values. Calculating, the selecting means may output one addition value for the X coordinate value and one addition value for the Y coordinate value based on the two differences for the X coordinate value and the Y coordinate value, respectively. It is suitable.

【0011】このような回路によって、座標値について
のノイズを除去した出力を容易に得ることができる。
With such a circuit, it is possible to easily obtain an output from which noise on coordinate values has been removed.

【0012】また、前記A/D変換器から出力される位
置情報は、X座標値と、Y座標値と、を含み、これらが
順次出力され、前記記憶手段は3つあり、2つのX座標
値と1つのY座標値または1つのX座標値と2つのY座
標値のいずれかを記憶し、前記減算器は、記憶手段に2
つのX座標値と1つのY座標値が記憶されているタイミ
ングでX座標値についての差分を算出し、記憶手段に2
つのY座標値と1つのX座標値が記憶されているタイミ
ングでY座標値について差分を算出し、前記加算器は、
記憶手段に2つのX座標値と1つのY座標値が記憶され
ているタイミングでX座標値についての加算値を算出
し、記憶手段に2つのY座標値と1つのX座標値が記憶
されているタイミングでY座標値について加算値を算出
し、前記選択手段は、X座標値およびY座標値について
のそれぞれ2つの差分に基づいて、X座標値についての
1つの加算値と、Y座標値についての1つの加算値を出
力することが好適である。
The position information output from the A / D converter includes an X coordinate value and a Y coordinate value, which are sequentially output. There are three storage means and two X coordinate values. Value and one Y coordinate value or one X coordinate value and two Y coordinate values, and the subtractor stores 2
At the timing when one X coordinate value and one Y coordinate value are stored, a difference between the X coordinate values is calculated, and 2
The difference between the Y coordinate values is calculated at a timing at which one Y coordinate value and one X coordinate value are stored, and the adder calculates
At the timing when two X coordinate values and one Y coordinate value are stored in the storage means, an addition value for the X coordinate value is calculated, and two Y coordinate values and one X coordinate value are stored in the storage means. At a given time, an addition value is calculated for the Y coordinate value, and the selecting means calculates one addition value for the X coordinate value and a Y value for the Y coordinate value based on the two differences between the X coordinate value and the Y coordinate value. It is preferable to output one addition value of.

【0013】また、前記3つの記憶手段は、パイプライ
ン状に接続され、1つの記憶手段が新しいデータを取り
入れ、次の記憶手段に順次記憶内容をシフトすることが
好適である。
Preferably, the three storage means are connected in a pipeline, and one storage means takes in new data and shifts the storage contents sequentially to the next storage means.

【0014】このような回路によって、記憶手段を3つ
として、入力されてくる6つのデータに対する処理を行
うことができ、回路規模を小さくして効果的な処理を行
うことができる。
With such a circuit, it is possible to perform processing on six input data by using three storage means, and it is possible to reduce the circuit scale and perform effective processing.

【0015】[0015]

【発明の実施の形態】以下、本発明の実施の形態(以下
実施形態という)について、図面に基づいて説明する。
Embodiments of the present invention (hereinafter referred to as embodiments) will be described below with reference to the drawings.

【0016】図1は、実施形態の回路の全体構成を示す
図である。タッチパネルは、パネルのタッチに基づくX
方向およびY方向の抵抗値(X,Y座標値)についての
アナログ信号を順次出力する。このアナログ信号は、A
/D変換器で所定のサンプリングレートでサンプリング
され、X座標値、Y座標値についてのデジタルデータに
変換され、このデジタルデータが交互に順次入力されて
くる。
FIG. 1 is a diagram showing the overall configuration of the circuit of the embodiment. The touch panel has an X based on the touch of the panel
Analog signals for the resistance values (X, Y coordinate values) in the direction and the Y direction are sequentially output. This analog signal is A
The data is sampled at a predetermined sampling rate by the / D converter, converted into digital data for the X coordinate value and the Y coordinate value, and this digital data is alternately sequentially input.

【0017】このデジタルデータは、バッファ0に入力
される。このバッファ0には、バッファ1が接続され、
バッファ1にはバッファ2が接続され、バッファ0,
1,2の3つバッファ内のデータが順次転送される。従
って、このデータの転送は、入力デジタルデータのデー
タ切り換えタイミングに同期して行われるため、バッフ
ァ2に一番古いデータが記憶され、バッファ0に一番新
しいデータが記憶される。なお、このようなバッファ
0,1,2は、シフトレジスタで、構成することが好適
である。
This digital data is input to buffer 0. Buffer 1 is connected to this buffer 0,
Buffer 2 is connected to buffer 1 and buffers 0,
Data in the three buffers 1 and 2 are sequentially transferred. Therefore, since this data transfer is performed in synchronization with the data switching timing of the input digital data, the oldest data is stored in the buffer 2 and the newest data is stored in the buffer 0. It is preferable that such buffers 0, 1, and 2 are constituted by shift registers.

【0018】例えば、タッチパネルの検出した座標値が
(Xa,Ya)、(Xb,Yb)、(Xc,Yc)であ
れば、入力デジタルデータがXa,Ya,Xb,Yb,
xc,Ycの順で入力されてくる。従って、第1のタイ
ミングで、バッファ0,1,2には、Xb,Ya,Xa
がそれぞれ記憶され、次のタイミングでは、Yb,X
b,Yaが記憶されることになる。そして、順次新しい
データがバッファ0に入力され、データがシフトされ
る。
For example, if the coordinate values detected by the touch panel are (Xa, Ya), (Xb, Yb), (Xc, Yc), the input digital data is Xa, Ya, Xb, Yb,
xc and Yc are input in this order. Therefore, at the first timing, Xb, Ya, and Xa are stored in buffers 0, 1, and 2, respectively.
Are stored, and at the next timing, Yb, X
b and Ya will be stored. Then, new data is sequentially input to the buffer 0, and the data is shifted.

【0019】そして、バッファ0とバッファ2の出力が
順次減算器10と、加算器12に供給される。まず、第
1のタイミングでは、Xa,Xbが減算器10および加
算器12に供給され、次のタイミングではYa,Ybが
減算器10および加算器12に供給され、新しいデータ
が供給されデータがシフトされるたびにこれが繰り返さ
れる。
Then, the outputs of the buffers 0 and 2 are sequentially supplied to a subtractor 10 and an adder 12. First, at the first timing, Xa and Xb are supplied to the subtractor 10 and the adder 12, and at the next timing, Ya and Yb are supplied to the subtractor 10 and the adder 12, and new data is supplied and data is shifted. This is repeated every time.

【0020】すなわち、減算器10では、差分データで
ある(Xa−Xb),(Ya−Yb),(Xb−X
c),(Yb−Yc)が順次演算出力され、加算器12
では加算データである(Xa+Xb),(Ya+Y
b),(Xb+Xc),(Yb+Yc)が順次演算出力
される。
That is, in the subtractor 10, the difference data (Xa-Xb), (Ya-Yb), (Xb-X
c) and (Yb-Yc) are sequentially calculated and output, and the adder 12
Then, the added data (Xa + Xb) and (Ya + Y
b), (Xb + Xc) and (Yb + Yc) are sequentially calculated and output.

【0021】減算器10の出力は、比較器14に供給さ
れる。この比較器14は、供給される差分データを順次
それぞれX差分についてのしきい値Xth、Y差分につ
いてのYthと比較する。これは、タッチパネルから順
次出力される座標値はそれほど大きな差がないはずであ
り、比較器14は、この移動距離が所定のしきい値以内
かを順次チェックし、その判定結果を出力する。
The output of the subtractor 10 is supplied to a comparator 14. The comparator 14 sequentially compares the supplied difference data with a threshold value Xth for the X difference and Yth for the Y difference. This is because the coordinate values sequentially output from the touch panel should not be so large, and the comparator 14 sequentially checks whether the moving distance is within a predetermined threshold value and outputs the determination result.

【0022】この比較器14の出力は、例えばしきい値
以下であれば「1」、しきい値を超えていれば「0」で
あり、この例では4つの差分データに対応するflag
XaXb,YaYb,XbXc,YbYcをそれぞれ
「1」または「0」とする。
The output of the comparator 14 is, for example, "1" if it is below the threshold value and "0" if it exceeds the threshold value. In this example, the flag corresponding to the four difference data
XaXb, YaYb, XbXc, and YbYc are each set to “1” or “0”.

【0023】このflagは、組み合わせ回路16に供
給される。この組み合わせ回路16は、予め定められた
ルールに基づき、供給される4つのフラグから平均値と
して、どの2つ選ぶかを決定する。例えば、flagが
XaXb=0,XbXc=1の場合は(Xb+Xc)の
平均値を選択し、それ以外の場合には(Xa+Xb)の
平均値を選択し、YaYb=0,YbYc=1の場合は
(Yb+Yc)の平均値を選択し、それ以外の場合には
(Ya+Yb)の平均値を選択することとする。これに
よって、通常は先に算出した平均値を算出するが、先に
1組の差分が所定範囲外であり、後の1組の差分は所定
の範囲内であった場合には後に算出した平均値を選択す
るという判断になる。
This flag is supplied to the combination circuit 16. The combination circuit 16 determines which two are to be selected as an average value from the four supplied flags, based on a predetermined rule. For example, if the flag is XaXb = 0, XbXc = 1, the average value of (Xb + Xc) is selected. Otherwise, the average value of (Xa + Xb) is selected. If the flag is YaYb = 0, YbYc = 1, The average value of (Yb + Yc) is selected, and otherwise, the average value of (Ya + Yb) is selected. By this, the average value calculated earlier is normally calculated. However, if one set of differences is out of the predetermined range first and another set of differences is within the predetermined range, the average value calculated later is calculated. The decision is to choose a value.

【0024】一方、加算器12の出力は、1/2回路1
8に供給され、1/2の演算が行われ、各加算値につい
て平均値が出力される。すなわち、この1/2回路18
から、(Xa+Xb)/2,(Ya+Yb)/2,(X
b+Xc)/2,(Yb+Yc)/2が順次演算出力さ
れる。
On the other hand, the output of the adder 12 is a half circuit 1
8 and an operation of 行 わ is performed, and an average value is output for each addition value. That is, this 1/2 circuit 18
From (Xa + Xb) / 2, (Ya + Yb) / 2, (X
b + Xc) / 2 and (Yb + Yc) / 2 are sequentially calculated and output.

【0025】この出力は、Xについての出力がレジスタ
20x、Yについての出力がレジスタ20yに順次取り
込まれる。さらに、レジスタ20x,20yには、レジ
スタ22x,22yが接続されており、順次データがシ
フトされる。従って、所定のタイミングで、レジスタ2
0xには、(Xb+Xc)/2、レジスタ22xには、
(Xa+Xb)/2、レジスタ20yには(Yb+Y
c)/2、レジスタ22yには、(Ya+Yb)/2が
記憶される。
As for this output, the output for X is taken into the register 20x, and the output for Y is taken into the register 20y. Further, registers 22x and 22y are connected to the registers 20x and 20y, and the data is sequentially shifted. Therefore, at a predetermined timing, the register 2
0x has (Xb + Xc) / 2, and register 22x has
(Xa + Xb) / 2, (Yb + Y) is stored in the register 20y.
c) / 2, (Ya + Yb) / 2 is stored in the register 22y.

【0026】そして、レジスタ20x,22xはマルチ
プレクサ(MUX)24xを介し、レジスタ20y,2
2yはマルチプレクサ(MUX)24yを介し、出力レ
ジスタ26に接続されており、マルチプレクサ24x,
24yは、組み合わせ回路16の出力で切り換えられる
ようになっている。
The registers 20x and 22x are connected to the registers 20y and 2x via a multiplexer (MUX) 24x.
2y is connected to an output register 26 via a multiplexer (MUX) 24y.
24y is switched by the output of the combination circuit 16.

【0027】そこで、組み合わせ回路16の出力によっ
て、MUX24xがレジスタ20x,22xのいずれか
を選択し、 MUX24yがレジスタ20y,22yの
いずれかを選択し、選択されたXの座標値についての平
均値1つと、Yの座標値についての平均値1つが出力レ
ジスタ26に格納される。そして、この出力レジスタ2
6に格納されたデータが、後段へ供給される。
Therefore, according to the output of the combination circuit 16, the MUX 24x selects one of the registers 20x and 22x, the MUX 24y selects one of the registers 20y and 22y, and the average value of the selected X coordinate value is 1 Then, one average value of the Y coordinate values is stored in the output register 26. And this output register 2
6 is supplied to the subsequent stage.

【0028】このように、A/D変換回路から出力され
てくる6つの位置座標データXa,Ya,Xb,Yb,
Xc,Ycが入力された段階で、これらのうちの2つず
つ(計4つ)を利用して、X,Y座標についての平均値
が出力される。これによって、移動距離が大きなものを
除去するとともに、平均化による誤差の減少が図れ、ノ
イズを除去した位置検出データを得ることができる。
As described above, the six position coordinate data Xa, Ya, Xb, Yb,
When Xc and Yc are input, an average value for the X and Y coordinates is output using two of them (total of four). As a result, it is possible to remove an object having a large moving distance, reduce errors due to averaging, and obtain position detection data from which noise has been removed.

【0029】本実施形態の回路は、このような処理をハ
ードウェアで実現する回路であり、動作が迅速であり、
後段のソフトウェアによる処理の負担を軽減することが
できる。
The circuit of the present embodiment is a circuit for realizing such processing by hardware, has a quick operation,
It is possible to reduce the processing load of the subsequent software.

【0030】とくに、本実施形態では、6つのデータを
受け入れて処理を行うのに、3つバッファ0.1.2を
バイプライン状に利用した。従って、記憶装置を有効利
用して、効率的な回路構成となり、回路規模を小さくで
きる。
In particular, in the present embodiment, three buffers 0.1.2 are used in the form of a pipeline to receive and process six data. Therefore, an efficient circuit configuration can be achieved by effectively utilizing the storage device, and the circuit scale can be reduced.

【0031】図2は、他の実施形態を示す。なお、減算
器10、加算器12から後の処理は同様であるため、説
明を省略する。
FIG. 2 shows another embodiment. The processing after the subtracter 10 and the adder 12 is the same, and therefore, the description is omitted.

【0032】この例では、6つのレジスタ30−1〜3
0−6を有している。そして、A/D変換器から出力さ
れてくるデジタルデータをこのレジスタ30−1〜30
−6に順次記憶する。図の例では、これらレジスタ30
−1〜30−6にXa,Ya,Xb,Yb,Xc,Yc
が記憶されている。
In this example, six registers 30-1 to 30-3 are used.
0-6. The digital data output from the A / D converter is stored in the registers 30-1 to 30-30.
-6 are sequentially stored. In the example of FIG.
Xa, Ya, Xb, Yb, Xc, Yc
Is stored.

【0033】そして、レジスタ30−1,30−3,3
0−5は、マルチプレクサ32−1を介し減算器10
に、マルチプレクサ32−3を介し加算器12に接続さ
れている。同様に、レジスタ30−2,30−4,30
−6は、マルチプレクサ32−2を介し減算器10に、
マルチプレクサ32−4を介し加算器12に接続されて
いる。
Then, the registers 30-1, 30-3, 3
0-5 is supplied to the subtracter 10 via the multiplexer 32-1.
Is connected to the adder 12 via the multiplexer 32-3. Similarly, registers 30-2, 30-4, 30
-6 is supplied to the subtractor 10 via the multiplexer 32-2.
It is connected to the adder 12 via the multiplexer 32-4.

【0034】そして、マルチプレクサ32−1、32−
2が順次データを選択して減算器10に供給し、または
マルチプレクサ32−3、32−4が順次データを選択
して加算器12に供給する。そこで、上述の例と同様の
差分データおよび加算データが減算器10および加算器
12において得られる。
The multiplexers 32-1 and 32-
2 sequentially selects data and supplies it to the subtractor 10, or the multiplexers 32-3 and 32-4 sequentially selects data and supplies it to the adder 12. Therefore, difference data and addition data similar to those in the above-described example are obtained in the subtractor 10 and the adder 12.

【0035】図3は、さらなる他の実施形態であり、図
2のマルチプレクサ32−1〜32−4に入力されるデ
ジタルデータの組み合わせを変更したものである。
FIG. 3 shows still another embodiment in which the combination of digital data input to the multiplexers 32-1 to 32-4 in FIG. 2 is changed.

【0036】すなわち、レジスタ30−1,30−2,
30−3,30−4は、マルチプレクサ32−1を介し
減算器10に、マルチプレクサ32−3を介し加算器1
2に接続されている。同様に、レジスタ30−3,30
−4,30−5,30−6は、マルチプレクサ32−2
を介し減算器10に、マルチプレクサ32−4を介し加
算器12に接続されている。
That is, the registers 30-1, 30-2,
30-3 and 30-4 are provided to the subtractor 10 via the multiplexer 32-1 and to the adder 1 via the multiplexer 32-3.
2 are connected. Similarly, registers 30-3 and 30
-4, 30-5, and 30-6 are the multiplexer 32-2.
To the adder 12 via the multiplexer 32-4.

【0037】そして、マルチプレクサ32−1、32−
2が順次データを選択して減算器10に供給し、または
マルチプレクサ32−3、32−4が順次データを選択
して加算器12に供給する。そこで、上述の例と同様の
差分データおよび加算データが減算器10および加算器
12において得られる。
The multiplexers 32-1 and 32-
2 sequentially selects data and supplies it to the subtractor 10, or the multiplexers 32-3 and 32-4 sequentially selects data and supplies it to the adder 12. Therefore, difference data and addition data similar to those in the above-described example are obtained in the subtractor 10 and the adder 12.

【0038】このように、本例では、6つの入力デジタ
ルデータに対し、6つのレジスタを用意した。そこで、
6つのデータを順次レジスタに入力することで、必要な
計算を行うことができる。そして、データが6つ入力さ
れるたびに同一の処理を繰り返すことで、順次ノイズ除
去をしたデータが後段に供給される。
As described above, in this example, six registers are prepared for six input digital data. Therefore,
The necessary calculations can be performed by sequentially inputting the six data to the register. Then, the same process is repeated every time six data are input, so that data from which noise has been sequentially removed is supplied to the subsequent stage.

【0039】[0039]

【発明の効果】以上説明したように、本発明によれ
ば、、減算結果により、加算値を選択する回路をハード
ウェアで構成したため、ノイズを除去した出力を容易に
得ることができる。そこで、後段におけるソフトウェア
に対する負担を軽減して効率のよい処理が行える。
As described above, according to the present invention, since a circuit for selecting an added value based on a subtraction result is constituted by hardware, an output from which noise has been removed can be easily obtained. Therefore, efficient processing can be performed by reducing the load on the software in the subsequent stage.

【0040】とくに、3つの記憶手段をパイプライン状
に接続し、記憶内容をシフトすることで、入力されてく
る6つのデータに対する処理を行うことができ、回路規
模を小さくして効果的な処理を行うことができる。
In particular, by connecting the three storage means in a pipeline and shifting the storage contents, it is possible to perform processing on the input six data, and to reduce the circuit scale to achieve effective processing. It can be performed.

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

【図1】 実施形態の構成を示す図である。FIG. 1 is a diagram showing a configuration of an embodiment.

【図2】 他の実施形態の構成を示す図である。FIG. 2 is a diagram illustrating a configuration of another embodiment.

【図3】 他の実施形態の構成を示す図である。FIG. 3 is a diagram showing a configuration of another embodiment.

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

10 減算器、12 加算器、14 比較器、16 組
み合わせ回路、181/2回路、20x,20y,22
x,22y レジスタ、24x,24y マルチプレク
サ、26 出力レジスタ。
Reference Signs List 10 subtractor, 12 adder, 14 comparator, 16 combination circuit, 181/2 circuit, 20x, 20y, 22
x, 22y registers, 24x, 24y multiplexers, 26 output registers.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 藪田 博三 大阪府守口市京阪本通2丁目5番5号 三 洋電機株式会社内 (72)発明者 篠原 惣 大阪府守口市京阪本通2丁目5番5号 三 洋電機株式会社内 (72)発明者 片柳 満 大阪府守口市京阪本通2丁目5番5号 三 洋電機株式会社内 (72)発明者 金川 誠 大阪府守口市京阪本通2丁目5番5号 三 洋電機株式会社内 Fターム(参考) 5B068 AA01 BE08 BE12 CC12 DE01 DE02 5B087 AA02 AC02 AC12 AD02 CC26 DJ01  ──────────────────────────────────────────────────の Continuing on the front page (72) Hirozo Yabuta 2-5-5 Keihanhondori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd. (72) Inventor Sou Shinohara 2-chome Keihanhondori, Moriguchi-shi, Osaka 5-5 Sanyo Electric Co., Ltd. (72) Inventor Mitsuru Katayanagi 2-5-5 Sanyo Electric Co., Ltd. (72) Inventor Makoto Kanakawa Keihanhondori Moriguchi, Osaka 2-5-5 Sanyo Electric Co., Ltd. F term (reference) 5B068 AA01 BE08 BE12 CC12 DE01 DE02 5B087 AA02 AC02 AC12 AD02 CC26 DJ01

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 タッチパネルから検出される位置情報に
ついてのデジタルデータにおけるノイズを除去するノイ
ズ処理回路であって、 このA/D変換器から出力される位置情報を順次取り込
む複数の記憶手段と、 この記憶手段に取り込まれている2つの位置情報の差分
を計算する減算器と、 記憶手段に取り込まれている2つの位置情報の平均化処
理を行うための加算値を計算する加算器と、 減算器から得られる少なくとも2つの差分値に基づい
て、加算器から得られる少なくとも2つの加算値のいず
れかを選択する選択手段と、 を有し、 これらがハードウェアで構成されているノイズ処理回
路。
1. A noise processing circuit for removing noise in digital data of position information detected from a touch panel, comprising: a plurality of storage means for sequentially taking in position information output from the A / D converter; A subtractor for calculating a difference between two pieces of position information taken in the storage means, an adder for calculating an addition value for performing an averaging process of the two pieces of position information taken in the storage means, and a subtractor Selecting means for selecting any of at least two addition values obtained from the adder based on at least two difference values obtained from the above, and a noise processing circuit configured by hardware.
【請求項2】 請求項1に記載の回路において、 前記A/D変換器から出力される位置情報は、X座標値
と、Y座標値と、を含み、これらが順次出力され、 前記記憶手段は6つあり、3つのX座標値と、3つのY
座標値を記憶し、 前記減算器は、隣接する2つのX座標値から2つの差分
を算出するとともに、隣接する2つのY座標値から2つ
の差分を算出し、 前記加算器は、隣接する2つのX座標値から2つの加算
値を算出するとともに、隣接する2つのY座標値から2
つの加算値を算出し、 前記選択手段は、X座標値およびY座標値についてのそ
れぞれ2つの差分に基づいて、X座標値についての1つ
の加算値と、Y座標値についての1つの加算値を出力す
るノイズ処理回路。
2. The circuit according to claim 1, wherein the position information output from the A / D converter includes an X coordinate value and a Y coordinate value, and these are sequentially output. Have six X coordinate values and three Y coordinate values.
The subtractor calculates two differences from two adjacent X coordinate values, and calculates two differences from two adjacent Y coordinate values. The adder calculates two difference values from two adjacent Y coordinate values. Two addition values are calculated from two X coordinate values, and two addition values are calculated from two adjacent Y coordinate values.
The selection means calculates one addition value for the X coordinate value and one addition value for the Y coordinate value based on two differences for the X coordinate value and the Y coordinate value, respectively. Output noise processing circuit.
【請求項3】 請求項1に記載の回路において、 前記A/D変換器から出力される位置情報は、X座標値
と、Y座標値と、を含み、これらが順次出力され、 前記記憶手段は3つあり、2つのX座標値と1つのY座
標値または1つのX座標値と2つのY座標値のいずれか
を記憶し、 前記減算器は、記憶手段に2つのX座標値と1つのY座
標値が記憶されているタイミングでX座標値についての
差分を算出し、記憶手段に2つのY座標値と1つのX座
標値が記憶されているタイミングでY座標値について差
分を算出し、 前記加算器は、記憶手段に2つのX座標値と1つのY座
標値が記憶されているタイミングでX座標値についての
加算値を算出し、記憶手段に2つのY座標値と1つのX
座標値が記憶されているタイミングでY座標値について
加算値を算出し、 前記選択手段は、X座標値およびY座標値についてのそ
れぞれ2つの差分に基づいて、X座標値についての1つ
の加算値と、Y座標値についての1つの加算値を出力す
るノイズ処理回路。
3. The circuit according to claim 1, wherein the position information output from the A / D converter includes an X coordinate value and a Y coordinate value, which are sequentially output, and Has either three X-coordinate values and one Y-coordinate value or one X-coordinate value and two Y-coordinate values, and the subtractor stores two X-coordinate values and one in the storage means. The difference between the X coordinate values is calculated at the timing when two Y coordinate values are stored, and the difference between the Y coordinate values is calculated at the timing when two Y coordinate values and one X coordinate value are stored in the storage means. The adder calculates an added value for the X coordinate value at a timing when two X coordinate values and one Y coordinate value are stored in the storage means, and stores the two Y coordinate values and one X coordinate value in the storage means.
At the timing when the coordinate values are stored, an addition value is calculated for the Y coordinate value. The selecting means calculates one addition value for the X coordinate value based on two differences for the X coordinate value and the Y coordinate value, respectively. And a noise processing circuit that outputs one addition value for the Y coordinate value.
【請求項4】 請求項3に記載の回路において、 前記3つの記憶手段は、パイプライン状に接続され、1
つの記憶手段が新しいデータを取り入れ、次の記憶手段
に順次記憶内容をシフトするノイズ処理回路。
4. The circuit according to claim 3, wherein said three storage means are connected in a pipeline manner, and
A noise processing circuit in which one storage means takes in new data and shifts the storage content to the next storage means sequentially.
JP2000237350A 2000-08-04 2000-08-04 Noise processing circuit Pending JP2002049467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000237350A JP2002049467A (en) 2000-08-04 2000-08-04 Noise processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000237350A JP2002049467A (en) 2000-08-04 2000-08-04 Noise processing circuit

Publications (1)

Publication Number Publication Date
JP2002049467A true JP2002049467A (en) 2002-02-15

Family

ID=18729228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000237350A Pending JP2002049467A (en) 2000-08-04 2000-08-04 Noise processing circuit

Country Status (1)

Country Link
JP (1) JP2002049467A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100710768B1 (en) 2005-03-23 2007-04-24 후지쯔 가부시끼가이샤 Control method and control apparatus for elliminating noises in touch panel device, and touch panel device
KR100922852B1 (en) 2007-12-11 2009-10-20 엘지전자 주식회사 Cleaning device
KR101339581B1 (en) 2012-05-30 2013-12-10 삼성전기주식회사 Touch sensing apparatus and data processing method thereof
JP2014179035A (en) * 2013-03-15 2014-09-25 Sharp Corp Touch panel device and control method
TWI469007B (en) * 2012-04-17 2015-01-11 Raydium Semiconductor Corp Method of controlling noise processing circuit of touch panel and related signal processing device
KR20150034046A (en) * 2013-09-25 2015-04-02 엘지디스플레이 주식회사 Apparatus for driving touch screen
US9535526B2 (en) 2009-09-08 2017-01-03 Samsung Display Co., Ltd. Display device including touch panel device, and coupling-noise eliminating method
WO2019185015A1 (en) * 2018-03-30 2019-10-03 北京钛方科技有限责任公司 Signal noise removal method utilizing piezoelectric transducer

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100710768B1 (en) 2005-03-23 2007-04-24 후지쯔 가부시끼가이샤 Control method and control apparatus for elliminating noises in touch panel device, and touch panel device
CN100394368C (en) * 2005-03-23 2008-06-11 富士通株式会社 Touch panel device and control method and device for eliminating noises in touch panel device
KR100922852B1 (en) 2007-12-11 2009-10-20 엘지전자 주식회사 Cleaning device
US9535526B2 (en) 2009-09-08 2017-01-03 Samsung Display Co., Ltd. Display device including touch panel device, and coupling-noise eliminating method
TWI469007B (en) * 2012-04-17 2015-01-11 Raydium Semiconductor Corp Method of controlling noise processing circuit of touch panel and related signal processing device
KR101339581B1 (en) 2012-05-30 2013-12-10 삼성전기주식회사 Touch sensing apparatus and data processing method thereof
JP2014179035A (en) * 2013-03-15 2014-09-25 Sharp Corp Touch panel device and control method
KR20150034046A (en) * 2013-09-25 2015-04-02 엘지디스플레이 주식회사 Apparatus for driving touch screen
KR102084543B1 (en) * 2013-09-25 2020-03-04 엘지디스플레이 주식회사 Apparatus for driving touch screen
WO2019185015A1 (en) * 2018-03-30 2019-10-03 北京钛方科技有限责任公司 Signal noise removal method utilizing piezoelectric transducer

Similar Documents

Publication Publication Date Title
US9898136B2 (en) Method for specifying touched position determined by first coordinate along first signal line and second coordinate along second signal line, and circuit for specifying the touched position
JP3750905B2 (en) Coordinate input device
US20080170752A1 (en) Information Processing Device, Image Movement Instructing Method, and Information Storage Medium
WO2011129586A2 (en) Touch-based mobile device and method for performing touch lock function of the mobile device
US20100327889A1 (en) Position detecting device
US7034806B2 (en) Virtual keyboard
JP2002049467A (en) Noise processing circuit
JPH07306752A (en) Touch panel input device
KR20160047507A (en) Object switching method and device, and touchscreen terminal
WO2011081354A2 (en) Korean input method and apparatus using touch screen, and portable terminal including key input apparatus
CN112764633B (en) Information processing method and device and electronic equipment
US7307622B2 (en) Coordinate detection device with improved operability and method of detecting coordinates
JP3711633B2 (en) Touch panel control device
TWI648661B (en) Position detection device
JP2000284912A (en) Touch panel input computer
CN111414047B (en) Touch screen control method, electronic device and storage medium
CN104281311A (en) Input key input method of touch device
CN108108076A (en) For the method and apparatus of the switching application of electric terminal
CN103164145A (en) Method and device for displaying operating buttons on touch screen
JP2002229718A (en) Virtual keyboard, and touch position determining method for virtual keyboard
JP7549492B2 (en) Information processing device, information processing method, and program
CN113110793B (en) Gesture operation method and device for realizing undo and redo
CN117492585A (en) Touch control method, touch control device, electronic equipment and computer readable storage medium
KR101764728B1 (en) Method for recovering location of multi-touch on touch screen based on differential sensing
JP3985564B2 (en) Coordinate input device