CN117851922B - Operation monitoring method of air concentration monitoring instrument - Google Patents
Operation monitoring method of air concentration monitoring instrument Download PDFInfo
- Publication number
- CN117851922B CN117851922B CN202410264066.5A CN202410264066A CN117851922B CN 117851922 B CN117851922 B CN 117851922B CN 202410264066 A CN202410264066 A CN 202410264066A CN 117851922 B CN117851922 B CN 117851922B
- Authority
- CN
- China
- Prior art keywords
- signal
- monitoring
- layer
- parameter
- model
- 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.)
- Active
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 81
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000000354 decomposition reaction Methods 0.000 claims abstract description 32
- 238000013461 design Methods 0.000 claims abstract description 18
- 238000005457 optimization Methods 0.000 claims abstract description 16
- 238000001228 spectrum Methods 0.000 claims abstract description 13
- 238000012545 processing Methods 0.000 claims abstract description 6
- 230000009466 transformation Effects 0.000 claims abstract description 6
- 230000008569 process Effects 0.000 claims description 19
- 238000011156 evaluation Methods 0.000 claims description 11
- 238000012360 testing method Methods 0.000 claims description 11
- 230000004913 activation Effects 0.000 claims description 9
- 238000009826 distribution Methods 0.000 claims description 9
- 238000000605 extraction Methods 0.000 claims description 9
- 230000004927 fusion Effects 0.000 claims description 6
- 239000011159 matrix material Substances 0.000 claims description 6
- 238000012549 training Methods 0.000 claims description 5
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 238000009825 accumulation Methods 0.000 claims description 3
- 230000003190 augmentative effect Effects 0.000 claims description 3
- 238000001514 detection method Methods 0.000 claims description 3
- 238000005265 energy consumption Methods 0.000 claims description 3
- 238000009499 grossing Methods 0.000 claims description 3
- 210000002569 neuron Anatomy 0.000 claims description 3
- 238000009827 uniform distribution Methods 0.000 claims description 3
- 238000012512 characterization method Methods 0.000 abstract description 3
- 230000007774 longterm Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 21
- 238000004364 calculation method Methods 0.000 description 7
- 230000009471 action Effects 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- 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
- G06F18/2415—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
-
- 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/044—Recurrent networks, e.g. Hopfield networks
- G06N3/0442—Recurrent networks, e.g. Hopfield networks characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
-
- 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
- G06N3/084—Backpropagation, e.g. using gradient descent
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Mathematical Physics (AREA)
- Artificial Intelligence (AREA)
- Software Systems (AREA)
- Evolutionary Computation (AREA)
- Computational Linguistics (AREA)
- Computational Mathematics (AREA)
- Molecular Biology (AREA)
- General Health & Medical Sciences (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Health & Medical Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computing Systems (AREA)
- Evolutionary Biology (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Operations Research (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses an air concentration monitoring instrument operation monitoring method which comprises the steps of signal receiving, signal decomposition, parameter updating, instrument operation monitoring mixed model establishment, model parameter adjustment and instrument operation monitoring. The invention belongs to the technical field of data processing, and particularly relates to an operation monitoring method of an air concentration monitoring instrument, which is based on Hilbert transformation to obtain a unilateral spectrum, introduces constraint optimization and expands a Lagrange equation, and carries out frequency modulation according to balance constraint and punishment items so as to complete high-precision decomposition of signals; based on the alternating direction multiplier method, ADMM optimization and Hermite symmetry simplification, the calculated amount is reduced; and adopting a designed CNN layer to extract features, utilizing an LSTM layer design to capture long-term dependency of low-frequency signal data, utilizing a DBN model to predict high-frequency signals, extracting abstract features by a layered design, and finally weighting and fusing an output structure based on self-adaptive characterization learning to output a monitoring result.
Description
Technical Field
The invention belongs to the technical field of data processing, and particularly relates to an operation monitoring method of an air concentration monitoring instrument.
Background
The operation monitoring method of the air concentration monitoring instrument is to train a monitoring model by utilizing the existing signal data and label data by utilizing the data analysis and signal processing technology, and learn the characteristics of different operation states by analyzing the relation between the operation signal and the operation parameters of the instrument, so that the real-time operation state can be monitored. However, the original signal of the data source has the problems of incomplete signal and large calculation amount of parameter updating caused by coarse decomposition mode; the general monitoring model has the problems that the characteristic extraction capability is weak, and the self-adaptive learning can not be carried out on the characteristics of input data, so that the model performance is weak; the parameter searching algorithm has the problems that the searching space range is small, and the global optimum and the local optimum cannot be judged.
Disclosure of Invention
Aiming at the problems of incomplete signal and large calculation amount of parameter updating caused by coarse decomposition mode of original signals of data sources, the method obtains a unilateral spectrum based on Hilbert transformation, introduces constraint optimization, expands Lagrangian equation, carries out frequency modulation according to balance constraint and punishment items, thereby completing high-precision decomposition of signals, and reduces calculation amount based on an alternate direction multiplier method, ADMM optimization and Hermite symmetry simplification problem; aiming at the problems that the characteristic extraction capability of a general monitoring model is weak and self-adaptive learning cannot be carried out on the characteristics of input data, so that the model performance is weak, the scheme adopts a designed CNN layer to carry out characteristic extraction, utilizes an LSTM layer design to capture the long-term dependency relationship of low-frequency signal data, utilizes a DBN model to monitor high-frequency signals, adopts a layered design to extract abstract characteristics, and finally outputs a monitoring result by weighting and fusing an output structure based on self-adaptive characterization learning, so that the adaptability and generalization capability of the model are improved; aiming at the problems that the search space range is small and global optimum and local optimum cannot be judged in the parameter searching algorithm, the scheme adopts the method that the search range is enlarged by moving to the local optimum and the global optimum based on the current iteration times, and the local optimum and the global optimum are judged based on the evaluation threshold and the maximum iteration times.
The invention provides an operation monitoring method of an air concentration monitoring instrument, which comprises the following steps:
Step S1: receiving signals;
Step S2: signal decomposition, namely performing frequency modulation based on Hilbert transformation and an extended Lagrangian equation, so as to define an objective function and complete high-precision signal decomposition;
step S3: parameter updating, searching an optimal solution based on an alternate direction multiplier method, ADMM optimization and Hermite symmetry simplification problem;
step S4: an instrument operation monitoring mixed model is established, low-frequency signal data characteristics are extracted based on a CNN layer design, input time sequence data are initially monitored by utilizing an LSTM layer design, and monitoring results of high-frequency signal data after signal decomposition are combined with a DBN layer design to be subjected to weighted fusion, so that a final monitoring result is output;
Step S5: model parameter adjustment, namely moving to local optimum and global optimum based on the current iteration times, and judging global optimum based on an evaluation threshold and the maximum iteration times;
step S6: and (5) monitoring the operation of the instrument.
Further, in step S1, the signal receiving is to receive an equipment operation state signal, an equipment sensor output signal, a noise sensor output signal, a vibration sensor output signal, an energy consumption monitoring signal and an equipment operation state corresponding to the data; the running state of the equipment is used as a data tag.
Further, in step S2, the signal decomposition specifically includes the following:
step S21: predefined, for each IMF, i.e. the inner pulse function, a single-sided spectrum is obtained using the Hilbert transform, the estimated bandwidth is minimized by summing, and under constraints, the accumulation of each IMF is equal to the input signal f (t), using the following formula:
;
;
Where f (t) is the original signal being decomposed, δ () is the dirac distribution, t is the time, x is the convolution operator, u k is the coefficient of the kth IMF, ω k is the center frequency of the kth IMF, K represents the total number of IMFs, ∂ t is the derivative of t, j1 is the imaginary unit, subscript 2 is the L2 normal form, and superscript 2 is the squaring operation;
step S22: defining an extended Lagrange equation, converting a constrained variation problem into an unconstrained optimization problem, and based on a quadratic penalty term and a Lagrange multiplier, using the following formula:
;
Where λ is the Lagrangian multiplier, α is a parameter balancing the relative weights between constraint terms and penalty terms in the objective function, 〈 〉 is the inner product;
Step S23: frequency modulation, namely mixing the frequency spectrum of the IMF with a modulation index adjusted to the corresponding estimated center frequency, and transferring the frequency spectrum to a baseband region; estimating the bandwidth of each IMF, i.e., the L2 parameter of the gradient square, using gaussian smoothing of the demodulated signal;
Step S24: defining an objective function, estimating the coefficient and frequency characteristic of each IMF, thereby realizing the decomposition of the original signal, wherein the objective function is expressed as follows:
。
Further, in step S3, the parameter updating updates the coefficient and frequency characteristic of each IMF to achieve the decomposition of the original signal, which specifically includes the following contents:
Step S31: defining a solution, searching saddle points of the augmented lagrangian function using an alternate direction multiplier method, updating u k and ω k in both directions based on the ADMM optimization method, resulting in the following iterative solution:
;
;
;
where n is the number of iterations, τ is the time step, and i1 and k are both the index of the IMF;
step S32: convergence conditions are defined using the following formula:
;
Where ε is the convergence threshold;
step S33: solving an optimal solution, wherein the content comprises:
Step S331: updating the modality, equating the sub-problem to the following minimization problem:
;
Step S332: by using the hermite symmetry of the real signal, in the reconstructed fidelity term, the form of half-space integral to non-negative frequencies is written, and the first derivative is changed to zero to find the optimal solution of the problem, and the formula is as follows:
;
In the method, in the process of the invention, 、AndFourier transforms of f (ω), λ (ω), and u i1 (ω), respectively, ω being a continuous frequency variable;
Step S333: equating the omega k optimal solution problem to the following:
;
step S334: the optimal solution is expressed as follows:
;
Step S335: the signal is finally divided into a high frequency signal and a low frequency signal based on a signal frequency threshold.
Further, in step S4, the method for creating the instrument operation monitoring hybrid model is based on the signal data obtained in step S3, which is randomly divided into a training set and a test set, and the test set is used to test the performance of the model, and the model creation specifically includes the following steps:
Step S41: CNN layer design, the CNN layer is used to extract the features of low frequency data, the low frequency data after signal decomposition is input into the CNN layer with 64×1×3 convolution kernel, the convolution kernel is used as the feature extractor, the process is described as follows:
;
In the method, in the process of the invention, Is the value of the feature map j in layer l +1 at time tau 1, sigma R is the ReLU function,Is the offset value of the feature map j in the first layer, F l is the number of feature maps in the first layer, F is the feature map index, p l is the number of convolution kernels in the first layer, p is the index of the convolution kernel position,Is a value generated by convolving the feature map j in the first layer with a convolution kernel f;
Step S42: the LSTM layer is designed, the CNN layer inputs data into the LSTM layer as a time sequence to predict after the preliminary feature extraction is finished, and the LSTM system structure is composed of four gates, namely a forgetting gate f t, an updating gate u t, an input gate i t, an output gate o t and a storage unit C t, and by operating the gates, information is stored, written and read in the unit, and the process is described as follows:
;
;
;
;
;
;
Wherein W and b are respectively a weight matrix and a bias matrix related to a control gate, subscripts f, i, c and o respectively represent a forgetting gate, an input gate, a storage unit and an output gate, t and t-1 are time states, h is a hidden state, x is an input data set, and tanh is a hyperbolic tangent function;
Step S43: the DBN layer design, the DBN is composed of a plurality of limited Boltzmann machines, each RBM comprises a visible unit and a hidden unit, wherein the visible unit is an input layer, the hidden unit is a characteristic detection layer, three hidden layer DBN networks are adopted to predict high-frequency signal data after signal decomposition processing, neurons among the DBN layers are independent and unconnected, and the visible unit of each RBM is connected with the hidden unit through weights, and the content comprises:
step S431: the energy function E is defined using the formula:
;
Where v k1 is the kth 1 visible unit, h m is the mth hidden unit, ω mk1 is the connection weight between v k1 and h m, b k1 is the threshold value of the kth 1 visible unit, c m is the threshold value of the mth hidden unit;
step S432: after the energy function is obtained, the joint probability distribution of all visible units and hidden units is calculated, and the following formula is used:
;
wherein D is all visible units and h is all hidden units; p (v, h) is the joint probability distribution of all visible and hidden units;
Step S433: the activation probability of the kth 1 visible unit and the mth hidden unit of each RBM is calculated by the following formula:
;
;
In the method, in the process of the invention, Is the activation probability of the kth 1 visible unit,Is the activation probability of the mth hidden unit;
Step S44: and carrying out weighted fusion on the LSTM layer output result and the DBN layer output result to generate a final prediction result.
Further, in step S5, the model parameter adjustment specifically includes the following:
step S51: initializing, initializing a parameter search space and n parameter positions The parameter adaptation degree value is based on the model monitoring accuracy established at the current position;
Step S52: and updating the position, wherein if the fitness value of the new position is higher than that of the original position, the position is updated, otherwise, the position is kept unchanged, and the formula used for updating the position is as follows:
;
In the method, in the process of the invention, The position is updated, LG J is the optimal position in the J dimension, WZ rJ is the position of the randomly selected r parameter in the J dimension, U () is a random number generating function obeying uniform distribution, GG is the global optimal position, T1 is the current iteration number, and T is the maximum iteration number; f i、fb and f g are the individual current fitness value, the individual experience optimal fitness value and the global optimal fitness value, respectively;
Step S53: globally judging, presetting an evaluation threshold, and if parameters with fitness values higher than the evaluation threshold exist, establishing an instrument operation monitoring model based on the parameters; if the maximum iteration times are exceeded, reinitializing the parameter position to seek parameters; otherwise, continuing to search for the parameters.
Further, in step S6, the instrument operation monitoring is to set up an instrument operation monitoring hybrid model based on the best parameters of the monitoring model found in step S5, and when the monitoring accuracy of the model to the test set is higher than the accuracy threshold, the model is set up; the model receives the instrument operation signal and the operation parameter signal in real time, and based on the operation monitoring state of the output monitoring instrument, when the operation monitoring state is abnormal, early warning treatment is given.
By adopting the scheme, the beneficial effects obtained by the invention are as follows:
(1) Aiming at the problems of incomplete signal and large calculation amount of parameter updating caused by rough decomposition mode of an original signal of a data source, the scheme obtains a unilateral spectrum based on Hilbert transformation, introduces constraint optimization and expands a Lagrange equation, carries out frequency modulation according to balance constraint and punishment items, thereby completing high-precision decomposition of the signal, and reduces calculation amount based on an alternate direction multiplier method, ADMM optimization and Hermite symmetry simplification problem.
(2) Aiming at the problems that the characteristic extraction capability of a general monitoring model is weak and self-adaptive learning cannot be carried out on the characteristics of input data, so that the model performance is weak, the scheme adopts a designed CNN layer to carry out characteristic extraction, utilizes an LSTM layer design to capture the long-term dependency relationship of low-frequency signal data, utilizes a DBN model to monitor high-frequency signals, adopts a layered design to extract abstract characteristics, finally carries out weighted fusion on an output structure based on self-adaptive characterization learning to output a monitoring result, and improves the adaptability and generalization capability of the model.
(3) Aiming at the problems that the search space range is small and global optimum and local optimum cannot be judged in the parameter searching algorithm, the scheme adopts the method that the search range is enlarged by moving to the local optimum and the global optimum based on the current iteration times, and the local optimum and the global optimum are judged based on the evaluation threshold and the maximum iteration times.
Drawings
FIG. 1 is a schematic flow chart of an operation monitoring method of an air concentration monitoring instrument provided by the invention;
FIG. 2 is a schematic flow chart of the signal decomposition in FIG. 1;
FIG. 3 is a flow chart of parameter updating in FIG. 1;
FIG. 4 is a schematic flow chart of the method for creating the instrument operation monitoring hybrid model in FIG. 1;
Fig. 5 is a flow chart of the model parameter adjustment in fig. 1.
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention; all other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it should be understood that the terms "upper," "lower," "front," "rear," "left," "right," "top," "bottom," "inner," "outer," and the like indicate orientation or positional relationships based on those shown in the drawings, merely to facilitate description of the invention and simplify the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the invention.
Referring to fig. 1, the operation monitoring method of the air concentration monitoring instrument provided by the present invention includes:
Step S1: receiving signals;
step S2: signal decomposition;
Step S3: updating parameters;
Step S4: establishing an instrument operation monitoring hybrid model;
step S5: model parameter adjustment;
step S6: and (5) monitoring the operation of the instrument.
In step S1, the device operation state signal, the device sensor output signal, the noise sensor output signal, the vibration sensor output signal, the energy consumption monitoring signal, and the device operation state corresponding to the data are received; the running state of the equipment is used as a data tag.
In the third embodiment, referring to fig. 1 and 2, the signal decomposition specifically includes the following in step S2, where the embodiment is based on the above embodiment:
step S21: predefined, for each IMF, i.e. the inner pulse function, a single-sided spectrum is obtained using the Hilbert transform, the estimated bandwidth is minimized by summing, and under constraints, the accumulation of each IMF is equal to the input signal f (t), using the following formula:
;
;
Where f (t) is the original signal being decomposed, δ () is the dirac distribution, t is the time, x is the convolution operator, u k is the coefficient of the kth IMF, ω k is the center frequency of the kth IMF, K represents the total number of IMFs, ∂ t is the derivative of t, j1 is the imaginary unit, subscript 2 is the L2 normal form, and superscript 2 is the squaring operation;
step S22: defining an extended Lagrange equation, converting a constrained variation problem into an unconstrained optimization problem, and based on a quadratic penalty term and a Lagrange multiplier, using the following formula:
;
Where λ is the Lagrangian multiplier, α is a parameter balancing the relative weights between constraint terms and penalty terms in the objective function, 〈 〉 is the inner product;
Step S23: frequency modulation, namely mixing the frequency spectrum of the IMF with a modulation index adjusted to the corresponding estimated center frequency, and transferring the frequency spectrum to a baseband region; estimating the bandwidth of each IMF, i.e., the L2 parameter of the gradient square, using gaussian smoothing of the demodulated signal;
Step S24: defining an objective function, estimating the coefficient and frequency characteristic of each IMF, thereby realizing the decomposition of the original signal, wherein the objective function is expressed as follows:
。
In step S3, the parameter update is to update the coefficient and frequency characteristic of each IMF to achieve the decomposition of the original signal, and specifically includes the following steps with reference to fig. 1 and 3:
Step S31: defining a solution, searching saddle points of the augmented lagrangian function using an alternate direction multiplier method, updating u k and ω k in both directions based on the ADMM optimization method, resulting in the following iterative solution:
;
;
;
where n is the number of iterations, τ is the time step, and i1 and k are both the index of the IMF;
step S32: convergence conditions are defined using the following formula:
;
Where ε is the convergence threshold;
step S33: solving an optimal solution, wherein the content comprises:
Step S331: updating the modality, equating the sub-problem to the following minimization problem:
;
Step S332: by using the hermite symmetry of the real signal, in the reconstructed fidelity term, the form of half-space integral to non-negative frequencies is written, and the first derivative is changed to zero to find the optimal solution of the problem, and the formula is as follows:
;
In the method, in the process of the invention, 、AndFourier transforms of f (ω), λ (ω), and u i1 (ω), respectively, ω being a continuous frequency variable;
Step S333: equating the omega k optimal solution problem to the following:
;
step S334: the optimal solution is expressed as follows:
;
Step S335: the signal is finally divided into a high frequency signal and a low frequency signal based on a signal frequency threshold.
By executing the operation, aiming at the problems of incomplete signal and large calculation amount of parameter updating caused by coarse decomposition mode of an original signal of a data source, the scheme obtains a unilateral spectrum based on Hilbert transformation, introduces constraint optimization and expands a Lagrange equation, carries out frequency modulation according to balance constraint and punishment items, thereby completing high-precision decomposition of the signal, and reduces the calculation amount based on an alternate direction multiplier method, ADMM optimization and Hermite symmetry simplification problem.
In step S4, the instrument operation monitoring hybrid model is established based on the signal data obtained in step S3, and is randomly divided into a training set and a test set, the training set is utilized to test the performance of the model, and the model establishment specifically comprises the following steps:
Step S41: CNN layer design, the CNN layer is used to extract the features of low frequency data, the low frequency data after signal decomposition is input into the CNN layer with 64×1×3 convolution kernel, the convolution kernel is used as the feature extractor, the process is described as follows:
;
In the method, in the process of the invention, Is the value of the feature map j in layer l +1 at time tau 1, sigma R is the ReLU function,Is the offset value of the feature map j in the first layer, F l is the number of feature maps in the first layer, F is the feature map index, p l is the number of convolution kernels in the first layer, p is the index of the convolution kernel position,Is a value generated by convolving the feature map j in the first layer with a convolution kernel f;
Step S42: the LSTM layer is designed, the CNN layer inputs data into the LSTM layer as a time sequence to predict after the preliminary feature extraction is finished, and the LSTM system structure is composed of four gates, namely a forgetting gate f t, an updating gate u t, an input gate i t, an output gate o t and a storage unit C t, and by operating the gates, information is stored, written and read in the unit, and the process is described as follows:
;
;
;
;
;
;
Wherein W and b are respectively a weight matrix and a bias matrix related to a control gate, subscripts f, i, c and o respectively represent a forgetting gate, an input gate, a storage unit and an output gate, t and t-1 are time states, h is a hidden state, x is an input data set, and tanh is a hyperbolic tangent function;
Step S43: the DBN layer design, the DBN is composed of a plurality of limited Boltzmann machines, each RBM comprises a visible unit and a hidden unit, wherein the visible unit is an input layer, the hidden unit is a characteristic detection layer, three hidden layer DBN networks are adopted to predict high-frequency signal data after signal decomposition processing, neurons among the DBN layers are independent and unconnected, and the visible unit of each RBM is connected with the hidden unit through weights, and the content comprises:
step S431: the energy function E is defined using the formula:
;
Where v k1 is the kth 1 visible unit, h m is the mth hidden unit, ω mk1 is the connection weight between v k1 and h m, b k1 is the threshold value of the kth 1 visible unit, c m is the threshold value of the mth hidden unit;
step S432: after the energy function is obtained, the joint probability distribution of all visible units and hidden units is calculated, and the following formula is used:
;
wherein D is all visible units and h is all hidden units; p (v, h) is the joint probability distribution of all visible and hidden units;
Step S433: the activation probability of the kth 1 visible unit and the mth hidden unit of each RBM is calculated by the following formula:
;
;
In the method, in the process of the invention, Is the activation probability of the kth 1 visible unit,Is the activation probability of the mth hidden unit;
Step S44: and carrying out weighted fusion on the LSTM layer output result and the DBN layer output result to generate a final prediction result.
By executing the operation, the problem that the characteristic extraction capability is weak and the self-adaptive learning cannot be carried out on the characteristics of input data to cause the weak performance of the model exists in a general monitoring model is solved.
Embodiment six, referring to fig. 1 and 5, based on the above embodiment, in step S5, the model parameter adjustment specifically includes the following:
step S51: initializing, initializing a parameter search space and n parameter positions The parameter adaptation degree value is based on the model monitoring accuracy established at the current position;
Step S52: and updating the position, wherein if the fitness value of the new position is higher than that of the original position, the position is updated, otherwise, the position is kept unchanged, and the formula used for updating the position is as follows:
;
In the method, in the process of the invention, The position is updated, LG J is the optimal position in the J dimension, WZ rJ is the position of the randomly selected r parameter in the J dimension, U () is a random number generating function obeying uniform distribution, GG is the global optimal position, T1 is the current iteration number, and T is the maximum iteration number; f i、fb and f g are the individual current fitness value, the individual experience optimal fitness value and the global optimal fitness value, respectively;
Step S53: globally judging, presetting an evaluation threshold, and if parameters with fitness values higher than the evaluation threshold exist, establishing an instrument operation monitoring model based on the parameters; if the maximum iteration times are exceeded, reinitializing the parameter position to seek parameters; otherwise, continuing to search for the parameters.
By executing the operation, the method and the device aim at the problems that the search space range is small and the global optimum and the local optimum cannot be judged in the parameter searching algorithm, and the method and the device enlarge the search range by moving the current iteration times to the local optimum and the global optimum and judge the local optimum and the global optimum based on the evaluation threshold and the maximum iteration times.
An embodiment seven, referring to fig. 1, based on the foregoing embodiment, in step S6, the instrument operation monitoring is to set up an instrument operation monitoring hybrid model based on searching the optimal parameters of the monitoring model in step S5, and when the monitoring accuracy of the model to the test set is higher than the accuracy threshold, the model is set up; the model receives the instrument operation signal and the operation parameter signal in real time, and based on the operation monitoring state of the output monitoring instrument, when the operation monitoring state is abnormal, early warning treatment is given.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
The invention and its embodiments have been described above with no limitation, and the actual construction is not limited to the embodiments of the invention as shown in the drawings. In summary, if one of ordinary skill in the art is informed by this disclosure, a structural manner and an embodiment similar to the technical solution should not be creatively devised without departing from the gist of the present invention.
Claims (5)
1. An operation monitoring method of an air concentration monitoring instrument is characterized in that: comprising the following steps:
Step S1: receiving signals;
Step S2: signal decomposition, namely performing frequency modulation based on Hilbert transformation and an extended Lagrangian equation, so as to define an objective function and complete high-precision signal decomposition;
step S3: parameter updating, searching an optimal solution based on an alternate direction multiplier method, ADMM optimization and Hermite symmetry simplification problem;
step S4: an instrument operation monitoring mixed model is established, low-frequency signal data characteristics are extracted based on a CNN layer design, input time sequence data are initially monitored by utilizing an LSTM layer design, and monitoring results of high-frequency signal data after signal decomposition are combined with a DBN layer design to be subjected to weighted fusion, so that a final monitoring result is output;
Step S5: model parameter adjustment, namely moving to local optimum and global optimum based on the current iteration times, and judging global optimum based on an evaluation threshold and the maximum iteration times;
Step S6: monitoring the operation of the instrument;
In step S4, the instrument operation monitoring hybrid model is established by randomly dividing the signal data obtained in step S3 into a training set and a test set, and using the training set to train the model, the test set is used to test the performance of the model, and the model establishment specifically comprises the following steps:
Step S41: CNN layer design, the CNN layer is used to extract the features of low frequency data, the low frequency data after signal decomposition is input into the CNN layer with 64×1×3 convolution kernel, the convolution kernel is used as the feature extractor, the process is described as follows:
In the method, in the process of the invention, Is the value of the feature map j in layer l+1 at time τ1, σ R is the ReLU function,/>Is the offset value of the feature map j in the first layer, F l is the number of feature maps in the first layer, F is the feature map index, p l is the number of convolution kernels in the first layer, p is the index of the convolution kernel position,/>Is a value generated by convolving the feature map j in the first layer with a convolution kernel f;
Step S42: the LSTM layer is designed, the CNN layer inputs data into the LSTM layer as a time sequence to predict after the preliminary feature extraction is finished, and the LSTM system structure is composed of four gates, namely a forgetting gate f t, an updating gate u t, an input gate i t, an output gate o t and a storage unit C t, and by operating the gates, information is stored, written and read in the unit, and the process is described as follows:
ft=σs(Wf[ht-1,xt]+bf);
it=σs(Wi[ht-1,xt]+bi);
ut=tanh(WC[ht-1,xt]+bc);
Ot=σs(WO[ht-1,xt]+bO);
Ct=ftCt-1+itut;
ht=Ottanh(Ct);
Wherein W and b are respectively a weight matrix and a bias matrix related to a control gate, subscripts f, i, c and o respectively represent a forgetting gate, an input gate, a storage unit and an output gate, t and t-1 are time states, h is a hidden state, x is an input data set, and tanh is a hyperbolic tangent function;
Step S43: the DBN layer design, the DBN is composed of a plurality of limited Boltzmann machines, each RBM comprises a visible unit and a hidden unit, wherein the visible unit is an input layer, the hidden unit is a characteristic detection layer, three hidden layer DBN networks are adopted to predict high-frequency signal data after signal decomposition processing, neurons among the DBN layers are independent and unconnected, and the visible unit of each RBM is connected with the hidden unit through weights, and the content comprises:
step S431: the energy function E is defined using the formula:
E(v,h)=∑k1bk1vk1-∑mcmhm-∑mk1ωmk1vk1hm;
Where v k1 is the kth 1 visible unit, h m is the mth hidden unit, ω mk1 is the connection weight between v k1 and h m, b k1 is the threshold value of the kth 1 visible unit, c m is the threshold value of the mth hidden unit;
step S432: after the energy function is obtained, the joint probability distribution of all visible units and hidden units is calculated, and the following formula is used:
Wherein D is all visible units and h is all hidden units; p (v, h) is the joint probability distribution of all visible and hidden units;
Step S433: the activation probability of the kth 1 visible unit and the mth hidden unit of each RBM is calculated by the following formula:
p(vk1=1|h)=σs(bk1+∑k1ωmk1hm);
p(hm=1|v)=σs(cm+∑mωmk1vk1);
Where p (v k1 = 1|h) is the activation probability of the kth 1 visible unit and p (h m = 1|v) is the activation probability of the mth hidden unit;
Step S44: weighting fusion is carried out on the LSTM layer output result and the DBN layer output result, and a final prediction result is generated;
in step S5, the model parameter adjustment specifically includes the following:
Step S51: initializing a parameter search space, n parameter positions WZ IJ and parameter corresponding fitness values, wherein I is a parameter index, J is a parameter dimension index, and the fitness values of the parameters are model prediction accuracy established based on the current position;
Step S52: and updating the position, wherein if the fitness value of the new position is higher than that of the original position, the position is updated, otherwise, the position is kept unchanged, and the formula used for updating the position is as follows:
In the method, in the process of the invention, The position is updated, LG J is the optimal position in the J dimension, WZ rJ is the position of the randomly selected r parameter in the J dimension, U () is a random number generating function obeying uniform distribution, GG is the global optimal position, T1 is the current iteration number, and T is the maximum iteration number; f i、fb and f g are the individual current fitness value, the individual experience optimal fitness value and the global optimal fitness value, respectively;
step S53: globally judging, presetting an evaluation threshold, and if parameters with fitness values higher than the evaluation threshold exist, establishing an instrument operation monitoring hybrid model based on the parameters; if the maximum iteration times are exceeded, reinitializing the parameter position to seek parameters; otherwise, continuing to search for the parameters.
2. An air concentration monitoring instrument operation monitoring method according to claim 1, wherein: in step S3, the parameter updating updates the coefficient and frequency characteristic of each IMF to achieve the decomposition of the original signal, which specifically includes the following contents:
Step S31: defining a solution, searching saddle points of the augmented lagrangian function using an alternate direction multiplier method, updating u k and ω k in both directions based on the ADMM optimization method, resulting in the following iterative solution:
where n is the number of iterations, τ is the time step, and i1 and k are both the index of the IMF;
step S32: convergence conditions are defined using the following formula:
Where ε is the convergence threshold;
step S33: solving an optimal solution, wherein the content comprises:
Step S331: updating the modality, equating the sub-problem to the following minimization problem:
Step S332: by using the hermite symmetry of the real signal, in the reconstructed fidelity term, the form of half-space integral to non-negative frequencies is written, and the first derivative is changed to zero to find the optimal solution of the problem, and the formula is as follows:
In the method, in the process of the invention, And/>Fourier transforms of f (ω), λ (ω), and u i1 (ω), respectively, ω being a continuous frequency variable;
Step S333: equating the omega k optimal solution problem to the following:
step S334: the optimal solution is expressed as follows:
Step S335: the signal is finally divided into a high frequency signal and a low frequency signal based on a signal frequency threshold.
3. An air concentration monitoring instrument operation monitoring method according to claim 1, wherein: in step S2, the signal decomposition specifically includes the following:
Step S21: predefined, for each IMF, i.e. the inner pulse function, a single-sided spectrum is obtained using the Hilbert transform, the estimated bandwidth is minimized by summing, and under constraints, the accumulation of each IMF is equal to the input signal f (t), using the following formula:
Where f (t) is the original signal being decomposed, delta () is the dirac distribution, t is the time, x is the convolution operator, u k is the coefficient of the kth IMF, omega k is the center frequency of the kth IMF, K represents the total number of IMFs, Deriving t, j1 is an imaginary unit, subscript 2 is an L2 normal form, and superscript 2 is a squaring operation;
step S22: defining an extended Lagrange equation, converting a constrained variation problem into an unconstrained optimization problem, and based on a quadratic penalty term and a Lagrange multiplier, using the following formula:
Where λ is the Lagrangian multiplier, α is a parameter balancing the relative weights between constraint terms and penalty terms in the objective function, and < is the inner product;
Step S23: frequency modulation, namely mixing the frequency spectrum of the IMF with a modulation index adjusted to the corresponding estimated center frequency, and transferring the frequency spectrum to a baseband region; estimating the bandwidth of each IMF, i.e., the L2 parameter of the gradient square, using gaussian smoothing of the demodulated signal;
Step S24: defining an objective function, estimating the coefficient and frequency characteristic of each IMF, thereby realizing the decomposition of the original signal, wherein the objective function is expressed as follows:
4. An air concentration monitoring instrument operation monitoring method according to claim 1, wherein: in step S1, the signal receiving is to receive an equipment operation state signal, an equipment sensor output signal, a noise sensor output signal, a vibration sensor output signal, an energy consumption monitoring signal and an equipment operation state corresponding to data; the running state of the equipment is used as a data tag.
5. An air concentration monitoring instrument operation monitoring method according to claim 1, wherein: in step S6, the instrument operation monitoring is to establish an instrument operation monitoring hybrid model based on the best parameters of the monitoring model found in step S5, and when the monitoring accuracy of the model to the test set is higher than the accuracy threshold, the model establishment is completed; the model receives the instrument operation signal and the operation parameter signal in real time, and based on the operation monitoring state of the output monitoring instrument, when the operation monitoring state is abnormal, early warning treatment is given.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410264066.5A CN117851922B (en) | 2024-03-08 | 2024-03-08 | Operation monitoring method of air concentration monitoring instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410264066.5A CN117851922B (en) | 2024-03-08 | 2024-03-08 | Operation monitoring method of air concentration monitoring instrument |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117851922A CN117851922A (en) | 2024-04-09 |
CN117851922B true CN117851922B (en) | 2024-06-07 |
Family
ID=90529066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410264066.5A Active CN117851922B (en) | 2024-03-08 | 2024-03-08 | Operation monitoring method of air concentration monitoring instrument |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117851922B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113673775A (en) * | 2021-08-25 | 2021-11-19 | 武汉科技大学 | Time-space combination prediction method based on CNN-LSTM and deep learning |
CN114218872A (en) * | 2021-12-28 | 2022-03-22 | 浙江大学 | Method for predicting remaining service life based on DBN-LSTM semi-supervised joint model |
CN115310724A (en) * | 2022-10-10 | 2022-11-08 | 南京信息工程大学 | Precipitation prediction method based on Unet and DCN _ LSTM |
CN116644970A (en) * | 2023-05-10 | 2023-08-25 | 福建工程学院 | Photovoltaic power prediction method based on VMD decomposition and lamination deep learning |
CN116839911A (en) * | 2023-07-19 | 2023-10-03 | 沈阳航空航天大学 | Aero-engine main bearing fault extraction method based on threshold parameter decision screening |
CN117114144A (en) * | 2023-10-24 | 2023-11-24 | 青岛农业大学 | Rice salt and alkali resistance prediction method and system based on artificial intelligence |
CN117134346A (en) * | 2023-09-06 | 2023-11-28 | 国网湖北省电力有限公司黄冈供电公司 | Short-term load prediction method and device based on VMD-GA-PSO-LSTM model |
CN117232817A (en) * | 2023-09-15 | 2023-12-15 | 淮阴工学院 | Intelligent big data monitoring method of electric valve and Internet of things system |
CN117350175A (en) * | 2023-12-04 | 2024-01-05 | 河北东医生物科技有限公司 | Artificial intelligent ecological factor air environment quality monitoring method and system |
CN117349797A (en) * | 2023-12-04 | 2024-01-05 | 四川航空股份有限公司 | Aircraft fault detection method and system based on artificial intelligence |
CN117353455A (en) * | 2023-10-17 | 2024-01-05 | 济南泉晓电气设备有限公司 | Power transmission and transformation system supervision method based on artificial intelligence |
CN117455208A (en) * | 2023-12-25 | 2024-01-26 | 苏州特铭精密科技有限公司 | Injection molding production scheduling optimization method and system based on artificial intelligence |
CN117520933A (en) * | 2023-12-29 | 2024-02-06 | 长春师范大学 | Environment monitoring method and system based on machine learning |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933881A (en) * | 2019-03-06 | 2019-06-25 | 武汉大学 | A kind of Fault Diagnosis of Power Electronic Circuits method based on optimization deepness belief network |
-
2024
- 2024-03-08 CN CN202410264066.5A patent/CN117851922B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113673775A (en) * | 2021-08-25 | 2021-11-19 | 武汉科技大学 | Time-space combination prediction method based on CNN-LSTM and deep learning |
CN114218872A (en) * | 2021-12-28 | 2022-03-22 | 浙江大学 | Method for predicting remaining service life based on DBN-LSTM semi-supervised joint model |
CN115310724A (en) * | 2022-10-10 | 2022-11-08 | 南京信息工程大学 | Precipitation prediction method based on Unet and DCN _ LSTM |
CN116644970A (en) * | 2023-05-10 | 2023-08-25 | 福建工程学院 | Photovoltaic power prediction method based on VMD decomposition and lamination deep learning |
CN116839911A (en) * | 2023-07-19 | 2023-10-03 | 沈阳航空航天大学 | Aero-engine main bearing fault extraction method based on threshold parameter decision screening |
CN117134346A (en) * | 2023-09-06 | 2023-11-28 | 国网湖北省电力有限公司黄冈供电公司 | Short-term load prediction method and device based on VMD-GA-PSO-LSTM model |
CN117232817A (en) * | 2023-09-15 | 2023-12-15 | 淮阴工学院 | Intelligent big data monitoring method of electric valve and Internet of things system |
CN117353455A (en) * | 2023-10-17 | 2024-01-05 | 济南泉晓电气设备有限公司 | Power transmission and transformation system supervision method based on artificial intelligence |
CN117114144A (en) * | 2023-10-24 | 2023-11-24 | 青岛农业大学 | Rice salt and alkali resistance prediction method and system based on artificial intelligence |
CN117350175A (en) * | 2023-12-04 | 2024-01-05 | 河北东医生物科技有限公司 | Artificial intelligent ecological factor air environment quality monitoring method and system |
CN117349797A (en) * | 2023-12-04 | 2024-01-05 | 四川航空股份有限公司 | Aircraft fault detection method and system based on artificial intelligence |
CN117455208A (en) * | 2023-12-25 | 2024-01-26 | 苏州特铭精密科技有限公司 | Injection molding production scheduling optimization method and system based on artificial intelligence |
CN117520933A (en) * | 2023-12-29 | 2024-02-06 | 长春师范大学 | Environment monitoring method and system based on machine learning |
Non-Patent Citations (5)
Title |
---|
于颖 ; 於孝春 ; 李永生 ; .扩展拉格朗日乘子粒子群算法解决工程优化问题.机械工程学报.2009,(第12期),全文. * |
基于Attention-LSTM与XGBoost集成机制的中国商品期货投资策略研究;邓建军;《中国优秀硕士学位论文全文数据库 基础科学辑 (月刊)》;20230215(第第02期期);A002-2379 * |
基于QPSO-LSTM的超短期风电功率预测;秦博瑞;《信息记录材料》;20231231;第第24卷卷(第第12期期);第233-235页 * |
基于改进深度学习的开关柜局部放电检测与故障识别;何明等;《微型电脑应用》;20240131;第第40卷卷(第第1期期);第121-126页 * |
扩展拉格朗日乘子粒子群算法解决工程优化问题;于颖;於孝春;李永生;;机械工程学报;20091215(第12期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN117851922A (en) | 2024-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109993280B (en) | Underwater sound source positioning method based on deep learning | |
US11544917B2 (en) | Power electronic circuit fault diagnosis method based on optimizing deep belief network | |
CN109492822B (en) | Air pollutant concentration time-space domain correlation prediction method | |
Jeong et al. | Efficient global optimization (EGO) for multi-objective problem and data mining | |
CN107833208B (en) | Hyperspectral anomaly detection method based on dynamic weight depth self-encoding | |
CN111697621B (en) | Short-term wind power prediction method based on EWT-PDBN combination | |
CN109242223B (en) | Quantum support vector machine evaluation and prediction method for urban public building fire risk | |
CN107578061A (en) | Based on the imbalanced data classification issue method for minimizing loss study | |
CN108090510A (en) | A kind of integrated learning approach and device based on interval optimization | |
Han et al. | Network traffic prediction using variational mode decomposition and multi-reservoirs echo state network | |
CN113190688A (en) | Complex network link prediction method and system based on logical reasoning and graph convolution | |
CN109583635A (en) | A kind of short-term load forecasting modeling method towards operational reliability | |
CN103530819A (en) | Method and equipment for determining output power of grid-connected photovoltaic power station power generation system | |
Tian et al. | Joint learning model for underwater acoustic target recognition | |
CN110796233A (en) | Self-adaptive compression method of deep residual convolution neural network based on transfer learning | |
CN110852522A (en) | Short-term power load prediction method and system | |
CN105844334A (en) | Radial basis function neural network-based temperature interpolation algorithm | |
CN117851922B (en) | Operation monitoring method of air concentration monitoring instrument | |
CN117516588A (en) | Laser gyroscope fault diagnosis method based on optimized kernel extreme learning machine | |
CN117332268A (en) | GIS partial discharge data enhancement method and system for improving GAN | |
CN116959252A (en) | Space-time convolution traffic flow prediction method and system based on R-C-R structure | |
Zhang et al. | Universal value iteration networks: When spatially-invariant is not universal | |
CN116822742A (en) | Power load prediction method based on dynamic decomposition-reconstruction integrated processing | |
CN103020452A (en) | Method for judging threat level of radar radiation source | |
CN112465253B (en) | Method and device for predicting links in urban road network |
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 |