[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP2638488B2 - Wireless keyboard - Google Patents

Wireless keyboard

Info

Publication number
JP2638488B2
JP2638488B2 JP6170611A JP17061194A JP2638488B2 JP 2638488 B2 JP2638488 B2 JP 2638488B2 JP 6170611 A JP6170611 A JP 6170611A JP 17061194 A JP17061194 A JP 17061194A JP 2638488 B2 JP2638488 B2 JP 2638488B2
Authority
JP
Japan
Prior art keywords
key
signal
data
wireless
response
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
JP6170611A
Other languages
Japanese (ja)
Other versions
JPH0836446A (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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP6170611A priority Critical patent/JP2638488B2/en
Publication of JPH0836446A publication Critical patent/JPH0836446A/en
Application granted granted Critical
Publication of JP2638488B2 publication Critical patent/JP2638488B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はワイヤレスキーボードに
関し、特にパーソナルコンピュータやワークステーショ
ン等のOA機器におけるデータ入力用のワイヤレスキー
ボードに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a wireless keyboard, and more particularly to a wireless keyboard for data input in OA equipment such as a personal computer and a workstation.

【0002】[0002]

【従来の技術】一般に、パーソナルコンピュータやワー
クステーション等のOA機器においては、操作性の向上
や机上の有効利用の観点から、データ入力用のキーボー
ドおよび監視用のディスプレイとを机上に、電子的な処
理を行うCPUを含む制御装置を机の下や横にそれぞれ
配置し、これらの各装置間をケーブルにより接続してい
る。特にキーボードはケーブルが配置の自由度を妨げる
ことと、操作性上邪魔になる場合が多い。また、用途に
よっては机上の美観を損なうという不具合もある。
2. Description of the Related Art Generally, in an OA device such as a personal computer and a workstation, a keyboard for data input and a display for monitoring are electronically mounted on a desk from the viewpoint of improvement of operability and effective use on a desk. Control devices including a CPU for processing are arranged under and beside a desk, and these devices are connected by cables. In particular, in the keyboard, the cable often hinders the degree of freedom of arrangement and hinders operability in many cases. In addition, there is a problem that the aesthetic appearance on the desk is impaired depending on the use.

【0003】このような通常のケーブル接続型のキーボ
ードの欠点を緩和するため、特開昭62−168218
号公報(引用例1)、特開昭62−24302号公報
(引用例2)あるいは特開平2−81114号公報(引
用例3)等に記載されているような、ケーブルの代りに
光信号を使用したワイヤレスキーボードが提案されてい
る。
In order to alleviate such drawbacks of a conventional cable-connected keyboard, Japanese Patent Application Laid-Open No. Sho 62-168218 has been proposed.
An optical signal is used instead of a cable, as described in Japanese Patent Application Laid-Open No. 62-24302 (Reference 2) or Japanese Patent Application Laid-Open No. 2-81114 (Reference 3). A used wireless keyboard has been proposed.

【0004】引用例1,2記載のワイヤレスキーボード
は、ケーブルの単純代用として光信号を用いるものであ
り、キーボードの配置に関する自由度は飛躍的に向上す
る。しかし、銀行窓口業務等の複数台のオフィスコンピ
ュータやOA端末が同時に動作する環境では、各装置間
の光信号の相互干渉や外来ノイズあるいは障害物の影響
が誤動作要因となる。この欠点を解決するため、引用例
3のワイヤレスキーボードでは、出力および返送キーコ
ードの相互比較結果正常であれば通信処理を完了するこ
とにより、データ入力の信頼性を向上させている。
The wireless keyboards described in the cited examples 1 and 2 use an optical signal as a simple substitute for a cable, and the degree of freedom regarding the layout of the keyboard is greatly improved. However, in an environment in which a plurality of office computers and OA terminals operate simultaneously, such as in a bank teller's office, mutual interference of optical signals between devices and the influence of external noise or obstacles cause malfunction. In order to solve this drawback, the wireless keyboard of the cited reference 3 improves the reliability of data input by completing the communication process if the result of the mutual comparison between the output and return key codes is normal.

【0005】引用例3記載の従来のワイヤレスキーボー
ドを含む銀行端末装置をブロックで示す図15を参照す
ると、この従来のワイヤレスキーボードを含む銀行端末
装置は、ディスプレイ100と、CPUを含み全体の制
御を行う制御装置120と、データ入力用のワイヤレス
キーボード130とを備える。
[0005] Referring to FIG. 15, which shows in block form a bank terminal device including a conventional wireless keyboard described in Reference 3, the bank terminal device including the conventional wireless keyboard includes a display 100 and a CPU, and controls the entire system. It has a control device 120 for performing the operation and a wireless keyboard 130 for inputting data.

【0006】ディスプレイ100は受光素子を含み光信
号を電気信号に変換する光電変換器111と、装置コー
ドを分離するデコーダ112と、装置コードを付加する
エンコーダ113と、発光素子を含み電気信号を光信号
に変換する電光変換器114とを備える。
The display 100 includes a light receiving element, a photoelectric converter 111 for converting an optical signal into an electric signal, a decoder 112 for separating an apparatus code, an encoder 113 for adding an apparatus code, and a light emitting element for converting an electric signal to an optical signal. And an electro-optical converter 114 for converting the signal into a signal.

【0007】キーボード130は入力用のキーが配列さ
れたキースイッチ131と、押下キー対応のキーコード
を発生するキーコード発生器132と、キーコードを一
時保持するキーコードバッファ133と、キーコードに
装置コードの付加および所定の周波数変調を行うエンコ
ーダ134と、電光変換器114と同様の電光変換器1
36と、光電変換器111と同様の光電変換器137
と、装置コードを分離するデコーダ138と、送信およ
び受信キーコードを相互比較する比較器139と、電源
140とを備える。
The keyboard 130 includes a key switch 131 in which keys for input are arranged, a key code generator 132 for generating a key code corresponding to a pressed key, a key code buffer 133 for temporarily storing a key code, and a key code An encoder 134 for adding a device code and performing predetermined frequency modulation; and an electro-optical converter 1 similar to the electro-optical converter 114.
36 and a photoelectric converter 137 similar to the photoelectric converter 111
And a decoder 138 for separating a device code, a comparator 139 for comparing transmission and reception key codes with each other, and a power supply 140.

【0008】次に、図15を参照して、従来のワイヤレ
スキーボードの動作について説明すると、まず、キース
イッチ131の任意のキーの押下に応答して、そのキー
対応のキーコードがキーコード発生器132で生成さ
れ、キーコードバッファ133に保持される。次に、エ
ンコーダ134でこのキーボード130の装置コードが
付加され、さらにこのキーボード130固有の周波数で
変調されてから電光変換器136で光信号に変換され
る。この光信号は光電変換器111で電気信号に変換さ
れ、デコーダ112で装置コードを分離し、制御装置1
20に送る。制御装置120はこの装置コードをチェッ
クし、正常であれば上記キーコードの取込みとともにエ
ンコーダ113で制御装置120の装置コードを付加
し、制御装置120固有の周波数で変調後、電光変換器
114,光電変換器137を経由してキーボード130
に返送する。キーボード130は、受信した返送キーコ
ード信号からデコーダ138で装置コードを分離し、こ
の制御装置120の装置コードが親子関係にあるか否か
をチエックする。親子関係にあれば、比較器139で返
送キーコードとキーコードバッファに保持された送信キ
ーコードとの相互比較を行ない、一致すれば次に押下さ
れるキー入力処理に移り、所定時間経過後にこの次キー
入力を送信する。不一致の場合は、上述と同様のプロセ
スにより再度キーコードを出力する。制御装置120は
返送キーコード送信後、上記所定時間キーボード130
からのキーデータ送信を監視し、再送信されてこなけれ
ば最初の受信キーコードを正常データとして処理する。
上記所定時間内にキーコードが再送信されてきた場合、
最初の受信キーコードを誤データと判定してキャンセル
し、上記再送信キーコードを最初のキーコードとしてキ
ーボード130に返送する処理を行い、上述の動作を繰
り返す。
Next, the operation of the conventional wireless keyboard will be described with reference to FIG. 15. First, in response to pressing of any key of the key switch 131, a key code corresponding to the key is generated by a key code generator. 132 is generated and held in the key code buffer 133. Next, the device code of the keyboard 130 is added by the encoder 134, modulated at a frequency unique to the keyboard 130, and converted into an optical signal by the electro-optical converter 136. This optical signal is converted into an electric signal by a photoelectric converter 111, and a device code is separated by a decoder 112.
Send to 20. The control device 120 checks this device code, and if normal, adds the device code of the control device 120 by the encoder 113 at the same time as taking in the key code, modulates it with a frequency unique to the control device 120, and then converts Keyboard 130 via converter 137
Return to. The keyboard 130 separates the device code from the received return key code signal by the decoder 138, and checks whether or not the device code of the control device 120 is in a parent-child relationship. If there is a parent-child relationship, the return key code is compared with the transmission key code held in the key code buffer by the comparator 139, and if they match, the process proceeds to the key input process to be pressed next. Send the next keystroke. If they do not match, the key code is output again by the same process as described above. After transmitting the return key code, the control device 120 sets the keyboard 130
The key data transmission from the server is monitored, and if not retransmitted, the first received key code is processed as normal data.
If the key code is retransmitted within the above specified time,
The first received key code is determined to be erroneous data, canceled, the process of returning the retransmitted key code as the first key code to the keyboard 130 is performed, and the above operation is repeated.

【0009】このように、この従来の引用例3のワイヤ
レスキーボードは、入力送信および返送キーコードの各
々の相互比較により正常であれば通信処理を完了する方
式を採用し、データ通信の信頼性を向上させている。
As described above, the conventional wireless keyboard of the cited reference 3 adopts the method of completing the communication processing if it is normal by mutual comparison of the input transmission and return key codes, and improves the reliability of data communication. Have improved.

【0010】一方、NEC(株)の98シリーズなど最
近の一般的なパーソナルコンピュータでは、CPUを含
む本体である制御装置(以下CPU)へのキーコード送
信機能に加えて、CPUからのコマンド受信機能を有す
るキーボードを備えている。
On the other hand, in recent general personal computers such as the 98 series of NEC Corporation, in addition to a function of transmitting a key code to a control device (hereinafter referred to as a CPU) including a CPU, a function of receiving a command from the CPU is provided. And a keyboard having:

【0011】この種の機能の一例として、上記98シリ
ーズパーソナルコンピュータではキーボード上にキーロ
ック状態を表示するLEDディスプレイを備え、CPU
で走行中のソフトウェアに応じて上記キーロック状態表
示を変更するLEDディスプレイ制御コマンドを上記キ
ーボードに対し発行する入力モード切換機能を標準装備
している。動作の一例としては、ワードプロセッサソフ
トウェア走行中は、かなおよびローマ字の2モード対応
の文字キー入力がかな文字対応となるかなロック状態の
とき「カナ」表示対応のLEDディスプレイが点灯する
かな入力モードに、表計算ソフトウェア走行中は上記文
字キー入力がローマ字入力対応となり同時に大文字ロッ
ク状態のとき大文字を示す「CAPS」表示対応のLE
Dディスプレイが点灯するローマ字大文字入力モードに
それぞれ設定される。これにより、オペレータによるキ
ーロック状態の切換え操作なしに、使用ソフトウェアの
切換えに対応する入力モードの自動切換えを可能として
いる。
As an example of this kind of function, the 98 series personal computer has an LED display for displaying a key lock state on a keyboard, and a CPU.
An input mode switching function for issuing an LED display control command for changing the key lock state display to the keyboard in accordance with the software being run is provided as standard equipment. As an example of the operation, while the word processor software is running, the kana input mode in which the LED display corresponding to the display of “kana” is lit when the character key input corresponding to the two modes of kana and romaji is in the kana lock state where the kana character is supported, While the spreadsheet software is running, the above character key input corresponds to Roman character input, and at the same time, when the uppercase letter is locked, LE corresponds to "CAPS" display which indicates uppercase letter
The mode is set to a Roman alphabet upper case input mode in which the D display lights up. As a result, the input mode can be automatically switched corresponding to the switching of the software to be used, without the operation of switching the key lock state by the operator.

【0012】引用例3の従来のワイヤレスキーボード
は、最近の一般的なパーソナルコンピュータのキーボー
ドが有するようなCPUからのコマンド受信を含む双方
向通信機能が欠如しており上記入力モード切換機能の装
備が不可能である。
The conventional wireless keyboard of the cited reference 3 lacks a two-way communication function including reception of a command from the CPU as a keyboard of a recent general personal computer has, and is equipped with the input mode switching function. Impossible.

【0013】さらに、上記98シリーズパーソナルコン
ピュータでは、一般的な機能として、CPUの入力モー
ド設定時におけるマンマシンインターフェースの向上の
ために、キーボードの特定キーを押下しながらCPUの
リセットボタンを押下するとモード設定用ソフトウェア
が起動する自動モード設定機能を装備している。この自
動モード設定機能の実現には、CPUからキーボードへ
の上記リセット信号を定義し、キーボードは上記リセッ
ト信号の受信に応答して既に押下されている上記特定キ
ーをチェックし、このチエック結果のCPUへの伝送後
にこの特定キー押下情報を保持したまま上記リセット処
理を実行するとともに、CPUは上記リセット信号の発
生後の一定時間内にキーボードからの伝送データは上記
リセット時の上記押下特定キーであると判断し、この特
定キーがCPUのモード設定ソフトウェアを起動するキ
ーであれば、対象ソフトウェアを起動する。しかし、従
来のワイヤレスキーボードは、上述のようにリセットコ
マンドやデータの受信を含む双方向通信機能が欠如して
おり、この種の自動モード設定機能の装備に対応できな
い。
Further, in the 98 series personal computer, as a general function, in order to improve the man-machine interface at the time of setting the input mode of the CPU, when the CPU reset button is pressed while pressing a specific key of the keyboard, the mode is set. Equipped with an automatic mode setting function that starts the setting software. In order to realize the automatic mode setting function, the reset signal from the CPU to the keyboard is defined, and the keyboard checks the specific key that has been pressed in response to the reception of the reset signal. After executing the reset processing while holding the specific key press information after transmission to the CPU, the CPU transmits the transmission data from the keyboard within the fixed time after the generation of the reset signal to the press specific key at the time of the reset. If the specific key is a key for starting the mode setting software of the CPU, the target software is started. However, the conventional wireless keyboard lacks a two-way communication function including reception of a reset command and data as described above, and cannot be equipped with this type of automatic mode setting function.

【0014】[0014]

【発明が解決しようとする課題】上述した従来のワイヤ
レスキーボードは、コマンドやデータの受信を含むCP
Uとの双方向通信機能が欠如しており、一般的なケーブ
ル付きキーボードの機能に含まれソフトウェア切換対応
の自動入力モード切換機能やマンマシンインターフェー
スの向上のための自動モード設定機能などの装備に対応
できず互換性に乏しいという欠点があった。
The above-mentioned conventional wireless keyboard has a CP including reception of commands and data.
Lack of bi-directional communication function with U. Included in general cable keyboard functions, such as automatic input mode switching function for software switching and automatic mode setting function for improving man-machine interface There was a drawback that compatibility was poor because it could not be handled.

【0015】[0015]

【課題を解決するための手段】本発明のワイヤレスキー
ボードは、キースイッチをマトリクス上に配置したキー
ボードからの第1のキーコードデータを含む第1のキー
情報を変調して第1の無線信号として送信する入力装置
と、前記第1の無線信号を受信復調した第2のキーコー
ドデータをデータ入力対象の上位装置に転送する制御装
置とを備えるワイヤレスキーボードにおいて、前記入力
装置が、前記第1のキーコードデータの供給を受け第1
の識別符号を含む前記第1のキー情報を発生するととも
に第1の制御データ対応の受信制御データに対応し第1
の無線通信ユニットの制御を含む予め定めた複数のプロ
グラムから成る第1のプログラム群を格納した第1の記
憶手段を有する第1のマイクロプロセッサと、前記第1
のキー情報の供給に応答して前記第1の無線信号を発生
するとともに前記制御装置が送信する第2の無線信号を
受信復調して前記制御装置からの前記第2のキーコード
データ対応の応答信号を含む前記第1の受信制御データ
を出力する第1の無線通信ユニットとを備え、前記制御
装置が、前記第1の無線信号を受信復調し前記第1のキ
ー情報対応の第1の受信キー情報を出力するとともに前
記第1の制御データの供給を受けて前記第2の無線信号
を発生する第2の無線通信ユニットと、第2の識別符号
を含む前記第1の制御データの発生および前記第2の無
線通信ユニットの制御を含む予め定めた複数のプログラ
ムから成る第2のプログラム群を格納した第2の記憶手
段と少なくとも前記第2のキーコードデータを含みこの
第2のキーコードデータ管理用のデータであるキーマッ
プを格納した第3の記憶手段とを有する第2のマイクロ
プロセッサとを備えて構成されている。
A wireless keyboard according to the present invention modulates first key information including first key code data from a keyboard in which key switches are arranged on a matrix to generate a first radio signal. A wireless keyboard comprising: an input device for transmitting; and a control device for transferring the second key code data obtained by receiving and demodulating the first wireless signal to a higher-level device to which data is to be input. First key code data supplied
Generating the first key information including the identification code of the first control data and receiving the first key information corresponding to the first control data.
A first microprocessor having first storage means for storing a first program group including a plurality of predetermined programs including control of the wireless communication unit;
Generating the first wireless signal in response to the supply of the key information, receiving and demodulating a second wireless signal transmitted by the control device, and responding to the second key code data from the control device. A first wireless communication unit that outputs the first reception control data including a signal, wherein the control device receives and demodulates the first wireless signal and performs a first reception corresponding to the first key information. A second wireless communication unit that outputs key information and generates the second wireless signal in response to the supply of the first control data, and the generation of the first control data including a second identification code; A second storage unit storing a second group of programs including a plurality of predetermined programs including control of the second wireless communication unit, and a second key code including at least the second key code data; Is constituted by a second microprocessor and a third memory means for storing key map is data over data management.

【0016】[0016]

【実施例】次に、本発明の第1の実施例をブロックで示
す図1を参照すると、この図に示す本実施例のワイヤレ
スキーボードは、データ入力用のキースイッチをマトリ
クス状に配置したキーマトリクス11を含みキーボード
本体を構成する入力装置1と、入力装置1との双方向通
信制御を行いパーソナルコンピュータ本体(以下パソコ
ン本体)3とケーブル4を経由して入出力インタフエー
スする制御装置2とを備える。
FIG. 1 is a block diagram showing a first embodiment of the present invention. Referring to FIG. 1, a wireless keyboard according to this embodiment shown in FIG. 1 has a key switch for data input arranged in a matrix. An input device 1 including a matrix 11 and constituting a keyboard main body; a control device 2 for performing bidirectional communication control with the input device 1 and performing input / output interface via a personal computer main body (hereinafter referred to as a personal computer main body) 3 and a cable 4 Is provided.

【0017】入力装置1はキーマトリクス11と、後述
の双方向通信機能対応のハードウェア化したソフトウェ
アであるフアームウェアF11,F12を格納したRO
MとRAMと各々複数の入力,出力,入出力ポートおよ
び割込ポートとを有するシングルチップマイクロコンピ
ュータ(以下マイコン)12と、後述の無線通信ユニッ
ト13と、かなおよびローマ字の2モード対応の文字キ
ー入力がローマ字入力対応のとき大文字(CAPS)ロ
ック状態を表示するCAPS表示用LEDディスプレイ
(以下LED)14と、上記文字キー入力がかな文字対
応となるかなロック状態を表示するカナ表示用LED1
5と、無線チャネルを決定する6ビットのディップスイ
ッチ16と、電源回路17と、入力装置1から制御装置
2へのデータを送信するアンテナ18と、制御装置2か
ら入力装置1へのデータを受信するアンテナ19とを備
える。
The input device 1 includes a key matrix 11 and an RO that stores firmware F11 and F12, which are hardware software for a bidirectional communication function described later.
M and RAM, a single-chip microcomputer (hereinafter referred to as a microcomputer) 12 having a plurality of input, output, input / output ports, and interrupt ports, a wireless communication unit 13 described later, and two-mode character keys for kana and romaji. A CAPS display LED display (hereinafter referred to as LED) 14 for displaying a capital letter (CAPS) lock state when the input corresponds to Roman alphabet input, and a kana display LED 1 for displaying a kana lock state where the above-mentioned character key input corresponds to a kana character.
5, a 6-bit dip switch 16 for determining a radio channel, a power supply circuit 17, an antenna 18 for transmitting data from the input device 1 to the control device 2, and receiving data from the control device 2 to the input device 1. And an antenna 19 to be provided.

【0018】制御装置2は無線通信ユニット21と、フ
アームウェアF11の代りにフアームウェアF21を格
納する他はマイコン12と同様のマイコン22と、ディ
ップスイッチ16と同様のディップスイッチ23と、入
力装置1から制御装置2へのデータを受信するアンテナ
24と、制御装置2から入力装置1へのデータを送信す
るアンテナ25とを備える。
The control device 2 includes a wireless communication unit 21, a microcomputer 22 similar to the microcomputer 12 except that the firmware F 21 is stored instead of the firmware F 11, a DIP switch 23 similar to the DIP switch 16, and an input device 1. And an antenna 25 for transmitting data from the control device 2 to the input device 1.

【0019】無線通信ユニット13の回路をブロックで
示す図2(A)を参照すると、この無線通信ユニット1
3は、PLL回路411とVCO412と中間周波数
(IF)生成回路413とから成る周波数設定モジュー
ル41と、変調回路421と高周波増幅回路(AMP)
422とバンドパスフィルタ(BPF)423とから成
りアンテナ18に接続された送信モジュール42と、B
PF431,433,435と第1および第2周波数混
合回路(MIX)432,434と復調回路436と搬
送波検出回路437とから成りアンテナ19に接続され
たダブルスーパヘテロダイン方式の受信モジュール43
とを備える。
Referring to FIG. 2A, which shows a block diagram of the circuit of the wireless communication unit 13, this wireless communication unit 1
Reference numeral 3 denotes a frequency setting module 41 including a PLL circuit 411, a VCO 412, and an intermediate frequency (IF) generation circuit 413, a modulation circuit 421, and a high frequency amplification circuit (AMP).
422 and a band-pass filter (BPF) 423 connected to the antenna 18;
PF 431, 433, 435, first and second frequency mixing circuits (MIX) 432, 434, demodulation circuit 436, and carrier detection circuit 437, connected to antenna 19, are a double superheterodyne receiving module 43.
And

【0020】無線通信ユニット21の回路をブロックで
示す図2(B)を参照すると、この無線通信ユニット2
1は、BPF511,513,515と第1および第2
MIX512,514と復調回路516と搬送波検出回
路517とから成りアンテナ24に接続されたダブルス
ーパヘテロダイン方式の受信モジュール51と、PLL
回路521,523とVCO522,524とIF生成
回路525とから成る周波数設定モジュール52と、変
調回路531とAMP532とBPF533とから成り
アンテナ25に接続された送信モジュール53とを備え
る。
Referring to FIG. 2B, which shows a block diagram of the circuit of the wireless communication unit 21, this wireless communication unit 2
1 is the BPF 511, 513, 515 and the first and second
A receiving module 51 of a double superheterodyne system comprising MIXs 512 and 514, a demodulation circuit 516 and a carrier detection circuit 517 and connected to the antenna 24;
A frequency setting module 52 including circuits 521, 523, VCOs 522, 524, and an IF generation circuit 525, and a transmission module 53 including a modulation circuit 531, an AMP 532, and a BPF 533 and connected to the antenna 25 are provided.

【0021】次に、図1,図2を参照して本実施例の動
作について説明すると、まず、入力装置1から制御装置
2へのデータはアンテナ18から無線信号S1として伝
播され、制御装置2のアンテナ24で受信される。ま
た、制御装置2から入力装置1へのデータはアンテナ2
5から無線信号S2として伝播され、入力装置1のアン
テナ18により受信される。
Next, the operation of the present embodiment will be described with reference to FIGS. 1 and 2. First, data from the input device 1 to the control device 2 is propagated from the antenna 18 as a radio signal S1. Is received by the antenna 24. The data from the control device 2 to the input device 1 is transmitted from the antenna 2
5 and is received by the antenna 18 of the input device 1.

【0022】図2(A)を参照すると、送信モジュール
42および受信モジュール43の各々は、マイコン12
からそれぞれ出力ポートO121,O123を経由して
供給される信号TXSW1およびに信号RXSWの各々
によりそれぞれ動作/不動作(ON/OFF)制御が可
能である。周波数設定モジュール41はマイコン12の
入出力ポートI/O121から供給される複数のPLL
信号PLL1により搬送波と第1中間周波数(IF)と
第2IFとを設定する。送信モジュール42は信号TX
SW1のON制御に応答して、上記搬送波を無線信号S
1として出力し、次に、マイコン12から出力ポートO
122を経由して供給される信号TXD1で上記搬送波
を変調した変調信号M1を無線信号S1としてアンテナ
18から送信する。
Referring to FIG. 2A, each of the transmission module 42 and the reception module 43 includes a microcomputer 12
The operation / non-operation (ON / OFF) control can be performed by each of the signal TXSW1 and the signal RXSW supplied through the output ports O121 and O123, respectively. The frequency setting module 41 includes a plurality of PLLs supplied from the input / output port I / O 121 of the microcomputer 12.
The carrier, the first intermediate frequency (IF), and the second IF are set by the signal PLL1. The transmission module 42 receives the signal TX
In response to the ON control of SW1, the carrier wave is transmitted to the radio signal S.
1 and then output from the microcomputer 12 to the output port O
A modulated signal M1 obtained by modulating the carrier with the signal TXD1 supplied via the transmission line 122 is transmitted from the antenna 18 as a radio signal S1.

【0023】一方、無線信号S2はアンテナ19を経由
して受信モジュール43に入力される。この受信モジュ
ール43は、第1および第2MIX432,434とB
PF433,435により無線信号S2の周波数変換を
行い、復調回路436でこの信号S2を復調して信号R
XD1を出力する。同時に、搬送波検出回路437で搬
送波を検出し信号CS1を出力する。この信号RXD1
はマイコン12の入力ポートI121に、また、信号C
S1はマイコン12の割込ポートINT121にそれぞ
れ供給される。
On the other hand, the radio signal S2 is input to the receiving module 43 via the antenna 19. The receiving module 43 includes first and second MIXs 432 and 434 and B
The frequency conversion of the radio signal S2 is performed by the PFs 433 and 435, and the signal S2 is demodulated by the demodulation circuit 436 to obtain a signal R.
Output XD1. At the same time, the carrier is detected by the carrier detection circuit 437 and the signal CS1 is output. This signal RXD1
Is connected to the input port I121 of the microcomputer 12 and the signal C
S1 is supplied to each of the interrupt ports INT121 of the microcomputer 12.

【0024】任意の周波数チャネル対応の無線信号S
1,S2の各々の周波数は第1IFと同一周波数だけづ
らして設定されており、周波数設定モジュール41がP
LL信号の供給に応答してこの周波数チャネルを設定す
ると対応の無線信号S1,S2の周波数も設定される。
無線通信ユニット13は、このような周波数チャネルを
64チャネル有し、その各々はディップスイッチ16に
より設定する。また、送信モジュール42と受信モジュ
ール43は同時にON状態とすることができないため、
無線信号S1,S2は半二重通信を行う。
A radio signal S corresponding to an arbitrary frequency channel
1 and S2 are set so as to be shifted by the same frequency as that of the first IF.
When this frequency channel is set in response to the supply of the LL signal, the frequencies of the corresponding radio signals S1 and S2 are also set.
The wireless communication unit 13 has 64 such frequency channels, each of which is set by the dip switch 16. Further, since the transmission module 42 and the reception module 43 cannot be turned on at the same time,
The radio signals S1 and S2 perform half-duplex communication.

【0025】図2(B)を参照すると、送信モジュール
53はマイコン22から出力ポートO222を経由して
供給される信号TXSW2によりON/OFF制御が可
能であるが、受信モジュール51は常にON状態を維持
する。入出力ポートI/O222から供給される複数の
送信用PLL信号PLL2に応答して周波数設定モジュ
ール52が送信用搬送波を設定し、同様に入出力ポート
I/O221から供給される受信用PLL信号PLL1
に応答して受信用搬送波と第1IFと第2IFとを設定
する。送信モジュール53は信号TXSW2のON制御
に応答して、送信用搬送波を無線信号S2として出力
し、次に、出力ポートO221を経由して供給される信
号TXD2で上記搬送波を変調した変調信号M2を無線
信号S2としてアンテナ25から送信する。
Referring to FIG. 2B, the transmission module 53 can be turned on / off by the signal TXSW2 supplied from the microcomputer 22 via the output port O222, but the reception module 51 is always turned on. maintain. The frequency setting module 52 sets a transmission carrier in response to a plurality of transmission PLL signals PLL2 supplied from the input / output port I / O 222, and similarly receives a reception PLL signal PLL1 supplied from the input / output port I / O 221.
To set the receiving carrier, the first IF, and the second IF. The transmission module 53 outputs the carrier for transmission as a radio signal S2 in response to the ON control of the signal TXSW2, and then modulates the modulated signal M2 obtained by modulating the carrier with the signal TXD2 supplied via the output port O221. The signal is transmitted from the antenna 25 as the radio signal S2.

【0026】一方、無線信号S1はアンテナ24を経由
して受信モジュール51に入力される。この受信モジュ
ール51は、第1および第2MIX512,514とB
PF513,515により無線信号S1の周波数変換を
行い、復調回路517でこの信号S1を復調して信号R
XD2を出力する。同時に、搬送波検出回路516で搬
送波を検出し信号CS2を出力する。この信号RXD2
はマイコン22の入力ポートI221に、また、信号C
S1は割込ポートINT221にそれぞれ供給される。
On the other hand, the radio signal S1 is input to the receiving module 51 via the antenna 24. The receiving module 51 includes first and second MIXs 512 and 514 and B
The frequency conversion of the radio signal S1 is performed by the PFs 513 and 515, and the signal S1 is demodulated by the demodulation circuit 517 to obtain the signal R1.
Output XD2. At the same time, the carrier is detected by the carrier detection circuit 516 and the signal CS2 is output. This signal RXD2
Is connected to the input port I221 of the microcomputer 22 and the signal C
S1 is supplied to each of the interrupt ports INT221.

【0027】この無線通信ユニット21は、無線通信ユ
ニット13と同様のディップスイッチ23により設定す
る64チャネルの周波数チャネルを有する。また、送信
モジュール53と受信モジュール51は同時にON状態
とすることができるため、無線信号S1,S2により全
二重通信が可能である。
The wireless communication unit 21 has 64 frequency channels set by the same dip switch 23 as the wireless communication unit 13. Further, since the transmitting module 53 and the receiving module 51 can be simultaneously turned on, full-duplex communication can be performed by the wireless signals S1 and S2.

【0028】無線信号S1,S2のデータフォーマット
をそれぞれ示す図3(A),(B)を併せて参照する
と、無線信号S1は周波数チャネル設定用のディップス
イッチ16と同一ビットパターンの6ビットのIDビッ
トと、キーON/OFFにそれぞれ対応するメーク/ブ
レークデータおよびLED情報センス用のLEDセンス
データから成る8ビットのデータビットと、1ビットの
パリティビットである冗長ビットとから成る15ビット
のデータを有する。これらデータビットは、メークデー
タを00h〜6Fh,ブレークデータを80h〜FF
h,LEDセンスデータを70hにそれぞれ割当てる。
無線信号S2は周波数チャネル設定用のディップスイッ
チ23と同一ビットパターンの6ビットのIDビット
と、正常応答と再送要求とをそれぞれ10,01で示す
通信ステータスとCAPS,カナのLED情報をそれぞ
れ1で示すLEDステータスとを含む4ビットのデータ
ビットと、1ビットのパリティビットである冗長ビット
とから成る11ビットのデータを有する。
Referring to FIGS. 3A and 3B showing the data formats of the radio signals S1 and S2, respectively, the radio signal S1 is a 6-bit ID having the same bit pattern as the DIP switch 16 for setting the frequency channel. 15-bit data consisting of 8 bits of data, make / break data respectively corresponding to key ON / OFF and LED sense data for LED information sensing, and 1 bit parity bit redundant bit. Have. These data bits correspond to make data from 00h to 6Fh and break data from 80h to FF
h and LED sense data are allocated to 70h, respectively.
The radio signal S2 is a 6-bit ID bit having the same bit pattern as that of the frequency channel setting DIP switch 23, a communication status indicating a normal response and a retransmission request indicated by 10,01, and a 1 indicating the LED information of CAPS and KANA. It has 11-bit data consisting of 4-bit data bits including the indicated LED status and redundant bits that are 1-bit parity bits.

【0029】以下の説明では、正常応答の通信ステータ
スを含む無線信号S2をACK(肯定応答),再送要求
の通信ステータスを含む無線信号S2をNAK(否定応
答)とする。
In the following description, the radio signal S2 including the communication status of the normal response is ACK (acknowledge), and the radio signal S2 including the communication status of the retransmission request is NAK (negative response).

【0030】入力装置1および制御装置2相互間の無線
通信の成立にはこれら入力装置1および制御装置2の各
々の周波数チャネル同志の一致が必要条件であるため、
図3(A),(B)のIDビットの各々同志は一致して
いる。上述した各ユニットや各モジュールの制御はマイ
コン12とマイコン22の各々の内蔵ROMにそれぞれ
格納されているファームウェアF11,F21により実
行される。
The establishment of wireless communication between the input device 1 and the control device 2 requires the frequency channels of the input device 1 and the control device 2 to coincide with each other.
Each of the ID bits in FIGS. 3A and 3B is identical. The control of each unit and each module described above is executed by firmware F11 and F21 stored in the built-in ROM of each of the microcomputer 12 and the microcomputer 22.

【0031】これらファームウェアF11,F21が実
現している無線通信のシーケンスを示す図4を参照する
と、入力装置1から制御装置2へのデータ転送は、無線
信号S1により、また、制御装置2から入力装置1への
データ転送は無線信号S2によりそれぞれ行われてい
る。図4(A)は正常通信の場合の、図4(B)は無線
信号S1にエラーが発生した場合の、図4(C)は無線
信号S2にエラーが発生した場合のそれぞれのシーケン
スを示す。これらファームウェアF11,F21のフロ
ーチャートをそれぞれ示す図5を参照して各々の場合に
おけるファームウェア動作を説明すると、図5(A)は
ファームウェアF11の、図5(B)はファームウェア
F21のフローチャートをそれぞれ示し、S000〜S
019はファームウェアF11,F21の各々のステッ
プを示す。
Referring to FIG. 4 showing a sequence of wireless communication realized by the firmware F11 and F21, data transfer from the input device 1 to the control device 2 is performed by the wireless signal S1 and the input from the control device 2. Data transfer to the device 1 is performed by a radio signal S2. 4A shows a sequence in the case of normal communication, FIG. 4B shows a sequence in the case where an error occurs in the radio signal S1, and FIG. 4C shows a sequence in the case where an error occurs in the radio signal S2. . The firmware operation in each case will be described with reference to FIG. 5 showing the flowcharts of the firmware F11 and F21. FIG. 5A shows a flowchart of the firmware F11, and FIG. 5B shows a flowchart of the firmware F21. S000-S
019 indicates each step of the firmware F11, F21.

【0032】まず、マイコン12はキーマトリクス11
をスキャンし、キーONを検出すると無線通信ユニット
13から図3(A)のデータフォーマットを有する無線
信号S1としてメークデータを送信(S001)し、返
送を待つ(S002)。一方、無線通信ユニット21が
無線信号S1の搬送波を検出すると信号CS2によりマ
イコン22に割込みが発生(S008)し、メークデー
タを受信(S009,S010)する。受信メークデー
タのIDをチェックし、不一致ならば(S011)この
受信データを全て放棄し割込み処理を終了(S019)
する。IDが一致するとパリティをチェックし、異常な
らばNAKを返送(S015,S016)し、正常なら
ばACKを返送する(S013,S014)。次に、送
られてきたメークデータをパソコン本体3に出力可能か
否かを後述のように判断(S017)し、可能であれば
このメークデータを対応のキーコードとしてパソコン本
体3に出力(S018)する。
First, the microcomputer 12 is connected to the key matrix 11
Is scanned, and when key ON is detected, the wireless communication unit 13 transmits make-up data as a wireless signal S1 having the data format of FIG. 3A (S001), and waits for a return (S002). On the other hand, when the wireless communication unit 21 detects the carrier of the wireless signal S1, an interrupt is generated in the microcomputer 22 by the signal CS2 (S008), and the make data is received (S009, S010). The ID of the received make data is checked. If the IDs do not match (S011), all of the received data is abandoned and the interrupt processing ends (S019).
I do. If the IDs match, the parity is checked, and if abnormal, NAK is returned (S015, S016), and if normal, ACK is returned (S013, S014). Next, it is determined whether or not the transmitted make data can be output to the personal computer body 3 as described later (S017). If possible, the make data is output to the personal computer body 3 as a corresponding key code (S018). ).

【0033】ここで、ステップS017の判断処理は、
パソコン本体3に対する正当なキーコードデータか否か
とともに、正当なキーコードデータであってもこのシー
ケンス中に既にパソコン本体3に出力済のキーコードか
否かも判断する。すなわち、同一シーケンス中で同一メ
ークコードやブレークコードの2回連続するパソコン本
体3への出力を防止する判断を行うものである。もし、
2回連続でメークコードを出力してしまうと、オペレー
タの1回のキーON操作に対し、パソコン本体3は2回
のキーON対応の動作を実行してしまうため、誤動作す
るという不具合を防止する機能である。この判断処理
は、マイコン22の内蔵RAMにキーON/OFFを管
理するキーマップK21を設定することにより実行す
る。
Here, the judgment processing in step S017 is as follows.
It is also determined whether the key code data is valid for the personal computer 3 and whether the valid key code data has already been output to the personal computer 3 during this sequence. That is, a determination is made to prevent the same make code or break code from being output to the personal computer main body 3 twice consecutively in the same sequence. if,
If the make code is output twice consecutively, the personal computer body 3 performs an operation corresponding to the two key ON operations for one key ON operation by the operator, thereby preventing a malfunction that may cause a malfunction. Function. This determination process is executed by setting a key map K21 for managing key ON / OFF in the built-in RAM of the microcomputer 22.

【0034】次に、無線信号S2として返送されたデー
タを無線通信ユニット13を経由して受信(S003)
したマイコン12はIDをチェックし、不一致ならば再
度データ受信を待つ処理に戻る(S004)。IDが正
常であればパリティを検出し、異常ならば再度同一デー
タの出力に戻り(S005)、正常ならば処理を終了
(S007)する。同様に受信データがACK以外であ
れば、再度データ出力に戻る(S006)。
Next, the data returned as the radio signal S2 is received via the radio communication unit 13 (S003).
The microcomputer 12 checks the ID, and if the IDs do not match, returns to the process of waiting for data reception again (S004). If the ID is normal, the parity is detected. If the ID is abnormal, the process returns to the output of the same data again (S005). If the ID is normal, the process ends (S007). Similarly, if the received data is other than ACK, the process returns to the data output again (S006).

【0035】図4(B)を再度参照すると、無線信号S
1として送信されてきたメークデータにエラーが発生し
たがNAKの返送により同一メークデータが再送されて
きたため上記エラーが復旧した様子を示す。図4(C)
を参照すると、無線信号S2として返送したACKにエ
ラーが発生したため、同一メークコードを再送したが再
送されたメークデータはパソコン本体3には出力せず、
誤動作することなしにエラーが復旧した様子を示す。
Referring again to FIG. 4B, the radio signal S
This shows that an error has occurred in the make data transmitted as 1, but the same make data has been retransmitted due to the return of the NAK, and the error has been recovered. FIG. 4 (C)
As shown in FIG. 5, since an error occurred in the ACK returned as the wireless signal S2, the same make code was retransmitted, but the retransmitted make data is not output to the personal computer 3,
This shows how the error has been recovered without malfunction.

【0036】図6(A)を参照すると、この図に示すL
EDセンスデータの通信シーケンスは、マイコン12の
ROMに格納されたファームウェアF12で制御され図
4と同様のフォーマットを使用している。図6(B)を
併せて参照すると、この図に示すファームウェアF12
の処理のフローチャートは、ステップS100〜S11
1から成る。
Referring to FIG. 6A, L shown in FIG.
The communication sequence of the ED sense data is controlled by the firmware F12 stored in the ROM of the microcomputer 12, and uses the same format as in FIG. Referring also to FIG. 6B, the firmware F12 shown in FIG.
The flowchart of the process of steps S100 to S11
Consists of one.

【0037】図6(A),(B)を参照して、このLE
Dセンスデータの通信シーケンス制御動作について説明
すると、パソコン本体3から転送されたコマンドにより
制御装置2のLEDステータスが変更されてしまう可能
性があるため、入力装置1は1秒間隔でLEDセンスデ
ータを使用して制御装置2のマイコン22の内蔵RAM
に格納されているLEDステータスをポーリングする。
Referring to FIGS. 6A and 6B, this LE
The communication sequence control operation of the D sense data will be described. Since the LED status of the control device 2 may be changed by a command transmitted from the personal computer 3, the input device 1 transmits the LED sense data at one second intervals. Using the built-in RAM of the microcomputer 22 of the control device 2
Poll the LED status stored in the.

【0038】図6(A)を参照すると、シーケンスk
1,k2,k3は1秒間隔で送信されるLEDセンスデ
ータであり、シーケンスk1のLEDセンスデータに対
する返送(ACK)の受信時点ではカナLEDはOFF
状態であったが、シーケンスk4のコマンドに応答して
制御装置2のLEDステータスのカナLEDがON状態
となったため、シーケンスk2のLEDセンスデータに
対する返送(ACK)を受信するとカナLEDがON状
態に更新され、入力装置1のカナLED15を点灯させ
る。
Referring to FIG. 6A, the sequence k
1, k2 and k3 are LED sense data transmitted at one-second intervals, and the kana LED is off at the time of receiving a return (ACK) for the LED sense data of sequence k1.
Although it was in the state, the kana LED of the LED status of the control device 2 was turned on in response to the command of the sequence k4, and when the return (ACK) for the LED sense data of the sequence k2 was received, the kana LED was turned on. The updated Kana LED 15 of the input device 1 is turned on.

【0039】図6(B)を参照してシーケンスk2の動
作を説明すると、LEDセンスデータ出力(S101)
後、返送をまち(S102)、返送データを受信(S1
05)し、図4(A)と同様にIDチェック(S10
6),パリティチェック(S107),ACKチェック
(S108)を実行後、カナのLEDステータスが変更
されていたため(S109)、更新したカナLEDを出
力(S110)する。
The operation of the sequence k2 will be described with reference to FIG. 6B. The LED sense data output (S101)
Thereafter, the return is performed (S102), and the return data is received (S1).
05), and an ID check (S10) as in FIG.
6), after executing the parity check (S107) and the ACK check (S108), since the LED status of Kana has been changed (S109), the updated Kana LED is output (S110).

