SlideShare a Scribd company logo
1 of 9
Download to read offline
Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 1 | 9
Final Project for MSE614 Spring 2015
Instructor: Ileana Costea, Ph.D
An Expert System for Car Failure Diagnosis
GROUP # 6
ARZA TULASIRAM X
GADUPUDI SUMANTH X
JAYSWAL VIRALKUMAR HARSHADKUMAR X
PAMUDURTHY SURYA KIRAN X
VENKATESH SANJAYKUMAR X
VENKATA SURYA KUMAR RAJULA X
Date: May 14th, 2015
Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 2 | 9
An Expert System for Car Failure Diagnosis
Abstract:
Car failure detection is a complicated process and requires high level of expertise. Any attempt of
developing an expert system dealing with car failure detection has to overcome various difficulties. This project
report describes a proposed knowledge-based system for car failure detection. The report explains the need for an
expert system and the some issues on developing knowledge-based systems, the car failure detection process and
the difficulties involved in developing the system. The system structure and its components and their functions are
described. The system has about 150 rules for different types of failures and causes. It can detect over 100 types of
failures. The system has been tested and gave promising results. Applications in fault diagnosis are continuously
being implemented to serve different sectors. Car failure detection is a sequence of diagnostic processes that
necessitates the deployment of expertise. The Expert System (ES) is one of the leading Artificial Intelligence (AI)
techniques that have been adopted to handle such task. This paper presents the imperatives for an ES in developing
car failure detection model and the requirements of constructing successful Knowledge-Based Systems (KBS) for
such model. Furthermore, diagnosis of car faults requires high technical skills and experienced mechanics who are
typically scarce and expensive to get. Thus, systems can be highly useful in assisting mechanics for failure
detection and training purposes. Moreover, capturing and retaining valuable knowledge on such domain yield more
accurate and less time consuming models.
Keywords- Expert system (ES), Artificial Intelligence (AI), Car Failure Diagnosis System (CFDS), Knowledge-
Based System (KBS), Inference engine.
INTRODUCTION:
Nowadays, the car technology is very crucial and significant to any car manufacturing companies as car
Specifications are changing rapidly stimulated by environmental and economic factors. This issue presents a
challenge to both car mechanics and drivers in handling car failures and malfunctions. With the advent of new
technologies like the hybrid engine, there are many changes that need to be learned. In fact, in a normal situation,
car fault identification is still a challenging task, especially for the inexperienced mechanics and drivers.
Consequently, the success of finding the fault is extremely dependent on the expertise of the individual. However,
the dependence on the experts can be minimized if the expertise is captured, documented, and retained in some
computer applications. [3]
Researchers, institutions, and firms focus a great deal of attention in theoretical and practical diagnosis on
technical systems failure. Different types of AI techniques have been successfully applied in the diagnosis domain.
The required AI techniques for such domain have to be capable of emulating the human brain’s diagnostic
processes. The Expert System (ES) is one of the well-known reasoning techniques that is utilized in diagnosis
applications domain. In ES, human knowledge about a particular expertise to accomplish a particular task is
represented as facts and rules in its knowledge base. It seeks and uses the information provided by a user.
Reasoning process is then performed over the represented knowledge using heuristic approaches to formulate a
solution. [4-5]
The definition of an ES as proposed: “an intelligent computer program that uses knowledge and inference
procedures to solve problems that are difficult enough to require significant human expertise for their solution”.
The ES is a knowledge-based system that consists of two main modules: the knowledge base and the inference
engine. It usually has a knowledge acquisition module and an explanation module as extra components. A typical
expert system is as shown in Figure 1. Systems that utilize the knowledge base approach are more straightforward
than the conventional approach. Knowledge is represented explicitly in the knowledge base so that it can be altered
with relative ease. This representation often takes the form of rules. The inference engine utilizes the knowledge
base contents to solve a particular problem according to the user responses through an interface (e.g. enter the
symptoms of the car fault). The inference module exploits the knowledge to apply that knowledge to the given
problem. [6-7]
Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 3 | 9
Fig. 1 Expert system main components
Expert systems (ES) are a branch of artificial intelligence (AI), and were developed by the AI community
in the mid-1960s. An expert system can be defined as "an intelligent computer program that uses knowledge and
inference procedures to solve problems that are difficult enough to require significant human expertise for their
solutions. We can infer from this definition that expertise can be transferred from a human to a computer and then
stored in the computer in a suitable form that users can call upon the computer for specific advice as needed. Then
the system can make inferences and arrive at a specific conclusion to give advices and explains, if necessary, the
logic behind the advice. [1]
ES provide powerful and flexible means for obtaining solutions to a variety of problems that often cannot
be dealt with by other, more traditional and orthodox methods The terms expert system and knowledge-based
system (KBS) are often used synonymously. The four main components of KBS are: a knowledge base, an
inference engine, a knowledge engineering tool, and a specific user interface. Some of KBS important applications
include the following: medical treatment, engineering failure analysis, decision support, knowledge representation,
climate forecasting, decision making and learning, and chemical process controlling. [2]
PROBLEM IDENTIFICATION:
The proposed system divides car failures into three major types:
1. Start-up state, problems that may occur when a person try to start up the car, for example; engine does not work,
some sounds noticed, engine works ones and stops. These problems could be due to one or more failures; will
happen, the battery needs to be recharged, the dynamo is dead, or the battery is dead.
2. Run-stable state, problems that may occur after starting the car, for example; unburned fuel, cycle on-off, blue
gas emitted, avance is very high.
3. Movement-state, problems that may occur while the car is moving; this state also includes problems related to
the brake system. Most of movement problems that might occur appears on the car’s tableau the proposed system
takes advantage of these facilities and use them to diagnose the problem and to gives advice of the solution to the
driver. Some of these problems are: oil pressure, water temperature, voltage, and fuel pointer.
If the car is in the start-up state and doesn't start, then the cause could be one of three main reasons: a bad fuel mix,
lack of compression or lack of spark. In addition, thousands of minor things can create problems, but these are the
main three.
Bad fuel mix: A bad fuel mix can occur in several ways:
1. The car ran out of gas, so the engine is getting air but no fuel.
2. The air intake might be clogged, so there is fuel but not enough air.
3. The fuel system might be supplying too much or too little fuel to the mix, meaning that combustion does not
occur properly.
4. There might be an impurity in the fuel (like water in your gas tank) that makes the fuel not burn.
Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 4 | 9
Lack of compression: If the charge of air and fuel cannot be compressed properly, the combustion process will not
work like it should. Lack of compression might occur for these reasons:
1. Piston rings are worn (allowing air/fuel to leak past the piston during compression).
2. The intake or exhaust valves are not sealing properly, again allowing a leak during compression.
3. There is a hole in the cylinder.
Lack of spark: The spark might be nonexistent or weak for a number of reasons:
1. If the spark plug or the wire leading to it is worn out, the spark will be weak.
2. If the wire is cut or missing, or if the system that sends a spark down the wire is not working properly, there will
be no spark.
3. If the spark occurs either too early or too late in the cycle (i.e. if the ignition timing is off), the fuel will not ignite
at the right time, and this can cause all sorts of problems.
Other Problems: The following problems are also taken into consideration in the system.
1. If the battery is dead, the engine cannot turn over.
2. If the bearings that allow the crankshaft to turn freely are worn out, the crankshaft cannot turn so the engine
cannot run.
3. If the valves do not open and close at the right time or at all, air cannot get in and exhaust cannot get out, so the
engine cannot run.
4. If someone sticks a potato up your tailpipe, exhaust cannot exit the cylinder so the engine will not run.
5. If you run out of oil, the piston cannot move up and down freely in the cylinder, and the engine will seize.
In addition to the above problems, the proposed method also has dealt with problems that may occur in the
following systems: cooling system, air intake system, starting system, lubrication system, fuel system, exhaust
system, emission control and electrical system.
DESIGN AND IMPLEMENTATION OF THE KBS:
The KBS developed in this work consists of the user interface, the explanation facility, the knowledge base, and the
inference engine. The structure of KBS is shown in (Fig.2).
Fig.2 Structure of the car failure diagnosis system
Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 5 | 9
A. User Interface
Communication between the user and the system is done through the user interface which implemented in
both Arabic and English languages. The user interface is represented as a menu which displays the questions to the
user and the user answers with Yes or No. When the system is started a main menu is displayed on the screen
which asks the user to choose one of the three car states (Fig.3).
Fig.3 Startup menu of then system
B. Explanation Facility
Illustrates to the user how and why the system gave a certain cause for the failure, i.e. explains the
reasoning of the system to the user.
C. Knowledge Base
The knowledge of the system is collected from mechanic experts, specialized books, and from different car
websites. The knowledge base contains about 150 production rules for different types of car failures and causes.
Fig.4 The production system after Rule 1 is fired
Fig. 5 Four assumed rules in the agenda
Fig.5 Four assumed rules in the agenda
Working Memory
The engine is getting gas
The engine will turn over
The problem is spark plugs
Production Rules
Rule 1
Rule 2
Rule 3
Rule 4
Car Failure Diagnosis Expert System
1. Start-Up state.
2. Run-Stable state.
3. Movement state.
4. Exit the program.
Enter your selection according to the car state;
Rule 1: IF the engine is getting gas, AND the engine will turn over,
THEN the problem is spark plugs.
Rule 2: IF the engine does not turn over, AND the lights do not come on,
THEN the problem is battery or cables.
Rule 3: IF the engine does not turn over, AND the lights do not come on,
THEN the problem is the starter motor.
Rule 4: IF there is gas in the fuel tank, AND there is gas in the carburetor,
THEN the engine is getting gas.
Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 6 | 9
D. Inference Engine
When abnormal situation arises in the car, the KBS makes inferences by deciding which rules are satisfied
by facts stored in the working memory and executes the rule with highest priority and propose proper correcting
solution. The rules whose patterns are satisfied by facts in the working memory are stored in the agenda part of the
inference engine. Figure 4 & 5 explains the inference process of the system using the rules listed as below. Figure 6
shows the relationships between the four rules used in this example. The inference engine traces the applicable facts
that represent the corresponding symptoms (i.e. the observed Variables or behavior) and apply them to the tagged
rules. In the proposed Car Failure Diagnosis System (CFDS), production-rules is the chosen form for knowledge
representation. Additionally, the inference engine is the forward-chaining type (data driven mode) as shown in
Figure 6. Forward-chaining inference engine has the advantages of producing solutions for the unformulated
problems. In this type of engine, the satisfactory facts that meet the rules conditions are promoted to be triggered.
All the applicable rules resulting from the previous process make up the conflict set of rules to be implemented
according to specific order that enables solution generation.
Fig. 6 Forward-chaining algorithm
Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 7 | 9
E. Car Failure Diagnosis System (CFDS) Decision Tree
Car failure diagnosis is an investigation process which requires search operation of the symptoms and the
indicators that can lead to the problem’s solution. Due to the fact that the car consists of many internal systems
such as ignition system, fuel injection system, cooling system, braking system, lubrication system, air intake and
exhaust systems which all are interconnected, faults are difficult to trace and find. As a result, a decision tree is
considered as a useful approach in such situation. Rule-based approach is a good candidate to the problems that can
be represented in decision tree form. In the following example, a basic rule is presented as it is needed in the system
analytical reasoning process:
if ? motion starter gives sound is Yes and
? motion starter sound is normal Yes and
? fuel tank empty is No
then ? fuel pump damaged is Yes.
According to, “a rule describes the action that should be taken if a symptom is observed. The empirical
association between premises and conclusions in the knowledge base is their main characteristic.” In the previous
rule example, the system looks for then examines the keywords like give sound, sound normal and tank empty
which are the conditions variables to find the satisfied rule or rules. The following figure shows one of the main
branches of the decision tree of the proposed
Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 8 | 9
Advance Car Failure Diagnosis System (CFDS) Process
The CFDS is an online system with multi-tasking capabilities that is directive for car fault detection. It
Provides information sources and knowledge interaction and evaluation regarding the technical process to be
tackled. Such tasks are failure tracing, failure recognition, and customer advising that requires it to adopt various
types of modules (Fig 5). Each module’s goal is achieved by applying a number of processes. Figure 5 shows the
system components in a process level. One of the main characteristics of the CFDS is the addition of the database
to be in parallel with the system’s knowledge base. An interaction is held between the knowledge base and the
database including information transfer about the processes under execution. The database works as a temporary
storage due to its continuous change in state. The knowledge base of the system encompasses both the derived and
the heuristic knowledge about the required car failure diagnostic process. The inference engine is built to do the
reasoning based on several algorithmic procedures that enable it to reach the required conclusion.
Fig. 7 Advance CFDS processes
Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 9 | 9
Conclusion and Future Work
In this project, Expert system (ES), Artificial Intelligence (AI), Car Failure Diagnosis System (CFDS), Knowledge-
Based System (KBS), Inference engine are presented. The proposed CFDS is utilized to assist inexperienced
mechanics or drivers who face sudden failure in the car and provide decision support system. In addition, CFDS is
considered as an interactive training tool that can provide expert guidance in car fault detection. Using this system,
loss of customers and income due to lack or inadequacy of knowledge can be mitigated. The system indicated that a
full expert system will be practical and can be extremely useful in providing consistent car failure detection.
Further work is needed to improve the system by adding sufficient domain knowledge that represents domain
knowledge thoroughly. Plans are underway to convene experts to use the system to assist them in their jobs of car
failure detection.
System implementation results indicate that the system has significance in places where work productivity is
improved by decreasing fault diagnosis time and increasing users understanding. More so, it can be considered as a
successful alternative to the highly skilled mechanics. Further improvement to the system domain knowledge
specifications is required to enhance domain knowledge representation. Furthermore, adopting another AI
technique to work in system rules revision to add more effectiveness to the diagnosis process will be considered. In
summary, the system has the characteristics of good expert systems, such as high performance, adequate response
time, understandability, and understandability.
REFERENCES
[1] Joseph Giarratano, Gary Riley (2004). Expert Systems: Principles and Programming, Fourth Edition.
[2] Shu-Hsien Liao (2005). Expert system methodologies and applications - a decade review from 1995 to 2004,
Expert Systems with Applications, 28, 93-103.
[3] K. S. E. Ricardo Nurzal, “A Decision Support System for Car Fault Diagnosis Using Expert System”,
International Journal of Information Sciences for Decision Making, N 2, 1998.
[4]D. D. Milanović, M. Misita, D. Tadić and D. L. Milanović, “The Design of Hybrid System for Servicing Process
Support in Small Businesses, FME Transactions”, 2010, 38, 143-149.
[5] S. Samy, Abu Naser, Abu Zaiter and A. Ola, “An Expert System For Diagnosing Eye Diseases Using Clips”,
Journal of Theoretical and Applied Information Technology, 2008.
[6] E. Feigenbaum, Knowledge Engineering in 1980’s: Department of Computer Science, Stanford University,
1982, Stanford C
[7] A. A. Hopgood, Intelligent Systems for Engineers and Scientists (2nd Edition): CRC Press, 2001. How stuff
works, http://auto.howstuffworks.com/engin.htm, http://science.howstuffworks.com/fire-engin.htm
[8] Rebuilt Auto Car N' Truck Engines, http://www.rebuilt-auto-engines.com,
[9] Car Engine Products in The UK's Leading Online Car Accessory Store,
http://www.speeding.co.uk/acatalog/engine.html
[10] car: engine: combustion, http://www.halfbakery.com/category/Car_3a_20Engine_3a_20Combusti
on/
[11] Youtube; https://www.youtube.com/watch?v=MS0fU_OOmVQ
[12] Youtube; https://www.youtube.com/watch?v=6kVK0qty7M0
[13] Youtube; https://www.youtube.com/watch?v=ASTLnO1BI64
[14] Youtube; https://www.youtube.com/watch?v=sXycW3tykNg
[15] Youtube; https://www.youtube.com/watch?v=RKjdnQ0sHQc

