JPH04219032A - Infrared ray receiver - Google Patents

Infrared ray receiver

Info

Publication number
JPH04219032A
JPH04219032A JP2403822A JP40382290A JPH04219032A JP H04219032 A JPH04219032 A JP H04219032A JP 2403822 A JP2403822 A JP 2403822A JP 40382290 A JP40382290 A JP 40382290A JP H04219032 A JPH04219032 A JP H04219032A
Authority
JP
Japan
Prior art keywords
signal
infrared receiving
clock signal
digital signal
infrared
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
JP2403822A
Other languages
Japanese (ja)
Inventor
Toshihiro Ikeda
池田 敏弘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2403822A priority Critical patent/JPH04219032A/en
Publication of JPH04219032A publication Critical patent/JPH04219032A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Selective Calling Equipment (AREA)
  • Optical Communication System (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

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 system between devices and an infrared receiving device used for information communication.

【0002】0002

【従来の技術】近年、電子機器のリモートコントロール
や簡単な情報通信に赤外線を用いる場合が多くなり、そ
の信頼性に関する向上の検討が進んでいる。その赤外線
受信装置は、とくに外部ノイズが信号に混入する機会も
多く、その確実な受信機能が要望されている。
2. Description of the Related Art In recent years, infrared rays have been increasingly used for remote control of electronic equipment and for simple information communication, and studies are underway to improve their reliability. The infrared receiving device has many opportunities for external noise to be mixed into the signal, so a reliable receiving function is required.

【0003】この種の赤外線受信装置には赤外線受光ユ
ニットが用いられる。図3に従来の赤外線受信装置のブ
ロック図を示す。図3において、その構成要素として1
は赤外線を受光する赤外線受光ユニット、2はマイクロ
コンピュータ(以降マイコンと記す)である。
[0003] This type of infrared receiving device uses an infrared receiving unit. FIG. 3 shows a block diagram of a conventional infrared receiving device. In Figure 3, its constituent elements are 1
2 is an infrared receiving unit that receives infrared rays, and 2 is a microcomputer (hereinafter referred to as microcomputer).

【0004】つぎに、上記従来例の構成要素の関連動作
について説明する。送られた赤外線による信号を、赤外
線受信装置で受信する際に論理0あるいは論理1あるい
はリーダー(データの頭を示すもの)あるいはトレーラ
ー(データの終りを示すもの)を判断するには、赤外線
受光ユニット1で送られた赤外線信号を電気信号に変換
し、変換した信号をマイコン2の入力ポートに入力し、
マイコン2のプログラムによるソフトタイマーで時間T
を作り、時間Tごとにマイコン2の入力ポートの状態L
あるいはHを確認する。たとえば図4(a)のように入
力ポートの状態が時間TだけHで、つぎの時間TだけL
であれば論理0と判断し、図4(b)のように時間Tだ
けHでつぎの時間3TだけLであれば論理1と判断する
。リーダー,トレーラーについても、図4(c),(d
)のように時間Tごとに確認し、図に示された受信コー
ドとしてのパターンに応じて、リーダー,トレーラーを
判断する。
Next, the related operations of the components of the above-mentioned conventional example will be explained. When receiving the sent infrared signal with an infrared receiving device, an infrared receiving unit is used to determine whether it is a logic 0 or logic 1, a leader (indicating the beginning of data), or a trailer (indicating the end of data). Convert the infrared signal sent by 1 into an electrical signal, input the converted signal to the input port of microcontroller 2,
Time T is set using a soft timer programmed by microcomputer 2.
and change the state L of the input port of microcontroller 2 every time T.
Or check H. For example, as shown in Fig. 4(a), the state of the input port is H for a time T and L for the next time T.
If so, it is determined to be logic 0, and if it is H for time T and L for the next time 3T, as shown in FIG. 4(b), it is determined to be logic 1. Regarding the leader and trailer, Fig. 4(c) and (d)
) is checked every time T, and the leader and trailer are determined according to the received code pattern shown in the figure.

【0005】[0005]

