JP2000209676A - Remote control receiver, electronic device, signal processing method, and storage medium by computer - Google Patents

Remote control receiver, electronic device, signal processing method, and storage medium by computer

Info

Publication number
JP2000209676A
JP2000209676A JP10352618A JP35261898A JP2000209676A JP 2000209676 A JP2000209676 A JP 2000209676A JP 10352618 A JP10352618 A JP 10352618A JP 35261898 A JP35261898 A JP 35261898A JP 2000209676 A JP2000209676 A JP 2000209676A
Authority
JP
Japan
Prior art keywords
remote control
signal
receiving
decoding
control signals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10352618A
Other languages
Japanese (ja)
Inventor
Junichi Sato
淳一 佐藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP10352618A priority Critical patent/JP2000209676A/en
Publication of JP2000209676A publication Critical patent/JP2000209676A/en
Pending legal-status Critical Current

Links

Landscapes

  • Details Of Television Systems (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PROBLEM TO BE SOLVED: To quickly and accurately analyze a remote control signal received by each reception section when a plurality of reception sections for the remote control signal are provided to receive the remote control signal from various directions. SOLUTION: A capture control section 4, capture registers 5, 6 and a free running counter 7 of a microcomputer 3 decode remote control signals S1, S2 received nearly simultaneously by light receiving sections 1, 2. Contents of the decoded signals are checked and a signal with higher order of priority (e.g. a stop signal, in the case of a VTR, from among the stop signal and a play signal or the like) is validated.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば赤外線のリ
モコン信号を受光する受光部を複数個備えるリモコン受
信装置、電子機器及び信号処理方法並びにこれらの装置
に用いられるコンピュータ読み取り可能な記憶媒体に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a remote control receiving apparatus having a plurality of light receiving sections for receiving infrared remote control signals, an electronic apparatus, a signal processing method, and a computer-readable storage medium used in these apparatuses. It is.

【0002】[0002]

【従来の技術】従来電気機器等を離れた位置から操作す
る手段として、リモコン信号を赤外線により伝送する方
法が広く使われている。ところが赤外線は直進性が高
く、またリモコン信号を受光する受光部は指向性がある
ので、例えば受光部に対して反対側からリモコン信号を
送信してもうまく受光できないという問題があり、これ
を解決するために色々な方向からリモコン信号を受光す
るために受光部を複数個設けるものがあった。
2. Description of the Related Art Conventionally, as a means for operating an electric device or the like from a remote position, a method of transmitting a remote control signal by infrared rays has been widely used. However, infrared rays have high rectilinearity, and the light-receiving part that receives the remote control signal has directivity. For example, even if a remote control signal is transmitted from the opposite side to the light-receiving part, the light cannot be received properly. In some cases, a plurality of light receiving units are provided to receive remote control signals from various directions.

【0003】受光部を複数個設けたものの中には、その
受光部の出力を加算して1個のデコーダに供給するもの
や、各受光部の出力のうち1つを選択するスイッチ回路
を設け、このスイッチ回路を順次切り換えて1個のデコ
ーダに供給し、選択された受光部からの信号が特定パタ
ーンであればその受光部からの信号がデコーダに入力さ
れるようにスイッチがホールドされ、デコード出力を得
るもの(特開平6−105382号公報)があった。
[0003] Among those provided with a plurality of light receiving sections, there are provided one for adding the output of the light receiving section and supplying it to one decoder, and a switch circuit for selecting one of the outputs of each light receiving section. The switch circuit is sequentially switched and supplied to one decoder. If the signal from the selected light receiving section is a specific pattern, the switch is held so that the signal from the light receiving section is input to the decoder, and the decoding is performed. There is one that obtains an output (JP-A-6-105382).

【0004】[0004]

【発明が解決しようとする課題】しかしながら上記複数
の受光部を持つもので、前者は1つの受光部にノイズが
入ると、他の受光部で正規のリモコン信号を受けても加
算されてしまうため正しくデコードされないという問題
があった。また後者は、特定パターンを含むか否かの検
出を行っているのでノイズには強いが、各受光部にほぼ
同時に違うコマンドが入った場合、どちらか一方のコマ
ンドしか受けられないという欠点や、順次スイッチする
ため送信側からの応答が遅れたり、ハード的なスイッチ
回路が必要なためスペース、コストが不利になるという
問題があった。
However, in the former having a plurality of light receiving parts, if the noise enters one light receiving part, it is added even if the other light receiving part receives a legitimate remote control signal. There was a problem that it was not decoded correctly. Also, the latter is strong against noise because it detects whether or not it contains a specific pattern, but when different commands are entered almost simultaneously at each light receiving unit, only one of the commands can be received, There is a problem that the response from the transmitting side is delayed due to the sequential switching, and the space and cost are disadvantageous because a hardware switching circuit is required.

【0005】本発明は上記の問題を解決するためになさ
れたもので、その目的は、各受光部への入力信号に応じ
て素早く正確に応答できるリモコン受信装置、電子機器
及び信号処理方法を提供することである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to provide a remote control receiver, an electronic device, and a signal processing method capable of responding quickly and accurately according to an input signal to each light receiving unit. It is to be.

【0006】[0006]

【課題を解決するための手段】本発明によるリモコン受
信装置においては、リモコン信号を受信する複数の受信
手段と、上記複数の受信手段がそれぞれ受信した各リモ
コン信号をデコードする複数のデコード手段と、上記複
数のデコード手段によりデコードされた各リモコン信号
の処理手段とを設けている。
In a remote control receiving apparatus according to the present invention, a plurality of receiving means for receiving a remote control signal; a plurality of decoding means for decoding each remote control signal respectively received by the plurality of receiving means; Processing means for each remote control signal decoded by the plurality of decoding means.

【0007】本発明によるコンピュータ読み取り可能な
記憶媒体においては、複数の受信手段によりリモコン信
号を受信する受信処理と、上記受信した複数のリモコン
信号をそれぞれ別個にデコードするデコード処理と、上
記デコードされた各リモコン信号を処理する信号処理と
を実行するためのプログラムを記憶している。
In the computer-readable storage medium according to the present invention, a receiving process of receiving a remote control signal by a plurality of receiving means, a decoding process of separately decoding the received plurality of remote control signals, A program for executing signal processing for processing each remote control signal is stored.

【0008】本発明による電子機器においては、複数の
機器から送信された複数のリモコン信号を受信する複数
の受信手段と、該複数の受信手段により受信した各リモ
コン信号をデコードする複数のデコード手段と、前記複
数のデコード手段によりデコードされた各信号にもとづ
いて制御する機器を選択する処理手段とを備えている。
In an electronic device according to the present invention, a plurality of receiving means for receiving a plurality of remote control signals transmitted from a plurality of devices, and a plurality of decoding means for decoding each remote control signal received by the plurality of receiving means are provided. Processing means for selecting a device to be controlled based on each signal decoded by the plurality of decoding means.

【0009】本発明による電子機器の信号処理方法にお
いては、複数の受信手段により受信した複数の機器から
の複数のリモコン信号を複数のデコード手段によりデコ
ードし、前記複数のデコード手段によりデコードされた
各信号にもとづいて制御する機器を選択する。
In the signal processing method for an electronic device according to the present invention, a plurality of remote control signals from a plurality of devices received by a plurality of receiving units are decoded by a plurality of decoding units, and each of the plurality of decoded remote control signals is decoded by the plurality of decoding units. Select the device to be controlled based on the signal.

【0010】本発明によるコンピュータ読み取り可能な
記憶媒体においては、電子機器によって、複数の受信手
段により受信した複数の機器からの複数のリモコン信号
を複数のデコード手段によりデコードし、前記複数のデ
コード手段によりデコードされた各信号にもとづいて制
御する機器を選択することを実現させるためのプログラ
ムを格納している。
In a computer readable storage medium according to the present invention, a plurality of remote control signals received from a plurality of devices by a plurality of receiving units are decoded by a plurality of decoding units by an electronic device, and the plurality of decoding units decode the plurality of remote control signals. A program for realizing selection of a device to be controlled based on each decoded signal is stored.

【0011】本発明によるリモコン通信システムにおい
ては、リモコン信号を受信する複数の受信部と、前記複
数の受信部よりそれぞれ出力された受信出力信号をデコ
ードする複数のデコーダと、前記複数のデコーダよりそ
れぞれ出力されたデータを比較して信頼性を判断するデ
ータ処理部とを有する。
In a remote control communication system according to the present invention, a plurality of receiving units for receiving a remote control signal, a plurality of decoders for decoding received output signals respectively output from the plurality of receiving units, A data processing unit for comparing output data to determine reliability.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の形態を図面
と共に説明する。図1から図4は本発明の第1の実施の
形態を示すもので、図1はリモコン受信装置のブロック
図、図2はリモコン信号の例、図3はタイミングチャー
ト、図4はフローチャートである。図1において、1、
2はそれぞれ赤外線リモコン信号の受光部であり、受光
部センサ、リモコン信号を抽出するバンドパスフィル
タ、アンプ等からなる。また受光部1、2は色々な方向
から受光できるように例えば機器の前後に搭載される。
受光部1、2の出力信号S1、S2はマイコン3のポー
トを介してマイコン内部のキャプチャ制御部4に入力さ
れる。
Embodiments of the present invention will be described below with reference to the drawings. 1 to 4 show a first embodiment of the present invention. FIG. 1 is a block diagram of a remote control receiver, FIG. 2 is an example of a remote control signal, FIG. 3 is a timing chart, and FIG. 4 is a flowchart. . In FIG. 1, 1,
Numeral 2 denotes a light receiving section for infrared remote control signals, which includes a light receiving section sensor, a band pass filter for extracting a remote control signal, an amplifier, and the like. The light receiving units 1 and 2 are mounted, for example, before and after the device so that light can be received from various directions.
Output signals S1 and S2 of the light receiving units 1 and 2 are input to a capture control unit 4 inside the microcomputer via a port of the microcomputer 3.

【0013】図2はS1又はS2の1例である。図2で
横軸は時間軸で送信順にリーダーコード部、カスタムコ
ード部、カスタムコードの反転部、データコード部、デ
ータコードの反転部で1サイクルとなっており、以降は
このサイクルが繰り返される。ここでリーダーコードは
リモコン信号スタートのトリガとなるものであり、カス
タムコードは各メーカのコードや機器等のコードを示
し、データコードはコマンドなどである。また各コード
のパルス幅等は予め決められている。
FIG. 2 shows an example of S1 or S2. In FIG. 2, the horizontal axis is a time axis, in which the leader code portion, the custom code portion, the custom code inversion portion, the data code portion, and the data code inversion portion constitute one cycle in the order of transmission, and this cycle is repeated thereafter. Here, the leader code is a trigger for starting a remote control signal, the custom code indicates a code of each manufacturer or a code of a device, and the data code is a command or the like. The pulse width and the like of each code are determined in advance.

【0014】再び図1に戻ると、キャプチャ制御部4は
S1が入力されると、その立ち上がり時及び立ち下がり
時にトリガ信号T1を発生し、キャプチャレジスタ5に
入力される。同様にS2信号の立ち上がり時及び立ち下
がり時にはトリガ信号T2が発生し、キャプチャレジス
タ6に入力される。一方、キャプチャレジスタ5、6に
はフリーランニングカウンタ7の出力も入力され、各ト
リガ信号T1、T2が入力された時点のフリーランニン
グカウンタ7の値が各キャプチャレジスタ5、6に取り
込まれる。またキャプチャレジスタ5、6、ROM10
及びRAM9は内部バス8に接続されている。
Returning to FIG. 1 again, when S1 is input, the capture control unit 4 generates a trigger signal T1 at the time of rising and falling, and is input to the capture register 5. Similarly, at the time of rising and falling of the S2 signal, a trigger signal T2 is generated and input to the capture register 6. On the other hand, the outputs of the free running counter 7 are also input to the capture registers 5 and 6, and the values of the free running counter 7 at the time when the trigger signals T1 and T2 are input are taken into the respective capture registers 5 and 6. Also, capture registers 5 and 6, ROM 10
The RAM 9 is connected to the internal bus 8.

【0015】ROM10は、本発明による記憶媒体であ
り、マイコン3が後述する図4又は図5に示すフローチ
ャートによる処理を実行するためのプログラムを記憶し
ている。この記憶媒体としては、半導体メモリ、光ディ
スク、光磁気ディスク、磁気媒体等が用いられる。
The ROM 10 is a storage medium according to the present invention, and stores a program for the microcomputer 3 to execute a process according to a flowchart shown in FIG. As the storage medium, a semiconductor memory, an optical disk, a magneto-optical disk, a magnetic medium, or the like is used.

【0016】次に、図3を用いて受光部1で受光したリ
モコン信号をデコードする方法を説明する。まず受光部
1から出力信号S1のリーダーコード部の立ち上がり信
号がキャプチャ制御部4に入力されるとトリガ信号T1
が発生し、キャプチャレジスタ5にその時点のフリーラ
ンニングカウンタの値aが取り込まれ、この値aは内部
バス8を介してRAM9に送られる。
Next, a method of decoding a remote control signal received by the light receiving section 1 will be described with reference to FIG. First, when the rising signal of the leader code portion of the output signal S1 is input from the light receiving unit 1 to the capture control unit 4, the trigger signal T1
Occurs, the value a of the free-running counter at that time is taken into the capture register 5, and this value a is sent to the RAM 9 via the internal bus 8.

【0017】次にリーダーコード部の立ち下がりでもト
リガ信号T1が発生し、キャプチャレジスタ5にその時
点のフリーランニングカウンタの値bが取り込まれ、R
AM9に送られる。ここで、リーダーコードの“H”の
期間は次式で与えられ、マイコン内部の演算手段で得ら
れる。(b−a)×(内部クロック)
Next, a trigger signal T1 is also generated at the falling edge of the leader code section, and the value b of the free running counter at that time is taken into the capture register 5, and R
It is sent to AM9. Here, the period of "H" of the leader code is given by the following equation, and is obtained by the arithmetic means inside the microcomputer. (Ba) x (internal clock)

【0018】以下同様にリモコン信号のコード各部の
“H”及び“L”の期間を求める。そしてリーダーコー
ド、カスタムコードが予め記憶されていたパターンと一
致したと判断すると、データコードのデータ(コマン
ド)をRAM9に書き込み、予め記憶されているコマン
ドデータと比較することにより、どのコマンドを受けた
かを判断する。
In the same manner, the "H" and "L" periods of each code portion of the remote control signal are obtained. When it is determined that the leader code and the custom code match the pattern stored in advance, the data (command) of the data code is written to the RAM 9 and compared with the command data stored in advance to determine which command was received. Judge.

【0019】受光部2からの出力信号S2も同様にトリ
ガ信号T2、キャプチャレジスタ6を用いてデコードで
きる。そしてS1、S2が同時にマイコン3に入力され
ても、それぞれ独立のトリガ信号T1、T2及びキャプ
チャレジスタ5、6を有するので、それぞれのコマンド
を判断することが可能である。
Similarly, the output signal S2 from the light receiving section 2 can be decoded using the trigger signal T2 and the capture register 6. Even if S1 and S2 are input to the microcomputer 3 at the same time, since they have independent trigger signals T1 and T2 and capture registers 5 and 6, respectively, it is possible to judge each command.

【0020】次に上記のようにリモコン信号がデコード
されてデータコード(ここではコマンドデータとする)
が判明した後、マイコン3のソフトウェアにより実現さ
れる本実施の形態の動作を図4のフローチャートを用い
て説明する。ここではVTRを例にとるものとする。す
なわちVTR内部に前述の受光部1、2及びマイコン3
を内蔵し、リモコンからのコマンドを受けて動作を行う
ものである。
Next, the remote control signal is decoded as described above and the data code (here, command data) is decoded.
After this is determined, the operation of the present embodiment realized by the software of the microcomputer 3 will be described with reference to the flowchart of FIG. Here, a VTR is taken as an example. That is, the light receiving units 1 and 2 and the microcomputer 3 are provided inside the VTR.
And performs an operation in response to a command from a remote controller.

【0021】またここでは各コマンドを受ける優先順位
を次の順とする。まずテープ動作を停止する「STOP
コマンド」が1番優先順位が高く、再生動作を行う「P
LAYコマンド」が2番目で、その他のコマンドは同じ
順位とする。図4のD1はリモコン信号を受光部1で受
光しデコードされたコマンドデータ、D2はリモコン信
号を受光部2で受光しデコードされたコマンドデータ、
DSTOPはSTOPコマンドのデータ、DPLAYは
PLAYコマンドのデータとする。またD1かD2のど
ちらか一方のコマンドデータが判明しており、他方がノ
イズや他のメーカ機種のコードの場合はもちろん前者の
コマンドを有効とする。
Here, the priority order for receiving each command is as follows. First, stop the tape operation.
Command ”has the highest priority and performs the playback operation.
The "LAY command" is the second, and the other commands have the same order. D1 in FIG. 4 is command data received and decoded by the light receiving unit 1 for the remote control signal, D2 is command data received and decoded by the light receiving unit 2 for the remote control signal,
DSTOP is data of a STOP command, and DPLAY is data of a PLAY command. In the case where either D1 or D2 command data is known and the other is noise or a code of another manufacturer's model, the former command is of course valid.

【0022】図4のフローチャートは、マイコンの処理
として同時に2つの受光部1、2に有効なコマンドが入
力された時の動作を示す。まずステップ101で両受光
部1、2からのコマンドデータが同じ場合はステップ1
02に進み、このデータに対応するコマンドを有効とす
る。ここで例えば反射等で受光部1、受光部2に入力さ
れるリモコン信号にずれがあった場合でも、図4のルー
チンを呼ぶ周期を考えられる最大のずれ量よりも大きく
とれば、このずれを吸収することができる。
FIG. 4 is a flowchart showing the operation of the microcomputer when a valid command is input to the two light receiving units 1 and 2 at the same time. First, if the command data from both light receiving units 1 and 2 are the same in step 101, step 1
In step 02, the command corresponding to this data is validated. Here, even if there is a shift in the remote control signals input to the light receiving sections 1 and 2 due to reflection or the like, if the cycle for calling the routine of FIG. 4 is made larger than the maximum possible shift amount, this shift is eliminated. Can be absorbed.

【0023】さてD1とD2のコマンドデータが異なる
場合は、ステップ103、ステップ105によりどちら
かがSTOPコマンドのデータであればステップ104
に進み、STOPコマンドを有効とする。どちらもST
OPコマンドでないときは、ステップ106、ステップ
108によりどちらかがPLAYコマンドのデータであ
ればステップ107に進み、PLAYコマンドを有効と
する。どちらもPLAYコマンドでない場合は、ステッ
プ109に進み両コマンド共無効にする。
If the command data of D1 and D2 are different, if either of them is the data of the STOP command in steps 103 and 105, step 104
To make the STOP command valid. Both are ST
If it is not an OP command, if either is the data of the PLAY command in steps 106 and 108, the process proceeds to step 107, where the PLAY command is validated. If neither is a PLAY command, the flow advances to step 109 to invalidate both commands.

【0024】本実施の形態によれば、2個の受光部1、
2でそれぞれ異なったコマンドを受光しても、マイコン
3のソフトウェアのみでコマンドに優先順位をつけるこ
とが可能である。
According to the present embodiment, two light receiving sections 1,
2, even if different commands are received, the commands can be prioritized only by the software of the microcomputer 3.

【0025】図5は本発明の第2の実施の形態を示すフ
ローチャートである。装置の構成は図1と同じである。
通常のリモコン信号は図2のようなパターンを1サイク
ルとしてリモコン送信機側のボタンを押している間この
パターンが繰り返される。そこで図5において、D1N
EWを受光部1からの最新のコマンドデータと、D1O
LDをその1つ前の受光部1からのコマンドデータとす
る。同様にD2NEWを受光部2からの最新のコマンド
データとし、D2OLDをその1つ前の受光部2からの
コマンドデータとする。
FIG. 5 is a flowchart showing a second embodiment of the present invention. The configuration of the device is the same as that of FIG.
The normal remote control signal has a pattern as shown in FIG. 2 as one cycle, and this pattern is repeated while a button on the remote control transmitter is pressed. Therefore, in FIG.
EW is updated with the latest command data from the light receiving unit 1 and D1O
LD is the command data from the immediately preceding light receiving unit 1. Similarly, D2NEW is the latest command data from the light receiving unit 2, and D2OLD is the command data from the immediately preceding light receiving unit 2.

【0026】まずステップ201ではD1のコマンドデ
ータの2回一致をみており、異なっていればステップ2
02でD2のコマンドデータの2回一致をみる。これが
一致していればD2の方が信頼性が高いと判断し、ステ
ップ203でD2に対応するコマンドを有効とする。ま
たステップ202でデータが異なっている場合はD1、
D2共信頼性が低いと判断し、ステップ204で両コマ
ンド共無効とする。
First, in step 201, the command data of D1 is checked twice for coincidence.
At 02, the command data of D2 is checked twice. If they match, it is determined that D2 has higher reliability, and the command corresponding to D2 is validated in step 203. If the data is different at step 202, D1
It is determined that the reliability of D2 is low, and both commands are invalidated in step 204.

【0027】同様にステップ201でデータが一致して
ステップ205でD2のデータが異なるときはD1の方
が信頼性が高いと判断し、ステップ206でD1に対応
するコマンドを有効とする。更にステップ205でD2
のデータも一致していた場合には、再度ステップ1に戻
り、より信頼性の高い方のコマンドデータが有効となる
まで繰り返される。
Similarly, when the data matches in step 201 and the data in D2 differs in step 205, it is determined that D1 has higher reliability, and the command corresponding to D1 is validated in step 206. Further, in step 205, D2
If these data also match, the process returns to step 1 again and is repeated until the more reliable command data becomes valid.

【0028】本実施の形態によれば、マイコンのソフト
ウェアのみでより信頼性の高い方のコマンドを判断する
ことが可能である。
According to the present embodiment, it is possible to judge which command has higher reliability only by the software of the microcomputer.

【0029】尚、第1、第2の実施の形態では、リモコ
ン信号として赤外線による伝送を例にとったが、赤外線
以外の光線や電波、あるいは有線に応用してももちろん
問題無い。またデコード手段としてキャプチャとフリー
ランニングカウンタを用いて実現したが、これ以外に
も、例えば割り込みタイマを用いてもマイコンのみで実
現可能である。更にリモコン受信部が2個の場合を例に
とったが3個以上でも同様に実現可能であることは言う
までもない。
In the first and second embodiments, the transmission by infrared rays is taken as an example of the remote control signal. However, it goes without saying that the invention can be applied to light rays other than infrared rays, radio waves, or wires. Further, the present invention is realized by using a capture and a free-running counter as a decoding means. However, other than this, for example, even by using an interrupt timer, it can be realized only by a microcomputer. Further, the case where there are two remote control receiving units is taken as an example, but it goes without saying that three or more remote control receiving units can be similarly realized.

【0030】次に、本発明の第3の実施形態について説
明する。
Next, a third embodiment of the present invention will be described.

【0031】図6〜図8は、本発明の第3の実施形態を
説明するための図であり、図6はパソコン内のIrDA
装置(リモコン受信装置)の構成を示すブロック図、図
7はIrDAの一方式のデータフォーマットを示す図、
図8は信号処理動作を示すフローチャートである。
FIGS. 6 to 8 are diagrams for explaining a third embodiment of the present invention. FIG. 6 shows IrDA in a personal computer.
FIG. 7 is a block diagram showing a configuration of a device (remote control receiver), FIG. 7 is a diagram showing a data format of one system of IrDA,
FIG. 8 is a flowchart showing the signal processing operation.

【0032】図6において、301は赤外光によりデー
タの送受信を行うためのIrDA回路、302は送信用
の赤外光発光部、303、304はそれぞれ受信用の赤
外光受光部(受信手段)であり、受光センサー、アンプ
等からなる。また、受光部303、304は色々な方向
から受光できるように、例えばパソコンの前後に搭載さ
れる。305はエンコーダ部、306,307はデコー
ダ部(デコード手段)、308はパソコン内部のデータ
バスである。
In FIG. 6, reference numeral 301 denotes an IrDA circuit for transmitting and receiving data by infrared light; 302, an infrared light emitting section for transmission; and 303 and 304, respectively, infrared light receiving sections for reception (receiving means). ), Comprising a light receiving sensor, an amplifier, and the like. The light receiving units 303 and 304 are mounted, for example, before and after a personal computer so that light can be received from various directions. 305 is an encoder unit, 306 and 307 are decoder units (decoding means), and 308 is a data bus inside the personal computer.

