Of all the fundamental building blocks in analog electronics, few are as crucial or as frequently encountered as the operational amplifier, or op-amp. While an op-amp on its own is a versatile but somewhat wild component, its true power is unlocked when configured with external resistors to perform specific functions. Among these configurations, two stand out as the bedrock of analog design: the inverting amplifier and the non-inverting amplifier. Understanding the differences, similarities, and ideal use cases for each is not just a theoretical exercise; it is a practical necessity for anyone designing circuits, from audio equipment to sensor interfaces And that's really what it comes down to. Surprisingly effective..
This article will dissect both configurations, explaining their operation, deriving their key formulas, and providing a clear comparison to guide your next design decision That's the part that actually makes a difference..
The Core Difference: The "Why" Behind the Name
At its heart, the distinction is elegantly simple. The names describe the behavior of the output signal relative to the input signal.
- In an inverting amplifier, the output signal is 180 degrees out of phase with the input signal. If you apply a positive voltage peak to the input, you will get a negative voltage peak of a scaled magnitude at the output. Think of it as a see-saw: when one side goes up, the other goes down.
- In a non-inverting amplifier, the output signal is in phase with the input signal. A positive input peak produces a positive output peak. The output "follows" the input in polarity, hence the name.
This fundamental phase relationship has cascading effects on other critical parameters, such as input impedance, which we will explore in detail.
The Inverting Op-Amp Configuration
The inverting amplifier is characterized by its simplicity and the fact that the input signal is applied to the inverting (-) input of the op-amp through an input resistor Turns out it matters..
Circuit Setup: The basic schematic consists of an op-amp with:
- An input resistor (R_in) connected between the input voltage source (V_in) and the inverting terminal (-).
- A feedback resistor (R_f) connected between the output (V_out) and the inverting terminal (-).
- The non-inverting terminal (+) connected directly to ground (0V).
How It Works: The op-amp, in its linear region, will work to keep the voltage difference between its two input terminals at virtually zero. This is known as the "virtual short" concept. Since the non-inverting terminal is at ground (0V), the inverting terminal is also held at a virtual ground—it is at 0V potential but is not physically shorted to ground.
Using Ohm's law and the properties of an ideal op-amp (infinite input impedance, meaning no current flows into the inputs), we can derive the gain. The current flowing from V_in through R_in is I = V_in / R_in. That said, this creates a voltage drop across R_f equal to I * R_f. Consider this: because no current enters the op-amp's inverting input, this same current must flow through the feedback resistor R_f, from the output to the virtual ground point. Since the current flows from the output towards the virtual ground, the output voltage must be negative relative to ground Simple, but easy to overlook..
The resulting voltage gain (A_v) formula is: A_v = V_out / V_in = - (R_f / R_in)
The negative sign is the mathematical representation of the 180-degree phase inversion. The magnitude of the gain is solely determined by the ratio of the two external resistors.
Key Characteristics:
- Voltage Gain: Can be any value less than 1 (attenuation) or greater than 1 (amplification), depending on the resistor ratio. A gain of -1 is a simple polarity inverter.
- Input Impedance: The input impedance seen by the source is approximately equal to R_in. This is a significant drawback. If R_in is made large to achieve a high input impedance, it reduces the gain for a given R_f. Conversely, for a high gain, R_in must be small, resulting in a low input impedance that can load down the signal source.
- Bandwidth: The gain-bandwidth product (GBW) of the op-amp is constant. For a given op-amp, the closed-loop bandwidth is inversely proportional to the closed-loop gain magnitude. A higher gain (larger R_f/R_in ratio) will result in a narrower bandwidth.
The Non-Inverting Op-Amp Configuration
In the non-inverting configuration, the input signal is applied directly to the non-inverting (+) input of the op-amp. The feedback network is connected to the inverting (-) input.
Circuit Setup: The basic schematic consists of an op-amp with:
- The input voltage source (V_in) connected directly to the non-inverting terminal (+).
- A voltage divider formed by two resistors in the feedback path: a feedback resistor (R_f) from the output to the inverting terminal, and a resistor (R_g, for ground) from the inverting terminal to ground.
How It Works: Again, relying on the virtual short concept, the op-amp will adjust its output to make the voltage at the inverting terminal (-) equal to the voltage at the non-inverting terminal (+), which is V_in. The voltage at the inverting terminal is determined by the output voltage and the voltage divider formed by R_f and R_g Which is the point..
Using the voltage divider formula: V_- = V_out * (R_g / (R_f + R_g)) Setting V_- = V_in (because V_- = V_+ = V_in), we can solve for the gain It's one of those things that adds up..
The resulting voltage gain (A_v) formula is: A_v = V_out / V_in = 1 + (R_f / R_g)
Notice there is no negative sign; the gain is always positive and, crucially, always greater than or equal to 1. You cannot achieve a gain of less than 1 with this configuration.
Key Characteristics:
- Voltage Gain: Always ≥ 1. A gain of exactly 1 is achieved when R_f = 0 (a direct wire) or R_g is an open circuit (removed). This special case is called a voltage follower or unity-gain buffer.
- Input Impedance: Extremely high, typically in the megaohms range, because the input is connected directly to the op-amp's non-inverting input. This is a major advantage, as it prevents loading of the signal source.
- Bandwidth: Similar to the inverting amplifier, the bandwidth is determined by the gain-bandwidth product. A gain of 1 will provide the maximum possible bandwidth for that op-amp.
Head-to-Head Comparison: Inverting vs. Non-Inverting
To make the choice clearer, here is a direct comparison of the key attributes.
| Feature | Inverting Amplifier | Non-Inverting Amplifier |
|---|---|---|
| Voltage Gain Formula | A_v = - (R_f / R_in) | A_v = 1 + (R_f / R_g) |
| Gain Range | Any negative value (can be < 1 or > 1 in magnitude) | Any positive value ≥ 1 |
| Phase Relationship | Inverted (180° shift) | In phase (0° shift) |
| Input Impedance | Low, approximately equal to R |