+ All Categories
Home > Documents > Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University...

Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University...

Date post: 29-Jan-2016
Category:
Upload: joy-benson
View: 214 times
Download: 0 times
Share this document with a friend
Popular Tags:
67
Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila
Transcript
Page 1: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Wireless Networks

Instructor: Fatima NaseemLecture # 02

Computer Engineering Department, University of Engineering and Technology, Taxila

Page 2: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Protocols and the TCP/IP Suite

Chapter 4

Page 3: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Key Features of a Protocol

Syntax Concerns the format of the data blocks

Semantics Includes control information for coordination and error

handling Timing

Includes speed matching and sequencing

Page 4: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Agents Involved in Communication

Applications Exchange data between computers (e.g., electronic

mail) Computers

Connected to networks Networks

Transfers data from one computer to another

Page 5: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Principles to Arrive at Layers

Layer should be created where different abstraction needed

Each layer performs well defined functions Layer boundaries should be chosen to

minimize flow across the interfaces No of layers should be

Large enough so that distinct functions are not thrown in same layer

Small enough to avoid repetition

Page 6: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

TCP/IP Layers

Physical layer Network access layer Internet layer Host-to-host, or transport layer Application layer

Page 7: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

TCP/IP Physical Layer

Covers the physical interface between a data transmission device and atransmission medium or network

Physical layer specifies: Characteristics of the transmission medium The nature of the signals The data rate Other related matters

Page 8: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

TCP/IP Network Access Layer

Concerned with the exchange of data between an end system and the network to which it's attached

Software used depends on type of network Circuit switching Packet switching (e.g., X.25) LANs (e.g., Ethernet) Others

Page 9: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

T:TCP/IP Internet Layer

Uses internet protocol (IP) Provides routing functions to allow data to

traverse multiple interconnected networks Implemented in end systems and routers

Page 10: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

TCP/IP Host-to-Host, or Transport Layer

Commonly uses transmission control protocol (tcp)

Provides reliability during data exchange Completeness Order

Page 11: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

TCP/IP Application Layer

Logic supports user applications Uses separate modules that are peculiar to each

different type of application

Page 12: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Protocol Data Units (PDUs)

Page 13: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Common TCP/IP Applications

Simple mail transfer protocol (SMTP) Provides a basic electronic mail facility

File Transfer Protocol (FTP) Allows files to be sent from one system to another

TELNET Provides a remote logon capability

Page 14: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Layers of the OSI Model

Application Presentation Session Transport Network Data link Physical

Page 15: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

OSI Application Layer

Provides access to the OSI environment for users Provides distributed information services

Page 16: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

OSI Presentation Layer

Provides independence to the application processes from differences in data representation (syntax)

Page 17: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

OSI Session Layer

Provides the control structure for communication between applications

Establishes, manages, and terminates connections (sessions) between cooperating applications

Page 18: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

OSI Transport Layer

Provides reliable, transparent transfer of data between end points

Provides end-to-end error recovery and flow control

Page 19: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

OSI Network Layer

Provides upper layers with independence from the data transmission and switching technologies used to connect systems

Responsible for establishing, maintaining, and terminating connections

Page 20: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

OSI Data link Layer

Provides for the reliable transfer of information across the physical link

Sends blocks (frames) with the necessary synchronization, error control, and flow control

Page 21: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

OSI Physical Layer

Concerned with transmission of unstructured bit stream over physical medium

Deals with accessing the physical medium Mechanical characteristics Electrical characteristics Functional characteristics Procedural characteristics

Page 22: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Comparison of OSI and TCP/IP

Page 23: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

TCP/IP Architecture Dominance

TCP/IP protocols matured quicker than similar OSI protocols When the need for interoperability across networks

was recognized, only TCP/IP was available and ready to go

OSI model is unnecessarily complex Accomplishes in seven layers what TCP/IP does with

fewer layers

Page 24: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Elements of Standardization within OSI Framework

Protocol Specification Format of protocol data units (PDUs) exchanged Semantics of all fields Allowable sequence of PDUs

Service Definition Functional description that defines what services are provided,

but not how the services are to be provided Addressing

Entities are referenced by means of a service access point (SAP)

Page 25: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Internetworking Terms

Communication network – facility that provides a data transfer service among devices attached to the network

Internet – collection of communication networks, interconnected by bridges/routers

Intranet – internet used by an organization for internal purposes Provides key Internet applications Can exist as an isolated, self-contained internet