【発明が解決しようとする課題】しかし、上記の従来の
構成では、マイコン2のプログラムによるソフトタイマ
ーで時間Tを生成しているため、赤外線受光ユニット1
の出力信号の変化と同期がとりにくく、ソフトが非常に
複雑になり、誤判断しやすいという問題を有していた。
[Problems to be Solved by the Invention] However, in the above conventional configuration, since the time T is generated by a soft timer programmed in the microcomputer 2, the infrared receiving unit 1
The problem was that it was difficult to synchronize with changes in the output signal, the software became extremely complex, and it was easy to make erroneous judgments.

【0006】本発明は上記課題に留意し、入力信号に対
し同期が確実で誤判断のない赤外線受信装置を提供しよ
うとするものである。
The present invention has been made in consideration of the above-mentioned problems, and an object of the present invention is to provide an infrared receiving device that can ensure synchronization with input signals and is free from misjudgment.

【0007】[0007]

【課題を解決するための手段】本発明の上記目的を達成
するために、赤外線を受光することにより信号を受信し
、デジタル信号を出力する赤外線受光ユニットを有する
赤外線受信装置において、前述のデジタル信号に同期す
るクロック発生手段と、このデジタル信号とクロック信
号の位相を比較する位相比較器と、クロック信号の立上
りまたは立下りエッジを検出し、デジタル信号のレベル
を検知する制御手段とを具備し、このクロック発生手段
が発生するクロック信号が位相比較器の出力により、自
動的にデジタル信号と位相合わせが行われるものである
[Means for Solving the Problems] In order to achieve the above object of the present invention, in an infrared receiving device having an infrared receiving unit that receives a signal by receiving infrared rays and outputs a digital signal, the digital signal as described above is provided. , a phase comparator for comparing the phases of the digital signal and the clock signal, and a control means for detecting the rising or falling edge of the clock signal and detecting the level of the digital signal, The clock signal generated by this clock generating means is automatically phase-aligned with the digital signal by the output of the phase comparator.

【0008】[0008]

【作用】赤外線受光ユニットからのデジタル信号に、位
相比較器と同期制御手段によりクロック信号が同期し、
位相合わせが自動的に行われるため、制御手段によりク
ロック信号のエッジを読み、その位相におけるデジタル
信号のレベル、すなわちHまたはLの情報を読み出す。 これにより入力信号の周波数ずれや、ノイズが混入して
も、制御手段による読み出し位置がデジタル信号に自動
的に逐次同期されるクロック信号のエッジであるため、
確実なデジタル信号の信号が読み出される。また特別な
制御手段におけるソフトが不要となり、単純化される。
[Operation] The clock signal is synchronized with the digital signal from the infrared receiving unit by the phase comparator and the synchronization control means.
Since the phase alignment is automatically performed, the control means reads the edge of the clock signal and reads out the level of the digital signal at that phase, that is, H or L information. As a result, even if there is a frequency shift in the input signal or noise is mixed in, the readout position by the control means is the edge of the clock signal that is automatically and sequentially synchronized with the digital signal.
A reliable digital signal is read out. Further, the software in the special control means is not required, which simplifies the process.

【0009】[0009]

【実施例】以下本発明の一実施例を図面に基づいて説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0010】図1は本発明の一実施例を示す赤外線受信
装置のブロック図である。図1に示すように、構成要素
として、1は赤外線を受光する赤外線受光ユニット、2
はマイコン、3は赤外線受光ユニット1からの電気信号
と電圧制御発振器(以降VCOと記す)5からのクロッ
クと位相を比較し誤差電圧を出力する位相比較、4は誤
差電圧の高域成分を除去するローパスフィルタ(以降L
PFと記す)、5はLPFの出力レベルにより周波数が
変化するVCOである。
FIG. 1 is a block diagram of an infrared receiving apparatus showing an embodiment of the present invention. As shown in FIG. 1, the components include an infrared receiving unit 1 that receives infrared rays;
3 is a microcomputer, 3 is a phase comparison device that compares the electrical signal from the infrared receiving unit 1 with the clock from the voltage controlled oscillator (hereinafter referred to as VCO) 5, and outputs an error voltage; 4 is a phase comparison device that removes high-frequency components of the error voltage. low-pass filter (hereinafter referred to as L)
5 is a VCO whose frequency changes depending on the output level of the LPF.

【0011】以上のように構成された本発明の赤外線受
信装置について、以下その構成要素の関連動作を説明す
る。
Regarding the infrared receiving apparatus of the present invention constructed as described above, the related operations of its constituent elements will be explained below.

【0012】送られた赤外線信号から論理0あるいは論
理1あるいはリーダーあるいはトレーラを判断するには
、赤外線受光ユニット1で送られた赤外線信号をデジタ
ル信号に変換し、変換した信号をマイコン2の第1の入
力ポート6と位相比較器3とに接続し、位相比較器3は
電気信号とVCO5から出力されているクロック信号と
の位相を比較し、誤差電圧を生じ、LPF4で誤差電圧
の高域成分を除去し、その電圧をVCO5に入力し、電
圧のレベルに応じて周波数を変化しながらクロック信号
を発生する。発生したクロック信号を位相比較器3に接
続することにより位相が自動的に調整される、いわゆる
PLLが形成され、受光ユニット1で変換した電気信号
に同期するようにVCO5はクロック信号を発生する。 VCO5の出力をマイコン2の第2の入力ポート7に入
力する。これらの入力がなされたマイコン2は制御手段
として働きクロック信号の立下り,立上りエッジを検出
し、検出後に電気信号の状態LあるいはHを確認する。 たとえば図2(a)のように電気信号を入力しているポ
ートの状態が時間TだけHで、つぎの時間TだけLであ
れば論理0と判断し、また、図2(b)のように時間T
だけHでつぎの時間3TだけLであれば論理1と判断す
る。図示していないがリーダー,トレーラーについても
、時間Tごとに確認し、パターンに応じて、リーダー,
トレーラーを判断する。赤外線信号が送られて来ないと
きはVCO5はフリーラン周波数1/(2T)でクロッ
クを発生している。そして、赤外線信号が送られると赤
外線受光ユニット1の出力データに同期してVCO5は
クロック信号を周波数1/(2T)で発生する。このよ
うに、常にクロック信号が入力されたデジタル信号と同
期されるので、確実に入力されたデジタル信号の情報が
読み出される。
In order to determine logic 0 or logic 1, leader or trailer from the sent infrared signal, the infrared receiving unit 1 converts the sent infrared signal into a digital signal, and the converted signal is sent to the first microcomputer 2. The phase comparator 3 compares the phases of the electrical signal and the clock signal output from the VCO 5 to generate an error voltage, and the LPF 4 extracts the high-frequency components of the error voltage. is removed, the voltage is input to the VCO 5, and a clock signal is generated while changing the frequency depending on the voltage level. By connecting the generated clock signal to the phase comparator 3, a so-called PLL whose phase is automatically adjusted is formed, and the VCO 5 generates the clock signal in synchronization with the electrical signal converted by the light receiving unit 1. The output of the VCO 5 is input to the second input port 7 of the microcomputer 2. The microcomputer 2 to which these inputs have been made functions as a control means to detect the falling and rising edges of the clock signal, and after detection, confirms the state L or H of the electrical signal. For example, as shown in Fig. 2(a), if the state of the port inputting the electrical signal is H for time T and L for the next time T, it is determined to be logic 0, and as shown in Fig. 2(b), time T
If it is H only for the next time and L for the next time 3T, it is determined to be logic 1. Although not shown, the leader and trailer are also checked at time T, and depending on the pattern, the leader and trailer are checked.
Judge the trailer. When no infrared signal is sent, the VCO 5 generates a clock at a free-run frequency of 1/(2T). When the infrared signal is sent, the VCO 5 generates a clock signal at a frequency of 1/(2T) in synchronization with the output data of the infrared receiving unit 1. In this way, since the clock signal is always synchronized with the input digital signal, the information of the input digital signal can be reliably read.

【0013】[0013]

【発明の効果】以上の説明より明らかなように本発明は
、入力されたデジタル信号に同期したクロック信号を発
生させる手段を設けることにより、マイコンなどの制御
手段においてプログラムによるデータ読み出しタイミン
グを決める時間ソフトタイマーを必要とせず、ソフトの
単純化を実現でき、さらに読み出しタイミング精度向に
より、誤判断を生じなくすることができる。
As is clear from the above description, the present invention provides a means for generating a clock signal synchronized with an input digital signal, thereby reducing the time required to determine data read timing by a program in a control means such as a microcomputer. There is no need for a soft timer, the software can be simplified, and furthermore, due to the improved read timing accuracy, erroneous judgments can be prevented.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例の赤外線受信装置のブロック
FIG. 1 is a block diagram of an infrared receiving device according to an embodiment of the present invention.

