Data acquisition systems with wide dynamic range often need some method for adjusting the input signal level to the analog-to-digital converter (ADC). In order to get the most from an ADC, the maximum input signal should match its full-scale voltage. This is achieved by implementing a programmable gain amplifier circuit.
The gain values are set by controlling the external gain setting resistor value, RG, with the four SPST switches, which are connected to four precision resistors.
Low switch on resistance is critical in this application, and the ADG1611 has the industry’s lowest RON (1 Ω typical) and is available in the smallest package, a 16-lead, 4 mm × 4 mm LFCSP.
The combination of the industry-standard low cost AD620 and the ADG1611 quad switch yields unmatched performance in this circuit and provides all the benefits of a precision instrumentation amplifier, along with the programmable gain feature.
Figure 1. Programmable Gain Instrumentation Amplifier Circuit (Simplified Schematic: All Connections and Decoupling Not Shown)
Figure 1 shows the programmable gain instrumentation amplifier circuit, which is made up of an ultralow RON, ±5 V quad SPDT, the industry standard AD620 instrumentation amplifier, and four 0.1% standard resistors.
The ultralow on resistance of the ADG1611 makes it an ideal solution for gain switching applications, where low on resistance and distortion are critical. The AD620 is a low cost, high accuracy instrumentation amplifier that requires only one external resistor, RG, across pins 1 and 8 to set gain between 1 and 10,000.
Combining the ADG1611 and AD620 allows the designer to control the gain of the AD620 by switching in different gain setting resistors for RG. This circuit provides a low power, low cost programmable gain instrumentation amplifier solution.
The gain is changed by closing combinations of switches S1, S2, S3, and S4 to change RG. There are 16 possible gain settings controlled through the ADG1611 parallel interface. The AD620’s gain is resistor-programmed by the resistance between pins 1 and 8. The AD620 is designed to offer accurate gains using 0.1% to 1% tolerance resistors.
The gain is easily calculated by
The circuit in Figure 1 was setup where gains of 1, 50, 100, 500, and 1000 were required. Table 1 shows the ADG1611 control pins, IN1 through IN4, which control the resistance that appears between pins 1 and 8 of the ADG620. Standard 0.1% resistors were used to achieve the gain settings below. The table also shows the resulting gain by adding the on resistance of the ADG1611 in the signal chain and how the gain is affected by temperature. The ultralow on resistance of the ADG1611 switches makes it ideal because the RON is much less than RG, and the variation of RON over temperature is quite small. Figure 2 shows the gain error due to ADG1611 RON over temperature.
|IN1||IN2||IN3||IN4||Resistor Value (Ω)||Gain Setting (No Switch)||Total Resistance Including Switch (Ω)||Gain Setting with ADG1611||% Error Drift Due to Switch RON @ 85°C|
Figure 2. Gain Error Due to Switch RON Variation Over Temperature
The circuit tested in the lab included an automatic switching mode, which allows the automatic switching of the gain circuit from 1 to 50 to 100 to 500 to 1000 and back to 1 again.
The waveforms in Figure 3 capture the circuit switching through gains from 50 to 1000.
Figure 3. AD620 Output Showing Gain Switching from 50 to 1000
The combination of the ADG1611 and AD620 provides a low cost, high accuracy solution for a programmable gain instrumentation amplifier with 16 levels of programmable gain.
Excellent layout, grounding, and decoupling techniques must be used to achieve the desired performance from the circuits discussed (see Tutorial MT-031 and Tutorial MT-101). As a minimum, a 4-layer PCB should be used with one ground plane layer, one power plane layer, and two signal layers.
Although the circuit tested uses the industry-standard AD620, other instrumentation amplifiers are also suitable.
The AD8221 is available in a low cost 8-lead SOIC and 8-lead MSOP, both of which offer the industry’s best performance. The MSOP requires half the board space of the SOIC, making it ideal for multichannel or space-constrained applications.
The AD8220 is a single-supply, JFET input instrumentation amplifier also available in an MSOP package. Both the AD8220 and the AD8221 utilize the same gain-setting resistor values as the AD620.