More Related Content

What's hot

A completed modeling of local binary pattern operator
A completed modeling of local binary pattern operatorA completed modeling of local binary pattern operator
A completed modeling of local binary pattern operatorWin Yu
 
Inductive analytical approaches to learning
Inductive analytical approaches to learningInductive analytical approaches to learning
Inductive analytical approaches to learningswapnac12
 
Eigenface For Face Recognition
Eigenface For Face RecognitionEigenface For Face Recognition
Eigenface For Face RecognitionMinh Tran
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to VirtualizationRahul Hada
 
Expert systems
Expert systemsExpert systems
Expert systemsJithin Zcs
 
Design concept -Software Engineering
Design concept -Software EngineeringDesign concept -Software Engineering
Design concept -Software EngineeringVarsha Ajith
 
SE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelSE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelAmr E. Mohamed
 
Production system in ai
Production system in aiProduction system in ai
Production system in aisabin kafle
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7koolkampus
 
Open Source Cloud Computing -Eucalyptus
Open Source Cloud Computing -EucalyptusOpen Source Cloud Computing -Eucalyptus
Open Source Cloud Computing -EucalyptusSameer Naik
 
Expert system 21 sldes
Expert system 21 sldesExpert system 21 sldes
Expert system 21 sldesYasir Khan
 
