Download CDR Presentation

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
CDR Presentation
Thursday February 28, 2013
Reviewed by: Prof. Bardin & Prof. Gao
Paulo Leal, Kevin Okiah, Chris Finn
& Tim Mirabito
Department of Electrical and Computer Engineering
Outline







MDR Recap
CDR Goals/Progress
Design Choices
FPR Goals
Demos
Cost Breakdown
Questions?
Department of Electrical and Computer Engineering
2
Project Recap
 Project Goal
Give people a means to monitor and control the
electrical devices within their households.
 Motivation
• Energy conservation has a significant social &
economic impact.
• It is hard to conserve energy because
• Limited quantitative data
• Limited social awareness
• Limited residential control
Department of Electrical and Computer Engineering
3
MDR Recap: Block Diagram
Department of Electrical and Computer Engineering
4
MDR Recap: Communication Flow
Department of Electrical and Computer Engineering
5
Tim’s MDR Review
 At MDR I had reverse engineered the critical
components of the P4400 Kill-a-Watt device.
 From this process, circuit schematics for each
subsystem of the device were generated.
 In addition, a proprietary design for a
transformerless power supply was created,
simulated and laid out on a PCB.
• The specifications of were designed to match the power
requirements for our components.
Department of Electrical and Computer Engineering
6
Tim’s Proposed CDR Goals
 Prototype modified “Tweet-a-Watt” for real-time
data
 Complete proprietary design of watt meter
subsystems
 Integrate relay and XBee layouts into proprietary
design
 Complete schematic and PCB layouts for a fully
functioning system
Department of Electrical and Computer Engineering
7
Initial Power Supply Design
Initial PCB layout for the transformer less power supply design schematic with a 15V
and 50mA output.
Department of Electrical and Computer Engineering
8
Design Revision: Power Supply
 Initial design for a
transformerless power
supply presented
efficiency & fail safe
challenges.
• Conversion Efficiency of
~10%
CUI Series VSK-S1 Model 5U
 Opted instead for a
commercial power
supply in a fail safe
configuration.
Department of Electrical and Computer Engineering
9
Design Revision: Power Supply
Department of Electrical and Computer Engineering
10
Design Choice: Relay Circuit
The simulation results for the XBEE
trigger showing relay control
Department of Electrical and Computer Engineering
11
Design Choice: Current & Voltage Sense
Utilization of the INA128P instrumentation amplifier from Texas Instruments
was chosen due to the design being specifically applicable to our objective
and high CMRR of 130dB.
Department of Electrical and Computer Engineering
12
Current & Voltage Sense Subsystem
Circuit schematic and simulation output from the implemented
design show the voltage values corresponding to current and
voltage readings being sent to the XBEE.
Department of Electrical and Computer Engineering
13
Paulo’s Goals/Progress
 Build Tweet a Watt
 Networking Circuit
• Setup XBee Network
• Transmit data wirelessly from model A to B
• Control Switching Mechanism
 Relay Circuit
• Design & Test
Department of Electrical and Computer Engineering
14
Overview - Design Choice: Tweet a Watt
Department of Electrical and Computer Engineering
15
Overview - Design Choice: XBee Wireless Radios
 XBee Series 1
•
•
•
•
•
Indoor Range: 100ft.
RF Data Rate: 250Kbps
Frequency: 2.4 GHz
AES encryption
Analog to Digital converter
Department of Electrical and Computer Engineering
16
Overview – Previous Design Choice: Relay CKT
 PowerSwitch Tail for 110-120vac
• Provide single pole switching at 20
amps
• 5300vrms isolation
• Driving voltage as little as 3vdc @ 3ma
• Cost: $18.50
Department of Electrical and Computer Engineering
17
New Design – Relay Circuit

Outlet Switching Circuit
•
•
•
•
•
Relay – 220V @ 20A
NPN transistor controls coil current (80mA)
R1 pulls the trigger pin to ground so if
anything goes haywire the relay will remain
in the safe (Off)
Diode – protects power supply and nearby
parts
Cost: $5
Department of Electrical and Computer Engineering
18
Christopher’s CDR Goals/Progress
 Parse XBee input
 Allow connection from user interface to database
• Over internet via port forwarding
 Relay circuit control
• Integrated with user interface buttons
 Security
• SSL for apache server
• User account database/login system
• AES XBee communication encryption
Department of Electrical and Computer Engineering
19
Quick Review of Design Choices
 Raspberry Pi
• 700 MHz ARM computer
• Runs custom Debian Linux
• Utilize Linux packages
 LAMP Server
 Python
