JP2019145066A - Position detection circuit and position detection method - Google Patents

Position detection circuit and position detection method Download PDF

Info

Publication number
JP2019145066A
JP2019145066A JP2018187901A JP2018187901A JP2019145066A JP 2019145066 A JP2019145066 A JP 2019145066A JP 2018187901 A JP2018187901 A JP 2018187901A JP 2018187901 A JP2018187901 A JP 2018187901A JP 2019145066 A JP2019145066 A JP 2019145066A
Authority
JP
Japan
Prior art keywords
abnormal
line
position detection
line electrodes
detection circuit
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
Application number
JP2018187901A
Other languages
Japanese (ja)
Other versions
JP7156893B2 (en
Inventor
叡明 劉
JuiMin LIU
叡明 劉
雄飛 畑野
Yuhi Hatano
雄飛 畑野
重幸 佐野
Shigeyuki Sano
重幸 佐野
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.)
Wacom Co Ltd
Original Assignee
Wacom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wacom Co Ltd filed Critical Wacom Co Ltd
Priority to US16/256,833 priority Critical patent/US10983640B2/en
Publication of JP2019145066A publication Critical patent/JP2019145066A/en
Application granted granted Critical
Publication of JP7156893B2 publication Critical patent/JP7156893B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

To provide a position detection circuit and position detection method, which allow for determining anomalies of line electrodes through a simple method without displaying a special inspection pattern.SOLUTION: A position detection circuit 18 is configured to: acquire detection values pertaining to capacitance at cross-points between line electrodes 16x, 16y in association with positions of the cross-points; count cross-points with detection values less than a first threshold for each line electrode 16x, 16y; and determine line electrodes 16x, 16y with counted cross-points numbering more than a second threshold to be abnormal or candidate abnormal line electrodes.SELECTED DRAWING: Figure 3

Description

本発明は、位置検出回路及び位置検出方法に関する。   The present invention relates to a position detection circuit and a position detection method.

特許文献1には、タッチ操作の誘導経路を示す検査用パターンを表示し、検査員のタッチ操作に伴って形成される検出位置の軌跡に応じて、タッチセンサの異常の有無を判定する方法が開示されている。   Patent Document 1 discloses a method for displaying an inspection pattern indicating a guidance route for a touch operation, and determining the presence or absence of an abnormality of the touch sensor according to a locus of a detection position formed in accordance with the inspector's touch operation. It is disclosed.

特開2014−215843号公報JP 2014-215843 A

ところが、特許文献1に開示される方法では、検査用パターンを予め表示させる必要があるため、通常の使用状態では用いることができないという問題がある。   However, the method disclosed in Patent Document 1 has a problem in that it cannot be used in a normal use state because an inspection pattern needs to be displayed in advance.

本発明の目的は、特別な検査用パターンを表示することなく簡単な方法によってライン電極の異常状態を判定可能な位置検出回路及び位置検出方法を提供することである。   An object of the present invention is to provide a position detection circuit and a position detection method capable of determining an abnormal state of a line electrode by a simple method without displaying a special inspection pattern.

第1の本発明における位置検出回路は、複数本のライン電極を二次元格子状に配置してなる静電容量方式のタッチセンサに接続される回路であって、ライン電極同士のクロスポイントにおける静電容量に関する検出値を前記クロスポイントの位置と対応付けて取得する取得ステップと、前記検出値が第1閾値を下回るクロスポイントの個数をライン電極毎に計数する計数ステップと、計数されたクロスポイントの個数が第2閾値を上回るライン電極を異常又は異常候補であると判定する判定ステップと、を実行する。   The position detection circuit according to the first aspect of the present invention is a circuit connected to a capacitive touch sensor in which a plurality of line electrodes are arranged in a two-dimensional lattice, and is a static circuit at a cross point between line electrodes. An acquisition step of acquiring a detection value related to electric capacity in association with the position of the cross point, a counting step of counting the number of cross points where the detection value is less than a first threshold for each line electrode, and the counted cross points And a determination step of determining that the line electrode whose number exceeds the second threshold value is abnormal or an abnormal candidate.

第2の本発明における位置検出方法は、複数本のライン電極を二次元格子状に配置してなる静電容量方式のタッチセンサを用いた方法であって、ライン電極同士のクロスポイントにおける静電容量に関する検出値を前記クロスポイントの位置と対応付けて取得する取得ステップと、前記検出値が第1閾値を下回るクロスポイントの個数をライン電極毎に計数する計数ステップと、計数されたクロスポイントの個数が第2閾値を上回るライン電極を異常又は異常候補であると判定する判定ステップと、を1つ又は複数のプロセッサが実行する。   The position detection method according to the second aspect of the present invention is a method using a capacitive touch sensor in which a plurality of line electrodes are arranged in a two-dimensional lattice pattern, and includes electrostatic at cross points between line electrodes. An acquisition step of acquiring a detection value related to capacitance in association with the position of the cross point; a counting step of counting the number of cross points where the detection value is less than a first threshold value for each line electrode; and One or more processors execute a determination step of determining that the number of line electrodes whose number exceeds the second threshold value is abnormal or an abnormal candidate.

本発明によれば、特別な検査用パターンを表示することなく簡単な方法によってライン電極の異常状態を判定することができる。   According to the present invention, the abnormal state of the line electrode can be determined by a simple method without displaying a special inspection pattern.

本発明の一実施形態における位置検出回路が組み込まれた電子機器の概略ブロック図である。It is a schematic block diagram of the electronic device with which the position detection circuit in one Embodiment of this invention was integrated. 図1の位置検出回路による位置検出方法の動作全体を示すフローチャートである。It is a flowchart which shows the whole operation | movement of the position detection method by the position detection circuit of FIG. 図2のステップS10において実行される断線検出処理の詳細フローチャートである。It is a detailed flowchart of the disconnection detection process performed in step S10 of FIG. 仮判定処理により得られる結果の第1例を示す図である。It is a figure which shows the 1st example of the result obtained by a temporary determination process. 仮判定処理により得られる結果の第2例を示す図である。It is a figure which shows the 2nd example of the result obtained by a temporary determination process. 多数決処理により得られる結果の一例を示す図である。It is a figure which shows an example of the result obtained by majority processing. 図7A、図7B及び図7Cは、各行ラインにおける信号レベルの分布の例を示す図である。7A, 7B, and 7C are diagrams illustrating examples of signal level distribution in each row line. 図8Aは、三次スプライン補間による補間結果の一例を示す図である。図8Bは、電子ペンの移動に伴うペン座標の軌跡を模式的に示す図である。FIG. 8A is a diagram illustrating an example of an interpolation result by cubic spline interpolation. FIG. 8B is a diagram schematically illustrating the locus of pen coordinates accompanying the movement of the electronic pen. 図2のステップS20において実行されるスキップ連続ラインデータによるペン座標導出処理の詳細フローチャートである。It is a detailed flowchart of the pen coordinate derivation process by the skip continuous line data performed in step S20 of FIG. スキップ連続ラインデータ取得処理により得られた信号レベルの値の関係を示す図である。It is a figure which shows the relationship of the value of the signal level obtained by the skip continuous line data acquisition process. 図11A及び図11Bは、各行ラインにおける信号レベルの分布の例を示す図である。FIG. 11A and FIG. 11B are diagrams illustrating examples of signal level distribution in each row line. 図12Aは、三次スプライン補間による補間結果の一例を示す図である。図12Bは、電子ペンの移動に伴うペン座標の軌跡を模式的に示す図である。FIG. 12A is a diagram illustrating an example of an interpolation result by cubic spline interpolation. FIG. 12B is a diagram schematically showing a locus of pen coordinates accompanying the movement of the electronic pen. 断線箇所のスキップに応じた補正切り替え処理のフローチャートである。It is a flowchart of the correction | amendment switching process according to the skip of a disconnection location. 図14A及び図14Bは、ペン座標の補正方法の一例を示す図である。14A and 14B are diagrams illustrating an example of a pen coordinate correction method.

