You are on page 1of 32

Communication System

Computer Simulation
2022/2
syllabus
• Modulation (Simulink)
• QPSK (quadrature phase shift keying)
• Chirp signal

• Wi-Fi
• DCF (distributed coordination function)

• Queueing
• M/M/1
Grading
• Midterm 40%
• Final 40%
• Homework 10%
• Participation 10%
Elements of a Digital Communication System

Fig. 1.1-1

4
• The source output may be • The message are converted
• analog signal into binary digits.
• audio or video signal
• digital signal • Ideally, we should like to
• the output of a teletype represent the source output
machine by as few digits as possible.
• an efficient representation of
little or no redundancy

5
• The purpose of the channel • For example, a (trivial) form
encoder is to introduce, in a of encoding is simply to
controlled manner, some repeat each binary digit m
redundancy that can be used times.
at the receiver to overcome
the effect of noise and
interference.

6
• The primary purpose of the • The digital modulator may
digital modulator is to map simply map the binary digit 0
the binary information into a waveform s0(t) and the
sequence into signal binary digit 1 into a
waveforms. waveform s1(t).
• called binary modulation
• Suppose the sequence is to
be transmitted one bit at a
time.
7
• The communication • Transmitted signal is
channel is used to send corrupted in a random
the signal from the manner by a variety of
transmitter to the possible mechanisms.
receiver. • thermal noise, man-
• wire lines, optical fiber, made noise, atmospheric
wireless, etc noise

8
• The digital demodulator • This sequence is passed to
processes the channel- the channel decoder, which
corrupted transmitted attempts to reconstruct the
waveform and reduces the original information
waveforms to a sequence of sequence.
numbers. • from the knowledge of the
code used by the channel
encoder

9
• A measure of how well the • In general, it is a function of
demodulator and decoder • the code characteristics
perform is the probability of • the types of waveforms
bit errors. • the transmitter power
• the characteristics of the
channel
• the method of demodulation
and decoding

10
• At the final step, the source • Because of channel decoding
decoder, from the knowledge errors and possible distortion
of the source encoding (why?) introduced by the
method used, attempts to source encoder and the
reconstruct the original source decoder, the output
signal. signal is an approximation to
the original source output.

11
Simulink
2022/1/17
Simulink Online
Simulink Start Page
Blank Model
Search blocks

(double click)
Sine Wave
Scope
Connect

(click)
Run
Scope
Stop time
Prepare
Model Settings
Fixed step size
Run again
Save
sine_wave
sine_wave.slx
sine_wave.m

You might also like