Classification by back propagation, multi layered feed forward neural network...
Classification by back propagation, multi layered feed forward neural network...Classification by back propagation, multi layered feed forward neural network...
Classification by back propagation, multi layered feed forward neural network...bihira aggrey
 
Machine Learning for Weather Forecasts
Machine Learning for Weather ForecastsMachine Learning for Weather Forecasts
Machine Learning for Weather Forecastsinside-BigData.com
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategiesSHREEHARI WADAWADAGI
 

What's hot (20)

A completed modeling of local binary pattern operator
A completed modeling of local binary pattern operatorA completed modeling of local binary pattern operator
A completed modeling of local binary pattern operator
 
Inductive analytical approaches to learning
Inductive analytical approaches to learningInductive analytical approaches to learning
Inductive analytical approaches to learning
 
Eigenface For Face Recognition
Eigenface For Face RecognitionEigenface For Face Recognition
Eigenface For Face Recognition
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to Virtualization
 
Expert systems
Expert systemsExpert systems
Expert systems
 
Design concept -Software Engineering
Design concept -Software EngineeringDesign concept -Software Engineering
Design concept -Software Engineering
 
SE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelSE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context Model
 
Production system in ai
Production system in aiProduction system in ai
Production system in ai
 
PAC Learning
PAC LearningPAC Learning
PAC Learning
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7
 
