JP2009171058A - Amplifier circuit - Google Patents

Amplifier circuit Download PDF

Info

Publication number
JP2009171058A
JP2009171058A JP2008004931A JP2008004931A JP2009171058A JP 2009171058 A JP2009171058 A JP 2009171058A JP 2008004931 A JP2008004931 A JP 2008004931A JP 2008004931 A JP2008004931 A JP 2008004931A JP 2009171058 A JP2009171058 A JP 2009171058A
Authority
JP
Japan
Prior art keywords
signal
amplitude
value
output
amplifier
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
JP2008004931A
Other languages
Japanese (ja)
Inventor
Takahiro Notake
恭弘 野竹
Shuichiro Uno
修一郎 宇野
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.)
Sanyo Electric Co Ltd
System Solutions Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Sanyo Semiconductor 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 Sanyo Electric Co Ltd, Sanyo Semiconductor Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2008004931A priority Critical patent/JP2009171058A/en
Publication of JP2009171058A publication Critical patent/JP2009171058A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an amplifier circuit that prevents a noise signal from being continuously amplified for output when amplifying an input signal while changing a gain so that the amplitude of an output signal approaches a prescribed reference value, and can perform control so that the amplitude of the output signal does not change unnaturally. <P>SOLUTION: The amplifier circuit detects the amplitude of the output signal outputted by an amplifier having variable gain, changes the gain of the amplifier so that the amplitude of the output signal approaches the prescribed reference value based on the detected amplitude of the output signal, determines whether the input signal inputted to the amplifier is a signal to be amplified or a noise signal, and attenuates the output signal, while increasing an attenuation factor gradually when it is determined that the input signal is a noise signal. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、出力信号の振幅が所定の基準値に近づくように増幅器の利得を変化させながら、入力信号の増幅を行う増幅回路に関する。   The present invention relates to an amplifier circuit that amplifies an input signal while changing the gain of the amplifier so that the amplitude of the output signal approaches a predetermined reference value.

例えばマイクロフォンによって集音された音声などを表す電気信号を、その振幅が所定の基準値に近づくように利得を調整しながら増幅する、いわゆるALC(Automatic Level Control)回路などの増幅回路がある(例えば特許文献1参照)。このような増幅回路においては、増幅器が出力する出力信号の振幅が所定の基準値を下回っている場合には利得を増加させ、逆に所定の基準値を上回っている場合には利得を減少させるように、増幅器の利得が制御される。
特開2006‐41732号公報
For example, there is an amplifier circuit such as a so-called ALC (Automatic Level Control) circuit that amplifies an electric signal representing sound collected by a microphone while adjusting the gain so that the amplitude approaches a predetermined reference value (for example, Patent Document 1). In such an amplifier circuit, the gain is increased when the amplitude of the output signal output from the amplifier is lower than a predetermined reference value, and conversely, the gain is decreased when the amplitude is higher than the predetermined reference value. Thus, the gain of the amplifier is controlled.
JP 2006-41732 A

上記従来例の技術において、増幅の目的とする信号(増幅目的信号)が入力されていない間も利得の制御を行うと、振幅の小さなノイズ性の信号(ノイズ信号)を所定の基準値に近づくように増幅してしまう。その結果、本来不要なはずの信号を最大の利得で増幅し、大きな振幅の信号として出力するというノイズポンピングの問題が生じる。そこで、例えば、増幅目的信号が入力されていないと判定される間は、信号の出力をカットする回路が提案されている。しかしながら、この方式では、出力される信号の振幅が突然0になったり、また出力される信号の振幅が0の状態から突然大きな振幅の信号が出力され始めたりするなど、出力される信号の振幅が不自然に変化する場合が生じうる。   In the conventional technique, when gain control is performed even when a signal to be amplified (amplification target signal) is not input, a noise signal (noise signal) having a small amplitude approaches a predetermined reference value. Will be amplified. As a result, there arises a problem of noise pumping in which a signal that should not be necessary is amplified with a maximum gain and output as a signal having a large amplitude. Thus, for example, a circuit that cuts the output of a signal while it is determined that the amplification target signal is not input has been proposed. However, in this method, the amplitude of the output signal suddenly becomes 0, or the output signal suddenly starts to output a signal having a large amplitude from the state where the amplitude of the output signal is 0. May change unnaturally.

また、上述した以外の方式として、増幅目的信号が入力されていないと判定される間は、その直前の状態の利得を維持するよう増幅器の利得をホールドする回路も提案されている。しかしながら、この方式では、比較的小さな振幅の増幅目的信号が入力され、その結果比較的大きな利得で入力信号の増幅を行っている状態から、ノイズ信号が入力される状態に変化した場合、この比較的大きな利得が維持されてしまう。そのため、入力信号の振幅の変化の仕方によっては、ノイズ信号を増幅して出力し続ける状態を防止できない場合がありうる。   Further, as a method other than the above-described method, a circuit that holds the gain of the amplifier so as to maintain the gain immediately before it is determined that the amplification target signal is not input has been proposed. However, in this method, when a signal for amplification with a relatively small amplitude is input and, as a result, the state in which the input signal is amplified with a relatively large gain is changed to a state in which a noise signal is input, this comparison is performed. A large gain is maintained. For this reason, depending on how the amplitude of the input signal changes, it may not be possible to prevent a state in which the noise signal is continuously amplified and output.

