SlideShare une entreprise Scribd logo
1  sur  29
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial
Cricket
Tutorial on using cricket location system
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 2
Cricket Goals
Research prototype
build and then evaluate
Useful mainly indoor environments
walls, ceilings not too far
Recognize spaces, not just
physical position
good boundary detection is
important
doors, floors, etc.
Preserve user’s privacy
Big-brother can be a bother
user has choice to reveal location
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 3
Features
Distributed architecture
No wired infrastructure
Easy deployment (no
satellites)
Low maintenance
Users are not tracked
Listeners are passive
Large number of listeners
w/o interference
Integrates with a wide range
of resource discovery systems
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial
Cricket: Private location-
support
Beacon
Listener
space = “a1”
space = “a2”
Pick nearest to
infer space
No central beacon control or location
database
Passive Listeners + Active Beacons
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 5
Finding the distance
distance = speed * time
want to find the distance
we know the speed
How do we figure out time?
Radar: measure round-trip
time
cannot use it as it violates some goals
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 6
Finding the distance
Synchronized clocks
receiver knows exactly when
transmitter sent signal
how about sending signal
first to sync clocks and
then 2nd signal?
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 7
Finding the distance
Use two different speed
signals
both start at same time
d = s1 * t1 d
= s2 * t2
We measure delay: m =
t1 - t2
t2 = m * s1/(s2 - s1)
d = m * s2 s1
/(s - s )
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 8
Location Estimation
• Distance estimation via coupled RF and
ultrasonic signals
– Beacons send information on the RF channel with concurrent
ultrasonic pulse
RF info
Beacon
Listener
Ultrasound
(pulse)
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 10
Multiple Beacons
• Beacon transmissions are uncoordinated
• Ultrasonic signals reflect heavily
• Ultrasonic signals are pulses (no data)
These make the correlation problem hard and can
lead to incorrect distance estimates
Beacon A Beacon B
t
RF B RF A US B US A
Incorrect distance
Listener
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 11
Solution
Carrier-sense + randomized
transmission
reduce chance of concurrent
beacons
Bounding stray signal interference
envelop all ultrasonic signals
with RF
Listener inference algorithm
Processing distance samples to
estimate location
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 12
Bounding Stray Signal
Interference
• Engineer RF range to be larger than ultrasonic
range
– Ensures that if listener can hear ultrasound, corresponding RF
will also be heard
tRF A US A
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 13
Bounding Stray Signal
Interference
t
S/b
r/v (max)
S = size of space advertisement
b = RF bit rate
r = ultrasound range
v = velocity of ultrasound
(RF transmission time) (Max. RF-US separation at the listener)
S r
b v
• No “unaccompanied” ultrasonic signal can be valid!
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 14
Bounding stray signal interference
• Envelop ultrasound by RF
• Interfering ultrasound causes RF signals to
collide
• Listener does a block parity error check
– The reading is discarded...
tRF A US A
RF B US B
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 15
Problem: Closest Beacon May
Not Reflect Correct Space
I am at
B
Room A Room B
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 16
Correct Beacon Placement
Room A Room B
x x
I am at
A
• Position beacons to detect the boundary
• Multiple Beacons per space are possible
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 17
Implementation
• Cricket beacon and listener
Micro-
controller
RF
US
Micro-
controller
RF
US
RS232
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 18
Cricket v1 PrototypeUltrasonic
sensor
RF antennaRF module (rcv)
Atmel
processor
Listener Beacon
RF module (xmit)
RS232
i/f
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 20
Cricket Beacon LEDs
Debug Switch = UP
Green LED = Transmit
Red LED = Carried
Sensed
Debug Switch = Down
Green LED = Every 5
th
transmission
At Startup
LEDs flash version
number
Red on, Green flash
count = Major #
Green on, Red flash
count = Minor #
Power Switch
Up = On
Power
Switch
On
Off
Debug SwitchBeacon ID
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 21
Cricket Beacon Antennas
Receive Antenna
For sensing
transmission of
other beacons
Transmit Antenna
Limit
transmission
distance
Should not
touch
ultrasound
Should not
cover receive
antenna
Transmit antenna
Receive antenna
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 22
Listener LEDsGreen Flash
Received valid RF and
ultrasound
Red Flash Once
Received Radio, but not
ultrasound
Red+Green Flash
RF Error (e.g.,
parity error)
Red and Green always
on
Listener not working
correctly
Power On
Both LEDs flash
together once
Off On
Power Switch
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 23
Software Components
Cricket
Listener cricketd
Application 1
Application 2
Application 3
Cricket
Beacon
1
Cricket
Beacon
2
Binary Data
Over RF
ASCII data
over serial port
9600 baud
ASCII data
on TCP sockets (port 2947)
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 24
cricketd
Background program (demon) that reads serial
port and writes data to a socket
Command line arguments (defaults work
correctly on ipaq)
-T k Version 3 Listeners (with LEDs)
(default)
-T c Version 2 Listeners (without LEDs)
-S <port> Socket port number (default is 2947)
-p <dev> Serial port device name (default
“/dev/ttySA0”)
-s <baud> Baud rate of serial port (default is
9600)
-h Help
-D <num> Debug level
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 25
Cricket Listener OutputStrings reported from Listeners
When good RF and good ultrasound pulse
heard:
“$Cricket2,ver=3.0,space=MIT7,id=20,dist=4F,duration=1
A”
When only good RF heard, no ultrasound
heard:
“$Cricket2,ver=3.0,space=MIT7,id=20”
When RF detected, but parity error
detected:
“$Cricket2,ver=3.0,err=rf”
t
dist
duration
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 26
Speed of Sound
Listener reports distance and duration in
15.625 KHz counter cycles ( 64 microseconds
each).
Assume speed of sound is 344.49 m/s then
22.047 mm/cycle
For 343.75 m/s = 22 mm/cycle
Need to subtract 36 units for delay from end
of RF to start of US transmission.
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial
So where are you?
Telnet to cricketd (on correct
port)
Get names of beacons within
range
Get distances from beacons
Lookup beacon location in
database
Or use beacon name (longer
transmission)
Triangulate (compensate for
temp)
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial
So whre are you?
Beacon name may tell you room
That may be enough
May want to know relative
movements
As you walk around the room
No climbing on tables
Can you do it using two beacons?
Can you do it without
calibration?
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial
Two beacons
Put them along the wall
Come very close to one of them
Now know distance between them
Given distances from both
Before and now (d1,d2) &
(e1,e2)
Can find relative movement
Two solutions! No problem,
why?
Ex. Doom virtual world
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 30
Orientation
Orientation relative to B
on horizontal plane
Mobile device
(parallel to horizontal plane)
Beacons on
ceiling
Cricket listener with
compass hardware
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 31
Hardware Design
http://nms.lcs.mit.edu/projects/cricket
http://nms.lcs.mit.edu/cricket/fab
Need user & password
http://nms.lcs.mit.edu/cricket/distrib
Need user & password

