JPH11143624A - Optical scanning touch panel - Google Patents
Optical scanning touch panelInfo
- Publication number
- JPH11143624A JPH11143624A JP22086898A JP22086898A JPH11143624A JP H11143624 A JPH11143624 A JP H11143624A JP 22086898 A JP22086898 A JP 22086898A JP 22086898 A JP22086898 A JP 22086898A JP H11143624 A JPH11143624 A JP H11143624A
- Authority
- JP
- Japan
- Prior art keywords
- optical scanning
- touch panel
- predetermined
- light
- pointer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Position Input By Displaying (AREA)
Abstract
(57)【要約】
【課題】 直接的に得られるデータから演算によって指
またはペン等の指示物の位置及び大きさを求める際にそ
の算出結果の精度を高くできる光走査型タッチパネルを
提供する。
【解決手段】 表示画面10に位置する指示物Sを光学
的に走査する光送受ユニット1a,1bと、これらによ
る走査の結果に基づいて指示物Sの位置及び大きさを算
出する算出手段51とを備え、算出手段51が、指示物
Sの位置及び大きさを算出するための所定数の一連の数
値列を平滑化するようにし、その平滑化処理の結果を使
用して指示物Sの位置及び大きさを算出する。
(57) [Problem] To provide an optical scanning type touch panel capable of improving the accuracy of the calculation result when calculating the position and size of an indicator such as a finger or a pen by calculation from directly obtained data. SOLUTION: An optical transmission / reception unit 1a, 1b for optically scanning an indicator S located on a display screen 10, a calculator 51 for calculating a position and a size of the indicator S based on a result of scanning by the units. Calculation means 51 smoothes a predetermined number of series of numerical values for calculating the position and size of the pointer S, and uses the result of the smoothing process to position the pointer S. And the size are calculated.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、コンピュータシス
テム等により情報が表示される表示装置の表示画面上で
の指示物の位置及び大きさを光学的に検出する光走査型
タッチパネルに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical scanning type touch panel for optically detecting the position and size of an indicator on a display screen of a display device on which information is displayed by a computer system or the like.
【0002】[0002]
【従来の技術】主としてパーソナルコンピュータ等のコ
ンピュータシステムの普及に伴って、コンピュータシス
テムにより情報が表示される表示装置の表示画面上を人
の指または特定の指示物により指示することにより、新
たな情報を入力したり、コンピュータシステムに対して
種々の指示を与えたりする装置が利用されている。2. Description of the Related Art With the spread of computer systems such as personal computers, new information is obtained by pointing a display screen of a display device on which information is displayed by the computer system with a human finger or a specific indicator. For example, a device for inputting an instruction or giving various instructions to a computer system is used.
【0003】このようなパーソナルコンピュータ等の表
示装置の表示画面に表示された情報に対してタッチ方式
にて入力操作を行う場合には、その表示画面上での接触
位置(指示位置)を高精度に検出する必要がある。この
ような座標面となる表示画面上の指示位置を検出する方
法として、「キャロル方式」(米国特許4,267,4
43号)が知られている。この方法は、表示画面の前面
の枠に発光素子と受光素子とを対向配置させることによ
って表示画面の前面に光のマトリックスを構成し、指ま
たはペンの接触による光の遮断位置を検出している。こ
の方法では、高いS/Nが得られて大型の表示装置に適
用を拡張させることも可能であるが、発光素子及び受光
素子の配置間隔に検出の分解能が比例するので、検出の
分解能を高めるためにはその配置間隔を狭くする必要が
ある。従って、大画面に対してペン先等のような細い物
で接触した場合にもその接触位置を精度良く検出するた
めには、配置すべき発光素子及び受光素子の数が増大
し、構成が大嵩になると共に、信号処理も複雑になると
いう問題がある。When an input operation is performed on information displayed on a display screen of a display device such as a personal computer by a touch method, a contact position (pointed position) on the display screen is determined with high precision. Need to be detected. As a method of detecting a pointed position on a display screen serving as such a coordinate plane, a “Carroll method” (U.S. Pat.
No. 43) is known. In this method, a light matrix is formed on the front surface of the display screen by arranging a light emitting element and a light receiving element in a frame on the front surface of the display screen to detect a light blocking position due to contact of a finger or a pen. . In this method, a high S / N can be obtained and the application to a large display device can be extended. However, since the detection resolution is proportional to the arrangement interval of the light emitting element and the light receiving element, the detection resolution is increased. Therefore, it is necessary to narrow the arrangement interval. Therefore, even when a large screen is touched by a thin object such as a pen tip, in order to accurately detect the contact position, the number of light emitting elements and light receiving elements to be arranged increases, and the configuration is large. There is a problem that the signal processing becomes complicated and signal processing becomes complicated.
【0004】また、他の光学的な位置検出方法が、特開
昭57−211637号公報に開示されている。この方
法は、レーザ光線のような絞った光を表示画面の外側か
ら角的に走査し、反射手段を有する専用ペンからの反射
光の2つのタイミングから専用ペンが存在する角度をそ
れぞれ求め、求めた角度を三角測量の原理にあてはめて
位置座標を計算にて検出する。この方法では、部品点数
を大幅に削減でき、また、高い分解能を有することも可
能である。しかしながら、専用の反射ペンを利用しなけ
ればならない等、操作性に問題があり、また、指,任意
のペン等の位置は検出することができない。[0004] Another optical position detecting method is disclosed in Japanese Patent Application Laid-Open No. 57-211637. In this method, a focused light such as a laser beam is angularly scanned from the outside of a display screen, and an angle at which a dedicated pen is present is obtained from two timings of reflected light from a dedicated pen having reflecting means. By applying the angle to the principle of triangulation, the position coordinates are detected by calculation. With this method, the number of parts can be significantly reduced, and high resolution can be achieved. However, there is a problem in operability such as the necessity of using a dedicated reflecting pen, and the position of a finger, an arbitrary pen, or the like cannot be detected.
【0005】更に他の光学的な位置検出方法が、特開昭
62−5428号公報に提案されている。この方法は、
表示画面の両側枠に光再帰性反射体を配置し、角的に走
査した光線のこの光再帰性反射体からの戻り光を検知
し、指またはペンによって光線が遮断されるタイミング
から指またはペンの存在角度を求め、求めた角度から三
角測量の原理にて位置座標を検出する。この方法では、
部品点数が少なくて検出精度を維持でき、指,任意のペ
ン等の位置も検出できる。[0005] Still another optical position detecting method has been proposed in Japanese Patent Application Laid-Open No. Sho 62-5428. This method
Light retroreflectors are arranged on both side frames of the display screen, and the light returned by the light retroreflectors of the angularly scanned light beams is detected. Is found, and the position coordinates are detected from the found angle by the principle of triangulation. in this way,
Since the number of parts is small, the detection accuracy can be maintained, and the position of a finger, an arbitrary pen or the like can be detected.
【0006】[0006]
【発明が解決しようとする課題】しかしながら、いずれ
の手法においても、直接的に得られるデータから演算に
より指またはペン等の指示物の位置及び大きさを求める
のであるが、その演算をより確度が高いものとする必要
がある。また、明らかにエラーと見なされるべき結果が
得られると予想される場合、または、そのような結果が
得られた場合に、そのまま演算を続行すると誤った結果
が出力されてしまう。However, in any of the methods, the position and size of an indicator such as a finger or a pen are obtained by calculation from directly obtained data. However, the calculation is more accurate. It needs to be expensive. Further, when it is expected that a result that should be clearly regarded as an error is obtained, or when such a result is obtained, an erroneous result will be output if the operation is continued as it is.
【0007】本発明は斯かる事情に鑑みてなされたもの
であり、直接的に得られるデータから演算により指また
はペン等の指示物の位置及び大きさを求める場合に、そ
の演算をより確度が高いものとすることが可能である光
走査型タッチパネルを提供することを目的とする。The present invention has been made in view of such circumstances, and when calculating the position and size of a pointing object such as a finger or a pen from directly obtained data by calculation, the calculation is more accurate. It is an object of the present invention to provide an optical scanning type touch panel that can be made expensive.
【0008】本発明の他の目的は、指示物の位置及び/
または大きさについて明らかにエラーと見なされるべき
演算結果が得られると予想される場合、または、そのよ
うな演算結果が得られた場合には演算処理を中止する
か、または得られた演算結果を廃棄することを可能とし
た光走査型タッチパネルを提供することにある。Another object of the present invention is to provide a position and / or position of an indicator.
Or, when it is expected that an operation result that should be clearly regarded as an error in magnitude is obtained, or when such an operation result is obtained, the arithmetic processing is stopped, or the obtained operation result is An object of the present invention is to provide an optical scanning type touch panel that can be disposed of.
【0009】[0009]
【課題を解決するための手段】請求項1の光走査型タッ
チパネルは、所定領域に位置する指示物を光学的に走査
する光学的走査手段と、該光学的走査手段による走査の
結果に基づいて前記指示物の位置及び大きさを算出する
算出手段とを備えた光走査型タッチパネルにおいて、前
記算出手段は、前記指示物の位置及び大きさを算出する
処理中の特定の段階において、所定数の一連の数値列を
平滑化する平滑化処理手段を有し、前記平滑化処理手段
による平滑化処理の結果を使用して前記指示物の位置及
び大きさを算出すべくなしてあることを特徴とする。According to a first aspect of the present invention, there is provided an optical scanning type touch panel, comprising: an optical scanning unit for optically scanning an indicator located in a predetermined area; and a scanning result by the optical scanning unit. A light scanning type touch panel comprising: a calculating unit configured to calculate a position and a size of the indicator, wherein the calculating unit performs a predetermined number of processes at a specific stage during a process of calculating the position and the size of the indicator. It has smoothing processing means for smoothing a series of numerical values, and is adapted to calculate the position and size of the pointer using a result of the smoothing processing by the smoothing processing means. I do.
【0010】請求項2の光走査型タッチパネルは、請求
項1において、前記光学的走査手段は、前記所定領域の
外側に設けた光再帰性反射手段と、前記所定領域と実質
的に平行である面内で光を角的に走査する光走査手段、
及び、光によって照射された部分の前記光再帰性反射手
段による反射光を受光する受光手段を有する少なくとも
2組の光送受手段と、前記光走査手段での走査角度及び
前記受光手段での受光結果に基づいて、前記指示物にて
形成される前記所定領域での走査光の遮断範囲を計測す
る計測手段とを有することを特徴とする。According to a second aspect of the present invention, in the optical scanning type touch panel according to the first aspect, the optical scanning means is substantially parallel to the light retroreflecting means provided outside the predetermined area and the predetermined area. Light scanning means for angularly scanning light in a plane,
And at least two sets of light transmitting / receiving means having light receiving means for receiving light reflected by the light retroreflecting part of a portion irradiated by light, a scanning angle by the light scanning means, and a light receiving result by the light receiving means And measuring means for measuring a blocking range of the scanning light in the predetermined area formed by the pointer based on
【0011】請求項3の光走査型タッチパネルは、請求
項1または2において、前記平滑化処理手段は、前記光
学的走査手段による直近の過去の一連の所定回数の走査
の結果を平滑化処理し、前記算出手段は、前記平滑化処
理手段による平滑化処理の結果に基づいて前記指示物の
位置及び大きさを算出すべくなしてあることを特徴とす
る。According to a third aspect of the present invention, in the optical scanning type touch panel according to the first or second aspect, the smoothing processing means performs a smoothing process on a result of the latest series of predetermined number of scans by the optical scanning means. The calculation means is adapted to calculate the position and size of the pointer based on the result of the smoothing processing by the smoothing processing means.
【0012】請求項4の光走査型タッチパネルは、請求
項1または2において、前記光学的走査手段は、前記光
学的走査手段による一回の光学的走査の結果に基づいて
前記指示物の位置及び大きさを算出し、前記平滑化処理
手段は、前記光算出手段による直近の過去の一連の所定
回数の算出結果を平滑化処理すべくなしてあることを特
徴とする。According to a fourth aspect of the present invention, in the optical scanning type touch panel according to the first or second aspect, the optical scanning means determines a position of the indicator and a position of the pointing object based on a result of one optical scanning by the optical scanning means. The size is calculated, and the smoothing processing means is configured to perform a smoothing process on a series of predetermined numbers of calculation results in the most recent past by the light calculation means.
【0013】請求項5の光走査型タッチパネルは、請求
項3または4において、前記平滑化処理手段は、平滑化
すべき一連の数値列中の所定の条件を満たす数値を選択
して平滑化処理すべくなしてあることを特徴とする。According to a fifth aspect of the present invention, in the optical scanning type touch panel according to the third or fourth aspect, the smoothing processing means selects a numerical value satisfying a predetermined condition from a series of numerical values to be smoothed and performs a smoothing process. It is characterized by what it does.
【0014】請求項6の光走査型タッチパネルは、請求
項3または4において、前記平滑化処理手段は、平滑化
すべきm個(mは1以上の自然数)の数値列中の、値が
大なる順からn1個及び小なる順からn2個を除外した
残りの数値を平滑化処理すべくなしてあることを特徴と
する。According to a sixth aspect of the present invention, in the light scanning type touch panel according to the third or fourth aspect, the smoothing processing means increases a value in a m (m is a natural number of 1 or more) numerical value sequence to be smoothed. The remaining numerical values excluding n1 from the order and n2 from the ascending order are smoothed.
【0015】請求項7の光走査型タッチパネルは、請求
項3または4において、前記平滑化処理手段は、平滑化
すべき数値列における標準偏差が小なる所定数の数値を
平滑化処理すべくなしてあることを特徴とする。According to a seventh aspect of the present invention, in the light scanning type touch panel according to the third or fourth aspect, the smoothing processing means smoothes a predetermined number of numerical values having a small standard deviation in a numerical value sequence to be smoothed. There is a feature.
【0016】請求項8の光走査型タッチパネルは、請求
項3または4において、前記平滑化処理手段は、平滑化
すべき数値列における標準偏差が小なる所定数の数値の
内の最大の標準偏差の数値が所定値より大なる場合には
所定のエラー処理を行うべくなしてあることを特徴とす
る。According to an eighth aspect of the present invention, in the light scanning type touch panel according to the third or fourth aspect, the smoothing processing means is configured to determine a maximum standard deviation of a predetermined number of numerical values having a small standard deviation in a numerical value sequence to be smoothed. When the numerical value is larger than a predetermined value, a predetermined error processing is performed.
【0017】請求項9の光走査型タッチパネルは、請求
項1または2において、前記算出手段は、前記光学的走
査手段による走査の結果が、所定の基準範囲外である場
合には、所定のエラー処理を行うべくなしてあることを
特徴とする。According to a ninth aspect of the present invention, in the optical scanning type touch panel according to the first or second aspect, the calculating means determines that a predetermined error occurs when a result of scanning by the optical scanning means is out of a predetermined reference range. It is characterized in that processing is performed.
【0018】請求項10の光走査型タッチパネルは、請
求項1または2において、前記算出手段は、前記指示物
が前記所定領域外部に位置することを意味する算出結果
が得られた場合には、所定のエラー処理を行うべくなし
てあることを特徴とする。According to a tenth aspect of the present invention, in the first or the second aspect, the calculating means may obtain a calculation result indicating that the indicator is located outside the predetermined area. It is characterized in that predetermined error processing is performed.
【0019】請求項11の光走査型タッチパネルは、所
定領域に位置する指示物を光学的に走査する光学的走査
手段と、該光学的走査手段による走査の結果に基づいて
前記指示物の特徴量を計測する計測手段と、該計測手段
によって計測された特徴量に基づいて前記指示物の位置
及び大きさを算出する算出手段とを備えた光走査型タッ
チパネルにおいて、前記算出手段は、前記計測手段によ
って計測された特徴量が所定範囲内にあるか否かを判別
する判別部と、所定範囲内にあると判別された所定数の
一連の特徴量の数値列を平滑化する第1平滑化処理部
と、該第1平滑化処理部にて得られる平滑化特徴量を用
いて前記指示物の位置及び大きさを算出する位置・大き
さ算出部と、算出された所定数の一連の位置及び/また
は大きさの数値列を平滑化する第2平滑化処理部と、該
第2平滑化処理部による平滑化処理の結果を使用して前
記指示物の位置及び大きさを算出すべくなしてあること
を特徴とする。An optical scanning touch panel according to an eleventh aspect of the present invention is an optical scanning type touch panel, comprising: an optical scanning unit for optically scanning an indicator located in a predetermined area; and a characteristic amount of the indicator based on a result of the scanning by the optical scanning unit. A light scanning type touch panel, comprising: a measuring unit that measures the position of the pointer based on the characteristic amount measured by the measuring unit; and a calculating unit that calculates a position and a size of the pointer based on the feature amount measured by the measuring unit. And a first smoothing process for smoothing a series of numerical values of a predetermined number of feature amounts determined to be within the predetermined range. Unit, a position / size calculation unit that calculates the position and size of the pointer using the smoothing feature amount obtained in the first smoothing processing unit, and a calculated number of a series of positions and / Or a numeric sequence of sizes A second smoothing processing section for smoothing, characterized in that using the results of the smoothing process by the second smoothing processing unit are no order to calculate the position and size of the indicator substance.
【0020】請求項12の光走査型タッチパネルは、請
求項11において、前記光学的走査手段は、前記所定領
域の外側に設けた光再帰性反射手段と、前記所定領域と
実質的に平行である面内で光を角的に走査する光走査手
段、及び、光によって照射された部分の前記光再帰性反
射手段による反射光を受光する受光手段を有する少なく
とも2組の光送受手段と、前記光走査手段での走査角度
及び前記受光手段での受光結果に基づいて、前記指示物
にて形成される前記所定領域での走査光の遮断範囲を計
測する計測手段とを有することを特徴とする。According to a twelfth aspect of the present invention, in the optical scanning type touch panel according to the eleventh aspect, the optical scanning means is substantially parallel to the light retroreflecting means provided outside the predetermined area and the predetermined area. At least two sets of light transmitting / receiving means having light scanning means for angularly scanning light in a plane, and light receiving means for receiving light reflected by the light retroreflecting part of a portion irradiated by light; and Measuring means for measuring a scanning light blocking range in the predetermined area formed by the indicator based on a scanning angle of the scanning means and a light receiving result of the light receiving means.
【0021】請求項13の光走査型タッチパネルは、請
求項11または12において、前記第1平滑化処理部及
び/または前記第2平滑化処理部は、所定数の一連の数
値列を記憶する記憶部を有し、該記憶部に記憶された数
値列の中から所定の条件を満たす数値を選択して平滑化
処理を行うべくなしてあることを特徴とする。According to a thirteenth aspect of the present invention, in the optical scanning touch panel according to the eleventh or twelfth aspect, the first smoothing processing unit and / or the second smoothing processing unit stores a predetermined number of series of numerical values. And performing a smoothing process by selecting a numerical value satisfying a predetermined condition from a numerical sequence stored in the storage unit.
【0022】請求項14の光走査型タッチパネルは、請
求項13において、前記第1平滑化処理部及び/または
前記第2平滑化処理部は、前記記憶部に記憶されたm個
の数値列中から値が大なる順からn1個及び小なる順か
らn2個を除外した残りのm−(n1+n2)個の数値
を選択してそれらの平均値を求めるべくなしてあること
を特徴とする。According to a fourteenth aspect of the present invention, in the optical scanning type touch panel according to the thirteenth aspect, the first smoothing processing unit and / or the second smoothing processing unit may include at least one of a series of m numerical values stored in the storage unit. The remaining m− (n1 + n2) numerical values excluding n1 from the larger value and n2 from the smaller value are selected and the average value thereof is obtained.
【0023】請求項15の光走査型タッチパネルは、請
求項13において、前記第1平滑化処理部及び/または
前記第2平滑化処理部は、前記記憶部に記憶されたm個
の数値列中から値が大なる順からn1個及び小なる順か
らn2個を除外した残りのm−(n1+n2)個の数値
を選択してそれらの中央値を求めるべくなしてあること
を特徴とする。According to a fifteenth aspect of the present invention, in the optical scanning type touch panel according to the thirteenth aspect, the first smoothing processing unit and / or the second smoothing processing unit may be configured such that: The remaining m− (n1 + n2) numerical values excluding n1 from the larger value and n2 from the smaller value are selected to obtain the median value.
【0024】請求項16の光走査型タッチパネルは、請
求項13において、前記第1平滑化処理部及び/または
前記第2平滑化処理部は、前記記憶部に記憶された数値
列中から標準偏差が小なる所定個の数値を選択してそれ
らの平均値を求めるべくなしてあることを特徴とする。According to a sixteenth aspect of the present invention, in the optical scanning type touch panel according to the thirteenth aspect, the first smoothing processing unit and / or the second smoothing processing unit may include a standard deviation from a numerical sequence stored in the storage unit. Is selected so as to select a predetermined number of numerical values and to calculate an average value thereof.
【0025】請求項17の光走査型タッチパネルは、請
求項13において、前記第1平滑化処理部及び/または
前記第2平滑化処理部は、前記記憶部に記憶された数値
列中から標準偏差が小なる所定個の数値を選択してそれ
らの中央値を求めるべくなしてあることを特徴とする。According to a seventeenth aspect of the present invention, in the optical scanning type touch panel according to the thirteenth aspect, the first smoothing processing unit and / or the second smoothing processing unit includes a standard deviation from a numerical sequence stored in the storage unit. Is selected in order to obtain a median value of the selected predetermined numerical values.
【0026】請求項18の光走査型タッチパネルは、請
求項11〜17の何れかにおいて、前記計測手段によっ
て計測された1または複数の特徴量が所定範囲内にない
と前記判別部が判別した場合には、所定のエラー処理を
行うべくなしてあることを特徴とする。In the optical scanning type touch panel according to the present invention, it is preferable that the determination unit determines that one or a plurality of characteristic amounts measured by the measuring unit are not within a predetermined range. Is characterized in that a predetermined error processing is performed.
【0027】請求項19の光走査型タッチパネルは、請
求項11または12において、前記第1平滑化処理部
は、所定数の一連の数値列を記憶する記憶部を有し、該
記憶部に所定数以上の特徴量の数値が記憶されていない
場合には、所定のエラー処理を行うべくなしてあること
を特徴とする。According to a nineteenth aspect of the present invention, in the optical scanning type touch panel according to the eleventh or twelfth aspect, the first smoothing processing unit has a storage unit for storing a series of a predetermined number of numerical values, and the storage unit has When a numerical value of the feature amount equal to or more than the number is not stored, a predetermined error process is performed.
【0028】請求項20の光走査型タッチパネルは、請
求項11または12において、前記第2平滑化処理部
は、所定数の一連の数値列を記憶する記憶部を有し、該
記憶部に所定数以上の前記指示物の位置及び/または大
きさの数値が記憶されていない場合には、所定のエラー
処理を行うべくなしてあることを特徴とする。According to a twentieth aspect of the present invention, in the optical scanning type touch panel according to the eleventh or twelfth aspect, the second smoothing processing section has a storage section for storing a predetermined number of series of numerical values, and the storage section has a predetermined number. If a numerical value of the position and / or size of the pointing object is not stored, the predetermined error processing is performed.
【0029】請求項21の光走査型タッチパネルは、請
求項1〜20の何れかにおいて、前記算出手段の算出結
果に基づいて、前記指示物が前記所定領域に接触してい
るか否かを判別する接触判別手段を更に備えることを特
徴とする。According to a twenty-first aspect of the present invention, in the optical scanning type touch panel according to any one of the first to twentieth aspects, it is determined whether or not the pointer is in contact with the predetermined area based on a calculation result of the calculation means. It is characterized by further comprising a contact determining means.
【0030】請求項22の光走査型タッチパネルは、請
求項21において、前記接触判別手段は、前記算出手段
での前記指示物の位置及び大きさの算出結果が所定範囲
内である場合に、前記指示物が前記所定領域に接触して
いると判別すべくなしてあることを特徴とする。According to a twenty-second aspect of the present invention, in the light scanning type touch panel according to the twenty-first aspect, the contact determining means determines that the position and size of the pointer by the calculating means are within a predetermined range. It is characterized in that it is determined that the pointer is in contact with the predetermined area.
【0031】請求項23の光走査型タッチパネルは、請
求項21において、前記算出手段は、所定の時間間隔
で、前記指示物の位置及び大きさの算出結果が所定範囲
内であるか否かを判別し、算出結果が所定範囲内である
場合にはその算出結果を出力し、算出結果が所定範囲内
でない場合にはエラー信号を出力することとし、前記エ
ラー信号が所定の回数以上にわたって出力された場合
に、前記接触判別手段は、前記指示物が前記所定領域か
ら離れていると判別すべくなしてあることを特徴とす
る。According to a twenty-third aspect of the present invention, in the light scanning type touch panel according to the twenty-first aspect, the calculating means determines whether or not the calculation result of the position and the size of the pointing object is within a predetermined range at predetermined time intervals. Determining, outputting the calculation result if the calculation result is within the predetermined range, and outputting an error signal if the calculation result is not within the predetermined range, and outputting the error signal over a predetermined number of times. In this case, the contact determination means is configured to determine that the pointer is away from the predetermined area.
【0032】請求項24の光走査型タッチパネルは、請
求項21において、前記算出手段は、前記指示物の位置
及び大きさの算出結果が所定範囲内であるか否かを判別
し、算出結果が所定範囲内である場合にはその算出結果
を出力し、算出結果が所定範囲内でない場合にはその算
出結果を出力しないこととし、所定時間以上にわたって
算出結果が出力されない場合に、前記接触判別手段は、
前記指示物が前記所定領域から離れていると判別すべく
なしてあることを特徴とする。According to a twenty-fourth aspect of the present invention, in the light scanning type touch panel according to the twenty-first aspect, the calculating means determines whether or not the calculation result of the position and the size of the pointer is within a predetermined range, and the calculation result is determined. If the calculation result is not within the predetermined range, the calculation result is output.If the calculation result is not within the predetermined range, the calculation result is not output. Is
The present invention is characterized in that it is determined that the pointer is away from the predetermined area.
【0033】請求項25の光走査型タッチパネルは、請
求項21において、前記接触判別手段により、前記指示
物が前記所定領域に接触している状態から前記指示物が
前記所定領域から離れている状態に変化することを判別
した場合、前記第1平滑化処理部及び第2平滑化処理部
に付随する記憶部に記憶されている一連の数値列を消去
して初期化すべくなしてあることを特徴とする。According to a twenty-fifth aspect of the present invention, in the light scanning type touch panel according to the twenty-first aspect, the indicator is separated from the predetermined area by the contact determination means from the state in which the indicator is in contact with the predetermined area. Is determined, the sequence of numerical values stored in the storage unit associated with the first smoothing processing unit and the second smoothing processing unit is erased and initialized. And
【0034】請求項26の光走査型タッチパネルは、請
求項1〜25の何れかにおいて、前記光学的走査手段
は、前記所定領域を光学的に走査して前記指示物による
走査光の遮断範囲を表す数値を測定する少なくとも2組
の光送受手段を有し、前記算出手段は、前記少なくとも
2組の光送受手段により得られる数値それぞれに基づい
て前記指示物の大きさの算出処理を行い、算出結果の内
の最大値または最小値を算出結果とすべくなしてあるこ
とを特徴とする。According to a twenty-sixth aspect of the present invention, in the optical scanning type touch panel according to any one of the first to twenty-fifth aspects, the optical scanning means optically scans the predetermined area to set a cutoff range of the scanning light by the indicator. It has at least two sets of light transmitting and receiving means for measuring numerical values represented, and the calculating means performs a process of calculating the size of the indicator based on each numerical value obtained by the at least two sets of light transmitting and receiving means. It is characterized in that a maximum value or a minimum value among the results is set as a calculation result.
【0035】請求項27の光走査型タッチパネルは、請
求項1〜25の何れかにおいて、前記光学的走査手段
は、前記所定領域を光学的に走査して前記指示物による
走査光の遮断範囲を表す数値を測定する少なくとも2組
の光送受手段を有し、前記算出手段は、前記少なくとも
2組の光送受手段により得られる数値それぞれに基づい
て前記指示物の大きさの算出処理を行い、算出結果の平
均値を算出結果とすべくなしてあることを特徴とする。According to a twenty-seventh aspect of the present invention, in the optical scanning type touch panel according to any one of the first to twenty-fifth aspects, the optical scanning means optically scans the predetermined area to set a cut-off range of the scanning light by the indicator. It has at least two sets of light transmitting and receiving means for measuring numerical values represented, and the calculating means performs a process of calculating the size of the indicator based on each numerical value obtained by the at least two sets of light transmitting and receiving means. It is characterized in that an average value of the results is used as a calculation result.
【0036】請求項28の光走査型タッチパネルは、請
求項1〜25の何れかにおいて、前記光学的走査手段
は、所定領域を光学的に走査して前記指示物による走査
光の遮断範囲を表す数値を測定する少なくとも2組の光
送受手段を有し、前記算出手段は、前記少なくとも2組
の光送受手段により得られる数値それぞれに基づいて前
記指示物の大きさの算出処理を行い、算出結果の少なく
とも前記指示物の位置または大きさとして選択した値が
所定範囲より大なる場合には、所定のエラー処理を行う
べくなしてあることを特徴とする。According to a twenty-eighth aspect of the present invention, in the optical scanning type touch panel according to any one of the first to twenty-fifth aspects, the optical scanning means optically scans a predetermined area to indicate a range in which scanning light is blocked by the pointer. The apparatus has at least two sets of light transmitting and receiving means for measuring numerical values, and the calculating means performs a process of calculating the size of the indicator based on each numerical value obtained by the at least two sets of light transmitting and receiving means. When at least a value selected as the position or size of the pointer is larger than a predetermined range, a predetermined error process is performed.
【0037】請求項29の光走査型タッチパネルは、請
求項1〜25の何れかにおいて、前記光学的走査手段
は、所定領域を光学的に走査して前記指示物による走査
光の遮断範囲を表す数値を測定する少なくとも2組の光
送受手段を有し、前記算出手段は、前記少なくとも2組
の光送受手段により得られる数値それぞれに基づいて前
記指示物の大きさの算出処理を行い、算出結果の内の最
大値と最小値との差が所定範囲外である場合には、所定
のエラー処理を行うべくなしてあることを特徴とする。According to a twenty-ninth aspect of the present invention, in the optical scanning type touch panel according to any one of the first to twenty-fifth aspects, the optical scanning means optically scans a predetermined area to indicate a range in which scanning light is blocked by the pointer. The apparatus has at least two sets of light transmitting and receiving means for measuring numerical values, and the calculating means performs a process of calculating the size of the indicator based on each numerical value obtained by the at least two sets of light transmitting and receiving means. If the difference between the maximum value and the minimum value is out of a predetermined range, a predetermined error processing is performed.
【0038】請求項30の光走査型タッチパネルは、請
求項1〜25の何れかにおいて、前記平滑化処理手段
は、平滑化すべき一連の数値列中に、所定範囲外の数値
が所定個数以上存在する場合には、所定のエラー処理を
行うべくなしてあることを特徴とする。According to a thirtieth aspect of the present invention, in the optical scanning touch panel according to any one of the first to twenty-fifth aspects, the smoothing processing means may include a predetermined number of values outside a predetermined range in a series of numerical values to be smoothed. In this case, a predetermined error process is performed.
【0039】請求項31の光走査型タッチパネルは、請
求項1〜30の何れかにおいて、前記平滑化処理手段
は、前記算出手段により算出された前記指示物の位置に
応じて、爾後の平滑化すべき一連の数値の数を変更すべ
くなしてあることを特徴とする。According to a thirty-first aspect of the present invention, in the light-scanning touch panel according to any one of the first to thirty aspects, the smoothing processing means performs subsequent smoothing in accordance with the position of the pointer calculated by the calculation means. It is characterized in that the number of the series of powers is changed.
【0040】本発明の光走査型タッチパネルでは、指示
物の位置及び大きさを算出する際に必要な指示物の所定
数の一連の特徴量、及び/または、その特徴量に基づい
て算出した指示物の所定数の一連の位置及び大きさに対
して平滑化処理を施し、その平滑化処理結果に基づいて
指示物の位置及び大きさを算出するようにしている。よ
って、複数のデータを平滑化処理するので、算出される
指示物の位置及び大きさの演算結果の精度は高い。In the optical scanning type touch panel of the present invention, a predetermined number of a series of characteristic amounts of the pointer necessary for calculating the position and the size of the pointer, and / or an instruction calculated based on the characteristic amount. Smoothing processing is performed on a predetermined number of series of positions and sizes of an object, and the position and size of the pointer are calculated based on the result of the smoothing processing. Therefore, since a plurality of data are smoothed, the accuracy of the calculated result of the position and the size of the pointer to be calculated is high.
【0041】[0041]
【発明の実施の形態】以下、本発明をその実施の形態を
示す図面に基づいて詳述する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the drawings showing the embodiments.
【0042】図1は、本発明の光走査型タッチパネルの
基本構成を示す模式図である。図1において参照符号1
0は、パーソナルコンピュータ等の電子機器におけるC
RTまたはフラットディスプレイパネル(PDP,LC
D,EL等),投射型映像表示装置等の表示画面であ
り、本実施の形態では横方向92.0cm×縦方向5
1.8cmで対角105.6cmの表示寸法を有するP
DP(プラズマディスプレイ)の表示画面として構成さ
れている。後述するように第1の座標面となるこの長方
形の表示画面10の一つの短辺(本実施の形態では右側
の辺)の両隅の外側には、発光素子,受光素子,ポリゴ
ンミラー等を含む光学系を内部に有する光送受ユニット
1a,1bがそれぞれ設けられている。また、表示画面
10の右側の辺を除く3辺、つまり、上下両側の辺及び
左側の辺の外側には再帰性反射シート7が設けられてい
る。FIG. 1 is a schematic diagram showing a basic configuration of an optical scanning type touch panel according to the present invention. In FIG. 1, reference numeral 1
0 is C in electronic equipment such as a personal computer.
RT or flat display panel (PDP, LC
D, EL, etc.), a display screen of a projection type video display device or the like. In the present embodiment, it is 92.0 cm in the horizontal direction × 5 in the vertical direction.
P with 1.8 cm diagonal 105.6 cm display dimensions
It is configured as a display screen of a DP (plasma display). As will be described later, a light emitting element, a light receiving element, a polygon mirror, and the like are provided outside both short sides (one side on the right side in this embodiment) of this rectangular display screen 10 serving as a first coordinate plane. Light transmission / reception units 1a and 1b each including an optical system including the light transmission / reception unit are provided. The retroreflective sheet 7 is provided on three sides of the display screen 10 except for the right side, that is, outside the upper and lower sides and the left side.
【0043】両光送受ユニット1a,1bは、赤外線レ
ーザ光を出射するレーザダイオードからなる発光素子1
1a,11bと、再帰性反射シート7からの反射光を受
光する受光素子13a,13bと、発光素子11a,1
1bからのレーザ光を角的に走査するための本実施の形
態では4角形のポリゴンミラー16a,16bと等を主
要構成要素としている。なお、受光素子13a,13b
は受光手段として機能し、発光素子11a,11b及び
ポリゴンミラー16a,16bは光走査手段として機能
する。そして、この2組の光送受ユニット1a,1b及
びそれらの信号処理系と、再帰性反射シート7と等が計
測手段として機能する。The light transmitting and receiving units 1a and 1b are each composed of a light emitting element 1 composed of a laser diode for emitting infrared laser light.
1a, 11b, light receiving elements 13a, 13b for receiving light reflected from the retroreflective sheet 7, and light emitting elements 11a, 1b.
In the present embodiment for angularly scanning the laser beam from 1b, the main components are quadrangular polygon mirrors 16a and 16b. The light receiving elements 13a, 13b
Functions as light receiving means, and the light emitting elements 11a and 11b and the polygon mirrors 16a and 16b function as light scanning means. The two sets of light transmitting / receiving units 1a and 1b, their signal processing systems, the retroreflective sheet 7, and the like function as measuring means.
【0044】このような構成においては、発光素子11
a,11bから出射されたレーザ光が、ポリゴンミラー
16a,16bの回転によって表示画面10と実質的に
平行である面内を角的に走査されて再帰性反射シート7
に投射される。そして、再帰性反射シート7からの反射
光が、ポリゴンミラー16a,16bにて反射された
後、受光素子13a,13bに入射される。但し、投射
光の光路に指,ペン等の指示物(遮断物)Sが存在する
場合には投射光が遮断されるため、反射光が受光素子1
3a,13bに入射されることはない。なお、ポリゴン
ミラー16a,16bの回転により、90度以上のレー
ザ光の角的走査が実現される。In such a configuration, the light emitting element 11
a, 11b is angularly scanned in a plane substantially parallel to the display screen 10 by the rotation of the polygon mirrors 16a, 16b, and the retroreflective sheet 7 is rotated.
Is projected to Then, the reflected light from the retroreflective sheet 7 is reflected by the polygon mirrors 16a and 16b, and then enters the light receiving elements 13a and 13b. However, when an indicator (blocking object) S such as a finger or a pen exists in the optical path of the projection light, the projection light is blocked, and the reflected light is reflected by the light receiving element 1.
No light is incident on 3a, 13b. The rotation of the polygon mirrors 16a and 16b realizes angular scanning of the laser light of 90 degrees or more.
【0045】また、参照符号5は指示物Sの位置,大き
さを計測演算すると共に、装置全体の動作を制御するM
PUであり、機能的には、計測手段による計測結果から
指示物Sの位置と大きさとを算出する算出手段51と、
この算出手段51による算出結果に基づいて表示装置6
に表示すべき情報を制御する画像制御手段52とで構成
される。なお、表示装置6は、図1では独立して示され
ているが、実際には表示画面10が兼用される。Reference numeral 5 denotes an M which measures and calculates the position and size of the pointer S and controls the operation of the entire apparatus.
A calculation unit 51 that is a PU and functionally calculates the position and size of the pointer S from the measurement result by the measurement unit;
The display device 6 based on the calculation result by the calculation means 51
And an image control means 52 for controlling information to be displayed on the display. Although the display device 6 is shown independently in FIG. 1, the display screen 10 is also used in practice.
【0046】このような本発明の光走査型タッチパネル
においては、図1に示されているように、例えば光送受
ユニット1bに関して説明すると、光送受ユニット1b
からの投射光は、図1上で反時計方向回りに走査され、
まず再帰性反射シート7の先端部分で反射される位置
(Ps)に至って走査開始位置になる。そして、指示物
Sの一端に至る位置(P1)にいたるまでは再帰性反射
シート7により反射されるが、指示物Sの他端に至る位
置(P2)までの間は指示物Sによって遮断され、その
後の走査終了位置(Pe)に至るまでは再帰性反射シー
ト7により反射される。In such an optical scanning type touch panel of the present invention, as shown in FIG. 1, for example, the light transmitting / receiving unit 1b will be described.
Is scanned counterclockwise in FIG. 1,
First, it reaches the position (Ps) where the light is reflected by the leading end of the retroreflective sheet 7 and becomes the scanning start position. The light is reflected by the retroreflective sheet 7 up to the position (P1) reaching one end of the pointer S, but is blocked by the pointer S up to the position (P2) reaching the other end of the pointer S. The light is reflected by the retroreflective sheet 7 until reaching the subsequent scanning end position (Pe).
【0047】但し、光送受ユニット1aでは、図1上で
時計方向回りに光の走査が行われる。ここで、光送受ユ
ニット1aは図1上で時計回り方向に表示画面10の下
辺側を走査開始方向とし、逆に光送受ユニット1bは図
1上で反時計回り方向に表示画面10の上辺側を走査開
始方向とする理由について説明する。However, in the light transmitting / receiving unit 1a, light is scanned clockwise in FIG. Here, the light transmission / reception unit 1a sets the lower side of the display screen 10 in the clockwise direction in FIG. 1 as the scanning start direction, and conversely, the light transmission / reception unit 1b sets the upper side of the display screen 10 in the counterclockwise direction in FIG. Will be described as the scanning start direction.
【0048】例えば光送受ユニット1bの場合には、表
示画面10の上辺側または左辺側のいずれを走査開始方
向としてもよいが、光送受ユニット1bから見た場合、
表示画面10の上辺の方が下辺よりも距離的に近いため
に反射光量が大であること、及び再帰性反射シート7の
反射面が表示画面10の上辺ではほぼ直角であるために
反射光量が大であることにより、表示画面10の上辺側
を走査開始方向としている。換言すれば、光送受ユニッ
ト1bの場合に表示画面10の下辺側を走査開始方向と
すると、表示画面10の下辺の方が上辺よりも距離的に
遠いため、走査開始時点の反射光量が小さくなり、また
再帰性反射シート7の反射面が湾曲しているために反射
光量が小さくなる。但し、再帰性反射シート7の湾曲に
関しては本質的な問題ではなく、湾曲させないような構
成を採ることも勿論可能である。For example, in the case of the light transmitting / receiving unit 1b, either the upper side or the left side of the display screen 10 may be the scanning start direction, but when viewed from the light transmitting / receiving unit 1b,
The amount of reflected light is large because the upper side of the display screen 10 is closer in distance than the lower side, and the amount of reflected light is large because the reflecting surface of the retroreflective sheet 7 is almost perpendicular to the upper side of the display screen 10. Due to the large size, the upper side of the display screen 10 is set as the scanning start direction. In other words, in the case of the light transmitting / receiving unit 1b, if the lower side of the display screen 10 is the scanning start direction, the lower side of the display screen 10 is farther from the upper side in terms of distance, so that the amount of reflected light at the start of scanning becomes smaller. Further, since the reflection surface of the retroreflective sheet 7 is curved, the amount of reflected light is small. However, the curvature of the retroreflective sheet 7 is not an essential problem, and it is of course possible to adopt a configuration in which the sheet is not curved.
【0049】ところで、図1に示されているように、再
帰性反射シート7は両光送受ユニット1a,1bが配置
されている辺を開口部とし、表示画面10を囲むように
して”U”字状に配置されている。更に、参照符号7
a,7bにて示されているように、両光送受ユニット1
a,1bから再帰性反射シート7への光の投射角度が小
さくなる部分、具体的には両光送受ユニット1a,1b
が配置されている辺と直交する2辺(図1上では上側の
辺と下側の辺)の両光送受ユニット1a,1bから遠い
部分には鋸歯状に再帰性反射シートが設置されている。As shown in FIG. 1, the retroreflective sheet 7 has an opening at the side where the two light transmitting / receiving units 1a and 1b are disposed, and surrounds the display screen 10 in a “U” shape. Are located in Further, reference numeral 7
a, 7b, both light transmitting and receiving units 1
a, 1b, where the light projection angle of the light from the retroreflective sheet 7 to the retroreflective sheet 7 is reduced, specifically, the two light transmitting / receiving units 1a, 1b.
On both sides (upper side and lower side in FIG. 1) orthogonal to the side on which the is disposed, the retroreflective sheet is installed in a sawtooth shape at a portion far from both light transmitting / receiving units 1a and 1b. .
【0050】このような再帰性反射シートの鋸歯状部分
7a,7bにより、例えば光送受ユニット1bからの投
射光は走査開始位置Psから再帰性反射シートの鋸歯状
部分7bの一端の位置P3まで走査が進むに伴って再帰
性反射シート7への入射角度が次第に小さくなるため反
射光量もそれに伴って低下する。しかし、再帰性反射シ
ートの鋸歯状部分7bの一端の位置P3から他端の位置
P4までの間は再帰性反射シートの鋸歯状部分7bにほ
ぼ直角に入射するので再帰性反射率のそれ以上の低下が
回避される。With the sawtooth portions 7a and 7b of the retroreflective sheet, for example, the projection light from the light transmitting / receiving unit 1b scans from the scanning start position Ps to the position P3 of one end of the sawtooth portion 7b of the retroreflective sheet. The angle of incidence on the retroreflective sheet 7 gradually decreases with the progress of, and the amount of reflected light also decreases accordingly. However, between the position P3 at one end of the serrated portion 7b of the retroreflective sheet and the position P4 at the other end, the light is incident on the serrated portion 7b of the retroreflective sheet at a substantially right angle. A drop is avoided.
【0051】次に、本発明の光走査型タッチパネルによ
る座標面での位置検出動作について、その原理を示す図
2の模式図を参照して説明する。但し、図2では光送受
ユニット1a,1b、表示画面10以外の構成部材は図
示を省略している。また、以下の説明では光送受ユニッ
ト1b側をチャンネル1(Ch1)とし、光送受ユニッ
ト1a側をチャンネル2(Ch2)とする。Next, the operation of detecting the position on the coordinate plane by the optical scanning type touch panel of the present invention will be described with reference to the schematic diagram of FIG. However, in FIG. 2, components other than the light transmitting / receiving units 1a and 1b and the display screen 10 are not shown. In the following description, the light transmitting / receiving unit 1b side is referred to as channel 1 (Ch1), and the light transmitting / receiving unit 1a side is referred to as channel 2 (Ch2).
【0052】MPU5はポリゴン制御回路を制御するこ
とにより、光送受ユニット1a,1b内のポリゴンミラ
ー16a,16bを回転させて、発光素子11a,11
bからのレーザ光を角的に走査する。この結果、再帰性
反射シート7からの反射光が受光素子13a,13bに
入射する。このようにして受光素子13a,13bに入
射した光の受光量は図示しない信号処理回路の出力であ
る受光信号として得られる。この受光信号のレベルの変
化を両光走査手段12a,12bでの走査角度として検
出し、以下のような手法により処理する。By controlling the polygon control circuit, the MPU 5 rotates the polygon mirrors 16a and 16b in the light transmitting and receiving units 1a and 1b, thereby turning on the light emitting elements 11a and 11b.
The laser beam from b is scanned angularly. As a result, the reflected light from the retroreflective sheet 7 enters the light receiving elements 13a and 13b. In this way, the amount of light received on the light receiving elements 13a and 13b is obtained as a light receiving signal which is an output of a signal processing circuit (not shown). The change in the level of the received light signal is detected as a scanning angle by both optical scanning means 12a and 12b, and is processed by the following method.
【0053】なお、MPU5の算出手段51に与えられ
る情報は、主として図2に示されている下記の4種類の
情報である。 θ1-1 :Ch1(光送受ユニット1b)の走査開始から
指示物S検出までの角度 θ1-2 :Ch1(光送受ユニット1b)の指示物Sの検
出幅角度 θ2-1 :Ch2(光送受ユニット1a)の走査開始から
指示物S検出までの角度 θ2-2 :Ch2(光送受ユニット1a)の指示物Sの検
出幅角度The information provided to the calculating means 51 of the MPU 5 is mainly the following four types of information shown in FIG. theta 1-1: Ch1 (light transmitting and receiving unit 1b) of the scanning start from indicator S angle to the detection theta 1-2: Ch1 detection width angle of the indicator S of the (light transmitting and receiving unit 1b) theta 2-1: Ch2 ( The angle from the start of scanning of the light transmitting / receiving unit 1a) to the detection of the indicator S θ 2-2 : the detection width angle of the indicator S of Ch2 (light transmitting / receiving unit 1a)
【0054】求めるべき指示物Sの中心Pの座標(x,
y)の算出と、指示物Sの半径rの算出は以下の式
(1)〜(6)で行われる。但し、両光送受ユニット1
a,1bが図1上において左側の短辺に沿って設置され
ている場合には、式(4),(5),(6)はそれぞれ
式(4′),(5′),(6′)のようになる。The coordinates (x,
The calculation of y) and the calculation of the radius r of the pointer S are performed by the following equations (1) to (6). However, both light transmitting and receiving units 1
When a and 1b are installed along the short side on the left side in FIG. 1, equations (4), (5) and (6) are obtained by equations (4 '), (5') and (6), respectively. ')become that way.
【0055】 θ1 = θ1-1 +θ1-2 /2 ・・・(1) θ2 = θ2-1 +θ2-2 /2 ・・・(2) y= L× tanθ1 /(tanθ1 + tanθ2 ) ・・・(3) x= W−y× tanθ2 ・・・(4) r1={(W−x)2 +y2 }1/2 × sin(θ2-2 /2) ・・・(5) または r2={(W−x)2 +(L−y)2 }1/2 × sin(θ1-2 /2) ・・・(6) x= y× tanθ2 ・・・(4′) r1=(x2 +y2 )1/2 × sin(θ2-2 /2) ・・・・(5′) または r2=(x2 +(L−y)2 )1/2 × sin(θ1-2 /2)・・・(6′)Θ 1 = θ 1-1 + θ 1-2 / 2 (1) θ 2 = θ 2-1 + θ 2-2 / 2 (2) y = L × tan θ 1 / (tan θ) 1 + tan θ 2 ) (3) x = W−y × tan θ 2 (4) r1 = {(W−x) 2 + y 2 } 1/2 × sin (θ 2-2 / 2) ... (5) or r2 = {(W-x) 2 + (L-y) 2 } 1/2 × sin (θ 1-2 / 2) ・ ・ ・ (6) x = y × tan θ 2 · .. (4 ′) r1 = (x 2 + y 2 ) 1/2 × sin (θ 2-2 / 2) (5 ′) or r2 = (x 2 + (L−y) 2 ) 1 / 2 × sin (θ 1-2 / 2) (6 ')
【0056】図3は算出手段51の一構成例を示す機能
ブロック図である。算出手段51は前述の如く、MPU
5の機能として実現されており、ここに示されている機
能ブロック図もMPU5で実行されるソフトウェア機能
を示している。但し、同等の機能を実現する専用ハード
ウェアとして実現することも勿論可能であり、その場合
には処理速度の高速化が可能である。FIG. 3 is a functional block diagram showing an example of the configuration of the calculating means 51. As described above, the calculating means 51
5, and the functional block diagram shown here also shows the software functions executed by the MPU 5. However, it is of course possible to realize as dedicated hardware for realizing the same function, in which case the processing speed can be increased.
【0057】算出手段51は、計測手段からの出力(特
徴量)に平滑化処理を行う平滑化処理部511と、計測
手段からの出力(特徴量)を記憶する記憶部512と、
平滑化処理部511からの出力に基づいて指示物Sの位
置を算出する位置算出部513と、平滑化処理部511
からの出力に基づいて指示物Sの大きさを算出する大き
さ算出部514とを有する。The calculating unit 51 includes a smoothing processing unit 511 for performing a smoothing process on the output (feature amount) from the measuring unit, a storage unit 512 for storing the output (feature amount) from the measuring unit,
A position calculation unit 513 that calculates the position of the pointer S based on an output from the smoothing processing unit 511, and a smoothing processing unit 511
And a size calculation unit 514 that calculates the size of the pointer S based on the output from.
【0058】平滑化処理部511は、計測手段、具体的
には光送受ユニット1a,1bからの出力である
θ1-1 、θ1-2 、θ2-1 、θ2-2 に対して平滑化処理を
行う。平滑化処理部511には、ある時間tにおける出
力θ1-1,t、θ1-2,t、θ2-1,t、θ2-2,tが入力され
る。The smoothing processing unit 511 is provided for measuring means, specifically, for the outputs θ 1-1 , θ 1-2 , θ 2-1 and θ 2-2 output from the light transmitting and receiving units 1a and 1b. Perform smoothing processing. Outputs θ 1-1 , t, θ 1-2 , t, θ 2-1 , t, θ 2-2 , t at a certain time t are input to the smoothing processing unit 511.
【0059】記憶部512は、各出力データθ1-1 、θ
1-2 、θ2-1 、θ2-2 それぞれに関する現時点t以前の
時間t−1〜t−(m−1)のm−1ステップ分のデー
タを記憶する。平滑化処理部511では、この記憶部5
12からこれらのm−1ステップ分のθの値を読み出
し、現時点tのθの値をも含めたそれぞれm個のデータ
の平均値を算出する。この結果として得られるθ1-1 、
θ1-2 、θ2-1 、θ2-2それぞれの平均値θa1-1、θ
a1-2、θa2-1、θa2-2を使用して位置算出部513が指
示物Sの位置を、大きさ算出部514が指示物Sの大き
さをそれぞれ算出する。記憶部512ではこの平滑化処
理部511による平均化処理が一度実行される都度、最
も古いデータ、即ち時間t−(m−1)のデータを廃棄
し、現時点tのデータを時間t−1のデータとし、各時
間のデータを順送りに更新する。The storage unit 512 stores the output data θ 1-1 , θ
Data of m-1 steps from time t-1 to t- (m-1) before the current time t regarding 1-2 , θ 2-1 and θ 2-2 are stored. In the smoothing processing unit 511, the storage unit 5
The values of θ for these m−1 steps are read out from 12 and the average value of each of the m pieces of data including the value of θ at the current time t is calculated. The resulting θ 1-1 ,
θ 1-2 , θ 2-1 , θ 2-2 average value θ a1-1 , θ
a1-2, theta a2-1, the position calculation section 513 by using the theta a2-2 is the position of the indicator S, the magnitude calculator 514 calculates the size of the indicator S, respectively. The storage unit 512 discards the oldest data, that is, the data at the time t- (m-1) every time the averaging processing by the smoothing processing unit 511 is performed once, and replaces the data at the current time t with the data at the time t-1. The data is updated sequentially at each time.
【0060】なお、上記の例では、平滑化処理部511
において、m個のデータの平均値を算出するようにした
が、m個のデータの中央値を求めるようにしても良い。In the above example, the smoothing processing section 511
In, the average value of the m data is calculated, but the median value of the m data may be obtained.
【0061】図4は算出手段51の他の構成例を示す機
能ブロック図である。上述の図3に示されている例で
は、計測手段からの出力データの平滑値を最初に平滑化
処理部511により求めた後に指示物Sの位置及び大き
さを算出しているが、この図4に示されている例では、
まず指示物Sの位置及び大きさを算出した後にそれらの
平滑値を求めるようにしている。FIG. 4 is a functional block diagram showing another example of the configuration of the calculating means 51. In the example shown in FIG. 3 described above, the position and size of the pointer S are calculated after the smoothed value of the output data from the measuring unit is first obtained by the smoothing processing unit 511. In the example shown in FIG.
First, the position and size of the pointer S are calculated, and then their smoothed values are obtained.
【0062】図4の算出手段51は、指示物Sの位置を
算出する位置算出部513と、位置の複数の算出結果に
平滑化処理を行う平滑化処理部511aと、位置の複数
の算出結果を記憶する記憶部512aと、指示物Sの大
きさを算出する大きさ算出部514と、大きさの複数の
算出結果に平滑化処理を行う平滑化処理部511bと、
大きさの複数の算出結果を記憶する記憶部512bとを
有する。4 includes a position calculating section 513 for calculating the position of the pointer S, a smoothing processing section 511a for performing a smoothing process on a plurality of position calculation results, and a plurality of position calculation results. A storage unit 512a for storing the size of the pointer S, a smoothing processing unit 511b for performing a smoothing process on a plurality of calculation results of the size,
A storage unit 512b for storing a plurality of calculation results of the size.
【0063】計測手段からの出力データθ1-1 、
θ1-2 、θ2-1 、θ2-2 はまず位置算出部513に入力
される。位置算出部513では、入力された計測手段か
らの出力データθ1-1 、θ1-2 、θ2-1 、θ2-2 に従っ
て指示物Sの位置(x,y)を算出し、その結果を大き
さ算出部514,平滑化処理部511a及び記憶部51
2aに与える。大きさ算出部514では位置算出部51
3からの出力に従って指示物Sの大きさrを算出し、そ
の結果を平滑化処理部511b及び記憶部512bに与
える。The output data θ 1-1 from the measuring means,
θ 1-2 , θ 2-1 , and θ 2-2 are first input to the position calculator 513. The position calculation unit 513 calculates the position (x, y) of the pointer S in accordance with the input output data θ 1-1 , θ 1-2 , θ 2-1 , and θ 2-2 from the measuring means. The result is stored in a size calculation unit 514, a smoothing processing unit 511a, and a storage unit 51.
2a. In the size calculation unit 514, the position calculation unit 51 is used.
The size r of the pointer S is calculated in accordance with the output from No. 3 and the result is given to the smoothing processing unit 511b and the storage unit 512b.
【0064】両平滑化処理部511a,511bは位置
算出部513の算出結果及び大きさ算出部514の算出
結果に対して平均化処理を行う。ある時間nにおける指
示物Sの位置(xn ,yn ),大きさrn が平滑化処理
部511a,511bにそれぞれ入力される。The smoothing units 511a and 511b perform averaging on the calculation result of the position calculation unit 513 and the calculation result of the size calculation unit 514. Position of the indicator S at a certain time n (x n, y n) , the size r n smoothing processing section 511a, is input to 511b.
【0065】記憶部512aは、位置算出部513の現
時点nの算出結果(xn ,yn )と現時点n以前の時間
n−1〜n−(m−1)のm−1ステップ分のデータと
を記憶する。平滑化処理部511aでは、記憶部512
aに記憶されているm−1ステップ分の指示物Sの位置
を読み出し、現時点nの指示物Sの位置(xn ,yn)
をも含めたm個のデータの平均を算出する。この算出結
果である指示物Sの平均位置(xan,yan)が算出手段
51の出力となる。[0065] The storage unit 512a is the calculation result of the current n the position calculation section 513 (x n, y n) and the present time n previous time n-1~n- (m-1) of m-1 steps of data Is stored. In the smoothing processing unit 511a, the storage unit 512
The position of the indicator S for m-1 steps stored in a is read out, and the position (x n , y n ) of the indicator S at the current time n is read out.
Calculate the average of m data including. The average position (x an , y an ) of the pointer S, which is the result of this calculation, is the output of the calculating means 51.
【0066】一方、記憶部512bは、大きさ算出部5
14の現時点nの算出結果rn と現時点n以前の時間n
−1〜n−(m−1)のm−1ステップ分のデータとを
記憶する。平滑化処理部511bでは、記憶部512b
に記憶されているm−1ステップ分の指示物Sの大きさ
を読み出し、現時点nの指示物Sの大きさrn をも含め
たm個のデータの平均を算出する。この算出結果である
指示物Sの平均大きさranが算出手段51の出力とな
る。On the other hand, the storage unit 512b stores the size calculation unit 5
The calculation result r n of the current time n of 14 and the time n before the current time n
-1 to n- (m-1) data for m-1 steps are stored. In the smoothing processing unit 511b, the storage unit 512b
Reads the size of the indicator S (m-1) step amount stored in, it calculates the average of the m data indicated was including the size r n of S at the present time n. The average size r an, of the indicator S is the calculation result is output calculating means 51.
【0067】両記憶部512a,512bでは、上述の
両平滑化処理部511a,511bでの平均化処理が実
行される都度、最も古いデータ、即ち時間n−(m−
1)のデータを廃棄し、現時点nのデータを時間n−1
のデータとし、各時間のデータを順送りに更新する。In each of the storage units 512a and 512b, the oldest data, that is, the time n− (m−), is executed each time the averaging process is performed in the both smoothing processing units 511a and 511b.
The data of 1) is discarded, and the data of the current n is replaced with the time n-1.
, And the data at each time is sequentially updated.
【0068】なお、上記の例では、両平滑化処理部51
1a,511bにおいて、m個のデータの平均値を算出
するようにしたが、m個のデータの中央値を求めるよう
にしても良い。In the above example, both smoothing processing units 51
In 1a and 511b, the average value of m pieces of data is calculated, but the median value of m pieces of data may be calculated.
【0069】平滑化処理部511,511a,511b
において、前述したように時間的に連続したm個のデー
タの平均値(または中央値)を算出する。しかし、この
m個のデータ中に、ノイズまたはタッチパネルの他のエ
ラー要因によって通常の値とは著しく異なったデータが
含まれてしまった場合、その結果として得られる平均値
(または中央値)も本来の値とは著しく異なってしまう
虞がある。そこで、平滑化処理の対象となるべきm個の
データを大きさ順に並べ換え、値が大きい方からのn1
個のデータと値が小さい方からのn2個のデータとを除
外したm−(n1+n2)個(但し、m>n1+n2)
に対してのみ平滑化処理を行うようにする。これによっ
て、平滑化処理の対象となるm個の数値中に著しく大き
な値または著しく小さな値が含まれていても、それらが
平均値(または中央値)に与える影響を小さくすること
ができる。The smoothing processing units 511, 511a, 511b
, An average value (or a median value) of m consecutive data in time is calculated as described above. However, if the m data contains data that is significantly different from the normal value due to noise or other error factors of the touch panel, the resulting average value (or median value) is also originally required. May significantly differ from the value of. Therefore, the m pieces of data to be subjected to the smoothing process are rearranged in the order of the size, and n1 from the larger value is used.
M- (n1 + n2) (where m> n1 + n2) excluding n data and n2 data from the smaller value
Smoothing processing is performed only for. As a result, even if an extremely large value or an extremely small value is included in the m numerical values to be subjected to the smoothing processing, it is possible to reduce the influence on the average value (or the median value).
【0070】以下、図5のフローチャートを参照して具
体的に説明する。なお、この図5に示されているフロー
チャートは前述の図4の構成に適用した例を示している
が、基本的な考え方は図3に示されている構成にも適用
可能であることは言うまでもない。Hereinafter, a specific description will be given with reference to the flowchart of FIG. Although the flowchart shown in FIG. 5 shows an example applied to the configuration of FIG. 4 described above, it goes without saying that the basic concept can be applied to the configuration shown in FIG. No.
【0071】まず、計測手段から一組のデータが出力さ
れると位置算出部513及び大きさ算出部514におい
て指示物Sの位置及び大きさの算出が行われ (ステップ
S11)、また両記憶部512a,512bの内容が更
新される (ステップS12)。そして、両平滑化処理部
511a,511bはそれぞれ記憶部512a,512
bからm個のデータ列を取得し (ステップS13)、そ
れらのm個のデータを値が大きい順に並び替え (ステッ
プS14)、値が大きい方のn1個と小さい方のn2個
とを破棄し (ステップS15,S16)、残りのm−
(n1+n2)個の平均を求め (ステップS17)、こ
の結果を指示物Sの位置(xan,yan)及び大きさran
として決定する (ステップS18)。First, when one set of data is output from the measuring means, the position and size of the pointer S are calculated by the position calculating unit 513 and the size calculating unit 514 (step S11), and both storage units are used. The contents of 512a and 512b are updated (step S12). Then, both smoothing processing units 511a and 511b are stored in storage units 512a and 512, respectively.
m data strings are obtained from b (step S13), the m data pieces are rearranged in descending order of value (step S14), and n1 with larger values and n2 with smaller values are discarded. (Steps S15 and S16), the remaining m-
An average of (n1 + n2) pieces is obtained (step S17), and this result is represented by the position (x an , y an ) and the size r an of the pointer S.
(Step S18).
【0072】ところで、上述の例では、他と著しく異な
った数値の全てが本来の値よりも例えば著しく小さいよ
うな場合には数値は大きいながらも本来の値により近い
数値が破棄される可能性がある。そこで、平滑化処理の
対象であるm個の数値の標準偏差を求め、標準偏差が大
きいn個のデータを除いたm−n個のデータのみを対象
として平滑化処理を行うことにより上述のような問題の
解決を図る。By the way, in the above-mentioned example, when all of the numerical values that are significantly different from the others are significantly smaller than the original value, for example, there is a possibility that the numerical value that is larger but closer to the original value may be discarded. is there. Therefore, the standard deviation of m numerical values to be subjected to the smoothing processing is obtained, and the smoothing processing is performed only on the mn data excluding the n data having the large standard deviation, as described above. To solve various problems.
【0073】また、残りのm−n個のデータの標準偏差
の内の最大のものが所定値よりも大きいような場合は、
このm−n個のデータにも本来の値とは異なるものが含
まれていると判断する。この場合、指示物Sの通常の位
置及び大きさの算出処理は行わず、所定のエラー値を出
力する。これにより、ノイズまたはタッチパネルの他の
エラー要因によって正常な位置と大きさとの検出が行え
なかったことを報知する。If the largest of the standard deviations of the remaining mn data is larger than a predetermined value,
It is determined that these mn data also include data different from the original values. In this case, a predetermined error value is output without performing the normal position and size calculation processing of the pointer S. This notifies that the normal position and size cannot be detected due to noise or another error factor of the touch panel.
【0074】以下、図6のフローチャートを参照して具
体的に説明する。図6において、ステップS21,S2
2,S23は前述の図5のステップS11,S12,S
13と同様の処理である。両平滑化処理部511a,5
11bはステップS23においてm個のデータ列を両記
憶部512a,512bからそれぞれ取得した後、平均
値を算出する (ステップS24)。また同時に両平滑化
処理部511a,511bは、m個のデータの標準偏差
を算出し (ステップS25)、それらのm個のデータを
標準偏差が大きい順に並び替え (ステップS26)、偏
差が大きい方のn個のデータを破棄し (ステップS2
7)、残りのm−n個のデータ中の標準偏差の最大値が
所定値よりも大きいか否かを調べる (ステップS2
8)。Hereinafter, a specific description will be given with reference to the flowchart of FIG. In FIG. 6, steps S21 and S2
2 and S23 are steps S11, S12, and S in FIG.
13 is the same processing as that in FIG. Both smoothing processing units 511a, 5
11b calculates the average value after acquiring the m data strings from both storage units 512a and 512b in step S23 (step S24). At the same time, both smoothing processing units 511a and 511b calculate the standard deviation of the m data (step S25), and rearrange the m data in descending order of the standard deviation (step S26). Are discarded (step S2
7) It is checked whether or not the maximum value of the standard deviation in the remaining mn data is larger than a predetermined value (step S2)
8).
【0075】その標準偏差が所定値以下である場合には
(S28:NO)、両平滑化処理部511a,511b
はm−n個のデータの平均を求め (ステップS29)、
この結果を指示物Sの位置(xan,yan)及び大きさr
anとして決定する (ステップS30)。一方、その標準
偏差が所定値より大きい場合には(S28:YES)、
両平滑化処理部511a,511bは平均化処理は行わ
ずにエラー値が指示物Sの位置及び大きさとされ (ステ
ップS31)、指示物Sの位置と大きさとが決定される
(ステップS30)。これにより、オペレータは指示物
Sの正常な位置及び大きさが検出不可能であったことを
認識することが可能になる。If the standard deviation is equal to or smaller than the predetermined value (S28: NO), the two smoothing processing units 511a and 511b
Calculates the average of mn data (step S29),
The result is represented by the position (x an , y an ) and the size r of the pointer S.
It is determined as an (step S30). On the other hand, if the standard deviation is larger than the predetermined value (S28: YES),
The two smoothing processing units 511a and 511b do not perform the averaging process, and the error value is determined as the position and the size of the indicator S (Step S31), and the position and the size of the indicator S are determined.
(Step S30). This allows the operator to recognize that the normal position and size of the pointer S have not been detected.
【0076】ノイズまたはタッチパネルの他のエラー要
因による異常な値を排除する他の処理について説明す
る。まず計測手段からの入力データであるθ1-1 、θ
1-2 、θ 2-1 、θ2-2 が、それぞれ所定範囲内に無い場
合、通常の算出処理は行わずに指示物Sの位置と大きさ
とを予め定められているエラー値に設定する。また、算
出された指示物Sの位置(x,y)が所定範囲内に無い
場合にも同様に処理される。これらの処理の結果、最終
的な指示物Sの位置と大きさとの値にエラー値が設定さ
れると記憶部512に記憶されているデータもエラーデ
ータになる。そこで、記憶部512に記憶されているエ
ラー値の数を調べ、その数が所定数以上であった場合に
は平均化処理を行わないようにする。Noise or other error required on touch panel
Explain other processing to eliminate abnormal values due to factors.
You. First, θ which is the input data from the measuring means1-1, Θ
1-2, Θ 2-1, Θ2-2Are not within the specified range.
In this case, the position and the size of the pointer S without performing the normal calculation process
Is set to a predetermined error value. Also,
The position (x, y) of the issued pointer S is not within the predetermined range
The same processing is performed in the case. As a result of these processes,
An error value is set for the value of the position and size of the
When the data is stored, the data stored in the storage
Data. Thus, the data stored in the storage unit 512
The number of error values, and if the number is
Does not perform the averaging process.
【0077】図7はそのような平滑化処理部511での
処理手順を示すフローチャートである。まず、計測手段
から計測結果が取得され (ステップS41)、それがそ
れぞれ所定値内であるか否かが判断され (ステップS4
2)、一つでも所定値外である場合には (S42:N
O)、指示物Sの位置及び大きさがエラー値とされる
(ステップS49)。FIG. 7 is a flowchart showing a processing procedure in such a smoothing processing unit 511. First, a measurement result is obtained from the measurement means (step S41), and it is determined whether each of the measurement results is within a predetermined value (step S4).
2) If at least one is outside the predetermined value (S42: N
O), the position and size of the pointer S are taken as error values
(Step S49).
【0078】計測値が全て所定値内である場合には (S
42:YES)、指示物Sの位置と大きさとが算出され
(ステップS43)、その結果が所定範囲内であるか否
かが判断される (ステップS44)。その結果が所定範
囲内でない場合には (S44:NO)、指示物Sの位置
及び大きさがエラー値とされる (S49)。その結果が
所定範囲内である場合には (S44:YES)、記憶部
512の内容が更新されて過去の算出結果のデータ列が
取得される (ステップS45)。If all the measured values are within the predetermined value, (S
42: YES), the position and size of the pointer S are calculated
(Step S43), it is determined whether or not the result is within a predetermined range (Step S44). If the result is not within the predetermined range (S44: NO), the position and size of the pointing object S are set as error values (S49). If the result is within the predetermined range (S44: YES), the contents of the storage unit 512 are updated and a data string of the past calculation result is obtained (step S45).
【0079】そして、この記憶部512から取得された
過去の算出結果の内の指示物Sの位置のデータのエラー
値の数が所定数より少ないか否かが判断される (ステッ
プS46)。エラー値の数が所定数以上である場合には
(S46:NO)、指示物Sの位置及び大きさがエラー
値とされる (S49)。エラー値の数が所定数より少な
い場合には (S46:YES)、更に過去の算出結果の
内の指示物Sの大きさのデータのエラー値の数が所定数
より少ないか否かが判断される (ステップS47)。エ
ラー値の数が所定数以上である場合には (S47:N
O)、指示物Sの位置及び大きさがエラー値とされる
(S49)。エラー値の数が所定数より少ない場合には
(S47:YES)、平滑化処理部511による平均化
処理が実行され (ステップS48)、指示物Sの位置及
び大きさが決定され (ステップS50)、記憶部512
の内容が更新される (ステップS51)。Then, it is determined whether or not the number of error values of the data at the position of the pointer S in the past calculation results obtained from the storage unit 512 is smaller than a predetermined number (step S46). If the number of error values is greater than
(S46: NO), the position and the size of the pointer S are set as error values (S49). If the number of error values is smaller than the predetermined number (S46: YES), it is further determined whether the number of error values of the data of the size of the indicator S in the past calculation results is smaller than the predetermined number. (Step S47). If the number of error values is equal to or more than the predetermined number (S47: N
O), the position and size of the pointer S are taken as error values
(S49). If the number of error values is less than the predetermined number
(S47: YES), the averaging process is performed by the smoothing processing unit 511 (step S48), the position and the size of the pointer S are determined (step S50), and the storage unit 512 is set.
Is updated (step S51).
【0080】また、指示物Sの位置及び大きさがエラー
値とされると (S49)、これが指示物Sの位置及び大
きさとして決定され (S50)、記憶部512の内容が
更新される (S51)。When the position and the size of the pointer S are set to an error value (S49), this is determined as the position and the size of the pointer S (S50), and the content of the storage unit 512 is updated (S49). S51).
【0081】図8は、本発明の他の光走査型タッチパネ
ルの基本構成を示す模式図である。図8に示す構成で
は、MPU5の内部構成が図1に示すものと異なってお
り、MPU5は、指示物Sの位置及び大きさを算出する
算出手段53と、算出手段53の算出結果に基づいて指
示物Sが表示画面10に接触しているか否かを判別する
接触判別手段54と、表示装置6を制御する画像制御手
段52とで構成される。他の構成は、前述の図1の光走
査型タッチパネルと同じであり、同一部分には同一番号
を付してそれらの説明を省略する。FIG. 8 is a schematic diagram showing a basic configuration of another optical scanning type touch panel of the present invention. In the configuration illustrated in FIG. 8, the internal configuration of the MPU 5 is different from that illustrated in FIG. 1, and the MPU 5 calculates the position and the size of the pointer S based on the calculation result by the calculation unit 53. The display device 10 includes a contact determination unit 54 that determines whether the pointer S is in contact with the display screen 10 and an image control unit 52 that controls the display device 6. Other configurations are the same as those of the above-described optical scanning type touch panel of FIG. 1, and the same portions are denoted by the same reference numerals and description thereof will be omitted.
【0082】また、図9は、この算出手段53の一構成
例を示す機能ブロック図である。算出手段53は前述の
如く、MPU5の機能として実現されており、ここに示
されている機能ブロック図もMPU5で実行されるソフ
トウェア機能を示している。但し、同等の機能を実現す
る専用ハードウェアとして実現することも勿論可能であ
り、その場合には処理速度の高速化が可能である。FIG. 9 is a functional block diagram showing an example of the configuration of the calculating means 53. The calculation means 53 is realized as a function of the MPU 5 as described above, and the functional block diagram shown here also shows software functions executed by the MPU 5. However, it is of course possible to realize as dedicated hardware for realizing the same function, in which case the processing speed can be increased.
【0083】算出手段53は、計測手段の出力(特徴
量)が所定範囲内であるか否かを判別する特徴量判別部
531と、一連の複数の特徴量のデータに平滑化処理を
行う第1平滑化処理部532と、一連の複数の特徴量の
データを記憶する第1記憶部533と、第1平滑化処理
部532の出力に基づいて指示物Sの位置及び大きさを
算出する位置・大きさ算出部534と、算出した一連の
複数の位置及び大きさのデータに平滑化処理を行う第2
平滑化処理部535と、算出した一連の複数の位置及び
大きさのデータを記憶する第2記憶部536とを有す
る。The calculating means 53 determines whether or not the output (feature amount) of the measuring means is within a predetermined range. The calculating means 53 performs a smoothing process on data of a series of a plurality of feature quantities. 1 smoothing processing unit 532, a first storage unit 533 for storing a series of data of a plurality of feature amounts, and a position for calculating the position and size of the indicator S based on the output of the first smoothing processing unit 532 A size calculating unit 534 for performing a smoothing process on the data of the calculated series of a plurality of positions and sizes;
It has a smoothing processing unit 535 and a second storage unit 536 that stores data of a series of a plurality of calculated positions and sizes.
【0084】計測手段、具体的には光送受ユニット1
a,1bからの出力である特徴量θ1- 1 、θ1-2 、θ
2-1 、θ2-2 が特徴量判別部531に入力され、それら
の各角度及びそれらから計測されるθ1 ,θ2 が所定範
囲内であるかが判別される。そしてこれらのうちの何れ
かが所定範囲内でない場合にはエラーフラグがオンとな
る。なお、この特徴量判別部531での処理動作の詳細
については後述する。Measuring means, specifically, the light transmitting / receiving unit 1
a, feature quantity theta 1-1 is output from the 1b, θ 1-2, θ
2-1 and θ 2-2 are input to the feature value discriminating unit 531, and it is discriminated whether each angle thereof and θ 1 and θ 2 measured therefrom are within a predetermined range. If any of them is not within the predetermined range, the error flag is turned on. The details of the processing operation of the feature amount discrimination unit 531 will be described later.
【0085】第1平滑化処理部532及び第1記憶部5
33には、ある時間tにおける出力θ1-1,t、θ1-2,
t、θ2-1,t、θ2-2,tが入力される。第1記憶部53
3には、各出力データθ1-1 、θ1-2 、θ2-1 、θ2-2
それぞれに関する現時点t以前の時間t−1〜t−(m
−1)のm−1ステップ分のデータが記憶されており、
第1平滑化処理部532は、この第1記憶部533から
これらのm−1ステップ分のθの値を読み出し、現時点
tのθの値をも含めたそれぞれm個のデータの平均値を
算出し、その算出結果を位置・大きさ算出部534へ出
力する。なお、第1記憶部533では、この第1平滑化
処理部532による平均化処理が一度実行される都度、
最も古いデータ、即ち時間t−(m−1)のデータを廃
棄し、現時点tのデータを時間t−1のデータとし、各
時間のデータを順送りに更新する。First smoothing processing section 532 and first storage section 5
33 includes outputs θ 1-1 , t, θ 1-2 ,
t, θ 2-1 , t, θ 2-2 , t are input. First storage unit 53
3 includes output data θ 1-1 , θ 1-2 , θ 2-1 , θ 2-2
Times t-1 to t- (m
-1) m-1 steps of data are stored,
The first smoothing processing unit 532 reads the values of θ for these m−1 steps from the first storage unit 533, and calculates the average value of each of the m data including the value of θ at the current time t. Then, the calculation result is output to the position / size calculation unit 534. In the first storage unit 533, each time the averaging process by the first smoothing processing unit 532 is performed once,
The oldest data, that is, the data at the time t- (m-1) is discarded, the data at the current time t is used as the data at the time t-1, and the data at each time is sequentially updated.
【0086】位置・大きさ算出部534は、この平均化
処理の結果として得られるθ1-1 、θ1-2 、θ2-1 、θ
2-2 それぞれの平均値θa1-1、θa1-2、θa2-1、θa2-2
を使用して、指示物Sの位置(x,y)及び大きさrを
それぞれ算出し、その算出結果を第2平滑化処理部53
5及び第2記憶部536へ出力する。即ち、ある時間n
における指示物Sの位置(xn ,yn )と大きさrn と
が第2平滑化処理部535及び第2記憶部536へ入力
される。The position / size calculation section 534 calculates θ 1-1 , θ 1-2 , θ 2-1 , θ θ obtained as a result of the averaging process.
2-2 Average value of each θ a1-1 , θ a1-2 , θ a2-1 , θ a2-2
Is used to calculate the position (x, y) and the size r of the pointer S, and the calculation result is referred to as the second smoothing processing unit 53.
5 and the second storage unit 536. That is, a certain time n
The indicator position of the S (x n, y n) in and the sized r n is input to the second smoothing processing section 535 and the second storage unit 536.
【0087】第2記憶部536には、指示物Sの位置及
び大きさに関する現時点n以前の時間n−1〜n−(m
−1)のm−1ステップ分のデータが記憶されており、
第2平滑化処理部535は、第2記憶部536に記憶さ
れているm−1ステップ分の指示物Sの位置を読み出
し、現時点nの指示物Sの位置(xn ,yn )をも含め
たm個のデータの平均を算出すると共に、第2記憶部5
36に記憶されているm−1ステップ分の指示物Sの大
きさを読み出し、現時点nの指示物Sの大きさr n をも
含めたm個のデータの平均を算出する。このような算出
結果である指示物Sの平均位置(xan,yan)及び指示
物Sの平均大きさranが算出手段53の出力となる。な
お、第2記憶部536では、この第2平滑化処理部53
5での平均化処理が実行される都度、最も古いデータ、
即ち時間n−(m−1)のデータを廃棄し、現時点nの
データを時間n−1のデータとし、各時間のデータを順
送りに更新する。The second storage unit 536 stores the position and the position of the pointer S.
Time n-1 to n- (m
-1) m-1 steps of data are stored,
The second smoothing processing unit 535 stores the information in the second storage unit 536.
Read the position of the pointer S for m-1 steps
Then, the position (xn, Yn)
The average of the m pieces of data is calculated, and the second storage unit 5
The size of the pointer S for m-1 steps stored in 36
The magnitude is read and the size r of the pointer S at the current time n is read out. nAlso
The average of the m pieces of data is calculated. Such calculations
The average position (xan, Yan) And instructions
Average size r of object SanIs the output of the calculating means 53. What
In the second storage unit 536, the second smoothing processing unit 53
5 each time the averaging process is performed,
That is, the data at the time n- (m-1) is discarded,
Data is time n-1 data, and data at each time is
Update to feed.
【0088】なお、上述した例では、第1平滑化処理部
532及び第2平滑化処理部535において、m個のデ
ータの平均値を算出するようにしたが、m個のデータの
中央値を求めるようにしても良い。In the example described above, the average value of m pieces of data is calculated in the first smoothing processing section 532 and the second smoothing processing section 535, but the median value of the m pieces of data is calculated. You may ask for it.
【0089】次に、図9に示す算出手段53(特徴量判
別部531,第1平滑化処理部532,第1記憶部53
3,位置・大きさ算出部534,第2平滑化処理部53
5及び第2記憶部536)と接触判別手段54との処理
動作について説明する。Next, calculation means 53 shown in FIG. 9 (characteristic amount discriminating section 531, first smoothing processing section 532, first storage section 53
3, position / size calculation unit 534, second smoothing processing unit 53
5 and the second storage unit 536) and the contact determination means 54 will be described.
【0090】第1平滑化処理部532,第2平滑化処理
部535では、前述したように時間的に連続したm個の
データの平均値(または中央値)を算出するが、このm
個のデータ中に、ノイズまたはタッチパネルの他のエラ
ー要因によって通常の値とは著しく異なったデータが含
まれてしまった場合、その結果として得られる平均値
(または中央値)も本来の値とは著しく異なってしまう
虞がある。そこで、平滑化処理の対象となるべきm個の
データを大きさ順に並べ換え、値が大きい方からのn1
個のデータと、値が小さい方からのn2個のデータとを
除外したm−(n1+n2)個(但し、m>n1+n
2)に対してのみ平滑化処理を行うようにする。これに
よって、平滑化処理の対象となるm個の数値中に著しく
大きな値または著しく小さな値が含まれていても、それ
らが平均値(または中央値)に与える影響を小さくする
ことができる。なお、第1平滑化処理部532,第2平
滑化処理部535におけるこのような処理手順は、前述
した平滑化処理部511,511a,511bでの処理
手順(図5のフローチャート)と同様であるので、その
詳細な説明は省略する。The first smoothing processing unit 532 and the second smoothing processing unit 535 calculate the average value (or the median value) of the m successive data as described above.
If individual data contains data that is significantly different from the normal value due to noise or other error factors on the touch panel, the resulting average value (or median value) will also differ from the original value. There is a risk that they will differ significantly. Therefore, the m pieces of data to be subjected to the smoothing process are rearranged in the order of the size, and n1 from the larger value is used.
M- (n1 + n2) excluding n pieces of data and n2 pieces of data having smaller values (where m> n1 + n
Smoothing processing is performed only for 2). As a result, even if an extremely large value or an extremely small value is included in the m numerical values to be subjected to the smoothing process, it is possible to reduce the influence on the average value (or the median value). Such a processing procedure in the first smoothing processing unit 532 and the second smoothing processing unit 535 is the same as the processing procedure (the flowchart in FIG. 5) in the above-described smoothing processing units 511, 511a, and 511b. Therefore, the detailed description is omitted.
【0091】上述の処理では、他と著しく異なった数値
の全てが本来の値よりも例えば著しく小さいような場合
には数値は大きいながらも本来の値により近い数値が破
棄される可能性がある。そこで、平滑化処理の対象であ
るm個の数値の標準偏差を求め、標準偏差が大きいn個
のデータを除いたm−n個のデータのみを対象として平
均値(または中央値)を求めることによりこのような問
題の解決を図る。In the above-described processing, if all of the numerical values that are significantly different from the others are, for example, significantly smaller than the original values, the numerical values that are larger but closer to the original values may be discarded. Therefore, the standard deviation of m numerical values to be subjected to the smoothing processing is obtained, and an average value (or a median value) is obtained only for mn data excluding n data having a large standard deviation. To solve such a problem.
【0092】以下、図10のフローチャートを参照して
具体的に説明する。なお、図10では、第2平滑化処理
部535での処理手順を示しているが、第1平滑化処理
部532の処理手順も同様である。位置・大きさ算出部
534で算出された指示物Sの位置と大きさとが、第2
平滑化理部535及び第2記憶部536へ入力され(ス
テップS61)、第2記憶部536の内容が更新される
(ステップS62)。第2平滑化理部535は、第2記
憶部536から位置,大きさのそれぞれm個のデータ列
を取得し(ステップS63)、それぞれm個のデータの
平均値(または中央値)を算出する (ステップS6
4)。Hereinafter, a specific description will be given with reference to the flowchart of FIG. Although FIG. 10 shows the processing procedure in the second smoothing processing unit 535, the processing procedure in the first smoothing processing unit 532 is the same. The position and size of the pointer S calculated by the position / size calculation unit 534 are the second and
The data is input to the smoothing unit 535 and the second storage unit 536 (step S61), and the contents of the second storage unit 536 are updated (step S62). The second smoothing processor 535 obtains m data rows each having a position and a size from the second storage section 536 (step S63), and calculates an average value (or a median value) of each of the m data. (Step S6
4).
【0093】また、第2平滑化理部535は、それぞれ
m個のデータの標準偏差を算出し (ステップS65)、
それぞれのm個のデータを標準偏差が大きい順に並び替
え (ステップS66)、偏差が大きい方のそれぞれn個
のデータを破棄し (ステップS67)、残りのそれぞれ
(m−n)個のデータの平均値(または中央値)を算出
する (ステップS68)。そして、この算出結果を指示
物Sの位置(xan,y an)及び大きさranとして決定す
る (ステップS69)。Also, the second smoothing processing unit 535
The standard deviation of the m data is calculated (step S65),
Sort each m data in descending order of standard deviation
E (step S66), n each of the larger deviations
Are discarded (step S67), and the remaining
Calculate the average (or median) of (mn) data
Yes (step S68). Then, indicate the calculation result
Position of object S (xan, Y an) And size ranDecide as
(Step S69).
【0094】特徴量として算出手段53(特徴量判別部
531)に入力されるθ1-1 、θ1- 2 、θ2-1 、θ2-2
は、光走査手段による走査角度範囲を超えることはな
い。もし、この走査角度範囲を超えるような値が計測さ
れた場合、その値は、ノイズ等の影響を受けた異常な値
か、指示物Sが表示画面に接触していない状態における
異常な値と考えられる。また、前述した式(1),
(2)で算出されるθ1 ,θ2 もこの走査角度範囲を超
えることはない。よって、これらの角度の値が走査角度
範囲を超えて出力された場合には、エラーフラグをオン
にして、入力された特徴量が異常であることを以後の処
理に反映させるようにする。[0094] theta 1-1 is inputted to the calculating means 53 (characteristic amount determination unit 531) as the feature amount, θ 1- 2, θ 2-1, θ 2-2
Does not exceed the scanning angle range of the optical scanning means. If a value exceeding the scanning angle range is measured, the value may be an abnormal value affected by noise or the like or an abnormal value in a state where the pointer S is not in contact with the display screen. Conceivable. Also, the above-described equations (1),
Θ 1 and θ 2 calculated in (2) do not exceed this scanning angle range. Therefore, when the values of these angles are output beyond the scanning angle range, the error flag is turned on, and the fact that the input feature amount is abnormal is reflected in the subsequent processing.
【0095】以下、特徴量判別部531での処理手順を
示す図11のフローチャートを参照して具体的に説明す
る。まず、計測手段から特徴量θ1-1 、θ1-2 、
θ2-1 、θ 2-2 を入力する(ステップS71)。そし
て、これらの特徴量θ1-1 、θ1-2 、θ2-1 、θ2-2 が
所定範囲内(走査角度範囲内)であるか否かを順次判断
する(ステップS72,S73,S74,S75)。何
れかが所定範囲内でない場合には(S72,S73,S
74,S75の何れか:NO)、エラーフラグをオンに
する(ステップS81)。The processing procedure in the feature amount discriminating unit 531 will be described below.
This will be specifically described with reference to the flowchart of FIG.
You. First, the characteristic amount θ1-1, Θ1-2,
θ2-1, Θ 2-2Is input (step S71). Soshi
And these feature values θ1-1, Θ1-2, Θ2-1, Θ2-2But
Determine sequentially whether it is within a predetermined range (within the scanning angle range)
(Steps S72, S73, S74, S75). what
If any of them is not within the predetermined range (S72, S73, S
74, S75: NO), turns on the error flag
(Step S81).
【0096】すべてが所定範囲内である場合には(S7
2,S73,S74,S75の全て:YES)、式
(1),(2)に従ってθ1 ,θ2 を算出する(ステッ
プS76)。算出したθ1 ,θ2 が所定範囲内(走査角
度範囲内)であるか否かを順次判断する(ステップS7
7,S78)。何れかが所定範囲内でない場合には(S
77,S78の何れか:NO)、エラーフラグをオンに
する(S81)。すべてが所定範囲内である場合には
(S77,S78の全て:YES)、エラーフラグをオ
フとする(ステップS79)。そして、設定したエラー
フラグを送る(ステップS80)。If all are within the predetermined range (S7
2, S73, S74, and S75: YES), and θ 1 and θ 2 are calculated according to equations (1) and (2) (step S76). It is sequentially determined whether the calculated θ 1 and θ 2 are within a predetermined range (within a scanning angle range) (step S7).
7, S78). If any of them is not within the predetermined range (S
77, S78: NO), the error flag is turned on (S81). If all are within the predetermined range (all of S77 and S78: YES), the error flag is turned off (step S79). Then, the set error flag is sent (step S80).
【0097】指示物Sが表示画面10の所定領域に接触
し、特徴量判別部531から正規の特徴量が算出手段5
3に入力され始めても、第1記憶部533または第2記
憶部536に所定数のデータ列が記憶されるまでは、第
1平滑化処理部532または第2平滑化処理部535で
平滑化処理を行えない。そこで、算出手段53では、第
1記憶部533,第2記憶部536内のデータ列の数を
常に監視し、所定数のデータ列が記憶されていない状態
では、指示物Sの最終的な正規の位置及び大きさの代わ
りに所定のエラーデータを出力して、まだ正規の位置及
び大きさを出力できないことを以後の処理に反映させる
ようにする。また、前記エラーフラグがオンである場合
にも、このエラーデータを出力する。The indicator S comes into contact with a predetermined area of the display screen 10, and the characteristic amount discriminating unit 531 calculates a regular characteristic amount from the calculating means 5.
3, until the predetermined number of data strings are stored in the first storage unit 533 or the second storage unit 536, the first smoothing unit 532 or the second smoothing unit 535 performs the smoothing process. Can not do. Therefore, the calculating unit 53 constantly monitors the number of data strings in the first storage unit 533 and the second storage unit 536, and when a predetermined number of data strings are not stored, the final normal In this case, predetermined error data is output in place of the position and the size, and the fact that the normal position and size cannot be output is reflected in the subsequent processing. This error data is also output when the error flag is on.
【0098】以下、算出手段53での処理手順を示す図
12のフローチャートを参照して具体的に説明する。ま
ず、特徴量をエラーフラグと共に特徴量判別部531か
ら入力する(ステップS91)。入力されたエラーフラ
グがオフであるか否かを判断する(ステップS92)。
エラーフラグがオンである場合には(S92:NO)、
エラーデータを出力する(ステップS101)。Hereinafter, a specific description will be given with reference to the flowchart of FIG. First, the feature amount is input together with the error flag from the feature amount determination unit 531 (step S91). It is determined whether or not the input error flag is off (step S92).
If the error flag is ON (S92: NO),
The error data is output (step S101).
【0099】エラーフラグがオフである場合には(S9
2:YES)、第1記憶部533の内容を更新し(ステ
ップS93)、第1記憶部533内に所定数のデータ列
が記憶されているか否かを判断する(ステップS9
4)。所定数未満である場合には(S94:NO)、エ
ラーデータを出力する(S101)。所定数に達してい
る場合には(S94:YES)、第1平滑化処理部53
2にて特徴量に対する平滑化処理を行い(ステップS9
5)、その平滑化処理結果に基づいて指示物Sの位置及
び大きさを位置・大きさ算出部534にて算出し(ステ
ップS96)、第2記憶部536の内容を更新する(ス
テップS97)。If the error flag is off (S9
2: YES), the content of the first storage unit 533 is updated (step S93), and it is determined whether a predetermined number of data strings are stored in the first storage unit 533 (step S9).
4). If the number is less than the predetermined number (S94: NO), error data is output (S101). If the number has reached the predetermined number (S94: YES), the first smoothing processing unit 53
In step 2, a smoothing process is performed on the feature amount (step S9).
5) The position and size of the pointer S are calculated by the position / size calculation unit 534 based on the result of the smoothing process (step S96), and the contents of the second storage unit 536 are updated (step S97). .
【0100】第2記憶部536内に所定数のデータ列が
記憶されているか否かを判断する(ステップS98)。
所定数未満である場合には(S98:NO)、エラーデ
ータを出力する(S101)。所定数に達している場合
には(S98:YES)、第2平滑化処理部535にて
指示物Sの位置及び大きさに対する平滑化処理を行い
(ステップS99)、その平滑化処理結果を正規の指示
物Sの位置及び大きさとして出力する(ステップS10
0)。It is determined whether a predetermined number of data strings are stored in second storage section 536 (step S98).
If the number is less than the predetermined number (S98: NO), error data is output (S101). If the number has reached the predetermined number (S98: YES), the second smoothing processing unit 535 performs a smoothing process on the position and size of the pointer S (step S99), and normalizes the smoothing result. Is output as the position and size of the pointer S (step S10).
0).
【0101】上述したように、この例では、算出手段5
3から所定の時間間隔で常に出力信号が出力されてい
る。つまり、指示物Sが正規に検出された場合には、正
規の位置及び大きさが出力され、指示物Sが正規に検出
されない場合には、エラーデータが出力される。接触判
別手段54は、正規の位置及び大きさが入力された場合
に指示物Sが表示画面10の所定領域に接触していると
判別して接触フラグをオンにする。また、指示物Sが接
触していてもノイズ等の影響でエラーデータが出力され
る可能性があるので、ある所定の回数以上連続してエラ
ーデータが入力された場合に、接触判別手段54は、指
示物Sが所定領域に接触せずに表示画面10から離れて
いる状態であると判別して接触フラグをオフにする。そ
して、接触フラグがオンからオフに変化する際に、第1
記憶部533及び第2記憶部536内のデータ列をすべ
て消去して、それぞれの平滑化処理を初期化する。As described above, in this example, the calculating means 5
3, the output signal is always output at predetermined time intervals. In other words, when the indicator S is properly detected, the regular position and size are output, and when the indicator S is not properly detected, error data is output. The contact determination unit 54 determines that the indicator S is in contact with a predetermined area of the display screen 10 when a normal position and size are input, and turns on a contact flag. Further, even if the indicator S is in contact, error data may be output due to the influence of noise or the like. Therefore, when error data is continuously input for a predetermined number of times or more, the contact determination unit 54 Then, it is determined that the pointer S is separated from the display screen 10 without touching the predetermined area, and the contact flag is turned off. When the contact flag changes from on to off, the first
All data strings in the storage unit 533 and the second storage unit 536 are deleted, and the respective smoothing processes are initialized.
【0102】以下、接触判別手段54での処理手順を示
す図13のフローチャートを参照して具体的に説明す
る。まず、算出手段53からの出力信号を入力し(ステ
ップS111)、その出力信号がエラーデータであるか
否かを判断する(ステップS112)。エラーデータで
ない場合、即ち正規のデータである場合には(S11
2:NO)、接触フラグをオンにして(ステップS11
7)、その入力データを指示物Sの位置及び大きさとし
て出力する(ステップS118)。Hereinafter, a specific description will be given with reference to a flowchart of FIG. 13 showing a processing procedure in the contact determination means 54. First, an output signal from the calculating means 53 is input (step S111), and it is determined whether or not the output signal is error data (step S112). If it is not error data, that is, if it is regular data (S11
2: NO), the contact flag is turned on (step S11)
7) The input data is output as the position and size of the pointer S (step S118).
【0103】一方、エラーデータである場合には(S1
12:YES)、接触フラグがオンであるか否かを判断
する(ステップS113)。オンでなければ(S11
3:NO)、その接触フラグをオフとする(ステップS
119)。接触フラグがオンである場合には(S11
3:YES)、エラーデータが所定数k個以上連続して
入力されたか否かを判断する(ステップS114)。k
個以上連続入力されていない場合には(S114:N
O)、接触フラグをオンとする(ステップS120)。On the other hand, if the data is error data (S1
12: YES), it is determined whether or not the contact flag is on (step S113). If not on (S11
3: NO), the contact flag is turned off (step S)
119). If the contact flag is on (S11
3: YES), it is determined whether or not a predetermined number k or more of error data has been continuously input (step S114). k
If not more than this number has been input continuously (S114: N
O), the contact flag is turned on (step S120).
【0104】一方、エラーデータがk個以上連続入力さ
れている場合には(S114:YES)、接触フラグを
オフとし(ステップS115)、第1記憶部533及び
第2記憶部536内のデータを消去する(ステップS1
16)。On the other hand, if k or more error data are continuously input (S114: YES), the contact flag is turned off (step S115), and the data in the first storage unit 533 and the second storage unit 536 are deleted. Erase (step S1
16).
【0105】ところで、本発明の光走査型タッチパネル
では、前述したように、指示物Sの大きさとして、Ch
1の光送受ユニット1bから出力される数値θ1-2 から
算出するr1と、Ch2の光送受ユニット1aから出力
される数値θ2-2 から算出するr2との2つの値を得る
ことができる。By the way, in the optical scanning type touch panel of the present invention, as described above, the size of the pointer S is Ch
It is possible to obtain two values, r1 calculated from the numerical value θ 1-2 output from the optical transmission / reception unit 1b of No. 1 and r2 calculated from the numerical value θ 2-2 output from the optical transmission / reception unit 1a of Ch2. .
【0106】しかし、ノイズまたはタッチパネルの他の
エラー要因によってr1またはr2の何れか一方、或い
は、双方共に正常な数値とは大きく異なっている可能性
がある場合があり得る。そこで、まず、r1とr2とが
それぞれ所定の正常な数値範囲内であるか否かを判定
し、更に、r1とr2とを比較し、両者の差が所定範囲
内であるか否かを判別する。これらが所定範囲外である
場合には、通常の処理を行わずに予め定められているエ
ラー値を出力する。これにより、ノイズまたはタッチパ
ネルの他のエラー要因によって正常な位置・大きさの検
出が行えなかったことを報知する。一方、それらが所定
範囲内の場合には、r1とr2との平均値、または大き
い方か小さい方の何れかを指示物Sの大きさとして出力
する。However, there is a possibility that either r1 or r2, or both, may be significantly different from a normal value due to noise or other error factors of the touch panel. Therefore, first, it is determined whether or not r1 and r2 are each within a predetermined normal numerical range, and further, r1 and r2 are compared to determine whether or not the difference between the two is within a predetermined range. I do. If these are outside the predetermined range, a predetermined error value is output without performing normal processing. As a result, it is notified that the normal position / size cannot be detected due to noise or another error factor of the touch panel. On the other hand, if they are within the predetermined range, the average value of r1 and r2, or either the larger value or the smaller value is output as the size of the indicator S.
【0107】以下、算出手段51,53での指示物Sの
大きさの算出方法とエラー値処理手順とを示す図14の
フローチャートを参照して具体的に説明する。まず、計
測手段から計測結果(θ1-1 、θ1-2 、θ2-1 、
θ2-2 )を取得し (ステップS121)、指示物Sの位
置を算出して (ステップS122)、指示物Sの大きさ
r1,r2をθ1-2 ,θ2-2 からそれぞれ算出する (ス
テップS123,S124)。Hereinafter, a specific description will be given with reference to a flowchart of FIG. 14 showing a method of calculating the size of the pointer S by the calculation means 51 and 53 and a procedure of processing an error value. First, measurement results (θ 1-1 , θ 1-2 , θ 2-1 ,
θ 2-2 ) is obtained (step S121), the position of the indicator S is calculated (step S122), and the sizes r1 and r2 of the indicator S are calculated from θ 1-2 and θ 2-2 , respectively. (Steps S123 and S124).
【0108】そして、θ1-2 から算出された指示物Sの
大きさr1と、θ2-2 から算出された指示物Sの大きさ
r2とがそれぞれ所定範囲内であるか否かを判断する
(ステップS125,S126)。それぞれが何れも所
定範囲内である場合には (S125,S126の何れ
も:YES)、両者の差が所定範囲内であるか否かを判
断する (ステップS127)。その差が所定範囲内であ
る場合には (S127:YES)、r1とr2との何れ
か大きい方または小さい方を選択するか、或いは、両者
の平均値を求めることにより (ステップS128)、指
示物Sの大きさを決定する (ステップS130)。Then, it is determined whether or not the size r1 of the pointer S calculated from θ 1-2 and the size r2 of the pointer S calculated from θ 2-2 are within predetermined ranges. Do
(Steps S125 and S126). If each of them is within the predetermined range (both S125 and S126: YES), it is determined whether or not the difference between the two is within the predetermined range (step S127). If the difference is within the predetermined range (S127: YES), the instruction is made by selecting either the larger one or the smaller one of r1 and r2, or calculating the average value of both (step S128). The size of the object S is determined (Step S130).
【0109】r1,r2の少なくとも一方が所定範囲外
である (S125,S126の何れか:NO)、また
は、両者の差が所定範囲外である (S127:NO)場
合には、所定のエラー値を指示物Sの大きさとし (ステ
ップS129)、その大きさを決定する (S130)。
これにより、オペレータは指示物Sの正常な位置及び大
きさが検出不可能であったことを認識することが可能に
なる。If at least one of r1 and r2 is outside the predetermined range (one of S125 and S126: NO), or the difference between them is outside the predetermined range (S127: NO), the predetermined error value is set. Is the size of the pointer S (step S129), and the size is determined (S130).
This allows the operator to recognize that the normal position and size of the pointer S have not been detected.
【0110】また、本発明の光走査型タッチパネルにお
いては、指示物Sの位置と大きさとを算出する際に、表
示画面10上での分解能が両光送受ユニット1a,1b
に対する距離によって大きく異なるため、検出精度も表
示画面10の位置によって大きく変化する。これは、光
の走査角度の測定分解能と三角測量の幾何学的な問題と
に起因する。In the optical scanning touch panel according to the present invention, when calculating the position and size of the pointer S, the resolution on the display screen 10 is determined by the two light transmitting / receiving units 1a and 1b.
, The detection accuracy also changes greatly depending on the position of the display screen 10. This is due to the resolution of the scanning angle of the light and the geometric problems of triangulation.
【0111】そこで、そのような検出精度が低下する領
域では、平滑化処理に使用するデータの数mを多くする
ことにより検出結果のばらつきを検出精度が良好な他の
位置より低くしている。一方、データの数mが多くなる
と計算量が多くなるため、他の処理に悪影響を及ぼす可
能性があるというトレードオフの関係がある。そこで、
指示物Sの表示画面10上の位置に応じてデータの数m
を適宜に変更することにより、このようなトレードオフ
を解決する。Therefore, in such a region where the detection accuracy is reduced, the variation m of the detection result is made lower than other positions where the detection accuracy is good by increasing the number m of data used for the smoothing process. On the other hand, if the number m of data increases, the amount of calculation increases, and there is a trade-off relationship that other processes may be adversely affected. Therefore,
The number m of data according to the position of the pointer S on the display screen 10
Is appropriately changed to solve such a trade-off.
【0112】図15は、指示物Sの表示画面10の位置
に応じて、平滑化処理に使用するデータの数mを変更す
る処理手順を示すフローチャートであり、また図16
は、表示画面10上の指示物Sの位置と平滑化処理に使
用するデータの設定数mとの関係を示す模式図である。
なお、この関係は、算出手段51,53内のメモリ(図
示せず)にテーブルデータとして格納されている。FIG. 15 is a flowchart showing a processing procedure for changing the number m of data used for the smoothing processing in accordance with the position of the indicator S on the display screen 10, and FIG.
FIG. 5 is a schematic diagram showing a relationship between the position of the pointer S on the display screen 10 and the set number m of data used for the smoothing process.
This relationship is stored as table data in memories (not shown) in the calculation means 51 and 53.
【0113】まず、計測手段から出力されたデータに基
づいて指示物Sの位置を算出し (ステップS131)、
前回の平滑化処理時に決定されていたデータ数mで平滑
化処理を行う (ステップS132)。但し、最初はデー
タ数mは1でもよい。ステップS131において算出さ
れた指示物Sの位置に基づいてmをメモリのテーブルか
ら取得する (ステップS133)。次に、メモリに記憶
されているテーブルから取得したデータ数mに次回の平
滑化処理時のデータ数mを更新する (ステップS13
4)。First, the position of the pointer S is calculated based on the data output from the measuring means (step S131),
The smoothing process is performed with the number of data m determined at the time of the previous smoothing process (step S132). However, initially, the number m of data may be one. M is acquired from the table in the memory based on the position of the pointer S calculated in step S131 (step S133). Next, the data number m in the next smoothing process is updated to the data number m obtained from the table stored in the memory (step S13).
4).
【0114】なお、このmの取得のためのテーブルは、
図16の模式図に示されているような両光送受ユニット
1a,1bからの表示画面10上の距離に対応したほぼ
扇形の複数の領域に分割した各領域についてのデータ数
mをそれぞれの位置のデータと対応つけて予めメモリに
格納している。もとより、このテーブルの内容はそれほ
どには厳密である必要は無く、前述した如く、光の走査
角度の測定分解能と三角測量の幾何学的な問題とに概略
的に対応していればよい。The table for obtaining m is as follows:
The number m of data in each area divided into a plurality of substantially fan-shaped areas corresponding to the distance on the display screen 10 from the light transmitting and receiving units 1a and 1b as shown in the schematic diagram of FIG. Are stored in the memory in advance in association with the data of the above. Of course, the contents of this table do not need to be so strict, and as long as it roughly corresponds to the measurement resolution of the light scanning angle and the geometrical problem of triangulation as described above.
【0115】[0115]
【発明の効果】以上に詳述したように本発明によれば、
直接的に得られるデータに基づいて演算によって指また
はペン等の指示物の位置及び大きさを求める際に、平滑
化処理を行うようにしたので、その算出結果を確度が高
いものとすることが可能である。As described in detail above, according to the present invention,
When calculating the position and size of an indicator such as a finger or a pen by calculation based on directly obtained data, a smoothing process is performed, so that the calculation result can be highly accurate. It is possible.
【0116】また、明らかにエラーと見なされるべき結
果が得られると予想される場合、または、そのような結
果が得られた場合には、演算処理を中止するか、また
は、得られた結果を廃棄するようにしたので、異常な算
出結果が得られることを防止できる。When it is expected that a result that should be clearly regarded as an error is obtained, or when such a result is obtained, the arithmetic processing is stopped or the obtained result is Since it is discarded, it is possible to prevent an abnormal calculation result from being obtained.
【図1】本発明の光走査型タッチパネルの基本構成を示
す模式図である。FIG. 1 is a schematic diagram showing a basic configuration of an optical scanning type touch panel of the present invention.
【図2】本発明の光走査型タッチパネルによる座標面で
の位置検出動作の原理を示す模式図である。FIG. 2 is a schematic diagram showing the principle of a position detection operation on a coordinate plane by the optical scanning type touch panel of the present invention.
【図3】算出手段の構成例を示す機能ブロック図であ
る。FIG. 3 is a functional block diagram illustrating a configuration example of a calculation unit.
【図4】算出手段の構成例を示す機能ブロック図であ
る。FIG. 4 is a functional block diagram illustrating a configuration example of a calculating unit.
【図5】平滑化処理部での処理手順の一例を示すフロー
チャートである。FIG. 5 is a flowchart illustrating an example of a processing procedure in a smoothing processing unit.
【図6】平滑化処理部での処理手順の一例を示すフロー
チャートである。FIG. 6 is a flowchart illustrating an example of a processing procedure in a smoothing processing unit.
【図7】平滑化処理部での処理手順の一例を示すフロー
チャートである。FIG. 7 is a flowchart illustrating an example of a processing procedure in a smoothing processing unit.
【図8】本発明の光走査型タッチパネルの基本構成を示
す模式図である。FIG. 8 is a schematic diagram showing a basic configuration of an optical scanning type touch panel of the present invention.
【図9】算出手段の構成例を示す機能ブロック図であ
る。FIG. 9 is a functional block diagram illustrating a configuration example of a calculating unit.
【図10】平滑化処理部での処理手順の一例を示すフロ
ーチャートである。FIG. 10 is a flowchart illustrating an example of a processing procedure in a smoothing processing unit.
【図11】特徴量判別部での処理手順の一例を示すフロ
ーチャートである。FIG. 11 is a flowchart illustrating an example of a processing procedure in a feature amount determination unit.
【図12】算出手段での処理手順の一例を示すフローチ
ャートである。FIG. 12 is a flowchart illustrating an example of a processing procedure in a calculating unit.
【図13】接触判別手段での処理手順の一例を示すフロ
ーチャートである。FIG. 13 is a flowchart illustrating an example of a processing procedure in a contact determination unit.
【図14】算出手段での指示物の大きさの算出方法とエ
ラー値処理手順の一例を示すフローチャートである。FIG. 14 is a flowchart illustrating an example of a method of calculating the size of an indicator by a calculation unit and an example of an error value processing procedure;
【図15】平滑化処理部での処理手順の一例を示すフロ
ーチャートである。FIG. 15 is a flowchart illustrating an example of a processing procedure in a smoothing processing unit.
【図16】表示画面上の指示物の位置と平滑化処理に使
用するデータの設定数との関係を示す模式図である。FIG. 16 is a schematic diagram showing the relationship between the position of an indicator on a display screen and the set number of data used for smoothing processing.
1a,1b 光送受ユニット 5 MPU 6 表示装置 7 再帰性反射シート 10 表示画面 11a,11b 発光素子 12a,12b 光走査手段 13a,13b 受光素子 16a,16b ポリゴンミラー 51,53 算出手段 54 接触判別手段 511,511a,511b 平滑化処理部 512,512a,512b 記憶部 513 位置算出部 514 大きさ算出部 531 特徴量判別部 532 第1平滑化処理部 533 第1記憶部 534 位置・大きさ算出部 535 第2平滑化処理部 536 第2記憶部 1a, 1b Light transmitting / receiving unit 5 MPU 6 Display device 7 Retroreflective sheet 10 Display screen 11a, 11b Light emitting element 12a, 12b Light scanning means 13a, 13b Light receiving element 16a, 16b Polygon mirror 51, 53 Calculation means 54 Contact discrimination means 511 , 511a, 511b Smoothing processing unit 512, 512a, 512b Storage unit 513 Position calculation unit 514 Size calculation unit 531 Feature amount determination unit 532 First smoothing processing unit 533 First storage unit 534 Position / size calculation unit 535 First 2 smoothing processing unit 536 second storage unit
───────────────────────────────────────────────────── フロントページの続き (72)発明者 中沢 文彦 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 飯田 安津夫 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 安部 文隆 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Fumihiko Nakazawa 4-1-1, Kamidadanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Inside Fujitsu Limited (72) Inventor Yasushi Iida 4 Kamikadanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Fujitsu Limited (72) Inventor Fumitaka Abe 4-1-1 Kamikadanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Fujitsu Limited
Claims (31)
査する光学的走査手段と、該光学的走査手段による走査
の結果に基づいて前記指示物の位置及び大きさを算出す
る算出手段とを備えた光走査型タッチパネルにおいて、
前記算出手段は、前記指示物の位置及び大きさを算出す
る処理中の特定の段階において、所定数の一連の数値列
を平滑化する平滑化処理手段を有し、前記平滑化処理手
段による平滑化処理の結果を使用して前記指示物の位置
及び大きさを算出すべくなしてあることを特徴とする光
走査型タッチパネル。An optical scanning means for optically scanning an indicator located in a predetermined area; and a calculating means for calculating a position and a size of the indicator based on a result of scanning by the optical scanning means. In an optical scanning type touch panel provided with
The calculation means has a smoothing processing means for smoothing a predetermined number of series of numerical values at a specific stage during the processing of calculating the position and size of the pointer, and the smoothing processing by the smoothing processing means. An optical scanning touch panel, wherein the position and size of the pointer are calculated using the result of the conversion process.
外側に設けた光再帰性反射手段と、前記所定領域と実質
的に平行である面内で光を角的に走査する光走査手段、
及び、光によって照射された部分の前記光再帰性反射手
段による反射光を受光する受光手段を有する少なくとも
2組の光送受手段と、前記光走査手段での走査角度及び
前記受光手段での受光結果に基づいて、前記指示物にて
形成される前記所定領域での走査光の遮断範囲を計測す
る計測手段とを有する請求項1記載の光走査型タッチパ
ネル。2. The optical scanning means according to claim 1, wherein said optical scanning means includes light retroreflecting means provided outside said predetermined area, and light scanning means angularly scanning light in a plane substantially parallel to said predetermined area. ,
And at least two sets of light transmitting / receiving means having light receiving means for receiving light reflected by the light retroreflecting part of a portion irradiated by light, a scanning angle by the light scanning means, and a light receiving result by the light receiving means 2. An optical scanning touch panel according to claim 1, further comprising: a measuring unit configured to measure a blocking range of the scanning light in the predetermined area formed by the pointing object based on the information.
手段による直近の過去の一連の所定回数の走査の結果を
平滑化処理し、前記算出手段は、前記平滑化処理手段に
よる平滑化処理の結果に基づいて前記指示物の位置及び
大きさを算出すべくなしてある請求項1または2記載の
光走査型タッチパネル。3. The smoothing processing means performs a smoothing process on a result of a series of a predetermined number of scans in the latest past performed by the optical scanning means, and the calculating means performs a smoothing process by the smoothing processing means. The optical scanning type touch panel according to claim 1, wherein the position and the size of the pointer are calculated based on the result of (1).
手段による一回の光学的走査の結果に基づいて前記指示
物の位置及び大きさを算出し、前記平滑化処理手段は、
前記光算出手段による直近の過去の一連の所定回数の算
出結果を平滑化処理すべくなしてある請求項1または2
記載の光走査型タッチパネル。4. The optical scanning means calculates a position and a size of the pointer based on a result of one optical scanning by the optical scanning means, and the smoothing processing means includes:
3. A smoothing process for a series of predetermined numbers of calculations in the latest past by said light calculation means.
The optical scanning type touch panel according to the above.
連の数値列中の所定の条件を満たす数値を選択して平滑
化処理すべくなしてある請求項3または4記載の光走査
型タッチパネル。5. An optical scanning touch panel according to claim 3, wherein said smoothing processing means selects a numerical value satisfying a predetermined condition from a series of numerical values to be smoothed and performs a smoothing process. .
個(mは1以上の自然数)の数値列中の、値が大なる順
からn1個及び小なる順からn2個を除外した残りの数
値を平滑化処理すべくなしてある請求項3または4記載
の光走査型タッチパネル。6. The smoothing processing means according to claim 1, wherein
5. A smoothing process for remaining numerical values excluding n1 from the largest value and n2 from the smallest value in a numerical value sequence (m is a natural number of 1 or more). The optical scanning type touch panel according to the above.
値列における標準偏差が小なる所定数の数値を平滑化処
理すべくなしてある請求項3または4記載の光走査型タ
ッチパネル。7. The optical scanning type touch panel according to claim 3, wherein said smoothing processing means smoothes a predetermined number of numerical values having a small standard deviation in a numerical value sequence to be smoothed.
値列における標準偏差が小なる所定数の数値の内の最大
の標準偏差の数値が所定値より大なる場合には所定のエ
ラー処理を行うべくなしてある請求項3または4記載の
光走査型タッチパネル。8. The smoothing processing means performs a predetermined error process when a maximum standard deviation of a predetermined number of numerical values having a small standard deviation in a numerical sequence to be smoothed is larger than a predetermined value. The optical scanning type touch panel according to claim 3, wherein the operation is performed.
よる走査の結果が、所定の基準範囲外である場合には、
所定のエラー処理を行うべくなしてある請求項1または
2記載の光走査型タッチパネル。9. The method according to claim 1, wherein the calculating unit is configured to determine whether or not a result of the scanning by the optical scanning unit is out of a predetermined reference range.
The optical scanning type touch panel according to claim 1, wherein predetermined error processing is performed.
定領域外部に位置することを意味する算出結果が得られ
た場合には、所定のエラー処理を行うべくなしてある請
求項1または2記載の光走査型タッチパネル。10. The apparatus according to claim 1, wherein said calculating means performs predetermined error processing when a calculation result indicating that said pointer is located outside said predetermined area is obtained. The optical scanning type touch panel according to the above.
走査する光学的走査手段と、該光学的走査手段による走
査の結果に基づいて前記指示物の特徴量を計測する計測
手段と、該計測手段によって計測された特徴量に基づい
て前記指示物の位置及び大きさを算出する算出手段とを
備えた光走査型タッチパネルにおいて、前記算出手段
は、前記計測手段によって計測された特徴量が所定範囲
内にあるか否かを判別する判別部と、所定範囲内にある
と判別された所定数の一連の特徴量の数値列を平滑化す
る第1平滑化処理部と、該第1平滑化処理部にて得られ
る平滑化特徴量を用いて前記指示物の位置及び大きさを
算出する位置・大きさ算出部と、算出された所定数の一
連の位置及び/または大きさの数値列を平滑化する第2
平滑化処理部と、該第2平滑化処理部による平滑化処理
の結果を使用して前記指示物の位置及び大きさを算出す
べくなしてあることを特徴とする光走査型タッチパネ
ル。11. An optical scanning means for optically scanning an indicator located in a predetermined area; a measuring means for measuring a characteristic amount of the indicator based on a result of scanning by the optical scanning means; Calculating means for calculating the position and size of the pointer based on the characteristic amount measured by the measuring means, wherein the calculating means determines that the characteristic amount measured by the measuring means is a predetermined value. A determining unit that determines whether the range is within a range, a first smoothing processing unit that smoothes a numerical sequence of a predetermined number of feature amounts determined to be within a predetermined range, and the first smoothing A position / size calculation unit that calculates the position and size of the pointer using the smoothing feature amount obtained by the processing unit, and a calculated series of numerical sequences of a predetermined number of positions and / or sizes Second to smooth
An optical scanning type touch panel, wherein a position and a size of the pointer are calculated using a smoothing processing unit and a result of the smoothing processing by the second smoothing processing unit.
の外側に設けた光再帰性反射手段と、前記所定領域と実
質的に平行である面内で光を角的に走査する光走査手
段、及び、光によって照射された部分の前記光再帰性反
射手段による反射光を受光する受光手段を有する少なく
とも2組の光送受手段と、前記光走査手段での走査角度
及び前記受光手段での受光結果に基づいて、前記指示物
にて形成される前記所定領域での走査光の遮断範囲を計
測する計測手段とを有する請求項11記載の光走査型タ
ッチパネル。12. The optical scanning means includes: a light retroreflecting means provided outside the predetermined area; and a light scanning means for angularly scanning light in a plane substantially parallel to the predetermined area. And at least two sets of light transmitting and receiving means having light receiving means for receiving light reflected by the light retroreflecting part of a portion irradiated by light, scanning angle by the light scanning means, and light receiving by the light receiving means The optical scanning touch panel according to claim 11, further comprising: a measuring unit configured to measure a blocking range of the scanning light in the predetermined area formed by the pointer based on a result.
記第2平滑化処理部は、所定数の一連の数値列を記憶す
る記憶部を有し、該記憶部に記憶された数値列の中から
所定の条件を満たす数値を選択して平滑化処理を行うべ
くなしてある請求項11または12記載の光走査型タッ
チパネル。13. The first smoothing processing unit and / or the second smoothing processing unit includes a storage unit that stores a predetermined number of a series of numerical values, and stores a predetermined number of numerical value sequences stored in the storage unit. 13. The optical scanning touch panel according to claim 11, wherein a smoothing process is performed by selecting a numerical value satisfying a predetermined condition from among the selected values.
記第2平滑化処理部は、前記記憶部に記憶されたm個の
数値列中から値が大なる順からn1個及び小なる順から
n2個を除外した残りのm−(n1+n2)個の数値を
選択してそれらの平均値を求めるべくなしてある請求項
13記載の光走査型タッチパネル。14. The first smoothing processing unit and / or the second smoothing processing unit may be configured to perform an order of increasing values from n values to n1 values and decreasing values from m numerical value sequences stored in the storage unit. 14. The optical scanning touch panel according to claim 13, wherein m- (n1 + n2) remaining numbers excluding n2 are selected from and the average value thereof is obtained.
記第2平滑化処理部は、前記記憶部に記憶されたm個の
数値列中から値が大なる順からn1個及び小なる順から
n2個を除外した残りのm−(n1+n2)個の数値を
選択してそれらの中央値を求めるべくなしてある請求項
13記載の光走査型タッチパネル。15. The first smoothing processing unit and / or the second smoothing processing unit may include an m number sequence stored in the storage unit, from the largest value to the smallest value n1 and the smallest value to the smallest value. 14. The optical scanning type touch panel according to claim 13, wherein m- (n1 + n2) remaining numbers excluding n2 are selected from and the median value thereof is obtained.
記第2平滑化処理部は、前記記憶部に記憶された数値列
中から標準偏差が小なる所定個の数値を選択してそれら
の平均値を求めるべくなしてある請求項13記載の光走
査型タッチパネル。16. The first smoothing processing unit and / or the second smoothing processing unit selects a predetermined number of numerical values having a small standard deviation from a numerical value sequence stored in the storage unit, and selects those numerical values. 14. The optical scanning type touch panel according to claim 13, wherein an average value is obtained.
記第2平滑化処理部は、前記記憶部に記憶された数値列
中から標準偏差が小なる所定個の数値を選択してそれら
の中央値を求めるべくなしてある請求項13記載の光走
査型タッチパネル。17. The first smoothing processing unit and / or the second smoothing processing unit selects a predetermined number of numerical values having a small standard deviation from a numerical value sequence stored in the storage unit, and selects those numerical values. 14. The optical scanning touch panel according to claim 13, wherein a median value is obtained.
たは複数の特徴量が所定範囲内にないと前記判別部が判
別した場合には、所定のエラー処理を行うべくなしてあ
る請求項11〜17の何れかに記載の光走査型タッチパ
ネル。18. A predetermined error process is performed when the determination unit determines that one or a plurality of feature amounts measured by the measurement unit does not fall within a predetermined range. The optical scanning type touch panel according to any one of the above.
連の数値列を記憶する記憶部を有し、該記憶部に所定数
以上の特徴量の数値が記憶されていない場合には、所定
のエラー処理を行うべくなしてある請求項11または1
2記載の光走査型タッチパネル。19. The first smoothing processing unit has a storage unit that stores a predetermined number of series of numerical values, and when the storage unit does not store a numerical value of a feature amount equal to or more than a predetermined number, , A predetermined error processing is performed.
2. The optical scanning touch panel according to 2.
連の数値列を記憶する記憶部を有し、該記憶部に所定数
以上の前記指示物の位置及び/または大きさの数値が記
憶されていない場合には、所定のエラー処理を行うべく
なしてある請求項11または12記載の光走査型タッチ
パネル。20. The second smoothing processing unit includes a storage unit that stores a predetermined number of series of numerical values, and stores a predetermined number or more of the position and / or size of the pointer in the storage unit. 13. The optical scanning type touch panel according to claim 11, wherein a predetermined error process is performed when is not stored.
前記指示物が前記所定領域に接触しているか否かを判別
する接触判別手段を更に備える請求項1〜20の何れか
に記載の光走査型タッチパネル。21. Based on a calculation result of the calculation means,
21. The optical scanning touch panel according to claim 1, further comprising a contact determination unit configured to determine whether the pointer is in contact with the predetermined area.
の前記指示物の位置及び大きさの算出結果が所定範囲内
である場合に、前記指示物が前記所定領域に接触してい
ると判別すべくなしてある請求項21記載の光走査型タ
ッチパネル。22. The contact determining means determines that the indicator is in contact with the predetermined area when the calculation result of the position and size of the indicator by the calculator is within a predetermined range. 22. The optical scanning type touch panel according to claim 21, wherein the touch panel is provided.
前記指示物の位置及び大きさの算出結果が所定範囲内で
あるか否かを判別し、算出結果が所定範囲内である場合
にはその算出結果を出力し、算出結果が所定範囲内でな
い場合にはエラー信号を出力することとし、前記エラー
信号が所定の回数以上にわたって出力された場合に、前
記接触判別手段は、前記指示物が前記所定領域から離れ
ていると判別すべくなしてある請求項21記載の光走査
型タッチパネル。23. The calculating means, at a predetermined time interval,
Determining whether the calculation result of the position and the size of the pointer is within a predetermined range, outputting the calculation result if the calculation result is within the predetermined range, and outputting the calculation result if the calculation result is not within the predetermined range; Output an error signal, and when the error signal is output a predetermined number of times or more, the contact determination unit is configured to determine that the pointer is away from the predetermined area. Item 22. An optical scanning type touch panel according to item 21.
び大きさの算出結果が所定範囲内であるか否かを判別
し、算出結果が所定範囲内である場合にはその算出結果
を出力し、算出結果が所定範囲内でない場合にはその算
出結果を出力しないこととし、所定時間以上にわたって
算出結果が出力されない場合に、前記接触判別手段は、
前記指示物が前記所定領域から離れていると判別すべく
なしてある請求項21記載の光走査型タッチパネル。24. The calculating means determines whether or not the calculation result of the position and size of the pointing object is within a predetermined range, and outputs the calculation result if the calculation result is within the predetermined range. If the calculation result is not within the predetermined range, the calculation result is not output, and if the calculation result is not output for a predetermined time or more, the contact determination unit includes:
22. The optical scanning type touch panel according to claim 21, wherein it is determined that the pointer is away from the predetermined area.
が前記所定領域に接触している状態から前記指示物が前
記所定領域から離れている状態に変化することを判別し
た場合、前記第1平滑化処理部及び第2平滑化処理部に
付随する記憶部に記憶されている一連の数値列を消去し
て初期化すべくなしてある請求項21記載の光走査型タ
ッチパネル。25. When the contact determining means determines that the state of the pointer changes from a state in which the pointer is in contact with the predetermined area to a state in which the pointer is away from the predetermined area, the first smoothing is performed. 22. The optical scanning touch panel according to claim 21, wherein a series of numerical sequences stored in a storage unit associated with the smoothing processing unit and the second smoothing processing unit are erased and initialized.
を光学的に走査して前記指示物による走査光の遮断範囲
を表す数値を測定する少なくとも2組の光送受手段を有
し、前記算出手段は、前記少なくとも2組の光送受手段
により得られる数値それぞれに基づいて前記指示物の大
きさの算出処理を行い、算出結果の内の最大値または最
小値を算出結果とすべくなしてある請求項1〜25の何
れかに記載の光走査型タッチパネル。26. The optical scanning means has at least two sets of light transmitting / receiving means for optically scanning the predetermined area and measuring a numerical value representing a range of cutoff of scanning light by the pointer. The means is configured to perform a process of calculating the size of the indicator based on each of the numerical values obtained by the at least two sets of light transmitting and receiving means, and to determine a maximum value or a minimum value of the calculation results as a calculation result. The optical scanning type touch panel according to claim 1.
を光学的に走査して前記指示物による走査光の遮断範囲
を表す数値を測定する少なくとも2組の光送受手段を有
し、前記算出手段は、前記少なくとも2組の光送受手段
により得られる数値それぞれに基づいて前記指示物の大
きさの算出処理を行い、算出結果の平均値を算出結果と
すべくなしてある請求項1〜25の何れかに記載の光走
査型タッチパネル。27. The optical scanning means includes at least two sets of light transmitting / receiving means for optically scanning the predetermined area and measuring a numerical value representing a range of cutoff of scanning light by the pointer. 26. The apparatus according to claim 1, wherein the means performs a process of calculating the size of the pointer based on each of the numerical values obtained by the at least two sets of light transmitting and receiving means, and sets an average value of the calculation results as the calculation result. The optical scanning type touch panel according to any one of the above.
学的に走査して前記指示物による走査光の遮断範囲を表
す数値を測定する少なくとも2組の光送受手段を有し、
前記算出手段は、前記少なくとも2組の光送受手段によ
り得られる数値それぞれに基づいて前記指示物の大きさ
の算出処理を行い、算出結果の少なくとも前記指示物の
位置または大きさとして選択した値が所定範囲より大な
る場合には、所定のエラー処理を行うべくなしてある請
求項1〜25の何れかに記載の光走査型タッチパネル。28. The optical scanning means has at least two sets of light transmitting / receiving means for optically scanning a predetermined area and measuring a numerical value representing a range of cutoff of scanning light by the pointer.
The calculating means performs a process of calculating the size of the pointer based on each of the numerical values obtained by the at least two sets of light transmitting and receiving means, and at least a value selected as the position or size of the pointer in the calculation result is obtained. 26. The optical scanning touch panel according to claim 1, wherein a predetermined error process is performed when the error is larger than a predetermined range.
学的に走査して前記指示物による走査光の遮断範囲を表
す数値を測定する少なくとも2組の光送受手段を有し、
前記算出手段は、前記少なくとも2組の光送受手段によ
り得られる数値それぞれに基づいて前記指示物の大きさ
の算出処理を行い、算出結果の内の最大値と最小値との
差が所定範囲外である場合には、所定のエラー処理を行
うべくなしてある請求項1〜25の何れかに記載の光走
査型タッチパネル。29. The optical scanning means includes at least two sets of light transmitting / receiving means for optically scanning a predetermined area and measuring a numerical value representing a range of cutoff of scanning light by the pointer.
The calculating means performs a process of calculating the size of the indicator based on each of the numerical values obtained by the at least two sets of light transmitting and receiving means, and a difference between a maximum value and a minimum value of the calculation results is out of a predetermined range. The optical scanning type touch panel according to any one of claims 1 to 25, wherein a predetermined error process is performed in the case of (1).
一連の数値列中に、所定範囲外の数値が所定個数以上存
在する場合には、所定のエラー処理を行うべくなしてあ
る請求項1〜25の何れかに記載の光走査型タッチパネ
ル。30. The smoothing processing means according to claim 1, wherein when a series of numerical values to be smoothed includes a predetermined number or more of numerical values outside a predetermined range, predetermined error processing is performed. 26. The optical scanning touch panel according to any one of items 25 to 25.
により算出された前記指示物の位置に応じて、爾後の平
滑化すべき一連の数値の数を変更すべくなしてある請求
項1〜30の何れかに記載の光走査型タッチパネル。31. The smoothing processing means according to claim 1, wherein the number of a series of numerical values to be smoothed thereafter is changed according to the position of the pointer calculated by the calculating means. The optical scanning type touch panel according to any one of the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22086898A JP3847005B2 (en) | 1997-09-02 | 1998-08-04 | Optical scanning touch panel |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9-237539 | 1997-09-02 | ||
| JP23753997 | 1997-09-02 | ||
| JP22086898A JP3847005B2 (en) | 1997-09-02 | 1998-08-04 | Optical scanning touch panel |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH11143624A true JPH11143624A (en) | 1999-05-28 |
| JP3847005B2 JP3847005B2 (en) | 2006-11-15 |
Family
ID=26523960
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22086898A Expired - Fee Related JP3847005B2 (en) | 1997-09-02 | 1998-08-04 | Optical scanning touch panel |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3847005B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007075262A (en) * | 2005-09-13 | 2007-03-29 | Samii Kk | Game machine and slot machine using the same |
| WO2011024512A1 (en) | 2009-08-25 | 2011-03-03 | シャープ株式会社 | Location identification sensor, electronic device, and display device |
| JP2014510341A (en) * | 2011-02-28 | 2014-04-24 | バーント インターナショナル リミテッド | System and method for detecting and tracking radiation shielding on a surface |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0934641A (en) * | 1995-07-18 | 1997-02-07 | Ricoh Co Ltd | Detector for touch panel press position |
-
1998
- 1998-08-04 JP JP22086898A patent/JP3847005B2/en not_active Expired - Fee Related
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0934641A (en) * | 1995-07-18 | 1997-02-07 | Ricoh Co Ltd | Detector for touch panel press position |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007075262A (en) * | 2005-09-13 | 2007-03-29 | Samii Kk | Game machine and slot machine using the same |
| WO2011024512A1 (en) | 2009-08-25 | 2011-03-03 | シャープ株式会社 | Location identification sensor, electronic device, and display device |
| JP2014510341A (en) * | 2011-02-28 | 2014-04-24 | バーント インターナショナル リミテッド | System and method for detecting and tracking radiation shielding on a surface |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3847005B2 (en) | 2006-11-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3827450B2 (en) | Optical scanning touch panel | |
| JP4097353B2 (en) | Optical scanning touch panel | |
| EP2353069B1 (en) | Stereo optical sensors for resolving multi-touch in a touch detection system | |
| JP4125200B2 (en) | Coordinate input device | |
| US9971455B2 (en) | Spatial coordinate identification device | |
| KR100725603B1 (en) | Coordinate input device and control method | |
| US20120218215A1 (en) | Methods for Detecting and Tracking Touch Objects | |
| JP2005004278A (en) | Coordinate input device | |
| JP4094796B2 (en) | Coordinate input system, method for controlling coordinate input system, and computer-readable recording medium recording program for causing computer to execute the method | |
| JP2001228971A (en) | Touch panel system to be operated at plural indicating positions | |
| US6268868B1 (en) | Information displaying apparatus | |
| JP2020170302A (en) | Input device | |
| US20160092032A1 (en) | Optical touch screen system and computing method thereof | |
| JPH11143624A (en) | Optical scanning touch panel | |
| US8244073B2 (en) | Line shape processing device, line shape processing method, information recording medium, and program | |
| JPH1185376A (en) | Information display device with optical position detector | |
| JP4454667B2 (en) | Optical scanning touch panel | |
| JP2004192065A (en) | Coordinate detection apparatus | |
| JPH0353648B2 (en) | ||
| JP4560224B2 (en) | Information input device, information input / output system, program, and storage medium | |
| JP2000089903A (en) | Optical scanning touch panel | |
| JP4414075B2 (en) | Coordinate input / detection device, coordinate detection method, and storage medium | |
| JP4810505B2 (en) | Coordinate detection device | |
| JP2000276300A (en) | Optical scanning touch panel | |
| JP2003202957A (en) | Coordinate detection method, program according to the method, and storage medium storing the program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20031210 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060518 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060523 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060720 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20060822 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060822 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090901 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100901 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100901 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110901 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120901 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120901 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130901 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |