Professional Documents
Culture Documents
694 Wifi BT Zigbee NFC
694 Wifi BT Zigbee NFC
WiFi, Bluetooth,
The data link layer needs to pack bits into frames, so that each frame is distinguishable
from another. Our postal system practices a type of framing. The simple act of
Chapter
inserting a letter into an envelope separates 7 of information from another;
one piece
ZigBeeTransmission
and Media
the envelope serves as the delimiter.
NFC, Infrared
Fixed-Size Framing
Variable-Size Framing
11.1
7.1
6.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Wireless Broadband Technologies
802.11n
Throughput
4G
802.11 a/b/g
3.5G
Coverage Range
MobiHoc '10 2
Wireless Technology Differences
Standard Family Downlink Uplink Coverage
(Mbps) (Mbps)
MobiHoc '10 4
Wireless Technology Trends
• WiFi
– More hotspots, higher speed
(802.11 a/b/g -> 802.11 n)
• WiMAX
– Bill Payne (CTO, Motorolla), said WiMAX will finally
evolve into LTE.
• LTE
– Good coverage and high throughput (with
offloading)
MobiHoc '10 5
Why Offloading?
MobiHoc '10 6
How to offload?
• WiFi
– Opportunistically use WiFi hotspots once they are
available
MobiHoc '10 7
WiFi
• What is WiFi
– Short for “Wireless Fidelity”
– A trademark of the Wi-Fi Alliance
– The brand name for products using the IEEE
802.11 family of standards
– Commonly used for “wireless local area network”
(WLAN)
IEEE 802.11 Family
Protocol Release Freq. (GHz) Data Rate (Mbit/s) Range (m)
(Typical / Max) (Indoor/outdoor)
A Sep 1999 5 / 3.7 20 / 54 35 / 120
B Sep 1999 2.4 5.5 / 11 35 / 140
G Jun 2003 2.4 22 / 54 38 / 140
N Oct 2009 2.4 / 5 110+ / 300+ 70 / 250
WiFi Network Topology
• Point-to-Multipoint (Access Point)
• Point-to-Point (Ad hoc)
• Multipoint-to-Multipoint (Mesh Network)
WiFi Channels
WiFi radio modes in action
WiFi Direct
WiFi Direct Features
• Connects devices directly, with or without a Wi-Fi
network or hotspot available
• Makes the connection to open a world of
applications, including content sharing, synch,
printing, gaming and more
• Connects with almost any Wi-Fi CERTIFIED device
• Designed for portable and stationary devices
Bluetooth
• Wireless Personal Area Networks (WPAN)
• Design goal
– Cable replacement
– Low cost
– Low power
– Small size
– For mobile devices
• Standard: IEEE 802.15.1
Technical Specification
• Classes
– Class 1 (100mW, 100m range)
– Class 2 (2.5mW, 10m range)
– Class 3 (1mW, 1m range)
• RF
– ISM band between 2.4-2.485GHz
– Frequency hopping over 79 channels, 1600
hops/second
Bluetooth Version
Version Data rate Feature
1.2 721 kb/s
2.0 + EDR 3 Mb/s Enhanced Data Rate (EDR)
3.0 + HS 24 Mb/s High-Speed
4.0 1 Mb/s (BLE) Bluetooth Low Energy (BLE)
WiFi vs. Bluetooth
Bluetooth Wifi
Specifications authority Bluetooth SIG IEEE, WECA
Year of development 1994 1991
Bandwidth Low ( 800 Kbps ) High (11 Mbps )
Hardware requirement Bluetooth adaptor on all the devices Wireless adaptors on all the devices
connecting with each other of the network, a wireless router
and/or wireless access points
Cost Low High
Power Consumption Low High
Frequency 2.4 GHz 2.4 GHz
Security It is less secure It is more secure
Range 10 meters 100 meters
Primary Devices Mobile phones, mouse, Notebook computers, desktopcomput
keyboards,office and industrial automa ers, servers
tion devices
Ease of Use Fairly simple to use. Can be used to It is more complex and requires
connect upto seven devices at a time. configuration of hardware and
It is easy to switch between devices or software.
find and connect to any device.
ZigBee
• Design goal
– Low power consumption
– Simple Design
– Few costs
• History
– ZigBee-style networks began in around 1998
– IEEE 802.15.4 was first completed in 2003
– ZigBee Alliance was established in 2002
Non-Beacon vs Beacon Modes
• Non-Beacon Mode
– A simple, traditional multiple access system used in simple peer and near-peer networks
– Think of it like a two-way radio network, where each client is autonomous and can
initiate a conversation at will, but could interfere with others unintentionally
– However, the recipient may not hear the call or the channel might already be in use
• Beacon Mode
– A very powerful mechanism for controlling power consumption in extended networks
like cluster tree or mesh
– Allows all clients in a local piece of the network the ability to know when to
communicate with each other
– Here, the two-way radio network has a central dispatcher who manages the channel and
arranges the calls
• As you’ll see, the primary value will be in system power consumption
Copyright 2002 The ZigBee Alliance,
Inc.
Example of Non-Beacon Network
• Commercial or home security
– Client units (intrusion sensors, motion detectors, glass break detectors, standing
water sensors, loud sound detectors, etc)
• Sleep 99.999% of the time
• Wake up on a regular yet random basis to announce their continued presence in the
network (“12 o’clock and all’s well”)
• When an event occurs, the sensor wakes up instantly and transmits the alert
(“Somebody’s on the front porch”)
– The ZigBee Coordinator, mains powered, has its receiver on all the time and so can
wait to hear from each of these stations
• Since ZigBee Coordinator has “infinite” source of power it can allow clients to sleep for
unlimited periods of time to allow them to save power
Example of Beacon Network
• Now make the ZigBee Coordinator battery-operated also
– All units in system are now battery-operated
– Client registration to the network
• Client unit when first powered up listens for the ZigBee Coordinator’s network beacon
(interval between 0.015 and 252 seconds)
• Register with the coordinator and look for any messages directed to it
• Return to sleep, awaking on a schedule specified by the ZigBee Coordinator
• Once client communications are completed, ZigBee coordinator also returns to sleep
– This timing requirement potentially impacts the cost of the timing circuit in each
end device
– Longer intervals of sleep mean that the timer must be more accurate or
– Turn on earlier to make sure that the beacon is heard, increasing receiver power consumption,
or
– Improve the quality of the timing oscillator circuit (increase cost) or
– Control the maximum period of time between beacons to not exceed 252 seconds, keeping
oscillator circuit costs low
– Application examples: environmental sensors in the forest
Growing the Network
• In a beacon-environment, growing the network means keeping the overall network
synchronized
• According to pre-existing network rules, the joining network’s PAN Coordinator is
probably demoted to Router, and passes along information about its network (as
required) to the PAN coordinator
• Beacon information passed from ZigBee Coordinator to now-Router, router knows now
when to awake to hear network beacon
Joining Network
Existing
Demoted to network’s
router Coordinator
Competitive or Complementary?
ZigBee and Bluetooth
Optimized for different applications
• ZigBee • Bluetooth
– Smaller packets over large – Larger packets over small network
network – Ad-hoc networks
– Mostly Static networks with – File transfer; streaming
many, infrequently used – Screen graphics, pictures, hands-
devices free audio, Mobile phones,
– Home automation, toys headsets, PDAs, etc.
remote controls
– Energy saver!!!
ZigBee and Bluetooth
Address Different Needs
• Bluetooth is a cable
replacement for items
like Phones, Laptop
Computers, Headsets
• Bluetooth expects
regular charging
– Target is to use <10%
of host power
ZigBee and Bluetooth
Address Different Needs
Bus/Train
Store, Theater,
Station, Vehicle Office Anywhere
Restaurant Stadium
Airport
Enter/exit personalize
Get
office building application
information Adjust seat Get loyalty
from smart position points Electronic
Exchange Check usage
poster ticket
business cards history
Open door Get and use
Get coupons Get event
Log into PC Download
information Pay parking information
ticket
from info kiosk fees Share
Print using
information
copier machine Lock phone
Pay bus/taxi and coupon
remotely
fare among users
Industries
Banking
Service
Initiator Target
Active Possible Possible
Passive Not Possible Possible
Inductive Coupling 15
Sony TV remote
control
PWM
What is IR: Visible Light Waves
What is Infrared
The IR Signal
• The IR detector is only looking for infrared that’s flashing on
and off 38,500 times per second.
– It has built-in optical filters that allow very little light except the 980
nm infrared.
– It also has an electronic filter that only allows signals around 38.5
kHz to pass through.
• This is the type of signal produced by the remote control.
• This prevents IR interference from common sources such as
sunlight and indoor lighting.
Important Concepts
• Pulse width modulation (PWM): Pulse durations are used in many
applications, a few of which are motor control, and communication.
Since the IR detector sends low pulses that can be measured to
determine what information the IR remote is sending, it's an example
of using PWM for communication.
17 - http://galaxys2.samsungmobile.com/html/feature.html
18 - http://events.iaik.tugraz.at/RFIDSec06/Program/papers/002%20-%20Security%20in%20NFC.pdf
19 - http://intrepidusgroup.com/insight/2010/12/nfc-rfid-enabled-smartphones-and-mobile-devices-are-coming/
20 - http://www.crypto.rub.de/imperia/md/content/seminare/itsss07/near_field_communication_in_cell_phones.pdf
21 - http://www.gamberjohnson.com/assets/images/concept-illustration.jpg