Prof. Dr. M.M. Koura* Prof. Dr. I.M. Elewa** Prof. Dr. R. Gadh***
Dr. B.S. Prabhu+ Dr. K.A. Mohamed~
* Design and Production Engineering Department, Ain Shams Univ., Egypt
** Production Engineering and Mech. Design Dept., Mansoura Univ., Egypt
*** Henry Samuel School of Engineering, UCLA, Los Angles, CA, USA
+ Mech. and Aerospace Engineering Dept., UCLA, Los Angles, CA, USA
~ Engineering Science Dept., Suez Canal University, Egypt
ABSTRACT. This paper reports a complete system for modeling, representation, and validation of
geometric tolerances, using feature-based approach from boundary representation (B-Rep) based solid
models. The utility of feature based representation scheme for representing Geometric Dimensioning and
Tolerancing (GDT) information in geometric models is highlighted. Explicit information from B-Rep is
culled using feature extraction and recognition algorithms such as graph matching and form/design
feature rules.
The major objective is to develop a scheme necessary for interfacing the tolerance module with the solid
model. This includes the development of a point-and-click graphic user interface that allows a user to
select geometric or functional entities (face, axis, surface, datum, etc.). It validates the entity selection
based on the context of the type of tolerance being defined, collects the controlled and controlling feature
and numerical value(s) for the tolerance in question. This work also proposes, an apposite tolerancing
model representation as part of the feature based geometric model that can be easily used by the downline
manufacturing activities.
The proposed schema provides built-in checking of validity of tolerances defined during modeling. Also,
a scheme for over-toleranced and over/under dimensioning validity checking is introduced.
1 INTRODUCTION
Geometric tolerances state the maximum allowable variation of a form or its position from the perfect
geometry implied in the drawing [1]. There are both ISO and ANSI standards for geometric tolerances [
2, 3, 4]. These two standards are slowly reconciling their differences, but still some remaining. Both
standards were deigned for use with engineering drawings, not CAD models. Consequently the intention
of the standards is to create a common language, by use of symbols, conventions, and rules so that the
person interpreting the tolerance on an engineering drawing will follow the intentions of the designer.
Since the standards such as ISO or ANSI were designed for human use and interpretation, it was not
necessary to base them on a formal theory. Instead, the standards are based on design practice.
Difficulties in modelling computer understandable tolerance specification and mathematical validation of
tolerances has provided the motivation for finding a way or theory of tolerances, on which future
standards can be based [5].
Today, solid modelling systems are widely used for various kinds of applications in mechanical
engineering. Even though a geometric model created by a solid modelling system includes all the
information about the part shape [6]. They do not represent tolerances in a form suitable for automation
of many design and manufacturing activities, such as manufacturing, assembly planning, inspection and
tolerance analysis. This deficiency is causing concern in both the research and industrial communities, as
it is preventing the efficient automation of many activities.
!" #$%% &
433
2. 3 COMPUTATIONAL METHODS
Many researchers have adopted a vector-based description of tolerance. Mathematical models are used to
describe the specified geometry of a workpiece. Vector-based tolerancing utilizes 3D tolerances as an
integrated part of the Vectorial product model where the different geometrical features are treated
separately. This method supports automatic generation of NC-codes and inspection [35, 36, 37, 38].
Turner and Wozny propose a model they introduce three types of variables: design, model and tolerance.
From this point on, the problem of tolerancing is reduced to establish relations between tolerance and
design variables through the use of a vector space. Wirtz [39] adopted a completely different approach to
that to Turner [40, 41]. Wirtz defines the position, direction and dimension of an element or a surface by
vectors established with respect to a unique reference frame. Tolerance intervals are then associated with
each component of these vectors. His method has been the basis of a proposal for a new Swiss coordinate
measuring standard [42].
The Computational model treats tolerance as a vector that means the tolerance has magnitude and
direction and at the same time has a vector for a variation. But, this method also still suffers from the
ANSI Y14.5M non-compatibility standards.
Also, current representation schemes do not provide enough flexibility for inputting, validating, retrieving
and manipulating data required for CAD/CAM integration achieving computer integrated manufacturing
systems (CIM).
To overcome the deficiency of current tolerance representation models, a new scheme for tolerance
representation is needed. Hence the aim of this work is to develop a model that: -
• Is compatible with tolerance standards (ANSI Y14.5M)
• Is capable of computational ability for tolerance data handling.
• Combines framework tolerance representation and computational methods for tolerance
representation in a manner that eliminates the disadvantages described earlier.
• Includes a method for tolerance validation
4 TOLERANCE MODEL
The proposed new model helps the designer to input and validate tolerance data, and to detect
over/under-toleranced features. It is also used to model tolerance data in such a way to be compatible
with tolerance standards ANSI Y14.5M. This representation aids tolerance analysis and synthesis.
Selecting suitable manufacturing process is possible by integrating separate process specific modules.
The model delivers inputs to inspection and quality control.
Figure 3 illustrates the relation between these models and how they interface with each other. From
Figure 3, the solid model of 3D parts is constructed and then the tolerance model mechanism manages the
!" #$%% &
436
different tolerance models. First, the datum system and its validation is constructed. Then the tolerance
type is selected and the required data for the deference tolerance type (datums, features, faces, edges and
points) are obtained. The input tolerance is then validated with the selected entities, and the degree of
freedom (DOF) validation system is used to detect whether there is any over-tolerance. The tolerance
data is stored in records, using pre-defined templates for each tolerance type, which is called the tolerance
data structure (TDS). A model for manufacturing process selection is introduced based on a knowledge
base system. Rules for production process selection based on production cost and process capability are
presented.
F1
F2 F4
F3
Extracted Feature
X= Convex, V= Concave
Surfaces, Edges,
Feature Extraction
Vertices Information
Get Related
Surfaces
(RS)
I=0
I= I+1
System Knowledge-
Recognition Feature
Base
Yes
If RS=pre- No
If I <= No. RS
defined Feature
Yes
Getting Feature No
End Feature
Definition
Solid Model
Datum Reference
Tolerance
construction&
Validation Model
Validation Model
Manfacturing
Selection Model
Manufactring processes
Cabapility and Cost-
Tolerance Knowledge
Base
Select Face
Yes
The face
No
satisfy datum
requirments
Yes
The face
No
is feature
member
No Yes
Claculate the
Datums required data
A and B
Prep. to the No
face
No
It is datum A It is datum B
Yes
Yes No
Datum A
Establish the selected Yes Prep. to the
face as a datum
face
!" #$%% &
440
Fig. 4. Datum Allocation and Verification Module
Line Cylinder tx ty - θx θy -
Plane Plane - - tz θx θy -