System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web...
Transcript of System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web...
Com S/Geron 415X Gerontechnology in Smart Home
Environments
System Modeling
Dr. Hen-I Yang
Computer Science Department, ISU
March 8, 2011
Announcement
Extension:
Homework 3 due March 22 (Tues) at midnight instead of
March 17 (Thu)
Suggested Weekly Progress:
Meeting with your design counterpart
Create a list of all the modules needed for your project
Identify those already available, and those need to be implemented
Assign the group member responsible for each module needs to be
implemented
Investigate the technical details for each module
System Modeling – Abstraction
Smart Home
Controller
Database/
Hard drive
Cell phone
photo
keycard
camera
Lock
Video
Alarm
Cell phone
feedback
Why do we care about Concept of System?
To understand how the world go around
Abstraction, Modeling and
Analysis
White box/black box
To compare different
systems
To cope with complexity
To enable systematic
design methodology
Blueprint
To provide different perspectives to “frame the problem”
Basic Components of a System
system
Processor
Memory
input output
feedback
Input
Traditional Input
Keyboard, mouse, joystick, game controller
System Input
Web service, system messages, data from external databases and servers
Input of Assistive Technology
Speech (DNS), Eye-tracking
Specialized/New Input
Haptic, 3D Virtualization, Motion sensing, Wearable
Environmental Input
Sensors, cameras
Output
Traditional Output
Monitor, printer, projector, speaker
System Output
Outgoing messages, responses to requests
Output of Assistive Technology
Braille, multi-modal (auditory and visual)
New Output
Head Mounted Display, Dualshock, Tactile, Glove, Olfactory printer
Environmental Output
Lamp, stove, microwave, appliance, heater
Processor
Processing (Computation)
Deterministic
Equations
Rules
Table Look up
Probabilistic
Random
Probabilistic Models
Neural network, Bayesian network
State machines
Workflow
Open
Door
Close
Door
pull shut
pull
shut
Memory/Storage
Storage
Primary memory
Secondary memory
Tertiary memory
Persistency
Persistent memory
Temporary memory
Format
Temporary variables
Files
Database
Encrypted formats
…
Feedback
Examples
Missile Tracking
First-person Shooting Game
Baseball batting practice
Environmental Control
Grades and effort in the class
Reference
Target-based
Action-based
Delivery of Feedback
Internal: within system
Through user
Through system
Do systems must have all five components?
Sensor
Memor
y
input output
feedback
sink
Memor
y
input output
feedback
pipe
Memor
y
input output
feedback
Perpetual
machine
null
input output
feedback
Example 1: Calculator
415
Calculator keypad screen
Example 2: Medication Reminder
Rx
Smart Home
Controller
Database/
Hard drive
Rx info
RFID
clock
Speaker
Cell phone
feedback
Exercise: Smart Secure Front Door
Smart Home
Controller
Database/
Hard drive
Cell phone
photo
keycard
camera
Lock
Video
Alarm
Cell phone
feedback
Group Exercise I: Cyclone Dam
A dam is an artificial structure that can be used to contain the
flow of water or to keep out the sea.
Cyclone Dam is a structure that has the maximum capacity of
2 million cubic yards, and when the water level reaches 80%
mark, water will have to be released. Be sure to draw a system
model diagram and explicitly specify what the five components
of the Cyclone Dam system are.
Use the system modeling technique discussed in class to
model a Cyclone Dam.
Group Exercise I: Cyber Kitchen
Cyber Kitchen takes inventory of the edible items in the
whole house
Cyber Kitchen checks for dietary and allergic constraints
of the user
Cyber Kitchen then makes suggestions about dishes that
can be made from these ingredients
Once the user determines which dish to make, Cyber
Kitchen uses video clips to provide step-by-step guidance
to the user about how to make the dish
Group Exercise I: Tracker
Once Tracker detects that the user has left the house, it
checks if the user has brought the cell phone and has
properly dressed, otherwise a reminder is announced via
the speakers
Tracker receives satellite GPS signal to identify the user’s
location
Tracker display users’ location on Google Map
If the user has ventured outside of the “green zone”, a
audio/text reminder will be given to the user
If the user has ventured outside of the “yellow zone”, the
family members will be notified with the location
Group Exercise I: Cyclone Dam
Serial Concatenation
Processor’
Memory’
Input’ output’
system
Processor
Memory
input output
feedback
Digital
Camera
Lens
CCD
zoom adj
Shoot button
Digital
photos
Flashcard feedback
Wifi
Flickr/
Physical prints
Online shared photos
Wireless Digital Camera
Hierarchical Composition
Smart Home
Controller
Database/
Hard drive
Cell phone
photo
keycard
camera
Lock
Video
Alarm
Cell phone
feedback
Smart Home
Controller
Personal log
Ultrasonic signal location
feedback
iTune Software
Flash memory
Play
Selection
Volume
Music
feedback
Resident Identification System Entertainment System
Indoor Locationing System
Computer
memory/
Hard drive
keyboard
mouse
monitor
feedback
iTune Software
Flash memory
Play
Selection
Volume
Music
feedback
Smart Home
Controller
Personal log
Ultrasonic signal location
feedback
Smart Home
Controller
Database/
Hard drive
Cell phone
photo
keycard
camera
Lock
Video
Alarm
Cell phone
feedback
Hierarchical Composition
Resident Identification System
Entertainment System
Indoor Locationing System
keycard
Ultrasonic signal
Identity of the resident
location of the resident
Personalized “follow-me” music
Personal Ubiquitous Entertainment System
Decomposition
Cars
GPS
Climate Control
Cruise Control
ABS
Engine Control Unit
On Board Diagnostics
On Star or Sync
…
ISU (V.E.I.S.H.E.A)
LAS Colleges:
Department of Computer
Science
Smart Home Laboratory
Hen-I Yang,
…
Software Engineering Lab
…
Department of Psychology
Interdisciplinary Program
Administrative Units
Centers
Group Exercise II: Cyclone Tributary
Cyclone Dam is built on Cyclone River, which starts in Cyclone
Height and flows to Hawkeye Valley.
Cyclone Height is the source of the Cyclone River and upstream
from the Cyclone Dam, which receives all the water from the
rainfall. It is estimated that the watershed in Cyclone Height can
hold up to 3 million cubic yards of water in the soil and the plants.
Hawkeye Valley is downstream from the Cyclone River, which
receives all its water from the Cyclone River and the total capacity
of the river in the valley is about 0.5 million cubic yards.
Draw the Cyclone River System Model using the sequential
concatenation of the three systems that make up of the Cyclone
River. Be sure to explicitly describe the five components of each of
these three systems.
Group Exercise II: Cyber Kitchen
Cyber Kitchen takes inventory of the edible items in the
whole house
Cyber Kitchen checks for dietary and allergic constraints
of the user
Cyber Kitchen then makes suggestions about dishes that
can be made from these ingredients
Once the user determines which dish to make, Cyber
Kitchen uses video clips to provide step-by-step guidance
to the user about how to make the dish
Group Exercise II: Tracker
Once Tracker detects that the user has left the house, it
checks if the user has brought the cell phone and has
properly dressed, otherwise a reminder is announced via
the speakers
Tracker receives satellite GPS signal to identify the user’s
location
Tracker display users’ location on Google Map
If the user has ventured outside of the “green zone”, a
audio/text reminder will be given to the user
If the user has ventured outside of the “yellow zone”, the
family members will be notified with the location
Group Exercise II: Cyclone Tributary
System Boundary and Perspectives
Gerontologist
Computer Scientist needs
Aesthetic /Usage
Requirements Design concepts
Grandma
Designer
Technical
requirements Prototypes
Clarification requests
Instructor
deliverables grades
Emergent Properties
Size
Performance
Response Time
Bandwidth
…
Reliability
Security
Usability
…
Group Exercise III: War of the Waters
If the management of the Cyclone Dam is controlled by the
Cyclone Height City Council, what would their decision be
regarding whether to release the water from the Dam?
If the management is controlled by the Hawkeye Valley
Township, what would their decision be?
Use different system boundaries to analyze this situation, and
explain how different perspectives can result in vastly different
decisions.
Group Exercise III: War of the Waters