Introduction

Porosity is considered a defect, and it is inherent to aluminum high pressure die casting (HPDC) due to the nature of metal solidification.1 Research completed by the North American Die Casting Association (NADCA) shows that porosity concerns are one of the leading contributors to scrap costs and the biggest problem within die casting.2 Approximately 30% of the industry has identified addressing porosity as a top concern.3 There is high motivation to improve porosity scrap given the die casting industry has $8 billion annual sales in North America4 and suffers from an 8% median scrap rate.5 Porosity defects can be described by the primary cause: shrink porosity and gas porosity and classified by the size: micro porosity and macro porosity.6,7 The cause and size provide one high-level classification system for porosity, although more detailed defect classification systems exist.2,8,9

Porosity is well documented within the HPDC industry.1,2,6,10,11 Shrink porosity is caused by volumetric contraction of metals during solidification. Shrink porosity is often irregular, with ragged shapes. Gas porosity occurs when a gas concentration within the liquid metal is higher than the solubility of the metal. Gas porosity is typically spherical in shape. The mechanisms causing these two types of internal voids can also interact during the solidification of a casting. This interaction is termed gas assisted shrink. This porosity has shape characteristics of both shrink and gas porosity.

The size of porosity is another distinguishing feature of the porosity formed in castings. Shrink porosity and gas porosity can form in macro and micro size voids. Micro porosity is often discussed as voids that form within the mushy interdendritic liquid.12 Macro porosity is typically discussed within the industry as visible porosity that is compared to quality specifications. Macro porosity may cause rejects within castings with a radiographic (X-ray) inspection or visual inspection after secondary processing, such as machining.13 A clear definition between micro and macro porosity is lacking and will be discussed.

Micro porosity has been well researched. The stochastic or random nature of micro porosity formation was studied by Atwood.12 Lee et al.7 reviewed five different models involving complex simulation of micro porosity and microstructure with random nucleation. Several groups of authors have studied micro porosity formation and distribution in castings with micro computed tomography (CT) equipment.14,15,16 Cao et al.17 and Niu et al.18 studied porosity formation on the micro scale with vacuum-assisted high pressure die casting. In addition to vacuum, Niu et al.18 work also studied other injection parameters to see impact on the mechanical properties with micro porosity. Zhang et al.19 studied micro porosity formation and mechanical properties of both entrapped air and shrinkage. All this work has provided useful insights into how micro porosity forms and the impact it has.

Research on macro porosity is heavily tied to publications on simulations, and it is generally not studied mechanistically like micro porosity. Overall, there is a correlation between porosity results from simulations and where it is found in a casting.20 Macro porosity can be formed by both shrink and gas porosity. Shrink porosity can be reduced by improving feeding paths in both casting and tool design. Gas porosity is affected by the pour rate, slow shot acceleration, venting, and die lubrication improvements.2 Since these features of die and process design are well known, there has not been much research on the formation of macro porosity in production environments. This is an oversight because porosity is still a major cause of scrap.5 Understanding the formation of macro porosity can create a better understanding of inspection and classification of casting defects.

The goal of this work is three-fold. First, a definition will be provided to help distinguish the difference between micro porosity and macro porosity. This definition will be based on an industry perspective within HPDC. Second, the stochastic or random nature of macro porosity will be reviewed with an industrial case study. Simulation software can predict a zone where porosity is likely to form, but it falls short of showing the random formation of voids produced within that zone. Finally, a review will highlight that from first principles macro porosity should be expected to form randomly in unfed liquid pockets. The end results from this work should challenge the accepted analysis of macro porosity in HPDC.

Background on Macro Porosity

The transition dimension between micro porosity and macro porosity has ebbed and flowed between different authors. Huang and Conley21 said micro porosity was from 0.5 to 1.0 mm, and macro porosity was from 1 to 10 mm. Lee et al.7 called voids that have a maximum dimension larger than 5 mm as macro porosity. A different approach used by Liang et al.22 is to call macro porosity anything that can be visibly seen with less than 5X magnification but did not provide a dimension. Zhang et al.23 used any void less than 300 μm as the transition from macro to micro porosity. Consistency in a definition and the reason for the selected value is lacking from literature. The exact transition dimensions between macro and micro porosity may continue to be challenged; however, definitions should be supported by reasoning. Having a practical definition is needed to provide clarity and consistency within industrial research.

