JPH11191738A - Signal demodulating circuit - Google Patents

Signal demodulating circuit

Info

Publication number
JPH11191738A
JPH11191738A JP9358494A JP35849497A JPH11191738A JP H11191738 A JPH11191738 A JP H11191738A JP 9358494 A JP9358494 A JP 9358494A JP 35849497 A JP35849497 A JP 35849497A JP H11191738 A JPH11191738 A JP H11191738A
Authority
JP
Japan
Prior art keywords
signal
circuit
count
data
edge detection
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
JP9358494A
Other languages
Japanese (ja)
Inventor
Toshiyuki Tachibana
敏之 橘
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP9358494A priority Critical patent/JPH11191738A/en
Publication of JPH11191738A publication Critical patent/JPH11191738A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Optical Communication System (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent out-of-synchronism in demodulation when superimposing a noise on an input signal by holding the input signal during counting to a prescribed value and demodulating the held signal when counting is reset after one cycle is counted. SOLUTION: Even when the noise is superimposed on an input signal IrRx from a count value '8' of a hexadecimal counter 103 to a count value '15', an edge detecting circuit part 101' detects that edge and sends it to a latch circuit 107 but the latch circuit 107 does not output a reset signal and detected contents before a hexadecimal count signal is next inputted from the hexadecimal counter 103, but outputs the reset signal to the hexadecimal counter 103 and an edge detection control circuit part 104 for the first time when the hexadecimal count signal is next inputted, and outputs the detected contents of the edge detecting circuit part 101' to a filtering circuit 102. The reset signal is not erroneously outputted to the hexadecimal counter 103 and count operation can be continued.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば赤外線通信
装置の受信側に用いてビットデータに復調するのに好適
な信号復調回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal demodulation circuit suitable for demodulating to bit data, for example, for use on the receiving side of an infrared communication device.

【0002】[0002]

【従来の技術】近時、赤外線信号はテレビ受信機やオー
ディオ・ビデオ機器等のリモートコントローラのみなら
ず、パーソナルコンピュータのマウスやプリンタと本体
等の通信にも赤外線信号を用いるようになっている。
2. Description of the Related Art In recent years, infrared signals have been used not only for remote controllers such as television receivers and audio / video equipment, but also for communication between a mouse and a printer of a personal computer and the main body.

【0003】この種の赤外線信号(以下「Ir信号」と
略称する)の基本フォーマットは、所定数のビットデー
タの先頭にデータ“0”のスタートビットを付加し、ま
た末尾にデータ“1”のエンドビットを付加した構成と
なっており、また赤外線はビットデータが“0”の場合
にのみ3/16ビットに相当する時間連続して出力され
るようになっている。
The basic format of this kind of infrared signal (hereinafter abbreviated as "Ir signal") is such that a start bit of data "0" is added at the head of a predetermined number of bit data, and data "1" is added at the end. The configuration is such that an end bit is added, and the infrared ray is continuously output for a time corresponding to 3/16 bit only when the bit data is “0”.

【0004】したがって、Ir信号を受信する受信側で
は、フォトトランジスタやフォトダイオード等の光電素
子で構成された受光部で検出される受光レベルが通常の
“L”レベルから“H”レベルとなり、且つこの“H”
レベルの状態が3/16ビットに相当する時間連続した
と判断した時点で信号「0」の入力を検出する構成が理
想的な構成である。
Therefore, on the receiving side for receiving the Ir signal, the light receiving level detected by the light receiving section constituted by a photoelectric element such as a phototransistor or a photodiode changes from a normal "L" level to an "H" level, and This "H"
An ideal configuration is to detect the input of the signal “0” when it is determined that the level state is continuous for a time corresponding to 3/16 bits.

【0005】しかしながら、実際の通信時には空間内を
伝搬することで信号波形が変化し、多くはパルスの幅方
向が減衰してしまうため、上記3/16ビットに相当す
る時間だけ受光レベルが連続して“H”レベルとなるよ
うなことは希であり、正確に受信を検出することは困難
となっている。
However, at the time of actual communication, the signal waveform changes by propagating in the space, and in many cases, the width direction of the pulse is attenuated. Therefore, the light receiving level continues for a time corresponding to the above 3/16 bit. It is rare that the level becomes "H" level, and it is difficult to detect reception accurately.

【0006】そこで通常は、Ir信号の受光レベルが
“L”レベルから“H”レベルに反転する立上がり部分
のエッジを検出することで同期をとり、同時に各ビット
期間中にエッジを検出したか否かにより当該ビット期間
におけるビットデータの“0”“1”を判断するように
していた。
Therefore, usually, synchronization is achieved by detecting the edge of the rising portion where the light receiving level of the Ir signal is inverted from "L" level to "H" level, and at the same time, whether or not the edge is detected during each bit period. Thus, "0" or "1" of the bit data in the bit period is determined.

【0007】図5はそのようなIr信号の受信、復調を
行なうIr信号受信回路の構成を例示するもので、受光
レベル(“H”レベルまたは“L”レベル)が波形整形
された入力信号IrRxはまずエッジ検出回路部101
に入力される。
FIG. 5 exemplifies a configuration of an Ir signal receiving circuit for receiving and demodulating such an Ir signal. The input signal IrRx whose light receiving level ("H" level or "L" level) has been waveform-shaped. Is the edge detection circuit unit 101
Is input to

【0008】このエッジ検出回路部101は、入力信号
IrRxのエッジの立上がりを検出するもので、エッジ
の立上がりを検出した時点で、入力信号IrRxの1ビ
ット幅をカウントするための16進カウンタ103とエ
ッジ制御回路部104にリセット信号を送出する一方、
検出の有無に応じた“0”“1”の信号をフィルタリン
グ回路102に出力する。
The edge detection circuit section 101 detects a rising edge of the edge of the input signal IrRx. When the rising edge of the edge is detected, a hexadecimal counter 103 for counting one bit width of the input signal IrRx is provided. While sending a reset signal to the edge control circuit unit 104,
A signal “0” or “1” according to the presence or absence of the detection is output to the filtering circuit 102.

【0009】フィルタリング回路102は、エッジ検出
回路部101の検出内容すなわち“L”レベルから
“H”レベルに立ち上がったか否かを“1”または
“0”のビットデータに波形整形して出力部106に送
出する。
The filtering circuit 102 shapes the waveform of the detection content of the edge detection circuit 101, that is, whether or not it has risen from the “L” level to the “H” level, to “1” or “0” bit data. To send to.

【0010】上記16進カウンタ103は、エッジ検出
回路部101からのリセット信号によりリセットされ、
以後ここでは図示しないクロックにより1ビット当たり
16クロックに相当するカウント動作を繰返し実行する
もので、そのカウント値が「8」となった時点でエッジ
検出制御回路部104に8カウント信号を送出し、また
「16」すなわち「0」となった時点でエッジ検出制御
回路部104と出力制御部105に16カウント信号を
送出する。
The hexadecimal counter 103 is reset by a reset signal from the edge detection circuit unit 101,
Thereafter, a count operation corresponding to 16 clocks per bit is repeatedly executed by a clock (not shown). When the count value becomes "8", an 8 count signal is sent to the edge detection control circuit unit 104, Further, when it becomes “16”, that is, “0”, a 16 count signal is sent to the edge detection control circuit unit 104 and the output control unit 105.

【0011】エッジ検出制御回路部104は、リセット
信号または16カウント信号を受けると、16進カウン
タ103からの8カウント信号を受けるまで、検出動作
を一時的に停止させる制御信号を上記エッジ検出回路部
101に送出する。
When receiving the reset signal or the 16 count signal, the edge detection control circuit 104 outputs a control signal for temporarily stopping the detection operation until receiving the 8 count signal from the hexadecimal counter 103. Send to 101.

【0012】出力制御部105は、16進カウンタ10
3がエッジ検出回路部101からのリセット信号により
リセットされるか、あるいはカウント動作によってその
カウント値が「16」すなわち「0」となった時点で、
上記フィルタリング回路102を経ることにより波形整
形されて出力部106に送られた検出信号に基づくビッ
トデータ“0”または“1”を出力信号Rxとして次段
の図示しない受信処理回路に送出させる。
The output control unit 105 has a hexadecimal counter 10
3 is reset by the reset signal from the edge detection circuit unit 101, or when the count value becomes “16”, that is, “0” by the counting operation,
The bit data “0” or “1” based on the detection signal that has been waveform-shaped by the filtering circuit 102 and sent to the output unit 106 is sent as an output signal Rx to the next-stage reception processing circuit (not shown).

【0013】上記のような回路構成にあって、図6
(2)に示すような入力信号IrRxがエッジ検出回路
部101に与えられた場合、エッジ検出回路部101は
図中にIで示すタイミングで受信レベルが“L”レベル
から“H”レベルに立上がったことを検出して16進カ
ウンタ103及びエッジ検出制御回路部104にリセッ
ト信号を送出する。
In the circuit configuration as described above, FIG.
When the input signal IrRx as shown in (2) is applied to the edge detection circuit unit 101, the edge detection circuit unit 101 changes the reception level from the “L” level to the “H” level at the timing indicated by I in the figure. Upon detecting the rise, a reset signal is sent to the hexadecimal counter 103 and the edge detection control circuit unit 104.

【0014】16進カウンタ103は、このリセット信
号により図6(1)に示すクロックの立下がりに同期し
て図6(3)に示す如くリセットされてカウント値が
「0」となり、以後クロックの立下がり毎にカウントア
ップしていくもので、そのカウント値が「8」となった
時点でエッジ検出制御回路部104に8カウント信号を
出力し、またカウント値が「16」となった時点でその
カウント値を自動的に「0」と戻すと共に出力制御部1
05に16カウント信号を出力する。
The hexadecimal counter 103 is reset by the reset signal in synchronization with the falling edge of the clock shown in FIG. 6A, as shown in FIG. When the count value becomes "8", an 8 count signal is output to the edge detection control circuit 104, and when the count value becomes "16", the count value becomes "8". The count value is automatically returned to "0" and the output control unit 1
At step 05, a 16 count signal is output.

【0015】エッジ検出制御回路部104では、16進
カウンタ103からの8カウント信号が入力されるまで
の間、すなわち16進カウンタ103のカウント値が
「0」〜「7」である間、エッジ検出回路部101がノ
イズのエッジを検出することがないよう制御信号によっ
てその動作を抑制するもので、この8カウント信号が入
力された時点で該制御信号の出力を停止する。
The edge detection control circuit 104 detects the edge until the 8-count signal from the hexadecimal counter 103 is input, that is, while the count value of the hexadecimal counter 103 is "0" to "7". The operation is suppressed by a control signal so that the circuit unit 101 does not detect a noise edge. When the eight count signal is input, the output of the control signal is stopped.

【0016】したがって、16進カウンタ103のカウ
ント値が「8」〜「16」までの間のエッジ検出回路部
101の検出結果はフィルタリング回路102を介して
出力部106に送出されるもので、出力部106では1
6進カウンタ103から16カウント信号を受けた出力
制御部105の制御により、そのときの検出結果をビッ
トデータRxにして次段に供する。
Therefore, the detection result of the edge detection circuit unit 101 when the count value of the hexadecimal counter 103 is between "8" and "16" is sent to the output unit 106 via the filtering circuit 102. In part 106, 1
Under the control of the output control unit 105 having received the 16 count signal from the hexadecimal counter 103, the detection result at that time is converted into bit data Rx and supplied to the next stage.

【0017】例えば、16進カウンタ103の値が「1
6(0)」となった時点でIrRxの受光レベルに変化
がなく、エッジ検出回路部101において新たなエッジ
の検出がないため、次のビットデータが“1”であるも
のとして図6(4)に示すようにビットデータRxを次
段に供することとなるものである。
For example, if the value of the hexadecimal counter 103 is "1"
6 (0) ", there is no change in the light receiving level of IrRx, and no new edge is detected in the edge detection circuit unit 101. Therefore, FIG. 6 (4) assumes that the next bit data is" 1 ". ), The bit data Rx is supplied to the next stage.

【0018】[0018]

【発明が解決しようとする課題】上記のような構成の信
号復調回路では、16進カウンタ103のカウント値が
「0」〜「7」である間のみエッジ検出回路部101が
不用意に再度エッジを検出することがないようにエッジ
検出制御回路04がその制御信号によってその動作を抑
制している。
In the signal demodulation circuit having the above structure, the edge detection circuit 101 inadvertently re-starts the edge only while the count value of the hexadecimal counter 103 is "0" to "7". The edge detection control circuit 04 suppresses the operation by the control signal so as not to detect the signal.

【0019】そのため、図7(2)に示すように16進
カウンタ103のカウント値が「8」〜「15」である
間に入力信号IrRxにノイズ等が重畳されていた場
合、エッジ検出回路部101がこれを受光レベルの立上
がりであるものと判断して16進カウンタ103にリセ
ット信号を送出してしまい、16進カウンタ103のカ
ウント動作が実際の同期からずれてしまうので、ノイズ
によりデータ“0”が誤って検出される(図7(5)参
照)だけでなく、それ以降受信するIr信号から正確に
ビットデータに復調することができなくなってしまうと
いう不具合があった。
Therefore, as shown in FIG. 7 (2), when noise or the like is superimposed on the input signal IrRx while the count value of the hexadecimal counter 103 is "8" to "15", the edge detection circuit section 101 determines that this is a rise in the light receiving level, and sends a reset signal to the hexadecimal counter 103, and the counting operation of the hexadecimal counter 103 deviates from the actual synchronization. Not only is detected erroneously (see FIG. 7 (5)), but also it becomes impossible to accurately demodulate Ir data received thereafter into bit data.

【0020】より具体的には、ノイズ検出により同期が
ずれると、それ以降データ“0”のIr信号が受信され
ても、そのときの16進カウンタ103のカウント値は
「0」〜「7」の間にあるため、入力データはすべてデ
ータ“1”として復調されるという不具合がある。
More specifically, when synchronization is lost due to noise detection, even if an Ir signal of data "0" is received thereafter, the count value of the hexadecimal counter 103 at that time is "0" to "7". Therefore, all input data is demodulated as data "1".

【0021】本発明は上記のような実情に鑑みてなされ
たもので、その目的とするところは、ノイズ等の影響に
より受信した信号を復調する際の同期がずれるのを確実
に防止することが可能な信号復調回路を提供することに
ある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and an object of the present invention is to surely prevent the synchronization when demodulating a received signal due to the influence of noise or the like from being shifted. It is to provide a possible signal demodulation circuit.

【0022】[0022]

【課題を解決するための手段】請求項1記載の発明は、
所定ビット長の入力信号の検出の有無によって入力信号
からビットデータに復調する信号復調回路において、入
力信号の検出によってリセットされ、該入力信号の周期
のカウントを開始するカウント手段と、このカウント手
段が所定の値までカウントされる間、上記入力信号を保
持する保持手段と、上記カウント手段が1周期をカウン
トした後にリセットされると、上記保持手段によって保
持されていた信号の復調を行なう復調手段とを具備した
ことを特徴とする。
According to the first aspect of the present invention,
In a signal demodulation circuit for demodulating an input signal into bit data depending on the presence or absence of detection of an input signal having a predetermined bit length, a counting means reset by the detection of the input signal and starting to count the period of the input signal; Holding means for holding the input signal while counting to a predetermined value; and demodulation means for demodulating the signal held by the holding means when the counting means is reset after counting one cycle. It is characterized by having.

【0023】このような構成とすれば、入力信号にノイ
ズ等が重畳されていた場合であってもその影響により受
信した信号を復調する際の同期がずれるのを確実に防止
することができる。
With such a configuration, even when noise or the like is superimposed on the input signal, it is possible to reliably prevent the synchronization at the time of demodulating the received signal from being affected by the influence.

【0024】[0024]

【発明の実施の形態】以下本発明を電子手帳機能及びダ
イヤルデータ送信機能付きのページング受信機に適用し
た場合の実施の一形態について図面を参照して説明す
る。図1は当該上記ページング受信機1の回路構成を示
すものであり、このページング受信機1を呼出すための
電波信号は高度無線呼出システムの標準規格(RCR
STD−43)に準拠するものであって、アンテナ2で
受信されて受信部22に送られる。この受信部3は、ア
ンテナ2で受信した受信データを2値または4値のデジ
タルデータに復調してデコーダ4へ送出する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a paging receiver having an electronic organizer function and a dial data transmission function will be described below with reference to the drawings. FIG. 1 shows a circuit configuration of the paging receiver 1, and a radio signal for calling the paging receiver 1 is based on an advanced radio paging system standard (RCR).
STD-43), which is received by the antenna 2 and sent to the receiver 22. The receiving section 3 demodulates the received data received by the antenna 2 into binary or quaternary digital data and sends it to the decoder 4.

【0025】デコーダ4は、電源投入を検出した時点に
おいてはバスBを介して接続される制御部6の制御に基
づき、所定時間内に同期信号が受信されるまで受信部3
を駆動させ、同期信号を受信すると今度はこの同期信号
内のフレームナンバーとID−ROM5に設定されたフ
レームナンバーデータを取込んだ制御部6からの制御信
号に基づいて自己フレームを受信できるよう間欠駆動さ
せる。
When the decoder 4 detects that the power is turned on, the decoder 4 controls the receiving unit 3 until a synchronization signal is received within a predetermined time under the control of the control unit 6 connected via the bus B.
And upon receiving the synchronization signal, intermittently receive the self-frame based on the frame number in the synchronization signal and the control signal from the control unit 6 which has taken in the frame number data set in the ID-ROM 5. Drive.

【0026】そして、受信部3で復調した信号を8ビッ
トパラレルデータに変換してバッファメモリ11に送出
し、制御部6よりこのデータがID−ROM5に設定さ
れているIDコードのアドレスデータに一致したと判断
する信号を入力すると、続いて受信されるベクトルデー
タとメッセージデータとを同様に8ビットパラレルデー
タに変換し、バッファメモリ11に送出するようにして
いる。
The signal demodulated by the receiving unit 3 is converted into 8-bit parallel data and transmitted to the buffer memory 11, and this data matches the address data of the ID code set in the ID-ROM 5 by the control unit 6. When a signal for determining that the data has been input is input, the subsequently received vector data and message data are similarly converted into 8-bit parallel data and transmitted to the buffer memory 11.

【0027】制御部6は、バスBを介して上記デコーダ
4、ID−ROM5の他に、Ir送受信部7、キー入力
部8、表示部9、デインタリーブ回路10、バッファメ
モリ11、ROM12、RAM13、ドライバ14、送
信バッファ15及びインタフェイス(I/F)16と接
続され、ROM12に固定記憶されている動作プログラ
ムにしたがってデコーダ4の受信制御、及び回路全体の
制御動作を実行する。
The control unit 6 includes an Ir transmission / reception unit 7, a key input unit 8, a display unit 9, a deinterleave circuit 10, a buffer memory 11, a ROM 12, a RAM 13 in addition to the decoder 4 and the ID-ROM 5 via the bus B. , A driver 14, a transmission buffer 15, and an interface (I / F) 16, and controls the reception of the decoder 4 and controls the entire circuit according to an operation program fixedly stored in the ROM 12.

【0028】デインタリーブ回路10は、制御部6の制
御の下に、バッファメモリ11に格納された受信データ
に施されているインタリーブ処理を解除し、元のパラレ
ルデータの配列に戻す処理を行なうものである。
Under the control of the control unit 6, the deinterleave circuit 10 cancels the interleave processing applied to the received data stored in the buffer memory 11 and performs processing for returning to the original parallel data arrangement. It is.

【0029】バッファメモリ11は、デコーダ4から直
接送られてくる受信データをバッファ記憶し、上記デイ
ンタリーブ回路10に供給する等、受信データの復元処
理に使用するためのものである。
The buffer memory 11 is used for buffering received data directly sent from the decoder 4 and supplying the received data to the deinterleave circuit 10, for example, for use in a process of restoring the received data.

【0030】上記RAM13は、キー入力部8を操作す
ることにより使用者が作成したデータや着信したメッセ
ージデータ、詳細には電子手帳機能に係るアドレスデー
タ、スケジュールデータ、メモデータ、ToDoデー
タ、着信データ、送信データ等を記憶する。
The RAM 13 stores data created by the user by operating the key input unit 8 and message data received, specifically address data, schedule data, memo data, ToDo data, incoming data relating to the electronic organizer function. , Transmission data and the like.

【0031】上記ドライバ14は、小型スピーカ17、
バイブレータ18及びLED19と接続され、設定され
た内容に従ってこれらを選択的に駆動することで、着信
報知をブザー音、振動、あるいは光の点滅により行なう
ものである。
The driver 14 includes a small speaker 17,
It is connected to the vibrator 18 and the LED 19 and selectively drives them according to the set contents, thereby informing the incoming call by buzzer sound, vibration, or flashing light.

【0032】上記送信バッファ15は、使用者が作成し
た送信データに基づいたデジタル値のDTMFデータ信
号を順次バッファ記憶してD/A変換部20へ送出する
もので、D/A変換部20ではこのDTMFデータ信号
をアナログ化して上記ページング受信機1に設けられた
スピーカ21を拡声駆動することにより、予め設定され
た2つの可聴周波数信号の組合わせでなるDTMFデー
タ信号が放音される。
The transmission buffer 15 sequentially stores a DTMF data signal of a digital value based on transmission data created by a user and sends it to the D / A conversion unit 20. The DTMF data signal is converted into an analog signal, and the speaker 21 provided in the paging receiver 1 is loudspeaked to emit a DTMF data signal composed of a combination of two preset audio frequency signals.

【0033】上記インタフェイス16は、コネクタ22
を介して、ライン接続された他のページング受信機等と
直接データの送受信を行なうためのものである。上記I
r送受信部7は、図2に示すようにエンコーダ/デコー
ダ71と赤外線トランスデューサ72とで構成される。
そして、エンコーダ/デコーダ71はさらに赤外線送信
エンコーダ73と赤外線受信デコーダ74とで構成さ
れ、また赤外線トランスデューサ72はLEDドライバ
75と赤外線検出器及び受信アンプ76とで構成され
る。
The interface 16 includes a connector 22
Is for directly transmitting and receiving data to and from other line-connected paging receivers and the like. I above
The r transmission / reception unit 7 includes an encoder / decoder 71 and an infrared transducer 72 as shown in FIG.
The encoder / decoder 71 further includes an infrared transmission encoder 73 and an infrared reception decoder 74, and the infrared transducer 72 includes an LED driver 75, an infrared detector and a reception amplifier 76.

【0034】バスBを介して送られてきた送信データ
は、エンコーダ/デコーダ71の赤外線送信エンコーダ
73で所定のフォーマットに従ってコード化、変調され
た後に赤外線トランスデューサ72のLEDドライバ7
5に送られ、LEDドライバ75がこの送信データに基
づいて図示しないLEDを発光駆動することで、外部に
赤外線(Ir信号)が出力されることとなる。
The transmission data transmitted via the bus B is coded and modulated by an infrared transmission encoder 73 of an encoder / decoder 71 in accordance with a predetermined format, and thereafter, the LED driver 7 of the infrared transducer 72
5 and the LED driver 75 drives an LED (not shown) to emit light based on the transmission data, so that an infrared ray (Ir signal) is output to the outside.

【0035】また、外部から送信されてきた赤外線(I
r信号)は、赤外線トランスデューサ72の赤外線検出
器及び受信アンプ76で受光され、波形整形後に一定の
増幅率をもって増幅されてからエンコーダ/デコーダ7
1の赤外線受信デコーダ74に送られ、ここでデコード
されて受信データが得られるもので、得られた受信デー
タはバスBを介して制御部6内のワークメモリに送られ
る。
In addition, infrared rays (I
r signal) is received by the infrared detector of the infrared transducer 72 and the receiving amplifier 76, amplified with a constant amplification factor after waveform shaping, and then amplified by the encoder / decoder 7
The data is sent to one infrared receiving decoder 74, where it is decoded to obtain received data. The obtained received data is sent to the work memory in the control unit 6 via the bus B.

【0036】図3は上記赤外線検出器及び受信アンプ7
6の詳細な回路構成を示すものであり、図5と同一部分
には同一符号を付してその詳細な説明は省略するものと
する。
FIG. 3 shows the infrared detector and the receiving amplifier 7.
6 shows the detailed circuit configuration, and the same parts as those in FIG. 5 are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0037】しかして、入力信号IrRx(受信したI
r信号)を入力してその立上がりエッジ(受光レベルが
“L”から“H”になる点)を検出するエッジ検出回路
部101′は、その検出結果をフィルタリング回路10
2との間に設けられたラッチ回路107に出力する。
The input signal IrRx (the received I
r), and detects the rising edge thereof (the point at which the light receiving level changes from "L" to "H").
2 is output to the latch circuit 107 provided therebetween.

【0038】ラッチ回路107の機能の詳細については
後述するが、ラッチ回路107は電源オン時及び一連の
Ir信号の受信が完了した後の制御部6から出力される
リセット信号によりリセットされる構成となっており、
リセット状態にあるときにエッジ検出回路部101′か
らエッジ検出信号が入力されると、すなわちスタートビ
ットに係るエッジ検出信号が入力されると、リセット信
号を16進カウンタ103とエッジ検出制御回路104
に出力する。
Although the function of the latch circuit 107 will be described in detail later, the latch circuit 107 is configured to be reset by a reset signal output from the control unit 6 when the power is turned on and after a series of reception of the Ir signal is completed. Has become
When an edge detection signal is input from the edge detection circuit unit 101 'in the reset state, that is, when an edge detection signal related to a start bit is input, the reset signal is transmitted to the hexadecimal counter 103 and the edge detection control circuit 104.
Output to

【0039】また、16進カウンタ103は、ラッチ回
路107からリセット信号が供給されると、カウント値
を「0」に戻して再開し、そのカウント値が「8」とな
った時点で8カウント信号をエッジ検出制御回路部10
4及びラッチ回路107に、また「16」すなわち
「0」となった時点で16カウント信号をエッジ検出制
御回路104、出力制御部105及びラッチ回路107
にそれぞれ送出する。
When the reset signal is supplied from the latch circuit 107, the hexadecimal counter 103 returns the count value to "0" and restarts. When the count value becomes "8", the 8 count signal To the edge detection control circuit 10
4 and the latch circuit 107, and when it becomes “16”, that is, “0”, the 16 count signal is output to the edge detection control circuit 104, the output control unit 105 and the latch circuit 107
Respectively.

【0040】ラッチ回路107は、リセット状態にある
ときにエッジ検出回路部101′からエッジ検出信号が
入力されると、前述したようにリセット信号を16進カ
ウンタ103とエッジ検出制御回路104に出力すると
共に、データ“0”の情報をフィルタリング回路102
を介して出力部106へ出力する。そして、その後は1
6進カウンタ103から8カウント信号が入力されるま
で、エッジ検出回路部101′からの信号は受け付けな
い。8カウント信号が入力された後は、16カウント信
号が入力されるまでエッジ検出回路部101′からのエ
ッジ検出信号を受け付け、その間にエッジ検出信号の入
力があった場合にはデータ“0”、なかった場合にはデ
ータ“1”として情報を保持し、16カウント信号が入
力されたときに、その保持内容をフィルタリング回路1
02を介して出力部106へ出力する。また、16進カ
ウンタ103からの8カウント信号が入力された時点か
ら16カウント信号が入力されるまでの間は、エッジ検
出回路部101′によるエッジ検出がリセット信号とし
て16進カウンタ103へ送出されるのを防ぎ、16カ
ウント信号が入力された時点でエッジ検出によるリセッ
ト信号を16進カウンタ103へ送出する。
The latch circuit 107 outputs a reset signal to the hexadecimal counter 103 and the edge detection control circuit 104 when the edge detection signal is input from the edge detection circuit section 101 'in the reset state, as described above. At the same time, the information of data “0” is
Is output to the output unit 106 via the. And then 1
Until the 8-count signal is input from the hexadecimal counter 103, no signal is received from the edge detection circuit unit 101 '. After the input of the 8 count signal, an edge detection signal from the edge detection circuit unit 101 'is received until the input of the 16 count signal. If an edge detection signal is input during that time, data "0" is output. Otherwise, the information is held as data "1", and when a 16 count signal is input, the held content is passed to the filtering circuit 1
02 to the output unit 106. From the time when the 8 count signal is input from the hexadecimal counter 103 to the time when the 16 count signal is input, the edge detection by the edge detection circuit unit 101 'is sent to the hexadecimal counter 103 as a reset signal. And a reset signal by edge detection is sent to the hexadecimal counter 103 when the 16 count signal is input.

【0041】次に上記実施の形態の動作について説明す
る。図4(2)に示すような入力信号IrRxがエッジ
検出回路部101′に与えられた場合、まず図中にII
で示すタイミングで受光レベルが“L”レベルから
“H”レベルに立上がると、その立ち上がりエッジをエ
ッジ検出回路部101′が検出してラッチ回路107に
検出信号を送出する。
Next, the operation of the above embodiment will be described. When an input signal IrRx as shown in FIG. 4 (2) is given to the edge detection circuit section 101 ', first, in FIG.
When the light receiving level rises from the “L” level to the “H” level at the timing shown by, the edge detection circuit unit 101 ′ detects the rising edge and sends a detection signal to the latch circuit 107.

【0042】ラッチ回路107は、この検出信号が最初
の検出信号であれば、すなわちスタートビットのエッジ
検出信号であれば、リセット信号を16進カウンタ10
3及びエッジ検出制御回路104に送出する。16進カ
ウンタ103は送られてきたリセット信号により図4
(1)に示すクロックの立下がりに同期して図4(3)
に示す如くリセットされてカウント値が「0」となり、
以後クロックの立下がり毎にカウントアップしていく。
If this detection signal is the first detection signal, that is, if it is a start bit edge detection signal, the latch circuit 107 outputs the reset signal to the hexadecimal counter 10.
3 and the edge detection control circuit 104. The hexadecimal counter 103 receives the reset signal as shown in FIG.
In synchronization with the falling edge of the clock shown in (1), FIG.
The count value is reset to "0" as shown in
Thereafter, it counts up each time the clock falls.

【0043】そして16進カウンタ103は、そのカウ
ント値が「8」となった時点でエッジ検出制御回路部1
04及びラッチ回路107に8カウント信号を、カウン
ト値が「16」となった時点でそのカウント値を自動的
に「0」とすると共にエッジ検出制御回路部104、出
力制御部105及びラッチ回路107に16カウント信
号を出力する。
When the count value of the hexadecimal counter 103 becomes "8", the edge detection control circuit 1
When the count value becomes "16", the count value is automatically set to "0" and the edge detection control circuit unit 104, the output control unit 105, and the latch circuit 107. To output a 16 count signal.

【0044】エッジ検出制御回路部104では、ラッチ
回路107からのリセット信号あるいは16進カウンタ
103からの16カウント信号が入力された後、16進
カウンタ103からの8カウント信号が入力されるまで
の間、すなわち16進カウンタ103のカウント値が
「0」〜「7」である間、エッジ検出回路部101′が
ノイズのエッジを検出することがないよう制御信号によ
ってその動作を抑制するもので、この8カウント信号が
入力された時点で該制御信号の出力を停止する。
In the edge detection control circuit section 104, a period from when the reset signal from the latch circuit 107 or the 16 count signal from the hexadecimal counter 103 is input to when the 8 count signal from the hexadecimal counter 103 is input. That is, while the count value of the hexadecimal counter 103 is "0" to "7", the operation is suppressed by a control signal so that the edge detection circuit unit 101 'does not detect the edge of noise. When the 8 count signal is input, the output of the control signal is stopped.

【0045】したがって、16進カウンタ103のカウ
ント値が「8」から「15」までの間のエッジ検出回路
部101′の検出結果はラッチ回路107に出力される
もので、その後、ラッチ回路107では16進カウンタ
103から16カウント信号が入力されると保持してい
たエッジ検出回路部101′での検出内容をフィルタリ
ング回路102を介して出力部106に出力するもので
ある。
Therefore, the detection result of the edge detection circuit section 101 ′ when the count value of the hexadecimal counter 103 is between “8” and “15” is output to the latch circuit 107. When the 16 count signal is input from the hexadecimal counter 103, the content detected by the edge detection circuit unit 101 ', which has been held, is output to the output unit 106 via the filtering circuit 102.

【0046】そのため、図4(2)中のタイミングII
Iで示すような位置、すなわち16進カウンタ103の
カウント値が「8」から「15」までの間にノイズがI
rRxに重畳されていた場合でも、エッジ検出回路部1
01′はそのエッジを検出してラッチ回路107に送出
するものの、ラッチ回路107は16進カウンタ103
から次に16カウント信号が入力されるまでの間、リセ
ット信号及び検出内容を出力することはなく、次に16
カウント信号が入力された時点で始めてリセット信号と
16進カウンタ103及びエッジ検出制御回路部104
に出力し、またエッジ検出回路部101′の検出内容を
フィルタリング回路102に出力する。
Therefore, the timing II in FIG.
When the position indicated by I, that is, when the count value of the hexadecimal counter 103 is between “8” and “15”, the noise is I
Even if it is superimposed on rRx, the edge detection circuit unit 1
01 ′ detects the edge and sends it to the latch circuit 107, but the latch circuit 107
The reset signal and the detected content are not output until the next 16 count signal is input from
Only when the count signal is input, the reset signal, the hexadecimal counter 103 and the edge detection control circuit 104
And outputs the detection content of the edge detection circuit unit 101 ′ to the filtering circuit 102.

【0047】この場合、エッジ検出回路部101′の検
出内容は上記ノイズの影響により誤って“0”となって
しまっているものの、16進カウンタ103に対しては
リセット信号を送出してしまうようなことはなく、その
カウント動作を継続させることができるので、同期を維
持させることができる。
In this case, although the detection content of the edge detection circuit unit 101 'is erroneously set to "0" due to the influence of the noise, a reset signal is sent to the hexadecimal counter 103. Nothing happens, and the counting operation can be continued, so that synchronization can be maintained.

【0048】したがって、送られてくるデータがBCH
等の誤り訂正符号で符号化されたデータであれば、出力
部106の出力するビットデータが図4(6)に示すよ
うな誤ったデータであつても後段の図示しない誤り訂正
回路により正確に復調できる。すなわち、ノイズ等の影
響による単発的な誤りであれば、誤り訂正回路の処理に
より正確な受信信号の復調を行なうことが可能となる。
Therefore, the transmitted data is BCH
If the bit data output from the output unit 106 is erroneous data as shown in FIG. 4 (6), the data may be correctly encoded by an error correction circuit (not shown) at the subsequent stage. Can be demodulated. In other words, if the error is a single error due to the influence of noise or the like, it is possible to accurately demodulate the received signal by the processing of the error correction circuit.

【0049】なお、上記図3の回路構成では、16進カ
ウンタ103からラッチ回路107へ8カウント信号及
び16カウント信号を送出するものとしたが、例えば1
6進カウンタ103のカウント値4ビット中の末尾3ビ
ットが「000」である状態、すなわち8カウント毎に
ラッチ回路107にカウント信号を送出するようにすれ
ば、その信号線をより簡略化することができる。
In the circuit configuration shown in FIG. 3, the 8-count signal and the 16-count signal are transmitted from the hexadecimal counter 103 to the latch circuit 107.
If the last 3 bits of the 4 bits of the hexadecimal counter 103 are "000", that is, if the count signal is sent to the latch circuit 107 every 8 counts, the signal line can be further simplified. Can be.

【0050】また、上記実施の形態ではIr(赤外線)
信号を受信する赤外線検出器及び受信アンプ76に適用
した場合について説明したが、本発明はこれに限るもの
ではなく、非同期の信号を受信する回路であれば他の各
種信号に適用可能であることは勿論である。
In the above embodiment, Ir (infrared ray)
The case where the present invention is applied to the infrared detector for receiving a signal and the receiving amplifier 76 has been described. However, the present invention is not limited to this, and any circuit that receives an asynchronous signal can be applied to other various signals. Of course.

【0051】その他、本発明はその要旨を逸脱しない範
囲内で種々変形して実施することが可能であり、例えば
パーソナルコンピュータ等の電子計算機やその他電子機
器に内蔵、もしくは接続可能なデバイス等でも本発明は
適用できる。
In addition, the present invention can be variously modified and implemented without departing from the gist of the present invention. For example, the present invention can be applied to an electronic computer such as a personal computer and other devices which can be built in or connected to electronic equipment. The invention is applicable.

【0052】[0052]

【発明の効果】請求項1記載の発明によれば、入力信号
にノイズ等が重畳されていた場合であってもその影響に
より受信した信号を復調する際の同期がずれるのを確実
に防止することができる。
According to the first aspect of the present invention, even when noise or the like is superimposed on the input signal, it is possible to reliably prevent the synchronization when demodulating the received signal due to the influence of the noise or the like. be able to.

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

【図1】本発明の実施の一形態に係る回路構成を示すブ
ロック図。
FIG. 1 is a block diagram showing a circuit configuration according to an embodiment of the present invention.

【図2】図1のIr送受信部内の回路構成を示すブロッ
ク図。
FIG. 2 is a block diagram showing a circuit configuration in an Ir transmission / reception unit of FIG. 1;

