Network Chapter2 (Final Version)
Network Chapter2 (Final Version)
Network Chapter2 (Final Version)
3
2.1 The Theoretical Basis for Data
Communication
Fourier Analysis
Bandwidth-Limited Signals
Maximum Data Rate of a Channel
4
2.1.1 Fourier Analysis
1
g (t ) c an sin( 2nft ) bn cos( 2nft )
2 n 1 n 1
f=1/T
an , bn
2 T
an g(t)sin(2 πnft)dt
T 0
2 2
2 T
bn g(t)cos(2 πnft)dt a b
n n
T 0
2 T 与相应频率处所传输的能量成正
c g(t)dt 比
T 0
5
2.1.2 Bandwidth-Limited Signals
9
Bandwidth-Limited Signals (3)
第一个谐波 发送的谐波数
Magnetic Media
Twisted Pair
Coaxial Cable
Fiber Optics
13
2.2.2 Twisted Pair
15
2.2.3 Coaxial Cable
A coaxial cable
( baseband)coaxial cable
50Ω– digital transmission
75Ω– analog transmission
(broadband)coaxial cable
16
2.2.4 Fiber Optics
data communication : 56K-
>1Gbps50,000Gb/s
multi-mode fiber
single-mode fiber
17
Fiber Optics
18
The working principle of optical
fiber
低折射率 高折射率
( 包层 ) ( 纤芯 )
光线在纤芯中传输的方式是不断地全反射
19
Transmission of Light through
Fiber
21
Fiber Cables (2)
A comparison of semiconductor diodes and LEDs(light-
emitting diode) as light sources.
22
Fiber Optic Networks
24
Twisted Pair - Attentuation vs.
Frequency
26 gauge
30
24 gauge
27
24
22 gauge
21
Attenuation
18
19 gauge
(dB/mi)
15
12
9
6
3
10 f (kHz)
1 10 1000
0
Coaxial Cable Attentuation vs.
Frequency
35
0.7/2.9 mm
30
25 1.2/4.4 mm
Attenuation
(dB/km)
20
15
2.6/9.5 mm
10
30
2.3.1 The Electromagnetic
Spectrum
The higher the frequency is, the shorter the wavelength is,
the weaker the rake (diffraction effect) capability is, but
the penetrating power (the constant direction) is stronger,
and the signal penetration will lose a lot of energy, so the
transmission distance may be closer. The higher the
frequency is, the greater the loss is in the propagation
process.
λf=c
Signal Amplitude Attentuation
f
2.3.2 Radio Transmission
35
2.3.3 Microwave Transmission
f>=300MHz
Inexpensive
Line of sight
relay
ain
ount
M
basestation
B
Earth
A
36
Politics of the Electromagnetic
Spectrum
37
2.4 Communication Satellites
Geostationary Satellites
Medium-Earth Orbit Satellites
Low-Earth Orbit Satellites
Satellites versus Fiber
38
Communication Satellites
C
Communication Satellites (2)
41
2.4.2 Medium-Earth Orbit Satellites
Examples:
24 GPS(Global Positioning System
satellites at about 18,000km)
42
Another example:
Globalstar (47 LEO satellites)
Time slot
Frequency Division Multiple
Access
Time Division Multiple Access
2.5.5 Code Division Multiple
Access
CDMA shares the channel by giving users a
code
Codes are orthogonal; can be sent at
the same time
Widely used as part of 3G networks
2.5.5 Code Division
Multiplexing (2)
The principle of CDMA
Orthogonality: Two vectors are orthogonal if and
only if their dot product is zero.
Let S be a m-chip vector,
S for its negation,
For any distinct S and T, the normalized inner
product m
1
S T SiTi 0
m i 1
S T 0
Note that if S•T=0, then
The normalizedm
inner product
m m
1 1 1
S S S i S i S i2 ( 1) 2 1
m i 1 m i 1 m i 1
S S 1
2.5.5 Code Division
Multiplexing (3)
Example
CDMA Example
There are 4 users communicating with basestation , and their code
chips are as follows respectively.
A : ( -1-1-1+1+1-1+1+1 ) B : ( -1-1+1-1+1+1+1-1 )
C : ( -1+1-1+1+1+1-1-1 ) D : ( -1+1-1-1-1-1+1-1 )
If S receives code chip :( -1+1-3+1-1-3+1+1 ) ,Please figure out
what data each user sending.
S :( -1+1-3+1-1-3+1+1 )
S*A=( + 1 - 1 + 3 + 1 - 1 + 3 + 1 + 1)/8=1
S*B=( + 1 - 1 - 3 - 1 - 1 - 3 + 1 - 1)/8= - 1
S*C=( + 1 + 1 + 3 + 1 - 1 - 3 - 1 - 1)/8=0
S*D=( + 1 + 1 + 3 - 1 + 1 + 3 + 1 - 1)/8=1
FDMA vs TDMA vs CDMA
Code Division 1. A sends
message(bits
Multiplexing Access stream) in term of
its code chip to S;
2. S recovers the
original signal via
A's code chip.
3. S sends A'
signals in terms of
B's code chip to B.
4.B recovers A'
signals by B's code
S
chip.
2 3
1
4
Advantage of CDMA: communication
qulity is better, noise is smaller, and
mobile phone's radiation is much
smaller and high-speed data access.
CDMA&WCDMA&CDMA2000
WCDMA: Wide CDMA , Japan and Europe
CDMA2000: Qualcomm
TD-SCDMA: TDMA+SCDMA, China mobile
Digital Analog
2.6.2 Local loop (1): modems (1)
C f
WDM
WDM is FDM (frequency division multiplexing) of light.
8 2.5 Gb/s
1310 nm
WDM
WDM systems are divided into different
wavelength patterns, conventional (CWDM)
and dense (DWDM).
CWDM systems provide up to 8
channels
DWDM uses denser channel spacing
A typical system would use 40 channels
at 100 GHz spacing or 80 channels with
50 GHz spacing
DWDM have been widely used
5. Hybrid Fiber Coax to INTERNET
Internet over cable reuses the cable
television plant
Called HFC (Hybrid Fiber Coax) system
Data is sent on the shared cable tree from the
head-end, not on a dedicated line per
subscriber (DSL)
ISP
(Internet
)
Hybrid Fiber Coax vs. ADSL
HFC:
+ Uses coaxial cable to customers (good
bandwidth)
Data is broadcast to all customers (less
secure)
Bandwidth is shared over customers so
may vary
ADSL:
+ Bandwidth is dedicated for each customer
+ Point-to-point link does not broadcast data
Uses twisted pair to customers (lower
bandwidth)
6. Local Area Network to
INTERENT
7. Wireless LAN to INTERNET
2.6.5 Switching (1)
PSTN(public service telephone network) uses
circuit switching; Internet uses packet switching
PSTN:
Internet:
2.6.5 Switching (2)
Circuit switching
requires call setup
(connection) before
data flows smoothly
Also
disconnection at
end (not shown)
Packet switching
treats messages
independently
No setup, but
variable queuing
delay at routers
2.6.5 Switching (3)
Comparison of circuit-switched and
packet-switched networks
Outline
Last class
2.4Communication
Satellites Today's class
GEO 2.7 The mobile
MEO telephone system
LEO IG
2.5 Digital 2G
modulation and 3G
multiplexing 4G
TDMA&FDMA/WDM 5G
&CDMA Conclusion of chap2
2.6 The public
switched telephone
network
Local loop(PSTN)
DSL(ADSL,VDSL,SD
SL)
FTTx
2.7 The Mobile Telephone
System
Mobile communication is omnipresent and
indispensable in people's life, study and work.
Global mobile subscribers
Increasing tread of global subscribers
Objects of mobile communications
Whoever Whenev
er
Any 5W Wherev
machine er
Whomever Whatev
er
1-86
2.7.1 Brief Introduction (1)
Generations of mobile telephone systems
1G : analog voice
2G : analog voice and less digital
data
GSM (Global System for Mobile communications),
CDMA.
GSM use modulation based on QPSK.
3G : digital data and voice
UMTS (Universal Mobile Telecommunications
System). CDMA2000, TS-CDMA.
WCDMA2000 use modulation based on CDMA
4G : digital data including voice
LTE (Long Term Evolution), WiMAX.
Modulation based on OFDM
FDD & TDD
2.7.2 Reusing Frequency in
FDM System
Cellular mobile phone systems based on
FDM
Each mobile uses a frequency in a cell; moves
cause handoff
Frequencies are reused across non-adjacent cells
To support more mobiles, smaller cells can be
used
-89
Up
link
The working mode of mobile
communication
Simplex communication
Half duplex communication
Full duplex communication
Simplex communication
1. Simplex communication: the so-called simplex
communication that can only be sent or received.
2. The characteristics of simplex communication
Advantages: simple equipment,
low price ; BP call
1-95
Half duplex communication
1. The transmitter uses the PTT(putsh to talk)
mode transmit the signal, and the receiver is
always working.
2. Advantages: the mobile station has simple
equipment, low price and low power
consumption.
3. Shortcomings: mobile stations need key words,
Interco
m
and is not convenient.
4. Applications: a large number of private networks,
1-96
2.7.3 GSM – Global System for
Mobile Communications (3)
The evolution of GSM
GPRS (General Packet Radio
Service , 2.5G)
Theoretical upper bound of data rate is
171.2kbps
EDGE (Enhanced Data rate for GSM
Evolution)
Theoretical upper bound of data rate is
384kbps
2.7.4 UMTS (3G)– Universal
Mobile Telecommunications
System (1)
Architecture is an evolution of GSM, namely
WCDMA2000(3G); terminology differs.
Packets goes to/from the Internet via
SGSN(Serving GPRS Support Node)/GGSN(Gateway GPRS Support
Node).
Internet
2.7.4 UMTS – Universal Mobile
Telecommunications System
(2)
Air interface based on CDMA over 5 MHz
channels
Rates over users <14.4 Mbps (HSPDA:High Speed
Downlink Packet Access) per 5 MHz
TD-SCDMA=TDMA+CDMA+FDMA +
SDMA
SDMA:Space Division Multiple Access
Evolution of Mobile
Communication
2.7.5 4G Candidate Systems
Expected to offer peak rates of at least 1
Gbit/s fixed speeds and 100Mbit/s to mobile
users.
LTE Advanced (Long-term-evolution
Advanced)
TD-SCDMA LTE
IEEE 802.16m or WirelessMAN-Advanced
FDD (Frequeny division dual)
TDD (Time division dual)
FDD & TDD
Motorola->Nokia->Apple/Sumsung/Mi->Apple/
Huawei
LTE
5G
Standards: 1. sending and receiving 2. signal
modulation
5G has been put forwarded by US in 2008.
There countries are now competing to set the
standards. China, US, and Korea.
Huawei tries to use 6000MHz, which actually
4G as a core + wirless 5G
Qualcomm tries to use 28000MHz, which 5G
as a core +wirless 5G
Korea may join with US to defeat Huawei
5G
Next major phase of mobile
telecommunication & wireless
system
10 times more capacity than
others
Expected speed up to 10Gbps
More faster & reliable than 4G
Lower cost than previous
generations
Commercially available by around
2020
5G is an end-to-end ecosystem that will create
a fully mobile and fully connected society.
Conclusion (1)
What are the functions of physical layer?
Services provided to the data link layer
Accepting a raw bit stream from the
source and attempting to deliver it to
the destination
How to implement those functions
Signal modulation
Transmission medium
Multiplexing
Connection (Host to network)
Conclusion (2)
2.1 Theoretical basis for communication
Nyquist’s theorem & Shannon's theorem
Fourier transform