CN103514458B - The sensor fault discrimination method combined with support vector machine based on Error Correction of Coding - Google Patents

The sensor fault discrimination method combined with support vector machine based on Error Correction of Coding Download PDF

Info

Publication number
CN103514458B
CN103514458B CN201310454681.4A CN201310454681A CN103514458B CN 103514458 B CN103514458 B CN 103514458B CN 201310454681 A CN201310454681 A CN 201310454681A CN 103514458 B CN103514458 B CN 103514458B
Authority
CN
China
Prior art keywords
coding
error correction
support vector
vector machine
grader
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
Application number
CN201310454681.4A
Other languages
Chinese (zh)
Other versions
CN103514458A (en
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.)
Beijing Institute of Technology BIT
Original Assignee
Beijing Institute of Technology BIT
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 Beijing Institute of Technology BIT filed Critical Beijing Institute of Technology BIT
Priority to CN201310454681.4A priority Critical patent/CN103514458B/en
Publication of CN103514458A publication Critical patent/CN103514458A/en
Application granted granted Critical
Publication of CN103514458B publication Critical patent/CN103514458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Detection And Correction Of Errors (AREA)

Abstract

The invention provides a kind of sensor fault discrimination method combined based on Error Correction of Coding with support vector machine.Step one, generation Error Correction of Coding: use the coding with error correcting capability classification to be encoded, using SVM as grader;Step 2, initial characteristics extract: extract time domain and the frequency domain information of sensor output signal, choose 6 temporal signatures parameters and 3 frequency domain character parameters as primitive character;Step 3, feature extraction;Every string one SVM binary classifier of structure of the Error Correction of Coding obtained by step one, the sample with initial characteristics is inputted in each SVM and is trained respectively, obtain the decision function of each grader, decision function is carried out Sigmoid conversion, obtain feature new in transformation space;Step 4, fault mode classification.

Description

