Unit - 1 SC Final
Unit - 1 SC Final
Unit - 1 SC Final
April 2007 1
Approaches to intelligent control and
Architecture for intelligent control
April 2007 2
4
5
Intelligent control
Intelligent control is a class of control techniques that use various artificial
intelligence computing approaches like neural networks, Bayesian
probability, fuzzy logic, machine learning, evolutionary
computation and genetic algorithms.
6
Intelligent control
• An intelligent system can be characterized along a
number of dimensions.
• There are degrees or levels of intelligence that
can be measured along the various dimensions of
intelligence.
• At a minimum, intelligence requires the ability to
sense the environment, to make decisions and to
control action.
• Higher levels of intelligence may include the
ability to recognize objects and events, to
represent knowledge in a world model, and to
reason about and plan for the future.
7
Intelligent control architecture
April 2007 8
9
10
Reasoning system
April 2007 11
Reasoning System
12
13
14
Logical Reasoning
15
16
Reasoning and Knowledge Representation
17
Types of Reasoning
18
Symbolic Reasoning
19
20
Default Reasoning
21
Circumstance Reasoning
22
Truth Maintenance System(TMS)
23
Rule Based System
24
Rule Based System
Standard way to represent knowledge within expert system is
through the use of rule or rule based system.
Need for Rule based Knowledge System:
The majority of existing expert system development employ
rule based system.
Less expensive for implementation.
Widespread availability of rule based expert system.
Rule bases can be relatively modified. In particular addition,
deletion, and revision to the rule base are relatively straight
forward process.
Validation and verification is simple.
25
Rule based system components
• A collection of rules
• A collection of facts
• An inference engine
We might want to:
what new facts can be derived
whether a fact is implied by the knowledge
base and already known facts
26
Rule based system architecture
27
• In a rule-based expert system, the domain knowledge is represented by a set
of IF-THEN rules and data is represented by a set of facts about the current
situation.
• The inference engine compares each rule stored in the knowledge base with
facts contained in the database.
• When the IF (condition) part of the rule matches a fact, the rule is fired and
its THEN (action) part is executed.
• The fired rule may change the set of facts by adding a new fact, as shown in
Figure.
• Letters in the database and the knowledge base are used to represent
situations or concepts.
28
• The matching of the rule IF parts to the facts
produces inference chains.
• The inference chain indicates how an expert
system applies the rules to reach a conclusion.
• To illustrate chaining inference techniques,
consider a simple example.
29
• Suppose the database initially includes facts A, B, C, D
and E, and the knowledge base contains only three
rules:
• Rule 1: IF Y is true
AND D is true
THEN Z is true
• Rule 2: IF X is true
AND B is true
AND E is true
THEN Y is true
• Rule 3: IF A is true
THEN X is true
April 2007 30
• The inference chain shown in Figure indicates how the
expert system applies the rules to infer fact Z.
• First Rule 3 is fired to deduce new fact X from given fact
A.
• Then Rule 2 is executed to infer fact Y from initially
known facts B and E, and already known fact X.
• And finally, Rule 1 applies initially known fact D and just-
obtained fact Y to arrive at conclusion Z.
31
• The inference engine must decide when the
rules have to be fired.
• There are two principal ways in which rules are
executed.
• One is called forward chaining and the other
backward chaining.
32
Forward chaining
• Let us write our rules in the following form:
April 2007 34
35
Backward chaining
• Backward chaining is the goal-driven reasoning.
• In backward chaining, an expert system has the goal (a hypothetical
solution) and the inference engine attempts to find the evidence to
prove it.
• First, the knowledge base is searched to find rules that might have the
desired solution.
• Such rules must have the goal in their THEN (action) parts. If such a
rule is found and its IF (condition) part matches data in the database,
then the rule is fired and the goal is proved.
• However, this is rarely the case. Thus the inference engine puts aside
the rule it is working with (the rule is said to stack) and sets up a new
goal, a sub-goal, to prove the IF part of this rule.
• Then the knowledge base is searched again for rules that can prove
the sub-goal.
• The inference engine repeats the process of stacking the rules until no
rules are found in the knowledge base to prove the current sub-goal.
36
37
38
39
Knowledge Representation
40
Why do we need Knowledge Representation?
42
Knowledge Representation
43
Example of Knowledge representation
44
Knowledge Model
45
Knowledge Category
46
Knowledge Topology
47
Knowledge Concept Diagram
48
Knowledge Topology Map
49
Knowledge Type
50
51
Expert System
April 2007 52
What is an Expert System?
53
April 2007 55
Some important Features
April 2007 56
Characteristics
• High performance
• Expertise
• Adequate response time
• Good reliability
• Self-knowledge
• Understandable
• Justification
• Flexibility
57
Expert System Architecture
58
• Knowledge base: The knowledge of a human expert on a particular
subject is contained in codified form within the knowledge base.
Normally, one can easily read and understand the coding. Even though
knowledge base are developed by experts, the information contained
within them can be easily understood by anyone who knows the subject
matter.
59
User Interface: It allows the system user to enter the
rules and facts about a particular situation and ask
questions of the system, provides responses to user
requests and supports all other communication between
the system and the user.
Working storage:
April 2007 61
Inference Engine:
• The inference engine is one of the most important
components of an expert system.
• The domain knowledge of Knowledge base is used
by the inference engine to draw conclusions.
• The inference engine processes a massive amount
of data in consistent way and it comes out with a
conclusion.
• It works as a brain in an expert system.
62
Roles of Individual who interact with the system
April 2007 67