【0040】本実施例では、パソコン本体3がコマンド
を発行してから入力装置1のLEDが変化するまで、1
秒の遅延が生ずる可能性があるが、LEDセンスデータ
のポーリング間隔を調整することによりこの遅延を少な
くすることも可能である。また、キーON/OFFに対
応したメークデータ/ブレークデータに対する返送にも
LEDステータスが盛り込まれているため、この返送デ
ータの受信時点で、ステップS109,S110のよう
なチェックを行ってもよい。
In this embodiment, from when the personal computer 3 issues a command to when the LED of the input device 1 changes, 1
Although a delay of seconds may occur, it is possible to reduce this delay by adjusting the polling interval of the LED sense data. Further, since the LED status is also included in the return for the make data / break data corresponding to the key ON / OFF, a check such as steps S109 and S110 may be performed at the time of receiving the return data.

【0041】次に、シーケンスk2から1秒後にシーケ
ンスk3のLEDセンスデータを出力したが、シーケン
スk5の時点でパソコン本体3の電源がOFFされたた
め、上記電源の供給を受けている制御装置2の電源もO
FF状態となりLEDセンスデータが通信不可能とな
る。このような場合には、ステップS103,S104
の処理を行ないマイコン12はスタンバイ状態となり消
費電流の低減を図る。
Next, one second after the sequence k2, the LED sense data of the sequence k3 was output. However, since the power supply of the personal computer 3 was turned off at the time of the sequence k5, the control device 2 receiving the power supply was turned off. Power supply is also O
The state becomes the FF state, and the LED sense data cannot communicate. In such a case, steps S103 and S104
The microcomputer 12 enters the standby state to reduce the current consumption.

