Unit 1
Unit 1
1
What Is Mobile Computing?
• What is computing?
Operation of computers (according to oxfords
advance learner’s dictionary)
• What is the mobile?
That someone /something can move or be moved
easily and quickly from place to place
• What is mobile computing?
Users with portable computers still have network
connections while they move
2
What Is Mobile Computing? (Cont.)
• A simple definition could be:
Mobile Computing is using a computer (of one kind or
another) while on the move
• Another definition could be:
Mobile Computing is when a (work) process is moved from a
normal fixed position to a more dynamic position.
• A third definition could be:
Mobile Computing is when a work process is carried out
somewhere where it was not previously possible.
3
What Is Mobile Computing? (Cont.)
• Mobile Computing is an umbrella term used to
describe technologies that enable people to access
network services anyplace, anytime, and anywhere.
4
Why Go Mobile?
• Enable anywhere/anytime connectivity
• Bring computer communications to areas without
pre-existing infrastructure
• Enable mobility
• Enable new applications
• An exciting new research area
5
Types of Wireless Devices
• Laptops
• Palmtops
• PDAs
• Cell phones
• Pagers
• Sensors
6
Mobile Objects
• A mobile object is some
code that carries a state
7
Mobile Objects (Cont.)
• A mobile object is some
code that carries a state
• that lives on a host
8
Mobile Objects (Cont.)
• A mobile object is some
code that carries a state
• Lives in a host
• That visits places
9
Mobile Objects (Cont.)
• A mobile object is some
code that carries a state
• Lives in a host
• That visits places
• which is let in when
trusted
10
Mobile Objects (Cont.)
• A mobile object is some
code that carries a state
• Lives in a host
• That visits places
• which is let in when
trusted
• and barred when
untrusted
11
Mobile Objects (Cont.)
• A mobile object is some
code that carries a state
• Lives in a host
• That visits places
• which is let in when trusted
• and barred when untrusted
• and will refuse to go to
untrustworthy places
12
Mobile Objects (Cont.)
• Mobile objects can talk
to their friends
13
Mobile Objects (Cont.)
• Mobile objects can talk
to their friends
• but only by co-operation
of the hosts
14
Mobile Computing Functions
• User Mobility
• Network Mobility
• Bearer Mobility
• Device Mobility
• Session Mobility
• Agent Mobility
• Host Mobility
15
Evocation
Wireless Transmission
Frequency
Frequency
Types
SDM, FDM,TDM,CDM
SDM
• Space division
multiplexing
• Channel k1 to k3
mapped into the 3
spaces s1,s2,s3.
• Prevent interference
and overlapping
SDM
• The space between the
interference range is
called guard space.
• Highway example
Problem
• 2 or more channel
establish with the same
space(city).
• Go for TDM,FDM,CDM
FDM
• Frequency division
multiplexing
• Subdivided the frequency
dimension into several
non overlapping
frequency bands.
• Each channel ki is now
allotted its own
frequency.
FDM
• Guard space required
avoid interferences.
• More radio station in
same region.
• Receiver tune sender
Problem
• Waste of bandwidth in
traffic distribution.
• Guard space.
TDM
• Time division
multiplexing
• ki given whole
bandwidth for a certain
amount of time.
• All senders using same
frequency but diff time.
• Guard space –
separation of time.
TDM
Problem
• Synchronization is
required.
• Coordination between
all senders.
• Interferences
CDM
• Code division multiplexing
• Military application –
security
• Same frequency same time
division with code.
• Assigning frequency to each
channel with their own code.
• Guard space – necessary
distance in code space
• Party hall – diff languages
CDM
• Good protection against
interference
Problem
• Complexity for the
receiver they should
know the code
• Decoding correctly
Qn
Summarize the difference between SDM,
TDM, FDM and CDM
MAC - MOTIVATION
• MAC is elaborate to wired network to wireless
networks?
• CSMA/CD
• Carrier sense multiple access with collision
detection.
• A sender senses medium is free. If the
medium is busy Sender should wait when the
medium is free.
• If the sender detects a collision while sending,
it stops and once sends a jamming signal.
• In wired same strength for overall wire and
some limit in the length.
• If collision occur somewhere in wire
everybody will notice it.
Qn. Why does this scheme fail in wireless
networks?
Hidden and exposed terminal
• A is hidden for C and vice versa
Hidden and exposed terminal
• C is exposed to B
Near and far terminal
• B’s signal drowns out A’s signal.
SDMA
• Space division multiple access
• Assigning a optimal base station
• Mobile receive diff base station diff quality
• MAC algorithm decides which one is best
• SDMA never used in isolation
• Combination of other schemes
SDMA
• SDMA algorithm is formed by cells and
sectorized antennas which constitute the
infrastructure implementing SDMA.
Qn. Who performs the MAC algorithm in SDMA?
• BS to MS vice versa
separated in different
frequencies called
Frequency division
duplex(FDD)
FDMA
Both partner know the
frequency in advance;
they cannot just listen
the medium.
Uplink
MS to BS
Downlink
BS to MS
FDMA
• Fig GSM standard
frequency 900MHZ
• Fixed by national
regulated authority
• Each channel
bandwidth 200KHZ
• Total 124 channels per
direction
FDMA
Uplink frequency
fu=890MHZ+n.0.2MHZ
Downlink frequency
fd=fu+45MHZ
fd=935MHZ+n.0.2MHZ
Qn
Assume all stations can hear all other stations.
One station want to transmit and senses the
carrier idle. Why can a collision still occur after
the start of transmission.
• A cordless telephone using separate
frequencies for transmission in base and
portable units is known as
A.duplex arrangement
B.half duplex arrangement
C.either (a) or (b)
D.neither (a) nor (b)
TDMA
• Allocate certain time slots for communication.
• Tuning certain frequency is not necessary.
• Diff. algorithm used
• Separated time same frequency
• Syncho. between sender and receiver
achieved in time domain.
• Dynamic allocation
Fixed TDM
• Allotting time slot-fixed
manner
• Fixed bandwidth
• But accessing reserved
time slot is difficult
• Competition b/w
different MS
• Guarantee a fixed delay
(e.g) 10ms
Fixed TDM
• Duplex channel b/w MS
and BS
• Different slot for uplink
and downlink
• Each slots has duration
417μs
• Repletion guarantee
10ms.
Classical Aloha
• Controlling medium access
• Invented by university of
Hawaii used ALOHANET(1970)
• If you have data to send, send
the data
• If, while you are transmitting
data, you receive any data
from another station, there
has been a message collision.
• All transmitting stations will
need to try resending "later"
Slotted Aloha
• Slotted Aloha additionally uses
time-slots, sending must always
start at slot boundaries .
• An improvement to the original
ALOHA protocol was "Slotted
ALOHA", which introduced
discrete timeslots and increased
the maximum throughput.
• A station can start a
transmission only at the
beginning of a timeslot, and
thus collisions are reduced.
• In this case, only transmission-
attempts within 1 frame-time
and not 2 consecutive frame-
times need to be considered,
since collisions can only occur
during each timeslot.
Classical ALOHA Slotted ALOHA
The original ALOHA protocol is called Slotted ALOHA was invented to improve
classical ALOHA. the efficiency of classical ALOHA.
A simple version classical ALOHA, does not Slotted ALOHA requires slot
require Slots. synchronization.
The idea is that each station sends a Force the station to send only at the
frame whenever it has a frame to send. beginning of the time slot.
However, since there is only one channel If multiple nodes transmit, node detect
to share, there is the possibility of collision collision Slotted.
between frames from different stations.
collision
t
Aloha reserved Aloha reserved Aloha reserved Aloha
PRMA- Packet reservation multiple access
– a certain number of slots form a frame, frames are repeated
– stations compete for empty slots according to the slotted
aloha principle
– once a station reserves a slot successfully, this slot is
automatically assigned to this station in all following frames as
long as the station has data to send
– competition for this slots starts again as soon as the slot was
empty in the last frame
reservation
1 2 3 4 5 6 7 8 time-slot
ACDABA-F
frame1 A CDAB A F
ACDABA-F
frame2 A C AB A
AC-ABAF- collision at
frame3 A B A F
A---BAFD F D reservation
frame4 A B A
ACEEBAFD F D attempts
frame5 A CEEB A
t
Reservation TDMA
•Reservation Time Division Multiple Access
– every frame consists of N mini-slots and x data-slots
– every station has its own mini-slot and can reserve up to
k data-slots using this mini-slot (i.e. x = N * k).
– other stations can send data in unused data-slots
according to a round-robin sending scheme
e.g. N=6, k=2
N mini-slots N * k data-slots
idle idle
packet ready to send; RTSdata;
RxBusy time-out; ACK
wait for the RTS time-out RTS;
ACK time-out right
to send data; CTS
NAK; NAK
RTS CTS; data
wait for
wait for ACK data
signal A As
data B 1 0 0 Bd
key B
key
0 0 0 1 1 0 1 0 1 0 0 0 0 1 0 1 1 1 Bk
sequence B
data key1 1 1 0 0 1 1 0 1 0 0 0 0 1 0 1 1 1
signal B Bs
As + Bs
data A CDMA
1 on signal
0 level 1III Ad
As + Bs
Ak
(As + Bs)
* Ak
integrator
output
comparator
output 0 1 0
data B CDMA
1 on signal
0 level 0IV Bd
As + Bs
Bk
(As + Bs)
* Bk
integrator
output
comparator
output 0 1 1
CDMA on signal level V
As + Bs
wrong
key K
(As + Bs)
*K
integrator
output
comparator
output (1) (1) ?
SAMA - Spread Aloha Multiple Access
• Aloha has only a very low efficiency, CDMA needs complex receivers to be able to receive different senders with individual
codes at the same time
• Idea: use spread spectrum with only one single code (chipping sequence) for spreading for all senders accessing according
to aloha
collision
sender A 1 0 1 narrow
sender B 0 1 1 band
send for a
shorter period
with higher power
t
Problem: find a chipping sequence with good characteristics
e signal e.g. using the chipping sequence 110101 („CDMA without CD“)
Comparison
SDMA/TDMA/FDMA/CDMA
Approach SDMA TDMA FDMA CDMA
Idea segment space into segment sending segment the spread the spectrum
cells/sectors time into disjoint frequency band into using orthogonal codes
time-slots, demand disjoint sub-bands
driven or fixed
patterns
Terminals only one terminal can all terminals are every terminal has its all terminals can be active
be active in one active for short own frequency, at the same place at the
cell/one sector periods of time on uninterrupted same moment,
the same frequency uninterrupted
Signal cell structure, directed synchronization in filtering in the code plus special
separation antennas the time domain frequency domain receivers
Advantages very simple, increases established, fully simple, established, flexible, less frequency
capacity per km² digital, flexible robust planning needed, soft
handover
Dis- inflexible, antennas guard space inflexible, complex receivers, needs
advantages typically fixed needed (multipath frequencies are a more complicated power
propagation), scarce resource control for senders
synchronization
difficult
Comment only in combination standard in fixed typically combined still faces some problems,
with TDMA, FDMA or networks, together with TDMA higher complexity,
CDMA useful with FDMA/SDMA (frequency hopping lowered expectations; will
used in many patterns) and SDMA be integrated with
mobile networks (frequency reuse) TDMA/FDMA
GSM
History
If you are in Europe or Asia and using a mobile phone,
then most probably you are using GSM technology in
your mobile phone.
• GSM stands for Global System for Mobile
Communication. It is a digital cellular technology used
for transmitting mobile voice and data services.
• The concept of GSM emerged from a cell-based mobile
radio system at Bell Laboratories in the early 1970s.
• GSM is the name of a standardization group
established in 1982 to create a common European
mobile telephone standard.
• GSM is the most widely accepted standard in
telecommunications and it is implemented globally.
• GSM is a circuit-switched system that divides each 200
kHz channel into eight 25 kHz time-slots.
• GSM operates on the mobile communication bands
900 MHz and 1800 MHz in most parts of the world.
• In the US, GSM operates in the bands 850 MHz and
1900 MHz.
• GSM owns a market share of more than 70 percent of
the world's digital cellular subscribers.
• GSM makes use of narrowband Time Division Multiple
Access (TDMA) technique for transmitting signals.
• GSM was developed using digital technology. It
has an ability to carry 64 kbps to 120 Mbps of
data rates.
• Presently GSM supports more than one billion
mobile subscribers in more than 210 countries
throughout the world.
• GSM provides basic to advanced voice and data
services including roaming service. Roaming is
the ability to use your GSM phone number in
another GSM network.
Why GSM
• Improved spectrum efficiency
• International roaming
• Low-cost mobile sets and base stations (BSs)
• High-quality speech
• Compatibility with Integrated Services Digital
Network (ISDN) and other telephone company
services
• Support for new services
Years Events
1992 The addition of the countries that signed the GSM MoU takes place.
Coverage spreads to larger cities and airports.
1993 Coverage of main roads GSM services starts outside Europe.
2001 As of May 2001, over 550 million people were subscribers to mobile
telecommunications.
GSM SERVICES
GSM offers three basic types of services:
• Teleservices
• Bearer services PLMN- Public land mobile network
ISDN-Integrated Services Digital Network
MT-Mobile termination
GSM Services(Cont..)
Mobile termination which handles functions such as radio
transmission, speech encoding/ decoding, error detection/
correction, and access to the SIM.
Terminal equipment is any device connected to
the mobile station which offers services to the user, such as
a mobile phone or other mobile device.
111
GSM Services(Cont..)
A public land mobile network (PLMN) is any wireless
communications system intended for use by terrestrial
subscribers in vehicles or on foot. Such a system can stand alone,
but often it is interconnected with a fixed system such as the
public switched telephone network (PSTN).
112
GSM Services(Cont..)
PSTN or Public Switched Telephone Network is simply or most
commonly known as a 'telephone line'. A PSTN phone number is
equivalent to one phone line.
ISDN or Integrated Services Digital Network provides digital
transmission of voice and data services.
113
Teleservices
Voice Calls
• The most basic Tele service supported by GSM is telephony. This includes
full-rate speech at 13 kbps and emergency calls, where the nearest
emergency-service provider is notified by dialing three digits.
Videotext and Facsmile
• Another group of tele services includes Videotext access, Teletex
transmission, Facsmile alternate speech and Facsmile Group 3, Automatic
Facsmile Group, 3 etc.
Short Text Messages
• Short Messaging Service (SMS) service is a text messaging service that
allows sending and receiving text messages on your GSM mobile phone.
In addition to simple text messages, other text data including news, sports,
financial, language, and location-based data can also be transmitted.
Bearer Services
• Data services or Bearer Services are used through a GSM
phone. to receive and send data is the essential building block
leading to widespread mobile Internet access and mobile data
transfer.
radio
carrier
analog
baseband
digital
signal
analog synchronization data
demodulation decision 101101001 radio receiver
radio
carrier
Digital modulation
1 0 1
• Modulation of digital signals known as Shift Keying
• Amplitude Shift Keying (ASK):
t
– very simple
– low bandwidth requirements
1 0 1
– very susceptible to interference
MSK
signal
t
No phase shifts!
Advanced Phase Shift Keying
Q
11 10 00 01
Quadrature Amplitude Modulation
• Quadrature Amplitude Modulation (QAM)
– combines amplitude and phase modulation
– it is possible to code n bits using one symbol
– 2n discrete levels, n=2 identical to QPSK
• Bit error rate increases with n, but less errors compared to comparable
PSK schemes Q
– Example: 16-QAM (4 bits = 1 symbol) 0010
0001
– Symbols 0011 and 0001 have 0011 0000
the same phase φ, but different φ
000010 010101
Spread spectrum technology
• Problem of radio transmission: frequency dependent fading can wipe out
narrow band signals for duration of the interference
• Solution: spread the narrow band signal into a broad band signal using a
special code
– protection against narrow band interference
power interference spread signal power signal
spread
detection at interference
receiver
• f f
Side effects:
– coexistence of several signals without dynamic coordination
– tap-proof
• Alternatives: Direct Sequence, Frequency Hopping
Effects of spreading and
interference
dP/df dP/df
user signal
i) ii) broadband interference
narrowband interference
f f
sender
dP/df dP/df dP/df
iii) iv) v)
f f f
receiver
Spreading and frequency selective
channel
quality
fading
1 2 5 6 narrowband channels
3
4
frequency
narrow band guard space
signal
channel
quality
2
2
2
spread spectrum channels
2
2
1
spread frequency
spectrum
DSSS (Direct Sequence Spread
Spectrum) I
• XOR of the signal with pseudo-random number (chipping sequence)
– many chips per bit (e.g., 128) result in higher bandwidth of the signal
tb
• Advantages
– reduces frequency selective user data
fading 0 1 XOR
– in cellular networks tc
chipping radio
sequence carrier
transmitter
correlator
lowpass sampled
received filtered products sums
signal signal data
demodulator X integrator decision
radio chipping
carrier sequence
receiver
FHSS (Frequency Hopping Spread
Spectrum) I
• 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
FHSS (Frequency Hopping Spread
Spectrum) II
tb
user data
0 1 0 1 1 t
f
td
f3 slow
f2 hopping
(3 bits/hop)
f1
td t
f
f3 fast
f2 hopping
(3 hops/bit)
f1
frequency hopping
synthesizer sequence
transmitter
narrowband
received signal
signal data
demodulator demodulator
hopping frequency
sequence synthesizer
receiver