Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5926052B2 - How to determine the position of a light pen on a CRT display - Google Patents
[go: Go Back, main page]

JPS5926052B2 - How to determine the position of a light pen on a CRT display - Google Patents

How to determine the position of a light pen on a CRT display

Info

Publication number
JPS5926052B2
JPS5926052B2 JP54151681A JP15168179A JPS5926052B2 JP S5926052 B2 JPS5926052 B2 JP S5926052B2 JP 54151681 A JP54151681 A JP 54151681A JP 15168179 A JP15168179 A JP 15168179A JP S5926052 B2 JPS5926052 B2 JP S5926052B2
Authority
JP
Japan
Prior art keywords
light pen
pulse
output
counter
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP54151681A
Other languages
Japanese (ja)
Other versions
JPS5674739A (en
Inventor
秀治 柳瀬
慶孝 大森
治 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP54151681A priority Critical patent/JPS5926052B2/en
Publication of JPS5674739A publication Critical patent/JPS5674739A/en
Publication of JPS5926052B2 publication Critical patent/JPS5926052B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)

Description

【発明の詳細な説明】 本発明はディジタルメモリに書込まれたデータに応じた
パターン表示を行うCRTディスプレイであって、CR
T画面にライトペンを対向させて、この対向部位に相当
するディジタルメモリのアドレスに所要データを書込み
得るようにしたものにおいて、CRT画面上でのライト
ペンの対向部位、換言すればパターン表示を行わせんと
するライトペン指示位置、即ちディジタルメモリについ
てみれば表示せんとするパターンのデータを書込むべき
エリヤのアドレスを決定する方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention is a CRT display that displays a pattern according to data written in a digital memory.
In a device in which a light pen is opposed to a CRT screen and required data can be written to an address in a digital memory corresponding to this opposed part, the part opposed to the light pen on the CRT screen, in other words, a pattern is displayed. In terms of the light pen pointing position to be displayed, that is, the digital memory, the present invention relates to a method of determining the address of the area where the data of the pattern to be displayed is to be written.

ライトペンは、CRT画面にこれを近接対向させること
により、対向部位に現れる走査線をフォトトランジスタ
等の光電変換素子にて光学的に検知し、これを光電変換
してパルス状の電気信号として出力するものであり、こ
の電気信号とCRTのビーム走査に関連する信号とに基
き、CRT画面上でのライトペンの対向部位、直接的に
は上記走査線のライトペンによる検知部位のCRT画面
での位置を認識させるために使用される。ライトペンが
感光検知し得る走査線のライン数は画面輝度、受光面の
面積にもよるが、その感度調整により飛越走査の1フィ
ールドにつき3〜10程度にすることができる。第4、
5図はライトペンの走査線検知範囲(円で示す)と複数
の走査線との位置関係図及びライトペンのパルス出力波
形図(但し時間軸は走査線が改まる都度変更されるよう
にして表わしてある)とを対比させて示したものである
。ライトペンは手に把持してCRT画面に近接対向させ
るものであるから、ある部位を狙つてCRT画面にこれ
を近接対向させたとしても、若干の位置ずれは避け得ず
、検知対象となつた走査線(ここでは5ライン)のうち
の最上側のもの(第1ライン)の検知範囲内に在る部分
の長さが第4図の如く長くなつたり、第5図の如く短く
なつたりする。而して一般的には第1ラインを検知して
得たラインペンのパルス出力g4を利用してライトペン
の対向部位を認識するようにしているので、ライトペン
の対向部位の画面垂直方向への僅かな位置ずれが水平方
向の大きな位置ずれとして拡大検知されることになり、
前述の如きCRTディスプレイにおいては所望する通り
のパターン表示を行わせ難いという難点があった。本発
明は斯かる事情に鑑みてなされたものであつて、CRT
画面に対するライトペンの近接対向部位の水平方向位置
を安定的に認識させ、所望通りのパターン表示を行わせ
ることを可能とするライトペン指示位置決定方法を提供
することを目的とする。
By placing the light pen close to a CRT screen, it optically detects the scanning line that appears on the opposite side using a photoelectric conversion element such as a phototransistor, converts it photoelectrically, and outputs it as a pulsed electrical signal. Based on this electric signal and a signal related to beam scanning of the CRT, the area on the CRT screen that is opposite to the light pen, or directly the area on the CRT screen where the scanning line is detected by the light pen, is detected. Used to recognize location. The number of scanning lines that can be sensitively detected by the light pen depends on the brightness of the screen and the area of the light-receiving surface, but by adjusting the sensitivity, it can be set to about 3 to 10 per field of interlaced scanning. Fourth,
Figure 5 shows the positional relationship between the light pen's scanning line detection range (indicated by a circle) and multiple scanning lines, and the light pen's pulse output waveform diagram (however, the time axis is shown so that it changes each time the scanning line changes). This is a comparison between the Since a light pen is held in the hand and held close to and facing the CRT screen, even if you aim at a certain area and hold the light pen close to the CRT screen, it is inevitable that the pen will be slightly misaligned and become a detection target. The length of the topmost line (first line) of the scanning lines (five lines in this case) within the detection range becomes longer as shown in Figure 4 or shorter as shown in Figure 5. . Generally, the pulse output g4 of the line pen obtained by detecting the first line is used to recognize the area facing the light pen, so that the area facing the light pen is detected in the vertical direction of the screen. A slight positional deviation will be magnified and detected as a large horizontal positional deviation.
The above-mentioned CRT display has a drawback in that it is difficult to display a desired pattern. The present invention has been made in view of such circumstances, and it
It is an object of the present invention to provide a light pen pointing position determination method that stably recognizes the horizontal position of a close opposing portion of a light pen with respect to a screen, and makes it possible to display a desired pattern.

