I am struggling with instrumentation amplifiers. Particularly, I would like to know
- what defines an instrumentation amplifier
- what kind of circuit configuration could be classified as an instrumentation amplifier
- how does an AD524 work.
In fact, firstly I've seen the so-called INA111, the circuit of which, available in its datasheet, is reported in the following picture
Where \$R_{\text{gain}}\$ is an external resistance to be connected to two proper leads of the integrated circuit and it's used to adjust the gain.
Later on I've noticed that even Wikipedia provides a page named "instrumentation amplifier" which also shows the some gain and the some circuital configuration of the INA111.
So I thought "this circuit is an instrumentation amplifier". But later I realized that something is wrong with this...
By the way, I also figured out how to calculate its gain, by calculating separately each one of its parts, as reported here
- "blue part" gain
$$ \qquad V_{o1} = \left( 1 + \frac{2R_1}{R_{\text{gain}}} \right)V_1 - V_{m}\frac{2R_1}{G_{gain}}\\ $$
- "green part" gain
$$ \qquad V_{o2} = \left( 1 + \frac{2R_1}{R_{\text{gain}}} \right)V_2 - V_{m}\frac{2R_1}{G_{\text{gain}}} $$
- "red part" gain
$$ \qquad V_+ = \frac{R_3}{R_2}V_{o2} $$
- "orange part" gain
$$ \qquad V_{\text{out}} = \left( 1 + \frac{R_3}{R_2} \right)V_+ - V_{o1}\frac{R_3}{G_2} $$
subtracting the "blue part" with the "green part" and using the other two equations to eliminate \$V_{o1}\$ and \$V_{o2}\$ the total gain I get is
$$ G = \left(1 + \frac{2R_1}{R_{\text{gain}}}\right)\frac{R_3}{R_2} $$
which is in agreement both with Wikipedia and the INA111 datasheet.
But afterwards I faced the AD524, which still is classified as an instrumentation amplifier, but its internal structure is
Not only is it not the previous circuit configuration anymore, but also I do not recognize inverting, non inverting or differential configurations. I don't know how to calculate its gain neither I do not know how does it work. Furthermore, I do not properly understand how to connect many of its leads.
So now, how do I understand its behavior? How do I calculate its gain?