Introduction to Communication Networks 2/2006 1 Introduction to Communication Networks Lecture 2 Physical Layer.

Slides:



Advertisements
Similar presentations
Physical Layer: Signals, Capacity, and Coding
Advertisements

Chapter 2 Fundamentals of Data and Signals
Signals The main function of the physical layer is moving information in the form of electromagnetic signals across a transmission media. Information can.
1 Transmission Fundamentals Chapter 2 (Stallings Book)
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
PART II Physical Layer.
Chapter-3-1CS331- Fakhry Khellah Term 081 Chapter 3 Data and Signals.
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Theoretical Basis of Data Communication.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Physical Layer PART II.
ECE 4321: Computer Networks Chapter 3 Data Transmission.
Chapter 2 Data and Signals
Chapter 3: Data and Signals
TRANSMISSION FUNDAMENTALS Review
Introduction to Wireless Communications. Wireless Comes of Age Guglielmo Marconi invented the wireless telegraph in 1896 Communication by encoding alphanumeric.
Chapter 3 Data and Signals
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Transmission Slide 1 Continuous & Discrete Signals.
Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
Module 3.0: Data Transmission
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 3 Data and Signals
1 Computer Communication & Networks Lecture 5 Physical Layer: Data & Signals Waleed Ejaz
1 Long-Distance Communication. 2 Illustration of a Carrier Carrier –Usually a sine wave –Oscillates continuously –Frequency of carrier fixed.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Physical Layer PART II.
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
Part 2 Physical Layer and Media
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data Transmission The basics of media, signals, bits, carries, and modems (Part III)
Prof. Hosny Ibrahim Lecture 2
Computer Communication & Networks
ECEN 621, Prof. Xi Zhang ECEN “ Mobile Wireless Networking ” Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings,
Computer Communication and Distributed Algorithms Second presentation – The physical layer ©Computer Communication and Distributed Algorithms.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Theoretical Basis of Data Communication.
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
Physical Layer PART II. Position of the physical layer.
Data Comm. & Networks Lecture 6 Instructor: Ibrahim Tariq.
1 Composite Signals and Fourier Series To approximate a square wave with frequency f and amplitude A, the terms of the series are as follows: Frequencies:
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Physical Layer PART II.
Signals. Signals can be analog or digital. Analog signals can have an infinite number of values in a range; digital signals can have only a limited number.
Chapter2 : SIGNALS 1st semester King Saud University
Spring 2006Data Communications, Kwangwoon University3-1 Chapter 3. Signals 1.Analog and digital 2.Analog signals 3.Digital signals 4.Analog versus digital.
Part II. Physical Layer and Media Chapter 3. Data and Signals COMP 3270 Computer Networks Computing Science Thompson Rivers University.
Transmission Media. Quiz: ANGEL->Lessons->Quiz 2 Figure 1Figure 2 Figure 3Figure 4.
Computer Engineering and Networks, College of Engineering, Majmaah University Some Basics Mohammed Saleem Bhat CEN-444 Networks Structure.
Data and Computer Communications Chapter 3 – Data Transmission.
Physical Layer. Data Communications - Physical Layer2 Physical Layer Essence: Provide the means to transmit bits from sender to receiver involves a lot.
Computer Communication & Networks
Part II Physical Layer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Dr. Clincy Professor of CS
Part II Physical Layer.
Part II Physical Layer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Transmission Media.
PART II Physical Layer.
Transmission Fundamentals
William Stallings Data and Computer Communications 7th Edition
Introduction to electronic communication systems
CHAPTER 3 DATA AND SIGNAL
Dr. Clincy Professor of CS
תקשורת מחשבים ואלגוריתמים מבוזרים
Fundamentals of Networking and
Lecture 2: SIGNALS 2nd semester By: Elham Sunbu.
Signals Prof. Choong Seon HONG.
Fundamentals of Data & Signals (Part II)
Signals, Media, And Data Transmission
Signals, Media, And Data Transmission
CSCD 433 Network Programming
Part II Physical Layer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
REVIEW Physical Layer.
NET 205: Data Transmission and Digital Communication
Presentation transcript:

Introduction to Communication Networks 2/ Introduction to Communication Networks Lecture 2 Physical Layer

Introduction to Communication Networks 1/ The OSI Model (7 layers) Application Physical Link Network Transport Session Presentation The 7-layer OSI Model

