Remote Acquisition of Water Quality Parameters

canolaokahumpkaΗλεκτρονική - Συσκευές

2 Νοε 2013 (πριν από 4 χρόνια και 5 μέρες)

99 εμφανίσεις

Remote Acquisition of

Water Quality Parameters

UA Department of Electrical and Computer Engineering

ECE 494 Design Review


Chris Hall

Josh Converse

Jimmy Simmons

2

Remote Acquisition of Water Quality Parameters

Presentation Outline


Project Background


Project Specifications


Potential Solutions


System Design


General System Diagram


Sampling Nodes


Base Node / Back
-
End Server


RF communications


Software Flow Diagrams


Network Information

3

Remote Acquisition of Water Quality Parameters

Presentation Outline (Continued)


Testing and Validation


Communications


Enclosure/Power


Sensors


Software


Project Impact


Societal


Environmental


Health and Safety


Ethical

4

Remote Acquisition of Water Quality Parameters

Presentation Outline (Continued)


Administrative Details


Future Concerns


Schedule


Budget


Conclusion


Q & A

5

Remote Acquisition of Water Quality Parameters

Project Background

6

Remote Acquisition of Water Quality Parameters

Problem Statement


The client desires to collect
water quality data at a remote
location with collection points
spread throughout the site

7

Remote Acquisition of Water Quality Parameters

Solution Statement


The design team will design,
implement, test, and deploy an
end
-
to
-
end solution to remotely
collect multiple water quality
parameters and present them to
the client in an easy
-
to
-
use
fashion.

8

Remote Acquisition of Water Quality Parameters

Project
Specifications

9

Remote Acquisition of Water Quality Parameters

Project Specifications


Must use client’s existing equipment


Hydrolab MS5 Sondes (Sensor Packages)


MaxStream XStream 900MHz Radio Modems



Sampling Node Measurements


Temperature, pH, turbidity, dissolved oxygen


Local images (Tentative)

10

Remote Acquisition of Water Quality Parameters

Project Specifications (Continued)


Wireless communication meets all FCC
standards


Sampling node batteries must support at
least 5 days of autonomy


Operating Temperature:
-
5 to 50
°

C

11

Remote Acquisition of Water Quality Parameters

Potential

Solutions

12

Remote Acquisition of Water Quality Parameters

Node Options


Sampling Node


Connect wireless modem and sensor


General purpose computer


Microcontroller


Balance power, processing speed, scalability



Base Node


Microcontroller


General purpose computer

-
Balance processing speed, programming ease

13

Remote Acquisition of Water Quality Parameters

Node Options (Continued)


Node to base communications


Infrared Communication, Wifi


RF Communication


Power consumption, range, line
-
of
-
sight


Enclosure


Custom Designed


Turnkey Solution (SunWize)


Power


Transmission Line, Battery, Solar


Battery/Solar Combination (SunWize)




14

Remote Acquisition of Water Quality Parameters

Back
-
End Server


Back
-
End Server


General Purpose Computer


Speed, storage, programming ease



Communications with base node


Cellular, Satellite, Dial
-
up ISP, Broadband


Phone line modem (Direct connection)


Cost, availability, quality of service

15

Remote Acquisition of Water Quality Parameters

System

Design

16

Remote Acquisition of Water Quality Parameters

General System Diagram

17

Remote Acquisition of Water Quality Parameters

Theory of Operation


Sampling node collects water quality data


Data transmitted wirelessly to base node


Base node aggregates data on
-
site


Aggregate data sent to back
-
end server on
request


Data archived indefinitely on back
-
end server


Data and system control functions made
available to the user through a web interface

18

Remote Acquisition of Water Quality Parameters

Sampling Node: Processing


Technological Arts Adapt9S12XDP512


Freescale MC9S12XDP512 Processor


16 MHz Crystal, 40 MHz clock speed via PLL


4K EEPROM, 32K RAM, 512K Flash Memory


6 SCI Ports, 2 of which are RS232


2 8
-
channel 10
-
bit analog
-
to
-
digital converters


3.25” x 2.3” x .5”


CAN, SPI, I
2
C Interfaces


Breadboard Module: 3.25” x 2.3” x .5”


100 mA current draw

19

Remote Acquisition of Water Quality Parameters

Sampling Node: Data Acquisition


