[go: up one dir, main page]

CN118856241A - Urban pipeline monitoring method and system based on data analysis - Google Patents

Urban pipeline monitoring method and system based on data analysis Download PDF

Info

Publication number
CN118856241A
CN118856241A CN202411364750.7A CN202411364750A CN118856241A CN 118856241 A CN118856241 A CN 118856241A CN 202411364750 A CN202411364750 A CN 202411364750A CN 118856241 A CN118856241 A CN 118856241A
Authority
CN
China
Prior art keywords
data
sensor
signal interference
sensors
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202411364750.7A
Other languages
Chinese (zh)
Inventor
刘兰辉
张旭阳
陈忠杰
祁恒力
林勇安
肖睿仪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Guoyan Automation Co ltd
Original Assignee
Shandong Guoyan Automation Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Guoyan Automation Co ltd filed Critical Shandong Guoyan Automation Co ltd
Priority to CN202411364750.7A priority Critical patent/CN118856241A/en
Publication of CN118856241A publication Critical patent/CN118856241A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D5/00Protection or supervision of installations
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D1/00Pipe-line systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention discloses a city pipeline monitoring method and system based on data analysis, and particularly relates to the technical field of pipeline monitoring: analyzing operation data and marking abnormal data points by acquiring sensor basic information of different monitoring positions; constructing a spatial distribution model based on the physical positions of the sensors, and evaluating the correlation anomaly degree of the adjacent sensors; identifying abnormal fluctuation in the frequency components through spectrum analysis, and evaluating the stability of the signal frequency; comprehensively analyzing the correlation abnormality and the frequency stability, and determining the signal interference level; the sensor pair with high signal interference level is optimized, data before and after optimization are compared, parameters and deployment modes of the sensor are continuously adjusted, stability of sensor signals and monitoring accuracy of a system are improved through accurate analysis and optimization, misjudgment caused by signal confusion and interference is effectively avoided, and overall reliability and efficiency of the system are improved.

Description

基于数据分析的城市管道监测方法及系统Urban pipeline monitoring method and system based on data analysis

技术领域Technical Field

本发明涉及管道监测技术领域,具体涉及基于数据分析的城市管道监测方法及系统。The present invention relates to the technical field of pipeline monitoring, and in particular to a method and system for urban pipeline monitoring based on data analysis.

背景技术Background Art

基于数据分析的城市管道监测是指利用先进的传感技术和数据处理方法,对城市中的各类管道(如供水、排水、燃气管道等)进行实时监测和评估。通过在管道中部署传感器,收集如压力、流量、温度、振动等数据,结合大数据分析与机器学习技术,能够自动识别异常情况,预测潜在风险,并优化管道的运行和维护。通过智能化的数据处理手段,及时发现管道泄漏、堵塞、老化等问题,避免突发性事故发生,提高城市管道系统的安全性和运行效率。Urban pipeline monitoring based on data analysis refers to the use of advanced sensing technology and data processing methods to monitor and evaluate various pipelines in the city (such as water supply, drainage, gas pipelines, etc.) in real time. By deploying sensors in the pipelines to collect data such as pressure, flow, temperature, vibration, etc., combined with big data analysis and machine learning technology, it can automatically identify abnormal situations, predict potential risks, and optimize pipeline operation and maintenance. Through intelligent data processing methods, pipeline leakage, blockage, aging and other problems can be discovered in a timely manner to avoid sudden accidents and improve the safety and operation efficiency of urban pipeline systems.

现有技术存在以下不足之处:The prior art has the following deficiencies:

当多个传感器同时运行,采集不同类型的数据(如流量、压力、温度等),但在空间上距离较近或工作频率相似时,它们的信号可能会被采集系统混淆。例如,一个用于监测管道流量的超声波传感器可能与附近的温度传感器工作在类似的频率范围,导致系统误读数据,将温度变化的波动误认为是流量的变化。这种信号混淆会引发数据不一致,导致系统无法准确判断实际情况。同时,数据分析系统在处理来自不同传感器的数据时,依赖于传感器之间的协同工作。如果某些传感器的输入数据因干扰而不一致,可能导致算法得出错误的判断。When multiple sensors are running simultaneously, collecting different types of data (such as flow, pressure, temperature, etc.), but are close in space or operate at similar frequencies, their signals may be confused by the acquisition system. For example, an ultrasonic sensor used to monitor pipeline flow may operate in a similar frequency range as a nearby temperature sensor, causing the system to misread the data and mistake fluctuations in temperature changes for changes in flow. This signal confusion can cause data inconsistencies, making it impossible for the system to accurately judge the actual situation. At the same time, the data analysis system relies on the collaboration between sensors when processing data from different sensors. If the input data of some sensors is inconsistent due to interference, it may cause the algorithm to make incorrect judgments.

发明内容Summary of the invention

本发明的目的是提供一种基于数据分析的城市管道监测方法及系统,以解决背景技术中不足。The purpose of the present invention is to provide a method and system for urban pipeline monitoring based on data analysis to solve the shortcomings of the background technology.

为了实现上述目的,本发明提供如下技术方案:基于数据分析的城市管道监测方法,包括以下步骤:In order to achieve the above object, the present invention provides the following technical solution: a method for monitoring urban pipelines based on data analysis, comprising the following steps:

S1:获取管道系统内不同监测位置传感器的基础信息,并对各传感器采集到的实际运行数据进行初步分析,根据实际运行数据的变化趋势,识别异常数据点并进行标记;S1: Obtain basic information of sensors at different monitoring locations in the pipeline system, and conduct preliminary analysis on the actual operation data collected by each sensor. According to the change trend of the actual operation data, identify abnormal data points and mark them;

S2:对于异常数据点,基于传感器的物理位置,计算传感器之间的距离,并建立传感器的空间分布模型,对位于相邻空间位置的传感器数据进行相关性分析,评估不同传感器数据之间的相关性异常程度;S2: For abnormal data points, based on the physical location of the sensors, the distance between sensors is calculated, and a spatial distribution model of sensors is established. The correlation analysis of sensor data located at adjacent spatial locations is performed to evaluate the abnormal degree of correlation between different sensor data;

S3:对传感器的数据进行频谱分析,通过傅里叶变换将时间序列数据转换为频域数据,识别出频率成分中的异常波动,评估传感器信号频率的稳定性;S3: Perform spectrum analysis on the sensor data, convert the time series data into frequency domain data through Fourier transform, identify abnormal fluctuations in the frequency components, and evaluate the stability of the sensor signal frequency;

S4:对不同传感器数据之间的相关性异常程度和传感器信号频率的稳定性进行分析,并根据分析结果确定每对传感器之间的信号干扰等级;S4: Analyze the abnormal degree of correlation between different sensor data and the stability of sensor signal frequency, and determine the signal interference level between each pair of sensors based on the analysis results;

S5:对高信号干扰等级的传感器对进行优化,并将优化前后的数据进行对比,评估信号干扰是否减少,根据评估结果不断调整传感器的参数,持续优化传感器的部署与工作模式。S5: Optimize sensor pairs with high signal interference levels, compare the data before and after optimization, evaluate whether the signal interference is reduced, continuously adjust the sensor parameters based on the evaluation results, and continuously optimize the deployment and working mode of the sensors.

优选的,S1中,根据实际运行数据的变化趋势,识别异常数据点并进行标记,具体为:对每个传感器的历史数据进行时间序列分析,绘制数据随时间的变化趋势图,对于每个传感器数据,计算移动平均值,即在指定的时间窗口内计算平均值,计算传感器数据与其移动平均值的差分,识别波动幅度大的数据点,若数据点的差分值大于设定的阈值,则将其标记为异常。Preferably, in S1, according to the changing trend of the actual operation data, abnormal data points are identified and marked, specifically: time series analysis is performed on the historical data of each sensor, and a graph of the changing trend of the data over time is drawn; for each sensor data, a moving average is calculated, that is, the average value is calculated within a specified time window, the difference between the sensor data and its moving average is calculated, and data points with large fluctuations are identified; if the differential value of the data point is greater than a set threshold, it is marked as abnormal.

优选的,S2中,对异常数据点两个相邻传感器的数据之间的线性相关性进行分析后生成相关性异常指数,评估不同传感器数据之间的相关性异常程度,则相关性异常指数的获取方法为:Preferably, in S2, the linear correlation between the data of two adjacent sensors of the abnormal data point is analyzed to generate a correlation anomaly index, and the degree of correlation anomaly between the data of different sensors is evaluated. The method for obtaining the correlation anomaly index is:

将两个相邻传感器标记为S1和S2,分别记录相应的时间序列数据,,表示传感器S1在时刻1到n的数据序列;,表示传感器S2在时刻1到m的数据序列,构建成本矩阵C,记录了序列Q和C中每对数据点之间的距离,定义为:;其中之间的距离,计算表达式为:;矩阵C的大小为n×m,每个元素表示Q的第i个点和C的第j个点之间的距离,寻找时间序列之间的最优匹配路径,构建累积距离矩阵D,其元素D(i,j)表示从Q[1]到Q[i]和C[1]到C[j]的最小路径距离,动态规划的递推关系为:;式中,;从D(n,m)开始,沿着动态规划路径,即逆向跟踪回到D(1,1),找到时间序列Q和C之间的最小路径距离,路径的长度称为DTW距离,即:;计算相关性异常指数,表达式为:;式中,L为最优匹配路径的长度,SD为相关性异常指数。Mark two adjacent sensors as S1 and S2, and record the corresponding time series data respectively. , represents the data sequence of sensor S1 from time 1 to n; , represents the data sequence of sensor S2 from time 1 to m, and constructs the cost matrix C, which records the distance between each pair of data points in the sequence Q and C, and is defined as: ;in yes and The distance between them is calculated as: ; The size of matrix C is n×m, and each element represents the distance between the i-th point of Q and the j-th point of C. Find the optimal matching path between time series and construct the cumulative distance matrix D, whose element D(i,j) represents the minimum path distance from Q[1] to Q[i] and C[1] to C[j]. The recursive relationship of dynamic programming is: ; In the formula, ; Starting from D(n,m), follow the dynamic planning path, that is, trace back to D(1,1), and find the minimum path distance between the time series Q and C. The length of the path is called the DTW distance ,Right now: ; Calculate the correlation anomaly index, the expression is: ; Where L is the length of the optimal matching path, and SD is the correlation anomaly index.

优选的,S3中,分析频谱中的频率分布,识别出频率成分中的异常波动,根据主频率分量的位置发生漂移的程度生成主频率漂移指数,评估传感器信号频率的稳定性,则主频率漂移指数的获取方法为:Preferably, in S3, the frequency distribution in the spectrum is analyzed, abnormal fluctuations in the frequency components are identified, a main frequency drift index is generated according to the degree of drift of the position of the main frequency component, and the stability of the sensor signal frequency is evaluated. The main frequency drift index is obtained by:

从传感器获取M时间段内的连续数据X(t),其中t是时间,X(t)是信号值,M为从传感器中获取信号数据的时间窗口的大小,将原始信号X(t)分解为若干个本征模态函数,每个IMF 对应不同的频率分量,从信号X(t)中识别出所有的局部极大值和极小值,通过极大值点进行插值,得到上包络线;通过极小值点插值得到下包络线,将上下包络线的均值从信号中减去,得到信号的中间部分,直到剩余部分不再满足IMF条件,该部分被视为第一个IMF,分解后的信号表示为:;式中,为第k个本征模态函数,为残余分量,对每个IMF进行希尔伯特变换:对于每个,应用希尔伯特变换,得到瞬时频率和瞬时幅值,通过希尔伯特变换,将信号转化为复数解析信号,定义为:;其中,是瞬时幅度,是瞬时相位,j为虚数单位,通过对瞬时相位进行微分,得到瞬时频率,表达式为:;从所有的IMF中,选择主频率的分量,跟踪主频率随时间的变化情况,计算频率变化的绝对差值,表达式为:;式中,是主频率的均值,即在整个时间段内的平均主频率,表达式为:;计算主频率漂移指数,表达式为:;式中,GF为主频率漂移指数。Obtain continuous data X(t) within a time period of M from the sensor, where t is time, X(t) is the signal value, and M is the size of the time window for obtaining signal data from the sensor. Decompose the original signal X(t) into several intrinsic mode functions , each IMF corresponds to a different frequency component, all local maxima and minima are identified from the signal X(t), and the upper envelope is obtained by interpolation through the maximum points; the lower envelope is obtained by interpolation through the minimum points, and the mean of the upper and lower envelopes is subtracted from the signal to obtain the middle part of the signal, until the remaining part no longer meets the IMF condition, which is regarded as the first IMF. The decomposed signal is expressed as: ; In the formula, is the kth eigenmode function, is the residual component, and Hilbert transform is performed on each IMF: , apply Hilbert transform to get instantaneous frequency and instantaneous amplitude, and transform the signal Convert to complex analytic signal , defined as: ;in, is the instantaneous amplitude, is the instantaneous phase, j is an imaginary unit, and the instantaneous phase Differentiate to get the instantaneous frequency , the expression is: ; From all IMFs, select the main frequency component and track the main frequency The change over time, calculate the absolute difference of frequency change, the expression is: ; In the formula, is the mean of the main frequency, that is, the average main frequency in the entire time period, and the expression is: ; Calculate the main frequency drift index, the expression is: ; Where GF is the main frequency drift index.

优选的,S4中,将相关性异常指数和主频率漂移指数转换为第一特征向量,将第一特征向量作为机器学习模型的输入,机器学习模型以每组第一特征向量预测每对传感器之间的信号干扰值标签为预测目标,以最小化对所有信号干扰值标签的预测误差之和作为训练目标,对机器学习模型进行训练,直至预测误差之和达到收敛时停止模型训练,根据模型输出结果确定每对传感器之间的信号干扰值,其中,机器学习模型为多项式回归模型。Preferably, in S4, the correlation anomaly index and the main frequency drift index are converted into a first eigenvector, and the first eigenvector is used as the input of the machine learning model. The machine learning model predicts the signal interference value label between each pair of sensors with each group of first eigenvectors as the prediction target, and minimizes the sum of prediction errors for all signal interference value labels as the training target. The machine learning model is trained until the sum of prediction errors converges and the model training is stopped. The signal interference value between each pair of sensors is determined according to the model output results, wherein the machine learning model is a polynomial regression model.

优选的,将获取到的每对传感器之间的信号干扰值与梯度标准阈值进行比较,梯度标准阈值包括第一标准阈值和第二标准阈值,且第一标准阈值小于第二标准阈值,将每对传感器之间的信号干扰值分别与第一标准阈值和第二标准阈值进行对比;Preferably, the obtained signal interference value between each pair of sensors is compared with a gradient standard threshold, the gradient standard threshold includes a first standard threshold and a second standard threshold, and the first standard threshold is less than the second standard threshold, and the signal interference value between each pair of sensors is compared with the first standard threshold and the second standard threshold respectively;

若每对传感器之间的信号干扰值大于第二标准阈值,说明传感器对之间的信号干扰程度高,将其划分为高信号干扰等级,优先处理;If the signal interference value between each pair of sensors is greater than the second standard threshold, it means that the signal interference between the sensor pairs is high, and they are classified as high signal interference level and processed first;

若每对传感器之间的信号干扰值大于等于第一标准阈值且小于等于第二标准阈值,说明传感器对之间的信号干扰程度为中等,将其划分为中信号干扰等级,进行定期监控;If the signal interference value between each pair of sensors is greater than or equal to the first standard threshold and less than or equal to the second standard threshold, it means that the signal interference level between the sensor pairs is medium, and they are classified as medium signal interference level and are monitored regularly;

若每对传感器之间的信号干扰值小于第一标准阈值,说明传感器对之间的信号干扰程度低,将其划分为低信号干扰等级,无需调整,正常运行。If the signal interference value between each pair of sensors is less than the first standard threshold, it means that the signal interference between the sensor pairs is low, and they are classified as low signal interference level, and no adjustment is required, and they operate normally.

优选的,S5中,对高信号干扰等级的传感器对进行优化,并将优化前后的数据进行对比,评估信号干扰是否减少,具体为:Preferably, in S5, the sensor pairs with high signal interference levels are optimized, and the data before and after the optimization are compared to evaluate whether the signal interference is reduced, specifically:

若每对传感器之间的信号干扰值大于第二标准阈值,将其划分为高信号干扰等级,若传感器i和j的物理参数为,其优化过程表示为:;式中,CN为每对传感器之间的信号干扰值,为第k次迭代时的传感器参数,是优化步长,是当前信号干扰值对参数的梯度;传感器i和j的物理位置分别为,信号干扰与距离相关;优化位置通过更新其物理位置来减少干扰,表达式为:;式中,为第k次迭代时的传感器位置,β是位置优化步长,是信号干扰对传感器间距的梯度,通过优化后,新的信号干扰值为:;F是模型的输出函数,对比优化前后的信号干扰值差异,表达式为:If the signal interference value between each pair of sensors is greater than the second standard threshold, it is classified as a high signal interference level. If the physical parameters of sensors i and j are , and its optimization process is expressed as: ; Where CN is the signal interference value between each pair of sensors, is the sensor parameter at the kth iteration, is the optimization step size, is the gradient of the current signal interference value to the parameter; the physical locations of sensors i and j are and , signal interference and distance Related; the optimized position reduces interference by updating its physical position, the expression is: ; In the formula, is the sensor position at the kth iteration, β is the position optimization step size, is the gradient of signal interference to sensor spacing. After optimization, the new signal interference value is: ; F is the output function of the model. Comparing the difference in signal interference values before and after optimization, the expression is: .

优选的,如果,即信号干扰减少,则继续优化;如果信号干扰未减少,进一步调整传感器的工作频率,表达式为:;其中,γ为频率调整步长;当信号干扰值的变化小于设定的阈值时,停止优化。Preferably, if , that is, the signal interference is reduced, then continue to optimize; if the signal interference is not reduced, further adjust the operating frequency of the sensor , the expression is: ; Where γ is the frequency adjustment step; when the signal interference value changes Less than the set threshold Stop optimization when .

本发明还提供了基于数据分析的城市管道监测系统,包括异常数据点识别模块、相关性分析模块、信号频率分析模块,信号干扰等级划分模块以及信号干扰优化模块;The present invention also provides a city pipeline monitoring system based on data analysis, including an abnormal data point identification module, a correlation analysis module, a signal frequency analysis module, a signal interference level classification module and a signal interference optimization module;

异常数据点识别模块:获取管道系统内不同监测位置传感器的基础信息,并对各传感器采集到的实际运行数据进行初步分析,根据实际运行数据的变化趋势,识别异常数据点并进行标记;Abnormal data point identification module: obtains basic information of sensors at different monitoring locations in the pipeline system, and performs preliminary analysis on the actual operation data collected by each sensor. According to the change trend of the actual operation data, abnormal data points are identified and marked;

相关性分析模块:对于异常数据点,基于传感器的物理位置,计算传感器之间的距离,并建立传感器的空间分布模型,对位于相邻空间位置的传感器数据进行相关性分析,评估不同传感器数据之间的相关性异常程度;Correlation analysis module: For abnormal data points, based on the physical location of the sensors, the distance between sensors is calculated, and a spatial distribution model of sensors is established. Correlation analysis is performed on sensor data located at adjacent spatial locations to evaluate the degree of abnormal correlation between different sensor data.

信号频率分析模块:对传感器的数据进行频谱分析,通过傅里叶变换将时间序列数据转换为频域数据,识别出频率成分中的异常波动,评估传感器信号频率的稳定性;Signal frequency analysis module: performs spectrum analysis on sensor data, converts time series data into frequency domain data through Fourier transform, identifies abnormal fluctuations in frequency components, and evaluates the stability of sensor signal frequency;

信号干扰等级划分模块:对不同传感器数据之间的相关性异常程度和传感器信号频率的稳定性进行分析,并根据分析结果确定每对传感器之间的信号干扰等级;Signal interference level classification module: Analyzes the abnormal degree of correlation between different sensor data and the stability of sensor signal frequency, and determines the signal interference level between each pair of sensors based on the analysis results;

信号干扰优化模块:对高信号干扰等级的传感器对进行优化,并将优化前后的数据进行对比,评估信号干扰是否减少,根据评估结果不断调整传感器的参数,持续优化传感器的部署与工作模式。Signal Interference Optimization Module: Optimizes sensor pairs with high signal interference levels, compares the data before and after optimization, evaluates whether the signal interference has been reduced, continuously adjusts the sensor parameters based on the evaluation results, and continuously optimizes the deployment and working mode of the sensors.

在上述技术方案中,本发明提供的技术效果和优点:In the above technical solution, the technical effects and advantages provided by the present invention are:

1、本发明通过精确的数据分析和优化技术,解决了管道监测系统中因多个传感器同时运行、工作频率相似或物理位置过近导致的信号混淆问题。基于传感器的时间序列数据和空间分布模型,结合频谱分析和机器学习模型,有效识别相关性异常和信号频率漂移。通过对信号干扰等级的精细化划分,能够灵活应对高、中、低干扰等级的传感器,尤其是对高干扰等级的传感器对进行优化,调整其物理参数、工作频率和位置配置,并根据优化结果进行持续调整,从而提高信号的稳定性和监测准确性。1. The present invention solves the signal confusion problem in the pipeline monitoring system caused by the simultaneous operation of multiple sensors, similar operating frequencies or too close physical locations through precise data analysis and optimization technology. Based on the time series data and spatial distribution model of the sensor, combined with spectrum analysis and machine learning models, correlation anomalies and signal frequency drift can be effectively identified. Through the refined division of signal interference levels, it can flexibly respond to sensors with high, medium and low interference levels, especially optimize sensors with high interference levels, adjust their physical parameters, operating frequencies and location configurations, and make continuous adjustments based on the optimization results, thereby improving signal stability and monitoring accuracy.

2、本发明不仅提升了管道监测系统的整体性能,还通过减少不必要的干扰和误判,显著降低了系统维护成本。相比传统方法,本发明通过自动化的数据分析和持续优化机制,实现了对传感器信号干扰的高效处理,确保系统能够长期稳定运行,减少人工干预的需求,延长传感器设备的使用寿命,并提高系统资源的利用率。这些优化带来了更高的监测精度和成本效益,有效提升了城市管网管理的智能化水平。2. The present invention not only improves the overall performance of the pipeline monitoring system, but also significantly reduces the system maintenance cost by reducing unnecessary interference and misjudgment. Compared with traditional methods, the present invention achieves efficient processing of sensor signal interference through automated data analysis and continuous optimization mechanisms, ensuring that the system can operate stably in the long term, reducing the need for manual intervention, extending the service life of sensor equipment, and improving the utilization of system resources. These optimizations bring higher monitoring accuracy and cost-effectiveness, effectively improving the level of intelligent management of urban pipeline networks.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

图1为本发明的方法流程图;Fig. 1 is a flow chart of the method of the present invention;

图2为本发明的系统模块图;FIG2 is a system module diagram of the present invention;

图3为信号干扰优化结果图。Figure 3 is a diagram showing the signal interference optimization results.

具体实施方式DETAILED DESCRIPTION

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

实施例1,请参阅图1和图3所示,本实施例所述基于数据分析的城市管道监测方法,包括以下步骤:Embodiment 1, referring to FIG. 1 and FIG. 3 , the urban pipeline monitoring method based on data analysis described in this embodiment includes the following steps:

S1:获取管道系统内不同监测位置传感器的基础信息,并对各传感器采集到的实际运行数据进行初步分析,根据实际运行数据的变化趋势,识别异常数据点并进行标记;S1: Obtain basic information of sensors at different monitoring locations in the pipeline system, and conduct preliminary analysis on the actual operation data collected by each sensor. According to the change trend of the actual operation data, identify abnormal data points and mark them;

S2:对于异常数据点,基于传感器的物理位置,计算传感器之间的距离,并建立传感器的空间分布模型,对位于相邻空间位置的传感器数据进行相关性分析,评估不同传感器数据之间的相关性异常程度;S2: For abnormal data points, based on the physical location of the sensors, the distance between sensors is calculated, and a spatial distribution model of sensors is established. The correlation analysis of sensor data located at adjacent spatial locations is performed to evaluate the abnormal degree of correlation between different sensor data;

S3:对传感器的数据进行频谱分析,通过傅里叶变换将时间序列数据转换为频域数据,识别出频率成分中的异常波动,评估传感器信号频率的稳定性;S3: Perform spectrum analysis on the sensor data, convert the time series data into frequency domain data through Fourier transform, identify abnormal fluctuations in the frequency components, and evaluate the stability of the sensor signal frequency;

S4:对不同传感器数据之间的相关性异常程度和传感器信号频率的稳定性进行分析,并根据分析结果确定每对传感器之间的信号干扰等级;S4: Analyze the abnormal degree of correlation between different sensor data and the stability of sensor signal frequency, and determine the signal interference level between each pair of sensors based on the analysis results;

S5:对高信号干扰等级的传感器对进行优化,并将优化前后的数据进行对比,评估信号干扰是否减少,根据评估结果不断调整传感器的参数,持续优化传感器的部署与工作模式。S5: Optimize sensor pairs with high signal interference levels, compare the data before and after optimization, evaluate whether the signal interference is reduced, continuously adjust the sensor parameters based on the evaluation results, and continuously optimize the deployment and working mode of the sensors.

其中,在S1中,获取管道系统内不同监测位置传感器的基础信息,并对各传感器采集到的实际运行数据进行初步分析,根据实际运行数据的变化趋势,识别异常数据点并进行标记,具体为:Among them, in S1, the basic information of sensors at different monitoring locations in the pipeline system is obtained, and the actual operation data collected by each sensor is preliminarily analyzed. According to the change trend of the actual operation data, abnormal data points are identified and marked, specifically:

获取管道监测系统中各个传感器的基础信息,包括:传感器类型(如压力、流量、温度等),传感器的物理位置(空间坐标或管道段),传感器的工作参数(采样频率、工作模式等);去除明显错误或失效的采集数据,例如负值或非物理性的极端值(如负温度、超高压力等)。使用插值法或均值填补缺失的数据点,确保数据完整。Obtain basic information about each sensor in the pipeline monitoring system, including: sensor type (such as pressure, flow, temperature, etc.), sensor physical location (spatial coordinates or pipeline section), sensor operating parameters (sampling frequency, operating mode, etc.); remove obviously erroneous or invalid collected data, such as negative values or non-physical extreme values (such as negative temperature, ultra-high pressure, etc.). Use interpolation or mean to fill in missing data points to ensure data integrity.

对每个传感器的历史数据进行时间序列分析,绘制数据随时间的变化趋势图。例如,绘制压力、流量、温度随时间的波动图。检查数据的季节性趋势、周期性波动或突发性波动。不同类型的传感器可能具有不同的正常波动模式,如白天和夜晚的流量差异、季节性温度变化等。对于每个传感器数据,计算移动平均值,即在指定的时间窗口内(如过去10分钟或过去10个采样点)计算平均值,以平滑短期波动,突出数据的整体趋势。计算传感器数据与其移动平均值的差分,识别波动幅度大的数据点。若数据点的差分值大于设定的阈值(如平均差值的2倍),则将其标记为异常。Perform time series analysis on the historical data of each sensor and plot the trend of the data over time. For example, plot the fluctuations of pressure, flow, and temperature over time. Check the data for seasonal trends, periodic fluctuations, or sudden fluctuations. Different types of sensors may have different normal fluctuation patterns, such as flow differences between day and night, seasonal temperature changes, etc. For each sensor data, calculate the moving average, that is, calculate the average within a specified time window (such as the past 10 minutes or the past 10 sampling points) to smooth short-term fluctuations and highlight the overall trend of the data. Calculate the difference between the sensor data and its moving average to identify data points with large fluctuations. If the difference value of a data point is greater than the set threshold (such as twice the average difference), it is marked as an anomaly.

S2:对于异常数据点,基于传感器的物理位置,计算传感器之间的距离,并建立传感器的空间分布模型,对位于相邻空间位置的传感器数据进行相关性分析,评估不同传感器数据之间的相关性异常程度。S2: For abnormal data points, based on the physical location of the sensors, the distance between sensors is calculated, and a spatial distribution model of the sensors is established. Correlation analysis is performed on sensor data located at adjacent spatial locations to evaluate the degree of abnormal correlation between different sensor data.

