Practice problems
Op-amp limits practice problems
A real op-amp has limits: its open-loop gain falls at high frequencies, its output can only change so fast (the slew rate), and its output swing stops short of the supply rails. These ten problems find the bandwidth from the gain-bandwidth product, the fastest sine the slew rate allows, where the output saturates, and how far a small input offset voltage shifts the output. Type your answer to check it, and open the working whenever you want it.
The method
- Noise gain is G for a non-inverting amplifier and 1 + |G| for an inverting one
- Slew rate SR is in V/µs: 0.5 V/µs is 500,000 V/s
- The output swing stops short of each rail: about 1.5 V of headroom for a classic op-amp, much less for a rail-to-rail one
- An input offset voltage acts like a small signal at the + input, so the output shifts by offset × noise gain
The problems
Type your answer and tap Check. Every one has the working, step by step.
Problem 1 of 10
An op-amp has a gain-bandwidth product (GBW) of 1 MHz. It's wired as a non-inverting amplifier with a closed-loop gain of 20. What is its closed-loop bandwidth, in kilohertz?
Show the working
- Closed-loop gain × bandwidth stays about constant, so bandwidth ≈ GBW over gain.
- Bandwidth ≈ 1,000,000 Hz over 20 = 50,000 Hz = 50 kHz
Answer: 50 kHz
Problem 2 of 10
An inverting amplifier has a gain of −9, and its op-amp's GBW is 1 MHz. What is its bandwidth, in kilohertz?
Show the working
- For an inverting amplifier, divide by the noise gain, 1 + |G|, not by the signal gain itself.
- Noise gain = 1 + 9 = 10
- Bandwidth ≈ 1,000,000 Hz over 10 = 100,000 Hz = 100 kHz
Answer: 100 kHz
Problem 3 of 10
A non-inverting amplifier needs a gain of 25 with a bandwidth of at least 40 kHz. What is the smallest GBW its op-amp can have, in megahertz?
Show the working
- Turn the rule round: GBW = gain × bandwidth.
- GBW = 25 × 40,000 Hz = 1,000,000 Hz = 1 MHz
Answer: 1 MHz
Problem 4 of 10
An op-amp with a slew rate of 0.5 V/µs drives a sine wave with a 10 V peak. What is the highest frequency it can output at that amplitude without slew-rate distortion (its full-power bandwidth), in kilohertz?
Show the working
- A sine's maximum rate of change is 2π × f × Vpeak, so the full-power bandwidth is f = SR over 2π × Vpeak.
- In volts per second, 0.5 V/µs = 500,000 V/s.
- f = 500,000 over 2π × 10 = 500,000 over 62.8 ≈ 7.96 kHz
Answer: 7.96 kHz
Problem 5 of 10
A faster op-amp has a slew rate of 13 V/µs. What is the highest frequency at which it can output a 10 V peak sine without slew-rate distortion, in kilohertz?
Show the working
- f = SR over 2π × Vpeak, with 13 V/µs = 13,000,000 V/s.
- f = 13,000,000 over 2π × 10 = 13,000,000 over 62.8 ≈ 207,000 Hz
- That's about 207 kHz, 26 times higher than the 0.5 V/µs op-amp.
Answer: 207 kHz
Problem 6 of 10
An op-amp's output must step from −5 V to +5 V. Its slew rate is 0.5 V/µs. How long does the transition take, in microseconds?
Show the working
- The output changes by at most 0.5 V per microsecond, and it has to change by 5 V − (−5 V) = 10 V.
- t = 10 V over 0.5 V/µs = 20 µs
Answer: 20 µs
Problem 7 of 10
A rail-to-rail op-amp on a single 5 V supply can swing to within 0.1 V of each rail. It's a non-inverting amplifier with a gain of 4, and a steady 1.4 V goes in. What is the output voltage?
Show the working
- It would need 4 × 1.4 V = 5.6 V.
- The maximum output is 5 V − 0.1 V = 4.9 V.
- 5.6 V is beyond that, so the output saturates at 4.9 V.
Answer: 4.9 V
Problem 8 of 10
An op-amp has an input offset voltage of 2 mV: it behaves as if a 2 mV source were in series with its non-inverting (+) input. It's a non-inverting amplifier with a gain of 101, and no signal goes in. What is the output, in millivolts?
Show the working
- The offset gets amplified like any other input.
- Vout = 101 × 2 mV = 202 mV, with nothing going in.
Answer: 202 mV
Problem 9 of 10
Stretch: an op-amp has a slew rate of 0.5 V/µs. What is the largest peak amplitude a 20 kHz sine can have at its output without slew-rate distortion?
Show the working
- Rearrange f = SR over 2π × Vpeak: Vpeak = SR over 2π × f.
- SR = 500,000 V/s, and 2π × 20,000 Hz ≈ 125,700.
- Vpeak = 500,000 over 125,700 ≈ 3.98 V. Any larger and the output is slew-rate limited, distorting towards a triangle wave.
Answer: 3.98 V
Problem 10 of 10
Stretch: an inverting amplifier has Rf = 100 kΩ and Rin = 1 kΩ. Its op-amp has a 3 mV input offset voltage. With the input grounded, what is the output, in millivolts?
Show the working
- The offset acts at the + input, so it is amplified by the noise gain, 1 + Rf over Rin, not the signal gain of −100.
- Noise gain = 1 + 100 kΩ over 1 kΩ = 101
- Vout = 101 × 3 mV = 303 mV, not 300 mV.
Answer: 303 mV
“Real op-amp limits” is lesson 6 of 6 in Amplifier Peaks, Electronics World 6. Free with an account. Lessons unlock in order, so you’ll do the 40 before it first.
Free lesson
Now build it yourself
Each lesson comes in three short parts: see the idea, try it on a live board, then build it yourself, with quick checks as you go.
“Real op-amp limits” is lesson 6 of 6 in Amplifier Peaks, Electronics World 6. Free with an account. Lessons unlock in order, so you’ll do the 40 before it first.
Or start from the very first lesson, no account neededCheck it with a calculator
The ideas behind it
- Op-amp gain-bandwidth product explainedGain times bandwidth stays fixed: ask an op-amp for more gain and its corner frequency falls.
- Op-amp slew rate explainedThe fastest an op-amp's output can change, in volts per microsecond, and why it distorts large, fast signals.
- Non-inverting amplifier explainedAn op-amp, two resistors and gain G = 1 + R_f ÷ R_g: amplified, in phase, and clipped near the rails.
- Op-amp inverting amplifier explainedSignal into the − input through a resistor: an inverted, scaled copy, with gain −R_f ÷ R_in.
Questions people ask
What is the gain-bandwidth product?
An op-amp's open-loop gain falls as frequency rises, so closed-loop gain × bandwidth stays about constant. That product is the GBW, in hertz. Divide it by the noise gain you set to find the −3 dB bandwidth: a 1 MHz op-amp at a gain of 10 has a bandwidth of about 100 kHz.
What does slew rate limit?
Slew rate is the maximum rate of change of the output voltage, in V/µs. A sine's maximum rate of change is 2π × f × V_peak, so a large, high-frequency sine can demand more than the op-amp can deliver. The highest frequency at full amplitude, the full-power bandwidth, is SR ÷ (2π × V_peak). Above it, the output is slew-rate limited and distorts towards a triangle wave.
Why use 1 + |G| for an inverting amplifier's bandwidth?
The bandwidth depends on the noise gain, the closed-loop gain from the op-amp's non-inverting (+) input to the output. For a non-inverting amplifier that's G. For an inverting amplifier it's 1 + R_f ÷ R_in, which is one more than the size of its gain. At big gains the difference hardly matters.
More practice
- Ohm's law practice problemsFind V, I or R, then the power, with the working for each.
- Units and prefixes practice problemsConvert mA, kΩ, µF, nF, pF, ms and mV, with the working for each.
- LED resistor practice problemsSize the resistor for one LED or a string, round to a standard value, check the power.
- Electrical power practice problemsPower three ways, energy in kWh, battery life and running costs, all worked.
- Series and parallel resistors practice problemsTotals in series and parallel, mixed networks and branch currents, all worked.
- Kirchhoff's laws practice problemsBalance currents at a junction and voltages round a loop, with the working for each.
- Voltage divider practice problemsFind Vout, pick R2 for a target and work out loading, with the working for each.
- Thevenin and Norton equivalent practice problemsReduce a network to V_th in series with R_th, then load it, with the working.
- Capacitor practice problemsCharge, capacitance, series and parallel, and stored energy, with the working.
- RC time constant practice problemsτ = R × C, the 63% rule, charging and discharging, with the working.
- Inductor practice problemsV = L × ΔI ÷ Δt, stored energy and inductors in series and parallel, with the working.
- RL circuit time constant practice problemsτ = L ÷ R, the current's rise and decay, and inductive kickback, with the working.
- AC voltage and transformer practice problemsPeak, RMS, period, AC power and transformer turns ratios, with the working.
- Capacitive and inductive reactance practice problemsCapacitive and inductive reactance, AC current and impedance, with the working.
- Impedance practice problems for RC and RL circuitsSeries RC and RL impedance, phase angle and current, with the working.
- RC filter practice problemsCutoff frequency, choosing R or C, and the output either side of the cutoff, with the working.
- Decibel practice problemsRatios to dB and back, for power and voltage, gains that add and the −3 dB point.
- LC resonance practice problemsf₀ = 1 ÷ (2π√(LC)), tuning for a frequency, and scaling, with the working.
- Diode practice problemsForward voltage, series resistor current, diodes in series, reverse bias and power dissipation.
- Rectifier and ripple practice problemsPeak output, ripple and the smoothing capacitor for half-wave and bridge rectifiers.
- Zener diode practice problemsSize a Zener regulator's resistor, split its current and check the Zener's power.
- Transistor switch practice problemsBase current, base resistor and load current for a BJT switch, then a MOSFET.
- MOSFET switch practice problemsConduction loss from R_DS(on), gate and pull-down currents, flyback diodes and junction temperature.
- Op-amp gain practice problemsInverting and non-inverting gain, the output, the resistor to pick and when it clips.
- Inverting and summing amplifier practice problemsInverting gain, input resistance, summing amps, averaging, a simple DAC and clipping.
- Schmitt trigger and hysteresis practice problemsHysteresis band, both thresholds and the feedback resistor for a comparator.
- Binary and hex practice problemsBinary to decimal and back, bits needed, the largest n-bit number and hex.
- Logic gates practice problemsGate outputs, truth-table rows, Boolean expressions and fewer gates, with the working.
- Counters and flip-flops practice problemsTop count, flip-flops needed, frequency division, rollover and ripple delay.
- PWM and duty cycle practice problemsDuty cycle, average voltage, on-time, analogWrite 0–255 and power, with the working.
- ADC and analog input practice problemsanalogRead to volts and back, resolution, dividers and 12-bit ADCs, with the working.