Introduction to Operational Amplifiers with LTSpice
Performance Characteristics
If we look at a data sheet for the LM386 audio amplifier, we'll see a ton of parameters that help characterize the op amp. Most of these can be verified with simulation in LTSpice. Before we can get there let's define some of these characteristics.
Common Mode Rejection Ratio
Common mode rejection ratio (CMRR) measures the amount of signal common to both inputs that is not amplified. It is desirable for the common mode gain to be very low, which corresponds with a very high CMRR.
The common mode rejection ratio is the ratio of the absolute value of differential gain to the absolute value of the common mode gain. The differential gain is typically half the intrinsic gain of the MOS transistor set by the manufacturer. Op amps with high output resistance will feature the best CMRR.
Power Supply Rejection Ratio
Power Supply Rejection Ratio or PSRR is the measure of the influence of the power supply ripple on the op amp output voltage. PSSR is important to MOSFET devices as they are usually on mixed-signal ICs where the digital switching in the circuit causes increased power supply ripple. The last thing you want in your design is to have that ripple amplified through your op amp.
The takeaway here is that to minimize the effects of ripple in power supplies, the Op Amp is required to have a large PSRR. So keep that in mind when looking at data sheets for any upcoming projects.
Slew Rate
Slew rate refers to the maximum rate of change possible at the output of an op amp. Most op amps are slew rate-limited, and that is calculated by taking the max of the derivative, with respect to time of the output voltage of the op amp.
Total Harmonic Distortion
The task of an audio amplifier is to take a small signal and amplify it without making any changes other than amplifying it. This is a difficult task because unwanted signals (i.e. ripple) may be amplified along with the desired signal. Any deviation from linearity is considered a distortion. Harmonic distortion is a common form of distortion in audio applications where the peaks of the output signal get "clipped." The lower the percentage listed for THD the better, but after a certain point it is hardly perceptible to human ears.