Final Presentation

684 views

Published on

Master thesis presentation

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
684
On SlideShare
0
From Embeds
0
Number of Embeds
42
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Final Presentation

  1. 1. Master Thesis Final Presentation Muzzamil Aziz Chaudhary (Exchange Student, KTH) [email_address] Chair of Communication Networks RWTH Aachen University, Germany Thursday, Oct 30, 2008 Embedded Mobile Web Services for Sensor Equipped Ultra-low cost Short-ranged Mobile Terminals
  2. 2. Agenda <ul><li>Motivation </li></ul><ul><li>Proposed Solution </li></ul><ul><li>Sun Small Programmable Object Technology (Sun SPOT) </li></ul><ul><li>Middleware Deployment on Sun SPOT </li></ul><ul><li>Mobile Web Services in Health Care Scenario </li></ul><ul><li>Performance: Power Consumption Evaluation </li></ul><ul><li>Conclusion and Outlook </li></ul><ul><li>Demo </li></ul>
  3. 3. 1. Motivation <ul><li>P2P Mobile Web Services are not limited to mobile phones </li></ul><ul><li>i.e. based on user interaction </li></ul><ul><li>Embedded Mobile Web Services can be developed to perform continuously running complex back-end processes </li></ul><ul><ul><li>Such high valued Mobile Web Services demand cost efficient hardware platform in terms of power, Storage and Processing </li></ul></ul><ul><ul><li>Context-aware Embedded Mobile Web Services require sensing capabilities </li></ul></ul><ul><li>within an embedding terminal </li></ul><ul><ul><li>No existing framework/API to develop and manage context-aware Mobile Web </li></ul></ul><ul><li>Services for cost efficient mobile terminals during execution phase </li></ul><ul><li>Not all Mobile Web Services need to be long ranged e.g. In-Car Network/Home network use-case </li></ul><ul><ul><li>Requirements of a low cost standardized short range communication for such </li></ul></ul><ul><li>Mobile Web Services arise </li></ul><ul><li>A platform is required to remotely manage such sensor equipped ultra-low cost mobile terminals and their embedded Mobile Web Services </li></ul>
  4. 4. 2. Proposed Solution <ul><li>Deployment of long and short lived Mobile Web Services </li></ul><ul><li>framework on cost efficient Sun Small Programmable Object </li></ul><ul><li>Technology (Sun SPOT) Mobile Nodes </li></ul><ul><li>Development of context-aware Mobile Web Services as </li></ul><ul><li>an embedded or back end process of Sun SPOT terminals </li></ul><ul><li>Develop an IEEE 802.15.4 (WPAN) based reliable and unreliable protocol </li></ul><ul><li>bindings for low cost short ranged communication of Mobile Web Services </li></ul><ul><li>Design of a Remote Management Platform to control and monitor nodes and </li></ul><ul><li>embedded Mobile Web Services at run-time. </li></ul>
  5. 5. 3. Sun SPOT (Small Programmable Object Technology) (1/2) <ul><li>Processor Board: </li></ul><ul><li>180 MHz 32 bit ARM920T core - 512K RAM/4M Flash </li></ul><ul><li>2.4 GHz radio with integrated antenna </li></ul><ul><li>Sensor Board: </li></ul><ul><li>2G/6G 3-axis accelerometer </li></ul><ul><li>Temperature sensor </li></ul><ul><li>Light sensor </li></ul><ul><li>8 tri-color LEDs </li></ul><ul><li>2 momentary switches </li></ul><ul><li>5 general purpose I/O pins and 4 high current output pins </li></ul>
  6. 6. 3. Sun SPOT (Small Programmable Object Technology) (2/2) <ul><li>Operating modes and Power Consumption : </li></ul><ul><li>3.7V rechargeable 720 mAh lithium-ion battery </li></ul><ul><li>Run mode: 70ma to 120ma (10.28 to 6 hrs) </li></ul><ul><li>Idle Mode (Shallow sleep): 44ma (16.36 hrs) </li></ul><ul><li>Deep Sleep: 32uA (22500 hrs/ 937.5 days/2.6 years </li></ul><ul><li>Approx) </li></ul><ul><li>Radio ’ s Standard IEEE 802.15.4: </li></ul><ul><li>Conceives a low cost, low speed 10-meter communications </li></ul><ul><li>area with a transfer rate of 250 kbit/s. </li></ul><ul><li>Two types of connections: RadioStreams and Radiograms </li></ul><ul><li>Security </li></ul><ul><li>Public Key Cryptography </li></ul><ul><li>Algorithm: Elliptical Curve Cryptography (ECC) rather RSA . </li></ul>Run Idle Deep Sleep Idle more than 2 Sec Short sleep Request Interrupt alarm Interrupt alarm Button pressed 3 Sec Application Network MAC (802.15.4) Physical (802.15.4)
  7. 7. 4. Middleware Deployment on Sun SPOT <ul><li>IMP compatible Middleware </li></ul><ul><li>SOAP binding for IEEE 802.15.4 </li></ul><ul><li>Sensor oriented Mobile Web Services </li></ul>
  8. 8. 5. Mobile Web Services In Health Care (Requirements) <ul><li>Service Classification: </li></ul><ul><li>Equipment Sensing Services: Ventilation, Oxygen equipment, Cardio </li></ul><ul><li>Patient Sensing Services: Temperature, Breath, Blood Pressure, Movement </li></ul><ul><li>Environment Sensing Services: Light, Room temperature, Noise </li></ul><ul><li>Architectural Requirements: </li></ul><ul><li>Short Lived, Long lived: Synchronous (Service Discovery) , Asynchronous (Dynamic Management) </li></ul><ul><li>Less traffic More Work: Possible with Service composition e.g. Root Node stops all </li></ul><ul><li>Remote Accessibility: Local Network, Internet </li></ul><ul><li>Multiple Actors </li></ul><ul><ul><li>Groups: per doctor staff </li></ul></ul><ul><ul><li>Rights: Local Operations (manage accounts and Sun SPOT), Synchronous and Asynchronous Operations </li></ul></ul><ul><ul><li>Logs: Activity Tracking </li></ul></ul>
  9. 9. 6. MEDICARE (Scenario and Prototype) Long/Short MWS framework Syn Soap Req: GetAvailableServices Base Station Root Node Long/Short MWS framework Long/Short MWS framework Syn Soap Res: Temp, Acc & Light Syn Soap Req: GetAvailableServices Syn Soap Res: Temp, Acc & Light System Initialization (Synchronous Operation) Setup (Asynchronous Operations) Asyn Soap Req: Create Service Asyn Soap Res: Service Created Asyn Soap Req: Create Service Asyn Soap Res: Service Created Child Node Setup/Stop All (Service Composition) Asyn Soap Req: Stop All Asyn Soap Req: Stop Service Asyn Soap Res:Service Stopped Asyn Soap Res: All Stopped Data Representation and Management (Asynchronous Operations) Asyn Soap Res: Sensor StateChanged Rs Asyn Soap Req: Sensor StateChanged Rq Asyn Soap Res: Sensor StateChanged Rs Asyn Soap Req: Sensor StateChanged Rq <ul><li>Service Discovery </li></ul>Less traffic More Work Setup Includes Service Composition Services Discovered Asynchronous Operations Create Service Select and View Service Remove Service Switch Monitoring Pause Service Stop Service Analyze Results Local Operation Sensor Data Representation Asynchronous Ops
  10. 10. 7. Performance (Power Consumption Evaluation) (1/2) <ul><li>Power = Current Consumption * Voltage Supplied </li></ul><ul><li>Voltage = 3.7 V ( 720 mAh lithium-ion battery ) </li></ul><ul><li>Current Measurement: </li></ul><ul><li>Hardware Method: </li></ul><ul><ul><li>An Ammeter is attached in series to Sun SPOT </li></ul></ul><ul><ul><li>battery </li></ul></ul><ul><li>Sotware Method: </li></ul><ul><ul><li>IPowerController Interface </li></ul></ul><ul><ul><ul><li>getIdischarge(); </li></ul></ul></ul><ul><ul><ul><li>getIMax(); </li></ul></ul></ul>Battery Sun Spot Ammeter
  11. 11. 7. Performance (Measurement Verification) (2/2)
  12. 12. 8. Power Optimization (eSPOT Main Board) (1/5) Microcontroller (Power Controller) Wireless Radio Processor Flash
  13. 13. 8. Power Optimization (Radio OFF) (2/5) <ul><li>Current Consumption: </li></ul><ul><li>Rx = 19.7 ma * </li></ul><ul><li>Tx = 17.4 ma * </li></ul><ul><li>Power Consumption (Rx) = 19.7 * 3.7 </li></ul><ul><li>= 72.89 mW </li></ul><ul><li>Power Consumption (Tx) = 17.4 * 3.7 </li></ul><ul><li>= 64.38 mW </li></ul><ul><li>* http://focus.ti.com/docs/prod/folders/print/cc2420.html </li></ul>
  14. 14. 8. Power Optimization (Sensor Board) (3/5) 8 tri Color LEDs Accelerometer Light Sensor Flash Temp Sensor
  15. 15. 8. Power Optimization (LEDs OFF) (4/5) 20 % Optimization
  16. 16. 8. Power Optimization (Recommendations) (5/5) <ul><li>Switch to Shallow sleep Mode at Startup </li></ul><ul><ul><li>Current consumption = 44 mA </li></ul></ul><ul><ul><li>Battery life: 16.36 hrs </li></ul></ul><ul><li>Reducing data Payload by REST architecture </li></ul><ul><li>Datagrams can reduce the RTT </li></ul>
  17. 17. 9. Conclusion & Outlook <ul><li>Conclusion: </li></ul><ul><li>IMP compatible middleware </li></ul><ul><li>SOAP binding for IEEE 802.15.4 </li></ul><ul><li>Sensor-oriented Mobile Web Service to fetch real-time data </li></ul><ul><li>MEDICARE </li></ul><ul><li>Role-base service composition </li></ul><ul><li>Power consumption: approx 20% optimized from initial measurements. </li></ul><ul><li>Sun SPOT running time: about 12 hours </li></ul><ul><li>Outlook: </li></ul><ul><li>More sensing capabilities by attaching external devices </li></ul><ul><li>MEDIACRE web server to provide access over Internet </li></ul><ul><li>REST architecture can be deplo yed </li></ul>
  18. 18. <ul><li>DEMO </li></ul><ul><li>Muzzamil Aziz Chaudhary </li></ul><ul><li>[email_address] </li></ul>
  19. 19. <ul><li>Thank you for your attention ! </li></ul><ul><li>Muzzamil Aziz Chaudhary </li></ul><ul><li>[email_address] </li></ul>

×