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
JPH0225530B2 - - Google Patents
[go: Go Back, main page]

JPH0225530B2 - - Google Patents

Info

Publication number
JPH0225530B2
JPH0225530B2 JP56192353A JP19235381A JPH0225530B2 JP H0225530 B2 JPH0225530 B2 JP H0225530B2 JP 56192353 A JP56192353 A JP 56192353A JP 19235381 A JP19235381 A JP 19235381A JP H0225530 B2 JPH0225530 B2 JP H0225530B2
Authority
JP
Japan
Prior art keywords
signal
coordinate data
input
potential
point
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 - Lifetime
Application number
JP56192353A
Other languages
Japanese (ja)
Other versions
JPS5894074A (en
Inventor
Juji Inoe
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.)
NEC Home Electronics Ltd
Original Assignee
NEC Home Electronics 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 NEC Home Electronics Ltd filed Critical NEC Home Electronics Ltd
Priority to JP56192353A priority Critical patent/JPS5894074A/en
Publication of JPS5894074A publication Critical patent/JPS5894074A/en
Publication of JPH0225530B2 publication Critical patent/JPH0225530B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/045Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using resistive elements, e.g. a single continuous surface or two parallel surfaces put in contact

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)

Description

【発明の詳細な説明】 本発明は、被押圧体の押圧点位置を検出し、こ
の押圧点位置を示すX軸およびY軸の座標データ
を出力する座標検出装置に関し、特に前記被押圧
体として対向配置された2枚の抵抗膜を用い、こ
の2枚の抵抗膜に駆動電圧を交互に印加して押圧
操作による両抵抗膜の接触点の電位信号をアナロ
グ量として検出し、この電位信号をAD変換器に
よつてデイジタル値に変換して押圧点の座標デー
タとして出力する座標検出装置に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a coordinate detection device that detects the position of a pressed point on a pressed object and outputs coordinate data on the X-axis and Y-axis indicating the pressed point position, and in particular, Using two resistive films arranged opposite to each other, a driving voltage is applied alternately to the two resistive films, and the potential signal at the contact point of both resistive films due to the pressing operation is detected as an analog quantity. This invention relates to a coordinate detection device that converts into digital values using an AD converter and outputs the converted values as coordinate data of a pressed point.

従来において、例えば特開昭56−11580号公報
に開示されているように、枠状のスペーサを挾ん
で対向配置された2枚の抵抗膜の一方を押圧して
両抵抗膜を接触させ、この接触点における電位を
検出することにより筆記具などの押圧体の押圧点
座標を得、これにより手書き文字や図形等をコン
ピユータに入力するようにした座標検出装置が知
られている。
Conventionally, as disclosed in, for example, Japanese Patent Application Laid-Open No. 11580/1983, one of two resistive films placed facing each other with a frame-shaped spacer in between is pressed to bring the two resistive films into contact with each other. 2. Description of the Related Art A coordinate detection device is known that obtains the coordinates of a pressing point of a pressing body such as a writing instrument by detecting the electric potential at the contact point, and thereby inputs handwritten characters, figures, etc. into a computer.

ところで、このような座標検出装置においては
押圧体の押圧点位置を両抵抗膜の接触点における
電位信号としてアナログ的に得るものであるた
め、このアナログ的な電位信号をデイジタルの座
標データに変換するためのAD変換器を必要とす
る。そして、この場合のAD変換器の入力には、
電位信号入力に含まれるリツプル成分やノイズ成
分を除去し、電位信号入力の平均的な値をデイジ
タル値に変換するためのコンデンサを含む積分回
路が通常付加されている。
By the way, in such a coordinate detection device, the position of the pressing point of the pressing body is obtained in an analog manner as a potential signal at the contact point of both resistive films, so this analog potential signal is converted into digital coordinate data. Requires an AD converter. And the input of the AD converter in this case is
An integrating circuit including a capacitor is usually added to remove ripple components and noise components contained in the potential signal input and convert the average value of the potential signal input into a digital value.

ところが従来において、押圧点位置の電位信号
は一方の抵抗膜に駆動電圧を印加した状態で駆動
電圧不印加側の抵抗膜の電圧印加電極を介して
AD変換器に直接入力するように構成しているた
め、駆動電圧印加側のAD変換器の入力には駆動
電圧印加のタイミングにおいて駆動電圧が接加わ
つてしまう。このため、AD変換器の入力に付加
されている積分回路のコンデンサには、駆動電圧
印加のタイミングにおいて零または正の駆動電圧
がその都度印加されることになり、変換すべき電
位信号が入力されるタイミングではコンデンサを
この電位信号の値に応じて充電または放電させな
ければならない。このため、この充電または放電
のための時間だけアナログ・デイジタル変換動作
が遅れ、押圧点の移動に追従し得なくなるという
欠点があつた。
However, in the past, the potential signal at the pressure point position is transmitted through the voltage application electrode of the resistive film on the side to which the driving voltage is not applied while the driving voltage is applied to one of the resistive films.
Since it is configured to be directly input to the AD converter, the drive voltage is applied to the input of the AD converter on the drive voltage application side at the timing of drive voltage application. Therefore, a zero or positive drive voltage is applied to the capacitor of the integrating circuit attached to the input of the AD converter each time the drive voltage is applied, and the potential signal to be converted is input. At this timing, the capacitor must be charged or discharged according to the value of this potential signal. For this reason, the analog-to-digital conversion operation is delayed by the time required for charging or discharging, resulting in a drawback that it becomes impossible to follow the movement of the pressing point.

本発明はこのような欠点を解決するためになさ
れたもので、その目的はアナログ・デイジタル変
換動作の遅れを解消し、押圧点の移動に正確に追
従した座標データを出力し得るようにした座標検
出装置を提供することにある。
The present invention was made in order to solve these drawbacks, and its purpose is to eliminate the delay in analog-to-digital conversion operation and to output coordinate data that accurately follows the movement of the pressing point. The object of the present invention is to provide a detection device.

このために本発明は、2つのAD変換器の各入
力につながる積分回路の入力にスイツチ手段を設
け、このスイツチ手段の開閉を駆動電圧の交互印
加用制御信号により制御し、駆動電圧印加側の積
分回路に対して駆動電圧が直接入力されることを
阻止するように構成したものである。
For this purpose, the present invention provides a switch means at the input of an integrating circuit connected to each input of the two AD converters, and controls the opening and closing of this switch means by a control signal for alternately applying the drive voltage, and This is configured to prevent the driving voltage from being directly input to the integrating circuit.

以下、本発明を図示する実施例に基づき詳細に
説明する。
Hereinafter, the present invention will be described in detail based on illustrated embodiments.

なお、以下の実施例においては、被押圧体とし
て例えば第1図aに示すように、2枚の抵抗膜1
および2を、所定間隔で縦横に配置された点状の
スペーサ3を介して対向位置し、一方の抵抗膜を
押圧することにより第1図bの断面図に示すよう
に両抵抗膜をスペーサ3の不在部分で点接触させ
るようにした構造のものを使用するものとする。
In the following embodiments, two resistive films 1 are used as objects to be pressed, for example, as shown in FIG. 1a.
and 2 are placed opposite to each other with dot-like spacers 3 arranged in the vertical and horizontal directions at predetermined intervals, and by pressing one of the resistive films, both resistive films are separated by the spacers 3 as shown in the cross-sectional view of FIG. 1b. A structure that allows point contact to be made in the absent area shall be used.

第2図は本発明の一実施例を示すブロツク図で
ある。同図において、第1の抵抗膜1の電極1A
はトランジスタQ1を介して正の駆動電圧(+V1)
に接続され、一方の電極1BはトランジスタQ2
を介してアース電位に接続されている。また、第
2の抵抗膜2の電極2AはトランジスタQ3を介
して正の駆動電圧(+V1)に接続され、一方の
電極2BはトランジスタQ4を介してアース電位
に接続されている。
FIG. 2 is a block diagram showing one embodiment of the present invention. In the figure, an electrode 1A of the first resistive film 1
is the positive drive voltage (+V1) through transistor Q1
one electrode 1B is connected to transistor Q 2
connected to ground potential via. Further, the electrode 2A of the second resistive film 2 is connected to a positive drive voltage (+V1) via a transistor Q3 , and the one electrode 2B is connected to ground potential via a transistor Q4 .

これらのトランジスタQ1〜Q4は、フリツプフ
ロツプFF1の出力端子Qおよびからそれぞれ出
力される駆動電圧交互印加用の信号YD,XDに
より導通および非導通が制御されるように構成さ
れている。
These transistors Q 1 to Q 4 are configured so that conduction and non-conduction are controlled by signals YD and XD for alternate application of drive voltages output from the output terminal Q of the flip-flop FF 1 , respectively.

フリツプフロツプFF1は2つの抵抗膜1,2に
対する駆動電圧の印加を交互に切換えるためのも
のであり、D型フリツプフロツプによつて構成さ
れている。そのデータ入力端子Dにはプロセツサ
ユニツトPUからチヤンネル切換信号CHSが入力
され、またクロツク入力端子(CK)にはインバ
ータINV1によつてチツプセレクト信号を反転
した信号CSが入力されている。
The flip-flop FF1 is used to alternately switch the application of driving voltage to the two resistive films 1 and 2, and is constituted by a D-type flip-flop. A channel switching signal CHS is inputted from the processor unit PU to the data input terminal D, and a signal CS obtained by inverting the chip select signal by the inverter INV1 is inputted to the clock input terminal (CK).

従つて、フリツプフロツプFF1は論理“1”の
チヤンネル切換信号CHSが入力されている時に、
論理“0”のチツプセレクト信号がプロセツ
サユニツトPUから発生されると、このチツプセ
レクト信号の立下りタイミング後において論
理“1”の信号YDおよび論理“0”の信号XD
を出力する。すなわち、フリツプフロツプFF1
論理“1”のチヤンネル切換信号CHSが入力さ
れ、かつ論理“0”のチツプセレクト信号が
発生すると、トランジスタQ3およびQ4を導通さ
せ、第2の抵抗膜2に駆動電圧V1を印加し、矢
印で示すy軸方向の電位勾配を生じさせる信号を
出力する。
Therefore, when the flip-flop FF1 is input with the channel switching signal CHS of logic "1",
When a logic "0" chip select signal is generated from the processor unit PU, a logic "1" signal YD and a logic "0" signal XD are generated after the falling timing of this chip select signal.
Output. That is, when the flip-flop FF 1 receives the channel switching signal CHS of logic "1" and generates the chip select signal of logic "0", the flip-flop FF 1 conducts the transistors Q 3 and Q 4 and drives the second resistive film 2. A voltage V 1 is applied to output a signal that generates a potential gradient in the y-axis direction indicated by the arrow.

一方、フリツプフロツプFF1は論理“0”のチ
ヤンネル切換信号CHSが入力されている時に、
論理“0”のチヤンネルセレクト信号がプロ
セツサユニツトPUから発生されると、このチツ
プセレクト信号の立下りタイミング後におい
て論理“0”の信号YDおよび論理“1”の信号
をXDを出力する。すなわち、フリツプフロツプ
FF1は論理“0”のチヤンネル切換信号CHSが入
力され、かつ論理“0”のチツプセレクト信号
CSが発生すると、トランジスタQ1およびQ2を導
通させ、第1の抵抗膜1に駆動電圧V1を印加し、
矢印で示すx軸方向の電位勾配を生じさせる信号
を出力する。
On the other hand, when the flip-flop FF 1 receives the channel switching signal CHS of logic "0",
When a logic "0" channel select signal is generated from the processor unit PU, a logic "0" signal YD and a logic "1" signal XD are output after the fall timing of this chip select signal. That is, flip-flop
FF 1 receives the channel switching signal CHS of logic "0" and the chip select signal of logic "0".
When CS occurs, transistors Q 1 and Q 2 are made conductive, driving voltage V 1 is applied to the first resistive film 1,
A signal is output that generates a potential gradient in the x-axis direction indicated by the arrow.

従つて、プロセツサ・ユニツトPUから送出す
るチヤンネル切換信号CHSを論理“1”を論理
“0”とで交互に切換えることにより、第1の抵
抗膜1のx軸方向および第2の抵抗膜のy軸方向
に所定の電位勾配を交互に生じさせることができ
る。これにより、一方の抵抗膜の任意の座標位置
を押圧して両抵抗膜を点接触させると、y軸方向
に電位勾配を生じさせている時には押圧点のy軸
方向の位置を両抵抗膜の接触点および一方の抵抗
膜1の電極1Bを介してそのy軸方向の押圧点位
置に対応したレベルの電位信号VYとして取り出
すことができ、逆にx軸方向に電位勾配を生じさ
せている時には押圧点のx軸方向の位置を両抵抗
膜の接触点および一方の抵抗膜2の電極2Bを介
してそのx軸方向の押圧点位置に対応したレベル
の電位信号VXとして取り出すことができる。
Therefore, by alternately switching the channel switching signal CHS sent from the processor unit PU between logic "1" and logic "0", the x-axis direction of the first resistive film 1 and the y-axis direction of the second resistive film A predetermined potential gradient can be generated alternately in the axial direction. As a result, if one resistive film is pressed at an arbitrary coordinate position and both resistive films are brought into point contact, when a potential gradient is generated in the y-axis direction, the position of the pressed point in the y-axis direction is changed between the two resistive films. Through the contact point and the electrode 1B of one of the resistive films 1, it can be taken out as a potential signal VY at a level corresponding to the pressed point position in the y-axis direction.On the other hand, when a potential gradient is generated in the x-axis direction, The position of the pressing point in the x-axis direction can be extracted as a potential signal VX at a level corresponding to the pressing point position in the x-axis direction via the contact point between both resistive films and the electrode 2B of one of the resistive films 2.

このようにして取り出される押圧点のy軸およ
びx軸方向の座標位置に対応したレベルの電位信
号VY,VXはそれぞれスイツチSW1,SW2を介
して積分回路ITG1,ITG2に入力される。
The potential signals VY and VX at levels corresponding to the coordinate positions of the press point in the y- and x-axis directions taken out in this way are input to integration circuits ITG 1 and ITG 2 via switches SW 1 and SW 2, respectively. .

ここで、2つの抵抗膜1,2は、駆動電圧V1
が交互に印加されている関係上、積分回路ITG1
ITG2にはアース電位が直接印加されて積分動作
が遅くなり、ひいては電位信号VY,VXのデイ
ジタル値への変換速度が遅くなる。これを防ぐた
めにスイツチSW1およびSW2が設けられている。
すなわち、この種の座標検出装置では電位信号
VY,VXに含まれるリツプル成分やノイズ成分
を除去し、電位信号VY,VXの平均的な値をデ
イジタル値に変換するようにAD変換器の入力段
にコンデンサを含む積分回路を付加するのが一般
的に行なわれているが、このような構成において
駆動電圧印加側のアース電位が積分回路ITG1
たはITG2に直接入力されると、これらの積分回
路のコンデンサCはアース電位の入力により放電
されてしまい、各抵抗膜から取り出した電位信号
VY,VXを積分する動作時には、アース電位か
ら充電を再び開始させなければならない。このた
め、アース電位から電位信号VY,VXのレベル
に充電させるまでの時間だけ積分動作が遅れてし
まい、座標データへの変換速度が遅くなる。
Here, the two resistive films 1 and 2 have a driving voltage V 1
are applied alternately, the integration circuit ITG 1 ,
The ground potential is directly applied to ITG 2 , which slows down the integration operation and, in turn, slows down the conversion speed of potential signals VY and VX into digital values. Switches SW 1 and SW 2 are provided to prevent this.
In other words, in this type of coordinate detection device, the potential signal
An integrating circuit including a capacitor is added to the input stage of the AD converter to remove ripple and noise components contained in VY and VX and convert the average value of the potential signals VY and VX into digital values. Although it is generally done, in such a configuration, if the ground potential on the drive voltage application side is directly input to the integrating circuit ITG 1 or ITG 2 , the capacitor C of these integrating circuits will be discharged by the input of the ground potential. The potential signal extracted from each resistive film
When integrating VY and VX, charging must be restarted from ground potential. Therefore, the integration operation is delayed by the time required to charge from the ground potential to the level of the potential signals VY and VX, and the speed of conversion to coordinate data is slowed down.

このために、スイツチSW1はフリツプフロツプ
FF1の出力信号YDが“1”で、かつインバータ
INV1から出力されるチツプセレクト信号CSが
“1”の時のみアンドゲートAG1の出力信号によ
りオン状態(閉成状態)とされ、第1の抵抗膜1
に駆動電圧V1を印加している時にはオフ状態と
され、アース電位は積分回路ITG1の入力に直接
加わらないように制御される。また、スイツチ
SW2はフリツプフロツプFF1の出力信号XDが
“1”で、かつチツプセレクト信号CSが“1”の
時のみアンドゲートAG1の出力信号によりオン状
態(閉成状態)とされ、第2の抵抗膜2に駆動電
圧V1を印加している時にはオフ状態とされ、ア
ース電位は積分回路ITG2の入力に直接加わらな
いように制御される。
For this purpose, switch SW 1 is a flip-flop
When the output signal YD of FF 1 is “1” and the inverter
Only when the chip select signal CS output from INV 1 is "1", it is turned on (closed state) by the output signal of AND gate AG 1 , and the first resistive film 1
When the driving voltage V1 is applied to the integrator circuit ITG1, it is in an off state, and the ground potential is controlled so as not to be applied directly to the input of the integrating circuit ITG1 . Also, switch
SW 2 is turned on (closed state) by the output signal of AND gate AG 1 only when the output signal XD of flip-flop FF 1 is "1" and the chip select signal CS is "1", and SW 2 is turned on (closed state) by the output signal of AND gate AG 1. When the driving voltage V 1 is applied to the membrane 2, it is in an off state, and the ground potential is controlled so as not to be applied directly to the input of the integrating circuit ITG 2 .