本発明は上記実情に鑑みてなされたものであって、その目的の一つは、出力信号の振幅が所定の基準値に近づくように利得を変化させながら入力信号の増幅を行う場合に、ノイズ信号を増幅して出力し続ける状態を防止し、かつ出力信号の振幅が不自然に変化しないよう制御できる増幅回路を提供することにある。   The present invention has been made in view of the above circumstances, and one of its purposes is to reduce noise when the input signal is amplified while changing the gain so that the amplitude of the output signal approaches a predetermined reference value. An object of the present invention is to provide an amplifier circuit that can prevent a state in which a signal is continuously amplified and output, and can control the amplitude of an output signal so that it does not unnaturally change.

上記課題を解決するための本発明に係る増幅回路は、利得可変な増幅器と、前記増幅器が出力する出力信号の振幅を検出する振幅検出手段と、前記検出される出力信号の振幅に基づいて、当該出力信号の振幅が所定の基準値に近づくように、前記増幅器の利得を変化させる利得制御手段と、前記増幅器に入力される入力信号が増幅目的信号かノイズ信号かを判定する判定手段と、前記判定手段により、前記入力信号がノイズ信号であると判定される場合に、減衰率を徐々に増やしながら、前記出力信号を減衰させる信号減衰手段と、を含むことを特徴とする。   An amplifier circuit according to the present invention for solving the above problems is based on an amplifier with variable gain, amplitude detection means for detecting the amplitude of an output signal output from the amplifier, and the amplitude of the detected output signal. Gain control means for changing the gain of the amplifier so that the amplitude of the output signal approaches a predetermined reference value; determination means for determining whether the input signal input to the amplifier is an amplification target signal or a noise signal; And a signal attenuating unit for attenuating the output signal while gradually increasing the attenuation rate when the determining unit determines that the input signal is a noise signal.

本発明によれば、出力信号の振幅が所定の基準値に近づくように利得を変化させながら入力信号の増幅を行う増幅回路において、入力信号がノイズ信号であると判定される場合に、減衰率を徐々に増やしながら、出力信号を減衰させることにより、出力信号の振幅が不自然に変化しないよう制御しながら、増幅されたノイズ信号が出力され続ける状態を防止することができる。   According to the present invention, in an amplifier circuit that amplifies an input signal while changing the gain so that the amplitude of the output signal approaches a predetermined reference value, when the input signal is determined to be a noise signal, the attenuation factor By gradually increasing the output signal and attenuating the output signal, it is possible to prevent the amplified noise signal from being continuously output while controlling the amplitude of the output signal so that it does not change unnaturally.

以下、本発明の実施の形態について、図面を参照しながら説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

本発明の一実施形態に係る増幅回路2は、図1に示すように、可変利得増幅器4と、レジスタ6と、A/Dコンバータ8と、利得制御部10と、信号判定部12と、デジタルボリューム回路14と、を含んで構成される。例えば本実施形態に係る増幅回路2は、マイクロフォンなどにより集音された音声を表す電圧信号を入力信号として受け付けて、当該入力信号を音量レベルが略一定のデジタルデータに変換するオーディオコーデック回路などに用いられる。   As shown in FIG. 1, an amplifier circuit 2 according to an embodiment of the present invention includes a variable gain amplifier 4, a register 6, an A / D converter 8, a gain control unit 10, a signal determination unit 12, and a digital And a volume circuit 14. For example, the amplifier circuit 2 according to the present embodiment is an audio codec circuit that receives a voltage signal representing sound collected by a microphone or the like as an input signal and converts the input signal into digital data having a substantially constant volume level. Used.

可変利得増幅器4は、プログラマブルゲインアンプ等であって、外部から入力される電圧信号を入力信号Viとして受け付けて、当該入力信号Viを増幅した出力信号VoをA/Dコンバータ8に対して出力する。可変利得増幅器4の利得(増幅率)Gは、dB(デシベル)を単位として表され、出力信号Voの入力信号Viに対する比の常用対数に比例する値となる。   The variable gain amplifier 4 is a programmable gain amplifier or the like, accepts a voltage signal input from the outside as an input signal Vi, and outputs an output signal Vo obtained by amplifying the input signal Vi to the A / D converter 8. . The gain (amplification factor) G of the variable gain amplifier 4 is expressed in units of dB (decibel), and is a value proportional to the common logarithm of the ratio of the output signal Vo to the input signal Vi.

可変利得増幅器4の利得Gは、可変利得増幅器4の外部から入力される制御信号に基づいて変化する。本実施形態においては、この制御信号は離散的な値を示すデジタル信号であって、これに応じて利得Gは離散的に変化する。   The gain G of the variable gain amplifier 4 changes based on a control signal input from the outside of the variable gain amplifier 4. In the present embodiment, the control signal is a digital signal indicating a discrete value, and the gain G changes discretely according to this digital signal.

具体的に、本実施形態における可変利得増幅器4は、レジスタ6に格納された格納値Drに応じた利得Gで、入力信号Viの変換を行う。レジスタ6は、デジタル情報を格納するメモリであって、本実施形態においては格納値Drを格納している。この格納値Drは、後述するように、利得制御部10によって更新される。そして、格納値Drのうち、例えば整数部に対応する所定の上位ビットによって表される値が、利得Gの値として可変利得増幅器4に入力される。   Specifically, the variable gain amplifier 4 in this embodiment converts the input signal Vi with a gain G corresponding to the stored value Dr stored in the register 6. The register 6 is a memory for storing digital information, and stores a stored value Dr in the present embodiment. The stored value Dr is updated by the gain controller 10 as will be described later. Then, of the stored value Dr, for example, a value represented by a predetermined upper bit corresponding to the integer part is input to the variable gain amplifier 4 as the value of the gain G.

なお、利得Gは、負の値を採り得ることとしてもよい。利得Gが負の値となっている場合、可変利得増幅器4は、入力信号Viを減衰させてより小さな振幅の出力信号Voを出力することとなる。   The gain G may be a negative value. When the gain G has a negative value, the variable gain amplifier 4 attenuates the input signal Vi and outputs an output signal Vo having a smaller amplitude.

A/Dコンバータ8は、アナログ信号をデジタル信号に変換する回路であって、可変利得増幅器4が出力する出力信号Voを検出し、デジタル値(以下、出力値Do1という)に変換して出力する。具体的に、A/Dコンバータ8は、所定時間おきに出力信号Voのサンプリングを行い、その結果を出力値Do1として出力する。この場合の所定時間は、例えば外部から供給されるクロック信号により決定される。   The A / D converter 8 is a circuit that converts an analog signal into a digital signal, detects the output signal Vo output from the variable gain amplifier 4, converts it to a digital value (hereinafter referred to as an output value Do1), and outputs it. . Specifically, the A / D converter 8 samples the output signal Vo every predetermined time, and outputs the result as an output value Do1. The predetermined time in this case is determined by, for example, a clock signal supplied from the outside.

利得制御部10は、例えばロジック回路等により構成され、A/Dコンバータ8が所定時間おきに出力する出力値Do1を入力として受け付ける。そして、この出力値Do1により表される信号に対して、デジタル検波処理を行うことにより、出力信号Voの振幅(レベル)を表すデジタル値(以下、振幅値Dlという)を算出する。さらに、利得制御部10は、この振幅値Dlが所定の基準値Daに近づくように、可変利得増幅器4の利得Gを変化させる制御を行う。具体例として、利得制御部10は、まず振幅値Dlと基準値Daの大小を比較する。そして、振幅値Dlが基準値Daより大きい場合には利得Gを下げる方向に、振幅値Dlが基準値Daより小さい場合には利得Gを上げる方向に、それぞれ利得Gを変化させる制御を行う。   The gain control unit 10 is configured by, for example, a logic circuit and receives an output value Do1 output by the A / D converter 8 every predetermined time as an input. A digital value representing the amplitude (level) of the output signal Vo (hereinafter referred to as an amplitude value Dl) is calculated by performing digital detection processing on the signal represented by the output value Do1. Further, the gain control unit 10 performs control to change the gain G of the variable gain amplifier 4 so that the amplitude value Dl approaches the predetermined reference value Da. As a specific example, the gain control unit 10 first compares the amplitude value Dl with the reference value Da. When the amplitude value Dl is larger than the reference value Da, control is performed to change the gain G in a direction to decrease the gain G, and when the amplitude value Dl is smaller than the reference value Da, control to change the gain G is performed.

本実施形態においては、利得制御部10は、振幅値Dlが基準値Daより小さい場合には正の加算値ΔDrを、逆に振幅値Dlが基準値Daより大きい場合には負の加算値ΔDrを、それぞれレジスタ6に格納されている格納値Drに加算する。前述したように、可変利得増幅器4は、格納値Drに応じた利得Gで増幅を行う。そのため、利得制御部10は、格納値Drを更新することにより、振幅値Dlが所定の基準値Daに近づくように利得Gを変化させることができる。   In the present embodiment, the gain control unit 10 gives a positive addition value ΔDr when the amplitude value Dl is smaller than the reference value Da, and conversely when the amplitude value Dl is larger than the reference value Da. Is added to the stored value Dr stored in the register 6, respectively. As described above, the variable gain amplifier 4 performs amplification with the gain G corresponding to the stored value Dr. Therefore, the gain control unit 10 can change the gain G so that the amplitude value Dl approaches the predetermined reference value Da by updating the stored value Dr.

この加算値ΔDrを格納値Drに加算する処理は、例えばA/Dコンバータ8が出力信号Voのサンプリングを行い、新たな出力値Do1を利得制御部10に対して出力するごとに実行される。これにより、例えば出力信号Voの振幅が所定の基準値より低い間は、利得制御部10が正の加算値ΔDrを格納値Drに加算する処理が所定時間おきに繰り返される。この加算処理が繰り返し実行された結果、格納値Drの整数部によって表される値が繰り上がりによって増加すると、可変利得増幅器4の利得Gも増加する。   The process of adding the addition value ΔDr to the stored value Dr is executed, for example, every time the A / D converter 8 samples the output signal Vo and outputs a new output value Do1 to the gain control unit 10. Thereby, for example, while the amplitude of the output signal Vo is lower than a predetermined reference value, the process of the gain control unit 10 adding the positive addition value ΔDr to the stored value Dr is repeated every predetermined time. As a result of repeatedly performing this addition process, when the value represented by the integer part of the stored value Dr increases due to carry, the gain G of the variable gain amplifier 4 also increases.