Introduction to Communication Networks 1/ Transmission of Information Well-understood basics: – From physics Energy Electromagnetic wave propagation – From mathematics Coding theory Fourier Analysis

Introduction to Communication Networks 1/ Signals To be transmitted, data must be transformed to electromagnetic signals. Signals can be analog or digital. – Analog signals can have an infinite number of values in a range; – digital signals can have only a limited number of values

Introduction to Communication Networks 1/ Comparison of analog and digital signals Vertical axis – value or strength Horizontal axis – passage of time

Introduction to Communication Networks 1/ Analog Signals Simple – cannot be decomposed into simpler signals (sine wave) Composite – composed of multiple sine waves S(t) = A sin (2  ft +  ) A – peak amplitude f – frequency  - phase

Introduction to Communication Networks 1/ Amplitude Highest intensity – for electric signals, usually measured in volts

Introduction to Communication Networks 1/ Phase Phase describes the position of the waveform relative to time zero – measured in degrees and/or radians

Introduction to Communication Networks 1/ Period and frequency f = 1/T T = 1/f Period – amount of time to complete 1 cycle Frequency - # of periods in one second Frequency is the rate of change with respect to time. Change in a short span of time means high frequency. Change over a long span of time means low frequency

Introduction to Communication Networks 1/ Sine wave examples

Introduction to Communication Networks 1/ Sine wave examples

Introduction to Communication Networks 1/ Sine wave examples

Introduction to Communication Networks 1/ Analog Signals – cont ’ An analog signal is best represented in the frequency domain.

Introduction to Communication Networks 1/ Signals – cont ’ A single-frequency sine wave is not useful in data communications; – we need to change one or more of its characteristics to make it useful When we change one or more characteristics of a single-frequency signal, it becomes a composite signal made of many frequencies. According to Fourier analysis, any composite signal can be represented as a combination of simple sine waves with different frequencies, phases, and amplitudes

Introduction to Communication Networks 1/ Square wave

Introduction to Communication Networks 1/ Three harmonics

Introduction to Communication Networks 1/ Adding first three harmonics

Introduction to Communication Networks 1/ Digital Signals

Introduction to Communication Networks 1/ Bit rate and bit interval Bit interval – time required to send 1 bit Bit rate – number of bits sent in 1 sec – expressed in bits per second (bps)

Introduction to Communication Networks 1/ Bandwidth The bandwidth is a property of a medium: It is the difference between the highest and the lowest frequencies that the medium can satisfactorily pass. We use the term bandwidth to refer to the property of a medium or the width of a single spectrum.

Introduction to Communication Networks 1/ Bandwidth Maximum rate that the hardware can change a signal Measured in cycles per seconds or Hertz (Hz) The bit rate and the bandwidth are proportional to each other The bit rate and the bandwidth are proportional to each other

Introduction to Communication Networks 1/ Example Question: – If a periodic signal is decomposed into five sine waves with frequencies of 100, 300, 500, 700, and 900 Hz, what is the bandwidth? Draw the spectrum, assuming all components have a maximum amplitude of 10 V. Answer: – B = f h - f l = = 800 Hz – The spectrum has only five spikes, at 100, 300, 500, 700, and 900

Introduction to Communication Networks 1/ Example – cont ’

Introduction to Communication Networks 1/ Standard Transmission Rates Low Rates – 300 bps and multiplies – 1200, 2400, 9600, LANs – 2, 4, 10, 16, 100 Mbps Wireless LANS – 11 Mbps, 54 Mbps WirelessMAN – 32 Mbps Usually depends on the used frequency bandwidth

Introduction to Communication Networks 1/ Digital Transmission System Measures - Delay Propagation delay – Time required for signal to travel across media – Example: electromagnetic radiation travels through space at the speed of light (C=3x10 8 meters/sec) Transmission time – Time required to transmit N bits at a given transmission rate

Introduction to Communication Networks 1/ Propagation and Transmission Time Example – Message length: 500 Bytes – Bit transmission Rate: 4 Mb/s – Optical fiber length: 2 Km – Speed of information in the fiber: 66% C ~ 2*10 8 m/s Transmission time: (500*8bits) / (4*10 6 b/s) = s = 1 ms Propagation delay (2000 m) / (2*10 8 m/s) = 0.01 ms