【0033】また、図7に示すようにデータはフレーム
の単位で送受信されるが、フレームの始めをBOF、終
わりをEOFと呼び、アプリケーションのデータは情報
部に書かれる。
As shown in FIG. 7, data is transmitted and received in frame units. The beginning of a frame is called BOF and the end is called EOF, and application data is written in an information section.

【0034】以上のような構成において、受光部(1)
303で、ある赤外光を受光すると増幅されデコーダ
(1)306に送られる。デコーダ(1)306では送
られた信号が図7のようなIrDA方式のデータフォー
マットかどうかを判別し必要なデータ(図7の情報部)
をデータバス308に出力する。受光部(2)304と
デコーダ(2)307も同様である。一方、送信時はデ
ータバス308からエンコーダ305にデータが送信さ
れ、エンコーダ305はIrDA方式のデータフォーマ
ットに変換して、発光部(2)304を介して赤外光送
信を他の機器に対して行う。
In the above configuration, the light receiving section (1)
At 303, when a certain infrared light is received, it is amplified and sent to the decoder (1) 306. The decoder (1) 306 determines whether the transmitted signal has the IrDA data format as shown in FIG. 7 and determines necessary data (the information section in FIG. 7).
Is output to the data bus 308. The same applies to the light receiving unit (2) 304 and the decoder (2) 307. On the other hand, at the time of transmission, data is transmitted from the data bus 308 to the encoder 305, the encoder 305 converts the data into an IrDA data format, and transmits infrared light to another device via the light emitting unit (2) 304. Do.

