JP2014059738A - Information input device - Google Patents

Information input device Download PDF

Info

Publication number
JP2014059738A
JP2014059738A JP2012204449A JP2012204449A JP2014059738A JP 2014059738 A JP2014059738 A JP 2014059738A JP 2012204449 A JP2012204449 A JP 2012204449A JP 2012204449 A JP2012204449 A JP 2012204449A JP 2014059738 A JP2014059738 A JP 2014059738A
Authority
JP
Japan
Prior art keywords
position data
data
detected
display
information input
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
JP2012204449A
Other languages
Japanese (ja)
Inventor
Yasuaki Nasu
泰明 那須
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2012204449A priority Critical patent/JP2014059738A/en
Publication of JP2014059738A publication Critical patent/JP2014059738A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve accuracy of detecting an operation position in an operation surface.SOLUTION: An information input device includes: an operation receiving part (240) for sequentially detecting position data showing a position operated in an operation surface; a condition acquisition part which acquires a detection condition when the operation receiving part detects the position data; and a correction part for correcting the position data detected by the operation receiving part. The correction part corrects the position data detected by the operation receiving part, on the basis of the detection condition acquired when the position data is detected and preceding position data which has been detected before the position data and corrected.

Description

本発明は情報入力装置に関し、特に、表示一体型入力部の操作面上で位置を指定するための操作を受付けることにより情報を入力する情報入力装置に関する。   The present invention relates to an information input device, and more particularly to an information input device that inputs information by accepting an operation for designating a position on an operation surface of a display-integrated input unit.

情報処理端末として、タッチパネルとLCD(Liquid Crystal Display)を一体的に備えた表示一体型入力部を情報入力装置として有する端末が普及している。このような端末では、タッチパネルのタッチ操作により感覚的に情報を入力することができる一方で、高い入力精度が要求されている。   2. Description of the Related Art As information processing terminals, terminals having a display-integrated input unit integrally provided with a touch panel and an LCD (Liquid Crystal Display) as an information input device have become widespread. In such a terminal, information can be input sensuously by touch operation of the touch panel, but high input accuracy is required.

当該要求に応えるものとして、たとえば特許文献1(特開2000−122801号公報)の座標値補正装置は、タッチパネル部で得られた「過去の検出座標値」と「現在の検出座標値」を加重平均し、現在の検出座標値を補正する。   As a response to the request, for example, the coordinate value correction apparatus of Patent Document 1 (Japanese Patent Laid-Open No. 2000-122801) weights the “past detected coordinate value” and the “current detected coordinate value” obtained in the touch panel unit. Average to correct the current detected coordinate value.

特開2000−122801号公報JP 2000-122801 A

しかしながら、特許文献1では、加重平均の重み付けを変更するとの記載はないことから、予め決められている固定値である。したがって、ノイズなど、タッチパネルの座標値検出時の周囲の状況が変化しているにも関わらず、重み付けの値は固定であるから、状況に応じた適切な補正がなされない。つまり、ノイズなどで精度が低いタッチ検出位置座標値に対して、大きな重み付けをしてしまう可能性があり、その場合、補正後の座標値の精度が低下するおそれがある。   However, in Patent Document 1, there is no description that the weighted average weight is changed, so that the fixed value is determined in advance. Therefore, although the surrounding conditions at the time of detecting the coordinate value of the touch panel are changed, such as noise, the weighting value is fixed, and thus appropriate correction according to the situation is not performed. That is, there is a possibility that a large weight is applied to the touch detection position coordinate value whose accuracy is low due to noise or the like, and in this case, the accuracy of the corrected coordinate value may be lowered.

それゆえに、本発明の目的は、操作面における操作位置の検出精度を向上させる情報入力装置を提供することである。   SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide an information input device that improves the operation position detection accuracy on the operation surface.

この発明のある局面に従う情報入力装置は、操作面における操作された位置を示す位置データを順次に検出するための操作受付部と、操作受付部により位置データが検出されるときの、検出条件を取得するための条件取得部と、操作受付部により検出された位置データを補正するための補正部と、を備える。   An information input device according to an aspect of the present invention includes an operation reception unit for sequentially detecting position data indicating an operated position on an operation surface, and detection conditions when position data is detected by the operation reception unit. A condition acquisition unit for acquiring, and a correction unit for correcting the position data detected by the operation reception unit.

補正部は、操作受付部により検出された位置データを、当該位置データが検出されたときに取得された検出条件と、当該位置データに先行して検出されて補正された先行位置データとから補正する。   The correction unit corrects the position data detected by the operation receiving unit from the detection condition acquired when the position data is detected and the preceding position data detected and corrected prior to the position data. To do.

好ましくは、操作面は、画像を表示する表示部に関連して設けられ、条件取得部は、検出条件として表示部の画像の表示状態を検出する。   Preferably, the operation surface is provided in association with a display unit that displays an image, and the condition acquisition unit detects the display state of the image on the display unit as a detection condition.

好ましくは、表示状態は、表示部の画像の表示切替中の状態と、画像の表示中の状態とを含む。   Preferably, the display state includes a state during display switching of the image on the display unit and a state during display of the image.

好ましくは、条件取得部は、検出条件として、操作受付部により検出される位置データのノイズ比を検出する。   Preferably, the condition acquisition unit detects a noise ratio of the position data detected by the operation reception unit as the detection condition.

好ましくは、条件取得部は、検出条件として、操作受付部が位置データを検出する時間間隔の長さを検出する。   Preferably, the condition acquisition unit detects a length of a time interval at which the operation reception unit detects position data as a detection condition.

好ましくは、補正部は、操作受付部により検出された位置データを、当該位置データが検出されたときに取得された検出条件と、2つ以上の先行位置データとから補正する。   Preferably, the correction unit corrects the position data detected by the operation reception unit from the detection condition acquired when the position data is detected and two or more preceding position data.

好ましくは、補正部は、検出条件から補正パラメータを決定する。
好ましくは、補正部は、操作受付部により検出された位置データを、当該位置データと、当該位置データが検出されたときに取得された検出条件から決定した補正パラメータと、当該位置データに先行して検出されて補正された先行位置データとから、予め定めた演算式に従って補正する。
Preferably, the correction unit determines a correction parameter from the detection condition.
Preferably, the correction unit precedes the position data detected by the operation accepting unit with the position data, a correction parameter determined from the detection condition acquired when the position data is detected, and the position data. From the preceding position data detected and corrected in this manner, correction is performed according to a predetermined arithmetic expression.

好ましくは、補正パラメータは、演算式の位置データに係る重み付けを示す。
好ましくは、補正パラメータは、演算式に用いる先行位置データの数を示す。
Preferably, the correction parameter indicates weighting related to the position data of the arithmetic expression.
Preferably, the correction parameter indicates the number of preceding position data used in the arithmetic expression.

この発明の他の局面に従う情報入力方法は、操作面における操作された位置を示す位置データを順次に検出するステップと、位置データが検出されるときの、検出条件を取得するステップと、検出された位置データを補正するステップと、を備える。   An information input method according to another aspect of the present invention includes a step of sequentially detecting position data indicating an operated position on the operation surface, a step of acquiring a detection condition when the position data is detected, and a step of detecting Correcting the position data.

補正するステップでは、検出するステップで検出された位置データを、当該位置データが検出されたときに取得された検出条件と、当該位置データに先行して検出されて補正された先行位置データとから補正する。   In the correcting step, the position data detected in the detecting step is detected from the detection condition acquired when the position data is detected and the preceding position data detected and corrected prior to the position data. to correct.

この発明のさらに他の局面に従うプログラムは、プロセッサに情報入力方法を実行させるためのプログラムであって、プログラムはプロセッサに、操作面における操作された位置を示す位置データを順次に検出するステップと、位置データが検出されるときの、検出条件を取得するステップと、検出された位置データを補正するステップと、を実行させる。補正するステップでは、検出するステップで検出された位置データを、当該位置データが検出されたときに取得された検出条件と、当該位置データに先行して検出されて補正された先行位置データとから補正する。   A program according to still another aspect of the present invention is a program for causing a processor to execute an information input method, wherein the program sequentially detects position data indicating the operated position on the operation surface. A step of acquiring a detection condition when position data is detected and a step of correcting the detected position data are executed. In the correcting step, the position data detected in the detecting step is detected from the detection condition acquired when the position data is detected and the preceding position data detected and corrected prior to the position data. to correct.

本発明によれば、検出された位置データを、当該位置データが検出されたときに取得された検出条件と、当該位置データに先行して検出されて補正された先行位置データとから補正することで、操作面における操作位置の検出精度を向上させる。   According to the present invention, the detected position data is corrected from the detection condition acquired when the position data is detected and the preceding position data detected and corrected prior to the position data. Thus, the detection accuracy of the operation position on the operation surface is improved.