これにより、コンデンサCを含む積分回路
ITG1,ITG2は、チツプセレクト信号CSの発生期
間だけ電位信号VY,VXの積分動作を行なつて
その積分値を次のチツプセレクト信号CSの発生
タイミングに新たな電位信号VY,VXが印加さ
れるまで保持するようになる。この場合、通常の
押圧操作においては電位信号VY,VXのレベル
の変化率は比較的小さいため、積分回路ITG1
ITG2におけるコンデンサCは瞬時に新たな電位
信号VY,VXのレベルに充電されるようになり、
積分動作を極めて迅速に終了させることができ
る。
This allows the integrator circuit including capacitor C to
ITG 1 and ITG 2 integrate the potential signals VY and VX only during the generation period of the chip select signal CS, and apply the integrated value to the new potential signals VY and VX at the timing when the next chip select signal CS is generated. It will now be held until In this case, since the rate of change in the levels of the potential signals VY and VX is relatively small during normal pressing operations, the integration circuits ITG 1 ,
Capacitor C in ITG 2 is instantly charged to the level of new potential signals VY and VX,
The integral operation can be completed extremely quickly.

このようにして積分回路ITG1およびITG2にお
いて積分された電位信号VY′およびVX′は2チヤ
ンネルのAD変換入力CH1,CH2を有するAD
変換器ADCに入力される。
The potential signals VY' and VX' integrated in the integrating circuits ITG 1 and ITG 2 in this way are applied to an AD converter having two channels of AD conversion inputs CH1 and CH2.
Input to converter ADC.

AD変換器ADCは、チヤンネル切換信号CHS
が“0”の時には第1チヤンネルのAD変換入力
CH1に入力されている電位信号VY′を選択し、
チツプセレクト信号が“1”信号になつた後
にこの信号VY′を対応するデイジタル値に変換す
る。そして、一定時間後にその変換動作が終了す
ると論理“0”の変換終了信号とともに、
変換値をデータ構成がシリアルなy軸の座標デー
タYとして出力する。また、チヤンネル切換信号
CHSが“1”の時には第2チヤンネルのAD変換
入力CH2が入力されている電位信号VX′を選択
し、チツプセレクト信号が“1”信号になつ
た後にこの信号VX′を対応するデイジタル値に変
換する。そして、その変換値を変換終了信号
EOCとともにx軸の座標データXとして出力す
る。
AD converter ADC uses channel switching signal CHS
When is “0”, the AD conversion input of the first channel
Select the potential signal VY′ input to CH1,
After the chip select signal becomes a "1" signal, this signal VY' is converted into a corresponding digital value. Then, when the conversion operation is completed after a certain period of time, a conversion completion signal of logic "0" is sent.
The converted value is output as y-axis coordinate data Y with a serial data structure. In addition, the channel switching signal
When CHS is "1", the AD conversion input CH2 of the second channel selects the input potential signal VX', and after the chip select signal becomes "1" signal, converts this signal VX' to the corresponding digital value. Convert. Then, the conversion value is converted to the conversion end signal.
Output as x-axis coordinate data X along with EOC.

この場合の変換終了信号EOCはインバータ
INV2によつて反転されてプロセツサユニツトPU
に送られる。すると、プロセツサユニツトPUは
信号EOCを受けたことにより、シリアルなデー
タ構成のx軸およびy軸の座標データX,Yを読
み込む。
In this case, the conversion end signal EOC is
Inverted by INV 2 to processor unit PU
sent to. Then, upon receiving the signal EOC, the processor unit PU reads the x-axis and y-axis coordinate data X, Y in a serial data configuration.

さて、プロセツサユニツトPUは演算処理装置
CPUやプログラムメモリMEM等によつて構成さ
れ、AD変換器ADCから入力される座標データの
読込みやその連続性の判別等の一連の制御を行つ
て押圧点の移動に正確に追従した座標データとし
て出力するものであるが、このような制御を行う
ためのプログラムの起動はフリツプフロツプFF2
の出力端子Qから論理“0”の押圧検出信号
SNSが入力されることによつて行う。
Now, the processor unit PU is an arithmetic processing unit.
It is composed of a CPU, program memory MEM, etc., and performs a series of controls such as reading the coordinate data input from the AD converter ADC and determining its continuity, as coordinate data that accurately follows the movement of the pressing point. The program to perform this kind of control is started using the flip-flop FF 2 .
Pressure detection signal of logic “0” from output terminal Q of
This is done when SNS is input.

すなわち、2つの抵抗膜1および2に対して駆
動電圧V1を交互に印加している時、任意のタイ
ミングで押圧操作が開始されると、この押圧点位
置をに対応した電位信号VY,VXが取り出され
るが、このうち信号VXはスイツチSW2を介して
積分回路ITG2に入力される一方、抵抗R1および
R2によつて分圧されてトランジスタQ5のベース
に入力される。
That is, when the driving voltage V 1 is applied alternately to the two resistive films 1 and 2, when a pressing operation is started at an arbitrary timing, the position of the pressing point is changed to the potential signals VY, VX corresponding to the pressing operation. Of these, signal VX is input to integrating circuit ITG 2 via switch SW 2 , while resistor R 1 and
The voltage is divided by R2 and input to the base of transistor Q5 .

トランジスタQ5は、抵抗膜に対する押圧操作
が開始されて電位信号VXのレベルが所定値以上
になると導通し、そのコレクタ出力から押圧操作
が開始されたことを示す“0”の検出信号SNSA
を出力する。このトランジスタQ5から出力され
る“0”の検出信号SNSAはD型フリツプフロツ
プFF2のデータ入力端子Dへ供給され、チツプセ
レクト信号CSの立上りタイミングで取り込まれ
て出力端子Qから論理“0”の押圧検出信号
SNSとして出力される。従つて、チツプセレク
ト信号を比較的短い周期で発生させるように
しておけば、抵抗膜に対する押圧操作後ただちに
押圧検出信号SNSを得ることができ、座標デー
タX,Yの読込み処理やその連続性の判別などの
処理を行うプログラムを起動させることができ
る。
Transistor Q5 becomes conductive when the pressing operation on the resistive film is started and the level of the potential signal VX exceeds a predetermined value, and a detection signal SNSA of "0" indicating that the pressing operation has started is output from its collector output.
Output. The detection signal SNSA of "0" output from this transistor Q5 is supplied to the data input terminal D of the D-type flip-flop FF2 , and is taken in at the rising timing of the chip select signal CS, and the logic "0" signal is output from the output terminal Q. Pressure detection signal
Output as SNS. Therefore, if the chip select signal is generated in a relatively short cycle, the pressure detection signal SNS can be obtained immediately after the pressure operation on the resistive film, and the process of reading the coordinate data X, Y and its continuity can be easily obtained. It is possible to start a program that performs processing such as determination.

ところで、抵抗膜が押圧されたことを検出する
に際し、抵抗膜1に駆動電圧V1の印加による比
較的大きな電流を流すようにしておくと、抵抗膜
1における電位勾配が急勾配となり、押圧点の位
置によつては電流信号VXのレベルが大幅に変化
してしまう。その結果、トランジスタQ5におけ
る識別レベルの決め方によつては押圧操作が行な
われたことの識別が不可能となつたりすることが
ある。そこで、押圧操作の検出前は抵抗膜1に対
して微少電流を流し、その電位勾配をゆるやかと
し、どの位置を押圧しても高レベルの電位信号
VXが得られるようにする。すなわち、トランジ
スタQ2をトランジスタQ6の出力信号(“0”信
号)によつて非導通とし、抵抗膜1にはトランジ
スタQ1によつて駆動電圧V1の正電位のみを印加
してこの抵抗膜1の全体の電位を正電位側にシフ
トする。これによつて抵抗膜1にトランジスタ
Q5および積分回路ITG2の入力側のインピーダン
スと抵抗膜1の抵抗値とによつて定まる微少電流
を流すように構成されている。この場合、トラン
ジスタQ6を導通させる信号としては、AD変換器
ADCの変換終了信号EOCが用いられている。既
に理解できるように、AD変換器ADCは変換動作
の終了後は新たな電位信号VYまたはVXが入力
されるのを待機する状態となるため、この変換終
了信号をインバータINV2によつて反転して
トランジスタQ6を制御するようにしておけば、
変換動作の終了後において抵抗膜1は常に正電位
側にシフトされる。従つて、この状態において押
圧操作が行なわれると、どの位置を押圧しても高
レベルの電位信号VXが得られ、トランジスタQ5
における識別レベルを若干高目にしておいても確
実にトランジスタQ5が導通する。いい換えれば、
押圧操作が行なわれたことを確実に検出すること
ができる。この結果、プロセツサユニツトにおけ
るプログラムを押圧操作に追従して確実に起動で
きる。この場合、トランジスタQ5の識別レベル
を高目に設定できるため、外乱ノイズによつて誤
つた押圧検出信号SNSが発生することを防止で
きる効果もある。
By the way, when detecting that the resistive film is pressed, if a relatively large current is applied to the resistive film 1 by applying the driving voltage V1 , the potential gradient in the resistive film 1 becomes steep, and the pressure point Depending on the position of the current signal VX, the level of the current signal VX changes significantly. As a result, depending on how the identification level of transistor Q5 is determined, it may become impossible to identify that a pressing operation has been performed. Therefore, before detecting the pressing operation, a small current is passed through the resistive film 1 to make the potential gradient gentle, so that no matter where the pressing operation is pressed, a high-level potential signal is generated.
Make sure you get VX. That is, the transistor Q 2 is made non-conductive by the output signal (“0” signal) of the transistor Q 6 , and only the positive potential of the driving voltage V 1 is applied to the resistive film 1 by the transistor Q 1 , and this resistor is turned off. The overall potential of the membrane 1 is shifted to the positive potential side. By this, the transistor is connected to the resistive film 1.
It is configured to flow a minute current determined by the impedance on the input side of Q 5 and the integrating circuit ITG 2 and the resistance value of the resistive film 1. In this case, the signal that makes transistor Q6 conductive is the AD converter
The conversion end signal EOC of the ADC is used. As can be understood, after the conversion operation is completed, the AD converter ADC is in a state of waiting for a new potential signal VY or VX to be input, so this conversion end signal is inverted by the inverter INV 2 . If you control transistor Q6 using
After the conversion operation is completed, the resistive film 1 is always shifted to the positive potential side. Therefore, if a pressing operation is performed in this state, a high-level potential signal VX is obtained no matter where the pressing is performed, and the transistor Q5
Even if the discrimination level in is made a little high, transistor Q5 is surely conductive. In other words,
It is possible to reliably detect that a pressing operation has been performed. As a result, the program in the processor unit can be reliably started following the pressing operation. In this case, since the discrimination level of the transistor Q5 can be set to a high value, it is possible to prevent an erroneous press detection signal SNS from being generated due to disturbance noise.

