Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

50
Dec0910 Science Center Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan Hassan

Transcript of Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Page 1: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Dec0910 Science Center

Phase 3

Hussain Almosa Karen Littlejohn 

Joey NirschlHassan Hassan

Page 2: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

For the Science Center, our client is looking for interactive workstations that would demonstrate to the audience how the concepts from the ECpE curriculum at ISU can help solve real world challenges to assure a better and more sustainable future.

Problem Statement

Page 3: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Any visitors to the Computer, Electrical, and Software Engineering departments.

• Perspective Students• Alumni• Company Representatives• Outreach events

Audience

Page 4: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Piezoelectric Floor - To demonstrate that we can harness the mechanical energy from unconventional sources, such as people, in the form of electrical energy Sequential Programming - To demonstrate and create more understanding of the concept of programming

Concepts

Page 5: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Focus: Energy Sustainability

Approach: We will build an interactive floor that utilizes the concept of piezoelectricity to demonstrate to the audience that we can capture mechanical energy from our bodies to generate clean, renewable electrical energy.

  

Piezoelectric Floor - Design

Page 6: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

System requirements Key Functional Requirements:

◦ The floor shall generate enough current to power a small LED bulb

◦ The floor shall support a weight of up to 250 lb

◦ The floor shall be raised from the room floor

Page 7: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

System requirements Key Non-Functional Requirements:

◦ The floor shall be able to be moved to another room if needed

◦ The displays shall be visually appealing

◦ The floor module shall be quickly understandable and easy to use

Page 8: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

System Block Diagram

Mechanical Stress

Tile Displacement

Piezo Generator Compression/

Decompression

Electrical Power

Display Operation

User

Page 9: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Approaches - Overview

Floor with Separate Visual Display

• Blocks with Built-In Audio-Visual Display

Page 10: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Approaches – Evaluation

Floor with Separate Visual Display◦Pros

Suitable for wider audience

Supports different display options

◦Cons Captures less

energy Less interactive Display is

disconnected from floor

• Blocks with Built-In Audio-Visual Display– Pros

• More interactive• Captures more energy• Compact system

– Cons• Not suitable for some

audience segments• Does not support

other display options• Potentially hazardous

Page 11: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Selected Design - Model

Page 12: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Selected Design- Illustration

Page 13: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Sub-Systems Tiles Compression System Subfloor Piezo Generators Audio-Visual Display Electrical Circuitry

Page 14: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Lexan Polycarbonate Sheets◦ Clear◦ Durable

Vendor: Ridout Plastics

Sub-Systems - Tiles

Page 15: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Two Alternatives◦ Spring System

Advantage: Could be mounted firmly to subfloor

◦ Foam Blocks Advantage: Smooth

Compression/ Decompression

Sub-Systems – Compression System

Page 16: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Wooden Subfloor◦Divided into 9 blocks◦Center block will be

covered and will not be compressible

◦Each of 8 block surrounding blocks will be compressible and will house piezo generators, compression system, audio-visual displays, and accompanying circuits

Sub-Systems - Subfloor

Page 17: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Sub-Systems - Piezo Generators Vendor: Noliac Inc.

Ceramic Multilayer Generators (CMG) are built up with a number of thin ceramic layers sandwiched between internal electrodes, resulting in a low output voltage but high current compared to conventional single layer piezoelectric generators.

Custom ProductWorked with similar team in Denmark to successfully generate 0.13µA by applying hand pressure to 4 piezo generators. CMG size: 5mmx5mmx2mm, 60V.

Page 18: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Visual◦High Brightness Color LED

Vendor: Kingbright USA 120°viewing angle Luminous Intensity: 1200-1450 Available in blue, green, and red Operating current: 120mA

Audio◦One Central Speaker

Powered separately

◦Pre-Programmed Sound Modules Vendor: Zhen Xiang

Sub-Systems – Audio-Visual Display

Page 19: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Each of the 8 block will house one generator/ display system, which will require separate circuitry.

Currently communicating with Noliac’s R&D department to determine number, sizes, appropriate circuits, and estimated cost of piezo generators required for our application

Sub-Systems – Electrical Circuitry

Page 20: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Test Plan Structural Analysis

◦ Test cell structure for ability to support maximum weight

Functional/Performance Testing◦ Test functionality and performance of all 8 piezo

generators and audio-visual displays by placing weights on each cell

Page 21: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Sequential Programming - Design

Page 22: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

System requirements Key Functional Requirements:

◦ The Programming Module shall allow the user to order a set of commands

◦ The Programming Module shall give feedback on command order upon request

◦ The Programming Module shall allow the only administrator users to configure the volume used by the module

Page 23: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

System requirements Key Non-Functional Requirements:

◦ The Programming Module shall be user friendly ◦ The Programming Module shall be quickly

understandable and easy to use without a demo ◦ The Programming Module shall give the user a taste

of programming

Page 24: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Main Frame Option Frame Description Frame Program Frame Password Frame

GUI Classes

Page 25: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Settings Program List Program

Background Classes

Page 26: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

<Program> <Type>1</Type> <ProgramName>Prog1</ProgramName> <Author>Author1</Author> <Author>Author2</Author> <Author>Author3</Author> <Description>Random description

here</Description>

XML File for Program

Page 27: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

