Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth...
-
Upload
sabina-chambers -
Category
Documents
-
view
217 -
download
0
Transcript of Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth...
![Page 1: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/1.jpg)
WIRELESS NETWORK OF DISSOLVED OXYGEN (DO)
MONITORS
Sd-May11-20Betty Nguyen
Scott MertzDavid Hansen
Ashley Polkinghorn
AdvisorsJoseph ShinarRuth ShinarwithBob Mayer
![Page 2: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/2.jpg)
Background Existing Solution
Network communication confirmed, prototype
No confirmed DO content measurement
Bulky Code○ No Calibration Messages
Power consumption ~180mA at all times
Non-functional boards○ Faulty boards that would
burn out
![Page 3: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/3.jpg)
Project Objective Implement robust low-power, star topology
network of DO sensors Increase accuracy of DO measurements by
factoring in temperature Implement remote calibration of DO sensors Reduce power consumption of units to increase
battery life of remote sensors Redesign and refactor existing implementation to
increase maintainability and flexibility
![Page 4: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/4.jpg)
Functional Requirements The monitor units shall take readings of dissolved oxygen and of
temperature and use them to calculate DO levels. The monitor units shall wirelessly transmit their readings to the master
controller. The master controller shall request readings from each monitor unit. The master controller’s graphical user interface shall display information
from each monitor unit to the user and allow an operator to obtain data from a specific unit.
The master controller user interface shall allow the user to poll a monitor unit for data.
The Windows service shall log all data processed through the unit in a SQL database.
The network nodes shall create a star-like topology. The Windows service shall send calibration data to each monitor unit. The monitor units shall enter a low-power sleep mode when not in use.
![Page 5: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/5.jpg)
Nonfunctional Requirements The monitor units’ calibration data shall persist across power
loss. The DO monitors and the network coordinator must
communicate when they are up to 1000 meters apart. The system should be able to configure in a star topology. The temperature measurements shall be accurate to ±1
degree Celsius. The DO measurements shall be accurate to ±0.5 ppm. The monitor units’ batteries shall last 14 days.
![Page 6: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/6.jpg)
System Decomposition
![Page 7: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/7.jpg)
DO Sensor Hardware
![Page 8: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/8.jpg)
DO Sensor Theory of Operation
Platinum/Palladium Octaethylporphyrin (Pt/PdOEP) films excited by UV or green OLEDs.
Measure DO by observing the decay constant (tau) of the photoluminescence (PL) of the excited PtOEP films Time (s)
0 100 200 300 400
Inte
nsity
(arb
. uni
ts)
0.0
0.5
1.0
1.5
2.0
Time (s)
10 20 30 40
Inte
nsity
(arb
. uni
ts)
0.00
0.50
1.00
1.50
2.00
100% Ar O2- saturated water
![Page 9: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/9.jpg)
DO Sensor Theory of Operation
1. Excite the PtOEP film
2. Sample PL over time using a photodiode and microprocessor to measure the voltage from the sensor
3. Calculate tau using least-squares exponential fit
1. 0% DO - ~100µs
2. 20% DO (air) - ~30µs
3. 100% - <5µs
4. Calculate DO with temperature (and film) dependent a and b
![Page 10: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/10.jpg)
DO Monitor Software
![Page 11: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/11.jpg)
ZigBee NodeNetwork Data Received
Register GUID
Instruction?Yes REGISTER
Get Data Instruction?
No
Calibrate Instruction?
No
PREPARING TO SLEEP
No
GETTING DATAYes
CALIBRATINGYes
CHECKING IN
Has GUID?Max
Register Retries?
No
Yes
SENDING MESSAGE
SLEEPING
WAKING UP
Success? Send to Network ConfirmationNoReached
Max Number of
Retries?
No
Yes
YesNo
Check In or Register
Message?
yes
No
yes
Start MC Time Out Timer
yes
MC Time out
Joined Network
![Page 12: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/12.jpg)
ZigBee Network Coordinator
Is Message Complete?
READY
PACKAGING MESSAGE
SENDING MESSAGE
WRITING TO USART
Joined Network
Success?
More Messages?USART Byte Received
Network Data Received
Yes
Yes
Send to Network Confirmation
Yes
No
Reached Max
Number of Retries?
No
No
Yes
Yes
![Page 13: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/13.jpg)
Master Controller Improvements Modular Message Types Fewer Database Queries Separation of Concerns Calibration Capability Database Relationships
![Page 14: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/14.jpg)
Master Controller Service
ZigBeeMessage
MasterControllerService
CalibrationDataMessage
CheckInMessage
AssignedUniqueIDMessage
RequestUniqueIdMessage
ConfirmationMessageReadingDataMessage
NoActionMesasge
TakeReadingInstructionMessage
CalibrationData
DabatabseAccessor
UartComm
«uses»
«uses»
«uses»
«uses»
«uses»
«uses»
«uses»
![Page 15: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/15.jpg)
Master Controller GUI
MasterControllerGUI
Message DatabaseAccessor
CalibrationDataCalibrationDataDisplay
ReadingData
uses
usesuses
uses
uses
uses
uses
uses
uses
![Page 16: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/16.jpg)
Master Controller Database
![Page 17: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/17.jpg)
DO Sensor Testing Couldn’t compare DO
measurement directly due to old, degradated PtOEP films
Instead, measure tau and compared to lab measurement
100% PL decay too fast to measure with MCU
Temperature measurements within ±1°C
DOLab (us)
Ours (us)
0% 73.8 74.9
20% 35.7 37100% 14.7 13-16
0 10 20 30 40 50 60 700
10
20
30
40
50
60
70
80
f(x) = 90.6668623345085 exp( − 0.0325478503087422 x )
PL decay (PtOEP)Sample Rate = 1.8196us
![Page 18: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/18.jpg)
DO Monitor Unit Power Usage
• Estimated battery life w/out changes (remote, 5 minute period): 2.4 days
• Estimated battery life w/ changes (remote, 5 minute period): 20.2 days
• Estimated battery life w/ changes (remote, 15 minute period): 23.7 days
![Page 19: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/19.jpg)
ZigBee Network Testing Verified ZigBee Node can register with the
Master Controller Verified ZigBee Node can sleep and wake
up Verified ZigBee Node checks in periodically Verified ZigBee Node can wake up the DO
Monitor to get DO Data and for calibration Verified the Network Coordinator can
receive/send messages and interact with the Master Controller
![Page 20: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/20.jpg)
Master Controller Testing
Verified that message are scheduled correctly
Verified that the correct data is displayed Verified that the correct data is exported Verified MC Service’s response to node
check-ins Verified that readings from nodes are
received and stored properly
![Page 21: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/21.jpg)
System Testing Accurate DO and temperature readings
transmitted to the Master Controller and logged Calibration data transmitted to the DO monitor unit Monitors use as little power as possible Calibration and readings are scheduled and
executed on remote devices Readings are retrieved for export and display in
the GUI Network functioned correctly with simulated high
traffic (Increased check-in rate on network of 3 nodes)
![Page 22: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/22.jpg)
What is Next for the Project Integrate Pressure Sensor Handshaking protocol for PC software and
Network Coordinator Switch from Zigbit Amp to Digimesh to
allow for true mesh network with power saving
Reduce current usage to ~5mA in sleep mode
Create Network Coordinator PCB Accurate readings at high DO levels
![Page 23: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/23.jpg)
Conclusions Integrated temperature sensor Brought current consumption down to
~40mA by using a sleep mode procedure Actually measured DO content accurately Upgraded and refined hardware Created a working star network Added calibration utility Documented new and existing code
![Page 24: Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar Ruth Shinar with Bob Mayer.](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649da15503460f94a8de80/html5/thumbnails/24.jpg)
Questions?