本発明における位置検出回路及び位置検出方法について、添付の図面を参照しながら説明する。なお、本発明は、以下の実施形態及び変形例に限定されるものではなく、この発明の主旨を逸脱しない範囲で自由に変更できることは勿論である。あるいは、技術的に矛盾が生じない範囲で各々の構成を任意に組み合わせてもよい。   A position detection circuit and a position detection method according to the present invention will be described with reference to the accompanying drawings. In addition, this invention is not limited to the following embodiment and modification, Of course, it can change freely in the range which does not deviate from the main point of this invention. Or you may combine each structure arbitrarily in the range which does not produce technical contradiction.

[電子機器10の構成]
図1は、本発明の一実施形態における位置検出回路18が組み込まれた電子機器10の概略ブロック図である。電子機器10は、例えば、タブレット型端末、スマートフォン、パーソナルコンピュータで構成される。ユーザは、電子ペン12(あるいはスタイラス)を片手で把持し、表示パネル(不図示)のタッチ面にペン先を押し当てながら移動させることで、電子機器10に絵や文字を書き込むことができる。あるいは、ユーザは、自身の指14でタッチ面に接触することで、表示中のユーザコントロールを介して所望の操作を行うことができる。
[Configuration of Electronic Device 10]
FIG. 1 is a schematic block diagram of an electronic device 10 incorporating a position detection circuit 18 according to an embodiment of the present invention. The electronic device 10 is configured by, for example, a tablet terminal, a smartphone, or a personal computer. The user can write a picture or character on the electronic device 10 by holding the electronic pen 12 (or stylus) with one hand and moving the pen while pressing the pen tip against the touch surface of a display panel (not shown). Alternatively, the user can perform a desired operation through the user control being displayed by touching the touch surface with his / her finger 14.

この電子機器10は、タッチセンサ16と、位置検出回路18と、ホストプロセッサ20と、を含んで構成される。なお、本図に示すx方向,y方向は、タッチセンサ16がなす平面上において定義される直交座標系のX軸,Y軸に相当する。   The electronic device 10 includes a touch sensor 16, a position detection circuit 18, and a host processor 20. In addition, the x direction and the y direction shown in this figure correspond to the X axis and the Y axis of the orthogonal coordinate system defined on the plane formed by the touch sensor 16.

タッチセンサ16は、表示パネル上に配置される複数の電極である。タッチセンサ16は、X座標(x方向の位置)を検出するための複数のライン電極16xと、Y座標(y方向の位置)を検出するための複数のライン電極16yと、を含む。複数のライン電極16xは、y方向に延びて設けられ、かつx方向に沿って等間隔に配置されている。複数のライン電極16yは、x方向に延びて設けられ、かつy方向に沿って等間隔に配置されている。以下、ライン電極16x(16y)の配置間隔を「ピッチ」という場合がある。   The touch sensor 16 is a plurality of electrodes arranged on the display panel. The touch sensor 16 includes a plurality of line electrodes 16x for detecting the X coordinate (position in the x direction) and a plurality of line electrodes 16y for detecting the Y coordinate (position in the y direction). The plurality of line electrodes 16x are provided to extend in the y direction, and are arranged at equal intervals along the x direction. The plurality of line electrodes 16y are provided so as to extend in the x direction and are arranged at equal intervals along the y direction. Hereinafter, the arrangement interval of the line electrodes 16x (16y) may be referred to as “pitch”.

位置検出回路18は、ファームウェア22を実行可能に構成された集積回路であり、タッチセンサ16を構成する複数の電極にそれぞれ接続されている。ファームウェア22は、ユーザの指14などによるタッチを検出するタッチ検出機能24tと、電子ペン12の状態を検出するペン検出機能24pと、を実現可能に構成される。   The position detection circuit 18 is an integrated circuit configured to be able to execute the firmware 22, and is connected to a plurality of electrodes constituting the touch sensor 16. The firmware 22 is configured to be capable of realizing a touch detection function 24t that detects a touch with the user's finger 14 and the like, and a pen detection function 24p that detects the state of the electronic pen 12.

タッチ検出機能24tは、例えば、タッチセンサ16の二次元スキャン機能、タッチセンサ16上のヒートマップ(検出レベルの二次元位置分布)の作成機能、ヒートマップ上の領域分類機能(例えば、指、手の平の分類)を含む。ペン検出機能24pは、例えば、タッチセンサ16の二次元スキャン機能、ダウンリンク信号の受信・解析機能、電子ペン12の状態(例えば、位置、姿勢、筆圧)の推定機能、電子ペン12に対する指令を含むアップリンク信号の生成・送信機能を含む。   The touch detection function 24t includes, for example, a two-dimensional scanning function of the touch sensor 16, a function of creating a heat map (two-dimensional position distribution of detection levels) on the touch sensor 16, and a region classification function (for example, a finger, a palm) Classification). The pen detection function 24p includes, for example, a two-dimensional scan function of the touch sensor 16, a downlink signal reception / analysis function, an estimation function of the state (for example, position, posture, writing pressure) of the electronic pen 12, and a command to the electronic pen 12. Including uplink signal generation / transmission function.

ホストプロセッサ20は、CPU(Central Processing Unit)又はGPU(Graphics Processing Unit)からなるプロセッサである。ホストプロセッサ20は、図示しないメモリからプログラムを読み出し実行することで、例えば、位置検出回路18からのデータを用いてデジタルインクを生成する処理、当該デジタルインクが示す描画内容を表示させるための可視化処理などを行う。   The host processor 20 is a processor composed of a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit). The host processor 20 reads out and executes a program from a memory (not shown), for example, a process for generating digital ink using data from the position detection circuit 18, and a visualization process for displaying the drawing content indicated by the digital ink And so on.

[位置検出回路18の概略的な動作]
タッチセンサ16がN行のライン電極16x及びM列のライン電極16yを含む場合、N×M個の交差位置(以下、クロスポイントという)が存在する。以下の説明において「行ライン」は行方向の電極、「列ライン」は列方向の電極、「ライン」は行方向又は列方向のいずれか又は両方の電極を意味する。
[Schematic Operation of Position Detection Circuit 18]
When the touch sensor 16 includes N rows of line electrodes 16x and M columns of line electrodes 16y, there are N × M intersection positions (hereinafter referred to as cross points). In the following description, “row line” means an electrode in the row direction, “column line” means an electrode in the column direction, and “line” means an electrode in either the row direction or the column direction or both.

位置検出回路18は、各々のクロスポイントにおける静電容量の変化を捉えることで指14の位置を検出する。また、位置検出回路18は、ライン電極16x,16yのそれぞれの方向で検出される電子ペン12からの信号レベルに基づいて電子ペン12の状態を検出する。なお、静電容量に関する検出値は、相互容量であってもよいし、自己容量であってもよい。   The position detection circuit 18 detects the position of the finger 14 by capturing a change in capacitance at each cross point. The position detection circuit 18 detects the state of the electronic pen 12 based on the signal level from the electronic pen 12 detected in the direction of each of the line electrodes 16x and 16y. Note that the detected value related to the capacitance may be a mutual capacitance or a self-capacitance.

図2は、図1の位置検出回路18による位置検出方法の動作全体を示すフローチャートである。まず、位置検出回路18は、断線検出処理を実行する(ステップS10)。断線が検出されなかった場合(S12;NO)、位置検出回路18は、全ラインデータを用いたペン座標導出処理を実行する。一方、断線が検出された場合(S12;YES)、位置検出回路18は、スキップ連続ラインデータによるペン座標導出処理(ステップS20)を実行する。なお、この動作は、1つのプロセッサ(位置検出回路18)が実行してもよいし、複数のプロセッサが協働して実行してもよい。   FIG. 2 is a flowchart showing the overall operation of the position detection method by the position detection circuit 18 of FIG. First, the position detection circuit 18 performs a disconnection detection process (step S10). When the disconnection is not detected (S12; NO), the position detection circuit 18 executes a pen coordinate derivation process using all line data. On the other hand, when a disconnection is detected (S12; YES), the position detection circuit 18 executes a pen coordinate derivation process (step S20) using skip continuous line data. This operation may be executed by one processor (position detection circuit 18), or may be executed in cooperation by a plurality of processors.

[断線検出処理の説明]
<具体的な動作>
図3は、図2のステップS10において実行される断線検出処理の詳細フローチャートである。
[Explanation of disconnection detection processing]
<Specific operation>
FIG. 3 is a detailed flowchart of the disconnection detection process executed in step S10 of FIG.

まず、ステップS11において、N×M個のクロスポイントにおける静電容量値を含む容量データテーブルCを取得する。容量データテーブルCは、後述する図4に示すような値のテーブルである。   First, in step S11, a capacitance data table C including capacitance values at N × M cross points is acquired. The capacity data table C is a table of values as shown in FIG.

次に、ステップS12において、i番目の行ラインにおけるライン毎異常ポイント数EPCを検出する。この検出は、例えば、i番目の行ラインに含まれるM個のクロスポイントにおける静電容量値をそれぞれ所定の閾値th1(第1閾値)と比較して、この閾値th1を越えた異常ポイントの数を計数してもよい。また、この比較は、現在の行ラインと隣接する行ライン(例えば、i−1番目の行ライン)における静電容量値との差分値と、閾値th1との比較であってもよいし、現時点で得られている当該クロスポイントにおける基準値との比較であってもよい。この比較により、異常値とされたクロスポイントのポイントの個数であるライン毎異常ポイント数EPC(i)をカウントする(ステップS123)。   Next, in step S12, the abnormal point number EPC for each line in the i-th row line is detected. This detection is performed by, for example, comparing the capacitance values at M cross points included in the i-th row line with a predetermined threshold th1 (first threshold), and the number of abnormal points exceeding the threshold th1. May be counted. Further, this comparison may be a comparison between the difference value between the current row line and the capacitance value in the adjacent row line (for example, the (i−1) -th row line) and the threshold value th1. It may be a comparison with the reference value at the cross point obtained in (1). By this comparison, the number of abnormal points per line EPC (i), which is the number of cross-points determined as abnormal values, is counted (step S123).

次に、ステップS13において、i番目の行ラインが断線しているか否かを仮判定する。まず、ステップS131において、ライン毎異常ポイント数EPC(i)が所定の個数th2より少ないか否か判定し、個数が少ない場合(S131;YES)は、i番目の行ラインは断線でないことを示す値を、その行の断線候補フラグE_Flagの値を設定する(ステップS133)。判定の結果、個数が多い場合(S131;NO)は、i番目の行ラインは断線候補であることを示す値を断線候補フラグE_Flagの値に設定する(ステップS135)。更に、この場合、N行全体の異常候補ライン数ELCの数をインクリメントする(ステップS136)。   Next, in step S13, it is temporarily determined whether or not the i-th row line is disconnected. First, in step S131, it is determined whether or not the number of abnormal points per line EPC (i) is smaller than a predetermined number th2. If the number is small (S131; YES), it indicates that the i-th row line is not broken. The value is set to the value of the disconnection candidate flag E_Flag for that row (step S133). If the number is large as a result of the determination (S131; NO), a value indicating that the i-th row line is a disconnection candidate is set as the value of the disconnection candidate flag E_Flag (step S135). Further, in this case, the number of abnormal candidate lines ELC for the entire N rows is incremented (step S136).

図4及び図5は、仮判定処理により得られる結果の一例をそれぞれ示す図である。具体的には、X0〜X14の行ライン及びY0〜Y14列ラインを有するタッチパネルにおいて、各クロスポイントにおいて取得された静電容量値の例、並びに、上述ステップにおいて取得される、ライン毎異常ポイント数EPC、異常候補ライン数ELC、断線候補フラグE_Flagの値の例を示している。静電容量値が19(第2閾値)より小さい場合に異常値と判定される。   4 and 5 are diagrams each illustrating an example of a result obtained by the provisional determination process. Specifically, in the touch panel having X0 to X14 row lines and Y0 to Y14 column lines, examples of the capacitance values acquired at each cross point and the number of abnormal points per line acquired in the above steps Examples of values of EPC, abnormal candidate line number ELC, and disconnection candidate flag E_Flag are shown. When the capacitance value is smaller than 19 (second threshold value), it is determined as an abnormal value.

図4の例では、異常値であると判定されたポイントの個数が15個存在するY8の行ラインが異常候補ラインと仮判定される。また、行方向における異常候補ライン数ELCは1個と仮判定される。図5の例では、異常値であると仮判定されたポイントの個数が15個存在するY8〜Y10が異常候補ラインと仮判定される。また、行方向における異常候補ライン数ELCは3つと仮判定され、列方向における異常候補ライン数ELCは1つと仮判定される。   In the example of FIG. 4, the Y8 row line having 15 points determined to be abnormal values is provisionally determined as an abnormal candidate line. Further, the number of abnormal candidate lines ELC in the row direction is provisionally determined to be one. In the example of FIG. 5, Y8 to Y10 in which the number of points provisionally determined to be abnormal values is 15 are temporarily determined as abnormality candidate lines. Further, the number of abnormal candidate lines ELC in the row direction is provisionally determined to be three, and the number of abnormal candidate lines ELC in the column direction is provisionally determined to be one.

