module 3 -wireless technology

46
Module 3 –Wireless Technology Ref :- Mobile Communication by JOCHEN SCHILLER

Upload: lini-ickappan

Post on 27-Apr-2017

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Module 3 -Wireless Technology

Module 3 –Wireless Technology

Ref :- Mobile Communication by JOCHEN SCHILLER

Page 2: Module 3 -Wireless Technology

Forming Wireless Networks

• Two major transmission methods are used.• Infra Red and Radio waves.• Infra red devices standardized by Infrared data

association IrDA• Radio transmission works in License free band

of 2.4Ghz.• IEEE 802.11 (Wifi) ,Bluetooth etc works in this

spectrum.

Page 3: Module 3 -Wireless Technology

InfraRed

• Makes use of Infrared lights and sensors.• Use Line of Sight transmission.• Was cheaper and easy to build.• Signals could not penetrate thick walls and

obstacles.• Speed varied from 11 kbits/sec to 4 Mbits/Sec.• Occasional interference issues with other light

forms.

Page 4: Module 3 -Wireless Technology

Radio waves

• Does not rely on Line of sight.• Can penetrate most common obstacles.• Offered speed from 54Mbits/Sec.• Easy interference with other radio transmission schemes.

• Infrared devices faded off the scene owing to serious performance limitations.

Page 5: Module 3 -Wireless Technology

Infrastructure V/S Adhoc

• Wireless connections can be made in two ways.

• One by using special devices to handle various functionalities.

• Other by which devices add among themselves.

Page 6: Module 3 -Wireless Technology

Infrastructure based

• Special devices known as access points are present.

• Access points perform complex tasks like access control, flow regulation etc.

• Communication happens in between nodes and Access Points.

• One end of Access points are physically connected to a Wired Network.

Page 7: Module 3 -Wireless Technology
Page 8: Module 3 -Wireless Technology

Contd..

• The computing devices may not include complex functionalities.

• But Infrastructure devices will fail to deliver if Infrastructure is damaged.

Page 9: Module 3 -Wireless Technology

AdHoc Networks

• Each node communicate with each other.• Nodes themselves have to take care of

complex functionalities like access control.• Devices need to be in the radio range of one

another.

Page 10: Module 3 -Wireless Technology

Things to Think

• Is Data visible to every other node ??• What will happen if two nodes transmit at the

same time?• Does access points have physical address?

Page 11: Module 3 -Wireless Technology

IEEE 802.11 Wireless LAN

• Standardized by IEEE in 1999.• Variations are prescribed mostly based on the

modulation used.

Page 12: Module 3 -Wireless Technology

IEEE 802.11 System architecture

• Supports Adhoc and infrastructure mode.• Involves access points and stations.• Stations and Access points in the same Radio

area forms Basic Service Set.• The overall network now is called Extended

service set.

Page 13: Module 3 -Wireless Technology
Page 14: Module 3 -Wireless Technology

Protocol architecture• IEEE 802.11 standard covers protocols for Physical

layer and Medium Access Layer.• Physical layer is subdivided into Physical Layer

Convergence Protocol [PLCP]• Physical medium dependant (PMD) sub layer.• PLCP is the access point and PMD deals with

modulation, encoding/Decoding..

Page 15: Module 3 -Wireless Technology

PHY layers

• Frequency Hopping Spread Spectrum(FHSS)• Usage of different frequencies in a range.• May use z7 + z4 + 1 pattern to scramble payload.

Page 16: Module 3 -Wireless Technology

• Synchronization :- 80 bits of 0101….• Start frame delimiter :- 0000110010111101 • PLCP PDU Length word PLW:- Length of

payload including CRC.• PLCP Signaling field :- 4 bits indicate speed • 0000 indicates 1 Mbits/s ,1111 indicate 8.5

Mbits/s• Header error check (HEC)

Page 17: Module 3 -Wireless Technology

Direct Sequence Spread Spectrum

• In DSSS we use 11 chip barker sequence to alter the signal form.

• For 1 Mbps it uses differential binary phase shift keying

• For 2 Mbps it uses differential quadrature phase shift keying.

• PLCP part of the frame is always transmitted at 1 Mbps

Page 18: Module 3 -Wireless Technology

• Signal ->0X0A indicates 1 Mbps ,0X14 2 Mbps• SFD -> 1111001110100000..• Service -> Not used.• Rest is ‘Classical’

Page 19: Module 3 -Wireless Technology

802.11 MAC Layer

• Medium Access control layer has give access to the media.

• It also has to handle roaming and energy conservation.

• Methods are defined to avoid nodes competing with each other for the media.

Page 20: Module 3 -Wireless Technology

Classical Medium access Problems in IEEE 802.11

• Hidden Node problem

Page 21: Module 3 -Wireless Technology

• Exposed node problem

Page 22: Module 3 -Wireless Technology

IEEE 802.11 MAC

• MAC defines two basic functions .• Distributed Coordination Function (DCF).• Point Coordination Function (PCF).• Has also defined 3 time type of time slots.• Short Interframe spacing(SIFS)- Shortest time frame

for ACK’s short messages etc.• PCF interframe spacing (PCF) – Medium time frame,

> SIFS• DCF interframe spacing (DISF)- Longest waiting time.

Page 23: Module 3 -Wireless Technology

DCF• DCF is defined in two ways.DCF with CSMA/CA and DCF with RTS

and CTS.• DCF with CSMA/CA• CSMA/CA also uses exponential back off time.• Rules.• 1.Sense if the medium is free• 2.If free wait for DIFS time before transmitting.• 2.1 If again busy then go for exponential waiting • Else Transmit.• 2.3 If waiting time expires • 2.3.1 If medium free transmit else select a timer and wait.

Page 24: Module 3 -Wireless Technology

• In step 2.3.1 it may be noted that another timer is selected second time so as to avoid another large waiting time.

• In other words nodes which were waiting need to be given a priority.

Page 25: Module 3 -Wireless Technology

• DCF with RTS and CTS• Every node which wants to send a data has to

inform the receiver using Ready to Send message.• RTS include an estimate of time duration required

and other parameters.• The receiver if ready will send back Clear to

Send ,again including the time frame required .• This RTS and CTS will enable the neighboring

nodes not to interfere.• They set their Net Allocation Vector (NAV)

accordingly.

Page 26: Module 3 -Wireless Technology

Point coordination Function

• PCF uses the access point as the main party.• The access points polls each station only after

waiting for PIFS time.• If the stations wants to send anything they

wait SIFS time and sends.

• Remember that every transmission happens between AP and nodes.

Page 27: Module 3 -Wireless Technology

MAC Header.

Page 28: Module 3 -Wireless Technology

• More fragments – Set if original data was fragmented and more to follow.

• Retry -> Set to 1 if it is a retry of old attempt.• Power mgmt -> set to 1 if its going to power saving

mode.• More data-> if the sender wants to send more

data.• WEP -> Set if WEP is used.• Order-> set to 1 if receiving order is important.

Page 29: Module 3 -Wireless Technology

• To DS and From DS -> Set if the data has to be send to the distributed system or if its coming from DS.

• If both are 0 -> Adr1 is destn and Adr 2 source.• If both are 1 -> Adr1 is final destn and Adr2 is

immediate sender, Adr3 -> intermediate destn,Adr4 -> original source.

Page 30: Module 3 -Wireless Technology
Page 31: Module 3 -Wireless Technology

Other MAC functions

• Synchornization -> Synchronization of clocks • Power management • Roaming facilities

• All the informations of an AP or a node is saved in a Management Information Base(MIB).

Page 32: Module 3 -Wireless Technology

Synchronization

• Special frames known as Beacon frames are used.• Beacon frames are send out periodically after

specific time.• In infrastructure based wifi, Beacons are send out

by the AP.• In Adhoc each node maintains its own timing

details and will transmit it periodically.• If collision backoff algorithm is used.

Page 33: Module 3 -Wireless Technology
Page 34: Module 3 -Wireless Technology

Power management

• Nodes and AP’s can be in awake state or sleep state.

• Needs to provide buffering so that data is not lost.

• All the stations are synchronised to wake up at the same time.

• In infrastructure based -> AP buffers all the frames

Page 35: Module 3 -Wireless Technology

• With beacon signals ,Traffic indication map(TIM) is send out to all.

• TIM contains list of all the destinations .• Those will stay awake • Another map is the Delivery TIM for broadcast

/Multicast frames.• DTIM takes double time of TIM

Page 36: Module 3 -Wireless Technology
Page 37: Module 3 -Wireless Technology

• In the case of Adhoc wifi, buffering is done at individual nodes.

• Since all the nodes wake up at the same time Adhoc TIM is send by each node .

• If collision happens ,backoff random time.

Page 38: Module 3 -Wireless Technology

Roaming

• It’s the switching of weak signal BSS to high signal BSS.

• Has to be performed seamlessly.• Mainly applicable in infrastructure based.• After identifying the best AP,association request

has to be sent.• New AP responds with Association response.• Now the AP will inform the DS about the change.

Page 39: Module 3 -Wireless Technology

Bluetooth

• Uses 2.4 GHz spectrum.• Operates in 79 channels separated by 1 Mhz.• Devices use frequency hopping.• Bluetooth devices form a small network

known as PICONET.• One node will be master followed by 7 slaves

at any time (Maximum 7).

Page 40: Module 3 -Wireless Technology

• Some other devices can be designated as Parked (Max 200)

• They do not participate in any transfer but may be included.

• All other devices will be in Standby Mode.• All slaves are given 3 bit Active member

address while parked devices are given Parked Member address

Page 41: Module 3 -Wireless Technology

• The master and slaves synchronize their clocks.

• They also follow a same Hopping Sequence.• The master and slaves are having similar

capabilities.• One who establishes the piconet becomes the

master.• Piconets can join to form scatternet.• But the hopping sequence and other

parameters need to be synchronized.

Page 42: Module 3 -Wireless Technology

Yet another Protocol Stack !!!

Page 43: Module 3 -Wireless Technology

Radio Band Layer

• Uses frequency hopping.• Each frequency used for 625microsecond.• Three power classes defined.• Class 1-> Min 1 mW ,100 mW (milli)• Class 2-> Max 2.5 mW,Normal 1 mW,min

0.25mW• Class 3-> Max 1 mW.

Page 44: Module 3 -Wireless Technology

Base band layer

• Specifies frequency hopping nature.• Also specifies various formats of data for

various needs• Specifies 1-slot,3-slot,5-slot frequency model.

Page 45: Module 3 -Wireless Technology

Baseband packet structure

• The Sync field is derived from the device address.• AM addr -> Slave or master address.• Master to slave data-> Address = receiver addr• Slave to Master -> Sender address

Page 46: Module 3 -Wireless Technology

• Type-> whether data, control ,synchronous, asynchronous etc.

• Flow->In asynchronous mode if flow=0 stop transmission. Start only after getting another flow=1.

• Used only to get ACK’s• Single bit Sequence and ACK number.• Header error check