JPH1185381A - Coordinate reader - Google Patents

Coordinate reader

Info

Publication number
JPH1185381A
JPH1185381A JP24705097A JP24705097A JPH1185381A JP H1185381 A JPH1185381 A JP H1185381A JP 24705097 A JP24705097 A JP 24705097A JP 24705097 A JP24705097 A JP 24705097A JP H1185381 A JPH1185381 A JP H1185381A
Authority
JP
Japan
Prior art keywords
coordinates
coordinate
detected
output
difference
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.)
Withdrawn
Application number
JP24705097A
Other languages
Japanese (ja)
Inventor
Teruhiro Watazumi
輝博 綿住
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Via Mechanics Ltd
Original Assignee
Hitachi Seiko Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Seiko Ltd filed Critical Hitachi Seiko Ltd
Priority to JP24705097A priority Critical patent/JPH1185381A/en
Publication of JPH1185381A publication Critical patent/JPH1185381A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a coordinate reader capable of achieving a high coordinate output rate without increasing the cost and the speed of a data transmitter to constituted a coordinate reader. SOLUTION: X, y coordinates of a first point detected by a position indicator 5 is outputted to a host device 6 and the coordinates are simultaneously stored as the previous coordinates in a storage device 8. And, regarding on and after a second point, the difference between the coordinate detected this time and the stored coordinate last time by every direction of x, y is calculated, when all absolute values of the calculated difference are smaller than a preset value, the difference is outputted to the host device 6 and in other cases, the coordinate detected this time is outputted to the host device 6 and the coordinate stored in the storage device 8 is simultaneously replaced with the coordinate detected this time.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、デジタイザ等の位
置指示器で指示された点の座標を読み取り、その結果を
ホスト装置に出力する座標読み取り装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a coordinate reading device for reading the coordinates of a point designated by a position indicator such as a digitizer and outputting the result to a host device.

【0002】[0002]

【従来の技術】図6は電磁誘導を利用した電磁誘導式の
座標読み取り装置の接続図である。座標読み取り装置1
はタブレット2、演算部3、送信部4、位置指示器5等
から構成されている。タブレット2には図示しない多数
の検出ループが布線され、原点OおよびX軸およびY軸
が定められている。送信部4には図示しないデータ伝送
装置が設けられている。位置指示器5は交流磁界を発生
する。6はホスト装置で、ケーブル7により座標読み取
り装置1に接続されている。
2. Description of the Related Art FIG. 6 is a connection diagram of an electromagnetic induction type coordinate reader utilizing electromagnetic induction. Coordinate reading device 1
Is composed of a tablet 2, an operation unit 3, a transmission unit 4, a position indicator 5, and the like. A large number of detection loops (not shown) are wired on the tablet 2, and the origin O, the X axis, and the Y axis are determined. The transmission unit 4 is provided with a data transmission device (not shown). The position indicator 5 generates an AC magnetic field. A host device 6 is connected to the coordinate reading device 1 by a cable 7.

【0003】以下、動作を説明する。タブレット2上の
点を位置指示器5で指示すると、交流磁界により図示し
ない検出ループに電圧が誘起され、演算部3は検出ルー
プに誘起された電圧から位置指示器5で指示された点の
x、y座標(以下、単に位置指示器の座標という。)を
読み取る。読み取られた座標は、送信部4からEIA−
RS232C等のシリアル伝送方式によりケーブル7を
介してホスト装置6に伝送(以下、出力という。)され
る。
The operation will be described below. When a point on the tablet 2 is indicated by the position indicator 5, a voltage is induced in a detection loop (not shown) by the AC magnetic field, and the arithmetic unit 3 calculates x of the point indicated by the position indicator 5 from the voltage induced in the detection loop. , Y-coordinates (hereinafter simply referred to as the coordinates of the position indicator). The read coordinates are transmitted from the transmitting unit 4 to the EIA-
The data is transmitted (hereinafter, referred to as output) to the host device 6 via the cable 7 by a serial transmission method such as RS232C.

