Function Generator

A function generator is a piece of electronic test equipment that produces controlled electrical waveforms over a wide range of frequencies. It is the signal source on every electronics bench, used to stimulate a circuit so that an engineer can observe its response on an oscilloscope or analyzer. Standard outputs include sine, square, triangle, ramp, pulse, noise, and DC, and most modern instruments add arbitrary waveform playback, which is why the front panel often reads function or arbitrary waveform generator.

Today's benchtop instruments are almost universally built around direct digital synthesis (DDS) or a refined point-by-point engine, replacing the analog integrator and comparator circuits of earlier decades. The result is microhertz frequency resolution, calibrated amplitude, and a digital interface for automated test. This guide decodes the architecture, the spec sheet, and the selection trade-offs that separate a bench tool from an automated-test-rack source.

Front panel of a Tektronix FG 502 function generator in a TM500 mainframe, showing the frequency dial, amplitude and offset knobs, waveform function selector, and BNC output connectors

Photo: Glrx, CC BY-SA 4.0, via Wikimedia Commons

This guide targets electronics design engineers and procurement engineers selecting a signal source. It covers 6 chapters from waveform types, DDS and Trueform / TrueArb architectures, output and interface standards, to spec-sheet decoding and selection decisions, with 7 selection FAQs and manufacturer comparisons. Parameters and protocol references trace to manufacturer datasheets (Keysight, Tektronix, Siglent, Rigol) and the SCPI / IEEE-488.2 / LXI public standards.

Chapter 1 / 06

What is a Function Generator

A function generator is an electronic instrument that synthesizes repetitive or single-shot electrical waveforms with adjustable frequency, amplitude, offset, and shape. It belongs to the signal-source half of the test bench, the counterpart to the oscilloscope and the spectrum analyzer that observe a circuit. Where a DC power supply delivers steady energy, a function generator delivers a precisely controlled, time-varying voltage so the engineer can excite a filter, clock a logic input, drive a transducer, or stress a feedback loop and then measure how the device under test responds.

A complete instrument has four functional blocks: (1) a synthesis core that generates the digital waveform, today almost always a DDS phase accumulator with a lookup table or a point-by-point sample engine; (2) a digital-to-analog converter that turns the sample stream into an analog voltage; (3) a reconstruction filter and output amplifier that smooth and scale the signal; and (4) a 50 ohm output stage with programmable amplitude and DC offset. Around this core sit a reference clock for timing accuracy, a modulation engine for AM, FM, PM, FSK, and PWM, and a remote-control interface for automated test.

The vocabulary is worth pinning down because it appears inconsistently on purchase orders. A function generator classically produces a fixed menu of standard shapes. An arbitrary waveform generator (AWG) additionally replays any user-defined waveform stored point by point in sample memory. A signal generator usually refers to an RF source optimized for high-frequency carriers and modulation rather than baseband shapes. Because nearly every modern benchtop instrument does both function and arbitrary work, the practical distinctions are sample rate, arb memory depth, and vertical resolution, not the name printed on the bezel.

The history runs from analog to digital. Early function generators in the 1960s and 1970s built a triangle wave with an integrator driven by a switched current source, then shaped it into sine and square waves with a comparator and a diode shaper. Monolithic function generator chips such as the Intersil ICL8038 and the Exar XR2206 packaged this approach into a single device and defined the hobby and instrumentation bench for years. These analog designs were simple and cheap but suffered frequency stability around 0.1 percent per hour and limited amplitude accuracy.

Direct digital synthesis changed the field. By computing the waveform from a numeric phase rather than an analog ramp, DDS delivered frequency stability in the 500 ppm class and below, microhertz frequency setting resolution, and the ability to phase-lock channels and reference clocks. Refinements followed: Keysight Trueform blends DDS with a point-by-point architecture to suppress edge jitter, and Siglent TrueArb and EasyPulse target the same square and pulse fidelity problem. The frequency span of typical bench instruments runs from a few hertz to roughly 20 MHz for entry units and up to 120 MHz, 250 MHz at the high end, with dedicated RF generators handling higher carriers by other methods.

