Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS3502, Data and Computer Networks: the physical layer-3.

Similar presentations


Presentation on theme: "CS3502, Data and Computer Networks: the physical layer-3."— Presentation transcript:

1 CS3502, Data and Computer Networks: the physical layer-3

2 impairments to transmission u three categories 1. attenuation/attenuation distortion u loss of signal power through distance u attenuation varies with frequency 2. delay distortion u guided media only u velocity varies with frequency u limiting factor on bandwidth, especially with digital signals 3. noise

3 impairments to transmission noise u thermal noise - heat; electron agitation u intermodulation noise u unwanted combining of signals at diff. frequencies u crosstalk u common on t.p. u 2 nearby paths coupled electrically u impulse

4 encoding techniques u using signals to send information: main purpose of physical layer u 4 major cases 1. digital signals to send digital data 2. digital signals to send analog data 3. analog signals to send digital data 4. analog signals to send analog data

5 encoding techniques u what needs to happen 1. X and R must be synchronized 2. X emits a signal 3. R receives and interprets signal u factors affecting transmission u data rate u S/N : signal-to-noise ratio u encoding technique

6 encoding techniques u desirable properties of an encoding scheme u synchronization capability - the ability to stay synchronized, or to get re-synchronized u error detection capability u immunity to noise - the ability to separate noise from the transmitted signal

7 encoding techniques u digital data - digital signals u simple binary methods: NRZ-L, NRZ-I(M), NRZ-S u voltage level constant throughout bit time u simple, but no synchronization capability u most vulnerable to noise u used only for low-moderate data rates, short distances NRZ-L: high 0, low 1 NRZ-M: change on 1, not on 0 NRZ-S: change on 0, not on 1 u examples - diagram... what is the baud rate? u -M, -S are differential methods

8 encoding techniques u digital data - digital signals; better methods multilevel binary, bipolar AMI these hold 0 voltage for binary 0, then alternate between + and - for binary 1 Pseudoternary reverse of bipolar AMI biphase methods - require at least 1 transition in each bit time u increase reliability in presence of noise u increased synch. capability u increased ability to detect errors

9 encoding techniques u biphase methods: always a transition in the middle of the bit time manchester u down for 1, up for 0 differential manchester u change at start of bit indicates a 0 u Q: what is the baud rate? u Q: can you think of a way to increase the data rate but not the baud rate?

10 encoding techniques u digital data, analog signals u analog signal : a continuously varying electomagnetic wave Q: why use analog signals for digital data? what are 3 critical and widely used analog media ? u also may want to mix digital, analog data

11 encoding techniques u digital data, analog signals carrier signal - a constant analog signal, transmitted from sender to receiver example: the dial tone indicates a live connection; a carrier wave u bits encoded by varying 1 or more of 3 properties u modulation : ASK, FDK, PSK

12 encoding techniques u ASK: amplitude shift keying (diagram) u carrier u ASK

13 encoding techniques u ASK Summary u unaltered carrier contains no data u can be used in optical fiber u for other media, only good for lower bit rates u less efficient, relatively than other methods; more susceptible to errors, because u higher amplitudes attenuate more rapidly than lower ones u more susceptible to interference

14 encoding techniques u FSK: frequency shift keying : diagram u FSK: summary u less error prone u used for high frequency (coax, microwave,etc) u also used on voice lines u radio

15 encoding techniques u PSK: phase shift keying - differential u binary PSK : phase shift of 1/2 period indicates 1; no shift indicates 0; (diagram) u QPSK: use of 4 angles for higher bit rates

16 encoding techniques u PSK - summary u more efficient that ASK, FSK u can be further enhanced with more signal levels u number of angles media dependent u example: 2400 bauds, 9600 bps; PSK, ASK together (12 angles, 2 amplitudes) u show how to combine these techniques for higher bit rates; eg, ASK-FSK, ASK-PSK, FSK-PSK

17 encoding techniques u analog data, digital signals u 2 main techniques : pulse code modulation (PCM), delta modulation (DM) u why? u voice over optical fiber u TV channels, movies, pictures over internet u principle: the sampling theorem u theorem statement (see text) u note: based on exact samples

18 encoding techniques u PCM: pulse code modulation u samples of the analog data taken u each sample quantized u samples transmited as digital signal u received samples used to reconstruct analog data u example: voice channels u samples taken 8000/sec u quantized to 7 bits u synch. bit added -> 8 bits u 8 x 8000 = 64000 bps, standard digital voice channel

19 encoding techniques u delta modulation u similar idea (digital samples of analog data) u reduction in number of bits transmitted u periodically sends a sample u send a “1” or “0” indicating “up” or “down” u the up or down is by a fixed amount u less accurate than PCM u if intervals not chosen to match signal, or if signal varies, leads to less accuracy. u less widely used, but could be alternative

20 encoding techniques u analog data, analog signals u basis original telephone network; (ie, used analog electical signals to transport analog voice signals); still in local loops to large degree u cable TV; (FDM - frequency division multiplexing) u broadcast radio u major techniques u amplitude modulation u frequency modulation u phase modulation


Download ppt "CS3502, Data and Computer Networks: the physical layer-3."

Similar presentations


Ads by Google