[go: up one dir, main page]

JP2006060410A - Gain adjustment circuit, signal processing circuit equipped with the same, and electric equipment - Google Patents

Gain adjustment circuit, signal processing circuit equipped with the same, and electric equipment Download PDF

Info

Publication number
JP2006060410A
JP2006060410A JP2004238640A JP2004238640A JP2006060410A JP 2006060410 A JP2006060410 A JP 2006060410A JP 2004238640 A JP2004238640 A JP 2004238640A JP 2004238640 A JP2004238640 A JP 2004238640A JP 2006060410 A JP2006060410 A JP 2006060410A
Authority
JP
Japan
Prior art keywords
gain
value
output
addition
signal
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
JP2004238640A
Other languages
Japanese (ja)
Inventor
Hidetoshi Nishikawa
英敏 西川
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.)
Rohm Co Ltd
Original Assignee
Rohm Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2004238640A priority Critical patent/JP2006060410A/en
Priority to CN2009101426744A priority patent/CN101572531B/en
Priority to KR1020087011445A priority patent/KR100890293B1/en
Priority to US11/660,419 priority patent/US20070285155A1/en
Priority to KR1020077006189A priority patent/KR20070046178A/en
Priority to PCT/JP2005/012738 priority patent/WO2006018941A1/en
Priority to CNB2005800282257A priority patent/CN100568749C/en
Priority to TW094128209A priority patent/TW200625842A/en
Publication of JP2006060410A publication Critical patent/JP2006060410A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Amplification And Gain Control (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a gain adjustment circuit whose gain control speed is fast. <P>SOLUTION: The gain adjustment circuit 100 is equipped with a comparator 11 which compares the output signal of a band-pass filter 4 with a noise level voltage V<SB>T</SB>noise, an addition/subtraction value calculating circuit 15 which outputs a specified addition value or specified subtraction value according to a signal based upon the output of the comparator 11, a gain register 17 which temporarily stores a gain value, an adder subtracter 16 which performs calculation based upon the specific addition value or specific subtraction value outputted from the addition/subtraction value calculating circuit 15 and the gain value outputted from the gain register 17 and outputs the calculation result as the gain value to the gain register 17, and a voltage-current converting circuit 18 which controls the gain of an amplifier 3 according to the gain value outputted from the gain register 17. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、長い休止区間を挟んで繰り返される信号を入力する可変利得器(可変利得増幅器或いは可変利得減衰器)のゲインを調整するゲイン調整回路並びにそれを備えた信号処理回路及び電気機器に関する。   The present invention relates to a gain adjustment circuit that adjusts the gain of a variable gain device (variable gain amplifier or variable gain attenuator) that inputs a signal that is repeated with a long pause interval, and a signal processing circuit and an electric device that include the gain adjustment circuit.

図7に示すような長い休止区間RT(信号発生区間STの2〜4倍)を挟んで繰り返される信号を処理する信号処理回路(例えば、海外メーカー向けの赤外線リモコン送信機から送信される光信号を受光する受光回路等)には、信号認識レベルVTsignalを用いて信号を認識する信号認識部が設けられている。かかる信号処理回路において、無信号時に図8に示すような周期的なノイズが入ってきて、そのノイズのレベルが信号認識レベルVTsignalより大きい場合、ノイズが前記信号認識部によって信号として認識され、誤動作の主要因となる。 A signal processing circuit (for example, an optical signal transmitted from an infrared remote control transmitter for an overseas manufacturer) that processes a signal repeated across a long pause period RT (2 to 4 times the signal generation period ST) as shown in FIG. In the light receiving circuit or the like for receiving the light, a signal recognition unit for recognizing the signal using the signal recognition level V T signal is provided. In such a signal processing circuit, periodic noise as shown in FIG. 8 enters when there is no signal, and when the noise level is higher than the signal recognition level V T signal, the noise is recognized as a signal by the signal recognition unit. It becomes the main factor of malfunction.

そこで、誤動作を防止するために、信号とノイズを判別し信号とノイズをそれぞれ検出する判別手段を設け、前記判別手段によってノイズが検出されると、前記信号認識部よりも前段に設けられる可変利得器のゲインを小さくして、ノイズのレベルが信号認識レベルVTsignalより大きくならないようにする方策が考えられる。 Therefore, in order to prevent malfunction, a determination unit for determining the signal and noise and detecting the signal and noise respectively is provided. When noise is detected by the determination unit, a variable gain provided before the signal recognition unit is provided. It is possible to reduce the gain of the device so that the noise level does not become higher than the signal recognition level V T signal.

ここで、信号とノイズを判別し信号とノイズをそれぞれ検出する判別手段として、例えば特許文献1に開示されている技術が挙げられる。特許文献1に開示されている技術は、長い休止区間Tpを挟んで繰り返される信号とノイズを判別する方法であって、チェック区間Tcheck(例えば、96mS)中にノイズの周期より長く且つ休止区間Tpより短い休止区間Td(例えば、24mS)が発生すれば信号であると認識し、チェック区間Tcheck中に休止区間Tdが発生しなければノイズであると認識することを特徴している。
特表2001−502147号公報
Here, as a discriminating means for discriminating a signal and noise and detecting each of the signal and noise, for example, a technique disclosed in Patent Document 1 can be cited. The technique disclosed in Patent Document 1 is a method of discriminating a signal and noise that are repeated across a long pause period Tp, which is longer than the period of noise during the check period Tcheck (for example, 96 mS) and the pause period Tp. If a shorter pause interval Td (for example, 24 mS) occurs, the signal is recognized, and if the pause interval Td does not occur during the check interval Tcheck, it is recognized as noise.
JP-T-2001-502147

しかしながら、上述した特許文献1に開示されている技術を用いた場合は、チェック区間Tcheck毎に信号かノイズかを認識するため、ゲイン調整速度が遅いという問題があった。例えば、ゲインが128段階であって、図7に示すような信号を処理する場合、最小ゲインから最大ゲインに移行するのに12.7S(=127×100mS)必要であり、最大ゲインから最小ゲインに移行するのに12.7S(=127×100mS)必要である。   However, when the technique disclosed in Patent Document 1 described above is used, there is a problem that the gain adjustment speed is slow because the signal or noise is recognized for each check section Tcheck. For example, when the signal has 128 stages and the signal as shown in FIG. 7 is processed, 12.7S (= 127 × 100 mS) is required to shift from the minimum gain to the maximum gain, and the maximum gain to the minimum gain. 12.7S (= 127 × 100 mS) is required to shift to.

本発明は、上記の問題点に鑑み、ゲイン調整速度が速いゲイン調整回路並びにそれを備えた信号処理回路及び電気機器を提供することを目的とする。   In view of the above problems, an object of the present invention is to provide a gain adjustment circuit having a high gain adjustment speed, a signal processing circuit including the gain adjustment circuit, and an electric device.

上記目的を達成するために本発明に係るゲイン調整回路は、入力信号と所定のノイズレベル電圧とを比較する比較回路と、前記比較回路の出力に基づく信号に応じて所定の加算値又は所定の減算値を出力する加減算値計算回路と、ゲイン値を一時的に記憶するゲインレジスタと、前記加減算値計算回路から出力される所定の加算値又は所定の減算値と前記ゲインレジスタから出力されるゲイン値とを演算し、演算結果を前記ゲイン値として前記ゲインレジスタに出力する加減算器と、前記ゲインレジスタから出力されるゲイン値に応じて外部可変利得器のゲインを調整するゲイン制御部とを備える構成(以下、第1の構成ともいう)としている。   In order to achieve the above object, a gain adjustment circuit according to the present invention includes a comparison circuit that compares an input signal with a predetermined noise level voltage, and a predetermined addition value or a predetermined value according to a signal based on the output of the comparison circuit. Addition / subtraction value calculation circuit for outputting a subtraction value, gain register for temporarily storing a gain value, a predetermined addition value output from the addition / subtraction value calculation circuit or a predetermined subtraction value and a gain output from the gain register An adder / subtractor that calculates a value and outputs the calculation result as the gain value to the gain register, and a gain control unit that adjusts the gain of the external variable gain device according to the gain value output from the gain register. The configuration (hereinafter also referred to as a first configuration) is used.

このような構成によると、特許文献1に開示されている技術のようにチェック区間Tcheck毎に信号かノイズかを認識するのではなく、前記入力信号が信号であるかノイズであるかの判別を行わずにゲイン調整を行う方式になるため、ゲイン調整速度を速くすることができる。   According to such a configuration, instead of recognizing signal or noise for each check section Tcheck as in the technique disclosed in Patent Document 1, it is determined whether the input signal is a signal or noise. Since the gain adjustment is performed without performing the gain adjustment, the gain adjustment speed can be increased.

また、第1の構成のゲイン調整回路において、所定の周期のクロック信号を発振する発振器と、前記比較回路の出力をセット端子に入力し、前記クロック信号をリセット端子に入力し、前記加減算値計算回路に出力データを送出するセットリセットフリップフロップとを備え、前記ゲインレジスタが前記クロック信号に基づいてクロック動作を行うようにしてもよい。   In the gain adjustment circuit having the first configuration, an oscillator that oscillates a clock signal having a predetermined period, an output of the comparison circuit is input to a set terminal, the clock signal is input to a reset terminal, and the addition / subtraction value calculation is performed. A set-reset flip-flop that sends output data to the circuit may be provided, and the gain register may perform a clock operation based on the clock signal.

このような構成によると、前記所定の周期をノイズの周期より長く且つ図7に示す休止区間RTより短い期間にすることで、ゲインを上げる際でもゲインを下げる際でもゲイン調整速度を速くすることができる。   According to such a configuration, the predetermined period is longer than the period of noise and shorter than the rest period RT shown in FIG. 7, so that the gain adjustment speed can be increased even when the gain is increased or decreased. Can do.

また、第1の構成のゲイン調整回路において、クロック信号を発振する発振器と、前記判定部の出力をリセット端子に入力し、リセットされなければ第1の時間毎にパルス出力を行う第1のカウンタと、第1のカウンタの出力をリセット端子に入力し、リセットされなければ第2の時間毎にパルス出力を行う第2のカウンタとを備え、前記ゲインレジスタ、第1のカウンタ、及び第2のカウンタが前記クロック信号に基づいて動作し、前記加減算値計算回路が、第2のカウンタからのパルス出力を入力すると所定の減算値を出力し、第1のカウンタからのパルス出力を入力すると所定の加算値を出力するようにしてもよい。   Further, in the gain adjustment circuit having the first configuration, an oscillator that oscillates a clock signal, and a first counter that outputs a pulse output every first time when the output of the determination unit is input to a reset terminal and is not reset. And a second counter that inputs the output of the first counter to a reset terminal and outputs a pulse every second time if the output is not reset, the gain register, the first counter, and the second counter A counter operates based on the clock signal, and the addition / subtraction value calculation circuit outputs a predetermined subtraction value when a pulse output from the second counter is input, and a predetermined output when a pulse output from the first counter is input. The added value may be output.

このような構成によると、第1の時間をノイズの周期より長く且つ図7に示す休止区間RTより短くし、第2の時間を図7に示す信号発生区間STと休止区間RTとを加算した時間にすることで、ゲインを上げる際のゲイン調整速度を速くすることができる。   According to such a configuration, the first time is longer than the period of the noise and shorter than the pause interval RT shown in FIG. 7, and the second time is added to the signal generation interval ST and the pause interval RT shown in FIG. By setting the time, the gain adjustment speed when increasing the gain can be increased.

また、外部可変利得器のゲインが必要以上に下がった場合でも図7に示す休止区間RT中に必要なゲインまで復帰できるようにする観点或いはゲインを上げる際のゲイン調整速度を更に速くする観点から、上記いずれかの構成のゲイン調整回路において、前記所定の加算値を前記所定の減算値の絶対値よりも大きくすることが望ましい。   Further, from the viewpoint of enabling the return to the required gain during the rest period RT shown in FIG. 7 even when the gain of the external variable gain device falls more than necessary, or from the viewpoint of further increasing the gain adjustment speed when increasing the gain. In any of the above-described gain adjustment circuits, it is preferable that the predetermined addition value is larger than the absolute value of the predetermined subtraction value.

また、ゲイン値のばたつきを抑制する観点から、上記いずれかの構成のゲイン調整回路において、前回の所定の加算値又は所定の減算値を一時的に記憶する記憶手段を備え、前記加減算器が、前記記憶手段が記憶している前回の所定の加算値又は所定の減算値と前記加減算値計算回路から出力される所定の加算値又は所定の減算値とが同一でなければ、前記加減算値計算回路から出力される所定の加算値又は所定の減算値と前記ゲインレジスタから出力されるゲイン値とを演算せずに、前記ゲインレジスタから出力されるゲイン値をそのまま前記ゲイン値として前記ゲインレジスタに出力するようにしてもよい。   In addition, from the viewpoint of suppressing the fluctuation of the gain value, the gain adjustment circuit having any one of the above configurations includes storage means for temporarily storing the previous predetermined addition value or the predetermined subtraction value, and the adder / subtractor includes: If the previous predetermined addition value or predetermined subtraction value stored in the storage means is not the same as the predetermined addition value or predetermined subtraction value output from the addition / subtraction value calculation circuit, the addition / subtraction value calculation circuit The gain value output from the gain register is directly output to the gain register as the gain value without calculating the predetermined addition value or the predetermined subtraction value output from the gain value and the gain value output from the gain register. You may make it do.

また、本発明に係る信号処理回路は、可変利得器と、前記可変利得器の出力に基づく信号を処理する信号処理部と、前記可変利得器の出力に基づく信号を入力し、前記可変利得器のゲインを調整するゲイン調整回路とを備え、前記ゲイン調整回路を上述した本発明に係るゲイン調整回路とする構成としている。また、本発明に係る電気機器は、上述した本発明に係る信号処理回路を備える構成としている。   The signal processing circuit according to the present invention receives a variable gain device, a signal processing unit that processes a signal based on the output of the variable gain device, and a signal based on the output of the variable gain device, and the variable gain device. And a gain adjustment circuit for adjusting the gain of the gain adjustment circuit according to the present invention described above. Moreover, the electric equipment according to the present invention is configured to include the signal processing circuit according to the present invention described above.

本発明によると、ゲイン調整速度が速いゲイン調整回路並びにそれを備えた信号処理回路及び電気機器を実現することができる。   According to the present invention, it is possible to realize a gain adjustment circuit having a high gain adjustment speed, a signal processing circuit and an electric device including the gain adjustment circuit.

本発明の一実施形態について図面を参照して以下に説明する。本発明に係る信号処理回路として、ここでは海外メーカー向けの赤外線リモコン送信機から送信される光信号を受光する受光回路を例に挙げて説明する。   An embodiment of the present invention will be described below with reference to the drawings. As a signal processing circuit according to the present invention, here, a light receiving circuit that receives an optical signal transmitted from an infrared remote control transmitter for an overseas manufacturer will be described as an example.

本発明に係る受光回路の一構成例を図1に示す。図1に示す受光回路は、フォトダイオード1と、電流−電圧変換回路2と、ゲインが可変するアンプ3と、バンドパスフィルタ4と、オペアンプ5と、定電圧源6と、パルス変調信号復調回路7と、トランジスタ8と、プルアップ抵抗9と、出力端子10と、ゲイン調整回路100とによって構成されている。   One structural example of the light receiving circuit according to the present invention is shown in FIG. The light receiving circuit shown in FIG. 1 includes a photodiode 1, a current-voltage conversion circuit 2, an amplifier 3 with variable gain, a bandpass filter 4, an operational amplifier 5, a constant voltage source 6, and a pulse modulation signal demodulation circuit. 7, a transistor 8, a pull-up resistor 9, an output terminal 10, and a gain adjustment circuit 100.

赤外線リモコン送信機(図示せず)から送信される光信号はフォトダイオード1によって電流信号に変換され、その電流信号が電流−電圧変換回路2によって電圧信号に変換され、その電圧信号がアンプ3によって増幅された後バンドパスフィルタ4に入力される。   An optical signal transmitted from an infrared remote control transmitter (not shown) is converted into a current signal by the photodiode 1, the current signal is converted into a voltage signal by the current-voltage conversion circuit 2, and the voltage signal is converted by the amplifier 3. The amplified signal is input to the bandpass filter 4.

バンドパスフィルタ4は、入力した信号の所定範囲の周波数成分のみを通過させオペアンプ5の非反転入力端子及びゲイン調整回路100に送出する。   The bandpass filter 4 passes only the frequency components in a predetermined range of the input signal and sends them to the non-inverting input terminal of the operational amplifier 5 and the gain adjustment circuit 100.

オペアンプ5は、バンドパスフィルタ4の出力信号と定電圧源6から出力される信号認識レベル電圧VTsignalとの比較結果を増幅してパルス変調信号復調回路7に出力する。なお、赤外線リモコン送信機(図示せず)からフォトダイオード1に送られる光信号がパルス変調信号であるので、オペアンプ5の出力信号もパルス変調信号となる。パルス変調信号復調回路7は、パルス変調信号であるオペアンプ5の出力信号を復調し、その復調した信号をトランジスタ8のベースに出力する。トランジスタ8のエミッタは接地され、トランジスタ8のコレクタはプルアップ抵抗9に接続され、トランジスタ8のコレクタとプルアップ抵抗9との接続ノードに出力端子10が接続されるので、出力端子10から出力される信号は、パルス変調信号復調回路7から出力される信号の反転信号になる。 The operational amplifier 5 amplifies the comparison result between the output signal of the bandpass filter 4 and the signal recognition level voltage V T signal output from the constant voltage source 6 and outputs the result to the pulse modulation signal demodulation circuit 7. Since the optical signal sent from the infrared remote control transmitter (not shown) to the photodiode 1 is a pulse modulation signal, the output signal of the operational amplifier 5 is also a pulse modulation signal. The pulse modulation signal demodulation circuit 7 demodulates the output signal of the operational amplifier 5 which is a pulse modulation signal, and outputs the demodulated signal to the base of the transistor 8. The emitter of the transistor 8 is grounded, the collector of the transistor 8 is connected to the pull-up resistor 9, and the output terminal 10 is connected to the connection node between the collector of the transistor 8 and the pull-up resistor 9. This signal becomes an inverted signal of the signal output from the pulse modulation signal demodulation circuit 7.

ゲイン調整回路100は、バンドパスフィルタ4の出力信号に応じてアンプ3のゲインを調整する。   The gain adjustment circuit 100 adjusts the gain of the amplifier 3 according to the output signal of the bandpass filter 4.

このように、図1に示す受光回路は、パルス変調信号である光信号を受光し、その光信号のパルス発生に対応してLowレベル、その光信号のパルス不発生に対応してHighレベルとなるコード信号を出力することができる。また、詳細を後述するゲイン調整回路100がアンプ3のゲインを調整するので、ノイズが信号認識レベル電圧VTsignalより大きくなることを防止することができる。 As described above, the light receiving circuit shown in FIG. 1 receives the optical signal, which is a pulse modulation signal, and has a low level corresponding to the generation of the pulse of the optical signal and a high level corresponding to the non-occurrence of the pulse of the optical signal. A code signal can be output. In addition, since the gain adjustment circuit 100, which will be described in detail later, adjusts the gain of the amplifier 3, it is possible to prevent noise from becoming larger than the signal recognition level voltage V T signal.

ここで、本発明の特徴部分であるゲイン調整回路100について詳細に説明する。ゲイン調整回路100は、比較器11と、定電圧源12と、発振器(OSC)13と、セットリセットフリップフロップ14と、加減算値計算回路15と、加減算器16と、ゲインレジスタ17と、電圧−電流変換回路18とによって構成されている。ゲイン値を一時的に記憶するゲインレジスタ17は、7bitのレジスタであるので、ゲイン値は128段階に調整可能である。   Here, the gain adjustment circuit 100 which is a characteristic part of the present invention will be described in detail. The gain adjustment circuit 100 includes a comparator 11, a constant voltage source 12, an oscillator (OSC) 13, a set / reset flip-flop 14, an addition / subtraction value calculation circuit 15, an adder / subtractor 16, a gain register 17, a voltage − And a current conversion circuit 18. Since the gain register 17 that temporarily stores the gain value is a 7-bit register, the gain value can be adjusted in 128 steps.

比較器11は、バンドパスフィルタ4の出力信号が信号であるかノイズであるかの判別を行っておらず、バンドパスフィルタ4の出力信号が定電圧源12から出力されるノイズレベル電圧VTnoise(<VTsignal)より大きければHighレベルの信号を、バンドパスフィルタ4の出力信号が定電圧源12から出力されるノイズレベル電圧VTnoiseより大きくなければLowレベルの信号をセットリセットフリップフロップ14のセット端子に出力する。 The comparator 11 does not determine whether the output signal of the bandpass filter 4 is a signal or noise, and the noise level voltage V T from which the output signal of the bandpass filter 4 is output from the constant voltage source 12. If it is larger than noise (<V T signal), a high level signal is set. If the output signal of the bandpass filter 4 is not larger than the noise level voltage V T noise output from the constant voltage source 12, a low level signal is set and reset. Output to the set terminal of

発振器13から発振される所定の周期(ノイズの周期より長く且つ図7に示す休止区間RTより短い期間、本実施形態では20mS)のクロック信号によって、前記所定の周期毎にセットリセットフリップフロップ14がリセットされる。   The set / reset flip-flop 14 is set at every predetermined period by a clock signal having a predetermined period (longer than the period of noise and shorter than the rest period RT shown in FIG. 7, 20 mS in this embodiment) oscillated from the oscillator 13. Reset.

加減算値計算回路15は、セットリセットフリップフロップ14の出力がHighレベルであれば所定の減算値(本実施形態では−1)を出力し、セットリセットフリップフロップ14の出力がLowレベルであれば所定の加算値(本実施形態では2)を出力する。そして、加減算器16は、ゲインレジスタ17が出力するゲイン値(7bitのデジタルデータ)と加減算値計算回路15が出力する減算値或いは加算値とを演算し、演算結果をゲイン値(7bitのデジタルデータ)としてゲインレジスタ17に出力する。   The addition / subtraction value calculation circuit 15 outputs a predetermined subtraction value (-1 in this embodiment) if the output of the set / reset flip-flop 14 is High level, and predetermined if the output of the set / reset flip-flop 14 is Low level. Is added (2 in this embodiment). The adder / subtractor 16 calculates the gain value (7-bit digital data) output from the gain register 17 and the subtraction value or addition value output from the addition / subtraction value calculation circuit 15, and outputs the calculation result as a gain value (7-bit digital data). ) To the gain register 17.