【0042】本実施例ではLEDセンスデータの機能を
拡張して対応したが、LEDセンスコマンドとは別にキ
ーOFFを示すデータを新規に設定してもよい。
In the present embodiment, the function of the LED sense data is extended and supported, but data indicating a key OFF may be newly set separately from the LED sense command.

【0043】また、入力装置1の電源回路17をOFF
する方式で消費電流を低減しても構わない。本実施例で
は、LEDセンスデータを使用し、1秒間隔で制御装置
2のLEDステータスをポーリングする方式であった
が、制御装置2がパソコン本体3からのコマンドを受信
した時点(シーケンスk4)で入力装置1に無線信号S
2としてLEDステータスを送信する方法でも構わな
い。しかし、この方法では入力装置1の無線通信ユニッ
ト13のRXSW信号を常にON状態にし、常に受信モ
ジュール43を動作状態にしておく必要があり、一般的
に電池を用いる電源回路17の動作時間の延長が困難で
ある。また、制御装置2の電源OFFを監視し、消費電
流の低減を図るためのデータとして、LEDセンスデー
タとは別に監視データを新規に設定してもよい。
Further, the power supply circuit 17 of the input device 1 is turned off.
Alternatively, the current consumption may be reduced by the method described above. In this embodiment, the LED status data is used to poll the LED status of the control device 2 at one-second intervals. However, when the control device 2 receives a command from the personal computer 3 (sequence k4). A radio signal S is input to the input device 1.
A method of transmitting the LED status as No. 2 may be used. However, in this method, it is necessary to always keep the RXSW signal of the wireless communication unit 13 of the input device 1 in the ON state and always keep the receiving module 43 in the operating state, and generally, the operating time of the power supply circuit 17 using a battery is extended. Is difficult. In addition, monitoring data may be newly set separately from the LED sense data as data for monitoring the power OFF of the control device 2 and reducing current consumption.

【0044】マイコン22とパソコン本体3とのインタ
ーフェースをブロックで示す図7(A)を参照すると、
キーON/OFFに対応するメーク/ブレークコード転
送信号KBDは、マイコン22のデータ出力ポートDO
2からパソコン本体3のデータ入力ポートDI3に供給
される。LEDステータス変更コマンド転送信号KBC
は、パソコン本体3のコマンド出力ポートCO3からマ
イコン22のコマンド入力ポートCI2に供給される。
キーボードリセット信号KBRは、パソコン本体3の出
力ポートOP3からマイコン22の割込みポートINT
0に供給される。これら信号KBD,KBC,KBRは
ケーブル4を経由して伝送される。
Referring to FIG. 7A, which shows an interface between the microcomputer 22 and the personal computer 3 by blocks,
The make / break code transfer signal KBD corresponding to the key ON / OFF is transmitted to the data output port DO of the microcomputer 22.
2 is supplied to the data input port DI3 of the personal computer body 3. LED status change command transfer signal KBC
Is supplied from the command output port CO3 of the personal computer 3 to the command input port CI2 of the microcomputer 22.
The keyboard reset signal KBR is sent from the output port OP3 of the personal computer 3 to the interrupt port INT of the microcomputer 22.
0 is supplied. These signals KBD, KBC and KBR are transmitted via the cable 4.

【0045】マイコン22の内蔵ROM格納の上記イン
ターフェース制御用のファームウェアF22をフローチ
ャートで示す図7(B)を参照して動作を説明すると、
パソコン本体3から信号KBRによりリセットが発行さ
れると、マイコン22の割込み(INT0)が発生(S
200)する。キーマップK21をチェック(S20
1)し、ON状態のキーのメークコードを信号KBDと
してパソコン本体3に出力(S202)し、次に、マイ
コン22のリセット処理を実行(S203)するが、キ
ーマップK21はクリア(S204)しない。
The operation will be described with reference to FIG. 7B which is a flowchart showing the interface control firmware F22 stored in the built-in ROM of the microcomputer 22.
When a reset is issued from the personal computer 3 by the signal KBR, an interrupt (INT0) of the microcomputer 22 is generated (S
200). Check the key map K21 (S20
1) Then, the make code of the key in the ON state is output to the personal computer 3 as a signal KBD (S202), and then the reset process of the microcomputer 22 is executed (S203), but the key map K21 is not cleared (S204). .

