smart storage pantry

8
1 Smart Storage Pantry Compartments with sensors Sensor locati on decode r Content and supplier DB Replenishmen t order generator Comm. Unit For non-perishable goods (each removed prior to being used)

Upload: shing

Post on 06-Jan-2016

31 views

Category:

Documents


0 download

DESCRIPTION

Smart Storage Pantry. Replenishment order generator. Sensor location decoder. Comm. Unit. Content and supplier DB. Compartments with sensors. For non-perishable goods ( each removed prior to being used ). 7. Paper Tolls 6 rolls. For paper goods and other light weight objects. 6. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Smart Storage Pantry

1

Smart Storage Pantry

Compartments with sensors

Sensor

location

decoder

Content and supplier DB

Replenishment order

generator Comm.

Unit

For non-perishable goods (each removed prior to being used)

Page 2: Smart Storage Pantry

2

0

1

2

3

4

5

6

7

Can Beers

TaiwanBeer

Wisk

Paper Tolls6 rolls

For can soups and glass jars

For paper goods and other light weight objects

Spring-loaded Plate

Page 3: Smart Storage Pantry

3

0

1

2

3

4

5

6

7

Can Beers

TaiwanBeer

Wisk

Paper Tolls6 rolls

For can soups and glass jars

Page 4: Smart Storage Pantry

4

Design Choices

Compartments are identified by 2-tuples (1, A), (1, B), (2, A), etc.

An audio interface is used to support communication with the user

A pantry without a scanner also has a small keyboard and display

Page 5: Smart Storage Pantry

5

Data Structures

A B H

1

2

6

Is_Empty = TRUE;Object_Id = NULL;

Compartment Description

Object_Id

Object_Description;Supplier_Id;Supplier_Address;Relative_Deadline;

Page 6: Smart Storage Pantry

6

User and Pantry interaction (for Pantry with Scanner)

User: Scan a new object

Pantry: You just scan a new object. Tell me what it is.

User: Six pack of Taiwan beer.

Pantry: You have just said “six pack of Taiwan beer”. Please add more detail if you like. Otherwise, please say no, or stop.

User: Stop.

Pantry: Please put the six pack of Taiwan beer in a compartment now.

User: Put the six pack in compartment (6, D)

Pantry: You have just put the six pack of Taiwan beer in (6, D), the middle compartment in the bottom row.

User: Scan a six pack of Taiwan beer each of the subsequent times

Pantry: You have a six pack of Taiwan Beer. (6, D) is empty. It fits there.

User: Put the beer in (6, B)

Pantry: You prefer (6, B) for the Taiwan Beer. I got it.

Page 7: Smart Storage Pantry

7

Pseudo code of the pantry – Do nothing until an event occurs

Scanner_On: Wait for Id_Read until time out expires Id_Read: Do object addition action Non-empty_Compartment_Empty: Do removal action Empty_Compartment_Non-empty: Do insert object Timer_expiration: Do according to wait-for-event type. What else?

Audio Interface Design• No voice recognition capability

• Event driven

• Interleave recorded pantry speech with user speech

Page 8: Smart Storage Pantry

8

Partial State Diagram

Idle Scanner-on

Timeout

Scan Object

(some transitions are omitted)

Awaits placement

Empty_NonEmpty

Place Object

Awaits Cancellation

Id_missing

Place Object Scan Object

Error-1Timeout

Error-1: Object with unknown id in pantryRemove

Object

ReplenishmentDue Idle