•
•
•
•
Serial communication to/from XBee
Data processing
Database interactions
Raspberry Pi GPIO control
Department of Electrical and Computer Engineering
20
Security
 Generated Self-Signed SSL Certificate
• Has to be manually trusted by browser to suppress
warnings
 Login system
• Table of user/md5(password) combos
• PHP sessions
 XBee 128bit AES encryption
Department of Electrical and Computer Engineering
21
Data Flow: Outlet Data
Department of Electrical and Computer Engineering
22
Data Flow: Relay Control
Department of Electrical and Computer Engineering
23
Additional Design Notes
 Physical Storage Requirements
• Trade off between accuracy & storage size
• Past Year
• Minute intervals => 4.2MB per outlet per year
• >1 Year
• Fifteen Min. intervals => 280KB per outlet per year
• Total per outlet = 4.2MB + 4*280KB = 5.3MB
• Est. Household Total (5 yr, 100 outlets) = ~0.5GB
Department of Electrical and Computer Engineering
24
Kevin’s MDR Recap /CDR Goals
 Developed a Basic user interface prototype
that is functional across all operating system
Network
Interface
Department of Electrical and Computer Engineering
25
Kevin’s MDR Recap /CDR Goals Continued
Plotting functionality
FLOT
AwesomeChartJS
Demonstrated plotting data by successfully querying the
database
User Interaction with the system was Limited
Function to receive and send relay Signal
Develop a function to assimilate new devices to the system
Department of Electrical and Computer Engineering
26
PROGRESS
Programing Languages
 HTML5
 CSS
 JavaScript
 PHP
 JQUERY
Department of Electrical and Computer Engineering
27
Progress continued
Main Functions
•
•
•
•
•
Real-time data
Account summary
Usage History
Your Energy Cost
Devices
Department of Electrical and Computer Engineering
28
Demos!
Department of Electrical and Computer Engineering
29
FPR Group Goals




Chris
•
Multi-room integration (via HomePlug)
•
User defined storage intervals
•
Downloadable ZIPs of table data
•
Optimize data calculations
•
Code revisions
• Clean up & optimize
Tim
•
Professor review of preliminary PCB layout for manufacture.
•
Implementation of scalability functions:
• Multiple 120V Outlets
• 240V Outlet Interface
• Increased Sampling Rate
Paulo
•
Expand Wireless Network to multiple rooms
•
Finalize Integration Process within blocks
•
Design a safe and minimized final enclosure
Kevin
•
Seamless assimilation of new devices to the PowerPi system
•
Expand my plotting functionality to accommodate more than one device/ outlet.
•
Improve user interaction by giving users more control over the system
Department of Electrical and Computer Engineering
30
Full Circuit Schematic
Department of Electrical and Computer Engineering
31
XBee Explorer
Using the current design of the XBee Explorer as a foundation, the final
implementation of the watt meter PCB will have a subsystem with pin out
headers for easy upgradability.
Department of Electrical and Computer Engineering
32
Full Circuit PCB Layout
 PCB layout done
via Cadsoft’s
EAGLE
 Top & Bottom
Layered with
copper
grounding.
 Part outlines
established via
silk screening.
 Board Size:
119mm x
105mm
Department of Electrical and Computer Engineering
33
PCB Fabrication
 PCB fabrication can be done at many companies;
some of the ones I’ve looked at:
•
•
•
•
•
Custom Circuit Boards, LLC. in AZ
E-Teknet, Inc. in AZ
PCB Solutions LLC in NV
Fineline Circuits & Technology, Inc. in CA
PCB FAB EXPRESS in CA
 The cost to fabricate a single board will cost $60$100 dependent on board layering, and size.
 The turn around time varies from 3 to 10 days.
Department of Electrical and Computer Engineering
34
Cost Breakdown
QTY
UOM
Unit Price
Description
Total
1
1
$35.00
Raspberry PI Model B
$35.00
3
1
$19.49
P3 International P4400 Kill A Watt Electricity Usage Monitor
$58.47
1
1
$49.99
Actiontec PWR511K01 500 Mbps HomePlug HD Power line
Wall Plug Network Adapter
$49.99
1
1
$3.95
Jumper Wires Premium 6“ M/F Pack of 10
$3.95
1
1
$3.95
Jumper Wires Premium 6" F/F Pack of 10
$3.95
3
1
$3.00
T9A Series Relay
$9.00
2
1
$19.00
XBee Series 1 XB24-AWI-001
$38.00
5
1
$21.00
Prototype PCB
$105.00
5
1
$11.01
VSK-S1 Power Supply
$55.05
Total
Department of Electrical and Computer Engineering
$358.41
35
Questions
Department of Electrical and Computer Engineering
36