JP2011175682A - Program for coordinate input device, coordinate calculation program and information processor - Google Patents
Program for coordinate input device, coordinate calculation program and information processor Download PDFInfo
- Publication number
- JP2011175682A JP2011175682A JP2011132226A JP2011132226A JP2011175682A JP 2011175682 A JP2011175682 A JP 2011175682A JP 2011132226 A JP2011132226 A JP 2011132226A JP 2011132226 A JP2011132226 A JP 2011132226A JP 2011175682 A JP2011175682 A JP 2011175682A
- Authority
- JP
- Japan
- Prior art keywords
- pressing force
- value
- coordinate
- dimensional coordinate
- coordinate value
- 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.)
- Granted
Links
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
Description
本発明は、タッチパネルセンサを備えた座標入力装置のコンピュータにインストールされる座標入力装置用プログラム、座標入力装置に接続された情報処理装置にインストールされた座標算出プログラム及び情報処理装置に関する。 The present invention relates to a coordinate input device program installed in a computer of a coordinate input device having a touch panel sensor, a coordinate calculation program installed in an information processing device connected to the coordinate input device, and an information processing device.
従来、ディスプレイにタッチパネルセンサを積層配置し、タッチパネルセンサの押圧点の座標値を算出して、ディスプレイに表示されたボタン画像のうち押圧点に対応するボタン画像を選択できるようにした座標入力装置がある。このような座標入力装置では、使用者が指やスタイラスでタッチパネルセンサを押圧した場合、実際の押圧点の近傍でバラついてタッチ位置が検出される。そこで、一回の押圧動作で検出された複数のタッチ位置の座標値の平均を算出し信頼性の高い押圧点の座標値を求めることが行われている(例えば、特許文献1)。 Conventionally, there is a coordinate input device in which a touch panel sensor is stacked on a display, a coordinate value of a pressing point of the touch panel sensor is calculated, and a button image corresponding to the pressing point can be selected from button images displayed on the display. is there. In such a coordinate input device, when the user presses the touch panel sensor with a finger or a stylus, the touch position varies in the vicinity of the actual pressing point. Therefore, an average of coordinate values of a plurality of touch positions detected by a single pressing operation is calculated to obtain a highly reliable coordinate value of a pressing point (for example, Patent Document 1).
座標入力装置のタッチパネルセンサを押圧した場合、押圧点の近傍から大きく離れたエラー点(特許文献1の図4中の符号QXを参照)がタッチ位置として検出されることがある。この原因としては、タッチパネルセンサを押圧しはじめたり離しかけたりする時に生じる電圧が一定せず不安定な状態にあること、タッチパネルセンサの材質や厚み、弾性等の物理的特性によって押圧された箇所以外の部分も撓んでしまうこと、などが考えられる。また、この現象は、タッチパネルセンサが安価な素材で形成されている場合に特に生じやすい。このため、タッチパネルセンサを押圧した際にエラー点がタッチ位置として検出された場合、複数のタッチ位置の座標値の平均をとったとしても、実際の押圧点から離れた箇所を示す座標値が算出されてしまう。 When the touch panel sensor of the coordinate input device is pressed, an error point (see symbol QX in FIG. 4 of Patent Document 1) that is far away from the vicinity of the pressing point may be detected as a touch position. This is due to the fact that the voltage generated when the touch panel sensor starts to be pressed or moved away is not constant and is in an unstable state, other than where the touch panel sensor is pressed due to physical properties such as material, thickness, and elasticity. It is conceivable that this part will also bend. This phenomenon is particularly likely to occur when the touch panel sensor is made of an inexpensive material. For this reason, when an error point is detected as a touch position when the touch panel sensor is pressed, a coordinate value indicating a location away from the actual press point is calculated even if an average of coordinate values of a plurality of touch positions is taken. Will be.
本発明の目的は、実際の押圧点に対するタッチパネルセンサの押圧点の座標値の誤差を小さくすることである。 An object of the present invention is to reduce the error of the coordinate value of the pressing point of the touch panel sensor with respect to the actual pressing point.
本発明の座標入力装置用プログラムは、表示面を有するディスプレイと、前記表示面に配置されたタッチパネルセンサと、前記タッチパネルセンサが出力する座標位置信号を二次元座標値に変換する座標値変換手段と、前記表示面外の四隅に設けられ、前記タッチパネルセンサに加えられた押圧力をセンシングする四つの感圧センサと、前記四つの感圧センサが出力する押圧信号を押圧力値に変換して得られる四つの押圧力値の平均を出力する押圧力値変換手段と、データを出力送信する出力部と、を備える座標入力装置のコンピュータにインストールされ、当該コンピュータに、前記押圧力値変換手段が出力する押圧力値が前記タッチパネルセンサの非押圧時の押圧力値より大きいと判定した場合、前記座標値変換手段から二次元座標値を取得するとともに前記押圧力値変換手段から押圧力値を取得して当該押圧力値が所定の許容範囲内にある場合に当該二次元座標値を記憶部に記憶する記憶処理、を繰り返す第1機能と、前記記憶部に前記二次元座標値が所定個数以上記憶されていると判定した場合、当該二次元座標値について平均を算出し前記出力部から出力する第2機能と、を実現させる。 The program for a coordinate input device of the present invention includes a display having a display surface, a touch panel sensor disposed on the display surface, coordinate value conversion means for converting a coordinate position signal output from the touch panel sensor into a two-dimensional coordinate value, and the like. The four pressure sensors provided at the four corners outside the display surface for sensing the pressure applied to the touch panel sensor, and the pressure signals output by the four pressure sensors are converted into pressure values. Installed in a computer of a coordinate input device comprising a pressing force value converting means for outputting an average of the four pressing force values and an output unit for outputting and transmitting data, and the pressing force value converting means outputs to the computer. When it is determined that the pressing force value to be larger than the pressing force value when the touch panel sensor is not pressed, a two-dimensional coordinate value is obtained from the coordinate value conversion means. A first function that repeatedly obtains a pressing force value from the pressing force value converting means and stores the two-dimensional coordinate value in a storage unit when the pressing force value is within a predetermined allowable range; and When it is determined that a predetermined number or more of the two-dimensional coordinate values are stored in the storage unit, the second function of calculating an average of the two-dimensional coordinate values and outputting the average from the output unit is realized.
本発明の座標算出プログラムは、表示面を有するディスプレイと、前記表示面に配置されたタッチパネルセンサと、前記タッチパネルセンサが出力する座標位置信号を二次元座標値に変換する座標値変換手段と、前記表示面外の四隅に設けられ、前記タッチパネルセンサに加えられた押圧力をセンシングする四つの感圧センサと、前記四つの感圧センサが出力する押圧信号を押圧力値に変換して得られる四つの押圧力値の平均を出力する押圧力値変換手段と、データを出力送信する出力部と、前記座標値変換手段が出力する二次元座標値とともに前記押圧力値変換手段が出力する押圧力値を前記出力部に出力させる制御部と、を備える座標入力装置に接続された情報処理装置にインストールされ、当該情報処理装置のプロセッサに、前記座標入力装置が出力する押圧力値が前記タッチパネルセンサの非押圧時の押圧力値より大きいと判定した場合、前記座標入力装置が出力する前記二次元座標値及び前記押圧力値を取得し当該押圧力値が所定の許容範囲内にある場合に当該二次元座標値を記憶部に記憶する記憶処理、を繰り返す第3機能と、前記記憶部に前記二次元座標値が所定個数以上記憶されていると判定した場合、当該二次元座標値について平均を算出して押圧点の二次元座標値とする第4機能と、を実現させる。
実施形態の情報処理装置は、表示面を有するディスプレイと、前記表示面に配置されたタッチパネルセンサと、前記タッチパネルセンサが出力する座標位置信号を二次元座標値に変換する座標値変換手段と、前記表示面外の四隅に設けられ、前記タッチパネルセンサに加えられた押圧力をセンシングする四つの感圧センサと、前記四つの感圧センサが出力する押圧信号を押圧力値に変換して得られる四つの押圧力値の平均を出力する押圧力値変換手段と、データを出力送信する出力部と、前記座標値変換手段が出力する二次元座標値とともに前記押圧力値変換手段が出力する押圧力値を前記出力部に出力させる制御部と、前記押圧力値変換手段が出力する押圧力値が前記タッチパネルセンサの非押圧時の押圧力値より大きいと判定した場合、前記座標値変換手段から二次元座標値を取得するとともに前記押圧力値変換手段から押圧力値を取得して当該押圧力値が所定の許容範囲内にある場合に当該二次元座標値を記憶部に記憶する記憶処理を繰り返す手段と、前記記憶部に前記二次元座標値が所定個数以上記憶されていると判定した場合、当該二次元座標値について平均を算出して押圧点の二次元座標値とする手段とを備え、前記記憶処理は、前記二次元座標値の各次元の座標値を取得する前後に押圧力値を取得し、取得した押圧力値が前記許容範囲内である場合に当該二次元座標値を前記記憶部に記憶する。
The coordinate calculation program of the present invention includes a display having a display surface, a touch panel sensor disposed on the display surface, coordinate value conversion means for converting a coordinate position signal output from the touch panel sensor into a two-dimensional coordinate value, Four pressure sensors provided at four corners outside the display surface for sensing the pressure applied to the touch panel sensor, and four pressure signals obtained by converting the pressure signals output by the four pressure sensors into pressure values. A pressing force value converting means for outputting an average of two pressing force values, an output unit for outputting and transmitting data, and a pressing force value output by the pressing force value converting means together with a two-dimensional coordinate value output by the coordinate value converting means. Is installed in an information processing apparatus connected to a coordinate input device, and the processor of the information processing device includes the coordinates. When it is determined that the pressing force value output by the force device is greater than the pressing force value when the touch panel sensor is not pressed, the two-dimensional coordinate value and the pressing force value output by the coordinate input device are acquired and the pressing force is acquired. A third function that repeats the storage process of storing the two-dimensional coordinate value in the storage unit when the value is within a predetermined allowable range; and a predetermined number or more of the two-dimensional coordinate values are stored in the storage unit When it determines, the 4th function which calculates an average about the said two-dimensional coordinate value and makes it the two-dimensional coordinate value of a press point is implement | achieved.
An information processing apparatus according to an embodiment includes a display having a display surface, a touch panel sensor disposed on the display surface, a coordinate value conversion unit that converts a coordinate position signal output from the touch panel sensor into a two-dimensional coordinate value, Four pressure sensors provided at four corners outside the display surface for sensing the pressure applied to the touch panel sensor, and four pressure signals obtained by converting the pressure signals output by the four pressure sensors into pressure values. A pressing force value converting means for outputting an average of two pressing force values, an output unit for outputting and transmitting data, and a pressing force value output by the pressing force value converting means together with a two-dimensional coordinate value output by the coordinate value converting means. When the control unit that outputs the output to the output unit and the pressing force value output by the pressing force value conversion means is determined to be greater than the pressing force value when the touch panel sensor is not pressed, The two-dimensional coordinate value is acquired from the coordinate value conversion means and the two-dimensional coordinate value is stored when the pressing force value is within a predetermined allowable range by acquiring the pressing force value from the pressing force value conversion means. Means for repeating the storage process stored in the storage unit, and when determining that a predetermined number or more of the two-dimensional coordinate values are stored in the storage unit, an average is calculated for the two-dimensional coordinate values, and the two-dimensional coordinate value of the pressing point And the storage process acquires the pressing force value before and after acquiring the coordinate value of each dimension of the two-dimensional coordinate value, and when the acquired pressing force value is within the allowable range, Two-dimensional coordinate values are stored in the storage unit.
本発明によれば、タッチパネルセンサで検出されたタッチ位置のうち所定の押圧力が加えられていない状態で検出されたタッチ位置は除かれた上で押圧点の座標値が算出されるため、実際の押圧点に対するタッチパネルセンサの押圧点の座標値の誤差を小さくすることができる。 According to the present invention, since the touch position detected in a state where a predetermined pressing force is not applied among the touch positions detected by the touch panel sensor is removed, the coordinate value of the pressing point is calculated. The error of the coordinate value of the pressing point of the touch panel sensor with respect to the pressing point can be reduced.
本発明の実施の一形態(第一の実施の形態)について、図1ないし図6に基づいて説明する。本実施の形態は、表示面に表示される各種の商品ボタンをタッチ指定してその商品の購入を決定することができる、小売店舗に導入されるPOS端末への適用例である。 One embodiment (first embodiment) of the present invention will be described with reference to FIGS. The present embodiment is an application example to a POS terminal that is introduced into a retail store, where various product buttons displayed on the display surface can be touch-designated to determine purchase of the product.
図1は、POS端末11の全体を示す外観斜視図である。POS端末11は、直方体形状の筐体12を中心に構成されている。筐体12の一方の側面には、ディスプレイ13が配置されている。また、筐体12には、キーボード14とポインティングデバイス15とプリンタ16(いずれも図4参照)とが接続されている。このPOS端末11は、ハードディスク17に格納されているOSやドライバ、各種のアプリケーションプログラム(いずれも図4参照)に従って動く、汎用的なコンピュータである。
FIG. 1 is an external perspective view showing the
ディスプレイ13は、例えば、液晶ディスプレイである。ディスプレイ13の表示面13aには、小売店舗で販売されている各種の商品を購入するための商品ボタンや、画面操作を行うための操作用ボタンなどの各種のボタン画像18が表示される。このディスプレイ13の表示面13aには、座標入力装置100が積層配置されている。座標入力装置100は、タッチパネルセンサ100aを備えて構成されている。この座標入力装置100では、ディスプレイ13の左上を原点(0,0)とし、ディスプレイ13を正面から見て原点から右方向に延びるX軸と、このX軸と直交する下方向に延びるY軸との二軸によって、XY二次元座標系が規定されている。そして、座標入力装置100のタッチパネルセンサ100a上のある点が押圧された場合、座標入力装置100からは押圧された箇所のXY二次元座標値における二次元座標値(X,Y)が出力される。そこで、本実施の形態のPOS端末11では、二次元座標値(X,Y)が入力された場合、ディスプレイ13の表示面13aに表示されているボタン画像18のうち、二次元座標値(X,Y)によって定まる位置に表示されているボタン画像18が選択されたと判定される。
The
図2は、座標入力装置100の分解斜視図である。図3は、座標入力装置100の縦断側面図である。座標入力装置100は、タッチパネルセンサ100aと感圧センサ114とを備えて構成されている。
FIG. 2 is an exploded perspective view of the
タッチパネルセンサ100aは、矩形形状の透明の二枚のパネル(裏側パネル101及び表側パネル102)を主体に構成されている。裏側パネル101及び表側パネル102はいずれも同じ大きさで、ディスプレイ13の表示面13aよりも大きく形成されている。裏側パネル101は、ガラス板103の表面に透明な裏側抵抗膜104が積層されて構成されている。この裏側抵抗膜104のX方向の両端には一対のX電極110(110a,110b)が取り付けられている。また、表側パネル102は、可撓性のあるPET板107の裏面に透明な表側抵抗膜108が積層されて構成されている。この表側抵抗膜108のY方向の両端には一対のY電極111(111a,111b)が取り付けられている。裏側パネル101及び表側パネル102は、それぞれの抵抗膜同士を対向させる向きに対向配置されている。また、裏側抵抗膜104と表側抵抗膜108とは、これらの間に配置されるスペーサ105及びドットスペーサ106によって非接触状態を保っている。
The
ディスプレイ13において表示面13aを囲んでいるフレーム13bには、感圧センサ114が取り付けられている。感圧センサ114は、突起状の感圧部を有し、その感圧部に垂直方向に加えられる押圧力をセンシングする。この感圧センサ114は、感圧部がフレーム13bからディスプレイ13の表側に突出するように、表示面13aの四隅それぞれの近傍でフレーム13bに埋設されて設置される。感圧センサ114の感圧部は、タッチパネルセンサ100aの裏側パネル101を構成するガラス板103の裏側四隅に取り付けられている。
A pressure
図4は、POS端末11の電気的構成を示すブロック図である。POS端末11には、演算処理を行うプロセッサとしてのCPU301が備わっている。CPU301には、ROM302と、RAM303とが接続されている。CPU301には、ハードディスク17も接続されている。ハードディスク17には、OS、ドライバ、各種のアプリケーションプログラム、商品情報に関するデータファイル等が記憶されている。CPU301は、POS端末11の起動時にROM302に記憶されている各種プログラムをRAM303に読み込み、各種処理を実行する。
FIG. 4 is a block diagram showing an electrical configuration of the
また、CPU301には、外部機器インタフェイス304、LANインタフェイス305及びCD−ROMドライブ308にも接続されている。外部機器インタフェイス304には、プリンタ16が接続されている。CD−ROMドライブ308は、CD−ROM媒体に記憶されているOSやドライバ、各種のアプリケーションプログラム、データファイルをハードディスク17にインストールする際に用いられる。なお、ハードディスク17にインストールされているプログラムやデータファイルは、LANインタフェイス305を介してCPU301が受信した更新用プログラムを実行することで、更新することも可能である。
The
さらに、CPU301には、入出力回路306を介して、ディスプレイ13、キーボード14、ポインティングデバイス15、座標入力装置100のそれぞれに接続されている。
Further, the
ここで、座標入力装置100の電気的構成について説明する。座標入力装置100は、CPU151とROM152とRAM153とから構成されるマイクロコンピュータ150を備える。マイクロコンピュータ150のCPU151には、スイッチ112と、電圧検出器113と、A/D変換回路115とが接続されている。スイッチ112は、CPU151からの制御命令に応じてX電極110やY電極111の通電状態を切り替える。電圧検出器113は、X電極110やY電極111で検出されるタッチ位置のX座標及びY座標のそれぞれに対応する座標位置信号の電圧をデジタル値に変換してCPU151に出力する。A/D変換回路115は、感圧センサ114から出力される押圧信号の電圧をデジタル値に変換してCPU151に出力する。
Here, the electrical configuration of the coordinate
CPU151は、ROM152に記憶されている座標値変換プログラム152aの記述に従って、電圧検出器113から出力されるデジタル値を(X,Y)の二次元座標値に変換する。ここに、電圧検出器113とCPU151とは、タッチパネルセンサ100aが出力する座標位置信号を所定のXY二次元座標系における二次元座標値に変換する座標値変換手段116を構成する。また、CPU151は、ROM152に記憶されている押圧力値変換プログラム152bの記述に従って、A/D変換回路115から出力されるデジタル値を押圧力値に変換する。ここに、A/D変換回路115とCPU151とは、感圧センサ114が出力する押圧信号を押圧力値に変換する押圧力値変換手段117を構成する。ここで、CPU151は、一例として、四つの感圧センサ114のそれぞれについて、出力する押圧信号の電圧値を変換して個々の押圧力値を算出し、それらの平均を取って一の押圧力値とする。なお、押圧力値は、タッチパネルセンサ100aが押圧されていない非押圧時の値に0(単位無し)を割り当てこの値を最低値とし、タッチパネルセンサ100aが最も強く押圧された時の値に700(単位無し)を割り当てこの値を最高値とし、タッチパネルセンサ100aが押圧されて感圧センサ114がセンシングする押圧力に応じて大きくなる。
The
以上のような構成を備えるPOS端末11では、以下に示す座標算出処理が実行される。本実施の形態では、座標入力装置100に備わるマイクロコンピュータ150が座標算出処理を実行する。
In the
図5は、座標入力装置100で行われる座標算出処理の流れを示すフローチャートである。座標算出処理の処理内容は、通信回路155を介してPOS端末11からインストールされRAM153に記憶されている座標算出プログラム153aに記述されている。そして、座標入力装置100のCPU151は、POS端末11から給電を受けている間、座標算出プログラム153aに従って座標算出処理を実行している。
FIG. 5 is a flowchart showing the flow of coordinate calculation processing performed by the coordinate
座標入力装置100のCPU151は、座標算出処理を実行し、タッチパネルセンサ100aに対する押下の有無を待機している(ステップS101)。CPU151は、押圧力値変換手段117による押圧力値が非押圧時の押圧力値よりも大きいか否かによって、タッチパネルセンサ100aが押下されているか否かを判定する。
The
押圧力値変換手段117による押圧力値が非押圧時の押圧力値より大きいと判定した場合(ステップS101のY)、CPU151は、RAM153に二次元座標値を4つ記憶するまで、記憶処理(ステップS102〜ステップS105)を繰り返す(ステップS106)。
When it is determined that the pressing force value by the pressing force value conversion means 117 is larger than the pressing force value at the time of non-pressing (Y in step S101), the
CPU151は、記憶処理において、まず、座標値変換手段116から二次元座標値を取得するとともに、押圧力値変換手段117から押圧力値を取得する(ステップS102)。このステップS102において、CPU151は、[第1押圧力値、X座標値、第2押圧力値、第3押圧力値、Y座標値、第4押圧力値]の順に各値を取得して、これらを一つのデータセットとする。続く処理として、CPU151は、このデータセットの中のいずれかの押圧力値が所定の許容範囲に含まれているか否かを判定する(ステップS103)。この許容範囲は予め適宜設定しておくことが可能であり、一例として、100〜700(単位無し)である。なお、押圧力値の許容範囲の下限としては、座標入力装置100の使用者のうち、タッチパネルセンサ100aを押圧する押圧力が最も小さいと思われる者(例えば、お年寄り)がタッチパネルセンサ100aを押下した際の押圧力値変換手段117の出力値を適用することが望ましい。ステップS103において、データセットの中のいずれかの押圧力値が所定の許容範囲外であると判定した場合(ステップS103のY)、CPU151は、ステップS102で取得したデータセットを破棄して(ステップS104)、処理をステップS102に戻す。これに対し、ステップS103において、データセットの中のいずれの押圧力値も所定の許容範囲に含まれていると判定した場合(ステップS103のN)、CPU151は、このデータセットの中のX座標値及びY座標値からなる二次元座標値をRAM153に記憶する(ステップS105)。
In the storage process, the
CPU151は、この記憶処理(ステップS102〜ステップS105)を、RAM153に二次元座標値が4つ記憶されるまで繰り返す(ステップS106のN)。RAM153に二次元座標値4つ記憶した場合(ステップS106のY)、CPU151は、これらの4つの二次元座標値のX座標値及びY座標値のそれぞれについて、最大値と最小値とを破棄し(ステップS107)、X座標値及びY座標値のそれぞれ残りの二つの平均を算出し(ステップS108)、算出した値を押圧値の座標値として通信回路155からPOS端末11に向けて出力させ(ステップS109)、一連の処理を終了する。
The
このような座標入力装置100においてタッチパネルセンサ100aが押圧された場合、押圧力値変換手段117によって0より大きい押圧力値が出力される。CPU151は、この出力された押圧力値が0より大きいことを判定して、座標算出処理を開始し、[第1押圧力値、X座標値、第2押圧力値、第3押圧力値、Y座標値、第4押圧力値]の順に各値を取得して一つのデータセットとする。ここで、RAM153には、データセットに含まれているすべての押圧力値が所定の許容範囲に含まれている場合にのみ、(X座標値,Y座標値)からなる二次元座標値が記憶される。この二次元座標値がRAM153に4つ記憶されると、記憶されている二次元座標値のX座標値及びY座標値のそれぞれについて最大値及び最小値が除かれ、残り2つの値について平均されて、押圧点の座標値が算出される。そして、算出された押圧点の座標値は、座標入力装置100からPOS端末11に入力される。
When the
図6は、座標算出処理の流れの一例を示す説明図である。一例として、使用者がタッチパネルセンサ100aの点P(X=63,Y=115)を押圧した場合を、図6に基づいて説明する。なお、図6中、縦方向は時間軸となっており、図6中の[A]は、使用者がタッチパネルセンサ100aの点Pを押下した時点を示している。また、座標算出処理における押圧力値の許容範囲は100〜700(単位無し)に設定されているものとする。この例において、使用者がタッチパネルセンサ100aの点Pを押圧したことにより、座標入力装置100のCPU151が押圧力値=14を判定した場合、CPU151は座標算出処理を開始し、
第1押圧力値= 16
X座標値 = 59
第2押圧力値= 52
第3押圧力値=273
Y座標値 =112
第4押圧力値=386
の順に各値を取得し、これらを一つのデータセット1とする。データセット1の中で、第1押圧力値(=16)、及び、第2押圧力値(=52)は押圧力値の許容範囲(100〜700)外にある。このため、CPU151は、このデータセット1を破棄し、再び各値を取得してデータセット2とする。このデータセット2に含まれる各押圧力値はいずれも押圧力値の許容範囲に含まれているため、CPU151は、データセット2に含まれているX座標値(=65)及びY座標値(=114)からなる二次元座標値(65,114)をRAM153に記憶する。続けて、CPU151は各値を取得してデータセット3、データセット4、データセット5とし、同様にすべての押圧力値が許容範囲に含まれていることを判定して、RAM153に二次元座標値(64,113)、(62,116)、(63,111)を記憶する。この時点で、RAM153には、4つの二次元座標値
(65,114)
(64,113)
(62,116)
(63,111)
が記憶されている。ここで、CPU151は、RAM153に記憶した各二次元座標値から、最大のX座標値(=65)、最小のX座標値(=62)、最大のY座標値(=116)、最小のY座標値(=111)を破棄し、残るX座標値(63及び64)の平均値として63.5を算出し、残るY座標値(113及び114)の平均値として113.5を算出する。そして、CPU151は、算出した二次元座標値(63.5,113.5)を押圧点の座標値とし、POS端末11に向けて通信回路155に送信させる。POS端末11のCPU301は、押圧点の座標値の受信を判定すると、この座標値に対応する箇所に表示されているボタン画像18が選択されたと判定する。
FIG. 6 is an explanatory diagram showing an example of the flow of coordinate calculation processing. As an example, a case where the user presses a point P (X = 63, Y = 115) of the
First pressing force value = 16
X coordinate value = 59
Second pressing force value = 52
Third pressing force value = 273
Y coordinate value = 112
Fourth pressure value = 386
In this order, each value is acquired, and these are set as one data set 1. In the data set 1, the first pressing force value (= 16) and the second pressing force value (= 52) are outside the allowable range (100 to 700) of the pressing force value. For this reason, the
(64, 113)
(62,116)
(63,111)
Is remembered. Here, the
本実施の形態の座標入力装置100では、タッチパネルセンサ100aで検出されたタッチ位置のうち、押圧力値が所定の許容範囲内に含まれていない場合に検出されたタッチ位置の二次元座標値は、押圧点の座標値を算出する上で除かれる。これは、タッチパネルセンサ100aが所定の押圧力で押圧されていない状態で取得された二次元座標値は、抵抗膜同士が確実に接触しておらずX電極110やY電極111で検出される電圧が不安定な状態にあると考えられ、この電圧に基づいて座標値変換手段116によって取得された二次元座標値は実際の押圧点から遠くはなれたエラー点である可能性が高く、このような二次元座標値を押圧点の座標値の算出に用いないようにするためである。本実施の形態の座標入力装置100では、エラー点である可能性が高い二次元座標値を、押圧点の座標値の算出から排除しているため、実際の押圧点に対するタッチパネルセンサの押圧点の座標値の誤差を小さくすることができる。
In the coordinate
また、本実施の形態の座標入力装置100では、X座標値及びY座標値のそれぞれを取得する前後において押圧力値を取得している。これは、各座標値が取得される前後の押圧力値が許容範囲外であれば、タッチパネルセンサ100aが適切に押圧されていない可能性が高く、このような場合に取得されるX座標値及びY座標値はエラー点を示すものである可能性が高いからである。本実施の形態の座標入力装置100では、各座標値を取得する前後の押圧力値が所定の許容範囲に含まれている場合のX座標値及びY座標値のみが押圧点の座標値の算出に用いられるため、押圧力が弱くエラー値が発生しやすい状況下で取得された二次元座標値は破棄され、算出される押圧点の座標値の精度が高くなる。
Moreover, in the coordinate
さらに、本実施の形態の座標入力装置100では、上記のようなエラー点である可能性が高い二次元座標値を破棄する処理が行われ、さらに取得された4つの二次元座標値のうち、実際の押圧点から大きく離れていると考えられるX座標値及びY座標値それぞれの最大値及び最小値が取り除かれた上で押圧点の座標値が算出される。このため、本実施の形態の座標入力装置100では、タッチパネルセンサ100aに対する押圧動作が行われてから僅かの時間で精度の高い押圧点の座標値が算出され、座標入力装置の操作性が良くなる。
Furthermore, in the coordinate
次いで、別の実施の一形態(第二の実施の形態)について、図7に基づいて説明する。この場合、第一の実施の形態と同一の部分は同一の符号で示し説明も省略する。本実施の形態では、POS端末11に備わるCPU301が座標算出処理を実行する。この前提として、本実施の形態では、座標入力装置100はPOS端末11にシリアルケーブルによって接続されており、座標入力装置100のマイクロコンピュータ150は制御部としての役割を果たし、POS端末11に向けて所定のタイミングで、二次元座標値(X座標値、Y座標値)及び押圧力値を通信回路155に出力させている。なお、座標入力装置100はPOS端末11にパラレルケーブルによって接続されていても構わない。
Next, another embodiment (second embodiment) will be described with reference to FIG. In this case, the same parts as those of the first embodiment are denoted by the same reference numerals, and description thereof is also omitted. In the present embodiment, the
本実施の形態のPOS端末11のCPU301は、座標入力装置100から送信されたこれらのデータを受信した場合、これらのデータを一時的にバッファメモリ(図示せず)に記憶している。そして、POS端末11のCPU301は、このバッファメモリから二次元座標値や押圧力値を適宜取り出している。
When receiving the data transmitted from the coordinate
図7は、POS端末11で行われる座標算出処理の流れを示すフローチャートである。座標算出処理の処理内容は、CD−ROMドライブ308等を介してハードディスク17にインストールされているアプリケーションプログラムの一部として記述されている。なお、この座標算出処理の処理内容は、ドライバの一部としてハードディスク17に記憶されていてもよい。そして、POS端末11のCPU301は、POS端末11が起動している間にプログラムの記述に従って座標算出処理を実行している。
FIG. 7 is a flowchart showing the flow of coordinate calculation processing performed at the
本実施の形態の座標算出処理においては、CPU301は、ステップS101(図5参照)の判定は行わず、ステップS102において、座標入力装置100から入力されてバッファメモリに記憶されている押圧力値及び二次元座標値(X座標値、Y座標値)を用いてデータセットを構成する。そして、ステップS109において、ステップS108までに算出された押圧点の座標値を外部に出力することは無く、この押圧点の座標値をボタン画像18の選択等の各種処理に用いる。
In the coordinate calculation process of the present embodiment, the
本実施の形態によっても、タッチパネルセンサ100aで検出されたタッチ位置のうち押圧されていないのに検出されたタッチ位置は除かれた上で押圧点の座標値が算出されるため、実際の押圧点に対するタッチパネルセンサ100aの押圧点の座標値の誤差を小さくすることができる。なお、本実施の形態では、座標算出処理をPOS端末11のCPU301が実行するため、座標入力装置100の仕様に大きな変更を加える必要がない。
Also according to the present embodiment, the coordinate value of the pressing point is calculated after the touched position detected without being pressed among the touched positions detected by the
11…POS端末(情報処理装置)、100…座標入力装置、100a…タッチパネルセンサ、114…感圧センサ、116…座標値変換手段、117…押圧力値変換手段、150…マイクロコンピュータ(コンピュータ、制御部)、153a…座標算出プログラム、301…CPU(プロセッサ)
DESCRIPTION OF
Claims (5)
前記押圧力値変換手段が出力する押圧力値が前記タッチパネルセンサの非押圧時の押圧力値より大きいと判定した場合、前記座標値変換手段から二次元座標値を取得するとともに前記押圧力値変換手段から押圧力値を取得して当該押圧力値が所定の許容範囲内にある場合に当該二次元座標値を記憶部に記憶する記憶処理、を繰り返す第1機能と、
前記記憶部に前記二次元座標値が所定個数以上記憶されていると判定した場合、当該二次元座標値について平均を算出し前記出力部から出力する第2機能と、を実現させる座標入力装置用プログラム。 A display having a display surface, a touch panel sensor disposed on the display surface, coordinate value conversion means for converting a coordinate position signal output from the touch panel sensor into a two-dimensional coordinate value, and provided at four corners outside the display surface. , Four pressure sensors for sensing the pressure applied to the touch panel sensor, and an average of the four pressure values obtained by converting the pressure signals output by the four pressure sensors into pressure values Installed in a computer of a coordinate input device comprising: a pressing force value converting means for performing an output unit for outputting and transmitting data;
When it is determined that the pressing force value output by the pressing force value converting means is larger than the pressing force value when the touch panel sensor is not pressed, the two-dimensional coordinate value is acquired from the coordinate value converting means and the pressing force value conversion is performed. A first function that repeats a storage process of acquiring a pressing force value from the means and storing the two-dimensional coordinate value in a storage unit when the pressing force value is within a predetermined allowable range;
When it is determined that a predetermined number or more of the two-dimensional coordinate values are stored in the storage unit, a second function of calculating an average of the two-dimensional coordinate values and outputting the average from the output unit is provided. program.
前記座標入力装置が出力する押圧力値が前記タッチパネルセンサの非押圧時の押圧力値より大きいと判定した場合、前記座標入力装置が出力する前記二次元座標値及び前記押圧力値を取得し当該押圧力値が所定の許容範囲内にある場合に当該二次元座標値を記憶部に記憶する記憶処理、を繰り返す第3機能と、
前記記憶部に前記二次元座標値が所定個数以上記憶されていると判定した場合、当該二次元座標値について平均を算出して押圧点の二次元座標値とする第4機能と、を実現させる座標算出プログラム。 A display having a display surface, a touch panel sensor disposed on the display surface, coordinate value conversion means for converting a coordinate position signal output from the touch panel sensor into a two-dimensional coordinate value, and provided at four corners outside the display surface. , Four pressure sensors for sensing the pressure applied to the touch panel sensor, and an average of the four pressure values obtained by converting the pressure signals output by the four pressure sensors into pressure values A pressing force value converting means, an output unit for outputting and transmitting data, and a control for causing the output unit to output a pressing force value output by the pressing force value converting means together with a two-dimensional coordinate value output by the coordinate value converting means. Is installed in an information processing device connected to a coordinate input device, and the processor of the information processing device includes:
When it is determined that the pressing force value output by the coordinate input device is greater than the pressing force value when the touch panel sensor is not pressed, the two-dimensional coordinate value and the pressing force value output by the coordinate input device are acquired and A third function that repeats the storage process of storing the two-dimensional coordinate value in the storage unit when the pressing force value is within a predetermined allowable range;
When it is determined that a predetermined number or more of the two-dimensional coordinate values are stored in the storage unit, a fourth function that calculates an average of the two-dimensional coordinate values and sets the two-dimensional coordinate value of the pressing point is realized. Coordinate calculation program.
前記表示面に配置されたタッチパネルセンサと、
前記タッチパネルセンサが出力する座標位置信号を二次元座標値に変換する座標値変換手段と、
前記表示面外の四隅に設けられ、前記タッチパネルセンサに加えられた押圧力をセンシングする四つの感圧センサと、
前記四つの感圧センサが出力する押圧信号を押圧力値に変換して得られる四つの押圧力値の平均を出力する押圧力値変換手段と、
データを出力送信する出力部と、
前記座標値変換手段が出力する二次元座標値とともに前記押圧力値変換手段が出力する押圧力値を前記出力部に出力させる制御部と、
前記押圧力値変換手段が出力する押圧力値が前記タッチパネルセンサの非押圧時の押圧力値より大きいと判定した場合、前記座標値変換手段から二次元座標値を取得するとともに前記押圧力値変換手段から押圧力値を取得して当該押圧力値が所定の許容範囲内にある場合に当該二次元座標値を記憶部に記憶する記憶処理を繰り返す手段と、
前記記憶部に前記二次元座標値が所定個数以上記憶されていると判定した場合、当該二次元座標値について平均を算出して押圧点の二次元座標値とする手段とを備え、
前記記憶処理は、前記二次元座標値の各次元の座標値を取得する前後に押圧力値を取得し、取得した押圧力値が前記許容範囲内である場合に当該二次元座標値を前記記憶部に記憶する情報処理装置。 A display having a display surface;
A touch panel sensor disposed on the display surface;
Coordinate value conversion means for converting the coordinate position signal output by the touch panel sensor into a two-dimensional coordinate value;
Four pressure sensitive sensors that are provided at the four corners outside the display surface and sense the pressing force applied to the touch panel sensor;
A pressing force value converting means for outputting an average of four pressing force values obtained by converting the pressing signals output by the four pressure sensitive sensors into pressing force values;
An output unit for outputting and transmitting data;
A control unit that causes the output unit to output a pressing force value output from the pressing force value converting unit together with a two-dimensional coordinate value output from the coordinate value converting unit;
When it is determined that the pressing force value output by the pressing force value converting means is larger than the pressing force value when the touch panel sensor is not pressed, the two-dimensional coordinate value is acquired from the coordinate value converting means and the pressing force value conversion is performed. Means for acquiring a pressing force value from the means and repeating the storing process for storing the two-dimensional coordinate value in the storage unit when the pressing force value is within a predetermined allowable range;
When it is determined that a predetermined number or more of the two-dimensional coordinate values are stored in the storage unit, a means for calculating an average of the two-dimensional coordinate values and setting the two-dimensional coordinate value of the pressing point is provided,
The storage processing acquires a pressing force value before and after acquiring coordinate values of each dimension of the two-dimensional coordinate value, and stores the two-dimensional coordinate value when the acquired pressing force value is within the allowable range. An information processing device stored in a section.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011132226A JP5139560B2 (en) | 2011-06-14 | 2011-06-14 | Coordinate input device program, coordinate calculation program, and information processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011132226A JP5139560B2 (en) | 2011-06-14 | 2011-06-14 | Coordinate input device program, coordinate calculation program, and information processing device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008127327A Division JP4767996B2 (en) | 2008-05-14 | 2008-05-14 | Coordinate input device program, coordinate calculation program, and information processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011175682A true JP2011175682A (en) | 2011-09-08 |
JP5139560B2 JP5139560B2 (en) | 2013-02-06 |
Family
ID=44688411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011132226A Active JP5139560B2 (en) | 2011-06-14 | 2011-06-14 | Coordinate input device program, coordinate calculation program, and information processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5139560B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103543864A (en) * | 2012-07-09 | 2014-01-29 | 纬创资通股份有限公司 | Pressure induction touch method and touch display device thereof |
JP2015194887A (en) * | 2014-03-31 | 2015-11-05 | 株式会社島津製作所 | Input device, main body device, input information correction system, and control program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05143226A (en) * | 1991-11-15 | 1993-06-11 | Sharp Corp | Pressure-sensitive coordinate input device |
JP2004110388A (en) * | 2002-09-18 | 2004-04-08 | Sharp Corp | Device having touch panel |
-
2011
- 2011-06-14 JP JP2011132226A patent/JP5139560B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05143226A (en) * | 1991-11-15 | 1993-06-11 | Sharp Corp | Pressure-sensitive coordinate input device |
JP2004110388A (en) * | 2002-09-18 | 2004-04-08 | Sharp Corp | Device having touch panel |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103543864A (en) * | 2012-07-09 | 2014-01-29 | 纬创资通股份有限公司 | Pressure induction touch method and touch display device thereof |
JP2015194887A (en) * | 2014-03-31 | 2015-11-05 | 株式会社島津製作所 | Input device, main body device, input information correction system, and control program |
Also Published As
Publication number | Publication date |
---|---|
JP5139560B2 (en) | 2013-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10234945B2 (en) | Compensated haptic rendering for flexible electronic devices | |
US10963089B2 (en) | Tactile sensation providing apparatus and tactile sensation providing method | |
JP4767996B2 (en) | Coordinate input device program, coordinate calculation program, and information processing device | |
TW200832199A (en) | Apparatus and method for controlling touch sensitivity of touch screen panel and touch screen display using the same | |
TW200822682A (en) | Multi-function key with scrolling | |
JP2010244302A (en) | Input device and input processing method | |
US20160259458A1 (en) | Touch screen device | |
US10509512B2 (en) | Operation input device and image processing system | |
KR20130041973A (en) | Tactile sensation providing apparatus and control method for tactile sensation providing apparatus | |
JP2012123695A (en) | Touch type input panel device and sensitivity adjustment method thereof | |
JP2006252093A (en) | Interface device having haptic force type touch panel | |
US9939945B2 (en) | Electronic device | |
JP5139560B2 (en) | Coordinate input device program, coordinate calculation program, and information processing device | |
JP5529981B2 (en) | Electronics | |
JP2006120550A (en) | Key switch and terminal device | |
JP2013186734A (en) | Input auxiliary device and terminal device | |
JP5702130B2 (en) | Input device and input method | |
JP5130315B2 (en) | Coordinate input device and program | |
JP5833511B2 (en) | User interface device capable of discriminating pressing position under multi-touch state, program and function invocation method | |
CN104641323B (en) | Process for determining at least one key in many button apparatus of triggering | |
TWI361993B (en) | Touch-control display device and driving method thereof | |
JP2013218542A (en) | Touch panel system, touch panel device and program | |
TW201239692A (en) | Tactile presentation device and control method thereof | |
JP2009244967A (en) | Touch panel input device and image forming apparatus | |
CN110568966A (en) | Display panel, mobile terminal and method for adjusting display interface of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110614 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120822 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120828 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121026 |
|
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: 20121113 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121115 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5139560 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151122 Year of fee payment: 3 |