Ask&pcm Ali201606429
Ask&pcm Ali201606429
Communication Lab
Lab 2
Submitted by
Submitted To
Contents
Task 1: .................................................................................................................... 4
Introduction: ....................................................................................................... 4
Screenshots: ........................................................................................................5
Conclusion: ..........................................................................................................7
Task 2: .................................................................................................................... 8
Introduction: ....................................................................................................... 8
Screenshots: ........................................................................................................8
Conclusion: ........................................................................................................12
Page 2 of 12
Table of figures
Page 3 of 12
Table of figures
Task 1:
Introduction:
Amplitude-shift keying (ASK) is a form of amplitude modulation that
represents digital data as variations in the amplitude of a carrier wave. In an ASK
system, the binary symbol 1 is represented by transmitting a fixed-amplitude
carrier wave and fixed frequency for a bit duration of T seconds. If the signal value
is 1 then the carrier signal will be transmitted; otherwise, a signal value of 0 will be
transmitted.
Page 4 of 12
Table of figures
Screenshots:
Carrier with frequency = 4296 and sample time = 1e-7. We multiplied the
pulse generator with the carrier to generate digital signal then we multiplied
the output with the same carrier signal to demodulate it. Then we pass it
through a low pass filter with frequency = 1000 then we pass it to a relay to
convert it to digital signal with 1 and 0.
Scope1: output of the pulse generator(message) and the modulated signal
Scope2: output of the demodulated signal before low pass filter.
Scope3: output of the original message but with delay
Page 5 of 12
Table of figures
Scope 1:
message signal changes the carrier’s amplitude
Yellow color is the carrier modulated signal
Blue color is the pulse generator (message)
Page 6 of 12
Table of figures
Scope: the pulse generator and the pulse generator after demodulation
Upper graph: the pulse generator but delayed due to the blocks
Page 7 of 12
Table of figures
Task 2:
Introduction:
Pulse-code modulation (PCM) is a method used to digitally represent sampled analog signals. It is
the standard form of digital audio in computers, compact discs, digital telephony and other digital
audio applications. In a PCM stream, the amplitude of the analog signal is sampled regularly at
uniform intervals, and each sample is quantized to the nearest value within a range of digital steps.
Screenshots:
Sampling: Multiplication by an impulse train in time is equivalent to convolution
by an impulse train in frequency
Steps:
Page 8 of 12
Table of figures
quantization steps:
����−����
∆= �
Page 9 of 12
Table of figures
Page 10 of 12
Page 11 of 12
Table of figures
Conclusion:
Page 12 of 12