• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Analog IC Tips

Analog IC Design, Products, Tools Layout

  • Products
    • Amplifiers
    • Clocks & Timing
    • Data Converters
    • EMI/RFI
    • Interface & Isolation
    • MEMS & Sensors
  • Applications
    • Audio
    • Automotive/Transportation
    • Industrial
    • IoT
    • Medical
    • Telecommunications
    • Wireless
  • Learn
    • eBooks / Tech Tips
    • FAQs
    • EE Learning Center
    • EE Training Days
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Design Guide Library
    • Digital Issues
    • Engineering Diversity & Inclusion
    • LEAP Awards
    • Podcasts
    • White Papers
  • Video
    • EE Videos
    • Teardown Videos
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Engineering Training Days
  • Advertise
  • Subscribe

Variable gain amplifiers

July 20, 2015 By Chris Francis Leave a Comment

It is not uncommon to need an adjustable gain in an analog signal processing chain. If the adjustment is manual then it is pretty straightforward — you can use a potentiometer. When you need the adjustment under digital control then it becomes more complicated. If you need a digitally adjustable instrumentation amplifier then there are ready-made solutions such as the analog devices AD8557 from Analog Devices.

Image1

The AD8557 has an adjustable gain using digital potentiometers and a programmable offset using a digital to analog converter (DAC).

If you circuit doesn’t use an instrumentation amplifier or you need some adjustable gain after an instrumentation amplifier then you need to look at alternatives. There are some specialized solutions such as the LTC1564 which is a digitally controlled anti-aliasing filter with 4 bit programmable gain amplifier which might be useful as the stage preceding an analog to digital converter (ADC). The cut off frequency can be 10kHz to 150kHz and the gain 0dB to 24.1dB.

You can buy programmable gain amplifiers such as the Linear Technology LTC6911 which will give selectable gains of 0dB to 20dB. You need to read datasheets of such devices carefully though to make sure they meet your needs with respect to common mode input voltage range, bandwidth and noise, for example. The LTC6911 also has a relatively low input impedance as well which you might need to be careful of.

A “traditional” voltage controlled amplifier (VCA) is another option. These are totally linear devices where a voltage adjusts the gain (or attenuation) and they can have a very wide dynamic range, although that often is partly attenuation not gain. For example the Texas Instruments LMH6505 has an 80dB adjustment range but only a gain of 20dB – the rest of the dynamic range is a potentially massive attenuation. You also need to be careful of the accuracy and stability of the gain versus control voltage against temperature. These types of devices are usually based on exploiting bipolar transistor characteristics and can have a high degree of temperature dependency and inaccuracy. This is fine for some applications where you simply want to turn the gain up until you get a suitable signal or for AGC (automatic gain control), but not if you need to know what the original signal level was with any accuracy.

You can build your own VCA using transconductance amplifiers such as the Texas Instruments LM13700.

Image2

You could go down the DIY digital gain route – making your PGA using a digital potentiometer (which can be under SPI or I2C control) and an opamp. As with any design there are problems to watch out for. Digital potentiometers usually have a poor absolute tolerance so you want to try to use the potentiometer ratio for setting the gain if you want reasonable gain accuracy. That can make the gain step size rather nonlinear. However, some digital potentiometers such as the Analog Devices AD5141 have an “independent” mode where it behaves like two independent potentiometers with a common wiper. This means that the sum of the two branches don’t have to add up to the total value of 10k ohms like a normal potentiometer – each branch can be 10k. With a normal potentiometer the midway point would be 5k + 5k but with independent mode you can have 5k + 10k or 8k + 9k if you wanted. This helps avoid big gain jumps.

When considering using a digital potentiometer for gain control, it will be in the feedback of an opamp circuit and the unwanted capacitance of the digital potentiometer needs to be considered, as does the wiper resistance. Wiper resistance will affect the accuracy of the gain setting and also the maximum gain achievable but is not usually a major issue. However, the digital potentiometer capacitance can be a nuisance. The AD5141 has 25pF of capacitance on the A and B connections and 12pF on the wiper for the 10k ohm version. The wiper capacitance will appear on the input of the opamp and either the A or B capacitance will be on the opamp output. Most opamps will tolerate the 25pF on the output but the 12pF on the inverting input of the opamp can cause some gain peaking or instability. This needs to be considered in the design.

One way to check the effect is with a SPICE simulator (free simulators such as LTSPICE are available). Adding the stray capacitance to the schematic will show if there are any instability problems even if you don’t have a SPICE model for the digital potentiometer. This simple circuit simulation will show the effect.

Image3

R1 and R2 are two arms of the AD5141 and C1, C2 and C3 represent the internal capacitance of the digipot connections. With high gain (R1 low resistance) the circuit is stable but with low gain as shown the effect is quite dramatic.

Image4

The green trace is without C1, C2 and C3, the red trace is with the values shown. As you can see the circuit would be highly unstable with the digipot or even make a good oscillator. Some capacitance across R2 would help but not cure the problem completely because in this case the opamp used for the illustration does not have a large phase margin at low gain and is not happy with capacitive loads so is particularly sensitive to the digipot stray capacitance on the output as well as on the inverting input.

Filed Under: FAQ, Industry Experts Tagged With: analogdevicesinc, basics, FAQ, lineartechnology, texasinstrumentsinc

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Featured Contributions

High-Performance GPUs Are Located in a Variety of Environments, including Data Center Racks.

AI’s demand for faster, more reliable IC testing

Design a circuit for ultra-low power sensor applications

Active baluns bridge the microwave and digital worlds

Managing design complexity and global collaboration with IP-centric design

PCB design best practices for ECAD/MCAD collaboration

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: Power Electronics
Our latest eBook compiles essential technical articles covering freewheeling diodes, snubber circuits, coreless transformers in solid-state isolators, PWM current source converters, hot-swap implementation, inrush current analysis, and inverter switching strategies for battery longevity.

EE LEARNING CENTER

EE Learning Center
“analog
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

EE ENGINEERING TRAINING DAYS

engineering

RSS Current EDABoard.com discussions

  • Is it possible to achieve this in Comparator?
  • Pliers for eletctronics repairs
  • Help with rs232 and can
  • Thermaltake psu TR2600L2NC
  • Question power soldering iron damage pcb and smd components

RSS Current Electro-Tech-Online.com Discussions

  • Raise your hand if your car had one of these:
  • MCS-51 Development Ecosystem
  • ESP32 Sub Forum
  • Please could you advise me on this circuit for car OBD2
  • Mitsubishi projection lamp
“bills

Footer

Analog IC Tips

EE WORLD ONLINE NETWORK

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Battery Power Tips
  • Connector Tips
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips

ANALOG IC TIPS

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2026 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy