JPH03164824A - Scanning device - Google Patents

Scanning device

Info

Publication number
JPH03164824A
JPH03164824A JP1303713A JP30371389A JPH03164824A JP H03164824 A JPH03164824 A JP H03164824A JP 1303713 A JP1303713 A JP 1303713A JP 30371389 A JP30371389 A JP 30371389A JP H03164824 A JPH03164824 A JP H03164824A
Authority
JP
Japan
Prior art keywords
potential data
cpu
circuit
access signal
scanning device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1303713A
Other languages
Japanese (ja)
Inventor
Masaki Hamamoto
浜本 正樹
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.)
Nakajima All Precision Co Ltd
Original Assignee
Nakajima All Precision Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nakajima All Precision Co Ltd filed Critical Nakajima All Precision Co Ltd
Priority to JP1303713A priority Critical patent/JPH03164824A/en
Publication of JPH03164824A publication Critical patent/JPH03164824A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent potential data at points in a circuit to be detected from being missed during interruption by ignoring software to send a select signal by a CPU and detecting potential data. CONSTITUTION:A CPU 16 is provided which is connected to rows or columns of a circuit 24 to be detected and succesively sends the select signal to a selecting part 22 at a certain timing independently of software at the time of input of an access signal from access signal generating parts 18 and 20 and reads in potential data at each point included in the row or the column selected by the selecting part 22. Since the CPU 16 ignores software to send the select signal to the selecting part 22 by the access signal and can detect potential data, detection is not interrupted though interrupt is caused. Potential data in one preceding cycle and that of next one cycle are stored in a storage part 30, and they are compared with each other to detect the point where potential data is changed. Thus, misdetection of the change of potential data at points in the circuit 24 to be detected is prevented.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はスキャンニング装置に関する。[Detailed description of the invention] (Industrial application field) The present invention relates to a scanning device.

(従来の技術) 例えば電子タイプライタ(第3図参照)において、キー
ボード12からのキー人力の有無をチエツクするために
スキャンニング装置が設けられている。キーボード12
の各キー14・・・はマトリクス状に配線された被検出
回路(不図示)の行と列で指定される地点に接点が配さ
れており、スキャンニング装置が監視している間に接点
の開閉により当該接点が対応する地点における電位の変
化が有ればキー人力が有り、何のキー14・・・が押さ
れたかを知ることができる。従来のスキャンニング装置
はソフトウェアによって制御されていた0例を挙げると
、被検出回路の行又は列に含まれる全ての地点の電位デ
ータを検出して、次の行又は列について同様の検出を行
い全ての行又は列(つまり全ての地点)について検出す
ると1サイクルの検出が終了する。このようにしてスキ
ャンニング(電位データの検出)が行われるのであるが
、この動作の全てはソフトウェアで制御されている。な
お、lサイクルのスキャンニング終了後、2サイクル目
のスキャンニングを行い、全ての地点における電位デー
タについて先の1サイクルと後の1サイクルについて比
較する。後の1サイクルの間に何れかのキー14・・・
が押されると電位データに変化が生じるのでその変化の
生じた地点から接地つまり押されたキー14・・・を知
ることができるのである。
(Prior Art) For example, in an electronic typewriter (see FIG. 3), a scanning device is provided to check the presence or absence of human keystrokes from the keyboard 12. keyboard 12
Each key 14... has a contact at a point designated by a row and column of a circuit to be detected (not shown) wired in a matrix, and the contact is placed while the scanning device is monitoring. If there is a change in the potential at the point corresponding to the contact due to opening/closing, there is a key force and it is possible to know which key 14... has been pressed. Conventional scanning devices are controlled by software.For example, they detect potential data at all points included in a row or column of a circuit to be detected, and perform the same detection on the next row or column. One cycle of detection ends when all rows or columns (that is, all points) are detected. Scanning (detection of potential data) is performed in this way, and all of this operation is controlled by software. Note that after the completion of one cycle of scanning, a second cycle of scanning is performed, and potential data at all points is compared between the previous one cycle and the next one cycle. During the next cycle, any key 14...
When the key 14 is pressed, a change occurs in the potential data, so the grounding point, that is, the pressed key 14, can be determined from the point where the change occurs.