【図3】図2の赤外線検出器及び受信アンプ内の詳細な
回路構成を示すブロック図。
FIG. 3 is a block diagram showing a detailed circuit configuration in the infrared detector and the receiving amplifier of FIG. 2;

【図4】図3における各回路の動作を示すタイミングチ
ャート。
FIG. 4 is a timing chart showing the operation of each circuit in FIG. 3;

【図5】従来のIr信号受信回路の構成を示すブロック
図。
FIG. 5 is a block diagram showing a configuration of a conventional Ir signal receiving circuit.

【図6】図5の各回路の動作を示すタイミングチャー
ト。
6 is a timing chart showing the operation of each circuit in FIG.

【図7】図5の各回路の動作を示すタイミングチャー
ト。
FIG. 7 is a timing chart showing the operation of each circuit in FIG. 5;

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

1…ページング受信機 2…アンテナ 3…受信部 4…デコーダ 5…ID−ROM 6…制御部 7…Ir送受信部 8…キー入力部 9…キー入力部 10…デインタリーブ回路 11…バッファメモリ 12…ROM 13…RAM 14…ドライバ 15…送信バッファ 16…インタフェイス 17…小型スピーカ 18…バイブレータ 19…LED 20…D/A変換部 21…スピーカ 22…コネクタ 71…エンコーダ/デコーダ 72…赤外線トランスデューサ 73…赤外線送信エンコーダ 74…赤外線受信デコーダ 75…LEDドライバ 76…赤外線検出器及び受信アンプ 101,101′…エッジ検出回路部 102…フィルタリング回路 103…16進カウンタ 104…エッジ検出制御回路部 105…出力制御部 106…出力部 107…ラッチ回路 DESCRIPTION OF SYMBOLS 1 ... Paging receiver 2 ... Antenna 3 ... Receiving part 4 ... Decoder 5 ... ID-ROM 6 ... Control part 7 ... Ir transmitting / receiving part 8 ... Key input part 9 ... Key input part 10 ... Deinterleave circuit 11 ... Buffer memory 12 ... ROM 13 RAM 14 Driver 15 Transmission buffer 16 Interface 17 Small speaker 18 Vibrator 19 LED 20 D / A converter 21 Speaker 22 Connector 71 Encoder / decoder 72 Infrared transducer 73 Infrared Transmission encoder 74 Infrared receiving decoder 75 LED driver 76 Infrared detector and receiving amplifier 101, 101 'Edge detection circuit 102 Filtering circuit 103 Hexadecimal counter 104 Edge detection control circuit 105 Output control 106 … Output unit 107… Latch circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 所定ビット長の入力信号の検出の有無に
よって入力信号からビットデータに復調する信号復調回
路において、 入力信号の検出によってリセットされ、該入力信号の周
期のカウントを開始するカウント手段と、 このカウント手段が所定の値までカウントされる間、上
記入力信号を保持する保持手段と、 上記カウント手段が1周期をカウントした後にリセット
されると、上記保持手段によって保持されていた信号の
復調を行なう復調手段とを具備したことを特徴とする信
号復調回路。
1. A signal demodulation circuit for demodulating an input signal into bit data according to the presence or absence of detection of an input signal having a predetermined bit length, a count means for resetting upon detection of the input signal and starting counting of the cycle of the input signal; Holding means for holding the input signal while the counting means counts to a predetermined value; demodulation of the signal held by the holding means when the counting means is reset after counting one cycle. A signal demodulation circuit comprising:
JP9358494A 1997-12-25 1997-12-25 Signal demodulating circuit Pending JPH11191738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9358494A JPH11191738A (en) 1997-12-25 1997-12-25 Signal demodulating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9358494A JPH11191738A (en) 1997-12-25 1997-12-25 Signal demodulating circuit

Publications (1)

Publication Number Publication Date
JPH11191738A true JPH11191738A (en) 1999-07-13

Family

ID=18459613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9358494A Pending JPH11191738A (en) 1997-12-25 1997-12-25 Signal demodulating circuit

Country Status (1)

Country Link
JP (1) JPH11191738A (en)

Similar Documents

Publication Publication Date Title
JPS6314537B2 (en)
US6111677A (en) Optical remote control interface system and method
JPH0656976B2 (en) Individual selective call receiver
JP3101527B2 (en) Decoder and method for analyzing encoded transmission sent to mobile message receiver
JPH0412652B2 (en)
EP0244103B1 (en) Paging receiver with a capability of receiving message data
GB2110858A (en) Signal detection circuit for digital radio paging receiver
KR950011078B1 (en) Selective calling system
US5396230A (en) Pager with out of range detection by timing loss of synchronization
JPH11191738A (en) Signal demodulating circuit
JP2659558B2 (en) Selective paging method
JP3277948B2 (en) Digital signal receiver
JP3123933B2 (en) Mobile terminal device
JP2935230B2 (en) Call detection device and call detection method
JP2671632B2 (en) Mobile radio equipment
NZ240288A (en) Paging receiver with battery saving: receiving call data even if sync code is missed
JP2935037B2 (en) Call detection device
JPH1013385A (en) Packet data error correction method, its equipment and packet receiver
KR100228629B1 (en) Pager with preformed sentence displying function
JP2848229B2 (en) Receiver circuit
JP2638005B2 (en) Selective call receiver
JP3127907B2 (en) Time setting method for electronic devices
JPH0773380B2 (en) Selective call communication method
JP2682247B2 (en) Battery saving method of paging system
JP2905310B2 (en) DTMF signal receiver