ゲインレジスタ17は、発振器13から発振されるクロック信号に基づいて前記所定の周期毎にクロック動作を行う。ゲインレジスタ17が出力するゲイン値(7bitのデジタルデータ)は加減算器16以外に電圧−電流変換回路18にも出力される。電圧−電流変換回路18は、電圧信号であるゲイン値(7bitのデジタルデータ)をアナログ電流信号に変換し、そのアナログ電流信号によってアンプ3のゲインを可変する。   The gain register 17 performs a clock operation for each predetermined period based on the clock signal oscillated from the oscillator 13. The gain value (7-bit digital data) output from the gain register 17 is output to the voltage-current conversion circuit 18 in addition to the adder / subtractor 16. The voltage-current conversion circuit 18 converts a gain value (7-bit digital data) that is a voltage signal into an analog current signal, and varies the gain of the amplifier 3 by the analog current signal.

図1に示す受光回路のゲイン調整回路100では、例えば、図7に示すような信号を処理する場合、最小ゲインから最大ゲインに移行するのに1.27S(=127×20mS÷2(加算値))必要であり、最大ゲインから最小ゲインに移行するのに2.54S(=127×20mS)必要である。一方、特許文献1に開示されている技術を用いた場合は、同様の条件で、最小ゲインから最大ゲインに移行するのに12.7S必要であり、最大ゲインから最小ゲインに移行するのに12.7S必要である。このように、図1に示す受光回路のゲイン調整回路100は、特許文献1に開示されている技術を用いた場合に比べてゲイン調整速度が速い。したがって、図1に示す受光回路は、急にノイズが発生した場合(例えば蛍光灯が急に点灯した場合等)の対応がよりスムーズになる。   In the gain adjustment circuit 100 of the light receiving circuit shown in FIG. 1, for example, when processing a signal as shown in FIG. 7, 1.27 S (= 127 × 20 mS ÷ 2 (addition value) is required to shift from the minimum gain to the maximum gain. )) Necessary and 2.54S (= 127 × 20 mS) is required to shift from the maximum gain to the minimum gain. On the other hand, when the technique disclosed in Patent Document 1 is used, 12.7S is required to shift from the minimum gain to the maximum gain under the same conditions, and 12 shifts from the maximum gain to the minimum gain. .7S is required. Thus, the gain adjustment circuit 100 of the light receiving circuit shown in FIG. 1 has a higher gain adjustment speed than the case where the technique disclosed in Patent Document 1 is used. Therefore, the light receiving circuit shown in FIG. 1 is more smoothly adapted when noise suddenly occurs (for example, when a fluorescent lamp suddenly lights up).

