JP2009071543A - Optical receiving circuit and electronic device - Google Patents

Optical receiving circuit and electronic device Download PDF

Info

Publication number
JP2009071543A
JP2009071543A JP2007237197A JP2007237197A JP2009071543A JP 2009071543 A JP2009071543 A JP 2009071543A JP 2007237197 A JP2007237197 A JP 2007237197A JP 2007237197 A JP2007237197 A JP 2007237197A JP 2009071543 A JP2009071543 A JP 2009071543A
Authority
JP
Japan
Prior art keywords
circuit
signal
gain
time constant
optical receiver
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
JP2007237197A
Other languages
Japanese (ja)
Inventor
Seiichi Yokogawa
成一 横川
Noboru Takeuchi
昇 竹内
Masaru Naba
優 那波
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2007237197A priority Critical patent/JP2009071543A/en
Publication of JP2009071543A publication Critical patent/JP2009071543A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an optical receiving circuit capable of shortening the time for initial gain, immediately after power supply to be stabilized as a prescribed gain, and to provide an electronic device. <P>SOLUTION: In the optical receiving circuit provided with a photodiode 11 for converting inputted optical signals into electrical signals and outputting them, a gain variable amplifier 13 for amplifying the electric signals outputted from the photodiode 11, and a digital block part 20 for controlling the gain of the gain variable amplifier 13, on the basis of the result of processing using digital signals, the digital block part 20 controls the gain of the gain variable amplifier 13 by a first time constant, from the time immediately after supplying power to the prescribed time, and controls the gain of the gain variable amplifier 13 by a second time constant which is longer than the first time constant after the prescribed time. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、赤外線通信などの光通信方式で使用される光受信回路、およびそれを備えた電子機器に関するものである。   The present invention relates to an optical receiver circuit used in an optical communication system such as infrared communication, and an electronic device including the same.

従来、光通信機能を有する受信機の信号受信部分には、光信号データや制御信号を受信するための回路として、光受信増幅回路が備えられている。ところが、光受信増幅回路において、信号光以外の内部雑音や蛍光灯ノイズなどの影響を受け、光受信増幅回路が誤パルスや不要パルスを出力してしまう事態が発生し、後段の復調回路にて復調に支障をきたす場合がある。特に普及している赤外線リモコンから送信された光信号を受信する受信機(以下、赤外線リモコン受信機と称す)においては、深刻な問題となっている。   Conventionally, a signal receiving portion of a receiver having an optical communication function has been provided with an optical reception amplification circuit as a circuit for receiving optical signal data and control signals. However, in the optical receiving amplifier circuit, there is a situation where the optical receiving amplifier circuit outputs an erroneous pulse or an unnecessary pulse under the influence of internal noise other than signal light or fluorescent lamp noise. It may interfere with demodulation. In particular, a receiver that receives an optical signal transmitted from a widely used infrared remote controller (hereinafter referred to as an infrared remote controller receiver) is a serious problem.

以下に、赤外線リモコン受信機を例に挙げて、上記問題に対策した光受信増幅回路の構成について説明する。   Hereinafter, the configuration of an optical reception amplification circuit that takes measures against the above problem will be described by taking an infrared remote control receiver as an example.

図13は、赤外線リモコン受信機に備えられる、アナログ方式の従来の光受信増幅回路の構成を示す回路ブロック図である。図14は、図13に示した光受信増幅回路における各部の出力信号の波形を示している。   FIG. 13 is a circuit block diagram showing a configuration of a conventional analog optical reception amplifier circuit provided in an infrared remote control receiver. FIG. 14 shows the waveform of the output signal of each part in the optical reception amplifier circuit shown in FIG.

従来の赤外線リモコン受信機に搭載される受信システムは、一般的に、送信されてくる赤外線信号をフォトダイオードチップにて受光すると、フォトダイオードチップから流れてくる入力信号電流i_inを、集積化された受信チップで復調して出力端子OUTから出力するように構成されている。出力端子OUTは、後段の、赤外線リモコン受信機自体を制御するマイコンなどに接続される。   A receiving system mounted on a conventional infrared remote control receiver generally integrates an input signal current i_in flowing from a photodiode chip when a transmitted infrared signal is received by the photodiode chip. The receiver chip demodulates and outputs from the output terminal OUT. The output terminal OUT is connected to a microcomputer that controls the infrared remote control receiver itself at the subsequent stage.

入力信号電流i_inは、図14に示すような、30KHz〜60KHz程度の決められたキャリアで変調されたASK信号である。一般的に、入力信号電流i_inは、38KHzのキャリアで変調されている。図13に示すように、受信チップでは、入力端子INに入力された入力信号電流i_inが、初段アンプ(HA)102、2段目アンプ(2ndAMP)104、および3段目アンプ(3ndAMP)105の順番で増幅され、キャリアの周波数に合わせたバンドパスフィルタ(BPF)106にてキャリア成分が抽出される。そして、バンドパスフィルタ106から、図14に示すような抽出信号bpf_outが出力される。そして、次段の検波回路107にてキャリアが検出され、キャリア検出信号Detと抽出信号bpf_outをそのまま通した信号Sigとが、積分回路108に出力される。   The input signal current i_in is an ASK signal modulated by a predetermined carrier of about 30 KHz to 60 KHz as shown in FIG. Generally, the input signal current i_in is modulated with a carrier of 38 KHz. As shown in FIG. 13, in the receiving chip, the input signal current i_in input to the input terminal IN is supplied from the first stage amplifier (HA) 102, the second stage amplifier (2ndAMP) 104, and the third stage amplifier (3ndAMP) 105. A carrier component is extracted by a band pass filter (BPF) 106 that is amplified in order and matched to the frequency of the carrier. Then, the bandpass filter 106 outputs an extraction signal bpf_out as shown in FIG. Then, a carrier is detected by the detection circuit 107 at the next stage, and a signal Sig obtained by passing the carrier detection signal Det and the extraction signal bpf_out as they are is output to the integration circuit 108.

次いで、図14に示すように、積分回路108にてキャリアのある時間が積分されて積分信号Intが出力され、ヒステリシスコンパレータ回路109にてキャリアの有無が判別されることにより、キャリアの有無に応じて波形が整形される。そして、最終的に、図14に示すようなパルス信号が出力端子OUTから出力される。このように、受信チップは、入力された入力信号電流i_inを、パルス信号として出力する。なお、バンドパスフィルタの中心周波数は、テスト工程でトリミングを行うことにより調整される。   Next, as shown in FIG. 14, the integration circuit 108 integrates a certain time of the carrier and outputs an integration signal Int, and the hysteresis comparator circuit 109 discriminates the presence or absence of the carrier, thereby depending on the presence or absence of the carrier. The waveform is shaped. Finally, a pulse signal as shown in FIG. 14 is output from the output terminal OUT. Thus, the receiving chip outputs the input signal current i_in that has been input as a pulse signal. The center frequency of the bandpass filter is adjusted by performing trimming in the test process.

ここで、上述したノイズの影響を極力抑制するために、光受信増幅回路では、初段アンプ102の入力と出力とを帰還するように接続される自動ゲイン制御回路(AGC)103を備えている。これにより、初段アンプ102のゲインを自動的に制御することによって、ノイズの影響を抑制している。その詳細な制御方法としては以下のようになる。
(1)ノイズが大きい場合ゲインを下げる。また、ノイズが小さい場合ゲインを上げる。
(2)不安定なノイズに対して、光受信増幅回路の状態が不安定にならないように、充分長い時定数を持たせる。例えば、赤外線リモコン受信機の場合は通常数秒以上となる。
Here, in order to suppress the influence of the noise described above as much as possible, the optical reception amplification circuit includes an automatic gain control circuit (AGC) 103 connected so as to feed back the input and output of the first stage amplifier 102. Thus, the influence of noise is suppressed by automatically controlling the gain of the first stage amplifier 102. The detailed control method is as follows.
(1) If the noise is large, decrease the gain. If the noise is small, the gain is increased.
(2) A sufficiently long time constant is provided so that the state of the optical reception amplifier circuit does not become unstable against unstable noise. For example, in the case of an infrared remote control receiver, it usually takes several seconds or more.

しかしながら、光受信増幅回路では、上記の制御方法(2)において、長い時定数を持たせるようにしているため、光受信増幅回路に電源を投入した直後は、ゲインが所定の安定した状態になるまで時間がかかるという問題が発生している。   However, since the optical reception amplifier circuit has a long time constant in the above control method (2), the gain is in a predetermined stable state immediately after power is supplied to the optical reception amplifier circuit. The problem that it takes a long time has occurred.

上記時定数にかかる構成は、検波回路107が構成している。図15に、検波回路107の詳細な構成について示す。図15では、積分回路108の詳細な構成も示している。   The configuration relating to the time constant is configured by the detection circuit 107. FIG. 15 shows a detailed configuration of the detection circuit 107. FIG. 15 also shows a detailed configuration of the integrating circuit 108.

検波回路107は、オペアンプ111、オペアンプ111の非反転入力端子と出力端子との間に設けられるダイオード112、および、オペアンプ111の出力端子と接地との間に設けられるコンデンサ113により構成されている。また、オペアンプ111は、非反転入力端子にバンドパスフィルタ106の出力端子が接続され、出力信号は負帰還されている。   The detection circuit 107 includes an operational amplifier 111, a diode 112 provided between the non-inverting input terminal and the output terminal of the operational amplifier 111, and a capacitor 113 provided between the output terminal of the operational amplifier 111 and the ground. In the operational amplifier 111, the output terminal of the band pass filter 106 is connected to the non-inverting input terminal, and the output signal is negatively fed back.

また、積分回路108は、オペアンプ114、および、オペアンプ114の出力端子と接地との間に設けられるコンデンサ115により構成されている。また、オペアンプ114は、反転入力端子に検波回路107のオペアンプ111の出力端子が接続され、非反転入力端子にバンドパスフィルタ106の出力端子が接続され、出力端子はヒステリシスコンパレータ回路109の入力端子に接続されている。   The integrating circuit 108 includes an operational amplifier 114 and a capacitor 115 provided between the output terminal of the operational amplifier 114 and the ground. The operational amplifier 114 has an inverting input terminal connected to the output terminal of the operational amplifier 111 of the detection circuit 107, a non-inverting input terminal connected to the output terminal of the bandpass filter 106, and an output terminal connected to the input terminal of the hysteresis comparator circuit 109. It is connected.

上記の構成によれば、電源投入直後、オペアンプ111から信号が出力されると、時定数に従ってコンデンサ113は充電され所定の電圧となる。コンデンサ113が所定の電圧になると、積分回路108のオペアンプ114に、キャリア検出レベルを示すキャリア検出信号Detが入力される。   According to the above configuration, when a signal is output from the operational amplifier 111 immediately after the power is turned on, the capacitor 113 is charged according to the time constant and becomes a predetermined voltage. When the capacitor 113 reaches a predetermined voltage, the carrier detection signal Det indicating the carrier detection level is input to the operational amplifier 114 of the integration circuit 108.

検波回路107は、キャリア検出レベルを信号やノイズの状態に合わせて、長い時定数で変動させるように設定されている。しかし、時定数が長く、充電電流が少ないと、コンデンサ113が所定の電圧になるまで時間がかかってしまう。そのため、検波回路107には、電源投入時のみ時定数を早くするようなシステム、すなわち、コンデンサ113を急速に充電するためのダイオード112が備えられている。これにより、回路に電源を投入した直後の時定数を短くして、コンデンサ113が所定の電圧になるまでの時間を短縮している。   The detection circuit 107 is set to vary the carrier detection level with a long time constant in accordance with the state of the signal and noise. However, if the time constant is long and the charging current is small, it takes time until the capacitor 113 reaches a predetermined voltage. For this reason, the detection circuit 107 is provided with a system for increasing the time constant only when the power is turned on, that is, a diode 112 for rapidly charging the capacitor 113. As a result, the time constant immediately after the power is supplied to the circuit is shortened, and the time until the capacitor 113 reaches a predetermined voltage is shortened.

また、アナログ式の光受信増幅回路が、電源投入直後に、時定数を決めるコンデンサに電圧を与えて、急速に充電させることにより時定数を短くする充電回路などを備える構成は、例えば、特許文献1および特許文献2などにも記載されている。   In addition, a configuration in which an analog optical reception amplification circuit includes a charging circuit that shortens a time constant by applying a voltage to a capacitor that determines a time constant immediately after power-on to quickly charge the capacitor is disclosed in, for example, Patent Literature 1 and Patent Document 2 and the like.

しかしながら、上記の制御方法(2)に示したように、光受信増幅回路の状態が不安定にならないように、充分長い時定数を持たせることは必要である。ところが、長い時定数も制御するゲイン制御回路を集積化して設計することは、アナログ回路では大変難しい。そのため、近年では、デジタル的な制御(デジタルコントロール)を行って、ゲインの状態を保持することにより、長い時定数によるゲイン制御を行う方法が提案されている。   However, as shown in the above control method (2), it is necessary to provide a sufficiently long time constant so that the state of the optical reception amplifier circuit does not become unstable. However, it is very difficult for an analog circuit to design an integrated gain control circuit that also controls a long time constant. Therefore, in recent years, there has been proposed a method of performing gain control with a long time constant by performing digital control (digital control) and maintaining the gain state.

次いで、このデジタルコントロールを行う光受信増幅回路の構成について説明する。   Next, the configuration of an optical reception amplifier circuit that performs this digital control will be described.

図16は、赤外線リモコン受信機に備えられる、デジタル方式の従来の光受信増幅回路の構成を示す回路ブロック図である。   FIG. 16 is a circuit block diagram showing a configuration of a conventional digital optical receiver amplifier circuit provided in the infrared remote control receiver.

図16に示す受信システムにおける、フォトダイオードチップからの光電流信号i_inを受けて、受信チップにて出力処理を行った後、出力端子OUTにパルス信号を出力する基本構成は、図13に示した受信システムの構成と同じであるが、増幅部のゲインをデジタル的に制御するデジタルブロック部210を備える点で異なっている。   The basic configuration for receiving the photocurrent signal i_in from the photodiode chip in the receiving system shown in FIG. 16, performing output processing at the receiving chip, and then outputting a pulse signal to the output terminal OUT is shown in FIG. 13. Although it is the same as the structure of a receiving system, it differs by the point provided with the digital block part 210 which controls the gain of an amplifier digitally.

光受信増幅回路は、図16に示すように、フォトダイオード101、初段アンプ202、利得可変アンプ(CGA)203、バンドパスフィルタ204、検波回路205、積分回路206、ヒステリシスコンパレータ回路207、電圧Vth1を発生する電流源208、電圧Vth2を発生する電流源209、デジタルブロック部210、および発振器211を備えている。   As shown in FIG. 16, the optical reception amplification circuit includes a photodiode 101, a first stage amplifier 202, a variable gain amplifier (CGA) 203, a band pass filter 204, a detection circuit 205, an integration circuit 206, a hysteresis comparator circuit 207, and a voltage Vth1. A current source 208 for generating voltage, a current source 209 for generating voltage Vth2, a digital block unit 210, and an oscillator 211 are provided.

受信チップでは、入力端子INに入力された入力信号電流i_inが、初段アンプ202にて増幅され電圧信号として出力され、コンデンサを通り、利得可変アンプ203にて、設定されているゲインに従って増幅される。利得可変アンプ203から出力された信号は、コンデンサ通り、バンドパスフィルタ204にてキャリア成分が抽出され、抽出信号BPF_outとして出力される。そして、次段の検波回路205にてキャリアが検出され、キャリア検出信号Detと抽出信号bpf_outをそのまま通した信号Sigとが、積分回路206に出力される。   In the receiving chip, the input signal current i_in input to the input terminal IN is amplified by the first-stage amplifier 202 and output as a voltage signal, passes through the capacitor, and is amplified by the variable gain amplifier 203 according to the set gain. . From the signal output from the variable gain amplifier 203, the carrier component is extracted by the band pass filter 204 through the capacitor, and output as the extracted signal BPF_out. Then, a carrier is detected by the detection circuit 205 at the next stage, and a signal Sig obtained by passing the carrier detection signal Det and the extraction signal bpf_out as it is is output to the integration circuit 206.

次いで、積分回路206にてキャリアのある時間が積分されて、ヒステリシスコンパレータ回路207にてキャリアの有無が判別されることにより、キャリアの有無に応じて波形が整形される。そして、最終的に、パルス信号が出力端子OUTから出力される。このように、受信チップは、入力された入力信号電流i_inを、パルス信号として出力する。   Next, the integration circuit 206 integrates the carrier time, and the hysteresis comparator circuit 207 determines the presence / absence of the carrier, thereby shaping the waveform according to the presence / absence of the carrier. Finally, a pulse signal is output from the output terminal OUT. Thus, the receiving chip outputs the input signal current i_in that has been input as a pulse signal.

また、不要なノイズが連続的に入射された場合には、デジタルブロック部210が、利得可変アンプ203のゲインを下げ、ノイズを出力端子OUTに出力させないように制御している。また、不要なノイズが検出されない場合には、デジタルブロック部210が、利得可変アンプ203のゲインを上げることにより、その受信環境下での最大の感度となるように制御している。   When unnecessary noise is continuously incident, the digital block unit 210 controls the gain of the variable gain amplifier 203 to be reduced so that the noise is not output to the output terminal OUT. When unnecessary noise is not detected, the digital block unit 210 controls the gain of the variable gain amplifier 203 to increase so that the maximum sensitivity under the reception environment is obtained.

ここで、図16〜18を参照しながら、デジタルブロック部210の制御方法をさらに詳しく説明する。   Here, the control method of the digital block unit 210 will be described in more detail with reference to FIGS.

図17は、デジタルブロック部210の詳細な構成を示すブロック図である。図18は、デジタルブロック部210における各部の出力信号の波形を示している。   FIG. 17 is a block diagram showing a detailed configuration of the digital block unit 210. FIG. 18 shows the waveform of the output signal of each part in the digital block unit 210.

先に、検波回路205の構成にて説明する。検波回路205には、電圧Vth1を発生する電流源208と、電圧Vth1よりも大きい電圧Vth2を発生する電流源209とが接続されており、この2つの電圧が供給されている。また、検波回路205には、この2つの電圧を閾値として利用することにより、2つの検出レベルが設定されている。検波回路205は、2つの閾値に基づいて、信号の有無を検出する。そして、検波回路205は、2つの閾値と比較した検出結果を示す検出信号を、デジタルブロック部210の端子D_in1および端子D_in2にそれぞれ出力する。   First, the configuration of the detection circuit 205 will be described. The detection circuit 205 is connected to a current source 208 that generates the voltage Vth1 and a current source 209 that generates a voltage Vth2 that is larger than the voltage Vth1, and these two voltages are supplied. In addition, two detection levels are set in the detection circuit 205 by using these two voltages as threshold values. The detection circuit 205 detects the presence or absence of a signal based on two threshold values. Then, the detection circuit 205 outputs detection signals indicating detection results compared with the two threshold values to the terminal D_in1 and the terminal D_in2 of the digital block unit 210, respectively.

デジタルブロック部210は、端子D_in1および端子D_in2に入力される検出信号により処理した結果に基づいて、ゲインを制御するための制御信号AGCを、端子AGC_outから利得可変アンプ203に出力する。これにより、デジタルブロック部210は、利得可変アンプ203のゲインを自動的に制御している。また、デジタルブロック部210は、その端子CLKに、発振器211から発振されるクロック信号が供給されている。   The digital block unit 210 outputs a control signal AGC for controlling the gain from the terminal AGC_out to the variable gain amplifier 203 based on the result processed by the detection signals input to the terminals D_in1 and D_in2. As a result, the digital block unit 210 automatically controls the gain of the variable gain amplifier 203. The digital block unit 210 is supplied with a clock signal oscillated from the oscillator 211 at its terminal CLK.

詳細には、デジタルブロック部210は、図17に示すように、端子D_in1からの検出信号が入力されるパルスカウンター(Pulse Counter)221、端子D_in2からの検出信号が入力されるタイマー(Timer)222、パルスカウンター221の出力信号およびタイマー222の出力信号が入力されるデコーダー(Decoder)223、および、デコーダー223からの出力信号が入力される出力処理回路224により構成されている。デジタルブロック部210は、パルスカウンター221とタイマー222とを組み合わせて、ゲイン制御を行っている。   Specifically, as shown in FIG. 17, the digital block unit 210 includes a pulse counter 221 to which a detection signal from the terminal D_in1 is input, and a timer 222 to which the detection signal from the terminal D_in2 is input. A decoder 223 to which an output signal from the pulse counter 221 and an output signal from the timer 222 are input, and an output processing circuit 224 to which an output signal from the decoder 223 is input. The digital block unit 210 performs gain control by combining the pulse counter 221 and the timer 222.

図18に示すような入力信号電流i_inが入力端子INに入力され、各部を通って、バンドパスフィルタ204から図18に示すような抽出信号bpf_outとして出力されて、検波回路205に入力されるとする。   When an input signal current i_in as shown in FIG. 18 is input to the input terminal IN, passes through each part, is output as an extraction signal bpf_out as shown in FIG. 18 from the bandpass filter 204, and is input to the detection circuit 205. To do.

検波回路205は、先ず、抽出信号bpf_outを、電圧Vth1を閾値(以下、閾値Vth1と記す)として用いて比較する。検波回路205は、信号およびノイズを閾値Vth1で検出すると、検出信号をデジタルブロック部210の端子D_in1に出力する。この検波回路205からデジタルブロック部210に出力される検出信号はパルス信号として出力される。   First, the detection circuit 205 compares the extracted signal bpf_out using the voltage Vth1 as a threshold value (hereinafter referred to as the threshold value Vth1). When the detection circuit 205 detects the signal and the noise with the threshold value Vth1, the detection circuit 205 outputs a detection signal to the terminal D_in1 of the digital block unit 210. The detection signal output from the detection circuit 205 to the digital block unit 210 is output as a pulse signal.

パルスカウンター221は、端子D_in1に検出信号が入力される度に、パルスをカウントする。そして、パルスカウンター221は、パルスをN回カウントする毎に、判定信号をデコーダー223に出力する。   The pulse counter 221 counts a pulse every time a detection signal is input to the terminal D_in1. The pulse counter 221 outputs a determination signal to the decoder 223 every time the pulse is counted N times.

デコーダー223は、パルスカウンター221からの判定信号を受けると、この判定信号を、所定の割合(XdB)でゲインをダウン(DOWN)させるための信号として判定し、出力処理回路224に判定結果を示す指示信号を出力する。   Upon receiving the determination signal from the pulse counter 221, the decoder 223 determines this determination signal as a signal for reducing the gain (DOWN) at a predetermined rate (X dB), and indicates the determination result to the output processing circuit 224. An instruction signal is output.

出力処理回路224は、デコーダー223から出力された指示信号に基づいて、利得可変アンプ203のゲインを下げるための制御信号を作成し、端子AGC_outから利得可変アンプ203に出力する。なお、出力処理回路224は、ゲイン制御のレベルをカウントし、D/Aコンバータとしての機能を有している。すなわち、上記制御信号は、アナログ信号に変換された後出力される。   The output processing circuit 224 creates a control signal for reducing the gain of the variable gain amplifier 203 based on the instruction signal output from the decoder 223 and outputs the control signal to the variable gain amplifier 203 from the terminal AGC_out. The output processing circuit 224 counts the gain control level and has a function as a D / A converter. That is, the control signal is output after being converted into an analog signal.

これにより、利得可変アンプ203のゲインは、所定の割合で自動的に下がるように制御される。すなわち、検波回路205にて閾値Vth1で検出される信号およびノイズは、全てノイズとみなし、デジタルブロック部210は、所定の回数を計測する毎に、利得可変アンプ203のゲインを自動的に下げている。   As a result, the gain of the variable gain amplifier 203 is controlled to automatically decrease at a predetermined rate. That is, the signal and noise detected by the detection circuit 205 at the threshold value Vth1 are all regarded as noise, and the digital block unit 210 automatically decreases the gain of the variable gain amplifier 203 every time a predetermined number of times is measured. Yes.

一方、デジタルブロック部210のタイマー222は、光受信増幅回路が動作している間常に時間をカウントして、時間Tupの周期でタイミング信号をデコーダー223に出力している。   On the other hand, the timer 222 of the digital block unit 210 always counts time while the optical reception amplifier circuit is operating, and outputs a timing signal to the decoder 223 at a period of time Tup.

デコーダー223は、タイマー222からタイミング信号が出力されてから、次のタイミング信号が出力されるまでの間、パルスカウンター221から判定信号が出力されなければ(検波回路205が閾値Vth1で何も検出しなければ)、所定の割合(XdB)でゲインをアップ(UP)することを決定し、出力処理回路224に決定結果を示す指示信号を出力する。   If the determination signal is not output from the pulse counter 221 after the timing signal is output from the timer 222 until the next timing signal is output (the detection circuit 205 detects nothing with the threshold Vth1). If not, it is determined to increase (UP) the gain at a predetermined ratio (X dB), and an instruction signal indicating the determination result is output to the output processing circuit 224.

出力処理回路224は、デコーダー223から出力された指示信号に基づいて、利得可変アンプ203のゲインを上げるための制御信号を作成し、端子AGC_outから利得可変アンプ203に出力する。   The output processing circuit 224 creates a control signal for increasing the gain of the variable gain amplifier 203 based on the instruction signal output from the decoder 223 and outputs the control signal to the variable gain amplifier 203 from the terminal AGC_out.

これにより、利得可変アンプ203のゲインは、所定の割合で自動的に上がるように制御される。すなわち、検波回路205にて閾値Vth1で何も検出されない場合は、デジタルブロック部210は、時間Tupの周期で、利得可変アンプ203のゲインを自動的に上げている。   As a result, the gain of the variable gain amplifier 203 is controlled to automatically increase at a predetermined rate. That is, when nothing is detected by the detection circuit 205 with the threshold value Vth1, the digital block unit 210 automatically increases the gain of the variable gain amplifier 203 in a period of time Tup.

また、検波回路205は、抽出信号bpf_outを、電圧Vth2も閾値(以下、閾値Vth2と記す)として用いて比較している。検波回路205は、信号およびノイズを閾値Vth2(Vth2>Vth1)で検出すると、検出信号をデジタルブロック部210の端子D_in2に出力する。   Further, the detection circuit 205 compares the extracted signal bpf_out using the voltage Vth2 as a threshold value (hereinafter referred to as the threshold value Vth2). When the detection circuit 205 detects the signal and the noise with the threshold value Vth2 (Vth2> Vth1), the detection circuit 205 outputs a detection signal to the terminal D_in2 of the digital block unit 210.

タイマー222は、端子D_in2に接続されるリセット端子Resetを有しており、端子D_in2に検出信号が入力されると、カウントしている時間をリセットする。そして、時間のカウントを再スタートする。   The timer 222 has a reset terminal Reset connected to the terminal D_in2. When a detection signal is input to the terminal D_in2, the timer 222 resets the counting time. Then, the time count is restarted.

これにより、検波回路205にて閾値Vth2で信号およびノイズが検出される間は、リセットがかかるのでゲインUPが行われない。また、検波回路205にて閾値Vth2で信号およびノイズが検出される間のみ、検波回路205はキャリア検出信号Detと出力信号bpf_outをそのまま通した信号Sigとを積分回路206に出力するので、出力端子OUTからパルス信号が出力される。   As a result, while the detection circuit 205 detects a signal and noise at the threshold value Vth2, a reset is applied, so that the gain is not increased. Further, only when the signal and noise are detected by the detection circuit 205 at the threshold value Vth2, the detection circuit 205 outputs the carrier detection signal Det and the signal Sig that has passed the output signal bpf_out as it is to the integration circuit 206. A pulse signal is output from OUT.

また、検波回路205が、閾値Vth2を越える信号およびノイズを検出している間では、当然閾値Vth1を超えていることも検出しているので、検波回路205は端子D_in1に検出信号を出力している。これにより、端子D_in1に検出信号が入り続けて、パルスカウンター221がカウントし続けているため、デジタルブロック部210は、パルスをN回カウントする毎に、所定の割合でゲインDOWNするようにゲインを自動的に制御する。   In addition, while the detection circuit 205 detects a signal and noise exceeding the threshold value Vth2, since the detection circuit 205 also detects that the threshold value Vth1 is exceeded, the detection circuit 205 outputs a detection signal to the terminal D_in1. Yes. As a result, since the detection signal continues to enter the terminal D_in1 and the pulse counter 221 continues to count, the digital block unit 210 increases the gain so that the gain is DOWN at a predetermined rate every time the pulse is counted N times. Control automatically.

よって、信号やノイズを連続的に受け続けると、図18に示すように、最終的には、出力端子OUTにパルス信号が出力されなくなる。これにより、ノイズが大きい環境下でも、受信チップの出力端子OUTから不要なパルス信号を出力しないシステムとしている。   Therefore, if the signal and noise are continuously received, the pulse signal is finally not output to the output terminal OUT as shown in FIG. Thus, the system does not output an unnecessary pulse signal from the output terminal OUT of the receiving chip even under a noisy environment.

以上、デジタルブロック部210の制御方法において、検波回路205の検出に応じたゲインの制御についてまとめたものを、表1に示す。   Table 1 shows a summary of gain control according to detection by the detection circuit 205 in the control method of the digital block unit 210.

Figure 2009071543
Figure 2009071543

つまりは、光受信増幅回路に入力される信号として、予めわかっている信号レベルを閾値Vth2に設定する。すなわち、閾値Vth2は信号検出用として設定される。そして、上記信号レベルよりも小さいレベルのノイズが入力された場合に、単に、利得可変アンプ203のゲインを上げるのではなく、この場合はノイズとみなしてゲインを上げることを防止するために、ノイズ検出用として、閾値Vth2よりも小さい閾値Vth1を設定している。入力信号がない場合は、ゲイン制御は状態A−B間となり、入力信号がある場合は、その大きさによって、ゲイン制御は状態A−C間となる。
特開平5−14089号公報(1993年1月22日公開) 特開平6−77901号公報(1994年3月18日公開)
That is, a signal level known in advance as a signal input to the optical reception amplifier circuit is set to the threshold value Vth2. That is, the threshold value Vth2 is set for signal detection. When noise having a level smaller than the above signal level is input, the gain of the variable gain amplifier 203 is not simply increased. In this case, the noise is considered to be regarded as noise to prevent the gain from being increased. For detection, a threshold value Vth1 smaller than the threshold value Vth2 is set. When there is no input signal, the gain control is between the states A and B, and when there is an input signal, the gain control is between the states A and C depending on the magnitude.
Japanese Patent Laid-Open No. 5-14089 (published January 22, 1993) JP-A-6-77901 (published March 18, 1994)

しかしながら、図16に示した光受信増幅回路においても、光受信増幅回路に電源を投入した直後は、ゲインが所定の安定した状態になるまで時間がかかるという問題点を有している。つまりは、電源を投入した後、ゲインと閾値との関係が最適になるようにつりあうまでに長い時間を要する。   However, the optical reception amplification circuit shown in FIG. 16 also has a problem that it takes time until the gain becomes a predetermined stable state immediately after the power is supplied to the optical reception amplification circuit. In other words, it takes a long time for the balance between the gain and the threshold to be optimized after the power is turned on.

また、電源投入直後の初期ゲインは、半導体のプロセスやトランジスタのサイズに依存してばらつき易いという問題がある。初期ゲインがばらつくと、電源を投入してからゲインが最適な状態になるまでに長い時間がかかるデバイスと、そうでないデバイスとが生じ、デバイス間のばらつきも出てくる。ばらつきを低減するために大きなサイズのトランジスタを使用する方法があるが、それは、半導体ICのチップサイズの拡大となり、コストアップにつながるため問題となる。   Further, there is a problem that the initial gain immediately after power-on is likely to vary depending on the semiconductor process and the transistor size. If the initial gain varies, a device that takes a long time from when the power is turned on until the gain reaches an optimal state and a device that does not take a long time are generated, and variations between devices also occur. There is a method of using a transistor with a large size in order to reduce the variation, but this becomes a problem because it increases the chip size of the semiconductor IC and leads to an increase in cost.

図19〜22を参照しながら、光受信増幅回路に電源を投入した直後は、ゲインが所定の安定した状態になるまで時間がかかるという点について説明する。なお、理解し易くするために、抽出信号BPF_outが所定値に安定するまで、ゲインは単純に上昇または下降するように制御され、抽出信号BPF_outが検出レベルを超えると、出力端子OUTからパルス信号が出力される場合とする。   With reference to FIGS. 19 to 22, a description will be given of the fact that it takes time until the gain becomes a predetermined stable state immediately after the optical receiving amplifier circuit is turned on. For easy understanding, the gain is simply controlled to increase or decrease until the extraction signal BPF_out stabilizes to a predetermined value. When the extraction signal BPF_out exceeds the detection level, a pulse signal is output from the output terminal OUT. Suppose that it is output.

図19は、電源投入と同時に、決められた強さの信号が入力されたときの、抽出信号BPF_outの波形イメージ(図中のBPF出力波形)と、出力端子OUTから出力されるパルス信号の波形イメージ(図中の受信出力)とを示している。図19では、時間50msec程度の信号コードが付加された複数のパケットを1秒くらいの周期で入力した場合の、電源投入からの挙動イメージを示している。   FIG. 19 shows the waveform image of the extracted signal BPF_out (BPF output waveform in the figure) and the waveform of the pulse signal output from the output terminal OUT when a signal having a predetermined strength is input simultaneously with power-on. An image (reception output in the figure) is shown. FIG. 19 shows a behavior image after power-on when a plurality of packets to which a signal code of about 50 msec is added are input at a cycle of about 1 second.

図19を参照すると、電源を投入した直後から、バンドパスフィルタ204から抽出信号BPF_outが出力されている。また、抽出信号BPF_outは、利得可変アンプ203の制御されているゲインに従って増幅されている。そして、抽出信号BPF_outが検出レベルを超えた時点で、出力端子OUTからパルス信号が出力される。   Referring to FIG. 19, the extraction signal BPF_out is output from the band pass filter 204 immediately after the power is turned on. The extracted signal BPF_out is amplified according to the gain controlled by the variable gain amplifier 203. Then, when the extraction signal BPF_out exceeds the detection level, a pulse signal is output from the output terminal OUT.

図19と同様の表現で、電源投入直後の初期ゲインが、標準的な場合を図20に示し、小さい場合を図21に示し、大きい場合を図22に示す。   In the same expression as FIG. 19, FIG. 20 shows a standard initial gain immediately after power-on, FIG. 21 shows a small initial gain, and FIG. 22 shows a large initial gain.

図20に示す場合、電源を投入した直後から、抽出信号BPF_outの振幅は検出レベルを超えて、出力端子OUTからパルス信号が出力される。ゆえに、初期ゲインが正常であることがわかる。また、図22に示す場合、電源投入直後のゲインが大きいため、抽出信号BPF_outの振幅が大きい。抽出信号BPF_outは、検出レベルを超えているので、出力端子OUTからパルス信号が出力される。ゆえに、初期ゲインが正常であることがわかる。   In the case shown in FIG. 20, immediately after the power is turned on, the amplitude of the extraction signal BPF_out exceeds the detection level, and a pulse signal is output from the output terminal OUT. Therefore, it can be seen that the initial gain is normal. In the case shown in FIG. 22, since the gain immediately after power-on is large, the amplitude of the extraction signal BPF_out is large. Since the extraction signal BPF_out exceeds the detection level, a pulse signal is output from the output terminal OUT. Therefore, it can be seen that the initial gain is normal.

一方、図21に示す場合、電源投入直後のゲインが小さいため、抽出信号BPF_outの振幅が小さい。抽出信号BPF_outが所定値に安定するまでは、ゲインはゆっくりと上昇する。そして、徐々に抽出信号BPF_outの振幅が大きくなり、検出レベルを超えた時点で、出力端子OUTからパルス信号が出力される。   On the other hand, in the case shown in FIG. 21, since the gain immediately after power-on is small, the amplitude of the extraction signal BPF_out is small. The gain increases slowly until the extraction signal BPF_out is stabilized at a predetermined value. Then, when the amplitude of the extraction signal BPF_out gradually increases and exceeds the detection level, a pulse signal is output from the output terminal OUT.

しかしながら、電源投入直後のゲインが小さい場合、電源を投入してから、初期ゲインが所定のゲインになるまで、時間がかかりすぎてしまう。この時間は数秒から十数秒である。予め、この時定数を短く設定することにより、早い時間(例えば、1秒以内)で所定のゲインに到達させることは可能である。しかし、逆に、ノイズを拾いやすくなるという問題がある上、所定のゲインに達した後に正規の信号を長時間(例えば、10秒以上)入力したときに、途中で正規の信号を受けられなくなるという問題がある。   However, when the gain immediately after the power is turned on is small, it takes too much time until the initial gain becomes a predetermined gain after the power is turned on. This time is from a few seconds to a few dozen seconds. By setting the time constant short in advance, it is possible to reach a predetermined gain in an early time (for example, within 1 second). However, on the contrary, there is a problem that it becomes easy to pick up noise, and when a regular signal is input for a long time (for example, 10 seconds or more) after reaching a predetermined gain, the regular signal cannot be received midway. There is a problem.

なお、上記では赤外線リモコン受信機の光受信増幅回路について説明したが、赤外線リモコン受信機のみならず、高感度での受光増幅を必要とし空間から光信号を受けるシステム、例えば、光空間データ伝送などにおいても同様の問題を有している。   In the above, the optical reception amplification circuit of the infrared remote control receiver has been described. However, not only the infrared remote control receiver but also a system that requires light amplification with high sensitivity and receives an optical signal from space, such as optical spatial data transmission Has the same problem.

本発明は、上記従来の問題点に鑑みなされたものであって、その目的は、電源投入直後の初期ゲインが、所定のゲインに安定するまでの時間を短縮することができる光受信回路、および電子機器を提供することにある。   The present invention has been made in view of the above-described conventional problems, and an object of the present invention is to provide an optical receiver circuit capable of shortening the time until the initial gain immediately after power-on is stabilized at a predetermined gain, and To provide electronic equipment.

本発明の光受信回路は、上記課題を解決するために、入力した光信号を電気信号に変換して出力する光電変換素子と、上記光電変換素子から出力される電気信号を増幅する増幅回路と、デジタル信号を用いて処理した結果に基づいて上記増幅回路のゲインを制御するデジタル制御回路とを備える光受信回路において、上記デジタル制御回路は、電源を投入した直後から所定の時間までの間は、第1の時定数により上記増幅回路のゲインを制御し、上記所定の時間が経過した後は、上記第1の時定数よりも長い第2の時定数により上記増幅回路のゲインを制御することを特徴としている。   In order to solve the above-described problems, an optical receiver circuit of the present invention converts an input optical signal into an electrical signal and outputs the photoelectric signal, and an amplification circuit that amplifies the electrical signal output from the photoelectric conversion element. And an optical receiver circuit including a digital control circuit that controls the gain of the amplifier circuit based on a result of processing using the digital signal. The digital control circuit is in a period from immediately after turning on the power to a predetermined time. The gain of the amplifier circuit is controlled by a first time constant, and the gain of the amplifier circuit is controlled by a second time constant longer than the first time constant after the predetermined time has elapsed. It is characterized by.

従来、増幅回路の初期ゲインが小さい場合、電源を投入した直後では、初期ゲインから安定した状態となる所定のゲインになるまで、通常時に用いる一定の長い時定数に従ってゆっくりと上昇するため、時間が掛かり過ぎるという問題があった。   Conventionally, when the initial gain of the amplifier circuit is small, immediately after the power is turned on, it slowly rises according to a constant long time constant used in normal time until the gain reaches a predetermined state that is stable from the initial gain. There was a problem that it took too much.

これに対し、上記の構成によれば、デジタル制御回路は、電源を投入した直後から所定の時間までの間は、短い第1の時定数により増幅回路のゲインを制御するので、増幅回路のゲインが、電源投入直後の初期ゲインから安定した状態となる所定のゲインになるまでの時間を短縮することが可能となる。また、デジタル制御回路は、所定の時間が経過した後は、第1の時定数よりも長い第2の時定数により増幅回路のゲインを制御するので、通常時は、ゲインをゆるやかに制御することが可能となる。   On the other hand, according to the above configuration, the digital control circuit controls the gain of the amplifier circuit with the short first time constant immediately after the power is turned on until a predetermined time. However, it is possible to reduce the time from the initial gain immediately after power-on to the predetermined gain that is stable. In addition, since the digital control circuit controls the gain of the amplifier circuit with a second time constant longer than the first time constant after a predetermined time has elapsed, the gain should be controlled gently during normal times. Is possible.

また、本発明の光受信回路は、上記増幅回路から出力された信号を、ノイズを検出するための第1の検出レベル、および、光受信回路から出力する信号を検出するための、第1の検出レベルよりも大きい第2の検出レベルにより検出すると、上記デジタル制御回路にパルスを出力する信号検出回路をさらに備え、上記デジタル制御回路は、上記信号検出回路から出力されたパルスを計測するパルス計測回路と、上記パルス計測回路の計測結果に応じて、上記増幅回路のゲインを制御するための制御信号を出力する出力処理回路とを有し、上記パルス計測回路は、上記電源を投入した直後から所定の時間までの間と、上記所定の時間が経過した後とで、パルスの計測段数を切り替えることが好ましい。   The optical receiver circuit according to the present invention includes a first detection level for detecting noise from the signal output from the amplifier circuit, and a first signal for detecting a signal output from the optical receiver circuit. When detecting at a second detection level higher than the detection level, the digital control circuit further includes a signal detection circuit that outputs a pulse, and the digital control circuit measures a pulse output from the signal detection circuit. A circuit and an output processing circuit that outputs a control signal for controlling the gain of the amplifier circuit in accordance with the measurement result of the pulse measurement circuit, the pulse measurement circuit immediately after the power is turned on. It is preferable to switch the number of pulse measurement steps between a predetermined time and after the predetermined time has elapsed.

上記の構成によれば、上記パルス計測回路が、上記電源を投入した直後から所定の時間までの間と、上記所定の時間が経過した後とで、パルスの計測段数を切り替えることによって、第1の時定数および第2の時定数を容易に設定することが可能となる。例えば、段数を大きくするほど時定数は短くなり、段数を小さくするほど時定数は長くなる。   According to the above configuration, the pulse measurement circuit switches the number of pulse measurement stages between the time immediately after the power is turned on and the predetermined time and after the predetermined time has elapsed. It is possible to easily set the time constant and the second time constant. For example, the time constant decreases as the number of stages increases, and the time constant increases as the number of stages decreases.

また、パルス計測回路の段数を切り替えることによって、第1の時定数と第2の時定数とが切り替えられ、出力処理回路により、制御信号が増幅回路に出力されるので、デジタル制御回路は、増幅回路のゲインを制御する際、第1の時定数と第2の時定数とを容易に切り替えることが可能となる。   Further, the first time constant and the second time constant are switched by switching the number of stages of the pulse measurement circuit, and the control signal is output to the amplifier circuit by the output processing circuit. When controlling the gain of the circuit, it is possible to easily switch between the first time constant and the second time constant.

また、本発明の光受信回路は、上記デジタル制御回路にクロック信号を供給する発振器をさらに備え、上記発振器は、上記電源を投入した直後から所定の時間までの間と、上記所定の時間が経過した後とで、発振周波数を切り替えることが好ましい。   The optical receiving circuit of the present invention further includes an oscillator for supplying a clock signal to the digital control circuit, and the oscillator is between a time immediately after the power is turned on and a predetermined time and the predetermined time elapses. It is preferable to switch the oscillation frequency after and after.

上記の構成によれば、上記発振器が、上記電源を投入した直後から所定の時間までの間と、上記所定の時間が経過した後とで、発振周波数を切り替えることによって、第1の時定数および第2の時定数を容易に設定することが可能となる。例えば、発振周波数を高くするほど時定数は短くなり、発振周波数を低くするほど時定数は長くなる。   According to the above configuration, the oscillator switches the oscillation frequency between immediately after the power is turned on and after a predetermined time and after the predetermined time has elapsed, thereby allowing the first time constant and It is possible to easily set the second time constant. For example, the higher the oscillation frequency, the shorter the time constant, and the lower the oscillation frequency, the longer the time constant.

また、発振器の発振周波数を切り替えることによって、デジタル制御回路が増幅回路のゲインを制御する際の、第1の時定数と第2の時定数とを容易に切り替えることが可能となる。また、発振器の発振周波数を切り替えるだけであるので、デジタル制御回路の設計を変更する必要はない。   In addition, by switching the oscillation frequency of the oscillator, it is possible to easily switch between the first time constant and the second time constant when the digital control circuit controls the gain of the amplifier circuit. In addition, since only the oscillation frequency of the oscillator is switched, it is not necessary to change the design of the digital control circuit.

また、本発明の光受信回路は、上記所定の時間を計測するとともに、上記デジタル制御回路に上記所定の時間を通知する時定数制御回路をさらに備えることが好ましい。   The optical receiver circuit of the present invention preferably further includes a time constant control circuit that measures the predetermined time and notifies the digital control circuit of the predetermined time.

上記の構成によれば、時定数制御回路から所定の時間が通知されるので、デジタル制御回路は所定の時間を判別することが可能となる。よって、デジタル制御回路は、電源を投入した直後から所定の時間の間の動作を安定して行うことが可能となる。   According to the above configuration, since the predetermined time is notified from the time constant control circuit, the digital control circuit can determine the predetermined time. Therefore, the digital control circuit can stably perform an operation for a predetermined time immediately after the power is turned on.

また、本発明の光受信回路は、上記増幅回路から出力された信号を第3の検出レベルにより検出した時点で上記所定の時間を確定するとともに、上記デジタル制御回路に上記所定の時間を通知する時定数制御回路をさらに備えることが好ましい。   The optical receiving circuit of the present invention determines the predetermined time when the signal output from the amplifier circuit is detected by the third detection level, and notifies the digital control circuit of the predetermined time. It is preferable to further include a time constant control circuit.

上記の構成によれば、時定数制御回路から所定の時間が通知されるので、デジタル制御回路は所定の時間を判別することが可能となる。また、時定数制御回路は、増幅回路から出力された信号を基に所定の時間を確定するので、電源を投入した直後からの所定の時間を、デバイス毎に最適化することが可能となる。   According to the above configuration, since the predetermined time is notified from the time constant control circuit, the digital control circuit can determine the predetermined time. Further, since the time constant control circuit determines a predetermined time based on the signal output from the amplifier circuit, the predetermined time immediately after the power is turned on can be optimized for each device.

また、本発明の光受信回路は、上記第1の時定数は、5msec/dB以上かつ50msec/dB以下の範囲に設定されることが好ましい。   In the optical receiver circuit of the present invention, it is preferable that the first time constant is set in a range of 5 msec / dB to 50 msec / dB.

上記の構成によれば、電源を投入してから実際に光信号を受信するまでに、通常の使用で問題なく、増幅回路のゲインを安定した状態にしておくことが可能となる。例えば、一般家庭におけるTVを挙げると、操作者が、手動でTVの電源を入れた後、TVを見る位置まで移動してからTVのリモコンを使用する場合、この移動する時間は1秒以上と考えられる。それゆえ、1秒以内に増幅回路のゲインが安定すれば、実使用上問題ない。これに基づくと、1秒以内にゲインが安定するための時定数は、5msec/dB以上かつ50msec/dB以下の範囲となる。   According to the above configuration, it is possible to keep the gain of the amplifier circuit in a stable state without any problem in normal use from when the power is turned on until when the optical signal is actually received. For example, in the case of a TV in a general home, when the operator manually turns on the TV and then moves to a position where he / she can watch the TV and then uses the TV remote control, the moving time is 1 second or more. Conceivable. Therefore, if the gain of the amplifier circuit is stabilized within 1 second, there is no problem in practical use. Based on this, the time constant for stabilizing the gain within 1 second is in the range of 5 msec / dB to 50 msec / dB.

また、本発明の光受信回路は、上記第3の検出レベルは、上記第1の検出レベルよりも小さく設定されることが好ましい。   In the optical receiving circuit of the present invention, it is preferable that the third detection level is set smaller than the first detection level.

上記の構成によれば、電源を投入した直後からの所定の時間を、デバイス毎に最適化することが可能となるとともに、電源投入時に外乱ノイズが入って大きな振幅が発生している場合、デジタル制御回路がゲインを上げるように制御しないように設定することが可能となる。   According to the above configuration, the predetermined time immediately after the power is turned on can be optimized for each device, and when a large amplitude occurs due to disturbance noise when the power is turned on, It is possible to set the control circuit not to increase the gain.

また、本発明の光受信回路は、上記電源を投入した直後に上記光受信回路内部の雑音を検出するとともに、上記デジタル制御回路に上記雑音の検出を通知する雑音検出回路をさらに備え、上記デジタル制御回路は、上記電源を投入した直後において、上記雑音検出回路が雑音を検出している間は、上記第1の時定数により上記増幅回路のゲインを下げるように制御し、上記雑音検出回路が雑音を検出していない間は、上記第1の時定数により上記増幅回路のゲインを上げるように制御することが好ましい。   The optical receiver circuit of the present invention further includes a noise detection circuit that detects noise in the optical receiver circuit immediately after the power is turned on, and that notifies the digital control circuit of the detection of the noise. The control circuit controls the gain of the amplifier circuit to be lowered by the first time constant while the noise detection circuit detects noise immediately after the power is turned on, and the noise detection circuit While noise is not detected, it is preferable to control the gain of the amplifier circuit to be increased by the first time constant.

一般に、増幅器の内部雑音レベルは、ゲインと関連があり、ゲインのバラツキにも関連している。つまり、ゲインが高いときは、増幅器の内部雑音レベルが大きく、逆に、ゲインが低いときは、増幅器の内部雑音レベルが小さい。   In general, the internal noise level of an amplifier is related to gain and also related to gain variation. That is, when the gain is high, the internal noise level of the amplifier is large, and conversely, when the gain is low, the internal noise level of the amplifier is small.

それゆえ、上記の構成によれば、雑音検出回路が雑音を検出している間は増幅回路のゲインが大きく、雑音を検出していない間は増幅回路のゲインが小さいと捉え、増幅回路の初期ゲインを間接的に検出することが可能となる。これにより、デジタル制御回路は、雑音検出回路の雑音検出状態に応じて制御するので、信号が入力されていない状態であっても、増幅回路のゲインを、最適なゲインに短期間で収束させることが可能となる。   Therefore, according to the above configuration, the gain of the amplifier circuit is large while the noise detection circuit detects noise, and the gain of the amplifier circuit is small while noise is not detected. Gain can be detected indirectly. As a result, the digital control circuit controls according to the noise detection state of the noise detection circuit, so that the gain of the amplifier circuit can be converged to the optimum gain in a short period even when no signal is input. Is possible.

また、本発明の光受信回路は、上記雑音検出回路は、上記増幅回路から出力された信号を整流する整流回路と、上記整流回路から出力された信号の平均値を検出する平均値回路とを有し、上記平均値回路の時定数は、上記第1の時定数よりも短く設定されることが好ましい。   In the optical receiver circuit of the present invention, the noise detection circuit includes a rectifier circuit that rectifies a signal output from the amplifier circuit, and an average value circuit that detects an average value of the signal output from the rectifier circuit. And the time constant of the average value circuit is preferably set shorter than the first time constant.

上記の構成によれば、平均値回路の時定数が、第1の時定数よりも短く設定されることにより、短時間で平均値を検出することが可能となり、第1の時定数で所定のゲインまで安定させることができる。   According to the above configuration, the time constant of the average value circuit is set to be shorter than the first time constant, so that the average value can be detected in a short time. The gain can be stabilized.

また、本発明の光受信回路は、上記雑音検出回路は、上記光受信回路内部の雑音を検出するための第4の検出レベルを設けており、上記第4の検出レベルは、光受信回路から出力する信号を検出するための別に設けられた検出レベルの略1/3に設定されることが好ましい。   In the optical receiver circuit of the present invention, the noise detection circuit is provided with a fourth detection level for detecting noise inside the optical receiver circuit, and the fourth detection level is obtained from the optical receiver circuit. It is preferable to set it to approximately 1/3 of a detection level provided separately for detecting a signal to be output.