Page 26: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Internetworking Terms

End System (ES) – device used to support end-user applications or services

Intermediate System (IS) – device used to connect two networks

Bridge – an IS used to connect two LANs that use similar LAN protocols

Router - an IS used to connect two networks that may or may not be similar

Page 27: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Functions of a Router

Provide a link between networks Provide for the routing and delivery of data

between processes on end systems attached to different networks

Provide these functions in such a way as not to require modifications of the networking architecture of any of the attached subnetworks

Page 28: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Network Differences Routers Must Accommodate

Addressing schemes Different schemes for assigning addresses

Maximum packet sizes Different maximum packet sizes requires segmentation

Interfaces Differing hardware and software interfaces

Reliability Network may provide unreliable service

Page 29: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Antennas and Propagation

Chapter 5

Page 30: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Introduction

An antenna is an electrical conductor or system of conductors Transmission - radiates electromagnetic energy into

space Reception - collects electromagnetic energy from space

In two-way communication, the same antenna can be used for transmission and reception

Page 31: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Radiation Patterns

Radiation pattern An antenna radiates in all directions but does not perform

well in all directions One way of performance characterization is radiation

pattern Graphical representation of radiation properties of an

antenna Depicted as two-dimensional cross section The distance from the antenna to each point on the radiation

pattern is proportional to the power radiated in that direction

Page 32: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.
Page 33: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Radiation Patterns

Beam width (or half-power beam width) Measure of directivity of antenna

Reception pattern Receiving antenna’s equivalent to radiation pattern

Page 34: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Types of Antennas

Isotropic antenna (idealized) Radiates power equally in all directions

Dipole antennas Half-wave dipole antenna (or Hertz antenna) Quarter-wave vertical antenna (or Marconi antenna)

Parabolic Reflective Antenna

Page 35: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.
Page 36: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Antenna Gain

Antenna gain Power output, in a particular direction, compared to

that produced in any direction by a perfect omnidirectional antenna (isotropic antenna)

Effective area Related to physical size and shape of antenna

Page 37: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Antenna Gain

Relationship between antenna gain and effective area

G = antenna gain Ae = effective area f = carrier frequency c = speed of light (» 3 ´ 108 m/s) = carrier wavelength

2

2

2

44

c

AfAG ee

Page 38: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Propagation Modes

Ground-wave propagation Sky-wave propagation Line-of-sight propagation

Page 39: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Ground Wave Propagation

Page 40: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Ground Wave Propagation

Follows contour of the earth Can Propagate considerable distances Frequencies up to 2 MHz Example

AM radio

Page 41: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Sky Wave Propagation

Page 42: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Sky Wave Propagation

Signal reflected from ionized layer of atmosphere back down to earth

Signal can travel a number of hops, back and forth between ionosphere and earth’s surface

Reflection effect caused by refraction Examples

Amateur radio CB radio

Page 43: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Line-of-Sight Propagation

Page 44: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Line-of-Sight Propagation

Transmitting and receiving antennas must be within line of sight Satellite communication – signal above 30 MHz not reflected by

ionosphere Ground communication – antennas within effective line of site

due to refraction Refraction – bending of microwaves by the atmosphere

Velocity of electromagnetic wave is a function of the density of the medium

When wave changes medium, speed changes Wave bends at the boundary between mediums

Page 45: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Line-of-Sight Equations Optical line of sight

Effective, or radio, line of sight

d = distance between antenna and horizon (km) h = antenna height (m) K = adjustment factor to account for refraction, rule

of thumb K = 4/3

hd 57.3

hd 57.3

Page 46: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Line-of-Sight Equations

Maximum distance between two antennas for LOS propagation:

h1 = height of antenna one

h2 = height of antenna two

2157.3 hh

Page 47: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

LOS Wireless Transmission Impairments

Attenuation and attenuation distortion Free space loss Noise Atmospheric absorption Multipath Refraction Thermal noise

Page 48: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Attenuation

Strength of signal falls off with distance over transmission medium

Attenuation factors for unguided media: Received signal must have sufficient strength so that circuitry in

the receiver can interpret the signal Signal must maintain a level sufficiently higher than noise to be

received without error Attenuation is greater at higher frequencies, causing distortion

Page 49: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Free Space Loss

Free space loss, ideal isotropic antenna

Pt = signal power at transmitting antenna