また、特許文献1に開示されている技術を用いた場合、チェック区間Tcheckをカウントする複数のフリップフロップから成るカウンタが必要であるが、図1に示す受光回路のゲイン調整回路100ではカウンタの代わりに複数の論理ゲートから成る計算回路ブロック(加減算値計算回路15及び加減算器16)を設けている。カウンタと計算回路ブロックの回路規模を比較すると、計算回路ブロックの方がカウンタに比べて断然回路規模が小さくすることができるので、図1に示す受光回路のゲイン調整回路100は小型化及び低コスト化を図ることができる。   Further, when the technique disclosed in Patent Document 1 is used, a counter including a plurality of flip-flops that count the check section Tcheck is necessary. However, the gain adjustment circuit 100 of the light receiving circuit shown in FIG. Are provided with a calculation circuit block (addition / subtraction value calculation circuit 15 and adder / subtractor 16) comprising a plurality of logic gates. Comparing the circuit scale of the counter and the calculation circuit block, the circuit scale of the calculation circuit block can be remarkably reduced as compared with the counter. Therefore, the gain adjustment circuit 100 of the light receiving circuit shown in FIG. Can be achieved.

図1に示す受光回路のゲイン調整回路100は、ノイズと信号の判別を行っていない。このため、図1に示す受光回路が信号を受け続けた場合、信号がノイズレベル電圧VTnoiseより大きいのでアンプ3のゲインが必要以上に下がることがある。しかしながら、信号区間STと信号区間STとの間には休止区間RT(図7参照)があるので、休止区間RT中に必要なゲインまで復帰できれば何ら不具合は生じない。なお、休止区間RT中に必要なゲインまで復帰できるように、加算値を減算値の絶対値よりも大きく設定しておくことが望ましい。加算値を大きくするほどゲインの復帰が確実になるが、加算値を大きくし過ぎるとノイズも信号と認識されるおそれがあるため、加算値を適切な値に設定する必要がある。 The gain adjustment circuit 100 of the light receiving circuit shown in FIG. 1 does not discriminate between noise and signal. For this reason, when the light receiving circuit shown in FIG. 1 continues to receive a signal, the gain of the amplifier 3 may decrease more than necessary because the signal is larger than the noise level voltage V T noise. However, since there is a pause interval RT (see FIG. 7) between the signal interval ST and the signal interval ST, no problem occurs if the required gain can be recovered during the pause interval RT. Note that it is desirable to set the added value larger than the absolute value of the subtracted value so that the necessary gain can be restored during the rest period RT. As the added value is increased, the return of the gain is assured. However, if the added value is increased too much, noise may be recognized as a signal. Therefore, it is necessary to set the added value to an appropriate value.