Given the significant impact that macro porosity has on HPDC foundries, a well-conceived definition is needed. The variation seen in the literature is because scope of the definition was too small. Three factors should be considered when defining macro porosity: metallurgical formation mechanism, functional part requirements, and ability to inspect the defect. After considering these factors, the limit of detectability in inspection is the best transition between macro and micro porosity for HPDC.

Metallurgical Formation Mechanism

From a metallurgical perspective, the size where micro porosity transitions to macro porosity is based on the secondary dendrite arm spacing (SDAS). This relationship is due to the different nature of the feeding flow of the bulk liquid versus the feeding in the mushy region between the dendrite arms. In the bulk liquid, the dendrite arms are not present and therefore cannot affect the maximum size of the porosity. This unconstrained macro porosity is formed when the bulk feeding flow is cut off. Dendrites restrict the feeding flow and constrain the maximum size of the porosity, creating micro porosity.24,25

Micro porosity size can vary significantly in different casting processes because SDAS is not a constant value for these processes. This is because SDAS is proportional to the cubed root of the cooling rate.24,26,27 Sand casting and permanent mold castings have a wide range of cooling rates, making a universal definition of interdentric micro porosity in those processes difficult. HPDC cooling rates are different because they are consistently high with an observed SDAS in the range of 10–40 μm.28 The small value means detecting true micro porosity voids in HPDC is often not industrially practical. This suggests that the definition of macro porosity for HPDC should be driven by the functional requirements or readily available inspection methods.

Functional Porosity Requirements

Functional casting porosity requirements influence a working definition for macro porosity. After castings are machined, they are inspected for macro porosity on machined surfaces. Acceptance criteria for given surfaces depend on the required function of the casting.13 Thresholds are sometimes determined by past practices for a given original equipment manufacturer (OEM) and recommendations provided by vendors of assembled components such as piston rings, O-rings, and gaskets. In other cases, thresholds are set by failure points identified in finite element analysis (FEA) for the product. These porosity standards are treated as confidential trade secrets by OEMs; therefore, typical thresholds for specific applications are not published.

The North American Die Casting Association (NADCA) has provided an example of four levels of porosity on exposed machined surfaces in Die Casting Porosity Guidebook1 with a Level 1 porosity being specified as a maximum size of 0.4 mm. Experience by the authors has shown typically that the tightest specifications are a maximum porosity diameter between 0.4 and 0.5 mm (400–500 μm). The threshold for macro porosity would have to be smaller than this minimum acceptable porosity limit to use functional requirements as a meaningful distinction between acceptable and rejectable levels of porosity during inspection.

Inspection Ability

Castings are typically inspected in a raw state with X-ray or computed tomography (CT) equipment or by visual inspection after secondary machining. From an X-ray or CT image standpoint, production intent equipment has a pixel size resolution of 100 μm on castings that can fit up to 400 mm × 400 mm image windows.29,30 Specialized micro-CT research equipment exists to capture micro porosity resolution of 10–50 μm on parts typically less than 50 mm cube.14,31 This type of equipment has significant limitations in a production castings environment based on size and time needed to perform analysis. Therefore, the capable range of micro-CT equipment should not be considered in defining an industrial application of macro porosity. The focus should be given to capabilities of industrial, production intent X-ray equipment.

Visual inspection of castings is the next challenge. Visual acuity defines what the human eye is capable of detecting. Snellen eye charts, as typically found at optometrists’ offices, were developed based on the studies showing human vision can generally resolve a visual target that represents 5 minutes of an arc. This 5 minutes of an arc is typically referred to as 20/20 vision.32 The equivalent visual angle of a piece of porosity on a casting is determined based on defect size and surface distance as shown in Eqn. 1. Conversion from degree to minutes of an arc is needed to compare to a Snellen vision chart. Table 1 includes a series of calculated equivalent visual angles for different defect sizes and distances.

$${\text{Tan}}\theta = \frac{{{\text{Defect}}\;{\text{size}}}}{{{\text{Distance}}\;{\text{from}}\;{\text{eye}}}};\theta = \arctan \left( {\frac{{{\text{Defect}}\,{\text{size}}}}{{{\text{Distance}}\;{\text{from}}\;{\text{eye}}}}} \right)$$
(1)
Table 1 Equivalent Visual Angle for Different Defect Sizes and Distances

It has been found that human ability to focus on near objects deteriorates with age. Typically, those in their 20s are able to focus down to 150 mm from their eyes. This erodes to 250 mm minimum focal distance as they age.33 Given that 5 mins of an arc is 20/20 vision,32 selecting 250 μm threshold between micro and macro porosity provides a realistic size that humans can inspect either without magnification in their youth and with minimal magnification as they age.

Based on the SDAS of HPDC, the functional specifications used to inspect castings, and the ability to detect and identify porosity with X-ray and visual inspection, a threshold of 0.250 mm (250 μm) is a defendable choice for the threshold between micro and macro porosity in HPDC. With a size defined and the reasoning supplied, the porosity that causes rejects in HPDC are macro porosity. The focus can now shift to how this macro porosity forms in production castings and what can be learned to improve the HDPC process.

Experimental Study

A small housing casting, produced on a 900-ton die cast machine out of A362.0 aluminum alloy, as seen in Table 2, was selected for this experiment. Previous X-ray audits showed varying levels of porosity within this casting even when process parameters remained consistent. The porosity was located near a semi-circular feature on the side opposite the gating. The porosity level found in this location of the casting does not impact overall part quality based on product testing.

Table 2 A362.0 Chemical Composition Limits

Once the die was brought up to temperature with the typical start-up process, 100 castings were produced at identical process settings. These settings matched the production settings and had no adjustments made for the entire sample run. The castings were pin-stamped with a serial number in the robot extraction cell. With this serial number, all process data are traced to the X-ray images. The castings were completed in just under two hours.

Castings were sawed so the area of interest could be easily X-rayed to provide repeatable images and remove background features non-critical to this study. A sample of the sawed casting is seen in Figure 1. One casting was damaged during the sawing process used to prepare it for the X-ray (sample number 76). Its process information was removed from all analysis. This sample showed no significant difference in process values.

Figure 1
figure 1

Sawed sample casting for X-ray.

The X-ray equipment used was a Bosello SRE Max with a 225 max KV power rating. Images were registered using open source Fiji imaging software34 and the selective plane illumination microscopy (SPIM) registration plug-in.35 The X-ray images were reviewed following ASTM E505 standard36 to determine porosity cause. Shrink porosity (ASTM Category C) and gas porosity (ASTM Category A) were seen within the castings. The castings were graded with a 1 (best), 2 (moderate), and 3 (worst) score. Figure 2 provides examples of all three gradings.

Figure 2
figure 2

Example X-ray gradings 1 through 3.

Results and Analysis

Critical process parameters were collected for all sample castings (n = 99) during the experiment. The data were within typical production variation for the casting. Mean and 95% confidence intervals for these parameters are seen in Table 3. Based on the grading samples on the images, there were 9 samples each identified as Grade 1 (good) and Grade 3 (worst). These parts that represented the extremes of the macro porosity found within the casting were reviewed in detail.

Table 3 Mean and Confidence Interval of Critical Injection Parameters

The best castings showed scattered shrink porosity typically 0.2 mm to 0.4 mm thick and up to 1.0 mm long. This porosity was scattered throughout the section in review, with a tendency for it to form furthest way from the gating (part is gated from the left side of the X-ray images). The nine Grade 1 (best) castings can be seen in Figure 3.

Figure 3
figure 3

9 best samples (Grade 1).

