JPH02137013A - Control method for touch panel and touch panel device - Google Patents

Control method for touch panel and touch panel device

Info

Publication number
JPH02137013A
JPH02137013A JP63291861A JP29186188A JPH02137013A JP H02137013 A JPH02137013 A JP H02137013A JP 63291861 A JP63291861 A JP 63291861A JP 29186188 A JP29186188 A JP 29186188A JP H02137013 A JPH02137013 A JP H02137013A
Authority
JP
Japan
Prior art keywords
abnormal
light
touch panel
pairs
light shielding
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
JP63291861A
Other languages
Japanese (ja)
Other versions
JPH0750424B2 (en
Inventor
Sota Kusamoto
草本 宗太
Katsuya Hifumi
一二三 勝也
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.)
Hitachi Ltd
Hitachi Information and Control Systems Inc
Original Assignee
Hitachi Ltd
Hitachi Process Computer Engineering Inc
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 Hitachi Ltd, Hitachi Process Computer Engineering Inc filed Critical Hitachi Ltd
Priority to JP29186188A priority Critical patent/JPH0750424B2/en
Publication of JPH02137013A publication Critical patent/JPH02137013A/en
Publication of JPH0750424B2 publication Critical patent/JPH0750424B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

PURPOSE:To evade the report of the wrong coordinates and to realize the continuous use of a touch panel by excluding an abnormal element pair out of a coordinate detecting process in case the abnormal element is detected during a normal coordinate detecting action. CONSTITUTION:An abnormal light shielding detecting part 94 of a processor 90 of a touch panel device decides the presence or absence of the abnormal detection light from the contents of a light shielding decision result table 72. Then a counter of a counting means 80 calculates continuously the scan frequency of an element pair whose abnormal light shielding states are decided for each axis. In case >=2 axes have the element pairs decided as abnormal light shielding are detected, the scan frequency of the utmost left element pair is counted. When this count value exceeds a fixed level, the element pair is decided abnormal and registered into an abnormal element table 73. An alarm means 75 refers to the contents of the table 73 and turns on an LED 1 as a 1st alarm. Then the element pair registered in the table 73 is excluded out of the subsequent coordinate deciding processes of a coordinate deciding process part 93.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、光学方式のタッチパネルに係り、特に、通常
の使用中に発光または受光素子の異常が発生しても、継
続使j月可能なタッチパネルの制御方法およびタッチパ
ネル装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an optical touch panel, and in particular, the present invention relates to an optical touch panel that can be used continuously for months even if an abnormality occurs in the light emitting or light receiving element during normal use. The present invention relates to a touch panel control method and a touch panel device.

[従来の技術] 従来、主としてモニタ管面に装着され、表示画面に対応
した入力操作を画面上で可能とする入力デバイスとして
、タッチパネルが知られている。
[Prior Art] Conventionally, a touch panel is known as an input device that is mainly attached to a monitor tube surface and allows input operations corresponding to the display screen to be performed on the screen.

このようなタッチパネルの動作方式としては1種々のも
のが提案されているが、精度、信頼性、透視性、操作性
等の観点から、光学方式のものが普及している。この方
式は、発光素子および受光素子を複数対を対向配置して
、指等による遮光無の座標を検出するものである。
Various types of operating systems have been proposed for such touch panels, but optical systems are popular from the viewpoints of accuracy, reliability, visibility, operability, and the like. In this method, a plurality of pairs of light-emitting elements and light-receiving elements are arranged to face each other, and coordinates are detected when light is not blocked by a finger or the like.

第2図に従来の光学方式のタッチパネル装置の概略構成
を示す。
FIG. 2 shows a schematic configuration of a conventional optical touch panel device.

このタッチパネル装置は、2次元の座標を検出するもの
であり、検出領域を挾んで、水平(X軸)方向に複数の
発光素子および受光素子の対xO〜Xmを対向配置し、
同時に垂直(Y軸)方向にも同様に複数の発光素子およ
び受光素子の対YO〜YOを対向配置している。(発光
素子としてはLEDが代表的な素子であるので、以下、
発光素子を単にLEDという、、)各軸において、LE
Dlヘライバ35は、LEDアレイlOを駆動する電圧
を発生し、マルチプレクサ40がタイミンク発生回路4
5からのタイミング信号に従って、順次各LEDに振り
分ける。これにより、X軸方向(7)LEDがXO,X
i、X2゜・・・、XR+の順に反復的に駆動走査され
る。同様に、Y軸方向のLEDもYO,Yl、Y2.−
 、Ynの順に反復的に駆動走査される。各L E I
)は、駆動されたとき、点灯して赤外線を発光する。一
方、受光索子アレイ20の出力を受けるセレクタ30は
、順次能動されているLEDに対向する受光素子の出力
を順次選択するように、タイミング発生回路45により
制御される。LEDおよび受光素子の駆動走査の指令は
、廓動走査部91が発する。セレクタ30の出力信号、
すなわち各受光素子のアナロク出力信号は、順次、アナ
ログデジタル変換器50によりデジタルデータに変換さ
れてレジスタ60にラッチされる。
This touch panel device detects two-dimensional coordinates, and a plurality of pairs of light emitting elements and light receiving elements xO to Xm are arranged facing each other in the horizontal (X-axis) direction with a detection area in between,
At the same time, a plurality of pairs of light emitting elements and light receiving elements YO to YO are similarly arranged to face each other in the vertical (Y-axis) direction. (Since LED is a typical light-emitting element, below,
The light emitting element is simply called an LED. ) In each axis, the LE
The Dl driver 35 generates a voltage for driving the LED array lO, and the multiplexer 40 generates a voltage for driving the LED array lO.
According to the timing signal from 5, the LEDs are sequentially distributed to each LED. As a result, the LEDs in the X-axis direction (7) are
Drive scanning is repeated in the order of i, X2° . . . , XR+. Similarly, the LEDs in the Y-axis direction are YO, Yl, Y2. −
, Yn are repeatedly driven and scanned in this order. Each L E I
) lights up and emits infrared rays when activated. On the other hand, the selector 30 receiving the output of the light-receiving element array 20 is controlled by the timing generation circuit 45 so as to sequentially select the outputs of the light-receiving elements facing the sequentially activated LEDs. The rotation scanning section 91 issues commands for driving and scanning the LED and the light receiving element. output signal of selector 30,
That is, the analog output signal of each light-receiving element is sequentially converted into digital data by the analog-to-digital converter 50 and latched in the register 60.

このデータは、処理装置90によりメモリ70内の受光
データテーブル71に一時格納される。全素子の睡動走
査後、処理装置90は、その遮光判定部92で各素子対
について遮光されているか否かを判定し。
This data is temporarily stored in the light reception data table 71 in the memory 70 by the processing device 90. After the sleep scanning of all the elements, the processing device 90 uses its light shielding determination unit 92 to determine whether each element pair is shielded from light.

座標決定部93で検出座標を決定する。A coordinate determination unit 93 determines detected coordinates.

第3図に、L E DXO,XI、X2ノ発光タイミン
グと、対応するセレクタ30の出力例を示す。この例で
は、LEI)X2および■、EDYI(7)光が指でさ
えぎられている場合を想定している。L E DXO,
Xi、X2゜は一定周期で順次一定時間だけ点灯してい
く。
FIG. 3 shows the light emission timings of L E DXO, XI, and X2 and an example of the corresponding output of the selector 30. In this example, it is assumed that the LEI)X2 and ■EDYI(7) lights are blocked by a finger. L E DXO,
Xi and X2° are turned on sequentially for a certain period of time at a certain period.

Ll!:DX2以外のLEDが点灯したときはセレクタ
;30から山形の波形を有する信号が出力され、LED
X2が点灯したときは光が指でさえぎられるのでセレク
タ30から山形の波形信号は出力されない。図示しない
が、同様に、 L E DYO,Yl、Y2.・・・は
一定周期で順次一定時間だけ点灯していく。この例では
、L E DYIが点灯したときのみセレクタ30から
山形の波形を有する信号が出力される。このようにして
座標(Xi、Y2)が検出される。なお、実際には、座
標検出領域に指をタッチした場合、同時に2個(2対)
以上の素子対が遮光される程度に、タッチパネルの素子
対の間隔が設定されている。その場合、各軸について複
数の検出座標のうちの一つあるいは中間値が出力される
。このような座標決定処理を座標決定部93が行う。
Ll! : When an LED other than DX2 lights up, the selector; 30 outputs a signal with a chevron-shaped waveform, and the LED
When X2 is lit, the light is blocked by the finger, so the selector 30 does not output a chevron-shaped waveform signal. Although not shown, L E DYO, Yl, Y2. . . . lights up sequentially for a certain period of time at a certain period. In this example, a signal having a chevron-shaped waveform is output from the selector 30 only when L E DYI is lit. In this way, the coordinates (Xi, Y2) are detected. In fact, if you touch the coordinate detection area with your finger, two fingers (two pairs) will be displayed at the same time.
The distance between the element pairs of the touch panel is set to such an extent that the above element pairs are shielded from light. In that case, one of the plurality of detected coordinates or an intermediate value is output for each axis. The coordinate determination unit 93 performs such coordinate determination processing.

