33
Department of Computer Science COMSATS Institute of Information Technology CSC344 – Wireless and Mobile Computing

CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

  • Upload
    phungtu

  • View
    222

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Department of Computer Science

COMSATS Institute of Information Technology

CSC344 – Wireless and

Mobile Computing

Page 2: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Wireless Cellular

Networks: 1G and 2G

Page 3: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Cellular telephony is one of the fastest growing

technologies on the planet

Presently, we are starting to see the third generation

of the cellular phones coming to the market

New phones allow users to do much more than hold

phone conversations

Cellular system developed to provide mobile

telephony: telephone access “anytime, anywhere”

First mobile telephone system was developed and

inaugurated in the U.S. in 1945 in St. Louis, MO

Page 4: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and
Page 5: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

One BTS per cell

One BSC can control multiple BTS

Allocates radio channels among BTSs

Manages call handoffs between BTSs

Controls handset power levels

Mobile Switching Center (MSC) connects to PSTN and

switches calls between BSCs

Provides mobile registration, location, authentication

Contains Equipment Identity Register

Page 6: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Home Location Register (HLR) and Visitor Location

Register (VLR) provide call routing and roaming

VLR + HLR + MSC functions are generally in one

equipment

Equipment Identity Register (EIR) contains a list of all

valid mobiles

Authentication Center (AuC) stores the secret keys of

all SIM cards

Each handset has a International Mobile Equipment

Identity (IMEI) number

Page 7: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

In frequency reuse, a group of local cells use different

frequencies to transmit/receive signals in their cell

This group of local cells is referred to as a cluster

Page 8: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Extensive frequency reuse allows for many users to be

supported at the same time

Total spectrum allocated to the service provider is broken

up into smaller bands, a cell is assigned one of these bands

This means all communications in this cell occur over these

frequencies only, neighboring cells are assigned a different

frequency band

This ensures that nearby transmissions do not interfere with

each other

The same frequency band is reused in another cell that is

far away

This large distance limits the interference caused by this

co-frequency cell

Page 9: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Assume a cluster size of 7

If we have total 395 voice channels, divide into groups of

seven

Thus, each cell has about 56 voice channels

This is the most number of users that can be supported in a

cell

Now consider a system with a cluster of 4

Then the number of voice channels per cell is 395/4, which

is roughly 98

Thus, in theory, we can hold more users per cell if this were

true

But there is a problem with a cluster size

Page 10: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and
Page 11: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Cluster size: 4 Cluster size: 7

Cluster size: 19

Page 12: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

D = minimum distance between centers of cells that use the same

band of frequencies (called co-channels)

R = radius of a cell

d = distance between centers of adjacent cells (d = R√3)

N = number of cells in repetitious pattern (cluster)

Reuse factor

Each cell in pattern uses unique band of frequencies

Page 13: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

With hexagonal cell pattern, following values of N possible;

N = I2 + J2 + (I x J), I, J = 0, 1, 2, 3, …

Possible values of N are 1, 3, 4, 7, 9, 12, 13, 16, 19, 21, …

The following equations can easily be proved by geometry

D/R= √3N

D/d = √N

Page 14: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

What would be the minimum distance between the

centers of two cells with the same band of frequencies

if cell radius is 1 km and the reuse factor is 12?

D/R = √3N

D = (3×12)1/2 × 1 km

= 6 km

Page 15: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

1G: Analog Cellular Phones

Needs a modem, 9.6 kbps max

2G: Digital Cellular Phones

No modem required, 19.3 kbps max

GSM, CDMA, Clear voice, Encryption

2.5G: GPRS, 144kbps, Data only

3G: Future high-speed data with Voice, 64 kbps to 2

Mbps

4G: IP based

Page 16: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

• 2G

• Digital

• Voice + Low Speed Data

• TDMA

• IS-54 D-AMPS

• IS-136 US TDMA

• GSM

• DCS1800

• DCS1900

• NA GSM

• CDMA

• IS-95

• 1G

• Analog

• Voice

• FDMA

• AMPS(U.S.)

• TACS(Europe)

• 3G

• High-speed Data

• CDMA

• WCDMA

• TD-SCDMA

• CDMA2000

Page 17: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

1G

Page 18: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

AMPS is 1G phone standard developed by Bell labs

First generation analog system for North America

through the 1980s and into the 2000s

Uses separate frequencies for each conversation, two

25-MHz bands are allocated

Forward (Down): BS to mobile unit (869–894 MHz)

Reverse (Up): Mobile to base station (824–849 MHz)

In each market two operators are accommodated

Each operator is allocated only 12.5 MHz in each

direction

Page 19: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Channels spaced 30 kHz apart