收集管道系统中所有传感器的物理位置数据。这些数据可以用三维坐标(x, y,z)表示,或用管道沿线的具体位置(如距离起点的米数、分段标记等)表示;确保所有传感器的位置数据以统一格式存储,便于后续计算。例如:传感器A:位置,传感器B:位置;使用三维欧几里得距离公式计算任意两个传感器之间的物理距离d,表达式为:;为所有传感器计算成对的距离,生成一个距离矩阵,其中每个元素代表两个传感器之间的物理距离。这有助于确定哪些传感器在空间上相邻。Collect the physical location data of all sensors in the pipeline system. This data can be expressed as three-dimensional coordinates (x, y, z) or as specific locations along the pipeline (such as meters from the starting point, segment markers, etc.); ensure that the location data of all sensors is stored in a unified format for subsequent calculations. For example: Sensor A: Location , Sensor B: Position ; Use the three-dimensional Euclidean distance formula to calculate the physical distance d between any two sensors. The expression is: ; Pairwise distances are calculated for all sensors, generating a distance matrix where each element represents the physical distance between two sensors. This helps determine which sensors are spatially adjacent.

使用三维图形工具或地理信息系统(GIS)工具绘制传感器的空间分布图,将所有传感器的位置标记在图上,并用线或箭头连接相邻的传感器。这帮助直观地识别空间上哪些传感器靠近,容易相互影响。基于传感器的距离矩阵,设定一个距离阈值(如5米或10米),确定哪些传感器属于相邻传感器。相邻传感器即那些物理距离在设定阈值内的传感器对。例如,如果阈值为10米,则传感器A和B相邻,B和C相邻,但A和C不相邻。在确定相邻传感器后,构建邻接矩阵,表示每个传感器对是否邻近。若传感器对相邻,则矩阵中的对应元素为1,否则为0。Use a 3D graphics tool or a geographic information system (GIS) tool to draw a spatial distribution map of sensors, mark the locations of all sensors on the map, and connect adjacent sensors with lines or arrows. This helps to intuitively identify which sensors are close in space and are likely to affect each other. Based on the distance matrix of the sensors, set a distance threshold (such as 5 meters or 10 meters) to determine which sensors are adjacent sensors. Adjacent sensors are those sensor pairs whose physical distance is within the set threshold. For example, if the threshold is 10 meters, sensors A and B are adjacent, B and C are adjacent, but A and C are not adjacent. After determining the adjacent sensors, construct an adjacency matrix to indicate whether each sensor pair is adjacent. If the sensor pair is adjacent, the corresponding element in the matrix is 1, otherwise it is 0.

对于物理位置相邻的传感器对,收集其在相同时间段内的传感器数据。确保数据采集频率和时间同步一致,以便进行有效的比较。例如,采集相邻传感器的压力、流量或温度数据,并存储为时间序列。For pairs of sensors that are physically adjacent, collect their sensor data in the same time period. Ensure that the data collection frequency and time are synchronized to allow for effective comparison. For example, collect pressure, flow, or temperature data from adjacent sensors and store them as a time series.

对异常数据点两个相邻传感器的数据之间的线性相关性进行分析后生成相关性异常指数,评估不同传感器数据之间的相关性异常程度,则相关性异常指数的获取方法为:After analyzing the linear correlation between the data of two adjacent sensors of the abnormal data point, a correlation anomaly index is generated to evaluate the degree of correlation anomaly between different sensor data. The correlation anomaly index is obtained as follows:

将两个相邻传感器标记为S1和S2,分别记录相应的时间序列数据,,表示传感器S1在时刻1到n的数据序列;,表示传感器S2在时刻1到m的数据序列,构建成本矩阵C,记录了序列Q和C中每对数据点之间的距离,定义为:;其中之间的距离,计算表达式为:;矩阵C的大小为n×m,每个元素表示Q的第i个点和C的第j个点之间的距离,寻找时间序列之间的最优匹配路径,构建累积距离矩阵D,其元素D(i,j)表示从Q[1]到Q[i]和C[1]到C[j]的最小路径距离,动态规划的递推关系为:;式中,,min函数表示当前点的距离加上前一个步骤(向左、向上或向左上角)的最小累计距离;从D(n,m)开始,沿着动态规划路径,即逆向跟踪回到D(1,1),找到时间序列Q和C之间的最小路径距离,路径的长度称为DTW距离,即:;计算相关性异常指数,表达式为:;式中,L为最优匹配路径的长度,表示两个时间序列的总规整步数,SD为相关性异常指数。Mark two adjacent sensors as S1 and S2, and record the corresponding time series data respectively. , represents the data sequence of sensor S1 from time 1 to n; , represents the data sequence of sensor S2 from time 1 to m, and constructs the cost matrix C, which records the distance between each pair of data points in the sequence Q and C, and is defined as: ;in yes and The distance between them is calculated as: ; The size of matrix C is n×m, and each element represents the distance between the i-th point of Q and the j-th point of C. Find the optimal matching path between time series and construct the cumulative distance matrix D, whose element D(i,j) represents the minimum path distance from Q[1] to Q[i] and C[1] to C[j]. The recursive relationship of dynamic programming is: ; In the formula, , the min function represents the distance of the current point plus the minimum cumulative distance of the previous step (to the left, up, or to the upper left corner); starting from D(n,m), follow the dynamic planning path, that is, trace back to D(1,1), and find the minimum path distance between the time series Q and C. The length of the path is called the DTW distance ,Right now: ; Calculate the correlation anomaly index, the expression is: ; Where L is the length of the optimal matching path, represents the total number of regularization steps of the two time series, and SD is the correlation anomaly index.

相关性异常指数越大,说明两个传感器的数据之间的相关性异常程度越高,表示它们的行为模式发生了显著的偏离。换句话说,两个传感器的时间序列数据在不同时间点上表现出较大的不一致性或不匹配,这可能是由于环境变化、设备故障、信号干扰等原因引起的。当相关性异常指数接近1时,表明这两个传感器的测量结果与它们的正常关联模式有明显偏差,可能意味着系统中存在严重的问题或异常情况。The larger the correlation anomaly index, the higher the degree of correlation anomaly between the data of the two sensors, indicating that their behavior patterns have deviated significantly. In other words, the time series data of the two sensors show large inconsistencies or mismatches at different time points, which may be caused by environmental changes, equipment failures, signal interference, etc. When the correlation anomaly index is close to 1, it indicates that the measurement results of the two sensors have significantly deviated from their normal correlation patterns, which may mean that there are serious problems or abnormalities in the system.

相关性异常指数越小,说明两个传感器的数据之间的相关性异常程度越低,表示它们的时间序列数据在大多数时间点上具有高度的一致性或匹配。较低的异常指数接近于0,意味着传感器的测量结果保持稳定且符合预期,它们之间的相关性很高,反映出数据间的正常关联模式。这种情况通常表明系统运行良好,传感器之间没有显著的干扰或异常信号。The smaller the correlation anomaly index, the lower the degree of correlation anomaly between the data of the two sensors, indicating that their time series data have a high degree of consistency or match at most time points. A lower anomaly index close to 0 means that the sensor measurements remain stable and in line with expectations, and the correlation between them is high, reflecting the normal correlation pattern between the data. This situation usually indicates that the system is operating well and there is no significant interference or abnormal signals between the sensors.

S3:对传感器的数据进行频谱分析,通过傅里叶变换将时间序列数据转换为频域数据,识别出频率成分中的异常波动,评估传感器信号频率的稳定性。S3: Perform spectrum analysis on the sensor data, convert the time series data into frequency domain data through Fourier transform, identify abnormal fluctuations in the frequency components, and evaluate the stability of the sensor signal frequency.

从目标传感器获取M时间段内的连续数据,记录为时间序列。例如,如果传感器采集的是流量、压力或温度,记录这些参数的连续变化值,将传感器数据标记为X(t),其中t为时间,X为在每个时刻t的采样值。这些数据可以表示为一个时间序列,例如X=[x1,x2,…,xn]。Get continuous data from the target sensor within a time period of M and record it as a time series. For example, if the sensor collects flow, pressure or temperature, record the continuously changing values of these parameters and mark the sensor data as X(t), where t is time and X is the sampled value at each time t. These data can be represented as a time series, such as X=[x1,x2,…,xn].

对时间序列数据X(t)应用傅里叶变换,转换为频域数据,使用快速傅里叶变换算法来提高计算效率,表达式为:;式中,表示频域中的数据,反映每个频率f处的信号强度x(t)为传感器在时域中的数据点,n时间序列的总长度,f为频率分量,对应的单位通常为Hz;在傅里叶变换后,得到的结果X(f)包含不同频率的分量以及对应的振幅。绘制频谱图,横轴表示频率f,纵轴表示各频率下的振幅或强度Apply Fourier transform to the time series data X(t) and convert it into frequency domain data. Use the fast Fourier transform algorithm to improve the computational efficiency. The expression is: ; In the formula, Represents data in the frequency domain, reflecting the signal strength at each frequency f. x(t) is the data point of the sensor in the time domain, n is the total length of the time series, f is the frequency component, and the corresponding unit is usually Hz; after Fourier transform, the result X(f) contains components of different frequencies and their corresponding amplitudes. Draw a spectrum graph, with the horizontal axis representing the frequency f and the vertical axis representing the amplitude or intensity at each frequency. .

