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

Slides:



Advertisements
Similar presentations
INDIVIDUAL PROJECT BY R.KARTHIKMANOJ
Advertisements

1 UNIT I (Contd..) High-Speed LANs. 2 Introduction Fast Ethernet and Gigabit Ethernet Fast Ethernet and Gigabit Ethernet Fibre Channel Fibre Channel High-speed.
INTRUSION ALARM TECHNOLOGY
Configuration management
Chapter 5 Computing Components. 5-2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von.
Tuning of Loop Cache Architectures to Programs in Embedded System Design Susan Cotterell and Frank Vahid Department of Computer Science and Engineering.
Digitally-Bypassed Transducers: Interfacing Digital Mockups to Real-Time Medical Equipment Scott Sirowy*, Tony Givargis and Frank Vahid* This work was.
HWg-Juno HW group is a manufacturer of IP-based sensors from Prague, Czech republic. HWg delivers remote monitoring & control solutions.
1. Instrument Clusters Theory Support Automotive – Displays & Accessories 1 of 13 Instrument Clusters Topics covered in this presentation: Analog Instrument.
1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
Chapter 4 Gates and Circuits.
Chapter 3 (part 1) Basic Logic Gates 1.
John Ogilvie High School - CfE Physics
Lesson 2 Navigating LabVIEW
RJ Mann Catalytic Monitoring Systems. RJMCMS 100 Low Cost Single Engine Monitoring System Monitors Pre and Post Catalyst Temperatures, Differential Pressure.
Beath High School - Int 1 Physics
Chapter 5 The System Unit.
Feature Extractors for Integration of Cameras and Sensors during End-User Programming of Assistive Monitoring Systems Alex Edgcomb Frank Vahid University.
Microprocessor Motor Control Spring Introduction  Stamp projects Robots  Sensors  Motor control  Logic Rocketry  Reading acceleration (“g”
Applications and Experiments with eBlocks – Electronic Blocks for Basic Sensor-Based Systems Susan Cotterell*, Kelly Downey ŧ, Frank Vahid *¥ * Department.
Fair Use Building and Research Labs Presents
Dr. Andreas Kunz © 10/2004 inspire icvr BASICS OF ELECTRONICS.
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
ZigBee Calvin Choy David Kim Jason Chong Devin Galutira.
System Synthesis for Networks of Programmable Blocks Ryan Mannion, Harry Hsieh, Susan Cotterell, Frank Vahid * Department of Computer Science and Engineering.
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
A Logic Block Enabling Logic Configuration by Non-Experts in Sensor Networks Susan Cotterell and Frank Vahid * Department of Computer Science and Engineering.
ECE 265 – LECTURE 13 Interface to switches and LEDs 7/3/ ECE265.
2 Way FM Car Starter Dan Owens April 12, 2005 Instructor: Dr. Pao-Lo Liu Department of Electrical Engineering University at Buffalo Course Requirement.
EBlocks – Electronic Building Blocks for Sensor-Based Systems Frank Vahid Professor Dept. of Computer Science and Engineering University of California,
You Can Do It – eBlocks Enabling Regular People to Build Useful Customized Sensor-Based Systems Frank Vahid Professor Dept. of Computer Science and Engineering.
1 © 2004, Cisco Systems, Inc. All rights reserved. Wireless Access Points (WAPs) or (APs)
Energy Smart Room GROUP 9 PRESENTERS DEMO DATE SPECIAL THANKS TO ADVISOR PRESENTERS Thursday April 19, 2007 Department of Electrical and Systems Engineering.
RM2C Understanding Connections on the Robot Control Board (RCB).
Wireless Networking 102.
Ch4 Electronic Components Circuit/Schematic Symbols.
Daniel Arnett · Joseph Vanciel · Brian Krueger Advisor: Dr. Samuel Richie Sponsor: Workforce Central Florida Mentor: Sean Donovan 4 th Annual Senior Design.
 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.
Frequently Unasked Questions Loyola Blakefield Introduction to Engineering March 8, 2012 Bob Rassa, Raytheon Space & Airborne Systems
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
LOGIC GATES A logic gate is an elementary building block of a digital circuit.digital circuit Most logic gates have two inputs and one output terminals.
Beath High School - Int 1 Physics1 Intermediate 1 Physics Electronics Input, Process and Output Digital Logic Gates.
The group will focus on the design of a “smart” device. This includes researching the best method of design and fabricating the design to create a working.
CSC522 Embedded Systems Introduction to Circuit Design.
Beath High School - Int 1 Physics1 Intermediate 1 Physics Electronics Glossary AND gate to device digital signals to inverter LDR to logic circuit logic.
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.
Lab 2 page 1 ENT-DIGI-210 Lab 2 Notes ©Paul Godin Updated September 2007.
Final Year Project(EPT4046) Development of an internet controlled Surveillance Mobile Robot By Mimi Madihah Bt Mohd Idris Id: BACHELOR OF ENGINEERING.
On-Chip Logic Minimization Roman Lysecky & Frank Vahid* Department of Computer Science and Engineering University of California, Riverside *Also with the.
An introduction to PIC’s for KS3 and KS4. Mr Rooks Hetton School.
ORT Braude College – Software Engineering Department WristQue: A Personal Sensor Wirstband Brian D. Mayton, Nan Zhao, Matt Aldrich, Nicholas Gillian, and.
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
SmartCup – Team 42 Harington Lee, Chirag Patil, Arjun Sharma 1.
Power Budget Automation System Team #40 Hai Vo, Ho Chuen Tsang, Vi Tran ECE 445 Senior Design April 30 st, 2013.
D.L.PRASSANA KUMAR T.MAHENDAR SOFI SHAIK. ABSTRACT  This circuit turns on the horn of the bike to alert you of the impending theft if anybody tries to.
Application Case Study Christmas Lights Controller
Electronic Eye Controlled Security System
MUSIC TONE BASED DANCING LEDs
Logic Gates Binary Day 3 PEOPLE 2016.
RHYTHM FOLLOWING FLASH LIGHTS
Microcontroller Based Digital Code Lock
RAILWAY TRACK SNAP NOTIFICATION
System Synthesis for Networks of Programmable Blocks
Presentation transcript:

Frank Vahid, UC Riverside 1 First Results with eBlocks: Embedded Systems Building Blocks Susan Cotterell, Frank Vahid*, Walid Najjar and Harry Hsieh Department of Computer Science and Engineering University of California, Riverside *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

Frank Vahid, UC Riverside 2 Introduction – A Typical Problem Garage door

Frank Vahid, UC Riverside 3 Introduction – A Typical Problem Oops! Garage door left open at night

Frank Vahid, UC Riverside 4 Introduction – Solution: Simple Embedded System Blink LED in the bedroom if garage door is open at night Homeowner sees LED before sleep Components needed Light sensor Contact switch Logic (no light AND switch open) Wireless transmitter Wireless receiver LED light sensor contact switch AND tx rx LED

Frank Vahid, UC Riverside 5 Introduction – Solution is not so easy Find components Parts catalogs, from different vendors, many varieties Intended for specialists Read datasheets to understand components 10s to 100s of pages Intended for specialists Light sensor – no light sensor listing, its a photoresistor Light – not a light bulb but an LED (light emitting diode) There are over 80+ listing in a single catalog Use a wireless transmitter/receiver or a transceiver? Do we need a antenna or amplifier? AM or FM? Which MHz can we use given FCC regulations? What does the instruction set look like? Which pins/ports can I use? How do I specify if a pin is output or input? What are the connections – power, ground, data transmitted, data received, interface to hardware? How does transmitter/receiver work? Who does encoding/decoding? What does the encoding look like? Timing Issues? What are the connections – ground, power, data, address?

Frank Vahid, UC Riverside 6 Introduction – Solution is not so easy Program microcontrollers Software Tool Interfacing/communication Debug Hardware Breadboard or PCB Debug Other Issues... Battery drains in 2 days Need packets - requires networking skills How do I program the PIC? Which compilers can I use? How do I download/install/configure the tools? How do I interface with other components? How do I debug my program if it doesnt work? How do I read a schematic? My circuit doesnt work, now what? How do I use a multimeter or logic analyzer to debug a circuit? How do I test the circuit to ensure correctness? Am I missing other components – voltage regulators, capacitors, resistors?

Frank Vahid, UC Riverside 7 Introduction – Solution is not so easy We gave this as a project in an upper-division embedded systems university course, several years in a row Three week project Students already took courses, from various universities, involving digital design, microcontrollers, electronics, and interfacing with sensors/displays Overall, 50 students attempted the project Only 20 completed the project Problems Misunderstanding (or vague) data sheets Interfacing errors Debugging difficulties No way a regular person could build this seemingly simple, useful system Not Completed 71% Completed 29%

Frank Vahid, UC Riverside 8 Introduction – Not Just Garage Doors Home monitoring Garage door open, side fence open, visitor at front door, pool occupied Inventory Restaurants, stores, storehouses Assistance for disabled Hard of hearing (vibration when sound), vision impaired, object locators Doorbell type applications Proximity doorbell (carpoolers), temporary building usage, silent doorbells, customer detection Logging/tracking applications Log temperature, humidity, customer traffic, car speeds Ad-hoc security Voting systems Countless more applications that today either dont exist, or are too costly Low volume, or custom designed

Frank Vahid, UC Riverside 9 Introduction – Solution: Mass-produced easy-to- use monitor/control system building blocks Shrinking processor cost and size enables new solution Put intelligence in every sensor, in every output device, etc. Proposed solution Define matchbox-sized building blocks with accompanying standards, protocols, etc. Easily connected, no programming/electronics experience, battery powered Like connecting LEGOs light sensor LED contact switch logic tx rx LED light sensor light sensor tx light sensor logic tx rx LED Smart dust Getting awfully small... Courtesy of Joe Kahn

Frank Vahid, UC Riverside 10 Design Issues Categories of blocks Sensors, Outputs, Communication, Logic/Timing Presently Boolean only (yes/no); now extending to integers Presently about 10 items in each category Enough to build huge variety of systems Working iteratively with users to refine and create new blocks Definition of compute and communicate protocols Main constraints: good response, but 2-3 year battery Everything is inter-related, difficult problem Traditional separation of concerns (compute/comm., and networking layers) too inefficient Need tools to automate exploration

Frank Vahid, UC Riverside 11 Defining Basic eBlocks – Partial Catalog eBlockDiagramDescriptionInterface Magnetic Contact Switch Determines when contact between two sensors is made. yes = contact between sensors no = no contact between sensors Light Sensor Sensor detects presence of light.yes = light detected no = no light detected Button Indicates whether button is pressed or not.yes = button pressed no = button not pressed LED Device blinks a light when input is a yes. Device emits no light when input is no. yes = blink LED no = turn LED off Splitter Device receives a signal and replicates that signal on each output. yes = output yes signal no = output no signal Toggle An input of yes toggles (inverts) the current value outputted by the device. yes = toggle previous output value no = do nothing 2-Input Logic Block Configurable logic block programmed by the user via DIP switch. For each of the possible outcomes of a and b, there is a corresponding switch which can be set so the resulting output is a yes or no for that particular combination. 2-Input Logic yes/no Toggle yes/no Splitter yes/no Button yes/no Magnetic Contact Switch yes/no Light Sensor yes/no LED

Frank Vahid, UC Riverside 12 Defining Basic eBlocks – How to Implement Logic? Logic to detect motion at night Motion sensor output A = yes, light sensor output B = no Motion at night = A AND (NOT B) = A * B Equations too hard for regular person, plus how to enter it? In general, regular people very weak with logic Cant create unique eBlock for every unique 2-input logic function Create one 2-input logic block User must configure that block Solution: print truth table on block, user sets switches for each possible input Not ideal, but sufficient for now Logic A B From motion sensor From light sensor no yes A B Output no yes no yes

Frank Vahid, UC Riverside 13 Building eBlocks Systems Build the Garage Door Open at Night System Using eBlocks Plug pieces together and the system is done! Light Sensor yes/no We want to detect night – use light sensor Light Sensor yes/no Magnetic Contact Switch yes/no We want to know if garage door open – use contact switch Magnetic Contact Switch yes/no Need a function of light sensor output and contact switch output – use Logic Block 2-Input Logic yes/no Configure Logic Block to turn led on when its night and when door is open 2-Input Logic yes/no 2-Input Logic yes/no LED yes/no Need something to indicate garage open at night – use led LED yes/no

Frank Vahid, UC Riverside 14 Current Status: Working Prototypes Garage Door Open at Night (wired solution) At garage door Outside Inside house Light Sensor Magnetic Contact Switch LED 2-Input Logic Inside house LED wireless RX At garage door Outside Light Sensor Magnetic Contact Switch 2-Input Logic wireless TX Garage Door Open at Night (wireless solution)

Frank Vahid, UC Riverside 15 eBlock System Implementations Cafeteria Food Alert 2-Input Logic Splitter Toggle Button LED Button LED KitchenService Line

Frank Vahid, UC Riverside 16 Battery Lifetimes Off the shelf 9V battery Power down PIC when it is idle Use sampling techniques to reduce HW energy cost eBlocksEnergy/day (J/day)Lifetime PICHW Button years Light Sensor year LED years Green/Red LED years Beeper years 2-Input Logic Block years Toggle years Prolonger years

Frank Vahid, UC Riverside 17 eBlock Design Experiment Gave garage door project in embedded systems course 3-page eBlock catalog that included basic examples (30 minutes to read) All 22 students successfully designed the system In less than one hour Students built numerous additional designs during remaining two hours With eBlocks, 1 hour Completed 100% Without eBlocks, and 3 weeks Not Completed 71% Completed 29%

Frank Vahid, UC Riverside 18 Conclusions and Future Work eBlocks Can be used by regular people to construct useful class of embedded systems No programming or electronics experience Can be mass produced to be cost effective Boolean eBlock prototypes shown to be effective Essentially creating higher-level digital components Illusion of continuous time, but event-based packet network underneath Only recently made possible due to low-cost, low-power, tiny processors Will be useful with complementary efforts Intelligent homes, UPnP, IEEE smart sensor standard All need sensors that people can actually use Sensor networks Can serve as basic sensor input system (most research focuses on networking infrastructure) Future work Timing model definition; wireless protocol definition; power sharing methods Extend to integer eBlocks, with arithmetic blocks too; Usage experience Automatic synthesis of eBlock systems from specifications Optimization of eBlock systems; use of eBlocks as a form of spatial programming eBlocks for those with programming experience