【0004】図7は座標読み取り装置1からホスト装置
6へ出力される座標のデータフォーマットの一例を示す
図であり、6バイトで構成されている。図で、D7ビッ
トはデータの始まり(1バイト目が1,2〜6バイト目
は0)を、1バイト目のPR、MN、C4〜C0および
6バイト目のP0〜P6は装置状態(スイッチのオン状
態、筆圧等)を、2〜3バイト目のX13〜X0は原点
Oに関するX軸方向の座標を、4〜5バイト目のY13
〜Y0は原点Oに関するY軸方向の座標を、それぞれ表
している。そして、上記のデータを一般的なRS232
C調歩同期方式(スタートビット1、ストップビット
1)により、データ出力速度9600ビット/秒で出力
する場合、座標出力レートR〔ポイント/秒〕は、下記
の式1で求められる。 R=9600/((8+1+1)×6)=160〔ポイント/秒〕……式1
FIG. 7 is a diagram showing an example of a data format of coordinates output from the coordinate reading device 1 to the host device 6, which is composed of 6 bytes. In the figure, the D7 bit indicates the start of data (the first byte is 0 for the 1st to 2nd to 6th bytes), the PR, MN, C4 to C0 of the 1st byte and P0 to P6 of the 6th byte indicate the device status (switch X13 to X0 of the second to third bytes indicate coordinates in the X-axis direction with respect to the origin O, and Y13 of the fourth to fifth bytes.
YY0 represent the coordinates of the origin O in the Y-axis direction. Then, the above data is converted into general RS232
When outputting at a data output speed of 9600 bits / sec by the C start-stop synchronization method (start bit 1 and stop bit 1), the coordinate output rate R [point / sec] is obtained by the following equation 1. R = 9600 / ((8 + 1 + 1) × 6) = 160 [points / sec] Equation 1

【0005】[0005]

【発明が解決しようとする課題】図8は読み取る図形の
一例を示す図である。図に示す正六角形がすでに描かれ
た図形であり、隣接する頂点が直線で結ばれた図形とし
て読み取る場合は、座標読み取り装置1の読み取りモー
ドを点モードとする。そして、位置指示器5で頂点A〜
Fを順に指示する。また、この正六角形がこれから描こ
うとする図形であり、手の動きに合わせた連続する点と
して読み取りたい場合は、座標読み取り装置1の読み取
りモードを連続(線)モードとして、位置指示器5でA
〜Fを線に沿って移動させる。すると、演算部3は、あ
る点の座標の演算が終了すると直ちに次の点の座標の演
算を行う。この場合、例えば座標読み取り速度が手の動
きの1/2であると、図に示す正六角形の頂点A、C、
Eだけが検出され、読み取った図形は三角形になる。こ
のため、特に手書き入力に使用される座標読み取り装置
においては、座標を読み取る(以下、座標検出とい
う。)速度をさらに速くすることが望まれていた。
FIG. 8 is a diagram showing an example of a figure to be read. In the case where the regular hexagon shown in the figure is a figure already drawn and is read as a figure in which adjacent vertices are connected by a straight line, the reading mode of the coordinate reading device 1 is set to the point mode. Then, the vertex A ~
Indicate F in order. When the regular hexagon is a figure to be drawn and is to be read as a continuous point in accordance with the movement of the hand, the reading mode of the coordinate reading device 1 is set to a continuous (line) mode, and the position indicator 5
Move ~ F along the line. Then, as soon as the calculation of the coordinates of a certain point is completed, the calculation unit 3 calculates the coordinates of the next point. In this case, for example, if the coordinate reading speed is の of the hand movement, the vertices A, C,
Only E is detected, and the read figure becomes a triangle. For this reason, in a coordinate reading device used especially for handwriting input, it has been desired to further increase the speed of reading coordinates (hereinafter, referred to as coordinate detection).

【0006】ところで、従来の演算部3であっても、演
算速度は500〔ポイント/秒〕以上であり、上記座標
出力レートの160〔ポイント/秒〕に比べてはるかに
速かった。すなわち、例えば上記正六角形の座標を検出
する場合、演算部3は頂点A〜Fを検出しているにもか
かわらず、データを出力する時間が長いため、1つおき
の頂点だけしかホスト装置6に出力されなかった。した
がって、従来の座標読み取り装置であっても、データの
出力速度を速くすれば座標検出速度を向上させることが
できる。しかし、データの出力速度を速くするために
は、送信部4を構成するデータ伝送装置をデータの出力
速度が速いものにしなければならず、高価になる。
The operation speed of the conventional operation unit 3 is 500 points / sec or more, which is much faster than the coordinate output rate of 160 points / sec. That is, for example, when detecting the coordinates of the above regular hexagon, the computing unit 3 has a long time to output data despite detecting the vertices A to F. Therefore, only every other vertex is used for the host device 6. Was not output to Therefore, even in the conventional coordinate reading device, the coordinate detection speed can be improved by increasing the data output speed. However, in order to increase the data output speed, the data transmission device constituting the transmission unit 4 must have a high data output speed, which is expensive.

【0007】本発明の目的は、上記した課題を解決し、
座標読み取り装置を構成するデータ伝送装置を高価な高
速なものにすることなく、大きな座標出力レートを達成
することができる座標読み取り装置を提供するにある。
An object of the present invention is to solve the above-mentioned problems,
An object of the present invention is to provide a coordinate reading device capable of achieving a large coordinate output rate without making an expensive and high-speed data transmission device constituting the coordinate reading device.

【0008】[0008]

【課題を解決するための手段】上記の目的を達成するた
め、請求項1の発明は、位置指示器のx、y方向の座標
を検出し、検出した座標をホスト装置に出力する座標読
み取り装置において、前回の座標を記憶する記憶手段を
設け、第1点目は検出した座標を出力すると共にその座
標を前回の座標として記憶し、第2点目以降は、今回検
出した座標と記憶した前回の座標のx、y方向ごとの差
を求め、求めた差の絶対値がいずれも予め設定した値よ
り小さい場合は前記差を出力し、その他の場合は今回検
出した座標を出力すると共に前記記憶手段に記憶されて
いる座標を今回検出した座標に置き換えることを特徴と
する。
To achieve the above object, a first aspect of the present invention is a coordinate reading apparatus for detecting the coordinates of a position indicator in the x and y directions and outputting the detected coordinates to a host device. , A storage means for storing the previous coordinates is provided, the first point outputs the detected coordinates and stores the coordinates as the previous coordinates, and the second and subsequent points store the detected coordinates as the previously detected coordinates. The difference between the coordinates of each of the x and y directions is obtained. If the absolute value of the obtained difference is smaller than a preset value, the difference is output. In other cases, the coordinates detected this time are output and stored. It is characterized in that the coordinates stored in the means are replaced with the coordinates detected this time.

【0009】また、請求項2の発明は、位置指示器の
x、y方向の座標を検出し、検出した座標をホスト装置
に出力する座標読み取り装置において、前回の座標を記
憶する記憶手段を設け、第1点目は検出した座標を出力
すると共にその座標を前回の座標として記憶し、第2点
目以降は、今回検出した座標と記憶した前回の座標の
x、y方向ごとの差を求め、求めた差の絶対値がいずれ
も予め設定した値より小さい場合は前記差を、その他の
場合は今回検出した座標をそれぞれ出力してから、前記
記憶手段に記憶されている座標を今回の座標に置き換え
ることを特徴とする。
According to a second aspect of the present invention, there is provided a coordinate reading device for detecting the coordinates of the position indicator in the x and y directions and outputting the detected coordinates to a host device, wherein storage means for storing previous coordinates is provided. For the first point, the detected coordinates are output and the coordinates are stored as the previous coordinates, and for the second and subsequent points, the difference between the currently detected coordinates and the stored previous coordinates for each of the x and y directions is obtained. If the absolute value of the obtained difference is smaller than a preset value, the difference is output.In other cases, the coordinates detected this time are output. It is characterized by being replaced with

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態を説明
する。図1は本発明に係る電磁誘導式の座標読み取り装
置の接続図、図2は第1の座標出力手順を示すフーロチ
ャート、図3は相対位置座標を説明するための図、図4
は相対位置座標のデータフォーマットを示す図である。
図1で、8は記憶装置であり、図6と同じものまたは同
一機能のものは同一符号を付して説明を省略する。
Embodiments of the present invention will be described below. FIG. 1 is a connection diagram of an electromagnetic induction type coordinate reading device according to the present invention, FIG. 2 is a flowchart showing a first coordinate output procedure, FIG. 3 is a diagram for explaining relative position coordinates, and FIG.
FIG. 4 is a diagram showing a data format of relative position coordinates.
In FIG. 1, reference numeral 8 denotes a storage device, and components having the same functions or the same functions as those in FIG.

【0011】以下、動作を説明する。座標検出作業が開
始されると、n=1とし(図2の手順S10)、座標
x、y(この場合は図3の始点Mの座標x1、y1)を
読み込む(手順S20)。次に、n>1かどうかを判断
し(手順S30)、n>1の場合は手順S100の処理
を行う。この場合は、n=1であるから、記憶装置8に
前回の座標としてX0=x、Y0=y(この場合は、x
=x1、y=y1)を記憶させ(手順S40)、座標
x、y(この場合は、x1,y1)を図7のデータフォ
ーマットにより出力する(手順S50)。そして、n=
n+1として(手順S60)、作業継続かどうかを確認
し(手順S70)、作業継続の場合は手順S20の処理
に戻り、作業終了の場合は処理を終了する。この場合は
作業継続であるので、点Nの座標x2、y2を読み込み
(手順S20)、n>1であるから、手順S100の処
理を行う。手順S100では、Δx(ただし、Δx=X
0−x、この場合はΔx=x1−x2)の絶対値と予め
定めるα(ただし、α>0)とを比較し、|Δx|≦α
の場合は、引き続きΔy(ただし、Δy=Y0−y、こ
の場合はΔy=y1−y2)の絶対値とαとを比較し
(手順S110)、|Δy|≦αの場合は、前回の座標
X0、Y0(この場合は、X0=x1、Y0=y1)を
基準にした今回の座標(以下、相対位置座標という。)
Δx、Δyを後述する図4のデータフォーマットにより
出力して(手順S120)、手順S70の処理を行う。
また、手順S100、110において、Δx、Δyの絶
対値がαよりも大きい場合は、検出した座標x、y(こ
の場合は、x2、y2。以下、原点Oを基準とする座標
を絶対位置座標という。)を図7のデータフォーマット
により出力し(手順S130)、記憶装置8に記憶され
ている前回の座標X0、Y0(この場合は、X0=x
1、Y0=y1)を、x2、y2に置き換えて(手順S
140)、手順S70の処理を行う。以下、作業が終了
するまで、上記の動作を繰り返す。
The operation will be described below. When the coordinate detection operation is started, n = 1 is set (step S10 in FIG. 2), and the coordinates x and y (in this case, the coordinates x1 and y1 of the start point M in FIG. 3) are read (step S20). Next, it is determined whether or not n> 1 (step S30). If n> 1, the process of step S100 is performed. In this case, since n = 1, X0 = x and Y0 = y (in this case, x
= X1, y = y1) is stored (step S40), and the coordinates x, y (in this case, x1, y1) are output in the data format of FIG. 7 (step S50). And n =
As n + 1 (procedure S60), it is confirmed whether or not the work is continued (procedure S70). If the work is continued, the process returns to step S20, and if the work is completed, the process ends. In this case, since the work is continued, the coordinates x2 and y2 of the point N are read (procedure S20), and since n> 1, the process of procedure S100 is performed. In step S100, Δx (where Δx = X
0−x, in this case, the absolute value of Δx = x1−x2) is compared with a predetermined α (where α> 0), and | Δx | ≦ α
, The absolute value of Δy (here, Δy = Y0−y, in this case, Δy = y1−y2) is compared with α (procedure S110), and if | Δy | ≦ α, the previous coordinate is used. This time coordinates based on X0 and Y0 (in this case, X0 = x1, Y0 = y1) (hereinafter referred to as relative position coordinates).
Δx and Δy are output in the data format of FIG. 4 described later (procedure S120), and the process of procedure S70 is performed.
In steps S100 and S110, if the absolute values of Δx and Δy are larger than α, the detected coordinates x and y (in this case, x2 and y2. Hereinafter, the coordinates based on the origin O are referred to as absolute position coordinates. Is output in the data format of FIG. 7 (procedure S130), and the previous coordinates X0 and Y0 stored in the storage device 8 (in this case, X0 = x
1, Y0 = y1) is replaced with x2, y2 (procedure S
140), the process of step S70 is performed. Hereinafter, the above operation is repeated until the work is completed.

【0012】次に、相対位置座標のデータフォーマット
について説明する。図4に示すように、相対位置座標の
データフォーマットは2バイトで構成されている。そし
て、1バイト目のRX6〜RX0はΔxを、2バイト目
のRY6〜RY0はΔYを、それぞれ2の補数表現(符
号を含む)で表している。したがって、このデータフォ
ーマットではX軸、Y軸とも+63から−64パルス
(座標単位)までの相対距離を表現できる。そして、図
7の絶対位置座標のデータフォーマットと区別するた
め、データの始まりを表す1バイト目と2バイト目のD
7ビットをいずれも1にしてある。
Next, a data format of relative position coordinates will be described. As shown in FIG. 4, the data format of the relative position coordinates is composed of 2 bytes. RX6 to RX0 in the first byte represent Δx, and RY6 to RY0 in the second byte represent ΔY, each represented by a two's complement expression (including a sign). Therefore, in this data format, the relative distance from +63 to -64 pulses (coordinate unit) can be expressed on both the X axis and the Y axis. Then, in order to distinguish from the data format of the absolute position coordinates in FIG.
All 7 bits are set to 1.

【0013】次に、相対位置座標を用いる効果を説明す
る。例えば、同じ出力速度の場合、絶対位置座標と相対
位置座標を交互に出力すると、座標出力レートを絶対位
置座標だけを出力する場合の1.5倍(=(6+6)/
(6+2))に向上できる。また、1個の絶対位置座標
に複数個の相対位置座標を組み合わせて出力すると、座
標出力レートを最大で略3倍(=6/2)の略480
〔ポイント/秒〕まで向上できる。
Next, the effect of using relative position coordinates will be described. For example, in the case of the same output speed, if the absolute position coordinates and the relative position coordinates are alternately output, the coordinate output rate is 1.5 times (= (6 + 6) /
(6 + 2)). In addition, when one absolute position coordinate is combined with a plurality of relative position coordinates and output, the coordinate output rate becomes approximately 480, which is approximately three times (= 6/2) at the maximum.
[Points / second].

【0014】そして、1パルスを0.02mm、座標出
力レートを480ポイント/秒とすると、相対位置座標
で追従できる最大の座標変化率(つまり位置指示器5の
移動速度)は、0.02mm×63×480ポイント/
秒=604.8mm/秒であり、座標読み取り装置1に
要求される手書き入力の場合の座標検出速度を満足でき
る。なお、この場合におけるαの値は、相対座標で表せ
る範囲の最大値、すなわち、1.26mm(0.02×
63)にする必要がある。
Assuming that one pulse is 0.02 mm and the coordinate output rate is 480 points / second, the maximum coordinate change rate (that is, the moving speed of the position indicator 5) that can be followed by relative position coordinates is 0.02 mm × 63 × 480 points /
Second = 604.8 mm / sec, which satisfies the coordinate detection speed required for the handwriting input of the coordinate reading device 1. In this case, the value of α is the maximum value of the range that can be expressed by relative coordinates, that is, 1.26 mm (0.02 ×
63).

【0015】図5は、本発明の実施の形態に係る第2の
座標の出力手順を示すフーロチャートである。座標検出
が開始されると、n=1とし(図5の手順S200)、
座標x、y(この場合は図3の始点Mの座標x1、y
1)を読み込む(手順S210)。次に、n>1かどう
かを判断し(手順S220)、n>1の場合は手順S3
00の処理を行う。この場合は、n=1であるから、記
憶装置8に前回の座標としてX0=x、Y0=y(この
場合は、x=x1、y=y1)を記憶させ(手順S23
0)、座標x、y(この場合は、x1,y1)を絶対位
置座標で出力する(手順S240)。そして、n=n+
1として(手順S250)、作業継続かどうかを確認し
(手順S260)、作業継続の場合は手順S210の処
理に戻り、作業終了の場合は処理を終了する。この場合
は作業継続であるので、点Nの座標x2,y2を読み込
み(手順S210)、n>1であるから、手順S300
の処理を行う。手順S300では、Δx(ただし、Δx
=X0−x、この場合はΔx=x1−x2)の絶対値と
予め定めるα(ただし、α>0)とを比較し、|Δx|
≦αの場合は、引き続きΔy(ただし、Δy=Y0−
y、この場合はΔy=y1−y2)の絶対値とαとを比
較し(手順S310)、|Δy|≦αの場合は、Δx、
Δyを上記相対位置座標のデータフォーマットにより出
力して(手順S320)、図示しない記憶手段に記憶さ
れている前回の座標X0、Y0(この場合は、X0=x
1、Y0=y1)を、x2、y2に置き換えて(手順S
330)、手順S260の処理を行う。また、手順S3
00、310において、Δx、Δyの絶対値がαよりも
大きい場合は、座標x2、y2を絶対位置座標で出力し
(手順S340)、手順S330の処理を行う。以下、
作業が終了するまで、上記の動作を繰り返す。
FIG. 5 is a flowchart showing a procedure for outputting the second coordinates according to the embodiment of the present invention. When the coordinate detection is started, n is set to 1 (step S200 in FIG. 5),
Coordinates x, y (in this case, coordinates x1, y of start point M in FIG. 3)
1) is read (step S210). Next, it is determined whether n> 1 (step S220), and if n> 1, step S3 is performed.
00 is performed. In this case, since n = 1, X0 = x and Y0 = y (in this case, x = x1, y = y1) are stored in the storage device 8 as the previous coordinates (step S23).
0) and the coordinates x, y (in this case, x1, y1) are output as absolute position coordinates (step S240). And n = n +
As 1 (procedure S250), it is confirmed whether or not the work is continued (procedure S260). If the work is continued, the process returns to step S210, and if the work is completed, the process ends. In this case, since the work is continued, the coordinates x2 and y2 of the point N are read (step S210).
Is performed. In step S300, Δx (where Δx
= X0-x, in this case, the absolute value of Δx = x1-x2) is compared with a predetermined α (where α> 0), and | Δx |
If ≦ α, then Δy (where Δy = Y0−
y, in this case, the absolute value of Δy = y1−y2) is compared with α (step S310), and when | Δy | ≦ α, Δx,
Δy is output in the data format of the relative position coordinates (step S320), and the previous coordinates X0, Y0 stored in the storage unit (not shown) (in this case, X0 = x
1, Y0 = y1) is replaced with x2, y2 (procedure S
330), the process of step S260 is performed. Step S3
If the absolute values of Δx and Δy are larger than α in 00 and 310, the coordinates x2 and y2 are output as absolute position coordinates (step S340), and the process of step S330 is performed. Less than,
The above operation is repeated until the operation is completed.

【0016】この第2の実施の形態は、座標を検出する
毎に前回の座標を置き換えるから、相対位置座標を出力
する割合が上記第1の実施の形態よりも一般に大きくな
り、さらに座標出力レートを大きくすることができる。
In the second embodiment, since the previous coordinates are replaced each time the coordinates are detected, the ratio of outputting the relative position coordinates is generally larger than in the first embodiment, and the coordinate output rate is further increased. Can be increased.

【0017】なお、相対位置座標だけを出力すると、装
置状態を表すデータが出力されない。そこで、通常は相
対位置座標を出力するようにしておき、例えば(1)装
置の状態に変化が発生した時に(位置指示器5の図示し
ないスイッチが操作されたりペンの筆圧が変化した
時)、(2)一定の時間間隔毎に、(3)一定数の相対
位置座標を出力した時に、あるいは上記(1)〜(3)
を組み合わせて絶対位置座標を出力するようにすれば、
装置状態も出力することができる。なお、上記(1)〜
(3)の制御方法はいずれも容易に実現可能であるた
め、制御方法の説明は省略する。
If only the relative position coordinates are output, no data indicating the state of the apparatus is output. Therefore, the relative position coordinates are normally output, for example, (1) when a change occurs in the state of the apparatus (when a switch (not shown) of the position indicator 5 is operated or the pen pressure changes). (2) At a certain time interval, (3) When a certain number of relative position coordinates are output, or when (1) to (3)
If you output absolute position coordinates by combining
The device status can also be output. In addition, the above (1)-
Since the control method of (3) can be easily realized, the description of the control method is omitted.

