Basic Periodic Signals

Project 1: Waveform Generator

Basic Periodic Signals

Project 1: Waveform Generator

Introduction

This experiment introduces the Analog Discovery's™ arbitrary waveform generator instrument. Arbitrary waveform generators, often called AWGs or simply waveform generators, produce a variety of time-varying signals. Most, including the Analog Discovery's AWG, will also produce a constant voltage. This constant voltage level is typically variable, unlike the fixed voltage produced by the Voltage instrument.

Most voltages produced by waveform generators are periodic. This means that they repeat themselves at a set rate. This rate is called the frequency of the signal, which is the number of times that the signal repeats itself each second. Units of frequency are cycles per second, or Hertz (abbreviated Hz). For more info on periodic signals, follow the link provided in the related materials section.

In this experiment, we will use the AWG to apply a time-varying signal to an LED to make it flash on and off. This will allow us to explore some of the features of the waveform generator and get a physical feeling for some of the parameters associated with periodic signals.

Before you begin, you should:
  • Be able to use the Voltage Instrument on the Analog Discovery to apply ±5V relative to the Analog Discovery's ground.
  • Be able to identify ground, W1, and W2 terminals on Analog Discovery.
  • Define a periodic signal.
  • Determine the frequency of a periodic signal from a plot of the signal as a function of time.
After you're done, you should:
  • Be able to use the Analog Discovery waveform generator to apply constant voltages.
  • Be able to use the Analog Discovery waveform generator to apply standard periodic voltage signals.

Inventory:

Qty Description Typical Image Schematic Symbol Breadboard Image
1 LED
1 100Ω resistor

Procedures

Shortcut!

If you have completed the Voltage Instrument project and your circuit is still intact, just replace the V+ connection (the red wire) with the W1 connection (the yellow wire) as shown in Step 1 of this project. Then open the WaveGen instrument and apply power to the circuit, per Step 2 of this exercise.

Step 1: Understanding the Circuit

A. Circuit Schematic

  1. Use W1 to apply voltage across the LED to make it “flicker”.

  2. The resistor limits the current.

B. Create Circuit

  1. Connect W1 (the yellow wire) to the resistor.

  2. Connect the resistor to the LED anode.

  3. Connect ground (, the black wire) to the LED cathode.

Step 2: Set up Instruments

A. Open WaveGen Instrument

  1. Open WaveForms™ to view the main window.

  2. Click on the WaveGen icon to open the waveform generator.

Step 3: Experiment

A. Set Up WaveGen to Create 1Hz Square Wave

 

 

B. Apply Power to Your Circuit

The images above are screenshots of Digilent WaveForms running on Microsoft Windows 7.
  • The LED should blink on and off.
  • Our input frequency is 1Hz (one cycle/second), so it should turn on once per second.
  • The default square wave provides high voltage for half the overall cycle and low voltage for the other half, so the LED should be on for a half second and off for a half second.

Test Your Knowledge!

  1. Vary the frequency between about 100mHz and 100Hz and find out at what frequency the diode seems to be on all the time.

  2. Decrease the amplitude and determine the voltage at which the LED no longer turns “ON”.

  3. Try sinusoidal ( icon), triangular ( icon), and constant ( icon) voltages.
    • What effect does this have on the LED's flicker?
  4. Return to a 1Hz square wave with a 5V amplitude.
    • Click on the Symmetry check box. This option allows you to change the relative “ON” and “OFF” times for the LED.
    • Change the symmetry to 10%. Does this have the effect you would expect?
  5. If you have a set of headphones, plug them into the headphone jack in the back of the Analog Discovery.
    • Use the waveform generator to create a sinusoidal signal with a frequency of about 100Hz and a 2V amplitude. Listen to the resulting tone with your headphones.
    • Vary the frequency and amplitude of the sinusoid. Over what range of frequencies can you hear the tone? Does changing the amplitude have the effect you expect?

  • Other product and company names mentioned herein are trademarks or trade names of their respective companies. © 2014 Digilent Inc. All rights reserved.
  • Circuit and breadboard images were created using Fritzing.