次に、本発明に係る受光回路の他の構成例を図2に示す。なお、図2において図1と同一の部分には同一の符号を付し詳細な説明を省略する。図2に示す受光回路は、図1に示す受光回路のゲイン調整回路100をゲイン調整回路101に置換した構成である。そして、ゲイン調整回路101は、ゲイン調整回路100の加減算器16及びゲインレジスタ17をそれぞれ加減算器16’及びゲインレジスタ17’に置換した構成である。   Next, another configuration example of the light receiving circuit according to the present invention is shown in FIG. 2, the same parts as those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof is omitted. The light receiving circuit shown in FIG. 2 has a configuration in which the gain adjusting circuit 100 of the light receiving circuit shown in FIG. The gain adjustment circuit 101 is configured by replacing the adder / subtractor 16 and the gain register 17 of the gain adjustment circuit 100 with an adder / subtractor 16 'and a gain register 17', respectively.

以下、ゲイン調整回路101について説明する。ゲイン調整回路101は、比較器11と、定電圧源12と、発振器(OSC)13と、セットリセットフリップフロップ14と、加減算値計算回路15と、加減算器16’と、ゲインレジスタ17’と、電圧−電流変換回路18とによって構成されている。ゲイン値を一時的に記憶するゲインレジスタ17’は、9bitのレジスタであって、上位7bitをゲイン値の一時記憶用に用いるので、ゲイン値は128段階に調整可能である。   Hereinafter, the gain adjustment circuit 101 will be described. The gain adjustment circuit 101 includes a comparator 11, a constant voltage source 12, an oscillator (OSC) 13, a set / reset flip-flop 14, an addition / subtraction value calculation circuit 15, an adder / subtractor 16 ', a gain register 17', And a voltage-current conversion circuit 18. The gain register 17 ′ that temporarily stores the gain value is a 9-bit register, and the upper 7 bits are used for temporary storage of the gain value. Therefore, the gain value can be adjusted in 128 steps.

