CN105116872A - Fault diagnosis method based on metric learning and time sequence during industrial process - Google Patents

Fault diagnosis method based on metric learning and time sequence during industrial process Download PDF

Info

Publication number
CN105116872A
CN105116872A CN201510409192.6A CN201510409192A CN105116872A CN 105116872 A CN105116872 A CN 105116872A CN 201510409192 A CN201510409192 A CN 201510409192A CN 105116872 A CN105116872 A CN 105116872A
Authority
CN
China
Prior art keywords
sample
metric
real
time monitoring
matrix
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.)
Pending
Application number
CN201510409192.6A
Other languages
Chinese (zh)
Inventor
尹珅
闫国杨
高会军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Institute of Technology
Original Assignee
Harbin Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Institute of Technology filed Critical Harbin Institute of Technology
Priority to CN201510409192.6A priority Critical patent/CN105116872A/en
Publication of CN105116872A publication Critical patent/CN105116872A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to a fault diagnosis method based on a metric learning and time sequence during an industrial process for solving the problems that a conventional fault diagnosis method is high in system cost, is difficult for on-line diagnosis, is difficult to distinguish to the fault types, etc. The method is realized by a step 1 of dividing the system faults into n types; a step 2 of preparing a training sample; a step 3 of pre-processing the training sample; a step 4 of carrying out the metric learning on the pre-processed training sample; a step 5 of calculating the distances between a real-time monitoring sample and n subclasses; a step 6 of according to the distances between the real-time monitoring sample and the n subclasses, adopting a KNN classification method to diagnose the faults, namely determining whether a system generates the faults and determining the types of the faults. The fault diagnosis method based on the metric learning and time sequence during the industrial process of the present invention is applied to the fault diagnosis field.

Description

