JPH06149461A - Pen input device - Google Patents
Pen input deviceInfo
- Publication number
- JPH06149461A JPH06149461A JP29876592A JP29876592A JPH06149461A JP H06149461 A JPH06149461 A JP H06149461A JP 29876592 A JP29876592 A JP 29876592A JP 29876592 A JP29876592 A JP 29876592A JP H06149461 A JPH06149461 A JP H06149461A
- Authority
- JP
- Japan
- Prior art keywords
- sampling
- interval
- interrupt
- pen
- data processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
(57)【要約】
【目的】 データ処理を行なうデータ処理手段の負荷を
増大させることなく、ペン型入力手段の動きに対する応
答性を有したペン入力装置を提供することを目的とす
る。
【構成】 タブレット1とペン型入力手段2からなる入
力手段と、タブレット1上のペン型入力手段2の座標位
置を検出し、位置データとしてバッファ4に格納するサ
ンプリング制御手段3と、上記サンプリング制御手段3
のサンプリング処理に対し割り込みを発生し、バッファ
4の格納内容を確認し、割り込み信号を発信する割り込
み制御手段5と、割り込み信号を受けると、データ処理
手段10、及び移動距離検出手段7を起動する割り込み
処理手段と、バッファ4に格納されている位置データに
基づいて描画のためのデータ処理を行なうデータ処理手
段10と、バッファ4の格納内容からペン型入力手段2
のタブレット1上での移動距離を検出する移動距離検出
手段7と、新たなサンプリング間隔、及び、割り込み間
隔を決定するサンプリング間隔/割り込み間隔決定手段
9とを有するペン入力装置。
(57) [Abstract] [Object] An object of the present invention is to provide a pen input device having responsiveness to a movement of a pen type input means without increasing a load of a data processing means for performing data processing. [Structure] An input means including a tablet 1 and a pen-type input means 2, a sampling control means 3 for detecting a coordinate position of the pen-type input means 2 on the tablet 1 and storing it as position data in a buffer 4, and the sampling control. Means 3
Interrupting the sampling process, confirming the contents stored in the buffer 4 and transmitting an interrupt signal, and the interrupt processing means, the data processing means 10 and the moving distance detecting means 7 are activated. The interrupt processing means, the data processing means 10 for performing data processing for drawing based on the position data stored in the buffer 4, and the pen type input means 2 based on the contents stored in the buffer 4.
A pen input device having a moving distance detecting means 7 for detecting the moving distance on the tablet 1 and a sampling interval / interrupt interval determining means 9 for determining a new sampling interval and interrupt interval.
Description
【0001】[0001]
【産業上の利用分野】本発明は、タブレット上でペン型
入力手段を移動させ、ペン型入力手段の座標データを処
理し、その軌跡等を描画するようなペン入力装置に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pen input device for moving pen-type input means on a tablet, processing coordinate data of the pen-type input means, and drawing a locus or the like.
【0002】[0002]
【従来の技術】従来から、データ処理手段に対するデー
タ入力を行なう入力手段として、キーボードやマウス等
が用いられてきた。ところが近年これらの入力手段に変
わって、ペン型入力手段とタブレット手段が用いられる
ようになり、さらに最近では、ユーザーの使い易さの向
上のために、タブレット手段とフラットパネル型ディス
プレイを一体化して、ユーザの入力操作を、紙と鉛筆の
使用感に近付ける技術も構築されている。2. Description of the Related Art Conventionally, a keyboard, a mouse or the like has been used as an input means for inputting data to a data processing means. In recent years, however, pen-type input means and tablet means have been used in place of these input means, and more recently, in order to improve user friendliness, tablet means and flat-panel displays have been integrated. , A technique has been constructed to make the user's input operation more like the feeling of using paper and pencil.
【0003】以下図面を参照しながら、従来のペン入力
装置の一例について説明する。図5は従来のペン入力装
置のブロック図である。図5において、41はタブレッ
ト、42はペン型入力手段、43はサンプリング手段で
ペン型入力手段のタブレット上での位置データをサンプ
リングする。44は割り込み手段でサンプリング手段に
よってデータがサンプリングされると割り込み信号を発
生する。45は割り込み処理手段で割り込み信号を受
け、サンプリングデータの処理を行なう手段を起動す
る。46はデータ処理手段で、47の表示手段にペン型
入力手段の軌跡等を描画する。An example of a conventional pen input device will be described below with reference to the drawings. FIG. 5 is a block diagram of a conventional pen input device. In FIG. 5, 41 is a tablet, 42 is a pen type input means, and 43 is a sampling means for sampling the position data on the tablet of the pen type input means. Reference numeral 44 is an interrupting means for generating an interrupt signal when data is sampled by the sampling means. An interrupt processing means 45 receives an interrupt signal and activates means for processing the sampling data. Reference numeral 46 is a data processing means, which draws a locus or the like of the pen type input means on the display means 47.
【0004】以上のように構成されたペン入力手段につ
いて、以下その動作を説明する。まず、サンプリング手
段43は、一定周期でタブレット41の表面を走査して
おり、タブレット41の表面にペン型入力手段42が近
付く、または接触するとその位置を検出してペン型入力
手段の位置データを得る。このようにサンプリング手段
43がデータを得ると、割り込み手段44は割り込み信
号を発し、割り込み処理手段45に割り込み指示をおく
る。割り込み処理手段45は46のデータ処理手段を起
動することによって位置データを処理し、47の表示手
段に、処理結果として入力手段の軌跡等の描画を行な
う。The operation of the pen input means constructed as described above will be described below. First, the sampling means 43 scans the surface of the tablet 41 at a constant cycle, and when the pen-type input means 42 approaches or contacts the surface of the tablet 41, the position is detected and position data of the pen-type input means is detected. obtain. When the sampling means 43 obtains the data in this way, the interrupt means 44 issues an interrupt signal and sends an interrupt instruction to the interrupt processing means 45. The interrupt processing means 45 processes the position data by activating the data processing means 46, and draws the locus of the input means as a processing result on the display means 47.
【0005】[0005]
【発明が解決しようとする課題】ところが上記のような
ペン型入力手段では、サンプリング間隔が固定されてい
るため、ペン型入力手段を高速に移動させると、サンプ
リングが追いつかないという問題が生じた。また、高速
にペン入力装置を移動させても対応できるように、サン
プリング間隔を短くすると、サンプリングに同期して割
り込み信号が出力されるため、データ処理手段に対する
起動回数が増加し、データ処理手段への負荷を増大させ
てしまうという問題が生じた。However, in the above-mentioned pen type input means, the sampling interval is fixed. Therefore, when the pen type input means is moved at high speed, there is a problem that sampling cannot catch up. In addition, if the sampling interval is shortened so that the pen input device can be moved at high speed, an interrupt signal is output in synchronization with the sampling, so that the number of activations of the data processing means increases and the There was a problem of increasing the load of.
【0006】さらに、ペン入力装置の移動速度が遅い場
合、所定の間隔でサンプリングを行なうため、ペン入力
装置が移動していなくてもサンプリングによるデータは
発生するので、データ処理手段は無駄なデータを処理し
なければならず、データ処理手段にとって負荷の増大と
なるという問題も生じる。本発明は上記問題点を解決す
るためになされたものであり、データ処理を行なうデー
タ処理手段の負荷を増大させることなく、ペン型入力手
段の動きに対する応答性を有したペン入力装置を提供す
ることを目的とする。Further, when the moving speed of the pen input device is slow, since sampling is performed at a predetermined interval, data is generated by sampling even when the pen input device is not moving. There is also a problem that the data processing means must be processed, which increases the load on the data processing means. The present invention has been made to solve the above problems, and provides a pen input device having a responsiveness to the movement of the pen type input means without increasing the load of the data processing means for performing data processing. The purpose is to
【0007】[0007]
【課題を解決するための手段】上記目的を達成するため
に、請求項1の発明は、タブレットとペン型入力手段か
らなり、データ入力を行なう入力手段と、タブレット上
のペン型入力手段の座標位置を検出し、位置データとし
てバッファに格納する、サンプリング処理を行なうサン
プリング手段と、バッファ内に格納されている最新のサ
ンプリング時の位置データと、一つ前のサンプリング時
の座標とからペン型入力手段のタブレット上での移動距
離を算出する移動距離算出手段と、バッファ内に格納さ
れている位置データに基づいて描画のためのデータ処理
を行なうデータ処理手段と、上記サンプリング手段のサ
ンプリング処理に対し割り込みを発生し、上記移動距離
算出手段とデータ処理手段とを起動する割り込み手段
と、前回の割り込み時に得られた移動距離と今回の割り
込み時に算出された移動距離とを比較してサンプリング
間隔を決定するサンプリング間隔変更手段と、新たに設
定されたサンプリング間隔を参考にして、割り込み手段
が行なう割り込み間隔を決定する割り込み間隔変更手段
と、を有することを特徴とする。In order to achieve the above object, the invention of claim 1 comprises a tablet and a pen-type input means, and input means for inputting data and coordinates of the pen-type input means on the tablet. Pen-type input from the sampling means that detects the position and stores it in the buffer as position data, which performs sampling processing, the latest position data at the time of sampling stored in the buffer, and the coordinates at the previous sampling time. The moving distance calculating means for calculating the moving distance of the means on the tablet, the data processing means for performing the data processing for drawing based on the position data stored in the buffer, and the sampling processing of the sampling means. An interrupt means for generating an interrupt and activating the moving distance calculating means and the data processing means, and a previous interrupt The sampling interval changing unit that determines the sampling interval by comparing the moving distance obtained in step 1 with the moving distance calculated at this interrupt, and the interrupt interval performed by the interrupting unit with reference to the newly set sampling interval. And an interrupt interval changing means for determining.
【0008】また、請求項2の発明は、上記割り込み間
隔変更手段が、割り込みの間隔の下限値を有し、それを
下回らない割り込み間隔を決定することを特徴とする。Further, the invention of claim 2 is characterized in that the interrupt interval changing means has an upper limit value of the interrupt interval and determines an interrupt interval not less than the lower limit value.
【0009】[0009]
【作用】請求項1のペン入力装置によれば、入力手段
は、タブレットとペン型入力手段からなり、データ入力
を行なう。サンプリング手段は、タブレット上のペン型
入力手段の座標位置を検出し、位置データとしてバッフ
ァに格納する、サンプリング処理を行なう。According to the pen input device of the first aspect, the input means comprises a tablet and a pen-type input means for inputting data. The sampling means detects the coordinate position of the pen-type input means on the tablet and stores it as position data in the buffer to perform sampling processing.
【0010】移動距離算出手段は、バッファ内に格納さ
れている最新のサンプリング時の位置データと、一つ前
のサンプリング時の座標とからペン型入力手段のタブレ
ット上での移動距離を算出する。データ処理手段は、バ
ッファ内に格納されている位置データに基づいて描画の
ためのデータ処理を行なう。The moving distance calculating means calculates the moving distance of the pen type input means on the tablet from the latest sampling position data stored in the buffer and the coordinates at the immediately previous sampling. The data processing means performs data processing for drawing based on the position data stored in the buffer.
【0011】割り込み手段は、上記サンプリング手段の
サンプリング処理に対し割り込みを発生し、上記移動距
離算出手段とデータ処理手段とを起動する。サンプリン
グ間隔変更手段は、前回の割り込み時に得られた移動距
離と今回の割り込み時に算出された移動距離とを比較し
てサンプリング間隔を決定する。割り込み間隔変更手段
は、新たに設定されたサンプリング間隔を参考にして、
割り込み手段が行なう割り込み間隔を決定する。The interrupting means interrupts the sampling process of the sampling means and activates the moving distance calculating means and the data processing means. The sampling interval changing means determines the sampling interval by comparing the moving distance obtained at the previous interruption with the moving distance calculated at the present interruption. Interrupt interval changing means, referring to the newly set sampling interval,
Determines the interrupt interval performed by the interrupt means.
【0012】さらに、請求項2のペン入力装置によれ
ば、上記割り込み間隔変更手段が、割り込みの間隔の下
限値を有し、それを下回らない割り込み間隔を決定す
る。Further, according to the pen input device of the second aspect, the interrupt interval changing means has the lower limit value of the interrupt interval and determines the interrupt interval which is not less than the lower limit value.
【0013】[0013]
【実施例】以下本発明の一実施例のペン入力装置につい
て、図面を参照しながら説明する。図1は本発明の実施
例におけるペン入力装置のブロックである。図1におい
て、1はタブレットであり、後述するペン型入力手段2
と組み合わせてデータの入力を行なうものである。DESCRIPTION OF THE PREFERRED EMBODIMENTS A pen input device according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a pen input device according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a tablet, which is a pen type input means 2 described later.
Data is input in combination with.
【0014】2はペン型入力手段であり、上記タブレッ
ト1と組み合わせてデータの入力を行なうものであり、
具体的には、タブレット1表面に接近或いは、接触させ
てデータ入力を行なうものである。3はサンプリング制
御手段、後述するサンプリング間隔/割り込み間隔決定
手段9の決定した周期で、ペン型入力手段2のタブレッ
ト1上での座標位置をサンプリングし、位置データとし
てバッファ4に格納するサンプリング処理を行なうもの
である。Reference numeral 2 denotes a pen type input means for inputting data in combination with the tablet 1.
Specifically, data is input by approaching or contacting the surface of the tablet 1. Reference numeral 3 denotes a sampling control means, which is a cycle determined by a sampling interval / interruption interval determining means 9 which will be described later. Sampling processing for sampling the coordinate position of the pen-type input means 2 on the tablet 1 and storing it in the buffer 4 as position data is performed. It is something to do.
【0015】4はバッファであり、サンプリング制御手
段3によってサンプリングされたペン入力手段の位置デ
ータを一時格納するものである。5は割り込み制御手段
であり、後述するサンプリング間隔/割り込み間隔決定
手段9の決定した周期で、サンプリング処理に割り込み
を行い、バッファ4にサンプリングされた位置データが
有るかどうか確認し、存在する場合に、割り込み信号を
割り込み処理手段6に発信するものである。A buffer 4 temporarily stores the position data of the pen input means sampled by the sampling control means 3. Reference numeral 5 denotes an interrupt control means, which interrupts the sampling process at a cycle determined by a sampling interval / interrupt interval determination means 9 which will be described later, confirms whether or not there is sampled position data in the buffer 4, and when it exists, An interrupt signal is transmitted to the interrupt processing means 6.
【0016】6は割り込み処理手段であり、割り込み信
号を受け取ると、後述するデータ処理手段10と移動距
離検出手段7とを起動するものである。7は移動距離検
出手段であり、最新の位置データと一つ前の位置データ
とから移動距離を検出し、後述する一時記憶手段8に出
力する。8は一時記憶手段であり、移動距離検出手段7
によって検出された移動距離を、格納するものである。Reference numeral 6 is an interrupt processing means, which activates a data processing means 10 and a moving distance detecting means 7 which will be described later when receiving an interrupt signal. Reference numeral 7 denotes a moving distance detecting means, which detects the moving distance from the latest position data and the previous position data, and outputs it to a temporary storage means 8 described later. Reference numeral 8 is a temporary storage means, which is a moving distance detecting means 7
The moving distance detected by is stored.
【0017】9はサンプリング間隔/割り込み間隔決定
手段であり、一時記憶手段8に格納された移動距離を用
いて新たなサンプリング間隔を決定し、さらに、この新
たに決定されたサンプリング間隔と、現在のサンプリン
グ間隔と、規定割り込み間隔とを用いて、新しい割り込
み間隔を決定するものである。尚、規定割り込み間隔と
は、割り込み間隔が一定以上に短く成らないために、予
め設定された最短の割り込み間隔である。Reference numeral 9 denotes a sampling interval / interruption interval determining means, which determines a new sampling interval using the moving distance stored in the temporary storage means 8 and further determines the newly determined sampling interval and the current sampling interval. The sampling interval and the specified interrupt interval are used to determine a new interrupt interval. The specified interrupt interval is the shortest interrupt interval set in advance because the interrupt interval does not become shorter than a certain value.
【0018】10はデータ処理手段であり、サンプリン
グされたペン型入力手段2の位置データを処理するもの
である。11は表示手段であり、上記データ処理手段1
0の処理結果を表示するものであり、具体的にはフラッ
トパネルディスプレイ等が用いられる。以上のように構
成されたペン入力装置について、以下図2〜4のフロー
チャートを用いてその動作を説明する。Reference numeral 10 is a data processing means, which processes the sampled position data of the pen type input means 2. Reference numeral 11 is a display means, which is the data processing means 1
The processing result of 0 is displayed, and specifically, a flat panel display or the like is used. The operation of the pen input device configured as described above will be described below with reference to the flowcharts of FIGS.
【0019】図2に示すように、ペン入力装置が起動さ
れると、先ず、割り込み許可が行なわれ(S1)、メイ
ンフローの処理が行なわれている間に、割り込みが入る
とそちらの処理を行なうように設定される。続いて、サ
ンプリング間隔/割り込み間隔決定手段9から、サンプ
リングの周期が渡され、サンプリングの指示が行なわれ
る(S2)。サンプリングの指示が行なわれると、サン
プリング制御手段3は、サンプリング間隔/割り込み間
隔決定手段9によって決定された周期でタブレット1に
対してペン型入力手段2の位置を走査する。ペン型入力
手段2がタブレット1に接近、もしくは接触すると、サ
ンプリング手段はその座標位置をサンプリングし、その
位置座標を位置データとしてバッファ4に格納する(S
3)。As shown in FIG. 2, when the pen input device is activated, first, interrupt permission is performed (S1), and when an interrupt occurs while the main flow process is being performed, that process is executed. Set to do. Then, the sampling interval / interruption interval determining means 9 gives a sampling cycle and gives a sampling instruction (S2). When a sampling instruction is given, the sampling control means 3 scans the position of the pen type input means 2 with respect to the tablet 1 at the cycle determined by the sampling interval / interruption interval determining means 9. When the pen type input unit 2 approaches or contacts the tablet 1, the sampling unit samples the coordinate position and stores the position coordinate in the buffer 4 as position data (S).
3).
【0020】一方、割り込み制御手段5は、図3に示す
ように、サンプリング間隔/割り込み間隔決定手段9で
決定された周期でサンプリング処理に割り込みをかけ、
先ずバッファ4を検査し、位置データが存在するかどう
かを確認する(S21)。ない場合は、割り込み手段が
割り込んだ時点に行なわれていたサンプリング処理に戻
る。On the other hand, the interrupt control means 5, as shown in FIG. 3, interrupts the sampling process at the cycle determined by the sampling interval / interrupt interval determining means 9,
First, the buffer 4 is inspected to confirm whether or not the position data exists (S21). If not, the process returns to the sampling process that was being performed when the interrupt means interrupted.
【0021】ある場合には、割り込み制御手段5は、割
り込み処理手段6に割り込み信号を発信し、割り込み信
号を受けた割り込み処理手段6は、移動距離検出手段7
とデータ処理手段10を起動し、先ずサンプリング間隔
/割り込み間隔決定処理が行なわれる(S22)。図4
に示すように、割り込み処理手段6に起動された移動距
離検出手段7は、最新の位置データと1つ前の位置デー
タからペン型入力手段2の移動距離を検出し(S3
1)、移動距離を一時記憶手段8に格納する(S3
2)。サンプリング間隔/割り込み間隔決定手段9は、
サンプリング間隔を決定するために、最初に、前回移動
距離検出手段7によって検出された移動距離と、最新に
検出された移動距離との比較を行なう(S33)。In some cases, the interrupt control means 5 sends an interrupt signal to the interrupt processing means 6, and the interrupt processing means 6 receiving the interrupt signal causes the moving distance detecting means 7 to operate.
Then, the data processing means 10 is activated, and the sampling interval / interrupt interval determination process is first performed (S22). Figure 4
As shown in FIG. 3, the moving distance detecting means 7 activated by the interrupt processing means 6 detects the moving distance of the pen type input means 2 from the latest position data and the previous position data (S3).
1), the moving distance is stored in the temporary storage means 8 (S3)
2). The sampling interval / interruption interval determining means 9 is
In order to determine the sampling interval, first, the moving distance previously detected by the moving distance detecting means 7 is compared with the latest detected moving distance (S33).
【0022】最新に検出された移動距離が前回検出され
た移動距離よりも長ければサンプリング間隔を長くなっ
た距離に応じて短くし(S34)逆に、移動距離が短け
れば短くなった距離に応じてサンプリング間隔を長くし
(S35)、新しいサンプリング間隔を決定する。新し
いサンプリング間隔が決定されると、サンプリング間隔
/割り込み間隔決定手段9は、次に割り込み間隔の決定
を行なう。If the latest detected moving distance is longer than the previously detected moving distance, the sampling interval is shortened according to the increased distance (S34). Conversely, if the moving distance is short, the sampling distance is decreased. Then, the sampling interval is lengthened (S35), and a new sampling interval is determined. When the new sampling interval is determined, the sampling interval / interrupt interval determining means 9 next determines the interrupt interval.
【0023】先ず、サンプリング間隔/割り込み間隔決
定手段9は、新しいサンプリング間隔と現在のサンプリ
ング間隔とを比較する(S36)。新しいサンプリング
間隔が現在のサンプリング間隔より短い場合には、割り
込み間隔を現在の周期よりも短くする(S37)。次
に、この割り込み間隔が、規定割り込み間隔よりも小さ
いかどうか判断を行なう(S38)。長い場合はそのま
まの割り込み間隔を新しい割り込み間隔とし、短い場合
は新しい割り込み間隔は、予め設定されていた規定割り
込み間隔にする(S39)。First, the sampling interval / interruption interval determining means 9 compares the new sampling interval with the current sampling interval (S36). If the new sampling interval is shorter than the current sampling interval, the interrupt interval is set shorter than the current cycle (S37). Next, it is determined whether this interrupt interval is smaller than the specified interrupt interval (S38). If it is long, the current interrupt interval is set as the new interrupt interval, and if it is short, the new interrupt interval is set to the preset specified interrupt interval (S39).
【0024】一方、S36の判断で、新しいサンプリン
グ間隔が現在のサンプリング間隔より長い場合には、割
り込み間隔を現在の周期よりも長くする(S40)。こ
うして決定されたサンプリング間隔と割り込み間隔は、
サンプリング制御手段3と割り込み制御手段5に通知さ
れ、次回のサンプリング周期と割り込み周期は決定され
た周期で行なわれる。なお、割り込み間隔は、常にサン
プリング間隔より長く成るように決定される。On the other hand, if it is determined in S36 that the new sampling interval is longer than the current sampling interval, the interrupt interval is made longer than the current cycle (S40). The sampling interval and interrupt interval thus determined are
The sampling control means 3 and the interrupt control means 5 are notified, and the next sampling cycle and interrupt cycle are performed at the determined cycle. The interrupt interval is always determined to be longer than the sampling interval.
【0025】このように、サンプリング間隔と割り込み
間隔がそれぞれ決定されると、データ処理手段10は、
サンプリングされたペン型入力手段2の位置データの処
理を行い、データ処理結果を表示手段11に表示する
(S23)。なお、上記実施例において、サンプリング
間隔を決定する場合に、サンプリング間隔を短くする時
には急激な移動に対応できるようにサンプリング制御手
段3が変更可能な最短のサンプリング間隔まで一度に変
更し、サンプリング間隔を長くする時には最長のサンプ
リング間隔になるまで徐々に長くするようにしてもよ
い。When the sampling interval and the interrupt interval are respectively determined in this way, the data processing means 10
The sampled position data of the pen-type input means 2 is processed, and the data processing result is displayed on the display means 11 (S23). In the above embodiment, when the sampling interval is determined, when the sampling interval is shortened, the sampling control unit 3 changes the sampling interval to the shortest sampling interval that can be changed so as to cope with abrupt movement. When increasing the length, the length may be gradually increased until the longest sampling interval is reached.
【0026】また、割り込み間隔の決定の際に、上記実
施例では、新しいサンプリング間隔と現在のサンプリン
グ間隔とを比較していたが、予め規定サンプリング間隔
を設定しておき、この規定サンプリング間隔と新しいサ
ンプリング間隔を比較し、規定サンプルより新しいサン
プリング間隔が短ければ、規定割り込み間隔を新しい割
り込み間隔とし、長い場合は、長かった程度に合わせ
て、割り込み間隔も規定割り込み間隔より長くするよう
にすることもできる。Further, when determining the interrupt interval, the new sampling interval and the current sampling interval were compared in the above embodiment, but the specified sampling interval is set in advance and the specified sampling interval and the new sampling interval are set. The sampling intervals are compared. If the new sampling interval is shorter than the specified sample, the specified interrupt interval is set as the new interrupt interval, and if it is longer, the interrupt interval may be set longer than the specified interrupt interval according to the length. it can.
【0027】[0027]
【発明の効果】以上説明したように本発明によれば、ペ
ン型入力手段の移動距離に基づいてサンプリング間隔が
決定されるため、ペン型入力手段の移動速度に応じたサ
ンプリングをおこなうことができ、位置データの取りこ
ぼしや、不必要な位置データのサンプリングを防ぐこと
ができるという効果をしめす。As described above, according to the present invention, since the sampling interval is determined based on the moving distance of the pen type input means, it is possible to perform sampling according to the moving speed of the pen type input means. , It is possible to prevent missing of position data and unnecessary sampling of position data.
【0028】データ処理手段の起動は、位置データのサ
ンプリングと同期して行なわれるのではなく、また、デ
ータ処理手段が起動される間隔は一定以上より短くなる
ことはないので、サンプリング周期が早くなってもデー
タ処理手段の負担が増えることはないという効果を奏す
る。The activation of the data processing means is not performed in synchronization with the sampling of the position data, and the interval at which the data processing means is activated does not become shorter than a certain value, so that the sampling cycle is shortened. However, there is an effect that the load on the data processing means does not increase.
【図1】本発明の一実施例のペン入力装置のブロック図
である。FIG. 1 is a block diagram of a pen input device according to an embodiment of the present invention.
【図2】サンプリング処理を示すフローチャートであ
る。FIG. 2 is a flowchart showing a sampling process.
【図3】割り込み処理を示すフローチャートである。FIG. 3 is a flowchart showing interrupt processing.
【図4】サンプリング間隔/割り込み間隔決定処理のサ
ブルーチンを示すフローチャトである。FIG. 4 is a flowchart showing a subroutine of a sampling interval / interrupt interval determination process.
【図5】従来のペン入力装置のブロック図である。FIG. 5 is a block diagram of a conventional pen input device.
1 タブレット 2 ペン型入力装置 3 バッファ 4 割り込み制御手段 7 サンプリング間隔/割り込み間隔決定手段 1 tablet 2 pen type input device 3 buffer 4 interrupt control means 7 sampling interval / interrupt interval determining means
Claims (2)
データの入力を行なう入力手段と、 タブレット上のペン型入力手段の座標位置を検出し、位
置データとしてバッファに格納する、サンプリング処理
を行なうサンプリング手段と、 バッファ内に格納されている最新のサンプリング時の位
置データと、一つ前のサンプリング時の座標とからペン
型入力手段のタブレット上での移動距離を算出する移動
距離算出手段と、 バッファ内に格納されている位置データに基づいて描画
のためのデータ処理を行なうデータ処理手段と、 上記サンプリング手段のサンプリング処理に対し割り込
みを発生し、上記移動距離算出手段とデータ処理手段と
を起動する割り込み手段と、 前回の割り込み時に得られた移動距離と今回の割り込み
時に算出された移動距離とを比較してサンプリング間隔
を決定するサンプリング間隔変更手段と、 新たに設定されたサンプリング間隔を参考にして、割り
込み手段が行なう割り込み間隔を決定する割り込み間隔
変更手段と、 を有することを特徴とするペン入力装置。1. A tablet and a pen type input means,
Sampling means that performs sampling processing that detects the coordinate position of the pen-type input means on the tablet and stores it as position data in the buffer, and the latest sampling time stored in the buffer For the drawing based on the position data stored in the buffer, and the movement distance calculation means for calculating the movement distance of the pen-type input means on the tablet from the position data of Data processing means for performing the data processing of 1., interruption means for generating an interruption to the sampling processing of the sampling means and activating the movement distance calculation means and the data processing means, and the movement distance obtained at the time of the last interruption. A sample that determines the sampling interval by comparing the movement distance calculated at the time of this interruption A ring distance changing means, the newly set sampling interval to send the interrupt means pen input apparatus characterized by having the interrupt interval changing means for determining an interrupt interval of the.
の間隔の下限値を有し、それを下回らない割り込み間隔
を決定することを特徴とする請求項1記載のペン入力装
置。2. The pen input device according to claim 1, wherein the interrupt interval changing unit has an upper limit value of an interrupt interval and determines an interrupt interval not less than the lower limit value.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29876592A JPH06149461A (en) | 1992-11-09 | 1992-11-09 | Pen input device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29876592A JPH06149461A (en) | 1992-11-09 | 1992-11-09 | Pen input device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06149461A true JPH06149461A (en) | 1994-05-27 |
Family
ID=17863935
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP29876592A Pending JPH06149461A (en) | 1992-11-09 | 1992-11-09 | Pen input device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06149461A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003084907A (en) * | 2001-09-14 | 2003-03-20 | Sharp Corp | Coordinate input device, coordinate input method |
| KR100553878B1 (en) * | 1999-05-27 | 2006-02-24 | 삼성전자주식회사 | Object state updating device and method according to the touch panel computing device |
| JP2009265976A (en) * | 2008-04-25 | 2009-11-12 | Mitsubishi Electric Corp | Display operation device |
| JP2010146267A (en) * | 2008-12-18 | 2010-07-01 | Seiko Epson Corp | Display device and program |
-
1992
- 1992-11-09 JP JP29876592A patent/JPH06149461A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100553878B1 (en) * | 1999-05-27 | 2006-02-24 | 삼성전자주식회사 | Object state updating device and method according to the touch panel computing device |
| JP2003084907A (en) * | 2001-09-14 | 2003-03-20 | Sharp Corp | Coordinate input device, coordinate input method |
| JP2009265976A (en) * | 2008-04-25 | 2009-11-12 | Mitsubishi Electric Corp | Display operation device |
| JP2010146267A (en) * | 2008-12-18 | 2010-07-01 | Seiko Epson Corp | Display device and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6771280B2 (en) | Apparatus and method for data-processing | |
| JP2682364B2 (en) | Electronic musical instrument data setting device | |
| US20010040587A1 (en) | Touch control of cursonr position | |
| JPH08234913A (en) | Cursor movement control device | |
| JPH10222307A (en) | Mouth cursor movement control system | |
| JPH06149461A (en) | Pen input device | |
| JPH0619612A (en) | Pen input/menu display device | |
| JPH07104965A (en) | Message notifying method | |
| JP5482549B2 (en) | Display device, display method, and display program | |
| JP2002062980A (en) | Input device and electronic board device | |
| KR20100011336A (en) | Information processing apparatus and method for moving image thereof | |
| JPH1195912A (en) | Coordinate input device, coordinate input method, and computer-readable recording medium recording coordinate input program | |
| JPH09114592A (en) | Pen input system | |
| JPH0580939A (en) | Method and device for coordinate input | |
| JPH08185269A (en) | Document creating apparatus and cursor movement control method | |
| JP2020135274A (en) | Drawing line generation system | |
| JP2004280319A (en) | Coordinate input device | |
| JPH06266901A (en) | Information processing equipment | |
| JP2000163213A (en) | Coordinate input device | |
| JPH05143235A (en) | Touch screen input system | |
| JPH09288536A (en) | Coordinate detector | |
| JPH09101855A (en) | Signal processing method and device in tablet input device | |
| JPH0727436B2 (en) | Display position setting method | |
| JPH06230898A (en) | Pen input device | |
| JPS60105034A (en) | Input device of coordinate value |