本発明に係るライトペン指示位置決定方法は、CRT画
面に対向させたライトペンの出力に応じてデイジタルメ
モリに書込まれたデータに基いたパターン表示を行うC
RTデイスプレイにおいて、ライトペンは1フイールド
につき複数ラインの走査線を検知して夫々に対応するパ
ルス出力を得べく感度設定し、1フイールドにおけるラ
イトペンの2番目以後のパルス出力に基き、所要データ
を書込むべきデイジタルメモリのアドレスを決定するこ
とを特徴とする。
The light pen pointing position determining method according to the present invention is a CRT screen that displays a pattern based on data written in a digital memory in response to the output of a light pen facing a CRT screen.
In an RT display, the light pen detects multiple scanning lines per field and sets the sensitivity to obtain the corresponding pulse output for each line, and then calculates the required data based on the light pen's second and subsequent pulse outputs in one field. It is characterized by determining the address of the digital memory to be written to.

以下に本発明をその実施例を示す図面に基いて詳述する
The present invention will be explained in detail below based on drawings showing embodiments thereof.

第1図は本発明に係るCRTデイスブレイの要部を略示
するプロツク図、第2図イ〜ヌはその動作説明のための
タイムチヤート、第3図イ〜トはその一部を拡大して詳
細に示すタイムチヤートである。このCRTデイスブレ
イは、CRTl2の画面にライトペン13を近接対向さ
せ、これを移動させると、その移動軌跡に倣うパターン
がCRT画面に表示させるようにしたものであり、CR
T画面を黒板に、またライトペンをチヨークに見立てた
テレビ黒板システムと称すべきものである。
FIG. 1 is a block diagram schematically showing the main parts of the CRT display according to the present invention, FIG. This is a time chart showing details. In this CRT display, a light pen 13 is placed close to the screen of the CRTl2, and when the light pen 13 is moved, a pattern following the movement trajectory is displayed on the CRT screen.
This system can be called a television blackboard system in which the T-screen is used as a blackboard and the light pen is used as a chalkboard.