Introduction to Communication Networks 1/ the ‘ Big Issues ’ bandwidth and noise dominate the design and performance of all communication systems: – bandwidth how quickly can you change the signal – noise what is the smallest signal change you can detect

Introduction to Communication Networks 1/ Methods of communication 1 Binary signalling using a single cable transmission rate determined by how fast the voltage (or other symbol type) can be varied on the channel before the frequency content (as predicted by the Fourier series expansion) is so high that the filtering of the channel attenuates and distorts too much of the signal - limited by the bandwidth of the channel Binary signalling using many parallel cables multiple cables increase throughput or allow same throughput at lower bandwidth which is probably cheaper [parallel printer ports / cables]

Introduction to Communication Networks 1/ Methods of communication 2 Multi-level signalling using a single cable data transmission need not be limited to binary (two symbol state) format over a channel - any number of voltage levels or symbol types could be used. For example using 4 voltage levels we can uniquely encode 2 bits into each of the levels (00=level A, 01=level B, 10=level C, 11=level D). Each time we change symbol state, two bits of information are conveyed compared with only one for a binary system. We thus send information twice as fast for a given bandwidth Multi-level signalling using many parallel cables can use multi-level signalling over many cables if so desired with consequent increase in throughput

Introduction to Communication Networks 1/ Multi-level symbol operation – in principle can use any number of symbols (symbol states) for conveying digital information, e.g different voltage levels conveying log = 10 bits. – practical limit depends on our ability to resolve the individual states (voltages, frequencies, light intensities etc) accurately at the receiver; this will depend on the level of noise and distortion in the channel.

Introduction to Communication Networks 1/ Information transfer rate Information transfer rate for a data channel is defined as the speed at which binary information can be transferred from source to destination. Units of Information transfer rate – > bits/second Related to underlying hardware bandwidth (maximum times per second the signal can change) Information transfer rate = 6 bits/6ms = 1000 bits/second

Introduction to Communication Networks 1/ Symbol rate (baud rate) – Symbol Rate (sometimes called baud rate) is the rate at which the signal state changes when observed in the communications channel - not necessarily equal to the information transfer rate units of symbol rate – > symbols/second (baud) example if 4 frequencies convey pairs of bits and the frequency (symbol) is changed every 0.5 ms, then: – symbol rate = 1/0.5 = 2000 symbols/second (2000 baud) – (note: the information transfer rate is 4000 bits/second)

Introduction to Communication Networks 1/ Symbol rate (baud rate) don ’ t confuse information transfer rate with the rate at which symbols are varied to convey the binary information over the channel. We already know that we can encode several bits in each symbol. – bandwidth efficiency of a communications link is a measure of how well a particular modulation format makes use of the available bandwidth. – bandwidth efficiency -> bits/second/Hz – example a system requires 4 kHz of bandwidth continuously to send 8000 bps of data - bandwidth efficiency = 8000bps/4000Hz = 2 bits/second/Hz

Introduction to Communication Networks 1/ Multi-level signalling The relationship between bits and symbols – the number of symbol states needed uniquely to represent any pattern of n bits is given by the simple expression: M = 2 n symbol states – Thus a group of 3 bits can be represented by M = 2 3 = 8 symbol states 4 bits by M = 2 4 = 16 symbol states 5 bits by M = 2 5 = 32 symbol states

Introduction to Communication Networks 1/ Symbol Constellations typically these are combinations of amplitude and phase as plotted below

Introduction to Communication Networks 1/ Advantages of M-ary signalling – a higher information rate is possible for a given symbol rate and corresponding channel bandwidth or – a lower symbol rate can be obtained leading to a reduced bandwidth requirements

Introduction to Communication Networks 1/ Maximum Data Rate of a Channel Nyquist Sample Theorem: Relation between digital throughput and bandwidth D = 2*B*log 2 K D: maximum data rate, in b/s B: system bandwidth K: possible values of voltages (binary K = 2) Absolute maximum

Introduction to Communication Networks 1/ Nyquist ’ s Theorem: particular cases For RS-232 – K is 2 because RS-232 only uses two values, +15 or -15 volts, to encode data bits - log 2 2 = 1 – D = 2 B For phase-shift encoding – Suppose K is 8 (possible shifts) - log 2 8=log =3 – D = 6 B

Introduction to Communication Networks 1/ Noise Undesired signal associated with the transmission May produce error information Noise Level: signal-to-noise ratio S/N (SNR) – S: average signal power – N: Noise signal power – Measured in decibels: 10log 10 S/N