The application range explains why the category fragments into so many instruments. On the low-frequency side, a function generator drives the test of audio circuits, sensor signal conditioning, and mechanical and biomedical models that operate from fractions of a hertz upward, where the demand is amplitude accuracy and low distortion rather than speed. In the middle, the bulk of electronics development uses the 20 MHz to 120 MHz band to clock logic, exercise power-converter control loops, and sweep filters. At the top, 250 MHz arbitrary work feeds serial-data, communications, and radar baseband emulation. Because no single instrument optimizes all three, procurement engineers match a specific instrument class to a defined band, a defined waveform, and a defined load rather than buying a notional universal source. On the bench it rarely works alone: the response it stimulates is read back with a digital multimeter for static values, and a programmable electronic load often completes a source-and-sink test loop for power and converter work.

Chapter 2 / 06

Waveform Types and Output Modes

Selection often starts with the waveform you need to produce. Standard functions cover the majority of bench work, but the output mode (continuous, swept, gated, burst, or modulated) frequently decides which instrument is adequate. The table below summarizes the standard waveform set, the parameter that usually limits it, and where it is used.

WaveformKey Adjustable ParameterTypical Use
SineFrequency, amplitude, phaseFrequency response, filter and amplifier test
SquareDuty cycle 0 to 100%Digital clocking, switching, on/off stimulus
TriangleSymmetry / ramp rateSweep ramps, integrator and slew test
Ramp (sawtooth)Symmetry 0 to 100%Display deflection, scan generation
PulseWidth, rise/fall, periodTiming, logic, edge-rate testing
NoiseBandwidth, crest factorSNR test, dither, stochastic stimulus
DCLevel onlyBias, reference, offset injection
ArbitrarySample points, sample rateReplayed real-world or synthetic signals

Sine is the reference waveform for frequency-domain testing, and its quality is judged by harmonic distortion and amplitude flatness across the band rather than by shape alone. Square waves drive logic and switching circuits; their value lies in adjustable duty cycle and clean, fast edges, which is exactly where pure DDS struggles. Triangle and ramp share a linear slope and are distinguished by symmetry: a symmetric triangle rises and falls equally, while a ramp is asymmetric, approaching a sawtooth as symmetry tends toward 0 or 100 percent.

Pulse output is a discipline of its own: independent control of period, width, and edge rate lets the instrument emulate clocks, strobes, and timing signals. Noise provides broadband stochastic stimulus for signal-to-noise and dither testing, and DC output turns the same channel into a programmable bias source. Arbitrary playback is the open-ended mode: load a digitized waveform, a captured glitch, or a synthesized communications burst, and the instrument replays it sample by sample at the chosen sample rate.

Beyond the shape, four output modes recur on every spec sheet. Continuous runs the waveform indefinitely. Sweep walks the frequency between two limits, either linearly or logarithmically, to trace a frequency response in one pass. Burst emits a defined number of cycles on a trigger, useful for gated stimulus and settling tests. Modulation impresses one signal onto another. The common modulation types are AM, FM, PM, FSK, and PWM, which let a single channel emulate communications envelopes, frequency-shift keying, and pulse-width-modulated control signals for system-level test.

Channel count interacts with these modes. A one-channel instrument suffices for a single stimulus, but two-channel models can produce independent or coupled signals, hold a fixed phase relationship between channels, and use one channel to modulate or trigger the other. Tracking and coupling features, where the second channel mirrors or phase-locks to the first, are common selection criteria for I/Q, differential, and clock-plus-data test setups.

Chapter 3 / 06

Synthesis Architectures Compared

Two facts drive almost every architecture trade-off: how the instrument computes each sample, and how cleanly it turns samples into a continuous voltage. Three families dominate the benchtop market today, plus a legacy analog approach. The table compares their engineering character.

ArchitectureFrequency ResolutionEdge / Pulse QualityTypical Class
Analog (integrator + shaper)Coarse, ~0.1%/hr driftGood edges, poor stabilityLegacy, hobby ICs
Pure DDSMicrohertzEdge jitter from truncationEntry to mid bench
Point-by-point / TrueformMicrohertzLow jitter, <1 ps classHigh-end bench, ATE
TrueArb / EasyPulseMicrohertzLow-jitter pulse engineMid bench value