第5図に、第2図に示した従来のタッチパネル装置の座
標検出処理のフローチャートを示す。
FIG. 5 shows a flowchart of coordinate detection processing of the conventional touch panel device shown in FIG. 2.

まず、能動走査手段91が、L E DXO,Xi、−
、Xmを、次いでL E 110.Yl、・・・、Yn
を順次駆動走査(スキャン)する。この結果、各LED
の対応する受光素子の受光結果を表わす受光データが受
光データテーブル71に得られる。処理装置90内の遮
光判定部91は、各受光データを予め定められたスレッ
ショルド値と比較し、受光データがスレッショルド値よ
り大きいとき「遮光無」と判定し、受光データがスレッ
ショルド値より小さいとき「遮光有」と判定する。「遮
光有」の場合には、当該受光データの素子対の位置から
座標決定部93が検出座標を決定し、ホスト計算機(図
示せず)に報告する。
First, the active scanning means 91 performs L E DXO, Xi, -
, Xm, then L E 110. Yl, ..., Yn
are sequentially driven and scanned. As a result, each LED
Light reception data representing the light reception result of the corresponding light receiving element is obtained in the light reception data table 71. A shading determination unit 91 in the processing device 90 compares each received light data with a predetermined threshold value, and determines "no shading" when the received light data is larger than the threshold value, and determines "no shading" when the received light data is smaller than the threshold value. It is determined that the light is blocked. In the case of "light shielding", the coordinate determination unit 93 determines detection coordinates from the position of the element pair of the light reception data and reports it to a host computer (not shown).

「遮光無」の場合は、座標検出処理の先頭に戻って駆動
走査を再開する。
In the case of "no light shielding", the process returns to the beginning of the coordinate detection process and restarts the driving scan.

[発明が解決しようとする課題] 前述のように、従来のタッチパネル装置においては、呼
動走査時に、いずれの素子対についてセレクタ30の出
力が一定レベル以下になるかを検出することにより、操
作者の指示座標を検出するようになっているが、LED
あるいは受光素子が故障した場合にも、セレクタ30の
出力は一定レベル以下になってしまう。このような場合
、誤った座標が報告されるという問題があった。例えば
、第8図に示すように、素子対v3のLEDまたは受光
素fのいずれかが故障した場合、素子対Y3についての
セレクタ30の出力は常に一定しベル以ドとなり、この
ような状態で、操作者が例えば、座標(X2.Yl)の
A点を指示したとすると、タッチパネル装置は他の座標
(X2.Y3)のB点についても指示されていると判断
し、その一方の座標あるいは中間値を検出座標として報
告してしまう。
[Problems to be Solved by the Invention] As described above, in conventional touch panel devices, the operator can It is designed to detect the indicated coordinates of the LED.
Alternatively, if the light receiving element fails, the output of the selector 30 will fall below a certain level. In such cases, there is a problem in that incorrect coordinates are reported. For example, as shown in FIG. 8, if either the LED or the light-receiving element f of element pair v3 fails, the output of the selector 30 for element pair Y3 will always be constant and below the bell; For example, if the operator specifies point A at the coordinates (X2.Yl), the touch panel device determines that point B at the other coordinates (X2.Y3) is also specified, and selects one of the coordinates or The intermediate value will be reported as the detected coordinates.

従来のタッチパネル装置では、点検時に各素子のチエツ
クを行い、故障した素子があれば交換するという方法が
採られているが、使用中(すなわち、通常の座標検出動
作中)にLEDあるいは受光素子が故障した場合、これ
を検出する手段がなく、誤動作に気付かずに使用しつづ
ける虞れがあった。また、誤動作に気付いたとしても、
タッチパネル装置が採用されるシステムによっては、シ
ステム稼働中のタッチパネル使用中断が許されない、あ
るいは好ましくない場合もある。
In conventional touch panel devices, each element is checked during inspection and any malfunctioning element is replaced. If a malfunction occurs, there is no way to detect it, and there is a risk that the product may continue to be used without noticing the malfunction. Also, even if you notice a malfunction,
Depending on the system in which the touch panel device is employed, it may not be permissible or desirable to interrupt the use of the touch panel while the system is in operation.

本発明の目的は、タッチパネルの使用中に発光または受
光素子が故障しても、その故障を検出可能とし、かつ、
使用中に素子が故障しても継続して使用できるタッチパ
ネルの制御方法およびタッチパネル装置を提供すること
にある。
An object of the present invention is to enable detection of a failure even if a light emitting or light receiving element fails during use of a touch panel, and
An object of the present invention is to provide a touch panel control method and a touch panel device that can be used continuously even if an element breaks down during use.

[課題を解決するための手段] 上記目的を達成するために、本発明によるタッチパネル
の制御方法は、発光素子および受光素子の複数対が対向
配置され、該複数対を順次周期的に駆動走査して、遮光
された素子対に対応した座標を検出するタッチパネルの
制御方法であって1通常の座標検出動作中に1%常素子
の検出処理を行い、該検出処理比より異常素子が検出さ
れたときには、以後、当該異常索子対については座標検
出処理の対象から除外するようにしたものである。
[Means for Solving the Problems] In order to achieve the above object, a touch panel control method according to the present invention includes a method in which a plurality of pairs of a light emitting element and a light receiving element are arranged facing each other, and the plurality of pairs are sequentially and periodically driven and scanned. This is a touch panel control method for detecting coordinates corresponding to a light-shielded pair of elements, in which 1% normal element detection processing is performed during normal coordinate detection operation, and an abnormal element is detected from the detection processing ratio. In some cases, the abnormal cord pair is excluded from the coordinate detection process thereafter.

本発明によるタッチパネルの制御方法は、他の見地によ
れば、発光素子および受光素子の複数対が対向配置され
、該複数対を順次周期的に駆動走査して、遮光された素
子対に対応した座標を検出するタッチパネルの制御方法
であって、通常の座標検出動作中に、異常素子の検出処
理を行い、該検出処理比より異常素子が検出されたとき
には、以後、当該異常索子対については「遮光無」とみ
なして、座標検出動作を続行するようにしたものである
。あるいは、通常の座標検出動作中に、異常素子の検出
処理を行い、該検出処理比より異常素子が検出されたと
きには、以後、当該異常索子対については「隣接する素
子対の遮光判定結果と同一」とみなして、座標検出動作
を続行するようにしたものである。
According to another aspect of the touch panel control method according to the present invention, a plurality of pairs of light-emitting elements and light-receiving elements are arranged facing each other, and the plurality of pairs are sequentially and periodically driven and scanned to correspond to the light-blocked element pairs. A control method for a touch panel that detects coordinates, wherein an abnormal element detection process is performed during a normal coordinate detection operation, and when an abnormal element is detected from the detection processing ratio, the abnormal element pair is thereafter It is assumed that there is no light shielding, and the coordinate detection operation continues. Alternatively, when abnormal element detection processing is performed during normal coordinate detection operation and an abnormal element is detected from the detection processing ratio, the abnormal element pair will be treated as "the light shielding determination result of the adjacent element pair". It is assumed that the two coordinates are the same, and the coordinate detection operation continues.

上記通常の座標検出動作時の遮光は、好ましくは、複数
の連続する素子対について行われるものである。
The light shielding during the normal coordinate detection operation is preferably performed for a plurality of consecutive element pairs.

通常の座標検出動作中に行う異常素子の検出処理として
は、例えば、単一の素子対について予め定めた一定時間
以上、継続して遮光されている場合に、当該素子対を異
常と判断するものが挙げられる。あるいは、各素子対に
ついて異常遮光か否かを上記各走査ごとに検出し、予め
定めた走査回数以上継続して異常遮光と判断された素子
対を異常と判断する。この異常遮光は、通常の座標検出
動作ではありえない遮光状態によって判断できる。
As an abnormal element detection process performed during normal coordinate detection operation, for example, if a single element pair is continuously shielded from light for a predetermined period of time or more, that element pair is determined to be abnormal. can be mentioned. Alternatively, whether or not each element pair is abnormally blocked is detected for each of the above-mentioned scans, and an element pair that is determined to be abnormally shaded continuously for a predetermined number of scans or more is determined to be abnormal. This abnormal light shielding can be determined by the light shielding state that cannot occur in normal coordinate detection operations.

単一の素子対が異常と判断された場合、好ましくは、第
1の警報を継続的または周期的に発し、2個以上の素子
対が異常と判断された場合には、第2の警報を継続的ま
たは周期的に発する。
Preferably, if a single element pair is determined to be abnormal, a first alarm is issued continuously or periodically, and if two or more element pairs are determined to be abnormal, a second alarm is issued. Emit continuously or periodically.