【0018】また、上記では記憶装置8を設けたが、例
えば演算部3を構成する記憶メモリに余裕がある場合、
上記記憶メモリを利用するようにすれば、記憶装置8を
別に設ける必要はない。さらに、本発明は電磁誘導式の
座標読み取り装置に限らず、他の方式の座標読み取り装
置にも適用できる。
Although the storage device 8 is provided in the above description, for example, if the storage memory constituting the arithmetic unit 3 has room,
If the storage memory is used, there is no need to provide the storage device 8 separately. Further, the present invention is not limited to the electromagnetic induction type coordinate reading device, but can be applied to other types of coordinate reading devices.

【0019】[0019]

【発明の効果】以上説明したように、本発明によれば、
位置指示器のx、y方向の座標を検出し、検出した座標
をホスト装置に出力する座標読み取り装置において、前
回の座標を記憶する記憶手段を設け、第1点目は検出し
た座標を出力すると共にその座標を前回の座標として記
憶し、第2点目以降は、今回検出した座標と記憶した前
回の座標のx、y方向ごとの差を求める。そして、求め
た差の絶対値がいずれも予め設定した値より小さい場合
は前記差を出力し、その他の場合は今回検出した座標を
出力すると共に前記記憶手段に記憶されている座標を今
回検出した座標に置き換え、あるいは、求めた差の絶対
値がいずれも予め設定した値より小さい場合は前記差
を、その他の場合は今回検出した座標をそれぞれ出力し
てから、前記記憶手段に記憶されている座標を今回の座
標に置き換えるようにしたから、出力するデータの大き
さを小さくすることができ、出力速度を上げずに座標出
力レートを大きくできる。
As described above, according to the present invention,
In a coordinate reading device for detecting the coordinates of the position indicator in the x and y directions and outputting the detected coordinates to the host device, a storage means for storing the previous coordinates is provided, and the first point outputs the detected coordinates. At the same time, the coordinates are stored as the previous coordinates, and after the second point, the difference between the currently detected coordinates and the stored previous coordinates in each of the x and y directions is obtained. If the absolute value of the obtained difference is smaller than a preset value, the difference is output.In other cases, the coordinates detected this time are output and the coordinates stored in the storage unit are detected this time. If the absolute value of the obtained difference is smaller than a preset value, the difference is output, and otherwise, the coordinates detected this time are output, and then stored in the storage unit. Since the coordinates are replaced with the current coordinates, the size of the output data can be reduced, and the coordinate output rate can be increased without increasing the output speed.

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

