JPH0750424B2 - Touch panel control method and touch panel device - Google Patents

Touch panel control method and touch panel device

Info

Publication number
JPH0750424B2
JPH0750424B2 JP29186188A JP29186188A JPH0750424B2 JP H0750424 B2 JPH0750424 B2 JP H0750424B2 JP 29186188 A JP29186188 A JP 29186188A JP 29186188 A JP29186188 A JP 29186188A JP H0750424 B2 JPH0750424 B2 JP H0750424B2
Authority
JP
Japan
Prior art keywords
light
abnormal
shielding
touch panel
element pair
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.)
Expired - Lifetime
Application number
JP29186188A
Other languages
Japanese (ja)
Other versions
JPH02137013A (en
Inventor
宗太 草本
勝也 一二三
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
Original Assignee
Hitachi 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 Hitachi Ltd 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)

Description

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

[従来の技術] 従来、主としてモニタ管面に装着され、表示画面に対応
した入力走査を画面上で可能とする入力デバイスとし
て、タッチパネルが知られている。このようなタッチパ
ネルの動作方式としては、種々のものが提案されている
が、精度、信頼性、透視性、操作性等の観点から、光学
方式のものが普及している。この方式は、発光素子およ
び受光素子を複数対を対向配置して、指等による遮光点
の座標を検出するものである。
[Prior Art] Conventionally, a touch panel has been known as an input device which is mainly mounted on a monitor tube surface and enables input scanning corresponding to a display screen on the screen. Various types of operation methods for such a touch panel have been proposed, but from the viewpoint of accuracy, reliability, see-through property, operability, etc., an optical method is prevalent. In this method, a plurality of pairs of light emitting elements and light receiving elements are arranged so as to face each other, and the coordinates of a light shielding point by a finger or the like are detected.

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

