This application is a 371 application of the International PCT application serial no. PCT/CN2015/095475, filed on Nov. 25, 2015, which claims the priority benefit of China application no. 201510482994.X, filed on Aug. 7, 2015. The entirety of each of the abovementioned patent applications is hereby incorporated by reference herein and made a part of this specification.
The present invention relates to an analog circuit fault diagnosis method using a single testable node.
Analog circuit fault diagnosis is equivalent to mode recognition in essence, and the key is to seek a relationship between feature extraction and mode criterion function. Therefore, how to seek potential fault feature factors from seemingly complicated test data and conduct correct judgment and recognition on the fault mode on this basis is deemed as a significant research subject in the field of analog circuit testing.
Through development of the analog circuit fault diagnosis over the past decade, the achievement which has been achieved is varied and shows diversity, and the new research results continually come out. To summarize the technologies adopted in fault diagnosis, a fault feature extracting method based on statistical theory and wavelet analysis, and a fault mode recognition method based on neural network and support vector machine are widely applied at present. These aspects have great impact on promoting the development of the analog circuit fault diagnosis technologies. However, the analog circuit fault diagnosis technologies are still in development so far due to the large knowledge scope of analog circuit fault diagnosis design, deficiency of fault models and the binding character of the methods thereof.
Because the measurable nodes of the analog circuit are limited, and only one node at an output terminal serves as the measurable node under most circumstances. The test data collected under this case are usually mixed data of various independent sources, and the feature factors thereof are implied deeply. When diagnosing these circuits, a very expensive amount of computations for classification is caused usually if the original data collected is directly fed to a classifier for classification, which is difficult to implement, and also has poor classification effect, and high erroneous judgment ratio. Independent factors from system bottom are not single; moreover, these are invisible independent sources (i.e., blind sources) for a ten final user. A technology regarding blind source processing at current is mainly applied to the field of voice recognition, and its application prerequisite is multi-channel measured data source. Therefore, extracting the feature factors of the circuit measured with using a single testable node cannot be directly implemented by a blind source separation technology.
A technical problem to be solved by the present invention is to provide an analog circuit fault diagnosis method using a single testable node with low misjudgment ratio so as to overcome the above defects of the prior art.
The essence of the analog circuit fault diagnosis method using a single testable node according to the present invention is to convert a single testable node signal into a plurality of signals by using an orthogonal wavelet analysis filter set, so as to extract fault features via using a blind source separation technology, and estimate a fault-mode-to-be-tested of a specific circuit node based on correlation metric parameters by computing a correlation coefficient matrix between the specific node independent fault-mode-to-be-tested feature of the circuit and a known independent sample fault feature. Known from statistics knowledge, the larger the correlation coefficient of two random vectors is, then the larger the correlation of the two random vectors is, i.e., the higher the similarity of the two random vectors is. In an allowable error scope, we take one approximation to approximately deem the fault mode of the known sample as the fault-mode-to-be-tested.
A technical solution to be adopted by the present invention to solve the technical problems thereof is as follows:
An analog circuit fault diagnosis method using a single testable node comprises the following steps:
(1) obtaining prior sample data vectors under each of fault modes: obtaining M groups of voltage sample vectors Vij of an analog circuit under test under each of fault modes Fi by using computer simulation software, wherein i=1, 2, . . . , N, j=1, 2, 3, . . . , M, N is a total number of the fault modes of the circuit, i represents that the circuit works under a ith fault mode, j is a jth collected samples, and Vij represents a jth voltage sample vector collected when the circuit works under the ith fault mode;
(2) computing a statistical average
of the prior sample data vectors under each of the fault modes, wherein i=1, 2, . . . , N, and Vi is voltage sample statistical average vectors when the circuit works under the fault modes Fi;
(3) decomposing a signal by an orthogonal Haar wavelet filter set: decomposing the voltage sample statistical average vectors Vi (i=1, 2, . . . , N) under each of the fault modes into (K+1) filter output signals by a K-layer orthogonal Haar wavelet filter set;
(4) extracting feature factors of prior sample fault modes: extracting (K+1) feature factors si,d of the prior sample fault modes through processing the (K+1) filter output signals under the fault modes Fi by using a blind source processing technology, wherein d represents a serial number of fault feature factors, and d=1, 2, . . . , K+1, and si,d represents a dth feature factor of the prior sample fault modes of a voltage sample signal under the fault mode Fi;
(5) extracting feature factors of a fault-mode-to-be-tested: collecting M groups of voltage testable vectors under the fault-mode-to-be-tested, computing a statistical average of the voltage testable vectors, decomposing by the orthogonal Haar wavelet filter set in the step (3), and obtaining (K+1) feature factors sT,h of the voltage testable vectors under the fault-mode-to-be-tested through the blind source processing technology in step (4), wherein T represents to-be-tested, which is the first letter of Test, and is intended to distinguish the fault-mode-to-be-tested and the prior fault modes; h represents a serial number of the feature factors, h=1, 2, . . . , K+1, and sT,h represents a hth feature factor of a voltage testable signal under the fault-mode-to-be-tested;
(6) computing a correlation coefficient matrix Ri and correlation metric parameters δi between the feature factors of the fault-mode-to-be-tested and the feature factors of the prior sample fault modes of all the fault modes Fi (i=1, 2, . . . , N);
wherein ρhd=E((sT,h−E(sT,h))·(si,d))), i=1, 2, . . . , E(⋅) represents to determine an expected value, sT,h (h=1, 2, . . . , K+1) represents the hth feature factor of the voltage testable signal under the fault-mode-to-be-tested, si,d (d=1, 2, . . . , K+1) represents the dth feature factor of the prior sample fault modes of the voltage sample signal under the fault mode Fi, the physical meaning of ρhd is a correlation coefficient between the hth feature factor of the voltage testable signal under the fault-mode-to-be-tested and the dth feature factor of the prior sample fault modes of the voltage sample signal under the fault mode Fi;
represents the maximum ρhd when h is constant and d=1, 2, . . . , (K+1); and
(7) comparing all the δi, and determining a kth fault mode if
wherein i=1, 2, . . . , N, and Index(⋅) represents to calculate an index.
Further, a feature of the K-layer orthogonal Haar wavelet analysis filter set in the step (3) is that each of the layers of the filter set consists of a low-pass filter g(n) and a high-pass filter h(n), output portion of the high-pass filter h(n) is subjected to double downsampling to enter next layer of the wavelet filter set, and output of the low-pass filter g(n) at each layer is subjected to double downsampling and then outputted directly, the low-pass filter g(n)={1/√{square root over (2)}, 1/√{square root over (2)}}, and the high-pass filter h(n)={1/√{square root over (2)}, −1/√{square root over (2)}}.
Further, a method of determining a layer number K of the K-layer orthogonal Haar wavelet analysis filter set in the step (3) is: setting an input signal of the filter set as x, and the outputs of the high-pass filter h(n) and the low-pass filter g(n) at the layer K as yK,H and yK,L respectively, then steps of determining the K value are as follows:
(3.1) initializing: K=1, β0=Th, wherein K is the layer number of filters, β0 is an energy ratio threshold, and Th is a preset original value of the energy ratio threshold which can be any real number greater than 0 but less than 1;
(3.2) computing the energy ratio
wherein <,> represents to compute an inner product; and
(3.3) if β>β0, then K=K+1, returning to execute the step (3.2); otherwise, outputting the layer number of filters K.
Further, a method of extracting the feature factor by using a blind source processing technology in the step (4) is: setting a signal matrix needing to be processed by the blind source technology as Yi, wherein an extracted feature factor matrix is Si=[si,1 si,2 . . . si,d . . . si,(K+1)], si,d represents the dth feature factor of the prior sample fault of the voltage sample signal under the fault mode Fi; and the dimensionalities of Yi and Si are equal;
(4.1) initializing a feature extracting matrix W0 and an update step-length μ, and letting W1←W0, wherein “←” represents to assign the value of W0 to W1, W0 is any unit matrix, and μ is a real number between (0, 0.3);
(4.2) computing: Si=W0Yi;
(4.3) updating W1: Wi←W0+μ[I−f[Si]]gT[Si], wherein forms of functions f(⋅) and g(⋅) herein are respectively f[Si]=Si and g[Si]=Si3, gT(⋅) represents matrix transposition; and I represents a standard unit matrix;
(4.4) standardizing W1:
wherein ∥⋅∥ represents a matrix norm,
represents to standardize W1, and “←” represents to standardize W1 and then assign a value to W1; and
(4.5) determining convergence: determining whether W1W1T→I, i.e., determining whether a product of W1W1T is infinitely approaching to I, “→” represents “infinitely approaching”; if yes, then outputting Si; otherwise, W0←W1, wherein “←” represents assigning, and returning to the step (4.2); and I represents a standard unit matrix.
The present invention can convert a single signal into a plurality of signals without losing original measurement information, and extract an independent fault mode feature factor reflecting variations of a circuit structure in different fault modes, can be used to study an associated mode determination rule and successfully complete classification of circuit fault modes.
The invention is explained in details hereinafter with reference to the drawings.
Referring to
(1) obtaining prior sample data vectors under each fault mode: obtaining M groups of voltage sample vectors Vij of an analog circuit under test under each of fault modes Fi by using computer simulation software, wherein i=1, 2, . . . , N, j=1, 2, 3, . . . , M, N is a total number of the fault modes of the circuit, i represents that the circuit works under a ith fault mode, j is a jth collected samples, and Vij represents a jth voltage sample vector collected when the circuit works under the ith fault mode; in
(2) computing a statistical average
of the prior sample data vectors under each of the fault modes, wherein i=1, 2, . . . , N, and Vi is voltage sample statistical average vectors of the voltage sample when the circuit works under the fault modes Fi;
(3) decomposing a signal by an orthogonal Haar wavelet analysis filter set: decomposing the voltage sample statistical average vector Vi (i=1, 2, . . . , N) under each of the fault modes into (K+1) filter output signals by a K-layer orthogonal Haar wavelet filter set;
(4) extracting feature factors of prior sample fault modes: extracting (K+1) feature factors si,d of the prior sample fault modes through processing the (K+1) filter output signals under the fault modes Fi by using the blind source processing technology under the fault mode Fi, wherein d represents a serial number of fault feature factors, and d=1, 2, . . . , K+1, and si,d represents a dth feature factor of the prior sample fault modes of a voltage sample signal under the fault mode Fi;
(5) extracting feature factors of a fault-mode-to-be-tested: collecting M groups of voltage testable vectors under the fault-mode-to-be-tested, computing a statistical average of the voltage testable vectors, decomposing by the orthogonal Haar wavelet filter set in the step (3), and obtaining (K+1) feature factors sT,h of the voltage testable vectors under the fault-mode-to-be-tested through the blind source processing technology in step (4), wherein T represents to-be-tested, which is the first letter of Test, and is intended to distinguish the fault-mode-to-be-tested and the prior fault modes; h represents a serial number of the feature factors, h=1, 2, . . . , K+1, and sT,h represents a hth feature factor of a voltage testable signal under the fault-mode-to-be-tested;
(6) computing a correlation coefficient matrix Ri and correlation metric parameters δi between the feature factor of the fault-mode-to-be-tested and the feature factor of the prior sample fault modes of all the fault modes Fi (i=1, 2, . . . , N);
wherein ρhd=E((sT,h−E(sT,h))·(si,d−E(si,d))), i=1, 2, . . . , N, E(⋅) represents to determine an expected value, sT,h (h=1, 2, . . . , K+1) represents the hth feature factor of the voltage testable signal under the fault-mode-to-be-tested, si,d (d=1, 2, . . . , K+1) represents the dth feature factor of the prior sample fault modes of the voltage sample signal under the fault mode Fi, the physical meaning of ρhd is a correlation coefficient between the hth feature factor of the voltage testable signal under the fault-mode-to-be-tested and the dth feature factor of the prior sample fault modes of the voltage sample signal under the prior fault mode Fi,
represents the maximum ρhd when h is constant and d=1, 2, . . . , (K+1); and
(7) comparing all the δi, and determining a kth fault mode if
wherein i=1, 2, . . . , N, and Index(⋅) represents to calculate an index.
Referring to
Referring to
(3.1) initializing: K=1, β0=Th, wherein K is the layer number of filters, β0 is an energy ratio threshold, and Th is a preset original value of the energy ratio threshold which can be any real number greater than 0 but less than 1;
(3.2) computing the energy ratio
wherein <,> represents to compute an inner product; and
(3.3) if β>β0, then K=K+1, returning to execute the step (3.2); otherwise, outputting the layer number of filters K.
Referring to
(4.1) initializing a feature extracting matrix W0 and an update step-length μ, and letting W1←W0, wherein “←” represents to assign the value of W0 to W1, W0 is any unit matrix, and μ is a real number between (0, 0.3);
(4.2) computing: Si=W0Yi;
(4.3) updating W1: W1←W0+μ[I−f[Si]]gT[Si], wherein forms of functions f(⋅) and g(⋅) herein are respectively f[Si]=Si and g[Si]=Si3, gT(⋅) represents matrix transposition; and I represents a standard unit matrix;
(4.4) standardizing W1:
wherein ∥⋅∥ represents a matrix norm
represents to standardize W1, and “←” represents to standardize W1 and then assign a value to W1; and
(4.5) determining convergence: determining whether W1W1T→I, i.e., determining whether a product of W1W1T is infinitely approaching to I, “→” represents “infinitely approaching”; if yes, then outputting Si; otherwise, W0←W1, wherein “←” represents assigning, and returning to the step (4.2); and I represents a standard unit matrix.
Number | Date | Country | Kind |
---|---|---|---|
2015 1 0482994 | Aug 2015 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2015/095475 | 11/25/2015 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2017/024692 | 2/16/2017 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5469120 | Nguyen et al. | Nov 1995 | A |
6031386 | Cole, Jr. | Feb 2000 | A |
6621299 | Randazzo et al. | Sep 2003 | B1 |
20040230385 | Bechhoefer | Nov 2004 | A1 |
20040230387 | Bechhoefer | Nov 2004 | A1 |
Number | Date | Country |
---|---|---|
101246200 | Aug 2008 | CN |
102520341 | Jun 2012 | CN |
103439647 | Dec 2013 | CN |
104198924 | Dec 2014 | CN |
105044590 | Nov 2015 | CN |
Entry |
---|
“International Search Report (Form PCT/ISA/210) of PCT/CN2015/095475”, dated May 18, 2016, with English translation thereof, pp. 1-4. |
Number | Date | Country | |
---|---|---|---|
20180038909 A1 | Feb 2018 | US |