(6.9 MB PowerPoint)

advertisement
Justin Simmons
Mike Stein
Bryan Edelman
Alex Fosdick
SPACE WOLVERINES - CDR
CAPSTONE SPRING 2010
TEAM SPACE WOLVERINES!
Space Wolverine
Fosdick
Space Wolverine
Edelman
Space Wolverine
Stein
Space Wolverine
Simmons
MISSION STATEMENT

Design and implement an automated beverage
dispensing system
 System
eliminates the need for human servers
 On demand beverage dispensing for users
MODIFIED PROJECT GOALS

Low:


Middle:


Intelligent Beverage Dispensing Unit communicating
with Computer Module via wired connection
Operational LCD & Touchscreen, wireless comm.
between BDU and Computer Module
High:

All three modules working properly, fully integrated w/
wireless handheld unit & pressure control
BEVERAGE DISPENSING SYSTEM (BDS)
Beverage Dispensing Unit
Volume
Temp.
CO2
Pressure
Sense & Sense &
Volume
Sense
Control
Control
Sense
Ambient
Lighting
Notification
LEDs
Wireless
Transceiver
Card
Reader
Computer Module
Wireless Control Unit
LCD Screen
Touch
Screen
Wireless
Transceiver
Card
Reader
Wireless
Transceiver
Database
Internet
Connection
Graphical
User
Interface
User Input
Devices:
Keyboard
and Mouse
BEVERAGE DISPENSING UNIT (BDU)
Magnetic Card
Reader Input
NORDIC
WIRELESS
TRANSCEIVER
MSP430F2410
SENSORS:
Temperature
Pressure
Flow
Force
IR
JTAG
PROGRAMMER/
DEBUGGER
CONTROL:
Solenoid Valve
AC Relay
Status LEDs
USB to Serial
POWER BREAKDOWN
Wall
120 VAC
Wall Wart
3.3 V
•MSP430
•Instrumentation
Amplifier
•Temp Sensor
•Nordic
•UART Level
Shifter
•Digital Isolators
REG104A-3.3
12 VDC
•Force Sensor
•Op Amp
•Relay
•Solenoid
REG104A-5
5V
•Flow Meter
•Pressure Sensor
•Digital Isolators
TEXAS INSTRUMENTS: MSP430F2410

16-bit Ultra-Low-Power Microcontroller
 3.3
V, 270 μA
Package type: 64 Pin LQFP
 56 KB Flash, 4 KB RAM
 SPI, I2C, UART
 48 GPIO pins, 12-bit ADC
 End Equipment Optimized

 Wireless
Communication
BDU I/O
Temperature Sensor
 Honeywell Pressure Sensor
 Volume Sensor - Flow Meter
 CO2 Weight Sensor - Force Sensor
 Cup Sensor - Infrared LEDs
 Card Reader
 Ambient Lighting
 Temperature Control – Relay
 Flow Control - Solenoid

TEMPERATURE SENSOR

Analog Devices ADT7310
4 wire SPI – Port 3, UCSB0
 ± 0.5oC accuracy, 0.0625oC resolution

TEMPERATURE CONTROL
Relay switches on/off fridge compressor
 Crouzet Solid State Relay

 4-32
VDC input control line
 48-660 VAC output range
 Compressor
 Up
to 25 Amps output current
 Compressor

runs on 120 VAC
transients in ~13 Amp range
Opto-isolated and buffered
BRIDGE PRESSURE SENSOR

Supply Voltage: 10V, 0 ~ 330 mV
5
V, 0 ~ 165 mV to ADC
PRESSURE SENSOR CALIBRATION
• 5.8 mV/PSI using 5 V supply
FLOW SENSOR
SwissFlow Sensor Type 800
 Interrupt Driven I/O pin (P1.1)
 High sensitivity: ± 6000 pulses/liter

FLOW CONTROL

Solenoid Valve VDW31 Series
 Start/Stop
Flow
 User
authentication- solenoid opens
 Closes when correct volume is poured (flow sensor)
250 mA continuous current at 12 V
 Opto-Isolated and buffered
 0 V - Closed
 8 V - Open

FLEXIFORCE SENSOR
Range: 0 – 100 lbs.
 Measure remaining CO2 volume

0

– 1500 psi pressure sensors ($$$$)
Output signal into ADC
BDU SCHEMATIC
BDU SOFTWARE FLOW
FLOW DIAGRAM (BDU)
BDU
dispenses
liquid
Yes
Cup
Present?
No
System Monitors
State
(Idle)
Ambient lighting
User
Places
Cup
User
Swipes
Card
BDU
Signals
Host PC
UI Shows
Approval
Yes
Is User in
Database?
No
UI
Shows
Error
WIRELESS CONTROL UNIT
External Flash
WIRELESS CONTROL UNIT (WCU)




