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
JP3756340B2 - Key switch position signal generation circuit - Google Patents
[go: Go Back, main page]

JP3756340B2 - Key switch position signal generation circuit - Google Patents

Key switch position signal generation circuit Download PDF

Info

Publication number
JP3756340B2
JP3756340B2 JP07284899A JP7284899A JP3756340B2 JP 3756340 B2 JP3756340 B2 JP 3756340B2 JP 07284899 A JP07284899 A JP 07284899A JP 7284899 A JP7284899 A JP 7284899A JP 3756340 B2 JP3756340 B2 JP 3756340B2
Authority
JP
Japan
Prior art keywords
signal
contact position
key switch
circuit
contact
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 - Fee Related
Application number
JP07284899A
Other languages
Japanese (ja)
Other versions
JP2000267790A (en
Inventor
裕教 吉野
明弘 前川
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP07284899A priority Critical patent/JP3756340B2/en
Publication of JP2000267790A publication Critical patent/JP2000267790A/en
Application granted granted Critical
Publication of JP3756340B2 publication Critical patent/JP3756340B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、流通業などの店舗で使用される電子レジスタやPOSシステムなどで業務モードを設定する鍵スイッチのモード位置検出のための鍵スイッチ位置信号発生回路に関するものである。
【0002】
【従来の技術】
これまでにも電子レジスタやPOSで登録や点検、精算、メンテナンスなどの業務の切換に鍵スイッチが使用されてきた。鍵を鍵スイッチの鍵穴に差し込み、鍵を回転させることにより所望の業務モードを選択し業務を実行可能とするものである。鍵により回転の動作範囲を制限すれば、実行できる業務を制限することができ、キャッシャとマネージャで回転範囲の異なる鍵を持つことにより業務範囲を制限して運用することが可能である。
【0003】
このように利用される鍵スイッチはコモン端子と回転位置毎の端子の接点が閉じられる構造となっており、この閉接点位置を検出することにより業務モードが選択可能となる。この際、鍵スイッチのON接点をエンコーダでデジタル信号化し、このデジタル信号を直接CPUで読み取り鍵スイッチの位置を知る。
【0004】
図5は従来の閉接点位置の検出回路であり、鍵スイッチ7の業務モード毎の各接点を接点位置デコード回路1で0,1のビット信号に対応させ、さらにこの信号から閉接点位置に対応したエンコード信号を接点位置エンコード回路2で発生させ、これを読み取り用ゲート回路11を介してCPUで読み取ることにより、鍵スイッチがどの業務モードになっているのかを検出するものである。
【0005】
鍵スイッチはキーボードの盤面の近くに配置されるケースがほとんどであり、閉接点位置を検出するCPUから離れて配置されるためケーブルを使用して信号を引き回しCPUで読み取っている。また、キーボードのキー入力信号もCPUで読み取る必要があり、キー入力信号と鍵スイッチ信号をそれぞれ別々の信号としてケーブルで引き回して読み取っていた。
【0006】
【発明が解決しようとする課題】
近年、パソコンのハードウェアとOS、BIOSを用いてPOSシステムが構成されるケースが多くなってきた。パソコンのハードウェアを用いる場合、特別に、鍵スイッチの業務モード毎のビット対応信号を処理できる鍵スイッチ用I/Oポートを追加しない限り、従来の方法で検出することはできない。この場合、鍵スイッチのモード位置検出のためにマザーボードに増設基板の装着とケーブルの引き回しが必要となっていた。
【0007】
したがって、この発明の目的は、パソコンのハードウェアとOS、BIOSを用いてPOSシステムを構成する場合に、鍵スイッチ用ビットI/Oポートと鍵スイッチ用ケーブルの引き回しを不要とし、鍵スイッチの閉接点位置をパソコンのキーボードインタフェースよりキーコードデータとして取り込むことを可能とする鍵スイッチ位置信号発生回路を提供することである。
【0008】
【課題を解決するための手段】
前記課題を解決するために、この発明の請求項1記載の鍵スイッチ位置信号発生回路は、業務モードを設定する鍵スイッチと、この鍵スイッチの業務モード毎の閉接点位置に対応したデコード信号を発生する接点位置デコード回路と、デコード信号から閉接点位置に対応したエンコード信号を発生する接点位置エンコード回路と、エンコード信号が入力され閉接点を切換えた時にパルス信号を発生する接点切換パルス信号発生回路と、閉接点位置を確認するための接点位置確認信号と、この接点位置確認信号を入力してパルス信号を発生する接点位置確認パルス信号発生回路と、接点切換パルス信号発生回路と接点位置確認パルス信号発生回路のいずれかのパルス信号が入力されている時のみキーボード用のスキャン信号を通過させるゲート回路と、接点位置デコード回路からの各接点のデコード信号がリターン信号用に入力され閉接点となっているリターン信号のみがスキャン信号が入力されている間アクティブとなって出力されるようにリターン信号を生成するリターン信号発生回路とを備えた。
【0009】
上記のように構成された鍵スイッチ位置信号発生回路は、業務モードに対応して鍵スイッチの接点位置を決め、実行したい業務の位置に鍵を回転させてコモン端子と各接点を接続する。接点位置デコード回路ではコモン端子と接続された接点のみがコモン端子と同じ電圧レベルとなり他の接点は全て別の電圧レベルとなるように構成する。このように鍵スイッチの各接点信号が接点位置デコード回路へ入力され、その出力が接点位置エンコード回路とリターン信号発生回路へ入力される。
【0010】
接点位置デコード信号を接点位置エンコード回路に入力して閉接点位置に対応したコード信号を発生させる。この信号は鍵を回転させて閉接点を変えない限り変わらないが、鍵を回転させるとコード信号の1桁目または2桁目は必ず論理0から論理1へまたは論理1から論理0へ変化する。接点切換パルス信号発生回路はこうしたコード信号の各桁の信号を入力し、変化があるとパルス信号を発生させる。
【0011】
鍵スイッチの閉接点位置をパソコンのキーボードインタフェースよりキーコードデータとして取り込むためにキーボード用のスキャン信号を入力して鍵スイッチの閉接点位置が変化した時のみ新しい閉接点に対応したキーボード用のリターン信号を出力する必要があり、ゲート回路がそうした働きをする。ゲート回路に入力されたスキャン信号は鍵スイッチの閉接点位置が変化した時のみゲート回路を通過しリターン信号発生回路に入力される。リターン信号発生回路にはデコードされた鍵スイッチの接点信号全てがリターン信号用に入力されており、このうち閉接点となっているリターン信号のみがスキャン信号が入力されている期間アクティブとなり出力される。
【0012】
また、電源ONやリセット後、鍵スイッチを1度も回転させない場合、閉接点となっているリターン信号がアクティブとならず、閉接点位置、つまり業務モードを検知することができない。このため、電源ONやリセット後、鍵スイッチを1度も回転させなくても閉接点位置を検出できるように接点位置確認信号を接点位置確認パルス信号発生回路に入力しパルス信号をゲート回路に入力する。接点切換パルス信号発生回路のパルス信号がゲート回路に入力されている時と同様に接点位置確認パルス信号発生回路のパルス信号が入力されている時にキーボード用のスキャン信号を通過させる。これにより、鍵スイッチを回転させなくても設定されているモードが何であるのかを検出することができる。これはパソコンだけに限らず、鍵スイッチの閉接点情報をキーコードとしてキーボードインタフェースから出力する場合に適用可能である。
【0013】
【発明の実施の形態】
この発明の実施の形態を図1〜図4に基づいて説明する。
【0014】
図1はこの発明の実施の形態の鍵スイッチ位置信号発生回路のブロック図である。
【0015】
図1において、1は接点位置デコード回路、2は接点位置エンコード回路、3は接点切換パルス信号発生回路、4は接点位置確認パルス信号発生回路、5はゲート回路、6はリターン信号発生回路、7は鍵スイッチ、8は接点位置確認信号、9はキーボードスキャン信号、10はキーボードリターン信号である。
【0016】
接点位置デコード回路1は、鍵スイッチ7の閉接点位置に対応したデコード信号を発生する。接点位置エンコード回路2は、鍵スイッチ7の閉接点位置に対応したエンコード信号を発生する。接点切換パルス信号発生回路3は、閉接点を切換えた時にパルスを発生する。接点位置確認信号8は、閉接点位置を確認するために入力する。接点位置確認パルス信号発生回路4は、接点位置確認信号8を入力してパルスを発生する。ゲート回路5は、接点切換パルス信号発生回路3と接点位置確認パルス信号発生回路4の出力をゲート信号としてキーボードスキャン信号9を通過させる。リターン信号発生回路6は、接点位置デコード信号とゲート回路出力信号によりキーボードリターン信号10を生成する。
【0017】
つぎに、鍵スイッチ位置信号発生回路の動作について説明する。業務モードに対応して鍵スイッチ7の接点位置を決め、実行したい業務の位置に鍵を回転させてコモン端子と各接点を接続する。接点位置デコード回路1ではコモン端子と接続された接点のみがコモン端子と同じ電圧レベルとなり他の接点は全て別の電圧レベルとなるように構成する。例えばコモン端子をグランドレベル(0V)、他の接点を抵抗を介して5Vにプルアップしておけばコモン端子と接続された閉接点のみが0V、他は全て5Vとなる。このように鍵スイッチ7の各接点信号が接点位置デコード回路1へ入力され、その出力が接点位置エンコード回路2とリターン信号発生回路6へ入力される。
【0018】
接点位置エンコード回路2によりエンコードされたエンコード信号は接点切換パルス信号発生回路3に入力され、接点が切換えられるとパルス信号3aを発生する。すなわち、接点位置デコード信号を接点位置エンコード回路2に入力して閉接点位置に対応したエンコード信号を発生させる。この信号は鍵を回転させて閉接点を変えない限り変わらないが、鍵を回転させるとコード信号の1桁目または2桁目は必ず論理0から論理1へまたは論理1から論理0へ変化する。接点切換パルス信号発生回路3はこうしたコード信号の各桁の信号を入力し、変化があるとパルス信号3aを発生させる。
【0019】
このパルス信号3aと、接点が切換えられなくてもパルス信号を発生させるための接点位置確認信号8を接点位置確認パルス信号発生回路4に入力しこれから発生するパルス信号4aとをゲート回路5に入力し、このいずれかのパルス信号3a,4aが入力されている期間のみスキャン信号9がリターン信号発生回路6を介して出力されているが、閉接点となっているリターン信号のみがスキャン信号9に対応してアクティブとなって出力される。
【0020】
すなわち、鍵スイッチ7の閉接点位置をパソコンのキーボードインタフェースよりキーコードデータとして取り込むためにキーボード用のスキャン信号9を入力して鍵スイッチ7の閉接点位置が変化した時のみ新しい閉接点に対応したキーボード用のリターン信号を出力する必要があり、ゲート回路5がそうした働きをする。ゲート回路5に入力されたスキャン信号9は鍵スイッチ7の閉接点位置が変化した時のみゲート回路5を通過しリターン信号発生回路6に入力される。リターン信号発生回路6にはデコードされた鍵スイッチ7の接点信号全てがリターン信号用に入力されており、このうち閉接点となっているリターン信号10のみがスキャン信号9が入力されている期間アクティブとなり出力される。
【0021】
しかし、電源ONやリセット後、鍵スイッチ7を1度も回転させない場合、閉接点となっているリターン信号がアクティブとならず、閉接点位置、つまり業務モードを検知することができない。このため、電源ONやリセット後、鍵スイッチを1度も回転させなくても閉接点位置を検出できるように接点位置確認信号8を接点位置確認パルス信号発生回路4に入力しパルス信号4aをゲート回路5に入力する。接点切換パルス信号発生回路3のパルス信号3aがゲート回路5に入力されている時と同様に接点位置確認パルス信号発生回路4のパルス信号4aが入力されている時にキーボード用のスキャン信号9を通過させる。これにより、鍵スイッチ7を回転させなくても設定されているモードが何であるのかを検出することができる。これはパソコンだけに限らず、鍵スイッチ7の閉接点情報をキーコードとしてキーボードインタフェースから出力する場合に適用可能である。
【0022】
このように、鍵スイッチ7の各接点の開閉状態を2値の電圧レベルでデコード信号化し、リターン信号発生回路6に入力するとともにエンコード信号化し、エンコード信号の変化と閉接点位置確認信号8の発生時にパルスを発生させ、このパルスにより有効となったスキャン信号9を用いて鍵スイッチ7の各接点の開閉状態をキーボードリターン信号10として出力するので、鍵スイッチ7の各接点の開閉状態を直接CPUで読み込むためのインターフェース回路やケーブルを不要とし、鍵スイッチ7をハード的、ソフト的に簡便に利用できる。
【0023】
図2はこの発明の実施の形態の全体構成を示すブロック図である。図2に示すように、鍵スイッチ7の初期位置検出手段12と、キー位置変化検出手段13と、キー接点検出手段14と、CPU部15と、キーデータをCPU部15にシリアル通信で送信するシリアル通信手段16とで構成されている。図2と図1と比較すると、キー接点検出手段14は接点位置デコード回路1とリターン信号発生回路6に相当し、キー位置変化検出手段13は接点位置エンコード回路2と接点切換パルス信号発生回路3とゲート回路5に相当し、初期位置検出手段12は接点位置確認パルス信号発生回路4とゲート回路5に相当する。これにより、PC−POSで鍵スイッチ位置のデータを通常のキーのキーコードと同様にPS/2インタフェースを介して受信して処理可能とする。
【0024】
図3はこの発明の実施の形態においてパソコンのハードウェアとOS、BIOSを用いてシステムを構成した図である。図3において、17はマザーボード、18はメモリ、19はHDD(ハードディスクドライブ)、20はFDD(フロッピーディスクドライブ)、21はディスプレイ、22はプリンタ、23はキーボード、24は周辺機器、25はキーボード・鍵スイッチ基板、26はI/O増設基板、27はケーブルである。キーボード23のスキャン信号、リターン信号と鍵スイッチ7のスキャン信号、リターン信号をキーボード、鍵スイッチ基板25の同じサブCPUで処理し、キーコードデータをマザーボード17のメインCPUへシリアル通信で送信する。
【0025】
図4はこの発明の実施の形態と比較するために示した従来例のPOSシステムの構成図である。図5の検出回路をI/O増設基板26に構成して、マザーボード17に装着し、鍵スイッチ7をケーブルでI/O増設基板に接続している。
【0026】
【発明の効果】
この発明の鍵スイッチ位置信号発生回路によれば、エンコード信号が入力され閉接点を切換えた時にパルス信号を発生する接点切換パルス信号発生回路と、接点位置確認信号を入力してパルス信号を発生する接点位置確認パルス信号発生回路とを設け、ゲート回路において接点切換パルス信号発生回路と接点位置確認パルス信号発生回路のいずれかのパルス信号が入力されている時のみキーボード用のスキャン信号を通過させ、リターン信号発生回路において接点位置デコード回路からの各接点のデコード信号がリターン信号用に入力され閉接点となっているリターン信号のみがスキャン信号が入力されている間アクティブとなって出力されるようにリターン信号を生成するので、業務モードの設定をパソコンのキーボードインターフェースよりキーコードデータとして取り込むことができる。このため、鍵スイッチの各接点の開閉状態を直接CPUで読み込むためのインターフェース回路やケーブルを不要となり、ハード的、ソフト的に簡便に鍵スイッチを操作することができ、その産業上の利用価値は大である。
【図面の簡単な説明】
【図1】この発明の実施の形態の鍵スイッチ位置信号発生回路のブロック図である。
【図2】この発明の実施の形態の全体構成を示すブロック図である。
【図3】この発明の実施の形態のPOSシステムへの応用を示した構成図である。
【図4】この発明の実施の形態と比較するために示した従来例のPOSシステムの構成図である。
【図5】従来例のブロック図である。
【符号の説明】
1 接点位置デコード回路
2 接点位置エンコード回路
3 接点切換パルス信号発生回路
3a パルス信号
4 接点位置確認パルス信号発生回路
4a パルス信号
5 ゲート回路
6 リターン信号発生回路
7 鍵スイッチ
8 接点位置確認信号
9 スキャン信号
10 リターン信号
11 エンコード信号読み取り用ゲート回路
17 マザーボード
18 メモリ
19 HDD(ハードディスクドライブ)
20 FDD(フロッピーディスクドライブ)
21 ディスプレイ
22 プリンタ
23 キーボード
24 周辺機器
25 キーボード・鍵スイッチ基板
26 I/O増設基板
27 ケーブル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a key switch position signal generating circuit for detecting a mode position of a key switch for setting a business mode in an electronic register or a POS system used in a store such as a distribution business.
[0002]
[Prior art]
In the past, key switches have been used for switching operations such as registration, inspection, settlement, and maintenance using electronic registers and POS. By inserting the key into the keyhole of the key switch and rotating the key, a desired job mode is selected and the job can be executed. By limiting the rotation operation range with a key, it is possible to limit the work that can be executed. By having keys with different rotation ranges between the cashier and the manager, it is possible to operate with a limited work range.
[0003]
The key switch utilized in this way has a structure in which the contact between the common terminal and the terminal at each rotational position is closed, and the operation mode can be selected by detecting this closed contact position. At this time, the ON contact of the key switch is converted into a digital signal by the encoder, and this digital signal is directly read by the CPU to know the position of the key switch.
[0004]
FIG. 5 shows a conventional closed contact position detection circuit, in which each contact for each operation mode of the key switch 7 is made to correspond to the 0 and 1 bit signals by the contact position decode circuit 1 and further from this signal to the closed contact position. The encoded signal is generated by the contact position encoding circuit 2, and is read by the CPU via the reading gate circuit 11, thereby detecting which business mode the key switch is in.
[0005]
In most cases, the key switch is arranged near the board surface of the keyboard. Since the key switch is arranged away from the CPU that detects the closed contact position, the signal is routed using a cable and read by the CPU. Also, it is necessary to read the key input signal of the keyboard by the CPU, and the key input signal and the key switch signal are read by being routed by the cable as separate signals.
[0006]
[Problems to be solved by the invention]
In recent years, there have been many cases where a POS system is configured by using personal computer hardware, OS, and BIOS. When using the hardware of a personal computer, it cannot be detected by a conventional method unless a key switch I / O port capable of processing a bit-corresponding signal for each key switch business mode is added. In this case, in order to detect the mode position of the key switch, it is necessary to attach an additional board to the motherboard and route the cable.
[0007]
Therefore, an object of the present invention is to eliminate the need for the key switch bit I / O port and the key switch cable when the POS system is configured using the hardware of the personal computer, the OS, and the BIOS, and to close the key switch. It is an object to provide a key switch position signal generation circuit capable of capturing a contact position as key code data from a keyboard interface of a personal computer.
[0008]
[Means for Solving the Problems]
In order to solve the above-mentioned problems, a key switch position signal generating circuit according to claim 1 of the present invention provides a key switch for setting a business mode and a decode signal corresponding to the closed contact position for each business mode of the key switch. Contact position decoding circuit that generates, contact position encoding circuit that generates an encode signal corresponding to the closed contact position from the decode signal, and contact switching pulse signal generation circuit that generates a pulse signal when the encode signal is input and the closed contact is switched A contact position confirmation signal for confirming the closed contact position, a contact position confirmation pulse signal generation circuit for inputting this contact position confirmation signal and generating a pulse signal, a contact switching pulse signal generation circuit, and a contact position confirmation pulse A gate that allows the scan signal for the keyboard to pass only when one of the pulse signals of the signal generation circuit is input Return signal so that only the return signal that is a closed contact with the decode signal of each contact from the path and the contact position decoding circuit is input for the return signal and becomes active while the scan signal is input And a return signal generating circuit for generating
[0009]
The key switch position signal generating circuit configured as described above determines the contact position of the key switch corresponding to the business mode, rotates the key to the business position to be executed, and connects the common terminal and each contact. The contact position decoding circuit is configured such that only the contact connected to the common terminal has the same voltage level as the common terminal, and all other contacts have different voltage levels. In this way, each contact signal of the key switch is input to the contact position decoding circuit, and its output is input to the contact position encoding circuit and the return signal generation circuit.
[0010]
The contact position decode signal is input to the contact position encoding circuit to generate a code signal corresponding to the closed contact position. This signal does not change unless the key is rotated to change the closed contact, but when the key is rotated, the first or second digit of the code signal always changes from logic 0 to logic 1 or from logic 1 to logic 0. . The contact switching pulse signal generation circuit inputs the signal of each digit of the code signal and generates a pulse signal when there is a change.
[0011]
In order to capture the key switch's closed contact position as key code data from the PC keyboard interface, a keyboard scan signal is input and only when the key switch's closed contact position changes, the keyboard's return signal corresponds to the new closed contact. And the gate circuit performs such a function. The scan signal input to the gate circuit passes through the gate circuit only when the closed contact position of the key switch changes and is input to the return signal generation circuit. In the return signal generation circuit, all the decoded key switch contact signals are input for return signals, and only the return signals that are closed contacts are active and output during the input of the scan signal. .
[0012]
Further, when the key switch is not rotated once after the power is turned on or reset, the return signal that is a closed contact is not active, and the closed contact position, that is, the business mode cannot be detected. Therefore, after the power is turned on or reset, the contact position confirmation signal is input to the contact position confirmation pulse signal generation circuit and the pulse signal is input to the gate circuit so that the closed contact position can be detected without rotating the key switch once. To do. Similarly to when the pulse signal of the contact switching pulse signal generation circuit is input to the gate circuit, the keyboard scan signal is passed when the pulse signal of the contact position confirmation pulse signal generation circuit is input. Thereby, it is possible to detect what mode is set without rotating the key switch. This is applicable not only to a personal computer but also to the case where key switch closing contact information is output as a key code from a keyboard interface.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of the present invention will be described with reference to FIGS.
[0014]
FIG. 1 is a block diagram of a key switch position signal generating circuit according to an embodiment of the present invention.
[0015]
In FIG. 1, 1 is a contact position decoding circuit, 2 is a contact position encoding circuit, 3 is a contact switching pulse signal generation circuit, 4 is a contact position confirmation pulse signal generation circuit, 5 is a gate circuit, 6 is a return signal generation circuit, 7 Is a key switch, 8 is a contact position confirmation signal, 9 is a keyboard scan signal, and 10 is a keyboard return signal.
[0016]
The contact position decoding circuit 1 generates a decode signal corresponding to the closed contact position of the key switch 7. The contact position encoding circuit 2 generates an encode signal corresponding to the closed contact position of the key switch 7. The contact switching pulse signal generation circuit 3 generates a pulse when the closed contact is switched. The contact position confirmation signal 8 is input to confirm the closed contact position. The contact position confirmation pulse signal generation circuit 4 receives the contact position confirmation signal 8 and generates a pulse. The gate circuit 5 allows the keyboard scan signal 9 to pass through the outputs of the contact switching pulse signal generation circuit 3 and the contact position confirmation pulse signal generation circuit 4 as gate signals. The return signal generation circuit 6 generates a keyboard return signal 10 based on the contact position decode signal and the gate circuit output signal.
[0017]
Next, the operation of the key switch position signal generation circuit will be described. The contact position of the key switch 7 is determined corresponding to the business mode, and the common terminal and each contact are connected by rotating the key to the business position to be executed. The contact position decoding circuit 1 is configured such that only the contact connected to the common terminal has the same voltage level as the common terminal, and all other contacts have different voltage levels. For example, if the common terminal is pulled up to the ground level (0 V) and the other contacts are pulled up to 5 V via a resistor, only the closed contacts connected to the common terminal are 0 V, and the others are all 5 V. In this way, each contact signal of the key switch 7 is input to the contact position decoding circuit 1, and its output is input to the contact position encoding circuit 2 and the return signal generation circuit 6.
[0018]
The encode signal encoded by the contact position encoding circuit 2 is input to the contact switching pulse signal generation circuit 3, and a pulse signal 3a is generated when the contact is switched. That is, the contact position decode signal is input to the contact position encode circuit 2 to generate an encode signal corresponding to the closed contact position. This signal does not change unless the key is rotated to change the closed contact, but when the key is rotated, the first or second digit of the code signal always changes from logic 0 to logic 1 or from logic 1 to logic 0. . The contact switching pulse signal generation circuit 3 inputs a signal of each digit of the code signal, and generates a pulse signal 3a when there is a change.
[0019]
This pulse signal 3a and a contact position confirmation signal 8 for generating a pulse signal even if the contact is not switched are input to the contact position confirmation pulse signal generation circuit 4 and a pulse signal 4a to be generated is input to the gate circuit 5. The scan signal 9 is output via the return signal generation circuit 6 only during the period in which any one of the pulse signals 3a and 4a is input, but only the return signal that is a closed contact is the scan signal 9. Correspondingly active and output.
[0020]
That is, in order to capture the closed contact position of the key switch 7 as key code data from the keyboard interface of the personal computer, a new closed contact is supported only when the keyboard scan signal 9 is input and the closed contact position of the key switch 7 is changed. It is necessary to output a return signal for the keyboard, and the gate circuit 5 performs such a function. The scan signal 9 input to the gate circuit 5 passes through the gate circuit 5 and is input to the return signal generation circuit 6 only when the closed contact position of the key switch 7 changes. All of the decoded contact signals of the key switch 7 are input to the return signal generation circuit 6 as return signals, and only the return signal 10 which is a closed contact is active during the period when the scan signal 9 is input. And output.
[0021]
However, if the key switch 7 is not rotated once after the power is turned on or reset, the return signal that is a closed contact is not active, and the closed contact position, that is, the business mode cannot be detected. Therefore, after the power is turned on or reset, the contact position confirmation signal 8 is input to the contact position confirmation pulse signal generation circuit 4 and the pulse signal 4a is gated so that the closed contact position can be detected without rotating the key switch once. Input to the circuit 5. Similarly to when the pulse signal 3a of the contact switching pulse signal generation circuit 3 is input to the gate circuit 5, when the pulse signal 4a of the contact position confirmation pulse signal generation circuit 4 is input, the scan signal 9 for the keyboard is passed. Let Thereby, it is possible to detect what mode is set without rotating the key switch 7. This is applicable not only to the personal computer but also to the case where the closed contact information of the key switch 7 is output from the keyboard interface as a key code.
[0022]
In this way, the open / close state of each contact of the key switch 7 is converted into a decode signal at a binary voltage level, input to the return signal generation circuit 6 and converted into an encode signal, and the change of the encode signal and the generation of the closed contact position confirmation signal 8 are generated. Since a pulse is sometimes generated, and the open / close state of each contact of the key switch 7 is output as the keyboard return signal 10 using the scan signal 9 validated by this pulse, the open / close state of each contact of the key switch 7 is directly determined by the CPU. The key switch 7 can be easily used in terms of hardware and software without the need for an interface circuit or a cable for reading data.
[0023]
FIG. 2 is a block diagram showing the overall configuration of the embodiment of the present invention. As shown in FIG. 2, the initial position detection means 12, the key position change detection means 13, the key contact detection means 14, the CPU unit 15, and the key data of the key switch 7 are transmitted to the CPU unit 15 by serial communication. And serial communication means 16. 2 and 1, the key contact detection means 14 corresponds to the contact position decode circuit 1 and the return signal generation circuit 6, and the key position change detection means 13 corresponds to the contact position encode circuit 2 and the contact switching pulse signal generation circuit 3. The initial position detection means 12 corresponds to the contact position confirmation pulse signal generation circuit 4 and the gate circuit 5. As a result, the PC-POS can receive and process the key switch position data via the PS / 2 interface in the same manner as the key code of the normal key.
[0024]
FIG. 3 is a diagram showing a system configuration using personal computer hardware, OS, and BIOS in the embodiment of the present invention. In FIG. 3, 17 is a motherboard, 18 is a memory, 19 is an HDD (hard disk drive), 20 is an FDD (floppy disk drive), 21 is a display, 22 is a printer, 23 is a keyboard, 24 is a peripheral device, 25 is a keyboard A key switch board, 26 is an I / O expansion board, and 27 is a cable. The keyboard 23 scan signal, the return signal, the key switch 7 scan signal, and the return signal are processed by the same sub CPU of the keyboard and key switch board 25, and the key code data is transmitted to the main CPU of the motherboard 17 by serial communication.
[0025]
FIG. 4 is a configuration diagram of a conventional POS system shown for comparison with the embodiment of the present invention. The detection circuit shown in FIG. 5 is configured on the I / O expansion board 26 and mounted on the motherboard 17, and the key switch 7 is connected to the I / O expansion board with a cable.
[0026]
【The invention's effect】
According to the key switch position signal generation circuit of the present invention, a contact switching pulse signal generation circuit that generates a pulse signal when an encode signal is input and a closed contact is switched, and a contact position confirmation signal are input to generate a pulse signal. A contact position confirmation pulse signal generation circuit is provided, and the scan signal for the keyboard is allowed to pass only when the pulse signal of either the contact switching pulse signal generation circuit or the contact position confirmation pulse signal generation circuit is input in the gate circuit, In the return signal generation circuit, the decode signal of each contact from the contact position decode circuit is input for the return signal so that only the return signal that is a closed contact is active and output while the scan signal is input. Since the return signal is generated, the operation mode setting can be changed to the keyboard interface of the computer. Ri can be incorporated as a key code data. This eliminates the need for an interface circuit or cable for directly reading the open / closed state of each contact of the key switch with the CPU, and allows the key switch to be operated easily in terms of hardware and software. It ’s big.
[Brief description of the drawings]
FIG. 1 is a block diagram of a key switch position signal generation circuit according to an embodiment of the present invention.
FIG. 2 is a block diagram showing an overall configuration of an embodiment of the present invention.
FIG. 3 is a configuration diagram showing application of the embodiment of the present invention to a POS system;
FIG. 4 is a configuration diagram of a conventional POS system shown for comparison with the embodiment of the present invention.
FIG. 5 is a block diagram of a conventional example.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Contact position decoding circuit 2 Contact position encoding circuit 3 Contact switching pulse signal generation circuit 3a Pulse signal 4 Contact position confirmation pulse signal generation circuit 4a Pulse signal 5 Gate circuit 6 Return signal generation circuit 7 Key switch 8 Contact position confirmation signal 9 Scan signal 10 Return signal 11 Encoding signal reading gate circuit 17 Motherboard 18 Memory 19 HDD (Hard disk drive)
20 FDD (floppy disk drive)
21 Display 22 Printer 23 Keyboard 24 Peripheral Device 25 Keyboard / Key Switch Board 26 I / O Expansion Board 27 Cable

Claims (1)

業務モードを設定する鍵スイッチと、この鍵スイッチの業務モード毎の閉接点位置に対応したデコード信号を発生する接点位置デコード回路と、前記デコード信号から前記閉接点位置に対応したエンコード信号を発生する接点位置エンコード回路と、前記エンコード信号が入力され閉接点を切換えた時にパルス信号を発生する接点切換パルス信号発生回路と、前記閉接点位置を確認するための接点位置確認信号と、この接点位置確認信号を入力してパルス信号を発生する接点位置確認パルス信号発生回路と、前記接点切換パルス信号発生回路と前記接点位置確認パルス信号発生回路のいずれかのパルス信号が入力されている時のみキーボード用のスキャン信号を通過させるゲート回路と、前記接点位置デコード回路からの各接点のデコード信号がリターン信号用に入力され閉接点となっているリターン信号のみが前記スキャン信号が入力されている間アクティブとなって出力されるようにリターン信号を生成するリターン信号発生回路とを備えた鍵スイッチ位置信号発生回路。A key switch for setting a business mode, a contact position decoding circuit for generating a decode signal corresponding to the closed contact position for each business mode of the key switch, and an encode signal corresponding to the closed contact position from the decode signal A contact position encoding circuit; a contact switching pulse signal generating circuit for generating a pulse signal when the encode signal is input and switching the closed contact; a contact position confirmation signal for confirming the closed contact position; and the contact position confirmation For the keyboard only when the pulse signal of the contact position confirmation pulse signal generation circuit that inputs a signal and generates a pulse signal, or any one of the contact switching pulse signal generation circuit and the contact position confirmation pulse signal generation circuit is input A gate circuit that passes the scan signal of the signal and the decode signal of each contact from the contact position decode circuit. A key switch comprising a return signal generating circuit for generating a return signal so that only a return signal that is input for a return signal and is a closed contact is activated and output while the scan signal is input Position signal generation circuit.
JP07284899A 1999-03-18 1999-03-18 Key switch position signal generation circuit Expired - Fee Related JP3756340B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07284899A JP3756340B2 (en) 1999-03-18 1999-03-18 Key switch position signal generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07284899A JP3756340B2 (en) 1999-03-18 1999-03-18 Key switch position signal generation circuit

Publications (2)

Publication Number Publication Date
JP2000267790A JP2000267790A (en) 2000-09-29
JP3756340B2 true JP3756340B2 (en) 2006-03-15

Family

ID=13501223

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07284899A Expired - Fee Related JP3756340B2 (en) 1999-03-18 1999-03-18 Key switch position signal generation circuit

Country Status (1)

Country Link
JP (1) JP3756340B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011095949A (en) * 2009-10-29 2011-05-12 Sanyo Electric Co Ltd Input device

Also Published As

Publication number Publication date
JP2000267790A (en) 2000-09-29

Similar Documents

Publication Publication Date Title
KR100271404B1 (en) System and method for providing technical support of electronic system through web bios
US5343525A (en) Hard disk data security device
US6317798B1 (en) Remote initiation of BIOS console redirection
US10452844B2 (en) Protecting isolated secret data of integrated circuit devices
JP2002082734A (en) Information processing apparatus, information processing method, and program storage medium
MXPA04010156A (en) Providing secure input to a system with a high-assurance execution environment.
JPH05290584A (en) Semiconductor memory
US5134713A (en) Coprocessor detection circuit
JPH1083287A (en) Computer system and operation method thereof
JP3593460B2 (en) Memory card
US7612901B2 (en) Image forming apparatus, control method, and storage medium storing a computer program, for inhibiting switching to a normal mode in a removable storage device is detected or inhibiting a specific mode if the removable storage device is not detected
JP3756340B2 (en) Key switch position signal generation circuit
US5898425A (en) Computer system with keyboard and pointing device interface for managing device input codes
JP4237502B2 (en) Keypad device security system and method
US9781138B2 (en) Method and device for providing a security breach indicative audio alert
US6212439B1 (en) Three memory user programmable buttons
WO2004104828A1 (en) Interrupt controller, asic, and electronic device
US20020133739A1 (en) Protective circuit for protecting hard disk data
JP2001306266A (en) Method for protecting data in hard disk and computer system
AU8232187A (en) Computer security system
KR20070007596A (en) computer
US5905861A (en) Data authentication circuit
KR100434012B1 (en) Pc locking device locking keyboard and mouse at same time
JPH10133784A (en) Information processor
JP4042940B2 (en) Microcontroller with on-chip programming function

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051213

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051221

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100106

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110106

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120106

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130106

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees