JPH0865777A - Remote control receiver - Google Patents

Remote control receiver

Info

Publication number
JPH0865777A
JPH0865777A JP19571294A JP19571294A JPH0865777A JP H0865777 A JPH0865777 A JP H0865777A JP 19571294 A JP19571294 A JP 19571294A JP 19571294 A JP19571294 A JP 19571294A JP H0865777 A JPH0865777 A JP H0865777A
Authority
JP
Japan
Prior art keywords
pulse
remote control
period
signal
data
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
JP19571294A
Other languages
Japanese (ja)
Inventor
Minoru Haga
稔 芳賀
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.)
Fujitsu General Ltd
Original Assignee
Fujitsu General 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 Fujitsu General Ltd filed Critical Fujitsu General Ltd
Priority to JP19571294A priority Critical patent/JPH0865777A/en
Publication of JPH0865777A publication Critical patent/JPH0865777A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide a remote control receiver for not causing malfunction by eliminating the influence of noise other than normal data from a remote controller. CONSTITUTION: This receiver is provided with means 1 and 2 for converting remote control signals transmitted by PPM serial signals to electric binary signals (pulse signals) and a microcomputer 3 for inputting the pulse signals and outputting control signals corresponding to the remote control signals. Then, the periods of the respective pulses of the pulse signals are counted in the microcomputer, the pulse is judged as the data when the period matches with the period of one data included in the remote control signals and the other pulse signals are processed as the noise or errors. Also, when the period of a detected pulse is shorter than normal signals and judged as the noise, the periods are accumulated and judged as a normal pulse when they become equal to the period of the normal pulse.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、テレビやビデオなどの
家電機器やパソコン等の情報処理機器の操作に用いる、
赤外線等を使ったリモコン信号を受信するリモコン受信
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used to operate home electric appliances such as televisions and videos, and information processing equipment such as personal computers.
The present invention relates to a remote control receiving device that receives a remote control signal using infrared rays or the like.

【0002】[0002]

【従来の技術】赤外線リモコンは、ある波長の赤外線
(950nm)パルスのPPM(パルス位置変調)によ
ってビットデータを区別し、決められたビット数のデー
タを転送している。受信側では、その信号波形の立ち上
がりエッジまたは立ち下がりエッジでパルス期間を判別
し、データ受信を行っている。この場合リモコンからの
正規の信号(リモコン信号)以外のノイズを受信すると
操作不能や誤動作の原因となるので、受光部にリモコン
で使用する赤外線の波長のみを透過する光学フィルタを
使用したり、受光部の向きや開き方を工夫したりしてい
る。しかし、受光部にリモコンで使用する赤外線に近い
波長のノイズパルスが、ほぼリモコンと同方向から入っ
たとき、リモコン信号パルスの波形がくずれてしまい、
正しい操作が出来なくなる。
2. Description of the Related Art An infrared remote controller distinguishes bit data by PPM (pulse position modulation) of an infrared (950 nm) pulse of a certain wavelength, and transfers data of a predetermined number of bits. On the receiving side, the pulse period is discriminated by the rising edge or the falling edge of the signal waveform, and the data is received. In this case, receiving noise other than the regular signal (remote control signal) from the remote control may cause inoperability or malfunction, so use an optical filter that transmits only the infrared wavelength used in the remote control in the light receiving part, or I am devising the direction of the department and how to open it. However, when a noise pulse with a wavelength close to infrared rays used by the remote controller enters the light receiving part from almost the same direction as the remote controller, the waveform of the remote controller signal pulse is distorted,
Correct operation cannot be performed.

【0003】[0003]

【発明が解決しようとする課題】本発明は、上記問題点
に鑑みなされたもので、リモコンからの正規の信号のみ
を受信するようにした、誤動作の起こらないリモコン受
信装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is an object of the present invention to provide a remote control receiving device which receives only a regular signal from a remote control and which does not malfunction. .

【0004】[0004]