図3に戻る。ステップS14において、仮判定された異常候補ラインが異常であるか否かを決定するための多数決処理を行う。まず、異常候補ライン数ELCが行ライン数N(あるいは列ライン数M)の過半数より少ないか否かを判定する(ステップS141)。判定の結果、異常候補ライン数ELCが過半数より少ない場合(S141;YES)は、異常候補ラインをそのまま異常ラインとして決定する。判定の結果、異常候補ライン数ELCが過半数より大きい場合(S141;NO)、異常候補ライン(図6の例で、Y3〜Y11の9ライン)を正常ラインとして決定し、正常ラインと仮判定されていたライン(Y0〜Y2及びY12〜14の6行)を異常ラインに決定する。この処理は、例えば、異常ラインであると仮判定したラインについての断線候補フラグE_Flagの値を反転させることで、異常と仮判定されたラインと正常と仮判定されたラインを入れ替えることができる。そして、決定された異常ラインに基づいて、後述するステップS20のペン座標導出処理を実行する。   Returning to FIG. In step S14, a majority process is performed to determine whether or not the temporarily determined abnormality candidate line is abnormal. First, it is determined whether or not the number of abnormal candidate lines ELC is less than a majority of the number of row lines N (or the number of column lines M) (step S141). As a result of the determination, if the number of abnormal candidate lines ELC is smaller than the majority (S141; YES), the abnormal candidate lines are determined as abnormal lines as they are. As a result of the determination, if the number of abnormal candidate lines ELC is larger than the majority (S141; NO), the abnormal candidate lines (9 lines Y3 to Y11 in the example of FIG. 6) are determined as normal lines and temporarily determined as normal lines. The existing lines (6 lines Y0 to Y2 and Y12 to 14) are determined as abnormal lines. In this process, for example, by inverting the value of the disconnection candidate flag E_Flag for a line temporarily determined to be an abnormal line, the line temporarily determined to be abnormal and the line temporarily determined to be normal can be switched. Then, based on the determined abnormal line, a pen coordinate derivation process in step S20 described later is executed.

図6は、多数決処理により得られる結果の一例を示す図である。行ラインY3〜Y11は、一旦異常候補ラインと仮判定されるが、異常候補ライン数の値である9は、全部の行ライン数である15の過半数を占めている。このような状態は、タッチセンサ16全体の機構上の状態が変化した可能性、あるいは、隣接ライン間の差分値を静電容量値として利用している場合に、異常候補と仮判定されたライン群とそうでないライン群とのどちらの側が正常の値を示しているか区別することが難しい。このような状況下であってもタッチ検出動作を打ち切らずに検出動作を続行するために、一旦異常候補ラインと仮判定された行ラインY3〜Y11の方のライン群の出力を利用し、Y0〜Y2及びY12〜Y14の6ラインの方が断線しているライン群であるとしてこれらを入れ替える。   FIG. 6 is a diagram illustrating an example of a result obtained by the majority process. The row lines Y3 to Y11 are temporarily determined as abnormal candidate lines, but the value 9 of the number of abnormal candidate lines occupies a majority of 15 which is the total number of row lines. Such a state is the possibility that the mechanical state of the touch sensor 16 as a whole has changed, or a line temporarily determined as an abnormal candidate when a difference value between adjacent lines is used as a capacitance value. It is difficult to distinguish which side of the group and the non-line group shows normal values. Even in such a situation, in order to continue the detection operation without stopping the touch detection operation, the output of the line group of the row lines Y3 to Y11 temporarily determined as an abnormal candidate line is used, and Y0 The six lines Y2 to Y14 and Y12 to Y14 are replaced with each other on the assumption that the line group is disconnected.

<断線検出処理による効果>
以上のように、この位置検出回路18は、複数本のライン電極16x,16yを二次元格子状に配置してなる静電容量方式のタッチセンサ16に接続される回路であって、ライン電極16x,16y同士のクロスポイントにおける静電容量に関する検出値を当該クロスポイントの位置と対応付けて取得する取得ステップ(S11)と、検出値が第1閾値を下回るクロスポイントの個数をライン電極16x,16y毎に計数する計数ステップ(S12)と、計数されたクロスポイントの個数が第2閾値を上回るライン電極16x,16yを異常又は異常候補であると判定する判定ステップ(S13,S14)を実行する。
<Effect of disconnection detection processing>
As described above, the position detection circuit 18 is a circuit connected to the capacitive touch sensor 16 in which a plurality of line electrodes 16x and 16y are arranged in a two-dimensional lattice, and the line electrode 16x , 16y, an acquisition step (S11) for acquiring a detection value relating to the capacitance at the cross point in association with the position of the cross point, and the number of cross points where the detection value is lower than the first threshold value as the line electrodes 16x, 16y. A counting step (S12) for counting each time and a determination step (S13, S14) for determining that the line electrodes 16x and 16y in which the number of counted cross points exceeds the second threshold are abnormal or abnormal candidates are executed.

このように、通常の使用状態にて取得可能なクロスポイント毎の検出値に対して計数処理及び閾値処理を組み合わせて実行することで、異常又は異常候補であるライン電極16x,16yが特定される。これにより、特別な検査用パターンを表示することなく簡単な方法によってライン電極16x,16yの異常状態を判定することができる。   As described above, the line electrodes 16x and 16y that are abnormal or abnormal candidates are specified by executing the combination of the counting process and the threshold process on the detection value for each cross point that can be acquired in the normal use state. . Thereby, the abnormal state of the line electrodes 16x and 16y can be determined by a simple method without displaying a special inspection pattern.

また、判定ステップ(S14)では、二次元格子の一方向を構成するライン電極16x(16y)を母集団とし、異常候補でないライン電極16x(16y)の本数が母集団の全標本数のうちの過半数を占める場合に、異常候補として抽出されたライン電極16x(16y)が異常であると判定し、異常候補であるライン電極16x(16y)の本数が母集団の全標本数のうちの過半数を占める場合に、異常候補として抽出されなかった残りのライン電極16x(16y)が異常であると判定してもよい。多数決の原理に基づいて二次判定を行うことで、母集団全体として妥当な判定結果が得られる可能性が高まる。   In the determination step (S14), the line electrode 16x (16y) constituting one direction of the two-dimensional lattice is used as a population, and the number of line electrodes 16x (16y) that are not abnormal candidates is the total number of samples in the population. When the majority is occupied, it is determined that the line electrode 16x (16y) extracted as the abnormality candidate is abnormal, and the number of the line electrodes 16x (16y) that are abnormality candidates is the majority of the total number of samples in the population. When occupied, it may be determined that the remaining line electrodes 16x (16y) that have not been extracted as abnormality candidates are abnormal. By performing the secondary determination based on the principle of majority decision, the possibility of obtaining an appropriate determination result for the entire population increases.

[ペン座標導出処理の説明]
<断線に起因する問題点>
次に、ペン座標導出処理について説明する。ペン座標導出処理は、電子ペン12から送信されたペン信号をライン電極16x,16yで検出することで、行方向及び列方向の二次元位置を導出する処理である。以下では、行方向の位置検出について、Y0〜Y15の行ラインのうちY8の近傍に電子ペン12が位置する状態を例にして説明する。以下、行方向についての処理を説明するが、列方向についても同様の処理を行うことが可能であることは言うまでもない。
[Description of pen coordinate derivation process]
<Problems caused by disconnection>
Next, the pen coordinate derivation process will be described. The pen coordinate derivation process is a process of deriving a two-dimensional position in the row direction and the column direction by detecting the pen signal transmitted from the electronic pen 12 with the line electrodes 16x and 16y. In the following, the position detection in the row direction will be described by taking as an example a state in which the electronic pen 12 is located in the vicinity of Y8 among the row lines Y0 to Y15. Hereinafter, processing in the row direction will be described, but it goes without saying that the same processing can be performed in the column direction.

図7A,7B,7Cは、各行ラインにおける信号レベルの分布の例を示す図である。図7Aは、Y0〜Y15の行ラインのいずれにも断線が検出されなかった場合(図2のS12;NO)における各行ラインにおける信号レベルの分布の例を示す図である。   7A, 7B, and 7C are diagrams illustrating examples of signal level distribution in each row line. FIG. 7A is a diagram illustrating an example of signal level distribution in each row line when no disconnection is detected in any of the row lines Y0 to Y15 (S12 in FIG. 2; NO).

各ラインにおいて検出される信号レベルは、Y8においてピーク値となり、二番目にY9、三番目にY7となっている。ペン座標導出処理においては、このようにピーク値となったY8の位置を中心にY7及びY9信号レベルの分布を用いて所望の近似又は補間を行い、得られた分布(曲線あるいは曲面)に基づいて信号レベルの極大座標を導出し、Y8の付近ペンのY座標の位置として出力する。近似又は補間アルゴリズムは、例えば、三次スプライン関数、B−スプライン関数を含む様々な手法が用いられる。   The signal level detected in each line has a peak value at Y8, Y9 second, and Y7 third. In the pen coordinate derivation process, desired approximation or interpolation is performed using the distribution of the Y7 and Y9 signal levels around the position of Y8 having the peak value as described above, and based on the obtained distribution (curve or curved surface). The maximum coordinate of the signal level is derived and output as the Y coordinate position of the pen near Y8. As the approximation or interpolation algorithm, various methods including, for example, a cubic spline function and a B-spline function are used.

図7B及び図7Cは、電子ペン12がY8の位置に存在している状態で、Y8が断線していた場合に、各行ラインで検出される信号レベルの分布の例を示す分布図である。Y8は断線しているため、Y9又はY7の一方において検出される信号レベルがピーク値を取り、他方において検出される信号レベルが2番目のピークとなる。   FIGS. 7B and 7C are distribution diagrams illustrating examples of signal level distributions detected in each row line when Y8 is disconnected in a state where the electronic pen 12 exists at the position Y8. Since Y8 is disconnected, the signal level detected at one of Y9 or Y7 has a peak value, and the signal level detected at the other is the second peak.

図8Aは、三次スプライン補間による補間結果の一例を示す図である。Y8の信号レベルが欠損しているため、Y7とY9の間のデータ点の密度(空間分解能)が相対的に「疎」になっている。このため、Y7とY9の信号レベルが完全に一致する場合はY8が補間曲線の極大位置になるが、両者の信号レベルに差が生じてしまうと補間曲線の極大位置がY7又はY9のいずれか一方(信号レベルが相対的に高い側)に近寄ってしまう傾向がある。つまり、極大位置は、Y7〜Y9(2ピッチ分)の範囲内で大きく変動し得る。   FIG. 8A is a diagram illustrating an example of an interpolation result by cubic spline interpolation. Since the signal level of Y8 is missing, the density (spatial resolution) of data points between Y7 and Y9 is relatively “sparse”. For this reason, when the signal levels of Y7 and Y9 completely match, Y8 becomes the maximum position of the interpolation curve. However, if there is a difference between the two signal levels, the maximum position of the interpolation curve is either Y7 or Y9. There is a tendency to approach one side (the side with a relatively high signal level). That is, the maximum position can vary greatly within the range of Y7 to Y9 (2 pitches).

その結果、図7Bの例は、実際には電子ペン12はY8の位置に存在するが、取得された信号レベルのうちピーク値であるY9の位置P9(黒丸位置)付近を電子ペン12の位置を示す座標(以下、「ペン座標」ともいう)として出力する。また、図7Cの例ではY7の位置P7(白丸位置)付近をペン座標として出力する。図7Bと図7Cでは、Y7とY9とで検出される信号レベルはそれほど大きい差はない。これは、どちらも本来のピーク値の位置とは異なる位置であるためである。このような場合、電子ペン12の傾きや行方向の手振れ等により、Y7で検出される信号レベルとY9で検出される信号レベルの大小が簡単に変化し、交互に発生することがある。   As a result, in the example of FIG. 7B, the electronic pen 12 actually exists at the Y8 position, but the position of the electronic pen 12 near the position P9 (black circle position) of the peak value Y9 among the acquired signal levels. Are output as coordinates (hereinafter also referred to as “pen coordinates”). In the example of FIG. 7C, the vicinity of the position P7 (white circle position) of Y7 is output as pen coordinates. 7B and 7C, the signal levels detected by Y7 and Y9 are not so different. This is because both are positions different from the original peak value position. In such a case, the magnitude of the signal level detected at Y7 and the level of the signal detected at Y9 may easily change due to tilting of the electronic pen 12 or camera shake in the row direction, and the like.

図8Bは、電子ペン12の移動に伴うペン座標の軌跡を模式的に示す図である。ここでは、断線した行ラインY8が延在する方向に沿ってペンを移動操作させる場合を想定する。上述した理由で信号レベルの大小関係が入れ替わると、ペン座標は、初めはP7(白丸)の位置付近であるが、その後P9(黒丸)の位置付近となり、再びP7の位置付近に戻るというように振れ幅W1で揺らいでしまう。ここで、例えばY8の位置に仮の信号レベル値(例えば、Y7,Y9で取得された信号レベルの平均値等)を与えたとしてもこの問題はなおも残存する。特に、連続する複数のラインが同時に断線すると、この振れ幅W1はさらに大きくなってしまう。   FIG. 8B is a diagram schematically illustrating the locus of pen coordinates accompanying the movement of the electronic pen 12. Here, it is assumed that the pen is moved along the direction in which the disconnected row line Y8 extends. If the magnitude relationship of the signal level is switched for the reason described above, the pen coordinate is initially near the position of P7 (white circle), but then near the position of P9 (black circle), and again returns to the vicinity of the position of P7. It swings with the swing width W1. Here, for example, even if a temporary signal level value (for example, an average value of signal levels acquired at Y7 and Y9) is given to the position of Y8, this problem still remains. In particular, when a plurality of continuous lines are disconnected at the same time, the deflection width W1 is further increased.

<具体的な動作>
図9は、図2のステップS20において実行されるスキップ連続ラインデータによるペン座標導出処理の詳細フローチャートである。
<Specific operation>
FIG. 9 is a detailed flowchart of the pen coordinate derivation process using skip continuous line data executed in step S20 of FIG.

