Professional Documents
Culture Documents
455-459, 1994
Copyright© 1994ElsevierScienceLtd
Pergamon Printed in GreatBritain. All rights reserved
0952-1976(94)00017--4 0952-1976/94$7.00+ 0.00
Brief Paper
An Expert System for Identifying Steels and Cast Irons
J. L . P E R E Z D E L A C R U Z
Universidad de M~ilaga, Spain
M . J. M A R T I
Universidad de Mfilaga, Spain
R. CONEJO
Universidad de M~ilaga, Spain
R. MORALES-BUENO
Universidad de M~ilaga, Spain
T, FERNANDEZ
Universidad de M~ilaga, Spain
(Received November 1993; in revised form February 1994)
This paper presents an application of Knowledge Engineering techniques to the problem of identifying
a steel or cast iron from a microphotograph. The essential aim of the implemented system is to help
metallography students in the task of learning the concepts relevant for identifying and classifying
steels and cast irons. The system has been developed and implemented by means of Knowledge
Engineering tools, and all the goals set up at the beginning of the project have been reached.
Keywords: Expert system, metallography, steel, cast iron, alloy, classification, teaching.
microphotograph student-user
t ,eatures
IY <
I
expert system
showed that this problem is posed in two very different --given the centesimal composition and the pro-
ways. cess followed, determine the mechanical proper-
First, there are identification problems arising from ties of the alloy. This problem can be solved in a
the knowledge of the alloy's composition, the tempera- number of different ways. For example, a simple
ture reached in the alloying process, the rate of cooling, rule-based system could perform the task;
etc. Since all the data are well structured and the --given the structural components of the alloy,
relationship between them and the mechanical proper- determine its mechanical properties. The solu-
ties is available in tables and abaci, this problem could tion is found in a similar way;
be solved by means of conventional programming tech- --given a microphotograph, determine the struc-
niques. However, it was integrated with the solution to tural components of the alloy. This problem
the other problem in the same expert system. cannot be addressed by conventional program-
The more interesting aspects of the identification ming techniques, and it is the more interesting
process arise from the other statement of the problem, problem from the artificial intelligence point of
namely when the problem is to identify the structural view. Therefore, the rest of the paper will be
components shown in a microphotograph, and deter- focused upon it.
mine the mechanical properties of the alloy from the
knowledge of these components. A microphotograph is Since the system's ultimate goal is a didactic one, the
a photograph obtained by means of a metallographical system must simulate the behaviour of a human expert
microscope (magnification ×50 to × 1000). A sample of when solving these kinds of problems. That is the main
the alloy is polished and treated with a reactive, and the reason why only heuristic techniques have been
surface is displayed or photographed. Usually the selected to develop and implement the system. Of
analysis starts by observing low-magnification (50-100) course, this does not mean that mathematical classifica-
pictures. From these pictures, the expert is able to tion techniques are not useful to carry out the steel and
identify which components are present and which kind cast iron identification, even if the task is very complex.
of Fe-C alloy is the one photographed. The properties The system that was finally selected for development is
of the alloy are then inferred from the conceptual, shown in Fig. 1, and can be specified as follows:
explicit metallographical knowledge. - - a novice human user (the student taking the
The problem is not a trivial one: there are many course) must extract the more relevant features
components possibly appearing in the same micro- from the microphotograph,
photograph, e.g. ferrite, cementite, perlite, austenite, - - a n expert system asks the user about the features
ledeburite, bainite, graphite flakes, etc. Even more, a in the microphotograph, processes the answers
single component can look very different in different and generates a final output identifying the
microphotographs. A review of the situation shows alloy.
that the problem is currently solved by human experts
in a heuristic fashion. To sum up, the subproblems The ultimate goal of the global system (user and
that compose the target task are the following: expert system) is to perform a pattern recognition or
J. L. PEREZ DE LA CRUZ et al.: IDENTIFYINGSTEELAND CASTIRON 457
identification task. However, a more exact denomina- transferring the knowledge from the expert to the
tion for the task carried out by the expert system is that system.
of heuristic classification. In fact, having left the (3) Prototyping. Some typical cases were selected,
feature-extraction task to the human user, the remain- and a first prototype was implemented for solving these
ing problem is a typical heuristic classification problem, cases. This stage ended with an evaluation of the
like the one described by Clancey3 or Chandrasekaran/ performance by the expert.
For this reason, expert-system technology is a good (4) Prototype refinement. More knowledge was
candidate for the implementation of the system. As added in order to solve all the problems in the specified
Chandrasekaran4 says, "a large fraction of those expert domain. A global evaluation by the expert was per-
systems that have reached some degree of exposure formed.
deal with some form of the classification problem".
Therefore, there are many development and program- The more interesting aspect of the methodology was
the knowledge-elicitation process. The most general
ming tools well suited to this paradigm.
technique of interaction between the knowledge engi-
neer and the problem-solving activity is given by the
3. METHODOLOGY AND KNOWLEDGE
structured interview, the interactions in the interviews
ELICITATION
are shown in Fig. 2. The knowledge engineer (KE)
The particular features of the problem, given by the plays the role of the intended final user, and the expert
interactions between expert system, student-user and (Ex) plays the role of the intended expert system. The
microphotographical material, required a certain deal KE can see the microphotograph (MP), but the Ex
of methodological inquiry finally yielding a suitable cannot. In this way, the Ex asks the KE questions about
methodology. The stages in the development of the the features in the MP until she reaches a positive
system were as follows: identification. The Ex also expresses the intermediate
conclusions she has reached. Besides this basic interac-
(1) Creation and tuning-in of the working team. At
tion, the KE has a more direct way to elicit the
this stage, the required skills and attitudes were shared:
knowledge, i.e. by means of questions to the Ex.
the knowledge engineer, by means of the study of the
However, the only permissible questions are of three
relevant bibliography ~'2 and informal interviews with
kinds:
the expert, acquired the basic terminology and con-
cepts of the domain; on the other hand, the expert-- (a) WHAT questions, i.e. questions about the
and client--perceived the basic features and limitations concrete visual meaning of a feature invoked
of current expert-system technology. by the Ex.
(2) Initial specification and definition of the know- (b) WHY questions, i.e. questions concerning the
ledge elicitation process. The members of the team relevance of an Ex's question.
specified the kind of consultation allowed the final user, (c) HOW questions, i.e. questions concerning the
and the broad outlines of the elicitation process for justification of an Ex's conclusion.
feature extraction
questionsabout
reasoning
questionsabout the mph.
\/
.~ identification
end of the session, if the identification of components textbook 1 (about 40) were presented to a coupled
has been partial and there are unidentified components user-expert system, a 100% success was obtained, i.e.
remaining, the system reports this fact to the user, who no microphotograph was misclassified or rejected. The
is invited to start again and pay m o r e attention to the user was the same in all the cases. In fact, the system is
questions. intended to be used during the next few years to
support the teaching of metallographical material.
5. C O N C L U S I O N S It would a p p e a r that some conclusions could be
extrapolated to a broader field. F r o m a basic A I
An artificial intelligence system can be evaluated perspective, the success clearly shows again the possibi-
from three different perspectives, 7 namely those of lities of this technology of structured interview plus
cognitive science, basic A I and applied AI. The work goal-driven consultation to solve these kinds of prob-
presented here falls into the field of applied A I whose lems in a teaching environment, and also in an indus-
criterion is, of course, performance. Regarding this trial one.
criterion, the final evaluation of the system was good.
W h e n all the microphotographs appearing in a
REFERENCES
........................................................................ )
AUTHORS' BIOGRAPHIES
J. L. Perez de la Cruz obtained his degrees in Engineering at the Polytechnical University of Madrid. R. Morales-Bueno
graduated in Mathematics at the Complutense University of Madrid and obtained his Ph.D. in Computer Science at the
University of M~laga. R. Conejo is currently performing his doctorla research. They lecture at the Department of Computer
Sciences and Languages, University of Malaga. Their current research focuses onto fuzzy systems and instructional and
engineering applications of AI.
M. J. Marti obtained a M.Sc. in Computer Science at the University of Malaga in 1992. As a graduate student, she cooperated
in the design and development of the knowledge engineering tasks presented in this paper.
T. Fermindez lectures on Metallography at the University of Malaga, where she also leads the Metallography section of the
Institute of Technical Development and Control. She has published two books and several papers on the subject.