Based on metric learning and seasonal effect in time series method for diagnosing faults in a kind of industrial process
Technical field
The present invention relates to based on metric learning and seasonal effect in time series method for diagnosing faults, particularly in a kind of industrial process based on metric learning and seasonal effect in time series method for diagnosing faults.
Background technology
Fault diagnosis system relates to the numerous areas such as iron and steel, boiler, chemical industry, pharmacy, has become ingredient important in modern industry production.
Modern industry process is generally tending towards maximizing and there is the feature of modelling by mechanism difficulty, in order to moment supervisory control system running state, often carries out long-term measurement to the many state variables in production run, thus obtains a large amount of on-site supervision data.Much system cloud gray model information is comprised significant to evaluation system running status in a large amount of monitor data, but between each variable be not often independently but there is certain correlativity to each other, complicated correlativity makes technician be difficult to find with observation and experience the true cause producing fault.How avoiding the present situation of modelling by mechanism difficulty, directly carry out rationally these data, utilize design error failure diagnostic system efficiently, thus ensure the quality of final products, is one of significant challenge of facing of present industrial process control system.The good method for diagnosing faults based on data, effectively can simplify and utilize monitor data information, and obtains accurate, a rational Diagnostic Strategy.The current design based on the method for diagnosing faults of data has received to be paid attention to widely.
Existing method for diagnosing faults exists that system cost is high, inline diagnosis is difficult and fault type is difficult to the problems such as resolution, adopts and can effectively solve the problem based on metric learning and seasonal effect in time series method for diagnosing faults, have good Generalization Ability.
Summary of the invention
The object of the invention is have that system cost is high, inline diagnosis is difficult and fault type is difficult to the problems such as resolution to solve existing method for diagnosing faults, and based on metric learning and seasonal effect in time series method for diagnosing faults in a kind of industrial process proposed.
Above-mentioned goal of the invention is achieved through the following technical solutions:
Step one, analyze history monitor data, the system failure is divided into n type and n subclass by the difference according to system failure producing cause;
Normal data under step 2, acquisition system nominal situation and n kind fault condition running status is as training sample;
Step 3, seasonal effect in time series method is utilized to carry out pre-service for training sample; Wherein, described preprocess method refers to and adopts wavelet transformation to process training sample;
Step 4, carry out metric learning to through pretreated training sample, the metric matrix A of the standard that the metric matrix of generation system is measured as sample similarity and generation system;
Step 5, wavelet transformation is carried out to Real-Time Monitoring sample after, the standard utilizing sample similarity to measure asks for the distance of Real-Time Monitoring sample and n subclass;
Step 6, distance according to Real-Time Monitoring sample and n subclass, adopt KNN sorting technique to carry out fault diagnosis and namely judge whether system breaks down and fault type; Namely complete in a kind of industrial process based on metric learning and seasonal effect in time series method for diagnosing faults.
Invention effect
The present invention in order to solve that existing method for diagnosing faults system cost is high, inline diagnosis is difficult and fault type is difficult to the problem differentiated, thus proposes based on metric learning and seasonal effect in time series method for diagnosing faults.The method mainly used has metric learning method, wavelet transformation and KNN classification.
Advantage of the present invention is:
1, improve fault diagnosis rate of accuracy reached to 5% ~ 10%, metric learning and seasonal effect in time series method are combined, whether both utilizations advantage is for break down and fault type can better be diagnosed.
2, improve real-time, the combination of two kinds of methods for fault diagnosis and failure modes work consuming time short, the speed of detection can be improved.
3, improve adaptability.
4, improve applicability, the combination of two kinds of methods make the design of fault diagnosis system and operation more simple, the significant increase generalization of the method.
The industrial process method for diagnosing faults of current acquisition widespread use, such as: principle component analysis, in the relevant information between dissimilar malfunction monitoring sample not being considered, so this type of method for diagnosing faults can only judge whether industrial system breaks down, but accurately can not judge the type broken down, so just cause finding out the very first time position of breaking down in the reason and industrial system that fault occurs.The fault that can not occur in resolution system in time may cause more serious industrial accident or huger economic loss.
In relevant information between dissimilar malfunction monitoring sample is considered by metric learning method, can in the type judging accurately to judge while whether industrial system breaks down to break down.Meanwhile, the metric matrix of trying to achieve in metric learning method can directly apply to on-line fault diagnosis after calculated off-line, and this greatly reduces the calculated amount of on-line fault diagnosis, reduces the cost of online system failure diagnosis.
Accompanying drawing explanation
Fig. 1 be embodiment one propose based on metric learning and seasonal effect in time series Troubleshooting Flowchart.
Embodiment
Embodiment one: based on metric learning and seasonal effect in time series method for diagnosing faults in a kind of industrial process of present embodiment, specifically prepare according to following steps:
Step one, analyze history monitor data, the system failure is divided into n type and n subclass by the difference according to system failure producing cause;
Normal data under step 2, acquisition system nominal situation and n kind fault condition running status is as training sample;
Step 3, seasonal effect in time series method is utilized to carry out pre-service for training sample; Wherein, described preprocess method refers to and adopts wavelet transformation to process training sample;
Step 4, carry out metric learning to through pretreated training sample, the metric matrix A of the standard that the metric matrix of generation system is measured as sample similarity and generation system;
Step 5, wavelet transformation is carried out to Real-Time Monitoring sample after, the standard (metric matrix of generation system) utilizing sample similarity to measure asks for the distance of Real-Time Monitoring sample and n subclass; Such as have 10 subclasses, each subclass has 100 monitor sample, and the distance of Real-Time Monitoring sample and 10 subclasses is respectively the distance of each Real-Time Monitoring sample respectively and between 1000 monitor sample;
Step 6, distance according to Real-Time Monitoring sample and n subclass, adopt KNN sorting technique to carry out fault diagnosis and namely judge whether system breaks down and fault type; Namely complete in a kind of industrial process based on metric learning and seasonal effect in time series method for diagnosing faults.
Present embodiment effect:
Present embodiment in order to solve that existing method for diagnosing faults system cost is high, inline diagnosis is difficult and fault type is difficult to the problem differentiated, thus proposes based on metric learning and seasonal effect in time series method for diagnosing faults.The method mainly used has metric learning method, wavelet transformation and KNN classification.
The advantage of present embodiment is:
1, improve fault diagnosis rate of accuracy reached to 5% ~ 10%, metric learning and seasonal effect in time series method are combined, whether both utilizations advantage is for break down and fault type can better be diagnosed.
2, improve real-time, the combination of two kinds of methods for fault diagnosis and failure modes work consuming time short, the speed of detection can be improved.
3, improve adaptability.
4, improve applicability, the combination of two kinds of methods make the design of fault diagnosis system and operation more simple, the significant increase generalization of the method.
The industrial process method for diagnosing faults of current acquisition widespread use, such as: principle component analysis, in the relevant information between dissimilar malfunction monitoring sample not being considered, so this type of method for diagnosing faults can only judge whether industrial system breaks down, but accurately can not judge the type broken down, so just cause finding out the very first time position of breaking down in the reason and industrial system that fault occurs.The fault that can not occur in resolution system in time may cause more serious industrial accident or huger economic loss.
In relevant information between dissimilar malfunction monitoring sample is considered by metric learning method, can in the type judging accurately to judge while whether industrial system breaks down to break down.Meanwhile, the metric matrix of trying to achieve in metric learning method can directly apply to on-line fault diagnosis after calculated off-line, and this greatly reduces the calculated amount of on-line fault diagnosis, reduces the cost of online system failure diagnosis.
Embodiment two: present embodiment and embodiment one unlike: step 4 vacuum metrics learns to be specially: metric learning the difference between weight analysis different faults categorical data, obtain metric matrix by training sample, have a clear superiority in on-line fault diagnosis aspect; Metric learning realizes the differentiation of fault type by trying to achieve a distance matrix accurately can portraying Sample Similarity;
(1) by metric learning obtain in all training samples with Real-Time Monitoring sample distance M abe expressed as:
M A = ( x - y ) T A ( x - y )
Wherein, A is metric matrix, and x is through pretreated training sample, and y is Real-Time Monitoring sample; It is worthy of note that the metric matrix A tried to achieve in different industrial system is all not identical, the distribution of the abundant reflected sample of metric matrix energy obtained by respective systematic training sample, can improve the performance of sorter;
(2) basic thought asking for metric matrix is, if training sample and Real-Time Monitoring sample belong to the M that identical type is calculated by metric matrix adistance is less;
If training sample and Real-Time Monitoring sample belong to the M that different types is calculated by metric matrix adistance is larger; Problem is described below:
A∈R D×D
s.t. M 2 A ( x i , x j ) ≤ s ( i , j ) ∈ S M 2 A ( x i , x j ) ≥ b ( i , j ) ∈ D
Wherein, S represents the set of similar sample to composition, and D represents the set of inhomogeneity sample to composition, s and d is two given threshold values (usually get s be about 1 d be about 100);
(3) initial metric matrix A is established 0for unit battle array, d be inhomogeneity sample between distance threshold values, s be similar sample between distance threshold values, correlation parameter λ ijinitial value is 0, correlation parameter ξ c (i, j)when (i, j) belongs to S respectively, initial value is s, correlation parameter ξ c (i, j)when (i, j) belongs to D respectively, initial value is b, γ is the slack variable chosen, and chooses a kind of alternative manner based on Gradient Descent and calculates metric matrix A.Other step and parameter identical with embodiment one.
Embodiment three: present embodiment and embodiment one or two unlike: choose a kind of alternative manner based on Gradient Descent and the concrete iterative process that metric matrix A calculates be described below:
(1) a pair constraint (i, j) is selected;
(2) p=(x is calculated i-x j) ta k(x i-x j);
(3) when (i, j) ∈ S gets δ=1, otherwise δ=-1 is got;
(4) calculate a = m i n ( λ i j , δ 2 ( 1 p - γ ξ c ( i , j ) ) ) ;
(5) calculate β = δ a ( 1 - δ a p ) ;
(6) calculate ξ c ( i , j ) = γξ c ( i , j ) γ + δaξ c ( i , j ) ;
(7) λ is calculated ijij-a
(8) A is calculated k+1=A k+ β A k(x i-x j) (x i-x j) ta k;
Wherein, γ is slack variable; δ does not have implication, is the intermediate quantity of definition in above-mentioned steps (3); A krefer to the value of kth time iteration vacuum metrics matrix A;
Choose a pair constraint (i, j) and carry out iteration with regard to repeating step (1) ~ (8), until metric matrix A restrains, then obtain the metric matrix A of objective matrix and generation system.Other step and parameter identical with embodiment one or two.
Embodiment four: one of present embodiment and embodiment one to three unlike: in step 5, wavelet transformation detailed process is:
Because the method for diagnosing faults based on learning distance metric is more responsive to the gap on sample values, but in industrial processes the data sample of fault condition and the difference of the data sample of non-fault operating mode to be sometimes presented as in vibration frequency, Oscillation Amplitude and variation tendency different; Adopt wavelet transformation to carry out pre-service to sample data and better can carry out feature extraction, the accuracy rate of raising method fault diagnosis;
(1) wavelet mother function is defined in a kind of function that limited interval and wavelet mother function mean value are zero, and have frequency and the amplitude of limited duration and sudden change, waveform can be irregular, also can be asymmetric; Obtain corresponding wavelet function by flexible and translation wavelet mother function, be expressed as follows:
ψ a , b ( t ) = 1 a ψ ( t - b a )
In formula, a and b is constant value, a, b ∈ R, and a>0, a are scale factor, and b is shift factor; Scale factor a realizes the coupling to different frequency signals by flexible wavelet basis function, obtains the frequency characteristic of signal; Shift factor b realizes the traversal analysis to signal by making wavelet basis function along time shaft translation, obtains the temporal information of signal; ψ is wavelet mother function; T is the time;
(2) wavelet transformation defining x (t) is as follows:
WT a , b = 1 a ∫ R x ( t ) ψ * ( t - b a ) d t
Wherein, WT a,bbe wavelet basis function, * is the meaning of convolution, is a kind of mathematical operation, common practise
The numerical value of wavelet transformation is produced by signal different piece under the different scale factor, adopt a heavy little conversion, namely scale factor is not changed, only change shift factor completes matlab software and carries the time traversal of wavelet mother function cgau4 to sample data (which data is sample data refer to), carries out metric learning can obtain gratifying fault diagnosis result with gained wavelet transform result.Other step and parameter identical with one of embodiment one to three.
Embodiment five: one of present embodiment and embodiment one to four unlike: step 6 KNN sorting technique is specially:
(1) on the basis of trying to achieve metric matrix between sample data, KNN sorting technique is adopted to carry out inline diagnosis to Real-Time Monitoring sample, KNN algorithm is the abbreviated form of k-vicinity method (k-NearestNeighboralgorithm), KNN algorithm primitive rule is the distance calculating Real-Time Monitoring sample and n subclass, find in all training samples with Real-Time Monitoring sample distance M ak minimum sample; Wherein, k=k 1+ k 2+ k 3+ ...+k i+ ... k n
(2) i-th subclass schedule of samples in k sample is shown as k i, i=1,2 ..., c, definition discriminant function is as follows:
g i(x)=k i,i=1,2,…,c
Real-Time Monitoring sample is marked as type i, if g i(x)>=g jx (), i ≠ j, k-contiguous method generally adopts k to be that odd number is to avoid the equal problem being difficult to decision-making of the discriminant function of the sample occurring two kinds in n kind fault type.Other step and parameter identical with one of embodiment one to four.
Following examples are adopted to verify beneficial effect of the present invention:
Embodiment one:
Based on metric learning and seasonal effect in time series method for diagnosing faults in a kind of industrial process of the present embodiment, specifically prepare according to following steps:
Step one, analyze history monitor data, the system failure is divided into n type and n subclass by the difference according to system failure producing cause;
Normal data under step 2, acquisition system nominal situation and n kind fault condition running status is as training sample;
Tennessee-Yi Siman (TennesseeEastman, TE) process is the simulation reconstruction of true chemical process, is widely used in checking and the contrast of method for diagnosing faults as industry benchmark testing process;
TE process contains 8 reactants and 5 formants, is respectively reacting furnace, condenser, compressor, seperator and stripping tower; Fully describe system cloud gray model information containing 52 observational variables and 21 kinds of operation troubless in TE process, 52 observational variables are 11 manipulated variables and 41 process variable respectively; In 21 kinds of operation troubless, fault 1-15,21 is 16 kinds of known fault types, and fault 16-20 is 5 kinds of unknown failure types;
TE process data is concentrated and is comprised 22 groups of training datas and 22 groups of test datas, respectively corresponding 21 kinds of failure operation data and failure-free operation data.Wherein 22 groups of training datas have recorded the state of 52 observational variables in 24 continuous throughout the twenty-four hour24s; 22 groups of test datas are online record 52 observational variables states in 48 continuous throughout the twenty-four hour24s, and corresponding failure starts to add after 9 hours in operation simultaneously.The sampling interval of 22 groups of training datas and 22 groups of test datas is 3 minutes.TE process data collects can be downloaded in http://brahms.scs.uiuc.edu, and TE process FORTRAN code is also in online announcement simultaneously.
This emulation object has been the validation verification based on metric learning and seasonal effect in time series method for diagnosing faults, chooses TE process data and concentrates fault 2, fault 4, fault 7 and fault 11 service data as standard.The fault diagnosis effect of the comparatively Fei Sheer discriminant analysis method of maturation in method and conventional fault diagnosis method that contrast this patent proposes;
Step 3, seasonal effect in time series method is utilized to carry out pre-service for training sample; Wherein, described preprocess method refers to and adopts wavelet transformation to process training sample;
Step 4, carry out metric learning to through pretreated training sample, the metric matrix A of the standard that the metric matrix of generation system is measured as sample similarity and generation system;
Metric learning the difference between weight analysis different faults categorical data, obtains metric matrix by training sample, has a clear superiority in on-line fault diagnosis aspect; Metric learning realizes the differentiation of fault type by trying to achieve a distance matrix accurately can portraying Sample Similarity;
(1) by metric learning obtain in all training samples with Real-Time Monitoring sample distance M abe expressed as:
M A = ( x - y ) T A ( x - y )
Wherein, A is metric matrix, and x is through pretreated training sample, and y is Real-Time Monitoring sample; It is worthy of note that the metric matrix A tried to achieve in different industrial system is all not identical, the distribution of the abundant reflected sample of metric matrix energy obtained by respective systematic training sample, can improve the performance of sorter;
(2) basic thought asking for metric matrix is, if training sample and Real-Time Monitoring sample belong to the M that identical type is calculated by metric matrix adistance is less;
If training sample and Real-Time Monitoring sample belong to the M that different types is calculated by metric matrix adistance is larger; Problem is described below:
A∈R D×D
s.t. M 2 A ( x i , x j ) ≤ s ( i , j ) ∈ S M 2 A ( x i , x j ) ≥ b ( i , j ) ∈ D
Wherein, S represents the set of similar sample to composition, and D represents the set of inhomogeneity sample to composition, s and d is two given threshold values (usually get s be about 1 d be about 100);
(3) initial metric matrix A is established 0for unit battle array, d be inhomogeneity sample between distance threshold values, s be similar sample between distance threshold values, correlation parameter λ ijinitial value is 0, correlation parameter ξ c (i, j)when (i, j) belongs to S respectively, initial value is s, correlation parameter ξ c (i, j)when (i, j) belongs to D respectively, initial value is b, γ is the slack variable chosen, and chooses a kind of alternative manner based on Gradient Descent and calculates metric matrix A.
Choose a kind of alternative manner based on Gradient Descent to be described below the concrete iterative process that metric matrix A calculates:
(1) a pair constraint (i, j) is selected;
(2) p=(x is calculated i-x j) ta k(x i-x j);
(3) when (i, j) ∈ S gets δ=1, otherwise δ=-1 is got;
(4) calculate a = m i n ( λ i j , δ 2 ( 1 p - γ ξ c ( i , j ) ) ) ;
(5) calculate β = δa ( 1 - δap ) ;
(6) calculate ξ c ( i , j ) = γξ c ( i , j ) γ + δaξ c ( i , j ) ;
(7) λ is calculated ijij-a;
(8) A is calculated k+1=A k+ β A k(x i-x j) (x i-x j) ta k;
Wherein, γ is slack variable; δ does not have implication, is the intermediate quantity of definition in above-mentioned steps (3); A krefer to the value of kth time iteration vacuum metrics matrix A;
Choose a pair constraint (i, j) and carry out iteration with regard to repeating step (1) ~ (8), until metric matrix A restrains, then obtain the metric matrix A of objective matrix and generation system.
Step 5, wavelet transformation is carried out to Real-Time Monitoring sample after, the standard (metric matrix of generation system) utilizing sample similarity to measure asks for the distance of Real-Time Monitoring sample and n subclass; Such as have 10 subclasses, each subclass has 100 monitor sample, and the distance of Real-Time Monitoring sample and 10 subclasses is respectively the distance of each Real-Time Monitoring sample respectively and between 1000 monitor sample;
Because the method for diagnosing faults based on learning distance metric is more responsive to the gap on sample values, but in industrial processes the data sample of fault condition and the difference of the data sample of non-fault operating mode to be sometimes presented as in vibration frequency, Oscillation Amplitude and variation tendency different.Adopt wavelet transformation to carry out pre-service to sample data and better can carry out feature extraction, the accuracy rate of raising method fault diagnosis;
(1) wavelet mother function is defined in a kind of function that limited interval and wavelet mother function mean value are zero, and have frequency and the amplitude of limited duration and sudden change, waveform can be irregular, also can be asymmetric; Obtain corresponding wavelet function by flexible and translation wavelet mother function, be expressed as follows:
ψ a , b ( t ) = 1 a ψ ( t - b a )
In formula, a and b is constant value, a, b ∈ R, and a>0, a are scale factor, and b is shift factor; Scale factor a realizes the coupling to different frequency signals by flexible wavelet basis function, obtains the frequency characteristic of signal; Shift factor b realizes the traversal analysis to signal by making wavelet basis function along time shaft translation, obtains the temporal information of signal; ψ is wavelet mother function; T is the time;
(2) wavelet transformation defining x (t) is as follows:
WT a , b = 1 a ∫ R x ( t ) ψ * ( t - b a ) d t
Wherein, WT a,bbe wavelet basis function, * is the meaning of convolution, is a kind of mathematical operation, common practise
The numerical value of wavelet transformation is produced by signal different piece under the different scale factor, adopt a heavy little conversion, namely scale factor is not changed, only change shift factor completes matlab software and carries the time traversal of wavelet mother function cgau4 to sample data (which data is sample data refer to), carries out metric learning can obtain gratifying fault diagnosis result with gained wavelet transform result.
Step 6, distance according to Real-Time Monitoring sample and n subclass, adopt KNN sorting technique to carry out fault diagnosis and namely judge whether system breaks down and fault type;
(1) on the basis of trying to achieve metric matrix between sample data, KNN sorting technique is adopted to carry out inline diagnosis to Real-Time Monitoring sample, KNN algorithm is the abbreviated form of k-vicinity method (k-NearestNeighboralgorithm), KNN algorithm primitive rule is the distance calculating Real-Time Monitoring sample and n subclass, find in all training samples with Real-Time Monitoring sample distance M ak minimum sample; Wherein, k=k 1+ k 2+ k 3+ ...+k i+ ... k n
(2) i-th subclass schedule of samples in k sample is shown as k i, i=1,2 ..., c, definition discriminant function is as follows:
g i(x)=k i,i=1,2,…,c
Real-Time Monitoring sample is marked as type i, if g i(x)>=g jx (), i ≠ j, k-contiguous method generally adopts k to be that odd number is to avoid the equal problem being difficult to decision-making of the discriminant function of the sample occurring two kinds in n kind fault type.
Following table is simulation result
The present invention also can have other various embodiments; when not deviating from the present invention's spirit and essence thereof; those skilled in the art are when making various corresponding change and distortion according to the present invention, but these change accordingly and are out of shape the protection domain that all should belong to the claim appended by the present invention.

Claims (5)

1. in industrial process based on metric learning and a seasonal effect in time series method for diagnosing faults, it is characterized in that specifically carrying out according to following steps based on metric learning and seasonal effect in time series method for diagnosing faults in a kind of industrial process:
Step one, analyze history monitor data, the system failure is divided into n type and n subclass by the difference according to system failure producing cause;
Normal data under step 2, acquisition system nominal situation and n kind fault condition running status is as training sample;
Step 3, seasonal effect in time series method is utilized to carry out pre-service for training sample; Wherein, described preprocess method refers to and adopts wavelet transformation to process training sample;
Step 4, carry out metric learning to through pretreated training sample, the metric matrix A of the standard that the metric matrix of generation system is measured as sample similarity and generation system;
Step 5, wavelet transformation is carried out to Real-Time Monitoring sample after, the standard utilizing sample similarity to measure asks for the distance of Real-Time Monitoring sample and n subclass;
Step 6, distance according to Real-Time Monitoring sample and n subclass, adopt KNN sorting technique to carry out fault diagnosis and namely judge whether system breaks down and fault type; Namely complete in a kind of industrial process based on metric learning and seasonal effect in time series method for diagnosing faults.
2. according to claim 1 in a kind of industrial process based on metric learning and seasonal effect in time series method for diagnosing faults, it is characterized in that: the study of step 4 vacuum metrics is specially:
(1) by metric learning obtain in all training samples with Real-Time Monitoring sample distance M abe expressed as:
M A = ( x - y ) T A ( x - y )
Wherein, A is metric matrix, and x is through pretreated training sample, and y is Real-Time Monitoring sample;
(2) if training sample and Real-Time Monitoring sample belong to the M that identical type is calculated by metric matrix adistance is less;
If training sample and Real-Time Monitoring sample belong to the M that different types is calculated by metric matrix adistance is larger; Problem is described below:
A∈R D×D
s . t . M 2 A ( x i , x j ) ≤ s ( i , j ) ∈ S M 2 A ( x i , x j ) ≥ b ( i , j ) ∈ D
Wherein, S represents the set of similar sample to composition, and D represents the set of inhomogeneity sample to composition, s and d is two given threshold values;
(3) initial metric matrix A is established 0for unit battle array, d be inhomogeneity sample between distance threshold values, s be similar sample between distance threshold values, correlation parameter λ ijinitial value is 0, correlation parameter ξ c (i, j)when (i, j) belongs to S respectively, initial value is s, correlation parameter ξ c (i, j)when (i, j) belongs to D respectively, initial value is b, γ is the slack variable chosen, and chooses a kind of alternative manner based on Gradient Descent and calculates metric matrix A.
3. according to claim 2 in a kind of industrial process based on metric learning and seasonal effect in time series method for diagnosing faults, it is characterized in that: choose a kind of alternative manner based on Gradient Descent and the concrete iterative process that metric matrix A calculates is described below:
(1) a pair constraint (i, j) is selected;
(2) p=(x is calculated i-x j) ta k(x i-x j);
(3) when (i, j) ∈ S gets δ=1, otherwise δ=-1 is got;
(4) calculate a = m i n ( λ i j , δ 2 ( 1 p - γ ξ c ( i , j ) ) ) ;
(5) calculate β = δ a ( 1 - δ a p ) ;
(6) calculate ξ c ( i , j ) = γξ c ( i , j ) γ + δaξ c ( i , j ) ;
(7) λ is calculated ijij-a;
(8) A is calculated k+1=A k+ β A k(x i-x j) (x i-x j) ta k;
Wherein, γ is slack variable; A krefer to the value of kth time iteration vacuum metrics matrix A;
Choose a pair constraint (i, j) and carry out iteration with regard to repeating step (1) ~ (8), until metric matrix A restrains, then obtain the metric matrix A of objective matrix and generation system.
4. according to claim 3 in a kind of industrial process based on metric learning and seasonal effect in time series method for diagnosing faults, it is characterized in that: in step 5, wavelet transformation detailed process is:
(1) wavelet mother function is defined in a kind of function that limited interval and wavelet mother function mean value are zero, obtains corresponding wavelet function, be expressed as follows by flexible and translation wavelet mother function:
ψ a , b ( t ) = 1 a ψ ( t - b a )
In formula, a and b is constant value, a, b ∈ R, and a>0, a are scale factor, and b is shift factor; ψ is wavelet mother function; T is the time;
(2) wavelet transformation defining x (t) is as follows:
WT a , b = 1 a ∫ R x ( t ) ψ * ( t - b a ) d t
Wherein, WT a,bit is wavelet basis function.
5. according to claim 4 in a kind of industrial process based on metric learning and seasonal effect in time series method for diagnosing faults, it is characterized in that: step 6 KNN sorting technique is specially:
(1) KNN algorithm is k-vicinity method, and KNN algorithm primitive rule is the distance calculating Real-Time Monitoring sample and n subclass, find in all training samples with Real-Time Monitoring sample distance M ak minimum sample; Wherein,
k=k 1+k 2+k 3+...+k i+...k n
(2) i-th subclass schedule of samples in k sample is shown as k i, i=1,2 ..., c, definition discriminant function is as follows:
g i(x)=k i,i=1,2,…,c
Real-Time Monitoring sample is marked as type i, if g i(x)>=g j(x), i ≠ j.
CN201510409192.6A 2015-07-13 2015-07-13 Fault diagnosis method based on metric learning and time sequence during industrial process Pending CN105116872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510409192.6A CN105116872A (en) 2015-07-13 2015-07-13 Fault diagnosis method based on metric learning and time sequence during industrial process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510409192.6A CN105116872A (en) 2015-07-13 2015-07-13 Fault diagnosis method based on metric learning and time sequence during industrial process

Publications (1)

Publication Number Publication Date
CN105116872A true CN105116872A (en) 2015-12-02

Family

ID=54664890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510409192.6A Pending CN105116872A (en) 2015-07-13 2015-07-13 Fault diagnosis method based on metric learning and time sequence during industrial process

Country Status (1)

Country Link
CN (1) CN105116872A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105425777A (en) * 2015-12-11 2016-03-23 渤海大学 Chemical process fault monitoring method based on active learning
CN106568074A (en) * 2016-11-18 2017-04-19 华电国际电力股份有限公司技术服务中心 Boiler heated surface fault diagnosis method, device and system
CN106843195A (en) * 2017-01-25 2017-06-13 浙江大学 Based on the Fault Classification that the integrated semi-supervised Fei Sheer of self adaptation differentiates
CN107888397A (en) * 2016-09-30 2018-04-06 华为技术有限公司 The method and apparatus for determining fault type
CN108983042A (en) * 2018-07-25 2018-12-11 国网湖北省电力有限公司电力科学研究院 A kind of distribution ground fault reason recognition methods based on KNN
CN110188641A (en) * 2019-05-20 2019-08-30 北京迈格威科技有限公司 Image recognition and the training method of neural network model, device and system
CN110309885A (en) * 2019-07-05 2019-10-08 黑龙江电力调度实业有限公司 Computer room state judging method based on big data
CN110448306A (en) * 2019-07-30 2019-11-15 东北大学 A kind of online fault detection and diagnosis method based on continuous blood sugar monitoring system
CN110543907A (en) * 2019-08-29 2019-12-06 交控科技股份有限公司 fault classification method based on microcomputer monitoring power curve
CN110738433A (en) * 2019-11-01 2020-01-31 广东电科院能源技术有限责任公司 electric equipment load identification method and device
CN112557950A (en) * 2020-12-03 2021-03-26 广东电网有限责任公司江门供电局 Fault line selection method for power distribution network resonance grounding system based on matrix similarity
CN113255771A (en) * 2021-05-26 2021-08-13 中南大学 Fault diagnosis method and system based on multi-dimensional heterogeneous difference analysis

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001031411A1 (en) * 1999-10-28 2001-05-03 General Electric Company Method and apparatus for diagnosing difficult to diagnose faults in a complex system
CN102541050A (en) * 2012-01-05 2012-07-04 浙江大学 Chemical process fault diagnosis method based on improved support vector machine
CN102944435A (en) * 2012-10-25 2013-02-27 北京航空航天大学 Health assessment and fault diagnosis method for rotating machinery based on fisher discriminant analysis and mahalanobis distance
CN103412557A (en) * 2013-07-17 2013-11-27 浙江工业大学 Industrial fault detection and diagnostic method suitable for nonlinear process on-line monitoring
CN103488561A (en) * 2013-07-09 2014-01-01 沈阳化工大学 kNN (k-nearest neighbor) fault detection method for online upgrading master sample model
CN103559401A (en) * 2013-11-08 2014-02-05 渤海大学 Failure monitoring method based on semi-supervised principal component analysis

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001031411A1 (en) * 1999-10-28 2001-05-03 General Electric Company Method and apparatus for diagnosing difficult to diagnose faults in a complex system
CN102541050A (en) * 2012-01-05 2012-07-04 浙江大学 Chemical process fault diagnosis method based on improved support vector machine
CN102944435A (en) * 2012-10-25 2013-02-27 北京航空航天大学 Health assessment and fault diagnosis method for rotating machinery based on fisher discriminant analysis and mahalanobis distance
CN103488561A (en) * 2013-07-09 2014-01-01 沈阳化工大学 kNN (k-nearest neighbor) fault detection method for online upgrading master sample model
CN103412557A (en) * 2013-07-17 2013-11-27 浙江工业大学 Industrial fault detection and diagnostic method suitable for nonlinear process on-line monitoring
CN103559401A (en) * 2013-11-08 2014-02-05 渤海大学 Failure monitoring method based on semi-supervised principal component analysis

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
GUOYANG YAN 等: "Metric Learning Method Aied Data-Driven Design of Fault Detection Systems", 《MATHEMATICAL PROBLEMS IN ENGINEERING》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105425777A (en) * 2015-12-11 2016-03-23 渤海大学 Chemical process fault monitoring method based on active learning
CN107888397B (en) * 2016-09-30 2020-12-25 华为技术有限公司 Method and device for determining fault type
US11140021B2 (en) 2016-09-30 2021-10-05 Huawei Technologies Co., Ltd. Method and apparatus for determining fault type
CN107888397A (en) * 2016-09-30 2018-04-06 华为技术有限公司 The method and apparatus for determining fault type
CN106568074A (en) * 2016-11-18 2017-04-19 华电国际电力股份有限公司技术服务中心 Boiler heated surface fault diagnosis method, device and system
CN106843195B (en) * 2017-01-25 2018-12-04 浙江大学 The Fault Classification differentiated based on adaptive set at semi-supervised Fei Sheer
CN106843195A (en) * 2017-01-25 2017-06-13 浙江大学 Based on the Fault Classification that the integrated semi-supervised Fei Sheer of self adaptation differentiates
CN108983042B (en) * 2018-07-25 2020-05-22 国网湖北省电力有限公司电力科学研究院 KNN-based distribution network ground fault reason identification method
CN108983042A (en) * 2018-07-25 2018-12-11 国网湖北省电力有限公司电力科学研究院 A kind of distribution ground fault reason recognition methods based on KNN
CN110188641A (en) * 2019-05-20 2019-08-30 北京迈格威科技有限公司 Image recognition and the training method of neural network model, device and system
CN110309885A (en) * 2019-07-05 2019-10-08 黑龙江电力调度实业有限公司 Computer room state judging method based on big data
CN110448306A (en) * 2019-07-30 2019-11-15 东北大学 A kind of online fault detection and diagnosis method based on continuous blood sugar monitoring system
CN110543907A (en) * 2019-08-29 2019-12-06 交控科技股份有限公司 fault classification method based on microcomputer monitoring power curve
CN110738433A (en) * 2019-11-01 2020-01-31 广东电科院能源技术有限责任公司 electric equipment load identification method and device
CN112557950A (en) * 2020-12-03 2021-03-26 广东电网有限责任公司江门供电局 Fault line selection method for power distribution network resonance grounding system based on matrix similarity
CN112557950B (en) * 2020-12-03 2022-11-22 广东电网有限责任公司江门供电局 Fault line selection method of power distribution network resonance grounding system based on matrix similarity
CN113255771A (en) * 2021-05-26 2021-08-13 中南大学 Fault diagnosis method and system based on multi-dimensional heterogeneous difference analysis

Similar Documents

Publication Publication Date Title
CN105116872A (en) Fault diagnosis method based on metric learning and time sequence during industrial process
US20230015731A1 (en) Real-time abnormity-diagnosing and interpolation method for water regime-monitoring data
CN105955219B (en) Distributed dynamic procedure failure testing method based on mutual information
CN103777627A (en) Batch process online-monitoring method based on small number of batches
CN104517027A (en) State diagnosing method and state diagnosing apparatus
CN104714537B (en) A kind of failure prediction method based on the relative mutation analysis of joint and autoregression model
CN103336507A (en) Statistical modeling and on-line monitoring method based on multimodality collaboration time frame automatic division
CN100517141C (en) System and method for detecting date and diagnosing failure of propylene polymerisation production
CN103776654A (en) Method for diagnosing faults of multi-sensor information fusion
CN105629958B (en) A kind of batch process method for diagnosing faults based on sub-period MPCA SVM
CN108022058B (en) Wind turbine state reliability assessment method
CN102789545A (en) Method for predicating remaining life of turbine engine based on degradation model matching
CN112187528B (en) Industrial control system communication flow online monitoring method based on SARIMA
CN103776480A (en) Small-fault detection method and device based on multiple moving average
CN111504647A (en) AR-MSET-based performance degradation evaluation method for rolling bearing
CN103116306A (en) Automatic stepping type ordered time interval dividing method
CN111860839A (en) Shore bridge fault monitoring method based on multi-signal fusion and Adam optimization algorithm
CN111324110A (en) Fermentation process fault monitoring method based on multiple shrinkage automatic encoders
CN104949840A (en) Diesel engine fault diagnosis method based on vibration analysis
CN106067032A (en) Evaluation methodology for the sensor system of selection of data exception monitoring
CN115455358A (en) Electrical parameter trend early warning and fault diagnosis method based on nonlinear regression model
CN103853144A (en) On-site sensor fault detection method based on oil-extraction production data
CN103207567A (en) Low-false-alarm-rate improved principal component analysis process monitoring method and system
CN108377209A (en) Equipment fault detecting system based on SCADA and detection method
CN110414086A (en) A kind of combined stress accelerated factor calculation method based on sensitivity

Legal Events

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

Application publication date: 20151202

WD01 Invention patent application deemed withdrawn after publication