【図2】(a)は同実施例の赤外線受光ユニットの出力
のデジタル信号の波形図(b)は同実施例のクロック信
号の波形図
[Figure 2] (a) is a waveform diagram of the digital signal output from the infrared receiving unit of the same embodiment; (b) is a waveform diagram of the clock signal of the same embodiment;

【図3】従来の赤外線受信装置のブロック図[Figure 3] Block diagram of a conventional infrared receiving device

【図4】同
従来例の赤外線受信装置における受信コード別の波形図
[Fig. 4] Waveform diagram for each reception code in the conventional infrared receiving device

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

1  赤外線受光ユニット 2  マイクロコンピュータ(制御手段)3  位相比
較器
1 Infrared receiving unit 2 Microcomputer (control means) 3 Phase comparator

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】赤外線を受光することにより信号を受信し
、デジタル信号を出力する赤外線受光ユニットと、前記
赤外線受光ユニットのデジタル信号出力に同期するクロ
ック信号を発生するクロック発生手段と、前記デジタル
信号と前記クロック信号の位相を比較する位相比較器と
、前記クロック信号の立上りまたは立下りエッジを検出
し、前記デジタル信号のレベルを検知する制御手段とを
具備し、前記位相比較器の出力が前記クロック発生手段
に入力されることにより、前記クロック信号が前記デジ
タル信号と同期するよう補正されるようにした赤外線受
信装置。
1. An infrared receiving unit that receives a signal by receiving infrared rays and outputs a digital signal; a clock generating means that generates a clock signal that is synchronized with the digital signal output of the infrared receiving unit; and a phase comparator that compares the phases of the clock signal and a control means that detects a rising or falling edge of the clock signal and detects the level of the digital signal, and the output of the phase comparator is An infrared receiving device, wherein the clock signal is corrected to be synchronized with the digital signal by inputting the clock signal to a clock generating means.
【請求項2】クロック発生手段が、電圧制御発振器であ
る請求項1記載の赤外線受信装置。
2. The infrared receiving device according to claim 1, wherein the clock generating means is a voltage controlled oscillator.
JP2403822A 1990-12-19 1990-12-19 Infrared ray receiver Pending JPH04219032A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2403822A JPH04219032A (en) 1990-12-19 1990-12-19 Infrared ray receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2403822A JPH04219032A (en) 1990-12-19 1990-12-19 Infrared ray receiver

Publications (1)

Publication Number Publication Date
JPH04219032A true JPH04219032A (en) 1992-08-10

Family

ID=18513550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2403822A Pending JPH04219032A (en) 1990-12-19 1990-12-19 Infrared ray receiver

Country Status (1)

Country Link
JP (1) JPH04219032A (en)

Similar Documents

Publication Publication Date Title
EP0140042A2 (en) Digital phase lock loop circuit
US4535306A (en) Phase-locked loop detecting circuit
US4088832A (en) Split phase code synchronizer and demodulator
US5271040A (en) Phase detector circuit
US5056114A (en) Method and apparatus for decoding Manchester encoded data
US5003557A (en) Apparatus for receiving digital signal
US6339833B1 (en) Automatic recovery from clock signal loss
KR20050008678A (en) Pll for clock recovery with initialization sequence
JPH0588023B2 (en)
JPH04219032A (en) Infrared ray receiver
US7023944B2 (en) Method and circuit for glitch-free changing of clocks having different phases
JPH10224193A (en) PLL device for pulse signal demodulation
WO2003081766A1 (en) Detection of frequency differences between signals
US5148450A (en) Digital phase-locked loop
JP2922605B2 (en) Data demodulator
JPH07201137A (en) Lock detection method and lock detection device for phase locked loop
KR200154149Y1 (en) Lock detection device for phase-locked loop for clock generation of digital modulator
JPH04326231A (en) Interface circuit
US5912929A (en) Method and apparatus for performing carrier detection
JP2864779B2 (en) Pulse input circuit
JPS6053387B2 (en) data demodulator
JP2636349B2 (en) Phase control circuit
JPH04119737A (en) Data demodulation circuit
JPH09271000A (en) Data retrieval circuit for teletext
KR940001511B1 (en) Control frame detection circuit when receiving Manchester code