【0035】次に、前記のように受光信号がデコードさ
れIrDA方式のデータであることが判明した後、パソ
コンのソフトウェアにより実現される(不図示のROM
により格納されたプログラムに基づいて不図示の処理手
段により実行される)本実施形態の動作を図8のフロー
チャートを用いて説明する。なお、本実施形態ではデコ
ーダ(1)306、デコーダ(2)307と不図示の処
理手段とは1つのマイクロコンピュータ(以後、単にマ
イコンと称する)に内蔵(同一チップ上に構成)されて
いる。
Next, after the light receiving signal is decoded and found to be IrDA data as described above, the light receiving signal is realized by software of a personal computer (a ROM (not shown)).
(Executed by a processing unit (not shown) based on the program stored by the CPU) (Operation of this embodiment) will be described with reference to the flowchart of FIG. In this embodiment, the decoder (1) 306, the decoder (2) 307, and the processing means (not shown) are incorporated in one microcomputer (hereinafter simply referred to as a microcomputer) (configured on the same chip).

【0036】本実施形態のパソコンにおいて、他の機器
からの命令を受け付ける優先順位が、機器A>機器Bと
し、その他の機器からの命令は無効であるとする。ま
た、デコーダ(1)306でデコードされたデータをD
1、デコーダ(2)307でデコードされたデータをD
2とし、データ中には送信機の番号(機器A、機器B)
が含まれているとする。
In the personal computer according to the present embodiment, it is assumed that the priority of receiving a command from another device is device A> device B, and the command from the other device is invalid. Also, the data decoded by the decoder (1) 306 is
1. The data decoded by the decoder (2) 307 is
2 and the number of the transmitter in the data (device A, device B)
Is included.

【0037】まず、ステップ401でD1が機器Aから
送られたものであるかどうか判別し、機器Aの場合はス
テップ402に進みD1を有効とする。機器Aで無い場
合はステップ403に進みD2が機器Aから送られたも
のであるか判別し、機器Aの場合はステップ404に進
みD2を有効とする。機器Aでない場合はステップ40
5に進みD1が機器Bから送られたものであるか判別
し、機器Bの場合はステップ402に進みD1を有効と
する。機器Bで無い場合は、ステップ406に進みD2
が機器Bから送られたものであるか判別し、機器Bの場
合はステップ404に進みD2を有効とする。機器Bで
無い場合はステップ407に進み、D1,D2共無効と
する。
First, in step 401, it is determined whether or not D1 is sent from the device A. If the device A is the device A, the process proceeds to step 402 to make D1 valid. If it is not the device A, the process proceeds to step 403, and it is determined whether D2 is transmitted from the device A. If the device A is the device A, the process proceeds to step 404 to make D2 valid. If it is not device A, step 40
Proceeding to 5, it is determined whether or not D1 is sent from the device B. In the case of the device B, the process proceeds to step 402 to make D1 valid. If the device is not the device B, the process proceeds to step 406 and D2
Is determined to have been sent from the device B, and in the case of the device B, the process proceeds to step 404 to make D2 valid. If it is not the device B, the process proceeds to step 407, and both D1 and D2 are invalidated.

【0038】この実施形態の場合は2個の受光部でそれ
ぞれ異なった機器から命令を受光しても、パソコンのソ
フトウェアのみで機器に優先順位をつけることが可能で
ある。
In the case of this embodiment, even if the two light receiving units receive commands from different devices, it is possible to prioritize the devices only by the software of the personal computer.

【0039】尚、本実施形態においても、通常IrDA
の送信信号は図7のようなフレームパターンが何回か繰
り返される。
In this embodiment, the normal IrDA
Is repeated several times in a frame pattern as shown in FIG.

【0040】ところで、図5のフローチャートに示すよ
うに、D1NEWを受光部301からの最新コマンドデ
ータとし、D1OLDをその1つ前の受光部301から
のコマンドデータとし、同様にD2NEWを受光部30
2からの最新コマンドデータとし、D2OLDをその1
つ前の受光部302からのコマンドデータとし、図5の
フローチャートと同様の処理を行うことによって、コマ
ンドデータの信頼性の判断を行うことができる。
As shown in the flowchart of FIG. 5, D1NEW is the latest command data from the light receiving unit 301, D1OLD is the command data from the immediately preceding light receiving unit 301, and D2NEW is the same as the light receiving unit 30.
2 as the latest command data, and D2OLD as 1
The reliability of the command data can be determined by performing the same processing as in the flowchart of FIG. 5 using the command data from the immediately preceding light receiving unit 302 as the command data.

【0041】これによって、データコマンドの信頼性判
断をマイコンのソフトウェアで行うことができる。また
リモコン受信部の数は2個に限定されず3個以上でもよ
い。
Thus, the reliability of the data command can be determined by the microcomputer software. The number of remote control receiving units is not limited to two, but may be three or more.

【0042】このように、複数のリモコン受信部とマイ
コンのみという簡単な構成なので、スペース効率が良
く、コストも安価である。又、ほぼ同時に複数個のリモ
コン受信処理を個別の行えるので、送信に対する応答が
早く、反射等による時間的なずれも吸収でき、ノイズに
強く、信頼性の高い受信装置を提供することができる。
更に、ほとんどの処理をマイコンのソフトウェアで行っ
ているので、プログラムを変更するだけで様々な受信の
特徴を出すことができ汎用性が高い。
As described above, the simple configuration including only a plurality of remote control receiving units and a microcomputer has good space efficiency and low cost. In addition, since a plurality of remote control reception processes can be individually performed almost at the same time, a response to transmission is quick, a time lag due to reflection or the like can be absorbed, and a highly reliable receiving device that is resistant to noise can be provided.
Further, since most of the processing is performed by the software of the microcomputer, various reception characteristics can be obtained only by changing the program, and the versatility is high.

【0043】[0043]

【発明の効果】以上説明したように、本発明によれば、
複数の受信手段で受信した各リモコン信号を独立に並列
に処理することができるので、各受信手段からのノイズ
を含めた異なる信号を素早く確実に分析することができ
る。
As described above, according to the present invention,
Since each remote control signal received by a plurality of receiving means can be independently processed in parallel, different signals including noise from each receiving means can be analyzed quickly and reliably.

【0044】また本発明によれば、複数のデコード手段
と処理手段とが1つのマイコンに内蔵されているので、
リモコン受信後の応答がより早く、スペース効率が良
く、低コストで実現することができる。
According to the present invention, since a plurality of decoding means and processing means are built in one microcomputer,
The response after receiving the remote control is faster, the space efficiency is good, and it can be realized at low cost.

【0045】また、ほぼ同時に受信した各リモコン信号
の中で最も優先順位の高い信号を有効とするので、各受
信手段で異なるリモコン信号を受信した場合でも、最も
重要な信号に応答することができる。
Since the signal with the highest priority among the remote control signals received at substantially the same time is made effective, the most important signal can be responded even when each receiving means receives a different remote control signal. .

【0046】また、ほぼ同時に受信した各リモコン信号
の中で最も信頼性の高い信号を有効とするので、各受信
手段で異なるリモコン信号を受信した場合でも、最も信
頼性の高い信号に応答することができる。
Also, since the most reliable signal among the remote control signals received at substantially the same time is made valid, it is possible to respond to the most reliable signal even when each receiving means receives a different remote control signal. Can be.

【0047】また、処理手段はほぼ同時に受信した各リ
モコン信号の中で最も優先順位の高い信号を有効とする
ようにしたため、各受信手段で異なるリモコン信号を受
信した場合でも、最も大切な信号に応答することができ
る。
Further, since the processing means validates the signal of the highest priority among the remote control signals received almost simultaneously, even if a different remote control signal is received by each receiving means, the signal becomes the most important signal. Can respond.

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

【図1】本発明の第1、第2の実施の形態によるリモコ
ン受信装置のブロック図である。
FIG. 1 is a block diagram of a remote control receiver according to first and second embodiments of the present invention.

【図2】リモコン信号の一例を示すタイミングチャート
である。
FIG. 2 is a timing chart showing an example of a remote control signal.

【図3】キャプチャレジスタの動作を示すタイミングチ
ャートである。
FIG. 3 is a timing chart showing the operation of a capture register.

【図4】本発明の第1の実施の形態の動作を示すフロー
チャートである。
FIG. 4 is a flowchart showing an operation of the first exemplary embodiment of the present invention.

【図5】本発明の第2の実施の形態の動作を示すフロー
チャートである。
FIG. 5 is a flowchart showing the operation of the second exemplary embodiment of the present invention.

【図6】本発明の第3の実施形態の構成を示すブロック
図である。
FIG. 6 is a block diagram illustrating a configuration of a third exemplary embodiment of the present invention.

【図7】本発明の第3の実施形態のIrDAのデータフ
ォーマットを示す図である。
FIG. 7 is a diagram illustrating an IrDA data format according to a third embodiment of the present invention.

【図8】本発明の第3の実施形態による信号処理動作を
示すフローチャートである。
FIG. 8 is a flowchart illustrating a signal processing operation according to a third embodiment of the present invention.

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

1 受光部 2 受光部 3 マイコン 4 キャプチャ制御部 5 キャプチャレジスタ 6 キャプチャレジスタ 7 フリーランニングカウンタ 8 内部バス 9 ランダムアクセスメモリ(RAM) 10 リードオンリーメモリ(ROM) 301 IrDA回路 302 受光部 303 受光部(1) 304 受光部(2) 305 エンコーダ 306 デコーダ(1)(デコード手段) 307 デコーダ(2)(デコード手段) 308 データバス REFERENCE SIGNS LIST 1 light receiving unit 2 light receiving unit 3 microcomputer 4 capture control unit 5 capture register 6 capture register 7 free running counter 8 internal bus 9 random access memory (RAM) 10 read-only memory (ROM) 301 IrDA circuit 302 light receiving unit 303 light receiving unit (1 ) 304 light receiving section (2) 305 encoder 306 decoder (1) (decoding means) 307 decoder (2) (decoding means) 308 data bus

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 リモコン信号を受信する複数の受信手段
と、 上記複数の受信手段がそれぞれ受信した各リモコン信号
をデコードする複数のデコード手段と、 上記複数のデコード手段によりデコードされた各リモコ
ン信号の処理手段とを備えたことを特徴とするリモコン
受信装置。
A plurality of receiving means for receiving a remote control signal; a plurality of decoding means for decoding each remote control signal received by the plurality of receiving means; and a plurality of remote control signals decoded by the plurality of decoding means. A remote control receiving device comprising a processing unit.
【請求項2】 上記複数のデコード手段と上記処理手段
とが1つのマイクロコンピュータに内蔵されていること
を特徴とする請求項1記載のリモコン受信装置。
2. The remote control receiving device according to claim 1, wherein said plurality of decoding means and said processing means are built in one microcomputer.
【請求項3】 上記処理手段は、ほぼ同時に受信した各
リモコン信号の中で最も優先順位の高い信号を有効とす
ることを特徴とする請求項1記載のリモコン受信装置。
3. The remote control receiving apparatus according to claim 1, wherein said processing means validates a signal having the highest priority among the remote control signals received almost simultaneously.
【請求項4】 上記処理手段は、ほぼ同時に受信した各
リモコン信号の中で最も信頼性の高い信号を有効とする
ことを特徴とする請求項1記載のリモコン受信装置。
4. The remote control receiving apparatus according to claim 1, wherein said processing means validates the most reliable signal among the remote control signals received almost simultaneously.
【請求項5】 複数の受信手段によりリモコン信号を受
信する受信処理と、上記受信した複数のリモコン信号を
それぞれ別個にデコードするデコード処理と、 上記デコードされた各リモコン信号を処理する信号処理
とを実行するためのプログラムを記憶したコンピュータ
読み取り可能な記憶媒体。
5. A receiving process for receiving a remote control signal by a plurality of receiving means, a decoding process for separately decoding the received plurality of remote control signals, and a signal process for processing each decoded remote control signal. A computer-readable storage medium storing a program to be executed.
【請求項6】 上記信号処理は、ほぼ同時に受信した各
リモコン信号の中で最も優先順位の高い信号を有効とす
ることを特徴とする請求項5記載のコンピュータ読み取
り可能な記憶媒体。
6. The computer-readable storage medium according to claim 5, wherein said signal processing validates a signal having the highest priority among remote control signals received substantially simultaneously.
【請求項7】 上記信号処理は、ほぼ同時に受信した各
リモコン信号の中で最も信頼性の高い信号を有効とする
ことを特徴とする請求項5記載のコンピュータ読み取り
可能な記憶媒体。
7. The computer-readable storage medium according to claim 5, wherein the signal processing validates the most reliable signal among the remote control signals received almost simultaneously.
【請求項8】 複数の機器から送信された複数のリモコ
ン信号を受信する複数の受信手段と、該複数の受信手段
により受信した各リモコン信号をデコードする複数のデ
コード手段と、前記複数のデコード手段によりデコード
された各信号にもとづいて制御する機器を選択する処理
手段とを備えたことを特徴とする電子機器。
8. A plurality of receiving means for receiving a plurality of remote control signals transmitted from a plurality of devices, a plurality of decoding means for decoding each remote control signal received by the plurality of receiving means, and the plurality of decoding means Processing means for selecting a device to be controlled based on each signal decoded by the electronic device.
【請求項9】 前記デコード手段と前記処理手段とが同
一のチップ上に構成されていることを特徴とする請求項
8に記載の電子機器。
9. The electronic apparatus according to claim 8, wherein the decoding unit and the processing unit are configured on a same chip.
【請求項10】 前記処理手段は、ほば同時に受信した
各リモコン信号の中で最も優先順位の高い信号を有効と
することを特徴とする請求項8又は9に記載の電子機
器。
10. The electronic device according to claim 8, wherein the processing unit validates a signal having the highest priority among the remote control signals received almost simultaneously.
【請求項11】 前記処理手段は、ほぼ同時に受信した
各リモコン信号の中で最も信頼性の高い信号を有効とす
ることを特徴とする請求項8又は9に記載の電子機器。
11. The electronic apparatus according to claim 8, wherein the processing unit validates the most reliable signal among the remote control signals received almost simultaneously.
【請求項12】 複数の受信手段により受信した複数の
機器からの複数のリモコン信号を複数のデコード手段に
よりデコードし、前記複数のデコード手段によりデコー
ドされた各信号にもとづいて制御する機器を選択するこ
とを特徴とする電子機器の信号処理方法。
12. A plurality of remote control signals from a plurality of devices received by a plurality of receiving units are decoded by a plurality of decoding units, and a device to be controlled is selected based on each signal decoded by the plurality of decoding units. A signal processing method for an electronic device, comprising:
【請求項13】 ほぼ同時に受信した各リモコン信号の
中で最も優先順位の高い信号を有効とすることを特徴と
する請求項12に記載の電子機器の信号処理方法。
13. The signal processing method for an electronic device according to claim 12, wherein a signal having the highest priority among the remote control signals received substantially simultaneously is made valid.
【請求項14】 ほぼ同時に受信した各リモコン信号の
中で最も信頼性の高い信号を有効とすることを特徴とす
る請求項12に記載の電子機器の信号処理方法。
14. The signal processing method for an electronic device according to claim 12, wherein the most reliable signal among the remote control signals received substantially simultaneously is made effective.
【請求項15】 電子機器によって、複数の受信手段に
より受信した複数の機器からの複数のリモコン信号を複
数のデコード手段によりデコードし、前記複数のデコー
ド手段によりデコードされた各信号にもとづいて制御す
る機器を選択することを実現させるためのプログラムを
格納したことを特徴とするコンピュータ読み取り可能な
記憶媒体。
15. An electronic device, wherein a plurality of remote control signals from a plurality of devices received by a plurality of receiving units are decoded by a plurality of decoding units, and control is performed based on the signals decoded by the plurality of decoding units. A computer-readable storage medium storing a program for realizing selection of a device.
【請求項16】 ほぼ同時に受信した各リモコン信号の
中で最も優先順位の高い信号を有効とすることを実現さ
せるためのプログラムを格納したことを特徴とする請求
項15に記載のコンピュータ読み取り可能な記憶媒体。
16. The computer-readable program according to claim 15, wherein a program for realizing a signal having the highest priority among the remote control signals received substantially simultaneously is stored. Storage medium.
【請求項17】 ほぼ同時に受信した各リモコン信号の
中で最も信頼性の高い信号を有効とすることを実現させ
るためのプログラムを格納したことを特徴とする請求項
15に記載のコンピュータ読み取り可能な記憶媒体。
17. The computer-readable program according to claim 15, wherein a program for realizing the most reliable signal among the remote control signals received substantially simultaneously is stored. Storage medium.
【請求項18】 リモコン信号を受信する複数の受信部
と、 前記複数の受信部よりそれぞれ出力された受信出力信号
をデコードする複数のデコーダと、 前記複数のデコーダよりそれぞれ出力されたデータを比
較して信頼性を判断するデータ処理部とを有することを
特徴とするリモコン通信システム。
18. A plurality of receiving sections for receiving a remote control signal, a plurality of decoders for decoding received output signals respectively output from the plurality of receiving sections, and data respectively output from the plurality of decoders. And a data processing unit for determining reliability by remote control.
【請求項19】 前記データ処理部は、前記複数のデコ
ーダそれぞれについて、最新のデータと前記最新のデー
タよりも1つ前のデータとを比較して一致しているか否
かを判断するとともに、これら各デコーダごとのデータ
の一致判別結果を互いに比較してデータの信頼性を判別
することを特徴とする請求項18に記載のリモコン通信
システム。
19. The data processing unit, for each of the plurality of decoders, compares the latest data with the data immediately before the latest data to determine whether they match, and 19. The remote control communication system according to claim 18, wherein data reliability determination results are determined by comparing data match determination results for each decoder.
【請求項20】 上記複数のデコーダと上記信号処理部
とが1つのマイクロコンピュータに内蔵されていること
を特徴とする請求項18に記載のリモコン通信システ
ム。
20. The remote control communication system according to claim 18, wherein said plurality of decoders and said signal processing section are built in one microcomputer.
JP10352618A 1997-12-12 1998-12-11 Remote control receiver, electronic device, signal processing method, and storage medium by computer Pending JP2000209676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10352618A JP2000209676A (en) 1997-12-12 1998-12-11 Remote control receiver, electronic device, signal processing method, and storage medium by computer

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP34275997 1997-12-12
JP32369298 1998-11-13
JP9-342759 1998-11-13
JP10-323692 1998-11-13
JP10352618A JP2000209676A (en) 1997-12-12 1998-12-11 Remote control receiver, electronic device, signal processing method, and storage medium by computer

