Professional Documents
Culture Documents
Lab 03
Lab 03
Lab 03
OBJECTIVES
EQUIPMENT REQUIRED
RESUME OF THEORY
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
Draw the demodulated AM signal to scale in the space that you left on the graph paper.
Communication Systems Lab 3
Question 1
What is the relationship between the original message signal and the recovered message?
Question 2
What is the relationship between the amplitude of the two message signals?
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?
Question 3
Why does over-modulation cause the distortion?
Disconnect the envelope detector and modify the set-up to return it to just an AM modulator with
a 2kHz sinewave for the message as shown in Figure 3 below.
Question 5
Given the AM signal (which consists of 100kHz, 102kHz and 98kHz sinewaves) is being
multiplied by a 100kHz sinewave:
Write and implement a MATLAB code to reconstruct the original message signal from AM
modulated signal.
>> t=[0:0.001:10];
Ac=1; fm = 1; fc=10; Am=0.5;
message = Am*sin (2*pi*fm*t);
carrier = Ac*sin (2*pi*fc*t);
Yam = Ac* (1 + message).*carrier;
r=Yam.*carrier;
w=0.002;
[b, a]=butter(2,w);
demodulated=filter(b,a,r);
subplot(5,1,1)
plot(t,message,'.');
title('Original Signal');
xlabel('Time');
ylabel('Amplitude');
grid on;
subplot(5,1,2)
plot(t,carrier,'.');
title('Carrier Signal');
xlabel('Time');
ylabel('Amplitude');
grid on;
subplot(5,1,3)
plot (t, Yam, '.');
title ('AM Signal');
xlabel ('Time');
ylabel('Amplitude');
grid on;
subplot (5,1,4)
plot (t, r,'.');
title ('Rectified Signal');
xlabel ('Time');
ylabel('Amplitude');
grid on;
subplot (5,1,5)
plot(t, demodulated,'.');
title ('Demodulated Signal');
xlabel('Time');
ylabel('Amplitude');
grid on;
>>
Communication Systems Lab 3
Communication Systems Lab 3