信号判定部12は、例えばロジック回路等により構成され、利得制御部10と同様に、A/Dコンバータ8が所定時間おきに出力する出力値Do1を入力として受け付け、この出力値Do1に基づいて出力信号Voの振幅を表す振幅値Dlを算出する。そして、この振幅値Dlに基づいて、可変利得増幅器4に入力される入力信号Viが、増幅目的信号か、あるいはノイズ信号か、を判定する。   The signal determination unit 12 is configured by, for example, a logic circuit or the like, and similarly to the gain control unit 10, receives the output value Do1 output by the A / D converter 8 every predetermined time as an input, and outputs based on the output value Do1. An amplitude value Dl representing the amplitude of the signal Vo is calculated. Based on the amplitude value D1, it is determined whether the input signal Vi input to the variable gain amplifier 4 is an amplification target signal or a noise signal.

ここで増幅目的信号は、その振幅が所定の条件を満たす信号であって、増幅回路2による増幅の目的となる信号である。すなわち、この信号を、その振幅が所定の基準値に近づくように増幅して出力することが、本実施形態に係る増幅回路2の目的となる。一方、ノイズ信号は、このような増幅目的信号が含まれていない状態の入力信号であって、このノイズ信号は本来増幅する必要のない信号である。なお、信号判定部12による判定処理も、所定時間ごと(例えばA/Dコンバータ8が出力信号Voのサンプリングを行い、新たな出力値Do1を利得制御部10に対して出力するごと)に繰り返し実行される。   Here, the amplification target signal is a signal whose amplitude satisfies a predetermined condition and is a target of amplification by the amplifier circuit 2. That is, it is an object of the amplifier circuit 2 according to this embodiment to amplify and output this signal so that its amplitude approaches a predetermined reference value. On the other hand, the noise signal is an input signal that does not include such an amplification target signal, and this noise signal is a signal that does not need to be amplified. Note that the determination processing by the signal determination unit 12 is also repeatedly executed at predetermined time intervals (for example, every time the A / D converter 8 samples the output signal Vo and outputs a new output value Do1 to the gain control unit 10). Is done.

具体的に、例えば信号判定部12は、振幅値Dlと、所定の閾値と、の間の大小を比較することにより、入力信号Viが増幅目的信号かノイズ信号かを判定する。すなわち、振幅値Dlが所定の閾値より小さくなれば、入力信号Viはノイズ信号であると判定し、それ以外の場合は、入力信号Viは増幅目的信号であると判定する。また、振幅値Dlが所定の閾値より小さな期間が、所定期間以上にわたって続いた場合に、入力信号Viが増幅目的信号からノイズ信号に変わったと判定してもよい。   Specifically, for example, the signal determination unit 12 determines whether the input signal Vi is an amplification target signal or a noise signal by comparing the magnitude between the amplitude value Dl and a predetermined threshold value. That is, if the amplitude value D1 is smaller than a predetermined threshold value, the input signal Vi is determined to be a noise signal, and otherwise, the input signal Vi is determined to be an amplification target signal. Further, when the period in which the amplitude value Dl is smaller than a predetermined threshold continues for a predetermined period or longer, it may be determined that the input signal Vi has changed from the amplification target signal to the noise signal.

あるいは、信号判定部12は、振幅値Dlと、可変利得増幅器4の利得Gと、に基づいて入力信号Viの振幅の推定値Deを算出し、この推定値Deと、所定の閾値と、を比較することにより、入力信号Viが増幅目的信号かノイズ信号かを判定してもよい。この場合、信号判定部12は、A/Dコンバータ8から出力値Do1を入力として受け付けるだけでなく、例えばレジスタ6に格納されている格納値Drを参照することによって、出力値Do1をA/Dコンバータ8が出力した際の可変利得増幅器4の利得Gの値を取得する。振幅値Dlは、入力信号Viを利得Gで増幅して得られる出力信号Voの振幅を表すデジタル値なので、この振幅値Dlと、利得Gの値と、に基づいて、元の入力信号Viの振幅を表す推定値Deを、デジタル値として算出することができる。例えばこの推定値Deが所定の閾値より小さい場合、信号判定部12は、入力信号Viはノイズ信号であると判定する。また、上述した振幅値Dl自体を所定の閾値と比較する例と同様に、推定値Deが所定の閾値より小さな期間が所定期間以上にわたって続いた場合に、入力信号Viが増幅目的信号からノイズ信号に変わったと判定してもよい。このように、推定値Deを用いて増幅目的信号かノイズ信号かの判定を行うことにより、振幅値Dlだけに基づいて判定する場合と比較して、回路規模は大きくなるものの、特に可変利得増幅器4の利得Gが大きな値を採りうる場合などにおいて、より入力信号Viの実際の振幅に即した判定を行うことができる。   Alternatively, the signal determination unit 12 calculates an estimated value De of the amplitude of the input signal Vi based on the amplitude value Dl and the gain G of the variable gain amplifier 4, and calculates the estimated value De and a predetermined threshold value. By comparing, it may be determined whether the input signal Vi is an amplification target signal or a noise signal. In this case, the signal determination unit 12 not only receives the output value Do1 from the A / D converter 8 as an input, but also refers to the stored value Dr stored in the register 6, for example, to convert the output value Do1 into the A / D The value of the gain G of the variable gain amplifier 4 when the converter 8 outputs is acquired. Since the amplitude value Dl is a digital value representing the amplitude of the output signal Vo obtained by amplifying the input signal Vi with the gain G, the amplitude value Dl is based on the amplitude value Dl and the value of the gain G. The estimated value De representing the amplitude can be calculated as a digital value. For example, when the estimated value De is smaller than a predetermined threshold value, the signal determination unit 12 determines that the input signal Vi is a noise signal. Similarly to the example in which the amplitude value D1 itself is compared with a predetermined threshold value, when the estimated value De continues for a predetermined period or longer for a period smaller than the predetermined threshold value, the input signal Vi is changed from the amplification target signal to the noise signal. It may be determined that it has changed. As described above, although the estimated value De is used to determine whether the target signal is an amplification target signal or a noise signal, the circuit scale becomes larger compared with the case where the determination is made based only on the amplitude value Dl. For example, when the gain G of 4 can take a large value, it is possible to make a determination in accordance with the actual amplitude of the input signal Vi.

また、これまで説明したように振幅値Dl又は推定値Deを所定の閾値と比較する場合、信号判定部12は、この所定の閾値として場面に応じて2種類の値(すなわち、第1閾値T1及び第2閾値T2)を使い分けてもよい。具体的に、例えば信号判定部12は、前回判定時には入力信号Viは増幅目的信号であると判定されており、今回の判定において入力信号Viが増幅目的信号からノイズ信号に変化するか否かを判定する場合には、振幅値Dl又は推定値Deを第1閾値T1と比較する。逆に、前回判定時には入力信号Viはノイズ信号であると判定されており、今回の判定において入力信号Viがノイズ信号から増幅目的信号に変化するか否かを判定する場合には、振幅値Dl又は推定値Deを第2閾値T2と比較する。ここで、第1閾値T1と第2閾値T2との間には、T1<T2の関係が成り立つこととする。こうすれば、入力信号Viの振幅のわずかな変動によって、頻繁に判定結果が変動してしまう状態を避けることができる。   Further, as described above, when the amplitude value Dl or the estimated value De is compared with a predetermined threshold, the signal determination unit 12 uses two types of values (that is, the first threshold T1) as the predetermined threshold depending on the scene. And the second threshold value T2) may be properly used. Specifically, for example, the signal determination unit 12 determines that the input signal Vi is the amplification target signal at the previous determination, and determines whether the input signal Vi changes from the amplification target signal to the noise signal in the current determination. When determining, the amplitude value D1 or the estimated value De is compared with the first threshold value T1. Conversely, the input signal Vi is determined to be a noise signal at the time of the previous determination, and when determining whether or not the input signal Vi changes from the noise signal to the amplification target signal in the current determination, the amplitude value Dl. Alternatively, the estimated value De is compared with the second threshold value T2. Here, a relationship of T1 <T2 is established between the first threshold value T1 and the second threshold value T2. By doing so, it is possible to avoid a state in which the determination result frequently fluctuates due to a slight fluctuation in the amplitude of the input signal Vi.

デジタルボリューム回路14は、例えばロジック回路等により構成され、A/Dコンバータ8が出力する出力値Do1を入力として受け付ける。そして、信号判定部12の判定結果に応じて、この出力値Do1を減衰させて、新たなデジタル値(以下、出力値Do2という)として出力する。すなわち、所与の減衰率Aに応じて出力値Do1をより小さな値に変換し、出力値Do2として出力する。この出力値Do2が、増幅回路2全体の出力となる。デジタルボリューム回路14が出力値Do1を減衰させるタイミング、及び減衰させる際の減衰率Aは、以下に説明するように、信号判定部12の判定結果に応じて決定される。   The digital volume circuit 14 is composed of, for example, a logic circuit and receives an output value Do1 output from the A / D converter 8 as an input. Then, according to the determination result of the signal determination unit 12, the output value Do1 is attenuated and output as a new digital value (hereinafter referred to as output value Do2). That is, the output value Do1 is converted into a smaller value according to a given attenuation rate A, and is output as the output value Do2. This output value Do2 becomes the output of the entire amplifier circuit 2. The timing at which the digital volume circuit 14 attenuates the output value Do1 and the attenuation rate A at the time of attenuation are determined according to the determination result of the signal determination unit 12 as described below.

具体的に、デジタルボリューム回路14は、信号判定部12により入力信号Viが増幅目的信号であると判定されている間は、出力値Do1を減衰させずに、そのまま出力値Do2として出力する。しかし、信号判定部12により、入力信号Viが増幅目的信号からノイズ信号に変化したと判定された場合、減衰率Aを徐々に増やしながら(すなわち、dBを単位として負の値によって表される増幅率の値を徐々に下げながら)、出力値Do1を減衰させる。具体例として、デジタルボリューム回路14は、所定時間ごとに、減衰率AをdB単位で所定の値(例えば1)ずつ増やしながら、出力値Do1を減衰させる。これにより、入力信号Viが増幅目的信号からノイズ信号に変化した時点においては、出力値Do2は出力値Do1に等しいが、時間の経過とともに、出力信号Voの振幅に変化がなくとも、出力値Do2の振幅は小さな値になっていく。これにより、可変利得増幅器4によってある程度の大きさまで増幅されているノイズ信号の振幅を、急に最小値にするのではなく、徐々に小さな値に変化させながら出力することができる。   Specifically, the digital volume circuit 14 outputs the output value Do1 as it is as the output value Do2 without being attenuated while the signal determination unit 12 determines that the input signal Vi is the amplification target signal. However, when the signal determination unit 12 determines that the input signal Vi has changed from the amplification target signal to the noise signal, the amplification factor A is gradually increased while increasing the attenuation factor A (that is, expressed by a negative value with dB as a unit). While gradually decreasing the rate value), the output value Do1 is attenuated. As a specific example, the digital volume circuit 14 attenuates the output value Do1 while increasing the attenuation rate A by a predetermined value (for example, 1) in dB units at predetermined time intervals. Thereby, when the input signal Vi changes from the amplification target signal to the noise signal, the output value Do2 is equal to the output value Do1, but the output value Do2 does not change even if the amplitude of the output signal Vo does not change with time. The amplitude of becomes smaller. As a result, the amplitude of the noise signal amplified to a certain level by the variable gain amplifier 4 can be output while gradually changing it to a small value instead of suddenly having the minimum value.