まず、接続関係変更処理を実行する(ステップS210)。ここで、接続関係とは、実際の位置と本来のデータの位置の対応関係を意味する。この変更処理は、各行ラインY0〜Y14で取得される信号レベルの値が、断線位置をスキップし、かつ、互いが隣接するようにデータを並べ替える処理である。つまり、この変更処理は、スキップ連続ラインデータを取得するスキップ連続ラインデータ取得処理に対応する。   First, a connection relationship changing process is executed (step S210). Here, the connection relationship means a correspondence relationship between the actual position and the original data position. This change process is a process of rearranging data so that the signal level value acquired in each row line Y0 to Y14 skips the disconnection position and is adjacent to each other. That is, this change process corresponds to a skip continuous line data acquisition process for acquiring skip continuous line data.

図10は、スキップ連続ラインデータ取得処理により得られた信号レベルの値の関係を示す図である。例えば、Y8の行ラインが断線していると判定された場合、Y8のアドレス位置のデータの読み出しをスキップし、次のY9に格納されているデータが読み出されるように、データのアドレス関係を入れ替える。つまり、この「スキップ」とは、ラインの対応位置を詰めるアドレス変換処理に相当する。   FIG. 10 is a diagram illustrating the relationship between the signal level values obtained by the skip continuous line data acquisition process. For example, if it is determined that the Y8 row line is disconnected, the reading of data at the Y8 address position is skipped, and the data address relationship is switched so that the data stored in the next Y9 is read. . That is, this “skip” corresponds to an address conversion process for narrowing the corresponding positions of the line.

次に、この接続関係に基づいて供給されるスキップ連続ラインデータを用いてペン座標導出処理を実行する。ペン座標導出処理は、データが入れ替わっていること以外は、図2のステップS13で実行されるペン座標導出処理と同じ処理である。すなわち、Y8の位置に実際にはY9で取得された信号レベルのデータを用いて処理される。   Next, a pen coordinate derivation process is executed using skip continuous line data supplied based on this connection relationship. The pen coordinate derivation process is the same process as the pen coordinate derivation process executed in step S13 in FIG. 2 except that the data is changed. That is, processing is actually performed at the position Y8 using the signal level data acquired at Y9.

図11A〜図12Bは、このスキップ連続ラインを用いた位置導出処理の効果を説明する図である。図11Aの例では、ピーク値であるY8(実際にはY9のデータ)の位置P8(黒四角)付近をペン座標として出力する。図11Bの例では、ピーク値であるY7の位置P7(白四角)付近をペン座標として出力する。   FIG. 11A to FIG. 12B are diagrams for explaining the effect of the position derivation process using this skip continuous line. In the example of FIG. 11A, the vicinity of the position P8 (black square) of the peak value Y8 (actually Y9 data) is output as pen coordinates. In the example of FIG. 11B, the vicinity of the position P7 (white square) of Y7 which is the peak value is output as pen coordinates.

図12Aは、三次スプライン補間による補間結果の一例を示す図である。Y8の信号レベルがスキップされたため、Y7とY8(実際にはY9のデータ)の間の空間分解能が、断線がなかった場合と同等になっている。つまり、Y7とY9の信号レベルに差が生じた場合であっても、補間曲線における極大位置の揺らぎをY7〜Y8(1ピッチ分)の範囲内に収めることができる。   FIG. 12A is a diagram illustrating an example of an interpolation result by cubic spline interpolation. Since the signal level of Y8 is skipped, the spatial resolution between Y7 and Y8 (actually Y9 data) is equivalent to the case where there is no disconnection. That is, even when a difference occurs between the signal levels of Y7 and Y9, the fluctuation of the maximum position in the interpolation curve can be kept within the range of Y7 to Y8 (one pitch).

図12Bは、電子ペン12の移動に伴うペン座標の軌跡を模式的に示す図である。図8Bと同様に、断線した行ラインY8が延在する方向に沿って電子ペン12を移動操作させた場合を想定する。上述した理由で信号レベルの大小関係が入れ替わると、ペン座標は、初めはP7(白丸)の位置付近であるが、その後は、P9ではなく、P8(黒)の位置付近となる。したがって、図8Bの振れ幅W1と比べて、振れ幅W2は、約1ピッチ分だけ抑制することができ、描画される線がバーコードのように上下に揺れる状態を抑制することが可能となる。   FIG. 12B is a diagram schematically illustrating the locus of pen coordinates accompanying the movement of the electronic pen 12. As in FIG. 8B, it is assumed that the electronic pen 12 is moved along the direction in which the disconnected row line Y8 extends. When the magnitude relationship of the signal level is switched for the above-described reason, the pen coordinate is initially near the position of P7 (white circle), but after that, it is not near P9 but near the position of P8 (black). Therefore, compared with the swing width W1 of FIG. 8B, the swing width W2 can be suppressed by about one pitch, and a state in which the drawn line swings up and down like a barcode can be suppressed. .

なお、このようにスキップ連続データにより得られるペン座標は、断線位置であるY8を境界にずれが生じる。そのような場合に、断線位置より前か後かを判別し、前である場合と後ろである場合で補正を切り替えて出力するとしてもよい。   In addition, the pen coordinates obtained from the skip continuous data in this manner are shifted from the break position Y8 as a boundary. In such a case, it may be determined whether the position is before or after the disconnection position, and the correction may be switched between the front and the rear and output.

図13は、断線箇所のスキップに応じた補正切り替え処理のフローチャートである。   FIG. 13 is a flowchart of the correction switching process according to the skip of the disconnection point.

まず、ステップS221において出力対象位置が断線位置より前か否か(影響を受けるか否か)を判定する。例えば、行ラインY0〜Y7は、Y8の断線位置より前の位置であると判定される。断線位置よりも前である場合(S221;YES)、導出されたペン座標はそのまま出力される(ステップS223)。   First, in step S221, it is determined whether or not the output target position is before the disconnection position (whether or not affected). For example, the row lines Y0 to Y7 are determined to be positions before the disconnection position of Y8. If it is before the disconnection position (S221; YES), the derived pen coordinates are output as they are (step S223).

他方、断線位置より後の場合(S221;NO)、導出されたペン座標は、断線本数に応じたシフト量だけ後ろ方向にシフトされて出力される(ステップS223)。例えば、1つの行ラインが断線していた場合は1ピッチ分、3本の行ラインが断線していた場合は3ピッチ分、後ろ方向にシフトされたペン座標が出力される。これにより、本来的には断線の影響がない位置において、スキップに伴う検出位置のずれを抑制することができる。なお、ペン座標の補正方法は、上記した位置シフト(図14A参照)であってもよいし、所定の区間(Y6〜Y9)のレンジ拡大であってもよい(図14B参照)。   On the other hand, if it is after the disconnection position (S221; NO), the derived pen coordinates are shifted backward by the shift amount corresponding to the number of disconnections and output (step S223). For example, if one row line is disconnected, pen coordinates shifted backward are output by one pitch and if three row lines are disconnected, three pitches are output. As a result, it is possible to suppress a shift in the detection position due to skipping at a position where there is essentially no influence of disconnection. Note that the pen coordinate correction method may be the above-described position shift (see FIG. 14A) or the range expansion of a predetermined section (Y6 to Y9) (see FIG. 14B).

<ペン座標導出処理による効果>
以上のように、この位置検出回路18は、複数本のライン電極16x,16yを二次元格子状に配置してなる静電容量方式のタッチセンサ16に接続される回路であって、ライン電極16x,16y同士のクロスポイントにおける静電容量に関する検出値を当該クロスポイントの位置と対応付けて取得する取得ステップ(S11)と、ライン電極16x,16yが正常であるか否かを判定する判定する判定ステップ(S14)と、検出値の分布を示す複数のデータ点を用いて近似又は補間を行い、得られた分布における検出値の極大座標に基づいて検出位置を導出する導出ステップ(S20)を実行し、上記した導出ステップでは、異常であると判定されたライン電極16x,16yに対応するデータ点をスキップして近似又は補間を行ってもよい。
<Effects of pen coordinate derivation processing>
As described above, the position detection circuit 18 is a circuit connected to the capacitive touch sensor 16 in which a plurality of line electrodes 16x and 16y are arranged in a two-dimensional lattice, and the line electrode 16x , 16y, an acquisition step (S11) for acquiring a detection value relating to the capacitance at the cross point in association with the position of the cross point, and a determination for determining whether the line electrodes 16x, 16y are normal. Step (S14) and a derivation step (S20) for performing approximation or interpolation using a plurality of data points indicating the distribution of detected values and deriving the detected position based on the maximum coordinates of the detected values in the obtained distribution are executed. In the above derivation step, approximation or interpolation is performed by skipping data points corresponding to the line electrodes 16x and 16y determined to be abnormal. Good.

このように構成したので、ライン電極16x,16yの異常に起因する空間分解能の局所的な低下を抑制可能となり、近似又は補間による検出位置の導出精度を保つことができる。これにより、特定の方向に沿ってタッチ操作を行う際に、線幅方向の揺らぎを抑制することができる。   Since it comprised in this way, the local fall of the spatial resolution resulting from abnormality of the line electrodes 16x and 16y can be suppressed, and the derivation accuracy of the detection position by approximation or interpolation can be maintained. Thereby, when performing a touch operation along a specific direction, fluctuations in the line width direction can be suppressed.

また、導出ステップでは、スキップされたデータ点の個数に応じて極大座標を補正することで検出位置を導出してもよい。これにより、スキップに伴う検出位置のずれを抑制することができる。   In the derivation step, the detection position may be derived by correcting the maximal coordinate according to the number of skipped data points. Thereby, the shift | offset | difference of the detection position accompanying a skip can be suppressed.

また、取得ステップでは、ライン電極16x(16y)間のピッチよりも狭い線幅で筆記可能な電子ペン12とタッチセンサ16の間の静電容量に関する検出値を取得してもよい。指示位置の空間分解能が高い電子ペン12を用いる場合、その分だけペン座標の高い検出精度が要求されるので、上記した揺らぎの抑制効果がより顕著に現われる。   In the acquisition step, a detection value related to the capacitance between the electronic pen 12 and the touch sensor 16 capable of writing with a line width narrower than the pitch between the line electrodes 16x (16y) may be acquired. When the electronic pen 12 having a high spatial resolution at the indicated position is used, since the detection accuracy of the pen coordinates is required correspondingly, the above-described fluctuation suppressing effect appears more remarkably.

10 電子機器、12 電子ペン、14 指、16 タッチセンサ、16x,16y ライン電極、18 位置検出回路、20 ホストプロセッサ。
10 electronic devices, 12 electronic pens, 14 fingers, 16 touch sensors, 16x, 16y line electrodes, 18 position detection circuits, 20 host processors.

Claims (10)

複数本のライン電極を二次元格子状に配置してなる静電容量方式のタッチセンサに接続される位置検出回路であって、
ライン電極同士のクロスポイントにおける静電容量に関する検出値を前記クロスポイントの位置と対応付けて取得する取得ステップと、
前記検出値が第1閾値を下回るクロスポイントの個数をライン電極毎に計数する計数ステップと、
計数されたクロスポイントの個数が第2閾値を上回るライン電極を異常又は異常候補であると判定する判定する判定ステップと、
を実行することを特徴とする位置検出回路。
A position detection circuit connected to a capacitive touch sensor in which a plurality of line electrodes are arranged in a two-dimensional grid,
An acquisition step of acquiring a detection value related to capacitance at a cross point between line electrodes in association with a position of the cross point;
A counting step of counting the number of cross points where the detected value is lower than a first threshold for each line electrode;
A determination step for determining that a line electrode in which the number of counted cross points exceeds a second threshold is abnormal or an abnormal candidate;
The position detection circuit characterized by performing.
前記判定ステップでは、
二次元格子の一方向を構成するライン電極を母集団とし、異常候補でないライン電極の本数が前記母集団の全標本数のうちの過半数を占める場合に、異常候補として抽出されたライン電極が異常であると判定し、
異常候補であるライン電極の本数が前記母集団の全標本数のうちの過半数を占める場合に、異常候補として抽出されなかった残りのライン電極が異常であると判定する
ことを特徴とする請求項1に記載の位置検出回路。
In the determination step,
If the line electrode that constitutes one direction of the two-dimensional lattice is a population, and the number of line electrodes that are not abnormal candidates accounts for a majority of the total number of samples in the population, the line electrode extracted as an abnormal candidate is abnormal. It is determined that
When the number of line electrodes that are abnormal candidates occupies a majority of the total number of samples of the population, it is determined that the remaining line electrodes that are not extracted as abnormal candidates are abnormal. The position detection circuit according to 1.
前記検出値の分布を示す複数のデータ点を用いて近似又は補間を行い、得られた分布における検出値の極大座標に基づいて検出位置を導出する導出ステップをさらに含み、
前記導出ステップでは、異常であると判定されたライン電極に対応するデータ点をスキップして近似又は補間を行うことを特徴とする請求項1又は2に記載の位置検出回路。
Approximating or interpolating using a plurality of data points indicating the detection value distribution, and further including a derivation step of deriving a detection position based on the maximum coordinates of the detection value in the obtained distribution,
3. The position detection circuit according to claim 1, wherein in the derivation step, approximation or interpolation is performed by skipping data points corresponding to line electrodes determined to be abnormal.
前記導出ステップでは、スキップされたデータ点の個数に応じて前記極大座標を補正することで前記検出位置を導出することを特徴とする請求項3に記載の位置検出回路。   4. The position detection circuit according to claim 3, wherein in the derivation step, the detection position is derived by correcting the local maximum coordinate according to the number of skipped data points. 前記取得ステップでは、ライン電極間のピッチよりも狭い線幅で筆記可能な電子ペンと前記タッチセンサの間の静電容量に関する前記検出値を取得することを特徴とする請求項3又は4に記載の位置検出回路。   5. The acquisition step according to claim 3, wherein, in the acquisition step, the detection value regarding the capacitance between the touch pen and the electronic pen capable of writing with a line width narrower than the pitch between the line electrodes is acquired. Position detection circuit. 複数本のライン電極を二次元格子状に配置してなる静電容量方式のタッチセンサを用いた位置検出方法であって、
ライン電極同士のクロスポイントにおける静電容量に関する検出値を前記クロスポイントの位置と対応付けて取得する取得ステップと、
前記検出値が第1閾値を下回るクロスポイントの個数をライン電極毎に計数する計数ステップと、
計数されたクロスポイントの個数が第2閾値を上回るライン電極を異常又は異常候補であると判定する判定ステップと、
を1つ又は複数のプロセッサが実行することを特徴とする位置検出方法。
A position detection method using a capacitive touch sensor in which a plurality of line electrodes are arranged in a two-dimensional grid,
An acquisition step of acquiring a detection value related to capacitance at a cross point between line electrodes in association with a position of the cross point;
A counting step of counting the number of cross points where the detected value is lower than a first threshold for each line electrode;
A determination step of determining that a line electrode in which the counted number of cross points exceeds a second threshold is abnormal or an abnormal candidate;
Is executed by one or a plurality of processors.
前記判定ステップでは、
二次元格子の一方向を構成するライン電極を母集団とし、異常候補でないライン電極の本数が前記母集団の全標本数のうちの過半数を占める場合に、異常候補として抽出されたライン電極が異常であると判定し、
異常候補であるライン電極の本数が前記母集団の全標本数のうちの過半数を占める場合に、異常候補として抽出されなかった残りのライン電極が異常であると判定する
ことを特徴とする請求項6に記載の位置検出方法。
In the determination step,
If the line electrode that constitutes one direction of the two-dimensional lattice is a population, and the number of line electrodes that are not abnormal candidates accounts for a majority of the total number of samples in the population, the line electrode extracted as an abnormal candidate is abnormal. It is determined that
When the number of line electrodes that are abnormal candidates occupies a majority of the total number of samples of the population, it is determined that the remaining line electrodes that are not extracted as abnormal candidates are abnormal. 6. The position detection method according to 6.
前記検出値の分布を示す複数のデータ点を用いて近似又は補間を行い、得られた分布における検出値の極大座標に基づいて検出位置を導出する導出ステップをさらに含み、
前記導出ステップでは、異常であると判定されたライン電極に対応するデータ点をスキップして近似又は補間を行うことを特徴とする請求項7に記載の位置検出方法。
Approximating or interpolating using a plurality of data points indicating the detection value distribution, and further including a derivation step of deriving a detection position based on the maximum coordinates of the detection value in the obtained distribution,
8. The position detection method according to claim 7, wherein in the derivation step, approximation or interpolation is performed by skipping data points corresponding to line electrodes determined to be abnormal.
前記導出ステップでは、スキップされたデータ点の個数に応じて前記極大座標を補正することで前記検出位置を導出することを特徴とする請求項8に記載の位置検出方法。   9. The position detection method according to claim 8, wherein, in the derivation step, the detection position is derived by correcting the local maximum coordinate according to the number of skipped data points. 前記取得ステップでは、ライン電極間のピッチよりも狭い線幅で筆記可能な電子ペンと前記タッチセンサの間の静電容量に関する前記検出値を取得することを特徴とする請求項8又は9に記載の位置検出方法。