分析频谱中的频率分布,识别出频率成分中的异常波动,根据主频率分量的位置发生漂移的程度生成主频率漂移指数,评估传感器信号频率的稳定性,则主频率漂移指数的获取方法为:Analyze the frequency distribution in the spectrum, identify abnormal fluctuations in the frequency components, generate the main frequency drift index according to the degree of drift of the main frequency component, and evaluate the stability of the sensor signal frequency. The main frequency drift index is obtained as follows:

从传感器获取M时间段内的连续数据X(t),其中t是时间,X(t)是信号值,M为从传感器中获取信号数据的时间窗口的大小,将原始信号X(t)分解为若干个本征模态函数,每个IMF 对应不同的频率分量,从信号X(t)中识别出所有的局部极大值和极小值,通过极大值点进行插值,得到上包络线;通过极小值点插值得到下包络线,将上下包络线的均值从信号中减去,得到信号的中间部分,直到剩余部分不再满足IMF条件(局部对称、零均值等)。该部分被视为第一个IMF,分解后的信号表示为:;式中,为第k个本征模态函数,为残余分量,对每个IMF进行希尔伯特变换:对于每个,应用希尔伯特变换,得到瞬时频率和瞬时幅值,通过希尔伯特变换,将信号转化为复数解析信号,定义为:;其中,是瞬时幅度,是瞬时相位,j为虚数单位,通过对瞬时相位进行微分,得到瞬时频率,表达式为:;从所有的IMF中,选择主频率的分量,跟踪主频率随时间的变化情况,计算频率变化的绝对差值,表达式为:;式中,是主频率的均值,即在整个时间段内的平均主频率,表达式为:;计算主频率漂移指数,表达式为:;式中,GF为主频率漂移指数。Obtain continuous data X(t) within a time period of M from the sensor, where t is time, X(t) is the signal value, and M is the size of the time window for obtaining signal data from the sensor. Decompose the original signal X(t) into several intrinsic mode functions , each IMF corresponds to a different frequency component, all local maxima and minima are identified from the signal X(t), and the upper envelope is obtained by interpolation through the maximum points; the lower envelope is obtained by interpolation through the minimum points, and the mean of the upper and lower envelopes is subtracted from the signal to obtain the middle part of the signal, until the remaining part no longer meets the IMF conditions (local symmetry, zero mean, etc.). This part is regarded as the first IMF, and the decomposed signal is expressed as: ; In the formula, is the kth eigenmode function, is the residual component, and Hilbert transform is performed on each IMF: , apply Hilbert transform to get instantaneous frequency and instantaneous amplitude, and transform the signal Convert to complex analytic signal , defined as: ;in, is the instantaneous amplitude, is the instantaneous phase, j is an imaginary unit, and the instantaneous phase Differentiate to get the instantaneous frequency , the expression is: ; From all IMFs, select the main frequency component and track the main frequency The change over time, calculate the absolute difference of frequency change, the expression is: ; In the formula, is the mean of the main frequency, that is, the average main frequency in the entire time period, and the expression is: ; Calculate the main frequency drift index, the expression is: ; Where GF is the main frequency drift index.

主频率漂移指数越大,说明传感器信号的频率漂移程度越严重,表示主频率在时间上发生了较大的波动或不稳定。这意味着传感器的信号频率不稳定,可能受到外部干扰、设备老化或环境变化等影响,导致信号频率出现明显的偏移或波动。频率越不稳定,信号的可靠性越差,容易影响系统的正常运行和监测结果的准确性。The larger the main frequency drift index is, the more serious the frequency drift of the sensor signal is, indicating that the main frequency has fluctuated greatly or is unstable over time. This means that the sensor's signal frequency is unstable and may be affected by external interference, equipment aging, or environmental changes, resulting in significant deviations or fluctuations in the signal frequency. The more unstable the frequency is, the worse the reliability of the signal is, which can easily affect the normal operation of the system and the accuracy of the monitoring results.

主频率漂移指数越小,说明传感器信号的频率漂移程度越轻微,表明主频率在整个时间段内保持相对恒定。信号频率越稳定,意味着传感器运行正常,信号质量较好,外部干扰或设备自身的问题对信号的影响较小。稳定的信号频率有助于提高监测系统的可靠性和准确性。The smaller the main frequency drift index, the less the frequency drift of the sensor signal is, indicating that the main frequency remains relatively constant over the entire time period. The more stable the signal frequency is, the better the sensor is operating, the better the signal quality is, and the signal is less affected by external interference or problems with the device itself. A stable signal frequency helps improve the reliability and accuracy of the monitoring system.

S4:对不同传感器数据之间的相关性异常程度和传感器信号频率的稳定性进行分析,并根据分析结果确定每对传感器之间的信号干扰等级。S4: Analyze the abnormal degree of correlation between different sensor data and the stability of sensor signal frequency, and determine the signal interference level between each pair of sensors based on the analysis results.

将相关性异常指数和主频率漂移指数转换为第一特征向量,将第一特征向量作为机器学习模型的输入,机器学习模型以每组第一特征向量预测每对传感器之间的信号干扰值标签为预测目标,以最小化对所有信号干扰值标签的预测误差之和作为训练目标,对机器学习模型进行训练,直至预测误差之和达到收敛时停止模型训练,根据模型输出结果确定每对传感器之间的信号干扰值,其中,机器学习模型为多项式回归模型。The correlation anomaly index and the main frequency drift index are converted into the first eigenvector, and the first eigenvector is used as the input of the machine learning model. The machine learning model predicts the signal interference value label between each pair of sensors with each group of first eigenvectors as the prediction target, and minimizes the sum of prediction errors for all signal interference value labels as the training target. The machine learning model is trained until the sum of prediction errors converges and the model training is stopped. The signal interference value between each pair of sensors is determined according to the model output results, wherein the machine learning model is a polynomial regression model.

每对传感器之间的信号干扰值的获取方法为:从训练完成的机器学习模型的第一特征向量训练数据中,获得对应的函数表达式:;式中,F是模型的输出函数,SD为相关性异常指数,GF为主频率漂移指数,CN为每对传感器之间的信号干扰值。The method for obtaining the signal interference value between each pair of sensors is as follows: from the first feature vector training data of the trained machine learning model, the corresponding function expression is obtained: ; Where F is the output function of the model, SD is the correlation anomaly index, GF is the main frequency drift index, and CN is the signal interference value between each pair of sensors.

将获取到的每对传感器之间的信号干扰值与梯度标准阈值进行比较,梯度标准阈值包括第一标准阈值和第二标准阈值,且第一标准阈值小于第二标准阈值,将每对传感器之间的信号干扰值分别与第一标准阈值和第二标准阈值进行对比;The obtained signal interference value between each pair of sensors is compared with a gradient standard threshold, where the gradient standard threshold includes a first standard threshold and a second standard threshold, and the first standard threshold is less than the second standard threshold, and the signal interference value between each pair of sensors is compared with the first standard threshold and the second standard threshold respectively;

若每对传感器之间的信号干扰值大于第二标准阈值,说明传感器对之间的信号干扰程度高,将其划分为高信号干扰等级,高干扰可能对系统的整体监测质量造成显著影响,需要优先处理;If the signal interference value between each pair of sensors is greater than the second standard threshold, it means that the signal interference between the sensor pairs is high, and it is classified as a high signal interference level. High interference may have a significant impact on the overall monitoring quality of the system and needs to be handled with priority;

若每对传感器之间的信号干扰值大于等于第一标准阈值且小于等于第二标准阈值,说明传感器对之间的信号干扰程度为中等,将其划分为中信号干扰等级,对这些中等干扰等级的传感器对进行定期监控,跟踪干扰值的变化情况。如果干扰值继续上升,则可能需要采取进一步干预措施;If the signal interference value between each pair of sensors is greater than or equal to the first standard threshold and less than or equal to the second standard threshold, it means that the signal interference between the sensor pairs is medium, and they are classified as medium signal interference levels. These sensor pairs with medium interference levels are regularly monitored to track changes in interference values. If the interference value continues to rise, further intervention measures may be required;

若每对传感器之间的信号干扰值小于第一标准阈值,说明传感器对之间的信号干扰程度低,将其划分为低信号干扰等级,对于低干扰等级的传感器对,通常不需要额外的处理或调整,系统可以正常运行。If the signal interference value between each pair of sensors is less than the first standard threshold, it means that the signal interference degree between the sensor pairs is low, and they are classified as low signal interference levels. For sensor pairs with low interference levels, usually no additional processing or adjustment is required, and the system can operate normally.

S5:对高信号干扰等级的传感器对进行优化,并将优化前后的数据进行对比,评估信号干扰是否减少,根据评估结果不断调整传感器的参数,持续优化传感器的部署与工作模式。S5: Optimize sensor pairs with high signal interference levels, compare the data before and after optimization, evaluate whether the signal interference is reduced, continuously adjust the sensor parameters based on the evaluation results, and continuously optimize the deployment and working mode of the sensors.