Pr = signal power at receiving antenna = carrier wavelength d = propagation distance between antennas c = speed of light (» 3 ´ 10 8 m/s)

where d and are in the same units (e.g., meters)

2

2

2

2 44

c

fdd

P

P

r

t

Page 50: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Free Space Loss

Free space loss equation can be recast:

d

P

PL

r

tdB

4log20log10

dB 98.21log20log20 d

dB 56.147log20log204

log20

df

c

fd

Page 51: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Free Space Loss

Free space loss accounting for gain of other antennas

Gt = gain of transmitting antenna

Gr = gain of receiving antenna

At = effective area of transmitting antenna

Ar = effective area of receiving antenna

trtrtrr

t

AAf

cd

AA

d

GG

d

P

P2

22

2

224

Page 52: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Free Space Loss

Free space loss accounting for gain of other antennas can be recast as

rtdB AAdL log10log20log20

dB54.169log10log20log20 rt AAdf

Page 53: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Categories of Noise

Thermal Noise Intermodulation noise Crosstalk Impulse Noise

Page 54: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Thermal Noise

Thermal noise due to agitation of electrons Present in all electronic devices and transmission

media Cannot be eliminated Function of temperature Particularly significant for satellite

communication

Page 55: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Thermal Noise

Noise is assumed to be independent of frequency Thermal noise present in a bandwidth of B Hertz (in

watts):

or, in decibel-watts

TBN k

BTN log10 log 10k log10 BT log10 log 10dBW 6.228

Page 56: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Noise Terminology Intermodulation noise – occurs if signals with

different frequencies share the same medium Interference caused by a signal produced at a frequency that

is the sum or difference of original frequencies Crosstalk – unwanted coupling between signal paths Impulse noise – irregular pulses or noise spikes

Short duration and of relatively high amplitude Caused by external electromagnetic disturbances, or faults

and flaws in the communications system

Page 57: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Expression Eb/N0 Ratio of signal energy per bit to noise power density per

Hertz

The bit error rate for digital data is a function of Eb/N0

Given a value for Eb/N0 to achieve a desired error rate, parameters of this formula can be selected

As bit rate R increases, transmitted signal power must increase to maintain required Eb/N0

TR

S

N

RS

N

Eb

k

/

00

Page 58: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Other Impairments

Atmospheric absorption – water vapor and oxygen contribute to attenuation

Multipath – obstacles reflect signals so that multiple copies with varying delays are received

Refraction – bending of radio waves as they propagate through the atmosphere

Page 59: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Multipath Propagation

Page 60: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Multipath Propagation

Reflection - occurs when signal encounters a surface that is large relative to the wavelength of the signal

Diffraction - occurs at the edge of an impenetrable body that is large compared to wavelength of radio wave

Scattering – occurs when incoming signal hits an object whose size in the order of the wavelength of the signal or less

Page 61: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

The Effects of Multipath Propagation

Multiple copies of a signal may arrive at different phases If phases add destructively, the signal level relative to

noise declines, making detection more difficult Intersymbol interference (ISI)

One or more delayed copies of a pulse may arrive at the same time as the primary pulse for a subsequent bit

Page 62: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.
Page 63: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Types of Fading

Fast fading Slow fading Flat fading Selective fading Rayleigh fading Rician fading

Page 64: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Error Compensation Mechanisms

Forward error correction Adaptive equalization Diversity techniques

Page 65: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Forward Error Correction

Transmitter adds error-correcting code to data block Code is a function of the data bits

Receiver calculates error-correcting code from incoming data bits If calculated code matches incoming code, no error occurred If error-correcting codes don’t match, receiver attempts to

determine bits in error and correct

Page 66: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Adaptive Equalization

Can be applied to transmissions that carry analog or digital information Analog voice or video Digital data, digitized voice or video

Used to combat intersymbol interference Involves gathering dispersed symbol energy back into its

original time interval Techniques

Lumped analog circuits Sophisticated digital signal processing algorithms

Page 67: Wireless Networks Instructor: Fatima Naseem Lecture # 02 Computer Engineering Department, University of Engineering and Technology, Taxila.

Diversity Techniques

Diversity is based on the fact that individual channels experience independent fading events

Space diversity – techniques involving physical transmission path

Frequency diversity – techniques where the signal is spread out over a larger frequency bandwidth or carried on multiple frequency carriers

Time diversity – techniques aimed at spreading the data out over time


Recommended