Professional Documents
Culture Documents
Course Information
Data communication networks and open system standards; transmission media; data transmission in
physical layer; data link controls; technologies of local area networks and wide area networks;
communication architecture and protocols.
Instructor: Chaiporn Jaikaeo
This file was created for 1st Semester, 2011
Chapter 1: Overview
Data Communication = Transfer of data from one device to another via some form of transmission medium.
(p.4)
bit stream
Data/Message
Sender
Receiver
Medium ( media)
Protocol
(Data Representation)
2s Complement
floating point IEEE-754
o
ASCII
o
Unicode ()
Syntax
Semantics
Timing (Sequencing and Speed)
Standards
De Facto ( )
o
.doc
o
Ethernet
De Jure ()
o
ISO, ITU-T, ANSI, IEEE
o
Forums
o
FCC .
1
2
Simplex
o
o
(?)[Citation needed]
() http://www.nectec.or.th/it-standards/std620/std620.htm
. http://vuthi.blogspot.com/2004/09/blog-post_16.html
o
USB
Full-Duplex ()
o
o
Half-Duplex Full-Duplex
Point-to-point
Multipoint connection bus, wireless
Topology
(Network) Topology 3
(real/physical)
(logical/virtual)4
3
4
o
link
o
o
o
backbone
Star
o
Hub Switch ( Switch )
o
N ( hub)
o
Wireless Access Point "hub"
o
I/O single-point of failure (hub )
Bus
o
tap
o
( connection bus)
o
ring
Hybrid
o
Ring
Fully Connected
Mesh
Star
Bus
Figure 1 Topology
Network Category
Internetwork
network
internetwork hybrid network of networks
Internetwork internet ( The I nternet) The Internet
internetwork
Switching
()
Dedicated Circuit
Circuit Switching switch
Packet Switching
Layers
()
User
User
Application
Application
Transport
Transport
Network
Network
Data Link
Data Link
Transmission
Physical
Physical
Layers
Layers TCP/IP 5 Layers Application, Transport, Network, Data Link
Physical ( TCP/IP Data Link Physical )
Layer
Application Layer
o
o
Application-layer protocol HTTP FTP
o
header protocol Transport
Transport Layer
o
2 protocol TCP UDP ( SCTP )
o
o
packet
L5 Data
H5
L4 Data
L3 Data
T2
L2 Data
H4
H3
H2
0111011010101001010101001
5
4
3
2
1
5
4
3
2
1
L5 Data
H5
L4 Data
H4
L3 Data
T2
L2 Data
H3
H2
0111011010101001010101001
Internet Model
Network router
Router
Router
Application
Application
Transport
Transport
Network
Network
Network
Network
Data Link
Data Link
Data Link
Data Link
Physical
Physical
Physical
Physical
OSI Model
OSI (Open Systems Interconnection) ISO (ISO made OSI)
TCP/IP model Layer
o
Application
Sine Wave
Signal Transmission Medium
sine wave (Fourier)
General Form
Fourier analysis
Any periodic signal can be represented as a sum of sinusoidal signals
DC Component ( offset)
AC Components (s )
o
fundamental freq. (f0)
o
harmonics (multiples of f0)
Fourier
Amplitude-Phase Form
Sine-Cosine Form
o Sine, Cosine
o
Complex exponential Form (Euler)
o
o Euler Formula
o
Bandwidth
1000-4000Hz Bandwidth = 4000 - 1000 = 3000Hz
Cutoff Frequency
Bandwidth
Baseband Transmission
shift low-pass filter 0Hz
channel
shift
harmonic bandwidth
Transmission Impairment
Attenuation
capacitance
( )
Pm milliwatts 100mW =
dBm
2mW 3dBm 1.5dB 1.5dBm log
1.41589mW
Distortion
phase
Noise
Thermal Noise 0K ()
Signal-to-Noise Ratio
dB SNR dB
Example: Find SNR if signal 10mW, noise 1uW
Data Rate
Nyquist Theorem (Noiseless)
Nyquist (Rate) Theorem
11
Bandwidth (Hz)
Example: 1023mW signal, 1mW noise, Capacity 5Mbps, 16 levels, find Bit Rate
() Bandwidth
From Shannon:
(
From Nyquist:
Network Performance
Bandwidth bps 7 Mbps ( Bandwidth
Hz ) Network Performance
Latency
Propagation Time
o
o Propagation Time = Distance / Propagation Speed
o Propagation Speed 0.7~0.8c
Transmission Time
o
Queuing Time
o
Processing Time
Bandwidth-Delay Product
bandwidth delay bandwidth *
delay
Encoding Considerations
Signal Spectrum ()
5
o DC part DC
o low-pass
Clocking / Sync ()
o
o CLK encoding
Manchester encoding (Positive edge = 0, Negative edge = 1)
Error Detection ()
Noise Immunity ()
!!!
Marvel #
12
Unipolar Encoding
voltage level DC component (0, 1) => (0V, 5V)
Polar
Non-return-to-zero (NRZ)
o = 1, = 0
o NRZ-I 1
6
o 0-0.5bitrate
o DC Component
Return-to-Zero (RZ)
o (-5V,0V) = 0 (5V,0V) = 1
o DC Component NRZ
Manchester
o Negative Edge = 0, Positive Edge = 1
o 2 level (RZ 3)
Differential Manchester
o edge 1
Bipolar
Multi-Level
mBnL data m encode n 2B1Q map
(00,01,10,11) (-3, -1, +3, +1) V
bandwidth ( Nyquist) noise
6
() NRZ-I 1
USB Mode 1 0
13
14
Block Coding
Manchester 010101
b (bits per pulse)
Analog-to-Digital Conversion
ADC practicum
continuous time amplitude
discrete sampling discrete time quantization discrete levels
Quantization Noise
Quantization Noise Ratio
7 8
15
)
(
(
(
)
)
discrete
1Hz 1+Fs Hz
sampling
Fs 1+Fs
Fs = 8Hz 8Hz 1+Fs
Aliasing Fs > 2Fmax (Fmax "" )
Nyquist ()
The Sampling Theorem
Carrier Signals
""
Bit Rate
Baud ( Baud rate) (signal element)
baud bit digital
16
Analog rate with 8000bps and 1000 baud. How many data elements are carried by each signal
element? How many different signal elements do we need?
S = 1000, N = 8000, r and L unknown.
Where r is number of different signals, S is signal rate (baud), and N is bit rate (bps)
( signal rate )
full-duplex
17
Ex. Find the bandwidth for a signal transmitting at 12 Mbps for QPSK. The value of d = 0.
r = 2 1 signal 2 bit S = N*(1/r) = 6Mbaud d = 0 B = S = 6MHz
4PSK QAM
Constellation Diagram
phase shift amplitude origin
01
11
QPSK
00
BPSK
10
Application
300-3300 Hz data bandwidth 6003000Hz
V.32 V.32bis modulate
56kbps
ADSL voice
Analog-to-Analog Modulation
analog
18
Chapter 6: Multiplexing
Multiplexing medium
Guard Bands
frequency domain carrier
channel guard band
()
Example 1
Five voice channels, each with 3kHz bandwidth, are to be multiplexed together. If there is a need for
guard band of 1.5kHz, what is the minimum bandwidth of the link?
Answer: 3 + 1.5 + 3 + 1.5 + 3 + 1.5 + 3 + 1.5 + 3 = 3*5 + 1.5*4 = 21kHz
Channel
(3kHz)
Guard
(1.5kHz)
Channel
(3kHz)
Guard
(1.5kHz)
Channel
(3kHz)
Guard
(1.5kHz)
Channel
(3kHz)
Guard
(1.5kHz)
Channel
(3kHz)
21 kHz
Example 2
Four digital-data channels, 1Mbps each, use a satellite channel of 1MHz. Design an appropriate
configuration using FDM
250
kbaud
1Mbps
16PSK
250
kbaud
1Mbps
16PSK
250
kbaud
1Mbps
16PSK
250
kbaud
Multiplexer
1Mbps
1MHz
Hierarchy
multiplex multiplex AT&T
Example
The Advanced Mobile Phone System (AMPS) uses two bands. The first band of 824 to 849MHz is used
for sending, and 869 to 894MHz is used for receiving. Each user has a bandwidth of 30kHz in each
direction. How many people can use their cellular phones simultaneously?
Answer
832 42 790
multiplex FDM
19
a1
b3
b2
b1
c3
c2
c1
Time-Division Multiplexer
a3
20
Time Slot
c3 b3 a3 c2 b2 a2 c1 b1 a1
Frame
Bit duration
Frame
Example
Four 1kbps connections are multiplexed together. A unit is 1 bit. Find:
1. the duration of 1 bit before multiplexing = 1/1k = 1ms
2. the transmission rate of the link = 4*1kbps = 4kbps
3. the duration of a time slot = 1/4000 = 0.25ms
4. the duration of the frame = 4*(0.25ms) = 1ms
Synchronization
synchronization framing bit
[C][B][A][0] [C][B][A][1] [C][B][A][0] ...
Example
Identify all the framing bits from this bit sequence output by a multiplexer
2 channels
1 unit = 2 bits
21
3Mbps
3Mbps
Multiplexer
3Mbps
Padding
Split
5Mbps
3Mbps
T Lines (US)
4kHz sampling 8kHz quantization 8-bit
data rate = 8*8kHz = 64000bps DS0
T-1 Channel DS0 24
E Lines (EU & Thailand)
hierarchy 30 channel
Inverse Multiplexing
Spread Spectrum
bandwidth (?!)
Frequency-Hopping SS
()
noise noise
Data Link layer ( layer error correction
)
Direct-Sequence SS
Wireless LAN data bit spreading code ( noise
)
Classification of Media
Guided ( "" )
o Twisted-pair
o Coaxial
o Fiber
Unguided Space
Twisted-pair
""
Shielded (STP) Unshielded (UTP)
UTP
interference
Figure 11 UTP Cross-Section
differential encoding
STP ()
UTP/STP Cat6 (1-10Gbps), Cat5e (100-1000Mbps)
cat ""
RJ-45
RJ-45 (Registered Jack 45) 8P8C (RJ-11)
(gauge: ) gauge number
22
23
Coaxial Cable
shield
coax bandwidth
UTP 10Mbps
BNC () RG-58 (
) RG-11 () RG-59
T
terminator
()
bus topology
Optical Fiber
loss Optics
core cladding
noise
core index
multimode graded index core (10 micron) single-mode
simplex - UTP
Wireless
unguided media RF (>3kHz), microwave (<300GHz), IR (300GHz-400GHz)
Ground-wave (<2MHz)
Sky-wave (2-30MHz) HF radio
Line-of-sight (>30MHz) infrared
Antenna
Antenna (---!) -
(omnidirectional) (directional)
PITFALL: Sound EM
visible
QUIZ!
()
( amp )
()
( noise)
Chapter 9: Telephones
300-3300Hz (bandwidth = 3000Hz) voice cutoff
600-3000
Modem
(Modulator/Demodulator) digital-analog
56k Modem
digital quantization noise
SNR data rate ( Shannon) 33600kbps
24
ADSL
ADSL voice (26-1104k) -
download ( discrete multitone technique) QAM
downstream
ADSL Splitter
- 56k
voice data voice data
filter
ISP DSL Access Multiplexer (DSLAM)
DSL SDSL (Symmetric: serve ), HDSL () VDSL
()
"Cable"
(coaxial) 6MHz
amp splitter
high-bandwidth fiber/switch model coax
- data
ADSL Cable
ADSL
Cable
Appendix
Line Coding Example
Data
Unipolar
NRZ
NRZ-I
RZ
Manchester
Diff.
Manchester
Bipolar AMI
List of Standards
Main Type
Ethernet
Coaxial
Wire Type
Cat1-7, Cat5e,
Cat6a, Cat7a
RG59 (75ohm)
RG58 (50ohm)
RG11 (50ohm)
Jacks
RJ45
Most Common
Cat5e, Cat6 + RJ45
BNC
RG59 (TV)
RG58 (Signal)
List of Equations
Decibels:
o
( )
o
o
To be Continued
Part 2
LunaticNeko CPE23
Draft 6 Re-Export
2011-10-14 17:26:00