Object oriented analysis and design unit- ii
Object oriented analysis and design unit- iiObject oriented analysis and design unit- ii
Object oriented analysis and design unit- ii
 
Open Source Cloud Computing -Eucalyptus
Open Source Cloud Computing -EucalyptusOpen Source Cloud Computing -Eucalyptus
Open Source Cloud Computing -Eucalyptus
 
Radial Basis Function
Radial Basis FunctionRadial Basis Function
Radial Basis Function
 
Expert system 21 sldes
Expert system 21 sldesExpert system 21 sldes
Expert system 21 sldes
 
Image captioning
Image captioningImage captioning
Image captioning
 
Frames
FramesFrames
Frames
 
Classification by back propagation, multi layered feed forward neural network...
Classification by back propagation, multi layered feed forward neural network...Classification by back propagation, multi layered feed forward neural network...
Classification by back propagation, multi layered feed forward neural network...
 
Truth management system
Truth  management systemTruth  management system
Truth management system
 
Machine Learning for Weather Forecasts
Machine Learning for Weather ForecastsMachine Learning for Weather Forecasts
Machine Learning for Weather Forecasts
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 

Similar to Report-An Expert System for Car Failure Diagnosis-Report

Finalpresentation 120711124135-phpapp02
Finalpresentation 120711124135-phpapp02Finalpresentation 120711124135-phpapp02
Finalpresentation 120711124135-phpapp02Bhargava Dutt
 
Conceptual framework of web based expert system for troubleshooting milleniu...
Conceptual framework of web  based expert system for troubleshooting milleniu...Conceptual framework of web  based expert system for troubleshooting milleniu...
Conceptual framework of web based expert system for troubleshooting milleniu...Yekini Nureni
 
Conceptual framework of web based expert system based expert
Conceptual framework of web  based expert system based expertConceptual framework of web  based expert system based expert
Conceptual framework of web based expert system based expertYekini Nureni
 
Cmsc411(Pascuappt Report)
Cmsc411(Pascuappt Report)Cmsc411(Pascuappt Report)
Cmsc411(Pascuappt Report)Mannilou Pascua
 
Testing safety critical control systems
Testing safety critical control systemsTesting safety critical control systems
Testing safety critical control systemsyvjadi123
 
Self learning computer
Self learning computerSelf learning computer
Self learning computerijaia
 
Introduction to Vehicle Electronic Systems and Fault Diagnosis
Introduction to Vehicle Electronic Systems and Fault DiagnosisIntroduction to Vehicle Electronic Systems and Fault Diagnosis
Introduction to Vehicle Electronic Systems and Fault DiagnosisPraneel Chand
 
Om0015 – maintenance management
Om0015 – maintenance managementOm0015 – maintenance management
Om0015 – maintenance managementsmumbahelp
 
Design a rule based expert system for eia
Design a rule based expert system for eiaDesign a rule based expert system for eia
Design a rule based expert system for eiaEr. rahul abhishek
 
C3Problems and Brainstorming.ppt
C3Problems and Brainstorming.pptC3Problems and Brainstorming.ppt
C3Problems and Brainstorming.pptvijayapraba1
 
article review.pdf
article review.pdfarticle review.pdf
article review.pdfmikyaswoldu1
 
