In a previous article we looked at difference amplifiers like that shown in Figure 1. This circuit configuration amplifies the differential signal at the input (the difference in voltage between the terminals) and attenuates any common-mode signal that is present on both.

The basic difference amplifier amplifies the differential-mode signal at the input terminals while attenuating the common-mode voltage. The common mode rejection ratio (CMRR) is dependent on the matching between the resistors but is typically 60 – 90dB with precision laser-trimmed resistors.
We showed that this circuit can typically achieve a common-mode rejection ratio of 60 to 90dB at low frequencies, depending on the matching of the gain-setting resistors. Difference amplifiers are typically limited to gains of less than 100 but have the big advantage of accepting common mode input signals outside of the power supply rails.
The biggest downside to the simple difference amplifier is its relatively low input impedance (10kΩ to 100kΩ). This means they are limited to applications with low source impedance. Unfortunately, many sensors have relatively high output impedance so the difference amplifier by itself won’t work. One obvious solution is to add a pair of input buffers to the difference amplifier as shown in Figure 2. The buffers solve the input impedance problem (at the expense common mode range) but do nothing to help us reach higher gains or achieve better CMRR. In fact, the addition of the two buffers will most likely reduce the CMRR slightly.

The major downside of the difference amplifier is its relatively low input impedance. Adding unity gain input buffers as shown here will improve input impedance but provides no improvement to CMRR.
The classic instrumentation amplifier of Figure 3 is a neat solution to the problem. The two input op amps now work to maintain the differential-mode voltage across RG. With this understanding it is pretty easy to show that this input stage has a differential mode gain of 1 + 2 R3/RG and a common mode gain of 1. We can see how this stage adds differential gain, but given a common mode gain of 1it is not obvious how can this front end can help us improve the overall CMRR.

The classic three op amp instrumentation amplifier provides improved CMRR and much higher input impedance. It is pretty easy to achieve CMRRs in the range 100 to 120dB or even more with this circuit as long as the differential gain is high. Another nice feature of this circuit is that the gain can be changed by changing just one resistor, RG.
Consider a situation where we want an overall differential gain of 100 and the highest possible CMRR. A plain old difference amplifier can do this if the source impedance is low and might achieve a CMRR of say 80dB with well-matched resistors.
If we use an instrumentation amplifier instead, with an input stage gain of 100, we will present a signal to the difference amp stage with the common mode signal 100 times (40dB) lower than the differential signal. The second stage has a differential-mode gain of 1 but adds 80dB of additional CMRR for a total circuit CMRR of 120dB! This is 100 times better than the difference amp alone. The instrumentation amp is effectively a gain stage with a CMRR equal to the gain, followed by a common-mode rejection stage with a differential gain of unity.
Another nice feature of the instrumentation amp is that the gain can be set by changing just one resistor, RG. This means practical devices can have precision-trimmed matched resistors R1, R2 and R3 leaving the user to provide RG externally to set the gain. You could even switch in one of several resistors to switch the gain.
A typical example of an off-the-shelf instrumentation amplifier is the AD8228. This device has trimmed internal gain-setting resistors (including two values of RG) and can be set to have a differential-mode gain of 10 or 100 (±0.02%) selected by shorting two pins or leaving them open.
The CMRR at low frequencies is 100dB for G=10 and 120dB for G=100. This suggests we are getting 80dB of CMRR from the difference amp stage and 20dB or 40dB of gain from the input stage. Input impedance is 100GΩ which should be high enough for pretty much any source. The cost of the AD8228 is about USD13.00 in single quantities – much cheaper than anything you could build discretely given the very tight tolerance resistor matching.
Figure 4 shows the simplified schematic and the CMRR vs frequency characteristic extracted from the AD8228 data sheet You can see the architecture is basically the same as Figure 3, with the addition of input buffering and protection.

These two figures are taken from the AD8228 data sheet and show the internal architecture and the CMRR vs frequency characteristic. Although drawn differently, this is basically the circuit of Figure 3 with the addition of some input buffering and protection. The graph on the right nicely illustrates the fall-off in CMRR with frequency.
You will also note that the CMRR falls off with frequency. This is a really important point to be aware of as we are often interested in rejecting 50/60Hz mains noise and you may not reach the “headline” CMRR at these frequencies. The AD8228’s CMRR is not too bad at mains frequencies but be warned – not all instrumentation amplifiers are this good. As always it pays to read the data sheet all the way through!
References
Horowitz, Paul, and Winfield Hill. The Art of Electronics. Third edition, 11th printing, with Corrections. Cambridge New York, NY: Cambridge University Press, 2017.
“AD8228 Datasheet and Product Info | Analog Devices.” Accessed December 26, 2023. https://www.analog.com/en/products/ad8228.html.
Sponsor this ArticleAndrew Levido (andrew.levido@gmail.com) earned a bachelor’s degree in Electrical Engineering in Sydney, Australia, in 1986. He worked for several years in R&D for power electronics and telecommunication companies before moving into management roles. Andrew has maintained a hands-on interest in electronics, particularly embedded systems, power electronics, and control theory in his free time. Over the years he has written a number of articles for various electronics publications and occasionally provides consulting services as time allows.
