programmable power relay senior design ii final presentation april, 23 2009

37
Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Upload: oswald-randolph-rogers

Post on 17-Jan-2018

219 views

Category:

Documents


0 download

DESCRIPTION

Overview Introduction Problem Solution Final Product Practical Constraints Bill of Materials Technical Constraints Software Testing Hardware Testing Questions

TRANSCRIPT

Page 1: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Programmable Power Relay

Senior Design IIFinal Presentation

April, 23 2009

Page 2: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Team Members

Jameson Mitchell Electrical Engineering PC to PIC communication GUI Design

David Null Electrical Engineering TRIAC control Firmware Design Schematic Design PCB Layout

Rick Wolbrecht Electrical Engineering Packet Encoding GUI Design

Lane Simmons Electrical Engineering Team Leader Firmware Design Website Design

Page 3: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Overview• Introduction• Problem• Solution• Final Product• Practical Constraints• Bill of Materials• Technical Constraints• Software Testing• Hardware Testing• Questions

Page 4: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Introduction

What is the PPR supposed to do?• Control device power using schedule• Allow automated control• Minimize need for user input after schedule is

set

+

Page 5: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Problem 

 • Current power strips have limited features

No programmable timing schedule No interactive user interface No dimming capability No battery backup

 

Page 6: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Solution

 • "Smart" power strip with enhanced features

o Programmable Timing Schedule for AC-switchingo PC software applicationo Dimmingo Battery Backup

• Possible Target Markets• Task Automation• Security

Page 7: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Final Product

Page 8: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Pre-Build Concept

Page 9: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Finished Design

Page 10: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Practical Constraints

Page 11: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Health and Safety

• Must conform to Underwriters Laboratories (UL) standards for safetyoNon-conducive Casingo Fused Overcurrent Protection

Page 12: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Economic• Must be manufactured for less than $50

Page 13: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Bill of MaterialsDescription Part

NumberPrototype Cost

Production Cost

1000 units

Advanced Electronics PCB 2247819 33.00 5.21

PIC24HJ64GP502 PIC24HJ64GP502-I/SO-ND 5.82 3.81

MODULE USB - SERIAL MODULE MINI

768-1022-ND 17.5 13.12

IC RTC SERIAL 512K 8-DIP DS1307+-ND 3.74 1.69

IC AC/DC CONV 5V 200MA SIP10 BP5063-5-ND 6.72 4.2

FUSEHOLDER ATO 20A IN-LINE F1086-ND 3.9 1.74

BATTERY LITHIUM COIN 3V 16MM  P034-ND 1.00 0.53

HOLDER COIN CELL FOR 16MM CELL

BH600-ND 0.83 0.45

TRIAC ISOL 600V 25A TO-3 Q6025P5-ND 11.92 5.4

CAP .1UF 200V 10% CER RADIAL 399-4387-ND 0.96 0.28

Description Part Number Prototype Cost

Production Cost

1000 units

Optocouplers 6Pin 250V 512-MOC3011SR2M 1.52 0.668

CAP 22UF 200V ELECT VR RADIAL

493-1178-ND 0.47 0.16

ZERO CROSSING512-FOD8143S 0.38 0.134

USB MINI B CONNECTOR798-UX40-MB-5P 1.18 0

USB MINI B PANEL MOUNT523-MUSB-B151-34 11.66 0

RECTIFIER 400V 1A DO-41 1N4004DICT-ND 0.3 0.02

INDUCTOR HIGH CURRENT 820.0UH DN7786-ND 2.63 1.05

SUR ABSORBER 5MM 360V 600A ZNR P7243-ND 0.25 0.1

CRYSTAL 32.768KHZ CYLX801-ND 0.3 0.16

4.7 x 3.5 x 3.2 Polycarbonate Enclosure 546-1554G2GYCL 18.29 5.5

MOD PWR NEMA OUTLETS SNAP-IN PNL 486-1082-ND 1.9 1.06

  Total: $122.37 $45.28

Page 14: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Technical Constraints

Page 15: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Technical Constraints   

• Real time clock must operate at all times, under all power conditions

• Timing schedule accuracy must include Years, Months, Days, Hours, Minutes, Seconds

• PC is required to operate user interface

• Must supply power to internals from 120VAC

• Switching power must operate up to 120VAC at 15A (NEMA 5-15 Standard) [1]

• Must support output dimming

Page 16: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Technical Constraints ResultsFrom Design I

RTCC Operation PassTiming Schedule Accuracy Pass

PC Operation Pass

AC/DC Power Supply Pass

Power Output Pass

Output Dimming Fail

Page 17: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Technical Constraints Resultsin Design II

RTCC Operation PassTiming Schedule Accuracy Pass

PC Operation Pass

AC/DC Power Supply Pass

Power Output Pass

Output Dimming Pass

Page 18: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Software Tests• Text File I/O• Serial Port I/O • Conversion Method• Exception Handling• Event Deletion Method

Page 19: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Text File Test• Enter Event into GUI• Event is saved to text file

Page 20: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Text File Test• Text file data is loaded

into memory upon opening of application

Page 21: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Serial Port Test

• Serial Port was scoped to see if packet is being sent

Page 22: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Error Checking Test

Page 23: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Conversion Test• Convert Event class

data into packet format

Page 24: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Conversion Test

Page 25: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Conversion Test

Page 26: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Event Deletion Test

Page 27: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Event Deletion Test

Page 28: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Hardware Tests

Page 29: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

PCB Testing

• Populate in sections• Test each section directly after population• Exception with surface mount(PIC)• Tests:

– Power (AC/DC 120VAC to 5VDC, 5VDC to 3.3VDC, Zero Crossing)

– PIC communication(programming)– RTCC– TRIAC control

Page 30: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

PCB Power

ZERO CROSSING

AC/DC 5VDC

3.3VDC

Page 31: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

PCB Communication

ICSP USB

Page 32: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

RTCC and TRIAC Control

TRIAC Header on Bottom of Board

Page 33: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

TRIAC Output / Dimming Tests

Page 34: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Finished PCBBefore Population

Populated and Tested Fully Functional Board

Page 35: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Single Event (Constant Power)

Repeating Event (Constant Power)

Single Event (Interrupted Power)

Repeating Event (Interrupted Power)

Single Event (Constant Power)*Dimmed*

Repeating Event (Constant Power)*Dimmed*

Single Event (Interrupted Power)*Dimmed*

Repeating Event (Interrupted Power)*Dimmed*

Outlet 1

Outlet 2

Simultaneous Startup/Shutdown Outlets 1&2

Offset Startup/Shutdown Outlets 1&2

Test Cases

Page 36: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

Questions ?

Page 37: Programmable Power Relay Senior Design II Final Presentation April, 23 2009

References•[1] Powercords Online, "IDC Plugs - Standards," [Online]. Availible http://www.powercords.co.uk/standard.htm 

•[2] "Appliance Wiring Material, UL 758." Underwriters Laboratories. http://ulstandardsinfonet.ul.com/scopes/0758.html. Accessed September 16, 2008.

•[3] “Isolé® IDP-3050 Plug Load Control.” WattStopper.  http://www.wattstopper.com/products/details.html?id=74&category=122&type=Commercial. Accessed August 27, 2008.

•[4] “Bits Energy Saving Smart Strips.” Bits Limited. http://catalog.bitsltd.us/power_strips/. Accessed August 27, 2008.

•[5] “6-PIN Dip Random Phase Optoisolators Triac Driver Output.” Programmable Power Relay Datasheets. http://www.ece.msstate.edu/courses/design/2008/smartcord/downloads/MOC3011-M.pdf. Accessed December 1, 2008.