ECE 477 Final Presentation Group 6 Spring 2005 Mike Lowe Eric SuJohn Parlindungan KamBiu Chan.

Post on 03-Jan-2016

216 views 0 download

Tags:

Transcript of ECE 477 Final Presentation Group 6 Spring 2005 Mike Lowe Eric SuJohn Parlindungan KamBiu Chan.

ECE 477 Final Presentation ECE 477 Final Presentation Group 6 Group 6 Spring 2005 Spring 2005

Mike Lowe

Eric Su John Parlindungan

KamBiu Chan

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

Project OverviewProject Overview• Arbuckle’s Automatic Pet FeederArbuckle’s Automatic Pet Feeder• Dream machine for every pet loverDream machine for every pet lover• Deliver a controlled amount of food to 4 different Deliver a controlled amount of food to 4 different

cats for up to 20 days without any user maintenance.cats for up to 20 days without any user maintenance.• FeaturesFeatures

– RFID pet identificationRFID pet identification– Remote monitoring through EthernetRemote monitoring through Ethernet– Local user interface (LCD and RPG)Local user interface (LCD and RPG)

Block DiagramBlock Diagram

MicrocontrollerErgosFeeder

IR Level Detector

RelayCircuit

User Interface

LCD

RPG

SCI

I/O

InternetPC

RFIDReader

RFID

SCI

I/O

I/O

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

Constraint Analysis and Constraint Analysis and Component Selection RationaleComponent Selection Rationale

• Constraint Analysis– Computation Requirement

• Speed• Memory

– Interface Requirements• SCI for LCD and RFID• Ethernet connectivity

– Power Supply Constraints– Packaging Constraints– Cost Constraints

Constraint Analysis and Constraint Analysis and Component Selection RationaleComponent Selection Rationale

• Component Selection Component Selection RationaleRationale– MicrocontrollerMicrocontroller

– RFID ModuleRFID Module

Freescale 9SHC12NE64Freescale 9SHC12NE64 Rabbit 3000Rabbit 3000

SpeedSpeed 25Mhz25Mhz 54Mhz54Mhz

MemoryMemory 64kb64kb 256kb256kb

EthernetEthernet Internal TransceiverInternal Transceiver External TransceiverExternal Transceiver

Series 2000 LF RFIDSeries 2000 LF RFID S4100 multi-functionS4100 multi-function

FrequencyFrequency 134.2kHz134.2kHz 134.2kHz – 13.56MHz134.2kHz – 13.56MHz

RangeRange 15cm15cm 12cm12cm

AntennaAntenna ExternalExternal InternalInternal

Constraint Analysis and Constraint Analysis and Component Selection RationaleComponent Selection Rationale

• Component Selection Rationale Cont’dComponent Selection Rationale Cont’d– LCD DisplayLCD Display

– Rotary Pulse GeneratorRotary Pulse Generator• Grayhill 61C11Grayhill 61C11• Optical encoder with pushbuttonsOptical encoder with pushbuttons• Small number of input pinsSmall number of input pins• Economy of spaceEconomy of space

– Pet Food DispenserPet Food Dispenser• Augger style dispenserAugger style dispenser

CrystalFontz 634CrystalFontz 634 CrystalFontz CFAH2004A CrystalFontz CFAH2004A

InterfaceInterface RS232 (serial)RS232 (serial) 8-bit or 4-bit (parallel)8-bit or 4-bit (parallel)

SizeSize 20x420x4 20x420x4

Patent Liability AnalysisPatent Liability Analysis• Literal InfringementsLiteral Infringements

– 4,510,4954,510,495: : Remote passive identification system Remote passive identification system • Recommend to continue with developmentRecommend to continue with development

• Doctrine of Equivalents InfringementDoctrine of Equivalents Infringement– 6,793,1276,793,127: Internet enabled resource constrained : Internet enabled resource constrained

terminal for processing RFID tagsterminal for processing RFID tags• Recommend to continue with developmentRecommend to continue with development

Reliability/Safety AnalysisReliability/Safety Analysis

• 4 critical components analyzed4 critical components analyzed– Micrel 4690 Power Regulator – MTTF 105 Micrel 4690 Power Regulator – MTTF 105

yearsyears– Grayhill 61C11 RPG – 1285 yearsGrayhill 61C11 RPG – 1285 years– Motorola MC9S12NE64 – MTTF 21 yearsMotorola MC9S12NE64 – MTTF 21 years– Reed Relay Circuit – MTTF 190 yearsReed Relay Circuit – MTTF 190 years

• High criticality failuresHigh criticality failures– Voltage regulator power supplyVoltage regulator power supply– Reed Relay 120V Power CircuitReed Relay 120V Power Circuit

Ethical/Environmental AnalysisEthical/Environmental Analysis

• Ethical IssuesEthical Issues– Protect electrical components from cats and human.Protect electrical components from cats and human.– SW updates through internet to correct any possible SW updates through internet to correct any possible

firmware errors.firmware errors.– Warning label on main board enclosure (Proper Care for Warning label on main board enclosure (Proper Care for

the Cats!!!)the Cats!!!)– Low food volume alertLow food volume alert

• Environmental IssuesEnvironmental Issues– PCB fabrication (high material consumption) & disposal PCB fabrication (high material consumption) & disposal

(lead, hazardous waste)(lead, hazardous waste)• Dry plasma metal deposition Dry plasma metal deposition

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

Packaging DesignPackaging Design• Weight: 15 lbsWeight: 15 lbs• Cost: $880.00Cost: $880.00• Two ArchitecturesTwo Architectures

