Basics of Digital Communication
Basics of Digital Communication
Communication
Digital communication system
Analog Digital
Input Low
Signal Source Channel
Pass Sampler Quantizer Multiplexer
Analog/ Encoder Encoder
Filter
Digital
Carrier
Pulse
Twisted Pair To Channel Modulator Shaping
Line
Encoder
Co-axial Cable Filters
Optical Fiber
Wireless
De- Receiver
From Channel Detector
Space Modulator Filter
Signal
Digital-to-Analog Channel De-
at the
Converter Decoder Multiplexer
user end
Analog Digital
2
Digital Modulation
• cost effective because of advances in digital technology
(VHDL, DSP, FPGA…)
• advantages/disadvantages vs analog
- better noise immunity
- robustness to channel impairments
- ability to multiplex information
- error control: detect & correct corrupt bits
- able to encrypt data
- flexible software modulation & demodulation
- requires complex signal conditioning
modulating signal (message) represented as pulses
• n bits represented by m finite states
• n = log2m
3
Factors in Digital Modulation
4
(ii) Bandwidth Efficiency, B
Ability to accommodate data in limited bandwidth
• increasing data rate requires increased bandwidth
• direct relationship to system capacity
• measured in terms of bit rate, Rb & RF bandwidth, B
B =Rb/B 6.36
Fundamental Upper Bound on achievable Bit Rate per given
Bandwidth (aka Shannon Bound)
Bmax = C/B
S
Bmax = log2 1 6.37
N
• C = maximum channel capacity (bps) 5
Analog vs. Digital
x(t)
Analog signals
Value varies continuously
t
Digital signals x(t)
Value limited to a finite set
t
Binary signals x(t) 1 1 1
Has at most 2 values
Used to represent bit values 0 T 0 0 0
Bit time T needed to send 1 bit
Data rate R=1/T bits per second t
6
Analog versus Digital
Regenerator receiver
Original Regenerated
pulse pulse
Propagation distance
Different kinds of digital signal are treated identically.
Voice
Data A bit is a bit!
Media
8
Analog versus Digital
Flexibility:
Perform encryption
Compression
Error correction/detection
Reliable reproduction
9
Bandwidth of signal
Baseband versus bandpass:
Baseband Bandpass
signal signal
Local oscillator
Bandwidth dilemma:
Bandlimited signals are not realizable!
Realizable signals have infinite bandwidth!
10
Sampling
Time domain Frequency domain
xs (t ) x (t ) x(t ) X s ( f ) X ( f ) X ( f )
x(t )
| X(f )|
x (t ) | X ( f ) |
xs (t )
| Xs( f ) |
11
Aliasing effect
LP filter
Nyquist rate
aliasing
12
Sampling theorem
13
Quantization
Amplitude quantizing: Mapping samples of a continuous
amplitude waveform to a finite set of amplitudes.
Out
In
Average quantization noise power
Quantized
14
Encoding (PCM)
15
Quantization example
amplitude
x(t)
111 3.1867
100 0.4552
010 -1.3657
16
Quantization error
Quantizing error: The difference between the input and output
of a quantizer e(t ) xˆ (t ) x(t )
Process of quantizing noise
Qauntizer
Model of quantizing noise
y q (x )
AGC x(t ) xˆ (t )
x(t ) xˆ (t )
x
e(t )
+
e(t )
xˆ (t ) x (t )
17
Pulse Code Modulation (continued)
18
Pulse Code Modulation (continued)
19
Pulse Code Modulation (continued)
20
Pulse Code Modulation (continued)
21
Delta Modulation
•An analog waveform is tracked using a binary 1 to
represent a rise in voltage and a 0 to represent a drop
22
Line Coding Formats
(Converting Data into Signals)
•Numerous techniques –
• NRZ-L
• NRZ-I
• Manchester
• Differential Manchester
• Bipolar AMI
23
Converting Data into Signals
(continued)
24
What is modulation
Modulation is the process of encoding
information from a message source in a
manner suitable for transmission
It involves translating a baseband message
signal to a bandpass signal at frequencies
that are very high compared to the baseband
frequency.
Baseband signal is called modulating signal
Bandpass signal is called modulated signal
25
Modulation Techniques
Modulation can be done by varying the
Amplitude
Phase, or
Frequency
of a high frequency carrier in accordance with the
amplitude of the message signal.
Demodulation is the inverse operation:
extracting the baseband message from the
carrier so that it may be processed at the
receiver.
26
Fundamentals of Signals
Amplitude
•Height of the wave above or
below a given reference point
Frequency
•Number of times a signal makes
complete cycle within a given
time frame
•Spectrum - Range of frequencies that a
signal spans from minimum to maximum
•Bandwidth - The absolute value of the
difference between the lowest and
highest frequencies of a signal
Phase
•Position of the waveform
relative to a given moment of
time or relative to time zero
•A change in phase can be
any number of angles
between 0 and 360 degrees
•Phase changes often occur
on common angles, such as
45, 90, 135, etc.
28
Where do you need modulation ?
Textual Format
source info.
Pulse
Analog Transmit
Sample Quantize Encode modulate
info.
Pulse
Bit stream waveforms Channel
Format
Analog
info. Low-pass
Decode Demodulate/
filter Receive
Textual Detect
sink
info.
Digital info.
30
Modulation
-Transmitting Digital Data with Analog Signals
31
Amplitude Shift Keying
32
Amplitude Shift Keying (continued)
33
Amplitude Shift Keying (continued)
34
Frequency Shift Keying
35
Phase Shift Keying
36
Phase Shift Keying (continued)
•135 degrees
•225 degrees
•315 degrees
37
Phase Shift Keying (continued)
38
Phase Shift Keying (continued)
39
Phase Shift Keying (continued)
40
Thank you
41