Programmable Gain Amplifier Based on VCA822

Publisher:seanxnieLatest update time:2010-09-05 Source: 电子设计工程 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Broadband amplifiers are widely used in the field of industrial measurement and control. In measurement and control circuits, broadband amplifiers are an important part of conditioning sensor output signals. The level signal output by the sensor is usually not a regular sinusoidal signal, and the output voltage range often varies greatly, which requires the post-amplifier to have a higher bandwidth and flexible voltage gain. Therefore, a programmable broadband amplifier with a voltage-controlled gain amplifier VCA822 as the core is proposed here, which can achieve a passband of 100 Hz to 15 MHz, an amplifier gain of 10 to 58 dB, and 6 dB steps. The design can set the amplifier gain through a matrix keyboard, and the LCD displays the output voltage, with a friendly human-machine interface.

1 Amplifier Design and Working Principle

Design a broadband amplifier with AGC function and gain setting through keyboard. The input of the amplifier uses a common-mode amplifier circuit for impedance matching, so that the input resistance reaches the MΩ level. The system design is divided into three modules: broadband amplification, peak sampling, and human-computer interaction.

The function of presetting voltage gain in the broadband amplifier module is realized by VCA822. VCA822 is a DC-coupled broadband voltage-controlled gain amplifier with a maximum operating bandwidth of 150 MHz. The amplifier gain is determined by the control voltage and the resistance value of the peripheral resistor. The output of the control voltage is output by the microcontroller to calculate and control the D/A converter, so it can achieve more precise digital control. In addition, the amplifier is connected to a two-speed signal processing circuit, one with a gain of 0 dB and the other with an attenuation gear. Through a control port, the signal can be selected between these two gears. The advantages of this method are clear organization, convenient control, and easy processing by a single-chip microcomputer.

For peak sampling, digital detection is used, that is, the output sinusoidal signal is sampled through a high-speed A/D converter to determine the maximum value of the digital signal collected within a certain period of time, which is the peak value of the signal. However, this general digital peak detection circuit can only work well in the low frequency band. For high-frequency signals in system design requirements and certain specific frequency signals, certain errors will be generated. Using dual-frequency digital peak detection to sample the signal can effectively avoid errors.

The AGC function is realized based on the above two modules. The voltage value measured by the peak detection is fed back to the single-chip microcomputer, and the single-chip microcomputer realizes precise control of the broadband amplifier circuit. In this way, the peak value of the output signal can be stabilized at about 4.8 V. The overall implementation block diagram of the system is shown in Figure 1.


2 System Hardware Circuit Design

2.1 VCA822 Introduction

The system uses a VCA822 broadband voltage-controlled gain amplifier. Under the control voltage, the device can provide accurate gain, and the basic gain varies linearly according to V/V . Where VC is the control voltage input. The basic voltage gain is (V/V). The logarithmic gain in dB can be controlled by appropriate calculations using a single-chip microcomputer. The D/A converter that provides the control voltage to the VCA822 is the MAX541, which has a 16-bit bit number, so the gain step can be accurately achieved. In view of the superior noise characteristics and high-precision gain control of the VCA822, this device is selected to achieve the variable gain of the system.


2.2 System gain distribution

The fixed gain of the rest of the amplifier is 34 dB, which is provided by the intermediate stage OPA699 and the post-stage power amplifier. During the test, it was found that the control voltage range of VCA822 is -1 to l V, and the device is powered by ±5 V. The peak-to-peak value of the output voltage cannot be greater than 4 V, otherwise the output waveform will be distorted. In order to maximize the dynamic range of the input voltage and realize the adjustable gain of the amplifier, VCA822 is designed as the pre-amplifier, and the gain control is optional at 0 to 24 dB, and the output signal is connected to the in-phase amplifier composed of OPA699. It is controlled by a single-chip microcomputer and selectively cascaded with the two gears of the post-stage. The gains of the two gears are 0 dB and -24 dB respectively. Thus, 9 levels of adjustable gain with a minimum gain of 10 dB and a maximum gain of 58 dB can be achieved.

2.3 Amplifier Circuit

The front-stage input uses MAX477 to design an emitter follower, so that the input resistance approaches infinity, thereby increasing the input impedance. It is coupled with VCA822 through a capacitor, and its control voltage is output by MAX541. Since the conversion range of MAX541 is the same as 0~Vref, a subtractor is added to the output end of the D/A converter, and the output range is -1~+1 V. The reference voltage of MAX541 is provided by MAX6225. The VCA822 is connected to OPA699 after the stage. OPA699 is a high-gain, high-slew rate broadband operational amplifier. Its operating bandwidth can reach 1 000 MHz. The amplifier with a gain G of 12 is designed using this device, which fully meets the bandwidth requirement of 15 MHz. After that, there is a two-speed attenuation circuit designed through a resistor network and an analog switch, one speed attenuation is 0 dB, and the other speed attenuation is 24 dB, which is controlled by the analog switch MAX333. Finally, the current-type, high-slew-rate operational amplifier AD811 and the post-stage push-pull amplifier designed with discrete components are used to achieve power amplification, with an amplification factor of +4 and increased load capacity. The circuit implementation schematic is shown in Figure 3.


