How the instruments work

LabDeck has two instruments: a two-channel analog oscilloscope and a function generator. Both are modelled on bench instruments, with the same controls in the same places, so what you learn here carries over to the real thing. This page explains what each control does and when to use it.

The oscilloscope in one minute

An oscilloscope draws a graph of voltage against time. The screen is a grid of 10 horizontal by 8 vertical divisions. Two knobs set the scale of the graph:

To read a measurement you count divisions and multiply. A waveform that is 4 divisions tall at 0.5 V/div is 2 V peak-to-peak. A waveform that repeats every 5 divisions at 200 µs/div has a period of 1 ms, so a frequency of 1 kHz.

Vertical section (one set of controls per channel)

ControlWhat it doesWhen to use it
VOLTS/DIVVertical scale of the channel.Turn it until the waveform fills most of the screen without leaving it. Larger waveforms make smaller reading errors.
Y-POSMoves the trace up and down.To place the zero line where you want it, or to separate two traces.
Coupling: DC / AC / GNDDC shows the whole signal. AC blocks the DC level and shows only the changes. GND disconnects the input and shows a flat line at 0 V.Use GND first to mark where zero is. Use AC to look at a small ripple riding on a large DC level.
VAR and UNCALA fine adjustment of the scale. The UNCAL light turns on when it is not in its calibrated position.Only to fit a waveform exactly on the graticule. While UNCAL is on, the VOLTS/DIV value on the knob is not the real scale.
CH1, CH2, DUAL, ADDWhich channels are drawn. DUAL draws both. ADD draws the sum of the two.DUAL to compare an input with an output. ADD with INV CH2 to measure a difference.
INV CH2Flips channel 2 upside down.With ADD, CH1 + (−CH2) gives the voltage between two nodes, even when neither is ground.
ALT / CHOPThe two ways of drawing two traces with one beam. ALT draws one whole sweep for channel 1, then one for channel 2. CHOP jumps between the channels 500 000 times a second within each sweep.ALT is better for fast sweeps. CHOP is better for slow sweeps, where ALT would visibly flicker, but at fast sweeps CHOP shows the beam as a dashed line.

Horizontal section

The trigger

The trigger is what makes a repeating signal look still. Each sweep starts when the signal crosses a chosen level in a chosen direction; if every sweep starts at the same point of the waveform, the traces pile up on top of each other. Without a good trigger the waveform seems to run across the screen.

Display controls

Probes and loading

You connect the instruments to the circuit with probes placed on the schematic. Each oscilloscope probe has a tip, which you rest on a node, and an alligator clip, which goes on ground. The tip measures the voltage of that node with respect to the clip.

The input of the oscilloscope is not invisible: it is a 1 MΩ resistance to ground on every channel, and that resistance loads the circuit under test. In a low-impedance circuit this changes nothing. In a high-impedance one, for example a divider made with megaohm resistors, it can change the reading by a lot. Real probes and real instruments do the same.

The Ideal instruments option in the Instruments panel switches this loading off, so you can compare the same circuit with and without the instrument attached.

Taking a measurement, step by step

  1. Press POWER on the oscilloscope and OUTPUT on the generator, and rest the probe tips on the nodes you want to see.
  2. Set the coupling to GND and move Y-POS to put the zero line on a grid line. Then set it back to DC.
  3. Adjust VOLTS/DIV until the waveform is as large as the screen allows.
  4. Adjust TIME/DIV until you see one to three cycles.
  5. Set the trigger: source on the channel you are looking at, slope +, LEVEL near the middle of the waveform, mode AUTO. The TRIG’D light should turn on and the picture should stop moving.
  6. Read the amplitude by counting divisions vertically and the period by counting divisions horizontally. The frequency is 1 divided by the period.

A common mistake is to read a value with UNCAL on. Check the light before you trust the numbers.

The function generator

How LabDeck simulates them

LabDeck is not a general-purpose circuit simulator. For circuits made of resistors, capacitors, inductors and sources, the engine computes the response exactly, including the transient after a change; the top left of the oscilloscope screen then says “exact mode”. When the circuit contains a diode, which is not linear, the engine integrates the circuit numerically over time and the screen says “numeric mode”. The goal is not to replace a professional simulator but to give you instruments that behave like the real ones.

Practice

The example experiments are good places to try all this: the RC filter shows the effect of TIME/DIV on an exponential edge, and the series RLC circuit shows how an amplitude can be larger than the generator voltage at resonance. The quick guide explains how to place the probes.