31295015251746
31295015251746
31295015251746
PROCESS PLANNING
by
A DISSERTATION
IN
INDUSTRIAL ENGINEERING
DOCTOR OF PHILOSOPHY
Approved
f \ W ^
Accepted
August, 2001
ACKNOWLEDGMENTS
11
TABLE OF CONTENTS
ACKNOWLEDGMENTS ii
ABSTRACT vi
LIST OF TABLES vii
LIST OF FIGURES viii
CHAPTER
1 INTRODUCTION 1
1.1 Tolerancing, Setup Planning, and Graph Theory 1
1.2 Problem Statement 3
1.3 Methodology 6
1.4 Research Objectives 8
2 LITERATURE REVIEW 9
2.1 Basic Concepts on Tolerance Analysis 9
2.1.1 Variation Versus Tolerance 9
2.1.2 Standard Definitions on Dimensioning and Tolerancing 11
2.1.3 Tolerance Zone 12
2.1.4 Principle of Tolerance Independency 16
2.2 Tolerance Chart and Dimension Chain 18
2.2.1 Tolerance Chart 18
2.2.2 Dimension Chain 23
2.3 Computer-Aided Process Planning (CAPP) 26
2.3.1 Tasks Involved in Process Planning 26
2.3.2 Setup Planning 27
2.3.3 Fixture Planning 31
2.4 Graph Theory and Algorithms 35
2.4.1 Basic Concepts on Graph Theory 35
2.4.2 Matrices of a Graph 38
2.4.3 Graph Algorithms 39
3 TOLERANCE ANALYSIS 41
iii
3.1 Basis of Tolerance Analysis 41
3.1.1 Tolerance Zone 41
3.1.2 Characteristic Length and Tolerance Factor 42
3.1.3 Manufacturing Errors Classification 45
3.1.4 Setup Methods 52
3.2 ToleranceA'^ariation Stackup Analysis 52
3.2.1 Dimensional ToleranceA^ariation Stackup Analysis 53
3.2.2 Geometrical ToleranceA^ariation Stackup Analysis 58
3.3 Tolerance Stackup Analysis for the Three Setup Methods 70
3.3.1 Dimensional Errors Analysis 71
3.3.2 Geometrical Errors Analysis 73
3.3.3 Comprehensive Analysis 74
4 TOLERANCE GRAPH AND MATRICES 77
4.1 Tolerance Graph 77
4.1.1 The Definition of "Tolerance Graph" and Its Related Concepts 77
4.1.2 The Application of Tolerance Graph in This Study 81
4.2 Matrices 84
4.2.1 Tolerance Matrix 84
4.2.2 Tool Approach Direction (TAD) Matrix 86
4.2.3 Machining-Feature Matrix 87
4.2.4 The Transfer and Operation on Matrices 88
5 ALGORITM DEVELOPMENT AND ILLUSTRATION 92
5.1 Principles and Rules of Setup Planning 92
5.2 The Setup-Planning Model 97
5.3 The Setup-Planning Algorithm 99
5.4 Illustration 102
5.4.1 Case Study 1: Setup Planning of a Prismatic Part 102
5.4.2 Case Study 2: Setup Planning of a Rotational Part 119
6 IMPLEMENTATION AND VALIDATION 130
6.1 The GATO Setup Planner 130
iv
6.2 Validation Discussion 135
7 CONCLUSIONS 146
7.1 Conclusions 146
7.2 Contributions 147
7.3 Suggestions for Further Research 148
REFERENCES 150
APPENDIX
A: THE SETUP-PLANNESTG ALGORITHM 156
B: THE MAP OF THE RULES TO THE ALGORITHM 163
C: THE BRIEF USER MENU 164
D: THE COMPLETE SIMULATION RESULTS 166
ABSTRACT
VI
LIST OF TABLES
Vll
LIST OF FIGURES
ix
5-11. Tolerance matrix with each face in a definite TAD set 110
5-12. Tolerance graph with interior tolerances deleted or screened 111
5-13. Tolerance matrix with interior tolerances deleted or screened 112
5-14. Tolerance graph with undirected edges oriented 113
5-15. Tolerance matrix with undirected edges oriented 113
5-16. Simplified tolerance graph with undirected edges oriented 114
5-17. Tolerance graph with definite setups 115
5-18. Simplified tolerance graph with definite setups 115
5-19. Tolerance matrix with definite setups 116
5-20. The trees of setup precedence 117
5-21. The tolerance graph of setup precedence 117
5-22. The sequencing of setups 118
5-23. The procedure of setup sequencing 118
5-24. Tolerance graph with the sequence of setups 119
5-25. Machining process of the part 120
5-26. 3-D view of a rotational part 120
5-27. Design specifications of the rotational part 121
5-28. The matrix of machining features 122
5-29. The TAD matrix of the part 122
5-30. The transferred TAD matrix of the part 123
5-31. Initial tolerance matrix 123
5-32. Initial tolerance matrix with comprehensive information 124
5-33. Tolerance Graph with initial information of the part 124
5-34. Tolerance graph with each face in a definite TAD set 125
5-35. Tolerance matrix with each face in a definite TAD set 126
5-36. Tolerance graph with interior tolerances deleted or screened 126
5-37. Tolerance matrix with interior tolerances deleted or screened 127
5-38. Tolerance graph with undirected edges oriented 128
5-39. Tolerance matrix with undirected edges oriented 128
5-40. Simplified tolerance graph with undirected edges oriented 128
X
5-41. Machining process of the part 129
6-1. The GUI structure of the GATO setup planner 130
6-2. The GUI of the GATO setup planner 131
6-3. The initial information of Parti 132
6-4. The setup planning report of Parti 133
6-5. The initial information of Part2 134
6-6. The setup planning report of Part2 135
6-7. The flowchart of the simulation procedure 137
6-8. The simplified drawing of 5-27 138
6-9. The simplified tolerance graph of 6-8 139
6-10. The tolerance graphs of the two setup plans 139
6-11. Column charts of simulation results 141
6-12. The simulation result 144
D-1. Tolerance graphs (setup plans 1 ~ 10) 167
D-2. Tolerance graphs (setup plans 11 ~ 20) 168
XI
CHAPTER I
INTRODUCTION
0.030
0.025
0.020
Tolerances
0.015
(mm)
0.010
0.005
0.000
1 2 3 5 11 17
Relative costs
Goal
Base
8
CHAPTER II
LITERATUE REVIEW
Size variations
v . ^ , ;, .1...: : : i., - : ;, A
Waviness
Micro- Roughness
variations
Surface discontinuities
edge variations
- ( Straightness ^
- ( Profile (form) of lines y
Unrelated geometrical - ( Roundness ^ (^
tolerances
(Form tolerances) Q Flatness ~ ) /~/
-{Profile (form) of surfaces^
- ( Cylindricity~^ /C/
Geometrical -( Angularity } /^
tolerances - ( Orientation -( Parallelism ) / /
-{^ Perpendicularity ) \
C Position J ^
Related geometrical -( Coaxiliality ) (o)
-( Location }-
tolerances
-( Symmetry ^ - ^
Circular
run-out
-( Run-out y
Total
run-out 1/
Figure 2-2. Classification and symbols of geometrical tolerances.
10
In the area of dimensioning and tolerancing, only macro-variations are treated.
Micro-variations are usually studied in super-precision machining area, which is not
concerned in this study. In accordance to the geometrical variations, there are
dimensional tolerance, form tolerance, orientation tolerance, and location tolerance. The
definitions on these tolerances are in section 2.1.2.
The following basic definitions on tolerance are extracted from ASME Y14.5M-
1994 and ANSI Y14.5M-1982, which coincide in these definitions. These definitions are
abided by uniformly in this research.
Datum: A theoretically exact point, axis, or plane derived from the true
geometrical counterpart of a specific datum feature. A datum is an origin from which the
location or geometrical characteristics of features of a part are established.
Feature: The general term applied to a physical portion of a part, such as a
surface, pin, tab, hole, or slot.
Datum feature: An actual feature of a part that is used to establish a datum.
Dimension: A numerical value expressed in appropriate units of measure and used
to define the size, location, geometrical characteristic, or surface texture of a part feature.
Basic Dimension: A numerical value used to describe the theoretically exact size,
profile, orientation, or location of a feature or datum target. It is the basis from which
permissible variations are established by tolerance on other dimensions, in notes, or in
feature control frames.
Dimensional tolerance: The total amount of a specific dimension is permitted to
vary, it is the difference between the maximum and minimum limits.
Geometrical tolerance: The general term applied to the category of tolerances
used to control form, profile, orientation, location, and run-out.
Form tolerance: Permitted maximum value of the deviation of a feature
(geometrical element, surface, or line) from its nominal form.
11
Orientation tolerance: Permitted maximum value of the deviation of a feature
from its nominal form and orientation.
Location tolerance: Permitted maximum value of the deviation of a feature
(surface, line, or point) from its nominal location.
Run-out tolerance: It includes partly orientation tolerance (axial run-out
tolerance), and partly location tolerance (radial run-out tolerance).
Datums can have different priority (order of precedence) as follows (Henzold,
1995, pp. 34):
Primary datum: Oriented according to the minimum rock-requirement relative to
the auxiliary datum element;
Secondary datum: Orientated without tilting relative to the primary auxiliary
datum element (only by translation and rotation) according to the minimum rock-
requirement relative to the secondary auxiliary datum element (the secondary auxiliary
datum element is perpendicular to the primary datum elements);
Tertiary datum: Positioned without tilting and rotation relative to the primary and
to the secondary auxiliary datum element only by translation until contact with the
tertiary datum element (the tertiary auxiliary datum element is perpendicular to the
primary and secondary auxiliary datum elements).
c3
C/3 0 0.02
O
(U .ti '^
o
u <u
0.02
O
0.02
o
^'
u.uz 1
\-l
<u
GO
S 0 0.02
O
;3
OH
i^ 02
O
7 0 02
^^
c/2 y
13
Table 2-1. (Continued).
Type Drawing indication Tolerance zone
^ (U
J-^i- S-
on
o
(U
.11 }-i
o ^ 1 0.02 A
A
PH
o
// 0.02 A
I
PH
0 0.02
PH -^
(U .^ (U 1 @ 00.02 A
^' 0 0.02
-H CO
o
F-H o 3
o
o
^ 0.02 A
(U c
g c3
14
Table 2-1. (Continued).
2 i^
I ^ 0.1 A-B
(U ik iL
o
;3
o o ^' V
I A
B
US
O
^r
Zy" 0.1 A - B
i 0.1
2 iL ik
^' V
LJ^V^
O o /\ B
;3 0.1
O (U
/" 0.1 A
CD
O
o
(=1
;-!
i k
A ^
OS (U ^'
/ \.
Viz
o I
s <^
B ^ ly 0.1 A
13 k
x ^
cS O ^r
^ ->
/V
f2
CI / 0.1 A
_o
'-t-> fi fi c =
o .S o 0.1
' 1-H
y CD
o
S-H
C-C
o
o r
S 3fl O
^ 0.1 A Coaxial
3
o a i-H
I
o
5 U
Axial cut-section
15
5. Space within a cylinder.
6. Space between two equidistant faces or between two parallel planes.
7. Space within a parallelepiped.
The concepts on tolerance zone are the basis of tolerance analysis in this study.
local sizes (two-point measurements) (e.g., wall thickness), but not the form deviations of
the feature. Angular dimensional tolerances, specified in angular units (e.g., 1), control
the general orientation of lines or line elements of surfaces, but not their form deviations.
The general orientation of the line derived from the actual surface is the orientation of the
contacting line of perfect form.
20 20 -0.1 20 -0.1
16
In the same principle, the interpretation of some geometrical tolerances is showTi
in Figure 2-4 (Henzold, 1995).
When no relationship is specified the geometrical tolerance applies regardless of
feature size, and the two characteristics are treated (inspected) as unrelated requirement.
Consequently the principle of independency demands a separate indication for each
requirement (which may cause a particular checking operation and may be inspected
regardless of other characteristics).
0.4 A
350-0.6
Drawing indication Interpretation, extreme permissible part
The principle of dependence (refer to some national standard, e.g., ANSI Y14.5
Rule #1, BS 308, DIN 7176) applies to size and form of isolated features only. It doesn't
apply to orientation or location of related features. It neither applies to angular
dimensions or angular dimensional tolerances (Henzold, 1995, pp. 182). The principle of
independency (ISO 8015) together with general geometrical tolerances (e.g., IS02768)
and the envelope requirement, where applicable, provides the same interpretation of the
drawings worldwide (no misunderstanding due to different national rules). Hence, the
principle of independency is preferred to the principle of dependence in this study.
17
2.2 Tolerance Chart and Dimension Chain
Tolerance analysis and control are important during manufacturing to ensure that
parts meet design specifications. Analysis and control are very difficult when parts are
complex, design tolerances are very tight, the number of operations needed to make the
parts is large, and changes in machining datums are frequent. These conditions are
common in the aerospace and automotive industries. Tolerance control in manufacturing
involves control of individual processes and control of tolerance stacks from a sequence
of processes (Zhang, 1997, pp. 13-20).
18
1. Within the framework of the process/tooling decisions, as much as possible of
the blueprint maximum tolerance has been allocated among the in-process
cuts, which results in the maximum possible tolerance being assigned to each
cut in the process.
2. The minimum and maximum stock removals on secondary cuts are practical
and acceptable to the shop.
3. Every tolerance assigned is equal to and preferably larger than the estimated
process capability for the cut in question. Since the relationship between the
working tolerance and the process capability has a direct bearing on the
frequency of tool changes or adjustments, many companies have in-house
rules that call for the working tolerance to be 1.5 ~ 2.0 times the process
capability value.
During the course of building the tolerance chart, it may becomes obvious that
one or more of the initial process/tooling decisions results in assigning an impossibly
tight tolerance to an in-process dimension. When this happens, it is necessary to change
these decisions to satisfy the criteria for economic production.
Since all these decisions are still in the paper stage, that is, no tooling has yet been
designed, no great time or dollar loss will occur if a process change is required.
The widespread and growing use of NC machining has reduced the extent of the
tolerance stackup control problem by allowing cuts to be machined as shown on the
blueprint dimensioning schemes, by eliminating manual control of machine decisions
affecting the cuts, and by reducing the number of location surface changes and the
attendant fixturing required by non-NC machining. In general, it has also improved size
control and control of geometrical characteristics of part features. However, not all
tolerance stackups are eliminated by using NC machines (Wade, 1983).
Six distinct steps are involved in the construction of a tolerance chart (Wade,
1983):
Step 1: The outline of the part is drawn at the top of the chart. Feature plane lines
and machining cuts are introduced. All solid cuts are indicated in the stock remo\al
column. The appropriate number (N + 1) of feature plane lines corresponding to the N
19
blueprint dimensions are drawn vertically. The extra feature plan line corresponds to the
surface that receives the initial facing cut and serves as a datum for subsequent cuts.
Step 2: Balance dimensions are installed between feature planes generated by
machining cuts which contribute to the tolerance on one or more mean blueprint values.
In addition, blueprint tolerances are budgeted among cuts present in all schematics, due
consideration being given to (1) the process capabilities of the machine tools performing
each cut, and (2) the occurrence of one or more machined cuts in the schematics for
several blueprint dimensions.
Step 3: The tolerances on cuts from the previous step are entered in the chart.
Other chart entries in this step are (1) mean blueprint values, (2) their tolerances, and (3)
line numbers involved for all stock removals on secondary cuts and balance dimensions.
Step 4: Schematics for blueprint dimension are constructed so that the dimension
chains can be identified. The schematics do not include all the machining cuts in the
process plan. Tolerances on cuts not appearing in the schematics do not influence the
blueprint resultant dimensions but contribute to stackup on stock removal tolerances. An
additional set of schematics is constructed for secondary cuts on feature planes where the
stackup of stock removal tolerance must be controlled.
Step 5: Mean stock removals are computed by the careful consideration of the
relevant machine tool/tool/work material system for each constituent cut in the schematic.
Step 6: Mean dimensions are computed for machined lengths and balance
dimensions, starting from the bottom of the chart and working toward the top. A system
of equations involving machining dimensions and balance dimensions is solved through
inspection and backtracking until all known mean dimensions are obtained.
Figure 2-5 shows the blueprint and process plan of a steel plug. A sample
tolerance chart for the steel plug is shown in Figure 2-6.
For rotational parts a single chart per workpiece is sufficient to control tolerances
along the axis of the workpiece. There is no possibility of stackups occurring in the radial
direction; therefore, a second chart is not required. For prismatic parts it is necessary to
control tolerance stackups in three dimensions, hence at least three charts are necessary
for each workpiece. These charts will, in general, not be independent, as some surfaces,
20
1.900 .0010
-^^1.3OO.OO10 '<'OO10
G 1.000 .0010
X
Y G
A 1.000 .020
2.000 .009
J 3.000 .002
4.000 .005
(a)
OP. 10: FACE-CNT.-TURN-CUT OFF w&s OP 40: GRIND DIAMETER & SHOULDER NORTON
X-i ^ 1 ^ ^-X-
4-A
< J..5,
< (, ' \
4 8 ,
OP 30: GRIND DIAMETER & SHOULDER NORTON OP 60: GRIND END FACE BU\NCHARD
20
i^^^
(b)
21
(^1.915 0.020 ) 1.015 0 . 0 2 0
(20)1.900 0.010 ' 1.000+0.010 (To) 1.315 0.020
1 i r n i !<; j - n nirTi .
V U) l.JUO U . 0 1 k ?
(30)1.600 0.010
LINE OPER. REV. MACH. MACHINE TO BALANCE DIM LINES STOCK REM.
NO. NO. NO. USED MEAN TOL. >k E\ () [) I
MEAN TOL. INV. MEAN TOL.
1 10 W&S .979 .003 ^ 1 , 4^ SC LID
2 10 1.994 .003 - 2 ^ ' SC LID
3 10 3.003 .003 SC LID
d 3
4 , 4 , '> 1.009 .006 3-2
5 , 5 2.024 .006 3-1
6 10 4.031 .010 6 SC LID
7 . 7 , 1.028 .013 6-3
8 20 MONA. 1.008 .004 - 8 4 7-8 .020 .017
9 9 , 2.017 .010 4+8
10 10 3.032 .010 5+8
11 11 4.011 .007 3+8
12 30 NORT. 1.000 .001 12 8-12 .008 .005
13 1.017 .011 9-12
, 13 ,
14 2.032 ,011 10-12
, ""^
15 40 NORT. 1.000 .003 >, 15 ^ 13-15 .017 .014
16 16 , 2.000 .004 12+15
17 . 1'' , 1.032 .014 14-15
18 50 NORT. 1.000 .015 17-18 .032 .029
. ^^
19 19 , 3.000 .019 16+18
20 60 4.000 .001 20 z 11-20 .011 .008
21 21 w 3.000 .002 20-12
22 22 X 2.000 .005 20-16
23 . 23 , Y 1.000 .020 20-19
24
25
26
27
28
29
30
31 ;< Ii () I) E
32 BLUEPRINT RESULTANTS
33 4.000 .005 ,z 4.000 .001 20
34 1.000 .020 w 1.000 .020 23
35 2.000 .009 ' X 2.000 .005 22
36 3.000 .002 Y 3.000 .002 21
37
Figure 2-6. Sample tolerance chart for the steel plug (redrawn from Wade, 1983).
and hence tolerances, will appear on more than one chart. The charts must be linked
together through the common surfaces (Whybrew, 1990).
22
Tolerance chart analysis is still an effective tool for handling the tolerance stackup
problem. Many researchers are interested in automating the task of tolerance chart
analysis. Ahluwalia and Karolin (1986) developed a computer-aided tolerance control
system named CATC. Xiaoqing and Davies (1988) developed an interactive computer-
aided dimensional planning system named CADP.
Weill (1988) developed a computerized tolerancing and dimensioning software to
optimize tolerance ranges in relation to functional requirement and equipment
capabilities. Dong and Soom (1990) introduced an optimal design approach to tolerance
allocation. Ngoi and Fang (1994) developed a Gauss elimination technique for deriving
the operational dimensions and balanced tolerances during tolerance charting.
Graph theory was also applied in tolerance charting. Irani et al. (1989) and Mittal et al.
(1990) proposed a graph-theoretic representation of tolerance chart. Sermsuti-Anuwat
(1992) developed a tolerance-charting algorithm based on graph-theoretic techniques.
The sequence of operations to produce the component is represented as rooted tree that is
a special kind of directed graph. Ji (1993) proposed a tree approach for tolerance
charting, which is also a graph-theoretic approach.
23
3. Dimension chains with angular dimensions (Figure 2-7 (c)). Because of the
difficulty encountered in making angular measurements, angular dimension
chains are frequently replaced by dimension chains with linear dimensions.
Such dimensions can be checked by means of gages for measuring center-to-
center distance.
4. Dimension chains in spaces in which a series of dimensions do not lie on the
same plane. Such chains are rarely seen in practice and are solved by
projecting all the dimensions onto a single plane.
4 A
Figure 2-7. Types of dimension chains (redrawn from Wang and Li, 1991).
Formulas for manipulating dimension chains of type 1 are (Wang and Li, 1991,
pp. 89):
1. Formula for calculating nominal dimensions:
(2-1)
where
C = nominal dimension of the concluding link;
^ / = sum of nominal dimensions of all increasing links;
24
Q.=Z^n-Z^- (2-3)
where
Qax'^mm ^ maxlmum and minimum values of concluding link,
respectively;
Z /max 2 J ^min ^ ^^"^ ^^ maxlmum and minimum values of increasing
links, respectively;
links, respectively.
3. Formulas for calculating upper and lower deviations of dimensions:
A^c=Z^^/-Z^iD (2-4)
where
l^y^,/S.,j^ = upper and lower deviations of concluding link, respectively;
V Ay^ V A^/ = sum of upper and lower deviations of increasing links,
respectively;
V ls.jjj^ V A^^ = sum of upper and lower deviations of decreasing links,
respectively.
^c=I'5cp (2-6)
where
d(^ = tolerance range of the concluding link;
V 5^^^^ = sum of tolerance ranges of all component links.
Tolerance chains can be divided as dimensional chains and geometrical chains.
The concept of geometrical chain has not ever been seen in documents. The interaction of
dimensional tolerances is usually in one direction or on one plane, while the interaction
25
of geometrical tolerances may be in multi-directions or on multi-planes. For the setup
planning of prismatic parts, 3-dimension tolerance interaction is inevitable.
26
A completely CAPP system would include (Wang and Li, 1991, pp. 207):
1. Design input.
2. Material selection.
3. Process selection.
4. Process sequencing.
5. Machine and tool selection.
6. Intermediate surface determination.
7. Fixture selection.
8. Machining parameter selection.
9. Cost/time estimation.
10. Plan preparation.
11. NC code generation.
28
setup, and the precedence relations between the setups. The method takes into account
tolerance and precedence relations between the features.
Kim, Oh, and Cho (1996) proposed a system that implemented machining
sequences of reference surfaces and features. For machining of reference surfaces, the
machining sequences of reference surfaces are determined by using decision tables,
which are drawn from relations of part dimension, degree of surface roughness, fixture
type and its capacity, cutting tool's capacity, and experienced planners' knowledge.
Sarma and Wright (1996) proposed a graphic-theoretic model of planning along
with hierarchical prioritization of the objectives in planning. Algorithms are presented for
selecting the access faces for features, minimizing the number of setups, minimizing the
number of tool changes, and merging setup plans with preferable sequencing routines.
Fixturing concerns are ignored during planing, and tolerance relations are not considered.
Champati, Lu, and Lin (1996) proposed the application of one technique in
Artificial Intelligence (Al), i.e., case-based reasoning, to automate the generation of
operation sequences for intersecting features. The following issues are particularly
considered: (1) Representation of operation sequencing cases; (2) Indexing and retrieval
of operation sequencing cases; (3) Adaptation of operation sequencing cases.
Ozturk (1997) proposed a method using feature dependency and production
know-how rules for setup sequencing. Feature dependency is based on dimensional
tolerances, geometrical tolerances, and surfaces quality requirements.
Chen, Zhang, and Nee (1998) reported an approach to setup planning of prismatic
parts using Hopfield neural net coupled with simulated annealing. The approach dealt
with setup planning in two stages, i.e., (1) Sequence all the features of a workpiece
according to geometrical and technological constraints; and (2) Identify setups from the
sequenced features. The algorithm is based on converting the feature-sequencing problem
to a constraint-based travelling salesman problem (TSP). Each feature represents a city.
Setup time due to setup and tool change is incorporated as the "distance" between cities.
Feature precedence and critical tolerance requirement are treated as constraints. The
Hopfield neural net approach for TSP, i.e., energy function is adopted to model this
29
constraint-based TSP where the feature precedence and critical tolerance constraints are
attached as additional penalty ftanctions.
Wu and Chang (1998) proposed an approach that used the tolerance specification
in a feature-based design system to generate setup plans with explicit datum elements.
The number of setups required and the estimated accuracy of the resultant dimensions
rank these setup plans. Position tolerance is analyzed before the setup planning. After
feasible setup plans have been determined, other geometrical tolerances that are affected
by locating surface are examined.
Zhang (1996), Huang (1995), and Mei (1996) have developed a graph-matrix
approach to setup plarming for rotational parts based on tolerance analysis.
Mei (1996) developed a rulebase and conducted a neural work approach of
experiment for tolerance analysis and setup datum selection. The work is based on
comparative study on tolerance analysis versus operational tolerance analysis, manually
operated machining versus numerical controlled (NC) machining, and designs datums
versus machining datums. Principle and rules are obtained to train a back-propagation
neural network to select datums and setups. The study intended to improve quality and
economy of manufacturing by minimizing the effect of the cause of variation of
machining process without controlling the cause itself The study dealt with rotational
parts rather than prismatic parts.
Huang (1995) developed a graph-matrix approach to generate practical setup
plans based on tolerance analysis. The problem of tolerance stackup in NC machining
was analyzed in terms of manufacturing error analysis. Guidelines for setup planning
were then developed based on the analysis. In the study, the design specification of a part
is represented as a graph. The problem of identifying the optimal setup plan is
transformed into a graph search problem. A setup-planning algorithm for rotational parts
was then developed and its efficiency and effectiveness evaluated. The same principle
was then applied to prismatic parts and resulted in a setup-planning algorithm for
prismatic parts.
30
Huang (1998) also developed an automated setup planning approach for lathe
machining, where undirected graph theory is adopted and rotational parts are considered.
The problem of setup planning is formulated mathematically with physical constraints.
31
4. Fixture body
The fixture body is a rigid structure, the purpose of which is to maintain the
corrected spatial relationship between locators, clamps, supports and the machine tool on
which the workpiece is to be processed.
Selection of locating features is influenced by:
1. Tolerance on design dimensions;
2. Form of the raw material;
3. Sequence of operations;
4. Orientation of the workpiece with respect to the machine-tool spindle axis;
5. Spatial relationship of the workpiece, the machine-tool structure and the
machining envelop;
6. Size and shape of available surfaces.
Clamping features must be chosen so that all forces imposed during machining
can be reacted to the machine tool bed through the location and support surfaces.
Selection of clamping features is influenced by:
1. Locating features;
2. Supporting features;
3. Magnitude and direction of machining forces;
4. Spatial relationship of the workpiece, the machine-tool structure an the
machining envelop;
5. Surface finished specified in the design specification;
6. Workpiece strength and stiffness;
7. Type and size of clamps.
Geometrical control is concerned with stability of the workpiece. The position of
the workpiece in the fixture is defined by a number of locators. For good geometrical
control, the workpiece must automatically come into contact with all locators in an
exactly repeatable way despite operator skill. Any rigid workpiece has six degrees of
freedom and twelve directions of motion. Locators stop movement in one direction only,
therefore for complete location exactly six locators are required. Holding forces prevents
motions in the opposite direction.
32
When requirement of geometrical and dimensional control conflict, precedence
should be given dimensional control.
For example, in Figure 2-8, located in the way any change in workpiece diameter
will cause a change in the position of the horizontal centerline. The 0.1mm tolerance on
the cylindrical diameter means that the horizontal centerline is only located within
0.07mm. Clearly the design specification of 0.05 is impossible with this method of
location. The locators must straddle the centerline they locate. An acceptable alternative
system of locators is shown in Figure 2-9 (Nee, 1995).
20+0.10 50.05
.^/'Ns. .y>-
20+0.10 50.05
The typical fixture for the setup planning of prismatic part is vise. The traditional
machine vice for part gripping has been around since the inception of milling operations
and until recently had seen only modest development. So popular are machine vices of
one sort or another that it would be highly unusual to find a company involved in the
machining of prismatic parts without such workholding equipment. Their popularit)
stems from the fact that they are able to accommodate a range of parts, from small
33
intricate prismatic shapes to long, slender workpieces - if used in conjunction with an
identical vice (Smith, 1947, pp. 193).
The vise clamping module uses the following procedure to determine the fixturing
method (Chang, 1990):
1. Select from the workpiece boundary model all faces that are oriented
perpendicular to the main approach direction V of the setup {F i = 1. ..., n\
NiX V^O},Ni is the normal of face Fj.
2. Pair faces FPk = (Fj, Ff) with opposite surface normal (M = -A^,) and store
them as candidate clamping faces.
3. Delete from the candidate clamping face pair the ones that have face-
overlapping areaAk less than a certain acceptable value. Face overlapping area
is defined as the intersection of a face projected to the other face along the
normal direction.
4. Calculate a composite weight Wk for each face pair FPk. The composite
includes weights on overlapping area, inverse of the face distance, and
number of features likely to be machined on the auxiliary faces.
5. Select the face pair FP* which has the maximum weight Wk FP* ^^ W* =
max {Wk, k= 1, ... m).
6. If there is a through hole present in the feature set of the setup, calculate the
distance d from the feature to FP*. This distance d is used as the maximum
vise step size.
7. Query the data with the face pair data and d for the appropriate vise jaw.
8. Calculate offset of the workpiece for machining features on the auxiliary
faces.
Cutting force and stability analysis can also be performed. The potential
interference between the fixture and the features to be machined is checked.
34
2.4 Graph Theory and Algorithms
2.4.1 Basic Concepts on Graph Theorv
A finite graph G = (V, E) consists of two sets: a finite set V of elements called
vertices and a finite set E of elements called edges. Each edge is identified with a pair of
vertices. If the edges of a graph G are identified with ordered pairs of vertices, then G is
called a directed graph. Otherwise G is called an undirected graph. A graph G with
weights associated with its edges is called a weighted graph (Thulasiraman and Swamy,
1992).
In a graph, the symbols Vj, V2, V3, ... are used to represent the vertices and e^, e^,
e^, ... are used to represent the edges. Hence V= {vj, V2, V3, ...} and E = {e^, e2, e^, ...}.
The vertices v, and Vj associated with an edge Cj are called the end vertices of e/. The
edge ei is then denoted as Ci = (v^, v). While the elements ofE are distinct, more than one
edge in E may have the same pair of end vertices. All edges having the same pair of end
vertices are called parallel edges. Further, the end vertices of an edge need not be
distinct. If Ci = (v^-, v^), then the edge Cj is called a self-loop at vertex v^. A graph is called
a simple graph if it has no parallel edges or self-loops. Consider a graph G = {V, E). G'
= (V, E')isa subgraph of G if V and E' are, respectively, subsets of Vand E such that an
edge (v^, Vy) is in F ' only if v^- and Vy are in V.
An edge is said to be incident on its end vertices. Two vertices are adjacent if
they are the end vertices of some edges. The number of edges incident on a vertex v, is
called the degree of the vertex, and is denoted by d{v^. For a directed graph, the in-
degree d'iy^ of v^ is the number of edges incident into v^ and the out-degree d ^(v,) is the
number of edges incident out of v^.
A walk in a graph G = (F, F) is a finite alternating sequence of vertices and edges
VQ, ^1, V], ^2' ^"^k-\^^h ^k beginning and ending with vertices such that v^.j and v,- are the
end vertices of the edge e^, \ < i < k. A walk is open if its end vertices are distinct;
otherwise it is closed.
A walk is a trail if all its edges are distinct. A trail is open if its end vertices are
distinct; otherwise, it is closed.
35
An open trail is a path if all its vertices are distinct.
A closed trail is a circuit if all its vertices except the end vertices are distinct.
A graph is said to be acyclic if it has no circuits. A tree is a connected acyclic
graph.
A directed walk in a directed graph G = (F, F) is a finite alternating sequence of
vertices and edges VQ, VJ, V2, ..., v^ such that (v^.j , v^), 1 < z < A:, is an edge in G. A
directed walk is open if its end vertices are distinct; otherwise it is closed.
A walk is a directed trail if all its edges are distinct. A directed trail is open if its
end vertices are distinct; otherwise, it is closed.
An open directed trail is a directed path if all its vertices are distinct.
A closed trail is a directed circuit if all its vertices except the end vertices are
distinct.
A directed graph is said to be acyclic if it has no directed circuits. For example,
the directed graph in Figure 2-10 is acyclic.
36
Let Vi and V2 be two mutually disjoint subsets of Fsuch that F= Fi u V2; Then
the set S of all those edges of G having one end vertex in Vi and the other in Vj is called a
cut of G. This is usually denoted by <Vi, V2>.
Sometimes it is desirable to change an undirected graph into a directed one by the
process of duplication: to each edge of the graph, we replace it by a pair of edges with the
same endpoints but with opposite directions. For example, in Figure 2-11, the undirected
graph is changed into directed graph by duplication process (Chen, 1997).
37
2.4.2 Matrices of a Graph
A graph is completely determined by specifying either its adjacency structure or
its incidence structure. These specifications provide far more efficient wa\s of
representing a large or complicated graph than a pictorial representation. Because
computers are more adept at manipulating numbers than at recognizing pictures, it is
standard practice to communicate the specification of a graph to a computer in matrix
form (Foulds, 1992).
Let G = ( F ^ be a graph with no parallel edges. Let F = (vj, vj, ... , v}. The
Consider a graph G with n vertices and m edges and having no self-loops. The all-
vertex incidence matrix Ac = [ajj] of G has n rows, one for each vertex, and m columns,
one for each edge. The element ay of Ac is defined as follows:
G is directed
1, if the yth edge is indident on the zth vertex and oriented away from it;
a -1, if the /th edge is indident on the /th vertex and oriented toward it;
u
0, if the yth edge is not indident on the /th vertex.
G is undirected
1, if the yth edge is indident on the /th vertex;
a <
0, if the yth edge is not indident on the /th vertex.
The cut matrix Qc = [^y] of a graph G with m edges has m columns and as many
rows as the number of cuts in G. The element qtj of Qc is defined as follows:
G is directed
1, if the yth edge is in the /th cut and has same oriention with the cut:
q^j = ) - 1 , if the jfh. edge is in the /th cut and has opposite oriention with the cut:
0, if the yth edge is not in the /th cut.
G is undirected
38
1, if the yth edge is in the /th cut;
^^J =
0, otherwise.
The circuit matrix Be = [by] of a graph G with m edges has m columns and as
many rows as the number of circuits in G. The element by of Be is defined as follows:
G is directed
1, if the yth edge is in the /th circuit and has same oriention with the circuit;
by =\-^, if the yth edge is in the /th circuit and has opposite oriention with the circuit;
0, if the yth edge is not in the /th circuit.
G is undirected
1, if the yth edge is in the /th circuit;
^ =
0, otherwise.
Graphs arise in the study of practical problems. The first step in such studies is to
discover graph-theoretic properties of the problem under consideration that would help us
in the formulation of a method of solution to the problem. Usually solving a problem
involves analysis of a graph or testing a graph for some specified property. Graphs that
arise in real-life problems are usually very large and complicated. Analysis of such
graphs in an efficient manner, therefore, involves the design of efficient computer
algorithm (Thulasiraman and Swamy, 1992).
Some basic graph analysis algorithms are for the following topics (Foulds, 1992):
1. Tree search,
2. Connectivity,
3. Planarity,
4. Spanning trees,
5. Isomorphism, and
6. Fundamental cycles.
Some basic graph optimization algorithms are for the following problems:
1. Shortest paths,
2. Minimal spanning trees,
39
3. Maximum weight planar subgraphs, and
4. Network flows.
Some intensively explored optimization algorithms are:
1. The greedy algorithm,
2. Coloring, and
3. Matchings.
The details of these algorithms can be referred from McHugh (1990),
Thulasiraman and Swamy (1992), Foulds (1992), Diestel (1997), and Bollobs (1998).
40
CHAPTER III
TOLERANCE ANALYSIS
f
It t
O^
(b) Two-dimension tolerance zone
Or,
T
(c) Three-dimension tolerance zone
As shown in Figure 3-1, there are three types of typical tolerance zones:
(a) One-dimension tolerance zone.
(b) Two-dimension tolerance zones.
41
(c) Three-dimension tolerance zones.
Dimensional tolerance zone belongs to type (a). Type (b) and type (c) apph' to
geometrical tolerance zones. In a Cartesian coordinate system, three-dimension tolerance
zones can be projected into two-dimension tolerance zones, and two-dimension zones
into one-dimension zones, as shown in Figure 3-2. Most tolerance zones are three-
dimension; however, tolerance chain and tolerance analysis are usually carried out in
two-dimensions or one-dimension.
4 Z
42
but different types of tolerances cannot be directly compared. Therefore, the values ha\ e
to be converted to non-type-specific values. For the purpose of comparison, a so-called
tolerance factor (T. F.) has been introduced. A tolerance is converted into a tolerance
factor by dividing the tolerance value by the representative length. This length depends
on the type of tolerance and the dimensions of the part. Depending on the type of
tolerance, positioning errors can be composed of rotation and translation errors. But the
errors caused by rotational misalignment are always dominant. Besides that, translation
errors can be compensated by the machine tool controller (Boerma et al., 1988). The
tolerance factor depends on the tolerance value and the characteristic length of the
toleranced feature. In Figure 3-3 (Demey, Brussel, and Derache, 1996), it is shown that
different toleranced features has different characteristic lengths, hence different tolerance
factors.
"Y
(a) characteristic length of a surface (c) characteristic length of a hole
L * // 0.02 A
B // 0.03 B
I
^-l.
TF = L2/0.03 TF = L,/0.02
(b) T. F. with the surface as toleranced feature (d) T. F. with the hole as toleranced feature
43
t
(3-1)
'~~L
where
r, = - ^ ^ (3-2)
l=\
where,
7}: tolerance factor;
/: the number of parameters of the feature;
//: length, width, or diameter of the feature (equal to 0 if absent);
t^: tolerance value;
n: the number of component dimensions.
45
Table 3-2. Geometrical tolerance zones and tolerance factors.
Tf=tll
t: tolerance value
/: the nominal length of
the line
o t Tf^tld
r^^ ^
Tf^tll
t: tolerance value
/: the nominal Length
I
Tf=tll
SC75t
t: tolerance value
/: the nominal Length of
the longest line
segment on the surface
ii r/=//(/^ + ^ ) 1/2
t: tolerance value
/: the nominal Length
d: the nominal diameter
i Tf=t/il^ + w^y^^
< \ 4 W H
t: tolerance value
/: the nominal Length
w: the nominal width
46
Table 3-2. (Continued).
Drawing indication Tolerance zone Tolerance factor
z t A Tf-tK.i^ + w-f^
\A/ .^
t: tolerance value
/: the nominal Length
w: the nominal width
Tf=tl{\^ + w^f^
i;^ t: tolerance value
/: the nominal Length
-^ 1 t A
w: the nominal width
Tf=tl{i^ + w^f'^
1 t: tolerance value
/: the nominal Length
w: the nominal width
/ /I 7 > = r / ( / ^ + w^)'^^
A
i
' -y-Ar
-^4^ /: tolerance value
, 1 Z^' ^ - ^ ^ -
/: the nominal Length
^ ^ 0.02 A w: the nominal width
47
Table 3-2. (Continued).
Drawing indication Tolerance zone Tolerance factor
/ t A B
Tf=tl d
^ t A-B
^r Tf=tl{f- + c?) Ml
i k k
Tf=,ld
/" t A /?\ \
0d L. t: tolerance value
d: the nominal diameter
\L d
ik
ik
< ^^ t A Tf=tl d
"0cl t: tolerance value
^
y\ d: the nominal diameter
^ c
/' t A
^ <
i k Tf^2t/{di + d2)
^
^d 0do
^
t: tolerance value
di, di: the nominal
c-c diameters
48
Thermal stability
2. Cutting Tool
Tool wear
Variation of tool size and cutting geometry
Rigidity of the tool and support
Thermal stability
3. Fixture
Variation between duplicate fixtures
Variation in location
Wear and contamination of locating surfaces
Deflection of locators and fixture
Thermal stability
4. Workpiece
Variation in physical and chemical properties
Variation in workpiece size
Rigidity of workpiece
Thermal stability
Stress relaxation
Coolant
Variation of flow
Variation of temperature
Contamination
Degradation
6. Operator
Variations are particularly apt to occur if the finished size is under the
direct control of the operator
7. Environmental conditions
Changes in temperature affect the machine, fixture and tool geometry, and
hysteresis in moving parts (e.g., slide ways and bearings)
49
8. Process variable
Changes in process variables, such as feed and depth of cut, have a direct
effect on workpiece size and geometrical variation
Each aspect of the above sources deserves specific study in precision
manufacturing. The errors can be classified in two groups: those that are random,
unpredictable, and cannot be controlled, and those that are constant, time dependent or
capable of being controlled. Two examples of the first group are the effects of hysteresis
and random variations of the chip-forming process. The second group includes the effects
of tool and fixture wear over a period of time which can be measured and compensated
for, or predicted by a tool wear management system (Torvinen, 1995) In this study, we
want to explore the influence of setup methods on machining accuracy. Hence all these
sources should be classified in a way easy for the analysis.
To investigate the manufacturing errors involved in the geometrical relations and
dimensional relations obtained using different setup methods, Huang and Zhang (1996)
have made the following assumptions:
1. The part to be machined is located and clamped on the machine table using a
fixture;
2. The fixture is perfectly set up on the machine table;
3. The cutting tool is perfectly accurate and the effect of tool wear is trivial so
that it can be ignored;
4. The effect of workpiece deformation due to clamping force, cutting force,
gravity, and internal stress is trivial so that can be ignored.
According to the above assumptions, Huang and Zhang classified the errors
affecting the accuracy of dimensions into setup error and machine motion error The
assumptions and classification are valid in the manufacturing with ordinary precision.
However in higher precision manufacturing, the errors mentioned in the assumptions may
not be ignored. Just because these errors cannot be ignored, the significance of
improving the accuracy of a machined part through better setup planning is much more
apparent. Good setup planning always cost less than improving the accuracy of hardware.
50
In this study, all types of error sources are classified according to their influences
on the geometrical positions of locating features and machining features of the on-line
part. Hence, there are two types of errors that are directly related to the accuracy of part
(illustrated in Figure 3-4):
Locating error: the variation between the position of actual datum feature and the
position of ideal datum. After a workpiece has been located and clamped, the setup error
remains as a constant unless the workpiece is removed from the fixture. Therefore, a
locating error is a deterministic error within each setup.
Machining error: the variation between the position of an actual machining
feature and the position of ideal machining feature.
locating machining
error error
cutter
locator
>
actual
dimension
Both locating error and machining error consist of a number of constant errors
and random errors. The tolerance of locating is usually 20 ~ 50 percent of the part
tolerance. This is necessary to maintain the required precision (Luggen, 1991).
Constant errors are added algebraically, while random errors are added
arithmetically. A resultant error can be calculated by the following formula:
A=I,<i',+jI(/5,,)' (3-3)
/=1
where.
51
A, resultant error,
2) Setup method H: using one feature as setup datum and machine the other;
3) Setup method lU: using intermediate setup datums to machine the two features
in different setups.
52
3.2.1 Dimensional ToleranceA^ariation Stackup Analysis
As shovm in Figure 3-1 (a), the tolerance zone of a dimension is strictly in one-
dimension, hence the formulation of dimensional tolerance stackup is relativeh'
straightforward. Suppose in a space, the relation of a resultant dimension d with its
component dimensions is as following,
d = f{x^,x^,...,Xi,y^,y^,...,y^,z,,z,,...,z^) (3-4)
where,
d: resultant dimension,
X,, / = 1, 2, 3, ..., /: component dimensions in X coordinate,
yj ,j= 1, 2, 3, ...,m: component dimensions in Y coordinate,
Zk,k= 1, 2, 3, ...,n: component dimensions in Z coordinate.
Theoretically, in worst case:
9/ Ax.. 9/ ^y, df
Az,
+ 1 (3-5)
/=1 Sx:. /=1 9F, A:=l dz,
where
Ad: variation of resultant dimension,
Ax Ayj, Azk: variations of component dimensions.
In statistical case:
I f df V -^
Ad =
(=1
Ax, +z ^y. + 1 -^A2, (3-6)
k=\ \^^k J
J
In the following text, both worst case and statistical case are dealt with. Worst
case and statistical case can deduce similar conclusions in qualitative analysis.
For example, 3 holes are to be drilled in a plane with their dimensional relation
shown in Figure 3-5. The horizontal dimensions are omitted for simplifying analysis.
53
Figure 3-5. Dimensional relation of 3 holes in a plane.
54
c'=b'-a (3-7)
In worst case.
dd dc'
Ac'= Aa + Ab'
da db' (3-8)
= Aa + Ab'
In statistical case,
AC'^VAO^TA^ (3-9)
The dimension chain of c Ms one-dimension, which is what ^'dimension chain"
used to mean. In one-dimension case, the variation stackup is independent from basic
values of component dimensions.
For c, there exists a dimension chain as shown in Figure 3-7.
b-a (3-10)
c -
sin^
In worst case.
dc dc dc
Ac = Aa-\- Ab + AO
da db dO (3-11)
1 1 {b-a) cos 9
Aa + Ab + AS
sinO sinO sin^6'
In statistical case.
55
Ac =
r 1 .^ ^ (b-a) cos 6
Aa + ' A*^ + AO (3-12)
sin^ sin^ sin^O
dc dc dc
Ac = Aa + Ab +
Ad
da db dd
(3-14)
(b - a)iAa + Ab) + dAd
4d^ +{b-aY
56
Zi Az
X = Xj-{X2-X3) (3-15)
In 7 direction:
Y=Yi-Y2 (3-17)
Ay = A y; + A Y2 (3-18)
In Z direction:
Z=Zi + Z2 + Z3 (3-19)
57
3.2.2 Geometrical Tolerance/Variation Stackup Analysis
Machining
face
Operational
datum
// 1 TAFI M
Design datum // I TAEI A|
In Figure 3-10, the dimensional tolerance stackup and parallel tolerance stackup
can be shown in the follows,
TAB='^A+^B (3-21)
58
r.^ =
AC AB -F-TD
B + AC
= T,+Tj,+A+A
B B ^C (3-22)
B C
I
i=A j^B
^^
AD" - ^AC '^'^C ~^^D
= Tj-\-Tn+Tr^
A B C + Jir,+
B An
"C
+X
'D (3-23)
C D
i=A j=B
Similarly,
D E
(3-24)
i=A j=B
E F
TAF = I^/+ S^; (3-25)
i=A J=B
59
3.2.2.2 Two-Dimension Geometrical Tolerance Stackup Analysis
For the part shovm in Figure 3-12, suppose the machining precedence of all the
faces is: D => B => C => E => F => A. The machining datums of face B, C, E, F, and A
are D, B, C, E, and F respectively. Assume the machining errors and locating errors are
all within the tolerances, therefore in the following text we substitute the error values
with corresponding tolerance values for error stackup analysis.
/AZ /
/I
/ 1
!__F_!
rbj
^
V F
a ID
1 II tpE 1 K1
1 tEcl q
A L, w
The tolerance graph (which will be discussed in detail in Chapter IV) for the part
is shown in Figure 3-13. The resultant tolerances are illustrated in dot lines, component
tolerances in arrow lines.
Figure 3-14 shows the two-dimension view of the tolerance zone of face B. The
size of tolerance zone is usually 10 - 1 0 " of part size. In the following figures, the
tolerance zone is exaggerated for illustration.
From Figure 3-14, the tolerance zone indicates two possible maximum
movements of the part: horizontally translation of AB and rotation of 6. Suppose using
face B as machining datum for machining face D and face C, and the variation zone of
60
face B is equal to the tolerance zone of face B. The variation of face D is equal to the
translation of face B (as shown in Figure 3-15):
AD = AB (3-26)
I ICBTB
1 U^ID
rtiTi:
r-wTF
D Tolerance zone of B
B
- ^ A B ^
-*\ A o k - -^ A B ^
61
The translation of face B has no effect on the variation of face C. The effect of the
variation of face B on face C is through the rotation of 6, as shown in Figure 3-16.
^B ^ Ac
tgO (3-27)
L.
A,-^A B (3-28)
The following tolerance stackup analysis is based on the above variation stackup
analysis.
From the tolerance graph in Figure 3-13, tcD has two components as tsD and tcB-
Face B is parallel to face D, according to Formula (3-26), the tolerance stackup of face D
on face B is tBD^ to- Face C is perpendicular to face B, according to Formula (3-26), the
tolerance stackup of face B on face C is tcB- According to Formula (3-28), the tolerance
stackup on face C is
In same way.
62
^3
/'ED = t +/
J ''CD ^ 'EC
~'1~\^T~\^BD'^''D)'^'CB\'^^EC (3-30)
1 / \ 3
~ ~Y~ \^BD + * D / "^ ~T~ ^BC "^ ^C
^2 ^1
^2
/ = t +t
'AD J 'FD ^ 'AF
2 r 1 / \ 3 T
~" ~j~ ^~j~ ^ BD "*" ^Z) i "^ " ^ ' Cfi "*" * C "*" ^FE J "^ ' / i f
L. . . L. . , (3-32)
~ J \'BD "^ ^D / "*" ^CB "*" , \'EC "*" ^F ) "^ ^AF
^3 ^3
~ " ^ V BZ3 + *^D / "*" " ^ y'EC "*" '^Ff ^ "*" 'AF "*" ^CB
63
Z'
X = x'+a
y = y+b (3-33)
z = z^+c
or
y y + (3-34)
\X J K^J v^y
Assume when OXYZ rotates to OX'Y'Z', the rotational angles of OX', OY'. OZ'
relative to OXYZ are:
OX OY OZ
OX' ai Pi Yi
OY' a2 P2 Y2
OZ' as Ps 73
64
X = x' COS | + y COS ^2 + z' COS a^
y = x'cos /?! + y cos y^2 + ^'cos /?3
(3-35)
z = x' cos ;ri + >^' COS ;^2 + ^' cos ^3
or
{
^X^ cosofj cosa2 cosa3 \f ^y\
^x-x'^ (
cosa^-l cos 0^2 cosQr3 ^x'^
Z A
I ^'
73 /
65
To transform the point into a new point P' with coordinates [x', y', z', 1] in OXYZ fi-ame
(Chang, 1998),
P'=PT (3-38)
~1 0 0 0'
0 1 0 0
7. =
0 0 1 0 (3-39)
a b c \
1 0 0 0
0 COS a sin a 0
T
X 0 -sin a cos a 0 (3-40)
0 0 0 1
COSy^ 0 -sin p 0
0 1 0 0
h= siuy^ 0 cos p 0 (3-41)
0 0 0 1
66
cos;^ sin;' 0 0
-sin;' cos;' 0 0
^z = 0 0 10 (3-42)
0 0 0 1
In setup planing we usually select plane faces or cylindrical faces (either convex
cylindrical faces or concave cylindrical faces) as locating faces. The tolerance zone of a
plane face is usually as (a) or (b) in Figure 3-19. The tolerance zone of a cylindrical face
is usually as (c) or (d) in Figure 3-19.
0d t
(Ci3L__j [__I^
l^_____^^
T
(a) (b)
> Y
On
(0) (d)
1 0 0 0"
1 0 0
r. = 00 0 1 0
0 0 t 1_
67
1 0 0 0
0 cos{arctg ) sin(arc/g ) 0
Tx = b b
0 - sin{arctg ) cos(arctg ) 0
b b
0
0 0 1
t
cos(arctg ) 0 - sin(arctg ) 0
a a
0 1 0 0
Ty = t t
sm{arctg ) 0 cos{arctg ) 0
a a
0 0 0 1
1 0 0 0
0 1 0 0
T^ = (3-43)
0 0 1 0
0 0 0 1
1 0 0 0
0 1 0 0
^t- 0 0 1 0
0 0 t \_
1 0 0 0"
0 cos(arctg ) sin{arctg ) 0
d d
^x =
0 - sin{arctg ) cos{arctg ) 0
/7 d
0 () 0 1
68
cos{arctg ) 0 - sin{arctg ) 0
d d
Ty = 0 1 0 0
t
sm{arctg ) 0 cos(arctg ) 0
d d
0 0 0 1
1 0 0 0
0 1 0 0
Tr, =
0 0 1 0 (3-44)
0 0 0 1
The transformation matrixes of Figure 3-19 (c) and Figure 3-19 (d) are:
1 0 0 0
0 1 0 0
T =
0 0 1 0
0 t t I
1 0 0 0
0 1 0 0
^X = 0 0 1 0
0 0 0 1
cos(arctg -) 0 - sin{arctg -) 0
0 1 0 0
h= t cos(arctg -) 0
sin(arctg -) 0
0 0 0 1
69
K . t
cos{arctg-) sm{arctg-) 0 0
K . t
T.
-sm{arctg-) cos(arctg-) 0 0 (3-45)
0 0 1 0
0 0 0 1
70
I // I tA ID'
// I fa IC'
Machine
2 /'
J == 0, 1, 2,. ..: machining error of each machining face,
71
0\ the cutting tool needs to be brought to O' and the distance between the machine
origin O and the program zero O' is recorded. Assume the recorded distance is XQ. due to
the machine motion error, the actual distance would be XQ + 0.5^. Here SQ is still
classified as machining error although there is no actual cutting.
Xis the length between machined surface C and D'. Surface C and D' are both
machined in the first setup in which surface A is used as a setup dattim. Therefore, X is
obtained using setup method I.
= (^2-^2)-(^i-^i) (3-46)
= ( X 2 - X , ) - ( ( ^ , +^2)
The dimension of Xis influenced only by two machining errors, the locating error
has no influence on it. Dimensions obtained using setup method I are denoted as type I
dimensions. Thus, type I dimensions are only influenced by two machining error
components.
In the second setup. A' and B' are machined using D' as setup datum. Y is the
length between machined surface A' and D'. Surface D' is the setup datum when
machining surface A'. Therefore, 7is obtained using setup method II.
Y=T
= (^4-^4)-(^o-^o)-A2 (3-47)
= (^4-^o)-(^0+^4+A2)
= [(x3^^3)-(xl<yo)iAJ-[(x,-x,)^(<5,+<?,)] (3-48)
TC'D'=XC-+XD- (3-49)
The parallelism of face C and face D' is influenced only by two machining
errors, the locating error has no influence on it. Geometrical errors obtained using setup
73
method I are denoted as type I geometrical errors. Thus, type I geometrical errors are
only influenced by two machining error components.
In the second setup. A' and B' are machined using D' as setup datum. Surface D'
is the setup datum when machine surface A'. Therefore, the parallelism error between A'
and D' is obtained using setup method II.
The parallelism of face A' and face D' is influenced by one machining error
component and one locating error component. Geometrical errors obtained using setup
method II are denoted as type II geometrical errors. Thus, type II geometrical errors are
influenced by one locating error component and one machining error component.
Surface C is machined using surface A as a setup datum in the first setup; while
surface B' is machined using surface D' as a setup datum in the second setup. Therefore,
the parallelism of face B' and face C' is obtained using setup method III,
TB'C'= TB'D'+ TD'C
^^B'+FD'+XC'+XD' (3-51)
75
tolerances, the undesirable stackup of errors might make the manufacturing of the part
impossible even with the best machine tool.
The above discussion showed that error control can be achieved proactively via
setup planning. Features with tight tolerance relationships should be arranged into the
same setup whenever possible. When two features with tight tolerance relationships
cannot be machined in the same setup, they should be machined by setup method II.
Only when the tolerance stackup is within tolerance specification can setup III be used.
76
CHAPTER IV
TOLERANCE GRAPH AND MATRIXES
F=\fMflJx-Jn) (4-1)
T^{t,j,\i,j=\,2,...,n} (4-2)
where/i,/2, f,...fn represent the faces of a part, and t,j represents the tolerance relation
between f a c e / and facej^.
tij is denoted as
kj = (f.,f?> (4-3)
where, /,,; is the tolerance weight (always positive) between/ a n d / , / is the datum of/,
defined as
77
tolerance value between / and /
f = (4-5)
'-J Characteristic length of the toleranced feature
The tolerance weight of a tolerance graph is 10"^ of the reciprocal of the tolerance
factor,
1
t, i = (4-6)
'' lOOOxT, ^
' i,J
tu=(f.f.) (4-7)
f, ) ^-^ ( f
(b) t | , r ( f i , f j ) , ( f j , f | H .
(a) [. .={f., f.;)={f.,f .)=t..
t'u
^^^^-l^
(c) t|,r(^.^)
78
For a tolerance graph G^(F,T),F^ { / i , / , / , - , / },T= {t,j,\ i,j=\,2,...,n }.,
the adjacency matrix M = [w/^ j] ofGisannxn matrix with W/,y defined as follows:
^U' if t^j = ( / , / . ) , i.e. the zth face is the datum of the yth
face in the tolrance relation;
^u =< (4-8)
0, if there is no tolerance relation between the zth face
and the yth face.
Because the tolerance graph includes both directed and undirected edges, the
adjacency matrix M = [mj^ j] of G is nonsymmetrical.
The number of edges incident on a vertex/ is called the degree of the vertex, and
is denoted by d(f). The in-degree d'{f^ off is the number of edges incident into/, the
out-degree d^(f) is the number of edges incident out off. An undirected edge is treated
as one incident-in edge and one incident-out edge in calculating the number of degree.
Hence,
For example, in calculating the degree of vertex, the graph in Figure 4-2(a) can be
treated as the graph in Figure 4-2(b), hence
d(fi)-d'{f) + d-if)-2+\-3,
79
d(fi)-d'{f2) + d\f2)=\ + \=2,
d(f,)-d'(f) + d-{f)=l+2-3.
Because an edge connecting face z and face j is denoted as //, y = (/J . / ) in a
tolerance graph, it is inconvenient to represent circuits in a tolerance graph by 2-
dimension matrix as usual. In this study, the circuits in a tolerance graph are represented
as a 3-dimension circuit. The circuit matrix C = [ck,i,i] of G with n vertices and m circuits
is an m x 77 X Z7 matrix with cj^jj defined as follows:
A directed circuit consists of only edges with same orientation with the circuit.
For example, in the tolerance graph shown in Figure 4-3 (a), there are 4 directed circuits
as shown in Figure 4-3 (b) to Figure 4-3 (e).
80
Table 4-1. Circuits in the tolerance graph.
81
5. The basic value of the resultant dimension is
Y'^ajj) (4-12)
hj
+ Ya^UJj) (4-13)
h]
^A,n ^tA,D
B
VA c
/ / / / / / / D
Denote
DM, N ' Basic dimension between face Mand face N;
- dM, N ' Bilateral machining error between face M and face A^;
82
Setup 1: Machining face C and face D;
Setup 2: Using face D as datum, machining face B and face A.
The corresponding tolerance graph of the part is as Figure 4-5.
Face C and face D are machined in a same setup up, that is, they are machined in
setup method I, the error stackup is:
Face D and face A are machined in two different setups, face D is the machining
datum of face A. They are machined in setup method II, the error stackup is:
Setup 1 Setup 2
^D^A =^D+^A
(4-15)
Face C and face B are machined in two different setups, neither face is the
machining datum of another face. Hence they are machined in setup method III, the error
stackup is:
(4-16)
= {Sc+S^) + {Aj,+S,)
Generally <i(.^ < J^^ < d^^' that is, setup method I has least error stackup,
83
If in a third setup, face A is used as machining datum for machining an imagined
face E, as shovm in Figure 4-6. From the tolerance graph, the error stackup is.
4.2 Matrices
In order to illustrate the matrices used in this study, a prismatic part with its
tolerance specifications is designed and shown in Figure 4-7.
Wk=M,^[m^X (4-18)
where k denotes the ^ h form of the tolerance matrix; since a tolerance matrix will be
frequently transformed in a setup-planning algorithm, the subscript is necessar\ to denote
84
the different forms of it. M= [mj j] is the adjacency matrix of G with m,,j defined as in
equation (4-8).
f2 f4 f5 f6 f16 f3
unit: mm
100.01
00.05-f7
100.05-
0.02
i o
CO
O 02OO.O1
O
* 500.02 150.04
-800.04-
600.02
Or d
H
o
30
-f15-
30 0 - 0 0 . 0 4 - f 15- -f1
-f1-
85
For example, the tolerance relations of the part are represented by the tolerance
matrix shown in Figure 4-8.
112 0.17
113 0.10
1 1 II 1.00
i 1
114 j 1 !0.19 1.00
1 115 i
5
10.56* J, ^ ^^^
i f16 1^ ' ... - 0.50 j
^k =K,;L (4-19)
where k denotes the Ath form of the TAD matrix; Uij is defined as:
For example, for the setup planning of the part, assume the part is machined on a
3-axis milling center. In according to the coordinate system in Figure 4-7. there exist 6
TADs for machining the part. The six TADs are +X, -X, +Y, -Y, +Z, and -Z. The set of
faces that can be machined from +X, -X, +Y, -Y, +Z, and - Z TADs are denoted as .S'A-,
S-x, 5'+y, iS.K, 5+2, and 5.2 respectively. The face sets of the part are as follows:
86
S-Z = {f\,fl,f,f,f5,f6],
S+z = {fe, fi, fs, f9,f 10, f\\,fi},
S+Y = {fu},
S.Y= {fn},
S-x - {/is},
S+x = {fie}-
The TAD matrix of the part is shown in Figure 4-9.
'i^'i 1 1 ; 1 1 1 J r v\ X 1 i __ [._ j _ _ .
' 12 11 1 1 1 1 1 1
13 11 1 1 1 1 1 1 i ! ; !
14 11 1' 1 1 1 1 j ' 1
15 11 1 1 1 1 1 1 I
16 M 1 1 1 1 /\/ 1 1 1 i "l f \ ]
U 1 1 1 1 1
18 1 1
19 1 1
110 1 1
f11 1 1
f12 " \ I
"1 1 1 1 1 ly'
113
114 J i ,
1
.
i
,
i i
"T"!
(
i f 1 i
f15
J
\^ }
f16 I i ! ^VJ
(4-21)
where k denotes the k\h form of the machining-feature matrix; v,^ is defined as:
87
There are three muW-face features in the part shown in Figure 4-7, denoted as
follows.
Fl=\f2,f3},
p2-{fufj5],
P3^ {/9,/l0,/ll,/l2}.
The inifial TAD matrix of the part is shown in Figure 4-10.
12 1 1 1 1 ^ I
""'13 1 1
L f4 1 1 1 1
15 1 1 "V 1
1 fr
18
f- .,
1 19 1 1 1
110 1 1 1 1 ! 1
111 1 1 1 1
112 1 "T^ 1 1
i
113
f14
115
116 [ ^vw.w* /
88
W,nV,=lm,jX\v,^.-l\], (4-23)
1 f14
1 115
116 \ /
0.17r 1
1
: 110 ' 1 1.25 , 1^1 ..1^.^.^.J
1 fii 11.25^ 1
1
0.19
112^ 0.17 1 /
113 0.1 Oi 1.00
114 U J : (0.19 1.00
115 0.56 I ! 0.50
0.50 j
; 116 [
89
By equation 4-23, the intersection of W2 and V2 is shown in figure 4-13.
Similarly, after each face is assigned to a definite setup, the tolerance relations
among faces in a same TAD can be ignored, that is, the intersection of tolerance matrix
and TAD matrix is:
W,nU,=[m^jX\u.j-l\], (4-24)
90
12 13 f1 14 15 ^ iB i f7 B 19 flOi f11 i 112j 113; f14 f l S i f l S
r-^ /'I 1 1 .JLi_Li 1^^ s
! 5 1 ! ' \
13 1 1 1 i-^jT-ji^-i 1
11 1 1 1 1 1 1 1
1 14 1 1 1 1 1 1 J
15 1 j_J_ 1 1 1 T '1
1
16 \ l " ^ 1 1 1 1/ V 1 1 1 ^
1 _ . ^ ...^
17 1 1 1
18 1 TTT"'
ZtjL
19
110 .
n^ ! 1
1
1 ""
:] _.
111 1 1 1
112 : \1 1 I 1 ly^
91
CHAPTER V
ALGORITM DEVELOPMENT AND ILLUSTRATION
As stated in the Chapter I, the ultimate goal of this research is to develop a setup
planning system (an applicable prototype in this study) based on tolerance analysis.
Based on the study introduced in the last four chapters, this chapter introduces the
algorithm of a setup planning system and the illustration of the algorithm. The validation
of the algorithm and the implementation of the setup-planning prototype will be
discussed in Chapter VI.
92
# 05. The tolerances among the faces within a same tool approach direction
(TAD) set can be temporarily ignored (screened) before deciding definite
setups. They may be reconsidered when spilt or regroup TAD sets into
definite setups.
# 06. The principle of datum coincidence: using a same feature as operational
datum, setup datum, measuring datum, and assembly datum to achieve
highest product accuracy.
Notes for # 06:
A datum is a theoretically exact point, axis, or plane derived from the true
geometrical counterpart of a specified datum feature. A datum is the origin from which
the location or geometrical characteristics of features of a part are established.
Datums, based on their applications, can be classified into five categories (ANSI
Y14.5M, 1982):
1. Design datums, which are datums used on the part drawing for the purpose of
dimensioning.
2. Setup datums, which are datums used to locate and setup the part on the
workholder (fixture) or the machine table.
3. Operational datums, which are datums used to determine the way the
machining cuts are taken.
4. Measuring datums, which are datums used for inspection purpose after
machining.
5. Assembly datums, which are datums used to determine the position of a part in
an assembly or the position of an assembly on an assembly machine.
The principle of datum coincidence is a most recommended principle in
machining operations. However, it is developed on the characteristics of manual machine
tools. In CNC machine, the principle is not rigidly observed. For example, in Setup
method I, higher part accuracy may be obtained without having setup datum coincided
with design datum.
# 07. All features sharing the same TAD are initially grouped into one cluster
(the prototype of a setup).
93
# 08. Minimize the number of clusters.
# 09. Maximize the size of a cluster.
# 10. Minimize tool change (unconsidered currently).
Notes for # 0 7 - # 1 0 :
Feature clustering is based on a commonality which can either be tool approach
directions or tools (Chang, 1990).
There are two levels in the sequence determination: the global level and the setup
level. The global level determines the final cluster and its sequence. The setup level
sequencing determines the feasibility of the features to be machined in the particular
setup. The operation sequence within the setup is also determined.
The global level sequencing is actually done before process selection and tool
selection. The following operations are conducted:
Step 1. Create clusters using tool approach direction as the commonality.
Step 2. Refine clusters using the precedence.
Step 3. Apply heuristic to remove the duplicate features from clusters. A feature
can appear in one cluster only. Try to minimize the number of clusters by maximizing the
size of a cluster.
The setup level sequencing is done after tool selection:
Step 1. Create clusters using tool as the commonality.
Step 2. Refine clusters using the precedence and operating sequence within the
cluster determined.
Step 3. Check the precedence between the clusters, if there is any conflict, split
the cluster and reorder the sequence between the clusters.
By creating clusters using tool as the commonality, the objective of minimizing
tool change can be achieved.
#11. Principle of process concentration: to concentrate as many processes as
possible on a machine within a setup while making process plans.
Notes for # 11:
The process planner should try to select a machine that has high producti\ it> and
multiple process functions, and may also try to concentrate as many processes as possible
94
on the high productivity machine. This strategy may reduce the requirements of
additional machines, the number of operators, the number of steps in the process, and the
route of material handling, as well as the manufacturing lead time. This strategy is called
the principle of processes concentration (Zhang, 1994, pp. 31).
In CIM, the "one-hit machining" is highly recommended on CNC machines,
especially machining centers. "One-hit machining" means to concentrate as many
operations and processes as possible on a setup or on a machine tool. "One-hit
machining" has several major economic benefits (Smith, 1993):
1. It reduces capital outiay on a second machine tool; it significantly cuts down
work-in-progress time;
2. It increases the range of component parts to be machined by the machining
center;
3. It improves the overall machine tool efficiency by increasing the productive
cutting time;
4. Higher quality parts results as the machining center completes the parts at one
setup on the machine;
5. It uses less floor space, and fewer machine tools are needed. Some auxiliary
components are adopted on CNC machine tools to facilitate "one-hit
machining," such as 4-axis twin turret, "driven tooling"' facility,
programmable "C-axis" headstock spindle, adjustable angled heads, four- and
five-axis rotary tables.
# 12. Minimize the number of setups.
Cost of setup comes from the time in handling the part, the waiting time, and the
non-operation on the machine. Large cost savings are possible if the number of setups is
reduced. If design tolerances are relaxed, the process planner can redesign the sequence
of operations to eliminate finishing operations or by producing dimensioned features
indirectly (i.e., increasing tolerance stacks) (Zhang, 1997, pp. 26).
#13. Two or more TAD sets can be treated as a combined TAD set if ihcy can
be machined at a same setup by rotating the fixture without unclamping
the workpiece.
95
Notes for # 1 3 :
More setups of the workpiece in an operation cause more time and more setup
errors. For this reason, when a workpiece must be machined at different positions on
machine tool, a workholder often is employed. This can change the position of workpiece
without unclamping it (Wang and Li, 1991).
# 14. Milling the slot before drilling the bottom hole.
#15. Avoid machining a deep feature if it is possible by machining other
features first.
Notes for # 15:
For example, in machining two concentric holes with different depths, the hole
with the smaller depth and larger diameter should be drilled before the other. Otherwise,
deep-hole drilling will be required for the smaller-diameter hole.
#16. All rough processing should be done prior to finish processing.
# 17- All major processing should be machined prior to minor processing.
#18. All bright datum should be machined prior to ordinary features.
#19. A black datum is selected only when necessary; Usually a feature with
larger size is selected as black datum for the stability of locating and
clamping.
# 20. All bright datum should be machined prior to use.
Notes for # 1 6 - 2 0 :
A datum that has not been manufactured before is called a black datum. A datum
that has been manufactured before is called a bright datum (Zhang, 1994).
#21. The principle of datum unification: use the same bright datum to
manufacture as many features as possible within a setup.
# 22. Setups with fewer number and larger size of features are usualh
sequenced before those with larger number and smaller size of features if
there is no other precedence restraints.
# 23. Avoid drilling a hole on a slide face that is not perpendicular to the axis of
the hole if possible.
96
The above principles and rules will be embedded in the setup-planning algorithm
(Appendix B). They could be further enriched during concrete implementation.
97
among the faces within a same tool approach direction (TAD) set can be
temporarily ignored (screened) before deciding definite setups. They may be
reconsidered when spift or regroup TAD sets into definite setups.
Data liles
Machine /
Parts Fixture
tool
Machining
Tolernace
feature TAD matrix
matrix
matrix
Principles of
TADs of machine tool
Assign a definite TAD feature clustering
(Tool Approach Direction)
lor each lace
Principles of
TADs of fixture
feature interaction
Sequence setups
Others
Priority of datum features
(further consideration)
Priority of Priority of
bright datums
Setup datums selecting black datums
98
4. Select machining datum for each face. The principle of datum coincidence,
the principle of datum unification, the priority of bright datums, the principles
of feature clustering, and the principles of feature interaction, the principles of
process concentration, and the principles of machining precedence are used as
constraints in this module.
5. Group faces into definite setups. The priority of tighter tolerance relations and
the principles of machining precedence are used as constraints in this module.
6. Sequence setups. The priority of datum features, the principles of machining
precedence, and the priority of TADs with fewer and larger faces are used as
constraints in this module.
7. Select setup datums. The priority of bright datums and the priority of black
datums are used as constraints in this module.
99
center with vice as fixture; the rotational parts are machined on CNC lathe with 3-jaw
chuck as fixture.
In according to Figure 5-1, the setup-planning algorithm is devevoped as follows:
Step 1. Input initial information.
1) Define a coordinate system for the part;
2) For prismatic parts, define six TADs (tool approach directions ) as +X, -X,
+Y, -Y, +Z, and -Z. For rotational parts, define 2 TADs as +X, -X;
3) Group faces that can be machined from +X, -X, +Y, -Y, +Z, and - Z TADs
into S+x, S-x, S+Y, S.y, S+z, and S.z respectively. For rotational parts, group
faces that can be machined from +X, -X TADs into S+x, S.x respectively.
4) Group faces that in same machining features as Fi, F2, FT,,...',
100
2) For f, if d^{f) = d '( / ) > 2, all of the undirected edges incident on / are
changed into directed edges w i t h / as initial vertex;
3) F o r / , if d^if) = d'{f) < 2, remain the undirected edges. Treat the undirected
edges as directed edges with either one direction.
Step 5. Group faces into definite setups.
1) For ^Di and 5-02 , Dl, D2 = +X, -X, +Y, -Y, +Z, -Z, if ^-DI and 5*02 are
connected by at least two one-way edges which are not uniform in directions
(that is, there is a directed circuit between the two islands), split out as less
vertices as possible as long as there are two islands connected by at least two
one-way edges which are not uniform in directions. Respect tight tolerance
relation and the unity of machining features;
2) Repeat step 1) as long as there are directed circuit among islands;
3) Regroup vertices as long as the number of islands can be reduced.
Step 6. Sequence setups.
1) For any two islands Sm, Sn, if there are only one-way edges connecting them,
the initial island is precedent to the end island;
2) For any two islands Sm, Sn, if there are only two-way edges connecting them,
sequencing islands by the principle that a setup must not have conflicting
datums;
3) Islands with less vertices and less total degrees precede;
4) Sequence all the islands in according to:
a) Datum features are machined before being used as datum;
b) Observe machining feature intersection;
c) Setups with less machining features are machined first;
d) Observe good machining practices.
Step 7. Select setup datum.
The initial vertices of the edges connecting two adjacent islands in a path should
be selected as the datum for the ending island.
Directed graph theory, tolerance analysis, and expert principles of setup planning
are incorporated in the setup-planning algorithm. Since each of the seven steps contains
101
many rules and principles and hence be complex, the algorithm is briefly illustrated step
by step with a case study in the next section. The detailed setup-planning algorithm for
both prismatic parts and rotational parts is listed in the Appendix.
5.4 Illustration
The setup planning of prismatic parts is a complex task. To simplify the task and
emphasize the "tolerance graph" solution, this paper assumes:
1. The prismatic parts are machined on a 3-axis vertical milling center, using
vice as fixture.
2. The rotational parts are machined on an NC lathe, using a 3-jaw chuck as
fixture.
3. All the operations of a feature are finished in one setup (that is, only finish
process is considered in this study).
4. All the features of the part are to be machined.
5. The raw stocks of prismatic parts are in box shape; the raw stocks of rational
parts are in cylinder shape.
6. The part is to be machined as precisely as possible without increasing the
precision requirement of the machine tool.
102
f1
^2
Units: mm
140 0.03
40 0.02
-80 0 .04-J
^
:^ ^ ^ ^
^ -
120 0.03
160 0.03
200 0.08
-^ \ \ \ . \ -SWv^
103
Slope faces such a s / g and/19 are usually machined by rotating tool holder or
fixture in NC machine. In the principle of the smallest rotation of tool holder or fixture,
/18 and/i9 can be assigned to either S+Y or S+z.
Feature is the general term applied to a physical portion of a part, such as a
surface, pin, tab, hole, or slot. A machining feature is a combination of faces that can and
should be machined in one operafion in terms of manufacturing convention. Of course, a
feature may consist of only one face. To be clear, we name a feature consisting of only
one feature as face in this study. The machining features can be extracted fi-om feature-
based designs.
The matrix of machining features is shown in Figure 5-4.
13
L
14
15
16 1 ! 1 1 1 1 1
17 1 ! 1 1 1 1 1
J
18
19
110 1 1 1 1 1
1 -~ 1 r " r " r _.j_ _ _
111 1 1
112 1 1
r r" " "1
113
1 1 1 1
114 1 1 1j
115 i_ 1 1 1 1 L.1._._1..-.1.i
1
116
117
118
119 ! J
There are five multi-face machining features in the part shown in Figure 5-2.
which are denoted as follows,
^l={/2,/3},
Pl={f6jl},
104
F^={f,,f9),
^ 4 = {/ll ,/l2 },
^ 5 = {/l3 ,/l4,/l5 }
Since/ a n d / are designated as a same face in tolerance specifications, they are
treated as a machining feature. So a r e / i and/2- AH the faces of a machining feature are
usually machined in a same setup.
The face sets of the part are as follows:
S.x = {f,fi,f]-{f,F,],
S+x={fi,f,f]={F,,fA),
S-Y = { / , / ,/? , / , / ,/lO } = { / ,F2,F3 ,/io },
S+Y = {/lO,/ll ,/l2,/l3 ,/l4,/l5 ,/l8,/l9 } = {/lO , F4 , Fs,fn,f\9],
S.Z = { / 8 , / , / l 6 } ,
5'+Z = {/l7 ,/l8,/l9}-
The TAD matrix of the part is shown in Figure 5-5.
11 13 f4 15 16 17 18 19 110 111 112 113 114 f15 f16 117 118 119
11 ( 1 1
12 1 1
13 1 1
14 1
15 1
16 1
17 1
18 1
19 1
110 1 1 1 1 1 1 1 1
111 1 1 1 1 1 1 1 1
112 1 1 1 1 1 1 1 1
113 1 1 1 1 1 1 1 1
114 1 1 1 1 1 1 1 1
115 1 1 1 1 1 1 1 1
116 1
117 1
118 1 1 1 1 1 1 1 1
119 V 1 1 1 1 1 1 1 1 i
105
By switching the relative positions of rows and columns, the TAD matrix can be
transferred into an equal matrix as shown in Figure 5-6, in which each TAD face set and
machining features are explicitly shown.
.12.. _13, 14 116 18 19 15 16 17 110 111 112 113 114 115 118 119 117
11 fi 1 _1_
12 1 1 1 1 11
13 1 1 .iJ 1
14 1 1 1;
116 1
18 1
19 .i_J
15
16
17
110
111 u
112
113
114
115
118 11
119 ^j
117 V V]
Note: -- TAD lace set - Machining feature
The tolerance relations of the part are represented by the tolerance matrix shown
in Figure 5-7. The machining-feature matrix, TAD matrix, and initial tolerance matrix
can be combined as a comprehensive initial tolerance matrix as shown in Figure 5-8.
Every tolerance matrix corresponds to a tolerance graph, and vice versa. The
initial tolerance matrix can be pictorially represented by the tolerance graph shown in
Figure 5-9.
106
11 12 13 14 15 16 17 18 19 110 111 112 113 114 115 116 117 118 119
f
11 ^ 0 4 5.7 3 0 4.5 0 0 0 0 0 0 0 0 0 0 0 0 2\
12 0 5.7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
13 0 0 5.7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
14 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
15 0 4 4 0 0 0 0 0 0 0 2.5 2.5 0 0 0 0 0 0 0
16 0 0 0 0 0 4 0 0 0 24 0 0 0 0 0 0 0 0 0
f7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4.7 0 0
19 0 0 0 0 0 0 0 0 0 0 5.3 5.3 0 0 0 0 0 0 0
110 0 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0
111 0 0 0 0 2.5 0 0 0 5.3 0 0 0 0 4 0 0 0 2 2
112 0 0 0 0 2.5 0 0 0 5.3 0 0 0 0 4 0 0 0 2 2
113 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0
114 0 0 0 0 0 0 0 0 0 0 4 4 0 0 0 0 0 0 0
115 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0
116 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.7 0 0
117 0 4 4 0 0 4.5 0 4.7 0 0 0 0 0 0 0 2.7 31 2.5 2.1
118 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0
119 I 2 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 2
11 12 13 14 116 18 19 15 16 f7 110 111 112 113 114 115 118 119 117
11 _4___5.7_^_3_ 4.5 A
I 5.7 I
12 I
1
13 I[ 5.7;
14 3 >
'
116 2.7
18 4.7
19 5.3 5.3
15 2.5 2.5
16 24
f7
110 A-'
111 5.3 2.5 4 2 2
112 5.3 2.5 4 2 2
113
114
115
118 2
119 2 .2-'
117 V 2.7 4.7 4.5 '.2.5 2.1 zyj
107
Figure 5-9. Tolerance graph with initial information of the part.
108
From Figure 5-9, apparently, S.x n 5'+x= { / , / }, S.Y n ^.Z = { / , / }. 'S'.Y n 5'.Y
= {/lo },and S+Y (^ S+z = {/is ,/i9 } These faces need to be assigned to a definite TAD
set. The principles to assign a face/ to a definite face are:
Priority 1: Assign / to the TAD set in which there exists a feature having tight
tolerance relation w i t h / ;
Priority 2: Assign/ to the TAD set that contains maximum features;
Priority 3: Assign/ to a TAD so that good machining practices are observed.
Hence:
S.xnS+x^ {fi,f),
since ^1,2/3 ^^{fufifi,), an&feS.x ,
{/,/}-> S.x.
S.Yr^S.z={f8,f9),
denote Num(S) as the number of faces in a set 5",
since Num(S.Y) > Num (S.z),
{ / , / } ^ S.Y.
S.YnS+Y= {/lo},
since ^10,6 ={/6, f\o}, and fee S.Y ,
{ / l o } ^ '^-Y.
{/l8,/l9}^' S+Z-
The tolerance graph with each face in a definite TAD set is shown in Figure 5-10.
The matrix corresponding to the tolerance graph in Figure 5-10 is shown in Figure 5-11.
109
Figure 5-10. Tolerance graph with each face in a definite TAD set.
11 12 13 14 116 18 19 15 16 f7 110 111 112 113 114 115 118 119 117
11 f(' 4 5.71 3 4.5 2 A
1
12 5.7 1
13 'v. .5j;.
1
14 3 ---
116 / s
2.7
\
18 4.7
19 5.3 5.3
15 4 4 2.5 2.5
16 4 24
f7
V
110 4-'
111 5.3 2.5 1 4 2 2
112 5.3 2.5 4 2 2
113 2
114 4 4
115 2
118 'v2 /
if
\
119 2 2 2
117 V 4 4 2.7 4.7 4.5 'v2.5 2,1 3^;^
Figure 5-11. Tolerance matrix with each face in a definite TAD set.
110
5.4.1.3 Delete or screen interior tolerance relations
We define tolerance relations within a TAD set as interior tolerance relations.
Obviously, self-loop tolerance relations and tolerance relations within faces of a feature
are all interior tolerance relations.
Since tolerance relations among faces within a same feature and self-loop
tolerances don't infiuence datum selection and setup sequencing, they are deleted at this
stage. However, since features with same tool approach direction are not necessarily
machined in a same setup, we temporarily screen the tolerance relations involving
features that can be machined from the same tool approach.
Let tp, g^ (fp, fq) be an edge of the tolerance graph. The edge tp, g is deleted if/ e
Fn and fg e F , n^ 1, 2, 3, ..., o r / = / ; Otherwise the edge tp g is screened out
(represented by dash lines) i f / e SD , ^nd fg e So , D = +X, -X, +Y, -Y, +Z, and -Z.
Hence, ^2/3,2/3, ^6,6, ^10,10, ^17,17, ^19,19, and /n, 15 in Figure 5-10 are deleted; ^1,2/3, ^10,6, ^14,
11/12 , ^17, 18 and t\i^ 19 in Figure 5-6 are screened. The tolerance graph with interior
tolerances deleted or screened is shown in Figure 5-12.
Ill
J1___12____13_ 14 116 18 19 15 16 17 110 111 112 113 114 115 118 119 117
11 fi
12
13
14
116
18
19
15
16
17
110
111
112
113
114
115
118
119
117
In Figure 5-13, all the matrix elements in the dot-line square area are replaced as
zero. Those tolerance relations in the filled square are permanently deleted.
112
Figure 5-14. Tolerance graph with undirected edges oriented.
J1___12____13_ 14 116 18 19 15 16 f7 110 111 112 113 114 115 118 119 117
11 fi 4.5 ^
12
13
14
116 0
18 0
19 0 0
15 4 4 0 0
16
17
110
111 5.3 2.5 N 2 2
112 5.3 2.5 2 2
113
114
115
118 .0.
119 0
117 4 4 2.7 4.7 4.5
113
Since ^ ( / i ) + d'ifn) = 5>2,F, = {fn,fn].
Oriental 1/12,5, ^^11/12,9, ^11/12,14, /^n, is,and ^n, 19 by selecting F4 as datum.
Now the tolerance graph evolves into a directed graph as shown in Figure 5-14.
The corresponding matrix of Figure 5-14 is shown in Figure 5-15.
By treafing faces in a same TAD set as a grand vertex, tolerance graph in Figure
5-14 can be simplified into the tolerance graph shown in Figure 5-16.
114
Since ^.x e Ci, and ^.x e C2, break S-x into S.x^ = {fi,f) = {Fx} and ^-.x" = ( / } .
and there will be no circuit between any two setups. Simultaneously, the formerly
screened edge t\^2i3 is recovered.
Now the tolerance graph with definite setups is shown in Figure 5-17.
115
Tolerance graph in Figure 5-17 can be simplified into the tolerance graph shown
in Figure 5-18. There is no longer directed circuit in the tolerance graph. The
corresponding matrix of Figure 5-17 is shown in Figure 5-19.
11 12 13 14 116 18 19 15 16 f7 110 111 112 113 114 115 118 119 117
11 . 3 - ^ . 5 2 \
12
13 i I
14 0 ;
116 0
18 0
19 0 0
15 0 0
16
17
110
111 5.3 2.5 \ 2
112 5.3 2.5
113
114
115
118 .0.
119 0
117 2.7 4.7 4.5
116
Figure 5-20. The trees of setup precedence.
The setup precedence can also be shown in the matrix in Figure 5-22.
Now the sequencing task evolves into a simple scheduling problem, which is
solved as follows:
Since Num(S.x^) < Num(S+Y), S.xi => S+Y , designate ^.x^ as No. 1 setup.
Since Num{S+x) < Num(S+Y), S+x => S+Y , designate S+x as No. 2 setup.
Apparently, S+Y is No. 3 setup, and S+z is No. 4 setup.
117
t 1 _ 12 13 14 116 18 19 15 16 17 110 111 112 113 114 115 118 119 117
11 /l__Q_! 9: A-fi o A
12
13 - ^ , *
14 l__Q_
116
18
19
15
16
17
110
111 5.342.5
112 5.3 2,5
113
114
115 V V
118
119
117 4 4 2.7 4.7 4.5 u
Figure 5-22. The sequencing of setups.
Since Num{S.z) < Num{S.x) < Num(S.Y), S.z => S.x^ => S.Y, designate ^-.z , .S^.x'.
and S.Y as No. 5, No. 6, and No. 7 setups respectively. Hence the sequence of setups is:
S-x => S+x => S+Y ^> S+z ^^ S.z ^> S.x => 'S'-Y.
The above procedure can be shown pictorially as Figure 5-23 and Figure 5-24.
118
setup 4
'^4 setup 3
119
Table 5-1. The whole setup plarming strategy for the illustrated part.
. (S
TAD
120
0.01 f9
@ 0.C1 f9
CJ 0.02 200.01 -400.04-
-1100.05- unit: mm
Because the dimensional tolerances in the axial direction of the rotational part
have no effect on the setup planning, they are omitted purposely in Figure 5-27.
The matrix of machining features is shown in Figure 5-28. For easy view, the 0-
value elements of the following matrixes are usually left blank.
121
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
f1 r J i_ _ L
f2 1 1 1
f3 1 1 1
f4 1
f5 L
"
1 1 ,
f6 1 1
f7 1 1
r~ ~~ 1r r - - - -r r *<
f8
f9
r - H
f10 1 1
f11
f12 V J
16 f7 18 0 f f12
fi r
f2 1
13 1
f4 1
15 1
f6
f7
f8
19 1
flO 1
f11 1
f12 V 1 i7
122
By switching the relative positions of rows and columns, the TAD matrix can be
transferred into an equal matrix as shown in Figure 5-30, in which each TAD face set and
machining features are explicitly shown.
flO
fii
f12
\
f1 V ^J. 1 1 1 1 1 1 1 .r
The tolerance relations of the part are represented by the tolerance matrix shown
in Figure 5-31. The machining-feature matrix, TAD matrix, and initial tolerance matrix
can be combined as a comprehensive initial tolerance matrix as shown in Figure 5-32.
123
f6 .f7___f8___f2____f3 _f4____f5____f9 flO fii f12 fi
f6 (7" 1 2 ^\ "A
f?
fS _2.2.
f2 1
fS
f4
fS
f9 6.5 8.5
flO
f11 0.75
f12 2.2 0.75 4.25
fi .yJ
Every tolerance matrix corresponds to a tolerance graph, and vice versa. The
initial tolerance matrix can be pictorially represented by the tolerance graph shown in
Figure 5-33.
124
S+xr^S.x = {f2,f,fA,f,f9] = {F^,f,f},
ti,n = {/i7,/i8 }, and/i2 e 5'+x ,
however, ^4,5 = { / , / }, a n d / e S.x ,
since /'2,i2 = 1.0 < t^^ = 2.0, a n d / , / e Fi^
(/,/,/} ^ S.x.
The tolerance graph with each face in a definite TAD set is shown in Figure 5-34.
The matrix corresponding to the tolerance graph in Figure 5-34 is shown in Figure
5-35.
Figure 5-34. Tolerance graph with each face in a definite TAD set.
125
f6 n i8. f2 _f3 f4 f5 f9 f10 f11 f12 fi
f6 1
f7
f8 2.2
f2 1
fS
f4
f5
f9 6.5 8.5
f10
f11 0.75
f12 2.2 1 0.75 4.25
f1 JJ
Figure 5-35. Tolerance matrix with each face in a definite TAD set.
126
Hence, ^12,12, in Figure 5-34 is deleted; t^^ 12 , ^11,12 , ^4 ,6 - and ^5,8 in Figure 5-34
are screened. The tolerance graph with interior tolerances deleted or screened is shown in
Figure 5-36.
In Figure 5-37, all the matrix elements in the dot-line square area are replaced as
zero. Those tolerance relations in the filled square and diagonal position are permanently
deleted.
127
Figure 5-38. Tolerance graph with undirected edges oriented.
(5^~^
Figure 5-40. Simplified tolerance graph with undirected edges oriented.
128
5.4.2.5 Group faces into definite setups
Since there is no directed circuit in Figure 5-40, the two TAD sets are exactly the
two setups need to be sequenced.
Table 5-2. The whole setup planning strategy for the illustrated part.
TAD K
/
Setup 1 Setup 2
129
CHAPTER VI
IMPLEMENTATION AND VALIDATION
Help Information
Initial Selection
1. Tutorial
1. Select part 2. Warning message
2. Select machine tool 3. Running message
3. Select fixture 4. Running status
\ /
Matrix View
Part View 1. TAD matrix
1. First 3-D view / \ 2. IVIachining feature matrix
2. Second 3-D view 3. Tolerance matrix
3. Drawings view 4. Setup matrix
..u.ti\"::'iiiiL"c
Running Style
-/VE*
Report Process
1. Step by step 1. Generate report
2. All at once 2. Open, customize, save, or
3. Running controls print report
130
2. The part view block. The user can choose to view the 3-D views and the
specificafion drawings of the selected part.
3. The running style block. The user can choose to run the setup planning either
step by step or all at once.
4. The matrix view. The user can choose to view the TAD matrix, machining
matrix, tolerance matrix, and setup matrix during setup planning.
5. The report process block. The user can generate, open, customize, save, or
print the setup planning report.
6. The help information block. The GUI provides a help document for the user to
learn using the system, a static text box and a process status bar for the user to
monitor the setup planning process, and on-line fauh-proof message.
The initial user interface of the GATO setup planner is shown in Figure 6-2.
Select Pait:
r '. ' .-jrei'ij'pMs!!! (^ I '"'ancet-'ls'iiv . ,1
d
FaceSFace
_J ^^_\^_\_i_\_\_\^_\_\_\ _I_U -
Select Machine Tool: t p..-.-..-
1 d
Select fixture:
1 d
...-..
Part View - 1 i
(^ First 3-D View
u ^
f~ Second 3_D View Setup Matrix:
Running Style -
(^ Step By Step
^1 1 ^
C All Al Once
IRease select Part, Machine Tool, and Fixture before start the setup planning!
131
A brief user menu is included in Appendix C.
For the example of secfion 5.4.1 in Chapter V. selecting the inifial information as
shown in Figure 6-3, the setup planning report generated b\ the system is shown in
Figure 6-4. For the example of secfion 5.4.2 in Chapter V, selecting the initial
information as shown in Figure 6-5, the setup planning report generated by the s> stem is
shown in Figure 6-6. The automatically generated results are the same as the anahtic
results in section 5.4 of Chapter V.
mWSMwaPkmnet
ite yiew Ryn Recort Help
IIQ
Initial Selection Matrix View ^
C TAD Matrix C Machining Feature Matrix (^ Tolerance Matrix Show Matrix
Select Part:
Parti
Select Fixture:
Vice
Part View -
Running Style
(^ Step By Step
r All At Once
jStep 1: Inpxjt initial information.
II
Start Setup Planning I Next Step I Ger'ig'ate ('epotf Exit
132
GATO Selup
Reporti - Notepad
M3 HH^
file View Ryn
FDe dit Search Help
Initial Selection THE SETUP PLftNNING REPORT OF PftRT-1
Show\^a^ux
Select Part: Part type: Prismatic
I Parti
Setup No. 1
Select Machine Machining faces: F1 ,
13-Axis Vertical
Candidate datuns: Select a large raw Face in the opposite TAD.
Setup No. 2
Select fixture: Machining faces: f^ ,
[Vice
Candidate datuns: f1 ,
Setup No. 3
Machining faces: f11, f12, f13, fUt, f15.
Candidate datuns: Select a large raw face in the opposite TOD.
Part View 20 :o
20 20
(^ First 3-D Vi Setup No. U
Machining faces: f17, f18, f19. Ld
C Second 3_ Candidate datuns: f1 , f11, f12.
install I ^ GATO Setup Planner | Tjy Microsoft Word - GATOJm... [ 1 ] RepoiH - Notepad ^ 4 ^ E 3 ( i J 10:18 PM
133
File ifiew Ryn Refiort Help
Select Part:
|Part2
d
Select Machine l o o t
1 CNC Lathe
d
Select fixture:
13x1 aw Chuck
d
Part View
(^ Step By Step
r All At Once
jStep 1: Input initial information. III
gQStail /tfr GATO Selup Planner ^ y Microsoft Word-G AT 0_ Reporti - Notepad { ^ i ; j [ , i ^ E B ^ ' 10:21 PM
134
L2:BiA10M9mi^Umm ^HS
file yiew Ryn Refiort Help
Select Fixture:
THE SETUP PLANNING REPORT OF PflRT-2
|3\Jaw Chuck Part type: Rotational
Setup No. 1
Machining faces: f1 , f9 , f10, f11, f12.
Part View Candidate datuns: Select a large raw face in the opposite TftD.
(^ Fust 3-D View Setup No. 2
Machining faces: f2 , f3 , fit . f5 , f6 , f7 , f8 ,
^ Second 3_D View Candidate datuns: f9 , f12.
C Specification Drawing:
STir
Sx
Show the Part View
Running Style
(^ Step By Step
C All At Once
jStep 7: Select setup datum. The setup planning is successful. Congratulations!
iggStaitl (I^GATO Setup Planner | ^ y Microsoft V/ord GAT... | 1 ] Reporti -Notepad |V) Repoit2 - Notepad \M'^~'mL'^^ 10:25 PM
135
is the process of determining whether the prototype operates as intended. Through the
verificafion process, we try to find and remove errors in the implementation of the
prototype. The activity is commonly referred to as debugging the prototype.
As shown in the last section, for the illustration examples of Chapter V, the
automatic setup planning resuhs by the GATO setup planner are identical with those of
the analystic resuhs, which verifies that the algorithm has been correctly implemented in
the prototype.
Validation is the process of reaching an acceptable level of confidence that the
inferences drawn from the prototype are correct and applicable in practice.
Validafion of a setup planning is very hard because of the lack of standard
criteria. Experimentafion is one of the most acceptable validation methods in engineering.
Unfortunately, an experiment method is very expensive, even impossible for a setup
planning system because (1) at least hundreds of parts should be machined, (2) dozens of
constant conditions involving machine tools, machining parameters, environmental
conditions, and operators should be controlled, (3) precision measurement equipment is
required. Since the three requirements are impractical, simulation is taken as an
alternative method.
The tolerance/variation stackup analysis for alternative setup plans is the basic
approach for validation in this research. Since one of the most important objective of this
research is to control tolerance through setup planning, the purpose of simulation is to
show that the setup plan generated by the proposed prototype can reduce variation
stackup for critical dimensions and geometric shapes. The flowchart of the simulation
procedure is shown in Figure 6-7.
As mentioned in section 3.1.3, the manufacturing errors are classified into two
general classes in this research, that is, locating errors and machining errors. These errors
have their typical distributions. It is known from experience that the machining errors
possess distributions varying between a normal distribution and a rectangular distribution
(BjOrke, 1989). Both types of errors can be generated by a simulation program. The
variation stackup analysis for all the setup plans is then conducted. Statistical case
analysis will be executed. If the proposed prototype is \alid. the variation stackup of the
136
critical dimensions and geometric shapes in the generated setup plan should be the least
among all the setup plans. Otherwise, the prototype should be suspect and modified.
Part design
No
Yes
No
Conclusion
137
For different parts or the same part with different tolerance specifications, the
setup plans will vary. Hence the simulation procedure may be repeated many times until
a stable conclusion can be drawn.
Take the dimensional variation stackup of the part in section 5.4.2 as an example,
the simplified drawing of the part is shown in Figure 6-8. Only the faces related to the
dimensional chain in the horizontal axis are marked in the figure.
f8
-X +x
<1- -O
150.02
200.01 -400.04-
unit: mm
1100.05-
138
Am : Locating error by using/^ as actual datum feature;
Sn : Machining error of the machining/.
The corresponding tolerance graph of Figure 6-8 is shown in Figure 6-9, which is
simplified from Figure 5-33. The corresponding tolerance graphs of the two setup plans
are shown in Figure 6-10.
139
To make the simulation valid, the following rules should be observed:
1. The sample number (part number) is large enough. This study assumes that
the part number is 1000;
2. The larger the size of a machining feature, the bigger its machining error.
According to the dimensional specifications shown in Figure 5-27, this study
assumes that
140
Table 6-2. Simulation results: variation stackup of setup plan 2.
0.15703 0.05503
Setup Plan 1
0.05 J/
0.04
0.03
D tolerance
0.02
variation
._
0.01
0
d4,6 cl6,8 c12,12 d8,12 d11,12
Setup Plan 2
D tolerance
I variation
L
141
Table 6-3. The comparision of the two setup plans.
Dimensional Tolerance
Setup Plan 1 Setup Plan 2
variation, di,j value, ti,j
Statistical-Case ^ij - ^u Statistical-Case ^,y - ^',7
From Table 6-3, we can see that the setup plan 2 cannot satisfy the dimensional
tolerance requirement between/ and/. Furthermore, the setup plan 2 has about one time
larger gap between/ and/n (so as between/ and/), than that of the setup plan 1, which
is a "waste" of the machining capacity. Hence, the setup plan 1 generated by the GATO
setup planner is superior to the alternative setup plan.
For the stackup of geometrical tolerances, the example in section 3.2.2.2 of
Chapter III is a suitable case to illustrate the validity of the setup-planning algorithm
developed in this study.
In the simulation procedure, the initial data shown in Table 6-4 were generated for
the machining of the part shown in section 3.2.2.2.
In table 6-4, denote:
'MN
Geometrical machining error between face M and face N, which
corresponds to the geometrical tolerance shown in Figure 3-12.
E^^: The stackup geometrical error between face M and face N, which
corresponds to the geometrical tolerance shown in Figure 3-12.
The formulas of tolerance analysis in section 3.2.2.2 of Chapter III were used in
the simulation, the simulation result is shown in Table 6-5 and Figure 6-12.
142
Table 6-4. The initial data (Units: mm).
Parameter Value
U 500.00
Ll 300.00
L3 400.00
^DD 0.01
^BD 0.01
^CB 0.02
^EC 0.03
^FE 0.03
^AF 0.02
From common sense, it is natural that ECD < EED < EFD < EAD with the increasing
number of component errors. However, from the output of the worst case, there is one
exception as EAD<EFD- The reason of the "exception" is as follows:
With the calculated value of tpD (i-e., E^i^ ) from formula (3-26) and (3-28):
143
E = -^FD *" ^AF
^AD L3
300
X 0.1200+ 0.02
400
-0.1100
<Ej,j^ =0.1200
E Worst Case
E
"Statistical Case
That is, the geometrical error stackup is affected by the basic dimensions of
related features, the stackup error is not the straight sum of component errors.
It can be seen that, in both of the simulation examples, the statistical-case results
are more convincible for analysis. Hence in the simulation of tolerance/variation stackup,
the statistical-case method is preferred to the worst-case method.
The above two simulation examples demonstrate that the tolerance stackup
analysis for both dimensional tolerances and geometrical tolerances in Chapter III is
valid. Hence the principles on selecting setup methods applied in the development of the
setup-planning algorithm in Chapter V are effective for tolerance control. The algorithm
has ensured the major objective of this research
Another concern of validation is the soundness of assumptions made in this
research. In the case studies of Chapter V, it is assumed that the prismatic parts are
machined on a 3-axis vertical milling center using a vice as the fixture. This assumption
144
makes the developed algorithm more generic. If 4-axis or 5-axis machine tools and
fixtures with holders that can be rotated are used, the essential difference obtained is the
number of TADs in the machining is decreased. Since the developed algorithm in this
research can solve the setup planning problems with largest number of TADs (6 TADs),
it can easily be adapted to the cases with less TADs. The illustrated capability of the
algorithm in solving the setup planning of rotational parts (2 TADs) in Chapter V
validated this assumption.
A second significant assumption made in this research is that all the operations of
a feature are finished in one setup, that is, only the finish processes are considered in this
study. This assumption makes the research focus on scientific investigation. Since the
tolerances are mainly assured in the finish processes, the finish machining of the
workpiece is most critical in setup planning in terms of tolerance control. Furthermore,
the algorithm can be modified to involve the raw processes and intermediate processes.
Of courses, in industrial applications, the raw processes and intermediate processes
should also be considered, which is not the focus of this study.
In conclusion, the two major assumptions in this research are valid and necessary
for the exploration of a systematic methodology in this research.
145
CHAPTER VI
CONCLUSIONS
7.1 Conclusions
In this dissertation, the problems existing in the area of tolerance analysis and
setup planning were stated; literature on tolerance, setup planning, and the application of
graph theory was reviewed; mathematical tolerance analysis for both geometrical and
dimensional tolerances in one-, two-, and three-dimensions was investigated; a graph-
matrix-based setup-planning algorithm was developed; a setup-planning prototype
incorporating the setup-planning algorithm was built.
Tolerance is a complicated while important topic in CAPP. Its study and
application in CAPP, especially in setup plarming, is not mature. The tolerance analysis is
usually confined in dimensional tolerances in one dimension. This study shows that the
geometrical tolerance analysis in two dimensions or three dimensions are much more
challenging, and it is inevitable in the study on the setup planning of prismatic parts. The
impact of basic dimensions/sizes of parts in 2-D and 3-D tolerance stackup is inevitable.
The key point to include both dimensional tolerances and geometrical tolerances in the
tolerance analysis of setup planning is to compare and transfer different types of
tolerances. The tolerance zone and tolerance weight approach explored in this stud> is
demonstrated to be effective in the task. The tolerance zone and tolerance weight
approach also makes the mathematical representation and analysis of tolerances easier
and more accurate.
Many factors must be considered in setup plarming, however tolerance is one of
the most significant and cannot be ignored. Tolerance analysis helps determine the setup
planning strategies. On the other hand a good setup planning strategy can effectiveK
control tolerance. Tolerance analysis and setup planning should be executed in the early
stage of CAPP so that tolerance control can be achieved without increasing the hardw are
requirement of the machine tool and fixture. A good setup planning must assure the
critical dimensional and geometrical tolerances, and release the non-critical tolerances at
146
the same time. That is one of the motivations that tolerance analysis and setup planing are
investigated together in this dissertation.
The generative setup planning system is still rare in industry. The major reason
exists in the variety of manufacturing conditions and part characteristics. A "true"
generative setup planning system is unpractical. However a modifiable setup planning is
always desirable. Since there are a lot of principles and rules in setup planning, a
systematic approach to incorporate them in setup planning is necessary. The graph-matrix
approach applied in this study is effective and flexible. Accompanying graphs, tool-
approach-direction matrix, machining-feature matrix, and tolerance matrix are defined
and applied in representing and computerizing the relations of tool approach directions,
machining features, and tolerances in setup planning. The principles and rules can be
represented and manipulated in the graphs and matrices. The directed-graph approach
explored in this study is more appropriate and effective than undirected-graph approach
when datum selecting and setup sequencing are concerned. By dividing the setup-
planning algorithm into 7 steps, the various principles and rules are allocated to separate
steps, and each step has its corresponding graphs and matrices. The directed-graph
approach is also demonstrated to be applicable in tolerancing and tolerance analysis.
The setup-planning algorithm in this study was originally implemented in C++. It
was finally incorporated in the setup-planning prototype developed in Microsoft Visual
C++ . Without exception, the assumptions listed in the Chapter V are applied in the
development of the prototype, which has open architecture for fixture development.
7.2 Contributions
The major contributions of this research are as follows:
1. Tolerance analysis is based on tolerance zone analysis and aims at
mathematical representation. The concept of tolerance weight is defined and
applied in tolerance analysis and setup planning. The tolerance zone and
tolerance weight approach exposes the essence and relation of various types of
tolerances, makes the comparison and transformation of different types of
tolerances possible;
147
2. Both dimensional tolerances and geometrical tolerances are analyzed in one-,
two-, and three-dimension for tolerance stackup in setup planning. The impact
of basic dimensions/sizes of parts on tolerance stakup is investigated;
3. The concept of tolerance graph is defined and used consistenth' in both
tolerance analysis and setup planning in the study. Tolerance relations are
represented as both directed graphs and undirected graphs so that various
types of tolerances are appropriately illustrated, and the datum selecting and
setup sequencing become more convenient. Accompanying graphs, tolerance
matrix, tool-approach-direction matrix, and machining-feature matrix are
defined and applied in representing and computerizing the relations of
tolerances, tool approach directions, and machining features in setup planning;
4. A graph-matrix-based and tolerance-oriented algorithm is developed for the
setup planning of both prismatic parts and rotational parts. A setup-planning
prototype based on the algorithm is developed.
148
3. The developed setup-plarming algorithm in this research provides an effecti\e
approach to setup planning, however it needs further development in two
directions: firstly, the assumptions on machine tool, fixture, and part should be
decreased to make the algorithm more general; secondly, more principles, and
rules should be incorporated in the algorithm so that it is more accurate.
Similarly, the GATO setup planner is just a prototype at its current status, its
capability can be extended.
4. The developed algorithm has taken tolerance as major concern so that the
generated setup plans carmot guarantee the optimal solution. In ftirther
development, other objectives such as the minimum number of setups and
other conditions such as multi-axis machine tools and fixtures should be
considered. The issue of optimization (on cost and quality) should be further
studied.
In conclusion, automatic tolerance analysis and setup planning are traditional but
underveloped topics in manufacturing, continuous endeavors should be invested in them.
149
REFERENCES
Ahluwalia, R. S., and Karolin, A. V., 1986, "CATC: A Computer Aided Tolerance
Control System," Journal of Manufacturing Systems, Vol. 3, pp. 153-160.
ANSI Y14.5M, 1982, Dimensioning and Tolerancing, New York, NY: ASME United
Engineering Center.
Bass, L., Clements, P., 1998, Software Architecture in Practice, Reading, MA: Addison
Wesley Longman, Inc.
Boerma, J. R., and Kals, H. J. J., 1988, "FIXES, a system for automatic selection of set-
ups and design of fixXmcs,'' Annals of the CIRP, Vol. 37, No. 1, pp. 443-446.
Bollobas, Bela, 1998, Modern Graph Theory, New York, NY: Springer-Verlag Inc.
Bj0rke, 0yvind, 1989, Computer-aided tolerancing, second edition. New York, NY:
ASME Press.
Champati, S., Lu, W. F., and Lin, A. C , 1996, "Automated Operation Sequencing in
Intelligent Process Planning: A Case-Based Reasoning Approach," The
International journal, advanced manufacturing technology. Vol. 12, No. 1, pp.
21.
Chase, K. W., Gao, J., Magleby, S. P., and Sorensen, C. D., 1996, "Including Geometric
Feature Variations in Tolerance Analysis of Mechanical Assemblies," Inst. Ind.
Eng. Trans., HE transactions. Vol. 28, No. 10, pp. 795-807.
Chang, T. C , 1990, Expert process planning for manufacturing, Reading, MA: Addison-
Wesley Pub. Co.
150
Chen, C. L. P., 1993, "Setup Generation and Feature Sequencing Using Unsupervised
Learning Algorithm," Proceedings of the 1993 NSF Design and Manufacturing
Systems Conference, Dearborn, MI: SME, Vol. 1, pp. 981-986.
Chen, J., Zhang, Y. F., and Nee, A. Y. C , 1998, "Setup planning using Hopfield net and
simulated annealing," International journal of production research. Vol. 36.
No.4,pp. 981.
Chen, W. K., 1997, Graph Theory and Its Engineering Applications, Singapore, World
Scientific Publishing Co. Pte. Ltd., pp. 140.
Chemg, John G, Shao, Xin-Yu, Chen, Yubao, and Sferro, Peter R., 1998, "Feature-based
part modeling and process planning for rapid response manufacturing,"'
Computers & industrial engineering. Vol. 34, No. 2 pp.515.
Demey, S., Brussel, H. Van, and Derache, H., 1996, "Determining set-ups for mechanical
workpieces," Robotics and computer-integrated manufacturing. Vol. 12, No. 2,
pp. 195.
Diestel, R., 1997, Graph Theory, New York, NY: Springer-Verlag Inc.
Dong, J., and Vijayan, S., 1997, "Features extraction with the consideration of
manufacturing processes," International journal of production research. Vol. 35.
No. 8, pp. 2135.
Dong, Z., and Soom, A., 1990, "Automatic Optimal Tolerance Design for Related
Dimension Chains," Manufacturing Review, Vol. 3, No. 4, pp. 262-271.
Eary D. F., and Johnson G. E., 1962, Process Engineering for Manufacturing,
Englewood Cliffs, NJ: Prentice-hall.
Edward Enhao Lin and Hong-Chao Zhang, 2000, "Theoretical Tolerance Stackup
Analysis Based on Tolerance Zone Analysis," the International Journal of
Advanced Manufacturing Technology, 1999, accepted.
Foulds, L. R., Jr., 1992, Graph Theory Application, New York, NY: Springer-Verlag, pp.
97-103.
Fuller, James Edward, edited by Grabowski, Ralph., 1996, Using AutoCAD release IS for
Windows. Albany, N.Y. : Autodesk Press.
151
Hayes, C. and Wright, P., 1989, "Automating Process Planning: Using Feature
Interacfions Guide Search," Journal of Manufacturing Systems, Vol. 8, No. 1. pp.
1-15.
Hoffman, E. G., 1996, Setup Reduction Through Effective Workholding, New York, NY:
Industrial Press Inc. pp. 5-16.
Huang, S. H., 1998, "Automated Setup Planning for Lathe Machining,** Journal of
Manufacturing Systems, Vol. 17, No. 3, pp. 196-208.
Huang, S. H., Zhang, H.-C, 1996, "Use of tolerance charts for NC machining,"
Engineering Design and Automation, Vol. 9, No. 1, pp. 91-104.
Huang, Samuel H., Zhang, Hong-Chao, 1996, "Tolerance Analysis in Setup Planning for
Rotational Parts," Journal of manufacturing systems. Vol. 15, No. 5, pp. 340.
Huang, X., and Gu, P., 1994, "Tolerance Analysis in Setup and Fixture Planning for
Precision Machining," Proceedings of the Fourth International Conference on
Computer Integrated Manufacturing and Automation Technology, Rensselaer
Polytechnic Institute, Troy, New York, October 10-12, pp. 298-305.
Irani, S. A., Mittal, R. O., and Lehtihet, E. A., 1989, "Tolerance Chart Optimization,"
International Journal of Production Research, Vol. 27, No. 9, pp. 1531-1552.
Ji, P., 1993b, "A Tree Approach for Tolerance Charting," International Journal of
Production Research, Vol. 31, No. 5, pp. 1023-1033.
Kim, In-Ho, Oh, Jung-Soo, and Cho, Kyu-Kab, 1996, "Computer aided setup planning
for machining processes," Computers & Industrial Engineering, Vol. 13, No. 3-4,
pp. 613.
King, D. A., and de Sam Lazaro, 1994, "Process and Tolerance Considerations in the
Automated Design of Fixtures," Journal of Engineering for Industry, Vol. 116,
pp. 480-486.
Lee, J. D., and Haynes, L. S., 1987, "Finite-Element Analysis of Flexible Fixturing
System," Journal of Engineering for Industry, Vol. 109, pp. 134-139.
Liggett, John V., 1993, Dimensional variation management handbook: a guide for
quality, design, and manufacturing engineers, Englewood Cliffs, N.J.: Prentice
Hall, pp. 2-3.
152
Lin, A. C , Lin, S. Y., and Cheng, S. B., "Extraction of manufacturing features from a
feature-based design model," International Journal of Production Research, Vol.
35, No. 12, pp. 3249.
Lin, Edward Enhao, Zhang Hong-Chao, 1999, "Theoretical Tolerance Stackup Analysis
Based on Tolerance Zone Analysis," the International Journal of Advanced
Manufacturing Technology, accepted.
Luggen, William W., 1991, Flexible manufacturing cells and systems, Englewood Cliffs,
NJ: Prentice Hall.
Mei, J., Zhang, H., Oldham, William J. B., 1995, "A neural network approach for datum
selection in computer-aided process planning," Computers in Industry, Vol. 27,
pp. 53-64.
Mei, J., 1996, Tolerance Analysis For Setup planning in computer-aided process
planning (CAPP), Ph.D. Dissertation, Texas Tech University, pp. 2-10.
Menassa, R. J., and DeVries, W. R., 1990, "A Design Synthesis and Optimization
Method for Fixtures with Compliant Elements," ASME Symposium on Advances
in Integrated Product Design and Manufacturing, pp. 203-218.
Mittal, R. O., Irani, S. A., and Lehtihet, E. A., 1990, "Tolerance Control in the Machining
of Discrete Components," Journal of Manufacturing Systems, Vol. 9, No. 3, pp.
233-246.
Nee, A. Y. C , Whybrew, K., and Kumar, A. Senthil., 1995, Advanced fixture design for
FMS. London, New York: Springer-Verlag.
Ozturk, F., 1997, "The use of machining features in set-up planning fixture design to
interface CAD to CAPP," International journal of vehicle design: the journal of
the International Association for Vehicle Design, Vol. 18, No. 5, pp. 558-573.
Sakurai, H., 1991, "Automatic Setup Planning and Fixture Design for Machining."
Journal of Manufacturing Systems, Vol. 11, No. 1, pp. 30-37.
153
Sarma, Sanjay E, and Wright, Paul K., 1996, " Algorithms for the Minimization of Setups
and Tool Changes in 'Simply Fixturable' Components in Milling," Journal of
manufacturing systems, Vol. 15, No. 2, pp. 95.
Soenen, R., and Oiling, G. J., 1995, Advanced CAD/CAM Systems, State-of-the-art
Future Trends in Feature Technology, New York, NY: Chapman & Hall.
Smith, Graham T., 1993, CNC Machining Technology, London; New York: Springer-
Verlag.
Torvinen, S., Andersson P.H., and Vihinen, J., 1995, ''Monitoring the accuracy
characteristics of the machinery by using a dynamic measurement approach,"
Proceedings of the 3rd international conference on computer integrated
manufacturing , Singapore, Uuly 11-14, pp.1435-1442.
Tulasiraman, K., and Swamy, M. N. S., 1993, Graphs: Theory and Algorithms, New
York, NY: John Wiley & Sons.
Xiaoqing, T., and Davies, B. J., 1988, "Computer Aided Dimensional Planning,"
International Journal of Production Research, Vol. 26, No. 2, pp. 283-297.
Wade, O. R., 1983, "Tolerance control," Tool and manufacturing engineers handbook: a
reference book for manufacturing engineers, managers, and technicians, 4th ed..
Dearborn, Mich.: Society of Manufacturing Engineers, Vol. 1, Machining, pp. 2-1
to 2-60.
Wang, W., 1985, Interchangeability and Base of Measuring Technology, Harbin, PRC.
Harbin Institute of Technology, pp. 110-130.
Whybrew, K., Britton, G. A., Robinson, D. F., and Sermsuti-Anuwat, Y.. 1990, "A
Graph-theoretic Approach to Tolerance Charting," International Journal oj
Advanced Manufacturing Technology, Vol. 5, pp. 175-183.
154
Zhang, H. - C , Alting, L., 1994, Computerized manufacturing process planning systems,
1st ed., London; New York: Chapman & Hall.
Zhang, H. - C , and HUQ, M. E., 1992, "Tolerancing technique: the state-of-the art,"
International journal of production research , Vol. 30, No. 9, pp. 2111-2135.
Zhang, H.-C, Huang, S. H., and Mei, J., 1996, "Operational Dimensioning and
Tolerancing in Process Planning: Setup Planning," International Journal of
Production Research, Vol. 34, No. 7, pp. 1841-1858.
Zhang, Hong-chao, and Lin, Enhao, 1999, "A Hybrid-Graph Approach to Automatic
Setup Planning In CAPP," Robotics and Computer-Integrated Manufacturing, Vol.
15, pp 89-100.
Zhang, Hong-chao, and Lin, Enhao, 1999, "A 'GATO' Algorithm For the Setup Planning
of Prismatic Parts," North American Manufacturing Research Institute,
Transactions ofNAMRI/SME, Vol. 27, pp. 245-250.
Zhang, Y. F., Nee, A. Y. C , and Ong, S. K., 1995, "A Hybrid Approach for Set-up
Planning," The International Journal of Advanced Manufacturing Technology,
Vol. 10, No. 3, pp. 183.
155
APPENDIX A: THE SETUP-PLANNING ALGORITHM
The pseudocode of the setup-plarming algorithm for both prismatic parts and
rotational parts is listed in the following text. The C++ codes for the setup-planning
algorithm was developed on the pseudocode algorithm, which concentrates on the seven
major steps in the setup planning. Other sub-algorithms for the implementation of the
GATO setup planner are relatively simple and can be referred in the original codes.
fl, if zth face and yth face can be machined in a same TAD:
''' \o, if /th face and yth face can not be machined in a same TAD.
F = lf,J
[l, if /th face and yth face are in a same machining feature:
'' ~ [0, if /th face and jth face are not in a same machining feature.
156
'J' if t^j = ( / , / ) , i.e. the /th face is the datum of the yth
t =< face in the tolrance relation;
0, if there is no tolerance relation between /th face and ythface.
7) Extract the number of machining faces in the part from either of the above
three matrices, denote as iFaceNum.
8) Extract the initial setup matrix:
where
0, when TAD is-X;
1, when TAD is + X;
2, when TAD is - Y;
3, when TAD is+ Y;
S. = \ 4, when TAD is - Z;
5, when TAD is + Z;
6, split TAD set in - X or + X;
7, split TAD set in - Y or + Y;
8, split TAD set in - Z or + Z;
157
record the /th TAD S, for/
3) I f / has no tolerance relation with other faces, assign/ to a TAD set that
contains the largest amount of faces:
iFaceNum iFaceNum
if Z^,,+ ZO.=o
M ;=1
fj^S,
4) I f / has tolerance relation with only one face, and the face is in one of the
overlapped TAD set, assign/ to the TAD set that contains its adjacent face:
fj^S,
fj^S,
158
for /? = 1 to iFaceNum do
if /,,, ^ 0.0
tp,P = 0-0
2) Select the face that has more tolerance relations with other faces as datum:
if Numit,,^ ^ 0.0,A: = 1,2,...iNumFace) > Num{tjj^ ^ 0.0,A: = 1,2,...iNumFace)
tu = 0-0
if Num(tj 1^ ^ 0.0,k = 1,2,...iNumFace) > Num(t-,^ ^ 0.0, A: = 1,2,...iNumFace)
'., = 0-0
3) If/ and / has same number of tolerance relations with other, select the one
that exists in a TAD with fewer faces:
if Numitjj^ ^ 0.0,A: = 1,2,...iNumFace) = Num(t^j^ ^ 0.0,k = 1,2,...iNumFace)
159
'..J = 0.0
4) If the above sub-steps still cannot decide the direction of the undirected edge,
orient it according to process precedence constraints or other good machining
rules:
(arbitrarily orient the edge; leave for further development)
5) Repeat the above 1-4 sub-steps until all the undirected edges are exhausted.
2) Search for the nodes in the directed circuits 5"^ and S^.
160
i f ( r , , , ^ 0 . 0 ) a n d as,, =\)&&(S,^=l),k = 0,U,...,5)
^u = 0-0
if3/G5^and/G5,and/,^^0.0
Sm ^^ S^
else if 3 / G S^ and / G 5', and r^, ^ 0.0
Sn => S^
ifV/G5^and/^G5,and^,^=0.0
if Num{SJ <Num{S)
Sm =^ S^
else if Num(S^) > Num(S)
s.^s^
else
(assign the precedence ofS^ and 5 arbitrarily; lea\ e for
161
Step 7. Select setup datum.
1) The initial vertices of the edges connecting two adjacent islands in a path
should be selected as the datum for the ending island:
For S^ andS^,mif^n
If S^ => S
2) Repeat step 1 until the datum candidates for all the TAD sets are selected.
3) If a TAD set has no datum candidates up to now, select a large face in its
opposite TAD set as datum candidate.
162
APPENDIX B: THE MAP OF THE RULES TO THE ALGORITHM
The map of the principles and rules in section 5.1 and the 7 major steps in the
setup-planning algorithm in section 5.2 is show in Table B-1. The map can be referred for
the further modification and development of the setup-plarming algorithm and prototype.
163
APPENDIX C: THE BRIEF USER MENU
The "GATO" setup planner is user friendly. The users can learn using the s> stem
by selecting the "Help" menu and "Tutorial" sub-menu in the prototype to read the
tutorial. A new user can start rurming the system step by step in the following sequence:
1. Select a part.
2. Select a machine tool. If you select a wrong machine tool, the system will
warn you and give you a suggestion.
3. Select a fixture. If you select a wrong fixture, the system will warn you and
give you a suggestion.
4. Click the "Show the Part View" button to view the part. The user can choose
to watch the 3-D views and the specification drawings of the selected part.
5. Select a running style. The user can choose to run the setup planning either
"Step By Step or "All At Once".
6. Click the "Start Setup Planning" button to start setup planning.
7. Select a matrix view. The user can choose to view the TAD matrix, the
machining matrix, the tolerance matrix, and the setup matrix during setup
planning.
8. Click the "Next Step" button if you selected the "Step By Step" rumiing style.
run the setup planning step by step until finished.
9. When the setup planning is finished. A "Congratulations" message shows up.
The "Generate Report" button is activated automatically. Click the "Generate
Report" button to generate the setup-planning report. A message box will pop
up and tell you where and what the report is.
10. Select the "File" menu and its sub-menus to customize, save, or print the setup
planning report.
The system provides fault-proof functions in the formats of warning windows, a
message/hints box, and a running status bar. The users can run the system freeh after
they practice the above 10 steps. They can also use the menus to execute the setup
164
planning. Since the system is fauk-tolerant, the users can "play" the system willfully
without breaking the system.
165
APPENDIX D: THE COMPLETE SIMULATION RESULTS
For the part shown in Figure 6-8, there are 20 alternative valid semp plans as
shown in Table D-1.
7 f% f\\,f\l. fn / , f,fl, fA
8 U f\\,f\l. fl fe, fs, ji^ fA
9 fz f\\,f\l. fn fe, f,fi, fA
10 h f\\,f\l^ fn fe, f%,fi, fA
11 fn h, h. fs fn,f\iji' JA
12 fn / , / , fe fn,f\i,fi, fA
13 f / , h. /8 fn,f\i,fi, fA
14 /ll / , / , fe fn,f\iji, fA
15 /4 / , / , /8 fn,f\iji, fA
16 /4 / , / , / fn,f\i,fi, fA
17 fn / , / , / , / f fn,f\i.
18 .fn / , / , / , / fe fn,f\i^
19 /ll / , / , / , / /8 /ii'./i:-
20 /ll / , / , / , / / fnjM-
166
The tolerance graphs of the corresponding setup plans are shown in Figure D-1
and Figure D-2.
S-x 1 S+
Setup Plan 10
167
Setup Plan 11 Setup Plan 12 Setup Plan 13
Setup Plan 20
Using the tolerance graph method, all the 20 setup plans were simulated. The
statistical-case values of the dimensional variations of the 20 setup plans are listed in
Table D-2. The notations in the table are corresponding to those in section 6.2.
168
Table D-2. The simulation resuhs (unit: mm).
Setup
dA,e ^6,8 di, 12 ^8,12 <^11.12
Plan
1 0.021817 0.013342 0.017116 0.021401 0.022672 0.043806
2 0.019235 0.013341 0.017117 0.021403 0.022656 0.042579
3 0.016371 0.013342 0.017115 0.021401 0.022673 0.041364
4 0.019235 0.013343 0.017112 0.030000 0.022676 0.047487
5 0.019238 0.013342 0.017113 0.021401 0.022678 0.042579
6 0.019236 0.013346 0.017118 0.021817 0.022681 0.042790
7 0.004243 0.013342 0.017117 0.021401 0.022669 0.038222
8 0.004245 0.013345 0.017112 0.021110 0.022671 0.038223
9 0.004246 0.013341 0.023302 0.021409 0.022678 0.041364
10 0.004240 0.013340 0.027111 0.030001 0.022662 0.048425
11 0.021813 0.013343 0.017117 0.021401 0.022671 0.043807
12 0.019232 0.013332 0.017112 0.021401 0.022679 0.042568
13 0.016379 0.013349 0.017131 0.021402 0.022666 0.041365
Since the simulation parameters are random generated, the results are usualh' not
identical among different simulations. However, the same conclusion can be drawn from
different simulations. The simulation resuhs of this appendix are a little smaller than
those in section 6.2 because smaller error parameters were used. Ho\\c\er. the ratio
among alternative setup plans is basically unchanged.
169
From Table D-2, it is shown that the variation stackup of setup plan generated b\
the "GATO" system is close to the smallest stackup. Taking simulation error and other
setup-planning constraints into consideration, we can claim the advantage of the
generated setup plan over other alternative setup plans.
170