A negative feedback loop routes a portion of an amplifier's output back to its inverting input to stabilize gain and reduce distortion, while a positive feedback loop routes output to the non-inverting input to reinforce the signal, driving the circuit into saturation or oscillation. Understanding what is a negative and positive feedback loop is the dividing line between building a circuit that amplifies a sensor signal cleanly and one that screeches into a high-frequency rail-to-rail oscillation.
In real installations and bench builds, feedback dictates your circuit's bandwidth, linearity, and stability. It changes an unpredictable, ultra-high-gain silicon chip into a precise, mathematically controllable building block. Yet, it is routinely misunderstood by hobbyists who conflate electrical phase with emotional terminology.
The Core Mechanics: Stabilization vs. Saturation
To understand feedback, you must first look at the raw silicon. A standard general-purpose op-amp like the LM741 or LM358 operates in "open-loop" mode when no feedback is applied. In this state, the chip amplifies the voltage difference between its two inputs by its open-loop gain.
Negative feedback tames this chaos. By routing a fraction of the output back to the inverting (-) input, the circuit constantly corrects itself. If the output voltage tries to drift too high, the feedback voltage at the inverting input rises, which tells the op-amp to lower its output. This creates a stable, closed-loop system. Think of a water tank with a mechanical float valve: as the water level (output) rises, the float pushes the valve (inverting input) closed, reducing flow to maintain a precise set level.
Positive feedback does the exact opposite. It routes the output to the non-inverting (+) input. If the output drifts slightly high, the feedback reinforces that drift, driving the output even higher until it permanently latches against the positive supply rail. It is a runaway thermal-style cascade, weaponized for specific switching applications.
Worked Numeric Example: Sizing Feedback Resistors
Let's move from theory to the workbench. We will design a non-inverting DC amplifier using an LM358 dual op-amp powered by a single 5.0V supply. Our goal is to amplify a 0.25V DC sensor signal to roughly 2.5V for an ESP32 ADC (Analog-to-Digital Converter) input.
The closed-loop voltage gain ($A_v$) for a non-inverting amplifier with negative feedback is calculated as:
A_v = 1 + (R_f / R_in)
Step 1: Calculate for Negative Feedback
We want a gain of approximately 10. We select R_in = 1 kΩ (connected from the inverting input to ground).
10 = 1 + (R_f / 1000)
9 = R_f / 1000
R_f = 9,000 Ω
Using standard E24 resistor values, we select a 9.1 kΩ resistor for $R_f$ (connected from the output pin to the inverting input).
Actual Gain = 1 + (9100 / 1000) = 10.1.
Expected Output = 0.25V × 10.1 = 2.525V. The circuit remains stable, linear, and perfectly tracks the sensor input.
Step 2: The Positive Feedback Failure Mode
What happens if you accidentally wire the 9.1 kΩ resistor to the non-inverting input instead? You have created a positive feedback loop (specifically, a Schmitt trigger configuration). When the 0.25V sensor signal is applied, the output will not sit at 2.525V. Instead, the positive feedback forces the output to immediately latch to the positive rail. On a 5V LM358, the high-level output voltage ($V_{OH}$) is typically 3.8V (the LM358 cannot swing fully rail-to-rail on the high side). Your ESP32 will read a static, saturated 3.8V, completely ignoring the sensor changes until the input drops below a specific lower hysteresis threshold.
Where You Meet This in Practice
You will encounter both loop types across almost every sub-discipline of electronics. Here is a breakdown of where they live in real hardware:
| Characteristic | Negative Feedback Loop | Positive Feedback Loop |
|---|---|---|
| Primary Goal | Linearity, stability, and precise gain control. | Hysteresis, latching, and oscillation. |
| Common Circuits | Audio amplifiers, PID motor controllers, linear voltage regulators (e.g., LM317). | Schmitt triggers, Wien bridge oscillators, 555 timer astable modes. |
| Output Behavior | Operates between the supply rails (linear region). | Slams against the supply rails (saturation region). |
| Bandwidth Effect | Increases usable bandwidth (Gain-Bandwidth Product tradeoff). | N/A (Usually used for DC switching or specific RF frequencies). |
In power systems, a Texas Instruments application note on single-supply op-amps details how negative feedback is critical for buffering shunt resistor measurements in battery management systems (BMS). Conversely, positive feedback is intentionally injected into comparator circuits to create hysteresis, preventing the output from violently chattering when measuring noisy AC waveforms or slowly moving mechanical limit switches.
Common Confusions and Troubleshooting Traps
The most pervasive confusion is semantic: people assume "positive" feedback is beneficial and "negative" feedback is detrimental. In linear electronics, negative feedback is your best friend; it reduces output impedance, minimizes harmonic distortion, and makes the circuit immune to temperature drift. Positive feedback is generally destructive to linear amplification and is only used deliberately in digital or oscillating contexts.
Another trap is confusing DC polarity with AC phase. A negative feedback loop does not mean you are feeding a "negative voltage" back into the chip. It means the signal is fed back 180 degrees out of phase (into the inverting terminal). You can have a negative feedback loop operating entirely on positive DC voltages (like our 5V LM358 example above).
The High-Frequency Trap: Every op-amp has internal parasitic capacitances that introduce phase shift at high frequencies. If you design a negative feedback amplifier with a high closed-loop gain, those internal delays can shift the phase by an additional 180 degrees at, say, 2 MHz. Your negative feedback suddenly becomes positive feedback at that frequency, and your circuit turns into an unintended radio transmitter. This is why high-speed op-amps require careful PCB layout, ground planes, and sometimes explicit compensation capacitors (like the 30pF internal capacitor built into the LM741) to maintain phase margin.
Frequently Asked Questions
What is a negative and positive feedback loop in a DC power supply?
In a linear DC power supply (like an LM317 or a discrete pass-transistor design), a negative feedback loop constantly monitors the output voltage via a resistor divider and compares it to an internal reference voltage. If the output sags under a heavy load, the feedback loop tells the pass transistor to open wider and conduct more current. Positive feedback is rarely used in the main regulation loop of a power supply, as it would cause the supply to latch into an overvoltage state and destroy the connected load. However, positive feedback is sometimes used in the protection circuitry (like a crowbar circuit) to rapidly latch an SCR and blow a fuse if an overvoltage event occurs.
How do you test if an op-amp has negative or positive feedback with a multimeter?
Power the circuit and set your multimeter to DC voltage. Measure the voltage at the non-inverting (+) input, the inverting (-) input, and the output. If the op-amp is operating linearly in a negative feedback loop, the voltage at the inverting input will be virtually identical to the non-inverting input (this is the "virtual short" principle). If the voltages at the two inputs are significantly different, and the output is slammed near the positive or negative supply rail, the circuit is either in a positive feedback (comparator) state, or the negative feedback loop is broken (e.g., an open resistor).
Can a circuit use both negative and positive feedback loops at the same time?
Yes, and it is a highly effective design technique for precision oscillators and active filters. A classic example is the Wien Bridge Oscillator, used to generate pure sine waves for audio testing. The non-inverting input receives positive feedback through a frequency-selective RC network to sustain oscillation, while the inverting input receives negative feedback through a thermistor or incandescent bulb to automatically stabilize the gain and prevent the sine wave from clipping into a square wave. As long as the negative feedback dominates at DC and the positive feedback dominates at the specific target AC frequency, the circuit remains stable.
Why does my negative feedback amplifier oscillate at high frequencies?
If your negative feedback circuit oscillates (often seen as a fuzzy, high-frequency ripple on an oscilloscope trace), you have a phase margin issue. The parasitic capacitance of your PCB traces, the op-amp's internal transistors, and the load capacitance are combining to delay the feedback signal. At high frequencies, this delay turns your 180-degree negative feedback into 360-degree positive feedback. To fix this, you can add a small compensation capacitor (e.g., 10pF to 100pF) in parallel with your feedback resistor to roll off the high-frequency gain, or isolate capacitive loads by placing a small series resistor (e.g., 22 Ω) directly at the op-amp's output pin before the load.






