The most difficult part of AGC circuit design is how to obtain accurate AGC control voltage. The circuit in the figure above uses two transistors and capacitor C to form an AGC control voltage generation circuit. Its working principle is as follows:
The control voltage of AD603 is the difference between the potential of pin 1 and the potential of pin 2. When it changes between -0.5V and +0.5V , the gain changes from the minimum value to the maximum value, that is, the range of the control voltage is 1V . The potential of pin 2 is fixed at 1V by the resistor divider , and the potential of pin 1 is the voltage on capacitor C , so the control voltage range on capacitor C is 0.5V~1.5V .
Transistor Q1 forms a constant current source to charge capacitor C. If there is no Q2 , the voltage on capacitor C will eventually reach more than +2V . When the negative voltage peak of the amplifier output is lower than -0.7V ( Q2 's emitter junction voltage drop), Q2 will be turned on, capacitor C will discharge through Q2 , and the voltage will drop. When the discharge current flowing through Q2 is balanced with the charging current flowing through Q1 , the voltage on capacitor C determines the gain of the amplifier. Since the charging current of Q1 is constant, the discharge current after reaching balance is basically unchanged, that is, the output voltage of the amplifier is basically unchanged, achieving the purpose of AGC .
To calculate the output voltage, we need to calculate the capacitor charging current and discharging current when the capacitor reaches equilibrium. For the circuit in the figure above, the charging current flowing through Q1 is
Where 2 is the voltage difference between the power supply +5V and the base of Q1 , and 0.7 is the voltage drop across the emitter junction of the transistor .
However, the discharge current flowing through Q2 is a pulse waveform with periodic amplitude changes, which is not easy to calculate accurately. Assuming the output voltage peak value is V p , an approximate result is
其中
By making the above two currents equal, we can get the peak value Vp of the output voltage . However , this is a transcendental equation and cannot be solved. We can only get an approximate solution using numerical methods. During debugging, we can adjust the output voltage by changing the ratio of R2 to R1 . The larger the R2/R1, the higher the output voltage. However, considering that the latter stage of this amplifier is a multiplier, and the maximum allowable input voltage of the multiplier is not very high (for example, the maximum input differential voltage of AD835 is ±1V ), it is not advisable to adjust the output voltage too high.
The resistance values of R1 and R2 are determined according to the following principles: The maximum output drive capability of AD603 is 50mA , but the designed output current should be much smaller than this value, so the value of R2 should be roughly between several hundred ohms and 1 kiloohm. R1 should be of the same order of magnitude.
The current flowing through capacitor C fluctuates, and the fluctuation period is the period of the input baseband signal. The fluctuation amount can be calculated as half of the charging current I1 calculated previously. This current fluctuation will cause the AGC control voltage to fluctuate, and further cause the gain to fluctuate. The control voltage fluctuation amount is
Where T is the period of the input baseband signal, i.e. 1/50kHz . The gain fluctuation is , where k is the gain control coefficient of AD603 , which is about 40dB/V . Therefore, as long as an allowable gain fluctuation is determined, such as 1dB , the size of C can be deduced from the above relationship .
|