– Feeder ArchitectureFeeder Architecture– Control Unit Control Unit

ArchitectureArchitecture• Primary ConsiderationsPrimary Considerations

– SafetySafety– AestheticsAesthetics– FunctionalityFunctionality– DurabilityDurability

Packaging DesignPackaging Design

Packaging DesignPackaging Design

Schematic DesignSchematic Design• MC9SHC12NE64MC9SHC12NE64

– Guarded with 0.22uF decoupling capacitorsGuarded with 0.22uF decoupling capacitors– BDM Port: For firmware update– ATD Port: IR sensor array– SCI Port: RFID reader, LCD– General IO: Relay– Timer Capture: RPG– Ethernet Port: Web access

Schematic DesignSchematic Design• Voltage RegulatorVoltage Regulator

– 2 Step down regulators2 Step down regulators– 12VDC unregulated input 12VDC unregulated input – 5V and 3V DC regulated output5V and 3V DC regulated output

Schematic DesignSchematic Design

• RS 232 TransceiverRS 232 Transceiver– Interface 3.3V SCI ports to Interface 3.3V SCI ports to

external 5V serial external 5V serial connectionconnection

– Provide health information Provide health information about the connectionsabout the connections

Schematic DesignSchematic Design• RPGRPG

– Optical encoderOptical encoder– Standard Quadrature 2-Bit CodeStandard Quadrature 2-Bit Code– 8 Changes per revolution8 Changes per revolution

• Relay controlRelay control– Optically isolatedOptically isolated– 120 AC Power Relay120 AC Power Relay– Power MOSFET switch with diodePower MOSFET switch with diode

Schematic DesignSchematic Design• IR SensorsIR Sensors

– 4 sensors monitoring 2 different levels of the food 4 sensors monitoring 2 different levels of the food containercontainer

– Output 0.1 – 2VOutput 0.1 – 2V– Socket based for flexibilitySocket based for flexibility

PCB Layout DesignPCB Layout Design

• 7.5” X 3.5”7.5” X 3.5”• Trace width:Trace width:

– 3.3V and 5V 3.3V and 5V GND and GND and Vcc rails: Vcc rails: 50mils 50mils

– Normal Normal wires: wires: 12mils12mils

PCB Layout DesignPCB Layout Design

• Decoupling caps for all ICsDecoupling caps for all ICs• Copper pour under relayCopper pour under relay• Separate power supply for Separate power supply for

analog and digital systemanalog and digital system• Physical isolation of the digital Physical isolation of the digital

and the analog systemand the analog system

Software DesignSoftware Design

• State machine drives menuState machine drives menu• Polling for RFIDPolling for RFID• All Others interrupt driven All Others interrupt driven • Software ModulesSoftware Modules

– Timer_isrTimer_isr– Rfid_isrRfid_isr– Lcd_isrLcd_isr– Button_isrButton_isr– Rpg_isrRpg_isr– Update_webUpdate_web

Software DesignSoftware Design

Software DesignSoftware Design

Success Criteria DemonstrationsSuccess Criteria Demonstrations

1.1. An ability to receive and decode RFID tags from the An ability to receive and decode RFID tags from the cats cats

2.2. An ability to accurately dispense food for each cat An ability to accurately dispense food for each cat demodemo

3.3. An ability to remotely monitor the system via web An ability to remotely monitor the system via web browser browser demodemo

4.4. An ability to interact with user via LCD display and An ability to interact with user via LCD display and rotary pulse generator rotary pulse generator demodemo

5.5. An ability to alert on low food volumeAn ability to alert on low food volume

Individual ContributionsIndividual Contributions

• Team Leader – KamBiu ChanTeam Leader – KamBiu Chan• Team Member 2 – Mike LoweTeam Member 2 – Mike Lowe• Team Member 3 – Eric SuTeam Member 3 – Eric Su• Team Member 4 – John ParlindunganTeam Member 4 – John Parlindungan

Team Leader – KamBiu ChanTeam Leader – KamBiu Chan

• PCB Layout DesignPCB Layout Design• Patent AnalysisPatent Analysis• Schematic DesignSchematic Design• Software Design and Testing (Peripherals)Software Design and Testing (Peripherals)• Hardware TestingHardware Testing

Member 2 – Mike LoweMember 2 – Mike Lowe

• Design Constraint AnalysisDesign Constraint Analysis• Software Design Software Design

– Main ProgramMain Program– EthernetEthernet

Member 3 – Eric SuMember 3 – Eric Su

• Packaging DesignPackaging Design• Reliability and Safety AnalysisReliability and Safety Analysis• Software Debugging and TestingSoftware Debugging and Testing• Team WebmasterTeam Webmaster

Member 4 – John ParlindunganMember 4 – John Parlindungan

• Schematic DesignSchematic Design• Ethical and Environmental Impact AnalysisEthical and Environmental Impact Analysis• Populating PCB Populating PCB • Hardware DebuggingHardware Debugging

Project SummaryProject Summary

• Important lessons learnedImportant lessons learned– Current Limiting Resistors!!!Current Limiting Resistors!!!– Debug Header is a MUST!!!Debug Header is a MUST!!!– Division of labor and individual Division of labor and individual

accountabilityaccountability– Understand components’Understand components’

soldering temperature limitssoldering temperature limits

Project SummaryProject Summary

• Second iteration enhancementsSecond iteration enhancements– Sonar for inventory trackingSonar for inventory tracking– Web administration capabilityWeb administration capability– Providing more than 1 kind of pet foodProviding more than 1 kind of pet food– WebcamWebcam– Diet LogDiet Log

Questions / DiscussionQuestions / Discussion