CN118916821A - Optical fiber vibration detection method and system - Google Patents
Optical fiber vibration detection method and system Download PDFInfo
- Publication number
- CN118916821A CN118916821A CN202411397265.XA CN202411397265A CN118916821A CN 118916821 A CN118916821 A CN 118916821A CN 202411397265 A CN202411397265 A CN 202411397265A CN 118916821 A CN118916821 A CN 118916821A
- Authority
- CN
- China
- Prior art keywords
- vibration
- training
- training sample
- vibration signal
- neural network
- 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.)
- Granted
Links
- 239000013307 optical fiber Substances 0.000 title claims abstract description 50
- 238000001514 detection method Methods 0.000 title claims description 18
- 238000003062 neural network model Methods 0.000 claims abstract description 67
- 238000000034 method Methods 0.000 claims abstract description 53
- 230000002159 abnormal effect Effects 0.000 claims abstract description 19
- 238000000605 extraction Methods 0.000 claims abstract description 5
- 238000012549 training Methods 0.000 claims description 214
- 230000001186 cumulative effect Effects 0.000 claims description 17
- 238000012423 maintenance Methods 0.000 claims description 13
- 230000000694 effects Effects 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 9
- 239000000835 fiber Substances 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000013468 resource allocation Methods 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013527 convolutional neural network Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000009474 immediate action Effects 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 238000012417 linear regression Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000007637 random forest analysis Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 238000012706 support-vector machine Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01H—MEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
- G01H9/00—Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by using radiation-sensitive means, e.g. optical means
- G01H9/004—Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by using radiation-sensitive means, e.g. optical means using fibre optic sensors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/213—Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/243—Classification techniques relating to the number of classes
- G06F18/2433—Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/27—Regression, e.g. linear or logistic regression
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/0464—Convolutional networks [CNN, ConvNet]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/08—Feature extraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/12—Classification; Matching
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Biology (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Molecular Biology (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Health & Medical Sciences (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Abstract
本申请提供了一种光纤振动检测方法及系统,所述方法包括:获取来自光纤传感器的振动信号;对所述振动信号进行特征提取,获得振动特征,所述振动特征包括振动幅度、振动频率和相位;将所述振动特征输入到预先训练好的回归模型,获得所述振动信号的振动强度;将所述振动特征输入到预先训练好的神经网络模型,获得所述振动信号对应的类别标签;根据所述振动强度、所述类别标签、所述振动频率以及所述光纤传感器的位置信息,获得所述振动信号的振动评分;在所述振动评分大于预先设置的评分阈值的情况下,确定所述振动信号为异常振动信号。应用本申请实施例提供的方法,能够通过多维度特征准确地确定振动信号是否异常。
The present application provides a method and system for detecting optical fiber vibration, the method comprising: obtaining a vibration signal from an optical fiber sensor; performing feature extraction on the vibration signal to obtain vibration features, the vibration features including vibration amplitude, vibration frequency and phase; inputting the vibration features into a pre-trained regression model to obtain the vibration intensity of the vibration signal; inputting the vibration features into a pre-trained neural network model to obtain a category label corresponding to the vibration signal; obtaining a vibration score of the vibration signal based on the vibration intensity, the category label, the vibration frequency and the position information of the optical fiber sensor; and determining that the vibration signal is an abnormal vibration signal when the vibration score is greater than a preset score threshold. Using the method provided in the embodiment of the present application, it is possible to accurately determine whether a vibration signal is abnormal through multi-dimensional features.
Description
技术领域Technical Field
本申请涉及信号检测技术领域,特别涉及一种光纤振动检测方法及系统。The present application relates to the field of signal detection technology, and in particular to an optical fiber vibration detection method and system.
背景技术Background Art
在工业生产、基础设施维护等领域,振动信号分析是一项重要的技术手段,用于监测设备的状态、预测故障发生等。近年来,随着光纤传感技术的发展,光纤振动检测因其高灵敏度、长距离传输能力和抗电磁干扰等优点,在振动信号监测中得到了广泛应用。In the fields of industrial production, infrastructure maintenance, etc., vibration signal analysis is an important technical means to monitor the status of equipment, predict the occurrence of failures, etc. In recent years, with the development of fiber optic sensing technology, fiber optic vibration detection has been widely used in vibration signal monitoring due to its advantages such as high sensitivity, long-distance transmission capability and anti-electromagnetic interference.
传统的振动信号处理方法通常仅依赖单一特征(如振动强度或频率)来判断设备的状态,这种方式虽然简单,但仅依靠某一特征无法全面反映设备的真实状态,容易导致误判或漏判。Traditional vibration signal processing methods usually rely on only a single feature (such as vibration intensity or frequency) to determine the status of the device. Although this method is simple, it cannot fully reflect the true status of the device by relying on only one feature, which can easily lead to misjudgment or missed judgment.
发明内容Summary of the invention
本申请所要解决的技术问题是提供一种光纤振动检测方法及系统,能够准确地确定振动信号是否异常。具体方案如下:The technical problem to be solved by this application is to provide a method and system for optical fiber vibration detection, which can accurately determine whether the vibration signal is abnormal. The specific scheme is as follows:
一种光纤振动检测方法,所述方法包括:An optical fiber vibration detection method, the method comprising:
获取来自光纤传感器的振动信号;Acquire vibration signals from optical fiber sensors;
对所述振动信号进行特征提取,获得振动特征,所述振动特征包括振动幅度、振动频率和相位;Extracting features from the vibration signal to obtain vibration features, wherein the vibration features include vibration amplitude, vibration frequency and phase;
将所述振动特征输入到预先训练好的回归模型,获得所述振动信号的振动强度;Inputting the vibration feature into a pre-trained regression model to obtain the vibration intensity of the vibration signal;
将所述振动特征输入到预先训练好的神经网络模型,获得所述振动信号对应的类别标签;Inputting the vibration feature into a pre-trained neural network model to obtain a category label corresponding to the vibration signal;
根据所述振动强度、所述类别标签、所述振动频率以及所述光纤传感器的位置信息,获得所述振动信号的振动评分;Obtaining a vibration score of the vibration signal according to the vibration intensity, the category label, the vibration frequency, and the position information of the optical fiber sensor;
在所述振动评分大于预先设置的评分阈值的情况下,确定所述振动信号为异常振动信号。When the vibration score is greater than a preset score threshold, the vibration signal is determined to be an abnormal vibration signal.
上述的方法,可选的,所述回归模型的训练过程,包括:In the above method, optionally, the training process of the regression model includes:
获取第一训练样本集以及待训练的初始回归模型;所述第一训练样本集包括多个第一训练样本以及每个第一训练样本对应的振动强度;所述第一训练样本包括历史振动信号的振动幅度、振动频率和相位;Acquire a first training sample set and an initial regression model to be trained; the first training sample set includes a plurality of first training samples and a vibration intensity corresponding to each first training sample; the first training sample includes a vibration amplitude, a vibration frequency and a phase of a historical vibration signal;
在所述第一训练样本集的各个所述第一训练样本中确定出当前用于训练的第一目标训练样本;Determining a first target training sample currently used for training from each of the first training samples in the first training sample set;
将第一目标训练样本输入到初始回归模型中,获得初始回归模型输出的第一识别结果;Inputting the first target training sample into the initial regression model to obtain a first recognition result output by the initial regression model;
基于预设的均方误差损失函数、所述第一目标训练样本对应的振动强度以及所述第一识别结果,计算得到所述初始回归模型的第一损失函数值;Calculate a first loss function value of the initial regression model based on a preset mean square error loss function, the vibration intensity corresponding to the first target training sample, and the first recognition result;
利用所述第一损失函数值更新所述初始回归模型的模型参数;Updating the model parameters of the initial regression model using the first loss function value;
在更新模型参数后的所述初始回归模型未满足预设的第一训练完成条件的情况下,返回执行在所述第一训练样本集的各个所述第一训练样本中确定出当前用于训练的第一目标训练样本的步骤;If the initial regression model after updating the model parameters does not meet the preset first training completion condition, returning to the step of determining a first target training sample currently used for training from each of the first training samples in the first training sample set;
在更新模型参数后的所述初始回归模型满足预设的第一训练完成条件的情况下,将满足第一训练完成条件的所述初始回归模型,作为训练好的回归模型。When the initial regression model after updating the model parameters satisfies the preset first training completion condition, the initial regression model that satisfies the first training completion condition is used as the trained regression model.
上述的方法,可选的,所述神经网络模型的训练过程,包括:In the above method, optionally, the training process of the neural network model includes:
获取第二训练样本集以及待训练的初始神经网络模型;所述第二训练样本集包括多个第二训练样本以及每个第二训练样本的分类标签;所述第二训练样本包括历史振动信号的振动幅度、振动频率和相位,所述分类标签包括正常操作振动类型、设备故障振动类型、人为活动振动类型和自然活动振动类型中的一种;Acquire a second training sample set and an initial neural network model to be trained; the second training sample set includes a plurality of second training samples and a classification label of each second training sample; the second training sample includes the vibration amplitude, vibration frequency and phase of the historical vibration signal, and the classification label includes one of a normal operation vibration type, an equipment failure vibration type, a man-made activity vibration type and a natural activity vibration type;
在所述第二训练样本集的各个所述第二训练样本中确定出当前用于训练的第二目标训练样本;Determining a second target training sample currently used for training from each of the second training samples in the second training sample set;
将第二目标训练样本输入到所述初始神经网络模型中,获得所述初始神经网络模型输出的第二识别结果;Inputting a second target training sample into the initial neural network model to obtain a second recognition result output by the initial neural network model;
基于预设的交叉熵损失函数、所述第二目标训练样本的分类标签以及所述第二识别结果,计算得到所述初始神经网络模型的第二损失函数值;Calculate a second loss function value of the initial neural network model based on a preset cross entropy loss function, the classification label of the second target training sample, and the second recognition result;
利用所述第二损失函数值更新所述初始神经网络模型的模型参数;Updating the model parameters of the initial neural network model using the second loss function value;
在更新模型参数后的所述初始神经网络模型未满足预设的第二训练完成条件的情况下,返回执行在所述第二训练样本集的各个所述第二训练样本中确定出当前用于训练的第二目标训练样本的步骤;If the initial neural network model after updating the model parameters does not meet the preset second training completion condition, returning to the step of determining a second target training sample currently used for training from each of the second training samples in the second training sample set;
在更新模型参数后的所述初始神经网络模型满足预设的第二训练完成条件的情况下,将满足第二训练完成条件的所述初始神经网络模型,作为训练好的神经网络模型。When the initial neural network model after updating the model parameters satisfies the preset second training completion condition, the initial neural network model that satisfies the second training completion condition is used as the trained neural network model.
上述的方法,可选的,所述确定所述振动信号为异常振动信号,还包括:The above method, optionally, determining that the vibration signal is an abnormal vibration signal further includes:
获取各个历史振动信号对应的历史评分阈值的平均值;Obtaining an average value of the historical scoring thresholds corresponding to each historical vibration signal;
根据所述评分阈值以及所述平均值,计算得到目标阈值;Calculate a target threshold value according to the scoring threshold value and the average value;
利用目标阈值替换当前的所述评分阈值,以将所述目标阈值作为新的评分阈值。The current scoring threshold is replaced by the target threshold so as to use the target threshold as a new scoring threshold.
上述的方法,可选的,所述确定所述振动信号为异常振动信号之后,还包括:The above method, optionally, after determining that the vibration signal is an abnormal vibration signal, further comprises:
获取所述光纤传感器对应的设施重要性参数以及所述类别标签对应的振动信号累计出现次数;Obtaining the facility importance parameter corresponding to the optical fiber sensor and the cumulative number of occurrences of the vibration signal corresponding to the category label;
根据所述振动强度、所述光纤传感器对应的设施重要性参数以及所述类别标签对应的振动信号累计出现次数,确定所述振动信号对应的资源调度优先级;Determine the resource scheduling priority corresponding to the vibration signal according to the vibration intensity, the facility importance parameter corresponding to the optical fiber sensor, and the cumulative number of occurrences of the vibration signal corresponding to the category label;
根据所述振动信号对应的资源调度优先级生成维护工单,并输出所述维护工单。A maintenance work order is generated according to the resource scheduling priority corresponding to the vibration signal, and the maintenance work order is output.
一种光纤振动检测系统,包括:An optical fiber vibration detection system, comprising:
第一获取单元,用于获取来自光纤传感器的振动信号;A first acquisition unit, used for acquiring a vibration signal from the optical fiber sensor;
特征提取单元,用于对所述振动信号进行特征提取,获得振动特征,所述振动特征包括振动幅度、振动频率和相位;A feature extraction unit, used to extract features from the vibration signal to obtain vibration features, wherein the vibration features include vibration amplitude, vibration frequency and phase;
第一执行单元,用于将所述振动特征输入到预先训练好的回归模型,获得所述振动信号的振动强度;A first execution unit, configured to input the vibration feature into a pre-trained regression model to obtain the vibration intensity of the vibration signal;
第二执行单元,用于将所述振动特征输入到预先训练好的神经网络模型,获得所述振动信号对应的类别标签;A second execution unit is used to input the vibration feature into a pre-trained neural network model to obtain a category label corresponding to the vibration signal;
第三执行单元,用于根据所述振动强度、所述类别标签、所述振动频率以及所述光纤传感器的位置信息,获得所述振动信号的振动评分;A third execution unit, configured to obtain a vibration score of the vibration signal according to the vibration intensity, the category label, the vibration frequency, and the position information of the optical fiber sensor;
第一确定单元,用于在所述振动评分大于预先设置的评分阈值的情况下,确定所述振动信号为异常振动信号。The first determining unit is configured to determine that the vibration signal is an abnormal vibration signal when the vibration score is greater than a preset score threshold.
上述的系统,可选的,所述第一执行单元,包括:In the above system, optionally, the first execution unit includes:
第一获取子单元,用于获取第一训练样本集以及待训练的初始回归模型;所述第一训练样本集包括多个第一训练样本以及每个第一训练样本对应的振动强度;所述第一训练样本包括历史振动信号的振动幅度、振动频率和相位;A first acquisition subunit is used to acquire a first training sample set and an initial regression model to be trained; the first training sample set includes a plurality of first training samples and a vibration intensity corresponding to each first training sample; the first training sample includes a vibration amplitude, a vibration frequency and a phase of a historical vibration signal;
第一确定子单元,用于在所述第一训练样本集中确定出当前用于训练的第一目标训练样本;A first determining subunit, configured to determine a first target training sample currently used for training in the first training sample set;
第一执行子单元,用于将第一目标训练样本输入到初始回归模型中,获得初始回归模型输出的第一识别结果;A first execution subunit is used to input a first target training sample into an initial regression model to obtain a first recognition result output by the initial regression model;
第一计算子单元,用于基于预设的均方误差损失函数、所述第一目标训练样本对应的振动强度以及所述第一识别结果,计算得到所述初始回归模型的第一损失函数值;A first calculation subunit, configured to calculate a first loss function value of the initial regression model based on a preset mean square error loss function, the vibration intensity corresponding to the first target training sample, and the first recognition result;
第一更新子单元,用于利用所述第一损失函数值更新所述初始回归模型的模型参数;A first updating subunit, configured to update the model parameters of the initial regression model using the first loss function value;
第二执行子单元,用于在更新模型参数后的所述初始回归模型未满足预设的第一训练完成条件的情况下,返回触发所述第一确定子单元执行在所述第一训练样本集的各个所述第一训练样本中确定出当前用于训练的第一目标训练样本;a second execution subunit, configured to return to trigger the first determination subunit to determine a first target training sample currently used for training from each of the first training samples in the first training sample set when the initial regression model after updating the model parameters does not meet the preset first training completion condition;
第三执行子单元,用于在更新模型参数后的所述初始回归模型满足预设的第一训练完成条件的情况下,将满足第一训练完成条件的所述初始回归模型,作为训练好的回归模型。The third execution subunit is used to use the initial regression model that meets the first training completion condition as the trained regression model when the initial regression model after updating the model parameters meets the preset first training completion condition.
上述的系统,可选的,所述第二执行单元,包括:In the above system, optionally, the second execution unit includes:
第二获取子单元,用于获取第二训练样本集以及待训练的初始神经网络模型;所述第二训练样本集包括多个第二训练样本以及每个第二训练样本的分类标签;所述第二训练样本包括历史振动信号的振动幅度、振动频率和相位,所述分类标签包括正常操作振动类型、设备故障振动类型、人为活动振动类型和自然活动振动类型中的一种;a second acquisition subunit, configured to acquire a second training sample set and an initial neural network model to be trained; the second training sample set includes a plurality of second training samples and a classification label of each second training sample; the second training sample includes a vibration amplitude, a vibration frequency and a phase of a historical vibration signal, and the classification label includes one of a normal operation vibration type, an equipment failure vibration type, a man-made activity vibration type and a natural activity vibration type;
第二确定子单元,用于在所述第二训练样本集中确定出当前用于训练的第二目标训练样本;A second determining subunit, configured to determine a second target training sample currently used for training in the second training sample set;
第四执行子单元,用于将第二目标训练样本输入到所述初始神经网络模型中,获得所述初始神经网络模型输出的第二识别结果;A fourth execution subunit, used for inputting a second target training sample into the initial neural network model to obtain a second recognition result output by the initial neural network model;
第二计算子单元,用于基于预设的交叉熵损失函数、所述第二目标训练样本的分类标签以及所述第二识别结果,计算得到所述初始神经网络模型的第二损失函数值;A second calculation subunit, configured to calculate a second loss function value of the initial neural network model based on a preset cross entropy loss function, the classification label of the second target training sample, and the second recognition result;
第二更新子单元,用于利用所述第二损失函数值更新所述初始神经网络模型的模型参数;A second updating subunit, used to update the model parameters of the initial neural network model using the second loss function value;
第五执行子单元,用于在更新模型参数后的所述初始神经网络模型未满足预设的第二训练完成条件的情况下,返回触发所述第二确定子单元执行在所述第二训练样本集的各个所述第二训练样本中确定出当前用于训练的第二目标训练样本;a fifth execution subunit, configured to return to trigger the second determination subunit to determine a second target training sample currently used for training from each of the second training samples in the second training sample set when the initial neural network model after updating the model parameters does not meet the preset second training completion condition;
第六执行子单元,用于在更新模型参数后的所述初始神经网络模型满足预设的第二训练完成条件的情况下,将满足第二训练完成条件的所述初始神经网络模型,作为训练好的神经网络模型。The sixth execution subunit is used to use the initial neural network model that meets the second training completion condition as the trained neural network model when the initial neural network model after updating the model parameters meets the preset second training completion condition.
上述的系统,可选的,还包括:The above system may optionally further include:
第二获取单元,用于获取各个历史振动信号对应的历史评分阈值的平均值;A second acquisition unit is used to acquire an average value of the historical scoring thresholds corresponding to each historical vibration signal;
计算单元,用于根据所述评分阈值以及所述平均值,计算得到目标阈值;A calculation unit, configured to calculate a target threshold value according to the scoring threshold value and the average value;
替换单元,用于利用目标阈值替换当前的所述评分阈值,以将所述目标阈值作为新的评分阈值。A replacing unit is used to replace the current scoring threshold with a target threshold so as to use the target threshold as a new scoring threshold.
上述的系统,可选的,还包括:The above system may optionally further include:
第三获取单元,用于获取所述光纤传感器对应的设施重要性参数以及所述类别标签对应的振动信号累计出现次数;A third acquisition unit is used to acquire the facility importance parameter corresponding to the optical fiber sensor and the cumulative number of occurrences of the vibration signal corresponding to the category label;
第二确定单元,用于根据所述振动强度、所述光纤传感器对应的设施重要性参数以及所述类别标签对应的振动信号累计出现次数,确定所述振动信号对应的资源调度优先级;A second determining unit is used to determine the resource scheduling priority corresponding to the vibration signal according to the vibration intensity, the facility importance parameter corresponding to the optical fiber sensor, and the cumulative number of occurrences of the vibration signal corresponding to the category label;
输出单元,用于根据所述振动信号对应的资源调度优先级生成维护工单,并输出所述维护工单。An output unit is used to generate a maintenance work order according to the resource scheduling priority corresponding to the vibration signal, and output the maintenance work order.
基于上述本申请实施提供的一种光纤振动检测方法及系统,所述方法包括:获取来自光纤传感器的振动信号;对所述振动信号进行特征提取,获得振动特征,所述振动特征包括振动幅度、振动频率和相位;将所述振动特征输入到预先训练好的回归模型,获得所述振动信号的振动强度;将所述振动特征输入到预先训练好的神经网络模型,获得所述振动信号对应的类别标签;根据所述振动强度、所述类别标签、所述振动频率以及所述光纤传感器的位置信息,获得所述振动信号的振动评分;在所述振动评分大于预先设置的评分阈值的情况下,确定所述振动信号为异常振动信号。应用本申请实施例提供的方法,能够通过多维度特征准确地确定振动信号是否异常。Based on the above-mentioned implementation of the present application, an optical fiber vibration detection method and system are provided, the method comprising: obtaining a vibration signal from an optical fiber sensor; performing feature extraction on the vibration signal to obtain vibration features, the vibration features including vibration amplitude, vibration frequency and phase; inputting the vibration features into a pre-trained regression model to obtain the vibration intensity of the vibration signal; inputting the vibration features into a pre-trained neural network model to obtain the category label corresponding to the vibration signal; obtaining a vibration score of the vibration signal based on the vibration intensity, the category label, the vibration frequency and the position information of the optical fiber sensor; and determining that the vibration signal is an abnormal vibration signal when the vibration score is greater than a preset score threshold. Using the method provided in the embodiment of the present application, it is possible to accurately determine whether a vibration signal is abnormal through multi-dimensional features.
附图说明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 or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
图1为本申请提供的一种光纤振动检测方法的方法流程图;FIG1 is a method flow chart of an optical fiber vibration detection method provided by the present application;
图2为本申请提供的一种回归模型的训练过程的流程图;FIG2 is a flow chart of a training process of a regression model provided by the present application;
图3为本申请提供的一种神经网络模型的训练过程的流程图;FIG3 is a flow chart of a training process of a neural network model provided by the present application;
图4为本申请提供的一种光纤振动检测系统的结构示意图。FIG4 is a schematic diagram of the structure of an optical fiber vibration detection system provided in the present application.
具体实施方式DETAILED DESCRIPTION
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
在本申请中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
本申请实施例提供了一种光纤振动检测方法,该方法可以应用于电子设备,电子设备可以是控制器、个人计算机、服务器、平板设备、智能手机、智能可穿戴设备等,所述方法的方法流程图如图1所示,具体包括:The embodiment of the present application provides a method for optical fiber vibration detection, which can be applied to electronic devices, and the electronic devices can be controllers, personal computers, servers, tablet devices, smart phones, smart wearable devices, etc. The method flow chart of the method is shown in FIG1, and specifically includes:
S101:获取来自光纤传感器的振动信号。S101: Acquire a vibration signal from a fiber optic sensor.
在本实施例中,可以向光纤发射光脉冲,然后通过光纤传感器采集光纤中的光信号,然后将光信号转换为电信号,再将电信号转换为数字信号,也即震动信号。In this embodiment, a light pulse can be emitted to the optical fiber, and then the optical signal in the optical fiber is collected by the optical fiber sensor, and then the optical signal is converted into an electrical signal, and then the electrical signal is converted into a digital signal, that is, a vibration signal.
S102:对所述振动信号进行特征提取,获得振动特征,所述振动特征包括振动幅度、振动频率和相位。S102: Extract features from the vibration signal to obtain vibration features, where the vibration features include vibration amplitude, vibration frequency and phase.
在本实施例中,可以先对振动信号进行去噪处理,例如,可以对振动信号进行滤波和平均化处理等,然后对振动信号进行时域分析,以计算振动幅度;对振动信号进行频域分析,获得振动频率,该振动频率可以是中心频率、峰值频率等;然后对振动信号进行时频域分析,获得振动信号的相位。In this embodiment, the vibration signal can be first denoised, for example, the vibration signal can be filtered and averaged, and then the vibration signal is analyzed in the time domain to calculate the vibration amplitude; the vibration signal is analyzed in the frequency domain to obtain the vibration frequency, which can be the center frequency, peak frequency, etc.; then the vibration signal is analyzed in the time and frequency domains to obtain the phase of the vibration signal.
S103:将所述振动特征输入到预先训练好的回归模型,获得所述振动信号的振动强度。S103: Inputting the vibration feature into a pre-trained regression model to obtain the vibration intensity of the vibration signal.
在本实施例中,该回归模型可以是多元线性回归模型、支持向量机回归模型或随机森林回归模型等。In this embodiment, the regression model may be a multiple linear regression model, a support vector machine regression model, a random forest regression model, or the like.
S104:将所述振动特征输入到预先训练好的神经网络模型,获得所述振动信号对应的类别标签。S104: Inputting the vibration feature into a pre-trained neural network model to obtain a category label corresponding to the vibration signal.
在本实施例中,神经网络模型可以神经网络模型可以包括输入层、隐藏层和输出层。该神经网络可以是全连接神经网络、多层感知机、卷积神经网络等。In this embodiment, the neural network model may include an input layer, a hidden layer, and an output layer. The neural network may be a fully connected neural network, a multi-layer perceptron, a convolutional neural network, etc.
S105:根据所述振动强度、所述类别标签、所述振动频率以及所述光纤传感器的位置信息,获得所述振动信号的振动评分。S105: Obtain a vibration score of the vibration signal according to the vibration intensity, the category label, the vibration frequency, and the position information of the optical fiber sensor.
在本实施例中,可以根据预设的振动评分公式计算振动信号的振动评分,具体如下:In this embodiment, the vibration score of the vibration signal can be calculated according to a preset vibration score formula, which is as follows:
其中,O表示振动评分;V表示振动强度,表示振动强度的权重系数,C表示类别标签,表示类别标签的权重系数,F表示振动频率,表示振动频率的权重系数,H表示当前时间,I(H)是一个指示函数,对于特定的时间段H,返回1表示需要特别注意,否则返回0;表示当前时间的权重系数;L表示光纤传感器的位置信息,表示位置信息的权重系数;D表示所述类别标签对应的振动的累计发生次数,表示该累计发生次数的权重系数。Among them, O represents the vibration score; V represents the vibration intensity, represents the weight coefficient of vibration intensity, C represents the category label, represents the weight coefficient of the category label, F represents the vibration frequency, Represents the weight coefficient of the vibration frequency, H represents the current time, and I(H) is an indicator function. For a specific time period H, it returns 1 to indicate that special attention is required, otherwise it returns 0; represents the weight coefficient of the current time; L represents the location information of the optical fiber sensor, represents the weight coefficient of the position information; D represents the cumulative number of vibrations corresponding to the category label, Indicates the weight coefficient of the cumulative number of occurrences.
S106:在所述振动评分大于预先设置的评分阈值的情况下,确定所述振动信号为异常振动信号。S106: When the vibration score is greater than a preset score threshold, determine that the vibration signal is an abnormal vibration signal.
在本实施例中,该评分阈值是固定的阈值,也可以是动态阈值,该评分阈值初始可以设置为1。In this embodiment, the scoring threshold is a fixed threshold or a dynamic threshold. The scoring threshold may be initially set to 1.
应用本申请实施例提供的方法,能够综合考虑多个维度的信息,从而能够更准确地确定振动信号是否为异常振动信号,并且能够结合位置信息、当前时间以及类别标签对应的振动的累计发生次数,可以实现动态调整决策规则,例如,在特定时间段内,对于某些地理位置,即使振动强度较低也可能需要引起重视;反之,在其他时间段或地点,较高的振动强度可能不需要立即采取行动。这种方法可以更好地适应不同的应用场景和条件变化。通过多维度的数据融合,可以增强检测过程的鲁棒性,减少因单个特征波动导致的误判。例如,即使某个时间点的振动强度异常,但如果该地点经常发生此类振动(历史数据支持),那么系统可以更加谨慎地做出决策,避免频繁的误报。By applying the method provided by the embodiment of the present application, it is possible to comprehensively consider information from multiple dimensions, so that it is possible to more accurately determine whether the vibration signal is an abnormal vibration signal, and it is possible to combine the location information, the current time, and the cumulative number of vibrations corresponding to the category label, so as to dynamically adjust the decision rules. For example, in a specific time period, for certain geographical locations, even if the vibration intensity is low, it may be necessary to pay attention; conversely, in other time periods or locations, higher vibration intensities may not require immediate action. This method can better adapt to different application scenarios and changes in conditions. Through multi-dimensional data fusion, the robustness of the detection process can be enhanced and misjudgments caused by fluctuations in a single feature can be reduced. For example, even if the vibration intensity at a certain point in time is abnormal, if such vibrations often occur at that location (supported by historical data), the system can make decisions more cautiously to avoid frequent false alarms.
在本申请提供的一实施例中,基于上述的方案,可选的,所述回归模型的训练过程,如图2所示,包括:In an embodiment provided in the present application, based on the above solution, optionally, the training process of the regression model, as shown in FIG2 , includes:
S201:获取第一训练样本集以及待训练的初始回归模型;所述第一训练样本集包括多个第一训练样本以及每个第一训练样本对应的振动强度;所述第一训练样本包括历史振动信号的振动幅度、振动频率和相位。S201: Acquire a first training sample set and an initial regression model to be trained; the first training sample set includes multiple first training samples and the vibration intensity corresponding to each first training sample; the first training sample includes the vibration amplitude, vibration frequency and phase of the historical vibration signal.
S202:在所述第一训练样本集的各个所述第一训练样本中确定出当前用于训练的第一目标训练样本。S202: Determine a first target training sample currently used for training from each of the first training samples in the first training sample set.
S203:将第一目标训练样本输入到初始回归模型中,获得初始回归模型输出的第一识别结果。S203: Inputting the first target training sample into the initial regression model to obtain a first recognition result output by the initial regression model.
S204:基于预设的均方误差损失函数、所述第一目标训练样本对应的振动强度以及所述第一识别结果,计算得到所述初始回归模型的第一损失函数值。S204: Calculate a first loss function value of the initial regression model based on a preset mean square error loss function, the vibration intensity corresponding to the first target training sample, and the first recognition result.
S205:利用所述第一损失函数值更新所述初始回归模型的模型参数。S205: Using the first loss function value to update the model parameters of the initial regression model.
S206:检测更新模型参数后的所述初始回归模型是否满足预设的第一训练完成条件;若否,则执行S202,若是,则执行S207。S206: Detect whether the initial regression model after updating the model parameters meets the preset first training completion condition; if not, execute S202; if yes, execute S207.
在本实施例中,第一训练完成条件可以是初始回归模型的损失函数收敛、训练次数大于预设的第一训练次数阈值等。In this embodiment, the first training completion condition may be that the loss function of the initial regression model converges, the number of training times is greater than a preset first training times threshold, and the like.
S207:将满足第一训练完成条件的所述初始回归模型,作为训练好的回归模型。S207: Using the initial regression model that meets the first training completion condition as a trained regression model.
在本申请提供的一实施例中,基于上述的方案,可选的,所述神经网络模型的训练过程,如图3所示,包括:In an embodiment provided in the present application, based on the above solution, optionally, the training process of the neural network model, as shown in FIG3 , includes:
S301:获取第二训练样本集以及待训练的初始神经网络模型;所述第二训练样本集包括多个第二训练样本以及每个第二训练样本的分类标签;所述第二训练样本包括历史振动信号的振动幅度、振动频率和相位,所述分类标签包括正常操作振动类型、设备故障振动类型、人为活动振动类型和自然活动振动类型中的一种。S301: Obtain a second training sample set and an initial neural network model to be trained; the second training sample set includes multiple second training samples and a classification label for each second training sample; the second training sample includes the vibration amplitude, vibration frequency and phase of the historical vibration signal, and the classification label includes one of a normal operation vibration type, an equipment failure vibration type, a man-made activity vibration type and a natural activity vibration type.
S302:在所述第二训练样本集的各个所述第二训练样本中确定出当前用于训练的第二目标训练样本。S302: Determine a second target training sample currently used for training from each of the second training samples in the second training sample set.
S303:将第二目标训练样本输入到所述初始神经网络模型中,获得所述初始神经网络模型输出的第二识别结果。S303: Inputting the second target training sample into the initial neural network model to obtain a second recognition result output by the initial neural network model.
S304:基于预设的交叉熵损失函数、所述第二目标训练样本的分类标签以及所述第二识别结果,计算得到所述初始神经网络模型的第二损失函数值。S304: Based on a preset cross entropy loss function, the classification label of the second target training sample and the second recognition result, a second loss function value of the initial neural network model is calculated.
S305:利用所述第二损失函数值更新所述初始神经网络模型的模型参数。S305: Using the second loss function value to update the model parameters of the initial neural network model.
S306:检测更新模型参数后的所述初始神经网络模型是否满足预设的第二训练完成条件;若否,则执行S302,若是,则执行S307。S306: Detect whether the initial neural network model after updating the model parameters meets the preset second training completion condition; if not, execute S302; if so, execute S307.
在本实施例中,第二训练完成条件可以是初始神经网络模型的损失函数收敛、预测准确率大于预设的准确率阈值、训练次数大于预设的第一训练次数阈值等。In this embodiment, the second training completion condition may be that the loss function of the initial neural network model converges, the prediction accuracy is greater than a preset accuracy threshold, the number of training times is greater than a preset first training times threshold, etc.
S307:将满足第二训练完成条件的所述初始神经网络模型,作为训练好的神经网络模型。S307: Using the initial neural network model that meets the second training completion condition as a trained neural network model.
在本申请提供的一实施例中,基于上述的方案,可选的,所述确定所述振动信号为异常振动信号,还包括:In an embodiment provided in the present application, based on the above solution, optionally, determining that the vibration signal is an abnormal vibration signal further includes:
获取各个历史振动信号对应的历史评分阈值的平均值;Obtaining an average value of the historical scoring thresholds corresponding to each historical vibration signal;
根据所述评分阈值以及所述平均值,计算得到目标阈值;Calculate a target threshold value according to the scoring threshold value and the average value;
利用目标阈值替换当前的所述评分阈值,以将所述目标阈值作为新的评分阈值。The current scoring threshold is replaced by the target threshold so as to use the target threshold as a new scoring threshold.
在本实施例中,根据评分阈值以及平均值计算得到目标阈值的过程具体如下:In this embodiment, the process of calculating the target threshold value based on the scoring threshold value and the average value is as follows:
其中,为目标阈值,为所有历史评分阈值的平均值,为当前的评分阈值,α是平滑因子,可以取值在(0,1)之间。in, is the target threshold, is the average of all historical scoring thresholds, is the current scoring threshold, α is a smoothing factor, and can take values between (0, 1).
应用本实施例提供的方法,通过动态调整阈值,可以更好适应环境变化,减少误报和漏报。By applying the method provided in this embodiment and dynamically adjusting the threshold, it is possible to better adapt to environmental changes and reduce false positives and false negatives.
在本申请提供的一实施例中,基于上述的方案,可选的,所述确定所述振动信号为异常振动信号之后,还包括:In an embodiment provided in the present application, based on the above solution, optionally, after determining that the vibration signal is an abnormal vibration signal, the method further includes:
获取所述光纤传感器对应的设施重要性参数以及所述类别标签对应的振动信号累计出现次数;Obtaining the facility importance parameter corresponding to the optical fiber sensor and the cumulative number of occurrences of the vibration signal corresponding to the category label;
根据所述振动强度、所述光纤传感器对应的设施重要性参数以及所述类别标签对应的振动信号累计出现次数,确定所述振动信号对应的资源调度优先级;Determine the resource scheduling priority corresponding to the vibration signal according to the vibration intensity, the facility importance parameter corresponding to the optical fiber sensor, and the cumulative number of occurrences of the vibration signal corresponding to the category label;
根据所述振动信号对应的资源调度优先级生成维护工单,并输出所述维护工单。A maintenance work order is generated according to the resource scheduling priority corresponding to the vibration signal, and the maintenance work order is output.
可选的,光纤传感器对应的设施重要性参数可以是表征光纤传感器所监测的设施的重要程度的参数,该设施重要性参数可以根据专家经验评估、设施故障后的影响程度、用户反馈等因素确定。Optionally, the facility importance parameter corresponding to the optical fiber sensor may be a parameter characterizing the importance of the facility monitored by the optical fiber sensor, and the facility importance parameter may be determined based on factors such as expert experience evaluation, the degree of impact after a facility failure, and user feedback.
在本实施例中,确定振动信号对应的资源调度优先级的过程,具体如下:In this embodiment, the process of determining the resource scheduling priority corresponding to the vibration signal is as follows:
在本实施例中,设施重要性级别的优先级权重。为类别标签对应的振动信号累计出现次数D的优先级权重,也即类别标签对应的振动的累计发生次数。为当前振动信号的最终类别标签O的优先级权重,为振动强度V的优先级权重,地理距离L的优先级权重。时间窗口内发生次数W的优先级权重。In this embodiment, Facility importance level The priority weight of . is the priority weight of the cumulative number of occurrences D of the vibration signal corresponding to the category label, that is, the cumulative number of occurrences of the vibration corresponding to the category label. is the priority weight of the final category label O of the current vibration signal, is the priority weight of the vibration intensity V, The priority weight of the geographical distance L. The priority weight of the number of occurrences W within the time window.
应用本申请实施例提供的方法,通过计算资源调度优先级,可以确保高优先级的任务首先得到处理。这有助于在出现紧急情况时,系统能够迅速响应,及时采取措施,减少故障带来的影响。资源调度优先级可以帮助合理分配有限的资源。在资源有限的情况下,优先处理重要任务可以最大化资源的利用效率,避免资源浪费。通过对不同任务进行优先级排序,可以确保关键设施和重要任务得到优先处理。这有助于保持系统的稳定运行,减少因资源分配不当导致的系统故障。自动化计算资源调度优先级可以减少对人工干预的需求。计算资源调度优先级不仅可以根据当前状态进行调整,还可以根据历史数据和预测信息动态调整优先级。这意味着系统可以根据实际情况的变化,及时调整资源分配策略。通过记录和分析历史数据,可以不断优化优先级计算算法。随着数据的积累,系统可以变得更加智能,不断提高资源调度的准确性和效率。By applying the method provided in the embodiment of the present application, by calculating the resource scheduling priority, it is possible to ensure that high-priority tasks are processed first. This helps the system to respond quickly and take timely measures to reduce the impact of failures when an emergency occurs. Resource scheduling priority can help to reasonably allocate limited resources. In the case of limited resources, giving priority to important tasks can maximize the utilization efficiency of resources and avoid waste of resources. By prioritizing different tasks, it can be ensured that key facilities and important tasks are given priority. This helps to maintain the stable operation of the system and reduce system failures caused by improper resource allocation. Automatically calculating resource scheduling priorities can reduce the need for manual intervention. The resource scheduling priority can be adjusted not only according to the current state, but also dynamically adjusted according to historical data and forecast information. This means that the system can adjust the resource allocation strategy in a timely manner according to changes in actual conditions. By recording and analyzing historical data, the priority calculation algorithm can be continuously optimized. With the accumulation of data, the system can become more intelligent and continuously improve the accuracy and efficiency of resource scheduling.
在本实施例中,可以结合实时监控系统,计算资源调度优先级可以实现实时监控与预警功能。一旦发现高优先级任务,系统可以立即通知相关人员,并采取相应措施。In this embodiment, the real-time monitoring system can be combined to calculate the resource scheduling priority to achieve real-time monitoring and early warning functions. Once a high-priority task is found, the system can immediately notify relevant personnel and take corresponding measures.
与图1所述的方法相对应,本申请实施例还提供了一种光纤振动检测系统,应用于电子设备,用于对图4中方法的具体实现,该系统的结构示意图如图4所示,包括:Corresponding to the method described in FIG. 1 , the embodiment of the present application further provides an optical fiber vibration detection system, which is applied to electronic equipment and is used to specifically implement the method described in FIG. 4 . The structural schematic diagram of the system is shown in FIG. 4 , and includes:
第一获取单元401,用于获取来自光纤传感器的振动信号;A first acquisition unit 401 is used to acquire a vibration signal from the optical fiber sensor;
特征提取单元402,用于对所述振动信号进行特征提取,获得振动特征,所述振动特征包括振动幅度、振动频率和相位;A feature extraction unit 402 is used to extract features from the vibration signal to obtain vibration features, where the vibration features include vibration amplitude, vibration frequency and phase;
第一执行单元403,用于将所述振动特征输入到预先训练好的回归模型,获得所述振动信号的振动强度;A first execution unit 403 is used to input the vibration feature into a pre-trained regression model to obtain the vibration intensity of the vibration signal;
第二执行单元404,用于将所述振动特征输入到预先训练好的神经网络模型,获得所述振动信号对应的类别标签;The second execution unit 404 is used to input the vibration feature into a pre-trained neural network model to obtain a category label corresponding to the vibration signal;
第三执行单元405,用于根据所述振动强度、所述类别标签、所述振动频率以及所述光纤传感器的位置信息,获得所述振动信号的振动评分;A third execution unit 405 is used to obtain a vibration score of the vibration signal according to the vibration intensity, the category label, the vibration frequency and the position information of the optical fiber sensor;
第一确定单元406,用于在所述振动评分大于预先设置的评分阈值的情况下,确定所述振动信号为异常振动信号。The first determining unit 406 is configured to determine that the vibration signal is an abnormal vibration signal if the vibration score is greater than a preset score threshold.
在本申请提供的一实施例中,基于上述的方案,可选的,所述第一执行单元403,包括:In an embodiment provided in the present application, based on the above solution, optionally, the first execution unit 403 includes:
第一获取子单元,用于获取第一训练样本集以及待训练的初始回归模型;所述第一训练样本集包括多个第一训练样本以及每个第一训练样本对应的振动强度;所述第一训练样本包括历史振动信号的振动幅度、振动频率和相位;A first acquisition subunit is used to acquire a first training sample set and an initial regression model to be trained; the first training sample set includes a plurality of first training samples and a vibration intensity corresponding to each first training sample; the first training sample includes a vibration amplitude, a vibration frequency and a phase of a historical vibration signal;
第一确定子单元,用于在所述第一训练样本集中确定出当前用于训练的第一目标训练样本;A first determining subunit, configured to determine a first target training sample currently used for training in the first training sample set;
第一执行子单元,用于将第一目标训练样本输入到初始回归模型中,获得初始回归模型输出的第一识别结果;A first execution subunit is used to input a first target training sample into an initial regression model to obtain a first recognition result output by the initial regression model;
第一计算子单元,用于基于预设的均方误差损失函数、所述第一目标训练样本对应的振动强度以及所述第一识别结果,计算得到所述初始回归模型的第一损失函数值;A first calculation subunit, configured to calculate a first loss function value of the initial regression model based on a preset mean square error loss function, the vibration intensity corresponding to the first target training sample, and the first recognition result;
第一更新子单元,用于利用所述第一损失函数值更新所述初始回归模型的模型参数;A first updating subunit, configured to update the model parameters of the initial regression model using the first loss function value;
第二执行子单元,用于在更新模型参数后的所述初始回归模型未满足预设的第一训练完成条件的情况下,返回触发所述第一确定子单元执行在所述第一训练样本集的各个所述第一训练样本中确定出当前用于训练的第一目标训练样本;a second execution subunit, configured to return to trigger the first determination subunit to determine a first target training sample currently used for training from each of the first training samples in the first training sample set when the initial regression model after updating the model parameters does not meet the preset first training completion condition;
第三执行子单元,用于在更新模型参数后的所述初始回归模型满足预设的第一训练完成条件的情况下,将满足第一训练完成条件的所述初始回归模型,作为训练好的回归模型。The third execution subunit is used to use the initial regression model that meets the first training completion condition as the trained regression model when the initial regression model after updating the model parameters meets the preset first training completion condition.
在本申请提供的一实施例中,基于上述的方案,可选的,所述第二执行单元404,包括:In an embodiment provided in the present application, based on the above solution, optionally, the second execution unit 404 includes:
第二获取子单元,用于获取第二训练样本集以及待训练的初始神经网络模型;所述第二训练样本集包括多个第二训练样本以及每个第二训练样本的分类标签;所述第二训练样本包括历史振动信号的振动幅度、振动频率和相位,所述分类标签包括正常操作振动类型、设备故障振动类型、人为活动振动类型和自然活动振动类型中的一种;a second acquisition subunit, configured to acquire a second training sample set and an initial neural network model to be trained; the second training sample set includes a plurality of second training samples and a classification label of each second training sample; the second training sample includes a vibration amplitude, a vibration frequency and a phase of a historical vibration signal, and the classification label includes one of a normal operation vibration type, an equipment failure vibration type, a man-made activity vibration type and a natural activity vibration type;
第二确定子单元,用于在所述第二训练样本集中确定出当前用于训练的第二目标训练样本;A second determining subunit, configured to determine a second target training sample currently used for training in the second training sample set;
第四执行子单元,用于将第二目标训练样本输入到所述初始神经网络模型中,获得所述初始神经网络模型输出的第二识别结果;A fourth execution subunit, used for inputting a second target training sample into the initial neural network model to obtain a second recognition result output by the initial neural network model;
第二计算子单元,用于基于预设的交叉熵损失函数、所述第二目标训练样本的分类标签以及所述第二识别结果,计算得到所述初始神经网络模型的第二损失函数值;A second calculation subunit, configured to calculate a second loss function value of the initial neural network model based on a preset cross entropy loss function, the classification label of the second target training sample, and the second recognition result;
第二更新子单元,用于利用所述第二损失函数值更新所述初始神经网络模型的模型参数;A second updating subunit, used to update the model parameters of the initial neural network model using the second loss function value;
第五执行子单元,用于在更新模型参数后的所述初始神经网络模型未满足预设的第二训练完成条件的情况下,返回触发所述第二确定子单元执行在所述第二训练样本集的各个所述第二训练样本中确定出当前用于训练的第二目标训练样本;a fifth execution subunit, configured to return to trigger the second determination subunit to determine a second target training sample currently used for training from each of the second training samples in the second training sample set when the initial neural network model after updating the model parameters does not meet the preset second training completion condition;
第六执行子单元,用于在更新模型参数后的所述初始神经网络模型满足预设的第二训练完成条件的情况下,将满足第二训练完成条件的所述初始神经网络模型,作为训练好的神经网络模型。The sixth execution subunit is used to use the initial neural network model that meets the second training completion condition as the trained neural network model when the initial neural network model after updating the model parameters meets the preset second training completion condition.
在本申请提供的一实施例中,基于上述的方案,可选的,还包括:In an embodiment provided in the present application, based on the above solution, optionally, it further includes:
第二获取单元,用于获取各个历史振动信号对应的历史评分阈值的平均值;A second acquisition unit is used to acquire an average value of the historical scoring thresholds corresponding to each historical vibration signal;
计算单元,用于根据所述评分阈值以及所述平均值,计算得到目标阈值;A calculation unit, configured to calculate a target threshold value according to the scoring threshold value and the average value;
替换单元,用于利用目标阈值替换当前的所述评分阈值,以将所述目标阈值作为新的评分阈值。A replacing unit is used to replace the current scoring threshold with a target threshold so as to use the target threshold as a new scoring threshold.
在本申请提供的一实施例中,基于上述的方案,可选的,还包括:In an embodiment provided in the present application, based on the above solution, optionally, it further includes:
第三获取单元,用于获取所述光纤传感器对应的设施重要性参数以及所述类别标签对应的振动信号累计出现次数;A third acquisition unit is used to acquire the facility importance parameter corresponding to the optical fiber sensor and the cumulative number of occurrences of the vibration signal corresponding to the category label;
第二确定单元,用于根据所述振动强度、所述光纤传感器对应的设施重要性参数以及所述类别标签对应的振动信号累计出现次数,确定所述振动信号对应的资源调度优先级;A second determining unit is used to determine the resource scheduling priority corresponding to the vibration signal according to the vibration intensity, the facility importance parameter corresponding to the optical fiber sensor, and the cumulative number of occurrences of the vibration signal corresponding to the category label;
输出单元,用于根据所述振动信号对应的资源调度优先级生成维护工单,并输出所述维护工单。An output unit is used to generate a maintenance work order according to the resource scheduling priority corresponding to the vibration signal, and output the maintenance work order.
上述本申请实施例公开的光纤振动检测系统中的各个单元和模块具体的原理和执行过程,与上述本申请实施例公开的光纤振动检测方法相同,可参见上述本申请实施例提供的光纤振动检测方法中相应的部分,这里不再进行赘述。The specific principles and execution processes of each unit and module in the optical fiber vibration detection system disclosed in the above-mentioned embodiment of the present application are the same as those of the optical fiber vibration detection method disclosed in the above-mentioned embodiment of the present application. Please refer to the corresponding parts of the optical fiber vibration detection method provided in the above-mentioned embodiment of the present application, and will not be repeated here.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于系统类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。Finally, it should be noted that, in this article, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and/or hardware.
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器等)执行本申请各个实施例或者实施例的某些部分所述的方法。It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
以上对本申请所提供的一种光纤振动检测方法进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The above is a detailed introduction to the optical fiber vibration detection method provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411397265.XA CN118916821B (en) | 2024-10-09 | 2024-10-09 | Optical fiber vibration detection method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411397265.XA CN118916821B (en) | 2024-10-09 | 2024-10-09 | Optical fiber vibration detection method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118916821A true CN118916821A (en) | 2024-11-08 |
CN118916821B CN118916821B (en) | 2025-02-28 |
Family
ID=93308933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202411397265.XA Active CN118916821B (en) | 2024-10-09 | 2024-10-09 | Optical fiber vibration detection method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118916821B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN120090700A (en) * | 2025-04-30 | 2025-06-03 | 青岛汇安谷科技发展有限公司 | Fault identification method and system for buried optical fiber |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183899A (en) * | 2007-12-19 | 2008-05-21 | 天津大学 | Pipeline safety identification method for optical fiber pipeline leakage monitoring device based on BP network |
CN108898591A (en) * | 2018-06-22 | 2018-11-27 | 北京小米移动软件有限公司 | Methods of marking and device, electronic equipment, the readable storage medium storing program for executing of picture quality |
KR102310735B1 (en) * | 2020-12-21 | 2021-10-08 | (주)위세아이텍 | Apparatus and method for detecting abnormality in vibration signal of rotating equipment |
WO2022121139A1 (en) * | 2020-12-11 | 2022-06-16 | 中国矿业大学 | Coal/gangue recognition method in top coal caving process based on multi-sensor information fusion |
CN114648043A (en) * | 2022-03-18 | 2022-06-21 | 杭州鲁尔物联科技有限公司 | Piezoelectric rain gauge interference signal processing method, device and computer equipment |
CN114964476A (en) * | 2022-05-27 | 2022-08-30 | 中国石油大学(北京) | Fault diagnosis method, device and equipment for dynamic equipment of oil and gas pipeline system |
CN115112372A (en) * | 2022-06-22 | 2022-09-27 | 哈尔滨工业大学(深圳) | Bearing fault diagnosis method, device, electronic equipment and storage medium |
US20220373432A1 (en) * | 2021-12-29 | 2022-11-24 | Sichuan University | Method for diagnosing and predicting operation conditions of large-scale equipment based on feature fusion and conversion |
US20230121897A1 (en) * | 2021-10-20 | 2023-04-20 | Oracle International Corporation | Autonomous discrimination of operation vibration signals |
WO2023098524A1 (en) * | 2021-12-02 | 2023-06-08 | 天津御锦人工智能医疗科技有限公司 | Multi-modal medical data fusion evaluation method and apparatus, device, and storage medium |
CN116588008A (en) * | 2022-02-11 | 2023-08-15 | 罗伯特·博世有限公司 | Vibration-based component wear and failure automated detection for vehicles |
US20240035467A1 (en) * | 2022-07-27 | 2024-02-01 | Zhejiang University | Cavitation state identification method driven by vibration data of fluid machinery |
US20240044695A1 (en) * | 2021-01-04 | 2024-02-08 | Central South University | Train compartment vibration monitoring method and vibration signal feature library establishment and application methods |
CN117574078A (en) * | 2023-11-14 | 2024-02-20 | 浙江大学 | A hierarchical diagnosis method for mechanical seal failure modes based on vibration analysis |
CN118051327A (en) * | 2024-01-11 | 2024-05-17 | 北京中电飞华通信有限公司 | Resource scheduling method and device, electronic equipment and storage medium |
CN118115427A (en) * | 2023-11-15 | 2024-05-31 | 北京科技大学 | A road surface status detection method and system based on multi-source data |
CN118365192A (en) * | 2024-03-13 | 2024-07-19 | 广东省环境科学研究院 | Water environment quality remote sensing analysis method, system, electronic equipment and storage medium |
CN118408743A (en) * | 2024-07-04 | 2024-07-30 | 山东轴研精密轴承有限公司 | Bearing fault detection system and method |
CN118410279A (en) * | 2024-05-08 | 2024-07-30 | 内蒙古电力(集团)有限责任公司内蒙古电力科学研究院分公司 | Deep learning-based turbine unit fault processing method and system |
-
2024
- 2024-10-09 CN CN202411397265.XA patent/CN118916821B/en active Active
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183899A (en) * | 2007-12-19 | 2008-05-21 | 天津大学 | Pipeline safety identification method for optical fiber pipeline leakage monitoring device based on BP network |
CN108898591A (en) * | 2018-06-22 | 2018-11-27 | 北京小米移动软件有限公司 | Methods of marking and device, electronic equipment, the readable storage medium storing program for executing of picture quality |
WO2022121139A1 (en) * | 2020-12-11 | 2022-06-16 | 中国矿业大学 | Coal/gangue recognition method in top coal caving process based on multi-sensor information fusion |
KR102310735B1 (en) * | 2020-12-21 | 2021-10-08 | (주)위세아이텍 | Apparatus and method for detecting abnormality in vibration signal of rotating equipment |
US20240044695A1 (en) * | 2021-01-04 | 2024-02-08 | Central South University | Train compartment vibration monitoring method and vibration signal feature library establishment and application methods |
US20230121897A1 (en) * | 2021-10-20 | 2023-04-20 | Oracle International Corporation | Autonomous discrimination of operation vibration signals |
WO2023098524A1 (en) * | 2021-12-02 | 2023-06-08 | 天津御锦人工智能医疗科技有限公司 | Multi-modal medical data fusion evaluation method and apparatus, device, and storage medium |
US20220373432A1 (en) * | 2021-12-29 | 2022-11-24 | Sichuan University | Method for diagnosing and predicting operation conditions of large-scale equipment based on feature fusion and conversion |
CN116588008A (en) * | 2022-02-11 | 2023-08-15 | 罗伯特·博世有限公司 | Vibration-based component wear and failure automated detection for vehicles |
CN114648043A (en) * | 2022-03-18 | 2022-06-21 | 杭州鲁尔物联科技有限公司 | Piezoelectric rain gauge interference signal processing method, device and computer equipment |
CN114964476A (en) * | 2022-05-27 | 2022-08-30 | 中国石油大学(北京) | Fault diagnosis method, device and equipment for dynamic equipment of oil and gas pipeline system |
CN115112372A (en) * | 2022-06-22 | 2022-09-27 | 哈尔滨工业大学(深圳) | Bearing fault diagnosis method, device, electronic equipment and storage medium |
US20240035467A1 (en) * | 2022-07-27 | 2024-02-01 | Zhejiang University | Cavitation state identification method driven by vibration data of fluid machinery |
CN117574078A (en) * | 2023-11-14 | 2024-02-20 | 浙江大学 | A hierarchical diagnosis method for mechanical seal failure modes based on vibration analysis |
CN118115427A (en) * | 2023-11-15 | 2024-05-31 | 北京科技大学 | A road surface status detection method and system based on multi-source data |
CN118051327A (en) * | 2024-01-11 | 2024-05-17 | 北京中电飞华通信有限公司 | Resource scheduling method and device, electronic equipment and storage medium |
CN118365192A (en) * | 2024-03-13 | 2024-07-19 | 广东省环境科学研究院 | Water environment quality remote sensing analysis method, system, electronic equipment and storage medium |
CN118410279A (en) * | 2024-05-08 | 2024-07-30 | 内蒙古电力(集团)有限责任公司内蒙古电力科学研究院分公司 | Deep learning-based turbine unit fault processing method and system |
CN118408743A (en) * | 2024-07-04 | 2024-07-30 | 山东轴研精密轴承有限公司 | Bearing fault detection system and method |
Non-Patent Citations (3)
Title |
---|
周仿荣;方明;马御棠;潘浩;: "基于YOLO v3的输电线路缺陷快速检测方法", 云南电力技术, no. 04, 15 August 2020 (2020-08-15) * |
梁金禄;黄小玉;杨军;谢廷远;陈家雄;方丽萍;: "基于光纤传感技术的埋地燃气管道预警研究", 激光杂志, no. 03, 25 March 2020 (2020-03-25) * |
谢苗,等: "分布式光纤传感系统托辊故障监测技术研究", 机械科学与技术, 20 June 2024 (2024-06-20) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN120090700A (en) * | 2025-04-30 | 2025-06-03 | 青岛汇安谷科技发展有限公司 | Fault identification method and system for buried optical fiber |
Also Published As
Publication number | Publication date |
---|---|
CN118916821B (en) | 2025-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN118316190B (en) | Electric power system monitoring system based on Internet of things | |
CN118826294A (en) | A digital management method and system for substation-based operation and maintenance | |
CN118916821A (en) | Optical fiber vibration detection method and system | |
Chouliaras et al. | Real-time anomaly detection of NoSQL systems based on resource usage monitoring | |
CN115358155A (en) | Power big data abnormity early warning method, device, equipment and readable storage medium | |
CN118418734A (en) | Battery thermal runaway warning method and system perceived by multi-source sensors, a vehicle | |
CN116915506B (en) | Abnormal flow detection method and device, electronic equipment and storage medium | |
CN118607885B (en) | Intelligent detection system and method for soil slope construction based on Internet of Things technology | |
CN119293706A (en) | A full life cycle intelligent operation and maintenance method based on BIM model | |
CN115392372A (en) | Power data processing method, device, medium and electronic equipment | |
CN115858291A (en) | System index detection method and device, electronic equipment and storage medium thereof | |
CN118676857A (en) | Digital electricity leakage detection and protection system and method based on Internet of things | |
CN119168357A (en) | A smart grid security risk data processing method and system | |
CN118883839A (en) | Method, device, equipment and storage medium for hydrogen leakage monitoring | |
CN116338391B (en) | Insulator state detection method, device, electronic equipment and medium | |
CN115993503B (en) | Operation detection method, device and equipment of transformer and storage medium | |
CN116471174A (en) | Log data monitoring system, method, device and storage medium | |
CN119106926B (en) | Power failure studying and judging processing method based on big data | |
CN119151323B (en) | Equipment security risk prediction method, system and equipment based on industrial Internet of things | |
CN119227057A (en) | A security model library updating method, device, equipment and storage medium | |
CN120217257A (en) | Equipment abnormal operation data identification method, device, equipment, medium and product | |
CN119109732A (en) | Intelligent fusion gateway and method thereof | |
CN119652640A (en) | A network security threat monitoring method and system based on deep learning | |
CN120412248A (en) | Event warning method, device, electronic device and storage medium | |
Wu et al. | Electric Anomaly Monitoring Model Based on Improved SVM |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |