The Oscilloscope and the Function Generator
A multimeter gives one number. Many circuit faults hide in the shape of a signal: a clock edge that rings, a supply rail with ripple, a sine that clips at the top. The oscilloscope draws voltage against time so you can see the shape, and the function generator supplies known test signals. They are used as a pair, and both have one setting that catches almost every beginner: the scope's probe ground and the generator's output load setting.
Reading the screen
The screen is a grid, typically 10 divisions across and 8 up. Two settings turn divisions into units:
- Vertical scale in volts per division (V/div), one per channel, plus a vertical position (where sits).
- Horizontal scale or timebase in seconds per division (s/div), shared by all channels.
The wave spans 4 divisions vertically at , so it is peak to peak ( amplitude). One period spans 4 divisions at , so and .
Triggering makes a repeating signal stand still: the scope starts each sweep when the signal crosses a trigger level in a chosen direction (rising or falling edge). Auto mode sweeps even without a trigger (good for finding a signal), Normal waits for one (good for stable displays of irregular signals), Single captures one event and stops.
Bandwidth and rise time
A scope's bandwidth is the frequency at which a sine is shown low (about of its amplitude). A step is shown with a rise time (10 % to 90 %) of roughly
for scopes with a Gaussian-like response (a rule of thumb; many modern digital scopes, especially high-bandwidth ones with a steeper roll-off, are closer to 0.4 to 0.45). Rise times add roughly in quadrature, so the edge you see is
A common guideline is a bandwidth three to five times the highest frequency of interest.
Probes: 1x, 10x and compensation
A scope input is about in parallel with roughly 10 to 20 pF. A 1x probe connects the tip straight to it: no attenuation, but the cable capacitance loads the circuit and the bandwidth is low (a few MHz; one common switchable probe is rated 6 MHz at 1x and 200 MHz at 10x). A 10x probe puts about in the tip, so the circuit sees about and a much smaller capacitance, and the scope sees one tenth of the signal (set the channel to 10x so the display is scaled back). The tip resistor has a small trimmer capacitor that must match the scope's input. To compensate a probe, clip it to the scope's calibrator output (a square wave, often ) and turn the trimmer until the corners are square, with no overshoot (over-compensated) and no rounding (under-compensated).
The ground clip is connected to earth
On an ordinary mains-powered bench scope, every probe's ground clip is connected to the protective earth of the mains plug. Clip it only to a node that is at earth potential or to the ground of a floating, isolated circuit (a battery, a USB-powered board, a floating bench supply). Clipping it to any other node of an earth-referenced circuit creates a short circuit through the probe's ground lead.
Warning: never "float" a scope by defeating its earth connection to make a measurement. If the measurement needs a ground that is not at earth, the tools are a differential probe or a battery-powered isolated instrument, used by people trained for that work. This course does not measure mains-connected circuits.
The function generator and its 50 ohm output
A function generator is an adjustable source of sine, square, triangle and pulse waves. Electrically it is an ideal source behind an output resistance of . Its display does not measure the output; it calculates it from a load setting:
- 50 ohm (the default on many generators): the display assumes a load, which halves , so is set to twice the displayed value.
- High Z: the display assumes an open circuit, so it shows .
Worked example: the doubled amplitude
Given: a generator in its 50 ohm mode set to , connected with a coaxial cable straight to a scope input of .
Find: what the scope shows.
Solve: in 50 ohm mode the generator makes . Into :
Check: the scope shows about , twice the setting. Not a fault: set the generator to High Z when the load is high-impedance, or terminate the cable with .
import math
def at_load(v_display, mode, R_L, R_out=50.0):
v_int = 2 * v_display if mode == "50 ohm" else v_display
return v_int * R_L / (R_out + R_L)
for mode in ["50 ohm", "High Z"]:
for R_L in [50.0, 1e3, 1e6]:
print(f"set 2.00 Vpp ({mode:6}), load {R_L:9.0f} ohm -> {at_load(2.0, mode, R_L):.3f} Vpp")
for B, signal in [(100e6, 5e-9), (100e6, 1e-9), (500e6, 1e-9)]:
scope = 0.35 / B
seen = math.sqrt(signal**2 + scope**2)
print(f"B = {B / 1e6:3.0f} MHz: scope t_r = {scope * 1e9:.2f} ns, a {signal * 1e9:.0f} ns edge looks like {seen * 1e9:.2f} ns")set 2.00 Vpp (50 ohm), load 50 ohm -> 2.000 Vpp
set 2.00 Vpp (50 ohm), load 1000 ohm -> 3.810 Vpp
set 2.00 Vpp (50 ohm), load 1000000 ohm -> 4.000 Vpp
set 2.00 Vpp (High Z), load 50 ohm -> 1.000 Vpp
set 2.00 Vpp (High Z), load 1000 ohm -> 1.905 Vpp
set 2.00 Vpp (High Z), load 1000000 ohm -> 2.000 Vpp
B = 100 MHz: scope t_r = 3.50 ns, a 5 ns edge looks like 6.10 ns
B = 100 MHz: scope t_r = 3.50 ns, a 1 ns edge looks like 3.64 ns
B = 500 MHz: scope t_r = 0.70 ns, a 1 ns edge looks like 1.22 ns
A edge on a scope is shown as the scope's own rise time: you are measuring the instrument.
Guided lab: a sine into a 50 ohm load
Hand calculation. A sine of amplitude across has and average power .
Simulation. This lab (it writes voltage as and for the amplitude) runs slowly enough to watch, at : a rotating phasor, the waveform with its lines, and the power. At these settings it reads and . Use only the "your own" settings here; low-voltage signals from a generator are the subject.
What you would measure. Set the generator to a sine of with the load setting at 50 ohm, terminate the cable with a feed-through (rated or more) at the scope, and probe across it with a compensated 10x probe at (channel set to 10x) and .
- Five divisions of period: ; most scopes' frequency readout gives .
- Five divisions peak to peak: within the vertical accuracy. Many 8-bit scopes quote about to of full scale (check the manual); 3 % of is about , so expect to , and an RMS readout near .
- Remove the termination and switch to : the trace is now about (4 divisions), the doubling from the worked example.
Hazards and safe setup.
- Signals from a function generator only, at most about . No mains-connected circuits, and the
aclab's mains preset is for calculation only. - Ground clips go to the generator's ground or the circuit ground of a floating, low-voltage circuit; never defeat the scope's earth.
- Check the probe's and scope input's voltage ratings before connecting.
- A termination dissipates : here.
Pitfalls
- Channel set to 1x with a 10x probe (readings ten times too small), or the reverse.
- An uncompensated probe that rounds or overshoots square waves.
- A long ground lead on a fast edge adds ringing; use the short ground spring.
- Forgetting the generator's load setting and doubting a correct circuit.
- Measuring a edge with a scope.
Practice
- A trace spans 3.2 divisions vertically at , and one period spans 2.5 divisions at . Find and .
- What rise time does a scope add, by the rule?
- A generator in High Z mode set to drives a load. What reaches the load?
Answer
- ; , so .
- .
- is split between and : .
Test yourself
A period spans 4 divisions at . The frequency is
Why is the probe's ground clip a hazard on an earth-referenced circuit?
- It is not insulated
- It is connected to protective earth through the scope, so clipping it to a non-earth node makes a short circuit
- It carries the trigger signal
- It adds a 50 ohm load
A generator in 50 ohm mode set to drives a scope input. The scope shows about
How do you compensate a 10x probe?
- Measure a DC voltage and adjust until it reads correctly
- View the calibrator square wave and adjust the trimmer until the corners are square
- Set the scope to 1x
- Shorten the ground lead