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

JPH0312329B2 - - Google Patents

Info

Publication number
JPH0312329B2
JPH0312329B2 JP56157474A JP15747481A JPH0312329B2 JP H0312329 B2 JPH0312329 B2 JP H0312329B2 JP 56157474 A JP56157474 A JP 56157474A JP 15747481 A JP15747481 A JP 15747481A JP H0312329 B2 JPH0312329 B2 JP H0312329B2
Authority
JP
Japan
Prior art keywords
scanning
keyboard
circuit
input
key
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
JP56157474A
Other languages
Japanese (ja)
Other versions
JPS5858641A (en
Inventor
Tamotsu Ito
Shigeru Hirahata
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP56157474A priority Critical patent/JPS5858641A/en
Publication of JPS5858641A publication Critical patent/JPS5858641A/en
Publication of JPH0312329B2 publication Critical patent/JPH0312329B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/20Dynamic coding, i.e. by key scanning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Input From Keyboards Or The Like (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は、キーボード部と該キーボード部より
のキー入力情報を入力される装置本体部とが分離
して成るキーボード装置において、キーボード部
と本体部との間を信号線で結び、キーボード部に
おけるどのキーで入力操作がなされたかを本体側
で識別する装置に関するものである。 キーボード装置は、通常第1図に示すように装
置本体部1とキーボード部2とが分離しており、
その間を数本の信号ライン3で接続する構成にな
つている。 従来のキーボード部の構成の1例を第2図にブ
ロツク図で示す。同図において、キーボード部
は、キー4がマトリツクス状に配置されているキ
ーボード5(キー4の操作により、交叉しいる2
本の信号線の間が閉じられる)を、出力ラツチ6
と入力ラツチ7との間に接続したものから成り、
データバスライン8本(D0〜D7)と出力ラツチ
セレクト信号OSEL、入力ラツチセレクト信号
ISELの各1本の計10本の信号ラインでキーボー
ド部と図示せざる本体部との間を接続している。
この従来の方法では、ハードウエアの構成が簡単
である反面、信号ラインが10本もあり、接続すべ
き信号ラインが間違いやすい、信号ラインを接続
するためのコネクタが特殊なものになる、たとえ
信号ラインをたばねて1本にしたとしてもかなり
太い信号ラインとなり、キーボード部を移動する
際の大きな障害となる、などの欠点があつた。 そこで信号ラインの本数をへらして、1本の信
号ラインだけで本体部とキーボード部の間を接続
する構成としたものが第3図に示した従来の構成
例である。同図に示すものは、キー4がマトリツ
クス状に配置されているキーボード5をマイクロ
プロセツサユニツト(MPU)8の入出力端子に
接続させ、水晶振動子9を用いたクロツク発生回
路10のクロツク信号によりMPU8が動作する
構成としたものである。この構成により、MPU
8の動作プログラムと本体部の動作プログラムと
を整合することで、1本の入出力信号ライン
(SI/SO)のみの接続ですむこととなつた。しか
しながらこの方法では、信号ラインの本数が少な
い反面、動作プログラムが本体部のみならずキー
ボード部にも必要となり、動作プログラムが複雑
となる、キーボード部のMPU8の処理速度を決
定するための独立したクロツク発生回路10を必
要とするうえに、その周波数精度が高い周波数精
度を必要とする、などの欠点があつた。 本発明は、上記した従来技術の欠点をなくし、
簡単なハードウエアを用いるだけで、本体部とキ
ーボード部とを接続する信号ラインの本数をそれ
なりに減らすことのできるキーボード装置を提供
することにある。 上記目的を達するため、本発明は、キーボード
部と該キーボード部よりのキー入力情報を入力さ
れる装置本体部とが分離して成るキーボード装置
において前記キーボード部に、入力クロツク信号
に同期して該キーボード部の各キーを走査してど
のキーに入力操作がなされたかを識別する第1の
走査手段を設け、前記本体部には、前記クロツク
信号をカウント(走査)してそのカウント値を出
力するカウンタから成る第2の走査手段を設け、
先ず走査開始のための同期信号を前記第1の走査
手段と第2の走査手段へ送出して両走査手段によ
る走査を同時に開始させ、前記第1の走査手段に
おいて入力操作のあつたキーが識別されたとき、
該第1の走査手段から第2の走査手段へ該識別出
力を送出してその時点における第2の走査手段に
よる走査(カウント)出力を保持させ、該保持出
力から前記キーボード部におけるキー入力操作情
報を本体部において判別しうるようにしたもので
ある。 以下、図面を用いて本発明を説明する。 第4図は、本発明の1実施例を示すブロツク図
である。同図において、キーボード部2は、本体
部1から入力さるクロツク信号(パルス)
CLOCKを分周する分周回路11、該分周回路1
1からの1/16分周、1/32分周、1/64分周の3つの
分周出力QD,QE,QFを3入力A,B,Cとする
デコーダ回路12,8ビツトの入力データ(A〜
H)を直列に1ビツトずつ出力QHする並直変換
回路13とから成るキー走査識別手段と、キー4
がマトリツクス状にデコーダ12の出力線と並直
変換回路13の入力線の交叉点上に、配置された
キーボード5により構成されている。分周回路1
1は、クロツクパルスのカウント値により第1表
のように分周値出力(QC,QD,QE,QF)を発生
する回路である。
The present invention provides a keyboard device in which a keyboard portion and a main body portion into which key input information from the keyboard portion is input are separated, in which a signal line connects the keyboard portion and the main body portion, and This relates to a device that identifies on the main body side whether an input operation has been performed using a key. A keyboard device usually has a main body part 1 and a keyboard part 2 separated, as shown in FIG.
The structure is such that several signal lines 3 are used to connect them. An example of the configuration of a conventional keyboard section is shown in a block diagram in FIG. In the figure, the keyboard section includes a keyboard 5 in which keys 4 are arranged in a matrix (by operating the keys 4, two
(the space between the signal lines is closed), the output latch 6
and the input latch 7,
8 data bus lines (D 0 to D 7 ), output latch select signal OSEL, input latch select signal
A total of 10 signal lines, one for each ISEL, connect the keyboard section and the main body section (not shown).
Although this conventional method has a simple hardware configuration, there are as many as 10 signal lines, so it is easy to make mistakes in connecting the signal lines, and the connectors used to connect the signal lines are special. Even if the lines were folded into a single line, the signal line would be quite thick, which had the disadvantage of posing a major obstacle when moving the keyboard section. Therefore, the conventional configuration shown in FIG. 3 is a configuration in which the number of signal lines is reduced and only one signal line is used to connect the main body and the keyboard. The one shown in the figure connects a keyboard 5 on which keys 4 are arranged in a matrix to the input/output terminals of a microprocessor unit (MPU) 8, and generates a clock signal from a clock generation circuit 10 using a crystal oscillator 9. This is a configuration in which the MPU 8 operates. This configuration allows MPU
By matching the operation program of 8 and the operation program of the main unit, it became possible to connect only one input/output signal line (SI/SO). However, with this method, although the number of signal lines is small, an operation program is required not only for the main body but also for the keyboard, making the operation program complicated. There are disadvantages such as not only the generation circuit 10 is required, but also the frequency accuracy thereof requires high frequency accuracy. The present invention eliminates the above-mentioned drawbacks of the prior art,
To provide a keyboard device in which the number of signal lines connecting a main body part and a keyboard part can be reduced to a certain extent just by using simple hardware. In order to achieve the above object, the present invention provides a keyboard device in which a keyboard section and a main body section into which key input information from the keyboard section is input are separated. A first scanning means is provided to scan each key of the keyboard section to identify which key has been inputted, and the main body section counts (scans) the clock signal and outputs the count value. providing a second scanning means consisting of a counter;
First, a synchronizing signal for starting scanning is sent to the first scanning means and the second scanning means, so that scanning by both scanning means is started simultaneously, and the key on which the input operation was performed is identified in the first scanning means. When it is done,
The identification output is sent from the first scanning means to the second scanning means to hold the scanning (count) output by the second scanning means at that time, and key input operation information on the keyboard section is obtained from the held output. can be determined from the main body. The present invention will be explained below using the drawings. FIG. 4 is a block diagram showing one embodiment of the present invention. In the figure, the keyboard section 2 receives a clock signal (pulse) input from the main body section 1.
Frequency divider circuit 11 that divides CLOCK, frequency divider circuit 1
Decoder circuit 12, 8 bits with three divided outputs Q D , Q E , Q F of 1/16, 1/32, and 1/64 divided from 1 as 3 inputs A, B, and C. input data (A~
key scanning identification means consisting of a parallel-to-serial conversion circuit 13 that serially outputs Q H) one bit at a time;
The keyboard 5 is arranged in a matrix at the intersection of the output line of the decoder 12 and the input line of the parallel-to-serial conversion circuit 13. Frequency divider circuit 1
1 is a circuit that generates frequency division value outputs (Q C , Q D , Q E , Q F ) as shown in Table 1 based on the count value of the clock pulse.

【表】【table】

【表】 ルをそれぞれ示す。
デコーダ回路12は、入力端子A,B,Cの入
力値をデコードし、第2表に示すように、出力端
子Q0〜Q7のうちの1端子のみ出力レベルが“L”
となるデコード出力を発生する回路である。
[Table]
The decoder circuit 12 decodes the input values of the input terminals A, B, and C, and as shown in Table 2, the output level of only one terminal among the output terminals Q0 to Q7 is "L".
This is a circuit that generates the decoded output.

【表】 並直変換回路13は、入力クロツクパルス8個ご
とに、分周回路11のQC出力を用いて8ビツト
並例データ(A〜H)を取り込み、クロツクパル
ス1個ごとに1ビツトづつ直列にQH端子から出
力する回路である。また、本体部1のキーボード
インターフエイス回路は、入力クロツクパルス
CLOCKをカウントするカウンタ回路14、キー
ボード部2からのデータ信号DATAによりカウ
ンンタ回路14のその時点における出力をラツチ
するラツチ回路15、の2つの回路で走査手段を
構成している。 ここで、デコーダ回路12の出力端子Q。並直
変換回路13の入力端子Aとの交点に配置したキ
ー4を押した場合の動作について、第5図のタイ
ミングチヤート図を用いて説明する。先ず本体部
1側からの走査同期信号であるクリア信号
CLEAR(b)がそれまでの“H”レベルから“L”
レベルになるとクリア状態が解除され、分周回路
11およびカウンタ回路14がクロツクパルスa
のカウントを開始する。分周回路11の出力端子
QC,QD,QEの出力レベルは、第5図c,dに示
すように変化するので、クロツクパルスaのカウ
ントを開始してから最初の8個分の間、デコーダ
回路12の出力端子Q0の出力レベルは“L”レ
ベルにあることになる。出力端子Q0Jが“L”レ
ベルにある最初の時点で、分周回路11のQC
力のレベル変化(H→L)を契機として並直変換
回路13に8ビツト並列データをロードするの
で、並直変換回路13の入力端子A〜Hのうち入
力端子Aのみが“L”レベルとなる。この状態を
直列データとして出力すると、クロツクパルスa
のカウント値7のときに、“L”レベベルが走査
同期信号DATA(第5図e)とし直列変換回路1
3のQH端子から出力される。したがつて、本体
部1では、カウンタ回路14が7をカウントし時
点すなわち、カウンタ回路14の出力端子QA
QB,QCの出力レベルf,g,h(第5図参照)が
“H”,“H”,“H”レベルとなつた時点でラツチ
回路15を、前記同期信号DATA(第5図e)を
用いてラツチすれば、デコーダ回路12の出力端
子Q0と並直変換回路13の入力端子Aとの交点
に配置したキーが押されたことがラツチ回路15
のラツチ出力からわかることとなる。 デコーダ回路12の出力端子Q0と並直変換回
路13の入力端子Aとの交点に配置したキー4を
押した場合の動作を以上、説明したわけである
が、以下表現を変えてもう一度、総括的に説明す
る。 デコーダ回路12の出力端子Q0は、動作開始
後、クロツクパルスの最初8発目まではローレベ
ルにあり、その後はハイレベルになる。キー4を
押し続けていても、出力端子Q0のレベルがロー
レベルからハイレベルに変化した途端に、キー4
の押下は認識されなくなる。 即ちデコーダ回路12の出力端子は、Q0,Q1
Q2,Q3,……の順に、クロツクパルス8個分の
期間ずつローレベルに落ちてゆき、所謂走査が行
われている。出力端子Q0について云うなら、出
力端子Q0がローレベルにある期間にキー4が押
下されれば、その状態が、クロツクパルス8個毎
に一度起きる分周回路11のQC出力のレベル変
化(H→L)を契機として並直変換回路13に並
列に読み込まれ、キー4の押下位置がクロツクの
何番目かということでカウントされていく。 キー4を長く押し続けていても、誤検出は起き
ないが、押し続けている期間が余りに短いと、理
屈の上では検出洩れを生じる。但しこれはクロツ
ク周期との兼ね合いで起こる。只今の場合、一回
の走査周期は、Q0,Q1,……,Q7のそれぞれに
8クロツクずつ、即ち8×8=64クロツクである
から、クロツク周波数を1MHzとすると、1クロ
ツクは1マイクロ秒となるので、64マイクロ秒で
1走査周期が終了する。この64マイクロ秒という
1走査周期の間は少なくともキー4をを押し続け
ていないと検出洩れを生じることがあるわけであ
る。しかし人間の動作はどんなに素早くてもミリ
秒オーダなので、本キーボード装置に十分反応す
ることができる。 本発明の本体部側の他の実施例を第6図に示
す。同図においては、カウンタ回路14、フリツ
プフロツプ回路16、ゲート回路17で走査手段
を構成している。フリツプフロツプ回路16は、
キーボード部からの走査同期信号DATAが入力
されると出力端子の出力レベルを“H”レベル
から“L”レベルに変化させ、ゲート回路17を
OFFさせる。したがつて、カウンタ回路14に
入力されるクロツク信号は、カウントを開始して
から、キーボード部からの走査同期信号DATA
が入力されるまでの期間に限定されることとな
る。この実施例では、最終カウント値(キーの押
された位置を表わす情報)をROM回路18のア
ドレス端子(A0〜A5)に入力し、該ROMに予め
記憶された内容に従つて、コード変換されたキー
コードとしてキーの押下位置をデータ端子(D0
〜D7)から出力するように構成している。 また、キーボード部に供給するクロツク信号
に、ゲート回路17の出力信号CLOCK′を使用す
ることにより、複数個のキー入力を読み取ること
ができる。本体部側からの走査同期信号CLEAR
によりカウントを開始したカウント回路14のカ
ウンント動作を、キーボード部側からの走査同期
信号であるDATA信号によりカウント停止する
と同時に本体部の図示せざる中央処理装置にキー
が入力されたことを知らせるストローブ信号をフ
リツプフロツプ16の端子から発生する。中央
処理装置は、このときのキーのコードを読み取
り、次のキー入力をサーチするためのカウント継
続信号を発生する。このカウント継続信号は、ク
リア信号CLEARとOR回路19で論理和が取ら
れ、論理和出力がフリツプフロツプ回路16の
CLEAR端子に入力される。すなわち、クリア信
号CLEARによりカウントを開始したカウント回
路14は、データ信号DATAが入力されるたび
にカウントを停止し、またはカウント継続信号に
よりカウントを継続することにより、中央処理装
置はキーボード上の複数個のキーの入力を知るこ
とができる。 第7図は、本発明のキーボード部側の他の実施
例を示すブロツク図である。本体部から入力され
るクロツク信号CLOCK(パルス)を分周する分
周回路11、該分周回路11からの1/2分周,1/4
分周,1/8分周の3つの分周出力QA,QB,QCを3
入力A,B,Cとするデコーダ回路12、前記分
周回路11からの1/16分周,1/32分周,1/64分周
の3つの分周出力QD,QE,QFをセレクト信号の
3入力A,B,Cとする8入力1出力のマルチプ
レクサ20、からなるキー走査識別手段と、キー
4がマトリツクス状に配置されたキーボード5よ
り本実施例は構成している。 分周回路11およびデコーダ回路12について
は、第4図の実施例を説明する際にすでに記述し
ているのでここでは説明を省略する。 マルチプレクサ20は、セレクト信号用入力端
子A,B,Cに入力される信号レベルに従つて、
第3表に示すように入力データD0〜D7のうちい
ずれか1個をセレクトする回路である。 本体部側からの走査同期信号であるクリア信号
CLEARが“L”レベルになるとクリア状態が解
除され、分周回路11の分周動作が開始する。ク
ロツクパルスCLOCKが入力されるたびにデコー
ダ12の出力端子Q0〜Q7のうちいずれか1端子
のみ“L”レベルになり、8個のクロツクパルス
ごとに一巡するようになつている。
[Table] The parallel-to-serial conversion circuit 13 takes in 8-bit parallel data (A to H) using the QC output of the frequency divider circuit 11 every 8 input clock pulses, and serially converts the data into 1 bit for each clock pulse. This is a circuit that outputs from the Q H terminal. In addition, the keyboard interface circuit of main unit 1 receives input clock pulses.
The scanning means is composed of two circuits: a counter circuit 14 that counts CLOCK, and a latch circuit 15 that latches the output of the counter circuit 14 at that point in time in response to the data signal DATA from the keyboard section 2. Here, the output terminal Q of the decoder circuit 12. The operation when the key 4 arranged at the intersection with the input terminal A of the parallel-to-serial conversion circuit 13 is pressed will be explained using the timing chart shown in FIG. First, a clear signal, which is a scanning synchronization signal, is sent from the main body 1 side.
CLEAR(b) goes from “H” level to “L”
level, the clear state is canceled and the frequency divider circuit 11 and counter circuit 14 receive the clock pulse
Start counting. Output terminal of frequency divider circuit 11
Since the output levels of Q C , Q D , and Q E change as shown in FIG. The output level of Q0 is at the "L" level. At the initial point when the output terminal Q0J is at the "L" level, 8-bit parallel data is loaded into the parallel-to-serial converter circuit 13 triggered by a level change (H→L) of the QC output of the frequency divider circuit 11. , among the input terminals A to H of the parallel-to-serial conversion circuit 13, only the input terminal A becomes "L" level. If this state is output as serial data, the clock pulse a
When the count value is 7, the "L" level becomes the scanning synchronization signal DATA (Fig. 5e) and the serial conversion circuit 1
It is output from the Q H terminal of 3. Therefore, in the main body 1, when the counter circuit 14 counts 7, that is, when the output terminals Q A of the counter circuit 14,
When the output levels f, g, h (see Fig. 5) of Q B and Q C reach the "H", "H", "H" level, the latch circuit 15 is connected to the synchronizing signal DATA (see Fig. 5). e), the latch circuit 15 detects that the key placed at the intersection of the output terminal Q 0 of the decoder circuit 12 and the input terminal A of the parallel-to-serial conversion circuit 13 has been pressed.
This can be seen from the latch output. The operation when pressing the key 4 placed at the intersection of the output terminal Q 0 of the decoder circuit 12 and the input terminal A of the parallel-to-serial conversion circuit 13 has been explained above, but the following will be summarized once again with a different expression. Explain in detail. The output terminal Q0 of the decoder circuit 12 is at a low level until the first 8th clock pulse after the start of operation, and thereafter becomes a high level. Even if you keep pressing key 4, as soon as the level of output terminal Q 0 changes from low level to high level, key 4
Pressing will no longer be recognized. That is, the output terminals of the decoder circuit 12 are Q 0 , Q 1 ,
Q 2 , Q 3 , . . . fall to a low level in the order of eight clock pulses, and so-called scanning is performed. Regarding the output terminal Q 0 , if the key 4 is pressed while the output terminal Q 0 is at low level, the state changes to the level change of the Q C output of the frequency dividing circuit 11 ( The signals are read in parallel into the parallel-to-serial conversion circuit 13 at the timing of H→L), and are counted based on the position on the clock where the key 4 is pressed. Even if the key 4 is held down for a long time, false detection will not occur, but if the period of time that the key 4 is held down is too short, theoretically, detection will be missed. However, this occurs depending on the clock cycle. In the present case, one scanning period is 8 clocks each for Q 0 , Q 1 , ..., Q 7 , that is, 8 x 8 = 64 clocks, so if the clock frequency is 1 MHz, one clock is Since this is 1 microsecond, one scanning period ends in 64 microseconds. If the key 4 is not held down at least during one scanning period of 64 microseconds, detection may be missed. However, human movements, no matter how fast, are on the order of milliseconds, so this keyboard device can respond sufficiently. Another embodiment of the main body side of the present invention is shown in FIG. In the figure, a counter circuit 14, a flip-flop circuit 16, and a gate circuit 17 constitute scanning means. The flip-flop circuit 16 is
When the scanning synchronization signal DATA from the keyboard section is input, the output level of the output terminal is changed from "H" level to "L" level, and the gate circuit 17 is activated.
Turn it off. Therefore, the clock signal input to the counter circuit 14 starts counting and then receives the scanning synchronization signal DATA from the keyboard section.
It will be limited to the period until it is input. In this embodiment, the final count value (information representing the pressed position of the key) is input to the address terminals (A 0 to A 5 ) of the ROM circuit 18, and the code is written according to the contents stored in advance in the ROM. The pressed position of the key is transferred to the data terminal (D 0
It is configured to output from ~ D7 ). Furthermore, by using the output signal CLOCK' of the gate circuit 17 as the clock signal supplied to the keyboard section, it is possible to read a plurality of key inputs. Scan synchronization signal CLEAR from the main unit side
The counting operation of the counting circuit 14 that started counting is stopped by the DATA signal, which is a scanning synchronization signal from the keyboard section, and at the same time, a strobe signal is sent to notify the central processing unit (not shown) of the main body that a key has been input. is generated from the terminal of flip-flop 16. The central processing unit reads the code of the key at this time and generates a count continuation signal for searching for the next key input. This count continuation signal is logically summed with the clear signal CLEAR by the OR circuit 19, and the logical sum output is output from the flip-flop circuit 16.
Input to CLEAR terminal. That is, the counting circuit 14 that started counting by the clear signal CLEAR stops counting every time the data signal DATA is input, or continues counting by the counting continuation signal, so that the central processing unit can You can know the key input. FIG. 7 is a block diagram showing another embodiment of the keyboard portion of the present invention. A frequency divider circuit 11 that divides the clock signal CLOCK (pulse) input from the main body, 1/2 frequency division, 1/4 frequency division from the frequency divider circuit 11
The three divided outputs Q A , Q B , Q C of frequency division and 1/8 frequency division are
A decoder circuit 12 with inputs A, B, and C, and three frequency division outputs Q D , Q E , Q F of 1/16 frequency division, 1/32 frequency division, and 1/64 frequency division from the frequency dividing circuit 11. The present embodiment is comprised of a key scanning identification means consisting of a multiplexer 20 with 8 inputs and 1 output, which has 3 inputs A, B, and C as select signals, and a keyboard 5 in which keys 4 are arranged in a matrix. Since the frequency divider circuit 11 and the decoder circuit 12 have already been described when explaining the embodiment of FIG. 4, their explanation will be omitted here. The multiplexer 20 selects a signal according to the signal level input to the select signal input terminals A, B, and C.
This circuit selects any one of input data D 0 to D 7 as shown in Table 3. Clear signal which is a scanning synchronization signal from the main unit side
When CLEAR goes to "L" level, the clear state is released and the frequency dividing circuit 11 starts the frequency dividing operation. Each time the clock pulse CLOCK is input, only one of the output terminals Q0 to Q7 of the decoder 12 goes to the "L" level, and the clock pulse goes around once every eight clock pulses.

【表】 マルチプレクサ20は、クロツクパルス8個ごと
に、セレクトするデータ入力端子D0〜D7を切り
換えて出力端子Yに出力するので、クロツクパル
ス64個でキーボード5のキー走査が終了すること
になる。 以上説明したごとく、本発明によれば、キーボ
ード部と本体部とが分離されたキーボード装置に
おいて、キーボード部と本体部とを接続する信号
ラインの本数がわずかであり、キーボード部移動
の際障害とならない、キーボードインターフエイ
ス回路のハードウエアが簡単である、キーボード
部でのクロツク信号と本体部でのクロツク信号が
同一であり、キーボード用に特別なクロツク信号
を必要としないので経済的である、キー入力に関
するソフトウエアが簡単であるなどの効果があ
る。また第2図および第3図における従来の実施
例の長所がそのまま本発明に取り入れられている
ことはいうまでもない。 なお、上記した実施例においては、電源ライン
および各信号ライン共通の接地ラインについては
説明ならびに図示を省略している。
[Table] Since the multiplexer 20 switches the data input terminals D 0 to D 7 to be selected and outputs them to the output terminal Y every 8 clock pulses, scanning of the keys of the keyboard 5 is completed with 64 clock pulses. As described above, according to the present invention, in a keyboard device in which the keyboard portion and the main body portion are separated, the number of signal lines connecting the keyboard portion and the main body portion is small, which may cause obstacles when moving the keyboard portion. The hardware of the keyboard interface circuit is simple.The clock signal on the keyboard and the clock signal on the main body are the same, and there is no need for a special clock signal for the keyboard, making it economical. This has advantages such as simple input software. Further, it goes without saying that the advantages of the conventional embodiments shown in FIGS. 2 and 3 are directly incorporated into the present invention. Note that in the above-described embodiments, explanations and illustrations of the ground line common to the power supply line and each signal line are omitted.

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

第1図はキーボード装置の斜視図、第2図は従
来のキーボード部の構成の1例を示すブロツク
図、第3図は従来の他のキーボード部の構成例を
示すブロツク図、第4図は本発明の1実施例を示
すブロツク図、第5図は第4図の実施例の動作を
説明するための各部信号のタイミングチヤート
図、第6図は本発明の他の実施例を示すブロツク
図、第7図は本発明の更に別の実施例を示すブロ
ツク図、である。 符号説明、1……本体部、2……キーボード
部、、3……信号ライン、4……キースイツチ、
5……キーボード、11……分周回路、12……
デコーダ回路、13……並直変換回路、14……
カウンタ回路、15……ラツチ回路、16……フ
リツプフロツプ回路、17……ゲート回路、20
……マルチプレクサ。
Fig. 1 is a perspective view of a keyboard device, Fig. 2 is a block diagram showing an example of the structure of a conventional keyboard section, Fig. 3 is a block diagram showing an example of the structure of another conventional keyboard section, and Fig. 4 is a block diagram showing an example of the structure of a conventional keyboard section. A block diagram showing one embodiment of the present invention, FIG. 5 is a timing chart of signals of each part to explain the operation of the embodiment of FIG. 4, and FIG. 6 is a block diagram showing another embodiment of the present invention. , and FIG. 7 is a block diagram showing still another embodiment of the present invention. Description of symbols, 1...Main unit, 2...Keyboard section, 3...Signal line, 4...Key switch,
5... Keyboard, 11... Frequency dividing circuit, 12...
Decoder circuit, 13... Parallel-to-serial conversion circuit, 14...
Counter circuit, 15... Latch circuit, 16... Flip-flop circuit, 17... Gate circuit, 20
...Multiplexer.

Claims (1)

【特許請求の範囲】 1 キーボード部と該キーボード部よりのキー入
力情報を入力される装置本体部とが分離して成る
キーボード装置において、前記キーボード部に、
入力クロツク信号に同期して該キーボード部の各
キーを走査してどのキーに入力操作がなされたか
を識別する第1の走査手段を設け、前記本体部に
は、前記クロツク信号をカウント(走査)してそ
のカウント値を出力するカウンタから成る第2の
走査手段を設け、先ず走査開始のための同期信号
を前記第1の走査手段と第2の走査手段へ送出し
て両走査手段による走査を同時に開始させ、前記
第1の走査手段において入力操作のあつたキーが
識別されたとき、該第1の走査手段から第2の走
査手段へ該識別出力を送出してその時点における
第2の走査手段による走査(カウント)出力を保
持せ、該保持出力から前記キーボード部における
キー入力操作情報を本体部において判別しうるよ
うにしたことを特徴とするキーボード装置。 2 特許請求の範囲第1項に記載のキーボード装
置において、前記第1の走査手段が、入力クロツ
ク信号を分周する分周回路と、該分周回路からの
分周出力をデコードするデコード回路と、どのキ
ーが入力操作されたかに応じてデコーダ回路から
異なつたデコード出力を異なつたタイミングでデ
ータ入力端子に受け入れるマルチプレクサ回路
と、から成り、前記第2の走査手段は、前記入力
クロツク信号をカウントするカウンタと、前記マ
ルチプレクサ回路からの出力信号が到来したとき
前記カウンタにおけるカウント値を保持する手段
と、から成ることを特徴とするキーボード装置。
[Scope of Claims] 1. A keyboard device in which a keyboard portion and a main body portion into which key input information from the keyboard portion is input are separated, the keyboard portion including:
A first scanning means is provided which scans each key of the keyboard section in synchronization with an input clock signal to identify which key has been inputted, and the main body section is provided with a means for counting (scanning) the clock signal. A second scanning means comprising a counter for outputting the count value is provided, and first, a synchronizing signal for starting scanning is sent to the first scanning means and the second scanning means to start scanning by both scanning means. When the first scanning means identifies a key that has been inputted, the identification output is sent from the first scanning means to the second scanning means, and the second scanning at that point is performed. A keyboard device characterized in that a scanning (count) output by the means is held, and key input operation information on the keyboard part can be determined from the held output in a main body part. 2. In the keyboard device according to claim 1, the first scanning means comprises a frequency dividing circuit that divides the frequency of an input clock signal, and a decoding circuit that decodes the frequency divided output from the frequency dividing circuit. , and a multiplexer circuit that receives different decoded outputs from the decoder circuit to the data input terminal at different timings depending on which key is input operated, and the second scanning means counts the input clock signal. A keyboard device comprising: a counter; and means for holding a count value in the counter when an output signal from the multiplexer circuit arrives.
JP56157474A 1981-10-05 1981-10-05 keyboard device Granted JPS5858641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56157474A JPS5858641A (en) 1981-10-05 1981-10-05 keyboard device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56157474A JPS5858641A (en) 1981-10-05 1981-10-05 keyboard device

Publications (2)

Publication Number Publication Date
JPS5858641A JPS5858641A (en) 1983-04-07
JPH0312329B2 true JPH0312329B2 (en) 1991-02-20

Family

ID=15650465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56157474A Granted JPS5858641A (en) 1981-10-05 1981-10-05 keyboard device

Country Status (1)

Country Link
JP (1) JPS5858641A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6077225A (en) * 1983-10-05 1985-05-01 Pioneer Electronic Corp Encoding circuit of keyboard
JPS61223925A (en) * 1985-03-29 1986-10-04 Fujitsu Ten Ltd Inputting system for computer
JPS63175234U (en) * 1987-04-30 1988-11-14

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5223218A (en) * 1975-08-18 1977-02-22 Casio Comput Co Ltd Key input control unit
JPS56132633A (en) * 1980-03-21 1981-10-17 Omron Tateisi Electronics Co Keyboard encoder

Also Published As

Publication number Publication date
JPS5858641A (en) 1983-04-07

Similar Documents

Publication Publication Date Title
US4434472A (en) General purpose data terminal system with display line refreshing and keyboard scanning using pulsewidth modulation
US3952289A (en) Controller for linking a typewriter console to a processor unit
JPH0312329B2 (en)
EP0420281B1 (en) Luminance interpolation type waveform display apparatus
JPS5824188A (en) Display area indicator
JPS6145839B2 (en)
KR860000596A (en) Slave interface circuit
JPH0472237B2 (en)
JP2602208B2 (en) Display control circuit
SU1269164A1 (en) Device for reading graphic information
JP2775744B2 (en) Digital audible sound generator
JPS61144122A (en) High speed programmable counter
JPH06325196A (en) Bar code reader
JPS62154968A (en) Image processor
JPS5827533B2 (en) signal reader
KR0167893B1 (en) Scan transformation apparatus of image impression/reconstruction device
JPS6242290B2 (en)
JPH05243934A (en) Signal input device
JP2903949B2 (en) Signal processing device for raster image display system
SU1425736A1 (en) Device for reading graphic information off crt screen
JP2883664B2 (en) Analog-to-digital converter
KR900000112B1 (en) Reading method and circuit of keyboard's key inputing
SU1727118A1 (en) Device for information input
KR930010175B1 (en) Image and characters display method using video memory device
JPS6237263Y2 (en)