【課題を解決するための手段】PPMシリアル信号で伝
送するリモコン信号を受信する装置において、リモコン
信号を電気的な2値信号(パルス信号)に変換する手段
と、そのパルス信号を入力しリモコン信号に応じた制御
信号を出力するマイコンを備え、マイコンで前記パルス
信号の各パルスの期間を計数して、その期間が前記リモ
コン信号に含まれる1つデータの期間と一致するときは
該パルスをそのデータと判定し、それ以外のパルス信号
をノイズ又はエラーとして処理する。また検出パルスの
期間が正規の信号より短くてノイズと判定さらる場合は
その期間を累和して、正規パルスの期間と等しくなった
時これを正規パルスと判定する。
In a device for receiving a remote control signal transmitted by a PPM serial signal, a means for converting the remote control signal into an electric binary signal (pulse signal) and the remote control signal by inputting the pulse signal. Is provided with a microcomputer that outputs a control signal corresponding to the pulse signal, the microcomputer counts the period of each pulse of the pulse signal, and when the period matches the period of one data included in the remote control signal, the pulse is output. It is determined as data, and other pulse signals are processed as noise or error. Further, when the period of the detection pulse is shorter than the regular signal and is judged to be noise, the periods are accumulated, and when it becomes equal to the period of the normal pulse, this is judged to be the normal pulse.

【0005】[0005]

【作用】正規パルスの期間と等しいパルスのみを信号と
して処理するので、リモコン装置の受光部に混入したノ
イズの影響を除外できる。
Since only the pulse equal to the period of the normal pulse is processed as a signal, the influence of noise mixed in the light receiving portion of the remote control device can be excluded.

【0006】[0006]

【実施例】以下、本発明によるリモコン受信装置につい
て、図を用いて詳細に説明する。図1は1実施例のブロ
ック図、図2は主要信号のタイミング図、図3は信号処
理フローチャートである。ここで1は受光部、2はフォ
トアンプ、3はマイコン、S0は赤外線リモコン信号、
S1は赤外線ノイズ、S2はフォトアンプ出力信号、S
3は制御信号である。受光部1に入射する赤外線は、ノ
イズS1がない場合リモコン(図示省略)からの赤外線
リモコン信号S0のみとなる。赤外線リモコン信号S0
は期間dLのリーダ部と期間d1の1信号部と期間d0
の0信号部との組み合わせからなり、リーダ部の期間d
Lが最も長く、0信号部の期間が最も短く、1信号部の
期間が中間の長さを持つPPMコードとなっている。こ
の信号を受光部1で受け電気信号に変え、フォトアンプ
2で増幅整形して2値のパルス信号としてマイコン3の
入力ポートに入力する。マイコン3では信号S2のエッ
ジ割込処理を行い、前記PPMコードをデコードし本体
各部の制御信号S3として出力する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A remote control receiver according to the present invention will be described in detail below with reference to the drawings. 1 is a block diagram of one embodiment, FIG. 2 is a timing diagram of main signals, and FIG. 3 is a signal processing flowchart. Here, 1 is a light receiving part, 2 is a photoamplifier, 3 is a microcomputer, S0 is an infrared remote control signal,
S1 is infrared noise, S2 is photoamplifier output signal, S
Reference numeral 3 is a control signal. The infrared rays incident on the light receiving unit 1 are only the infrared remote control signal S0 from a remote controller (not shown) when there is no noise S1. Infrared remote control signal S0
Is the reader section for the period dL, the 1 signal section for the period d1, and the period d0
And the 0 signal part of the
L is the longest, the period of 0 signal part is the shortest, and the period of 1 signal part is a PPM code having an intermediate length. This signal is received by the light receiving unit 1, converted into an electric signal, amplified and shaped by the photoamplifier 2, and input to the input port of the microcomputer 3 as a binary pulse signal. The microcomputer 3 performs an edge interrupt process on the signal S2, decodes the PPM code, and outputs it as a control signal S3 for each part of the main body.

【0007】受光部1に入射する赤外線としては、信号
S0のみでは無くノイズS1も混入する。この場合のフ
ォトアンプ2の出力S2は図2に示すように一般には信
号S0とノイズS1の論理和となるが、稀には同図のx
で示すように排他論理和となる場合もある。何れにして
もこのままの形でデコードすることは誤動作の原因とな
る。
As the infrared rays incident on the light receiving portion 1, not only the signal S0 but also the noise S1 is mixed. The output S2 of the photoamplifier 2 in this case is generally the logical sum of the signal S0 and the noise S1 as shown in FIG.
In some cases, it may be an exclusive OR as shown in. In any case, decoding as it is causes a malfunction.