The worst castings showed a gas assisted shrink with rounder, but irregular shaped voids, consistent of gas feeding into a shrink porosity. Gas porosity within the worst castings grade was typically 3.0 mm to 4.0 mm in diameter. For shrink porosity, the worst castings had 0.4–0.6 mm thick and 5.0–10.0 mm long porosity voids. Overall, the worst of the worst (WOW sample—#43) had an approximate 8.0-mm-diameter void in the casting. The nine worst castings (Grade 3) can be seen in Figure 4.

Figure 4
figure 4

9 worst samples (Grade 3).

Shapiro-Wilk normality tests37 showed the process parameters to be non-normal in the 99 samples. As a result, the Wilcoxon Signed Rank test38 was performed to compare the samples between the best and worst groupings. Table 4 contains all the individual recorded data for the samples. Table 5 shows the p-values calculated with the Wilcoxon test. None of the critical process parameters showed to be significant.

Table 4 Injection Parameter Data for Best and Worst Samples
Table 5 Wilcoxon Signed Rank Test p values

The results of the experiment have shown that macro porosity formation is random when industry accepted control parameters are held constant in a production environment. The size and distribution of the voids varied significantly throughout the casting run, even though no process settings were changed. When comparing the best and worst samples, the process parameters showed no statistical difference. These parameters remain important to the process, but they do not fully explain the randomness associated with the porosity formation. As will be discussed in the next section, the general location of the porosity formation remained predictable, but the actual macro porosity formation was random. Production controlled processes produce randomly formed porosity. This random macro porosity should challenge many of the accepted analysis and quality implications of porosity in HPDC.

This experiment could did not determine if the Grade 1 castings were more dense (less porous) than the Grade 3 castings. It simply observes that the levels of macro porosity are higher while no process parameters varied significantly. This leaves open the question of whether the Grade 1 castings traded macro porosity for micro porosity that could not be detected by X-ray. Further study is merited and ongoing.

Part Geometry Impact on Stochastic Macro Porosity Formation

Predicting the morphology of macro porosity is not a useful exercise. Macro porosity is easy to detect with visual inspection on machined surfaces or X-rays. Feeding-based rules have been successfully developed to manage porosity in sand and permanent mold castings. Macro porosity is reduced when an adequately large volume of liquid metal is available to replenish the volumetric contraction of the solidifying metal. The feeding volume must be connected by a liquid path throughout the solidification of the casting’s cross sections being fed. From Chorvinov’s rule, it can be surmised that thicker sections require more solidification time.25

Computer simulations of these feeding rules are effective for identifying where porosity can form, but they fail to properly predict the morphology of the macro porosity. MAGMA was used to compare with the experimental results.39 Six warmup cycles and one production cycle were calculated. Figure 5 shows the predicted porosity zone (a) and the pore volume fraction (b) for the studied casting in the area that was X-rayed. The porosity zone is the predicted hot spot that is the extent of the unfed liquid pocket. Porosity volume fraction is concentrated into two voids that approximate the center of the porosity observed via X-ray. More porosity is predicted on the right-hand side of the image like the experimental results.

Figure 5
figure 5

Simulated results of predicted porosity zone.

Prediction of the macro pore morphology should be nearly impossible. This is because the pressure drop required to homogeneously nucleate porosity is in the giga-Pascal range. Instead, pores require a heterogenous nucleation site such as an oxide bifilm or pre-existing trapped gas pores.20 Filtering, degassing, venting/vacuum, and good furnace maintenance practices can reduce the number of heterogenous nucleation sites, but they cannot be eliminated. Their occurrence will also be stochastic by nature. Since the nucleation sites are random, the macro pores also must occur randomly. The simulation software can predict these porosity zones but is incapable of showing the randomness of the size and shape of the macro porosity.

Additionally, HPDC feeds exclusively through the gating system into the part. Pressure is applied to enhance feeding, but gate locations are determined by die design and gate removal considerations. A temperature gradient from the thick sections of the casting to the gate cannot be ensured. Resulting unfed pockets of liquid create the macro porosity common to HPDC. Randomly sized and shaped macro porosity voids should form in these trapped pockets, but also the size and shape of the trapped pockets are random because the solidification during filling and time that pressure is applied to the liquid metal after filling is uncertain. Small extension or reduction of feeding will make significant changes to the total porosity due to the rapid solidification from the HPDC process.

Figure 6 plots the liquid volume in the sample area, as seen in Figures 1 and 5, over the entire solidification time of the casting. Feeding is predicted to be cut off to the sample area at 9 seconds after filling, leaving 18.4 cm3 of remaining liquid aluminum. 1.9% of the sample area will contain pores with the assumption that the aluminum will have approximately 6% shrinkage. Increasing or decreasing the feeding time by 0.25 seconds changes the unfed liquid volume by ± 3.5%. These small variations in feeding time can come from a host of uncertainties in the process. For example, cold flakes blocking feeding through the gate, spray variation, initial metal temperature, and other variables can reasonably be assumed to affect the feeding time by 0.25 seconds or more.

Figure 6
figure 6

Volume of liquid in the sample area as predicted by MAGMA.

Recommendations

The stochastic nature of macro porosity formation over the course of a normal production run and the inability to predict it precisely should challenge accepted practices within the industry. Cross-functional review of risks associated with the random porosity formation must be considered and identified throughout the casting life cycle. Critical areas that should be rethought include the design of castings, inspection of castings, and casting process optimization.

Design of Castings

Castings free from macro porosity can only exist in a combined effort between casting geometry design and manufacturing process. Manufacturing process will not consistently overcome random macro porosity formation in castings designed with a high probability of porosity. A truly collaborative effort in design for manufacturing (DFM) and finite element analysis (FEA) is required for success. Casting simulation software is accurate at predicting location of macro porosity. However, the random nature of its formation may not guarantee a casting with the worst macro porosity condition is evaluated during functional testing. Casting simulation should be a cornerstone to the DFM activities on new casting designs. The risks associated with porosity results should not simply be written off to something the process could remove, particularly if inadequate sample sizes are reviewed and tested.

The design validation process should also be reviewed based on this random formation of macro porosity. Larger lots of testing samples should be a focus during the initial production validation process phase. Functional testing should look at both worst case macro porosity formation and other random samples with castings produced with normal production settings. This will require large X-ray studies to help review the amount of macro porosity formation that exist and select the castings that should be functionally tested to ensure product performance.

Inspection of Castings

Because macro porosity forms randomly, variation should be expected during a typical production run. This should cause one to question traditional audit and inspection processes in X-ray and at secondary machining. Better audit sizes can be determined by understanding the probability of uncovering a worst-case macro porosity situation.

With an exception of some structural automotive parts, in-line X-ray equipment is not typically found in most industrial die casting foundries. The cost of equipment and time to process when compared to the risks of porosity typically makes this an uneconomical process. Instead, audit X-rays are performed on randomly chosen samples during the production run. The number of samples and a defect rate caused by worst-case macro porosity can be used to understand the probability of selecting a sample lot and seeing no defects. The binomial probability function is used to find this probability. Table 6 shows the probability of finding no defects for different defect rates and sample sizes.

Table 6 Sample Binomial Probabilities

Understanding this probability should influence that how troubleshooting is completed within the foundry. As an example, if a casting truly has a 2.5% scrap rate based on the random macro porosity and the X-ray technician randomly pulls 3 castings for inspection, there is 92.7% chance none of the castings contain that defect. If the defect rate and the process remain constant and the inspection has experience seeing high probability of all good castings, what happens once that inspector finds a defective part? It is slightly better than a coin flip to have a defect occur every two production weeks, based on a three-shift operation. The warning flags in the foundry are sent out, and the troubleshooting begins. Another random sample selected could then show all good parts, and the investigation of “what changed in the process” may occur, wasting resources because the process has not changed, and the sampling was just poor.

Worse yet, someone may take the failed inspection results and change the process to try to “improve it.” Now the actual defect rate shifts from 2.5% to some other unknown value. This can lead to a spiral of process changes over the production life of a part, with limited knowledge of what scrap rates are occurring.

By having a good working knowledge of actual scrap rates for given castings based on machining feedback, one can make an educated decision on how to approach the defective audit sample. The Bayes Success-Run Theorem can be used to help determine a lot size given the historical defect rate and the confidence the manufacturing desires.40

Casting Process Optimization

The randomness of the macro porosity should cause the industry to review the techniques used for process optimization. An appropriate sample size is needed for any optimization process to ensure the worst-case scenarios are detected in the macro porosity formation. Also, additional process monitoring of the HPDC equipment, beyond the injection system, is needed.

Optimization processes are based on feedback from inspection results. With HPDC, that feedback is based on inspection results in either the raw casting state with X-ray images or in a final processed state with a visual inspection for porosity. As discussed previously, lot sizes need to be reviewed and appropriately selected based on historical scrap rates. Without this, samples may not capture the potential worst-case stochastic formation of the macro porosity. This sample size is also pertinent when setting up an optimization design of experiments (DOE). Without the correct sample size, the variation that exists due to the random formation could be missed.

Injection parameters and metal holding temperature are typically the focus of in optimization publications in HPDC.41,42,43,44 This approach is logical given the history and commercially available products for the industry to capture this data. Questions should arise on the focus and priority of these process inputs when significant macro porosity variation occurs. It is clear from simulation that injection parameters can influence predicted zones. This study shows the random formation of porosity in these zones. The injection parameters should remain controlled and monitored; however, data collection on additional process monitoring systems should be prioritized45 to potentially further reduce this predicted porosity zone. These additional systems could include die temperature,46 vacuum,18 and equipment cycle time and performance. Optimization of these additional parameters could reduce the predicted porosity zone. Therefore, the macro porosity that forms in that zone will also be reduced.

Conclusions

High pressure die casting suffers from a porosity problem. By better understanding how macro porosity forms, improvements can be made within the industry. Like micro porosity, macro porosity is randomly formed in HPDC. Casting design, inspection, and optimization processes are all affected by macro porosity. This random macro porosity formation has been shown by an industrial case study and fundamental theory.

Simulation software uses casting geometry and tooling design to predict porosity zones but cannot predict the actual random size and distribution of those voids in the zone. Understanding this stochastic formation should challenge previously accepted practices and improve the comprehension and classification of macro porosity defects in die casting. Specifically, this provides the industry with three areas of further study.

The first area of study is within the industry’s process control approach. Injection parameters are the main focus within the industry and academic research for HPDC process control. The conducted experiment shows castings produced with statistically similar injection parameters, cycle time, and biscuit size can produce significantly different levels of porosity as seen in the Grade 1 and Grade 3 examples. This work shows the traditional parameters are not fully capable of reducing the randomness that can exist in the HPDC process. Additional research is needed to understand if other process parameters such as variability in metal cleanliness, furnace temperature, die temperature before die close, spraying, die thermal management, or others could reduce the predicted porosity zone and therefore region where stochastic porosity forms.

The next area to research is the density in the predicted porosity zones between castings. Research has shown that density is not a good predictor of mechanical properties.47,48 The difference levels of void space visible in the Grade 1 versus Grade 3 X-rays lead to questions regarding the density of the predicted porosity zones. Are the densities of these grade differences the same with different distributions of size of the macro and micro porosity? This is a useful question to have answered as its impact on quality inspection results (acceptable versus scrap casting) and perceived mechanical properties could be misleading to the industry.

From this work, we know there is randomness in the size and shape of macro porosity. This randomness influences classification of defects and process optimization decisions. Misclassification of macro porosity can lead to poor predictions of quality when supervised machine learning algorithms are used. In this case, two significantly different outputs on X-ray images are produced from nearly identical inputs. It becomes impossible for machine learning to find a pattern in what fundamentally becomes noise in the “results” created by random macro porosity formation. Furthermore, sample sizes for optimization studies must be carefully planned based on these random macro porosity formations. Small sample sizes will have a higher probability that the true worst-case macro porosity formation is not seen, thereby providing misleading optimization guidance. These areas are worthy of additional research.

In conclusion, the stochastic nature of macro porosity formation within the prediction porosity zone should challenge the industry to further research HPDC process in production environments. By researching these topics further, the industry will be better positioned to help improve overall HPDC casting design and manufacturing of parts.