本発明の実施の形態に係る端末の外観を表わす図である。It is a figure showing the external appearance of the terminal which concerns on embodiment of this invention. 本発明の実施の形態に係る端末のハードウェア構成を表わすブロック図である。It is a block diagram showing the hardware constitutions of the terminal which concerns on embodiment of this invention. 本実施の形態に係る情報入力装置の概念図である。It is a conceptual diagram of the information input device concerning this embodiment. 本発明の実施の形態に係る処理のフローチャートである。It is a flowchart of the process which concerns on embodiment of this invention. 本発明の実施の形態に係る処理のフローチャートである。It is a flowchart of the process which concerns on embodiment of this invention.

以下、本発明の実施の形態について図面を参照し詳細に説明する。なお、同一の構成要素には各図において同一の符号を付し、詳細な説明は繰返さない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. It should be noted that the same components are denoted by the same reference symbols in the respective drawings, and detailed description thereof will not be repeated.

本実施の形態では、情報処理装置は、情報入力装置としてタッチパネルを有する携帯型情報処理端末を想定する。携帯型情報処理端末として、ノートブック型パーソナルコンピュータ、携帯電話、スマートフォン、PDA(Personal Digital Assistant)、ナビゲーション装置などを適用することができる。あるいは、ATM(Automated Teller Machine)、クレジットカードの認証装置その他の商業施設に配置される情報処理端末に適用することもできる。また、情報処理端末は携帯型に限定されず、据え置き型であってもよい。   In this embodiment, the information processing apparatus is assumed to be a portable information processing terminal having a touch panel as an information input device. As the portable information processing terminal, a notebook personal computer, a mobile phone, a smartphone, a PDA (Personal Digital Assistant), a navigation device, or the like can be applied. Alternatively, the present invention can be applied to an information processing terminal placed in an ATM (Automated Teller Machine), a credit card authentication device, or other commercial facilities. The information processing terminal is not limited to a portable type, and may be a stationary type.

本実施の形態では、表示デバイスの状態によるタッチパネルへのノイズ、タッチ検出位置(後述する操作位置に対応)の取得時間間隔等、検出時の状況に応じて検出位置データを補正することにより、高い精度を有する検出位置データを取得する。   In this embodiment, the detection position data is corrected according to the situation at the time of detection, such as the noise on the touch panel depending on the state of the display device, the acquisition time interval of the touch detection position (corresponding to the operation position described later), Detection position data having accuracy is acquired.

<ハードウェア構成>
図1および図2を参照して、本実施の形態に係る携帯型情報処理端末(以下、単に端末という)100の構成について説明する。図1は、端末100の外観を表わす図である。図2は端末100のハードウェア構成を表わすブロック図である。端末100は、筐体110、アンテナ120、スピーカ130、周知の抵抗膜方式のタッチパネル140と表示装置212を有する表示部210、電源ボタン150、マイク160およびLED(Light Emitting Diode)170を備える。
<Hardware configuration>
With reference to FIG. 1 and FIG. 2, the configuration of a portable information processing terminal (hereinafter simply referred to as a terminal) 100 according to the present embodiment will be described. FIG. 1 is a diagram illustrating the appearance of the terminal 100. FIG. 2 is a block diagram showing the hardware configuration of terminal 100. The terminal 100 includes a housing 110, an antenna 120, a speaker 130, a display unit 210 having a known resistive film type touch panel 140 and a display device 212, a power button 150, a microphone 160, and an LED (Light Emitting Diode) 170.

端末100には、カード状の記録媒体であるメモリカード152が外部から着脱自在に装着される。   A memory card 152 that is a card-like recording medium is detachably attached to the terminal 100 from the outside.

端末100は、図1に示される構成に加えて、センサ部220、プロセッサ230、グラフィックメモリ254を有した表示デバイスコントローラ214、フラッシュメモリ250、RAM(Random Access Memory)252、ROM(Read Only Memory)256、通信回路260、信号処理回路270、バイブレータ280および装着されたメモリカード152をプロセッサ230の制御のもとにアクセスするためのメモリドライバ151を備える。プロセッサ230はCPU(Central Processing Unit)231および計時のためのタイマ232などを含む。   In addition to the configuration shown in FIG. 1, the terminal 100 includes a sensor unit 220, a processor 230, a display device controller 214 having a graphic memory 254, a flash memory 250, a RAM (Random Access Memory) 252, and a ROM (Read Only Memory). 256, a communication circuit 260, a signal processing circuit 270, a vibrator 280, and a memory driver 151 for accessing the attached memory card 152 under the control of the processor 230. The processor 230 includes a CPU (Central Processing Unit) 231 and a timer 232 for timing.

センサ部220は、端末100の傾き角度を検出する加速度センサ、環境温度を計測する温度センサなど、各種のセンサを含む。   The sensor unit 220 includes various sensors such as an acceleration sensor that detects the tilt angle of the terminal 100 and a temperature sensor that measures the environmental temperature.

表示部210は、タッチパネル140と表示装置212とを一体的に含む表示一体型入力装置を構成する。表示部210の表示装置212はLCD(Liquid Crystal Display)パネルに相当し、その表示面上にはタッチパネル140が載置される。表示面において表示される画像はタッチパネル140を介して視認可能な可視画像である。つまり、ユーザはLCDパネルによる表示画像を透明部材からなるタッチパネル140を介して外部から視認することができる。ここでは、タッチパネル140は抵抗膜方式を採用したが、この方式に限定されず、たとえば周知の静電容量方式、または光センサ方式であってもよい。   The display unit 210 configures a display-integrated input device that integrally includes the touch panel 140 and the display device 212. The display device 212 of the display unit 210 corresponds to an LCD (Liquid Crystal Display) panel, and a touch panel 140 is placed on the display surface. The image displayed on the display surface is a visible image that is visible via the touch panel 140. That is, the user can visually recognize the display image on the LCD panel from the outside through the touch panel 140 made of a transparent member. Here, the touch panel 140 employs a resistive film system, but is not limited to this system, and may be, for example, a known electrostatic capacity system or an optical sensor system.

タッチパネル140の表面上は、指または専用のペン(図示せず)などの操作体によりタッチなどの操作がされる操作面に相当する。ここでは、説明を簡単にするために操作体を指と想定する。タッチパネル140は、操作面上の指により操作された位置(以下、操作位置という)に応じた電気信号を出力する。   The surface of the touch panel 140 corresponds to an operation surface on which an operation such as a touch is performed by an operation body such as a finger or a dedicated pen (not shown). Here, in order to simplify the explanation, it is assumed that the operating body is a finger. Touch panel 140 outputs an electrical signal corresponding to a position operated by a finger on the operation surface (hereinafter referred to as an operation position).

表示部210の表示面を構成する表示パネルには上記のLCDパネルに限定されず、有機ELディスプレイ(organic electroluminescence display)、FED(Field Emission Display:電界放出型ディスプレイ)、電子ペーパーなどを適用してもよい。   The display panel constituting the display surface of the display unit 210 is not limited to the above-described LCD panel, and an organic EL display (organic electroluminescence display), FED (Field Emission Display), electronic paper, or the like is applied. Also good.

適用可能となる表示パネルは、表示パネルに関連して表示データを書き換えるための回路等が備えられて、当該回路が動作しているときにノイズを発生させる可能性がある表示パネルを含む。適用できる表示パネルは表示原理(表示原理:液晶なら光学異方性、有機ELなら自発光など)には依存しない。   Applicable display panels include a display panel that is provided with a circuit for rewriting display data related to the display panel and that may generate noise when the circuit is operating. Applicable display panels do not depend on the display principle (display principle: optical anisotropy for liquid crystal, self-emission for organic EL, etc.).

フラッシュメモリ250は、端末100に対して与えられたデータあるいはプロセッサ230によって生成されたデータを不揮発的に保持する。   The flash memory 250 holds data given to the terminal 100 or data generated by the processor 230 in a nonvolatile manner.

RAM252は、プロセッサ230によって生成されたデータを格納するための記憶領域を含む。   The RAM 252 includes a storage area for storing data generated by the processor 230.

グラフィックメモリ254は、表示装置212において画像を表示するためのデータを格納する。なお、他の局面において、RAM252とグラフィックメモリ254とが一体として構成されていてもよい。   The graphic memory 254 stores data for displaying an image on the display device 212. In another aspect, the RAM 252 and the graphic memory 254 may be configured as a single unit.

ROM256は端末100を作動させるためのファームウェア、上述の操作入力受付のためのプログラムその他の各種プログラムと、端末100に固有の動作を実行させるために設定値として予め入力されたデータとを保持している。   The ROM 256 holds firmware for operating the terminal 100, the above-described program for accepting operation input and other various programs, and data preliminarily input as setting values for causing the terminal 100 to perform operations specific to the ROM 256. Yes.