図において1は後述するカウンタークロツクdと同じか
又はそれよりも高周波の基本タロツクパルスを発する発
振回路であつて、該基本クロツクパルスは分周ゲート回
路2へ入力され、ここでCRT表示の1フイールドにつ
き1回の割合で現れる垂直同期パルスa〔第2図イ〕、
垂直同期パルスaの周期よりも短周期の水平同期パルス
b〔第2図口、第3図イ〕、垂直同期パルスaが現れて
いる間及びその前後の適数個の水平同期パルスbを除く
相隣水平同期パルスB,b間において各1回現れる適長
幅の表示期間パルスC〔第2図ハ、第3図口〕、該表示
期間パルスcが現れている間に現れるカウンタクロツク
d〔第2図二、第3図ハ〕、垂直同期パルスaの立上り
に同期して立下る、垂直同期パルスaよりも狭幅の書込
パルスe〔第2図ホ〕及び垂直同期パルスaの立下りに
同期して立下る狭幅のりセツトパルスf〔第2図へ〕が
作成される。垂直同期パルスaは垂直ドライブ回路3に
入力されて増幅され、また水平同期パルスbは、水平ド
ライブ回路4に入力されて増幅され、夫々CRTl2へ
与えられ、これらに同期するようにCRTl2のビーム
を走査する。
In the figure, reference numeral 1 denotes an oscillator circuit that generates a basic tarock pulse with a frequency equal to or higher than that of a counter clock d, which will be described later. Vertical synchronizing pulse a that appears at a rate of once [Figure 2 A],
Excluding the horizontal synchronizing pulse b whose period is shorter than the period of the vertical synchronizing pulse a [Fig. A display period pulse C of an appropriate length that appears once each between adjacent horizontal synchronizing pulses B and b (Fig. 2 c, Fig. 3 opening), and a counter clock d that appears while the display period pulse c appears. [Fig. 2 2, Fig. 3 C], a write pulse e falling in synchronization with the rising edge of the vertical synchronous pulse a, which has a narrower width than the vertical synchronous pulse a [Fig. 2 E], and the vertical synchronous pulse a. A narrow width set pulse f (see FIG. 2) which falls in synchronization with the falling edge is created. The vertical synchronizing pulse a is input to the vertical drive circuit 3 and amplified, and the horizontal synchronizing pulse b is input to the horizontal drive circuit 4 and amplified, and then applied to the CRT12, so that the beam of the CRT12 is synchronized with them. scan.

CRTl2は水平方向にm個の、また垂直方向にn個の
画素を有するが、前記カウンタクロツクdは水平方向の
各画素に対応するように、即ち表示期間パルス1個が現
れている間にm個のカウンタクロツクdが現れるように
してある。なおこのシステムは飛越走査を行うので1フ
イールドの間、即ち相隣する垂直同期パルスA,a間に
はn/2個の表示期間パルスcが現れる。換言すれば1
フイールドにつきn/2ラインの走査線が表示に与るこ
とになる。さて上記カウンタクロツクdは、CRTl2
に表示させるべきデータを記憶するデイジタルのメモリ
11に対し、データ読出の際のアドレスを与えるための
カウンタ8の計数端子には直接、またメモリ11に対し
データ書込の際のアドレスを与えるためのカウンタ9の
計数端子にはANDゲート7を介して入力されるように
してある。カウンタ8及び9は夫々カウンタクロツクd
及びゲート7を通過したクロツクd1即ちゲート7の出
力j〔第2図ヌ、第3図卜〕、を計数し、各計数値は夫
々読出アドレス、書込アドレスとしてセレクタ10経由
でメモリ11へ与えられる。そしてりセツトパルスfは
カウンタ8,9及び後述するN進カウンタ14のりセツ
ト端子へ入力されるようにしてあり、その入力により計
数値は零りセツトされるようにしてある。上記セレクタ
10には選択制御信号として表示期間パルスcが与えら
れるようにしてあり、このパルスcが入力されている間
はカウンタ8の計数値出力をセレクタ出力として選択し
、他の期間はカウンタ9の計数値出力をセレクタ出力と
して選択するようにしてある。書込パルスeはメモリに
対して書込イネーブル信号として与えられるようにして
あり、書込パルスeが与えられた時には、この時表示期
間パルスcが現れていないためにセレクタ10経由で与
えられるカウンタ9の計数値出力を書込アドレスとして
、そのアドレスのメモリエリヤに、図示していないデー
タを書込むようにしてある。このデ一夕は勿論2値デー
タであり、発光、減光の別、カラー表示の場合は色コー
ド等も含むように構成されている。而してこのシステム
では1フレームを同内容の2フイールドにて構成してあ
る。従つて相前後するフイールド間にてメモリ内容が書
換えられた場合は別として、各画素と、その上(叉は下
)に相隣する画素とは同一の表示となる。このような構
成としているのは一般的動画表示程の分解能を必要とし
ないことを利用してメモリ11の容量を節減する為であ
る。即ちメモリ11のアドレス数はMXn/2となる。
そして前述したように読出アドレス、書込アドレスは垂
直同期パルスaに同期するりセツトパルスfにて零りセ
ツトされ、その後水平同期パルスbに関連する表示期間
パルス1個につきm個現れるカウンタクロツクdを計数
するカウンタ8,9の計数値としているので、メモリ1
1のアドレス体系は水平アドレス及び垂直アドレスから
なる構成をとらず、1フイールドのCRT画面の左方か
ら右下へのCRTビームの走査軌跡に従う順序の画素番
号とメモリアドレスとが対応する構成としてある。従つ
て表示期間パルスcが現れている間においては、カウン
タ8の逐次更新されていく計数値に従い、メモリ11か
らは上記画素番号順にデータが読出され、このデータは
、該データと表示期間パルスcを2入力とするANDゲ
ート5を経てD/A(デイジタル/アナログ)変換回路
6に入力され、ここでアナログの映像信号に変換されて
CRTl2へ与えられ、各画素に対応する表示を行わせ
るようにしてある。一方、ライトペン13の走査線検知
出力は増幅回路17へ入力されて増幅された後、2値化
回路18にて波形整形された2値出力g〔第2図卜、第
3図二〕となる。
The CRT12 has m pixels in the horizontal direction and n pixels in the vertical direction, and the counter clock d is set so as to correspond to each pixel in the horizontal direction, that is, while one display period pulse appears. It is arranged so that m counter clocks d appear. Since this system performs interlaced scanning, n/2 display period pulses c appear during one field, that is, between adjacent vertical synchronizing pulses A and a. In other words, 1
n/2 scan lines per field will contribute to the display. Now, the above counter clock d is CRTl2
A digital memory 11 that stores data to be displayed is connected directly to the counting terminal of the counter 8 for giving an address when reading data, and also to a counting terminal for giving an address when writing data to the memory 11. The signal is inputted to the counting terminal of the counter 9 via an AND gate 7. Counters 8 and 9 each have a counter clock d
and the clock d1 that has passed through the gate 7, that is, the output j of the gate 7 [Fig. 2-2, Fig. 3-Fig. It will be done. The reset pulse f is input to the reset terminals of counters 8, 9 and an N-ary counter 14, which will be described later, and the counted value is set to zero by the input. The selector 10 is supplied with a display period pulse c as a selection control signal, and while this pulse c is being input, the count value output of the counter 8 is selected as the selector output, and during other periods, the count value output of the counter 8 is selected as the selector output. The count value output of is selected as the selector output. The write pulse e is given to the memory as a write enable signal, and when the write pulse e is given, since the display period pulse c has not appeared at this time, the counter given via the selector 10 The count value output of 9 is used as a write address, and data (not shown) is written into the memory area of that address. This data is of course binary data, and is configured to include whether it is emitted or dimmed, and in the case of color display, a color code. In this system, one frame consists of two fields with the same content. Therefore, except when the memory contents are rewritten between adjacent fields, each pixel and the adjacent pixel above (or below) it will have the same display. The reason for this configuration is to save the capacity of the memory 11 by taking advantage of the fact that the display does not require as much resolution as a general moving image display. That is, the number of addresses in the memory 11 is MXn/2.
As mentioned above, the read address and the write address are set to zero by the set pulse f in synchronization with the vertical synchronizing pulse a, and then the counter clock d appears m times for each display period pulse related to the horizontal synchronizing pulse b. is the count value of counters 8 and 9, so memory 1
The address system of No. 1 does not consist of horizontal addresses and vertical addresses, but has a structure in which pixel numbers and memory addresses correspond in order according to the scanning locus of the CRT beam from the left to the lower right of the CRT screen of one field. . Therefore, while the display period pulse c appears, data is read out from the memory 11 in the order of the pixel numbers according to the count value of the counter 8 that is updated successively, and this data is combined with the display period pulse c. The signal is input to a D/A (digital/analog) conversion circuit 6 via an AND gate 5 which has two inputs, where it is converted to an analog video signal and applied to the CRT 12, so that each pixel can display a corresponding image. It is set as. On the other hand, the scanning line detection output of the light pen 13 is input to the amplifier circuit 17 and amplified, and then waveform-shaped by the binarization circuit 18 as a binary output g [Fig. 2, Fig. 3, 2]. Become.

この出力gは直接ANDゲート15の一人力とすると共
にN進カウンタ14の計数端子へ入力するようにしてあ
る。そしてN進カウンタ14のキヤリ一出力を上記AN
Dゲート15の他人力としている。16はR−Sフリツ
ブフロツプであつて、そのセツト端子SにはANDゲー
ト15の出力h〔第2図チ、第3図ホ〕が入力され、ま
たりセツト端子Rには垂直同期パルスaが入力されるよ
うにしてある。
This output g is directly input to the AND gate 15 and is also input to the counting terminal of the N-ary counter 14. Then, the carrier output of the N-ary counter 14 is converted to the above AN.
I am using D Gate 15 as someone else's power. Reference numeral 16 denotes an R-S flip-flop, to which the output h of the AND gate 15 (FIG. 2 H, FIG. 3 H) is input to the set terminal S, and the vertical synchronizing pulse a is input to the set terminal R. It is designed so that it will be done.

そしてフリツプフロツブ16のQ出力〔第2図リ、第3
図へ〕はANDゲートモ刀するようにしてある。従つて
このANDゲート7の今一つの入力であるカウンタクロ
ツクdはQ出力1がハイレベルである間、換言すればフ
リツブフロツブ16がりセツトされている間、ANDゲ
ート7を通過し得、第2図ヌ、第3図卜に示す如き出力
jがANDゲート7から得られることになる。なおN進
カウンタ14のNの値は2より大きく、またライトペン
13で検知し得る走査線のライン数よりも小さくしてお
く必要がある。つまり上記ライン数とする場合は検知走
査線のうちの第1ラインに基いてライトペン指示位置を
決定するのと同様になるからであり、これは第4図、第
5図の第5ラインに相当するパルス出力G5の対比から
明らかである。一般的にはこのNの値はライトペン13
による検知走査線のライン数のκ程度に選択するのが適
当である。けだし円形のライトペン検知範囲の外縁(即
ち円周)と走査線との交点の、検知範囲の垂直方向変位
に伴う水平方向変位量は、中央に近い走査線のもの程少
いからである。従つて第4,5図の如く検知走査線のラ
イン数を5とするようにライトペン13の感度を定める
場合にはN=3とするのが好適である。さて本発明方法
は叙上の如き構成の回路により実施されるのであるが、
上述のようにライトペン13の検知走査線のライン数を
5とするようにその感度設定を行い、またN進カウンタ
14を3進カウンタとした場合における、メモリ11に
対するデータ書込の際の回路動作につき説明する。
And the Q output of the flip-flop 16 [Fig.
] is designed to function as an AND gate. Therefore, the counter clock d, which is another input of this AND gate 7, can pass through the AND gate 7 while the Q output 1 is at a high level, in other words, while the flipflop 16 is being set, as shown in FIG. An output j as shown in FIG. 3 is obtained from the AND gate 7. Note that the value of N in the N-ary counter 14 must be larger than 2 and smaller than the number of scanning lines that can be detected by the light pen 13. In other words, when using the above number of lines, it is the same as determining the light pen pointing position based on the first line of the detection scanning lines, and this is the same as determining the position indicated by the light pen based on the first line of the detection scanning lines. This is clear from the comparison of the corresponding pulse output G5. Generally, the value of this N is 13 for the light pen.
It is appropriate to select approximately κ of the number of detection scanning lines. This is because the amount of horizontal displacement of the intersection point between the outer edge (that is, the circumference) of the protruding circular light pen detection range and the scanning line accompanying the vertical displacement of the detection range is smaller as the scanning line is closer to the center. Therefore, when determining the sensitivity of the light pen 13 so that the number of detection scanning lines is 5 as shown in FIGS. 4 and 5, it is preferable to set N=3. Now, the method of the present invention is implemented by a circuit configured as described above,
The circuit for writing data to the memory 11 when the sensitivity is set so that the number of detection scanning lines of the light pen 13 is set to 5 as described above, and when the N-ary counter 14 is a ternary counter. The operation will be explained.

ライトペン13をCRT画面に近接対向させていない状
態下においてはそのパルス出力は得られないので、フリ
ツブフロツブ16はりセツト状態にあり、カウンタ9は
、この間の読出し、更には画像表示に与るカウンタ8と
同様の計数動作を行つている。然るところ、あるフイー
ルドにおいてCRT画面上の所望部位にライトペン13
を近接対向させるとやがてライトペンの対向部位の走査
線が5ライン検知させることになり、凡そ1H分離隔す
る5つのパルス出力が増幅回路17へ入力され、これに
対応する2値出力gが2値化回路18から得られること
になる。なおライトペンをCRT画面に対向させたタイ
ミングがそのフイールドにおける対向部位の走査線のタ
イミングより遅れた場合には、ライトペンのパルス出力
は次順のフイールドにて得られることになる。2値出力
gの5つのパルスはN進カウンタ14へ入力されるので
ライトペンの3番目のパルス出力に相当する2値出力g
の3番目のパルスが入力されるとこのN進カウンタ14
からハイレベルのキヤリ一信号が得られ、このキヤリ一
信号はANDゲート15へ入力されるから、ANDゲー
ト15へも入力されている2値出力gの3番目のパルス
が初めてこのゲート15を通過し得、この出力hにより
フリツプフロツプ16がセツトされ、Q出力1をローレ
ベルとしてカウンタクロツクd<7)ANDゲート7の
通過を禁じて、カウンタ9のカウントアツプを停止させ
る。
Since the pulse output cannot be obtained when the light pen 13 is not closely opposed to the CRT screen, the flip-flop 16 is in the set state, and the counter 9 is in the readout state during this time, and furthermore, the counter 8 is used for image display. The same counting operation is performed. However, in a certain field, the light pen 13 is placed at a desired location on the CRT screen.
When the light pens face each other in close proximity, five scanning lines will be detected at the opposing parts of the light pen, and five pulse outputs separated by approximately 1H will be input to the amplifier circuit 17, and the corresponding binary output g will be 2. It will be obtained from the value conversion circuit 18. Note that if the timing at which the light pen is opposed to the CRT screen is delayed from the timing of the scanning line at the opposing portion in that field, the pulse output of the light pen will be obtained in the next field. The five pulses of the binary output g are input to the N-ary counter 14, so the binary output g corresponds to the third pulse output of the light pen.
When the third pulse of
A high-level carry signal is obtained from , and this carry signal is input to the AND gate 15, so the third pulse of the binary output g, which is also input to the AND gate 15, passes through this gate 15 for the first time. This output h sets the flip-flop 16, sets the Q output 1 to low level, prohibits the counter clock d<7) from passing through the AND gate 7, and stops the counter 9 from counting up.