さらに、デジタルボリューム回路14は、前述したように入力信号Viがノイズ信号であると判定される間、徐々に減衰率Aを増やしていった結果、減衰率Aが所定の最大値Amaxとなった後は、出力値Do1の振幅の大きさに関わらず、出力値Do2として所定の最小値(例えば0)を出力することとしてもよい。こうすれば、増幅回路2は、ノイズ信号が入力されている間、出力値Do2の振幅を徐々に小さくしていった後、本来は不要な信号であるノイズ信号に対する出力として、所定の最小値を出力することができる。   Further, as described above, the digital volume circuit 14 gradually increases the attenuation rate A while it is determined that the input signal Vi is a noise signal. As a result, the attenuation rate A reaches a predetermined maximum value Amax. Thereafter, a predetermined minimum value (for example, 0) may be output as the output value Do2, regardless of the amplitude of the output value Do1. In this way, the amplification circuit 2 gradually reduces the amplitude of the output value Do2 while the noise signal is being input, and then outputs a predetermined minimum value as an output for the noise signal that is originally an unnecessary signal. Can be output.

また、デジタルボリューム回路14は、信号判定部12により、入力信号Viがノイズ信号から増幅目的信号に変化したと判定される場合に、減衰率Aを徐々に減らしながら(すなわち、dBを単位として負の値によって表される増幅率の値を徐々に上げながら)、減衰率Aが0になるまで、出力値Do1を減衰させて出力値Do2として出力してもよい。具体的に、例えばデジタルボリューム回路14は、入力信号Viがノイズ信号から増幅目的信号に変化した直後は、所定の最大値Amaxで出力値Do1を減衰させ、その後、所定時間ごとに減衰率AをdB単位で所定の値(例えば1)ずつ減らしながら、出力値Do1を減衰させる。そして、減衰率Aが0に戻ると、それ以降は、出力値Do1を減衰させずに、そのまま出力値Do2として出力する。これにより、増幅回路2は、入力信号Viがノイズ信号から増幅目的信号に変化した場合にも、急に大きな振幅の信号を出力するのではなく、出力信号を徐々に大きな値に変化させながら、所定の基準値Daに応じた振幅の信号に戻すことができる。   Further, the digital volume circuit 14, when the signal determination unit 12 determines that the input signal Vi has changed from the noise signal to the amplification target signal, gradually decreases the attenuation factor A (that is, negative in dB as a unit). The output value Do1 may be attenuated and output as the output value Do2 until the attenuation rate A becomes 0 (while gradually increasing the amplification factor represented by the value of. Specifically, for example, immediately after the input signal Vi changes from the noise signal to the amplification target signal, the digital volume circuit 14 attenuates the output value Do1 with a predetermined maximum value Amax, and then sets the attenuation rate A every predetermined time. The output value Do1 is attenuated while decreasing by a predetermined value (for example, 1) in dB units. When the attenuation rate A returns to 0, the output value Do1 is not attenuated and is output as it is as the output value Do2. Thereby, even when the input signal Vi changes from the noise signal to the amplification target signal, the amplifier circuit 2 does not suddenly output a signal having a large amplitude, but gradually changes the output signal to a large value, It is possible to return to a signal having an amplitude corresponding to the predetermined reference value Da.

図2は、このような制御を行った場合の、入力信号Viの振幅の変化、信号判定部12により算出される推定値Deの変化、デジタルボリューム回路14の減衰率の変化、及び増幅回路2が出力する出力値Do2の振幅の変化、の間の対応関係を示す図である。この図では、最上段のグラフが入力信号Viの振幅の変化を示しており、図に示されるとおり、時刻t1において入力信号Viは小さな振幅の信号(ノイズ信号)に変化し、その後、時刻t2において再び大きな振幅の信号(増幅目的信号)に変化している。また、上から二段目のグラフは、この入力信号Viの変化に応じて、信号判定部12によって算出される推定値Deの時間変化を示している。   FIG. 2 shows the change in the amplitude of the input signal Vi, the change in the estimated value De calculated by the signal determination unit 12, the change in the attenuation factor of the digital volume circuit 14, and the amplification circuit 2 when such control is performed. It is a figure which shows the correspondence between the change of the amplitude of output value Do2 which outputs. In this figure, the uppermost graph shows the change in the amplitude of the input signal Vi. As shown in the figure, the input signal Vi changes to a signal having a small amplitude (noise signal) at time t1, and thereafter, at time t2. The signal again changes to a signal having a large amplitude (amplification target signal). Further, the second graph from the top shows the time change of the estimated value De calculated by the signal determination unit 12 in accordance with the change of the input signal Vi.

さらに、上から三段目のグラフは、デジタルボリューム回路14における減衰率Aの変化を示している。このグラフに示されるように、時刻t1の後、信号判定部12により入力信号Viが増幅目的信号からノイズ信号に変わったと判定されると、デジタルボリューム回路14は、減衰率Aを0から最大値Amaxまで徐々に増やしている。また、時刻t2の後、信号判定部12により入力信号Viがノイズ信号から増幅目的信号に変わったと判定されると、デジタルボリューム回路14は、減衰率Aを最大値Amaxから0まで徐々に減らしている。また、下段のグラフは出力値Do2(すなわち増幅回路2の出力信号)の振幅の変化を示している。このグラフに示されるように、時刻t1以降、可変利得増幅器4により増幅されたノイズ信号はデジタルボリューム回路14によって徐々に減衰されて、その後は増幅回路2の出力は所定の最小値(ここでは0)になっている。また、時刻t2以降、増幅回路2の出力信号は0から徐々に大きくなった後、時刻t1より以前とほぼ同じレベルの信号に変換されている。   Further, the third graph from the top shows the change in the attenuation factor A in the digital volume circuit 14. As shown in this graph, after the time t1, when the signal determination unit 12 determines that the input signal Vi has changed from the amplification target signal to the noise signal, the digital volume circuit 14 changes the attenuation rate A from 0 to the maximum value. It gradually increases to Amax. When the signal determination unit 12 determines that the input signal Vi has changed from the noise signal to the amplification target signal after time t2, the digital volume circuit 14 gradually decreases the attenuation rate A from the maximum value Amax to 0. Yes. The lower graph shows the change in the amplitude of the output value Do2 (that is, the output signal of the amplifier circuit 2). As shown in this graph, after time t1, the noise signal amplified by the variable gain amplifier 4 is gradually attenuated by the digital volume circuit 14, and thereafter the output of the amplifier circuit 2 is a predetermined minimum value (here, 0). )It has become. Further, after time t2, the output signal of the amplifier circuit 2 gradually increases from 0, and then is converted to a signal of substantially the same level as before time t1.

