Académique Documents
Professionnel Documents
Culture Documents
DISSERTATION
By
Tieming Ruan, M.S.
****
Dissertation Committee:
Approved by
Professor Anthony F. Luscher, Adviser
Professor Gary L. Kinzel
Professor Krishnaswamy Srinivasan
Professor Donald R. Houser
Adviser
Mechanical Engineering
Graduate Program
ABSTRACT
When used in plastics, snap-fits can be a simple, quick and cost-effective method
of assembling two parts. When designed properly, parts with snap-fits can be assembled
and disassembled numerous times without any adverse effect on the assembly. Snap-fits
also the aid in making products environmentally friendly because of their ease of
disassembly, making components of different materials easy to recycle. Traditionally,
snap-fit design methodology has been disorganized and anecdotal in nature, relying
greatly on the skill and the experience of the individual designer. The most popular
source of designing snap-fit is the design guides from resin suppliers. However the
information disseminated by these guides is usually old, obsolete and inaccurate because
they based on assumptions of small deformation and linear material property. To
overcome these two disadvantages, the author developed a two-dimensional, plane stress,
contact finite element model (FEM) considered the nonlinear material property of
polymer. Using design of experiments (DOE) and response surface methodology (RSM),
this research obtained a second order response surface equation to predict the retention
performance of cantilever hook with high retention angles.
With the development of Internet, there is also a demanding for a web-based
snap-fit design tool that is independent to all operating systems, easily accessible and can
be universally upgraded by simply updating the design tool at the server location. This
ii
thesis developed a web-based design tool for three different snap-fit features: cantilever
hook, post & dome, and bayonet & finger. The response surface equations obtained by
using the combination between FEM, DOE and RSM were applied. Constraint
management (CM) was used to make several functions available such as sensitivity
analysis, correction advisor.
Optimization modules such as single objective optimization and multiple
objectives optimization were applied to make the design tool more flexible and powerful.
Single objective optimization was implemented in two steps. The first step is to use
Golden Section Method to identify the search direction and the second step is to use
Broydon-Fletcher-Goldfarb-Shanno (BFGS) method to find the minimum values on this
search direction. To do multiple objectives optimization, the Weighted Sum strategy was
choose. Each objective was assigned a weighted value based on their importance, then
combine them into a single objective optimization problem.
iii
iv
ACKNOWLEDGMENTS
VITA
PUBLICATIONS
Research Publication
1. T. Ruan, Z. Wang and H. Chen, A monitoring device for the fire of belt, Journal
of Coal Science & Engineering (China), 1998.
2. Z. Luan, Z. Wang and T. Ruan, Balance compound gear pump (motor),
Transaction of Huainan Institute of Technology (Chinese), 1997.
vi
FIELDS OF STUDY
Major field: Mechanical Engineering
vii
TABLE OF CONTENTS
Abstract .............................................................................................................. ii
Dedication ......................................................................................................... iv
Acknowledgments.............................................................................................. v
Vita ..................................................................................................................... vi
List of Tables .................................................................................................... xi
List of Figures ................................................................................................. xiii
LIST OF TABLES
Table 4.1: The upper limit and low limit of each parameter ............................................ 52
Table 4.2: The screening array.......................................................................................... 55
Table 4.3: The result of best subset regression ................................................................. 58
Table 4.4: The most significant factors for cantilever hook ............................................. 61
Table 4.5: The central composite design for cantilever hook........................................... 62
Table 4.6: Regression analysis for retention force of cantilever hook ............................. 64
Table 4.7: Regression analysis of logarithm transformation of cantilever hook .............. 67
Table 4.8: Regression analysis of reciprocal transformation of cantilever hook.............. 68
Table 4.9: The influential outlying cases.......................................................................... 71
Table 4.10: Regression analysis for retention force after deleted influential outlying cases
........................................................................................................................................... 73
Table 4.11: Verification test between FEA result and equation results............................ 76
Table 4.12: The analysis of variance for Lack-of-Fit test................................................. 77
Table 5.1: Parameters for strength of materials design equations .................................... 80
Table 5.2: The occurrence matrix of cantilever hook ....................................................... 86
Table 5.3: The occurrence matrix after specified x1, x2, x3, x4, and x6............................... 93
Table 5.4: Block, input/output, level and order of cantilever hook example.................... 95
Table 5.5: The occurrence matrix of respecification problem.......................................... 96
Table 5.6: The occurrence matrix of unspecification problem ......................................... 98
xi
Table 5.7: The response surface factors for the post & dome feature ............................ 103
Table 5.8: Design variables for the post & dome feature ............................................... 104
Table 5.9: The scaled variables for bayonet & finger feature......................................... 106
Table 5.10: The design variables for bayonet & finger feature ...................................... 106
Table 5.11: The response surface factors for bayonet & finger feature.......................... 107
Table 6.1: The advantages and disadvantages of web-based languages......................... 113
Table 7.1: The comparison of cantilever hook samples ................................................. 145
xii
LIST OF FIGURES
Figure 1.1: Typical experimental force curve for insertion of snap-fit features................. 4
Figure 1.2: Typical experimental force curve for insertion of snap-fit features................. 5
Figure 1.3: Common snap-fit feature topologies ................................................................ 6
Figure 1.4: Equations for dimensioning cantilevers ........................................................... 7
Figure 1.5: Force multiplier of insertion and retention....................................................... 7
Figure 1.6: Cantilever hook and mating part ...................................................................... 9
Figure 1.7: Suris idealized model of cantilever hook and mating part, shown in deformed
configuration. .................................................................................................................... 10
Figure 2.1: Percent engagement of cantilever hook.......................................................... 23
Figure 2.2: The different failure modes with respect to the PE ........................................ 24
Figure 2.3: The two different mechanical failure modes for cantilever hook .................. 24
Figure 2.4: The IFP snap-fit design tool ........................................................................... 28
Figure 2.5: AlledSignal Plastics snap-fit design guide.................................................... 29
Figure 2.6: Cantilever snap-fit design tool from Eastman chemical company................. 30
Figure 2.7: Jeff Raquests snap-fit calculator ................................................................... 31
Figure 2.8: GE Plastics snap-fit wizard ........................................................................... 32
Figure 2.9: Engineers Edges snap-fit straight beam calculator ....................................... 32
Figure 2.10: Engineers Edges snap-fit tapered beam calculator ..................................... 33
Figure 2.11: Brock & Wrights design tool for snap fits .................................................. 33
xiii
Figure 3.1: The actual and bilinear stress-strain curve for plastic material ...................... 42
Figure 3.2: Typical cantilever hook meshed example ...................................................... 43
Figure 3.3: The nonlinear stress-strain curve of Duraform Polyamide ............................ 46
Figure 3.4: The comparison results for cantilever 1 ......................................................... 47
Figure 3.5: The comparison results for cantilever 2 ......................................................... 47
Figure 3.6: The comparison results for cantilever 3 ......................................................... 48
Figure 4.1: The typical cantilever hook ............................................................................ 53
Figure 4.2: The typical bayonet & finger.......................................................................... 54
Figure 4.3: The relationship between beam thickness and retention force....................... 54
Figure 4.4: The combination of central composite design................................................ 60
Figure 4.5: Retention force vs. position............................................................................ 61
Figure 4.6: The residual and normality plots for retention force...................................... 65
Figure 4.7: Residual plot vs. fitted values for logarithm transformation.......................... 69
Figure 4.8: Residual plot vs. fitted values for reciprocal transformation ......................... 70
Figure 4.9: The residual plot after deleted outlying cases ................................................ 73
Figure 4.10: Main effects for retention force.................................................................... 75
Figure 5.1: A procedure for identifying disjoint blocks of equations............................... 87
Figure 5.2: Design decomposition algorithm.................................................................... 91
Figure 5.3: The new specification problem of cantilever hook ........................................ 94
Figure 5.4: The respecification problem of cantilever hook............................................. 96
Figure 5.5: Forward dependency algorithm...................................................................... 97
Figure 5.6: The unspecification problem of cantilever hook............................................ 99
Figure 5.7: Backward dependency algorithm ................................................................. 101
xiv
Figure 5.8: The reverse specification problem of cantilever hook ................................. 102
Figure 5.9: A typical post & dome feature ..................................................................... 104
Figure 6.1: A typical WebClass life cycle ...................................................................... 118
Figure 6.2: The flow diagram of snap-fit web-based design tool ................................... 119
Figure 6.3: The logon page ............................................................................................. 120
Figure 6.4: The selection page ........................................................................................ 120
Figure 6.5: The design interface of new specification.................................................... 122
Figure 6.6: The design interface of respecification ........................................................ 122
Figure 6.7: The final design interface of new specification............................................ 123
Figure 6.8: The design interface of unspecification........................................................ 123
Figure 6.9: The design interface of reverse specification ............................................... 124
Figure 6.10: The typical sensitivity analysis page .......................................................... 125
Figure 6.11: The typical correction advisor page ........................................................... 126
Figure 6.12. Single objective optimization for retention force of cantilever hook......... 128
Figure 6.13. Single objective optimization result for retention force of cantilever hook128
Figure 6.14: Multiple objectives optimization for retention force of cantilever hook.... 129
Figure 6.15: Multiple objectives optimization result for retention force of cantilever hook
......................................................................................................................................... 129
Figure 7.1: Integral polymeric lens housing ................................................................... 133
Figure 7.2: Dimensions of snap-fits used in integral polymeric lens housing................ 133
Figure 7.3: The curve of retention force of cantilever hook of lens housing.................. 135
Figure 7.4: The web-based design tool for integral polymeric lens housing.................. 135
Figure 7.5: Calculation of beam thickness at broken area for power supplys snap-fit.. 136
xv
Figure 7.6: Cantilever hook of power supply for Rockwell Allen Bradly PLC controller
......................................................................................................................................... 137
Figure 7.7: The detailed dimensions of the second case study ....................................... 137
Figure 7.8: The retention force curve of cabinet snap-fit ............................................... 138
Figure 7.9: The web-based design page for power supplys cantilever hook................. 138
Figure 7.10: The detailed dimensions of cantilever hook sample a................................ 139
Figure 7.11: The detailed dimensions of cantilever hook sample b ............................... 140
Figure 7.12: The detailed dimensions of cantilever hook sample c................................ 140
Figure 7.13: The retention force curve of cantilever hook a........................................... 141
Figure 7.14: The retention force curve of cantilever hook b .......................................... 142
Figure 7.15: The retention force curve of cantilever hook c........................................... 142
Figure 7.16: The web-based design page for cantilever hook sample a ......................... 144
Figure 7.17: The web-based design page for cantilever hook sample b......................... 144
Figure 7.18: The web-based design page for cantilever hook sample c ......................... 145
xvi
CHAPTER 1
INTRODUCTION
When used in plastics, snap-fits can be a simple, quick and cost-effective method
of assembling two parts. When designed properly, parts with snap-fits can be assembled
and disassembled numerous times without any adverse effect on the assembly. Snap-fits
also aid in making products environmentally friendly because of their ease of
disassembly, making components of different materials easy to recycle. Traditionally,
snap-fit design methodology has been disorganized and anecdotal in nature, relying
greatly on the skill and the experience of the individual design engineer. A popular
source of design knowledge for snap-fit has been the design guides from resin suppliers
such as Honeywell Plastics [1], General Electric Plastics [2] and Bayer Polymer [3].
However the information disseminated by these guides is fragmentary and often
inaccurate. There has been tremendous progress in the areas of more accurate retention
equations, more accurate finite element models, identification of critical geometric
parameters and high-performance topologies.
In the current scenario most snap-fit designs are one-of-a-kind efforts with very
little, if any, leveraging between different product families. Design knowledge generated
in a particular project is leveraged for use in subsequent
1
design
only
through
the
experience of the designer, or through project reports describing the design process and
performance data. It will be of great value if design information for snap-fit features
became available to the designers in an abstracted as opposed to application-specific
forum. What is needed are design equations, response surfaces, design heuristics,
evaluation metrics and the like.
It is often tedious to apply design equations for unique types of snap-fits to get
parameters such as insertion and retention force. This is especially true if response
surface modeling equations which can be algebraically long and tedious are used. For this
reason an interface for the snap-fit design tool is advantageous. With the surge in growth
and availability of the Internet and advanced programs such as Java Applet and Visual
Basics Internet Information Service, it was decided that the easiest and most efficient
way for distributing and maintaining a snap-fit design tool was to switch from a
computer-based to a web-based application. With a web browser, a designer can access
the snap-fit design tool independent of computer operating systems (i.e. versions of
Windows OS, Mac OSX, Unix and Linux) from anywhere in the world. This chapter
presents a brief introduction to snap-fit features, some commonly used terminologies, and
then explains the motivation and goal of this research.
1.1 Introduction to Snap-Fit Features
The main performance attributes of a snap-fit which will be used in this thesis are:
single maximum value or as a graph of the force versus position relative to the
snap-fit feature (Figure 1.1) [4].
Locking Ratio is defined to be the ratio of the maximum retention force to the
maximum insertion force of a snap-fit feature.
Snap-fit are molded into plastic parts to provide attachment functionality. Unlike
rivets, screws etc., which are discrete fasteners, snap-fit features are integral to the part.
They thus help reduce part count and assembly time. The motions require for assembly
are also usually along a single axis as other features on the parts should remove all
degrees of freedom. Snap-fits have traditionally been used in lightly loaded application
such as toys and other consumer products. However, with improvement in polymer
technology and the rapid development of composite materials for structural applications,
snap-fit features are now used in more demanding products. As an example, automotive
under-hood applications that snap-fits have found use in includes air filter housings,
throttle bodies, temperature and pressure sensors, and engine intake manifolds. These
assemblies are expected to withstand harsh environmental conditions like high
temperatures and pressures and contaminants like oil and corrosive gases. Lens housings
in high-end projection television systems, pager housings, single-use cameras, and
compact disc players are other examples of consumer products in which snap-fits have
3
been successfully applied. Quite often, snap-fits are used to provide secondary joining
functionality to give the primary fastening (adhesive, ultrasonic welding) joints time to
form. Commonly used snap-fit topologies are show in Figure 1.3 [4]. The primary cause
restricting the use of snap-fit features in a larger number of polymeric products is the lack
of confidence in their design process and performance attributes.
1.5
1
0.5
0
-0.5
-1
-1.5
-2
-2.5
-3
0.1
0.2
0.3
0.4
0.5
Time
0.6
0.7
0.8
0.9
Figure 1.1: Typical experimental force curve for insertion of snap-fit features
universally. As mentioned earlier, the models provided by the resin supplier are usually
limited in scope and often inaccurate. An analytical model developed by Suri [4]
overcame some limitations of current design guides. However it is unable to provide
accurate prediction for high retention angles due to convergence issues. And with the
development of the Internet, there is also a demanding for a web-based snap-fit design
tool that is independent of all operating systems, easily accessible and can be universally
upgraded by simply updating the design tool at the server location. The immediate need
for an improvement in these areas forms the motivation behind the work done in this
thesis.
1.5
1
0.5
0
-0.5
-1
-1.5
-2
-2.5
-3
0.1
0.2
0.3
0.4
0.5
Time
0.6
0.7
0.8
0.9
Figure 1.2: Typical experimental force curve for insertion of snap-fit features
assumption that the maximum deflection of the end of the beam during insertion equals
the offset of the catch also introduces some inaccuracy, because the end of the beam
rotates, in addition to the transverse deflection. The Euler-Bernoulli beam theory is based
on small deformation and long-beam assumptions, which are commonly violated in real
life.
Insertion Direction
P
Fi
y
Mating
Part
Retention Direction
Cantilever Hook
Catch
Figure 1.7: Suris idealized model of cantilever hook and mating part, shown in deformed
configuration.
The Numerical Formulation
The numerical formulation approach involves the development of response
surface equations and main effect plot using Design of Experiment (DOE) and statistical
methods. The expected significant variables to the snap-fits performance and response
variables are first identified. The portion of the design space that is of interest is then
determined. An array of experimental designs spanning the region of interest is then
created using standard statistical software such as SAS and Minitab. Physical or
computational experiments at each of the points in the DOE array are conducted. Because
of the cost related to manufacturing physical test samples and the test time, the use of
computational experiments has been more popular in the literature. Typically, finite
elements models of the snap-fit are created and queried for performance attributes.
Response surface equations are fit to the values of the response variables at the
experimental point. These equations can then be used to predict the performance of the
snap-fit at points in the design space other than those in the experimental array. The
possibility of satisfactorily extrapolating the equations to other regions of the design
10
space also exists. Main effect plots depicting the sensitivity of the response variables to
the factors are also created for quick determination of the most important design
variables. Such an approach has been used for the cantilever hook [5], the bayonet &
finger [6, 7], the compressive hook [8] and the post & dome snap-fit features [9].
While the numerical design formulation is an effective and efficient method for
generating design equations for snap-fit, it has some disadvantages. Some limitations
arise from it being a purely statistical method rather than being based on a fundamental
understanding of snap-fits performance. The response surface equations are simply
mathematical equations fit to the response variable values. They are very useful and
effective when the analytical formulation is very difficult to model the response surface
equation and the design space has just a single active physical phenomena.
would be Microsofts Hotmail that is simply a large-scale email program that runs on
Microsofts server computers. Theyve allowed anyone with Internet access and a
browser to connect to their server and check email. So instead of using Eudora or
Outlook to check email, the client can check email by using Hotmail anywhere. This
approach has the following advantages:
It allows users to log onto the system from anywhere in the world as long as
they have a computer, an Internet connection and a web browser.
On the other hand, there are some limitations for web-based applications. The
major concern with web-based applications is that of control and security. Although most
Web-based application servers protect against hackers with some security systems, no
computer on the Internet is truly hacker-proof even though some web-based applications
further protect their customers data by encrypting it in some way. Another limitation is
speed. Web-based applications usually execute quickly, but their response is noticeably
slower. In other words, clicking on a button or link doesnt result in an instantaneous
reaction by the program. This is simply because of the time lag that it takes for data to
travel via Internet connection from clients computer to the application server and back.
14
CHAPTER 2
LITERATURE REVIEW
retention. The amount of engagement was also defined as a factor to incorporate the
effect of warpage and shrinkage on the performance of the feature. The finite element
results were compared to experimental data. Discrepancies between the two were
explained. The sensitivity of the feature to geometric variables was discussed for
insertion and retention separately. An optimal hook design formulation was also
presented. The design equations developed by Luscher were first order and the retention
face angles investigated were 65 and 90 degrees. With such a large spread of retention
angles, it was not possible to accurately capture the subtle variations in retention force
between angles from 85 to 90 degrees.
The post & dome feature is a high performance snap-fit that is self-datuming and
can take some shear loading in addition to retention (Figure 1.3(b)). It provides a higher
locking ratio than traditional cantilever hooks, and its retention strength is less dependent
on friction. Nichols [9] created two design arrays to study the post & dome snap-fit
feature. The first is called the catch array; a focused array constructed to determine the
optimal preload and molded-in undercut at the interface between the post & dome
segments. Optimal performance is judged with respect to both the snap-fits maximum
retention force and maximum locking ratio. The second array, called the macro array, is a
comprehensive design of experiments array. The objective of the macro array is to
generate design data for a variety of dome geometries. Design equations are provided by
subsequent analysis of the finite element data using Response Surface Methods (RSM).
The designed equations provide estimates for the maximum insertion force, insertion
strain, and retention force applicable for an idealized post & dome snap-fit feature. To
accommodate the snap-fits geometric nonlinearity, the post & dome are modeled with
16
three dimension 8-node brick elements via the MARC finite element package to
generate design data. This three-dimensional contact modeling utilizing an updated
Lagrangian [13] approach provides more accurate displacement predictions than small
displacement beam theory.
A bayonet & finger snap-fit feature contains a bayonet, a retention finger and a
support finger (Figure 1.3(c)). Wang et al. [14] analyzed a bayonet & finger feature using
a contact type finite element model in ABAQUS. High-impact polystyrene (HIPS) was
modeled as an elastic-perfectly plastic material. Finite element analysis predicted a snapthrough failure model. The simulation was compared to results from experimental tests.
Wang and Gabriele [15] created a finite-element model of the bayonet & finger
snap-fit feature. The model is used to simulate the insertion and retention processes of the
feature as well as snap-through and buckling phenomena. A master-slave approach is
used for contact modeling in ABAQUS. An elastic-perfect plastic material model is used
to describe the plastic behavior of high-impact polystyrene (HIPS).
Finite-element
analysis predicts a snap-through failure mode. The simulation is compared to results from
experimental tests. Reasonably accurate correlation between analysis and experiment is
observed for insertion. Results for retention are not presented.
Lewis et al. [16] expanded upon the previous work. A design of experiments
approach with two and three dimensional finite-element methods was used to generate
approximate linear response surfaces based on feature geometry which could calculate
insertion and retention forces for the bayonet & finger feature. Five dimensions were
chosen as the significant design factors. Two levels were chosen for each factor. A
fractional factorial experiment design was used to reduce the number of experiments
17
(analyses). Sixteen different trials were performed for the study. Material properties were
not considered as a factor in the experiment. Material properties for HIPS were used, with
an elastic-perfect plastic material model. Insertion was modeled using a 2-D model and
retention using a 3-D model. Sensitivity information was generated using a level average
analysis technique. Design equations for predicting the insertion force and retention
force based on part dimensions are presented in the paper. An attempt at confirmation of
the validity of the equations using a sample feature design fails. The FEA analysis results
for the feature show large discrepancies when compared to the design equation
predictions. No experimental verification is presented.
Shen [7] first found an optimum catch geometry of bayonet using an L-9
orthogonal experimental array. Then another three-lever, five-factor experimental array
was used to obtain the response surfaces. These response surfaces approximated the
amount of over-engagement as well as the insertion and retention forces for values of the
design factors. The calculations were done through a finite element package MARC. A
spring was connected between the root of the bayonet and an external node to simulate
the base-part stiffness of the bayonet. The sensitivity of the values of this spring constant
to the feature performance was investigated.
The compressive hook (Figure 1.3(e)) is a common snap-fit used in thermoplastic
automotive electrical connectors. It derives its name form its retention mechanism which
uses compression to provide the locking force. Hotra et al. [17] use an approach similar
to Wang et. al. [13] to model performance of compressive hook. The analysis is
performed for 15% glass reinforced poly-butylene terephehalate (PBT). The material data
is experimentally determined at 0.08%/sec strain rate. Bending and shearing failure
18
modes are investigated separately. The simulation results are compared to experimental
data and are shown to be in good agreement. The paper emphasized the need for the use
of advanced analysis techniques to model the performance of complex snap-fit features.
Hotra et. al. [11] extended the above work. Poly-phenylene oxide (PPO) was also
considered, beside PBT. Bending and shear were again considered in separate analyses
and the lower of the two taken as the actual failure mode. Tests were performed with a
hard gage as a mating part in one case, and the actual terminal as the mating part in the
other case. This was done to study the influence of mating part flexibility on the
performance of the feature.
Roy [18] adopted an analytical approach for predicting the performance of the
compressive hook feature. The hook was modeled as a cantilever beam with variable
cross-section. In particular, it was divided into three difference beam sections and
Castiglianos theorem used to determine the load-deflection relationships. A graphical
solution method was also presented. Stiffness matrices for the feature were derived using
an approach similar to the finite element method.
(assembly) force were derived based on equilibrium of the feature. For retention,
buckling was recognized as the primary model of failure. The Rayleigh-Ritz method was
used to derive approximate expression for column buckling loads under different end
conditions. The same method was also used to estimate eigen-frequencies for longitudinal
and transverse vibration models of the feature. All the results were compared to results
from a finite element analysis conducted using ANSYS.
Other snap-fit features such as cylindrical snap-fit hinges and ball snap-fits, have
been studied using numerical simulation (FEM) and design of experiment.
19
in the polymer. This thesis will attempt to extend the state-of-the-art in snap-fit analysis
by demonstrating improvement in the accuracy of finite element analysis predictions. A
brief review of past work dealing with improved material models for snap-fit design is
presented below, to emphasize the benefit of the proposed approach.
In order to evaluate the applicability and accuracy of experimental test data,
Knapp et al. [21] compare three tensile test methods. It is well known that polymer
behavior is dependent upon strain rate and that conventional tensile tests subject the
specimen to variable strain during the test. In this work, tests were conducted at 0.002/s
and 0.02/s strain rate. The experimental stress-strain data fit to an analytical curve and the
value of tangent modulus (Et) at each strain value was determined. This material model
was used in a finite element analysis and its results compared to experimental data. The
authors propose that designers should use true stress-strain data gathered at strain rate
values appropriate for their application. Trantina and Minichelli [22] describe a software
developed for automating snap-fit finite-element analysis. Deflection limited models are
analyzed. Some elementary results describing the effect of dimensions on stress and
strain on snap-fits are presented. The authors use a 0.1/s strain rate for determining the
material properties. The work is also summarized, in more detail, in Trantina and
Minnichelli [10, 23].
Sawyer et al. [24] investigate the applicability of commonly reported coefficient
of friction () values for snap-fit design. The analysis of surface friction between
polymers is extremely complex [25-27]. Widely different values of have been reported
in literature. For example, coefficients of friction () ranging from 0.28 to 0.62 have been
reported for unfilled nylon 6/6. In this study, friction measurements were made directly
21
from polycarbonate cantilever hook lock pair contacts, and their dependence on load,
sliding speed and contact geometry was investigated. An experimental setup for
accomplishing this is detailed. A power law dependence of on normal load is suggested
in the paper. Changes in the value of with sliding speed were found to be minimal. The
contributing mechanisms to friction, viscoelastic deformation and adhesion are discussed
briefly. The authors contend that adhesive contributions occur at a scale smaller than that
modeled by finite elements and as such should be included in the value of . On the other
hand, the effect of viscoelastic deformation should be captured by the finite element
model of the snap-fit and as such need not be included in the value of .
2.3 Failure Models of Cantilever Hook
In the past cantilever hook has always been selected primary in terms of retention
force and the molding tooling costs. Failure modes of cantilever hook are usually ignored
even although it was already recognized and understood that it will be an important factor
to the performance of cantilever hook.
Luscher [5] noted a snap-fit mode of failure called loss-of-engagement at small
Percent Engagement (PE) values (Figure 2.1). In loss-of-engagement failure the snap-fit
slips past the mating part without any mechanical damage to either half of the feature. At
high PE values, the snap-fits failure mode switched to either a shear and/or tensile
material failure.
Luscher et al. [28] extended the previous work. They determined the exact
dividing lines between these different modes of failure with respect to the PE (Figure
2.2). Well-defined transitions between modes of failure were observed with the cantilever
22
hook. The different failure modes also observed at different levels of PE. Three distinct
failure modes were observed: shear failure, tensile failure and loss of engagement. Loss
of engagement was the exclusive failure mode from 20 to 66 PE while shear failure was
the only mode of a failure from 70 to 100 PE. Finally, tensile failure occurred at all
values over 100 PE. There was only one exception, a single shear failure point at the 40
PE level. It was considered a statistical anomaly, most likely due to a material, molding
or alignment condition. Figure 2.3 shows an example from each of the two mechanical
failure modes in the cantilever hook. As shown in the Figure 2.3, the direct shear failure
seems to occur progressively over a certain distance. Note in this figure that the failure
seems to have a stair-step pattern showing that the mating part is tearing out the catch
starting at the retention face. It is not able to tear out the catch along a line parallel to the
removal direction. The tensile failure case is different. The failure surface looks like it
occurs at a single point in time.
Figure 2.3: The two different mechanical failure modes for cantilever hook
It is very important to identify the transition from one failure mode to another in
order to accurately calculate the retention force provided by the cantilever hook feature.
24
the previous complex testing for manufacturability by focusing on 3-axis milling only
and by making use of new fixturing techniques using a plastic compound or a metal alloy
for reference-free part encapsulation (RFPE). They also build a Java-based front end of
this design tool that can be downloaded as an applet over the Internet.
Velsquez et al. [33] created a system named Tool Trial System (TTS) which is
capable of collating and disseminating information relating to tool trials amongst a
variety of user groups. TTS provided a platform from which is possible to submit and
retrieve highly specific technical tooling data on the WWW can be downloaded by
remote users in the form of Java applets, through any computer with Internet connection
and using conventional Java enabled browsers without the requirements of using middle
tiers software or hardware between clients and server sides.
Rajagopalan et al. [34] built an Internet-based infrastructure to provide designers
with access to multiple layered-manufacturing services. This system contains three
primary operatives: Design Clients, Manufacturing Services and Process Brokers. The
Design Clients allows designers to submit completed designs for algorithmic
decomposition, or alternately, to compose a design from primitives and library
components
that
have
been
primed
with
some
process-related
information.
Manufacturing Service consists of a highly automated machine that can be used to build
ceramic parts, and the associated software components for design decomposition, process
planning and machine control. The Process Broker implements a number of supporting
services including process selection and optimal part orientation.
Ebbesmeyer et al. [35] described a web-based tool Virtual Web Plant (VWP), a
tool to integrate 3D models from various CAD plant design tools and to display them
26
two different tapered beams, two different U shaped beam cases, and an L shaped beam.
The cantilever beam formulas used in conventional snap-fit design poorly estimates the
amount of strain at the beam/wall interface because they do not include the deformation
in the wall itself. To obtain a more accurate prediction of total allowable deflection and
strain for short beams, a deflection magnification factor was applied in this design
workspace.
thickness, usually at the base of the latch. Strains can also be calculated for a latch,
which varies linearly in both thickness and width from the base of the tip to latch. After
the users specify the material, its brand and geometry dimensions for cantilever, this
design tool will predict the deflection force and outer fiber strain.
Figure 2.6: Cantilever snap-fit design tool from Eastman chemical company
Jeff Raquet [39] used Java Applet to create a snap calculator (Figure 2.7) to assist
in the development of correct parameters in the design of a plastic snap-fit. Designers
need to select a material and give values to several specified inputs. Then based on these
30
inputs, the snap-in force, engagement force and stress at root are computed. It also
provide an optimize option to minimize the snap-fits volume.
31
Figure 2.11: Brock & Wrights design tool for snap fits
33
34
design tool. Thomas [62] extended the design shell constraint management strategies
towards the development of a framework for performing term designs.
36
CHAPTER 3
37
simulate the snap-fit behaviors in the recent years and proved to be a powerful tool to get
better understanding of snap-fit performance. Usually FEA users worked in the way of
one problem-one model interactively. That is, for a given problem (say, a cantilever
hook with certain geometry and under certain working condition such as loading and
boundary condition), designers usually build a fixed model, solve it and get the required
results (the insertion force, the retention force, etc). This has proved to be useful as
shown in many applications.
However, when using FEA to do DOE and design optimizations, the snap-fits
have similar geometry but the parameters of components (dimensions and material
properties) are changeable. Generally, even a simple DOE often involves more than ten
runs. Working in one problem-one model way, we need to build many models
interactively or manually which is time consuming.
Fortunately, in MARC FEA package, besides working in interactive mode, it also
allowed to use PROCEDURE file (Appendix A). PROCEDURE file allows users to
build the model in terms of parameters instead of fixed value, which in turn make it very
easy to change the design. Compared to the traditional one problem-one model method,
the combination between DOE and FEM has the following advantages:
By expressing all the parameters in terms of variable the model becomes very
flexible. In order to rebuild other models, designers just need to change the
parameters value. This feature is especially suitable for DOE and design
optimizations.
Store the model in text file (generally in size of a few kb) instead of in db file (in
size of a few Mb) to save space.
38
Moving Contact
Geometric nonlinearities
Material nonlinearities
For cantilever hook with a high retention angle, all these three nonlinearities exist
in the retention stage. The following paragraphs explained these three nonlinearities in
details.
3.2.1 Moving Contact
Many common structural features exhibit nonlinear behavior that is statusdependent. Status changes might be directly related to load, or they might be determined
by some external cause.
Situations in which contact occurs are common to many different snap-fit
applications. Contact problems are highly nonlinear and require significant computer
resource to solve. Contact problems present two significant difficulties. First, users
generally do not know the regions of contact until youve run the problem. Depending on
the loads, material, boundary conditions, and other factors, surfaces can come into and go
39
out of contact with each other in a largely unpredictable and abrupt manner. For example,
during the retention of cantilever hook there actually exist several contact pairs
depending on contact locations. Since the deformation of local contact areas its very
difficult to identify the point when these contact pairs change. The second reason to cause
contact problem highly nonlinear is that most contact problems need to account for
friction. There are several friction laws and models to choose from, and all are nonlinear.
Frictional response can be chaotic, making solution convergence difficult.
meshed cantilever hook model on Marc is illustrated in Figure 3.2. A fine mesh is
required on the insertion face, dwell face and retention face of cantilever catch where are
the crucial regions at engagement and disengagement.
Stress
Stress
Workhardening
Slope
Inelastic
Region
Yield
Stress
Inelastic
Region
Yield
Stress
Elastic
Region
Strain
Elastic
Region
Strain
Figure 3.1: The actual and bilinear stress-strain curve for plastic material
contact, and residence time are not usually replicated in resin manufacturers tests and
reported friction values. Rather than delve into this area, which is not a key focus of this
research, it will be assumed that background research will be done to determine a value
of coefficient of friction which is appropriate for the snap-fit in question. Therefore in
these computer models an average and widely reported coefficient of coulomb friction
was applied on the contact surfaces of cantilever hook and mating part. The character of
the contact constraints depends on whether there is sticking or slipping. In order to avoid
this distinction, an approximation is made within the MARC in such a way that there is
always slipping. However, the friction forces decrease to zero when the amount of slip
also decreases to zero. The relative sliding velocity below which this decrease comes into
effect is defined by the user. Too high value for the relative sliding velocity will remove
the fiction effect and too low value will run into a stick and slip situation which causes
the numerical chatter.
Cantilever Hook
Cantilever hook
X
Figure 3.2: Typical cantilever hook meshed example
43
The insertion and retention motions of the mating part were modeled by applying
a prescribed horizon velocity to the nodes on the mating part. The reaction forces
collected from these nodes were the insertion force or the retention force. We divided
both insertion and retention motions into hundreds of increments and ran each increment
as a quasi-static analysis. One assumption was made for the quasi-static analysis - the
inertia terms are negligible.
A contact tolerance is also needed such that if the distance calculated is below this
tolerance, a node is considered in contact. In general, the contact tolerance should be a
small number compared to the average element size. Therefore the MARC program can
automatically detect the nodes in contact and calculate both the reaction and the friction
forces.
3.3.2 Improvement of Solution
Snap-fits or locks represent a difficult class of features to be modeled. Consider a
cantilever hook with a 90-degree retention face, during the final portion of the insertion
process, the retention face rapidly snaps back into its initial position behind the mating
part. This motion is actually highly dynamic in nature and produces convergence
difficulties in the finite element model. This effect is even more pronounced in terms of
retention models. As a permanent hook is pulled in retention, strain energy builds up in
the beam portion of the hook. When the retention face slips out past the mating part, this
energy is released almost instantly and this makes convergence of the models solution
extremely difficult. In order to get the models solution past this sudden release of
energy, some improvements need to take to achieve convergence.
44
facilitate contact. The transition between the base of cantilever and the catch of cantilever
frequently required a transition mesh in order to preserve good element geometry.
3.3.3 Comparison between FEM Result and Experiment Result
To verify the accuracy of cantilevers FEM model, the comparison between
FEMs results and experiments result should be done before any design of experiments
work. Three cantilevers with different geometries were defined and the SLS (Duraform
Polyamide) is chosen as material. The experiment results of the tensile test and the
comparison are shown in the following Figure 3.3 - Figure 3.6.
35
30
Stress (MPa)
25
20
15
10
5
0
6
Strain (%)
10
12
46
7
6
5
Load (N)
4
3
2
1
0
-1
Testing Result
FEM Result
-2
-3
0
10
15
Position (mm)
20
25
70
60
Load (N)
50
40
30
20
10
0
-10
-20
6
8
Position (mm)
10
12
14
20
15
10
Load (N)
5
0
-5
-10
Test Result
FEM Result
-15
-20
0
10
15
20
Position (mm)
25
30
48
35
CHAPTER 4
gaps are always eliminated and contact is always maintained between the snap-fit and the
mating part.
Response surface modeling (RSM) is a methodology to create a mathematical
model of a design or process. Typically some performance output is measured while
several input variables are changed in a systematic way. The influences are recorded and
techniques are used to create a model based on the results. Such a model can be used to
improve, determine the design sensitivities, or optimize a design or process. Because
there is no need for an analytical model in a RSM and manufacturing processes can be
very complex, extensive applications of RSM have been in the industrial world.
DOE starts with the identification of factors or variables are likely to be important
in the response surface study. This leads to an experiment designed to investigate these
factors called a screening experiment. Often at the outset of a response surface study,
there is a rather long list of variables that could be important in explaining the response.
The objective of a screening experiment is to reduce this list of candidate variables to a
relatively vital few so that subsequent experiments will be more refined, efficient and
require fewer runs or tests. Once the important independent variables are identified, the
next step is to map the response surface over a particular region of interest. Since there is
hopefully a reduced number of design variables this second model is usually at least a
second-order surface and therefore more highly refined.
In this chapter, the above steps were applied to develop the response surface
models of cantilever hook with high retention angles. First, all potentially important
factors to the performance of the cantilever hook were identified based on previous
design experiences. Second, a two-level, fractional factorial screening array was
50
constructed to determine the most important factors by using best subset regression
(BSR). Third, a refined array was to generate second-order response surface equations of
retention force for a variety of cantilever hook geometries with high retention angles.
These surface equations were provided by subsequent analysis of the finite element data
using multiple linear regression analysis. Central Composite Design (CCD), the most
common response surface methodology, created the refined array. Both arrays used finite
element models of the cantilever hook feature to generate design performance data used
in numerical modeling.
4.1 Screening Experiment of Cantilever Hooks with High Retention Angles
After carefully investigation, the following 4 material factors were chosen to
study the retention force of cantilever hook with high retention angles: Youngs modulus
(E), coefficient of friction (), yield strength and workhardening slope. The following
geometry factors were also included: beam length (L), beam thickness (d0), taper (d0/dL),
undercut (offset) (y) and retention angle () (Figure 4.1).
Some comments on eliminated design factors are in order. The first is snap-fit
beam width. Beam width can be modeled with the existing 2D finite element model if
elements are given a linearly varying thickness as a function of their position along the
cantilever beam. Although there are cantilever hook snap-fits which are tapered in width,
the majority of them are not. Therefore this model did not include b0 as part of the study.
In the current model retention forces are found on a unit width basis and the total force is
calculated as a ratio of the total snap-fit width.
51
To make this research results as useful as possible, the design factors should be as
generic as possible based on previous experience of generating design equations for snapfit features. Shen [7] generated second order response equations for the performance of
bayonet & finger (Figure 4.2) by using FEA and DOE. However these design equations
were based on a specific dimension the bayonet base thickness (t). The bayonet base
thickness, being equal to the nominal wall thickness of the plastic part, varies as part of
the design process. Unfortunately since the design equations were all based on this one
dimension, they did not have wide applicability. To avoid this situation, and create a
mathematical model that can be widely applied, all of the geometry should ideally be
based on dimensionless geometric ratios rather than specific dimensions. This lead to the
formation of two ratios: the beam length to beam thickness (L/d0) ratio and the undercut
to beam thickness (y/d0) ratio.
To demonstrate that the linear scaling relationship was valid, 9 cantilever hooks
with different beam thickness and other parameters fixed were simulated in Marc, and
from Figure 4.3 the approximated linear relationship was found to exist. Based on the
previous work and experience about snap-fit design, for the screening experiment eight
genetic factors and their upper and low limits were defined in Table 4.1.
Upper
Limit
Low
Limit
E(MPa)
Y.S.(MPa)
Fri. Coef.
Ret. Angle
B.L./Th
Un.C./Th.
Taper
Wor. Sl.
4000
3625
90
10
1.5
1000
1200
580
0.6
87
0.8
100
Table 4.1: The upper limit and low limit of each parameter
52
53
70
60
50
40
30
20
10
0
0
10
11
Thickness (mm)
Figure 4.3: The relationship between beam thickness and retention force
54
select a group of likely models for further analysis. The general method is to select the
smallest subset that fulfills certain statistical criteria. The reason to use a subset of
variables rather than a full set is because the subset model may actually predict future
responses with smaller variance than the full model.
Best subsets regression identifies the best fitting regression models that can be
constructed with the predictor variables that you specify. By default, all possible subsets
of the predictors are evaluated, beginning with all models containing one predictor, and
then all models containing two predictors, and so on. By default, Minitab reports the two
best models that can be constructed for each number of predictors.
Suppose you conduct a best subsets regression with three predictors. Minitab will
report the best and second best one-predictor models, followed by the best and second
best two-predictor models, followed by the full model containing all three predictors.
The following 4 statistical parameters were used as comparison criteria by the
best subsets procedure to screen out the most important factors [65].
y = + 1 x1 + 2 x2 + L + q xq + z
(4.1)
56
Adjusted R2: Adjusted R2 also measures the proportion of the variation in the
dependent variable accounted for by the explanatory variables. Unlike R2,
adjusted R2 allows for the degrees of freedom associated with the sums of the
squares. Therefore, even though the residual sum of squares decreases or remains
the same as new explanatory variables are added, the residual variance does not.
For this reason, adjusted R square is generally considered to be a more accurate
goodness-of-fit measure than R square. Those regression subsets with large values
of adjust R2 should be choose.
Mallow Cp: This is a measure of total squared error for a subset model containing
p regressors. The total squared error is a measure of the error variance plus the
bias introduced by not including important regressors in a model. Therefore, it
may be used to detect if too many regressors have been deleted. We should select
those regression subsets with small values of Cp. Moreover, we want to be sure
that these values close to the line Cp = p, where p is number of predicators
included in the model.
the results are shown in the Table 4.3. Only 5 of the original 8 factors were selected to be
carried forward to the second array. As seen by all 4 of the standards, as more factors are
considered there is no reliable gain in accuracy. The values of R2 and adjusted R2 are no
57
Rsq
28.2
17.8
46.0
35.9
53.7
50.3
58.0
57.9
62.1
59.7
63.8
63.4
65.1
64.4
65.7
R-sq
(adj)
25.8
15.0
42.3
31.5
48.8
44.9
51.8
51.6
54.9
51.9
55.1
54.7
54.9
54.1
53.8
C-p
20.2
27.2
10.3
17.0
7.1
9.4
6.2
6.3
5.4
7.1
6.3
6.5
7.4
7.9
9.0
our modeling of retention, the material at the catch will not experience high values of
strain and will never enter the working hardening region of the material curve. The above
phenomenon can also explain that the factor of ratio between beam undercut and beam
thickness is not significant.
4.2 Central Composite Design
The central composite design method (CCD) is the most popular class of secondorder designs. Much of the motivation of the CCD evolves from its use in sequential
experimentation. It involves the use of a two-level factorial or faction combined with
axial or star points (Figure 4.4). The sequential nature of the design becomes very
obvious. The factorial points represent a design with minimal variance for a first-order
model or a first-order plus two-factor interaction type model. Center runs clearly provide
information about the existence of curvature in the system. If curvature is found in the
system, the addition of axial points allows for efficient estimation of the pure quadratic
terms.
The areas of flexibility in the use of central composite design reside in the
selection of , the axial distance, and nc, the number of center points. The choice of
depends to a great extent on the region of operability or interest. The choice of nc often
has an impact on the distribution of prediction variance in the region of interest. In this
study =
chosen to reach design rotatability [66]. Design rotatability means the process possesses a
reasonably stable distribution of prediction variance throughout the experimental design
region. It must be clearly understood that the experimenter does not know at the outset
59
where in the design space the optimum may lie. Thus, a reasonably stable prediction
variance provides insurance that the quality of a prediction of future response values is
roughly the same throughout the region of interest. Results for each case were obtained
using finite element models, while response surface methods and multiple linear
regression analysis were used to develop design equations to predict a retention force for
the cantilever hook.
Factorial
points
Star points
Central
points
In the last section, five factors (Table 4.4) were identified to be the most
significant factors to the performance of cantilever hook. The central composite design
array (Table 4.5) was generated based on these five factors. Each design point was
simulated in the nonlinear finite element model. As an example of a typical models
results, the retention force curve of one central composite design array is shown in Figure
4.5. The data plotted is for a mating part being moved at a constant velocity and the
retention force is plotted against time. From the force curve, the retention force increases
with the increase of time and reaches the maximum value in the upper retention face.
Youngs
Modulus (MPa)
4000
1200
Upper Limit
Low Limit
Friction
Coefficient
1
0.6
Retention
Angle
90
87
Beam Length /
Thickness
10
5
Taper
2
1
2
1.5
1
0.5
0
-0.5
-1
-1.5
4
5
6
Position (mm)
10
Run
Young Modulus
Fri. Coef.
Ret. Angle
B.L./Th
Taper
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
-1
1
-1
0
-1
0
0
1
0
-1
1
1
0
-1
-1
1
1
1
-1
0
0
1
0
-1
0
-1
-1
0
-1
0
0
-1
1
0
1
1
1
-1
1
-1
0
1
1
0
0
0
-1
0
1
-1
2.37841
-2.37841
1
1
1
0
1
0
0
1
0
-1
-1
1
0
-1
1
-1
1
-1
-1
0
0
-1
-1
1
0
-1
-1
0
1
1
0
-1
-1
0
1
-1
1
-1
1
-1
0
-1
1
0
0
0
1
0
-1
1
0
0
1
-1
-1
0
-1
0
0
-1
0
-1
1
-1
0
1
-1
1
1
1
-1
0
0
-1
0
1
0
-1
1
0
1
0
-2.37841
-1
-1
0
1
-1
1
1
1
1
0
1
-1
2.37841
0
0
-1
0
-1
1
0
0
1
1
-1
0
1
0
0
1
0
1
1
-1
-2.37841
-1
-1
1
1
-1
-1
0
0
1
0
-1
0
1
-1
0
1
0
0
-1
-1
2.37841
-1
-1
-1
1
1
1
0
-1
-1
0
0
0
1
0
1
-1
0
0
-1
-1
1
0
-1
-2.37841
2.37841
1
0
1
-1
-1
0
1
-1
1
1
-1
-1
0
0
1
0
1
0
-1
-1
0
1
0
0
1
-1
0
1
1
-1
1
-1
-1
0
1
1
0
0
0
1
0
-1
-1
0
0
15.530
28.000
5.472
10.360
13.920
50.090
3.906
9.668
10.570
2.694
18.600
30.040
28.100
3.214
15.015
6.284
10.875
18.490
7.780
9.235
10.970
5.388
1.275
6.300
10.380
7.934
9.244
10.380
5.436
17.360
8.703
2.810
15.560
8.999
12.540
5.626
34.270
3.142
31.260
9.298
10.320
6.447
10.940
11.890
10.180
10.300
4.834
10.300
15.870
17.150
18.570
2.147
62
The resulting data from the central composite design array was analyzed with
multiple regression techniques to create the response surface equation shown below:
Retention Force = 10.05 + 3.91 E + 3.49 - 1.33 L/d0
- 6.84 (d0/dL) + 1.17 (L/d0)^2 + 2.66 (d0/dL)^2
+ 1.18 E* - 1.95 E*(d0/dL) 1.63 *(d0/dL)
(4.2)
This equation is applicable for any cantilever hook geometry in the explored
design space, and provides an estimate of a cantilever hooks retention force. This
response surface equation also provides sensitivity data of the main design variables and
variable interactions. The statistical analysis package MINITAB was used for the
regression analysis of this full interaction quadratic model. All design variables and
interactions between variables were considered, and terms that were not significant
according to their Students t-test were discarded. The data was fit to a R2(adj) value of
0.887 (Table 4.6).
The above table shows the regression analysis of the full interaction quadratic
model. The first column lists all terms of this model and the second column lists their
coefficients. A general rule to judge the significance is the value of P. If one terms P is
less than 0.05, this term is significant to the model.
The plot of residuals versus the fitted values and normal probability are shown in
Figure 4.6. The residuals plot show curvature and some outliners that will obviously
affect the accuracy of the response surface. Both transformation of response and deleting
outliers will be discussed in the following sections.
63
Term
Constant
E(Mpa)
Fri. Coe
Ret. Ang
B.L./Th
Taper
E(Mpa)*E(Mpa)
Fri. Coe*Fri. Coe
Ret. Ang*Ret. Ang
B.L./Th*B.L./Th
Taper*Taper
E(Mpa)*Fri. Coe
E(Mpa)*Ret. Ang
E(Mpa)*B.L./Th
E(Mpa)*Taper
Fri. Coe*Ret. Ang
Fri. Coe*B.L./Th
Fri. Coe*Taper
Ret. Ang*B.L./Th
Ret. Ang*Taper
B.L./Th*Taper
S = 3.134
Coef
10.051
3.905
3.489
0.787
-1.330
-6.837
-0.280
-0.464
-0.291
1.168
2.661
1.181
0.276
-0.118
-1.949
0.138
-0.383
-1.623
-0.072
-0.404
0.066
SE Coef
0.9850
0.4762
0.4762
0.4762
0.4762
0.4762
0.4096
0.4096
0.4096
0.4096
0.4096
0.5540
0.5540
0.5540
0.5540
0.5540
0.5540
0.5540
0.5540
0.5540
0.5540
R-Sq= 93.1%
T
10.204
8.201
7.327
1.654
-2.793
-14.358
-0.684
-1.133
-0.711
2.851
6.497
2.132
0.497
-0.213
-3.517
0.249
-0.691
-2.930
-0.129
-0.729
0.119
P
0.000
0.000
0.000
0.108
0.009
0.000
0.499
0.266
0.483
0.008
0.000
0.041
0.622
0.833
0.001
0.805
0.495
0.006
0.898
0.472
0.906
R-sq(adj)= 88.7%
Figure 4.6: The residual and normality plots for retention force
65
Whether a linear regression function is appropriate for the data being analyzed
can be studied from a residual plot against the fitted values. The residuals (Figure 4.6)
show that a linear regression function may not be appropriate for the data. The residuals
decrease in the middle of fitted values but increase at each end. To eliminate this residual
curvature, the two most common transformations were considered: logarithm and
reciprocal. Their residuals plots are shows in Figure 4.7 and Figure 4.8. Compared to the
residuals plot of untransformed retention force, the residual plot of logarithm
transformation shows a better pattern because the residuals show random scatter without
any pattern. However the residual plot of reciprocal transformation shows a worse
pattern. The value of R2(adj) for logarithm transformation increases to 0.941 (Table 4.7)
while the value of reciprocal transformation decrease to 0.710 (Table 4.8). Therefore the
logarithm transformation was selected and a response surface equation based on this
transformation is shown below in Equation 4.3.
66
Term
Constant
E(Mpa)
Fri. Coe
Ret. Ang
B.L./Th
Taper
E(Mpa)*E(Mpa)
Fri. Coe*Fri. Coe
Ret. Ang*Ret. Ang
B.L./Th*B.L./Th
Taper*Taper
E(Mpa)*Fri. Coe
E(Mpa)*Ret. Ang
E(Mpa)*B.L./Th
E(Mpa)*Taper
Fri. Coe*Ret. Ang
Fri. Coe*B.L./Th
Fri. Coe*Taper
Ret. Ang*B.L./Th
Ret. Ang*Taper
B.L./Th*Taper
S = 0.07798
Coef
1.0137
0.1628
0.1590
0.0299
-0.0368
-0.2286
-0.0361
-0.0587
0.0005
0.0348
0.0250
0.0000
0.0000
0.0002
-0.0002
-0.0033
-0.0108
0.0030
-0.0011
-0.0008
-0.0052
R-Sq= 96.4%
SE Coef
0.02451
0.01185
0.01185
0.01185
0.01185
0.01185
0.01019
0.01019
0.01019
0.01019
0.01019
0.01379
0.01379
0.01379
0.01379
0.01379
0.01379
0.01379
0.01379
0.01379
0.01379
T
41.359
13.736
13.420
2.521
-3.102
-19.291
-3.539
-5.755
0.053
3.418
2.451
0.002
-0.003
0.014
-0.013
-0.240
-0.780
0.220
-0.077
-0.055
-0.379
R-Sq (adj)= 94.1%
P
0.000
0.000
0.000
0.017
0.004
0.000
0.001
0.000
0.958
0.002
0.020
0.998
0.998
0.989
0.990
0.812
0.441
0.827
0.939
0.956
0.707
(4.3)
In this study, three statistic terms were used to identify the outlier cases. They are
Studentized Deleted Residual, Cooks Distance and Difference between the fitted value
and the predicted value (DFFITS) [65].
Studentized Deleted Residual
The Studentized deleted residual, denoted by ti, can be computed by the following
equation.
67
n p 1
t i = ei
2
SSE (1 hii ) ei
1/ 2
(4.4)
The detailed derivation can be referred at [65]. In this equation ei is the residual, SSE is
the sum of squares error, hii is the hat matrix values, p is the number of parameters and n
is the number of cases.
Term
Constant
E(Mpa)
Fri. Coe
Ret. Ang
B.L./Th
Taper
E(Mpa)*E(Mpa)
Fri. Coe*Fri. Coe
Ret. Ang*Ret. Ang
B.L./Th*B.L./Th
Taper*Taper
E(Mpa)*Fri. Coe
E(Mpa)*Ret. Ang
E(Mpa)*B.L./Th
E(Mpa)*Taper
Fri. Coe*Ret. Ang
Fri. Coe*B.L./Th
Fri. Coe*Taper
Ret. Ang*B.L./Th
Ret. Ang*Taper
B.L./Th*Taper
S = 0.07064
Coef
0.09155
-0.05519
-0.06875
-0.00859
0.00691
0.05997
0.02207
0.05055
-0.00627
-0.01089
0.00053
0.01304
0.00311
-0.00126
-0.02120
0.00348
0.00189
-0.01941
-0.00021
-0.00422
0.00300
SE Coef
0.022200
0.010733
0.010733
0.010733
0.010733
0.010733
0.009233
0.009233
0.009233
0.009233
0.009233
0.012487
0.012487
0.012487
0.012487
0.012487
0.012487
0.012487
0.012487
0.012487
0.012487
T
4.124
-5.142
-6.405
-0.800
0.644
5.588
2.390
5.475
-0.679
-1.180
0.058
1.044
0.249
-0.101
-1.698
0.279
0.151
-1.554
-0.017
-0.338
0.240
P
0.000
0.000
0.000
0.430
0.524
0.000
0.023
0.000
0.502
0.247
0.954
0.304
0.805
0.920
0.100
0.782
0.881
0.130
0.987
0.738
0.812
R-Sq(adj)= 71%
R-Sq= 82.4%
deleted residual is an outlier. Since we do not know in advance which case will have the
largest absolute value |ti|, we consider the family of tests to include n tests, one for each
case. If the regression model is appropriate, so that no case is outlying because of a
change in the model, then each studentized deleted residual will follow the t distribution
with n-p-1 degrees of freedom. The appropriate Bonferroni critical value therefore is t(1-
/2n; n-p-1).
Figure 4.7: Residual plot vs. fitted values for logarithm transformation
DFFITS and Cooks Distance
After identifying cases that are outlying with respect to their Y values, the next
step is to ascertain whether or not these outlying cases are influential. We shall consider a
case to be influential if its exclusion causes major changes in the fitted regression
function. In this study the author applied two measures of influence that are widely used
69
in practice DFFITS and Cooks distance, each based on the omission of a single case to
measure its influence.
Figure 4.8: Residual plot vs. fitted values for reciprocal transformation
It can be shown that DFFITS values can be computed by using the following
equation [65].
( DFFITS ) i = t i (
hii
) ,ti Studentized deleted residual
1 hii
hii Element of hat matrix
(4.5)
Note from the last expression that the DFFITS value for the ith case is a studentized
deleted residual, increased or decreased by a factor that is a function of the leverage value
for this case. As a guideline for identifying influential cases, it was suggested to consider
a case influential if the absolute value of DFFITS exceeds 1 for small to medium data sets
70
and 2 p / n for large data sets where p is the number of parameters and n is the number
of cases.
In contrast to the DFFITS measure, which considers the influence of the ith case
)
on the fitted value Yi for this case, Cooks distance measure considers the influence of
the ith case on all n fitted values. Cooks distance measure, denoted by Di, is an aggregate
influence measure, showing the effect of the ith case on all n fitted values:
n
Di =
(Y
j =1
Y j ( i ) ) 2
pMSE
)
, Yi - The fitted value
(4.6)
then squared and summed, so that the aggregate influence of the ith case is measured
without regard to the signs of the effects. To assess the magnitude of the influence, Neter
refer to the corresponding F distribution [65], namely, F(p, n-p) where p is the number of
parameters and n is the number of cases.
Runs
13
23
30
34
COOK1
(0.2658)
0.513507
0.889274
0.730241
0.648132
DFIT1
(0.6794)
3.78945
-5.85735
4.92677
-4.48406
72
(4.7)
Term
Constant
E(Mpa)
Fri. Coe
Ret. Ang
B.L./Th
Taper
E(Mpa)*E(Mpa)
Fri. Coe*Fri. Coe
Ret. Ang*Ret. Ang
Taper*Taper
E(Mpa)*Fri. Coe
E(Mpa)*Ret. Ang
E(Mpa)*B.L./Th
E(Mpa)*Taper
Fri. Coe*Ret. Ang
Fri. Coe*B.L./Th
Fri. Coe*Taper
Ret. Ang*B.L./Th
Ret. Ang*Taper
B.L./Th*Taper
S = 0.02778
Coef
1.0125
0.1628
0.1309
0.0299
-0.0130
-0.2286
-0.0375
-0.0150
-0.0009
0.0236
0.0000
0.0000
0.0002
-0.0002
-0.0033
-0.0108
0.0030
-0.0011
-0.0008
-0.0052
R-Sq =99.5%
SE Coef
0.008785
0.004221
0.004911
0.004221
0.004911
0.004221
0.003804
0.008793
0.003804
0.003804
0.004911
0.004911
0.004911
0.004911
0.004911
0.004911
0.004911
0.004911
0.004911
0.004911
T
115.252
38.560
26.664
7.077
-2.646
-54.153
-9.858
-1.710
-0.234
6.194
0.006
-0.007
0.040
-0.036
-0.674
-2.189
0.617
-0.215
-0.155
-1.064
R-Sq(adj)= 99.1%
P
0.000
0.000
0.000
0.000
0.013
0.000
0.000
0.098
0.817
0.000
0.995
0.994
0.969
0.972
0.506
0.037
0.542
0.831
0.878
0.296
Table 4.10: Regression analysis for retention force after deleted influential outlying
cases
Main effect of a given variable as defined by Yates [66] is the average difference
in the level of response as one moves from the low limit to the upper limit of that
variable. Main effect plots can be used to quickly determine which variables have the
greatest effect on the objective function. They show which variables can be changed
without adversely affecting snap-fit performance. Varying a single variable while holding
all other variables at their median values produces each curve.
The different settings corresponding to each parameter are coded values so that
the real significant main effect can be found. Figure 4.10 illustrates that retention force is
predominately driven first by Taper, then by Youngs Modulus. Retention is fairly
insensitive to Friction Coefficient, Retention Angle and the ratio between Beam Length
and Beam Thickness. The possible reason to explain why Friction Coefficient and
Retention Angle are not significant factors is that this study only focused on the
cantilever hook with a small range of high retention angles (87 -90). For cantilever
hooks with high retention angles, the retention force is mainly used to overcome the
bending of cantilever hook. The friction only plays a minor role during retention. Also
within such a small range of retention angles, the retention force will not vary much.
Another possible reason why friction coefficient is insignificant is the contact point
between mating part and catch. For insertion and retention with low retention angle,
mating part slides on the catch. In this case, friction is very important. However for
retention with high retention angle, mating part seems roll on the catch that explained
why friction is insignificant for retention covered in this research.
74
In order to verify this response surface equation, two methods were used to check
its accuracy. First, four more design cases (Table 4.11), the first two in the design space
and the last two out of it, were simulated in FEA package and their results were
compared to the results calculated from the response surface equation. The last two
design cases are just out of the design space.
E
E(Mpa)
Fri.
Fri.Coe.
Coef.
Ret.
Ret.Angle
Angle
B.L./Th
B.L./Th
Taper
Taper
log(Retention Force)
1.7
1.4
1.1
0.8
0.5
1 0 0 0 1
84 000 000 000 784
7
.3 .0 .0 .0 .3
-2 -1 0 1 2
-1
1 41 00 00 00 41
78 00 00 00 78
.23 1.0 0.0 1.0 2.3
- -
-1
75
1 41 00 00 00 41
78 00 00 00 78
.2 3 1.0 0.0 1.0 2.3
- -
Snap01
Snap02
Snap03
Snap04
Youngs
Modulus
Friction
Coefficient
Beam Length /
Thickness
Ret.
Angle
Taper
3500 MPa
2500 MPa
4500 MPa
1500 MPa
0.525
0.375
0.675
0.225
8.75
6.25
11.25
3.75
89.25
87.75
90.00
86.25
1.75
1.25
2.25
1.00
FEA Result
(N)
10.800
9.357
11.390
5.900
Equation
Result (N)
10.94
9.06
10.21
4.34
Table 4.11: Verification test between FEA result and equation results
For the first two verification tests, the comparison results in the design space were
very accurate with a difference under 3%. Beyond the design space, the comparison is
still good with a difference is about 10 %. However for the last two verification tests the
difference becomes large around 25%. In generally the response surface equation works
very well in the design space, and can even explore some upper outside design space with
good accuracy.
The lack of fit F test can also be used to test whether the multiple regression
response function is an appropriate response surface. Repeat observations in multiple
regression are replicate observations on Y corresponding of levels of each of the X
variables that are constant from trial to trial. Thus, with two predictor variables, repeat
observations require that X1 and X2 each remain at given levels from trial to trial. Once
the analysis of variance (ANOVA) table has been obtained (Table 4.12). Sum of Square
Error (SSE) is decomposed into pure error and lack of fit components. The pure error
sum of squares (SSPE) is obtained by first calculating for each replicate group the sum of
squared deviations of the Y observations around the group mean, where a replicate group
has the same values for each of the X variables. The lack of fit error sum of squares
(SSLF) equals the difference SSE - SSPE. The F value of Lack-of-Fit test is denoted by
the ratio between lack of fit mean squares error (MSLF) and pure error mean square
76
Analysis of Variance
Source
DF
Regression
19
Residual Error
28
Lack of Fit
19
Pure Error
9
Total
47
SS
4.13642
0.02161
0.01843
0.00318
4.15802
MS
0.21771
0.00077
0.00097
0.00035
F
282.11
P
0
2.75
0.061
77
CHAPTER 5
Design optimization and constraint management are explained in this chapter. The
detailed algorithms of constraint management, design decomposition, forward
dependency and backward dependency, were developed by Prof. Gary Kinzel and his
students [57-62]. A cantilever hook example is used through the chapter to illustrate how
design optimization and constraint management were integrated into this design tool. In
the last sections of this chapter response surface equations of the cantilever hook, post &
dome, and bayonet & finger snap-fit features are described.
5.1 Design Optimization
hi ( x1, x2,L, xn ) = 0,
gi ( x1, x2,L, xn ) 0,
i = 1,2,L, m
(5.1)
i = 1,2,L, p
(5.2)
i = 1,2,L , n
(5.3)
i = 1, 2,L , M
(5.4)
xil xi xiu
i = 1, 2,L , N
(5.5)
(5.6)
xi 0,
Where N = n + p and M = m + p.
Depending on the values of M and N, we can classify a design system into one of
the following three categories:
If M = N: Fully-determined system
YEBD 3
4 L3
BE D 2
P=
6L
1 180
= arctan
+ tan( )
Fins = P
1 tan( )
+ tan( )
Fret = P
1 tan( )
P=
(5.7)
(5.8)
(5.9)
(5.10)
(5.11)
x 2 x3 x 4 x53
=0
4 x63
(5.12)
f 2 = x1
x 4 x3 x7 x52
=0
6 x6
(5.13)
1 180
=0
f 3 = x13 arctan
x9
x + tan( x10 )
f 4 = x11 x1 9
=0
1 x9 tan( x10 )
x + tan( x8 )
f 5 = x12 x1 9
=0
1 x9 tan( x8 )
Where
x1
x2
x3
x4
x5
x6
x7
x8
x9
x10
x11
P
Y
E
B
D
L
x12
FRe t
Retention Force
x13
Critical Angle
FIns
Normal Force
Offset
Modulus of Elasticity
Beam Width
Beam Height
Beam Length
Insertion Strain
Retention Angle
Friction Coefficient
Insertion Angle
Insertion Force
(5.14)
(5.15)
(5.16)
an estimate for the Hessian of the cost function. In the absence of more
information, let H(0) = I. Choose a convergence parameter . Set k = 0, and
compute the gradient vector as
c ( 0 ) = f ( x ( 0 ) )
(5.17)
Step 2: Calculate the norm of the gradient vector as c ( k ) . If c ( k ) < then stop the
81
H ( k ) d ( k ) = c ( k )
(5.18)
H ( k +1) = H ( k ) + D ( k ) + E ( k )
(5.19)
D
with
(k )
y (k ) y (k )
c (k ) c (k )
(k )
= (k ) (k ) ; E = (k ) (k ) ;
(y s )
(c d )
(5.20)
s ( k ) = k d ( k ) (change in design)
y ( k ) = c ( k +1) c ( k ) (change in gradient)
c ( k +1) = f ( x ( k +1) )
P ( F ( X )) = [ wi f i ( X )] = W T F ( X )
(5.21)
i =1
Usually,
0 wi 1
m
w
i =1
=1
(5.22)
Subject to X U
Where U is the feasible design space.
5.2 Constraint Management
A valid design case is defined by a valid set of input variables such that the
remaining unknowns can be determined. Typically, each equation does not contain all of
the design variables, so that only certain combinations of variables can be input. In a fully
determined system, when M is equal to N, there is only one possible design case. But for
the under-determined systems, the number of possible cases, At, can be computed as the
total number of combinations of n variables taken (n-m) at a time, given as follows:
At = nCm =n! / ((n-m)!m!)
(5.23)
The number of valid design cases is usually less than the number of possible
design cases At because certain combinations of variables will lead to direct redundancy
83
problems. The following simple example is used to illustrate the concept of direct
redundancy.
X3 = X1+X2
(5.24)
X4 = X32
(5.25)
Since there are 4 variables in 2 equations, the number of possible design cases is
6. But the case that selects X3 and X4 as input variables leads to direct redundancy. In a
simple constraint design problem, as the one above, direct redundancies are easy to
identify. But, when the size of constraint network increases, determining of direct
redundancies become a complex problem. Interactive design programs built over the
constraints of a mechanical system should permit the user to input any valid combination
of design variables. Constraint management can determine which variables are dependent
upon the known variables and the most efficient solution scheme to solve for these
dependent variables. Assuming the several variables have been already been input and
other variables have been solved, an interactive constraint manager has to deal with the
following situations:
The above scheme can fail by sheer coincidence when f i ( x 'j ) = f i ( x j ) . Note that
x 'j and x j can be the upper and lower limits for the variable. This thesis uses the
symbolic approach to determine the occurrence matrix. For example, the occurrence
matrix of a cantilever hooks design equations (5.12 5.16) is listed in Table 5.2.
85
Eq. No. i
Variable Number, j
10
11
12
13
Block = 1
k=1
Is stack
empty?
BLOCK = BLOCK + 1
k = top(Stack)
All
variables
marked?
Return
Level Information
In a typical design problem, the variables can be specified as inputs in any order.
After a sufficient number of variables are inputted, some of the outputs can be computed.
However, all of the variables that are computed at any one time may not be dependent on
all of the variables that have been input. The level information indicates at what stage of
the input process input variables are used and output variables are computed. The current
level number remains zero until some equations can be solved.
As soon as it is detected that some variables can be solved, these output variables
are given level 1. The input variables in the equations solved are also assigned level 1.
The second level includes the output variables and the new input variables (i.e. input
variables with level = 0) that are required to compute the second group of outputs.
Subsequent levels are defined in a similar manner. It should be noted that for the input
variables, the level number indicates the first time they were used. Even if the input
variables are respecified at a later stage, the level number remains unchanged for them.
Order Information
The order information gives the order in which the equations are solved and the
variables determined. If several equations are solved simultaneously, the equations and
variables involved are of the same order designation. The order index is specific to a
particular level, i.e. at a particular level there might be more than one order. The order
information indicates the way in which equations are solved at a particular level. Since
the input variables are not part of the equations solution process, their order is always set
to zero.
88
Since this web-based design tool allows the user to input any valid combination of
design variables, there is the need to determine which variables are dependent on
variables already input or computed. Once the dependent variables have been identified,
it is necessary to determine the most efficient sequence for computing these variables,
and once the dependent variables are computed, changes in both the input and output
variables must be accommodated. This indicates the need for algorithms that will
determine the following:
When the value for a particular variable xk becomes known (i.e., it is either input
or computed), there is a need to identify any dependent variables that can be solved using
the constraint equations. This requires an algorithm that will systematically cycle through
the remaining equations to determine if any equations can be solved individually or in a
set of simultaneous equations. Such an algorithm is shown in the Figure 5.2.
For any known variables, xk, the kth column of the occurrence matrix is zeroed,
i.e.,
89
Aik = 0, i = 1,2,L, m
(5.26)
This process is referred to as updating the occurrence matrix. The input process is
considered complete when all variables have been either specified (input) or computed
(output), i.e., the occurrence matrix is identically zero. Figure 5.2 shows an algorithm to
find the variables that have to be solved individually or using simultaneous equations.
First, the entries in each row of the occurrence matrix are summed in a vector
ROWSUM, i.e.,
(5.27)
ROWSUM i = Aij
j =1
If the ROWSUM vector is identically equal to 0, then there are no more variables
remaining, and the design is complete. Then, the minimum of the ROWSUM vector is
found from all the nonzero entries and assigned to k. The variable k identifies the
minimum number of equations that have to be checked for simultaneous solution. If k
happens to be greater than p, then nothing can be solved. Here, p is the maximum number
of equations that will ever be solved at any one time. This number can be determined
prior to any analyses from the original occurrence matrix by an exhaustive search that
considers every possible combination and order for inputting the variable values. If k is
equal to 1, there is one equation that can be solved independently. This equation is
solved, the occurrence matrix is updated, and the procedure is repeated.
90
k p?
Is
Return
Y
Is
k = 1?
Identify equations
and variables
Return
N
Generate Active occurrence matrix
k p?
Is
Return
Y
Identify number (L) of rows with
ROWSUM k
k=k+1
Is
Lk?
Return
N
Sort the candidates L in increasing
ROWSUM
Have
N
c kL
combination
been tested?
Number of
nonzero entries in
COLSUM = k?
Return
Y
Identify equations and variables
92
Eq. No. i
Variable Number, j
10
11
12 13
ROWSUM
Table 5.3: The occurrence matrix after specified x1, x2, x3, x4, and x6
The ROWSUM value equal to 1 identifies one equation in one variable. Hence the
output variable x5 is found using equation f1. This leads to zeroing out of column 5. As a
result, the ROWSUM value of equation f2 changes from 2 to 1. Then the output variable
x7 is found using equation f2. The following web page (Figure 5.3) shows the final
updated input and output variables.
The above solution strategy corresponds to the input variables x1, x2, x3, x4, x6, x8,
x9 and x10. The order in which the input variables are specified determines the level and
order information for the variables and equations. The order that was used for the
illustration of the design decomposition algorithm was [x3, x6, x2, x1, x4, x9, x8, x10]. Let
the block, input/output designation, level and order be designated as BLOCK, IO,
LEVEL, and ORDER, respectively. Then the BLOCK, IO, LEVEL, and ORDER values
for the variables and equations are given in Table 5.4.
93
If the value of an input variable is changed, then all of the output variables that
depend on this input variable must be recomputed. The dependent output variables can be
identified using the algorithm presented in Figure 5.5. To determine the output variables
that have to be recomputed, the block and level of the changed input variable is first
94
determined, and all of the equations that are in the same block and at the same level or
higher are identified. A sub-occurrence matrix is then formed from these equations, and
using only the active inputs (i.e. excluding the changed input), a modified version of the
design decomposition algorithm is used to determine the output variables that are not
dependent on the changed input variable. These variables need not be recomputed and
they are retained at their present value. Once these variables have been identified, the
remaining output variables from the initial candidate set are recomputed. The equations
that were used to compute the output variables can be found and resolved in the correct
order for each level.
VARIABLE OR
EQUATION
x1
x2
x3
x4
x5
x6
x7
x8
x9
x10
x11
x12
x13
f1
f2
f3
f4
f5
BLOCK
IO
LEVEL
ORDER
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
0
1
1
1
0
0
0
-
1
1
1
1
1
1
1
3
2
4
4
3
2
1
1
2
3
4
0
0
0
0
1
0
2
0
0
0
5
4
3
1
2
3
4
5
Table 5.4: Block, input/output, level and order of cantilever hook example
If the value of x3 (Youngs Modulus) was changed from 30,000 to 40,000 (Figure
5.4), then only x5 (Base Height) and x7 (Insertion Strain) must be recomputed since the
other output variables x11 (Insertion Force), x12 (Retention Force), and x13 (Critical Angle)
95
do not depend on x3. The solution sequence to solve x5 and x7 is determined using the
design decomposition algorithm. At this stage, the occurrence matrix will have the x1, x2,
x3, x4, x6, x8, x9, x10, x11, x12, and x13 zero out (Table 5.5).
Eq. No. i
Variable Number, j
10
11
12 13
ROWSUM
ps = min(p, q)
k=1
Return
Update the subincidence matrix
Return
Y
Is k < ps?
k = k +1
N
Any unsolvable
variables left?
k
Is L < k?
N
Get a combination of k equations
from L equations
Have
C kL
combination been
tested?
Number of nonzero
entries in COLSUM
= k?
After a number of input variables are specified and some of the output variables
are computed, it may be desirable to unspecify or delete the value for a given input
variable (unforced unspecification). Another case of input variable unspecification occurs
97
Eq. No. i
Variable Number, j
10
11
12 13
ROWSUM
For a complicated problem, the designer may know typical values for the output
variables, and he/she may find the computed values to be unacceptable. One option in
such cases is to specify the value for one of the variable that was calculated (Reverse
Specification Problem). When this is done, the problem becomes over-determined, and it
98
could be considered, but this will usually involve more calculations than if the subgroup
based on the level designation is used.
A procedure for finding the backward dependency is shown in Figure 5.7. First
the equations that are at the same level and order as the designed output variable are
found, and the input variables in these equations are identified. If these are all of the
inputs at the same level or lower, the procedure terminates. To identify all of the input
variables that potentially influence the designated output variable, indirect dependencies
also must be checked. To determine indirect dependencies, the other output variables in
the group of equations being investigated are identified. The level and order of these
variables are determined, and the input variables in the equations of the same level and
order are identified. If all of the potential input variables are still not accounted for, the
output variables in the new group of equations are found, and their level and order
identified. The equations at this order are then checked for input variables. The procedure
continues until no more input variables that are directly dependent on the designated
output variable are found.
As an example of the reverse specification, assume that x5 (base height) which
was one of the output variables is designated as an input variable. This variable is in
Block 1 and has a lever and order of 1 and 1, respectively. Equation 1 has the same level
and order, and the input variables appearing in equation 1 are x1, x2, x3, x4, and x6. Since
there are no other outputs in f2, no new input variables were considered as candidates.
Therefore x1, x2, x3, x4, and x6 can be unspecified when x5 is made an input. In this
example x6 (beam length) was unspecified, then the forward dependency check discussed
previously is make, and all of the output variables that are dependent on the unspecified
100
input x6 are leased. One of these released output variables will be x5. A value was
designated for the chosen output variable x5. x6 (beam length) changed from an input
variable to an output variable (Figure 5.8).
Start with occurrence matrix and
output variable xj
k=1
LEVEL = 1 and
ORDER = 1?
Return
N
Identify m new output variables in n equations and rank
all encountered but uninvestigated output variables in
order of increasing indices (x1, xi+1, )
All encountered
output variables
investigated?
N
Set k equal to the lowest index of variables which
have yet to be investigated
In this section, the response surface equations of three most common snap-fit
features cantilever hook, post & dome and bayonet & finger, are explained. These
mathematic formulations were included in this web-based design tool and all of them
were generated by using the combination of FEA, DOE and RSM.
Cantilever Hook Feature
In this web-based design tool, the traditional strength of material equations [5.7
5.11] were used to predict the performance of cantilever hooks with low retention angles.
102
However for retention force of high-retention cantilever hooks, the response surface
equation [4.7] developed was implemented.
Post & Dome Feature
The post & dome feature, shown in Figure 5.9, is a high performance snap-fit that
is self-datuming and can take some shear loading in addition to retention. Its response
surface equations were developed by Nichols [9] and shown in Equations 5.28 to 5.33.
Fret (N ) = 6 [a 0 + a1 (hd b ) + a2 (hd m) + a 3 (tE ) + a 4 ( bm) + a 5 ( b 2 ) ]
(5.28)
(5.29)
(5.30)
a 8 ( mE ) + a 9 ( b 2 )
Fret
Fins
(5.31)
OD post
4
(5.32)
LR =
d =
y = 0.7t
(5.33)
Table 5.7 and Table 5.8 show the response surface factors and design variables of
post & domes response surface equations.
Factors
a0
a1
a2
a3
a4
a5
a6
Fret
-95.930329
-0.513798
122.227241
0.115491
-21.175542
0.081995
Fins
-83.405492
1.128164
281.607631
-6.571269
-0.001944
0.022354
-4.212110
ins
-0.213418
0.04507
-0.015966
6.94e-4
3.684e-6
0.00327
0.211387
Table 5.7: The response surface factors for the post & dome feature
103
Friction Coefficient
Post Diameter
OD post
Range
6-12
Unit
mm
0.75-2
50-75
1150-3000
0-0.5
3
mm
N/mm2
mm
d
y
Fret
OD post /4
mm
0.7t
mm
N
Fins
Insertion Force
ins
Insertion Strain
LR
Locking Ratio
Table 5.8: Design variables for the post & dome feature
104
A bayonet & finger snap-fit feature contains a bayonet, a retention finger and a
support finger (Figure 4.2). Its response surface equations were developed by Shen [7]
and shown in Equation (5.34) to (5.45).
w=
t
2
(5.34)
d=
t
1.0928
(5.35)
t f = 0.5585t
(5.36)
t b = 2.0
(5.37)
tp =
t
2
(5.38)
l = h + tb + 2
(5.39)
q =
q - 107.5
12.5
(5.40)
h =
h- 8
2
(5.41)
t =
t - 1.5
0.3
(5.42)
LR = 232.7 882.2
w
w
td
w
w
+ 1640.9 + 313.7
+ 419.9( ) 2 916.5( ) 2
t
tf
d
t
tf
td 2
)
1690.9(
d
(5.43)
105
(5.44)
(5.45)
Table 5.9 shows the scaled variables of bayonet & finger used in Equation 5.345.45. Table 5.10 and Table 5.11 show the design variables and response surface factors of
bayonet & fingers response surface equations.
q
h
t
E
m
Dimensionless
Dimensionless
Dimensionless
Dimensionless
Dimensionless
q
h
t
E
m
Table 5.9: The scaled variables for bayonet & finger feature
Variable Symbol
h
t
E
Range
95-120
6-10
1.2-1.8
1750-2625
0.2-0.5
0.6-0.9
1.2-1.8
0.6-0.9
Unit
mm
mm
N/mm2
w
d
tf
Variable Name
Retention Finger Angle
Vertical Finger Height
Base Thickness of Bayonet
Modulus of Elasticity
Friction Coefficient
Offset Size
Gap between Fingers
Thickness of Fingers
tb
0.6-0.9
mm
l
LR
10-14
Eq.6
Eq.7
mm
Fins
Length of Bayonet
Locking Ratio
Insertion Force
Fret
Insertion Strain
Eq.8
mm
mm
mm
Table 5.10: The design variables for bayonet & finger feature
106
Factors
a0
a1
a2
a3
a4
a5
a6
a7
a8
a9
a10
a11
a12
a13
a14
a15
a16
a17
a18
a19
Value
0.160130
0.005502
-0.162599
0.135605
0.018534
0.001412
-0.052948
0.083788
0.063969
-0.020291
-0.015100
0.024895
0.011371
0.011907
-0.022910
-0.105421
-0.009982
0.011099
0.007982
0.003338
Factors
b0
b1
b2
b3
b4
b5
b6
b7
b8
b9
b10
b11
b12
b13
b14
b15
b16
b17
b18
b19
Value
4.059906
-3.520562
-0.586661
1.398942
1.044682
-0.107505
0.855799
-0.492045
-0.640947
0.367921
1.088091
0.086938
-1.011719
-0.730382
0.050770
-0.025048
-0.091164
0.081425
0.182853
0.185332
Table 5.11: The response surface factors for bayonet & finger feature
107
CHAPTER 6
108
from the Web server to the Web client (the Java-enabled browser). In a word, Java has
the following advantages:
Java is Object-Oriented. Like most OOP languages, Java includes a set of class
libraries that provide basic data type, system input and output capabilities and
other utility functions. OOP technique enables programmers to take full
advantage of object-oriented methodology and its capabilities for creating
flexible, modular programs and reusing code.
109
6.1.2 JavaScript
Netscape initially developed JavaScript under the name of LiveScript. This
scripting language was intended to extend the capabilities of basic hypertext markup
language (HTML) and provide a partial alternative to using a large number of Common
Gateway Interface (CGI) scripts to process form information and add dynamics to a
users page. Although JavaScript has advantages such as ability to embed into HTML and
flexibility, its disadvantages are also obvious. For example, JavaScript is environment
dependent, which means some browsers dont support it. Another disadvantage is that
JavaScript is an interpreted language that takes longer for the code to execute.
6.1.3 VBScript
VBScript, sometimes known as Visual Basic Scripting Edition, is Microsofts
answer to JavaScript. Just as JavaScripts syntax is loosely based on Java, VBScripts
syntax is loosely based one Microsofts Visual Basic, a popular programming language
for Windows machines. So VBScript is the scripting version of Visual Basic. This helps
to explain the subset of VB features that are supported by the VBScript interpreter.
Like JavaScript, VBScript is also an interpreted language, which means it cannot
be compiled into an executable program. The interpreter reads in the script file, checks
some basic syntax requirements, and then executes the commands and functions in the
script. It was first used in Internet Explorer so that web page authors could run code
dynamically on the remote users PC. Microsoft took a subset of functions from Visual
Basic for Applications, which in itself is a subset of Visual Basic, that meet the
110
functionality required while maintaining performance and keeping the interpreter as small
as possible.
The VBScript interpreter is available to any application via the ActiveX Scripting
standard. Active Server Pages (ASP) is an example of applications that host the Microsoft
Scripting languages to enable their functions to be used. VBScript can do many of the
same things as JavaScript, and it even looks similar in some cases. The main
disadvantage of VBScript is that only Microsoft Internet Explorer supports it.
111
IIS applications run with multiple browsers and multiple versions of those
browsers. Theyll also run on multiple platforms, including Mac and Unix
machines. This makes IIS applications admirably suited for business
applications used by clients who may not all be running Windows or have the
latest browser.
IIS application has a single code base. Because the application resides in its
entirely on the web server, the administrator can update the entire application
with a single code change. The advantages of this are hard to beat when you
realize how often business rules and database requirements change.
There are no client-side installation issues. This alone makes IIS applications
worth considering.
A client isnt bound to one computer. The developer can use sign-on and
password or other security measures to identify clients no matter which
computer theyre running on.
All the data is centralized. Clients wont ever lose data when they use IIS
application if all data is backuped on the server. Additionally, the
administrator can track use of the application down to the page level. This
kind of capability is priceless when it comes to justifying the cost of an
application.
112
Java
JavaScript
VBScript
VB DHTML
Application
VB IIS Application
Disadvantage
Needs Java-enabled browsers
Environment dependent
Takes longer for the code to
execute
Only Microsoft Internet Explore
supports it
Takes longer for the code to
execute
Limited to Internet Explorer
version 4 and higher
Difficult to learn.
113
Theres only one Server object for a Web server. All the applications share a
single server object. In an ASP page, the Server object is used to create other object
instances - this is equivalent to the Visual Basic command Set myObject = new
someObject. The Server object also contains methods and properties to map virtual Web
paths to physical paths. In other words, if the Web application is located in the myWeb
virtual directory, the user can find out where the files for myWeb are physically located.
The Server object can also encode and decode string information for transmission to or
from the HyperText Transfer Protocol (HTTP) protocol.
Application Object
Theres one Application object for each Web application. An application, to the
ASP engine, is the set of all files and subdirectories within a directory that contains a file
called global.asa. The .asa extension stands for Active Server Application. The
Application object is a container object that can hold other values. In fact, although its
not a Dictionary object, its easiest to think of the Application Object as a Dictionary.
Dictionaries, like Visual Basic collections, are lists of key-value pairs.
Session Object
Each application may have many sessions, one for each user accessing the
application. A session begins when a user requests any file in your Web application and
114
that users browser does not send a valid ASP-generated SessionID cookie for that site.
The Session object is a container object like the Application object. Its also similar to a
Dictionary object, with keys and values. The biggest difference is that each user gets a
unique Session object, whereas all users of the application share the Application object.
Request Object
Browsers send a good deal of information to the server for each page request. The
users dont normally see any of this header information when he is browsing a site, but it
is available at the server for applications to use. The ASP engine packages this
information nicely in an object called the Request object. The Request object contains all
this header information as well as information about the specific page request and any
form information submitted by a user. The user can retrieve the information through the
properties and collections of the Request object.
Response Object
The methods of the Response object to send a response to the client browser. The
Response object is the primary way to communicate with the client.
ScriptingContext Object
WebClasses let users work in a robust environment that you are familiar with
and that has evolved over many years.
116
In their first implementation, WebClasses dont talk directly to the server. When
an ActiveX DLL is created in Visual Basic, typically another project is also created to
instantiate the objects that ActiveX DLL exposes. Similarly, a WebClass is a DLL that
needs to be loaded; the objects it exposes need to be instantiated from another program.
Webclass objects are instantiated by the ASP script that controls them (actually by
a library mswcrun.dll). They receive events from the framework at the start and end of
each HTTP request. Figure 6.1 shows the state transitions during the lifetime of a
webclass. The Initialize and BeginRequest events are triggered first, then either
Start or one of the standard, template or custom events. If this delegates to a template or
webitem then more of these events are triggered. Finally the webclass objects and other
resources are torn down in the handler for the EndRequest and Terminate requests.
117
Initialize
Initialize
Terminate
Begin Request
Begin Request
Standard event
Template event
Custom event
Start
Generating
End Request
Standard event
Template event
Custom event
118
Log on
Username
& password
Snap-fit feature
selection
Cantilever hook
Post & dome
Bayonet &
finger
Updated
parameters
Design
Interface
Any solved
outputs?
User
input
Units
switch
Illustration
Correction
advisor
Sensitivity
analysis
Single
objective
optimization
Multiple
objectives
optimization
Next, combined with this web-based snap-fit design tool, the 4 different problems
for constraint management which is mentioned earlier will describe in detail.
dependent on this input will become blank. For this case, the Beam Length is chosen to
reset. From Figure 6.8, it is found that all outputs are dependent on Beam Length.
There also have some other functions such as Illustration which shows each snapfits geometry, Variable Range which shows each variables range. And using Switch
Units designers can switch units between Metric units and English units. Reset button is
used to clear all variables values.
Figure 6.12. Single objective optimization for retention force of cantilever hook
Figure 6.13. Single objective optimization result for retention force of cantilever hook
128
Figure 6.14: Multiple objectives optimization for retention force of cantilever hook
Figure 6.15: Multiple objectives optimization result for retention force of cantilever hook
129
After click Optimization button, the optimized values of objective functions were
shown. The free remained parameters were also solved based these optimized values
(Figure 6.15).
130
CHAPTER 7
CASE STUDIES
In this chapter several snap-fit applications from different industries were studied.
Results calculated by three different methods were tabulated and compared. These were
strength of material solutions (Equations 5.6 to 5.11), finite element analysis and the
empirical model (Equation 4.3) generated in this thesis. Comparison between these
results shows that the empirical model has greater accuracy as compared to design guides
and matches the result of finite element analysis. The snap-fit design guide of Bayer
Polymer [3] was used to calculate the retention forces for all case studies. Since the
cantilever hooks of all case studies have uniform width, two-dimensional and plane stress
finite element models were generated in either ANSYS or MARC. Finally the predicated
results were generated from those empirical models generated in Chapter 4.
7.1 Methods to Evaluate the Performance of Cantilever Hook
There are several plastic snap-fits design guides [1-3] and all of them use similar
strength of material design equations. In this thesis the design equations [5.6 5.11] of
Bayer Polymer were used to calculate retention force.
131
Similar to the previous FEA models, the retention of cantilever hook samples
were simulated by a 2D plane stress, contact and nonlinear model. All case studies were
conducted by the finite element package ANSYS. Figure 3.2 shows a typical cantilever
hook finite element model in ANSYS. The contact areas of cantilever hook (insertion
surface, dwell surface and retention surface) have a much finer mesh to achieve accurate
simulation. The end of cantilever hook was fixed and the mating part was only allowed to
move in the X direction. To simplify the simulation and achieve convergence, the mating
part was considered as a rigid body which means no deformation on the mating part
during the contact. All other modeling techniques are same as those described in the
Chapter 3.
Web-based Design Tool
The web-based design tool developed in this thesis was used to evaluate different
cantilever hook case studies. The response surface models generated in the Chapter 4
were incorporated into the web-based design tool.
7.2 Integrated Polymeric Lens Housing
This case study involves a lens system (Figure 7.1) used in a projection TV
system. The integral fastening program at Ohio State had worked with this company in
improving the performance of their snap-fits. In this design cantilever hook snap-fits are
used to attach the two halves of a polymeric lens housing.
132
(a)
(b)
Permissible strain () is 15 %.
So that the deflection force P calculated from the snap-fit design guide of is:
P=
(7.1)
Since the retention angle is greater than the critical angle, according to the
design guide it is a permanent cantilever hook which means it will not manually release.
Retention force is not based on the traditional strength of material design equations but
on cross-sectional area strengths.
Fret = 1800 1.5 2 = 5400 (N)
(7.2)
The graph of retention force versus time is shown in Figure 7.3. The maximum
retention force was 14.03 N.
134
15
X: 0.3238
Y : 14.03
12
0.1
0.2
0.3
0.4
Position (mm)
0.5
0.6
0.7
Figure 7.3: The curve of retention force of cantilever hook of lens housing
The Web-based Design Tool Result
Figure 7.4: The web-based design tool for integral polymeric lens housing
135
Its obvious that the retention force calculated from traditional strength of
material method (5400 N) is not accurate. Compared the FEA result (14.03 N) to the
empirical result (12.867 N) of Figure 7.4, it was shown that the empirical response
surface model predicate the retention force very accurately for this case study.
7.3 Cantilever Hook Application of Cabinet
The second case study is a power supply case for a Rockwell Automation PLC
controller (Figure 7.6). It makes use of cantilever hooks to connect the upper cover to the
main case.
Snap-fit Design Guide Result
Similarly to the previous case study, the material and geometrical properties were
obtained and imputed to the design equations. The cantilever hook has the same material
properties as the previous case study. The only difference is the detailed dimensions
shown in the Figure 7.7. Since this cantilever hook has geometric symmetry, only the half
of cantilever hook was studied. Similar to the previous cantilever hook, since it has a 90
degree retention angle, the strength of material method was used to calculate the retention
force.
Fret = 1800 2 2 = 7200 (N)
(7.3)
The beam thickness at broken area can be calculated as follows (Figure 7.5).
where h1 = 2.5 1.5 = 1mm
h2 = 4 * 2.5 / 10 = 1mm
h1 + h2 = 2 mm
h1
h2
Figure 7.5: Calculation of beam thickness at broken area for power supplys snap-fit
136
(a)
(b)
Figure 7.6: Cantilever hook of power supply for Rockwell Allen Bradly PLC controller
137
10
8
6
4
2
0
-2
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
Figure 7.9: The web-based design page for power supplys cantilever hook
138
Again since this cantilever hook has a 90-degree retention angle, the snap-fit design
guide cant predict the retention force. And the empirical model (13.517 N) from Figure
7.9 showed the good accuracy to predict the FEM retention force (12.03 N) from Figure
7.8.
7.4 Cantilever Hook Samples
For cantilever hook b, because its retention angle is 90-degree, the retention force is
not based on the design equations from Bayer design guide but on cross-section strength.
For cantilever hooks a and c, since the design guide doesnt consider the height of
undercut their retention forces were the same. And the retention force based on design
guide was calculated in the following:
bh 2 E s + tan
8.89 2.5 2 1800 0.025 0.55 + tan(45)
Fret =
=
= 143 N
6 l 1 tan
6
10
1 0.55 tan(45)
(7.4)
After imported the meshes into a finite element analysis package, the retention force
curves of each cantilever hook were obtained in the Figure 7.13 to Figure 7.15.
30
X: 1.503
Y : 27. 89
25
20
15
10
5
0
-5
-10
4
5
6
Position (mm)
10
45
40
X: 0. 2171
Y: 40.34
35
30
25
20
15
10
5
0
-5
0.2
0.4
0.6
0.8
1
1.2
Position (mm)
1.4
1.6
1.8
40
35
30
25
20
15
10
5
0
4
5
6
Position (mm)
10
By using the empirical response surface model, the predicated retention forces were
calculated:
The comparison between these three different results was shown in Table 7.1. From
the table, it was shown that the results of design guide usually have a higher predicated
retention force compared to those of FEA and the empirical model. For cantilever hook
with 90-degree retention angle (sample b) it went for infinite that was unpractical. Even
using a cross-section section method, it predicted a much high retention force for sample
b (Equation 7.5). Between the results of FEA and those of the empirical model, the FEA
simulation showed the good accuracy for sample a and sample b. However it showed
difference for sample c. That was caused by the geometries of this sample which has a
uncommon large catche. As a matter of factor, the ratio of between undercut (9.65) and
thickness (2.54) is 3.8. However its upper limit of response surface model defined before
is 1.5. As a result the dimensions are not in the design space of the empirical model. The
predictions showed a large difference.
143
(7.5)
Figure 7.16: The web-based design page for cantilever hook sample a
Figure 7.17: The web-based design page for cantilever hook sample b
144
Figure 7.18: The web-based design page for cantilever hook sample c
7.5 Case Study Conclusions
Sample a
143 N
The Results of
Finite Element
Analysis
27.89 N
Sample b
20322 N
40.35 N
45.27N
10.87%
Sample c
143 N
42.69 N
31.46 N
26.31%
The Results of
Design Guide
The Results of
Empirical
Model
29.45 N
Difference Between
FEM Results and
Empirical Results
5.25%
once the retention angle is greater than the critical angle, the retention forces is not based
on the design equations from those design guides but on cross-section strength.
For the empirical model, if the cantilever hooks are in the design space the
predicted retention force of cantilever hooks with high retention angles are very accurate
(cantilever hook sample a and b). However if the cantilever hooks move out of the design
space, the predicted results are usually inaccurate (cantilever hook c). The same principle
also applies on other parameters such as material properties and friction coefficient.
146
CHAPTER 8
This thesis developed a web-based design tool for three different snap-fit features,
the cantilever hook, post & dome and bayonet & finger. This web-based design tool
provides an intuitive interface to help users design robust snap-fits. The users choose any
snap-fit parameters as inputs, then the design tool will calculate allowable combinations
of output based on current inputs.
Constraint management was also applied in the design tool. Its the first time that
such design techniques have been implemented in the snap-fit design area. Constraint
management allows the use of all dimensions to drive the snap-fit design process. For
example it allow users to switch parameters from inputs to outputs or vice versa. By
doing this the over-constraint phenomena was prevented. Correction advisor, sensitivity
analysis and optimization modules were also implemented into this design tool.
The performance of cantilever hooks with a high retention angle is difficult to
predicate. The first reason is its non-linear plastic material property and the second reason
is the large deformation existed in its body of cantilever hook. Other snap-fit design
resources (design guides, analytical tools and linear finite element models) predicate the
147
performance of cantilever hooks with low retention angles very accurately, however they
always have inaccurate predictions for cantilever hooks with high retention angles. The
finite element model in this thesis used the real non-linear material properties of polymer
as well as geometric large deformation.
This thesis made the following contributions to the area of designing the three
different plastic snap-fit parts - Cantilever Hook, Post & Dome and Bayonet & Finger:
1. This thesis developed a finite element model of the actual retention process using
nonlinear material properties. This is a great improvement over previous finite
element models based on linear material properties.
2. This thesis generated a second-order response surface model to predict the
performance of cantilever hook with a high retention angle. It allows designers
use this model to evaluate their snap-fit designs, instead of performing those
complicated nonlinear finite element models.
3. This thesis proposed a different two-step method to generate the response surface
model for snap-fits. The first step is a screening experiment to identify the most
significant factors and the second step is to generate a second-order response
surface model. The advantage of this method is to significantly reduce the number
of design experiments while keeping the accuracy of response surface model at
the same time.
4. This thesis used Central Composite Design to generate a response surface model
for cantilever hook with a high retention angle. The Central Composite Design
investigates the existence of curvature in the design space. This is another
148
149
Additional insight into predicting the performance of the snap-fit features can be
gotten by performing additional research into the following areas:
1. Creating a new friction model to simulate the friction of polymers with
pressure. Current friction models are not able to accurately describe the
friction of behavior of polymers.
2. Incorporating a more accurate nonlinear material model into finite element
simulations instead of a bilinear nonlinear material model.
3. Performing a deformable-to-deformable contact type finite element simulation
between cantilever hook and mating part. This should improve the accuracy of
the finite element analysis.
4. Incorporating other material properties of polymers into finite element
simulations such as temperature dependent and viscoelasticity.
5. Further fundamental study on the bifurcating phenomenon of cantilever hook
with a high retention angle (loss of engagement failure or shear failure) and
developing two corresponding different response surface models.
6. Updating the web-based design tool with more user-friendly interfaces.
150
APPENDIX A
*open_model MarcModel.mud
# Read solid Model Gemoetry #
*fill_view
*show_table
*table_remove
2
*table_add
0.1
4625
*table_fit
*material_type mechanical:isotropic
# Specify material property #
*material_option isotropic:plasticity:elastic_plastic *material_type
plasticity
*material_table plasticity:yield_stress1
StressStrain
*update_job
*submit_job 1
# Run simulation #
*post_open_default
*history_collect 0 999999999 1
# Read history #
*history_add_nodeless
Time
Force X MatingPart
# Plot retention force vs time #
*history_fit
*set_history_increment_id
50
*set_deformed on *find_solid_outline
*post_contour_bands
*post_close
*job_class mechanical
*add_post_tensor stress
*add_post_tensor strain
*add_post_tensor el_strain
*add_post_var von_mises
*save_model
*update_job
*job_submit_reset
*submit_job 1
*fill_view
*update_job
*monitor_job
151
*monitor_job
*job_submit_reset
*kill_job
*submit_job 1
*post_open MarcModel_Retention.t16
*history_collect 0 999999999 1
*history_add_nodeless
Time
Force X MatingPart
*history_fit
*set_deformed on *find_solid_outline
*post_contour_bands
*post_value Equivalent Von Mises Stress
*post_skip_to
250
*post_value Comp 11 of Stress
*quit yes
152
APPENDIX B
153
IndexSolved(i) = 0
VALS(i) = ""
Button(i) = "N/A"
Next
SensFlag = 0 'To make SensOutCnt and inCnt 0
Cantilever.WriteTemplate
Exit Sub
ElseIf action = "Switch Units" Then 'If user click the "Switch Units" button
If Request.Form("Radio") = "USUnit" Then
If Unit(1) = "KPa" Then 'to decide the previous unit
'updates the unit
Unit(1) = "psi"
Unit(2) = "in"
Unit(3) = "in"
Unit(4) = "lb"
Unit(5) = "in"
Unit(6) = "in"
Unit(11) = "lb"
Unit(13) = "lb"
'updates the unit radio
Session("RadioUnit1") = "checked"
Session("RadioUnit2") = ""
'updates the values
For i = 1 To 13
If LastTextBox(i) <> " " Then
LastTextBox(i) = Round(LastTextBox(i) * UnitTran(i))
End If
Next
Cantilever.WriteTemplate
Exit Sub
ElseIf Unit(1) = "psi" Then
'ElseIf Session("Unit1") = "psi" Then
Cantilever.WriteTemplate
Exit Sub
End If
ElseIf Request.Form("Radio") = "SIUnit" Then
If Unit(1) = "psi" Then 'to decide the previous unit
'updates the unit
Unit(1) = "KPa"
Unit(2) = "mm"
Unit(3) = "mm"
Unit(4) = "N"
Unit(5) = "mm"
Unit(6) = "mm"
Unit(11) = "N"
Unit(13) = "N"
Session("RadioUnit1") = ""
Session("RadioUnit2") = "checked"
'updates the values
For i = 1 To 13
If LastTextBox(i) <> " " Then
LastTextBox(i) = Round(LastTextBox(i) / UnitTran(i))
End If
Next
Cantilever.WriteTemplate
Exit Sub
ElseIf Unit(1) = "KPa" Then
Cantilever.WriteTemplate
Exit Sub
End If
154
End If
ElseIf action = "Solve" Or action = "" Then 'If user click "solve" or press "enter" directly
GoTo 200
Else
400
Select Case Request.Form("submit")
'If the user click one of change buttons
Case "Reset Modulus"
If IndexInput(1) = "1" Then
Index = 1
GoTo 100
Else: GoTo 20
End If
Case "Reset BeamLength"
If IndexInput(2) = "1" Then
Index = 2
GoTo 100
Else: GoTo 20
End If
Case "Reset Offset"
If IndexInput(3) = "1" Then
Index = 3
GoTo 100
Else: GoTo 20
End If
Case "Reset Normal Force"
If IndexInput(4) = "1" Then
Index = 4
GoTo 100
Else: GoTo 20
End If
Case "Reset Base Width"
If IndexInput(5) = "1" Then
Index = 5
GoTo 100
Else: GoTo 20
End If
Case "Reset Base Height"
If IndexInput(6) = "1" Then
Index = 6
GoTo 100
Else: GoTo 20
End If
Case "Reset Ins. Strain"
If IndexInput(7) = "1" Then
Index = 7
GoTo 100
Else: GoTo 20
End If
Case "Reset Fri. Coe."
If IndexInput(8) = "1" Then
Index = 8
GoTo 100
Else: GoTo 20
End If
Case "Reset Taper"
If IndexInput(9) = "1" Then
Index = 9
GoTo 100
Else: GoTo 20
End If
Case "Reset Ret. Ang."
If IndexInput(10) = "1" Then
Index = 10
GoTo 100
Else: GoTo 20
End If
Case "Reset Ret. Force"
155
100
20
Cantilever.WriteTemplate
Exit Sub
End Select
End If
200 For i = 1 To 13
TextBox(i) = Request.Form("TextBox")(i)
Next
For i = 1 To 13
If TextBox(i) <> "" Then GoTo 10 'To judge if all the textboxes are empty
Next i
Session("msg") = "You should have at least one input"
Cantilever.WriteTemplate
Exit Sub
10 i = 1
'To decide which textbox just been input
For i = 1 To maindata.numvars
If LastTextBox(i) <> TextBox(i) Then
GoTo 15
End If
Next
15 iSel = i ' Until now we know which TextBox has been just inputed
val = TextBox(i) 'we will use val to call SpreadHandler
'To see if val is in the range of minimum and maximum
If val < maindata.values.XMIN(i) Then
Session("msg") = "The value you input is too small."
LastTextBox(i) = TextBox(i)
Cantilever.WriteTemplate
Exit Sub
ElseIf val > maindata.values.XMAX(i) Then
Session("msg") = "The value you input is too big."
LastTextBox(i) = TextBox(i)
Cantilever.WriteTemplate
Exit Sub
End If
'Now we want to decide if this textbox is input or output and we will sovle it
'according to 3 different cases
If i > 13 Then
156
157
158
Next i
For i = 1 To 100 Step 1
For j = 1 To 100 Step 1
Call setSensMat(i, j, sensmat(i, j))
Next j
Next i
For i = 1 To inCnt Step 1
Call setInArr(i, Int(inArr(i)))
LSet numStr = inArr(i)
cmbText = numStr & spcStr & maindata.varnam(inArr(i))
'frmSens.cmbIn.AddItem cmbText
SenVarIn(i) = cmbText 'Give the cmbText to the Senstivity Input Variables
Next i
If (inCnt = 0 Or SensOutCnt = 0) Then
'Dim msg, Style, Title, Help, Ctxt, Response, MyString
Session("msg") = "You need to have at least one Input and one Output " & _
"variable defined to use the sensitivity analysis tool."
Cantilever.WriteTemplate
Else
'frmSens.cmbIn.ListIndex = 0
cmbInListIndex = 0
Call cmbIn_Click
'frmSens.cmbOut.ListIndex = 0
cmbOutListIndex = 0
Call cmbOut_Click
'frmSens.Show vbModal
For i = 1 To SensOutCnt Step 1
Select Case i
Case "1"
Session("Choice1") = SenVarOut(i)
Case "2"
Session("Choice2") = SenVarOut(i)
Case "3"
Session("Choice3") = SenVarOut(i)
Case "4"
Session("Choice4") = SenVarOut(i)
Case "5"
Session("Choice5") = SenVarOut(i)
End Select
Next
For i = 1 To (cnt - 1) Step 1
Select Case i
Case "1"
Session("SenVar1") = SenVarIn(i)
Session("SenVal1") = SenVal(i)
Case "2"
Session("SenVar2") = SenVarIn(i)
Session("SenVal2") = SenVal(i)
Case "3"
Session("SenVar3") = SenVarIn(i)
Session("SenVal3") = SenVal(i)
Case "4"
Session("SenVar4") = SenVarIn(i)
Session("SenVal4") = SenVal(i)
Case "5"
Session("SenVar5") = SenVarIn(i)
Session("SenVal5") = SenVal(i)
'Case "6"
' Session("SenVar6") = SenVarIn(i)
' Session("SenVal6") = SenVal(i)
End Select
159
Next
'Show the first output by default
Session("Status1") = "selected"
Session("Status2") = ""
Session("Status3") = ""
Session("Status4") = ""
Session("Status5") = ""
SensitivityAnalysis.WriteTemplate
End If
End Sub
'This subroutine is for Correction Adviosr
Private Sub Cantilever_Hyperlink8()
Dim i As Integer
Dim numOut As Integer
Dim j As Integer
'frmCorr.cmbOut.Clear
'clear the values of drawdown menu
Call ClearCorrVal
Corrcnt = 0 'Number of outputs
j = 1 'The index of CorrChoices
For i = 1 To maindata.numvars
If IndexSolved(i) = 1 Then
'frmCorr.cmbOut.AddItem i & " " & maindata.varnam(i)
CorrOutChoice(j) = maindata.varnam(i)
Corrcnt = Corrcnt + 1
j=j+1
'frmCorr.setOutArr Corrcnt, i
setOutArr Corrcnt, i
End If
Next i
Session("CorrOutStatus1") = "selected"
Session("CorrOutStatus2") = ""
Session("CorrOutStatus3") = ""
Session("CorrOutStatus4") = ""
Session("CorrOutStatus5") = ""
Session("CorrStatus1") = ""
If (Corrcnt = 0) Then
'Dim msg, Style, Title, Help, Ctxt, Response, MyString
Dim msg As String
Session("msg") = "You need to have at least one Output " & _
"variable defined to use the correction adviser."
'clear the
Call CorrAdvWriteTemplate
Exit Sub
'Style = vbOKOnly
'Title = "Sensitivity Warning" ' Define title.
'Response = MsgBox(msg, Style, Title, Help, Ctxt)
Else
'frmCorr.numOut = Corrcnt
numOut = Corrcnt
'frmCorr.cmbOut.ListIndex = 0
CorrcmbOutListIndex = 0 'Output index that choosed in drawdown menu
Call Corrcmbout_click
'frmCorr.Show vbModal
End If
Call CorrAdvWriteTemplate
160
End Sub
Private Sub Cantilever_Hyperlink9()
' This subroutine is for single objective optimization
Dim i As Integer
'Initilize the setting
SingOpMaxStatus = " checked " 'The status of max and min radio buttons
SingOPMinStatus = ""
'Make all textbox empty
SingOPTextBox1 = ""
SingOPTextBox2 = ""
SingOPTextBox3 = ""
SingOPTextBox4 = ""
SingOPTextBox5 = ""
SingOPTextBox6 = ""
SingOPTextBox7 = ""
SingOPTextBox8 = ""
SingOPTextBox9 = ""
SingOPTextBox10 = ""
SingOPTextBox11 = ""
SingOPTextBox12 = ""
SingOPTextBox13 = ""
'Set the SinMulOptFlag
SinMulOptFlag = 0
SingOp.WriteTemplate
End Sub
Private Sub Cantilever_MultOp()
'This is for Multiple Optimization
Dim i As Integer
'Set the number of objective function is 0
NumofMultObj = 0
'Initialize the minimization and maximization radio buttons
For i = 1 To 13
MultOptMinStatus(i) = " checked"
MultOptMaxStatus(i) = " "
Next i
'Initialize the default weighted values to 1
For i = 1 To 10
WeightedValue(i) = 0.1
Next i
'Set the SinMulOptFlag
SinMulOptFlag = 1
MultOp.WriteTemplate
End Sub
161
BIBLIOGRAPHY
1.
2.
3.
4.
5.
6.
7.
Shen, C., Development of Design Data for a Bayonet & Finger Snap-fit,
Department of Mechanical Engineering, The Ohio State University, Columbus,
OH, (1997).
8.
9.
10.
11.
162
12.
13.
MSC Software, MARC Volume A and Theory and User Information, Version K7,
Palo Alto, CA, (1997).
14.
15.
16.
17.
18.
Roy, C.D., Snap-Finger Design Analytics And Its Element Stiffness Matrices,
SAE Technical Paper 940369, International Congress and Exposition, (1994).
19.
20.
21.
Knapp, K.N., G.A. Gabriele, and D. Lee, Stress-strain Response of Polymers for
Predicting the Behavior of Integral Fasteners for Injection Molded Parts, Journal
of Injection Molding Technology, 1(4): p. 212-216, (1997).
22.
Trantina, G.G., and Minnichelli, M.D., The Effect of Nonlinear Material Behavior
on Snap-fit Design, Proceedings of the Society of Plastics Engineers 45th Annual
Technical Conference (ANTEC), Los Angeles, CA, (1987).
23.
163
24.
25.
26.
27.
28.
29.
Wang, C.L., Fluid Simulation on the World Wide Web: Transient Natural
Convection in a Cavity, ASME Design Engineering Technical Conferences,
(2000).
30.
31.
32.
Kim, J.H., Design for Machining over the Internet, ASME 1999 International
Design Engineering Technical Conference, (1999).
33.
34.
Rajagopaian, S., Q. Tian, and S.K. Gupta, Integrated Design and Rapid
Manufacturing over the Internet, ASME 1998 Design Engineering Technical
Conferences, (1998).
35.
36.
37.
Oh, J.S., D. Lee, and G. Gabriele, Java-based Design Calculator for Integral
Snap-fits, ASME Design Automation Conference, (1999).
38.
39.
40.
41.
42.
43.
44.
45.
J.H. Christensen and D.F. Rudd, Stucturing Design Computations, Amer. Inst.
Chem. Eng., (1969).
46.
47.
I.S. Duff and J.K Reid, On Algorithms for Obtaining a Matrimum Transversal,
ACM Trans. Math. Soft, (1981).
48.
49.
A.K. Parasad and G. Kinzel, A Case Selection Routine for Interactive Design
Programs, Proc. Computers in Engineering, (1986).
50.
51.
A. Pothen and C. Fan, Computing the Block Triangular Form of a Sparse Matrix,
ACM Trans. Math. Soft, (1990).
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
Rizzo, A.R., Quality Engineering with FEA and DOE, Mechanical Engineering,
1: p. 76-78, (1994).
64.
65.
66.
Yate, F., The Design And Analysis Of Factorial Experiments, London: Imperial
Bureau of Soil Science, (1937).
166