<Instruction> <Num>1</Num> <Text>Find treasure map.<Text> <Picture>image1.jpg<Picture> </Instruction> <Instruction> <Num>2</Num> <Text>Search for treasure.<Text> <Picture>image2.jpg<Picture> </Instruction>

XML File for Program Cont.

Page 28: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

<Instruction> <Num>3</Num> <Text>Find treasure.<Text> <Picture>imag3.jpg<Picture> </Instruction> </Program>

XML File for Program Cont.

Page 29: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

<Options> <Pass>hash</Pass> <Font>Arial</Font> <FontSize>14</FontSize> <Timer>True</Timer> <Sound> <Mute>True</Mute> <Volume>5</Volume> </Sound>

<ProgramLoc>Default</ProgramLoc> </Options>

XML File for Settings

Page 30: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

<Start> <ProgramName>Prog1</ProgramName> <ProgramName>Prog2</ProgramName></Start>

XML File for Main Programs

Page 31: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

String getFont(); / void setFont(String font);int getFontSize(); / void setFontSize(int size);boolean getTimer(); /

void setTimer(boolean use);boolean getMute(); / setMute(boolean use);int getVolume(); / void setVolume(int vol);String getLocation(); /

void setLocation(String loc);

Settings.java

Page 32: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

String[] getPrograms();

ProgramList.java

Page 33: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

boolean checkpass(String password);boolean setpass(String password);

Password.java

Page 34: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Program(String loc);String getDescription();String[] getAuthors();String[] getInstructions();String checkInstruction(String inst, int

position);

Program.java

Page 35: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Use JUnit 4.0 to create automated unit tests for individual modules

Testing some aspects of the Wiimote will require human interaction

Testing the Options Form will require mouse interaction

Programming Module Test plan

Page 36: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Main Menu

Page 37: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Tests Expected Outcome

1. Start program. 1. Opens to Main Menu.

a. No programs loaded. a. Let user know that no programs are available.

b. A couple of programs loaded. b. Scrolling of programs not enabled.

c. Many programs loaded. c. Scrolling of programs is enabled.

2. Options button is clicked. 2. User is prompted for credentials.

a. Credentials entered valid. a. Options Form is opened.

b. Credentials entered incorrectly. b. User is informed and returned to Password dialog.

c. Password dialog cancel button clicked.

c. Password dialog closes. User brought back to Main Menu.

3. A Program is clicked. 3. Proper Program Description box appears and Main Menu disappears.

Programming Module Test plan- Main Menu

Page 38: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Options Form

Page 39: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Tests Expected Outcome

1. Main Menu button is clicked. 1a. If any changes are made, user is prompted to save those changes.1b. Return the user to the Main Menu.

2. Save button is clicked. 2a. Save changes to the options XML file.2b. Return the user to the main menu

Programming Module Test plan- Options

Page 40: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Program Description

Page 41: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Tests Expected Outcome

1. Main Menu button is clicked. 1. Return the user to the Main Menu.

2. Start button is clicked. 2. Direct the user to the Program form

Programming Module Test plan- Program Description

Page 42: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Program Screen

Page 43: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Tests Expected Outcome

1. Main Menu button is clicked. 1. A warning dialog will be displayed.

a. Continue clicked. a. Program will close and Main Menu will appear.

b. Cancel clicked. b. Dialog will be closed.

2. Item dragged from left list to right list.

2. Item will appear in that instruction slot and will disappear from the left side.

3. Item dragged from right to left list. 3. Item will return to original position and will disappear from the right list.

4. Run button clicked. 4. Program will appear to highlight instructions one by one. If an error is found, User will be notified and execution will stop. Else, User will be notified of a successful execution.

5. Description button clicked. 5. A warning dialog will be displayed.

a. Continue clicked. a. Program will close and Main Menu will appear.

b. Cancel clicked. b. Dialog will be closed.

Programming Module Test plan- Program

Page 44: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Schedule – Spring 09

Page 45: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Schedule – Fall 09

Page 46: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Item Cost

9 Tiles (32” X 24” X 48”) $117 (9*13)

Subfloor and compression system $50

8 Piezo generators $480 (8*60)

4 LEDs (5.0X5.0MM RGB CLR SMD) $36 (4*9)

4 Sound Modules $20 (4*5)

Total: $703

Piezoelectric Floor Cost Analysis

Page 47: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Item Cost

22 inch Monitor $300

Computer and accessories (keyboard & Mouse) $500

Wiimote $40

Wiimote Charger $40

Bluetooth Receiver $100

Table (Provided by the Department) $0

Security tethers $300

Total: $1,280

Programming Module Cost Analysis

Page 48: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

491 492

Team Members:

Plan Design Implementation

Test Personal Hours

Personal Costs

Hussain Almosa

35 50 65 65 215 $2,580

Hassan Hassan

35 50 65 65 215 $2,580

Karen Littlejohn

35 50 65 65 215 $2,580

Joey Nirschl

35 50 65 65 215 $2,580

Total: 140 200 260 260 860 $10,320

Rate = $12/hour

Human Factor Cost Analysis

Page 49: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

Questions?

Page 50: Phase 3 Hussain Almosa Karen Littlejohn Joey Nirschl Hassan.

http://www.youtube.com/watch?v=FzQwj2e3rLw&feature=related

Floor Video