ip:ws2025:do_sensor:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ip:ws2025:do_sensor:start [2026/02/12 19:01] – [Mohamed Karim (32603)] 31629_students.hsrw | ip:ws2025:do_sensor:start [2026/02/25 07:10] (current) – 32603_students.hsrw | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| [[ https:// | [[ https:// | ||
| + | |||
| + | [[ https:// | ||
| {{ : | {{ : | ||
| Line 575: | Line 577: | ||
| - | === 2.5.9 Limitations, | + | === 2.5.9 Reference-Based Calibration and Bias Analysis (Müsch) === |
| + | |||
| + | **2.5.9.1 Motivation and Relation to the System Calibration Concept** | ||
| + | |||
| + | The prototype evaluation confirms that the dissolved-oxygen (DO) sensing chain is functional and repeatable under laboratory conditions. However, quantifying accuracy requires direct comparison against a certified reference instrument across relevant operating regimes (e.g., different hydrodynamic states and mesh configurations). In addition, the manufacturer recommends a two-point field calibration (100% saturation and a zero-oxygen solution) as a baseline for routine maintenance. Within the project scope, a full two-point procedure and broad controlled sweeps over the full DO range were not feasible. | ||
| + | |||
| + | For the intended long-term deployment with copper mesh, a second question becomes operationally critical: Does the mesh (and the local hydrodynamics around it) introduce a systematic bias, and can this bias be compensated by a simple calibration function that is feasible for embedded implementation? | ||
| + | |||
| + | Therefore, this section documents a reference-based calibration experiment intended to: | ||
| + | * quantify mesh/ | ||
| + | * derive practical calibration parameters for field deployment. | ||
| + | |||
| + | **2.5.9.2 Experimental Setup and Tested Water Samples** | ||
| + | |||
| + | A reference probe (WTW FDO 925) and the project probe were mounted in the same reservoir and measured in parallel over time. The project probe ran custom firmware to enable precise logging of sensor readings and event markers (mesh changes, flow regime changes, and cooling steps to maintain approximately 20°C throughout the experiments). | ||
| + | |||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | |||
| + | **Logging-Intervals** | ||
| + | * Project sensor (SEN0680): logged every **5 seconds** | ||
| + | * Reference instrument (WTW FDO 925): read approx. **every minute** and entered near-synchronously into the same CSV record via serial command: | ||
| + | < | ||
| + | r < | ||
| + | </ | ||
| + | |||
| + | To induce DO dynamics, dissolved oxygen was increased periodically (every 5 minutes) using controlled stirring (magnetic stirrer), followed by quasi-steady segments (15 minutes) in which DO gradually decayed. | ||
| + | |||
| + | **Configurations** | ||
| + | |||
| + | Three sensor configurations: | ||
| + | * **none**: no mesh | ||
| + | * **mesh1**: front-open mesh variant | ||
| + | * **mesh2**: full-coverage mesh variant | ||
| + | |||
| + | Three flow regimes: | ||
| + | * **off**: no intentional flow (stagnant) | ||
| + | * **low**: gentle stirring (approximate laminar mixing) | ||
| + | * **med**: increased stirring intensity | ||
| + | |||
| + | **Water samples** | ||
| + | |||
| + | ^ Sample ^ Description ^ Volume ^ Typical DO ^ | ||
| + | | Sample 1 | BSB water / “Biological Oxygen Demand” | 1600 mL | ~9 mg/L | | ||
| + | | Sample 2 | Tap water | 3500 mL | ~6–8 mg/L | | ||
| + | | Sample 3 | Mussel water, aerated | 3000 mL | ~8–9 mg/L | | ||
| + | //Table 6.1: Overview of water samples used for reference-based calibration and bias analysis.// | ||
| + | |||
| + | **Operational observation (Sample 3, medium flow):** | ||
| + | At medium stirring intensity, the vortex generated by the magnetic stir bar entrained air bubbles and transported them preferentially to the reference probe. This can cause short transient phases in which the reference responds earlier than the project sensor despite similar positioning. Consequently, | ||
| + | |||
| + | **2.5.9.3 Calibration Model and Data Processing** | ||
| + | |||
| + | To keep calibration explainable and suitable for embedded deployment, a linear model was selected: | ||
| + | |||
| + | < | ||
| + | DO_ref = m · DO_proj + c | ||
| + | </ | ||
| + | |||
| + | where: | ||
| + | * **DO_ref** is the reference DO in mg/L (WTW FDO 925) | ||
| + | * **DO_proj** is the project sensor reading (scaled to mg/L) | ||
| + | * **m** and **c** are slope and offset estimated via least-squares fitting | ||
| + | |||
| + | For operational interpretation, | ||
| + | |||
| + | < | ||
| + | ΔDO = DO_proj − DO_ref | ||
| + | </ | ||
| + | |||
| + | Bias was summarised as **mean ± standard deviation (SD)** to separate systematic over-/ | ||
| + | |||
| + | **Segment selection principle (important for robust fitting): | ||
| + | * Prefer quasi-steady phases (decay / stable plateaus). | ||
| + | * Down-weight or exclude short-lived transients immediately after aeration, especially under **med** flow (bubble/ | ||
| + | |||
| + | **2.5.9.4 Results: Influence of Mesh and Flow (Bias)** | ||
| + | |||
| + | Across all three samples, the bias analysis indicates that both mesh configuration and flow regime influence measurement behaviour. | ||
| + | |||
| + | * In stagnant conditions (**off**), local gradients and boundary-layer effects are expected to be stronger, which can increase both bias and variance. | ||
| + | * In contrast, gentle flow (**low**) improves mixing near the membrane and reduces local gradients, typically improving agreement with the reference. | ||
| + | |||
| + | **Key patterns observed: | ||
| + | * **mesh2 + low flow** produced the most balanced behaviour across samples, with bias values closest to zero and comparatively low variability. | ||
| + | * **no-mesh** more frequently exhibited **positive bias** (tendency to overestimate DO), and in some cases higher variability. | ||
| + | * **medium flow** can yield good agreement during steady phases, but is more susceptible to transient artifacts during aeration and bubble transport (notably in Sample 3). | ||
| + | |||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | |||
| + | The full results from the lab experiments including the source codes for logging (during experiments) and analysis are provided for future reference: | ||
| + | |||
| + | * {{ : | ||
| + | |||
| + | |||
| + | **2.5.9.5 Recommended Calibration for Field Deployment (mesh2)** | ||
| + | |||
| + | The intended field scenario prioritises anti-fouling robustness; therefore **mesh2** is the most likely deployment configuration. Based on the reference-based fits and robustness across samples, the following strategy is recommended: | ||
| + | |||
| + | * If flow classification is feasible, a **two-regime approach** (**low** vs. **off**) is preferred because it preserves accuracy under stagnant conditions while keeping the model simple. | ||
| + | * Otherwise, a **single-curve approach** is acceptable when operational simplicity is prioritised. | ||
| + | |||
| + | ^ Regime ^ Calibration function ^ | ||
| + | | mesh2 / low | DO_ref ≈ 1.249 · DO_proj − 1.763 | | ||
| + | | mesh2 / off | DO_ref ≈ 1.238 · DO_proj − 1.673 | | ||
| + | | mesh2 / all | DO_ref ≈ 1.231 · DO_proj − 1.597 | | ||
| + | //Table 6.2: Example calibration functions derived from the dataset for mesh2.// | ||
| + | |||
| + | **Note:** These parameters are derived from laboratory measurements (three samples at controlled temperature and defined stirring regimes). Field conditions may differ (biofouling, | ||
| + | |||
| + | |||
| + | **2.5.9.6 Interpretation and Operational Notes** | ||
| + | |||
| + | **Mesh-related effects: | ||
| + | The copper mesh modifies the local hydrodynamics around the sensing membrane. The results indicate that **mesh2** can be calibrated to high short-term accuracy and that **gentle flow** reduces boundary-layer effects. Importantly, | ||
| + | |||
| + | **Flow-related effects: | ||
| + | Gentle flow improves agreement with the reference by reducing local gradients and improving exchange at the membrane interface. Medium flow can be acceptable during steady phases, but may amplify transient artifacts during aeration and bubble transport (vortex entrainment), | ||
| + | |||
| + | **Conservative monitoring perspective (alerts vs. calibration): | ||
| + | For environmental monitoring, missing low-oxygen events is typically more harmful than triggering occasional false alarms. Any safety margin should be implemented in the **alert logic** (e.g., slightly lower alarm thresholds or persistence-based alarms) rather than by intentionally biasing the calibration function, which would reduce comparability and interpretability of long-term time series. | ||
| + | |||
| + | **Maintenance: | ||
| + | Depending on pollution and suspended solids, the copper mesh can clog with dirt and organic material (observed during Sample 3). Reduced permeability and accumulation around the mesh can impair exchange near the sensing surface, leading to drift and/or reduced responsiveness. Periodic inspection and cleaning intervals should therefore be defined based on deployment conditions. | ||
| + | |||
| + | **2.5.9.7 Limitations** | ||
| + | |||
| + | * The experiment uses three representative samples but does not cover the full 0–20 mg/L DO range; broader controlled sweeps would improve generality. | ||
| + | * Temperature was held approximately constant (~20°C). Temperature dependency and compensation should be validated for seasonal field deployment. | ||
| + | * Medium-flow phases can introduce short-lived reference-leading artifacts due to bubble/ | ||
| + | * Long-term drift and fouling behaviour under real environmental conditions remain to be validated in extended deployments. | ||
| + | |||
| + | === 2.5.10 | ||
| The performance of copper-based anti-fouling systems depends on environmental factors such as temperature, | The performance of copper-based anti-fouling systems depends on environmental factors such as temperature, | ||
| Line 583: | Line 736: | ||
| Further optimisation of mesh geometry and porosity may improve convective mixing while maintaining antifouling effectiveness. A hybrid approach, combining passive copper protection with occasional low-power mechanical cleaning, could provide increased robustness against both microfouling and macrofouling. In addition, environmentally friendly surface coatings could be explored as complementary measures to further extend maintenance-free deployment duration. | Further optimisation of mesh geometry and porosity may improve convective mixing while maintaining antifouling effectiveness. A hybrid approach, combining passive copper protection with occasional low-power mechanical cleaning, could provide increased robustness against both microfouling and macrofouling. In addition, environmentally friendly surface coatings could be explored as complementary measures to further extend maintenance-free deployment duration. | ||
| - | |||
| - | |||
| ---- | ---- | ||
| Line 900: | Line 1051: | ||
| I produced two 3D-print iterations, stitched the mesh carefully to the cage and validated the mechanical fit and usability of the caps. Together with Mohamed, I planned and executed practical tests of both variants and documented the results (including logs). Based on these tests, we could not observe short-term negative effects or interference from introducing the copper mesh. All findings were then compressed into the respective sections of the report. | I produced two 3D-print iterations, stitched the mesh carefully to the cage and validated the mechanical fit and usability of the caps. Together with Mohamed, I planned and executed practical tests of both variants and documented the results (including logs). Based on these tests, we could not observe short-term negative effects or interference from introducing the copper mesh. All findings were then compressed into the respective sections of the report. | ||
| + | |||
| + | Later on, I led a more comprehensive series of experiments at LINEG to further quantify the effect of different variables such as mesh-configuration and water flow. The experiments were performed in a controlled laboratory setting at approx. 21°C and equal mounting of the reference probe (WTW FDO 925) and project probe (SEN0680). With three different water samples (BSB/" | ||
| === Stefan Rak (31604) === | === Stefan Rak (31604) === | ||
ip/ws2025/do_sensor/start.1770919290.txt.gz · Last modified: 2026/02/12 19:01 by 31629_students.hsrw