290 likes | 440 Views
Justin Simmons Mike Stein Bryan Edelman Alex Fosdick. Space Wolverines Capstone Spring 2010. Design and implement an automated beverage dispensing system System eliminates the need for human servers On demand beverage dispensing for users. Mission Statement. Crowded/Long Lines. Why?.
E N D
Justin Simmons Mike Stein Bryan Edelman Alex Fosdick Space WolverinesCapstone Spring 2010
Design and implement an automated beverage dispensing system • System eliminates the need for human servers • On demand beverage dispensing for users Mission Statement
Crowded/Long Lines Why? • Customer Satisfaction • Theft • Regulated Volume • Money
Beverage dispenser will monitor and control its environment • Owners can • control and limit access • monitor system status • track customer trends • Users will • be registered • have their beverage purchases tracked • be billed automatically • Two operator interfaces • PC with GUI • Handheld unit with touch screen LCD System Overview
Case Study- 5 Guys Burgers and Fries • Beverage Dispensing Unit (BDU) • Wireless Control Unit (WCU) • Computer Module (CM) Longmont (Medium Volume) 4 BDU 1 WCU 1 CM Fort Collins (High volume) Aurora (Low volume) 6 BDU 2 BDU 2 WCU Master CM Master Database 1 CM 1 CM
Used Refrigerator Refillable Sankey Keg Shell CO2 Tank Dual Gauge - Adjustable Pressure Regulator Keg Tap Misc. Hosing and O-rings Spout Physical System for Dispensing Unit
Flow Diagram (BDU) UI Shows Approval BDU dispenses liquid Yes System Monitors State (Idle) User Places Cup User Swipes Card BDU Signals Host PC Is User in Database? No UI Shows Error
Dispensing Unit User Input 3-Track Card Reader Temperature Sensor & Control Microcontroller Wireless Module Pressure Sensor & Control Status LCD/LEDs Ambient Lighting Volume Sensor & Flow Control
Custom PCB • Microcontroller • Wireless Transceivers • Nordic/ZigBEE • Magnetic Card Reader (3-track reader) • Interactive (Graphic LCD/LED’s) • External Data Memory (Flash) • Database Accesses • Prompts Database for User Authenticity (MySQL) • Servos/Motors for Controlling System State (TBD) • Starting/Stopping Flow • Drink Tilt (Motor controlled/Counterbalance) Beverage Dispensing Unit (BDU)
Temperature • Analog Devices Temp Sensor • ± 0.50C accuracy, 16-bit I2C or SPI • 0.06250C resolution • Digital Potentiometer used for control temp • I2C or SPI • Pressure Detection • Multiple CO2 pressure transducers • 0 – 30 psi and 0 – 1800 psi • Volume Detection • Flow meter (SwissFlow Meter) • Force sensor • FlexiForce Sensor 0-100 lb. range BDU continued
Track the flow for each beverage pour • Calculate the remaining volume of the system • SwissFlow Sensor Type 800 • Designed to measure liquid flows for a large variety of liquids • Flow is measured by a turbine in the flow path • Infrared beam is used to detect rotation of turbine • High sensitivity: ± 6000 pulses/liter Flow Sensor
Wireless Communication • Send_Drink_Request( ), Wait_For_State( ) • 3-Track Magnetic Card Reader • Get_User_Info( ) • Data Acquisition • Get_Temp( ), Get_Pressure( ),Get_Volume( ) • Ambient Lighting Control • Status LED Control • Regulation of BDU (temperature, pressure, etc.) • Set_Temp( ), Set_Pressure( ) • Drink Delivery • Dispense_Drink( ), Monitor_Flow( ) Software and Firmware (BDU)
Pressure Determination • Analog Pressure Gauges • How to Convert this to a Digital Signal • Calculations Using System State? • Dual Gauge System • Difficulty in Keeping Accurate Measurements • Flow Meters Effect on Beverage • Slow Pours, Foamy Dispensing • We are Electrical Engineers, not Mech E’s Obstacles with Dispensing Unit
Wireless Control Unit Wireless Module 3-Track Card Reader Mobile Power Supply (SMPS) Microcontroller Touchscreen Battery Charge Monitor LCD Display External Flash
Custom PCB • Microcontroller • High Speed for LCD • 4 wire Resistive Touch Panel • ADC outputs • External Flash/EEPROM • Wireless Module – Nordic/ZigBEE • 3-Track Card Reader – Serial • Battery Powered • Switch-Mode Power Supply (SMPS) • Battery Monitoring IC • Additional Buttons for Initial design and debug Wireless Control Unit (WCU)
Graphic LCD – 3.5” • 18 bit Parallel/SPI • 320X240 RGB • Built in LCD Controller • 172Kbytes Internal RAM • Integrated Touch Screen • Low Power WCU User Interface
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 Wireless Communication
LCD Display • Refresh_Display( ), Highlight_Selection( ) • Touchscreen • Get_Touch_Input( ) • 3-Track Reader • Get_User_Info( ) • Wireless Control • Set_New_Temp( ), Set_New_Pressure( ) • Database Access • New_User( ), Add_Drink( ), Remove_Drink( ), Check_User( ), Block_User( ) • Power • Check_Battery_State( ) Software and Firmware (WCU)
Flow Diagram (WCU) System Displays State (Idle) WCU Highlights Selection Yes User makes Selection? No WCU Accesses Database WCU Receives System Data Yes WCU Updates Screen Database Query? No Send or Receive Data
Computer Module (CM) Personal Computer Graphical User Interface Customer Database Wireless Module Internet
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 Computer Module
Ambient Mood Lighting • User Interaction on BDU • LCD/Graphic LCD (Nokia 6100) • Charging WCU • Internet module for remote access to database Supplementary Features