JPS63282518A - Graphic input device - Google Patents

Graphic input device

Info

Publication number
JPS63282518A
JPS63282518A JP62117487A JP11748787A JPS63282518A JP S63282518 A JPS63282518 A JP S63282518A JP 62117487 A JP62117487 A JP 62117487A JP 11748787 A JP11748787 A JP 11748787A JP S63282518 A JPS63282518 A JP S63282518A
Authority
JP
Japan
Prior art keywords
coordinates
hold mode
coordinate
set value
coordinate storage
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
Application number
JP62117487A
Other languages
Japanese (ja)
Inventor
Kazuya Matsumoto
一也 松本
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP62117487A priority Critical patent/JPS63282518A/en
Publication of JPS63282518A publication Critical patent/JPS63282518A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To preclude misinput due to the shake of the pen tip of a stylus pen by outputting coordinates from a 1st coordinate storage means unless a distance between coordinates exceeds a set value when a hold mode is on. CONSTITUTION:Coordinates are sampled and inputted and it is checked whether or not the movement distance S exceeds the set value. Here, even if the tip stylus is shaken owing to the depression of the stylus pen or the operation of a button switch, the movement distance due to the shape is prevented from exceeding the set value and then a slight shake is ignored in the hold-mode ON state, the contents of a 1st coordinate storage part 5 are equalized to the contents of a 2nd coordinate storage part 6, and then a coordinate output for the formation of a graphic form is sent out of a coordinate output part 7. Thus, the procedure of data processing is made different according to whether or not the hold mode is on or off and, especially, when the hold mode is on, slight motion of a tablet is ignored to eliminate the misinput of coordinates.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はタブレット上のスタイラスペンの位置を検出し
、その座標を入力する図形゛入力装置に関し、特に図形
処理機能を有するコンピュータシステムなどにおいて用
いられる。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a graphic input device that detects the position of a stylus pen on a tablet and inputs its coordinates, and is particularly suitable for use in computer systems having graphic processing functions. It will be done.

〔従来の技術〕[Conventional technology]

図形入力装置に図形形成のための座標を入力する場合に
は、通常はコンピュータによってタブレット上でグリッ
ドを設定し、そのグリッドに対して入力座標をソフトウ
ェアで丸め込むようにしている。このため、画面を縮小
することによってその表示範囲を広げると、これに対応
してタブレット上のグリッド間隔は狭くなるため、入力
した座標が狙ったグリッド以外のグリッドに引き込まれ
、座標を誤入力してしまうことがあった。特に、ペン先
をタブレットに押しつけて座標入力する型式のスタイラ
スペンや、ペンに固定されたボタンスインチを押して座
標入力する型式のスタイラスペンでは、座標入力の瞬間
にペン先がブレやすく、これが誤入力の大きな原因とな
っていた。
When inputting coordinates for forming a figure into a figure input device, a grid is usually set on a tablet by a computer, and the input coordinates are rounded with respect to the grid using software. For this reason, if you widen the display range by shrinking the screen, the grid spacing on the tablet will correspondingly narrow, causing the coordinates you entered to be drawn into a grid other than the one you were aiming for, leading to incorrect input of coordinates. There were times when I ended up. In particular, with stylus pens that input coordinates by pressing the pen tip against the tablet, or stylus pens that input coordinates by pressing a button switch fixed to the pen, the pen tip tends to shake at the moment of inputting coordinates, which can lead to errors. This was a major cause of input.

そこで本発明は、座標入力時にスタイラスペンのペン先
に多少のブレが生じても、これが座標の誤入力を招いた
りすることのない図形入力装置を提供することを目的と
する。
SUMMARY OF THE INVENTION An object of the present invention is to provide a graphic input device that does not cause erroneous input of coordinates even if the tip of a stylus pen slightly shakes when inputting coordinates.

〔問題点を解決するための手段〕[Means for solving problems]

本発明に係る図形入力装置は、一定時間間隔でサンプリ
ングされるスタイラスペンの座標のうち、より以前の座
標およびその復の座標をそれぞれ記憶する第1および第
2の座標記憶手段と、この第1および第2の座標記憶手
段の座標間距離がほぼゼロのとぎホールドモードONと
し、ホールドモードONのときに座標間距離があらかじ
め定められた設定値を越えるときはホールドモードOF
Fとするモード切換手段とを備え、ホールドモードON
のときに座標間距離が設定値を越えないときは第1の座
標記憶手段から座標を出力することを特徴とする。
The graphic input device according to the present invention includes first and second coordinate storage means for respectively storing earlier coordinates and subsequent coordinates among the coordinates of a stylus pen sampled at regular time intervals; Then, the hold mode is turned on when the distance between the coordinates of the second coordinate storage means is almost zero, and when the distance between the coordinates exceeds a predetermined setting value when the hold mode is turned on, the hold mode is turned off.
F mode switching means, hold mode ON
The present invention is characterized in that when the distance between the coordinates does not exceed a set value, the coordinates are output from the first coordinate storage means.

〔作用〕 本発明に係る図形入力装置は、以上の通りに構成される
ので、スタイラスペンのペン先が一定時間以上にわたっ
て動かないときにはホールドモードONにされ、このホ
ールドモードONのとぎにtよ座標入力時のペン先の多
少のブレは無視されることになる。
[Operation] Since the graphic input device according to the present invention is configured as described above, when the tip of the stylus pen does not move for a certain period of time or more, the hold mode is turned on, and after turning on the hold mode, the coordinates t and Any slight wobbling of the pen tip during input will be ignored.

