A Logic Block Enabling Logic Configuration by Non-Experts in Sensor Networks Susan Cotterell and Frank Vahid * Department of Computer Science and Engineering.

Slides:



Advertisements
Similar presentations
Frank Vahid, UC Riverside 1 First Results with eBlocks: Embedded Systems Building Blocks Susan Cotterell, Frank Vahid*, Walid Najjar and Harry Hsieh Department.
Advertisements

Digitally-Bypassed Transducers: Interfacing Digital Mockups to Real-Time Medical Equipment Scott Sirowy*, Tony Givargis and Frank Vahid* This work was.
Feature Extractors for Integration of Cameras and Sensors during End-User Programming of Assistive Monitoring Systems Alex Edgcomb Frank Vahid University.
Sahar Mosleh PageCalifornia State University San Marcos 1 Introductory Concepts This section of the course introduces the concept of digital circuits and.
Applications and Experiments with eBlocks – Electronic Blocks for Basic Sensor-Based Systems Susan Cotterell*, Kelly Downey ŧ, Frank Vahid *¥ * Department.
Programmable Logic Controllers
1 The University of Jordan Mechatronics Engineering Department PLC: Programmable Logical Controller.
Blogics! It’s a logic circuit simulator aimed at beginners. It introduces simple concepts in the design of interactive physical computing systems such.
Automated Generation of Basic Custom Sensor-Based Embedded Computing Systems Guided by End-User Optimization Criteria Susan Lysecky Dept. of Electrical.
Frank Vahid, UC Riverside 1 First Results with eBlocks: Embedded Systems Building Blocks Susan Cotterell, Frank Vahid*, Walid Najjar and Harry Hsieh Department.
EBlocks: Enabling Design of Basic Embedded Systems by Novice Users Susan Lysecky Dept. of Electrical and Computer Engineering University of Arizona
1 Electronic Blocks -- The “Wood and Nails” of Sensor-Based Embedded Systems Frank Vahid Professor Dept. of Computer Science & Engineering, University.
System Synthesis for Networks of Programmable Blocks Ryan Mannion, Harry Hsieh, Susan Cotterell, Frank Vahid * Department of Computer Science and Engineering.
EBlocks -- Electronic Building Blocks for Everyone Frank Vahid Professor Computer Science and Engineering University of California, Riverside (Also with.
SensorBlocks: The Wood-and-Nails of the Electronic Sensor World Frank Vahid* Department of Computer Science and Engineering University of California, Riverside.
Embedded Systems: Supercomputing in a Pencil Tip Frank Vahid* Department of Computer Science and Engineering University of California, Riverside
EBlocks – Electronic Building Blocks for Sensor-Based Systems Frank Vahid Professor Dept. of Computer Science and Engineering University of California,
Digital Design Copyright © 2006 Frank Vahid 1 Digital Design Slides to accompany the textbook Digital Design, First Edition, by Frank Vahid, John Wiley.
You Can Do It – eBlocks Enabling Regular People to Build Useful Customized Sensor-Based Systems Frank Vahid Professor Dept. of Computer Science and Engineering.
Energy Smart Room GROUP 9 PRESENTERS DEMO DATE SPECIAL THANKS TO ADVISOR PRESENTERS Thursday April 19, 2007 Department of Electrical and Systems Engineering.
V900 GSM remote Camera Introduction Digital Imaging Solutions. July
Introduction To Wireless Sensor Networks Wireless Sensor Networks A wireless sensor network (WSN) is a wireless network consisting of spatially distributed.
Wireless Networking 102.
Digital Design - Combinational Logic Design Chapter 2 - Combinational Logic Design.
Integrated Systems Programming Embedded Systems And Systems Integration.
PLC introduction1 Discrete Event Control Concept Representation DEC controller design DEC controller implementation.
PLC: Programmable Logical Controller
Adapted for STLP Camp ‘09 Mobile Robots Why do robots need to move?
 eBlock is an electronics block.  It can define as embedded system building block used in sensor based system.  Enable non-experts to build basic small-scale.
Usability of State Based Boolean eBlocks Susan Cotterell and Frank Vahid * Department of Computer Science and Engineering University of California, Riverside.
Module 1: Introduction to PLC
Wired Home Security Technologies Wired alarm systems require basic electrical wiring that extends from the control panel and keypad to door and window.
University of Toronto Department of Computer Science © Steve Easterbrook. This presentation is available free for non-commercial use with attribution.
ENGG1100 Ch5: Introduction To Engineering Design (Digital Logic) Part 1 of digital logic KH WONG ENGG1100. Ch5-Digital Logic (v3e2)1.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.
LOGIC GATES.
EDUCAUSE 2005 Annual Conference October 19, 2005.
EGR101-34R "lecture on hardware- software" FB 7/10/2004 Digital Electronics Logic Gates Logic gates work with the voltage level of the signals. They are.
College of Engineering Anchor Nodes Placement for Effective Passive Localization Karthikeyan Pasupathy Major Advisor: Dr. Robert Akl Department of Computer.
Beath High School - Int 1 Physics1 Intermediate 1 Physics Electronics Glossary AND gate to device digital signals to inverter LDR to logic circuit logic.
July 7, 2003 Slide 1 of 6 Automation, Robotics and Mechatronics Lab, SUNY at Buffalo Introduction To Programming Chetan Jadhav Talib Bhabharawala Seung-Kook.
Wireless TL70 Sure Cross ® Wireless TL70 Tower Lights combine the best of Banner’s popular Tower Light family with the reliable, field-proven, Sure Cross.
Student Name USN NO Guide Name H.O.D Name Name Of The College & Dept.
Background Real-time environmental monitoring is a field garnering an ever-increasing amount of attention. The ability for sensors to make and publish.
EBlocks – An Enabling Technology for Basic Sensor Based Systems Susan Cotterell, Ryan Mannion, Frank Vahid *, Harry Hsieh Department of Computer Science.
Codesigned On-Chip Logic Minimization Roman Lysecky & Frank Vahid* Department of Computer Science and Engineering University of California, Riverside *Also.
Final Year Project(EPT4046) Development of an internet controlled Surveillance Mobile Robot By Mimi Madihah Bt Mohd Idris Id: BACHELOR OF ENGINEERING.
Scott Sirowy, Chen Huang, and Frank Vahid † Department of Computer Science and Engineering University of California, Riverside {ssirowy,chuang,
COE 200 Fundamentals of Computer Engineering Instructor: Syed Z. Shazli
On-Chip Logic Minimization Roman Lysecky & Frank Vahid* Department of Computer Science and Engineering University of California, Riverside *Also with the.
MECH 1500 Chapter 4. MECH 1500 The Binary Concept 4.1.
ORT Braude College – Software Engineering Department WristQue: A Personal Sensor Wirstband Brian D. Mayton, Nan Zhao, Matt Aldrich, Nicholas Gillian, and.
DIVISIONSPECIFICATION INPUT POWER DC 24V / 1.25A ※ Power supply from the floor distributor is not available. MAX POWER CONSUMPTION Max 30W VOICE CONVERSATION.
Turning Off the lights Simples!!!. The Switch Person leaves the room – turn off the lights Its that simple but! So why do lights get left on? Who is responsible?
Blue Eye Technology By: ARUN DIXIT. CONTENTS Motivation What is BlueEye technology ? What is BlueEyes ? System designing System overview DAU CSU IBM research.
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
Sensors Control Systems with Flowol.
Datum UC30 – Ultrasonic Sensor Market Introduction Name.
Datum UM12 – Ultrasonic Sensor Market Introduciton Name.
Programmable Logic Controllers (PLCs) An Overview.
Doing some Boolean: On/Off
How Boolean logic is implemented
Learn… Create… Program
Sensors and Logic Switches
Learn… Create… Program
Learn… Create… Program
Learn… Create… Program
System Synthesis for Networks of Programmable Blocks
724 Temperature Calibrator
Presentation transcript:

A Logic Block Enabling Logic Configuration by Non-Experts in Sensor Networks Susan Cotterell and Frank Vahid * Department of Computer Science and Engineering University of California, Riverside {susanc, * Also with the Center for Embedded Computer Systems at UC Irvine This work is being supported by the National Science Foundation and a Department of Education GAANN Fellowship

2 of 15 Introduction  Sensor networks are emerging as an important general computing domain Small inexpensive battery-powered sense and compute nodes Tens to thousands of nodes Wired or wireless communication Stringent requirements (power, cost, size) Military Applications Medical Monitoring Environmental Monitoring Home Automation Structure/Building Monitoring

3 of 15  Potential sensor network application developers may not be computer programmers Instead, engineers, scientists, office workers, homeowners, etc.  Existing programmable nodes Flexible, but require programming  Existing off-the-shelf end applications Specialized, so hard to customize Expensive due to small volumes  Our solution – eBlocks Enables non-programming users to create simple but useful customized sensor network applications Introduction Photo: Jason Hill Flexible, hard to program Easy to use, inflexible

4 of 15 eBlocks Overview Function of each block is pre-defined Block types: Sensors – motion, light, contact, etc. Output – led, electric relay, beeper, etc. Compute – logic, prolong, toggle, etc.  Basic configuration required (dials, switches) Communicate – wireless point-to-point link Boolean Blocks Outputs yes/no/error Future implementations - Integer Users connect blocks to create working customized application CODES/ISSS’03, SECON’04, DATE’05, SPOTS’05, HCII’05 Light Sensor yes/no Magnetic Contact Switch yes/no Button yes/no Motion Sensor yes/no 2-Input Logic yes/no Tripper yes/no Toggle yes/no Electric Relay yes/no LED yes/no

5 of 15 2-Input Logic Configure Logic Block to turn led on when it’s night and when door is open A’B’ Need a function of light sensor output and contact switch output – use Logic Block 2-Input Logic Creating an application with eBlocks  Create an application to detect if the garage door is left open at night Light Sensor We want to detect night – use light sensor Light Sensor Magnetic Contact Switch We want to know if garage door open – use contact switch Magnetic Contact Switch 2-Input Logic A’B’ LED Need something to indicate garage open at night – use led LED Plug pieces together and the system is done!

6 of 15 Building eBlocks Systems  The same basic blocks can be used in a variety of applications 2-Input Logic A’B’ Light Sensor Magnetic Contact Switch LED Garage Door Open At Night Detector Motion on Property Detector Motion Sensor 2-Input Logic A+B Prolonger Beeper Sleepwalker at Night Alarm Tripper Motion Sensor 2-Input Logic A’B Light Sensor Button Beeper Animal Videoing System Motion Sensor 2-Input Logic A+B Prolonger eBlock to Camera Interface Light Sensor Many of these system utilize a logic block

7 of 15  Original logic block was simply a truth table Select desired output for each input condition, by moving a switch  Informal experiments to test general usability of eBlocks Users unable to configure the logic block successfully  Need for a better logic block interface Blocks must be self-explanatory Users prefer exploratory learning [Gammon, 1999][Sikorski, 1998] Motivation ABOutput noyesno yesnoyes noyes no yes Logic Block configurable DIP switch

8 of 15 Written Experiments – Truth Table  Written experiment given to students Typical majors include psychology, business, etc.  Randomly distributed 3 different versions of quiz Each contained same introduced and asked students to configure the logic block motion sensor light sensor Logic block B A yes = motion detected no = no motion detected yes = light detected no = no light detected

9 of 15 Low success rates -- was it the use of variable names? Used English instead of variables – slightly better, but results still poor. Also checked to see if writing out the equation helps -- still yielded poor results. Written Experiments – Truth Table QuestionTruth table with variables (11 students) Truth table with English (9 students) Boolean equations (9 students) Motion at night36%22%11% Motion0%56%0% Motion at night or no motion in day 0%22%0% Motion or night0%11%0% Detect motion at night? A A A’ B B’ B Detect motion at night? motion no motion light no light light no light What would be the corresponding equation needed to detect motion at night (i.e. F=ab+a’b)? F = Gave same truth table quiz (w/variables) to six students in digital design course 90%Motion or night 90%Motion at night or no motion in day 90%Motion 100%Motion at night Truth table with variables (6 students) Question

10 of 15 eBlock Simulator  Developed eBlock simulator to aid in testing Enables wider participation Allows students to test resulting behavior of configured system Self-contained instructions, to prevent variations due to administrator

11 of 15 Logic sentence outperforms table based blocks Color seems to help truth table based blocks Simulator Experiments  Defined new “improved” versions of the logic block  Simulator instantiated blocks, users simply needed to configure logic block  Students were non-engineering majors Comprised mostly of business, history, dance, etc.  Allotted 15 minutes for quiz QuestionPhrased truth table (33 students) Phrased truth table embedded in sentence (30 students) Colored truth table embedded in sentence (32 students) Logic sentence (32 students) Daytime Doorbell (AB) 15%20%22%38% Garage open at night (A’B’) 16%13%25%19% A B Combine A is yes, B is yes A is yes, B is no A is no, B is yes A is no, B is no The output shouldbe yes when: yes no: Phrased truth table yes no the output should be AB When the input is out Combine A is yes, B is yes A is yes, B is no A is no, B is yes A is no, B is no Phrased truth table embedded in sentence yes no The output should be When the input is out AB AB AB AB AB Combine Colored truth table embedded in sentence Combine AND OR yes no When A is yes no B is then the output is yes Logic Sentence

12 of 15  When consider close to correct responses (1 switch wrong), logic sentence shows better success rate  Logic sentence is slightly better  Motion on property, a more difficult problem, shows a better success rate Simulator Experiments yes no The output should be When the input is out AB AB AB AB AB Combine Colored truth table embedded in sentence Combine AND OR yes no When A is yes no B is then the output is yes Logic Sentence  Tested top two designs on students in an introduction to programming course  Simulator instantiated blocks, users simply needed to configure logic block  Allotted 15 minutes for quiz QuestionColored truth table embedded in a sentence (15 students) Logic Sentence (17 students) Daytime doorbell (AB) 47% (47%)47% (71%) Nighttime doorbell (AB’) 33% (52%)41% (76%) Motion on property (A+B) 33% (33%)65% (71%) 92% (100%)42% (67%)Daytime doorbell (AB) Logic Sentence (13 students) Colored truth table embedded in a sentence (12 students) Question  Had students in second course in programming try out the two blocks interfaces  Logic sentence success rate even more pronounced

13 of 15 Simulator Experiments 63% (63%)Motion on property (A+B) 50% (38%)Nighttime doorbell (AB’) 69% (77%)63% (69%)Daytime doorbell (AB) Intermediate Students (13 students) Non-expert students (16 students) Question Success rates for separate AND/OR/NOT blocks 65% (71%)Motion on property (A+B) 41% (76%)Nighttime doorbell (AB’) 92% (100%)47% (71%)Daytime doorbell (AB) Intermediate Students (13 students) Non-expert students (12 students) Question Success rates for logic sentence block  Also considered the use of separate AND/OR/NOT blocks versus a single logic block  Users had to instantiate these blocks within simulator  Comparable to best table based logic blocks  Logic sentence block preferable for physical implementation -- only 1 block needed Separate AND/OR/NOT blocks out A B AND out A B OR out A NOT Combine AND OR yes no When A is yes no B is then the output is yes Logic Sentence

14 of 15 Conclusions and Future Work  Presented a variety of logic block interfaces  Logic sentence best performing  Incorporating color in truth table improved table success rates; table has advantage of generality  Present/Future Work  Continue usability testing  Extend eBlocks to integer domain  Gain experience with use of eBlocks in real applications with variety of users  Pro-active healthcare (w/ Intel)  Agricultural monitoring (w/ Isca)  Environment monitoring (w/ UCR/UCLA)

15 of 15 Thank you for your attention.