JP2000059159A - Agc circuit, gain control method therefor and portable terminal equipment - Google Patents

Agc circuit, gain control method therefor and portable terminal equipment

Info

Publication number
JP2000059159A
JP2000059159A JP10229950A JP22995098A JP2000059159A JP 2000059159 A JP2000059159 A JP 2000059159A JP 10229950 A JP10229950 A JP 10229950A JP 22995098 A JP22995098 A JP 22995098A JP 2000059159 A JP2000059159 A JP 2000059159A
Authority
JP
Japan
Prior art keywords
output
multiplying
agc
level
integrating
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
JP10229950A
Other languages
Japanese (ja)
Inventor
Shigenori Oota
薫典 太田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10229950A priority Critical patent/JP2000059159A/en
Publication of JP2000059159A publication Critical patent/JP2000059159A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an AGC(automatic gain control) circuit capable of eliminating the factor of lowering a response speed and performing a high-speed operation by simple constitution. SOLUTION: At the point of time at which the gain of an AGC amplifier 1 becomes maximum, the output of an integration means 9 is apparently turned to a clipped state. By the action of an output changeover means 14, signals inputted to the integration means 9 are switched from the output of a multiplication means 6 to '0'. Thus, inside the integration means 9, an integrated value at the point of time at which the gain of the AGC amplifier 1 becomes maximum is held. When the input analog signal level of the AGC amplifier 1 becomes high, the output of the multiplication means 6 is inputted to the integration means 9 and the integration means 9 starts integration from the integrated value corresponding to the actual input analog signal level of the AGC amplifier 1. Thus, timewise waste in the response of an AGC loop is eliminated and the high-speed operation is made possible.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えばディジタル
移動通信用の携帯端末装置に用いて好適なAGC(自動
利得制御)回路およびその利得制御方法に関し、特に、
応答速度を遅くする要因をなくして高速な動作を可能に
したAGC回路およびその利得制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic gain control (AGC) circuit and a gain control method suitable for use in, for example, a portable terminal device for digital mobile communication.
The present invention relates to an AGC circuit which enables high-speed operation by eliminating a factor for reducing a response speed, and a gain control method thereof.

【0002】[0002]

【従来の技術】ディジタル移動体通信では、伝送路にフ
ェージングなどが発生するとその受信信号レベルが低下
するため、受信信号のレベルを常に一定に保つためのA
GC回路が必要となる。
2. Description of the Related Art In digital mobile communication, when fading or the like occurs in a transmission path, the level of a received signal is reduced.
A GC circuit is required.

【0003】図3に従来のAGC回路のブロック図を示
し、その説明を行なう。このAGC回路は、入力アナロ
グ信号およびD/A変換器12の出力が入力されるAGC
アンプ1と、AGCアンプ1の出力が入力される復調器
2と、復調器2の出力が入力されるA/D変換器3と、
A/D変換器の出力が入力される絶対値検出回路4と、
絶対値検出回路4の出力と基準値とが入力される減算器
5と、減算器5の出力と係数εとが入力される乗算器6
と、乗算器6の出力が入力される積分器9と、積分器9
の出力と2i /2とが入力される加算器10と、加算器10
の出力、その最上位ビット(MSB)、および2i-1 が
入力されるセレクタ11と、セレクタ11の出力が入力され
るD/A変換器12とから構成されている。
FIG. 3 shows a block diagram of a conventional AGC circuit, which will be described. This AGC circuit is an AGC circuit to which an input analog signal and an output of the D / A converter 12 are input.
An amplifier 1, a demodulator 2 to which an output of the AGC amplifier 1 is input, an A / D converter 3 to which an output of the demodulator 2 is input,
An absolute value detection circuit 4 to which an output of the A / D converter is input;
A subtractor 5 to which the output of the absolute value detection circuit 4 and the reference value are input, and a multiplier 6 to which the output of the subtractor 5 and the coefficient ε are input
And an integrator 9 to which the output of the multiplier 6 is input, and an integrator 9
And an adder 10 to which the output of and 2i / 2 are input,
And the D / A converter 12 to which the output of the selector 11 is inputted.

【0004】AGCアンプ1は、ダイナミックレンジ数
十dBを有するものであり、D/A変換器12から出力さ
れる利得制御電圧Vcに応じて利得を制御することによ
り、入力アナログ信号の振幅を一定にする。復調器2
は、AGCアンプ1から出力される信号を復調すること
により、同相成分及び直交成分を取り出して出力する。
A/D変換器3は、復調器2から出力されるアナログ信
号である同相成分及び直交成分をディジタル信号に変換
して出力する。
The AGC amplifier 1 has a dynamic range of several tens of dB, and controls the gain in accordance with the gain control voltage Vc output from the D / A converter 12 to keep the amplitude of the input analog signal constant. To Demodulator 2
Demodulates a signal output from the AGC amplifier 1 to extract and output an in-phase component and a quadrature component.
The A / D converter 3 converts an in-phase component and a quadrature component, which are analog signals output from the demodulator 2, into a digital signal and outputs the digital signal.

【0005】絶対値検出回路4はA/D変換器3のディ
ジタル出力の絶対値を検出することにより、包絡線を検
波する。減算器5は、この包絡線信号レベルを予め定め
られたレベルである基準値から減算し、誤差aを出力す
る。乗算器6は、AGC回路のフィードバックループの
帯域、即ち、ループ帯域を決定する係数ε(ただし、0
<ε<1)と誤差aとを乗算して出力する。ここで、ε
を大きくすると誤差aがほぼそのまま乗算器6から出力
されるので、フィードバックの早い応答が可能となる。
しかし、不安定な動作となる。逆に、εを小さくすると
応答は遅くなるが安定な動作となる。
The absolute value detection circuit 4 detects the envelope by detecting the absolute value of the digital output of the A / D converter 3. The subtracter 5 subtracts this envelope signal level from a reference value which is a predetermined level, and outputs an error a. The multiplier 6 has a coefficient ε (0, 0) that determines the band of the feedback loop of the AGC circuit, that is, the loop band.
<Ε <1) and the error a are multiplied and output. Where ε
Is increased, the error a is output from the multiplier 6 almost as it is, so that a quick feedback response is possible.
However, the operation becomes unstable. Conversely, when ε is reduced, the response becomes slow, but the operation becomes stable.

