Using Operational Amplifiers
An
operational amplifier or op-amp is a three port device with an input and output
voltage referenced to ground. The
amplifier provides a gain defined as the ratio of the output to input voltage
amplitudes.
A = Vout/Vin
Op
amps typically have a very high input impedance (Zin = Vin/Iin
> 100KW) and a low output impedance (Zout = Vout/Iout
< .1-5 W).
The
op-amp is the basic building block for:
The op amp is an active
device implying that an external power supply is necessary for its
operation. The figure below
demonstrates an op amp circuit with feedback gain included. This closed loop configuration is necessary
to give the amplifier stability in gain.

Ideal Op Amp
where V- is the inverting input, V+
is the non-inverting input, and Vout the output voltage. Op amps can be approximated using a simple,
ideal op amp model that is based on the following assumptions:
Note that op amps provide
a gain to the input signal. However,
the gain is limited by the maximum output voltage for the op amp. If the desired gain exceeds the op amp
maximum, the op amp will saturate and not perform as expected.
Several uses of op amps are
demonstrated here:
Inverting Amplifier:
The inverting amplifier amplifies the input signal
and inverts the signal (note the input at the inverting channel of the op
amp). Analysis of the inverting
amplifier proceeds as follows.
Analysis of inverting
amp:
The
current over Rin and Rf (feedback resistor) must be the
same:
i- = -iout
and
the voltage at P must equal 0.
Therefore, the current over Rin and Rf can be determined
and set equal:
Vin/Rin = -Vout/Rf
Thus, A
= Vout/ Vin = - Rf /Rin
Non-inverting amplifier:

A
= Vout/ Vin = 1 + Rf /Rin
Note that this amplifier
can also be used to boost the output signal from a low output sensor, without
loading the sensor since it has a high input impedance and low output
impedance.
Summing amplifier:

Vout = -(V1 + V2)
with R1
= R2 = Rf
Difference amplifier:

Vout = + Rf /(R1=
R2) *(V1 - V2)
Integrator:
The integrating amplifier is created by replacing the feedback resistor
with a capacitor. The result is that
the output voltage is related to the output current through the relation:
![]()
and results in an inverted, integral gain:
.

In a more practical application of this integrator, a shunt resistor is
added in parallel with the capacitor to avoid a gradual drift due to any DC
offset. The shunt resistor may be
selected as 10x the value of the input resistor. One use for this integrator is in feedback control systems that
use integral feedback.
Differentiating amplifier:
A differentiator can be created from the inverting amplifier by
replacing the input resistor with a capacitor.
The result is that the input voltage is related to the input current
through the relation:
![]()
and results in an inverted, derivative gain:
.

Comparator:
The comparator makes use of an op amp to determine if one input signal
is greater than the other. The LM339 is
an example of an op amp specially designed to act as a comparator and as such
can be a very useful integrated circuit component.
Instrumentation amplifier:
The instrumentation amplifier combines several op amps to provide a high
input impedance with a feature called common mode rejection ratio (CMRR,
different gains for difference mode or common mode) allowing low-level signals
in a noisy environment to be amplified.

Vout = [R4/R3
(1 + 2R2/R1)]*(V2 – V1)
Op amps in practice come
in many shapes and sizes, and deviate from the behavior shown in the examples
above. In implementation, pay careful
attention to the specifications of the
device, including:
Also, in implementation you will need to provide a positive and negative supply voltage. This can be performed using