この時点でのカウンタ9の計数値は、ライトペンが走査
線を検知したフイールドに先立つ垂直同期パルスaにて
このカウンタ9がりセツトされ、その後最左上の画素に
ついての表示タイミングから各画素の表示タイミング毎
に次々と発せられ、ANDゲート7を通過したカウンタ
クロツクdの当該時点迄の数、換言すれば当該時点迄の
ANDゲート7の出力jの素パルス数となつているから
、この計数値は例えば第4図に示す5ラインの検知走査
線のうちの第3ラインとライトペン検知範囲の外縁との
交点又はその水平方向の左方近傍に位置する画素に割付
けられたメモリ11のアドレスとなつている。該計数値
は次のりセツトパルスfが入力される迄そのまま保持さ
れ、また該りセツトパルスfに先立つて書込パルスeが
メモリ11に与えられるから、この書込パルスeがメモ
リ11へ入力されたタイミングで別途メモリ11へ入力
されるデータが、セレクタ10経由で与えられるカウン
タ9の計数値を書込アドレスとして該当エリヤに書込ま
れることになる。従つて次のフイールドではこのアドレ
スに対応する上述の画素には新たに書込まれたデータに
応じた表示が行われることになる。そして上記書込パル
スeに関連する垂直同期パルスaの立下りに同期して得
られるりセツト信号fにてカウンタ9及びN進カウンタ
14は零りセツトされ、またこの垂直同期パルスaにて
フリツブフロツブ16はりセツトされ、該垂直パルスa
に続くフイールドでの計数に備えることになる。
The count value of the counter 9 at this point is reset by the vertical synchronizing pulse a that precedes the field in which the light pen detects the scanning line, and then the display timing of each pixel is changed from the display timing of the upper leftmost pixel. This count value is the number of pulses of the counter clock d that are emitted one after another and has passed through the AND gate 7 up to that point in time, in other words, it is the number of elementary pulses of the output j of the AND gate 7 up to that point in time. is, for example, the address of the memory 11 assigned to the pixel located at the intersection of the third line of the five detection scanning lines shown in FIG. 4 and the outer edge of the light pen detection range, or near the horizontal left side thereof. It's summery. The count value is held as it is until the next reset pulse f is input, and since the write pulse e is given to the memory 11 prior to the set pulse f, the timing when the write pulse e is input to the memory 11 is The data that is separately input to the memory 11 is written into the corresponding area using the count value of the counter 9 given via the selector 10 as the write address. Therefore, in the next field, the above-mentioned pixel corresponding to this address will be displayed in accordance with the newly written data. Then, the counter 9 and the N-ary counter 14 are set to zero by the set signal f obtained in synchronization with the fall of the vertical synchronizing pulse a related to the write pulse e, and the flipflop is set to zero by the vertical synchronizing pulse a. 16 is set, and the vertical pulse a
This will prepare for counting in the field that follows.

ライトペン13は所望パターンを描くようにCRT画面
に近接対向させつつ移動させて使用されるから、後続の
フイールドでもその移動に応じて検知される5ラインの
走査線のうちの第3ラインの走査線にて得られるパルス
出力に基き、ライトペン13の対向部位、換言すれば表
示内容を変更させるべき指示位置を決定し、これによつ
てメモリ11の指示位置の画素に対応するアドレスのメ
モリ内容を書換えていき、豐換に応じた表示が追従実行
されていくことになる。以上詳述した如く本発明におい
ては、1フイールドにおけるライトペンの最初のパルス
出力に依らず、2番目以後のパルス出力に基き所要デー
タを書込むべきデイジタルメモリのアドレスを決定する
こととしているので、ライトペンの垂直方向への僅かな
変動により、ライトペン指示位置の水平方向座標が大き
く変動するという不都合が解消される。
Since the light pen 13 is used by moving it close to and facing the CRT screen so as to draw a desired pattern, the third line of the five scanning lines detected in the subsequent field is also detected as it moves. Based on the pulse output obtained from the line, the opposing part of the light pen 13, in other words, the indicated position where the display content should be changed is determined, and thereby the memory content of the address corresponding to the pixel at the indicated position in the memory 11 is determined. will be rewritten, and the display will be executed according to the change. As detailed above, in the present invention, the address of the digital memory where the required data is to be written is determined based on the second and subsequent pulse outputs, not depending on the first pulse output of the light pen in one field. This eliminates the inconvenience that the horizontal coordinates of the position indicated by the light pen vary greatly due to a slight variation of the light pen in the vertical direction.

従つて例えばCRT画面に横線を表示させるべくライト
ペンを水平移動させるような場合にライトペンが多少垂
直方向にふらついたとしても、このふらつきが拡大され
た凹凸の多い横線とはならず、滑らかな横線が表示され
ることになる。また2フイールドで1フレームを構成す
る飛越走査の場合にはライトペン指示位置が一定不動で
あつても検知走査線の位置は相前後するフイールド毎に
上下に僅かずつ異ることになり、夫々の第1ラインとラ
イトペン検知範囲外縁との交点はフイールド毎に水平方
向に大きく変化することになるが、上記実施例の如く1
フイールド分のデータにて1フレームを構成すべく、上
下に相隣する画素には同アドレスのデータを表示させる
ようにしたシステムにおいて第1ラインによるライトペ
ンのパルス出力に基きライトペン指示位置を認識し、又
は書込アドレスを決定することとするときは上述の水平
方向の大きな変化の影響が拡大され、例えば縦線を表示
させるべく定規をCRT画面に当てて、ライトペンを直
線移動させたとしても若干の水平方向の凹凸が現れるこ
とを避け得ないのであるが、本発明による場合はこのよ
うな不都合も解消される。このように本発明による場合
は無用の凹凸の存在しない美麗なパターンをライトペン
出力にて表示させ得るCRTデイスブレイを実現するこ
とが可能になる。
Therefore, even if the light pen wobbles slightly in the vertical direction when moving the light pen horizontally to display a horizontal line on a CRT screen, this wobbling will not be magnified into an uneven horizontal line, but rather a smooth horizontal line. A horizontal line will appear. In addition, in the case of interlaced scanning in which one frame is composed of two fields, even if the light pen indication position remains constant, the position of the detection scanning line will differ slightly vertically for each successive field, and each The intersection point between the first line and the outer edge of the light pen detection range changes greatly in the horizontal direction for each field, but as in the above example,
In a system that displays data at the same address in vertically adjacent pixels so that one frame is composed of field data, the light pen instruction position is recognized based on the light pen pulse output from the first line. However, when determining the write address, the effect of the large change in the horizontal direction mentioned above is magnified. For example, if you place a ruler on the CRT screen to display a vertical line and move the light pen in a straight line, However, in the case of the present invention, such inconvenience can be eliminated. As described above, according to the present invention, it is possible to realize a CRT display capable of displaying a beautiful pattern without unnecessary unevenness using light pen output.

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

図面は本発明の実施例を示すものであつて、第1図は本
発明方法を実施する為の回路構成を備えたCRTデイス
プレイ要部を略示するプロツク図、第2図イ〜ヌはその
動作説明のためのタイムチヤート、第3図イ〜トはその
一部を拡大して示すタイムチヤート、第4図、第5図は
走査線とライトペンによるその検知範囲との位置関係図
及びライトペンのパルス出力波形図とを対比図示した説
明図である。 8,9・・・・・・カウンタ、11・・・・・・メモリ
、12・・・・・・CRT,l3・・・・・・ライトペ
ン、14・・・・・・N進カウンタ、16・・・・・・
フリツブフロツブ。
The drawings show an embodiment of the present invention, and FIG. 1 is a block diagram schematically showing the main part of a CRT display equipped with a circuit configuration for carrying out the method of the present invention, and FIG. A time chart for explaining the operation; Figures 3 and 3 are enlarged time charts showing a portion of the time chart; Figures 4 and 5 are diagrams of the positional relationship between the scanning line and its detection range by a light pen, and the light It is an explanatory diagram showing a comparison diagram with a pulse output waveform diagram of a pen. 8, 9...Counter, 11...Memory, 12...CRT, l3...Light pen, 14...N-ary counter, 16...
Fritzbufrotzub.

Claims (1)

【特許請求の範囲】[Claims] 1 CRT画面に対向させたライトペンの出力に応じて
ディジタルメモリに書込まれたデータに基いたパターン
表示を行うCRTディスプレイにおいて、ライトペンは
1フィールドにつき複数ラインの走査線を検知して夫々
に対応するパルス出力を得べく感度設定し、1フィール
ドにおけるライトペンの2番目以後のパルス出力に基き
、所要データを書込むべきディジタルメモリのアドレス
を決定することを特徴とするライトペン指示位置決定方
法。
1 In a CRT display that displays a pattern based on data written in digital memory in response to the output of a light pen facing the CRT screen, the light pen detects multiple scanning lines per field and displays each A light pen pointing position determination method characterized by setting the sensitivity to obtain a corresponding pulse output, and determining the address of a digital memory where required data is to be written based on the second and subsequent pulse outputs of the light pen in one field. .
JP54151681A 1979-11-21 1979-11-21 How to determine the position of a light pen on a CRT display Expired JPS5926052B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54151681A JPS5926052B2 (en) 1979-11-21 1979-11-21 How to determine the position of a light pen on a CRT display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54151681A JPS5926052B2 (en) 1979-11-21 1979-11-21 How to determine the position of a light pen on a CRT display

Publications (2)

Publication Number Publication Date
JPS5674739A JPS5674739A (en) 1981-06-20
JPS5926052B2 true JPS5926052B2 (en) 1984-06-23

Family

ID=15523922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54151681A Expired JPS5926052B2 (en) 1979-11-21 1979-11-21 How to determine the position of a light pen on a CRT display

Country Status (1)

Country Link
JP (1) JPS5926052B2 (en)

Also Published As

Publication number Publication date
JPS5674739A (en) 1981-06-20

Similar Documents

Publication Publication Date Title
KR920003725B1 (en) Convergence Device
AU603643B2 (en) Method and apparatus for isolating and manipulating graphic objects on computer video monitor
US5136283A (en) Apparatus for timing races
JPS6244752B2 (en)
JPH04104684A (en) Method and device for automatic visual field adjustment
CA1071782A (en) Iterative coordinate data approximation system for photoemissive pixel pattern displays
JPS5926052B2 (en) How to determine the position of a light pen on a CRT display
CN118447064A (en) Dual-light image display method, device, equipment and medium
JPS5911933B2 (en) Method for detecting light pen pointing position in video display device
JPS6213174A (en) Television receiver
JPS638486B2 (en)
JPS6322593B2 (en)
JPH0934409A (en) Liquid crystal display device with zoom function
JPH033571A (en) Blurring correction device
JPS61258582A (en) Tv receiver
SU1265756A1 (en) Device for information output from screen of cathode-ray tube
SU1606993A1 (en) Clocking device for raster display
JPS61258579A (en) Television receiver
RU1793559C (en) Device for forming brightening permission signals
JPS60157624A (en) Detecting method of light pen indication position of video display device
JP2566462B2 (en) Electronic surveying instrument
JPS5961879A (en) Field memory reading controller
JPS60182883A (en) Enlargement/display system of picture
SU963013A1 (en) Device for forming scanning spot at reading-out graphic information
JPS63242069A (en) Video signal processing circuit