(発明が解決しようとする課題) しかしながら、上記の従来のスキャンニング装置には次
のような課題が有る。
(Problems to be Solved by the Invention) However, the conventional scanning device described above has the following problems.

スキャンニングをソフトウェアだけで制御すると、割り
込みが入った場合、例えば電子タイプライタの場合、キ
ャリア移動のためのモータが駆動された場合等はそのモ
ータ駆動の処理に要する時間分だけスキャンニングが行
なわれないことになる。その結果1サイクルのスキャン
ニング時間が余計にかかることになる。従って1サイク
ルのスキャンニングに時間がかかると共に、スキャンニ
ングが行われない時間内にキー人力が有った場合は検出
されずタイプミスが生じてしまうという課題が有る。
If scanning is controlled solely by software, if an interrupt occurs, such as when the motor for moving the carrier is driven in the case of an electronic typewriter, scanning will be performed for the time required to process the motor drive. There will be no. As a result, one cycle of scanning takes an extra time. Therefore, one cycle of scanning takes a long time, and if there is a key human power during the time when scanning is not performed, it will not be detected and a typo will occur.

従って、本発明は被検出回路内の地点における電位デー
タの変化の検出ミスを防止可能なスキャンニング装置を
提供することを目的とする。
Therefore, an object of the present invention is to provide a scanning device that can prevent errors in detecting changes in potential data at points within a circuit to be detected.

(課題を解決するための手段) 上記課題を解決するため、本発明は次の構成を備える。(Means for solving problems) In order to solve the above problems, the present invention includes the following configuration.

すなわち、マトリクス状に配線された被検出回路の行と
列で指定される地点の行又は列単位の電位データを順次
検出するスキャンニング装置において、所定のタイミン
グでアクセス信号を発生するアクセス信号発生部と、前
記被検出回路の行又は列と接続され、選択信号が順次入
力されるに従い電位データを検出する行又は列を順次選
択する選択部と、前記被検出回路の列又は行と接続され
、前記アクセス信号発生部から前記アクセス信号が入力
されるとソフトウェアとは無関係に前記選択部へ前記選
択信号を一定のタイミングで順次送り、選択部が選択し
た行又は列に含まれる各地点の電位データを読み込むC
PUとを具備することを特徴とし、電位データの変化が
有った地点の判定を可能とする場合は、上記スキャンニ
ング装置に前記CPUが読み込んだ電位データをソフト
ウェアと無関係に記憶する記憶部を設けると共に、前記
CPUは前記記憶部に先に読み込んだ全ての地点の電位
データである!サイクル分の電位データと、当該サイク
ル直後の1サイクル分の電位データとを記憶し、両者を
比較することにより前記被測定回路における電位変化地
点を判定することを特徴とする。
That is, in a scanning device that sequentially detects potential data in row or column units at points designated by rows and columns of a detected circuit wired in a matrix, an access signal generation section that generates an access signal at a predetermined timing is used. a selection unit connected to the row or column of the circuit to be detected and sequentially selecting a row or column for detecting potential data as selection signals are sequentially input; and a selection unit connected to the column or row of the circuit to be detected; When the access signal is input from the access signal generation section, the selection signal is sequentially sent to the selection section at a constant timing regardless of software, and the selection section generates potential data at each point included in the selected row or column. Load C
If it is possible to determine a point where there is a change in potential data, the scanning device may include a storage unit that stores the potential data read by the CPU independently of software. In addition, the CPU has previously read potential data of all points into the storage section! The present invention is characterized in that potential data for a cycle and potential data for one cycle immediately after the cycle are stored, and a potential change point in the circuit under test is determined by comparing the two.

(作用) 作用について説明する。(effect) The effect will be explained.

アクセス信号によってCPUはソフトウェアを無視して
選択部へ選択信号を送り、電位データの検出が可能なの
で、割り込みが入ってもその間の検出は中断されないの
で、電位データの変化を見落とすことが無い、また、記
憶部に先の1サイクル分の電位データと次の1サイクル
分の電位データを記憶して両者を比較することに゛より
電位データの変化があった地点を検知できる。
The access signal causes the CPU to ignore the software and send a selection signal to the selection section, enabling detection of potential data, so even if an interrupt occurs, detection will not be interrupted, so changes in potential data will not be overlooked. By storing the potential data for one previous cycle and the potential data for the next one cycle in the storage section and comparing the two, it is possible to detect a point where the potential data has changed.

(実施例) 以下、本発明の好適な実施例について添付図面と共に詳
述する。
(Embodiments) Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

本実施例においては電子タイプライタ(第3図参照)の
キーボード12のどのキー14・・・が押されたかを検
出するために電子タイプライタ10へ組み込まれるスキ
ャンニング装置を例に説明する。
In this embodiment, a scanning device incorporated into an electronic typewriter 10 for detecting which key 14 on the keyboard 12 of the electronic typewriter (see FIG. 3) is pressed will be described as an example.

第1図に本実施例のスキャンニング装置の回路図を示す
FIG. 1 shows a circuit diagram of the scanning device of this embodiment.

16はCP U (Central Processi
ng Llnit)であり、電子タイプライタ10の制
御を行うマイクロプロセッサである。このCPUI6に
はDMA(Direct Me+5ory Acces
s)機能が設けられている。
16 is a CPU (Central Process
ng Llnit), which is a microprocessor that controls the electronic typewriter 10. This CPU6 has DMA (Direct Me+5ory Accesses)
s) Functions are provided.

DMA機能とはソフトウェアとは無関係にDMAを指示
するアクセス信号が入力されると記憶部(後述)への読
み、書き等、アクセスが可能となる機能で、割り込みが
CPU16に入ってもハードウェアで記憶部へのアクセ
スを可能にしたものである。なお、DMA機能を有しな
いCPUであってもDMA機能を有する回路と接続して
DMA機能を当該CPUに持たせたものであってもよい
のは言うまでもない。
The DMA function is a function that allows access such as reading and writing to the storage section (described later) when an access signal instructing DMA is input, regardless of software. Even if an interrupt enters the CPU 16, the hardware will not This allows access to the storage section. It goes without saying that even if the CPU does not have a DMA function, it may be connected to a circuit that has a DMA function to provide the CPU with a DMA function.