Publications (1)

Publication Number Publication Date
JP2000209676A true JP2000209676A (en) 2000-07-28

Family

ID=27339994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10352618A Pending JP2000209676A (en) 1997-12-12 1998-12-11 Remote control receiver, electronic device, signal processing method, and storage medium by computer

Country Status (1)

Country Link
JP (1) JP2000209676A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011160190A (en) * 2010-02-01 2011-08-18 Clarion Co Ltd Vehicle-mounted monitor system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011160190A (en) * 2010-02-01 2011-08-18 Clarion Co Ltd Vehicle-mounted monitor system

Similar Documents

Publication Publication Date Title
US20070111720A1 (en) Remote control system, remote control apparatus, remote control method, program for implementing the method, and electronic appartus
US5838896A (en) Central processing unit for preventing program malfunction
US6546065B1 (en) Frame synchronous circuit
US20020105433A1 (en) Remote-control-signal receiving device
JP2000209676A (en) Remote control receiver, electronic device, signal processing method, and storage medium by computer
EP0111251B1 (en) Data transmission system
JP2863371B2 (en) Remote control signal receiving circuit
EP0102697B1 (en) A timing control system in a data processor
JP2000288220A (en) Data confirming method between transmission and reception of signal within ball shooting game machine
JP3393434B2 (en) Programmable controller
US7328329B2 (en) Controlling processing of data stream elements using a set of specific function units
JP2003263404A (en) Serial communication system and microcomputer using the same
US6757818B1 (en) Programmable microcontroller for controlling multichannel sequences of states to be processed in each processing period
JP2723822B2 (en) Diagnostic device
JP3066094U (en) Remote key continuous press judgment device for electronic equipment
JP3223749B2 (en) Communication message processing method of measurement equipment
JP2982811B2 (en) Access control device
JP3068072U (en) Electrical equipment
KR0182944B1 (en) Remocon data receiving apparatus
JP2000353098A (en) Interruption control circuit
JPH06351069A (en) Remote control system
JPH04209058A (en) Interruption processor
JPH01114198A (en) Wireless remote controller
JP2003052086A (en) Remote control receiver
JPH0418643A (en) Tracing device activating system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051003

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051018

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051216

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060207