PadhaikoAll subjects

Operational Amplifier and Oscillator

Fundamental of Electrical and Electronics Engineering (ENEX 101)

Open in the Padhaiko app

6.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 ).

Ideal vs. Practical Op-Amp Parameters (e.g., 741 IC)
ParameterIdeal Op-AmpTypical 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

Definition

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):

  1. Zero Input Current: Because , neither input terminal draws current:
  1. Virtual Short (): Because output is finite while , the differential input voltage approaches zero:
  1. 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

  1. Inverting Amplifier: Input connects through to the inverting () terminal, feedback resistor connects output to (), and () is grounded (). By KCL at ():
  1. Non-Inverting Amplifier and Voltage Follower: Input connects directly to (), while (to ground) and (to ) form a voltage divider at (). Since :
  1. 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).

  1. 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.)

  1. 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.)

Summary of Op-Amp Linear Configurations and Applications
CircuitGain / Output RelationInput ImpedanceKey Applications
Inverting AmplifierSignal inversion, precision scaling
Non-Inverting AmplifierVery high ()High-impedance sensor amplification
Voltage Follower ()Very high ()Impedance buffer, isolation stage
Summing Amplifier per inputAudio mixers, weighted DACs, level shifting
IntegratorRamp/triangle wave generation, low-pass filtering
DifferentiatorCapacitive ()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.

AspectNegative FeedbackPositive Feedback
Feedback PolarityOpposes input: Reinforces input:
Closed-Loop Gain () (if )
Bandwidth & GainReduces gain by , increases bandwidth by Increases gain, reduces bandwidth
Stability & DistortionStabilizes gain against drift; lowers nonlinear distortion and noiseCan become unstable; drives circuit to saturation or oscillation
Primary ApplicationsLinear op-amp amplifiers, voltage regulators, control systemsOscillators, 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.

Theorem

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:

  1. 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 .)

  1. 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).

(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:

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):

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 ):

(In practice, or includes a nonlinear element such as a thermistor or back-to-back Zener/diode limiter to stabilize amplitude without clipping.)

Op-Amp Waveform Generators and Sinusoidal Oscillators
CircuitOutput WaveformFeedback TopologyFrequency FormulaRequired Gain / Condition
Astable MultivibratorSquare wave ()Schmitt trigger () + timing ()
Triangular GeneratorTriangle + Square waveHysteresis comparator + Integrator ()
RC Phase-Shift OscillatorSinusoidInverting op-amp + 3- ladder ()
Wien Bridge OscillatorSinusoid (low distortion)Non-inverting op-amp + Wien bridge ()

Worked Out Examples

Example 6.1

6.1

Assume ideal op-amps with supplies ():

  1. An inverting summing amplifier has feedback resistor and three inputs: through , through , and through . Find the output voltage .
  2. 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 :

Answer:
  1. Summing amplifier output: .
  2. Integrator output at : .
Example 6.2

6.2

An amplifier has an open-loop voltage gain and open-loop bandwidth . Negative feedback is applied with feedback factor . Calculate:

  1. The closed-loop gain and closed-loop bandwidth .
  2. 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.)

Answer:
  1. , .
  2. Closed-loop gain drops by only (to ).
Example 6.3

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:

  1. A Wien Bridge Oscillator.
  2. 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 :

Answer:
  1. Wien Bridge: (), .
  2. RC Phase-Shift: , .

Exercises

Practice Exercises — Operational Amplifier and Oscillator

Question 1

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:
Answer:

Negative feedback forces (virtual short; virtual ground when ) with . This yields for the inverting amplifier and for the non-inverting amplifier.

Question 2

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 , .)

Answer:

.

Question 3

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:

  1. The feedback factor and the upper/lower threshold voltages .
  2. The oscillation period and frequency .

Feedback factor and threshold voltages:

Period and frequency :

Answer:
  1. , threshold voltages .
  2. , .
Question 4

An op-amp triangular-wave generator cascades a non-inverting Schmitt trigger (, , ) with an inverting integrator (, ). Calculate:

  1. The peak and peak-to-peak amplitude of the triangular output waveform.
  2. The frequency of oscillation .

Triangular wave peak and peak-to-peak amplitude: The Schmitt trigger flips whenever the integrator output reaches :

Oscillation frequency: Using :

Answer:
  1. Peak amplitude , peak-to-peak amplitude .
  2. Frequency .
Question 5

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 :

  1. Magnitude condition: .
  2. 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 .
Answer:

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 ().

← Transistor (part 2: 5.4–5.6)