The Core Concept: Why Add a Positive Feedback Loop to an Op Amp?
A positive feedback loop op amp configuration intentionally routes a portion of the output signal back to the non-inverting (+) input. Unlike negative feedback, which forces an amplifier into a stable linear region, positive feedback accelerates the transition between states, forcing the output to snap rapidly to either the positive or negative saturation rail. This creates a Schmitt trigger with hysteresis—a dual-threshold system that eliminates output chatter caused by noise on the input signal.
Before wiring a circuit, you must understand the physical pinout of the standard 8-pin DIP package (used by both dual op-amps and dual comparators). Reading the notch or dot on the IC from left to right:
- Pin 1: Output A
- Pin 2: Inverting Input A (-)
- Pin 3: Non-Inverting Input A (+)
- Pin 4: Ground / V- (Negative Supply)
- Pin 5: Non-Inverting Input B (+)
- Pin 6: Inverting Input B (-)
- Pin 7: Output B
- Pin 8: V+ (Positive Supply)
Op-Amp vs. Comparator: Selecting and Biasing for Hysteresis
While hobbyists often ask how to build a positive feedback loop op amp circuit using standard amplifiers like the LM358, dedicated comparators are almost always the correct choice. Standard op-amps suffer from slow overload recovery; when their internal differential pair saturates, the tail current starves, and it can take microseconds (or even milliseconds) for the output to recover and switch states. Comparators are engineered to remain in saturation indefinitely and switch in nanoseconds.
| Part Number | Type | Supply Voltage | Response Time | Output Stage | Typical Price |
|---|---|---|---|---|---|
| LM393 | Dual Comparator | 2V to 36V | 1.3 µs | Open-Collector | $0.12 |
| LM311 | Single Comparator | 3V to 30V | 200 ns | Open-Collector | $0.45 |
| TLV3501 | Single Comparator | 2.7V to 5.5V | 4.5 ns | Push-Pull | $1.30 |
| LM358 | Dual Op-Amp | 3V to 32V | ~100 µs (recovery) | Push-Pull | $0.10 |
Biasing Rules: If you select an open-collector part (LM393, LM311), the output transistor can only pull the line to ground. You must add an external pull-up resistor (typically 4.7kΩ to 10kΩ) from the output pin to your logic high voltage. Push-pull outputs (TLV3501, LM358) do not require pull-ups but cannot be wire-ORed or level-shifted easily.
Operation Regions and Saturation Limits
When utilizing positive feedback, the device operates almost exclusively in the saturation regions. The linear region is merely a transient state lasting nanoseconds during the switching edge. Understanding these voltage limits is critical for interfacing with microcontrollers like an ESP32 or Arduino.
| Region | Input Condition | Output State | Typical Output Voltage | Current Capability |
|---|---|---|---|---|
| Negative Saturation | V(+) < V(-) | LOW (Active Pull-down) | ~0.2V (V_OL) | Sinks up to 16mA |
| Linear Transition | V(+) ≈ V(-) | Unstable / Switching | 0.2V to 5V (Slew Rate Limited) | Transient only |
| Positive Saturation | V(+) > V(-) | HIGH (High-Z / Pull-up) | ~5.0V (via pull-up resistor) | Source limited by pull-up R |
Complete Application Circuit: Non-Inverting Schmitt Trigger
Below is a complete, bench-tested design for a 5V non-inverting Schmitt trigger using the LM393. This circuit converts a noisy, slow-rising analog signal (like a thermistor or LDR reading) into a clean digital square wave with a 0.5V hysteresis window.
Component List
- U1: LM393 Dual Comparator (using Channel A)
- R1 (Input Resistor): 10kΩ
- R2 (Feedback Resistor): 100kΩ
- R3, R4 (Reference Divider): 10kΩ each (sets V_ref to 2.5V)
- R_pullup: 4.7kΩ
Wiring Steps
- Power the IC: Connect Pin 8 to 5V and Pin 4 to GND. Place a 100nF ceramic bypass capacitor directly across these pins.
- Set the Reference: Wire R3 from 5V to Pin 2 (Inverting Input), and R4 from Pin 2 to GND. This creates a rigid 2.5V reference.
- Route the Input: Connect your analog input signal to Pin 3 (Non-Inverting Input) through the 10kΩ R1 resistor.
- Close the Positive Feedback Loop: Connect the 100kΩ R2 resistor from Pin 1 (Output) back to Pin 3 (Non-Inverting Input). This is the core of the positive feedback loop op amp mechanism.
- Add the Pull-Up: Connect the 4.7kΩ R_pullup from Pin 1 (Output) to 5V.
- Verify: Measure Pin 1 with a multimeter. It should read ~5V when input is high, and ~0.2V when input is low.
The Math: The Upper Threshold Point (V_UTP) is calculated as V_ref * (1 + R1/R2) assuming V_OL is 0V. Here, 2.5V * (1 + 0.1) = 2.75V. The Lower Threshold Point (V_LTP) is V_ref * (1 + R1/R2) - V_OH * (R1/R2). Here, 2.75V - (5V * 0.1) = 2.25V. The hysteresis window is exactly 0.5V. For deeper theoretical breakdowns, refer to the Electronics Tutorials comparator guide or Analog Devices MT-092 tutorial.
Failure Modes and Multimeter Testing
Semiconductors in positive feedback loops rarely fail gracefully. The most common failure modes are output transistor shorts (due to exceeding the 16mA sink limit without a current-limiting load) and input stage blowouts from exceeding the common-mode voltage range (usually VCC - 1.5V for older bipolar parts).
How to test with a digital multimeter (DMM):
- De-energize the circuit. Remove all power sources.
- Test the Input Diodes: Set your DMM to diode test mode. Place the red probe on Pin 4 (GND) and the black probe on Pin 2 and Pin 3. You should read a forward voltage drop of roughly 0.6V to 0.8V (the internal ESD protection diodes). Reverse the probes; it should read 'OL' (Open Loop). If it reads 0.0V or shorts in both directions, the input stage is destroyed.
- Test the Output Transistor: Switch the DMM to resistance mode (Ω). Measure between Pin 1 (Output) and Pin 4 (GND). With no power applied, the open-collector NPN transistor should read 'OL'. If it reads near 0Ω, the output transistor has shorted out—desolder the IC and replace it.
- Live Voltage Check: Reapply power. If the input is above the threshold but the output stays at 0.2V, check the pull-up resistor for an open circuit. If the output is stuck at 5V regardless of input, the IC is likely latched up or the positive feedback resistor value is too low, locking the state.
For comprehensive selection criteria on modern high-speed alternatives, review the Texas Instruments Comparators Overview.
Frequently Asked Questions
What happens if I use a standard op-amp instead of a comparator in a positive feedback loop?
If you use a standard op-amp like the LM358 in a positive feedback loop op amp circuit, it will technically function as a Schmitt trigger at very low frequencies (under 1 kHz). However, because op-amps are internally compensated for stability in linear (negative feedback) modes, they suffer from severe phase inversion and slow overload recovery when driven into saturation. If your input signal has fast noise spikes, the op-amp output may hang in the linear region for tens of microseconds, causing massive current spikes and erratic digital logic readings. Always use a dedicated comparator for signals above audio frequencies.
How do I calculate the hysteresis window for my positive feedback loop op amp?
The hysteresis window (ΔV) is the voltage difference between the upper and lower switching thresholds. For a non-inverting configuration, the formula simplifies to: ΔV = (V_OH - V_OL) * (R1 / R2). Where V_OH is the output high voltage (usually VCC for push-pull, or VCC minus the pull-up drop for open-collector), V_OL is the output low voltage (usually ~0.2V), R1 is the input resistor, and R2 is the feedback resistor. To widen the noise immunity window, decrease the value of R2 relative to R1.
Why is my Schmitt trigger output oscillating even with positive feedback?
Oscillation in a positive feedback loop op amp design is almost always caused by poor PCB layout or missing bypass capacitors, not the feedback network itself. When the output switches states rapidly, it draws a sudden burst of current from the power rail. If the power supply impedance is too high (due to long breadboard wires or missing decoupling caps), the VCC rail dips momentarily. This dip alters the reference voltage at the inverting pin, causing the comparator to trigger again. Solder a 100nF ceramic capacitor directly across the VCC and GND pins of the IC to provide local transient current.
Can I use a single-supply op-amp for a positive feedback loop with AC signals?
Yes, but you must bias the AC signal into the common-mode range of the IC. A standard LM393 on a single 5V supply cannot read voltages below -0.3V or above 3.5V (VCC - 1.5V). If you feed a raw AC audio or sensor signal that swings negative, you will forward-bias the internal substrate diodes, causing phase reversal or permanent damage. Use a voltage divider to create a virtual ground at VCC/2 (2.5V), capacitively couple your AC signal through a 1µF film capacitor, and reference your inverting pin to that same 2.5V virtual ground.