【0006】積分器9は、加算器8と、加算器8の出力
を遅延して加算器8に入力する遅延器7とから構成され
ており、乗算器6の出力を積算する。ここでは、誤差a
にεを乗算した元の誤差aよりも小さい値“a×ε”
を、減算器5の出力の誤差aが0となるように少しずつ
積算していく。ここで,想定するAGCアンプ1への入
力信号レベルが最小の時、利得制御電圧Vcは最大(A
GCアンプ1の利得が最大)となると考えると、この
時、積分器9の出力ビットは符号ビット(MSB:最上
位ビット)を除いて、すべて“1”となる。AGCルー
プの応答速度によっては、積分器9の出力ビットが、符
号ビットを除いて全て“1”となった時点で、誤差aは
“0”とはなっていない。そのため、乗算器6出力は
“0”とならず、加算器8と積分器9のビット数が同じ
であると、加算器8がオーバーフローすることが考えら
れる。
The integrator 9 is composed of an adder 8 and a delay unit 7 for delaying the output of the adder 8 and inputting it to the adder 8, and integrates the output of the multiplier 6. Here, the error a
Is smaller than the original error a multiplied by ε, “a × ε”
Are added little by little so that the error a of the output of the subtractor 5 becomes zero. Here, when the assumed input signal level to the AGC amplifier 1 is the minimum, the gain control voltage Vc is the maximum (A
Assuming that the gain of the GC amplifier 1 is maximum, the output bits of the integrator 9 at this time are all "1" except for the sign bit (MSB: most significant bit). Depending on the response speed of the AGC loop, when all the output bits of the integrator 9 become "1" except for the sign bit, the error a is not "0". Therefore, the output of the multiplier 6 does not become “0”, and if the bit numbers of the adder 8 and the integrator 9 are the same, the adder 8 may overflow.

【0007】そこで、加算器8がオーバーフローするこ
とを防ぐため、乗算器6のビット数をiビットとする
と、加算器8と遅延器7のビット数は乗算器6のビット
数よりも1ビット多くし,i+1ビットとしておく。従
って、積分器9のビット数はi+1ビットとなり、積分
器9の出力は0を中心に±2i-1 の範囲で動作すること
になる。
In order to prevent the overflow of the adder 8, if the number of bits of the multiplier 6 is i, the number of bits of the adder 8 and the delay 7 is one more than the number of bits of the multiplier 6. And set to i + 1 bits. Therefore, the number of bits of the integrator 9 is i + 1 bits, and the output of the integrator 9 operates within a range of ± 2 i -1 around 0.

【0008】加算器10は、積分器9出力に2i /2(=
2i-1 )を加算することにより、動作範囲を−2i-1 〜
+2i-1 から0〜2i に変換する。セレクタ11の出力ビ
ット数はiビットであり、加算器10の出力の最上位ビッ
トが“0”の時、加算器10の出力の最上位ビットを除い
た残りのビットをそのまま出力し、加算器10の出力の最
上位ビットが“1”となった時、出力ビットをすべて
“1”とすることにより、2i-1 を出力し、見掛け上、
積分器9の出力をクリップする。
[0008] The adder 10 adds 2i / 2 (=
2i-1), the operating range becomes -2i-1 to
+ 2i-1 is converted to 0-2i. The number of output bits of the selector 11 is i bits. When the most significant bit of the output of the adder 10 is “0”, the remaining bits excluding the most significant bit of the output of the adder 10 are output as they are, When the most significant bit of the output of 10 becomes "1", 2i-1 is output by setting all output bits to "1".
The output of the integrator 9 is clipped.

【0009】D/A変換器10は、セレクタ11の出力をA
GCアンプ1の利得を制御するための利得制御電圧Vc
に変換する。この利得制御電圧Vcにより、AGCアン
プ1の利得をA/D変換器10の出力レベルに応じて制御
し、復調器2への入力レベルを一定に保つ。
The D / A converter 10 outputs the output of the selector 11 to A
Gain control voltage Vc for controlling the gain of GC amplifier 1
Convert to The gain control voltage Vc controls the gain of the AGC amplifier 1 according to the output level of the A / D converter 10, and keeps the input level to the demodulator 2 constant.

【0010】[0010]

【発明が解決しようとしている課題】前述した従来のA
GC回路において、加算器10の出力の最上位ビットが
“1”となった時、セレクタ11の出力ビットはすべて
“1”となるが、AGCループの応答速度によっては、
誤差aが0となるまで、積分器9は乗算器6の出力の積
算を続け、その積算値はその時点でのA/D変換器3の
出力信号レベルやAGCアンプ1の入力信号レベルとは
無関係な値(セレクタ11の出力よりも大きな値)とな
る。
SUMMARY OF THE INVENTION The aforementioned conventional A
In the GC circuit, when the most significant bit of the output of the adder 10 becomes "1", all the output bits of the selector 11 become "1". However, depending on the response speed of the AGC loop,
Until the error a becomes 0, the integrator 9 continues to integrate the output of the multiplier 6, and the integrated value is different from the output signal level of the A / D converter 3 and the input signal level of the AGC amplifier 1 at that time. It becomes an unrelated value (a value larger than the output of the selector 11).

【0011】上記セレクタ11の出力ビットがすべて
“1”の状態(利得制御電圧Vcが最大の時)から、A
Gアンプ1の入力信号レベルが大きくなった場合、誤差
aが負の値となり、AGC回路はAGCアンプ1の利得
を下げる方向に動作する。すなわち、積分器9の積算値
を下げる方向に動作する。しかし、この時点での積分器
9の積算値は、AGCアンプ1の入力信号レベルとは無
関係の値(セレクタ11の出力より大きな値)であるた
め、セレクタ11の出力の値よりも大きな値から積算値を
下げる方向にAGC回路は動作することになるので、時
間的な無駄が生じ、AGCループの応答速度を遅くする
要因となる。
From the state where all the output bits of the selector 11 are "1" (when the gain control voltage Vc is the maximum),
When the input signal level of the G amplifier 1 increases, the error a becomes a negative value, and the AGC circuit operates in a direction to decrease the gain of the AGC amplifier 1. That is, it operates in the direction of decreasing the integrated value of the integrator 9. However, since the integrated value of the integrator 9 at this time is a value irrelevant to the input signal level of the AGC amplifier 1 (a value larger than the output of the selector 11), the integrated value is larger than the value of the output of the selector 11. Since the AGC circuit operates in the direction of decreasing the integrated value, time is wasted, which causes a reduction in the response speed of the AGC loop.

【0012】ディジタル移動体通信においては、ダイナ
ミックレンジが大きなところで50〜60dBの変動が
あるので、その変動に常時追従しなければならない。前
述したように、εを大きくしてAGCループ帯域を広く
した場合は追従は速くなるが、極端な変動が入ってくる
と、オーバーシュート、即ち追従が外れたり、誤差aを
0に近づけられなくなったりする。また、εを小さくす
ると安定な動作となるが急激な変動に追従できない。こ
のため、AGCループが安定な動作をする範囲内で、で
きるだけεを大きくし、AGCループの応答速度を速く
する必要があるが、前述した従来の構成では、ε以外に
回路構成上、AGCループの応答速度を遅くする要因が
あるため、AGCループの応答速度を高速にできないと
いう問題点があった。
In digital mobile communication, since there is a fluctuation of 50 to 60 dB in a large dynamic range, the fluctuation must always be followed. As described above, when the AGC loop band is widened by increasing ε, the tracking speed is fast. However, when an extreme fluctuation enters, the overshoot, that is, the tracking is lost, and the error a cannot be brought close to 0. Or When ε is reduced, stable operation is obtained, but it cannot follow a sudden change. For this reason, within the range where the AGC loop operates stably, it is necessary to increase ε as much as possible and to increase the response speed of the AGC loop. However, there is a problem that the response speed of the AGC loop cannot be increased because of the factor of reducing the response speed of the AGC loop.

【0013】従って、本発明は、ループ帯域を決定する
係数ε以外に起因するAGCループの応答速度を遅くす
る要因をなくし、高速な動作を可能とするAGC回路お
よびその利得制御方法を提供することを目的とする。ま
た、本発明はハード規模を大きくすることなく簡単な構
成でこのAGC回路およびその利得制御方法を実現する
ことを目的とする。
[0013] Accordingly, the present invention provides an AGC circuit and a gain control method thereof that enable high-speed operation by eliminating a factor that slows down the response speed of the AGC loop due to factors other than the coefficient ε that determines the loop band. With the goal. Another object of the present invention is to realize the AGC circuit and its gain control method with a simple configuration without increasing the hardware scale.

【0014】[0014]

【課題を解決するための手段】本発明では、前記課題を
解決するために、AGCアンプと、AGCアンプの出力
信号を復調する復調器と、復調器の出力をディジタル化
するA/D変換器と、A/D変換器の出力の包絡線を検
波する包絡線検波手段と、包絡線検波手段の検波出力と
基準値との誤差を算出する誤差算出手段と、前記算出さ
れた誤差に応答速度を定める係数を乗算する乗算手段
と、乗算手段の出力を積算する積算手段と、積算手段の
出力からAGCアンプの利得制御電圧を発生する制御電
圧発生手段とを備えたAGC回路において、積算手段の
出力信号レベルが予め定められたレベルに達しているか
否かを判定する出力レベル判定手段と、乗算手段の出力
信号の正負を判定する正負判定手段と、積算手段の出力
信号レベルが予め定められたレベルに達していると出力
レベル判定手段が判定したときに積算手段の出力をクリ
ップするクリップ手段と、積算手段の出力信号レベルが
予め定められたレベルに達していると出力レベル判定手
段が判定し、かつ乗算手段の出力信号が正であると正負
判定手段が判定しているときに、積算手段の積算値を保
持する保持手段とを設けたものである。このように構成
したことにより、AGCアンプの利得が最大になった時
点で積算手段の出力をクリップすると共に、積算手段の
出力がクリップされている時には、積算手段内では乗算
手段の出力が正の場合には積算を行なわず、負の場合に
は積算を行なうように制御することができる。
According to the present invention, in order to solve the above-mentioned problems, an AGC amplifier, a demodulator for demodulating an output signal of the AGC amplifier, and an A / D converter for digitizing an output of the demodulator are provided. An envelope detector for detecting an envelope of an output of the A / D converter; an error calculator for calculating an error between a detection output of the envelope detector and a reference value; An AGC circuit comprising: a multiplying means for multiplying a coefficient that determines the following equation; an integrating means for integrating the output of the multiplying means; and a control voltage generating means for generating a gain control voltage of the AGC amplifier from the output of the integrating means. The output level determining means for determining whether the output signal level has reached a predetermined level, the positive / negative determining means for determining whether the output signal of the multiplying means is positive or negative, and the output signal level of the integrating means are predetermined. Clipping means for clipping the output of the integrating means when the output level determining means determines that the output level has reached the predetermined level; and output level determining means for determining that the output signal level of the integrating means has reached a predetermined level. Holding means for holding the integrated value of the integration means when the determination is made and the positive / negative determination means determines that the output signal of the multiplication means is positive. With this configuration, the output of the integrator is clipped when the gain of the AGC amplifier is maximized, and when the output of the integrator is clipped, the output of the multiplier is positive in the integrator. In this case, control can be performed so that integration is not performed, and integration is performed when negative.

【0015】このAGC回路において、保持手段は、乗
算手段の出力を“0”に切り換えることにより、積算手
段の積算値を保持するように構成することができる。ま
た、このAGC回路において、正負判定手段は、乗算手
段の出力の最上位ビットを反転するインバータにより構
成することができる。
In this AGC circuit, the holding means can be configured to hold the integrated value of the integrating means by switching the output of the multiplying means to "0". Further, in this AGC circuit, the positive / negative determining means can be constituted by an inverter for inverting the most significant bit of the output of the multiplying means.

【0016】さらに、本発明では、前記課題を解決する
ために、AGCアンプと、AGCアンプの出力信号を復
調する復調器と、復調器の出力をディジタル化するA/
D変換器と、A/D変換器の出力の包絡線を検波する包
絡線検波手段と、包絡線検波手段の検波出力と基準値と
の誤差を算出する誤差検出手段と、算出された誤差に応
答速度を定める係数を乗算する乗算手段と、乗算手段の
出力を積算する積算手段と、積算手段の出力からAGC
アンプの利得制御電圧を発生する制御電圧発生手段とを
備えたAGC回路において、積算手段の出力信号レベル
が予め定められたレベルに達しているか否かを判定する
と共に、乗算手段の出力信号の正負を判定し、積算手段
の出力信号レベルが予め定められたレベルに達している
と判定したときに積算手段の出力をクリップし、積算手
段の出力信号レベルが予め定められたレベルに達してい
ると判定し、かつ乗算手段の出力信号が正であると判定
しているときに、積算手段の積算値を保持するように構
成した。このように構成したことにより、AGCアンプ
の利得が最大になった時点で積算手段の出力をクリップ
すると共に、積算手段の出力がクリップされている時に
は、積算手段内では乗算手段の出力が正の場合には積算
を行なわず、負の場合には積算を行なうように制御する
ことができる。
Further, according to the present invention, in order to solve the above-mentioned problems, an AGC amplifier, a demodulator for demodulating an output signal of the AGC amplifier, and an A / A for digitizing an output of the demodulator are provided.
A D converter, an envelope detector for detecting an envelope of an output of the A / D converter, an error detector for calculating an error between a detection output of the envelope detector and a reference value, Multiplying means for multiplying by a coefficient for determining a response speed; integrating means for integrating the output of the multiplying means;
In an AGC circuit having a control voltage generating means for generating a gain control voltage for an amplifier, it is determined whether or not the output signal level of the integrating means has reached a predetermined level, and whether the output signal of the multiplying means is positive or negative. Is determined, the output of the integrating means is clipped when it is determined that the output signal level of the integrating means has reached a predetermined level, and that the output signal level of the integrating means has reached a predetermined level. When the determination is made and the output signal of the multiplying means is determined to be positive, the integrated value of the integrating means is held. With this configuration, the output of the integrator is clipped when the gain of the AGC amplifier is maximized, and when the output of the integrator is clipped, the output of the multiplier is positive in the integrator. In this case, control can be performed so that integration is not performed, and integration is performed when negative.

【0017】[0017]

【発明の実施の形態】本発明の請求項1に記載した発明
は、入力アナログ信号に対する出力信号レベルが一定に
なるように利得が制御されるAGCアンプと、前記AG
Cアンプの出力信号を復調する復調器と、前記復調器の
出力をディジタル化するA/D変換器と、前記A/D変
換器の出力の包絡線を検波する包絡線検波手段と、前記
包絡線検波手段の検波出力と基準値との誤差を算出する
誤差検出手段と、前記誤差に応答速度を定める係数を乗
算する乗算手段と、前記乗算手段の出力を積算する積算
手段と、前記積算手段の出力から前記AGCアンプの利
得制御電圧を発生する制御電圧発生手段とを備えたAG
C回路において、前記積算手段の出力信号レベルが予め
定められたレベルに達しているか否かを判定する出力レ
ベル判定手段と、前記乗算手段の出力信号の正負を判定
する正負判定手段と、前記積算手段の出力信号レベルが
予め定められたレベルに達していると前記出力レベル判
定手段が判定したときに前記積算手段の出力をクリップ
するクリップ手段と、前記積算手段の出力信号レベルが
予め定められたレベルに達していると前記出力レベル判
定手段が判定し、かつ前記乗算手段の出力信号が正であ
ると前記正負判定手段が判定しているときに、前記積算
手段の積算値を保持する保持手段とを有するものであ
り、AGCアンプの利得が最大になった時点で積算手段
の出力をクリップすると共に、積算手段の出力がクリッ
プされている時には、積算手段内では乗算手段の出力が
正の場合には積算を行なわず、負の場合には積算を行な
うという作用を有する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 of the present invention is directed to an AGC amplifier whose gain is controlled so that an output signal level with respect to an input analog signal is constant,
A demodulator for demodulating an output signal of the C amplifier, an A / D converter for digitizing an output of the demodulator, an envelope detecting means for detecting an envelope of an output of the A / D converter, and the envelope Error detecting means for calculating an error between the detection output of the line detecting means and a reference value, multiplying means for multiplying the error by a coefficient that determines a response speed, integrating means for integrating the output of the multiplying means, and the integrating means Control voltage generating means for generating a gain control voltage of the AGC amplifier from the output of the AGC amplifier.
In the C circuit, output level determining means for determining whether or not the output signal level of the integrating means has reached a predetermined level; positive / negative determining means for determining whether the output signal of the multiplying means is positive or negative; Clipping means for clipping the output of the integrating means when the output level determining means determines that the output signal level of the means has reached a predetermined level; and the output signal level of the integrating means is predetermined. Holding means for holding the integrated value of the integrating means when the output level determining means determines that the output signal has reached the level and the positive / negative determining means determines that the output signal of the multiplying means is positive. When the gain of the AGC amplifier becomes maximum, the output of the integrating means is clipped, and when the output of the integrating means is clipped, In the accumulating means has the effect that the output of the multiplication means without accumulation in the case of positive, performing the integration in the case of negative.

【0018】本発明の請求項2に記載した発明は、請求
項1に記載した発明において、保持手段は、積算手段に
入力する信号を乗算手段の出力から“0”に切り換える
ことにより、積算手段の積算値を保持するように構成し
たものであり、乗算手段の出力を積算手段に入力せず、
“0”を入力することで、積算手段の積算値を保持する
という作用を有する。
According to a second aspect of the present invention, in the first aspect of the present invention, the holding means switches the signal input to the integrating means from the output of the multiplying means to "0", thereby providing the integrating means. , And the output of the multiplying means is not input to the integrating means.
By inputting "0", there is an effect that the integrated value of the integrating means is held.

【0019】本発明の請求項3に記載した発明は、請求
項1に記載した発明において、乗算手段の出力の符号ビ
ットを反転するインバータにより正負判定手段を構成し
たものであり、乗算手段の出力の符号ビットを反転する
ことにより、乗算手段の出力の正負を判定するという作
用を有する。
According to a third aspect of the present invention, in the first aspect of the present invention, the positive / negative determining means is constituted by an inverter for inverting the sign bit of the output of the multiplying means. Has the effect of determining whether the output of the multiplying means is positive or negative.

【0020】本発明の請求項4に記載した発明は、AG
Cアンプと、AGCアンプの出力信号を復調する復調器
と、復調器の出力をディジタル化するA/D変換器と、
A/D変換器の出力の包絡線を検波する包絡線検波手段
と、包絡線検波手段の検波出力と基準値との誤差を算出
する誤差算出手段と、算出された誤差に応答速度を定め
る係数を乗算する乗算手段と、乗算手段の出力を積算す
る積算手段と、積算手段の出力からAGCアンプの利得
制御電圧を発生する制御電圧発生手段とを備えたAGC
回路において、積算手段の出力信号レベルが予め定めら
れたレベルに達したか否かを判定すると共に、乗算手段
の出力信号の正負を判定し、積算手段の出力信号レベル
が予め定められたレベルに達していると判定したときに
積算手段の出力をクリップし、予め定められたレベルに
達していると判定し、かつ乗算手段の出力信号が正であ
ると判定しているときに、積算手段の積算値を保持する
ように構成したものであり、AGCアンプの利得が最大
になった時点で積算手段の出力をクリップすると共に、
積算手段の出力がクリップされている時には、積算手段
内では乗算手段の出力が正の場合には積算を行なわず、
負の場合には積算を行なうという作用を有する。
The invention described in claim 4 of the present invention is characterized in that
A C amplifier, a demodulator for demodulating an output signal of the AGC amplifier, an A / D converter for digitizing an output of the demodulator,
Envelope detection means for detecting the envelope of the output of the A / D converter; error calculation means for calculating an error between the detection output of the envelope detection means and a reference value; and a coefficient for determining a response speed for the calculated error AGC comprising: multiplying means for multiplying the multiplying factor; integrating means for integrating the output of the multiplying means; and control voltage generating means for generating a gain control voltage for the AGC amplifier from the output of the integrating means.
In the circuit, it is determined whether or not the output signal level of the integrating means has reached a predetermined level, and the sign of the output signal of the multiplying means is determined, so that the output signal level of the integrating means has reached a predetermined level. The output of the integrating means is clipped when it is determined that the output has reached the predetermined level, and when the output signal of the multiplying means is determined to be positive, the output of the integrating means is determined. The output of the integration means is clipped when the gain of the AGC amplifier is maximized, and the integrated value is held.
When the output of the integrating means is clipped, the integration is not performed when the output of the multiplying means is positive in the integrating means.
In the case of a negative value, it has the effect of performing integration.

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

【0022】(第1の実施の形態)図1は本発明の第1
の実施の形態のAGC回路を示すブロック図である。こ
の図において、図3に示した従来例の部分に対応する部
分には同一の符号が付与されている。図1において、A
GCアンプ1、復調器2、およびA/D変換器3の構成
と作用は、図3に示した従来例と同一である。
(First Embodiment) FIG. 1 shows a first embodiment of the present invention.
FIG. 3 is a block diagram showing an AGC circuit according to the embodiment. In this figure, parts corresponding to those of the conventional example shown in FIG. 3 are denoted by the same reference numerals. In FIG. 1, A
The configurations and operations of the GC amplifier 1, the demodulator 2, and the A / D converter 3 are the same as those of the conventional example shown in FIG.

【0023】包絡線検波手段は4は、A/D変換器3の
ディジタル出力の包絡線を検波する。減算手段5は、包
絡線検波手段4の出力と予め定められたレベルである基
準値との減算を行ない、誤差aを出力する。乗算手段6
は、誤差aに対して、AGC回路のフィードバックルー
プの帯域、即ち、ループ帯域を決定する係数εを乗算す
る。
The envelope detector 4 detects the envelope of the digital output of the A / D converter 3. The subtraction means 5 subtracts the output of the envelope detection means 4 from a reference value which is a predetermined level, and outputs an error a. Multiplication means 6
Multiplies the error a by a coefficient ε that determines the band of the feedback loop of the AGC circuit, that is, the loop band.

【0024】乗算手段6の出力は出力切換手段14と正負
判定手段13とに送られる。正負判定手段13は、乗算手段
6の出力が正の値であるか負の値であるかを判定し、そ
の判定出力を出力切換手段14に与える。出力切換手段14
は、正負判定手段13の出力と、後述する出力レベル判定
手段17の判定出力をもとに、“0”または乗算手段6
の出力を選択して出力する。
The output of the multiplying means 6 is sent to the output switching means 14 and the positive / negative determining means 13. The positive / negative determining means 13 determines whether the output of the multiplying means 6 is a positive value or a negative value, and supplies the output to the output switching means 14. Output switching means 14
Is based on the output of the positive / negative determining means 13 and the determination output of the output level determining means 17 described later,
Select the output and output.

【0025】遅延手段16は、後述する積算手段9の積算
するタイミングと出力切換手段14の出力するタイミング
を合わせるために設ける。積算手段9は、加算手段8
と、加算手段8の出力を遅延して加算手段8に入力する
遅延手段7とから構成されており、遅延手段7の遅延時
間ごとに、遅延手段16の出力である“a×ε”または
“0”を積算して行く。
The delay means 16 is provided to match the timing of integration by the integration means 9 described later with the timing of output by the output switching means 14. The accumulating means 9 includes the adding means 8
And a delay means 7 for delaying the output of the addition means 8 and inputting it to the addition means 8. For each delay time of the delay means 7, the output of the delay means 16 is “a × ε” or “ Integrate "0".

【0026】ここで、遅延手段7の出力をbとし、出力
切換手段14の出力を“a×ε”とすると、積算手段9の
出力は、b+(a×ε)となる。この値によって後述す
る加算手段10の出力の最上位ビット(MSB)が“1”と
なり、出力切換手段14の出力が“a×ε”から“0”
に、遅延手段7の遅延時間内で、すなわち、積算手段9
が次の積算を行なうまでの時間に、切り換わったとする
と、積算手段9の出力は、“b+(a×ε)”から
“b”となってしまい、出力切換手段14の出力を切り換
えた時点での積算値とは異なってしまう。これを避ける
ために、遅延手段7と同様の遅延手段16を設け、積算手
段9の積算するタイミングと出力切換手段14の出力する
タイミングを合わせる。
Here, assuming that the output of the delay means 7 is b and the output of the output switching means 14 is "a.times..epsilon.", The output of the integrating means 9 is b + (a.times..epsilon.). With this value, the most significant bit (MSB) of the output of the adding means 10 described later becomes “1”, and the output of the output switching means 14 changes from “a × ε” to “0”.
In addition, within the delay time of the delay means 7, ie,
Is switched by the time until the next integration is performed, the output of the integration means 9 changes from “b + (a × ε)” to “b”. Will be different from the integrated value at. To avoid this, a delay means 16 similar to the delay means 7 is provided, and the timing of integration by the integration means 9 and the timing of output by the output switching means 14 are matched.

【0027】遅延手段16は出力切換手段14の出力を予め
定められた時間遅延して、積算手段9に与える。積算手
段9は、加算手段8と、加算手段8の出力を遅延して加
算手段8に入力する遅延手段7とから構成されており、
遅延手段16の出力である“a×ε”または“0”を積算
していく。ここで、乗算手段6のビット数をiビットと
すると、加算手段8と遅延手段7の各々のビット数をi
+1ビットとして、加算手段8のオーバーフローを防止
している。従って、積算手段9のビット数はi+1ビッ
トとなり、積算手段9の出力0は中心に±2i-1の範囲
で動作する。加算手段10は、積算手段9の出力に2i
2を加算することにより、動作範囲を−2i-1〜+2i-1
から0〜2iに変換する。
The delay means 16 delays the output of the output switching means 14 for a predetermined time and provides the output to the integrating means 9. The integrating means 9 includes an adding means 8 and a delaying means 7 for delaying the output of the adding means 8 and inputting the output to the adding means 8.
“A × ε” or “0” which is the output of the delay means 16 is integrated. Here, assuming that the number of bits of the multiplication means 6 is i bits, the number of bits of each of the addition means 8 and the delay means 7 is i
As the +1 bit, overflow of the adding means 8 is prevented. Therefore, the number of bits of the integrating means 9 is i + 1 bits, and the output 0 of the integrating means 9 operates in a range of ± 2 i-1 at the center. The adding means 10 outputs 2 i /
By adding 2, the operating range becomes -2i-1 to + 2i-1.
From converted to 0~2 i.

【0028】加算手段10の出力は、出力切換手段11と出
力レベル判定手段17とに送られる。出力レベル判定手段
17は、加算手段10の出力の最上位ビットが“0”であ
るか“1”であるかを判定し、その判定出力を出力切換
手段11と出力切換手段14とに与える。出力切換手段11の
出力ビット数はi+1ビットであり、加算手段10の出力
の最上位ビットが“0”と判定された場合には加算器10
出力の最上位ビットを除いた残りのビットをそのまま出
力し、“1”と判定された場合には出力ビットをすべて
“1”とすることにより、2i-1 を出力して見掛け上、
積算手段9の出力をクリップする。D/A変換手段12
は、出力切換手段11の出力をAGCアンプ1の利得を制
御するための利得制御電圧Vcに変換する。
The output of the adding means 10 is sent to an output switching means 11 and an output level judging means 17. The output level determining means 17 determines whether the most significant bit of the output of the adding means 10 is "0" or "1", and supplies the output to the output switching means 11 and the output switching means 14. The number of output bits of the output switching means 11 is i + 1 bits. When the most significant bit of the output of the adding means 10 is determined to be "0", the adder 10
The remaining bits excluding the most significant bit of the output are output as they are, and when it is determined to be “1”, all the output bits are set to “1”, thereby outputting 2i−1 and apparently
The output of the integrating means 9 is clipped. D / A conversion means 12
Converts the output of the output switching means 11 into a gain control voltage Vc for controlling the gain of the AGC amplifier 1.

【0029】次に、図1に示したAGC回路の動作を説
明する。前述したように、積算手段9の出力は0を中心
に±2i-1 の範囲で動作する。加算手段10は積算手段9
の出力に2i /2を加算することにより、動作範囲を−
2i-1 〜+2i-1 から0〜2i に変換する。加算手段10
の出力レベルが2i-1 を越えたとき、すなわち加算手段
10の出力の最上位ビットが“1”となったとき、出力レ
ベル判定手段17の判定出力により、出力切換手段11の
出力は2i-1 となる。このとき、D/A変換手段12から
AGCアンプ1に供給される利得制御電圧Vcは最大と
なるため、AGCアンプ1の利得は最大となる。
Next, the operation of the AGC circuit shown in FIG. 1 will be described. As described above, the output of the integrating means 9 operates within a range of ± 2i-1 centered on 0. The adding means 10 is the integrating means 9
By adding 2i / 2 to the output of
Conversion from 2i-1 to + 2i-1 to 0 to 2i. Addition means 10
When the output level exceeds 2i-1, that is, the adding means
When the most significant bit of the output of 10 becomes "1", the output of the output switching means 11 becomes 2i-1 according to the judgment output of the output level judging means 17. At this time, since the gain control voltage Vc supplied from the D / A conversion means 12 to the AGC amplifier 1 becomes maximum, the gain of the AGC amplifier 1 becomes maximum.

【0030】前述した出力レベル判定手段17の判定出
力は出力切換手段14に対しても供給される。また、出力
切換手段14には、正負判定手段13の判定出力も供給され
る。正負判定手段13は、次に積算手段9で積算される値
が正であるか負であるかを、乗算手段6の出力の符号ビ
ットである最上位ビットをもとに判定する。すなわち、
乗算手段6の出力の符号ビットである最上位ビットが
“0”のときには正であると判定し、この最上位ビット
が“1”のときには負であると判定する。従って、AG
Cアンプ1の利得が最大となっても、AGCループの応
答速度によってA/D変換器3のディジタル出力のレベ
ルが大きくなっていない場合には、包絡線検波手段4の
出力レベルが基準値以下となり、誤差aは正の値にな
る。
The judgment output of the output level judgment means 17 is also supplied to the output switching means 14. The output switching means 14 is also supplied with the judgment output of the sign judgment means 13. The positive / negative determining means 13 determines whether the value to be integrated next by the integrating means 9 is positive or negative based on the most significant bit which is the sign bit of the output of the multiplying means 6. That is,
When the most significant bit which is the sign bit of the output of the multiplying means 6 is "0", it is determined to be positive, and when this most significant bit is "1", it is determined to be negative. Therefore, AG
Even if the gain of the C amplifier 1 is maximized, if the digital output level of the A / D converter 3 is not increased due to the response speed of the AGC loop, the output level of the envelope detection means 4 is equal to or lower than the reference value. And the error a becomes a positive value.

【0031】出力切換手段14は、加算手段10の出力レベ
ルが2i-1 を越え、その最上位ビットが“1”であるこ
との判定出力を出力レベル判定手段から受け取り、かつ
次に積算手段9で積算される値が正であることの判定出
力を正負判定手段13から受け取った場合には、出力を乗
算手段6の出力である“a×ε”から“0”へと切り換
える。
The output switching means 14 receives from the output level determining means a determination output indicating that the output level of the adding means 10 exceeds 2i-1 and the most significant bit is "1", When the determination output indicating that the value to be integrated is positive is received from the positive / negative determination means 13, the output is switched from “a × ε”, which is the output of the multiplication means 6, to “0”.

【0032】出力切換手段14の出力は遅延手段16を経て
積算手段9へ入力される。この時、積算手段9へは
“0”が入力されることになるため、積算手段9内で
は、AGCアンプ1の利得が最大となった時点での実際
の積算値が保持されることになる(ただし、前述したと
おり、加算手段10の出力は積算値に2i /2が加算さ
れ、見掛け上、クリップされている)。
The output of the output switching means 14 is input to the integrating means 9 via the delay means 16. At this time, since "0" is input to the integrating means 9, the actual integrated value at the time when the gain of the AGC amplifier 1 becomes maximum is held in the integrating means 9. (However, as described above, the output of the adding means 10 has 2i / 2 added to the integrated value and is apparently clipped).

【0033】次に、利得制御電圧Vcが最大の時から、
AGCアンプ1の入力アナログ信号のレベルが大きくな
った場合、AGC回路は、AGCアンプ1の利得を下げ
る方向、すなわち積算手段9の積算値を下げる方向に動
作する。このとき、減算手段5の入力レベル、すなわち
A/D変換器3のディジタル出力を包絡線検波手段4で
検波した出力は、基準値よりも大きな値になるため、減
算手段6の出力である誤差aは負になる。従って、乗算
手段6の出力も負になるため、正負判定手段13の判定出
力が正の判定から負の判定へと変化する。出力切換手段
14は、この判定出力を受け取ると、出力を“0”から乗
算手段6の出力に切り換える。
Next, from the time when the gain control voltage Vc is the maximum,
When the level of the input analog signal of the AGC amplifier 1 increases, the AGC circuit operates in the direction of decreasing the gain of the AGC amplifier 1, that is, in the direction of decreasing the integrated value of the integrating means 9. At this time, the input level of the subtraction means 5, that is, the output of the digital output of the A / D converter 3 detected by the envelope detection means 4 becomes a value larger than the reference value. a becomes negative. Accordingly, the output of the multiplying means 6 also becomes negative, and the judgment output of the sign judgment means 13 changes from a positive judgment to a negative judgment. Output switching means
When the determination output is received, the switch 14 switches the output from “0” to the output of the multiplication means 6.

【0034】従って、積算手段9には乗算手段6の出力
が入力される。前述したように、この時点で積算手段9
の積算値はAGCアンプ1の利得が最大になった時点で
の積算値である。積算手段9では、入力信号が負の値で
あるため、積算値が下がっていく。積算値が下がり続け
ると、加算手段10の出力も下がり続ける。そして、加算
手段10の出力レベルが2i-1 以下になり、その最上位ビ
ットが“0”となったことが出力レベル判定手段17に
より判定されると、その判定出力により出力切換手段11
の出力が2i-1 から加算手段10の出力の内、最上位ビッ
トを除いた値へと切り換えられる。
Therefore, the output of the multiplying means 6 is input to the integrating means 9. As described above, at this point, the integrating means 9
Is the integrated value at the time when the gain of the AGC amplifier 1 is maximized. In the integrating means 9, since the input signal is a negative value, the integrated value decreases. As the integrated value keeps decreasing, the output of the adding means 10 keeps decreasing. When the output level of the adding means 10 becomes 2i-1 or less and the most significant bit becomes "0" by the output level determining means 17, the output of the output switching means 11 is determined by the determined output.
Is switched from 2i-1 to the value of the output of the adding means 10 excluding the most significant bit.

【0035】このように、本実施の形態によれば、AG
Cアンプ1の利得が最大になった時点では、積算手段9
の出力は見掛け上、クリップされた状態となるが、積算
手段9内ではその時点での積算値が保持されている。そ
して、AGCアンプ1の入力アナログ信号レベルが大き
くなったときには、積算手段9はAGCアンプ1の実際
の入力アナログ信号レベルに対応した積算値から積算を
開始するため、従来例と比較すると、AGCループの応
答に時間的な無駄がなくなり、AGCループの応答速度
を決定する係数ε以外にはAGCループの応答速度を遅
くする要因がなくなる。
As described above, according to the present embodiment, AG
When the gain of the C amplifier 1 reaches the maximum, the integrating means 9
Is output in a clipped state, but the integrated value at that time is held in the integrating means 9. When the input analog signal level of the AGC amplifier 1 increases, the integration means 9 starts integration from the integrated value corresponding to the actual input analog signal level of the AGC amplifier 1. There is no time waste in the response of the AGC loop, and there is no factor that slows the response speed of the AGC loop other than the coefficient ε that determines the response speed of the AGC loop.

【0036】(第2の実施の形態)図2は本発明の第2
の実施の形態のAGC回路を示すブロック図である。こ
の図において、図2に示した第1の実施の形態の部分に
対応する部分には同一の符号が付与されている。図2に
おいて、AGCアンプ1、復調器2、およびA/D変換
器3の構成と作用は、図3に示した従来例と同一であ
る。
(Second Embodiment) FIG. 2 shows a second embodiment of the present invention.
FIG. 3 is a block diagram showing an AGC circuit according to the embodiment. In this figure, the same reference numerals are given to parts corresponding to the parts of the first embodiment shown in FIG. 2, the configuration and operation of the AGC amplifier 1, the demodulator 2, and the A / D converter 3 are the same as those of the conventional example shown in FIG.

【0037】図2において、絶対値検出回路4は、A/
D変換器3のディジタル出力の絶対値を検出することに
より、その包絡線を検波する。減算器5は、絶対値検出
回路4の出力を予め定められたレベルである基準値から
減算し、誤差aを出力する。乗算器6は、誤差aに対し
て、AGC回路のフィードバックループの帯域を決定す
る係数εを乗算する。
In FIG. 2, the absolute value detection circuit 4 has an A /
By detecting the absolute value of the digital output of the D converter 3, the envelope is detected. The subtracter 5 subtracts the output of the absolute value detection circuit 4 from a reference value which is a predetermined level, and outputs an error a. The multiplier 6 multiplies the error a by a coefficient ε that determines the band of the feedback loop of the AGC circuit.

【0038】インバータ13は、乗算器6の出力の最上位
ビットを反転する。アンドゲート14はインバータ13の出
力と後述する加算器10の出力の最上位ビットとの論理和
演算を行なう。セレクタ15はアンドゲート14の出力をも
とに、“0”または乗算器6の出力を選択して出力す
る。
The inverter 13 inverts the most significant bit of the output of the multiplier 6. The AND gate 14 performs a logical OR operation on the output of the inverter 13 and the most significant bit of the output of the adder 10 described later. The selector 15 selects and outputs “0” or the output of the multiplier 6 based on the output of the AND gate 14.

【0039】遅延器16は、後述する積分器9の積分する
タイミングとセレクタ14の出力するタイミングを合わせ
るために設ける。積分器9は、加算器8と、加算器8の
出力を遅延して加算器8に入力する遅延器7とから構成
されており、遅延器7の遅延時間ごとに、遅延器16の出
力である“a×ε”または“0”を積算して行く。
The delay unit 16 is provided to match the integration timing of the integrator 9 described later with the output timing of the selector 14. The integrator 9 includes an adder 8 and a delay unit 7 that delays the output of the adder 8 and inputs the output to the adder 8. For each delay time of the delay unit 7, the output of the delay unit 16 is used. A certain “a × ε” or “0” is integrated.

【0040】ここで、遅延器7の出力をbとし、セレク
タ14の出力を“a×ε”とすると、積分器9の出力は、
b+(a×ε)となる。この値によって後述する加算器
10の出力の最上位ビット(MSB)が“1”となり、セレ
クタ14の出力が“a×ε”から“0”に、遅延器7の遅
延時間内で、すなわち、積分器9が次の積算を行なうま
での時間に、切り換わったとすると、積分器9の出力
は、“b+(a×ε)”から“b”となってしまい、セ
レクタ14の出力を切り換えた時点での積算値とは異なっ
てしまう。これを避けるために、遅延器7と同様の遅延
器16を設け、積分器9の積算するタイミングとセレクタ
14の出力するタイミングを合わせる。
Here, assuming that the output of the delay unit 7 is b and the output of the selector 14 is “a × ε”, the output of the integrator 9 is
b + (a × ε). An adder described later is used for this value.
The most significant bit (MSB) of the output of 10 becomes “1” and the output of the selector 14 changes from “a × ε” to “0” within the delay time of the delay unit 7, that is, the integrator 9 , The output of the integrator 9 changes from “b + (a × ε)” to “b”, and the integrated value when the output of the selector 14 is switched is Will be different. In order to avoid this, a delay device 16 similar to the delay device 7 is provided, and the integration timing of the integrator 9 and the selector
Adjust the output timing of 14.

【0041】遅延器16は、セレクタ15の出力を予め定め
られた時間遅延して、積分器9に与える。積分器9は、
加算器8と、加算器8の出力を遅延して加算器8に入力
する遅延器7とから構成されており、遅延器16の出力で
ある“a×ε”または“0”を積算していく。ここで、
乗算器6のビット数をiビットとすると、加算器8と遅
延器7の各々のビット数をi+1ビットとして、加算器
8のオーバーフローを防止している。従って、積分器9
のビット数はi+1ビットとなり、積分器9の出力は0
を中心に±2i-1の範囲で動作する。加算器10は、積分
器9の出力に2i/2を加算することにより、動作範囲
を−2i-1〜+2i-1から0〜2iに変換する。
The delay unit 16 delays the output of the selector 15 for a predetermined time and supplies the output to the integrator 9. The integrator 9
It comprises an adder 8 and a delay unit 7 for delaying the output of the adder 8 and inputting it to the adder 8. The adder 8 integrates the output of the delay unit 16, that is, “a × ε” or “0”. Go. here,
Assuming that the number of bits of the multiplier 6 is i, the number of bits of each of the adder 8 and the delay 7 is i + 1, thereby preventing overflow of the adder 8. Therefore, the integrator 9
Is i + 1 bits, and the output of the integrator 9 is 0
And operates within a range of ± 2 i-1 . The adder 10 converts the operating range from −2 i−1 to +2 i−1 to 0 to 2 i by adding 2 i / 2 to the output of the integrator 9.

【0042】加算器10の出力はセレクタ11に送られる。
また、加算器10の出力の最上位ビットはセレクタ11およ
びアンドゲート14に送られる。セレクタ11の出力ビット
数はiビットであり、加算器10の出力の最上位ビットが
“0”の場合には加算器10出力の最上位ビットを除いた
残りのビットをそのまま出力し、“1”の場合には出力
ビットをすべて“1”とすることにより、2i-1 を出力
して見掛け上、積分器9の出力をクリップする。D/A
変換器12は、セレクタ11の出力をAGCアンプ1の利得
を制御するための利得制御電圧Vcに変換する。
The output of the adder 10 is sent to the selector 11.
The most significant bit of the output of the adder 10 is sent to the selector 11 and the AND gate 14. The number of output bits of the selector 11 is i bits. When the most significant bit of the output of the adder 10 is “0”, the remaining bits excluding the most significant bit of the output of the adder 10 are output as they are, and “1” is output. In the case of "", all output bits are set to "1" to output 2i-1 and apparently clip the output of the integrator 9. D / A
The converter 12 converts the output of the selector 11 into a gain control voltage Vc for controlling the gain of the AGC amplifier 1.

【0043】次に、図2に示したAGC回路の動作を説
明する。前述したように、積分器9の出力は0を中心に
±2i-1 の範囲で動作する。加算器10は積分器9の出力
に2i /2を加算することにより、動作範囲を−2i-1
〜+2i-1 から0〜2i に変換する。加算器10の出力レ
ベルが2i-1 を越えたとき、すなわち加算器10の出力の
最上位ビットが“1”となったとき、セレクタ11の出力
は2i-1 となる。このとき、D/A変換器12からAGC
アンプ1に供給される利得制御電圧Vcは最大となるた
め、AGCアンプ1の利得は最大となる。
Next, the operation of the AGC circuit shown in FIG. 2 will be described. As described above, the output of the integrator 9 operates in a range of ± 2i-1 with 0 as the center. The adder 10 adds 2i / 2 to the output of the integrator 9 to increase the operating range to -2i-1.
From + 2i-1 to 0-2i. When the output level of the adder 10 exceeds 2i-1, that is, when the most significant bit of the output of the adder 10 becomes "1", the output of the selector 11 becomes 2i-1. At this time, the AGC
Since the gain control voltage Vc supplied to the amplifier 1 becomes the maximum, the gain of the AGC amplifier 1 becomes the maximum.

【0044】加算器10の最上位ビットである“1”はア
ンドゲート14にも供給される。アンドゲート14には、イ
ンバータ13の出力も供給される。インバータ13は、次に
積分器9で積算される値が正であるか負であるかを乗算
器6の符号ビットである最上位ビットによって判定す
る。すなわち、乗算器6の出力が正(最上位ビットが
“0”)のときには、それを反転して“1“を出力し、
乗算器6の出力が負(最上位ビットが“1”)のときに
は、それを反転して“0“を出力する。
The most significant bit "1" of the adder 10 is also supplied to the AND gate 14. The output of the inverter 13 is also supplied to the AND gate 14. The inverter 13 determines whether the value integrated by the integrator 9 is positive or negative, based on the most significant bit, which is the sign bit of the multiplier 6. That is, when the output of the multiplier 6 is positive (the most significant bit is “0”), it is inverted to output “1”,
When the output of the multiplier 6 is negative (the most significant bit is "1"), the output is inverted and "0" is output.

【0045】従って、AGCアンプ1の利得が最大とな
っても、AGCループの応答速度によってA/D変換器
3のディジタル出力のレベルが大きくなっていない場合
には、絶対値検出回路4の出力レベルが基準値以下とな
り、誤差aは正の値になる。この場合、インバータ13の
出力は“1“となる。この結果、アンドゲート14の出力
レベルは“1“となるので、セレクタ15の出力は乗算器
6の出力から“0“へと切り換わる。
Therefore, even if the gain of the AGC amplifier 1 is maximized, if the digital output level of the A / D converter 3 is not increased due to the response speed of the AGC loop, the output of the absolute value detection circuit 4 The level falls below the reference value, and the error a becomes a positive value. In this case, the output of the inverter 13 becomes "1". As a result, the output level of the AND gate 14 becomes "1", so that the output of the selector 15 switches from the output of the multiplier 6 to "0".

【0046】セレクタ15の出力は遅延器16を経て積分器
9へ入力される。この時、積分器9へは“0”が入力さ
れることになるため、積分器9内では、AGCアンプ1
の利得が最大となった時点での実際の積算値が保持され
ることになる(ただし、前述したとおり、加算器10の出
力は積算値に2i /2が加算され、見掛け上、クリップ
されている)。
The output of the selector 15 is input to the integrator 9 via the delay unit 16. At this time, since “0” is input to the integrator 9, the AGC amplifier 1
The actual integrated value at the time when the gain becomes maximum is held (however, as described above, the output of the adder 10 is added with 2i / 2 to the integrated value and apparently clipped. There).

【0047】次に、利得制御電圧Vcが最大の時から、
AGCアンプ1の入力アナログ信号のレベルが大きくな
った場合、AGC回路は、AGCアンプ1の利得を下げ
る方向、すなわち積分器9の積算値を下げる方向に動作
する。このとき、減算器5の入力レベル、すなわちA/
D変換器3のディジタル出力を絶対値検波回路4で検波
した出力は、基準値よりも大きな値になるため、減算器
6の出力である誤差aは負になる。従って、乗算器6の
出力も負になるため、インバータ13の判定出力が“1
“から“0“へと変化する。これによって、アンドゲー
ト14の出力レベルは“1“から“0“へと変化するた
め、セレクタ15の出力が“0”から乗算器6の出力へと
切り換わる。
Next, from the time when the gain control voltage Vc is the maximum,
When the level of the input analog signal of the AGC amplifier 1 increases, the AGC circuit operates in the direction of decreasing the gain of the AGC amplifier 1, that is, in the direction of decreasing the integrated value of the integrator 9. At this time, the input level of the subtractor 5, that is, A /
Since the digital output of the D converter 3 detected by the absolute value detection circuit 4 is larger than the reference value, the error a output from the subtractor 6 becomes negative. Therefore, since the output of the multiplier 6 also becomes negative, the judgment output of the inverter 13 becomes “1”.
From "1" to "0". Since the output level of the AND gate 14 changes from "1" to "0", the output of the selector 15 is switched from "0" to the output of the multiplier 6. Be replaced.

【0048】従って、積分器9には乗算器6の出力が入
力される。前述したように、この時点で積分器9の積算
値はAGCアンプ1の利得が最大になった時点での積算
値である。積分器9では、入力信号が負の値であるた
め、積算値が下がっていく。積算値が下がり続けると、
加算器10の出力も下がり続ける。そして、、その出力レ
ベルが2i-1 以下になり、その最上位ビットが“0”に
なると、セレクタ11の出力は2i-1 から加算器10の出力
の内、最上位ビットを除いた値へと切り換わる。
Therefore, the output of the multiplier 6 is input to the integrator 9. As described above, the integrated value of the integrator 9 at this time is the integrated value at the time when the gain of the AGC amplifier 1 is maximized. In the integrator 9, since the input signal has a negative value, the integrated value decreases. If the integrated value keeps falling,
The output of the adder 10 also keeps decreasing. When the output level becomes 2i-1 or less and the most significant bit becomes "0", the output of the selector 11 changes from 2i-1 to the value of the output of the adder 10 excluding the most significant bit. It switches to.

【0049】このように、本実施の形態によれば、AG
Cアンプ1の利得が最大になった時点では、積分器9の
出力は見掛け上、クリップされた状態となるが、積分器
9内ではその時点での積算値が保持されている。そし
て、AGCアンプ1の入力アナログ信号レベルが大きく
なったときには、積分器9はAGCアンプ1の実際の入
力アナログ信号レベルに対応した積算値から積算を開始
するため、従来例と比較すると、AGCループの応答に
時間的な無駄がなくなり、AGCループの応答速度を決
定する係数ε以外にはAGCループの応答速度を遅くす
る要因がなくなる。また、図3に示した従来例の回路
に、インバータ13、アンドゲート14、セレクタ15、およ
び遅延器16を追加するだけの簡単な構成でAGC回路を
実現することができる。
As described above, according to the present embodiment, AG
When the gain of the C amplifier 1 is maximized, the output of the integrator 9 is apparently clipped, but the integrated value at that point is held in the integrator 9. When the input analog signal level of the AGC amplifier 1 increases, the integrator 9 starts integration from the integrated value corresponding to the actual input analog signal level of the AGC amplifier 1, so that the AGC loop is compared with the conventional example. There is no time waste in the response of the AGC loop, and there is no factor that slows the response speed of the AGC loop other than the coefficient ε that determines the response speed of the AGC loop. Further, an AGC circuit can be realized with a simple configuration in which an inverter 13, an AND gate 14, a selector 15, and a delay unit 16 are added to the circuit of the conventional example shown in FIG.

【0050】[0050]

【発明の効果】以上詳細に説明したように、本発明に係
るAGC回路およびその利得制御方法によれば、積算手
段の出力信号レベルが、予め定められたレベルに達して
いると判定したときに積算手段の出力をクリップし、積
算手段の出力信号レベルが予め定められたレベルに達し
ていると判定し、かつ、乗算手段の出力信号が正である
と判定しているときに、積算手段の積算値を保持するよ
うに構成したので、AGCアンプの入力アナログ信号レ
ベルが大きくなったときには、積算手段はAGCアンプ
の実際の入力アナログ信号レベルに対応した積算値から
積算を開始する。このため、AGCループの応答に時間
的な無駄がなくなり、高速な動作が可能となる。
As described above in detail, according to the AGC circuit and the gain control method of the present invention, when it is determined that the output signal level of the integrating means has reached a predetermined level. Clipping the output of the integrating means, determining that the output signal level of the integrating means has reached a predetermined level, and determining that the output signal of the multiplying means is positive, Since the integrated value is held, when the input analog signal level of the AGC amplifier increases, the integrating means starts the integration from the integrated value corresponding to the actual input analog signal level of the AGC amplifier. Therefore, the response of the AGC loop is not wasted in time, and high-speed operation is possible.

【0051】また、本発明に係るAGC回路は、従来の
AGC回路に簡単な論理回路を追加するだけで、ハード
ウェアの規模を大きくすることなく実現できる。
The AGC circuit according to the present invention can be realized without increasing the scale of hardware by simply adding a simple logic circuit to the conventional AGC circuit.

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

【図1】本発明の第1の実施の形態のAGC回路のブロ
ック図、
FIG. 1 is a block diagram of an AGC circuit according to a first embodiment of the present invention;

【図2】本発明の第2の実施の形態のAGC回路のブロ
ック図、
FIG. 2 is a block diagram of an AGC circuit according to a second embodiment of the present invention;

【図3】従来のAGC回路のブロック図である。FIG. 3 is a block diagram of a conventional AGC circuit.

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

1 AGCアンプ 2 復調器 3 A/D変換器 4 包絡線検波手段、絶対値検出回路 5 減算手段、減算器 6 乗算手段、乗算器 7 遅延手段、遅延器 8 加算手段、加算器 9 積算手段、積分器 10 加算手段、加算器 11 出力切換手段、セレクタ 12 D/A変換手段、D/A変換器 13 正負判定手段、インバータ 14 出力切換手段、アンドゲート 15 セレクタ 16 遅延手段、遅延器 DESCRIPTION OF SYMBOLS 1 AGC amplifier 2 Demodulator 3 A / D converter 4 Envelope detection means, absolute value detection circuit 5 Subtraction means, subtracter 6 Multiplication means, multiplier 7 Delay means, delay device 8 Addition means, adder 9 Integration means, Integrator 10 Adder, Adder 11 Output switch, Selector 12 D / A converter, D / A converter 13 Positive / negative determiner, Inverter 14 Output switch, AND gate 15 Selector 16 Delayer, Delayer

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 入力アナログ信号に対する出力信号レベ
ルが一定になるように利得が制御されるAGCアンプ
と、前記AGCアンプの出力信号を復調する復調器と、
前記復調器の出力をディジタル化するA/D変換器と、
前記A/D変換器の出力の包絡線を検波する包絡線検波
手段と、前記包絡線検波手段の検波出力と基準値との誤
差を算出する誤差算出手段と、前記誤差に応答速度を定
める係数を乗算する乗算手段と、前記乗算手段の出力を
積算する積算手段と、前記積算手段の出力から前記AG
Cアンプの利得制御電圧を発生する制御電圧発生手段と
を備えたAGC回路において、 前記積算手段の出力信号レベルが予め定められたレベル
に達しているか否かを判定する出力レベル判定手段と、
前記乗算手段の出力信号の正負を判定する正負判定手段
と、前記積算手段の出力信号レベルが予め定められたレ
ベルに達していると前記出力レベル判定手段が判定した
ときに前記積算手段の出力をクリップするクリップ手段
と、前記積算手段の出力信号レベルが予め定められたレ
ベルに達していると前記出力レベル判定手段が判定し、
かつ前記乗算手段の出力信号が正であると前記正負判定
手段が判定しているときに、前記積算手段の積算値を保
持する保持手段とを有することを特徴とするAGC回
路。
An AGC amplifier whose gain is controlled so that an output signal level with respect to an input analog signal is constant, a demodulator for demodulating an output signal of the AGC amplifier,
An A / D converter for digitizing an output of the demodulator;
Envelope detection means for detecting an envelope of the output of the A / D converter; error calculation means for calculating an error between a detection output of the envelope detection means and a reference value; and a coefficient for determining a response speed for the error Multiplying means, a multiplying means for multiplying the output of the multiplying means, and the AG from the output of the multiplying means.
An AGC circuit comprising control voltage generating means for generating a gain control voltage for a C amplifier, wherein: an output level determining means for determining whether an output signal level of the integrating means has reached a predetermined level;
Positive / negative determining means for determining whether the output signal of the multiplying means is positive or negative, and outputting the output of the integrating means when the output level determining means determines that the output signal level of the integrating means has reached a predetermined level. Clipping means for clipping, the output level determining means determines that the output signal level of the integrating means has reached a predetermined level,
And an holding means for holding the integrated value of the integrating means when the positive / negative determining means determines that the output signal of the multiplying means is positive.
【請求項2】 前記保持手段は、前記積算手段に入力す
る信号を前記乗算手段の出力から“0”に切り換えるこ
とにより、前記積算手段の積算値を保持するものである
請求項1に記載のAGC回路。
2. The apparatus according to claim 1, wherein said holding means holds an integrated value of said integrating means by switching a signal input to said integrating means from an output of said multiplying means to "0". AGC circuit.
【請求項3】 前記正負判定手段は、前記乗算手段の出
力の符号ビットを反転するインバータにより構成されて
いる請求項1に記載のAGC回路。
3. The AGC circuit according to claim 1, wherein said positive / negative judging means comprises an inverter for inverting a sign bit of an output of said multiplying means.
【請求項4】 入力アナログ信号に対する出力信号レベ
ルが一定になるように利得が制御されるAGCアンプ
と、前記AGCアンプの出力信号を復調する復調器と、
前記復調器の出力をディジタル化するA/D変換器と、
前記A/D変換器の出力の包絡線を検波する包絡線検波
手段と、前記包絡線検波手段の検波出力と基準値との誤
差を算出する誤差算出手段と、前記誤差に応答速度を定
める係数を乗算する乗算手段と、前記乗算手段の出力を
積算する積算手段と、前記積算手段の出力から前記AG
Cアンプの利得制御電圧を発生する制御電圧発生手段と
を備えたAGC回路において、 前記積算手段の出力信号レベルが予め定められたレベル
に達しているか否かを判定すると共に、前記乗算手段の
出力信号の正負を判定し、前記予め定められたレベルに
達していると判定したときに前記積算手段の出力をクリ
ップし、前記予め定められたレベルに達していると判定
し、かつ前記乗算手段の出力信号が正であると判定して
いるときに、前記積算手段の積算値を保持することを特
徴とするAGC回路の利得制御方法。
4. An AGC amplifier whose gain is controlled so that an output signal level with respect to an input analog signal is constant, and a demodulator for demodulating an output signal of the AGC amplifier.
An A / D converter for digitizing an output of the demodulator;
Envelope detection means for detecting an envelope of the output of the A / D converter; error calculation means for calculating an error between a detection output of the envelope detection means and a reference value; and a coefficient for determining a response speed for the error Multiplying means, a multiplying means for multiplying the output of the multiplying means, and the AG from the output of the multiplying means.
An AGC circuit comprising: a control voltage generating means for generating a gain control voltage for a C amplifier; determining whether an output signal level of the integrating means has reached a predetermined level, The sign of the signal is determined, and when it is determined that the signal has reached the predetermined level, the output of the integrating means is clipped, it is determined that the signal has reached the predetermined level, and A gain control method for an AGC circuit, wherein the integrated value of the integrating means is held when it is determined that the output signal is positive.
【請求項5】 請求項1記載のAGC回路を用いた携帯
端末装置。
5. A portable terminal device using the AGC circuit according to claim 1.
JP10229950A 1998-08-03 1998-08-03 Agc circuit, gain control method therefor and portable terminal equipment Pending JP2000059159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10229950A JP2000059159A (en) 1998-08-03 1998-08-03 Agc circuit, gain control method therefor and portable terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10229950A JP2000059159A (en) 1998-08-03 1998-08-03 Agc circuit, gain control method therefor and portable terminal equipment

Publications (1)

Publication Number Publication Date
JP2000059159A true JP2000059159A (en) 2000-02-25

Family

ID=16900263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10229950A Pending JP2000059159A (en) 1998-08-03 1998-08-03 Agc circuit, gain control method therefor and portable terminal equipment

Country Status (1)

Country Link
JP (1) JP2000059159A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014093892A (en) * 2012-11-06 2014-05-19 Fuji Electric Co Ltd Driving device for voltage drive type semiconductor element
CN115102612A (en) * 2022-08-29 2022-09-23 成都星联芯通科技有限公司 Gain control method and device, gain controller and signal receiving end

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014093892A (en) * 2012-11-06 2014-05-19 Fuji Electric Co Ltd Driving device for voltage drive type semiconductor element
CN115102612A (en) * 2022-08-29 2022-09-23 成都星联芯通科技有限公司 Gain control method and device, gain controller and signal receiving end

Similar Documents

Publication Publication Date Title
US7386285B2 (en) Automatic gain control adaptive for plural modulation schemes
US5760629A (en) DC offset compensation device
JP4834806B2 (en) Method and apparatus for dynamic gain and phase compensation
JPH1084237A (en) Method and system for controlling receiving automatic gain
JPH1117561A (en) Transmission amplifier control circuit
WO2001073945A1 (en) Gain control device
JPH1065470A (en) Automatic gain control circuit
US6754256B1 (en) Searcher for CDMA receiver apparatus
US7460623B1 (en) Digital two-stage automatic gain control
JP2000059159A (en) Agc circuit, gain control method therefor and portable terminal equipment
US20050077959A1 (en) Gain control circuit
JPH09107288A (en) Adjusting circuit and method of a/d converter reference level for maintaining optimum dynamic range of a/d converter
JP2006197654A (en) Agc method, and agc circuit
JP4171191B2 (en) AGC control method and AGC circuit
JPH09247113A (en) Tdma data receiver
JPH08181554A (en) Digital radio communication equipment provided with automatic gain control circuit
JPH11177358A (en) Agc circuit
JP2003152479A (en) Automatic gain controller, receiver, and method for controlling gain
JP2003198292A (en) Automatic gain controller and gain control method
JP2001339321A (en) Agc circuit
JP4067361B2 (en) Gain control circuit and gain control method
KR0168969B1 (en) Agc adjusting device of wireless frequency signal
KR100552670B1 (en) Apparatus and Method for Controlling Automatic Gain in Wireless Telecommunication System
JPH0832383A (en) Automatic gain controller
JPH07221643A (en) Analog/digital converter and portable communication terminal equipment using the same