Basic idea
A function generator creates a reference signal that serves as a stimulus. In the past it was based on an integrator that charged and discharged a capacitor to obtain a triangle wave, from which the square wave and, through a shaper, the sine wave were derived. Modern instruments usually employ direct digital synthesis: a phase accumulator steps through a table of stored values, a digital-to-analog converter produces the waveform and a filter smooths the result.
What controls it has
- Frequency: in digital synthesis it depends on how fast the phase accumulator advances relative to the clock.
- Amplitude and offset: they are summed in the output stage; the offset shifts the signal onto a DC level.
- Duty cycle: the fraction of the period in the high state, relevant to square and pulse waves.
- Modulation and sweep: they make it possible to vary amplitude, frequency or phase with another signal, or to sweep through a frequency interval.
Output impedance matters
The output behaves like a voltage source with a series impedance, typically of a low, standardized value. If the connected load differs from the value the instrument assumes when displaying the amplitude, the actual voltage at the load changes. With a high-impedance load, the real signal can be almost double the displayed value if the equipment assumes a matched load. Checking that setting is the first step when the amplitude measured with an oscilloscope does not match the amplitude set.
What you see in practice
A square wave has finite edges, so it is not perfect; a sine wave has slight distortion and spurious components from the conversion process. With long cables and capacitive loads, the edges round off and reflections can appear if the line impedance is not matched. Frequency stability depends on the quality of the internal clock, and for precision work an external reference is used.
How to interpret the result
Before blaming the circuit under test, check the signal directly at the generator’s connector, with the correct load configured. Then verify the waveform with an oscilloscope of sufficient bandwidth. A discrepancy that disappears when the load setting is changed indicates an impedance issue and not a generator defect.