Physics · Book 3 · Bachelor Year 1

University Physics — Year 1

University Physics — Year 1 · Bachelor Year 1

10The Operational Amplifier

A strain gauge glued to a bridge girder changes its resistance by a thousandth when a truck passes; the Wheatstone bridge around it (Chapter 6) turns that into two millivolts. Two millivolts drive nothing. Between the gauge and the alarm that will close the bridge to traffic sits a chip the size of a fingernail, sold for a few cents, which multiplies the signal by a thousand, filters it, compares it with a threshold and lights a lamp — four jobs, one component, four different wirings. This chapter introduces the operational amplifier through its ideal model, derives the handful of circuits that every instrument is built from, and shows what happens when the feedback is removed.

10.1 The component and its ideal model

Definition 10.1 (Operational amplifier)

An operational amplifier is an integrated circuit with two inputs — the non-inverting input at potential V+V_+ and the inverting input at VV_- — and one output at potential VsV_s, powered by two supplies ±Vcc\pm V_{\mathrm{cc}} (typically ±15V\pm15\,\mathrm{V}) that are usually left off the diagrams. It amplifies the difference ϵ=V+V\epsilon = V_+ - V_-:

Vs=μϵas long as Vs<Vsat,V_s = \mu\,\epsilon \quad\text{as long as } \abs{V_s} < V_{\mathrm{sat}},

with an open-loop gain μ\mu of order 10510^5 and a saturation voltage VsatV_{\mathrm{sat}} slightly below VccV_{\mathrm{cc}}. When μϵ\mu\abs\epsilon would exceed VsatV_{\mathrm{sat}}, the output sticks at +Vsat+V_{\mathrm{sat}} or Vsat-V_{\mathrm{sat}}: the saturated regime.

Definition 10.2 (Ideal operational amplifier)

The ideal model assumes: (i) no current enters either input, i+=i=0i_+ = i_- = 0 (infinite input impedance); (ii) the output imposes its voltage whatever the current drawn (zero output impedance); (iii) infinite gain, μ\mu \to \infty. In the linear regime (Vs<Vsat\abs{V_s} < V_{\mathrm{sat}}) the third assumption forces

ϵ=V+V=0:\epsilon = V_+ - V_- = 0 :

the two inputs sit at the same potential (a “virtual short circuit”) although no current flows between them.

The operational amplifier: symbol with its two inputs, and its transfer characteristic V_s( ) — a steep linear segment of slope 105 (drawn far too shallow), then saturation at ± V_ sat. In the ideal model the linear segment is vertical: = 0.
The operational amplifier: symbol with its two inputs, and its transfer characteristic Vs(ϵ)V_s(\epsilon) — a steep linear segment of slope μ105\mu \sim 10^5 (drawn far too shallow), then saturation at ±Vsat\pm V_{\mathrm{sat}}. In the ideal model the linear segment is vertical: ϵ=0\epsilon = 0.

Proposition 10.3 (Negative feedback and the linear regime)

If the output is connected back to the inverting input through a network (negative feedback), the circuit has a stable linear operating point at ϵ=0\epsilon = 0 and the ideal-amplifier rules apply. If the output is fed back to the non-inverting input (positive feedback), or not fed back at all, the amplifier saturates: Vs=±VsatV_s = \pm V_{\mathrm{sat}} according to the sign of ϵ\epsilon.

Partial proof. With negative feedback, suppose VsV_s rises a little above its equilibrium value; through the feedback network VV_- rises, ϵ\epsilon falls, and the amplifier pulls VsV_s back down: the perturbation is corrected. With positive feedback the same perturbation raises V+V_+, increases ϵ\epsilon and drives VsV_s further away until it saturates. The full argument (a first-order model of the amplifier, μ(jω)=μ0/(1+jω/ω0)\mu(j\omega) = \mu_0/(1 + j\omega/\omega_0), and the stability of the resulting differential equation) is the subject of the Year 2 volume; the rule above is what one uses.

Remark 10.4 (Real amplifiers)

Three departures from the ideal matter in practice. The open-loop gain falls with frequency as μ0/(1+jf/f0)\mu_0/(1 + jf/f_0) with f010Hzf_0 \sim 10\,\mathrm{Hz}: the product μ0f0=fT1MHz\mu_0 f_0 = f_T \sim 1\,\mathrm{MHz} (the gain–bandwidth product) is the bandwidth available to a follower, and a circuit of closed-loop gain GG has bandwidth fT/Gf_T/G. The output cannot change faster than the slew rate, 1V/µs\sim1\,\mathrm{V}/\text{µ}\mathrm{s}. And a small input offset voltage (1mV\sim1\,\mathrm{mV}) is amplified like a signal — fatal for millivolt inputs unless trimmed.