10. The acquisition step according to claim 8, wherein, in the acquisition step, the detection value related to a capacitance between the electronic pen capable of writing with a line width narrower than a pitch between line electrodes and the touch sensor is acquired. Position detection method.

JP2018187901A 2018-02-22 2018-10-03 POSITION DETECTION CIRCUIT AND POSITION DETECTION METHOD Active JP7156893B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/256,833 US10983640B2 (en) 2018-02-22 2019-01-24 Position detection circuit and position detection method in which line electrode of capacitive touch sensor is determined to be anomalous or possibly anomalous

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201862634027P 2018-02-22 2018-02-22
US62/634,027 2018-02-22

Publications (2)

Publication Number Publication Date
JP2019145066A true JP2019145066A (en) 2019-08-29
JP7156893B2 JP7156893B2 (en) 2022-10-19

Family

ID=67773878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018187901A Active JP7156893B2 (en) 2018-02-22 2018-10-03 POSITION DETECTION CIRCUIT AND POSITION DETECTION METHOD

Country Status (1)

Country Link
JP (1) JP7156893B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07129321A (en) * 1993-10-28 1995-05-19 Pentel Kk Information input device
US20090025987A1 (en) * 2007-07-26 2009-01-29 N-Trig Ltd. System and method for diagnostics of a grid based digitizer
US20110050617A1 (en) * 2009-08-25 2011-03-03 Avago Technologies Ecbu (Singapore) Pte. Ltd. Method and Apparatus for Detecting Defective Traces in a Mutual Capacitance Touch Sensing Device
CN102866322A (en) * 2012-08-29 2013-01-09 北京集创北方科技有限公司 Touch device detection method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07129321A (en) * 1993-10-28 1995-05-19 Pentel Kk Information input device
US20090025987A1 (en) * 2007-07-26 2009-01-29 N-Trig Ltd. System and method for diagnostics of a grid based digitizer
US20110050617A1 (en) * 2009-08-25 2011-03-03 Avago Technologies Ecbu (Singapore) Pte. Ltd. Method and Apparatus for Detecting Defective Traces in a Mutual Capacitance Touch Sensing Device
CN102866322A (en) * 2012-08-29 2013-01-09 北京集创北方科技有限公司 Touch device detection method

Also Published As

Publication number Publication date
JP7156893B2 (en) 2022-10-19

Similar Documents

Publication Publication Date Title
US10983640B2 (en) Position detection circuit and position detection method in which line electrode of capacitive touch sensor is determined to be anomalous or possibly anomalous
CA2814650C (en) Notification group touch gesture dismissal techniques
JP4897983B1 (en) Touch panel device and indicator distinguishing method
TWI407355B (en) Detection and Correction of Capacitive Touchpad
CN110869897A (en) Method for correcting deviation between pen coordinate and indicator display position
US10156927B2 (en) Operation detecting device for detecting the presence of a foreign object on an operation surface
CN108089813B (en) Touch screen scribing operation processing method and device, electronic equipment and storage medium
TW201023011A (en) Detecting method for photo sensor touch panel and touch control electronic apparatus using the same
JP7277567B2 (en) Pen state detection circuit, system and method
JP7156893B2 (en) POSITION DETECTION CIRCUIT AND POSITION DETECTION METHOD
JP7432684B2 (en) Position detection circuit and position detection method
WO2022123929A1 (en) Information processing device and information processing method
CN108021260B (en) Touch detection method
CN111886567B (en) Operation input device, operation input method, and computer-readable recording medium
JP6682951B2 (en) Program and information processing device
US20210286453A1 (en) Pointer position detection method and sensor controller
JP6516437B2 (en) Waveform display
JP6016508B2 (en) Display device
KR102153916B1 (en) Sensor Device And Method Of Controlling The Same
US12019826B2 (en) Touch detecting method and touch detecting device
JP7168406B2 (en) POSITION DETECTION CIRCUIT AND POSITION DETECTION METHOD
CN101882027B (en) Detecting method of touch point coordinate
JP6464891B2 (en) Sideline problem scoring method, sideline problem scoring program, and sideline problem scoring device
JP2024032594A (en) Information processing device and information processing program
CN113673200A (en) Text display method and text display device

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20200124

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20200128

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210930

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220712

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220901

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221006

R150 Certificate of patent or registration of utility model

Ref document number: 7156893

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150