18は分周回路であり、CPU16のクロックパルス(
例:パルス間隔163ナノ秒)を適宜分周して分周パル
ス(例:パルス間隔2ミリ秒)を出力する。
18 is a frequency dividing circuit, which receives the clock pulse of the CPU 16 (
For example, a pulse interval of 163 nanoseconds is divided appropriately to output a frequency-divided pulse (for example, a pulse interval of 2 milliseconds).

20はフリップフロップから成るパルス発生回路であり
、分周回路18の出力Qをクロックパルスとして作動す
る。パルス発生回路20からは出力Q(出力しo−のパ
ルス)がトリガパルス(例:パルス幅1マイクロ秒)と
して所定の時間間隔(例:2ミリ秒)で出力される。こ
のトリガパルスがアクセス信号となり、本実施例では前
記分周回路18とパルス発生回路20でアクセス信号発
生部が構成される。なお、分周回路18の出力Qを反転
してアクセス信号とすることも考えられるが、本実施例
の場合、分周回路18の出力Qのパルス間隔が2ミリ秒
であり、Lo−の時間が1ミリ秒有るのでアクセス信号
としてはパルス幅が長過ぎるためパルス発生回路20を
設けている。もちろんアクセス信号発生部としては分周
回路18とパルス信号発生回路20を一体にした回路構
成にしてもよいのはもちろんである。
Reference numeral 20 denotes a pulse generating circuit composed of a flip-flop, which operates using the output Q of the frequency dividing circuit 18 as a clock pulse. The pulse generating circuit 20 outputs an output Q (output o- pulse) as a trigger pulse (eg, pulse width 1 microsecond) at a predetermined time interval (eg, 2 milliseconds). This trigger pulse becomes an access signal, and in this embodiment, the frequency dividing circuit 18 and the pulse generating circuit 20 constitute an access signal generating section. Note that it is possible to invert the output Q of the frequency divider circuit 18 and use it as an access signal, but in the case of this embodiment, the pulse interval of the output Q of the frequency divider circuit 18 is 2 milliseconds, and the Lo- time Since the pulse width is 1 millisecond, the pulse width is too long for an access signal, so a pulse generation circuit 20 is provided. Of course, the access signal generating section may have a circuit configuration in which the frequency dividing circuit 18 and the pulse signal generating circuit 20 are integrated.

22は選択部の一例であるシフトレジスタであり、被検
出回路24のマトリクス配線の各行の配線が行端子Q 
O−Q、にそれぞれ接続されている。
22 is a shift register which is an example of a selection section, and each row of the matrix wiring of the detected circuit 24 is connected to a row terminal Q.
They are connected to O-Q, respectively.

シフトレジスタ22のシフトパルスはCPU16の10
  RD端子からの出力であり、この出力はアクセス信
号であるパルス発生回路20の出力頁がCPU16のD
MA  RQ端子に入力されるとCPUI6から出力さ
れるパルスである。シフトレジスタ22はシフトパルス
が入力される度に行端子Qo→Q、  ・・・Q8→Q
、の順に1端子ずつ電圧旧gh (例:+5V)を印加
する。なお、シフトパルスが10回(予め定められてい
る回数である)送られるとCPU16のDMA  EN
D端子からLowのパルスが送られてシフトレジスタ2
2はクリアされ次に旧ghを印加する端子をQoに戻す
ようになっている。
The shift pulse of the shift register 22 is 10 of the CPU 16.
This is the output from the RD terminal, and this output is an access signal.
This is a pulse that is output from the CPUI 6 when input to the MA RQ terminal. The shift register 22 changes the row terminals Qo→Q, ...Q8→Q every time a shift pulse is input.
, apply the voltage GH (example: +5V) to each terminal one by one in this order. Note that when the shift pulse is sent 10 times (a predetermined number of times), the CPU 16's DMA EN
A low pulse is sent from the D terminal to shift register 2.
2 is cleared and then the terminal to which the old gh is applied is returned to Qo.

なお、被検出回路24の列Po−P、はバッファ26を
介してデータバス28・・・によりパラレルにCPU1
6へ接続されている。
Incidentally, the columns Po-P of the detected circuits 24 are connected to the CPU 1 in parallel via a buffer 26 and a data bus 28 .
Connected to 6.

30は記憶部であるRAM (Random Acce
ssMemory)であり、第1のメモリ32と第2の
メモ1J34を含むように記憶エリアが割り当てられて
いる。第1のメモリ32には現在検出した被検出回路2
4の列PoxP、の電位データが8ビツトのバイナリデ
ータとして記憶される。一方、第2のメモリ34には第
1のメモリ32内のデータを検出する直前に検出した被
検出回路24の列P。
30 is a RAM (Random Access
ssMemory), and a storage area is allocated to include the first memory 32 and the second memo 1J34. The first memory 32 stores the currently detected circuit 2.
The potential data of column PoxP of 4 is stored as 8-bit binary data. On the other hand, the second memory 34 stores the column P of the detected circuits 24 detected immediately before the data in the first memory 32 is detected.

〜P、の電位データが8ビツトのバイナリデータとして
記憶される。RAM30へのCPUI 6(7)アクセ
スはパスライン36を介して可能になっており、また、
前記のDMA機能により特定のタイミングにおいてソフ
トウェアには関係な(アクセス可能になっている。
~P, potential data is stored as 8-bit binary data. CPUI 6(7) access to RAM 30 is enabled via pass line 36, and
The DMA function described above makes the software irrelevant (accessible) at specific timings.

なお、被検出回路24は電子タイプライタ10のキーボ
ード12のキー14・・・の押下を検出するマトリクス
回路であり、キー14・・・が押下されるとキー14・
・・と対応して配されているスイッチ38・・・が閉じ
て、閉じている間に当該スイッチ38が所属する行Qo
−Q、に旧ghが印加されると、当該スイッチ38が所
属する列PoxPtの出力電位は旧ghとなる。
The detected circuit 24 is a matrix circuit that detects the pressing of the keys 14 on the keyboard 12 of the electronic typewriter 10, and when the keys 14 are pressed, the keys 14, .
The switch 38... arranged corresponding to... is closed, and while it is closed, the row Qo to which the switch 38 belongs is closed.
-Q, when the old gh is applied, the output potential of the column PoxPt to which the switch 38 belongs becomes the old gh.

次に第1図及び第2図と共に上記スキャンニング装置の
動作について説明する。
Next, the operation of the scanning device will be explained with reference to FIGS. 1 and 2.

CPU16のクロックパルスを分周回路18で分周し、
その出力Qをパルス発生回路20へ入力してその出力可
をアクセス信号としてCPU16のDMA  RQ端子
へ入力する。これによりCPU16はDMA可能となる
と共に、10  RD端子からLo−を出力してシフト
パルスとしてシフトレジスタ22のCLK端子へ送る。
The clock pulse of the CPU 16 is divided by the frequency dividing circuit 18,
The output Q is inputted to the pulse generation circuit 20, and the output enable is inputted to the DMA RQ terminal of the CPU 16 as an access signal. As a result, the CPU 16 becomes capable of DMA, and also outputs Lo- from the 10RD terminal and sends it to the CLK terminal of the shift register 22 as a shift pulse.

シフトレジスタ22は先ず最初に行端子Qoに電圧旧g
h (例:+5v)を印加する。その時電子タイプライ
タ10のキーボード12のキー14・・・が押下されて
いなければ、また、行端子Qoに接続されている行配線
に接続されているスイッチ38・・・に対応するキー1
4・・・が押下されていなければ列Po−P、の出力は
全てLo%1となりデータバス2B・・・を介してCP
UI 6へは“oooo。
The shift register 22 first applies a voltage g to the row terminal Qo.
Apply h (example: +5v). At that time, if the key 14... of the keyboard 12 of the electronic typewriter 10 is not pressed, the key 1 corresponding to the switch 38... connected to the row wiring connected to the row terminal Qo
If 4... is not pressed, all outputs of columns Po-P become Lo%1 and are sent to CP via data bus 2B...
“oooo” to UI 6.

000”の電位データが取り込まれ、CPU16は第2
のメモリ34にデータSoとして書き込む(第2図(b
)参照)。但し、例えば行端子Q。
000" potential data is taken in, and the CPU 16
write as data So in the memory 34 of (Fig. 2(b)
)reference). However, for example, row terminal Q.

に接続され、且つ列P1に接続されたスイッチ3日が対
応するキー14の押下により閉じていた場合、データバ
ス28・・・からCPU16へ取り込まれる電位データ
はSo=“oioooooo”となる。
When the switch 3 connected to the column P1 is closed by pressing the corresponding key 14, the potential data taken into the CPU 16 from the data bus 28 . . . becomes So=“oiooooooo”.

従って、押下されたキー14が何であるかを検知するこ
とが可能になる。そして、次の10  RD倍信号シフ
トレジスタ22に入ると、行端子Q1にのみ電圧旧gh
が印加され、同様に行端子Q、に対応する列Po−P、
の8ビツトの電位データが取り込まれ、第2のメモリ3
4へ電位データS。
Therefore, it is possible to detect which key 14 was pressed. Then, when entering the next 10 RD times signal shift register 22, the voltage old gh is applied only to the row terminal Q1.
is applied to the column Po-P, which similarly corresponds to the row terminal Q,
8-bit potential data is taken in and stored in the second memory 3.
4 to potential data S.

として書き込まれる(第2図(b)参照)、この作業が
操り返されて第2のメモリ34にSo〜S。
(see FIG. 2(b)), this operation is repeated and stored in the second memory 34 as So to S.

の電位データが記憶されるとCPU16の10■信号は
10回送られたことになるのでCPU16からDMA 
 END信号がシフトレジスタ22のCLR端子へ送ら
れ、シフトレジスタ22は次の10  RD倍信号らは
Highを印加する行端子をQOに戻す、そして、CP
U16・は取り込んだ電位データをデータROとして第
1のメモリ32へ書き込む(第2図(a)参照)、そし
て次の行端子Q、に対応する列PO〜Pyの電位データ
はデータSlとして第1のメモリ32に書き込まれ(第
2図(a)参照)、この動作をやはり10回繰り返す。
When the potential data of is stored, the 10■ signal of the CPU 16 has been sent 10 times, so the DMA is sent from the CPU 16.
The END signal is sent to the CLR terminal of the shift register 22, and the shift register 22 receives the next 10 RD times signals, which returns the row terminal applying High to QO, and then returns the CP
U16 writes the captured potential data as data RO to the first memory 32 (see FIG. 2(a)), and the potential data of columns PO to Py corresponding to the next row terminal Q is written as data Sl. 1 (see FIG. 2(a)), and this operation is repeated 10 times.

第1のメモリ32と第2のメモリ34にデータが10個
ずつ取り込まれると、CPUl6は両者のデータを比較
し、両者が一致すれば第2のメモリ34へのデータの書
き込み終了から第1のメモリ32へのデータの書き込み
終了までにキー14・・・の押下又は押下解除が無かっ
たと判断する。一方、両者が−敗しなかった場合、キー
14・・・の押下(データが0から1に変化した場合)
、又は押下解除(データが1から0に変化した場合)が
有ったと判断し、CPU16は押下と判断した場合、例
えば当該キー14に対応するキャラクタの印字等の動作
を予め定められたプログラムに従って行う、比較(判断
)が終了したらCPUI 6は第1のメモリ32の内容
を第2のメモリ34へ移し、第1のメモリ32をクリア
する(必ずしもクリアしなくてよい)、そして次回の検
出した電位データはデータRo−R,として第1のメモ
リ32へ記憶し、再び第1のメモリ32の内容を先に第
1のメモリ32にあった従前データである第2のメモリ
34の内容と比較する。
When 10 pieces of data are loaded into the first memory 32 and the second memory 34, the CPU 16 compares the two pieces of data, and if they match, it starts from the end of writing the data to the second memory 34. It is determined that the keys 14 . On the other hand, if both parties do not lose, press key 14 (if the data changes from 0 to 1)
, or the press has been released (when the data changes from 1 to 0), and when the CPU 16 determines that the key has been pressed, the CPU 16 performs an operation such as printing a character corresponding to the key 14 according to a predetermined program. When the comparison (judgment) is completed, the CPU 6 transfers the contents of the first memory 32 to the second memory 34, clears the first memory 32 (does not necessarily have to be cleared), and performs the next detection. The potential data is stored in the first memory 32 as data Ro-R, and the contents of the first memory 32 are again compared with the contents of the second memory 34, which is the previous data that was previously in the first memory 32. do.

この動作の繰り返しによってCPU16はキーボード1
2のキー14・・・が押されたかどうかのスキャンニン
グを行うのである。
By repeating this operation, the CPU 16
Scanning is performed to determine whether or not the key 14 . . . 2 has been pressed.

上述の実施例において、スキャンニング装置は電子タイ
プライタのキーボードのキーの押下のスキャンニング用
として挙げたが、その他、スキャンニング装置としては
例えばデジタイザのプロッティングの有無を検出するた
めのスキャンニング用に用いることも可能である。
In the above embodiments, the scanning device is used for scanning key presses on the keyboard of an electronic typewriter, but the scanning device may also be used for scanning, for example, for detecting the presence or absence of plotting on a digitizer. It can also be used for.

以上、本発明の好適な実施例について種々述べて来たが
、本発明は上述の実施例に限定されるのではなく、発明
の精神を逸脱しない範囲で多くの改変を施し得るのはも
ちろんである。
Although various preferred embodiments of the present invention have been described above, the present invention is not limited to the above-mentioned embodiments, and it goes without saying that many modifications can be made without departing from the spirit of the invention. be.

(発明の効果) 本発明に係るスキャンニング装置を用いると、割り込み
に起因して生じるスキャンニングの遅れが生じないので
、割り込み中断の間に被検出回路の地点における電位デ
ータの見落しを防止可能となる。また、請求項4又は5
の構成を採用すれば被検出回路の地点における電位デー
タの変化の検出忘れを防止することができる等の著効を
奏する。
(Effects of the Invention) When the scanning device according to the present invention is used, there is no scanning delay caused by interrupts, so it is possible to prevent potential data from being overlooked at a point in the detected circuit during interruption of interrupts. becomes. Also, claim 4 or 5
If this configuration is adopted, it will be effective to prevent forgetting to detect a change in potential data at a point in the circuit to be detected.

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

第1図は本発明に係るスキャンニング装置の実施例を示
した回路図、第2図はその記憶部の記憶内容を示した説
明図、第3図は実施例の電子タイプライタの斜視図。 16・・・CPU5 1B・・・分周回路、20 ・ ・パルス発生回路、 22 ・ ・シフト レジスタ、 24 ・ ・被検出回路、 30 ・ RAM。
FIG. 1 is a circuit diagram showing an embodiment of a scanning device according to the present invention, FIG. 2 is an explanatory diagram showing the stored contents of a storage section thereof, and FIG. 3 is a perspective view of an electronic typewriter according to the embodiment. 16... CPU5 1B... Frequency dividing circuit, 20... Pulse generation circuit, 22... Shift register, 24... Detected circuit, 30... RAM.

Claims (1)

【特許請求の範囲】 1、マトリクス状に配線された被検出回路の行と列で指
定される地点の行又は列単位の電位データを順次検出す
るスキャンニング装置において、 所定のタイミングでアクセス信号を発生するアクセス信
号発生部と、 前記被検出回路の行又は列と接続され、選択信号が順次
入力されるに従い電位データを検出する行又は列を順次
選択する選択部と、前記被検出回路の列又は行と接続さ
れ、前記アクセス信号発生部から前記アクセス信号が入
力されるとソフトウェアとは無関係に前記選択部へ前記
選択信号を一定のタイミングで順次送り、選択部が選択
した行又は列に含まれる各地点の電位データを読み込む
CPUとを具備することを特徴とするスキャンニング装
置。 2、前記アクセス信号発生部は前記CPUのクロック信
号を分周する分周回路と、該分周回路の出力のタイミン
グに同期してCPUへアクセス信号を送るパルス発生回
路とからなることを特徴とする請求項1記載のスキャン
ニング装置。 3、前記選択部はシフトレジスタであって、前記選択信
号は前記CPUから送られるシフトパルスであることを
特徴とする請求項1又は2記載のスキャンニング装置。 4、前記CPUが読み込んだ電位データをソフトウェア
とは無関係に記憶する記憶部を具備するこを特徴とする
請求項1、2又は3記載のスキャンニング装置。 5、前記CPUは前記記憶部に先に読み込んだ全ての地
点の電位データである1サイクル分の電位データと、当
該サイクル直後の1サイクル分の電位データとを記憶し
、両者を比較することにより前記被測定回路における電
位変化地点を判定することを特徴とする請求項4記載の
スキャンニング装置。
[Claims] 1. In a scanning device that sequentially detects potential data in units of rows or columns at points specified by rows and columns of a circuit to be detected wired in a matrix, an access signal is sent at a predetermined timing. an access signal generation section that generates an access signal; a selection section that is connected to the row or column of the circuit to be detected and that sequentially selects a row or column for detecting potential data as selection signals are sequentially input; and a column of the circuit to be detected. or connected to a row, and when the access signal is input from the access signal generation section, the selection signal is sequentially sent to the selection section at a constant timing regardless of software, and the selection signal is included in the row or column selected by the selection section. A scanning device comprising a CPU that reads potential data at each point. 2. The access signal generating section is characterized by comprising a frequency dividing circuit that divides the frequency of the clock signal of the CPU, and a pulse generating circuit that sends an access signal to the CPU in synchronization with the timing of the output of the frequency dividing circuit. The scanning device according to claim 1. 3. The scanning device according to claim 1 or 2, wherein the selection section is a shift register, and the selection signal is a shift pulse sent from the CPU. 4. The scanning device according to claim 1, 2 or 3, further comprising a storage unit that stores the potential data read by the CPU independently of software. 5. The CPU stores in the storage section one cycle's worth of potential data, which is the potential data of all the points previously read, and one cycle's worth of potential data immediately after the cycle, and compares the two. 5. The scanning device according to claim 4, further comprising determining a potential change point in the circuit under test.
JP1303713A 1989-11-22 1989-11-22 Scanning device Pending JPH03164824A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1303713A JPH03164824A (en) 1989-11-22 1989-11-22 Scanning device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1303713A JPH03164824A (en) 1989-11-22 1989-11-22 Scanning device

Publications (1)

Publication Number Publication Date
JPH03164824A true JPH03164824A (en) 1991-07-16

Family

ID=17924358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1303713A Pending JPH03164824A (en) 1989-11-22 1989-11-22 Scanning device

Country Status (1)

Country Link
JP (1) JPH03164824A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7079297B2 (en) 2002-10-01 2006-07-18 Sony Coporation Optical scan device, image position calibration method, and image display device
JP2007143376A (en) * 2005-11-22 2007-06-07 Sony Corp Electrostatic drive element and projector using the same
US8107133B2 (en) 2007-08-30 2012-01-31 Sony Corporation Image production apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7079297B2 (en) 2002-10-01 2006-07-18 Sony Coporation Optical scan device, image position calibration method, and image display device
JP2007143376A (en) * 2005-11-22 2007-06-07 Sony Corp Electrostatic drive element and projector using the same
US8107133B2 (en) 2007-08-30 2012-01-31 Sony Corporation Image production apparatus

Similar Documents

Publication Publication Date Title
US4752928A (en) Transaction analyzer
US5206948A (en) Bus monitor with means for selectively capturing trigger conditions
KR20010104721A (en) Microprocessing device having programmable wait states
JPH03164824A (en) Scanning device
US6543019B2 (en) Method for built-in self test of an electronic circuit
US20050192791A1 (en) Method for emulating an integrated circuit and semiconductor chip for practicing the method
JPS62135881A (en) Image display unit
JPS60182977A (en) Electronic game apparatus
KR920005607B1 (en) Character display apparatus
JPS5987523A (en) Data storage unit
US4014017A (en) System for editing characters
EP0217348B1 (en) Memory connected state detecting circuit
WO1990015385A1 (en) System and method for cyclical, offset multiport register operation
KR940004257Y1 (en) Circuit for halt operation in pc using dram
JP2634893B2 (en) Single chip microcomputer
JPS6153579A (en) Tester for function of logical circuit
JP2595045B2 (en) Touch panel input device
JPH05107314A (en) Ic testing device
JPH0391195A (en) Memory circuit
JP3365284B2 (en) Touch panel pressed position detection method and device
SU1401594A1 (en) Touchless keyboard
KR900000112B1 (en) Reading method and circuit of keyboard's key inputing
JPH09146662A (en) Suspend/resume method and computer system
CN114461052A (en) Data read-write circuit, chip, electronic equipment and method
JPH0645261Y2 (en) Logic analyzer