JPH0447329B2 - - Google Patents
Info
- Publication number
- JPH0447329B2 JPH0447329B2 JP61201655A JP20165586A JPH0447329B2 JP H0447329 B2 JPH0447329 B2 JP H0447329B2 JP 61201655 A JP61201655 A JP 61201655A JP 20165586 A JP20165586 A JP 20165586A JP H0447329 B2 JPH0447329 B2 JP H0447329B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- character position
- horizontal
- light
- value
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 59
- 238000000034 method Methods 0.000 description 22
- 238000009125 cardiac resynchronization therapy Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 3
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 3
- 239000011521 glass Substances 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
Landscapes
- Position Input By Displaying (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はCRT表示装置のライトペンによる表
示位置検出装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a display position detection device using a light pen for a CRT display device.
ライトペンを用いた表示位置検出装置は、例え
ば「ライトペン取扱説明書」(日立製作所発行昭
和54年5月発行)に述べられたものがある。第2
図はこの従来のCRT表示装置のライトペンによ
る文字位置検出装置の構成を示したものである。
同図に於て、リフレツシユメモリ20には表示装
置50に表示すべきデータを記憶してあり、タイ
ミング発生回路70からの信号により絶えず読み
出されている。読み出されたデータはパターン発
生器30に送られ、文字または図形のドツトパタ
ーンに展開され、ビデオ信号発生回路40へ送ら
れる。ビデオ信号発生回路40からビデオ信号が
表示装置50へ送られてCRT上に文字または図
形が表示される。ライトペン60にはスイツチ6
5が付けられており、ライトペンをCRT管面に
押し当てるとこのスイツチ65がオンとなる。そ
うするとグリツド制御回路80はグリツド信号8
5をビデオ信号発生回路40に送り、光検出用グ
リツドが表示装置50のCRT上に表示される。
垂直文字位置カウンタ90はタイミング信号発生
回路70からの信号を受けて走査線の垂直文字位
置を計数し、その値を垂直文字位置ラツチレジス
タ110へ送出する。垂直文字位置カウンタ90
は走査線が画面を1回走査する毎にリセツト信号
72によりリセツトされる。水平文字位置カウン
タ100はタイミング信号発生回路70からの信
号を受けて走査線の水平文字位置を計数し、その
値を垂平文字位置ラツチレジスタ120へ送出す
る。水平文字位置カウンタ100は走査線が画面
の右端へ来る毎にリセツト信号74によりリセツ
トされる。ライトペン60は、光検出用グリツド
を検出すると光検出信号68を垂直文字位置ラツ
チレジスタ110、水平文字位置ラツチレジスタ
120及び処理装置140へ送出する。垂直文字
位置ラツチレジスタ110及び水平文字位置ラツ
チレジスタ120は、光検出信号68を受取ると
それぞれ垂直文字位置カウンタ90及び水平文字
位置カウンタ100の値をラツチする。従つて垂
直文字位置ラツチレジスタ110には、ライトペ
ンが光検出用グリツトを検出した時の垂直文字位
置が記憶され、水平文字位置カウンタ100に
は、ライトペンが光検出用グリツドを検出した時
の水平文字位置が記憶される。処理装置140は
光検出信号68を受取るとアドレスバス150へ
アドレス信号を送り、これを受けたアドレスデコ
ーダ10はデコード信号12を垂直文字位置ラツ
チレジスタ110へ送る。垂直文字位置ラツチレ
ジスタ110はデコード信号12を受取ると垂直
文字位置の値をデータバス130へオンバスす
る。処理装置140はデータバス130を介して
垂直文字位置の値を読み取る。次に処理装置14
0はアドレスバス150へアドレス信号を送りア
ドレスデコーダ10はデコード信号14を水平文
字位置ラツチレジスタ120へ送る。水平文字位
置ラツチレジスタはデコード信号14を受取ると
水平文字位置の値をデータバス130へオンバス
する。処理装置140はデータバス130を介し
て水平文字位置の値を読み取る。このように垂直
及び水平文字位置を読み取ることで文字位置の検
出を行つていた。
A display position detection device using a light pen is described, for example, in "Light Pen Instruction Manual" (published by Hitachi, Ltd., May 1978). Second
The figure shows the configuration of a character position detection device using a light pen of this conventional CRT display device.
In the figure, a refresh memory 20 stores data to be displayed on a display device 50, and is constantly read out by signals from a timing generation circuit 70. The read data is sent to a pattern generator 30, developed into a character or graphic dot pattern, and sent to a video signal generation circuit 40. A video signal is sent from the video signal generation circuit 40 to the display device 50, and characters or graphics are displayed on the CRT. Switch 6 for light pen 60
5 is attached, and when the light pen is pressed against the CRT tube surface, this switch 65 is turned on. Then, the grid control circuit 80 outputs the grid signal 8
5 is sent to the video signal generation circuit 40, and the photodetection grid is displayed on the CRT of the display device 50.
Vertical character position counter 90 receives a signal from timing signal generating circuit 70, counts the vertical character position of the scanning line, and sends the value to vertical character position latch register 110. Vertical character position counter 90
is reset by a reset signal 72 every time the scanning line scans the screen once. Horizontal character position counter 100 receives a signal from timing signal generating circuit 70, counts horizontal character positions on a scanning line, and sends the value to vertical character position latch register 120. Horizontal character position counter 100 is reset by reset signal 74 each time a scan line reaches the right edge of the screen. When light pen 60 detects the light detection grid, it sends a light detection signal 68 to vertical character position latch register 110, horizontal character position latch register 120, and processing unit 140. Vertical character position latch register 110 and horizontal character position latch register 120 latch the values of vertical character position counter 90 and horizontal character position counter 100, respectively, upon receiving photodetection signal 68. Therefore, the vertical character position latch register 110 stores the vertical character position when the light pen detects the light detection grid, and the horizontal character position counter 100 stores the vertical character position when the light pen detects the light detection grid. Horizontal character position is stored. When processor 140 receives photodetection signal 68, it sends an address signal to address bus 150, which causes address decoder 10 to send a decoded signal 12 to vertical character position latch register 110. Vertical character position latch register 110 busses the vertical character position value onto data bus 130 upon receiving decode signal 12. Processor 140 reads the vertical character position value via data bus 130. Next, the processing device 14
0 sends an address signal to address bus 150 and address decoder 10 sends a decode signal 14 to horizontal character position latch register 120. The horizontal character position latch register busses the horizontal character position value onto data bus 130 upon receiving decode signal 14. Processor 140 reads the horizontal character position value via data bus 130. In this way, character positions were detected by reading the vertical and horizontal character positions.
第3図はライトペンの受光口と螢光面の位置関
係を示したものである。近年−画面約6千文字以
上表示可能な高精細度CRTが実用化されてきて
いるが、ブラウン管の発光輝度及びライトペンの
フオトダイオードの感度との関係から、受光口は
最低2mmφ(受光角30°)が必要である。一方ブラ
ウン管ガラス面の厚さは10〜18mmあることから螢
光面では光検出エリアは約10mmφ、3×3文字相
当のエリアとなる。
FIG. 3 shows the positional relationship between the light receiving port and the fluorescent surface of the light pen. In recent years, high-definition CRTs capable of displaying approximately 6,000 characters or more have been put into practical use, but due to the relationship between the luminance of the cathode ray tube and the sensitivity of the light pen's photodiode, the light receiving aperture must be at least 2 mmφ (receiving angle 30 mm). °) is required. On the other hand, since the thickness of the cathode ray tube glass surface is 10 to 18 mm, the light detection area on the fluorescent surface is approximately 10 mmφ, an area equivalent to 3×3 characters.
第4図は螢光面上の表示文字とライトペンの光
検出エリアの関係を示したものである。グリツド
は垂直方向の検出精度を上げるため文字の中心付
近のみに出る様にするのが一般的である。ところ
が点P1でライトペンが光を検出した場合は、光
検出の座標は(x+1、y)となり、点P2でラ
イトペンが光を検出した場合は、光検出の座標は
(x、y+1)となる。さらに点P3では(x、y
+2)、点P4では(x+1、y+3)となり、む
ろんこれらの点P1、P2、P3、P4は一致しない。
しかもライトペンが点P1からP4のうちどこで光
を検出するかは全く偶然による。但し各点の座標
は、たてよことも1文字間隔を1として表した値
である。このように、従来技術では、ブラウン管
ガラス面の厚みによる光検出エリアの広がりを考
慮していなかつたため、特に一画面約6千文字以
上表示可能な高精細度CRTに対しては正確な文
字位置の検出ができないという問題があつた。 FIG. 4 shows the relationship between the displayed characters on the fluorescent surface and the light detection area of the light pen. In order to increase the detection accuracy in the vertical direction, it is common for the grid to appear only near the center of the character. However, if the light pen detects light at point P1, the coordinates of light detection will be (x+1, y), and if the light pen detects light at point P2, the coordinates of light detection will be (x, y+1). Become. Furthermore, at point P3 (x, y
+2), and (x+1, y+3) at point P4, and of course these points P1, P2, P3, and P4 do not match.
Moreover, where the light pen detects light among points P1 to P4 is entirely due to chance. However, the coordinates of each point are values expressed with the length and width as one character interval. In this way, the conventional technology does not take into account the spread of the light detection area due to the thickness of the cathode ray tube glass surface, so it is difficult to accurately determine the position of characters, especially for high-definition CRTs that can display more than 6,000 characters on a single screen. There was a problem that it could not be detected.
本発明の目的は、前記した従来の欠点を除去
し、高精細度CRTの場合でも一文字単位の正確
な文字位置検出を行える表示位置検出装置を提供
するにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a display position detection device that eliminates the above-mentioned conventional drawbacks and can accurately detect character positions on a character-by-character basis even in the case of a high-definition CRT.
上記目的は、ライトペンが検出したグリツドの
長さを複数回観測することによつてその最大値を
検出する手段と、該手段によつて検出した最大グ
リツド長を用いて前記カウンタにより計数され検
出された位置座標を補正する補正手段とを設ける
ことにより達成される。
The above purpose is to provide a means for detecting the maximum value by observing the length of the grid detected by the light pen multiple times, and for counting and detecting the grid by the counter using the maximum grid length detected by the means. This is achieved by providing a correction means for correcting the position coordinates.
グリツドの長さは、ライトペンが光検出を行つ
ている間のドツククロツクの数をカウントするこ
とにより計れる。このグリツドの長さを複数回測
定し、その内の最も長いグリツド長を最大幅レジ
スタに記憶すると、これはライトペン光検出エリ
アの最も中心に近いグリツドの長さと考えられ、
従つてこれはライトペン光検出エリアの直径に近
い値と考えることができる。そこでこの半分、つ
まりライトペン光検出エリアの半径の近似値をラ
イトペンが検出した水平文字位置に加算すること
により、ライトペン光検出エリアの中心の座標を
求めることができる。
The length of the grid is measured by counting the number of clocks while the light pen is detecting light. If we measure the length of this grid multiple times and store the longest grid length in the maximum width register, we can think of this as the length of the grid closest to the center of the light pen light detection area.
Therefore, this can be considered to be a value close to the diameter of the light pen light detection area. Therefore, by adding half of this value, that is, an approximate value of the radius of the light pen light detection area, to the horizontal character position detected by the light pen, the coordinates of the center of the light pen light detection area can be determined.
以下、本発明の一実施例を詳細に説明する。第
5図は本発明の一実施例を示すブロツク図であ
り、従来方式を示す第2図に対し補正回路160
が追加されている。この補正回路160以外の部
分の動作は第2図の場合と同じであつて、ライト
ペンをCRT管面に押し当てることにより光検出
用グリツドが表示装置50のCRT上に表示され
る。垂直文字位置カウンタ90及び水平文字位置
カウンタ100はその時点の走査線の垂直及び水
平文字位置を計数しており、ライトペン60の光
検出用グリツドを最初に検出したタイミングでこ
れらカウンタ90,100の計数値は垂直文字位
置ラツチレジスタ110及び水平文字位置ラツチ
レジスタ120にラツチされる。更に本実施例で
は、ライトペン60による光検出用グリツドの検
出信号68は補正回路160へも印加される。
Hereinafter, one embodiment of the present invention will be described in detail. FIG. 5 is a block diagram showing one embodiment of the present invention, in which the correction circuit 160 is
has been added. The operations of the parts other than the correction circuit 160 are the same as those shown in FIG. 2, and a light detection grid is displayed on the CRT of the display device 50 by pressing a light pen against the CRT tube surface. The vertical character position counter 90 and the horizontal character position counter 100 count the vertical and horizontal character positions of the scanning line at that time, and these counters 90 and 100 are counted at the timing when the light detection grid of the light pen 60 is first detected. The count value is latched into the vertical character position latch register 110 and the horizontal character position latch register 120. Furthermore, in this embodiment, the light detection grid detection signal 68 from the light pen 60 is also applied to the correction circuit 160.
第6図は補正回路160の詳細な実施例を示す
ブロツク図で、この中のカウンタ16020及び16030
の真理値表を第7図に、ラツチレジスタ16040及
び16050の真理値表を第8図に示す。但しこれら
の図でHはハイレベル、Lはローレベル、Xは任
意、↑はローレベルからハイレベルへの立上り、
Q0は前の状態のままであること、Zはハイイン
ピーダンス状態を表わしている。 FIG. 6 is a block diagram showing a detailed embodiment of the correction circuit 160, in which counters 16020 and 16030
The truth table for latch registers 16040 and 16050 is shown in FIG. However, in these figures, H is high level, L is low level, X is arbitrary, ↑ is the rise from low level to high level,
Q 0 represents the previous state, and Z represents the high impedance state.
第6図に於て、光検出信号68はライトペンが
光検出用グリツドを検出している間、ローレベル
となる信号である。従つてライトペンが光を検出
していないときは光検出信号68はハイレベルで
あつて、これをインバーター16010によつて反転
したローレベルの信号がカウンタ16020、16030の
CLR端子に入力されるから両カウンタとも出力
値は0である。ライトペンが光を検出し光検出信
号68がローレベルになると、カウンタ16020の
EP、ET、CRT端子及びカウンタ16030のEP、
CLR端子がハイレベルとなり、まずカウンタ
16020がドツトクロツク信号72のカウントを開
始する。ライトペンが光検出を終り光検出信号6
8がハイレベルになるまでカウントは続けられ
る。このカウンタ16020が途中でカウントアツプ
アツプした時はそのRCO端子がハイレベルとな
つて、カウンタ16030がカウントを行う。このよ
うにして、第9図のカウンタ(16020、16030)出
力信号として表わしたように、両カウンタは光検
出信号68が何ドツト分の長さに相当するかをカ
ウントする。ドツトクロツク72と文字との関係
は第10図に例示されており、同図では1文字の
横方向のドツト数は13ドツトである。そして第9
図のカウンタ出力信号は、光検出信号68が8ド
ツトに相当した場合を示している。 In FIG. 6, the light detection signal 68 is a low level signal while the light pen is detecting the light detection grid. Therefore, when the light pen is not detecting light, the light detection signal 68 is high level, and the low level signal which is inverted by the inverter 16010 is sent to the counters 16020 and 16030.
Since it is input to the CLR terminal, the output value of both counters is 0. When the light pen detects light and the light detection signal 68 becomes low level, the counter 16020
EP, ET, CRT terminal and counter 16030 EP,
The CLR pin becomes high level, and first the counter
16020 starts counting the dot clock signal 72. Light pen finishes light detection and light detection signal 6
Counting continues until 8 becomes a high level. When this counter 16020 counts up midway, its RCO terminal becomes high level, and the counter 16030 starts counting. In this way, both counters count how many dots the length of the photodetection signal 68 corresponds to, as shown by the output signals of the counters (16020, 16030) in FIG. The relationship between the dot clock 72 and characters is illustrated in FIG. 10, where one character has 13 dots in the horizontal direction. and the ninth
The counter output signal in the figure shows the case where the photodetection signal 68 corresponds to 8 dots.
これらのカウンタの計数値は、ライトペンの光
検出が終つて光検出信号68がハイレベルへと変
化した時に光検出幅レジスタ16040へラツチされ
る(第8図、第9図参照)。 The counts of these counters are latched into the light detection width register 16040 when the light detection signal 68 changes to a high level after light detection of the light pen is completed (see FIGS. 8 and 9).
一方第6図に於てキヤラクタクロツク信号74
はキヤラクタクロツクラツチレジスタ16050へ入
力される。このキヤラクタクロツク信号74は、
第10図のように文字の左半分ではローレベルと
なり、右半分ではハイレベルとなり、これらライ
トペン60が光を最初に検出して光検出信号68
がハイレベルからローレベルへ変化した時にこれ
がラツチ信号16015となつてラツチレジスタ16050
へラツチされる。従つてキヤラクタクロツクラツ
チレジスタ16050には、ライトペンが光を最初に
検出した時点で検出位置が文字の左側にある場合
はローレベル、文字の右側にある場合はハイレベ
ルを記憶する。これらのキヤラクタクロツク信号
74、キヤラクタクロツクラツチ信号16015、ラ
ツチレジスタのタイミングは第9図に示されてい
る。 On the other hand, in FIG.
is input to the character clock clutch register 16050. This character clock signal 74 is
As shown in FIG. 10, the left half of the character is at a low level, and the right half is at a high level, and these light pens 60 detect light first and the light detection signal 68
When changes from high level to low level, this becomes the latch signal 16015 and the latch register 16050
Being beaten up. Therefore, the character clock clutch register 16050 stores a low level if the detection position is on the left side of the character when the light pen first detects light, and a high level if the detection position is on the right side of the character. The timing of these character clock signals 74, character clock latch signals 16015, and latch registers are shown in FIG.
以上のようにして、ライトペン60が光検出を
終つた時には垂直文字位置ラツチレジスタ11
0、水平文字位置ラツチレジスタ120、及び補
正回路140内の光検出幅レジスタ16040、キヤ
ラクタクロツクラツチレジスタ16050への各デー
タのラツチはすべて終了しているが、このときの
光検出信号68の立上りによつて処理装置140
が起動され、本発明の特徴とする第1図のプログ
ラム処理が開始される。この処理では、まず処理
10及び20により垂直文字位置ラツチレジスタ11
0及び水平文字位置ラツチレジスタ120の読み
取りが行われる。次に処理30により光検出幅レジ
スタ16040及びキヤラクタクロツクラツチレジス
タ16050の読取りを行う。これは第6図のデコー
ド信号18をローレベルにすることにより、デー
タバス130を介して処理装置140がデータを
読取ることにより実行される。次に処理40により
第6図の最大幅レジスタ16064の読取りを行う。
この最大幅レジスタ16040はRAM(Random
Access Memory)16060内の1バイトのレジス
タであり、図では省略したが初期値として0を設
定しておく。この読取りはR/W信号144をロー
レベル、かつデコード信号16をローレベルにす
ることにより実行される。次に処理50により光検
出幅レジスタ16040の値が最大幅レジスタ16064の
値より大かどうかを判定し、大であれば処理60に
より光検出幅レジスタ16040の値を最大幅レジス
タ16064へ移し、等しいかまたは小であれば処理
70を実行する。処理70では減算カウンタ16062へ
初期値を書込む。この書込みはR/W信号144
をハイレベルかつデコード信号16をローレベル
にすることにより実行される。この初期値は、光
検出割込による処理を何回実施するかを決めるた
めに用いるもので本実施例では10とする。処理
80では減算カウンタより1減算し、この結果が0
より大かを判定し大であれば処理90の次の光検出
信号待ちを実行し、0となつた場合は処理100を
実行する。処理90は、ライトペンが次のグリツド
を検出し光検出信号が入つてくるのを待つ処理で
ある。そしてライトペンが次のグリツドを検出し
光検出信号が入つた場合は、処理の先頭すなわち
処理10から再び実行される。本実施例では減算カ
ウンタ16062の初期値を10と設定したため、処理
10から90が10回実行され、グリツドの長さを10回
測定し最も長いものが最大値レジスタ16064へ記
憶されることになる。例えば第10図はライトペ
ンにより検出される表示面の例を示しており、こ
の場合は長さG1、G2、G3を持つグリツドがあ
る。これを減算カウンタへの設定数だけくり返し
検出してその最大値を求めれば、最大長G2が最
大幅レジスタ16064へ記憶され、処理100へ進む。
処理100ではキヤラクタクロツクラツチレジスタ
16050の値が0かどうかを判定する。これは光検
出位置が1文字の左半分にあるか右半分にあるか
を判定するものである。キヤラクタクロツクラツ
チレジスタ16050の値が0、すなわち光検出位置
が1文字の左半分にある場合は処理110が実行さ
れ、1すなわち光検出信号が1文字の右半分にあ
る場合は処理120が実行される。 As described above, when the light pen 60 finishes detecting light, the vertical character position latch register 11
0, the horizontal character position latch register 120, the photodetection width register 16040 in the correction circuit 140, and the character clock latch register 16050 have all been latched, but the rising edge of the photodetection signal 68 at this time Processing device 140 by
is activated, and the program processing shown in FIG. 1, which is a feature of the present invention, is started. In this process, first
Vertical character position latch register 11 by 10 and 20
0 and the horizontal character position latch register 120 is read. Next, in process 30, the light detection width register 16040 and the character clock clutch register 16050 are read. This is performed by causing the processing unit 140 to read data via the data bus 130 by setting the decode signal 18 in FIG. 6 to a low level. Next, in process 40, the maximum width register 16064 in FIG. 6 is read.
This maximum width register 16040 is RAM (Random
This is a 1-byte register in the Access Memory) 16060, and although it is omitted in the figure, it is set to 0 as an initial value. This reading is performed by setting the R/W signal 144 to a low level and the decode signal 16 to a low level. Next, in process 50, it is determined whether the value of the photodetection width register 16040 is larger than the value of the maximum width register 16064, and if it is, in process 60, the value of the photodetection width register 16040 is moved to the maximum width register 16064, and the value is equal to or small, process
Run 70. In process 70, an initial value is written to the subtraction counter 16062. This writing is performed by the R/W signal 144.
This is executed by setting the signal to high level and the decode signal 16 to low level. This initial value is used to determine how many times the photodetection interrupt processing is to be performed, and is set to 10 in this embodiment. process
At 80, 1 is subtracted from the subtraction counter, and this result is 0.
It is determined whether the light detection signal is larger than that, and if it is larger, processing 90 is executed to wait for the next photodetection signal, and if it becomes 0, processing 100 is executed. Process 90 is a process in which the light pen detects the next grid and waits for an incoming light detection signal. When the light pen detects the next grid and a light detection signal is received, the process is executed again from the beginning of the process, that is, process 10. In this example, the initial value of the subtraction counter 16062 is set to 10, so the processing
10 to 90 will be executed 10 times and the length of the grid will be measured 10 times and the longest one will be stored in the maximum value register 16064. For example, FIG. 10 shows an example of a display surface detected by a light pen, where there is a grid with lengths G1, G2, and G3. If this is detected repeatedly as many times as the number set in the subtraction counter and the maximum value is determined, the maximum length G2 is stored in the maximum width register 16064, and the process proceeds to process 100.
In processing 100, the character clock clutch register
Determine whether the value of 16050 is 0. This is to determine whether the light detection position is on the left half or the right half of one character. If the value of the character clock clutch register 16050 is 0, that is, the light detection position is in the left half of one character, process 110 is executed, and if it is 1, that is, the light detection signal is in the right half of one character, process 120 is executed. be done.
この処理110又は120は水平文字位置の補正を行
うものである。第11図の場合、グリツド長が最
大値G2になつた点P2の垂直位置y+1はライト
ペン光検出エリアの中心を通るので、この値y+
1をそのまま検出位置とすればよい。しかし水平
位置の値xは点P2のx座標であるからライトペ
ン光検出エリアの中心位置を検出位置とするには
補正が必要になる。そこで、点P2が1つの文字
わくの左半分にある時はレジスタ16050の値が0
で、この時は処理110にて
〔水平文字位置〕=〔ラツチレジスタ120の読み取り値
〕
+1/2〔最大幅レジスタの値(G2)〕/〔1文字の
横方向ドツト数〕……(1)
とし、点P2が同じく右半分にある時はレジスタ
16050の値が1で、この時は処理120にて上記式(1)
の右辺に1を加えた値を水平文字位置として算出
する。但し1文字の横方向ドツト数での除算は、
文字位置を前述のように1文字単位で表している
ためである。 This process 110 or 120 is for correcting the horizontal character position. In the case of Fig. 11, the vertical position y+1 of point P2 where the grid length reaches the maximum value G2 passes through the center of the light pen light detection area, so this value y+1
1 may be used as the detection position. However, since the horizontal position value x is the x coordinate of point P2, correction is required to set the center position of the light pen light detection area as the detection position. Therefore, when point P2 is on the left half of one character frame, the value of register 16050 is 0.
In this case, in process 110, [horizontal character position] = [read value of latch register 120] + 1/2 [value of maximum width register (G2)] / [number of horizontal dots in one character] ... (1 ), and when point P2 is also in the right half, register
If the value of 16050 is 1, in this case, the above formula (1) is executed in process 120.
The value obtained by adding 1 to the right side of is calculated as the horizontal character position. However, division by the number of horizontal dots in one character is
This is because the character position is expressed in units of characters as described above.
以上の補正処理が終ると、最後に処理130で最
大値レジスタ16064への0の書込みが行なわれる。
これは第6図に於てR/W信号144をハイレベ
ルかつデコード信号16をローレベルにすること
により実行され、これによつて次の文字の文字位
置検出の準備が完了する。 When the above correction process is completed, 0 is finally written to the maximum value register 16064 in process 130.
This is executed by setting the R/W signal 144 to a high level and the decode signal 16 to a low level in FIG. 6, thereby completing preparations for detecting the character position of the next character.
本発明によれば、表示装置の表示面の厚みによ
る光検出エリアの広がりを考慮した光検出位置の
補正回路を持つことにより、高精度の表示装置に
於ても一文字単位の正確な表示位置検出を行える
という効果がある。
According to the present invention, by having a light detection position correction circuit that takes into account the spread of the light detection area due to the thickness of the display surface of the display device, accurate display position detection for each character can be achieved even in high-precision display devices. It has the effect of being able to do the following.
第1図は本発明の装置に於ける表示位置検出処
理のフローチヤート、第2図は従来の表示位置検
出装置のブロツク図、第3図はブラウン管ガラス
面による光検出エリアの広がりを示す図、第4図
はライトペン検出エリアと光検出座標の説明図、
第5図は本発明の装置の一実施例を示すブロツク
図、第6図は補正回路の詳細図、第7図及び第8
図はカウンタ及びレジスタの真理値を示す図、第
9図は補正回路の動作タイムチヤート、第10図
は文字とクロツク信号の関係を示す図、第11図
は本発明の装置に於ける文字位置計算法の説明図
である。50……表示装置、60……ライトペ
ン、70……タイミング発生器、80……グリツ
ド制御回路、90……垂直文字位置カウンタ、1
00……水平文字位置カウンタ、110……垂直
文字位置ラツチレジスタ、120……水平文字位
置ラツチレジスタ、130……データバス、14
0……処理装置、150……アドレスバス、16
0……補正回路。
FIG. 1 is a flowchart of display position detection processing in the device of the present invention, FIG. 2 is a block diagram of a conventional display position detection device, and FIG. 3 is a diagram showing the spread of the light detection area by the cathode ray tube glass surface. Figure 4 is an explanatory diagram of the light pen detection area and light detection coordinates.
FIG. 5 is a block diagram showing one embodiment of the device of the present invention, FIG. 6 is a detailed diagram of the correction circuit, and FIGS.
9 is a diagram showing the truth values of counters and registers, FIG. 9 is an operation time chart of the correction circuit, FIG. 10 is a diagram showing the relationship between characters and clock signals, and FIG. 11 is a diagram showing character positions in the device of the present invention. It is an explanatory diagram of a calculation method. 50... Display device, 60... Light pen, 70... Timing generator, 80... Grid control circuit, 90... Vertical character position counter, 1
00...Horizontal character position counter, 110...Vertical character position latch register, 120...Horizontal character position latch register, 130...Data bus, 14
0...Processing device, 150...Address bus, 16
0...Correction circuit.
Claims (1)
ロツクを計数することによつてCRT画面上の現
在の走査位置をその計数値として有している垂直
及び水平文字位置カウンタと、CRT画面上に押
しつけられたライトペンの光検出エリアに走査線
が入つたタイミングで上記垂直及び水平文字位置
カウンタの計数値を読みとるカウンタ読取手段
と、上記光検出エリアに走査線が入つてから出る
までのグリツド長をドツトクロツクの計数によつ
て検出しかつ該検出を複数回くり返してそのくり
返し毎に得たグリツド長の最大値を検出する最大
グリツド長検出手段と、該手段により検出された
最大グリツド長を半分にした値を上記カウンタ読
取手段により読み取られた水平文字位置に加算し
た値を補正水平文字位置とし、更にもし上記光検
出エリアに走査線が入つた位置がCRT画面上の
当該文字わくの右半分内にあるとキヤラクタクロ
ツク信号の値から判定された時には上記補正水平
文字位置に更に1文字の水平方向の長さを加算し
た値を補正水平文字位置とするように補正する補
正手段とを設けたことを特徴とする表示位置検出
装置。1. Vertical and horizontal character position counters having as their counts the current scan position on the CRT screen by counting the dot clocks from the start of the vertical and horizontal scan, and the characters pressed onto the CRT screen. A counter reading means reads the count values of the vertical and horizontal character position counters at the timing when a scanning line enters the light detection area of the light pen, and a dot clock measures the grid length from when the scanning line enters the light detection area until it exits. Maximum grid length detection means for detecting by counting and repeating the detection a plurality of times to detect the maximum value of the grid length obtained each time, and a value obtained by halving the maximum grid length detected by the means. The value added to the horizontal character position read by the counter reading means is the corrected horizontal character position, and if the position where the scanning line enters the light detection area is within the right half of the character frame on the CRT screen. A correction means is provided for correcting the corrected horizontal character position so that, when determined from the value of the character clock signal, the value obtained by adding the horizontal length of one character to the corrected horizontal character position is set as the corrected horizontal character position. Display position detection device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61201655A JPS6358531A (en) | 1986-08-29 | 1986-08-29 | Detector for display position |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61201655A JPS6358531A (en) | 1986-08-29 | 1986-08-29 | Detector for display position |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6358531A JPS6358531A (en) | 1988-03-14 |
| JPH0447329B2 true JPH0447329B2 (en) | 1992-08-03 |
Family
ID=16444694
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61201655A Granted JPS6358531A (en) | 1986-08-29 | 1986-08-29 | Detector for display position |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6358531A (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4273450B2 (en) * | 2000-12-07 | 2009-06-03 | 有限会社テクノサージ | Tissue regeneration substrate, transplant material, and production method thereof |
| JP2006182750A (en) * | 2004-12-27 | 2006-07-13 | Bio Meito:Kk | Freeze-dried cosmetic and method for producing the same |
-
1986
- 1986-08-29 JP JP61201655A patent/JPS6358531A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6358531A (en) | 1988-03-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0137619B1 (en) | Display screen touch position detection apparatus | |
| JPS6323575B2 (en) | ||
| EP0662668B1 (en) | Coordinate detecting method and apparatus for a liquid crystal display unit | |
| EP0123381B1 (en) | Logic waveform display apparatus | |
| JPH0447329B2 (en) | ||
| JPH05233147A (en) | Display integrated tablet | |
| SU1508252A2 (en) | Device for reading information off crt screen | |
| SU1425736A1 (en) | Device for reading graphic information off crt screen | |
| JPS61151732A (en) | Light pen position detecting system | |
| RU1795509C (en) | Device for representing graphical information | |
| JPH0320756B2 (en) | ||
| JPH0720833A (en) | Graphics computer | |
| JPS63139645U (en) | ||
| JPS63186320A (en) | Light pen detecting system | |
| JPS6022231A (en) | Marker display system for detecting light pen | |
| JPS5850436Y2 (en) | light pen position detection device | |
| SU824189A1 (en) | Device for output of information from cathode-ray tube | |
| SU1531130A1 (en) | Device for presentation of information on screen of cathode-ray tube | |
| JPH01169487A (en) | Cursor control circuit | |
| JPS61170826A (en) | light pen input device | |
| JPH0310294A (en) | Image display device | |
| JP2634168B2 (en) | Raster detection control device for scanning display device | |
| SU805290A1 (en) | Device for data displaying and editing on crt screen equipped with light-pen | |
| JPS5541506A (en) | Position detection system in crt display unit | |
| JPH01216390A (en) | Cursor coordinate processing system |