CN103514458A - Sensor fault distinguishing method based on combination of error correction codes and support vector machine - Google Patents

Sensor fault distinguishing method based on combination of error correction codes and support vector machine Download PDF

Info

Publication number
CN103514458A
CN103514458A CN201310454681.4A CN201310454681A CN103514458A CN 103514458 A CN103514458 A CN 103514458A CN 201310454681 A CN201310454681 A CN 201310454681A CN 103514458 A CN103514458 A CN 103514458A
Authority
CN
China
Prior art keywords
error correction
svm
coding
support vector
vector machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310454681.4A
Other languages
Chinese (zh)
Other versions
CN103514458B (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

Images

Abstract

The invention provides a sensor fault distinguishing method based on the combination of error correction codes and a support vector machine. The method comprises the steps that first, the error correction codes are generated, namely codes with an error correction function are used for coding types, an SVM is used as a classifier; second, initial features are extracted, namely the time domain and frequency domain information of sensor output signals is extracted, six time domain feature parameters and 3 frequency domain feature parameters are selected as primitive features; third, the features are extracted, namely lines of the error correction codes obtained in the first step are used for forming an SVM two-type classifier, samples with the initial features are input to each SVM for training, a decision function of each classifier is obtained, Sigmoid conversion is carried out on each decision function, and new features in a conversion space are obtained; fourth, fault mode classifying is achieved.

Description

The sensor fault discrimination method combining with support vector machine based on Error Correction of Coding
Technical field
The present invention relates to a kind of fault identification method of sensor, particularly a kind of sensor fault discrimination method combining with support vector machine based on Error Correction of Coding, belongs to Intelligent Information Processing field.
Background technology
Sensor is the sensitive element in surveying instrument, smart instrumentation and computerized information input media, 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 conventionally more severe, and they in use often can break down because of various reasons.When sensor breaks down, its output signal main manifestations is following several form: deviation, drift, impact, PERIODIC INTERFERENCE, short circuit, open circuit.After fault generation being detected, need to carry out certain online or off-line Fault Compensation for different sensor fault types, therefore, sensor fault is carried out to identification and just seem particularly important.
Sensor is carried out to fault identification and belong to pattern recognition problem.Wherein two the most key steps are feature extraction and pattern classification.The selection of feature is the basis of pattern classification with extracting, and directly affects the accuracy of classification results.Between the fault that sensor occurs and failure cause, there is nonlinear relationship, complicacy, randomness and ambiguity make to be difficult to represent by accurate mathematical model, extract this rule, need to adopt certain nonlinear transformation to make feature there is higher separability.
In recent years, neural network and support vector machine (SVM, Support Vector Machine), as the representative of Nonlinear Classifier, are widely used in pattern classification.Method based on neural network mostly depends on the statistical property in the abundant situation of sample, and sensor fault identification is a kind of typical small-sample learning problem, support vector machine, aspect solution small sample Data classification problem, has the features such as global optimum, simple in structure, Generalization Ability is strong.Compare with neural network, SVM has avoided locally optimal solution problem, has effectively overcome the problem of " dimension disaster ".
At present, common support vector machine Multiclass Classification mainly contains: 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 machine classification algorithm training speed one to one, but when classification number increases, classification speed can be slack-off.One-to-many support vector machine sorting algorithm principle is simple, but classification accuracy is not high, and all will use all training samples while training at every turn, and training speed can decline.Binary-tree support vector machine Multiclass Classification classification speed is fast, but training speed is slower, has the phenomenon of accumulation in wrong minute.The generalization of Error Correction of Coding support vector machine classification method is better, and classification speed is fast.
If can follow the reportedly particular problem of sensor fault identification to build qualified Error Correction of Coding, Error Correction of Coding support vector machine classification method, for this problem, can be carried out to identification to fault fast and accurately.
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 combining with support vector machine based on Error Correction of Coding, in the method for the signal of 7 kinds of different modes of sensor, choose respectively time domain and frequency domain character vector as initial characteristics, thereby different fault modes is distinguished.
The sensor fault discrimination method combining with support vector machine based on Error Correction of Coding, comprises the following steps:
Step 1, generation Error Correction of Coding: adopt the coding with error correcting capability to encode to classification, using SVM as sorter, according to preset rules, by 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; A SVM binary classifier of each row structure of the Error Correction of Coding being obtained by step 1, the sample with initial characteristics is inputted in each SVM and trained respectively, obtain the decision function of each sorter, decision function is carried out to Sigmoid conversion, obtain feature new in transformation space;
Step 4, fault mode classification: according to a SVM binary classifier of each row structure of step 3 encoder matrix, the training sample with new feature parameter is input in each SVM and is trained, test sample book is input in the SVM training, and each sorter is differentiated sample respectively; The output of sorter forms a binary sequence λ={ λ 1, λ 2..., λ n, calculate the Hamming distance between this sequence and classification code word, the class of the code word representative that minor increment is corresponding is final differentiation result.
Uncorrelated between the row of encoder matrix in coding described in step 1, uncorrelated and not complementary between row.
Beneficial effect of the present invention: the present invention can distinguish sensor normal mode and deviation, drift, impact, PERIODIC INTERFERENCE, short circuit, 6 kinds of typical fault modes of open circuit; Real-time and classification accuracy rate are all guaranteed, and generalization is better, particularly under small sample input condition, embody larger advantage.
Accompanying drawing explanation
Fig. 1 is sensor fault discrimination method principle schematic;
Fig. 2 is sensor fault discrimination method process flow diagram.
Embodiment
With reference to accompanying drawing 1, the invention will be further described, and specific implementation step of the present invention is as follows:
The first step: Signal Pretreatment
Gather each the 50 groups of X of sensor output data under 7 kinds of states ij(i=1,2 ..., 7j=1,2 ..., 50), for making the signal characteristic of extraction not be subject to the impact of amplitude, first signal is carried out to standardization:
X ‾ ij = X ij - E ( X ij ) D σ ij
Wherein: X ijthe sensor output signal that represents different mode, E (X ij) be X ijaverage,
Figure BDA0000389896600000032
for X ijstandard deviation.
Second step: initial characteristics extracts
Extract the peak index, root-mean-square value, kurtosis index, skewness index, waveform index, nargin index, gravity frequency of preprocessed signal, all square frequency, frequency variance be as primitive character.The initial characteristics parameter that obtains every group of signal is Z i={ z i1, z i2..., z i9(i=1,2 ..., 350).
The 3rd step: generate Error Correction of Coding
Error Correction of Coding is obtained by Hadamard matrix.
(1) generate Hadamard matrix.If 2 j-1< k≤2 j, generating exponent number is 2 jhadamard 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=2 j,-H n/2expression is to H n/2in element get benefit.2 rank matrixes are H 2 = 0 0 0 1 .
(2) delete complete zero row of first row, obtain 2 j* (2 j-1) matrix;
(3) it is capable that matrix step (2) being obtained is got its front k, obtains required k * (2 j-1) Error Correction of Coding.
To sensor normal and fault totally 7 kinds of patterns classify, get k=7.According to the generation step of above-mentioned Error Correction of Coding, obtain corresponding encoder matrix and be:
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 obtaining has been eliminated first row entirely for zero-sum is to the conditional shortcoming of classification number, has the separated feature separated with row of row simultaneously, can meet the requirement of Error Correction of Coding in multicategory classification problem.
The 4th step: feature extraction
Sensor signal feature and failure symptom have nonlinear relationship, and the method for employing based on Error Correction of Coding and support vector machine carried out nonlinear transformation to initial characteristics and strengthened signal characteristic.
By second step, obtain sample χ={ (x 1, c 1), (x 2, c 2) ..., (x n, c n), wherein, n=350 is sample size,
Figure BDA0000389896600000051
for initial characteristics vector, c i∈ 1,2 ..., 7} is sample class label.
According to matrix H 7a SVM binary classifier of each row structure.Wherein the composition of j SVM training sample is H 7in j row value be 0 all samples are classified as the 1st class, all samples that are 1 value are classified as the 2nd class.
Sample is inputted respectively in 7 SVM and trained, obtain parameter alpha iand b, decision function is:
f ( x j ) = &Sigma; i = 1 N sv &alpha; i c i k ( x i , x j ) + b , j = 1,2 , &CenterDot; &CenterDot; &CenterDot; , n
Wherein,
Figure BDA0000389896600000053
for RBF kernel function, get γ=1.N svnumber for support vector.
Use Sigmoid function to carry out nonlinear transformation to decision function, obtain feature new in transformation space:
Z ij = &sigma; ( a j f j ( x ) + b j ) = 1 1 + exp [ - ( a j f j ( x ) + b j ) ] , j = 1,2 , &CenterDot; &CenterDot; &CenterDot; , n
Wherein, get a j=1, b j=1.
Finally obtain the new proper vector in high-dimensional feature space
Figure BDA0000389896600000055
(k=1,2 ..., n).
The 5th step: fault mode classification
By the 4th step, obtain sample wherein, n=350 is sample size,
Figure BDA0000389896600000057
for proper vector, c i∈ 1,2 ..., 7} is sample class label.
Choose at random in every class sample 30 groups as training sample, 20 groups as test sample book.Same step 4, according to matrix H 7a SVM binary classifier of each row structure, training sample is inputted in each sorter and is trained.Test sample book is input in the SVM training, 7 sorters are differentiated sample respectively, and the output of each sorter forms a binary sequence λ={ λ 1, λ 2..., λ 7.The Hamming distance of sequence of calculation λ and 7 codings, the class of the code word representative that minor increment is corresponding is final differentiation result.
c i = arg min d ( &lambda; , H i ) = &Sigma; j = 1 l | &lambda; j - H i , j | , l = 7 i = 1,2 , &CenterDot; &CenterDot; &CenterDot; , 7

Claims (2)

1. the sensor fault discrimination method combining with support vector machine based on Error Correction of Coding, is characterized in that, comprises the following steps:
Step 1, generation Error Correction of Coding: adopt the coding with error correcting capability to encode to classification, using SVM as sorter, according to preset rules, by 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; A SVM binary classifier of each row structure of the Error Correction of Coding being obtained by step 1, the sample with initial characteristics is inputted in each SVM and trained respectively, obtain the decision function of each sorter, decision function is carried out to Sigmoid conversion, obtain feature new in transformation space;
Step 4, fault mode classification: according to a SVM binary classifier of each row structure of step 3 encoder matrix, the training sample with new feature parameter is input in each SVM and is trained, test sample book is input in the SVM training, and each sorter is differentiated sample respectively; The output of sorter forms a binary sequence λ={ λ 1, λ 2..., λ n, calculate the Hamming distance between this sequence and classification code word, the class of the code word representative that minor increment is corresponding is final differentiation result.
2. the sensor fault discrimination method combining with support vector machine based on Error Correction of Coding as claimed in claim 1, is characterized in that, uncorrelated between the row of encoder matrix in the coding described in step 1, uncorrelated and not complementary between row.
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 true CN103514458A (en) 2014-01-15
CN103514458B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104880216A (en) * 2015-06-17 2015-09-02 北京理工大学 Method for sensor fault identification based on cross usage of different error correction codes
CN106776473A (en) * 2016-12-16 2017-05-31 杭州电子科技大学信息工程学院 Based on the hydroelectric system frequency non-linear characteristic analysis method for improving nonlinear transformation
CN108073154A (en) * 2016-11-11 2018-05-25 横河电机株式会社 Information processing unit, information processing method and recording medium
CN113362850A (en) * 2020-03-03 2021-09-07 杭州海康威视数字技术股份有限公司 Detection method and device of audio signal acquisition device and storage medium

Citations (2)

* 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
CN102324034A (en) * 2011-05-25 2012-01-18 北京理工大学 Sensor-fault diagnosing method based on online prediction of least-squares support-vector machine

Patent Citations (2)

* 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
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
吴学钊 等: "基于自适应LMD和SVM 的电传系统传感器故障诊断", 《计算机测量与控制》, vol. 21, no. 6, 31 December 2013 (2013-12-31) *
彭红星 等: "PCA特征抽取与SVM多类分类在传感器故障诊断中的应用", 《数据采集与处理》, vol. 25, no. 1, 31 January 2010 (2010-01-31) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104880216A (en) * 2015-06-17 2015-09-02 北京理工大学 Method for sensor fault identification based on cross usage of different error correction codes
CN108073154A (en) * 2016-11-11 2018-05-25 横河电机株式会社 Information processing unit, information processing method and recording medium
CN106776473A (en) * 2016-12-16 2017-05-31 杭州电子科技大学信息工程学院 Based on the hydroelectric system frequency non-linear characteristic analysis method for improving nonlinear transformation
CN106776473B (en) * 2016-12-16 2018-12-25 杭州电子科技大学信息工程学院 Based on the hydroelectric system frequency non-linear characteristic analysis method for improving nonlinear transformation
CN113362850A (en) * 2020-03-03 2021-09-07 杭州海康威视数字技术股份有限公司 Detection method and device of audio signal acquisition device and storage medium

Also Published As

Publication number Publication date
CN103514458B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN107832353B (en) False information identification method for social media platform
Jan et al. Sensor fault classification based on support vector machine and statistical time-domain features
CN108921285B (en) Bidirectional gate control cyclic neural network-based classification method for power quality disturbance
CN105279691A (en) Financial transaction detection method and equipment based on random forest model
CN103914064A (en) Industrial process fault diagnosis method based on multiple classifiers and D-S evidence fusion
Hajian et al. New automated power quality recognition system for online/offline monitoring
CN106446954A (en) Character recognition method based on depth learning
CN103514458A (en) Sensor fault distinguishing method based on combination of error correction codes and support vector machine
CN102291392A (en) Hybrid intrusion detection method based on bagging algorithm
CN101594361A (en) Network Intrusion Detection System based on shortcut calculation of support vector machine
Yu et al. Stacked denoising autoencoder‐based feature learning for out‐of‐control source recognition in multivariate manufacturing process
CN106255979A (en) Row dividing method
Krawczyk et al. Combining diverse one-class classifiers
CN104915679A (en) Large-scale high-dimensional data classification method based on random forest weighted distance
Guo et al. Learning using privileged information for HRRP‐based radar target recognition
Buza et al. Fusion of similarity measures for time series classification
Katiyar et al. MLPNN based handwritten character recognition using combined feature extraction
CN112948588A (en) Chinese text classification method for quick information editing
CN102697491A (en) Identification method and system of characteristic waveform of electrocardiogram
CN104880216B (en) A kind of sensor fault discrimination method based on different Error Correction of Coding cross-references
Liu et al. An improved method for multi-class support vector machines
Dongre et al. Stream data classification and adapting to gradual concept drift
Jadhav et al. A survey on approaches to efficient classification of data streams using concept drift
Goel et al. Adaptive online learning for classification under concept drift
Mondal et al. Weather Forecasting System

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