Operational Amplifier and Oscillator
Open in the Padhaiko app6.1 Basic model; Virtual ground concept; Inverting amplifier; Non-inverting amplifier; Integrator; Differentiator, summing amplifier and their applications
An Operational Amplifier (Op-Amp) is a high-gain, direct-coupled differential voltage amplifier designed to perform linear mathematical operations (amplification, addition, integration, differentiation) and nonlinear switching when combined with external feedback networks.
Basic Op-Amp Model and Ideal Properties
The basic voltage-controlled model has a non-inverting input () at voltage , an inverting input () at voltage , input resistance between them, output resistance , and a VCVS output bounded by supply saturation limits (typically below ).
| Parameter | Ideal Op-Amp | Typical Practical Op-Amp |
|---|---|---|
| Open-Loop Voltage Gain () | () | |
| Input Resistance () | () | (BJT) to (FET/CMOS) |
| Output Resistance () | ||
| Bandwidth () | Unity-gain bandwidth | |
| CMRR | ||
| Slew Rate () |
Virtual Short and Virtual Ground Concept
Golden Rules of an Ideal Op-Amp with Negative Feedback
When an ideal op-amp operates in its linear (unsaturated) region with negative feedback (output fed back to the inverting input):
- Zero Input Current: Because , neither input terminal draws current:
- Virtual Short (): Because output is finite while , the differential input voltage approaches zero:
- Virtual Ground: In inverting configurations where the non-inverting terminal is physically grounded (), negative feedback forces the inverting node to sit at without being physically connected to ground (and without sinking current to ground).
Linear Op-Amp Configurations and Applications
- Inverting Amplifier: Input connects through to the inverting () terminal, feedback resistor connects output to (), and () is grounded (). By KCL at ():
- Non-Inverting Amplifier and Voltage Follower: Input connects directly to (), while (to ground) and (to ) form a voltage divider at (). Since :
- Voltage Follower (Unity-Gain Buffer): Setting (direct wire) and (open) gives (), ideal for impedance isolation between high-impedance sensors and low-impedance loads.
- Summing Amplifier (Inverting Adder): Multiple inputs connect through resistors to the virtual-ground () node with feedback :
If , then (used in audio mixing, scaling adders, and / binary-weighted DACs).
- Op-Amp Integrator: Replaces feedback in an inverting stage with capacitor , while enters through . Since :
Used in analog computers, ramp/triangular wave generators, active low-pass filters, and PID controllers. (A practical integrator places a large resistor in parallel with to prevent DC offset saturation.)
- Op-Amp Differentiator: Places capacitor at the inverting input and resistor in feedback. Since :
Used in edge/rate-of-change detectors, high-pass filters, and PID controllers. (A practical differentiator adds a small series resistor with to limit high-frequency noise gain and instability.)
| Circuit | Gain / Output Relation | Input Impedance | Key Applications |
|---|---|---|---|
| Inverting Amplifier | Signal inversion, precision scaling | ||
| Non-Inverting Amplifier | Very high () | High-impedance sensor amplification | |
| Voltage Follower | () | Very high () | Impedance buffer, isolation stage |
| Summing Amplifier | per input | Audio mixers, weighted DACs, level shifting | |
| Integrator | Ramp/triangle wave generation, low-pass filtering | ||
| Differentiator | Capacitive () | Pulse edge detection, rate sensing, high-pass filtering |
6.2 Basic feedback theory; Positive and negative feedback; Concept of stability; Oscillator
A feedback system samples a fraction of the output signal through a feedback network and returns it to a summing junction at the input of a forward amplifier of open-loop gain :
where is the loop gain.
| Aspect | Negative Feedback | Positive Feedback |
|---|---|---|
| Feedback Polarity | Opposes input: | Reinforces input: |
| Closed-Loop Gain () | (if ) | |
| Bandwidth & Gain | Reduces gain by , increases bandwidth by | Increases gain, reduces bandwidth |
| Stability & Distortion | Stabilizes gain against drift; lowers nonlinear distortion and noise | Can become unstable; drives circuit to saturation or oscillation |
| Primary Applications | Linear op-amp amplifiers, voltage regulators, control systems | Oscillators, Schmitt triggers (hysteresis comparators), latches |
Concept of Stability and the Barkhausen Criterion
Even a nominally negative-feedback amplifier develops internal phase lags at high frequencies (because has poles). If the open-loop phase shift reaches (turning negative feedback into positive feedback) while the loop gain magnitude satisfies , the denominator and the amplifier oscillates unstably.
- Gain Margin (GM): Factor by which is below () at the phase-crossover frequency ().
- Phase Margin (PM): Margin above at the gain-crossover frequency (); ensures well-damped stability.
Barkhausen Criterion for Sustained Sinusoidal Oscillation
An oscillator generates a periodic AC output waveform from a DC power supply without any external AC input signal (). For sustained, constant-amplitude sinusoidal oscillation at angular frequency , the loop gain must satisfy two conditions simultaneously:
- Loop Gain Magnitude Condition:
(In practical circuits, is designed slightly above —e.g., —so thermal noise builds up at startup, after which nonlinear gain limiting stabilizes it at .)
- Loop Phase Condition: Total phase shift around the closed feedback loop must be zero or an integer multiple of :
6.3 Waveform generator using op-amp for square wave, triangular wave, phase shift oscillator and Wien bridge oscillator for sinusoidal waveform
1. Square-Wave Generator (Astable Multivibrator / Relaxation Oscillator)
An op-amp square-wave generator uses positive feedback ( to ground, from to ) to form an inverting Schmitt trigger with feedback fraction and upper/lower trip points , combined with an negative-feedback timing network ( from to , from to ground).
- As sits at , capacitor charges exponentially toward until reaches , flipping to ; then discharges toward until .
- Period and Frequency:
(Special case: if , and ; if , , simplifying to .)
2. Triangular-Wave Generator
Cascading a non-inverting Schmitt trigger (comparator with hysteresis) and an inverting op-amp integrator () produces simultaneous square and triangular waveforms:
- The comparator output () drives the integrator, producing a linear ramp of slope .
- Feedback resistors (from comparator to integrator output ) and (from comparator to ) switch the comparator whenever hits :
3. RC Phase-Shift Oscillator (Sinusoidal)
Combines an inverting op-amp amplifier (providing phase shift) with three cascaded identical high-pass (or low-pass) sections that together supply the remaining ( per stage at , assuming buffered/unloaded stages or standard ladder analysis):
- Frequency of Oscillation (standard 3-stage ladder):
- Gain Condition (Barkhausen ): Because the 3-stage ladder attenuates the signal by at , the inverting amplifier must satisfy:
4. Wien Bridge Oscillator (Sinusoidal)
Uses a non-inverting op-amp amplifier ( phase shift) and a Wien bridge lead–lag network (series branch followed by parallel branch connected to ):
- At the resonant frequency , the series and parallel impedances produce zero phase shift () and maximum transfer ratio :
- Gain Condition (Barkhausen ): The non-inverting amplifier requires closed-loop gain , i.e.:
(In practice, or includes a nonlinear element such as a thermistor or back-to-back Zener/diode limiter to stabilize amplitude without clipping.)
| Circuit | Output Waveform | Feedback Topology | Frequency Formula | Required Gain / Condition |
|---|---|---|---|---|
| Astable Multivibrator | Square wave () | Schmitt trigger () + timing () | ||
| Triangular Generator | Triangle + Square wave | Hysteresis comparator + Integrator | () | |
| RC Phase-Shift Oscillator | Sinusoid | Inverting op-amp + 3- ladder | () | |
| Wien Bridge Oscillator | Sinusoid (low distortion) | Non-inverting op-amp + Wien bridge | () |
Worked Out Examples
6.1
Assume ideal op-amps with supplies ():
- An inverting summing amplifier has feedback resistor and three inputs: through , through , and through . Find the output voltage .
- An ideal integrator has , , and initial capacitor voltage . If a constant DC step is applied at , calculate at .
1. Summing amplifier output: Because the inverting terminal is a virtual ground () with :
Since , the op-amp operates linearly without saturation.
2. Integrator ramp output at : With time constant :
- Summing amplifier output: .
- Integrator output at : .
6.2
An amplifier has an open-loop voltage gain and open-loop bandwidth . Negative feedback is applied with feedback factor . Calculate:
- The closed-loop gain and closed-loop bandwidth .
- The percentage change in if the open-loop gain drops by (to ) due to aging or temperature drift.
Closed-loop gain and bandwidth: The loop gain is , giving desensitivity factor :
Because negative feedback trades gain for bandwidth (constant gain–bandwidth product):
Gain stability when drops by to :
(A open-loop drift causes only a closed-loop gain drop.)
- , .
- Closed-loop gain drops by only (to ).
6.3
Using identical resistors and capacitors () in the frequency-determining network, design and determine the oscillation frequency and minimum feedback resistor (given input resistor ) for:
- A Wien Bridge Oscillator.
- An RC Phase-Shift Oscillator.
1. Wien Bridge Oscillator: The zero-phase resonant frequency is:
To satisfy Barkhausen's criterion with , the non-inverting stage requires :
2. RC Phase-Shift Oscillator: For the three-section ladder:
Because at , the inverting amplifier requires :
- Wien Bridge: (), .
- RC Phase-Shift: , .
Exercises
Practice Exercises — Operational Amplifier and Oscillator
Explain the virtual short and virtual ground concepts in an ideal op-amp operating with negative feedback. Derive the closed-loop voltage gain of both an inverting amplifier and a non-inverting amplifier.
Virtual Short and Virtual Ground: For an ideal op-amp, open-loop gain and input resistance . When negative feedback keeps the output unsaturated, , so (virtual short), and . If the non-inverting pin is grounded (), then (virtual ground).
Derivations:
- Inverting Amplifier (): Since , the current through equals the current through :
- Non-Inverting Amplifier (): Voltage division across and (with ) gives:
Negative feedback forces (virtual short; virtual ground when ) with . This yields for the inverting amplifier and for the non-inverting amplifier.
A difference (subtractor) amplifier has applied to the inverting input through (with feedback ), and applied to the non-inverting input through a voltage divider (from to ) and (from to ground). Find the output voltage .
Finding and applying virtual short (): With , voltage division at the non-inverting terminal gives:
Thus .
Applying KCL at the inverting terminal:
Multiply by :
(Alternatively, since , .)
.
An op-amp square-wave generator (astable multivibrator) uses , in the timing branch, and positive-feedback resistors (to ground) and (to ). Assume saturation voltages . Calculate:
- The feedback factor and the upper/lower threshold voltages .
- The oscillation period and frequency .
Feedback factor and threshold voltages:
Period and frequency :
- , threshold voltages .
- , .
An op-amp triangular-wave generator cascades a non-inverting Schmitt trigger (, , ) with an inverting integrator (, ). Calculate:
- The peak and peak-to-peak amplitude of the triangular output waveform.
- The frequency of oscillation .
Triangular wave peak and peak-to-peak amplitude: The Schmitt trigger flips whenever the integrator output reaches :
Oscillation frequency: Using :
- Peak amplitude , peak-to-peak amplitude .
- Frequency .
State the Barkhausen criterion for sustained sinusoidal oscillation. Explain how an RC phase-shift oscillator and a Wien bridge oscillator satisfy both conditions of the Barkhausen criterion.
Barkhausen Criterion: For an oscillator with forward gain and feedback factor to sustain steady sinusoidal oscillations at :
- Magnitude condition: .
- Phase condition: or .
How Phase-Shift and Wien Bridge Oscillators Satisfy It:
- RC Phase-Shift Oscillator: The inverting op-amp supplies phase shift, and three cascaded sections provide the remaining at (total ). Because the ladder has , setting satisfies .
- Wien Bridge Oscillator: The non-inverting op-amp supplies phase shift, and the series–parallel Wien bridge produces phase shift at (total ). Since the bridge has at , setting satisfies .
Barkhausen requires and (or ). The RC phase-shift oscillator pairs a inverting amplifier () with a 3- network (); the Wien bridge oscillator pairs a non-inverting amplifier () with a lead–lag bridge ().