C620 of 57
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

C6 · Lesson 20 · Single-supply op-amp circuits

Biasing signals at mid-supply when there's no negative rail

Textbook op-amp circuits run from ±15 V, so a signal can swing either side of ground. A battery, a USB port or a microcontroller board gives one supply and ground. With nothing below ground, an AC signal has to ride on a bias, usually half the supply, and every node in the circuit has to stay inside the op amp's input and output ranges. This lesson is the handful of habits that make single-supply circuits work.

Play

  • The curve is an amplifier's output on a single 5 V supply that can swing from 0.1 V to 4.9 V. The input is a sine riding on a bias.
  • With the bias at 2.5 V the output swings cleanly. Move the bias toward ground: one half of the wave flattens against the rail.
  • Raise the gain or the amplitude. Where does the output clip on both sides at once?

Predict

A single 5 V op amp amplifies a ±50 mV signal by 20, with the signal applied directly to its non-inverting input and the gain resistor to ground. What comes out?

Name it

Mid-supply bias

Make Vmid=VS/2 with a resistor divider and a bypass capacitor (or a buffered reference), couple the AC signal in through a capacitor, and return the input to Vmid through a resistor RB. The input coupling forms a high-pass corner at 12πRBCin.

The non-inverting AC amplifier

Return the gain resistor Rg to ground through a capacitor Cg. At DC the capacitor is open, so the gain is 1 and the output sits at Vmid; at signal frequencies the gain is 1+RfRg, above a corner at 12πRgCg. Returning Rg straight to ground would multiply the bias by the gain and slam the output into the rail.

The inverting amplifier

Put the non-inverting input at the bias and couple the signal in through a capacitor: the output rests at the bias and swings around it. Or, to level-shift a ground-referenced signal, set the non-inverting input to Vx; the output is then Vx(1+RfRin)−RfRinvin, and Vx can be chosen to center the output.

Ranges and ripple

  • The output can swing only from VOL to VOH, within tens of millivolts of the rails for rail-to-rail parts, a volt or more for older ones. The inputs must stay within the input common-mode range.
  • Any ripple on Vmid is a signal at the non-inverting input and is amplified by the AC gain. The divider's bypass capacitor filters it with a corner at 12πRTHC.

Worked example

Design a gain-20 microphone preamp on 5 V: input coupling to a 100 kΩ, 100 kΩ bias divider through 1 µF, and Rg = 1 kΩ. What are the input corner, the capacitor in series with Rg, and the largest input it can take with a rail-to-rail output (0.1 V margin)?

Show the solution
  1. Input corner. The input sees the divider's 50 kΩ: f=12π×50kΩ×1μF=3.2Hz
  2. Feedback resistor. For gain 20, Rf = 19 kΩ.
  3. Capacitor on the gain leg. For a 20 Hz corner, Cg=12π×1kΩ×20Hz=8.0μF Use 10 µF, giving 16 Hz.
  4. Largest input. The output rests at 2.5 V and can swing ±2.4 V, so before clipping the input can reach 2.4V20=120mV peak

Answer the input corner is 3.2 Hz, the gain leg takes 10 µF (8.0 µF for exactly 20 Hz), and the largest input is 120 mV peak.

Worked example

The 5 V supply in that preamp carries 50 mV of 100 Hz ripple. How much reaches the output, with and without a 10 µF bypass on the divider?

Show the solution
  1. Without the bypass. Vmid carries half the ripple, 25 mV, straight to the non-inverting input, and the AC gain of 20 makes it 25mV×20=500mV at the output: louder than most of the signal.
  2. The bypass corner. With 10 µF across the lower resistor, the divider's 50 kΩ Thévenin resistance makes a corner at f=12π×50kΩ×10μF=0.32Hz
  3. With the bypass. That cuts 100 Hz by about 314: 0.080 mV at Vmid and 1.6 mV at the output.
  4. What this shows. The bias divider is part of the signal path.

Answer 500 mV of ripple reaches the output without the bypass, and 1.6 mV with it.

Worked example

A ground-referenced sensor gives ±1 V. Fit it into a 0 to 3.3 V converter centered at 1.65 V with an inverting amplifier of gain −1.5 on 3.3 V. What voltage goes on the non-inverting input?

Show the solution
  1. Output in terms of Vx. vo=Vx(1+1.5)−1.5vin
  2. Center it. For vin = 0 to give 1.65 V, Vx=1.652.5=0.66V
  3. Check the range. The output runs from 1.65 − 1.5 = 0.15 V to 3.15 V as the sensor goes from +1 to −1 V: inverted, but inside the converter's range with 0.15 V to spare at each end. Firmware flips the sign.

Answer 0.66 V goes on the non-inverting input.

Check

An AC-coupled single-supply input is biased by two 100 kΩ resistors through a 0.1 µF capacitor. Where's its corner?

Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.

Check

A single-supply non-inverting amplifier has Rg = 1 kΩ returned to ground through a capacitor, and an AC gain of 101.

(a)

What capacitor puts the gain leg's corner at 10 Hz?

Write units the way you normally would: 1.5 µF, 1500 nF and 0.0015 mF are the same answer.

(b)

What feedback resistor?

Check

A single 5 V amplifier biased at mid-supply has gain 50 and an output that reaches within 0.05 V of each rail. What's the largest input peak?

Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.

Check

A supply with 50 mV of 120 Hz ripple feeds a bias divider of two 47 kΩ resistors with 10 µF across the lower one; the stage's AC gain is 10.

(a)

How much ripple reaches the bias node?

Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.

(b)

How much reaches the output?

Check

An inverting amplifier with gain −1.5 must center a ground-referenced input at 1.25 V.

(a)

What voltage goes on its non-inverting input?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

(b)

Where's the output for +0.5 V in?

Check

Why does a single-supply non-inverting amplifier return its gain resistor to ground through a capacitor?

Check

A single-supply stage on V biases at mid-supply with two R resistors and a bypass C; ripple at f on the supply; AC gain G.

Step 1

What's the bias?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why must the signal in a single-supply op-amp circuit be biased at mid-supply?

Practice

Keep practicing

7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.