Professional Documents
Culture Documents
SAE TECHNICAL
PAPER SERIES 980387
400 Commonwealth Drive, Warrendale, PA 15096-0001 U.S.A. Tel: (724) 776-4841 Fax: (724) 776-5760
Downloaded from SAE International by Univ of Nottingham - Kings Meadow Campus, Friday, August 10, 2018
The appearance of this ISSN code at the bottom of this page indicates SAE’s consent that copies of the
paper may be made for personal or internal use of specific clients. This consent is given on the condition,
however, that the copier pay a $7.00 per article copy fee through the Copyright Clearance Center, Inc.
Operations Center, 222 Rosewood Drive, Danvers, MA 01923 for copying beyond that permitted by Sec-
tions 107 or 108 of the U.S. Copyright Law. This consent does not extend to other kinds of copying such as
copying for general distribution, for advertising or promotional purposes, for creating new collective works,
or for resale.
SAE routinely stocks printed papers for a period of three years following date of publication. Direct your
orders to SAE Customer Sales and Satisfaction Department.
Quantity reprint rates can be obtained from the Customer Sales and Satisfaction Department.
To request permission to reprint a technical paper or permission to use copyrighted SAE publications in
other works, contact the SAE Publications Group.
No part of this publication may be reproduced in any form, in an electronic retrieval system or otherwise, without the prior written
permission of the publisher.
ISSN 0148-7191
Copyright 1998 Society of Automotive Engineers, Inc.
Positions and opinions advanced in this paper are those of the author(s) and not necessarily those of SAE. The author is solely
responsible for the content of the paper. A process is available by which discussions will be printed with the paper if it is published in
SAE Transactions. For permission to publish this paper in full or in part, contact the SAE Publications Group.
Persons wishing to submit papers to be considered for presentation or publication through SAE should send the manuscript or a 300
word abstract of a proposed manuscript to: Secretary, Engineering Meetings Board, SAE.
Printed in USA
Downloaded from SAE International by Univ of Nottingham - Kings Meadow Campus, Friday, August 10, 2018
980387
1
Downloaded from SAE International by Univ of Nottingham - Kings Meadow Campus, Friday, August 10, 2018
NEURAL NETWORK APPROACH – Neural Networks Algorithm – The proposed Neural Network model
demonstrate a surprising capability for a very broad employs a back-error propagation algorithm which is the
spectrum of applications, including image classifications, most widely used algorithm to train a neural network in a
information encoding and many other pattern-analysis supervised manner [24]. A back propagation network
problems. This methodology can attack any problem that has the following characteristics:
requires pattern mapping. Given an input pattern, the
• The network contains one or more layers of hidden
network produces an associated output pattern.
neurons. The input signal propagates in a forward
Instead of forcing the data into an equation through a
direction. These hidden neurons enable the network
regression, the network is left to learn through a series of
to learn complex tasks by extracting more features
training examples (input-output patterns). Through this
from the input patterns.
learning process, the network adjusts its internal parame-
ters (weights) gradually. Neural Networks may perform • Each neuron, thus the network, is non-linear. This
nonlinear interpolations primarily because the continuous non-linearity has to be differentiable everywhere. A
nonlinear activation functions of the neurons lead to out- commonly used non-linear activation function is the
put functions that are also continuous. For this reason, sigmoid function, defined as:
neural networks are proposed as a new approach for 1
porosity prediction. y= (Eq. 1)
1 + e− z
2
Downloaded from SAE International by Univ of Nottingham - Kings Meadow Campus, Friday, August 10, 2018
The application of the back-propagation algorithm Figure 2 shows a flow chart for the back-propagation
involves two passes of computation. The forward and training algorithm.
backward pass. In the forward pass, an input pattern is
presented to the network. Figure 1 illustrated the for- Architecture – When utilizing a Neural Network for pat-
ward-propagation computation. The input values of unit j tern mapping, generally, there are two different possible
are summed with their corresponding weights in the fol- approaches:
lowing manner:
1. The networks architecture is fixed, and the size of the
Z j = ∑ X iWji
training set has to be determined in order to produce
(Eq. 2) proper generalization.
i
2. The training set is fixed, and the networks architec-
where X i is the output of unit , and Wji is the weight ture is to be determined to produce satisfactory gen-
from unit i to unit j . After the incoming sum is com- eralization.
puted, unit j applies a function f, a sigmoid curve in this
case, where: Since prior knowledge of a networks architecture for a
given problem is rarely known, the former approach is the
1 most common. Back-propagation requires a training set
X j = f (Z j ) = −Z (Eq. 3) and a test set. Both sets most be taken independently at
1+ e j random, from real or simulated data [19]. The training
The resulting value becomes the output of unit j , and is data has to be normalized to a range between 0.1 and
sent along all of the output interconnections of unit j . In 0.9. This normalization is required for the weight
the input layer, the neurons do not compute a weighted changes to be in the same order of magnitude throughout
sum. Each input unit assumes the corresponding value the network.
from the input pattern. The general criteria to select a Neural network architec-
In the backward pass, the error values of all neurons and ture for any problem is to find the smallest number of hid-
weight changes are calculated. Calculations begin in the den layers and hidden neurons that yield a performance
output layer and progress backward through the network “close” to the results obtained though experiments.
to the input layer. Thus, for the problem in hand, the architecture with one
hidden layer and a different number of hidden units was
The error value denoted as is computed in the follow- tested. The number of hidden units that took the least
ing manner: number of epochs to reach a predetermined level of
• For output layer neurons: mean square error is selected to be the network architec-
ture. Three to nine hidden units were tested. It was
j = (Tj − X j ) f '( Z j ) (Eq. 4) found that for seven hidden units, a mean squared error
of 0.1 is reached in the least number of epochs. From
where Tj is target value of unit j , X j is output this result, seven hidden units and one hidden layer were
value of unit j , f '( Z j ) is derivative of function f, selected as the networks architecture [24]. The pro-
( Z j is weighted sum of inputs to neuron j . posed neural network for porosity prediction is shown in
• For hidden layer neurons: Figure 3.
∆Wji = j Xi (Eq. 6) Xn
where ∆Wji is weight change of weight Wji , j is error Figure 1. Forward propagation computation
value of unit j , X i is output value of unit i , and is
the learning rate.
3
Downloaded from SAE International by Univ of Nottingham - Kings Meadow Campus, Friday, August 10, 2018
r=0
1
X j = f (Z j ) = −Z
1+ e j
j = ( Tj − Yj ) f ' ( Z j )
*For hidden layers
j = ∑ kWkj f ' ( Z j )
k
W ji ( t ) = W ji ( t − 1) + ∆W ji ( t )
J <Minimum
Network
acceptable
r≥ p r=r+1 value
Trained
4
Downloaded from SAE International by Univ of Nottingham - Kings Meadow Campus, Friday, August 10, 2018
MATHEMATICAL MODELING APPROACH – The math- To model grain nucleation, an instantaneous nuclezation
ematical model to predict microporosity evolution during model where all the nuclei are formed at a specified
solidification was first proposed by Kubo and Pehlke in undercooling temperature is used. The grain density at a
1984 [15]. The governing equations for microporosity given location is determined empirically and can be cor-
evolution in our model follow the work of Kubo and Pehlke related with the cooling rate [29]. During the initial time
closely. However, by combining the mathematical model step of the micro model, the program randomly selects
with probabilistic grain structure evolution method, the the grain nucleation sites (cells) in every element.
approach is able to predict the location, size and volume
In subsequent time steps, equiaxed grain growth is simu-
fraction of porosity more realistically. A comprehensive
lated, i.e. a grain nucleus will grow to its four nearest
description of the basic equations can be found else-
neighbors at the same rate. For each time step, the num-
where [26]. Briefly, in the program, gas and shrinkage
ber of cells in each element that changes their states
pressures are calculated, If gas pressure is larger than
from liquid to solid is determined by how fast the heat is
the total external pressure, the hydrogen atoms are
removed from the element (or the increase of solid frac-
assumed to nucleate at preferred (low energy) sites, such
tion) calculated by the macro casting process simulation
as inclusions and the base of secondary dendrite arms.
model. Physically speaking, these nucleation and growth
The external pressure includes ambient pressure, metal-
laws are valid only for equiaxed grains where the nucle-
lostatic head, shrinkage pressure and liquid-gas surface
ation and growth of the grains occurs randomly.
tension.
For simplification, the following assumptions are made
Calculation Procedure – The probabilistic model to simu- during calculation:
late dendrite growth uses the cellular automation (CA)
• The dendrite structure of the casting is equiaxed.
technique [25]. In a cellular automation model, the space
domain is divided into uniform cells and each cell is char- • Hydrogen that is dissolved in the melt can not escape
acterized by different variables, i.e. temperature and through the mold. This is usually true for permanent
states, liquid, solid or voids. The rules of transaction, i.e. mold casting.
liquid to solid, of a given cell during one time step are • Hydrogen is homogeneously distributed in the entire
defined according to the variables of the neighboring casting.
cells. A number of researchers [27-30], such as Rappaz • The hydrogen solubility limit does not change due to
and Gandin [28], have coupled this technique with a segregation during solidification.
macro scale heat transfer model to predict grain structure
• Gas pore growth rate is relatively slow compared to
evolution successfully. In our model, a 2-D grid is gener-
the solidification process. Gas pore does not move
ated for a given slice of the casting where porosity predic-
once it is formed (no transport in the liquid).
tion is of interest. Each element of the macro model is
mapped to a much finer grid, the cell. The cell size
should be smaller than that of the secondary dendrite
EXPERIMENTAL PROCEDURE
arm spacing because pores usually nucleated between
Figure 5 is a schematic of the experimental setup. The
secondary dendrite arms [15].
plate-like castings of Al A356 alloy were made by a per-
The randomness of our probabilistic model lies in the manent mold, gravity casting process. The molds were
selection of solid cells, pore nucleation locations and made of steel with dimensions of 82 mm x 275 mm x 285
pore growth direction. Formation and growth of pores are mm. The castings dimensions are 7 mm x 50 mm x 150
governed by the mathematical model. The observation mm. Alloy A356 was chosen because it is one of the
that gas pores are usually nucleated near the dendrite most widely used alloys in industry. Some sections of the
tips are taken into account [15-17]. The effect of grain castings were designed to have different thickness to
refiners and grain modifiers on porosity formation is not investigate the effects of geometry on the formation of
considered at present. porosity.
The flow chart for the model is shown in Figure 4. The Twelve thermocouples (type K) were installed along the
macro-model to simulate molten metal filling and solidifi- vertical axis of mold cavity at a distance of 2 mm and 8
cation is first solved with established casting process mm below pin surface. There were six cooling pipes on
simulation programs [31-35]. During the solidification each side of the die cooled by naturally convecting air.
process, the temperature and solid fraction distributions The melt was heated and kept at approximately 695 oC
are calculated and recorded. These simulation results and the mold was not preheated. The initial temperature
are coupled with the proposed micro-model to predict of the mold was approximately 33 °C.
porosity evolution.
5
Downloaded from SAE International by Univ of Nottingham - Kings Meadow Campus, Friday, August 10, 2018
temperature distribution
calculation
No
grain nucleated? grain nucleation
grain growth
can grow? No
reset cell as liquid
(Pg>P+Psurf)
No
end of solidification?
END
MAPD =
∑ Y −Y i
*
i
(Eq. 8)
∑Y i
*
*
Where Yi is the target value, in this case is the percent
porosity obtained through precision density measure-
ments; Yi is the predicted value and i denotes the pat-
tern number from the training set. In table I, the
calculations of the MAPD associated with each of these
predictions are presented.
6
Downloaded from SAE International by Univ of Nottingham - Kings Meadow Campus, Friday, August 10, 2018
compared to the existing criteria functions. The results Simulation of porosity distribution – Figure 7 shows the
obtained from the proposed neural network have the low- calculated distribution of porosity for the entire casting.
est MAPD (25.07%) when compared with the rest of the The black dots in the figure represent microporosity. It is
criteria functions. shown that there are more pores on top of the casting
and the pores are larger in size when compared to the
MATHEMATICAL MODELING – The casting made in bottom of the casting. Figure 8 is the optical image of
cycle 10 (see Fig. 6) was chosen as a sample for analy- specimen C at magnification of 15X. By comparing the
sis and testing the proposed porosity prediction model. predicted porosity distribution for specimen C (Fig. 7) and
The initial hydrogen content in the melt for this casting the optical image (Fig. 8), the simulation result seems to
was 0.203 ml/100g. After the macroscopic problem is agree with the trend that is demonstrated in the optical
solved, the results from one slice of the test piece casting images.
are coupled with the proposed 2-D program.
7
Downloaded from SAE International by Univ of Nottingham - Kings Meadow Campus, Friday, August 10, 2018
(a) Optical image of specimen A (50X). (a) Optical image of specimen C (50X).
(b) Simulated microstructure and porosity of (b) Simulated microstructure and porosity of
specimen A. specimen C.
CONCLUSIONS
Table 2. Comparison of calculated and experimental Two alternative methods to quantitatively predict
area fraction of porosity. microporosity have been proposed. In the first approach,
Specimen %P (image analysis) %P (calculated) a neural network model has been developed for porosity
prediction in Al alloy A356. Initial hydrogen content in the
A 2.71 2.74
melt, thermal gradient, cooling rate and local solidifica-
C 3.53 2.87 tion time are used as casting process parameters
(inputs) to predict pore volume fraction (output).
Simulation of porosity and microstructure – Figures 9a
The predictions of the proposed Neural Network are in
and 10a are the optical images of specimen A and C at
good agreement with the experimental results (MAPD =
magnification of 50X. Figures 9b and 10b are the simu-
25%). It has also been demonstrated, that the use of
lated microstructure and porosity of these specimens of
Neural Networks predict the occurrence of porosity with
the same magnification. The black spots represent
better confidence than the existing thermal parameter-
pores. Table 2 shows the calculated and observed aver-
based criteria functions. Additional experiments are nec-
age area pore fractions.
essary to demonstrate the suitability of this approach for
other materials and processes.
8
Downloaded from SAE International by Univ of Nottingham - Kings Meadow Campus, Friday, August 10, 2018
In the second approach, a two dimensional model that 12. R.P. Taylor and J.B. Berry, “Parallel Derivation and Compar-
integrates the mathematical model of porosity prediction ison of Feeding-Resistance Porosity Criteria Functions for
Castings”, Proc. ASME 31th Natl. Heat Tansfer Conf, 1996,
with probabilistic model of grain nucleation and growth is
pp69-77.
examined. This model is able to predict microporosity not 13. J.T. Berry, R. P. Taylor and R. Overfelt, “The Place of Pro-
only in terms of the amount, but also the possible size cess Modeling in Non-ferrous Casting Practice”, 1st Int.
and location. The preliminary examination of the model Non-ferrous Proc. And Tech. Conf. March 1997.
shows promising results, however, further work is needed 14. J.A. Spittle, S. G. R. Brown and J. G. Sullivan, “Application
of Criteria Functions to the Prediction of Microporosity Lev-
to refine and validate the model. Because the modeling
els in Castings”, 4th Decennial Intl. Conf. On Solidification
method can give some insight on defect size and shape, Proc., Sheffield, July 1997.
it is concluded that the mathematical model for porosity 15. K. Kubo and R. Phelke, ``Mathematical Modeling of Poros-
prediction has more long term promise than Neural Net- ity Formation in Solidification'', Met. Transactions B, 16B,
works. June 1985, pp359-366.
16. Q.T. Fang and D.A. Granger, ``Porosity Formation in Modi-
fied and Unmodified A356 Alloy Castings'', AFS Transac-
ACKNOWLEDGMENTS tions, 97, 1989, pp989-1000.
17. J.D. Zhu and I. Ohnaka, ``Computer Simulation of Interden-
This work was supported by the Program for Integrated dritic Porosity in Aluminum Alloy Ingots and Casting'', Mod-
Design, NDE and Manufacturing Sciences under U. S. eling of Casting, Welding and Solidification Processes, V,
1991, pp. 435-442.
Department of Commerce, National Institute of Stan- 18. S. Shivkumar, D. Apelian, J. Zou, ``Modeling of Microstruc-
dards and Technology Cooperative Agreement No. ture Evolution and Microporosity Formation in Cast Alumi-
70NANB4H1535 together with support of the National num Alloys'', AFS Transactions, 98, 1990, pp897-904.
Science Foundation through contract number DMI- 19. D.R. Poirier, K. Yeum and A.L. Maples, ``A Thermodynam-
9614076. Additionally, the authors would like to thank ics Prediction for Microporosity Formation in Aluminum-
Rich Al-Cu Alloys'', Met. Transaction A, 18A, 1987, pp1979-
Prof. John T. Berry and Anne Sculthorpe at Mississippi 1987.
State University for the excellent work of preparing the 20. K. Tynelius, J.F. Major, D. Apelian, ``A Parametric Study of
optical images and analysis. Microporosity in the A356 Casting Alloy System'', AFS
Transactions, 1993, pp401-413.
REFERENCES 21. H. Huang, J.T. Berry, ``Evaluation of Criteria Functions to
MinimizE Microporosity Formation in Long-Freezing Range
Alloys'', AFS Transactions, 1993, pp669-675.
1. J.T. Berry, "Linking Solidification Conditions and Mechani- 22. V. Laurent, C. Rigaut, ``Experimental and Numerical Study
cal Behavior in Aluminum Castings--A Quarter Century of of Criteria Functions for Predicting Microporosity in Cast
Evolving Evidence," AFS Transactions, 103, 1995, 837- Aluminum Alloys'', AFS Transactions, 100, 1992, pp647-
847. 656.
2. M.W. Ozelton, S.J. Mocarski and P.G. Porter, “Durability 23. J. Huang, Study of Criteria Function for Porosity Prediction
and Damage Tolerance of Aluminum Castings”, Wright in A 356 Casting, Master Thesis, Mechanical Engineering,
Laboratory Final Technical Report, #WL-TR-91-4111, Northwestern University, Dec. 1995.
(1991). 24. P. Callau, Study of Neural Networks for Porosity Prediction
3. J.G. Conley, B. Moran and J. Gray, “A New Paradigm for the in Al A356 Casting, Master thesis, Mechanical Engineer-
Design of Safety Critical Castings”, SAE publications ing, Northwestern University, June 1997.
#980455. 25. H.W. Hesselbarth and I.R. Gobel, Acta. Metallurgica. 39,
4. M. Flemings, Solidification Processing, McGraw-Hill, 1974. (1991), 2135.
5. A.M. Samuel and F.H. Samuel, “Review Various Aspects 26. J. Huang and J.G. Conley, “Modeling of Microporosity Evo-
Involved in the Production of Low-Hydrogen Aluminum lution During Solidification Processes”, to be published in
castings”, Journal of Materials Science, 27, (1992), 6533- Proceedings of Annual Review of Progress in QNDE, San
6563. Diego, 1997, published by Iowa State University Center for
6. T.S. Piwonka and M.C. Flemings, “Pore Formation in Solid- Non-Destructive Evaluation.
ification”, TMS-AIME Transactions, vol 236, 1966, pp1157- 27. J.L. Spittle and S.G.R. Brown, ``Computer Simulation of
1165. the Effects of Alloy Variables on the Grain Structures of
7. E. Niyama, T. Uchida, M. Morikawa and S. Saito, ``A Castings'', Acta Metallurgica, 37, 1989, pp1803-1810.
Method of Shrinkage Prediction and Its Application to Steel 28. M. Rappaz, Ch-A. Gandin, ``Probabilistic Modelling of
Casting Practice'', 49th International Foundry Congress, Microstructure Formation in Solidification Process'', Acta
1982. Metallurgica, 41, 1993, pp345-360.
8. Y.W. Lee, E. Chang and C.F. Chieu, “Modeling of Feeding 29. G.K. Upadhya, K.O. Yu, M.A. Layton, and A.J. Paul, ``Prob-
Behavior of Solidifying Al-7Si-0.3Mg Alloy Plate Casting”, abilistic Modeling of Solidification Grain Structure in Invest-
Met. Transactions B 21B, Aug. 1990, pp715-722. ment Castings'', Modeling of Casting, Welding and
9. H. Iwahori, K. Yonekura, Y. Sugiyama, Y. Yamamoto and M. Solidification Processes, VII, 1995, pp. 517-523.
Nakamura, ``Behavior of Shrinkage Defects and Limiting 30. J.Y. Ahn, K. Y. Lee, S. M. Lee and C. P. Hing, “Modeling of
Solid Fraction of Feeding on Al-Si Alloys'', Comm. AFS Microstructure Formation of Al-Cu Crystalline Ribbons in
Transactions, 71, 1985, 443. Planar Flow Casting”, Modeling of Casting, Welding and
10. V.K. Suri, A.J. Paul, N. El-Kaddah, and J.T. Berry, “Predic- Solidification Processes, VII, 1995, pp. 687-694.
tion of Microporosity in Castings: A Generalized Criterion”, 31. C.W. Hirt, B.D. Nichols, Romero, ``SOLA-A Numerical
AFS Transactions, 102, 1994, Paper 94-138. Algorithm for Transient Fluid Flows'', Los Alamos Scientific
11. R.A. Overfelt, R.P. Taylor and J.T. Berry, “Dispersed Poros- Report LA-5852, 1975.
ity in Long Freezing Range Aerospace Alloys”, 4th Decen- 32. C.W. Hirt, “A FLOW-3D Study of the Importance of Fluid
nial Intl. Conf. On Solidification Proc., Sheffield, July 1997. Momentum in Mold Filling”, Numerical Sim. Of Casting
Solidification in Auto. Applications, TMS, 1991, pp173-188.
9
Downloaded from SAE International by Univ of Nottingham - Kings Meadow Campus, Friday, August 10, 2018
10