Professional Documents
Culture Documents
1
Review up to Lecture 6 2/17/2021
Direct link
No intermediate devices
Point-to-point
Provides a Direct link
Only 2 devices share link
Multi-point
More than two devices share the
link
3
For/from William Stallings Data & Computer Communications
4
For/from William Stallings Data & Computer Communications
2
Review up to Lecture 6 2/17/2021
5
For/from William Stallings Data & Computer Communications
6
For/from William Stallings Data & Computer Communications
3
Review up to Lecture 6 2/17/2021
3.1 Periodic
Signals
Peak Amplitude (A)
maximum strength
of signal
volts
Frequency (f)
Rate of change of
signal
Hertz (Hz) or cycles
per second
Period = time for
one repetition (T)
T = 1/f
Phase ()
Relative position in
time 7
For/from William Stallings Data & Computer Communications
8
For/from William Stallings Data & Computer Communications
4
Review up to Lecture 6 2/17/2021
3.1 Wavelength
Distance occupied by one cycle
Distance between two points of
corresponding phase in two
consecutive cycles
meters : T (period) is in seconds
Assuming signal velocity v m/s
= v.T
f = v
v = 3*108 ms-1 (speed of light in free
space)
9
For/from William Stallings Data & Computer Communications
π
sin(2πft)
3.1 Addition of
Frequency
Components
π
(1/3)sin(2π(3f)t)
10
For/from William Stallings Data & Computer Communications
(4/π)[sin(2πft)+(1/3)sin(2π(3f)t)]
10
5
Review up to Lecture 6 2/17/2021
3.1 Frequency
Domain
(4/π)[sin(2πft)+(1/3)sin(2π(3f)t)]
11
For/from William Stallings Data & Computer Communications
11
12
6
Review up to Lecture 6 2/17/2021
(4/π)[sin(2πft)+(1/3)sin(2π(3f)t)]
13
For/from William Stallings Data & Computer Communications
13
Data
Entities that convey meaning
Signals
Electrical or electromagnetic
representations of data
Transmission
Communication of data by
propagation and processing of
signals
14
For/from William Stallings Data & Computer Communications
14
7
Review up to Lecture 6 2/17/2021
Asynchronous (diagram)
time
15
For/from William Stallings Data & Computer Communications
15
16
For/from William Stallings Data & Computer Communications
16
8
Review up to Lecture 6 2/17/2021
Synchronous (diagram)
[encapsulation to IP level]
17
For/from William Stallings Data & Computer Communications
17
18
9
Review up to Lecture 6 2/17/2021
3. 3 Attenuation
Attenuation at frequency f relative to 1000Hz
19
For/from William Stallings Data & Computer Communications
19
20
For/from William Stallings Data & Computer Communications
20
10
Review up to Lecture 6 2/17/2021
21
For/from William Stallings Data & Computer Communications
21
Intermodulation Noise
Signals that are the sum and difference of
the original frequencies sharing a
medium
Crosstalk
A signal from one line is picked up by
another line
Impulse
Irregular pulses or spikes
e.g. External electromagnetic
interference
22
For/from William Stallings Data & Computer Communications
22
11
Review up to Lecture 6 2/17/2021
23
For/from William Stallings Data & Computer Communications
23
24
For/from William Stallings Data & Computer Communications
24
12
Review up to Lecture 6 2/17/2021
25
For/from William Stallings Data & Computer Communications
25
26
For/from William Stallings Data & Computer Communications
26
13
Review up to Lecture 6 2/17/2021
C = Bc log2 (1 + SNR)
27
28
For/from William Stallings Data & Computer Communications
28
14
Review up to Lecture 6 2/17/2021
29
For/from William Stallings Data & Computer Communications
29
30
For/from William Stallings Data & Computer Communications
30
15
Review up to Lecture 6 2/17/2021
5 Encoding Schemes
31
For/from William Stallings Data & Computer Communications
31
Comparison of Encoding
Schemes : 2 Signal Spectrum
32
For/from William Stallings Data & Computer Communications
32
16
Review up to Lecture 6 2/17/2021
Non-return to Zero: 2
NRZ-L : 1
33
For/from William Stallings Data & Computer Communications
33
Non-return to Zero: 2
NRZ-L : 1
34
For/from William Stallings Data & Computer Communications
34
17
Review up to Lecture 6 2/17/2021
Multilevel Binary : 1
Use more than two levels
Opposite levels
Opposite levels
See following slides
35
For/from William Stallings Data & Computer Communications
35
Biphase : 1
Manchester
Used by IEEE 802.3
A transition occurs in the middle of each bit period
A transition serves as both clock and data
Low to high represents a binary one
High to low represents a binary zero
36
For/from William Stallings Data & Computer Communications
36
18
Review up to Lecture 6 2/17/2021
Biphase : 2
Differential Manchester
Used by IEEE 802.5
A mid-bit transition is clocking only
A transition at the start of a bit period
represents a binary zero
No transition at the start of a bit period
represents a binary one
Note: this is a differential encoding
scheme
37
For/from William Stallings Data & Computer Communications
37
Scrambling techniques : 4
B8ZS : 1
Based on Bipolar-Alternate Mark Inversion
If an octet of all zeros is present,
and the last voltage pulse preceding it was positive,
encode as 000+-0-+
and last voltage pulse preceding it was negative,
encode as 000-+0+-
V- violation
- + 0+-
of alternating 1’s
38
For/from William Stallings Data & Computer Communications
38
19
Review up to Lecture 6 2/17/2021
Scrambling techniques : 6
High Density Bipolar 3 Zeros
HDB3
Based on bipolar-AMI
String of four zeros changed with one
pulse for an odd # pulses or two pulses
for an even # pulses since last
substitution (V causes voltage on line)
even even
39
5.2 Modulation
Frequency Shift Keying : 1
Values are represented by
different frequencies (near carrier
frequency)
40
For/from William Stallings Data & Computer Communications
40
20
Review up to Lecture 6 2/17/2021
1170 2125
41
For/from William Stallings Data & Computer Communications
41
42
For/from William Stallings Data & Computer Communications
42
21
Review up to Lecture 6 2/17/2021
43
For/from William Stallings Data & Computer Communications
43
44
For/from William Stallings Data & Computer Communications
44
22
Review up to Lecture 6 2/17/2021
Performance of Digital to
Analog Modulation Schemes : 4
( )
d
B
Eb/N0 = (S/R)/N0
= [S/R]/[N/BT]
= [S/N][BT/R]
[Eb/N0]dB = ( [S/N] /[R/BT] )dB
45
For/from William Stallings Data & Computer Communications
45
46
For/from William Stallings Data & Computer Communications
46
23
Review up to Lecture 6 2/17/2021
Digitization
An analogue signal is
converted to a digital
signal using a quantizer
The first step produces
samples in a Pulse
Amplitude Modulated
Signal
(PAM samples)
47
For/from William Stallings Data & Computer Communications
47
48
For/from William Stallings Data & Computer Communications
48
24
Review up to Lecture 6 2/17/2021
Ts
49
For/from William Stallings Data & Computer Communications
49
50
For/from William Stallings Data & Computer Communications
50
25
Review up to Lecture 6 2/17/2021
51
52
For/from William Stallings Data & Computer Communications
52
26
Review up to Lecture 6 2/17/2021
53
For/from William Stallings Data & Computer Communications
53
54
27
Review up to Lecture 6 2/17/2021
Analog
Modulation
55
For/from William Stallings Data & Computer Communications
55
56
For/from William Stallings Data & Computer Communications
56
28
Review up to Lecture 6 2/17/2021
Spread Spectrum
Frequency hopping
The signal is broadcast over a
pseudo randomly chosen set of
frequencies
Direct Sequence
Each bit is represented by multiple
bits in the transmitted signal
this is called a chipping code
the original data stream is XOR’d with
a pseudo random bit stream which
causes phase shifts in the transmitted
carrier
57
For/from William Stallings Data & Computer Communications
57
Spread Spectrum
Frequency Hopping
s(t)
Lookup table
58
For/from William Stallings Data & Computer Communications
58
29
Review up to Lecture 6 2/17/2021
Spread Spectrum
Frequency hopping
59
For/from William Stallings Data & Computer Communications
59
60
For/from William Stallings Data & Computer Communications
60
30
Review up to Lecture 6 2/17/2021
S6.3
Error Detection - Parity Bit
Additional bits added by the
transmitter for an error detection
code
Parity
Value of the parity bit is such that the
character has even (even parity) or
odd (odd parity) number of ones
111001 => 1110011 for odd parity
111001 => 1110010 for even parity
The problem is that an even number
of bit errors goes undetected
61
61
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
61
0 1 1 1 1 1 0 1
0 1 1 1 0 0 1 0
0 0 1 1 0 0 1 1
0 1 0 0 0 1 0 0
1 0 1 1 1 1 1 0
1 1 0 0 0 1 1 0
62
62
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
62
31
Review up to Lecture 6 2/17/2021
1101
0011 1011
11000
+110 + 1
0 1001
Here there
1111 is an end
63
For/from
For/from
William
William
Stallings
Stallingsaround
DataData
& Computer
& Computer
Communications
Communications
63
63
64
64
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
64
32
Review up to Lecture 6 2/17/2021
6.5
Cyclic Redundancy Check
65
65
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
65
66
66
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
66
33
Review up to Lecture 6 2/17/2021
+R
67
67
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
67
P= 110101
FCS bits
68
68
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
68
34
Review up to Lecture 6 2/17/2021
Polynomial C R C : 4
P= 110101
69
69
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
69
Problem 6.11
70
70
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
70
35
Review up to Lecture 6 2/17/2021
71
011011 and
110001 gives a Hamming Distance of 3
72
72
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
72
36
Review up to Lecture 6 2/17/2021
73
73
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
73
74
74
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
74
37
Review up to Lecture 6 2/17/2021
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1 1 1 1 4
0 0 1 0 0 0 1 0 1 0 1 3
0 0 1 1 0 0 1 1 0 1 0 3
0 1 0 0 0 1 0 0 0 1 1 3
0 1 0 1 0 1 0 1 1 0 0 3
0 1 1 0 0 1 1 0 1 1 0 4
0 1 1 1 0 1 1 1 0 0 1 4
1 0 0 0 1 0 0 0 1 1 0 3
1 0 0 1 1 0 0 1 0 0 1 3
1 0 1 0 1 0 1 0 0 1 1 4
1 0 1 1 1 0 1 1 1 0 0 4
1 1 0 0 1 1 0 0 1 0 1 4
1 1 0 1 1 1 0 1 0 1 0 4
1 1 1 0 1 1 1 0 0 0 0 3 75
1 1 1 For/from
1 William Stallings 1
Data1& Computer
1 1 1 Communications
1 1 7
75
76
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
76
38
Review up to Lecture 6 2/17/2021
77
For/from
For/from
William
William
Stallings
Stallings
DataData
& Computer
& Computer
Communications
Communications
77
78
For/from William Stallings Data & Computer Communications
78
39