MIX-A-LOT

advertisement
Peter Bowlin
Daniel Clement
Trevor Fine
Josh Kline
Tommy Sterling
4/7/2015
1
Overview
 Make a device that can easily combine multiple liquids
in specified amounts.
 Gravity-fed system utilizing valves and flow sensors
 LCD Touch-screen user interface
4/7/2015
2
Project Motivations
 Possible commercial applications of autonomous
mixing machines
 For quality control and standardization in a retail
setting.
 To create fun, healthy drinks within a home
4/7/2015
3
Objectives
 Simultaneous mixing
 Cup detection
 Fill precision of ±1 milliliter
 Easily cleanable components
 Interchangeable liquids
 Professional, easy to use touch-screen interface
4/7/2015
4
Applications
 Paint
 Drinks
 Chemicals
 Most fluids
 Flow sensors can measure highly viscous liquids
 Minimum flow rate of 0.5 Liters per minute
4/7/2015
5
System Block Diagram
LED
Control
Valves
4/7/2015
Touch Screen
CPU
I/O CPU
IR
Sensor
Flow
Sensors
Memory
LCD Driver
Network
Touch
Screen
Driver
6
Structure
• Primary structure composed
of MDF
•Holds 4 two-liter bottles.
•Cups and bottles are easily
accessible.
•MDF sealed and painted.
•Central control column houses
valves and flow meters
• Large base for stability
• Open design to be
aesthetically pleasing
4/7/2015
7
Flow Meters
•Swiss Flow meter SF800
•5-24 volts
•12-36ma/s
•Flow rate 0.5-20 liter/min
•Temperature rating -20 – 90 ⁰C
•Flow meter outputs 6,100 pulses
per liter of fluid
4/7/2015
8
Valves
 Manufactured by TAKASAGO





ELECTRIC,INC
 PK-4805-NC
Solenoid pinch valve
12VDC requiring 10 Watts
30-50 millisecond response time.
Valve is normally closed
Accepts silicon tubing with 3/16 ID
and 5/16 OD up to 50 Kpa
4/7/2015
9
MSP430F169
• Low Supply-Voltage Range, 1.8 V-3.6 V
• Available in 64-Pin Quad Flat Pack
(QFP)
• 16-Bit RISC Architecture, 125-ns
Instruction Cycle Time
• Two USART interfaces (serial/RS-232)
• 32KB Flash, 1KB RAM
• 12-Bit A/D Converter With Internal
Reference
4/7/2015
10
Nios II Embedded Evaluation Kit
• Cyclone III EP3C25F324 FPGA
• 32 MB of DDR SDRAM
• 1 MB of synchronous SRAM
• 16 MB of Intel P30/P33 flash
• 100 MHz clock speed
• Touch-screen LCD - 800 x 480 resolution
4/7/2015
11
I/O CPU (detail)
Communication with Nios II (RS-232)
IR
TRANSMITER
MSP430F169
IR Receiver
TLC5940
(LED CONT.)
I/O
NP Series
Takasago
Valve
Volt.
Controlled
V source
NP Series
Takasago
Valve
Volt.
Controlled
V source
SF800
(Flow
Sensors)
NP Series
Takasago
Valve
Volt.
Controlled
V source
SF800
(Flow
Sensors)
NP Series
Takasago
Valve
4/7/2015
Volt.
Controlled
V source
SF800
(Flow
Sensors)
SF800
(Flow
Sensors)
12
Touch-screen and FPGA
(Nios II Embedded Evaluation Kit)
Communication with
I/O CPU (RS-232)
Audio
Out
Cyclone III FPGA
NIOS II
Softcore
Processor
SDRAM
4/7/2015
LCD Panel
LCD Driver
Touch Panel
Ethernet
13
Firmware and Operating System
 MSP430 (I/O controller)
 Custom interrupt driven architecture
 Control system using feedback from flow sensors to
control the valves, prevent overshoot on fluid
dispensation.
 Altera FPGA
 Nios II softcore processor
 LinuxLink embedded linux by Timesys
 We plan to write our own LCD driver in verilog
4/7/2015
14
Software
 Human Interface
 Layout of the touch-screen and receiving touch events from
user
 Use Qtopia or a similar application platform to create the UI
 Use pre-made mixes or create their own
 Exports data for status lights
 The Intelligence
 If machine is available, or queue request if not
 Select pre-made drink
 Store a new mix for future use
 Clean it
 Make custom drink
4/7/2015
15
Costs
Item
Quantity
Price
Cost
Structure
MDF
2-Liter Bottles
Silicon Tubing
Paint
1
4
1
1
$
$
$
$
30.00
1.25
20.00
10.00
$
$
$
$
30.00
5.00
20.00
10.00
1
1
4
4
1
4
1
1
3
1
1
$
$
$
$
$
$
$
$
$
$
$
2.00
2.00
25.00
100.00
3.50
2.00
11.00
449.00
35.00
100.00
80.00
$
$
$
$
$
$
$
$
$
$
$
2.00
2.00
100.00
400.00
3.50
8.00
11.00
449.00
105.00
100.00
80.00
1
$
65.00
$
Subtotal $
65.00
1,390.50
Financial Assistance $
Total Cost $
549.00
841.50
Electrical
IR Emitter
IR Receiver
Flow Meter - SF800
Pinch Valve - PK-4805-NC
LED Controller - TLC5940
RGB LEDs
MCU - MSP430F169
Touch Screen CPU - Nios II Evaluation Kit
PCB Layout
Passive / Misc. Components
Other Parts (Wires, Connectors, etc.)
Miscellaneous
Presentation / Documentation (Poster, Binding)
4/7/2015
16
Risk
 Main risk is top heavy design of structure
 Larger base to counteract effects
 Current Peaks
 Inline fuses on power supply
 Unforeseen Complications with flow meters
 Time Constraints/pipelining issues
 Errors in the PCB
 Errors in software architecture
 Plan for extra time on certain areas
 Lack of experience with critical components
 (MSP430, NIOS II eval. Kit)
4/7/2015
17
Risk
 Shipping delay/wrong parts
 Plan for shipping time
 Order early
 Parallel planning
 Fluid Leakage
 Trevor loses interest in working
 Beat to death/takes Tommy with him
 Redefine scope of project to 3 person group
4/7/2015
18
Contingency Planning
 Use all of Altera’s drivers and libraries
 This mitigates a lot of the risk of using unfamiliar tools.
 Also will help to deal with timing risk
 If we can’t get flow meters to work, use a scale instead
with serial communication link to MSP430.
4/7/2015
19
Milestone 1
 Structure built
 First revision power PCB completed
 Second revision PCB (MSP430 and power) ready to be
ordered
 Software architecture for MSP430 and Altera FPGA
completed
 Firmware for controlling valves and taking input from
flow sensors completed
4/7/2015
20
Milestone 2
 Final PCB received and assembled
 Hardware systems integration complete
 All firmware and software tested and starting final
revisions
4/7/2015
21
Division of Labor
Danny
Structure
X
Power Circuitry, Valve Control
X
PCB Layout
X
MSP430 code
Tommy
4/7/2015
Peter
Josh
X
X
Altera - Verilog
Altera - User Interface
Trevor
X
X
X
X
X
X
22
Gant Chart
23
Questions?
4/7/2015
24
Download