Download mobile computing mobile computing mobile computing mobile computing mobile computing and more Study notes Mobile Computing in PDF only on Docsity!
IT1402 -MOBILE COMPUTING
UNIT I
WIRELESS COMMUNICATION FUNDAMENTALS
Introduction – Wireless transmission – Frequencies for radio transmission – Signals – Antennas – Signal Propagation – Multiplexing – Modulations – Spread spectrum – MAC – SDMA – FDMA – TDMA – CDMA – Cellular Wireless Networks.
INTRODUCTION
Mobile computing means different things to different people. Ubiquitous, wireless and remote computing Wireless and mobile computing are not synonymous. Wireless is a transmission or information transport method that enables mobile computing.
Aspects of mobility:
• user mobility: users communicate (wireless) “anytime, anywhere, with anyone”
• device portability: devices can be connected anytime, anywhere to the network
Mobility Issues
• Bandwidth restrictions and variability
• Location-aware network operation
• User may wake up in a new environment
• Dynamic replication of data
• Querying wireless data & location-based responses
• Busty network activity during connections & handling disconnections
• Disconnection
• OS and File System Issues - allow for disconnected operation
• Database System Issues - when disconnected, based on local data
Portability Issues
• Battery power restrictions
• Risks to data
- Physical damage, loss, theft
- Unauthorized access
- encrypt data stored on mobiles
- Backup critical data to fixed (reliable) hosts
• Small user interface
- Small displays due to battery power and aspect ratio constraints
- Cannot open too many windows
- Difficult to click on miniature icons
- Input - Graffiti, (Dictionary-based) Expectation
- Gesture or handwriting recognition with Stylus Pen Voice matching or voice recognition
PAGE 24
APPLICATIONS
Vehicles
• transmission of news, road condition, weather, music via DAB
• personal communication using GSM
• position via GPS
• local ad-hoc network with vehicles close-by to prevent accidents, guidance system, redundancy
• vehicle data (e.g., from busses, high-speed trains) can be transmitted in advance for maintenance
Emergencies
• early transmission of patient data to the hospital, current status, first diagnosis
• Replacement of a fixed infrastructure in case of earthquakes, hurricanes, fire etc.
• crisis, war, ...
Travelling salesmen
• direct access to customer files stored in a central location
• consistent databases for all agents
• mobile office
Replacement of fixed networks
• remote sensors, e.g., weather, earth activities
• flexibility for trade shows
• LANs in historic buildings
Entertainment, education,
• outdoor Internet access
• intelligent travel guide with up-to-date location dependent information
• ad-hoc networks for multi user games
Location dependent services
Location aware services
• what services, e.g., printer, fax, phone, server etc. exist in the local environment
Follow-on services
• automatic call-forwarding, transmission of the actual workspace to the current location
Information services
• „push“: e.g., current special offers in the supermarket
• „pull“: e.g., where is the Black Forrest Cherry Cake?
Support services
• caches, intermediate results, state information etc. „follow“ the mobile device through the fixed
network Privacy
• who should gain knowledge about the location
Effects of device portability
Power consumption
• limited computing power, low quality displays, small disks due to limited battery capacity
• CPU: power consumption ~ CV2f
• C: internal capacity, reduced by integration
• V: supply voltage, can be reduced to a certain limit
• f: clock frequency, can be reduced temporally
PAGE 24
Wireless systems: overview of the development
Areas of research in mobile communication
Wireless Communication
• transmission quality (bandwidth, error rate, delay)
• modulation, coding, interference
• media access, regulations
Mobility
• location dependent services
• location transparency
• quality of service support (delay, jitter, security)
Portability
• power consumption
• limited computing power, sizes of display, ...
• usability
Simple reference model used here
Influence of mobile communication to the LAYER MODEL
Application layer
• service location
• new applications, multimedia
• adaptive applications
Transport layer
• congestion and flow control
• quality of service
Network layer
• addressing, routing, device location
• hand-over
PAGE 24
Data link layer
• authentication
• media access
• multiplexing
• media access control
Physical layer
• encryption
• modulation
• interference
• attenuation
• frequency
WIRELESS TRANSMISSION - FREQUENCIES FOR RADIO TRANSMISSION
Frequencies for communication
Frequencies for mobile communication
• VHF-/UHF-ranges for mobile radio
• simple, small antenna for cars
• deterministic propagation characteristics, reliable connections
• SHF and higher for directed radio links, satellite communication
• small antenna, focusing
• large bandwidth available
• Wireless LANs use frequencies in UHF to SHF spectrum
• some systems planned up to EHF
• limitations due to absorption by water and oxygen molecules (resonance frequencies)
• Weather dependent fading, signal loss caused by heavy rainfall etc.
Frequencies and regulations
ITU-R holds auctions for new frequencies, manages frequency bands worldwide (WRC, World Radio Conferences)
PAGE 24
Isotropic radiator: equal radiation in all directions (three dimensional) - only a theoretical reference antenna Real antennas always have directive effects (vertically and/or horizontally) Radiation pattern: measurement of radiation around an antenna
Ideal isotropic radiator
Simple dipoles
Real antennas are not isotropic radiators but, e.g., dipoles with lengths λ/4 on car roofs or λ/2 as Hertzian dipole, shape of antenna proportional to wavelength
Example: Radiation pattern of a simple Hertzian dipole
Directed and Sectorized
Often used for microwave connections or base stations for mobile phones (e.g., radio coverage of a valley)
Antennas: diversity
Grouping of 2 or more antennas
• multi-element antenna arrays
Antenna diversity
• switched diversity, selection diversity
• receiver chooses antenna with largest output
diversity combining
• combine output power to produce gain
• cophasing needed to avoid cancellation
SIGNAL PROPAGATION
Transmission range
PAGE 24
• communication possible
• low error rate
Detection range
• detection of the signal possible
• no communication possible
Interference range
• signal may not be detected
• signal adds to the background noise
Signal propagation
Propagation in free space always like light (straight line) Receiving power proportional to 1/d² (d = distance between sender and receiver)
Receiving power additionally influenced by
• fading (frequency dependent)
• shadowing
• reflection at large obstacles
• scattering at small obstacles
• diffraction at edges
Shadowing Reflection Scattering Diffraction
Multipath propagation
Signal can take many different paths between sender and receiver due to reflection, scattering, diffraction
Time dispersion: signal is dispersed over time
PAGE 24
•..2 Cable
•..3 Satellite
Frequency Division Multiplexing Diagram
Time Division Multiplexing - TDM
Time division multiplexing is more suitable for digital data. TDM can be used when the data rate available on a communication link exceeds the data rate required by any one of the sources. In TDM each source that is to use the link fills up a buffer with data. A TDM multiplexer scans the buffers in some predetermined order and transmits bits from each source one after the other.
• Requires digital signaling & transmission
• Requires data rate = sum of inputs + framing
• Data rate much higher than equivalent analog bandwidth uses
• Separates data streams in time not frequency
• The standard of the modern digital telephone system
Code Division Multiplexing - CDM
Each channel has a unique code. All channels use the same spectrum at the same time.
Advantages:
• bandwidth efficient
• no coordination and synchronization necessary
• good protection against interference and tapping
Disadvantages:
• lower user data rates
• more complex signal regeneration
PAGE 24
MODULATIONS
Digital modulation
• digital data is translated into an analog signal (baseband)
• ASK, FSK, PSK - main focus in this chapter
• differences in spectral efficiency, power efficiency, robustness
Analog modulation
• shifts center frequency of baseband signal up to the radio carrier Motivation
• smaller antennas (e.g., λ/4)
• Frequency Division Multiplexing
• medium characteristics
Basic schemes
• Amplitude Modulation (AM)
• Frequency Modulation (FM)
• Phase Modulation (PM)
Modulation and demodulation
Digital modulation
Modulation of digital signals known as Shift Keying.
Amplitude Shift Keying (ASK):
• very simple
• low bandwidth requirements
• very susceptible to interference
Frequency Shift Keying (FSK):
• needs larger bandwidth
Phase Shift Keying (PSK):
• more complex
• robust against interference
Advanced Frequency Shift Keying
• bandwidth needed for FSK depends on the distance between the carrier frequencies
PAGE 24
Effects of spreading and interference
DSSS (Direct Sequence Spread Spectrum)
XOR of the signal with pseudo-random number (chipping sequence)
• many chips per bit (e.g., 128) result in higher bandwidth of the signal
Advantages
• reduces frequency selective fading
• in cellular networks
• base station scan use the same frequency range several base stations can detect and recover the
signal
• soft handover
Disadvantages
• precise power control necessary
FHSS (Frequency Hopping Spread Spectrum)
Discrete changes of carrier frequency
• sequence of frequency changes determined via pseudo random number sequence
Two versions
• Fast Hopping:
several frequencies per user bit
• Slow Hopping:
several user bits per frequency
Advantages
• frequency selective fading and interference limited to short period
• simple implementation
• uses only small portion of spectrum at any time
Disadvantages
• not as robust as DSSS
• simpler to detect
PAGE 24
FHSS (Frequency Hopping Spread Spectrum)
Frequency Hopping Spread Spectrum
MAC
Medium Access Control (MAC)
MAC protocol which were developed for nodes at short distance did not show good performance for
nodes at longer distance so another protocol has to be developed Known as 2p MAC Protocol.
802.11 protocols were good for devices which had no power supply issue frequent charging were
available to them etc.
1. This protocol based devices were not good for certain operation like monitoring the natural
habitat of wildlife.
2. Sampling the water level of dam.
These applications do not require frequent human intervention and are required to run for a longer
duration.
To fulfill the requirement other protocol was developed sensor network (802.15.4)
• Energy Budgets:-Main points which were discussed in this were how its protocol helps in saving
power by cleverly managing the time when device should sleep when to wake up.
• MAC protocol used in 802.15.4.
• Routing and tree formation in ZigBee: - Routing protocol was developed by Zigbee firm.
Wireless MAC Issues
Wireless medium makes the MAC design more challenging than the wireline networks.
The three important issues are:
- Half Duplex operation –> either send or receive but not both at a given time
- Time varying channel
- Burst channel errors 1. Half Duplex Operation
In wireless, it’s difficult to receive data when the transmitter is sending the data, because: When node is transmitting, a large fraction of the signal energy leaks into the receiver path The transmitted and received power levels can differ by orders of magnitude The leakage signal typically has much higher power than the received signal ->“Impossible to detect a received signal, while transmitting data” Collision detection is not possible, while sending data
PAGE 24
An exposed node is one that is within the range of the sender but out of range of destination .when a node’s received signal strength drops below a certain threshold the node is said to be in fade .Handshaking is widely used strategy to ensure the link quality is good enough for data communication. A successful handshake between a sender and a receiver (small message) indicates a good communication link.
In theory C can therefore have a parallel transmission with any node that cannot hear the transmission from B, i.e. out of range of B. But C will not transmit to any node because its an exposed node. Exposed nodes waste bandwidth.
Capture
Capture is said to occur when a receiver can cleanly receive a transmission from one of two simultaneous transmissions both within its range Assume node A and D transmit simultaneously to B. The signal strength received from D is much higher than that from A, and D’s transmission can be decoded without errors in presence of transmissions from A.D has captured A. Capture is unfair because it gives preference to nodes that are closer to the receiver. It may improve protocol performance
MULTIPLE ACCESS
FDMA
It is an ANALOQUE technique in time. Synchronization the transmission bandwidth is partitioned to frequency slots different users has different RF carrier frequencies, i.e. Each user is assigned a particular frequency slot. users/signals are at the receiver by separated out FILTERING if all frequency slots are occupied then the system has reached its.
TDMA
It is a DIGITAL technique requires between users synchronization each user/signal is assigned a particular (within a time-frame) time slot.
CELLULAR WIRELESS NETWORKS
Implements space division multiplex: base station covers a certain transmission area (cell).Mobile stations communicate only via the base station
Advantages of cell structures:
• higher capacity, higher number of users
• less transmission power needed
• more robust, decentralized
• base station deals with interference, transmission area etc. locally
Problems:
• fixed network needed for the base stations
• handover (changing from one cell to another) necessary
• interference with other cells
Cell sizes from some 100 m in cities to, e.g., 35 km on the country side (GSM) - even less for higher frequencies
Frequency reuse only with a certain distance between the base stations
Standard model using 7 frequencies :
PAGE 24
Fixed frequency assignment:
• certain frequencies are assigned to a certain cell
• problem: different traffic load in different cells
Dynamic frequency assignment:
• base station chooses frequencies depending on the frequencies already used in neighbor cells
• more capacity in cells with more traffic
• assignment can also be based on interference measurements
3 cell cluster 3 cell cluster with 3 sector antennas
Cell : Why Hexagon?
• In reality the cell is an irregular shaped circle, for design convenience and as a first order approximation,
it is assumed to be regular polygons
• The hexagon is used for two reasons:
- A hexagonal layout requires fewer cells, therefore, fewer transmission site
• Less expensive compared to square and triangular cells
• Irregular cell shape leads to inefficient use of the spectrum because of inability to reuse frequency on
account of co channel interference uneconomical deployment of equipment, requiring relocation from one cell site to another
PAGE 24