Development of a virtual pressure sensor model and real-time leak detection via prediction error analysis in long-distance single pipeline using LSTM
국내 상수도 관망은 산지가 많은 한국 지형 특성상 급격한 고도 변화와 경사가 존재하며, 장거리 수송 관로뿐만 아니라 도심지 내 소규모 관로들이 거미줄처럼 복잡하게 얽혀 있는 구조적 특징을 갖는다. 더욱이 대부분의 관로가 지중에 매설되어 있어 물리적인 압력 센서를 직접 설치할 수 있는 장소가 극도로 제한적이며, 관망 전반의 실시간 수압 모니터링에 큰 한계가 있다. 이처럼 복잡하고 접근성이 낮은 지하 관망에서 발생하는 미세 누수를 방치할 경우 토사 유실로 인한 싱크홀 발생 등 심각한 2차 피해로 이어질 수 있어, 미세한 압력 변동까지 정밀하게 계측하고 관리할 수 있는 체계가 필수적이다.본 연구에서는 이를 해결하기 위해 수충격 인식 알고리즘이 반영된 10ms 주기의 고속 저장 압력측정장치를 개발하여 관내 순간적인 파동과 미세 압력 변동을 정밀하게 계측하고, 이를 미세 누수 탐지에 활용하고자 하였다. 또한, 매설 관망의 센서 미설치 구간 한계를 극복하고자 시계열 데이터 학습에 탁월한 LSTM(Long Short-Term Memory)을 활용한 가상 압력 센서 모델을 구축하여 실시간 누수 감지와 연계하였다. 단일 배관 실증 시설에서 수집된 4개 지점의 수압 데이터를 활용하였으며, 인접 3개 지점(P1, P2, P4)의 고속 계측 데이터와 위치수두 효과를 반영하기 위한 고도 정보를 입력으로 하여 중간 미계측 지점(P3)의 수압을 예측하였다. 데이터 전처리 과정에서는 결측치 제거, Min-Max Scaling, 30초 크기의 슬라이딩 윈도우 구조를 적용하여 정상 운전 패턴을 효과적으로 학습시켰으며, 전자밸브 개폐 기반의 인위적 누수 실험 데이터를 적용하여 결함 감지 성능을 평가하였다. 성능 평가 결과, 결정계수(R2) 0.962, RMSE 0.0487 bar, MAE 0.0392 bar의 대단히 높은 예측 정밀도를 확보하여 가상 센서의 대체 가능성을 입증하였다. 반면 누수 발생 시에는 실제 계측 수압이 약 3.15 bar 수준으로 하강함에도 정상 데이터만 학습한 가상 센서는 정상 거동을 유지하였으며, 이로 인해 실제 계측치와 모델 예측치 간의 격차가 발생하여 실시간 예측 오차가 정상 운전 오차 기반으로 도출된 3-Sigma 통계적 판단 임계치(0.4297 bar)를 즉각적으로 돌파하였다. 나아가 누수 위치 및 유량 조건에 따른 다양한 시나리오(Case 1∼4) 분석을 수행한 결과, 모든 조건에서 오알람 없이 결함 발생을 100% 감지하는 높은 탐지 신뢰성을 검증하였다. 본 연구는 자체 개발한 10ms 고속 저장 압력측정장치와 딥러닝 가상 센서를 결합해 복잡한 매설 관망에서도 미세 누수를 실시간 감지하고 싱크홀을 선제 예방할 수 있는 경제적 방안을 제시하였다. 본 연구의 성과는 추가적인 설비 투자 없이 기설치된 센서 데이터와 딥러닝 모델의 예측 오차 모니터링만으로 복잡한 매설 관망의 이상 유출 사고를 실시간으로 판별할 수 있음을 실험적으로 증명했다는 점에서 높은 경제성과 신뢰성을 지닌다.
Domestic water distribution networks in South Korea are characterized by sharp elevation changes and steep slopes due to the mountainous topography, as well as complex, web-like interconnections of small-scale pipelines in urban areas along with long-distance transmission mains. Furthermore, because most pipelines are buried underground, locations available for directly installing physical pressure sensors are severely limited, posing a major constraint on real-time pressure monitoring. Allowing undetected micro-leaks in such complex and hard-to-access underground pipelines can lead to severe secondary disasters, such as sinkholes caused by soil erosion. Therefore, a system capable of precisely measuring and managing minute pressure fluctuations is essential.To address this issue, this study developed a high-speed storage pressure measurement device with a 10ms sampling period incorporating a water hammer recognition algorithm to precisely capture instantaneous pressure waves and micro-pressure variations for micro-leak detection. Furthermore, to overcome the limitations of unmonitored sections in buried networks, a virtual pressure sensor model utilizing Long Short-Term Memory (LSTM)—renowned for its excellence in time-series data learning—was proposed and integrated into real-time leak detection. Pressure data from four locations collected at a single-pipe empirical test facility were utilized; high-speed data from three adjacent points (P1, P2, P4) alongside elevation information representing hydraulic head effects were used as inputs to predict the pressure at an unmeasured intermediate point (P3). During preprocessing, missing values were removed, and Min-Max scaling with a 30-second sliding window structure was applied to effectively learn normal operational patterns. The defect detection performance was evaluated using artificial leak experiment data based on solenoid valve opening/closing configurations.The performance evaluation demonstrated high predictive accuracy, achieving a coefficient of determination (R2) of 0.962, an RMSE of 0.0487 bar, and an MAE of 0.0392 bar, confirming the viability of the virtual sensor as a physical substitute. Conversely, during a leak event, although the actual pressure plunged to 3.15 bar, the virtual sensor—trained exclusively on normal data—maintained a normal operational trajectory around 3.5 bar. This maximized the gap between measured and predicted values, causing the real-time prediction error to surge vertically up to 1.3 bar, immediately exceeding the 3-Sigma statistical leak detection threshold derived from normal-state error bounds.This study proposed an economical approach combining a self-developed 10ms high-speed storage device and deep learning-based virtual sensors to detect micro-leaks in real time and proactively prevent sinkholes within underground networks. The significance of this study lies in experimentally proving that abnormal leakage events in complex buried networks can be identified in real time solely through existing sensor data and prediction error monitoring of a deep learning model without additional equipment investment, demonstrating high cost-effectiveness and reliability.