/
EnergyGuard Home Management & Control System EnergyGuard Home Management & Control System

EnergyGuard Home Management & Control System - PowerPoint Presentation

SunnySeahorse
SunnySeahorse . @SunnySeahorse
Follow
342 views
Uploaded On 2022-08-03

EnergyGuard Home Management & Control System - PPT Presentation

Spencer Sullivan EE Tyler Ensey EE Gabriel Holland CpE Omar Mohammed CpE Sponsored By Motivation We wanted to create a product that could be used domestically That promotes energy efficient practices ID: 934532

amp power design circuit power amp circuit design voltage current output data relay server outlet socket mcu supply adc

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "EnergyGuard Home Management & Contro..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

EnergyGuard

Home Management & Control System

Spencer Sullivan, EETyler Ensey, EEGabriel Holland, CpEOmar Mohammed, CpE

Sponsored By:

Slide2

Motivation

We wanted to create a product that could be used domesticallyThat promotes energy efficient practicesHas significant hardware & software components to satisfy all members

Utilizes cyber-security in its software designIs easily installed with little cost and doesn't require major home modificationUses knowledge acquired from embedded systems

Slide3

Design Requirements

Plug and Play hardware design

Report Data to user via app. Data includes Energy consumption per for system and per device

A server will be used as a HUB for the system. Outlets will send data to the server. Server collects data for historical display

Slide4

Design Specifications

Power supply of 120 V 15 A given from household wall outlet

3 outlets each with a 120 V 15 A given from the power supply Each outlet must have a relay capable of handling a voltage supply of 120V AC

Also supply 3.3-5V DC line for MCU, LED’s etc.

Slide5

Power Strip

3 outlets to power devices

Power supplied from wall outlet

Circuits to read current and voltage and calculate power

Slide6

Connectors

Originally we chose the C14 connector for our design

Decided against it since we noticed that the inputs were square

Decided on the part shown since it will be applicable to our design

Manufacturer Part Number

738W-X2/01

Voltage Rating

125 V

Current Rating

15 A

Mouser, DigiKey, Amazon

$0.58-$7.00

Slide7

VSK-S2-5U

AC-DC Converter

Up to 2W Continuous Power Compact Board Mount Design 85-305VAC/12—

430VDC Input

5VDC Output

Used to power relays and relay driver Output is connected to a LDO voltage regulator, which outputs 3.3V that powers the MCU

102-2589-ND, Digi-Key, $13.25

Slide8

TPS77033DBVT LDO Linear Regulator

50mA Low-Dropout Regulator

3.3V Fixed-Output Only 17µA Quiescent Current at 50mA

Dropout Voltage Typically 35mV at 50mA

Over Current Limitation Used to power the MCU

TPS77033DBVT, TI, $1.34

Slide9

Power SUPPLY

Supplied from Wall outlet at 120 V 15 A

Neutral and live will come from wall outlet and pass through and AC/DC converter Output a 0 and 5 V line and 5 V will go to linear regulator for a 3.3 V line

Slide10

Voltage Sensing Circuit

 

 

Where

is the output of the voltage circuit,

is the offset of the instrumentation amplifier, and

is the

inverse of the transfer function of the below voltage

circuit which is

661 divided by the gain of the Op-Amp circuit which is 1.14. Giving a

K

v

value of 580.

 

Slide11

Voltage Instrumentation Amplifier

This circuit offers a 734 mV offset since the MCU can only read positive voltage.

The gain offered by this circuit is

1.14

The differential output of the voltage reading circuit is converted to a single sided output by the amplifier.

Slide12

Current Sensing Circuit

 

 

Where

is the output of the voltage circuit,

is the offset of the instrumentation amplifier, and

is

the inverse of the

gain of the

Op-Amp current

circuit which is

.

is the value if the shunt resistor which is

.

 

Slide13

Current Instrumentation Amplifier

This circuit offers a 734 mV offset since the MCU can only read positive voltage.

The gain offered by this circuit is 11

The differential output of the current reading circuit is converted to a single sided output by the amplifier.

Slide14

Power Calculations

 

Slide15

LMV324MX 14 pin IC Op-

AMp

4 Op-Amps to a packageSupply voltage of 3.3 V and -3.3V (Max 5.5)

Little distortion and noise due to small PCB tracesLow supply current

LMV324MX,

Digikey

, $1.07

Slide16

ULN2003LVDR Relay Driver

Used to control or “drive” the three relays

7-Channel High Current Sink Drivers Supports a Wide Range of 3V-to-5V Relays Compatible to 3.3V and 5.0V Microcontrollers and Logic Interface

Input RC-Snubber Low Input and Output Leakage Currents

ULN2003LVDR, TI, $0.63

Slide17

PB1696-ND Relays

Contact Arrangement – SPDT (1 Form C)

Rated Voltage – 250VAC Rated Current – 16A Polarized Bistable Version with 2 Coils

Reinforced Insulation Operate/Reset Time Max – 10/

10ms

PB1696-ND, Digi-Key, $5.93

Slide18

Circuit for Relays

Each outlet has a relay to switch the outlet on or off.

The relay driver receives inputs from the MCU to control which outlet to turn on or off

Slide19

PCB Layout

Slide20

Hardware testing and issues

PCB design problems

PCB Soldering problemsOp amp problems

Slide21

Embedded Design

Choices, Decision, & Design

Slide22

CC3200

We chose the CC3200Cheaper OptionEase of Connectivity

No need for extra peripherals4 ADC input pins

Although there are some limitations,

12-bit ADC, less accurate than we need

New MCU, less documentation & reference code

Slide23

Design Influence/Code Reference

TI's WLAN_Station_Connect_Demo - Access Point ConnectivityTI's

HTTP_Clinet_Demo – Establish Server Connection, Post DataTI's ADC_Demo – Enables ADC SamplingTI's Blinky_Demo – LED Functionality

TI's Interrupt_Demo – Interrupt HandlingTI's Metrology_Data

– Enhance Sample Accuracy

__

Slide24

Software Overview

Divided into 5 sections:Configuration & InitializationData Collection

Data Manipulation & CalculationEstablishing Connectivity Posting Data & Power StatusRepeat For Next Socket

Configuration & Initialization

Data Collection

Configuration & Initialization

Configuration & Initialization

Configuration & Initialization

Configuration & Initialization

Slide25

Discretization

ADC value returns with time stamp12-bit ADC valueSimulate a larger value by summing samples together

64 samples were summed for an increased accuracy of 6 bitsAccurate to .00005 V, 50% more accurate

Slide26

Calculation & Manipulation

Calculate accurate offset through sample averageCalculate Vin &

Iin by removing offset, applying circuit specific equationsCalculate Real Power, Apparent Power, Reactive PowerCalculate Power FactorApply Power Factor to True Power Calculation First calculate summations, then apply remaining equation

Slide27

COnnecting & Posting Data

Connect through a local Access PointThen Establish Connection with the Server, 3

jspsPost Power:Socket Number, Product ID, and Power CalculationPost Socket On/Off Status:Socket Number, Product ID, and On/Off StatusSend Final Post to establish a timestamp

Slide28

Website – energyguard.tk

Summary & Design

Slide29

FUNCTIonalities

Login and Account creationView socket status (on or off)View current power reading

View energy used in the:Past hourPast dayCurrent month

Slide30

Implementation

The front end - JavaScript, Wix (HTML, CSS)

The back end - JavaServer Pages (JSP). Event listeners to trigger JavaScript. JavaScript then triggers the JSP using jQuery POST, GET methods. The JSP connects to the database on the server The application is placed on a tomcat web server that connects to a

postgresql database.

Slide31

Issues/challenges

Learning how to query, and manipulate data based on results in JSPGET, POST JSON parser in CC3200Cache issues as a result of using HTML generated by Wix

Debugging JSPMaking the UI look pretty (Ended up using Wix)

Slide32

Work Distribution

Component

Primary Engineer

Secondary Engineer

Socket Design

SpencerTyler

Relay & Relay Driver Design

Tyler

Spencer

Power & Current Measurement Design

Spencer

Tyler

Power Strip PCB

S/T

N/A

Embedded

Programming

Gabriel

Omar

Power Strip LED Design

Spencer

Tyler

Surge Protector Design

Spencer

Tyler

MCU Peripherals

Gabriel

Omar

Web App

Omar

Gabriel

Database

Omar

Gabriel

Server

Omar

Gabriel

Slide33

Budget

Item

Quantity

Price/Unit

Total Cost

Item

Quantity

Price/Unit

Total Cost

S108T02 Relay

3

$5.00

$15.00

Rocker Switch

1

$0.93

$0.93

ULN2003LV Relay Driver

3

$0.56

$1.68

Push Button Switch

1

$0.53

$0.53

Soldering Iron

1

$50.00

$50.00

Solder

1

$10.00

$10.00

Passive Components

Many

Varying

$20.00 (Approximate)

Printed Circuit Boards

3

$33.00

$99.00

Female Socket

3

$4.20

$12.60

CC3200

LaunchPad

1

$30.00

$30.00

Male Socket

1

$2.30

$2.30

CC3200 Microcontroller

1

$17.00

$34.00

Extension Cord

1

$10

$10

Emergency Parts

$207.53

Smart Thermostat Housing (wood & plastic)

1

$30.00

$30.00 (Approximate)

Total Estimated Cost:

$570.45

Power Strip Housing (Plastic)

1

$20.00

$20.00 (Approximate)

Potentiometer

1

$0.95

$0.95

Wire

1

$25.00

$25.00

Rocker Switch

1

$0.93

$0.93

Slide34

Questions?

.