同時に2個以上の素子対が異常と判断された場合の当該
2個以上の素子対、あるいは順次2個以上の素子対が異
常と判断された場合の当該2個目からの素子対について
は、好ましくは、遮光されているか否かの判断を続行し
、後に「遮光無」と判断されたとき上記第2の警報を停
止する。
Regarding two or more element pairs when two or more element pairs are determined to be abnormal at the same time, or from the second element pair when two or more element pairs are sequentially determined to be abnormal, Preferably, the determination as to whether or not the light is blocked is continued, and when it is later determined that "the light is not blocked", the second alarm is stopped.

上記異常と判断された単一の素子対について、上記通常
の座標検出動作中に周期的に発光制御を行い、正常に受
光されたとき、異常でなくなったと判断し、当該素子対
について遮光されているか否かの判断を再開し、座標決
定処理の対象とする。
Regarding the single element pair determined to be abnormal, the light emission is controlled periodically during the normal coordinate detection operation, and when the light is received normally, it is determined that the element pair is no longer abnormal, and the light is blocked for the element pair. The determination as to whether or not the target is present is resumed, and the coordinate determination process is performed.

また、望ましくは、上記異常と判断された単一の素子対
について、上記通常の座標検出動作中に周期的に発光制
御を行い、正常に受光されたとき、上記第1の警報を停
止する。
Further, desirably, the light emission control is performed periodically during the normal coordinate detection operation for the single element pair determined to be abnormal, and the first alarm is stopped when the light is normally received.

本発明によるタッチパネル装置は、それぞれ対向配置さ
れた発光素子および受光素子の複数対と、該複数対を順
次周期的に駆動走査する駆動走査手段と、遮光された素
子対に対応した座標を決定出力する座標決定手段とを有
するタッチパネル装置において、上記走査ごとに、各素
子対について遮光があったか否かを判定する遮光判定手
段と、該遮光判定手段の判定結果から異常遮光を検出す
る異常遮光検出手段と、該異常遮光検出手段により連続
して複数回の走査にわたり異常遮光が検出された素子対
について、当該走査回数を計数するall千手段、上記
計数手段の計数値が予め定めた値を越えた素子対を異常
素子対として登録する異常素子登録手段とを備え、上記
座標決定手段は、上記異常素子登録内容を参照して、異
常と登録されている素子対については、座標決定処理の
対象から除外することを特徴とするものである。
A touch panel device according to the present invention includes a plurality of pairs of a light emitting element and a light receiving element arranged to face each other, a driving scanning means for sequentially driving and scanning the plurality of pairs in a periodic manner, and determining and outputting coordinates corresponding to the light-shielded element pairs. In the touch panel device, the touch panel device includes: a shading determining means for determining whether or not there is a shading for each element pair for each scan; and an abnormal shading detecting means for detecting abnormal shading from the determination result of the shading determining means. and all 1,000 means for counting the number of scans for a pair of elements in which abnormal light shielding has been detected by the abnormal light shielding detection means over a plurality of consecutive scans, and the count value of the counting means exceeds a predetermined value. Abnormal element registration means for registering an element pair as an abnormal element pair, and the coordinate determination means refers to the abnormal element registration contents and selects element pairs registered as abnormal from being subjected to coordinate determination processing. It is characterized by exclusion.

また、本発明によるタッチパネル装置は、他の見地によ
れば、それぞれ対向配置された発光素子および受光素子
の複数対と、該複数対を順次周期的に駆動走査する駆動
走査手段と、遮光された素子対に対応した座標を決定出
力する座標決定手段とを有するタッチパネル装置におい
て、上記走査ごとに、各素子対について遮光があったか
否かを判定する遮光判定手段と、該遮光判定手段の判定
結果から異常遮光を検出する異常遮光検出手段と、該異
常遮光検出手段により連続して複数回の走査にオ〕たり
異常遮光が検出された素子対について、当該走査回数を
31数する計数手段と、上記計数手段のiけ数値が予め
定めた値を越えた素子対を異常素子対として登録する異
常素子登録手段とを備え、上記遮光判定手段は、上記異
常素子登録内容を参照して、異常と登録されている素子
対については、「遮光無」または「隣接する素子対の遮
光判定結果と同一」とみなすことを特徴とするものであ
る。
According to another aspect, the touch panel device according to the present invention includes a plurality of pairs of a light emitting element and a light receiving element arranged opposite to each other, a driving scanning means for sequentially and periodically driving and scanning the plurality of pairs, and a light-shielded A touch panel device having a coordinate determination means for determining and outputting coordinates corresponding to an element pair, a light shielding determination means for determining whether or not there is light shielding for each element pair for each scan, and a light shielding determination means for determining whether or not there is light shielding for each element pair, based on the determination result of the light shielding determining means. an abnormal light shielding detection means for detecting abnormal light shielding; a counting means for counting the number of scans by 31 for a pair of elements in which abnormal light shielding has been detected by the abnormal light shielding detecting means in a plurality of consecutive scans; abnormal element registration means for registering an element pair whose i-digit value of the counting means exceeds a predetermined value as an abnormal element pair; This feature is characterized in that the element pairs listed in the table are regarded as "no light shielding" or "same light shielding determination result as the adjacent element pair."

上記異常素子登録手段は、単一の素子対について上記計
数値が予め定めた値を越えた場合にのみ、当該素子対を
異常素子対として登録するようにしてもよい。
The abnormal element registration means may register a single element pair as an abnormal element pair only when the counted value exceeds a predetermined value.

また、上記発光素子および受光素子の複数対はX軸方向
およびY軸方向に配列される場合、上記異常素子登録手
段は、各軸ごとに、単一の素子対について上記計数値が
予め定めた値を越えた場合にのみ、当該素子対を異常と
して登録するようにしてもよい。
In addition, when the plurality of pairs of the light emitting element and the light receiving element are arranged in the X-axis direction and the Y-axis direction, the abnormal element registration means may be arranged such that the above-mentioned count value is predetermined for a single element pair for each axis. The element pair may be registered as abnormal only when the value exceeds the value.

上記異常素子登録手段は、好ましくは、単一の異常素子
対のみを異常素子対として登録する。あるいは、上記発
光素子および受光素子の複数対がX軸方向およびY軸方
向に配列される場合には、上記異’J’+f素子登録手
段は、各軸ごとに単一の異常素子対のみを異常素子対と
して登録するようにしてもよい。
Preferably, the abnormal element registration means registers only a single abnormal element pair as an abnormal element pair. Alternatively, when the plurality of pairs of the light-emitting element and the light-receiving element are arranged in the X-axis direction and the Y-axis direction, the abnormal 'J'+f element registration means registers only a single abnormal element pair for each axis. It may also be registered as an abnormal element pair.

上記発光素子および受光素子の複数対は、X軸方向およ
びY軸方向に配列されている場合、上記計数手段はX軸
方向およびY軸方向に各1個設けたカウンタを有するも
のであってもよい。 上記計数手段は、上記素子対の数
だけ設けたカウンタを有するものであってもよい。
When the plurality of pairs of the light-emitting elements and the light-receiving elements are arranged in the X-axis direction and the Y-axis direction, the counting means may have one counter provided in each of the X-axis direction and the Y-axis direction. good. The counting means may include counters provided as many as the number of element pairs.

さらに、異常素子対の発生を操作者に知らせる警報手段
を設けてもよい。好ましくは、単一の異常素子対の発生
を知らせる第1の警報手段と、複数の異常素子対の発生
を知らせる第2の警報手段とを設ける。
Furthermore, an alarm means may be provided to notify the operator of the occurrence of an abnormal element pair. Preferably, a first alarm means for notifying the occurrence of a single abnormal element pair and a second alarm means for notifying the occurrence of a plurality of abnormal element pairs are provided.

+l、−の異常素子対の発生を知らせる第1の警報手段
と、 Pi数の異常素子対の発生を知らせる第2の警報
手段とを有する場合、上記異常素子登録手段に登録され
ていない異常素子対について上記遮光判定手段により「
遮光無」と判定されたとき、上記第2の警報手段は警報
を停止することが望ましい。
In the case where the first alarm means notifies the occurrence of +l, - abnormal element pairs and the second alarm means notifies the occurrence of Pi number of abnormal element pairs, an abnormal element not registered in the above abnormal element registration means Regarding the pair, the above-mentioned shading determination means
When it is determined that there is no light shielding, the second alarm means preferably stops issuing an alarm.

上記異常遮光検出手段に登録された素子対について、周
期的に発光制御を行い、正常に受光されたとき、」1記
異常素子登録手段の登録を解除する復旧検出手段を設け
てもよい。
Restoration detection means may be provided which periodically performs light emission control for the element pair registered in the abnormal light shielding detection means and cancels the registration of the abnormal element registration means when light is normally received.

(以下、余白) [作用] 本発明においては、タッチパネル装置の通常のPi標検
出動作中、操作者が、長時間、同一座標を押しつづける
ということはないということに着目し、使用中に素子の
故障または不良等の異常を検出する手法として、特定の
受光素子の出力が一定時間以上発生しないことを検出す
る。あるいは、通常の座標時検出動作では有りえない異
常遮光状態、例えば、X軸およびYIllIの2次元座
標を検出する装置では、一方の軸方向のみ受光素子出力
が発生しないことを検出する。この場合、好ましくは異
常検出を確実にするために、異常遮光状態が−・定時1
ft1以上継続したことを異常判定の条件とする。他の
異常遮光状態としては、不連続な複数の受光素子の遮光
あるいは一定個以上の多数の受光素子の遮光が考えられ
る。
(Hereinafter, blank space) [Operation] The present invention focuses on the fact that during the normal Pi mark detection operation of the touch panel device, the operator does not keep pressing the same coordinate for a long time, and the As a method for detecting an abnormality such as a failure or defect, it is detected that the output of a specific light-receiving element does not occur for a certain period of time or more. Alternatively, in an abnormal light shielding state that cannot occur in normal coordinate detection operations, for example, in a device that detects two-dimensional coordinates of the X axis and YIllI, it is detected that the light receiving element output does not occur in only one axis direction. In this case, in order to ensure abnormality detection, it is preferable that the abnormal light shielding state is -.
The condition for abnormality determination is that the condition continues for ft1 or more. Other abnormal light blocking states include blocking of light by a plurality of discontinuous light receiving elements or blocking of light by a certain number of light receiving elements or more.

このようにして、異常と判定された素子対については、
異常素子対として登録しておき、以後。
In this way, for element pairs determined to be abnormal,
Register it as an abnormal element pair and use it from now on.

座標決定の対象から除外する。すなわち、たとえ、遮光
されていると判定されても、登録されているた異常素子
対の座標は座標決定時の判断対象としない。あるいは、
以後の駆動走査後の遮光判定時に、異常素子対について
は通常の遮光判定を省略し、または遮光判定の結果にか
かわらず、強制的に「遮光無」とみなす。これにより、
タッチパネル装置から誤った座標が報告されることがな
くなる。
Exclude from coordinate determination. That is, even if it is determined that the light is shielded, the coordinates of the registered abnormal element pair are not determined when determining the coordinates. or,
At the time of light shielding determination after subsequent driving scans, the normal light shielding determination is omitted for the abnormal element pair, or it is forcibly determined to be "no light shielding" regardless of the result of the light shielding determination. This results in
Erroneous coordinates will no longer be reported from the touch panel device.

また、1個の異常素子対について座標決定処理の対象か
ら除外し、あるいは遮光判定を「遮光無」とみなしても
、通常の座標指示では、指または同等の指示部材により
、同時に複数の素子対についての遮光が生じるので、支
障なく継続使用できる。
In addition, even if one abnormal element pair is excluded from the coordinate determination processing or the light shielding determination is considered as "no light shielding", in normal coordinate indication, multiple element pairs can be simultaneously detected with a finger or an equivalent pointing member. Since the light is blocked, it can be used continuously without any problems.

すなわち、偶然、その異常素子対について座標指示が行
われた場合でも、同時に他の素子対についても遮光が生
じているので座標検出は行われる。
That is, even if the coordinates of the abnormal element pair are specified by chance, the coordinates of the other element pairs will be detected because the other element pairs are also shielded from light at the same time.

1座標値程度の誤差が生じる可能性はあるが、通常、指
示すべき領域は広くとっであるので、まったく問題はな
い。
Although there is a possibility that an error of about one coordinate value may occur, there is no problem at all since the area to be specified is usually wide.

異常素子対について「遮光無」とみなす代わりに、異常
素子の遮光状態を「隣接する素子対の遮光判定結果と同
一」と判断するようにしてもよい。
Instead of regarding the abnormal element pair as "no light shielding", the light shielding state of the abnormal element may be determined to be "same as the light shielding determination result of the adjacent element pair".

この判断手法は、特に、連続した複数の受光素子が遮光
されていないことを異常遮光と判断するような場合に適
している。例えば、異常素子対を挾んで連vt3個の素
子対が遮光された場合に、異常素子対のみ「遮光無」と
みなされたのでは、異常遮光状態となるが、隣接素子対
と遮光判定結果が同じとみなすようにすれば、このよう
な不都合はなくなる。
This determination method is particularly suitable for determining abnormal light shielding when a plurality of consecutive light receiving elements are not shielded. For example, when three consecutive element pairs are blocked with an abnormal element pair in between, if only the abnormal element pair is considered as "no light shielding", it will be an abnormal light shielding state, but the adjacent element pair and the light shielding determination result If we consider them to be the same, this inconvenience will disappear.

タッチパネル使用中に素子に故障が発生した場合、操作
者は、このように、タッチパネルを継続使用できるとと
もに、異常素子対の発生自体は警報によって認識できる
ので、使用終了後に保守員によるタッチパネル(可能で
あれば部品)の交換を行えばよい。この警報は、警報表
示あるいは警報音等、操作者が認識できるものであれば
よい。
If a failure occurs in an element while using the touch panel, the operator can continue to use the touch panel in this way, and the occurrence of an abnormal element pair can be recognized by an alarm. All you have to do is replace the parts (if any). This alarm may be anything that the operator can recognize, such as an alarm display or an alarm sound.

異常素子対として登録された素子対については、好まし
くは、通常の座標検出動作中に、駆動走査に代えて発光
制御を行い、正常に受光されたとき。
For an element pair registered as an abnormal element pair, preferably, during normal coordinate detection operation, light emission control is performed instead of drive scanning, and light is normally received.

異常でなくなったと判断し、登録から抹消して当該素子
対について遮光されているか否かの判定を再開し、座標
決定処理の対象とする。これにより、何らかの原因によ
り、特定の素子が一時的に不良となった後に復旧した場
合、あるいはタッチパネル、部品等が交換された場合、
正常な状態に復帰することができる。
It is determined that there is no longer any abnormality, the element pair is deleted from the registration, the determination of whether or not the element pair is shielded from light is restarted, and the element pair is made a target of coordinate determination processing. As a result, if a specific element becomes temporarily defective for some reason and then recovers, or if the touch panel, parts, etc. are replaced,
It is possible to return to normal condition.

また、同時に2個以上の素子対について異常と判断され
たときの当該2個以上の素子対については、あるいは、
順次2個以上の素子対について異常と判断されたときの
2個目からの素子対については、好ましくは、異常素子
対としての登録を行うことなく、通常の遮光判定を続行
し、かつ、先の第1の警報とは異なる第2の警報を発生
するようにしてもよい。2個以上の素子が異常と判断さ
れる場合は1紙や布が誤ってタッチパネルの素子を覆う
等、操作上のミスによる場合も多く、この第2の警報は
、紙や布等、除去すべき障害物の存在確認を操作者に促
す意味を有する。通常の遮光判定は続行されているので
、障害物の除去によって、遮光判定で「遮光無」が確認
されれば第2の警報は停止され、正常動作に復帰できる
In addition, when two or more element pairs are determined to be abnormal at the same time, for the two or more element pairs, or,
When two or more element pairs are sequentially determined to be abnormal, it is preferable to continue normal light shielding determination without registering them as abnormal element pairs, and to A second alarm different from the first alarm may be generated. If two or more elements are judged to be abnormal, it is often due to an operational error, such as a piece of paper or cloth accidentally covering an element on the touch panel. This has the meaning of prompting the operator to confirm the existence of obstacles that may occur. Since the normal light shielding determination is continued, if the obstacle is removed and the light shielding determination is confirmed to be "no light shielding", the second alarm is stopped and normal operation can be resumed.

[実施例] 以下、本発明の好適な一実施例について、詳細に説明す
る。
[Example] Hereinafter, a preferred example of the present invention will be described in detail.

第1図に、本発明によるタッチパネル装置の一実施例の
ブロック図を示す。同図において、第2図に示した従来
の装置の構成要素と同様の要素には、同様の参照符号を
付しである。
FIG. 1 shows a block diagram of an embodiment of a touch panel device according to the present invention. In this figure, elements similar to those of the conventional apparatus shown in FIG. 2 are given the same reference numerals.

装置構成において、従来の装置と異なる点は、処理装置
90内に、異常遮光検出部94および復旧検出部95が
追加されたことと、メモリ70内に遮光判定結果テーブ
ル72および異常素子テーブル73が追加されたことと
、警報手段75および計数手段80が設けられたことで
ある。
The device configuration differs from conventional devices in that an abnormal light shading detection section 94 and a recovery detection section 95 are added to the processing device 90, and a light shading determination result table 72 and an abnormal element table 73 are stored in the memory 70. and that an alarm means 75 and a counting means 80 are provided.

本実施例では、δ計数手段80は、X軸とY軸に各1個
の異常素子カウンタを有する。計数手段80および処理
装置90内の各部は、ハードウェアではなくソフトウェ
ア(プログラム処理)により構成することができる。
In this embodiment, the δ counting means 80 has one abnormal element counter on each of the X axis and the Y axis. Each part in the counting means 80 and the processing device 90 can be configured by software (program processing) instead of hardware.

遮光判定結果テーブル72は、駆動走査の1巡ごとに各
受光素子の受光データについて、遮光判定部91の判定
結果、すなわち、遮光の有無を記憶する。
The light shielding determination result table 72 stores the determination results of the light shielding determination unit 91, that is, the presence or absence of light shielding, for the light reception data of each light receiving element for each round of drive scanning.

