MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial Cricket Tutorial on using cricket location system.

Slides:



Advertisements
Similar presentations
Electronic Car Via Mobile & Traffic Lights Prepared By : Sufyan Tahseen Mustafa Ramadan Arkan Tawfeeq Taher Deeb.
Advertisements

RADAR: An In-Building RF-based User Location and Tracking System.
The Cricket Compass for Context-Aware Mobile Applications Nissanka B. Priyantha.
Chapter 10 Input/Output Organization. Connections between a CPU and an I/O device Types of bus (Figure 10.1) –Address bus –Data bus –Control bus.
1 Fall 2005 Local Serial Asynchronous Communication Qutaibah Malluhi Computer Science and Engineering Qatar University.
Location and Tracking Spring 2004: Location Recognition Larry Rudolph Location of what? Services applications, resources, sensors, actuators where.
Introduction to Networking. Spring 2002Computer Network Applications Analog Devices Maintain an exact physical analog of (some form of) information. Ex:
CMPE 257 Spring CMPE 257: Wireless and Mobile Networking Spring 2005 Location management.
Decoding Human Movement Using Wireless Sensors Michael Baswell CS525 Semester Project, Spring 2006.
Location Systems for Ubiquitous Computing Jeffrey Hightower and Gaetano Borriello.
ADAPTIVE TRAFFIC CONTROLLER Professor Doshi Peter Petrakis (team manager) Marcin Celmer Matt Wilhelm Tom Stack.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
UPLINK: ULTRASONIC POSITION LOCATOR FOR INDOOR ENVIRONMENTS Aunim Mashrur Hossain, Giridhar Nandipati Advised By: Dr. Daniel Lee Thursday, April 22nd 1:30pm.
UNIVERSITY of CRETE Fall04 – HY436: Mobile Computing and Wireless Networks Location Sensing Overview Lecture 8 Maria Papadopouli
Input/Output and Communication
CCNA 2 v3.1 Module 2.
Chapter Preview  In this chapter, we will study:  The basic components of a telecomm system  The technologies used in telecomm systems  Various ways.
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
The Cricket Location-Support System By: Min Chen 10/28/03.
Pervasive Location-Aware Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science
BluEyes Bluetooth Localization and Tracking Ei Darli Aung Jonathan Yang Dae-Ki Cho Mario Gerla Ei Darli Aung Jonathan Yang Dae-Ki Cho Mario Gerla.
WALRUS: Wireless Active Location Resolver with Ultrasound Tony Offer, Christopher Palistrant.
Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph 1 Location Again Location API’s and Room-Size Location Feb 28, 2006 Larry Rudolph.
COMPONENTS OF THE SYSTEM UNIT
Sensing Location. References r P. Bahl, V. Padmanabhan, "RADAR: An In-Building RF-based User Location and Tracking System" IEEE INFOCOM 2000, vol. 2,
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 17.
AS Computing F451 F451 Data Transmission. What data is transmitted? Phone SMS Radio TV Internet.
E0001 Computers in Engineering1 The System Unit & Memory.
Traffic Monitoring System using Acoustic Sensors Yuping Dong May 14, 2008.
1 4-Integrating Peripherals in Embedded Systems. 2 Introduction Single-purpose processors  Performs specific computation task  Custom single-purpose.
Introduction to Sensor Networks Rabie A. Ramadan, PhD Cairo University 3.
Virtual Imaging Peripheral for Enhanced Reality Aaron Garrett, Ryan Hannah, Justin Huffaker, Brendon McCool.
Chapter 7 Low-Level Protocols
RT-Link: A Time-Synchronized Link Protocol for Energy-Constrained Multi- hop Wireless Networks Anthony Rowe, Rahul Mangharam and Raj Rajkumar CMU SECON.
Networked Systems Practicum Lecture 8 – Localization 1.
Echo Cancellation Chapter 4. Echo : Echo is the repetition of a signal back to the transmitter; either due to a coupling between the loudspeaker and microphone.
RADAR: An In-Building RF-based User Location and Tracking System Presented by: Michelle Torski Paramvir Bahl and Venkata N. Padmanabhan.
Tracking Prasun Dewan Department of Computer Science University of North Carolina
A Power Independent Detection (PID) Method for Ultra Wide Band Impulse Radio Networks Alaeddine EL-FAWAL Joint work with Jean-Yves Le Boudec UWB4SN 2005:
RADAR: An In-Building RF-based User Location and Tracking System.
The Principle of Electronic Data Serial and Parallel Data Communication Transmission Rate Bandwidth Bit Rate Parity bits.
Stores the OS/data currently in use and software currently in use Memory Unit 21.
Electromagnetic Spectrum
Nissanka B. PriyanthaAnit Chakraborty Hari Balakrishnan MIT Lab for Computer Science The Cricket Location-Support System.
The Cricket Indoor Location System Hari Balakrishnan Bodhi Priyantha, Allen Miu, Jorge Nogueras, John Ankcorn, Kalpak Kothari, Steve Garland, Seth Teller.
FUNDAMENTALS OF NETWORKING
Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science
Unit 1 Lecture 4.
IT3002 Computer Architecture
Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph 1 Tracking Indoors.
The Cricket Compass for Context-Aware Mobile Applications
The GETA Sandals: A Footprint Location Tracking System Kenji Okuda, Shun-yuan Yeh, Chon-in Wu, Keng-hao Chang, and Hao-hua Chu National Taiwan University.
Preliminary Design Review By: Alireza Veiseh Anh-Thu Thai Luai Abou-Emara Peter Tsang.
The Cricket Location-Support System N. Priyantha, A. Chakraborty, and H. Balakrishnan MIT Lab for Computer Science MOBICOM 2000 Presenter: Kideok Cho
Voice Controlled Home Automation System Group 13 Zhe Gong Hongchuan Li.
Nissanka Bodhi Priyantha Computer Science, Massachusetts Institute of Technology RTLab. Seolyoung, Jeong Dissertation, MIT, June 2005.
Final Design Review By: Alireza Veiseh Anh-Thu Thai Luai Abou-Emara Peter Tsang.
1 4-Integrating Peripherals in Embedded Systems. 2 Introduction Single-purpose processors  Performs specific computation task  Custom single-purpose.
Fundamentals of Communications. Communication System Transmitter: originates the signal Receiver: receives transmitted signal after it travels over the.
Input/Output and Communication
Indoor Navigation Using a Wireless Sensor Network
Serial I/O and Data Communication.
RAILWAY TRACK SNAP NOTIFICATION
Georg Oberholzer, Philipp Sommer, Roger Wattenhofer
Georg Oberholzer, Philipp Sommer, Roger Wattenhofer
Some Facts about Cricket Tracking System.
RADAR: An In-Building RF-based User Location and Tracking System
Tutorial on using cricket location system
1.2.1 Data transmission.
Presentation transcript:

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 = s 1 * t 1 d = s 2 * t 2 We measure delay: m = t 1 - t 2 t 2 = m * s 1 /(s 2 - s 1 ) d = m * s 2 s 1 /(s 2 - s 1 )

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 9 Uncoordinated Beacons Beacon A Beacon B t RF BRF AUS B US A Incorrect distance Multiple beacon transmissions are uncoordinated Different beacon transmissions can interfere – Causes inaccurate distance measurements at the listener Multiple beacon transmissions are uncoordinated Different beacon transmissions can interfere – Causes inaccurate distance measurements at the listener

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 BRF AUS 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 t RF AUS 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... t RF AUS A RF BUS 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 ARoom B

MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 16 Correct Beacon Placement Room ARoom B xx 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 Prototype Ultrasonic sensor RF antenna RF module (rcv) Atmel processor ListenerBeacon RF module (xmit) RS232 i/f

MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 19 Cricket v1 Prototype

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 Switch Beacon 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 LEDs Green 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 1Application 2Application 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 Socket port number (default is 2947) -p Serial port device name (default “/dev/ttySA0”) -s Baud rate of serial port (default is 9600) -h Help -D Debug level

MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture Cricket tutorial 25 Cricket Listener Output Strings reported from Listeners When good RF and good ultrasound pulse heard: “$Cricket2,ver=3.0,space=MIT7,id=20,dist=4F,duration=1A” 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 KHz counter cycles ( 64 microseconds each). Assume speed of sound is m/s then mm/cycle For 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 Need user & password Need user & password