比較器11は、バンドパスフィルタ4の出力信号が信号であるかノイズであるかの判別を行っておらず、バンドパスフィルタ4の出力信号が定電圧源12から出力されるノイズレベル電圧VTnoise(<VTsignal)より大きければHighレベルの信号を、バンドパスフィルタ4の出力信号が定電圧源12から出力されるノイズレベル電圧VTnoiseより大きくなければLowレベルの信号をセットリセットフリップフロップ14のセット端子に出力する。 The comparator 11 does not determine whether the output signal of the bandpass filter 4 is a signal or noise, and the noise level voltage V T from which the output signal of the bandpass filter 4 is output from the constant voltage source 12. If it is larger than noise (<V T signal), a high level signal is set. If the output signal of the bandpass filter 4 is not larger than the noise level voltage V T noise output from the constant voltage source 12, a low level signal is set and reset. Output to the set terminal of

発振器13から発振される所定の周期(ノイズの周期より長く且つ図7に示す休止区間RTより短い期間、本実施形態では20mS)のクロック信号によって、前記所定の周期毎にセットリセットフリップフロップ14がリセットされる。   The set / reset flip-flop 14 is set at every predetermined period by a clock signal having a predetermined period (longer than the period of noise and shorter than the rest period RT shown in FIG. 7, 20 mS in this embodiment) oscillated from the oscillator 13. Reset.

加減算値計算回路15は、セットリセットフリップフロップ14の出力がHighレベルであれば所定の減算値(本実施形態では−1)を出力し、セットリセットフリップフロップ14の出力がLowレベルであれば所定の加算値(本実施形態では2)を出力する。   The addition / subtraction value calculation circuit 15 outputs a predetermined subtraction value (-1 in this embodiment) if the output of the set / reset flip-flop 14 is High level, and predetermined if the output of the set / reset flip-flop 14 is Low level. Is added (2 in this embodiment).

加減算器16’は、ゲインレジスタ17’が出力するゲイン値(上位7bitのデジタルデータ)及び前回の加減算値(下位2ビットのデジタルデータ)と、加減算値計算回路15が出力する減算値或いは加算値(今回の加減算値)とを入力する(図3のステップ#10)。   The adder / subtractor 16 ′ includes the gain value (upper 7-bit digital data) output from the gain register 17 ′ and the previous addition / subtraction value (lower 2-bit digital data) and the subtraction value or addition value output from the addition / subtraction value calculation circuit 15. (The current addition / subtraction value) is input (step # 10 in FIG. 3).

ゲインレジスタ17’が出力する前回の加減算値(下位2ビットのデジタルデータ)と加減算値計算回路15が出力する減算値或いは加算値(今回の加減算値)とが同じ値であれば(図3のステップ#20のYES)、加減算器16’は、ゲインレジスタ17’が出力するゲイン値(上位7bitのデジタルデータ)と加減算値計算回路15が出力する減算値或いは加算値(今回の加減算値)とを演算し、演算結果をゲイン値(上位7bitのデジタルデータ)としてゲインレジスタ17’に出力するとともに(図3のステップ#30)、加減算値計算回路15が出力する減算値或いは加算値(今回の加減算値)を保持すべき加減算値(下位2ビットのデジタルデータ)としてゲインレジスタ17’に出力する(図3のステップ#40)。一方、ゲインレジスタ17’が出力する前回の加減算値(下位2ビットのデジタルデータ)と加減算値計算回路15が出力する減算値或いは加算値(今回の加減算値)とが異なる値であれば(図3のステップ#20のNO)、加減算器16’は、ゲインレジスタ17’が出力するゲイン値(上位7bitのデジタルデータ)をそのままゲイン値(上位7bitのデジタルデータ)としてゲインレジスタ17’に出力するとともに(図3のステップ#50)、加減算値計算回路15が出力する減算値或いは加算値(今回の加減算値)を保持すべき加減算値(下位2ビットのデジタルデータ)としてゲインレジスタ17’に出力する(図3のステップ#60)。   If the previous addition / subtraction value (low-order 2-bit digital data) output from the gain register 17 ′ is the same as the subtraction value or addition value (current addition / subtraction value) output from the addition / subtraction value calculation circuit 15 (FIG. 3). In step # 20, the adder / subtractor 16 'calculates the gain value (high-order 7-bit digital data) output from the gain register 17' and the subtraction value or addition value (current addition / subtraction value) output from the addition / subtraction value calculation circuit 15. And outputs the calculation result as a gain value (high-order 7-bit digital data) to the gain register 17 ′ (step # 30 in FIG. 3), and the subtraction value or addition value (this time) output by the addition / subtraction value calculation circuit 15 (Addition / subtraction value) is output to the gain register 17 'as an addition / subtraction value (low-order 2-bit digital data) to be held (step # 40 in FIG. 3). On the other hand, if the previous addition / subtraction value (low-order 2-bit digital data) output from the gain register 17 ′ is different from the subtraction value or addition value (current addition / subtraction value) output from the addition / subtraction value calculation circuit 15 (FIG. 3, NO at step # 20), the adder / subtractor 16 ′ outputs the gain value (upper 7-bit digital data) output from the gain register 17 ′ as it is to the gain register 17 ′ as the gain value (upper 7-bit digital data). At the same time (step # 50 in FIG. 3), the subtraction value or addition value (current addition / subtraction value) output by the addition / subtraction value calculation circuit 15 is output to the gain register 17 ′ as the addition / subtraction value (low-order 2-bit digital data) to be held. (Step # 60 in FIG. 3).

ゲインレジスタ17’は、発振器13から発振されるクロック信号に基づいて前記所定の周期毎にクロック動作を行う。ゲインレジスタ17’が出力するゲイン値(上位7bitのデジタルデータ)は加減算器16’以外に電圧−電流変換回路18にも出力される。電圧−電流変換回路18は、電圧信号であるゲイン値(上位7bitのデジタルデータ)をアナログ電流信号に変換し、そのアナログ電流信号によってアンプ3のゲインを可変する。   The gain register 17 ′ performs a clock operation for each predetermined period based on the clock signal oscillated from the oscillator 13. The gain value (high-order 7-bit digital data) output from the gain register 17 ′ is also output to the voltage-current conversion circuit 18 in addition to the adder / subtractor 16 ′. The voltage-current conversion circuit 18 converts a gain value (upper 7-bit digital data), which is a voltage signal, into an analog current signal, and varies the gain of the amplifier 3 by the analog current signal.

図2に示す受光回路のゲイン調整回路101は、図1に示す受光回路のゲイン調整回路100と同様の効果を奏するとともに、加算値が連続して加減算器16’に入力されなければゲイン値は上がらず、減算値が連続して加減算器16’に入力されなければゲイン値は下がらないので、ゲイン値のばたつきを抑制することができる。   The gain adjusting circuit 101 of the light receiving circuit shown in FIG. 2 has the same effect as the gain adjusting circuit 100 of the light receiving circuit shown in FIG. 1, and the gain value is not input unless the addition value is continuously input to the adder / subtractor 16 ′. Since the gain value does not decrease unless the subtraction value is continuously input to the adder / subtractor 16 'without increasing, fluctuation of the gain value can be suppressed.

次に、本発明に係る受光回路の更に他の構成例を図4に示す。なお、図4において図1と同一の部分には同一の符号を付し詳細な説明を省略する。図4に示す受光回路は、図1に示す受光回路のゲイン調整回路100をゲイン調整回路102に置換した構成である。そして、ゲイン調整回路102は、ゲイン調整回路100のセットリセットフリップフロップ14をカウンタ19及び20に置換した構成である。   Next, still another configuration example of the light receiving circuit according to the present invention is shown in FIG. 4 that are the same as those in FIG. 1 are assigned the same reference numerals and detailed descriptions thereof are omitted. The light receiving circuit shown in FIG. 4 has a configuration in which the gain adjusting circuit 100 of the light receiving circuit shown in FIG. The gain adjustment circuit 102 is configured by replacing the set-reset flip-flop 14 of the gain adjustment circuit 100 with counters 19 and 20.

以下、ゲイン調整回路102について説明する。ゲイン調整回路102は、比較器11と、定電圧源12と、発振器(OSC)13と、加減算値計算回路15と、加減算器16と、ゲインレジスタ17と、電圧−電流変換回路18と、カウンタ19及び10とによって構成されている。ゲイン値を一時的に記憶するゲインレジスタ17は、7bitのレジスタであるので、ゲイン値は128段階に調整可能である。   Hereinafter, the gain adjustment circuit 102 will be described. The gain adjustment circuit 102 includes a comparator 11, a constant voltage source 12, an oscillator (OSC) 13, an addition / subtraction value calculation circuit 15, an adder / subtractor 16, a gain register 17, a voltage-current conversion circuit 18, and a counter. 19 and 10. Since the gain register 17 that temporarily stores the gain value is a 7-bit register, the gain value can be adjusted in 128 steps.

比較器11は、バンドパスフィルタ4の出力信号が信号であるかノイズであるかの判別を行っておらず、バンドパスフィルタ4の出力信号が定電圧源12から出力されるノイズレベル電圧VTnoise(<VTsignal)より大きければHighレベルの信号を、バンドパスフィルタ4の出力信号が定電圧源12から出力されるノイズレベル電圧VTnoiseより大きくなければLowレベルの信号をカウンタ19のリセット端子に出力する。カウンタ19の出力は、カウンタ20のリセット端子及び加減算値計算回路15に送出される。カウンタ20の出力は加減算値計算回路15に送出される。 The comparator 11 does not determine whether the output signal of the bandpass filter 4 is a signal or noise, and the noise level voltage V T from which the output signal of the bandpass filter 4 is output from the constant voltage source 12. If it is greater than noise (<V T signal), a high level signal is output. If the output signal of the bandpass filter 4 is not greater than the noise level voltage V T noise output from the constant voltage source 12, a low level signal is output. Output to the reset terminal. The output of the counter 19 is sent to the reset terminal of the counter 20 and the addition / subtraction value calculation circuit 15. The output of the counter 20 is sent to the addition / subtraction value calculation circuit 15.

カウンタ19及び20は、発振器13から発振されるクロック信号に基づいてカウンタ動作を行う。カウンタ19及び20は、例えば図5に示すように、複数のフリップフロップFF1〜FFnと、否定回路INV1と、論理積回路AND1とから成る構成にするとよい。   The counters 19 and 20 perform a counter operation based on the clock signal oscillated from the oscillator 13. For example, as shown in FIG. 5, the counters 19 and 20 may be configured by a plurality of flip-flops FF1 to FFn, a negative circuit INV1, and a logical product circuit AND1.

カウンタ19は、リセットされなければ、ノイズの周期より長く且つ図7に示す休止区間RTより短い所定の時間(本実施形態では20mS)毎にパルス出力を行う。カウンタ19は、比較器11の出力がHighレベルになるとリセットされる。カウンタ20は、リセットされなければ、図7に示す信号発生区間STと休止区間RTとを加算した時間(本実施形態では100mS)毎にパルス出力を行う。カウンタ20は、カウンタ19のパルス出力によってリセットされる。   If not reset, the counter 19 outputs a pulse every predetermined time (20 mS in the present embodiment) longer than the period of noise and shorter than the rest period RT shown in FIG. The counter 19 is reset when the output of the comparator 11 becomes High level. If not reset, the counter 20 outputs a pulse every time (100 mS in this embodiment) obtained by adding the signal generation period ST and the pause period RT shown in FIG. The counter 20 is reset by the pulse output of the counter 19.

したがって、無信号時の比較器11の出力OUT11、カウンタ20の出力OUT20、及びカウンタ19の出力OUT19のタイミングチャートは図6のようになる。なお、図6においてT1はノイズが無い区間を示し、T2はノイズが有る区間を示している。   Therefore, the timing chart of the output OUT11 of the comparator 11, the output OUT20 of the counter 20, and the output OUT19 of the counter 19 when there is no signal is as shown in FIG. In FIG. 6, T1 indicates a section without noise, and T2 indicates a section with noise.

加減算値計算回路15は、カウンタ20からのパルス出力を入力すると所定の減算値(本実施形態では−1)を出力し、カウンタ19からのパルス出力を入力すると所定の加算値(本実施形態では1)を出力する。そして、加減算器16は、ゲインレジスタ17が出力するゲイン値(7bitのデジタルデータ)と加減算値計算回路15が出力する減算値或いは加算値とを演算し、演算結果をゲイン値(7bitのデジタルデータ)としてゲインレジスタ17に出力する。   The addition / subtraction value calculation circuit 15 outputs a predetermined subtraction value (-1 in this embodiment) when a pulse output from the counter 20 is input, and a predetermined addition value (in this embodiment) when a pulse output from the counter 19 is input. 1) is output. The adder / subtractor 16 calculates the gain value (7-bit digital data) output from the gain register 17 and the subtraction value or addition value output from the addition / subtraction value calculation circuit 15, and outputs the calculation result as a gain value (7-bit digital data). ) To the gain register 17.

ゲインレジスタ17は、発振器13から発振されるクロック信号に基づいて前記所定の周期毎にクロック動作を行う。ゲインレジスタ17が出力するゲイン値(7bitのデジタルデータ)は加減算器16以外に電圧−電流変換回路18にも出力される。電圧−電流変換回路18は、電圧信号であるゲイン値(7bitのデジタルデータ)をアナログ電流信号に変換し、そのアナログ電流信号によってアンプ3のゲインを可変する。   The gain register 17 performs a clock operation for each predetermined period based on the clock signal oscillated from the oscillator 13. The gain value (7-bit digital data) output from the gain register 17 is output to the voltage-current conversion circuit 18 in addition to the adder / subtractor 16. The voltage-current conversion circuit 18 converts a gain value (7-bit digital data) that is a voltage signal into an analog current signal, and varies the gain of the amplifier 3 by the analog current signal.

図4に示す受光回路のゲイン調整回路102では、例えば、図7に示すような信号を処理する場合、最小ゲインから最大ゲインに移行するのに2.54S(=127×20mS)必要であり、最大ゲインから最小ゲインに移行するのに12.7S(=127×100mS)必要である。一方、特許文献1に開示されている技術を用いた場合は、同様の条件で、最小ゲインから最大ゲインに移行するのに12.7S必要であり、最大ゲインから最小ゲインに移行するのに12.7S必要である。このように、図4に示す受光回路のゲイン調整回路102は、特許文献1に開示されている技術を用いた場合に比べてゲインを上げる際のゲイン調整速度が速い。また、加算値を減算値の絶対値よりも大きく設定することにより、ゲインを上げる際のゲイン調整速度を更に速くすることができる。   In the gain adjustment circuit 102 of the light receiving circuit shown in FIG. 4, for example, when processing a signal as shown in FIG. 7, 2.54S (= 127 × 20 mS) is required to shift from the minimum gain to the maximum gain. It takes 12.7S (= 127 × 100mS) to shift from the maximum gain to the minimum gain. On the other hand, when the technique disclosed in Patent Document 1 is used, 12.7S is required to shift from the minimum gain to the maximum gain under the same conditions, and 12 shifts from the maximum gain to the minimum gain. .7S is required. As described above, the gain adjustment circuit 102 of the light receiving circuit shown in FIG. 4 has a faster gain adjustment speed when the gain is increased as compared with the case where the technique disclosed in Patent Document 1 is used. Further, by setting the added value larger than the absolute value of the subtracted value, the gain adjustment speed when increasing the gain can be further increased.

