p09321 detailed design review electrical/software/ firmware systems felix feliz matthew jones...
Post on 20-Dec-2015
236 Views
Preview:
TRANSCRIPT
P09321 DETAILED DESIGN REVIEWELECTRICAL/SOFTWARE/FIRMWARE SYSTEMS
Felix Feliz
Matthew Jones
Michael Boquard
Rebecca Jaiven
Justin Zagorski
Shuaib Mansoori
1
OVERVIEW
1. Project Intro & Dispenser Layout2. Embedded System Selection3. Firmware Data Flow4. User Access Levels5. GUI Mock Ups6. EE Dispensing System7. MSDII Timeline8. Issues9. Appendix
2
INTRO – PROJECT DESCRIPTION
o Produce a robust prototype that dispenses medication on a time-bases to patients in a secure and accountable environment.
o Allow to dispense a week’s supply of up to 6 different pills for two patients accessed twice daily.
o Reliable and compact electro-mechanical dispensing system that can be controlled by a common laptop.
3
MECHANICAL LAYOUT
5
Lid
Cylinder Holder/ Latch
Support Rail
Ramp (Collapsible)
Empty Return Lid
Leg (Collapsible)
OVERVIEW
1. Project Intro & Dispenser Layout2. Embedded System Selection3. Firmware Data Flow4. User Access Levels5. GUI Mock Ups6. EE Dispensing System7. MSDII Timeline8. Issues9. Appendix
8
EMBEDDED SYSTEM SELECTION
9
Field Programmable Gate Array (FPGA)USB MicrocontrollerEEPROM
Product Name I/O Pins FPGA Cost
EZ1CUSB 128 Altera Cyclone $199/$219
EZ1KUSB 58 Altera ACEX $169/$179/$189
EZ2USB 58 Xilinx Spartan-II
$169/$179/$189
XEM3001 86 Xilinx Spartan 3 $174.98
FPGA SELECTION
XEM3001
11
Pro’sOne of the cheapestBuilt in USB FPGA interfaceHigh level of support and tools (SDK’s and API’s)Good number of I/O PinsFamiliar with Xilinx Spartan 3 FPGA’s
Con’sHard to solder (easier than the other three)
Has male-female connectors that attach to the holes
Needs to be programmed at startEasy to reprogram with provided SDK (one line
of code!)
EEPROM COMPARISON: PARALLEL OR SERIAL
12
Parallel 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
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
Conclusion: Series
Two different kinds of serial, SPI and I2C
13
EEPROM COMPARISON: SPI OR I2C
I2C 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
SPI Pro’s
Faster Full-duplex Less overhead than I2C
due to no addressing Con’s
More devices requires more wires and more hardware
Conclusion: SPI
Component Selected: Spansion 8-Mbit SPI EEPROM
OVERVIEW
1. Project Intro & Dispenser Layout2. Embedded System Selection3. Firmware Data Flow4. User Access Levels5. GUI Mock Ups6. EE Dispensing System7. MSDII Timeline8. Issues9. Appendix
14
OVERVIEW
1. Project Intro & Dispenser Layout2. Embedded System Selection3. Firmware Data Flow4. User Access Levels5. GUI Mock Ups6. EE Dispensing System7. MSDII Timeline8. Issues9. Appendix
17
LEVELS OF USER ACCESS
18
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
LEVELS OF USER ACCESS – CONT.
19
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
LEVELS OF USER ACCESS – CONT.
20
Caregiver Can dispense medication for patient under
caregiver’s care Patient
Can dispense own medication
OVERVIEW
1. Project Intro & Dispenser Layout2. Embedded System Selection3. Firmware Data Flow4. User Access Levels5. GUI Mock Ups6. EE Dispensing System7. MSDII Timeline8. Issues9. Appendix
21
OVERVIEW
1. Project Intro & Dispenser Layout2. Embedded System Selection3. Firmware Data Flow4. User Access Levels5. GUI Mock Ups6. EE Dispensing System7. MSDII Timeline8. Issues9. Appendix
29
SYSTEM LEVEL CHANGES - ELECTRICAL
32
Existing Change Reason
3.3V Regulator Remove Not necessary to power components
Mux/ Demux Remove Replace with FPGASystem ROM Update Old TechnologyNon-standard connector Change To USB 2.0 for standardizationMemory Card Connector Remove Replace with LaptopMicrocontroller Remove Replace with LaptopSensors Addition Increased reliability and securityFPGA Update Old Technology
COMPONENT PRELIMINARY BOM - ELECTRICAL
34
Dispensing System
Existing Components:
New Component:
Description Manufacturer Price per unit
Quantity (min)
LM2675MM-ADJ LM22675
LM2675 - SIMPLE SWITCHER Power Converter High Efficiency 1A Step-Down Voltage Regulator
National Semiconductor $1.68 1
MAX471/SO MAX4071 Bidirectional, High-Side, Current-Sense Amplifiers Maxim $1.53 1
LM2941CS X LM2941C - 1A Low Dropout Adjustable Regulator
National Semiconductor $0.87 1
LM1117MP-5.0 X LM1117 - 800mA Low-Dropout Linear
Regulator National Semiconductor $0.42 1
MIC2982/SO UDN2981A Row Drivers Allegro $1.78 4
MIC2982/SO A6800 Column Sinks Allegro $1.60 4
Dispensing Board
Material Quantity Price
Copper Traces 36” ~5$
Circuit Board Material
7.75” x 11.5" TBD
COMPONENT PRELIMINARY BOM - ELECTRICAL
35
Biometric Sensor
Component Cost Quantity
Digital Persona: U.are.U 4500 $99 1
Detection Sensors
Component Cost Description Manufacturer Quantity (min)
OPB100Z $9 Optical Emitter and Sensor Pair OPTEK TBD
OPB700Z $11 Hi-Reliability Reflective Object Sensor OPTEK TBD
GP2D120 $12 Sharp Optoelectronic Device Sharp TBD
Detection Sensor Circuitry
Component Cost Description Manufacturer Quantity (min)
Power Supply Circuitry TBD
AI-3035-TWT-3V-R $3.40 Piezo Indicator, Internal Drive Projects Unlimited 1
LM2675-3.3 $2.01 LM2675 - SIMPLE SWITCHER Power Converter High Efficiency 1A Step-Down Voltage Regulator
National Semiconductor 1
COMPONENT PRELIMINARY BOM - EMBEDDED
36
Miscellaneous
Component Cost Description Manufacturer Quantity (min)
LED $0.60 Green LED Super Bright LEDs 1
MW173KB1203B01 $38.65 PS EXT 30W 12V @ 2.50A E-STAR
SL Power Electronics Manufacture of Condor/Ault Brands
1
PCL712A $2.85 CONN JACK STR MINI POWER PCB Switchcraft Inc. 1
Embedded System
Component Cost Description Manufacturer Quantity (min)
XEM3001 $174.95 FPGA w/ built in USB microcontroller Opal Kelly 1
S25FL008A $4 8MB 50MHZ SPI EEPROM Spansion 1
Connections and Cabling
Input to PCB Board: 2 Conductors, 3
Contacts From Driver:
Cable Ribbon to Nitinol Arrays
40
OVERVIEW
1. Project Intro & Dispenser Layout2. Embedded System Selection3. Firmware Data Flow4. User Access Levels5. GUI Mock Ups6. EE Dispensing System7. MSDII Timeline8. Issues9. Appendix
41
OVERVIEW
1. Project Intro & Dispenser Layout2. Embedded System Selection3. Firmware Data Flow4. User Access Levels5. GUI Mock Ups6. EE Dispensing System7. MSDII Timeline8. Issues9. Appendix
43
ISSUES
Sensor’s SensitivityCabling properlyTimeline for prototyping and PCB
Constant Current ControllerMOSFET vs. Bipolar devices
44
OVERVIEW
1. Project Intro & Dispenser Layout2. Embedded System Selection3. Firmware Data Flow4. User Access Levels5. GUI Mock Ups6. EE Dispensing System7. MSDII Timeline8. Issues9. Appendix
45
Definition of Parallel EEPROM
Typically has 8-bit data busAddress 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 SelectedDisable Write when data is asserted on data pins
To Read:Enable Read with Address SelectedRead data asserted on data pins
Definition of Serial I2C
2 wire-inputSerial Data (SDA)Serial Clock (SCL)
Communication ProcessMaster sends start conditionMaster sends unique 7-bit address of the slaveMaster sends read/write bit (0 – write, 1 – read)Receiver (Master when read, slave when write) sends “ACK”nowledgementTransmitter (Master when write, slave when read) transmits 1 byteReceiver sends ack (repeats till stop)
top related