JPS635073Y2 - - Google Patents

Info

Publication number
JPS635073Y2
JPS635073Y2 JP1982191768U JP19176882U JPS635073Y2 JP S635073 Y2 JPS635073 Y2 JP S635073Y2 JP 1982191768 U JP1982191768 U JP 1982191768U JP 19176882 U JP19176882 U JP 19176882U JP S635073 Y2 JPS635073 Y2 JP S635073Y2
Authority
JP
Japan
Prior art keywords
key input
system controller
signal
clock pulse
operation keys
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
Application number
JP1982191768U
Other languages
Japanese (ja)
Other versions
JPS5996613U (en
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 filed Critical
Priority to JP19176882U priority Critical patent/JPS5996613U/en
Publication of JPS5996613U publication Critical patent/JPS5996613U/en
Application granted granted Critical
Publication of JPS635073Y2 publication Critical patent/JPS635073Y2/ja
Granted legal-status Critical Current

Links

Description

【考案の詳細な説明】 〔考案の技術分野〕 この考案は例えば電気機器に於いて、その動作
を外部操作する為の操作キーの操作状態を内部回
路に導びく為のキー入力装置に関する。 〔考案の技術的背景とその問題点〕 例えば、ビデオテープレコーダに於いては、記
録、再生、早送り、巻戻し等といつた各種モード
はこれら各種モードに応じて設けられた操作キー
を操作することによつて指定される。そして、レ
コーダ内部には、上記各種操作キーの操作状態を
一括して判別し、その判別結果に従つて記録や再
生等の動作を実行する為の各種タイミング信号や
制御信号を発生するいわゆるシステムコントロー
ラが設けられている。このシステムコントローラ
はその処理内容が複雑かつ多岐にわたつている
為、一般にマイクロコンピユータによつて構成さ
れることが多い。 上記各種操作キーのキー入力信号をシステムコ
ントローラのような内部回路を導びく為のキー入
力装置としては、第1図乃至第4図に示すような
装置がある。まず、第1図に示す例を説明する
と、SW1〜SW2は各種操作キーであり、11はマ
イクロコンピユータより成るシステムコントロー
ラである。この例は、システムコントローラ11
に操作キーSW1〜SWoだけの入力ポートを設定
し、各入力ポートと電源+B間に対応する操作キ
ーSW1〜SWoを挿入したものである。 しかしながら、上記構成の場合、操作キーSW1
〜SWoの数だけ、システムコントローラ11に入
力ポートが必要となる欠点を有する。 第2図に示す例は、操作キーSW1〜SWoによる
キー入力信号を抵抗R11〜R1oの直列回路によつ
てアナログ信号として発生し、これらアナログ信
号を例えばオペアンプを用いた比較回路121
12oによつてデジタル信号に変換し、システム
コントローラ11に入力するものである。なお、
比較回路121〜12oの基準信号は抵抗R21〜R2o
の直列回路によつて発生される。 この例の場合、先の第1図の例と同様にシステ
ムコントローラ11に操作キーSW1〜SWoの数だ
け入力ポートを設定する必要があるという問題を
有する。また、操作キーSW1〜SWoの数だけ比較
回路121〜12oが必要で構成が複数になるとい
う問題を有する。さらに、各操作キーSW1〜SWo
に優先順位がつけられており、同時操作の区別が
つけられない。例えば操作キーSW1,SWoを同時
に操作しても、システムコントローラ11に操作
キーSW1のキー入力信号しか入力されないわけで
ある。 第3図に示す例は、操作キーSW1〜SWoのキー
入力信号をエンコーダ13によつて2進コード信
号に変換してシステムコントローラ14に入力す
るものである。 この例の場合、先の第1図、第2図の例に比
べ、システムコントローラ14の入力ポートを大
幅に削減することができる。しかしながら、先の
第2図の例と同様に同時操作の区別ができないと
いう欠点を有する。 第4図に示す例はいわゆるスキヤンマトリクス
方式によるキー入力装置である。すなわち、マト
リクス状に組まれた信号線上に操作キーSW1
SWoを配置し、例えばマトリクスの列を成す信号
線を時分割したスキヤンパルスでスキヤンするも
のである。図示の場合、4行×4列のマトリクス
になつているから13個から最高16個の操作キーを
配置可能である。 この例の場合、システムコントローラ11の入
力ポートを大幅に削減できる利点がある。しかし
ながら、スキヤンパルスPpは一般にシステムコン
トローラ11で生成される為、このスキヤンパル
スPp出力用の出力ポートが必要となり、入出力ポ
ート全体からみればポート削減の効果はさほど得
られない。 ここで、上述した4つの例に於いて、信号線の
数について考察してみる。一般に、各種操作キー
SW1〜SWoとシステムコントローラ11とは別基
板に形成されることが多い。したがつて、各種操
作キーSW1〜SWoが配設される基板(以下、キー
ボードと称する)とシステムコントローラ11が
形成される基板間の信号の授受は信号線を介して
行なわれる。この場合、製造経費等からみて信号
線の数を減らすことが重要となつてくる。 第1図の例の場合、操作キーSW1〜SWoの数だ
け信号線の数が必要で好ましくない。第2図の例
の場合、比較回路121〜12oや抵抗R21〜R2o
システムコントローラ11を形成する基板に組み
込めば、信号線の数を1本にすることができる利
点がある。第3図の例の場合、上述の如く、入力
ポートを大幅に減らすことができるから、エンコ
ーダ13をキーボード側に組み込めば当然信号線
の数を大幅に減らすことができる。第4図の例の
場合、キー入力信号用の入力ポートとスキヤンパ
ルス出力用の出力ポートの数だけ信号線が必要で
あるから、どうしても信号線の数は多くなる。 以上詳述したように、第1図乃至第4図に示す
例には、システムコントローラ11の入出力ポー
トの数、同時操作、信号線の数の全てを満足し得
るものはない。 〔考案の目的〕 この考案は上記の事情に対処すべくなされたも
ので、マイクロコンピユータの入出力ポートの数
を削減することができ、同時操作を可能とし、さ
らに基板間の信号線の数を減らすことができるキ
ー入力装置を提供することを目的とする。 〔考案の概要〕 この考案はクロツクパルスをカウントするn進
カウンタの各出力端子にn個の操作キーの一端側
をそれぞれ接続し、このn個の操作キーの他端側
を前記クロツクパルスの伝送ラインに共通に接続
し、さらに前記n進カウンタの電源電圧供給用の
ラインに該n進カウンタに電源電圧が供給された
ことを検知してこれを初期状態に設定する手段を
接続するとともに、前記クロツクパルスの伝送ラ
インに導びかれるクロツクパルスと前記操作キー
のキー入力信号の合成信号からキー入力信号を分
離可能な分離手段を設けたものである。 〔考案の実施例〕 以下、図面を参照してこの考案の一実施例を詳
細に説明する。まず、第5図及び第6図を用いて
上述した従来の欠点を除去する為に現在考えられ
ているキー入力装置を説明する。第5図は例えば
10個の操作キーSW1〜SW10を有する場合を代表
として示す。各操作キーSW1〜SW10の一端はそ
れぞれ10進カウンタ21の出力端子Q0〜Q9に接
続されている。各操作キーSW1〜SW10の他端は
それぞれ抵抗R1〜R10を介して接地されるととも
に、ダイオードD1〜D10のアノードに接続されて
いる。これらダイオードD1〜D10のカソードは共
通接続され、その接続中点は抵抗R0を介して接
地されるとともに、システムコントローラ22の
データ入力端子に接続されている。このシステム
コントローラ22は前記10進カウンタ21の計数
用のクロツクパルスP1やクリア用のクリアパル
スP2を出力する。 上記構成に於いて、第6図の信号波形図を参照
しながら動作を説明する。第6図aは上記クリア
パルスP2を示し、同図bはクロツクパルスP1
示す。第6図c〜lはそれぞれ10進カウンタ21
の出力端子Q0〜Q9の出力波形を示す。第6図m
は各種操作キーSW1〜SW10によるキー入力信号
の発生タイミングを示す。クリアパルスP2
“H”から“L”に切り換わると、10進カウンタ
21が初期状態になり、クロツクパルスP1をカ
ウント可能となる。図示の10進カウンタ21の出
力端子Q0はクリアパルスP2が“L”から“H”
に切り換わると“H”となり、クリアパルスP2
が“H”から“L”に切り換わると、最初のクロ
ツクパルスP1の立ち上がりのタイミングで“L”
に切り換わる。そして、このタイミングで、“H”
となる端子が出力端子Q0からQ1へ切り換わる。
以下、同様に、“H”となる端子がクロツクパル
スP1の立ち上がりのタイミングで出力端子Q1
らQ9まで順次シフトされる。この後、クリアパ
ルスP2が“L”から“H”に切り換わると、出
力端子Q9が“L”となり、出力端子Q0が“H”
となる。このような動作により、10進カウンタ2
1からは、第6図c〜lに示すように、クロツク
パルスP1の繰り返えし周期で時分割された10個
のパルスが得られる。したがつて、操作キーSW1
のキー入力信号はタイミングT0以前にこれが操
作されていれば得られ、操作キーSW2のキー入力
信号はタイミングT0〜T1間にこれが操作されて
いれば得られる。他の操作キーSW3〜SW10のキ
ー入力信号も同様で対応する出力端子Q2〜Q9
“H”のとき操作されていれば、得られる。 上記構成によれば、操作キーSW1〜SW10の数
に応じた数の時分割信号を用いて、各操作キー
SW1〜SW10のキー入力信号を発生する構成であ
る。したがつて、システムコントローラ22に於
いて、キー入力信号入力用の入力ポートが1つで
済むとともに、操作キーSW1〜SW10を同時に操
作してもその操作状態をすべて読み取ることがで
き、同時操作の区別ができる。なお、キー入力装
置を構成する上で、システムコントローラ22と
しては、キー入力信号の入力ポートの他にクロツ
クパルスP1、クリアパルスP2の出力ポートが必
要であるが、この3個というポートの数はいかに
操作キーを増やしても変わらない。したがつて、
操作キーが増えればそれだけポートの数を増やさ
なければならない。先の第1図乃至第4図の例に
比べれば、操作キーが多いとき非常に有利であ
る。この場合、クロツクパルスP1やクリアパル
スP2をシステムコントローラ22と別の個別回
路で構成すれば、ポートの数は1個で済む。 また、10進カウンタ21、抵抗R1〜R10、ダイ
オードD1〜D10をキーボードに組み込めば、仮に
クロツクパルスP1やクリアパルスP2をシステム
コントローラ22で発生させるとしても、キーボ
ードとシステムコントローラ22が形成される基
板とを結ぶ信号線はシステムコントローラ22の
入出力ポートと同様3本で済む。そして、この数
は操作キーの数に関係なく一定である。このよう
に、キーボードとシステムコントローラの基板と
を別基板にした場合の信号線を減らすことができ
ることにより、操作キーSW1〜SW10やシステム
コントローラ22等から成る回路ユニツトの製造
経費を低減することができる。 また、この実施例の回路は、先の第4図の装置
を単に変形したものではない。すなわち、第4図
の回路に於いても、4進カウンタを用いることに
より、システムコントローラ11の出力ポートを
2つに減らすことができるが、入力ポートを1つ
に減らすことはできない。これは、入力ポートを
1つにし、これに行に相当する信号線を共通に接
続した場合、同時操作の区別ができなくなるから
である。 また、この実施例のキー入力装置はキー入力信
号の伝送ラインが一本化されているので、リモー
トコントロール装置の送信機に於けるキー入力装
置としても用いることができる。したがつて、シ
ステムコントローラ21に於いて、機器本体の操
作キーからのキー入力信号と上記送信機からのキ
ー入力信号との入力ポートを1つの入力ポートで
兼用することができる。 ところで、第5図のキー入力装置を用いると、
キーボードが形成される基板とシステムコントロ
ーラ22が形成される基板とを別基板にした場
合、上述の如く確かに基板間を結ぶ信号線の数は
従来装置に比べ大幅に削減できる。しかしなが
ら、第5図のキー入力装置を有線のリモートコン
トロール装置の送信機に適用した場合、第7図に
示すようにアース用の信号線L1と電源電圧供給
用の信号線L2が必要となり、信号線が合計5本
となる。なお、第7図に於いて、Aは送信機に於
けるキーボードを示し、Bは機器本体に於けるシ
ステムコントローラ22の形成される基板を示
す。 このような問題を解決するようになされたのが
本願考案であつて第8図は一実施例の回路図を示
す。なお、第8図に於いて、先の第7図と同一部
には同一符号を付す。電源+Bは10進カウンタ2
1の電源であり、機器本体側の例えばシステムコ
ントローラ22が形成される基板Bに設けられて
いる。この電源+BはトランジスタQ31のエミツ
タに接続されるとともに、抵抗R31を介してトラ
ンジスタQ31のベースに接続されている。このト
ランジスタQ31のベースはさらにシステムコント
ローラ22のコントロール端子(CTL OUT)
に接続されている。トランジスタQ31のコレクタ
はリモートコントロール装置の電源用の信号線
L2を介して10進カウンタ21の電源端子VDDに接
続されている。前記コントロール端子(CTL
OUT)にはトランジスタQ31のオン、オフを制御
するスイツチングパルスP3が出力される。 キーボードAに於いて、トランジスタQ32
Q33、抵抗R33〜R36、コンデンサC31,C32から成
る回路は双安定マルチバイブレータである。この
双安定マルチバイブレータは信号線L2より電源
電圧を得ている。この双安定マルチバイブレータ
の一方の出力端となるトランジスタQ33のコレク
タは10進カウンタ21のクリア端子(CLEAR)
に接続されている。 システムコントローラ22のクロツク端子
(CLOCK)は抵抗R37を介して電源+B1に接続さ
れるとともに、抵抗R38を介してトランジスタ
Q34のベースに接続されている。このトランジス
タQ34のエミツタは接続され、コレクタは抵抗
R39を介して接地されるとともに、リモートコン
トロール装置に於けるクロツクパルスP1伝送用
の信号線L3を介して10進カウンタ21のクロツ
ク端子(CLOCK)に接続されている。 ダイオードD1〜D10のカソードの共通接続点は
抵抗R40を介して信号線L3に接続されている。信
号線L3、トランジスタQ34のコレクタ、抵抗R39
の接続中点xは例えばオペアンプによる比較回路
23の負側入力端子に接続されている。この比較
回路23の正側入力端子は抵抗R41を介して接地
されるとともに、抵抗R42を介して電源+B2に接
続されている。比較回路23の出力端子はシステ
ムコントローラ22のデータ入力端子
(DATAIN)に接続されている。 双安定マルチバイブレータのトランジスタQ32
のベースはダイオードD31、抵抗R43の直列回路
を介して接地されている。ダイオードD31、抵抗
R43の接続中点はコンデンサC33を介して信号線
L3に接続されている。信号線L2とL3との間には
抵抗R44が挿入されている。 上記構成に於いて、第9図及び第10図の信号
波形図を参照しながら動作を説明する。第9図a
に示すスイツチングパルスP3が“H”から“L”
になると、トランジスタQ31がオンになり、電源
+Bより10進カウンタ21に第9図dに示す電源
電圧Vccが供給される。双安定マルチバイブレー
タは信号線L2に電源電流が流れると、トランジ
スタQ33のコレクタ電圧、つまりクリアパルスP2
が第9図eに示す如く“H”となるように設定さ
れている。この後、システムコントローラ22よ
り第9図bに示すクロツクパルスP1が出力され
る。このクロツクパルスP1はトランジスタQ34
よつて反転され、図示x点に導びかれる。この図
示x点のクロツクパルスP1 を第9図fに示す。
このクロツクパルスP1 の最初のクロツクの立ち
下がりのタイミングで図示x点の電位が零とな
る。これにより、トランジスタQ32がオフ、トラ
ンジスタQ33がオンとなり、双安定マルチバイブ
レータの状態が反転する。したがつて、クリアパ
ルスP2が“H”から“L”になり、10進カウン
タ21は初期状態に設定される。 10進カウンタ21の出力端子Q0は電源オン時
に“H”となつている。そして10進カウンタ21
が初期状態に設定されてからのクロツクパルス
P1の最初のクロツクの立ち上がりのタイミング
で“L”となる。このとき、“H”となる端子は
出力端子Q1に移る。以下、先の第5図と同様に、
クロツクパルスP1 の立ち上がりのタイミングで
出力端子Q2〜Q9が順次“H”となつていく。し
たがつて、出力端子Q0〜Q9には略クロツクパル
P1 の周期で時分割されたパルス信号が得られ
る(第9図g〜K参照)。この状態になると、操
作キーSW1〜SWoを操作することにより、ダイオ
ードD1〜D10のカソードの共通接続点にキー入力
信号が現われる。このキー入力信号は抵抗R40
信号線L3を介して図示x点に導びかれる。した
がつて、図示x点には、クロツク信号P1 とキー
入力信号との合成信号が得られる。比較回路23
はこの合成信号の中からキー入力信号のみを抽出
し、システムコントローラ22のデータ入力端子
(DATA IN)に供給する。今、キー入力信号が
図示x点に導びかれていないとする。第10図a
に示すクロツクパルスP1が“H”のとき、トラ
ンジスタQ34がオンするので、図示x点の電位は
第10図bに示す如く0となる。一方、クロツク
パルスP1が“L”のときは、トランジスタQ34
オフするので図示x点の電位は、第10図bに示
す如く、電源電圧Vccを抵抗R44とR39とで分圧し
た電圧Vaとなる。次に第10図cに示すキー入
力信号が図示x点に導びかれると、クロツクパル
スP1が“H”のときは、トランジスタQ34がオン
するので、図示x点の電位は第10図dに示す如
く0である。一方、クロツクパルスP1が“L”
のときは、トランジスタQ34がオフとなるので、
抵抗R40の値を適宜設定することにより、図示x
点の電位をVaより高いVbに設定することができ
る。比較回路23には、電圧VaとVbの中間の値
を有する基準電圧Vcが設定されており、図示x
点の合成信号の中から第10図eに示す如くキー
入力信号を抽出してシステムコントローラ22に
供給する。このような動作により、各操作キー
SW1〜SW10の読み込みタイミングとしては第9
図cに示すようなものが得られる。この場合の各
操作キーSW1〜SW10の読み込み期間は先の第5
図のものに比べ、クロツクパルスP1の“L”の
期間だけ短くなつている。なお、比較回路23の
基準電圧Vcは抵抗R41,R42によつて設定される。 以上詳述したようにこの実施例は、10進カウン
タ21の電源電圧供給用のラインに双安定マルチ
バイブレータを接続し、10進カウンタ21に電源
電圧が供給されたことを検知し、10進カウンタ2
1を初期状態に設定する構成である。したがつ
て、クリアパルス伝送用のラインが不要となる。 また、クロツクパルス伝送用のラインにダイオ
ードD1〜D10のカソードを共通に接続し、キー入
力信号が発生した場合と、発生しない場合とで上
記接続部に於ける電位に差を持たせ、キー入力信
号が発生した場合は、上記接続部の合成信号の中
から比較回路23でキー入力信号を分離する構成
である。したがつて、キー入力信号伝送用のライ
ンとクロツクパルス伝送用のラインを兼用するこ
とができる。 以上からこの実施例によれば、有線のリモート
コントロール装置の送信機に於けるキー入力装置
に適用した場合、送信機のキーボードと機器本体
のシステムコントローラ22が形成される基板間
の信号線を3本にすることができる。 第11図はこの考案の他の実施例を示す回路図
である。この実施例は、双安定マルチバイブレー
タの代わりにコンデンサC34、抵抗R45、ダイオー
ドD32から成る微分回路に用いて10進カウンタ2
1を初期状態に設定するものである。すなわち、
微分回路は電源電圧を微分することにより、その
立ち上がりの正極性の微分パルスを出力する。10
進カウンタ21はこのトリガパルス状の微分パル
スをクリアパルスとして初期状態に設定されるよ
うなつている。 〔考案の効果〕 このようにこの考案によれば、マイクロコンピ
ユータの入出力ポートの数を削減することがで
き、同時操作を可能とし、さらに基板間の信号線
の数を減らすことができるキー入力装置を提供す
ることができる。
[Detailed Description of the Invention] [Technical Field of the Invention] This invention relates to a key input device for guiding the operation state of an operation key for externally controlling the operation of an electric device, for example, to an internal circuit. [Technical background of the invention and its problems] For example, in a video tape recorder, various modes such as recording, playback, fast forward, rewind, etc. are operated by operating keys provided according to these various modes. specified by. Inside the recorder, there is a so-called system controller that collectively determines the operation states of the various operation keys mentioned above and generates various timing signals and control signals to execute operations such as recording and playback according to the determination results. is provided. Since the processing content of this system controller is complex and wide-ranging, it is generally configured with a microcomputer. As a key input device for guiding key input signals of the various operation keys to an internal circuit such as a system controller, there are devices shown in FIGS. 1 to 4. First, explaining the example shown in FIG. 1, SW1 to SW2 are various operation keys, and 11 is a system controller consisting of a microcomputer. In this example, the system controller 11
Input ports for only operation keys SW 1 to SW o are set in the input port, and corresponding operation keys SW 1 to SW o are inserted between each input port and the power supply +B. However, in the case of the above configuration, operation key SW 1
This has the drawback that the system controller 11 requires input ports equal to the number of ~ SW o . In the example shown in FIG. 2, key input signals from operation keys SW 1 to SW o are generated as analog signals by a series circuit of resistors R 11 to R 1o , and these analog signals are transmitted to a comparison circuit 12 using, for example, an operational amplifier. 1
12 o to convert it into a digital signal and input it to the system controller 11. In addition,
The reference signals of the comparison circuits 12 1 to 12 o are the resistors R 21 to R 2 o
generated by a series circuit of This example has a problem in that it is necessary to set input ports in the system controller 11 in the same number as the operation keys SW 1 to SW o , as in the example shown in FIG. 1 above. Furthermore, there is a problem that the comparator circuits 12 1 to 12 o are required as many as the operation keys SW 1 to SW o , resulting in a plurality of configurations. Furthermore, each operation key SW 1 ~ SW o
Priority is assigned to these, and simultaneous operations cannot be distinguished. For example, even if the operation keys SW 1 and SW o are operated at the same time, only the key input signal of the operation key SW 1 is input to the system controller 11. In the example shown in FIG. 3, the key input signals of the operation keys SW 1 to SW o are converted into binary code signals by the encoder 13 and input to the system controller 14 . In this example, the number of input ports of the system controller 14 can be significantly reduced compared to the previous examples shown in FIGS. 1 and 2. However, like the example shown in FIG. 2, this method has the disadvantage that simultaneous operations cannot be distinguished. The example shown in FIG. 4 is a key input device based on a so-called scan matrix method. In other words, the operation keys SW 1 to
SW o are arranged and, for example, signal lines forming a matrix are scanned using time-divided scan pulses. In the case shown in the figure, since it is a matrix of 4 rows x 4 columns, 13 to 16 operation keys at maximum can be arranged. In this example, there is an advantage that the number of input ports of the system controller 11 can be significantly reduced. However, since the scan pulse P p is generally generated by the system controller 11, an output port for outputting the scan pulse P p is required, and the effect of port reduction is not so great when viewed from the overall input/output ports. Here, let us consider the number of signal lines in the four examples described above. Generally, various operation keys
SW 1 to SW o and the system controller 11 are often formed on separate boards. Therefore, signals are exchanged between the board on which the various operation keys SW 1 to SW o are arranged (hereinafter referred to as a keyboard) and the board on which the system controller 11 is formed, via signal lines. In this case, it is important to reduce the number of signal lines from the viewpoint of manufacturing costs and the like. In the case of the example shown in FIG. 1, the number of signal lines equal to the number of operation keys SW 1 to SW o is required, which is not preferable. In the case of the example shown in FIG. 2, if the comparison circuits 12 1 to 12 o and the resistors R 21 to R 2o are incorporated into the board forming the system controller 11, there is an advantage that the number of signal lines can be reduced to one. In the case of the example shown in FIG. 3, as described above, the number of input ports can be significantly reduced, so if the encoder 13 is incorporated into the keyboard side, the number of signal lines can naturally be reduced significantly. In the case of the example shown in FIG. 4, the number of signal lines inevitably increases because the number of signal lines is equal to the number of input ports for key input signals and output ports for scan pulse output. As described in detail above, none of the examples shown in FIGS. 1 to 4 can satisfy all of the numbers of input/output ports, simultaneous operations, and number of signal lines of the system controller 11. [Purpose of the invention] This invention was made in order to deal with the above-mentioned circumstances.It is possible to reduce the number of input/output ports of a microcomputer, enable simultaneous operation, and further reduce the number of signal lines between boards. It is an object of the present invention to provide a key input device that can reduce the number of key inputs. [Summary of the invention] This invention connects one end of n operation keys to each output terminal of an n-ary counter that counts clock pulses, and connects the other end of these n operation keys to the transmission line of the clock pulse. Further, a means for detecting that the power supply voltage is supplied to the n-ary counter and setting it to the initial state is connected to the line for supplying the power voltage to the n-ary counter, A separating means is provided which can separate the key input signal from the composite signal of the clock pulse guided to the transmission line and the key input signal of the operation key. [Embodiment of the invention] Hereinafter, an embodiment of the invention will be described in detail with reference to the drawings. First, a key input device currently being considered to eliminate the above-mentioned conventional drawbacks will be explained using FIGS. 5 and 6. For example, Figure 5 shows
A case in which there are ten operation keys SW 1 to SW 10 is shown as a representative example. One end of each of the operation keys SW 1 to SW 10 is connected to output terminals Q 0 to Q 9 of the decimal counter 21, respectively. The other ends of the operation keys SW 1 to SW 10 are grounded via resistors R 1 to R 10 and connected to the anodes of diodes D 1 to D 10 , respectively. The cathodes of these diodes D 1 to D 10 are commonly connected, and the midpoint of the connection is grounded via a resistor R 0 and connected to a data input terminal of the system controller 22 . This system controller 22 outputs a clock pulse P1 for counting and a clear pulse P2 for clearing the decimal counter 21. The operation of the above configuration will be described with reference to the signal waveform diagram in FIG. FIG. 6a shows the clear pulse P2 , and FIG. 6b shows the clock pulse P1 . Figure 6 c to l are decimal counters 21, respectively.
The output waveforms of output terminals Q 0 to Q 9 are shown. Figure 6 m
indicates the timing of generation of key input signals by various operation keys SW 1 to SW 10 . When the clear pulse P2 switches from "H" to "L", the decimal counter 21 goes into its initial state and can count the clock pulse P1 . The output terminal Q0 of the decimal counter 21 shown in the figure is a clear pulse P2 which changes from “L” to “H”.
When switched to “H”, clear pulse P2
switches from “H” to “L”, it goes “L” at the timing of the rise of the first clock pulse P1 .
Switch to . And at this timing, “H”
The terminal that becomes is switched from output terminal Q 0 to Q 1 .
Thereafter, similarly, the terminals that become "H" are sequentially shifted from output terminals Q1 to Q9 at the rising timing of clock pulse P1 . After that, when the clear pulse P 2 switches from "L" to "H", the output terminal Q 9 becomes "L" and the output terminal Q 0 becomes "H".
becomes. Due to this operation, decimal counter 2
1, ten pulses are obtained which are time-divided by the repetition period of the clock pulse P1, as shown in FIGS. 6c- 1 . Therefore, operation key SW 1
The key input signal of the operation key SW 2 is obtained if it is operated before the timing T 0 , and the key input signal of the operation key SW 2 is obtained if it is operated between the timings T 0 and T 1 . The key input signals of the other operation keys SW 3 to SW 10 are obtained in the same way if they are operated when the corresponding output terminals Q 2 to Q 9 are at "H". According to the above configuration, the number of time-sharing signals corresponding to the number of operation keys SW 1 to SW 10 is used to control each operation key.
This configuration generates key input signals SW 1 to SW 10 . Therefore, in the system controller 22, only one input port is required for inputting key input signals, and even if operation keys SW 1 to SW 10 are operated at the same time, all operation states can be read. Can distinguish between operations. Note that in configuring the key input device, the system controller 22 requires output ports for the clock pulse P 1 and clear pulse P 2 in addition to the input port for the key input signal, but the number of ports is limited to three. does not change no matter how many operation keys are added. Therefore,
As the number of operation keys increases, the number of ports must increase accordingly. Compared to the previous examples of FIGS. 1 to 4, this is very advantageous when there are many operation keys. In this case, if the clock pulse P 1 and the clear pulse P 2 are configured in an individual circuit separate from the system controller 22, the number of ports can be reduced to one. Moreover, if the decimal counter 21, resistors R1 to R10 , and diodes D1 to D10 are incorporated into the keyboard, even if the clock pulse P1 and clear pulse P2 are generated by the system controller 22, the keyboard and the system controller 22 As with the input/output ports of the system controller 22, only three signal lines are required to connect the board on which the system controller 22 is formed. This number is constant regardless of the number of operation keys. In this way, by being able to reduce the number of signal lines when the keyboard and system controller boards are separate boards, it is possible to reduce the manufacturing cost of the circuit unit consisting of the operation keys SW 1 to SW 10 , the system controller 22, etc. I can do it. Furthermore, the circuit of this embodiment is not simply a modification of the device shown in FIG. 4 above. That is, in the circuit shown in FIG. 4, the number of output ports of the system controller 11 can be reduced to two by using a quaternary counter, but the number of input ports cannot be reduced to one. This is because if there is only one input port and signal lines corresponding to rows are commonly connected to it, simultaneous operations cannot be distinguished. Further, since the key input device of this embodiment has a single key input signal transmission line, it can also be used as a key input device in a transmitter of a remote control device. Therefore, in the system controller 21, one input port can serve as both the input port for the key input signal from the operation keys of the device body and the key input signal from the transmitter. By the way, if you use the key input device shown in Figure 5,
If the board on which the keyboard is formed and the board on which the system controller 22 is formed are formed on separate boards, as described above, the number of signal lines connecting the boards can be significantly reduced compared to the conventional device. However, when the key input device shown in Figure 5 is applied to the transmitter of a wired remote control device, a signal line L1 for grounding and a signal line L2 for power supply voltage supply are required as shown in Figure 7. , there are a total of five signal lines. In FIG. 7, A indicates a keyboard in the transmitter, and B indicates a board on which the system controller 22 is formed in the main body of the device. The present invention has been developed to solve such problems, and FIG. 8 shows a circuit diagram of one embodiment. In FIG. 8, the same parts as in FIG. 7 are given the same reference numerals. Power supply +B is decimal counter 2
1, and is provided on the device main body side, for example, on the board B on which the system controller 22 is formed. This power supply +B is connected to the emitter of transistor Q 31 and also to the base of transistor Q 31 via resistor R 31 . The base of this transistor Q 31 is further connected to the control terminal (CTL OUT) of the system controller 22.
It is connected to the. The collector of transistor Q 31 is the signal line for the power supply of the remote control device
It is connected to the power supply terminal VDD of the decimal counter 21 via L2 . The control terminal (CTL
A switching pulse P3 that controls the on/off state of the transistor Q31 is output to the output terminal (OUT). In keyboard A, transistor Q 32 ,
The circuit consisting of Q 33 , resistors R 33 to R 36 , and capacitors C 31 and C 32 is a bistable multivibrator. This bistable multivibrator obtains the power supply voltage from the signal line L2 . The collector of transistor Q 33 , which is one output terminal of this bistable multivibrator, is the clear terminal (CLEAR) of decimal counter 21.
It is connected to the. The clock terminal (CLOCK) of the system controller 22 is connected to the power supply + B1 via a resistor R37 , and is connected to the transistor via a resistor R38 .
Connected to the base of the Q 34 . The emitter of this transistor Q34 is connected and the collector is a resistor
It is grounded via R39 and connected to the clock terminal (CLOCK) of the decimal counter 21 via a signal line L3 for transmitting the clock pulse P1 in the remote control device. A common connection point of the cathodes of the diodes D1 to D10 is connected to the signal line L3 via a resistor R40 . Signal line L 3 , collector of transistor Q 34 , resistor R 39
The connection midpoint x is connected to the negative input terminal of a comparator circuit 23 including, for example, an operational amplifier. The positive input terminal of this comparison circuit 23 is grounded via a resistor R41 and connected to the power supply + B2 via a resistor R42 . The output terminal of the comparison circuit 23 is connected to the data input terminal (DATAIN) of the system controller 22. Bistable multivibrator transistor Q 32
The base of is grounded through a series circuit of diode D 31 and resistor R 43 . Diode D 31 , resistor
The connection midpoint of R 43 is connected to the signal line via capacitor C 33
Connected to L 3 . A resistor R44 is inserted between the signal lines L2 and L3 . The operation of the above configuration will be described with reference to the signal waveform diagrams of FIGS. 9 and 10. Figure 9a
The switching pulse P3 shown in the figure changes from “H” to “L”.
Then, the transistor Q31 is turned on, and the power supply voltage Vcc shown in FIG. 9d is supplied to the decimal counter 21 from the power supply +B. In a bistable multivibrator, when the power supply current flows through the signal line L 2 , the collector voltage of the transistor Q 33 , that is, the clear pulse P 2
is set to be "H" as shown in FIG. 9e. Thereafter, the system controller 22 outputs the clock pulse P1 shown in FIG. 9b. This clock pulse P 1 is inverted by transistor Q 34 and guided to point x in the figure. The clock pulse P1 at point x is shown in FIG. 9f.
At the timing of the first falling edge of the clock pulse P1 , the potential at the point x in the figure becomes zero. This turns transistor Q32 off and transistor Q33 on, reversing the state of the bistable multivibrator. Therefore, the clear pulse P2 changes from "H" to "L", and the decimal counter 21 is set to the initial state. The output terminal Q0 of the decimal counter 21 is at "H" when the power is turned on. and decimal counter 21
Clock pulse after is set to initial state
It becomes “L” at the timing of the first clock rise of P1 . At this time, the terminal that becomes "H" moves to the output terminal Q1 . Below, similar to the previous figure 5,
The output terminals Q2 to Q9 sequentially become "H" at the rising timing of the clock pulse P1 . Therefore, the output terminals Q0 to Q9 are provided with pulse signals that are time-divided at approximately the period of the clock pulse P1 (see FIG. 9g to K). In this state, by operating the operation keys SW 1 to SW o , a key input signal appears at the common connection point of the cathodes of the diodes D 1 to D 10 . This key input signal is resistor R 40 ,
It is led to the illustrated point x via the signal line L3 . Therefore, a composite signal of the clock signal P1 and the key input signal is obtained at point x in the figure. Comparison circuit 23
extracts only the key input signal from this composite signal and supplies it to the data input terminal (DATA IN) of the system controller 22. Assume now that the key input signal is not guided to point x in the diagram. Figure 10a
When the clock pulse P1 shown in FIG. 10 is "H", the transistor Q34 is turned on, so that the potential at the point x becomes 0 as shown in FIG. 10b. On the other hand, when the clock pulse P1 is "L", the transistor Q34 is turned off, so the potential at point The voltage will be V a . Next, when the key input signal shown in Figure 10c is guided to point As shown in , it is 0. On the other hand, clock pulse P1 is “L”
When , transistor Q34 is turned off, so
By appropriately setting the value of resistor R 40 ,
The potential at the point can be set to Vb , which is higher than Va . The comparison circuit 23 is set with a reference voltage V c having an intermediate value between the voltages V a and V b , and is
The key input signal is extracted from the composite signal of the points as shown in FIG. 10e and is supplied to the system controller 22. Due to this behavior, each operation key
The reading timing of SW 1 to SW 10 is 9th.
The result is something like the one shown in Figure c. In this case, the reading period for each operation key SW 1 to SW 10 is the same as the previous 5th one.
Compared to the one shown in the figure, only the "L" period of the clock pulse P1 is shorter. Note that the reference voltage V c of the comparison circuit 23 is set by resistors R 41 and R 42 . As described in detail above, in this embodiment, a bistable multivibrator is connected to the line for supplying the power supply voltage to the decimal counter 21, and when it is detected that the power supply voltage is supplied to the decimal counter 21, 2
1 is set as the initial state. Therefore, a clear pulse transmission line is not required. In addition, the cathodes of diodes D 1 to D 10 are commonly connected to the clock pulse transmission line, and the potential at the connection point is different between when a key input signal is generated and when it is not generated. When an input signal is generated, the comparator circuit 23 separates the key input signal from the composite signal of the connection section. Therefore, the line can be used both as a key input signal transmission line and a clock pulse transmission line. From the above, according to this embodiment, when applied to a key input device in a transmitter of a wired remote control device, three signal lines are connected between the keyboard of the transmitter and the board on which the system controller 22 of the main body of the device is formed. It can be made into a book. FIG. 11 is a circuit diagram showing another embodiment of this invention. This embodiment uses a differentiating circuit consisting of a capacitor C 34 , a resistor R 45 , and a diode D 32 instead of a bistable multivibrator, and uses a decimal counter 2.
1 is set as the initial state. That is,
By differentiating the power supply voltage, the differentiating circuit outputs a differential pulse having a positive polarity at the rising edge thereof. Ten
The advance counter 21 is set to an initial state using this trigger pulse-like differential pulse as a clear pulse. [Effects of the invention] As described above, according to this invention, the number of input/output ports of a microcomputer can be reduced, simultaneous operation is possible, and the number of signal lines between boards can be reduced. equipment can be provided.

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

第1図乃至第4図はそれぞれ従来のキー入力装
置の異なる例を示す回路図、第5図は現在考えら
れているキー入力装置を示す回路図、第6図は第
5図の動作を説明する為の信号波形図、第7図は
第6図の問題点を説明する為の回路図、第8図は
この考案の一実施例を示す回路図、第9図及び第
10図は第8図の動作を説明する為の信号波形
図、第11図はこの考案の他の実施例を示す回路
図である。 21……10進カウンタ、22……システムコン
トローラ、23……比較回路、SW1〜SW10……
操作キー、R0,R1〜R10,R31〜R45……抵抗、D1
〜D10,D31,D32……ダイオード、C31〜C34……
コンデンサ、Q31〜Q34……トランジスタ。
Figures 1 to 4 are circuit diagrams showing different examples of conventional key input devices, Figure 5 is a circuit diagram showing a currently considered key input device, and Figure 6 explains the operation of Figure 5. 7 is a circuit diagram for explaining the problem of FIG. 6, FIG. 8 is a circuit diagram showing an embodiment of this invention, and FIGS. FIG. 11 is a signal waveform diagram for explaining the operation shown in the figure, and FIG. 11 is a circuit diagram showing another embodiment of this invention. 21... Decimal counter, 22... System controller, 23... Comparison circuit, SW 1 to SW 10 ...
Operation keys, R0 , R1 to R10 , R31 to R45 ...Resistance, D1
~ D10 , D31 , D32 ...Diode, C31 ~ C34 ...
Capacitor, Q 31 ~ Q 34 ...transistor.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] クロツクパルスを発生するクロツクパルス発生
手段と、このクロツクパルス発生手段から出力さ
れるクロツクパルスをカウントするn進カウンタ
と、一端側がこのn進カウンタの対応する出力端
に接続され他端側が共通に前記クロツクパルス伝
送用のラインに接続されるn個の操作キーと、前
記n進カウンタの電源電圧供給用のラインに接続
され前記n進カウンタに電源電圧が供給されたこ
とを検知してこれを初期状態に設定する初期状態
設定手段と、前記クロツクパルス伝送用のライン
と前記n個の操作キーの他端側との接続部に導出
される前記クロツクパルスとキー入力信号との合
成信号から前記キー入力信号を分離するキー入力
信号分離手段とを具備したキー入力装置。
a clock pulse generating means for generating clock pulses; an n-ary counter for counting the clock pulses output from the clock pulse generating means; one end thereof is connected to the corresponding output end of the n-ary counter, and the other end is commonly used for transmitting the clock pulses. n number of operation keys connected to the line and a line for supplying the power supply voltage of the n-ary counter, detecting that the power supply voltage is supplied to the n-ary counter and setting this to the initial state. a state setting means, and a key input for separating the key input signal from a composite signal of the clock pulse and the key input signal, which is derived to a connection between the clock pulse transmission line and the other end of the n operation keys. A key input device comprising signal separation means.
JP19176882U 1982-12-18 1982-12-18 key input device Granted JPS5996613U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19176882U JPS5996613U (en) 1982-12-18 1982-12-18 key input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19176882U JPS5996613U (en) 1982-12-18 1982-12-18 key input device

Publications (2)

Publication Number Publication Date
JPS5996613U JPS5996613U (en) 1984-06-30
JPS635073Y2 true JPS635073Y2 (en) 1988-02-10

Family

ID=30412875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19176882U Granted JPS5996613U (en) 1982-12-18 1982-12-18 key input device

Country Status (1)

Country Link
JP (1) JPS5996613U (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS622688Y2 (en) * 1981-02-26 1987-01-22

Also Published As

Publication number Publication date
JPS5996613U (en) 1984-06-30

Similar Documents

Publication Publication Date Title
US4685678A (en) Position transducer system for a joystick
US4886941A (en) Circuit for interfacing mouse input device to computer system
GB2214339A (en) Data input
EP0118242A1 (en) Computer apparatus and remote keyboards therefor
JPH07109572B2 (en) Capacity keyboard
US7978098B2 (en) Key input device
JPS635073Y2 (en)
KR100190790B1 (en) Circuit for detecting pulses, and video recorder comprising the circuit
US5777904A (en) System comprising an apparatus and a peripheral device for the apparatus, and an apparatus and a peripheral device for such a system
JPH09270685A (en) Operation device
JP3403347B2 (en) Key switch circuit
JPS5853817Y2 (en) remote control circuit
JP2745977B2 (en) Signal input circuit
JPH0431771A (en) Peak detector
JPH0454683A (en) Pulse output circuit
KR930012131B1 (en) Keyboard for micro-computer
JPH0454514Y2 (en)
KR100191720B1 (en) Analog keyboard apparatus using encoder switch
JPS6215888B2 (en)
US2989734A (en) Binary comparer
KR100221872B1 (en) Device for reproducing key signal of controlled system in controlling system
JPS60203816A (en) Switch box
SU1327173A1 (en) Apparatus for magnetic record of information
JPH0218494B2 (en)
JPH02310714A (en) Keyboard switch