You are on page 1of 6

MODELLING OF POROSITY DEFECTS IN HIGH PRESSURE DIE

CASTING WITH A NEURAL NETWORK

M. Imad Khan1, Yakov Frayman2 and Saeid Nahavandi 3


CRC for Cast Metals Manufacturing (CAST), Deakin University, Victoria 3217, Australia
School of Engineering and Technology, Deakin University, Victoria 3217, Australia
E-mail: mik1 , yfraym2, nahavand3@deakin.edu.au

Abstract: High Pressure Die Casting (HPDC) is a complex process that results in casting defects if configured
improperly. However, finding out the optimal configuration is a non-trivial task as eliminating one of the casting
defects (for example, porosity) can result in occurrence of other casting defects. The industry generally tries to
eliminate the defects by trial and error which is an expensive and error -prone process. This paper aims to
improve current modelling and understanding of defects formation in HPDC machines. We have conducted
conventional die casting tests with a neural network model of HPDC machine and compared the obtained results
with the current understanding of formation of porosity. While most of our findings correspond well to
established knowledge in the field, some of our findings are in conflict with the previous studies of die casting.
Keywords: Artificial Neural Network, High Pressure Die Casting, Porosity.

1. Introduction a change over position and the velocity is decreases


at the end when nearly all the liquid metal is
High Pressure Die Casting Machine (HPDC) is a injected into the die. The metal is then injected
complex industrial system. through gate and runner system at a high velocity
and pressure. The die is then opened and the
solidified part is extracted out by a robotic arm. The
die is lubricated with typically a liquid lubricant
although there are some powder lubricants available
as well. The role of a lubricant is to ease the
extraction of casting and to avoid soldering of the
metal with the die surface.

The extracted casting is then cooled down with


water and is placed on a conveyer belt for a further
treatment, or otherwise stored on a rack for later
quality control tests. The die casting process is a
complex process consisting of over one hundred
and fifty process parameters. The complexity of the
process results in many problems like blistering,
and porosity. However, the porosity is by far the
most highly occurring defect in automobile engine
castings [1].

2. Porosity
Porosity is the formation of voids inside the
castings either through the entrapment of gas or
Figure 1: A diagram of a die casting machine. improper pressure configuration in HPDC
machines. Porosity is one of the most difficult
In a typical die casting machine (Fig. 1) the molten defects to eliminate in die casting. The industry
metal is poured in the shot sleeve through a ladle. sometimes has to settle to move porosity to a
After the die is closed, a movement of a plunger different location in a casting rather than to remove
(piston) forces the metal through the die resulting in it completely. It is in the best interest of industry
that the moveable part coincides with the fixed part. and the consumer of die casting (for example, car
Some die casting machines allow for this plunger manufacturers) that porosity is eliminated
movement to be completed in four stages [9], completely from the castings, but this is not always
however, typically it is done in two stages only. possible to do with the current level of process
The plunger starts initially with a low velocity, then understanding. In addition, attempts to eliminate
the velocity increases during the piston’s motion at

1
porosity defects can affect other process settings
and result in other casting defects.

The porosity can be dived int o three major types,


which are:

• gas porosity;
• shrinkage porosity, and;
• flow porosity.

In HPDC, the first two types of porosity are mostly


encountered.

The gas porosity (Fig. 2) is the porosity in casting


due to the presence of gas. This type can arise from:

• gas produced during process;


• entrapped air, and;
• melt composition.
Figure 3: Interconnected shrinkage porosity.
The shrinkage porosity (Fig. 3) is due to shrinking
of metal, so that the metal loses volume and hence
more metal is required to fill the gaps (voids) Formation of porosity in die castings is a
produced. In high pressure die casting, it is hoped combination of process parameters, melt
that this problem can be minimized with the composition, and solidification properties under
application of pressure to fill the voids when metal high pressure.
is in the solidification state.
We will discuss process related porosity formation
mechanisms in detail which covers solidification
and gas related (entrapped) formation. Melt related
porosity formation is not discussed in detail
primarily because hydrogen entrapment in HPDC is
not a big problem. Hydrogen can be considered
seriously if the scrap is remelted which we assume
is not the case.

The specific reason for porosity formation is


undesirable states of shot sleeve, cavity, vent and
gates, runners, solidification pressure, lubricant
quantity and steam formation from water during the
process.

Shot sleeve related parameters are perhaps the most


sensitive one when it comes to entrapped air
porosity. The parameters like acceleration, stage
velocities, diameter, or even deceleration are all
shot related parameters determining the formation
of metal wave patterns which can be a crucial factor
in deciding whether air becomes entrapped.

