Lecture 43: Op Amp Circuits II

Electronics I · · op amps, voltage regulator, integrator, differentiator

Contents

This typeset version was assembled by AI from my handwritten notes. The handwritten PDF is the original source. Video: Razavi Electronics 1, Lec 43.

Today’s lecture

  • Example application
  • Unity gain buffer
  • Integrator
  • Differentiator
Op amp with gain A_0: V_in1 at the + input, V_in2 at the - input, V_out = (V_in1 - V_in2)A_0

Source: opamp.tex

Review of lecture 42

Op amp with gain A_0: V_in1 at the + input, V_in2 at the - input, V_out = A_0(V_in1 - V_in2)

Source: ropamp.tex

  • Noninverting amplifier
Noninverting amplifier: V_in at the + input, R_1 from V_out to the - input node, R_2 from that node to ground

Source: noninv.tex

VoutVin≈1+R1R2\boxed{\frac{V_\mathrm{out}}{V_\mathrm{in}} \approx 1 + \frac{R_1}{R_2}}
  • Inverting amplifier
Inverting amplifier: V_in through R_1 into the - input, R_2 from the - input to V_out, + input grounded

Source: inv.tex

VoutVin≈−R2R1\frac{V_\mathrm{out}}{V_\mathrm{in}} \approx -\frac{R_2}{R_1}

Example of application: voltage regulator

Transformer, bridge rectifier and a capacitor feeding a device; the voltage on the capacitor has a small ripple versus time

Source: supply.tex

A regulator block: a rippled input voltage goes in, a flat constant voltage comes out

Source: reg.tex

Regulator

Regulator: an NMOS pass transistor from the input rail to the output, R_1 and R_2 dividing the output (the attenuator), the divided voltage at the op amp's - input, V_REF at its + input, the op amp output driving the NMOS gate

Source: regulator.tex

Vout≅VREF(1+R1R2)V_\mathrm{out} \cong V_\mathrm{REF}\left(1 + \frac{R_1}{R_2}\right)

Unity-gain buffer

Noninverting amplifier with R_1 and R_2; with the output tied directly to the - input it becomes a unity-gain buffer driven by V_in; equivalent: a source V_in in series with R_out/(1+A_0)

Source: ugb.tex

VoutVin≈1+R1R2\frac{V_\mathrm{out}}{V_\mathrm{in}} \approx 1 + \frac{R_1}{R_2}

Unity-gain buffer:

VoutVin≅1\frac{V_\mathrm{out}}{V_\mathrm{in}} \cong 1

Rin≈∞⇒R_\mathrm{in} \approx \infty \Rightarrow can sense voltages without loading the preceding stage.

VThev=VinV_\mathrm{Thev} = V_\mathrm{in}

RThevR_\mathrm{Thev}:

Op amp model (Thevenin).

Op amp Thevenin model: V_in1 grounded, the source A_0(V_in1 - V_in2) with V_in1 = 0 in series with R_out; a test source V_x at the output drives current i_x in, and the output is tied back to V_in2 = V_x, so the source equals -A_0 V_x

Source: thev.tex

ix=Vx+A0VxRouti_x = \frac{V_x + A_0V_x}{R_\mathrm{out}}Vxix=RoutA0+1  ⇐output resistance of unity-gain buffer\boxed{\frac{V_x}{i_x} = \frac{R_\mathrm{out}}{A_0 + 1}} \;\Leftarrow \text{output resistance of unity-gain buffer}

General inverting amplifier

Inverting amplifier with impedance Z_1 at the input and Z_2 in the feedback path

Source: geninv.tex

VoutVin≈−Z2Z1\frac{V_\mathrm{out}}{V_\mathrm{in}} \approx -\frac{Z_2}{Z_1}

Integrator

Integrator: V_in through R_1 to node X (virtual ground) at the - input, C_1 from X to V_out with + on the X side, + input grounded

Source: integ.tex

(A0A_0 large)

VoutVin=−1C1sR1=−1R1C1s  ←pole at origin\frac{V_\mathrm{out}}{V_\mathrm{in}} = -\frac{\frac{1}{C_1s}}{R_1} = -\frac{1}{R_1C_1s} \;\leftarrow \text{pole at origin}

Time-domain analysis:

Current thru R1≈VinR1,Current thru C1=C1dVdt\text{Current thru } R_1 \approx \frac{V_\mathrm{in}}{R_1}, \qquad \text{Current thru } C_1 = C_1\frac{dV}{dt}−dVoutdt×C1=VinR1  ⇒  Vout=−1R1C1∫Vin dt-\frac{dV_\mathrm{out}}{dt}\times C_1 = \frac{V_\mathrm{in}}{R_1} \;\Rightarrow\; V_\mathrm{out} = -\frac{1}{R_1C_1}\int V_\mathrm{in}\,dt

Example

Integrator driven by a step from 0 to V_0 through R_1, with C_1 in feedback

Source: intex.tex

V_in steps from 0 to V_0; the current in R_1 steps to V_0/R_1; V_out ramps down linearly from the step

Source: intwave.tex

Side note:

A step from 0 to V_0 drives R_1 into C_1 to ground; V_out is across C_1

Source: sidenote.tex

Transfer function if A0 is not very large

VX=−VoutA0V_X = -\frac{V_\mathrm{out}}{A_0}Vin+VoutA0R1=−VoutA0−Vout1C1s\frac{V_\mathrm{in} + \frac{V_\mathrm{out}}{A_0}}{R_1} = \frac{-\frac{V_\mathrm{out}}{A_0} - V_\mathrm{out}}{\frac{1}{C_1s}}VoutVin=−11A0+(1+1A0)R1C1s  ⟹  pole NOT at origin\frac{V_\mathrm{out}}{V_\mathrm{in}} = \frac{-1}{\frac{1}{A_0} + \left(1 + \frac{1}{A_0}\right)R_1C_1s} \;\Longrightarrow\; \text{pole NOT at origin}

Cautionary note

An integrator with the resistor going to the + input and the - input grounded: this integrator does not work

Source: caution.tex

Differentiator

Differentiator: V_in through C_1 into the - input, R_1 from the - input to V_out, + input grounded

Source: diff.tex

VoutVin=−R11C1s=−R1C1s\frac{V_\mathrm{out}}{V_\mathrm{in}} = -\frac{R_1}{\frac{1}{C_1s}} = -R_1C_1s

Plot the freq. response.

Magnitude of V_out/V_in versus omega: falling as 1/omega for the integrator, rising linearly for the differentiator

Source: freq.tex

  • Integrator ⇒\Rightarrow used more often.
  • Differentiator ⇒\Rightarrow amplifies high freq., so it could amplify noise as well. We rarely use differentiators.

Voltage adder (summer)

Mixing: a guitar mike and a violin mike feed a summing block

Source: mixing.tex

Summer: V_in1 through R_1 and V_in2 through R_2 into the - input (virtual ground), R_F from the - input to V_out, + input grounded

Source: summer.tex

Current thru RF=Vin1R1+Vin2R2⏟converted voltages to current\text{Current thru } R_\mathrm{F} = \underbrace{\frac{V_\mathrm{in1}}{R_1} + \frac{V_\mathrm{in2}}{R_2}}_{\text{converted voltages to current}}Vout=−RF(Vin1R1+Vin2R2)\boxed{V_\mathrm{out} = -R_\mathrm{F}\left(\frac{V_\mathrm{in1}}{R_1} + \frac{V_\mathrm{in2}}{R_2}\right)}

© 2026 Giorgi Aptsiauri. All rights reserved. Do not copy or republish this text or its figures without permission. Online version: https://giorgiaptsiauri.com/notes/razavi-electronics-1/lec43-op-amp-circuits-ii/