University of Manchester School of Computer Science: Comp60242: Mobile Computing
University of Manchester School of Computer Science: Comp60242: Mobile Computing
Barry Cheetham
4/02/10 Comp60242: B2 1
Timetable (Comp60242’10): Thursdays(Feb 4 – Mar 11)
4/02/10 Comp60242: B2 3
2. Radio transmission techniques
4/02/10 Comp60242: B2 4
Amplitude modulation of a single carrier
Volts
t Sine-wave carrier
before modulation
4/02/10 Comp60242: B2 5
Single carrier AM
• Used since the invention of radio.
• Works for analogue (1G) modulation & could work for
digital modulation (2G).
• Simple, low power & its easy to detect the changes to
the sine-wave at the receiver.
4/02/10 Comp60242: B2 6
Frequency modulation of single carrier
Volts
t Sine-wave carrier
Volts
After modulation –
t
frequency changed by
data
4/02/10 Comp60242: B2 7
Frequency shift keying (FSK)
• This is what we get if we use ‘single sine-wave carrier’
frequency modulation to transmit binary data.
• 2G – GSM (European standard) actually uses this
method.
• Amplitude remains constant – a great advantage.
4/02/10 Comp60242: B2 8
Alternative SC technique - CDMA
• Instead of a sine-wave carrier, use a crazy wave-shape produced
by a pseudo-random sequence of ones & zeros.
• The pseudo-random sequence is a ‘code’.
• Transmitter & receiver both know the code
• So receiver knows what the wave-shape should be, & can work
out how it’s been modified by the data.
• Hence it can extract the data.
• If there’s more than one transmitter each uses a different code.
• This is ‘code division multiplexed access’ (CDMA).
• Used in USA for 2G (IS95 & CDMA2000).
• Used here for 3G - UTMS
4/02/10 Comp60242: B2 9
‘Hedy Lamarr invented CDMA’
• Well she invented a form of
CDMA called frequency-hopping.
• She was an Austrian born
actress who met Adolf Hitler &
was the first actress to remove all
her clothes in a movie.
• She was awarded a patent for
radio technology used against
the Germans in WW2.
4/02/10 Comp60242: B2 10
Multi-carrier modulation
4/02/10 Comp60242: B2 11
Summary of radio techniques used
• 1G: Analogue modulation of SC
• 2G: Europe: FSK modulation
USA: CDMA
• 3G: (UMTS) Wide-band CDMA
• 4G: Versions of multi-carrier OFDM
(OFDMA & SC-FDMA)
• WLAN 802.11n : OFDM
• WiMAX 802.16m: OFDM
• Digital TV & radio: OFDM
4/02/10 Comp60242: B2 13
Access-points, antennas & nomadic users
LAN B B
Access
Access Why 2 antennas?
point
point
4/02/10 Comp60242: B2 14
Co-existence of networks & handover
Integration of mobile networks: PANs,
LANs, MANS & WANs
(From Schiller)
WAN
vertical
handover
W-MAN
W-LAN horizontal
handover
W-PAN
4/02/10 Comp60242: B2 15
Standards for Wireless LANs, PANs & WANs
4/02/10 Comp60242: B2 16
Orig IEEE 802.11 WLAN standard
• Published in 1997 for 1 & 2 Mb/s in 2.4 GHz band
• ‘Spectral spreading’ mandatory to increase bandwidth &
reduce power-spectral density (watts/Hz).
• Two methods:
(i) FHSS: Freq-hopping
Hop carrier frequency in pseudo random pattern known at receiver.
(ii) DSSS Direct sequence
Instead of ‘1’ & ‘0’ send ‘10110111000’ & ‘01001000111’
Multiplies bit-rate by eleven.
4/02/10 Comp60242: B2 17
Later IEEE802.11 standards
IEEE 802.11a : Multi-carrier in 5 GHz band
64 carriers in parallel.
Up to 54 Mb/s. Great for multi-path.
IEEE 802.11b : Operates in 2.4 GHz band
Same as 802.11 for preamble / header
Achieves higher bit-rate for payload
IEEE802.11g: (Nov 2001)
Extension to IEEE802.11b in 2.4 GHz band
OFDM payload option at up to 54Mb/s
Same preamble/header as IEEE802.11
4/02/10 Comp60242: B2 18
IEEE802.11e
4/02/10 Comp60242: B2 19
IEEE 802.11n
4/02/10 Comp60242: B2 21
WIMAX
• New technology for ‘last mile’ as alternative to cable.
• Also wireless comms over wireless WANs & MANs
• Related to IEEE802.16 (MANs) & 802.20 (MBWA).
• ‘IEEE802.16e & m’ referred to as ‘mobile WIMAX’.
• WIMAX has 3 stages.
1. ‘Point-to-point’ line of sight, linking of buildings.
2. Delivery of ‘last mile’ wireless broadband access
3. Mobile-WIMAX to allow PCs to communicate with
WIMAX base stations over distances of miles.
• WIMAX (802.11m) will be part of 4G.
• Long-range & will likely use licensed radio spectrum.
• Can use WiMax in unlicensed spectrum, however.
4/02/10 Comp60242: B2 22
Wi-Max compared with Wi-Fi
• Wi-Fi is for shorter ranges of up to a few hundred of meters,
• Currently uses unlicensed radio spectral bands.
• Provides access to a WLAN rather than WAN or MAN.
• WLAN will cover an area within a single building.
• MAN may extend over a whole city - WAN even wider.
• Wi-Fi used by organisations to provide mobile access to the
Internet from convenient ‘hot-spots’.
• WiMAX can provide data links analogous to the speech &
data links provided by cell-
phones.
4/02/10 Comp60242: B2 23
4. Compare cellular mobile networks & WLANs
4/02/10 Comp60242: B2 25
WLAN disadvantages
4/02/10 Comp60242: B2 26
5. Some mobile computing issues
• Improving energy efficiency & battery technology.
• The ongoing ‘mobile phone safety’ debate.
• Marketing strategies now & in the future.
• ‘Towards 4G’
• See Schiller for a survey & historical background.
4/02/10 Comp60242: B2 27
Low power mobile computing technology
• Traditionally, two types of processor:
RISC devices such as the ARM
DSP devices such as the TMS320C50
• Later versions of ARM have DSP capability.
• Highly optimised fixed point coding needed for DSP
operations: compression, error control coding, etc.
• High energy efficiency essential for battery powered
devices.
4/02/10 Comp60242: B2 28
Ad-hoc Wireless LANs
4/02/10 Comp60242: B2 29
6. Convergence of voice & data (2 scenarios)
• BT '21st Century Network ' (21CN) will revolutionise
exchange-to-exchange telephone links by making them use IP.
• Differences between telephone & computer links disappear.
• Difference between computer & telephone also disappears?
• BT has so far rebuilt around 10% of its IP network
• BT 'Fusion' & 'Openzone'-convergence of cellular & wi-fi.
• Openzone hotspots allow wi-fi access.
• BT Fusion means that in Openzone hotspots you can use your wi-
fi enabled mobile phone for VoIP.
• Technical differences between mobile phones & computers will
disappear?
4/02/10 Comp60242: B2 30
7. Protocols & Layers
• Protocols are defined in layers.
• Well-known description of computer-to-computer
communication is:
‘OSI Reference Model’.
• “Open Systems Interconnection”,
• Term invented by “International Standards
Organisation” in 1983.
4/02/10 Comp60242: B2 31
‘7-layer’ OSI reference model
7) Application Layer 7) Application Layer
4/02/10 Comp60242: B2 32
TCP/IP Reference Model
• Similar to ‘7 layer OSI' model & pre-dates it.
4/02/10 Comp60242: B2 33
‘5-layer’ TCP/IP Reference Model
• As seen in some text-books
4/02/10 Comp60242: B2 34
Examples of protocols in each layer
Application layer:
DHCP, DNS, http, POP3, SMTP, IMAP4, TELNET, FTP, SIP, etc.
Transport layer:
TCP, UDP, RTP, RTCP, DCCP, SSL, TLS, etc
Network layer:
IP (V4 & v6), IPSec, RSVP, etc.
Data-link layer:
Ethernet DLL, IEEE802.11 DLL, PPP, GPRS, etc.
Physical layer:
Ethernet & IEEE802.11 Phy layers, modems, RS232, SONET/DHL
4/02/10 Comp60242: B2 35
8. Addressing
• Fixed telephone numbers & IP addresses ‘localised’
• ‘0161.xxx.nnnn calls always routed to Manchester.
• 130.088.xxx.xxx IP addresses routed to Man Univ.
• IP addresses like telephone numbers.
• Must change when you become mobile & change location.
• IP addresses assigned to network interface by institution.
• Can be done dynamically by ‘DHCP server’.
• Assigns IP addresses to fixed 64 bit MAC (Phy) addresses.
• May be different IP address every day.
• DHCP also supplies address of a DNS server.
4/02/10 Comp60242: B2 36
9. Problems & discussion points
1. What do the following have in common and why?:
(a) a commonly used spectral spreading technique,
(b) a piano, (c) Adolph Hitler and
(d) the first actress ever to appear nude on film.
2. How does a DSP microprocessor differ from a RISC and a general purpose
processor?
3. Why are DSP processors used in mobile phones and why are they
generally programmed in fixed point arithmetic?
4. Why is FSK (digital FM) better than ASK (digital AM)?
5. On slide 14, why do the APs each have 2 antennas spaced 12.5 cm apart?
6. What is the main advantage of multi-carrier modulation?
7. What is the main disadvantage of multi-carrier modulation?
8. Why is FEC coding more imortant for wireless than wired comms?
9. What is the difference between vertical & horiz handover?
10. As each device has a MAC (PHY) address, why do we need IP
addresses?
11. How are (i) MAC & (ii) IP addresses allocated?
12. Why do MAC addresses have 48 bits whereas IP addresses have 32 bits?
4/02/10 Comp60242: B2 37