【0008】そこで図3に示すような信号処理によりノ
イズの影響を受けないデコードを行こととする。ここで
Cは現パルスエッジ割込期間、cは前パルスエッジ割込
期間、Dは割込期間の種類を示すフラグで0で0データ
ビット、1で1データビット、2でリーダビット、3で
ノイズを表す。Bはビット数カンタ、Bxはリモコン信
号の規定ビット数である。dLxはリーダビット期間の
最大値、dLnはリーダビット期間の最小値、d1xは
1データビット期間の最大値、d1nは1データビット
期間の最小値、d0xは0データビット期間の最大値、
d0nは0データビット期間の最小値とする。Lはデー
タビット受信フラグで0でリーダビット受信期間、1で
データビット受信期間を表す。
Therefore, it is assumed that the signal processing shown in FIG. 3 is used to perform decoding that is not affected by noise. Here, C is the current pulse edge interrupt period, c is the previous pulse edge interrupt period, D is a flag indicating the type of interrupt period, 0 is 0 data bit, 1 is 1 data bit, 2 is leader bit, and 3 is Represents noise. B is a bit number counter, and Bx is a specified bit number of the remote control signal. dLx is the maximum value of the reader bit period, dLn is the minimum value of the reader bit period, d1x is the maximum value of 1 data bit period, d1n is the minimum value of 1 data bit period, d0x is the maximum value of 0 data bit period,
d0n is the minimum value of the 0 data bit period. L is a data bit reception flag, where 0 is a leader bit reception period and 1 is a data bit reception period.

【0009】フォトアンプ2の出力S2のパルスの立ち
上がり或いは立ち下がりエッジで割込みが掛かるとステ
ップP1でリモコン信号処理ルーチンにはいる。パルス
S2のエッジ検出はハード処理、マイコン内蔵機能、ま
たはマイコンソフトで行うことが出来る。ステップP2
で前回ノイズ割込D=3であったかを調べ、ノイズ割込
のときはステップP3で現割込期間Cに前割込期間cを
加算して更新する。ステップP4でリーダビット受信期
間かデータビット受信期間かを調べリーダビット受信期
間のときステップP9、P10で割込期間Cがリーダビ
ット期間の範囲に有るかを調べ、その範囲内のときステ
ップP11でDをリーダビットを示す2とし、ステップ
P19でLをデータ受信期間を示す1とし、ステップP
20でビットカウンタBを0としてメインに戻る。ステ
ップP9で割込期間Cがリーダビット期間の最大より長
い時はエラーとしてメインに戻る。ステップP10で割
込期間Cがリーダビット期間の最小より短い時はノイズ
としてステップP14に飛ぶ。ステップP4でデータビ
ット受信期間のときステップP5〜P8で割込期間Cが
1データ又は0データの期間に入っているかを調べ、入
っていれば正規データとしてビットデータ格納ルーチン
P15を行い、ステップP17でデータビット数カウン
タBをupしステップP18で規定ビット数に満たなか
ったらメインに戻りつぎのデータビット待ちとなり、規
定ビット数になるとステップP21でリーダビット待ち
として新らたなリモコン信号待ちとしてメインに戻る。
Cがデータビットの期間に合致しないときはノイズ割込
とみてステップP14、P16でD=3としcに現割込
期間Cを代入してメインに戻る。なおステップP5で割
込期間Cが1データ期間の最大より長いときは、回復の
見込みが無いのでエラーとしてリーダビット受信からや
り直す。
If an interrupt occurs at the rising or falling edge of the pulse of the output S2 of the photoamplifier 2, the remote control signal processing routine is entered at step P1. The edge detection of the pulse S2 can be performed by hardware processing, a microcomputer built-in function, or microcomputer software. Step P2
Then, it is checked whether or not the previous noise interruption D = 3, and if it is a noise interruption, the previous interruption period c is added to the current interruption period C and updated in step P3. In step P4, it is checked whether it is the leader bit reception period or the data bit reception period. When it is the leader bit reception period, it is checked in steps P9 and P10 whether the interrupt period C is within the range of the leader bit period. If it is within the range, in step P11. D is set to 2 indicating a leader bit, L is set to 1 indicating a data reception period in step P19, and step P is set.
At 20, the bit counter B is set to 0 and the process returns to the main. In step P9, when the interrupt period C is longer than the maximum of the leader bit period, it returns to the main as an error. When the interrupt period C is shorter than the minimum of the leader bit period in step P10, it jumps to step P14 as noise. In the data bit receiving period in step P4, it is checked in steps P5 to P8 whether the interrupt period C is in the period of 1 data or 0 data, and if it is, the bit data storing routine P15 is executed as the regular data, and step P17 is performed. Then, the data bit number counter B is turned up, and if it does not reach the specified number of bits in step P18, the process returns to the main and waits for the next data bit. When the specified number of bits is reached, the main unit waits for a new leader signal in step P21 Return to.
When C does not match the period of the data bit, it is regarded as a noise interruption, D = 3 is set in steps P14 and P16, the current interruption period C is substituted for c, and the process returns to the main. If the interrupt period C is longer than the maximum of one data period in step P5, there is no prospect of recovery, and an error occurs and the process is restarted from the reception of the reader bit.