【図1】本発明の実施の形態に係る電磁誘導式の座標読
み取り装置の接続図である。
FIG. 1 is a connection diagram of an electromagnetic induction type coordinate reading device according to an embodiment of the present invention.

【図2】本発明の実施の形態に係る第1の座標の出力手
順を示すフーロチャートである。
FIG. 2 is a flowchart showing a procedure for outputting a first coordinate according to the embodiment of the present invention.

【図3】相対位置座標を説明するための図である。FIG. 3 is a diagram for explaining relative position coordinates.

【図4】相対位置座標のデータフォーマットを示す図で
ある。
FIG. 4 is a diagram showing a data format of relative position coordinates.

【図5】本発明の実施の形態に係る第2の座標の出力手
順を示すフーロチャートである。
FIG. 5 is a flowchart showing a procedure of outputting a second coordinate according to the embodiment of the present invention.

【図6】従来の電磁誘導式の座標読み取り装置の接続図
である。
FIG. 6 is a connection diagram of a conventional electromagnetic induction type coordinate reading device.

【図7】絶対位置座標のデータフォーマットを示す図で
ある。
FIG. 7 is a diagram showing a data format of absolute position coordinates.

【図8】読み取る図形の一例を示す図である。FIG. 8 is a diagram showing an example of a figure to be read.