なお、押圧点の座標はx軸とy軸方向との1対
で検出されるものであるため、押圧操作が行なわ
れたことを検出するためのトランジスタQ5はx
軸方向の電位信号VX側のみに設ければ足りる。
これは、トランジスタQ6についても同様である。
Note that since the coordinates of the pressing point are detected as a pair in the x-axis and y-axis directions, the transistor Q5 for detecting that a pressing operation has been performed is
It is sufficient to provide it only on the axial potential signal VX side.
The same applies to transistor Q6 .

ここで、第3図に示すタイムチヤートを参照
し、x軸およびy軸の座標データX,Yがプロセ
ツサユニツトPUに入力されるまでの動作を要約
して説明する。
Here, with reference to the time chart shown in FIG. 3, the operation until the coordinate data X, Y of the x-axis and y-axis is input to the processor unit PU will be summarized.

まず、時刻t1において同図aに示すチツプセレ
クト信号が“0”になると、この立下りタイ
ミングで変換終了信号(同図b)は“1”
信号に復帰し、AD変換器ADCは待機状態とな
る。この時、チヤンネル切換信号CHSが同図c
に示すように“0”に変化していると、フリツプ
フロツプFF1の出力信号YDは同図dに示すよう
に“0”信号となり、一方の出力信号XDは同図
eに示すように“1”信号となる。これにより、
第1の抵抗膜1に駆動電圧V1が印加される状態
となる。また、信号XDが“1”信号となること
により、チツプセレクト信号の発生期間中に
アンドゲートAG2から“1”信号が出力されてス
イツチSW2が同図lに示すようにオン状態とな
る。ところが、この時には末だ押圧操作がなされ
ていないため、第2の抵抗膜2の電極2Bには電
位信号VXは現われない。次に、時刻t2になり、
チツプセレクト信号が“0”に復帰すると、
スイツチSW2はオン状態となる。同時に、AD変
換器ADCは変換動作を開始するようになる。し
かし、この時変換対象の電位信号VX′は入力され
ていないため、時刻t3において論理“0”の変換
終了信号を出力するとともに、オール“0”
の座標データYを出力する。この時刻t3において
変換終了信号が“0”となることにより、トラン
ジスタQ6が導通し、信号XDによつて導通してい
たトランジスタQ2を非導通とする。これにより、
第1の抵抗膜1は全体の電位が正電位側へシフト
され、これに伴つて電極1Bから取り出される信
号VYも第3図fに示すように変換終了信号
の発生期間中に正電位側へシフトされる。
First, at time t 1 , when the chip select signal shown in a of the figure becomes "0", the conversion end signal (b of the same figure) becomes "1" at this falling timing.
The signal is restored and the AD converter ADC goes into a standby state. At this time, the channel switching signal CHS is
, the output signal YD of the flip-flop FF 1 becomes a "0" signal as shown in the figure d, and one output signal XD becomes a "1" signal as shown in the figure e. “It becomes a signal. This results in
A state is reached in which the driving voltage V 1 is applied to the first resistive film 1. Furthermore, when the signal XD becomes a "1" signal, a "1" signal is output from the AND gate AG 2 during the generation period of the chip select signal, and the switch SW 2 is turned on as shown in FIG. . However, at this time, since no pressing operation has been performed yet, the potential signal VX does not appear on the electrode 2B of the second resistive film 2. Then, at time t 2 ,
When the chip select signal returns to “0”,
Switch SW 2 is turned on. At the same time, the AD converter ADC starts the conversion operation. However, at this time, the potential signal VX' to be converted is not input, so at time t3 , a conversion end signal of logic "0" is output, and all "0" is output.
The coordinate data Y of is output. At this time t3 , the conversion end signal becomes "0", so that the transistor Q6 becomes conductive, and the transistor Q2 , which had been conductive due to the signal XD, becomes non-conductive. This results in
The entire potential of the first resistive film 1 is shifted to the positive potential side, and accordingly, the signal VY taken out from the electrode 1B also shifts to the positive potential side during the generation period of the conversion end signal, as shown in FIG. 3f. Shifted.

この状態で時刻t34のタイミングで押圧操作が
開始されると、電極2Bから第3図gに示すよう
に高レベルの電位信号VXが取り出されて抵抗R1
を介してトランジスタQ5のベースに印加される。
これによつて、トランジスタQ5のコレクタ出力
から第3図hに示すような信号SNSAが出力され
る。この後時刻t4においてチツプセレクト信号
CSが“0”信号に変化すると、この立下りタイ
ミングにおいて前記信号SNSAがフリツプフロツ
プFF2に取込まれ、その出力から第3図iに示す
ような押圧検出信号SNSとして出力される。こ
れにより、プロセツサユニツトPUは押圧点の座
標を読込むためのプログラムを起動する。
When the pressing operation is started at time t34 in this state, a high-level potential signal VX is taken out from the electrode 2B as shown in FIG. 3g, and the resistor R1
to the base of transistor Q5 .
As a result, a signal SNSA as shown in FIG. 3h is output from the collector output of transistor Q5 . After this, at time t 4 , the chip select signal
When CS changes to a "0" signal, the signal SNSA is taken into the flip-flop FF2 at this falling timing, and outputted from the flip-flop FF2 as a press detection signal SNS as shown in FIG. 3i. This causes the processor unit PU to start a program for reading the coordinates of the pressed point.

一方、時刻t34において押圧操作が開始され、
かつ時刻t4〜t5においてチツプセレクト信号が
発生されていることにより、スイツチSW2を介し
て押圧点のx軸方向の位置に対応した電位信号
VXが積分回路ITG2へ入力される。これにより、
積分回路ITG2は入力信号VXをt4〜t5において積
分し、第3図jに示すような電位信号VX′を出力
し、AD変換器ADCの第2チヤンネルのAD変換
入力CH2に供給する。すると、AD変換器ADC
はチヤンネル切換信号CHSが“1”になつてい
ることを条件に、第2チヤンネルのAD変換入力
に供給されている電位信号VX′を選択し、チツプ
セレクト信号が“1”信号に復帰した時刻t5
のタイミングでこの電位信号VX′のデイジタル値
への変換動作を開始する。そして、一定時間後の
時刻t6において変換動作が終了すると、変換終了
信号を“0”信号とし、プロセツサユニツ
トPUに対して変換動作が終了したことを知らせ
る。これにより、プロセツサユニツトPUはAD
変換器ADCの変換出力、すなわちx軸の座標デ
ータXの読込みを行う。
On the other hand, the pressing operation is started at time t34 ,
In addition, since the chip select signal is generated between times t4 and t5 , a potential signal corresponding to the position of the pressing point in the x-axis direction is generated via switch SW2 .
VX is input to integration circuit ITG 2 . This results in
The integration circuit ITG 2 integrates the input signal VX from t 4 to t 5 , outputs a potential signal VX' as shown in FIG. 3j, and supplies it to the AD conversion input CH2 of the second channel of the AD converter ADC. . Then, the AD converter ADC
selects the potential signal VX' supplied to the AD conversion input of the second channel on the condition that the channel switching signal CHS is "1", and determines the time when the chip select signal returns to "1" signal. t 5
The conversion operation of this potential signal VX' into a digital value is started at the timing of . When the conversion operation ends at time t6 after a certain period of time, the conversion end signal is set to "0" to notify the processor unit PU that the conversion operation has ended. This allows the processor unit PU to
The conversion output of the converter ADC, that is, the x-axis coordinate data X is read.

