Top Banner
ECE 477 Final ECE 477 Final Presentation Group 9 Presentation Group 9 Fall 2005 Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady
36

ECE 477 Final Presentation Group 9 Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Jan 01, 2016

Download

Documents

Aleesha Arnold
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

ECE 477 Final Presentation ECE 477 Final Presentation Group 9 Group 9 Fall 2005 Fall 2005

Tim Miller Clif Barnes Drew Heinrich Steven Kady

Page 2: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

OutlineOutline

• Project overviewProject overview• Block diagramBlock diagram• Professional componentsProfessional components• Design componentsDesign components• Success criteria demonstrationsSuccess criteria demonstrations• Individual contributionsIndividual contributions• Project summaryProject summary• Questions / discussionQuestions / discussion

Page 3: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Project OverviewProject Overview

• Automated Pill dispensing system that Automated Pill dispensing system that delivers pills based upon a schedule.delivers pills based upon a schedule.

• Can be monitored and controlled remotely Can be monitored and controlled remotely via a web interface.via a web interface.

• Able to be controlled locally using an optical Able to be controlled locally using an optical rotary encoder and LCD screen.rotary encoder and LCD screen.

Page 4: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Block DiagramBlock Diagram

MC9S12NE64

LCD Display

Rotary Interface

Sensors

Web Interface

Dispensing Mechanism

User Control

TCP/IP

Motor Control

Status Data

Motor Position Data

Page 5: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Professional ComponentsProfessional Components

• Constraint analysis and component selection Constraint analysis and component selection rationalerationale

• Patent liability analysisPatent liability analysis• Reliability and safety analysisReliability and safety analysis• Ethical and environmental impact analysisEthical and environmental impact analysis

Page 6: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Constraint AnalysisConstraint Analysis

• Interface requirementsInterface requirements• Computation requirementsComputation requirements• Power consumptionPower consumption

Page 7: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Constraint AnalysisConstraint Analysis

• MicrocontrollerMicrocontroller– MC9S12NE64MC9S12NE64– Onboard Ethernet ControllerOnboard Ethernet Controller– 34 of 70 I/O pins used34 of 70 I/O pins used– Metrowerks integrated development environmentMetrowerks integrated development environment

• LCDLCD– ParallelParallel– Sufficient space to display short messagesSufficient space to display short messages

• MotorsMotors– Stepper MotorStepper Motor

Page 8: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Constraint AnalysisConstraint Analysis

• Computation RequirementsComputation Requirements– Embedded web serverEmbedded web server– Schedule/CalendarSchedule/Calendar

Page 9: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Constraint AnalysisConstraint Analysis

• Power ConsumptionPower Consumption– 5 volt and 3.3 volt 5 volt and 3.3 volt – Sufficient currentSufficient current– Battery Backup circuitryBattery Backup circuitry

Page 10: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Patent Liability AnalysisPatent Liability Analysis

• 6,304,797– Uses rotating carousel to dispense pillsUses rotating carousel to dispense pills– Drops pills into a binDrops pills into a bin– Connects to a computer for programmingConnects to a computer for programming

• 6,471,087– Same as previous except for garment vital monitoring

device• Various others using a microcontroller

and gravity to dispense pills

at a specified time.

Page 11: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Patent Liability AnalysisPatent Liability Analysis

• Commercially availableCommercially available– MD2 Automatic Pill Dispenser from ePill

• Alerts caregivers using a telephoneAlerts caregivers using a telephone• Interfaces to an LCD screen Interfaces to an LCD screen • Keeps track of time and date to Keeps track of time and date to

dispense pills.dispense pills.• Action RequiredAction Required

– Paying royalties Paying royalties

Page 12: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Reliability/Safety AnalysisReliability/Safety Analysis

Page 13: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Ethical/Environmental AnalysisEthical/Environmental Analysis

• Ethical ConcernsEthical Concerns– Misuse of prescription medication can Misuse of prescription medication can

result in illness or deathresult in illness or death– Both physical package and web interface Both physical package and web interface

should be secureshould be secure– Missing doses of medication can be just Missing doses of medication can be just

as hazardous. Device must be extremely as hazardous. Device must be extremely reliablereliable

Page 14: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Ethical/Environmental AnalysisEthical/Environmental Analysis

• Ethical Concerns (continued)Ethical Concerns (continued)– Extensive testing is required to ensure that Extensive testing is required to ensure that

device always dispenses medication when device always dispenses medication when programmed to do so, and never when it programmed to do so, and never when it has not.has not.

– May present a fire hazard (ensure wiring is May present a fire hazard (ensure wiring is properly insulated and secured)properly insulated and secured)

Page 15: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Ethical/Environmental AnalysisEthical/Environmental Analysis

• Environmental ConcernsEnvironmental Concerns– Hazardous chemicals are used in Hazardous chemicals are used in

fabrication of PCBs (look for an fabrication of PCBs (look for an environmentally friendly fab. house)environmentally friendly fab. house)

– PCBs contain toxic chemicals such as lead PCBs contain toxic chemicals such as lead and mercury (instruct users to return to and mercury (instruct users to return to manufacturer at end of product life cycle manufacturer at end of product life cycle for proper disposal)for proper disposal)

Page 16: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Design ComponentsDesign Components

• Packaging design considerationsPackaging design considerations• Schematic design considerationsSchematic design considerations• PCB layout design considerationsPCB layout design considerations• Software design considerationsSoftware design considerations

Page 17: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Packaging DesignPackaging Design

Page 18: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Schematic DesignSchematic Design

Page 19: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

