20XC62 Lecture 1
20XC62 Lecture 1
Computing
20XC62
Outline
Introduction to Ubiquitous Computing
• History
• Definition
• Needs
• Phases
• Challenges in Ubiquitous Computing
• Enablers of Ubiquitous Computing
Major trends in Computing
The term ubiquitous computing describes the idea that computers are becoming
pervasive – that is, they are integrated into the world around us.
Mark Weiser
father of ubiquitous computing
• Pervasive & ubiquitous computing is how computing will be used in the future.
• It is about moving beyond the traditional desktop computing model, into embedding
computing into everyday objects and everyday activities.
• Physical integration:
• -
Security and dependability
Security and trust
- Dependability
- Exceptions
• -
Information flow
Network design
- Information overload and relevance
Smart home
Smart City
Smart objects
CHAPTER 1: INTRODUCTION
◼ Technology Trends
◼ devices are aware of their environment and adapt - “location awareness”
◼ devices recognize the location of the user and react appropriately (e.g., call
forwarding, fax forwarding)
MOBILE DEVICES
Pager PDA Laptop
• receive • simple graphical • fully functional
only displays • standard
• tiny • character applications
displays recognition
• simple • simplified WWW
Sensors, text
embedded
controllers messages
performance
WIRELESS AND MOBILE COMMUNICATIONS
◼ Definition of mobility:
◼ user mobility: users communicate anytime, anywhere, with anyone ( services will
follow)
◼ device portability: devices can be connected anytime, anywhere to the network
◼ The need for mobility creates the need for integration of wireless
networks into existing fixed network environments:
◼ local area networks: standardization of IEEE 802.11b/g/a
◼ Internet: Mobile IP extension of the internet protocol IP
◼ wide area networks: e.g., internetworking of 3G and IP
IMPACT OF PORTABILITY ON DEVICE DESIGN/FUNCTIONALITY
◼ Power consumption
◼ battery capacity - limited computing power, low quality/smaller displays,
smaller disks, fewer options (I/O, CD/DVD)
◼ CPU: power consumption ~ CV2f
◼ Device vulnerability
◼ more rugged design required to withstand bumps, weather conditions, etc.
◼ Limited memory
◼ memory limited by size and power
◼ flash-memory or / as alternative
NETWORKS
◼ Higher loss-rates due to interference
◼ other EM signals, objects in path (multi-path, scattering)
◼ Limited availability of useful spectrum
◼ frequencies have to be coordinated, useful frequencies are almost all occupied
◼ Low transmission rates
◼ local area: 2 – 11 Mbit/s, wide area: 9.6 – 19.2 kbit/s
◼ Higher delays, higher jitter
◼ connection setup time for cellular in the second range, several hundred
milliseconds for wireless LAN systems
◼ Lower security, simpler active attacking
◼ radio interface accessible for everyone
◼ base station can be simulated, thus attracting calls from mobile phones
◼ Always shared medium
◼ secure access mechanisms important
LOCATION DEPENDENT SERVICES
◼ Location aware services
◼ what services, e.g., printer, fax, phone, server etc. exist in the local environment that
can be used by the user (security and authentication)
◼ 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 Sarah Lee New York Cheese 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 of the user/device
HISTORY & DEVELOPMENT: ANALOG CELLULAR SERVICES
❑ Frequencies ❑ Multiplexing
1 10 100 1m 10 100 1 μm
Mm km m 300 MHz mm μm 300
300 30 3 30 3 THz
Hz kHz MHz GHz THz
V L M HF VHF UHF SHF EHF infrared visible UV
L F F light
F
Anten
Anten
na
na
Transmitt Receiv
er er
◼ Wireless communication systems consist of:
◼ Transmitters
◼ Antennas: radiates electromagnetic energy into air
◼ Receivers
◼ In some cases, transmitters and receivers are on same
device, called transceivers.
TRANSMITTERS
Antenn
a
Amplifi Mixe Filte Amplifi
er r r er
Source
Oscillator Transmitter
t[s ϕ
]
I= M
cos ϕ
ϕ f
[Hz]
▪ Composite signals transferred into frequency domain using Fourier
transformation
▪ Bandwidth limitation
▪ Digital signals need
▪ infinite frequencies for perfect transmission
▪ modulation with a carrier frequency for transmission (analog signal!)
PROPAGATION MODES
SIGNAL PROPAGATION RANGES
◼ Transmission range
◼ communication possible
◼ low error rate
sender
◼ Detection range
◼ detection of the signal possible transmission
distance
◼ no communication possible
detection
◼ Interference range interference
◼ signal may not be detected
◼ signal adds to the background
noise
Transmission range: Within a certain radius of the sender
transmission is possible, i.e., a receiver receives the signals with an
error rate low enough to be able to communicate and can also act as
sender.
Interference range: Within a third even larger radius, the sender may
interfere with other transmission by adding to the background noise. A
receiver will not be able to detect the signals, but the signals may
disturb other signals
MULTIPATH PROPAGATION
◼ The signal can get from the Tx to the Rx via a number of different
propagation paths.
ct of
A n i de
n
in
io
fle le
gl nc
c
re g
e e
An
of
SPECULAR VS. DIFFUSE REFLECTION
◼ Specular Reflection
◼ Mirror-like
◼ Retains image
◼ Diffuse Reflection
◼ Energy reflects but not image.
REFRACTION
Refraction – change in
wave’s direction as it
passes from one medium
to another.
Due to differences in speed
of wave.
Index of refraction (n) –
measure of how much a
wave’s speed is reduced
in a particular medium.
Most frequently applied to
light.
Diffraction
Diffraction is the bending of a wave around
an object. Diffraction and refraction both cause
waves to bend. The difference is that refraction
occurs when waves pass through an object,
while diffraction occurs when waves pass
around an object.
All waves,
including water waves,
sound waves, and light
waves, can be diffracted.
Cooke/Alamy
ocean waves to change
Richard
direction as they pass
Interference
.
SUPERPOSITION PRINCIPLE
Adaptive methods)
◼ Delay spread: Due to the finite speed of light, signals travelling along
different paths with different lengths arrive at the receiver at different
times
◼ Typical values for delay spread are approximately 3 μs in cities, up to 12
◼ MPCs carrying information from bit k, and MPCs, carrying contributions from bit
k + 1 arrive at the Rx at the same time, and interfere with each other
◼ Assuming that no special measures are taken, this ISI leads to errors that cannot
◼ Additional changes in
◼ distance to sender t
short term fading
◼ obstacles further away
User 1
User 2
CSMA = carrier sense
multiple access ...
User n
Time
Code
• Separate (unique) code per user
• Code sequences are orthogonal
=> different users can use same frequency simultaneously
• Some 2G systems use CDMA / Most of 3G systems use CDMA
ORTHOGONAL CODES
0 0 0
H1 H1 00 0 0 1
H2 0
H1 H1 01 0 1 0
=
0 1 1
0 1 1
0
◼ Almost orthogonal
◼ Short PN (Pseudo-Noise)
◼ Long PN
◼ Walsh codes used in forward (down, base-station to
mobile) link. PN sequences used in reverse (up)
link for transmission and scrambling at down link.
CODE DIVISION MULTIPLEXING
Frequency bands
◼ The frequency assignment for different wireless services is regulated by ITU
◼ Low carrier frequencies usually propagate more easily so that a single BS
can cover a large area
◼ Absolute bandwidths are smaller, and also the frequency reuse is not as
efficient as it is at higher frequencies
◼ For this reason, low frequency bands are best for services that require
good coverage, but have a small aggregate rate of information that has to
be exchanged
◼ EX: Paging and TV
◼ For cellular systems, low carrier frequencies are ideal for covering large
regions with low user density
◼ For cellular systems with high user densities, as well as for WLANs, higher
carrier frequencies are usually more desirable
FREQUENCY REUSE
◼ Frequency Reuse in Regulated Spectrum : Since spectrum
is limited, the same spectrum has to be used for different
wireless connections in different locations, leading to
Spectral efficiency
◼ Frequency Reuse in Unregulated Spectrum: Spread
spectrum techniques to reduce the interference in ISM
band (2.4 -5 GHZ)
◼ Dynamic frequency assignment – Cognitive Radio
SPREAD SPECTRUM
◼ A signal that occupies a bandwidth of B, is spread out
to occupy a bandwidth of Bss
◼ All signals are spread to occupy the same bandwidth
Bss
◼ Signals are spread with different codes so that they
can be separated at the receivers.
◼ Signals can be spread in the frequency domain or in
the time domain.
6.86
SPREAD SPECTRUM
◼Spreading the bandwidth needed to transmit
data
◼Spread signal has the same energy as the
original signal, but is spread over a larger
frequency range
◼provides resistance to narrowband interference
◼Several users can independently use the same
higher bandwidth with very little interference
Spread Spectrum
SPREAD SPECTRUM
6.90
Frequency selection in FHSS
6.91
SPREAD SPECTRUM
SPREAD SPECTRUM
Frequency
Time
• Slow Hopping: In slow hopping, multiple bits are
transmitted on a specific frequency or same frequency.
• Fast Hopping: In fast hopping, individual bits are split and
then transmitted on different frequencies.
SLOW AND FAST FHSS
t b
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
fading 0 1 XOR
tc
◼ in cellular networks chipping
sequence
◼ base stations can use the 0 1 1 0 10 1 0 1 1 010 1 =
same frequency range
resulting
◼ several base stations can signal
detect and recover the signal 0 1 1 0 10 1 1 0 0 101 0
Spreading Sequence: 1 -1 1 1 -1 -1
No transmission: 000000
◼ Direct sequence spread spectrum (DSSS) is the alternative
spread spectrum method separating by code and not by
frequency.
◼ In the case of IEEE 802.11DSSS, spreading is achieved
using the 11-chip Barker sequence (+1, –1, +1, +1, –1,+1,
+1, +1, –1, –1, –1).
◼ The key characteristics of this method are its robustness
against interference and its insensitivity to multipath
propagation (time delay spread).
◼ Implementation is more complex compared to FHSS
CODE DIVISION MULTIPLEXING
◼Also known as code division multiple access
◼An advanced technique that allows multiple
devices to transmit on the same frequencies at the
same time
◼Each mobile device is assigned a unique 64-bit
code
CODE-DIVISION MULTIPLE ACCESS (CDMA)
◼ A code for a certain user should have a good
autocorrelation and should be orthogonal to other codes.
◼ Orthogonal in code space has the same meaning as in
standard space (i.e., the three dimensional space).
◼ Basic Principles of CDMA
◼ D = rate of data signal
◼ Break each bit into k chips
◼ Chips are a user-specific fixed pattern
◼ Sender B
◼ sends Bd = 0, key Bk = 110101 (assign: „0“= -1, „1“= +1)
◼ receiving B
◼ Be = (-2, 0, 0, -2, +2, 0) ∙ Bk = -2 + 0 + 0 - 2 - 2 + 0 = -6, i.e. „0“
CODE DIVISION MULTIPLEXING (CONTINUED)
◼ Summed signal received by base station: -1, +1, +1, +3, -3, -1, -
1, +1
CODE DIVISION MULTIPLEXING (CONTINUED)
◼ Example (continued)
◼ Base station decode for Mobile A:
◼ Signal received: -1, +1, +1, +3, -3, -1, -1, +1
◼ Mobile A’s code: +1, +1, +1, +1, -1, -1, -1, -1
◼ Product result: -1, +1, +1, +3, +3, +1, +1, -1
◼ Sum of Products: +8
◼ Decode rule: For result near +8, data is binary 1
CODE DIVISION MULTIPLEXING (CONTINUED)
◼ Example (continued)
◼ Base station decode for Mobile B:
◼Disadvantages:
◼ higher complexity of a receiver (receiver cannot just listen into
the medium and start receiving if there is a signal)
◼ all signals should have the same strength at a receiver
◼Advantages:
◼ all terminals can use the same frequency, no planning needed
◼ huge code space (e.g. 264) compared to frequency space
◼ interferences (e.g. white noise) is not coded
◼ forward error correction and encryption can be easily integrated
Spread Spectrum for CDMA
■ Concept of spread spectrum:
■ Pseudorandom sequence c(t) phase-modulates data-modulated carrier of s(t),
producing m(t)
■ m(t) occupies broader bandwidth and has lower peak power than s(t)
where:
■ s(t) - original signal / m(t) – xmitted signal derived fr. s(t) by spreading
■ c(t) – code signal (a parameter for spreading)
■ Results in better resistance to interference
Transmitter
Original Spreading
Xmitted
digital signal spread signal
s(t) m(t)
Power Power
Code
c(t)
(Modified by
Frequency Frequency LTL)
Direct Sequence Spread Spectrum
■ Concept of DSSS for CDMA
■Pseudorandom sequence c(t) phase-modulates
data-modulated carrier of s(t), producing m(t)
■m(t) occupies broader bandwidth & has lower peak power
than s(t)
Transmitter Receiver
Spreading De-
Original spreading Recreated
Xmitted
digital signal spread signal digital signal
s(t) m(t) s(t)
Hopp. patt.
Synchro-
nized!
Frequency Frequency Frequency
(Modified by
PN SEQUENCES