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

JPH0225528B2 - - Google Patents

Info

Publication number
JPH0225528B2
JPH0225528B2 JP56192349A JP19234981A JPH0225528B2 JP H0225528 B2 JPH0225528 B2 JP H0225528B2 JP 56192349 A JP56192349 A JP 56192349A JP 19234981 A JP19234981 A JP 19234981A JP H0225528 B2 JPH0225528 B2 JP H0225528B2
Authority
JP
Japan
Prior art keywords
signal
coordinate data
potential
point
pressing
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
JP56192349A
Other languages
Japanese (ja)
Other versions
JPS5894070A (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 JP56192349A priority Critical patent/JPS5894070A/en
Publication of JPS5894070A publication Critical patent/JPS5894070A/en
Publication of JPH0225528B2 publication Critical patent/JPH0225528B2/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 the data into digital values using an AD converter and outputs the data 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変
換器等の動作を制御するプログラムを起動させる
方式がマイクロコンピユータ等を装置全体の制御
手段として用いる点で都合が良い。
By the way, in this type of coordinate detection device,
When converting the potential signal at the contact point of both resistive films due to the pressing operation into digital coordinate data, the fact that one resistive film is pressed is detected by identifying the level of the potential signal, and based on this detection signal. The method of activating a program that controls the operation of an AD converter, etc. is convenient in that a microcomputer or the like is used as a control means for the entire device.

ところが従来において抵抗膜が押圧されたこと
の検出は、一方の抵抗膜に駆動電圧を印加して比
較的大きな電流を流した状態で両抵抗膜の接触点
における電位信号を他方の抵抗膜から取り出し、
この取り出された電位信号のレベルの識別によつ
て行うようにしている。このため、押圧点の位置
によつて電位信号のレベルが大幅に変化してしま
い、識別レベルの決め方によつては押圧操作が行
なわれたことの検出信号が発生されない場合が起
り、押圧点の移動に正確に追従した座標データを
得ることができないという欠点があつた。
However, conventionally, to detect that a resistive film is pressed, a driving voltage is applied to one resistive film to flow a relatively large current, and a potential signal at the contact point of both resistive films is extracted from the other resistive film. ,
This is done by identifying the level of the extracted potential signal. For this reason, the level of the potential signal changes significantly depending on the position of the pressing point, and depending on how the discrimination level is determined, a detection signal indicating that a pressing operation has been performed may not be generated. The drawback was that it was not possible to obtain coordinate data that accurately followed movement.

本発明はこのような欠点を解決するためになさ
れたもので、その目的は押圧点の位置を問わず押
圧操作が行なわれたことを確実に検出し、押圧点
の移動に正確に追従した座標データを出力し得る
ようにした座標検出装置を提供することにある。
The present invention was made to solve these drawbacks, and its purpose is to reliably detect that a pressing operation has been performed regardless of the position of the pressing point, and to obtain coordinates that accurately follow the movement of the pressing point. An object of the present invention is to provide a coordinate detection device capable of outputting data.

このために本発明は、押圧操作の開始が検出さ
れる前は抵抗膜全体の電位を高電位側にシフト
し、抵抗膜には微少電流を流し、押圧点の位置を
問わず高レベルの電位信号が得られるようにした
ものである。
To this end, the present invention shifts the potential of the entire resistive film to a high potential side before the start of the pressing operation is detected, and flows a minute current through the resistive film to maintain a high level potential regardless of the position of the pressing point. This is so that a signal can be obtained.

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

なお、以下の実施例においては、被押圧体とし
て第1図aに示すように2枚の抵抗膜1および2
を、所定間隔で縦横に配置された点状のスペーサ
3を介して対向配置し、一方の抵抗膜を押圧する
ことにより第1図bの断面図に示すように両抵抗
膜をスペーサ3の不在部分で点接触させるように
した構造のものを使用するものとする。
In the following examples, two resistive films 1 and 2 are used as objects to be pressed, as shown in FIG. 1a.
are arranged opposite to each other with dot-like spacers 3 arranged vertically and horizontally at predetermined intervals, and by pressing one of the resistive films, both resistive films can be separated without the spacer 3, as shown in the cross-sectional view of FIG. 1b. A structure that allows point contact at certain parts 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 a positive drive voltage +V1 via transistor Q1
and one electrode 1B is connected to transistor Q2.
connected to ground potential via. Further, the electrode 2A of the second resistive film 2 is connected to the positive drive voltage +V1 via the transistor Q3, and the one electrode 2B is connected to the ground potential via the transistor Q4.

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

フリツプフロツプFF1は2つの抵抗膜1,2
に対する駆動電圧の印加を交互に切換えるための
ものであり、D型フリツプフロツプによつて構成
されている。そのデータ入力端子Dにはプロセツ
サユニツトPUからチヤンネル切換信号CHSが入
力され、またクロツク入力端子CKにはインバー
タINV1によつてチツプセレクタ信号を反転
した信号CSが入力されている。
Flip-flop FF1 has two resistive films 1 and 2.
This is for alternately switching the application of the driving voltage to the circuit, 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 selector signal by the inverter INV1 is inputted to the clock input terminal CK.

従つて、フリツプフロツプFF1は論理“1”
のチヤンネル切換信号CHSが入力されている時
に、論理“0”のチツプセレクト信号がプロ
セツサユニツトPUから発生されると、このチツ
プセレクト信号の立下りタイミング後におい
て論理“1”の信号YDおよび論理“0”の信号
XDを出力する。すなわち、フリツプフロツプFF
1は論理“1”のチヤンネル切換信号CHSが入
力され、かつ論理“0”のチツプセレクト信号
CSが発生すると、トランジスタQ3およびQ4
を導通させ、第2の抵抗膜2の駆動電圧V1を印
加し、矢印で示すy軸方向の電位勾配を生じさせ
る信号を出力する。
Therefore, flip-flop FF1 is logic "1"
When a logic "0" chip select signal is generated from the processor unit PU while the channel switching signal CHS is being input, the logic "1" signal YD and logic “0” signal
Output XD. That is, flip-flop FF
1 indicates that the channel switching signal CHS of logic "1" is input and the chip select signal of logic "0"
When CS occurs, transistors Q3 and Q4
is made conductive, a driving voltage V1 for the second resistive film 2 is applied, and a signal is output that generates a potential gradient in the y-axis direction shown 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 FF1 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
FF1 receives the channel switching signal CHS of logic "0" and the chip select signal of logic "0".
When CS occurs, transistors Q1 and Q2
is made conductive, a driving voltage V1 is applied to the first resistive film 1, and a signal is output that generates a potential gradient in the x-axis direction shown 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, VX of the levels corresponding to the coordinate positions of the pressed point in the y-axis and x-axis directions taken out in this way are input to the integrating circuits ITG1, ITG2 via switches SW1, SW2, respectively.

ここで、2つの抵抗膜1,2は、駆動電圧V1
が交互に印加されている関係上、積分回路ITG
1,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 are connected to a driving voltage V1
is applied alternately, the integration circuit ITG
1. The ground potential is directly applied to ITG2, which slows down the integration operation and, in turn, slows down the conversion speed of potential signals VY and VX into digital values. To prevent this, switches SW1 and SW2 are provided. In other words, in this type of coordinate detection device, the input stage of the AD converter removes ripple components and noise components contained in the potential signals VY and VX, and converts the average value of the potential signals VY and VX into a digital value. It is common practice to add an integrating circuit including a capacitor to the
If it is directly input to ITG1 or ITG2, the capacitor C of these integrating circuits will be discharged by the input of the ground potential, and during the operation of integrating the potential signals VY and VX taken out from each resistor film, the capacitor C of these integrating circuits will not be charged from the ground potential. I have to start it again. Therefore, the potential signal VY,
The integration operation is delayed by the time it takes to charge to the VX level, slowing down the conversion speed to coordinate data.

このために、スイツチ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 reason, the switch SW1 is activated when the output signal YD of the flip-flop FF1 is "1" and the chip select signal CS output from the inverter INV1.
It is turned on (closed state) by the output signal of the AND gate AG1 only when it is "1", and it is turned off when the driving voltage V1 is applied to the first resistive film 1, and the ground potential is connected to the integrating circuit. It is controlled so that it does not directly apply to the input of ITG1. In addition, switch SW2 outputs the output signal XD of flip-flop FF1.
is “1” and the chip select signal CS is “1”
It is turned on (closed state) by the output signal of the AND gate AG1 only when It is controlled so that it does not directly participate.

これにより、コンデンサCを含む積分回路ITG
1,ITG2は、チツプセレクト信号CSの発生期
間だけ電位信号VY,VXの積分動作を行なつて
その積分値を次のチツプセレクト信号CSの発生
タイミングに新たな電位信号VY,VXが印加さ
れるまで保持するようになる。この場合、通常の
押圧操作においては電位信号VY,VXのレベル
の変化率は比較的小さいため、積分回路ITG1,
ITG2におけるコンデンサCは瞬時に新たな電位
信号VY,VXのレベルに充電されるようになり、
積分動作を極めて迅速に終了させることができ
る。
This allows the integrator circuit ITG containing capacitor C to
1. ITG2 integrates the potential signals VY and VX only during the generation period of the chip select signal CS, and applies the integrated value to the new potential signals VY and VX at the timing of the generation of the next chip select signal CS. It will hold up to. In this case, since the rate of change in the level of the potential signals VY and VX is relatively small in normal pressing operations, the integration circuit ITG1,
Capacitor C in ITG2 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 ITG1 and ITG2 in this way have two channels of AD conversion inputs CH1 and CH2.
Input to AD 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 potential signal VX' input to the AD conversion input CH2 of the second channel is selected, and after the chip select signal becomes "1" signal, this signal VX' is converted 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.

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

さて、プロセツサユニツトPUは演算処理装置
CPUやプログラムメモリMEM等によつて構成さ
れ、AD変換器ADCから入力される座標データの
読込みやその連続性の判別等の一連の制御を行つ
て押圧点の移動に正確に追従した座標データとし
て出力するものであるが、このような制御を行う
ためのプログラムの起動はフリツプフロツプFF
2の出力端子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.
Pressure detection signal of logic “0” from output terminal Q of 2
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 V1 is applied alternately to the two resistive films 1 and 2, when a pressing operation is started at an arbitrary timing, potential signals VY and VX corresponding to the pressing point position are extracted. Of these, the signal VX is input to the integrating circuit ITG2 via the switch SW2, while being divided by the resistors R1 and R2 and input to the base of the 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" outputted 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 pressure of logic "0" is detected from the output terminal Q. 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 discrimination.

ところで、抵抗膜が押圧されたことを検出する
に際し、抵抗膜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 caused to flow through the resistive film 1 by applying the driving voltage V1, the potential gradient in the resistive film 1 becomes steep, and the pressing 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. In other words, the transistor Q2 is connected to the output signal of the transistor Q6 (“0”
The transistor Q1 applies only the positive potential of the drive voltage V1 to the resistive film 1 to shift the overall potential of the resistive film 1 to the positive potential side. This allows a small current determined by the impedance of the input side of the transistor Q5 and the integrating circuit ITG2 and the resistance value of the resistive film 1 to flow through the resistive film 1. in this case,
The signal that turns on the transistor Q6 is:
The conversion end signal EOC of the AD converter ADC is used. As can be understood, the AD converter ADC generates a new potential signal VY or
It will be in a state of waiting for VX to be input, so
If this conversion end signal is inverted by the inverter INV2 to control the transistor Q6, 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 will be obtained no matter where the pressure is applied, and even if the discrimination level of transistor Q5 is set slightly high, transistor Q5 will surely become conductive. do. 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 FF1 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 V1 is applied to the first resistive film 1. Further, when the signal XD becomes a "1" signal, a "1" signal is output from the AND gate AG2 during the generation period of the chip select signal, and the switch SW2 is turned on as shown in FIG. However, since the pressing operation has not yet been performed at this time, 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”,
The switch SW2 is turned off. At the same time, A.D.
The converter ADC will start the conversion operation.
However, at this time, since the potential signal VX' to be converted is not input, a conversion end signal of logic "0" is outputted at time t3 , and coordinate data Y of all "0" is outputted. As the conversion end signal becomes “0” at this time t3 ,
Transistor Q6 becomes conductive, and transistor Q2, which had been conductive due to signal XD, becomes non-conductive. As a result, 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 becomes positive during the generation period of the conversion end signal, as shown in FIG. 3f. shifted to the potential side.

この状態で時刻t34のタイミングで押圧操作が
開始されると、電極2Bから第3図gに示すよう
に高レベルの電位信号VXが取り出されて抵抗R
1を介してトランジスタQ5のベースに印加され
る。これによつて、トランジスタQ5のコレクタ
出力から第3図hに示すような信号SNSAが出力
される。この後時刻t4においてチツプセレクト信
号が“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.
1 to the base of transistor Q5. As a result, a signal SNSA as shown in FIG. 3h is output from the collector output of the transistor Q5. After this, when the chip select signal changes to a "0" signal at time t4 , the signal SNSA is taken into the flip-flop FF2 at this falling timing, and its output is used as a press detection signal SNS as shown in FIG. 3i. Output.
This causes the processor unit PU to start a program for reading the coordinates of the pressed point.

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

一方、プロセツサユニツトPUはx軸の座標デ
ータXを読込みを行うに先立ち、時刻t5において
チヤンネル切換信号CHSを“1”信号とする。
これは、次の時刻t7において駆動電圧V1の印加
を第1の抵抗膜1から第2の抵抗膜2へ切換える
ためである。従つて、時刻t7においてチツプセレ
クト信号が“0”信号に変化すると、この立
下りタイミングにおいてフリツプフロツプFF1
の出力信号YDは“1”信号に変化し、一方の出
力信号XDは“0”信号に変化する。これによ
り、今度は第2の抵抗膜2の駆動電圧V1が印加
されるようになる。同時に、チツプセレクト信号
CSが発生している時刻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 V1 from the first resistive film 1 to the second resistive film 2 at the next time t7 . Therefore, when the chip select signal changes to a "0" signal at time t7 , flip-flop FF1 changes at this falling timing.
The output signal YD of the two changes to a "1" signal, and one output signal XD changes to a "0" signal. As a result, the driving voltage V1 for the second resistive film 2 is now applied. At the same time, the chip select signal
The switch is activated at time t 7 to t 8 when CS is occurring.
SW1 is turned on. Therefore, the potential signal VY corresponding to the pressing point in the y-axis direction extracted from the electrode 1B of the first resistive film 1 is applied to this switch SW1.
The signal is input to the integrating circuit ITG1 via. Then,
Integrating circuit ITG1 integrates this input potential signal VY while the chip select signal is being generated, and holds the integrated signal VY' even after the generation of the signal stops.
AD conversion input of the first channel of AD converter ADC
Supply to CH1. As a result, the signal VY' is converted into a digital value from time t 8 to t 9 . 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 FIG. 4 is constructed on the premise that the trajectory of the pressing point will be displayed on the screen of the display device based on the finally obtained coordinate data, so the trajectory of the pressing 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,
Move on to trajectory display processing.

軌跡表示処理においては、まずステツプ101
においてフラグFLGが“OH”に設定される。フ
ラグFLGは、AD変換器ADCから読込んだ座標デ
ータZDが軌跡表示処理へ突入した段階の最初の
ものであるかどうかを判別するためのもので、軌
跡表示処理に突入した段階では“OH”に設定さ
れ、最初の座標データであることが指示される。
フラグFLGの設定が終ると、ステツプ102に
示す「CALL SENSE」ルーチンへ進む。
In the trajectory display process, first step 101
The flag FLG is set to "OH" at the time. 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.
When the setting of the flag FLG is completed, the process proceeds to the "CALL SENSE" routine shown in step 102.

「CALL SENSE」ルーチンは、押圧検出信号
SNSが“0”になつているかどうかを判別する
もので、まず次のステツプ1020に示すように
信号SNSが“0”か否かが判別される。もし、
抵抗膜に対する押圧操作によつて押圧検出信号
SNSが“0”信号になつていれば、次のステツ
プ103の「CALL DATA 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
It is determined whether the signal SNS is "0" or not. First, as shown in the next step 1020, it is determined whether the signal SNS is "0" or not. if,
Pressure detection signal is generated by pressing operation on the resistive film.
If the SNS has become a "0" signal, proceed to the next step 103, the "CALL DATA READ" routine, read the x-axis and y-axis coordinate data X, Y from the AD converter ADC, and send it to the arithmetic processing unit CPU. It is stored in the built-in first register. After this, 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
Store it as 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 locus for the first read coordinate data X, Y, this first coordinate data is set with the base point of the locus as the target point.

このようにして最初の座標データ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, if the press detection signal SNS is "0", the process moves to the "CALL DATA READ" routine of step 105 in order to read the coordinate data X, Y of the next press point. Then, in step 1050, new x-axis coordinate data X is read, and then in step 1051, y-axis coordinate data Y is read, and these coordinate data X and Y are stored in the first register.

次に、この第2番目の座標データに読込みが終
了するとステツプ106へ進み、ここにおいてフ
ラグFLGが“0H”であるかどうかを判別する。
すなわち、ステツプ103の「CALL DATA
READ」ルーチンにおいて読込んだ座標データ
X,Yが最初のものであつたかどうかをフラグ
FLGによつて判別する。もし、フラグFLGが
“0H”ならば、ステツプ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 the reading of the second coordinate data is completed, the process advances to step 106, where it is determined whether the flag FLG is "0H".
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 "0H", 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, the process returns from step 107 to step 102 and the "CALL SENSE" routine is processed again. In addition,
In this case, the coordinate data X', Y' stored in the second register is invalidated, and the coordinate data X, Y' stored in the first register is read second.
Y will be treated as the first one. In other words, the previously read coordinate data X′,
If the deviation between Y' and the newly read coordinate data X, Y on the same coordinate axis is more than "5H", the previously read coordinate data X', Y' is due to fluctuations in pressing strength, etc. In step 1030, the latest coordinate data X, Y stored in the first register is stored in the second register as previously read coordinate data X', Y'. Ru.

しかし、ステツプ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,
The deviation between the first read coordinate data X', Y' and the second read coordinate data X, Y is "5H"
If the coordinate data is less than
X' and Y' are transformed to correspond to pixel coordinates on the screen of the display device. After this, in step 109, the flag FLG is set to "80H",
Furthermore, in step 111, the coordinate data
(stored in the first register) are converted to correspond to pixel coordinates on the screen of the display device.
Then, in the next step 112, data CX', CY' and CX, CY converted into pixel coordinates are transferred to output registers RG3 and RG4. After this, the process proceeds to step 113, where the "CALL LINE" routine is executed and the data is
The pixels at the coordinate positions indicated by CX', CY' and the data CX, CY are connected by a straight line 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 state moves to the state where the third coordinate data is read, and "CALL SENSE" in step 104 is pressed.
The routine is executed again. If the press detection signal SNS is "0", the "CALL DATA READ" routine in step 105 is executed, and the third new coordinate data X, Y is read in steps 1050 and 1051.

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

次に、ステツプ106においてフラグFLGが
“0H”であるかどうかが判別される。この時、フ
ラグ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 "0H". At this time, since the flag FLG is set to "80H" in step 115, the process advances to the next step 110.
This time, it is determined whether the deviation between the second coordinate data X', Y' and the third coordinate data X, Y is greater than or equal to "5H". 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を経由せずにステツプ10
4へ戻つて再び「CALL SENSE」ルーチンが実
行される。そして、さらにステツプ105におい
て第4番目の座標データX,Yが読込まれる。次
いで、ステツプ106を介してステツプ110へ
進み、ここにおいて第2のレジスタに記憶されて
いる座標データX′,Y′と第1のレジスタに記憶
されている座標データX,Yとの偏差が“8H”
以上か否かが判別される。すなわち、ここではス
テツプ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 above, step 110 to step 116
The process proceeds to step 11, where it is determined whether the flag FLG is greater than "81H". At this time, the flag
Since FLG is "80H", the process advances to step 117, where the contents of this flag FLG are incremented. That is, the flag FLG is updated to "81H" in step 117. After this, proceed to step 10 without passing through step 1030.
Returning to step 4, the "CALL SENSE" routine is executed again. Then, in step 105, the fourth coordinate data X, Y is read. Next, the process proceeds to step 110 via step 106, where the deviation between the coordinate data X', Y' stored in the second register and the coordinate data X, Y stored in the first register is determined as " 8H”
It is determined whether or not the value is greater than or equal to the value. In other words, since the process returns directly from step 117 to the "CALL SENSE" routine, the contents of the second register are not updated and the second coordinate data is stored as the true value of the previously read coordinate data. ing. Therefore, in step 110, if the deviation between the second read coordinate data X', Y' and the fourth newly read coordinate data X, Y is "5H" or more,
It will be determined whether or not.

この判別の結果、両者の偏差が“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, where the fourth coordinate data X, Y is converted into pixel coordinates, and the same process as in the previous case is performed. Displayed as a trajectory. Therefore, in this case, the third coordinate data is invalid.

しかし、ステツプ110の判別の結果、第2番
目および第4番目の座標データの偏差が再び
“5H”以上ならば、ステツプ116へ再び進み、
ここにおいてフラグFLGが“81H”より大きいか
否かが判別される。この時、フラグFLGは
“81H”であるため、ステツプ117へ進みここ
において「FLG=“82H”」にインクリメントされ
る。この後、前述の場合と同様に、ステツプ10
4,105の処理が行なわれた後、ステツプ10
50および1051において第5番目の座標デー
タX,Yが読込まれて第1のレジスタに記憶され
る。
However, as a result of the determination in step 110, if the deviation between the second and fourth coordinate data is again "5H" or more, the process proceeds to step 116 again.
Here, 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, where it is incremented to "FLG="82H". After this, as in the previous case, step 10
After the processing of step 4,105 is performed, step 10
At 50 and 1051, the fifth coordinate data X, Y is read and stored in the first register.

そして、ステツプ106を介してステツプ11
0へ進み、再び第1のレジスタに記憶されている
座標データX,Y(すなわち、第5番目の座標デ
ータ)と第2のレジスタに記憶されている座標デ
ータX′,Y′(すなわち、第2番目の座標データ)
との偏差が“5H”以上か否かが判別される。
Then, step 11 is performed via step 106.
0, and again the coordinate data X, Y stored in the first register (i.e., the fifth coordinate data) and the coordinate data X', Y' stored in the second register (i.e., the fifth coordinate data) second coordinate data)
It is determined whether the deviation from the current value 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 deviation between the two is "5H" or more, the process advances to step 116 and the flag FLG is reset again.
A determination is made. At this time, since the flag FLG is already 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”未満ならばステツプ1
11において第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,
Subsequently, in step 110, it is determined whether the deviation between the fifth coordinate data X', Y' and the sixth coordinate data X, Y is greater than "5H". As a result of this judgment, if the deviation is less than “5H”, proceed to step 1.
11, the sixth read coordinate data X,
Conversion to Y pixel coordinates is performed, and the locus is displayed in the same manner as in the previous case. in this case,
Since the pixel coordinates corresponding to the second press point are stored in the third register RG3, the pixel coordinates corresponding to the second press point and the pixel coordinates corresponding to the sixth press point are They will be connected by a straight line. In other words, if coordinate data with a deviation of "5H" or more occurs three times in a row from the previous coordinate data as the true value, the next coordinate data will be determined as the true value and output for displaying the trajectory. .

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

さて、押圧操作は時間的に連続して行なわれる
とは限らず、ある一定の時間間隔をおいて行なわ
れることがある。このような場合には最初の押圧
操作が連続しているのか否かを識別しなければ、
2つの独立した押圧操作による押圧点の軌跡が連
続したものとなる。
Now, the pressing operation is not necessarily performed continuously in time, but may be performed at certain time intervals. In such cases, it is necessary to identify whether the first pressing operation is continuous or not.
The trajectory of the pressing point resulting from two independent pressing operations becomes 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, it is determined whether the press detection signal SNS is "0" or not.
If SNS 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, it is again determined whether the signal SNS is "0" or not.
If not “0”, proceed to the next step 1023,
Here, it is determined whether the value TMD of the soft timer has become "0", that is, whether a predetermined time has elapsed. 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
Return to step 1022. Then, in step 1022, it is again determined whether the signal SNS is "0". And even at this stage, the signal
If SNS is "0", it is assumed that no pressing operation has been performed yet, and steps 1023→1024 are performed.
→The process of 1022 is repeated, and during this repetition, the value TMD of the soft timer is decremented by "1". As a result, the soft timer value TMD is “0”
If this happens, 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 DATE
READ」ルーチンへ移り、座標データX,Yの
読込みを順次行う。
However, if the pressing operation is performed before the soft timer value TMD reaches "0", the "CALL DATE" from step 1022 to step 103 is
The program moves to the ``READ'' routine and sequentially reads the coordinate data X and Y.

従つて、連続的な押圧操作が行なわれた場合に
は前述のようにして座標データX,Yが連続して
順次読込まれるようになる。しかし、所定時間隔
てた2つの押圧操作については、最初の押圧操作
が終つた後ステツプ100へ復帰し、次の押圧操
作に対する座標データX,Yの読込みがフラグ
FLGを“0H”とした後始められるようになる。
この結果、時間的に大きく離れた押圧操作に対す
る座標データ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 reading of the coordinate data X, Y for the next pressing operation is flagged.
You can start after setting FLG to “0H”.
As a result, 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.

以上説明したように、本発明は、押圧操作の開
始が検出される前は抵抗膜全体の電位を高電位側
にシフトし、抵抗膜には微少電流を流し、押圧点
の位置を問わず高レベルの電位信号が得られるよ
うにしたものである。
As explained above, the present invention shifts the potential of the entire resistive film to a high potential side before the start of a pressing operation is detected, and flows a minute current through the resistive film to maintain a high potential regardless of the position of the pressing point. This makes it possible to obtain a level potential signal.

このため、押圧点の位置を問わず押圧操作が行
なわれたことを確実に検出し、押圧点の移動に正
確に追従した座標データを出力することができ
る。
Therefore, it is possible to reliably detect that a pressing operation has been performed regardless of the position of the pressing point, and output coordinate data that accurately follows the movement of the pressing point.

なお、実施例では被押圧体として点状のスペー
サを備えたものを使用したが、これに限定される
ものではない。
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……アンドゲート、SW
1,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, FF1, FF2...Flip-flop, AG1, AG2...AND gate, SW
1, SW2...Switch, Q1-Q6...Transistor, ITG1, ITG2...Integrator circuit, ADC...
…AD converter, PU…processor unit,
CPU...Arithmetic processing unit, MEM...Memory.

Claims (1)

【特許請求の範囲】 1 2枚の抵抗膜を対向配置し、これらの抵抗膜
に高電位側および低電位側のスイツチング素子を
介して駆動電圧を交互に印加し、一方の抵抗膜の
押圧による両抵抗膜の接触点における電位信号を
駆動電圧不印加側の抵抗膜の駆動電圧印加電極か
ら取り出し、該電位信号のレベル識別により押圧
操作が開始されたことを検出し、この後該電位信
号をAD変換器によりデイジタル値に変換して押
圧点の座標データとして出力する座標検出装置に
おいて、 押圧操作の開始が検出される前は前記低電位側
のスイツチング素子を非導通として抵抗膜全体の
電位を高電位側にシフトしておくことを特徴とす
る座標検出装置。 2 前記低電位側のスイツチング素子を非導通と
する信号に前記AD変換器の変換終了信号を用い
ることを特徴とする特許請求の範囲第1項記載の
座標検出装置。
[Claims] 1. Two resistive films are arranged facing each other, and driving voltages are alternately applied to these resistive films through switching elements on the high potential side and the low potential side, and by pressing one of the resistive films. The potential signal at the contact point of both resistive films is extracted from the driving voltage application electrode of the resistive film on the side to which the driving voltage is not applied, and the start of the pressing operation is detected by identifying the level of the potential signal. In a coordinate detection device that converts into a digital value using an AD converter and outputs it as coordinate data of a pressing point, before the start of a pressing operation is detected, the switching element on the low potential side is made non-conductive and the potential of the entire resistive film is adjusted. A coordinate detection device characterized by being shifted to a high potential side. 2. The coordinate detection device according to claim 1, wherein a conversion end signal of the AD converter is used as a signal for making the switching element on the low potential side non-conductive.
JP56192349A 1981-11-30 1981-11-30 Coordinate detector Granted JPS5894070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56192349A JPS5894070A (en) 1981-11-30 1981-11-30 Coordinate detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56192349A JPS5894070A (en) 1981-11-30 1981-11-30 Coordinate detector

Publications (2)

Publication Number Publication Date
JPS5894070A JPS5894070A (en) 1983-06-04
JPH0225528B2 true JPH0225528B2 (en) 1990-06-04

Family

ID=16289790

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS5894070A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04272203A (en) * 1991-02-22 1992-09-29 Union Plan Kk Garland of flower

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61255427A (en) * 1985-05-07 1986-11-13 Nintendo Co Ltd Order data inputting device
JPS63123116A (en) * 1986-11-12 1988-05-26 Sanyo Electric Co Ltd Coordinate data input device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04272203A (en) * 1991-02-22 1992-09-29 Union Plan Kk Garland of flower

Also Published As

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

Similar Documents

Publication Publication Date Title
US4670676A (en) Reset circuit
CN213241186U (en) Electronic device, chip, panel and decoder
JPH05150902A (en) Position reader unified with display device
JPH0225528B2 (en)
US4573076A (en) Image sensor including a repeating read function
JPH0225532B2 (en)
US5909382A (en) Tablet with system power saving features including reactivation by pencontact after inactive period
JPH0225531B2 (en)
JPH0225530B2 (en)
JPH0225533B2 (en)
JPH0225529B2 (en)
JP3305339B2 (en) Multi-scan display
JPS6242286B2 (en)
CN112464702A (en) Electronic device, chip, panel, decoder, and operation method
KR940001557B1 (en) Integrated circuit device
JPS58221476A (en) Input device
JPH1074126A (en) Coordinate position input device
JPS6367208B2 (en)
JPH082744Y2 (en) Coordinate input data processing device
SU1193668A1 (en) Multiplying device
SU1141416A1 (en) Device for correcting programs
SU1509920A1 (en) Matrix-type data processing system
SU842792A1 (en) Number comparing device
SU1160387A1 (en) Information input device
SU1661755A1 (en) Device for function extremums detection