Die Casting ResourceTechnical guides for die casting buyers, spec writers, and plant managers.
Porosity & Quality

How to Test Porosity in Aluminum Castings

Published 8 min read

X-ray system displaying a cast component on a screen.
Quick answer

Choose X-ray, ultrasonic, or destructive methods based on part geometry, acceptance criteria, and batch size. Each die casting porosity testing approach has distinct strengths for finding internal gas pockets in aluminum.

Key takeaways
  • Match inspection method to part size, density, and required defect detection depth.
  • X-ray and ultrasonic methods offer non-destructive options, but each has geometry and material limits.
  • Destructive testing provides high accuracy but only on samples or scrap.
  • Document results against the buyer specification to avoid disputes over acceptance.
  • Combine methods for complex parts where no single technique gives a complete picture.

Why Choose the Right Inspection Method

Porosity in aluminum die castings usually stems from gas entrainment during the melt, incomplete venting in the mold, or pressure loss during the fill cycle. The defect presents as a hollow or void within the material. If this void sits in a load-bearing zone, such as a thick boss or a critical rib, the part will likely fail under stress. If it sits in a non-critical area, the part may still meet structural requirements.

The testing method you pick determines what you can actually find. A method that misses a defect in one location may find it in another. You need to match the technique to the part design, the minimum size of the defect you must catch, and whether the part is finished or raw. For example, a thin-walled bracket is difficult to inspect with thick-section methods, while a large, solid housing is ideal for different techniques.

What to Prepare Before Testing

Start with the drawing and the acceptance criteria. The buyer specification should state the maximum defect size, the total defect volume, and the zones where porosity is prohibited. Without this, you cannot say if a part is good. A common specification might limit surface porosity to a certain depth and area percentage, while requiring that internal porosity in specific structural zones be below a set diameter.

Prepare the casting for inspection. Remove loose paint, dirt, or machining chips. For ultrasonic testing, the surface must be clean and flat. Any oxide scale or coating that is not bonded to the metal creates a gap that scatters the sound wave. For X-ray, the part should be stable in the fixture. If the part shifts during the exposure, the image blurs. For destructive tests, mark the section line you plan to cut. Use a permanent marker to indicate where the cut will go, ensuring you capture the area of concern.

Select the lab or in-house team. If you are using a third-party lab, confirm they have equipment calibrated for the alloy and the part size. Send the first sample to verify their setup. Ask for a calibration report for their X-ray tube or ultrasonic transducer. This ensures the machine is sensitive enough to detect the small pores your specification requires.

How X-Ray Testing Works for Porosity

X-ray testing uses electromagnetic radiation to create an image of the internal structure. Dense material blocks more radiation. Porosity blocks less. The difference shows up as a lighter area on the film or digital screen. The radiation passes through the metal, and the detector records the intensity that emerges on the other side.

This method works well for castings with complex internal geometry. It gives a two-dimensional view of the entire part in one shot. You can see defects in thin walls, deep cores, and areas behind heavy ribs. For instance, in a gear housing, X-ray can reveal porosity in the recesses of the gear teeth that are not visible from the outside.

The main limitation is depth. X-ray images are a projection. Two defects that overlap along the beam path can appear as one large defect. You must interpret the image carefully. If the part is very thick or very dense, the signal may be weak. You might need to increase the exposure time or use a higher voltage, which increases cost and radiation safety requirements.

Use X-ray when you need to check the whole part at once. It is also useful for verifying the quality of the casting process over time. If you see a change in the pattern of light spots, you can correlate it with a change in melt chemistry or mold temperature.

How Ultrasonic Testing Detects Porosity

Ultrasonic testing uses sound waves. A transducer sends a pulse into the metal. The sound reflects off the boundaries between metal and void. The device measures the time it takes for the pulse to return. By calculating the distance, the technician can locate the defect.

This method is very good at finding defects in solid, thick sections. It can detect small porosity clusters that are deep inside the material. The speed of sound in aluminum is fast, so the resolution is high. It is particularly effective for checking the depth of defects in thick walls where X-ray might struggle with contrast.

The biggest challenge is geometry. Ultrasonic waves need a straight path between the transducer and the defect. If the part has a curved surface, a thick rib, or a hollow core, the sound scatters. You may miss the defect. The probe must be in direct contact with the part. A drop of cougel, such as oil or water, is often used to ensure this contact.

Use ultrasonic testing when the part is mostly solid. It is less effective for thin-walled parts or parts with complex internal channels. Surface preparation is critical. Any gap between the probe and the metal creates a false reading. Clean the surface with a wire brush or solvent before placing the probe.

How Destructive Testing Works

Destructive testing involves cutting the casting or removing material to expose the internal structure. You can inspect the cross-section directly with the eye, or you can use a microscope for very small pores. The part is usually cut with a bandsaw or a plasma cutter, and the section is polished and etched to reveal the grain structure and pores.

This method is the most direct. You see exactly what is inside. The resolution is very high. You can measure the size and shape of the porosity. You can also check if the porosity is clustered or dispersed. A cluster of pores is more dangerous than a single, isolated pore of the same size.