また、図4に示す受光回路においても、図1に示す受光回路から図2に示す受光回路への変更と同様の変更を施すことができる。かかる変形を施すことにより、ゲイン値のばたつきを抑制することができる。   Also in the light receiving circuit shown in FIG. 4, a change similar to the change from the light receiving circuit shown in FIG. 1 to the light receiving circuit shown in FIG. 2 can be made. By performing such deformation, it is possible to suppress fluctuation of the gain value.

なお、上述した図1、図2、図4の本発明に係る受光回路は当該受光回路から出力される信号に基づいて機器全体を制御する制御部を備えた各種電気機器(例えば、TVやオーディオ機器等)に搭載することができる。また、本実施形態では受光素子としてフォトダイオードを用いたが、フォトトランジスタ等の他の受光素子を用いても構わない。また、各種設定値(ゲインの段階数、信号発生区間STの数値、休止区間RTの数値、加算値、減算値等)は上述した実施形態で用いた値に限定されることはない。   Note that the light receiving circuit according to the present invention shown in FIGS. 1, 2, and 4 described above includes various electric devices (for example, TV and audio) having a control unit that controls the entire device based on a signal output from the light receiving circuit. Equipment). In this embodiment, a photodiode is used as the light receiving element, but another light receiving element such as a phototransistor may be used. Further, various setting values (the number of gain steps, the numerical value of the signal generation section ST, the numerical value of the pause section RT, the addition value, the subtraction value, etc.) are not limited to the values used in the above-described embodiment.

は、本発明に係る受光回路の一構成例を示す図である。These are figures which show the example of 1 structure of the light-receiving circuit based on this invention. は、本発明に係る受光回路の他の構成例を示す図である。These are figures which show the other structural example of the light-receiving circuit based on this invention. は、図2に示す受光回路が具備する加減算器の動作フローチャートである。These are the operation | movement flowcharts of the adder / subtracter which the light-receiving circuit shown in FIG. 2 comprises. は、本発明に係る受光回路の更に他の構成例を示す図である。These are figures which show the further another structural example of the light receiving circuit which concerns on this invention. は、図4に示す受光回路が具備するカウンタの一構成例を示す図である。These are figures which show one structural example of the counter which the light-receiving circuit shown in FIG. 4 comprises. は、図4に示す受光回路の各部出力のタイミングチャートである。These are the timing charts of the respective outputs of the light receiving circuit shown in FIG. は、長い休止区間RTを挟んで繰り返される信号の波形の一例を示す図である。These are figures which show an example of the waveform of the signal repeated on both sides of the long rest area RT. は、周期的なノイズの波形の一例を示す図である。These are figures which show an example of the waveform of periodic noise.

符号の説明Explanation of symbols

1 フォトダイオード
2 電流−電圧変換回路
3 アンプ
4 バンドパスフィルタ
6、12 定電圧源
7 パルス変調信号復調回路
8 トランジスタ
9 プルアップ抵抗
10 出力端子
11 比較器
13 発振器
14 セットリセットフリップフロップ
15 加減算値計算回路
16、16’ 加減算器
17、17’ ゲインレジスタ
18 電圧−電流変換回路
19、20 カウンタ
100〜102 ゲイン調整回路
AND1 論理積回路
FF1〜FFn フリップフロップ
INV1 否定回路
DESCRIPTION OF SYMBOLS 1 Photodiode 2 Current-voltage conversion circuit 3 Amplifier 4 Band pass filter 6, 12 Constant voltage source 7 Pulse modulation signal demodulation circuit 8 Transistor 9 Pull-up resistor 10 Output terminal 11 Comparator 13 Oscillator 14 Set reset flip-flop 15 Addition / subtraction value calculation Circuit 16, 16 'Adder / Subtractor 17, 17' Gain register 18 Voltage-current conversion circuit 19, 20 Counter 100-102 Gain adjustment circuit AND1 AND circuit FF1-FFn Flip-flop INV1 Negative circuit

Claims (7)