一方、プロセツサユニツトPUはx軸の座標デ
ータXを読込みを行うに先立ち、時刻t5において
チヤンネル切換信号CHSを“1”信号とする。
これは、次の時刻t7において駆動電圧V1の印加を
第1の抵抗膜1から第2の抵抗膜2へ切換えるた
めである。従つて、時刻t7においてチツプセレク
ト信号が“0”信号に変化すると、この立下
りタイミングにおいてフリツプフロツプFF1の出
力信号YDは“1”信号に変化し、一方の出力信
号XDは“0”信号に変化する。これにより、今
度は第2の抵抗膜2に駆動電圧V1が印加される
ようになる。同時に、チツプセレクト信号が
発生している時刻t7〜t8においてスイツチSW1
オン状態となる。従つて、第1の抵抗膜1の電極
1Bから取り出されたy軸方向の押圧点に対応し
た電位信号VYは、このスイツチSW1を介して積
分回路ITG1に入力される。すると、積分回路
ITG1はこの入力電位信号VYをチツプセレクト信
号が発生している間積分し、その積分信号
VY′を信号の発生停止後も保持してAD変換器
ADCの第1チヤンネルのAD変換入力CH1に供
給する。これにより、時刻t8〜t9において信号
VY′はデイジタル値に変換される。そして、変換
終了信号の発生により、プロセツサユニツ
トPUに読込まれる。
On the other hand, before reading the x-axis coordinate data X, the processor unit PU sets the channel switching signal CHS to "1" at time t5 .
This is to switch the application of the drive voltage V 1 from the first resistive film 1 to the second resistive film 2 at the next time t 7 . Therefore, when the chip select signal changes to a "0" signal at time t7 , the output signal YD of the flip-flop FF 1 changes to a "1" signal at this falling timing, and one output signal XD changes to a "0" signal. Changes to As a result, the driving voltage V 1 is now applied to the second resistive film 2. At the same time, the switch SW1 is turned on from time t7 to t8 when the chip select signal is generated. Therefore, the potential signal VY corresponding to the pressing point in the y-axis direction taken out from the electrode 1B of the first resistive film 1 is input to the integrating circuit ITG 1 via this switch SW 1 . Then, the integrating circuit
ITG 1 integrates this input potential signal VY while the chip select signal is generated, and outputs the integrated signal.
The AD converter maintains VY′ even after the signal generation has stopped.
It is supplied to the AD conversion input CH1 of the first channel of the ADC. As a result, the signal at time t 8 to t 9
VY′ is converted to a digital value. Then, upon generation of the conversion end signal, the data is read into the processor unit PU.

以上のような動作は押圧操作が継続している間
繰り返し行なわれる。これにより、押圧点の座標
データをx軸およびy軸の1対で得ることができ
る。
The above operations are repeated while the pressing operation continues. Thereby, the coordinate data of the pressed point can be obtained as a pair of x-axis and y-axis.

次に、AD変換器ADCから出力される座標デー
タZDの読込みやその連続性の判別を行つて、押
圧点の移動に忠実に追従した座標データとして出
力するプロセツサユニツトPUの動作を第4図に
示すフローチヤートを参照して説明する。
Next, Figure 4 shows the operation of the processor unit PU, which reads the coordinate data ZD output from the AD converter ADC, determines its continuity, and outputs it as coordinate data that faithfully follows the movement of the pressing point. This will be explained with reference to the flowchart shown in .

なお、第4図に示すフローチヤートは、最終的
に得られた座標データに基づき押圧点の軌跡をデ
イスピレイ装置の画面に表示することを前提とし
て構成されているため、押圧点の軌跡が表示され
るまでの動作を説明する。
Note that the flowchart shown in Figure 4 is constructed on the premise that the locus of the press point will be displayed on the screen of the display device based on the finally obtained coordinate data, so the locus of the press point will not be displayed. We will explain the operation up to this point.

第4図において、まず、押圧点の軌跡の表示色
およびその背景色などの条件設定が終了したかど
うかがステツプ100において判断される。この表
示のための各種条件の設定が完了していれば、軌
跡表示処理に移る。
In FIG. 4, first, in step 100, it is determined whether or not the setting of conditions such as the display color of the locus of the pressed point and its background color has been completed. If the various conditions for this display have been set, the process moves to trajectory display processing.

軌跡表示処理においては、まずステツプ101に
おいてフラグFLGが“OH”に設定される。フラ
グFLGは、AD変換器ADCから読込んだ座標デー
タZDが軌跡表示処理へ突入した段階の最初のも
のであるかどうかを判別するためのもので、軌跡
表示処理に突入した段階では“OH”に設定さ
れ、最初の座標データであることが指示される。
フラグFLGの設定が終ると、ステツプ102に示す
「CALL SENSE」ルーチンへ進む。
In the trajectory display process, first in step 101, the flag FLG is set to "OH". The flag FLG is used to determine whether the coordinate data ZD read from the AD converter ADC is the first one at the stage of entering the trajectory display process, and is set to “OH” at the stage of entering the trajectory display process. , indicating that this is the first coordinate data.
Once the flag FLG has been set, the process proceeds to the "CALL SENSE" routine shown in step 102.

「CALL SENSE」ルーチンは、押圧検出信号
SNSが“0”になつているかどうかを判別する
もので、まず次のステツプ1020に示すように信号
SNSが“0”か否かが判別される。もし、抵抗
膜に対する押圧操作によつて押圧検出信号SNS
が“0”信号になつていれば、次のステツプ103
の「CALL DATE READ」ルーチンへ進み、
AD変換器ADCからx軸およびy軸の座標データ
X,Yを読込み、演算処理装置CPUに内蔵され
ている第1のレジスタに記憶させる。この後、ス
テツプ1030および1031において現在読込んだx軸
およびy軸の座標データXおよびYを第2のレジ
スタにも座標データX′およびY′として記憶させ
る。これは、押圧点の軌跡を前回読込んだ座標デ
ータX,Yを基点とし、新たに読込んだ現在の座
標データX,Yを目標点とし、これらの基点と目
標点とを直線で結ぶことにより表示するようにし
ているためである。すなわち、最初に読込んだ座
標データX,Yについては軌跡を表示するための
基点になるべきデータが無いので、この最初の座
標データが軌跡の基点と目標点とに設定される。
The "CALL SENSE" routine uses the pressure detection signal
This is to determine whether the SNS has become "0", and first, the signal is detected as shown in the next step 1020.
It is determined whether SNS is "0" or not. If the pressure detection signal SNS is
If the signal is “0”, proceed to the next step 103.
Proceed to the “CALL DATE READ” routine of
The x-axis and y-axis coordinate data X, Y are read from the AD converter ADC and stored in a first register built in the arithmetic processing unit CPU. Thereafter, in steps 1030 and 1031, the currently read x-axis and y-axis coordinate data X and Y are also stored in the second register as coordinate data X' and Y'. This means that the trajectory of the press point is set at the previously read coordinate data X, Y as the base point, the newly read current coordinate data X, Y is set as the target point, and these base points and the target point are connected with a straight line. This is because it is displayed by That is, since there is no data that should serve as the base point for displaying the trajectory for the first read coordinate data X, Y, this first coordinate data is set as the base point and target point of the trajectory.

このようにして最初の座標データX,Yの読込
みが終了すると、次のステツプ104の「CALL
SENSE」ルーチンへ移り、ステツプ1040におい
て押圧検出信号SNSが“0”になつているかど
うかが再び判別される。ここで、押圧検出信号
SNSが“0”であれば、次の押圧点の座標デー
タX,Yを読込むためにステツプ105の「CALL
DATA READ」ルーチンへ移る。そして、ステ
ツプ1050において新たなx軸の座標データXを読
込み、次にステツプ1051においてy軸の座標デー
タYを読込み、これらの座標データX,Yを第1
のレジスタに記憶させる。
When the reading of the first coordinate data X, Y is completed in this way, the next step 104 is "CALL
The program moves to the "SENSE" routine, and in step 1040, it is determined again whether the press detection signal SNS has become "0". Here, the pressure detection signal
If SNS is “0”, “CALL” in step 105 is executed to read the coordinate data X, Y of the next pressing point.
Move to the "DATA READ" routine. Then, in step 1050, new x-axis coordinate data X is read, then in step 1051, y-axis coordinate data Y is read, and these coordinate data
Store it in the register.

