Analog circuit fault mode classification method
10706332 ยท 2020-07-07
Assignee
Inventors
- Lifen YUAN (Anhui, CN)
- Shuai LUO (Anhui, CN)
- Yigang He (Anhui, CN)
- Peng CHEN (Anhui, CN)
- Chaolong Zhang (Anhui, CN)
- Ying Long (Anhui, CN)
- Zhen CHENG (Anhui, CN)
- Zhijie YUAN (Anhui, CN)
- Deqin ZHAO (Anhui, CN)
Cpc classification
G06F18/2135
PHYSICS
G06F18/214
PHYSICS
G06F18/2433
PHYSICS
International classification
Abstract
An analog circuit fault mode classification method comprises the following implementation steps: (1) collecting M groups of voltage signal sample vectors V.sub.ij to each of fault modes F.sub.i of the analog circuit by using a data collection board; (2) sequentially extracting fault characteristic vectors V.sub.ij.sup.F of the voltage signal sample vectors V.sub.ij by using subspace projection; (3) standardizing the extracted fault characteristic vectors V.sub.ij.sup.F to obtain standardized fault characteristic vectors; (4) constructing a fault mode classifier based on a support vector machine, inputting the standardized fault characteristic vectors, performing learning and training on the classifier, and determining structure parameters of the classifier; and (5) completing determination of fault modes according to fault mode determination rules. The fault mode classifier of the present invention is simple in learning and training and reliable in mode classification accuracy.
Claims
1. An analog circuit fault mode classification method, comprising: (1) collecting M groups of voltage signal sample vectors V.sub.ij at a node to be tested under each of fault modes F.sub.i of the analog circuit by using a data collection board, wherein j=1, 2, . . . , M, i=1, 2, . . . , N, V.sub.ij represents a j.sup.th voltage signal sample vector of a i.sup.th fault mode, and N represents a total number of the fault modes; (2) sequentially extracting fault characteristic vectors V.sub.ij.sup.F of the voltage signal sample vectors V.sub.ij working under the fault modes F.sub.i by using subspace projection, wherein i=1, 2, . . . , N, j=1, 2, . . . , M, and V.sub.ij.sup.F represents a fault characteristic vector of the j.sup.th voltage signal sample under the i.sup.th fault mode; (3) standardizing the extracted fault characteristic vectors V.sub.ij.sup.F to obtain standardized fault characteristic vectors {circumflex over (V)}.sub.ij.sup.F, wherein a computing method for obtaining the standardized fault characteristic vectors is
2. The analog circuit fault mode classification method according to claim 1, wherein the step of extracting the fault characteristic vectors V.sub.ij.sup.F by using the subspace projection in step (2) comprises: (2.1) computing dimensionality L of the voltage signal sample vectors V.sub.ij: L=length(V.sub.ij); (2.2) generating an LL dimensional Toeplitz transformation matrix :
3. The analog circuit fault mode classification method according to claim 1, wherein the specific step of constructing each binary-class support vector machine in step (4) comprises: (4.1) constructing a binary classifier decision model
4. The analog circuit fault mode classification method according to claim 3, wherein the specific step of using the training sample set S to train the binary classifier decision model so as to determine the parameters .sub.i and b of the binary-class support vector machine in step (4.3) comprises: (4.3.1) standardizing a kernel matrix:
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
DETAILED DESCRIPTION
(3) The invention will be described in details hereinafter with reference to the drawings and embodiments.
(4) Referring to
(5) (1) collecting M groups of voltage signal sample vectors V.sub.ij at a node to be tested under each of the fault modes F.sub.i of the analog circuit by using a data collection board, wherein i=1, 2, . . . , N, j=1, 2, . . . , M, V.sub.ij represents a j.sup.th voltage signal sample vector of a i.sup.th fault mode, and N represents a total number of the fault modes;
(6) (2) sequentially extracting fault characteristic vectors V.sub.ij.sup.F of the voltage signal sample vectors V.sub.ij working under the fault modes F.sub.i by using subspace projection, wherein i=1, 2, . . . , N, j=1, 2, . . . , M, and V.sub.ij.sup.F represents a fault characteristic vector of the j.sup.th voltage signal sample under the i.sup.th fault mode;
(7) (3) standardizing the extracted fault characteristic vectors V.sub.ij.sup.F to obtain standardized fault characteristic vectors {circumflex over (V)}.sub.ij.sup.F, wherein a computing method thereof is
(8)
(9) (4) sequentially constructing a binary-class support vector machine with respect to two different fault modes F.sub.i.sub.
(10) (5) simultaneously feeding a standardized fault characteristic vectors to be tested into the N(N1)/2 binary-class support vector machines for classification and determination, and counting votes according to classification results of each binary-class support vector machine; if a fault mode to be tested belongs to the fault mode F.sub.i, and i=1, 2, . . . , N, then adding 1 to the votes of F.sub.i wherein a fault mode obtaining the most votes finally is the fault mode that the circuit to be tested belongs to.
(11) The step of extracting the fault characteristic vectors V.sub.ij.sup.F by using the subspace projection in step (2) is:
(12) (2.1) computing dimensionality of the voltage signal sample vectors V.sub.ij: L=length(V.sub.ij);
(13) (2.2) generating an LL dimensional Toeplitz transformation matrix :
(14)
(15) (2.3) computing a projected vector of the voltage signal sample vectors V.sub.ij in the Toeplitz transformation matrix : V.sub.p=.sup.TV.sub.ij, wherein T represents to transpose a matrix;
(16) (2.4) computing maximum projection subspace and the fault characteristic vectors V.sub.ij.sup.F:
(17) (2.4.1) initializing a subspace projection coordinate dimensionality K: K=log.sub.2(N), wherein represents rounding up to an integer, and N is the total number of the fault modes of the circuit to be tested;
(18) (2.4.2) constructing a maximum projection subspace index vector I with a dimensionality of 1K, and initializing the vector into a 1K dimensional null vector, i.e., I=[00 . . . 0], and meanwhile constructing a counting variable p and initializing p=1;
(19) (2.4.3) updating the maximum projection subspace index vector I: I(p)=Index(Max(|V.sub.p|)), wherein I(p) herein represents the p.sup.th vector value in the vector I, Max() represents to compute a maximum vector element, V.sub.p represents the projected vector of the voltage signal sample vectors V.sub.ij in the Toeplitz transformation matrix , and Index() represents to calculate an index;
(20) (2.4.4) determining whether p<K; if no, then performing step (2.4.5); otherwise, performing p=p+1 and using 0 to replace the maximum element in the projected vector V.sub.p, and retuning to step (2.4.3);
(21) (2.4.5) using I vector elements as row index values of the Toeplitz transformation matrix to extract corresponding row vectors to constitute a matrix .sub.A with a dimensionality of KL;
(22) (2.4.6) computing the maximum projection subspace .sub..sup.: .sub..sup.=(.sub..sub..sup.T).sup.1.sub.; and
(23) (2.4.7) computing the fault characteristic vector V.sub.ij.sup.F with subspace projection: V.sub.ij.sup.F=.sub..sup.V.sub.ij.
(24) Referring to
(25) (4.1) constructing a binary classifier decision model
(26)
wherein
(27) (4.2) dividing a training sample set: constituting the standardized fault characteristic vectors {circumflex over (V)}.sub.i.sub.
(28) (4.3) using the training sample set S to train the binary classifier decision model so as to determine parameters .sub.i and b of the binary-class support vector machine;
(29) (4.4) outputting a determination function of the binary-class support vector machine:
(30)
wherein sgn() is a sign function, and
(31) (4.5) completing a mode determination for a characteristic to be tested according to the decision function: determination votes during test are performed according to the determination function; if y=1 is outputted, then the votes of the fault mode F.sub.i.sub.
(32) The specific step of using the training sample set S to train the binary classifier decision model so as to determine the parameters .sub.i and b of the binary-class support vector machine in step (4.3) is:
(33) (4.3.1) standardizing a kernel matrix:
(34)
wherein
(35) D=diag(1/sqrt(diag(
(36) (4.3.2) training a binary classifier, which a training pseudo-code thereof is as follows:
(37) inputting the training sample set S={{S.sub.+}, {S.sub.}};
(38) treating process: if a class identifier y.sub.i=+1, then
(39)
otherwise, .sub.i.sup.+=0;
(40) if a class identifier y.sub.i=1, then
(41)
otherwise, .sub.i.sup.=0; M represents the number of the voltage signal sample vectors collected;
(42) .sup.+=[.sub.1.sup.+, .sub.2.sup.+, . . . , .sub.2M.sup.+], .sup.=[.sub.1.sup., .sub.2.sup., . . . , .sub.2M.sup.]; and
(43) (4.3.3) computing classifier parameters:
(44) wherein the real number .sub.i=.sub.i.sup.+.sub.i.sup.; and
(45) the bias b=0.5((.sup.+).sup.T