A kind of numerical model analysis automatic gain control amplifier
Technical field
The present invention relates to a kind of designs of integrated circuit, and in particular to a kind of automatic gain control amplifier.
Background technique
Automatic growth control (Automatic Gain Control, AGC) amplifier is to change model in input signal amplitude
Enclose it is very big in the case where, output signal amplitude is locked within the scope of one of a setting level or very little, thus after being
The circuit module of grade provides a stable, optimal input, is applied in the receiver of wireless communication system, to fight
Fade-out in radio wave transmissions guarantees that receiver has biggish range of receiving, while having the lower bit error rate.In addition,
AGC amplifier is also widely used in the systems such as wire communication, hard disk reading, radar, laser.
AGC amplifier in the prior art can be divided into simulation automatic gain control amplifier and number from implementation
Automatic gain control amplifier, continuously adjusting for gain can be realized by simulating automatic gain amplifier, generally use negative feedback control,
Need to consider loop stability problem, it is desirable that variable gain amplifier has exponential gain characteristic, and the linearity is poor.It is digital automatic
Gain amplifier uses Digital Signals gain, and discrete gain adjusting may be implemented, it is a major advantage that the linearity is good, by
Then switch control can accomplish that gain and anticipated deviation are small in taken state.Still yet another advantage is that convenient for digital control,
With the digital development trend of integrated circuit, convenient for integrated with digital circuit.But it due to being the gain of discretization, to do
Biggish circuit cost is needed to fine gain control.
Summary of the invention
The present invention, for current research hot spot, provides a kind of numerical model analysis automatic growth control amplification in the prior art
Device realizes biggish gain control range and Medium-bandwidth, together sufficiently in conjunction with the advantages of two kinds of AGC amplifier implementations
When have faster settling time.
In order to solve the above-mentioned technical problem, a kind of numerical model analysis automatic gain control amplifier proposed by the present invention, including
Two-stage variable gain unit and gain control circuit module, the two-stage variable gain unit include the programmable increasing of the first order
The variable gain amplifier of beneficial amplifier and the second level;It is constituted by the programmable gain amplifier and its gain control circuit
One digital resources obtainment device constitutes a simulation automatic gain by the variable gain amplifier and its gain control circuit
Controller;The digital resources obtainment device is made of programmable gain amplifier, the first peak detection circuit and comparator;
The comparator includes the first hysteresis comparator C1 and the second hysteresis comparator C2;The input of the digital resources obtainment device
Signal Vin connects the input of the programmable gain amplifier and the input of first peak detection circuit simultaneously, and described the
One peak detection circuit detects the peak value of input signal, and the peak signal of input signal is input to the first hysteresis comparator C1 simultaneously
The first reference level Vref 1, institute are terminated with the negative input of the positive input terminal of the second hysteresis comparator C2, the first hysteresis comparator C1
The negative input for stating the second hysteresis comparator C2 terminates the second reference level Vref 2;The peak signal of input signal is slow by first
Stagnant comparator C1 is compared compared with the first reference level Vref 1 by the second hysteresis comparator C2 and the second reference level Vref 2
Compared with by the first hysteresis comparator C1 generation control signal D0, control signal D is generated by the second hysteresis comparator C21, the control
Signal D0With control signal D1For controlling the gain of the programmable gain amplifier;The simulation automatic gain controller by
Variable gain amplifier, the second peak detection circuit, error amplifier, loop filter and DC maladjustment eliminate circuit composition;
The DC maladjustment eliminates the offset that circuit is used to eliminate DC component in signal;The input of the simulation automatic gain controller
It is connected with the output of the digital resources obtainment device, is input to the signal of the simulation automatic gain controller by number
After automatic gain controller pre-amplification, the thin tuning of gain is carried out by the simulation automatic gain controller;The variable increasing
The output signal of beneficial amplifier is input to the DC maladjustment and eliminates circuit, and the output signal that the DC maladjustment eliminates circuit is made
For the simulation automatic gain controller output signal Vout;The simulation automatic gain controller uses feedback control,
Realize fine gain adjustment;The peak of the simulation automatic gain controller output signal Vout is detected by the second peak detection circuit
Value, the output signal of second peak detection circuit are input to the negative input end of the error amplifier, external reference level
VREFAs the positive input terminal signal of the error amplifier, the error amplifier is defeated by the simulation automatic gain controller
The peak value of signal Vout and external reference level V outREFDifference amplification after obtain direct current by the loop filter and increase
Benefit control level VC, level V is controlled by DC current gainCThe gain for changing the variable gain amplifier keeps the simulation automatic
The peak steady of gain controller output signal Vout is in reference level VREFNear.
Compared with prior art, a kind of beneficial effect of numerical model analysis automatic gain control amplifier provided by the invention is such as
Under:
(1) using number, the AGC cascade of two kinds of implementations of simulation, large range of gain control is realized, wherein first
Grade increases gain control range for digital AGC for carrying out course gain adjustment, is significantly simplified to original traditional structure,
Analog-digital converter and digital control unit are eliminated, it is only adjustable with two 3 grades of gain of comparators realizations, reduce circuit design
Complexity.
(2) simulation AGC in the second level realizes the thin tuning of gain, and the gain adjustment fineness for compensating for digital AGC is not high
Disadvantage.
(3) gain adjustment Jing Guo the first and second two-stages realizes automatic gain control function, by output signal Vout's
Amplitude is locked in a setting level VREFOr within the scope of one of very little.
Detailed description of the invention
Fig. 1 is the AGC amplifier integrated stand composition of the numerical model analysis control in the present invention;
Fig. 2 is the digital control AGC particular circuit configurations figure in the present invention.
Specific embodiment
Technical solution of the present invention is described in further detail in the following with reference to the drawings and specific embodiments, it is described specific
Embodiment is only explained the present invention, is not intended to limit the invention.
As shown in Figure 1, a kind of numerical model analysis automatic gain control amplifier proposed by the present invention, including two-stage variable gain
Two-stage variable gain unit described in unit and gain control circuit module includes the programmable gain amplifier and of the first order
The variable gain amplifier of second level;The automatic increasing of one number is constituted by the programmable gain amplifier and its gain control circuit
Beneficial controller constitutes a simulation automatic gain controller by the variable gain amplifier and its gain control circuit.
The digital resources obtainment device by programmable gain amplifier (Programmable Gain Amplifier,
PGA), the first peak detection circuit Peak Detector1 and comparator Comparator composition;The digital Auto Gain control
The particular circuit configurations of device processed, as shown in Fig. 2, the comparator Comparator includes the first hysteresis comparator C1 and second slow
The input signal Vin of stagnant comparator C2, the digital resources obtainment device connect the programmable gain amplifier simultaneously
The input of input and first peak detection circuit, the peak value of the first peak detection circuit detection input signal, input
The peak signal of signal is input to the positive input terminal of the first hysteresis comparator C1 and the second hysteresis comparator C2 simultaneously, and first is sluggish
The negative input of comparator C1 terminates the first reference level Vref 1, the second ginseng of negative input termination of the second hysteresis comparator C2
Examine level Vref2;The peak signal of input signal compared with the first reference level Vref 1, is led to by the first hysteresis comparator C1
The second hysteresis comparator C2 is crossed compared with the second reference level Vref 2, control signal D is generated by the first hysteresis comparator C10, by
Second hysteresis comparator C2 generates control signal D1, the control signal D0With control signal D1For controlling the programmable increasing
The gain of beneficial amplifier.Such as to realize the gain control range of -20-60dB, the digital Auto Gain control of the first order in the present invention
Device processed can design realization 0,20dB, 40dB third gear gain.
The simulation automatic gain controller include variable gain amplifier (Variable Gain Amplifier,
VGA), the second peak detection circuit Peak Detector2, error amplifier (Error Amplifier, EA), loop filter
Loop Filter, in addition, since there are DC maladjustment phenomenons for variable gain amplifier, by the amplification of tens dB, in output end
A very big DC offset voltage can be generated, therefore, the output end in the present invention in the variable gain amplifier is connected with
DC maladjustment eliminates circuit (DC Offset Cancellation, DCOC), and the DC maladjustment being added in system is eliminated circuit and used
To eliminate the offset of DC component in signal.
As shown in Figure 1, the input and the output of the digital resources obtainment device of the simulation automatic gain controller
It is connected, the signal for being input to the simulation automatic gain controller passes through after digital resources obtainment device pre-amplification, by institute
State the thin tuning that simulation automatic gain controller carries out gain;The output signal of the variable gain amplifier is input to described straight
Offset cancellation circuit is flowed, the output signal that the DC maladjustment eliminates circuit is exported as the simulation automatic gain controller to be believed
Number Vout;The simulation automatic gain controller uses feedback control, realizes fine gain adjustment, while in the design will basis
The gain step size of digital resources obtainment device reserves certain gain margin, therefore, the second level design gain ranging be-
23-23dB, this grade detect the peak value of the simulation automatic gain controller output signal Vout by the second peak detection circuit,
The output signal of second peak detection circuit is input to the negative input end of the error amplifier, external reference level VREF
As the positive input terminal signal of the error amplifier, the error amplifier, which exports the simulation automatic gain controller, to be believed
The peak value and external reference level V of number VoutREFDifference amplification after by the loop filter obtain a DC current gain control
Level V processedC, level V is controlled by DC current gainCThe gain for changing the variable gain amplifier makes the simulation automatic gain
The peak steady of controller output signal Vout is in reference level VREFNear.
Gain adjustment in the present invention Jing Guo two-stage realizes automatic gain control function, by output signal (the i.e. described simulation
Automatic gain controller output signal Vout) amplitude be locked in a setting level VREFOr within the scope of one of very little.
Although above in conjunction with attached drawing, invention has been described, and the invention is not limited to above-mentioned specific implementations
Mode, the above mentioned embodiment is only schematical, rather than restrictive, and those skilled in the art are at this
Under the enlightenment of invention, without deviating from the spirit of the invention, many variations can also be made, these belong to of the invention
Within protection.