【符号の説明】[Explanation of symbols]

5 位置指示器 6 ホスト装置 8 記憶装置 5 Position indicator 6 Host device 8 Storage device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 位置指示器のx、y方向の座標を検出
し、検出した座標をホスト装置に出力する座標読み取り
装置において、前回の座標を記憶する記憶手段を設け、
第1点目は検出した座標を出力すると共にその座標を前
回の座標として記憶し、第2点目以降は、今回検出した
座標と記憶した前回の座標のx、y方向ごとの差を求
め、求めた差の絶対値がいずれも予め設定した値より小
さい場合は前記差を出力し、その他の場合は今回検出し
た座標を出力すると共に前記記憶手段に記憶されている
座標を今回検出した座標に置き換えることを特徴とする
座標読み取り装置。
1. A coordinate reading device for detecting coordinates in the x and y directions of a position indicator and outputting the detected coordinates to a host device, wherein storage means for storing previous coordinates is provided.
The first point outputs the detected coordinates and stores the coordinates as the previous coordinates. From the second point onward, the difference between the currently detected coordinates and the stored previous coordinates is determined for each of the x and y directions. If the absolute value of the obtained difference is smaller than a preset value, the difference is output.In other cases, the coordinates detected this time are output and the coordinates stored in the storage unit are changed to the coordinates detected this time. A coordinate reading device characterized by being replaced.
【請求項2】 位置指示器のx、y方向の座標を検出
し、検出した座標をホスト装置に出力する座標読み取り
装置において、前回の座標を記憶する記憶手段を設け、
第1点目は検出した座標を出力すると共にその座標を前
回の座標として記憶し、第2点目以降は、今回検出した
座標と記憶した前回の座標のx、y方向ごとの差を求
め、求めた差の絶対値がいずれも予め設定した値より小
さい場合は前記差を、その他の場合は今回検出した座標
をそれぞれ出力してから、前記記憶手段に記憶されてい
る座標を今回の座標に置き換えることを特徴とする座標
読み取り装置。
2. A coordinate reading device for detecting coordinates in the x and y directions of a position indicator and outputting the detected coordinates to a host device, wherein storage means for storing previous coordinates is provided.
The first point outputs the detected coordinates and stores the coordinates as the previous coordinates. From the second point onward, the difference between the currently detected coordinates and the stored previous coordinates is determined for each of the x and y directions. If the absolute value of the obtained difference is smaller than a preset value, the difference is output.In other cases, the coordinates detected this time are output, and the coordinates stored in the storage unit are used as the current coordinates. A coordinate reading device characterized by being replaced.
JP24705097A 1997-09-11 1997-09-11 Coordinate reader Withdrawn JPH1185381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24705097A JPH1185381A (en) 1997-09-11 1997-09-11 Coordinate reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24705097A JPH1185381A (en) 1997-09-11 1997-09-11 Coordinate reader