Introduction to Communication Networks 1/ The Effect of Noise Shannon ’ s Theorem: Gives capacity in presence of noise. C = B*log 2 (1 + S/N) C: effective limit on the channel capacity (b/s) B: hardware bandwidth S/N: signal to noise ratio

Introduction to Communication Networks 1/ The Bottom Line Nyquist ’ s + Shannon ’ s Theorems – No amount of clever engineering can overcome the fundamental physical limits of a real transmission system – Relates throughput to bandwidth – Encourages engineers to use complex encoding Increase the value of K – finding a way to encode more bits per cycle improves the data rate Adjusts for noise Specifies limits on real transmission systems

Introduction to Communication Networks 1/ Example We can calculate the theoretical highest bit rate of a regular telephone line. A telephone line normally has a bandwidth of 3000 Hz (300 Hz to 3300 Hz). The signal-to-noise ratio is usually 30dB. For this channel the capacity is calculated as C = B log 2 (1 + SNR) = 3000 log 2 ( ) C = kbps

Introduction to Communication Networks 1/ Example We have a channel with a 1 MHz bandwidth. The SNR for this channel is 63; what is the appropriate bit rate and signal level? C = B log 2 (1 + SNR) = 10 6 log 2 (1 + 63) = 10 6 log 2 (64) = 6 Mbps Then we use the Nyquist formula to find the number of signal levels. 6 Mbps = 2  1 MHz  log 2 L  L = 8 First, we use the Shannon formula to find our upper limit.

Introduction to Communication Networks 1/ Transmission media Copper wires – Twisted pairs – Coaxial Cables Glass Fibers Satellites – Geo-synchronous – Low orbit Radio – Microwave – Infrared – Laser beam

Introduction to Communication Networks 1/ Copper Wires Untwisted pair Twisted Pair Coaxial Cable

Introduction to Communication Networks 1/ Micro Waves

Introduction to Communication Networks 1/ Transmission Performance

Introduction to Communication Networks 1/ Encoding Schemes Evaluation factors – Signal spectrum: less bandwidth, no dc component, shape of spectrum (better to center in the middle of bandwidth) – Clocking: self-clocking capability is desired for synchronization – Error detection: better to have error-detection capability – Signal interference and noise immunity – Cost and complexity

Introduction to Communication Networks 1/ RZ & NRZ RZ(Return to Zero) – Signal returns to zero after each encoded bit – 0 / 1: positive / negative pulse NRZ(Nonreturn to Zero) – Voltage level is constant during bit interval (no return to a zero voltage level) NRZ-L(NRZ Level) – 0: positive voltage – 1: negative voltage NRZ-I(NRZ Inverted) – Differential encoding scheme – 0: no transition – 1: transition NRZ is simple, and efficient NRZ limitations – presence of dc component – lack of synchronization capability

Introduction to Communication Networks 1/ Modulation Techniques Problem: How can we encode our signals when we can effectively use only a single frequency (or better: small frequency range)? Answer: Apply modulation techniques: Amplitude Modulation Frequency Modulation Phase Modulation

Introduction to Communication Networks 1/ Modulation A binary signal Amplitude Modulation Frequency Modulation Phase Modulation

Introduction to Communication Networks 1/ Multiplexing: FDM Problem:Considering that the bandwidth of a channel can be huge, wouldn’t it be possible to divide the channel into sub-channels? Frequency Division Multiplexing: Divide the available bandwidth into channels through frequency filtering, and apply modulation techniques per channel:

Introduction to Communication Networks 1/ Multiplexing: TDM Time Division Multiplexing:Simply merge/split streams of digital data into a new stream. Data is handled in frames – a fixed series of consecutive bits:

Introduction to Communication Networks 1/ Example Question What is the Round Trip Time when sending data to a satellite which is km away and the transmission rate is 1 Mb/s?

Introduction to Communication Networks 1/ Answer Remember: T=S/V Round trip time (RTT) is the time it takes the signal to travel back and forth RTT=2*(32000 km )/(3*10 8 m/s )=213.ms

Introduction to Communication Networks 1/ Next Lecture Data link layer (layer 2) – Framing – Error detection – Multiple access protocols  MAC Layer FDMA/TDMA/CDMA Random access Reliable Data transfer  ARQ