The cost is high. You destroy the part. You can only do this on samples, scrap, or parts that are already rejected. It is not suitable for checking every part in a production lot.

Use destructive testing when you need to verify the accuracy of a non-destructive method. It is also useful for new tooling or a new alloy. You cut the first few shots and measure the porosity directly. This establishes a baseline for the new process. If the porosity is higher than expected, you adjust the process parameters before running the full production lot.

Comparison of Testing Methods

The choice depends on several factors. The table below shows the trade-offs.

Method Best For Limitation Sample Size Needed
X-ray Complex geometry, full part view Overlap of defects, thick parts 1 part per lot
Ultrasonic Thick, solid sections Curved surfaces, thin walls 1 part per lot
Destructive High accuracy, verification Destroys part, slow 1 part per lot
Radiographic Historical records Cost, interpretation 1 part per lot

X-ray and ultrasonic are non-destructive. You can test the part and then ship it. Destructive testing is destructive. You must decide in advance which parts will be sacrificed for testing. For most production lots, X-ray or ultrasonic is the standard. Destructive testing is used for qualification and dispute resolution.

Radiographic testing is similar to X-ray but often refers to the use of film for higher resolution or specific historical records. It is costlier and requires chemical processing or digital film scanning. It is used when you need a permanent, high-quality record for audit purposes.

Common Mistakes in Inspection

The first mistake is testing the wrong location. If you only test the thickest part of the casting, you may miss porosity in the thin walls where it is most likely to occur. Porosity often forms at the boundaries between metal flows. A part with a thin wall adjacent to a thick boss is a prime target for defect formation.

The second mistake is poor surface preparation. Dust, paint, or machining burrs on the surface block the ultrasonic wave or scatter the X-ray beam. Clean the part before testing. For ultrasonic, use a degreaser to remove all oils and residues. For X-ray, ensure the part is free of foreign objects that could block the beam.

The third mistake is ignoring the specification. The buyer may require a specific defect size. If you use a method that has a lower detection limit than the spec, you are not compliant. For example, if the spec requires detecting pores of 1 mm or larger, and your ultrasonic setup is only calibrated for 2 mm, you are not meeting the requirement.

The fourth mistake is not documenting the results. Save the X-ray image, the ultrasonic trace, and the destructive photo. Label them with the part number, lot number, and date. If there is a dispute, these documents are your proof. The image should show the defect clearly. The report should state the method, the settings, and the interpretation.

Final Verification Step

After you have tested the parts, verify the results against the acceptance criteria. Count the defects. Measure the size. Check the location. Compare the measured size to the maximum allowed size in the specification.

If the results are close to the limit, re-test a sample. If the method was X-ray, try ultrasonic on a few parts to confirm. If the method was ultrasonic, try X-ray. If the two methods agree, you have confidence. If they disagree, do a destructive test on one part. Cut it at the location where the methods gave different results. Look at the cross-section. This gives you the ground truth.

Use this data to adjust the process. If porosity is high in the thin walls, check the venting. If it is high in the thick sections, check the melt temperature. The test result is the starting point for fixing the problem. It tells you where to look, but it does not tell you how to fix it. You must correlate the defect location with the process parameters.

What to Do With the Results

Keep the inspection records with the lot documentation. If the buyer requires a certificate of inspection, provide it. If the results show a trend, report it to the process engineer. A trend is more important than a single data point. If the porosity count increases over three lots, there is a problem developing.

Do not just file the reports. Use them to improve the casting. A high porosity count in the first lot of a new tool is a red flag. A low count in a mature tool is a good sign. The data tells you if the process is stable. Stability is key to reducing scrap and cost.

If you are sourcing from a supplier, ask for their testing method. Ask for the acceptance criteria. Make sure they are testing the parts you care about. Do not assume they are testing the same way you would. Review their test reports periodically. If they stop testing, or if the reports become vague, escalate the issue.

The goal is not just to find defects. The goal is to understand the process. The inspection method is a tool. Use it to get the best picture of the casting quality you can get. Regular testing builds a history of quality. This history helps you make informed decisions about tooling, materials, and process changes.

Frequently asked questions

Can X-ray detect porosity in thin-walled aluminum die castings?

Yes, X-ray can detect porosity in thin walls. The resolution is high enough for small defects. The image may be less clear in very thin sections because the radiation passes through with little difference.

Is ultrasonic testing better than X-ray for thick castings?

Ultrasonic testing is often better for thick, solid sections. It has high resolution for deep defects. X-ray may struggle with very thick parts because the signal is weak.

Do I need to cut the part to test for porosity?

Only for destructive testing. You can use X-ray or ultrasonic to test the part without cutting. Destructive testing is used for verification or when the non-destructive methods are inconclusive.

How many parts should I test from a lot?

It depends on the specification. For a new tool, test more parts. For a mature tool, test a smaller sample. The buyer specification should state the sample size. If it is not stated, agree on a reasonable number before testing.

What if the X-ray and ultrasonic results disagree?

Do a destructive test on one part. Cut it at the location where the results differ. Look at the cross-section. This gives you the actual defect. Use this data to trust the method that is more accurate for your part.