Contenu connexe

Tendances (11)

Radar presentation
Radar presentation Radar presentation
Radar presentation
 
Precision clock synchronization_wp
Precision clock synchronization_wpPrecision clock synchronization_wp
Precision clock synchronization_wp
 
Radar 2009 a 4 radar equation
Radar 2009 a  4 radar equationRadar 2009 a  4 radar equation
Radar 2009 a 4 radar equation
 
radar and radar management
radar and radar managementradar and radar management
radar and radar management
 
UHF/VHFEnergy Harvesting Radio System Physical and MAC Layer Consideration
UHF/VHFEnergy Harvesting Radio System Physical and MAC Layer ConsiderationUHF/VHFEnergy Harvesting Radio System Physical and MAC Layer Consideration
UHF/VHFEnergy Harvesting Radio System Physical and MAC Layer Consideration
 
Digital Radar Processing and the New Low Power Radars
Digital Radar Processing and the New Low Power RadarsDigital Radar Processing and the New Low Power Radars
Digital Radar Processing and the New Low Power Radars
 
Precision Time Protocol
Precision Time ProtocolPrecision Time Protocol
Precision Time Protocol
 
Digital processing of today’s radar signals
Digital processing of today’s radar signalsDigital processing of today’s radar signals
Digital processing of today’s radar signals
 
Time Synchronisation
Time SynchronisationTime Synchronisation
Time Synchronisation
 
Lc
LcLc
Lc
 
ROHINI RADAR
ROHINI RADARROHINI RADAR
ROHINI RADAR
 

En vedette

Content to 8 channel types http://awaren.us/plarFM
Content to 8 channel types http://awaren.us/plarFMContent to 8 channel types http://awaren.us/plarFM
Content to 8 channel types http://awaren.us/plarFMnikhilawareness
 
more testing http://4rd.ca/aaamrg
more testing http://4rd.ca/aaamrgmore testing http://4rd.ca/aaamrg
more testing http://4rd.ca/aaamrgnikhilawareness
 
http://on.wsj.com/VOaOwv More cars on the road! Yay!
http://on.wsj.com/VOaOwv More cars on the road! Yay!http://on.wsj.com/VOaOwv More cars on the road! Yay!
http://on.wsj.com/VOaOwv More cars on the road! Yay!nikhilawareness
 
Only SlideShare. Thirukurral
Only SlideShare. ThirukurralOnly SlideShare. Thirukurral
Only SlideShare. Thirukurralnikhilawareness
 
Rivalry between LinkedIn and FB, really? http://awaren.us/NlFakL
Rivalry between LinkedIn and FB, really? http://awaren.us/NlFakLRivalry between LinkedIn and FB, really? http://awaren.us/NlFakL
Rivalry between LinkedIn and FB, really? http://awaren.us/NlFakLnikhilawareness
 
8 channels, future to past future http://awaren.us/H3Wrzw
8 channels, future to past future http://awaren.us/H3Wrzw8 channels, future to past future http://awaren.us/H3Wrzw
8 channels, future to past future http://awaren.us/H3Wrzwnikhilawareness
 
Sed sagittis magna nec leo feugiat adipiscing. Sed malesuada massa at leo con...
Sed sagittis magna nec leo feugiat adipiscing. Sed malesuada massa at leo con...Sed sagittis magna nec leo feugiat adipiscing. Sed malesuada massa at leo con...
Sed sagittis magna nec leo feugiat adipiscing. Sed malesuada massa at leo con...nikhilawareness
 
Harry Potter 7-2 3D tonight!!! http://4rd.ca/aaaj6w
Harry Potter 7-2 3D tonight!!! http://4rd.ca/aaaj6wHarry Potter 7-2 3D tonight!!! http://4rd.ca/aaaj6w
Harry Potter 7-2 3D tonight!!! http://4rd.ca/aaaj6wnikhilawareness
 
This is just for slideshare
This is just for slideshareThis is just for slideshare
This is just for slidesharenikhilawareness
 
Content to all channels, scheduled for tomorrow http://qa.us/aaabcy
Content to all channels, scheduled for tomorrow http://qa.us/aaabcyContent to all channels, scheduled for tomorrow http://qa.us/aaabcy
Content to all channels, scheduled for tomorrow http://qa.us/aaabcynikhilawareness
 
Hello Cbot! http://awaren.us/MphUVB
Hello Cbot! http://awaren.us/MphUVBHello Cbot! http://awaren.us/MphUVB
Hello Cbot! http://awaren.us/MphUVBnikhilawareness
 
FB, SS (4 files), Twitter http://q.4rd.ca/aaacmD #Sore
FB, SS (4 files), Twitter http://q.4rd.ca/aaacmD #SoreFB, SS (4 files), Twitter http://q.4rd.ca/aaacmD #Sore
FB, SS (4 files), Twitter http://q.4rd.ca/aaacmD #Sorenikhilawareness
 
#MegaMillion ways to ensure you #Win! http://q.4rd.ca/aaacxf
#MegaMillion ways to ensure you #Win! http://q.4rd.ca/aaacxf#MegaMillion ways to ensure you #Win! http://q.4rd.ca/aaacxf
#MegaMillion ways to ensure you #Win! http://q.4rd.ca/aaacxfnikhilawareness
 

En vedette (16)

Content to 8 channel types http://awaren.us/plarFM
Content to 8 channel types http://awaren.us/plarFMContent to 8 channel types http://awaren.us/plarFM
Content to 8 channel types http://awaren.us/plarFM
 
more testing http://4rd.ca/aaamrg
more testing http://4rd.ca/aaamrgmore testing http://4rd.ca/aaamrg
more testing http://4rd.ca/aaamrg
 
http://on.wsj.com/VOaOwv More cars on the road! Yay!
http://on.wsj.com/VOaOwv More cars on the road! Yay!http://on.wsj.com/VOaOwv More cars on the road! Yay!
http://on.wsj.com/VOaOwv More cars on the road! Yay!
 
Only SlideShare. Thirukurral
Only SlideShare. ThirukurralOnly SlideShare. Thirukurral
Only SlideShare. Thirukurral
 
Standard Smoke
Standard SmokeStandard Smoke
Standard Smoke
 
Rivalry between LinkedIn and FB, really? http://awaren.us/NlFakL
Rivalry between LinkedIn and FB, really? http://awaren.us/NlFakLRivalry between LinkedIn and FB, really? http://awaren.us/NlFakL
Rivalry between LinkedIn and FB, really? http://awaren.us/NlFakL
 
8 channels, future to past future http://awaren.us/H3Wrzw
8 channels, future to past future http://awaren.us/H3Wrzw8 channels, future to past future http://awaren.us/H3Wrzw
8 channels, future to past future http://awaren.us/H3Wrzw
 
Content to all channels
Content to all channelsContent to all channels
Content to all channels
 
Sed sagittis magna nec leo feugiat adipiscing. Sed malesuada massa at leo con...
Sed sagittis magna nec leo feugiat adipiscing. Sed malesuada massa at leo con...Sed sagittis magna nec leo feugiat adipiscing. Sed malesuada massa at leo con...
Sed sagittis magna nec leo feugiat adipiscing. Sed malesuada massa at leo con...
 
Harry Potter 7-2 3D tonight!!! http://4rd.ca/aaaj6w
Harry Potter 7-2 3D tonight!!! http://4rd.ca/aaaj6wHarry Potter 7-2 3D tonight!!! http://4rd.ca/aaaj6w
Harry Potter 7-2 3D tonight!!! http://4rd.ca/aaaj6w
 
This is just for slideshare
This is just for slideshareThis is just for slideshare
This is just for slideshare
 
Content to all channels, scheduled for tomorrow http://qa.us/aaabcy
Content to all channels, scheduled for tomorrow http://qa.us/aaabcyContent to all channels, scheduled for tomorrow http://qa.us/aaabcy
Content to all channels, scheduled for tomorrow http://qa.us/aaabcy
 
Hello Cbot! http://awaren.us/MphUVB
Hello Cbot! http://awaren.us/MphUVBHello Cbot! http://awaren.us/MphUVB
Hello Cbot! http://awaren.us/MphUVB
 
FB, SS (4 files), Twitter http://q.4rd.ca/aaacmD #Sore
FB, SS (4 files), Twitter http://q.4rd.ca/aaacmD #SoreFB, SS (4 files), Twitter http://q.4rd.ca/aaacmD #Sore
FB, SS (4 files), Twitter http://q.4rd.ca/aaacmD #Sore
 
SS alone
SS aloneSS alone
SS alone
 
#MegaMillion ways to ensure you #Win! http://q.4rd.ca/aaacxf
#MegaMillion ways to ensure you #Win! http://q.4rd.ca/aaacxf#MegaMillion ways to ensure you #Win! http://q.4rd.ca/aaacxf
#MegaMillion ways to ensure you #Win! http://q.4rd.ca/aaacxf
 

Similaire à I am omnipresent

This is only for slideshare!
This is only for slideshare! This is only for slideshare!
This is only for slideshare! nikhilawareness
 
First Staging Content to all channels
First Staging Content to all channelsFirst Staging Content to all channels
First Staging Content to all channelsnikhilawareness
 
Tutorial 8 Cricket
Tutorial 8 CricketTutorial 8 Cricket
Tutorial 8 Cricketashokrocking
 
All channels but BasicQA
All channels but BasicQAAll channels but BasicQA
All channels but BasicQAnikhilawareness
 
