AquaTrace
PIPELINE MONITORING

ACOUSTIC PROFILING · PIPELINE INTEGRITY

Every drop. Located.

Flow sensors tell us if water is lost. Sound echoes tell us where. A neural network tells us how much.

● Connecting… ⤓ Export readings
Monitor Pipeline 01 pipeline-esp32-01
Last reading —
Inlet flow
—L/min
Sensor F1 · 32 cm
Outlet flow
—L/min
Sensor F2 · 88 cm
Flow loss
—L/min
— of measured inlet flow
Estimated water lost
—litres
Estimate since restart

CURRENT ASSESSMENT

—

Waiting for the first reading.

Leak severity
—
Calibration
—
Sensors active
—
Firmware
—

ARTIFICIAL INTELLIGENCE · MLP 3-12-4 (MATLAB)

—

The neural network classifies the leak size from the loss (L/min), loss % and its variation over 5 s. It runs on the ESP32; weights trained in MATLAB.

No leakSmallMediumLarge

ACOUSTIC PULSE REFLECTOMETRY

Where is the leak?

A phone at the inlet plays a click. The microphone hears the echoes coming back from the pipe. The echo that appears only when the leak is open gives the distance: d = v · t / 2.

F1 · 32 cm F2 · 88 cm 🎤 mic + 📱 click

No echo result yet

Step 1: leak valve closed → record the healthy pipe. Step 2: open the leak valve → locate the leak.

Before pressing: start click_2k.wav on the phone at the inlet. The monitor picks up the request within ~6 s.

Received (UTC+4)ResultDistanceSound speed

THE FLOW PICTURE

Inlet meets outlet

Inlet F1 Outlet F2 · refreshes every 5 s

YOUR MEASUREMENT LOG

Recent readings 0

⤓ CSV
Received (UTC+4)InletOutletLossConditionSeverityAI

MICROPHONE TEST

Acoustic recording

Records up to 12 s on the KY-037 microphone and compares it with learned sound patterns.

Last similarity
—
Pattern
—
Recorded
—

SYSTEM DETAILS

How it works

  • ESP32 reads two YF-S201 flow sensors (F1 32 cm, F2 88 cm) on a 120 cm pipe.
  • Mass balance: loss = F1 − F2 → a leak exists between the sensors.
  • KY-037 microphone (ADC 20 kHz) + phone click → echo distance, 24-click averaging.
  • Neural network trained in MATLAB → leak size on the ESP32.
  • Cloud: HTTPS → Cloudflare + D1 database; alerts by ntfy.