表示デバイスコントローラ214は、グラフィックメモリ254に格納されているデータに基づく描画動作を表示装置212に対して実行する。表示装置212は、その動作に従って画像を表示する。   The display device controller 214 performs a drawing operation based on the data stored in the graphic memory 254 on the display device 212. The display device 212 displays an image according to the operation.

通信回路260は、アンテナ120によって受信された信号を変換し、変換後の信号をプロセッサ230に送出する。また他の局面において、通信回路260は、プロセッサ230から送られた信号を送信用の信号に変換し、変換後の信号をアンテナ120に送出する。   The communication circuit 260 converts the signal received by the antenna 120 and sends the converted signal to the processor 230. In another aspect, communication circuit 260 converts the signal sent from processor 230 into a signal for transmission, and sends the converted signal to antenna 120.

信号処理回路270は、マイク160から送られる電気信号を変換し変換後の信号をプロセッサ230に送出する。また、端末100が音声を出力する場合には、信号処理回路270は、プロセッサ230から送られた信号を音声出力用の信号に変換し、その変換後の信号をスピーカ130に送出する。スピーカ130は、その信号に基づき音声を出力する。   The signal processing circuit 270 converts the electrical signal sent from the microphone 160 and sends the converted signal to the processor 230. When terminal 100 outputs audio, signal processing circuit 270 converts the signal sent from processor 230 into a signal for audio output, and sends the converted signal to speaker 130. The speaker 130 outputs sound based on the signal.

バイブレータ280は、プロセッサ230から送られる信号に基づいて予め規定された振動パターンで発振する。   Vibrator 280 oscillates with a predetermined vibration pattern based on a signal sent from processor 230.

なお、プロセッサ230が受付ける操作は、タッチパネル140を介したユーザ操作に限定されず、電源ボタン150などの物理的ボタンを押下するなどの操作も含む。   Note that the operation received by the processor 230 is not limited to a user operation via the touch panel 140, and includes an operation such as pressing a physical button such as the power button 150.

図3は、本実施の形態に係る情報入力装置の概念図である。図3を参照して、情報入力装置は、タッチパネル140および表示装置212を含む表示部210を含み、表示部210に関連して操作受付部240、表示デバイスコントローラ214およびCPU231を備える。操作受付部240は、タッチパネルコントローラ241を含む回路から構成されてもよく、またはタッチパネルコントローラ241およびCPU231が実行するプログラムの組合わせにより実現されるとしてもよい。   FIG. 3 is a conceptual diagram of the information input device according to the present embodiment. Referring to FIG. 3, the information input device includes a display unit 210 including a touch panel 140 and a display device 212, and includes an operation reception unit 240, a display device controller 214, and a CPU 231 related to the display unit 210. The operation reception unit 240 may be configured by a circuit including the touch panel controller 241, or may be realized by a combination of programs executed by the touch panel controller 241 and the CPU 231.

図3では、タッチパネル140と表示装置212のLCDパネルとは別々のパネルとして示されるが、オンセル型、インセル型のタッチパネルであっても本実施の形態は適用可能である。   In FIG. 3, the touch panel 140 and the LCD panel of the display device 212 are shown as separate panels. However, the present embodiment can be applied even to an on-cell type or in-cell type touch panel.

表示動作において、CPU231は、表示データ300Dおよび制御信号300Sを、表示デバイスコントローラ214に出力する。表示データ300Dは、LCDパネルに表示するべき画像データ(ビットマップデータ)であり、グラフィックメモリ254に格納される。制御信号300Sは、例えば、イネーブル/ディスイネーブル信号、LCDパネルの表示データの書換え周期を設定するための制御信号などを示す。表示デバイスコントローラ214は、制御信号300Sから、VSYNC信号(垂直同期信号)、HSYNC信号(水平同期信号)などの制御信号301Cを生成し出力する。   In the display operation, the CPU 231 outputs the display data 300D and the control signal 300S to the display device controller 214. The display data 300D is image data (bitmap data) to be displayed on the LCD panel, and is stored in the graphic memory 254. The control signal 300S indicates, for example, an enable / disable enable signal, a control signal for setting a rewrite cycle of display data on the LCD panel, and the like. The display device controller 214 generates and outputs a control signal 301C such as a VSYNC signal (vertical synchronization signal) and an HSYNC signal (horizontal synchronization signal) from the control signal 300S.

表示デバイスコントローラ214は、表示データ301Dと制御信号301Cを、LCDパネルに出力する。表示データ301Dは、グラフィックメモリ254の画素データに相当するデジタル値を示し、制御信号301Cは、デジタルのタイミング信号(VSYNC信号等)を示す。一般的には、制御信号301Cと表示データ301Dのデジタル値データをLVDS(小振幅差動信号)にて、表示デバイスコントローラ214から表示デバイスであるLCDパネルへ転送し、LCDパネルの図示しないドライバ(ソースドライバ、ゲートドライバ)により、LVDS(小振幅差動信号)から画素の階調値(電圧)(アナログ値)および電極選択信号が生成されて、当該信号によりLCDパネルを駆動(各電極に電圧印加)されて画像が表示される。ここでは、フレーム単位で画像を表示すると想定する。   The display device controller 214 outputs display data 301D and a control signal 301C to the LCD panel. The display data 301D indicates a digital value corresponding to the pixel data of the graphic memory 254, and the control signal 301C indicates a digital timing signal (VSYNC signal or the like). In general, the digital value data of the control signal 301C and the display data 301D is transferred from the display device controller 214 to the LCD panel as a display device by LVDS (small amplitude differential signal), and a driver (not shown) of the LCD panel (not shown) The grayscale value (voltage) (analog value) of the pixel and the electrode selection signal are generated from the LVDS (small amplitude differential signal) by the source driver and gate driver, and the LCD panel is driven by the signal (the voltage is applied to each electrode). Applied) and an image is displayed. Here, it is assumed that an image is displayed in units of frames.

タッチパネルコントローラ241は、制御信号303を、タッチパネル140に出力する。制御信号303は、操作位置を読取るためにタッチパネル140の電極に印加する電圧信号を示す。   Touch panel controller 241 outputs control signal 303 to touch panel 140. The control signal 303 indicates a voltage signal applied to the electrode of the touch panel 140 in order to read the operation position.

タッチパネル140は、制御信号303を入力すると、タッチ状態検知スキャンデータ304(以下、スキャンデータ304と略す)を操作受付部240に出力する。スキャンデータ304は、タッチパネル140の操作面における操作体(静電容量)による操作位置を検出するための静電容量の(変化の)データを示す。   When touch panel 140 receives control signal 303, touch panel 140 outputs touch state detection scan data 304 (hereinafter abbreviated as scan data 304) to operation accepting unit 240. The scan data 304 indicates capacitance (change) data for detecting the operation position of the operation body (capacitance) on the operation surface of the touch panel 140.

また、表示デバイスコントローラ214は、表示デバイスの状態を通知するための表示デバイス状態通知302を操作受付部240に出力する。ここで、表示デバイスの状態とは、LCDパネルの表示状態を示し、より具体的には『表示データ書換中』と『表示中』の2つの状態のいずれかを示す。   In addition, the display device controller 214 outputs a display device state notification 302 for notifying the state of the display device to the operation reception unit 240. Here, the state of the display device indicates a display state of the LCD panel, and more specifically indicates one of two states of “display data rewriting” and “displaying”.

『表示データ書換中』は、表示デバイスコントローラ214が、グラフィックメモリ254の画像データに従う表示データ301Dおよび制御信号301Cを、LCDパネルに出力している状態であって、LCDパネルにおける表示画像の切替中を示す。   “Display data rewriting” is a state in which the display device controller 214 outputs display data 301D and control signals 301C according to the image data in the graphic memory 254 to the LCD panel, and the display image is being switched on the LCD panel. Indicates.

『表示中』とは、LCDパネルに画像を表示する場合に、n番目フレームの画像データの『表示データ書換中』と(n+1)番目フレームの『表示データ書換中』の間の状態を示す。つまり、表示デバイスコントローラ214が、LCDパネルを駆動するための表示データ301Dおよび制御信号301Cを出力していない状態を示す。   “Displaying” means the state between “display data rewriting” of the nth frame image data and “display data rewriting” of the (n + 1) th frame when displaying an image on the LCD panel. Show. That is, the display device controller 214 does not output the display data 301D and the control signal 301C for driving the LCD panel.

例えば、60Hz(約16msec)周期で、表示データの書換えを実行した場合、n番目フレームの『表示データ書換中』が開始されて、書換えが終了するのに10msec掛かるとすると、次の(n+1)番目フレームの『表示データ書換中』を開始するまでの6msecの間、LCDパネルを駆動していない状態が生じる。このときの状態を『表示中』と定義する。   For example, when display data is rewritten at a cycle of 60 Hz (about 16 msec), if “display data rewriting” of the nth frame is started and it takes 10 msec to complete rewriting, the following (n + 1) The LCD panel is not driven for 6 msec until the start of “rewriting display data” in the frame. The state at this time is defined as “displaying”.