PCB Layout DesignPCB Layout Design

Page 20: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

PCB Layout DesignPCB Layout Design

• Wide power and ground tracesWide power and ground traces

Page 21: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

PCB Layout DesignPCB Layout Design

• Decoupling capacitors close to processorDecoupling capacitors close to processor

Page 22: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

PCB Layout DesignPCB Layout Design

• Minimize interference on Ethernet tracesMinimize interference on Ethernet traces

Page 23: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

PCB Layout DesignPCB Layout Design

• Headers for ease of debugging and Headers for ease of debugging and modificationmodification

Page 24: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Software DesignSoftware Design

• Written in CWritten in C• Code Warrior IDE used for developmentCode Warrior IDE used for development• Uses OpenTCP TCP/IP stack Uses OpenTCP TCP/IP stack • Occupies 25KB of the available Flash and all Occupies 25KB of the available Flash and all

of the available 8KB of RAMof the available 8KB of RAM

Page 25: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Software DesignSoftware Design

• Interrupt DrivenInterrupt Driven– ClockClock– SchedulingScheduling

• PollingPolling– EthernetEthernet– RPGRPG– SensorsSensors

Page 26: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Software DesignSoftware Design

• Major SectionsMajor Sections– Web ServerWeb Server

• Uses the OpenTCP TCP/IP stackUses the OpenTCP TCP/IP stack• Website resides in FlashWebsite resides in Flash• Utilizes CGI to pass informationUtilizes CGI to pass information

– ScheduleSchedule• Updated via webpageUpdated via webpage• Dispenses pills when Dispenses pills when

appropriate and updatesappropriate and updates

status logstatus log

Page 27: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Software DesignSoftware Design

• LCD DisplayLCD Display– Shows the current timeShows the current time– Displays menu to set the current timeDisplays menu to set the current time

• RPGRPG– Used to activate and navigate the menuUsed to activate and navigate the menu– Sets the current timeSets the current time

• Motor ControlMotor Control– Runs the motor to rotateRuns the motor to rotate

the carouselsthe carousels

Page 28: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Success Criteria DemonstrationsSuccess Criteria Demonstrations

1.1. Ability to dispense pills at specifically programmed times Ability to dispense pills at specifically programmed times and/or intervals [programming can be done locally using a and/or intervals [programming can be done locally using a keypad/RPG, or remotely via an embedded web server. keypad/RPG, or remotely via an embedded web server.

2.2. Ability to dispense pills by rotating an aperture to a specified Ability to dispense pills by rotating an aperture to a specified (absolute) angular position [using a stepper motor equipped (absolute) angular position [using a stepper motor equipped with position encoder feedback]. with position encoder feedback].

3.3. Ability to sense release of pills [e.g., using IR LED/photo Ability to sense release of pills [e.g., using IR LED/photo sensor pairs] and update [remotely viewable] status log sensor pairs] and update [remotely viewable] status log accordingly.accordingly.

4.4. Ability to display system status locally on an LCD Ability to display system status locally on an LCD (information such as month/date/time, pill doses remaining, (information such as month/date/time, pill doses remaining, etc. - etc. - demodemo

5.5. Ability to continue operation in the event of Ability to continue operation in the event of A.C. power failure (battery backup) A.C. power failure (battery backup)

Page 29: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Individual ContributionsIndividual Contributions

• Team Leader – Steven KadyTeam Leader – Steven Kady• Team Member 2 – Tim MillerTeam Member 2 – Tim Miller• Team Member 3 – Drew HeinrichTeam Member 3 – Drew Heinrich• Team Member 4 – Clif BarnesTeam Member 4 – Clif Barnes

Page 30: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Team Leader – Steven KadyTeam Leader – Steven Kady

• Design Constraint AnalysisDesign Constraint Analysis• Packaging SpecificationPackaging Specification• Packaging FabricationPackaging Fabrication• Timer BlockTimer Block• Motor ControlMotor Control• Debugging and other softwareDebugging and other software

Page 31: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Member 2 – Tim MillerMember 2 – Tim Miller

• PCB LayoutPCB Layout• Web server developmentWeb server development• LCD driverLCD driver• Ethical / Environmental ConsiderationsEthical / Environmental Considerations• Packaging FabricationPackaging Fabrication• Hardware / Software DebuggingHardware / Software Debugging

Page 32: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Member 3 – Drew HeinrichMember 3 – Drew Heinrich

• Schematic / Theory of OperationSchematic / Theory of Operation• PCB PopulationPCB Population• Packaging FabricationPackaging Fabrication• Hardware DebuggingHardware Debugging• Parts OrderingParts Ordering• Safety and Reliability AnalysisSafety and Reliability Analysis• Circuit DesignCircuit Design

Page 33: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Member 4 – Clif BarnesMember 4 – Clif Barnes

• Software Design Software Design • Patent Liability AnalysisPatent Liability Analysis• Sensor softwareSensor software• Packaging/HardwarePackaging/Hardware• Debugging and softwareDebugging and software

Page 34: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Project SummaryProject Summary

• Important lessons learnedImportant lessons learned– Start earlyStart early– Research twice, buy onceResearch twice, buy once– PrototypePrototype

Page 35: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Project SummaryProject Summary

• Second iteration enhancementsSecond iteration enhancements– SecuritySecurity– PackagingPackaging– Yearly calendarYearly calendar– Larger capacityLarger capacity

Page 36: ECE 477 Final Presentation Group 9  Fall 2005 Tim Miller Clif Barnes Drew Heinrich Steven Kady.

Questions / DiscussionQuestions / Discussion