Skip to content

Electricity simulation

AC and DC on an Oscilloscope Simulation

Try this: The screen starts with both traces. Follow the amber battery line: it stays 2 divisions above 0 V all the way across. Now follow the green a.c. wave and count how often it crosses 0 V. Open Readings to see how many times a second the current reverses.

Loading simulation…

Connect a battery, a low-voltage a.c. supply or both to an oscilloscope. Turn the timebase and Y-gain dials, read the peak p.d. and the period from the 10 × 8 grid, work out the frequency with f = 1/T, and see why only the a.c. trace crosses 0 V.

In short

How do a.c. and d.c. look different on an oscilloscope?

On an oscilloscope screen, a battery's d.c. is a flat line that stays on one side of 0 V, because its current always flows one way, while a.c. is a wave that crosses 0 V every time the current reverses. For the frequency, multiply the divisions across one cycle by the timebase and use f = 1/T: 4 divisions at 5 ms/div gives 20 ms, so 50 Hz. Here you turn the timebase and Y-gain dials and read the peak p.d.

Show symbols for

Predict first

Question 1 of 3

  1. Predict
  2. Run
  3. Check

An a.c. supply at 50 Hz with a 3.0 V peak is on the screen, with the timebase on 5 ms/div and the Y-gain on 1 V/div. The supply's frequency is doubled to 100 Hz and nothing else is changed. How does the trace change?

Try this

  1. The screen starts with both traces. Follow the amber battery line: it stays 2 divisions above 0 V all the way across. Now follow the green a.c. wave and count how often it crosses 0 V. Open Readings to see how many times a second the current reverses.
  2. Use the one cycle bracket: a cycle spans 4 divisions at 5 ms/div. Work out the period, then the frequency with f = 1/T, and compare your answer with the Frequency card.
  3. Press + beside Time/div twice, to 20 ms/div. Before you look, predict how many divisions one cycle will cover and how many cycles will fit across the screen.
  4. Drag the Peak p.d. slider to 6 V. The wave runs off the top and bottom of the screen. Press + beside Volts/div until the whole wave fits, then read the peak again.
  5. Choose d.c. under the stage, then turn on Connect the battery the other way round. Does the line become a wave, or does it just move?

What the screen shows

The stage is an oscilloscope with a grid ten divisions wide and eight high. It plots p.d. up the screen against time across it, so every trace here is a graph rather than a picture of moving charge. The small arrow on the left marks 0 V. Two dials sit under the stage. Time/div (the timebase) says how many milliseconds each division across is worth, and Volts/div (the Y-gain) says how many volts each division up is worth. Each sweep begins just as the a.c. crosses 0 V on its way up, which keeps the wave still on the screen.

A flat line or a wave

A battery's p.d. never changes sign, so the current it drives always flows the same way. That is direct current, and its trace is a flat amber line. Connect the battery the other way round and the line sits just as far below 0 V instead. The current now flows the opposite way, yet it keeps that one direction for as long as the battery stays connected.

An alternating supply keeps swapping which of its terminals is positive. Its p.d. climbs to a peak, falls back through zero, reaches the same size in the opposite direction and returns: one cycle. Every crossing of the 0 V line is a reversal of the current, so a 50 Hz supply reverses it 100 times a second. Choose Both to see the contrast: the green wave crosses 0 V over and over, while the battery's line never does. For how a spinning coil produces this kind of output, try the electromagnetic induction simulation.

Reading the period and frequency

Find two matching points one cycle apart, such as neighbouring peaks, and count the divisions between them. That count times the timebase is the period. At the start, one cycle spans 4 divisions at 5 ms/div, so T=20T = 20 ms. Change it to seconds before using f=1/Tf = 1/T: 1÷0.020=501 \div 0.020 = 50 Hz. The Measuring marks, on at the start, bracket one cycle and one peak for you.

Reading the peak p.d.

Count the divisions from the 0 V line up to the top of a peak, then multiply by the Y-gain. A 3.0 V peak at 1 V/div stands 3 divisions high. Double that figure and you have the peak-to-peak value, the full height from a trough's lowest point to a crest.

Choosing good settings

Neither dial alters the supply. They only stretch or squash the drawing. If the cycles are so packed that you cannot count them, choose less time per division; if not even one whole cycle fits, choose more. If the peaks run off the screen, choose more volts per division. The most accurate readings come from a few whole cycles and peaks nearly as tall as the screen allows. The same method works for sound picked up by a microphone, as in the sound waves and oscilloscope simulation.

Formula sheet

Equations

Quiz

Check your understanding

8 questions

  1. 1.An a.c. trace is drawn with the timebase at 2 ms/div. One complete cycle spans 10 divisions. What is the frequency of the supply?
  2. 2.The Y-gain is 5 V/div. The peaks of an a.c. trace are 2.4 divisions above the 0 V line. What is the peak p.d.?
  3. 3.Which trace would a battery give on an oscilloscope?
  4. 4.In the USA the mains supply is a.c. at 60 Hz. How many times each second does the current reverse?
  5. 5.The timebase is changed from 5 ms/div to 10 ms/div while the same a.c. supply stays connected. What happens to the trace?
  6. 6.A battery's trace is a flat line 3 divisions above 0 V. The battery is then connected the other way round. What does the trace show now?
  7. 7.What is the period of a 50 Hz mains supply?
  8. 8.Which statement describes an alternating current?

For teachers

Embed it in your site or open it full-screen for the projector.

Read more

Next step

Lightning in 3D (how charge builds up in a storm cloud and why thunder follows the flash)

The next simulation in electricity.