ESE680: Wireless Sensor Networks: Prof. Rahul Mangharam
ESE680: Wireless Sensor Networks: Prof. Rahul Mangharam
Administrivia
Lab #1
Due on Today (before lecture)
Lab #2
Out on Today Due Thursday, Feb 19 (before lecture)
Communication Schemes
Propagation Modes Fading Encoding Schemes Spread Spectrum
Fundamentals of RF communications
Basic concepts Modulation techniques
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
OSI Model
International Standards Organizations Reference Model for Open Systems Interconnection
Determines the protocol interface, not the actual implementation
Physical Layer
The actual data is communicated via this layer Data arrives, interrupt is generated, data is accepted
Network Layer
Takes a message, breaks it into packets (for packet-switching networks) Takes care of congestion control (whether sender should slow down) and routing (which link to put the packet into)
Each node must have at least these layers, so that they can function as a store and forward node (i.e. take a packet, and send it to the next hop towards the next destination)
6
OSI Model
The bottom layers perform the communication of data Transport Layer
Acts as the interface between the application programs and the underlying physical network Network independent software (device drives) are implemented at this layer May be used as a source of additional info (reliability, efficiency, etc.)
Session Layer
Establishes the connection with the remote host Responsible for sending and receiving the initial messages in order to establish that the channel is open and operational
Presentation Layer
After session establishment, messages are taken from the application and given to this layer, which performs transformations on the data to/from the application
(e.g. MPEG compression/decompression, encryption for MIME messages, etc)
7
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
10
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
11
IEEE 802.11
Designed for high data-rate networks
Internet/LAN connectivity Entertainment systems Streaming video
High power Device power device lifetime: 2~3 hrs (laptops) Wired power supplied in most cases
12
IEEE 802.11
Direct-sequence spread spectrum
Operating in 2.4 GHz ISM band Data-rates of 1 and 2 Mbps
Infrared
1 and 2 Mbps Wavelength between 850 and 950 nm
13
IEEE 802.11
IEEE 802.11a
5-GHz band Provides rates of 6, 9, 12, 18, 24, 36, 48, 54 Mbps Uses orthogonal frequency division multiplexing (OFDM) Sub-carrier modulated using BPSK, QPSK, 16-QAM or 64QAM
IEEE 802.11b
Provides data rates of 5.5 and 11 Mbps Complementary Code Keying (CCK) modulation scheme
14
IEEE 802.11
IEEE 802.11a
40 mW 30 m range
IEEE 802.11b
100 mW 100 m range
15
Bluetooth
Designed for medium data-rate networks
Computer cable replacement Gaming controllers Phone microphones Mobile device file transfer
16
Bluetooth
Unlicensed 2.4 GHz radio band
ISM band Used by microwave ovens, 802.11 Fast Frequency Hopping 1600 hops per second 79 channels 1 MHz spacing 200 s switching time
17
Class 2
Maximum output power: 2.5mW (4dBm) Minimum output power: 0.25mW (-6dBm)
18
Zigbee
Designed for low data-rate systems
Lighting Heating/Cooling Appliances
19
Zigbee
2.4 GHz Band
16-ary O-QPSK Sixteen 5 MHz channels Data-rate up to 250 Kbps
Low power
1 mW transmit power 10~20m range
High power
60 mW transmit power 100m range
21
RFID
Radio Frequency IDentification (RFID)
A system that transmits the identity (in the form of a unique serial number) of an object wirelessly, using radio waves.
RFID System
RFID tag or transponder
Antenna Wireless transducer Encapsulating material
22
RFID Frequency
Frequency range
Low-Frequency (LF)
LF: 125 -134.2 kHz LF: 140 -148.5 kHz
High-Frequency (HF)
HF: 13.56 MHz
Ultra-High-Frequency (UHF)
UHF: 868 MHz -928 MHz
23
Signals
A time-varying event Signals can be periodic or aperiodic A signal can be decomposed into a combination of pure tones, called sine waves, at different frequencies The different sine waves that compose a signal can be plotted as a function of frequency to produce a graph called the frequency spectrum of a signal.
QuickTime and a TIFF (Uncompressed) decompressor are need ed to see this picture.
24
Signal Bandwidth (1 of 3)
Frequencies in the audio spectrum can be heard by the human ear. The ear hears by detecting very small changes in air pressure. The frequencies ranging from about 20 Hz to 20,000 Hz are in the audio, or sound spectrum. Telephone speech cover the frequency range from about 300 Hz to 3000 Hz. The bandwidth is about 3,000 Hz.
QuickTime and a TIFF (Uncompressed) decompressor are neede d to see this picture.
25
Signal Bandwidth (2 of 3)
Bandwidth is defined as the frequency band around the carrier frequency containing 99 percent of the signal power Amplitude Modulation (AM) is the variation of the amplitude of a radio wave as to carry information. The bandwidth for an individual AM station is about 10,000 Hz Frequency Modulation (FM) is the variation of the frequency of a radio wave as to carry information. The bandwidth for an individual FM station is about 200,000 Hz The signal broadcast over the air by a television station has a bandwidth of about 6 MHz.
26
Signal Bandwidth (3 of 3)
Analog systems:
Most signals occupy a range of frequencies. This frequency range is called the signal bandwidth
Frequency range can be defined by the amount of power contained (say = 50%, > 90% or even > 99% of the signal power
Digital systems:
Rate at which symbols can be transmitted
27
Channel Bandwidth
Amplitude Modulation (AM) is transmitted within a band of frequencies from 550 KHz to 1,600 KHz. Telephone carriers multiplex 12 telephone channels on a single cable. Each channel requires about 4 KHz bandwidth. The band of frequencies for telephone carriers is from 60 to 108 KHz The standard frequency assignments for television stations is as follows: channels 2 through 13 are in the very high frequency (VHF) bands and channels 14 through 83 occupy the ultra high frequency (UHF) bands
QuickTime and a TIFF (Uncompressed) decompressor are neede d to see this picture.
28
QuickTime and a TIFF (Uncompressed) decompressor are neede d to see this picture.
Channel capacity is the tightest upper bound on the amount of information that can be reliably transmitted over a communications channel.
29
C: the channel capacity in bits per second B: the bandwidth in hertz SNR: the ratio of signal power to noise power
30
31
Noise is the main factor of BER performance signal path loss, circuit noise,
32
Thermal Noise
Thermal Noise
white noise since it contains the same level of power at all frequencies kTB, where
k is the Boltzmanns constant = 1.381e-21 W / K / Hz, T is the absolute temperature in Kelvin, and B is the bandwidth.
33
Receiver
Receive signal at RF frequencies and signal processing at low frequencies
QuickTime and a TIFF (Uncompressed) decompressor are neede d to see this picture.
Analog section:
signal conditioning, frequency conversion, analog-to-digital conversion
Digital section:
synchronization, frequency correction, decoding
34
Receiver Sensitivity
The minimum input signal power needed at receiver input to provide adequate SNR at receiver output to do data demodulation SNR depends on
Received signal power Background thermal noise at antenna (Na) Noise added by the receiver (Nr)
35
Noise Figure
Noise Figure (F) quantifies the increase in noise caused by the noise source in the receiver relative to input noise F = SNRinput/SNRoutput = (Na + Nr)/Na
Example: if SNRmin = 10 dB, F = 4 dB, BW = 1 MHz Pmin= 10 + 4 -174 + 10log(106) = -100 dBm
36
37
The design spec is very relaxed Low transmit power enables CMOS single chip solution Low cost and low power!
38
Modulation Techniques
Purpose of Modulation?
By modulating the signal onto a much higher carrier frequency, the communication systems can use a much smaller antenna. Also, more robust communication, multiplexing, etc.
Modulation Types
Analog modulation: AM, FM, PM Digital modulation: BPSK, QPSK, BFSK,MSK
39
Analog Modulation: FM
QuickTime and a TIFF (Uncompressed) decompressor are neede d to see this picture.
41
QuickTime and a TIFF (Uncompressed) decompressor are neede d to see this picture.
42
Digital Modulation
Advantages over analog modulation
Better noise immunity Easier multiplexing of various forms of information (data, video..) Source coding, security encryption, error correction
Performance Metrics
Power efficiency
A measure of how much signal power should be used to achieve a particular BER for a given modulation scheme Signal energy per bit / noise power spectral density: Eb / N0
Bandwidth efficiency
Ability to accommodate data within a limited bandwidth Throughput data rate per hertz: bps per Hz
Wireless Sensor
43
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
Advantages
Very simple modulation and demodulation
Disadvantages
High sensitivity to noise Low bandwidth efficiency
45
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
BFSK: carrier frequency is shifted between f1 and f2 4-FSK: carrier frequency is shifted on f1, f2, f3 and f4. Better bandwidth efficiency than ASK Simple modulation and demodulation
46
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
Use alternative sine wave phase to encode bits Simple implement, low bandwidth efficiency Very robust, used extensively in satellite communications
47
QuickTime and a TIFF (Un compressed) decompre ssor are neede d to see this picture.
QPSK Modulator
QuickTime and a TIFF (Uncompressed) decompressor are neede d to see this picture.
49
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
50
Provide a standard with ultra-low complexity, cost, and power for low-data-rate wireless connectivity among inexpensive fixed, portable, and moving devices.
The standard only defines the Physical layer (PHY) and Medium Access Layer (MAC). The higher-layer protocols are left to industry and the individual applications. The Zigbee Alliance is an association of companies involved with building higher-layer standards based on IEEE 802.15.4.
Network layer Application support layer Marketing
51
52
QuickTime and a TIFF (Uncompressed) decompressor are neede d to see this picture.
53
Sensor Applications +
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
= WSN
54
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
55
56
802.15.4 - Coding
QuickTime and a TIFF (Uncompressed) decompressor are need ed to see this picture.
Symbol is transmitted as a series of chips Symbol (k bits) n chips waveform Ensure that there are clear edges, not too far apart so that receiver can stay synchronized with transmitter Differentiate valid symbol from noise
57
QuickTime and a TIFF (Uncompressed) decompressor are neede d to see this picture.
Receiver Selectivity
2.4 GHz: 5 MHz channel spacing, 0 dB adjacent channel requirement
QuickTime and a TIFF (Uncompressed) decompressor are neede d to see this picture.
For QPSK used in 802.15.4 to achieve a BER of 10-5, a SNR of 12.5 dB is needed. For 64-QAM used in 802.11a to achieve the same BER, a SNR of 27 dB is needed! The hardware requirement for 802.15.4 is much more relaxed and therefore can operate at much lower power
59
Path Loss
Relationship between received power and transmitted power:
)
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
60
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
61
The design spec is very relaxed Low transmit power enables CMOS single chip solution Low cost and low power!
62
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
63
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
64
802.15 Standard
Overview
65
Detailed Info
Duplexing - Principles
FDD (Frequency Division Duplexing )
Uses One Frequency for the DownLink, and a Second Frequency for the UpLink.
TDD (Time Division Duplexing) Uses the same timeslot for the Downlink and the Uplink. In any configuration the access method is OFDMA/TDMA
67
OFDMA-TDMA Principles
Using OFDMA/TDMA, Sub Channels are allocated in the Frequency Domain, and OFDM Symbols allocated in the Time Domain
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
68
QuickTime and a TIFF (Uncompressed) decompressor are neede d to see this picture.
69
PHY Services
The PHY layer provides an interface between the physical radio channel and the MAC sublayer through the use of two services
PHY data service
Accessed by PHY layer data service access point (PD-SAP)
70
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
71
QuickTime and a TIFF (Uncompressed) decompre ssor are neede d to see this picture.
72