異常遮光検出部94は、遮光判定結果テーブル72の内
容から、異常遮光か否かを判定する。計数手段80内の
カウンタは、各軸ごとに、連続して異常遮光と判定され
る素子対の走査回数を計数する。各軸に異常遮光と判定
された素子対が2個以」二存在する場合には1本実施例
では左端の素子対について計数する。カウンタを多数、
例えば、各素子対に1個用意するような場合には、この
ような対処は不要である。カウンタの計数値が一定値を
越えた場合は、その素子対(座標)を異常素子対と判断
して、第7図に示すように、異常素子対テーブル73に
登録する。警報手段75は、この登録内容を参照して、
異常と登録された素子対が存在する場合には、第1の警
報としてLED#1を点灯させる。本実施例では、異常
素子対を1個のみ3を録する。この意味からは、異常素
子テーブル73は、第7図のものと異なり、異常素子対
を特定する番号等を記憶するものであってもよい。
The abnormal light shielding detection unit 94 determines whether or not there is abnormal light shielding based on the contents of the light shielding determination result table 72. A counter in the counting means 80 counts, for each axis, the number of times the element pair is successively scanned for abnormal light shielding. If there are two or more element pairs determined to be abnormally shielded on each axis, in this embodiment, the leftmost element pair is counted. many counters,
For example, if one element is provided for each element pair, such measures are not necessary. If the count value of the counter exceeds a certain value, the element pair (coordinates) is determined to be an abnormal element pair and is registered in the abnormal element pair table 73 as shown in FIG. The alarm means 75 refers to this registered content, and
If there is an element pair registered as abnormal, LED #1 is turned on as a first alarm. In this embodiment, only one abnormal element pair, 3, is recorded. In this sense, the abnormal element table 73 may be different from the one shown in FIG. 7 and may store numbers for identifying abnormal element pairs.

異常素子テーブル73に登録された素子対については、
以後、座標決定部93は、座標決定処理の対象から除外
する。あるいは、遮光判定部91は、その素子対につい
て、実際の遮光の有無にかかわらず「遮光無」と判定し
、または「遮光無」と判定する代オ〕りに、「隣接する
素子対の遮光判定結果と同じ」と判定するようにしても
よい。
Regarding the element pairs registered in the abnormal element table 73,
Thereafter, the coordinate determination unit 93 excludes the target from coordinate determination processing. Alternatively, the light shielding determination unit 91 determines that the element pair is "no light shielding" regardless of whether or not there is actual light shielding, or determines that the element pair is "no light shielding". It may be determined that the result is the same as the determination result.

また、1M報手段75は、異常素子テーブル73の内容
、計数手段80の出力および遮光判定結果テーブル72
の内容により、同時あるいは順次に2個以上の素子対が
異常と判定された場合に、LED#2を点灯する。この
場合、遮光判定部91は、異常素子テーブル73に登録
されていない素子対については、「遮光無」あるいは「
隣接する素子対の遮光判定結果と同じ」とはみなさす、
通常の遮光判定を続行する。そこで、再度、遮光無と判
定されれば、警報手段75はLED#2を消灯する。
The 1M reporting means 75 also includes the contents of the abnormal element table 73, the output of the counting means 80, and the light shielding determination result table 72.
If two or more element pairs are determined to be abnormal, either simultaneously or sequentially, LED #2 is turned on. In this case, the light shielding determining unit 91 determines that element pairs that are not registered in the abnormal element table 73 are marked as "no light shielding" or "no light shielding".
It is assumed that the light shielding judgment result is the same as that of the adjacent element pair.
Continue normal shading judgment. Therefore, if it is determined that no light is blocked again, the alarm means 75 turns off the LED #2.

復旧検出部95は、異常素子テーブルに登録された異常
素子対について1周期的にそのLEDの点灯制御を行い
、対応する受光素子による正常な受光を確認したときは
、異常素子テーブル73からその素子対の登録を抹消す
る。
The recovery detection unit 95 periodically controls the lighting of the LEDs of the abnormal element pairs registered in the abnormal element table, and when it is confirmed that normal light reception by the corresponding light receiving element is performed, the recovery detecting unit 95 selects that element from the abnormal element table 73. Delete the registration of the pair.

次に、第1図のタッチパネル装置の具体的な座標検出処
理例を第6図のフローチャートにより説明する。
Next, a specific example of the coordinate detection processing of the touch panel device of FIG. 1 will be explained with reference to the flowchart of FIG. 6.

正常時の動作は、第2図の装置の動作とほぼ同様である
。まず、駆動走査部91が異常素子テーブル73の1デ
ータをチエツクして(Sll)、この場合、正常なので
、1個のLEDを点灯すなわち1索子スキヤンしく51
2)、全素子のスキャンが終了するまで(S13)、こ
れらのステップを繰り返す。
The normal operation is almost the same as that of the device shown in FIG. First, the drive scanning unit 91 checks one data item in the abnormal element table 73 (Sll), and in this case, since it is normal, one LED is turned on, that is, one element is scanned.
2) Repeat these steps until scanning of all elements is completed (S13).

1素子スキヤンの各結果は、受光データテーブル71に
記憶される。遮光判定部91は、このテーブル71の各
データをスレッショルド値と比較し、各素子対について
の遮光の有無を判定する(S14)。
Each result of the one-element scan is stored in the light reception data table 71. The light shielding determining unit 91 compares each piece of data in this table 71 with a threshold value, and determines the presence or absence of light shielding for each element pair (S14).

この際、異常素子テーブル73に異常素子対として登録
されているものについては、判定を省略するする。判定
結果は遮光判定結果テーブル72に格納される。今、遮
光があったとすると、異常遮光検出部94がテーブル7
2の内容から、異常遮光が発生しているか否かを判定す
る(S15)。この実施例では、1点ポインティング(
X軸、Y軸ともに連続した一塊の座標指示)のみを正常
遮光とし、それ以外の一方の軸の座標のみの遮光、不連
続な座標の遮光を異常遮光と判定する。正常遮光ならば
、その座標が座標決定部93で決定され、報告される(
516)。この際、異常素子テーブル73に異常素子対
として登録されているものについては、座標決定処理の
対象から除外する。
At this time, the determination is omitted for those registered as abnormal element pairs in the abnormal element table 73. The determination result is stored in the light shielding determination result table 72. Now, if there is a light blockage, the abnormal light blockage detection section 94 detects that the table 7
Based on the contents of 2, it is determined whether abnormal light blocking has occurred (S15). In this example, one point pointing (
Only one set of coordinates that are continuous on both the X and Y axes is considered normal shading, and shading only on one of the other axes or discontinuous coordinates is determined to be abnormal shading. If the light is normally blocked, the coordinates are determined by the coordinate determination unit 93 and reported (
516). At this time, those registered as abnormal element pairs in the abnormal element table 73 are excluded from the coordinate determination process.

タッチパネル使用中に、不良素子の発生等により異常遮
光が発生した場合には、ステップ515で検出される。
If abnormal light blocking occurs due to the occurrence of a defective element or the like while the touch panel is in use, it is detected in step 515.

そこで、その座標が前回遮光された座標と同一か否かが
判定される(S31)、異常遮光の座標が複数あれば、
本実施例では各軸について左端の座標についてのみ判断
する。座標が同一であれば、異常素子カウンタが更新さ
れ(S32)、この値が一定値を越えたかどうか判定さ
れる(S33)。
Then, it is determined whether the coordinates are the same as the coordinates that were previously shaded (S31). If there are multiple coordinates that are abnormally shaded,
In this embodiment, only the leftmost coordinates of each axis are determined. If the coordinates are the same, the abnormal element counter is updated (S32), and it is determined whether this value exceeds a certain value (S33).

一定値を越えるまでは、最初のステップSllに戻る。Until the constant value is exceeded, the process returns to the first step Sll.

素子不良が発生した場合には、自然に回復しないかぎり
カウンタを更新しつづけ、予め定めた時間(例えば10
秒)経過すると、カウンタ値は一定値を越える。不良素
子ではなく、たまたま指等により一方の軸方向のみの遮
光となった場合には、次に異常遮光が発生したときにそ
の座標が前回異常遮光された座標と異なれば、当該異常
素子カウンタはクリアされる(33g)。
If an element failure occurs, the counter will continue to be updated unless it recovers naturally, and the counter will continue to be updated for a predetermined period of time (for example, 10
seconds), the counter value exceeds a certain value. If the light is blocked only in one axis direction by a finger or the like, and it is not a defective element, the next time abnormal light blocking occurs, if the coordinates are different from the coordinates of the previous abnormal light blocking, the abnormal element counter will be set. Cleared (33g).

ステップS33でカウンタ値が一定値を越えた場合1本
実施例では、遮光判定結果テーブル72を参照してその
時点の隣接する素子対の遮光状態を参照して、同軸上で
他にも遮光されていれば、異常素子数が複数と判定し、
なければ、1個と判定する(S34)。不良素子の場合
は、通常1個と判定され、他の素子対がすでに異常素子
テーブル73に登録されているかを判定しくS:35)
、登録されていなければ、その素子対を新たに登録しく
536)、LED#1を点灯させる(S37)。
If the counter value exceeds a certain value in step S33, 1. In this embodiment, the light shielding state of the adjacent element pair at that time is checked by referring to the light shielding determination result table 72, and if there are other light shielded elements on the same axis. If so, it is determined that the number of abnormal elements is multiple,
If there is no one, it is determined that there is one (S34). In the case of a defective element, it is usually determined that there is only one defective element, and it is determined whether another element pair is already registered in the abnormal element table 73 (S: 35).
, if not registered, the device pair is newly registered (536) and LED #1 is turned on (S37).