以上説明した本実施の形態に係る増幅回路2によれば、入力信号Viがノイズ信号であると判定される場合に、減衰率Aを徐々に増やしながら、出力信号Voを表す出力値Do1を減衰させることにより、最終的に出力される出力値Do2の振幅が不自然に変化しないよう制御しながら、ノイズ信号が増幅されて出力され続ける状態を防止することができる。   According to the amplifier circuit 2 according to the present embodiment described above, when the input signal Vi is determined to be a noise signal, the output value Do1 representing the output signal Vo is attenuated while gradually increasing the attenuation factor A. By doing so, it is possible to prevent the noise signal from being amplified and continuously output while controlling the amplitude of the output value Do2 that is finally output to be unnaturally changed.

なお、本発明の実施の形態は、以上説明したものに限られない。例えば、以上の説明においては、出力信号VoがA/Dコンバータ8によって出力値Do1に変換された後、デジタルボリューム回路14がこの出力値Do1を減衰させることとしたが、これに限らず例えばプログラマブルゲインアンプ等によって電圧信号の状態のまま、出力信号を減衰させることとしてもよい。   The embodiment of the present invention is not limited to the above-described embodiment. For example, in the above description, after the output signal Vo is converted into the output value Do1 by the A / D converter 8, the digital volume circuit 14 attenuates the output value Do1, but the present invention is not limited to this. The output signal may be attenuated in the state of the voltage signal by a gain amplifier or the like.

本発明の実施の形態に係る増幅回路の概略の構成例を表す回路図である。1 is a circuit diagram illustrating a schematic configuration example of an amplifier circuit according to an embodiment of the present invention. 本発明の実施の形態に係る増幅回路が入力信号に応じて出力する信号の一例を示す図である。It is a figure which shows an example of the signal which the amplifier circuit which concerns on embodiment of this invention outputs according to an input signal.

符号の説明Explanation of symbols

2 増幅回路、4 可変利得増幅器、6 レジスタ、8 A/Dコンバータ、10 利得制御部、12 信号判定部、14 デジタルボリューム回路。   2 amplifying circuit, 4 variable gain amplifier, 6 register, 8 A / D converter, 10 gain control unit, 12 signal determination unit, 14 digital volume circuit.

Claims (6)

