Darragh Mullins 4 th Energy Systems 11/01/2013. Performance of a wastewater treatment plant ...

Preview:

Citation preview

Wastewater Camera Monitor

Darragh Mullins4th Energy Systems

11/01/2013

Performance of a wastewater treatment plant

Conventional RGB Digital camera Consistent image acquisition Image Processing Correlation with laboratory results Generate dynamic report Autonomous Operation

Project Outline

System Model

WWTPPump Sample

into clear vessel

Extract Information· Colour· Rate of Settling· Final sediment height

Generate Report

Camera takes images at regular

intervals

Output Dispersal Area

Initial development in OpenCV Extensive image processing libraries Lacks default plotting tools Poor online documentation

Development switched to Matlab Image processing toolbox Easier plotting

Development Platform

http://opencv.willowgarage.com/wiki/OpenCVLogo

http://www.mathworks.co.uk/company/newsletters/news_notes/clevescorner/images/membrane_2002.gif

Samples

Colour Space

http://upload.wikimedia.org/wikipedia/commons/0/0d/HSV_color_solid_cylinder_alpha_lowgamma.png

Algorithm

Note: Report generation code omitted for clarity

Apply threshold

X value at average Y value Differentiate to find max slope

Sediment height

Matlab -> MS Word, ActiveX interface Real Time interface Predefined functions

◦ TOC, headers, page no. etc. actx_word_p.Selection.TypeText(text_p);

Functions sourced from Mathworks file exchange.

Automatic report generation

Environmental effects to data acquisition ◦ Vessel shape◦ Lighting conditions◦ Camera resolution

Further development

Pump out sample Take images at regular intervals Run code Publish report Dispose of sample Repeat on schedule

Labview Model

Questions ?