上記の構成によれば、信号と雑音とのレベル比を約3倍の関係を保持することができるため、10−2以下のエラーレートを確保することが可能となる。 According to the above configuration, the level ratio between the signal and the noise can be maintained at about three times, so that an error rate of 10 −2 or less can be secured.

また、本発明の光受信回路は、上記雑音検出回路は、上記光受信回路内部の雑音を検出するための検出閾値を複数設けており、雑音レベルを上記各検出閾値と比較した結果に応じて、複数の時定数が設定されることが好ましい。   Further, in the optical receiver circuit of the present invention, the noise detection circuit is provided with a plurality of detection thresholds for detecting noise inside the optical receiver circuit, and according to a result of comparing the noise level with each of the detection thresholds. A plurality of time constants are preferably set.

上記の構成によれば、電源投入直後の時定数を細かく制御することができるため、デバイス毎に最適化することが可能となる。   According to the above configuration, the time constant immediately after the power is turned on can be finely controlled, so that optimization can be performed for each device.

また、本発明の光受信回路は、入力した光信号を電気信号に変換して出力する光電変換素子と、上記光電変換素子から出力される電気信号を増幅する増幅回路と、デジタル信号を用いて処理した結果に基づいて上記増幅回路のゲインを制御するデジタル制御回路とを備える光受信回路において、上記増幅回路の初期ゲインはトリミングにより設定されていることを特徴としている。   The optical receiver circuit of the present invention uses a photoelectric conversion element that converts an input optical signal into an electric signal and outputs the electric signal, an amplifier circuit that amplifies the electric signal output from the photoelectric conversion element, and a digital signal. In an optical receiver circuit including a digital control circuit that controls the gain of the amplifier circuit based on the processed result, the initial gain of the amplifier circuit is set by trimming.

上記の構成によれば、増幅回路の初期ゲインはトリミングにより設定されていることにより、容易に初期ゲインのばらつきを抑制することが可能となる。ゆえに、増幅回路の初期ゲインを安定した状態にしておくことにより、増幅回路のゲインが、電源投入直後の初期ゲインから安定した状態となる所定のゲインになるまでの時間を省略または短縮することが可能となる。また、光受信回路に、時定数を切り替えるための特別な構成回路を追加する必要もない。   According to the above configuration, since the initial gain of the amplifier circuit is set by trimming, it is possible to easily suppress variations in the initial gain. Therefore, by setting the initial gain of the amplifier circuit in a stable state, it is possible to omit or shorten the time until the gain of the amplifier circuit becomes a predetermined gain that is stable from the initial gain immediately after power-on. It becomes possible. Further, it is not necessary to add a special configuration circuit for switching the time constant to the optical receiving circuit.

また、本発明の電子機器は、光通信機能を有しており、光信号を受信処理する光受信回路として上記光受信回路を備えることを特徴としている。   In addition, an electronic apparatus according to the present invention has an optical communication function, and includes the above-described optical receiving circuit as an optical receiving circuit that receives and processes an optical signal.

上記の構成によれば、電源を投入した直後の増幅回路のゲインが安定した状態となる時間が短い光受信回路を備えているので、高性能で低価格の電子機器を実現することが可能となる。上記電子機器としては、例えば、世界的に非常に普及して、TVやビデオプレイヤー、ビデオレコーダー、DVDプレイヤー、DVDレコーダー、エアコン等の家庭用電子機器用の赤外線受信器や、携帯電話、PDA、パソコン、DSC等で使用されている、光空間データ伝送用受信器などがある。   According to the above configuration, since the optical receiver circuit having a short time for the gain of the amplifier circuit to be in a stable state immediately after the power is turned on is provided, it is possible to realize a high-performance and low-cost electronic device. Become. As the electronic device, for example, it is very popular all over the world, and is an infrared receiver for home electronic devices such as a TV, a video player, a video recorder, a DVD player, a DVD recorder, an air conditioner, a mobile phone, a PDA, There are optical space data transmission receivers used in personal computers and DSCs.

以上のように、本発明の光受信回路は、入力した光信号を電気信号に変換して出力する光電変換素子と、上記光電変換素子から出力される電気信号を増幅する増幅回路と、デジタル信号を用いて処理した結果に基づいて上記増幅回路のゲインを制御するデジタル制御回路とを備えており、上記デジタル制御回路は、電源を投入した直後から所定の時間までの間は、第1の時定数により上記増幅回路のゲインを制御し、上記所定の時間が経過した後は、上記第1の時定数よりも長い第2の時定数により上記増幅回路のゲインを制御する、という構成を有する。   As described above, the optical receiver circuit of the present invention includes a photoelectric conversion element that converts an input optical signal into an electric signal and outputs the signal, an amplifier circuit that amplifies the electric signal output from the photoelectric conversion element, and a digital signal. And a digital control circuit for controlling the gain of the amplifier circuit based on the result of processing using the first and second digital control circuits. The gain of the amplifier circuit is controlled by a constant, and the gain of the amplifier circuit is controlled by a second time constant longer than the first time constant after the predetermined time has elapsed.

それゆえ、デジタル制御回路は、電源を投入した直後から所定の時間までの間は、短い第1の時定数により増幅回路のゲインを制御するので、増幅回路のゲインが、電源投入直後の初期ゲインから安定した状態となる所定のゲインになるまでの時間を短縮することができるという効果を奏する。また、デジタル制御回路は、所定の時間が経過した後は、第1の時定数よりも長い第2の時定数により増幅回路のゲインを制御するので、通常時は、ゲインをゆるやかに制御することができるという効果を奏する。   Therefore, since the digital control circuit controls the gain of the amplifier circuit with a short first time constant immediately after the power is turned on until a predetermined time, the gain of the amplifier circuit is the initial gain immediately after the power is turned on. Thus, there is an effect that it is possible to shorten the time until the predetermined gain that is in a stable state is reached. In addition, since the digital control circuit controls the gain of the amplifier circuit with a second time constant longer than the first time constant after a predetermined time has elapsed, the gain should be controlled gently during normal times. There is an effect that can be.

また、本発明の光受信回路は、入力した光信号を電気信号に変換して出力する光電変換素子と、上記光電変換素子から出力される電気信号を増幅する増幅回路と、デジタル信号を用いて処理した結果に基づいて上記増幅回路のゲインを制御するデジタル制御回路とを備えており、上記増幅回路の初期ゲインはトリミングにより設定されている、という構成を有する。   The optical receiver circuit of the present invention uses a photoelectric conversion element that converts an input optical signal into an electric signal and outputs the electric signal, an amplifier circuit that amplifies the electric signal output from the photoelectric conversion element, and a digital signal. And a digital control circuit for controlling the gain of the amplifier circuit based on the processed result, and the initial gain of the amplifier circuit is set by trimming.

それゆえ、増幅回路の初期ゲインはトリミングにより設定されていることにより、容易に初期ゲインのばらつきを抑制することができる。ゆえに、増幅回路の初期ゲインを安定した状態にしておくことにより、増幅回路のゲインが、電源投入直後の初期ゲインから安定した状態となる所定のゲインになるまでの時間を省略または短縮することができるという効果を奏する。また、光受信回路に、時定数を切り替えるための特別な追加構成が不要であるという効果を奏する。   Therefore, since the initial gain of the amplifier circuit is set by trimming, variations in the initial gain can be easily suppressed. Therefore, by setting the initial gain of the amplifier circuit in a stable state, it is possible to omit or shorten the time until the gain of the amplifier circuit becomes a predetermined gain that is stable from the initial gain immediately after power-on. There is an effect that can be done. In addition, there is an effect that a special additional configuration for switching the time constant is unnecessary in the optical receiving circuit.

また、本発明の電子機器は、光通信機能を有しており、光信号を受信処理する光受信回路として上記光受信回路を備える、という構成を有する。   The electronic apparatus of the present invention has an optical communication function, and has a configuration in which the optical receiver circuit is provided as an optical receiver circuit that receives and processes an optical signal.

それゆえ、電源を投入した直後の増幅回路のゲインが安定した状態となる時間が短い光受信回路を備えているので、高性能で低価格の電子機器を実現することができるという効果を奏する。上記電子機器としては、例えば、世界的に非常に普及して、TVやビデオプレイヤー、ビデオレコーダー、DVDプレイヤー、DVDレコーダー、エアコン等の家庭用電子機器用の赤外線受信器や、携帯電話、PDA、パソコン、DSC等で使用されている、光空間データ伝送用受信器などがある。   Therefore, since the optical receiver circuit having a short time in which the gain of the amplifier circuit immediately after the power is turned on becomes stable is provided, there is an effect that a high-performance and low-cost electronic device can be realized. As the electronic device, for example, it is very popular all over the world, and is an infrared receiver for home electronic devices such as a TV, a video player, a video recorder, a DVD player, a DVD recorder, an air conditioner, a mobile phone, a PDA, There are optical space data transmission receivers used in personal computers and DSCs.

〔実施の形態1〕
本発明の一実施形態について図面に基づいて説明すれば、以下の通りである。
[Embodiment 1]
An embodiment of the present invention will be described below with reference to the drawings.

図1は、本実施の形態の光受信回路の一構成例を示す等価回路ブロック図である。   FIG. 1 is an equivalent circuit block diagram showing a configuration example of the optical receiver circuit of the present embodiment.

本実施の形態の光受信回路は、TVやビデオプレイヤー、ビデオレコーダー、DVDプレイヤー、DVDレコーダー、エアコンなどの家庭用電子機器用の赤外線受信器に構成される。また、本実施の形態の光受信回路は、特に、リモコン受光ユニット用ICの設計に使用されたり、携帯電話、PDA、パソコン、およびDSCなどで使用されている光空間データ伝送用受信器に構成される。   The optical receiving circuit of this embodiment is configured as an infrared receiver for home electronic devices such as a TV, a video player, a video recorder, a DVD player, a DVD recorder, and an air conditioner. In addition, the optical receiver circuit of the present embodiment is particularly configured as a receiver for optical space data transmission used in the design of ICs for remote control light receiving units or used in mobile phones, PDAs, personal computers, DSCs, and the like. Is done.

本実施の形態の光受信回路は、デジタル方式でゲイン制御を行う回路であり、図1に示すように、フォトダイオード(PD)11(光電変換素子)、初段アンプ12、利得可変アンプ(CGA)13(増幅回路)、バンドパスフィルタ(BPF)14、検波回路15(信号検出回路)、積分回路16、ヒステリシスコンパレータ回路17、電圧Vth1を発生する電流源18、電圧Vth2を発生する電流源19、デジタルブロック部20(デジタル制御回路)、発振器21、および時定数制御部22(時定数制御回路)を備えている。   The optical receiver circuit of the present embodiment is a circuit that performs gain control in a digital manner. As shown in FIG. 1, a photodiode (PD) 11 (photoelectric conversion element), a first stage amplifier 12, and a variable gain amplifier (CGA). 13 (amplifier circuit), bandpass filter (BPF) 14, detection circuit 15 (signal detection circuit), integration circuit 16, hysteresis comparator circuit 17, current source 18 for generating voltage Vth1, current source 19 for generating voltage Vth2, A digital block unit 20 (digital control circuit), an oscillator 21, and a time constant control unit 22 (time constant control circuit) are provided.

なお、フォトダイオード11を除く構成要素は、受信チップに構成されている。フォトダイオード11もフォトダイオードチップとして構成され、受信チップとともに、チップの形態で、種々の受信機に備えられる。受信チップには、フォトダイオード11と接続される入力端子IN、電源が供給される電源端子VDD、グランドが接続されるグランド端子GND、並びに、後段のマイコンなどの構成部に接続される出力端子OUTが設けられている。なお、受信チップには、入出力の構成に応じて好適に種々の端子が設けられる。   Note that the components other than the photodiode 11 are configured in a receiving chip. The photodiode 11 is also configured as a photodiode chip, and is provided in various receivers in the form of a chip together with the receiving chip. The receiving chip includes an input terminal IN connected to the photodiode 11, a power supply terminal VDD to which power is supplied, a ground terminal GND to which a ground is connected, and an output terminal OUT to be connected to a component such as a microcomputer at a subsequent stage. Is provided. The receiving chip is suitably provided with various terminals according to the input / output configuration.

また、本実施の形態の光受信回路の構成から時定数制御部22を除いた構成は、図16に示したデジタル方式の従来の光受信増幅回路の構成と同じである。すなわち、フォトダイオード101、初段アンプ202、利得可変アンプ203、バンドパスフィルタ204、検波回路205、積分回路206、ヒステリシスコンパレータ回路207、電圧Vth1を発生する電流源208、電圧Vth2を発生する電流源209、デジタルブロック部210、および発振器211は、フォトダイオード11、初段アンプ12、利得可変アンプ13、バンドパスフィルタ14、検波回路15、積分回路16、ヒステリシスコンパレータ回路17、電圧Vth1を発生する電流源18、電圧Vth2を発生する電流源19、デジタルブロック部20、および発振器21にそれぞれ対応する。   The configuration of the optical receiver circuit according to the present embodiment excluding the time constant control unit 22 is the same as the configuration of the conventional digital optical receiver amplifier circuit shown in FIG. That is, the photodiode 101, the first stage amplifier 202, the gain variable amplifier 203, the band pass filter 204, the detection circuit 205, the integration circuit 206, the hysteresis comparator circuit 207, the current source 208 that generates the voltage Vth1, and the current source 209 that generates the voltage Vth2. The digital block unit 210 and the oscillator 211 include a photodiode 11, a first stage amplifier 12, a variable gain amplifier 13, a bandpass filter 14, a detection circuit 15, an integration circuit 16, a hysteresis comparator circuit 17, and a current source 18 that generates a voltage Vth1. , Corresponding to the current source 19 for generating the voltage Vth2, the digital block unit 20, and the oscillator 21, respectively.

それゆえ、本実施の形態の光受信回路における通常時のゲイン制御は、上述した図16に示した従来の光受信増幅回路のデジタルブロック部210による制御方法と同じ方法で行われる。しかし、注目すべきは、本実施の形態の光受信回路と、図16に示した従来の光受信増幅回路との異なる点である。この異なる点は、時定数制御部22を追加構成したことによる、電源を投入した直後の利得可変アンプ13のゲインの制御方法である。以下では、図16に示した従来の光受信増幅回路と同様の構成および基本動作はその説明を省略し、異なる点を中心に詳細に説明していく。   Therefore, the normal gain control in the optical receiver circuit of this embodiment is performed by the same method as the control method by the digital block unit 210 of the conventional optical receiver amplifier circuit shown in FIG. However, it should be noted that the optical receiver circuit of this embodiment is different from the conventional optical receiver amplifier circuit shown in FIG. This difference is the method of controlling the gain of the variable gain amplifier 13 immediately after the power is turned on by additionally configuring the time constant control unit 22. In the following, description of the same configuration and basic operation as those of the conventional optical receiving and amplifying circuit shown in FIG. 16 will be omitted, and detailed description will be given focusing on the different points.

時定数制御部22は、電源投入直後から、電源端子VDDから供給される電源、および発振器21から供給されるクロック信号に基づいて、タイマーで時間を計測し、電源投入直後からの所定の時間に基づいて、自動ゲイン制御の時定数(以下、AGC時定数と称す)を制御(選択)する。詳細には、時定数制御部22は、所定の時間が経過するまではデジタルブロック部20が第1のAGC時定数でゲイン制御を行うように第1の選択信号を、所定の時間経過後はデジタルブロック部20が第2のAGC時定数でゲイン制御を行うように第2の選択信号を、デジタルブロック部20の端子D_CTLに出力している。なお、第1のAGC時定数は第2のAGC時定数よりも短くなるように設定している。   The time constant control unit 22 measures the time with a timer based on the power supplied from the power supply terminal VDD and the clock signal supplied from the oscillator 21 immediately after the power is turned on, and at a predetermined time immediately after the power is turned on. Based on this, the time constant of automatic gain control (hereinafter referred to as AGC time constant) is controlled (selected). Specifically, the time constant control unit 22 sends the first selection signal so that the digital block unit 20 performs gain control with the first AGC time constant until a predetermined time elapses. A second selection signal is output to the terminal D_CTL of the digital block unit 20 so that the digital block unit 20 performs gain control with the second AGC time constant. The first AGC time constant is set to be shorter than the second AGC time constant.

デジタルブロック部20の構成を図2に示す。デジタルブロック部20は、図2に示すように、端子D_in1からの検出信号および端子D_CTLからの選択信号が入力されるパルスカウンター25(パルス計測回路)、端子D_in2からの検出信号および端子D_CTLからの選択信号が入力されるタイマー26(パルス計測回路)、パルスカウンター25の出力信号およびタイマー26の出力信号が入力されるデコーダー27(出力処理回路)、および、デコーダー27からの出力信号が入力される出力処理回路28により構成されている。なお、パルスカウンター25、タイマー26、デコーダー27、および出力処理回路28は、図17に示したパルスカウンター221、タイマー222、デコーダー223、および出力処理回路224にそれぞれ対応し、その基本構成および動作は同じである。   The configuration of the digital block unit 20 is shown in FIG. As shown in FIG. 2, the digital block unit 20 includes a pulse counter 25 (pulse measurement circuit) to which a detection signal from the terminal D_in1 and a selection signal from the terminal D_CTL are input, a detection signal from the terminal D_in2, and a signal from the terminal D_CTL. A timer 26 (pulse measurement circuit) to which a selection signal is input, a decoder 27 (output processing circuit) to which an output signal from the pulse counter 25 and an output signal from the timer 26 are input, and an output signal from the decoder 27 are input. The output processing circuit 28 is configured. The pulse counter 25, the timer 26, the decoder 27, and the output processing circuit 28 correspond to the pulse counter 221, the timer 222, the decoder 223, and the output processing circuit 224 shown in FIG. The same.

パルスカウンター25は、端子D_CTLに入力される第1の選択信号または第2の選択信号が供給され、第1の選択信号または第2の選択信号に応じて、段数(ビット数)を切り替えることにより、カウントするパルスの数値を変更する。   The pulse counter 25 is supplied with the first selection signal or the second selection signal input to the terminal D_CTL, and switches the number of stages (number of bits) according to the first selection signal or the second selection signal. Change the number of pulses to count.

タイマー26は、端子D_CTLに入力される第1の選択信号または第2の選択信号が供給され、第1の選択信号または第2の選択信号に応じて、段数(ビット数)を切り替えることにより、クロックのカウント数を可変して時間計測を変更する。すなわち、タイマー26は、一定の間隔で発振されるパルス信号に基づいて時間を計測しているので、段数を可変とすることにより、相対的な時間を変更することができる。   The timer 26 is supplied with the first selection signal or the second selection signal input to the terminal D_CTL, and switches the number of stages (the number of bits) according to the first selection signal or the second selection signal. Change the time measurement by changing the clock count. That is, since the timer 26 measures time based on a pulse signal oscillated at a constant interval, the relative time can be changed by changing the number of stages.

なお、第1の選択信号が供給される場合、パルスカウンター25およびタイマー26は、段数を、第1のAGC時定数に対応するように、第2の選択信号にて設定される段数よりも大きくなるように変更する。また、第2の選択信号が供給される場合、パルスカウンター25およびタイマー26は、段数を第2のAGC時定数に対応するように変更する。   When the first selection signal is supplied, the pulse counter 25 and the timer 26 have the number of stages larger than the number of stages set by the second selection signal so as to correspond to the first AGC time constant. Change to When the second selection signal is supplied, the pulse counter 25 and the timer 26 change the number of stages so as to correspond to the second AGC time constant.

表2に、第1のAGC時定数および第2のAGC時定数におけるそれぞれのビット数の設定例を示す。この設定例では、1パルス周期が25μsecで、N回カウント毎のゲイン変動が1dBの条件の場合を示している。第1のAGC時定数の場合のAGC傾きは、第2のAGC時定数の場合のAGC傾きよりも大きい。このように、第1のAGC時定数は第2のAGC時定数よりも短くなるように設定している。   Table 2 shows an example of setting the number of bits in the first AGC time constant and the second AGC time constant. In this setting example, the case where one pulse period is 25 μsec and the gain fluctuation every N counts is 1 dB is shown. The AGC slope in the case of the first AGC time constant is larger than the AGC slope in the case of the second AGC time constant. Thus, the first AGC time constant is set to be shorter than the second AGC time constant.

Figure 2009071543
Figure 2009071543

電源を投入すると、所定の時間が経過するまでは、時定数制御部22からデジタルブロック部20の端子D_in1に、第1の選択信号が供給される。   When the power is turned on, the first selection signal is supplied from the time constant control unit 22 to the terminal D_in1 of the digital block unit 20 until a predetermined time elapses.

このとき、パルスカウンター25は、端子D_CTLから入力される第1の選択信号に応じて段数を切り替える。これにより、パルスカウンター25は、第1のAGC時定数に従って所定の数のパルスをカウントする毎に、判定信号をデコーダー27に出力することになる。デコーダー27は、パルスカウンター25からの判定信号を受けると、この判定信号を、所定の割合(XdB)でゲインをダウンさせるための信号として判定し、出力処理回路28に判定結果を示す指示信号を出力する。出力処理回路28は、デコーダー27から出力された指示信号に基づいて、利得可変アンプ13のゲインを下げるための制御信号を作成し、端子AGC_outから利得可変アンプ13に出力する。これにより、利得可変アンプ13のゲインは、第1のAGC時定数により、所定の割合で自動的に下がるように制御される。   At this time, the pulse counter 25 switches the number of stages according to the first selection signal input from the terminal D_CTL. As a result, the pulse counter 25 outputs a determination signal to the decoder 27 every time a predetermined number of pulses are counted according to the first AGC time constant. Upon receiving the determination signal from the pulse counter 25, the decoder 27 determines this determination signal as a signal for reducing the gain at a predetermined rate (X dB), and sends an instruction signal indicating the determination result to the output processing circuit 28. Output. The output processing circuit 28 creates a control signal for reducing the gain of the variable gain amplifier 13 based on the instruction signal output from the decoder 27 and outputs the control signal to the variable gain amplifier 13 from the terminal AGC_out. As a result, the gain of the variable gain amplifier 13 is controlled to automatically decrease at a predetermined rate by the first AGC time constant.

一方、タイマー26は、端子D_CTLから入力される第1の選択信号に応じて段数を切り替える。これにより、タイマー26は、第1のAGC時定数に従って時間をカウントし、時間Tupの周期でタイミング信号をデコーダー27に出力することになる。デコーダー27は、タイマー26からタイミング信号が出力されてから、次のタイミング信号が出力されるまでの間、パルスカウンター25から判定信号が出力されなければ、所定の割合(XdB)でゲインをアップすることを決定し、出力処理回路28に決定結果を示す指示信号を出力する。出力処理回路28は、デコーダー27から出力された指示信号に基づいて、利得可変アンプ13のゲインを上げるための制御信号を作成し、端子AGC_outから利得可変アンプ13に出力する。これにより、利得可変アンプ13のゲインは、第1のAGC時定数により、所定の割合で自動的に上がるように制御される。   On the other hand, the timer 26 switches the number of stages according to the first selection signal input from the terminal D_CTL. As a result, the timer 26 counts the time according to the first AGC time constant, and outputs a timing signal to the decoder 27 at a period of time Tup. The decoder 27 increases the gain at a predetermined rate (X dB) if the determination signal is not output from the pulse counter 25 until the next timing signal is output after the timing signal is output from the timer 26. The instruction signal indicating the determination result is output to the output processing circuit 28. The output processing circuit 28 creates a control signal for increasing the gain of the variable gain amplifier 13 based on the instruction signal output from the decoder 27 and outputs the control signal to the variable gain amplifier 13 from the terminal AGC_out. Thereby, the gain of the variable gain amplifier 13 is controlled to automatically increase at a predetermined rate by the first AGC time constant.

続いて、所定の時間が経過すると、時定数制御部22からデジタルブロック部20の端子D_in1に、第2の選択信号が供給される。   Subsequently, when a predetermined time elapses, the second selection signal is supplied from the time constant control unit 22 to the terminal D_in1 of the digital block unit 20.

このとき、パルスカウンター25は、端子D_CTLから入力される第2の選択信号に応じて段数を切り替える。これにより、パルスカウンター25は、第2のAGC時定数に従って所定の数のパルスをカウントする毎に、判定信号をデコーダー27に出力することになる。そして、デコーダー27、出力処理回路28の順に処理が行われて、利得可変アンプ13のゲインは、第2のAGC時定数により、所定の割合で自動的に下がるように制御される。   At this time, the pulse counter 25 switches the number of stages according to the second selection signal input from the terminal D_CTL. Accordingly, the pulse counter 25 outputs a determination signal to the decoder 27 every time a predetermined number of pulses are counted according to the second AGC time constant. Then, the processing is performed in the order of the decoder 27 and the output processing circuit 28, and the gain of the variable gain amplifier 13 is controlled so as to be automatically lowered at a predetermined rate by the second AGC time constant.

一方、タイマー26は、端子D_CTLから入力される第2の選択信号に応じて段数を切り替える。これにより、タイマー26は、第2のAGC時定数に従って時間をカウントし、時間Tupの周期でタイミング信号をデコーダー27に出力することになる。そして、デコーダー27、出力処理回路28の順に処理が行われて、利得可変アンプ13のゲインは、第2のAGC時定数により、所定の割合で自動的に下がるように制御される。   On the other hand, the timer 26 switches the number of stages according to the second selection signal input from the terminal D_CTL. As a result, the timer 26 counts time according to the second AGC time constant, and outputs a timing signal to the decoder 27 at a period of time Tup. Then, the processing is performed in the order of the decoder 27 and the output processing circuit 28, and the gain of the variable gain amplifier 13 is controlled so as to be automatically lowered at a predetermined rate by the second AGC time constant.

以上のように、電源を投入した直後のAGC時定数が切り替えられる。図3に、本実施の形態の光受信回路における、電源投入と同時に信号が入力されたときの、時定数制御部22から端子D_CTLに出力される選択信号のタイミング(図中の電源投入タイマー)と、抽出信号BPF_outの波形イメージ(図中のBPF出力波形)と、出力端子OUTから出力されるパルス信号の波形イメージ(図中の受信出力)とを示す。   As described above, the AGC time constant immediately after the power is turned on is switched. FIG. 3 shows the timing of the selection signal output from the time constant control unit 22 to the terminal D_CTL when a signal is input simultaneously with power-on in the optical receiver circuit of this embodiment (power-on timer in the figure). And a waveform image of the extracted signal BPF_out (BPF output waveform in the drawing) and a waveform image of the pulse signal output from the output terminal OUT (reception output in the drawing).

図3を参照すると、電源投入直後の利得可変アンプ203のゲインが小さいため、抽出信号BPF_outの振幅が小さい。しかし、電源投入直後から所定の時間まで、時定数制御部22から第1の選択信号(ハイレベルのパルス信号)が端子D_CTLに出力される。よって、この期間は、短い時定数である第1の時定数でゲインが制御されるため、抽出信号BPF_outの振幅が急激に大きく変化していく。   Referring to FIG. 3, since the gain of the variable gain amplifier 203 immediately after power-on is small, the amplitude of the extraction signal BPF_out is small. However, the first selection signal (high-level pulse signal) is output from the time constant control unit 22 to the terminal D_CTL from immediately after the power is turned on to a predetermined time. Therefore, during this period, since the gain is controlled with the first time constant which is a short time constant, the amplitude of the extraction signal BPF_out changes drastically.

所定の時間が経過した後は、時定数制御部22から第2の選択信号(ローレベルのパルス信号)が端子D_CTLに出力される。よって、この期間は、長い時定数である第2の時定数でゲインが制御されるため、抽出信号BPF_outの振幅はほとんど変動しない。第2の時定数は、光受信増幅回路の状態が不安定にならないように、従来から設定されている充分長い時定数である。   After the predetermined time has elapsed, the second constant signal (low level pulse signal) is output from the time constant control unit 22 to the terminal D_CTL. Therefore, during this period, the gain is controlled by the second time constant, which is a long time constant, and therefore the amplitude of the extraction signal BPF_out hardly varies. The second time constant is a sufficiently long time constant that has been conventionally set so that the state of the optical reception amplifier circuit does not become unstable.

以上、本実施の形態の光受信回路は、デジタルブロック部20が、電源を投入した直後から所定の時間までの間は、第1の時定数により利得可変アンプ13のゲインを制御し、所定の時間が経過した後は、第1の時定数よりも長い第2の時定数により利得可変アンプ13のゲインを制御する、という構成を備えている。また、時定数制御部22が所定の時間を計測して、第1の選択信号および第2の選択信号を供給することにより、デジタルブロック部20に所定の時間を通知している。   As described above, in the optical receiving circuit according to the present embodiment, the digital block unit 20 controls the gain of the variable gain amplifier 13 using the first time constant until a predetermined time immediately after the power is turned on. After the elapse of time, the gain of the variable gain amplifier 13 is controlled with a second time constant longer than the first time constant. The time constant control unit 22 measures a predetermined time and supplies the first selection signal and the second selection signal to notify the digital block unit 20 of the predetermined time.

従来、増幅回路の初期ゲインが小さい場合、電源を投入した直後では、初期ゲインから安定した状態となる所定のゲインになるまで、通常時に用いる一定の長い時定数に従ってゆっくりと上昇するため、時間が掛かり過ぎるという問題があった。   Conventionally, when the initial gain of the amplifier circuit is small, immediately after the power is turned on, it slowly rises according to a constant long time constant used in normal time until the gain reaches a predetermined state that is stable from the initial gain. There was a problem that it took too much.

これに対し、本実施の形態の光受信回路では、デジタルブロック部20は、電源を投入した直後から所定の時間の間は、短い第1の時定数により利得可変アンプ13のゲインを制御するので、利得可変アンプ13のゲインが、電源投入直後の初期ゲインから安定した状態となる所定のゲインになるまでの時間を短縮することが可能となる。また、デジタルブロック部20は、所定の時間が経過した後は、第1の時定数よりも長い第2の時定数により利得可変アンプ13のゲインを制御するので、通常時は、従来と同様にゲインをゆるやかに制御することが可能となる。   On the other hand, in the optical receiving circuit of the present embodiment, the digital block unit 20 controls the gain of the variable gain amplifier 13 with a short first time constant for a predetermined time immediately after the power is turned on. It is possible to shorten the time until the gain of the variable gain amplifier 13 reaches a predetermined gain that is stable from the initial gain immediately after the power is turned on. Further, since the digital block unit 20 controls the gain of the variable gain amplifier 13 with a second time constant longer than the first time constant after a predetermined time has elapsed, in the normal time, as in the conventional case. Gain can be controlled gently.

したがって、外乱ノイズに対して利得可変アンプ13のゲインを最適なゲインに安定して制御しつつ、電源投入直後ではゲインが所定の安定な状態になるまでの時間を短縮することができる。また、本実施の形態の光受信回路は比較的小規模な回路で実現することができるので、高性能で低コストの光受信回路を実現することができるという効果を奏する。   Therefore, it is possible to reduce the time until the gain becomes a predetermined stable state immediately after the power is turned on while stably controlling the gain of the variable gain amplifier 13 to the optimum gain against disturbance noise. In addition, since the optical receiver circuit of the present embodiment can be realized with a relatively small circuit, there is an effect that a high-performance and low-cost optical receiver circuit can be realized.

また、時定数制御部22が第1の選択信号または第2の選択信号を供給するだけで、電源を投入した直後の第1のAGC時定数および第2のAGC時定数を、容易に切り替えることが可能となる。さらに、デジタルブロック部20は、所定の時間を判別することが可能となるので、電源を投入した直後から所定の時間の間の動作を安定して行うことが可能となる。   Also, the first AGC time constant and the second AGC time constant immediately after the power is turned on can be easily switched by simply supplying the first selection signal or the second selection signal from the time constant control unit 22. Is possible. Further, since the digital block unit 20 can determine a predetermined time, it is possible to stably perform an operation for a predetermined time immediately after the power is turned on.

また、本実施の形態の光受信回路は、上述したように、TVやビデオプレイヤー、ビデオレコーダー、DVDプレイヤー、DVDレコーダー、エアコンなどの家庭用電子機器用の赤外線受信器に構成されたり、特に、リモコン受光ユニット用ICの設計に使用されたり、携帯電話、PDA、パソコン、およびDSCなどで使用されている、光空間データ伝送用受信器に構成される。よって、これらの機器においても、光受信回路の作用および効果を持たせることが可能となり、外乱ノイズに対して不要パルスを出力しないという高性能と低価格とを実現することが可能となる。   Further, as described above, the optical receiver circuit of the present embodiment is configured as an infrared receiver for household electronic devices such as a TV, a video player, a video recorder, a DVD player, a DVD recorder, an air conditioner, It is used as a receiver for optical space data transmission, which is used for designing a remote control light receiving unit IC or used in a mobile phone, PDA, personal computer, DSC, and the like. Therefore, even in these devices, the function and effect of the optical receiving circuit can be provided, and it is possible to realize high performance and low price that do not output unnecessary pulses against disturbance noise.

ここで、第1のAGC時定数は、電源を投入してから1秒以内で、利得可変アンプ13のゲインが所定の安定状態になるように設定することが好ましい。これについて、図4を参照しながら、一般家庭におけるTVセットを例に挙げて、以下に説明する。   Here, the first AGC time constant is preferably set so that the gain of the variable gain amplifier 13 is in a predetermined stable state within one second after the power is turned on. This will be described below with reference to FIG. 4 taking a TV set in a general home as an example.

普段、TVの主電源が入っていて、赤外線リモコンの送信信号を受け付ける状態であるときは、TVに搭載されている赤外線リモコン用の光受信回路には電源が印加され続けているので、電源を投入してから充分時間が経過していると考えられる。そのため、電源投入直後の光受信回路の動作については問題なく無視できる。   Normally, when the main power of the TV is on and the infrared remote control transmission signal is received, the power is continuously applied to the optical receiver circuit for the infrared remote control mounted on the TV. It is considered that a sufficient time has passed since the introduction. For this reason, the operation of the optical receiver circuit immediately after power-on can be ignored without any problem.

逆に、主電源が切られている場合、もしくは、コンセントボックスに節電ブレーカーが接続されていて、それが切られている場合について考える。ある人がTVの電源を入れるためにTVに近づき、手動で、主電源を入れるか、節電ブレーカーのスイッチを入れる。それから、ある人はTVを見る位置まで移動してから、チャンネルを選択するなど赤外線リモコンを使用する。この移動距離は通常2〜3mと考えられる。ゆえに、光受信回路は、この移動している期間に安定な状態になる必要がある。この移動している期間は、1秒以上と考えられる。したがって、光受信回路は1秒以内に安定すれば、実際の使用上問題ないと考えられる。   Conversely, consider the case where the main power is turned off, or the case where the power-saving breaker is connected to the outlet box and is turned off. A person approaches the TV to turn on the TV and manually turns on the main power or switches on the power-saving breaker. Then, a person uses an infrared remote controller such as selecting a channel after moving to a position where he / she can watch TV. This moving distance is usually considered to be 2 to 3 m. Therefore, the optical receiving circuit needs to be in a stable state during this moving period. This moving period is considered to be 1 second or longer. Therefore, if the optical receiving circuit is stabilized within one second, it is considered that there is no problem in actual use.