As soon as the metal is ladled, the goal is to begin


injection as soon as possible but still at the right
time in the case of a cold chamber die casting
machine. It should begin soon because the metal
starts to solidify in the shot sleeve and if metal with
solid particles is injected into the die, the high
velocities can cause die wear and may contribute to
die erosion and t o a deteriorated quality of the
castings. It is not recommended to inject metal
Figure 2: Gas porosity with medium ( top figure ) immediately because it can destroy the wave
and large sized pores (bottom figure). pattern and can entrap air in different forms. Hence

2
shot command delay is the first process parameter If the biscuit is too small it can solidify first or even
to be selected carefully. Another process parameter metal in shot sleeve can solidify which can take the
to be optimized is the first stage velocity. If it is too pressure off from cavity. If the biscuit size is wrong
low or too high, it can contribute to wrong wave then the pressure applied at the tip of plunger
formation. It is further explained with the help of a cannot reach the desired intensification pressure
Fig. 4. meant to remove porosity.

The wave forms if slow shot velocity (1st stage The process is needed to be modelled and be
velocity) is too slow in the Fig. 4. The wave gets on understood well to reduce defect appearances in the
top of the air and the air is injected into the cavity. castings. Thus the aim of this work is to enhance
our understanding of por osity formation in die
castings.

3. Methodology
Computational intelligence techniques that include
artificial neural networks, genetic algorithms,
simulated annealing and fuzzy logic have shown a
promise in many areas including industrial
engineering where the use of neural networks [6, 7,
13], genetic algorithms [7] and fuzzy logic [3] is
quite prom inent.

The capability of Artificial Neural Networks


(ANNs) to learn complex relationships well has
made them a popular methodology for
understanding the behaviour of complex systems
like robot guidance [10], job shop scheduling [7]
Figure 4: Entrapped air below the metal wave. and die casting [6, 8, 13]. Computationally, ANNs
in their most common form of a multilayer
The air in cavity can be entrapped due to the perceptron (MLP) are distributed parallel
problems in runners or ventilation. The vents processing systems capable of a fault tolerance and
should be big enough to let the air escape and be efficient learning and are robust to noise and
located near the last spot to solidify. The runner disturbances. They are connectionist structures
should not have sharp corners in general. If the composed of nodes called neurons and arcs
vents are working properly the air entrapped can connecting the neurons with weights associated
escape to a sufficient extent. with the arcs. Weights are adaptable and they are
the main learning parameters of the network. The
One of the main purposes of application of high network learns typically by using a back-
pressure in die casting is to minimize shrinkage. In propagation learning algorithm [11] which updates
HPDC, no extra met al is generally provided to the weights. The network has generally three types
reduce shrinkage porosity which is a result of of layers called input, output and hidden layers. The
volumetric contraction. information is presented in a pre-processed or raw
format into the input layer of the network and the
Many die casters still find shrinkage related predictions are obtained at the output layer of the
porosity despite of applying enough pressure. network.
Research in the area suggested that the pressure
applied can be different than the actual pressure Mathematically, a MLP can be seen as either:
developed inside cavity. It happens because of
i =n
insufficient biscuit size or too big a size and j =m
unexpected solidification. Our neural network y j = Φ ( ∑ xi wij ) ,
model has learned that the pressure which develops i =1
in the cavity is a decisive factor as shown in our j =1
results section later.
where,
The extreme temperature and presence of water at
die surface can produce porosity due to steam. Φ is a sigmoid function like
Water can accumulate on die from sprayer and 1
leaking water cooling lines. f ( x) = ,
1 + exp ( − x)

3
y j is the jth neuron in the curren t layer,
1st stage
xi is the feed-in from the previous layer, and velocity
2nd stage
velocity

A
wij are the weights connecting the two layers, Changeover
position

C
or it can also be represented in the matrix form as: Intensity of
tip pressure

E
 y1   w11 w12 . . . w1m   x1  Cavity
y   . . . . w2 m  x  pressure

F
 2  .  2 Squeeze tip
 .   . . . . . .   . pressure
 =Φ     Squeeze
 .   . . . . . .   . cavity
 .   . . . . . .   . pressure
      Biscuit
 y n  wm1 . . . . wmn   xn 