【0046】これにより、キーON状態でのリセット時
の動作が通常のケーブル付きキーボードとの互換性が維
持され、パソコン本体のモード設定用ソフトウェアの起
動が可能となる。
As a result, the operation at the time of resetting in the key ON state is maintained compatible with a normal keyboard with a cable, and the mode setting software of the personal computer can be started.

【0047】LEDセンスデータの機能を拡張した本発
明の第2の実施例を示す図8を参照すると、図8(A)
は本実施例の通信シーケンスを示し、図8(B)はマイ
コン22の内蔵ROMに格納された本実施例のファーム
ウェアF21Aのフローチャートの一部で図5(B)の
S014とS017の間に追加するステップS020〜
S023を示す。
Referring to FIG. 8 showing a second embodiment of the present invention in which the function of the LED sense data is expanded, FIG.
8B shows a communication sequence according to the present embodiment. FIG. 8B is a part of a flowchart of the firmware F21A of the present embodiment stored in the built-in ROM of the microcomputer 22 and is added between S014 and S017 in FIG. Step S020-
S023 is shown.

【0048】図8(A),(B)を参照して上記拡張L
EDセンスデータ機能の動作を説明すると、上記拡張L
EDセンスデータ機能は、入力装置1の全キーがOFF
状態のときのみLEDセンスデータを出力し、制御装置
2はLEDセンスデータを受信するとマイコン22の内
蔵RAMに格納されたキーマップK21をチェックし、
ON状態と記憶されているキーのブレークコードをパソ
コン本体に出力し、キーマップK21をクリアするもの
である。
Referring to FIGS. 8A and 8B, the extended L
The operation of the ED sense data function will be described.
In the ED sense data function, all keys of the input device 1 are OFF.
Only in the state, the LED sense data is output, and upon receiving the LED sense data, the control device 2 checks the key map K21 stored in the built-in RAM of the microcomputer 22,
A key break code of the key stored in the ON state is output to the personal computer body to clear the key map K21.

【0049】まず、キー“a”をONにすると“a”メ
ークコードを出力(シーケンスk7)するが、無線信号
にエラーが発生し“b”メークコードとして伝播された
ため、制御装置2は“b”メークコードを出力(シーケ
ンスk8)する。次に、キー“a”のOFFに対応し、
“a”ブレークデータを出力(シーケンスk9)すると
今度は無線信号が正常に伝播される。制御装置2はキー
“a”のブレークデータを受信するが、キー“a”はま
だONしていないと認識しているためこのキー“a”の
ブレークコードを出力しない(シーケンスk10)。こ
の時点で入力装置1のキーは全てONされていないが、
パソコン本体はキー“b”がON状態継続中と認識して
いる。シーケンスk9から1秒後に出力(シーケンスk
11)されたLEDセンスデータが正常に受信される
と、マイコン22はステップS008〜S014〜S0
20〜S023〜S019にしたがって処理する。キー
マップK21をチェックするとキー“b”がON状態で
あるため(S021)、キー“b”のブレークコードを
パソコン本体3に出力(シーケンスk12)し(S02
2)、キーマップK21をクリア(S023)する。こ
の時点で入力装置1もパソコン本体3も全キーOFFと
なり誤動作は復旧する。このように無線通信が不安定に
なり、パソコン本体3が誤動作しても自動復旧が可能と
なる。
First, when the key "a" is turned on, the "a" make code is output (sequence k7). However, since an error has occurred in the radio signal and the radio signal has been propagated as the "b" make code, the control device 2 sets "b""Make code is output (sequence k8). Next, when the key “a” is turned off,
When the "a" break data is output (sequence k9), the wireless signal is normally propagated. Control device 2 receives the break data of key "a", but does not output the break code of key "a" because it recognizes that key "a" has not been turned on yet (sequence k10). At this point, all the keys of the input device 1 are not turned on,
The personal computer recognizes that the key “b” is in the ON state. Output one second after sequence k9 (sequence k
11) When the LED sense data is normally received, the microcomputer 22 proceeds to steps S008 to S014 to S0.
Processing is performed according to 20 to S023 to S019. When the key map K21 is checked, the key "b" is in the ON state (S021), and the break code of the key "b" is output to the personal computer 3 (sequence k12) (S02).
2) The key map K21 is cleared (S023). At this point, all the keys of both the input device 1 and the personal computer 3 are turned off, and the malfunction is restored. As described above, the wireless communication becomes unstable, and automatic recovery can be performed even if the personal computer 3 malfunctions.

【0050】次に、本発明の第3の実施例について説明
する。上述の第1の実施例では、ディップスイッチによ
り周波数チャネルを設定している。しかし、複数のパソ
コンを並列に使用するような場合には、各々異なる周波
数チャネルを設定して使用周波数を管理する必要がある
が実用上困難なため、入力装置1と制御装置2との間の
無線通信により未使用チャネルをサーチし、周波数チャ
ネル設定を行うことが望ましい。また、第1の実施例で
は、無線データのIDビットは周波数チャネル毎に固定
して設定されているが、通信の秘匿性を向上させるため
には、周波数チャネルとは無関係にIDビットを設定す
ることが望ましい。本実施例では、入力装置1から制御
装置2に最初のデータを転送する場合のみ、周波数チャ
ネルまたはIDビットの設定用の通信を行い、以降は制
御装置2の電源がOFFされるまで上記設定周波数チャ
ネル/IDビットを使用する。
Next, a third embodiment of the present invention will be described. In the first embodiment described above, the frequency channel is set by the dip switch. However, when a plurality of personal computers are used in parallel, it is necessary to set different frequency channels to manage the used frequencies, but it is practically difficult. It is desirable to search for an unused channel by wireless communication and set a frequency channel. In the first embodiment, the ID bit of the wireless data is fixedly set for each frequency channel. However, in order to improve confidentiality of communication, the ID bit is set independently of the frequency channel. It is desirable. In this embodiment, communication for setting a frequency channel or an ID bit is performed only when the first data is transferred from the input device 1 to the control device 2. Thereafter, the set frequency is set until the power of the control device 2 is turned off. Use channel / ID bits.

【0051】本実施例の通信シーケンスを示す図9を参
照すると、周波数チャネル設定の場合、マイコン12は
最初のキーONの検出に応答して、制御装置2にチャネ
ル設定要求データを転送する。このチャネル設定要求デ
ータは、例えば、図3(A)のデータフオーマットにお
いてデータビット=71hと定義する。また、このチャ
ネル設定要求データの転送用チャネルは、予め設定され
た固定チャネルとする。マイコン22はチャネル設定要
求データを受信すると、無線通信ユニット22の受信用
PLL信号(PLL1)と信号CS2とを使用して、6
4の周波数チャネルの中から未使用チャネルをサーチ
し、使用チャネルを決定する。次に、入力装置1にAC
Kを返送するとともにチャネルデータを転送する。チャ
ネルデータのフォーマットは、上記データビット=チャ
ネルデータとしたものである。以降、入力装置1と制御
装置2相互間は設定チャネルでキーONに関する無線通
信を行う。この時、マイコン22は常に信号TXSW2
をON状態にしておき、無線信号S2の搬送波を出力状
態にしておくことにより、チャネルの使用権を確保す
る。
Referring to FIG. 9 showing the communication sequence of the present embodiment, in the case of setting the frequency channel, the microcomputer 12 transfers the channel setting request data to the control device 2 in response to the first key ON detection. This channel setting request data is defined as, for example, data bit = 71h in the data format of FIG. In addition, the transfer channel of the channel setting request data is a preset fixed channel. When receiving the channel setting request data, the microcomputer 22 uses the receiving PLL signal (PLL1) of the wireless communication unit 22 and the signal CS2 to generate
An unused channel is searched from the four frequency channels to determine a used channel. Next, the input device 1
K is returned and the channel data is transferred. The format of the channel data is such that the above data bits = channel data. Thereafter, the input device 1 and the control device 2 perform wireless communication related to the key ON on the set channel. At this time, the microcomputer 22 always outputs the signal TXSW2
Is set to the ON state, and the carrier of the radio signal S2 is set to the output state, thereby securing the right to use the channel.

【0052】IDビット設定の場合は、制御装置2に予
め設定された固定データ、例えば、データビット=72
hと定義されたIDビット設定要求データを送信する。
マイコン22はIDビット設定要求データを受信する
と、内蔵RAMの1バイト分を使用してIDビットを設
定する。上記RAMは電源ON後のリセットによる初期
化処理されていない非初期化RAMを割当てる。この非
初期化RAMの各ビットは不定であり、電源ON毎にラ
ンダムなデータとなる。その後、マイコン22は入力装
置1にACKを返送するとともにIDビットデータを転
送する。
In the case of setting the ID bit, fixed data previously set in the control device 2, for example, data bit = 72
The ID bit setting request data defined as h is transmitted.
When receiving the ID bit setting request data, the microcomputer 22 sets the ID bit using one byte of the internal RAM. The above-mentioned RAM allocates a non-initialized RAM that has not been initialized by resetting after the power is turned on. Each bit of the uninitialized RAM is undefined and becomes random data every time the power is turned on. Thereafter, the microcomputer 22 returns an ACK to the input device 1 and transfers the ID bit data.

【0053】本実施例では、一度、周波数チャネル設定
/IDビット設定を行うと以降の通信は、設定された周
波数チャネル/IDビットで行うが、通信の実行毎に周
波数チャネル/IDビットを設定してもよい。また、I
Dビット設定データとして乱数表を使用したデータでも
よい。
In this embodiment, once the frequency channel setting / ID bit setting is performed, the subsequent communication is performed using the set frequency channel / ID bit. However, the frequency channel / ID bit is set every time the communication is executed. You may. Also, I
Data using a random number table may be used as the D bit setting data.

【0054】本発明の第4の実施例を図1と共通の構成
要素には共通の参照文字/数字を付して同様にブロック
で示す図10を参照すると、この図に示す本実施例の第
1の実施例との相違点は、第1の実施例と共通の入力装
置1と、制御装置2と、パソコン本体3とに加えて、制
御装置2およびパソコン本体3と同様な各々第2の制御
装置5およびパソコン本体6と、パソコン本体3,5を
クランイアントとして使用しこれらパソコン本体3,5
とLAN(ローカルエリアネットワーク)で接続されて
いるホストマシン7とを含むことである。
FIG. 10 is a block diagram showing a fourth embodiment of the present invention, in which constituent elements common to those in FIG. The difference from the first embodiment is that, in addition to the input device 1, the control device 2, and the personal computer 3, which are common to the first embodiment, the second The control device 5 and the personal computer body 6, and the personal computer bodies 3 and 5
And a host machine 7 connected by a LAN (local area network).

【0055】図10および制御装置2,5の信号S2
A,S2Bのデータフオーマットおよび処理フローチャ
ートを示す図11を参照して本実施例の動作について説
明すると、入力装置1から送信される無線信号S1は制
御装置2,5で同時に受信され、また、制御装置2,5
の各々からそれぞれ送信される無線信号S2A,S2B
は入力装置1で受信される。信号S1は第1の実施例と
同様であり、信号S2A,S2Bは図11(A)に示す
ように、第1の実施例の信号S2に制御装置2,5の区
別用の2ビットの装置コードが追加されている。本実施
例では制御装置2,5の各々に対し装置コード=00,
01がそれぞれ設定され、これら各装置コードは入力装
置1のマイコン12の内蔵RAMにも記憶されている。
入力装置1は、無線信号S2の装置コードをチェックす
ることにより、制御装置2,5のいずれの返送データで
あるかの判別ができる。また、入力装置1と制御装置
2,5のIDビットは同一である。
FIG. 10 and the signal S2 of the control devices 2 and 5
The operation of the present embodiment will be described with reference to FIG. 11 showing the data format of A and S2B and the processing flowchart. The radio signal S1 transmitted from the input device 1 is received simultaneously by the control devices 2 and 5, and Devices 2, 5
Radio signals S2A, S2B transmitted from each of
Is received by the input device 1. The signal S1 is the same as that of the first embodiment, and the signals S2A and S2B are two-bit devices for distinguishing the control devices 2 and 5 from the signal S2 of the first embodiment, as shown in FIG. Code has been added. In the present embodiment, the device code = 00,
01 is set, and these device codes are also stored in the built-in RAM of the microcomputer 12 of the input device 1.
The input device 1 can determine which of the control devices 2 and 5 is the return data by checking the device code of the wireless signal S2. The ID bits of the input device 1 and the control devices 2 and 5 are the same.

