【発明の詳細な説明】発明の分野
本発明は、制御装置に赤外線信号を介して別の装置を遠隔的に制御させる
ことができる制御装置の自動プログラミングに関する。発明の背景
テレビジョン、ビデオカセットレコーダ、及び他の家庭用装置がますます
一般的になると、遠隔的に制御できる数も増大している。これらの装置の多くは
、「遠隔制御」として(装置自体に接続される受像機(レシーバ)との組合せで
)赤外線信号エミッタを用いる。一般的に、装置の製造業者は、装置にそのよう
な遠隔制御を含ませている。当然、製造業者の遠隔制御は、その関連装置を制御
することができるように構成されている。しかしながら、異なる製造御者が異な
る赤外線コードセットを用いるので、一つの製造業者の遠隔制御は、別の製造御
者の装置を一般的に制御することができない。ユーザの家庭における遠隔的に制
御可能な装置の数が増大すると、遠隔制御の数も増大する。多くのユーザは、こ
れが不愉快であり時々混乱を招くことを見出す。
この問題に対して提供された一つの解決策は、「汎用遠隔(universal rem
ote)」である。汎用遠隔は、複数の赤外線コードセットを用いることによって複
数の装置を遠隔的に制御することができるように構成された装置である。一つの
一般的な例は、テレビジョン並びにビデオカセットレコーダを遠隔的に制御する
ことができる遠隔制御である。汎用遠隔は、プログラマブルであることによって
この機能を達成する。ユーザは、遠隔制御が装置を制御することにおいてどの赤
外線コードセットを用いるのかを選択するために種々のナンバーコードを入力す
ることができる。
汎用遠隔をプログラムすることは、しばしば混乱を招き、かつ多くのユー
ザは、これが難しい作業であることを見出す。正確な赤外線コードセットを決定
する簡単でかつより自動的な方法がこの技術分野における改良である。発明の目的及び概要
本発明の実施例は、複数の赤外線(IR)コードセットから、ビデオカセ
ットレコーダ(VCR)のようなビデオ装置とのIR信号通信の次の制御に対す
るIRコードセットの、選択のために制御装置をプログラムする方法である。ビ
デオ装置がVCRである場合には、各IRコードセットは、異なる対応VCRと
通信するためである。この目的のために、各々のそのようなVCRは、放送ビデ
オ信号の実際のチャネルに同調された場合に実際のチャネルから導出されたビデ
オ信号をそのビデオ出力に供給するチューナを有する。所定の一連の信号は、供
給IRコードセットの一つから選択された、選択IRコードセットを用いてVC
Rに供給される。VCRのビデオ出力は、所定の信号条件に対して監視される。
次いで、IRコードセットは、VCRとの次の信号通信に対して選択される。選
択されるIRコードセットは、所定の信号条件を結果としてもたらすものである
。この構成により、実質的にユーザ介入なしで自動的に遠隔コントローラと多数
のVCRsのいずれかとの間の通信に対する適格なIRコードセットを自動的に
決定することが可能である。図面の簡単な説明
図1は、本発明の実施例によるシステムのブロック図である;
図2は、本発明の実施例による方法を示しているフロー図である;
図3は、本発明の実施例によって採用される論理的解析を示している真理
値表である。実施例
本発明は、例えば、VCRに記憶される複数のIRコードセットから、ケ
ーブルボックスのような、特定のビデオ装置を遠隔的に制御するために適する一
つのIRコードセットを自動的に選択するシステムを記述する。システムは、選
択された試験IRコードセットを用いて特定のビデオ装置に一連のコマンドを送
りかつビデオ装置から入力されるビデオ信号を検査することによってそれらのコ
マンドの結果を監視する。これらの結果は、試験IRコードセットがうまくビ
デオ装置を制御するかどうかを決定するために分析される。試験IRコードセッ
トがビデオ装置をうまく制御しないならば、システムは、ビデオ装置をうまく制
御するIRコードセットが見出されるまで試験IRコードセットとして記憶され
たIRコードセットの全てを一巡する。
図1は、チューナ10が外部ソースからテレビジョン信号を受信しかつチ
ューナ10が設定されるチャネルにテレビジョン信号から導出されたビデオ信号
を出力する本発明の一実施例を示す。チューナ10は、入力装置12を介してユ
ーザによって手動でまたはレシーバ(受像機)14を介して遠隔的に設定するこ
とができる。ビデオ信号は、テレビジョンディスプレイ16及びXDSデコーダ
18に進む。
XDS信号は、ビデオ信号の垂直帰線消去期間(VBI)部分の放送ソー
スによって送信され、かつそれら(XDS信号)が含まれるビデオ信号について
の情報を含んでいる、ディジタル情報を含む。XDSデコーダ18は、もし存在
するならば、XDS信号が分離されるようにチューナ10からビデオ信号をフィ
ルタする。XDS信号を分析することによって、XDSデコーダ18は、チュー
ナ10が設定されるチャネルに対するチャネル番号又は他のチャネル識別子のよ
うなビデオ信号についての種々の情報を導出することができる。代替実施例では
、XDS信号以外のデータ信号に対してVBIの異なる部分を見る(検査する)
VBIデコーダが用いられる。いずれの場合も、VBIデコーダは、チューナ1
0が設定されるチャネルに対するチャネル番号又はチャネル識別子をそれから導
出することができるビデオ信号の部分をデコードするために設定される。コント
ローラ20がチューナ10が特定の時間に同調されるチャネルを識別する情報を
受信することができるならば、VBIデコーダを用いない他の実施例を採用しう
る。
XDSデコーダ18は、コントローラ20にXDS信号情報を送る。コン
トローラ20は、XDS信号情報、比較結果、又は他の情報を記憶することがで
きるメモリ22に接続される。また、コントローラ20は、先に記憶されたIR
コードセットをそれからアクセスすることができる記憶装置24にも接続される
。記憶装置24は、あらゆるデータ記憶装置でありうるが、ROM又は他の不
揮発性メモリであるのが好ましい。記憶装置24からのIRコードセットを用い
て、コントローラは、エミッタ26にチューナ10を遠隔的に制御するために受
像機14に適当なIR信号を送らせることができる。以下に説明する処理を用い
て、コントローラ20は、チューナ10に多数のコマンドを送りかつメモリ22
に結果を記憶する。メモリ22に種々のXDS信号及び比較結果を記憶した後、
コントローラは、現行IRコードセットがチューナ10を遠隔的に制御するため
の正確なセットであるIRコードセットであるかどうかを決定するためにこの情
報を分析する。これは、コントローラにチューナ10を遠隔的に制御するための
正確なIRコードセットを自動的に選択させる。
上述しかつ図1に示すような実施例では、システムは、以下に説明しかつ
図2に示すもののような一連の操作(オペレーション)を用いてビデオ装置の遠
隔制御に対する正確なIRコードセットを決定することができる。
まず、ブロック100では、ユーザは、入力装置12を介して所定のチャ
ネルをチューナ10に手動で入力する。このチャネルは、「Base Channel(基本
チャネル)」である。Base Channelは、VBIにXDS信号を含むもののような
、コントローラによって識別可能であるチャネルでなければならない。ユーザの
エリアにおける公共放送網(PBS)に対するチャネルは、PBS局が全国中で
VBIのXDS信号を現在放送しているのでBase Channelに対する好ましい選択
である。
ブロック110では、次いで、コントローラは、記憶装置24から試験す
るために第1の試験IRコードセットを検索する。XDSデコーダ18を用いて
、ブロック105では、次いで、コントローラ20は、Base Channelである、現
行ビデオ信号のXDS信号情報を決定し、かつメモリ22に情報を記憶する。こ
れは、「Base Signal(基本信号)」である。次いで、コントローラは、ブロッ
ク115で、チューナ10のチャネルをある所定のチャネルに設定するために現
行試験IRコードセットに適当であるIR信号を受像機14にエミッタ26を介
して送る。この所定のチャネルは、「Test Channel(試験チャネル)」である。
また、ブロック115では、XDSデコーダ18を用いて、コントロー
ラ20は、現行チャネルのXDS信号情報を決定しかつこれをメモリ22に記憶
する。この結果は、「Test 1(試験1)」である。コントローラ20は、Test
1をBase Signalと比較する。もしそれらが異なるならば、即ちチューナ10の
チャネルがうまく変更されたことを意味するならば、現行IRコードセットは、
正しいセットである。以下に詳述するようにTest 1とBase Signalが同じならば
、分析を続けなければならない。Test 1をBase Signalと比較した結果は、メモ
リ22に記憶される。
コントローラ20は、ブロック120で、次いで、チューナ10のチャネ
ルを増分するために現行IRコードセットに適するIR信号を受像機14にエミ
ッタ26を介して送る。XDSデコーダ18を用いて、コントローラ20は、現
行チャネルのXDS信号情報を決定しかつメモリ22に情報を記憶する。この結
果は、「Test 2(試験2)」である。コントローラ20は、次いで、Test 2を
Base Signalと比較しかつこの比較の結果をメモリ22に記憶する。この結果は
、「Result 2」である。Result 1と同様にかつ以下に説明するように、Result
2も現行試験IRコードセットが正しいコードセットであるかどうかを決定す
るものではない。
次に、ブロック125では、コントローラ20は、次いで、Test Channel
にチューナ10のチャネルを再び設定するために現行IRコードセットに適する
IR信号を受像機14にエミッタ26を介して送る。XDSデコーダ18を用い
て、コントローラ20は、現行チャネルのXDS信号情報を決定しかつこれをメ
モリ22に記憶する。この結果は、「Test 3(試験3)」である。コントロー
ラ20は、次いで、Test 3をBase Signalと比較しかつこの比較の結果をメモリ
22に記憶する。この結果は、「Result 3」である。ここで、Result 1、Resu
lt 2及びResult 3の組合せは、以下に説明するように、現行試験IRコードセ
ットが正しいコードセットであるかどうかを決定するものである。
ブロック130で、コントローラは、Test1とBase Signal(Result 1)
、Test2とBase Signal(Result 2)、Test3とBase Signal(Result 3)の間
の、3つの比較の結果を分析する。以下に説明しかつ図3に示すように、Test1
がBase Signalと異なるならば、現行IRコードセットは、正しいセットであり
かつ分析は、完了する。この場合には、ブロック135からのYes(はい)経
路が取られかつ処理がブロック140で完了する。Test1がBase Signalと同じ
ならば、分析は、続けなければならない。Test2がBase Signalと異なりかつTes
t3がBase Signalと同じならば、現行IRコードセットは、正しいセットであり
かつ処理は、完了する。再び、この場合には、ブロック135からのYes(は
い)経路が取られかつ処理がブロック140で完了する。結果の他の組合せは、
現行IRコードセットが正しいIRコードセットではないということを示す。
この分析を完了した後、もし現行IRコードセットが正しくないならば、
ブロック135からのNo(いいえ)経路が取られる。しかし、まず、コントロ
ーラ20は、必要ならばチューナ10をBase Channelにリセットする。チューナ
10がうまく増分されたがIRコードセットが正しくなかったならば(図3のCA
SE3又はCASE6)、チューナ10は、Base Channel以外のあるチャネルに設定さ
れる。チューナ10をBase Channelに設定するためにコントローラ20は、チュ
ーナ10が設定されるチャネルを減少するIR信号を受像機14にエミッタ26
を介して送る。これは、チューナ10をBase Channelに戻す。
次いで、ブロック135からのNo(いいえ)経路が取られかつコントロ
ーラ20がブロック110に戻りかつ記憶装置24から次のIRコードセットを
選択する。コントローラ20は、次いで、今は再度Base Channelである、現行チ
ャネルのXDSを決定すべくXDSデコーダ18を用いることによって再び処理
を開始し、かつBase Signalとしてこれをメモリ22に記憶する。処理は、以前
のようにその点から継続し、新しいIRコードセットが正しいIRコードセット
であるかどうかを決定すべくTest1、Test2、Test3、Result1、Result2、及
びResult3を記憶する。
図3は、本発明で用いられる論理的分析を表わしている真理値表を示す。
現行IRコードセットが正しいIRコードセットであるかどうかを決定するため
に、全ての3つのコマンド(SET CHANNEL-CHANNEL UP−SET CHANNEL)が必要で
ある。多数の未知の変数が存在するので一つのコマンドでは不十分である。特に
、あるテレビジョンチューナは、同じチャネルアップコマンドに正確に応答する
が、同じセットチャネルコマンドに応答しない。ユーザがチューナ10
のチャネルをBase Channelに設定する場合、Base Channelに対するローカルチャ
ネル番号は、所定のTest Channelと同じでありうる。もしチューナ10のチャネ
ルをTest Channelに設定すべく単一のコマンドの結果に依存したならば、正しく
ないIRコードセットが選択されうる。ユーザによるチャネル入力、Base Chann
elは、Test Channelと同じであり、チューナ10のチャネルを設定すべきコマン
ドがうまくいったという誤解を与えうる。
更に、現行IRコードセットが正しくないIRコードセットであっても、
この正しくないIRコードセットとビデオ装置の正しいIRコードセットとの間
に重複が存在しうる。これは、他のコードが対応しないにもかかわらず、あるI
Rコードセットが「チャネルアップ(channel up)」(一つだけチューナが設定
されるチャネルを増分するコマンド)に対するそしてまた「チャネルダウン(cha
nnel down)」に対する信号を表わすために同じIRコードを用いるからである。
その結果、チューナに「チャネルアップ」信号を送ることは、終結(決定)的で
はない。IRコードセットは、VCRに対して正しいIRコードセットでないか
もしれないが、「チャネルアップ」信号は、同じでありうるしかつチャネルは、
増分される。「セットチャネル」コマンド及び「チャネルアップ」コマンドの両
方のコマンドを用いることによって、固有でかつ確定的な結果を達成することが
できる。
完全な論理的分析では、図3に示すように、6つの可能な状況が存在する
。CASE 1は、Base ChannelとTest Channelが同じでありかつIRコードセット
が正しいIRコードセットである場合である。CASE 2は、Base ChannelとTest
Channelが同じであるが、IRコードセットがビデオ装置に対して正しくなくか
ついずれのコマンドも機能的でない場合である。CASE 3は、Base ChannelとTes
t Channelが同じであり、IRコードセットが正しくないが、「チャネルアップ
」コマンドがまだ機能的である場合である。CASE 4は、Base ChannelとTest Ch
annelが異なり、TRコードセットが正しいIRコードセットである場合である
。CASE 5は、Base ChannelとTest Channelが異なり、IRコードセットがビデ
オ装置に対して正しくないIRコードセットでありかついずれのコマンドも機能
的でない場合である。CASE 6は、Base ChannelとTest Channelが異なり、I
Rコードセットが正しくないが、「チャネルアップ」コマンドがまだ機能的であ
る場合である。一連のコマンドを用いることによって、IRコードセットがこの
ビデオ装置に対して正しい二つの場合(CASE 1及びCASE 4)を決定することが
できる。
チューナ10をTest Channelに設定するために信号を送りかつチューナ1
0のチャネルが変わらなかったことを決定した後、IRコードセットが正しくな
いのでまたは、IRコードセットが正しくても、Test Channel及びBase Channel
が同じなので、チャネルが変わらなかったかどうかは、分からない。チャネルを
Test Channelに設定するために信号を送った後にチャネルが変わったならば、分
析は、完了する。唯一の可能性は、これが、Base ChannelとTest Channelが異な
りかつIRコードセットが正しい場合の、CASE 4であるということである。こ
こで、5つの可能性、CASE 1、CASE 2、CASE 3、CASE 5及びCASE 6が残っ
ている。「チャネルアップ」信号を送りかつXDS信号情報をBase Signalと比
較した後、チャネルがうまく変更されたならば、CASE 2及びCASE 5が除かれる
。しかしながら、CASE 1、CASE 3及びCASE 6の間に区別がない。最終段階は
、チャネルをTest Channelに再び設定するために信号を送ることである。チュー
ナ10のチャネルがうまくTest Channelに設定されかつチューナ10のチャネル
が先にうまく増分されたならば、即ち、Test 2及びBase Signalが異なりかつTe
st 3及びBase Signalが同じならば、現行IRコードセットは、このビデオ装置
に対して正しいセットである。
これらの比較、Test 1とBase Signal、Test 2とBase Signal、Test 3
とBase Signal(Result 1、Result 2、Result 3としても記憶される)のそれ
ぞれの結果は、CASE 4を除いて必要である。CASE 2とCASE 5では、チューナ
10のチャネルは、IRコードセットが完全にビデオ装置とインコンパチブルな
ので(互換性がないので)、決して変わらない。その結果、Test 1とBase Sign
alとの比較は、それらが同じであるということを表わしかつTest 3とBase Sign
alとの比較は、それらが同じであるということを表わす。CASE 1からCASE 2及
びCASE 5を識別するために、Test 2とBase Signalとの比較は、必要である。C
ASE 1では、Test 2とBase Signalは、異なり、CASE 2及びCASE 5では、Test
2とBase Signalは、同じである。同様に、CASE 1、CASE 3、及びCASE 6は、
最初の二つのtestからのと同じ結果を有する(Test 1及びBase Signalは、同じ
であり、かつTest 2及びBase Signalは、異なる)。CASE 1を識別するために
、最終「セットチャネル」コマンドが必要である。CASE 1では、チャネルは、B
ase Channelにうまく戻され(Test 3は、Base Signalと同じである)、CASE 3
及びCASE 6では、「セットチャネル」コマンドが動作しないので、チャネルは
、変わらない(それゆえに、Test 3は、Base Signalと異なるままである)。こ
れらの比較は、正しいIRコードセットの識別を許容する。
上述した実施例及び処理は、上述した論理的分析が正しいIRコードセッ
トを決定するために用いられる方法のほんの一例である。それらが正しいIRコ
ードセットを分離するためにコマンドの組合せの同じ論理的分析を利用するので
あれば、この実施例における変形が可能である。Description: FIELD OF THE INVENTION The present invention relates to automatic programming of a control device that allows the control device to remotely control another device via an infrared signal. BACKGROUND OF THE INVENTION As televisions, video cassette recorders, and other home appliances become more and more common, the number that can be controlled remotely is also increasing. Many of these devices use an infrared signal emitter (in combination with a receiver connected to the device itself) as a "remote control". Typically, device manufacturers include such remote controls in their devices. Of course, the manufacturer's remote control is configured to be able to control its associated equipment. However, because different manufacturers use different infrared code sets, remote control of one manufacturer cannot generally control equipment of another manufacturer. As the number of remotely controllable devices in a user's home increases, so does the number of remote controls. Many users find this to be unpleasant and sometimes confusing. One solution provided for this problem is "universal remote". A universal remote is a device configured to allow remote control of multiple devices by using multiple infrared code sets. One common example is a remote control that can remotely control a television as well as a video cassette recorder. Universal remotes accomplish this function by being programmable. The user can enter various number codes to select which infrared code set to use in controlling the device by the remote control. Programming a general purpose remote is often confusing, and many users find this a difficult task. A simpler and more automatic way of determining the correct infrared code set is an improvement in the art. Objects and Summary of the Invention Embodiments of the present invention provide for the selection of an IR code set from a plurality of infrared (IR) code sets for subsequent control of IR signal communication with a video device such as a video cassette recorder (VCR). To program the control device for this. If the video device is a VCR, each IR code set is to communicate with a different corresponding VCR. To this end, each such VCR has a tuner that, when tuned to the actual channel of the broadcast video signal, supplies a video signal derived from the actual channel to its video output. A predetermined series of signals is provided to the VCR using a selected set of IR codes, selected from one of the set of supplied IR codes. The VCR video output is monitored for certain signal conditions. The IR code set is then selected for the next signaling communication with the VCR. The IR code set selected will result in a predetermined signal condition. With this arrangement, it is possible to automatically determine an eligible IR code set for communication between the remote controller and any of a number of VCRs automatically with substantially no user intervention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a system according to an embodiment of the present invention; FIG. 2 is a flowchart showing a method according to an embodiment of the present invention; FIG. 5 is a truth table showing the logical analysis employed by the example. The present invention automatically selects one IR code set suitable for remotely controlling a specific video device, such as a cable box, from a plurality of IR code sets stored in a VCR, for example. Describe the system. The system sends a series of commands to a particular video device using the selected test IR code set and monitors the results of those commands by examining the video signal coming from the video device. These results are analyzed to determine if the test IR code set successfully controls the video device. If the test IR code set does not successfully control the video device, the system will cycle through all of the IR code sets stored as test IR code sets until an IR code set that successfully controls the video device is found. FIG. 1 shows an embodiment of the present invention in which tuner 10 receives a television signal from an external source and outputs a video signal derived from the television signal to a channel to which tuner 10 is set. The tuner 10 can be set manually by a user via the input device 12 or remotely via a receiver (receiver) 14. The video signal goes to a television display 16 and an XDS decoder 18. The XDS signal includes digital information transmitted by the broadcast source during the vertical blanking interval (VBI) portion of the video signal and including information about the video signal in which they are included (XDS signal). XDS decoder 18, if present, filters the video signal from tuner 10 so that the XDS signal is separated. By analyzing the XDS signal, the XDS decoder 18 can derive various information about the video signal, such as a channel number or other channel identifier for the channel on which the tuner 10 is set. In an alternative embodiment, a VBI decoder is used that looks at different parts of the VBI for data signals other than the XDS signal. In either case, the VBI decoder is set up to decode the portion of the video signal from which the channel number or channel identifier for the channel to which tuner 10 is set can be derived. Other embodiments that do not use a VBI decoder may be employed if the controller 20 is able to receive information identifying the channel to which the tuner 10 is tuned at a particular time. The XDS decoder 18 sends XDS signal information to the controller 20. The controller 20 is connected to a memory 22 that can store XDS signal information, comparison results, or other information. The controller 20 is also connected to a storage device 24 from which previously stored IR code sets can be accessed. Storage device 24 can be any data storage device, but is preferably ROM or other non-volatile memory. Using the IR code set from storage device 24, the controller can cause emitter 26 to send the appropriate IR signal to receiver 14 to control tuner 10 remotely. Using the process described below, controller 20 sends a number of commands to tuner 10 and stores the results in memory 22. After storing the various XDS signals and the comparison results in memory 22, the controller determines whether the current IR code set is the correct set of IR codes to remotely control tuner 10 or not. Analyze this information. This allows the controller to automatically select the correct set of IR codes for controlling the tuner 10 remotely. In the embodiment described above and shown in FIG. 1, the system uses a series of operations, such as those described below and shown in FIG. 2, to determine the correct IR code set for remote control of the video device. can do. First, in block 100, the user manually inputs a predetermined channel to the tuner 10 via the input device 12. This channel is a “Base Channel”. The Base Channel must be a channel that can be identified by the controller, such as one that contains an XDS signal in the VBI. The channel for the Public Broadcasting Network (PBS) in the user's area is the preferred choice for the Base Channel since PBS stations are currently broadcasting VBI XDS signals throughout the country. At block 110, the controller then retrieves the first set of test IR codes from storage device 24 for testing. Using the XDS decoder 18, at block 105, the controller 20 then determines the XDS signal information of the current video signal, which is the Base Channel, and stores the information in the memory 22. This is “Base Signal”. The controller then sends, at block 115, an IR signal via the emitter 26 to the receiver 14 that is appropriate for the current test IR code set to set the channel of the tuner 10 to a predetermined channel. This predetermined channel is a “Test Channel”. Also, at block 115, using XDS decoder 18, controller 20 determines the XDS signal information for the current channel and stores it in memory 22. The result is "Test 1". The controller 20 compares Test 1 with Base Signal. If they are different, meaning that the channel of tuner 10 has been successfully changed, the current IR code set is the correct set. If Test 1 and Base Signal are the same, as detailed below, the analysis must continue. The result of comparing Test 1 with Base Signal is stored in the memory 22. The controller 20 then sends an IR signal via the emitter 26 to the receiver 14 appropriate for the current IR code set to increment the channel of the tuner 10 at block 120. Using XDS decoder 18, controller 20 determines XDS signal information for the current channel and stores the information in memory 22. The result is "Test 2". Controller 20 then compares Test 2 with the Base Signal and stores the result of this comparison in memory 22. This result is “Result 2”. Like Result 1 and as described below, Result 2 also does not determine whether the current test IR code set is the correct code set. Next, at block 125, the controller 20 then sends an IR signal appropriate for the current IR code set to the receiver 14 via the emitter 26 to reconfigure the channel of the tuner 10 to Test Channel. Using XDS decoder 18, controller 20 determines the XDS signal information for the current channel and stores it in memory 22. The result is “Test 3”. Controller 20 then compares Test 3 with the Base Signal and stores the result of this comparison in memory 22. This result is “Result 3”. Here, the combination of Result 1, Result 2, and Result 3 determines whether the current test IR code set is the correct code set, as described below. At block 130, the controller analyzes the results of the three comparisons between Test1 and Base Signal (Result 1), Test2 and Base Signal (Result 2), and Test3 and Base Signal (Result 3). If Test1 is different from the Base Signal, as described below and shown in FIG. 3, the current IR code set is the correct set and the analysis is complete. In this case, the Yes path from block 135 is taken and the process is completed at block 140. If Test1 is the same as Base Signal, the analysis must continue. If Test2 is different from Base Signal and Test3 is the same as Base Signal, the current IR code set is the correct set and the process is complete. Again, in this case, the Yes path from block 135 is taken and the process is completed at block 140. Other combinations of the results indicate that the current IR code set is not the correct IR code set. After completing this analysis, the No path from block 135 is taken if the current IR code set is incorrect. However, first, the controller 20 resets the tuner 10 to the base channel if necessary. If the tuner 10 was successfully incremented but the IR code set was incorrect (CASE 3 or CASE 6 in FIG. 3), the tuner 10 is set to a certain channel other than the Base Channel. In order to set the tuner 10 to the Base Channel, the controller 20 sends an IR signal to the receiver 14 via the emitter 26 to decrease the channel to which the tuner 10 is set. This returns the tuner 10 to the Base Channel. The No path from block 135 is then taken and controller 20 returns to block 110 and selects the next set of IR codes from storage 24. The controller 20 then restarts the process by using the XDS decoder 18 to determine the XDS of the current channel, now again the Base Channel, and stores this in the memory 22 as the Base Signal. Processing continues from that point as before, storing Test1, Test2, Test3, Result1, Result2, and Result3 to determine whether the new IR code set is the correct IR code set. FIG. 3 shows a truth table representing the logical analysis used in the present invention. All three commands (SET CHANNEL-CHANNEL UP-SET CHANNEL) are needed to determine if the current IR code set is the correct IR code set. One command is not enough because there are many unknown variables. In particular, some television tuners respond accurately to the same channel up command, but do not respond to the same set channel command. When the user sets the channel of the tuner 10 to the Base Channel, the local channel number for the Base Channel may be the same as the predetermined Test Channel. If the channel of tuner 10 relies on the result of a single command to set it to Test Channel, an incorrect IR code set may be selected. The channel input by the user, Base Channel, is the same as Test Channel and can give a misunderstanding that the command to set the channel of tuner 10 was successful. Further, even if the current IR code set is an incorrect IR code set, there may be overlap between the incorrect IR code set and the correct IR code set of the video device. This is because some IR code sets have a "channel up" (a command to increment the channel for which only one tuner is set) and also a "channel down (even though other codes do not correspond). This is because the same IR code is used to represent the signal for "channel down". As a result, sending a "channel up" signal to the tuner is not deterministic. The IR code set may not be the correct IR code set for the VCR, but the "channel up" signal can be the same and the channel is incremented. By using both "set channel" and "channel up" commands, unique and deterministic results can be achieved. In a complete logical analysis, there are six possible situations, as shown in FIG. CASE 1 is a case where the Base Channel and the Test Channel are the same and the IR code set is a correct IR code set. CASE 2 is when the Base Channel and Test Channel are the same, but the IR code set is incorrect for the video device and none of the commands are functional. CASE 3 is where the Base Channel and the Test Channel are the same, the IR code set is incorrect, but the “Channel Up” command is still functional. CASE 4 is a case where the Base Channel and the Test Channel are different and the TR code set is a correct IR code set. CASE 5 is a case where the Base Channel and the Test Channel are different, the IR code set is an incorrect IR code set for the video device, and neither command is functional. CASE 6 is a case where the Base Channel and the Test Channel are different and the IR code set is incorrect, but the “Channel Up” command is still functional. By using a series of commands, it is possible to determine the two cases (CASE 1 and CASE 4) where the IR code set is correct for this video device. After sending a signal to set the tuner 10 to the Test Channel and determining that the channel of the tuner 10 has not changed, the Test Channel and the Base are incorrect because the IR code set is incorrect or even if the IR code set is correct. Since the Channel is the same, it is not known whether the channel has changed. If the channel changes after sending a signal to set the channel to Test Channel, the analysis is complete. The only possibility is that this is CASE 4 where the Base Channel and the Test Channel are different and the IR code set is correct. Here, five possibilities remain: CASE 1, CASE 2, CASE 3, CASE 5 and CASE 6. After sending the "Channel Up" signal and comparing the XDS signal information with the Base Signal, CASE 2 and CASE 5 are removed if the channel is successfully changed. However, there is no distinction between CASE 1, CASE 3 and CASE 6. The final step is to signal to reconfigure the channel to Test Channel. If the channel of tuner 10 has been successfully set to Test Channel and the channel of tuner 10 has been successfully incremented first, ie, if Test 2 and Base Signal are different and Test 3 and Base Signal are the same, the current IR code The set is the correct set for this video device. The results of these comparisons, Test 1 and Base Signal, Test 2 and Base Signal, Test 3 and Base Signal (also stored as Result 1, Result 2, and Result 3) are necessary except for CASE 4. . In CASE 2 and CASE 5, the channel of tuner 10 will never change because the IR code set is completely incompatible with the video device (since it is not compatible). As a result, a comparison between Test 1 and Base Signal indicates that they are the same and a comparison between Test 3 and Base Signal indicates that they are the same. To distinguish CASE 1 from CASE 2 and CASE 5, a comparison between Test 2 and Base Signal is necessary. In CASE 1, Test 2 and Base Signal are different, and in CASE 2 and CASE 5, Test 2 and Base Signal are the same. Similarly, CASE 1, CASE 3, and CASE 6 have the same results as from the first two tests (Test 1 and Base Signal are the same and Test 2 and Base Signal are different). A final "set channel" command is required to identify CASE 1. In CASE 1, the channel is successfully returned to Base Channel (Test 3 is the same as Base Signal), and in CASE 3 and CASE 6, the channel does not change because the "set channel" command does not work ( Therefore, Test 3 remains different from Base Signal). These comparisons allow the identification of the correct IR code set. The embodiments and processes described above are but one example of how the logical analysis described above can be used to determine the correct IR code set. Variations on this embodiment are possible if they utilize the same logical analysis of the command combination to separate the correct IR code set.
─────────────────────────────────────────────────────
フロントページの続き
(81)指定国 EP(AT,BE,CH,DE,
DK,ES,FI,FR,GB,GR,IE,IT,L
U,MC,NL,PT,SE),OA(BF,BJ,CF
,CG,CI,CM,GA,GN,ML,MR,NE,
SN,TD,TG),AP(GH,KE,LS,MW,S
D,SZ,UG,ZW),EA(AM,AZ,BY,KG
,KZ,MD,RU,TJ,TM),AL,AM,AT
,AU,AZ,BA,BB,BG,BR,BY,CA,
CH,CN,CU,CZ,DE,DK,EE,ES,F
I,GB,GE,GH,HU,IL,IS,JP,KE
,KG,KP,KR,KZ,LC,LK,LR,LS,
LT,LU,LV,MD,MG,MK,MN,MW,M
X,NO,NZ,PL,PT,RO,RU,SD,SE
,SG,SI,SK,SL,TJ,TM,TR,TT,
UA,UG,US,UZ,VN,YU,ZW────────────────────────────────────────────────── ───
Continuation of front page
(81) Designated countries EP (AT, BE, CH, DE,
DK, ES, FI, FR, GB, GR, IE, IT, L
U, MC, NL, PT, SE), OA (BF, BJ, CF)
, CG, CI, CM, GA, GN, ML, MR, NE,
SN, TD, TG), AP (GH, KE, LS, MW, S
D, SZ, UG, ZW), EA (AM, AZ, BY, KG)
, KZ, MD, RU, TJ, TM), AL, AM, AT
, AU, AZ, BA, BB, BG, BR, BY, CA,
CH, CN, CU, CZ, DE, DK, EE, ES, F
I, GB, GE, GH, HU, IL, IS, JP, KE
, KG, KP, KR, KZ, LC, LK, LR, LS,
LT, LU, LV, MD, MG, MK, MN, MW, M
X, NO, NZ, PL, PT, RO, RU, SD, SE
, SG, SI, SK, SL, TJ, TM, TR, TT,
UA, UG, US, UZ, VN, YU, ZW