光受信回路が1秒以内に安定することを実現するためには、AGC時定数はなるべく短い方が良いが、あまり短いと、以下の問題が発生する。
(1)正規の信号コードでゲインが変動してしまい、安定に受信できない。正規の信号コードにおけるベースバンドの周期は、0.2msec〜9msecである。
(2)ノイズでゲインが変動してしまい、不要なノイズを拾いやすくなる。蛍光灯ノイズの変動周期は、約8msecである。
In order to realize that the optical receiving circuit is stabilized within 1 second, the AGC time constant is preferably as short as possible. However, if it is too short, the following problems occur.
(1) The gain fluctuates with a regular signal code, and stable reception is impossible. The baseband period in the regular signal code is 0.2 msec to 9 msec.
(2) The gain fluctuates due to noise, and it becomes easy to pick up unnecessary noise. The fluctuation period of the fluorescent lamp noise is about 8 msec.

これらを鑑みると、第1のAGC時定数の傾きの最小値は、5msec/dB程度以上が必要と考えられる。また、光受信回路を1秒以内に安定させるには、初期ゲインのバラツキを20dB考慮すると、最大で50msec/dB以下が望ましいと考えられる。よって、第1のAGC時定数の傾きを、5msec/dB〜50msec/dBに設定することが望ましい。   In view of these, it is considered that the minimum value of the slope of the first AGC time constant needs to be about 5 msec / dB or more. Further, in order to stabilize the optical receiving circuit within 1 second, it is considered that 50 msec / dB or less is desirable at the maximum considering the variation of the initial gain of 20 dB. Therefore, it is desirable to set the slope of the first AGC time constant to 5 msec / dB to 50 msec / dB.

したがって、図4に示すように、タイマーによって「T1<1秒」となる時間T1を計測している間は、利得可変アンプ13のゲインによって、バンドパスフィルタ14の抽出信号BPF_outの振幅が大きくなる傾きを、5msec/dB〜50msec/dBに設定することにより、電源投入時のゲインを急速に上げることが可能となる。なお、上記時間T1が所定の時間として設定される。   Therefore, as shown in FIG. 4, while the time T1 when “T1 <1 second” is measured by the timer, the amplitude of the extraction signal BPF_out of the bandpass filter 14 is increased by the gain of the variable gain amplifier 13. By setting the slope to 5 msec / dB to 50 msec / dB, it is possible to rapidly increase the gain when the power is turned on. The time T1 is set as a predetermined time.

〔実施の形態2〕
本発明の他の実施の形態について図面に基づいて説明すれば、以下の通りである。なお、本実施の形態において説明すること以外の構成は、前記実施の形態1と同じである。また、説明の便宜上、前記の実施の形態1の図面に示した部材と同一の機能を有する部材については、同一の符号を付し、その説明を省略する。
[Embodiment 2]
The following will describe another embodiment of the present invention with reference to the drawings. Configurations other than those described in the present embodiment are the same as those in the first embodiment. For convenience of explanation, members having the same functions as those shown in the drawings of the first embodiment are given the same reference numerals, and explanation thereof is omitted.

図5は、本実施の形態の光受信回路の一構成例を示す等価回路ブロック図である。   FIG. 5 is an equivalent circuit block diagram illustrating a configuration example of the optical receiver circuit according to the present embodiment.

本実施の形態の光受信回路は、図5に示すように、前記実施の形態1の光受信回路の構成から時定数制御部22を除いた構成に加えて、電圧Vth1よりも小さい電圧Vth3を発生する電流源23を備えている。   As shown in FIG. 5, the optical receiver circuit of the present embodiment has a voltage Vth3 smaller than the voltage Vth1 in addition to the configuration of the optical receiver circuit of the first embodiment excluding the time constant control unit 22. A current source 23 is provided.

電流源23は、電源端子VDDから電源が供給されており、検波回路15に接続されている。これにより、検波回路15には、電圧Vth1、電圧Vth1よりも大きい電圧Vth2、および電圧Vth1よりも小さい電圧Vth3、の3つの電圧(Vth3<Vth1<Vth2)が供給されている。検波回路205は、抽出信号BPF_outを、閾値Vth1および閾値Vth2に加えて、電圧Vth3を閾値(以下、閾値Vth3と記す)としても用いて比較する。そして、検波回路205は、信号およびノイズを閾値Vth3で検出すると、検出信号をデジタルブロック部210の端子D_CTLに出力する。すなわち、本実施の形態の光受信回路では、デジタルブロック部20の端子D_CTLには、検波回路15からの検出信号が供給されるようになっている。   The current source 23 is supplied with power from the power supply terminal VDD and is connected to the detection circuit 15. Thus, the detection circuit 15 is supplied with three voltages (Vth3 <Vth1 <Vth2), that is, the voltage Vth1, the voltage Vth2 larger than the voltage Vth1, and the voltage Vth3 smaller than the voltage Vth1. The detection circuit 205 compares the extracted signal BPF_out by using the voltage Vth3 as a threshold (hereinafter referred to as threshold Vth3) in addition to the threshold Vth1 and the threshold Vth2. When the detection circuit 205 detects the signal and the noise with the threshold value Vth3, the detection circuit 205 outputs a detection signal to the terminal D_CTL of the digital block unit 210. That is, in the optical receiving circuit of the present embodiment, the detection signal from the detection circuit 15 is supplied to the terminal D_CTL of the digital block unit 20.

つまりは、前記実施の形態1の光受信回路では、時定数制御部22が電源投入直後の所定の時間を確定するための手段として機能していたが、本実施の形態の光受信回路では、検波回路15(時定数制御回路)が所定の時間を確定するための手段として機能している。   In other words, in the optical receiver circuit of the first embodiment, the time constant control unit 22 functions as a means for determining a predetermined time immediately after the power is turned on, but in the optical receiver circuit of the present embodiment, The detection circuit 15 (time constant control circuit) functions as a means for determining a predetermined time.

電源を投入すると、検波回路15は、抽出信号BPF_outを閾値Vth3と比較する。そして、信号やノイズを検出した時点で、デジタルブロック部20の端子D_CTLに検出信号を出力する。これにより、電源を投入してから、閾値Vth3に対して信号やノイズを検出した時点までを、所定の時間として利用している。つまりは、信号やノイズが閾値Vth3を超えない場合は、第1のAGC時定数(短い)に設定し、信号やノイズが閾値Vth3を超えた場合は、第2のAGC時定数(長い、従来設定)に設定するように、検波回路15は、デジタルブロック部20の端子D_CTLに検出信号を出力している。   When the power is turned on, the detection circuit 15 compares the extraction signal BPF_out with the threshold value Vth3. When a signal or noise is detected, a detection signal is output to the terminal D_CTL of the digital block unit 20. As a result, the period from when the power is turned on to when the signal or noise is detected with respect to the threshold value Vth3 is used as the predetermined time. That is, when the signal or noise does not exceed the threshold value Vth3, the first AGC time constant (short) is set. When the signal or noise exceeds the threshold value Vth3, the second AGC time constant (long, conventional) is set. The detection circuit 15 outputs a detection signal to the terminal D_CTL of the digital block unit 20 so as to set to (setting).

図6に、本実施の形態の光受信回路における、電源投入と同時に信号が入力されたときの、検波回路15から端子D_CTLに出力される検出信号のタイミング(図中のタイマー)と、抽出信号BPF_outの波形イメージと、出力端子OUTから出力されるパルス信号の波形イメージとを示す。   FIG. 6 shows the timing of the detection signal (timer in the figure) output from the detection circuit 15 to the terminal D_CTL when the signal is input at the same time as the power-on in the optical receiver circuit of this embodiment, and the extracted signal. The waveform image of BPF_out and the waveform image of the pulse signal output from the output terminal OUT are shown.

図6を参照すると、電源を投入した直後から、検波回路15は、検出信号(ハイレベルのパルス信号)をデジタルブロック部20の端子D_CTLに検出信号を出力する。これにより、端子D_CTLから供給される検出信号に基づいて、パルスカウンター25およびタイマー26の段数を変更させることにより、抽出信号BPF_outの振幅が閾値Vth3(検出レベル)を超えない間は、第1のAGC時定数に設定して、ゲインを急速に上げる。   Referring to FIG. 6, immediately after the power is turned on, the detection circuit 15 outputs a detection signal (high level pulse signal) to the terminal D_CTL of the digital block unit 20. Thus, by changing the number of stages of the pulse counter 25 and the timer 26 based on the detection signal supplied from the terminal D_CTL, the first signal is output while the amplitude of the extraction signal BPF_out does not exceed the threshold value Vth3 (detection level). Set the AGC time constant and increase the gain rapidly.

そして、抽出信号BPF_outの振幅が閾値Vth3を超えると、検波回路15は、検出信号(ローレベルのパルス信号)をデジタルブロック部20の端子D_CTLに検出信号を出力する。これにより、端子D_CTLから供給される検出信号に基づいて、パルスカウンター25およびタイマー26の段数を変更させることにより、抽出信号BPF_outの振幅が閾値Vth3(検出レベル)を超えた時点からは、第2のAGC時定数に設定して、ゲインを安定に制御するようにする。   When the amplitude of the extracted signal BPF_out exceeds the threshold value Vth3, the detection circuit 15 outputs a detection signal (low level pulse signal) to the terminal D_CTL of the digital block unit 20. As a result, by changing the number of stages of the pulse counter 25 and the timer 26 based on the detection signal supplied from the terminal D_CTL, the second time from when the amplitude of the extraction signal BPF_out exceeds the threshold value Vth3 (detection level). The AGC time constant is set so as to stably control the gain.

このように、本実施の形態の光受信回路では、閾値Vth1よりも低い閾値Vth3を設定して、入力信号のレベルにより電源投入直後の所定の時間を確定しているので、電源投入直後の所定の時間を、デバイス毎に最適化することが可能となる。   As described above, in the optical receiving circuit according to the present embodiment, the threshold value Vth3 lower than the threshold value Vth1 is set and the predetermined time immediately after the power is turned on is determined by the level of the input signal. This time can be optimized for each device.

また、例えば、電源投入時に大きな外乱ノイズが入っており、それが抽出信号BPF_outに現れている場合で、かつ、それが閾値Vth1を超えないようなノイズである場合、通常は、ゲインUPするように制御してしまう。   In addition, for example, when a large disturbance noise is included when the power is turned on and appears in the extraction signal BPF_out, and the noise does not exceed the threshold value Vth1, normally, the gain is increased. Control.

しかし、閾値Vth3を閾値Vth1以下に設定することにより、閾値Vth3以上の急激なゲインUPをしないように制御する、すなわちゲインUPを抑制することが可能となる。これにより、本実施の形態の光受信回路では、特に、電源投入時に外乱ノイズが入って大きな振幅が発生している場合に、最適な制御を行うことが可能となる。   However, by setting the threshold value Vth3 to be equal to or less than the threshold value Vth1, it is possible to perform control so as not to increase the gain more than the threshold value Vth3, that is, to suppress the gain UP. As a result, the optical receiver circuit according to the present embodiment can perform optimal control particularly when disturbance noise is present and a large amplitude is generated when the power is turned on.

〔実施の形態3〕
本発明の他の実施の形態について図面に基づいて説明すれば、以下の通りである。なお、本実施の形態において説明すること以外の構成は、前記実施の形態1および2と同じである。また、説明の便宜上、前記の実施の形態1および2の図面に示した部材と同一の機能を有する部材については、同一の符号を付し、その説明を省略する。
[Embodiment 3]
The following will describe another embodiment of the present invention with reference to the drawings. Configurations other than those described in the present embodiment are the same as those in the first and second embodiments. For convenience of explanation, members having the same functions as those shown in the drawings of Embodiments 1 and 2 are given the same reference numerals, and descriptions thereof are omitted.

図7は、本実施の形態の光受信回路の一構成例を示す等価回路ブロック図である。   FIG. 7 is an equivalent circuit block diagram showing a configuration example of the optical receiving circuit of the present embodiment.

本実施の形態の光受信回路は、図7に示すように、前記実施の形態1の光受信回路の構成に加えて、雑音レベル検出回路31(雑音検出回路)を備えている。   As shown in FIG. 7, the optical receiver circuit according to the present embodiment includes a noise level detection circuit 31 (noise detection circuit) in addition to the configuration of the optical receiver circuit according to the first embodiment.

雑音レベル検出回路31は、電源端子VDDにより電源が供給されており、バンドパスフィルタ14からの抽出信号BPF_outを入力するための端子N_inと、抽出信号BPF_outに現れる雑音レベルを検出した結果を示すノイズ信号をデジタルブロック部20に出力するための端子N_outとを有している。雑音レベル検出回路31の構成例としては、抽出信号BPF_outを整流して平均化する構成により容易に実現できる。   The noise level detection circuit 31 is supplied with power from the power supply terminal VDD, and a noise indicating a result of detecting a terminal N_in for inputting the extraction signal BPF_out from the bandpass filter 14 and a noise level appearing in the extraction signal BPF_out. And a terminal N_out for outputting a signal to the digital block unit 20. The configuration example of the noise level detection circuit 31 can be easily realized by a configuration in which the extraction signal BPF_out is rectified and averaged.

図8は、雑音レベル検出回路31の詳細な構成の一例を示す図である。   FIG. 8 is a diagram illustrating an example of a detailed configuration of the noise level detection circuit 31.

雑音レベル検出回路31は、図8に示すように、入力側が端子N_inに接続される整流回路32、ローパスフィルタ33(平均値回路)、出力側が端子N_outに接続されるオペアンプ34、および、電圧Vth4aを発生する電圧源35により構成されている。なお、括弧で囲まれている、オペアンプ36、および電圧Vth4bを発生する電圧源37は、詳細に後述する。   As shown in FIG. 8, the noise level detection circuit 31 includes a rectifier circuit 32 whose input side is connected to a terminal N_in, a low-pass filter 33 (average value circuit), an operational amplifier 34 whose output side is connected to a terminal N_out, and a voltage Vth4a. The voltage source 35 generates The operational amplifier 36 and the voltage source 37 that generates the voltage Vth4b, which are enclosed in parentheses, will be described in detail later.

端子N_inから入ってきた抽出信号BPF_outは、整流回路32にて整流され、整流信号Rec_outとしてローパスフィルタ33に出力される。そして、ローパスフィルタ33にて平均値が検出されて、オペアンプ34の反転入力端子に送出される。また、オペアンプ34の非反転入力端子には、電圧源35が接続されている。オペアンプ34は、電圧Vth4aを閾値(以下、閾値Vth4aと記す)として利用し、ローパスフィルタ33から出力される平均値を閾値Vth4aと比較する。すなわち、閾値Vth4aは、雑音の検出のために設定されている。   The extracted signal BPF_out that has entered from the terminal N_in is rectified by the rectifier circuit 32 and output to the low-pass filter 33 as the rectified signal Rec_out. Then, the average value is detected by the low-pass filter 33 and sent to the inverting input terminal of the operational amplifier 34. A voltage source 35 is connected to the non-inverting input terminal of the operational amplifier 34. The operational amplifier 34 uses the voltage Vth4a as a threshold (hereinafter referred to as threshold Vth4a), and compares the average value output from the low-pass filter 33 with the threshold Vth4a. That is, the threshold value Vth4a is set for noise detection.

雑音レベル検出回路31は、電源を投入した直後に雑音レベルを検出する。電源投入直後に雑音が検出されていなければ(雑音レベルが閾値Vth4aを超えていなければ)、第1のAGC時定数でゲインを上げるように、オペアンプ34は、端子N_outからデジタルブロック部20に選択信号を出力する。逆に、雑音が検出されている間は(雑音レベルが閾値Vth4aを超えている間は)、第1の時定数でゲインを下げるように、オペアンプ34は、端子N_outからデジタルブロック部20に選択信号を出力する。   The noise level detection circuit 31 detects the noise level immediately after the power is turned on. If no noise is detected immediately after power-on (if the noise level does not exceed the threshold value Vth4a), the operational amplifier 34 selects the digital block unit 20 from the terminal N_out so as to increase the gain with the first AGC time constant. Output a signal. Conversely, while noise is detected (while the noise level exceeds the threshold value Vth4a), the operational amplifier 34 selects the digital block unit 20 from the terminal N_out so as to decrease the gain with the first time constant. Output a signal.

これにより、デジタルブロック部20は、雑音レベル検出回路31からの選択信号に応じて、雑音が検出されていなければ、第1の時定数でゲインを上げるように制御し、一方、雑音が検出されている間は、第1の時定数でゲインを下げるように制御する。   Thereby, the digital block unit 20 controls to increase the gain with the first time constant if no noise is detected according to the selection signal from the noise level detection circuit 31, while the noise is detected. During this time, the gain is controlled to decrease with the first time constant.