このタッチパネル装置は、2次元の座標を検出するもの
であり、検出領域を挾んで、水平(X軸)方向に複数の
発光素子および受光素子の対X0〜Xmを対向配置し、同時
に垂直(Y軸)方向にも同様に複数の発光素子および受
光素子の対Y0〜Ynを対向配置している。(発光素子とし
てはLEDが代表的な素子であるので、以下、発光素子を
単にLEDという。)各軸において、LEDドライバ35は、LE
Dアレイ10を駆動する電圧を発生し、マルチプレクサ40
がタイミング発生回路45からのタイミング信号に従っ
て、順次各LEDに振り分ける。これにより、X軸方向のL
EDがX0,X1,X2,…,Xmの順に反復的に駆動走査される。同
様に、Y軸方向のLEDもY0,Y1,Y2,…,Ynの順に反復的に
駆動走査される。各LEDは、駆動されたとき、点灯して
赤外線を発光する。一方、受光素子アレイ20の出力を受
けるセレクタ30は、順次駆動されているLEDに対向する
受光素子の出力を順次選択するように、タイミング発生
回路45により制御される。LEDおよび受光素子の駆動走
査の指令は、駆動走査部91が発する。セレクタ30の出力
信号、すなわち各受光素子のアナログ出力信号は、順
次、アナログデジタル変換器50によりデジタルデータに
変換されてレジスタ60にラッチされる。このデータは、
処理装置90によりメモリ70内の受光データテーブル71に
一時格納される。全素子の駆動走査後、処理装置90は、
その遮光判定部92で各素子対について遮光されているか
否かを判定し、座標決定部93で検出座標を決定する。
This touch panel device detects two-dimensional coordinates, and a plurality of pairs of light-emitting elements and light-receiving elements X0 to Xm are arranged to face each other in a horizontal (X-axis) direction across a detection area, and at the same time a vertical (Y Similarly, a plurality of pairs of light emitting elements and light receiving elements Y0 to Yn are arranged to face each other in the (axis) direction. (Because an LED is a typical light emitting element, the light emitting element is simply referred to as an LED hereinafter.) In each axis, the LED driver 35 is LE
Generates voltage to drive D-array 10
According to the timing signal from the timing generation circuit 45, the LEDs are sequentially assigned to each LED. As a result, L in the X-axis direction
The ED is repeatedly driven and scanned in the order of X0, X1, X2, ..., Xm. Similarly, the LEDs in the Y-axis direction are also repeatedly driven and scanned in the order of Y0, Y1, Y2, ..., Yn. Each LED lights up and emits infrared rays when driven. On the other hand, the selector 30 which receives the output of the light receiving element array 20 is controlled by the timing generation circuit 45 so as to sequentially select the output of the light receiving element facing the sequentially driven LEDs. The drive scanning unit 91 issues a command for drive scanning of the LED and the light receiving element. The output signal of the selector 30, that is, the analog output signal of each light receiving element is sequentially converted into digital data by the analog-digital converter 50 and latched in the register 60. This data is
It is temporarily stored in the received light data table 71 in the memory 70 by the processing device 90. After driving and scanning all the elements, the processing device 90
The light blocking determination unit 92 determines whether or not each element pair is shielded from light, and the coordinate determination unit 93 determines the detected coordinates.

第3図に、LED X0,X1,X2の発光タイミングと、対応する
セレクタ30の出力例を示す。この例では、第4図に示す
ようにLED X2およびLED Y1の光が指でさえぎられている
場合を想定している。LED X0,X1,X2,…は一定周期で順
次一定時間だけ点灯していく。LED X2以外のLEDが点灯
したときはセレクタ30から山形の波形を有する信号が出
力され、LED X2が点灯したときは光が指でさえぎられる
のでセレクタ30から山形の波形信号は出力されない。図
示しないが、同様に、LED Y0,Y1,Y2,…は一定周期で順
次一定時間だけ点灯していく。この例では、LED Y1が点
灯したときのみセレクタ30から山形の波形を有する信号
が出力される。このようにして座標(X1,Y2)が検出さ
ない。なお、実際には、座標検出領域に指をタッチした
場合、同時に2個(2対)以上の素子対が遮光される程
度に、タッチパネルの素子対の間隔が設定されている。
その場合、各軸について複数の検出座標のうちの一つあ
るいは中間値が出力される。このような座標決定処理を
座標決定部93が行う。
FIG. 3 shows the light emission timings of the LEDs X0, X1, and X2 and the output example of the corresponding selector 30. In this example, it is assumed that the light from the LEDs X2 and LED Y1 is blocked by the finger as shown in FIG. The LEDs X0, X1, X2, ... Light up sequentially for a certain period of time in a certain cycle. When an LED other than the LED X2 is lit, the selector 30 outputs a signal having a mountain-shaped waveform, and when the LED X2 is lit, the light is blocked by the finger, so that the selector 30 does not output the mountain-shaped waveform signal. Although not shown, similarly, the LEDs Y0, Y1, Y2, ... Are sequentially turned on for a certain period at a certain period. In this example, the selector 30 outputs a signal having a mountain-shaped waveform only when the LED Y1 is turned on. In this way, the coordinates (X1, Y2) are not detected. Actually, the interval between the element pairs of the touch panel is set such that when a finger touches the coordinate detection area, two (two pairs) or more element pairs are shielded at the same time.
In that case, one of a 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 the coordinate detection processing of the conventional touch panel device shown in FIG.

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

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

[発明が解決しようとする課題] 前述のように、従来のタッチパネル装置においては、駆
動走査時に、いずれの素子対についてセレクタ30の出力
が一定レベル以下になるかを検出することにより、操作
者の指示座標を検出するようになっているが、LEDある
いは受光素子が故障した場合にも、セレクタ30の出力は
一定レベル以下になってしまう。このような場合、誤っ
た座標が報告されるという問題があった。例えば、第8
図に示すように、素子対Y3のLEDまたは受光素子のいず
れかが故障した場合、素子対Y3についてのセレクタ30の
出力は常に一定レベル以下となり、このような状態で、
操作者が例えば、座標(X2,Y1)のA点を指示したとす
ると、タッチパネル装置は他の座標(X2,Y3)のB点に
ついても指示されていると判断し、その一方の座標ある
いは中間値を検出座標として報告してしまう。
[Problems to be Solved by the Invention] As described above, in the conventional touch panel device, by detecting which element pair the output of the selector 30 is below a certain level during drive scanning, the operator's touch is detected. Although the designated coordinates are detected, if the LED or the light receiving element fails, the output of the selector 30 will be below a certain level. In such a case, there is a problem that wrong coordinates are reported. For example, the 8th
As shown in the figure, if either the LED or the light receiving element of the element pair Y3 fails, the output of the selector 30 for the element pair Y3 is always below a certain level, and in such a state,
For example, if the operator points to point A at coordinates (X2, Y1), the touch panel device determines that point B at other coordinates (X2, Y3) has also been pointed to, and either one of the coordinates or the middle point is determined. The value is reported as detected coordinates.

従来のタッチパネル装置では、点検時に各素子のチェッ
クを行い、故障した素子があれば交換するという方法が
採られているが、使用中(すなわち、通常の座標検出動
作中)にLEDあるいは受光素子が故障した場合、これを
検出する手段がなく、誤動作に気付かずに使用しつづけ
る虞れがあった。また、誤動作に気付いたとしても、タ
ッチパネル装置が採用されるシステムによっては、シス
テム稼働中のタッチパネル使用中断が許されない、ある
いは好ましくない場合もある。
In the conventional touch panel device, each element is checked at the time of inspection, and if there is a defective element, it is replaced. However, during use (that is, during normal coordinate detection operation), the LED or light receiving element is In the case of a failure, there is no means for detecting this and there is a risk of continued use without noticing a malfunction. Even if a malfunction is noticed, depending on the system in which the touch panel device is adopted, interruption of touch panel use during system operation may not be permitted or may be undesirable.

本発明の目的は、タッチパネルの使用中に発光または受
光素子が故障しても、その故障を検出可能とし、かつ、
使用中に素子が故障しても継続して使用できるタッチパ
ネルの制御方式およびタッチパネル装置を提供すること
にある。
An object of the present invention is to make it possible to detect a failure even if the light emitting or light receiving element fails during use of the 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 continuously used even if an element fails during use.

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

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

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

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

単一の素子対が異常と判断された場合、好ましくは、第
1の警報を継続的または周期的に発し、2個以上の素子
対が異常と判断された場合には、第2の警報を継続的ま
たは周期的に発する。
When it is determined that a single element pair is abnormal, a first alarm is preferably issued continuously or periodically, and when 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 the two or more element pairs when it is determined that two or more element pairs are abnormal at the same time, or the element pairs 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 shielded is continued, and the second alarm is stopped when it is later determined that “no light is shielded”.

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

また、望ましくは、上記異常と判断された単一の素子対
について、上記通常の座標検出動作中に周期的に発光制
御を行い、正常に受光されたとき、上記第1の警報を停
止する。
Further, desirably, 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 normally received, the first alarm is stopped.

本発明によるタッチパネル装置は、それぞれ対向配置さ
れた発光素子および受光素子の複数対と、該複数対を順
次周期的に駆動走査する駆動走査手段と、遮光された素
子対に対応した座標を決定出力する座標決定手段とを有
するタッチパネル装置において、上記走査ごとに、各素
子対について遮光があったか否かを判定する遮光判定手
段と、該遮光判定手段の判定結果から異常遮光を検出す
る異常遮光検出手段と、該異常遮光検出手段により連続
して複数回の走査にわたり異常遮光が検出された素子対
について、当該走査回数を計数する計数手段と、上記計
数手段の計数値が予め定めた値を越えた素子対を異常素
子対として登録する異常素子登録手段とを備え、上記座
標決定手段は、上記異常素子登録内容を参照して、異常
と登録されている素子対については、座標決定処理の対
象から除外することを特徴とするものである。
The touch panel device according to the present invention determines a plurality of pairs of light-emitting elements and light-receiving elements, which are arranged to face each other, drive scanning means for sequentially driving and scanning the plurality of pairs, and determines and outputs coordinates corresponding to light-shielded element pairs. In a touch panel device having coordinate determining means for performing the above-mentioned scanning, a light-shielding determination means for determining whether or not there is light-shielding for each element pair, and an abnormal light-shielding detection means for detecting abnormal light-shielding from the determination result of the light-shielding determination means. With respect to the element pair in which the abnormal light shielding is continuously detected by the abnormal light shielding detecting means for a plurality of times of scanning, the counting means for counting the number of times of scanning and the count value of the counting means exceed a predetermined value. An abnormal element registration means for registering the element pair as an abnormal element pair, wherein the coordinate determining means is registered as abnormal with reference to the abnormal element registration content. The child pairs is characterized in that excluded from the coordinate determination process.

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

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

また、上記発光素子および受光素子の複数対はX軸方向
およびY軸方向に配列される場合、上記異常素子登録手
段は、各軸ごとに、単一の素子対について上記計数値が
予め定めた値を越えた場合にのみ、当該素子対を異常と
して登録するようにしてもよい。
Further, when a 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 presets the count value for a single element pair for each axis. The element pair may be registered as abnormal only when the value is exceeded.

上記異常素子登録手段は、好ましくは、単一の異常素子
対のみを異常素子対として登録する。あるいは、上記発
光素子および受光素子の複数対がX軸方向およびY軸方
向に配列される場合には、上記異常素子登録手段は、各
軸ごとに単一の異常素子対のみを異常素子対として登録
するようにしてもよい。
The abnormal element registration means preferably registers only a single abnormal element pair as an abnormal element pair. Alternatively, when a 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 sets only a single abnormal element pair as an abnormal element pair for each axis. You may make it register.

上記発光素子および受光素子の複数対は、X軸方向およ
びY軸方向に配列されている場合、上記計数手段はX軸
方向およびY軸方向に各1個設けたカウンタを有するも
のであってもよい。上記計数手段は、上記素子対の数だ
け設けたカウンタを有するものであってもよい。
When a 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 counting means may have a counter provided in each of the X-axis direction and the Y-axis direction. Good. The counting means may have a counter provided by the number of the element pairs.

さらに、異常素子対の発生を操作者に知らせる警報手段
を設けてもよい。好ましくは、単一の異常素子対の発生
を知らせる第1の警報手段と、複数の異常素子対の発生
を知らせる第2の警報手段とを設ける。
Further, alarm means may be provided to notify the operator of the occurrence of the 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.

単一の異常素子対の発生を知らせる第1の警報手段と、
複数の異常素子対の発生を知らせる第2の警報手段とを
有する場合、上記異常素子登録手段に登録されていない
異常素子対について上記遮光判定手段により「遮光無」
と判定されたとき、上記第2の警報手段は警報を停止す
ることが望ましい。
First alarm means for notifying the occurrence of a single abnormal element pair;
In the case of having a second alarm means for notifying the occurrence of a plurality of abnormal element pairs, the above light-shielding judging means "no light-shielded" for the abnormal element pairs not registered in the abnormal element registration means.
When it is determined that the second warning means stops the warning.

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

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

このようにして、異常と判定された素子対については、
異常素子対として登録しておき、以後、座標決定の対象
から除外する。すなわち、たとえ、遮光されていると判
定されても、登録されているた異常素子対の座標は座標
決定時の判断対象としない。あるいは、以後の駆動走査
後の遮光判定時に、異常素子対については通常の遮光判
定を省略し、または遮光判定の結果にかかわらず、強制
的に「遮光無」とみなす。これにより、タッチパネル装
置から誤った座標が報告されることがなくなる。
In this way, for the element pair determined to be abnormal,
It is registered as an abnormal element pair and thereafter excluded from the target of coordinate determination. That is, even if it is determined that the light is shielded from light, the registered coordinates of the abnormal element pair are not the determination target when determining the coordinates. Alternatively, in the light-shielding determination after the driving scanning thereafter, the normal light-shielding determination is omitted for the abnormal element pair, or it is forcibly regarded as “no light-shielding” regardless of the result of the light-shielding determination. This prevents the touch panel device from reporting incorrect coordinates.

また、1個の異常素子対について座標決定処理の対象か
ら除外し、あるいは遮光判定を「遮光無」とみなして
も、通常の座標指示では、指または同等の指示部材によ
り、同時に複数の素子対についての遮光が生じるので、
支障なく継続使用できる。すなわち、偶然、その異常素
子対について座標指示が行われた場合でも、同時に他の
素子対についても遮光が生じているので座標検出は行わ
れる。1座標値程度の誤差が生じる可能性はあるが、通
常、指示すべき領域は広くとってあるので、まったく問
題はない。
Even if one abnormal element pair is excluded from the target of the coordinate determination process or the light-shielding determination is regarded as “no light-shielding”, in normal coordinate instruction, a plurality of element pairs are simultaneously operated by a finger or an equivalent pointing member. So there is shading about
Can be used continuously without any problems. That is, even if the coordinate instruction is accidentally given to the abnormal element pair, the light is shielded from other element pairs at the same time, so that the coordinate detection is performed. Although an error of about one coordinate value may occur, there is usually no problem because the area to be designated is usually large.

異常素子対について「遮光無」とみなす代わりに、異常
素子の遮光状態を「隣接する素子対の遮光判定結果と同
一」と判断するようにしてもよい。この判断手法は、特
に、連続した複数の受光素子が遮光されていないことを
異常遮光と判断するような場合に適している。例えば、
異常素子対を挾んで連続3個の素子対が遮光された場合
に、異常素子対のみ「遮光無」とみなされたのでは、異
常遮光状態となるが、隣接素子対と遮光判定結果が同じ
とみなすようにすれば、このような不都合はなくなる。
Instead of regarding the abnormal element pair as “no light shielding”, the light shielding state of the abnormal element may be determined as “the same as the light shielding determination result of the adjacent element pair”. This determination method is particularly suitable when it is determined that there is abnormal light shielding when a plurality of continuous light receiving elements are not shielded. For example,
When three consecutive element pairs are shaded by sandwiching the abnormal element pair, if only the abnormal element pair is regarded as “no light shielding”, the abnormal light shielding state occurs, but the light shielding determination result is the same as that of the adjacent element pair. Such inconvenience will disappear if it is regarded as.

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

異常素子対として登録された素子対については、好まし
くは、通常の座標検出動作中に、駆動走査に代えて発光
制御を行い、正常に受光されたとき、異常でなくなった
と判断し、登録から抹消して当該素子対について遮光さ
れているか否かの判定を再開し、座標決定処理の対象と
する。これにより、何らかの原因により、特定の素子が
一時的に不良となった後に復旧した場合、あるいはタッ
チパネル、部品等が交換された場合、正常な状態に復帰
することができる。
Regarding the element pair registered as an abnormal element pair, preferably, during normal coordinate detection operation, light emission control is performed instead of drive scanning, and when light is normally received, it is determined that it is no longer abnormal and deletion from registration is performed. Then, the determination as to whether or not the element pair is shielded from light is restarted, and the coordinate determination process is performed. As a result, when a specific element temporarily becomes defective for some reason and then is recovered, or when a touch panel, a component, or the like is replaced, the normal state can be recovered.

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

[実施例] 以下、本発明の好適な一実施例について、詳細に説明す
る。
[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 the figure, elements similar to those of the conventional apparatus shown in FIG. 2 are designated by similar reference numerals.

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

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

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

異常遮光検出部94は、遮光判定結果テーブル72の内容か
ら、異常遮光が否かを判定する。計数手段80内のカウン
タは、各軸ごとに、連続して異常遮光と判定される素子
対の走査回数を計数する。各軸に異常遮光と判定された
素子対が2個以上存在する場合には、本実施例では左端
の素子対について計数する。カウンタを多数、例えば、
各素子対に1個用意するような場合には、このような対
処は不要である。カウンタの計数値が一定値を越えた場
合は、その素子対(座標)を異常素子対と判断して、第
7図に示すように、異常素子対テーブル73に登録する。
警報手段75は、この登録内容を参照して、異常と登録さ
れた素子対が存在する場合には、第1の警報としてLED
#1を点灯させる。本実施例では、異常素子対を1個の
み登録する。この意味からは、異常素子テーブル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. The counter in the counting means 80 continuously counts the number of times of scanning of the element pair which is determined to be abnormal light shielding for each axis. In the case where there are two or more element pairs determined to be abnormally shielded on each axis, the leftmost element pair is counted in this embodiment. Many counters, for example
When one is prepared for each element pair, such a countermeasure is unnecessary. When the count value of the counter exceeds a certain value, the element pair (coordinates) is determined to be an abnormal element pair and 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, the alarm means 75 outputs an LED as a first alarm.
Turn on # 1. In this embodiment, only one abnormal element pair is registered. From this meaning, the abnormal element table 73 is
Different from the one shown in FIG. 7, a number or the like for identifying the abnormal element pair may be stored.

異常素子テーブル73に登録された素子対については、以
後、座標決定部93は、座標決定処理の対象から除外す
る。あるいは、遮光判定部91は、その素子対について、
実際の遮光の有無にかかわらず「遮光無」と判定し、ま
たは「遮光無」と判定する代わりに、「隣接する素子対
の遮光判定結果と同じ」と判定するようにしてもよい。
The coordinate determining unit 93 thereafter excludes the element pair registered in the abnormal element table 73 from the target of the coordinate determining process. Alternatively, the light shielding determination unit 91, for the element pair,
Regardless of whether or not the light is actually shielded, it may be determined that “the light is not shielded” or that “the same as the light shield determination result of the adjacent element pair” is determined instead of the determination that the light is not shielded.

また、警報手段75は、異常素子テーブル73の内容、計数
手段80の出力および遮光判定結果テーブル72の内容によ
り、同時あるいは順次に2個以上の素子対が異常と判定
された場合に、LED#2を点灯する。この場合、遮光判
定部91は、異常素子テーブル73に登録されていない素子
対については、「遮光無」あるいは「隣接する素子対の
遮光判定結果と同じ」とはみなさず、通常の遮光判定を
続行する。そこで、再度、遮光無と判定されれば、警報
手段75はLED#2を消灯する。
Further, the alarm means 75 uses the LED # when the abnormal element table 73, the output of the counting means 80 and the light shielding determination result table 72 determine that two or more element pairs are abnormal simultaneously or sequentially. Turn on 2. In this case, the light blocking determination unit 91 does not consider the element pairs not registered in the abnormal element table 73 to be “no light blocking” or “same as the light blocking determination result of the adjacent element pair” and makes a normal light blocking determination. continue. Therefore, if it is determined again that no light is shielded, the alarm means 75 turns off the LED # 2.

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

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

正常時の動作は、第2図の装置の動作とほぼ同様であ
る。まず、駆動走査部91が異常素子テーブル73の1デー
タをチェックして(S11)、この場合、正常なので、1
個のLEDを点灯すなわち1素子スキャンし(S12)、全素
子のスキャンが終了するまで(S13)、これらのステッ
プを繰り返す。1素子スキャンの各結果は、受光データ
テーブル71に記憶される。遮光判定部91は、このテーブ
ル71の各データをスレッショルド値と比較し、各素子対
についての遮光の有無を判定する(S14)。この際、異
常素子テーブル73に異常素子対として登録されているも
のについては、判定を省略するする。判定結果は遮光判
定結果テーブル72に格納される。今、遮光があったとす
ると、異常遮光検出部94がテーブル72の内容から、異常
遮光が発生しているか否かを判定する(S15)。この実
施例では、1点ポインティング(X軸、Y軸ともに連続
した一塊の座標指示)のみを正常遮光とし、それ以外の
一方の軸の座標のみの遮光、不連続な座標の遮光を異常
遮光と判定する。正常遮光ならば、その座標が座標決定
部93で決定され、報告される(S16)。この際、異常素
子テーブル73に異常素子対として登録されているものに
ついては、座標決定処理の対象から除外する。
The normal operation is almost the same as that of the apparatus shown in FIG. First, the drive scanning unit 91 checks one piece of data in the abnormal element table 73 (S11).
Each LED is turned on, that is, one element is scanned (S12), and these steps are repeated until scanning of all elements is completed (S13). Each result of the one-element scan is stored in the received light data table 71. The light shielding determination unit 91 compares each data of the table 71 with the threshold value and determines the presence or absence of light shielding for each element pair (S14). At this time, the determination is omitted for the abnormal element pairs registered in the abnormal element table 73. The determination result is stored in the light-shielding determination result table 72. Now, assuming that there is light blocking, the abnormal light blocking detection unit 94 determines from the contents of the table 72 whether or not abnormal light blocking has occurred (S15). In this embodiment, only one-point pointing (indicating a block of continuous X-axis and Y-axis coordinates) is normally shielded, and only one axis of the other axes is shielded, and discontinuous coordinates are shielded abnormally. judge. If the shading is normal, the coordinates are determined by the coordinate determination unit 93 and reported (S16). At this time, those registered as an abnormal element pair in the abnormal element table 73 are excluded from the target of the coordinate determination processing.

タッチパネル使用中に、不良素子の発生等により異常遮
光が発生した場合には、ステップS15で検出される、そ
こで、その座標が前回遮光された座標と同一か否かが判
定される(S31)。異常遮光の座標が複数あれば、本実
施例では各軸について左端の座標についてのみ判断す
る。座標が同一であれば、異常素子カウンタが更新され
(S32)、この値が一定値を越えたかどうか判定される
(S33)。一定値を越えるまでは、最初のステップS11に
戻る。素子不良が発生した場合には、自然に回復しない
かぎりカウンタを更新しつづけ、予め定めた時間(例え
ば10秒)経過すると、カウンタ値は一定値を越える。不
良素子ではなく、たまたま指等により一方の軸方向のみ
の遮光となった場合には、次に異常遮光が発生したとき
にその座標が前回異常遮光された座標と異なれば、当該
異常素子カウンタはクリアされる(S38)。
If abnormal light blocking occurs due to the occurrence of a defective element or the like while using the touch panel, it is detected in step S15, and it is determined whether the coordinates are the same as the previously light-blocked coordinates (S31). If there are a plurality of abnormal light-shielding coordinates, in this embodiment, only the leftmost coordinate of each axis is 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). Until the value exceeds the fixed value, the process returns to the first step S11. When an element defect occurs, the counter is continuously updated unless it is naturally recovered, and the counter value exceeds a certain value after a lapse of a predetermined time (for example, 10 seconds). If it is not a defective element, but it happens that the light is blocked in only one axial direction by a finger, etc., if the coordinate is different from the coordinate of the previous abnormal light blocking when the abnormal light blocking occurs next, the abnormal element counter will be Cleared (S38).

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

ステップ34で2個以上と判定された場合には、LED#2
を点灯する。LED#2が点灯している間は、本実施例で
は使用不可と判断し、座標報告は行わない。LED#2点
灯の原因が障害物によるものであれば、その障害物を取
り除けば、ステップS14において、遮光無と判定され、L
ED#2は消灯され(S17)、使用可となる。障害物を取
り除いても、LED#2が消灯しない場合には、保守員に
連絡し、タッチパネル交換により復旧する。
If it is determined in step 34 that there are two or more LEDs, LED # 2
Lights up. While the LED # 2 is lit, in this embodiment, it is determined that the LED cannot be used and the coordinate report is not made. If the cause of lighting of LED # 2 is due to an obstacle, if the obstacle is removed, it is determined in step S14 that no light is blocked, and L
ED # 2 is turned off (S17) and is ready for use. If LED # 2 does not go out even after removing the obstacle, contact maintenance personnel and restore by touch panel replacement.

LED#1点灯後に、ステップS11に戻ったときは、異常素
子テーブル参照により、登録されている異常素子対につ
いては、点灯制御して正常に受光されるかを調べ(S1
3)、正常に受光されれば、復旧したと判断して異常素
子テーブルからその素子対の登録を除外し(S19)、LED
#1を消灯する。復旧していなければ、そのまま次の素
子のスキャンに移行する。
When the process returns to step S11 after turning on LED # 1, it is checked by referring to the abnormal element table whether or not the registered abnormal element pair is normally light-controlled (S1
3) If the light is received normally, it is judged that it has been recovered and the registration of the element pair is excluded from the abnormal element table (S19), and the LED is
Turn off # 1. If it has not been recovered, the process directly moves to the scan of 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 used without any trouble.

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

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

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