Hand Gesture Recognition for an Off-the-Shelf Radar by Electromagnetic Modeli...
Hand Gesture Recognition for an Off-the-Shelf Radar by Electromagnetic Modeli...Hand Gesture Recognition for an Off-the-Shelf Radar by Electromagnetic Modeli...
Hand Gesture Recognition for an Off-the-Shelf Radar by Electromagnetic Modeli...Arthur Sluÿters
 
Radar 2009 a 4 radar equation
Radar 2009 a  4 radar equationRadar 2009 a  4 radar equation
Radar 2009 a 4 radar equationVi Binh Q. Le
 
TH2_T03_2_igarss2011.pptx
TH2_T03_2_igarss2011.pptxTH2_T03_2_igarss2011.pptx
TH2_T03_2_igarss2011.pptxgrssieee
 
rao-vlsi-comm-09 (1).ppt
rao-vlsi-comm-09 (1).pptrao-vlsi-comm-09 (1).ppt
rao-vlsi-comm-09 (1).pptGanesh Chavan
 
Principles of RADAR Systems
Principles of RADAR SystemsPrinciples of RADAR Systems
Principles of RADAR Systemsjanakiravi
 
UCF Wireless SAW Sensor Systems
UCF Wireless SAW Sensor SystemsUCF Wireless SAW Sensor Systems
UCF Wireless SAW Sensor SystemsConvinsys
 
RF Design Team ASA2019
RF Design Team ASA2019RF Design Team ASA2019
RF Design Team ASA2019Melvin Núñez
 

Similaire à I am omnipresent (20)

Content Everywhere
Content EverywhereContent Everywhere
Content Everywhere
 
This is only for slideshare!
This is only for slideshare! This is only for slideshare!
This is only for slideshare!
 
Its 4:06 on a friday
Its 4:06 on a fridayIts 4:06 on a friday
Its 4:06 on a friday
 
First Staging Content to all channels
First Staging Content to all channelsFirst Staging Content to all channels
First Staging Content to all channels
 
Tutorial 8 Cricket
Tutorial 8 CricketTutorial 8 Cricket
Tutorial 8 Cricket
 
Smoke Smoke
Smoke SmokeSmoke Smoke
Smoke Smoke
 
All channels but BasicQA
All channels but BasicQAAll channels but BasicQA
All channels but BasicQA
 
QA to all channels
QA to all channelsQA to all channels
QA to all channels
 
New content everywhere
New content everywhereNew content everywhere
New content everywhere
 
Hand Gesture Recognition for an Off-the-Shelf Radar by Electromagnetic Modeli...
Hand Gesture Recognition for an Off-the-Shelf Radar by Electromagnetic Modeli...Hand Gesture Recognition for an Off-the-Shelf Radar by Electromagnetic Modeli...
Hand Gesture Recognition for an Off-the-Shelf Radar by Electromagnetic Modeli...
 
Radar 2009 a 4 radar equation
Radar 2009 a  4 radar equationRadar 2009 a  4 radar equation
Radar 2009 a 4 radar equation
 
TH2_T03_2_igarss2011.pptx
TH2_T03_2_igarss2011.pptxTH2_T03_2_igarss2011.pptx
TH2_T03_2_igarss2011.pptx
 
rao-vlsi-comm-09 (1).ppt
rao-vlsi-comm-09 (1).pptrao-vlsi-comm-09 (1).ppt
rao-vlsi-comm-09 (1).ppt
 
Principles of RADAR Systems
Principles of RADAR SystemsPrinciples of RADAR Systems
Principles of RADAR Systems
 
KinPhy
KinPhyKinPhy
KinPhy
 
UCF Wireless SAW Sensor Systems
UCF Wireless SAW Sensor SystemsUCF Wireless SAW Sensor Systems
UCF Wireless SAW Sensor Systems
 
BEng Project Report
BEng Project ReportBEng Project Report
BEng Project Report
 
Introduction to RADAR by NI
Introduction to RADAR by NIIntroduction to RADAR by NI
Introduction to RADAR by NI
 
RF Design Team ASA2019
RF Design Team ASA2019RF Design Team ASA2019
RF Design Team ASA2019
 
RadarWCNC
RadarWCNCRadarWCNC
RadarWCNC
 