【0056】制御装置2,5の各々は、入力装置1から
信号S1としてデータを受信すると、各々の装置コード
を付加した返送データをそれぞれ信号S2A,S2Bと
して入力装置1に返送する。このとき、制御装置2,5
が同時にデータを返送するとデータの衝突が発生するた
め、各制御装置2,5の各々においてデータ受信から返
送までの時間を変えて設定する方がよい。
When each of the control devices 2 and 5 receives data from the input device 1 as the signal S1, it returns return data to which the respective device codes are added to the input device 1 as signals S2A and S2B, respectively. At this time, the control devices 2, 5
If the data is returned at the same time, data collision will occur. Therefore, it is better to change the time from data reception to return in each of the control devices 2 and 5.

【0057】装置コードの付加は図5(B)のフローチ
ャートのステップS013あるいはS015にて実行さ
れる。無線信号S2A,Bとして返送データを受信した
入力装置1は記憶してある装置コード対応の制御装置の
全てからデータが返送されたか否かをチェックし、そう
であれば処理を完了する。この入力装置1の処理は、図
5(A)のフローチャートのS006とS007の間に
図11(B)のステップS301を追加することにより
行う。
The addition of the device code is executed in step S013 or S015 of the flowchart of FIG. The input device 1 that has received the return data as the radio signals S2A and B checks whether or not data has been returned from all of the stored control devices corresponding to the device codes, and if so, the process is completed. The processing of the input device 1 is performed by adding a step S301 in FIG. 11B between S006 and S007 in the flowchart in FIG.

【0058】このように、複数の制御装置に同時にデー
タを入力することが可能となるため、従来よりオペレー
タが巡回して実施してきたLANを構成する各パソコン
本体のメンテナンス作業を一括で行うことができる。本
実施例は1台の入力装置と2台の制御装置を接続したが
装置コードを拡張することにより、1台の入力装置に2
台以上の複数の制御装置を接続することが可能である。
As described above, since it is possible to input data to a plurality of control devices at the same time, it is possible to collectively perform the maintenance work of the personal computers constituting the LAN, which has conventionally been performed by the operator in a round trip. it can. In this embodiment, one input device and two control devices are connected. However, by expanding the device code, two input devices can be connected to one input device.
It is possible to connect more than one control device.

【0059】本発明の第5の実施例を図1と共通の構成
要素には共通の参照文字/数字を付して同様にブロック
で示す図12を参照すると、この図に示す本実施例の第
1の実施例との相違点は、第1の実施例と共通の入力装
置1と、制御装置2と、パソコン本体3とに加えて、入
力装置1と同様の第2の入力装置8を備えることであ
る。
FIG. 12 is a block diagram showing a fifth embodiment of the present invention, in which constituent elements common to those of FIG. The difference from the first embodiment is that a second input device 8 similar to the input device 1 is provided in addition to the input device 1, the control device 2, and the personal computer 3 common to the first embodiment. It is to prepare.

【0060】図12および入力装置1,8の信号S1
A,S1Bおよび制御装置2の信号S2Cのデータフオ
ーマットを示す図13および処理フローチャートを示す
図14を参照して本実施例の動作について説明すると、
本実施例の信号S1A,S1Bおよび信号S2Cはそれ
ぞれ図13(A),(B)に示すように、第1の実施例
の信号S1,S2に入力装置1,8の区別用の2ビット
のデバイスコードが追加されている。本実施例では入力
装置1,8の各々に対しデバイスコード=00,01が
それぞれ設定され、これら各デバイスコードは制御装置
2のマイコン22の内蔵RAMにも記憶されている。制
御装置2は、無線信号S1A,S1Bのデバイスコード
をチェックすることにより、入力装置1,8のいずれの
送信データであるかの判別が可能であるとともに、デー
タを送信した入力装置対応のデバイスコードを返送デー
タに付加して返送することにより、各入力装置を個別に
制御できる。また、入力装置1,8と制御装置2のID
ビットは同一である。
FIG. 12 and the signal S1 of the input devices 1 and 8
The operation of this embodiment will be described with reference to FIG. 13 showing the data format of A, S1B and the signal S2C of the control device 2 and FIG. 14 showing the processing flowchart.
As shown in FIGS. 13A and 13B, signals S1A, S1B and signal S2C of the present embodiment are two-bit signals for distinguishing input devices 1 and 8 from signals S1 and S2 of the first embodiment, respectively. Device codes have been added. In this embodiment, device codes = 00 and 01 are set for the input devices 1 and 8, respectively, and these device codes are also stored in the built-in RAM of the microcomputer 22 of the control device 2. By checking the device codes of the radio signals S1A and S1B, the control device 2 can determine which of the input devices 1 and 8 is the transmission data, and can determine the device code corresponding to the input device that transmitted the data. Is added to the return data and returned, whereby each input device can be individually controlled. The IDs of the input devices 1 and 8 and the control device 2
The bits are identical.

【0061】入力装置1が信号S1Aによりデータ送信
する場合には、CS信号を使用し、信号S2の有無を確
認し、無線信号S2が存在しなくなるまで待機した後に
データ出力する。この処理は図5(A)のフローチャー
トのS000とS001との間に図14(A)のステッ
プS401を追加することで実現できる。制御装置2は
信号S1を受信するとIDビットのチェックに続き、受
信デバイスコードと記憶してあるデバイスコードと比較
し、エラーがあれば処理を終了し、正常であればパリテ
ィのチェックに移る。この処理は、図5(B)に示すフ
ローチャートのS011とS012の間に図14(B)
のステップS402を追加することで実現できる。次
に、図5(B)のS015,S016のステップで受信
したデバイスデータと同一デバイスデータを付加し、信
号S2Cとして入力装置1に返送する。返送データを受
信した入力装置1は、IDビットのチェックに続き、デ
バイスコードをチェックし、エラーがあれば再度データ
受信のもどり、正常であれば、パリティのチェックに移
る。この処理は、図5(A)に示すフローチャートのS
004とS005の間に図14(C)のステップS40
3を追加することで実現できる。入力装置8も同様の方
法で制御装置2と無線通信を行う。入力装置1,8同志
のデータ送信の衝突を緩和するために、制御装置2は信
号S1A,S1Bにそれぞれ対応するCS信号を受信し
た時点でTXSW2信号をONにし、信号S2の搬送波
を出力状態にすることで他の入力装置のデータ送信を待
機状態(S401)とする方が望ましい。
When the input device 1 transmits data using the signal S1A, it uses the CS signal to check for the presence or absence of the signal S2, waits until the radio signal S2 no longer exists, and then outputs the data. This processing can be realized by adding step S401 in FIG. 14A between S000 and S001 in the flowchart in FIG. Upon receiving the signal S1, the control device 2 checks the ID bit, compares the received device code with the stored device code, terminates the process if there is an error, and shifts to the parity check if it is normal. This processing is performed between S011 and S012 in the flowchart shown in FIG.
Can be realized by adding step S402. Next, the same device data as the device data received in steps S015 and S016 of FIG. 5B is added, and the data is returned to the input device 1 as a signal S2C. The input device 1 that has received the return data checks the device code after checking the ID bit. If there is an error, the input device 1 returns to receiving the data again. This processing is performed in S of the flowchart shown in FIG.
Step S40 of FIG. 14C between 004 and S005
3 can be realized. The input device 8 performs wireless communication with the control device 2 in a similar manner. In order to alleviate the collision of data transmission between the input devices 1 and 8, the control device 2 turns on the TXSW2 signal when receiving the CS signals corresponding to the signals S1A and S1B, and sets the carrier of the signal S2 to the output state. Therefore, it is desirable that the data transmission of the other input device be in a standby state (S401).

【0062】このように1台の制御装置に複数の入力装
置を接続し、各入力装置を個々に制御することが可能と
なる。本実施例は1台の制御装置と2台の入力装置を接
続したがデバイスコードを拡張することにより、1台の
制御装置に2台以上の複数の入力装置を接続することが
可能である。
As described above, it is possible to connect a plurality of input devices to one control device and control each input device individually. In this embodiment, one control device and two input devices are connected. However, by expanding the device code, it is possible to connect two or more input devices to one control device.

【0063】また、第2の入力装置8として、CAPS
用LED14とカナ用LED15を削除し、キーマトリ
クス11の代わりにX方向とY方向のロータリーエンコ
ーダを搭載したマウスを使用してもよい。
As the second input device 8, CAPS
Alternatively, a mouse equipped with rotary encoders in the X and Y directions may be used instead of the key matrix 11 instead of the key LED 14 and the kana LED 15.

【0064】以上、本発明の実施例を説明したが、本発
明は上記実施例に限られることなく種々の変形が可能で
ある。例えば、入力装置および制御装置のそれぞれの送
信および受信アンテナはそれぞれ送受信共用アンテナと
してもよい。また、制御装置はパソコン本体に内蔵され
ていてもよい。無線通信対象データの冗長ビットとして
1ビットのパリティビットの代りに、CRC符号,BC
H符号等の検出率の高い冗長ビットを使用すると、さら
に無線通信の信頼性が向上する。また、冗長ビットを使
用せず、マンチェスタ変換のようにデータビットを符号
に変換する方式を使用してもよい。
Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications can be made. For example, each transmitting and receiving antenna of the input device and the control device may be a shared transmitting and receiving antenna. Further, the control device may be built in the personal computer body. Instead of a 1-bit parity bit as a redundant bit of wireless communication target data, a CRC code, BC
Use of a redundant bit having a high detection rate, such as an H code, further improves the reliability of wireless communication. A method of converting data bits into codes, such as Manchester conversion, without using redundant bits may be used.

【0065】[0065]

【発明の効果】以上説明したように、本発明のワイヤレ
スキーボードは、入力装置と制御装置とを双方向の無線
通信で接続することにより、配置の自由度を飛躍的に向
上させるとともに、信頼性の高い無線通信の実現とケー
ブル付きキーボードとの完全互換性を実現できるという
効果がある。さらに、1台の入力装置から複数の制御装
置に同時にデータ入力することや、1台の制御装置に複
数の入力装置を接続することが可能になるという効果が
ある。
As described above, according to the wireless keyboard of the present invention, the input device and the control device are connected to each other by two-way wireless communication, so that the degree of freedom of arrangement is greatly improved and the reliability is improved. This has the effect of realizing high-quality wireless communication and achieving full compatibility with a keyboard with cable. Further, there is an effect that it becomes possible to simultaneously input data from a single input device to a plurality of control devices and to connect a plurality of input devices to a single control device.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明のワイヤレスキーボードの第1の実施例
を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a wireless keyboard according to the present invention.

【図2】本実施例の入力装置および制御装置の各々の無
線通信ユニットのブロック図である。
FIG. 2 is a block diagram of a wireless communication unit of each of the input device and the control device according to the embodiment.

【図3】本実施例の無線信号のデータフォーマットを示
す図である。
FIG. 3 is a diagram illustrating a data format of a wireless signal according to the embodiment.

【図4】本実施例のキーデータの通信シーケンスを示す
シーケンス図である。
FIG. 4 is a sequence diagram illustrating a communication sequence of key data according to the present embodiment.

【図5】本実施例のキーデータのファームウェアのフロ
ーチャートである。
FIG. 5 is a flowchart of key data firmware according to the embodiment.

【図6】本実施例のLEDセンスデータの通信シーケン
スおよびファームウェアのフローチャートである。
FIG. 6 is a flowchart of a communication sequence and firmware of LED sense data according to the present embodiment.

【図7】本実施例の制御装置のマイコンとパソコン本体
とのインターフェース回路のブロック図とファームウェ
アのフローチャートである。
FIG. 7 is a block diagram of an interface circuit between a microcomputer of the control device of the present embodiment and a personal computer main body and a flowchart of firmware.

【図8】本発明のワイヤレスキーボードの第2の実施例
のLEDセンスデータの通信シーケンスおよびファーム
ウェアのフローチャートである。
FIG. 8 is a flowchart of a communication sequence and firmware of LED sense data of the second embodiment of the wireless keyboard of the present invention.