(3)誤ってタッチパネルが紙や布等の障害物に覆われ
るようなことがあった場合には、操作者は、この状態を
LED#2の点灯により認識し、その障害物を除去するこ
とにより、正常動作に復帰することができる。障害物を
除去しても、あるいは障害物がないにもかかわらず、LE
D#2が点灯している場合には、複数の素子の故障と判
断できる。
(3) If the touch panel is accidentally covered with an obstacle such as paper or cloth, the operator should set this state.
By recognizing by turning on LED # 2 and removing the obstacle, normal operation can be restored. LE with or without obstruction
When D # 2 is lit, it can be determined that a plurality of elements have failed.

以上、本発明の好適な実施例について説明したが、本発
明の要旨を逸脱することなく、種々の変更を行うことは
可能である。例えば、上記実施例では、信頼性の見地か
ら単一の素子が故障した場合のみ、継続使用可能とした
が、各軸について1個、計2個の素子が故障した場合、
あるいは同軸上に一定距離以上離れた2個以上の素子が
故障した場合にも、継続使用できるようにすることも可
能である。
Although the preferred embodiments of the present invention have been described above, various modifications can be made without departing from the gist of the present invention. For example, in the above embodiment, from the viewpoint of reliability, continuous use is possible only when a single element fails, but when one element for each axis, two elements in total, fails,
Alternatively, even if two or more elements that are coaxially separated from each other by a certain distance or more fail, it is possible to continue use.

