In this experiment, we will use the Arbitrary Waveform Generator (AWG) on the Analog Discovery™ to create frequency modulated signals and apply them to a speaker. Modulated signals have one or more of their parameters (frequency or amplitude) vary according to some other signal.
Modulated sinusoids are composed of a carrier signal which is modified in some way by a second signal, called the baseband signal. The baseband signal is the original frequency range of a signal before being converted or modulated. We will be examining amplitude modulation and frequency modulation. In amplitude modulation, the amplitude of the carrier signal is changed based on the baseband signal. In frequency modulation, the frequency of the carrier signal is changed based on the baseband signal.
Our goal in this project is to obtain an intuitive feeling for the process of modulation. This experiment reiterates the use of the Sweep tab on the Analog Discovery's arbitrary waveform generator instrument.
Qty | Description | Typical Image | Schematic Symbol | Breadboard Image |
---|---|---|---|---|
1 | Buzzer/Speaker | ![]() |
![]() |
![]() |
The Buzzer/Speaker in the analog parts kit has two terminals. If a time-varying voltage is applied between the terminals a film in the speaker vibrates, converting the voltage waveform to a pressure waveform with a similar “shape”. Note: The speaker in your parts kit may have different markings than the one pictured. |
If you have completed the Sinusoids and Swept Signals project and your circuit is still intact, feel free to skip to Step 2 of this exercise.
Connect one terminal of the speaker to the W1 terminal of your Analog Discovery.
Insert the terminals of the speaker into your breadboard so that they are in different rows.
Connect W1 (the yellow wire) to one terminal of the speaker.
Connect ground (, the black wire) to
the other speaker terminal.
Open WaveForms™ to view the main window.
Click on the WaveGen icon to open the waveform generator.
Try changing the carrier wave frequency and the baseband (FM) frequency. Try to interpret the effect of these parameters on the sound you hear.
Note: Use ranges for the carrier frequencies that are over the human auditory range (about 50Hz to 20kHz). Use baseband frequencies which are considerably smaller that the carrier frequencies (about 100mHz to 20Hz).
Try frequency modulating the signal with a square wave. (Just change the “FM” signal type to “Square”. You should hear a signal with two distinct tones—an alternating high and a low frequency.
Click on Run AWG1 or Run All. You should hear a tone from your speaker. The volume of the tone should increase and decrease with time, consistent with the fact that you are varying the amplitude of the signal with time.