【図9】本発明のワイヤレスキーボードの第3の実施例
の無線通信チャネル設定およびIDビット設定の各々の
通信シーケンスを示すシーケンス図である。
FIG. 9 is a sequence diagram showing a communication sequence for setting a wireless communication channel and setting an ID bit in a third embodiment of the wireless keyboard of the present invention.

【図10】本発明のワイヤレスキーボードの第4の実施
例を示すブロック図である。
FIG. 10 is a block diagram showing a fourth embodiment of the wireless keyboard of the present invention.

【図11】本実施例における無線信号のデータフォーマ
ットおよびファームウェアのフローチャートである。
FIG. 11 is a flowchart of a data format and firmware of a wireless signal in the present embodiment.

【図12】本発明のワイヤレスキーボードの第4の実施
例を示すブロック図である。
FIG. 12 is a block diagram showing a fourth embodiment of the wireless keyboard of the present invention.

【図13】本実施例における無線信号のデータフォーマ
ットである。
FIG. 13 shows a data format of a wireless signal in the embodiment.

【図14】本実施例におけるファームウェアのフローチ
ャートである。
FIG. 14 is a flowchart of firmware in the present embodiment.

【図15】従来のワイヤレスキーボードの一例を示すブ
ロック図である。
FIG. 15 is a block diagram showing an example of a conventional wireless keyboard.

【符号の説明】[Explanation of symbols]

1,8 入力装置 2,5 制御装置 3,6 パソコン本体 4 ケーブル 7 ホストマシン 11 キーマトリクス 12,22 マイコン 13,21 無線通信ユニット 14,15 LED 16,23 ディップスイッチ 17 電源回路 18,19,24,25 アンテナ 41,52 周波数設定モジュール 42,53 送信モジュール 43,51 受信モジュール 100 ディスプレイ 114,136 電光変換器 111,137 光電変換器 112 デコーダ 113 エンコーダ 120 制御装置 130 キーボード 131 キースイッチ 132 キーコード発生器 133 キーコードバッファ 134 エンコーダ 139 比較器 411,521,523 PLL回路 412,522,524 VCO 413,525 IF生成回路 421,531 変調回路 422,532 AMP 423,431,433,435,511,513,5
15,533 BPF 432,434,512,514 MIX 436,517 復調回路 437,516 搬送波検出回路 F11,F12,F21 フアームウェア
1,8 input device 2,5 control device 3,6 personal computer body 4 cable 7 host machine 11 key matrix 12,22 microcomputer 13,21 wireless communication unit 14,15 LED 16,23 dip switch 17 power supply circuit 18,19,24 , 25 Antenna 41, 52 Frequency setting module 42, 53 Transmitting module 43, 51 Receiving module 100 Display 114, 136 Light-to-light converter 111, 137 Photoelectric converter 112 Decoder 113 Encoder 120 Controller 130 Keyboard 131 Key switch 132 Key code generator 133 Key code buffer 134 Encoder 139 Comparator 411, 521, 523 PLL circuit 412, 522, 524 VCO 413, 525 IF generation circuit 421, 531 Modulation circuit 42 , 532 AMP 423,431,433,435,511,513,5
15,533 BPF 432,434,512,514 MIX 436,517 Demodulation circuit 437,516 Carrier detection circuit F11, F12, F21

