+ All Categories
Home > Documents > System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web...

System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web...

Date post: 13-Aug-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
30
Com S/Geron 415X Gerontechnology in Smart Home Environments System Modeling Dr. Hen-I Yang Computer Science Department, ISU March 8, 2011
Transcript
Page 1: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

Com S/Geron 415X Gerontechnology in Smart Home

Environments

System Modeling

Dr. Hen-I Yang

Computer Science Department, ISU

March 8, 2011

Page 2: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 3: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

System Modeling – Abstraction

Smart Home

Controller

Database/

Hard drive

Cell phone

photo

keycard

camera

Lock

Video

Alarm

Cell phone

feedback

Page 4: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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”

Page 5: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

Basic Components of a System

system

Processor

Memory

input output

feedback

Page 6: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 7: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 8: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 9: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

Memory/Storage

Storage

Primary memory

Secondary memory

Tertiary memory

Persistency

Persistent memory

Temporary memory

Format

Temporary variables

Files

Database

Encrypted formats

Page 10: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 11: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 12: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

Example 1: Calculator

415

Calculator keypad screen

Page 13: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

Example 2: Medication Reminder

Rx

Smart Home

Controller

Database/

Hard drive

Rx info

RFID

clock

Speaker

Cell phone

feedback

Page 14: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

Exercise: Smart Secure Front Door

Smart Home

Controller

Database/

Hard drive

Cell phone

photo

keycard

camera

Lock

Video

Alarm

Cell phone

feedback

Page 15: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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.

Page 16: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 17: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 18: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

Group Exercise I: Cyclone Dam

Page 19: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 20: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 21: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 22: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 23: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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.

Page 24: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 25: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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

Page 26: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

Group Exercise II: Cyclone Tributary

Page 27: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

System Boundary and Perspectives

Gerontologist

Computer Scientist needs

Aesthetic /Usage

Requirements Design concepts

Grandma

Designer

Technical

requirements Prototypes

Clarification requests

Instructor

deliverables grades

Page 28: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

Emergent Properties

Size

Performance

Response Time

Bandwidth

Reliability

Security

Usability

Page 29: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

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.

Page 30: System Modelingsmarthome.cs.iastate.edu/cpath/data/course...game controller System Input Web service, system messages, data from external databases and servers Input of Assistive Technology

Group Exercise III: War of the Waters


Recommended