15
EE/CS 480/481 1 07/03/22 08:10 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai Kevin Eldrige Jon Worley Advisor Dr. Robert Albright Dr. Peter Osterberg Industry Representative Mr. John M. Haner, B.P.A.

EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

Embed Size (px)

Citation preview

Page 1: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

104/20/23 06:05 PM University of Portland School of Engineering

Project YewInline Power Monitor with Cost

Analysis

TeamZubin Bagai

Kevin Eldrige

Jon Worley

AdvisorDr. Robert Albright

Dr. Peter Osterberg

Industry RepresentativeMr. John M. Haner, B.P.A.

Page 2: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

2University of Portland School of Engineering

Overview

• Introduction

• Functional Diagrams

• Scorecard

• Additional Accomplishments

• Plans

• Issues/Concerns

• Conclusions

04/20/23 06:05 PM

Page 3: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

3

ACPower

Sensing

Data Processing

Actuate Display

Prototype

Device

User Input

Display

University of Portland School of Engineering

Introduction

04/20/23 06:05 PM

Current Sensor

Voltage Sensor

MOSIS Chip

Keypad Input

5V DC Power Supply

LCD Display

PIC Microcontroller

Top Level Functional Block Diagram

Component Level Block Diagram

Page 4: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

4

Power Sensing Functional Diagram

04/20/23 University of Portland School of Engineering

Page 5: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

5

1

9

2

10

RA[0...5]

VoltageCurrent

1

9

2

10

RE[0..7]

1 9

2 10

RB

[0..7

]

1

9

2

10

RD[0..7]

+5 VDC

10k

DB0

LCD

DB1

DB2

DB3

DB4

DB5

DB6

DB7

RS

E

VDD

Vo

R/W_L

VSS

A

K

LCD Datasheet does not mention anything about connecting a capacitor between VDD and R/W_L nor does it

mention connecting a resistor between Vo and R/W_L. EE 433_Lab2 had the extra components mentioned above

220ohm

220ohm

220ohm

220ohm

Hours (5 bits)

1

9

2

10

RJ[0..7]

Maximum Price (8 bits)

1

9

2

10

RF[0..7]

Present Price (8 bits)

1

9

2

10

RC[0..7]

Minutes: b6-b4 = 10's place, b3-b0 = 1's place(7 bits)

Phantom Utility Signal

PIC Register Diagram

Page 6: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

6

PIC Macro-Model

04/20/23 University of Portland School of Engineering

Page 7: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

7

MOSIS

text

PIC

8 bit Present Price

8 bit Max Price

1 bit Clock

1 bit Reset

7 bit Minutes

5 bit Hours

3 bit Relay Control

8 Bit Comparator

24 Hour Counter

A

B

A>B

A=B

A<B

Reset

Reset

Clock

Minutes

Hours

text

text

Relay

MOSIS Functional Diagram

04/20/23 University of Portland School of Engineering

Page 8: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

8

CPLD

04/20/23 University of Portland School of Engineering

Page 9: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

904/20/23 University of Portland School of Engineering

Voltage Waveforms

Page 10: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

10University of Portland School of Engineering

Scorecard

• PIC macro-model built

• Rebuilt sensor circuit

• Measured voltage from socket through PIC

04/20/23 06:05 PM

Completed Shortcomings•Voltage Divider circuit gave unexpected values

•Zubin was out for two weeks

•CPLD returns unexpected values

•Relay broke

Page 11: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

11

Additional Accomplishments

• We were able to get accurate A/D conversion from PIC– Sent voltages in, to get binary representations

out

• Got power supply working

04/20/23 University of Portland School of Engineering

Page 12: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

12University of Portland School of Engineering

Plans

• Finish programming PIC

• Get our current sensor values in and out of the PIC

• Complete integration of components

• Test and debug entire circuit

• Get and test MOSIS with circuit

04/20/23 06:05 PM

Page 13: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

13University of Portland School of Engineering

Milestones

04/20/23 06:05 PM

Number Description Original 11 Dec 09

Previous26 Jan 10

Present23 Feb 10

19 Power Sensor Circuits Built 1/26/10 1/26/10 1/26/10

20 January Program Review 1/26/10 1/26/10 1/26/10

21 CPLD Programmed and Tested 1/31/10 1/26/10 1/26/10

22 Test Power Sensor with CPLD 2/12/10 2/12/10 2/12/10

23 PIC Programmed and Tested 2/19/10 2/19/10 2/28/10

24 February Program Review 2/23/10 2/23/10 2/23/10

25 System Integration Complete 2/26/10 2/26/10 3/5/10

26 Finish System Testing with CPLD(s) 3/5/10 N/A 3/5/10

27 Spring Break 3/8/10 N/A 3/8/10

28 Receive MOSIS Chip and Test in System 3/15/10 N/A 3/15/10

29 Implementation of Any Additional Features 3/19/10 N/A 3/19/10

30 System Testing Complete 3/26/10 N/A 3/26/10

31 March Program Review & Demo 3/30/10 N/A 3/30/10

Page 14: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

14University of Portland School of Engineering

Concerns/Issues

• CPLD clock error• Solution: further test bug

• Backup: Use PIC internal timers

• System integration was delayed• Solution: Schedule more hours each week to catch

up

04/20/23 06:05 PM

Page 15: EE/CS 480/481 111/16/2015 9:02:14 PM University of Portland School of Engineering Project Yew Inline Power Monitor with Cost Analysis Team Zubin Bagai

EE/CS 480/481

15University of Portland School of Engineering

Conclusions

• Project Yew is an Inline Power Monitor

• Bugs were found but progress was made

• Plans have been made to catch up

• Revise voltage measurement

• System integration is our next target

• Questions?

04/20/23 06:05 PM