操作受付部240は、タッチパネル140のスキャンデータ304の取得動作を開始するときに、表示デバイスコントローラ214から表示デバイス状態通知302を受信する。操作受付部240は、受信した表示デバイス状態通知302から、スキャンデータ304がどのような表示デバイス状態のときに取得されたデータであるかを検出することができる。   The operation receiving unit 240 receives the display device state notification 302 from the display device controller 214 when starting the operation of acquiring the scan data 304 of the touch panel 140. The operation reception unit 240 can detect from the received display device state notification 302 what kind of display device the scan data 304 is in the acquired data state.

操作受付部240のタッチパネルコントローラ241は、スキャンデータ304からタッチ検出位置データ305Dを生成し、CPU231に出力する。このとき、表示デバイスコントローラ214から受信しておいた表示デバイス状態通知302を示す表示デバイス状態データ305Sを同時に出力する。これにより、タッチ検出位置データ305Dと、当該タッチ検出位置データ305Dを算出するのに使用したスキャンデータ304との間で、表示デバイス状態の情報の齟齬が発生するのを防止する。   The touch panel controller 241 of the operation reception unit 240 generates touch detection position data 305D from the scan data 304 and outputs it to the CPU 231. At this time, the display device state data 305S indicating the display device state notification 302 received from the display device controller 214 is simultaneously output. This prevents the display device state information from being flawed between the touch detection position data 305D and the scan data 304 used to calculate the touch detection position data 305D.

つまり、“タッチパネルコントローラ241がスキャンデータ304を取得するとき”から、“タッチパネルコントローラ241がCPU231へタッチ検出位置データ305Dを出力するとき”までの間において、表示デバイス状態が変化してしまう可能性がある。この間に表示デバイス状態が変化してしまった場合、タッチ検出位置データ305Dと、当該データを生成するのに使用したスキャンデータ304との間で、参照する表示デバイス状態の情報に違い(齟齬)が生じ、後述する補正処理の精度を低下させることになる。   That is, the display device state may change between “when the touch panel controller 241 acquires the scan data 304” and “when the touch panel controller 241 outputs the touch detection position data 305D to the CPU 231”. is there. If the display device state changes during this time, there is a difference (齟齬) in the display device state information to be referenced between the touch detection position data 305D and the scan data 304 used to generate the data. As a result, the accuracy of correction processing described later is reduced.

そこで、これを回避するために、本実施の形態では、タッチパネルコントローラ241は、タッチ検出位置データ305を生成するのに用いたスキャンデータ304取得時の表示デバイス状態通知301Cが示す表示状態を、表示デバイス状態データ305Sとして、CPU231に与えるようにする。   Therefore, in order to avoid this, in this embodiment, the touch panel controller 241 displays the display state indicated by the display device state notification 301C when the scan data 304 used to generate the touch detection position data 305 is acquired. The device status data 305S is given to the CPU 231.

(操作位置の検出)
タッチパネル140は、透明のガラス板および当該ガラス板の全面を覆う樹脂材料のフィルムを含み、両者は透明な電極格子を挟むようにして配置される。電極格子は、複数の電極が格子状に配列された2次元配列面を表す。2次元配列面は、X軸およびこれに直交するY軸で規定されるX,Y座標平面に対応する。
(Operation position detection)
The touch panel 140 includes a transparent glass plate and a film of a resin material that covers the entire surface of the glass plate, and both are arranged so as to sandwich a transparent electrode grid. The electrode grid represents a two-dimensional array surface in which a plurality of electrodes are arranged in a grid pattern. The two-dimensional array plane corresponds to the X and Y coordinate planes defined by the X axis and the Y axis orthogonal thereto.

電極格子はLCDパネルの表示領域のサイズに整合したサイズを有する。ユーザは、指でタッチパネル140上のフィルムの点をタッチ(押圧操作)すると、圧力によりフィルムがたわみ、ガラス面側の電極と接触し、接触した電極の抵抗による分圧比の測定結果であるスキャンデータ304が出力される。   The electrode grid has a size that matches the size of the display area of the LCD panel. When the user touches (presses) a point on the film on the touch panel 140 with a finger, the film bends due to the pressure, contacts the electrode on the glass surface side, and scan data that is a measurement result of the partial pressure ratio by the resistance of the contacted electrode. 304 is output.

タッチパネルコントローラ241は、タッチパネル140から入力するスキャンデータ304から、電極格子における操作(押圧)位置を2次元座標値(X0,Y0)として検出する。また、スキャンデータ304が示す値と所定の値とを比較し、比較結果から、操作体が操作面上にタッチ開始(タッチダウン)したかを検出し、またタッチ終了(タッチアップ)したかを検出し、またタッチムーブであるかを検出する。タッチムーブは、タッチダウンから直後のタッチアップまでの、操作面上をタッチしながらなぞる操作を示す。   The touch panel controller 241 detects an operation (pressing) position on the electrode grid as a two-dimensional coordinate value (X0, Y0) from the scan data 304 input from the touch panel 140. Further, the value indicated by the scan data 304 is compared with a predetermined value, and from the comparison result, it is detected whether the operating body starts touching (touching down) on the operation surface, and whether the touching is finished (touching up). It detects and detects whether it is a touch move. The touch move indicates an operation of tracing while touching the operation surface from touch down to touch up immediately after.

また、LCDパネルは、複数の電極素子が2次元配列されて構成される。したがって、各電極素子を2次元座標値(x1,y1)により特定することができる。グラフィックメモリ254の画像データに基づく表示データ301Dは、LCDパネルの表示領域のサイズに整合するサイズを有した2次元配列のビットマップデータを表す。表示デバイスコントローラ214は当該画像データの各ビット値を表す表示データ301Dを出力する。LCDパネルは、表示データ301Dに基づき、各座標の電極素子に電圧を印加する。これにより、表示装置212には、グラフィックメモリ254の画像データに従う画像が表示される。   The LCD panel is configured by two-dimensionally arranging a plurality of electrode elements. Therefore, each electrode element can be specified by the two-dimensional coordinate value (x1, y1). The display data 301D based on the image data in the graphic memory 254 represents two-dimensional array bitmap data having a size that matches the size of the display area of the LCD panel. The display device controller 214 outputs display data 301D representing each bit value of the image data. The LCD panel applies a voltage to the electrode element of each coordinate based on the display data 301D. As a result, an image according to the image data in the graphic memory 254 is displayed on the display device 212.

(操作位置の表示)
表示動作において、表示部210では画像に重畳して時系列に従い順次に検出した操作位置をによるストロークの軌跡などを表示することができる。具体的には、タッチパネルコントローラ241は時系列に従う順次の複数個の2次元座標値(X0,Y0)からなるタッチ検出位置データ305Dを検出し、出力する。CPU231はタッチ検出位置データ305Dから画像(ストロークの軌跡など)データ300Dを生成し、グラフィックメモリ254に格納する。したがって、表示デバイスコントローラ214はLCDパネルに、画像に重畳してユーザ操作によるストロークの軌跡などを表示する。
(Display of operation position)
In the display operation, the display unit 210 can display a stroke trajectory or the like based on operation positions sequentially detected in time series superimposed on an image. Specifically, the touch panel controller 241 detects and outputs touch detection position data 305D including a plurality of sequential two-dimensional coordinate values (X0, Y0) according to time series. The CPU 231 generates image (stroke trajectory etc.) data 300D from the touch detection position data 305D and stores it in the graphic memory 254. Therefore, the display device controller 214 displays a trajectory of a stroke by a user operation on the LCD panel superimposed on the image.

(発生するノイズと補正)
本実施の形態では、操作位置の検出精度を高めるために、LCDパネルからのノイズ成分に基づき、検出された操作位置を補正する。
(Noise generated and correction)
In the present embodiment, in order to improve the detection accuracy of the operation position, the detected operation position is corrected based on the noise component from the LCD panel.

LCDパネルに画像を表示しながら、タッチパネル140の操作位置を検出する場合には、スキャンデータ304にノイズが混入する。ノイズの原因は、『表示データ書換中』と『表示中』とでは相違する。   When the operation position of the touch panel 140 is detected while displaying an image on the LCD panel, noise is mixed in the scan data 304. The cause of noise differs between “display data rewriting” and “displaying”.