ステップ34で2個以上と判定された場合には、LEI
]$2を点灯する。■、ED#2が点灯している間は、
本実施例では使用不可と判断し、座標報告は行わない。
If it is determined in step 34 that there are two or more, the LEI
] Light up $2. ■, while ED#2 is lit,
In this embodiment, it is determined that it cannot be used, and coordinate reporting is not performed.

LED02点灯の原因が障害物によるものであれば、そ
の障害物を取り除けば、ステップ514において、遮光
無と判定され、LED#2は消灯され(S17)、使用
可となる。障害物を取り除いても、LED#2が消灯し
ない場合には、保守員に連絡し、タッチパネル交換によ
り復旧する。
If the cause of LED02 lighting is an obstacle, if the obstacle is removed, it is determined in step 514 that no light is blocked, LED #2 is turned off (S17), and can be used. If LED #2 does not turn off even after removing the obstruction, contact maintenance personnel and replace the touch panel to recover.

LED$$1点灯後に、ステップSL+に戻ったときは
、異常素子テーブル参照により、登録されている異常素
子対については、点灯制御して正常に受光されるかを調
べ(513)、正常に受光されれば、復旧し・たと判断
して異常素子テーブルからその素子対の登録を除外しく
519)、L E I) # lを消灯する。復旧して
いなければ、そのまま次の素子のスキャンに移行する。
When the process returns to step SL+ after LED $$1 is lit, it is checked by referring to the abnormal element table whether the registered abnormal element pairs are controlled to light up and are normally received (513), and the light is received normally. If so, it is determined that the device has recovered, and the registration of that device pair is removed from the abnormal device table (519), and L E I) #l is turned off. If the recovery has not been completed, the process proceeds directly to scanning the next element.

異常素子テーブルに1個の異常素子対が登録されている
ときには、前述のように、座標決定処理から除外される
ので、支障なくタッチパネルの使用を続行できる。
When one abnormal element pair is registered in the abnormal element table, it is excluded from the coordinate determination process as described above, so that the touch panel can be continued to be used without any trouble.

本実施例によれば、次のような効果が得られる。According to this embodiment, the following effects can be obtained.

(1)タッチパネルの使用中に異常素子の検出を自動的
に行い、単一の素子の異常が検出されれば、その異常素
子について座標決定処理の対象から除外することにより
、誤った座標が報告され続ける事態を回避できる。操作
者は、この状態をLED#1の点灯によりL2識できる
(1) Automatically detects abnormal elements while using the touch panel, and if an abnormality in a single element is detected, that abnormal element is excluded from the coordinate determination process, and incorrect coordinates are reported. It is possible to avoid a situation where the situation continues to occur. The operator can recognize this state by lighting the LED #1.

(2)通常の座標指示方法によれば同時に複数の座標が
遮光されるので、1個の素子が故障した場合には、「遮
光無」とみなしてもタッチパネルの使用を続行できる。
(2) Since a plurality of coordinates are shaded at the same time according to the normal coordinate indicating method, if one element fails, the touch panel can be continued to be used even if it is assumed that "light is not shaded".

(3)誤ってタッチパネルが紙や布等の障害物に覆われ
るようなことがあった場合には、操作者は、この状態を
LED#2の点灯により認識し、その障害物を除去する
ことにより、正常動作に復帰することができる。障害物
を除去しても、あるいは障害物がないにもかかわらず、
LED#2が点灯している場合には、複数の素子の故障
と判断できる。
(3) If the touch panel is accidentally covered with an obstruction such as paper or cloth, the operator should recognize this condition by lighting LED #2 and remove the obstruction. This allows normal operation to be restored. Even with the removal of obstacles, or even in the absence of obstacles,
If LED #2 is lit, it can be determined that multiple elements have failed.

以上、本発明の好適な実施例について説明したが、本発
明の要旨を逸脱することなく、種々の変更を行うことは
+jJ能である。例えば、上記実施例では、信頼性の見
地から単一の素子が故障した場合のみ、継続使用可能と
したが、各軸について1個、512個の素子が故障した
場合、あるいは同軸上に一定距離以上離れた2個以上の
素子が故障した場合にも、継続使用できるようにするこ
ともnf能である。
Although the preferred embodiments of the present invention have been described above, it is possible to make various changes without departing from the gist of the present invention. For example, in the above embodiment, from a reliability standpoint, continued use is possible only if a single element fails, but if one or 512 elements fail on each axis, or if a certain distance on the same axis It is also an nf feature to enable continued use even if two or more elements separated by more than 100% fail.

[発明の効果] 本発明によれば、タッチパネル使用中に、タッチパネル
の発光素子または受光素子の異常を自動的に検出でき、
これにより、警報を発して操作者に報知することができ
るのみならす、その素子について通常の遮光判定を行わ
ないようにすることにより、誤った座標が報告される事
態を回避しつつ、タッチパネル使用を続行することが可
能となる。
[Effects of the Invention] According to the present invention, an abnormality in a light emitting element or a light receiving element of a touch panel can be automatically detected while the touch panel is in use;
This not only makes it possible to issue an alarm and notify the operator, but also prevents the use of a touch panel by preventing the normal light shielding judgment from being performed for that element, while avoiding the situation where incorrect coordinates are reported. It is now possible to continue.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明によるタッチパネル装置の−実施例のブ
ロック図、第2図は従来のタッチパネル装置のブロック
図、第3図および第4図は光学方式のタッチパネル装置
における座標検出原理の説明図、第5図は従来のタッチ
パネル装置における座標検出処理のフローチャーh、第
6図は本発明のタッチパネル装置の座標検出処理のフロ
ーチャー1・、第7図は第1図の異常素子テーブルの説
明図、第8図は異常素子の発生による誤った座標検出の
説明図である。 10・・・LEDアレイ、 20・・・受光素子アレイ
、30・・セレクタ、35・・・LEDドライバ。 40・・マルチプレクサ、45・・・タイミング発生回
路、50・・アナログデジタル変換器、60・・レジス
タ、70・・・メモリ、71・・・受光データテーブル
。 72・・・遮光判定結果テーブル。 73・・・異常素子テーブル、75・・・警報手段、8
0・・・計数手段、90・・・処理装置、91・・・呼
動走査部。 92・・・遮光判定部、93・・・座標決定部、94・
・・異常遮光検出部、95・・・復旧検出部第 図 ED 第 図 第 因
FIG. 1 is a block diagram of an embodiment of a touch panel device according to the present invention, FIG. 2 is a block diagram of a conventional touch panel device, and FIGS. 3 and 4 are explanatory diagrams of the principle of coordinate detection in an optical touch panel device. FIG. 5 is a flowchart h of coordinate detection processing in a conventional touch panel device, FIG. 6 is a flowchart 1 of coordinate detection processing in a touch panel device of the present invention, and FIG. 7 is an explanatory diagram of the abnormal element table of FIG. 1. , FIG. 8 is an explanatory diagram of erroneous coordinate detection due to the occurrence of an abnormal element. 10... LED array, 20... Light receiving element array, 30... Selector, 35... LED driver. 40...Multiplexer, 45...Timing generation circuit, 50...Analog-digital converter, 60...Register, 70...Memory, 71...Light reception data table. 72...Shading determination result table. 73... Abnormal element table, 75... Alarm means, 8
0... Counting means, 90... Processing device, 91... Call scanning unit. 92... Light shielding determination section, 93... Coordinate determination section, 94.
...Abnormal light shielding detection section, 95...Recovery detection section Fig. ED Fig. Fig. 1 Cause

Claims (1)

