Professional Documents
Culture Documents
Communications (T071)
Dr. Radwan E. Abdel-Aal
Chapter 6: Data
Physical Layer Communication:
Chapter 4: Synchronization,
Transmission Media Error detection and
correction
Transmission Medium
Chapter 5: Encoding:
Chapter 3: Signals, their From data to signals
representations, their
transmission over media,
Resulting impairments
2
Agenda
Concepts & Terminology
Signal representation:
Time and Frequency domains
Bandwidth and data rate
Decibels and Signal Strength (Appendix 3A )
Fourier Analysis (Appendix B )
Analog & Digital Data Transmission
Transmission Impairments
Channel Capacity
3
Terminology (1)
Transmission system: Components
Transmitter
Receiver
Medium
Guided media
e.g. twisted pair, coaxial cable, optical fiber
Unguided media
e.g. air, water, vacuum
4
Terminology (2)
Link Configurations:
Direct link
No intermediate ‘communication’ devices A
(these exclude repeaters/amplifiers)
Amplifier
Two types: C
Point-to-point
B
Only 2 devices share link
Multi-point
More than two devices share the same link, e.g.
Ethernet bus segment
5
Terminology (3)
Transmission Types (ANSI Definitions)
Simplex
Information flows in one direction only all the time
e.g. Television, Radio broadcasting
Duplex
Information flows in both directions
Two types:
Half duplex
Only one direction at a time
e.g. Walki-Talki
Full duplex
In both directions at the same time
e.g. telephone
6
Frequency, Spectrum and
Bandwidth
Time domain concepts
Analog signal
Varies in a smooth, continuous way in both time and
amplitude
Digital signal
Maintains a constant level for sometime and then changes to
another constant level
(i.e. amplitude takes only a finite number of discrete levels)
Periodic signal
Same pattern repeated over time
Aperiodic signal
Pattern not repeated over time
7
Analogue & Digital Signals
All values on the time and amplitude axes
are allowed
8
T
Periodic Temporal Period
…
Signals
t t+1T t+2T
S (t+nT) = S (t); 0 t T
Where:
t is time over first period
T is the waveform period
n is an integer
s(t)
0
+ X/2 t
- X/2
10
Continuous and Discrete
Representations
Availability of the signal over the horizontal axis
(Time or Frequency)
Continuous:
Signal is defined
at all points on
the horizontal axis
Sampling with
Discrete: a train of delta function
Signal is defined
Only at certain points
on the horizontal axis
11
T (Period)
Sine Wave = A sin ()
A (Amplitude)
s(t) = A sin(2f t +)
Peak Amplitude (A)
Peak strength of signal, volts
Repetition Frequency (f)
Measures how fast the signal varies with time
Number of waveform cycles per second (Hz)
f = 1/ T(xx sec/cycle) = yy cycles/sec = yy Hz
Angular Frequency ()
= radians per second = 2 f = 2 /T
Temporal (time) Period, T = 1/f
Phase ()
Determines relative position in time, radians (how
12 to calculate?)
Varying one of the three parameters of a
sine wave carrier Can be used to convey information…!
s(t) = A sin(2ft +) ModulatIon
= A sin(t+)
AM
Varying A
Va
ryi
ng
Varying f
FM
PM
13
Sine Wave Traveling in the +ive x
direction
s(t) = A sin (k
k = Wave Number
x - t]
= Angular Frequency Spatial Period
= 2 / = 2 f = 2 / T = Wavelength
For point p on the wave: x
p
Total phase at t = 0: kx - (0) = kx
x
Total phase at t = t: k(x+ x) - (t)
Distance,
Same total phase, x
kx = k(x+ x) - (t) t=0
k x = t
t = t + ive x direction
Wave propagation velocity v = x / t
v = /k = /T = f Direction of wave travel, at velocity v
Show that the wave
s(t) = A sin (k x + t] v = f V is constant for a given
14 type and medium
wave
travels in negative x direction
Wave Propagation Velocity, v
m/s for:
Constant
A given wave type (e.g. electromagnetic, seismic, ultrasound, ..)
and a given propagation medium (air, water, optical fiber)
For all types of waves:
v=f
For a given wave type and medium (given v): higher frequencies
correspond to shorter wavelengths and vise versa:
Electromagnetic waves:
Shorter wavelength .. Higher frequency
long wave radio (km), short wave radio (m), microwave (cm)… light (nm)
For electromagnetic waves:
In free space, v speed of light in vacuum
v = c = 3x108 m/sec
Over other guided media (coaxial cable, optical fiber, twisted
16
Frequency Domain Concepts
Response of systems to a sine waves is easy to analyze
But signals we deal with in practice are not all sine waves,
e.g. Square waves
Can we relate waves we deal with in practice to sine
waves? YES!
Fourier analysis shows that any signal can be treated as
the sum of many sine wave components having different
frequencies, amplitudes, and phases (Fourier Analysis:
Appendix B)
This forms the basis for frequency domain analysis
For a linear system, its response to a complex signal will
be the sum of its response to the individual sine wave
components of the signal.
Dealing with functions in the frequency domain is simpler
than in the time domain 17
Addition of
Fundamental
A = 1*(4/)
Two frequency = f
frequency +
1/3 rd the Amplitude
Components 3rd harmonic 3 times the frequency
A = (1/3)*(4/)
frequency = 3f
Frequency Spectrum
=
Approaching
a square wave
Fourier Series
3 t
f
Frequency Domain: S(f) vs f Time Domain: s(t) vs t
Fourier Series
18
Discrete Function in f Periodic function in t
Asymptotically approaching a square
wave by combining the fundamental
+ an infinite number of odd
harmonics
1.5
at prescribed amplitudes
1
Topic for a
square signal, sw(t)
programming
0.5 assignment
Adding more
higher What is the highest
0 harmonics Harmonic added?
-0.5
-1
-1.5
0 2 4 6 8 10
t 19
More Frequency Domain
Representations:
(Aperiodic
s(t)
signal) Transform
To To
0
+ X/2 t
To
- X/2
frequency time
Fourier
1/X Frequency Domain: S(f) vs f Time Domain: s(t) vs t
Transform
Continuous Function in f Aperiodic function in t
21
Signals with a DC Component
NO DC Component,
Signal average over a period = 0
+
_ t
+
1V DC Level
+
t
1V DC
Component
DC Component
Component at zero frequency
Determines if fmin = 0 or not 22
= (fmax- fmin)
Bandwidth for these signals:
fmin fmax Absolute Effective
BW BW
1f 3f 2f 2f
0 3f 3f 3f
0 1/X ?
23
Bandwidth of a transmission
system
Is the Range of signal frequencies that are
S(f)
adequately passed by the system
Effectively, the transmission system ….
f 3f 5f 7f f
(TX, medium, RX) acts as a filter
Poor transmission media, e.g. twisted pairs, have
a narrow filter bandwidth
This cuts off higher frequency signal components
poor signal quality at receiver
And limits the signal frequencies (Hz) that can be
used for transmission
limits the data rates used (bps) 24
Received Waveform
Limiting Effect of
System Bandwidth 1,3
BW = 2f f 3f
Better reception requires larger BW 1
More difficult reception with smaller BW
Varying System BW
1,3,5
BW = 4f f 3f 5f
1,3,5,7
BW = 6f f 3f 5f 7f
3
…
BW =
1,3,5,7
4 1
s(t )
k odd, k 1 k
sin(2kft ) ,9,…
f 3f 5f 7f ……
4 25
Fourier Series for a Square Wave
System Bandwidth and Achievable
Data Rates
Any transmission system supports only a limited range of
frequencies (bandwidth) for satisfactory transmission
For example, this bandwidth is largest for expensive
optical fibers and smallest for cheap twisted pair wires
So, bandwidth is money Economize in its use
Limited system bandwidth degrades higher frequency
components of the signal transmitted poorer received
waveforms more difficult to interpret the signal at the
receiver (especially with noise) Data Errors
More degradation occurs when higher data rates are used
(signal will have more components at higher frequency )
This puts a limit on the data rate that can be used with a
given signal to noise requirement, receiver type, and a
specified error performance Channel capacity issues
26
Data Element =
Bandwidth and Data Rates Signal Element
Data rate = 1/(T/2) = (2/T) bits per sec = 2f bps Period T = 1/f T/2
B
1 0 1 0 Data
B = 4f
Given a bandwidth B,
f 3f 5f
Data rate = 2f = B/2
To double the data rate you need to double f: Two ways to do this…
1. Double the bandwidth with same received waveform (same RX conditions & error rate)
2B = 4f’
2B
New bandwidth: 2B, X2 1 0 1 0 1 0 1 0
Data rate = 2f’ = 2(2f)= 4f = B
f’ 3f’ 5f’
Same bandwidth, B, but tolerate poorer received waveform (needs better receiver,
gher S/N ratio, or tolerating more errors in data)
B = 2f’ 1 0 1 0 1 0 1 0
B
X2
Bandwidth: B,
Data rate = 2f’ = 2(2f) = 4f = B
f’ 3f’ 5f’ 27
Bandwidth & Data Rates: Tradeoffs…
Compromises
Increasing the data rate (bps) while keeping BW the
same (to economize) means working with inferior
(poorer) waveforms at the receiver, which may require:
Ensuring higher signal to noise ratio at RX (larger signal
relative to noise):
Shorter link distances
Use of more en-route repeaters/amplifiers
Better shielding of cables to reduce noise, etc.
More sensitive (& costly!) receiver
Suffering from higher bit error rates
Tolerate them?
Add more efficient means for error detection and correction- this also
increases overhead!.
28
Appendix 3A: Decibels and
Signal
Strength
The decibel notation (dB) is a logarithmic measure of the ratio
between two signal power levels
N = number of decibels
dB P2
P = input power level (Watts)
1 N dB 10 log10
P = output power level (Watts)
2 P1
e.g. Amplifier gain P1 P2 P3
Signal loss over a link
Lossy Link
Amplifier
Example:
A signal with power level of 10mW is inserted into a transmission line
C=A*B
Log C = Log A + Log B
and Division with Subtraction
A=C/B
Log A = Log C - Log B 31
Decibels and Signal Strength
Example: Transmission line with an intermediate amplifier
Amplifier
4 mW ?
Transmitted Gain: 35 dB Received
Loss: 12 dB Loss: 10 dB
Signal Signal
Examples:
Power of 1000 W is 30 dBW, 1 W = ? dBW
–10 dBm represents a power of 0.1 mW,
1 mW = ? dBm 33
X dBW = (X + ?) dBm
dBs & dBms are added
algebraically G P1 P2
Periodic Aperiodic
…
FS : Fourier Series
DFS : Discrete Fourier Series
FT : Fourier Transform
DFT : Discrete Fourier Transform 37
Fourier Series for periodic
continuous
Any periodic signalsignals
x(t) of period T and repetition
frequency f0 (f0 = 1/T) can be represented as an infinite
sum of sinusoids of different frequencies and
amplitudes – its Fourier Series. Expressed in Two forms:
Frequencies
1. The sine/cosine form: are multiples
A0
An cos( 2nf 0t ) Bn sin( 2nf 0t )
of the fundamental
x(t ) frequency f0
2 n 1
f0 = fundamental
Where: DC frequency = 1/T
Component T
2
T 2
A0 x(t )dt An x(t ) cos(2nf 0t )dt = f(n)
T 0 T 0
All integrals over Two components
at each frequency
If A0 is not 0, one period only T
2
x(t) has a DC Bn x(t ) sin( 2nf 0t )dt = f’(n)
component T 0
38
Fourier Series: 2. The Amplitude-
Phase
Previousform:
form had two components at each frequency
(sine, cosine i.e. in quadrature) : An, Bn coefficients
The equivalent Amplitude-Phase representation
has only one component at each frequency: Cn, n
Derived from the previous form using trigonometry:
cos (a) cos (b) - sin (a) sin (b) = cos [a +b]
Now we have
C0
x(t ) Cn cos(2nf 0t n ) Only one component
at each frequency nf
2 n 1 0
An 39
Fourier Series: General
A Fourier Series Expansion
A cos( 2nf t ) B sin( 2nf t )
Observations
x(t ) 0
n 0 n 0
2 n 1
Function Odd Function
DC Even Function
Function Series
No DC T
A0 = 0
1
T 0
x (t )dt 0
41
Fourier Series Example
x(t)
1
-1
T
= 0 for n even
-2 -1 1 2
-1
T
4 1 1 1 1 1 1 1
x1(t ) cos t cos 3 t cos 5 t cos 7 t
2 3 2 5 2 7 2
45
Another Example, Contd…
4 1 3 1 5 1 7
x1(t ) cos t cos 3t cos 5t cos 7t
2 3 2 5 2 7 2
4 1 1 1
x1(t ) sint sin 3t sin 5t sin 7t ... Sine is an
3 5 7 odd function
4 1
x1(t )
k odd, k 1 k
sin( 2kf 0t ) As given before for the square wave
on slide 25.
3
Because: cos t sin t cos 3t sin 3t
2 2
5 7
cos 5t sin 5t cos 7t sin 7t
2 46
2
Fourier Transform
For aperiodic (non-periodic) signals in time, the spectrum
consists of a continuum of frequencies (not discrete
components)
This spectrum is defined by the Fourier Transform
Sinc function
Sinc2 function
48
Fourier Transform Example
e j e j x(t)
sin
2 j A
e j e j
cos 2 2
2
j 2ft
X(f ) x (t ) e dt
/2
A j 2ft / 2 Sin (x) / x
j 2ft
X( f ) Ae dt e i.e. “sinc”
/2
j 2f / 2 function
pulse width
Study the effect of the50
The narrower a function is
in one domain,
the wider its transform is
in the other domain
51 0
Power Spectral Density (PSD) &
Bandwidth
Absolute bandwidth of any time-limited signal is infinite
But luckily, most of the signal power will be
concentrated in a finite band of lower frequencies
Power spectral density (PSD) describes the
distribution of the power content of a signal as a
function of frequency
Effective bandwidth is the width of the spectrum
portion containing most of the total signal power
We estimate the total signal power in the time domain
52
Signal Power in the time domain
Signal is specified as a function s(t) representing signal voltage or
current
Assuming resistance R = 1
Instantaneous signal power (t) = v(t)2/1= i(t)2*1 = |s(t)|2
Signal power can be obtained as the average of the instantaneous
signal power over a given interval of time = constant
t2
1
PTotal
2
t 2 t1 �x
s (t )
t1
dt (1)
For periodic signals, this averaging is taken over one period, i.e.
T
1
2
PTotal s ( t ) dt
T 0
This measure in the time domain gives the total signal power
Effective BW is then determined such that it contains a specified
portion (percentage) of this total signal power
53
Signal Power in the Frequency Domain:
Periodic signals
For periodic signal we have a discrete spectrum (the F Series):
(f-nf0)
C0
x(t ) Cn cos(2nf 0t n ) 1
2 n 1 …
0 f0 2f0 3f0 f
For a DC component, Power = Vdc2
For AC components Power = Vrms2= 1Vpeak 2 (use eqn. 1 on prev. slide)
2
Power spectral density (PSD) is a discrete function of
frequency: C 02 1 �
(A function
PSD
4
� (f )
2
2
�C
n 1
n � (f nf o )
of frequency)
Where (f) is the Dirac delta function: (f ) {
1 f =0
0f � 0
n 1
55
Signal Power in the Frequency Domain:
Aperiodic signals Watts/Hz
57
Example (Cont.)
1. Mathematical expression for s(t):
s (t ) { A cos(2 f o t )
0
, -T/4 �t �T/4
, T/4 �t �3T/4
T/2
• DC Component?
• Even or odd function? Sine/cosine form of the Fourier Series
• A0 ?
A0
• An ? s (t ) An cos( 2nf 0t ) Bn sin( 2nf 0t )
2 n 1
• Bn ?
To get to the amplitude-phase form of the Fourier series,
we must first obtain the sine-cosine form 59
Example (Cont.) T
2
A0 x(t )dt
Fourier Analysis: T 0
f0 = (1/T)
T /4 T /4
2 2A
A0
T s(t )dt
T / 4
cos(2f o t )dt
T T / 4
t T / 4
2 A sin(2t / T ) A
sin( / 2) sin( / 2)
T 2 / T t T / 4
A A
sin( / 2) sin( / 2) 2 sin( / 2)
2A
, as sin( / 2) 1
DC = ?
-3T/4 -T/4 +T/4 +3T/4
60
T
Example (Cont.) 2
An x(t ) cos(2nf 0t )dt
T 0
f0 = (1/T)
2 Fourier Analysis
T /4 T /4
2. 2A
An � s (t ) cos(2 nf o t )dt �cos(2 f t ) cos(2 nf ot )dt
T (cont.):
o
T / 4
T T / 4
T /4
sin(2 (n 1)f o t ) sin(2 ( n 1)f o t ) �
2A �
�� � , for n �1
T � 4 (n 1)f o 4 (n 1)f o � T / 4
cos( n / 2) cos(n / 2) �
A � n = 1 will be treated
�� �, for n �1 Separately later
� (n 1) ( n 1) �
sin(ax bx ) sin(ax bx )
Note: � cos(ax ) cos(bx )dx , and
2(a b ) 2(a b )
From integral ) cos( x 2 )
sin( xtables
61
Example (Cont.)
Fourier Analysis (cont.):
n1
An 0 , for n odd and n �1
A �(1) ( 1) � , for n even
(n 2) (n 2)
A n �� �
�( n 1) ( n 1) �
A �
(1) (n 2)
( n 1) ( 1)( 1) (n 2)
( n 1) �
�� �
� ( n 1)( n 1) �
A (1) (n 2)
� ( n 1) ( 1)( n 1)
(n 1)
2
(1 n 2 )
2A (1)
, for n even
(n 2 1) 62
Example (Cont.)
Fourier Analysis (cont.):
For n = 1, A1 is obtained separately
0 , for n �1
cos(ax bx ) cos(ax bx )
Note: �
sin(ax ) cos(bx )dx
2(a b ) 2(a b )
64
Example (Cont.)
Fourier Analysis (cont.):
For n = 1, B1 is obtained separately
T /4 T /4
2 2A
B n 1 � s (t ) sin(2 ��
1 f o t )dt �cos(2 f o t ) sin(2 f o t )dt
T T / 4
T T / 4
T /4
A
T �sin(4 f
T / 4
o t )dt
A A
� cos(4 f o t ) T / 4 � cos( ) cos( )
T /4
4 4
0
65
Example (Cont.)
Fourier Analysis (cont.):
66
Note: n are not required for PSD and power calculations
Example (Cont.)
3. Power Spectral Density function (PSD):
C0
x (t ) Cn cos(2nf 0t n )
2 n 1
C 02 1 � 2
PSD � (f ) � C n � (f nf o )
4 2 n 1
A2 A2 2A 2 �
(f nf o )
2 � (f )
8
� (f f o ) 2
�
n 2,4,6,... ( n 2
1) 2
3T / 4 2 T /4
1 2 A
Ps � s (t ) dt � � cos 2
(2 f ot )dt
T T / 4
T T / 4
T / 4 Note: cos = ½(1 + cos 2)
2
A2 �t sin(4 f o t ) �
�� �
T � 2 8 f ot � T / 4
A2 = 0.25 A2
4 = Half the
Zero
power of a full
sine wave
68
Example (Cont.)
5. Finding n such that we get at least 95% of the
total power:
For n 0 (Only the DC component)
2 2 2
C 4A A
� PSD n 0
Power 0
2 0.1014A 2
4 4 2
2
0.1014A
� Power % 2
40.5%
0.25A
% of total
power in this
component
69
Example (Cont.)
Finding n such that we get at least 95% of the
total power, contd.:
4 2 2 8 9 2
0.2485A 2
� Power % 2
99.41% OK! 95%
0.25A
n = 2, and
Beff
6. the effective bandwidth is:
…
Beff = fmax – fmin
0 f0 2f0 3f0 f
Beff = 2f0 – 0 = 2f0 71
DC
Bandwidth about a Center
Frequency
So far we have considered signals in their base band form
(without modulation)
Data is often sent as variations in a high frequency carrier
signal having a frequency fc (modulation)
So, bandwidth (BW) of this signal occupies a range of
frequencies centered about fc
Carrier With Amplitude Modulation,
BW For each component of the modulating signal:
Modulating
Carrier Signal 0 fc f
2The
cos(2f c t ) cos(
larger 2f mlarger
f , the t ) cos[2BW
the f m )t ] cos[2 ( f c f m )t ]
( f c obtainable
c
72
Analog and Digital Data
WK5
Transmission
Data
Entities that convey meaning
Signals
Electric or electromagnetic representations of data
Data Transmission
Communication of data
through propagation and processing of signals
that represent them
73
Data types in nature: Analog and
Digital Data
Analog Data
Continuous values within some interval
Examples: audio, video
Typical bandwidths:
Speech: 100Hz to 7kHz
Voice over telephone: 300Hz to 3400Hz
Video: 4MHz
Digital Data
Discrete values (not necessarily binary)
Examples: integers, text characters, mixture:
2347, “text”, SDR054
74
Analog and Digital Signals
Means by which data get transmitted over
various media, e.g. wire, fiber optic, space
Analog signal:
Continuously variable in time and amplitude
Digital signal:
Uses a few (two or more) DC levels
75
Analog Signal Example 1:
Speech Data
Frequency range for human hearing: 20Hz-20kHz
Almost fully utilized by music
Human speech: 100Hz-7kHz
Telephone voice channel: Spectrum is further limited to 300-
3400Hz (why?)
Mechanical sound waves (data) are easily converted into
electromagnetic signal for processing and transmission:
Mechanical waves (Sound) of varying pitch and loudness (Data)
is represented as:
Electromagnetic signals of different frequencies and amplitudes
(Signal)
76
Analog Example: 1. The Acoustic
Spectrum
Dynamic range of the human ear
can be as high as 120 dBs!
dBs
Hearing Spectrum
SPEECH
Frequency Range
-70
77
Log Scale
Conventional Telephony:
Analog data – Analog Signal
Telephone mouthpiece converts mechanical voice
analog data into electromagnetic analog electrical
signal
Signal travels on telephone lines
At receiver, speaker re-converts received electrical
signal to voice
78
Analog Signal Example 2.
Video Data
Electrical signal proportional to the brightness of
Interlaced Scan
11 s 52.5 s (Active)
Line Scan
Frame Scan
79
Bandwidth of a Black & White
Video
USA Signal
Specification: 525 lines per frame scanned at the rate
of 30 frames per second
525 lines = 483 active scan lines + 42 lost during vertical retrace
So 525 lines x 30 frames/second = 15750 lines per second
Line scan interval = 1/15750 = 63.5s
11s go for horizontal retrace, so 52.5 s for active video per line
Effective vertical resolution = 0.7 x 483 = 338 lines
Horizontal resolution = 338 x aspect ratio
= 338 x (4/3) = 450 dots
Max frequency is when black and white dots alternate
450 picture dots correspond to 225 cycles in 52.5 s
Time period = 52.5/225 s fmax = 1/Period = 4.2 MHz
fmin (DC) = 0 Bandwidth = fmax - fmin = 4.2 MHz
80
Digital Signals
Advantages:
Cheaper and easier to generate: No extra processing
needed
Less susceptible to noise
(The threshold effect)
Disadvantages:
When noise is above threshold Total data reversal (Bit
error) (1 0, 0 1)
Greater attenuation
Line capacitances make pulses rounded and smaller in amplitude,
leading to loss of information
More so at higher data rates and longer distances
So, use at low data rates over short distances
81
Attenuation of Digital Signals
1111...
0000...
82
Digital Binary Signal
Example: Between keyboard and computer
Two bipolar dc levels (+ and – : Why?)
Bandwidth required depends on the signal
frequency, which depends on:
The data rate (bps) and
The actual data sequence transmitted
_
Data
-
-Data rate = ?
1
- Maximum f = ? Data element
- Minimum f = ? Signal
83
Data and Signal
combinations
We have seen above: (data and signal of same type)
Analog signals carrying analog data: Telephony, Video
Digital signals carrying digital data: Keyboard to PC
Simple- one only needs a transducer/transceiver
But we may also have: (data and signal of different types)
Analog signal representing digital data: Data over
telephone wires (using a modem)
Digital signal representing analog data: CD Audio, PCM
(pulse code modulation) (using a codec)
More complex- We Need a converter
So, all the four data-signal combinations are
possible!
84
Analog Signals can carry
Analog Data or Digital Data
(Base band)
i.e. in its original
(Transducer) form
(Converter)
We need a converter when the signal type is different from 85
the data type
Digital Signals can carry
Analog Data or Digital Data
Digitized Analog Samples
Transmitter-Receiver
We need a converter when the signal type is different from the data type
86
Four Data/Signal Combinations
Signal
Analog Digital
Two ways: Signal has:
Analog - Same spectrum as Use a (converter):
data (base band): e.g. codec, e.g. for PCM
Telephony to exchange (pulse code modulation)
Data - Different spectrum
(through modulation):
e.g. AM Radio, FDM
Digital Avoid OK
90
Advantages of Digital Mode of
Transmission
Use of digital technology
Lower cost, smaller size, and high speed VLSI technology
Higher data integrity (reliability) as noise effects are not cumulative (fresh
signal restoration en-route)
Cover longer distances, at higher data rate, at low error rates, over lower
quality lines:
Easier to implement multiplexing for improved utilization of link capacity
High bandwidth links are now economical (Fiber, Satellite…)
This is done more efficiently using digital (TDM) rather than analog (FDM)
(Chapter 8)
Encryption for data security Frequency
Time Division Division
and confidentiality is digital Multiplexing Multiplexing
Easier to integrate different data types
Convert analog data to digital signals…and use one system to handle all
voice, video, and data, e.g. one network for all types of traffic
91
Transmission Impairments
Signal received is often a degraded form of the signal
transmitted
Why? What happens en-route?... Impairments:
Attenuation:
Limits the bandwidth of the received signal
In-band signals arrive weaker
Attenuation distortion (Attenuation is not uniform over bandwidth)
Delay
Delay distortion
Noise and interference (including crosstalk)
Effect:
On analog data - Some degradation in signal quality
On digital data – Fatal bit errors (total bit reversals)
92
Attenuation
Signal strength falls off with distance traveled
Nature of loss in signal power depends on medium:
Guided (Wires, etc.): Signal power after traveling distance d
Exponential drop is signal power with distance: Pd = P0 e-d
10 ln (Pd/P0) = -d
10 log (Pd/P0) = -’d
Loss: ’ dBs per km (’ depends on medium type e.g. fiber,
twisted pair, cable)
Unguided (Open space):
Inverse square law spread with distance: P P0 /d2
Loss: 6 dBs for each distance doubling
Absorption, scattering
May also depend on weather, e.g. rain, sunspots,
93
Effects of Attenuation
Received signal strength must be:
Sufficiently Large enough to be detected
Sufficiently higher than noise to be interpreted correctly
(without error)
To overcome these problems:
Use amplifiers (analog transmission mode)
or repeaters (digital transmission mode) en-route
Amplifier gains should not be too large as this may
cause signal distortion due to saturation (nonlinearities)
Problem with networks: distance actually traveled
(hence attenuation) will depend on actual route taken
through the network!
94
Attenuation Distortion
Attenuation usually increases with frequency
This causes bandwidth limitation (understood)
Moreover, over the transmitted bandwidth itself:
Different frequency components of the signal get
attenuated differently Signal distortion
Affects analog signals more
To overcome this problem:
Use Equalizers that reverse the effect of frequency-
dependent attenuation distortion:
Passive: e.g. loading coils in telephone circuits
Active: Amplifier gain designed specifically for this purpose
95
Attenuation Distortion
Equalization
To Reduce
Attenuation
Distortion
Q. What is
the signal ?
96
Delay Distortion
Happens only on guided media
Wave propagation velocity varies with frequency:
Highest at the center frequency (minimum delay)
Lower at both ends of the bandwidth (larger delay)
Effect: Different frequency components of the signal
arrive at slightly different times! (Dispersion in time)
Affects digital data more: due to bit spill-over
(timing is more critical here than for analog data)
Again, equalization can help overcome the problem
97
Delay Distortion
Equalization
To Reduce
Without Delay
Equalizer Distortion
With
Equalizer
98
Noise (1)
Definition: Any additional unwanted signal inserted
between transmitter and receiver
The most limiting factor in communication systems
Noise Types:
Thermal Noise
Inter-modulation Noise
Crosstalk Noise
Impulse Noise
99
Noise (2)
PSD
100
Thermal Noise, Contd.
Thermal noise power density in 1 Hz of bandwidth, N0
(Constant, Independent of frequency): PSD
N 0 kT ( W / Hz) N0
103
Noise (5)
Impulse Noise
Pulses (spikes) of irregular shape and high amplitude lasting
short durations
Causes: External electromagnetic interference due to
switching large currents, car ignition, lightning, …
Minor effect on analog signals (e.g. crackling noise in voice
channels)
Major effect on digital signals- Bit reversal error!
More damage at higher data rates
(a noise pulse of a given width can destroy a larger block of
bits)
104
Effect of Impulse Noise on a
Digital Signal
+
Impulse
RX
Q: What is the effect of the same noise at 10 times the data rate?
105
Channel Capacity
Channel capacity: Maximum data rate usable under a
given set of communication conditions
How channel BW (B), signal level, noise and impairments,
and the amount of data error that can be tolerated limit the
channel capacity?
In general, Max possible data rate, C, on a given channel
= Function (B, Signal wrt noise, Bit error rate allowed)
Max data rate: Max rate at which data can be communicated on the
channel, bits per second (bps)
Bandwidth: BW of the transmitted signal as constrained by the
transmission system, cycles per second (Hz)
Signal relative to Noise, SNR = signal power/noise power ratio
(Higher SNR better communication conditions higher C)
Bit error rate (BER) allowed: in (bits received in error)/(total bits
transmitted). Equal to the bit error probability.
106
e.g. Higher allowed higher usable data rates higher C
Channel Capacity, C:
So, in general: C bps = F(B, SNR, BER)
Three Formulations under different assumptions:
Idealistic
Assumptions Formulation
Ideal: Noise-free, Error-free: C = F(B) Nyquist
107
Bandwidth (or Spectral)
Efficiency (BE):
Channel Capacity C
BE , bps / Hz
Bandwidth B
Measures how well we are utilizing a given bandwidth
to send data at a high rate….
Can be greater than 1 (not like engineering efficiencies)
The larger the better
108
1. Nyquist Channel capacity: (Noise-free,
Error-free)
Idealized, theoretical
Assumes a noise-free error-free channel
Nyquist showed that (without noise, without errors): If rate of signal transmission
is 2B then a signal with frequency components up to B Hz is sufficient to carry
that signalling rate
In other words: Given bandwidth B, highest signalling rate possible is 2B signal
elements/s
How much data rate does this represent?
(depends on how many bits are represented by each signal element!)
Given a binary signal (1,0), data rate is same as signal rate
Data rate supported by a BW of B Hz is 2B bps C = 2B
For the same B, data rate can be increased by sending one of M
different signals (symbols): as each signal level now represents
log2M bits
Generalized Nyquist Channel Capacity, C = 2B log2M bits/s (bps)
113
Shannon Capacity Formula:
Example
Spectrum of communication channel extends from 3 MHz to 4 MHz
SNR = 24dB
Then B = 4MHz – 3MHz = 1MHz
SNRdB = 24dB = 10 log10 (SNR)
SNR (ratio) = log-110 (24/10) = 1024/10 = 251
Using Shannon’s formula: C = B log2 (1+ SNR)
C = 106 * log2(1+251) ~ 106 * 8 = 8 Mbps
Based on Nyquist’s formula, determine M that gives the above
channel capacity:
C = 2B log2 M
8 * 106 = 2 * (106) * log2 M
4 = log2 M
M = 16 114
3. Eb/N0 Vs Error Rate Formulation
(Noise and Error are both specified
Together)
Handling both noise and a quantified error rate
simultaneously
We introduce Eb/N0: A standard quality measure of three
channel parameters (B, SNR, R) and can also be
independently related to the error rate
R is the data rate. Max value of R is the channel capacity C
It expresses SNR in a manner related to the data rate, R
Eb = Signal energy in one bit interval (Joules)
T = 1/R
= Signal power (Watts) x bit interval Tb (second) b
Would like to operate with a bit error rate of 10-4 (e.g. 1 error in 104 bits)
What is the minimum signal level required for the received signal?
From curve, a minimum Eb/No needed to achieve a bit error rate of 10-4 =
8.4 dB
8.4 = S(dBW) – 10 log 2400 + 228.6 dBW – 10 log290
= S(dBW) – (10)(3.38) + 228.6 – (10)(2.46)
C = B log2(1+SNR)
We have:
SNR (2C / B 1) (2 BE 1)
From the Eb/N0 formula:
Eb SNR 1
( 2 BE 1)
N0 BE BE
C/B (bps/Hz) is the spectral (bandwidth) efficiency BE based on
Shannon channel capacity 118
Example
119