Low Cost, High Voltage, Programmable Gain Instrumentation Amplifier Using the AD5292 Digital Potentiometer and the AD8221 In-Amp
Figure 1: Programmable Gain Instrumentation Amplifier (Simplified Schematic: Decoupling and All Connections Not Shown)
The circuit offers 1,024 different gain settings, controllable through an SPI digital interface. The ±1% resistor tolerance performance of the AD5292 provides low gain error over the full resistor range, as shown in Figure 2.
Figure 2: Gain Error vs. Code
The circuit provides a high performance instrumentation amplifier that delivers the industry’s highest CMRR over frequency in its class and dynamic programmable gain for both single supply operation at +30 V and dual supply operation at ±15 V. In addition, the AD5292 has an internal 20-times programmable memory that allows the user to customize the instrumentation amplifier gain at power-up.
The circuit provides accurate, low noise, high gain and is well suited for signal instrumentation conditioning, precision data acquisition, biomedical analysis, and aerospace instrumentation.
The differential input signal, +IN and –IN, is amplified by the AD8221. The instrumentation amplifier offers accuracy, low noise, high CMRR, and high slew rate.
The maximum circuit gain is defined in Equation 1, where RAW_MIN is the wiper resistance of the AD5292 in the rheostat mode and represents the minimum value of the gain-setting resistance (100 Ω).
The circuit gain formula for any particular AD5292 resistance is
This equation is plotted in Figure 3 as a function of D, the decimal code.
Figure 3: Gain vs. Decimal Code
The maximum current allowed through the AD5292 is ±3 mA, which limits the allowable circuit gain as a function of differential input voltage.
Figure 4: Allowable Gain vs. Differential Input Voltage
Equation 3 shows the maximum gain limit as a function of the differential input voltage, VIN. This equation is derived by substituting RAB = VIN /3 mA into Equation 1. The equation is plotted in Figure 5.
Equation 1 limits the maximum circuit gain to 500. Equation 2 can be solved for D, yielding Equation 4, which calculates the minimum allowable resistance (in terms of the digital code) in the AD5292 without exceeding the current limit.
where D is the code loaded in the digital potentiometer, and G is the maximum gain calculated from Equation 3.
When the input to the circuit is an ac signal, the parasitic capacitances in the digital potentiometer can cause a reduction in the maximum AD8221 bandwidth. A gain and phase plot is shown in Figure 5.
Figure 5: Gain and Phase vs. Frequency (Vertical Scale Compressed to Show all Gain Curves)
The AD5292 has a 20-times programmable memory, which allows presetting the output voltage in a specific value at power-up.
Excellent layout, grounding, and decoupling techniques must be used to achieve the desired performance from the circuits discussed in this note (see MT-031 Tutorial and MT-101 Tutorial). As a minimum, a 4-layer PCB should be used with one ground plane layer, one power plane layer, and two signal layers.
|AD8220||JFET Input Instrumentation Amplifier with Rail-to-Rail Output||
|AD5291||Single Channel, 256-Position, 1% R-Tol, Digital Potentiometer with 20-Times Programmable Memory||
|AD5292||Single Channel, 1024-Position, 1% R-Tol, Digital Potentiometer with 20-Times Programmable Memory||
|AD5293||Single Channel, 1024-Position, 1% R-Tol, Digital Potentiometer||
|AD8227||Wide Supply Range, Rail-to-Rail Output Instrumentation Amplifier||
|AD8221||Precision Instrumentation Amplifier||