Docsity

Analog & Digital Signals: Domains, Data Rate, Impairment, Coding, Modulation, Multiplexing, Lecture notes of Computer Networks

Partial preview of the text

Download Analog & Digital Signals: Domains, Data Rate, Impairment, Coding, Modulation, Multiplexing and more Lecture notes Computer Networks in PDF only on Docsity!

Chapter 3: Signals

Analog and Digital Signals To be transmitted, data must be transformed to electromagnetic signals.

Analog and DigitalAnalog and Digital

Analog and Digital Data

 Analog and Digital Signals

 Periodic and Aperiodic Signal

Analog Signals  (^) Sine wave : most fundamental form of a periodic analog signal  (^) Amplitude  (^) Absolute value of a signal’s highest intensity, Normally in volts  (^) Frequency  (^) number of periods in one second, inverse of period  (^) Change in a short span of time means high frequencyhigh frequency  (^) Phase  (^) Position of the waveform relative to time zero (degrees or radians )

Time and Frequency Domains Time and Frequency Domains  (^) Time-domain plot  (^) displays changes in signal amplitude with respect to time  (^) Frequency-domain plot  (^) compares time domain and frequency domain

Data Rate Limits Data Rate Limits  (^) How to determine the maximum bit rate (bps)How to determine the maximum bit rate (bps) over a channel? over a channel?

 Data rate depends on 3 factors

 (^) Bandwidth available  (^) Levels of signals we can use  (^) Quality of the channel (level of noise)

 Two theoretical formulas were developed to

calculate the data rate

 Nyquist for a noiseless channel

 Shannon for noisy channel

Noiseless Channel Noiseless Channel

Nyquist Bit Rate Nyquist Bit Rate

 (^) Defines the theoretical maximum bit rate Bit Bit Rate = 2Rate = 2  BandwidthBandwidth  loglog 22 LL L L is the number of signal levels used to represent datais the number of signal levels used to represent data Example Consider a noiseless channel with a bandwidth of 3000 Hz transmitting a signal with two signal levels. The maximum bit rate can be calculated as

Bit Bit Rate = 2Rate = 2  30003000  loglog

22

2 = 6000 bps2 = 6000 bps

10 Transmission Impairment Transmission Impairment  (^) Imperfections cause impairment, which means that a signal at the beginning and the end of the medium are not the same  (^) **Three types of impairmentsThree types of impairments

  1. Attenuation 1) Attenuation**  (^) Loss of energy, Amplifiers are used to strengthen  (^) To show that a signal has lost or gained strength, engineers use the concept of decibel (db)  (^) The Decibel measures the relative strength of two signals or a signal at two different points Example A signal travels through a transmission medium and its power is reduced to half. This means that P2 = 1/ P1. Calculate the attenuation (loss of power)? attenuation = 10 log10 (P2/P1)= 10 log10 (P2/P1) = 10 log10 (0.5P1/P1) = 10 log10 (0.5P1/P1) = 10 log10 (0.5) = 10 log10 (0.5) = 10(–0.3) = = 10(–0.3) = –3 dB–3 dB

2) 2) Distortion

 (^) Signal changes form or shape  (^) Each component has its own propagation speed, therefore its own delay in arriving

3) Noise

 (^) Thermal noise – random motion of electrons, creating an extra signal  (^) Induced noise – outside sources such as motors and appliances  (^) Crosstalk – effect of one wire on another  (^) Impulse noise – a spike for a short period from power lines, lightning

Signal Level versus Data Level  (^) Signal level  (^) number of values allowed in a particular signal  (^) Data level  (^) number of values used to represent data  (^) Note: figure b should say three signal levels, two data levels

Pulse Rate versus Bit Rate  (^) Pulse  (^) minimum amount of time required to transmit a symbol  (^) Pulse rate  (^) defines number of pulses per second  (^) Bit rate  (^) defines number of bits per second  (^) BitRate = PulseRate x log 2 L  (^) where LL is the number of data levelsdata levels A signal has four data levels with a pulse duration of 1 ms. We calculate the pulse rate and bit rate as follows: Pulse Rate = 1000 pulses/s Pulse Rate = 1000 pulses/s Bit Rate = PulseRate x log Bit Rate = PulseRate x log 22 LL = 1000 x log = 1000 x log 22 4 = 2000 bps4 = 2000 bps

Unipolar Unipolar

 (^) Uses only one voltage level  (^) Polarity is usually assigned to binary 1; a 0 is represented by zero voltage  (^) Potential problems:  (^) DC component  (^) Lack of synchronization

Polar Polar

 Uses two voltage levels, one positive and

one negative

 Alleviates DC component

 Variations

 Nonreturn to zero (NRZ)

 Return to zero (RZ)

 Manchester

 Differential Manchester

NRZ-L and NRZ-I Encoding NRZ-L and NRZ-I Encoding

20

Return to Zero (RZ)

 (^) May include synchronization as part of the signal for both 1s and 0s  (^) How?  (^) Must include a signal change during each bit  (^) Uses three values: positive, negative, and zero  (^1) bit represented by pos-to-zero  (^0) bit represented by neg-to-zero  (^) Disadvantage  (^) Requires two signal changes to encode each bit; more bandwidth necessary