watermainia - university of massachusetts amherst

24
Senior Design Project: WaterMainia December 5th, 2016 Midway Design Review G

Upload: others

Post on 08-Jan-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: WaterMainia - University of Massachusetts Amherst

Senior Design Project: WaterMainiaDecember 5th, 2016

Midway Design Review

G

Page 2: WaterMainia - University of Massachusetts Amherst

2

WaterMainia

MichaelMoran

JonMcAvoy

Greg Boudreau

Team Manager

ProfessorHollot

Advisor

Page 3: WaterMainia - University of Massachusetts Amherst

3

What is the Problem?

Water Conservation Water Pipe Damage

J

Page 4: WaterMainia - University of Massachusetts Amherst

4

Our Solution - WaterMainiaSense

G

Detect Alert

MJ

Page 5: WaterMainia - University of Massachusetts Amherst

5

Requirements Analysis: Specifications

1. Must be implemented using 3/4’’ pipe2. Water flow data is metered and recorded3. Store data for previous two years4. Display water consumption data in tables, line charts and pie

charts5. Close water main & notify owner within one minute from pipe

burst6. Alerts owner of any sized leaks7. Power < 50W8. Cost <$500 budget

GM

Page 6: WaterMainia - University of Massachusetts Amherst

6

PDR Block Diagram

Android App

Flow Sensor

Rasp Pi 3 Model B Emergency

Shutoff ValveWater In

Manual OverrideWiFi

Chip

Data/Alerts Output Change Settings

G

ADC Power Relay

M

Page 7: WaterMainia - University of Massachusetts Amherst

7

MDR DeliverablesG

● Goal: Have the vacation mode functionality implemented○ Investigate and if possible implement the electromagnetic flow

meter○ Investigate and if possible implement the ultrasonic flow meter○ Implement emergency shutoff system○ Have emergency shutoff alert user via an app

M

Page 8: WaterMainia - University of Massachusetts Amherst

8

Block Diagram

Android App

Flow Sensor

Rasp Pi 3 Model B Emergency

Shutoff Valve

Water In

Manual OverrideWiFi Chip

G

ADCSolid State Relay

Bluetooth Chip

Plumbing Simulation

Signal Reshaping

Water Flow

Cloud Server

Data Transfer

Data Transfer Alert Message

120V from Outlet

Noisy signal created

Clean signal

3.3V

Page 9: WaterMainia - University of Massachusetts Amherst

9

WaterFlow Detection M

SumpPump

Electromagnetic sensor

Solenoid Valve

Ball Valve

Page 10: WaterMainia - University of Massachusetts Amherst

10

Power

Requirements:● Input=120V AC● ~ 12.5W for cpu● ~ 18W for motor● ~ <15W for flow monitor

(.6W for the coils)● Overall goal <50W power

consumption

M

*If power fails Emergency shutoff fails in the open position and will have to be manually closed

Page 11: WaterMainia - University of Massachusetts Amherst

11

Ultrasonic SensorM

Complicatedbuild

Not as accurate Costly $$ Not worth

implementation + + =

Page 12: WaterMainia - University of Massachusetts Amherst

12

Electromagnetic Coil Design

Faraday’s Lawu =BvdMagnetic Field StrengthB=NITime Varying Voltage EquationV(t) = I(t)((wL)2+R2))½

Coil Self-InductanceL = 2�*k*N2*r2/l

B = Mag Field Strengthv = velocity of liquidd = diameter of pipeN = turnsw = angular frequencyL = Inductancer =radiusk = coeff of airl = length

Page 13: WaterMainia - University of Massachusetts Amherst

13

Electromagnetic SensorJ

Water Flow

Magnetic Coils Electrodes Signal

Morphing

Water flows through the

system

Coils induce voltage

between electrodes

Voltage is read

between electrodes

Page 14: WaterMainia - University of Massachusetts Amherst

14

Amplification and Filtering Stage

Filtering▪ 4 Stage Butterworth Filter▪ -10db Drop at 100Hz

▪ 4 RC4558P IC▪ Further Low Pass Filtering

Anything Over 10Hz▪ RC Filters

Amplification▪ Two Stage Amplification▪ 2 RC4558P IC▪ Input Impedance: 5M▪ CMRR: 90db▪ Instrumentation Amplifier

▪ 20db Gain (10x)▪ Non-Inverting Op-Amp

▪ 40 db Gain (100x)

Page 15: WaterMainia - University of Massachusetts Amherst

15

Voltage Difference While Opening/Closing Valve

Page 16: WaterMainia - University of Massachusetts Amherst

16

SoftwareG

Page 17: WaterMainia - University of Massachusetts Amherst

17

Data TransferG

Android App

WiFi Chip

Cloud Server

Push Notification

Download Water Flow Data

Change WaterMania Settings

Upload Water Flow Data

Change WaterMania Settings

SMS Message

Page 18: WaterMainia - University of Massachusetts Amherst

18

Alert and Solenoid DemonstrationM

Page 19: WaterMainia - University of Massachusetts Amherst

19

Android AppG

Page 20: WaterMainia - University of Massachusetts Amherst

20

Budget

▪ Solid State Relay - $11.28▪ MCP3008 ADC - $19.86▪ Raspberry Pi 3 SBC - $41.99▪ GPIO Expansion board - $9.90▪ 110V AC Solenoid Valve - $26.99▪ 24 AWG Magnetic Wire - $16.40▪ Power Cord - $15.64▪ Bridge Rectifier - $6.75▪ 5V Voltage regulators $6.45▪ 12V regulators $5.61▪ Transformer $16.56

Total: 177.43

J

Page 21: WaterMainia - University of Massachusetts Amherst

21

Gantt ChartJ

PDR10/21

SDP Final Report

1/25/17CDR

3/4/17

FPR4/15/17

Demo Day

4/22/17

MDR12/5/16

SDP Draft

Report12/16/1

6

Page 22: WaterMainia - University of Massachusetts Amherst

22

CDR DeliverablesG

Fully Parametrized Flow Data Data Analysis Integrated and Compacted Design

Page 23: WaterMainia - University of Massachusetts Amherst

23

BloopersG\M

M

Page 24: WaterMainia - University of Massachusetts Amherst

24

Thank You

Questions

GG