次に、この第2番目の座標データの読込みが終
了するとステツプ106へ進み、ここにおいてフラ
グFLGが“OH”であるかどうかを判別する。す
なわち、ステツプ103の「CALL DATA
READ」ルーチンにおいて読込んだ座標データ
X,Yが最初のものであつたかどうかをフラグ
FLGによつて判別する。もし、フラグFLGが
“OH”ならば、ステツプ107へ進みこのステツプ
において第1番目に読込み第2のレジスタに記憶
されている座標データX′と第2番目に読込み第
1のレジスタに記憶されている座標データXとの
偏差を求め、その偏差が“5H”(16進表示)以上
の値になつているかどうかを判別する。同様に、
第1番目の座標データY′と第2番目の座標デー
タYとの偏差を求め、その偏差が“5H”以上の
値になつているかどうかを判別する。この判別の
結果、偏差が“5H”以上であれば、ステツプ107
からステツプ102へ房り、再び「CALL SENSE」
ルーチンの処理を行う。なお、この場合には第2
のレジスタに記憶されている座標データX′,
Y′は無効とされ、第2番目に読込み第1のレジ
スタに記憶されている座標データX,Yが第1番
目のものとして処理されるようになる。すなわ
ち、前回読込んだ座標データX′,Y′と今回新た
に読込んだ座標データX,Yとの同一座標軸上で
の偏差が“5H”以上ならば、前回読込んだ座標
データX′,Y′は押圧強さの変動等に起因する不
連続性のデータと見做され、ステツプ1030におい
て第1のレジスタに記憶されている最新の座標デ
ータX,Yが前回読込んだ座標データX′,Y′と
して第2のレジスタに記憶される。
Next, when reading of the second coordinate data is completed, the process advances to step 106, where it is determined whether the flag FLG is "OH". In other words, "CALL DATA" in step 103
A flag indicating whether the coordinate data X, Y read in the “READ” routine was the first one.
Distinguished by FLG. If the flag FLG is "OH", the process advances to step 107, and in this step, the coordinate data X' read first and stored in the second register, and the coordinate data X' read second and stored in the first register Find the deviation from the coordinate data Similarly,
The deviation between the first coordinate data Y' and the second coordinate data Y is determined, and it is determined whether the deviation is a value of "5H" or more. As a result of this determination, if the deviation is “5H” or more, step 107 is performed.
From there, go to step 102 and press “CALL SENSE” again.
Perform routine processing. In this case, the second
The coordinate data X′ stored in the register of
Y' is invalidated, and the coordinate data X, Y read second and stored in the first register is processed as the first coordinate data. In other words, if the deviation between the previously read coordinate data X', Y' and the newly read coordinate data X, Y on the same coordinate axis is "5H" or more, the previously read coordinate data X', Y' is regarded as discontinuous data due to fluctuations in pressing strength, etc., and in step 1030, the latest coordinate data X, Y stored in the first register is replaced with the previously read coordinate data X' , Y' in the second register.

しかし、ステツプ107における判別の結果、第
1番目に読込んだ座標データX′,Y′と2番目に
読込んだ座標データX,Yとの偏差が“5H”末
満ならば、これらのデータは連続性があるものと
され、次のステツプ108へ進み、座標データX′,
Y′がデイスプレイ装置の画面上の画素座標に対
応するように変換される。この後、ステツプ109
においてフラグFLGを“80H”に設定し、さらに
ステツプ111において座標データX,Y(第1のレ
ジスタに記憶)がデイスプレイ装置の画面上の画
素座標に対応するように変換される。そして、次
のステツプ112において画素座標に変換されたデ
ータCX′,CY′およびCX,CYが出力レジスタ
RG3およびRG4に転送される。この後、ステ
ツプ113へ進み、ここにおいて“CALL LINE”
ルーチンが実行され、データCX′,CY′とデータ
CX,CYとで示される座標位置の画素間が直線に
よつて結ばれて画面上に表示される。
However, as a result of the determination in step 107, if the deviation between the first read coordinate data X', Y' and the second read coordinate data X, Y is less than "5H", these data are assumed to be continuous, and proceed to the next step 108, where the coordinate data X′,
Y' is transformed to correspond to pixel coordinates on the screen of the display device. After this, step 109
In step 111, the flag FLG is set to "80H", and in step 111, the coordinate data X, Y (stored in the first register) is converted to correspond to the pixel coordinates on the screen of the display device. Then, in the next step 112, the data CX', CY' and CX, CY converted to pixel coordinates are output to the output register.
Transferred to RG3 and RG4. After this, proceed to step 113 and press “CALL LINE” here.
The routine is executed and data CX′, CY′ and data
The pixels at the coordinate positions indicated by CX and CY are connected by straight lines and displayed on the screen.

このようにして、2つの押圧点に対応する画素
間が直線で結合されて押圧点の軌跡として表示さ
れると、次にステツプ114においてレジスタRG
4の記憶データCX,CYがレジスタRG3へ転送
される。これは、第3番目の押圧点に対応する画
素座標が指定された場合に、第2番目の押圧点に
対応する画素座標を軌跡表示のための新たな基点
としておくためのものである。
In this way, when the pixels corresponding to the two pressed points are connected by a straight line and displayed as the locus of the pressed points, next in step 114 the register RG
4 storage data CX, CY are transferred to register RG3. This is to set the pixel coordinates corresponding to the second pressed point as a new base point for trajectory display when the pixel coordinates corresponding to the third pressed point are specified.

ステツプ114の処理が終了すると、次のステツ
プ115においてフラグFLGが“80H”に設定され
た後ステツプ1030へ戻り、第1のレジスタに記憶
されている第2番目の座標データXが第2のレジ
スタへデータX′として記憶される。そして、次
のステツプにおいて第1のレジスタに記憶されて
いる第2番目の座標データYが第2のレジスタへ
データY′として記憶される。
When the processing in step 114 is completed, the flag FLG is set to "80H" in the next step 115, and then the process returns to step 1030, where the second coordinate data X stored in the first register is stored in the second register. is stored as data X'. Then, in the next step, the second coordinate data Y stored in the first register is stored in the second register as data Y'.

これにより、第3番目の座標データを読込む状
態に移り、ステツプ104の「CALL SENSE」ル
ーチンが再度実行される。そして、押圧検出信号
SNSが“0”であれば、ステツプ105の「CALL
DATA READ」ルーチンが実行されてステツプ
1050および1051において第3番目の新たな座標デ
ータX,Yが読込まれる。
As a result, the process moves to a state where the third coordinate data is read, and the "CALL SENSE" routine of step 104 is executed again. And the press detection signal
If SNS is “0”, step 105 “CALL
DATA READ” routine is executed and steps are taken.
At 1050 and 1051, the third new coordinate data X, Y is read.

この第3番目の新たな座標データは第1のレジ
スタに記憶される。
This third new coordinate data is stored in the first register.

次に、ステツプ106においてフラグFLGが
“OH”であるかどうかが判別される。この時、
フラグFLGはステツプ115において“80H”に設
定されているため、次のステツプ110へ進み、今
度は第2番目の座標データX′,Y′と第3番目の
座標データX,Yとの偏差が“5H”以上である
かが判別される。もし、偏差が“5H”未満であ
れば、これらの座標データは連続性があるものと
される。そして、ステツプ111において新たに読
込んだ第3番目の座標データX,Yがデイスプレ
イ装置の画面上の画素座標に対応するように変換
され、この後前述の場合と同様にして第2番目の
押圧点に対応する画素座標と第3番目の押圧点に
対応する画素座標とが直線で結ばれて表示され
る。
Next, in step 106, it is determined whether the flag FLG is "OH". At this time,
Since the flag FLG is set to "80H" in step 115, the process advances to the next step 110, and this time the deviation between the second coordinate data X', Y' and the third coordinate data X, Y is determined. It is determined whether the value is “5H” or more. If the deviation is less than "5H", these coordinate data are considered to be continuous. Then, in step 111, the newly read third coordinate data X, Y is converted to correspond to the pixel coordinates on the screen of the display device, and then the second press The pixel coordinates corresponding to the point and the pixel coordinates corresponding to the third pressed point are connected by a straight line and displayed.

このようにして順次読込まれる座標データは前
後の座標データ同志で連続性が判別された後、押
圧点の移動に追従した軌跡として表示される。す
なわち、偏差が“5H”未満の座標データは互に
連続性がある正しいもの(座標データの真値)と
されてデイスプレイ装置に出力される。
The coordinate data sequentially read in this way is displayed as a locus that follows the movement of the pressing point after the continuity of the previous and subsequent coordinate data is determined. That is, coordinate data with a deviation of less than "5H" are regarded as mutually continuous and correct (true values of coordinate data) and output to the display device.

