Summary of the invention
Purpose of the present invention solves the aforementioned problems in the prior exactly, proposes a kind of automatic gain control circuit that is used for receiving end of power-line carrier communication system, and existing big input voltage range has the gain reduction function again.
For this reason, the automatic gain control circuit that is used for receiving end of power-line carrier communication system of the present invention comprises: two differential input ends, two difference output end and gain stage, described gain stage comprises at least two gain amplifiers, each gain amplifier is the input of both-end difference and the both-end difference output amplifier of Gain Adjustable, wherein partial difference input anode links to each other with first order difference output plus terminal, and partial difference input negative terminal links to each other with first order difference output negative terminal; The difference input anode of each gain amplifier links to each other with the difference output plus terminal with anode gain-adjusted resistance by anode input biasing resistor successively, and the difference input negative terminal of each gain amplifier links to each other with difference output negative terminal with negative terminal gain-adjusted resistance by negative terminal input biasing resistor successively; Each gain amplifier also comprises common mode feedback circuit, amplifier biasing circuit, and common mode feedback circuit detects the common mode electrical level of difference output end, and same reference voltage is relatively sent error back to the amplifier biasing circuit.
Preferably, described common mode feedback circuit comprises anode feedback resistance, negative terminal feedback resistance, comparator circuit and controllable current source, anode feedback resistance, negative terminal feedback resistance detect the common mode electrical level of output, the common mode electrical level and the reference voltage that detect are compared, control the electric current of controllable current source by the comparative result error, the common mode electrical level of output is stabilized in reference voltage.
Preferably, described controllable current source comprises the 4th switching tube that the 3rd switching tube that fixed current is flowed through and variable current are flowed through, and the 3rd switching tube links to each other with fixed bias voltage, and the 4th switching tube links to each other with error signal; The 3rd switching tube and the 4th switching tube parallel connection.
Preferably, described amplifier biasing circuit comprises the 3rd fixed power source source, the 5th switching tube, the 3rd fixed power source source one termination power, and a termination the 5th switching tube anode, the 5th switching tube negativing ending grounding, control end are the fixed bias voltage output; The 5th switching tube and the 3rd switching tube form current-mirror structure.
Preferably, each gain amplifier adopts identical circuit structure and parameter.
Preferably, in each gain amplifier, anode input biasing resistor and negative terminal input biasing resistor resistance equate that anode gain-adjusted resistance and negative terminal gain-adjusted resistance are synchronous.
Owing to adopted such scheme, two difference inputs, two difference output amplifier, input anode and its gain of linear regulation separately separately of input negative terminal realize that gain can just can bear, and promptly scalablely also can decay; Meanwhile, then its biasing circuit is controlled between the positive and negative terminal, made the common mode electrical level between the positive-negative output end constant, thereby guarantee can not regulate the signal imbalance that is caused separately separately because of positive and negative terminal by common mode feedback circuit.By this, the present invention has realized the automatic gain control circuit that can decay.
By multi-stage superimposed, the present invention makes input voltage range and the optional scope of gain all obtain enlarging.
Embodiment
Embodiment one:
Shown in Fig. 2 a-5, the gain principle that the automatic gain control circuit of present embodiment adopts the common-mode voltage feedback principle and adopts the ratio between the resistance to come control circuit, existing big input voltage range, have the gain reduction function again, the single ended input voltage scope is from 0.15V~3.15V, basically reach supply voltage (3.3V) and ground (0V), provide-17.6dB ,-11.8dB ,-5.9dB gain reduction.
As Fig. 2 a, FEINP, FEINN are the input signal of automatic gain control circuit AGC, and FEOUTP, FEOUTN are the output signal of automatic gain control circuit AGC, so this AGC is the dual input dual output.Resistance R P, RN are the direct voltage of VREF by RP, RN for input signal FEINP, FEINN provide voltage.The design adopts two-stage gain stage structure, the gain of first order gain stage is-11.7dB ,-5.9dB, 0dB ,+5.9dB ,+11.8dB ,+17.7dB ,+23.4dB ,+28.8dB, the gain of second level gain stage is-5.9dB, 0dB ,+5.9dB ,+11.8dB ,+17.7dB ,+23.4dB ,+28.8dB.Select by the different gains between the two-stage gain stage, obtain minimum-17.6dB, the gain multiple of maximum+57.6dB.
As Fig. 2 b, be depicted as the electrical block diagram of AGC.R11, R12, R13, R14, R21, R22, R23, R24 are resistance among the figure, change the gain of AGC by the resistance of regulating R13, R14, R23, R24.Two AMP are the amplifying circuit module.Present embodiment is that the two-stage amplification mode (but the invention is not restricted to two-stage, can adopt multistage), two AMP modules all adopt the both-end difference input (INP, INN) of Gain Adjustable and both-end difference to export OUTP, OUN amplifier, wherein partial difference input anode links to each other with first order difference output plus terminal, and partial difference input negative terminal links to each other with first order difference output negative terminal.The difference input anode INP of each gain amplifier AMP links to each other with difference output plus terminal OUTP with anode gain-adjusted resistance R 13, R23 by anode input biasing resistor R11, R21 successively, and the difference input negative terminal INN of each gain amplifier AMP links to each other with difference output negative terminal OUTN with negative terminal gain-adjusted resistance R 14, R24 by negative terminal input biasing resistor R12, R22 successively.
Shown in Fig. 2 c, the amplifier circuit of gain stage adopts the common-mode voltage feedback arrangement, the common mode electrical level of common mode feedback circuit by the resistance detection difference output end, same reference voltage VREF are relatively sent error VERR back in the amplifier biasing circuit controllable current source IO.Metal-oxide-semiconductor M1, M2 are the differential input stage circuit; I1, I2 are constant current source, and I0 is a controllable current source.
Fig. 3 is with Fig. 2 a, 2b, 2c makes up an embodiment who obtains after the also refinement, wherein there is explanation in the source of fixed bias voltage VBN in Fig. 5, wherein the common-mode voltage feedback arrangement is in the AMP of circuit module, by resistance R 1, R2, comparator circuit, current source I0 forms, resistance R 1, R2 detects the common mode electrical level of output, the common mode electrical level and the reference voltage VREF that detect are compared, come the electric current of Control current source I0 by comparative result error VERR, the common mode electrical level of output is stabilized in VREF, that is: the output with the AMP modular circuit (is ON and the OP among Fig. 3, FEOUTP and FEOUTN) common mode electrical level be stabilized in VREF.Among Fig. 3, because two AMP modules identical (but the present invention is not limited to two identical situations of AMP module) so wherein used circuit element symbol adopts same numbering, do not influence explanation and understand.
As shown in Figure 4, send error VERR back to the amplifier biasing circuit, it is current source I0 part, I0 is made up of two parts electric current, two parts parallel connection: a part is fixing electric current, another part is variable electric current: the M3's that flows through among Fig. 4 is fixed current part (VBN is a fixed bias voltage), and the M4's that flows through is variable current part (VERR is the comparative result of " common mode electrical level of detection and reference voltage VREF compare ").
Figure 5 shows that a kind of source embodiment of fixed bias voltage VBN, but it is not limited to this a kind of execution mode.The 3rd fixed power source source I3 one termination power, a termination the 5th switching tube M5 anode, the 5th switching tube M5 negativing ending grounding, control end are fixed bias voltage VBN output; The 5th switching tube M5 and the 3rd switching tube form current-mirror structure.
This circuit of proof can be realized gain reduction below by deriving.
First order gain stage X1 node,
First order gain stage Y1 node,
ON-OP=-A again
V(X1-Y1); Suppose R11=R12, R13=R14;
Obtain
In like manner, second level gain stage X2 node,
Second level gain stage Y2 node,
FEOUTP-FEOUTN=-A again
V(X2-Y2); Suppose R21=R22, R23=R24;
Obtain
By (1), (2) formula, obtain
FEOUTP-FEOUTN is difference output, and FEINP-FEINN is the difference input,
Gain for AGC.
After obtaining this gain expressions, can illustrate very clearly that promptly the present invention can realize gain reduction.It is seen for convenient calculating, supposes R11=R12, R13=R14, R21=R22, R23=R24; (this hypothesis does not influence generality, even also suppose like this, can obtain negative gain too, i.e. gain reduction)
The gain of first order gain stage:
So,
When
The time, the gain that circuit simulation obtains is about-11.7dB ,-5.9dB, 0dB ,+5.9dB ,+11.8dB ,+17.7dB ,+23.4dB ,+28.8dB
In like manner, the gain of second level gain stage:
So,
When
1,2,4,8,16,32 o'clock, the gain that circuit simulation obtains is about-5.9dB, 0dB ,+5.9dB ,+11.8dB ,+17.7dB ,+23.4dB ,+28.8dB
The gain of AGC:
So, when
The time,
With 8 times of outputs of differential input signal decay (be about-17.6dB);
When
The time,
With 4 times of outputs of differential input signal decay (be about-11.8dB);
When
The time,
With 2 times of outputs of differential input signal decay (be about-5.9dB).
A in the formula in the top derivation
VThe open-loop gain of expression AMP modular circuit.
For first order gain stage:
In this circuit, design
And design A
V〉=1000, therefore,
Be far smaller than R11,
So following formula is approximately:
In like manner, for second level gain stage:
Design
And design A
V〉=1000, therefore,
Be far smaller than R21,
So following formula is approximately:
Because in first order gain stage and second level gain stage, we have adopted same AMP modular circuit, so, in two-stage gain stage formula, used same A
VThe open-loop gain of expression AMP modular circuit, A
VThe expression formula at place
With
In derivation of equation process, ignored by approximate.In the two-stage gain stage, we also can adopt different A
VThe AMP modular circuit, the result is the same.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.