【特許請求の範囲】 1、発光素子および受光素子の複数対が対向配置され、
該複数対を順次周期的に駆動走査して、遮光された素子
対に対応した座標を検出するタッチパネルの制御方法で
あって、 通常の座標検出動作中に、異常素子の検出処理を行い、
該検出処理により異常素子が検出されたときには、以後
、当該異常素子対については座標検出処理の対象から除
外することを特徴とするタッチパネルの制御方法。 2、発光素子および受光素子の複数対が対向配置され、
該複数対を順次周期的に駆動走査して、遮光された素子
対に対応した座標を検出するタッチパネルの制御方法で
あって、 通常の座標検出動作中に、異常素子の検出処理を行い、
該検出処理により異常素子が検出されたときには、以後
、当該異常索子対については「遮光無」とみなして、座
標検出動作を続行することを特徴とするタッチパネルの
制御方法。 3、発光素子および受光素子の複数対が対向配置され、
該複数対を順次周期的に駆動走査して、遮光された素子
対に対応した座標を検出するタッチパネルの制御方法で
あって、 通常の座標検出動作中に、異常索子の検出処理を行い、
該検出処理比より異常索子が検出されたときには、以後
、当該異常素子対については「隣接する素子対の遮光判
定結果と同一」とみなして、座標検出動作を続行するこ
とを特徴とするタッチパネルの制御方法。 4、上記通常の座標検出動作時の遮光は、複数の連続す
る素子対について行われることを特徴とする請求項1、
2または3記載のタッチパネルの制御方法。 5、単一の素子対について予め定めた一定時間以上、継
続して遮光されている場合に、当該素子対を異常と判断
する請求項1、2または3記載のタッチパネルの制御方
法。 6、各素子対について異常遮光か否かを上記各走査ごと
に検出し、予め定めた走査回数以上継続して異常遮光と
判断された素子対を異常と判断する請求項1、2または
3記載のタッチパネルの制御方法。 7、通常の座標検出動作ではありえない遮光状態を上記
異常遮光と判断する請求項6記載のタッチパネルの制御
方法。 8、単一の素子対が異常と判断された場合、第1の警報
を継続的または周期的に発することを特徴とする請求項
1、2または3記載のタッチパネルの制御方法。 9、2個以上の素子対が異常と判断された場合には、第
2の警報を継続的または周期的に発することを特徴とす
る請求項1、2、3または8記載のタッチパネルの制御
方法。 10、同時に2個以上の素子対が異常と判断された場合
の当該2個以上の素子対、あるいは順次2個以上の素子
対が異常と判断された場合の当該2個目からの素子対に
ついては、遮光されているか否かの判断を続行し、後に
「遮光無」と判断されたとき上記第2の警報を停止する
ことを特徴とする請求項9記載のタッチパネルの制御方
法。 11、上記異常と判断された単一の素子対について、上
記通常の座標検出動作中に周期的に発光制御を行い、正
常に受光されたとき、異常でなくなったと判断し、当該
素子対について遮光されているか否かの判断を再開し、
座標検出処理の対象とすることを特徴とする請求項1、
2または3記載のタッチパネルの制御方法。 12、上記異常と判断された単一の素子対について、上
記通常の座標検出動作中に周期的に発光制御を行い、正
常に受光されたとき、上記第1の警報を停止することを
特徴とする請求項8または11記載のタッチパネルの制
御方法。 13、それぞれ対向配置された発光素子および受光素子
の複数対と、該複数対を順次周期的に駆動走査する駆動
走査手段と、遮光された素子対に対応した座標を決定出
力する座標決定手段とを有するタッチパネル装置におい
て、 上記走査ごとに、各素子対について遮光があったか否か
を判定する遮光判定手段と、 該遮光判定手段の判定結果から異常遮光を検出する異常
遮光検出手段と、 該異常遮光検出手段により連続して複数回の走査にわた
り異常遮光が検出された素子対について、当該走査回数
を計数する計数手段と、上記計数手段の計数値が予め定
めた値を越えた素子対を異常素子対として登録する異常
素子登録手段とを備え、 上記座標決定手段は、上記異常索子登録内容を参照して
、異常と登録されている素子対については、座標決定処
理の対象から除外することを特徴とするタッチパネル装
置。 14、それぞれ対向配置された発光素子および受光素子
の複数対と、該複数対を順次周期的に駆動走査する駆動
走査手段と、遮光された素子対に対応した座標を決定出
力する座標決定手段とを有するタッチパネル装置におい
て、 上記走査ごとに、各素子対について遮光があったか否か
を判定する遮光判定手段と、 該遮光判定手段の判定結果から異常遮光を検出する異常
遮光検出手段と、 該異常遮光検出手段により連続して複数回の走査にわた
り異常遮光が検出された素子対について、当該走査回数
を計数する計数手段と、上記計数手段の計数値が予め定
めた値を越えた素子対を異常素子対として登録する異常
素子登録手段とを備え、 上記遮光判定手段は、上記異常素子登録内容を参照して
、異常と登録されている素子対にっいては、「遮光無」
または「隣接する素子対の遮光判定結果と同一」とみな
すことを特徴とするタッチパネル装置。 15、上記異常素子登録手段は、単一の素子対について
上記計数値が予め定めた値を越えた場合にのみ、当該素
子対を異常素子対として登録することを特徴とする請求
項13または14記載のタッチパネル装置。 16、上記発光素子および受光素子の複数対は、X軸方
向およびY軸方向に配列され、上記異常素子登録手段は
、各軸ごとに、単一の素子対について上記計数値が予め
定めた値を越えた場合にのみ、当該素子対を異常として
登録することを特徴とする請求項13または14記載の
タッチパネル装置。 17、上記異常素子登録手段は、単一の素子対のみを異
常素子対として登録することを特徴とする請求項13ま
たは14記載のタッチパネル装置。 18、上記発光素子および受光素子の複数対は、X軸方
向およびY軸方向に配列され、上記異常素子登録手段は
、各軸ごとに単一の素子対のみを異常素子として登録す
ることを特徴とする請求項13または14記載のタッチ
パネル装置。 19、上記発光素子および受光素子の複数対は、X軸方
向およびY軸方向に配列され、上記計数手段はX軸方向
およびY軸方向に各1個設けたカウンタを有することを
特徴とする請求項13または14記載のタッチパネル装
置。 20、上記計数手段は、上記素子対の数だけ設けたカウ
ンタを有することを特徴とする請求項13または14記
載のタッチパネル装置。 21、異常素子対の発生を操作者に知らせる警報手段を
設けたことを特徴とする請求項13または14記載のタ
ッチパネル装置。 22、単一の異常素子対の発生を知らせる第1の警報手
段と、複数の異常素子対の発生を知らせる第2の警報手
段とを設けたことを特徴とする請求項13または14記
載のタッチパネル装置。 23、単一の異常素子対の発生を知らせる第1の警報手
段と、複数の異常素子対の発生を知らせる第2の警報手
段とを有し、上記異常素子登録手段に登録されていない
異常素子対について上記遮光判定手段により「遮光無」
と判定されたとき、上記第2の警報手段は警報を停止す
ることを特徴とする請求項13または14記載のタッチ
パネル装置。 24、上記異常素子登録手段に登録された素子対につい
て、周期的に発光制御を行い、正常に受光されたとき、
上記異常素子登録手段の登録を解除する復旧検出手段を
設けたことを特徴とする請求項13または14記載のタ
ッチパネル装置。
[Claims] 1. A plurality of pairs of light-emitting elements and light-receiving elements are arranged facing each other,
A touch panel control method that sequentially and periodically drives and scans the plurality of pairs to detect coordinates corresponding to the light-shielded element pair, the method comprising: performing abnormal element detection processing during normal coordinate detection operation;
A touch panel control method characterized in that when an abnormal element is detected by the detection process, the abnormal element pair is subsequently excluded from coordinate detection processing. 2. A plurality of pairs of light emitting elements and light receiving elements are arranged facing each other,
A touch panel control method that sequentially and periodically drives and scans the plurality of pairs to detect coordinates corresponding to the light-shielded element pair, the method comprising: performing abnormal element detection processing during normal coordinate detection operation;
A touch panel control method characterized in that when an abnormal element is detected by the detection process, the abnormal element pair is thereafter regarded as "no light shielding" and the coordinate detection operation is continued. 3. A plurality of pairs of light emitting elements and light receiving elements are arranged facing each other,
A touch panel control method that sequentially and periodically drives and scans the plurality of pairs to detect coordinates corresponding to the light-shielded element pairs, the method comprising: performing abnormal cord detection processing during normal coordinate detection operation;
When an abnormal element is detected based on the detection processing ratio, the touch panel continues the coordinate detection operation by regarding the abnormal element pair as "the same as the light shielding determination result of the adjacent element pair". control method. 4. Claim 1, wherein the light shielding during the normal coordinate detection operation is performed for a plurality of consecutive element pairs.
3. The touch panel control method according to 2 or 3. 5. The touch panel control method according to claim 1, 2 or 3, wherein if a single element pair is continuously shielded from light for a predetermined period of time or more, the element pair is determined to be abnormal. 6. The method according to claim 1, 2 or 3, wherein whether or not each element pair is abnormally shaded is detected for each of the above-mentioned scans, and an element pair that is determined to be abnormally shaded continuously for a predetermined number of scans or more is judged to be abnormal. How to control the touch panel. 7. The touch panel control method according to claim 6, wherein a light shielding state that cannot occur in a normal coordinate detection operation is determined to be the abnormal light shielding. 8. The touch panel control method according to claim 1, 2 or 3, wherein the first alarm is issued continuously or periodically when a single element pair is determined to be abnormal. 9. The touch panel control method according to claim 1, 2, 3, or 8, characterized in that when two or more element pairs are determined to be abnormal, a second alarm is issued continuously or periodically. . 10. Regarding two or more element pairs when two or more element pairs are determined to be abnormal at the same time, or from the second element pair when two or more element pairs are sequentially determined to be abnormal. 10. The touch panel control method according to claim 9, further comprising the step of continuing to determine whether or not light is shielded, and stopping the second alarm when it is later determined that there is no light shielding. 11. For the single element pair determined to be abnormal, perform periodic light emission control during the normal coordinate detection operation, and when light is received normally, it is determined that there is no longer an abnormality, and the light is blocked for the element pair. restart the judgment as to whether or not
Claim 1, characterized in that the coordinate detection process is performed on the coordinate detection process.
3. The touch panel control method according to 2 or 3. 12. For the single element pair determined to be abnormal, the light emission control is periodically performed during the normal coordinate detection operation, and when the light is received normally, the first alarm is stopped. The touch panel control method according to claim 8 or 11. 13. A plurality of pairs of light-emitting elements and light-receiving elements arranged to face each other, a driving scanning means for sequentially and periodically driving and scanning the plurality of pairs, and a coordinate determining means for determining and outputting coordinates corresponding to the light-shielded element pairs. A touch panel device comprising: a light shielding determining means for determining whether or not light shielding occurs for each element pair for each scan; abnormal light shielding detecting means detecting abnormal light shielding from the determination result of the light shielding determining means; and the abnormal light shielding. For element pairs in which abnormal light shielding has been detected by the detection means over a plurality of consecutive scans, a counting means is provided for counting the number of scans, and an element pair for which the count value of the counting means exceeds a predetermined value is designated as an abnormal element. and abnormal element registration means for registering as a pair, the coordinate determining means refers to the abnormal element registration contents and determines that element pairs registered as abnormal are excluded from coordinate determination processing. Features a touch panel device. 14. A plurality of pairs of light-emitting elements and light-receiving elements arranged to face each other, a driving scanning means for sequentially and periodically driving and scanning the plurality of pairs, and a coordinate determining means for determining and outputting coordinates corresponding to the light-shielded element pairs. A touch panel device comprising: a light shielding determining means for determining whether or not light shielding occurs for each element pair for each scan; abnormal light shielding detecting means detecting abnormal light shielding from the determination result of the light shielding determining means; and the abnormal light shielding. For element pairs in which abnormal light shielding has been detected by the detection means over a plurality of consecutive scans, a counting means is provided for counting the number of scans, and an element pair for which the count value of the counting means exceeds a predetermined value is designated as an abnormal element. and abnormal element registration means for registering as a pair, the light shielding determination means refers to the abnormal element registration contents and determines "no light shielding" for the element pair registered as abnormal.
Or, a touch panel device characterized in that the light shielding determination result is considered to be "the same as the light shielding determination result of an adjacent pair of elements." 15. Claim 13 or 14, wherein the abnormal element registration means registers the element pair as an abnormal element pair only when the count value for a single element pair exceeds a predetermined value. The touch panel device described. 16. The plurality of pairs of the light-emitting element and the light-receiving element are arranged in the X-axis direction and the Y-axis direction, and the abnormal element registration means sets the count value to a predetermined value for a single element pair for each axis. 15. The touch panel device according to claim 13, wherein the device pair is registered as abnormal only when the value exceeds . 17. The touch panel device according to claim 13 or 14, wherein the abnormal element registration means registers only a single element pair as an abnormal element pair. 18. The plurality of pairs of the light emitting element and the light receiving element are arranged in the X-axis direction and the Y-axis direction, and the abnormal element registration means registers only a single element pair for each axis as an abnormal element. The touch panel device according to claim 13 or 14. 19. The plurality of pairs of the light emitting element and the light receiving element are arranged in the X-axis direction and the Y-axis direction, and the counting means has a counter provided in each of the X-axis direction and the Y-axis direction. 15. The touch panel device according to item 13 or 14. 20. The touch panel device according to claim 13 or 14, wherein the counting means includes counters provided as many as the number of the element pairs. 21. The touch panel device according to claim 13 or 14, further comprising an alarm means for notifying an operator of the occurrence of an abnormal element pair. 22. The touch panel according to claim 13 or 14, further comprising a first alarm means for notifying the occurrence of a single abnormal element pair and a second alarm means for notifying the occurrence of a plurality of abnormal element pairs. Device. 23. An abnormal element that has a first alarm means that notifies the occurrence of a single abnormal element pair and a second alarm means that notifies the occurrence of a plurality of abnormal element pairs, and that is not registered in the abnormal element registration means. Regarding the pair, "no shading" is determined by the above shading determination means.
15. The touch panel device according to claim 13, wherein when it is determined that the second alarm means stops the alarm. 24. Periodically perform light emission control on the element pair registered in the abnormal element registration means, and when light is normally received;
15. The touch panel device according to claim 13, further comprising recovery detection means for canceling registration of said abnormal element registration means.
JP29186188A 1988-11-18 1988-11-18 Touch panel control method and touch panel device Expired - Lifetime JPH0750424B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29186188A JPH0750424B2 (en) 1988-11-18 1988-11-18 Touch panel control method and touch panel device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29186188A JPH0750424B2 (en) 1988-11-18 1988-11-18 Touch panel control method and touch panel device