入力信号と所定のノイズレベル電圧とを比較する比較回路と、
前記比較回路の出力に基づく信号に応じて所定の加算値又は所定の減算値を出力する加減算値計算回路と、
ゲイン値を一時的に記憶するゲインレジスタと、
前記加減算値計算回路から出力される所定の加算値又は所定の減算値と前記ゲインレジスタから出力されるゲイン値とを演算し、演算結果を前記ゲイン値として前記ゲインレジスタに出力する加減算器と、
前記ゲインレジスタから出力されるゲイン値に応じて外部可変利得器のゲインを調整するゲイン制御部とを備えることを特徴するゲイン調整回路。
A comparison circuit that compares the input signal with a predetermined noise level voltage;
An addition / subtraction value calculation circuit for outputting a predetermined addition value or a predetermined subtraction value according to a signal based on the output of the comparison circuit;
A gain register that temporarily stores the gain value;
An adder / subtractor that calculates a predetermined addition value or a predetermined subtraction value output from the addition / subtraction value calculation circuit and a gain value output from the gain register, and outputs a calculation result to the gain register as the gain value;
A gain control circuit comprising: a gain control unit that adjusts the gain of the external variable gain device in accordance with a gain value output from the gain register.
所定の周期のクロック信号を発振する発振器と、前記比較回路の出力をセット端子に入力し、前記クロック信号をリセット端子に入力し、前記加減算値計算回路に出力データを送出するセットリセットフリップフロップとを備え、
前記ゲインレジスタが前記クロック信号に基づいてクロック動作を行う請求項1に記載のゲイン調整回路。
An oscillator that oscillates a clock signal having a predetermined period; a set reset flip-flop that inputs an output of the comparison circuit to a set terminal; inputs the clock signal to a reset terminal; and sends output data to the addition / subtraction value calculation circuit; With
The gain adjustment circuit according to claim 1, wherein the gain register performs a clock operation based on the clock signal.
クロック信号を発振する発振器と、前記判定部の出力をリセット端子に入力し、リセットされなければ第1の時間毎にパルス出力を行う第1のカウンタと、第1のカウンタの出力をリセット端子に入力し、リセットされなければ第2の時間毎にパルス出力を行う第2のカウンタとを備え、
前記ゲインレジスタ、第1のカウンタ、及び第2のカウンタが前記クロック信号に基づいて動作し、前記加減算値計算回路が、第2のカウンタからのパルス出力を入力すると所定の減算値を出力し、第1のカウンタからのパルス出力を入力すると所定の加算値を出力する請求項1に記載のゲイン調整回路。
An oscillator that oscillates a clock signal, an output of the determination unit is input to a reset terminal, and if not reset, a first counter that outputs a pulse every first time, and an output of the first counter to a reset terminal And a second counter that outputs a pulse every second time if it is not reset,
The gain register, the first counter, and the second counter operate based on the clock signal, and the addition / subtraction value calculation circuit outputs a predetermined subtraction value when a pulse output from the second counter is input, 2. The gain adjustment circuit according to claim 1, wherein when a pulse output from the first counter is input, a predetermined added value is output.
前記所定の加算値が前記所定の減算値の絶対値よりも大きい請求項1〜3のいずれかに記載のゲイン調整回路。   The gain adjustment circuit according to claim 1, wherein the predetermined addition value is larger than an absolute value of the predetermined subtraction value. 前回の所定の加算値又は所定の減算値を一時的に記憶する記憶手段を備え、
前記加減算器が、前記記憶手段が記憶している前回の所定の加算値又は所定の減算値と前記加減算値計算回路から出力される所定の加算値又は所定の減算値とが同一でなければ、前記加減算値計算回路から出力される所定の加算値又は所定の減算値と前記ゲインレジスタから出力されるゲイン値とを演算せずに、前記ゲインレジスタから出力されるゲイン値をそのまま前記ゲイン値として前記ゲインレジスタに出力する請求項1〜4のいずれかに記載のゲイン調整回路。
Storage means for temporarily storing the previous predetermined addition value or the predetermined subtraction value;
In the adder / subtracter, if the previous predetermined addition value or the predetermined subtraction value stored in the storage means is not the same as the predetermined addition value or the predetermined subtraction value output from the addition / subtraction value calculation circuit, Without calculating the predetermined addition value or the predetermined subtraction value output from the addition / subtraction value calculation circuit and the gain value output from the gain register, the gain value output from the gain register is directly used as the gain value. The gain adjustment circuit according to claim 1, wherein the gain adjustment circuit outputs the gain to the gain register.
可変利得器と、前記可変利得器の出力に基づく信号を処理する信号処理部と、前記可変利得器の出力に基づく信号を入力し、前記可変利得器のゲインを調整するゲイン調整回路とを備え、
前記ゲイン調整回路が請求項1〜5のいずれかに記載のゲイン調整回路であることを特徴とする信号処理回路。
A variable gain device; a signal processing unit that processes a signal based on the output of the variable gain device; and a gain adjustment circuit that inputs a signal based on the output of the variable gain device and adjusts the gain of the variable gain device. ,
A signal processing circuit, wherein the gain adjustment circuit is the gain adjustment circuit according to claim 1.
請求項6に記載の信号処理回路を備えることを特徴とする電気機器。   An electric device comprising the signal processing circuit according to claim 6.
JP2004238640A 2004-08-18 2004-08-18 Gain adjustment circuit, signal processing circuit equipped with the same, and electric equipment Pending JP2006060410A (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP2004238640A JP2006060410A (en) 2004-08-18 2004-08-18 Gain adjustment circuit, signal processing circuit equipped with the same, and electric equipment
CN2009101426744A CN101572531B (en) 2004-08-18 2005-07-11 Discrimination circuit, gain adjustment circuit, signal processing circuit, and electric device
KR1020087011445A KR100890293B1 (en) 2004-08-18 2005-07-11 Gain adjustment circuit, signal processing circuit, and electric device
US11/660,419 US20070285155A1 (en) 2004-08-18 2005-07-11 Discrimination Circuit, Gain Adjustment Circuit, Signal Processing Circuit, and Electric Device
KR1020077006189A KR20070046178A (en) 2004-08-18 2005-07-11 Discrimination circuits, gain adjustment circuits, signal processing circuits, and electrical equipment
PCT/JP2005/012738 WO2006018941A1 (en) 2004-08-18 2005-07-11 Judgment circuit, gain adjustment circuit, signal processing circuit, and electric device
CNB2005800282257A CN100568749C (en) 2004-08-18 2005-07-11 Discrimination circuit, signal processing circuit, and electronic apparatus
TW094128209A TW200625842A (en) 2004-08-18 2005-08-18 Identifying circuit, gain adjustment circuit, signal processing circuit, and electric device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004238640A JP2006060410A (en) 2004-08-18 2004-08-18 Gain adjustment circuit, signal processing circuit equipped with the same, and electric equipment

Publications (1)

Publication Number Publication Date
JP2006060410A true JP2006060410A (en) 2006-03-02

Family

ID=36107541

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004238640A Pending JP2006060410A (en) 2004-08-18 2004-08-18 Gain adjustment circuit, signal processing circuit equipped with the same, and electric equipment

Country Status (1)

Country Link
JP (1) JP2006060410A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814902A (en) * 2009-02-24 2010-08-25 瑞昱半导体股份有限公司 Gain control circuit and gain control method
US7865087B2 (en) 2006-11-15 2011-01-04 Sharp Kabushiki Kaisha Bandpass filter circuit, band-elimination filter circuit, infrared signal processing circuit
US7894727B2 (en) 2006-11-15 2011-02-22 Sharp Kabushiki Kaisha Operational amplifier circuit, bandpass filter circuit, and infrared signal processing circuit
US8260155B2 (en) 2006-07-18 2012-09-04 Sharp Kabushiki Kaisha Carrier detection circuit, method for controlling carrier detection circuit, and infrared signal processing circuit having the carrier detection circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8260155B2 (en) 2006-07-18 2012-09-04 Sharp Kabushiki Kaisha Carrier detection circuit, method for controlling carrier detection circuit, and infrared signal processing circuit having the carrier detection circuit
US7865087B2 (en) 2006-11-15 2011-01-04 Sharp Kabushiki Kaisha Bandpass filter circuit, band-elimination filter circuit, infrared signal processing circuit
US7894727B2 (en) 2006-11-15 2011-02-22 Sharp Kabushiki Kaisha Operational amplifier circuit, bandpass filter circuit, and infrared signal processing circuit
CN101814902A (en) * 2009-02-24 2010-08-25 瑞昱半导体股份有限公司 Gain control circuit and gain control method

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
US7595692B2 (en) Automatic gain control circuit
CN101237237A (en) Single-slope analog-to-digital converter using hysteresis characteristic and analog-to-digital conversion method
JP2016005231A (en) Optical receiver
JP2006060410A (en) Gain adjustment circuit, signal processing circuit equipped with the same, and electric equipment
KR100383849B1 (en) Data transmission equipment
KR100890293B1 (en) Gain adjustment circuit, signal processing circuit, and electric device
JP3305534B2 (en) Infrared receiver
EP1079549B1 (en) Circuit and method for monitoring optical signal level
JP4664033B2 (en) Waveform forming device
KR19990007346A (en) Infrared remote control circuit
KR101404569B1 (en) The noise removing circuit of infrared rays receiver
JP5399307B2 (en) LOS signal correction apparatus, LOS signal correction method, LOS signal generation apparatus, and optical receiver
JP6399447B2 (en) Infrared detector
CN114071826B (en) LED dimming circuit, chip, wearable device and dimming method
KR100846246B1 (en) Pulse-modulated signal demodulating circuit, and light receiving circuit and electric device having the demodulating circuit
JP7685723B2 (en) Photoelectric sensor and light receiving unit
JP7706088B2 (en) Photoelectric sensor and light receiving unit
CN116569490B (en) Automatic Gain Control (AGC) for on-off keying (OOK) receivers
KR200329267Y1 (en) IR receiver having auto gain control circuit for selectively charging and discharging
KR20100138076A (en) Wake-up signal detector
JP2726888B2 (en) Laser irradiation detector
CN108093193B (en) Video format switching method and device
JP2016186478A (en) Infrared ray detection device
JPH05308268A (en) Photoelectric switch