ノイズ原因は、表示データの書換えによる(i)画素電圧の変化、(ii)LCDパネルのソースドライバ、ゲートドライバの動作、および(iii)その他のLCDパネルに関連する回路の動作など、が挙げられる。『表示データ書換中』の主な原因は、(i)および(ii)であるが、『表示中』の主な原因は、上記の(iii)である。このように『表示データ書換中』に比べて、『表示中』の方がノイズが小さい。   Causes of noise include (i) changes in pixel voltage due to rewriting of display data, (ii) operations of source drivers and gate drivers of the LCD panel, and (iii) operations of circuits related to other LCD panels. . The main causes of “display data rewriting” are (i) and (ii), but the main cause of “displaying” is the above (iii). Thus, “displaying” has less noise than “display data rewriting”.

したがって、LCDパネルで「表示データ書換中」と表示データを書換えしていない「表示中」とでは、スキャンデータ304に対するノイズの影響度合いが異なるため、「表示中」に取得したタッチ検出位置データ305D(これをデータIという)の方が、「表示データ書換中」に取得したタッチ検出位置データ305D(これをデータIIという)よりもデータの精度は高い。   Therefore, the influence level of noise on the scan data 304 differs between “display data rewriting” on the LCD panel and “display data” where the display data is not rewritten, and thus the touch detection position data 305D acquired as “displaying”. (This is referred to as data I) has higher data accuracy than the touch detection position data 305D (referred to as data II) acquired during “rewriting display data”.

そこで、本実施の形態では、表示デバイスの状態に依らずタッチ検出位置データ305Dの精度を得ることができるように、タッチ検出位置データ305を補正する。これを以下に説明する。   Therefore, in the present embodiment, the touch detection position data 305 is corrected so that the accuracy of the touch detection position data 305D can be obtained regardless of the state of the display device. This will be described below.

CPU231がタッチ検出位置データ305Dの取得を開始し、取得の順番が、時系列的にデータI→データII→データIII→…順次となった場合を想定する。   It is assumed that the CPU 231 starts acquiring the touch detection position data 305D and the acquisition order is data I → data II → data III →.

データIを使用して、次位に検出されるデータIIを補正することにより、データIIの精度を向上させた補正後のデータIIcを算出する。補正のための算出方法としては、データIIc=(α×データI)+(β×データII)のような加重平均の演算とする。この場合、先行して取得されているデータIの方が精度は高いため、例えば、α=0.7およびβ=0.3とする(パターン1という)。   By correcting the data II detected in the next order using the data I, the corrected data IIc that improves the accuracy of the data II is calculated. As a calculation method for correction, a weighted average operation such as data IIc = (α × data I) + (β × data II) is used. In this case, since data I acquired in advance has higher accuracy, for example, α = 0.7 and β = 0.3 (referred to as pattern 1).

その後、データIIの次に取得したタッチ検出位置データ305D(これをデータIIIという)についての補正後のデータIIIcを、データIIIc=(α×データIIc)+(β×データIII)により算出する。   Thereafter, corrected data IIIc for touch detection position data 305D (hereinafter referred to as data III) acquired after data II is calculated by data IIIc = (α × data IIc) + (β × data III).

ここで、データIIIが「表示データ書換中」に検出されている場合には、例えば、α=0.6およびβ=0.4とする(パターン2という)。つまり、先行しているデータIIcの方が、その後に取得されるデータIIIよりも若干精度が高いと考えられることから、重み付けを(α>β)とする。一方、データIIIが「表示中」に検出されている場合には、例えば、α=0.4、β=0.6とする(パターン3という)。つまり、データIIIの方が先行して取得されているデータIIcよりも若干精度が高いと考えられることから重み付けを(α<β)とする。   Here, when the data III is detected “display data rewriting”, for example, α = 0.6 and β = 0.4 (referred to as pattern 2). That is, since the preceding data IIc is considered to be slightly more accurate than the data III acquired thereafter, the weight is set to (α> β). On the other hand, when the data III is detected as “displaying”, for example, α = 0.4 and β = 0.6 (referred to as pattern 3). That is, since the data III is considered to be slightly more accurate than the data IIc acquired in advance, the weight is set to (α <β).

なお、時系列的に順次に取得される上記のデータIとデータIIが、LCDパネル140の同じ表示状態で取得されたときは、重み付けを(α=β)とする。たとえば、α=β=0.5とする(これをパターン4という)。   When the data I and data II acquired sequentially in time series are acquired in the same display state of the LCD panel 140, the weight is (α = β). For example, α = β = 0.5 (this is referred to as pattern 4).

このように、表示デバイスであるLCDパネルの表示状態(データ書換中または表示中)により、より特定的にはLCDパネルの表示動作に伴いスキャンデータ340に混入するノイズの大きさにより、重み付けの値(α、βの値)を動的に変更することで、高い精度で操作位置を検出することができる。   As described above, the weighting value depends on the display state (during data rewriting or display) of the LCD panel, which is a display device, and more specifically, depending on the magnitude of noise mixed in the scan data 340 accompanying the display operation of the LCD panel. By dynamically changing (values of α and β), the operation position can be detected with high accuracy.

補正後の操作位置に基づく操作(描画)軌跡を示すストロークデータをグラフィックメモリ254に格納することで、補正後の軌跡を表示することができて、ユーザに対し正確な操作位置を提示することができる。   By storing stroke data indicating an operation (drawing) locus based on the corrected operation position in the graphic memory 254, the corrected locus can be displayed and an accurate operation position can be presented to the user. it can.

<フローチャート>
図4と図5は、本発明の実施の形態に係る処理フローチャートである。これらフローチャートに従うプログラムは予めROM256などの記憶部に格納され、CPUがROM256からプログラムを読出し、読出したプログラムの各命令コードを実行することにより処理が実現される。
<Flowchart>
4 and 5 are process flowcharts according to the embodiment of the present invention. Programs according to these flowcharts are stored in advance in a storage unit such as the ROM 256, and the CPU reads the program from the ROM 256 and executes each instruction code of the read program, thereby realizing processing.

ここでは、図4のフローチャートに従うプログラムは、タイマ232の計時に基づき定期的に繰返し実行される。プログラムの実行周期(実行間隔)は、LCDパネルの表示データの更新周期とは独立であって、可変に設定可能である。当該プログラムは、タッチパネルコントローラ241が休止状態のときなどは実行されない。   Here, the program according to the flowchart of FIG. 4 is periodically and repeatedly executed based on the timing of the timer 232. The program execution cycle (execution interval) is independent of the LCD panel display data update cycle and can be variably set. The program is not executed when the touch panel controller 241 is in a dormant state.

プログラム中で参照する変数として、現在の表示デバイス状態を示す変数DATA_X、過去の表示デバイス状態を示す変数DATA_Y、重み付け値を示す変数αおよびβ、補正前および後のタッチ検出位置を示す変数DATA_AおよびDATA_C、および過去のタッチ検出位置を示す変数DATA_Bを用いる。   As variables to be referenced in the program, variable DATA_X indicating the current display device status, variable DATA_Y indicating the past display device status, variables α and β indicating weight values, variable DATA_A indicating the touch detection position before and after correction, and DATA_C and variable DATA_B indicating the past touch detection position are used.

これら変数は、フラッシュメモリ250またはRAM252の予め定められた記憶領域に格納されて、端末100が電源ONされたとき、およびタッチパネルコントローラ241が休止状態から動作状態に復帰するときに初期化される。たとえば、CPU231は、変数DATA_Yには「表示データ書換中」および「表示中」の一方を設定し、これ以外の変数には値0を設定することにより初期化する。ここでは、変数DATA_Yには「表示中」が初期設定されるとする。   These variables are stored in a predetermined storage area of the flash memory 250 or RAM 252 and are initialized when the terminal 100 is turned on and when the touch panel controller 241 returns from the sleep state to the operation state. For example, the CPU 231 initializes the variable DATA_Y by setting one of “display data rewriting” and “displaying” and setting a value 0 to other variables. Here, it is assumed that “displaying” is initially set in the variable DATA_Y.

なお、初期化後に初めてスキャンデータ304が検出される場合は、CPU231は、同時に入力する表示デバイス状態データ305Sを変数DATA_Yに設定するとともに、スキャンデータ304に基づくタッチ検出位置データ305Dを変数DATA_Cに設定する。なお、初期化後の初めてのタッチ検出位置データは補正しない。   When the scan data 304 is detected for the first time after the initialization, the CPU 231 sets the display device state data 305S input at the same time to the variable DATA_Y and sets the touch detection position data 305D based on the scan data 304 to the variable DATA_C. To do. Note that the first touch detection position data after initialization is not corrected.

ここでは初期化後の2回目のスキャンデータ304が検出される場合に、図4のフローチャートのプログラムが実行開始される場合を説明する。   Here, a case where the execution of the program of the flowchart of FIG. 4 is started when the second scan data 304 after initialization is detected will be described.