Claims (14)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 キースイッチをマトリクス上に配置した
キーボードからの第1のキーコードデータを含む第1の
キー情報を変調して第1の無線信号として送信する入力
装置と、前記第1の無線信号を受信復調した第2のキー
コードデータをデータ入力対象の上位装置に転送する制
御装置とを備えるワイヤレスキーボードにおいて、 前記入力装置が、前記第1のキーコードデータの供給を
受け第1の識別符号を含む前記第1のキー情報を発生す
るとともに第1の制御データ対応の受信制御データに対
応し第1の無線通信ユニットの制御を含む予め定めた複
数のプログラムから成る第1のプログラム群を格納した
第1の記憶手段を有する第1のマイクロプロセッサと、
前記第1のキー情報の供給に応答して前記第1の無線信
号を発生するとともに前記制御装置が送信する第2の無
線信号を受信復調して前記制御装置からの前記第2のキ
ーコードデータ対応の応答信号を含む前記第1の受信制
御データを出力する第1の無線通信ユニットとを備え、 前記制御装置が、前記第1の無線信号を受信復調し前記
第1のキー情報対応の第1の受信キー情報を出力すると
ともに前記第1の制御データの供給を受けて前記第2の
無線信号を発生する第2の無線通信ユニットと、第2の
識別符号を含む前記第1の制御データの発生および前記
第2の無線通信ユニットの制御を含む予め定めた複数の
プログラムから成る第2のプログラム群を格納した第2
の記憶手段と少なくとも前記第2のキーコードデータを
含みこの第2のキーコードデータ管理用のデータである
キーマップを格納した第3の記憶手段とを有する第2の
マイクロプロセッサとを備えることを特徴とするワイヤ
レスキーボード。
An input device for modulating first key information including first key code data from a keyboard having key switches arranged on a matrix and transmitting the modulated first key information as a first wireless signal; A control device for transferring a second key code data obtained by demodulating a signal to a higher-level device to which data is to be input, wherein the input device receives a supply of the first key code data and performs a first identification. A first program group including a plurality of predetermined programs that generate the first key information including a code and control the first wireless communication unit corresponding to the reception control data corresponding to the first control data; A first microprocessor having stored first storage means;
Generating the first wireless signal in response to the supply of the first key information, receiving and demodulating a second wireless signal transmitted by the control device, and demodulating the second key code data from the control device; A first wireless communication unit that outputs the first reception control data including a corresponding response signal, wherein the control device receives and demodulates the first wireless signal, and outputs a first wireless signal corresponding to the first key information. A second wireless communication unit for outputting the first reception key information and receiving the first control data to generate the second wireless signal; and the first control data including a second identification code. A second program group storing a second program group including a plurality of predetermined programs including the generation of
And a third microprocessor having at least the second key code data and a third storage means storing a key map which is data for managing the second key code data. Features a wireless keyboard.
【請求項2】 前記第1の無線通信ユニットが、第1の
搬送波を前記第1のキー情報により変調して第1の変調
信号を発生する第1の変調回路とこの第1の変調信号を
増幅して前記第1の無線信号を発生する第1の高周波増
幅回路とを含む第1の送信モジュールと、予め定めた第
1の位相ロックループ制御信号の供給に応答して第1の
周波数制御信号を発生する第1の位相ロックループとこ
の第1の周波数制御信号に応答して前記第1の搬送波を
発生する第1の電圧制御発振器と前記第1の搬送波の供
給を受け第1および第2の局部発振周波数の第1および
第2の局部発振信号の各々を発生する第1の中間周波数
合成回路とを含む第1の周波数設定モジュールと、 前記第2の無線信号の供給を受け前記第1および第2の
局部発振信号の各々の供給に応答してそれぞれ第1およ
び第2の中間周波数信号を発生する第1および第2のミ
キサ回路とこの第2の中間周波数信号の供給に応答して
復調し前記第1の制御データを発生する第1の復調回路
とこの第2の中間周波数信号の供給に応答して前記第2
の無線信号の第2の搬送波の存在を示す第1の搬送波検
出信号を発生する第1の搬送波検出回路とを含む第1の
受信モジュールとを備え、 前記第2の無線通信ユニットが、第2の搬送波を前記第
1の制御データにより変調して第2の変調信号を発生す
る第2の変調回路とこの第2の変調信号を増幅して前記
第2の無線信号を発生する第2の高周波増幅回路とを含
む第2の送信モジュールと、 予め定めた第2および第3の位相ロックループ制御信号
の供給に応答してそれぞれ第2および第3の周波数制御
信号を発生する第2および第3の位相ロックループと前
記第2の周波数制御信号の各々に応答して第2および第
3の搬送波信号をそれぞれ発生する第2および第3の電
圧制御発振器と前記第3の搬送波の供給を受けそれぞれ
第4および第5の局部発振周波数の第3および第4の局
部発振信号の各々を発生する第2の中間周波数合成回路
とを含む第2の周波数設定モジュールと、 前記第1の無線信号の供給を受け前記第3および第4の
局部発振信号の各々の供給に応答してそれぞれ第3およ
び第4の中間周波数信号を発生する第3および第4のミ
キサ回路とこの第4の中間周波数信号の供給に応答して
復調し前記第1の受信キー情報を発生する第2の復調回
路とこの第4の中間周波数信号の供給に応答して前記第
1の搬送波の存在を示す第2の搬送波検出信号を発生す
る第2の搬送波検出回路とを含む第2の受信モジュール
とを備えることを特徴とする請求項1記載のワイヤレス
キーボード。
2. A first modulation circuit for modulating a first carrier wave with the first key information to generate a first modulation signal, and a first modulation circuit for generating the first modulation signal. A first transmitting module including a first high-frequency amplifier circuit for amplifying and generating the first radio signal, and a first frequency control in response to a supply of a predetermined first phase-locked loop control signal A first phase-locked loop for generating a signal; a first voltage-controlled oscillator for generating the first carrier in response to the first frequency control signal; and a first and a second carrier for receiving the first carrier. A first frequency setting module including a first intermediate frequency synthesizing circuit for generating first and second local oscillation signals having two local oscillation frequencies, and a first frequency setting module receiving the second radio signal and receiving the second radio signal. Of each of the first and second local oscillation signals And first and second mixer circuits for generating first and second intermediate frequency signals in response to the first and second intermediate frequency signals, respectively, and demodulating in response to the supply of the second intermediate frequency signal to generate the first control data. In response to the supply of the first demodulation circuit and the second intermediate frequency signal.
And a first carrier detection circuit that generates a first carrier detection signal that indicates the presence of a second carrier of the wireless signal of the first wireless module. A second modulation circuit that modulates the second carrier signal with the first control data to generate a second modulation signal, and a second high frequency that amplifies the second modulation signal to generate the second radio signal A second transmitting module including an amplifying circuit; and second and third generating, respectively, second and third frequency control signals in response to providing predetermined second and third phase locked loop control signals. And the second and third voltage controlled oscillators respectively generating the second and third carrier signals in response to each of the phase locked loop and the second frequency control signal, and the supply of the third carrier, respectively. 4th and 5th A second frequency setting module including a second intermediate frequency synthesizing circuit that generates each of a third and a fourth local oscillation signal having a local oscillation frequency; Third and fourth mixer circuits for generating third and fourth intermediate frequency signals respectively in response to the supply of the fourth local oscillation signal, and demodulation in response to the supply of the fourth intermediate frequency signal A second demodulation circuit for generating the first received key information and a second carrier signal for generating a second carrier detection signal indicative of the presence of the first carrier in response to the supply of the fourth intermediate frequency signal. 2. The wireless keyboard according to claim 1, further comprising: a second receiving module including a carrier detection circuit.
【請求項3】 前記第1のキー情報が予め定めたビット
数の前記第1の識別符号と前記第1のキーコードデータ
と予め定めたキースイッチのロック状態を表示するロッ
ク表示の指示対応のロック状態センスデータと第1の冗
長データとを含み、 前記第1の制御データが予め定めたビット数の前記第2
の識別符号と前記キーコードの正常受信対応の正常応答
と異常受信対応の再送要求応答とから成る通信ステータ
スデータと前記ロック表示の状態を示すロック表示ステ
ータスデータと第2の冗長データとを含むことを特徴と
する請求項1記載のワイヤレスキーボード。
3. A method according to claim 1, wherein the first key information is a predetermined number of bits of the first identification code, the first key code data, and a lock display instruction for displaying a lock state of a predetermined key switch. The first control data includes lock state sense data and first redundant data, and the first control data has a predetermined number of bits.
Communication status data including a normal response corresponding to normal reception of the key code and a retransmission request response corresponding to abnormal reception, lock display status data indicating a state of the lock display, and second redundant data. The wireless keyboard according to claim 1, wherein:
【請求項4】 前記第1のプログラム群が前記キースイ
ッチのメークの検出に応答して発生した前記第1のキー
情報を前記第1の無線通信ユニットを介して前記第1の
無線信号として送信すると返信待ち状態とするステップ
と、 前記第2の無線信号の検出に応答して発生した前記第1
の制御データに含まれる前記第2の識別符号の正当性の
点検をするすステップと、 前記第2の識別符号が正常ならば前記第1の冗長データ
による前記第2の無線信号の正当性の点検をするステッ
プとを含み、 前記第2のプログラム群が前記第2の無線通信ユニット
を介した前記第1の無線信号の第1の搬送波の検出に応
答して前記第2のマイクロプロセッサに割込みを発生す
るステップと、 前記第1の無線信号の検出に応答して発生した前記第1
の受信キー情報に含まれる前記第1の識別符号の正当性
の点検をするすステップと、 前記第1の識別符号が正常ならば前記第2の冗長データ
による前記第1の無線信号の正当性の点検をするステッ
プと、 前記第1の無線信号が正常ならば前記第2の無線通信ユ
ニットを介して前記第2の無線信号を前記返信として送
信するステップと、 前記第1の受信キー情報を前記第2のキーコードデータ
に変換しこの第2のキーコードデータが前記上位装置に
転送可能か否かのキーコードデータ転送可能判断を行う
ステップとを含むことを特徴とする請求項1記載のワイ
ヤレスキーボード。
4. The first program group transmits the first key information generated in response to the detection of the make of the key switch as the first wireless signal via the first wireless communication unit. Then, a step of setting a reply waiting state; and the first state generated in response to the detection of the second wireless signal.
Checking the validity of the second identification code included in the control data of the above, if the second identification code is normal, the validity of the second wireless signal by the first redundant data Checking; wherein said second group of programs interrupts said second microprocessor in response to detection of a first carrier of said first wireless signal via said second wireless communication unit. Generating the first radio signal in response to detecting the first wireless signal.
Checking the validity of the first identification code included in the received key information, and if the first identification code is normal, the validity of the first wireless signal by the second redundant data Checking; and, if the first wireless signal is normal, transmitting the second wireless signal as the reply via the second wireless communication unit; and Converting the second key code data to the second key code data to determine whether or not the second key code data can be transferred to the host device. Wireless keyboard.
【請求項5】 前記キーコードデータ転送可能判断のス
テップが前記第3の記憶手段に予め格納した前記キーマ
ップを用いて行う同一のシーケンス中における同一の前
記第2のキーコードデータの転送済か否かの判断を含む
ことを特徴とする請求項4記載のワイヤレスキーボー
ド。
5. The method according to claim 1, wherein the step of determining whether or not the key code data transfer is possible is performed by transferring the same second key code data in the same sequence performed using the key map stored in the third storage means in advance. The wireless keyboard according to claim 4, further comprising determining whether or not the wireless keyboard is a wireless keyboard.
【請求項6】 前記入力装置が予め定めたキースイッチ
のロック状態を示すロック情報にしたがいこのロック状
態を表示するロック表示ユニットを備え、 前記第3の記憶手段が前記ロック状態の情報を格納し、 前記第1のプログラム群が、前記第3の記憶手段に格納
された前記ロック情報を予め定めた周期毎に問合わせる
ステップと、 前記問合わせに応答して返送された前記第1の受信制御
データから前記ロック情報を検出し前記ロック状態の変
更の有無を点検するステップと、 前記ロック状態の変更有の場合に前記ロック表示ユニッ
トの表示を変更するステップとを含むことを特徴とする
請求項1記載のワイヤレスキーボード。
6. The input device further includes a lock display unit for displaying a lock state according to lock information indicating a lock state of a predetermined key switch, wherein the third storage unit stores the lock state information. The first program group interrogating the lock information stored in the third storage means at predetermined intervals; and the first reception control returned in response to the inquiry. The method according to claim 1, further comprising: detecting the lock information from data to check whether the lock state has been changed; and changing the display of the lock display unit when the lock state has been changed. 1. The wireless keyboard according to 1.
【請求項7】 前記第1のプログラム群が、前記第1の
無線信号の送信からの予め定めた時間内に返送される前
記第2の無線信号の第2の搬送波の検出不能に応答して
前記入力装置の全ての構成要素を低消費電流状態に設定
するステップを含むことを特徴とする請求項1記載のワ
イヤレスキーボード。
7. The first program group responds to an undetectable second carrier of the second wireless signal returned within a predetermined time from the transmission of the first wireless signal. The wireless keyboard according to claim 1, further comprising a step of setting all components of the input device to a low current consumption state.
【請求項8】 前記第1のプログラム群が、全キーのオ
フ状態の予め定めた時間以上の継続に応答して発生する
全キーオフ情報を送信するステップを含み、 前記第2のプログラム群が、前記全キーオフ情報の受信
に応答して前記キーマップに含まれる全キーオフ対応の
第1のコードデータを前記上位装置に転送しこの上位装
置を全キーオフ状態に設定するステップを含むことを特
徴とする請求項1記載のワイヤレスキーボード。
8. The first program group includes a step of transmitting all key-off information generated in response to continuation of an off state of all keys for a predetermined time or more, wherein the second program group includes: Transferring the first code data corresponding to all key-offs included in the key map to the upper-level device in response to receiving the all-key-off information, and setting the upper-level device to the all-key-off state. The wireless keyboard according to claim 1.
【請求項9】 前記第2のプログラム群が、前記上位装
置からのリセット信号の供給に応答し前記キーマップに
含まれるキーオン情報対応の第2のコードデータを前記
上位装置に出力しこの上位装置をキーオン状態に設定す
るステップを含むことを特徴とする請求項1記載のワイ
ヤレスキーボード。
9. The second program group outputs second code data corresponding to key-on information included in the key map to the high-order device in response to supply of a reset signal from the high-order device. 2. The wireless keyboard according to claim 1, further comprising the step of setting a key to a key-on state.
【請求項10】 前記第2のプログラム群が、初期化処
理に応答して第2の無線通信ユニットを制御し空いてい
る周波数チャネルの一つを選択チャネルとして選択する
ステップと、この選択チャネルの情報を前記第2の無線
信号として送信後この第2の無線通信ユニットの周波数
チャネルを選択周波数チャネルに設定するステップとを
含み、 前記第1のプログラム群が、前記選択チャネルの情報に
基ずき前記第1の無線通信ユニットの周波数チャネルを
この選択チャネルに設定するステップとを含むことを特
徴とする請求項1記載のワイヤレスキーボード。
10. The second program group controls a second wireless communication unit in response to an initialization process, and selects one of the vacant frequency channels as a selected channel. Setting the frequency channel of the second wireless communication unit as a selected frequency channel after transmitting the information as the second wireless signal, wherein the first program group is based on the information of the selected channel. Setting the frequency channel of the first wireless communication unit to the selected channel.
【請求項11】 前記第2のプログラム群が、初期化処
理に応答して発生する前記第3の記憶手段のランダムデ
ータを前記第2の識別符号として設定するステップと、
この第2の識別符号を含む前記第1の制御データを前記
第2の無線信号として送信するステップと、前記第1の
識別符号と設定した前記第2の識別符号との相互比較す
るステップと、前記第1および第2の識別符号が一致す
れば前記上位装置に転送するステップとを含み、 前記第1のプログラム群が、前記第2の識別符号に基ず
き前記第1のキー情報に前記第1の識別符号を設定する
ステップを含むことを特徴とする請求項1および3記載
のワイヤレスキーボード。
11. The method according to claim 11, wherein the second program group sets, as the second identification code, random data in the third storage unit generated in response to an initialization process;
Transmitting the first control data including the second identification code as the second radio signal, and mutually comparing the first identification code with the set second identification code; Transferring the first and second identification codes to the higher-level device if the first and second identification codes match, wherein the first program group is configured to add the first key information to the first key information based on the second identification codes. 4. The wireless keyboard according to claim 1, further comprising a step of setting a first identification code.
【請求項12】 前記制御装置と同様の第2の制御装置
をさらに備え、 前記第1の制御データおよび前記第2の制御装置対応の
第2の制御データの各々にこれら第1および第2の制御
装置の区別用の第1および第2の装置コードの付加がそ
れぞれなされていることを特徴とする請求項1および3
記載のワイヤレスキーボード。
12. A control apparatus according to claim 1, further comprising a second control device similar to said control device, wherein said first control data and said second control data corresponding to said second control device are respectively assigned to said first and second control data. 4. The method according to claim 1, wherein first and second device codes for distinguishing the control devices are added.
The described wireless keyboard.
【請求項13】 前記入力装置と同様の第2の入力装置
をさらに備え、 前記第1のキー情報および前記第2の入力装置対応の第
2のキー情報の各々にこれら第1および第2の入力装置
の区別用の第1および第2のデバイスコードの付加がそ
れぞれなされていることを特徴とする請求項1および3
記載のワイヤレスキーボード。
13. The apparatus further comprising a second input device similar to the input device, wherein the first key information and the second key information corresponding to the second input device correspond to the first and second key information, respectively. 4. The device according to claim 1, wherein first and second device codes for distinguishing the input device are added.
The described wireless keyboard.
【請求項14】 少なくとも前記第1および第2の入力
装置の1つが前記キーマトリクスおよびロック状態表示
ユニットの代りにX,Yの各々の方向の移動距離エンコ
ーダを用いるポインティングデバイスを備れることを特
徴とする請求項13記載のワイヤレスキーボード。
14. At least one of the first and second input devices is provided with a pointing device using a moving distance encoder in each of X and Y directions instead of the key matrix and the lock state display unit. The wireless keyboard according to claim 13, wherein
JP6170611A 1994-07-22 1994-07-22 Wireless keyboard Expired - Lifetime JP2638488B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6170611A JP2638488B2 (en) 1994-07-22 1994-07-22 Wireless keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6170611A JP2638488B2 (en) 1994-07-22 1994-07-22 Wireless keyboard

Publications (2)

Publication Number Publication Date
JPH0836446A JPH0836446A (en) 1996-02-06
JP2638488B2 true JP2638488B2 (en) 1997-08-06

Family

ID=15908073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6170611A Expired - Lifetime JP2638488B2 (en) 1994-07-22 1994-07-22 Wireless keyboard

Country Status (1)

Country Link
JP (1) JP2638488B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007159060A (en) * 2005-12-08 2007-06-21 ▲い▼榮科技股▲ふん▼有限公司 Automatic frequency hopping remote control apparatus
JP5576872B2 (en) 2010-03-31 2014-08-20 パナソニック株式会社 Communication device, communication system, communication method, integrated circuit
CN112424761B (en) * 2018-07-23 2024-08-09 雷蛇(亚太)私人有限公司 Wireless luminous effect configuration data transmission system

Also Published As

Publication number Publication date
JPH0836446A (en) 1996-02-06

Similar Documents

Publication Publication Date Title
EP0207948B1 (en) Internally register-modelled, serially-bussed radio system
US7069587B2 (en) Electronic device and connection control method
US20020154025A1 (en) Wireless addressable lighting method and apparatus
US20010009415A1 (en) Initialization method for one-way communications and apparatus for use therewith
EP2077025A2 (en) Device with an eeprom having both a near field communication interface and a second interface
WO2008085131A1 (en) A wireless network for personal computer human interface devices
WO2001069802A2 (en) Integrated radio frequency interface
CN101009712B (en) Network printer system, printer, control method for computer, computer readable medium
EP1299794B1 (en) System and method for establishing wireless connection
JP2638488B2 (en) Wireless keyboard
KR100328499B1 (en) Home gateway system for connecting home network and access network each having diverse protocols and network interfacing method thereof
CN100570537C (en) Based on method with function of Bluetooth communication mobile communication equipment remote-control computer
CN100518210C (en) Method and system for operating and controlling electronic apparatus
JP2003078475A (en) Radio transmitter-receiver
US7920882B2 (en) Human interface device and wireless communication method thereof
US6556187B1 (en) Method for transmitting data of wireless keyboard having track-ball
JP3302903B2 (en) Wireless device for remote control of hoist type overhead crane
CN113867787A (en) Switching system and method between server network cards
JPH08509330A (en) Command modulation system with command generation unit for issuing commands to multiple different types of controlled units
EP1343281A1 (en) Management of a network access point with auxiliary transceivers in a bluetooth piconet
CN212936210U (en) Tool for near field configuration of LoRaWAN node
KR200221934Y1 (en) Wireless interfacing appratus for computer
CN100380899C (en) Wireless receiving device shared by computer peripheral equipment
JPH0630506B2 (en) Serial communication device
KR200221933Y1 (en) Wire and wireless interfacing apparatus for computer

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970318