よって、本実施の形態の光受信回路では、雑音レベルを検出することにより、利得可変アンプ13の初期ゲインのバラツキを容易に検出すること可能となる。この理由は、一般に、増幅器の内部雑音レベルは、アンプゲインと関連があり、アンプゲインのバラツキにも関連するからである。つまり、アンプゲインが高いときは、増幅器の内部雑音レベルが大きく、逆に、アンプゲインが低いときは、増幅器の内部雑音レベルが小さい。ゆえに、式(1)のような関係がある。   Therefore, in the optical receiver circuit of the present embodiment, it is possible to easily detect variations in the initial gain of the variable gain amplifier 13 by detecting the noise level. This is because the internal noise level of the amplifier is generally related to the amplifier gain and also related to variations in the amplifier gain. That is, when the amplifier gain is high, the internal noise level of the amplifier is large. Conversely, when the amplifier gain is low, the internal noise level of the amplifier is small. Therefore, there is a relationship as shown in Expression (1).

増幅回路の雑音レベル ∝ アンプゲイン ・・・式(1)
したがって、雑音レベル検出回路31において雑音が検出されない場合は、利得可変アンプ13の初期ゲインが所定のゲインよりも低いと判断し、ゲインUPするように制御している。また、雑音レベル検出回路31において雑音が検出されている場合は、利得可変アンプ13の初期ゲインが所定のゲインよりも高いと判断し、ゲインDOWNするように制御している。
Noise level of amplifier circuit ア ン プ Amplifier gain ・ ・ ・ Equation (1)
Therefore, when noise is not detected in the noise level detection circuit 31, it is determined that the initial gain of the variable gain amplifier 13 is lower than a predetermined gain, and the gain is controlled to be increased. When noise is detected in the noise level detection circuit 31, it is determined that the initial gain of the variable gain amplifier 13 is higher than a predetermined gain, and the gain is controlled to be DOWN.

また、ローパスフィルタ33において出力信号の平均値を検出して平均化する際、時定数が設定される。この時定数は、何マイクロセカンドまた何ミリセカンドの時定数で、何%以内の誤差に収まるかという時定数である。この時定数は、第1のAGC時定数(例えば、5msec/dB〜50msec/dB)の設定値よりも、短い時間で平均値を検出できるような時定数に設定することが望ましい。   Further, when the average value of the output signal is detected and averaged by the low-pass filter 33, a time constant is set. This time constant is the time constant of how many microseconds or how many milliseconds, and how much error can be accommodated. This time constant is desirably set to a time constant such that the average value can be detected in a shorter time than the set value of the first AGC time constant (for example, 5 msec / dB to 50 msec / dB).

これにより、第1のAGC時定数で所定のゲインまで安定させることができる。なお、平均値を検出するための時定数が、第1のAGC時定数よりも長い場合は、本発明が有効に機能しにくくなる。   Thereby, it is possible to stabilize to a predetermined gain with the first AGC time constant. Note that when the time constant for detecting the average value is longer than the first AGC time constant, the present invention does not function effectively.

また、本実施の形態の光受信回路では、整流回路32は全波整流回路または半波整流回路のどちらであってもよい。全波整流回路および半波整流回路は、非常に簡単に実現することが可能である。   In the optical receiver circuit of this embodiment, the rectifier circuit 32 may be either a full-wave rectifier circuit or a half-wave rectifier circuit. The full-wave rectifier circuit and the half-wave rectifier circuit can be realized very easily.

整流回路32が、全波整流回路である場合の構成例(全波整流回路32a)を図9に示し、半波整流回路である場合の構成例(半波整流回路32b)を図10に示す。   A configuration example (full-wave rectification circuit 32a) when the rectification circuit 32 is a full-wave rectification circuit is shown in FIG. 9, and a configuration example (half-wave rectification circuit 32b) when it is a half-wave rectification circuit is shown in FIG. .

図9に示すように、全波整流回路32aは、バイポーラトランジスタ41〜44、抵抗45〜47、定電流源48〜50、電源端子VCC、入力端子Vin、並びに、出力端子Voutを備えている。   As shown in FIG. 9, the full-wave rectifier circuit 32a includes bipolar transistors 41 to 44, resistors 45 to 47, constant current sources 48 to 50, a power supply terminal VCC, an input terminal Vin, and an output terminal Vout.

全波整流回路32aでは、バンドパスフィルタ14からの抽出信号BPF_outが、端子N_inを介して、入力端子Vinに入力され、全波整流されて、出力端子Voutから、整流信号Rec_outとして出力される。この整流信号Rec_outの波形を平均化することにより、容易に雑音のアナログレベルを検出することが可能となる。   In the full-wave rectifier circuit 32a, the extraction signal BPF_out from the bandpass filter 14 is input to the input terminal Vin via the terminal N_in, is full-wave rectified, and is output from the output terminal Vout as the rectified signal Rec_out. By averaging the waveform of the rectified signal Rec_out, it becomes possible to easily detect the analog level of noise.

また、図10に示すように、半波整流回路32bは、全波整流回路32aの構成からバイポーラトランジスタ43を除いた構成に加えて、バイポーラトランジスタ51、および電流源52を備えている。   As shown in FIG. 10, the half-wave rectifier circuit 32b includes a bipolar transistor 51 and a current source 52 in addition to the configuration in which the bipolar transistor 43 is removed from the configuration of the full-wave rectifier circuit 32a.

半波整流回路32bでは、バンドパスフィルタ14からの抽出信号BPF_outが、端子N_inを介して、入力端子Vinに入力され、半波整流されて、出力端子Voutから、整流信号Rec_outとして出力される。この場合、整流信号Rec_outに含まれる情報量は減少するが、全波整流回路32aと同様に、整流信号Rec_outの波形を平均化することにより、容易に雑音のアナログレベルを検出することが可能となる。   In the half-wave rectifier circuit 32b, the extraction signal BPF_out from the bandpass filter 14 is input to the input terminal Vin via the terminal N_in, half-wave rectified, and output as the rectified signal Rec_out from the output terminal Vout. In this case, although the amount of information included in the rectified signal Rec_out decreases, it is possible to easily detect the analog level of noise by averaging the waveform of the rectified signal Rec_out, as in the full-wave rectifier circuit 32a. Become.

また、回路内部の雑音を検出するための閾値Vth4aは、本来、信号を検出するために別に設けられた閾値Vth2の約1/3に設定することが望ましい。これにより、信号と雑音とのレベル比を約3倍の関係に保持することが可能となるので、10−2以下のビットエラーレートを確保することが可能となる。 The threshold value Vth4a for detecting noise inside the circuit is desirably set to about 1/3 of the threshold value Vth2 originally provided for detecting a signal. As a result, the level ratio between the signal and the noise can be maintained in a relationship of about three times, so that a bit error rate of 10 −2 or less can be secured.

但し、信号と雑音とのレベル比(S/N比)は、通信用途によって、最適化されるべきである。例えば、赤外線リモコンの通信の場合は、S/N比が約3倍確保されることにより、ほぼ実用可能である。また、光空間データ伝送では、もっと低いビットエラーレートを要求されるため、さらに大きな、例えば、5倍から6倍のS/N比を確保する必要がある。   However, the level ratio (S / N ratio) between signal and noise should be optimized depending on the communication application. For example, in the case of communication using an infrared remote controller, the S / N ratio is secured about 3 times, which is practically practical. Also, since optical space data transmission requires a lower bit error rate, it is necessary to ensure a larger S / N ratio, for example, 5 to 6 times.

また、本実施の形態の光受信回路における雑音レベル検出回路31では、雑音を検出するための閾値を1つ(閾値Vth4a)設けているが、これに限らず、複数設けてもよい。   In addition, in the noise level detection circuit 31 in the optical reception circuit of the present embodiment, one threshold (threshold Vth4a) for detecting noise is provided, but the present invention is not limited to this, and a plurality of thresholds may be provided.

すなわち、図8に示すように、雑音レベル検出回路31は、括弧で囲まれている、オペアンプ36、および電圧Vth4bを発生する電圧源37を備えていてもよい。オペアンプ36は、反転入力端子にローパスフィルタ33からの出力信号が入力され、非反転入力端子に電圧Vth4bが供給される。オペアンプ36の出力信号は、端子N_out2を介して、デジタルブロック部20に出力される。この括弧で囲まれているオペアンプと電圧源とをセットで備えることにより、雑音を検出するための閾値を複数設けることが可能となる。   That is, as shown in FIG. 8, the noise level detection circuit 31 may include an operational amplifier 36 and a voltage source 37 that generates the voltage Vth4b, which are enclosed in parentheses. In the operational amplifier 36, the output signal from the low-pass filter 33 is input to the inverting input terminal, and the voltage Vth4b is supplied to the non-inverting input terminal. The output signal of the operational amplifier 36 is output to the digital block unit 20 via the terminal N_out2. By providing an operational amplifier and a voltage source enclosed in parentheses as a set, a plurality of threshold values for detecting noise can be provided.

上記の構成によれば、雑音レベルがそれぞれの閾値を越えるか否かにより、複数の選択信号をデジタルブロック部20に出力することにより、AGC時定数を複数設定することが可能になる。これにより、電源投入直後のAGC時定数を細かく設定して制御することができるため、デバイス毎に最適化することが可能となる。   According to the above configuration, a plurality of AGC time constants can be set by outputting a plurality of selection signals to the digital block unit 20 depending on whether or not the noise level exceeds each threshold value. This makes it possible to finely set and control the AGC time constant immediately after the power is turned on, so that optimization can be performed for each device.

〔実施の形態4〕
本発明の他の実施の形態について図面に基づいて説明すれば、以下の通りである。なお、本実施の形態において説明すること以外の構成は、前記実施の形態1〜3と同じである。また、説明の便宜上、前記の実施の形態1〜3の図面に示した部材と同一の機能を有する部材については、同一の符号を付し、その説明を省略する。
[Embodiment 4]
The following will describe another embodiment of the present invention with reference to the drawings. Configurations other than those described in the present embodiment are the same as those in the first to third embodiments. For convenience of explanation, members having the same functions as those shown in the drawings of Embodiments 1 to 3 are given the same reference numerals, and descriptions thereof are omitted.

図11は、本実施の形態の光受信回路の一構成例を示す等価回路ブロック図である。   FIG. 11 is an equivalent circuit block diagram showing a configuration example of the optical receiving circuit of the present embodiment.

本実施の形態の光受信回路は、前記実施の形態1の光受信回路と同様の構成を備えているが、図11に示すように、時定数制御部22が、デジタルブロック部20ではなく、発振器21に選択信号を供給している点で異なっている。   The optical receiver circuit of the present embodiment has the same configuration as that of the optical receiver circuit of the first embodiment, but the time constant control unit 22 is not the digital block unit 20 as shown in FIG. The difference is that a selection signal is supplied to the oscillator 21.

つまりは、本実施の形態の光受信回路では、電源投入直後に、デジタルブロック部20に供給するクロック信号を発生する発振器21の周波数を、時定数制御部22からの第1の選択信号および第2の選択信号に応じて可変にすることにより、前記実施の形態1の光受信回路と同様の効果を得ることが可能となっている。   That is, in the optical receiver circuit of the present embodiment, immediately after the power is turned on, the frequency of the oscillator 21 that generates the clock signal supplied to the digital block unit 20 is set to the first selection signal from the time constant control unit 22 and the first selection signal. By making it variable according to the selection signal of 2, it is possible to obtain the same effect as the optical receiver circuit of the first embodiment.

表3に、第1のAGC時定数および第2のAGC時定数に対応するそれぞれの発振周波数(クロック周波数)の例を示す。この例では、カウンタの設定値が12bit/4096パルスで、N回カウント毎のゲイン変動が1dBの条件の場合を示している。   Table 3 shows examples of the oscillation frequencies (clock frequencies) corresponding to the first AGC time constant and the second AGC time constant. In this example, the counter setting value is 12 bits / 4096 pulses, and the gain fluctuation every N counts is 1 dB.

Figure 2009071543
Figure 2009071543

電源を投入すると、所定の時間が経過するまでは、時定数制御部22から発振器21に、第1の選択信号が供給される。このとき、発振器21は、第1の選択信号に応じて発振周波数を高くする。これにより、発振器21は、第1のAGC時定数になるように設定されたクロック信号を発振することになる。そして、このクロック信号が供給されるデジタルブロック部20は、第1のAGC時定数に従って、ゲインを制御する。   When the power is turned on, the first selection signal is supplied from the time constant control unit 22 to the oscillator 21 until a predetermined time elapses. At this time, the oscillator 21 increases the oscillation frequency according to the first selection signal. As a result, the oscillator 21 oscillates the clock signal set to have the first AGC time constant. The digital block unit 20 to which this clock signal is supplied controls the gain according to the first AGC time constant.

また、所定の時間が経過した時点で、時定数制御部22からデジタルブロック部20の端子D_in1に、第2の選択信号が供給される。このとき、発振器21は、第2の選択信号に応じて発振周波数を従来の周波数に戻す(低くする)。これにより、発振器21は、第2のAGC時定数になるように設定されたクロック信号を発振することになる。そして、このクロック信号が供給されるデジタルブロック部20は、第2のAGC時定数に従って、ゲインを制御する。よって、通常時は安定したゲインを維持することが可能となる。   Further, when a predetermined time has elapsed, the second selection signal is supplied from the time constant control unit 22 to the terminal D_in1 of the digital block unit 20. At this time, the oscillator 21 returns (lowers) the oscillation frequency to the conventional frequency in accordance with the second selection signal. As a result, the oscillator 21 oscillates the clock signal set to have the second AGC time constant. The digital block unit 20 to which this clock signal is supplied controls the gain according to the second AGC time constant. Therefore, it is possible to maintain a stable gain during normal times.

なお、本実施の形態の光受信回路では、発振器21の発振周波数を変更するだけで、第1のAGC時定数と第2のAGC時定数とを切り替えているので、デジタルブロック部20の構成の変更を不要とすることが可能となる。   In the optical receiver circuit according to the present embodiment, the first AGC time constant and the second AGC time constant are switched only by changing the oscillation frequency of the oscillator 21. It becomes possible to make the change unnecessary.

〔実施の形態5〕
本発明の他の実施の形態について図面に基づいて説明すれば、以下の通りである。なお、本実施の形態において説明すること以外の構成は、前記実施の形態1〜4と同じである。また、説明の便宜上、前記の実施の形態1〜4の図面に示した部材と同一の機能を有する部材については、同一の符号を付し、その説明を省略する。
[Embodiment 5]
The following will describe another embodiment of the present invention with reference to the drawings. Configurations other than those described in the present embodiment are the same as those in the first to fourth embodiments. For convenience of explanation, members having the same functions as those shown in the drawings of Embodiments 1 to 4 are given the same reference numerals, and descriptions thereof are omitted.

前記実施の形態1〜4では、電源投入直後のAGC時定数を可変とする構成について記載したが、本実施の形態では、電源投入直後の利得可変アンプ13の初期ゲインを、予めトリミングしてしまう構成を提案する。   In the first to fourth embodiments, the configuration is described in which the AGC time constant immediately after power-on is variable. However, in this embodiment, the initial gain of the variable gain amplifier 13 immediately after power-on is trimmed in advance. Propose a configuration.

図12は、本実施の形態の光受信回路の一構成例を示す等価回路ブロック図である。   FIG. 12 is an equivalent circuit block diagram illustrating a configuration example of the optical receiver circuit according to the present embodiment.

本実施の形態の光受信回路は、図12に示すように、前記実施の形態1の光受信回路の構成から時定数制御部22を除いた構成に加えて、初期ゲイントリミングブロック61を備えている。初期ゲイントリミングブロック61は、利得可変アンプ13の初期ゲインをトリミングしたり、デジタルブロック部20に信号が供給可能なように構成されていればよい。   As shown in FIG. 12, the optical receiver circuit of the present embodiment includes an initial gain trimming block 61 in addition to the configuration of the optical receiver circuit of the first embodiment except for the time constant control unit 22. Yes. The initial gain trimming block 61 may be configured to trim the initial gain of the variable gain amplifier 13 or to supply a signal to the digital block unit 20.

トリミングは通常、ウェハテスト工程の途中で行うのが一般的である。ウェハテスト工程の途中で、初期ゲイントリミングブロック61から、電源投入直後の利得可変アンプ13の初期ゲインを最適な値にトリミングする。これにより、電源投入直後の利得可変アンプ13の初期ゲインのバラツキを抑制することが可能となる。また結果として、電源投入直後にゲインが所定のゲインに安定するまでの時間バラツキを低減して、電源投入直後にゲインが所定のゲインに安定するまでの時間が短くなるような最適な初期ゲインに調整することになる。   Trimming is generally performed during the wafer test process. In the middle of the wafer test process, the initial gain of the variable gain amplifier 13 immediately after power-on is trimmed from the initial gain trimming block 61 to an optimum value. As a result, it is possible to suppress variations in the initial gain of the variable gain amplifier 13 immediately after the power is turned on. As a result, it is possible to reduce the time variation until the gain stabilizes to the predetermined gain immediately after the power is turned on, and to an optimal initial gain that shortens the time until the gain stabilizes to the predetermined gain immediately after the power is turned on. Will be adjusted.

本実施の形態の光受信回路では、前記実施の形態1〜4の光受信回路における電源投入直後の制御を行うブロックや回路は必要としないので、電源投入直後の、所定のゲインに安定するまでの時間を短く設定するという目的を、比較的容易に達成することが可能となる。   The optical receiver circuit according to the present embodiment does not require a block or a circuit for performing control immediately after power-on in the optical receiver circuits according to the first to fourth embodiments, so that the gain is stabilized immediately after power-on. It is possible to achieve the purpose of setting a short time for this relatively easily.

なお、本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and can be obtained by appropriately combining technical means disclosed in different embodiments. Embodiments are also included in the technical scope of the present invention.