[発明の効果] 本発明によれば、タッチパネル使用中に、タッチパネル
の発光素子または受光素子の異常を自動的に検出でき、
これにより、警報を発して操作者に報知することができ
るのみならず、その素子について通常の遮光判定を行わ
ないようにすることにより、誤った座標が報告される事
態を回避しつつ、タッチパネル使用を続行することが可
能となる。
EFFECTS OF THE INVENTION According to the present invention, it is possible to automatically detect an abnormality in the light emitting element or the light receiving element of the touch panel while using the touch panel,
As a result, not only can an alarm be issued to notify the operator, but by not performing the normal light-shielding judgment for that element, the situation in which incorrect coordinates are reported can be avoided while using the touch panel. Will be able to continue.

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

第1図は本発明によるタッチパネル装置の一実施例のブ
ロック図、第2図は従来のタッチパネル装置のブロック
図、第3図および第4図は光学方式のタッチパネル装置
における座標検出原理の説明図、第5図は従来のタッチ
パネル装置における座標検出処理のフローチャート、第
6図は本発明のタッチパネル装置の座標検出処理のフロ
ーチャート、第7図は第1図の異常素子テーブルの説明
図、第8図は異常素子の発生による誤った座標検出の説
明図である。 10……LEDアレイ、20……受光素子アレイ、 30……セレクタ、35……LEDドライバ、 40……マルチプレクサ、45……タイミング発生回路、 50……アナログデジタル変換器、60……レジスタ、 70……メモリ、71……受光データテーブル、 72……遮光判定結果テーブル、 73……異常素子テーブル、75……警報手段、 80……計数手段、90……処理装置、91……駆動走査部、 92……遮光判定部、93……座標決定部、 94……異常遮光検出部、95……復旧検出部
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 a coordinate detection principle in an optical touch panel device. FIG. 5 is a flowchart of coordinate detection processing in the conventional touch panel device, FIG. 6 is a flowchart of coordinate detection processing in the touch panel device of the present invention, FIG. 7 is an explanatory diagram of the abnormal element table of FIG. 1, and FIG. It is explanatory drawing of erroneous coordinate detection by generation | occurrence | production of an abnormal element. 10 ... LED array, 20 ... photodetector array, 30 ... selector, 35 ... LED driver, 40 ... multiplexer, 45 ... timing generation circuit, 50 ... analog-digital converter, 60 ... register, 70 ...... Memory, 71 ...... Receiving data table, 72 ...... Light shielding judgment result table, 73 …… Abnormal element table, 75 …… Alarm means, 80 …… Counting means, 90 …… Processing device, 91 …… Driving scanning unit , 92 ... light-shielding judgment unit, 93 ... coordinate determination unit, 94 ... abnormal light-shielding detection unit, 95 ... restoration detection unit