まず、CPU231はタッチパネルをスキャンするようにタッチパネルコントローラ241を制御する(ステップS3)。具体的には、タッチパネルコントローラ241は、制御信号303をタッチパネル140に出力し、タッチパネル140からはスキャンデータ304が出力される。   First, the CPU 231 controls the touch panel controller 241 to scan the touch panel (Step S3). Specifically, the touch panel controller 241 outputs a control signal 303 to the touch panel 140, and scan data 304 is output from the touch panel 140.

タッチパネルコントローラ241は、タッチパネル140からのスキャンデータ304を入力し(ステップS11)、入力したスキャンデータ304に基づき操作位置を、すなわち補正前タッチ位置を算出し変数DATA_Aに設定する(ステップS13)。   The touch panel controller 241 inputs the scan data 304 from the touch panel 140 (step S11), calculates an operation position based on the input scan data 304, that is, a pre-correction touch position, and sets it to a variable DATA_A (step S13).

また、CPU231は、タッチパネルコントローラ241から表示デバイス状態データ305Sを入力し(ステップS5)、入力した表示デバイス状態データ305Sと記憶領域から読出した変数DATA_Yの値とを用いて重み付けαとβの値を算出する(ステップS7)。   Further, the CPU 231 inputs the display device state data 305S from the touch panel controller 241 (step S5), and uses the input display device state data 305S and the value of the variable DATA_Y read from the storage area to determine the values of weighting α and β. Calculate (step S7).

具体的には、変数DATA_Yが『表示中』を示し、表示デバイス状態データ305Sは『データ書換中』を示すと判定したときは、CPU231はαとβに、上記のパターン1またはパターン2に従い値を設定する。また、変数DATA_Yと表示デバイス状態データ305Sがともに『表示中』を示すと判定したとき、または変数DATA_Yと表示デバイス状態データ305Sがともに『データ書換中』を示すと判定したときは、CPU231はαとβに上記のパターン4に従い値を設定する。また、変数DATA_Yが『データ書換中』を示し、表示デバイス状態データ305Sは『表示中』を示すと判定したときは、CPU231はαとβに、上記のパターン3に従い値を設定する。   Specifically, when it is determined that the variable DATA_Y indicates “displaying” and the display device state data 305S indicates “data rewriting”, the CPU 231 sets α and β to values according to the above pattern 1 or pattern 2, respectively. Set. When it is determined that both the variable DATA_Y and the display device status data 305S indicate “displaying”, or when it is determined that both the variable DATA_Y and the display device status data 305S indicate “data rewriting”, the CPU 231 determines that α And β are set according to the above pattern 4. Further, when it is determined that the variable DATA_Y indicates “data rewriting” and the display device state data 305S indicates “displaying”, the CPU 231 sets values to α and β according to the above pattern 3.

CPU231は、決定した重み付けα,βを用いて、上記の式(データIIc=(α×データI)+(β×データII))に従って、補正後の変数DATA_Aを算出し、補正後の変数DATA_Aの値を、変数DATA_Cに設定する(ステップS9)。   The CPU 231 calculates the corrected variable DATA_A according to the above formula (data IIc = (α × data I) + (β × data II)) using the determined weights α and β, and the corrected variable DATA_A. Is set in the variable DATA_C (step S9).

なお、データIIは補正前の変数DATA_A(ステップS13で設定した値)の値を示し、データIIcは補正後の変数DATA_Aの値示し、データIは記憶領域から読み出した変数DATA_Bの値を示す。   Data II indicates the value of variable DATA_A before correction (the value set in step S13), data IIc indicates the value of variable DATA_A after correction, and data I indicates the value of variable DATA_B read from the storage area.

これにより、今回検出された操作位置を示すタッチ検出位置データ305Dは、LCDパネル140の表示状態に従って補正される。その後、図5の過去データの保存処理(ステップS15)が実行される。   Thereby, the touch detection position data 305D indicating the operation position detected this time is corrected according to the display state of the LCD panel 140. Thereafter, the past data storage process (step S15) of FIG. 5 is executed.

(過去データの保存処理)
図5を参照して、CPU231は、今回取得した表示デバイス状態データ305Sを示す変数DATA_Xの値が、「表示データ書換中」を示すか否かを判定する(ステップS21)。
(Past data storage process)
Referring to FIG. 5, CPU 231 determines whether or not the value of variable DATA_X indicating display device state data 305S acquired this time indicates “display data is being rewritten” (step S21).

「表示データ書換中」を示すと判定すると(ステップS21でYES)、記憶領域の変数DATA_Cの値を読出し、記憶領域の変数DATA_Bに上書きにより設定する(ステップS23)が、「表示データ書換中」を示さないと判定すると(ステップS21でNO)、記憶領域の変数DATA_Aの値を読出し、記憶領域の変数DATA_Bに上書きにより設定する(ステップS25)。   If it is determined that “display data rewriting” is indicated (YES in step S21), the value of the storage area variable DATA_C is read and set to the storage area variable DATA_B by overwriting (step S23). Is determined (NO in step S21), the value of the variable DATA_A in the storage area is read and set to the storage area variable DATA_B by overwriting (step S25).

ステップS23およびS25の終了後は、CPU231は、記憶領域の変数DATA_Xの値を読出し、記憶領域の変数DATA_Yに上書きにより設定する(ステップS27)。その後は、図4に戻る。   After the end of steps S23 and S25, the CPU 231 reads the value of the variable DATA_X in the storage area and sets it by overwriting the variable DATA_Y in the storage area (step S27). Thereafter, the process returns to FIG.

図4に戻り、CPU231は、タッチパネルをスキャンするようにタッチパネルコントローラ241を制御し、出力されるスキャンデータ304を取得し(ステップS3,S11)、スキャンデータ304に基づき操作位置が、すなわち補正前タッチ位置が算出されて変数DATA_Aに設定される(ステップS13)。また、CPU231は、タッチパネルコントローラ241から表示デバイス状態データ305Sを入力し(ステップS5)、入力した表示デバイス状態データ305Sと記憶領域から読出した変数DATA_Yの値とを用いて重み付けαとβの値を算出する(ステップS7)。   Returning to FIG. 4, the CPU 231 controls the touch panel controller 241 to scan the touch panel, acquires the output scan data 304 (steps S <b> 3 and S <b> 11), and the operation position based on the scan data 304, that is, the touch before correction. The position is calculated and set to the variable DATA_A (step S13). Further, the CPU 231 inputs the display device state data 305S from the touch panel controller 241 (step S5), and uses the input display device state data 305S and the value of the variable DATA_Y read from the storage area to determine the values of weighting α and β. Calculate (step S7).

ステップS9では、今回検出したスキャンデータ304をデータIIIとして、補正後のデータIIIcを、上記のデータIIIc=(α×データIIc)+(β×データIII)に従って算出する。なお、データIIIは補正前の変数DATA_A(ステップS13で設定した値)の値を示し、データIIIcは補正後の変数DATA_Aの値示し、データIIcは記憶領域から読み出した変数DATA_Bの値を示す。CPU231は、補正後の変数DATA_Aの値を、変数DATA_Cに設定する(ステップS9)。   In step S9, the scan data 304 detected this time is used as data III, and corrected data IIIc is calculated according to the data IIIc = (α × data IIc) + (β × data III). Data III indicates the value of variable DATA_A before correction (the value set in step S13), data IIIc indicates the value of variable DATA_A after correction, and data IIc indicates the value of variable DATA_B read from the storage area. The CPU 231 sets the value of the variable DATA_A after correction to the variable DATA_C (step S9).

これにより、次位の検出された操作位置(データIIIが示すタッチ検出位置データ305D)は、前回に検出された操作位置(データIIc)とLCDパネル140の表示状態に従って補正されて、補正後の操作位置(データIIIcが示す補正後のタッチ検出位置データ305D)を取得することができる。その後、CPU231は図5の過去データの保存処理(ステップS15)を実行し、実行後は、再度、図4の処理に戻り、次位に検出される操作位置のタッチ検出位置データ305Dは、前回に検出された操作位置(データIIIc)とLCDパネル140の表示状態に従って補正されて、補正後の操作位置を取得することができる。   As a result, the next detected operation position (touch detection position data 305D indicated by data III) is corrected according to the previously detected operation position (data IIc) and the display state of the LCD panel 140. An operation position (touch detection position data 305D after correction indicated by data IIIc) can be acquired. Thereafter, the CPU 231 executes the past data storage process (step S15) in FIG. 5. After the execution, the process returns to the process in FIG. 4 again, and the touch detected position data 305D of the operation position detected in the next position is the previous time. Is corrected according to the detected operation position (data IIIc) and the display state of the LCD panel 140, and the corrected operation position can be acquired.

[実施の形態の変形例]
(変形例1)
上記の実施の形態では、操作受付部240によりタッチ検出位置データ305のためのスキャンデータ304が取得されるときの、検出条件から補正のためのパラメータ値(重み付け値(α,βの値))を決定している。
[Modification of the embodiment]
(Modification 1)
In the above embodiment, parameter values for correction (weighting values (α and β values)) from the detection conditions when the operation reception unit 240 acquires the scan data 304 for the touch detection position data 305. Is determined.

