In this guide
You set the generator to 2 Vpp, connect the oscilloscope, and the screen shows 4 Vpp. Nothing is broken — you have just met the most common function-generator trap in student labs, and this guide explains it before it costs you a wrong reading in a viva or a report.
A function generator is the lab instrument that produces the test signals your circuits need: a sine wave to test an amplifier, a square wave to clock a digital circuit, a slow triangle to sweep a filter. The oscilloscope shows you what happened; the generator decides what goes in. Used well, the pair lets you measure gain, cutoff frequency, slew rate and distortion with equipment already sitting on your bench.
Quick answer
A function generator outputs repeating waveforms — sine, square, triangle, sawtooth, pulse and noise — with adjustable frequency, amplitude, DC offset and duty cycle. Set the waveform, frequency and amplitude, connect the output to your circuit with a BNC cable, and watch the result on an oscilloscope. The one rule to remember: the displayed amplitude assumes a 50-ohm load, so into a high-impedance input the real voltage is double what the screen says.
What a function generator actually does
Inside, the generator builds a waveform mathematically and converts it to a voltage that repeats at the frequency you set. The front panel gives you five controls that matter for almost every student experiment:
- Waveform — the shape of the repeating voltage.
- Frequency — how many cycles per second, in hertz (Hz).
- Amplitude — how large the voltage swing is, usually in volts peak-to-peak (Vpp).
- DC offset — a constant voltage added to the whole waveform, shifting it up or down.
- Duty cycle — for square and pulse waves, what fraction of each cycle the output is high.
Most bench generators also have a Sync output (a TTL square wave at the same frequency, for triggering the oscilloscope) and an Output on/off button — check it first whenever you see a flat line, because an output left off is the most common "fault" in the lab.
The five waveforms and when to use each
| Waveform | Shape | Use it for |
|---|---|---|
| Sine | Smooth, single-frequency curve | Testing amplifiers and filters, measuring gain and cutoff |
| Square | Jumps between two levels | Clock signals, testing digital circuits, checking slew rate |
| Triangle | Rises and falls at a steady rate | Sweeping a circuit slowly, testing integrators |
| Sawtooth / ramp | Rises steadily, drops sharply | Sweep signals, time-base testing |
| Pulse | Short high bursts with long gaps | Triggering, testing one-shot and timer circuits |
| Noise | Random voltage | Testing how a circuit handles interference |
A sine wave is the only waveform that contains a single frequency. That is why filter and amplifier measurements always start with sine: a square wave contains many frequencies at once (its harmonics), so a filter's response to a square wave mixes the filter's behaviour at all of those frequencies together.
Frequency and period
Frequency (f) and period (T) are inverses: T = 1 / f. A few values worth memorising:
| Frequency | Period |
|---|---|
| 1 Hz | 1 s |
| 100 Hz | 10 ms |
| 1 kHz | 1 ms |
| 10 kHz | 100 µs |
| 100 kHz | 10 µs |
| 1 MHz | 1 µs |
Student bench generators typically cover about 0.1 Hz to 10–20 MHz. Audio work lives between 20 Hz and 20 kHz; a filter cutoff you are hunting for is usually somewhere between 100 Hz and 100 kHz. If the frequency you set looks right on the generator but the oscilloscope shows something else, check the scope's timebase first — a 1 kHz sine looks like a flat line if the timebase is set to seconds per division.
Amplitude: Vpp, peak and RMS
Three numbers describe the same waveform's size, and examiners love asking you to convert between them:
- Vpp (peak-to-peak) — the voltage from the lowest point to the highest point. This is what generators display.
- Peak (amplitude) — half of Vpp, the distance from zero to the top.
- Vrms — the equivalent DC voltage that would deliver the same power. This is what multimeters measure on AC ranges.
For a 2 Vpp waveform, the RMS value depends on the shape:
| Waveform at 2 Vpp | Vrms |
|---|---|
| Sine | 0.707 V |
| Square (50% duty) | 1.000 V |
| Triangle | 0.577 V |
The formulas are Vrms = Vpp / (2 × √2) for sine, Vpp / 2 for a 50% square wave, and Vpp / (2 × √3) for triangle. So a "2 V" signal means very different power depending on its shape — always state which measure you used in a report.
DC offset: shifting the whole waveform
Offset adds a constant voltage to every point of the waveform. A 2 Vpp sine with a +1 V offset swings from 0 V to +2 V instead of −1 V to +1 V. This is useful when a circuit needs a signal that never goes negative — for example, feeding an ADC input that only accepts 0 to 3.3 V.
Watch the total: offset plus peak amplitude must stay inside the generator's output limit (often ±5 V or ±10 V into 50 ohms). If you set a 4 Vpp sine with a +4 V offset on a ±5 V output, the top of the wave clips flat — and the clipped wave on the oscilloscope is your warning, not a circuit fault.
Duty cycle
Duty cycle applies to square and pulse waves: the percentage of each period the output spends high. A 50% square wave is high half the time; a 10% pulse is a short burst with a long gap.
Duty cycle matters in two places students actually meet. First, PWM: the duty cycle of a square wave sets the average voltage a motor or LED sees, which is how the PWM guides control speed and brightness. Second, timing circuits: a 555 timer in astable mode produces a duty cycle set by its resistors, and a generator lets you feed any duty cycle you want into the circuit under test instead.
The 50-ohm trap: why the scope shows double
This is the section that saves marks. A function generator's output has a 50-ohm source impedance, and the amplitude it displays assumes the load is also 50 ohms. The generator and the load form a voltage divider:
- Into a 50-ohm load, the output drops half its internal voltage across its own 50 ohms and half across the load — so the load sees exactly the displayed amplitude.
- Into a high-impedance load (an oscilloscope input is typically 1 MΩ), almost no voltage drops across the generator's own 50 ohms, so the load sees twice the displayed amplitude.
Set 2 Vpp, connect to a scope, and you read 4 Vpp. Your circuit is not amplifying anything — the generator is just keeping its side of the bargain with a load that never arrived.
Two fixes:
- Set the generator's output load to High-Z (usually in a Utility or Output Setup menu). The display then shows the true voltage into a high-impedance load.
- Halve the setting — set 1 Vpp when you want 2 Vpp at a high-impedance input.
And the reverse trap: if you connect a 50-ohm terminated load (some scopes and RF circuits have a 50-ohm input mode), the displayed value is suddenly correct again. Always check what the load actually is before trusting either number.
Your first signal: seven steps
- Connect a BNC cable from the generator's main output to the oscilloscope's channel 1. Connect the Sync output to the scope's external trigger input if you want a rock-steady display.
- Press Output On — check the indicator light.
- Select sine, frequency 1 kHz, amplitude 2 Vpp, offset 0 V.
- On the scope, set the vertical scale to 1 V per division and the timebase to 200 µs per division. A 1 kHz sine has a 1 ms period, so five divisions show one full cycle.
- You should see a sine wave spanning four vertical divisions (2 Vpp at 1 V/div). If it spans eight, you have met the 50-ohm trap — see above.
- Change the frequency to 10 kHz and watch the wave compress horizontally. Change the amplitude to 4 Vpp and watch it grow vertically.
- Switch to square wave and notice the sharp edges; switch to triangle and notice the straight slopes. The shape on screen should match the shape you selected — if it does not, the probe or cable is the suspect, not the generator.
Worked example: finding a filter's cutoff frequency
This is the most common student measurement with a generator, and it uses everything above. Take an RC low-pass filter with R = 1.6 kΩ and C = 100 nF. Its theoretical cutoff is:
f = 1 / (2 × π × R × C) = 1 / (2 × 3.1416 × 1600 × 100 × 10⁻⁹) ≈ 995 Hz
So you expect the output to fall to 0.707 of the input at about 1 kHz. To measure it:
- Feed a 2 Vpp sine into the filter input, and connect the filter output to the scope. Keep the generator amplitude fixed.
- At 100 Hz (well below cutoff), note the output amplitude — it should be close to 2 Vpp, the filter passing almost everything.
- Raise the frequency in steps — 500 Hz, 1 kHz, 2 kHz, 5 kHz, 10 kHz — and note the output amplitude at each step.
- Find the frequency where the output is 0.707 × the low-frequency value (about 1.41 Vpp if the input is 2 Vpp). That frequency is your measured cutoff.
- Compare with the 995 Hz calculation. A result within about 10% is a good measurement; a larger gap usually means the resistor or capacitor value differs from its label (check with a multimeter) or the scope probe is loading the circuit.
A generator with a sweep function automates this: set a start frequency of 100 Hz, a stop frequency of 100 kHz and a sweep time of a few seconds, and the scope shows the response falling as the frequency rises. Logarithmic sweep is the right choice here, because filter behaviour is spread evenly across decades of frequency, not across equal hertz steps.
Sync output, sweep and burst
- Sync output gives a TTL square wave at the same frequency as the main output. Feed it to the scope's external trigger and the waveform stops drifting across the screen, even at frequencies where the main signal is too small or too noisy to trigger on.
- Sweep moves the frequency smoothly from a start value to a stop value over a set time. Use it for filter and amplifier frequency-response measurements, as above.
- Burst outputs a set number of cycles, then waits. Useful for testing circuits that respond to a short stimulus — an ultrasonic sensor driver, for example — without a continuous signal confusing the measurement.
- Modulation (AM/FM) varies the amplitude or frequency with a second, slower waveform. You will meet this in communication-systems labs; for most electronics projects, knowing it exists is enough.
Six mistakes that waste a lab session
- Trusting the displayed amplitude into a scope input — the 50-ohm trap. Set High-Z load or halve the setting.
- Leaving the output off — the generator displays a frequency and amplitude while outputting nothing. Check the Output indicator first.
- A DC offset you forgot about — an offset left over from the previous user shifts your whole waveform and can push an amplifier into clipping.
- Feeding a signal into a powered output — never connect a generator to another generator's output, a power supply terminal, or the mains. Generator outputs are sources, not inputs.
- Long unshielded wires at high frequency — above a few hundred kilohertz, a metre of loose wire picks up noise and adds capacitance. Use a proper BNC cable and keep leads short.
- A 10x probe without compensation — a square wave with rounded corners or overshoot is usually an uncompensated probe, not a faulty circuit. Adjust the probe's trimmer on the scope's calibration output before blaming the circuit.
Frequently asked questions
Can I use a function generator as a power supply?
No. It produces a signal, not steady DC power, and its output current is tiny (tens of milliamps at most). Use a bench power supply for power.
Why does my square wave look rounded on the scope?
Either the probe is uncompensated, the cable is too long, or the circuit itself cannot follow fast edges (slew-rate limiting). Check the probe compensation first — it takes ten seconds.
What amplitude should I start with?
Start small: 1 Vpp with no offset. Increase only once you know the circuit's input can take it. An op-amp running on ±12 V supplies can take a few volts; a 3.3 V microcontroller ADC input cannot take more than 3.3 V.
Does the generator need a load to work?
It works into an open circuit, but the amplitude doubles (the 50-ohm trap). Into a short circuit it limits its current and the amplitude collapses. Always know your load.
Sine or square for testing an amplifier?
Sine for gain and frequency response — one frequency at a time, clean measurement. Square for checking slew rate and stability — the sharp edges reveal ringing and slow edges immediately.
Can a phone app replace a function generator?
For audio frequencies, a phone's headphone output can produce a rough sine or square wave, and it is fine for a quick check. It is not a substitute for lab measurements: the amplitude is uncalibrated, the output impedance is unknown, and there is no DC offset or sync output.
Limitations
A basic bench generator is a signal source, not a measurement instrument — it tells you what it is sending, not what your circuit does with it; the oscilloscope does that half. Its amplitude accuracy is typically a few percent, so it is not a calibration standard. Very cheap generators distort sine waves noticeably at higher frequencies, which shows up as harmonics on a spectrum analyser but is invisible on an oscilloscope. And none of this replaces reading the datasheet of the circuit you are driving: the generator can produce 10 Vpp, but a 3.3 V input will still be damaged by it.
What to do next
The generator and the oscilloscope are a pair — if you have not used the scope confidently yet, read the oscilloscope debugging guide next, then try the worked filter measurement on a real RC circuit and compare your measured cutoff with the calculation. When a reading disagrees with theory, check the 50-ohm setting, the probe compensation and the offset before you change a single component.
If you are building a hardware project and need help choosing test equipment or getting a working prototype built, you can get a quotation on WhatsApp: https://wa.me/918275719193 — share your circuit, the measurements you need, and your deadline.