若每对传感器之间的信号干扰值大于第二标准阈值,将其划分为高信号干扰等级,若传感器i和j的物理参数为(包括工作频率、采样频率、传感器间距等),其优化过程表示为:;式中,CN为每对传感器之间的信号干扰值,为第k次迭代时的传感器参数,是优化步长,是当前信号干扰值对参数的梯度;传感器i和j的物理位置分别为,信号干扰与距离相关;优化位置通过更新其物理位置来减少干扰,表达式为:;式中,为第k次迭代时的传感器位置,β是位置优化步长,是信号干扰对传感器间距的梯度,通过优化后,新的信号干扰值为:;F是模型的输出函数,对比优化前后的信号干扰值差异,表达式为:If the signal interference value between each pair of sensors is greater than the second standard threshold, it is classified as a high signal interference level. If the physical parameters of sensors i and j are (including operating frequency, sampling frequency, sensor spacing, etc.), the optimization process is expressed as: ; Where CN is the signal interference value between each pair of sensors, is the sensor parameter at the kth iteration, is the optimization step size, is the gradient of the current signal interference value to the parameter; the physical locations of sensors i and j are and , signal interference and distance Related; the optimized position reduces interference by updating its physical position, the expression is: ; In the formula, is the sensor position at the kth iteration, β is the position optimization step size, is the gradient of signal interference to sensor spacing. After optimization, the new signal interference value is: ; F is the output function of the model. Comparing the difference in signal interference values before and after optimization, the expression is: .

如果,即信号干扰减少,则继续优化;如果信号干扰未减少,进一步调整传感器的工作频率,表达式为:;其中,γ为频率调整步长;当信号干扰值的变化小于设定的阈值时,停止优化。if , that is, the signal interference is reduced, then continue to optimize; if the signal interference is not reduced, further adjust the operating frequency of the sensor , the expression is: ; Where γ is the frequency adjustment step; when the signal interference value changes Less than the set threshold Stop optimization when .

在本实施例中,在开关柜电磁干扰监测和健康评估过程中,首先,通过在开关柜周围及通信节点处安装电磁干扰检测设备,并利用物联网平台进行实时监控,获取不同时间段内的电磁场强度数据及开关柜的实时状态数据。接着,对不同时间段的电磁场强度数据赋予权重系数,通过加权平均计算出开关柜的整体电磁干扰指数。最后,利用模糊逻辑将整体电磁干扰指数与开关柜的实时状态数据进行综合分析,生成综合评估报告,对开关柜的健康状况进行展示,帮助预判设备的运行状态并提供维护建议。In this embodiment, during the electromagnetic interference monitoring and health assessment process of the switch cabinet, first, by installing electromagnetic interference detection equipment around the switch cabinet and at the communication nodes, and using the Internet of Things platform for real-time monitoring, the electromagnetic field strength data in different time periods and the real-time status data of the switch cabinet are obtained. Then, the electromagnetic field strength data in different time periods are assigned weight coefficients, and the overall electromagnetic interference index of the switch cabinet is calculated by weighted average. Finally, the overall electromagnetic interference index and the real-time status data of the switch cabinet are comprehensively analyzed using fuzzy logic to generate a comprehensive evaluation report, which displays the health status of the switch cabinet, helps predict the operating status of the equipment, and provides maintenance suggestions.

实施例2,请参阅图2所示,本实施例所述基于数据分析的城市管道监测系统,包括异常数据点识别模块、相关性分析模块、信号频率分析模块,信号干扰等级划分模块以及信号干扰优化模块;Embodiment 2, as shown in FIG2 , the urban pipeline monitoring system based on data analysis described in this embodiment includes an abnormal data point identification module, a correlation analysis module, a signal frequency analysis module, a signal interference level classification module and a signal interference optimization module;

异常数据点识别模块:获取管道系统内不同监测位置传感器的基础信息,并对各传感器采集到的实际运行数据进行初步分析,根据实际运行数据的变化趋势,识别异常数据点并进行标记;Abnormal data point identification module: obtains basic information of sensors at different monitoring locations in the pipeline system, and performs preliminary analysis on the actual operation data collected by each sensor. According to the change trend of the actual operation data, abnormal data points are identified and marked.

相关性分析模块:对于异常数据点,基于传感器的物理位置,计算传感器之间的距离,并建立传感器的空间分布模型,对位于相邻空间位置的传感器数据进行相关性分析,评估不同传感器数据之间的相关性异常程度;Correlation analysis module: For abnormal data points, based on the physical location of the sensors, the distance between sensors is calculated, and a spatial distribution model of sensors is established. Correlation analysis is performed on sensor data located at adjacent spatial locations to evaluate the degree of abnormal correlation between different sensor data.

信号频率分析模块:对传感器的数据进行频谱分析,通过傅里叶变换将时间序列数据转换为频域数据,识别出频率成分中的异常波动,评估传感器信号频率的稳定性;Signal frequency analysis module: performs spectrum analysis on sensor data, converts time series data into frequency domain data through Fourier transform, identifies abnormal fluctuations in frequency components, and evaluates the stability of sensor signal frequency;

信号干扰等级划分模块:对不同传感器数据之间的相关性异常程度和传感器信号频率的稳定性进行分析,并根据分析结果确定每对传感器之间的信号干扰等级;Signal interference level classification module: Analyzes the abnormal degree of correlation between different sensor data and the stability of sensor signal frequency, and determines the signal interference level between each pair of sensors based on the analysis results;

信号干扰优化模块:对高信号干扰等级的传感器对进行优化,并将优化前后的数据进行对比,评估信号干扰是否减少,根据评估结果不断调整传感器的参数,持续优化传感器的部署与工作模式。Signal Interference Optimization Module: Optimizes sensor pairs with high signal interference levels, compares the data before and after optimization, evaluates whether the signal interference has been reduced, continuously adjusts the sensor parameters based on the evaluation results, and continuously optimizes the deployment and working mode of the sensors.

上述公式均是去量纲取其数值计算,公式是由采集大量数据进行软件模拟得到最近真实情况的一个公式,公式中的预设参数由本领域的技术人员根据实际情况进行设置。The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.

上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘。The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系,但也可能表示的是一种“和/或”的关系,具体可参考前后文进行理解。It should be understood that the term "and/or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character "/" in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and/or" relationship. Please refer to the context for specific understanding.

本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In this application, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple.

应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

Claims (9)

1.基于数据分析的城市管道监测方法,其特征在于:包括以下步骤:1. A method for monitoring urban pipelines based on data analysis, characterized in that it comprises the following steps: S1:获取管道系统内不同监测位置传感器的基础信息,并对各传感器采集到的实际运行数据进行初步分析,根据实际运行数据的变化趋势,识别异常数据点并进行标记;S1: Obtain basic information of sensors at different monitoring locations in the pipeline system, and conduct preliminary analysis on the actual operation data collected by each sensor. According to the change trend of the actual operation data, identify abnormal data points and mark them; S2:对于异常数据点,基于传感器的物理位置,计算传感器之间的距离,并建立传感器的空间分布模型,对位于相邻空间位置的传感器数据进行相关性分析,评估不同传感器数据之间的相关性异常程度;S2: For abnormal data points, based on the physical location of the sensors, the distance between sensors is calculated, and a spatial distribution model of sensors is established. The correlation analysis of sensor data located at adjacent spatial locations is performed to evaluate the degree of abnormal correlation between different sensor data. S3:对传感器的数据进行频谱分析,通过傅里叶变换将时间序列数据转换为频域数据,识别出频率成分中的异常波动,评估传感器信号频率的稳定性;S3: Perform spectrum analysis on the sensor data, convert the time series data into frequency domain data through Fourier transform, identify abnormal fluctuations in the frequency components, and evaluate the stability of the sensor signal frequency; S4:对不同传感器数据之间的相关性异常程度和传感器信号频率的稳定性进行分析,并根据分析结果确定每对传感器之间的信号干扰等级;S4: Analyze the abnormal degree of correlation between different sensor data and the stability of sensor signal frequency, and determine the signal interference level between each pair of sensors based on the analysis results; S5:对高信号干扰等级的传感器对进行优化,并将优化前后的数据进行对比,评估信号干扰是否减少,根据评估结果不断调整传感器的参数,持续优化传感器的部署与工作模式。S5: Optimize sensor pairs with high signal interference levels, compare the data before and after optimization, evaluate whether the signal interference is reduced, continuously adjust the sensor parameters based on the evaluation results, and continuously optimize the deployment and working mode of the sensors. 2.根据权利要求1所述的基于数据分析的城市管道监测方法,其特征在于:S1中,根据实际运行数据的变化趋势,识别异常数据点并进行标记,具体为:对每个传感器的历史数据进行时间序列分析,绘制数据随时间的变化趋势图,对于每个传感器数据,计算移动平均值,即在指定的时间窗口内计算平均值,计算传感器数据与其移动平均值的差分,识别波动幅度大的数据点,若数据点的差分值大于设定的阈值,则将其标记为异常。2. The urban pipeline monitoring method based on data analysis according to claim 1 is characterized in that: in S1, according to the change trend of the actual operation data, abnormal data points are identified and marked, specifically: time series analysis is performed on the historical data of each sensor, and a data change trend graph is drawn over time. For each sensor data, a moving average is calculated, that is, the average value is calculated within a specified time window, and the difference between the sensor data and its moving average value is calculated to identify data points with large fluctuations. If the difference value of the data point is greater than a set threshold, it is marked as abnormal. 3.根据权利要求1所述的基于数据分析的城市管道监测方法,其特征在于:S2中,对异常数据点两个相邻传感器的数据之间的线性相关性进行分析后生成相关性异常指数,评估不同传感器数据之间的相关性异常程度,则相关性异常指数的获取方法为:3. The urban pipeline monitoring method based on data analysis according to claim 1 is characterized in that: in S2, the linear correlation between the data of two adjacent sensors of the abnormal data point is analyzed to generate a correlation anomaly index, and the degree of correlation anomaly between the data of different sensors is evaluated. The method for obtaining the correlation anomaly index is: 将两个相邻传感器标记为S1和S2,分别记录相应的时间序列数据, ,表示传感器S1在时刻1到n的数据序列;,表示传感器S2在时刻1到m的数据序列,构建成本矩阵C,记录了序列Q和C中每对数据点之间的距离,定义为: ;其中之间的距离,计算表达式为: ;矩阵C的大小为 n×m ,每个元素表示Q的第i个点和C的第j个点之间的距离,寻找时间序列之间的最优匹配路径,构建累积距离矩阵D,其元素D(i,j)表示从Q[1]到Q[i]和C[1]到C[j]的最小路径距离,动态规划的递推关系为: ;式中,;从D(n,m)开始,沿着动态规划路径,即逆向跟踪回到D(1,1),找到时间序列Q和C之间的最小路径距离,路径的长度称为DTW距离,即:;计算相关性异常指数,表达式为: ;式中,L为最优匹配路径的长度,SD为相关性异常指数。Mark two adjacent sensors as S1 and S2, and record the corresponding time series data respectively. , represents the data sequence of sensor S1 from time 1 to n; , represents the data sequence of sensor S2 from time 1 to m, and constructs the cost matrix C, which records the distance between each pair of data points in the sequence Q and C, and is defined as: ;in yes and The distance between them is calculated as: ; The size of the matrix C is n×m, and each element represents the distance between the i-th point of Q and the j-th point of C. Find the optimal matching path between time series and construct the cumulative distance matrix D, whose element D(i,j) represents the minimum path distance from Q[1] to Q[i] and C[1] to C[j]. The recursive relationship of dynamic programming is: ; In the formula, ; Starting from D(n,m), follow the dynamic planning path, that is, trace back to D(1,1), and find the minimum path distance between the time series Q and C. The length of the path is called the DTW distance ,Right now: ; Calculate the correlation anomaly index, the expression is: ; Where L is the length of the optimal matching path, and SD is the correlation anomaly index. 4.根据权利要求3所述的基于数据分析的城市管道监测方法,其特征在于:S3中,分析频谱中的频率分布,识别出频率成分中的异常波动,根据主频率分量的位置发生漂移的程度生成主频率漂移指数,评估传感器信号频率的稳定性,则主频率漂移指数的获取方法为:4. The urban pipeline monitoring method based on data analysis according to claim 3 is characterized in that: in S3, the frequency distribution in the spectrum is analyzed, the abnormal fluctuation in the frequency component is identified, the main frequency drift index is generated according to the degree of drift of the position of the main frequency component, and the stability of the sensor signal frequency is evaluated. The main frequency drift index is obtained by: 从传感器获取M时间段内的连续数据X(t),其中t是时间,X(t)是信号值,M为从传感器中获取信号数据的时间窗口的大小,将原始信号X(t)分解为若干个本征模态函数,每个IMF 对应不同的频率分量,从信号X(t)中识别出所有的局部极大值和极小值,通过极大值点进行插值,得到上包络线;通过极小值点插值得到下包络线,将上下包络线的均值从信号中减去,得到信号的中间部分,直到剩余部分不再满足IMF条件,该部分被视为第一个IMF,分解后的信号表示为:;式中,为第k个本征模态函数,为残余分量,对每个IMF进行希尔伯特变换:对于每个,应用希尔伯特变换,得到瞬时频率和瞬时幅值,通过希尔伯特变换,将信号转化为复数解析信号,定义为:;其中,是瞬时幅度,是瞬时相位,j为虚数单位,通过对瞬时相位进行微分,得到瞬时频率,表达式为:;从所有的IMF中,选择主频率的分量,跟踪主频率随时间的变化情况,计算频率变化的绝对差值,表达式为:;式中,是主频率的均值,即在整个时间段内的平均主频率,表达式为:;计算主频率漂移指数,表达式为:;式中,GF为主频率漂移指数。Obtain continuous data X(t) within a time period of M from the sensor, where t is time, X(t) is the signal value, and M is the size of the time window for obtaining signal data from the sensor. Decompose the original signal X(t) into several intrinsic mode functions , each IMF corresponds to a different frequency component, all local maxima and minima are identified from the signal X(t), and the upper envelope is obtained by interpolation through the maximum points; the lower envelope is obtained by interpolation through the minimum points, and the mean of the upper and lower envelopes is subtracted from the signal to obtain the middle part of the signal, until the remaining part no longer meets the IMF condition, which is regarded as the first IMF. The decomposed signal is expressed as: ; In the formula, is the kth eigenmode function, is the residual component, and Hilbert transform is performed on each IMF: , apply Hilbert transform to get instantaneous frequency and instantaneous amplitude, and transform the signal Convert to complex analytic signal , defined as: ;in, is the instantaneous amplitude, is the instantaneous phase, j is an imaginary unit, and the instantaneous phase Differentiate to get the instantaneous frequency , the expression is: ; From all IMFs, select the main frequency component and track the main frequency The change over time, calculate the absolute difference of frequency change, the expression is: ; In the formula, is the mean of the main frequency, that is, the average main frequency in the entire time period, and the expression is: ; Calculate the main frequency drift index, the expression is: ; Where GF is the main frequency drift index. 5.根据权利要求4所述的基于数据分析的城市管道监测方法,其特征在于:S4中,将相关性异常指数和主频率漂移指数转换为第一特征向量,将第一特征向量作为机器学习模型的输入,机器学习模型以每组第一特征向量预测每对传感器之间的信号干扰值标签为预测目标,以最小化对所有信号干扰值标签的预测误差之和作为训练目标,对机器学习模型进行训练,直至预测误差之和达到收敛时停止模型训练,根据模型输出结果确定每对传感器之间的信号干扰值,其中,机器学习模型为多项式回归模型。5. The urban pipeline monitoring method based on data analysis according to claim 4 is characterized in that: in S4, the correlation anomaly index and the main frequency drift index are converted into a first eigenvector, and the first eigenvector is used as the input of the machine learning model. The machine learning model predicts the signal interference value label between each pair of sensors with each group of first eigenvectors as the prediction target, and minimizes the sum of prediction errors of all signal interference value labels as the training target. The machine learning model is trained until the sum of prediction errors converges, and the model training is stopped. The signal interference value between each pair of sensors is determined according to the model output result, wherein the machine learning model is a polynomial regression model. 6.根据权利要求5所述的基于数据分析的城市管道监测方法,其特征在于:将获取到的每对传感器之间的信号干扰值与梯度标准阈值进行比较,梯度标准阈值包括第一标准阈值和第二标准阈值,且第一标准阈值小于第二标准阈值,将每对传感器之间的信号干扰值分别与第一标准阈值和第二标准阈值进行对比;6. The urban pipeline monitoring method based on data analysis according to claim 5 is characterized in that: the obtained signal interference value between each pair of sensors is compared with the gradient standard threshold, the gradient standard threshold includes a first standard threshold and a second standard threshold, and the first standard threshold is less than the second standard threshold, and the signal interference value between each pair of sensors is compared with the first standard threshold and the second standard threshold respectively; 若每对传感器之间的信号干扰值大于第二标准阈值,说明传感器对之间的信号干扰程度高,将其划分为高信号干扰等级,优先处理;If the signal interference value between each pair of sensors is greater than the second standard threshold, it means that the signal interference between the sensor pairs is high, and they are classified as high signal interference level and processed first; 若每对传感器之间的信号干扰值大于等于第一标准阈值且小于等于第二标准阈值,说明传感器对之间的信号干扰程度为中等,将其划分为中信号干扰等级,进行定期监控;If the signal interference value between each pair of sensors is greater than or equal to the first standard threshold and less than or equal to the second standard threshold, it means that the signal interference level between the sensor pairs is medium, and they are classified as medium signal interference level and are monitored regularly; 若每对传感器之间的信号干扰值小于第一标准阈值,说明传感器对之间的信号干扰程度低,将其划分为低信号干扰等级,无需调整,正常运行。If the signal interference value between each pair of sensors is less than the first standard threshold, it means that the signal interference between the sensor pairs is low, and they are classified as low signal interference level, and no adjustment is required, and they operate normally. 7.根据权利要求1所述的基于数据分析的城市管道监测方法,其特征在于:S5中,对高信号干扰等级的传感器对进行优化,并将优化前后的数据进行对比,评估信号干扰是否减少,具体为:7. The urban pipeline monitoring method based on data analysis according to claim 1 is characterized in that: in S5, the sensor pairs with high signal interference levels are optimized, and the data before and after the optimization are compared to evaluate whether the signal interference is reduced, specifically: 若每对传感器之间的信号干扰值大于第二标准阈值,将其划分为高信号干扰等级,若传感器i和j的物理参数为,其优化过程表示为:;式中,CN为每对传感器之间的信号干扰值,为第k次迭代时的传感器参数,是优化步长,是当前信号干扰值对参数的梯度;传感器i和j的物理位置分别为,信号干扰与距离相关;优化位置通过更新其物理位置来减少干扰,表达式为:;式中,为第k次迭代时的传感器位置,β是位置优化步长,是信号干扰对传感器间距的梯度,通过优化后,新的信号干扰值为:;F是模型的输出函数,对比优化前后的信号干扰值差异,表达式为:If the signal interference value between each pair of sensors is greater than the second standard threshold, it is classified as a high signal interference level. If the physical parameters of sensors i and j are , and its optimization process is expressed as: ; Where CN is the signal interference value between each pair of sensors, is the sensor parameter at the kth iteration, is the optimization step size, is the gradient of the current signal interference value to the parameter; the physical locations of sensors i and j are and , signal interference and distance Related; the optimized position reduces interference by updating its physical position, the expression is: ; In the formula, is the sensor position at the kth iteration, β is the position optimization step size, is the gradient of signal interference to sensor spacing. After optimization, the new signal interference value is: ; F is the output function of the model. Comparing the difference in signal interference values before and after optimization, the expression is: . 8.根据权利要求7所述的基于数据分析的城市管道监测方法,其特征在于:如果,即信号干扰减少,则继续优化;如果信号干扰未减少,进一步调整传感器的工作频率,表达式为:;其中,γ为频率调整步长;当信号干扰值的变化小于设定的阈值时,停止优化。8. The urban pipeline monitoring method based on data analysis according to claim 7 is characterized in that: if , that is, the signal interference is reduced, then continue to optimize; if the signal interference is not reduced, further adjust the operating frequency of the sensor , the expression is: ; Where γ is the frequency adjustment step; when the signal interference value changes Less than the set threshold Stop optimization when . 9.基于数据分析的城市管道监测系统,用于实现权利要求1-8任一项所述的基于数据分析的城市管道监测方法,其特征在于:包括异常数据点识别模块、相关性分析模块、信号频率分析模块,信号干扰等级划分模块以及信号干扰优化模块;9. A city pipeline monitoring system based on data analysis, used to implement the city pipeline monitoring method based on data analysis according to any one of claims 1 to 8, characterized in that it comprises an abnormal data point identification module, a correlation analysis module, a signal frequency analysis module, a signal interference level classification module and a signal interference optimization module; 异常数据点识别模块:获取管道系统内不同监测位置传感器的基础信息,并对各传感器采集到的实际运行数据进行初步分析,根据实际运行数据的变化趋势,识别异常数据点并进行标记;Abnormal data point identification module: obtains basic information of sensors at different monitoring locations in the pipeline system, and performs preliminary analysis on the actual operation data collected by each sensor. According to the change trend of the actual operation data, abnormal data points are identified and marked; 相关性分析模块:对于异常数据点,基于传感器的物理位置,计算传感器之间的距离,并建立传感器的空间分布模型,对位于相邻空间位置的传感器数据进行相关性分析,评估不同传感器数据之间的相关性异常程度;Correlation analysis module: For abnormal data points, based on the physical location of the sensors, the distance between sensors is calculated, and a spatial distribution model of sensors is established. Correlation analysis is performed on sensor data located at adjacent spatial locations to evaluate the degree of abnormal correlation between different sensor data. 信号频率分析模块:对传感器的数据进行频谱分析,通过傅里叶变换将时间序列数据转换为频域数据,识别出频率成分中的异常波动,评估传感器信号频率的稳定性;Signal frequency analysis module: performs spectrum analysis on sensor data, converts time series data into frequency domain data through Fourier transform, identifies abnormal fluctuations in frequency components, and evaluates the stability of sensor signal frequency; 信号干扰等级划分模块:对不同传感器数据之间的相关性异常程度和传感器信号频率的稳定性进行分析,并根据分析结果确定每对传感器之间的信号干扰等级;Signal interference level classification module: Analyzes the abnormal degree of correlation between different sensor data and the stability of sensor signal frequency, and determines the signal interference level between each pair of sensors based on the analysis results; 信号干扰优化模块:对高信号干扰等级的传感器对进行优化,并将优化前后的数据进行对比,评估信号干扰是否减少,根据评估结果不断调整传感器的参数,持续优化传感器的部署与工作模式。Signal Interference Optimization Module: Optimizes sensor pairs with high signal interference levels, compares the data before and after optimization, evaluates whether the signal interference has been reduced, continuously adjusts the sensor parameters based on the evaluation results, and continuously optimizes the deployment and working mode of the sensors.
CN202411364750.7A 2024-09-29 2024-09-29 Urban pipeline monitoring method and system based on data analysis Withdrawn CN118856241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411364750.7A CN118856241A (en) 2024-09-29 2024-09-29 Urban pipeline monitoring method and system based on data analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411364750.7A CN118856241A (en) 2024-09-29 2024-09-29 Urban pipeline monitoring method and system based on data analysis

Publications (1)

Publication Number Publication Date
CN118856241A true CN118856241A (en) 2024-10-29

Family

ID=93166736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411364750.7A Withdrawn CN118856241A (en) 2024-09-29 2024-09-29 Urban pipeline monitoring method and system based on data analysis

Country Status (1)

Country Link
CN (1) CN118856241A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119064724A (en) * 2024-11-05 2024-12-03 国网山东省电力公司兰陵县供电公司 A method and system for online abnormal monitoring of high voltage cables
CN119179994A (en) * 2024-11-26 2024-12-24 成都秦川物联网科技股份有限公司 Production data identification method, system, equipment and medium based on industrial Internet of things
CN119197618A (en) * 2024-11-22 2024-12-27 北京阳光金力科技发展有限公司 A method and system for underground operation and maintenance based on big data analysis
CN119358960A (en) * 2024-12-20 2025-01-24 临沂大学 A smart village comprehensive management method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1205410A (en) * 1997-07-15 1999-01-20 株式会社特尔弗 Equipment inspection and evaluation system, equipment management system, and computer-readable record medium with equipment management program stored therein
US20170116685A1 (en) * 2015-10-27 2017-04-27 Pulse Energy Inc. Apparatus and method for efficient business name categorization
CN110073301A (en) * 2017-08-02 2019-07-30 强力物联网投资组合2016有限公司 The detection method and system under data collection environment in industrial Internet of Things with large data sets
US20220214474A1 (en) * 2021-01-07 2022-07-07 Tata Consultancy Services Limited System and method for real-time monitoring and optimizing operation of connected oil and gas wells
CN117874437A (en) * 2024-03-12 2024-04-12 广东电网有限责任公司 Accident trend identification method based on time sequence analysis
CN118428741A (en) * 2024-07-02 2024-08-02 合肥优晟电力科技有限公司 Intelligent anti-misoperation processing method suitable for special operation and emergency operation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1205410A (en) * 1997-07-15 1999-01-20 株式会社特尔弗 Equipment inspection and evaluation system, equipment management system, and computer-readable record medium with equipment management program stored therein
US20170116685A1 (en) * 2015-10-27 2017-04-27 Pulse Energy Inc. Apparatus and method for efficient business name categorization
CN110073301A (en) * 2017-08-02 2019-07-30 强力物联网投资组合2016有限公司 The detection method and system under data collection environment in industrial Internet of Things with large data sets
US20220214474A1 (en) * 2021-01-07 2022-07-07 Tata Consultancy Services Limited System and method for real-time monitoring and optimizing operation of connected oil and gas wells
CN117874437A (en) * 2024-03-12 2024-04-12 广东电网有限责任公司 Accident trend identification method based on time sequence analysis
CN118428741A (en) * 2024-07-02 2024-08-02 合肥优晟电力科技有限公司 Intelligent anti-misoperation processing method suitable for special operation and emergency operation

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119064724A (en) * 2024-11-05 2024-12-03 国网山东省电力公司兰陵县供电公司 A method and system for online abnormal monitoring of high voltage cables
CN119197618A (en) * 2024-11-22 2024-12-27 北京阳光金力科技发展有限公司 A method and system for underground operation and maintenance based on big data analysis
CN119179994A (en) * 2024-11-26 2024-12-24 成都秦川物联网科技股份有限公司 Production data identification method, system, equipment and medium based on industrial Internet of things
CN119358960A (en) * 2024-12-20 2025-01-24 临沂大学 A smart village comprehensive management method and system

Similar Documents

Publication Publication Date Title
CN118856241A (en) Urban pipeline monitoring method and system based on data analysis
US9582775B2 (en) Techniques for iterative reduction of uncertainty in water distribution networks
CN112101764B (en) Comprehensive evaluation system of ship technical condition based on condition monitoring
CN118915566A (en) Heating ventilation equipment abnormity on-line monitoring system based on Internet of things
CN117082105B (en) Environment-friendly intelligent hospital facility monitoring system and method
CN118400852B (en) Remote monitoring and fault detection method and system for integrated energy-saving lamp
CN109063885A (en) A kind of substation's exception metric data prediction technique
CN118395358B (en) Intelligent anti-misoperation topology analysis method for transformer substation
CN115372816A (en) System and method for fault prediction of power distribution switchgear based on data analysis
CN117040137B (en) Ring main unit temperature rise early warning method, system, terminal and medium based on multi-source data
CN118520235A (en) Power grid data visualization method and system based on big data processing
CN116484301A (en) A method and system for abnormal detection of turbine flowmeter based on CART algorithm
CN113325266B (en) Power grid fault diagnosis method and system based on fuzzy integral multi-source information fusion
CN118378156B (en) Factory station gateway metering data missing fitting optimization method and system based on historical data analysis, electronic equipment and storage medium
CN118100446B (en) A method for intelligent detection of node operation status in power system
CN110455370B (en) Flood-prevention drought-resisting remote measuring display system
CN117331017B (en) A method and system for analyzing and judging wrong wiring of three-phase four-wire electric energy meter
CN117113157A (en) Platform district power consumption fault detection system based on artificial intelligence
CN116664098A (en) Abnormality detection method and system for photovoltaic power station
CN118296061B (en) Analysis processing method, system, terminal and storage medium for power data
CN113806495B (en) Outlier machine detection method and device
CN118693821B (en) A method, system, device and medium for constructing area topology
CN119378989A (en) An intelligent early warning management system and method for an information center computer room
CN118733985A (en) Deterioration analysis method and system for generator sets in hydropower stations
CN119720058A (en) A fault detection method based on high-resolution infrared thermal imaging display

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20241029

WW01 Invention patent application withdrawn after publication