(実施例〕 以下、添付図面を参照して、本発明の一実施例を説明す
る。なお、図面の説明において同一の要素には同一の符
号を付し、重複する説明を省略する。
(Embodiment) Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.In the explanation of the drawings, the same elements are denoted by the same reference numerals, and redundant explanation will be omitted.

第1図は実施例に係る装置のブロック図であり、第2図
はこの装置による座標入力処理を説明するためのフロー
チャートである。第1図に示す装置において、クロック
発生部1は一定時間幅のクロックパルスを出力しており
、サンプリング部2はこのクロックに同期してスタイラ
スペンのペン先がタブレット上で示す座標値をX、Y座
標で入力する。演算判定部3は2つの座標間距離の演算
や、ホールドモードがONであるかOFFであるかの判
定などを行なうためのものであり、モード切換部4は演
算判定部3からのデータにもとづいてモードの切り換え
を行なうためのものである。第1の座標記憶部5はサン
プリング部2によってサンプリングされた座標のうち、
以前のもの(XOLD =YOLD >を記憶するため
のもので、第2の座標記憶部6はその後の(最新の)も
の(XNEW =YNEW )を記憶するためのもので
ある。そして、座標出力部7は以上の構成要素により1
qられた座標を出力し、これが図形の形成に供される。
FIG. 1 is a block diagram of a device according to an embodiment, and FIG. 2 is a flowchart for explaining coordinate input processing by this device. In the device shown in FIG. 1, a clock generator 1 outputs a clock pulse with a constant time width, and a sampling unit 2 synchronizes with this clock to calculate the coordinate value indicated by the tip of the stylus pen on the tablet by Enter the Y coordinate. The calculation/judgment unit 3 is for calculating the distance between two coordinates and determining whether the hold mode is ON or OFF.The mode switching unit 4 is configured based on the data from the calculation/judgment unit 3. This is for switching modes. The first coordinate storage unit 5 stores, among the coordinates sampled by the sampling unit 2,
The second coordinate storage unit 6 is for storing the previous one (XOLD = YOLD >), and the second coordinate storage unit 6 is for storing the subsequent (latest) one (XNEW = YNEW).Then, the coordinate output unit 7 is 1 due to the above components
The q coordinates are output and used to form a figure.

次に、第2図のフローチャートにより、上記実施例の装
置の作用を説明する。
Next, the operation of the apparatus of the above embodiment will be explained with reference to the flowchart shown in FIG.

まず、クロックに同期してスタイラスペンの座標(XI
N、YlN)がサンプリング入力される(ステップ10
1)。そして、ホールドモードがONであるかOFFで
あるかの判定がなされる(ステップ102)が、ホール
ドモードがOFFであると仮定するとステップ103に
進み、スタイラスペンの移動距離Sがゼロであるか否か
が調べられる。ここで、移動距離Sは以前の座標値(第
2の座標記憶部6の座標値)が(X   、Y   )
でOLD   OLD あるとすると、 と定義される。いま、スタイラスペンの動きがめったた
めに移動距離SNOであるとすると、ステップ103の
結果は否(No>となり、ステップ104に進む。この
ため、スタイラスペンの停止時間Thはゼロにされ、ス
テップ105で第1の座標記憶部5の座標値X   、
Y   がそれぞれNEW   NEW XIN−YINにされるっそして、座標値(XNEい。
First, the coordinates of the stylus pen (XI
N, YlN) is sampled and input (step 10
1). Then, it is determined whether the hold mode is ON or OFF (step 102), but if it is assumed that the hold mode is OFF, the process proceeds to step 103, and whether or not the moving distance S of the stylus pen is zero is determined. can be investigated. Here, the moving distance S is determined by the previous coordinate values (coordinate values in the second coordinate storage unit 6) being (X, Y)
Suppose that OLD OLD is defined as . Assuming that the movement distance SNO is due to the movement of the stylus being rare, the result of step 103 is negative (No>, and the process proceeds to step 104. Therefore, the stopping time Th of the stylus is set to zero, and step 105 The coordinate value X of the first coordinate storage unit 5 is
Y is set to NEW NEW XIN-YIN respectively, and the coordinate value (XNE) is set.

す開)が図形作成のために、座標出力部7から出力され
ることになる(ステップ106)。このようにホールド
モールドOFFの状態でスタイラスペンの動きがあると
、移動した後の座標(X1N。
(open) is output from the coordinate output section 7 for graphic creation (step 106). In this way, when the stylus pen moves with the hold mold OFF, the coordinates (X1N) after the movement.

YIN)が(X   、Y   )として出力されるこ
NEW    NEW とになる。
YIN) is output as (X, Y).

次に、ホールドモールドOFFの状態でスタイラスペン
が停止しているときには、下記のようになる。すなわち
、ステップ101で次の座標(X1N、YIN)がサン
プリング入力されたのち、ステップ102.103を経
てステップ201へと進む。そして、ステップ201で
スタイラスペンの停止時間Thに1単位のサンプリング
時間へtが加算され(Th=Th十Δt)、ステップ2
02で設定値下を越えるときは、ステップ203でホー
ルドモードがOFFからONに切り換えられる。なお、
この切り換えは第1図のモード切換部4でなされ、ここ
に記憶される。しかる後、ホールドモードがOFFのま
まのときにもOFFからONに変るときにも、第1の座
標記憶部5の内容(XN、い−YNEW )は第2の座
標記憶部6の内容(X   、Y   )と同一にされ
(スOLD   OLD テップ204)、ステップ106で図形の形成のための
座標(X   、Y   )が座標出力部7かNEW 
 NEΔ ら出力される。
Next, when the stylus pen is stopped with the hold mold OFF, the following occurs. That is, after the next coordinates (X1N, YIN) are sampled and input in step 101, the process proceeds to step 201 via steps 102 and 103. Then, in step 201, t is added to the stop time Th of the stylus pen to the sampling time of one unit (Th = Th + Δt), and in step 2
When the value exceeds the lower set value in step 02, the hold mode is switched from OFF to ON in step 203. In addition,
This switching is performed in the mode switching unit 4 of FIG. 1 and is stored there. Thereafter, whether the hold mode remains OFF or changes from OFF to ON, the contents of the first coordinate storage section 5 (XN, Y-YNEW) are the contents of the second coordinate storage section 6 (X , Y) (step 204), and in step 106, the coordinates (X, Y) for forming the figure are set to the coordinate output section 7 or NEW.
NEΔ is output.

次いで、ホールドモールドがONとなった後の作用を説
明する。
Next, the operation after the hold mold is turned on will be explained.

この場合には、まずステップ101で座標(XIN、Y
IN)のサンプリング入力がなされ、ステップ102を
経てステップ301へ進む。そして、ステップ301で
移動距離Sが設定値SLIMを越えるか否かが調べられ
る。ここで、スタイラスペンの押圧やボタンスイッチの
操作によってペン先が多少ブレるときでも、そのブレに
よる移動距離Sが設定値S LIHを越えないようにし
ておくと、ステップ301の結果は否(No>となって
ステップ204へ進む。このため、ホールドモードON
の状態では多少のブレは無視され、第1の座標記憶部5
の内容(X   、Y   )が第2のNEW   N
EW 座標記憶部6の内容(XOLD 、YOLD )と同一
にされた後(ステップ204)、図形の形成のための座
標(X   、Y   )出力が座標出力部7かNEW
   NEW らなされる(ステップ106)。
In this case, first in step 101 the coordinates (XIN, Y
A sampling input of IN) is made, and the process advances to step 301 via step 102. Then, in step 301, it is checked whether the moving distance S exceeds the set value SLIM. Here, even if the pen tip shakes a little due to pressing the stylus pen or operating the button switch, if the movement distance S due to the shake does not exceed the set value SLIH, the result of step 301 will be negative (No). > and proceeds to step 204. Therefore, the hold mode is turned on.
In this state, slight deviations are ignored and the first coordinate storage unit 5
The contents (X, Y) of the second NEW N
EW After being made the same as the contents (XOLD, YOLD) of the coordinate storage unit 6 (step 204), the coordinates (X, Y) for forming the figure are output from the coordinate output unit 7 or NEW
NEW is made (step 106).

これに対して、ホールドモードONの状態でステップ3
01で移動距離Sが設定値5LINを越えていると、ス
テップ302へと進む。そして、スタイラスペンの停止
時間Thがゼロまたはサンプリング間隔Δtとされた後
(ステップ302)、第1の座標記憶部5の内容(XN
EW = YNEW )がサンプリング座標(X1N、
YlN)で書き換えられる(ステップ303)。しかる
後、ホールドモードがONからOFFにされ(ステップ
304)、図形形成のための座標(XNEW = YN
EW )の出力がなされる。
On the other hand, when the hold mode is ON, step 3
If the moving distance S exceeds the set value 5LIN in step 01, the process advances to step 302. Then, after the stop time Th of the stylus pen is set to zero or the sampling interval Δt (step 302), the contents of the first coordinate storage unit 5 (XN
EW = YNEW) is the sampling coordinate (X1N,
YlN) (step 303). After that, the hold mode is turned from ON to OFF (step 304), and the coordinates (XNEW = YN
EW) is output.

以上のように、本実施例ではホールドモードがONかO
FFかでデータ処理の手順を異ならせ、特にホールドモ
ードONのときにはタブレットの多少の動きは無視する
ようにしたので、座標の誤入力を大幅に削減することが
できる。また、大きな動きがあったときにはホールドモ
ードをONからOFFにしているので、スタイラスペン
の移動を正確に追従することができる。
As mentioned above, in this embodiment, the hold mode is ON or OFF.
Since the data processing procedure differs depending on whether the tablet is FF or not, and slight movements of the tablet are ignored especially when the hold mode is ON, it is possible to significantly reduce erroneous input of coordinates. Furthermore, since the hold mode is turned from ON to OFF when there is a large movement, the movement of the stylus pen can be accurately followed.

本発明は上記実施例のものに限定されることなく、種々
の変形が可能である。
The present invention is not limited to the above-mentioned embodiments, and various modifications are possible.

例えば、上記のホールドモードON、OFFの切り換え
機能はコンピュータ側に内蔵してもよいし、スタイラス
ペン側に内蔵してもよい。また、座標もX、Yの直交座
標に限られるものではない。
For example, the above-mentioned hold mode ON/OFF switching function may be built into the computer, or may be built into the stylus pen. Further, the coordinates are not limited to the orthogonal coordinates of X and Y.

〔発明の効果〕〔Effect of the invention〕

以上、詳細に説明した通り本発明では、スタイラスペン
のペン先が一定時間以上にわたって動かないときにはホ
ールドモードONにされ、このホールドモードONのと
きには座標入力時のペン先の多少のブレは無視されるこ
とになるので、座標入力時にスタイラスペンのペン先に
多少のブレが生じても、これが誤入力を招いたりするこ
とのない効果がある。
As explained above in detail, in the present invention, when the tip of the stylus pen does not move for a certain period of time or more, the hold mode is turned on, and when the hold mode is on, slight shaking of the tip of the pen when inputting coordinates is ignored. Therefore, even if the tip of the stylus pen slightly shakes when inputting coordinates, this has the effect of preventing erroneous input.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図はその作用の一例を示すフローチャートである。 1・・・クロック発生部、2・・・サンプリング部、3
・・・演算判定部、4・・・モード切換部、5・・・第
1の座標記憶部、6・・・第2の座標記憶部、7・・・
座標出力部。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a flowchart showing an example of its operation. 1... Clock generation section, 2... Sampling section, 3
... Calculation determination section, 4... Mode switching section, 5... First coordinate storage section, 6... Second coordinate storage section, 7...
Coordinate output section.

Claims (1)

【特許請求の範囲】 タブレット上のスタイラスペンの位置を検出し、その座
標から図形を入力する図形入力装置において、 一定時間間隔でサンプリングされる前記スタイラスペン
の座標のうち、より以前の座標およびその後の座標をそ
れぞれ記憶する第1および第2の座標記憶手段と、この
第1および第2の座標記憶手段の座標間距離がほぼゼロ
のときホールドモードONとし、ホールドモードONの
ときに前記座標間距離があらかじめ定められた設定値を
越えるときはホールドモードOFFとするモード切換手
段とを備え、前記ホールドモードONのときに前記座標
間距離が前記設定値を越えないときは前記第1の座標記
憶手段から座標を出力することを特徴とする図形入力装
置。
[Claims] In a figure input device that detects the position of a stylus pen on a tablet and inputs a figure from the coordinates thereof, among the coordinates of the stylus pen sampled at regular time intervals, earlier coordinates and subsequent coordinates are provided. When the distance between the coordinates of the first and second coordinate storage means is approximately zero, the hold mode is set to ON, and when the hold mode is ON, the distance between the coordinates of the first and second coordinate storage means is approximately zero. mode switching means for turning the hold mode OFF when the distance exceeds a predetermined set value; and mode switching means for turning the hold mode OFF when the distance between the coordinates does not exceed the set value when the hold mode is ON; A graphic input device characterized by outputting coordinates from means.
JP62117487A 1987-05-14 1987-05-14 Graphic input device Pending JPS63282518A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62117487A JPS63282518A (en) 1987-05-14 1987-05-14 Graphic input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62117487A JPS63282518A (en) 1987-05-14 1987-05-14 Graphic input device

Publications (1)

Publication Number Publication Date
JPS63282518A true JPS63282518A (en) 1988-11-18

Family

ID=14712932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62117487A Pending JPS63282518A (en) 1987-05-14 1987-05-14 Graphic input device

Country Status (1)

Country Link
JP (1) JPS63282518A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0550360U (en) * 1991-12-05 1993-07-02 株式会社エクスコム Device for measuring expansion and contraction rate of fabrics
JP2008234212A (en) * 2007-03-19 2008-10-02 Sharp Corp Coordinate input device and method of controlling coordinate input device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0550360U (en) * 1991-12-05 1993-07-02 株式会社エクスコム Device for measuring expansion and contraction rate of fabrics
JP2008234212A (en) * 2007-03-19 2008-10-02 Sharp Corp Coordinate input device and method of controlling coordinate input device

Similar Documents

Publication Publication Date Title
US6043805A (en) Controlling method for inputting messages to a computer
JPH1173271A (en) Instructing device and processor and storage medium
JPH0823565B2 (en) Enlargement / reduction method of displayed waveform
JP2619383B2 (en) Coordinate input device
JPS59119438A (en) Display of current position of locator
JP2000276281A (en) Method and device for controlling mouse pointer coordinate
JPS63282518A (en) Graphic input device
JPS60182977A (en) Electronic game apparatus
US20220057892A1 (en) Information processing apparatus, information processing method, and recording medium
JPH06102993A (en) Instruction input device
JPH06230898A (en) Pen input device
JPH05143235A (en) Touch screen input system
JPH0561604A (en) Touch panel
JPS61131111A (en) Command input control system
JPH0713683A (en) Multiwindow display device
JPS60105034A (en) Input device of coordinate value
JPS6155728A (en) Coordinate input device
JPH08185269A (en) Document preparation device and cursor movement control method
JP3407309B2 (en) Coordinate input method and device
JPS59229680A (en) Input device of coordinate of outline
JPH01224824A (en) Tablet type mouse
JPS6378194A (en) Scroll display control circuit
JPH05204547A (en) Cursor position controller
JPH05265691A (en) Display device for data processor
JPH11203033A (en) Image input system using pen