In order to improve the stability of the circuit, this circuit adopts a series of anti-interference measures, including the use of 4.7μF and 104pF capacitors for power supply filtering in the power supply part of each device, the use of shielded wires to connect the signal input and output between amplifiers at each level, and the use of inductors to isolate the digital ground and analog ground.

2.4 Post-stage power amplifier circuit

In order to increase the load capacity of the system, considering the limitation of the load driving capacity of the operational amplifier AD811 itself, AD811 is selected here to cooperate with high-frequency small and medium-sized power pair tubes 2N3904 (NPN type) and 2N3906 (PNP type) (the characteristic frequency of the two power tubes fT=300 MHz) to build a 0CL power amplifier. The front stage is composed of AD811 to form a common-phase amplifier with an amplification factor of Av=1+Rf/R3; the back stage uses a power pair tube to expand the current to form a Class A and B power push-pull output form to provide load driving current. According to experimental tests, when the output terminal is connected to a 50 Ω load, the maximum output voltage peak-to-peak value without distortion reaches 18 V. The circuit schematic is shown in Figure 4.


2.5 Digital Detection

The peak detection circuit in this design is based on the signal spectrum shifting theory. Since the A/D converter will have a blind frequency band when sampling at a single sampling rate, the signal is sampled successively at two special frequencies (dual frequencies), and the maximum value in the sampling result can be extracted to obtain the peak value of the periodic signal. This method can take into account both high and low frequencies and is suitable for the system's 100 Hz to 15 MHz situation. Using the A/D converter MAX197, using two complementary sampling blind areas with sampling rates of f=50.000 kHz and f2=50.005 kHz, a good sampling effect can be obtained. The square wave signal for setting the A/D sampling rate is provided by the FPGA.

3 System Software Design

The system software adopts modular and hierarchical design ideas. With modular design ideas, to control a sub-controller, you only need to call the corresponding control module. Hierarchical design is adopted in the module, and the underlying hardware interface processing is compiled into an independent underlying subroutine, and the processing data is provided upward, and the underlying hardware interface part is shielded from the upper functional module; finally, the main program only needs to call the relevant functional modules to easily build the system.

The software part of this system is mainly composed of a single-chip microcomputer, which mainly includes system initialization, interrupt response and interrupt processing. The design function is based on the keyboard key interrupt. By reading the key value entered by the user, the corresponding interrupt response function exchanges data with the corresponding control module in the FPGA in a bus manner, triggering the corresponding control timing in the FPGA to achieve signal amplification and measurement. The system software flow is shown in Figure 5.


4 Data Testing

The system was tested using a digital synthetic signal source, a dual-trace oscilloscope, a simulator, and an AC voltmeter. The frequency of the input signal was adjusted, and the effective value of the output voltage was recorded using an AC voltmeter. The test results show that the amplifier's gain is adjustable in 9 levels within 10 to 58 dB, the -3 dB point is 100 Hz to 15 MHz, and the amplification effect is stable. For the AGC function of the amplifier, the input signal frequency is fixed, the voltage is changed, and when the input signal peak is 9 mV to 1 V, the output signal can be stabilized within the voltage range of 4.5 to 5 V, so the AGC dynamic range is greater than 40 dB. When the amplifier gain is preset to 58 dB, the input terminal is grounded, and the output noise voltage is less than 10 mV.

5 Conclusion

The system design is a controllable gain broadband amplifier with VCA822 as the core. After testing, the system passband is 100 Hz to 15 MHz, the gain is adjustable in 9 levels within 10 to 58 dB, and the dynamic range of the amplifier AGC function is greater than 40 dB. In addition, the system input uses MAX477 to form a common-mode amplifier circuit, so that the system input resistance reaches the MΩ level. The power amplifier circuit built with the post-stage AD811 and discrete components improves the system's load-carrying capacity. The system also adopts a variety of anti-interference measures to effectively ensure the amplifier accuracy and has good noise and linearity.

Reference address:Programmable Gain Amplifier Based on VCA822

Previous article:Design of intelligent power load control and monitoring system
Next article:Build a variable-gain inverting amplifier using a digital rheostat and an operational amplifier

Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号