Publications (2)

Publication Number Publication Date
JPH02137013A true JPH02137013A (en) 1990-05-25
JPH0750424B2 JPH0750424B2 (en) 1995-05-31

Family

ID=17774376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29186188A Expired - Lifetime JPH0750424B2 (en) 1988-11-18 1988-11-18 Touch panel control method and touch panel device

Country Status (1)

Country Link
JP (1) JPH0750424B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006026166A (en) * 2004-07-16 2006-02-02 Aruze Corp Game machine and program
JP2006026167A (en) * 2004-07-16 2006-02-02 Aruze Corp Game machine and program
JP2009077953A (en) * 2007-09-26 2009-04-16 Sankyo Co Ltd Slot machine
JP2010075388A (en) * 2008-09-25 2010-04-08 Sammy Corp Pinball game machine
US7864341B2 (en) * 2007-07-23 2011-01-04 Canon Kabushiki Kaisha Coordinate detection apparatus and method, and computer program
JP2015511752A (en) * 2012-03-26 2015-04-20 ランドプラス カンパニーリミテッド Multi-touch screen device
JP2015084135A (en) * 2013-10-25 2015-04-30 アルパイン株式会社 Touch panel input device
JPWO2017013952A1 (en) * 2015-07-17 2018-04-19 富士電機株式会社 Optical touch panel and vending machine

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006026166A (en) * 2004-07-16 2006-02-02 Aruze Corp Game machine and program
JP2006026167A (en) * 2004-07-16 2006-02-02 Aruze Corp Game machine and program
US7864341B2 (en) * 2007-07-23 2011-01-04 Canon Kabushiki Kaisha Coordinate detection apparatus and method, and computer program
JP2009077953A (en) * 2007-09-26 2009-04-16 Sankyo Co Ltd Slot machine
JP2010075388A (en) * 2008-09-25 2010-04-08 Sammy Corp Pinball game machine
JP2015511752A (en) * 2012-03-26 2015-04-20 ランドプラス カンパニーリミテッド Multi-touch screen device
JP2015084135A (en) * 2013-10-25 2015-04-30 アルパイン株式会社 Touch panel input device
JPWO2017013952A1 (en) * 2015-07-17 2018-04-19 富士電機株式会社 Optical touch panel and vending machine

Also Published As

Publication number Publication date
JPH0750424B2 (en) 1995-05-31

Similar Documents

Publication Publication Date Title
EP2353069B1 (en) Stereo optical sensors for resolving multi-touch in a touch detection system
JP4405766B2 (en) Coordinate input device, coordinate input method
US5003505A (en) Touchscreen/keyboard scanner
US9977540B2 (en) Touch display device with light sensor module
JPH02137013A (en) Control method for touch panel and touch panel device
US9285928B2 (en) Touch detection method and related optical touch system
JP2007080251A (en) System and method for fault detection and recovery for optical input area
JP2011210071A (en) Method of outputting input position of touch panel
JPH05298027A (en) Touch input type data processor
JP2008096179A (en) Optical position detection device
JP2000259966A (en) Fire monitoring method
JP2010129026A (en) Input device
CN103543881A (en) Mistaken-clicking-preventing identification method of touch screen
JP2003194962A (en) Photoelectric sensor
JP3419884B2 (en) Control system
JP2011113489A (en) Non-contact user interface device
US20200192546A1 (en) Display device, machine tool and abnormality determination method
JP3430790B2 (en) Multi-optical axis photoelectric sensor and manufacturing inspection apparatus using the same
JP3585472B2 (en) Optical detector
KR20050041454A (en) Touch sensing method in touch panel and touch panel incorporating the same
JPH06230145A (en) Optical detector
CN110703942A (en) Touch signal processing method and device, main chip terminal and touch display panel
JP4515881B2 (en) Coordinate position detection apparatus and detection method
JPH054035Y2 (en)
JP3404474B2 (en) Optical detector

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080531

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090531

Year of fee payment: 14

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090531

Year of fee payment: 14