10.2 The basic linear circuits

Method 10.5 (Analyzing an ideal op-amp circuit in the linear regime)

  1. Check that the feedback goes to the inverting input.
  2. Write i+=i=0i_+ = i_- = 0: the input nodes obey Kirchhoff’s node law with no current into the amplifier (dividers and Millman’s theorem apply).
  3. Write V+=VV_+ = V_- and solve for VsV_s.
  4. Verify afterwards that Vs<Vsat\abs{V_s} < V_{\mathrm{sat}}; if not, the amplifier is saturated and the result is ±Vsat\pm V_{\mathrm{sat}}.

Proposition 10.6 (Follower, non-inverting and inverting amplifiers)

  • Follower: output wired to VV_-, input on V+V_+: Vs=VeV_s = V_e; infinite input impedance, zero output impedance.
  • Non-inverting amplifier: output to VV_- through a divider R2R_2 (feedback) and R1R_1 (to ground), input on V+V_+:

    Vs=(1+R2R1)Ve.V_s = \left(1 + \frac{R_2}{R_1}\right)V_e .
  • Inverting amplifier: V+V_+ grounded, input through R1R_1 to VV_-, feedback R2R_2 from output to VV_-:

    Vs=R2R1Ve,V_s = -\frac{R_2}{R_1}\,V_e ,

    with VV_- held at ground potential (a virtual ground) and an input impedance R1R_1.

Proof. Follower: V=VsV_- = V_s and V+=VeV_+ = V_e; ϵ=0\epsilon = 0 gives Vs=VeV_s = V_e. Non-inverting: no current into VV_-, so the divider gives V=VsR1/(R1+R2)V_- = V_sR_1/(R_1 + R_2); equate to V+=VeV_+ = V_e. Inverting: V=V+=0V_- = V_+ = 0; node law at VV_- with i=0i_- = 0: (Ve0)/R1+(Vs0)/R2=0(V_e - 0)/R_1 + (V_s - 0)/R_2 = 0. The source delivers Ve/R1V_e/R_1: input impedance R1R_1.

The three basic amplifiers. In each the output feeds the inverting input, the amplifier works in its linear regime, and the gain is set by resistor ratios alone — not by the amplifier’s own enormous and ill-defined .
The three basic amplifiers. In each the output feeds the inverting input, the amplifier works in its linear regime, and the gain is set by resistor ratios alone — not by the amplifier’s own enormous and ill-defined μ\mu.

Example 10.7 (Why a follower)

A sensor of Thévenin resistance 10kΩ10\,\mathrm{k}\Omega feeding a 1kΩ1\,\mathrm{k}\Omega load delivers only 1/111/11 of its open-circuit voltage (Remark 6.14). A follower between them draws no current from the sensor and drives the load from a zero-impedance output: the full voltage arrives. The follower is an impedance adapter — and it makes the cascade rule of Proposition 9.14 exact.

Proposition 10.8 (Summing and difference amplifiers)

Inputs V1,V2V_1, V_2 through R1,R2R_1, R_2 to the inverting node, feedback RfR_f, V+V_+ grounded:

Vs=Rf(V1R1+V2R2)(summing amplifier).V_s = -R_f\left(\frac{V_1}{R_1} + \frac{V_2}{R_2}\right) \quad (\text{summing amplifier}).

With V1V_1 through R1R_1 to VV_- (feedback R2R_2) and V2V_2 through R1R_1 to V+V_+ (with R2R_2 from V+V_+ to ground):

Vs=R2R1(V2V1)(difference amplifier).V_s = \frac{R_2}{R_1}\,(V_2 - V_1) \quad (\text{difference amplifier}).

Proof. Summing: node law at the virtual ground, V1/R1+V2/R2+Vs/Rf=0V_1/R_1 + V_2/R_2 + V_s/R_f = 0. Difference: V+=V2R2/(R1+R2)V_+ = V_2R_2/(R_1 + R_2) (divider); node law at VV_-: (V1V)/R1+(VsV)/R2=0(V_1 - V_-)/R_1 + (V_s - V_-)/R_2 = 0, so Vs=V(1+R2/R1)V1R2/R1V_s = V_-(1 + R_2/R_1) - V_1R_2/R_1; set V=V+V_- = V_+ and simplify.

10.3 Integrator and differentiator

Proposition 10.9 (Integrator)

Input through RR to VV_-, a capacitor CC as feedback, V+V_+ grounded:

Vs(t)=1RC0tVe(t) ⁣dt+Vs(0),H=1jRCω.V_s(t) = -\frac{1}{RC}\int_0^t V_e(t')\,\dd t' + V_s(0), \qquad \underline H = -\frac{1}{jRC\omega} .

The gain falls 20dB20\,\mathrm{dB} per decade at every frequency and the phase is +90+90^\circ: an exact integrator — until the smallest offset or bias, integrated forever, drives the output into saturation.

Proof. Virtual ground: the current Ve/RV_e/R flows into the capacitor, whose voltage (from VV_- to the output) is Vs-V_s; hence C ⁣d(Vs)/ ⁣dt=Ve/RC\,\dd(-V_s)/\dd t = V_e/R, and in complex notation H=1/(jRCω)\underline H = -1/(jRC\omega).

Remark 10.10 (Taming the integrator)

A resistor RR' in parallel with CC gives

H=R/R1+jRCω,\underline H = -\frac{R'/R}{1 + jR'C\omega},

a first-order low-pass of DC gain R/R-R'/R and cutoff 1/RC1/R'C, which integrates for ω1/RC\omega \gg 1/R'C but cannot drift to saturation. Likewise the differentiator (capacitor at the input, resistor as feedback: Vs=RC ⁣dVe/ ⁣dtV_s = -RC\,\dd V_e/\dd t, H=jRCω\underline H = -jRC\omega) amplifies high-frequency noise without limit unless a small series resistor caps its gain.

The integrator and its Bode diagram (blue, -20\, dB/ decade throughout, infinite gain at DC); with a resistor across C the gain is capped at low frequency (red): a low-pass that integrates above its cutoff.
The integrator and its Bode diagram (blue, 20dB/decade-20\,\mathrm{dB}/\mathrm{decade} throughout, infinite gain at DC); with a resistor across CC the gain is capped at low frequency (red): a low-pass that integrates above its cutoff.

Example 10.11 (Triangle from square)

R=10kΩR = 10\,\mathrm{k}\Omega, C=100nFC = 100\,\mathrm{nF}, 1/RC=1000s11/RC = 1000\,\mathrm{s}^{-1}. A 1kHz1\,\mathrm{kHz} square wave of ±1V\pm1\,\mathrm{V} gives a triangle of slope 1000V/s\mp1000\,\mathrm{V}/\mathrm{s} and amplitude ET/4RC=0.25VET/4RC = 0.25\,\mathrm{V} — without the 1/ω1/\omega attenuation of a passive RC, and with a zero-impedance output to feed the next stage.

10.4 Active filters

Proposition 10.12 (First-order active low-pass)

The inverting amplifier with a capacitor CC across its feedback resistor R2R_2 has

H=R2/R11+jR2Cω:\underline H = -\frac{R_2/R_1}{1 + jR_2C\omega}:

a low-pass of DC gain R2/R1-R_2/R_1 (which can exceed 11) and cutoff ωc=1/R2C\omega_c = 1/R_2C, with zero output impedance — stages cascade by simple multiplication.

Proof. Inverting amplifier with the feedback impedance R21/jCω=R2/(1+jR2Cω)R_2 \parallel 1/jC\omega = R_2/(1 + jR_2C\omega) in place of R2R_2.

10.5 Without negative feedback: comparators

Proposition 10.13 (Comparator)

With no feedback, the ideal amplifier is saturated: Vs=+VsatV_s = +V_{\mathrm{sat}} if V+>VV_+ > V_-, Vsat-V_{\mathrm{sat}} if V+<VV_+ < V_-. With a reference VrefV_{\mathrm{ref}} on one input and a signal on the other, the output tells whether the signal exceeds the reference — a one-bit converter.

Proof. μϵ\mu\epsilon exceeds VsatV_{\mathrm{sat}} for any ϵ>Vsat/μ0.1mV\abs\epsilon > V_{\mathrm{sat}}/\mu \sim 0.1\,\mathrm{mV}.

Proposition 10.14 (Schmitt trigger)

Feed a fraction β=R1/(R1+R2)\beta = R_1/(R_1 + R_2) of the output back to V+V_+ (divider R1R_1 to ground, R2R_2 from the output) and apply the signal VeV_e to VV_-. The output switches from +Vsat+V_{\mathrm{sat}} to Vsat-V_{\mathrm{sat}} when VeV_e rises past +βVsat+\beta V_{\mathrm{sat}}, and back when VeV_e falls below βVsat-\beta V_{\mathrm{sat}}: two thresholds, a hysteresis of width 2βVsat2\beta V_{\mathrm{sat}}, immune to noise smaller than that width.

Proof. Positive feedback: saturated. If Vs=+VsatV_s = +V_{\mathrm{sat}} then V+=βVsatV_+ = \beta V_{\mathrm{sat}}, and ϵ=βVsatVe\epsilon = \beta V_{\mathrm{sat}} - V_e stays positive until VeV_e exceeds βVsat\beta V_{\mathrm{sat}}; then the output flips, V+V_+ drops to βVsat-\beta V_{\mathrm{sat}}, and the new state holds until VeV_e falls below that.

The Schmitt trigger: positive feedback through R_1, R_2 gives two thresholds ± V_ sat. The output flips high-to-low when V_e rises past the upper threshold and low-to-high when it falls below the lower one (arrows): a hysteresis cycle.
The Schmitt trigger: positive feedback through R1R_1, R2R_2 gives two thresholds ±βVsat\pm\beta V_{\mathrm{sat}}. The output flips high-to-low when VeV_e rises past the upper threshold and low-to-high when it falls below the lower one (arrows): a hysteresis cycle.

Example 10.15 (The relaxation oscillator)

Connect the Schmitt trigger’s output back to its own inverting input through RR, with CC from VV_- to ground. The capacitor charges toward ±Vsat\pm V_{\mathrm{sat}} and flips the trigger each time it reaches ±βVsat\pm\beta V_{\mathrm{sat}}: the output is a square wave, the capacitor voltage a chain of exponential arcs, and the period is

T=2RCln1+β1βT = 2RC\ln\frac{1 + \beta}{1 - \beta}

(Exercise 10.12): 2.2RC2.2\,RC for β=12\beta = \tfrac12. No input, one capacitor, and a clock — a system that oscillates because it cannot settle, a theme that returns with the feedback oscillators of the Year 2 volume.

10.6 Exercises

Exercise 10.1

A non-inverting amplifier has R1=1.0kΩR_1 = 1.0\,\mathrm{k}\Omega, R2=9.0kΩR_2 = 9.0\,\mathrm{k}\Omega, Vsat=15VV_{\mathrm{sat}} = 15\,\mathrm{V}. Gain? Output for Ve=0.50VV_e = 0.50\,\mathrm{V}? Largest input before saturation?

Solution

Solution of Exercise 10.1.

G=1+9=10G = 1 + 9 = 10; Vs=5.0VV_s = 5.0\,\mathrm{V}; saturation at Ve=15/10=1.5VV_e = 15/10 = 1.5\,\mathrm{V}.

Exercise 10.2

An inverting amplifier has R1=10kΩR_1 = 10\,\mathrm{k}\Omega, R2=100kΩR_2 = 100\,\mathrm{k}\Omega. Gain, input impedance, current drawn from a 1.0V1.0\,\mathrm{V} source, output.

Solution

Solution of Exercise 10.2.

G=10G = -10; input impedance R1=10kΩR_1 = 10\,\mathrm{k}\Omega; i=1.0/104=0.10mAi = 1.0/10^4 = 0.10\,\mathrm{mA}; Vs=10VV_s = -10\,\mathrm{V}.

Exercise 10.3

A sensor of internal resistance 10kΩ10\,\mathrm{k}\Omega and open-circuit voltage 1.0V1.0\,\mathrm{V} must drive a 1.0kΩ1.0\,\mathrm{k}\Omega load. Voltage across the load without and with a follower between them?

Solution

Solution of Exercise 10.3.

Without: divider 1/(1+10)=0.0911/(1 + 10) = 0.091, 91mV91\,\mathrm{mV}. With the follower: 1.0V1.0\,\mathrm{V} — the follower draws nothing from the sensor and supplies the 1mA1\,\mathrm{mA} the load needs.

Exercise 10.4

A summing amplifier has Rf=10kΩR_f = 10\,\mathrm{k}\Omega and inputs through 10kΩ10\,\mathrm{k}\Omega and 20kΩ20\,\mathrm{k}\Omega. Write VsV_s; compute it for V1=1.0VV_1 = 1.0\,\mathrm{V}, V2=2.0VV_2 = 2.0\,\mathrm{V}.

Solution

Solution of Exercise 10.4.

Vs=Rf(V1/R1+V2/R2)=(V1+V2/2)=(1.0+1.0)=2.0VV_s = -R_f(V_1/R_1 + V_2/R_2) = -(V_1 + V_2/2) = -(1.0 + 1.0) = -2.0\,\mathrm{V}.

Exercise 10.5 ★★

Derive the difference amplifier’s Vs=(R2/R1)(V2V1)V_s = (R_2/R_1)(V_2 - V_1). With R1=10kΩR_1 = 10\,\mathrm{k}\Omega, R2=100kΩR_2 = 100\,\mathrm{k}\Omega, V1=1.00VV_1 = 1.00\,\mathrm{V}, V2=1.05VV_2 = 1.05\,\mathrm{V}: output? What happened to the 1V1\,\mathrm{V} common to both inputs?

Solution

Solution of Exercise 10.5.

V+=V2R2/(R1+R2)V_+ = V_2R_2/(R_1 + R_2); at VV_-: (V1V)/R1=(VVs)/R2(V_1 - V_-)/R_1 = (V_- - V_s)/R_2, so Vs=V(1+R2/R1)V1R2/R1V_s = V_-(1 + R_2/R_1) - V_1R_2/R_1; with V=V+V_- = V_+: Vs=V2R2/R1V1R2/R1V_s = V_2R_2/R_1 - V_1R_2/R_1. Numbers: 10×0.05=0.50V10 \times 0.05 = 0.50\,\mathrm{V}; the common 1V1\,\mathrm{V} contributes nothing — common-mode rejection.

Exercise 10.6 ★★

Integrator with R=10kΩR = 10\,\mathrm{k}\Omega, C=100nFC = 100\,\mathrm{nF}, output initially zero. A 1.0V1.0\,\mathrm{V} step is applied: slope of the output and time to saturation (15V15\,\mathrm{V}). A 1.0kHz1.0\,\mathrm{kHz} square wave of ±1.0V\pm1.0\,\mathrm{V}: shape and amplitude of the output.

Solution

Solution of Exercise 10.6.

Vs=(1/RC)VeV_s = -(1/RC)\int V_e: slope 1000×1.0=1000V/s-1000 \times 1.0 = -1000\,\mathrm{V}/\mathrm{s}; saturation after 15/1000=15ms15/1000 = 15\,\mathrm{ms}. Square wave: triangle of amplitude ET/4RC=1.0×103/(4×103)=0.25VET/4RC = 1.0 \times 10^{-3}/(4 \times 10^{-3}) = 0.25\,\mathrm{V} (plus whatever constant the initial charge left).

Exercise 10.7 ★★

A 1.0MΩ1.0\,\mathrm{M}\Omega resistor is added across the capacitor of the previous integrator. Give the transfer function, the DC gain, the cutoff frequency, and the gain at 1.0kHz1.0\,\mathrm{kHz}; in which range does the circuit still integrate?

Solution

Solution of Exercise 10.7.

H=(R/R)/(1+jRCω)\underline H = -(R'/R)/(1 + jR'C\omega): DC gain 100-100; cutoff 1/(2πRC)=1.6Hz1/(2\pi R'C) = 1.6\,\mathrm{Hz}; at 1kHz1\,\mathrm{kHz}, RCω=628R'C\omega = 628, G=100/628=0.16G = 100/628 = 0.16 — the integrator value 1/RCω1/RC\omega. It integrates for f1.6Hzf \gg 1.6\,\mathrm{Hz}.

Exercise 10.8 ★★

Design an inverting active low-pass with a gain of 20dB20\,\mathrm{dB} in the passband and a cutoff at 500Hz500\,\mathrm{Hz}, using R1=1.0kΩR_1 = 1.0\,\mathrm{k}\Omega.

Solution

Solution of Exercise 10.8.

R2/R1=10R_2/R_1 = 10: R2=10kΩR_2 = 10\,\mathrm{k}\Omega; C=1/(2πR2fc)=1/(2π×104×500)=32nFC = 1/(2\pi R_2f_c) = 1/(2\pi \times 10^4 \times 500) = 32\,\mathrm{nF}.

Exercise 10.9 ★★

A real amplifier has μ0=105\mu_0 = 10^5 and fT=1.0MHzf_T = 1.0\,\mathrm{MHz}. For a non-inverting amplifier designed for a gain of 100100: actual DC gain (keep μ0\mu_0 finite in the analysis), and bandwidth. Bandwidth of a follower?

Solution

Solution of Exercise 10.9.

With finite μ\mu: Vs=μ(VeβVs)V_s = \mu(V_e - \beta V_s), β=1/100\beta = 1/100, so G=μ/(1+μβ)=105/(1+103)=99.9G = \mu/(1 + \mu\beta) = 10^5/(1 + 10^3) = 99.9. Bandwidth fT/G=10kHzf_T/G = 10\,\mathrm{kHz}; follower: 1MHz1\,\mathrm{MHz}.

Exercise 10.10 ★★★

A comparator with Vref=2.0VV_{\mathrm{ref}} = 2.0\,\mathrm{V} on VV_- watches a slowly rising signal carrying 50mV50\,\mathrm{mV} of noise. Describe the output as the signal crosses 2.0V2.0\,\mathrm{V}. Remedy?

Solution

Solution of Exercise 10.10.

Each noise excursion across 2.0V2.0\,\mathrm{V} flips the output: a burst of rapid switching (“chatter”) around the crossing. Remedy: hysteresis wider than the noise, i.e. a Schmitt trigger.

Exercise 10.11 ★★★

Schmitt trigger with R1=1.0kΩR_1 = 1.0\,\mathrm{k}\Omega, R2=9.0kΩR_2 = 9.0\,\mathrm{k}\Omega, Vsat=15VV_{\mathrm{sat}} = 15\,\mathrm{V}: derive and compute the two thresholds. Sketch VsV_s for a triangular VeV_e of amplitude 3V3\,\mathrm{V}.

Solution

Solution of Exercise 10.11.

V+=VsR1/(R1+R2)=Vs/10V_+ = V_sR_1/(R_1 + R_2) = V_s/10: thresholds ±1.5V\pm1.5\,\mathrm{V}. The output is +15V+15\,\mathrm{V} while VeV_e rises until 1.5V1.5\,\mathrm{V}, flips to 15V-15\,\mathrm{V}, stays there until VeV_e falls below 1.5V-1.5\,\mathrm{V}, flips back: a square wave of the triangle’s frequency, its edges at the threshold crossings.

Exercise 10.12 ★★★

Relaxation oscillator with R1=R2R_1 = R_2 (β=12\beta = \tfrac12). Derive the period T=2RCln1+β1βT = 2RC\ln\frac{1 + \beta}{1 - \beta} from the charging of CC through RR between the two thresholds; choose RR for 1.0kHz1.0\,\mathrm{kHz} with C=100nFC = 100\,\mathrm{nF}; sketch Vs(t)V_s(t) and VC(t)V_C(t).

Solution

Solution of Exercise 10.12.

With Vs=+VsatV_s = +V_{\mathrm{sat}}, VCV_C charges from βVsat-\beta V_{\mathrm{sat}} toward +Vsat+V_{\mathrm{sat}}: VC=Vsat(1+β)Vsatet/RCV_C = V_{\mathrm{sat}} - (1 + \beta)V_{\mathrm{sat}} \eu^{-t/RC}, reaching +βVsat+\beta V_{\mathrm{sat}} when et/RC=(1β)/(1+β)\eu^{-t/RC} = (1 - \beta)/(1 + \beta): half-period RCln1+β1βRC\ln\frac{1 + \beta}{1 - \beta}, hence TT. β=12\beta = \tfrac12: T=2RCln3=2.2RCT = 2RC\ln 3 = 2.2RC; RC=1/(2.2×103)=0.455msRC = 1/(2.2 \times 10^3) = 0.455\,\mathrm{ms}, R=4.6kΩR = 4.6\,\mathrm{k}\Omega. VsV_s: square wave ±15V\pm15\,\mathrm{V}; VCV_C: exponential arcs between ±7.5V\pm7.5\,\mathrm{V}.

10.7 Problem: An instrumentation chain for a strain gauge

Problem 10.1

Weekend problem — from two millivolts on a bridge girder to a red lamp: followers, a difference amplifier, an active filter and a Schmitt trigger, and the two imperfections that decide whether the chain works

A strain gauge of resistance R(1+ϵ)R(1 + \epsilon), R=1.00kΩR = 1.00\,\mathrm{k}\Omega, 0ϵ2.0×1030 \leq \epsilon \leq 2.0 \times 10^{-3}, forms a Wheatstone bridge with three fixed 1.00kΩ1.00\,\mathrm{k}\Omega resistors, fed by E=5.00VE = 5.00\,\mathrm{V}. The bridge output u=VBVAu = V_B - V_A (between the two midpoints) is uEϵ/4u \approx E\epsilon/4 (the sign is chosen by wiring). Amplifiers: ideal unless stated; Vsat=15VV_{\mathrm{sat}} = 15\,\mathrm{V}; where needed, fT=1.0MHzf_T = 1.0\,\mathrm{MHz}, slew rate 0.5V/µs0.5\,\mathrm{V}/\text{µ}\mathrm{s}, input offset 1mV1\,\mathrm{mV}.

Part I — The bridge and its loading.

  1. Recall why uEϵ/4u \approx E\epsilon/4 for small ϵ\epsilon.
  2. Compute uu at full scale (ϵ=2.0×103\epsilon = 2.0 \times 10^{-3}).
  3. Give the potential of each midpoint (relative to the bridge’s negative terminal) at zero strain and at full scale. What is their common value called?
  4. Each midpoint is the output of a divider of two 1kΩ1\,\mathrm{k}\Omega resistors: what is the Thévenin resistance seen between the two midpoints?
  5. An amplifier whose input resistance is 10kΩ10\,\mathrm{k}\Omega is connected across the bridge output: what fraction of uu does it receive?
  6. Why does a follower on each midpoint cure this? State the two properties used.
  7. What are the followers’ output voltages (in terms of VAV_A, VBV_B), and what current do they draw from the bridge?

Part II — Amplifying the difference.

  1. The followers feed a difference amplifier (R1R_1 at both inputs, R2R_2 as feedback and to ground). Derive Vs=(R2/R1)(VBVA)V_s = (R_2/R_1)(V_B - V_A).
  2. Choose R1=10kΩR_1 = 10\,\mathrm{k}\Omega and R2R_2 for a gain of 100100.
  3. A second, non-inverting stage multiplies by 1010: give its resistors, the total gain, and the output at full scale.
  4. Both midpoints sit near E/2=2.5VE/2 = 2.5\,\mathrm{V} (the common-mode voltage). What does an exactly matched difference amplifier do with it? If one resistor ratio is off by 1%1\%, estimate the spurious input-referred voltage and compare with the signal.
  5. The first amplifier has a 1mV1\,\mathrm{mV} input offset. What output error does it produce after the total gain? Conclude.
  6. With fT=1MHzf_T = 1\,\mathrm{MHz}, what is the bandwidth of each stage? Is it sufficient for a signal below 5Hz5\,\mathrm{Hz}?
  7. The output must swing by 2.5V2.5\,\mathrm{V} when a truck arrives in about 10ms10\,\mathrm{ms}: does the slew rate limit?

Part III — Filtering. The amplified signal carries a 50Hz50\,\mathrm{Hz} hum picked up from the mains.

  1. Design an inverting active low-pass with gain 1-1 and cutoff 10Hz10\,\mathrm{Hz}, using R1=R2=16kΩR_1 = R_2 = 16\,\mathrm{k}\Omega: find CC.
  2. Compute its attenuation at 50Hz50\,\mathrm{Hz} in decibels.
  3. Compute the phase shift at 5Hz5\,\mathrm{Hz} and the corresponding delay. Acceptable for an alarm?
  4. Why is an active filter preferable here to a passive RC (two reasons)?
  5. A second identical stage is cascaded: attenuation at 50Hz50\,\mathrm{Hz}? Why is the product rule exact here?

Part IV — Threshold and alarm. The alarm must trip when the strain exceeds 1.6×1031.6 \times 10^{-3}.

  1. To what output voltage of the chain does this correspond? A comparator with this reference: output states.
  2. The filtered signal still carries 50mV50\,\mathrm{mV} of noise near the threshold. What does the plain comparator do?
  3. A Schmitt trigger with the reference on one input and feedback β\beta: show that the thresholds are Vref±βVsatV_{\mathrm{ref}} \pm \beta V_{\mathrm{sat}}; choose β\beta for ±0.10V\pm0.10\,\mathrm{V} and give R1R_1, R2R_2.
  4. State the two thresholds in volts and in strain.
  5. The output drives an LED (2.0V2.0\,\mathrm{V}, 13mA13\,\mathrm{mA}) through a resistor: compute it. What protects the LED when the output is at Vsat-V_{\mathrm{sat}}?
  6. Summarize the chain, stage by stage, and name the two non-idealities that set its real limits.
Solution

Solution of Problem 10.1.

1. Two dividers: u=E[12(1+ϵ)/(2+ϵ)]Eϵ/4u = E[\tfrac12 - (1 + \epsilon)/(2 + \epsilon)] \approx -E\epsilon/4 (Proposition 6.22); wiring fixes the sign.

2. u=5.00×2.0×103/4=2.5mVu = 5.00 \times 2.0\times10^{-3}/4 = 2.5\,\mathrm{mV}.

3. VA=E/2=2.500VV_A = E/2 = 2.500\,\mathrm{V} always; VB=E(1+ϵ)/(2+ϵ)2.500+0.0025=2.5025VV_B = E(1 + \epsilon)/(2 + \epsilon) \approx 2.500 + 0.0025 = 2.5025\,\mathrm{V} at full scale. The 2.5V2.5\,\mathrm{V} shared by both is the common-mode voltage.

4. Each midpoint: 11=500Ω1 \parallel 1 = 500\,\Omega; between the two midpoints, 1.0kΩ1.0\,\mathrm{k}\Omega.

5. 10/(10+1)=0.9110/(10 + 1) = 0.91: a 9%9\% loss.

6. Infinite input impedance (no current from the bridge, so the midpoints keep their open-circuit potentials) and zero output impedance (the next stage can draw what it needs).

7. VAV_A and VBV_B exactly; zero current.

8. As in Proposition 10.8: V+=VBR2/(R1+R2)V_+ = V_BR_2/(R_1 + R_2), node law at VV_-, V=V+V_- = V_+.

9. R2=1.0MΩR_2 = 1.0\,\mathrm{M}\Omega.

10. 1+R2/R1=101 + R_2/R_1 = 10: e.g. 1kΩ1\,\mathrm{k}\Omega and 9kΩ9\,\mathrm{k}\Omega. Total gain 10001000; full scale 2.5×103×1000=2.5V2.5 \times 10^{-3} \times 1000 = 2.5\,\mathrm{V}.

11. Matched: the common 2.5V2.5\,\mathrm{V} cancels exactly (only VBVAV_B - V_A survives). A 1%1\% mismatch passes about 1%1\% of it: an input-referred error of order 25mV25\,\mathrm{mV}, ten times the full-scale signal — the four resistors must be matched to better than 0.01%0.01\% (or the common-mode voltage removed first).

12. 1 mV×1000=1V1\ \mathrm{mV} \times 1000 = 1\,\mathrm{V}, forty percent of full scale: unusable without offset trimming, a low-offset (chopper) amplifier, or a zero calibration with no load on the girder.

13. Stage 1: fT/100=10kHzf_T/100 = 10\,\mathrm{kHz}; stage 2: 100kHz100\,\mathrm{kHz}; far above 5Hz5\,\mathrm{Hz}.

14. Required 2.5/102=250V/s=0.25mV/µs2.5/10^{-2} = 250\,\mathrm{V}/\mathrm{s} = 0.25\,\mathrm{mV}/\text{µ}\mathrm{s}, two thousand times below the slew rate: no.

15. C=1/(2πR2fc)=1/(2π×1.6×104×10)=1.0µFC = 1/(2\pi R_2f_c) = 1/(2\pi \times 1.6\times10^4 \times 10) = 1.0\,\text{µ}\mathrm{F}.

16. x=5x = 5: G=1/26G = 1/\sqrt{26}, 14dB-14\,\mathrm{dB}.

17. φ=arctan0.5=27\varphi = -\arctan 0.5 = -27^\circ; delay φ/ω=15ms\varphi/\omega = 15\,\mathrm{ms} — nothing against a truck’s passage.

18. No loading of the following stage (zero output impedance) and gain available; also no attenuation of the wanted signal below cutoff.

19. 28dB-28\,\mathrm{dB} (gains multiply, decibels add), exact because the first stage’s output impedance is zero: the second stage does not load it.

20. ϵ=1.6×103u=2.0mV2.0V\epsilon = 1.6\times10^{-3} \to u = 2.0\,\mathrm{mV} \to 2.0\,\mathrm{V}; output +Vsat+V_{\mathrm{sat}} when the signal exceeds 2.0V2.0\,\mathrm{V}, Vsat-V_{\mathrm{sat}} below (or the reverse, by wiring).

21. It chatters: the lamp flickers as noise crosses the reference.

22. With VrefV_{\mathrm{ref}} through R2R_2 and the output through R1R_1… in the standard form, the non-inverting input sits at Vref(1β)+βVsV_{\mathrm{ref}}(1 - \beta) + \beta V_s; taking the reference shifted accordingly, the switching levels are Vref±βVsatV_{\mathrm{ref}} \pm \beta V_{\mathrm{sat}}. βVsat=0.10V\beta V_{\mathrm{sat}} = 0.10\,\mathrm{V}: β=1/150\beta = 1/150, e.g. R1=1.0kΩR_1 = 1.0\,\mathrm{k}\Omega, R2=149kΩR_2 = 149\,\mathrm{k}\Omega.

23. 2.1V2.1\,\mathrm{V} (trip) and 1.9V1.9\,\mathrm{V} (release): strains 1.68×1031.68 \times 10^{-3} and 1.52×1031.52 \times 10^{-3}.

24. R=(152.0)/0.013=1.0kΩR = (15 - 2.0)/0.013 = 1.0\,\mathrm{k}\Omega. At Vsat-V_{\mathrm{sat}} the LED is reverse-biased by 15V15\,\mathrm{V}, beyond its rating: an ordinary diode in antiparallel (or in series) protects it.

25. Bridge (2.5mV2.5\,\mathrm{mV} full scale) \to two followers (no loading) \to difference amplifier ×100\times100 \to non-inverting ×10\times10 \to active low-pass 10Hz10\,\mathrm{Hz} \to Schmitt trigger at 2.0V±0.1V2.0\,\mathrm{V} \pm 0.1\,\mathrm{V} \to LED. The real limits: the input offset voltage and the matching of the difference amplifier’s resistors, both comparable to the millivolt signal.

Terms defined in this chapter

See all 393 terms in the glossary