ここで、重み付け値(α,βの値)の決定方法は、表示デバイスの動作状態(データ書換中/表示中)に基づき決定する方法に限定されず、以下のような方法であってもよい。   Here, the determination method of the weighting values (values of α and β) is not limited to the method of determining based on the operation state (data rewriting / displaying) of the display device, and may be the following method. .

たとえば、検出条件としてタッチ検出位置データ305D取得時のノイズの割合”を用いて、重み付け値(α,βの値)を決定してもよい。ノイズの割合とは、一般的なSN比(Signal to Noise ratio)であって、スキャンデータ304中の操作体(静電容量)を検出している時のデータと、検出されていない時のデータの比で表される。   For example, the weighting values (values of α and β) may be determined using “the ratio of noise at the time of obtaining touch detection position data 305D” as the detection condition. The noise ratio is a general SN ratio (Signal). to Noise ratio), which is expressed as a ratio of data when the operating body (capacitance) in the scan data 304 is detected to data when it is not detected.

動作において、操作受付部240は、タッチパネル140からスキャンデータ304を入力すると、入力するスキャンデータ304から操作体を検出している時のデータと、検出されていない時のデータを抽出し、SN比を算出する。なお、操作体を検出するか否かは、スキャンデータ304が示す値と、予め定めた閾値とを比較することで判定する。   In operation, when the scan data 304 is input from the touch panel 140, the operation reception unit 240 extracts data when the operating tool is detected and data when it is not detected from the input scan data 304, and the SN ratio. Is calculated. Whether or not an operating tool is detected is determined by comparing the value indicated by the scan data 304 with a predetermined threshold value.

たとえば、操作体を検出している時のデータの値を“100”、検出されていない時のデータの値を“10”とするとき、SN比“10”を算出する。同様に操作体を検出している時のデータの値を“100”、検出されていない時のデータの値を“50”と検出したとき、SN比“2”を算出する。この場合、SN比が“10”のときの方が、“2”のときよりもタッチ検出位置データ305D取得時のノイズの割合は小さい、すなわちデータ精度(信頼度)が高いと言える。   For example, when the data value when the operating tool is detected is “100” and the data value when it is not detected is “10”, the SN ratio “10” is calculated. Similarly, when the value of the data when the operating tool is detected is “100” and the value of the data when it is not detected is “50”, the SN ratio “2” is calculated. In this case, when the SN ratio is “10”, it can be said that the ratio of noise when acquiring the touch detection position data 305D is smaller, that is, the data accuracy (reliability) is higher than when the SN ratio is “2”.

操作受付部240は、算出したSN比を表示デバイス状態データ305SとしてCPU231に出力する。CPU231は、入力する表示デバイス状態データ305Sの値が“10”を示すときに入力するタッチ検出位置データ305Dの重み付けを、“2”を示すときよりも大きくする。   The operation reception unit 240 outputs the calculated SN ratio to the CPU 231 as the display device state data 305S. The CPU 231 increases the weight of the touch detection position data 305D input when the value of the input display device state data 305S indicates “10” than when it indicates “2”.

また、検出条件として“タッチ検出位置データ305Dの取得時間間隔”を用いて、重み付け値(α,βの値)を決定してもよい。   Further, the weighting values (values of α and β) may be determined using “acquisition time interval of touch detection position data 305D” as a detection condition.

この“取得時間間隔”は、図4のフローチャートを実行する時間間隔に一致する。プログラムを実行する時間間隔のデータは、RAM252の所定記憶領域に格納されており、当該所定記憶領域からデータを読出すことで“取得時間間隔”を検出する。または、タイマ232を用いて実際のプログラムの実行間隔を計測することで取得するとしてもよい。   This “acquisition time interval” coincides with the time interval for executing the flowchart of FIG. The time interval data for executing the program is stored in a predetermined storage area of the RAM 252, and the “acquisition time interval” is detected by reading the data from the predetermined storage area. Alternatively, it may be acquired by measuring an actual program execution interval using the timer 232.

プログラム実行間隔が長い、すなわち取得時間間隔が大きい(長い)ときは「過去のタッチ検出位置データ305D」の重み付け値(α値)は小さくし、「補正前タッチ検出データ」の重み付け値(β値)は大きくする。「過去のタッチ検出位置データ」は変数DATA_Bを示し、「補正前タッチ検出データ」は変数DATA_Aを示す。   When the program execution interval is long, that is, when the acquisition time interval is large (long), the weight value (α value) of “past touch detection position data 305D” is decreased, and the weight value (β value) of “pre-correction touch detection data” ) Increase. “Past touch detection position data” indicates a variable DATA_B, and “pre-correction touch detection data” indicates a variable DATA_A.

上記の重み付け値の決定方法は個別に適用するものに限定されず、2つ以上の方法を組合わせてもよい。   The weight value determination method described above is not limited to individually applied methods, and two or more methods may be combined.

(変形例2)
補正のためのパラメータ値は、重み付け値(α,βの値)に限定されない。たとえば、補正に用いる過去のタッチ検出位置データの数としてもよい。上記の実施の形態のように直前に検出された「過去のタッチ検出位置データ」の1個のみを用いる、直前および、その前に検出された2個分の「過去のタッチ検出位置データ」を用いる、3個以上の「過去のタッチ検出位置データ」を用いる、など可変に変更してもよい。この変更は、上記の検出条件に従って変更するとしてもよい。たとえば、利用する「過去のタッチ検出位置データ」が3個の場合、重み付けとして、α、β、γ、δのような4つを用いる。
(Modification 2)
The parameter value for correction is not limited to the weight values (α and β values). For example, it may be the number of past touch detection position data used for correction. Using only one piece of “past touch detection position data” detected immediately before as in the above embodiment, two pieces of “past touch detection position data” detected immediately before and before are used. It may be changed variably, such as using three or more “past touch detection position data”. This change may be changed according to the detection conditions described above. For example, when there are three “past touch detection position data” to be used, four such as α, β, γ, and δ are used as weights.

(変形例3)
上記の実施の形態では、CPU231により“補正後タッチ検出位置データ算出”を実行したが、当該算出機能を操作受付部240、より特定的にはタッチパネルコントローラ241が備えるとしてもよい。
(Modification 3)
In the above embodiment, the CPU 231 performs “calculation of corrected touch detection position data”, but the calculation function may be provided in the operation reception unit 240, more specifically, the touch panel controller 241.

本実施の形態では、操作面における操作された位置を示す位置データ(タッチ検出位置データ305D)を順次に検出するための操作受付部240と、操作受付部により位置データが検出されるときの、検出条件(表示デバイス状態)を取得するための条件取得部と、操作受付部により検出された位置データを補正するための補正部(CPU231またはタッチパネルコントローラ241)のと、を備え、補正部は、操作受付部240により検出された位置データを、当該位置データが検出されたときに取得された検出条件と、当該位置データに先行して検出されて補正された先行位置データとから補正する。   In the present embodiment, an operation reception unit 240 for sequentially detecting position data (touch detection position data 305D) indicating the operated position on the operation surface, and when position data is detected by the operation reception unit, A condition acquisition unit for acquiring a detection condition (display device state), and a correction unit (CPU 231 or touch panel controller 241) for correcting the position data detected by the operation reception unit. The position data detected by the operation reception unit 240 is corrected from the detection condition acquired when the position data is detected and the preceding position data detected and corrected prior to the position data.

[他の実施の形態]
上述した実施の形態では、図4と図5のフローチャートに従うプログラムは、端末100に付属するメモリカード152などのように、プロセッサ230のCPU231がメモリドライバ151を介して読取り可能な記録媒体に記録させて、プログラム製品として端末100に提供することもできる。あるいは、ネットワークを介してアンテナ120により受信しRAM252の記憶領域へのダウンロードによって、プログラムを提供することもできる。
[Other embodiments]
In the embodiment described above, the program according to the flowcharts of FIGS. 4 and 5 is recorded on a recording medium that can be read by the CPU 231 of the processor 230 via the memory driver 151, such as the memory card 152 attached to the terminal 100. Thus, it can be provided to the terminal 100 as a program product. Alternatively, the program can be provided by being received by the antenna 120 via a network and downloaded to the storage area of the RAM 252.

提供されるプログラム製品は、プログラム自体と、プログラムが非一時的に記録された記録媒体とを含む。   The provided program product includes the program itself and a recording medium on which the program is recorded non-temporarily.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