Custom PCB
Microcontroller
Crystal Fontz LCD
4 wire Resistive Touch Panel





External Flash/EEPROM
Wireless Module – Nordic/ZigBEE
3-Track Card Reader – Serial
Battery Powered



ADC outputs
Switch-Mode Power Supply (SMPS)
Battery Monitoring IC
Additional Buttons for Initial design and debug
WIRELESS COMMUNICATION
RF Design…no thanks (Time, $, Skills, Tools)
 nRF24L01 - 2.4GHz Transceiver IC

Cheap $8
 13.5mA/11.3mA peak RX/TX current
 900nA powered down
 2Mbps
 Protocol Stack already written
 10Mbps SPI interface
w/ interrupt

COMPUTER MODULE (CM)
Mini USB
COMPUTER MODULE

Wireless Module
Communicate w/ BDU and Wireless Control Unit
 Serial connection w/ PC


Database Window


Contains all valid customer ID’s
User Interface
Display statistics and system status
 Ability to control system

 Pressure,

Temperature
Internet Status Display
CM SOFTWARE FLOW
CDR GOALS
TASKS
Status
Obtain and Build Physical Beverage Dispensing Unit
Beverage Dispensing Unit PCB Rev 1 Designed
Initial Database Setup (Goal modified)
IP
Initial LCD Software Development
IP
PROGRESS TO DATE (HARDWARE)
Flow Meter and Solenoid Tested and Installed
 Basic MSP430 Development board

 Functional

Copper Breakout Board
PCB Design – 1st revisions
 Computer
Module Board
 BDU Board

LCD Copper Breakout Board
PROGRESS TO DATE (SOFTWARE)
Software Flow Algorithms
 Functioning ADC & SPI Communication

 Accurate
Temperature Readings
 Accurate ADC Conversions

Initial Software Development
 UART
Programming
 GUI Design
 BDU Software
DELEGATION OF WORK FOR MILESTONE 1
Task
Person Responsible
WCU Rev 1 Board Designed
Alex & Mike
BDU Rev 1 Board Testing
Alex & Bryan
Database Programming
Justin & Bryan
CM Rev 1 Board Testing
Justin
Magnetic Card Reader
Mike
Flow Sensor & Control
Justin
Temperature Sensor
Alex
Pressure Sensor
Mike
Temperature Control
Mike
GUI design
Bryan
DELIVERABLES
Milestone 1
3.16.2010
BDU Board
tested w/
functioning
sensors
BDU completely
functional
Wireless
Communication
Computer
Module Board
Tested
Wireless Board
designed and
Tested
All systems
tested and
working
Wireless comm.
development
Computer
Module
Complete
Documentation
SUPPLEMENTARY FEATURES
Ambient Mood Lighting
 User Interaction on BDU

 LCD/Graphic
LCD (Nokia 6100)
Charging WCU
 Internet module for remote access to database
 Motor Controlled Pressure Regulation

DEBUGGING TECHNIQUES

Serial to USB Chips
 Interface
through TeraTerm Pro
Mbed Microcontroller
 Logic Port – Logic Analyzer
 Indicator LED’s

RISKS AND MITIGATIONS
LCD/ touchscreen
incomplete
• Switch to smaller, simpler screen or a non-Graphic LCD
• Computer Module replaces WCU function
Wireless comm.
incomplete
• Implement control system on personal computer using
wired connection (serial)
Difficulties w/ flow
sensing & control
Database
Programming
PCB design and/or
population mistakes
• Measure volume using force sensors
• Implement database using arrays
• Fix mistakes and order another rev if there is time
• Cut traces and hand solder wires
BUDGET
Parts
Cost
Microcontroller (x14)
($168) - Sampled
Flow Meter
($25) - Sampled
Solenoid Valve
($30) - Sampled
Force Sensors (x2)
($40) - Sampled
Fridge, CO2 tank, Pressure Regulator
($400) - Donated
Nordic Wireless Modules (x3)
$25 - Purchased
20 lbs. of CO2
$20 - Purchased
Pressure Sensor
$25 - Purchased
Misc. Components/Connectors
$110 - Purchased
LCD & Touchscreen
$50 - Purchased
Total Funds
$1000
Expenses to Date
$230
Remaining Funds
$770
BUDGET
Estimated Expenses
Cost
PCB’s (3 boards, 1-2 revs)
$200.00
Magnetic Card Reader (x2)
$120.00
Ambient Lighting
$80.00
Misc. (Parts, Shipping etc.)
$150.00
Total
$550.00
Remaining Budget
$770.00
Anticipated Excess Funds
$220.00
QUESTIONS???
Download