しかし、ステツプ110における判別の結果、第
2番目の座標データX′,Y′と第3番目の座標デ
ータX,Yとの同一座標軸上での偏差が“5H”
以上ならば、ステツプ110からステツプ116へ進
み、ここにおいてフラグFLGが“81H”より大き
いか否かが判断される。この時、フラグFLGは
“80H”であるためにステツプ117へ進み、ここに
おいてこのフラグFLGの内容がインクリメント
される。すなわち、フラグFLGはステツプ117に
おいて“81H”に更新される。この後、ステツプ
1030を経由せずにステツプ104へ戻つて再び
「CALL SENSE」ルーチンが実行される。そし
て、さらにステツプ105において第4番目の座標
データX,Yが読込まれる。次いで、ステツプ
106を介してステツプ110へ進み、ここにおいて第
2のレジスタに記憶されている座標データX′,
Y′と第1のレジスタに記憶されている座標デー
タX,Yとの偏差が“5H”以上か否かが判別さ
れる。すなわち、ここではステツプ117から
「CALL SENSE」ルーチンへ直接戻つたため、
第2のレジスタの記憶内容は更新されておらず第
2番目の座標データが前回読込んだ座標データの
真値として記憶されている。このため、ステツプ
110においては第2番目に読込んだ座標データ
X′,Y′と第4番目に新たに読込んだ座標データ
X,Yとの偏差が“5H”以上、か否かが判別さ
れることになる。
However, as a result of the determination in step 110, the deviation between the second coordinate data X', Y' and the third coordinate data X, Y on the same coordinate axis is "5H".
If so, the process advances from step 110 to step 116, where it is determined whether the flag FLG is greater than "81H". At this time, since the flag FLG is "80H", the process advances to step 117, where the contents of the flag FLG are incremented. That is, the flag FLG is updated to "81H" in step 117. After this, step
The process returns to step 104 without passing through 1030, and the "CALL SENSE" routine is executed again. Then, in step 105, the fourth coordinate data X, Y is read. Then step
106 to step 110, where the coordinate data X',
It is determined whether the deviation between Y' and the coordinate data X, Y stored in the first register is "5H" or more. In other words, here we return directly to the "CALL SENSE" routine from step 117, so
The storage contents of the second register have not been updated, and the second coordinate data is stored as the true value of the previously read coordinate data. For this reason, the steps
For 110, the second read coordinate data
It is determined whether the deviation between X', Y' and the fourth newly read coordinate data X, Y is greater than "5H".

この判別の結果、両者の偏差が“5H”未満な
らば、ステツプ110からステツプ111へ進んで第4
番目の座標データX,Yの画素座標への変換が実
行されて前述の場合と同様にして軌跡として表示
される。従つて、この場合には第3番目の座標デ
ータは無効とされる。
As a result of this determination, if the deviation between the two is less than "5H", the process advances from step 110 to step 111 and the fourth step is performed.
The conversion of the coordinate data X, Y into pixel coordinates is executed and displayed as a trajectory in the same manner as in the above case. Therefore, in this case, the third coordinate data is invalid.

しかし、ステツプ110の判別の結果、第2番目
および第4番目の座標データの偏差が再び“5H”
以上ならば、ステツプ116へ再び進み、ここにお
いてフラグFLGが“81H”より大きいか否かが判
別される。この時、フラグFLGは“81H”である
ため、ステツプ117へ進みここにおいて「FLG=
“82H”」にインクリメントされる。この後、前述
の場合と同様に、ステツプ104,105の処理が行な
われた後、ステツプ1050および1051において第5
番目の座標データX,Yが読込まれて第1のレジ
スタに記憶される。
However, as a result of the determination in step 110, the deviation of the second and fourth coordinate data is again “5H”.
If this is the case, the process returns to step 116, where it is determined whether the flag FLG is greater than "81H". At this time, since the flag FLG is "81H", the process advances to step 117 and here "FLG=
It is incremented to “82H”. Thereafter, as in the case described above, after steps 104 and 105 are performed, the fifth step is performed in steps 1050 and 1051.
The th coordinate data X, Y is read and stored in the first register.

そして、ステツプ106を介してステツプ110へ進
み、再び第1のレジスタに記憶されている座標デ
ータX,Y(すなわち、第5番目の座標データ)
と第2のレジスタに記憶されている座標データ
X′,Y′(すなわち、第2番目の座標データ)との
偏差が“5H”以上か否かが判別される。
Then, the process proceeds to step 110 via step 106, and again the coordinate data X, Y stored in the first register (that is, the fifth coordinate data)
and the coordinate data stored in the second register
It is determined whether the deviation from X' and Y' (that is, the second coordinate data) is "5H" or more.

この判別の結果、両者の偏差が“5H”以上な
らば、ステツプ116へ進んで再びフラグFLGの判
別が行なわれる。この時、フラグFLGは既に
“82H”になつているため、ステツプ118へ進んで
今度は“80H”に設定される。この後、今度はス
テツプ1030および1031へ戻り、第2のレジスタに
第5番目の座標データX,Yが新たな真値として
記憶され、以後ステツプ104に続く各ステツプの
処理が実行される。
As a result of this determination, if the difference between the two is "5H" or more, the process advances to step 116 and the flag FLG is determined again. At this time, since the flag FLG has already been set to "82H", the process advances to step 118 and is set to "80H" this time. After this, the process returns to steps 1030 and 1031, and the fifth coordinate data X, Y are stored in the second register as new true values, and the processing of each step subsequent to step 104 is executed thereafter.

すなわち、ステツプ105〜1051において第6番
目の座標データX,Yが新たに読込まれ、続いて
ステツプ110において第5番目の座標データX′,
Y′と第6番目の座標データX,Yとの偏差が
“5H”以上か否かが判別される。この判別の結
果、偏差が“5H”未満ならばステツプ111におい
て第6番目に読込んだ座標データX,Yの画素座
標への変換が行なわれて前述の場合と同様にして
軌跡の表示が行なわれる。この場合、第3のレジ
スタRG3には第2番目の押圧点に対応した画素
座標が記憶されているため、第2番目の押圧点に
対応する画素座標と第6番目の押圧点に対応する
画素座標とが直線で結ばれることになる。すなわ
ち、前回に真値とした座標データに対して“5H”
以上の偏差の座標データが3回連続した場合には
次の座標データは真値として判別されて軌跡の表
示のために出力される。
That is, in steps 105 to 1051, the sixth coordinate data X, Y is newly read, and then in step 110, the fifth coordinate data X',
It is determined whether the deviation between Y' and the sixth coordinate data X, Y is greater than or equal to "5H". As a result of this determination, if the deviation is less than "5H", the sixth read coordinate data X, Y is converted into pixel coordinates in step 111, and the locus is displayed in the same manner as in the previous case. It will be done. In this case, since the pixel coordinates corresponding to the second pressing point are stored in the third register RG3, the pixel coordinates corresponding to the second pressing point and the pixel coordinates corresponding to the sixth pressing point The coordinates will be connected by a straight line. In other words, “5H” for the coordinate data that was the true value last time.
If the coordinate data with the above deviation occurs three times in a row, the next coordinate data is determined as the true value and output for displaying the locus.

このように、ステツプ110において前回の座標
データとの連続性が否定されたものであつても、
これがn回連続したならば第n+1番目の座標デ
ータは正しいものとして出力することにより、押
圧点座標の変化幅が大きい場合の座標データの脱
落を防止することができ、押圧点の移動に忠実に
追従した軌跡を表示させることができる。
In this way, even if continuity with the previous coordinate data is denied in step 110,
If this occurs n times in a row, the (n+1)th coordinate data is output as correct, which prevents the coordinate data from being dropped when the range of change in the pressed point coordinates is large, and allows you to faithfully follow the movement of the pressed point. The tracked trajectory can be displayed.

さて、押圧操作は時間的に連続して行なわれる
とは限らず、ある一定の時間間隔をおいて行なわ
れることがある。このような場合には最初の押圧
操作が連続しているのかを識別しなければ、2つ
の独立した押圧操作による押圧点の軌跡が連続し
たものとなる。
Now, the pressing operation is not necessarily performed continuously in time, but may be performed at certain time intervals. In such a case, unless it is determined whether the first pressing operation is continuous, the loci of the pressing points resulting from two independent pressing operations will be continuous.

そこで、このフローチヤートには押圧操作の時
間間隔を識別するためのソフトウエア的なタイマ
手段が設けられている。
Therefore, this flowchart is provided with a software timer means for identifying the time interval between pressing operations.

すなわち、ステツプ1020において押圧検出信号
SNSが“0”か否かが判別されるが、信号SNS
が“0”でなければ押圧操作がなされていないも
のとしてステツプ1021へ進み、ここにおいてソフ
トタイマの値TMDが“FF”(16進表示)に設定
される。この後、ステツプ1022において信号
SNSが“0”か否かを再び判別し、“0”でなけ
れば次のステツプ1023へ進み、ここにおいてソフ
トタイマの値TMDが“0”になつているかどう
か、すなわち所定時間経過したかどうかを判別す
る。この判別の結果、TMDが“0”でなければ
ステツプ1024においてソフトタイマの値をデクレ
メント(TMD−1)し、ステツプ1022へ戻る。
そして、このステツプ1022において再び信号
SNSが“0”か否かを判別する。そして、この
段階においても信号SNSが“0”でなければ未
だ押圧操作がなされていないものとしてステツプ
1023→1024→1022の処理を繰り返し、この繰り返
しの中でソフトタイマの値TMDを“1”ずつ減
じて行く。この結果、ソフトタイマの値TMDが
“0”になれば、所定時間の間押圧操作がなされ
なかつたものとしてステツプ100の初期条件の判
別ステツプへ復帰させる。
That is, in step 1020, the pressure detection signal is
It is determined whether SNS is “0” or not, but the signal SNS
If it is not "0", it is assumed that no pressing operation has been performed, and the process proceeds to step 1021, where the value TMD of the soft timer is set to "FF" (in hexadecimal notation). After this, in step 1022, the signal
It is determined again whether or not SNS is "0", and if it is not "0", the process proceeds to the next step 1023, where it is determined whether the soft timer value TMD is "0", that is, whether a predetermined time has elapsed. Determine. As a result of this determination, if TMD is not "0", the value of the soft timer is decremented (TMD-1) in step 1024, and the process returns to step 1022.
Then, in this step 1022, the signal is
Determine whether SNS is “0” or not. If the signal SNS is "0" at this stage, it is assumed that no pressing operation has been performed and the step is continued.
The process of 1023→1024→1022 is repeated, and during this repetition, the value TMD of the soft timer is decremented by "1". As a result, if the value TMD of the soft timer becomes "0", it is assumed that no pressing operation has been performed for a predetermined period of time, and the process returns to step 100, the initial condition determination step.

しかし、ソフトタイマの値TMDが“0”にな
らないうちに押圧操作が行なわれると、ステツプ
1022からステツプ103の「CALL DATA
READ」ルーチンへ移り、座標データX,Yの
読込みを順次行う。
However, if the pressing operation is performed before the soft timer value TMD reaches "0", the step
“CALL DATA” from step 1022 to step 103
The program moves to the ``READ'' routine and sequentially reads the coordinate data X and Y.

従つて、連続的な押圧操作が行なわれた場合に
は前述のようにして座標データX,Yが連続して
順次読込まれるようになる。しかし、所定時間隔
てた2つの押圧操作については、最初の押圧操作
が終つた後ステツプ100へ復帰し、次の押圧操作
に対する座標データX,Yの読込みがフラグ
FLGを“OH”とした後始めらるようになる。こ
の結課、時間的に大きく離れた押圧操作に対する
座標データX,Yは互いに区別されてデイスプレ
イ装置に出力されることになり、全く独立した軌
跡として表示することができる。
Therefore, when a continuous pressing operation is performed, the coordinate data X and Y are successively read in sequence as described above. However, for two pressing operations separated by a predetermined time interval, the process returns to step 100 after the first pressing operation is completed, and the reading of the coordinate data X, Y for the next pressing operation is flagged.
You can start it after setting FLG to “OH”. As a result of this, the coordinate data X and Y for pressing operations that are temporally widely separated are output to the display device while being distinguished from each other, and can be displayed as completely independent trajectories.

これは、ステツプ1040〜1044についても全く同
様である。
This is exactly the same for steps 1040-1044.

以上説明したように、本発明は、2つのAD変
換器の各入力につながる積分回路の入力にスイツ
チ手段を設け、このスイツチ手段の開閉を駆動電
圧の交互印加用制御信号により制御し、駆動電圧
印加側の積分回路に対して駆動電圧が直線入力さ
れることを阻止するように構成したものである。
As explained above, the present invention provides a switch means at the input of an integrating circuit connected to each input of two AD converters, controls the opening and closing of this switch means by a control signal for alternately applying a drive voltage, and It is configured to prevent the driving voltage from being linearly input to the integrating circuit on the application side.

このため、アナログ・デイジタル変換動作の遅
れを解消し、押圧点の移動に正確に追従した座標
データを出力することができる。
Therefore, delays in analog-to-digital conversion operations can be eliminated, and coordinate data that accurately follows the movement of the pressing point can be output.

なお、実施例では被押圧体として点状のスペー
サを備えたものを使用したが、これに限定される
ものではない。
In addition, in the embodiment, an object having dot-shaped spacers was used as the object to be pressed, but the object is not limited to this.

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

第1図は本発明に使用する被押圧体の一例を示
す構造図、第2図は本発明の一実施例を示すブロ
ツク図、第3図はその動作を説明するためのタイ
ムチヤート、第4図は座標データに基づく軌跡表
示に到るまでのフローチヤートである。 1,2……抵抗膜、FF1,FF2……フリツプフ
ロツプ、AG1,AG2……アンドゲート、SW1
SW2……スイツチ、Q1〜Q6……トランジスタ、
ITG1,ITG2……積分回路、ADC……AD変換
器、PU……プロセツサユニツト、CPU……演算
処理装置、MEM……メモリ。
FIG. 1 is a structural diagram showing an example of a pressed body used in the present invention, FIG. 2 is a block diagram showing an embodiment of the present invention, FIG. 3 is a time chart for explaining its operation, and FIG. The figure is a flowchart up to displaying a trajectory based on coordinate data. 1, 2...Resistive film, FF 1 , FF 2 ...Flip-flop, AG 1 , AG 2 ...And gate, SW 1 ,
SW 2 ... Switch, Q 1 ~ Q 6 ... Transistor,
ITG 1 , ITG 2 ...Integrator circuit, ADC...AD converter, PU...Processor unit, CPU...Arithmetic processing unit, MEM...Memory.

Claims (1)

【特許請求の範囲】 1 2枚の抵抗膜を対向配置し、これらの抵抗膜
に駆動電圧を交互に印加し、一方の抵抗膜の押圧
による両抵抗膜の接触点における電位信号を駆動
電圧不印加側の抵抗膜の駆動電圧印加電極および
積分回路を介して2つのAD変換器に交互に入力
し、前記接触点の電位信号をデイジタル値に変換
して押圧点の座標データとして出力する座標検出
装置において、 前記2つのAD変換器の各入力につながる積分
回路の入力にスイツチ手段を設け、このスイツチ
手段の開閉を前記駆動電圧の交互印加用制御信号
により制御して駆動電圧印加側の積分回路に対し
て駆動電圧が直接入力されることを阻止するよう
に構成したことを特徴とする座標検出装置。
[Claims] 1. Two resistive films are arranged facing each other, a driving voltage is applied alternately to these resistive films, and a potential signal at a contact point between both resistive films due to pressing of one of the resistive films is changed to the driving voltage. Coordinate detection that alternately inputs the driving voltage of the resistive film on the application side to two AD converters via the application electrode and the integration circuit, converts the potential signal of the contact point into a digital value, and outputs it as coordinate data of the pressed point. In the apparatus, a switch means is provided at the input of the integrating circuit connected to each input of the two AD converters, and the opening and closing of the switch means is controlled by the control signal for alternately applying the drive voltage, so that the integrating circuit on the side to which the drive voltage is applied is controlled. A coordinate detection device characterized in that it is configured to prevent a drive voltage from being directly input to the coordinate detection device.
JP56192353A 1981-11-30 1981-11-30 Coordinate detector Granted JPS5894074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56192353A JPS5894074A (en) 1981-11-30 1981-11-30 Coordinate detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56192353A JPS5894074A (en) 1981-11-30 1981-11-30 Coordinate detector

Publications (2)

Publication Number Publication Date
JPS5894074A JPS5894074A (en) 1983-06-04
JPH0225530B2 true JPH0225530B2 (en) 1990-06-04

Family

ID=16289859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56192353A Granted JPS5894074A (en) 1981-11-30 1981-11-30 Coordinate detector

Country Status (1)

Country Link
JP (1) JPS5894074A (en)

Also Published As

Publication number Publication date
JPS5894074A (en) 1983-06-04

Similar Documents

Publication Publication Date Title
KR100187805B1 (en) Microcomputer provided with built-in converter
GB1567213A (en) Device for the acquisition and storage of a electrical signal
US4573076A (en) Image sensor including a repeating read function
JPH0225532B2 (en)
JPH0225528B2 (en)
JPH0225530B2 (en)
JPH0225533B2 (en)
JPH0225531B2 (en)
US5909382A (en) Tablet with system power saving features including reactivation by pencontact after inactive period
JPH0136146B2 (en)
JPH0225529B2 (en)
JP3305339B2 (en) Multi-scan display
JPH1074126A (en) Coordinate position input device
JPH082744Y2 (en) Coordinate input data processing device
JPH0366687B2 (en)
JP2888264B2 (en) Peak sample output circuit
JPS58221476A (en) Input device
US5455581A (en) Digital-to-analog converter employing a common trigger and reference signal
SU1418751A1 (en) Linear interpolator
SU1661755A1 (en) Device for function extremums detection
JPS5912665Y2 (en) 2-axis travel control device
SU1509960A1 (en) Device for input of graphic information
JP2520836Y2 (en) Video switching device
SU966684A1 (en) Information input device
SU1160387A1 (en) Information input device