100 端末、140 タッチパネル、212 表示装置、214 表示デバイスコントローラ、230 プロセッサ、231 CPU、、240 操作受付部、241 タッチパネルコントローラ、300D 表示データ、300S,301C,303 制御信号、302 表示デバイス状態通知、304 タッチ状態検知スキャンデータ、305D タッチ検出位置データ、305S 表示デバイス状態データ。 100 terminal, 140 touch panel, 212 display device, 214 display device controller, 230 processor, 231 CPU, 240 operation accepting unit, 241 touch panel controller, 300D display data, 300S, 301C, 303 control signal, 302 display device status notification, 304 Touch state detection scan data, 305D touch detection position data, 305S display device state data.

Claims (12)

操作面における操作された位置を示す位置データを順次に検出するための操作受付部と、
前記操作受付部により前記位置データが検出されるときの、検出条件を取得するための条件取得部と、
前記操作受付部により検出された位置データを補正するための補正部と、を備え、
前記補正部は、
前記操作受付部により検出された位置データを、当該位置データが検出されたときに取得された前記検出条件と、当該位置データに先行して検出されて補正された先行位置データとから補正する、情報入力装置。
An operation receiving unit for sequentially detecting position data indicating the operated position on the operation surface;
A condition acquisition unit for acquiring a detection condition when the position data is detected by the operation reception unit;
A correction unit for correcting the position data detected by the operation reception unit,
The correction unit is
Correcting the position data detected by the operation receiving unit from the detection condition acquired when the position data is detected and the preceding position data detected and corrected prior to the position data; Information input device.
前記操作面は、画像を表示する表示部に関連して設けられ、
前記条件取得部は、前記検出条件として前記表示部の画像の表示状態を検出する、請求項1に記載の情報入力装置。
The operation surface is provided in association with a display unit that displays an image,
The information input device according to claim 1, wherein the condition acquisition unit detects a display state of an image on the display unit as the detection condition.
前記表示状態は、前記表示部の画像の表示切替中の状態と、画像の表示中の状態とを含む、請求項2に記載の情報入力装置。   The information input device according to claim 2, wherein the display state includes a state during display switching of the image on the display unit and a state during image display. 前記条件取得部は、前記検出条件として、前記操作受付部により検出される前記位置データのノイズ比を検出する、請求項1から3のいずれかに記載の情報入力装置。   The information input device according to claim 1, wherein the condition acquisition unit detects a noise ratio of the position data detected by the operation reception unit as the detection condition. 前記条件取得部は、前記検出条件として、前記操作受付部が位置データを検出する時間間隔の長さを検出する、請求項1から3のいずれかに記載の情報入力装置。   The information input device according to claim 1, wherein the condition acquisition unit detects a length of a time interval at which the operation reception unit detects position data as the detection condition. 前記補正部は、
前記操作受付部により検出された位置データを、当該位置データが検出されたときに取得された前記検出条件と、2つ以上の前記先行位置データとから補正する、請求項1から5のいずれかに記載の情報入力装置。
The correction unit is
The position data detected by the operation receiving unit is corrected from the detection condition acquired when the position data is detected and two or more preceding position data. The information input device described in 1.
前記補正部は、前記検出条件から補正パラメータを決定する、請求項1から6のいずれかに記載の情報入力装置。   The information input device according to claim 1, wherein the correction unit determines a correction parameter from the detection condition. 前記補正部は、
前記操作受付部により検出された位置データを、当該位置データと、当該位置データが検出されたときに取得された前記検出条件から決定した前記補正パラメータと、当該位置データに先行して検出されて補正された先行位置データとから、予め定めた演算式に従って補正する、請求項7に記載の情報入力装置。
The correction unit is
The position data detected by the operation reception unit is detected prior to the position data, the correction parameter determined from the detection condition acquired when the position data is detected, and the position data. The information input device according to claim 7, wherein correction is performed according to a predetermined arithmetic expression from the corrected preceding position data.
前記補正パラメータは、前記演算式の位置データに係る重み付けを示す、請求項8に記載の情報入力装置。   The information input device according to claim 8, wherein the correction parameter indicates weighting related to position data of the arithmetic expression. 前記補正パラメータは、前記演算式に用いる先行位置データの数を示す、請求項8または9に記載の情報入力装置。   The information input device according to claim 8 or 9, wherein the correction parameter indicates the number of preceding position data used in the arithmetic expression. 操作面における操作された位置を示す位置データを順次に検出するステップと、
前記位置データが検出されるときの、検出条件を取得するステップと、
検出された前記位置データを補正するステップと、を備え、
前記補正するステップでは、
検出するステップで検出された位置データを、当該位置データが検出されたときに取得された前記検出条件と、当該位置データに先行して検出されて補正された先行位置データとから補正する、情報入力方法。
Sequentially detecting position data indicating the operated position on the operation surface;
Obtaining a detection condition when the position data is detected;
Correcting the detected position data, and
In the correcting step,
Information for correcting the position data detected in the detecting step from the detection condition acquired when the position data is detected and the preceding position data detected and corrected prior to the position data. input method.
プロセッサに情報入力方法を実行させるためのプログラムであって、
前記プログラムは前記プロセッサに、
操作面における操作された位置を示す位置データを順次に検出するステップと、
前記位置データが検出されるときの、検出条件を取得するステップと、
検出された前記位置データを補正するステップと、を実行させ、
前記補正するステップでは、
検出するステップで検出された位置データを、当該位置データが検出されたときに取得された前記検出条件と、当該位置データに先行して検出されて補正された先行位置データとから補正する、プログラム。
A program for causing a processor to execute an information input method,
The program is stored in the processor.
Sequentially detecting position data indicating the operated position on the operation surface;
Obtaining a detection condition when the position data is detected;
Correcting the detected position data; and
In the correcting step,
A program for correcting the position data detected in the detecting step from the detection condition acquired when the position data is detected and the preceding position data detected and corrected prior to the position data. .
JP2012204449A 2012-09-18 2012-09-18 Information input device Pending JP2014059738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012204449A JP2014059738A (en) 2012-09-18 2012-09-18 Information input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012204449A JP2014059738A (en) 2012-09-18 2012-09-18 Information input device

Publications (1)

Publication Number Publication Date
JP2014059738A true JP2014059738A (en) 2014-04-03

Family

ID=50616158

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012204449A Pending JP2014059738A (en) 2012-09-18 2012-09-18 Information input device

Country Status (1)

Country Link
JP (1) JP2014059738A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014215901A (en) * 2013-04-26 2014-11-17 カシオ計算機株式会社 Information processor, method and program for information processing
JP6022137B1 (en) * 2016-03-22 2016-11-09 三菱電機株式会社 Coordinate correction apparatus, coordinate correction method, and coordinate correction program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014215901A (en) * 2013-04-26 2014-11-17 カシオ計算機株式会社 Information processor, method and program for information processing
JP6022137B1 (en) * 2016-03-22 2016-11-09 三菱電機株式会社 Coordinate correction apparatus, coordinate correction method, and coordinate correction program
WO2017163297A1 (en) * 2016-03-22 2017-09-28 三菱電機株式会社 Coordinate correction device, coordinate correction method, and coordinate correction program

Similar Documents

Publication Publication Date Title
CN103809823B (en) Display device and its driving method including integrated touch panels
CN113924611B (en) Method for reducing display degradation of electronic device and foldable electronic device using the same
JP5138406B2 (en) Display device and driving method thereof
CN111937063B (en) Electronic apparatus and method for controlling output timing of signals
US12141397B2 (en) Electronic device including touch sensor and method for driving touch sensor included in electronic device
KR102385758B1 (en) Integrated self-capacitive touch display
US9329686B2 (en) Haptic feedback method, haptic feedback apparatus, electronic device and stylus
US9229567B2 (en) Electronic device including touch-sensitive display
US20100265209A1 (en) Power reduction for touch screens
US11442600B2 (en) Screen display method and terminal
US11487377B2 (en) Electronic device acquiring user input when in submerged state by using pressure sensor, and method for controlling electronic device
KR20140107788A (en) Method of controlling event and electronic device thereof
KR20180048343A (en) Dynamic haptic generation based on detected video events
EP3610349B1 (en) Using pressure sensor input to selectively route user inputs
KR102569170B1 (en) Electronic device and method for processing user input based on time of maintaining user input
KR102717782B1 (en) Electronic device comprising touch sensor ic and method for operating thereof
US10877588B2 (en) Electronic apparatus comprising force sensor and method for controlling electronic apparatus thereof
US20200117308A1 (en) Electronic device and method for determining touch input conditions based on type of touch input
CA2838769C (en) Touch display with variable touch-scan rate
KR20220017218A (en) Electronic device and method for quickly updating a partial area of the screen
JP2015500534A (en) Method and apparatus for load sensing gesture recognition
KR20140016853A (en) Electronic device and method of detecting touches on a touch-sensitive display
CN104571712B (en) Touch control display apparatus and touch-screen setting-out display methods
KR20160083634A (en) Touch screen device
US11966538B2 (en) Electronic device including touch sensor IC and operation method for same