利得可変な増幅器と、
前記増幅器が出力する出力信号の振幅を検出する振幅検出手段と、
前記検出される出力信号の振幅に基づいて、当該出力信号の振幅が所定の基準値に近づくように、前記増幅器の利得を変化させる利得制御手段と、
前記増幅器に入力される入力信号が増幅目的信号かノイズ信号かを判定する判定手段と、
前記判定手段により、前記入力信号がノイズ信号であると判定される場合に、減衰率を徐々に増やしながら、前記出力信号を減衰させる信号減衰手段と、
を含むことを特徴とする増幅回路。
A variable gain amplifier;
Amplitude detecting means for detecting the amplitude of the output signal output from the amplifier;
Gain control means for changing the gain of the amplifier based on the detected amplitude of the output signal so that the amplitude of the output signal approaches a predetermined reference value;
Determining means for determining whether an input signal input to the amplifier is an amplification target signal or a noise signal;
Signal attenuating means for attenuating the output signal while gradually increasing the attenuation rate when the determining means determines that the input signal is a noise signal;
An amplifier circuit comprising:
請求項1に記載の増幅回路において、
前記信号減衰手段は、所定の最大値になるまで減衰率を徐々に増やした後、前記出力信号の振幅を所定の最小値にする
ことを特徴とする増幅回路。
The amplifier circuit according to claim 1,
The amplification circuit according to claim 1, wherein the signal attenuating means gradually increases the attenuation rate until a predetermined maximum value is reached, and then sets the amplitude of the output signal to a predetermined minimum value.
請求項1又は2に記載の増幅回路において、
前記信号減衰手段は、前記入力信号がノイズ信号から増幅目的信号に変化する場合に、減衰率を徐々に減らしながら、減衰率が0になるまで、前記出力信号を減衰させる
ことを特徴とする増幅回路。
The amplifier circuit according to claim 1 or 2,
The signal attenuating means attenuates the output signal until the attenuation rate becomes 0 while gradually reducing the attenuation rate when the input signal changes from a noise signal to an amplification target signal. circuit.
請求項1から3のいずれか一項に記載の増幅回路において、
前記判定手段は、前記検出される出力信号の振幅に基づいて、当該出力信号の振幅と、所定の閾値と、を比較することにより、前記入力信号が増幅目的信号かノイズ信号かを判定する
ことを特徴とする増幅回路。
The amplifier circuit according to any one of claims 1 to 3,
The determination means determines whether the input signal is an amplification target signal or a noise signal by comparing the amplitude of the output signal with a predetermined threshold based on the detected amplitude of the output signal. An amplifier circuit characterized by the above.
請求項1から3のいずれか一項に記載の増幅回路において、
前記判定手段は、前記検出される出力信号の振幅と、前記増幅器の利得と、に基づいて算出される前記入力信号の振幅の推定値と、所定の閾値と、を比較することにより、前記入力信号が増幅目的信号かノイズ信号かを判定する
ことを特徴とする増幅回路。
The amplifier circuit according to any one of claims 1 to 3,
The determination means compares the input signal amplitude estimated value calculated based on the detected output signal amplitude and the gain of the amplifier with a predetermined threshold value, thereby comparing the input signal. An amplification circuit characterized by determining whether a signal is an amplification target signal or a noise signal.
請求項4又は5に記載の増幅回路において、
前記判定手段は、前記入力信号が増幅目的信号からノイズ信号に変化するか否かを判定する場合には、前記所定の閾値として第1閾値を用い、前記入力信号がノイズ信号から増幅目的信号に変化するか否かを判定する場合には、前記所定の閾値として前記第1閾値より大きな第2閾値を用いて、それぞれ判定を行う
ことを特徴とする増幅回路。
The amplifier circuit according to claim 4 or 5,
When determining whether the input signal changes from an amplification target signal to a noise signal, the determination unit uses a first threshold as the predetermined threshold, and the input signal changes from the noise signal to the amplification target signal. When determining whether or not to change, an amplifying circuit characterized in that determination is performed using a second threshold value larger than the first threshold value as the predetermined threshold value.
JP2008004931A 2008-01-11 2008-01-11 Amplifier circuit Pending JP2009171058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008004931A JP2009171058A (en) 2008-01-11 2008-01-11 Amplifier circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008004931A JP2009171058A (en) 2008-01-11 2008-01-11 Amplifier circuit

Publications (1)

Publication Number Publication Date
JP2009171058A true JP2009171058A (en) 2009-07-30

Family

ID=40971793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008004931A Pending JP2009171058A (en) 2008-01-11 2008-01-11 Amplifier circuit

Country Status (1)

Country Link
JP (1) JP2009171058A (en)

Similar Documents

Publication Publication Date Title
JP6456249B2 (en) Audio device, current control program, and current control method
EP2928076B1 (en) Level adjustment device and method
JP5927558B2 (en) Howling detection device, howling suppression device, and howling detection method
US20090067654A1 (en) Hearing aid and method of estimating dynamic gain limitation in a hearing aid
US8027490B2 (en) Audio control method and audio processing system
JP5147420B2 (en) Amplifier circuit
US8036400B2 (en) Volume control apparatus and volume control program
JP2009171058A (en) Amplifier circuit
JP4661422B2 (en) Muting device, digital audio device
JP5128269B2 (en) Sound equipment
JP2011205283A (en) Signal processor
JP6314662B2 (en) Audio signal processing apparatus and program thereof
JP4204828B2 (en) Automatic gain control device, automatic gain control method, and automatic gain control program
JP6887315B2 (en) Speech processing device and its control method, program and storage medium
JP5857216B2 (en) Automatic gain controller
JP4579792B2 (en) Feedforward distortion compensation amplifier
GB2559858A (en) Audio processing apparatus and method of controlling same
US8169260B2 (en) Amplifier circuit utilizing characteristic correction and smooth curvilinear correction
US10547940B1 (en) Sound collection equipment and method for detecting the operation status of the sound collection equipment
JP2008092241A (en) Audio signal output device
JP2010178224A (en) Hearing aid
JP2016010086A (en) Voice processor
JP5269494B2 (en) Audio level control device
KR101169312B1 (en) Signal level adjusting apparatus, gain value updating method, and program
JP2005341009A (en) Digital agc control method and digital agc apparatus