Publications (1)

Publication Number Publication Date
JPH1185381A true JPH1185381A (en) 1999-03-30

Family

ID=17157676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24705097A Withdrawn JPH1185381A (en) 1997-09-11 1997-09-11 Coordinate reader

Country Status (1)

Country Link
JP (1) JPH1185381A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10534530B2 (en) 2013-11-19 2020-01-14 Wacom Co., Ltd. Method and system for ink data generation, ink data rendering, ink data manipulation and ink data communication

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10534530B2 (en) 2013-11-19 2020-01-14 Wacom Co., Ltd. Method and system for ink data generation, ink data rendering, ink data manipulation and ink data communication
US10768805B2 (en) 2013-11-19 2020-09-08 Wacom Co., Ltd. Method and system for ink data generation, ink data rendering, ink data manipulation and ink data communication
US11023127B2 (en) 2013-11-19 2021-06-01 Wacom Co., Ltd. Method and system for ink data generation, ink data rendering, ink data manipulation and ink data communication
US11042292B2 (en) 2013-11-19 2021-06-22 Wacom Co., Ltd. Method and system for ink data generation, ink data rendering, ink data manipulation and ink data communication
US11169696B2 (en) 2013-11-19 2021-11-09 Wacom Co., Ltd. Method and system for ink data generation, ink data rendering, ink data manipulation and ink data communication
US11188223B2 (en) 2013-11-19 2021-11-30 Wacom Co., Ltd. Method and system for ink data generation, ink data rendering, ink data manipulation and ink data communication
US11747976B2 (en) 2013-11-19 2023-09-05 Wacom Co., Ltd. Method and system for ink data generation, ink data rendering, ink data manipulation and ink data communication

