320 likes | 419 Views
MIX-A-LOT Critical Design Review. Peter Bowlin Daniel Clement Trevor Fine Josh Kline Tommy Sterling. Mix-A-Lot Overview. Create a device that can combine multiple liquids in an automated fashion Uses: making drinks mixing liquid paints mixing chemicals ( not all at the same time)
E N D
MIX-A-LOTCritical Design Review Peter Bowlin Daniel Clement Trevor Fine Josh Kline Tommy Sterling Trevor
Mix-A-Lot Overview • Create a device that can combine multiple liquids in an automated fashion • Uses: • making drinks • mixing liquid paints • mixing chemicals (not all at the same time) • Gravity-fed system • Four 2-liter bottles, with a pinch valve and flow sensor for each • Goal: Simultaneously dispense a precise amount of each fluid into a single cup or other container Trevor
Levels of Objective • Low Level: • Easily cleanable components • Interchangeable liquids • Dispense from one bottle at a time • LEDs to indicate system state and fluid dispensation from each bottle. • Pre-made mixes selectable with buttons on the Altera board (no touch-screen GUI) Trevor
Levels of Objective (continued) • Mid Level: • Fill precision of 1 mL • Simultaneous dispensing • Basic touch-screen GUI • Cup detection (basic functionality) • High Level: • More fully featured GUI • Create mixes • View amount of remaining fluids. • iPhone interface via bluetooth • Internet connectivity via embedded web server Trevor
Milestone 1 • Structure built- Done • First revision PCB ordered • Software architecture for MSP430 and Altera FPGA completed • Demonstrate valve control and flow-sensor input • Draw button on touch-screen and receive touch event Peter
Milestone 2 • Final PCB ordered • Hardware systems integration complete • MCU receives and executes commands from FPGA • GUI and data structures fully implemented. Final debugging of these in process. Peter
Expo • Functional system • Combines appropriate liquids on command • Cup detection implemented • LED indicators • Touch-screen user interface with GUI • Ability to create mixes Peter
Level 1 Josh
Level 2 - MCU Josh
Level 2 - FPGA Parallel Data LCD Panel Communication with I/O CPU (RS-232) Cyclone III FPGA SCL NIOS II Softcore Processor LCD Controller SDA Audio Out SCL DDR SDRAM Controller Flash Memory Controller Touch Panel SDA Address Address Control Control Data Data DDR SDRAM Flash Memory Peter
Hardware - Structure • Securely holds 4 2-liter bottles • Control column houses the 4 valves and flow meters • Predrilled holes for the RGB LEDs at each bottle • Nice and stable Danny
Hardware - Silicon Tubing • FDA and NSF approved food grade tubing • Low fluid friction • 1.7 Liters per minute in our structure • 10mm outside diameter • 8mm inside diameter Danny
Hardware - Flow Meters • Swiss Flow meter SF800 • 5 volt • 12-36ma • Flow rate 0.5-20 liter/min • Outputs a pulse train Danny
Hardware - Valves • Accepts 10mm diameter tubing • Solenoid pinch valve • Operates 12VDC at 1.7A • 30-50 ms response time. • Valve normally closed • Manufactured by TAKASAGO ELECTRIC,INC • PK-0802-NC-3 Danny
Hardware - Power Supply • 12V computer power supply powers the valves • Currently we have tested the computer power supply that we have (200 Watt) with all 4 valves and it can handle them… like a champ • 5V wall wart power supply will power everything else • The rest of the circuit will require less than 1A • 3.3V will be regulated from the 5V power supply Danny
TLC 5940 • 16 PWM channels • Going to be using two chips daisy chained • 10 RGBs total • 5 GPI/O to communicate • Flexible SPI communication Tommy
Hardware – MSP430F169 • I/O Controller MCU • Utilized Features: • USART0 – RS232 • FPGA • USART1 – SPI • LED driver • 30 GPIO pins • Internal DCO • Interrupt driven arch. Tommy
Valve Control Schematic Danny
Flow Meter Circuit Danny
Costs Josh
MSP430 Firmware Wait for Mixture Command Is there liquid? No Error handler Yes Is there a container No Mix Acknowledge Yes Open Valves Pour Complete? No Josh
MSP430 Interrupt Handler Interrupt received Which Port Port X (1-4) Add to counter X Check if desired amount Close Solenoid Yes No Update Amount Left in Bottle Return Tommy
Touch-Screen Control (Nios II) • Provide a user interface for the system: • Use µC/GUI • GUI will have three screens • Will update the screens based on the status of the machine • No longer planning to use embedded Linux Peter
Risks Solutions • Optocouple isolation • Plan for extra time on certain areas • Testing! • System Noise/device failure • Time Constraints/pipelining issues • Errors in the PCB • Errors in software architecture • Lack of experience with critical components • (MSP430, NIOS II eval. Kit, µC/GUI) Tommy
Risks • Shipping delay/wrong parts • Plan for shipping time • Order early • Parallel planning • Fluid Leakage Tommy
Contingency Planning • Already canned Linux idea • New plan: implement GUI with Micriµm • Alternatives: • Bitmap images to create the GUI • Use push buttons instead of touch events. • If we can’t get flow meters to work, use a scale instead with serial communication link to MSP430. Tommy
Division of Labor Josh
Gantt Chart Josh