Hydrolab MS5 Water Quality Sonde


4 Sensor Slots, 120,000 Measurement Data Logger


29.5” Long, 1.75” Outer Diameter, 2.2 lbs


RS
-
232, RS
-
485, SDI
-
12 Interface


200 mA current draw


Hach Environmental Sensors


Dissolved Oxygen:


Range: 0 to 20 mg/L


Resolution: 0.01 mg/L


Error:
±

0.1 mg/L (< 8mg/L),
±

0.2 mg/L (> 8mg/L)

20

Remote Acquisition of Water Quality Parameters

Sampling Node: Data Acquisition


pH


Range: 0 to 14 pH units


Accuracy:
±

0.2 units


Resolution: 0.01 units



Temperature


Range:
-
5 to 50
°
C


Accuracy:
±

0.10
°
C


Resolution: 0.01
°
C

21

Remote Acquisition of Water Quality Parameters

Sampling Node: Data Acquisition


Turbidity


Nephelometric Turbidity Units (NTU)


Range: 0
-
3000 NTU


Error:

-
1% (< 100 NTU),

-
3% (100
-
400 NTU),

-
5% (400
-
3000 NTU)


Resolution:

-
0.1 NTU (0
-
400 NTU)

-
1 NTU for >400 NTU

22

Remote Acquisition of Water Quality Parameters

Sampling Node: Communications


MaxStream XStream RF Modem


2.75” x 5.5” x 1.125”, 7.1 oz


900MHz (ISM Band)


RS
-
232 Serial Interface (19,200 bps)


Static RF transmit rate (20,000 bps)


70 mA receiving, 170 mA sending, 6 mA standby


100mW TX Power,
-
107 dBm sensitivity (~10 pW)


Half
-
wave 2.1 dB dipole antenna

23

Remote Acquisition of Water Quality Parameters

Sampling Node: Power


SunWize Power Ready (PR040
-
12
-
079)


12 V system, 40W Solar Panel, 79 Ah battery


Enclosure: 17” x 16” x 9.5”, 12 lbs


Solar Array: 38” x 17” x 1.3”, 12.5 lbs


Customized system controller


Surge protection


Temperature compensation


Overcharge protection

24

Remote Acquisition of Water Quality Parameters

Sampling Node: Current Needs



Off
-
Peak

Peak

Microcontroller

100 mA

100 mA

RF modem

70mA

170 mA

Sensor sonde

0 mA

200 mA


Total

170 mA

470 mA

25

Remote Acquisition of Water Quality Parameters

Sampling Node: Battery Calculations

Current draw (Peak):

470 mA

Current draw (Off
-
Peak):

170 mA

Peak duty cycle:

5%

Capacity/day

4.44 Ah

Days of autonomy:

5

Discharge cycle:

50%

Temperature multiplier:

1.3

Total capacity required:

57.72 Ah

Chosen battery capacity:

79 Ah

26

Remote Acquisition of Water Quality Parameters

Sampling Node: Solar Calculations

Average capacity / day:

4.44 Ah

Sun
-
hrs / day:

3.5 h/day

Total Amperage required:

1.27 A

System Voltage:

12 VDC

Total Power Required:

15.22 W

Chosen Solar Panel:

40 W

27

Remote Acquisition of Water Quality Parameters

Obtaining Sun Hours

28

Remote Acquisition of Water Quality Parameters

Sampling Node: Battery Information


Concorde SunXtender Battery (PVX
-
690T)


10.22” x 6.60” x 8.93”, 51 lbs


12V, 79 Ah @ 120 h, 69 Ah @ 24 h


Protection Features


Sealed, valve
-
regulated batteries


Temperature rating
-
40ºF to 160ºF


Absorbent Glass Mat (AGM) design


UL Certified Component


DOT HMR49 Compliant


29

Remote Acquisition of Water Quality Parameters

Sampling Node: Structure


Permafloat Float Drum


2’ x 3’ x 12” (6 cubic feet)


Float up to 335 lbs


High
-
endurance polyethylene shell


Filled with expanded polystyrene


One piece molding process



“Redneck Factor”


Solar Panel

Battery/Electronics

RF Antenna

Floating Structure

Sensor Sonde

Bracing Structure

Sampling Node: Diagram

31

Remote Acquisition of Water Quality Parameters

Base Node & Back
-
End Server


Dell OptiPlex GX400


1.8 GHz, 1.0 GB RAM


Slackware Linux 11


Custom 2.6.20 Kernel


MySQL 5


Apache HTTP Server Version 2


Apache Tomcat connector to interface with Java


U.S. Robotics 56K Performance Pro Modem


33.6 kbps, low
-
level communication handled by OS


Programmed in Java and Perl

32

Remote Acquisition of Water Quality Parameters

Sampling Node

Software Flow

33

Remote Acquisition of Water Quality Parameters

Base Node

Software Flow

34

Remote Acquisition of Water Quality Parameters

Back
-
End Server Software Flow

35

Remote Acquisition of Water Quality Parameters

Communications: Modbus Protocol


Open, royalty
-
free data exchange protocol


Request composed of functions (read, write)


Functions operate on “published” slave registers


Master/Slave architecture


16
-
bit CRC


Designed for serial communications


Simple, register
-
based reads and writes

36

Remote Acquisition of Water Quality Parameters

Web Interface Details


Data section


Tabular listing of recorded data


Detailed values for running 30 day period


Monthly average values beyond 30 days


Sortable by date, time, and values



Control section


System diagnostic information


Buttons to take a reading on demand


Fields to change system variables


Sampling threshold, data lifetime, etc

37

Remote Acquisition of Water Quality Parameters

Testing And

Validation Plan

38

Remote Acquisition of Water Quality Parameters

Testing and Validation Plan

Hardware:


Communications


RF Transmission integrity

-
On site point
-
to
-
point connections established

-
99% reliability


Phone line communications

-
Connection quality & speed

-
Establish dial
-
up connection and pass test data

39

Remote Acquisition of Water Quality Parameters

Testing and Validation Plan


Power systems


Battery life tests

-
Load testing


Voltage regulation tests


Enclosure


Weatherproofing

-
Leak & Temperature tests


Sensor elements


Calibration


Controlled environment tests

40

Remote Acquisition of Water Quality Parameters

Testing and Validation Plan

Software:


Sampling node code


Base node code


Back
-
end server code



Unit testing & Integrated System analysis


Multiple test vectors


Boundary conditions


Load testing

41

Remote Acquisition of Water Quality Parameters

Project Impact
Considerations

42

Remote Acquisition of Water Quality Parameters

Societal and Environmental Impact


No new technology (Integration task)


Research and experience in areas of
environmental monitoring


Deploying in a fishing club


Economic, personal, and environmental impact


Introducing foreign objects to aquatic habitat


Must ensure that no components harm the
immediate environment


Normal & Abnormal functioning

43

Remote Acquisition of Water Quality Parameters

Health and Safety


Concerns


Hazards during time of deployment and maintenance


Risk of injury to tampering individuals


Chemical, electrical, and boating hazards



Precautions


Extreme caution will be taken during install


Reflectors, LED Lights for boaters


Sealed enclosure


Sampling nodes will utilize warning labels to deter
unauthorized personnel from interacting with unit

44

Remote Acquisition of Water Quality Parameters

Ethical Considerations


System design will be property of the client


Software will be released under the GPL v2


Designers will follow reasonable and prudent
engineering practices

45

Remote Acquisition of Water Quality Parameters

Administrative

Details

46

Remote Acquisition of Water Quality Parameters

Planning Ahead


Power systems have been sized to allow the
installation of additional equipment



Software is capable of supporting additional
sampling nodes



Designers will provide full documentation on
the system to accommodate easy expansion
and maintenance

47

Remote Acquisition of Water Quality Parameters

Project Schedule

48

Remote Acquisition of Water Quality Parameters

Budget Information

Unit Cost

Quantity

Extended

Microcontroller

$150

4

$600

RF Modem

$250

2

$500

Sonde Modifications

$3,000

3

$9,000

Solar Power System

$1,254

4

$5,016

Additional Equipment

$300

4

$1,200

Total

$16,316

49

Remote Acquisition of Water Quality Parameters

Conclusion


Josh Converse, Chris Hall, Jimmy Simmons



End
-
to
-
end water quality monitoring system


Sampling & Base nodes, Back
-
end server


Temperature, pH, Turbidity, DO


Information provided via web based interface

50

Remote Acquisition of Water Quality Parameters

Questions?