Qtility - Content Management Strategies 2015
Qtility - Content Management Strategies 2015Qtility - Content Management Strategies 2015
Qtility - Content Management Strategies 2015clarkems
 
System Development Life Cycle ( Sdlc )
System Development Life Cycle ( Sdlc )System Development Life Cycle ( Sdlc )
System Development Life Cycle ( Sdlc )Jennifer Wright
 

Similar to Report-An Expert System for Car Failure Diagnosis-Report (20)

expert systems
expert systemsexpert systems
expert systems
 
Finalpresentation 120711124135-phpapp02
Finalpresentation 120711124135-phpapp02Finalpresentation 120711124135-phpapp02
Finalpresentation 120711124135-phpapp02
 
Conceptual framework of web based expert system for troubleshooting milleniu...
Conceptual framework of web  based expert system for troubleshooting milleniu...Conceptual framework of web  based expert system for troubleshooting milleniu...
Conceptual framework of web based expert system for troubleshooting milleniu...
 
Conceptual framework of web based expert system based expert
Conceptual framework of web  based expert system based expertConceptual framework of web  based expert system based expert
Conceptual framework of web based expert system based expert
 
Cmsc411(Pascuappt Report)
Cmsc411(Pascuappt Report)Cmsc411(Pascuappt Report)
Cmsc411(Pascuappt Report)
 
PASCUA(REPORT.CMSC411)
PASCUA(REPORT.CMSC411)PASCUA(REPORT.CMSC411)
PASCUA(REPORT.CMSC411)
 
Sjaq
SjaqSjaq
Sjaq
 
Testing safety critical control systems
Testing safety critical control systemsTesting safety critical control systems
Testing safety critical control systems
 
Self learning computer
Self learning computerSelf learning computer
Self learning computer
 
Introduction to Vehicle Electronic Systems and Fault Diagnosis
Introduction to Vehicle Electronic Systems and Fault DiagnosisIntroduction to Vehicle Electronic Systems and Fault Diagnosis
Introduction to Vehicle Electronic Systems and Fault Diagnosis
 
1 Expert System.ppt
1 Expert System.ppt1 Expert System.ppt
1 Expert System.ppt
 
Dr.Szirmay Rókus Igazgató
Dr.Szirmay Rókus IgazgatóDr.Szirmay Rókus Igazgató
Dr.Szirmay Rókus Igazgató
 
Om0015 – maintenance management
Om0015 – maintenance managementOm0015 – maintenance management
Om0015 – maintenance management
 
Design a rule based expert system for eia
Design a rule based expert system for eiaDesign a rule based expert system for eia
Design a rule based expert system for eia
 
C3Problems and Brainstorming.ppt
C3Problems and Brainstorming.pptC3Problems and Brainstorming.ppt
C3Problems and Brainstorming.ppt
 
article review.pdf
article review.pdfarticle review.pdf
article review.pdf
 
Ems
EmsEms
Ems
 
Qtility - Content Management Strategies 2015
Qtility - Content Management Strategies 2015Qtility - Content Management Strategies 2015
Qtility - Content Management Strategies 2015
 
System Development Life Cycle ( Sdlc )
System Development Life Cycle ( Sdlc )System Development Life Cycle ( Sdlc )
System Development Life Cycle ( Sdlc )
 
Topic8expertsystem 120503030324-phpapp02
Topic8expertsystem 120503030324-phpapp02Topic8expertsystem 120503030324-phpapp02
Topic8expertsystem 120503030324-phpapp02
 

More from Viralkumar Jayswal

MSE517 NEW HORIZON Final Project - Team 4(2)
MSE517 NEW HORIZON Final Project - Team 4(2)MSE517 NEW HORIZON Final Project - Team 4(2)
MSE517 NEW HORIZON Final Project - Team 4(2)Viralkumar Jayswal
 
MSE 507 San Fernando Valley Lattet_ (5S)
MSE 507 San Fernando Valley Lattet_ (5S)MSE 507 San Fernando Valley Lattet_ (5S)
MSE 507 San Fernando Valley Lattet_ (5S)Viralkumar Jayswal
 
Single Slider Crank mechanism based canplastic bottle crusher.Proj.MSE508
Single Slider Crank mechanism based canplastic bottle crusher.Proj.MSE508Single Slider Crank mechanism based canplastic bottle crusher.Proj.MSE508
Single Slider Crank mechanism based canplastic bottle crusher.Proj.MSE508Viralkumar Jayswal
 
Poster-An Expert System for Car Failure Diagnosis
Poster-An Expert System for Car Failure DiagnosisPoster-An Expert System for Car Failure Diagnosis
Poster-An Expert System for Car Failure DiagnosisViralkumar Jayswal
 

More from Viralkumar Jayswal (6)

Fly Ash Brick Machine
Fly Ash Brick MachineFly Ash Brick Machine
Fly Ash Brick Machine
 
MSE517 NEW HORIZON Final Project - Team 4(2)
MSE517 NEW HORIZON Final Project - Team 4(2)MSE517 NEW HORIZON Final Project - Team 4(2)
MSE517 NEW HORIZON Final Project - Team 4(2)
 
MSE 507 San Fernando Valley Lattet_ (5S)
MSE 507 San Fernando Valley Lattet_ (5S)MSE 507 San Fernando Valley Lattet_ (5S)
MSE 507 San Fernando Valley Lattet_ (5S)
 
