l¿
o
tr.tz"Al
A CODING SCHEME BASED GENERATIVE CAPP SYSTEM FOR PRISMATIC COMPONENTS USING
EXPERT SYSTEM METHODOLOGY
Bing Jiang (8.E.) August, 1997
A Thesis Submitted to the Department of Mechanical Engineering The University of Adelaide
for the Degree of Master of Engineering Science, Supervi
sor :Associate Profes
sor :Manfred Zockel,
Dr. Keith Baines
Table of Contents
LIST
OF FIGURES.LIST
OFTABLES...
ABSTRACT...
STATEMENT...
ACKNOWLEDGEMENTS...
CHAPTER
1.INTRODUCTION
..CAD/CAM
andCIM...
THE COMPUTER AIDED
PROCESSPLANNING(CAPP).
The
Variant
CAPP...The Generative CAPP
AIMS
OFTHE
RESEARCHWORK.
Page
.J .4
9
1.1 1.2 r.2.1 1.2.2 1.3
2.1 2.t.1 2.1.2
2.t.3
2.1.4 2.2 2.3 2.3.1 2.3.1.12.3.t.2
2.3.1.3 2.3.23.1 3.2 3.2.1 3.2.2 3.3 3.3.1 3.3.2
,.9
r0
11 11
t3
CHAPTER
2.LITERATURE REVIEW
.GT CLASSIFICATION AND CODING
SCHEMES...The Opitz Classification and Coding Snha¡nc The
KK-3
Classification and Coding Scheme...The
MICLASS
Classification and Coding Scheme...The
DCLASS
Classification and Coding Scheme...VARIANT
CAPP SYSTEMS...GENERATIVE
CAPP SYSTEMS....Component Design Representation...
GT
Coding Scheme in Generative CAPP Systems..Special Descriptive Language.
CAD
Models...Process Knowledge Representation...
STRUCTURE OF THE
NEV/
CODING SCHEME..THE PROPOSED
NEW
CODING SCHEME..Level One of the Coding Scheme...
Level
Two
and Level Three of the Coding Scheme...TWO TYPICAL EXAMPLES
OF THENEW
CODING SCHEME.A
Cubic Prismatic Component Example....15
15 15
t9
,19 20 ..21 .22 .22 .23 .23 .25 .26
CHAPTER
3.THE NE\M CLASSIFICATION AND CODING SCHEM8...30
A
Flat Prismatic Component Example..CHAPTER
4.THE CODING SCHEME BASED GENERATIVE CAPP EXPERT
Page
.48 .49 .51
sysrEM(cSBGCAPPES)...
...48OVERVIEW
OF THE CSB-GCAPPESKNOWLEDGE
REPRESENTATION OFTHE
CSB-GC4PPES...THE INFERENCE ENGINE OF
THE
CSB-GC4PPES...CHAPTER
5.The CSB-GCAPPES PROTOTYPE
...4.1 4.2 4.3
5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8
6.1 6.2
53
THE
AUTOMATIC
CODINGMODULE
53BLANK
SELECTIONMODULE
THE
PROCESS SELECTIONMODULE
THETOOL
SELECTION MODULE...MACHINE
SELECTIONMODULE
CUTTING CONDITIONS SELECTION MODULE...
SEQUENCING
OF PROCESSMODULE
THEPLAN DOCUMENTATION MODULE
57 s9 .62 .65 .65
72 ..68 ..69
CHAPTER
6.RESULTS
THE
NEV/ CLASSIFICATION AND CODING
SCHEME....THE PROCESS
PLANNING EXPERT
SYSTEM...72 72
CHAPTER
7.CONCLUSION...
CHAPTER
8.FUTURE \ryORK....
8.1 EXPANDING THE GENERATIVE CAPP EXPERT SYSTEM
8.2 INTEGRATING THE GENERATIVE CAPP EXPERT SYSTEM WITH CAD SYSTEMS
REFERENCES...
APPENDIX
:PART PROGRAM OF THE CSB-GCAPPES..
_t4
.75 75
75
76
81
2
List
ofFigures
Figure 3.1 Figure 3.2 Figure 3.3 Figure 3.4 Figure 4.1 Figure 5.1
The New Coding Scheme Structure...
The Three Levels of the New Coding Scheme
A
Cubic Prismatic ComponentA
Flat Prismatic Component The CSB-GCAPPES.Interface'Windows....
Page
32 JJ 44 .47 49 54
List
of TablesTable 1.1
Table2.la
Table
2.lb
Table2.2 Table2.3 Table 3.1 Table3.2 Table 3.3 Table 3.4 Table 3.5 Table 3.6 Table 5.1 Table 5.2 Table 5.3 Table 5.4 Table 5.5 Table 5.6 Table 5.7 Table 5.8 Table 5.9 Table 5.10 Table 5.11 Table 5.12 Table 5.13 Table 5.14 Table 5.15 Table 5.16 Table 5.17 Table 5.18Page Summary of
CAD/CAM
Systems...opitz coding
Scheme (Geometrical code) forcubic
components...17opitzcoding
scheme (Supplementary code)for cubic
components... 1 8 1020
56
KK-3
Classification and Coding Scheme..'...DCLASS Coding
Scheme... """""""""'20
Level One: Overall
Description...'. """""""""34
External Machined Shapes and
4ttributes... """"""""""'36
Holes and
Attributes... """""""""37
Internal Machined Shapes other Than Holes and Attributes... ...37 Code for Machined Shape's
Attributes.. """"""""""'39
Tolerances for Common Used
Grades """""""""""'40
Tlne Facts of the Cubic Component Example Code
Values """"""""""""'55
T\te Facts of the Flat Component Example Code Values Blank Data...
Machines...
Cutting
Speedfor
HSS Cutting Tools...'.Chip Thickness...
57 The Blank Facts of the Cubic Component Example.'...
The Blank Facts of the Flat Component Example.
Shape Process Capability.
T\e
Facts of the Cubic Component ProcessSelection..' """""""61
Tlne Facts of the Flat Component Process
Selection """"""""""'61
Cutting Tools Capability
Knowledge ""'62
The Cutting Tools in the
CSB-GCAPPES.-...'. ""'62
The Cutting Tools Used for the Cubic
Component """""""""""64
The Cutting Tools Used for the Flat
Component """"64
59 60 59
.65
66 .65
The Cutting Conditions for the Cubic Component .67 The Cutting Conditions for the Flat Component...
The Process Sequence for the Cubic
Component
...."'68'n-^ D-^^^.- e-^.,--^ô €n¡ flr¡ Elof ñnm¡nnenf 69
67
frt-l-l- t ll-l LoUIç J'L7
4
Table 5.20 Table 5.21
Final Process Plan for the Cubic Component...'..
Final Process Plan for the Flat Component.."...'.
70
7l
Abstract
This thesis
describesa
researchproject in which a
generative computer aided processplanning (CAPP) system, termed a coding scheme based generative CAPP
expert system(CSB-GCAPPES),for
machining prismatic componentsis
developed. The researchproject is
basedon the principle that GT coding
schemes can becomethe
component's design representations, andthat expert
system technologycan map the
knowledge baserequired by a
generativeCAPP
system.The
CSB-GCAPPESaims to help the
process planner producequicker
andmore
consistent process planswhich will
also optimise the machining process.A
newGT
coding scheme based on existingGT
classification coding schemes components has been developedin this
researchproject which
characterises engineering drawingsof
prismatic
components.It has a hybrid code
structure (monocodesand polycodes)
and describes the component's design and manufacturing information. The monocodes represents the component's overall shape, maximum size and materialwhile
the polycodes representsthe
machined shapes such as plane surfaces, holes and slots andtheir
attributes such as dimensions, tolerances, swface finishes and orientation.A
code generated by the new coding scheme has enough design and manufacturing informationto
complete the process planning activity.Using an expert system building tool, the CSB-GCAPPES is designed to generate a new GT
code automatically, and
captureand maintain the
manufacturingknowledge of
process plannersfor
machining prismatic components.It
is a rule-based program that recognises thenew GT
code and createsa
processplan which lists all
operations, sequences, machines,cutting tools
and cutting conditions such ascutting
speed, feed rate and depthof cut.
The prototype system has demonstrated the feasibility of both the new GT coding scheme and the expert system approach for process plaruring in prismatic components manufacturing.6
I
I
d
I
I
l
,l
I
i
j,
Statement
This
work
contains no material which has been accepted for the awa¡d of any other degree ordiploma in any university or
othertertiary
institution.To the
bestof my
knowledge andbelief, the
thesis containsno
material previously publishedor written by
another person, except where due reference has been made in the text.I give
consentto this copy of my
thesis, when depositedin the university library,
being available for loan and photocopying.Signature
Date
ütlü
j
¡
i
tr
! I I
T
I
I
I
7Acknowledgements
The
author expresseshis
gratitude and sincere thanksto his
supervisors, Assoc.Prof. M.
Zockel
andDr. Keith
Baines,for their
assistance, valuable advice and continuous support provided during the author's entire research at The University of Adelaide, and for the energy and the time devoted to the supervision of this research.The author also wishes to thank
Mr.
Ron Jagerin
the Department's workshop who provideda
greatdeal of practical information on machining
proceduresand
processes,and Mr.
Jonathan
May for his
assistancewith computing
matters.Thanks are also due to
allcolleagues who
willingly
offered their assistance at all times.The author expresses his deep gratitude
to
his parents who motivatedhim
to undertake this research,their continuous
encouragementand personal example. Sincere thanks
and affectionate gratitude are also givento
the author'swife,
Hong,for
the longworking
hours spentin providing
the author financial support,for
the assistancein
the preparationof
this thesis, and for the patience, understanding and support that made this thesis possible.I
t I