---
title: Oscilloscopes
heading: Bandwidth, rise time, sampling and triggering
eyebrow: C11 · Lesson 8 · Oscilloscopes
xp: 40
---

::: hook
An oscilloscope draws a voltage against time, so it's tempting to believe what it draws. But a scope is itself a low-pass filter followed by an ADC: it rounds off edges faster than its own rise time, shrinks signals near its bandwidth, and with the wrong settings can show an aliased waveform that isn't there at all. Choosing a scope and setting it up well comes down to a few numbers: bandwidth and rise time, sample rate and memory depth, and how the trigger decides which part of a repeating signal to show.
:::

::: play
- A step with rise time $t_r$ (10 to 90%) enters a scope whose bandwidth gives it its own rise time $t_s = 0.35/\text{BW}$. The dashed curve is the true signal; the solid one is what the scope displays.
- With $t_s$ much shorter than $t_r$, the display is faithful. Make them equal: the displayed edge is 41% slower than the real one.
- The readout gives the displayed rise time, close to $\sqrt{t_r^2 + t_s^2}$. That's why a scope should be three to five times faster than the edges it measures.
:::
:::

```sim plot
view: graph
x: t = 0..10 ns
y: v = -0.1..1.2 V
slider: tr = 0.2..5 = 1 ns
slider: BW = 50..2000 = 350 MHz log
plot: (t*step(t) - (t - tr)*step(t - tr))/tr | dashed | label: true signal
plot: (((t - 0.35/(2.2*BW*1e-3))*1 + 0.35/(2.2*BW*1e-3)*exp(-t*2.2*BW*1e-3/0.35))*step(t) - ((t - tr - 0.35/(2.2*BW*1e-3)) + 0.35/(2.2*BW*1e-3)*exp(-(t - tr)*2.2*BW*1e-3/0.35))*step(t - tr))/tr | samples: 1500 | label: displayed
readout: scope rise time, ns = 0.35/(BW*1e-3) | digits: 3
readout: displayed rise time (estimate), ns = sqrt(tr^2 + (0.35/(BW*1e-3))^2) | digits: 3
```

::: predict
## A 350 MHz scope (rise time 1 ns) displays an edge that truly rises in 1 ns. What rise time does it show?

- [ ] 1 ns
- [x] About 1.4 ns
- [ ] 2 ns
- [ ] 0.7 ns

::: reveal
About 1.4 ns: rise times of cascaded stages combine roughly in quadrature, $\sqrt{1^2 + 1^2}$. To read a 1 ns edge within about 5%, the scope needs a rise time near 0.3 ns: over 1 GHz of bandwidth.
:::
:::

::: nameit
## Bandwidth and rise time

A scope's **bandwidth** is the frequency where a sine reads 3 dB low (70.7% of its true amplitude). For the usual response shape, its rise time is

$$t_s \approx \frac{0.35}{\text{BW}}$$

and the displayed rise time of an edge is about $\sqrt{t_r^2 + t_s^2}$ (add the probe's too, in quadrature). The rule of thumb: bandwidth three to five times the highest frequency of interest. A sine near the bandwidth is understated: with a single-pole response, a sine at f reads $1/\sqrt{1 + (f/\text{BW})^2}$ of its amplitude.

## Sampling and memory

Digital scopes sample at a rate $f_s$, at least 2.5 times the bandwidth to avoid aliasing (C9.21), and store samples in **memory**: the window it can capture at full rate is memory depth over sample rate. A long window with shallow memory forces a lower sample rate, and aliasing can appear.

## Vertical resolution

Most scopes use 8-bit converters: 256 levels across the screen's full height (usually 8 divisions), so at 100 mV/div one level is 3.1 mV. Averaging repetitive signals, or high-resolution modes, gains bits.

## Triggering

The **trigger** picks the moment that's placed at the reference point on the screen, so a repeating signal stays still: an edge crossing a level, with a slope, and optionally a **holdoff** time during which new triggers are ignored. Input coupling is DC (everything), AC (blocks DC, so a small ripple on a large DC level can be magnified), and the input impedance is usually 1 MΩ with ~15 pF, or 50 Ω for fast signals on matched cables.
:::

::: example
## A scope with 1.5 ns rise time shows an edge rising in 1.8 ns. How fast is the edge really?

::: solution
1. **Subtract in quadrature.**
   $$\begin{aligned} t_r &= \sqrt{1.8^2 - 1.5^2}\ \text{ns} \\ &= 1.0\ \text{ns} \end{aligned}$$
2. **What that means.** The scope accounts for most of what's displayed; subtracting in quadrature recovers the signal's own rise time, though the result gets uncertain when the two are close.

**Answer:** the edge really rises in about 1.0 ns.
:::
:::

::: example
## A scope samples at 2 GS/s with 1 M points of memory. How long a window can it capture at full rate?

::: solution
1. **Window at full rate.**
   $$\begin{aligned} T &= \frac{10^6}{2 \times 10^9}\ \text{s} \\ &= 0.5\ \text{ms} \end{aligned}$$
2. **A longer window.** To view 10 ms, it must drop to 100 MS/s, so a 20 MHz bandwidth limit (or less) is needed to avoid aliasing at that setting.

**Answer:** 0.5 ms at the full 2 GS/s.
:::
:::

::: example
## A 100 MHz oscilloscope with a Gaussian response measures a 50 MHz sine. How low does its amplitude read?

::: solution
1. **The Gaussian response.** It is −3 dB at its bandwidth:
   $$\lvert H\rvert = e^{-\ln\sqrt2\,(f/BW)^2}$$
2. **At half the bandwidth.** $(f/BW)^2 = 0.25$ and $\ln\sqrt2 = 0.347$, so
   $$\begin{aligned} \lvert H\rvert &= e^{-0.347 \times 0.25} \\ &= 0.917 \end{aligned}$$
   That's 8.3% low.
3. **Rule of thumb.** That's why the rule of thumb is a scope with three to five times the bandwidth of the signal for amplitude measurements.

**Answer:** it reads 8.3% low.
:::
:::

::: check
given: BW = 100 | 350 | 1000 | 4000
answer: 0.35/BW*1000
unit: ns
tolerance: 0.5%

## What is the rise time of a {BW} MHz scope?

::: right
Right. $0.35/\text{BW}$ = {answer} ns.
:::

::: misses
- [1/BW*1000] The 10 to 90% rise time is 0.35/BW.
- [any] Not yet. $0.35/\text{BW}$.
:::
:::

::: check
given: tr = 0.5 | 2 | 5; ts = 0.35 | 1 | 3.5
answer: sqrt(tr^2 + ts^2)
unit: ns
tolerance: 0.5%

## An edge with a {tr} ns rise time is viewed on a scope with a {ts} ns rise time. About what rise time is displayed?

::: right
Right. $\sqrt{t_r^2 + t_s^2}$ = {answer} ns.
:::

::: misses
- [tr + ts] Rise times combine in quadrature, not directly.
- [any] Not yet. Root sum of squares.
:::
:::

::: check
given: td = 2 | 3 | 5; ts = 0.7 | 1.2 | 1.75
answer: sqrt(td^2 - ts^2)
unit: ns
tolerance: 0.5%

## A scope with a {ts} ns rise time displays an edge rising in {td} ns. What is the edge's own rise time?

::: right
Right. $\sqrt{t_d^2 - t_s^2}$ = {answer} ns.
:::

::: misses
- [td - ts] Subtract in quadrature.
- [any] Not yet. $\sqrt{t_d^2 - t_s^2}$.
:::
:::

::: check
given: f = 50 | 100 | 200; BW = 100 | 350
answer: 100/sqrt(1 + (f/BW)^2)
unit: %
tolerance: 0.5%

## A single-pole {BW} MHz scope measures a {f} MHz sine. What percentage of its true amplitude does it show?

::: right
Right. $1/\sqrt{1 + (f/\text{BW})^2}$ = {answer}%.
:::

::: misses
- [any] Not yet. The scope's gain at f.
:::
:::

::: check
given: M = 1 | 10 | 100; fs = 0.5 | 2 | 10
answer: M/fs
unit: ms
tolerance: 0.5%

## A scope with {M} Mpts of memory samples at {fs} GS/s. How long a window can it record?

::: right
Right. Memory over sample rate: {answer} ms.
:::

::: misses
- [M*fs] Divide the points by the rate.
- [any] Not yet. Points ÷ samples per second.
:::
:::

::: check
given: vd = 10 | 50 | 200; b = 8 | 10 | 12
answer: 8*vd/2^b
unit: mV
tolerance: 0.5%

## A scope with a {b}-bit converter is set to {vd} mV/div across 8 divisions. How big is one quantization step?

::: right
Right. Full scale over $2^b$: {answer} mV.
:::

::: misses
- [vd/2^b] Full scale is 8 divisions.
- [any] Not yet. $8 \times \text{V/div}/2^b$.
:::
:::

::: check
kind: choice

## A 5 V supply's 20 mV switching ripple needs to be seen in detail. Which input setting helps most?

- [ ] DC coupling at 2 V/div
- [x] AC coupling at 10 mV/div
- [ ] DC coupling at 10 mV/div
- [ ] A 50 Ω input

::: misses
- [1] At 2 V/div the ripple is a hundredth of a division.
- [3] The 5 V offset would push the trace off the screen.
- [4] A 50 Ω input would load the supply and isn't the issue.
:::
:::

::: check
kind: parts
given: tm = 1.8 | 3 | 8; ts = 0.35 | 1.5

## A scope with {ts} ns rise time shows an edge of {tm} ns.

::: part
answer: sqrt(tm^2 - ts^2)
unit: ns
tolerance: 0.5%

### How fast is the edge really?

::: misses
- [tm - ts] Rise times combine in quadrature.
- [any] $\sqrt{t_m^2 - t_s^2}$.
:::
:::

::: part
answer: 0.35/ts*1000
unit: MHz
tolerance: 0.5%

### What is the scope's bandwidth?

::: misses
- [any] $0.35/t_r$.
:::
:::
:::

::: check
kind: parts
given: B = 100 | 500; x = 0.3 | 0.5 | 0.8

## A {B} MHz scope with a Gaussian response measures a sine at {x} times its bandwidth.

::: part
answer: exp(-ln(sqrt(2))*x^2)
tolerance: 0.5%

### What fraction of the amplitude does it show?

::: misses
- [any] $e^{-\ln\sqrt2\,(f/BW)^2}$.
:::
:::

::: part
answer: (1 - exp(-ln(sqrt(2))*x^2))*100
unit: %
tolerance: 0.5%

### How low is that reading?

::: misses
- [any] One minus the fraction.
:::
:::
:::

::: explain
## Why should a scope's bandwidth be several times higher than the frequency of the signal you care about?

::: model
At its rated bandwidth a scope already shows a sine 30% too small, and a square or pulse contains harmonics well above its fundamental that the scope attenuates and delays, rounding the edges and altering the shape. Rise times also combine roughly in quadrature, so a scope as fast as the signal makes edges look about 40% slower. With three to five times the bandwidth, the scope's own response flattens out over the frequencies that matter, amplitude errors drop to a few percent, and the displayed edges are within a few percent of the truth.
:::
:::

::: practice

::: check
given: BW = 50 | 100 | 200 | 350 | 500 | 1000 | 2500
answer: 0.35/BW*1000
unit: ns
tolerance: 0.5%

## Rise time of a {BW} MHz scope?

::: misses
- [any] 0.35/BW.
:::
:::

::: check
given: tr = 1 | 3; ts = 0.5 | 2
answer: sqrt(tr^2 + ts^2)
unit: ns
tolerance: 0.5%

## Displayed rise for {tr} ns on a {ts} ns scope?

::: misses
- [any] $\sqrt{t_r^2 + t_s^2}$.
:::
:::

::: check
given: M = 2 | 50; fs = 1 | 5
answer: M/fs
unit: ms
tolerance: 0.5%

## Window for {M} Mpts at {fs} GS/s?

::: misses
- [any] Points over rate.
:::
:::
:::