本発明は、光通信方式で用いられる受信復調回路に関するものであり、特に、赤外線リモコン信号受信機などの高感度増幅回路と信号検出回路とを備える復調器などに関して有用であるが、これに限らず、他の用途にも適用できる。具体的には、高感度で受光増幅を必要とし空間から光信号を受けるシステム、例えば、光空間データ伝送などにおいても共通に有用である。   The present invention relates to a reception demodulation circuit used in an optical communication system, and is particularly useful for a demodulator including a high-sensitivity amplifier circuit such as an infrared remote control signal receiver and a signal detection circuit, but is not limited thereto. It can also be applied to other uses. Specifically, it is also useful in a system that requires light amplification with high sensitivity and receives an optical signal from space, such as optical spatial data transmission.

本発明における光受信回路の実施の一形態を示す回路ブロック図である。1 is a circuit block diagram showing an embodiment of an optical receiver circuit according to the present invention. 上記光受信回路におけるデジタルブロック部の構成を示す回路ブロック図である。It is a circuit block diagram which shows the structure of the digital block part in the said optical receiver circuit. 上記光受信回路における各部の出力波形を示すタイミングチャートである。It is a timing chart which shows the output waveform of each part in the said optical receiver circuit. 上記光受信回路における各部の出力波形を示すタイミングチャートである。It is a timing chart which shows the output waveform of each part in the said optical receiver circuit. 本発明における光受信回路の他の実施の形態を示す回路ブロック図である。It is a circuit block diagram which shows other embodiment of the optical receiver circuit in this invention. 上記光受信回路における各部の出力波形を示すタイミングチャートである。It is a timing chart which shows the output waveform of each part in the said optical receiver circuit. 本発明における光受信回路のさらに他の実施の形態を示す回路ブロック図である。It is a circuit block diagram which shows other embodiment of the optical receiver circuit in this invention. 上記光受信回路における雑音レベル検出回路の構成を示す回路ブロック図である。It is a circuit block diagram which shows the structure of the noise level detection circuit in the said optical receiver circuit. 上記雑音レベル検出回路における整流回路の一実施例を示す回路ブロック図である。It is a circuit block diagram which shows one Example of the rectifier circuit in the said noise level detection circuit. 上記雑音レベル検出回路における整流回路の他の実施例を示す回路ブロック図である。It is a circuit block diagram which shows the other Example of the rectifier circuit in the said noise level detection circuit. 本発明における光受信回路のさらに他の実施の形態を示す回路ブロック図である。It is a circuit block diagram which shows other embodiment of the optical receiver circuit in this invention. 本発明における光受信回路のさらに他の実施の形態を示す回路ブロック図である。It is a circuit block diagram which shows other embodiment of the optical receiver circuit in this invention. 従来のアナログ方式の光受信増幅回路の構成を示す回路ブロック図である。It is a circuit block diagram which shows the structure of the conventional optical receiving / amplifying circuit of an analog system. 上記従来のアナログ方式の光受信増幅回路における各部の出力波形を示す図である。It is a figure which shows the output waveform of each part in the said conventional analog system optical receiver amplifier circuit. 上記従来のアナログ方式の光受信増幅回路における検波回路および積分回路の構成を示す回路図である。It is a circuit diagram which shows the structure of the detection circuit and integration circuit in the said conventional analog-type optical receiver amplifier circuit. 従来のデジタル方式の光受信増幅回路の構成を示す回路ブロック図である。It is a circuit block diagram which shows the structure of the conventional optical receiving / amplifying circuit of a digital system. 上記従来のデジタル方式の光受信増幅回路におけるデジタルブロック部の構成を示す回路ブロック図である。It is a circuit block diagram which shows the structure of the digital block part in the said conventional optical receiving / amplifying circuit of a digital system. 上記従来のデジタル方式の光受信増幅回路における各部の出力波形を示す図である。It is a figure which shows the output waveform of each part in the said conventional optical receiving / amplifying circuit of a digital system. 上記従来のデジタル方式の光受信増幅回路における、各部の出力波形を示すタイミングチャートである。6 is a timing chart showing output waveforms of respective parts in the conventional digital optical receiving and amplifying circuit. 上記従来のデジタル方式の光受信増幅回路における、電源投入時のゲインが標準な場合の、各部の出力波形を示すタイミングチャートである。6 is a timing chart showing output waveforms of each part when the gain at power-on is standard in the conventional digital optical receiver amplifier circuit. 上記従来のデジタル方式の光受信増幅回路における、電源投入時のゲインが小さい場合の、各部の出力波形を示すタイミングチャートである。6 is a timing chart showing output waveforms of each part when the gain at power-on is small in the conventional digital optical receiver amplifier circuit. 上記従来のデジタル方式の光受信増幅回路における、電源投入時のゲインが大きい場合の、各部の出力波形を示すタイミングチャートである。6 is a timing chart showing output waveforms of each part when the gain at power-on is large in the conventional digital optical receiver amplifier circuit.

符号の説明Explanation of symbols

11 フォトダイオード(光電変換素子)
12 初段アンプ
13 利得可変アンプ(増幅回路)
14 バンドパスフィルタ
15 検波回路(信号検出回路、時定数制御回路)
16 積分回路
17 ヒステリシスコンパレータ回路
18 電流源
19 電流源
20 デジタルブロック部(デジタル制御回路)
21 発振器
22 時定数制御部(時定数制御回路)
23 電流源
25 パルスカウンター(パルス計測回路)
26 タイマー(パルス計測回路)
27 デコーダー(出力処理回路)
28 出力処理回路(出力処理回路)
31 雑音レベル検出回路(雑音検出回路)
32 整流回路
33 ローパスフィルタ(平均値回路)
34,36 オペアンプ
35,37 電圧源
61 初期ゲイントリミングブロック
11 Photodiode (photoelectric conversion element)
12 First-stage amplifier 13 Variable gain amplifier (amplifier circuit)
14 Band pass filter 15 Detection circuit (signal detection circuit, time constant control circuit)
16 Integration Circuit 17 Hysteresis Comparator Circuit 18 Current Source 19 Current Source 20 Digital Block Unit (Digital Control Circuit)
21 Oscillator 22 Time constant controller (Time constant control circuit)
23 Current source 25 Pulse counter (Pulse measurement circuit)
26 Timer (pulse measurement circuit)
27 Decoder (output processing circuit)
28 Output processing circuit (Output processing circuit)
31 Noise level detection circuit (noise detection circuit)
32 Rectifier circuit 33 Low-pass filter (average circuit)
34, 36 Operational amplifier 35, 37 Voltage source 61 Initial gain trimming block

Claims (13)

入力した光信号を電気信号に変換して出力する光電変換素子と、上記光電変換素子から出力される電気信号を増幅する増幅回路と、デジタル信号を用いて処理した結果に基づいて上記増幅回路のゲインを制御するデジタル制御回路とを備える光受信回路において、
上記デジタル制御回路は、電源を投入した直後から所定の時間までの間は、第1の時定数により上記増幅回路のゲインを制御し、上記所定の時間が経過した後は、上記第1の時定数よりも長い第2の時定数により上記増幅回路のゲインを制御することを特徴とする光受信回路。
A photoelectric conversion element that converts an input optical signal into an electrical signal and outputs the output, an amplification circuit that amplifies the electrical signal output from the photoelectric conversion element, and a result of processing using the digital signal. In an optical receiving circuit comprising a digital control circuit for controlling gain,
The digital control circuit controls the gain of the amplifier circuit with a first time constant from immediately after turning on the power to a predetermined time, and after the predetermined time has elapsed, the first time An optical receiver circuit, wherein the gain of the amplifier circuit is controlled by a second time constant longer than the constant.
上記増幅回路から出力された信号を、ノイズを検出するための第1の検出レベル、および、光受信回路から出力する信号を検出するための、第1の検出レベルよりも大きい第2の検出レベルにより検出すると、上記デジタル制御回路にパルスを出力する信号検出回路をさらに備え、
上記デジタル制御回路は、上記信号検出回路から出力されたパルスを計測するパルス計測回路と、上記パルス計測回路の計測結果に応じて、上記増幅回路のゲインを制御するための制御信号を出力する出力処理回路とを有し、
上記パルス計測回路は、上記電源を投入した直後から所定の時間までの間と、上記所定の時間が経過した後とで、パルスの計測段数を切り替えることを特徴とする請求項1に記載の光受信回路。
The signal output from the amplifier circuit has a first detection level for detecting noise, and a second detection level larger than the first detection level for detecting a signal output from the optical receiving circuit. Further comprising a signal detection circuit that outputs a pulse to the digital control circuit,
The digital control circuit outputs a control signal for controlling a gain of the amplification circuit according to a measurement result of the pulse measurement circuit and a pulse measurement circuit that measures the pulse output from the signal detection circuit. A processing circuit,
2. The light according to claim 1, wherein the pulse measurement circuit switches the number of pulse measurement stages between a time immediately after the power is turned on and a predetermined time and after the predetermined time has elapsed. Receiver circuit.
上記デジタル制御回路にクロック信号を供給する発振器をさらに備え、
上記発振器は、上記電源を投入した直後から所定の時間までの間と、上記所定の時間が経過した後とで、発振周波数を切り替えることを特徴とする請求項1に記載の光受信回路。
An oscillator for supplying a clock signal to the digital control circuit;
2. The optical receiver circuit according to claim 1, wherein the oscillator switches an oscillation frequency immediately after the power is turned on to a predetermined time and after the predetermined time has elapsed.
上記所定の時間を計測するとともに、上記デジタル制御回路に上記所定の時間を通知する時定数制御回路をさらに備えることを特徴とする請求項2または3に記載の光受信回路。   4. The optical receiver circuit according to claim 2, further comprising a time constant control circuit that measures the predetermined time and notifies the digital control circuit of the predetermined time. 上記増幅回路から出力された信号を第3の検出レベルにより検出した時点で上記所定の時間を確定するとともに、上記デジタル制御回路に上記所定の時間を通知する時定数制御回路をさらに備えることを特徴とする請求項2に記載の光受信回路。   And a time constant control circuit for determining the predetermined time when the signal output from the amplifier circuit is detected at a third detection level and notifying the digital control circuit of the predetermined time. The optical receiver circuit according to claim 2. 上記第1の時定数は、5msec/dB以上かつ50msec/dB以下の範囲に設定されることを特徴とする請求項1〜3のいずれか1項に記載の光受信回路。   4. The optical receiver circuit according to claim 1, wherein the first time constant is set in a range of 5 msec / dB to 50 msec / dB. 上記第3の検出レベルは、上記第1の検出レベルよりも小さく設定されることを特徴とする請求項5に記載の光受信回路。   6. The optical receiver circuit according to claim 5, wherein the third detection level is set to be smaller than the first detection level. 上記電源を投入した直後に上記光受信回路内部の雑音を検出するとともに、上記デジタル制御回路に上記雑音の検出を通知する雑音検出回路をさらに備え、
上記デジタル制御回路は、上記電源を投入した直後において、上記雑音検出回路が雑音を検出している間は、上記第1の時定数により上記増幅回路のゲインを下げるように制御し、上記雑音検出回路が雑音を検出していない間は、上記第1の時定数により上記増幅回路のゲインを上げるように制御することを特徴とする請求項1に記載の光受信回路。
Detecting noise inside the optical receiver circuit immediately after turning on the power, and further comprising a noise detection circuit for notifying the digital control circuit of detection of the noise,
The digital control circuit controls to reduce the gain of the amplifier circuit by the first time constant while the noise detection circuit detects noise immediately after the power is turned on. 2. The optical receiver circuit according to claim 1, wherein the gain of the amplifier circuit is controlled to be increased by the first time constant while the circuit is not detecting noise.
上記雑音検出回路は、上記増幅回路から出力された信号を整流する整流回路と、上記整流回路から出力された信号の平均値を検出する平均値回路とを有し、
上記平均値回路の時定数は、上記第1の時定数よりも短く設定されることを特徴とする請求項8に記載の光受信回路。
The noise detection circuit includes a rectifier circuit that rectifies the signal output from the amplifier circuit, and an average value circuit that detects an average value of the signal output from the rectifier circuit,
9. The optical receiver circuit according to claim 8, wherein a time constant of the average value circuit is set shorter than the first time constant.
上記雑音検出回路は、上記光受信回路内部の雑音を検出するための第4の検出レベルを設けており、
上記第4の検出レベルは、光受信回路から出力する信号を検出するための別に設けられた検出レベルの略1/3に設定されることを特徴とする請求項8に記載の光受信回路。
The noise detection circuit has a fourth detection level for detecting noise inside the optical receiver circuit,
9. The optical receiver circuit according to claim 8, wherein the fourth detection level is set to approximately 1/3 of a detection level separately provided for detecting a signal output from the optical receiver circuit.
上記雑音検出回路は、上記光受信回路内部の雑音を検出するための検出閾値を複数設けており、
雑音レベルを上記各検出閾値と比較した結果に応じて、複数の時定数が設定されることを特徴とする請求項8に記載の光受信回路。
The noise detection circuit is provided with a plurality of detection thresholds for detecting noise inside the optical receiver circuit,
9. The optical receiver circuit according to claim 8, wherein a plurality of time constants are set according to a result of comparing a noise level with each of the detection threshold values.
入力した光信号を電気信号に変換して出力する光電変換素子と、上記光電変換素子から出力される電気信号を増幅する増幅回路と、デジタル信号を用いて処理した結果に基づいて上記増幅回路のゲインを制御するデジタル制御回路とを備える光受信回路において、
上記増幅回路の初期ゲインはトリミングにより設定されていることを特徴とする光受信回路。
A photoelectric conversion element that converts an input optical signal into an electrical signal and outputs the output, an amplification circuit that amplifies the electrical signal output from the photoelectric conversion element, and a result of processing using the digital signal. In an optical receiving circuit comprising a digital control circuit for controlling gain,
An optical receiver circuit, wherein an initial gain of the amplifier circuit is set by trimming.
光信号を受信処理する光受信回路を備え、光通信機能を有する電子機器において、
上記光受信回路は、請求項1〜12のいずれか1項に記載の光受信回路であることを特徴とする電子機器。
In an electronic device that includes an optical receiving circuit for receiving and processing an optical signal and has an optical communication function,
The electronic device according to claim 1, wherein the optical receiver circuit is the optical receiver circuit according to claim 1.
JP2007237197A 2007-09-12 2007-09-12 Optical receiving circuit and electronic device Pending JP2009071543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007237197A JP2009071543A (en) 2007-09-12 2007-09-12 Optical receiving circuit and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007237197A JP2009071543A (en) 2007-09-12 2007-09-12 Optical receiving circuit and electronic device

Publications (1)

Publication Number Publication Date
JP2009071543A true JP2009071543A (en) 2009-04-02

Family

ID=40607359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007237197A Pending JP2009071543A (en) 2007-09-12 2007-09-12 Optical receiving circuit and electronic device

Country Status (1)

Country Link
JP (1) JP2009071543A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4585600B1 (en) * 2009-08-04 2010-11-24 株式会社東芝 Display device
JP2012044456A (en) * 2010-08-19 2012-03-01 Toshiba Corp Gain controller for variable gain amplifier and gain control method for variable gain amplifier
CN112532323A (en) * 2020-11-30 2021-03-19 深圳市科曼医疗设备有限公司 Aging-free control system, method for automatically adjusting optical power and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4585600B1 (en) * 2009-08-04 2010-11-24 株式会社東芝 Display device
JP2011035756A (en) * 2009-08-04 2011-02-17 Toshiba Corp Display device
JP2012044456A (en) * 2010-08-19 2012-03-01 Toshiba Corp Gain controller for variable gain amplifier and gain control method for variable gain amplifier
CN112532323A (en) * 2020-11-30 2021-03-19 深圳市科曼医疗设备有限公司 Aging-free control system, method for automatically adjusting optical power and storage medium

Similar Documents

Publication Publication Date Title
JP4246222B2 (en) Carrier detection circuit, infrared signal processing circuit including the same, and control method of carrier detection circuit
US7324037B1 (en) Analog to digital converter with interference rejection capability
KR100504624B1 (en) Method and arrangement for noise rejection in a receiver circuit
JP2006121694A (en) Variable noise control of optical transducer
US8416886B2 (en) Receiver
US7184729B2 (en) Digital automatic gain control for transceiver devices
US20110260041A1 (en) Illuminance sensor
JP2009071543A (en) Optical receiving circuit and electronic device
JP2016005231A (en) Optical receiver
JP4018372B2 (en) Comparator circuit and infrared signal receiver
KR100383849B1 (en) Data transmission equipment
JP4037636B2 (en) Energy saving method for wireless reception of data modulated on a carrier signal
US8035538B2 (en) Sigma-delta conversion circuit suitable for photocurrent measurement applications
JP5025771B2 (en) Gain control device for variable gain amplifier and gain control method thereof
JP5017436B2 (en) Filter adjustment device, power supply control system, and filter adjustment method,
KR100575351B1 (en) Infrared-ray recceiver capable of removing noise
JP4071170B2 (en) Communication receiver circuit and electronic device including the same
JP2018046585A (en) Optical receiver
Alegre et al. Low-ripple fast-settling envelope detector
KR100509906B1 (en) Control circuit of infrared-ray recceiver
JP2000183983A (en) Pre-amplifier for infrared remote control reception and method for detecting the same
JP2009188818A (en) Ask demodulating circuit, and receiver
CN115733472A (en) Signal detection circuit
KR100631877B1 (en) Automatic Gain Detector Improves Switching Noise
JP2013048316A (en) Optical-signal receiving circuit