フロントページの続き (72)発明者 一二三 勝也 茨城県日立市大みか町5丁目2番1号 日 立プロセスコンピュータエンジニアリング 株式会社内 (56)参考文献 特開 昭63−8920(JP,A) 特開 昭60−142477(JP,A) 実開 昭63−12225(JP,U)Front Page Continuation (72) Inventor Katsuya Ichizo 52-1 Omika-cho, Hitachi-shi, Ibaraki Hitachi Process Computer Engineering Co., Ltd. (56) Reference JP-A-63-8920 (JP, A) Kai 60-142477 (JP, A) Actual Sho 63-12225 (JP, U)

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】発光素子および受光素子の複数対が座標検
出領域を挾んでX軸方向に配置されるとともに、他の発
光素子および受光素子の複数対が上記座標検出領域を挾
んでY軸方向に配置され、上記各複数対を順次周期的に
駆動走査して、上記座標検出領域内において遮光された
素子対に対応したX軸およびY軸座標を検出するタッチ
パネルの制御方法であって、 通常の座標検出動作中に、各素子対について異常遮光状
態にあるか否かを検出する異常検出処理を継続的に行な
い、 該異常検出処理により異常素子対が検出されたときに
は、第1の警報を継続的または周期的に発するととも
に、以後、当該異常素子対については座標検出処理の対
象から除外し、 X軸およびY軸の少なくとも一方の軸において、複数の
異常素子対が検出されたときには、上記第1の警報と異
なる第2の警報を発するとともに、該複数の異常素子対
の少なくとも1つについては遮光判定処理を継続し、 その後、当該座標検出処理を継続している異常素子対に
ついて「遮光無」と判断されたとき、上記第2の警報を
停止することを特徴とするタッチパネルの制御方法。
1. A plurality of pairs of light emitting elements and light receiving elements are arranged in the X-axis direction across a coordinate detection area, and a plurality of pairs of other light emitting elements and light receiving elements are arranged across the coordinate detection area in the Y-axis direction. A method of controlling a touch panel, wherein the plurality of pairs are sequentially driven and scanned periodically to detect X-axis and Y-axis coordinates corresponding to light-shielded element pairs in the coordinate detection area. During the coordinate detection operation, the abnormality detection process for detecting whether each element pair is in the abnormal light shielding state is continuously performed. When the abnormal element pair is detected by the abnormality detection process, the first alarm is issued. It is generated continuously or periodically, and thereafter, the abnormal element pair is excluded from the target of the coordinate detection processing, and a plurality of abnormal element pairs are detected in at least one of the X axis and the Y axis. A second alarm different from the first alarm, and continues the light-shielding determination processing for at least one of the plurality of abnormal element pairs, and then continues the coordinate detection processing. A method for controlling a touch panel, wherein the second alarm is stopped when it is determined that the pair is “not shielded”.
【請求項2】上記少なくとも一方の軸において、上記複
数の異常素子対が同時に検出された場合、これらの異常
素子対のすべてについて遮光判定処理を継続し、上記複
数の異常素子対が順次検出された場合、2つ目以降の異
常素子対について遮光判定処理を継続することを特徴と
する請求項1記載のタッチパネルの制御方法。
2. When the plurality of abnormal element pairs are simultaneously detected on at least one of the axes, the light-shielding determination process is continued for all of these abnormal element pairs, and the plurality of abnormal element pairs are sequentially detected. The control method of the touch panel according to claim 1, wherein the light-shielding determination process is continued for the second and subsequent abnormal element pairs.
【請求項3】上記座標検出処理の対象から除外した異常
素子対については、「遮光無」とみなすか、または「隣
接する素子対の遮光判定結果と同一」とみなすことを特
徴とする請求項1または2記載のタッチパネルの制御方
法。
3. The abnormal element pair excluded from the target of the coordinate detection processing is regarded as "no light shielding" or "identical with the light shielding determination result of the adjacent element pair". The method for controlling the touch panel according to 1 or 2.
【請求項4】上記通常の座標検出動作時の遮光は、各軸
において同時に複数の連続する素子対について行なわれ
ることを特徴とする請求項1、2または3記載のタッチ
パネルの制御方法。
4. The touch panel control method according to claim 1, wherein the light shielding during the normal coordinate detecting operation is performed simultaneously for a plurality of consecutive element pairs in each axis.
【請求項5】通常の座標検出動作ではありえない遮光状
態にある素子対を上記異常遮光状態にある素子対である
と判断することを特徴とする請求項1記載のタッチパネ
ルの制御方法。
5. The touch panel control method according to claim 1, wherein an element pair in a light-shielded state that cannot be obtained by a normal coordinate detection operation is determined to be an element pair in the abnormal light-shielded state.
【請求項6】X軸およびY軸の一方のみで遮光状態にあ
る素子対を上記異常遮光状態にある素子対であると判断
することを特徴とする請求項1または5記載のタッチパ
ネルの制御方法。
6. The touch panel control method according to claim 1, wherein an element pair in a light-shielded state only on one of the X-axis and the Y-axis is determined to be an element pair in the abnormal light-shielded state. .
【請求項7】予め定めた一定時間以上連続して遮光され
ている素子対を上記異常遮光状態にある素子対であると
判断することを特徴とする請求項1または5記載のタッ
チパネルの制御方法。
7. The touch panel control method according to claim 1, wherein a pair of elements that are continuously shielded from light for a predetermined time or more is determined to be the pair of elements in the abnormally shielded state. .
【請求項8】上記座標検出処理の対象から除外された異
常素子対について、上記通常の座標検出動作中に周期的
に発光制御を行い、正常に受光されたとき、異常でなく
なったと判断し、当該素子対について遮光判定処理を再
開し、座標検出処理の対象とすることを特徴とする請求
項1または3記載のタッチパネルの制御方法。
8. An abnormal element pair excluded from the target of the coordinate detection processing is periodically subjected to light emission control during the normal coordinate detection operation, and when the light is normally received, it is determined that it is no longer abnormal. 4. The touch panel control method according to claim 1, wherein the light-shielding determination process is restarted for the element pair to be a target of the coordinate detection process.
【請求項9】上記遮光判定処理を再開した素子対につい
ての上記第1の警報を停止することを特徴とする請求項
8記載のタッチパネルの制御方法。
9. The touch panel control method according to claim 8, wherein the first alarm for the element pair for which the light-shielding determination processing is restarted is stopped.
【請求項10】座標検出領域を挾んでX軸方向に配置さ
れた発光素子および受光素子の第1の複数対と、上記座
標検出領域を挾んでY軸方向に配置された発光素子およ
び受光素子の第2の複数対と、該各複数対を順次周期的
に駆動走査する駆動走査手段とを有し、遮光された素子
対に対応した座標を決定出力するタッチパネル装置にお
いて、 上記走査ごとに、各素子対について遮光があったか否か
を判定する遮光判定手段と、 該遮光判定手段の判定結果から異常遮光状態を検出する
異常遮光検出手段と、 該異常遮光検出手段により異常遮光状態が検出された素
子対について、当該異常遮光状態が連続している走査の
回数を計数する計数手段と、 該計数手段の計数値が予め定めた値を越えた素子対のう
ち、各軸ごとに1素子対のみを異常素子対として登録す
る異常素子登録手段と、 上記異常素子登録手段の登録内容を参照して、異常と登
録されている素子対については、遮光判定の対象から除
外し、登録されていない異常素子対については遮光判定
を継続するよう、上記遮光判定手段を制御する制御手段
と、 上記異常素子対が上記異常素子登録手段に登録されたと
き、第1の警報を発する第1の警報手段と、 いずれかの軸において、上記異常素子登録手段に登録さ
れた異常素子対以外の素子対が異常と判定されたとき、
第2の警報を発する第2の警報手段とを備え、 上記遮光判定が継続されている異常素子対について、上
記遮光判定手段により「遮光無」と判定されたとき、上
記第2の警報手段は第2の警報を停止することを特徴と
するタッチパネル装置。
10. A first plurality of pairs of light emitting elements and light receiving elements arranged in the X-axis direction across the coordinate detection area, and light emitting elements and light receiving elements arranged in the Y axis direction across the coordinate detection area. In a touch panel device for determining and outputting coordinates corresponding to a light-shielded element pair, comprising: A light-shielding determination unit that determines whether or not there is light-shielding for each element pair, an abnormal light-shielding detection unit that detects an abnormal light-shielded state from the determination result of the light-shielding determination unit, and an abnormal light-shielded state is detected by the abnormal light-shielding detection unit. Of the element pair, counting means for counting the number of scans in which the abnormal light-shielding state continues, and only one element pair for each axis among the element pairs in which the count value of the counting means exceeds a predetermined value The abnormal element With reference to the abnormal element registration means registered as a pair and the registered contents of the abnormal element registration means, the element pair registered as abnormal is excluded from the target of the light shielding determination, and the abnormal element pair not registered is registered. Is a control means for controlling the light-shielding determination means so as to continue the light-shielding determination, and a first alarm means for issuing a first alarm when the abnormal element pair is registered in the abnormal element registration means. On the axis of, when the element pair other than the abnormal element pair registered in the abnormal element registration means is determined to be abnormal,
A second alarm means for issuing a second alarm, and when the light shielding determination means determines “no light shielding” for the abnormal element pair for which the light shielding determination is continued, the second alarm means A touch panel device characterized by stopping a second alarm.
【請求項11】上記遮光判定手段は、上記異常素子登録
手段の登録内容を参照して、異常と登録されている素子
対については、「遮光無」または「隣接する素子対の遮
光判定結果と同一」とみなすことを特徴とする請求項10
記載のタッチパネル装置。
11. The light-shielding judging means refers to the registered contents of the abnormal element registering means, and judges "no light-shielding" or "light-shielding judging result of an adjacent element pair" for an element pair registered as abnormal. Claim 10 characterized as "identical"
The touch panel device described.
【請求項12】上記異常素子登録手段に登録された異常
素子対について、周期的に発光制御を行ない、正常に受
光されたとき、その異常素子対の上記異常素子登録手段
への登録を解除する復旧検出手段を設けたことを特徴と
する請求項10または11記載のタッチパネル装置。
12. An abnormal element pair registered in the abnormal element registration means is periodically subjected to light emission control, and when the light is normally received, the registration of the abnormal element pair in the abnormal element registration means is canceled. 12. The touch panel device according to claim 10 or 11, further comprising recovery detection 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 JPH02137013A (en) 1990-05-25
JPH0750424B2 true 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)

