Académique Documents
Professionnel Documents
Culture Documents
4,October2013
FuzzyInferenceSystemandNeuroFuzzy
SystemsforAnalogFaultDiagnosis
MohamedElGamal*1,SamahElTantawy2
EngineeringMathematicsandPhysicsDepartment,CairoUniversity,FacultyofEngineering
TheAmericanUniversityinCairo,*2UniversityofToronto
*1,2
*1
*1
Cairo,2Egypt
*mhgamal@aucegypt.edu;2samah.el.tantawy@utoronto.ca
Abstract
complicatesthefaultdiagnosisprocess.
AFuzzyInferenceSystem(FIS)isbuilttomodelandclassify
faultsinanalogcircuits.Themeasurementsthatcharacterize
the circuit under test (CUT) behavior are selected using
feature extraction and dimensionality reduction techniques.
These measurements are utilized to construct a rule based
system that relates measurements (symptoms) to different
faults (causes). In addition, hybrid neurofuzzy systems are
also constructed and trained to isolate the CUT faults. The
integration of FIS and neural networks in these systems
combines the remarkable pattern recognition capabilities of
neuralnetworkswiththeabilityoffuzzylogictoincorporate
and interpret linguistic knowledge. As a result, a superior
diagnosis performance is obtained even if the CUT has
overlapping faults. A benchmark circuit iS tested to
demonstrate the high classification performance of the
proposedprocedure.
AnalogCircuits;FaultDiagnosis;FuzzyInferenceSystem;Neural
Network;NeurofuzzySystem
Introduction
116
Theinaccuracyincircuitmeasurementsbesides
the inability of measuring current without
breakingthecircuitconnections.
Keywords
ElectricalEngineeringResearchVol.1Iss.4,October2013
SimulationPhase
A selected set of possible faults of the CUT is first
defined as fault classes with particular indices 1,
2,.K,whereKisthenumberofpossiblefaultsofthe
CUT. Fault free situation is considered as fault class
with index 0. In particular, a given fault is applied to
the CUT, and the circuit simulation is performed in
the presence of the introduced fault. A set of
measurementsisextractedfromeverysimulationand
arranged in a vector called the measurement vector
which is considered as a pattern characterizing the
given fault class. To obtain a number of different
measurement vectors belonging to a particular fault
class,thecircuitwiththisfaultissimulatedmorethan
once by changing the faultfree circuit elements
aroundtheirnominalvaluesbutwithintheiraccepted
tolerance. Finally, different measurement vectors
belonging to a particular fault class are grouped into
an N M matrix, where N is the number of circuit
simulations (Mont Carlo simulations) and M is the
numberofmeasurements.
Preprocessingphase
Applyingvariousdatapreprocessingtechniquestothe
components of the measurement vectors maps these
vectors to another set of vectors called the feature
vectors,orthepatternvectors,whicharesupposedto
be more efficient in characterizing the corresponding
faultclasses;hencethetotalcomplexityofthesystem
can be reduced. In addition it helps in increasing the
accuracy of the system where redundant and
dependent parts of the measurement are suppressed.
Thepaperisorganizedasfollows;Section2describes
the general architecture of the fault diagnosis model.
The proposed FISACFD is illustrated in section 3.
Differenttypesofhybridizationoffuzzylogicsystems
andneuralnetworksarebrieflydiscussedinsection4.
Three stateoftheart neurofuzzy systems are briefly
outlined in section 5. A benchmark circuit example is
examined in section 6 to demonstrate the diagnosis
performance of the proposed approach and to
117
ElectricalEngineeringResearchVol.1Iss.4,October2013
TrainingSubsystem
The building phase includes four main tasks: the
definition of inputs and their fuzzy sets, construction
of the rule base, determination of fuzzy reasoning
operators, and finally identification of the
defuzzificationprocess.
To perform aforementioned tasks, the training data
should be constructed. The training data consists of
the input training patterns in matrix with . K
1 rows and columns and corresponding output
1 rows and
1
target matrix with .
columns;
, where
TrainingSubsystem
Trainingsubsystemisdividedintotwomainphases:a
building phase that sets up the basic structure of the
diagnosis system, and a learning phase that modifies
that structure in order to enhance the classifiers
performance.
1
0
where
1,2, . , .
1
1,2, . ,
1)BuildingPhase
The basic structure of the diagnosis system
representsthestartingpointofthelearningphase;
therefore, building the classifier should be
accurately designed in order to reduce the
probabilityofentrappinginlocalminimum.
1.
1)DefiningtheInputs
InputsofFISACFDaretheCUTextractedfeatures.
The entries of each feature vector can be
characterizedusinglinguisticvaluessuchasvery
low (VL), low(LO), moderate(MO), high
(HI),andveryhigh(VH).Linguisticvaluesare
interpretedasvaluesforfuzzyrestrictionsonsome
partitioned values of the corresponding feature.
Thesevaluesarerepresentedbyfuzzysets,e.g. ,
where represents feature index and represents
the corresponding fuzzy set value e.g. =LO. A
fuzzy set is characterized by a Membership
Function (MF), , where the MF are degrees to
2)LearningPhase
The second step in the training task is applying a
learning technique that change the classifiers
parameters in order to enhance the diagnosis
performanceoftheclassifierusingthetrainingdata.
TestingSubsystem
In the testing phase, the feature pattern is introduced
totheclassifierandthesamepreprocessingisapplied.
The classifier predicts the fault class that corresponds
totheappliedinputpattern.
(2)
118
(1)
ElectricalEngineeringResearchVol.1Iss.4,October2013
class.Thisisachievedbyconsideringtheobtained
membership grade matrix, , from the FCM
clustering algorithm with clusters to the sub
(in ) which has the patterns that
matrix
represent fault class i. As such,
1,2, ,
1 ,
1 .
,, .
and
1,2, , .Inthiscontext, isamembershipgrade
of pattern
that represents fault class
correspondingtocluster .Therepeatedrulesare
thendeletedtoproducearefinementRB.
centersofclusters ,where
membershipgradesofeachvalueinthe to
eachoneofthe clusters,thesemembership
grades are arranged in a matrix , where
1,2, . , .
1
1,2, ,
. In this context,
is a
membership grade of feature j in pattern
number i corresponding to cluster s. The
width of the MF, , is calculated as the
standard deviation of the input data
that has membership grade to cluster s
greaterthanaprespecifiedthreshold.
4)FuzzyReasoning
The product operator is selected to combine
antecedents and calculate the rule firing strength
;
(4)
1,2, .
5)DefuzzificationMethod
The centroid defuzzification method is used as it
directly computes the realvalued output as a
convex combination of the given fuzzy values for
this output contributed from all rules. The fuzzy
centroid is unique and uses all information of the
output fuzzy set. In particular, the fuzzy centroid
oftheoutputfuzzyvariable ,isgivenby
2)DefiningtheOutputs
The outputs of the system are the estimated
membership degrees for the input pattern to each
faultclass.Therefore,therewillbeasmanyoutputs
as fault classes. Each output ye, where
1,2,
1, is quantized into two fuzzy sets ,
where
1,2,representingtwofuzzyvalues,low
andhigh,
1
(3)
2
Each output
TestingSubsystem
3)DefiningtheRuleBase
TheRBofMamdaniFISisgenerallyconstructedto
reflect subjective reasoning using conditional
statements (IFTHEN statements). In the proposed
FISACFD, the RB is constructed by searching for
theappropriatesetofrulesthatdescribeeachfault
(5)
119
ElectricalEngineeringResearchVol.1Iss.4,October2013
mapthedefuzzifiedoutputvectoroftheFISACFDto
abinaryvector.Winnertakesallruleisappliedwhich
maps the highest component of the outputs to 1 and
itsothercomponentsto0,respectively;
max
1
0
ANFIS
ANFIS is perhaps the first hybrid NFS. ANFIS is
implementingasingleoutputSugenoFIS[Jang(1993)],
theRBisconstructedforthepurposeoffaultdiagnosis.
Anexampleoftherulesthatdescribefaultclassihas
thefollowingstructure
(6)
Neuro-Fuzzy Hybridization
The Neurofuzzy systems term is usually used for
every kind of combination of neural networks and
fuzzy systems. Neurofuzzy integration is done
broadlyintwoways:aneuralnetworkequippedwith
the capability of handling fuzzy information, known
as fuzzyneural network (FNN), and a fuzzy system
augmented by NNs to enhance some of its
characteristics like flexibility, speed, and adaptability,
knownasneuralfuzzysystem(NFS)[Abraham (2001),
Pal & Mitra (1999), Wang & Mendel (1992)].
Rule r: IF feature 1 is
.... and
feature R is
.
AFNNisaneuralnetworkthatusesfuzzymethodsto
learnfasterorperformbetter.InFNNeithertheinput
signals and/or the outputs are fuzzy sets. In this case
the improvement of the neural network to get better
performance is the main intention. An interpretation
in terms of fuzzy rules has the second priority here,
becausethesystemisbasedonaneuralnetworkwith
blackboxcharacteristics.
Arealtointegertransformationisusedthatmapsthe
real value output of the ANFIS classifier into an
integeronerepresentingthefaultclassindex.Thiscan
bedonesimplywithroundingfunction.
NEFCLASS
NEFCLASS is an NFS that implements a FIS without
MF in the consequent part of the rules. The main
components of this FIS for the CUT are the fuzzifier
and the RB only. This is due to the structure of the
NEFCLASSRB.ThisFISusesarulestructureinwhich
the consequent part is attached to the corresponding
fault class directly rather than a fuzzy set as in FIS
ACFD or weighted linear combination of the features
asinANFIS.Eachfaultclasscanbedescribedbymore
thanonerulewithdifferentantecedents.Atypicalrule
thatdescribesfaultclassihasthefollowingstructure;
120
and feature 2 is
Rule r: IF feature 1 is
and feature 2 is
.... and
,..,
0, ,0 , 1, 0, ,0
ElectricalEngineeringResearchVol.1Iss.4,October2013
FuNN
SallenKeyBandPassActiveFilterCircuit
TheSallenandKeybandpassactivefiltercircuitwith
nominal value of circuit components is shown in
Figure 1. It is considered as a benchmark circuit in
analogfaultdiagnosis[Aminianetal.(2000),Aminian
etal.(2002),Abu El-Yazeed & Mohsen (2002)].
Rule r: IF feature 1 is
, feature 2 is
,...andfeatureFis
and
Output
3
,..., and
, ..., and
,...,
FIG.1SALLENANDKEYBANDPASSACTIVEFILTERCIRCUIT
R1=1k,R2=3k,R3=2k,R4=R5=4k,andC1=C2=15nf
TABLE1ALISTOFSOFTFAULTSOFSALLENANDKEYBANDPASSACTIVE
FILTERWHEREREPRESENTS50%UPTHENOMINALVALUEANDFOR
THEN
50%DOWN
is LO
HI
,
,
and HI
, ..., and
,
, is LO
is LO
,
and
and HI
where
. is a degree of importance attached to the
fuzzy set number of feature j (i.e ) corresponding
to rule number
1,2, ,
have
Nominal
value
Fault
class
Fault
index
Fault
class
Fault
index
C1
C2
R2
R3
R4
15nf
15nf
3k
2k
4k
1
3
5
7
9
2
4
6
8
10
AvariablesinusoidalinputisappliedtotheCUT,four
frequencies(10kHz,16.1kHz,26kHzand70kHz)were
chosenbasedonasensitivityanalysisalgorithm[Abu ElYazeed & Mohsen (2002)]
. On the
otherhand,
, isconfidencefactorattachedtothe
consequent part of the rule number r to the fuzzy set
1,2.LO
numbersforthefuzzyoutputnumber, ,
and HI fuzzy sets in the consequent of the rule are
defined as two equally distributive triangular fuzzy
setsovertheinterval[0,1].
Thecircuitoutputisselectedastheonlytestnode.For
each fault scenario, 200 MonteCarlo simulations are
performedwhiletheoutputvoltageissampledinthe
first 0.5 ms with 5
to get
100samples
for each waveform. As such the simulated time
samplesarerepresentedbya(2200x100)matrix.
Experimental Results
A benchmark circuit example is presented to
demonstratethepotentialofthedevelopedprocedure,
namely,theSallenKeybandpassactivefiltercircuit.
Element
121
ElectricalEngineeringResearchVol.1Iss.4,October2013
FIG.5THERBOFFISACFDFOREXAMPLE1
Asanexample,therulethatdescribesfaultclass1,R1
infigure5,canbeinterpretedasfollows;
FIG.2SELECTEDANDEXTRACTEDTRAININGFEATURES
USINGWAVELETTRANSFORM,PCAANDNORMALIZATION
FOREXAMPLE1
R1:IFfeature1isHIandfeature2isHIandfeature3
isLOandfeature4isMOandfeature5isMOTHEN
faultclass1isHIandallotherfaultclassesareLO
AsaresultofusingANFIS,thediagnosisperformance
is99.18%forbothrecallcapabilityandadaptability.
ANFIS
ThestructureoftheRBantecedentsisinitializedtobe
the same as the RB of the FISACFD. Due to random
initialization of consequent parts, the recall capability
percentage and the adaptability percentage are
measured for 20 ANFISs that are initialized with
different random consequents. The average diagnosis
performancewas99.73%forbothrecallcapabilityand
adaptability.
FIG.3DISTRIBUTIONOFINPUTFEATURESFOREXAMPLE1
FISACFD
ThestructureoftheFISACFD,asdescribedinsection
3,consistsof:afuzzifierthathascertainnumberofMF
for each of the five features, a rule base, and a
defuzzifier with 2 MF for each of the 11 outputs
(Figure 4). Number of MF that corresponds to a
feature is chosen based on the distribution of each
feature.TheappropriatenumberofMFisfoundtobe
3 (LO, MO and HI) for each input feature. The RB is
constructed by the algorithm described in section 3
with 11 rules, one for each fault class as shown in
Figure5.
NEFCLASS
The RB is constructed by determining the best rules
per class. A total of 14 rules are constructed. The
diagnosis performance of the trained NEFCLASS is
99.73% and 99.18% for recall capability and
adaptability,respectively.
The RB and fuzzy representation of features are
interpretable as in the FISACFD. Although better
diagnosis performance is achieved, more rules are
neededcomparedtoANFIS,NEFCLASSissimplerin
trainingandhasmoreinterpretableRB.
FuNN
The network structure of FuNN has 5 nodes for the
first layer which is the number of input features, 15
nodesforthesecondlayerthatrepresent3MFforeach
feature, 22 nodes for the forth layer which are
FIG.4THESTRUCTUREOFTHEFISACFDFOREXAMPLE1
122
ElectricalEngineeringResearchVol.1Iss.4,October2013
correspondingto2MFforeachoutputand11output
nodes for the fifth layer. The MF of the inputs and
outputs(i.e.theinputandoutputconnectionweights)
do not change during the training time because a
modifiedBPalgorithmisusedforthepurposeofrule
adaptation.TheFuNNmodelwith7rules(i.e.,7nodes
inthethirdlayer)hasachievedthebestperformance.
The FuNN has 100% diagnosis performance, both for
recallcapabilityandadaptability.
The results obtained here are compared with the
results obtained for the same CUT using NNbased
classifiers [Aminian et al. (2002), Abu El-Yazeed &
Mohsen (2002)]. Aminian et al. [Aminian et al. (2002)]
used a feed forward NN as a classifier. The impulse
responseoftheCUT,attestnode1,wassimulatedat
faultfree case, in addition to 8 soft fault scenarios.
Two soft faults are simulated for each of the circuit
componentsR2,R3,Cl,andC2.Componentvaluesare
tolerated by + 50% and 50% in the fault scenarios.
For each fault, a training set of 20 patterns, each
having 4 wavelet features, is used to train the NN
classifier.Thesystemachievesaclassificationaccuracy
of 97% when tested by 40 patterns for each fault
scenario [Aminian et al. (2002)]. Abu ElYazeed et
al.[Abu El-Yazeed & Mohsen (2002)] considered the
same circuit in a fault diagnosis system using Auto
Regressive Moving Average (ARMA) model as a
preprocessor and a BP neural network as a classifier.
Theusedclassifierwasnotabletodistinguishbetween
the faultfree and the (R2) faulty condition. 6 more
fault scenarios are simulated for the circuit
components R1, R4, and R5. The system achieved a
classification accuracy of 99.58% in testing when the
number of nodes in the hidden layer is set to 12. The
aboveresultsdemonstratethesuperiorperformanceof
the fuzzy and neurofuzzy approaches compared to
otherNNbasedapproaches.
Conclusions
ThispaperdemonstratesthecapabilityoftheFISand
neurofuzzymodelstoisolatefaultsinanalogcircuits.
Anovelfuzzyinferencesystemisefficientlydesigned
tocharacterizedifferentfaultsoftheCUT.Arulebase
for each fault that relates measurements to faulty
elementsisconstructed.Trainingdatawaspreprocessed
using WT and PCA. Three prominent neurofuzzy
models are also exploited in modeling circuit faults.
The superior diagnosis performance of the proposed
approach is attributed to the fusion of NNs and FIS
TheproposedFISforanalogfaultdiagnosishas
relatively good and interpretable diagnosis
performance despite the absence of learning
ability.
TheproposedalgorithmfordefininginputMF
andRBisutilizedefficientlyininitializationof
ANFIS.
REFERENCES
123
ElectricalEngineeringResearchVol.1Iss.4,October2013
EnglewoodCliffs,NJ,PrrnticeHall,1989.
method,AEU56,pp.1622,2002.
system,IEEETrans.Syst.,Man,Cybern.,vol.23,No.3,pp.
665685,1993.
usingARMAModel,AEU,Vol.57,2003.
USA,1997.
approach.IEEEInternationalSymposiumonCircuitsand
Systems,Vol.6,pp.134139,1994.
Cambridge,MA,1996.
IEEE
Trans.
on
Instrumentation
and
Measurement,Vol.51,pp.544550,2002.
Aminian,M.andAminian,F.NeuralNetworkBasedAnalog
JournalofManMachineStudies,7(1):113,1975.
AnalogandDigitalSignalProcessing,Vol47,pp.151156,
Symp.AppliedComputing,Nashvill,TN,1995.
2000.
Bandler,J.W.,Salama,A.FaultDiagnosisinAnalogCircuits
MethodsinSoftComputing,JohnWiley&SonsInc,USA,
andSystems.Proc.IEEE.Vol.73,pp.1279325,1985.
1999.
Testing,TheoryandApplications,2007
computingconference,Malta,pp.267274,2008.
ElGamal,M.A.,GeneticallyEvolvedNeuralNetworksfor
Appl.,(Springer),vol.11,pp.112121,2002.
ElGamal,M.A.,Abdulghafour,M.Afuzzylogicsystemfor
IEEETrans.OnReliability,Vol.54,pp.441448,2005.
SymposiumonCircuitsandSystems,Atlanta,GA,pp.97
100,1996.
ElGamal,M.Faultlocationandparameteridentificationsin
132,1985.
Athens,OH,1990.
814,1992.
M.A.ElGamalreceivedhisBSCdegrees
in Electronics Engineering from Cairo
University and in Applied Mathematics
from Ain Shams University in 1977 and
1980 respectively. He received his M SC
andPh.D.degreesfromOhioUniversity,
Athens, Ohio in Electrical and Computer
Engineering in 1985 and 1990
faultclassification.JElectronTesting:TheoryAppl,Vol.14,
pp.207217,1999.
Fenton, W. G., McGinnity, T. M., and Maguire, L. P. Fault
Diagnosis of Electronic Systems Using Intelligent
Techniques: A review. IEEE Transactions on Systems,
Man and Cybernetics. Part C: Applicationsand Reviews,
Vol.31,pp.269281,2001.
respectively.
124
ElectricalEngineeringResearchVol.1Iss.4,October2013
Universityfrom1985to1990.In1987,hejoinedtheNational
Institute of Standards and Technology, Gaithersburg,
Marylandasaguestscientistforsixmonths.Since1991,Dr.
ElGamal is with the Department of Engineering
Mathematics and Physics, Faculty of Engineering, Cairo
UniversitywhereheisnowaProfessor.From1993to1999he
was on leave with the Department of Computer Science at
theUnitedArabEmiratesUniversity.
Dr. ElGamal is an author and a coauthor of more than 35
researchpaperspublishedininternationalresearchjournals
and conferences. He also supervised a large number of
masteranddoctoratestudents.Hisresearchinterestsinclude
fault diagnosis of analog and mixed signal circuits, neural
networkbasedclassificationalgorithmsandapplicationsof
fuzzylogicandgeneticalgorithms.
SamahElTantawyisapostdoctoralfellow
at the ITS Lab and Testbed, University of
Toronto.SamahcompletedherPhDin2012
inthefieldofITSatUniversityofToronto.
She completed her Bachelor degree in
Electrical
and
Communication
Engineering, Cairo University in 2004 and
her M.Sc. degree in Engineering Mathematics, Cairo
125