Direct digital synthesis is the baseline. A fixed reference clock drives a phase accumulator: each clock cycle adds a tuning word M to a running phase register of width N (commonly 24 to 48 bits). The high bits of the phase address a waveform lookup table, and the table value feeds the DAC. The output frequency follows the relation fout = M times fclk divided by 2 to the power N. Because N is large, the smallest frequency step is fclk divided by 2 to the power N, which lands in the microhertz region. This is why DDS instruments set frequency with extraordinary precision and lock cleanly to an external reference.

DDS has one well-known weakness. To raise the output frequency the accumulator skips table entries, and the phase value rarely lands exactly on a sample boundary. The address is truncated, so the moment an edge actually appears is quantized to the clock period. On a sine wave this is invisible, but on a square or pulse wave it shows up as edge jitter of a few hundred picoseconds, which matters for timing and clock-recovery testing. Reconstruction filtering also imposes a Nyquist limit: usable signal bandwidth stays well below half the sample rate, and engineers keep the sample rate roughly 5 to 10 times the highest signal component.

Point-by-point and blended architectures address the jitter problem directly. Keysight Trueform technology blends DDS frequency agility with a point-by-point playback path so that edges are placed without truncation jitter, reaching the sub-1-picosecond and 0.03 percent total harmonic distortion class on the 33500B and 33600A series. Siglent answers the same need with TrueArb, a point-by-point arb engine, and EasyPulse, a dedicated pulse path that produces low-jitter square and pulse signals (the SDG1000X reaches roughly 17 ns rise and fall times with pulse frequency to 12.5 MHz). Rigol SiFi targets fidelity at low frequencies on the DG1000Z. The lesson is that the synthesis label predicts pulse quality more reliably than headline bandwidth does.

Two memory-related specs complete the architecture picture. Sample rate sets how finely arbitrary waveforms are reconstructed in time, ranging from 150 MSa/s and 200 MSa/s on mid instruments to 1.2 GSa/s, 2 GSa/s at the high end. Arb memory depth sets how long a unique waveform can be before it must repeat, from a few megasamples on bench units to 16 Msample and 64 Msample on high-end models. A long, complex waveform such as a modulated communications frame needs both high sample rate and deep memory; a simple repetitive arb needs neither.

Chapter 4 / 06

Output Stage and Interface Standards

Two practical issues sink more bench measurements than synthesis quality ever does: output termination and remote-control compatibility. Both are governed by conventions every engineer should internalize before reading amplitude numbers off a spec sheet.

The output stage of a function generator presents a 50 ohm source impedance, chosen to match the 50 ohm coaxial cable that interconnects bench instruments. The amplitude the instrument displays assumes the output is terminated into a matching 50 ohm load, which forms a 2-to-1 voltage divider with the internal resistance. Connect a high impedance load instead, such as a 1 megaohm oscilloscope input, and no division occurs: the measured voltage is twice the programmed value. This is the single most common bench surprise. The cure is to set the output termination correctly, High-Z for a scope or 50 ohm for a matched line, so the instrument rescales internal amplitude and the displayed value matches the measurement.

Termination also governs signal integrity. Fast edges reflect off any impedance discontinuity, so a square or pulse line should be terminated in 50 ohm at the receiving end and kept short. A pulse with sub-nanosecond edges into an unmatched load will ring and overshoot regardless of how clean the generator output is. For high-amplitude or high-current drive the 50 ohm output stage is current limited; the correct path is an external wideband amplifier, not pushing the generator beyond its rated output window.

On the control side, automation depends on a stack of standards layered over decades. The table summarizes the remote-control conventions that appear in instrument specifications.

StandardLayer / RoleOrigin
IEEE-488.1 (GPIB)Physical / electrical busHP-IB 1965, IEEE 488-1975
IEEE-488.2Protocol and data format1987
SCPIStandard command syntax1990
USBTMCUSB test-and-measurement classUSB transport
LXILAN / Ethernet instrument controlLXI Consortium
IVIInterchangeable driver APIIVI Foundation

SCPI (Standard Commands for Programmable Instruments), first released in 1990, defines a common text command syntax so that, for example, an amplitude command reads the same across compliant instruments. SCPI sits on top of IEEE-488.2, which defines protocol and data format, which in turn rode the IEEE-488 (GPIB) hardware bus that began life as Hewlett-Packard's HP-IB in 1965. Modern instruments carry the same SCPI commands over newer transports: USBTMC makes a USB device behave like a GPIB instrument, and LXI carries control over standard Ethernet, the common choice for distributed test racks.

For mixed-vendor automation, IVI (Interchangeable Virtual Instruments) drivers from the IVI Foundation let instruments of the same class share test code, so a function generator can be swapped for a different brand with minimal software change. When specifying for an automated test system, confirm SCPI compliance, the set of available transports (GPIB, USB, LAN), a published VISA address scheme, and whether an IVI driver exists. These determine integration effort far more than front-panel ergonomics.

One further interface concerns timing rather than commands. The reference clock input and output, usually a 10 MHz BNC connector, let several instruments share a common timebase so their frequencies and phases stay coherent. Lock a function generator, an oscilloscope, and a frequency counter to one reference and their measurements no longer drift relative to each other, which is essential for phase, jitter, and beat-frequency work. Two-channel instruments extend the same idea internally with phase coupling between channels, and many add a trigger input and a sync or marker output so the generator can start a burst on an external event or flag a point in its own waveform to the rest of the bench. When timing relationships matter, check for the 10 MHz reference, the trigger and sync lines, and the channel phase-coupling specification, not just the headline output band.

Chapter 5 / 06

Key Specification Parameters

A function generator datasheet can list dozens of lines, but a handful of parameters drive nearly every selection. The first comparison table puts the headline specs of representative instruments side by side; the prose then decodes what each parameter actually means in use.

SeriesMax Sine FreqSample RateVertical Res.Channels
Keysight 33500B20 / 30 MHz250 MSa/s16-bit1 or 2
Keysight 33600A80 / 120 MHz1 GSa/s16-bit1 or 2
Tektronix AFG3100025 to 250 MHz250 MSa/s to 2 GSa/s14-bit1 or 2
Siglent SDG2000X120 MHz1.2 GSa/s16-bit2
Siglent SDG1000X60 MHz150 MSa/s14-bit2
Rigol DG1000Zup to 60 MHz200 MSa/s14-bit2

Maximum frequency is the headline bandwidth, but it applies to the sine output; square, pulse, and arbitrary signals are usable to a lower frequency because they need more harmonic content and reconstruction headroom. Read the spec per waveform, not as a single number. Frequency resolution on DDS instruments reaches the microhertz region (the smallest step is the reference clock divided by 2 to the accumulator width), which matters for beat-frequency, Doppler, and precise sweep work.

Sample rate and vertical resolution are the two arbitrary-mode specs. Sample rate, from 150 MSa/s to 2 GSa/s across the market, sets time-domain granularity; keep it 5 to 10 times the highest signal component for clean reconstruction. Vertical resolution sets amplitude granularity: 14 bits give 16,384 steps and suit most testing, while 16 bits give 65,536 steps and lower quantization noise for low-distortion and sensor-emulation work. Arb memory depth caps how long a unique waveform can run before repeating, from a few Msample to 16 Msample and 64 Msample on high-end units.

Output amplitude typically spans about 1 mVpp to 10 Vpp into 50 ohm, doubling to roughly 20 Vpp into a high impedance load. The low end near 1 mVpp matters for low-power testing, where externally attenuating a large signal would add noise. DC offset is adjustable across a similar window, constrained so that signal peak plus offset stays inside the total output range. Signal purity appears as total harmonic distortion (down to roughly 0.03 percent on the best benchtop units), spurious-free dynamic range, and sine flatness across the band.

Edge jitter and rise / fall time describe pulse fidelity. High-end point-by-point instruments quote intrinsic jitter under 1 ps, while DDS-based units carry a few hundred picoseconds; mid units reach roughly 17 ns rise and fall times. Channel count (one or two) and inter-channel phase coupling decide whether the instrument can produce differential, I/Q, or clock-plus-data pairs. Finally, modulation depth and the supported types (AM, FM, PM, FSK, PWM), plus sweep and burst modes, complete the functional spec. The table below maps common test tasks to the parameter that should drive the choice.

Test TaskGoverning ParameterTarget
Filter frequency responseSine flatness, THD, sweepTHD < 0.1%, log sweep
Digital clock stimulusEdge jitter, rise/fall, dutyJitter < few hundred ps
Sensor / signal emulationVertical resolution, arb depth16-bit, deep arb
Comms envelope testModulation types, sample rateAM/FM/PM/FSK, high MSa/s
Low-power device testMinimum amplitude~1 mVpp floor
Automated test rackSCPI / LXI / IVI supportCertified driver set
Chapter 6 / 06

Selection Decision Factors

To turn the preceding chapters into a specific model, work through the decision sequence below in order. Most selection mistakes come not from a single wrong spec but from deciding bandwidth before defining the waveform and the load, then discovering the pulse fidelity or interface is wrong.

  1. Define the waveform and output mode first: Standard functions, arbitrary playback, or pulse-critical signals. If you need clean square and pulse edges, prioritize a point-by-point or dedicated pulse engine (Trueform, TrueArb and EasyPulse) over raw DDS bandwidth.
  2. Set the bandwidth from the signal, not the headline: Read maximum frequency per waveform. A 120 MHz sine rating does not mean a 120 MHz clean square wave. Allow harmonic and reconstruction headroom of several times the highest component.
  3. Choose sample rate and vertical resolution for arbitrary work: Keep sample rate 5 to 10 times the fastest signal component, and pick 16-bit resolution for low-distortion or sensor-emulation tasks, 14-bit for general stimulus.
  4. Size the arb memory depth: Long, non-repeating waveforms (communications frames, captured transients) need megasamples to tens of megasamples; simple repetitive arbs do not.
  5. Fix the output requirements: Confirm amplitude range into your actual load (50 ohm vs High-Z), minimum amplitude for low-power work, DC offset window, and whether an external amplifier is needed for drive.
  6. Decide channel count and coupling: One channel for single stimulus; two channels with phase coupling for differential, I/Q, or clock-plus-data pairs.
  7. Specify modulation and sweep needs: Confirm the required modulation types (AM, FM, PM, FSK, PWM), sweep linearity (linear or logarithmic), and burst control if your test plan uses them.
  8. Lock the interface and automation path: For bench-only use the front panel suffices; for an automated rack confirm SCPI compliance, transports (GPIB, USB / USBTMC, LAN / LXI), a VISA address, and an IVI driver for brand interchangeability.

One last dimension is commonly overlooked: serviceability and calibration support. A function generator is a metrology source, so its amplitude and frequency accuracy must remain traceable over a multi-year service life, verified periodically against a reference instrument or a signal calibrator. Confirm the manufacturer offers calibration service and a documented calibration interval, that firmware is updatable, and that local support and spare parts exist. Keysight, Tektronix, Siglent, and Rigol all maintain regional service in major markets, which matters when an instrument anchors a production test line for 5 to 10 years. A budget unit that cannot be recalibrated locally becomes a hidden cost the first time it drifts out of tolerance.

FAQ

What is the difference between a function generator and an arbitrary waveform generator?

A classic function generator produces a fixed menu of standard waveforms: sine, square, triangle, ramp, pulse, noise, and DC. An arbitrary waveform generator (AWG) adds the ability to replay any point-by-point waveform loaded into sample memory, so it can reproduce a digitized heartbeat, a power-line glitch, or a modulated communications burst. In practice almost every modern benchtop instrument is a combined function and arbitrary waveform generator: it runs standard functions from an internal table and switches to arbitrary playback when you load a sample file. The label on the front panel often reads function or arbitrary waveform generator for that reason. The practical dividing lines are arb memory depth, sample rate, and vertical resolution, not the name.

How does direct digital synthesis (DDS) work?

DDS builds a waveform from a fixed reference clock plus three digital blocks: a phase accumulator, a waveform lookup table, and a digital-to-analog converter. Each clock tick the accumulator adds a tuning word M to its running phase value; the high bits of that phase address the lookup table, and the table value drives the DAC. Output frequency follows fout = M times fclk divided by 2 to the power N, where N is the accumulator width, typically 24 to 48 bits. A larger tuning word steps faster through the table and raises the output frequency. Because N is large, frequency resolution is extremely fine, often in the microhertz range. The weakness of pure DDS is that the table address is truncated, which adds a few hundred picoseconds of edge jitter to square and pulse waves.

Why does my output read double the value I set?

A function generator has a 50 ohm source impedance. The amplitude you program assumes the output is terminated into a matching 50 ohm load, which forms a 2-to-1 voltage divider with the internal resistance. If you connect a high impedance load such as an oscilloscope input at 1 megaohm, no division occurs and the measured voltage is twice the programmed value. The fix is to tell the instrument which load it drives: set the output termination to High-Z when feeding a scope, or to 50 ohm when terminating into a matched load or a 50 ohm scope input. The instrument then rescales the internal amplitude so the displayed and measured voltages agree.

What sample rate and vertical resolution do I actually need?

Sample rate sets how finely arbitrary waveforms are reconstructed in time, and vertical resolution sets amplitude granularity. As a rule, keep the sample rate at least 5 to 10 times the highest frequency component in your arbitrary waveform so reconstruction filtering stays clean, well above the bare Nyquist factor of 2. Benchtop instruments span 150 MSa/s to 250 MSa/s at the mid range, up to 1.2 GSa/s, 2 GSa/s for high-end arbitrary work. Vertical resolution of 14 bits gives 16,384 amplitude steps and suits most testing; 16 bits gives 65,536 steps and lowers quantization noise for low-distortion or sensor-emulation work. For pure standard functions, sample rate matters less than sine flatness and harmonic distortion.

How do I generate a clean pulse or square wave at high frequency?

Pure DDS square waves carry truncation jitter on their edges, so for pulse-critical work choose an instrument with a dedicated pulse or point-by-point engine: Keysight Trueform, Siglent TrueArb and EasyPulse, and Tektronix architectures were built to flatten this jitter. Check three specs: edge jitter in picoseconds, rise and fall time, and adjustable duty cycle range. A 60 MHz class instrument may quote rise and fall times near 17 ns, while high-end units reach the low nanosecond region. Always terminate the line in 50 ohm at the receiver and keep the cable short, because impedance mismatch reflects fast edges and corrupts the pulse shape more than the generator itself.

What output amplitude and DC offset range should I expect?

Typical benchtop function generators output roughly 1 mVpp to 10 Vpp into a 50 ohm load, which doubles to about 20 Vpp into a high impedance load. DC offset is usually adjustable across a similar window, with the constraint that the sum of the peak signal and the offset must stay inside the instrument total output window. Low minimum amplitude near 1 mVpp matters for low-power and sensor-emulation testing, where programming a large value and attenuating externally would add noise. If you need higher voltage or current drive, add an external wideband amplifier rather than expecting the generator to source it directly, since the 50 ohm output stage is current limited.

Which manufacturers and series fit benchtop, ATE, and budget scenarios?

High-end benchtop and ATE: Keysight 33500B and 33600A Trueform (20 to 120 MHz, 16-bit, jitter under 1 ps) and Tektronix AFG31000 (25 to 250 MHz, 14-bit, 250 MSa/s to 2 GSa/s, up to 16 Mpts arb). Mid range with strong value: Siglent SDG2000X (120 MHz, 1.2 GSa/s, 16-bit, TrueArb and EasyPulse) and SDG1000X (60 MHz, 150 MSa/s, 14-bit). Budget and education: Rigol DG1000Z (up to 60 MHz, 200 MSa/s, 14-bit, SiFi) and DG800 (16-bit, 625 MSa/s). Match the choice to bandwidth, channel count, arb depth, and whether you need certified SCPI and IVI drivers for an automated rack.

Ask SpecForge AI