1 / 49

P09321 DETAILED DESIGN REVIEW ELECTRICAL/SOFTWARE/ FIRMWARE SYSTEMS

P09321 DETAILED DESIGN REVIEW ELECTRICAL/SOFTWARE/ FIRMWARE SYSTEMS. Felix Feliz Matthew Jones Michael Boquard Rebecca Jaiven Justin Zagorski Shuaib Mansoori. 1. OVERVIEW. Project Intro & Dispenser Layout Embedded System Selection Firmware Data Flow User Access Levels GUI Mock Ups

Download Presentation

P09321 DETAILED DESIGN REVIEW ELECTRICAL/SOFTWARE/ FIRMWARE SYSTEMS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. P09321 DETAILED DESIGN REVIEWELECTRICAL/SOFTWARE/ FIRMWARE SYSTEMS Felix Feliz Matthew Jones Michael Boquard Rebecca Jaiven Justin Zagorski Shuaib Mansoori 1

  2. OVERVIEW Project Intro & Dispenser Layout Embedded System Selection Firmware Data Flow User Access Levels GUI Mock Ups EE Dispensing System MSDII Timeline Issues Appendix 2

  3. INTRO – PROJECT DESCRIPTION • Produce a robust prototype that dispenses medication on a time-bases to patients in a secure and accountable environment. • Allow to dispense a week’s supply of up to 6 different pills for two patients accessed twice daily. • Reliable and compact electro-mechanical dispensing system that can be controlled by a common laptop. 3

  4. INTRO – PROJECT DESCRIPTION 4

  5. MECHANICAL LAYOUT Lid Empty Return Lid Cylinder Holder/ Latch Support Rail Leg (Collapsible) Ramp (Collapsible) 5

  6. DISPENSING PROCESS 6

  7. REFILLING PROCESS 7

  8. OVERVIEW Project Intro & Dispenser Layout Embedded System Selection Firmware Data Flow User Access Levels GUI Mock Ups EE Dispensing System MSDII Timeline Issues Appendix 8

  9. EMBEDDED SYSTEM SELECTION • Field Programmable Gate Array (FPGA) • USB Microcontroller • EEPROM FPGA SELECTION 9

  10. XEM3001 10

  11. XEM3001 • Pro’s • One of the cheapest • Built in USB  FPGA interface • High level of support and tools (SDK’s and API’s) • Good number of I/O Pins • Familiar with Xilinx Spartan 3 FPGA’s • Con’s • Hard to solder (easier than the other three) • Has male-female connectors that attach to the holes • Needs to be programmed at start • Easy to reprogram with provided SDK (one line of code!) 11

  12. EEPROM COMPARISON: PARALLEL OR SERIAL Parallel Series Pro’s Smaller footprint (only about 8 pins) Smaller power consumption (good if an onboard battery is used) Faster access time Cheaper Con’s More complexity involved in writing/reading data from EEPROM • Pro’s • Easiest to write to • Higher memory density • Better AC performance • Con’s • Very large foot print (Size of 2N bits requires N pins, for addressing, and other pins for power, select, etc) • Higher power consumption • Costly 12 Conclusion: Series Two different kinds of serial, SPI and I2C

  13. EEPROM COMPARISON: SPI OR I2C I2C SPI Pro’s Faster Full-duplex Less overhead than I2C due to no addressing Con’s More devices requires more wires and more hardware • Pro’s • Easier to implement multiple devices on same bus • Communicate with on-board infrequently used devices easily • Con’s • High complexity compared to SPI • Half-duplex 13 Conclusion: SPI Component Selected: Spansion 8-Mbit SPI EEPROM

  14. OVERVIEW Project Intro & Dispenser Layout Embedded System Selection Firmware Data Flow User Access Levels GUI Mock Ups EE Dispensing System MSDII Timeline Issues Appendix 14

  15. FIRMWARE DATA FLOW - EXISTING

  16. FIRMWARE DATA FLOW - PROPOSED

  17. OVERVIEW Project Intro & Dispenser Layout Embedded System Selection Firmware Data Flow User Access Levels GUI Mock Ups EE Dispensing System MSDII Timeline Issues Appendix 17

  18. LEVELS OF USER ACCESS • Super User • Direct access to each solenoid • Can check and clear SmartCartridge™ Memory • User Access Control • Connect and remove SmartCartridge™ • Set SmartCartridge™ Settings • Pulse time of solenoid • Sensor Sensitivity

  19. LEVELS OF USER ACCESS – CONT. • Administrator • User Access Control • Check SmartCartridge™ History • Connect and remove cartridge • Pharmacist • Check SmartCartridge™ History • Add and adjust medication • Connect and remove cartridge • Delivery • Connect and remove cartridge

  20. LEVELS OF USER ACCESS – CONT. • Caregiver • Can dispense medication for patient under caregiver’s care • Patient • Can dispense own medication

  21. OVERVIEW Project Intro & Dispenser Layout Embedded System Selection Firmware Data Flow User Access Levels GUI Mock Ups EE Dispensing System MSDII Timeline Issues Appendix 21

  22. GUI Mockup – Connect SmartCartridge™

  23. GUI Mockup – Patient/Caregiver Screen

  24. GUI Mockup – Patient/Caregiver Screen, cont.

  25. GUI Mockup – Administrator/User Access Control

  26. GUI Mockup – Administrator/User Access Control, cont.

  27. GUI Mockup – Super User

  28. GUI Mockup - Pharmacist

  29. OVERVIEW Project Intro & Dispenser Layout Embedded System Selection Firmware Data Flow User Access Levels GUI Mock Ups EE Dispensing System MSDII Timeline Issues Appendix 29

  30. EXISTING ELECTRICAL DISPENSING SYSTEM 30 Appendix D: Schematics

  31. PROPOSED ELECTRICAL DISPENSING SYSTEM 31 Appendix XXXXX: Schematics

  32. SYSTEM LEVEL CHANGES - ELECTRICAL 32

  33. POWER BUDGET 33

  34. COMPONENT PRELIMINARY BOM - ELECTRICAL 34

  35. COMPONENT PRELIMINARY BOM - ELECTRICAL 35

  36. COMPONENT PRELIMINARY BOM - EMBEDDED 36

  37. ADDITIONS TO DISPENSING CIRCUITRY Sensors Buzzer 37

  38. PROPOSED DISPENSING TRACES ON CIRCUIT BOARD - SOURCE 38

  39. PROPOSED DISPENSING TRACES ON CIRCUIT BOARD- SINK 39

  40. Connections and Cabling • Input to PCB Board: • 2 Conductors, 3 Contacts • From Driver: • Cable Ribbon to Nitinol Arrays 40

  41. OVERVIEW Project Intro & Dispenser Layout Embedded System Selection Firmware Data Flow User Access Levels GUI Mock Ups EE Dispensing System MSDII Timeline Issues Appendix 41

  42. MSDII Timeline 42

  43. OVERVIEW Project Intro & Dispenser Layout Embedded System Selection Firmware Data Flow User Access Levels GUI Mock Ups EE Dispensing System MSDII Timeline Issues Appendix 43

  44. ISSUES • Sensor’s Sensitivity • Cabling properly • Timeline for prototyping and PCB • Constant Current Controller • MOSFET vs. Bipolar devices 44

  45. OVERVIEW Project Intro & Dispenser Layout Embedded System Selection Firmware Data Flow User Access Levels GUI Mock Ups EE Dispensing System MSDII Timeline Issues Appendix 45

  46. APPENDIX 46

  47. BACK UP SLIDES

  48. Typically has 8-bit data bus Address bus large enough to cover complete address range Ex. 1024 addresses = 210 addresses, so 10 bits for a data bus To Write: Enable Write with Address Selected Disable Write when data is asserted on data pins To Read: Enable Read with Address Selected Read data asserted on data pins Definition of Parallel EEPROM

  49. 2 wire-input Serial Data (SDA) Serial Clock (SCL) Communication Process Master sends start condition Master sends unique 7-bit address of the slave Master sends read/write bit (0 – write, 1 – read) Receiver (Master when read, slave when write) sends “ACK”nowledgement Transmitter (Master when write, slave when read) transmits 1 byte Receiver sends ack (repeats till stop) Definition of Serial I2C

More Related