【0010】以上実施例として赤外線リモコンを想定し
てきたが、本発明は赤外線リモコンに限るものではな
く、例えば電波を使ったリモコンにおいても同様に実施
できることは当然である。
Although the infrared remote controller has been assumed as the embodiment, the present invention is not limited to the infrared remote controller, and it goes without saying that the same can be applied to a remote controller using radio waves.

【0011】[0011]

【発明の効果】テレビやビデオなどの家電機器やパソコ
ン等の情報処理機器の操作に用いる、赤外線等を使った
PPM(パルス位置変調)リモコン信号を受信するリモ
コン受信装置において、正規のリモコン信号のパルス期
間に合致するもののみをデータとして取り込むため、ノ
イズの影響が無く誤動作しないリモコン受信機が得られ
る。またノイズと判定される場合でもその期間を累和し
てデータを修復することで、操作不能の少ないリモコン
受信装置となる。
EFFECTS OF THE INVENTION In a remote control receiving device for receiving a PPM (pulse position modulation) remote control signal using infrared rays or the like, which is used for operating a home electric appliance such as a television or a video or an information processing equipment such as a personal computer, Since only data that matches the pulse period is captured as data, it is possible to obtain a remote control receiver that is not affected by noise and does not malfunction. Further, even when it is determined to be noise, by summing up the periods to restore the data, the remote control receiving device with less inoperability can be obtained.

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

【図1】本発明による1実施例のブロック図である。FIG. 1 is a block diagram of one embodiment according to the present invention.

【図2】本発明による1実施例の主要信号のタイミング
図である。
FIG. 2 is a timing diagram of main signals of an embodiment according to the present invention.

【図3】本発明による1実施例の信号処理フローチャー
トである。
FIG. 3 is a signal processing flowchart of one embodiment according to the present invention.

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

1 受光部 2 フォトアンプ 3 マイコン S0 リモコン信号 S1 ノイズ S2 フォトアンプ出力信号 P1〜P21 各処理ステップ番号 D データフラグ L データ期間フラグ B データビット数カウンタ Bx データ規定ビット数 dLx リーダビット期間の最大値 dLn リーダビット期間の最小値 d1x 1データビット期間の最大値 d1n 1データビット期間の最小値 d0x 0データビット期間の最大値 d0n 0データビット期間の最小値 1 light receiving part 2 photo amplifier 3 microcomputer S0 remote control signal S1 noise S2 photo amplifier output signal P1 to P21 each processing step number D data flag L data period flag B data bit number counter Bx data prescribed bit number dLx maximum value of reader bit period dLn Minimum value of leader bit period d1x 1 Maximum value of data bit period d1n 1 Minimum value of data bit period d0x 0 Maximum value of data bit period d0n 0 Minimum value of data bit period

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 PPM(パルス位置変調)信号で伝送す
るリモコン信号を受信する受信装置において、リモコン
信号を電気的な2値信号(パルス信号)に変換する手段
と、該パルス信号を入力し前記リモコン信号に応じた制
御信号を出力するマイコンを備え、該マイコンで前記パ
ルス信号の各パルスの期間を計数して、該期間が前記リ
モコン信号に含まれる1つのデータの期間と一致すると
きは該パルスをリモコン信号のデータと判定し、それ以
外のパルス信号をノイズ又はエラーとして処理すること
を特徴としたリモコン受信装置。
1. In a receiving device for receiving a remote control signal transmitted by a PPM (pulse position modulation) signal, a means for converting the remote control signal into an electrical binary signal (pulse signal), and inputting the pulse signal, A microcomputer for outputting a control signal according to a remote control signal is provided, the microcomputer counts the period of each pulse of the pulse signal, and when the period matches the period of one data included in the remote control signal, A remote control receiver characterized by determining a pulse as data of a remote control signal and processing other pulse signals as noise or an error.
【請求項2】 リモコン信号に含まれる各データ毎にパ
ルス期間の最大値と最小値を設定し、パルス信号のパル
ス期間が1つのデータのパルス期間の最大値と最小値の
範囲内にあるときリモコン信号のデータと判定すること
を特徴とする請求項1記載のリモコン受信装置。
2. The maximum value and the minimum value of the pulse period are set for each data included in the remote control signal, and the pulse period of the pulse signal is within the range of the maximum value and the minimum value of the pulse period of one data. The remote control receiving device according to claim 1, wherein the remote control signal is determined as data of a remote control signal.
【請求項3】 パルス信号をノイズ又はエラーと判定し
且つ該パルス信号より長い期間のリモコン信号のデータ
を受ける可能性のある段階にあるときは、前記パルス信
号の期間を累和してその値が前記リモコン信号のデータ
の期間と判定されたとき、これをリモコン信号のデータ
とし、データと判定されないときエラーとして処理する
請求項1記載のリモコン受信装置。
3. When the pulse signal is judged to be noise or error and there is a possibility of receiving the data of the remote control signal of a period longer than the pulse signal, the period of the pulse signal is accumulated and the value thereof is accumulated. 2. The remote control receiver according to claim 1, wherein when is determined to be the period of the data of the remote control signal, this is treated as data of the remote control signal, and when it is not determined to be data, it is processed as an error.
JP19571294A 1994-08-19 1994-08-19 Remote control receiver Pending JPH0865777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19571294A JPH0865777A (en) 1994-08-19 1994-08-19 Remote control receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19571294A JPH0865777A (en) 1994-08-19 1994-08-19 Remote control receiver

Publications (1)

Publication Number Publication Date
JPH0865777A true JPH0865777A (en) 1996-03-08

Family

ID=16345728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19571294A Pending JPH0865777A (en) 1994-08-19 1994-08-19 Remote control receiver

Country Status (1)

Country Link
JP (1) JPH0865777A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006276751A (en) * 2005-03-30 2006-10-12 Brother Ind Ltd Remote commander for karaoke, program and karaoke system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006276751A (en) * 2005-03-30 2006-10-12 Brother Ind Ltd Remote commander for karaoke, program and karaoke system

Similar Documents

Publication Publication Date Title
US6097520A (en) Remote control receiver and method of operation
CN1202692C (en) Remote controlled electronic device and remote control thereof
US9025959B2 (en) Universal systems and methods for determining an incoming carrier frequency and decoding an incoming signal
JPH0865777A (en) Remote control receiver
KR910007815B1 (en) Decoding method of biphase encoding data
US5387906A (en) Signal receiving control system of a remote control device
CN100429681C (en) Signal transmitting/receiving system and method,signal processing apparatus and method
JPS60254845A (en) Data communication system under remote control
JP2553687B2 (en) Remote control receiver circuit
JPS5824282A (en) Control signal transmission system
US20220206988A1 (en) Programmable serial input-output controller, operation system and method
US8072315B2 (en) Method and apparatus for universally decoding commands of a remote controller
KR20000028052A (en) Method for identifying key code of remote control system
JP2005191926A (en) Remote control receiver
JPH04175917A (en) Noise removing circuit
JPH05153673A (en) Device to be controlled by remote control
JP2001356917A (en) Pulse judging device
JPH03101546A (en) Digital signal read system
JPS63219226A (en) Decoding circuit
JPH08304105A (en) Method for resetting encoder signal
JPH09130884A (en) Remote control signal receiver
KR960012692B1 (en) If control circuit of television receiver
SU1439590A1 (en) Device for monitoring independent synchronous automatic machine
JP2003224525A (en) Infrared receiver
JPH05268673A (en) Remote controller