smart storage pantry
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 PresentationTRANSCRIPT
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)
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
3
0
1
2
3
4
5
6
7
Can Beers
TaiwanBeer
Wisk
Paper Tolls6 rolls
For can soups and glass jars
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
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;
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.
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
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