Lec 02
Lec 02
2:
Transmission
Fundamentals
&
Communica6ons
Networks
Dr.
Shaolei
Ren
[email protected]
Recap
Classify
signals
Digital
versus
analog
Periodic
versus
aperiodic
Channel
capacity
Dened
in
terms
of
mutual
informa6on
AWGN
channel
Mul6plexing
Capacity
of
transmission
medium
usually
exceeds
capacity
required
for
transmission
of
a
single
signal
Mul6plexing
carrying
mul6ple
signals
on
a
single
medium
More
ecient
use
of
transmission
medium
Share
an
expensive
channel
resource
Mul6plexing
Mul6plexing
Techniques
Frequency-division
mul6plexing
(FDM)
Takes
advantage
of
the
fact
that
the
useful
bandwidth
of
the
medium
exceeds
the
required
bandwidth
of
a
given
signal
TDM
TDMA
GSM
network
TCN6270 - Mobile and Wireless Networks
FDM
Orthogonal
Frequency-Division
Mul6plexing
Example
applica6ons
Digital
television
and
audio
broadcas6ng
DSL
broadband
internet
access
Wireless
LAN
(IEEE
802.11a,
g,
n),
LTE
Orthogonality
cross-talk
between
the
sub-channels
is
eliminated
and
inter-carrier
guard
bands
are
not
required
separate
lter
for
each
sub-channel
is
not
required
TCN6270 - Mobile and Wireless Networks
Communica6on Networks
Network
Coverage
Wide
Area
Networks
(WANS)
Span
large
areas
(countries,
con6nents,
world)
Use
leased
phone
lines
(expensive!)
2000s:
2.5
Gbps
User
access
rates:
56Kbps
155
Mbps
11
12
Func6onality
Interconnect
a
number
of
local
area
networks
(LANs)
using
a
high-capacity
backbone
technology,
such
as
ber-op6cal
links,
and
provides
up-link
services
to
wide
area
networks
(or
WAN)
and
the
Internet.
TCN6270 - Mobile and Wireless Networks
13
Switching
Techniques
What
is
a
switch?
A
switch
is
a
telecommunica6on
device
which
receives
a
message
from
any
device
connected
to
it
and
then
transmits
the
message
only
to
the
device
for
which
the
message
was
meant.
Like
a
hub!
Circuit
Switching
Dedicated
resources
Packet
Switching
Shared
resources
TCN6270 - Mobile and Wireless Networks
14
Switch Network
15
Circuit
Switching
Each
session
is
allocated
a
xed
frac6on
of
the
capacity
on
each
link
along
its
path
Dedicated
resources
Fixed
path.
If
capacity
is
used,
calls
are
blocked
Example:
telephone
network
Disadvantages
Circuits
are
not
used
when
session
is
idle
Inecient
for
bursty
trac
Circuit
switching
usually
done
using
a
xed
rate
stream
(e.g.,
64
Kbps),
and
hence
dicult
to
support
variable
data
rates
TCN6270 - Mobile and Wireless Networks
16
Informa6on
Transfer
Informa6on
transmiaed
through
the
network
Data
may
be
analog
voice,
digi6zed
voice,
or
binary
data
Circuit
disconnect
Circuit
is
terminated
Each
node
deallocates
dedicated
resources
17
Circuit
Switching
Many
data
sessions
are
low
duty
factor
(bursty)
(message
transmission
6me)/(message
interarrival
6me)
<<
1
18
L
=
message
lengths
=
arrival
rate
of
messages
R
=
channel
rate
in
bits
per
second
X
=
message
transmission
delay
=
L/R
R
must
be
large
enough
to
keep
X
small
Bursty
trac
=>
x
<<
1
=>
low
u6liza6on
Example
19
Packet Sw6ching
20
Packet
Sw6ching
Data
is
transmiaed
in
blocks,
called
packets
Before
sending,
the
message
is
broken
into
a
series
of
packets
Packet
length
can
be
in
the
order
of
1000
bytes
Packets
consists
of
a
por6on
of
data
plus
a
packet
header
that
includes
control
informa6on
21
Packet Switching
22
Packet
Switching--Datagram
Each
packet
treated
independently,
without
reference
to
previous
packets
Each
node
chooses
next
node
on
packets
path
Packets
dont
necessarily
follow
same
route
and
may
arrive
out
of
sequence
Packets
may
arrive
out
of
order
at
the
des6na6on
Exit
node
restores
packets
to
original
order
Responsibility
of
exit
node
or
des6na6on
to
detect
loss
of
packet
and
how
to
recover
Call
setup
is
not
needed!
TCN6270 - Mobile and Wireless Networks
23
24
Advantage
Packets
arrive
in
original
order
Save
on
route
computa6on
Need
only
be
done
once
at
start
of
session
Save
on
header
size
TCN6270 - Mobile and Wireless Networks
25
26
Guaranteed
delays
Guaranteed
delay
varia6ons
Packet
loss
rate
27
OSI
Model
OSI
Model
Data
unit
Layer
Func6on
7. Applica6on
6. Presenta6on
5. Session
Segments
4. Transport
Packet/Datagram
3. Network
Frame
2. Data link
Physical addressing
Bit
1. Physical
Data
Host
layers
Media
layers
28
Layers
Presenta6on
layer
Provides
character
code
conversion,
data
encryp6on,
data
compression,
etc.
Session
layer
Obtains
virtual
end
to
end
message
service
from
transport
layer
Provides
directory
assistance,
access
rights,
billing
func6ons,
etc.
29
Transport
Layer
The
network
layer
provides
a
virtual
end
to
end
packet
pipe
to
the
transport
layer.
The
transport
layer
provides
a
virtual
end
to
end
message
service
to
the
higher
layers.
The
func6ons
of
the
transport
layer
are
1)
Break
messages
into
packets
and
reassemble
packets
of
size
suitable
to
network
layer
2)
Mul6plex
sessions
with
same
source/des6na6on
nodes
3)
Re-sequence
packets
at
des6na6on
4)
Recover
from
residual
errors
and
failures
5)
Provide
end-to-end
ow
control
TCN6270 - Mobile and Wireless Networks
30
Network
Layer
The
network
layer
module
accepts
incoming
packets
from
the
transport
layer
and
transit
packets
from
the
data
link
layer
It
routes
each
packet
to
the
proper
outgoing
data
link
layer
or
(if
at
the
des6na6on)
to
the
transport
layer
Typically,
the
network
layer
adds
its
own
header
to
the
packets
received
from
the
transport
layer.
This
header
provides
the
informa6on
needed
for
rou6ng
(e.g.,
des6na6on
address)
31
Network
Layer
Each
node
contains
one
network
layer
module
plus
one
link
layer
module
per
link
32
33
Mul6ple
Access
Mul6plexing
techniques
can
be
extended
to
mul6ple
access
method
TDM
->
TDMA
FDM
->
FDMA
Sta6s6cal
mul6plexing
->
CSMA
34
35
36
ALOHA
Pure
ALOHA
Nodes
transmit
whenever
have
informa6on
to
send
No
channel
occupancy
sensing
Nodes
transmit
packets
at
arbitrary
6mes
Collisions
occur
if
packet
transmissions
overlap
by
any
amount
of
6me
If
no
ACK
received,
packet
assumed
lost
in
collision
and
retransmiaed
later
Sloaed
ALOHA
Can
increase
eciency
of
ALOHA
using
sloaed
system
Transmission
6me
divided
into
6me
slots,
each
slot
equal
to
packet
Tx
6me
All
users
synchronized
to
these
6me
slots
Packets
held
un6l
next
6me
slot
for
transmission
if
generated
in-between
transmission
slots
Synchroniza6on
achieved
by
transmiung
periodic
synch
pulses
from
one
designated
sta6on
in
the
network
37
Pure
ALOHA
Basis
of
Ethernet
and
Wi-Fi
38
Sloaed
ALOHA
Used
in
low-data-rate
satellite
communica6ons
networks
by
military
forces,
in
subscriber-based
satellite
communica6ons
networks,
mobile
telephony
call
setup,
and
in
the
contactless
RFID
technologies.
39
Channel
throughput
S
average
number
of
successful
transmissions
per
6me
interval
Tp
40
Throughput:
41
42
43
CSMA
1-persistent
Sense
the
medium
con6nually
un6l
it
becomes
idle.
In
case
of
a
collision,
the
sender
waits
for
a
random
period
of
6me
and
aaempts
to
transmit
again
(e.g.,
Ethernet)
p-persistent
Sense
the
medium
con6nually
un6l
it
becomes
idle.
When
idle,
transmit
with
a
probability
of
p
(e.g.,
Wi-Fi)
Non-persistent
If
channel
idle,
node
transmits
data.
If
channel
busy,
node
waits
a
randomly
selected
interval
of
6me
before
sensing
again
Good
at
high
trac
loads,
but
poor
performance
at
low
trac
loads
due
to
wai6ng
TCN6270 - Mobile and Wireless Networks
44
Physical
Layer
Responsible
for
transmission
of
bits
over
a
link
Propaga6on
delays
Time
it
takes
the
signal
to
travel
from
the
source
to
the
des6na6on
Signal
travel
approximately
at
the
speed
of
light,
c
=
3x10^8
m/s
e.g.,
LEO
satellite:
d
=
1000
km
=>
3.3
ms
prop.
Delay
GEO
satellite:
d
=
40,000
km
=>
1/8
sec
prop.
Delay
Ethernet
cable:
d
=
1
km
=>
3
s
prop.
delay
Transmission
errors
Signals
experience
power
loss
due
to
aaenua6on
Transmission
is
impaired
by
noise
In
reality
channel
errors
are
oyen
bursty
TCN6270 - Mobile and Wireless Networks
45
Encapsula6on
46