416 channels per operator

21 Control/paging/access channels

395 traffic channels

Each call uses two traffic channels

Control channels are 10 kbps digital channels

Traffic channels are analog using frequency modulation

It therefore requires considerable bandwidth for large

number of users

Page 20: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Total Access Communication System is an obsolete

variant of AMPS which was used in some European

countries including the United Kingdom and Ireland

TACS is obsolete in Europe now having been replaced

by GSM

Cellular Digital Packet Data allows data to use idle

cellular channels

Data hops from one channel to next as the channels

become busy or idle

Quickly hops-off a channel grabbed by cellular system

Page 21: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

2G

Page 22: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Code Division Multiple Access

CdmaOne (IS-95a), CdmaTwo (IS-95b)

Each user uses the entire spectrum, 22-40 calls per

carrier

Different spreading code for each user

Neighboring cells can use the same frequency

spectrum (but different codes)

Precise power control is critical

Can serve more users than TDMA or GSM

Data users limited to 4.8 and 14.4 kbps

CdmaTwo extension offers up to 115.2 kbps

Page 23: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Global System for Mobile Communication based on

digital technology

1982: Started as "Groupe Special Mobile" by

Conference of European Posts and Telecom (CEPT)

Specs completed in 1990, Service began in 1992

Good speech quality, ISDN compatibility, and fraud

secure

900 MHz (890 - 915 MHz (uplink), 935 - 960 MHz

(downlink)) operation in Europe

UK allocated 1800 MHz (1710 - 1785 MHz (uplink), 1805

- 1880 MHz (downlink)) and adapted GSM standard as

"DCS 1800"

Page 24: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

DCS 1800 also used in Russia and Germany

FCC allocated 1900 MHz as "DCS 1900" or "North

American GSM"

280+ GSM networks in 100 countries worldwide

GSM uses both FDMA and TDMA

With TDMA, the radio hardware in the Base Station

(BS) can be shared among multiple users

In GSM, a frequency carrier is divided into eight time

slots

Page 25: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Subscriber Identify Module (SIM) contains a micro-

controller and storage

It also contains authentication, encryption, and

accounting information, owners of SIM need 4-digit PIN

SIM cards can contain additional information such as

emergency medical information

Mobile Assisted Handoff: Mobile sends identities of six

candidate base stations for handoff, MSC selects

Short Message Service (SMS)

Up to 160 characters

Sent over control channel

Unicast or broadcast

Page 26: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

890 MHz

45 MHz

960 MHz 935 MHz

200 kHz

MS transmit MS receive

4 1 2 3 4 124 123 1

8

2 3 4 5

6 7

1

8

2 3 4 5

6 7

123 124 1 2 3 4

915 MHz

Page 27: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

GSM uses TDMA within each carrier

Each user occupies the entire carrier one time slot per time frame

8 slots per frame

Page 28: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

25 MHz

124 carriers

577 s Burst period Time slot 1

Time slot 2

…..

Time slot 8

= 4.615 ms

=Physical

channel

TDMA frame

Page 29: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Training

sequence

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

BP0 BP1 BP2 BP3 BP4 BP5 BP6 BP7

3 57 1 26 1 57 3 8.25

26 frame length: 120 ms

TDMA frame length: 4.6 ms

Data bits

Data bits

Trail bits Trail bits Stealing bit Stealing bits

Guard bits

Page 30: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

890-915 MHz uplink, 935-960 MHz downlink

25 MHz = 124 × 200kHz channels

One channel = one burst period per TDMA frame

Eight burst periods = TDMA frame of 120/26ms

26 TDMA frames = one Multi-frame

24 are used for traffic, 1 for control, and 1 is unused

156.25 bits/slot

9.6 kbps/user after encryption and FEC overhead

Page 31: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Must read these two chapters from the two books on wireless cellular

networks

Chapter 3 (sections 3.1 to 3.5) from Murthy and Manoj, Ad Hoc

Wireless Networks: Architectures and Protocols

Chapter 14, Stallings, Data and Computer Communications, 8th

edition

Page 32: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

“Wikipedia Articles”

http://en.wikipedia.org/wiki/Cell_site

http://en.wikipedia.org/wiki/Cellular_architecture

http://en.wikipedia.org/wiki/Cellular_frequencies

http://en.wikipedia.org/wiki/Cellular_network

http://en.wikipedia.org/wiki/Comparison_of_mobile_phone_standards

http://en.wikipedia.org/wiki/GSM

Page 33: CSC344 – Wireless and Mobile Computing - Study Stuff · CSC344 – Wireless and Mobile Computing . ... Cellular telephony is one of the fastest growing ... through the 1980s and

Thanks