Similar Documents

Publication Publication Date Title
JP4947668B2 (en) Electronic device, display control method, and program
US8239155B2 (en) Track information processor, track information processing method, information recording medium, and program
JP5736005B2 (en) Input processing device, information processing device, information processing system, input processing method, information processing method, input processing program, and information processing program
JPH1185381A (en) Coordinate reader
JP2616353B2 (en) Input indicating device
JPH02296291A (en) Character dot pattern signal generating device
JP2000020754A (en) Model display device
JPH07160426A (en) Information processor
US12001646B2 (en) Computer-implemented method, computer, and program for rendering a three-dimensional object in a virtual reality space
JPH0145662B2 (en)
JP2830320B2 (en) Drawing method to image memory
JPS62189580A (en) Cursor display device
JPH0331923A (en) Input/output device and input display system
JP3426073B2 (en) Data input device
JPS60262694A (en) Graph forming machine having scale-up function
JP2010271821A (en) Polyline generation method and polyline generation system
JPH02213925A (en) Coordinate input device
KR850008015A (en) Graphics processing equipment
JPH1091386A (en) Hardware cursor
JPH03175526A (en) Graphic processor
JPH03147080A (en) Graphic information processor
JPH09185454A (en) Method and device for inputting coordinate
JPH0648497B2 (en) Pattern control device
JPS6261156B2 (en)
JPS635384A (en) Cursor display unit

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20041207