Figure 5: The neural network model used in this
The MLP adjust the weight matrix during the work to predict porosity at different physical
learning and is able to generalize for the data that it
locations in a 95mm AY2 Die Casting.
hasn’t seen during the learning. Please note that
sigmoid function Φ is applied to each individual
element of the matrix after multiplication. 5. Results
An MLP were selected for this work as the aim of After modelling of die casting process with an MLP
the current research is an understanding and to a sufficient degree of accuracy, we conducted
modelling of the casting defects in terms of conventional die casting tests by varying one of the
machine parameters. process parameters and keeping the others constant .
This was done with a simulated process rather than
on actual die casting machine as the
4. Experimental setup experimentation on a die casting machine could
result a considerable waste of resources in terms of
We have used MLP to model location and quantity metal, manpower and energy and incurs a
of porosity in a high pressure die casting. The data significant cost. Fig. 6 shows a relationship
used to train the network consisted of process between the quantity measures of porosity and the
parameters related to porosity and location and logarithm of slow stage velocity. The slow velocity-
quantity measures of porosity in the castings. The porosity curve show that the obtained results are in
process parameters included 1st stage velocity, 2nd agreement to what has been obtained by [4],
stage velocity, change-over position, intensification modeled mathematically in [5] and as suggested by
of tip pressure, cavity pressure, squeeze tip [12]. The neural network model of porosity show
pressure, squeeze cavity pressure and biscuit that the porosity decreases sharply with increas e in
thickness. The quality measures were X-Ray 1st stage velocity (slow speed velocity) and then the
quality grades at four different locations used to curve’s sharpness decreases as the velocity
represent porosity defects. The network was train ed approaches Garber’s critical velocity. It could be
using back-propagation algorithm [11]. The output noticed that the network is generalizing well here
of the network was the quality measures at four and is able to model the correct porosity behavior.
different locations named A, C, E and F. These
quality measures are X-Ray grades ranging from It is noticeable for all the results that the level of
one to four with one representing minimum level of porosity is constant on a minimum level for
porosity at the designated location and four as the location C and F at the casting. The data was
worse. An occurrence of porosity level of four on collected from a machine which was producing
any of the four locations of die casting results in a castings with the requirement to move porosity
product being rejected. For accuracy and away from locations A, C, E and F. It seems that
knowledge extraction reasons we have treated the the operation was successful to keep porosity away
porosity as a function approximation problem. from locations C and F.

The MLP that we have used to model die casting


machine behaviour and to predict porosity defects
is shown in Fig. 5.

4
Network Output(s) for Varied Input Average slow speed Network Output(s) for Varied Input Maximum
vel. Intensification of Tip pressure

3.5 3.5
3 3

2.5 A 2.5 A
Output(s)

Output(s)
2 C 2 C
1.5 E 1.5 E

1 F 1 F

0.5 0.5
0 0
-0.638 -0.635 -0.632 -0.630 -0.627 -0.624 -0.622 -0.619 -0.616 -0.614 -0.611 -0.608 1.646 1.662 1.678 1.694 1.709 1.725 1.741 1.757 1.772 1.788 1.804 1.820

Varied Input Average slow speed vel. Varied Input Maximum Intensification of Tip pressure

Figure 6: Relationship between the level of Figure 8: Relationship between the level of
porosity and the logarithm of slow stage velocity porosity and the logarithm of intensification of
(also known as 1st stage velocity). tip pressure.

Network Output(s) for Varied Input Average high speed Network Output(s) for Varied Input Maximum cav A
vel. Intensification pressure

4 3.5
3.5 3
3 2.5
A A
2.5
Output(s)

Output(s)

C 2 C
2
E 1.5 E
1.5
F 1 F
1
0.5 0.5
0 0
0.181 0.198 0.216 0.234 0.252 0.269 0.287 0.305 0.322 0.340 0.358 0.375 1.563 1.576 1.589 1.603 1.616 1.629 1.643 1.656 1.669 1.682 1.696 1.709

Varied Input Average high speed vel. Varied Input Maximum cav A Intensification pressure

Figure 7: Relationship between the level of Figure 9: Relationship between the level of
porosity and the logarithm of high stage velocity porosity and the logarithm of maximum cavity
(also known as 2nd stage velocity). “A” pressure. Note that the machine used to
collect data was a multi cavity machine. Similar
The average high speed velocity, also known as results were obtained for the other die cavity.
second stage velocity (Fig. 7) has a purpose to meet
the resistance offered by gate and runner system The Fig. 8 should be seen in tandem with the Fig. 9
and to inject the metal immediately as it reaches the - the maximum cavity. “A” pressure in Fig. 9 is low
end of shot sleeve. The critical high speed velocity in magnitude comparing to the intensification of tip
is found to be with in the range of sensitivity pressure in Fig. 8. In fact, part of the tip pressure is
analysis and it can be calculated as follows from the transferred to the cavity. Please note the die under
graph. consideration is a multi cavity die, hence we are
referring it as “Cavity A”. The neural network is
Critical 2nd stage shot velocity is ALog(0.375)= able to learn that it is this factor which has the real
2.371 m/s, where ALog (.) is the Antilog to the base effect on porosity and show a decreasing trend in
10. porosity level as the pressure inside cavity
increases.
This observation is interesting in the sense that it
shows clearly the ability of the neural network to
model die casting process well along with the next
observation .

5
Porosity”, 15th International Die Casting
Network Output(s) for Varied Input Biscuit thickness Congress and Exposition, St. Louis, MO.
October 1989.
3 [2] Asquith, B. M., “The Use of Process
2.5
Monitoring to Minimize Scrap in the Die
Casting Process”, NADCA Transactions , T97-
2 A 063, 1997.
Output(s)

C [3] Elkan, C ., “The Paradoxical Success of Fuzzy


1.5
E Logic”, Proceedings of the Eleventh National
1 F Conference on Artificial Intelligence, AAAI
Press, pp. 698—703 , 1993.
0.5
[4] Garber, L. W ., “Filling of Cold Chamber
0 during Slow-Shot Travel ”, Die Casting
1.516 1.535 1.554 1.572 1.591 1.610 1.629 1.647 1.666 1.685 1.704 1.723 Engineer, July -August 36-38 1981.
Varied Input Biscuit thickness [5] Garber, L. W., “Theoretical Analysis and
Experimental Observation of Air Entrapment
during Cold Chamber Filling”, Die Casting
Engineer, May-June, 14-22, 1982.
Figure 10: Relationship between the level of
porosity and the logarithm of a biscuit size. [6] Huang J., Callau P. and Conley J.G., “A Study
of Neural Networks for Porosity Prediction in
The results shown in Fig. 10 are interesting in the Aluminium Alloy A356 Castings”, in B.G.
sense that they are conflicting to that available in Thomas and C. Beckermann, (Eds), Modelling
the literature [2]. We can see a slight increase in of Casting, Welding, and Solidification
porosity at the location E (in conflict to the Processes, VIII, TMS , June, 1998, pp. 1111 -
literature) and a decrease in porosity at the location 1118.
A (in accordance to the literature). It may have to [7] Jain A. S. and Meeran S., “A state-of-the-art
do something with the thermal state of the die. It review of job-shop scheduling techniques ”,
can also be interpreted as a different critical biscuit Technical report, Department of Applied
size requirement to reduce porosity at different Physics, Electronic and Mechanical
locations. This finding is significant and requires Engineering, University of Dundee, Dundee,
further investigation. Scotland, 1998.
[8] Kong L. X, Nahavandi S., and Baliga B.,
“Defect analysis of high pressure die castings
6. Conclusions with artificial intelligence technology ”, Pacific
Conference on Manufacturing, 506-511,
In this paper an attempt was made to improve Lawrence Technological University, USA,
current modelling and understanding of porosity 2000.
defects in HPDC machines. We have conducted [9] Plauchniak M. and Millage B. A., “New
conventional die casting tests with a neural network Closed Shot Control System Features Total
model of HPDC machine and compared the Integration”, Die Casting Engineer , 1993.
obtained results with the current understanding of [10] Pomerleau D. A, “Neural Network Perception
the porosity defects. While most of our findings for Mobile Robot Guidance”, PhD Thesis, T he
correspond well to established knowledge in the Robotics Institute, Carnegie Mellon University,
field, some of our finding are in conflict with the 1992.
previous studies of die casting and as such are [11] Rumelhart D., Hinton G., and Williams R.,
significant and require further investigation. “Learning Internal Representations by Error
Propagation ”, in D. Rumelhart et al (eds),
Parallel Distributed Processing 1 , MIT Press,
Acknowledgements 318-362, 1986.
[12] Thome M. and Brevick J. R., “Optimal Slow
Special thanks are due to Mr. Gary Savage, Nissan Shot Velocity Profiles for Cold Chamber Die
and CSIRO for providing data for experiments for Casting”, NADCA Transactions, 1995.
this work. Figures 1-4 are courtesy of North [13] Yarlagadda P. K. D. V. and Chiang E. C., “A
American Die Casting Association (NADCA). neural network system for the prediction of
process parameters in pressure die casting”,
Journal of Materials Processing Technology,
References vol. 89-90, pp. 583-590, 1999.

[1] Andresen W. T. and Guthrie B., “Using


Taguchi and Metflow to Determine
Relationships Between Process Variables and

You might also like