ECE 477 Final Presentation Group 3 Fall 2005 Paste a photo of team members with completed project here. Annotate this photo with names of team members.
Outline Project overview Block diagram Professional components Design components Success criteria demonstrations Individual contributions Project summary Questions / discussion
Project Overview P.E.T. Express uses RF-ID technology to control access through a common pet door. The P.E.T. Express utilizes a Motorola MC9S12NE64 and includes feedback ability through an LCD display, embedded web server, and keypad input. These features, along with software controlled permissions, control the locking action of the pet door through the use of pulling solenoids.
Block Diagram
Professional Components Constraint analysis and component selection rationale Patent liability analysis Reliability and safety analysis Ethical and environmental impact analysis
Constraint Analysis Computational Requirements Processor is a simple state machine. Web processor will consume some processing cycles. Minimal processing will be necessary for serial interfaces of the RF-ID reader and LCD interface.
Constraint Analysis Interface Requirements RF-ID reader 1-2 ft desired range LCD interface 8 or 16-pin parallel connection or SPI/SCI connection.
Constraint Analysis Keypad interface Number of keys to hardware I/O pin ratio Solenoid connection circuit Isolated voltage supply from the processor. Ethernet controller Embedded Ethernet support.
Constraint Analysis Power Supply Constraints Various voltage requirements Ample current Battery backup system
Constraint Analysis Packaging and size/weight requirements Aesthetics Antenna and RF-ID reader circuits. Appropriately sized RF-ID antenna Solenoid size LCD and keypad sizes Usability & Readability
Constraint Analysis Rationale for component selection Microprocessor Motorola HC9S12NE64 (112 pin) 64 Kb Flash 2 serial ports Embedded Ethernet controller Ample I/O capability
Constraint Analysis RF-ID tag reader Intersoft Medium range Most cost effective LCD display Crystal Fontz Serial communication 20x4 character display Group familiarity with code
Patent Liability Analysis Commercially Available Products Pet Mate Electro-Magnetic Door Electromagnetic tags Solo Motorized Door Line-of-sight sensor, motor driven door Homeseer 2.0 RFID Starter Kit Highly adaptable, not necessarily used for pet doors
Patent Liability Analysis Other Patents (Similar) Patent 6,994,990 RFID controlled, motor driven sliding pet door capable of recognizing pet-specific IDs Patent 6,141,911 Almost exactly the P.E.T. Express
Patent Liability Analysis Action Required Avoiding infringement for Patent 6,994,990 P.E.T. Express specifically allows access through a doorway Avoiding infringement for Patent 6,141,911 Entirely redesign product Provide royalties Accept the penalties
Reliability/Safety Analysis 5 Components Chosen to Analyze MC9S12NE64 Microcontroller (1) LM317 Voltage Regulator (2) LT1076 5V Regulator (3) MIC4680 3.3V Voltage Regulator (4) 4N25 Opto Isolator (5) Criticality Classification High: Animal (lost or stolen) or human injury/death may occur Low: Costumer dissatisfaction may occur
Reliability/Safety Analysis Possible Low Criticalities LCD won’t work Ethernet crashes or won’t Keypad won’t work Possible High Criticalities Door stays unlocked and is always open Battery overheats RFID won’t recognize tag or tags Door stays locked and won’t open
Ethical/Environmental Analysis Ethical Impact Analysis Secure wires Fire Hazard Entanglement Serviceability Warning Labels Trace Width Insulation Protect Circuitry against cold temperatures
Ethical/Environmental Analysis Testing Mounting of system Secure against extreme door motion Hanging wires Security Possible security threat with lost tags RFID tracking ability
Ethical/Environmental Analysis Environmental Impact Analysis Lead Solder and Etching Chemicals Battery leaks Fire Hazard – Large Current Disposal of device Contains lead, brominated flame-retardants, cadmium, and barium
Design Components Packaging design considerations Schematic design considerations PCB layout design considerations Software design considerations
Packaging Design P.E.T. Express will consist of two main sections: a pet door and a control module. Pet Door Houses the solenoids RFID antenna encircles it. Control Module Houses the PCB & peripheral devices Has power cord and control lines to system
Packaging Design
Packaging Design
Packaging Design
Packaging Design
Packaging Design
Packaging Design Battery in Open Box Picture
Packaging Design Picture Of Front panel (back view)
Packaging Design
Packaging Design
Packaging Design
Packaging Design
Packaging Design
Packaging Design
Packaging Design
Schematic Design Power System Overview 18V Input Supply 15V Linear Regulator 9.6V Linear Regulator 5V Switching Regulator 3.3V Step-Down Regulator 9.6V Regulator 15V Regulator 3.3V Regulator 5V Regulator
Schematic Design 15V Linear Voltage Regulator Incorporates a fuse Overload protection circuitry Battery trickle charger
Schematic Design 9.6V Linear Voltage Regulator 15V input Overload protection circuitry
Schematic Design 5V Switching Voltage Regulator High current output (1.5 A) Resistant to input voltage variation
Schematic Design 3.3V Power Supply Regulator 15V input voltage Overload protection circuitry
Schematic Design Microcontroller 112 pin package Controls all peripherals 64K Flash available
Schematic Design Ethernet Controller Module contains all necessary magnetics
Schematic Design RF-ID Reader Tunable antenna Signal receive interrupt 1ms delay before half-duplex RS232 transmission Operating range of ~6 inches
Schematic Design LCD 4x20 character display Separate LED backlight turn-on Half-duplex RS232 communication
Schematic Design Keypad Circuitry Versatile 16 key keypad 4-bit decoder to reduce I/O pin usage Data-Available interrupt
Schematic Design
PCB Layout Design Design Considerations Similar circuits in close proximity Increased power and ground trace size Decoupling capacitors Minimal interference Ethernet path Accessible connections
PCB Layout Design
PCB Layout Design TIP110 Circuitry Optoisolators
Microcontroller
PCB Layout Design Keypad Encoder Rerouted to Port J6 Added capacitor on this trace Keypad Encoder
Software Design Display Sound feedback Interrupt-driven components Standalone implementation Polling loop components Display Sound feedback Interrupt-driven components RFID Keypad Timers Ethernet
Software Design Preliminaries Entirely written to ~43KB of Flash memory Composed in ANSI C Code Warrior generated shell
Software Design Polling Loop Block Diagram
Software Design Software Modules Webserver Static and dynamically created web pages Displays system parameters Allows remote modification Open source TCP/IP stack protocol Incorporates CGI
Software Design Display Module Menu level tree structure Functions located only at bottom of tree Displays after single response Few dynamic screens, mostly static menus
Software Design Software Modules Access control module Toggle a port pin to engage the solenoid Activated on a successful tag ID Clock & Timer Module 16-bit counter 4 input capture/output compare channels RTI updates various timers and continuously runs in the background.
Software Design Structure and speed of the system. Each time through polling loop, only one parameter is changed Ample time for interrupt handling “Switch” statements Creates a jump table Decreases response time
Success Criteria Demonstrations Ability to unlock pet door in response to RFID tag detection or manual override pushbutton. - demo Ability to configure pet door and monitor its status via an embedded web server. – demo Ability to provide audio feedback ("beep") in response to RFID tag detection. – demo Ability to display pet door status locally on an LCD display. – demo Ability to continue operation in the event of A.C. power failure (battery backup). - demo
Individual Contributions Team Leader – Nate Meier Team Member 2 – Dan Aardsma Team Member 3 – Chris Newton Team Member 4 – Chris James
Team Leader – Nate Meier Ordering Parts Constraint Analysis Professional Paper Schematic Design Paper PCB redesign Packaging Construction Software Interrupts and Timers
Member 2 – Dan Aardsma Ordering Parts Software Design Paper Patents Liability Professional Paper PCB Redesign Packaging Construction Software Web & CGI Display/Navigation
Member 3 – Chris Newton Schematic Design PCB Design Paper Ethical/Environmental Professional Paper PCB Design and Redesign Packaging Populated PCB User manual (Troubleshooting, Use Instructions)
Member 4 – Chris James PCB Redesign Packaging Design Paper Safety and Reliability Professional Paper Populated PCB Packaging Construction User Manual (Introduction, Setup Instructions)
Project Summary Important lessons learned Do things right the first time PCB & schematic design There is no wrong answer in design Work ahead Stay on good terms with your group You start as a group and must finish as a group
Project Summary Second iteration enhancements Use plastic enclosure instead of wood Lighter and more appealing Use a smaller PCB board size More compact packaging Use small motors instead of solenoids More efficient Research smaller batteries Lighter and more accessible
Questions / Discussion