Families Citing this family (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
JP5127337B2 (en) * 2007-07-23 2013-01-23 キヤノン株式会社 Coordinate input device, control method therefor, and computer program
JP5324072B2 (en) * 2007-09-26 2013-10-23 株式会社三共 Slot machine
JP5120846B2 (en) * 2008-09-25 2013-01-16 サミー株式会社 Bullet ball machine
KR101372423B1 (en) * 2012-03-26 2014-03-10 주식회사 알엔디플러스 Multi-touch on touch screen apparatus
JP6204791B2 (en) * 2013-10-25 2017-09-27 アルパイン株式会社 Touch panel input device
JP6774408B2 (en) * 2015-07-17 2020-10-21 富士電機株式会社 Optical touch panel and vending machine

Also Published As

Publication number Publication date
JPH02137013A (en) 1990-05-25

Similar Documents

Publication Publication Date Title
US5003505A (en) Touchscreen/keyboard scanner
US5196835A (en) Laser touch panel reflective surface aberration cancelling
US20110205189A1 (en) Stereo Optical Sensors for Resolving Multi-Touch in a Touch Detection System
JP5127337B2 (en) Coordinate input device, control method therefor, and computer program
JPH0750424B2 (en) Touch panel control method and touch panel device
JPH0695802A (en) Automatic transaction device, display device and touch panel
JP3469912B2 (en) Touch panel input device and input method capable of multiple simultaneous inputs
KR101837806B1 (en) Multi-optical axis photoelectric sensor system
JPS58214B2 (en) multiplexer
JP2007080251A (en) System and method for fault detection and recovery for optical input area
JPH05298027A (en) Touch input type data processor
EP0362109B1 (en) Method of cancelling aberrations in a laser touch panel reflective surface
CN103543881A (en) Mistaken-clicking-preventing identification method of touch screen
JP2689519B2 (en) Touch panel device
JPS60156132A (en) Optical transmission type touch input device
JPH06230145A (en) Optical detector
JP3585472B2 (en) Optical detector
JPH0239315A (en) Display device
JP3419884B2 (en) Control system
JPH0749208A (en) Optical detector
US11526228B1 (en) Method for monitoring an operation condition of an interactive information system
JP2005173684A (en) Optical coordinate input device
JP2001043019A (en) Coordinate detector
KR20050041454A (en) Touch sensing method in touch panel and touch panel incorporating the same
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