Professional Documents
Culture Documents
• Week 5
Agenda
• To work with these values in a computer we must convert them into digital
representations
P2
Gain = 10log10
P1
Signal Power
S N R = 10log 10
Noise Power
This ratio is important as it is one of the determining factors of the channel capacity.
Exercise
Example
Calculate the signal to noise ratio of a lossless channel
Solution
Example
Solution:
SNR=Signal Power/Noise Power
Noise Power = 0 (for a lossless
channel)
Thus, SNR=Signal Power/0 = ∞
Therefore, SNR=1og 10(∞) = ∞
Data rate limits
sample
• Which means,
f s = 2W
fs= sampling rate
W = highest
frequency
Shannon’s Law
Example
What is the channel capacity of a faint signal that
is completely swamped by noise?
Answer
Example
Using Shannon’s Law:
C = B Log 2(1 + S /N )
Noise > > S
Therefore, S/N=0
Log 2(1 + S /N ) = Log 2(1 + 0) = 0
Hence, C = 0
This mean that the channel cannot transmit any signal.
Quantizing
• In the A to D process, we are converting an “infinite”
resolution analog signal into a finite number of digital
bits
• Converters use reference voltages to set the
range of allowed input voltages - Vref-H , Vref-L
• Each binary step represents
VrefH-VrefL = 3V range
• Quantization error:
er ε (-D/2, D/2)
White noise
xd = xs + er
Line encoding
• Problem is how to do transmit 0’s and 1’s (signal encoding) in a robust
fashion
– Binary voltage encoding
• Map 1 to high voltage
• Map 0 to low voltage
– How are consecutive 0’s or 1’s detected at node?
• Clock synchronization problem
• Need to know
– Timing of bits - when they start and end
– Signal levels
• Factors affecting successful interpreting of signals
– Signal to noise ratio
– Data rate
– Bandwidth
Comparison of Encoding Schemes (1)
• Signal Spectrum
– Lack of high frequencies reduces required bandwidth
– Lack of dc component allows ac coupling via transformer, providing isolation
– Concentrate power in the middle of the bandwidth
• Clocking
– Synchronizing transmitter and receiver
– External clock
– Sync mechanism based on signal
Comparison of Encoding Schemes (2)
• Error detection
– Can be built in to signal encoding
• Signal interference and noise immunity
– Some codes are better than others
• Cost and complexity
– Higher signal rate (& thus data rate) lead to higher costs
– Some codes require signal rate greater than data rate
Encoding Schemes
• Nonreturn to Zero-Level (NRZ-L)
• Nonreturn to Zero Inverted (NRZI)
• Bipolar -AMI
• Pseudoternary
• Manchester
• Differential Manchester
• B8ZS
• HDB3
• 4B/5B, MLT-3, 8B/10 Schemes
Non-Return to Zero (NRZ)
+V +V
-V -V
Encoding for 0 Encoding for 1
0 0 0 1 0 1 1 1 0
+V
-V
Example
A network with a bandwidth of 12 Mbps can only pass an average
15,000 frames per minute. If each frame carries an average of 10,000
bits, calculate the throughput of the network
Solution
Example
Throughput is that actual bit rate measured.
It is independent of the channel speed but
depends on devices located on the channel.
Therefore,
Throughput= 15, 000 × 10, 000/ 60=???
Answer is less than 12 Mbps channel speed
Latency (Delays)
Example
Calculate:
The propagation time and Transmission time, for a
2.5 kbyte email message if the bandwidth is 1.0 Gbps.
Assume the distance between sender and receiver is
12,000km and that light travels at 2.4 ×108 m/s.
Solution
Example
Propagation Time = 12, 000 × 1000/ 2.4 × 108 =50 ms
Transmission Time =2500 × 8/109 =0.020 ms
Note that the dominant factor is the propagation time
and not transmission time.
Queuing Time