Bluetooth Smart Nodes for Mobile Ad-hoc Networks Jan Beutel Computer Engineering and Networks Lab December 17, 2002 Computer Engineering and Networks Laboratory.

Slides:



Advertisements
Similar presentations
Overview: Chapter 7  Sensor node platforms must contend with many issues  Energy consumption  Sensing environment  Networking  Real-time constraints.
Advertisements

1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 11th Lecture Christian Schindelhauer.
Mica: A Wireless Platform for Deeply Embedded Networks Jason Hill and David Culler Presented by Arsalan Tavakoli.
Travis Reed Todd Hummel Kwan-Truc. Concept USB 1.1 SPI b.
Reconfigurable Sensor Networks Chris Elliott Honours in Digital Systems Charles Greif and Nandita Bhattacharjee.
Generic Sensor Platform for Networked Sensors Haywood Ho.
Doc.: IEEE /046r1 Submission January 2001 Tom Siep, Texas InstrumentsSlide 1 Bluetooth Architecture Presentation Chatschik Bisdikian IBM Research.
CPET 260 Bluetooth. What is Bluetooth? Not IEEE (Wi-Fi) or HomeRF Originally designed to replace wires Short-range, lower-power wireless technology.
1 Overview of Bluetooth technology Bluetooth protocol stack The Ericsson Bluetooth module Alternate solutions Wireless LANs Conclusions References Networking.
Generic Sensor Platform for Networked Sensors Haywood Ho.
1 Mini Course Programming Context-aware Mobile Phones Thomas Bodin IT University of Copenhagen.
Intel ® Research mote Ralph Kling Intel Corporation Research Santa Clara, CA.
® The Bluetooth Architecture APIs, L2CAP, Link Management, Baseband, and the Radio.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Introduction to the Orbit Edu Board Ahmad Rahmati Teaching Assistant, ELEC424 Rice Efficient Computing Group Sep 12, 2007.
CALLISTO Double - Heterodyne - Frequency Agile - Radio - Spectrometer ERAC Symposium Heppenheim Sep 5/6/7th 2003 Meyer Hansueli ETH Zürich.
BLUETOOTH. Introduction Bluetooth technology discussed here aims at so-called ad- hoc piconets, which are local area networks with a very limited coverage.
Distributed systems – Part 2  Bluetooth – 2 nd set of slides Anila Mjeda.
Bluetooth Architecture and Applications Chris Greco, Wesley Kunzler, Koy Rehme, Zhuo Ruan.
Reconfigurable Hardware in Wearable Computing Nodes Christian Plessl 1 Rolf Enzler 2 Herbert Walder 1 Jan Beutel 1 Marco Platzner 1 Lothar Thiele 1 1 Computer.
MICA: A Wireless Platform for Deeply Embedded Networks
NetBurner MOD 5282 Network Development Kit MCF 5282 Integrated ColdFire 32 bit Microcontoller 2 DB-9 connectors for serial I/O supports: RS-232, RS-485,
25-Feb-2005 More than just a few chips… Building Wireless Sensor Networks in 2005 Jan Beutel © ETH Zürich | Computer Engineering and Networks Lab.
Multimedia & Communications ATMEL Bluetooth Background information on Bluetooth technology ATMEL implementation of Bluetooth spec.
Embedded Bluetooth Stack Dean Camera Project Supervisor: John Devlin.
INTRODUCTION Bluetooth technology is code name for Personal Area Network (PAN) technology that makes it extremely easy to connect a mobile, computing device.
By Santosh Sam Koshy. Agenda Need for Bluetooth Brief History of Bluetooth Introduction to Bluetooth Bluetooth System Specifications Commercial Bluetooth.
Wireless Communication on Wearable Systems CORECO I, WEMS II + III Jan Beutel, Computer Engineering and Networks Lab Mathias Stäger, Holger Junker, Electronics.
Typical Microcontroller Purposes
Bluetooth and Sensor Networks : A Reality Check Martin Leopold, Mads Dydensborg, Philippe Bonnet University of Copenhagen.
DIUF, Seminar in Telecommunications, M. Hayoz The Bluetooth TM wireless technology A brief overview.
Example title for notes and handouts
Computer Engineering and Networks Laboratory BTnodes A Distributed Environment for Prototyping Ad Hoc Networks Jan Beutel.
23-Mar-2005 Using TinyOS on BTnodes A little more than porting to another platform… Jan Beutel © ETH Zürich | Computer Engineering and Networks Lab.
Computer Engineering and Networks Laboratory BTnodes Scaling it up Networking using the BTnode Platform Jan Beutel C3 Seminar
King Fahd University of Petroleum & Minerals Electrical Engineering Department EE400 PROJECT Personal Area Networks Instructed by Dr.AlGhadbanPresenters.
Doc.: IEEE /033r2 Submission July 1999 Simon Baatz, University of BonnSlide 1 Integration of Bluetooth into LAN Environments Simon Baatz, Matthias.
Computer Engineering and Networks Laboratory BTnodes Applications and Architecture Compared Jan Beutel, Oliver Kasten, Matthias Ringwald.
System Architecture Directions for Networked Sensors Jason Hill, Robert Szewczyk, Alec Woo, Seth Hollar, David Culler, Kris Pister Presented by Yang Zhao.
Computer Engineering and Networks Laboratory BTnodes - Jan Beutel and Oliver Kasten BTnodes A Distributed Platform for Sensor Nodes Hard- and Software.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
발표자 : 현근수 Bluetooth. Overview wireless protocol short-range communications technology single digital wireless protocol connecting multiple devices mobile.
Team Topic Presentation Team 6 BLUETOOTH What is Bluetooth? Cable Replacement Automatic Connectivity Hidden Computing Few Examples: 1.Automatic Door.
Teaching Assistant Demonstrator - Contribution - Jan Beutel, Michael Eisenring, Marco Platzner, Christian Plessl, Lothar Thiele Computer Engineering and.
1 ETH Zurich April 17, 2003 BTnodes Networking Developments Extended available SRAM memory to 244 kbytes Bootloader - Remote software updates in large.
A Systematic Approach to the Design of Distributed Wearable Systems Urs Anliker, Jan Beutel, Matthias Dyer, Rolf Enzler, Paul Lukowicz Computer Engineering.
Computer Engineering and Networks Laboratory BTnodes Robust Topology Discovery and Positioning Services Jan Beutel Dagstuhl WSN Seminar 2004.
Smart Sensor Node Impact  GPS leveraged for geo-referenced identity, and low power communications synchronization. Up to 100x communications power reduction.
Bluetooth In 1994, the L. M. Ericsson company became interested in connecting its mobile phones to other devices without cables. A SIG (Special Interest.
Computer Engineering and Networks Laboratory BTnodes Topology Discovery and Multihop Networking Jan Beutel IP9 - Communicating Embedded Systems.
Wearable Communication Part 2 Jan Beutel, Thomas von Büren, Holger Junker, Matthias Stäger Computer Engineering and Networks Lab - Electronics Lab May.
Computer Engineering and Networks Laboratory BTnodes Directions in Hard- and Software Architecture Jan Beutel, Oliver Kasten, Matthias Ringwald.
Communication for the Wearable Platform Jan Beutel Computer Engineering and Networks Lab Swiss Federal Institute of Technology (ETH) Zurich October 19,
Computer Engineering and Networks Laboratory BTnodes Prototyping Wireless Sensor Network Applications Jan Beutel, Oliver Kasten, Friedemann Mattern, Kay.
Computer Engineering and Networks Laboratory BTnodes Architecture and Applications Jan Beutel, Oliver Kasten, Matthias Ringwald.
Computer Engineering and Networks Laboratory BTnodes A Distributed Environment for Prototyping Ad Hoc Networks Jan Beutel, Oliver Kasten, Matthias Ringwald.
Computer Engineering and Networks Laboratory BTnodes Topology Discovery and Multihop Networking Jan Beutel IP9 - Communicating Embedded Systems.
CSE466 - Fall What is an Embedded System  Its not a desktop system  Fixed or semi-fixed functionality (not user programmable)  Lacks some or.
Computer Engineering and Networks Laboratory BTnodes Prototyping Wireless Sensor Network Applications with BTnodes Jan Beutel Siemens Workshop 2004.
Goals in Wearable Computing Jan Beutel, Michael Eisenring, Marco Platzner, Christian Plessl, Lothar Thiele Computer Engineering and Networks Lab Swiss.
Pushpin Computing System Overview Joshua Lifton et. al Ubicomp class reading Presented by BURT.
Computer Engineering and Networks Laboratory BTnodes A Distributed Environment for Prototyping Ad Hoc Networks Jan Beutel.
Sonal Jain, IT-BHU Bluetooth Mobile Ad Hoc Networks Sonal Jain B.Tech (IV), Electrical Engg. Dept.,ITBHU IEEE SPAVes Sept 14, 15 Institute.
BATCH MEMBERS R.ABHISHEK-08N41A0401 K.DHEERAJ REDDY-08N41A0412 S.RAJENDRA REDDY-08N41A0458 JYOTHISHMATHI COLLEGE OF ENGINEERING AND TECHNOLOGY,TURKAPALLY.
Software Architecture of Sensors. Hardware - Sensor Nodes Sensing: sensor --a transducer that converts a physical, chemical, or biological parameter into.
Application Case Study Christmas Lights Controller
Introduction to the Orbit Edu Board
BLUETOOTH Personal Area Networking [ PAN ] over Bluetooth
Position and Topology Estimation in Bluetooth Ad-hoc Networks
Presentation transcript:

Bluetooth Smart Nodes for Mobile Ad-hoc Networks Jan Beutel Computer Engineering and Networks Lab December 17, 2002 Computer Engineering and Networks Laboratory

2 ETH Zurich December 17, 2002 Overview Why have a Prototyping Platform? Short introduction to Bluetooth Concepts BTnode hardware features System Software Pro’s and Con’s – Competitor systems Getting started on prototyping – ISP programming Demo applications

3 ETH Zurich December 17, 2002 A device supporting Bluetooth … Magnitudes smaller than a PDA … … but equally flexible and programmable.

4 ETH Zurich December 17, 2002 Ad-hoc networking today Almost no (large) ad-hoc systems around Playing with multihop on WLAN (Mobihoc, Mobicom) NS-2 plots get boring in the long run –Specific MAC layer problem analysis So why is nobody doing the real thing? Bulky Short standalone operating times Hard to manage multitude of devices Limitations on features and communication front-ends Often only point to point SDK’s only for selected “customers”

5 ETH Zurich December 17, 2002 RF Baseband Audio L2CAP The Bluetooth Protocol Stack Link Manager RFCOMM Host Controller Interface SDP... Applications on module on host Bluetooth TCP/IPOBEX

6 ETH Zurich December 17, 2002 Bluetooth Profiles Vertical slices of the complete protocol specification Application and hardware specific tailoring Guarantee interoperability RF Baseband Audio L2CAP Link Manager RFCOMM Host Controller Interface SDP... Applications TCP/IPOBEX HeadsetPPP dialup… other

7 ETH Zurich December 17, 2002 Host Controller Interface Standard interface for protocol software that resides on the host processor to access the lower levels of the protocol stack in an attached Bluetooth hardware module HCI_COMMAND HCI_EVENT Lower protocol layers on the Bluetooth module Higher protocol layers on the host processor of the Bluetooth device Physical interface (e.g., USB, RS-232, UART) passes traffic and control signals Host Controller Interface RF Baseband AudioLink Manager L2CAP SDP Applications RFCOMM... UART OGF OCFPARAMETERS

8 ETH Zurich December 17, 2002 Bluetooth Connections Managed by the host controller Statemachine for each connection Link Layer Control & Adaptation (L2CAP) –connection-oriented & connectionless data –protocol multiplexing for a single “air interface” –packet segmentation & reassembly –channel abstraction RF Baseband AudioLink Manager RFCOMM Host Controller Interface SDP... Applications L2CAP Connected Disconnected Req DiscReq Conn

9 ETH Zurich December 17, 2002 Bluetooth Piconets Communication organized in piconets –controlled by one master –up to 7 active slaves –255 inactive (parked) slaves Master-Slave –Implements centralized control –Synchronization of all slaves –Only master-slave communication Multiple piconets –separate channels –no coordination S1’’S2’’ S3’’ M’’ Bluetooth S1 S2 S3 M S2' S1' M'

10 ETH Zurich December 17, 2002 Bluetooth Scatternets S2' M1‘ = S4 S1 S2 S3 M1 Using gateway nodes No coordination Role switch necessary Problem: –Synching to two FH piconets –Slave is invisible when connected –Hidden station –Protocol complexity Networking has not yet been defined and is up to the application –Draft for Bluetooth Spec. 1.2 S1’’S1’ = S2’’ S3’’ M’’

11 ETH Zurich December 17, 2002 Advantages and Caveats All digital high level interfaces Standard interfaces, available on many platforms 100’s kbit/sec data rates Advanced protocol features Power consumption, Price –Is showing significant improvements HW and firmware bugs and features –Access to developer information Connectivity (max. 8 nodes per piconet) Complex to handle, mostly because of connection orientated nature, QoS and security issues Inquiry and connect takes long –Draft for Bluetooth Spec 1.2 has a new scheme here

12 ETH Zurich December 17, 2002 Hardware Requirements Autonomous wireless communication and computing platform based on a Bluetooth radio module and a microcontroller. Requirements: Small form factor, low component count Standardized wireless interface Flexible and cost effective deployment of large quantities of networking nodes

13 ETH Zurich December 17, 2002 BTnode hardware details Atmel ATmega 128l MCU 8-Bit RISC (max. 8 MHz ~8MIPS) Real time clock 128 kB Flash ROM 64 kB SRAM 4 kB EEPROM Generic sensor interfaces UART and I2C data interface Power and frequency management Ericsson Bluetooth radio Integrated PIFA antenna

14 ETH Zurich December 17, 2002 Designing for power aware operation Features Single power supply (3.6 – 16 V), single internal voltage (3.3 V) MCU with 6 power down modes Frequency scaling: 7.3 MHz - 57 kHz Battery charge indicator Direct current access shunts for all components Optional switchable power supply for Bluetooth module Internal Vcc available at every connector to power external sensor modules Power 3.3V, 7.3 MHz [mW]max.typ. Lifetime [h]* Bluetooth Connected/CPU On Bluetooth Idle/CPU On Bluetooth Off/CPU Idle Bluetooth Off/CPU Sleep6< *on 840 mAh Li-ion

15 ETH Zurich December 17, 2002 More performance specs 40 mm 61 mm First prototype series Bill of material50 parts Parts90 CHF Assembly15 CHF Bluetooth 65 CHF Unit 200 units170 CHF ClassCost [$] Size [cm 3 ] CPUFreq [MHz] Storage [Mbyte] Memory [Mbyte] Bandwidt h [Mbit/sec] PC Pentium PDA XScale BTnod e 11012ATmega 128l

16 ETH Zurich December 17, 2002 System software architecture Lightweight OS made up of device drivers and dispatcher for scheduling Low level interrupt driven drivers and libraries for peripherals and interfaces Event driven application model facilitates coarse grained cooperative multithreading 30 kB code size in ROM, 1-2 kB in RAM (with 128 byte UART buffers)

17 ETH Zurich December 17, 2002 Mulitple drivers and the dispatcher received_irq() Hardware System software void handler( /*... */ ) {} void main() { btn_disp_ev_reg( RECEIVE_EV, handler, 0 ); btn_disp_run(); } Application Driver handler() read buffer event buffer Dispatcher EVENT, handler func RECEIVE_EV, handler() OTHER_EV, func2() btn_disp_run() RECEIVE_EV handler() read()

18 ETH Zurich December 17, 2002 Getting going on BTnodes … Documentation available on the Web –Design documents –API documentation –Links –Mailing list Software development tools –Gnu toolchain –avr-gcc, avr-libc, downloader, gdb –Available for Linux, Windows and Mac OS X BTnode System Software –Snapshot packages and CVS repository.c.o.elf.hex.o.a

19 ETH Zurich December 17, 2002 Required hardware In system programmer –Atmel AVR ISP –or STK500 RS-232 level converter Some cables –Programming cable –UART cable –2 x serial 9 pin A BTnode hackfest.hex or

20 ETH Zurich December 17, 2002 Developer debugging support Serial programming on UART using ISP Reset button 4 LED’s JTAG interface Serial console for debugging output printf() Example programs in the BTnode system software Linux emulation of BTnode system Bootloader resident in Flash memory –Remote update of the bootcode via Bluetooth link –Use of extra SRAM blocks as cache

21 ETH Zurich December 17, 2002 How fast is it to get going? Smart Its Hackfest SW install ½ h First steps on helloworld.c ½ h Own program ½ h Under 2 hours for 15 newcomers this November in Zurich

22 ETH Zurich December 17, 2002 A look at our competitors UC Berkeley Motes (Culler et al.) Microsoft wake-on wireless (Bahl) Motes and IPAQ’s (Estrin) UCLA i-Badge (Srivastava) UCLA/WINS/Rockwell nodes (Srivastava) Picoradio testbed (Rabaey) Amorphous Computing - Pushpins (MIT) ParkTab (Weiser) Active Bat, Piconet (Hopper et al.) TeCo Smart It’s (Beigl) Wireless LAN Pagers “Garage door opener” radio systems Infineon/Ericsson Bluetooth ROK module with SDK

23 ETH Zurich December 17, 2002 UCB Motes compared Less I/O and memory Originally had a different host CPU, now ATmega128 Different radio frontend –Baseband and MAC processing on host CPU –Much more fine grained RTOS –Any application development requires RT systems know-how –No interface to other wireless enabled appliances TinyOS has shown to be pretty hard to get started on –Public documentation has not been good –Difficult “non standard” design flow –Development out of operating system research for ES Lot’s of visionary stuff and showcases, not much system documentation

24 ETH Zurich December 17, 2002 Demo App: Bluetooth enabled Appliances Btnodes can communicate with other Bluetooth enables devices using standard Bluetooth profiles for SMS (AT Commands) and object push (OBEX). BTnode enabled Egg Carton SMS from Egg Carton Interactive Dialog F. Siegemund. Spontaneous interaction in ubiquitous computing settings using mobile phones and SMS. Ubicomp 2002.

25 ETH Zurich December 17, 2002 Demo App: Better Avalanche Rescue through Sensors Avalanche victims fatalities 0-15min: 8% fatalities 15-35min: most victims suffocate 35-90min: 27% survive with air pockets min: suffocation even with air pockets >130min: 3% survive e.g. air channels Today’s beacon technology very crude periodical pulses: the louder, the closer 457kHz, 0.1W 80m range  time really matters!

26 ETH Zurich December 17, 2002 #7 #2 #4 # m No Airpoc ket Demo App: Better Avalanche Rescue through Sensors 2 orientation, mobility air pocket detection heart rate, oxygen saturation oxygen sensor accelerometer Inclination oximeter F. Michahelles, B. Schiele. Better rescue through sensors. Ubicomp 2002.

27 ETH Zurich December 17, 2002 Demo App: Physical Activity Detection Network Use multiple motion sensors for context awareness Idea: Many sensors reveal „more context“ Architecture required to combine those sensors Map hierarchical topology to human body P. Lukowicz et al. WearNET: A distributed multi-sensor system for context aware wearables. Ubicomp 2002.

28 ETH Zurich December 17, 2002 Demo App: WURM - Wearable Unit with RC Modules WURM hardware architecture CPU for: –legacy C-code, binary only code –low-intensity, background tasks Reconfigurable unit for: –high-performance tasks –low-power tasks Case study: Bluetooth/Ethernet-Bridge IP access point for WURM modules using Btnodes Soft CPU (LEON, 32bit SPARC) HW minimal TCP/IP stack HW Ethernet MAC C. Plessl et al. Reconfigurable hardware in wearable computing nodes. ISWC 2002.

29 ETH Zurich December 17, 2002 Demo App: XHOP/R-DSR Multihop Network Bluetooth multihop source routing prototype integrated scalable application protocol based on Dynamic Source Routing (CMU) routing across piconet borders to support >8 nodes Remote topology discovery Script like command language in the payload

30 ETH Zurich December 17, 2002 The road to 3G Shrinking the design by advanced packaging technology –Next generation packaging saves 30-50% on component area –I/O and antenna become the size constraints Check for feasibility of ROK module with embedded Arm and SDK? Power – drop Vcc to 3.0 and beyond Implement adaptive power/frequency control in software Remote programming, debugging and management functions Custom radio frontend? Multiple frontends?

31 ETH Zurich December 17, 2002 Who is using BTnodes today? Successful deployment of 200 units with 12 groups worldwide DSG, ETH Zurich PCCV, ETH Zurich Computing Department, Lancaster University, UK TecO, University of Karlsruhe, Germany PLAY, Interactive Institute, Sweden VTT, Finland TIK, ETH Zurich IFE Wearable Lab, ETH Zurich NTTDoCoMo, Munich, Germany (Anthony Terlano) Ptolemy Group, UC Berkeley, USA (Jörn Janneck) Art of Technology, Zurich, Switzerland (Michael Scheffler) DistLab, Diku, Copenhagen, Denmark (Philippe Bonnet)

32 ETH Zurich December 17, 2002 Acknowledgements Oliver Kasten (DSG) Matthias Ringwald (DSG) Matthias Fries (IFH) Frank Siegemund (DSG) Florian Michahelles (PCCV) Holger Junker (IFE) Christian Plessl (TIK) Our students –Urs Frey –Urs Bär –Peter Fercher, Egon Burgener –Lars Wernli, Riccardo Semadeni –Lukas Karrer, Thomas Moser The Btnodes have been developed in cooperation with the Smart Its Project that is part of the EU Disappearing Computer Initiative.

33 ETH Zurich December 17, 2002 BTnode Resources Web page its/btnode.html Mailing list