Data Communication & Networking: Mahan Institute of Technologies, New Delhi
Data Communication & Networking: Mahan Institute of Technologies, New Delhi
Organization
• Communication
• Signal Representation
• Analog Vs. Digital
• Digital Transmission
• Channel Capacity
• Data Communication System
• Networking Overview
12/08/21 2
@ 2006 mit
Source Destination
Transmission
media
12/08/21 3
@ 2006 mit
Terminology
• Transmitter
• Receiver
• Medium
– Guided medium
• e.g. twisted pair, optical fiber
– Unguided medium
• e.g. air, water, vacuum
12/08/21 4
@ 2006 mit
Example
communications
channel
12/08/21 5
@ 2006 mit
Communication System
Noise
Carrier
Transmission
media
12/08/21 6
@ 2006 mit
Signal Types
12/08/21 7
@ 2006 mit
Frequency
flower fupper
Attenuation (dB)
Signal bandwidth
3 dB
Frequency
12/08/21 8
@ 2006 mit
Bandwidth
Attenuation (dB)
Signal bandwidth
3 dB
Frequency
12/08/21 9
@ 2006 mit
12/08/21 10
@ 2006 mit
Periodic Signals
12/08/21 11
@ 2006 mit
Sine Wave
12/08/21 12
@ 2006 mit
12/08/21 13
@ 2006 mit
Amplitude Amplitude
V max
T (1/f) V max
0
-V max
f (1/T)
12/08/21 14
@ 2006 mit
Wavelength
12/08/21 15
@ 2006 mit
12/08/21 16
@ 2006 mit
12/08/21 17
@ 2006 mit
Frequency Domain
12/08/21 18
@ 2006 mit
• Spectrum
– range of frequencies contained in signal
• Absolute bandwidth
– width of spectrum
• Effective bandwidth
– Often just bandwidth
– Narrow band of frequencies containing most of the energy
• DC Component
– Component of zero frequency
12/08/21 19
@ 2006 mit
12/08/21 20
@ 2006 mit
12/08/21 21
@ 2006 mit
12/08/21 22
@ 2006 mit
Data
• Analog
– Continuous values within some interval
– e.g. sound, video
• Digital
– Discrete values
– e.g. text, integers
12/08/21 23
@ 2006 mit
12/08/21 24
@ 2006 mit
Signals
12/08/21 25
@ 2006 mit
12/08/21 26
@ 2006 mit
12/08/21 27
@ 2006 mit
12/08/21 28
@ 2006 mit
Analog Transmission
12/08/21 29
@ 2006 mit
Digital Transmission
12/08/21 30
@ 2006 mit
12/08/21 31
@ 2006 mit
‘1’ ‘0’
12/08/21 32
@ 2006 mit
Bit stream
to be
transmitted 0 1 1 0 1 1 1 1 1 0 0 0 1
Manchester
encoding
Extracted
receiver
clock
Receiver
bit stream
0 1 1 0 1 1 1 1 1 0 0 0 1
12/08/21 33
@ 2006 mit
digital
threshold
+
- digital
threshold
comparator
12/08/21 34
@ 2006 mit
+V
0V
-V
0 1 1 0 0 1 0 0 1 1 1 1
12/08/21 35
@ 2006 mit
No timing information
+V
0V
-V
0 1 1 0 0 0 0 0 0 1 1 1
12/08/21 36
@ 2006 mit
DAC output
Analogue
Signal
Slope overload
PCM 1111111000100011000010101
12/08/21 37
@ 2006 mit
signal
Ts
samples
12/08/21 38
@ 2006 mit
1111
1110
1101
1100
1011
1010
1001
1000
0111
0110
0101
0100
0011
0010
0001
0000
12/08/21 39
@ 2006 mit
111 111
110 110
101 101
100 100
011
011
010
010
001 Voltage 001
000
000
FS/4 FS/2 3FS/4 FS
12/08/21 40
@ 2006 mit
Quantization noise
Soft
speech Quantization noise noticeable
Quantization noise
12/08/21 41
@ 2006 mit
Amplitude Amplitude
V max
V max
T (1/f)
0
-V max
f (1/T)
Time domain Frequency domain
12/08/21 42
@ 2006 mit
V
0.9
1
0
T
0.3
0.2
-0.9
1/T 3/T 5/T f
12/08/21 43
@ 2006 mit
Transmission Impairments
12/08/21 44
@ 2006 mit
Attenuation
12/08/21 45
@ 2006 mit
Delay Distortion
12/08/21 46
@ 2006 mit
Noise (1)
12/08/21 47
@ 2006 mit
Noise (2)
• Crosstalk
– A signal from one line is picked up by another
• Impulse
– Irregular pulses or spikes
– e.g. External electromagnetic interference
– Short duration
– High amplitude
12/08/21 48
@ 2006 mit
Channel Capacity
• Data rate
– In bits per second
– Rate at which data can be communicated
• Bandwidth
– In cycles per second of Hertz
– Constrained by transmitter and medium
12/08/21 49
@ 2006 mit
12/08/21 50
@ 2006 mit
12/08/21 51
@ 2006 mit
12/08/21 52
@ 2006 mit
12/08/21 53
@ 2006 mit
12/08/21 54
@ 2006 mit
DTE-DCE Interface
Transmit (T)
Control (C)
Signal timing
GND
12/08/21 55
@ 2006 mit
Terminology
• Simplex
– One direction
• e.g. Television
• Half duplex
– Either direction, but only one way at a time
• e.g. police radio
• Full duplex
– Both directions at the same time
• e.g. telephone
12/08/21 56
@ 2006 mit
Modes of Communication
Simplex
communications
Half-duplex (HDX)
or
communications
Full-duplex (FDX)
communications
12/08/21 57
@ 2006 mit
Communication Ports
transmitter receiver
buffer buffer
transmitted
characters
Receiver
reads from
buffer
Receiver has
failed to read the
buffer before another
character has been
received
Transmitter Receiver
12/08/21 59
@ 2006 mit
Data
transmission
Transmitter
Receiver
X-OFF
X-ON
Data
transmission
12/08/21 60
@ 2006 mit
Send
character RD
12/08/21 61
@ 2006 mit
12/08/21 62
@ 2006 mit
+12V
-12V
0 1 0 0 1 1 0
Inactive condition
12/08/21 63
@ 2006 mit
1 1 0 1 0
ASK
PSK
FSK
12/08/21 64
@ 2006 mit
Inactive condition
12/08/21 65
@ 2006 mit
0 b0 b1 b2 b3 b4 b5 b6 P S1 S2 1
0 1 0 0 0 0 0 1 1 1 1
12/08/21 66
@ 2006 mit
B0
B1
B2
B3
Parity
Even/Odd Parity
12/08/21 67
@ 2006 mit
+12 V
Start Stop
0 1 1 0 1 0 1 bit
-12 V bit
120 S
ASCII ‘V’ 101 0110
Baud rate: 9600 baud
12/08/21 68
@ 2006 mit
+12V
-12V
0 1 0 0 1 1 0
Inactive condition
12/08/21 69
@ 2006 mit
Pin Signal
2 TxData
13 12 11 10 9 8 7 6 5 4 3 2 1 3 RxData
4 RTS
5 CTS
25 24 23 22 21 20 19 18 17 16 15 14 6 DSR
7 GND
20 DTR
12/08/21 70
@ 2006 mit
Transmission Media
• Wired
– Twisted pair, Coaxial cable, FO
• Wireless
– Short range
• Infrared
– Long Range
• Microwave
• Satellite
12/08/21 71
@ 2006 mit
Electromagnetic spectrum
(its uses for communication)
12/08/21 72
@ 2006 mit
Transmission Media
Insulating outer conductor
Inner Metal sheath
conductor
Coaxial
cable
Outer cladding
Inner cladding
(PVC)
Inner fibre (glass)
Fibre
(glass)
optic
cable
Twisted-pair
cable
12/08/21 73
@ 2006 mit
Terminology
• Direct link
– No intermediate devices
• Point-to-point
– Direct link
– Only 2 devices share link
• Multi-point
– More than two devices share the link
12/08/21 74
@ 2006 mit
Telephone Network
12/08/21 75
@ 2006 mit
Cable TV Network
12/08/21 76
@ 2006 mit
Suggested Reading
• William Stallings
Data and Computer Communications
chapter 3
• B. Forouzan
Data Communication & Networks
chapter 2
12/08/21 77