Dernier

Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insightsseribangash
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Roland Driesen
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
Event mailer assignment progress report .pdf
Event mailer assignment progress report .pdfEvent mailer assignment progress report .pdf
Event mailer assignment progress report .pdftbatkhuu1
 
BEST ✨ Call Girls In Indirapuram Ghaziabad ✔️ 9871031762 ✔️ Escorts Service...
BEST ✨ Call Girls In  Indirapuram Ghaziabad  ✔️ 9871031762 ✔️ Escorts Service...BEST ✨ Call Girls In  Indirapuram Ghaziabad  ✔️ 9871031762 ✔️ Escorts Service...
BEST ✨ Call Girls In Indirapuram Ghaziabad ✔️ 9871031762 ✔️ Escorts Service...noida100girls
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetDenis Gagné
 
Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaShree Krishna Exports
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Tina Ji
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsP&CO
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...Any kyc Account
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsApsara Of India
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒anilsa9823
 

Dernier (20)

Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insights
 
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
Event mailer assignment progress report .pdf
Event mailer assignment progress report .pdfEvent mailer assignment progress report .pdf
Event mailer assignment progress report .pdf
 
BEST ✨ Call Girls In Indirapuram Ghaziabad ✔️ 9871031762 ✔️ Escorts Service...
BEST ✨ Call Girls In  Indirapuram Ghaziabad  ✔️ 9871031762 ✔️ Escorts Service...BEST ✨ Call Girls In  Indirapuram Ghaziabad  ✔️ 9871031762 ✔️ Escorts Service...
BEST ✨ Call Girls In Indirapuram Ghaziabad ✔️ 9871031762 ✔️ Escorts Service...
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
 
Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in India
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 