Single Slider Crank mechanism based canplastic bottle crusher.Proj.MSE508
Single Slider Crank mechanism based canplastic bottle crusher.Proj.MSE508Single Slider Crank mechanism based canplastic bottle crusher.Proj.MSE508
Single Slider Crank mechanism based canplastic bottle crusher.Proj.MSE508
 
Poster-An Expert System for Car Failure Diagnosis
Poster-An Expert System for Car Failure DiagnosisPoster-An Expert System for Car Failure Diagnosis
Poster-An Expert System for Car Failure Diagnosis
 
Bio Printing Presentation
Bio Printing PresentationBio Printing Presentation
Bio Printing Presentation
 

Report-An Expert System for Car Failure Diagnosis-Report

  • 1. Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 1 | 9 Final Project for MSE614 Spring 2015 Instructor: Ileana Costea, Ph.D An Expert System for Car Failure Diagnosis GROUP # 6 ARZA TULASIRAM X GADUPUDI SUMANTH X JAYSWAL VIRALKUMAR HARSHADKUMAR X PAMUDURTHY SURYA KIRAN X VENKATESH SANJAYKUMAR X VENKATA SURYA KUMAR RAJULA X Date: May 14th, 2015
  • 2. Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 2 | 9 An Expert System for Car Failure Diagnosis Abstract: Car failure detection is a complicated process and requires high level of expertise. Any attempt of developing an expert system dealing with car failure detection has to overcome various difficulties. This project report describes a proposed knowledge-based system for car failure detection. The report explains the need for an expert system and the some issues on developing knowledge-based systems, the car failure detection process and the difficulties involved in developing the system. The system structure and its components and their functions are described. The system has about 150 rules for different types of failures and causes. It can detect over 100 types of failures. The system has been tested and gave promising results. Applications in fault diagnosis are continuously being implemented to serve different sectors. Car failure detection is a sequence of diagnostic processes that necessitates the deployment of expertise. The Expert System (ES) is one of the leading Artificial Intelligence (AI) techniques that have been adopted to handle such task. This paper presents the imperatives for an ES in developing car failure detection model and the requirements of constructing successful Knowledge-Based Systems (KBS) for such model. Furthermore, diagnosis of car faults requires high technical skills and experienced mechanics who are typically scarce and expensive to get. Thus, systems can be highly useful in assisting mechanics for failure detection and training purposes. Moreover, capturing and retaining valuable knowledge on such domain yield more accurate and less time consuming models. Keywords- Expert system (ES), Artificial Intelligence (AI), Car Failure Diagnosis System (CFDS), Knowledge- Based System (KBS), Inference engine. INTRODUCTION: Nowadays, the car technology is very crucial and significant to any car manufacturing companies as car Specifications are changing rapidly stimulated by environmental and economic factors. This issue presents a challenge to both car mechanics and drivers in handling car failures and malfunctions. With the advent of new technologies like the hybrid engine, there are many changes that need to be learned. In fact, in a normal situation, car fault identification is still a challenging task, especially for the inexperienced mechanics and drivers. Consequently, the success of finding the fault is extremely dependent on the expertise of the individual. However, the dependence on the experts can be minimized if the expertise is captured, documented, and retained in some computer applications. [3] Researchers, institutions, and firms focus a great deal of attention in theoretical and practical diagnosis on technical systems failure. Different types of AI techniques have been successfully applied in the diagnosis domain. The required AI techniques for such domain have to be capable of emulating the human brain’s diagnostic processes. The Expert System (ES) is one of the well-known reasoning techniques that is utilized in diagnosis applications domain. In ES, human knowledge about a particular expertise to accomplish a particular task is represented as facts and rules in its knowledge base. It seeks and uses the information provided by a user. Reasoning process is then performed over the represented knowledge using heuristic approaches to formulate a solution. [4-5] The definition of an ES as proposed: “an intelligent computer program that uses knowledge and inference procedures to solve problems that are difficult enough to require significant human expertise for their solution”. The ES is a knowledge-based system that consists of two main modules: the knowledge base and the inference engine. It usually has a knowledge acquisition module and an explanation module as extra components. A typical expert system is as shown in Figure 1. Systems that utilize the knowledge base approach are more straightforward than the conventional approach. Knowledge is represented explicitly in the knowledge base so that it can be altered with relative ease. This representation often takes the form of rules. The inference engine utilizes the knowledge base contents to solve a particular problem according to the user responses through an interface (e.g. enter the symptoms of the car fault). The inference module exploits the knowledge to apply that knowledge to the given problem. [6-7]
  • 3. Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 3 | 9 Fig. 1 Expert system main components Expert systems (ES) are a branch of artificial intelligence (AI), and were developed by the AI community in the mid-1960s. An expert system can be defined as "an intelligent computer program that uses knowledge and inference procedures to solve problems that are difficult enough to require significant human expertise for their solutions. We can infer from this definition that expertise can be transferred from a human to a computer and then stored in the computer in a suitable form that users can call upon the computer for specific advice as needed. Then the system can make inferences and arrive at a specific conclusion to give advices and explains, if necessary, the logic behind the advice. [1] ES provide powerful and flexible means for obtaining solutions to a variety of problems that often cannot be dealt with by other, more traditional and orthodox methods The terms expert system and knowledge-based system (KBS) are often used synonymously. The four main components of KBS are: a knowledge base, an inference engine, a knowledge engineering tool, and a specific user interface. Some of KBS important applications include the following: medical treatment, engineering failure analysis, decision support, knowledge representation, climate forecasting, decision making and learning, and chemical process controlling. [2] PROBLEM IDENTIFICATION: The proposed system divides car failures into three major types: 1. Start-up state, problems that may occur when a person try to start up the car, for example; engine does not work, some sounds noticed, engine works ones and stops. These problems could be due to one or more failures; will happen, the battery needs to be recharged, the dynamo is dead, or the battery is dead. 2. Run-stable state, problems that may occur after starting the car, for example; unburned fuel, cycle on-off, blue gas emitted, avance is very high. 3. Movement-state, problems that may occur while the car is moving; this state also includes problems related to the brake system. Most of movement problems that might occur appears on the car’s tableau the proposed system takes advantage of these facilities and use them to diagnose the problem and to gives advice of the solution to the driver. Some of these problems are: oil pressure, water temperature, voltage, and fuel pointer. If the car is in the start-up state and doesn't start, then the cause could be one of three main reasons: a bad fuel mix, lack of compression or lack of spark. In addition, thousands of minor things can create problems, but these are the main three. Bad fuel mix: A bad fuel mix can occur in several ways: 1. The car ran out of gas, so the engine is getting air but no fuel. 2. The air intake might be clogged, so there is fuel but not enough air. 3. The fuel system might be supplying too much or too little fuel to the mix, meaning that combustion does not occur properly. 4. There might be an impurity in the fuel (like water in your gas tank) that makes the fuel not burn.
  • 4. Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 4 | 9 Lack of compression: If the charge of air and fuel cannot be compressed properly, the combustion process will not work like it should. Lack of compression might occur for these reasons: 1. Piston rings are worn (allowing air/fuel to leak past the piston during compression). 2. The intake or exhaust valves are not sealing properly, again allowing a leak during compression. 3. There is a hole in the cylinder. Lack of spark: The spark might be nonexistent or weak for a number of reasons: 1. If the spark plug or the wire leading to it is worn out, the spark will be weak. 2. If the wire is cut or missing, or if the system that sends a spark down the wire is not working properly, there will be no spark. 3. If the spark occurs either too early or too late in the cycle (i.e. if the ignition timing is off), the fuel will not ignite at the right time, and this can cause all sorts of problems. Other Problems: The following problems are also taken into consideration in the system. 1. If the battery is dead, the engine cannot turn over. 2. If the bearings that allow the crankshaft to turn freely are worn out, the crankshaft cannot turn so the engine cannot run. 3. If the valves do not open and close at the right time or at all, air cannot get in and exhaust cannot get out, so the engine cannot run. 4. If someone sticks a potato up your tailpipe, exhaust cannot exit the cylinder so the engine will not run. 5. If you run out of oil, the piston cannot move up and down freely in the cylinder, and the engine will seize. In addition to the above problems, the proposed method also has dealt with problems that may occur in the following systems: cooling system, air intake system, starting system, lubrication system, fuel system, exhaust system, emission control and electrical system. DESIGN AND IMPLEMENTATION OF THE KBS: The KBS developed in this work consists of the user interface, the explanation facility, the knowledge base, and the inference engine. The structure of KBS is shown in (Fig.2). Fig.2 Structure of the car failure diagnosis system
  • 5. Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 5 | 9 A. User Interface Communication between the user and the system is done through the user interface which implemented in both Arabic and English languages. The user interface is represented as a menu which displays the questions to the user and the user answers with Yes or No. When the system is started a main menu is displayed on the screen which asks the user to choose one of the three car states (Fig.3). Fig.3 Startup menu of then system B. Explanation Facility Illustrates to the user how and why the system gave a certain cause for the failure, i.e. explains the reasoning of the system to the user. C. Knowledge Base The knowledge of the system is collected from mechanic experts, specialized books, and from different car websites. The knowledge base contains about 150 production rules for different types of car failures and causes. Fig.4 The production system after Rule 1 is fired Fig. 5 Four assumed rules in the agenda Fig.5 Four assumed rules in the agenda Working Memory The engine is getting gas The engine will turn over The problem is spark plugs Production Rules Rule 1 Rule 2 Rule 3 Rule 4 Car Failure Diagnosis Expert System 1. Start-Up state. 2. Run-Stable state. 3. Movement state. 4. Exit the program. Enter your selection according to the car state; Rule 1: IF the engine is getting gas, AND the engine will turn over, THEN the problem is spark plugs. Rule 2: IF the engine does not turn over, AND the lights do not come on, THEN the problem is battery or cables. Rule 3: IF the engine does not turn over, AND the lights do not come on, THEN the problem is the starter motor. Rule 4: IF there is gas in the fuel tank, AND there is gas in the carburetor, THEN the engine is getting gas.
  • 6. Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 6 | 9 D. Inference Engine When abnormal situation arises in the car, the KBS makes inferences by deciding which rules are satisfied by facts stored in the working memory and executes the rule with highest priority and propose proper correcting solution. The rules whose patterns are satisfied by facts in the working memory are stored in the agenda part of the inference engine. Figure 4 & 5 explains the inference process of the system using the rules listed as below. Figure 6 shows the relationships between the four rules used in this example. The inference engine traces the applicable facts that represent the corresponding symptoms (i.e. the observed Variables or behavior) and apply them to the tagged rules. In the proposed Car Failure Diagnosis System (CFDS), production-rules is the chosen form for knowledge representation. Additionally, the inference engine is the forward-chaining type (data driven mode) as shown in Figure 6. Forward-chaining inference engine has the advantages of producing solutions for the unformulated problems. In this type of engine, the satisfactory facts that meet the rules conditions are promoted to be triggered. All the applicable rules resulting from the previous process make up the conflict set of rules to be implemented according to specific order that enables solution generation. Fig. 6 Forward-chaining algorithm
  • 7. Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 7 | 9 E. Car Failure Diagnosis System (CFDS) Decision Tree Car failure diagnosis is an investigation process which requires search operation of the symptoms and the indicators that can lead to the problem’s solution. Due to the fact that the car consists of many internal systems such as ignition system, fuel injection system, cooling system, braking system, lubrication system, air intake and exhaust systems which all are interconnected, faults are difficult to trace and find. As a result, a decision tree is considered as a useful approach in such situation. Rule-based approach is a good candidate to the problems that can be represented in decision tree form. In the following example, a basic rule is presented as it is needed in the system analytical reasoning process: if ? motion starter gives sound is Yes and ? motion starter sound is normal Yes and ? fuel tank empty is No then ? fuel pump damaged is Yes. According to, “a rule describes the action that should be taken if a symptom is observed. The empirical association between premises and conclusions in the knowledge base is their main characteristic.” In the previous rule example, the system looks for then examines the keywords like give sound, sound normal and tank empty which are the conditions variables to find the satisfied rule or rules. The following figure shows one of the main branches of the decision tree of the proposed
  • 8. Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 8 | 9 Advance Car Failure Diagnosis System (CFDS) Process The CFDS is an online system with multi-tasking capabilities that is directive for car fault detection. It Provides information sources and knowledge interaction and evaluation regarding the technical process to be tackled. Such tasks are failure tracing, failure recognition, and customer advising that requires it to adopt various types of modules (Fig 5). Each module’s goal is achieved by applying a number of processes. Figure 5 shows the system components in a process level. One of the main characteristics of the CFDS is the addition of the database to be in parallel with the system’s knowledge base. An interaction is held between the knowledge base and the database including information transfer about the processes under execution. The database works as a temporary storage due to its continuous change in state. The knowledge base of the system encompasses both the derived and the heuristic knowledge about the required car failure diagnostic process. The inference engine is built to do the reasoning based on several algorithmic procedures that enable it to reach the required conclusion. Fig. 7 Advance CFDS processes
  • 9. Gr6_SV_SG_SKP_TA_VSKR_VHJ_MSE 614 P a g e 9 | 9 Conclusion and Future Work In this project, Expert system (ES), Artificial Intelligence (AI), Car Failure Diagnosis System (CFDS), Knowledge- Based System (KBS), Inference engine are presented. The proposed CFDS is utilized to assist inexperienced mechanics or drivers who face sudden failure in the car and provide decision support system. In addition, CFDS is considered as an interactive training tool that can provide expert guidance in car fault detection. Using this system, loss of customers and income due to lack or inadequacy of knowledge can be mitigated. The system indicated that a full expert system will be practical and can be extremely useful in providing consistent car failure detection. Further work is needed to improve the system by adding sufficient domain knowledge that represents domain knowledge thoroughly. Plans are underway to convene experts to use the system to assist them in their jobs of car failure detection. System implementation results indicate that the system has significance in places where work productivity is improved by decreasing fault diagnosis time and increasing users understanding. More so, it can be considered as a successful alternative to the highly skilled mechanics. Further improvement to the system domain knowledge specifications is required to enhance domain knowledge representation. Furthermore, adopting another AI technique to work in system rules revision to add more effectiveness to the diagnosis process will be considered. In summary, the system has the characteristics of good expert systems, such as high performance, adequate response time, understandability, and understandability. REFERENCES [1] Joseph Giarratano, Gary Riley (2004). Expert Systems: Principles and Programming, Fourth Edition. [2] Shu-Hsien Liao (2005). Expert system methodologies and applications - a decade review from 1995 to 2004, Expert Systems with Applications, 28, 93-103. [3] K. S. E. Ricardo Nurzal, “A Decision Support System for Car Fault Diagnosis Using Expert System”, International Journal of Information Sciences for Decision Making, N 2, 1998. [4]D. D. Milanović, M. Misita, D. Tadić and D. L. Milanović, “The Design of Hybrid System for Servicing Process Support in Small Businesses, FME Transactions”, 2010, 38, 143-149. [5] S. Samy, Abu Naser, Abu Zaiter and A. Ola, “An Expert System For Diagnosing Eye Diseases Using Clips”, Journal of Theoretical and Applied Information Technology, 2008. [6] E. Feigenbaum, Knowledge Engineering in 1980’s: Department of Computer Science, Stanford University, 1982, Stanford C [7] A. A. Hopgood, Intelligent Systems for Engineers and Scientists (2nd Edition): CRC Press, 2001. How stuff works, http://auto.howstuffworks.com/engin.htm, http://science.howstuffworks.com/fire-engin.htm [8] Rebuilt Auto Car N' Truck Engines, http://www.rebuilt-auto-engines.com, [9] Car Engine Products in The UK's Leading Online Car Accessory Store, http://www.speeding.co.uk/acatalog/engine.html [10] car: engine: combustion, http://www.halfbakery.com/category/Car_3a_20Engine_3a_20Combusti on/ [11] Youtube; https://www.youtube.com/watch?v=MS0fU_OOmVQ [12] Youtube; https://www.youtube.com/watch?v=6kVK0qty7M0 [13] Youtube; https://www.youtube.com/watch?v=ASTLnO1BI64 [14] Youtube; https://www.youtube.com/watch?v=sXycW3tykNg [15] Youtube; https://www.youtube.com/watch?v=RKjdnQ0sHQc