The sensor fault discrimination method combined with support vector machine based on Error Correction of Coding
Technical field
The present invention relates to the fault identification method of a kind of sensor, a kind of sensor fault discrimination method combined with support vector machine based on Error Correction of Coding, belong to Intelligent Information Processing field.
Background technology
Sensor is the sensing element in measuring instrument, smart instrumentation and computerized information input equipment, is widely used in various control system, and as the window of understanding systematic procedure state, the accuracy of its measurement result directly affects the operation of system.The working environment of sensor is generally relatively more severe, and they break down the most because of various reasons.When the sensor fails, its output signal mainly shows as following several form: deviation, drift about, impact, PERIODIC INTERFERENCE, short circuit, open circuit.After detecting that fault occurs, it is required for different sensor fault types and carries out certain online or off-line Fault Compensation, therefore, sensor fault is carried out identification and is just particularly important.
Sensor is carried out fault identification and belongs to pattern recognition problem.Two the most the most key steps are characterized extraction and pattern classification.The selection of feature and the basis that extraction is pattern classification, directly affect the accuracy of classification results.Having non-linear relation between fault and failure cause that sensor occurs, complexity, randomness and ambiguity make it difficult to represent with accurate mathematical model, will extract this rule, then need to use certain nonlinear transformation to make feature have higher separability.
In recent years, neutral net and support vector machine (SVM, Support Vector Machine), as the representative of Nonlinear Classifier, are widely used in pattern classification.Method based on neutral net all rely on greatly sample fully in the case of statistical property, and sensor fault identification is a kind of typical small-sample learning problem, support vector machine solving in terms of Small Sample Database classification problem, has the features such as global optimum, simple in construction, Generalization Ability are strong.Compared with neutral net, SVM avoids locally optimal solution problem, the problem effectively overcoming " dimension disaster ".
At present, common support vector machine Multiclass Classification mainly has: support vector machine multi-class classification method, one-to-many support vector machine multi-class classification method, binary-tree support vector machine multi-class classification method and Error Correction of Coding support vector machine classification method one to one.Support vector cassification Algorithm for Training speed one to one, but when classification number increases, classification speed can be slack-off.One-to-many support vector cassification algorithm principle is simple, but classification accuracy is the highest, and will use all training samples when training every time, and training speed can decline.Binary-tree support vector machine Multiclass Classification classification speed is fast, but training speed is relatively slow, there is the phenomenon of wrong point of accumulation.The generalization of Error Correction of Coding support vector machine classification method is preferable, and classification speed is fast.
If able to the particular problem according to sensor fault identification builds qualified Error Correction of Coding, Error Correction of Coding support vector machine classification method is used for this problem, then fast and accurately fault can be carried out identification.
Summary of the invention
In order to improve accuracy and the real-time of sensor fault identification, the invention provides a kind of sensor fault discrimination method combined based on Error Correction of Coding with support vector machine, for the signal of 7 kinds of different modes of sensor in the method, choose time domain respectively and frequency domain character is vectorial as initial characteristics, thus different fault modes is distinguished.
The sensor fault discrimination method combined with support vector machine based on Error Correction of Coding, comprises the following steps:
Step one, generation Error Correction of Coding: use the coding with error correcting capability that classification is encoded, using SVM as grader, according to preset rules, Hadamard matrix obtain qualified Error Correction of Coding;
Step 2, initial characteristics extract: extract time domain and the frequency domain information of sensor output signal, choose 6 temporal signatures parameters and 3 frequency domain character parameters as primitive character;
Step 3, feature extraction;Every string one SVM binary classifier of structure of the Error Correction of Coding obtained by step one, the sample with initial characteristics is inputted in each SVM and is trained respectively, obtain the decision function of each grader, decision function is carried out Sigmoid conversion, obtain feature new in transformation space;
Step 4, fault mode classification: construct a SVM binary classifier according to every string of step 3 encoder matrix, it is input to the training sample with new feature parameter in each SVM be trained, test sample is input in the SVM trained, and sample is differentiated by each grader respectively;Output one binary sequence λ={ λ of composition of grader1, λ2..., λn, calculating the Hamming distance between this sequence and classification code word, the class representated by code word that minimum range is corresponding is final differentiation result.
In coding described in step 1 uncorrelated between the row of encoder matrix, uncorrelated and the most complementary between row.
Beneficial effects of the present invention: the present invention can by sensor normal mode and deviation, drift about, impact, PERIODIC INTERFERENCE, short circuit, 6 kinds of typical fault modes of open circuit distinguish;Real-time and classification accuracy rate are obtained for guarantee, and generalization is preferable, particularly embodies bigger advantage under small sample input condition.
Accompanying drawing explanation
Fig. 1 is sensor fault discrimination method principle schematic;
Fig. 2 is sensor fault discrimination method flow chart.
Detailed description of the invention
Referring to the drawings 1, the invention will be further described, and it is as follows that the present invention implements step:
The first step: Signal Pretreatment
Gather each 50 groups of X of the sensor output data under 7 kinds of statesij(i=1,2 ..., 7j=1,2 ..., 50), for making the signal characteristic of extraction not affected by amplitude, first it is standardized signal processing:
X ‾ ij = X ij - E ( X ij ) D σ ij
Wherein: XijRepresent the sensor output signal of different mode, E (Xij) it is XijAverage,For XijStandard deviation.
Second step: initial characteristics extracts
Extract the peak index of preprocessed signal, root-mean-square value, kurtosis index, skewness index, waveform index, margin index, gravity frequency, mean square frequency, frequency variance as primitive character.The initial characteristics parameter often being organized signal is Zi={zi1, zi2..., zi9(i=1,2 ..., 350).
3rd step: generate Error Correction of Coding
Error Correction of Coding is obtained by Hadamard matrix.
(1) Hadamard matrix is generated.If 2j-1< k≤2j, then generating exponent number is 2jHadamard matrix.
High-order Hadamard matrix is obtained by low order Hadamard matrix recursion:
H N = H N / 2 H N / 2 H N / 2 - H N / 2
Wherein, N=2j,-HN/2Represent HN/2In element take benefit.2 rank matrixes are H 2 = 0 0 0 1 .
(2) delete complete zero row of first row, obtain 2j×(2j-1) matrix;
(3) matrix obtaining step (2) takes its front k row, then obtain required k × (2j-1) Error Correction of Coding.
Sensor is normally classified with fault 7 kinds of patterns totally, takes k=7.According to the generation step of above-mentioned Error Correction of Coding, obtaining corresponding encoder matrix is:
H 7 = 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 1 1 0 0 0 0 1 1 1 1 1 0 1 1 0 1 0 0 1 1 1 1 0 0
The matrix now obtained eliminates first row and is all zero-sum shortcoming conditional to classification number, has the feature that row separates and row separate, it is possible to meet the requirement of Error Correction of Coding in multicategory classification problem simultaneously.
4th step: feature extraction
Sensor signal features and failure symptom have non-linear relation, use method based on Error Correction of Coding Yu support vector machine that initial characteristics is carried out nonlinear transformation and carry out enhancing signal feature.
Sample χ={ (x is obtained by second step1, c1), (x2, c2) ..., (xn, cn), wherein, n=350 is sample size,For initial characteristics vector, ci∈ 1,2 ..., 7} is sample class label.
According to matrix H7Every string structure one SVM binary classifier.Wherein the composition of jth SVM training sample is H7Middle jth row value be 0 all samples be classified as the 1st class, all samples that value is 1 are classified as the 2nd class.
Sample is inputted respectively in 7 SVM and be trained, obtain parameter alphaiAnd b, decision function is:
f ( x j ) = Σ i = 1 N sv α i c i k ( x i , x j ) + b , j = 1,2 , · · · , n
Wherein,For RBF kernel function, take γ=1.NsvFor supporting the number of vector.
Use Sigmoid function that decision function is carried out nonlinear transformation, obtain feature new in transformation space:
Z ij = σ ( a j f j ( x ) + b j ) = 1 1 + exp [ - ( a j f j ( x ) + b j ) ] , j = 1,2 , · · · , n
Wherein, a is takenj=1, bj=1.
Finally obtain the new characteristic vector in high-dimensional feature space(k=1,2 ..., n).
5th step: fault mode classification
Sample is obtained by the 4th stepWherein, n=350 is sample size,It is characterized vector, ci∈ 1,2 ..., 7} is sample class label.
Randomly selecting 30 groups in every class sample as training sample, 20 groups as test sample.Same step 4, according to matrix H7Every string structure one SVM binary classifier, training sample is inputted in each grader and is trained.Test sample being input in the SVM trained, sample is differentiated by 7 graders respectively, output one binary sequence λ={ λ of composition of each grader1, λ2..., λ7}.Sequence of calculation λ and the Hamming distance of 7 codings, the class representated by code word that minimum range is corresponding is final differentiation result.
c i = arg min d ( λ , H i ) = Σ j = 1 l | λ j - H i , j | , l = 7 i = 1,2 , · · · , 7

Claims (2)

1. the sensor fault discrimination method combined with support vector machine based on Error Correction of Coding, its feature exists In, comprise the following steps:
Step one, generation Error Correction of Coding: use the coding with error correcting capability to encode classification, will prop up Hold vector machine SVM as grader, according to preset rules, Hadamard Hadamard matrix met The Error Correction of Coding of condition;
Step 2, initial characteristics extract: extract time domain and the frequency domain information of sensor output signal, choose 6 Individual temporal signatures parameter and 3 frequency domain character parameters are as primitive character;
Step 3, feature extraction;Every string of the Error Correction of Coding obtained by step one constructs one and supports vector Machine SVM binary classifier, inputs in each support vector machines to enter respectively by the sample with initial characteristics Row training, obtains the decision function of each grader, decision function is carried out Sigmoid conversion, is become Change feature new in space;
Step 4, fault mode classification: construct one according to every string of step 3 encoder matrix and support vector Machine SVM binary classifier, is input to each support vector machines by the training sample with new feature parameter In be trained, test sample is input in the support vector machines trained, and each grader is the most right Sample differentiates;Output one binary sequence λ={ λ of composition of grader1, λ2..., λn, calculate this sequence and Hamming distance between classification code word, the class representated by code word that minimum range is corresponding is final differentiation knot Really.
2. the sensor fault combined with support vector machine based on Error Correction of Coding as claimed in claim 1 Discrimination method, it is characterised in that uncorrelated between the row of encoder matrix in the coding described in step 1, arranges it Between uncorrelated and the most complementary.
CN201310454681.4A 2013-09-29 2013-09-29 The sensor fault discrimination method combined with support vector machine based on Error Correction of Coding Active CN103514458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310454681.4A CN103514458B (en) 2013-09-29 2013-09-29 The sensor fault discrimination method combined with support vector machine based on Error Correction of Coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310454681.4A CN103514458B (en) 2013-09-29 2013-09-29 The sensor fault discrimination method combined with support vector machine based on Error Correction of Coding

Publications (2)

Publication Number Publication Date
CN103514458A CN103514458A (en) 2014-01-15
CN103514458B true CN103514458B (en) 2016-08-24

Family

ID=49897150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310454681.4A Active CN103514458B (en) 2013-09-29 2013-09-29 The sensor fault discrimination method combined with support vector machine based on Error Correction of Coding

Country Status (1)

Country Link
CN (1) CN103514458B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104880216B (en) * 2015-06-17 2016-12-21 北京理工大学 A kind of sensor fault discrimination method based on different Error Correction of Coding cross-references
JP2018077757A (en) * 2016-11-11 2018-05-17 横河電機株式会社 Information processing device, information processing method, information processing program and storage medium
CN106776473B (en) * 2016-12-16 2018-12-25 杭州电子科技大学信息工程学院 Based on the hydroelectric system frequency non-linear characteristic analysis method for improving nonlinear transformation
CN113362850B (en) * 2020-03-03 2024-05-28 杭州海康威视数字技术股份有限公司 Method and device for detecting audio signal acquisition device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102324034A (en) * 2011-05-25 2012-01-18 北京理工大学 Sensor-fault diagnosing method based on online prediction of least-squares support-vector machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6397200B1 (en) * 1999-03-18 2002-05-28 The United States Of America As Represented By The Secretary Of The Navy Data reduction system for improving classifier performance

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102324034A (en) * 2011-05-25 2012-01-18 北京理工大学 Sensor-fault diagnosing method based on online prediction of least-squares support-vector machine

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PCA特征抽取与SVM多类分类在传感器故障诊断中的应用;彭红星 等;《数据采集与处理》;20100131;第25卷(第1期);第111-116页 *
基于自适应LMD和SVM 的电传系统传感器故障诊断;吴学钊 等;《计算机测量与控制》;20131231;第21卷(第6期);第1487-1490页 *

Also Published As

Publication number Publication date
CN103514458A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
CN103514458B (en) The sensor fault discrimination method combined with support vector machine based on Error Correction of Coding
CN103776480B (en) Small fault detection method based on repeatedly rolling average and device
Zhao et al. Using random forest for the risk assessment of coal-floor water inrush in Panjiayao Coal Mine, northern China
Aliabadi et al. Storing sparse messages in networks of neural cliques
CA3059937A1 (en) User credit evaluation method and device, electronic device, storage medium
Clare et al. Combining distribution‐based neural networks to predict weather forecast probabilities
CN106127242A (en) Year of based on integrated study Extreme Precipitation prognoses system and Forecasting Methodology thereof
CN110765699B (en) Method and device for evaluating health state of fracturing equipment during operation
CN101594361A (en) Network Intrusion Detection System based on shortcut calculation of support vector machine
CN112199862B (en) Nanoparticle migration prediction method, influence factor analysis method and system
CN109240274A (en) A kind of industrial process method for diagnosing faults based on higher order dependencies
CN102541017A (en) Method for quickly positioning oscillation signal during complex chemical process
CN105572572A (en) WKNN-LSSVM-based analog circuit fault diagnosis method
CN106156852A (en) A kind of Gauss overlap kernel impulse response estimation method
CN110532297A (en) A kind of symbolism Hydrological Time Series abnormal patterns detection method based on hierarchical clustering
CN104635146B (en) Analog circuit fault diagnosis method based on random sinusoidal signal test and HMM (Hidden Markov Model)
CN104915679A (en) Large-scale high-dimensional data classification method based on random forest weighted distance
Zhang et al. Perturbed model validation: A new framework to validate model relevance
CN117075582A (en) Industrial process generalized zero sample fault diagnosis method based on DSECMR-VAE
CN110110785B (en) Express logistics process state detection and classification method
CN104880216B (en) A kind of sensor fault discrimination method based on different Error Correction of Coding cross-references
CN102697491A (en) Identification method and system of characteristic waveform of electrocardiogram
CN105404709A (en) Complex network based sensitive monitoring point analysis method for dam health monitoring
Kang et al. Transformer-based multivariate time series anomaly detection using inter-variable attention mechanism
Li et al. Applying Unascertained Theory, Principal Component Analysis and ACO-based Artificial Neural Networks for Real Estate Price Determination.

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Deng Fang

Inventor after: Gu Xiaodan

Inventor after: Guo Su

Inventor after: Sun Jian

Inventor after: Chen Jie

Inventor after: Dou Lihua

Inventor after: Chen Wenjia

Inventor after: Li Fengmei

Inventor before: Deng Fang

Inventor before: Guo Su

Inventor before: Gu Xiaodan

Inventor before: Sun Jian

Inventor before: Chen Jie

Inventor before: Dou Lihua

Inventor before: Chen Wenjia

Inventor before: Li Fengmei

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant