How to use a function generator

Lab · 10 min

The function generator is clipped onto the board: its red lead on column 3, its black lead on the − rail, and a 1 kΩ resistor across them as a load. The scope's channel 1 is on its output.

Open the generator's panel with its button (or the G key). It's set to its defaults. Set the frequency to 2 kHz: type it into the box, or step it with − and +.

Now its size and its level. Set the amplitude to 4 Vpp (peak-to-peak) and the offset to +1 V, so it swings from -1 V to 3 V, and keep the sine wave.

Press Run and look at channel 1: 1 V per square up, 0 V on the middle line, 0.1 ms per square across.

The wave is there, but it won't keep still: it drifts and jumps about. Why not?

  • The scope starts drawing at a different point of the wave each time across
  • The generator's frequency is wobbling
  • The simulation is too slow to keep up

The trigger

The trigger waits for its source to cross a level going the chosen way (rising, say), and starts each sweep there. The little marker at the right of the screen shows the level. Right now it's set to 3.5 V, above the top of the wave, so it never fires, and in Auto mode the scope gives up waiting and sweeps anyway, from wherever.

Open the scope's Trigger tab and press 50%: it puts the level in the middle of the wave. Or pick Generator as the source, which triggers on the generator's own signal whatever you're probing.

The picture should freeze. Where does each sweep now start?

  • Where the wave crosses the trigger level going up
  • At the wave's highest point
  • Wherever the last sweep finished

Now read the peaks. The generator is set to swing from −1 V to +3 V, but channel 1's top is a little short of 3 V, and its bottom a little short of −1 V. Why?

  • The generator has 50 Ω inside it, in series with its output, and the 1 kΩ load drops most but not all of its voltage
  • The scope's probe is loading it
  • The resistor is the wrong value

In this topic the 50 Ω usually just gets in the way of the numbers. The generator's panel has a switch for it: set Output to Ideal, and the peaks go to exactly −1 V and +3 V.

The generator's controls:

ControlSets
wavesine, square, triangle or ramp
frequencycycles a second
amplitudepeak-to-peak swing, into nothing
offsetthe steady level it swings about
output50 Ω inside it, or none (ideal)

And the scope's trigger holds a repeating wave still by starting every sweep at the same point of it: a source, a level and an edge.

On a real bench every generator has the 50 Ω, and many show the amplitude you'd get into a matching 50 Ω load, which is half the open-circuit voltage. If a reading comes out at exactly half or double what you expected, check the generator's "load" or "high-Z" setting first.