Amplitude Modulation and Demodulation
Amplitude Modulation and Demodulation
Class:
6 - AM demodulation
Experiment 6 – AM demodulation
Preliminary discussion
If you’ve completed Experiment 4 then you’ve seen what happens when you use a 2kHz sinewave
to amplitude modulate a carrier to produce an AM signal. Importantly, you would have seen a key
characteristic of an AM signal – its envelopes are the same shape as the message (though the
lower envelope is inverted).
Recovering the original message from a modulated carrier is called demodulation and this is the
main purpose of communications and telecommunications receivers. The circuit that is widely
used to demodulate AM signals is called an envelope detector. The block diagram of an envelope
detector is shown in Figure 1 below.
RC
Rectifier
LPF
Recovered
AM signal message
Rectified AM signal
Figure 1
As you can see, the rectifier stage chops the AM signal in half letting only one of its envelopes
through (the upper envelope in this case but the lower envelope is just as good). This signal is
fed to an RC LPF which tracks the peaks of its input. When the input to the RC LPF is a
rectified AM signal, it tracks the signal’s envelope. Importantly, as the envelope is the same
shape as the message, the RC LPF’s output voltage is also the same shape as the message and so
the AM signal is demodulated.
A limitation of envelope detector shown in Figure 1 is that it cannot accurately recover the
message from over-modulated AM signals. To explain, recall that when an AM carrier is over-
modulated the signal’s envelope is no-longer the same shape as the original message. Instead,
the envelope is distorted and so, by definition, this means that the envelope detector must
produce a distorted version of the message.
Once done, you’ll connect the AM signal to the envelope detector’s input and compare the
demodulated output to the original message and the AM signal’s envelope. You’ll also observe the
effect that an over-modulated AM signal has on the envelope detector’s output.
Finally, if time permits, you’ll demodulate the AM signal by multiplying it with a local carrier
instead of using an envelope detector.
It should take you about 1 hour to complete Parts A to D of this experiment and another 20
minutes to complete Part E.
Equipment
Procedure
▪ the Trigger Source control is set to the CH1 (or INT) position.
▪ the Mode control is set to the CH1 position.
4. Locate the Adder module and turn its G and g controls fully anti-clockwise.
5. Locate the Variable DCV module and turn its DC Voltage control almost fully anti-
clockwise.
Note: Insert the black plugs of the oscilloscope leads into a ground (GND) socket.
Figure 2
This set-up can be represented by the block diagram in Figure 3 below. It generates a 100kHz
carrier that is amplitude modulated by a 2kHz sinewave message.
Figure 3
7. Use the scope’s Channel 1 Vertical Position control to move the trace so that it lines up
with the horizontal line in the middle of the scope’s screen.
8. While watching the Adder module’s output on the scope, turn its g control until the DC
level is 1V.
Tip: It is probably most convenient to do this with the scope’s Ch-1 Vertical Attenuation
control on the 0.5V/div setting.
9. While watching the Adder module’s output on the scope, turn its G control to obtain a
1Vp-p sinewave.
Tip: You may need to adjust the scope’s Timebase control to view two or so cycles of the
signal.
10. Set the scope’s Mode control to the DUAL position to view the AM signal out of the
Multiplier module as well as the message signal.
Tip: If you’re not sure how to do this, see Experiment 4 (page 4-14).
If you’ve connected the set-up and adjusted the controls correctly, the AM signal has a depth
of modulation of about 0.5.
Figure 4
The additions to the set-up in Figure 4 can be represented by the block diagram in Figure 5
below. As you can see, it’s the envelope detector explained in the preliminary discussion.
To Ch.2
AM Demodulated
Rectifier RC LPF
signal AM signal
Figure 5
14. Draw the two waveforms to scale in the space provided below leaving room to draw a third
waveform.
Tip: Draw the message signal in the upper third of the graph and the rectified AM signal
in the middle third.
15. Disconnect the scope’s Channel 2 input from the Rectifier’s output and connect it to the
RC LPF’s output instead.
16. Draw the demodulated AM signal to scale in the space that you left on the graph paper.
17. Vary the message signal’s amplitude up and down a little (by turning the Adder module’s G
control left and right a little) while watching the demodulated signal.
Question 2
What is the relationship between the amplitude of the two message signals?
The bigger the original message signal’s amplitude, the bigger the recovered message
signal’s amplitude.
18. Slowly increase the message signal’s amplitude to maximum while watching the
demodulated signal.
Question 3
What do you think causes the heavy distortion of the demodulated signal? Tip: If you’re
not sure, connect the scope’s Channel 1 input to the AM modulator’s output and set its
Trigger Source control to the CH2 position.
Over-modulation
Question 4
Why does over-modulation cause the distortion?
Over-modulation distorts the AM signal’s envelope which upsets the operation of the
envelope detector.
19. If you moved the scope’s Channel 1 input to help you answer Question 4, reconnect it to
the Adder module’s output and return the scope’s Trigger Source control to the CH1
position.
20. Adjust the message signal’s amplitude back to 1Vp-p (by turning the Adder module’s G
control anti-clockwise).
Figure 6
24. Without wearing the headphones, plug them into the Buffer module’s headphone socket.
26. As you perform the next step, set the Buffer module’s Gain control to a comfortable
sound level.
27. Talk, sing or hum while watching the scope’s display and listening on the headphones.
▪ One with a frequency equal to the sum of the two signals’ frequencies
▪ One with a frequency equal to the difference between the two signals’ frequencies
The envelope detector works because the rectifier is a device that multiplies all signals on its
one input with each other. Ordinarily, this is a nuisance but not for applications like AM
demodulation. Recall that an AM signal consists of a carrier, the carrier plus the message and
the carrier minus the message. So, when an AM signal is connected to a rectifier’s input,
mathematically the rectifier’s cross multiplication of all of its sinewaves looks like:
To make this a little more meaningful, let’s do an example with numbers. The AM modulator that
you set up at the beginning of this experiment uses a 100kHz carrier and a 2kHz message (with
a DC component). So, the resulting AM signal consists of three sinewaves: one at 100kHz,
another at 102kHz and a third at 98kHz. Table 1 below shows what happens when these
sinewaves are cross-multiplied by the rectifier.
Notice that two of the sinewaves are at the message frequency. In other words, the message
has been recovered! And, as the two messages are in phase, they simply add together to make a
single bigger message.
Importantly, we don’t want the other non-message sinewaves so, to reject them but keep the
message, the rectifier’s output is sent to a low-pass filter (which explains why a low-pass filter
can double as a peak detector). Ideally, the filter’s output will only consist of the message
signal. The chances of this can be improved by making the carrier’s frequency much higher than
the highest frequency in the message. This in turn makes the frequency of the “summed” signals
much higher and easier for the low-pass filter to reject.
[As an aside, the 4kHz sinewave that was generated would pass through the low-pass filter as
well and be present on its output along with the 2kHz signal. This is inconvenient as it is a signal
that was not present in the original message. Luckily, as the signal was generated by multiplying
the sidebands, its amplitude is much lower than the recovered message and can be ignored.]
An almost identical mathematical process can be modelled using the Emona Telecoms-Trainer
101’s Multiplier module. However, instead of multiplying the AM signal’s sinewaves with each
other (the Multiplier module doesn’t do this), it must be multiplied with an additional pure
100kHz sinewave. The next part of this experiment lets you demodulate an AM signal this way.
Figure 7
29. Check that the message signal’s amplitude is 1Vp-p. If not, adjust the Adder module’s G
control until it is.
Tip: You’ll need to return the scope’s Timebase control to its earlier setting if you’ve not
done so already.
COMPARATOR
REF
DC
X
AC
DC
Y IN OUT
AC
RECTIFIER
G kXY
MULTIPLIER
A
DIODE & RC LPF
X DC
RC LPF
g
B GA+gB Y DC kXY
VARIABLE MASTER
DCV SIGNALS
+5V
VDC
GND
VDC
100kHz
SINE
100kHz
COS
SPEECH
100kHz
DIGITAL
8kHz
A EXOR DIGITAL
2kHz
DIGITAL
2kHz
SINE
B A+B
Figure 8
The additions to the set-up can be represented by the block diagram in Figure 9 below. The
Multiplier module models the mathematical basis of AM demodulation and the RC Low-pass filter
on the Utilities module picks out the message while rejecting the other sinewaves generated.
Figure 9
Question 5
Given the AM signal (which consists of 100kHz, 102kHz and 98kHz sinewaves) is being
multiplied by a 100kHz sinewave:
A) Five.
B) One at 198kHz, one at 200kHz, a third at 202kHz and two sinewaves at 2kHz.
These latter two are in-phase and combine to form one larger one. So technically, you
could argue that there are only four. (Note: The 4kHz sinewave isn’t generated.)
32. Disconnect the scope’s Channel 2 input from the Multiplier module’s output and connect it
to the RC LPF’s output instead.
33. Compare the RC LPF’s output with the message and the output RC LPF’s that you drew
earlier (see page 6-7).
A common misconception about AM is that, once the signal is over-modulated, it’s impossible to
recover the message. However, when the AM signal is generated using an ideal or near-ideal
modulator (like Figure 3) this is only true for the envelope detector.
The AM demodulation method being implemented in this part of the experiment (called product
detection – though it is more accurate to call it product demodulation) doesn’t suffer from this
problem as it’s not designed to recover the message by tracking one of the AM signal’s
envelopes. The final part of this experiment demonstrates this.
36. Slowly increase the message signal’s amplitude to produce a near 100% modulated AM
signal by adjusting the Adder module’s G control.
Note: Resize the AM and demodulated message signals on the scope’s screen as
necessary.
37. Slowly increase the message signal’s amplitude to produce an AM signal that is modulated
by more than 100% while paying close attention to the demodulated message signal.
Note: Notice that the demodulated message signal is not distorted even though the
carrier is over-modulated.
fs = 1e5;
t = 0:1/fs:0.1;
Ac = 1;
fc = 1e3;
Am = 0.5;
fm = 100;
figure;
subplot(2, 1, 1);
plot(t, message_signal, 'b');
title('Message Signal (Time Domain)');
xlabel('Time (s)');
ylabel('Amplitude');
grid on;
% Amplitude modulation
modulated_signal = (1 + message_signal) .* carrier_signal;
Components:
• Signal generator
• Constant
• Sum
• Product
• Analog filter design
• Zero order hold
• DC blocker
• Scope
Procedure:
• Set message signal frequency to 100Hz and add a DC offset of 2.
• Then product with carrier signal frequency of 5000Hz.
• The output signal would be an Amplitude Modulated signal.
• To demodulate it in a coherent method, first produce the modulated signal with the
same carrier frequency.
• Pass the output through a low pass filter.
• To eliminate the DC offset, the signal needs to be sampled and passed through a DC
blocker.
Output:
Modulated: