In modern industrial manufacturing, particularly in aerospace and defense sectors, the demand for high-performance, lightweight components has driven the widespread adoption of magnesium alloy casting parts. These casting parts offer exceptional properties such as low density, high strength-to-weight ratio, and good machinability. However, as designs evolve toward larger and more intricate geometries, ensuring the internal integrity of these complex structural casting parts becomes increasingly challenging. Traditional radiographic film-based methods, while reliable, suffer from inefficiencies, high costs, and dependency on manual operations, especially for casting parts with significant thickness variations and non-uniform shapes. To address these limitations, our research team embarked on developing an automated digital radiography (DR) detection system tailored for such demanding applications. This article details our first-hand perspective on the system’s design, implementation, and industrial validation, emphasizing how it revolutionizes the non-destructive testing of complex casting parts.
The core motivation behind this work stems from the practical difficulties encountered in inspecting large, irregular magnesium alloy casting parts, such as engine casings or structural housings. A typical complex casting part might measure up to 600 mm × 400 mm × 320 mm, featuring numerous recesses, curves, and thickness transitions. Using conventional film radiography, inspecting a single casting part could require up to 18 separate exposures, each involving meticulous setup, film handling, and chemical processing, totaling over two hours per part. This process not only delays production but also introduces variability in detection quality due to human factors. Moreover, the storage and management of physical films pose logistical challenges. Therefore, we aimed to create an integrated solution that leverages digital imaging technology to automate the entire inspection workflow, thereby enhancing throughput, consistency, and overall capability for complex structural casting parts.
Our automated DR system is a culmination of several advanced subsystems working in harmony. The overall architecture comprises the radiation imaging subsystem, mechanical manipulation subsystem, electrical control subsystem, radiation shielding enclosure, and robotic handling units. Each component was meticulously selected or designed to meet the specific needs of inspecting voluminous and geometrically challenging casting parts. The system operates within a lead-shielded room that ensures safety compliance with international radiation protection standards, while an industrial robot facilitates seamless loading and unloading of casting parts, minimizing manual intervention. By integrating these elements, we established a turnkey platform capable of performing high-resolution digital radiography on a diverse range of casting parts with complex internal and external features.

The radiation imaging subsystem forms the heart of our detection system. It consists of a fixed-type X-ray generator with a small focal spot (0.4 mm/1.0 mm selectable), capable of operating at up to 225 kV and 15 mA. This source provides stable, high-energy radiation necessary for penetrating thick sections of magnesium alloy casting parts. Opposite the source, we employed a flat-panel detector (FPD) with an active area of 300 mm × 250 mm and a pixel pitch of 100 μm. This digital detector captures transmitted radiation and converts it into digital signals with high dynamic range and low noise. The image acquisition and processing system, powered by a high-performance computer, runs custom software that manages exposure parameters, real-time image display, and post-processing functions such as contrast adjustment, defect annotation, and measurement. This subsystem eliminates the need for film, enabling immediate image evaluation and digital archiving, which is particularly advantageous for batch inspection of casting parts.
To accommodate the diverse geometries of complex casting parts, we designed a versatile mechanical manipulation subsystem. This subsystem features a C-shaped gantry with five degrees of freedom, allowing precise positioning of the X-ray source and detector relative to the casting part. The movements include linear translation of the entire gantry, vertical adjustment of the source and detector, tilting for angular alignment, and independent horizontal shifts for both components. Additionally, two rotary platforms are integrated to rotate the casting part around vertical and horizontal axes, facilitating multi-angle inspections without repositioning the part manually. The mechanical system is built with high-precision ball screws, linear guides, servo motors, and planetary gear reducers, ensuring repeatable and accurate motion control. This flexibility is crucial for achieving optimal imaging geometry across different regions of a complex casting part, especially when dealing with varying thicknesses and obscured features.
The electrical control subsystem orchestrates the entire inspection process. It follows a hierarchical architecture comprising device-level actuators, control-level programmable logic controllers (PLCs), and operation-level human-machine interface (HMI) software. Through the HMI, operators can select from manual, programmed automatic, or self-learning inspection modes. For repetitive inspection of standardized casting parts, the automatic mode executes pre-defined sequences that coordinate robot movement, part rotation, source-detector positioning, and image capture with a single command. This automation drastically reduces operator workload and ensures consistent procedure application across multiple casting parts. The control subsystem also enforces safety interlinks, such as preventing X-ray emission unless the shielding doors are closed and activating audible-visual alarms during exposure.
In designing the detection process, we adhered to standardized principles while optimizing parameters for digital radiography of complex casting parts. The fundamental arrangement involves a single-wall technique, where the X-ray source is placed on the concave side of the casting part and the detector on the convex side. This setup maximizes sensitivity to internal defects while accommodating part geometry. Key geometric factors include the source-to-object distance (f) and the object-to-detector distance (b), which influence image sharpness and distortion. According to standards, the minimum source-to-object distance must satisfy:
$$ f \geq 7.5 \cdot d \cdot b^{2/3} $$
where d is the focal spot size. For our system with d = 0.4 mm and typical b > 100 mm, we calculated f ≥ approximately 1.0 m to meet image quality criteria. Furthermore, to optimize spatial resolution, we applied the principle of geometric magnification. The optimal magnification factor (M_opt) is derived from the detector’s basic spatial resolution (SR_b) and focal spot size:
$$ M_{opt} = 1 + \left( \frac{2 \cdot SR_b}{d} \right)^2 = \frac{F}{f} $$
Here, F represents the source-to-detector distance. With SR_b = 100 μm and d = 0.4 mm, M_opt ≈ 1.25. In practice, we set F = 1.3 m and f = 1.0 m, yielding a magnification of 1.3, which enhances detail detectability while maintaining a safe working envelope for large casting parts. The exposure parameters—tube voltage, current, integration time, and frame averaging—were tuned iteratively to achieve grayscale values within 20–80% of the maximum digital output (65,535) across different thickness zones of the casting part. This optimization ensures high contrast and signal-to-noise ratio (SNR) in the resultant images.
To summarize the key exposure settings for different sections of a typical complex casting part, we conducted extensive trials and compiled the following table:
| Inspection Region | Wall Thickness (mm) | Tube Voltage (kV) | Tube Current (mA) | Integration Time (ms) | Frame Count | Magnification (M) |
|---|---|---|---|---|---|---|
| Thin-walled section | 10 | 60 | 5 | 500 | 20 | 1.3 |
| Thick-walled section | 26 | 80 | 5 | 500 | 20 | 1.3 |
| Transition zone | 18 | 70 | 5 | 500 | 20 | 1.3 |
These parameters consistently yielded images compliant with Class A requirements of GB/T 39638-2020, which is analogous to international standards for digital radiography. The adaptability of these settings allows our system to handle a wide range of casting parts, from thin-shelled components to bulky, dense sections, without compromising detection reliability.
We rigorously validated the system’s performance through a series of experiments on actual magnesium alloy casting parts. The evaluation focused on three critical image quality indicators: sensitivity, spatial resolution, and normalized signal-to-noise ratio (SNRN). Sensitivity was assessed using wire-type image quality indicators (IQIs) placed on both thin and thick regions of the casting part. The results demonstrated that our DR system could resolve wires as thin as 0.125 mm (W15) on thin sections and 0.32 mm (W11) on thick sections, surpassing the Class A requirements of W13 and W10, respectively. Spatial resolution, measured via duplex wire IQIs, reached 0.10 mm (D10) for thin walls and 0.16 mm (D8) for thick walls, again exceeding standard thresholds. The SNRN, calculated from uniform exposure areas, consistently exceeded 70, with values around 108.4 for thin regions and 86.2 for thick regions, indicating excellent image clarity and low noise. These metrics confirm that digital radiography with our system provides superior image quality compared to traditional film methods for inspecting complex casting parts.
A comparative analysis of defect detection capability was conducted by inspecting identical casting parts using both film radiography and our DR system. Common defects in magnesium alloy casting parts, such as gas pores, shrinkage porosity, and inclusions, were examined. The digital images exhibited comparable defect morphology and distribution to film radiographs, with measurement discrepancies within ±0.1 mm. For instance, a gas pore measuring 10 mm on film was detected as 10.1 mm digitally; similarly, clusters of inclusions and zones of shrinkage showed identical classifications (e.g., Level 2 porosity). This alignment validates that our DR system does not compromise defect discernibility while offering advantages like instant feedback and digital archiving. The ability to accurately identify and size defects in complex casting parts underscores the system’s suitability for critical quality assurance applications.
The inspection workflow with our automated system is streamlined into three phases: preparation, execution, and post-processing. During preparation, the casting part is loaded onto the robot gripper, which is custom-designed to securely hold irregular shapes without causing damage. The operator selects the appropriate inspection program from the HMI, which may be a generic sequence for standard casting parts or a customized one for unique geometries. In the execution phase, the system automatically performs a series of movements—positioning the casting part on the rotary platform, aligning the source and detector, applying the optimized exposure parameters, and capturing the digital image. Multiple views are acquired as needed to cover the entire volume of the casting part. Post-processing involves image review, defect annotation using software tools, generation of inspection reports, and archiving of data. This end-to-end automation significantly accelerates the inspection cycle.
To quantify efficiency gains, we analyzed the time required to inspect a representative complex casting part using both conventional film radiography and our DR system. The results are summarized below:
| Process Step | Film Radiography (minutes) | Digital Radiography (minutes) |
|---|---|---|
| Part setup and masking | 20 | 2 (automated by robot) |
| Exposure per view (average) | 5 (including film placement) | 1.5 (including positioning) |
| Number of views per part | 18 | 18 |
| Subtotal for exposures | 90 | 27 |
| Film development and drying | 30 | 0 (instant digital image) |
| Image evaluation and reporting | 20 | 10 (software-assisted) |
| Total time per casting part | ≈140 | ≈30 |
| Personnel required | 2 operators | 1 operator |
As evident, the DR system reduces inspection time by approximately 78%, cutting it from 140 minutes to 30 minutes per casting part. This fourfold improvement in throughput is transformative for batch production environments. Additionally, the elimination of film, chemicals, and darkroom facilities lowers operational costs and environmental impact. The consistency afforded by automation also minimizes human error, enhancing overall quality control for complex casting parts.
Beyond efficiency, our system introduces advanced capabilities for data management and analysis. All digital images of casting parts are stored in a structured database, tagged with part identifiers, inspection dates, and parameters. This digital repository enables easy retrieval for comparative analysis, trend monitoring, and audit trails. Moreover, the software includes tools for image enhancement, such as histogram equalization, filtering, and contrast adjustment, which aid in subtle defect detection. For repetitive inspection of similar casting parts, machine learning algorithms could be integrated to automate defect recognition, though this remains a future extension. The system’s modular design also allows for upgrades, such as incorporating higher-resolution detectors or multi-energy imaging, to keep pace with evolving demands for casting part inspection.
In industrial deployment, our DR system has been successfully implemented for routine inspection of magnesium alloy casting parts in aerospace component manufacturing. Feedback from production lines indicates not only reduced cycle times but also improved defect detection rates, leading to fewer reworks and higher product reliability. The system’s robustness in handling varying part geometries has made it a versatile asset, applicable to other types of complex casting parts beyond magnesium alloys, such as aluminum or titanium investment castings. The automated nature also alleviates labor shortages and training burdens, as operators can manage the system with minimal specialized radiographic expertise.
In conclusion, our development of an automated digital radiography system represents a significant advancement in non-destructive testing for complex structural casting parts. By integrating state-of-the-art imaging technology, precision mechanics, and intelligent control, we have created a solution that addresses the longstanding challenges of efficiency, consistency, and quality management in casting part inspection. The system delivers image quality that meets or exceeds international standards, accurately identifies internal defects, and drastically reduces inspection time and cost. Its successful industrial application demonstrates tangible benefits in productivity and reliability, paving the way for broader adoption in high-stakes manufacturing sectors. Future work may focus on enhancing the system with artificial intelligence for automated defect classification and expanding its capabilities to handle even larger or more intricate casting parts. Ultimately, this innovation underscores the transformative potential of digitalization in ensuring the integrity and performance of critical casting components across industries.