I am omnipresent

  • 1. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial Cricket Tutorial on using cricket location system
  • 2. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 2 Cricket Goals Research prototype build and then evaluate Useful mainly indoor environments walls, ceilings not too far Recognize spaces, not just physical position good boundary detection is important doors, floors, etc. Preserve user’s privacy Big-brother can be a bother user has choice to reveal location
  • 3. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 3 Features Distributed architecture No wired infrastructure Easy deployment (no satellites) Low maintenance Users are not tracked Listeners are passive Large number of listeners w/o interference Integrates with a wide range of resource discovery systems
  • 4. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial Cricket: Private location- support Beacon Listener space = “a1” space = “a2” Pick nearest to infer space No central beacon control or location database Passive Listeners + Active Beacons
  • 5. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 5 Finding the distance distance = speed * time want to find the distance we know the speed How do we figure out time? Radar: measure round-trip time cannot use it as it violates some goals
  • 6. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 6 Finding the distance Synchronized clocks receiver knows exactly when transmitter sent signal how about sending signal first to sync clocks and then 2nd signal?
  • 7. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 7 Finding the distance Use two different speed signals both start at same time d = s1 * t1 d = s2 * t2 We measure delay: m = t1 - t2 t2 = m * s1/(s2 - s1) d = m * s2 s1 /(s - s )
  • 8. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 8 Location Estimation • Distance estimation via coupled RF and ultrasonic signals – Beacons send information on the RF channel with concurrent ultrasonic pulse RF info Beacon Listener Ultrasound (pulse)
  • 9. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 10 Multiple Beacons • Beacon transmissions are uncoordinated • Ultrasonic signals reflect heavily • Ultrasonic signals are pulses (no data) These make the correlation problem hard and can lead to incorrect distance estimates Beacon A Beacon B t RF B RF A US B US A Incorrect distance Listener
  • 10. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 11 Solution Carrier-sense + randomized transmission reduce chance of concurrent beacons Bounding stray signal interference envelop all ultrasonic signals with RF Listener inference algorithm Processing distance samples to estimate location
  • 11. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 12 Bounding Stray Signal Interference • Engineer RF range to be larger than ultrasonic range – Ensures that if listener can hear ultrasound, corresponding RF will also be heard tRF A US A
  • 12. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 13 Bounding Stray Signal Interference t S/b r/v (max) S = size of space advertisement b = RF bit rate r = ultrasound range v = velocity of ultrasound (RF transmission time) (Max. RF-US separation at the listener) S r b v • No “unaccompanied” ultrasonic signal can be valid!
  • 13. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 14 Bounding stray signal interference • Envelop ultrasound by RF • Interfering ultrasound causes RF signals to collide • Listener does a block parity error check – The reading is discarded... tRF A US A RF B US B
  • 14. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 15 Problem: Closest Beacon May Not Reflect Correct Space I am at B Room A Room B
  • 15. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 16 Correct Beacon Placement Room A Room B x x I am at A • Position beacons to detect the boundary • Multiple Beacons per space are possible
  • 16. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 17 Implementation • Cricket beacon and listener Micro- controller RF US Micro- controller RF US RS232
  • 17. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 18 Cricket v1 PrototypeUltrasonic sensor RF antennaRF module (rcv) Atmel processor Listener Beacon RF module (xmit) RS232 i/f
  • 18. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 20 Cricket Beacon LEDs Debug Switch = UP Green LED = Transmit Red LED = Carried Sensed Debug Switch = Down Green LED = Every 5 th transmission At Startup LEDs flash version number Red on, Green flash count = Major # Green on, Red flash count = Minor # Power Switch Up = On Power Switch On Off Debug SwitchBeacon ID
  • 19. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 21 Cricket Beacon Antennas Receive Antenna For sensing transmission of other beacons Transmit Antenna Limit transmission distance Should not touch ultrasound Should not cover receive antenna Transmit antenna Receive antenna
  • 20. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 22 Listener LEDsGreen Flash Received valid RF and ultrasound Red Flash Once Received Radio, but not ultrasound Red+Green Flash RF Error (e.g., parity error) Red and Green always on Listener not working correctly Power On Both LEDs flash together once Off On Power Switch
  • 21. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 23 Software Components Cricket Listener cricketd Application 1 Application 2 Application 3 Cricket Beacon 1 Cricket Beacon 2 Binary Data Over RF ASCII data over serial port 9600 baud ASCII data on TCP sockets (port 2947)
  • 22. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 24 cricketd Background program (demon) that reads serial port and writes data to a socket Command line arguments (defaults work correctly on ipaq) -T k Version 3 Listeners (with LEDs) (default) -T c Version 2 Listeners (without LEDs) -S <port> Socket port number (default is 2947) -p <dev> Serial port device name (default “/dev/ttySA0”) -s <baud> Baud rate of serial port (default is 9600) -h Help -D <num> Debug level
  • 23. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 25 Cricket Listener OutputStrings reported from Listeners When good RF and good ultrasound pulse heard: “$Cricket2,ver=3.0,space=MIT7,id=20,dist=4F,duration=1 A” When only good RF heard, no ultrasound heard: “$Cricket2,ver=3.0,space=MIT7,id=20” When RF detected, but parity error detected: “$Cricket2,ver=3.0,err=rf” t dist duration
  • 24. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 26 Speed of Sound Listener reports distance and duration in 15.625 KHz counter cycles ( 64 microseconds each). Assume speed of sound is 344.49 m/s then 22.047 mm/cycle For 343.75 m/s = 22 mm/cycle Need to subtract 36 units for delay from end of RF to start of US transmission.
  • 25. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial So where are you? Telnet to cricketd (on correct port) Get names of beacons within range Get distances from beacons Lookup beacon location in database Or use beacon name (longer transmission) Triangulate (compensate for temp)
  • 26. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial So whre are you? Beacon name may tell you room That may be enough May want to know relative movements As you walk around the room No climbing on tables Can you do it using two beacons? Can you do it without calibration?
  • 27. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial Two beacons Put them along the wall Come very close to one of them Now know distance between them Given distances from both Before and now (d1,d2) & (e1,e2) Can find relative movement Two solutions! No problem, why? Ex. Doom virtual world
  • 28. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 30 Orientation Orientation relative to B on horizontal plane Mobile device (parallel to horizontal plane) Beacons on ceiling Cricket listener with compass hardware
  • 29. MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 31 Hardware Design http://nms.lcs.mit.edu/projects/cricket http://nms.lcs.mit.edu/cricket/fab Need user & password http://nms.lcs.mit.edu/cricket/distrib Need user & password